From eec4a42ba20bb466051428773f93abd9213d337a Mon Sep 17 00:00:00 2001 From: Amsterdam CI Date: Tue, 8 Oct 2024 15:04:07 +0000 Subject: [PATCH] upload 1.7.0.20241008.3 --- ...dion-BRQzS2PO.js => Accordion-CrkRJJvB.js} | 2 +- ...HY5wr.js => Accordion.stories-I17Uatfq.js} | 2 +- ...-DWV1pQDq.js => Alert.stories-DJp1fcON.js} | 2 +- ...Base-B0hDfRWJ.js => AlertBase-BMoWSYyC.js} | 2 +- ...Der.js => AspectRatio.stories-D4FdeybA.js} | 2 +- .../{Badge-CZ5nSfIQ.js => Badge-CVvYwvd7.js} | 2 +- ...-CpSgnKRK.js => Badge.stories-BZ1Sfcmw.js} | 2 +- .../{Block-SFKht2RU.js => Block-B9hfeL6e.js} | 2 +- assets/{Box-uk0d72u3.js => Box-DJu0GgH-.js} | 4 +- ...es-BzfpVYnN.js => Box.stories-BWLTTXrf.js} | 2 +- ...{Button-DAm4UwbF.js => Button-CM8byzny.js} | 2 +- ...Sy1tsKn6.js => Button.stories-BFhY0AW7.js} | 2 +- ...C6NWDIFT.js => Center.stories-DM_aloze.js} | 2 +- ...CharactersLeftDisplay.stories-D7YIAuer.js} | 2 +- ...oUXCBY.js => Checkbox.stories-fE3CtdjF.js} | 2 +- ...R9.js => CityPassCard.stories-BgDQmIVR.js} | 2 +- ...BQopY_3-.js => Color-ERTF36HU-ibhnuZT5.js} | 2 +- ...{Column-DVJ0Grcf.js => Column-BO_nzweR.js} | 2 +- ...Ca7j0P0o.js => Column.stories-G5gB3qU9.js} | 2 +- ...V.js => DocsRenderer-CFRXHY34-BMZ1OgK-.js} | 8 +-- ...BJo.js => EmailButton.stories-CP96RD6Q.js} | 2 +- ...Yy.js => EmptyMessage.stories-DMtnXbDd.js} | 2 +- ...-DaSWQsVr.js => Fader.stories-DiOrIKkv.js} | 2 +- ...MAWp.js => FauxButton.stories-BpYB0J9o.js} | 2 +- ...ClUqZiEM.js => Figure.stories-EMzST93X.js} | 2 +- ...WithFacadesBackground.stories-CGO0mVpI.js} | 2 +- ...sN.js => FollowButton.stories-CZOYDJow.js} | 2 +- ...ield-Bd2DEH5y.js => FormField-DQmJEy_o.js} | 2 +- ...{Gutter-DFUJhG4q.js => Gutter-CijmLDTE.js} | 2 +- ...nt-BN7YmfBH.js => HtmlContent-CNaxTXns.js} | 25 ++++--- assets/HtmlContent.stories-AMd582sk.js | 1 - assets/HtmlContent.stories-D13bMDLJ.js | 1 + assets/{Icon-DcC-yiY8.js => Icon-CHbD1j2W.js} | 2 +- ...s-DPBXIphH.js => Icon.stories-Ad4g8LJA.js} | 2 +- ...ton-Cyqcuey7.js => IconButton-BuyNnPu5.js} | 2 +- ...YIh6.js => IconButton.stories-Bqy-Ncai.js} | 2 +- ...-ZfBjdKKw.js => Image.stories-DIm8pAS-.js} | 2 +- ...z.js => ImageFallback.stories-GLz657Q_.js} | 2 +- ... => InformationButton.stories-Ca44wmUN.js} | 2 +- .../{Label-BbSvQ4Xu.js => Label-DpT1tV42.js} | 2 +- ...-CIYQAd-q.js => Label.stories-CKVg7ca_.js} | 2 +- ...s-Bsr9sC9b.js => Link.stories-D38u6Crj.js} | 2 +- ...s-BTw7GTgY.js => List.stories-Dx-mFeSf.js} | 2 +- ...BvZewDFw.js => ListItemMarker-BOjN2r3Y.js} | 2 +- ...s => NavigationButton.stories-C0fEIiPA.js} | 2 +- ...raph-DkRs_aGj.js => Paragraph-CJTJBOQl.js} | 2 +- ...3Nd_V.js => Paragraph.stories-BHcfLnOH.js} | 2 +- ...on-H9GVa_s-.js => PhoneButton-BrvuoikO.js} | 2 +- ...rgQ.js => PhoneButton.stories-DXZEkan1.js} | 2 +- ...X.js => PhoneHQButton.stories-0DK24w01.js} | 2 +- ...{Phrase-t0rOiClQ.js => Phrase-CsqFctWr.js} | 2 +- ...1WGaWSS3.js => Phrase.stories-D7JSOcTr.js} | 2 +- ...ait-C5ES8__x.js => PleaseWait-wKZoStJU.js} | 2 +- ...PM4o.js => PleaseWait.stories-URXL6sc8.js} | 2 +- ...able-HfRmqOUq.js => Pressable-CwlxP6l-.js} | 2 +- ...Jugq4.js => Pressable.stories-UOwkqLEC.js} | 2 +- ...9RC-.js => RadioGroup.stories-C8r710Fp.js} | 2 +- assets/{Row-BXpfxHoR.js => Row-BY9zY_5g.js} | 2 +- ...es-CoTMFviY.js => Row.stories-Czb6yfqj.js} | 2 +- ...s-DTGdjPCR.js => Size.stories-Dvp3T5e-.js} | 2 +- ...=> SomethingWentWrong.stories-Bx4hDv3n.js} | 2 +- ...BGdc8zMy.js => Switch.stories-aTtSlJwT.js} | 2 +- ...es-BLgDQ_OS.js => Tag.stories-DwqE1YR0.js} | 2 +- ...o6NW-.js => TextInput.stories-KeCWmkCz.js} | 2 +- assets/Timeline.stories-6DuP5dL8.js | 46 ++++++++++++ assets/Timeline.stories-CEX7T0lI.js | 46 ------------ .../{Title-9ScEYPym.js => Title-Dg8-Cp53.js} | 2 +- ...-Dglf4BGk.js => Title.stories-CGclVHVA.js} | 2 +- ...ooltip-Bm0QTu1O.js => Tooltip-DJq4zZXn.js} | 2 +- ...KYi8qHC.js => Tooltip.stories-C2RLgHhM.js} | 2 +- ...e.js => TopTaskButton.stories-B1TFsYwy.js} | 2 +- ...-DfStrMlO.js => Trait.stories-CB0kGP0Z.js} | 2 +- ...angle-Amn4R_mH.js => Triangle-DLWOHDpC.js} | 2 +- ...2t4-zG.js => Triangle.stories-CKiGVaKY.js} | 2 +- ...lor-CZpuL6yQ.js => base-color-B2rPH-Aj.js} | 2 +- ...-BLv4HfPv.js => entry-preview-C_WRW1gc.js} | 2 +- ...{iframe-DRbcjd5I.js => iframe-D78jW9zZ.js} | 4 +- .../{index-vMRfdoe9.js => index-DdYHG1x9.js} | 2 +- assets/index-eRgc22Hn.js | 1 - ...review-BA20xn34.js => preview-Cu-x-QB_.js} | 2 +- ...review-DkszDCHZ.js => preview-IeHAsnoQ.js} | 72 +++++++++---------- ...review-DkERHl94.js => preview-S4ijnvFU.js} | 4 +- assets/useOpenUrl-CQsKsYCH.js | 2 + ...le-CjWxbHxI.js => useThemable-BlSbywuP.js} | 8 +-- ...Theme-CJIBCVMY.js => useTheme-BWbL_sDV.js} | 2 +- iframe.html | 2 +- project.json | 2 +- version.txt | 2 +- 88 files changed, 186 insertions(+), 186 deletions(-) rename assets/{Accordion-BRQzS2PO.js => Accordion-CrkRJJvB.js} (88%) rename assets/{Accordion.stories-zfRHY5wr.js => Accordion.stories-I17Uatfq.js} (79%) rename assets/{Alert.stories-DWV1pQDq.js => Alert.stories-DJp1fcON.js} (73%) rename assets/{AlertBase-B0hDfRWJ.js => AlertBase-BMoWSYyC.js} (87%) rename assets/{AspectRatio.stories-DNhpcDer.js => AspectRatio.stories-D4FdeybA.js} (86%) rename assets/{Badge-CZ5nSfIQ.js => Badge-CVvYwvd7.js} (84%) rename assets/{Badge.stories-CpSgnKRK.js => Badge.stories-BZ1Sfcmw.js} (79%) rename assets/{Block-SFKht2RU.js => Block-B9hfeL6e.js} (90%) rename assets/{Box-uk0d72u3.js => Box-DJu0GgH-.js} (96%) rename assets/{Box.stories-BzfpVYnN.js => Box.stories-BWLTTXrf.js} (82%) rename assets/{Button-DAm4UwbF.js => Button-CM8byzny.js} (97%) rename assets/{Button.stories-Sy1tsKn6.js => Button.stories-BFhY0AW7.js} (92%) rename assets/{Center.stories-C6NWDIFT.js => Center.stories-DM_aloze.js} (71%) rename assets/{CharactersLeftDisplay.stories-DE25sQIz.js => CharactersLeftDisplay.stories-D7YIAuer.js} (85%) rename assets/{Checkbox.stories-CuoUXCBY.js => Checkbox.stories-fE3CtdjF.js} (93%) rename assets/{CityPassCard.stories-TqChsdR9.js => CityPassCard.stories-BgDQmIVR.js} (94%) rename assets/{Color-ERTF36HU-BQopY_3-.js => Color-ERTF36HU-ibhnuZT5.js} (99%) rename assets/{Column-DVJ0Grcf.js => Column-BO_nzweR.js} (95%) rename assets/{Column.stories-Ca7j0P0o.js => Column.stories-G5gB3qU9.js} (83%) rename assets/{DocsRenderer-CFRXHY34-DQRRfxKV.js => DocsRenderer-CFRXHY34-BMZ1OgK-.js} (99%) rename assets/{EmailButton.stories-DDhgbBJo.js => EmailButton.stories-CP96RD6Q.js} (92%) rename assets/{EmptyMessage.stories-uQmD_nYy.js => EmptyMessage.stories-DMtnXbDd.js} (90%) rename assets/{Fader.stories-DaSWQsVr.js => Fader.stories-DiOrIKkv.js} (85%) rename assets/{FauxButton.stories-DnlhMAWp.js => FauxButton.stories-BpYB0J9o.js} (86%) rename assets/{Figure.stories-ClUqZiEM.js => Figure.stories-EMzST93X.js} (93%) rename assets/{FigureWithFacadesBackground.stories-CbdUg9P5.js => FigureWithFacadesBackground.stories-CGO0mVpI.js} (99%) rename assets/{FollowButton.stories-BfrkBYsN.js => FollowButton.stories-CZOYDJow.js} (94%) rename assets/{FormField-Bd2DEH5y.js => FormField-DQmJEy_o.js} (91%) rename assets/{Gutter-DFUJhG4q.js => Gutter-CijmLDTE.js} (92%) rename assets/{HtmlContent-BN7YmfBH.js => HtmlContent-CNaxTXns.js} (52%) delete mode 100644 assets/HtmlContent.stories-AMd582sk.js create mode 100644 assets/HtmlContent.stories-D13bMDLJ.js rename assets/{Icon-DcC-yiY8.js => Icon-CHbD1j2W.js} (98%) rename assets/{Icon.stories-DPBXIphH.js => Icon.stories-Ad4g8LJA.js} (70%) rename assets/{IconButton-Cyqcuey7.js => IconButton-BuyNnPu5.js} (93%) rename assets/{IconButton.stories-C63mYIh6.js => IconButton.stories-Bqy-Ncai.js} (71%) rename assets/{Image.stories-ZfBjdKKw.js => Image.stories-DIm8pAS-.js} (95%) rename assets/{ImageFallback.stories-BCOLL1Qz.js => ImageFallback.stories-GLz657Q_.js} (97%) rename assets/{InformationButton.stories-Chf6KCJ3.js => InformationButton.stories-Ca44wmUN.js} (92%) rename assets/{Label-BbSvQ4Xu.js => Label-DpT1tV42.js} (89%) rename assets/{Label.stories-CIYQAd-q.js => Label.stories-CKVg7ca_.js} (68%) rename assets/{Link.stories-Bsr9sC9b.js => Link.stories-D38u6Crj.js} (81%) rename assets/{List.stories-BTw7GTgY.js => List.stories-Dx-mFeSf.js} (89%) rename assets/{ListItemMarker-BvZewDFw.js => ListItemMarker-BOjN2r3Y.js} (94%) rename assets/{NavigationButton.stories-wRzBaKht.js => NavigationButton.stories-C0fEIiPA.js} (89%) rename assets/{Paragraph-DkRs_aGj.js => Paragraph-CJTJBOQl.js} (77%) rename assets/{Paragraph.stories-CqC3Nd_V.js => Paragraph.stories-BHcfLnOH.js} (78%) rename assets/{PhoneButton-H9GVa_s-.js => PhoneButton-BrvuoikO.js} (98%) rename assets/{PhoneButton.stories-gTtf5rgQ.js => PhoneButton.stories-DXZEkan1.js} (76%) rename assets/{PhoneHQButton.stories-CCWkKybX.js => PhoneHQButton.stories-0DK24w01.js} (81%) rename assets/{Phrase-t0rOiClQ.js => Phrase-CsqFctWr.js} (85%) rename assets/{Phrase.stories-1WGaWSS3.js => Phrase.stories-D7JSOcTr.js} (86%) rename assets/{PleaseWait-C5ES8__x.js => PleaseWait-wKZoStJU.js} (78%) rename assets/{PleaseWait.stories-BCRCPM4o.js => PleaseWait.stories-URXL6sc8.js} (65%) rename assets/{Pressable-HfRmqOUq.js => Pressable-CwlxP6l-.js} (96%) rename assets/{Pressable.stories-COIJugq4.js => Pressable.stories-UOwkqLEC.js} (75%) rename assets/{RadioGroup.stories-Y-z69RC-.js => RadioGroup.stories-C8r710Fp.js} (94%) rename assets/{Row-BXpfxHoR.js => Row-BY9zY_5g.js} (95%) rename assets/{Row.stories-CoTMFviY.js => Row.stories-Czb6yfqj.js} (86%) rename assets/{Size.stories-DTGdjPCR.js => Size.stories-Dvp3T5e-.js} (77%) rename assets/{SomethingWentWrong.stories-CgtMyzYA.js => SomethingWentWrong.stories-Bx4hDv3n.js} (86%) rename assets/{Switch.stories-BGdc8zMy.js => Switch.stories-aTtSlJwT.js} (92%) rename assets/{Tag.stories-BLgDQ_OS.js => Tag.stories-DwqE1YR0.js} (83%) rename assets/{TextInput.stories-CPzo6NW-.js => TextInput.stories-KeCWmkCz.js} (86%) create mode 100644 assets/Timeline.stories-6DuP5dL8.js delete mode 100644 assets/Timeline.stories-CEX7T0lI.js rename assets/{Title-9ScEYPym.js => Title-Dg8-Cp53.js} (78%) rename assets/{Title.stories-Dglf4BGk.js => Title.stories-CGclVHVA.js} (75%) rename assets/{Tooltip-Bm0QTu1O.js => Tooltip-DJq4zZXn.js} (96%) rename assets/{Tooltip.stories-DKYi8qHC.js => Tooltip.stories-C2RLgHhM.js} (74%) rename assets/{TopTaskButton.stories-CnV0R1ve.js => TopTaskButton.stories-B1TFsYwy.js} (93%) rename assets/{Trait.stories-DfStrMlO.js => Trait.stories-CB0kGP0Z.js} (90%) rename assets/{Triangle-Amn4R_mH.js => Triangle-DLWOHDpC.js} (95%) rename assets/{Triangle.stories-nI2t4-zG.js => Triangle.stories-CKiGVaKY.js} (65%) rename assets/{base-color-CZpuL6yQ.js => base-color-B2rPH-Aj.js} (85%) rename assets/{entry-preview-BLv4HfPv.js => entry-preview-C_WRW1gc.js} (99%) rename assets/{iframe-DRbcjd5I.js => iframe-D78jW9zZ.js} (62%) rename assets/{index-vMRfdoe9.js => index-DdYHG1x9.js} (93%) delete mode 100644 assets/index-eRgc22Hn.js rename assets/{preview-BA20xn34.js => preview-Cu-x-QB_.js} (93%) rename assets/{preview-DkszDCHZ.js => preview-IeHAsnoQ.js} (70%) rename assets/{preview-DkERHl94.js => preview-S4ijnvFU.js} (80%) create mode 100644 assets/useOpenUrl-CQsKsYCH.js rename assets/{useThemable-CjWxbHxI.js => useThemable-BlSbywuP.js} (71%) rename assets/{useTheme-CJIBCVMY.js => useTheme-BWbL_sDV.js} (62%) diff --git a/assets/Accordion-BRQzS2PO.js b/assets/Accordion-CrkRJJvB.js similarity index 88% rename from assets/Accordion-BRQzS2PO.js rename to assets/Accordion-CrkRJJvB.js index c23635ab..8fd9e6af 100644 --- a/assets/Accordion-BRQzS2PO.js +++ b/assets/Accordion-CrkRJJvB.js @@ -1 +1 @@ -import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{r}from"./index-mfbfsM12.js";import{P as k}from"./Pressable-HfRmqOUq.js";import{B as m}from"./Box-uk0d72u3.js";import{C as q}from"./Column-DVJ0Grcf.js";import{G as C}from"./Gutter-DFUJhG4q.js";import{R as P}from"./Row-BXpfxHoR.js";import{S as N}from"./Size-D6myJmG7.js";import{I as S}from"./Icon-DcC-yiY8.js";import{T as D}from"./Title-9ScEYPym.js";import{P as I}from"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import{u as _}from"./useTheme-CJIBCVMY.js";import{P as T}from"./index-DOpK3Ow6.js";const E=({children:n})=>e.jsxs(e.Fragment,{children:[e.jsx(m,{insetHorizontal:"md",children:n}),e.jsx(C,{height:"md"})]}),c=({icon:n,title:l})=>e.jsx(m,{grow:!0,children:e.jsxs(P,{align:"between",gutter:"md",valign:"start",children:[e.jsx(D,{color:"link",level:"h5",numberOfLines:3,text:l}),n]})}),d=({grow:n,initiallyExpanded:l,isExpandable:p=!0,onChangeExpanded:o,children:v,testID:s,title:i,logAction:g,logDimensions:f={},logName:h,logCategory:b,logValue:y})=>{const[a,x]=r.useState(!!l),j=a?"chevron-up":"chevron-down",{text:w}=_(),u=r.useCallback(t=>{x(t),o==null||o(t)},[o]),A=r.useMemo(()=>{const t=a?"Uitgevouwen":"Samengevouwen",V=T.OS==="android"?`${i}`:`${i}, dubbeltik om de inhoud te ${a?"verbergen":"bekijken"}`;return`${t}, ${V}.`},[a,i]);return p?e.jsxs(q,{grow:n,children:[e.jsx(k,{accessibilityActions:[{name:"activate",label:a?"het verbergen van de inhoud":"het bekijken van de inhoud"}],accessibilityLabel:A,accessibilityLanguage:"nl-NL",logAction:g,logCategory:b,logDimensions:{...f,[I.newState]:a?"closed":"open"},logName:h,logValue:y,onAccessibilityAction:t=>{t.nativeEvent.actionName==="activate"&&u(!a)},onPress:()=>u(!a),testID:s,children:e.jsx(c,{icon:e.jsx(N,{height:w.lineHeight.h5,children:e.jsx(S,{color:"link",name:j,size:"lg",testID:`${s}Icon`})}),title:i})}),!!a&&e.jsx(E,{children:v})]}):e.jsx(c,{title:i})};try{d.displayName="Accordion",d.__docgenInfo={description:"",displayName:"Accordion",props:{grow:{defaultValue:null,description:"",name:"grow",required:!1,type:{name:"number"}},initiallyExpanded:{defaultValue:null,description:"",name:"initiallyExpanded",required:!1,type:{name:"boolean"}},isExpandable:{defaultValue:{value:"true"},description:"",name:"isExpandable",required:!1,type:{name:"boolean"}},onChangeExpanded:{defaultValue:null,description:"",name:"onChangeExpanded",required:!1,type:{name:"((state: boolean) => void)"}},title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:{value:"{}"},description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}export{d as A}; +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{r}from"./index-mfbfsM12.js";import{P as k}from"./Pressable-CwlxP6l-.js";import{B as m}from"./Box-DJu0GgH-.js";import{C as q}from"./Column-BO_nzweR.js";import{G as C}from"./Gutter-CijmLDTE.js";import{R as P}from"./Row-BY9zY_5g.js";import{S as N}from"./Size-D6myJmG7.js";import{I as S}from"./Icon-CHbD1j2W.js";import{T as D}from"./Title-Dg8-Cp53.js";import{P as I}from"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import{u as _}from"./useTheme-BWbL_sDV.js";import{P as T}from"./index-DOpK3Ow6.js";const E=({children:n})=>e.jsxs(e.Fragment,{children:[e.jsx(m,{insetHorizontal:"md",children:n}),e.jsx(C,{height:"md"})]}),c=({icon:n,title:l})=>e.jsx(m,{grow:!0,children:e.jsxs(P,{align:"between",gutter:"md",valign:"start",children:[e.jsx(D,{color:"link",level:"h5",numberOfLines:3,text:l}),n]})}),d=({grow:n,initiallyExpanded:l,isExpandable:p=!0,onChangeExpanded:o,children:v,testID:s,title:i,logAction:g,logDimensions:f={},logName:h,logCategory:b,logValue:y})=>{const[a,x]=r.useState(!!l),j=a?"chevron-up":"chevron-down",{text:w}=_(),u=r.useCallback(t=>{x(t),o==null||o(t)},[o]),A=r.useMemo(()=>{const t=a?"Uitgevouwen":"Samengevouwen",V=T.OS==="android"?`${i}`:`${i}, dubbeltik om de inhoud te ${a?"verbergen":"bekijken"}`;return`${t}, ${V}.`},[a,i]);return p?e.jsxs(q,{grow:n,children:[e.jsx(k,{accessibilityActions:[{name:"activate",label:a?"het verbergen van de inhoud":"het bekijken van de inhoud"}],accessibilityLabel:A,accessibilityLanguage:"nl-NL",logAction:g,logCategory:b,logDimensions:{...f,[I.newState]:a?"closed":"open"},logName:h,logValue:y,onAccessibilityAction:t=>{t.nativeEvent.actionName==="activate"&&u(!a)},onPress:()=>u(!a),testID:s,children:e.jsx(c,{icon:e.jsx(N,{height:w.lineHeight.h5,children:e.jsx(S,{color:"link",name:j,size:"lg",testID:`${s}Icon`})}),title:i})}),!!a&&e.jsx(E,{children:v})]}):e.jsx(c,{title:i})};try{d.displayName="Accordion",d.__docgenInfo={description:"",displayName:"Accordion",props:{grow:{defaultValue:null,description:"",name:"grow",required:!1,type:{name:"number"}},initiallyExpanded:{defaultValue:null,description:"",name:"initiallyExpanded",required:!1,type:{name:"boolean"}},isExpandable:{defaultValue:{value:"true"},description:"",name:"isExpandable",required:!1,type:{name:"boolean"}},onChangeExpanded:{defaultValue:null,description:"",name:"onChangeExpanded",required:!1,type:{name:"((state: boolean) => void)"}},title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:{value:"{}"},description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}export{d as A}; diff --git a/assets/Accordion.stories-zfRHY5wr.js b/assets/Accordion.stories-I17Uatfq.js similarity index 79% rename from assets/Accordion.stories-zfRHY5wr.js rename to assets/Accordion.stories-I17Uatfq.js index 5d559640..f27253a2 100644 --- a/assets/Accordion.stories-zfRHY5wr.js +++ b/assets/Accordion.stories-I17Uatfq.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{A as a}from"./Accordion-BRQzS2PO.js";import{P as n}from"./Paragraph-DkRs_aGj.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Pressable-HfRmqOUq.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./Box-uk0d72u3.js";import"./layoutStyles-DflBxpuh.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./base-color-CZpuL6yQ.js";import"./Column-DVJ0Grcf.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Gutter-DFUJhG4q.js";import"./Row-BXpfxHoR.js";import"./Size-D6myJmG7.js";import"./Icon-DcC-yiY8.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./useTheme-CJIBCVMY.js";import"./Title-9ScEYPym.js";const ir={component:a},f="Een accordeon (Engels: accordion) is een klikbare verticaal gestapelde lijst van koppen om bijbehorende inhoud te verbergen of te vertonen. Je toont inhoud op een progressieve manier aan gebruikers. Ze zijn geschikt zodra gebruikers op zoek zijn naar essentiële inhoud op 1 pagina. Door niet essentiële inhoud te verbergen, kunnen gebruikers focussen op de primaire inhoud.",o=e=>r.jsx(a,{...e,children:r.jsx(n,{children:f})});o.args={title:"Wat is een accordeon?"};const t=e=>r.jsx(a,{...e,children:r.jsx(n,{children:f})});t.args={title:"De titel moet zo kort als mogelijk zijn, maar ook duidelijk en representatief voor de verborgen inhoud"};const i=()=>r.jsx(r.Fragment,{children:["Grof afval","Restafval","Containers in de buurt","Recyclepunten"].map(e=>r.jsx(a,{testID:e,title:e,children:r.jsxs(n,{children:["Informatie over ",e.toLowerCase()," komt hier."]})}))});var p,s,m;o.parameters={...o.parameters,docs:{...(p=o.parameters)==null?void 0:p.docs,source:{originalSource:`args => +import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{A as a}from"./Accordion-CrkRJJvB.js";import{P as n}from"./Paragraph-CJTJBOQl.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Pressable-CwlxP6l-.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./Box-DJu0GgH-.js";import"./layoutStyles-DflBxpuh.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./base-color-B2rPH-Aj.js";import"./Column-BO_nzweR.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Gutter-CijmLDTE.js";import"./Row-BY9zY_5g.js";import"./Size-D6myJmG7.js";import"./Icon-CHbD1j2W.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./useTheme-BWbL_sDV.js";import"./Title-Dg8-Cp53.js";const ir={component:a},f="Een accordeon (Engels: accordion) is een klikbare verticaal gestapelde lijst van koppen om bijbehorende inhoud te verbergen of te vertonen. Je toont inhoud op een progressieve manier aan gebruikers. Ze zijn geschikt zodra gebruikers op zoek zijn naar essentiële inhoud op 1 pagina. Door niet essentiële inhoud te verbergen, kunnen gebruikers focussen op de primaire inhoud.",o=e=>r.jsx(a,{...e,children:r.jsx(n,{children:f})});o.args={title:"Wat is een accordeon?"};const t=e=>r.jsx(a,{...e,children:r.jsx(n,{children:f})});t.args={title:"De titel moet zo kort als mogelijk zijn, maar ook duidelijk en representatief voor de verborgen inhoud"};const i=()=>r.jsx(r.Fragment,{children:["Grof afval","Restafval","Containers in de buurt","Recyclepunten"].map(e=>r.jsx(a,{testID:e,title:e,children:r.jsxs(n,{children:["Informatie over ",e.toLowerCase()," komt hier."]})}))});var p,s,m;o.parameters={...o.parameters,docs:{...(p=o.parameters)==null?void 0:p.docs,source:{originalSource:`args => {paragraphText} `,...(m=(s=o.parameters)==null?void 0:s.docs)==null?void 0:m.source}}};var c,d,l;t.parameters={...t.parameters,docs:{...(c=t.parameters)==null?void 0:c.docs,source:{originalSource:`args => {paragraphText} diff --git a/assets/Alert.stories-DWV1pQDq.js b/assets/Alert.stories-DJp1fcON.js similarity index 73% rename from assets/Alert.stories-DWV1pQDq.js rename to assets/Alert.stories-DJp1fcON.js index 42c65db4..ff3b5260 100644 --- a/assets/Alert.stories-DWV1pQDq.js +++ b/assets/Alert.stories-DJp1fcON.js @@ -1 +1 @@ -import{A as p,a as m}from"./AlertBase-B0hDfRWJ.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Box-uk0d72u3.js";import"./layoutStyles-DflBxpuh.js";import"./index-CEE--Juu.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-CZpuL6yQ.js";import"./index-BDsvWohO.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./SingleSelectable-Bg8zzmoU.js";import"./Column-DVJ0Grcf.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Row-BXpfxHoR.js";import"./Icon-DcC-yiY8.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DOpK3Ow6.js";import"./extends-CF3RwP-h.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-Bcpfmd17.js";import"./index-C3bJM-gU.js";import"./useTheme-CJIBCVMY.js";import"./Paragraph-DkRs_aGj.js";import"./Title-9ScEYPym.js";import"./useAccessibilityFocus-Djl26ZxP.js";import"./useTrackException-BhQuYC5A.js";import"./development-DYCnWZjk.js";import"./index-iQAZAIR7.js";import"./index-kJeFfQx-.js";import"./useIsScreenReaderEnabled-BGYkQQWr.js";import"./duration-A4BOymd5.js";import"./accessibleText-gmNPjmn1.js";const e="Titel",a="U kunt een dagontheffing of jaarontheffing aanvragen",X={component:p,argTypes:{hasCloseIcon:{type:"boolean"},inset:{table:{disable:!0}},testID:{table:{disable:!0}},variant:{options:Object.values(m),control:{type:"radio"}}},args:{title:e,text:a}},t={};var o,r,i;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(i=(r=t.parameters)==null?void 0:r.docs)==null?void 0:i.source}}};const Y=["Default"];export{t as Default,Y as __namedExportsOrder,X as default}; +import{A as p,a as m}from"./AlertBase-BMoWSYyC.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Box-DJu0GgH-.js";import"./layoutStyles-DflBxpuh.js";import"./index-CEE--Juu.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-BDsvWohO.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./SingleSelectable-Bg8zzmoU.js";import"./Column-BO_nzweR.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Row-BY9zY_5g.js";import"./Icon-CHbD1j2W.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DOpK3Ow6.js";import"./extends-CF3RwP-h.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-Bcpfmd17.js";import"./index-C3bJM-gU.js";import"./useTheme-BWbL_sDV.js";import"./Paragraph-CJTJBOQl.js";import"./Title-Dg8-Cp53.js";import"./useAccessibilityFocus-Djl26ZxP.js";import"./useTrackException-BhQuYC5A.js";import"./development-DYCnWZjk.js";import"./index-iQAZAIR7.js";import"./index-kJeFfQx-.js";import"./useIsScreenReaderEnabled-BGYkQQWr.js";import"./duration-A4BOymd5.js";import"./accessibleText-gmNPjmn1.js";const e="Titel",a="U kunt een dagontheffing of jaarontheffing aanvragen",X={component:p,argTypes:{hasCloseIcon:{type:"boolean"},inset:{table:{disable:!0}},testID:{table:{disable:!0}},variant:{options:Object.values(m),control:{type:"radio"}}},args:{title:e,text:a}},t={};var o,r,i;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(i=(r=t.parameters)==null?void 0:r.docs)==null?void 0:i.source}}};const Y=["Default"];export{t as Default,Y as __namedExportsOrder,X as default}; diff --git a/assets/AlertBase-B0hDfRWJ.js b/assets/AlertBase-BMoWSYyC.js similarity index 87% rename from assets/AlertBase-B0hDfRWJ.js rename to assets/AlertBase-BMoWSYyC.js index 990679bb..2543f4cb 100644 --- a/assets/AlertBase-B0hDfRWJ.js +++ b/assets/AlertBase-BMoWSYyC.js @@ -1 +1 @@ -import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{B as x}from"./Box-uk0d72u3.js";import{S as h}from"./SingleSelectable-Bg8zzmoU.js";import{C as b}from"./Column-DVJ0Grcf.js";import{R as m}from"./Row-BXpfxHoR.js";import{I as p}from"./Icon-DcC-yiY8.js";import{P as y}from"./Paragraph-DkRs_aGj.js";import{T as j}from"./Title-9ScEYPym.js";import{u as I}from"./useAccessibilityFocus-Djl26ZxP.js";import{u as C}from"./useThemable-CjWxbHxI.js";import{D as _}from"./duration-A4BOymd5.js";import{a as w}from"./accessibleText-gmNPjmn1.js";import{V as l}from"./index-BDsvWohO.js";import{s as V}from"./index-CEE--Juu.js";var n=(e=>(e.information="information",e.negative="negative",e.positive="positive",e.warning="warning",e))(n||{});const q=3,N=({children:e,inset:r})=>r!==void 0?a.jsx(x,{inset:r,children:e}):a.jsx(a.Fragment,{children:e}),d=({children:e,hasCloseIcon:r=!1,inset:s,testID:t,hasIcon:f=!1,text:c,title:o,variant:u=n.information})=>{const g=I(_.long),v=R[u],i=C(T(u));return!!c||!!o||!!e?a.jsx(N,{inset:s,children:a.jsx(l,{testID:`${t}Wrapper`,children:a.jsx(l,{accessibilityLanguage:"nl-NL",accessibilityRole:"alert",accessible:!0,ref:g,style:i==null?void 0:i.view,testID:t,children:e??a.jsxs(m,{align:"between",children:[a.jsx(h,{accessibilityLabel:w(o,c),accessibilityLanguage:"nl-NL",accessibilityRole:"alert",children:a.jsxs(m,{gutter:"md",children:[!!f&&a.jsx(l,{style:i==null?void 0:i.iconWrapper,children:a.jsx(p,{name:v,size:"lg",testID:`${t}Icon`})}),a.jsxs(b,{shrink:1,children:[!!o&&a.jsx(j,{level:"h4",text:o}),a.jsx(y,{children:c})]})]})}),!!r&&a.jsx(l,{children:a.jsx(p,{name:"close",size:"lg",testID:`${t}CloseIcon`})})]})})})}):null},R={[n.information]:"info",[n.negative]:"error",[n.positive]:"circle-check-mark",[n.warning]:"alert"},T=e=>({color:r,size:s})=>{if(e)return V.create({iconWrapper:{top:q},view:{backgroundColor:r.alert[e].background,borderWidth:2,borderColor:r.alert[e].border,paddingHorizontal:s.spacing.lg,paddingVertical:s.spacing.md}})};try{d.displayName="AlertBase",d.__docgenInfo={description:"",displayName:"AlertBase",props:{inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},hasCloseIcon:{defaultValue:{value:"false"},description:"",name:"hasCloseIcon",required:!1,type:{name:"boolean"}},hasIcon:{defaultValue:{value:"false"},description:"",name:"hasIcon",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"string"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},variant:{defaultValue:{value:"AlertVariant.information"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"information"'},{value:'"negative"'},{value:'"positive"'},{value:'"warning"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{d as A,n as a}; +import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{B as x}from"./Box-DJu0GgH-.js";import{S as h}from"./SingleSelectable-Bg8zzmoU.js";import{C as b}from"./Column-BO_nzweR.js";import{R as m}from"./Row-BY9zY_5g.js";import{I as p}from"./Icon-CHbD1j2W.js";import{P as y}from"./Paragraph-CJTJBOQl.js";import{T as j}from"./Title-Dg8-Cp53.js";import{u as I}from"./useAccessibilityFocus-Djl26ZxP.js";import{u as C}from"./useThemable-BlSbywuP.js";import{D as _}from"./duration-A4BOymd5.js";import{a as w}from"./accessibleText-gmNPjmn1.js";import{V as l}from"./index-BDsvWohO.js";import{s as V}from"./index-CEE--Juu.js";var n=(e=>(e.information="information",e.negative="negative",e.positive="positive",e.warning="warning",e))(n||{});const q=3,N=({children:e,inset:r})=>r!==void 0?a.jsx(x,{inset:r,children:e}):a.jsx(a.Fragment,{children:e}),d=({children:e,hasCloseIcon:r=!1,inset:s,testID:t,hasIcon:f=!1,text:c,title:o,variant:u=n.information})=>{const g=I(_.long),v=R[u],i=C(T(u));return!!c||!!o||!!e?a.jsx(N,{inset:s,children:a.jsx(l,{testID:`${t}Wrapper`,children:a.jsx(l,{accessibilityLanguage:"nl-NL",accessibilityRole:"alert",accessible:!0,ref:g,style:i==null?void 0:i.view,testID:t,children:e??a.jsxs(m,{align:"between",children:[a.jsx(h,{accessibilityLabel:w(o,c),accessibilityLanguage:"nl-NL",accessibilityRole:"alert",children:a.jsxs(m,{gutter:"md",children:[!!f&&a.jsx(l,{style:i==null?void 0:i.iconWrapper,children:a.jsx(p,{name:v,size:"lg",testID:`${t}Icon`})}),a.jsxs(b,{shrink:1,children:[!!o&&a.jsx(j,{level:"h4",text:o}),a.jsx(y,{children:c})]})]})}),!!r&&a.jsx(l,{children:a.jsx(p,{name:"close",size:"lg",testID:`${t}CloseIcon`})})]})})})}):null},R={[n.information]:"info",[n.negative]:"error",[n.positive]:"circle-check-mark",[n.warning]:"alert"},T=e=>({color:r,size:s})=>{if(e)return V.create({iconWrapper:{top:q},view:{backgroundColor:r.alert[e].background,borderWidth:2,borderColor:r.alert[e].border,paddingHorizontal:s.spacing.lg,paddingVertical:s.spacing.md}})};try{d.displayName="AlertBase",d.__docgenInfo={description:"",displayName:"AlertBase",props:{inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},hasCloseIcon:{defaultValue:{value:"false"},description:"",name:"hasCloseIcon",required:!1,type:{name:"boolean"}},hasIcon:{defaultValue:{value:"false"},description:"",name:"hasIcon",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"string"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},variant:{defaultValue:{value:"AlertVariant.information"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"information"'},{value:'"negative"'},{value:'"positive"'},{value:'"warning"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{d as A,n as a}; diff --git a/assets/AspectRatio.stories-DNhpcDer.js b/assets/AspectRatio.stories-D4FdeybA.js similarity index 86% rename from assets/AspectRatio.stories-DNhpcDer.js rename to assets/AspectRatio.stories-D4FdeybA.js index 695693b8..71a6c361 100644 --- a/assets/AspectRatio.stories-DNhpcDer.js +++ b/assets/AspectRatio.stories-D4FdeybA.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{O as l}from"./types-BJ_48vsK.js";import{u as m}from"./useThemable-CjWxbHxI.js";import{V as u}from"./index-BDsvWohO.js";import{s as d}from"./index-CEE--Juu.js";import{P as h}from"./Phrase-t0rOiClQ.js";import"./Block-SFKht2RU.js";import{C as v}from"./Canvas-CCRWbH08.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-CZpuL6yQ.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-BypDj3rK.js";const s=({aspectRatio:e,children:o,orientation:t="landscape"})=>{const i=m(f(e,t));return r.jsx(u,{style:i.view,children:o})},f=(e,o)=>({media:t})=>{const i=o===l.portrait?1/t.aspectRatio[e]:t.aspectRatio[e];return d.create({view:{aspectRatio:i}})};try{s.displayName="AspectRatio",s.__docgenInfo={description:"",displayName:"AspectRatio",props:{aspectRatio:{defaultValue:null,description:"",name:"aspectRatio",required:!0,type:{name:"enum",value:[{value:'"extraWide"'},{value:'"narrow"'},{value:'"square"'},{value:'"wide"'},{value:'"tight"'}]}},orientation:{defaultValue:{value:"landscape"},description:"",name:"orientation",required:!1,type:{name:"enum",value:[{value:'"landscape"'},{value:'"portrait"'}]}}}}}catch{}const O={component:s},a=e=>r.jsx(s,{...e,children:r.jsx(v,{highlight:!0,children:r.jsx(h,{testID:"Phrase",children:"Ik heb een bepaalde beeldverhouding."})})});a.args={aspectRatio:"wide",orientation:"landscape"};var n,p,c;a.parameters={...a.parameters,docs:{...(n=a.parameters)==null?void 0:n.docs,source:{originalSource:`args => +import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{O as l}from"./types-BJ_48vsK.js";import{u as m}from"./useThemable-BlSbywuP.js";import{V as u}from"./index-BDsvWohO.js";import{s as d}from"./index-CEE--Juu.js";import{P as h}from"./Phrase-CsqFctWr.js";import"./Block-B9hfeL6e.js";import{C as v}from"./Canvas-CCRWbH08.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-BypDj3rK.js";const s=({aspectRatio:e,children:o,orientation:t="landscape"})=>{const i=m(f(e,t));return r.jsx(u,{style:i.view,children:o})},f=(e,o)=>({media:t})=>{const i=o===l.portrait?1/t.aspectRatio[e]:t.aspectRatio[e];return d.create({view:{aspectRatio:i}})};try{s.displayName="AspectRatio",s.__docgenInfo={description:"",displayName:"AspectRatio",props:{aspectRatio:{defaultValue:null,description:"",name:"aspectRatio",required:!0,type:{name:"enum",value:[{value:'"extraWide"'},{value:'"narrow"'},{value:'"square"'},{value:'"wide"'},{value:'"tight"'}]}},orientation:{defaultValue:{value:"landscape"},description:"",name:"orientation",required:!1,type:{name:"enum",value:[{value:'"landscape"'},{value:'"portrait"'}]}}}}}catch{}const O={component:s},a=e=>r.jsx(s,{...e,children:r.jsx(v,{highlight:!0,children:r.jsx(h,{testID:"Phrase",children:"Ik heb een bepaalde beeldverhouding."})})});a.args={aspectRatio:"wide",orientation:"landscape"};var n,p,c;a.parameters={...a.parameters,docs:{...(n=a.parameters)==null?void 0:n.docs,source:{originalSource:`args => Ik heb een bepaalde beeldverhouding. diff --git a/assets/Badge-CZ5nSfIQ.js b/assets/Badge-CVvYwvd7.js similarity index 84% rename from assets/Badge-CZ5nSfIQ.js rename to assets/Badge-CVvYwvd7.js index 77c5a7a0..f77567ae 100644 --- a/assets/Badge-CZ5nSfIQ.js +++ b/assets/Badge-CVvYwvd7.js @@ -1 +1 @@ -import{j as l}from"./jsx-runtime-Bxcv0yjW.js";import{R as p}from"./Row-BXpfxHoR.js";import{u as f}from"./useDeviceContext-DGl4H2w7.js";import{u as x}from"./useThemable-CjWxbHxI.js";import{V as g}from"./index-BDsvWohO.js";import{T as y}from"./index-BypDj3rK.js";import{s as h}from"./index-CEE--Juu.js";const b=(e,t)=>e.toLocaleString("nl-NL"),d=({accessibilityLabel:e,accessibilityLanguage:t="nl-NL",testID:a,value:r,variant:n="default"})=>{const{fontScale:i}=f(),s=x(v(i,n));return l.jsx(p,{align:"start",children:l.jsx(g,{style:s.circle,children:l.jsx(y,{accessibilityLabel:e,accessibilityLanguage:t,accessible:!!u[n],numberOfLines:1,style:s.text,testID:a,children:b(r)})})})},u={default:{diameter:22,text:14},"on-icon":{accessible:!1,diameter:16,text:12},small:{diameter:16,text:12}},v=(e,t)=>({color:a,size:r,text:n})=>{const{diameter:i,text:s}=u[t],c=t!=="on-icon"?e:1,o=i*c,m=s*c;return h.create({circle:{flexDirection:"row",justifyContent:"center",minWidth:o,paddingStart:r.spacing.xs+.5,paddingEnd:r.spacing.xs,borderRadius:o/2,backgroundColor:a.badge.background},text:{fontFamily:n.fontFamily.bold,fontSize:m,lineHeight:o,color:a.text.inverse}})};try{d.displayName="Badge",d.__docgenInfo={description:"",displayName:"Badge",props:{value:{defaultValue:null,description:"The value to display in the badge.",name:"value",required:!0,type:{name:"number"}},variant:{defaultValue:{value:"default"},description:"Which variant of the badge to display.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"default"'},{value:'"on-icon"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{d as B}; +import{j as l}from"./jsx-runtime-Bxcv0yjW.js";import{R as p}from"./Row-BY9zY_5g.js";import{u as f}from"./useDeviceContext-DGl4H2w7.js";import{u as x}from"./useThemable-BlSbywuP.js";import{V as g}from"./index-BDsvWohO.js";import{T as y}from"./index-BypDj3rK.js";import{s as h}from"./index-CEE--Juu.js";const b=(e,t)=>e.toLocaleString("nl-NL"),d=({accessibilityLabel:e,accessibilityLanguage:t="nl-NL",testID:a,value:r,variant:n="default"})=>{const{fontScale:i}=f(),s=x(v(i,n));return l.jsx(p,{align:"start",children:l.jsx(g,{style:s.circle,children:l.jsx(y,{accessibilityLabel:e,accessibilityLanguage:t,accessible:!!u[n],numberOfLines:1,style:s.text,testID:a,children:b(r)})})})},u={default:{diameter:22,text:14},"on-icon":{accessible:!1,diameter:16,text:12},small:{diameter:16,text:12}},v=(e,t)=>({color:a,size:r,text:n})=>{const{diameter:i,text:s}=u[t],c=t!=="on-icon"?e:1,o=i*c,m=s*c;return h.create({circle:{flexDirection:"row",justifyContent:"center",minWidth:o,paddingStart:r.spacing.xs+.5,paddingEnd:r.spacing.xs,borderRadius:o/2,backgroundColor:a.badge.background},text:{fontFamily:n.fontFamily.bold,fontSize:m,lineHeight:o,color:a.text.inverse}})};try{d.displayName="Badge",d.__docgenInfo={description:"",displayName:"Badge",props:{value:{defaultValue:null,description:"The value to display in the badge.",name:"value",required:!0,type:{name:"number"}},variant:{defaultValue:{value:"default"},description:"Which variant of the badge to display.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"small"'},{value:'"on-icon"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{d as B}; diff --git a/assets/Badge.stories-CpSgnKRK.js b/assets/Badge.stories-BZ1Sfcmw.js similarity index 79% rename from assets/Badge.stories-CpSgnKRK.js rename to assets/Badge.stories-BZ1Sfcmw.js index c3ed67de..2e879a21 100644 --- a/assets/Badge.stories-CpSgnKRK.js +++ b/assets/Badge.stories-BZ1Sfcmw.js @@ -1,4 +1,4 @@ -import{B as i}from"./Badge-CZ5nSfIQ.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Row-BXpfxHoR.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./index-CEE--Juu.js";import"./base-color-CZpuL6yQ.js";import"./index-BDsvWohO.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./index-C3bJM-gU.js";import"./index-BypDj3rK.js";const w={component:i,args:{value:3}},r={},o={args:{variant:"small"}};var t,a,m;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:"{}",...(m=(a=r.parameters)==null?void 0:a.docs)==null?void 0:m.source}}};var e,s,p;o.parameters={...o.parameters,docs:{...(e=o.parameters)==null?void 0:e.docs,source:{originalSource:`{ +import{B as i}from"./Badge-CVvYwvd7.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Row-BY9zY_5g.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./index-CEE--Juu.js";import"./base-color-B2rPH-Aj.js";import"./index-BDsvWohO.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./index-C3bJM-gU.js";import"./index-BypDj3rK.js";const w={component:i,args:{value:3}},r={},o={args:{variant:"small"}};var t,a,m;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:"{}",...(m=(a=r.parameters)==null?void 0:a.docs)==null?void 0:m.source}}};var e,s,p;o.parameters={...o.parameters,docs:{...(e=o.parameters)==null?void 0:e.docs,source:{originalSource:`{ args: { variant: 'small' } diff --git a/assets/Block-SFKht2RU.js b/assets/Block-B9hfeL6e.js similarity index 90% rename from assets/Block-SFKht2RU.js rename to assets/Block-B9hfeL6e.js index 80b638ad..61c59d43 100644 --- a/assets/Block-SFKht2RU.js +++ b/assets/Block-B9hfeL6e.js @@ -1 +1 @@ -import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{b as l}from"./base-color-CZpuL6yQ.js";const t=({flex:e,label:r})=>{const o=s(e);return a.jsx("div",{style:o,children:!!r&&a.jsx("span",{children:r})})},s=e=>({backgroundColor:l.primary.blue,color:l.primary.white,display:"flex",flex:e,fontFamily:"AmsterdamSans-Regular",justifyContent:"center",padding:32});try{t.displayName="Block",t.__docgenInfo={description:"",displayName:"Block",props:{flex:{defaultValue:null,description:"",name:"flex",required:!1,type:{name:"number"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}}}}}catch{}export{t as B}; +import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{b as l}from"./base-color-B2rPH-Aj.js";const t=({flex:e,label:r})=>{const o=s(e);return a.jsx("div",{style:o,children:!!r&&a.jsx("span",{children:r})})},s=e=>({backgroundColor:l.primary.blue,color:l.primary.white,display:"flex",flex:e,fontFamily:"AmsterdamSans-Regular",justifyContent:"center",padding:32});try{t.displayName="Block",t.__docgenInfo={description:"",displayName:"Block",props:{flex:{defaultValue:null,description:"",name:"flex",required:!1,type:{name:"number"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}}}}}catch{}export{t as B}; diff --git a/assets/Box-uk0d72u3.js b/assets/Box-DJu0GgH-.js similarity index 96% rename from assets/Box-uk0d72u3.js rename to assets/Box-DJu0GgH-.js index 17f1803b..76c0d871 100644 --- a/assets/Box-uk0d72u3.js +++ b/assets/Box-DJu0GgH-.js @@ -1,3 +1,3 @@ -import{j as c}from"./jsx-runtime-Bxcv0yjW.js";import{r as f}from"./index-mfbfsM12.js";import{l as g}from"./layoutStyles-DflBxpuh.js";import{u as x}from"./useThemable-CjWxbHxI.js";import{V as h}from"./index-BDsvWohO.js";import{s as y}from"./index-CEE--Juu.js";const m=f.memo(({borderColor:a,borderStyle:r,children:s,distinct:i,grow:l,inset:t="md",insetHorizontal:n,insetVertical:u,insetTop:d,insetBottom:o,variant:e,...p})=>{const v=x(b({borderColor:a,borderStyle:r,distinct:i,inset:t,insetHorizontal:n,insetTop:d,insetVertical:u,insetBottom:o,variant:e}));return c.jsx(h,{style:[v.box,l&&g.grow],...p,children:s})}),b=({borderColor:a,borderStyle:r,distinct:s,inset:i,insetHorizontal:l,insetTop:t,insetVertical:n,insetBottom:u,variant:d})=>({color:o,size:e})=>y.create({box:{backgroundColor:s?o.box.distinct:d==="city-pass"?o.box.cityPass:void 0,borderColor:a?o.border[a]:void 0,borderStyle:r,borderWidth:r?1:void 0,padding:i&&!l&&!t&&!u&&!n?e.spacing[i]:0,paddingHorizontal:l&&e.spacing[l],paddingTop:t&&e.spacing[t],paddingBottom:u&&e.spacing[u],paddingVertical:n&&e.spacing[n]}});try{m.displayName="Box",m.__docgenInfo={description:`Visually groups its content. +import{j as c}from"./jsx-runtime-Bxcv0yjW.js";import{r as f}from"./index-mfbfsM12.js";import{l as g}from"./layoutStyles-DflBxpuh.js";import{u as x}from"./useThemable-BlSbywuP.js";import{V as h}from"./index-BDsvWohO.js";import{s as y}from"./index-CEE--Juu.js";const m=f.memo(({borderColor:a,borderStyle:r,children:s,distinct:i,grow:l,inset:t="md",insetHorizontal:n,insetVertical:u,insetTop:d,insetBottom:o,variant:e,...p})=>{const v=x(b({borderColor:a,borderStyle:r,distinct:i,inset:t,insetHorizontal:n,insetTop:d,insetVertical:u,insetBottom:o,variant:e}));return c.jsx(h,{style:[v.box,l&&g.grow],...p,children:s})}),b=({borderColor:a,borderStyle:r,distinct:s,inset:i,insetHorizontal:l,insetTop:t,insetVertical:n,insetBottom:u,variant:d})=>({color:o,size:e})=>y.create({box:{backgroundColor:s?o.box.distinct:d==="city-pass"?o.box.cityPass:void 0,borderColor:a?o.border[a]:void 0,borderStyle:r,borderWidth:r?1:void 0,padding:i&&!l&&!t&&!u&&!n?e.spacing[i]:0,paddingHorizontal:l&&e.spacing[l],paddingTop:t&&e.spacing[t],paddingBottom:u&&e.spacing[u],paddingVertical:n&&e.spacing[n]}});try{m.displayName="Box",m.__docgenInfo={description:`Visually groups its content. Allows to set insets and a background colour.`,displayName:"Box",props:{borderColor:{defaultValue:null,description:"",name:"borderColor",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"cityPass"'},{value:'"onGrey"'}]}},borderStyle:{defaultValue:null,description:"",name:"borderStyle",required:!1,type:{name:"enum",value:[{value:'"dashed"'},{value:'"dotted"'},{value:'"solid"'}]}},distinct:{defaultValue:null,description:`Whether the box has a background color, setting it apart from its surroundings. In light mode, it is white. -Only to be used when the box covers another color, like on light grey (settings) screens or in the navigation header.`,name:"distinct",required:!1,type:{name:"boolean"}},grow:{defaultValue:null,description:"Whether the box grows to fill its parent container.",name:"grow",required:!1,type:{name:"boolean"}},inset:{defaultValue:null,description:"The amount of inner spacing.",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetBottom:{defaultValue:null,description:"The amount of inner spacing at the end of ltr",name:"insetBottom",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetHorizontal:{defaultValue:null,description:"The amount of inner spacing at the left and right.",name:"insetHorizontal",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetTop:{defaultValue:null,description:"The amount of inner spacing at the start of ltr",name:"insetTop",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetVertical:{defaultValue:null,description:"The amount of inner spacing at the top and bottom.",name:"insetVertical",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"city-pass"'},{value:'"default"'}]}}}}}catch{}export{m as B}; +Only to be used when the box covers another color, like on light grey (settings) screens or in the navigation header.`,name:"distinct",required:!1,type:{name:"boolean"}},grow:{defaultValue:null,description:"Whether the box grows to fill its parent container.",name:"grow",required:!1,type:{name:"boolean"}},inset:{defaultValue:null,description:"The amount of inner spacing.",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetBottom:{defaultValue:null,description:"The amount of inner spacing at the end of ltr",name:"insetBottom",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetHorizontal:{defaultValue:null,description:"The amount of inner spacing at the left and right.",name:"insetHorizontal",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetTop:{defaultValue:null,description:"The amount of inner spacing at the start of ltr",name:"insetTop",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetVertical:{defaultValue:null,description:"The amount of inner spacing at the top and bottom.",name:"insetVertical",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"city-pass"'}]}}}}}catch{}export{m as B}; diff --git a/assets/Box.stories-BzfpVYnN.js b/assets/Box.stories-BWLTTXrf.js similarity index 82% rename from assets/Box.stories-BzfpVYnN.js rename to assets/Box.stories-BWLTTXrf.js index e2e01b6b..551bfb61 100644 --- a/assets/Box.stories-BzfpVYnN.js +++ b/assets/Box.stories-BWLTTXrf.js @@ -1,3 +1,3 @@ -import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{B as m}from"./Box-uk0d72u3.js";import{P as p}from"./Phrase-t0rOiClQ.js";import{b as s}from"./base-color-CZpuL6yQ.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./layoutStyles-DflBxpuh.js";import"./index-CEE--Juu.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./index-BDsvWohO.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-BypDj3rK.js";const I={component:m,args:{distinct:!1,grow:!1,inset:"md"},parameters:{backgrounds:{values:[{name:"Default screen",value:s.primary.white},{name:"Settings screen",value:s.custom.grey0}]}}},r=i=>e.jsx(m,{...i,children:e.jsx(p,{testID:"Phrase",children:"I’m a box."})});var o,t,a;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`args => +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{B as m}from"./Box-DJu0GgH-.js";import{P as p}from"./Phrase-CsqFctWr.js";import{b as s}from"./base-color-B2rPH-Aj.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./layoutStyles-DflBxpuh.js";import"./index-CEE--Juu.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./index-BDsvWohO.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-BypDj3rK.js";const I={component:m,args:{distinct:!1,grow:!1,inset:"md"},parameters:{backgrounds:{values:[{name:"Default screen",value:s.primary.white},{name:"Settings screen",value:s.custom.grey0}]}}},r=i=>e.jsx(m,{...i,children:e.jsx(p,{testID:"Phrase",children:"I’m a box."})});var o,t,a;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`args => I’m a box. `,...(a=(t=r.parameters)==null?void 0:t.docs)==null?void 0:a.source}}};const v=["Default"];export{r as Default,v as __namedExportsOrder,I as default}; diff --git a/assets/Button-DAm4UwbF.js b/assets/Button-CM8byzny.js similarity index 97% rename from assets/Button-DAm4UwbF.js rename to assets/Button-CM8byzny.js index 390737e8..95591bee 100644 --- a/assets/Button-DAm4UwbF.js +++ b/assets/Button-CM8byzny.js @@ -1 +1 @@ -import{j as m}from"./jsx-runtime-Bxcv0yjW.js";import{r as y}from"./index-mfbfsM12.js";import{P as C}from"./PressableBase-CPU35BDr.js";import{c as V}from"./config-BZnShabN.js";import{R as q}from"./Row-BXpfxHoR.js";import{I as w}from"./Icon-DcC-yiY8.js";import{u as x}from"./useThemable-CjWxbHxI.js";import{T as L}from"./index-BypDj3rK.js";import{s as S}from"./index-CEE--Juu.js";const p="primary",b=({ellipsizeMode:l,iconName:e,isLoading:a,label:u,numberOfLines:r,small:o,testID:i,variant:c=p,...n})=>{const[g,s]=y.useState(!1),d=x(z({small:o,variant:c},g)),{onPressIn:t,onPressOut:v}=n,h=y.useCallback(f=>{s(!0),t==null||t(f)},[t]),k=y.useCallback(f=>{s(!1),v==null||v(f)},[v]);return m.jsx(C,{accessibilityLanguage:"nl-NL",accessibilityRole:"button",onPressIn:h,onPressOut:k,style:d.button,testID:i,...n,children:m.jsxs(q,{gutter:"sm",valign:"center",children:[!!e&&m.jsx(w,{color:c==="primary"?"inverse":"link",name:a?"spinner":e,size:"lg",testID:`${i}Icon`}),!!u&&m.jsx(L,{ellipsizeMode:l,numberOfLines:r,style:d.label,testID:`${i}Label`,children:u})]})})},N=(l,e,a=p)=>l.pressable[a][e?"pressed":"default"].border,_=(l,e,a=p)=>l.pressable[a][e?"pressed":"default"].label,j=(l,e,a=p)=>l.pressable[a][e?"pressed":"default"].background,z=({small:l,variant:e},a)=>({border:u,color:r,text:o,size:i})=>{const c=V.buttonHeight,n=u.width[e==="secondary"&&a?"lg":"md"],g=o.fontSize[l?"small":"body"],s=o.lineHeight[l?"small":"body"],d=i.spacing.md+2+u.width.md-n,t=(c-s-2*n)/2;return S.create({button:{flexDirection:"row",justifyContent:"center",flexShrink:1,paddingHorizontal:d,paddingVertical:t,backgroundColor:j(r,a,e),borderColor:N(r,a,e),borderStyle:"solid",borderWidth:n},label:{flexShrink:1,color:_(r,a,e),fontFamily:o.fontFamily.regular,fontSize:g,lineHeight:s}})};try{b.displayName="Button",b.__docgenInfo={description:"",displayName:"Button",props:{ellipsizeMode:{defaultValue:null,description:"",name:"ellipsizeMode",required:!1,type:{name:"enum",value:[{value:'"head"'},{value:'"tail"'},{value:'"middle"'},{value:'"clip"'}]}},iconName:{defaultValue:null,description:"",name:"iconName",required:!1,type:{name:"enum",value:[{value:'"alarm"'},{value:'"alert"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"announcement"'},{value:'"api"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document-text"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"list"'},{value:'"location"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},isLoading:{defaultValue:null,description:"",name:"isLoading",required:!1,type:{name:"boolean"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}},numberOfLines:{defaultValue:null,description:"",name:"numberOfLines",required:!1,type:{name:"number"}},small:{defaultValue:null,description:"",name:"small",required:!1,type:{name:"boolean"}},variant:{defaultValue:{value:"primary"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}export{b as B}; +import{j as m}from"./jsx-runtime-Bxcv0yjW.js";import{r as y}from"./index-mfbfsM12.js";import{P as C}from"./PressableBase-CPU35BDr.js";import{c as V}from"./config-BZnShabN.js";import{R as q}from"./Row-BY9zY_5g.js";import{I as w}from"./Icon-CHbD1j2W.js";import{u as x}from"./useThemable-BlSbywuP.js";import{T as L}from"./index-BypDj3rK.js";import{s as S}from"./index-CEE--Juu.js";const p="primary",b=({ellipsizeMode:l,iconName:e,isLoading:a,label:u,numberOfLines:r,small:o,testID:i,variant:c=p,...n})=>{const[g,s]=y.useState(!1),d=x(z({small:o,variant:c},g)),{onPressIn:t,onPressOut:v}=n,h=y.useCallback(f=>{s(!0),t==null||t(f)},[t]),k=y.useCallback(f=>{s(!1),v==null||v(f)},[v]);return m.jsx(C,{accessibilityLanguage:"nl-NL",accessibilityRole:"button",onPressIn:h,onPressOut:k,style:d.button,testID:i,...n,children:m.jsxs(q,{gutter:"sm",valign:"center",children:[!!e&&m.jsx(w,{color:c==="primary"?"inverse":"link",name:a?"spinner":e,size:"lg",testID:`${i}Icon`}),!!u&&m.jsx(L,{ellipsizeMode:l,numberOfLines:r,style:d.label,testID:`${i}Label`,children:u})]})})},N=(l,e,a=p)=>l.pressable[a][e?"pressed":"default"].border,_=(l,e,a=p)=>l.pressable[a][e?"pressed":"default"].label,j=(l,e,a=p)=>l.pressable[a][e?"pressed":"default"].background,z=({small:l,variant:e},a)=>({border:u,color:r,text:o,size:i})=>{const c=V.buttonHeight,n=u.width[e==="secondary"&&a?"lg":"md"],g=o.fontSize[l?"small":"body"],s=o.lineHeight[l?"small":"body"],d=i.spacing.md+2+u.width.md-n,t=(c-s-2*n)/2;return S.create({button:{flexDirection:"row",justifyContent:"center",flexShrink:1,paddingHorizontal:d,paddingVertical:t,backgroundColor:j(r,a,e),borderColor:N(r,a,e),borderStyle:"solid",borderWidth:n},label:{flexShrink:1,color:_(r,a,e),fontFamily:o.fontFamily.regular,fontSize:g,lineHeight:s}})};try{b.displayName="Button",b.__docgenInfo={description:"",displayName:"Button",props:{ellipsizeMode:{defaultValue:null,description:"",name:"ellipsizeMode",required:!1,type:{name:"enum",value:[{value:'"head"'},{value:'"tail"'},{value:'"middle"'},{value:'"clip"'}]}},iconName:{defaultValue:null,description:"",name:"iconName",required:!1,type:{name:"enum",value:[{value:'"alarm"'},{value:'"alert"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"announcement"'},{value:'"api"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document-text"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"list"'},{value:'"location"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},isLoading:{defaultValue:null,description:"",name:"isLoading",required:!1,type:{name:"boolean"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}},numberOfLines:{defaultValue:null,description:"",name:"numberOfLines",required:!1,type:{name:"number"}},small:{defaultValue:null,description:"",name:"small",required:!1,type:{name:"boolean"}},variant:{defaultValue:{value:"primary"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}export{b as B}; diff --git a/assets/Button.stories-Sy1tsKn6.js b/assets/Button.stories-BFhY0AW7.js similarity index 92% rename from assets/Button.stories-Sy1tsKn6.js rename to assets/Button.stories-BFhY0AW7.js index 3ca00b7a..59721c42 100644 --- a/assets/Button.stories-Sy1tsKn6.js +++ b/assets/Button.stories-BFhY0AW7.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{B as t}from"./Button-DAm4UwbF.js";import{R as p}from"./Row-BXpfxHoR.js";import{p as A}from"./pressable-arg-types-CJIMfHep.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./config-BZnShabN.js";import"./Icon-DcC-yiY8.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./useTheme-CJIBCVMY.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./base-color-CZpuL6yQ.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";const dr={argTypes:A,component:t,parameters:{componentSubtitle:"Het basis button component"}},o={args:{label:"Primary",variant:"primary"}},s={args:{label:"Secondary",variant:"secondary"}},n={args:{label:"Tertiary",variant:"tertiary"}},i={args:{align:"start"},render:({align:e})=>r.jsx(p,{align:e,children:r.jsx(t,{label:"Inline button",testID:"Button"})})},m={args:{align:"start",gutter:"md"},render:({align:e,gutter:P})=>r.jsxs(p,{align:e,gutter:P,children:[r.jsx(t,{label:"First button",testID:"Button"}),r.jsx(t,{label:"Second button",testID:"Button",variant:"secondary"}),r.jsx(t,{label:"Third button",testID:"Button",variant:"tertiary"})]})},a={args:{iconName:"phone",label:"Bel ons"},render:e=>r.jsx(p,{align:"start",children:r.jsx(t,{...e,testID:"Button"})})};var c,l,u;o.parameters={...o.parameters,docs:{...(c=o.parameters)==null?void 0:c.docs,source:{originalSource:`{ +import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{B as t}from"./Button-CM8byzny.js";import{R as p}from"./Row-BY9zY_5g.js";import{p as A}from"./pressable-arg-types-CJIMfHep.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./config-BZnShabN.js";import"./Icon-CHbD1j2W.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./useTheme-BWbL_sDV.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./base-color-B2rPH-Aj.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";const dr={argTypes:A,component:t,parameters:{componentSubtitle:"Het basis button component"}},o={args:{label:"Primary",variant:"primary"}},s={args:{label:"Secondary",variant:"secondary"}},n={args:{label:"Tertiary",variant:"tertiary"}},i={args:{align:"start"},render:({align:e})=>r.jsx(p,{align:e,children:r.jsx(t,{label:"Inline button",testID:"Button"})})},m={args:{align:"start",gutter:"md"},render:({align:e,gutter:P})=>r.jsxs(p,{align:e,gutter:P,children:[r.jsx(t,{label:"First button",testID:"Button"}),r.jsx(t,{label:"Second button",testID:"Button",variant:"secondary"}),r.jsx(t,{label:"Third button",testID:"Button",variant:"tertiary"})]})},a={args:{iconName:"phone",label:"Bel ons"},render:e=>r.jsx(p,{align:"start",children:r.jsx(t,{...e,testID:"Button"})})};var c,l,u;o.parameters={...o.parameters,docs:{...(c=o.parameters)==null?void 0:c.docs,source:{originalSource:`{ args: { label: 'Primary', variant: 'primary' diff --git a/assets/Center.stories-C6NWDIFT.js b/assets/Center.stories-DM_aloze.js similarity index 71% rename from assets/Center.stories-C6NWDIFT.js rename to assets/Center.stories-DM_aloze.js index 7759f1f8..90528b53 100644 --- a/assets/Center.stories-C6NWDIFT.js +++ b/assets/Center.stories-DM_aloze.js @@ -1,3 +1,3 @@ -import{j as t}from"./jsx-runtime-Bxcv0yjW.js";import{C as i}from"./Center-CqG4tBOn.js";import{P as m}from"./Phrase-t0rOiClQ.js";import"./Block-SFKht2RU.js";import{C as p}from"./Canvas-CCRWbH08.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./layoutStyles-DflBxpuh.js";import"./index-CEE--Juu.js";import"./index-BDsvWohO.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-CZpuL6yQ.js";import"./index-BypDj3rK.js";const E={component:i,decorators:[e=>t.jsx(p,{height:"256px",highlight:!0,maxWidth:"512px",children:t.jsx(e,{})})]},r=e=>t.jsx(i,{...e,children:t.jsx(m,{testID:"Phrase",children:"Ik sta in het midden"})});r.args={grow:!0};var s,o,a;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:`args =>
+import{j as t}from"./jsx-runtime-Bxcv0yjW.js";import{C as i}from"./Center-CqG4tBOn.js";import{P as m}from"./Phrase-CsqFctWr.js";import"./Block-B9hfeL6e.js";import{C as p}from"./Canvas-CCRWbH08.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./layoutStyles-DflBxpuh.js";import"./index-CEE--Juu.js";import"./index-BDsvWohO.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-BypDj3rK.js";const E={component:i,decorators:[e=>t.jsx(p,{height:"256px",highlight:!0,maxWidth:"512px",children:t.jsx(e,{})})]},r=e=>t.jsx(i,{...e,children:t.jsx(m,{testID:"Phrase",children:"Ik sta in het midden"})});r.args={grow:!0};var s,o,a;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:`args =>
Ik sta in het midden
`,...(a=(o=r.parameters)==null?void 0:o.docs)==null?void 0:a.source}}};const v=["Default"];export{r as Default,v as __namedExportsOrder,E as default}; diff --git a/assets/CharactersLeftDisplay.stories-DE25sQIz.js b/assets/CharactersLeftDisplay.stories-D7YIAuer.js similarity index 85% rename from assets/CharactersLeftDisplay.stories-DE25sQIz.js rename to assets/CharactersLeftDisplay.stories-D7YIAuer.js index 7186d2c9..dbf9fc73 100644 --- a/assets/CharactersLeftDisplay.stories-DE25sQIz.js +++ b/assets/CharactersLeftDisplay.stories-D7YIAuer.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-Bxcv0yjW.js";import{P as p}from"./Paragraph-DkRs_aGj.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./index-CEE--Juu.js";import"./base-color-CZpuL6yQ.js";import"./index-BypDj3rK.js";import"./TextAncestorContext-Cvz4PlE2.js";const t=({maxCharacters:r,numOfCharacters:a})=>n.jsx(p,{accessibilityLabel:`U heeft ${a} van de maximaal ${r} tekens ingevoerd`,color:a>r?"warning":"default",children:`${a}/${r}`});try{t.displayName="CharactersLeftDisplay",t.__docgenInfo={description:"",displayName:"CharactersLeftDisplay",props:{maxCharacters:{defaultValue:null,description:"",name:"maxCharacters",required:!0,type:{name:"number"}},numOfCharacters:{defaultValue:null,description:"",name:"numOfCharacters",required:!0,type:{name:"number"}}}}}catch{}const C={component:t},e={args:{maxCharacters:50,numOfCharacters:0}};var s,o,i;e.parameters={...e.parameters,docs:{...(s=e.parameters)==null?void 0:s.docs,source:{originalSource:`{ +import{j as n}from"./jsx-runtime-Bxcv0yjW.js";import{P as p}from"./Paragraph-CJTJBOQl.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./index-CEE--Juu.js";import"./base-color-B2rPH-Aj.js";import"./index-BypDj3rK.js";import"./TextAncestorContext-Cvz4PlE2.js";const t=({maxCharacters:r,numOfCharacters:a})=>n.jsx(p,{accessibilityLabel:`U heeft ${a} van de maximaal ${r} tekens ingevoerd`,color:a>r?"warning":"default",children:`${a}/${r}`});try{t.displayName="CharactersLeftDisplay",t.__docgenInfo={description:"",displayName:"CharactersLeftDisplay",props:{maxCharacters:{defaultValue:null,description:"",name:"maxCharacters",required:!0,type:{name:"number"}},numOfCharacters:{defaultValue:null,description:"",name:"numOfCharacters",required:!0,type:{name:"number"}}}}}catch{}const C={component:t},e={args:{maxCharacters:50,numOfCharacters:0}};var s,o,i;e.parameters={...e.parameters,docs:{...(s=e.parameters)==null?void 0:s.docs,source:{originalSource:`{ args: { maxCharacters: 50, numOfCharacters: 0 diff --git a/assets/Checkbox.stories-CuoUXCBY.js b/assets/Checkbox.stories-fE3CtdjF.js similarity index 93% rename from assets/Checkbox.stories-CuoUXCBY.js rename to assets/Checkbox.stories-fE3CtdjF.js index 906e0274..8c435805 100644 --- a/assets/Checkbox.stories-CuoUXCBY.js +++ b/assets/Checkbox.stories-fE3CtdjF.js @@ -1,4 +1,4 @@ -import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{F as k}from"./FormField-Bd2DEH5y.js";import{I as y}from"./Icon-DcC-yiY8.js";import{u as C,P as x,a as V}from"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import{u as n}from"./useThemable-CjWxbHxI.js";import{M as P}from"./index-ZuFZ7TrF.js";import{V as w}from"./index-BDsvWohO.js";import{s as _}from"./index-CEE--Juu.js";import{T as q}from"./index-BypDj3rK.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./HideFromAccessibility-DFWSEXqq.js";import"./Row-BXpfxHoR.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./layoutStyles-DflBxpuh.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./extends-CF3RwP-h.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DcZXOGQR.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-Bcpfmd17.js";import"./index-C3bJM-gU.js";import"./useTheme-CJIBCVMY.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./development-DYCnWZjk.js";import"./index-BMk6Tmu2.js";import"./base-color-CZpuL6yQ.js";const l=({accessibilityLabel:e,label:d,labelPosition:m="end",logAction:p=V.toggle,logDimensions:g={},onValueChange:v,testID:r,value:o,...h})=>{const i=n(T),b=n(D),f=C({...h,logAction:p,logDimensions:{...g,[x.newState]:o?"unchecked":"checked"},onEvent:v,testID:r});return a.jsx(P,{accessibilityLabel:e,accessibilityLanguage:"nl-NL",accessibilityRole:"checkbox",accessibilityState:{selected:o},onPress:f,testID:r,...b,children:a.jsx(k,{label:d,labelPosition:m,children:a.jsx(w,{style:[i.checkbox,o&&i.checked],children:!!o&&a.jsx(y,{color:"inverse",name:"check-mark",testID:`${r}Icon`})})})})},T=({color:e})=>_.create({checkbox:{width:24,aspectRatio:1,padding:2,borderWidth:2,borderColor:e.control.checked.background,backgroundColor:e.control.default.background},checked:{backgroundColor:e.control.checked.background}}),D=({color:e})=>({underlayColor:e.checkbox.underlay});try{l.displayName="Checkbox",l.__docgenInfo={description:"",displayName:"Checkbox",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"ReactNode"}},labelPosition:{defaultValue:{value:"end"},description:"",name:"labelPosition",required:!1,type:{name:"enum",value:[{value:'"end"'},{value:'"start"'}]}},onValueChange:{defaultValue:null,description:"",name:"onValueChange",required:!0,type:{name:"() => void"}},value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"boolean"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}},logAction:{defaultValue:{value:"PiwikAction.toggle"},description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:{value:"{}"},description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}const ce={component:l,argTypes:{onValueChange:{action:"onValueChange"}}},t={args:{label:a.jsx(q,{children:"Ik ga akkoord met de voorwaarden"}),labelPosition:"end",value:!1}};var s,u,c;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:`{ +import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{F as k}from"./FormField-DQmJEy_o.js";import{I as y}from"./Icon-CHbD1j2W.js";import{u as C,P as x,a as V}from"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import{u as n}from"./useThemable-BlSbywuP.js";import{M as P}from"./index-ZuFZ7TrF.js";import{V as w}from"./index-BDsvWohO.js";import{s as _}from"./index-CEE--Juu.js";import{T as q}from"./index-BypDj3rK.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./HideFromAccessibility-DFWSEXqq.js";import"./Row-BY9zY_5g.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./layoutStyles-DflBxpuh.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./extends-CF3RwP-h.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DcZXOGQR.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-Bcpfmd17.js";import"./index-C3bJM-gU.js";import"./useTheme-BWbL_sDV.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./development-DYCnWZjk.js";import"./index-BMk6Tmu2.js";import"./base-color-B2rPH-Aj.js";const l=({accessibilityLabel:e,label:d,labelPosition:m="end",logAction:p=V.toggle,logDimensions:g={},onValueChange:v,testID:r,value:o,...h})=>{const i=n(T),b=n(D),f=C({...h,logAction:p,logDimensions:{...g,[x.newState]:o?"unchecked":"checked"},onEvent:v,testID:r});return a.jsx(P,{accessibilityLabel:e,accessibilityLanguage:"nl-NL",accessibilityRole:"checkbox",accessibilityState:{selected:o},onPress:f,testID:r,...b,children:a.jsx(k,{label:d,labelPosition:m,children:a.jsx(w,{style:[i.checkbox,o&&i.checked],children:!!o&&a.jsx(y,{color:"inverse",name:"check-mark",testID:`${r}Icon`})})})})},T=({color:e})=>_.create({checkbox:{width:24,aspectRatio:1,padding:2,borderWidth:2,borderColor:e.control.checked.background,backgroundColor:e.control.default.background},checked:{backgroundColor:e.control.checked.background}}),D=({color:e})=>({underlayColor:e.checkbox.underlay});try{l.displayName="Checkbox",l.__docgenInfo={description:"",displayName:"Checkbox",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"ReactNode"}},labelPosition:{defaultValue:{value:"end"},description:"",name:"labelPosition",required:!1,type:{name:"enum",value:[{value:'"end"'},{value:'"start"'}]}},onValueChange:{defaultValue:null,description:"",name:"onValueChange",required:!0,type:{name:"() => void"}},value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"boolean"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}},logAction:{defaultValue:{value:"PiwikAction.toggle"},description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:{value:"{}"},description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}const ce={component:l,argTypes:{onValueChange:{action:"onValueChange"}}},t={args:{label:a.jsx(q,{children:"Ik ga akkoord met de voorwaarden"}),labelPosition:"end",value:!1}};var s,u,c;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:`{ args: { label: Ik ga akkoord met de voorwaarden, labelPosition: 'end', diff --git a/assets/CityPassCard.stories-TqChsdR9.js b/assets/CityPassCard.stories-BgDQmIVR.js similarity index 94% rename from assets/CityPassCard.stories-TqChsdR9.js rename to assets/CityPassCard.stories-BgDQmIVR.js index cd25362e..b07994c4 100644 --- a/assets/CityPassCard.stories-TqChsdR9.js +++ b/assets/CityPassCard.stories-BgDQmIVR.js @@ -1,4 +1,4 @@ -import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{P as I}from"./Pressable-HfRmqOUq.js";import{B as L}from"./Box-uk0d72u3.js";import{C as S}from"./Column-DVJ0Grcf.js";import{R as y}from"./Row-BXpfxHoR.js";import{I as x}from"./Icon-DcC-yiY8.js";import{P as A}from"./Paragraph-DkRs_aGj.js";import{T as b}from"./Title-9ScEYPym.js";import{u as k}from"./useThemable-CjWxbHxI.js";import{a as D}from"./accessibleText-gmNPjmn1.js";import{s as $}from"./index-CEE--Juu.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./layoutStyles-DflBxpuh.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./useTheme-CJIBCVMY.js";import"./index-BMk6Tmu2.js";import"./base-color-CZpuL6yQ.js";var P={exports:{}},t=P.exports={},n,i;function f(){throw new Error("setTimeout has not been defined")}function v(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?n=setTimeout:n=f}catch{n=f}try{typeof clearTimeout=="function"?i=clearTimeout:i=v}catch{i=v}})();function V(e){if(n===setTimeout)return setTimeout(e,0);if((n===f||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch{try{return n.call(null,e,0)}catch{return n.call(this,e,0)}}}function z(e){if(i===clearTimeout)return clearTimeout(e);if((i===v||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{return i(e)}catch{try{return i.call(null,e)}catch{return i.call(this,e)}}}var o=[],m=!1,u,p=-1;function F(){!m||!u||(m=!1,u.length?o=u.concat(o):p=-1,o.length&&N())}function N(){if(!m){var e=V(F);m=!0;for(var r=o.length;r;){for(u=o,o=[];++p1)for(var s=1;s{const R=k(O),h=`Totaal saldo ${s}`;return a.jsx(I,{accessibilityLabel:D(H.title,h),accessibilityLanguage:"nl-NL",accessibilityRole:E,onPress:e,testID:c,..._,insetHorizontal:"md",insetVertical:"sm",style:R.card,children:a.jsxs(y,{gutter:"md",children:[a.jsx(L,{insetTop:"sm",children:a.jsx(x,{color:"link",name:"city-pass",size:"xl",testID:`${c}Icon`})}),a.jsxs(S,{align:"center",grow:1,gutter:"xs",shrink:1,children:[a.jsx(b,{color:"link",level:"h3",testID:`${c}Title`,text:"Stadspas details"}),a.jsx(b,{color:"link",level:"h3",testID:`${c}Name`,text:q}),!!r.length&&a.jsx(A,{testID:`${c}Text`,variant:"small",children:h})]}),a.jsx(y,{valign:"center",children:a.jsx(x,{color:"link",name:"chevron-right",size:"lg",testID:`${c}Icon`})})]})})},O=({color:e,border:r})=>$.create({card:{borderColor:e.cityPass.card.border,borderWidth:r.width.sm,borderStyle:"solid"}});try{g.displayName="CityPassCard",g.__docgenInfo={description:"",displayName:"CityPassCard",props:{cityPass:{defaultValue:null,description:"",name:"cityPass",required:!0,type:{name:"CityPass"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},inset:{defaultValue:null,description:"The amount of inner spacing.",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetHorizontal:{defaultValue:null,description:"The amount of inner spacing at the left and right.",name:"insetHorizontal",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetVertical:{defaultValue:null,description:"The amount of inner spacing at the top and bottom.",name:"insetVertical",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}}}}}catch{}const qe={component:g,argTypes:{onPress:{action:"onPress"}}},d={args:{cityPass:{id:"1",dateEnd:"2022-12-31T00:00:00.000Z",dateEndFormatted:"2022-12-31",budgets:[],balanceFormatted:"€20,00",owner:{firstname:"Ryan",initials:"R.",lastname:"Huisman"},passNumber:6064366011012605,passNumberComplete:"6064366011012605999",securityCode:null}}};var T,w,C;d.parameters={...d.parameters,docs:{...(T=d.parameters)==null?void 0:T.docs,source:{originalSource:`{ +import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{P as I}from"./Pressable-CwlxP6l-.js";import{B as L}from"./Box-DJu0GgH-.js";import{C as S}from"./Column-BO_nzweR.js";import{R as y}from"./Row-BY9zY_5g.js";import{I as x}from"./Icon-CHbD1j2W.js";import{P as A}from"./Paragraph-CJTJBOQl.js";import{T as b}from"./Title-Dg8-Cp53.js";import{u as k}from"./useThemable-BlSbywuP.js";import{a as D}from"./accessibleText-gmNPjmn1.js";import{s as $}from"./index-CEE--Juu.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./layoutStyles-DflBxpuh.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./useTheme-BWbL_sDV.js";import"./index-BMk6Tmu2.js";import"./base-color-B2rPH-Aj.js";var P={exports:{}},t=P.exports={},n,i;function f(){throw new Error("setTimeout has not been defined")}function v(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?n=setTimeout:n=f}catch{n=f}try{typeof clearTimeout=="function"?i=clearTimeout:i=v}catch{i=v}})();function V(e){if(n===setTimeout)return setTimeout(e,0);if((n===f||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch{try{return n.call(null,e,0)}catch{return n.call(this,e,0)}}}function z(e){if(i===clearTimeout)return clearTimeout(e);if((i===v||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{return i(e)}catch{try{return i.call(null,e)}catch{return i.call(this,e)}}}var o=[],m=!1,u,p=-1;function F(){!m||!u||(m=!1,u.length?o=u.concat(o):p=-1,o.length&&N())}function N(){if(!m){var e=V(F);m=!0;for(var r=o.length;r;){for(u=o,o=[];++p1)for(var s=1;s{const R=k(O),h=`Totaal saldo ${s}`;return a.jsx(I,{accessibilityLabel:D(H.title,h),accessibilityLanguage:"nl-NL",accessibilityRole:E,onPress:e,testID:c,..._,insetHorizontal:"md",insetVertical:"sm",style:R.card,children:a.jsxs(y,{gutter:"md",children:[a.jsx(L,{insetTop:"sm",children:a.jsx(x,{color:"link",name:"city-pass",size:"xl",testID:`${c}Icon`})}),a.jsxs(S,{align:"center",grow:1,gutter:"xs",shrink:1,children:[a.jsx(b,{color:"link",level:"h3",testID:`${c}Title`,text:"Stadspas details"}),a.jsx(b,{color:"link",level:"h3",testID:`${c}Name`,text:q}),!!r.length&&a.jsx(A,{testID:`${c}Text`,variant:"small",children:h})]}),a.jsx(y,{valign:"center",children:a.jsx(x,{color:"link",name:"chevron-right",size:"lg",testID:`${c}Icon`})})]})})},O=({color:e,border:r})=>$.create({card:{borderColor:e.cityPass.card.border,borderWidth:r.width.sm,borderStyle:"solid"}});try{g.displayName="CityPassCard",g.__docgenInfo={description:"",displayName:"CityPassCard",props:{cityPass:{defaultValue:null,description:"",name:"cityPass",required:!0,type:{name:"CityPass"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},inset:{defaultValue:null,description:"The amount of inner spacing.",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetHorizontal:{defaultValue:null,description:"The amount of inner spacing at the left and right.",name:"insetHorizontal",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetVertical:{defaultValue:null,description:"The amount of inner spacing at the top and bottom.",name:"insetVertical",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}}}}}catch{}const qe={component:g,argTypes:{onPress:{action:"onPress"}}},d={args:{cityPass:{id:"1",dateEnd:"2022-12-31T00:00:00.000Z",dateEndFormatted:"2022-12-31",budgets:[],balanceFormatted:"€20,00",owner:{firstname:"Ryan",initials:"R.",lastname:"Huisman"},passNumber:6064366011012605,passNumberComplete:"6064366011012605999",securityCode:null}}};var T,w,C;d.parameters={...d.parameters,docs:{...(T=d.parameters)==null?void 0:T.docs,source:{originalSource:`{ args: { cityPass: { id: '1', diff --git a/assets/Color-ERTF36HU-BQopY_3-.js b/assets/Color-ERTF36HU-ibhnuZT5.js similarity index 99% rename from assets/Color-ERTF36HU-BQopY_3-.js rename to assets/Color-ERTF36HU-ibhnuZT5.js index 5fb73f73..bc9265ea 100644 --- a/assets/Color-ERTF36HU-BQopY_3-.js +++ b/assets/Color-ERTF36HU-ibhnuZT5.js @@ -1 +1 @@ -import{ae as Me,af as ie,ag as Ce,ah as $,a2 as ue,a0 as $e,x as Ie,ai as Oe,aj as Ne}from"./DocsRenderer-CFRXHY34-DQRRfxKV.js";import{R as h,r as m}from"./index-mfbfsM12.js";import{g as fe}from"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DRbcjd5I.js";import"../sb-preview/runtime.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-BMk6Tmu2.js";import"./extends-CF3RwP-h.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./react-18-CiRR_loB.js";import"./client-DDXjyz62.js";var Se={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const F=Se,he={};for(const e of Object.keys(F))he[F[e]]=e;const u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var de=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=a-o;let l,c;a===o?l=0:t===a?l=(n-r)/s:n===a?l=2+(r-t)/s:r===a&&(l=4+(t-n)/s),l=Math.min(l*60,360),l<0&&(l+=360);const i=(o+a)/2;return a===o?c=0:i<=.5?c=s/(a+o):c=s/(2-a-o),[l,c*100,i*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,c=e[2]/255,i=Math.max(s,l,c),d=i-Math.min(s,l,c),f=function(g){return(i-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/i,t=f(s),n=f(l),r=f(c),s===i?o=r-n:l===i?o=1/3+t-r:c===i&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,i*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,l=(1-r-o)/(1-o)||0;return[a*100,s*100,l*100,o*100]};function Re(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=he[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(F)){const a=F[o],s=Re(e,a);s.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[o*100,a*100,s*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,s=500*(n-r),l=200*(r-o);return[a,s,l]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?o=r*(1+n):o=r+n-r*n;const l=2*r-o,c=[0,0,0];for(let i=0;i<3;i++)a=t+1/3*-(i-1),a<0&&a++,a>1&&a--,6*a<1?s=l+(o-l)*6*a:2*a<1?s=o:3*a<2?s=l+(o-l)*(2/3-a)*6:s=l,c[i]=s*255;return c};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const s=(r+n)/2,l=r===0?2*o/(a+o):2*n/(r+n);return[t,l*100,s*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),l=255*r*(1-n*a),c=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,c,s];case 1:return[l,r,s];case 2:return[s,r,c];case 3:return[s,l,r];case 4:return[c,s,r];case 5:return[r,s,l]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,s;s=(2-n)*r;const l=(2-n)*o;return a=n*o,a/=l<=1?l:2-l,a=a||0,s/=2,[t,a*100,s*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const s=Math.floor(6*t),l=1-r;a=6*t-s,s&1&&(a=1-a);const c=n+a*(l-n);let i,d,f;switch(s){default:case 6:case 0:i=l,d=c,f=n;break;case 1:i=c,d=l,f=n;break;case 2:i=n,d=l,f=c;break;case 3:i=n,d=c,f=l;break;case 4:i=c,d=n,f=l;break;case 5:i=l,d=n,f=c;break}return[i*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,r*(1-o)+o);return[a*255,s*255,l*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,s;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[o*255,a*255,s*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),s=200*(n-r);return[o,a,s]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,s;a=(t+16)/116,o=n/500+a,s=a-r/200;const l=a**3,c=o**3,i=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=c>.008856?c:(o-16/116)/7.787,s=i>.008856?i:(s-16/116)/7.787,o*=95.047,a*=100,s*=108.883,[o,a,s]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const s=Math.sqrt(n*n+r*r);return[t,s,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),s=n*Math.sin(o);return[t,a,s]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(l=>l+l).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,s=r&255;return[o,a,s]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=o-a;let l,c;return s<1?l=a/(1-s):l=0,s<=0?c=0:o===t?c=(n-r)/s%6:o===n?c=2+(r-t)/s:c=4+(t-n)/s,c/=6,c%=1,[c*360,s*100,l*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,s=a%1,l=1-s;let c=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return c=(1-n)*r,[(n*o[0]+c)*255,(n*o[1]+c)*255,(n*o[2]+c)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const X=de;function je(){const e={},t=Object.keys(X);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function Be(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,s=0;s{N[e]={},Object.defineProperty(N[e],"channels",{value:K[e].channels}),Object.defineProperty(N[e],"labels",{value:K[e].labels});const t=Pe(e);Object.keys(t).forEach(r=>{const o=t[r];N[e][r]=Be(o),N[e][r].raw=qe(o)})});var Xe=N;const _=fe(Xe);var De=Me,We=function(){return De.Date.now()},Ke=We,Ve=/\s/;function Ae(e){for(var t=e.length;t--&&Ve.test(e.charAt(t)););return t}var Ge=Ae,Ue=Ge,Ye=/^\s+/;function Je(e){return e&&e.slice(0,Ue(e)+1).replace(Ye,"")}var Qe=Je,Ze=Qe,te=ie,et=Ce,ne=NaN,tt=/^[-+]0x[0-9a-f]+$/i,nt=/^0b[01]+$/i,rt=/^0o[0-7]+$/i,ot=parseInt;function at(e){if(typeof e=="number")return e;if(et(e))return ne;if(te(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=te(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Ze(e);var n=nt.test(e);return n||rt.test(e)?ot(e.slice(2),n?2:8):tt.test(e)?ne:+e}var st=at,lt=ie,W=Ke,re=st,ct="Expected a function",it=Math.max,ut=Math.min;function ft(e,t,n){var r,o,a,s,l,c,i=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError(ct);t=re(t)||0,lt(n)&&(d=!!n.leading,f="maxWait"in n,a=f?it(re(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function x(v){var C=r,z=o;return r=o=void 0,i=v,s=e.apply(z,C),s}function j(v){return i=v,l=setTimeout(b,t),d?x(v):s}function M(v){var C=v-c,z=v-i,ee=t-C;return f?ut(ee,a-z):ee}function p(v){var C=v-c,z=v-i;return c===void 0||C>=t||C<0||f&&z>=a}function b(){var v=W();if(p(v))return w(v);l=setTimeout(b,M(v))}function w(v){return l=void 0,g&&r?x(v):(r=o=void 0,s)}function E(){l!==void 0&&clearTimeout(l),i=0,r=c=o=l=void 0}function k(){return l===void 0?s:w(W())}function I(){var v=W(),C=p(v);if(r=arguments,o=this,c=v,C){if(l===void 0)return j(c);if(f)return clearTimeout(l),l=setTimeout(b,t),x(c)}return l===void 0&&(l=setTimeout(b,t)),s}return I.cancel=E,I.flush=k,I}var ht=ft;const dt=fe(ht);function O(){return(O=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function V(e){var t=m.useRef(e),n=m.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var R=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:p.buttons>0)&&o.current?a(oe(o.current,p,l.current)):M(!1)},j=function(){return M(!1)};function M(p){var b=c.current,w=A(o.current),E=p?w.addEventListener:w.removeEventListener;E(b?"touchmove":"mousemove",x),E(b?"touchend":"mouseup",j)}return[function(p){var b=p.nativeEvent,w=o.current;if(w&&(ae(b),!function(k,I){return I&&!H(k)}(b,c.current)&&w)){if(H(b)){c.current=!0;var E=b.changedTouches||[];E.length&&(l.current=E[0].identifier)}w.focus(),a(oe(w,b,l.current)),M(!0)}},function(p){var b=p.which||p.keyCode;b<37||b>40||(p.preventDefault(),s({left:b===39?.05:b===37?-.05:0,top:b===40?.05:b===38?-.05:0}))},M]},[s,a]),d=i[0],f=i[1],g=i[2];return m.useEffect(function(){return g},[g]),h.createElement("div",O({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),T=function(e){return e.filter(Boolean).join(" ")},Z=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=T(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},gt={grad:.9,turn:360,rad:360/(2*Math.PI)},mt=function(e){return be(G(e))},G=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?y(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?y(parseInt(e.substring(6,8),16)/255,2):1}},bt=function(e,t){return t===void 0&&(t="deg"),Number(e)*(gt[t]||1)},vt=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?pt({h:bt(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},pt=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},yt=function(e){return wt(me(e))},ge=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},U=function(e){var t=ge(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},B=function(e){var t=ge(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},me=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),s=r*(1-n),l=r*(1-(t-a)*n),c=r*(1-(1-t+a)*n),i=a%6;return{r:y(255*[r,l,s,s,c,r][i]),g:y(255*[c,r,r,l,s,s][i]),b:y(255*[s,s,c,r,r,l][i]),a:y(o,2)}},xt=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?be({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},P=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},wt=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?P(y(255*o)):"";return"#"+P(t)+P(n)+P(r)+a},be=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),s=a-Math.min(t,n,r),l=s?a===t?(n-r)/s:a===n?2+(r-t)/s:4+(t-n)/s:0;return{h:y(60*(l<0?l+6:l)),s:y(a?s/a*100:0),v:y(a/255*100),a:o}},ve=h.memo(function(e){var t=e.hue,n=e.onChange,r=T(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Q,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:R(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(Z,{className:"react-colorful__hue-pointer",left:t/360,color:U({h:t,s:100,v:100,a:1})})))}),pe=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:U({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Q,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:R(t.s+100*o.left,0,100),v:R(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(Z,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:U(t)})))}),ye=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},xe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},kt=function(e,t){return e.toLowerCase()===t.toLowerCase()||ye(G(e),G(t))};function we(e,t,n){var r=V(n),o=m.useState(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=m.useRef({color:t,hsva:a});m.useEffect(function(){if(!e.equal(t,l.current.color)){var i=e.toHsva(t);l.current={hsva:i,color:t},s(i)}},[t,e]),m.useEffect(function(){var i;ye(a,l.current.hsva)||e.equal(i=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:i},r(i))},[a,e,r]);var c=m.useCallback(function(i){s(function(d){return Object.assign({},d,i)})},[]);return[a,c]}var _t=typeof window<"u"?m.useLayoutEffect:m.useEffect,Et=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},se=new Map,ke=function(e){_t(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!se.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,se.set(t,n);var r=Et();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},Mt=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=J(e,["className","colorModel","color","onChange"]),l=m.useRef(null);ke(l);var c=we(n,o,a),i=c[0],d=c[1],f=T(["react-colorful",t]);return h.createElement("div",O({},s,{ref:l,className:f}),h.createElement(pe,{hsva:i,onChange:d}),h.createElement(ve,{hue:i.h,onChange:d,className:"react-colorful__last-control"}))},Ct={defaultColor:"000",toHsva:mt,fromHsva:function(e){return yt({h:e.h,s:e.s,v:e.v,a:1})},equal:kt},$t=function(e){return h.createElement(Mt,O({},e,{colorModel:Ct}))},It=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+B(Object.assign({},n,{a:0}))+", "+B(Object.assign({},n,{a:1}))+")"},a=T(["react-colorful__alpha",t]),s=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Q,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:R(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(Z,{className:"react-colorful__alpha-pointer",left:n.a,color:B(n)})))},_e=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=J(e,["className","colorModel","color","onChange"]),l=m.useRef(null);ke(l);var c=we(n,o,a),i=c[0],d=c[1],f=T(["react-colorful",t]);return h.createElement("div",O({},s,{ref:l,className:f}),h.createElement(pe,{hsva:i,onChange:d}),h.createElement(ve,{hue:i.h,onChange:d}),h.createElement(It,{hsva:i,onChange:d,className:"react-colorful__last-control"}))},Ot={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:vt,fromHsva:B,equal:xe},Nt=function(e){return h.createElement(_e,O({},e,{colorModel:Ot}))},St={defaultColor:"rgba(0, 0, 0, 1)",toHsva:xt,fromHsva:function(e){var t=me(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:xe},Rt=function(e){return h.createElement(_e,O({},e,{colorModel:St}))},jt=$.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),zt=$(ue)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Ht=$.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Ft=$($e)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Tt=$.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Pt=$.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),Lt=`url('data:image/svg+xml;charset=utf-8,')`,le=({value:e,style:t,...n})=>{let r=`linear-gradient(${e}, ${e}), ${Lt}, linear-gradient(#fff, #fff)`;return h.createElement(Pt,{...n,style:{...t,backgroundImage:r}})},qt=$(Ie.Input)(({theme:e,readOnly:t})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Bt=$(Oe)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),L=Object.values(Ee),Xt=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Dt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Wt=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Kt=/^\s*#?([0-9a-f]{3})\s*$/i,Vt={hex:$t,rgb:Rt,hsl:Nt},q={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(Xt);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},S=e=>{if(!e)return;let t=!0;if(Dt.test(e)){let[s,l,c,i]=ce(e),[d,f,g]=_.rgb.hsl([s,l,c])||[0,0,0];return{valid:t,value:e,keyword:_.rgb.keyword([s,l,c]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${i})`,hex:`#${_.rgb.hex([s,l,c]).toLowerCase()}`}}if(Wt.test(e)){let[s,l,c,i]=ce(e),[d,f,g]=_.hsl.rgb([s,l,c])||[0,0,0];return{valid:t,value:e,keyword:_.hsl.keyword([s,l,c]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${i})`,hsl:e,hex:`#${_.hsl.hex([s,l,c]).toLowerCase()}`}}let n=e.replace("#",""),r=_.keyword.rgb(n)||_.hex.rgb(n),o=_.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{_.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:_.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},At=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return q[n];if(n!=="hex")return(t==null?void 0:t[n])||q[n];if(!t.hex.startsWith("#"))try{return`#${_.keyword.hex(t.hex)}`}catch{return q.hex}let r=t.hex.match(Kt);if(!r)return Y.test(t.hex)?t.hex:q.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Gt=(e,t)=>{let[n,r]=m.useState(e||""),[o,a]=m.useState(()=>S(n)),[s,l]=m.useState((o==null?void 0:o.colorSpace)||"hex");m.useEffect(()=>{let f=e||"",g=S(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let c=m.useMemo(()=>At(n,o,s).toLowerCase(),[n,o,s]),i=m.useCallback(f=>{let g=S(f),x=(g==null?void 0:g.value)||f||"";r(x),x===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=m.useCallback(()=>{let f=L.indexOf(s)+1;f>=L.length&&(f=0),l(L[f]);let g=(o==null?void 0:o[L[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:c,updateValue:i,color:o,colorSpace:s,cycleColorSpace:d}},D=e=>e.replace(/\s*/,"").toLowerCase(),Ut=(e,t,n)=>{let[r,o]=m.useState(t!=null&&t.valid?[t]:[]);m.useEffect(()=>{t===void 0&&o([])},[t]);let a=m.useMemo(()=>(e||[]).map(l=>typeof l=="string"?S(l):l.title?{...S(l.color),keyword:l.title}:S(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=m.useCallback(l=>{l!=null&&l.valid&&(a.some(c=>D(c[n])===D(l[n]))||o(c=>c.concat(l)))},[n,a]);return{presets:a,addPreset:s}},Yt=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1,argType:l})=>{var E;let c=m.useCallback(dt(n,200),[n]),{value:i,realValue:d,updateValue:f,color:g,colorSpace:x,cycleColorSpace:j}=Gt(t,c),{presets:M,addPreset:p}=Ut(a,g,x),b=Vt[x],w=!!((E=l==null?void 0:l.table)!=null&&E.readonly);return h.createElement(jt,{"aria-readonly":w},h.createElement(zt,{startOpen:s,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>p(g),tooltip:h.createElement(Ht,null,h.createElement(b,{color:d==="transparent"?"#000000":d,onChange:f,onFocus:r,onBlur:o}),M.length>0&&h.createElement(Tt,null,M.map((k,I)=>h.createElement(ue,{key:`${k.value}-${I}`,hasChrome:!1,tooltip:h.createElement(Ft,{note:k.keyword||k.value})},h.createElement(le,{value:k[x],active:g&&D(k[x])===D(g[x]),onClick:()=>f(k.value)})))))},h.createElement(le,{value:d,style:{margin:4}})),h.createElement(qt,{id:Ne(e),value:i,onChange:k=>f(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),i?h.createElement(Bt,{onClick:j}):null)},fn=Yt;export{Yt as ColorControl,fn as default}; +import{ae as Me,af as ie,ag as Ce,ah as $,a2 as ue,a0 as $e,x as Ie,ai as Oe,aj as Ne}from"./DocsRenderer-CFRXHY34-BMZ1OgK-.js";import{R as h,r as m}from"./index-mfbfsM12.js";import{g as fe}from"./_commonjsHelpers-BosuxZz1.js";import"./iframe-D78jW9zZ.js";import"../sb-preview/runtime.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-BMk6Tmu2.js";import"./extends-CF3RwP-h.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./react-18-CiRR_loB.js";import"./client-DDXjyz62.js";var Se={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const F=Se,he={};for(const e of Object.keys(F))he[F[e]]=e;const u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var de=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=a-o;let l,c;a===o?l=0:t===a?l=(n-r)/s:n===a?l=2+(r-t)/s:r===a&&(l=4+(t-n)/s),l=Math.min(l*60,360),l<0&&(l+=360);const i=(o+a)/2;return a===o?c=0:i<=.5?c=s/(a+o):c=s/(2-a-o),[l,c*100,i*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,c=e[2]/255,i=Math.max(s,l,c),d=i-Math.min(s,l,c),f=function(g){return(i-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/i,t=f(s),n=f(l),r=f(c),s===i?o=r-n:l===i?o=1/3+t-r:c===i&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,i*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,l=(1-r-o)/(1-o)||0;return[a*100,s*100,l*100,o*100]};function Re(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=he[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(F)){const a=F[o],s=Re(e,a);s.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[o*100,a*100,s*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,s=500*(n-r),l=200*(r-o);return[a,s,l]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?o=r*(1+n):o=r+n-r*n;const l=2*r-o,c=[0,0,0];for(let i=0;i<3;i++)a=t+1/3*-(i-1),a<0&&a++,a>1&&a--,6*a<1?s=l+(o-l)*6*a:2*a<1?s=o:3*a<2?s=l+(o-l)*(2/3-a)*6:s=l,c[i]=s*255;return c};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const s=(r+n)/2,l=r===0?2*o/(a+o):2*n/(r+n);return[t,l*100,s*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),l=255*r*(1-n*a),c=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,c,s];case 1:return[l,r,s];case 2:return[s,r,c];case 3:return[s,l,r];case 4:return[c,s,r];case 5:return[r,s,l]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,s;s=(2-n)*r;const l=(2-n)*o;return a=n*o,a/=l<=1?l:2-l,a=a||0,s/=2,[t,a*100,s*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const s=Math.floor(6*t),l=1-r;a=6*t-s,s&1&&(a=1-a);const c=n+a*(l-n);let i,d,f;switch(s){default:case 6:case 0:i=l,d=c,f=n;break;case 1:i=c,d=l,f=n;break;case 2:i=n,d=l,f=c;break;case 3:i=n,d=c,f=l;break;case 4:i=c,d=n,f=l;break;case 5:i=l,d=n,f=c;break}return[i*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,r*(1-o)+o);return[a*255,s*255,l*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,s;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[o*255,a*255,s*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),s=200*(n-r);return[o,a,s]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,s;a=(t+16)/116,o=n/500+a,s=a-r/200;const l=a**3,c=o**3,i=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=c>.008856?c:(o-16/116)/7.787,s=i>.008856?i:(s-16/116)/7.787,o*=95.047,a*=100,s*=108.883,[o,a,s]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const s=Math.sqrt(n*n+r*r);return[t,s,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),s=n*Math.sin(o);return[t,a,s]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(l=>l+l).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,s=r&255;return[o,a,s]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=o-a;let l,c;return s<1?l=a/(1-s):l=0,s<=0?c=0:o===t?c=(n-r)/s%6:o===n?c=2+(r-t)/s:c=4+(t-n)/s,c/=6,c%=1,[c*360,s*100,l*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,s=a%1,l=1-s;let c=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return c=(1-n)*r,[(n*o[0]+c)*255,(n*o[1]+c)*255,(n*o[2]+c)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const X=de;function je(){const e={},t=Object.keys(X);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function Be(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,s=0;s{N[e]={},Object.defineProperty(N[e],"channels",{value:K[e].channels}),Object.defineProperty(N[e],"labels",{value:K[e].labels});const t=Pe(e);Object.keys(t).forEach(r=>{const o=t[r];N[e][r]=Be(o),N[e][r].raw=qe(o)})});var Xe=N;const _=fe(Xe);var De=Me,We=function(){return De.Date.now()},Ke=We,Ve=/\s/;function Ae(e){for(var t=e.length;t--&&Ve.test(e.charAt(t)););return t}var Ge=Ae,Ue=Ge,Ye=/^\s+/;function Je(e){return e&&e.slice(0,Ue(e)+1).replace(Ye,"")}var Qe=Je,Ze=Qe,te=ie,et=Ce,ne=NaN,tt=/^[-+]0x[0-9a-f]+$/i,nt=/^0b[01]+$/i,rt=/^0o[0-7]+$/i,ot=parseInt;function at(e){if(typeof e=="number")return e;if(et(e))return ne;if(te(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=te(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Ze(e);var n=nt.test(e);return n||rt.test(e)?ot(e.slice(2),n?2:8):tt.test(e)?ne:+e}var st=at,lt=ie,W=Ke,re=st,ct="Expected a function",it=Math.max,ut=Math.min;function ft(e,t,n){var r,o,a,s,l,c,i=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError(ct);t=re(t)||0,lt(n)&&(d=!!n.leading,f="maxWait"in n,a=f?it(re(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function x(v){var C=r,z=o;return r=o=void 0,i=v,s=e.apply(z,C),s}function j(v){return i=v,l=setTimeout(b,t),d?x(v):s}function M(v){var C=v-c,z=v-i,ee=t-C;return f?ut(ee,a-z):ee}function p(v){var C=v-c,z=v-i;return c===void 0||C>=t||C<0||f&&z>=a}function b(){var v=W();if(p(v))return w(v);l=setTimeout(b,M(v))}function w(v){return l=void 0,g&&r?x(v):(r=o=void 0,s)}function E(){l!==void 0&&clearTimeout(l),i=0,r=c=o=l=void 0}function k(){return l===void 0?s:w(W())}function I(){var v=W(),C=p(v);if(r=arguments,o=this,c=v,C){if(l===void 0)return j(c);if(f)return clearTimeout(l),l=setTimeout(b,t),x(c)}return l===void 0&&(l=setTimeout(b,t)),s}return I.cancel=E,I.flush=k,I}var ht=ft;const dt=fe(ht);function O(){return(O=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function V(e){var t=m.useRef(e),n=m.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var R=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:p.buttons>0)&&o.current?a(oe(o.current,p,l.current)):M(!1)},j=function(){return M(!1)};function M(p){var b=c.current,w=A(o.current),E=p?w.addEventListener:w.removeEventListener;E(b?"touchmove":"mousemove",x),E(b?"touchend":"mouseup",j)}return[function(p){var b=p.nativeEvent,w=o.current;if(w&&(ae(b),!function(k,I){return I&&!H(k)}(b,c.current)&&w)){if(H(b)){c.current=!0;var E=b.changedTouches||[];E.length&&(l.current=E[0].identifier)}w.focus(),a(oe(w,b,l.current)),M(!0)}},function(p){var b=p.which||p.keyCode;b<37||b>40||(p.preventDefault(),s({left:b===39?.05:b===37?-.05:0,top:b===40?.05:b===38?-.05:0}))},M]},[s,a]),d=i[0],f=i[1],g=i[2];return m.useEffect(function(){return g},[g]),h.createElement("div",O({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),T=function(e){return e.filter(Boolean).join(" ")},Z=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=T(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},gt={grad:.9,turn:360,rad:360/(2*Math.PI)},mt=function(e){return be(G(e))},G=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?y(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?y(parseInt(e.substring(6,8),16)/255,2):1}},bt=function(e,t){return t===void 0&&(t="deg"),Number(e)*(gt[t]||1)},vt=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?pt({h:bt(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},pt=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},yt=function(e){return wt(me(e))},ge=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},U=function(e){var t=ge(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},B=function(e){var t=ge(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},me=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),s=r*(1-n),l=r*(1-(t-a)*n),c=r*(1-(1-t+a)*n),i=a%6;return{r:y(255*[r,l,s,s,c,r][i]),g:y(255*[c,r,r,l,s,s][i]),b:y(255*[s,s,c,r,r,l][i]),a:y(o,2)}},xt=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?be({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},P=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},wt=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?P(y(255*o)):"";return"#"+P(t)+P(n)+P(r)+a},be=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),s=a-Math.min(t,n,r),l=s?a===t?(n-r)/s:a===n?2+(r-t)/s:4+(t-n)/s:0;return{h:y(60*(l<0?l+6:l)),s:y(a?s/a*100:0),v:y(a/255*100),a:o}},ve=h.memo(function(e){var t=e.hue,n=e.onChange,r=T(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Q,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:R(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(Z,{className:"react-colorful__hue-pointer",left:t/360,color:U({h:t,s:100,v:100,a:1})})))}),pe=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:U({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Q,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:R(t.s+100*o.left,0,100),v:R(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(Z,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:U(t)})))}),ye=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},xe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},kt=function(e,t){return e.toLowerCase()===t.toLowerCase()||ye(G(e),G(t))};function we(e,t,n){var r=V(n),o=m.useState(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=m.useRef({color:t,hsva:a});m.useEffect(function(){if(!e.equal(t,l.current.color)){var i=e.toHsva(t);l.current={hsva:i,color:t},s(i)}},[t,e]),m.useEffect(function(){var i;ye(a,l.current.hsva)||e.equal(i=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:i},r(i))},[a,e,r]);var c=m.useCallback(function(i){s(function(d){return Object.assign({},d,i)})},[]);return[a,c]}var _t=typeof window<"u"?m.useLayoutEffect:m.useEffect,Et=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},se=new Map,ke=function(e){_t(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!se.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,se.set(t,n);var r=Et();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},Mt=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=J(e,["className","colorModel","color","onChange"]),l=m.useRef(null);ke(l);var c=we(n,o,a),i=c[0],d=c[1],f=T(["react-colorful",t]);return h.createElement("div",O({},s,{ref:l,className:f}),h.createElement(pe,{hsva:i,onChange:d}),h.createElement(ve,{hue:i.h,onChange:d,className:"react-colorful__last-control"}))},Ct={defaultColor:"000",toHsva:mt,fromHsva:function(e){return yt({h:e.h,s:e.s,v:e.v,a:1})},equal:kt},$t=function(e){return h.createElement(Mt,O({},e,{colorModel:Ct}))},It=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+B(Object.assign({},n,{a:0}))+", "+B(Object.assign({},n,{a:1}))+")"},a=T(["react-colorful__alpha",t]),s=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Q,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:R(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(Z,{className:"react-colorful__alpha-pointer",left:n.a,color:B(n)})))},_e=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=J(e,["className","colorModel","color","onChange"]),l=m.useRef(null);ke(l);var c=we(n,o,a),i=c[0],d=c[1],f=T(["react-colorful",t]);return h.createElement("div",O({},s,{ref:l,className:f}),h.createElement(pe,{hsva:i,onChange:d}),h.createElement(ve,{hue:i.h,onChange:d}),h.createElement(It,{hsva:i,onChange:d,className:"react-colorful__last-control"}))},Ot={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:vt,fromHsva:B,equal:xe},Nt=function(e){return h.createElement(_e,O({},e,{colorModel:Ot}))},St={defaultColor:"rgba(0, 0, 0, 1)",toHsva:xt,fromHsva:function(e){var t=me(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:xe},Rt=function(e){return h.createElement(_e,O({},e,{colorModel:St}))},jt=$.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),zt=$(ue)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Ht=$.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Ft=$($e)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Tt=$.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Pt=$.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),Lt=`url('data:image/svg+xml;charset=utf-8,')`,le=({value:e,style:t,...n})=>{let r=`linear-gradient(${e}, ${e}), ${Lt}, linear-gradient(#fff, #fff)`;return h.createElement(Pt,{...n,style:{...t,backgroundImage:r}})},qt=$(Ie.Input)(({theme:e,readOnly:t})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Bt=$(Oe)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),L=Object.values(Ee),Xt=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Dt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Wt=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Kt=/^\s*#?([0-9a-f]{3})\s*$/i,Vt={hex:$t,rgb:Rt,hsl:Nt},q={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(Xt);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},S=e=>{if(!e)return;let t=!0;if(Dt.test(e)){let[s,l,c,i]=ce(e),[d,f,g]=_.rgb.hsl([s,l,c])||[0,0,0];return{valid:t,value:e,keyword:_.rgb.keyword([s,l,c]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${i})`,hex:`#${_.rgb.hex([s,l,c]).toLowerCase()}`}}if(Wt.test(e)){let[s,l,c,i]=ce(e),[d,f,g]=_.hsl.rgb([s,l,c])||[0,0,0];return{valid:t,value:e,keyword:_.hsl.keyword([s,l,c]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${i})`,hsl:e,hex:`#${_.hsl.hex([s,l,c]).toLowerCase()}`}}let n=e.replace("#",""),r=_.keyword.rgb(n)||_.hex.rgb(n),o=_.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{_.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:_.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},At=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return q[n];if(n!=="hex")return(t==null?void 0:t[n])||q[n];if(!t.hex.startsWith("#"))try{return`#${_.keyword.hex(t.hex)}`}catch{return q.hex}let r=t.hex.match(Kt);if(!r)return Y.test(t.hex)?t.hex:q.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Gt=(e,t)=>{let[n,r]=m.useState(e||""),[o,a]=m.useState(()=>S(n)),[s,l]=m.useState((o==null?void 0:o.colorSpace)||"hex");m.useEffect(()=>{let f=e||"",g=S(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let c=m.useMemo(()=>At(n,o,s).toLowerCase(),[n,o,s]),i=m.useCallback(f=>{let g=S(f),x=(g==null?void 0:g.value)||f||"";r(x),x===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=m.useCallback(()=>{let f=L.indexOf(s)+1;f>=L.length&&(f=0),l(L[f]);let g=(o==null?void 0:o[L[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:c,updateValue:i,color:o,colorSpace:s,cycleColorSpace:d}},D=e=>e.replace(/\s*/,"").toLowerCase(),Ut=(e,t,n)=>{let[r,o]=m.useState(t!=null&&t.valid?[t]:[]);m.useEffect(()=>{t===void 0&&o([])},[t]);let a=m.useMemo(()=>(e||[]).map(l=>typeof l=="string"?S(l):l.title?{...S(l.color),keyword:l.title}:S(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=m.useCallback(l=>{l!=null&&l.valid&&(a.some(c=>D(c[n])===D(l[n]))||o(c=>c.concat(l)))},[n,a]);return{presets:a,addPreset:s}},Yt=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1,argType:l})=>{var E;let c=m.useCallback(dt(n,200),[n]),{value:i,realValue:d,updateValue:f,color:g,colorSpace:x,cycleColorSpace:j}=Gt(t,c),{presets:M,addPreset:p}=Ut(a,g,x),b=Vt[x],w=!!((E=l==null?void 0:l.table)!=null&&E.readonly);return h.createElement(jt,{"aria-readonly":w},h.createElement(zt,{startOpen:s,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>p(g),tooltip:h.createElement(Ht,null,h.createElement(b,{color:d==="transparent"?"#000000":d,onChange:f,onFocus:r,onBlur:o}),M.length>0&&h.createElement(Tt,null,M.map((k,I)=>h.createElement(ue,{key:`${k.value}-${I}`,hasChrome:!1,tooltip:h.createElement(Ft,{note:k.keyword||k.value})},h.createElement(le,{value:k[x],active:g&&D(k[x])===D(g[x]),onClick:()=>f(k.value)})))))},h.createElement(le,{value:d,style:{margin:4}})),h.createElement(qt,{id:Ne(e),value:i,onChange:k=>f(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),i?h.createElement(Bt,{onClick:j}):null)},fn=Yt;export{Yt as ColorControl,fn as default}; diff --git a/assets/Column-DVJ0Grcf.js b/assets/Column-BO_nzweR.js similarity index 95% rename from assets/Column-DVJ0Grcf.js rename to assets/Column-BO_nzweR.js index 7e966acc..ab365691 100644 --- a/assets/Column-DVJ0Grcf.js +++ b/assets/Column-BO_nzweR.js @@ -1,4 +1,4 @@ -import{j as c}from"./jsx-runtime-Bxcv0yjW.js";import{m as d}from"./mapCrossAxisAlignment-DpnuLLqj.js";import{m as p}from"./mapMainAxisAlignment-BOa0GzUh.js";import{u as f}from"./useThemable-CjWxbHxI.js";import{V as v}from"./index-BDsvWohO.js";import{s as y}from"./index-CEE--Juu.js";const m=({align:e,basis:a,children:n,flex:t,grow:l,gutter:r,halign:i,reverse:u,shrink:s,zIndex:o})=>{const h=f(g({align:e,basis:a,flex:t,grow:l,gutter:r,halign:i,reverse:u,shrink:s,zIndex:o}));return c.jsx(v,{style:h.column,children:n})},g=({align:e,basis:a,flex:n,grow:t,gutter:l,halign:r,reverse:i,shrink:u,zIndex:s})=>({size:o})=>y.create({column:{flexDirection:i?"column-reverse":"column",alignItems:d(r),flex:n,flexBasis:a,flexGrow:t,flexShrink:u,justifyContent:p(e),rowGap:l&&o.spacing[l],zIndex:s}});try{m.displayName="Column",m.__docgenInfo={description:`Lays out its children vertically. +import{j as c}from"./jsx-runtime-Bxcv0yjW.js";import{m as d}from"./mapCrossAxisAlignment-DpnuLLqj.js";import{m as p}from"./mapMainAxisAlignment-BOa0GzUh.js";import{u as f}from"./useThemable-BlSbywuP.js";import{V as v}from"./index-BDsvWohO.js";import{s as y}from"./index-CEE--Juu.js";const m=({align:e,basis:a,children:n,flex:t,grow:l,gutter:r,halign:i,reverse:u,shrink:s,zIndex:o})=>{const h=f(g({align:e,basis:a,flex:t,grow:l,gutter:r,halign:i,reverse:u,shrink:s,zIndex:o}));return c.jsx(v,{style:h.column,children:n})},g=({align:e,basis:a,flex:n,grow:t,gutter:l,halign:r,reverse:i,shrink:u,zIndex:s})=>({size:o})=>y.create({column:{flexDirection:i?"column-reverse":"column",alignItems:d(r),flex:n,flexBasis:a,flexGrow:t,flexShrink:u,justifyContent:p(e),rowGap:l&&o.spacing[l],zIndex:s}});try{m.displayName="Column",m.__docgenInfo={description:`Lays out its children vertically. Allows specifying the amount of spacing between the items, alignment of the items in the column, whether the column should grow to fill the available space, and whether the items should be displayed in reverse order.`,displayName:"Column",props:{align:{defaultValue:null,description:"The vertical alignment of the items in the column.",name:"align",required:!1,type:{name:"enum",value:[{value:'"around"'},{value:'"between"'},{value:'"center"'},{value:'"end"'},{value:'"evenly"'},{value:'"start"'}]}},basis:{defaultValue:null,description:"The flex basis factor of the column.",name:"basis",required:!1,type:{name:"number"}},children:{defaultValue:null,description:"The content of the column.",name:"children",required:!0,type:{name:"ReactNode"}},grow:{defaultValue:null,description:"Whether the column should grow to fill the available space.",name:"grow",required:!1,type:{name:"number"}},gutter:{defaultValue:null,description:"The amount of vertical spacing between the items in the column.",name:"gutter",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},halign:{defaultValue:null,description:"The horizontal alignment of the items in the column.",name:"halign",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"end"'},{value:'"start"'},{value:'"baseline"'},{value:'"stretch"'}]}},reverse:{defaultValue:null,description:"Whether the items in the column should be reversed.",name:"reverse",required:!1,type:{name:"boolean"}},shrink:{defaultValue:null,description:"Whether the column should shrink to fill the available space.",name:"shrink",required:!1,type:{name:"number"}},zIndex:{defaultValue:null,description:"Sets the zIndex style property",name:"zIndex",required:!1,type:{name:"number"}}}}}catch{}export{m as C}; diff --git a/assets/Column.stories-Ca7j0P0o.js b/assets/Column.stories-G5gB3qU9.js similarity index 83% rename from assets/Column.stories-Ca7j0P0o.js rename to assets/Column.stories-G5gB3qU9.js index 8ee7de81..9d7a5da2 100644 --- a/assets/Column.stories-Ca7j0P0o.js +++ b/assets/Column.stories-G5gB3qU9.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{C as l}from"./Column-DVJ0Grcf.js";import{B as t}from"./Block-SFKht2RU.js";import{C as i}from"./Canvas-CCRWbH08.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./index-CEE--Juu.js";import"./base-color-CZpuL6yQ.js";import"./index-BDsvWohO.js";import"./TextAncestorContext-Cvz4PlE2.js";const _={component:l},o=m=>r.jsx(i,{highlight:!0,children:r.jsxs(l,{...m,children:[r.jsx(t,{label:"A"}),r.jsx(t,{label:"B"}),r.jsx(t,{label:"C"})]})});o.args={align:"start",gutter:"md",halign:"stretch",reverse:!1};var s,a,e;o.parameters={...o.parameters,docs:{...(s=o.parameters)==null?void 0:s.docs,source:{originalSource:`args => +import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{C as l}from"./Column-BO_nzweR.js";import{B as t}from"./Block-B9hfeL6e.js";import{C as i}from"./Canvas-CCRWbH08.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./index-CEE--Juu.js";import"./base-color-B2rPH-Aj.js";import"./index-BDsvWohO.js";import"./TextAncestorContext-Cvz4PlE2.js";const _={component:l},o=m=>r.jsx(i,{highlight:!0,children:r.jsxs(l,{...m,children:[r.jsx(t,{label:"A"}),r.jsx(t,{label:"B"}),r.jsx(t,{label:"C"})]})});o.args={align:"start",gutter:"md",halign:"stretch",reverse:!1};var s,a,e;o.parameters={...o.parameters,docs:{...(s=o.parameters)==null?void 0:s.docs,source:{originalSource:`args => diff --git a/assets/DocsRenderer-CFRXHY34-DQRRfxKV.js b/assets/DocsRenderer-CFRXHY34-BMZ1OgK-.js similarity index 99% rename from assets/DocsRenderer-CFRXHY34-DQRRfxKV.js rename to assets/DocsRenderer-CFRXHY34-BMZ1OgK-.js index 4f693d89..fb8a8ecb 100644 --- a/assets/DocsRenderer-CFRXHY34-DQRRfxKV.js +++ b/assets/DocsRenderer-CFRXHY34-BMZ1OgK-.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-vMRfdoe9.js","./iframe-DRbcjd5I.js","./index-mfbfsM12.js","./_commonjsHelpers-BosuxZz1.js","./_commonjs-dynamic-modules-TDtrdbi3.js","./jsx-runtime-Bxcv0yjW.js","./index-BMk6Tmu2.js","./extends-CF3RwP-h.js","./index-DF3CPj03.js","./index-DrFu-skq.js","./react-18-CiRR_loB.js","./client-DDXjyz62.js","./Color-ERTF36HU-BQopY_3-.js","./index-EeWIkZEf.js"])))=>i.map(i=>d[i]); -var dS=Object.defineProperty;var pS=(e,t,r)=>t in e?dS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Vn=(e,t,r)=>pS(e,typeof t!="symbol"?t+"":t,r);import{_ as Lp}from"./iframe-DRbcjd5I.js";import{r as l,R as y}from"./index-mfbfsM12.js";import{c as Be}from"./_commonjs-dynamic-modules-TDtrdbi3.js";import{j as X}from"./jsx-runtime-Bxcv0yjW.js";import{r as Hs,f as j3}from"./index-BMk6Tmu2.js";import{_ as nt}from"./extends-CF3RwP-h.js";import{c as Ui,g as js}from"./_commonjsHelpers-BosuxZz1.js";import{y as Dm,D as tc}from"./index-DF3CPj03.js";import{d as fS}from"./index-DrFu-skq.js";import{renderElement as hS,unmountElement as mS}from"./react-18-CiRR_loB.js";var gS=Object.create,V3=Object.defineProperty,vS=Object.getOwnPropertyDescriptor,U3=Object.getOwnPropertyNames,yS=Object.getPrototypeOf,bS=Object.prototype.hasOwnProperty,La=(e,t)=>function(){return t||(0,e[U3(e)[0]])((t={exports:{}}).exports,t),t.exports},wS=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of U3(t))!bS.call(e,a)&&a!==r&&V3(e,a,{get:()=>t[a],enumerable:!(n=vS(t,a))||n.enumerable});return e},ES=(e,t,r)=>(r=e!=null?gS(yS(e)):{},wS(!e||!e.__esModule?V3(r,"default",{value:e,enumerable:!0}):r,e)),Dt=e=>`control-${e.replace(/\s+/g,"-")}`,Vs=e=>`set-${e.replace(/\s+/g,"-")}`,xS=Object.create,Mp=Object.defineProperty,CS=Object.getOwnPropertyDescriptor,DS=Object.getOwnPropertyNames,SS=Object.getPrototypeOf,AS=Object.prototype.hasOwnProperty,I=(e,t)=>Mp(e,"name",{value:t,configurable:!0}),qi=(e=>typeof Be<"u"?Be:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof Be<"u"?Be:t)[r]}):e)(function(e){if(typeof Be<"u")return Be.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Us=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),kS=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of DS(t))!AS.call(e,a)&&a!==r&&Mp(e,a,{get:()=>t[a],enumerable:!(n=CS(t,a))||n.enumerable});return e},Pp=(e,t,r)=>(r=e!=null?xS(SS(e)):{},kS(t||!e||!e.__esModule?Mp(r,"default",{value:e,enumerable:!0}):r,e)),_S=Us(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,u=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,f=t?Symbol.for("react.concurrent_mode"):60111,h=t?Symbol.for("react.forward_ref"):60112,p=t?Symbol.for("react.suspense"):60113,m=t?Symbol.for("react.suspense_list"):60120,g=t?Symbol.for("react.memo"):60115,v=t?Symbol.for("react.lazy"):60116,b=t?Symbol.for("react.block"):60121,x=t?Symbol.for("react.fundamental"):60117,E=t?Symbol.for("react.responder"):60118,C=t?Symbol.for("react.scope"):60119;function w(P){return typeof P=="string"||typeof P=="function"||P===a||P===f||P===i||P===o||P===p||P===m||typeof P=="object"&&P!==null&&(P.$$typeof===v||P.$$typeof===g||P.$$typeof===s||P.$$typeof===u||P.$$typeof===h||P.$$typeof===x||P.$$typeof===E||P.$$typeof===C||P.$$typeof===b)}I(w,"isValidElementType");function D(P){if(typeof P=="object"&&P!==null){var ut=P.$$typeof;switch(ut){case r:var _t=P.type;switch(_t){case d:case f:case a:case i:case o:case p:return _t;default:var Kr=_t&&_t.$$typeof;switch(Kr){case u:case h:case v:case g:case s:return Kr;default:return ut}}case n:return ut}}}I(D,"typeOf");var S=d,A=f,k=u,F=s,T=r,R=h,O=a,z=v,L=g,$=n,M=i,j=o,K=p,N=!1;function W(P){return N||(N=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),te(P)||D(P)===d}I(W,"isAsyncMode");function te(P){return D(P)===f}I(te,"isConcurrentMode");function ue(P){return D(P)===u}I(ue,"isContextConsumer");function re(P){return D(P)===s}I(re,"isContextProvider");function ae(P){return typeof P=="object"&&P!==null&&P.$$typeof===r}I(ae,"isElement");function H(P){return D(P)===h}I(H,"isForwardRef");function J(P){return D(P)===a}I(J,"isFragment");function Z(P){return D(P)===v}I(Z,"isLazy");function ge(P){return D(P)===g}I(ge,"isMemo");function ke(P){return D(P)===n}I(ke,"isPortal");function kt(P){return D(P)===i}I(kt,"isProfiler");function qe(P){return D(P)===o}I(qe,"isStrictMode");function st(P){return D(P)===p}I(st,"isSuspense"),e.AsyncMode=S,e.ConcurrentMode=A,e.ContextConsumer=k,e.ContextProvider=F,e.Element=T,e.ForwardRef=R,e.Fragment=O,e.Lazy=z,e.Memo=L,e.Portal=$,e.Profiler=M,e.StrictMode=j,e.Suspense=K,e.isAsyncMode=W,e.isConcurrentMode=te,e.isContextConsumer=ue,e.isContextProvider=re,e.isElement=ae,e.isForwardRef=H,e.isFragment=J,e.isLazy=Z,e.isMemo=ge,e.isPortal=ke,e.isProfiler=kt,e.isStrictMode=qe,e.isSuspense=st,e.isValidElementType=w,e.typeOf=D})()}),FS=Us((e,t)=>{t.exports=_S()}),q3=Us((e,t)=>{var r=FS(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=o,s[r.Memo]=i;function u(b){return r.isMemo(b)?i:s[b.$$typeof]||n}I(u,"getStatics");var d=Object.defineProperty,f=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,g=Object.prototype;function v(b,x,E){if(typeof x!="string"){if(g){var C=m(x);C&&C!==g&&v(b,C,E)}var w=f(x);h&&(w=w.concat(h(x)));for(var D=u(b),S=u(x),A=0;A{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return I(function r(n,a,o){function i(d,f){if(!a[d]){if(!n[d]){var h=typeof qi=="function"&&qi;if(!f&&h)return h(d,!0);if(s)return s(d,!0);var p=new Error("Cannot find module '"+d+"'");throw p.code="MODULE_NOT_FOUND",p}var m=a[d]={exports:{}};n[d][0].call(m.exports,function(g){var v=n[d][1][g];return i(v||g)},m,m.exports,r,n,a,o)}return a[d].exports}I(i,"s");for(var s=typeof qi=="function"&&qi,u=0;u=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],this.list[u].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var u;for(u=0;u0&&(E[x]={cacheItem:g,arg:arguments[x]},C?i(h,E):h.push(E),h.length>d&&s(h.shift())),m.wasMemoized=C,m.numArgs=x+1,b},"memoizerific");return m.limit=d,m.wasMemoized=!1,m.cache=f,m.lru=h,m}};function i(d,f){var h=d.length,p=f.length,m,g,v;for(g=0;g=0&&(h=d[m],p=h.cacheItem.get(h.arg),!p||!p.size);m--)h.cacheItem.delete(h.arg)}I(s,"removeCachedResult");function u(d,f){return d===f||d!==d&&f!==f}I(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function Wt(){return Wt=Object.assign?Object.assign.bind():function(e){for(var t=1;ti.map(i=>d[i]); +var dS=Object.defineProperty;var pS=(e,t,r)=>t in e?dS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Vn=(e,t,r)=>pS(e,typeof t!="symbol"?t+"":t,r);import{_ as Lp}from"./iframe-D78jW9zZ.js";import{r as l,R as y}from"./index-mfbfsM12.js";import{c as Be}from"./_commonjs-dynamic-modules-TDtrdbi3.js";import{j as X}from"./jsx-runtime-Bxcv0yjW.js";import{r as Hs,f as j3}from"./index-BMk6Tmu2.js";import{_ as nt}from"./extends-CF3RwP-h.js";import{c as Ui,g as js}from"./_commonjsHelpers-BosuxZz1.js";import{y as Dm,D as tc}from"./index-DF3CPj03.js";import{d as fS}from"./index-DrFu-skq.js";import{renderElement as hS,unmountElement as mS}from"./react-18-CiRR_loB.js";var gS=Object.create,V3=Object.defineProperty,vS=Object.getOwnPropertyDescriptor,U3=Object.getOwnPropertyNames,yS=Object.getPrototypeOf,bS=Object.prototype.hasOwnProperty,La=(e,t)=>function(){return t||(0,e[U3(e)[0]])((t={exports:{}}).exports,t),t.exports},wS=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of U3(t))!bS.call(e,a)&&a!==r&&V3(e,a,{get:()=>t[a],enumerable:!(n=vS(t,a))||n.enumerable});return e},ES=(e,t,r)=>(r=e!=null?gS(yS(e)):{},wS(!e||!e.__esModule?V3(r,"default",{value:e,enumerable:!0}):r,e)),Dt=e=>`control-${e.replace(/\s+/g,"-")}`,Vs=e=>`set-${e.replace(/\s+/g,"-")}`,xS=Object.create,Mp=Object.defineProperty,CS=Object.getOwnPropertyDescriptor,DS=Object.getOwnPropertyNames,SS=Object.getPrototypeOf,AS=Object.prototype.hasOwnProperty,I=(e,t)=>Mp(e,"name",{value:t,configurable:!0}),qi=(e=>typeof Be<"u"?Be:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof Be<"u"?Be:t)[r]}):e)(function(e){if(typeof Be<"u")return Be.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Us=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),kS=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of DS(t))!AS.call(e,a)&&a!==r&&Mp(e,a,{get:()=>t[a],enumerable:!(n=CS(t,a))||n.enumerable});return e},Pp=(e,t,r)=>(r=e!=null?xS(SS(e)):{},kS(t||!e||!e.__esModule?Mp(r,"default",{value:e,enumerable:!0}):r,e)),_S=Us(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,u=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,f=t?Symbol.for("react.concurrent_mode"):60111,h=t?Symbol.for("react.forward_ref"):60112,p=t?Symbol.for("react.suspense"):60113,m=t?Symbol.for("react.suspense_list"):60120,g=t?Symbol.for("react.memo"):60115,v=t?Symbol.for("react.lazy"):60116,b=t?Symbol.for("react.block"):60121,x=t?Symbol.for("react.fundamental"):60117,E=t?Symbol.for("react.responder"):60118,C=t?Symbol.for("react.scope"):60119;function w(P){return typeof P=="string"||typeof P=="function"||P===a||P===f||P===i||P===o||P===p||P===m||typeof P=="object"&&P!==null&&(P.$$typeof===v||P.$$typeof===g||P.$$typeof===s||P.$$typeof===u||P.$$typeof===h||P.$$typeof===x||P.$$typeof===E||P.$$typeof===C||P.$$typeof===b)}I(w,"isValidElementType");function D(P){if(typeof P=="object"&&P!==null){var ut=P.$$typeof;switch(ut){case r:var _t=P.type;switch(_t){case d:case f:case a:case i:case o:case p:return _t;default:var Kr=_t&&_t.$$typeof;switch(Kr){case u:case h:case v:case g:case s:return Kr;default:return ut}}case n:return ut}}}I(D,"typeOf");var S=d,A=f,k=u,F=s,T=r,R=h,O=a,z=v,L=g,$=n,M=i,j=o,K=p,N=!1;function W(P){return N||(N=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),te(P)||D(P)===d}I(W,"isAsyncMode");function te(P){return D(P)===f}I(te,"isConcurrentMode");function ue(P){return D(P)===u}I(ue,"isContextConsumer");function re(P){return D(P)===s}I(re,"isContextProvider");function ae(P){return typeof P=="object"&&P!==null&&P.$$typeof===r}I(ae,"isElement");function H(P){return D(P)===h}I(H,"isForwardRef");function J(P){return D(P)===a}I(J,"isFragment");function Z(P){return D(P)===v}I(Z,"isLazy");function ge(P){return D(P)===g}I(ge,"isMemo");function ke(P){return D(P)===n}I(ke,"isPortal");function kt(P){return D(P)===i}I(kt,"isProfiler");function qe(P){return D(P)===o}I(qe,"isStrictMode");function st(P){return D(P)===p}I(st,"isSuspense"),e.AsyncMode=S,e.ConcurrentMode=A,e.ContextConsumer=k,e.ContextProvider=F,e.Element=T,e.ForwardRef=R,e.Fragment=O,e.Lazy=z,e.Memo=L,e.Portal=$,e.Profiler=M,e.StrictMode=j,e.Suspense=K,e.isAsyncMode=W,e.isConcurrentMode=te,e.isContextConsumer=ue,e.isContextProvider=re,e.isElement=ae,e.isForwardRef=H,e.isFragment=J,e.isLazy=Z,e.isMemo=ge,e.isPortal=ke,e.isProfiler=kt,e.isStrictMode=qe,e.isSuspense=st,e.isValidElementType=w,e.typeOf=D})()}),FS=Us((e,t)=>{t.exports=_S()}),q3=Us((e,t)=>{var r=FS(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=o,s[r.Memo]=i;function u(b){return r.isMemo(b)?i:s[b.$$typeof]||n}I(u,"getStatics");var d=Object.defineProperty,f=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,g=Object.prototype;function v(b,x,E){if(typeof x!="string"){if(g){var C=m(x);C&&C!==g&&v(b,C,E)}var w=f(x);h&&(w=w.concat(h(x)));for(var D=u(b),S=u(x),A=0;A{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return I(function r(n,a,o){function i(d,f){if(!a[d]){if(!n[d]){var h=typeof qi=="function"&&qi;if(!f&&h)return h(d,!0);if(s)return s(d,!0);var p=new Error("Cannot find module '"+d+"'");throw p.code="MODULE_NOT_FOUND",p}var m=a[d]={exports:{}};n[d][0].call(m.exports,function(g){var v=n[d][1][g];return i(v||g)},m,m.exports,r,n,a,o)}return a[d].exports}I(i,"s");for(var s=typeof qi=="function"&&qi,u=0;u=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],this.list[u].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var u;for(u=0;u0&&(E[x]={cacheItem:g,arg:arguments[x]},C?i(h,E):h.push(E),h.length>d&&s(h.shift())),m.wasMemoized=C,m.numArgs=x+1,b},"memoizerific");return m.limit=d,m.wasMemoized=!1,m.cache=f,m.lru=h,m}};function i(d,f){var h=d.length,p=f.length,m,g,v;for(g=0;g=0&&(h=d[m],p=h.cacheItem.get(h.arg),!p||!p.size);m--)h.cacheItem.delete(h.arg)}I(s,"removeCachedResult");function u(d,f){return d===f||d!==d&&f!==f}I(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function Wt(){return Wt=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?Ce(Ma,--Ve):0,ya--,he===10&&(ya=1,Gs--),he}I(eb,"prev");function Ne(){return he=Ve2||ba(he)>3?"":" "}I(tb,"whitespace");function rb(e,t){for(;--t&&Ne()&&!(he<48||he>102||he>57&&he<65||he>70&&he<97););return Pa(e,Mo()+(t<6&&yt()==32&&Ne()==32))}I(rb,"escaping");function Yl(e){for(;Ne();)switch(he){case e:return Ve;case 34:case 39:e!==34&&e!==39&&Yl(he);break;case 40:e===41&&Yl(e);break;case 92:Ne();break}return Ve}I(Yl,"delimiter");function nb(e,t){for(;Ne()&&e+he!==57&&!(e+he===84&&yt()===47););return"/*"+Pa(t,Ve-1)+"*"+qs(e===47?e:Ne())}I(nb,"commenter");function ab(e){for(;!ba(yt());)Ne();return Pa(e,Ve)}I(ab,"identifier");function ob(e){return Gp(No("",null,null,null,[""],e=Wp(e),0,[0],e))}I(ob,"compile");function No(e,t,r,n,a,o,i,s,u){for(var d=0,f=0,h=i,p=0,m=0,g=0,v=1,b=1,x=1,E=0,C="",w=a,D=o,S=n,A=C;b;)switch(g=E,E=Ne()){case 40:if(g!=108&&Ce(A,h-1)==58){Kl(A+=Q(Po(E),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:A+=Po(E);break;case 9:case 10:case 13:case 32:A+=tb(g);break;case 92:A+=rb(Mo()-1,7);continue;case 47:switch(yt()){case 42:case 47:So(ib(nb(Ne(),Mo()),t,r),u);break;default:A+="/"}break;case 123*v:s[d++]=ht(A)*x;case 125*v:case 59:case 0:switch(E){case 0:case 125:b=0;case 59+f:x==-1&&(A=Q(A,/\f/g,"")),m>0&&ht(A)-h&&So(m>32?Ld(A+";",n,r,h-1):Ld(Q(A," ","")+";",n,r,h-2),u);break;case 59:A+=";";default:if(So(S=Od(A,t,r,d,f,a,s,C,w=[],D=[],h),o),E===123)if(f===0)No(A,t,S,S,w,o,h,s,D);else switch(p===99&&Ce(A,3)===110?100:p){case 100:case 108:case 109:case 115:No(e,S,S,n&&So(Od(e,S,S,0,0,a,s,C,a,w=[],h),D),a,D,h,s,n?w:D);break;default:No(A,S,S,S,[""],D,0,s,D)}}d=f=m=0,v=x=1,C=A="",h=i;break;case 58:h=1+ht(A),m=g;default:if(v<1){if(E==123)--v;else if(E==125&&v++==0&&eb()==125)continue}switch(A+=qs(E),E*v){case 38:x=f>0?1:(A+="\f",-1);break;case 44:s[d++]=(ht(A)-1)*x,x=1;break;case 64:yt()===45&&(A+=Po(Ne())),p=yt(),f=h=ht(C=A+=ab(Mo())),E++;break;case 45:g===45&&ht(A)==2&&(v=0)}}return o}I(No,"parse");function Od(e,t,r,n,a,o,i,s,u,d,f){for(var h=a-1,p=a===0?o:[""],m=Ws(p),g=0,v=0,b=0;g0?p[x]+" "+E:Q(E,/&\f/g,p[x])))&&(u[b++]=C);return hi(e,t,r,a===0?Vp:s,u,d,f)}I(Od,"ruleset");function ib(e,t,r){return hi(e,t,r,jp,qs(Q3()),va(e,2,-2),0)}I(ib,"comment");function Ld(e,t,r,n){return hi(e,t,r,Up,va(e,0,n),va(e,n+1,-1),n)}I(Ld,"declaration");function gn(e,t){for(var r="",n=Ws(e),a=0;a-1},"isIgnoringComment"),US=I(function(e){return function(t,r,n){if(!(t.type!=="rule"||e.compat)){var a=t.value.match(/(:first|:nth|:nth-last)-child/g);if(a){for(var o=!!t.parent,i=o?t.parent.children:n,s=i.length-1;s>=0;s--){var u=i[s];if(u.line=0;r--)if(!ub(t[r]))return!0;return!1},"isPrependedWithRegularRules"),km=I(function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},"nullifyElement"),WS=I(function(e,t,r){ub(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),km(e)):qS(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),km(e)))},"incorrectImportAlarm");function Kp(e,t){switch(Y3(e,t)){case 5103:return ne+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ne+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ne+e+Gl+e+Re+e+e;case 6828:case 4268:return ne+e+Re+e+e;case 6165:return ne+e+Re+"flex-"+e+e;case 5187:return ne+e+Q(e,/(\w+).+(:[^]+)/,ne+"box-$1$2"+Re+"flex-$1$2")+e;case 5443:return ne+e+Re+"flex-item-"+Q(e,/flex-|-self/,"")+e;case 4675:return ne+e+Re+"flex-line-pack"+Q(e,/align-content|flex-|-self/,"")+e;case 5548:return ne+e+Re+Q(e,"shrink","negative")+e;case 5292:return ne+e+Re+Q(e,"basis","preferred-size")+e;case 6060:return ne+"box-"+Q(e,"-grow","")+ne+e+Re+Q(e,"grow","positive")+e;case 4554:return ne+Q(e,/([^-])(transform)/g,"$1"+ne+"$2")+e;case 6187:return Q(Q(Q(e,/(zoom-|grab)/,ne+"$1"),/(image-set)/,ne+"$1"),e,"")+e;case 5495:case 3959:return Q(e,/(image-set\([^]*)/,ne+"$1$`$1");case 4968:return Q(Q(e,/(.+:)(flex-)?(.*)/,ne+"box-pack:$3"+Re+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ne+e+e;case 4095:case 3583:case 4068:case 2532:return Q(e,/(.+)-inline(.+)/,ne+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ht(e)-1-t>6)switch(Ce(e,t+1)){case 109:if(Ce(e,t+4)!==45)break;case 102:return Q(e,/(.+:)(.+)-([^]+)/,"$1"+ne+"$2-$3$1"+Gl+(Ce(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Kl(e,"stretch")?Kp(Q(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ce(e,t+1)!==115)break;case 6444:switch(Ce(e,ht(e)-3-(~Kl(e,"!important")&&10))){case 107:return Q(e,":",":"+ne)+e;case 101:return Q(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ne+(Ce(e,14)===45?"inline-":"")+"box$3$1"+ne+"$2$3$1"+Re+"$2box$3")+e}break;case 5936:switch(Ce(e,t+11)){case 114:return ne+e+Re+Q(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ne+e+Re+Q(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ne+e+Re+Q(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ne+e+Re+e+e}return e}I(Kp,"prefix");var GS=I(function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Up:e.return=Kp(e.value,e.length);break;case K3:return gn([Zn(e,{value:Q(e.value,"@","@"+ne)})],n);case Vp:if(e.length)return Z3(e.props,function(a){switch(J3(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return gn([Zn(e,{props:[Q(a,/:(read-\w+)/,":"+Gl+"$1")]})],n);case"::placeholder":return gn([Zn(e,{props:[Q(a,/:(plac\w+)/,":"+ne+"input-$1")]}),Zn(e,{props:[Q(a,/:(plac\w+)/,":"+Gl+"$1")]}),Zn(e,{props:[Q(a,/:(plac\w+)/,Re+"input-$1")]})],n)}return""})}},"prefixer"),KS=[GS],YS=I(function(e){var t=e.key;if(!t)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache. If multiple caches share the same key they might "fight" for each other's style elements.`);if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(g){var v=g.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var n=e.stylisPlugins||KS;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var a={},o,i=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(g){for(var v=g.getAttribute("data-emotion").split(" "),b=1;b=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}I(cb,"murmur2");var QS={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},_m=`You have illegal escape sequence in your template literal, most likely inside content's property value. Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". @@ -558,7 +558,7 @@ ${t}`);let r=t.match(iO);if(!r)return y.createElement(l.Fragment,null,t);let[,n, * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */const{global:rt}=__STORYBOOK_MODULE_GLOBAL__,{deprecate:xee,once:Cee,logger:hm}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:A3,composeConfigs:_ae,Preview:Fae,DocsContext:Iae}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_ARGS_UPDATED:k3,UPDATE_STORY_ARGS:Dee,RESET_STORY_ARGS:See,GLOBALS_UPDATED:_3,NAVIGATE_URL:Aee}=__STORYBOOK_MODULE_CORE_EVENTS__;__STORYBOOK_MODULE_CHANNELS__;var kee=La({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),_ee=La({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,a=[].some,o=document.body,i,s=!0,u=" ";function d(w,D){var S=D.appendChild(h(w));if(w.children.length){var A=p(w.isCollapsed);w.children.forEach(function(k){d(k,A)}),S.appendChild(A)}}function f(w,D){var S=!1,A=p(S);if(D.forEach(function(k){d(k,A)}),i=w||i,i!==null)return i.firstChild&&i.removeChild(i.firstChild),D.length===0?i:i.appendChild(A)}function h(w){var D=document.createElement("li"),S=document.createElement("a");return r.listItemClass&&D.setAttribute("class",r.listItemClass),r.onClick&&(S.onclick=r.onClick),r.includeTitleTags&&S.setAttribute("title",w.textContent),r.includeHtml&&w.childNodes.length?n.call(w.childNodes,function(A){S.appendChild(A.cloneNode(!0))}):S.textContent=w.textContent,S.setAttribute("href",r.basePath+"#"+w.id),S.setAttribute("class",r.linkClass+u+"node-name--"+w.nodeName+u+r.extraLinkClasses),D.appendChild(S),D}function p(w){var D=r.orderedList?"ol":"ul",S=document.createElement(D),A=r.listClass+u+r.extraListClasses;return w&&(A=A+u+r.collapsibleClass,A=A+u+r.isCollapsedClass),S.setAttribute("class",A),S}function m(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var w;w=document.querySelector(r.scrollContainer).scrollTop}else w=document.documentElement.scrollTop||o.scrollTop;var D=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=i.offsetTop),w>r.fixedSidebarOffset?D.className.indexOf(r.positionFixedClass)===-1&&(D.className+=u+r.positionFixedClass):D.className=D.className.replace(u+r.positionFixedClass,"")}function g(w){var D=0;return w!==null&&(D=w.offsetTop,r.hasInnerContainers&&(D+=g(w.offsetParent))),D}function v(w,D){return w&&w.className!==D&&(w.className=D),w}function b(w){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var D;D=document.querySelector(r.scrollContainer).scrollTop}else D=document.documentElement.scrollTop||o.scrollTop;r.positionFixedSelector&&m();var S=w,A;if(s&&i!==null&&S.length>0){a.call(S,function(L,$){if(g(L)>D+r.headingsOffset+10){var M=$===0?$:$-1;return A=S[M],!0}else if($===S.length-1)return A=S[S.length-1],!0});var k=i.querySelector("."+r.activeLinkClass),F=i.querySelector("."+r.linkClass+".node-name--"+A.nodeName+'[href="'+r.basePath+"#"+A.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(k===F)return;var T=i.querySelectorAll("."+r.linkClass);n.call(T,function(L){v(L,L.className.replace(u+r.activeLinkClass,""))});var R=i.querySelectorAll("."+r.listItemClass);n.call(R,function(L){v(L,L.className.replace(u+r.activeListItemClass,""))}),F&&F.className.indexOf(r.activeLinkClass)===-1&&(F.className+=u+r.activeLinkClass);var O=F&&F.parentNode;O&&O.className.indexOf(r.activeListItemClass)===-1&&(O.className+=u+r.activeListItemClass);var z=i.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(z,function(L){L.className.indexOf(r.isCollapsedClass)===-1&&(L.className+=u+r.isCollapsedClass)}),F&&F.nextSibling&&F.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&v(F.nextSibling,F.nextSibling.className.replace(u+r.isCollapsedClass,"")),x(F&&F.parentNode.parentNode)}}function x(w){return w&&w.className.indexOf(r.collapsibleClass)!==-1&&w.className.indexOf(r.isCollapsedClass)!==-1?(v(w,w.className.replace(u+r.isCollapsedClass,"")),x(w.parentNode.parentNode)):w}function E(w){var D=w.target||w.srcElement;typeof D.className!="string"||D.className.indexOf(r.linkClass)===-1||(s=!1)}function C(){s=!0}return{enableTocAnimation:C,disableTocAnimation:E,render:f,updateToc:b}}}}),Fee=La({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function a(h){return h[h.length-1]}function o(h){return+h.nodeName.toUpperCase().replace("H","")}function i(h){try{return h instanceof window.HTMLElement||h instanceof window.parent.HTMLElement}catch{return h instanceof window.HTMLElement}}function s(h){if(!i(h))return h;if(r.ignoreHiddenElements&&(!h.offsetHeight||!h.offsetParent))return null;let p=h.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(h.innerText)):(h.innerText||h.textContent).trim());var m={id:h.id,children:[],nodeName:h.nodeName,headingLevel:o(h),textContent:p};return r.includeHtml&&(m.childNodes=h.childNodes),r.headingObjectCallback?r.headingObjectCallback(m,h):m}function u(h,p){for(var m=s(h),g=m.headingLevel,v=p,b=a(v),x=b?b.headingLevel:0,E=g-x;E>0&&(b=a(v),!(b&&g===b.headingLevel));)b&&b.children!==void 0&&(v=b.children),E--;return g>=r.collapseDepth&&(m.isCollapsed=!0),v.push(m),v}function d(h,p){var m=p;r.ignoreSelector&&(m=p.split(",").map(function(g){return g.trim()+":not("+r.ignoreSelector+")"}));try{return h.querySelectorAll(m)}catch{return console.warn("Headers not found with selector: "+m),null}}function f(h){return n.call(h,function(p,m){var g=s(m);return g&&u(g,p.nest),p},{nest:[]})}return{nestHeadingsArray:f,selectHeadings:d}}}}),Iee=La({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var a=n.querySelector("."+r.activeListItemClass);a&&(n.scrollTop=a.offsetTop-r.tocScrollOffset)}}}}),Tee=La({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var a=n.duration,o=n.offset,i=location.hash?d(location.href):location.href;s();function s(){document.body.addEventListener("click",h,!1);function h(p){!u(p.target)||p.target.className.indexOf("no-smooth-scroll")>-1||p.target.href.charAt(p.target.href.length-2)==="#"&&p.target.href.charAt(p.target.href.length-1)==="!"||p.target.className.indexOf(n.linkClass)===-1||r(p.target.hash,{duration:a,offset:o,callback:function(){f(p.target.hash)}})}}function u(h){return h.tagName.toLowerCase()==="a"&&(h.hash.length>0||h.href.charAt(h.href.length-1)==="#")&&(d(h.href)===i||d(h.href)+"#"===i)}function d(h){return h.slice(0,h.lastIndexOf("#"))}function f(h){var p=document.getElementById(h.substring(1));p&&(/^(?:a|select|input|button|textarea)$/i.test(p.tagName)||(p.tabIndex=-1),p.focus())}}function r(n,a){var o=window.pageYOffset,i={duration:a.duration,offset:a.offset||0,callback:a.callback,easing:a.easing||g},s=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),u=typeof n=="string"?i.offset+(n?s&&s.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,d=typeof i.duration=="function"?i.duration(u):i.duration,f,h;requestAnimationFrame(function(v){f=v,p(v)});function p(v){h=v-f,window.scrollTo(0,i.easing(h,o,u,d)),h"u"&&!h)return;var p,m=Object.prototype.hasOwnProperty;function g(){for(var E={},C=0;C({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:se(.3,e.color.defaultText),fontSize:e.typography.size.s2})),OD=e=>y.createElement(Bee,{...e,className:"docblock-emptyblock sb-unstyled"}),zee=_(Rh)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),$ee=_.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),El=_.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${Hd}`]:{margin:0}})),Oee=()=>y.createElement($ee,null,y.createElement(El,null),y.createElement(El,{style:{width:"80%"}}),y.createElement(El,{style:{width:"30%"}}),y.createElement(El,{style:{width:"80%"}})),LD=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...i})=>{let{typography:s}=gb();if(e)return y.createElement(Oee,null);if(t)return y.createElement(OD,null,t);let u=y.createElement(zee,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return u;let d=a?Pd.dark:Pd.light;return y.createElement(vb,{theme:Nd({...d,fontCode:s.fonts.mono,fontBase:s.fonts.base})},u)},ve=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,mm=600,Lee=_.h1(de,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${mm}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),Mee=_.h2(de,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${mm}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:se(.25,e.color.defaultText)})),Pee=_.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?se(.1,e.color.defaultText):se(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[ve("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[ve("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[ve("div")]:t,[ve("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[ve("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[ve("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[ve("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[ve("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[ve("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[ve("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[ve("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[ve("img")]:{maxWidth:"100%"},[ve("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[ve("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[ve("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[ve("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[ve("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[ve("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[ve("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),Nee=_.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${mm}px)`]:{}})),Hee=({children:e,toc:t})=>y.createElement(Nee,{className:"sbdocs sbdocs-wrapper"},y.createElement(Pee,{className:"sbdocs sbdocs-content"},e),t),Zu=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),{window:jee}=rt,Vee=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=jee.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:a,...o}=this.props;return y.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...o})}},MD=l.createContext({scale:1}),{PREVIEW_URL:Uee}=rt,qee=Uee||"iframe.html",Ip=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,Wee=e=>{let t=l.useRef(),[r,n]=l.useState(!0),[a,o]=l.useState(),{story:i,height:s,autoplay:u,forceInitialArgs:d,renderStoryToElement:f}=e;return l.useEffect(()=>{if(!(i&&t.current))return()=>{};let h=t.current,p=f(i,h,{showMain:()=>{},showError:({title:m,description:g})=>o(new Error(`${m} - ${g}`)),showException:m=>o(m)},{autoplay:u,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>p())}},[u,f,i]),a?y.createElement("pre",null,y.createElement(cO,{error:a})):y.createElement(y.Fragment,null,s?y.createElement("style",null,`#${Ip(e)} { min-height: ${s}; transform: translateZ(0); overflow: auto }`):null,r&&y.createElement(PD,null),y.createElement("div",{ref:t,id:`${Ip(e)}-inner`,"data-name":i.name}))},Gee=({story:e,height:t="500px"})=>y.createElement("div",{style:{width:"100%",height:t}},y.createElement(MD.Consumer,null,({scale:r})=>y.createElement(Vee,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:BL(qee,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),Kee=_.strong(({theme:e})=>({color:e.color.orange})),Yee=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?y.createElement(Kee,null,"This story mounts inside of play. Set"," ",y.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):y.createElement("div",{id:Ip(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?y.createElement(Wee,{...e}):y.createElement(Gee,{...e}))},PD=()=>y.createElement(RL,null),Jee=_(jh)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),Zee=_.div({display:"flex",alignItems:"center",gap:4}),Xee=_.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),Qee=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>y.createElement(Jee,{...o},y.createElement(Zee,{key:"left"},e?[1,2,3].map(i=>y.createElement(Xee,{key:i})):y.createElement(y.Fragment,null,y.createElement(bn,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},y.createElement(CM,null)),y.createElement(bn,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},y.createElement(DM,null)),y.createElement(bn,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},y.createElement(SM,null))))),ete=_.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),F3=_(LD)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Ot(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Ot(.05,e.background.content)}})),tte=_.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...Zu(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),rte=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:y.createElement(F3,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:y.createElement(F3,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function nte(e){if(l.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var ate=_(Qee)({position:"absolute",top:0,left:0,right:0,height:40}),ote=_.div({overflow:"hidden",position:"relative"}),ND=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:i=!1,additionalActions:s,className:u,layout:d="padded",...f})=>{let[h,p]=l.useState(i),{source:m,actionItem:g}=rte(a,h,p),[v,b]=l.useState(1),x=[u].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),E=a?[g]:[],[C,w]=l.useState(s?[...s]:[]),D=[...E,...C],{window:S}=rt,A=l.useCallback(async F=>{let{createCopyToClipboardFunction:T}=await Lp(()=>import("./index-vMRfdoe9.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]),import.meta.url);T()},[]),k=F=>{let T=S.getSelection();T&&T.type==="Range"||(F.preventDefault(),C.filter(R=>R.title==="Copied").length===0&&A(m.props.code).then(()=>{w([...C,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>w(C.filter(R=>R.title!=="Copied")),1500)}))};return y.createElement(tte,{withSource:a,withToolbar:o,...f,className:x.join(" ")},o&&y.createElement(ate,{isLoading:e,border:!0,zoom:F=>b(v*F),resetZoom:()=>b(1),storyId:nte(n),baseUrl:"./iframe.html"}),y.createElement(MD.Provider,{value:{scale:v}},y.createElement(ote,{className:"docs-story",onCopyCapture:a&&k},y.createElement(ete,{isColumn:t||!Array.isArray(n),columns:r,layout:d},y.createElement(rO.Element,{scale:v},Array.isArray(n)?n.map((F,T)=>y.createElement("div",{key:T},F)):y.createElement("div",null,n))),y.createElement(ff,{actionItems:D}))),a&&h&&m)};_(ND)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));var ite=_.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:se(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${yl(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${yl(.05,e.appBorderColor)} 0 0 0 2px inset`,color:yl(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${yl(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),lte=e=>e==="true",ste=({name:e,value:t,onChange:r,onBlur:n,onFocus:a,argType:o})=>{var f;let i=l.useCallback(()=>r(!1),[r]),s=!!((f=o==null?void 0:o.table)!=null&&f.readonly);if(t===void 0)return y.createElement($n,{variant:"outline",size:"medium",id:Vs(e),onClick:i,disabled:s},"Set boolean");let u=Dt(e),d=typeof t=="string"?lte(t):t;return y.createElement(ite,{"aria-disabled":s,htmlFor:u,"aria-label":e},y.createElement("input",{id:u,type:"checkbox",onChange:h=>r(h.target.checked),checked:d,role:"switch",disabled:s,name:e,onBlur:n,onFocus:a}),y.createElement("span",{"aria-hidden":"true"},"False"),y.createElement("span",{"aria-hidden":"true"},"True"))},ute=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},cte=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},dte=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),a=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${a}`},pte=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},I3=_(Li.Input)(({readOnly:e})=>({opacity:e?.5:1})),fte=_.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),hte=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,argType:o})=>{var g;let[i,s]=l.useState(!0),u=l.useRef(),d=l.useRef(),f=!!((g=o==null?void 0:o.table)!=null&&g.readonly);l.useEffect(()=>{i!==!1&&(u&&u.current&&(u.current.value=t?dte(t):""),d&&d.current&&(d.current.value=t?pte(t):""))},[t]);let h=v=>{if(!v.target.value)return r();let b=ute(v.target.value),x=new Date(t);x.setFullYear(b.getFullYear(),b.getMonth(),b.getDate());let E=x.getTime();E&&r(E),s(!!E)},p=v=>{if(!v.target.value)return r();let b=cte(v.target.value),x=new Date(t);x.setHours(b.getHours()),x.setMinutes(b.getMinutes());let E=x.getTime();E&&r(E),s(!!E)},m=Dt(e);return y.createElement(fte,null,y.createElement(I3,{type:"date",max:"9999-12-31",ref:u,id:`${m}-date`,name:`${m}-date`,readOnly:f,onChange:h,onFocus:n,onBlur:a}),y.createElement(I3,{type:"time",id:`${m}-time`,name:`${m}-time`,ref:d,onChange:p,readOnly:f,onFocus:n,onBlur:a}),i?null:y.createElement("div",null,"invalid"))},mte=_.label({display:"flex"}),gte=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},vte=_(Li.Input)(({readOnly:e})=>({opacity:e?.5:1})),yte=({name:e,value:t,onChange:r,min:n,max:a,step:o,onBlur:i,onFocus:s,argType:u})=>{var C;let[d,f]=l.useState(typeof t=="number"?t:""),[h,p]=l.useState(!1),[m,g]=l.useState(null),v=!!((C=u==null?void 0:u.table)!=null&&C.readonly),b=l.useCallback(w=>{f(w.target.value);let D=parseFloat(w.target.value);Number.isNaN(D)?g(new Error(`'${w.target.value}' is not a number`)):(r(D),g(null))},[r,g]),x=l.useCallback(()=>{f("0"),r(0),p(!0)},[p]),E=l.useRef(null);return l.useEffect(()=>{h&&E.current&&E.current.select()},[h]),l.useEffect(()=>{d!==(typeof t=="number"?t:"")&&f(t)},[t]),t===void 0?y.createElement($n,{variant:"outline",size:"medium",id:Vs(e),onClick:x,disabled:v},"Set number"):y.createElement(mte,null,y.createElement(vte,{ref:E,id:Dt(e),type:"number",onChange:b,size:"flex",placeholder:"Edit number...",value:d,valid:m?"error":null,autoFocus:h,readOnly:v,name:e,min:n,max:a,step:o,onFocus:s,onBlur:i}))},HD=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},Tp=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],jD=(e,t)=>e&&t&&e.map(r=>t[r]),bte=_.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),wte=_.span({"[aria-readonly=true] &":{opacity:.5}}),Ete=_.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),T3=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var p;if(!t)return hm.warn(`Checkbox with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=Tp(r,t),[s,u]=l.useState(i),d=!!((p=o==null?void 0:o.table)!=null&&p.readonly),f=m=>{let g=m.target.value,v=[...s];v.includes(g)?v.splice(v.indexOf(g),1):v.push(g),n(jD(v,t)),u(v)};l.useEffect(()=>{u(Tp(r,t))},[r]);let h=Dt(e);return y.createElement(bte,{"aria-readonly":d,isInline:a},Object.keys(t).map((m,g)=>{let v=`${h}-${g}`;return y.createElement(Ete,{key:v,htmlFor:v},y.createElement("input",{type:"checkbox",disabled:d,id:v,name:v,value:m,onChange:f,checked:s==null?void 0:s.includes(m)}),y.createElement(wte,null,m))}))},xte=_.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),Cte=_.span({"[aria-readonly=true] &":{opacity:.5}}),Dte=_.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),R3=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var d;if(!t)return hm.warn(`Radio with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=HD(r,t),s=Dt(e),u=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return y.createElement(xte,{"aria-readonly":u,isInline:a},Object.keys(t).map((f,h)=>{let p=`${s}-${h}`;return y.createElement(Dte,{key:p,htmlFor:p},y.createElement("input",{type:"radio",id:p,name:s,disabled:u,value:f,onChange:m=>n(t[m.currentTarget.value]),checked:f===i}),y.createElement(Cte,null,f))}))},Ste={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},VD=_.select(Ste,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),UD=_.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),B3="Choose option...",Ate=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=f=>{n(r[f.currentTarget.value])},i=HD(t,r)||B3,s=Dt(e),u=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(UD,null,y.createElement(CC,null),y.createElement(VD,{disabled:u,id:s,value:i,onChange:o},y.createElement("option",{key:"no-selection",disabled:!0},B3),Object.keys(r).map(f=>y.createElement("option",{key:f,value:f},f))))},kte=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=f=>{let h=Array.from(f.currentTarget.options).filter(p=>p.selected).map(p=>p.value);n(jD(h,r))},i=Tp(t,r),s=Dt(e),u=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(UD,null,y.createElement(VD,{disabled:u,id:s,multiple:!0,value:i,onChange:o},Object.keys(r).map(f=>y.createElement("option",{key:f,value:f},f))))},z3=e=>{let{name:t,options:r}=e;return r?e.isMulti?y.createElement(kte,{...e}):y.createElement(Ate,{...e}):(hm.warn(`Select with no options: ${t}`),y.createElement(y.Fragment,null,"-"))},_te=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,Fte={check:T3,"inline-check":T3,radio:R3,"inline-radio":R3,select:z3,"multi-select":z3},Jn=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,argType:n,options:n?_te(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},o=Fte[t];if(o)return y.createElement(o,{...a});throw new Error(`Unknown options type: ${t}`)},Ite="Error",Tte="Object",Rte="Array",Bte="String",zte="Number",$te="Boolean",Ote="Date",Lte="Null",Mte="Undefined",Pte="Function",Nte="Symbol",qD="ADD_DELTA_TYPE",WD="REMOVE_DELTA_TYPE",GD="UPDATE_DELTA_TYPE",gm="value",Hte="key";function mn(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function KD(e,t){let r=mn(e),n=mn(t);return(r==="Function"||n==="Function")&&n!==r}var vm=class extends l.Component{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:a}=this.props,{inputRefKey:o,inputRefValue:i}=this.state,s={};if(!t){if(!o.value)return;s.key=o.value}s.newValue=r(!1,n,a,s.key,i.value),e(s)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:a,keyPath:o,deep:i}=this.props,s=l.cloneElement(r,{onClick:this.onSubmit}),u=l.cloneElement(n,{onClick:e}),d=a(gm,o,i),f=l.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),h=null;if(!t){let p=a(Hte,o,i);h=l.cloneElement(p,{placeholder:"Key",ref:this.refInputKey})}return y.createElement("span",{className:"rejt-add-value-node"},h,f,u,s)}};vm.defaultProps={onlyValue:!1,addButtonElement:y.createElement("button",null,"+"),cancelButtonElement:y.createElement("button",null,"c")};var YD=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let s={keyPath:a,deep:o,key:e,oldValue:i,type:WD};n.splice(e,1),this.setState({data:n});let{onUpdate:u,onDeltaUpdate:d}=this.props;u(a[a.length-1],n),d(s)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:a,logger:o}=this.props;a(t.length,r,n,e).then(()=>{let i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:u}=this.props;s(r[r.length-1],i),u({type:qD,keyPath:r,deep:n,key:i.length-1,newValue:e})}).catch(o.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:s}=this.state,u=o[e];a(e,i,s,u,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:f}=this.props;d(i[i.length-1],o),f({type:GD,keyPath:i,deep:s,key:e,newValue:t,oldValue:u}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:a,readOnly:o,getStyle:i,dataType:s,minusMenuElement:u}=this.props,{minus:d,collapsed:f}=i(e,t,r,n,s),h=o(e,t,r,n,s),p=l.cloneElement(u,{onClick:a,className:"rejt-minus-menu",style:d});return y.createElement("span",{className:"rejt-collapsed"},y.createElement("span",{className:"rejt-collapsed-text",style:f,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!h&&p)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:a,nextDeep:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:u,readOnly:d,getStyle:f,dataType:h,addButtonElement:p,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:v,textareaElementGenerator:b,minusMenuElement:x,plusMenuElement:E,beforeRemoveAction:C,beforeAddAction:w,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}=this.props,{minus:k,plus:F,delimiter:T,ul:R,addForm:O}=f(e,t,r,n,h),z=d(e,t,r,n,h),L=l.cloneElement(E,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:F}),$=l.cloneElement(x,{onClick:s,className:"rejt-minus-menu",style:k});return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},"["),!a&&L,y.createElement("ul",{className:"rejt-not-collapsed-list",style:R},t.map((M,j)=>y.createElement(Xu,{key:j,name:j.toString(),data:M,keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveItem(j),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:d,getStyle:f,addButtonElement:p,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:v,textareaElementGenerator:b,minusMenuElement:x,plusMenuElement:E,beforeRemoveAction:C,beforeAddAction:w,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}))),!z&&a&&y.createElement("div",{className:"rejt-add-form",style:O},y.createElement(vm,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:p,cancelButtonElement:m,inputElementGenerator:v,keyPath:r,deep:n,onSubmitValueParser:A})),y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},"]"),!z&&$)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{dataType:o,getStyle:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),u=i(e,r,n,a,o);return y.createElement("div",{className:"rejt-array-node"},y.createElement("span",{onClick:this.handleCollapseMode},y.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),s)}};YD.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var JD=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:s}=this.props,u=i(r,n,a,o,s);e&&!u&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:s}=this.state;if(!o)return;let u=n(!0,a,s,i,o.value);e({value:u,key:i}).then(()=>{KD(t,u)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:s,dataType:u,getStyle:d,editButtonElement:f,cancelButtonElement:h,textareaElementGenerator:p,minusMenuElement:m,keyPath:g}=this.props,v=d(e,i,n,a,u),b=null,x=null,E=s(e,i,n,a,u);if(r&&!E){let C=p(gm,g,a,e,i,u),w=l.cloneElement(f,{onClick:this.handleEdit}),D=l.cloneElement(h,{onClick:this.handleCancelEdit}),S=l.cloneElement(C,{ref:this.refInput,defaultValue:i});b=y.createElement("span",{className:"rejt-edit-form",style:v.editForm},S," ",D,w),x=null}else{b=y.createElement("span",{className:"rejt-value",style:v.value,onClick:E?null:this.handleEditMode},t);let C=l.cloneElement(m,{onClick:o,className:"rejt-minus-menu",style:v.minus});x=E?null:C}return y.createElement("li",{className:"rejt-function-value-node",style:v.li},y.createElement("span",{className:"rejt-name",style:v.name},e," :"," "),b,x)}};JD.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};var Xu=class extends l.Component{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:a,handleRemove:o,handleUpdateValue:i,onUpdate:s,onDeltaUpdate:u,readOnly:d,getStyle:f,addButtonElement:h,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,textareaElementGenerator:v,minusMenuElement:b,plusMenuElement:x,beforeRemoveAction:E,beforeAddAction:C,beforeUpdateAction:w,logger:D,onSubmitValueParser:S}=this.props,A=()=>!0,k=mn(e);switch(k){case Ite:return y.createElement(Rp,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:u,readOnly:A,dataType:k,getStyle:f,addButtonElement:h,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,textareaElementGenerator:v,minusMenuElement:b,plusMenuElement:x,beforeRemoveAction:E,beforeAddAction:C,beforeUpdateAction:w,logger:D,onSubmitValueParser:S});case Tte:return y.createElement(Rp,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:u,readOnly:d,dataType:k,getStyle:f,addButtonElement:h,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,textareaElementGenerator:v,minusMenuElement:b,plusMenuElement:x,beforeRemoveAction:E,beforeAddAction:C,beforeUpdateAction:w,logger:D,onSubmitValueParser:S});case Rte:return y.createElement(YD,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:u,readOnly:d,dataType:k,getStyle:f,addButtonElement:h,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,textareaElementGenerator:v,minusMenuElement:b,plusMenuElement:x,beforeRemoveAction:E,beforeAddAction:C,beforeUpdateAction:w,logger:D,onSubmitValueParser:S});case Bte:return y.createElement(Dr,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});case zte:return y.createElement(Dr,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});case $te:return y.createElement(Dr,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});case Ote:return y.createElement(Dr,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:A,dataType:k,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});case Lte:return y.createElement(Dr,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});case Mte:return y.createElement(Dr,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});case Pte:return y.createElement(JD,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:f,cancelButtonElement:p,editButtonElement:m,textareaElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case Nte:return y.createElement(Dr,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:A,dataType:k,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});default:return null}}};Xu.defaultProps={keyPath:[],deep:0};var Rp=class extends l.Component{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:a}=this.state,{beforeAddAction:o,logger:i}=this.props;o(e,n,a,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:u}=this.props;s(n[n.length-1],r),u({type:qD,keyPath:n,deep:a,key:e,newValue:t})}).catch(i.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let s={keyPath:a,deep:o,key:e,oldValue:i,type:WD};delete n[e],this.setState({data:n});let{onUpdate:u,onDeltaUpdate:d}=this.props;u(a[a.length-1],n),d(s)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:s}=this.state,u=o[e];a(e,i,s,u,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:f}=this.props;d(i[i.length-1],o),f({type:GD,keyPath:i,deep:s,key:e,newValue:t,oldValue:u}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:o,dataType:i,getStyle:s,minusMenuElement:u}=this.props,{minus:d,collapsed:f}=s(e,n,t,r,i),h=Object.getOwnPropertyNames(n),p=o(e,n,t,r,i),m=l.cloneElement(u,{onClick:a,className:"rejt-minus-menu",style:d});return y.createElement("span",{className:"rejt-collapsed"},y.createElement("span",{className:"rejt-collapsed-text",style:f,onClick:this.handleCollapseMode},"{...}"," ",h.length," ",h.length===1?"key":"keys"),!p&&m)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:a,addFormVisible:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:u,readOnly:d,getStyle:f,dataType:h,addButtonElement:p,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:v,textareaElementGenerator:b,minusMenuElement:x,plusMenuElement:E,beforeRemoveAction:C,beforeAddAction:w,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}=this.props,{minus:k,plus:F,addForm:T,ul:R,delimiter:O}=f(e,t,r,n,h),z=Object.getOwnPropertyNames(t),L=d(e,t,r,n,h),$=l.cloneElement(E,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:F}),M=l.cloneElement(x,{onClick:s,className:"rejt-minus-menu",style:k}),j=z.map(K=>y.createElement(Xu,{key:K,name:K,data:t[K],keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveValue(K),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:d,getStyle:f,addButtonElement:p,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:v,textareaElementGenerator:b,minusMenuElement:x,plusMenuElement:E,beforeRemoveAction:C,beforeAddAction:w,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}));return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:O},"{"),!L&&$,y.createElement("ul",{className:"rejt-not-collapsed-list",style:R},j),!L&&o&&y.createElement("div",{className:"rejt-add-form",style:T},y.createElement(vm,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:p,cancelButtonElement:m,inputElementGenerator:v,keyPath:r,deep:n,onSubmitValueParser:A})),y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:O},"}"),!L&&M)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{getStyle:o,dataType:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),u=o(e,r,n,a,i);return y.createElement("div",{className:"rejt-object-node"},y.createElement("span",{onClick:this.handleCollapseMode},y.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),s)}};Rp.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var Dr=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:s}=this.props,u=i(r,n,a,o,s);e&&!u&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:s}=this.state;if(!o)return;let u=n(!0,a,s,i,o.value);e({value:u,key:i}).then(()=>{KD(t,u)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:s,dataType:u,getStyle:d,editButtonElement:f,cancelButtonElement:h,inputElementGenerator:p,minusMenuElement:m,keyPath:g}=this.props,v=d(e,i,n,a,u),b=s(e,i,n,a,u),x=r&&!b,E=p(gm,g,a,e,i,u),C=l.cloneElement(f,{onClick:this.handleEdit}),w=l.cloneElement(h,{onClick:this.handleCancelEdit}),D=l.cloneElement(E,{ref:this.refInput,defaultValue:JSON.stringify(i)}),S=l.cloneElement(m,{onClick:o,className:"rejt-minus-menu",style:v.minus});return y.createElement("li",{className:"rejt-value-node",style:v.li},y.createElement("span",{className:"rejt-name",style:v.name},e," : "),x?y.createElement("span",{className:"rejt-edit-form",style:v.editForm},D," ",w,C):y.createElement("span",{className:"rejt-value",style:v.value,onClick:b?null:this.handleEditMode},String(t)),!b&&!x&&S)}};Dr.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};function jte(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var Vte={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},Ute={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},qte={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},ZD=class extends l.Component{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:a,getStyle:o,addButtonElement:i,cancelButtonElement:s,editButtonElement:u,inputElement:d,textareaElement:f,minusMenuElement:h,plusMenuElement:p,beforeRemoveAction:m,beforeAddAction:g,beforeUpdateAction:v,logger:b,onSubmitValueParser:x,fallback:E=null}=this.props,C=mn(e),w=a;mn(a)==="Boolean"&&(w=()=>a);let D=d;d&&mn(d)!=="Function"&&(D=()=>d);let S=f;return f&&mn(f)!=="Function"&&(S=()=>f),C==="Object"||C==="Array"?y.createElement("div",{className:"rejt-tree"},y.createElement(Xu,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:w,getStyle:o,addButtonElement:i,cancelButtonElement:s,editButtonElement:u,inputElementGenerator:D,textareaElementGenerator:S,minusMenuElement:h,plusMenuElement:p,handleRemove:this.removeRoot,beforeRemoveAction:m,beforeAddAction:g,beforeUpdateAction:v,logger:b,onSubmitValueParser:x})):E}};ZD.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return Vte;case"Array":return Ute;default:return qte}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>jte(a),inputElement:()=>y.createElement("input",null),textareaElement:()=>y.createElement("textarea",null),fallback:null};var{window:Wte}=rt,Gte=_.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),Bd=_.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),Kte=_(FM)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),Yte=_(IM)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),$3=_.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),Jte=_(bn)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),Zte=_(Li.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),Xte={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},Qte=e=>{e.currentTarget.dispatchEvent(new Wte.KeyboardEvent("keydown",Xte))},ere=e=>{e.currentTarget.select()},tre=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),O3=({name:e,value:t,onChange:r,argType:n})=>{var C;let a=gb(),o=l.useMemo(()=>t&&wZ(t),[t]),i=o!=null,[s,u]=l.useState(!i),[d,f]=l.useState(null),h=!!((C=n==null?void 0:n.table)!=null&&C.readonly),p=l.useCallback(w=>{try{w&&r(JSON.parse(w)),f(void 0)}catch(D){f(D)}},[r]),[m,g]=l.useState(!1),v=l.useCallback(()=>{r({}),g(!0)},[g]),b=l.useRef(null);if(l.useEffect(()=>{m&&b.current&&b.current.select()},[m]),!i)return y.createElement($n,{disabled:h,id:Vs(e),onClick:v},"Set object");let x=y.createElement(Zte,{ref:b,id:Dt(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:w=>p(w.target.value),placeholder:"Edit JSON string...",autoFocus:m,valid:d?"error":null,readOnly:h}),E=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return y.createElement(Gte,{"aria-readonly":h},E&&y.createElement(Jte,{onClick:w=>{w.preventDefault(),u(D=>!D)}},s?y.createElement(kM,null):y.createElement(AM,null),y.createElement("span",null,"RAW")),s?x:y.createElement(ZD,{readOnly:h||!E,isCollapsed:E?void 0:()=>!0,data:o,rootName:e,onFullyUpdate:r,getStyle:tre(a),cancelButtonElement:y.createElement(Bd,{type:"button"},"Cancel"),editButtonElement:y.createElement(Bd,{type:"submit"},"Save"),addButtonElement:y.createElement(Bd,{type:"submit",primary:!0},"Save"),plusMenuElement:y.createElement(Kte,null),minusMenuElement:y.createElement(Yte,null),inputElement:(w,D,S,A)=>A?y.createElement($3,{onFocus:ere,onBlur:Qte}):y.createElement($3,null),fallback:x}))},rre=_.input(({theme:e,min:t,max:r,value:n,disabled:a})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, + */const{global:rt}=__STORYBOOK_MODULE_GLOBAL__,{deprecate:xee,once:Cee,logger:hm}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:A3,composeConfigs:_ae,Preview:Fae,DocsContext:Iae}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_ARGS_UPDATED:k3,UPDATE_STORY_ARGS:Dee,RESET_STORY_ARGS:See,GLOBALS_UPDATED:_3,NAVIGATE_URL:Aee}=__STORYBOOK_MODULE_CORE_EVENTS__;__STORYBOOK_MODULE_CHANNELS__;var kee=La({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),_ee=La({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,a=[].some,o=document.body,i,s=!0,u=" ";function d(w,D){var S=D.appendChild(h(w));if(w.children.length){var A=p(w.isCollapsed);w.children.forEach(function(k){d(k,A)}),S.appendChild(A)}}function f(w,D){var S=!1,A=p(S);if(D.forEach(function(k){d(k,A)}),i=w||i,i!==null)return i.firstChild&&i.removeChild(i.firstChild),D.length===0?i:i.appendChild(A)}function h(w){var D=document.createElement("li"),S=document.createElement("a");return r.listItemClass&&D.setAttribute("class",r.listItemClass),r.onClick&&(S.onclick=r.onClick),r.includeTitleTags&&S.setAttribute("title",w.textContent),r.includeHtml&&w.childNodes.length?n.call(w.childNodes,function(A){S.appendChild(A.cloneNode(!0))}):S.textContent=w.textContent,S.setAttribute("href",r.basePath+"#"+w.id),S.setAttribute("class",r.linkClass+u+"node-name--"+w.nodeName+u+r.extraLinkClasses),D.appendChild(S),D}function p(w){var D=r.orderedList?"ol":"ul",S=document.createElement(D),A=r.listClass+u+r.extraListClasses;return w&&(A=A+u+r.collapsibleClass,A=A+u+r.isCollapsedClass),S.setAttribute("class",A),S}function m(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var w;w=document.querySelector(r.scrollContainer).scrollTop}else w=document.documentElement.scrollTop||o.scrollTop;var D=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=i.offsetTop),w>r.fixedSidebarOffset?D.className.indexOf(r.positionFixedClass)===-1&&(D.className+=u+r.positionFixedClass):D.className=D.className.replace(u+r.positionFixedClass,"")}function g(w){var D=0;return w!==null&&(D=w.offsetTop,r.hasInnerContainers&&(D+=g(w.offsetParent))),D}function v(w,D){return w&&w.className!==D&&(w.className=D),w}function b(w){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var D;D=document.querySelector(r.scrollContainer).scrollTop}else D=document.documentElement.scrollTop||o.scrollTop;r.positionFixedSelector&&m();var S=w,A;if(s&&i!==null&&S.length>0){a.call(S,function(L,$){if(g(L)>D+r.headingsOffset+10){var M=$===0?$:$-1;return A=S[M],!0}else if($===S.length-1)return A=S[S.length-1],!0});var k=i.querySelector("."+r.activeLinkClass),F=i.querySelector("."+r.linkClass+".node-name--"+A.nodeName+'[href="'+r.basePath+"#"+A.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(k===F)return;var T=i.querySelectorAll("."+r.linkClass);n.call(T,function(L){v(L,L.className.replace(u+r.activeLinkClass,""))});var R=i.querySelectorAll("."+r.listItemClass);n.call(R,function(L){v(L,L.className.replace(u+r.activeListItemClass,""))}),F&&F.className.indexOf(r.activeLinkClass)===-1&&(F.className+=u+r.activeLinkClass);var O=F&&F.parentNode;O&&O.className.indexOf(r.activeListItemClass)===-1&&(O.className+=u+r.activeListItemClass);var z=i.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(z,function(L){L.className.indexOf(r.isCollapsedClass)===-1&&(L.className+=u+r.isCollapsedClass)}),F&&F.nextSibling&&F.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&v(F.nextSibling,F.nextSibling.className.replace(u+r.isCollapsedClass,"")),x(F&&F.parentNode.parentNode)}}function x(w){return w&&w.className.indexOf(r.collapsibleClass)!==-1&&w.className.indexOf(r.isCollapsedClass)!==-1?(v(w,w.className.replace(u+r.isCollapsedClass,"")),x(w.parentNode.parentNode)):w}function E(w){var D=w.target||w.srcElement;typeof D.className!="string"||D.className.indexOf(r.linkClass)===-1||(s=!1)}function C(){s=!0}return{enableTocAnimation:C,disableTocAnimation:E,render:f,updateToc:b}}}}),Fee=La({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function a(h){return h[h.length-1]}function o(h){return+h.nodeName.toUpperCase().replace("H","")}function i(h){try{return h instanceof window.HTMLElement||h instanceof window.parent.HTMLElement}catch{return h instanceof window.HTMLElement}}function s(h){if(!i(h))return h;if(r.ignoreHiddenElements&&(!h.offsetHeight||!h.offsetParent))return null;let p=h.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(h.innerText)):(h.innerText||h.textContent).trim());var m={id:h.id,children:[],nodeName:h.nodeName,headingLevel:o(h),textContent:p};return r.includeHtml&&(m.childNodes=h.childNodes),r.headingObjectCallback?r.headingObjectCallback(m,h):m}function u(h,p){for(var m=s(h),g=m.headingLevel,v=p,b=a(v),x=b?b.headingLevel:0,E=g-x;E>0&&(b=a(v),!(b&&g===b.headingLevel));)b&&b.children!==void 0&&(v=b.children),E--;return g>=r.collapseDepth&&(m.isCollapsed=!0),v.push(m),v}function d(h,p){var m=p;r.ignoreSelector&&(m=p.split(",").map(function(g){return g.trim()+":not("+r.ignoreSelector+")"}));try{return h.querySelectorAll(m)}catch{return console.warn("Headers not found with selector: "+m),null}}function f(h){return n.call(h,function(p,m){var g=s(m);return g&&u(g,p.nest),p},{nest:[]})}return{nestHeadingsArray:f,selectHeadings:d}}}}),Iee=La({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var a=n.querySelector("."+r.activeListItemClass);a&&(n.scrollTop=a.offsetTop-r.tocScrollOffset)}}}}),Tee=La({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var a=n.duration,o=n.offset,i=location.hash?d(location.href):location.href;s();function s(){document.body.addEventListener("click",h,!1);function h(p){!u(p.target)||p.target.className.indexOf("no-smooth-scroll")>-1||p.target.href.charAt(p.target.href.length-2)==="#"&&p.target.href.charAt(p.target.href.length-1)==="!"||p.target.className.indexOf(n.linkClass)===-1||r(p.target.hash,{duration:a,offset:o,callback:function(){f(p.target.hash)}})}}function u(h){return h.tagName.toLowerCase()==="a"&&(h.hash.length>0||h.href.charAt(h.href.length-1)==="#")&&(d(h.href)===i||d(h.href)+"#"===i)}function d(h){return h.slice(0,h.lastIndexOf("#"))}function f(h){var p=document.getElementById(h.substring(1));p&&(/^(?:a|select|input|button|textarea)$/i.test(p.tagName)||(p.tabIndex=-1),p.focus())}}function r(n,a){var o=window.pageYOffset,i={duration:a.duration,offset:a.offset||0,callback:a.callback,easing:a.easing||g},s=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),u=typeof n=="string"?i.offset+(n?s&&s.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,d=typeof i.duration=="function"?i.duration(u):i.duration,f,h;requestAnimationFrame(function(v){f=v,p(v)});function p(v){h=v-f,window.scrollTo(0,i.easing(h,o,u,d)),h"u"&&!h)return;var p,m=Object.prototype.hasOwnProperty;function g(){for(var E={},C=0;C({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:se(.3,e.color.defaultText),fontSize:e.typography.size.s2})),OD=e=>y.createElement(Bee,{...e,className:"docblock-emptyblock sb-unstyled"}),zee=_(Rh)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),$ee=_.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),El=_.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${Hd}`]:{margin:0}})),Oee=()=>y.createElement($ee,null,y.createElement(El,null),y.createElement(El,{style:{width:"80%"}}),y.createElement(El,{style:{width:"30%"}}),y.createElement(El,{style:{width:"80%"}})),LD=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...i})=>{let{typography:s}=gb();if(e)return y.createElement(Oee,null);if(t)return y.createElement(OD,null,t);let u=y.createElement(zee,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return u;let d=a?Pd.dark:Pd.light;return y.createElement(vb,{theme:Nd({...d,fontCode:s.fonts.mono,fontBase:s.fonts.base})},u)},ve=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,mm=600,Lee=_.h1(de,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${mm}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),Mee=_.h2(de,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${mm}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:se(.25,e.color.defaultText)})),Pee=_.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?se(.1,e.color.defaultText):se(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[ve("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[ve("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[ve("div")]:t,[ve("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[ve("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[ve("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[ve("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[ve("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[ve("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[ve("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[ve("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[ve("img")]:{maxWidth:"100%"},[ve("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[ve("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[ve("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[ve("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[ve("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[ve("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[ve("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),Nee=_.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${mm}px)`]:{}})),Hee=({children:e,toc:t})=>y.createElement(Nee,{className:"sbdocs sbdocs-wrapper"},y.createElement(Pee,{className:"sbdocs sbdocs-content"},e),t),Zu=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),{window:jee}=rt,Vee=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=jee.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:a,...o}=this.props;return y.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...o})}},MD=l.createContext({scale:1}),{PREVIEW_URL:Uee}=rt,qee=Uee||"iframe.html",Ip=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,Wee=e=>{let t=l.useRef(),[r,n]=l.useState(!0),[a,o]=l.useState(),{story:i,height:s,autoplay:u,forceInitialArgs:d,renderStoryToElement:f}=e;return l.useEffect(()=>{if(!(i&&t.current))return()=>{};let h=t.current,p=f(i,h,{showMain:()=>{},showError:({title:m,description:g})=>o(new Error(`${m} - ${g}`)),showException:m=>o(m)},{autoplay:u,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>p())}},[u,f,i]),a?y.createElement("pre",null,y.createElement(cO,{error:a})):y.createElement(y.Fragment,null,s?y.createElement("style",null,`#${Ip(e)} { min-height: ${s}; transform: translateZ(0); overflow: auto }`):null,r&&y.createElement(PD,null),y.createElement("div",{ref:t,id:`${Ip(e)}-inner`,"data-name":i.name}))},Gee=({story:e,height:t="500px"})=>y.createElement("div",{style:{width:"100%",height:t}},y.createElement(MD.Consumer,null,({scale:r})=>y.createElement(Vee,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:BL(qee,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),Kee=_.strong(({theme:e})=>({color:e.color.orange})),Yee=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?y.createElement(Kee,null,"This story mounts inside of play. Set"," ",y.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):y.createElement("div",{id:Ip(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?y.createElement(Wee,{...e}):y.createElement(Gee,{...e}))},PD=()=>y.createElement(RL,null),Jee=_(jh)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),Zee=_.div({display:"flex",alignItems:"center",gap:4}),Xee=_.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),Qee=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>y.createElement(Jee,{...o},y.createElement(Zee,{key:"left"},e?[1,2,3].map(i=>y.createElement(Xee,{key:i})):y.createElement(y.Fragment,null,y.createElement(bn,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},y.createElement(CM,null)),y.createElement(bn,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},y.createElement(DM,null)),y.createElement(bn,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},y.createElement(SM,null))))),ete=_.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),F3=_(LD)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Ot(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Ot(.05,e.background.content)}})),tte=_.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...Zu(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),rte=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:y.createElement(F3,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:y.createElement(F3,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function nte(e){if(l.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var ate=_(Qee)({position:"absolute",top:0,left:0,right:0,height:40}),ote=_.div({overflow:"hidden",position:"relative"}),ND=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:i=!1,additionalActions:s,className:u,layout:d="padded",...f})=>{let[h,p]=l.useState(i),{source:m,actionItem:g}=rte(a,h,p),[v,b]=l.useState(1),x=[u].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),E=a?[g]:[],[C,w]=l.useState(s?[...s]:[]),D=[...E,...C],{window:S}=rt,A=l.useCallback(async F=>{let{createCopyToClipboardFunction:T}=await Lp(()=>import("./index-DdYHG1x9.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]),import.meta.url);T()},[]),k=F=>{let T=S.getSelection();T&&T.type==="Range"||(F.preventDefault(),C.filter(R=>R.title==="Copied").length===0&&A(m.props.code).then(()=>{w([...C,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>w(C.filter(R=>R.title!=="Copied")),1500)}))};return y.createElement(tte,{withSource:a,withToolbar:o,...f,className:x.join(" ")},o&&y.createElement(ate,{isLoading:e,border:!0,zoom:F=>b(v*F),resetZoom:()=>b(1),storyId:nte(n),baseUrl:"./iframe.html"}),y.createElement(MD.Provider,{value:{scale:v}},y.createElement(ote,{className:"docs-story",onCopyCapture:a&&k},y.createElement(ete,{isColumn:t||!Array.isArray(n),columns:r,layout:d},y.createElement(rO.Element,{scale:v},Array.isArray(n)?n.map((F,T)=>y.createElement("div",{key:T},F)):y.createElement("div",null,n))),y.createElement(ff,{actionItems:D}))),a&&h&&m)};_(ND)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));var ite=_.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:se(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${yl(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${yl(.05,e.appBorderColor)} 0 0 0 2px inset`,color:yl(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${yl(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),lte=e=>e==="true",ste=({name:e,value:t,onChange:r,onBlur:n,onFocus:a,argType:o})=>{var f;let i=l.useCallback(()=>r(!1),[r]),s=!!((f=o==null?void 0:o.table)!=null&&f.readonly);if(t===void 0)return y.createElement($n,{variant:"outline",size:"medium",id:Vs(e),onClick:i,disabled:s},"Set boolean");let u=Dt(e),d=typeof t=="string"?lte(t):t;return y.createElement(ite,{"aria-disabled":s,htmlFor:u,"aria-label":e},y.createElement("input",{id:u,type:"checkbox",onChange:h=>r(h.target.checked),checked:d,role:"switch",disabled:s,name:e,onBlur:n,onFocus:a}),y.createElement("span",{"aria-hidden":"true"},"False"),y.createElement("span",{"aria-hidden":"true"},"True"))},ute=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},cte=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},dte=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),a=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${a}`},pte=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},I3=_(Li.Input)(({readOnly:e})=>({opacity:e?.5:1})),fte=_.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),hte=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,argType:o})=>{var g;let[i,s]=l.useState(!0),u=l.useRef(),d=l.useRef(),f=!!((g=o==null?void 0:o.table)!=null&&g.readonly);l.useEffect(()=>{i!==!1&&(u&&u.current&&(u.current.value=t?dte(t):""),d&&d.current&&(d.current.value=t?pte(t):""))},[t]);let h=v=>{if(!v.target.value)return r();let b=ute(v.target.value),x=new Date(t);x.setFullYear(b.getFullYear(),b.getMonth(),b.getDate());let E=x.getTime();E&&r(E),s(!!E)},p=v=>{if(!v.target.value)return r();let b=cte(v.target.value),x=new Date(t);x.setHours(b.getHours()),x.setMinutes(b.getMinutes());let E=x.getTime();E&&r(E),s(!!E)},m=Dt(e);return y.createElement(fte,null,y.createElement(I3,{type:"date",max:"9999-12-31",ref:u,id:`${m}-date`,name:`${m}-date`,readOnly:f,onChange:h,onFocus:n,onBlur:a}),y.createElement(I3,{type:"time",id:`${m}-time`,name:`${m}-time`,ref:d,onChange:p,readOnly:f,onFocus:n,onBlur:a}),i?null:y.createElement("div",null,"invalid"))},mte=_.label({display:"flex"}),gte=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},vte=_(Li.Input)(({readOnly:e})=>({opacity:e?.5:1})),yte=({name:e,value:t,onChange:r,min:n,max:a,step:o,onBlur:i,onFocus:s,argType:u})=>{var C;let[d,f]=l.useState(typeof t=="number"?t:""),[h,p]=l.useState(!1),[m,g]=l.useState(null),v=!!((C=u==null?void 0:u.table)!=null&&C.readonly),b=l.useCallback(w=>{f(w.target.value);let D=parseFloat(w.target.value);Number.isNaN(D)?g(new Error(`'${w.target.value}' is not a number`)):(r(D),g(null))},[r,g]),x=l.useCallback(()=>{f("0"),r(0),p(!0)},[p]),E=l.useRef(null);return l.useEffect(()=>{h&&E.current&&E.current.select()},[h]),l.useEffect(()=>{d!==(typeof t=="number"?t:"")&&f(t)},[t]),t===void 0?y.createElement($n,{variant:"outline",size:"medium",id:Vs(e),onClick:x,disabled:v},"Set number"):y.createElement(mte,null,y.createElement(vte,{ref:E,id:Dt(e),type:"number",onChange:b,size:"flex",placeholder:"Edit number...",value:d,valid:m?"error":null,autoFocus:h,readOnly:v,name:e,min:n,max:a,step:o,onFocus:s,onBlur:i}))},HD=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},Tp=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],jD=(e,t)=>e&&t&&e.map(r=>t[r]),bte=_.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),wte=_.span({"[aria-readonly=true] &":{opacity:.5}}),Ete=_.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),T3=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var p;if(!t)return hm.warn(`Checkbox with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=Tp(r,t),[s,u]=l.useState(i),d=!!((p=o==null?void 0:o.table)!=null&&p.readonly),f=m=>{let g=m.target.value,v=[...s];v.includes(g)?v.splice(v.indexOf(g),1):v.push(g),n(jD(v,t)),u(v)};l.useEffect(()=>{u(Tp(r,t))},[r]);let h=Dt(e);return y.createElement(bte,{"aria-readonly":d,isInline:a},Object.keys(t).map((m,g)=>{let v=`${h}-${g}`;return y.createElement(Ete,{key:v,htmlFor:v},y.createElement("input",{type:"checkbox",disabled:d,id:v,name:v,value:m,onChange:f,checked:s==null?void 0:s.includes(m)}),y.createElement(wte,null,m))}))},xte=_.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),Cte=_.span({"[aria-readonly=true] &":{opacity:.5}}),Dte=_.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),R3=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var d;if(!t)return hm.warn(`Radio with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=HD(r,t),s=Dt(e),u=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return y.createElement(xte,{"aria-readonly":u,isInline:a},Object.keys(t).map((f,h)=>{let p=`${s}-${h}`;return y.createElement(Dte,{key:p,htmlFor:p},y.createElement("input",{type:"radio",id:p,name:s,disabled:u,value:f,onChange:m=>n(t[m.currentTarget.value]),checked:f===i}),y.createElement(Cte,null,f))}))},Ste={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},VD=_.select(Ste,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),UD=_.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),B3="Choose option...",Ate=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=f=>{n(r[f.currentTarget.value])},i=HD(t,r)||B3,s=Dt(e),u=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(UD,null,y.createElement(CC,null),y.createElement(VD,{disabled:u,id:s,value:i,onChange:o},y.createElement("option",{key:"no-selection",disabled:!0},B3),Object.keys(r).map(f=>y.createElement("option",{key:f,value:f},f))))},kte=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=f=>{let h=Array.from(f.currentTarget.options).filter(p=>p.selected).map(p=>p.value);n(jD(h,r))},i=Tp(t,r),s=Dt(e),u=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(UD,null,y.createElement(VD,{disabled:u,id:s,multiple:!0,value:i,onChange:o},Object.keys(r).map(f=>y.createElement("option",{key:f,value:f},f))))},z3=e=>{let{name:t,options:r}=e;return r?e.isMulti?y.createElement(kte,{...e}):y.createElement(Ate,{...e}):(hm.warn(`Select with no options: ${t}`),y.createElement(y.Fragment,null,"-"))},_te=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,Fte={check:T3,"inline-check":T3,radio:R3,"inline-radio":R3,select:z3,"multi-select":z3},Jn=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,argType:n,options:n?_te(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},o=Fte[t];if(o)return y.createElement(o,{...a});throw new Error(`Unknown options type: ${t}`)},Ite="Error",Tte="Object",Rte="Array",Bte="String",zte="Number",$te="Boolean",Ote="Date",Lte="Null",Mte="Undefined",Pte="Function",Nte="Symbol",qD="ADD_DELTA_TYPE",WD="REMOVE_DELTA_TYPE",GD="UPDATE_DELTA_TYPE",gm="value",Hte="key";function mn(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function KD(e,t){let r=mn(e),n=mn(t);return(r==="Function"||n==="Function")&&n!==r}var vm=class extends l.Component{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:a}=this.props,{inputRefKey:o,inputRefValue:i}=this.state,s={};if(!t){if(!o.value)return;s.key=o.value}s.newValue=r(!1,n,a,s.key,i.value),e(s)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:a,keyPath:o,deep:i}=this.props,s=l.cloneElement(r,{onClick:this.onSubmit}),u=l.cloneElement(n,{onClick:e}),d=a(gm,o,i),f=l.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),h=null;if(!t){let p=a(Hte,o,i);h=l.cloneElement(p,{placeholder:"Key",ref:this.refInputKey})}return y.createElement("span",{className:"rejt-add-value-node"},h,f,u,s)}};vm.defaultProps={onlyValue:!1,addButtonElement:y.createElement("button",null,"+"),cancelButtonElement:y.createElement("button",null,"c")};var YD=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let s={keyPath:a,deep:o,key:e,oldValue:i,type:WD};n.splice(e,1),this.setState({data:n});let{onUpdate:u,onDeltaUpdate:d}=this.props;u(a[a.length-1],n),d(s)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:a,logger:o}=this.props;a(t.length,r,n,e).then(()=>{let i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:u}=this.props;s(r[r.length-1],i),u({type:qD,keyPath:r,deep:n,key:i.length-1,newValue:e})}).catch(o.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:s}=this.state,u=o[e];a(e,i,s,u,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:f}=this.props;d(i[i.length-1],o),f({type:GD,keyPath:i,deep:s,key:e,newValue:t,oldValue:u}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:a,readOnly:o,getStyle:i,dataType:s,minusMenuElement:u}=this.props,{minus:d,collapsed:f}=i(e,t,r,n,s),h=o(e,t,r,n,s),p=l.cloneElement(u,{onClick:a,className:"rejt-minus-menu",style:d});return y.createElement("span",{className:"rejt-collapsed"},y.createElement("span",{className:"rejt-collapsed-text",style:f,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!h&&p)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:a,nextDeep:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:u,readOnly:d,getStyle:f,dataType:h,addButtonElement:p,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:v,textareaElementGenerator:b,minusMenuElement:x,plusMenuElement:E,beforeRemoveAction:C,beforeAddAction:w,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}=this.props,{minus:k,plus:F,delimiter:T,ul:R,addForm:O}=f(e,t,r,n,h),z=d(e,t,r,n,h),L=l.cloneElement(E,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:F}),$=l.cloneElement(x,{onClick:s,className:"rejt-minus-menu",style:k});return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},"["),!a&&L,y.createElement("ul",{className:"rejt-not-collapsed-list",style:R},t.map((M,j)=>y.createElement(Xu,{key:j,name:j.toString(),data:M,keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveItem(j),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:d,getStyle:f,addButtonElement:p,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:v,textareaElementGenerator:b,minusMenuElement:x,plusMenuElement:E,beforeRemoveAction:C,beforeAddAction:w,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}))),!z&&a&&y.createElement("div",{className:"rejt-add-form",style:O},y.createElement(vm,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:p,cancelButtonElement:m,inputElementGenerator:v,keyPath:r,deep:n,onSubmitValueParser:A})),y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},"]"),!z&&$)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{dataType:o,getStyle:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),u=i(e,r,n,a,o);return y.createElement("div",{className:"rejt-array-node"},y.createElement("span",{onClick:this.handleCollapseMode},y.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),s)}};YD.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var JD=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:s}=this.props,u=i(r,n,a,o,s);e&&!u&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:s}=this.state;if(!o)return;let u=n(!0,a,s,i,o.value);e({value:u,key:i}).then(()=>{KD(t,u)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:s,dataType:u,getStyle:d,editButtonElement:f,cancelButtonElement:h,textareaElementGenerator:p,minusMenuElement:m,keyPath:g}=this.props,v=d(e,i,n,a,u),b=null,x=null,E=s(e,i,n,a,u);if(r&&!E){let C=p(gm,g,a,e,i,u),w=l.cloneElement(f,{onClick:this.handleEdit}),D=l.cloneElement(h,{onClick:this.handleCancelEdit}),S=l.cloneElement(C,{ref:this.refInput,defaultValue:i});b=y.createElement("span",{className:"rejt-edit-form",style:v.editForm},S," ",D,w),x=null}else{b=y.createElement("span",{className:"rejt-value",style:v.value,onClick:E?null:this.handleEditMode},t);let C=l.cloneElement(m,{onClick:o,className:"rejt-minus-menu",style:v.minus});x=E?null:C}return y.createElement("li",{className:"rejt-function-value-node",style:v.li},y.createElement("span",{className:"rejt-name",style:v.name},e," :"," "),b,x)}};JD.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};var Xu=class extends l.Component{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:a,handleRemove:o,handleUpdateValue:i,onUpdate:s,onDeltaUpdate:u,readOnly:d,getStyle:f,addButtonElement:h,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,textareaElementGenerator:v,minusMenuElement:b,plusMenuElement:x,beforeRemoveAction:E,beforeAddAction:C,beforeUpdateAction:w,logger:D,onSubmitValueParser:S}=this.props,A=()=>!0,k=mn(e);switch(k){case Ite:return y.createElement(Rp,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:u,readOnly:A,dataType:k,getStyle:f,addButtonElement:h,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,textareaElementGenerator:v,minusMenuElement:b,plusMenuElement:x,beforeRemoveAction:E,beforeAddAction:C,beforeUpdateAction:w,logger:D,onSubmitValueParser:S});case Tte:return y.createElement(Rp,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:u,readOnly:d,dataType:k,getStyle:f,addButtonElement:h,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,textareaElementGenerator:v,minusMenuElement:b,plusMenuElement:x,beforeRemoveAction:E,beforeAddAction:C,beforeUpdateAction:w,logger:D,onSubmitValueParser:S});case Rte:return y.createElement(YD,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:u,readOnly:d,dataType:k,getStyle:f,addButtonElement:h,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,textareaElementGenerator:v,minusMenuElement:b,plusMenuElement:x,beforeRemoveAction:E,beforeAddAction:C,beforeUpdateAction:w,logger:D,onSubmitValueParser:S});case Bte:return y.createElement(Dr,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});case zte:return y.createElement(Dr,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});case $te:return y.createElement(Dr,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});case Ote:return y.createElement(Dr,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:A,dataType:k,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});case Lte:return y.createElement(Dr,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});case Mte:return y.createElement(Dr,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});case Pte:return y.createElement(JD,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:f,cancelButtonElement:p,editButtonElement:m,textareaElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case Nte:return y.createElement(Dr,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:A,dataType:k,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});default:return null}}};Xu.defaultProps={keyPath:[],deep:0};var Rp=class extends l.Component{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:a}=this.state,{beforeAddAction:o,logger:i}=this.props;o(e,n,a,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:u}=this.props;s(n[n.length-1],r),u({type:qD,keyPath:n,deep:a,key:e,newValue:t})}).catch(i.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let s={keyPath:a,deep:o,key:e,oldValue:i,type:WD};delete n[e],this.setState({data:n});let{onUpdate:u,onDeltaUpdate:d}=this.props;u(a[a.length-1],n),d(s)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:s}=this.state,u=o[e];a(e,i,s,u,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:f}=this.props;d(i[i.length-1],o),f({type:GD,keyPath:i,deep:s,key:e,newValue:t,oldValue:u}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:o,dataType:i,getStyle:s,minusMenuElement:u}=this.props,{minus:d,collapsed:f}=s(e,n,t,r,i),h=Object.getOwnPropertyNames(n),p=o(e,n,t,r,i),m=l.cloneElement(u,{onClick:a,className:"rejt-minus-menu",style:d});return y.createElement("span",{className:"rejt-collapsed"},y.createElement("span",{className:"rejt-collapsed-text",style:f,onClick:this.handleCollapseMode},"{...}"," ",h.length," ",h.length===1?"key":"keys"),!p&&m)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:a,addFormVisible:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:u,readOnly:d,getStyle:f,dataType:h,addButtonElement:p,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:v,textareaElementGenerator:b,minusMenuElement:x,plusMenuElement:E,beforeRemoveAction:C,beforeAddAction:w,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}=this.props,{minus:k,plus:F,addForm:T,ul:R,delimiter:O}=f(e,t,r,n,h),z=Object.getOwnPropertyNames(t),L=d(e,t,r,n,h),$=l.cloneElement(E,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:F}),M=l.cloneElement(x,{onClick:s,className:"rejt-minus-menu",style:k}),j=z.map(K=>y.createElement(Xu,{key:K,name:K,data:t[K],keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveValue(K),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:d,getStyle:f,addButtonElement:p,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:v,textareaElementGenerator:b,minusMenuElement:x,plusMenuElement:E,beforeRemoveAction:C,beforeAddAction:w,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}));return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:O},"{"),!L&&$,y.createElement("ul",{className:"rejt-not-collapsed-list",style:R},j),!L&&o&&y.createElement("div",{className:"rejt-add-form",style:T},y.createElement(vm,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:p,cancelButtonElement:m,inputElementGenerator:v,keyPath:r,deep:n,onSubmitValueParser:A})),y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:O},"}"),!L&&M)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{getStyle:o,dataType:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),u=o(e,r,n,a,i);return y.createElement("div",{className:"rejt-object-node"},y.createElement("span",{onClick:this.handleCollapseMode},y.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),s)}};Rp.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var Dr=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:s}=this.props,u=i(r,n,a,o,s);e&&!u&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:s}=this.state;if(!o)return;let u=n(!0,a,s,i,o.value);e({value:u,key:i}).then(()=>{KD(t,u)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:s,dataType:u,getStyle:d,editButtonElement:f,cancelButtonElement:h,inputElementGenerator:p,minusMenuElement:m,keyPath:g}=this.props,v=d(e,i,n,a,u),b=s(e,i,n,a,u),x=r&&!b,E=p(gm,g,a,e,i,u),C=l.cloneElement(f,{onClick:this.handleEdit}),w=l.cloneElement(h,{onClick:this.handleCancelEdit}),D=l.cloneElement(E,{ref:this.refInput,defaultValue:JSON.stringify(i)}),S=l.cloneElement(m,{onClick:o,className:"rejt-minus-menu",style:v.minus});return y.createElement("li",{className:"rejt-value-node",style:v.li},y.createElement("span",{className:"rejt-name",style:v.name},e," : "),x?y.createElement("span",{className:"rejt-edit-form",style:v.editForm},D," ",w,C):y.createElement("span",{className:"rejt-value",style:v.value,onClick:b?null:this.handleEditMode},String(t)),!b&&!x&&S)}};Dr.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};function jte(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var Vte={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},Ute={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},qte={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},ZD=class extends l.Component{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:a,getStyle:o,addButtonElement:i,cancelButtonElement:s,editButtonElement:u,inputElement:d,textareaElement:f,minusMenuElement:h,plusMenuElement:p,beforeRemoveAction:m,beforeAddAction:g,beforeUpdateAction:v,logger:b,onSubmitValueParser:x,fallback:E=null}=this.props,C=mn(e),w=a;mn(a)==="Boolean"&&(w=()=>a);let D=d;d&&mn(d)!=="Function"&&(D=()=>d);let S=f;return f&&mn(f)!=="Function"&&(S=()=>f),C==="Object"||C==="Array"?y.createElement("div",{className:"rejt-tree"},y.createElement(Xu,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:w,getStyle:o,addButtonElement:i,cancelButtonElement:s,editButtonElement:u,inputElementGenerator:D,textareaElementGenerator:S,minusMenuElement:h,plusMenuElement:p,handleRemove:this.removeRoot,beforeRemoveAction:m,beforeAddAction:g,beforeUpdateAction:v,logger:b,onSubmitValueParser:x})):E}};ZD.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return Vte;case"Array":return Ute;default:return qte}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>jte(a),inputElement:()=>y.createElement("input",null),textareaElement:()=>y.createElement("textarea",null),fallback:null};var{window:Wte}=rt,Gte=_.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),Bd=_.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),Kte=_(FM)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),Yte=_(IM)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),$3=_.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),Jte=_(bn)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),Zte=_(Li.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),Xte={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},Qte=e=>{e.currentTarget.dispatchEvent(new Wte.KeyboardEvent("keydown",Xte))},ere=e=>{e.currentTarget.select()},tre=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),O3=({name:e,value:t,onChange:r,argType:n})=>{var C;let a=gb(),o=l.useMemo(()=>t&&wZ(t),[t]),i=o!=null,[s,u]=l.useState(!i),[d,f]=l.useState(null),h=!!((C=n==null?void 0:n.table)!=null&&C.readonly),p=l.useCallback(w=>{try{w&&r(JSON.parse(w)),f(void 0)}catch(D){f(D)}},[r]),[m,g]=l.useState(!1),v=l.useCallback(()=>{r({}),g(!0)},[g]),b=l.useRef(null);if(l.useEffect(()=>{m&&b.current&&b.current.select()},[m]),!i)return y.createElement($n,{disabled:h,id:Vs(e),onClick:v},"Set object");let x=y.createElement(Zte,{ref:b,id:Dt(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:w=>p(w.target.value),placeholder:"Edit JSON string...",autoFocus:m,valid:d?"error":null,readOnly:h}),E=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return y.createElement(Gte,{"aria-readonly":h},E&&y.createElement(Jte,{onClick:w=>{w.preventDefault(),u(D=>!D)}},s?y.createElement(kM,null):y.createElement(AM,null),y.createElement("span",null,"RAW")),s?x:y.createElement(ZD,{readOnly:h||!E,isCollapsed:E?void 0:()=>!0,data:o,rootName:e,onFullyUpdate:r,getStyle:tre(a),cancelButtonElement:y.createElement(Bd,{type:"button"},"Cancel"),editButtonElement:y.createElement(Bd,{type:"submit"},"Save"),addButtonElement:y.createElement(Bd,{type:"submit",primary:!0},"Save"),plusMenuElement:y.createElement(Kte,null),minusMenuElement:y.createElement(Yte,null),inputElement:(w,D,S,A)=>A?y.createElement($3,{onFocus:ere,onBlur:Qte}):y.createElement($3,null),fallback:x}))},rre=_.input(({theme:e,min:t,max:r,value:n,disabled:a})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, ${Ot(.02,e.input.background)} ${(n-t)/(r-t)*100}%, ${Ot(.02,e.input.background)} 100%)`:`linear-gradient(to right, @@ -576,7 +576,7 @@ ${t}`);let r=t.match(iO);if(!r)return y.createElement(l.Fragment,null,t);let[,n, ${Ot(.02,e.input.background)} 100%)`:`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, ${ln(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${ln(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${Mt(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),XD=_.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),nre=_(XD)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),are=_.div({display:"flex",alignItems:"center",width:"100%"});function ore(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var ire=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:s,argType:u})=>{var m;let d=g=>{r(gte(g.target.value))},f=t!==void 0,h=l.useMemo(()=>ore(o),[o]),p=!!((m=u==null?void 0:u.table)!=null&&m.readonly);return y.createElement(are,{"aria-readonly":p},y.createElement(XD,null,n),y.createElement(rre,{id:Dt(e),type:"range",disabled:p,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:i}),y.createElement(nre,{numberOFDecimalsPlaces:h,max:a},f?t.toFixed(h):"--"," / ",a))},lre=_.label({display:"flex"}),sre=_.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),ure=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:i})=>{var m;let s=g=>{r(g.target.value)},u=!!((m=i==null?void 0:i.table)!=null&&m.readonly),[d,f]=l.useState(!1),h=l.useCallback(()=>{r(""),f(!0)},[f]);if(t===void 0)return y.createElement($n,{variant:"outline",size:"medium",disabled:u,id:Vs(e),onClick:h},"Set string");let p=typeof t=="string";return y.createElement(lre,null,y.createElement(Li.Textarea,{id:Dt(e),maxLength:o,onChange:s,disabled:u,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:p?null:"error",name:e,value:p?t:"",onFocus:n,onBlur:a}),o&&y.createElement(sre,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},cre=_(Li.Input)({padding:10});function dre(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var pre=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var u;let o=l.useRef(null),i=(u=a==null?void 0:a.control)==null?void 0:u.readOnly;function s(d){if(!d.target.files)return;let f=Array.from(d.target.files).map(h=>URL.createObjectURL(h));e(f),dre(n)}return l.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),y.createElement(cre,{ref:o,id:Dt(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},fre=l.lazy(()=>Lp(()=>import("./Color-ERTF36HU-BQopY_3-.js"),__vite__mapDeps([12,2,3,1,4,5,6,7,8,9,10,11]),import.meta.url)),hre=e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(fre,{...e})),mre={array:O3,object:O3,boolean:ste,color:hre,date:hte,number:yte,check:Jn,"inline-check":Jn,radio:Jn,"inline-radio":Jn,select:Jn,"multi-select":Jn,range:ire,text:ure,file:pre},L3=()=>y.createElement(y.Fragment,null,"-"),gre=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var v;let{key:a,control:o}=e,[i,s]=l.useState(!1),[u,d]=l.useState({value:t});l.useEffect(()=>{i||d({value:t})},[i,t]);let f=l.useCallback(b=>(d({value:b}),r({[a]:b}),b),[r,a]),h=l.useCallback(()=>s(!1),[]),p=l.useCallback(()=>s(!0),[]);if(!o||o.disable){let b=(o==null?void 0:o.disable)!==!0&&((v=e==null?void 0:e.type)==null?void 0:v.name)!=="function";return n&&b?y.createElement(ga,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):y.createElement(L3,null)}let m={name:a,argType:e,value:u.value,onChange:f,onBlur:h,onFocus:p},g=mre[o.type]||L3;return y.createElement(g,{...m,...o,controlType:o.type})},vre=_.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:Ur({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),yre=({tags:e})=>{let t=(e.params||[]).filter(o=>o.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:y.createElement(y.Fragment,null,y.createElement(vre,null,y.createElement("tbody",null,n&&y.createElement("tr",{key:"deprecated"},y.createElement("td",{colSpan:2},y.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(o=>y.createElement("tr",{key:o.name},y.createElement("td",null,y.createElement("code",null,o.name)),y.createElement("td",null,o.description))),a&&y.createElement("tr",{key:"returns"},y.createElement("td",null,y.createElement("code",null,"Returns")),y.createElement("td",null,e.returns.description)))))},Bp=8,M3=_.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),bre=_.span(Ur,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),wre=_.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),Ere=_.div(Ur,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),xre=_.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),Cre=_(zM)({marginLeft:4}),Dre=_(CC)({marginLeft:4}),Sre=()=>y.createElement("span",null,"-"),QD=({text:e,simple:t})=>y.createElement(bre,{simple:t},e),Are=SD(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),kre=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return rX(t)},P3=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,Bp)),r.map(n=>y.createElement(QD,{key:n,text:n===""?'""':n}))},_re=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=l.useState(!1),[i,s]=l.useState(t||!1);if(r==null)return null;let u=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(u))return y.createElement(QD,{text:u});let d=kre(u),f=d.length;return f>Bp?y.createElement(M3,{isExpanded:i},P3(d,i),y.createElement(wre,{onClick:()=>s(!i)},i?"Show less...":`Show ${f-Bp} more...`)):y.createElement(M3,null,P3(d))}return y.createElement(OO,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:y.createElement(xre,{width:Are(n)},y.createElement(Rh,{language:"jsx",format:!1},n))},y.createElement(Ere,{className:"sbdocs-expandable"},y.createElement("span",null,u),a?y.createElement(Cre,null):y.createElement(Dre,null)))},zd=({value:e,initialExpandedArgs:t})=>e==null?y.createElement(Sre,null):y.createElement(_re,{value:e,initialExpandedArgs:t}),Fre=_.span({fontWeight:"bold"}),Ire=_.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),Tre=_.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Ur({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),Rre=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?se(.1,e.color.defaultText):se(.2,e.color.defaultText),marginTop:t?4:0})),Bre=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?se(.1,e.color.defaultText):se(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),zre=_.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),$re=e=>e&&{summary:typeof e=="string"?e:e.name},xl=e=>{var v;let[t,r]=l.useState(!1),{row:n,updateArgs:a,compact:o,expandable:i,initialExpandedArgs:s}=e,{name:u,description:d}=n,f=n.table||{},h=f.type||$re(n.type),p=f.defaultValue||n.defaultValue,m=(v=n.type)==null?void 0:v.required,g=d!=null&&d!=="";return y.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},y.createElement(zre,{expandable:i},y.createElement(Fre,null,u),m?y.createElement(Ire,{title:"Required"},"*"):null),o?null:y.createElement("td",null,g&&y.createElement(Tre,null,y.createElement(wD,null,d)),f.jsDocTags!=null?y.createElement(y.Fragment,null,y.createElement(Bre,{hasDescription:g},y.createElement(zd,{value:h,initialExpandedArgs:s})),y.createElement(yre,{tags:f.jsDocTags})):y.createElement(Rre,{hasDescription:g},y.createElement(zd,{value:h,initialExpandedArgs:s}))),o?null:y.createElement("td",null,y.createElement(zd,{value:p,initialExpandedArgs:s})),a?y.createElement("td",null,y.createElement(gre,{...e,isHovered:t})):null)},Ore=_.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),Lre=_.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),Mre=_.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),Pre=({inAddonPanel:e})=>{let[t,r]=l.useState(!0);return l.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:y.createElement(Ore,{inAddonPanel:e},y.createElement(fC,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:y.createElement(y.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:y.createElement(Lre,null,e&&y.createElement(y.Fragment,null,y.createElement(ga,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},y.createElement(_M,null)," Watch 5m video"),y.createElement(Mre,null),y.createElement(ga,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(xp,null)," Read docs")),!e&&y.createElement(ga,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(xp,null)," Learn how to set that up"))}))},Nre=_(RM)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?se(.25,e.color.defaultText):se(.3,e.color.defaultText),border:"none",display:"inline-block"})),Hre=_(BM)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?se(.25,e.color.defaultText):se(.3,e.color.defaultText),border:"none",display:"inline-block"})),jre=_.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),Vre=_.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?se(.4,e.color.defaultText):se(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),Ure=_.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),qre=_.td(()=>({position:"relative"})),Wre=_.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${ln(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),N3=_.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),$d=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=l.useState(n),s=e==="subsection"?Ure:Vre,u=(r==null?void 0:r.length)||0,d=e==="subsection"?`${u} item${u!==1?"s":""}`:"",f=`${o?"Hide":"Show"} ${e==="subsection"?u:t} item${u!==1?"s":""}`;return y.createElement(y.Fragment,null,y.createElement(Wre,{title:f},y.createElement(s,{colSpan:1},y.createElement(N3,{onClick:h=>i(!o),tabIndex:0},f),y.createElement(jre,null,o?y.createElement(Nre,null):y.createElement(Hre,null),t)),y.createElement(qre,{colSpan:a-1},y.createElement(N3,{onClick:h=>i(!o),tabIndex:-1,style:{outline:"none"}},f),o?null:d)),o?r:null)},Cl=_.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Ie=_.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),ye=_.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),Te=[2,4,2,2],Gre=()=>y.createElement(y.Fragment,null,y.createElement(Cl,null,y.createElement(Ie,{numColumn:Te[0]},y.createElement(ye,{width:"60%"})),y.createElement(Ie,{numColumn:Te[1]},y.createElement(ye,{width:"30%"})),y.createElement(Ie,{numColumn:Te[2]},y.createElement(ye,{width:"60%"})),y.createElement(Ie,{numColumn:Te[3]},y.createElement(ye,{width:"60%"}))),y.createElement(Cl,null,y.createElement(Ie,{numColumn:Te[0]},y.createElement(ye,{width:"60%"})),y.createElement(Ie,{numColumn:Te[1]},y.createElement(ye,{width:"80%"}),y.createElement(ye,{width:"30%"})),y.createElement(Ie,{numColumn:Te[2]},y.createElement(ye,{width:"60%"})),y.createElement(Ie,{numColumn:Te[3]},y.createElement(ye,{width:"60%"}))),y.createElement(Cl,null,y.createElement(Ie,{numColumn:Te[0]},y.createElement(ye,{width:"60%"})),y.createElement(Ie,{numColumn:Te[1]},y.createElement(ye,{width:"80%"}),y.createElement(ye,{width:"30%"})),y.createElement(Ie,{numColumn:Te[2]},y.createElement(ye,{width:"60%"})),y.createElement(Ie,{numColumn:Te[3]},y.createElement(ye,{width:"60%"}))),y.createElement(Cl,null,y.createElement(Ie,{numColumn:Te[0]},y.createElement(ye,{width:"60%"})),y.createElement(Ie,{numColumn:Te[1]},y.createElement(ye,{width:"80%"}),y.createElement(ye,{width:"30%"})),y.createElement(Ie,{numColumn:Te[2]},y.createElement(ye,{width:"60%"})),y.createElement(Ie,{numColumn:Te[3]},y.createElement(ye,{width:"60%"})))),Kre=_.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?se(.25,e.color.defaultText):se(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),Yre=_(bn)(({theme:e})=>({margin:"-4px -12px -4px 0"})),Jre=_.span({display:"flex",justifyContent:"space-between"}),Zre={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},Xre=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,i])=>{let{category:s,subcategory:u}=(i==null?void 0:i.table)||{};if(s){let d=r.sections[s]||{ungrouped:[],subsections:{}};if(!u)d.ungrouped.push({key:o,...i});else{let f=d.subsections[u]||[];f.push({key:o,...i}),d.subsections[u]=f}r.sections[s]=d}else if(u){let d=r.ungroupedSubsections[u]||[];d.push({key:o,...i}),r.ungroupedSubsections[u]=d}else r.ungrouped.push({key:o,...i})});let n=Zre[t],a=o=>n?Object.keys(o).reduce((i,s)=>({...i,[s]:o[s].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,i)=>({...o,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:a(r.sections[i].subsections)}}),{})}},Qre=(e,t,r)=>{try{return Ak(e,t,r)}catch(n){return Cee.warn(n.message),!1}},zp=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:i="none",isLoading:s}=e;if("error"in e){let{error:E}=e;return y.createElement(OD,null,E," ",y.createElement(ga,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},y.createElement(xp,null)," Read the docs"))}if(s)return y.createElement(Gre,null);let{rows:u,args:d,globals:f}="rows"in e&&e,h=Xre(BG(u,E=>{var C;return!((C=E==null?void 0:E.table)!=null&&C.disable)&&Qre(E,d||{},f||{})}),i),p=h.ungrouped.length===0,m=Object.entries(h.sections).length===0,g=Object.entries(h.ungroupedSubsections).length===0;if(p&&m&&g)return y.createElement(Pre,{inAddonPanel:a});let v=1;t&&(v+=1),n||(v+=2);let b=Object.keys(h.sections).length>0,x={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return y.createElement(Bx,null,y.createElement(Kre,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},y.createElement("thead",{className:"docblock-argstable-head"},y.createElement("tr",null,y.createElement("th",null,y.createElement("span",null,"Name")),n?null:y.createElement("th",null,y.createElement("span",null,"Description")),n?null:y.createElement("th",null,y.createElement("span",null,"Default")),t?y.createElement("th",null,y.createElement(Jre,null,"Control"," ",!s&&r&&y.createElement(Yre,{onClick:()=>r(),title:"Reset controls"},y.createElement($M,{"aria-hidden":!0})))):null)),y.createElement("tbody",{className:"docblock-argstable-body"},h.ungrouped.map(E=>y.createElement(xl,{key:E.key,row:E,arg:d&&d[E.key],...x})),Object.entries(h.ungroupedSubsections).map(([E,C])=>y.createElement($d,{key:E,label:E,level:"subsection",colSpan:v},C.map(w=>y.createElement(xl,{key:w.key,row:w,arg:d&&d[w.key],expandable:b,...x})))),Object.entries(h.sections).map(([E,C])=>y.createElement($d,{key:E,label:E,level:"section",colSpan:v},C.ungrouped.map(w=>y.createElement(xl,{key:w.key,row:w,arg:d&&d[w.key],...x})),Object.entries(C.subsections).map(([w,D])=>y.createElement($d,{key:w,label:w,level:"subsection",colSpan:v},D.map(S=>y.createElement(xl,{key:S.key,row:S,arg:d&&d[S.key],expandable:b,...x})))))))))},ene=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?y.createElement(zp,{...r[0][1],...t}):y.createElement(yL,null,r.map((n,a)=>{let[o,i]=n,s=`prop_table_div_${o}`,u="div",d=a===0?t:{sort:t.sort};return y.createElement(u,{key:s,id:s,title:o},({active:f})=>f?y.createElement(zp,{key:`prop_table_${o}`,...i,...d}):null)}))};_.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?se(.4,e.color.defaultText):se(.6,e.color.defaultText)}));_.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});_.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});_.div(de,({theme:e})=>({...Zu(e),margin:"25px 0 40px",padding:"30px 20px"}));_.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));_.div(({theme:e})=>({color:e.base==="light"?se(.2,e.color.defaultText):se(.6,e.color.defaultText)}));_.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});_.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?se(.4,e.color.defaultText):se(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));_.div({display:"flex",flexDirection:"row"});_.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));_.div(({theme:e})=>({...Zu(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));_.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});_.div({flex:1,display:"flex",flexDirection:"row"});_.div({display:"flex",alignItems:"flex-start"});_.div({flex:"0 0 30%"});_.div({flex:1});_.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?se(.4,e.color.defaultText):se(.6,e.color.defaultText)}));_.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));_.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));_.div(({theme:e})=>({...Zu(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));_.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});_.div({display:"flex",flexFlow:"row wrap"});var tne=e=>`anchor--${e}`,rne=({storyId:e,children:t})=>y.createElement("div",{id:tne(e),className:"sb-anchor"},t);rt&&rt.__DOCS_CONTEXT__===void 0&&(rt.__DOCS_CONTEXT__=l.createContext(null),rt.__DOCS_CONTEXT__.displayName="DocsContext");var nr=rt?rt.__DOCS_CONTEXT__:l.createContext(null),Pn=(e,t)=>l.useContext(nr).resolveOf(e,t),nne=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),ane=e=>{if(e)return typeof e=="string"?e.includes("-")?nne(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function one(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}function eS(e){return Eee(e,{allowFunction:!1})}var tS=l.createContext({sources:{}}),rS="--unknown--",ine=({children:e,channel:t})=>{let[r,n]=l.useState({});return l.useEffect(()=>{let a=(o,i=null,s=!1)=>{let{id:u,args:d=void 0,source:f,format:h}=typeof o=="string"?{id:o,source:i,format:s}:o,p=d?eS(d):rS;n(m=>({...m,[u]:{...m[u],[p]:{code:f,format:h}}}))};return t.on(Dm,a),()=>t.off(Dm,a)},[]),y.createElement(tS.Provider,{value:{sources:r}},e)},lne=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[eS(t)])||(a==null?void 0:a[rS])||{code:""}},sne=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var u,d;let{__isArgsStory:a}=t.parameters,o=((u=t.parameters.docs)==null?void 0:u.source)||{},i=r||o.type||tc.AUTO;if(o.code!==void 0)return o.code;let s=i===tc.DYNAMIC||i===tc.AUTO&&e&&a?e:o.originalSource||"";return((d=n??o.transform)==null?void 0:d(s,t))||s},une=(e,t,r)=>{var m,g,v,b;let n,{of:a}=e;if("of"in e&&a===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(a)n=t.resolveOf(a,["story"]).story;else try{n=t.storyById()}catch{}let o=((g=(m=n==null?void 0:n.parameters)==null?void 0:m.docs)==null?void 0:g.source)||{},{code:i}=e,s=e.format??o.format,u=e.language??o.language??"jsx",d=e.dark??o.dark??!1;if(!i&&!n)return{error:"Oh no! The source is not available."};if(i)return{code:i,format:s,language:u,dark:d};let f=t.getStoryContext(n),h=e.__forceInitialArgs?f.initialArgs:f.unmappedArgs,p=lne(n.id,h,r);return s=p.format??((b=(v=n.parameters.docs)==null?void 0:v.source)==null?void 0:b.format)??!1,{code:sne({snippet:p.code,storyContext:{...f,args:h},typeFromProps:e.type,transformFromProps:e.transform}),format:s,language:u,dark:d}};function cne(e,t){let r=dne([e],t);return r&&r[0]}function dne(e,t){let[r,n]=l.useState({});return l.useEffect(()=>{Promise.all(e.map(async a=>{let o=await t.loadStory(a);n(i=>i[a]===o?i:{...i,[a]:o})}))}),e.map(a=>{if(r[a])return r[a];try{return t.storyById(a)}catch{return null}})}var pne=(e,t)=>{let{of:r,meta:n}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return n&&t.referenceMeta(n,!1),t.resolveOf(r||"story",["story"]).story.id},fne=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,o=a.story||{};if(a.disable)return null;if(e.inline??o.inline??!1){let s=e.height??o.height,u=e.autoplay??o.autoplay??!1;return{story:t,inline:!0,height:s,autoplay:u,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let i=e.height??o.height??o.iframeHeight??"100px";return{story:t,inline:!1,height:i,primary:!!e.__primary}},hne=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=l.useContext(nr),r=pne(e,t),n=cne(r,t);if(!n)return y.createElement(PD,null);let a=fne(e,n,t);return a?y.createElement(Yee,{...a}):null},mne=e=>{var p,m,g,v,b,x,E,C,w,D;let t=l.useContext(nr),r=l.useContext(tS),{of:n,source:a}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:o}=Pn(n||"story",["story"]),i=une({...a,...n&&{of:n}},t,r),s=e.layout??o.parameters.layout??((m=(p=o.parameters.docs)==null?void 0:p.canvas)==null?void 0:m.layout)??"padded",u=e.withToolbar??((v=(g=o.parameters.docs)==null?void 0:g.canvas)==null?void 0:v.withToolbar)??!1,d=e.additionalActions??((x=(b=o.parameters.docs)==null?void 0:b.canvas)==null?void 0:x.additionalActions),f=e.sourceState??((C=(E=o.parameters.docs)==null?void 0:E.canvas)==null?void 0:C.sourceState)??"hidden",h=e.className??((D=(w=o.parameters.docs)==null?void 0:w.canvas)==null?void 0:D.className);return y.createElement(ND,{withSource:f==="none"?void 0:i,isExpanded:f==="shown",withToolbar:u,additionalActions:d,className:h,layout:s},y.createElement(hne,{of:n||o.moduleExport,meta:e.meta,...e.story}))},gne=(e,t)=>{let r=vne(e,t);if(!r)throw new Error("No result when story was defined");return r},vne=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,o]=l.useState(r.args);l.useEffect(()=>{let u=d=>{d.storyId===n&&o(d.args)};return t.channel.on(k3,u),()=>t.channel.off(k3,u)},[n,t.channel]);let i=l.useCallback(u=>t.channel.emit(Dee,{storyId:n,updatedArgs:u}),[n,t.channel]),s=l.useCallback(u=>t.channel.emit(See,{storyId:n,argNames:u}),[n,t.channel]);return e&&[a,i,s]},yne=(e,t)=>{let r=t.getStoryContext(e),[n,a]=l.useState(r.globals);return l.useEffect(()=>{let o=i=>{a(i.globals)};return t.channel.on(_3,o),()=>t.channel.off(_3,o)},[t.channel]),[n]};function bne(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var wne=e=>{var w;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=l.useContext(nr),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:o,component:i,subcomponents:s}=n,u=((w=a.docs)==null?void 0:w.controls)||{},d=e.include??u.include,f=e.exclude??u.exclude,h=e.sort??u.sort,[p,m,g]=gne(n,r),[v]=yne(n,r),b=A3(o,d,f);if(!(s&&Object.keys(s).length>0))return Object.keys(b).length>0||Object.keys(p).length>0?y.createElement(zp,{rows:b,sort:h,args:p,globals:v,updateArgs:m,resetArgs:g}):null;let x=ane(i),E=Object.fromEntries(Object.entries(s).map(([D,S])=>[D,{rows:A3(bne(S,a),d,f),sort:h}])),C={[x]:{rows:b,sort:h},...E};return y.createElement(ene,{tabs:C,sort:h,args:p,globals:v,updateArgs:m,resetArgs:g})},{document:nS}=rt,aS=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return y.createElement(zx,null,t);let n=e&&e.split("-");return y.createElement(LD,{language:n&&n[1]||"text",format:!1,code:t,...r})};function ym(e,t){e.channel.emit(Aee,t)}var $p=$L.a,Ene=({hash:e,children:t})=>{let r=l.useContext(nr);return y.createElement($p,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);nS.getElementById(a)&&ym(r,e)}},t)},oS=e=>{let{href:t,target:r,children:n,...a}=e,o=l.useContext(nr);return!t||r==="_blank"||/^https?:\/\//.test(t)?y.createElement($p,{...e}):t.startsWith("#")?y.createElement(Ene,{hash:t},n):y.createElement($p,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),ym(o,i.currentTarget.getAttribute("href")))},target:r,...a},n)},iS=["h1","h2","h3","h4","h5","h6"],xne=iS.reduce((e,t)=>({...e,[t]:_(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),Cne=_.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),Dne=({as:e,id:t,children:r,...n})=>{let a=l.useContext(nr),o=xne[e],i=`#${t}`;return y.createElement(o,{id:t,...n},y.createElement(Cne,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:s=>{nS.getElementById(t)&&ym(a,i)}},y.createElement(TM,null)),r)},bm=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return y.createElement(Dne,{as:t,id:r,...a},n);let o=t,{as:i,...s}=e;return y.createElement(o,{...ce(s,t)})},lS=iS.reduce((e,t)=>({...e,[t]:r=>y.createElement(bm,{as:t,...r})}),{}),Sne=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(fS`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' + ${ln(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${Mt(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),XD=_.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),nre=_(XD)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),are=_.div({display:"flex",alignItems:"center",width:"100%"});function ore(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var ire=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:s,argType:u})=>{var m;let d=g=>{r(gte(g.target.value))},f=t!==void 0,h=l.useMemo(()=>ore(o),[o]),p=!!((m=u==null?void 0:u.table)!=null&&m.readonly);return y.createElement(are,{"aria-readonly":p},y.createElement(XD,null,n),y.createElement(rre,{id:Dt(e),type:"range",disabled:p,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:i}),y.createElement(nre,{numberOFDecimalsPlaces:h,max:a},f?t.toFixed(h):"--"," / ",a))},lre=_.label({display:"flex"}),sre=_.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),ure=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:i})=>{var m;let s=g=>{r(g.target.value)},u=!!((m=i==null?void 0:i.table)!=null&&m.readonly),[d,f]=l.useState(!1),h=l.useCallback(()=>{r(""),f(!0)},[f]);if(t===void 0)return y.createElement($n,{variant:"outline",size:"medium",disabled:u,id:Vs(e),onClick:h},"Set string");let p=typeof t=="string";return y.createElement(lre,null,y.createElement(Li.Textarea,{id:Dt(e),maxLength:o,onChange:s,disabled:u,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:p?null:"error",name:e,value:p?t:"",onFocus:n,onBlur:a}),o&&y.createElement(sre,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},cre=_(Li.Input)({padding:10});function dre(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var pre=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var u;let o=l.useRef(null),i=(u=a==null?void 0:a.control)==null?void 0:u.readOnly;function s(d){if(!d.target.files)return;let f=Array.from(d.target.files).map(h=>URL.createObjectURL(h));e(f),dre(n)}return l.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),y.createElement(cre,{ref:o,id:Dt(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},fre=l.lazy(()=>Lp(()=>import("./Color-ERTF36HU-ibhnuZT5.js"),__vite__mapDeps([12,2,3,1,4,5,6,7,8,9,10,11]),import.meta.url)),hre=e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(fre,{...e})),mre={array:O3,object:O3,boolean:ste,color:hre,date:hte,number:yte,check:Jn,"inline-check":Jn,radio:Jn,"inline-radio":Jn,select:Jn,"multi-select":Jn,range:ire,text:ure,file:pre},L3=()=>y.createElement(y.Fragment,null,"-"),gre=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var v;let{key:a,control:o}=e,[i,s]=l.useState(!1),[u,d]=l.useState({value:t});l.useEffect(()=>{i||d({value:t})},[i,t]);let f=l.useCallback(b=>(d({value:b}),r({[a]:b}),b),[r,a]),h=l.useCallback(()=>s(!1),[]),p=l.useCallback(()=>s(!0),[]);if(!o||o.disable){let b=(o==null?void 0:o.disable)!==!0&&((v=e==null?void 0:e.type)==null?void 0:v.name)!=="function";return n&&b?y.createElement(ga,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):y.createElement(L3,null)}let m={name:a,argType:e,value:u.value,onChange:f,onBlur:h,onFocus:p},g=mre[o.type]||L3;return y.createElement(g,{...m,...o,controlType:o.type})},vre=_.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:Ur({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),yre=({tags:e})=>{let t=(e.params||[]).filter(o=>o.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:y.createElement(y.Fragment,null,y.createElement(vre,null,y.createElement("tbody",null,n&&y.createElement("tr",{key:"deprecated"},y.createElement("td",{colSpan:2},y.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(o=>y.createElement("tr",{key:o.name},y.createElement("td",null,y.createElement("code",null,o.name)),y.createElement("td",null,o.description))),a&&y.createElement("tr",{key:"returns"},y.createElement("td",null,y.createElement("code",null,"Returns")),y.createElement("td",null,e.returns.description)))))},Bp=8,M3=_.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),bre=_.span(Ur,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),wre=_.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),Ere=_.div(Ur,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),xre=_.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),Cre=_(zM)({marginLeft:4}),Dre=_(CC)({marginLeft:4}),Sre=()=>y.createElement("span",null,"-"),QD=({text:e,simple:t})=>y.createElement(bre,{simple:t},e),Are=SD(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),kre=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return rX(t)},P3=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,Bp)),r.map(n=>y.createElement(QD,{key:n,text:n===""?'""':n}))},_re=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=l.useState(!1),[i,s]=l.useState(t||!1);if(r==null)return null;let u=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(u))return y.createElement(QD,{text:u});let d=kre(u),f=d.length;return f>Bp?y.createElement(M3,{isExpanded:i},P3(d,i),y.createElement(wre,{onClick:()=>s(!i)},i?"Show less...":`Show ${f-Bp} more...`)):y.createElement(M3,null,P3(d))}return y.createElement(OO,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:y.createElement(xre,{width:Are(n)},y.createElement(Rh,{language:"jsx",format:!1},n))},y.createElement(Ere,{className:"sbdocs-expandable"},y.createElement("span",null,u),a?y.createElement(Cre,null):y.createElement(Dre,null)))},zd=({value:e,initialExpandedArgs:t})=>e==null?y.createElement(Sre,null):y.createElement(_re,{value:e,initialExpandedArgs:t}),Fre=_.span({fontWeight:"bold"}),Ire=_.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),Tre=_.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Ur({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),Rre=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?se(.1,e.color.defaultText):se(.2,e.color.defaultText),marginTop:t?4:0})),Bre=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?se(.1,e.color.defaultText):se(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),zre=_.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),$re=e=>e&&{summary:typeof e=="string"?e:e.name},xl=e=>{var v;let[t,r]=l.useState(!1),{row:n,updateArgs:a,compact:o,expandable:i,initialExpandedArgs:s}=e,{name:u,description:d}=n,f=n.table||{},h=f.type||$re(n.type),p=f.defaultValue||n.defaultValue,m=(v=n.type)==null?void 0:v.required,g=d!=null&&d!=="";return y.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},y.createElement(zre,{expandable:i},y.createElement(Fre,null,u),m?y.createElement(Ire,{title:"Required"},"*"):null),o?null:y.createElement("td",null,g&&y.createElement(Tre,null,y.createElement(wD,null,d)),f.jsDocTags!=null?y.createElement(y.Fragment,null,y.createElement(Bre,{hasDescription:g},y.createElement(zd,{value:h,initialExpandedArgs:s})),y.createElement(yre,{tags:f.jsDocTags})):y.createElement(Rre,{hasDescription:g},y.createElement(zd,{value:h,initialExpandedArgs:s}))),o?null:y.createElement("td",null,y.createElement(zd,{value:p,initialExpandedArgs:s})),a?y.createElement("td",null,y.createElement(gre,{...e,isHovered:t})):null)},Ore=_.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),Lre=_.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),Mre=_.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),Pre=({inAddonPanel:e})=>{let[t,r]=l.useState(!0);return l.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:y.createElement(Ore,{inAddonPanel:e},y.createElement(fC,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:y.createElement(y.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:y.createElement(Lre,null,e&&y.createElement(y.Fragment,null,y.createElement(ga,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},y.createElement(_M,null)," Watch 5m video"),y.createElement(Mre,null),y.createElement(ga,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(xp,null)," Read docs")),!e&&y.createElement(ga,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(xp,null)," Learn how to set that up"))}))},Nre=_(RM)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?se(.25,e.color.defaultText):se(.3,e.color.defaultText),border:"none",display:"inline-block"})),Hre=_(BM)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?se(.25,e.color.defaultText):se(.3,e.color.defaultText),border:"none",display:"inline-block"})),jre=_.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),Vre=_.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?se(.4,e.color.defaultText):se(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),Ure=_.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),qre=_.td(()=>({position:"relative"})),Wre=_.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${ln(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),N3=_.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),$d=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=l.useState(n),s=e==="subsection"?Ure:Vre,u=(r==null?void 0:r.length)||0,d=e==="subsection"?`${u} item${u!==1?"s":""}`:"",f=`${o?"Hide":"Show"} ${e==="subsection"?u:t} item${u!==1?"s":""}`;return y.createElement(y.Fragment,null,y.createElement(Wre,{title:f},y.createElement(s,{colSpan:1},y.createElement(N3,{onClick:h=>i(!o),tabIndex:0},f),y.createElement(jre,null,o?y.createElement(Nre,null):y.createElement(Hre,null),t)),y.createElement(qre,{colSpan:a-1},y.createElement(N3,{onClick:h=>i(!o),tabIndex:-1,style:{outline:"none"}},f),o?null:d)),o?r:null)},Cl=_.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Ie=_.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),ye=_.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),Te=[2,4,2,2],Gre=()=>y.createElement(y.Fragment,null,y.createElement(Cl,null,y.createElement(Ie,{numColumn:Te[0]},y.createElement(ye,{width:"60%"})),y.createElement(Ie,{numColumn:Te[1]},y.createElement(ye,{width:"30%"})),y.createElement(Ie,{numColumn:Te[2]},y.createElement(ye,{width:"60%"})),y.createElement(Ie,{numColumn:Te[3]},y.createElement(ye,{width:"60%"}))),y.createElement(Cl,null,y.createElement(Ie,{numColumn:Te[0]},y.createElement(ye,{width:"60%"})),y.createElement(Ie,{numColumn:Te[1]},y.createElement(ye,{width:"80%"}),y.createElement(ye,{width:"30%"})),y.createElement(Ie,{numColumn:Te[2]},y.createElement(ye,{width:"60%"})),y.createElement(Ie,{numColumn:Te[3]},y.createElement(ye,{width:"60%"}))),y.createElement(Cl,null,y.createElement(Ie,{numColumn:Te[0]},y.createElement(ye,{width:"60%"})),y.createElement(Ie,{numColumn:Te[1]},y.createElement(ye,{width:"80%"}),y.createElement(ye,{width:"30%"})),y.createElement(Ie,{numColumn:Te[2]},y.createElement(ye,{width:"60%"})),y.createElement(Ie,{numColumn:Te[3]},y.createElement(ye,{width:"60%"}))),y.createElement(Cl,null,y.createElement(Ie,{numColumn:Te[0]},y.createElement(ye,{width:"60%"})),y.createElement(Ie,{numColumn:Te[1]},y.createElement(ye,{width:"80%"}),y.createElement(ye,{width:"30%"})),y.createElement(Ie,{numColumn:Te[2]},y.createElement(ye,{width:"60%"})),y.createElement(Ie,{numColumn:Te[3]},y.createElement(ye,{width:"60%"})))),Kre=_.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?se(.25,e.color.defaultText):se(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),Yre=_(bn)(({theme:e})=>({margin:"-4px -12px -4px 0"})),Jre=_.span({display:"flex",justifyContent:"space-between"}),Zre={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},Xre=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,i])=>{let{category:s,subcategory:u}=(i==null?void 0:i.table)||{};if(s){let d=r.sections[s]||{ungrouped:[],subsections:{}};if(!u)d.ungrouped.push({key:o,...i});else{let f=d.subsections[u]||[];f.push({key:o,...i}),d.subsections[u]=f}r.sections[s]=d}else if(u){let d=r.ungroupedSubsections[u]||[];d.push({key:o,...i}),r.ungroupedSubsections[u]=d}else r.ungrouped.push({key:o,...i})});let n=Zre[t],a=o=>n?Object.keys(o).reduce((i,s)=>({...i,[s]:o[s].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,i)=>({...o,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:a(r.sections[i].subsections)}}),{})}},Qre=(e,t,r)=>{try{return Ak(e,t,r)}catch(n){return Cee.warn(n.message),!1}},zp=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:i="none",isLoading:s}=e;if("error"in e){let{error:E}=e;return y.createElement(OD,null,E," ",y.createElement(ga,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},y.createElement(xp,null)," Read the docs"))}if(s)return y.createElement(Gre,null);let{rows:u,args:d,globals:f}="rows"in e&&e,h=Xre(BG(u,E=>{var C;return!((C=E==null?void 0:E.table)!=null&&C.disable)&&Qre(E,d||{},f||{})}),i),p=h.ungrouped.length===0,m=Object.entries(h.sections).length===0,g=Object.entries(h.ungroupedSubsections).length===0;if(p&&m&&g)return y.createElement(Pre,{inAddonPanel:a});let v=1;t&&(v+=1),n||(v+=2);let b=Object.keys(h.sections).length>0,x={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return y.createElement(Bx,null,y.createElement(Kre,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},y.createElement("thead",{className:"docblock-argstable-head"},y.createElement("tr",null,y.createElement("th",null,y.createElement("span",null,"Name")),n?null:y.createElement("th",null,y.createElement("span",null,"Description")),n?null:y.createElement("th",null,y.createElement("span",null,"Default")),t?y.createElement("th",null,y.createElement(Jre,null,"Control"," ",!s&&r&&y.createElement(Yre,{onClick:()=>r(),title:"Reset controls"},y.createElement($M,{"aria-hidden":!0})))):null)),y.createElement("tbody",{className:"docblock-argstable-body"},h.ungrouped.map(E=>y.createElement(xl,{key:E.key,row:E,arg:d&&d[E.key],...x})),Object.entries(h.ungroupedSubsections).map(([E,C])=>y.createElement($d,{key:E,label:E,level:"subsection",colSpan:v},C.map(w=>y.createElement(xl,{key:w.key,row:w,arg:d&&d[w.key],expandable:b,...x})))),Object.entries(h.sections).map(([E,C])=>y.createElement($d,{key:E,label:E,level:"section",colSpan:v},C.ungrouped.map(w=>y.createElement(xl,{key:w.key,row:w,arg:d&&d[w.key],...x})),Object.entries(C.subsections).map(([w,D])=>y.createElement($d,{key:w,label:w,level:"subsection",colSpan:v},D.map(S=>y.createElement(xl,{key:S.key,row:S,arg:d&&d[S.key],expandable:b,...x})))))))))},ene=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?y.createElement(zp,{...r[0][1],...t}):y.createElement(yL,null,r.map((n,a)=>{let[o,i]=n,s=`prop_table_div_${o}`,u="div",d=a===0?t:{sort:t.sort};return y.createElement(u,{key:s,id:s,title:o},({active:f})=>f?y.createElement(zp,{key:`prop_table_${o}`,...i,...d}):null)}))};_.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?se(.4,e.color.defaultText):se(.6,e.color.defaultText)}));_.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});_.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});_.div(de,({theme:e})=>({...Zu(e),margin:"25px 0 40px",padding:"30px 20px"}));_.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));_.div(({theme:e})=>({color:e.base==="light"?se(.2,e.color.defaultText):se(.6,e.color.defaultText)}));_.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});_.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?se(.4,e.color.defaultText):se(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));_.div({display:"flex",flexDirection:"row"});_.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));_.div(({theme:e})=>({...Zu(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));_.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});_.div({flex:1,display:"flex",flexDirection:"row"});_.div({display:"flex",alignItems:"flex-start"});_.div({flex:"0 0 30%"});_.div({flex:1});_.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?se(.4,e.color.defaultText):se(.6,e.color.defaultText)}));_.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));_.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));_.div(({theme:e})=>({...Zu(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));_.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});_.div({display:"flex",flexFlow:"row wrap"});var tne=e=>`anchor--${e}`,rne=({storyId:e,children:t})=>y.createElement("div",{id:tne(e),className:"sb-anchor"},t);rt&&rt.__DOCS_CONTEXT__===void 0&&(rt.__DOCS_CONTEXT__=l.createContext(null),rt.__DOCS_CONTEXT__.displayName="DocsContext");var nr=rt?rt.__DOCS_CONTEXT__:l.createContext(null),Pn=(e,t)=>l.useContext(nr).resolveOf(e,t),nne=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),ane=e=>{if(e)return typeof e=="string"?e.includes("-")?nne(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function one(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}function eS(e){return Eee(e,{allowFunction:!1})}var tS=l.createContext({sources:{}}),rS="--unknown--",ine=({children:e,channel:t})=>{let[r,n]=l.useState({});return l.useEffect(()=>{let a=(o,i=null,s=!1)=>{let{id:u,args:d=void 0,source:f,format:h}=typeof o=="string"?{id:o,source:i,format:s}:o,p=d?eS(d):rS;n(m=>({...m,[u]:{...m[u],[p]:{code:f,format:h}}}))};return t.on(Dm,a),()=>t.off(Dm,a)},[]),y.createElement(tS.Provider,{value:{sources:r}},e)},lne=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[eS(t)])||(a==null?void 0:a[rS])||{code:""}},sne=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var u,d;let{__isArgsStory:a}=t.parameters,o=((u=t.parameters.docs)==null?void 0:u.source)||{},i=r||o.type||tc.AUTO;if(o.code!==void 0)return o.code;let s=i===tc.DYNAMIC||i===tc.AUTO&&e&&a?e:o.originalSource||"";return((d=n??o.transform)==null?void 0:d(s,t))||s},une=(e,t,r)=>{var m,g,v,b;let n,{of:a}=e;if("of"in e&&a===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(a)n=t.resolveOf(a,["story"]).story;else try{n=t.storyById()}catch{}let o=((g=(m=n==null?void 0:n.parameters)==null?void 0:m.docs)==null?void 0:g.source)||{},{code:i}=e,s=e.format??o.format,u=e.language??o.language??"jsx",d=e.dark??o.dark??!1;if(!i&&!n)return{error:"Oh no! The source is not available."};if(i)return{code:i,format:s,language:u,dark:d};let f=t.getStoryContext(n),h=e.__forceInitialArgs?f.initialArgs:f.unmappedArgs,p=lne(n.id,h,r);return s=p.format??((b=(v=n.parameters.docs)==null?void 0:v.source)==null?void 0:b.format)??!1,{code:sne({snippet:p.code,storyContext:{...f,args:h},typeFromProps:e.type,transformFromProps:e.transform}),format:s,language:u,dark:d}};function cne(e,t){let r=dne([e],t);return r&&r[0]}function dne(e,t){let[r,n]=l.useState({});return l.useEffect(()=>{Promise.all(e.map(async a=>{let o=await t.loadStory(a);n(i=>i[a]===o?i:{...i,[a]:o})}))}),e.map(a=>{if(r[a])return r[a];try{return t.storyById(a)}catch{return null}})}var pne=(e,t)=>{let{of:r,meta:n}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return n&&t.referenceMeta(n,!1),t.resolveOf(r||"story",["story"]).story.id},fne=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,o=a.story||{};if(a.disable)return null;if(e.inline??o.inline??!1){let s=e.height??o.height,u=e.autoplay??o.autoplay??!1;return{story:t,inline:!0,height:s,autoplay:u,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let i=e.height??o.height??o.iframeHeight??"100px";return{story:t,inline:!1,height:i,primary:!!e.__primary}},hne=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=l.useContext(nr),r=pne(e,t),n=cne(r,t);if(!n)return y.createElement(PD,null);let a=fne(e,n,t);return a?y.createElement(Yee,{...a}):null},mne=e=>{var p,m,g,v,b,x,E,C,w,D;let t=l.useContext(nr),r=l.useContext(tS),{of:n,source:a}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:o}=Pn(n||"story",["story"]),i=une({...a,...n&&{of:n}},t,r),s=e.layout??o.parameters.layout??((m=(p=o.parameters.docs)==null?void 0:p.canvas)==null?void 0:m.layout)??"padded",u=e.withToolbar??((v=(g=o.parameters.docs)==null?void 0:g.canvas)==null?void 0:v.withToolbar)??!1,d=e.additionalActions??((x=(b=o.parameters.docs)==null?void 0:b.canvas)==null?void 0:x.additionalActions),f=e.sourceState??((C=(E=o.parameters.docs)==null?void 0:E.canvas)==null?void 0:C.sourceState)??"hidden",h=e.className??((D=(w=o.parameters.docs)==null?void 0:w.canvas)==null?void 0:D.className);return y.createElement(ND,{withSource:f==="none"?void 0:i,isExpanded:f==="shown",withToolbar:u,additionalActions:d,className:h,layout:s},y.createElement(hne,{of:n||o.moduleExport,meta:e.meta,...e.story}))},gne=(e,t)=>{let r=vne(e,t);if(!r)throw new Error("No result when story was defined");return r},vne=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,o]=l.useState(r.args);l.useEffect(()=>{let u=d=>{d.storyId===n&&o(d.args)};return t.channel.on(k3,u),()=>t.channel.off(k3,u)},[n,t.channel]);let i=l.useCallback(u=>t.channel.emit(Dee,{storyId:n,updatedArgs:u}),[n,t.channel]),s=l.useCallback(u=>t.channel.emit(See,{storyId:n,argNames:u}),[n,t.channel]);return e&&[a,i,s]},yne=(e,t)=>{let r=t.getStoryContext(e),[n,a]=l.useState(r.globals);return l.useEffect(()=>{let o=i=>{a(i.globals)};return t.channel.on(_3,o),()=>t.channel.off(_3,o)},[t.channel]),[n]};function bne(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var wne=e=>{var w;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=l.useContext(nr),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:o,component:i,subcomponents:s}=n,u=((w=a.docs)==null?void 0:w.controls)||{},d=e.include??u.include,f=e.exclude??u.exclude,h=e.sort??u.sort,[p,m,g]=gne(n,r),[v]=yne(n,r),b=A3(o,d,f);if(!(s&&Object.keys(s).length>0))return Object.keys(b).length>0||Object.keys(p).length>0?y.createElement(zp,{rows:b,sort:h,args:p,globals:v,updateArgs:m,resetArgs:g}):null;let x=ane(i),E=Object.fromEntries(Object.entries(s).map(([D,S])=>[D,{rows:A3(bne(S,a),d,f),sort:h}])),C={[x]:{rows:b,sort:h},...E};return y.createElement(ene,{tabs:C,sort:h,args:p,globals:v,updateArgs:m,resetArgs:g})},{document:nS}=rt,aS=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return y.createElement(zx,null,t);let n=e&&e.split("-");return y.createElement(LD,{language:n&&n[1]||"text",format:!1,code:t,...r})};function ym(e,t){e.channel.emit(Aee,t)}var $p=$L.a,Ene=({hash:e,children:t})=>{let r=l.useContext(nr);return y.createElement($p,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);nS.getElementById(a)&&ym(r,e)}},t)},oS=e=>{let{href:t,target:r,children:n,...a}=e,o=l.useContext(nr);return!t||r==="_blank"||/^https?:\/\//.test(t)?y.createElement($p,{...e}):t.startsWith("#")?y.createElement(Ene,{hash:t},n):y.createElement($p,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),ym(o,i.currentTarget.getAttribute("href")))},target:r,...a},n)},iS=["h1","h2","h3","h4","h5","h6"],xne=iS.reduce((e,t)=>({...e,[t]:_(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),Cne=_.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),Dne=({as:e,id:t,children:r,...n})=>{let a=l.useContext(nr),o=xne[e],i=`#${t}`;return y.createElement(o,{id:t,...n},y.createElement(Cne,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:s=>{nS.getElementById(t)&&ym(a,i)}},y.createElement(TM,null)),r)},bm=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return y.createElement(Dne,{as:t,id:r,...a},n);let o=t,{as:i,...s}=e;return y.createElement(o,{...ce(s,t)})},lS=iS.reduce((e,t)=>({...e,[t]:r=>y.createElement(bm,{as:t,...r})}),{}),Sne=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(fS`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' This is often caused by not wrapping the child in a template string. This is invalid: diff --git a/assets/EmailButton.stories-DDhgbBJo.js b/assets/EmailButton.stories-CP96RD6Q.js similarity index 92% rename from assets/EmailButton.stories-DDhgbBJo.js rename to assets/EmailButton.stories-CP96RD6Q.js index e62b2952..b8236adc 100644 --- a/assets/EmailButton.stories-DDhgbBJo.js +++ b/assets/EmailButton.stories-CP96RD6Q.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{B as m}from"./Button-DAm4UwbF.js";import{R as p}from"./Row-BXpfxHoR.js";import{u as d}from"./useOpenMailUrl-Cpc3v_r1.js";import{a as c}from"./accessibleText-gmNPjmn1.js";import{P as g}from"./index-DOpK3Ow6.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-CEE--Juu.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-BDsvWohO.js";import"./config-BZnShabN.js";import"./Icon-DcC-yiY8.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./useTheme-CJIBCVMY.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./base-color-CZpuL6yQ.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-XPwQYiUg.js";const v=e=>g.OS==="ios"?e.replaceAll("."," punt ").replaceAll("-"," min "):e,l=({email:e,subject:n,...u})=>{const s=d();return r.jsx(p,{children:r.jsx(m,{...u,accessibilityLabel:c("Stuur een e-mail naar",v(e)),ellipsizeMode:"tail",iconName:"email",label:e,onPress:()=>{s(e,n)}})})};try{l.displayName="EmailButton",l.__docgenInfo={description:"",displayName:"EmailButton",props:{email:{defaultValue:null,description:"",name:"email",required:!0,type:{name:"string"}},subject:{defaultValue:null,description:"",name:"subject",required:!1,type:{name:"string"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},ellipsizeMode:{defaultValue:null,description:"",name:"ellipsizeMode",required:!1,type:{name:"enum",value:[{value:'"head"'},{value:'"tail"'},{value:'"middle"'},{value:'"clip"'}]}},isLoading:{defaultValue:null,description:"",name:"isLoading",required:!1,type:{name:"boolean"}},numberOfLines:{defaultValue:null,description:"",name:"numberOfLines",required:!1,type:{name:"number"}},small:{defaultValue:null,description:"",name:"small",required:!1,type:{name:"boolean"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}}}}}catch{}const $={component:l,argTypes:{onPress:{action:"onPress"}}},a={args:{email:"ontwikkelingzeeburgereiland@amsterdam.nl",subject:"Vraag over zeeburg."}};var t,i,o;a.parameters={...a.parameters,docs:{...(t=a.parameters)==null?void 0:t.docs,source:{originalSource:`{ +import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{B as m}from"./Button-CM8byzny.js";import{R as p}from"./Row-BY9zY_5g.js";import{u as d}from"./useOpenMailUrl-Cpc3v_r1.js";import{a as c}from"./accessibleText-gmNPjmn1.js";import{P as g}from"./index-DOpK3Ow6.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-CEE--Juu.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-BDsvWohO.js";import"./config-BZnShabN.js";import"./Icon-CHbD1j2W.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./useTheme-BWbL_sDV.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./base-color-B2rPH-Aj.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-XPwQYiUg.js";const v=e=>g.OS==="ios"?e.replaceAll("."," punt ").replaceAll("-"," min "):e,l=({email:e,subject:n,...u})=>{const s=d();return r.jsx(p,{children:r.jsx(m,{...u,accessibilityLabel:c("Stuur een e-mail naar",v(e)),ellipsizeMode:"tail",iconName:"email",label:e,onPress:()=>{s(e,n)}})})};try{l.displayName="EmailButton",l.__docgenInfo={description:"",displayName:"EmailButton",props:{email:{defaultValue:null,description:"",name:"email",required:!0,type:{name:"string"}},subject:{defaultValue:null,description:"",name:"subject",required:!1,type:{name:"string"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},ellipsizeMode:{defaultValue:null,description:"",name:"ellipsizeMode",required:!1,type:{name:"enum",value:[{value:'"head"'},{value:'"tail"'},{value:'"middle"'},{value:'"clip"'}]}},isLoading:{defaultValue:null,description:"",name:"isLoading",required:!1,type:{name:"boolean"}},numberOfLines:{defaultValue:null,description:"",name:"numberOfLines",required:!1,type:{name:"number"}},small:{defaultValue:null,description:"",name:"small",required:!1,type:{name:"boolean"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}}}}}catch{}const $={component:l,argTypes:{onPress:{action:"onPress"}}},a={args:{email:"ontwikkelingzeeburgereiland@amsterdam.nl",subject:"Vraag over zeeburg."}};var t,i,o;a.parameters={...a.parameters,docs:{...(t=a.parameters)==null?void 0:t.docs,source:{originalSource:`{ args: { email: 'ontwikkelingzeeburgereiland@amsterdam.nl', subject: 'Vraag over zeeburg.' diff --git a/assets/EmptyMessage.stories-uQmD_nYy.js b/assets/EmptyMessage.stories-DMtnXbDd.js similarity index 90% rename from assets/EmptyMessage.stories-uQmD_nYy.js rename to assets/EmptyMessage.stories-DMtnXbDd.js index 5518dfc3..bc0a8907 100644 --- a/assets/EmptyMessage.stories-uQmD_nYy.js +++ b/assets/EmptyMessage.stories-DMtnXbDd.js @@ -1,4 +1,4 @@ -import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{S as l}from"./SingleSelectable-Bg8zzmoU.js";import{P as c}from"./Paragraph-DkRs_aGj.js";import{T as d}from"./Title-9ScEYPym.js";import{u}from"./useAccessibilityAnnounce-DO7gK7r3.js";import{D as g}from"./duration-A4BOymd5.js";import{a as f}from"./accessibleText-gmNPjmn1.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-CEE--Juu.js";import"./index-BDsvWohO.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-CZpuL6yQ.js";import"./index-BypDj3rK.js";import"./useIsScreenReaderEnabled-BGYkQQWr.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./development-DYCnWZjk.js";import"./index-kJeFfQx-.js";const s=({showTitle:t=!0,testID:p,text:r})=>{const o=t?"Helaas …":"";return u(`${o} ${r}`,g.normal),a.jsxs(l,{accessibilityLabel:f(o,r),accessibilityLanguage:"nl-NL",testID:p,children:[!!t&&a.jsx(d,{level:"h3",text:o}),a.jsx(c,{children:r})]})};try{s.displayName="EmptyMessage",s.__docgenInfo={description:"",displayName:"EmptyMessage",props:{showTitle:{defaultValue:{value:"true"},description:"",name:"showTitle",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const H={component:s},e={args:{text:"We hebben geen werkzaamheden gevonden voor dit adres."}};var i,m,n;e.parameters={...e.parameters,docs:{...(i=e.parameters)==null?void 0:i.docs,source:{originalSource:`{ +import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{S as l}from"./SingleSelectable-Bg8zzmoU.js";import{P as c}from"./Paragraph-CJTJBOQl.js";import{T as d}from"./Title-Dg8-Cp53.js";import{u}from"./useAccessibilityAnnounce-DO7gK7r3.js";import{D as g}from"./duration-A4BOymd5.js";import{a as f}from"./accessibleText-gmNPjmn1.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-CEE--Juu.js";import"./index-BDsvWohO.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-BypDj3rK.js";import"./useIsScreenReaderEnabled-BGYkQQWr.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./development-DYCnWZjk.js";import"./index-kJeFfQx-.js";const s=({showTitle:t=!0,testID:p,text:r})=>{const o=t?"Helaas …":"";return u(`${o} ${r}`,g.normal),a.jsxs(l,{accessibilityLabel:f(o,r),accessibilityLanguage:"nl-NL",testID:p,children:[!!t&&a.jsx(d,{level:"h3",text:o}),a.jsx(c,{children:r})]})};try{s.displayName="EmptyMessage",s.__docgenInfo={description:"",displayName:"EmptyMessage",props:{showTitle:{defaultValue:{value:"true"},description:"",name:"showTitle",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const H={component:s},e={args:{text:"We hebben geen werkzaamheden gevonden voor dit adres."}};var i,m,n;e.parameters={...e.parameters,docs:{...(i=e.parameters)==null?void 0:i.docs,source:{originalSource:`{ args: { text: 'We hebben geen werkzaamheden gevonden voor dit adres.' } diff --git a/assets/Fader.stories-DaSWQsVr.js b/assets/Fader.stories-DiOrIKkv.js similarity index 85% rename from assets/Fader.stories-DaSWQsVr.js rename to assets/Fader.stories-DiOrIKkv.js index a121ab58..7aaf8743 100644 --- a/assets/Fader.stories-DaSWQsVr.js +++ b/assets/Fader.stories-DiOrIKkv.js @@ -1 +1 @@ -import{j as p}from"./jsx-runtime-Bxcv0yjW.js";import{F as e}from"./Fader-BysHR2L8.js";import{B as a}from"./Block-SFKht2RU.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./index-S14X4tbk.js";import"./index-kJeFfQx-.js";import"./Animated-C23eizOh.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./base-color-CZpuL6yQ.js";const b={component:e,args:{children:p.jsx(a,{label:"Darth Fader"})}},r={};var o,t,m;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(m=(t=r.parameters)==null?void 0:t.docs)==null?void 0:m.source}}};const k=["Default"];export{r as Default,k as __namedExportsOrder,b as default}; +import{j as p}from"./jsx-runtime-Bxcv0yjW.js";import{F as e}from"./Fader-BysHR2L8.js";import{B as a}from"./Block-B9hfeL6e.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./index-S14X4tbk.js";import"./index-kJeFfQx-.js";import"./Animated-C23eizOh.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./base-color-B2rPH-Aj.js";const b={component:e,args:{children:p.jsx(a,{label:"Darth Fader"})}},r={};var o,t,m;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(m=(t=r.parameters)==null?void 0:t.docs)==null?void 0:m.source}}};const k=["Default"];export{r as Default,k as __namedExportsOrder,b as default}; diff --git a/assets/FauxButton.stories-DnlhMAWp.js b/assets/FauxButton.stories-BpYB0J9o.js similarity index 86% rename from assets/FauxButton.stories-DnlhMAWp.js rename to assets/FauxButton.stories-BpYB0J9o.js index 7519da59..30705ccd 100644 --- a/assets/FauxButton.stories-DnlhMAWp.js +++ b/assets/FauxButton.stories-BpYB0J9o.js @@ -1 +1 @@ -import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{c as p}from"./config-BZnShabN.js";import{P as c}from"./Phrase-t0rOiClQ.js";import{V as m}from"./index-BDsvWohO.js";import{s as u}from"./index-CEE--Juu.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-CZpuL6yQ.js";import"./index-BypDj3rK.js";import"./TextAncestorContext-Cvz4PlE2.js";const e=({children:o,testID:i})=>r.jsx(m,{style:l.button,children:r.jsx(c,{testID:i,children:o})}),l=u.create({button:{minHeight:p.buttonHeight,flexDirection:"column",justifyContent:"center"}});try{e.displayName="FauxButton",e.__docgenInfo={description:"A faux button is not an actual button, but a helper component for a specific design pattern: when label and a button are horizontally aligned, this component can be used to align the baseline of the label text with the baseline of the button text.",displayName:"FauxButton",props:{testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const w={component:e,args:{children:"Hi!"},argTypes:{onPress:{action:"onPress"}}},t={};var n,a,s;t.parameters={...t.parameters,docs:{...(n=t.parameters)==null?void 0:n.docs,source:{originalSource:"{}",...(s=(a=t.parameters)==null?void 0:a.docs)==null?void 0:s.source}}};const H=["Default"];export{t as Default,H as __namedExportsOrder,w as default}; +import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{c as p}from"./config-BZnShabN.js";import{P as c}from"./Phrase-CsqFctWr.js";import{V as m}from"./index-BDsvWohO.js";import{s as u}from"./index-CEE--Juu.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-BypDj3rK.js";import"./TextAncestorContext-Cvz4PlE2.js";const e=({children:o,testID:i})=>r.jsx(m,{style:l.button,children:r.jsx(c,{testID:i,children:o})}),l=u.create({button:{minHeight:p.buttonHeight,flexDirection:"column",justifyContent:"center"}});try{e.displayName="FauxButton",e.__docgenInfo={description:"A faux button is not an actual button, but a helper component for a specific design pattern: when label and a button are horizontally aligned, this component can be used to align the baseline of the label text with the baseline of the button text.",displayName:"FauxButton",props:{testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const w={component:e,args:{children:"Hi!"},argTypes:{onPress:{action:"onPress"}}},t={};var n,a,s;t.parameters={...t.parameters,docs:{...(n=t.parameters)==null?void 0:n.docs,source:{originalSource:"{}",...(s=(a=t.parameters)==null?void 0:a.docs)==null?void 0:s.source}}};const H=["Default"];export{t as Default,H as __namedExportsOrder,w as default}; diff --git a/assets/Figure.stories-ClUqZiEM.js b/assets/Figure.stories-EMzST93X.js similarity index 93% rename from assets/Figure.stories-ClUqZiEM.js rename to assets/Figure.stories-EMzST93X.js index 46013827..65507ca9 100644 --- a/assets/Figure.stories-ClUqZiEM.js +++ b/assets/Figure.stories-EMzST93X.js @@ -1,4 +1,4 @@ -import{j as o}from"./jsx-runtime-Bxcv0yjW.js";import{r as d}from"./index-mfbfsM12.js";import{u as g}from"./useThemable-CjWxbHxI.js";import{V as n}from"./index-BDsvWohO.js";import{s as h}from"./index-CEE--Juu.js";import{S as f}from"./household-waste-to-container-gxPFJly2.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-CZpuL6yQ.js";import"./TextAncestorContext-Cvz4PlE2.js";const i=({aspectRatio:e="wide",height:t,children:a,...p})=>{const u=d.useMemo(()=>y({aspectRatio:e,height:t}),[e,t]),s=g(u);return o.jsx(n,{accessibilityLanguage:"nl-NL",...p,style:s.figure,children:o.jsx(n,{style:s.content,children:a})})},y=({aspectRatio:e,height:t})=>({media:a})=>h.create({figure:{flexDirection:"row",justifyContent:"center",overflow:"hidden"},content:{maxWidth:"100%",minHeight:t,aspectRatio:a.aspectRatio[e]}});try{i.displayName="Figure",i.__docgenInfo={description:`Horizontally centers media content, e.g. an image or video. +import{j as o}from"./jsx-runtime-Bxcv0yjW.js";import{r as d}from"./index-mfbfsM12.js";import{u as g}from"./useThemable-BlSbywuP.js";import{V as n}from"./index-BDsvWohO.js";import{s as h}from"./index-CEE--Juu.js";import{S as f}from"./household-waste-to-container-gxPFJly2.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./TextAncestorContext-Cvz4PlE2.js";const i=({aspectRatio:e="wide",height:t,children:a,...p})=>{const u=d.useMemo(()=>y({aspectRatio:e,height:t}),[e,t]),s=g(u);return o.jsx(n,{accessibilityLanguage:"nl-NL",...p,style:s.figure,children:o.jsx(n,{style:s.content,children:a})})},y=({aspectRatio:e,height:t})=>({media:a})=>h.create({figure:{flexDirection:"row",justifyContent:"center",overflow:"hidden"},content:{maxWidth:"100%",minHeight:t,aspectRatio:a.aspectRatio[e]}});try{i.displayName="Figure",i.__docgenInfo={description:`Horizontally centers media content, e.g. an image or video. Applies the aspect ratio and height to the content.`,displayName:"Figure",props:{aspectRatio:{defaultValue:{value:"wide"},description:"",name:"aspectRatio",required:!1,type:{name:"enum",value:[{value:'"extraWide"'},{value:'"narrow"'},{value:'"square"'},{value:'"wide"'},{value:'"tight"'}]}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"number"}}}}}catch{}const q={component:i},r={args:{aspectRatio:"wide",children:o.jsx(f,{}),height:256}};var c,l,m;r.parameters={...r.parameters,docs:{...(c=r.parameters)==null?void 0:c.docs,source:{originalSource:`{ args: { aspectRatio: 'wide', diff --git a/assets/FigureWithFacadesBackground.stories-CbdUg9P5.js b/assets/FigureWithFacadesBackground.stories-CGO0mVpI.js similarity index 99% rename from assets/FigureWithFacadesBackground.stories-CbdUg9P5.js rename to assets/FigureWithFacadesBackground.stories-CGO0mVpI.js index c2a0a3b3..73ae5606 100644 --- a/assets/FigureWithFacadesBackground.stories-CbdUg9P5.js +++ b/assets/FigureWithFacadesBackground.stories-CGO0mVpI.js @@ -1,4 +1,4 @@ -import{j as v}from"./jsx-runtime-Bxcv0yjW.js";import{u as M}from"./index-DbcoTUCW.js";import{r as e}from"./index-mfbfsM12.js";import{u as I}from"./useDeviceContext-DGl4H2w7.js";import{u as y}from"./useThemable-CjWxbHxI.js";import{V as r}from"./index-BDsvWohO.js";import{s as F}from"./index-CEE--Juu.js";import{S as k}from"./household-waste-to-container-gxPFJly2.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-C3bJM-gU.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-CZpuL6yQ.js";const w=l=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 256",...l},e.createElement("path",{d:"M592.8 157.1h-3V186h4l10.1-17.5 1.9-1.1H631l2 1.1 7.9 16.3 2 1.1h7.3v-9.5l-3-.2 10.7-18 2-1.1h26.3l1.9 1.1 7.4 11.7v-16.6h9.6v-6.8h8.5V139h9v-7.4H737v7.3h9v7.5h8.6v6.9h9.4v-13.2h20.2v-15.6h59.3v16.8h21.8V177l29.1-18 25.6 14.9.5 82-787.1-.3V158h8.5v-6.6h8.4v-7.3h8.7V137h13.7v7.2h8.8v7.2h8.3v6.6h9.3v16.1l7.1-11.3 1.9-1.1h25.4l1.9 1.1 10.4 17.4-3 .2v9.2h7.1l2-1.1 7.7-15.8 2-1.1H286l1.9 1 9.8 16.9h6c2.2-2 2.3-6.7 2.3-6.7l3.8-.2s1-10.6 13.7-10.6 12.4 10.6 12.4 10.6l3.7.2s.2 5.4 2.3 6.6c.3.2 0-21.3 0-21.3H337l31.5-41.3.2-9.6-2.4-.3s.8-6.8 7.8-6.8 7.9 6.8 7.9 6.8l-2.4.2v9.4l31.4 41.3h-4.6v15.3h9.2v-24.2h6.6s5.2-10.8 22.9-10.8 21.7 10.7 21.7 10.7h5.6v24.4h8.2l.3-50.6h-3.4l3.8-8.9 4.6-24.9h5.3l7.4-6.9 7.7 6.9h21.4l1.8 1.8 3.2 19.7 4.9 12.3H533v60.8l2.9-9.8 2.4-2.2h5.7l1.6 1.4 3.1 10.6V157h-3.6l24.2-14.9 23.5 15zm368 98.6h192.1V151.8h3.8v-3.9h-3.7l-34.1-15.1v-7.6h-7.4l-.1 7.6h-37.8l-.2-7.6h-5.9l-.2-25.2-7.6-7.6V78.6h-4.9v13.8l-7.7 8.9v23.9h-6.3v7.6H1008v-7.6h-7.5v7.6l-32.8 13.8h-10.1v4.7h3.8z",fill:"#efefef"}),e.createElement("path",{d:"M975.3 165.6h12.6v17.7h-12.6zm25.2 0h12.6v17.7h-12.6zm25.2 0h12.6v17.7h-12.6zm-50.4 34h12.6v22.7h-12.6zm75.6-34h12.6v17.7h-12.6zm25.2 0h12.6v17.7h-12.6zm25.2 0h12.6v17.7h-12.6zm25.2 0h12.6v17.7h-12.6zm-126 34h12.6v22.7h-12.6zm25.2 0h12.6v22.7h-12.6zm25.2 0h12.6v22.7h-12.6zm25.2 0h12.6v22.7h-12.6zm25.2 0h12.6v22.7h-12.6zm25.2 0h12.6v22.7h-12.6zm-151.2 31.5h12.6v17.6h-12.6zm25.2 0h12.6v17.6h-12.6zm25.2 0h12.6v17.6h-12.6z",fill:"#f9f9f9",stroke:"#F0F0F0"}),e.createElement("path",{fill:"#f9f9f9",d:"M1050.9 230.5h12.6v25.2h-12.6z"}),e.createElement("path",{d:"M1076.1 231.1h12.6v17.6h-12.6zm25.2 0h12.6v17.6h-12.6zm25.2 0h12.6v17.6h-12.6z",fill:"#f9f9f9",stroke:"#F0F0F0"}),e.createElement("path",{d:"M1521.6 156.5h3v8.4l-.1 20.5h-4l-10.1-17.5-1.9-1.1h-25.2l-2 1.1-7.9 16.3-2 1.1h-7.3v-9.5l3.1-.2-10.7-18-2-1.1h-26.3l-1.9 1.1-7.4 11.7v-16.6h-9.6v-6.8h-8.5v-7.5h-9V131h-14.1v7.3h-9v7.5h-8.6v6.9h-9.4v-13.2h-20.2v-15.6h-59.3v16.8H1249v35.7l-29.1-18-25.6 14.9-.5 82 787.1-.3v-97.6h-8.5v-6.6h-8.3v-7.3h-8.7v-7.1h-13.7v7.2h-8.8v7.2h-8.3v6.6h-9.3v16.1l-7.1-11.3-1.9-1.1h-25.4l-1.9 1.1-10.4 17.4 3 .2v9.2h-7.1l-2-1.1-7.7-15.8-2-1.1h-24.4l-1.9 1-9.8 16.9h-6c-2.2-2-2.3-6.7-2.3-6.7l-3.8-.2s-1-10.6-13.7-10.6-12.4 10.6-12.4 10.6l-3.7.2s-.2 5.4-2.3 6.6c-.3.2 0-21.3 0-21.3h4.9l-31.5-41.3-.2-9.6 2.4-.3s-.8-6.8-7.8-6.8-7.9 6.8-7.9 6.8l2.4.2v9.4l-31.3 41.3h4.6v15.3h-9.2v-24.2h-6.6s-5.2-10.8-22.9-10.8-21.7 10.7-21.7 10.7h-5.6v24.4h-8.2l-.3-50.6h3.4l-3.8-8.9-4.6-24.9h-5.3l-7.4-6.9-7.7 6.9h-21.4l-1.8 1.8-3.2 19.7-4.9 12.3h4.6v60.8l-2.9-9.8-2.4-2.2h-5.7l-1.6 1.4-3.1 10.6v-36.4h3.6l-24.2-14.9-23.6 15zM139 204.5c0-5.6-3.5-10.3-8.3-11.9v-.6c0-6.9-5-12.5-11.2-12.5-2.7 0-5.1 1-7 2.8-1.6-.9-3.5-1.4-5.4-1.4-6.5 0-11.9 5.7-12.4 12.9-6.4 1.6-11.2 7.9-11.2 15.6 0 8.7 6.2 15.7 13.9 15.9 0 .2-.1.5-.1.7 0 3.4 2.8 6.2 6.2 6.2 1.3 0 2.5-.4 3.5-1.1v24.6h8.3v-25.8c1.3.5 2.8.8 4.3.8 7 0 12.6-5.9 12.6-13.2 0-.7-.1-1.3-.2-1.9 4.2-1.9 7-6.1 7-11.1zM107.5 221v.2-.2c0 .1 0 0 0 0zm7.6-15.6z",fill:"#efefef"}),e.createElement("path",{d:"M88.5 218.3c0-4-2.5-7.4-6-8.6v-.4c0-5-3.6-9-8.1-9-1.9 0-3.7.8-5.1 2-1.2-.6-2.5-1-3.9-1-4.7 0-8.6 4.1-8.9 9.3-4.6 1.1-8.1 5.7-8.1 11.2 0 6.3 4.5 11.3 10.1 11.5 0 .2-.1.3-.1.5 0 2.5 2 4.5 4.5 4.5.9 0 1.8-.3 2.5-.8v17.8h6v-18.6c1 .4 2 .6 3.1.6 5 0 9.1-4.3 9.1-9.5 0-.5 0-.9-.1-1.4 3-1.4 5-4.5 5-8.1zm-22.7 11.9v.1-.1c0 .1 0 0 0 0zm5.5-11.3c0 .1 0 .1 0 0 0 .1-.1.1 0 0-.1.1 0 .1 0 0z",fill:"#efefef"}),e.createElement("path",{d:"M58 224.4c0-3.4-2.1-6.2-5-7.2v-.4c0-4.2-3-7.5-6.7-7.5-1.6 0-3.1.6-4.2 1.7-1-.5-2.1-.8-3.3-.8-3.9 0-7.2 3.4-7.5 7.8-3.9.9-6.8 4.8-6.8 9.4 0 5.2 3.7 9.5 8.4 9.6v.4c0 2.1 1.7 3.8 3.8 3.8.8 0 1.5-.2 2.1-.6v14.9h5V240c.8.3 1.7.5 2.6.5 4.2 0 7.6-3.6 7.6-7.9 0-.4 0-.8-.1-1.2 2.4-1.5 4.1-4 4.1-7zm-19 9.9v.1-.1c-.1.1 0 0 0 0zm4.6-9.4c-.1 0-.1 0 0 0-.1 0-.1 0 0 0zM2036.3 204c0-5.6-3.5-10.3-8.3-11.9v-.6c0-6.9-5-12.5-11.2-12.5-2.7 0-5.1 1-7 2.8-1.6-.9-3.5-1.4-5.4-1.4-6.5 0-11.9 5.7-12.4 12.9-6.4 1.6-11.2 7.9-11.2 15.6 0 8.7 6.2 15.7 13.9 15.9 0 .2-.1.5-.1.7 0 3.4 2.8 6.2 6.2 6.2 1.3 0 2.5-.4 3.5-1.1v24.6h8.3v-25.8c1.3.5 2.8.8 4.3.8 7 0 12.6-5.9 12.6-13.2 0-.7-.1-1.3-.2-1.9 4.2-1.8 7-6.1 7-11.1zm-31.5 16.5v.2-.2c0 .1 0 .1 0 0zm7.6-15.6c0 .1 0 .1 0 0 0 .1 0 0 0 0zm-817.6 14.2c0-4-2.5-7.4-6-8.6v-.4c0-5-3.6-9-8.1-9-1.9 0-3.7.8-5.1 2-1.2-.6-2.5-1-3.9-1-4.7 0-8.6 4.1-8.9 9.3-4.6 1.1-8.1 5.7-8.1 11.2 0 6.3 4.5 11.3 10.1 11.5 0 .2-.1.3-.1.5 0 2.5 2 4.5 4.5 4.5.9 0 1.8-.3 2.5-.8v17.8h6v-18.6c1 .4 2 .6 3.1.6 5 0 9.1-4.3 9.1-9.5 0-.5 0-.9-.1-1.4 3-1.4 5-4.5 5-8.1zm-22.7 11.9v.1s-.1 0 0-.1c-.1 0 0 0 0 0zm5.4-11.3s0 .1 0 0c0 .1 0 .1 0 0 0 .1 0 0 0 0zm-225.7 5.5c0-3.4-2.1-6.2-5-7.2v-.4c0-4.2-3-7.5-6.7-7.5-1.6 0-3.1.6-4.2 1.7-1-.5-2.1-.8-3.3-.8-3.9 0-7.2 3.4-7.5 7.8-3.9.9-6.8 4.8-6.8 9.4 0 5.2 3.7 9.5 8.4 9.6v.4c0 2.1 1.7 3.8 3.8 3.8.8 0 1.5-.2 2.1-.6v14.9h5v-15.5c.8.3 1.7.5 2.6.5 4.2 0 7.6-3.6 7.6-7.9 0-.4 0-.8-.1-1.2 2.4-1.5 4.1-4.1 4.1-7zm-19 9.9v.1-.1zm4.6-9.4z",fill:"#efefef"})),_=l=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 256",...l},e.createElement("path",{fill:"none",stroke:"#efefef",strokeMiterlimit:10,strokeWidth:2,d:"M186 232.7h46.1v-21.3l8.6-26.4h-8.6l-.1-5h10.8l6.8-25.9-.9-2.3-23.1 26.4-4.6-6 25.8-22.1 2.9-11.3-26.5-27.8 6-5.8 23 28.8 6.8 1.3 29.8-30.1 4.1 5.9-30.3 26.1 1.8 10.7 19.8 21h4.3l12.4-31.1 9.7 28.9h3.6V162l3.6-.3v-4.1l3.6.4v-3.9l4.9.1v4.1l3.6-.3v4.1l3.6-.3v5h2.4l2.5-23.3h1.8l2.5 11.4 3.7-1s6.3-6.4 6.4-11.8-.6-7.9-.6-7.9h10.1s-1.2.7-.4 7.2c.8 6.6 7.6 14 7.6 14l2.8-15.1 12.3-8.6 11 7.5 14.5-81.6 13.8 81.8 5.8-.1 1.2 26.4h11s-2.4 4.4 0 7.8 10.6 2.5 10.6 2.5v10.4l48.8-2-1-27.6 14.6-40.2 10.8 38.4 1.6 13.8 15.8-.7 3.1-12.3 4.3 11.6 15 1v-12.6l12.6-37.9 12.1 36.4 1.3 14-.1 15.9h48.5l.4-8.2s2.9 1.8 5-3.1 4.5-11.2 4.5-11.2h13.5s1.6 5 3.8 9.4 6.8 6 6.8 6V56.8l7.1-1.2V40.2l7.3-.5 7-9.4 6.7 9.4 7.4.5v15.4l7.6 1.2v42l2.7.1V84.6s16.6-1.9 28.7-1.9 30.3 2 30.3 2v129.9l5.1-53.3 3.5-6.9 3.4 6 2.4 44.5 3.9-.5 1.8-39.6 9.1-15.6 6.4 9.6 11.9.1 2.3-8.7 3.8.2 1.3 8.1 29.8.5 1.5-8.8 3.9.1 2.3 7.9 12.9-.2 3.5-28.9s4.9-10 12.2-8.8c7.3 1.3 10.2 7.6 10.2 7.6l4 28.3 12.8 1.3 2.2-8.2h3.7l2.3 9.5 29.3-1.9 2.4-8.8h4.9l.9 10.7 12.5-.7 4.9-12.8 4.9.2 7.3 16.3 1.2 47.7h4.9l-1.1-23.1 2.4-1.3V65.5l3.5-.4V47.9l6.5-4 .5-13.5 12-4.7-8.9-2.1-.3-2.4 10.9-1.3 2.4-17.6h2.3l2.6 17.6 10.9 1.3v3.5l-10 .6 13.7 6v13.6l5.8 2.8v18.1l4 .6-1.2 129.9h.9l.7-34.2 8.1-.3-.4-16.2 5.3-.2v-16l6.1-.3-1.3-15.4 5.9-.9.3-15.1 6.9.2V85.8h11.4l-.1 10.5 5 .2v16.1l6.2-.4V129l5.9-.5v16.8l5.4-.1v17.7l2 .2v-17.6l4.7.1v-17.9h6l.3-15.1 5.6.2-.8-10.4h9.7v10.4l4.9.1-.4 13.3 7.6.5-.1 17.4 7.5.2V158l6.1 1.4v16.4l4.9-.1 1.2 23.9 4.4-.5-1-141.5 69.4-.6.1 59.7-36.1-.1v22.6l36.7-1.1v46.1s9-3.6 9-9.8v-13.6l3.7-.2v9.6l11.2.3-.2-11.1h3.7s-2.4 10 2.4 15.1c4.9 5 3.7 20.4 3.7 20.4l32.8 1.5-.1-57.1h8.5l.5-11.6h10.4l-.1 11.2 8 .3v33.1s6.9-17.4 13.5-17c6.6.4 15 14.5 15 14.5v-24.7l7.5-.7v-13.6h9.7v12.9l9.9 1.2.2 74.9s21.5-1.4 37.4-1.4 43.1 1.4 43.1 1.4l-1-95.4 12.7-46.6 4.9 45.2 3.7 42.7 8.5-8.8 8.7 10h19.1l7.5-10 5.9 9.1 12.9.3 3.7 64 81.4-.8"}),e.createElement("path",{fill:"#efefef",d:"M1384.3 175.1h-4.4s-3.2-8.4-17.2-8.4-18.1 8.5-18.1 8.5h-5.2v19.2h-7.3v-12.2h3.7l-24.9-26.8v-7.5l1.9-.1s-.7-5.4-6.2-5.4-6.2 5.4-6.2 5.4l1.9.2-.2 7.6-25 26.8h3.9s.2 17 0 16.9c-1.7-.9-1.8-5.2-1.8-5.2l-2.9-.1s.2-8.4-9.8-8.4-10.9 8.4-10.9 8.4l-3 .1s-.1 3.7-1.9 5.3h-.3l-7.8-13.4-1.5-.8h-19.4l-1.6.9-6.1 12.5-1.6.9h-5.6V192l2.3-.1-8.2-13.8-1.5-.8h-20.2l-1.5.9-5.7 9v-12.8h-7.4v-5.2h-6.6v-5.8h-6.9v-5.7h-10.8v5.6h-6.9v5.8h-6.6v5.3h-7.4v13.9l-24.3-21.9-30.1 24.3v-28.3h-17.3v-13.3h-47.1v12.4h-16v10.4h-7.4v-5.4h-6.8v-6h-7.1v-5.8h-11.2v5.9h-7.2v5.9H938v5.4h-7.7v13.2l-5.8-9.3-1.5-.9h-20.8l-1.6.9-8.5 14.3 2.4.1v7.6h-5.8l-1.6-.9-6.3-12.9-1.6-.9h-20l-1.5.8-8 13.9h-3.2v-22.9h2.4l-6.5-24.5-1.3-.3-3-.8s-3.7-1.3-3.9.2c-.2-2.4-.8-4.1-4.4-4.7s-4.9 4.6-4.9 5.3c0-.6-4.4 0-4.4 0l-2 .1-1.8 1.4-6 23.4h2.9v28.9l-2.4-8.4-1.3-1.1h-4.5l-1.9 1.8-2.3 7.8v-48.3h3.7l-3.9-9.8-2.5-15.6-1.4-1.4h-17l-6.1-5.5-5.8 5.5H764l-3.7 19.8-3 7.1h2.7l-.2 40.1H753v-19.3h-4.4s-3.2-8.4-17.2-8.4-18.1 8.5-18.1 8.5h-5.2v19.2h-7.3v-12.2h3.7L679.6 151v-7.5l1.9-.1s-.7-5.4-6.2-5.4-6.2 5.4-6.2 5.4l1.9.2-.2 7.6-25 32.8h3.9s.2 17 0 16.9c-1.7-.9-1.8-5.2-1.8-5.2l-2.9-.1s.2-8.4-9.8-8.4-10.9 8.4-10.9 8.4l-3 .1s-.1 3.7-1.8 5.3h-4.8l-7.8-13.4-1.5-.8H586l-1.6.9-6.1 12.5-1.6.9h-5.6v-7.3l2.3-.1-8.2-13.8-1.5-.8h-20.2l-1.5.9-5.7 9v-12.8h-7.4V171h-6.6v-5.8h-6.9v-5.7h-10.8v5.6h-6.9v5.8H491v5.3h-2.8v-56.9h-15.5c-.3-6.6-6.9-11.9-14.9-11.9s-14.6 5.3-14.9 11.9H428V193l-28.4-25.5-30.1 24.3v-28.3h-17.3v-13.3h-47.1v12.4h-16V173h-7.4v-5.4h-6.9v-6h-7.1v-5.8h-11.2v5.9h-7.2v5.9h-6.8v5.4h-7.6v13.2l-5.8-9.3-1.5-.9h-20.9l-1.6.9-8.5 14.3 2.4.2v7.6h-5.8l-1.6-.9-6.3-12.9-1.6-.9h-20l-1.5.8-8 13.9h-5.8v53.9l1668.7-.4V194h-7.6v-19.3h-4.4s-3.2-8.4-17.2-8.4-18.1 8.5-18.1 8.5h-5.2V194h-7.3v-12.2h3.7l-24.9-32.7v-7.5l1.9-.1s-.7-5.4-6.2-5.4-6.2 5.4-6.2 5.4l1.9.2-.2 7.6-25 32.8h3.9s.2 17 0 16.9c-1.7-.9-1.8-5.2-1.8-5.2l-2.9-.1s.2-8.4-9.8-8.4-10.9 8.4-10.9 8.4h-1v-22.5h-7.7v-5.4h-6.8v-6h-7.1V154H1647v5.9h-7.2v5.9h-6.8v5.4h-7.7V184l-5.8-9.3-1.5-.9h-20.8l-1.6.9-8.5 14.3 2.4.1v7.6h-5.8l-1.6-.9-6.3-12.9-1.6-.9h-20l-1.5.8-8 13.9h-5V191l-16.1-25.9-16.5 23.8-14.8-23.8-16.3 23.5-14.6-23.5-14.4 20.7v-29.1h-15.6c-.3-4.6-6.9-8.3-14.9-8.3s-14.6 3.7-14.9 8.3h-16.9l.7 17.9"}),e.createElement("path",{fill:"none",stroke:"#E8E8E8",strokeMiterlimit:10,strokeWidth:4,d:"M0 254h2048"}),e.createElement("path",{fill:"#efefef",d:"M161.9 213.7c0-4-2.5-7.4-6-8.6v-.4c0-5-3.6-9-8.1-9-1.9 0-3.7.8-5.1 2-1.2-.6-2.5-1-3.9-1-4.7 0-8.6 4.1-8.9 9.3-4.6 1.1-8.1 5.7-8.1 11.2 0 6.3 4.5 11.3 10.1 11.5 0 .2-.1.3-.1.5 0 2.5 2 4.5 4.5 4.5.9 0 1.8-.3 2.5-.8v17.8h6v-18.6c1 .4 2 .6 3.1.6 5 0 9.1-4.2 9.1-9.5 0-.5 0-.9-.1-1.4 2.9-1.5 4.9-4.6 5-8.1zm-22.7 11.9v.1s-.1-.1 0-.1c-.1 0-.1 0 0 0zm5.4-11.3z"}),e.createElement("path",{fill:"#efefef",d:"M126.9 216.7c0-4-2.5-7.4-6-8.6v-.4c0-5-3.6-9-8.1-9-1.9 0-3.7.8-5.1 2-1.2-.6-2.5-1-3.9-1-4.7 0-8.6 4.1-8.9 9.3-4.6 1.1-8.1 5.7-8.1 11.2 0 6.3 4.5 11.3 10.1 11.5 0 .2-.1.3-.1.5 0 2.5 2 4.5 4.5 4.5.9 0 1.8-.3 2.5-.8v17.8h6v-18.6c1 .4 2 .6 3.1.6 5 0 9.1-4.2 9.1-9.5 0-.5 0-.9-.1-1.4 2.9-1.5 4.9-4.6 5-8.1zm-22.7 11.9v.1s-.1-.1 0-.1c-.1 0-.1 0 0 0zm5.4-11.3z"}),e.createElement("path",{fill:"#efefef",d:"M96.3 222.7c0-3.4-2.1-6.2-5-7.2v-.4c0-4.2-3-7.5-6.7-7.5-1.6 0-3.1.6-4.2 1.7-1-.5-2.1-.8-3.2-.8-3.9 0-7.2 3.4-7.5 7.8-3.9.9-6.8 4.8-6.8 9.4 0 5.2 3.8 9.5 8.4 9.6v.4c0 2.1 1.7 3.8 3.8 3.8.8 0 1.5-.2 2.1-.6v14.9h5v-15.5c.8.3 1.7.5 2.6.5 4.2 0 7.6-3.6 7.6-7.9 0-.4 0-.8-.1-1.2 2.4-1.4 4-4 4-7zm-19 10v.1-.1zm4.6-9.5c0 .1 0 .1 0 0 0 .1 0 0 0 0zm1772-5.5c0-4-2.5-7.4-6-8.6v-.4c0-5-3.6-9-8.1-9-1.9 0-3.7.8-5.1 2-1.2-.6-2.5-1-3.9-1-4.7 0-8.6 4.1-8.9 9.3-4.6 1.1-8.1 5.7-8.1 11.2 0 6.3 4.5 11.3 10.1 11.5 0 .2-.1.3-.1.5 0 2.5 2 4.5 4.5 4.5.9 0 1.8-.3 2.5-.8v17.8h6v-18.6c1 .4 2 .6 3.1.6 5 0 9.1-4.2 9.1-9.5 0-.5 0-.9-.1-1.4 2.9-1.5 4.9-4.6 5-8.1zm-22.7 11.9v.1s-.1-.1 0-.1c-.1 0-.1 0 0 0zm5.4-11.3zm76.3-6c0-4.4-2.2-8.1-5.3-9.4v-.5c0-5.4-3.2-9.8-7.1-9.8-1.7 0-3.2.8-4.4 2.2-1-.7-2.2-1.1-3.4-1.1-4.1 0-7.5 4.5-7.8 10.1-4 1.2-7.1 6.2-7.1 12.2 0 6.8 3.9 12.4 8.8 12.5 0 .2-.1.4-.1.6 0 2.7 1.8 4.9 3.9 4.9.8 0 1.6-.3 2.2-.8v19.4h5.2v-20.3c.8.4 1.8.6 2.7.6 4.4 0 8-4.6 8-10.4 0-.5 0-1-.1-1.5 2.7-1.5 4.5-4.8 4.5-8.7zm-19.9 13v.1-.1zm4.8-12.3z"}),e.createElement("path",{fill:"#efefef",d:"M1882.3 222.1c0-3.4-2.1-6.2-5-7.2v-.4c0-4.2-3-7.5-6.7-7.5-1.6 0-3.1.6-4.2 1.7-1-.5-2.1-.8-3.2-.8-3.9 0-7.2 3.4-7.5 7.8-3.9.9-6.8 4.8-6.8 9.4 0 5.2 3.8 9.5 8.4 9.6v.4c0 2.1 1.7 3.8 3.8 3.8.8 0 1.5-.2 2.1-.6v14.9h5v-15.5c.8.3 1.7.5 2.6.5 4.2 0 7.6-3.6 7.6-7.9 0-.4 0-.8-.1-1.2 2.3-1.4 4-4 4-7zm-19 10v.1-.1zm4.6-9.4zm60 5c0-2.5-1.6-4.7-3.8-5.4v-.3c0-3.1-2.3-5.7-5.1-5.7-1.2 0-2.3.5-3.2 1.3-.7-.4-1.6-.6-2.4-.6-3 0-5.4 2.6-5.6 5.9-2.9.7-5.1 3.6-5.1 7.1 0 3.9 2.8 7.2 6.3 7.2v.3c0 1.6 1.3 2.8 2.8 2.8.6 0 1.1-.2 1.6-.5V251h3.8v-11.7c.6.2 1.3.4 2 .4 3.2 0 5.7-2.7 5.7-6 0-.3 0-.6-.1-.9 1.8-.9 3.1-2.8 3.1-5.1zm-14.4 7.5s0 .1 0 0c0 .1 0 .1 0 0 0 .1 0 0 0 0zm3.5-7.1z"})),b=3/4,A=(l,t)=>Math.round(l/(t?3:4)),d=({aspectRatio:l,backgroundImageHeightFraction:t,children:h,height:m,illustrationAspectRatio:o,horizontalInset:n,testID:u,withWeesp:a=!1})=>{const{left:f,right:s}=M(),{height:V,isLandscape:E}=I(),H=m??A(V,E),c=y(R({aspectRatio:l,backgroundImageHeightFraction:t,height:H,illustrationAspectRatio:o,horizontalInset:n,left:f,right:s})),x=a?w:_;return v.jsxs(r,{style:c.figure,testID:u,children:[v.jsx(r,{style:c.backgroundImage,children:v.jsx(x,{})}),v.jsx(r,{style:c.imageOuter,children:v.jsx(r,{style:c.imageInner,children:h})})]})},R=({aspectRatio:l,backgroundImageHeightFraction:t=b,height:h,illustrationAspectRatio:m="landscape",horizontalInset:o="md",left:n,right:u})=>({media:a,size:f})=>{const s=f.spacing[o];return F.create({backgroundImage:{alignSelf:"center",aspectRatio:a.illustrationAspectRatio.facades,height:h*t,position:"absolute"},figure:{aspectRatio:l?a.aspectRatio[l]:void 0,height:h,overflow:"hidden",position:"relative"},imageInner:{aspectRatio:a.illustrationAspectRatio[m],height:h,maxWidth:"100%"},imageOuter:{alignItems:"center",bottom:0,height:h,left:n+s,position:"absolute",right:u+s,top:0}})};try{d.displayName="FigureWithFacadesBackground",d.__docgenInfo={description:"",displayName:"FigureWithFacadesBackground",props:{aspectRatio:{defaultValue:null,description:"",name:"aspectRatio",required:!1,type:{name:"enum",value:[{value:'"extraWide"'},{value:'"narrow"'},{value:'"square"'},{value:'"wide"'},{value:'"tight"'}]}},backgroundImageHeightFraction:{defaultValue:{value:"3 / 4"},description:"",name:"backgroundImageHeightFraction",required:!1,type:{name:"number"}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"number"}},horizontalInset:{defaultValue:{value:"md"},description:"",name:"horizontalInset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},illustrationAspectRatio:{defaultValue:{value:"landscape"},description:"",name:"illustrationAspectRatio",required:!1,type:{name:"enum",value:[{value:'"landscape"'},{value:'"portrait"'},{value:'"facades"'}]}},withWeesp:{defaultValue:{value:"false"},description:"",name:"withWeesp",required:!1,type:{name:"boolean"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const X={component:d},i={args:{children:v.jsx(k,{})}};var p,z,g;i.parameters={...i.parameters,docs:{...(p=i.parameters)==null?void 0:p.docs,source:{originalSource:`{ +import{j as v}from"./jsx-runtime-Bxcv0yjW.js";import{u as M}from"./index-DbcoTUCW.js";import{r as e}from"./index-mfbfsM12.js";import{u as I}from"./useDeviceContext-DGl4H2w7.js";import{u as y}from"./useThemable-BlSbywuP.js";import{V as r}from"./index-BDsvWohO.js";import{s as F}from"./index-CEE--Juu.js";import{S as k}from"./household-waste-to-container-gxPFJly2.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-C3bJM-gU.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";const w=l=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 256",...l},e.createElement("path",{d:"M592.8 157.1h-3V186h4l10.1-17.5 1.9-1.1H631l2 1.1 7.9 16.3 2 1.1h7.3v-9.5l-3-.2 10.7-18 2-1.1h26.3l1.9 1.1 7.4 11.7v-16.6h9.6v-6.8h8.5V139h9v-7.4H737v7.3h9v7.5h8.6v6.9h9.4v-13.2h20.2v-15.6h59.3v16.8h21.8V177l29.1-18 25.6 14.9.5 82-787.1-.3V158h8.5v-6.6h8.4v-7.3h8.7V137h13.7v7.2h8.8v7.2h8.3v6.6h9.3v16.1l7.1-11.3 1.9-1.1h25.4l1.9 1.1 10.4 17.4-3 .2v9.2h7.1l2-1.1 7.7-15.8 2-1.1H286l1.9 1 9.8 16.9h6c2.2-2 2.3-6.7 2.3-6.7l3.8-.2s1-10.6 13.7-10.6 12.4 10.6 12.4 10.6l3.7.2s.2 5.4 2.3 6.6c.3.2 0-21.3 0-21.3H337l31.5-41.3.2-9.6-2.4-.3s.8-6.8 7.8-6.8 7.9 6.8 7.9 6.8l-2.4.2v9.4l31.4 41.3h-4.6v15.3h9.2v-24.2h6.6s5.2-10.8 22.9-10.8 21.7 10.7 21.7 10.7h5.6v24.4h8.2l.3-50.6h-3.4l3.8-8.9 4.6-24.9h5.3l7.4-6.9 7.7 6.9h21.4l1.8 1.8 3.2 19.7 4.9 12.3H533v60.8l2.9-9.8 2.4-2.2h5.7l1.6 1.4 3.1 10.6V157h-3.6l24.2-14.9 23.5 15zm368 98.6h192.1V151.8h3.8v-3.9h-3.7l-34.1-15.1v-7.6h-7.4l-.1 7.6h-37.8l-.2-7.6h-5.9l-.2-25.2-7.6-7.6V78.6h-4.9v13.8l-7.7 8.9v23.9h-6.3v7.6H1008v-7.6h-7.5v7.6l-32.8 13.8h-10.1v4.7h3.8z",fill:"#efefef"}),e.createElement("path",{d:"M975.3 165.6h12.6v17.7h-12.6zm25.2 0h12.6v17.7h-12.6zm25.2 0h12.6v17.7h-12.6zm-50.4 34h12.6v22.7h-12.6zm75.6-34h12.6v17.7h-12.6zm25.2 0h12.6v17.7h-12.6zm25.2 0h12.6v17.7h-12.6zm25.2 0h12.6v17.7h-12.6zm-126 34h12.6v22.7h-12.6zm25.2 0h12.6v22.7h-12.6zm25.2 0h12.6v22.7h-12.6zm25.2 0h12.6v22.7h-12.6zm25.2 0h12.6v22.7h-12.6zm25.2 0h12.6v22.7h-12.6zm-151.2 31.5h12.6v17.6h-12.6zm25.2 0h12.6v17.6h-12.6zm25.2 0h12.6v17.6h-12.6z",fill:"#f9f9f9",stroke:"#F0F0F0"}),e.createElement("path",{fill:"#f9f9f9",d:"M1050.9 230.5h12.6v25.2h-12.6z"}),e.createElement("path",{d:"M1076.1 231.1h12.6v17.6h-12.6zm25.2 0h12.6v17.6h-12.6zm25.2 0h12.6v17.6h-12.6z",fill:"#f9f9f9",stroke:"#F0F0F0"}),e.createElement("path",{d:"M1521.6 156.5h3v8.4l-.1 20.5h-4l-10.1-17.5-1.9-1.1h-25.2l-2 1.1-7.9 16.3-2 1.1h-7.3v-9.5l3.1-.2-10.7-18-2-1.1h-26.3l-1.9 1.1-7.4 11.7v-16.6h-9.6v-6.8h-8.5v-7.5h-9V131h-14.1v7.3h-9v7.5h-8.6v6.9h-9.4v-13.2h-20.2v-15.6h-59.3v16.8H1249v35.7l-29.1-18-25.6 14.9-.5 82 787.1-.3v-97.6h-8.5v-6.6h-8.3v-7.3h-8.7v-7.1h-13.7v7.2h-8.8v7.2h-8.3v6.6h-9.3v16.1l-7.1-11.3-1.9-1.1h-25.4l-1.9 1.1-10.4 17.4 3 .2v9.2h-7.1l-2-1.1-7.7-15.8-2-1.1h-24.4l-1.9 1-9.8 16.9h-6c-2.2-2-2.3-6.7-2.3-6.7l-3.8-.2s-1-10.6-13.7-10.6-12.4 10.6-12.4 10.6l-3.7.2s-.2 5.4-2.3 6.6c-.3.2 0-21.3 0-21.3h4.9l-31.5-41.3-.2-9.6 2.4-.3s-.8-6.8-7.8-6.8-7.9 6.8-7.9 6.8l2.4.2v9.4l-31.3 41.3h4.6v15.3h-9.2v-24.2h-6.6s-5.2-10.8-22.9-10.8-21.7 10.7-21.7 10.7h-5.6v24.4h-8.2l-.3-50.6h3.4l-3.8-8.9-4.6-24.9h-5.3l-7.4-6.9-7.7 6.9h-21.4l-1.8 1.8-3.2 19.7-4.9 12.3h4.6v60.8l-2.9-9.8-2.4-2.2h-5.7l-1.6 1.4-3.1 10.6v-36.4h3.6l-24.2-14.9-23.6 15zM139 204.5c0-5.6-3.5-10.3-8.3-11.9v-.6c0-6.9-5-12.5-11.2-12.5-2.7 0-5.1 1-7 2.8-1.6-.9-3.5-1.4-5.4-1.4-6.5 0-11.9 5.7-12.4 12.9-6.4 1.6-11.2 7.9-11.2 15.6 0 8.7 6.2 15.7 13.9 15.9 0 .2-.1.5-.1.7 0 3.4 2.8 6.2 6.2 6.2 1.3 0 2.5-.4 3.5-1.1v24.6h8.3v-25.8c1.3.5 2.8.8 4.3.8 7 0 12.6-5.9 12.6-13.2 0-.7-.1-1.3-.2-1.9 4.2-1.9 7-6.1 7-11.1zM107.5 221v.2-.2c0 .1 0 0 0 0zm7.6-15.6z",fill:"#efefef"}),e.createElement("path",{d:"M88.5 218.3c0-4-2.5-7.4-6-8.6v-.4c0-5-3.6-9-8.1-9-1.9 0-3.7.8-5.1 2-1.2-.6-2.5-1-3.9-1-4.7 0-8.6 4.1-8.9 9.3-4.6 1.1-8.1 5.7-8.1 11.2 0 6.3 4.5 11.3 10.1 11.5 0 .2-.1.3-.1.5 0 2.5 2 4.5 4.5 4.5.9 0 1.8-.3 2.5-.8v17.8h6v-18.6c1 .4 2 .6 3.1.6 5 0 9.1-4.3 9.1-9.5 0-.5 0-.9-.1-1.4 3-1.4 5-4.5 5-8.1zm-22.7 11.9v.1-.1c0 .1 0 0 0 0zm5.5-11.3c0 .1 0 .1 0 0 0 .1-.1.1 0 0-.1.1 0 .1 0 0z",fill:"#efefef"}),e.createElement("path",{d:"M58 224.4c0-3.4-2.1-6.2-5-7.2v-.4c0-4.2-3-7.5-6.7-7.5-1.6 0-3.1.6-4.2 1.7-1-.5-2.1-.8-3.3-.8-3.9 0-7.2 3.4-7.5 7.8-3.9.9-6.8 4.8-6.8 9.4 0 5.2 3.7 9.5 8.4 9.6v.4c0 2.1 1.7 3.8 3.8 3.8.8 0 1.5-.2 2.1-.6v14.9h5V240c.8.3 1.7.5 2.6.5 4.2 0 7.6-3.6 7.6-7.9 0-.4 0-.8-.1-1.2 2.4-1.5 4.1-4 4.1-7zm-19 9.9v.1-.1c-.1.1 0 0 0 0zm4.6-9.4c-.1 0-.1 0 0 0-.1 0-.1 0 0 0zM2036.3 204c0-5.6-3.5-10.3-8.3-11.9v-.6c0-6.9-5-12.5-11.2-12.5-2.7 0-5.1 1-7 2.8-1.6-.9-3.5-1.4-5.4-1.4-6.5 0-11.9 5.7-12.4 12.9-6.4 1.6-11.2 7.9-11.2 15.6 0 8.7 6.2 15.7 13.9 15.9 0 .2-.1.5-.1.7 0 3.4 2.8 6.2 6.2 6.2 1.3 0 2.5-.4 3.5-1.1v24.6h8.3v-25.8c1.3.5 2.8.8 4.3.8 7 0 12.6-5.9 12.6-13.2 0-.7-.1-1.3-.2-1.9 4.2-1.8 7-6.1 7-11.1zm-31.5 16.5v.2-.2c0 .1 0 .1 0 0zm7.6-15.6c0 .1 0 .1 0 0 0 .1 0 0 0 0zm-817.6 14.2c0-4-2.5-7.4-6-8.6v-.4c0-5-3.6-9-8.1-9-1.9 0-3.7.8-5.1 2-1.2-.6-2.5-1-3.9-1-4.7 0-8.6 4.1-8.9 9.3-4.6 1.1-8.1 5.7-8.1 11.2 0 6.3 4.5 11.3 10.1 11.5 0 .2-.1.3-.1.5 0 2.5 2 4.5 4.5 4.5.9 0 1.8-.3 2.5-.8v17.8h6v-18.6c1 .4 2 .6 3.1.6 5 0 9.1-4.3 9.1-9.5 0-.5 0-.9-.1-1.4 3-1.4 5-4.5 5-8.1zm-22.7 11.9v.1s-.1 0 0-.1c-.1 0 0 0 0 0zm5.4-11.3s0 .1 0 0c0 .1 0 .1 0 0 0 .1 0 0 0 0zm-225.7 5.5c0-3.4-2.1-6.2-5-7.2v-.4c0-4.2-3-7.5-6.7-7.5-1.6 0-3.1.6-4.2 1.7-1-.5-2.1-.8-3.3-.8-3.9 0-7.2 3.4-7.5 7.8-3.9.9-6.8 4.8-6.8 9.4 0 5.2 3.7 9.5 8.4 9.6v.4c0 2.1 1.7 3.8 3.8 3.8.8 0 1.5-.2 2.1-.6v14.9h5v-15.5c.8.3 1.7.5 2.6.5 4.2 0 7.6-3.6 7.6-7.9 0-.4 0-.8-.1-1.2 2.4-1.5 4.1-4.1 4.1-7zm-19 9.9v.1-.1zm4.6-9.4z",fill:"#efefef"})),_=l=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 256",...l},e.createElement("path",{fill:"none",stroke:"#efefef",strokeMiterlimit:10,strokeWidth:2,d:"M186 232.7h46.1v-21.3l8.6-26.4h-8.6l-.1-5h10.8l6.8-25.9-.9-2.3-23.1 26.4-4.6-6 25.8-22.1 2.9-11.3-26.5-27.8 6-5.8 23 28.8 6.8 1.3 29.8-30.1 4.1 5.9-30.3 26.1 1.8 10.7 19.8 21h4.3l12.4-31.1 9.7 28.9h3.6V162l3.6-.3v-4.1l3.6.4v-3.9l4.9.1v4.1l3.6-.3v4.1l3.6-.3v5h2.4l2.5-23.3h1.8l2.5 11.4 3.7-1s6.3-6.4 6.4-11.8-.6-7.9-.6-7.9h10.1s-1.2.7-.4 7.2c.8 6.6 7.6 14 7.6 14l2.8-15.1 12.3-8.6 11 7.5 14.5-81.6 13.8 81.8 5.8-.1 1.2 26.4h11s-2.4 4.4 0 7.8 10.6 2.5 10.6 2.5v10.4l48.8-2-1-27.6 14.6-40.2 10.8 38.4 1.6 13.8 15.8-.7 3.1-12.3 4.3 11.6 15 1v-12.6l12.6-37.9 12.1 36.4 1.3 14-.1 15.9h48.5l.4-8.2s2.9 1.8 5-3.1 4.5-11.2 4.5-11.2h13.5s1.6 5 3.8 9.4 6.8 6 6.8 6V56.8l7.1-1.2V40.2l7.3-.5 7-9.4 6.7 9.4 7.4.5v15.4l7.6 1.2v42l2.7.1V84.6s16.6-1.9 28.7-1.9 30.3 2 30.3 2v129.9l5.1-53.3 3.5-6.9 3.4 6 2.4 44.5 3.9-.5 1.8-39.6 9.1-15.6 6.4 9.6 11.9.1 2.3-8.7 3.8.2 1.3 8.1 29.8.5 1.5-8.8 3.9.1 2.3 7.9 12.9-.2 3.5-28.9s4.9-10 12.2-8.8c7.3 1.3 10.2 7.6 10.2 7.6l4 28.3 12.8 1.3 2.2-8.2h3.7l2.3 9.5 29.3-1.9 2.4-8.8h4.9l.9 10.7 12.5-.7 4.9-12.8 4.9.2 7.3 16.3 1.2 47.7h4.9l-1.1-23.1 2.4-1.3V65.5l3.5-.4V47.9l6.5-4 .5-13.5 12-4.7-8.9-2.1-.3-2.4 10.9-1.3 2.4-17.6h2.3l2.6 17.6 10.9 1.3v3.5l-10 .6 13.7 6v13.6l5.8 2.8v18.1l4 .6-1.2 129.9h.9l.7-34.2 8.1-.3-.4-16.2 5.3-.2v-16l6.1-.3-1.3-15.4 5.9-.9.3-15.1 6.9.2V85.8h11.4l-.1 10.5 5 .2v16.1l6.2-.4V129l5.9-.5v16.8l5.4-.1v17.7l2 .2v-17.6l4.7.1v-17.9h6l.3-15.1 5.6.2-.8-10.4h9.7v10.4l4.9.1-.4 13.3 7.6.5-.1 17.4 7.5.2V158l6.1 1.4v16.4l4.9-.1 1.2 23.9 4.4-.5-1-141.5 69.4-.6.1 59.7-36.1-.1v22.6l36.7-1.1v46.1s9-3.6 9-9.8v-13.6l3.7-.2v9.6l11.2.3-.2-11.1h3.7s-2.4 10 2.4 15.1c4.9 5 3.7 20.4 3.7 20.4l32.8 1.5-.1-57.1h8.5l.5-11.6h10.4l-.1 11.2 8 .3v33.1s6.9-17.4 13.5-17c6.6.4 15 14.5 15 14.5v-24.7l7.5-.7v-13.6h9.7v12.9l9.9 1.2.2 74.9s21.5-1.4 37.4-1.4 43.1 1.4 43.1 1.4l-1-95.4 12.7-46.6 4.9 45.2 3.7 42.7 8.5-8.8 8.7 10h19.1l7.5-10 5.9 9.1 12.9.3 3.7 64 81.4-.8"}),e.createElement("path",{fill:"#efefef",d:"M1384.3 175.1h-4.4s-3.2-8.4-17.2-8.4-18.1 8.5-18.1 8.5h-5.2v19.2h-7.3v-12.2h3.7l-24.9-26.8v-7.5l1.9-.1s-.7-5.4-6.2-5.4-6.2 5.4-6.2 5.4l1.9.2-.2 7.6-25 26.8h3.9s.2 17 0 16.9c-1.7-.9-1.8-5.2-1.8-5.2l-2.9-.1s.2-8.4-9.8-8.4-10.9 8.4-10.9 8.4l-3 .1s-.1 3.7-1.9 5.3h-.3l-7.8-13.4-1.5-.8h-19.4l-1.6.9-6.1 12.5-1.6.9h-5.6V192l2.3-.1-8.2-13.8-1.5-.8h-20.2l-1.5.9-5.7 9v-12.8h-7.4v-5.2h-6.6v-5.8h-6.9v-5.7h-10.8v5.6h-6.9v5.8h-6.6v5.3h-7.4v13.9l-24.3-21.9-30.1 24.3v-28.3h-17.3v-13.3h-47.1v12.4h-16v10.4h-7.4v-5.4h-6.8v-6h-7.1v-5.8h-11.2v5.9h-7.2v5.9H938v5.4h-7.7v13.2l-5.8-9.3-1.5-.9h-20.8l-1.6.9-8.5 14.3 2.4.1v7.6h-5.8l-1.6-.9-6.3-12.9-1.6-.9h-20l-1.5.8-8 13.9h-3.2v-22.9h2.4l-6.5-24.5-1.3-.3-3-.8s-3.7-1.3-3.9.2c-.2-2.4-.8-4.1-4.4-4.7s-4.9 4.6-4.9 5.3c0-.6-4.4 0-4.4 0l-2 .1-1.8 1.4-6 23.4h2.9v28.9l-2.4-8.4-1.3-1.1h-4.5l-1.9 1.8-2.3 7.8v-48.3h3.7l-3.9-9.8-2.5-15.6-1.4-1.4h-17l-6.1-5.5-5.8 5.5H764l-3.7 19.8-3 7.1h2.7l-.2 40.1H753v-19.3h-4.4s-3.2-8.4-17.2-8.4-18.1 8.5-18.1 8.5h-5.2v19.2h-7.3v-12.2h3.7L679.6 151v-7.5l1.9-.1s-.7-5.4-6.2-5.4-6.2 5.4-6.2 5.4l1.9.2-.2 7.6-25 32.8h3.9s.2 17 0 16.9c-1.7-.9-1.8-5.2-1.8-5.2l-2.9-.1s.2-8.4-9.8-8.4-10.9 8.4-10.9 8.4l-3 .1s-.1 3.7-1.8 5.3h-4.8l-7.8-13.4-1.5-.8H586l-1.6.9-6.1 12.5-1.6.9h-5.6v-7.3l2.3-.1-8.2-13.8-1.5-.8h-20.2l-1.5.9-5.7 9v-12.8h-7.4V171h-6.6v-5.8h-6.9v-5.7h-10.8v5.6h-6.9v5.8H491v5.3h-2.8v-56.9h-15.5c-.3-6.6-6.9-11.9-14.9-11.9s-14.6 5.3-14.9 11.9H428V193l-28.4-25.5-30.1 24.3v-28.3h-17.3v-13.3h-47.1v12.4h-16V173h-7.4v-5.4h-6.9v-6h-7.1v-5.8h-11.2v5.9h-7.2v5.9h-6.8v5.4h-7.6v13.2l-5.8-9.3-1.5-.9h-20.9l-1.6.9-8.5 14.3 2.4.2v7.6h-5.8l-1.6-.9-6.3-12.9-1.6-.9h-20l-1.5.8-8 13.9h-5.8v53.9l1668.7-.4V194h-7.6v-19.3h-4.4s-3.2-8.4-17.2-8.4-18.1 8.5-18.1 8.5h-5.2V194h-7.3v-12.2h3.7l-24.9-32.7v-7.5l1.9-.1s-.7-5.4-6.2-5.4-6.2 5.4-6.2 5.4l1.9.2-.2 7.6-25 32.8h3.9s.2 17 0 16.9c-1.7-.9-1.8-5.2-1.8-5.2l-2.9-.1s.2-8.4-9.8-8.4-10.9 8.4-10.9 8.4h-1v-22.5h-7.7v-5.4h-6.8v-6h-7.1V154H1647v5.9h-7.2v5.9h-6.8v5.4h-7.7V184l-5.8-9.3-1.5-.9h-20.8l-1.6.9-8.5 14.3 2.4.1v7.6h-5.8l-1.6-.9-6.3-12.9-1.6-.9h-20l-1.5.8-8 13.9h-5V191l-16.1-25.9-16.5 23.8-14.8-23.8-16.3 23.5-14.6-23.5-14.4 20.7v-29.1h-15.6c-.3-4.6-6.9-8.3-14.9-8.3s-14.6 3.7-14.9 8.3h-16.9l.7 17.9"}),e.createElement("path",{fill:"none",stroke:"#E8E8E8",strokeMiterlimit:10,strokeWidth:4,d:"M0 254h2048"}),e.createElement("path",{fill:"#efefef",d:"M161.9 213.7c0-4-2.5-7.4-6-8.6v-.4c0-5-3.6-9-8.1-9-1.9 0-3.7.8-5.1 2-1.2-.6-2.5-1-3.9-1-4.7 0-8.6 4.1-8.9 9.3-4.6 1.1-8.1 5.7-8.1 11.2 0 6.3 4.5 11.3 10.1 11.5 0 .2-.1.3-.1.5 0 2.5 2 4.5 4.5 4.5.9 0 1.8-.3 2.5-.8v17.8h6v-18.6c1 .4 2 .6 3.1.6 5 0 9.1-4.2 9.1-9.5 0-.5 0-.9-.1-1.4 2.9-1.5 4.9-4.6 5-8.1zm-22.7 11.9v.1s-.1-.1 0-.1c-.1 0-.1 0 0 0zm5.4-11.3z"}),e.createElement("path",{fill:"#efefef",d:"M126.9 216.7c0-4-2.5-7.4-6-8.6v-.4c0-5-3.6-9-8.1-9-1.9 0-3.7.8-5.1 2-1.2-.6-2.5-1-3.9-1-4.7 0-8.6 4.1-8.9 9.3-4.6 1.1-8.1 5.7-8.1 11.2 0 6.3 4.5 11.3 10.1 11.5 0 .2-.1.3-.1.5 0 2.5 2 4.5 4.5 4.5.9 0 1.8-.3 2.5-.8v17.8h6v-18.6c1 .4 2 .6 3.1.6 5 0 9.1-4.2 9.1-9.5 0-.5 0-.9-.1-1.4 2.9-1.5 4.9-4.6 5-8.1zm-22.7 11.9v.1s-.1-.1 0-.1c-.1 0-.1 0 0 0zm5.4-11.3z"}),e.createElement("path",{fill:"#efefef",d:"M96.3 222.7c0-3.4-2.1-6.2-5-7.2v-.4c0-4.2-3-7.5-6.7-7.5-1.6 0-3.1.6-4.2 1.7-1-.5-2.1-.8-3.2-.8-3.9 0-7.2 3.4-7.5 7.8-3.9.9-6.8 4.8-6.8 9.4 0 5.2 3.8 9.5 8.4 9.6v.4c0 2.1 1.7 3.8 3.8 3.8.8 0 1.5-.2 2.1-.6v14.9h5v-15.5c.8.3 1.7.5 2.6.5 4.2 0 7.6-3.6 7.6-7.9 0-.4 0-.8-.1-1.2 2.4-1.4 4-4 4-7zm-19 10v.1-.1zm4.6-9.5c0 .1 0 .1 0 0 0 .1 0 0 0 0zm1772-5.5c0-4-2.5-7.4-6-8.6v-.4c0-5-3.6-9-8.1-9-1.9 0-3.7.8-5.1 2-1.2-.6-2.5-1-3.9-1-4.7 0-8.6 4.1-8.9 9.3-4.6 1.1-8.1 5.7-8.1 11.2 0 6.3 4.5 11.3 10.1 11.5 0 .2-.1.3-.1.5 0 2.5 2 4.5 4.5 4.5.9 0 1.8-.3 2.5-.8v17.8h6v-18.6c1 .4 2 .6 3.1.6 5 0 9.1-4.2 9.1-9.5 0-.5 0-.9-.1-1.4 2.9-1.5 4.9-4.6 5-8.1zm-22.7 11.9v.1s-.1-.1 0-.1c-.1 0-.1 0 0 0zm5.4-11.3zm76.3-6c0-4.4-2.2-8.1-5.3-9.4v-.5c0-5.4-3.2-9.8-7.1-9.8-1.7 0-3.2.8-4.4 2.2-1-.7-2.2-1.1-3.4-1.1-4.1 0-7.5 4.5-7.8 10.1-4 1.2-7.1 6.2-7.1 12.2 0 6.8 3.9 12.4 8.8 12.5 0 .2-.1.4-.1.6 0 2.7 1.8 4.9 3.9 4.9.8 0 1.6-.3 2.2-.8v19.4h5.2v-20.3c.8.4 1.8.6 2.7.6 4.4 0 8-4.6 8-10.4 0-.5 0-1-.1-1.5 2.7-1.5 4.5-4.8 4.5-8.7zm-19.9 13v.1-.1zm4.8-12.3z"}),e.createElement("path",{fill:"#efefef",d:"M1882.3 222.1c0-3.4-2.1-6.2-5-7.2v-.4c0-4.2-3-7.5-6.7-7.5-1.6 0-3.1.6-4.2 1.7-1-.5-2.1-.8-3.2-.8-3.9 0-7.2 3.4-7.5 7.8-3.9.9-6.8 4.8-6.8 9.4 0 5.2 3.8 9.5 8.4 9.6v.4c0 2.1 1.7 3.8 3.8 3.8.8 0 1.5-.2 2.1-.6v14.9h5v-15.5c.8.3 1.7.5 2.6.5 4.2 0 7.6-3.6 7.6-7.9 0-.4 0-.8-.1-1.2 2.3-1.4 4-4 4-7zm-19 10v.1-.1zm4.6-9.4zm60 5c0-2.5-1.6-4.7-3.8-5.4v-.3c0-3.1-2.3-5.7-5.1-5.7-1.2 0-2.3.5-3.2 1.3-.7-.4-1.6-.6-2.4-.6-3 0-5.4 2.6-5.6 5.9-2.9.7-5.1 3.6-5.1 7.1 0 3.9 2.8 7.2 6.3 7.2v.3c0 1.6 1.3 2.8 2.8 2.8.6 0 1.1-.2 1.6-.5V251h3.8v-11.7c.6.2 1.3.4 2 .4 3.2 0 5.7-2.7 5.7-6 0-.3 0-.6-.1-.9 1.8-.9 3.1-2.8 3.1-5.1zm-14.4 7.5s0 .1 0 0c0 .1 0 .1 0 0 0 .1 0 0 0 0zm3.5-7.1z"})),b=3/4,A=(l,t)=>Math.round(l/(t?3:4)),d=({aspectRatio:l,backgroundImageHeightFraction:t,children:h,height:m,illustrationAspectRatio:o,horizontalInset:n,testID:u,withWeesp:a=!1})=>{const{left:f,right:s}=M(),{height:V,isLandscape:E}=I(),H=m??A(V,E),c=y(R({aspectRatio:l,backgroundImageHeightFraction:t,height:H,illustrationAspectRatio:o,horizontalInset:n,left:f,right:s})),x=a?w:_;return v.jsxs(r,{style:c.figure,testID:u,children:[v.jsx(r,{style:c.backgroundImage,children:v.jsx(x,{})}),v.jsx(r,{style:c.imageOuter,children:v.jsx(r,{style:c.imageInner,children:h})})]})},R=({aspectRatio:l,backgroundImageHeightFraction:t=b,height:h,illustrationAspectRatio:m="landscape",horizontalInset:o="md",left:n,right:u})=>({media:a,size:f})=>{const s=f.spacing[o];return F.create({backgroundImage:{alignSelf:"center",aspectRatio:a.illustrationAspectRatio.facades,height:h*t,position:"absolute"},figure:{aspectRatio:l?a.aspectRatio[l]:void 0,height:h,overflow:"hidden",position:"relative"},imageInner:{aspectRatio:a.illustrationAspectRatio[m],height:h,maxWidth:"100%"},imageOuter:{alignItems:"center",bottom:0,height:h,left:n+s,position:"absolute",right:u+s,top:0}})};try{d.displayName="FigureWithFacadesBackground",d.__docgenInfo={description:"",displayName:"FigureWithFacadesBackground",props:{aspectRatio:{defaultValue:null,description:"",name:"aspectRatio",required:!1,type:{name:"enum",value:[{value:'"extraWide"'},{value:'"narrow"'},{value:'"square"'},{value:'"wide"'},{value:'"tight"'}]}},backgroundImageHeightFraction:{defaultValue:{value:"3 / 4"},description:"",name:"backgroundImageHeightFraction",required:!1,type:{name:"number"}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"number"}},horizontalInset:{defaultValue:{value:"md"},description:"",name:"horizontalInset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},illustrationAspectRatio:{defaultValue:{value:"landscape"},description:"",name:"illustrationAspectRatio",required:!1,type:{name:"enum",value:[{value:'"landscape"'},{value:'"portrait"'},{value:'"facades"'}]}},withWeesp:{defaultValue:{value:"false"},description:"",name:"withWeesp",required:!1,type:{name:"boolean"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const X={component:d},i={args:{children:v.jsx(k,{})}};var p,z,g;i.parameters={...i.parameters,docs:{...(p=i.parameters)==null?void 0:p.docs,source:{originalSource:`{ args: { children: } diff --git a/assets/FollowButton.stories-BfrkBYsN.js b/assets/FollowButton.stories-CZOYDJow.js similarity index 94% rename from assets/FollowButton.stories-BfrkBYsN.js rename to assets/FollowButton.stories-CZOYDJow.js index 59b6434c..95e2e70d 100644 --- a/assets/FollowButton.stories-BfrkBYsN.js +++ b/assets/FollowButton.stories-CZOYDJow.js @@ -1,4 +1,4 @@ -import{j as u}from"./jsx-runtime-Bxcv0yjW.js";import{r as t}from"./index-mfbfsM12.js";import{B as n}from"./Button-DAm4UwbF.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./config-BZnShabN.js";import"./Row-BXpfxHoR.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./base-color-CZpuL6yQ.js";import"./Icon-DcC-yiY8.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./useTheme-CJIBCVMY.js";const l=({followed:o,onPress:e,...r})=>{const p=t.useCallback(()=>e(!1),[e]),c=t.useCallback(()=>e(!0),[e]);return o?u.jsx(n,{iconName:"check-mark",label:"Volgend",onPress:c,variant:"primary",...r}):u.jsx(n,{iconName:"enlarge",label:"Volgen",onPress:p,variant:"secondary",...r})};try{l.displayName="FollowButton",l.__docgenInfo={description:"",displayName:"FollowButton",props:{followed:{defaultValue:null,description:"",name:"followed",required:!0,type:{name:"boolean"}},onPress:{defaultValue:null,description:"",name:"onPress",required:!0,type:{name:"(followed: boolean) => void"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},ellipsizeMode:{defaultValue:null,description:"",name:"ellipsizeMode",required:!1,type:{name:"enum",value:[{value:'"head"'},{value:'"tail"'},{value:'"middle"'},{value:'"clip"'}]}},iconName:{defaultValue:null,description:"",name:"iconName",required:!1,type:{name:"enum",value:[{value:'"alarm"'},{value:'"alert"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"announcement"'},{value:'"api"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document-text"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"list"'},{value:'"location"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},isLoading:{defaultValue:null,description:"",name:"isLoading",required:!1,type:{name:"boolean"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}},numberOfLines:{defaultValue:null,description:"",name:"numberOfLines",required:!1,type:{name:"number"}},small:{defaultValue:null,description:"",name:"small",required:!1,type:{name:"boolean"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}}}}}catch{}const J={component:l,argTypes:{onPress:{action:"onPress"}}},a={args:{followed:!1}};var i,s,m;a.parameters={...a.parameters,docs:{...(i=a.parameters)==null?void 0:i.docs,source:{originalSource:`{ +import{j as u}from"./jsx-runtime-Bxcv0yjW.js";import{r as t}from"./index-mfbfsM12.js";import{B as n}from"./Button-CM8byzny.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./config-BZnShabN.js";import"./Row-BY9zY_5g.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./base-color-B2rPH-Aj.js";import"./Icon-CHbD1j2W.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./useTheme-BWbL_sDV.js";const l=({followed:o,onPress:e,...r})=>{const p=t.useCallback(()=>e(!1),[e]),c=t.useCallback(()=>e(!0),[e]);return o?u.jsx(n,{iconName:"check-mark",label:"Volgend",onPress:c,variant:"primary",...r}):u.jsx(n,{iconName:"enlarge",label:"Volgen",onPress:p,variant:"secondary",...r})};try{l.displayName="FollowButton",l.__docgenInfo={description:"",displayName:"FollowButton",props:{followed:{defaultValue:null,description:"",name:"followed",required:!0,type:{name:"boolean"}},onPress:{defaultValue:null,description:"",name:"onPress",required:!0,type:{name:"(followed: boolean) => void"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},ellipsizeMode:{defaultValue:null,description:"",name:"ellipsizeMode",required:!1,type:{name:"enum",value:[{value:'"head"'},{value:'"tail"'},{value:'"middle"'},{value:'"clip"'}]}},iconName:{defaultValue:null,description:"",name:"iconName",required:!1,type:{name:"enum",value:[{value:'"alarm"'},{value:'"alert"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"announcement"'},{value:'"api"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document-text"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"list"'},{value:'"location"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},isLoading:{defaultValue:null,description:"",name:"isLoading",required:!1,type:{name:"boolean"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}},numberOfLines:{defaultValue:null,description:"",name:"numberOfLines",required:!1,type:{name:"number"}},small:{defaultValue:null,description:"",name:"small",required:!1,type:{name:"boolean"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}}}}}catch{}const J={component:l,argTypes:{onPress:{action:"onPress"}}},a={args:{followed:!1}};var i,s,m;a.parameters={...a.parameters,docs:{...(i=a.parameters)==null?void 0:i.docs,source:{originalSource:`{ args: { followed: false } diff --git a/assets/FormField-Bd2DEH5y.js b/assets/FormField-DQmJEy_o.js similarity index 91% rename from assets/FormField-Bd2DEH5y.js rename to assets/FormField-DQmJEy_o.js index 0de5951b..2ff5874d 100644 --- a/assets/FormField-Bd2DEH5y.js +++ b/assets/FormField-DQmJEy_o.js @@ -1 +1 @@ -import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{H as i}from"./HideFromAccessibility-DFWSEXqq.js";import{R as n}from"./Row-BXpfxHoR.js";import{l}from"./layoutStyles-DflBxpuh.js";const d=({children:e})=>r.jsx(i,{style:[l.grow,l.shrink],children:e}),o=({children:e,label:s,labelPosition:t="start"})=>{const a=r.jsx(d,{children:s});return r.jsxs(n,{gutter:"md",valign:"center",children:[t==="start"&&a,e,t==="end"&&a]})};try{o.displayName="FormField",o.__docgenInfo={description:"",displayName:"FormField",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"ReactNode"}},labelPosition:{defaultValue:{value:"start"},description:"",name:"labelPosition",required:!1,type:{name:"enum",value:[{value:'"end"'},{value:'"start"'}]}}}}}catch{}export{o as F}; +import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{H as i}from"./HideFromAccessibility-DFWSEXqq.js";import{R as n}from"./Row-BY9zY_5g.js";import{l}from"./layoutStyles-DflBxpuh.js";const d=({children:e})=>r.jsx(i,{style:[l.grow,l.shrink],children:e}),o=({children:e,label:s,labelPosition:t="start"})=>{const a=r.jsx(d,{children:s});return r.jsxs(n,{gutter:"md",valign:"center",children:[t==="start"&&a,e,t==="end"&&a]})};try{o.displayName="FormField",o.__docgenInfo={description:"",displayName:"FormField",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"ReactNode"}},labelPosition:{defaultValue:{value:"start"},description:"",name:"labelPosition",required:!1,type:{name:"enum",value:[{value:'"end"'},{value:'"start"'}]}}}}}catch{}export{o as F}; diff --git a/assets/Gutter-DFUJhG4q.js b/assets/Gutter-CijmLDTE.js similarity index 92% rename from assets/Gutter-DFUJhG4q.js rename to assets/Gutter-CijmLDTE.js index 594bfb07..56e91c58 100644 --- a/assets/Gutter-DFUJhG4q.js +++ b/assets/Gutter-CijmLDTE.js @@ -1 +1 @@ -import{j as u}from"./jsx-runtime-Bxcv0yjW.js";import{u as r}from"./useThemable-CjWxbHxI.js";import{V as s}from"./index-BDsvWohO.js";import{s as o}from"./index-CEE--Juu.js";const l=({width:e,height:t})=>{const a=r(n({width:e,height:t}));return u.jsx(s,{style:a.gutter})},n=({width:e,height:t})=>({size:a})=>o.create({gutter:{width:e&&a.spacing[e],height:t&&a.spacing[t]}});try{l.displayName="Gutter",l.__docgenInfo={description:"",displayName:"Gutter",props:{height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}}}}}catch{}export{l as G}; +import{j as u}from"./jsx-runtime-Bxcv0yjW.js";import{u as r}from"./useThemable-BlSbywuP.js";import{V as s}from"./index-BDsvWohO.js";import{s as o}from"./index-CEE--Juu.js";const l=({width:e,height:t})=>{const a=r(n({width:e,height:t}));return u.jsx(s,{style:a.gutter})},n=({width:e,height:t})=>({size:a})=>o.create({gutter:{width:e&&a.spacing[e],height:t&&a.spacing[t]}});try{l.displayName="Gutter",l.__docgenInfo={description:"",displayName:"Gutter",props:{height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}}}}}catch{}export{l as G}; diff --git a/assets/HtmlContent-BN7YmfBH.js b/assets/HtmlContent-CNaxTXns.js similarity index 52% rename from assets/HtmlContent-BN7YmfBH.js rename to assets/HtmlContent-CNaxTXns.js index 1f27b84a..1b74f1d0 100644 --- a/assets/HtmlContent-BN7YmfBH.js +++ b/assets/HtmlContent-CNaxTXns.js @@ -1,14 +1,14 @@ -import{j as Ue}from"./jsx-runtime-Bxcv0yjW.js";import{r as L,R as Sr}from"./index-mfbfsM12.js";import{c as I,a as st,g as c9}from"./_commonjsHelpers-BosuxZz1.js";import{r as ie,I as u9}from"./index-eRgc22Hn.js";import{p as Go}from"./index-Dk74W0Oi.js";import{s as nl}from"./index-CEE--Juu.js";import{V as Mi}from"./index-BDsvWohO.js";import{T as l9}from"./index-BypDj3rK.js";import{C as d9}from"./Column-DVJ0Grcf.js";import{R as f9}from"./Row-BXpfxHoR.js";import{P as p9}from"./Phrase-t0rOiClQ.js";import{u as h9,a as g9,m as m9,c as ol,g as v9}from"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import{L as y9}from"./ListItemMarker-BvZewDFw.js";import{u as _9}from"./useIsScreenReaderEnabled-BGYkQQWr.js";import{u as b9}from"./useOpenMailUrl-Cpc3v_r1.js";import{u as S9}from"./useOpenPhoneUrl-BpjRyIpq.js";import{u as w9,E as $9}from"./useTrackException-BhQuYC5A.js";import{L as P9,A as x9}from"./index-XPwQYiUg.js";import{u as C9}from"./useDeviceContext-DGl4H2w7.js";import{u as Na}from"./useThemable-CjWxbHxI.js";import{P as T9}from"./index-DOpK3Ow6.js";var Oa=40,La=41,oo=39,Aa=34,qa=92,cr=47,Da=44,Ia=58,ao=42,E9=117,M9=85,R9=43,N9=/^[a-f0-9?-]+$/i,O9=function(e){for(var t=[],r=e,n,o,i,a,c,l,d,p,v=0,h=r.charCodeAt(v),N=r.length,T=[{nodes:t}],E=0,M,D="",H="",k="";v=48&&l<=57)return!0;var d=a.charCodeAt(2);return l===r&&d>=48&&d<=57}return c===r?(l=a.charCodeAt(1),l>=48&&l<=57):c>=48&&c<=57}return ka=function(a){var c=0,l=a.length,d,p,v;if(l===0||!i(a))return!1;for(d=a.charCodeAt(c),(d===t||d===e)&&c++;c57));)c+=1;if(d=a.charCodeAt(c),p=a.charCodeAt(c+1),d===r&&p>=48&&p<=57)for(c+=2;c57));)c+=1;if(d=a.charCodeAt(c),p=a.charCodeAt(c+1),v=a.charCodeAt(c+2),(d===n||d===o)&&(p>=48&&p<=57||(p===t||p===e)&&v>=48&&v<=57))for(c+=p===t||p===e?3:2;c57));)c+=1;return{number:a.slice(0,c),unit:a.slice(c)}},ka}var D9=O9,il=L9,sl=A9;function $t(e){return this instanceof $t?(this.nodes=D9(e),this):new $t(e)}$t.prototype.toString=function(){return Array.isArray(this.nodes)?sl(this.nodes):""};$t.prototype.walk=function(e,t){return il(this.nodes,e,t),this};$t.unit=q9();$t.walk=il;$t.stringify=sl;var I9=$t,cl={},Ri={},Qo={},Sn={};Object.defineProperty(Sn,"__esModule",{value:!0});Sn.default=void 0;let ul;ul=null;var k9=ul;Sn.default=k9;Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var pc=V9(L);F9(Sn);function F9(e){return e&&e.__esModule?e:{default:e}}function ll(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(ll=function(n){return n?r:t})(e)}function V9(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=ll(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}const z9=function(t){return pc.default.createElement(pc.Fragment,null,t.children)};var U9=z9;Qo.default=U9;var Ie={},Ni={},Xo={},Yo={},B9={},Rr={},ke={};Object.defineProperty(ke,"__esModule",{value:!0});ke.default=ke.HTMLContentModel=void 0;let Oo;ke.HTMLContentModel=Oo;(function(e){e.block="block",e.textual="textual",e.mixed="mixed",e.none="none"})(Oo||(ke.HTMLContentModel=Oo={}));var W9=Oo;ke.default=W9;Object.defineProperty(Rr,"__esModule",{value:!0});Rr.default=void 0;var qt=H9(ke);function H9(e){return e&&e.__esModule?e:{default:e}}function nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const j9=["textual","edits","anchor"],G9=["tabular","grouping","sectioning"];class fn{constructor({tagName:t,contentModel:r,isOpaque:n,mixedUAStyles:o,isVoid:i,getUADerivedStyleFromAttributes:a,getMixedUAStyles:c,setMarkersForTNode:l,getReactNativeProps:d,reactNativeProps:p}){nt(this,"tagName",void 0),nt(this,"contentModel",void 0),nt(this,"isOpaque",void 0),nt(this,"isVoid",void 0),nt(this,"mixedUAStyles",void 0),nt(this,"reactNativeProps",void 0),nt(this,"getUADerivedStyleFromAttributes",void 0),nt(this,"getMixedUAStyles",void 0),nt(this,"getReactNativeProps",void 0),nt(this,"setMarkersForTNode",void 0),this.tagName=t,this.contentModel=r,this.isOpaque=n||!1,this.isVoid=i,this.mixedUAStyles=o,this.getUADerivedStyleFromAttributes=a,this.getMixedUAStyles=c,this.setMarkersForTNode=l,this.getReactNativeProps=d,this.reactNativeProps=p}static fromCustomModel(t){const{contentModel:r,tagName:n,isOpaque:o=!1,isVoid:i=!1,...a}=t;return new fn({tagName:n,contentModel:r,isOpaque:o,isVoid:i,...a})}static fromNativeModel(t){const{category:r,isOpaque:n,isVoid:o=!1,...i}=t,a=j9.indexOf(r)!==-1,c=a||G9.indexOf(r)!==-1,l=r==="anchor"||r==="edits"?qt.default.mixed:a?qt.default.textual:c?qt.default.block:qt.default.none;return new fn({isVoid:o,contentModel:l,isOpaque:n??r==="embedded",...i})}isTranslatableBlock(){return this.contentModel===qt.default.block}isTranslatableTextual(){return this.contentModel===qt.default.textual||this.contentModel===qt.default.mixed}extend(t){const r=typeof t=="function"?t(this):t;return new fn({...this,...r})}}Rr.default=fn;var Nr={},Ye={},Xt={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0;var t;(function(n){n.Root="root",n.Text="text",n.Directive="directive",n.Comment="comment",n.Script="script",n.Style="style",n.Tag="tag",n.CDATA="cdata",n.Doctype="doctype"})(t=e.ElementType||(e.ElementType={}));function r(n){return n.type===t.Tag||n.type===t.Script||n.type===t.Style}e.isTag=r,e.Root=t.Root,e.Text=t.Text,e.Directive=t.Directive,e.Comment=t.Comment,e.Script=t.Script,e.Style=t.Style,e.Tag=t.Tag,e.CDATA=t.CDATA,e.Doctype=t.Doctype})(Xt);var Q={},Yt=I&&I.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),pn=I&&I.__assign||function(){return pn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(r){this.children=r},enumerable:!1,configurable:!0}),t}(Oi);Q.NodeWithChildren=Jo;var hl=function(e){Yt(t,e);function t(r){return e.call(this,de.ElementType.Root,r)||this}return t}(Jo);Q.Document=hl;var gl=function(e){Yt(t,e);function t(r,n,o,i){o===void 0&&(o=[]),i===void 0&&(i=r==="script"?de.ElementType.Script:r==="style"?de.ElementType.Style:de.ElementType.Tag);var a=e.call(this,i,o)||this;return a.name=r,a.attribs=n,a}return Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(r){this.name=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var r=this;return Object.keys(this.attribs).map(function(n){var o,i;return{name:n,value:r.attribs[n],namespace:(o=r["x-attribsNamespace"])===null||o===void 0?void 0:o[n],prefix:(i=r["x-attribsPrefix"])===null||i===void 0?void 0:i[n]}})},enumerable:!1,configurable:!0}),t}(Jo);Q.Element=gl;function ml(e){return(0,de.isTag)(e)}Q.isTag=ml;function vl(e){return e.type===de.ElementType.CDATA}Q.isCDATA=vl;function yl(e){return e.type===de.ElementType.Text}Q.isText=yl;function _l(e){return e.type===de.ElementType.Comment}Q.isComment=_l;function bl(e){return e.type===de.ElementType.Directive}Q.isDirective=bl;function Sl(e){return e.type===de.ElementType.Root}Q.isDocument=Sl;function X9(e){return Object.prototype.hasOwnProperty.call(e,"children")}Q.hasChildren=X9;function Li(e,t){t===void 0&&(t=!1);var r;if(yl(e))r=new dl(e.data);else if(_l(e))r=new fl(e.data);else if(ml(e)){var n=t?Fa(e.children):[],o=new gl(e.name,pn({},e.attribs),n);n.forEach(function(l){return l.parent=o}),e.namespace!=null&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=pn({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=pn({},e["x-attribsPrefix"])),r=o}else if(vl(e)){var n=t?Fa(e.children):[],i=new Jo(de.ElementType.CDATA,n);n.forEach(function(d){return d.parent=i}),r=i}else if(Sl(e)){var n=t?Fa(e.children):[],a=new hl(n);n.forEach(function(d){return d.parent=a}),e["x-mode"]&&(a["x-mode"]=e["x-mode"]),r=a}else if(bl(e)){var c=new pl(e.name,e.data);e["x-name"]!=null&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),r=c}else throw new Error("Not implemented yet: ".concat(e.type));return r.startIndex=e.startIndex,r.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(r.sourceCodeLocation=e.sourceCodeLocation),r}Q.cloneNode=Li;function Fa(e){for(var t=e.map(function(n){return Li(n,!0)}),r=1;r":null}},k=function(g){return function(S){return S.type===g?S.value:null}},F=function(g,S){return S===void 0&&(S=String),function(C){if(C.type!=="word")return null;var O=C.value.match(g);if(O===null)return null;var W=S(O[1]);return W}},z=H(function(V){return V.type==="space"}),Y=H(function(V){return V.type==="div"&&V.value==="/"}),oe=H(function(V){return V.type==="div"&&V.value===","}),ee=k("word"),_e=F(p),be=F(v),re=F(N,Number),te=F(T,Number),s=F(E),u=F(M,function(V){return V.toLowerCase()}),f=F(D),m=F(h),_=a,w=d,$=F(/^(none|underline|line-through)$/i),P=function(g){var S=g.expect(re);return g.hasTokens()&&(g.expect(Y),S/=g.expect(re)),{aspectRatio:S}},x=F(/^(solid|dashed|dotted)$/),U=1,R="black",X="solid",G=function(g){var S,C,O;if(g.matches(_e))return g.expectEmpty(),{borderWidth:0,borderColor:"black",borderStyle:"solid"};for(var W=0;W<3&&g.hasTokens();)W!==0&&g.expect(z),S===void 0&&g.matches(te,s)?S=g.lastValue:C===void 0&&g.matches(w)?C=g.lastValue:O===void 0&&g.matches(x)?O=g.lastValue:g.throw(),W+=1;return g.expectEmpty(),S===void 0&&(S=U),C===void 0&&(C=R),O===void 0&&(O=X),{borderWidth:S,borderColor:C,borderStyle:O}},j=function(g){var S=g.types,C=S===void 0?[te,s,f]:S,O=g.directions,W=O===void 0?["Top","Right","Bottom","Left"]:O,Z=g.prefix,Me=Z===void 0?"":Z,_t=g.suffix,Ma=_t===void 0?"":_t;return function(rt){var sr,At=[];for(At.push(rt.expect.apply(rt,C));At.length<4&&rt.hasTokens();)rt.expect(z),At.push(rt.expect.apply(rt,C));rt.expectEmpty();var Ra=At[0],sc=At[1],cc=sc===void 0?Ra:sc,uc=At[2],a9=uc===void 0?Ra:uc,lc=At[3],i9=lc===void 0?cc:lc,no=function(s9){return""+Me+W[s9]+Ma};return sr={},sr[no(0)]=Ra,sr[no(1)]=cc,sr[no(2)]=a9,sr[no(3)]=i9,sr}},ue=function(g){var S=g.expect(te),C=g.matches(z)?g.expect(te):S;return g.expectEmpty(),{width:S,height:C}},se=function(g){var S,C,O,W;if(g.matches(_e))return g.expectEmpty(),{offset:{width:0,height:0},radius:0,color:"black"};for(var Z=!1;g.hasTokens();)Z&&g.expect(z),S===void 0&&g.matches(te,s)?(S=g.lastValue,g.expect(z),C=g.expect(te,s),g.saveRewindPoint(),g.matches(z)&&g.matches(te,s)?O=g.lastValue:g.rewind()):W===void 0&&g.matches(w)?W=g.lastValue:g.throw(),Z=!0;return S===void 0&&g.throw(),{offset:{width:S,height:C},radius:O!==void 0?O:0,color:W!==void 0?W:"black"}},ce=function(g){var S=se(g),C=S.offset,O=S.radius,W=S.color;return{shadowOffset:C,shadowRadius:O,shadowColor:W,shadowOpacity:1}},je=1,ge=1,Ee=0,Le=function(g){var S,C,O;if(g.matches(_e))return g.expectEmpty(),{flexGrow:0,flexShrink:0,flexBasis:"auto"};if(g.saveRewindPoint(),g.matches(be)&&!g.hasTokens())return{flexGrow:1,flexShrink:1,flexBasis:"auto"};g.rewind();for(var W=0;W<2&&g.hasTokens();)W!==0&&g.expect(z),S===void 0&&g.matches(re)?(S=g.lastValue,g.saveRewindPoint(),g.matches(z)&&g.matches(re)?C=g.lastValue:g.rewind()):O===void 0&&g.matches(te,s,f)?O=g.lastValue:O===void 0&&g.matches(be)?O="auto":g.throw(),W+=1;return g.expectEmpty(),S===void 0&&(S=je),C===void 0&&(C=ge),O===void 0&&(O=Ee),{flexGrow:S,flexShrink:C,flexBasis:O}},tt=F(/(nowrap|wrap|wrap-reverse)/),dt=F(/(row|row-reverse|column|column-reverse)/),Yr="nowrap",mp="row",vp=function(g){for(var S,C,O=0;O<2&&g.hasTokens();)O!==0&&g.expect(z),S===void 0&&g.matches(tt)?S=g.lastValue:C===void 0&&g.matches(dt)?C=g.lastValue:g.throw(),O+=1;return g.expectEmpty(),S===void 0&&(S=Yr),C===void 0&&(C=mp),{flexWrap:S,flexDirection:C}},tc=function(g){var S;if(g.matches(_))S=g.lastValue;else for(S=g.expect(m);g.hasTokens();){g.expect(z);var C=g.expect(m);S+=" "+C}return g.expectEmpty(),{fontFamily:S}},yp=F(/^(normal)$/),_p=F(/^(italic)$/),bp=F(/^([1-9]00|bold)$/),Sp=F(/^(small-caps)$/),wp="normal",$p="normal",Pp=[],xp=function(g){for(var S,C,O,W,Z=0;Z<3&&g.hasTokens();){if(!g.matches(yp))if(S===void 0&&g.matches(_p))S=g.lastValue;else if(C===void 0&&g.matches(bp))C=g.lastValue;else if(O===void 0&&g.matches(Sp))O=[g.lastValue];else break;g.expect(z),Z+=1}var Me=g.expect(te,s);g.matches(Y)&&(W=g.expect(te,s)),g.expect(z);var _t=tc(g),Ma=_t.fontFamily;S===void 0&&(S=wp),C===void 0&&(C=$p),O===void 0&&(O=Pp);var rt={fontStyle:S,fontWeight:C,fontVariant:O,fontSize:Me,fontFamily:Ma};return W!==void 0&&(rt.lineHeight=W),rt},Cp=function(g){for(var S=[g.expect(m)];g.hasTokens();)g.expect(z),S.push(g.expect(m));return{fontVariant:S}},Tp=F(/(flex-(?:start|end)|center|stretch|space-(?:between|around))/),Ep=F(/(flex-(?:start|end)|center|space-(?:between|around|evenly))/),Mp=function(g){var S=g.expect(Tp),C;return g.hasTokens()?(g.expect(z),C=g.expect(Ep)):C="stretch",g.expectEmpty(),{alignContent:S,justifyContent:C}},Rp=F(/^(solid|double|dotted|dashed)$/),Np="none",Op="solid",Lp="black",Ap=function(g){for(var S,C,O,W=!1;g.hasTokens();){if(W&&g.expect(z),S===void 0&&g.matches($)){var Z=[g.lastValue.toLowerCase()];g.saveRewindPoint(),Z[0]!=="none"&&g.matches(z)&&g.matches($)?(Z.push(g.lastValue.toLowerCase()),Z.sort().reverse()):g.rewind(),S=Z.join(" ")}else C===void 0&&g.matches(Rp)?C=g.lastValue:O===void 0&&g.matches(w)?O=g.lastValue:g.throw();W=!0}return{textDecorationLine:S!==void 0?S:Np,textDecorationColor:O!==void 0?O:Lp,textDecorationStyle:C!==void 0?C:Op}},qp=function(g){for(var S=[],C=!1;g.hasTokens();)C&&g.expect(z),S.push(g.expect($).toLowerCase()),C=!0;return S.sort().reverse(),{textDecorationLine:S.join(" ")}},Dp=function(g){var S=se(g),C=S.offset,O=S.radius,W=S.color;return{textShadowOffset:C,textShadowRadius:O,textShadowColor:W}},xa=function(g){return function(S){var C=S.expect(g);return S.expectEmpty(),C}},Ca=xa(re),rc=xa(te),ir=xa(u),Ta=function(g){return function(S,C){return function(O){var W,Z,Me=O.expect(g),_t;if(O.hasTokens())O.expect(oe),_t=O.expect(g);else if(C!==void 0)_t=C;else return Me;return O.expectEmpty(),[(W={},W[S+"Y"]=_t,W),(Z={},Z[S+"X"]=Me,Z)]}}},Ip=Ta(re),kp=Ta(te),Fp=Ta(u),Vp={perspective:Ca,scale:Ip("scale"),scaleX:Ca,scaleY:Ca,translate:kp("translate",0),translateX:rc,translateY:rc,rotate:ir,rotateX:ir,rotateY:ir,rotateZ:ir,skewX:ir,skewY:ir,skew:Fp("skew","0deg")},zp=function(g){for(var S=[],C=!1;g.hasTokens();){C&&g.expect(z);var O=g.expectFunction(),W=O.functionName,Z=Vp[W](O);if(!Array.isArray(Z)){var Me;Z=[(Me={},Me[W]=Z,Me)]}S=Z.concat(S),C=!0}return{transform:S}},Up=function(g){return{backgroundColor:g.expect(w)}},Bp=j({types:[w],prefix:"border",suffix:"Color"}),Wp=j({directions:["TopLeft","TopRight","BottomRight","BottomLeft"],prefix:"border",suffix:"Radius"}),Hp=j({prefix:"border",suffix:"Width"}),jp=j({types:[te,s,f,be],prefix:"margin"}),Gp=j({prefix:"padding"}),Qp=function(g){return{fontWeight:g.expect(ee)}},Xp=function(g){return{shadowOffset:ue(g)}},Yp=function(g){return{textShadowOffset:ue(g)}},nc={aspectRatio:P,background:Up,border:G,borderColor:Bp,borderRadius:Wp,borderWidth:Hp,boxShadow:ce,flex:Le,flexFlow:vp,font:xp,fontFamily:tc,fontVariant:Cp,fontWeight:Qp,margin:jp,padding:Gp,placeContent:Mp,shadowOffset:Xp,textShadow:Dp,textShadowOffset:Yp,textDecoration:Ap,textDecorationLine:qp,transform:zp},Ea="SYMBOL_MATCH",Zp=function(){function V(S,C){this.index=0,this.nodes=S,this.functionName=C!=null?C.value:null,this.lastValue=null,this.rewindIndex=-1}var g=V.prototype;return g.hasTokens=function(){return this.index<=this.nodes.length-1},g[Ea]=function(){if(!this.hasTokens())return null;for(var S=this.nodes[this.index],C=0;Cc[o][i][a])]);return n}static new(){return new Lo}}$n.CSSProcessedProps=Lo;Object.defineProperty(wn,"__esModule",{value:!0});wn.CSSParseRun=void 0;var th=$n;function mc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class rh{constructor(t){mc(this,"validationMap",void 0),mc(this,"processedProps",void 0),this.validationMap=t,this.processedProps=new th.CSSProcessedProps}exec(){return this.fillProcessedProps(),this.processedProps}}wn.CSSParseRun=rh;var mt={};Object.defineProperty(mt,"__esModule",{value:!0});mt.ShortMergeRequest=void 0;function nh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class oh{constructor(t){nh(this,"properties",void 0),this.properties=t}forEach(t){this.entries().forEach(t)}map(t){return this.entries().map(t)}entries(){return this.properties==null?[]:Object.entries(this.properties)}}mt.ShortMergeRequest=oh;Object.defineProperty(r1,"__esModule",{value:!0});r1.CSSInlineParseRun=void 0;var ah=Di,ih=wn,sh=mt;function ch(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class uh extends ih.CSSParseRun{constructor(t,r){super(r),ch(this,"rules",void 0),this.rules=this.parseInlineCSS(t),this.normalizeProp=this.normalizeProp.bind(this),this.reduceProps=this.reduceProps.bind(this)}parseInlineCSS(t){return t.split(";").map(r=>r.split(":")).reduce((r,n)=>n.length===2?[...r,[n[0].trim(),n[1].trim()]]:r,[])}normalizeProp(t,r=!1){const n=t[0],o=t[1],i=(0,ah.getPropertyName)(n);if(!this.validationMap.shouldRegisterInlineProperty(i))return null;const c=this.validationMap.getValidatorForProperty(i).normalizeInlineCSSValue(o);if(c===null){if(r)throw new TypeError;return null}return[i,c]}reduceProps(t,r){if(!r)return t;const[n,o]=r;if(o instanceof sh.ShortMergeRequest)try{return o.map(i=>this.normalizeProp(i,!0)).reduce(this.reduceProps,t)}catch{return t}return{...t,[n]:o}}fillProcessedProps(){const t=this.rules.map(r=>this.normalizeProp(r)).reduce(this.reduceProps,{});Object.keys(t).forEach(r=>{const n=t[r],o=this.validationMap.getValidatorForProperty(r),i=o.normalizeInlineCSSValue(n);this.processedProps.withProperty(r,i,o)})}}r1.CSSInlineParseRun=uh;var n1={},xn={};Object.defineProperty(xn,"__esModule",{value:!0});xn.lookupRecord=lh;function lh(e,t){return!!e[t]}Object.defineProperty(n1,"__esModule",{value:!0});n1.CSSNativeParseRun=void 0;var dh=wn,vc=xn,fh=mt;function ph(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const hh={borderBottomEndRadius:"block",borderBottomStartRadius:"block",borderEndColor:"block",borderEndWidth:"block",borderStartColor:"block",borderStartWidth:"block",borderTopEndRadius:"block",borderTopStartRadius:"block",end:"block",marginEnd:"block",marginStart:"block",paddingEnd:"block",paddingStart:"block",start:"block"},gh={elevation:"block",overflow:"block",overlayColor:"block",resizeMode:"block",rotation:"block",scaleX:"block",scaleY:"block",shadowColor:"block",shadowOffset:"block",shadowOpacity:"block",shadowRadius:"block",testID:"block",tintColor:"block",transformMatrix:"block",translateX:"block",translateY:"block"},mh={includeFontPadding:"text",textAlignVertical:"text",textShadowColor:"text",textShadowOffset:"text",textShadowRadius:"text",writingDirection:"text"},yc={...mh,...gh};class vh extends dh.CSSParseRun{constructor(t,r){super(r),ph(this,"declaration",void 0),this.declaration=t}fillProp(t,r){const n=this.validationMap.getValidatorForProperty(t);if(n){const o=n.normalizeNativeValue(r);o instanceof fh.ShortMergeRequest?o.forEach(([i,a])=>{this.fillProp(i,a)}):this.processedProps.withProperty(t,o,n)}else(0,vc.lookupRecord)(yc,t)?this.processedProps.withProperty(t,r,{compatCategory:"native",displayCategory:yc[t],propagationCategory:"retain"}):(0,vc.lookupRecord)(hh,t)?console.warn(`Native style property "${t}" is a directional style property. These are not yet supported.`):console.warn(`Native style property "${t}" is not supported and has been ignored.`)}fillProcessedProps(){const t=this.declaration;for(const r of Object.keys(t))this.fillProp(r,this.declaration[r])}}n1.CSSNativeParseRun=vh;var o1={},Ii={},a1={},Ze={},Cn={};Object.defineProperty(Cn,"__esModule",{value:!0});Cn.GenericCSSPropertyValidator=void 0;function Dt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class yh{constructor({model:t,config:r,propertyName:n},o){Dt(this,"model",void 0),Dt(this,"config",void 0),Dt(this,"compatCategory",void 0),Dt(this,"propagationCategory",void 0),Dt(this,"displayCategory",void 0),Dt(this,"propertyName",void 0),Dt(this,"_isShorthand",void 0),this.model=t,this.config=r,this.compatCategory=t.translatable?"native":"web",this.propagationCategory=t.inheritable?"flow":"retain",this.displayCategory=t.display,this.propertyName=n,this._isShorthand=o}isShorthand(){return this._isShorthand}}Cn.GenericCSSPropertyValidator=yh;Object.defineProperty(Ze,"__esModule",{value:!0});Ze.LongCSSPropertyValidator=void 0;var _h=Cn;class bh extends _h.GenericCSSPropertyValidator{constructor(t){super(t,!1)}normalizeInlineCSSValue(t){return typeof t!="string"?t:this.normalizeRawInlineCSSValue(t)}normalizeNativeValue(t){return t}}Ze.LongCSSPropertyValidator=bh;var i1={};Object.defineProperty(i1,"__esModule",{value:!0});i1.default=Sh;function Sh(e){return e.replace(/["']/g,"").trim()}Object.defineProperty(a1,"__esModule",{value:!0});a1.LongFontFamilyPropertyValidator=void 0;var wh=Ze,$h=Ph(i1);function Ph(e){return e&&e.__esModule?e:{default:e}}const xh=/,\s*/;class Ch extends wh.LongCSSPropertyValidator{normalizeRawInlineCSSValue(t){const r=t.split(xh);for(const n of r){const o=(0,$h.default)(n),i=o.length&&this.config.isFontSupported(o);if(i)return typeof i=="string"?i:o}return null}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}a1.LongFontFamilyPropertyValidator=Ch;var s1={};Object.defineProperty(s1,"__esModule",{value:!0});s1.LongFloatNumberCSSPropertyValidator=void 0;var Th=Ze;class Eh extends Th.LongCSSPropertyValidator{normalizeRawInlineCSSValue(t){const r=Number(t);return Number.isNaN(r)?null:r}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}s1.LongFloatNumberCSSPropertyValidator=Eh;var c1={},Tn={},Ar={};Object.defineProperty(Ar,"__esModule",{value:!0});Ar.LongSizeCSSPropertyValidator=void 0;var Mh=Ze;class Rh extends Mh.LongCSSPropertyValidator{computeSize(t,r){switch(r){case"%":return`${t}%`;case"px":return t;case"cm":case"in":case"mm":case"pc":case"pt":return t*this.config.absoluteLengthUnitsMultiplicators[r];case"em":return this.computeEmSize(t);case"ex":return this.computeEmSize(t*.63);case"rem":return this.config.rootFontSize*t}return null}computeEmSize(t){return this.config.rootFontSize*t}splitValueAndUnit(t){const r=/^(\d*\.?\d*)\s*(cm|mm|in|px|pt|pc|em|ex|ch|rem|vw|vh|vmin|vmax|%)$/g.exec(t);return r===null?null:[Number(r[1]),r[2]]}normalizeRawInlineCSSValue(t){if(t==="0")return 0;if(t==="auto")return t;const r=this.splitValueAndUnit(t);return r?this.computeSize(r[0],r[1]):null}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}Ar.LongSizeCSSPropertyValidator=Rh;Object.defineProperty(Tn,"__esModule",{value:!0});Tn.LongNonPercentSizeCSSPropertyValidator=void 0;var Nh=Ar;class Oh extends Nh.LongSizeCSSPropertyValidator{computeSize(t,r){return r==="%"?null:super.computeSize(t,r)}}Tn.LongNonPercentSizeCSSPropertyValidator=Oh;Object.defineProperty(c1,"__esModule",{value:!0});c1.LongBorderWidthCSSPropertyValidator=void 0;var Lh=xn,Ah=Tn;class qh extends Ah.LongNonPercentSizeCSSPropertyValidator{normalizeRawInlineCSSValue(t){return(0,Lh.lookupRecord)(this.config.absoluteBorderWidthsPixelMap,t)?this.config.absoluteBorderWidthsPixelMap[t]:super.normalizeRawInlineCSSValue(t)}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}c1.LongBorderWidthCSSPropertyValidator=qh;var u1={};Object.defineProperty(u1,"__esModule",{value:!0});u1.LongFontSizeCSSValidator=void 0;var _c=xn,Dh=Ar;class Ih extends Dh.LongSizeCSSPropertyValidator{computeSize(t,r){return r==="%"?this.computeEmSize(t/100):super.computeSize(t,r)}normalizeRawInlineCSSValue(t){return(0,_c.lookupRecord)(this.config.absoluteFontSizesPixelMap,t)?this.config.absoluteFontSizesPixelMap[t]:(0,_c.lookupRecord)(this.config.relativeFontSizesCoefficientMap,t)?this.computeEmSize(this.config.relativeFontSizesCoefficientMap[t]):super.normalizeRawInlineCSSValue(t)}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}u1.LongFontSizeCSSValidator=Ih;var l1={};Object.defineProperty(l1,"__esModule",{value:!0});l1.LongAspectRatioPropertyValidator=void 0;var kh=Ze;const Fh=/^(\d+)\/(\d+)$/;class Vh extends kh.LongCSSPropertyValidator{normalizeRawInlineCSSValue(t){const r=Fh.exec(t);if(r){const o=Number(r[1])/Number(r[2]);return Number.isFinite(o)?o:null}const n=Number(t);return Number.isNaN(n)?null:n}normalizeNativeValue(t){return typeof t!="string"?t:this.normalizeRawInlineCSSValue(t)}}l1.LongAspectRatioPropertyValidator=Vh;var d1={};Object.defineProperty(d1,"__esModule",{value:!0});d1.LongEnumerationListCSSPropertyValidator=void 0;var zh=Ze;function Uh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Bh=/\s+/;class Wh extends zh.LongCSSPropertyValidator{constructor(t,r){super(t),Uh(this,"allowedList",void 0),this.allowedList=r}normalizeRawInlineCSSValue(t){const r=t.split(Bh),n=[];for(const o of r)this.allowedList.indexOf(o)!==-1&&n.push(o);return n.length>0?n:null}}d1.LongEnumerationListCSSPropertyValidator=Wh;var f1={},En={};Object.defineProperty(En,"__esModule",{value:!0});En.LongEnumerationCSSPropertyValidator=void 0;var Hh=Ze;function jh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Gh extends Hh.LongCSSPropertyValidator{constructor(t,r){super(t),jh(this,"allowedList",void 0),this.allowedList=r}normalizeRawInlineCSSValue(t){return this.allowedList.indexOf(t)!==-1?t:null}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}En.LongEnumerationCSSPropertyValidator=Gh;Object.defineProperty(f1,"__esModule",{value:!0});f1.LongBorderStyleCSSPropertyValidator=void 0;var Qh=En;const Xh=/\s+/;class Yh extends Qh.LongEnumerationCSSPropertyValidator{normalizeRawInlineCSSValue(t){const r=this.pickFirst(t);return r?super.normalizeRawInlineCSSValue(r):null}normalizeNativeValue(t){return this.pickFirst(t)}pickFirst(t){return t.split(Xh)[0]||null}}f1.LongBorderStyleCSSPropertyValidator=Yh;var p1={},Mn={};Object.defineProperty(Mn,"__esModule",{value:!0});Mn.LongForgivingCSSPropertyValidator=void 0;var Zh=Ze;class Jh extends Zh.LongCSSPropertyValidator{normalizeRawInlineCSSValue(t){return t}}Mn.LongForgivingCSSPropertyValidator=Jh;Object.defineProperty(p1,"__esModule",{value:!0});p1.LongColorCSSPropertyValidator=void 0;var Kh=Mn;const e6=/^(rgb|rgba|hsl|hsla)\([\d,%. ]+\)|[#]?\w+$/;class t6 extends Kh.LongForgivingCSSPropertyValidator{normalizeRawInlineCSSValue(t){return t.match(e6)?t:null}}p1.LongColorCSSPropertyValidator=t6;var h1={},Rn={},Jt={};Object.defineProperty(Jt,"__esModule",{value:!0});Jt.ShortCSSPropertyValidator=void 0;var r6=Cn;class n6 extends r6.GenericCSSPropertyValidator{constructor(t){super(t,!0)}}Jt.ShortCSSPropertyValidator=n6;var Nn={};Object.defineProperty(Nn,"__esModule",{value:!0});Nn.default=a6;var o6=Di;function a6(e,t){try{return(0,o6.getStylesForProperty)(e,t)}catch{}return null}Object.defineProperty(Rn,"__esModule",{value:!0});Rn.ShortCSSToReactNativeValidator=void 0;var i6=Jt,s6=u6(Nn),c6=mt;function u6(e){return e&&e.__esModule?e:{default:e}}class l6 extends i6.ShortCSSPropertyValidator{normalizeInlineCSSValue(t){return new c6.ShortMergeRequest((0,s6.default)(this.propertyName,t))}normalizeNativeValue(){return null}}Rn.ShortCSSToReactNativeValidator=l6;Object.defineProperty(h1,"__esModule",{value:!0});h1.ShortFontCSSValidator=void 0;var d6=Rn,f6=p6(i1);function p6(e){return e&&e.__esModule?e:{default:e}}const h6=/\s+/;class g6 extends d6.ShortCSSToReactNativeValidator{normalizeInlineCSSValue(t){const r=t.split(",");let n=null;if(r.length===1)return super.normalizeInlineCSSValue(r[0]);const o=r.splice(0,1)[0];for(const i of r){const a=(0,f6.default)(i),c=this.config.isFontSupported(a);if(c){n=typeof c=="string"?c:a;break}}return super.normalizeInlineCSSValue(o.split(h6).slice(0,-1).join(" ")+" "+(n||"system"))}}h1.ShortFontCSSValidator=g6;var g1={};Object.defineProperty(g1,"__esModule",{value:!0});g1.ShortFlexCSSPropertyValidator=void 0;var m6=mt,v6=_6(Nn),y6=Jt;function _6(e){return e&&e.__esModule?e:{default:e}}class b6 extends y6.ShortCSSPropertyValidator{constructor(t){super({...t,propertyName:"flex"})}normalizeInlineCSSValue(t){return new m6.ShortMergeRequest((0,v6.default)(this.propertyName,t))}normalizeNativeValue(t){return t}}g1.ShortFlexCSSPropertyValidator=b6;var m1={};Object.defineProperty(m1,"__esModule",{value:!0});m1.LongCSSToReactNativeValidator=void 0;var S6=Ze,w6=$6(Nn);function $6(e){return e&&e.__esModule?e:{default:e}}class P6 extends S6.LongCSSPropertyValidator{normalizeRawInlineCSSValue(t){const r=(0,w6.default)(this.propertyName,t);return r?r[this.propertyName]:null}}m1.LongCSSToReactNativeValidator=P6;var v1={};Object.defineProperty(v1,"__esModule",{value:!0});v1.ShortCardinalCSSpropertyValidator=void 0;var Zr=mt,x6=Jt;function C6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const T6=/\s+/;class E6 extends x6.ShortCSSPropertyValidator{constructor(t,r){super(t),C6(this,"directions",void 0),this.directions=r}normalizeInlineCSSValue(t){if(typeof t=="number")return new Zr.ShortMergeRequest({[this.directions.top]:t,[this.directions.right]:t,[this.directions.bottom]:t,[this.directions.left]:t});const r=t.split(T6);return r.length===4?new Zr.ShortMergeRequest({[this.directions.top]:r[0],[this.directions.right]:r[1],[this.directions.bottom]:r[2],[this.directions.left]:r[3]}):r.length===3?new Zr.ShortMergeRequest({[this.directions.top]:r[0],[this.directions.right]:r[1],[this.directions.bottom]:r[2],[this.directions.left]:r[1]}):r.length===2?new Zr.ShortMergeRequest({[this.directions.top]:r[0],[this.directions.right]:r[1],[this.directions.bottom]:r[0],[this.directions.left]:r[1]}):r.length===1?new Zr.ShortMergeRequest({[this.directions.top]:r[0],[this.directions.right]:r[0],[this.directions.bottom]:r[0],[this.directions.left]:r[0]}):null}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}v1.ShortCardinalCSSpropertyValidator=E6;var y1={};Object.defineProperty(y1,"__esModule",{value:!0});y1.ShortDualNativepropertyValidator=void 0;var M6=mt,R6=Jt;function N6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class O6 extends R6.ShortCSSPropertyValidator{constructor(t,r){super(t),N6(this,"directions",void 0),this.directions=r}normalizeInlineCSSValue(){return null}normalizeNativeValue(t){return new M6.ShortMergeRequest({[this.directions[0]]:t,[this.directions[1]]:t})}}y1.ShortDualNativepropertyValidator=O6;Object.defineProperty(Ii,"__esModule",{value:!0});Ii.default=H6;var L6=a1,io=s1,so=c1,A6=u1,fe=Ar,q6=l1,D6=d1,I6=f1,he=En,It=p1,k6=h1,co=Rn,F6=g1,V6=m1,Jr=v1,uo=y1,z6=Mn,Kr=Tn;const U6={inheritable:!0,native:!0,translatable:!0,display:"block"},q={inheritable:!1,native:!0,translatable:!0,display:"block"},B6={inheritable:!1,native:!0,translatable:!1,display:"block"},Ge={inheritable:!0,native:!0,translatable:!0,display:"text"},lo={inheritable:!1,native:!0,translatable:!0,display:"text"},Va={inheritable:!0,native:!1,translatable:!1,display:"text"},W6={inheritable:!1,native:!1,translatable:!1,display:"block"};function H6(e){return{background:new co.ShortCSSToReactNativeValidator({config:e,model:q,propertyName:"background"}),border:new co.ShortCSSToReactNativeValidator({config:e,model:q,propertyName:"border"}),borderRadius:new Jr.ShortCardinalCSSpropertyValidator({config:e,model:q,propertyName:"borderRadius"},{top:"borderTopLeftRadius",right:"borderTopRightRadius",bottom:"borderBottomRightRadius",left:"borderBottomLeftRadius"}),borderColor:new Jr.ShortCardinalCSSpropertyValidator({config:e,model:q,propertyName:"borderColor"},{top:"borderTopColor",right:"borderRightColor",bottom:"borderBottomColor",left:"borderLeftColor"}),borderStyle:new I6.LongBorderStyleCSSPropertyValidator({config:e,model:q,propertyName:"borderStyle"},["solid","dotted","dashed"]),borderWidth:new Jr.ShortCardinalCSSpropertyValidator({config:e,propertyName:"borderWidth",model:q},{top:"borderTopWidth",right:"borderRightWidth",bottom:"borderBottomWidth",left:"borderLeftWidth"}),flex:new F6.ShortFlexCSSPropertyValidator({config:e,propertyName:"flex",model:q}),flexFlow:new co.ShortCSSToReactNativeValidator({config:e,model:q,propertyName:"flexFlow"}),font:new k6.ShortFontCSSValidator({config:e,model:Ge,propertyName:"font"}),margin:new Jr.ShortCardinalCSSpropertyValidator({config:e,model:q,propertyName:"margin"},{top:"marginTop",right:"marginRight",bottom:"marginBottom",left:"marginLeft"}),objectFit:new he.LongEnumerationCSSPropertyValidator({config:e,model:W6,propertyName:"objectFit"},["fill","contain","cover","none","scale-down"]),padding:new Jr.ShortCardinalCSSpropertyValidator({config:e,model:q,propertyName:"padding"},{top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"}),marginHorizontal:new uo.ShortDualNativepropertyValidator({config:e,model:q,propertyName:"marginHorizontal"},["marginLeft","marginRight"]),marginVertical:new uo.ShortDualNativepropertyValidator({config:e,model:q,propertyName:"marginVertical"},["marginTop","marginBottom"]),paddingHorizontal:new uo.ShortDualNativepropertyValidator({config:e,model:q,propertyName:"paddingHorizontal"},["paddingLeft","paddingRight"]),paddingVertical:new uo.ShortDualNativepropertyValidator({config:e,model:q,propertyName:"paddingVertical"},["paddingTop","paddingBottom"]),textDecoration:new co.ShortCSSToReactNativeValidator({config:e,model:lo,propertyName:"textDecoration"}),textDecorationColor:new It.LongColorCSSPropertyValidator({config:e,propertyName:"textDecorationColor",model:lo}),textDecorationLine:new he.LongEnumerationCSSPropertyValidator({config:e,model:lo,propertyName:"textDecorationLine"},["none","underline","line-through","underline line-through"]),textDecorationStyle:new he.LongEnumerationCSSPropertyValidator({config:e,model:lo,propertyName:"textDecorationStyle"},["solid","double","dotted","dashed"]),color:new It.LongColorCSSPropertyValidator({config:e,propertyName:"color",model:Ge}),fontFamily:new L6.LongFontFamilyPropertyValidator({config:e,propertyName:"fontFamily",model:Ge}),fontSize:new A6.LongFontSizeCSSValidator({config:e,propertyName:"fontSize",model:Ge}),fontStyle:new he.LongEnumerationCSSPropertyValidator({config:e,model:Ge,propertyName:"fontStyle"},["normal","italic"]),fontVariant:new D6.LongEnumerationListCSSPropertyValidator({config:e,model:Ge,propertyName:"fontVariant"},["small-caps","oldstyle-nums","lining-nums","tabular-nums","proportional-nums"]),fontWeight:new he.LongEnumerationCSSPropertyValidator({config:e,model:Ge,propertyName:"fontWeight"},["normal","bold","100","200","300","400","500","600","700","800","900"]),letterSpacing:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"letterSpacing",model:Ge}),lineHeight:new Kr.LongNonPercentSizeCSSPropertyValidator({config:e,propertyName:"lineHeight",model:Ge}),textAlign:new he.LongEnumerationCSSPropertyValidator({config:e,model:Ge,propertyName:"textAlign"},["auto","left","right","center","justify"]),textTransform:new he.LongEnumerationCSSPropertyValidator({config:e,model:Ge,propertyName:"textTransform"},["none","capitalize","uppercase","lowercase"]),whiteSpace:new he.LongEnumerationCSSPropertyValidator({config:e,model:Va,propertyName:"whiteSpace"},["normal","pre"]),listStyleType:new z6.LongForgivingCSSPropertyValidator({config:e,model:Va,propertyName:"listStyleType"}),userSelect:new he.LongEnumerationCSSPropertyValidator({config:e,model:Va,propertyName:"userSelect"},["auto","text","none","contain","all"]),alignContent:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"alignContent"},["flex-start","flex-end","center","stretch","space-between","space-around"]),alignItems:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"alignItems"},["flex-start","flex-end","center","stretch","baseline"]),alignSelf:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"alignSelf"},["auto","flex-start","flex-end","center","stretch","baseline"]),aspectRatio:new q6.LongAspectRatioPropertyValidator({config:e,model:q,propertyName:"aspectRatio"}),bottom:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"bottom",model:q}),display:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"display"},["flex","none"]),flexBasis:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"flexBasis",model:q}),flexDirection:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"flexDirection"},["row","column","row-reverse","column-reverse"]),flexGrow:new io.LongFloatNumberCSSPropertyValidator({config:e,propertyName:"flexGrow",model:q}),flexShrink:new io.LongFloatNumberCSSPropertyValidator({config:e,propertyName:"flexShrink",model:q}),flexWrap:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"flexWrap"},["wrap","nowrap","wrap-reverse"]),justifyContent:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"justifyContent"},["flex-start","flex-end","center","space-between","space-around","space-evenly"]),left:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"left",model:q}),position:new he.LongEnumerationCSSPropertyValidator({config:e,model:B6,propertyName:"position"},["absolute","relative"]),right:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"right",model:q}),top:new fe.LongSizeCSSPropertyValidator({config:e,model:q,propertyName:"top"}),backfaceVisibility:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"backfaceVisibility"},["visible","hidden"]),backgroundColor:new It.LongColorCSSPropertyValidator({config:e,propertyName:"backgroundColor",model:q}),borderBottomColor:new It.LongColorCSSPropertyValidator({config:e,propertyName:"borderBottomColor",model:q}),borderBottomLeftRadius:new Kr.LongNonPercentSizeCSSPropertyValidator({config:e,propertyName:"borderBottomLeftRadius",model:q}),borderBottomRightRadius:new Kr.LongNonPercentSizeCSSPropertyValidator({config:e,propertyName:"borderBottomRightRadius",model:q}),borderBottomWidth:new so.LongBorderWidthCSSPropertyValidator({config:e,propertyName:"borderBottomWidth",model:q}),borderLeftColor:new It.LongColorCSSPropertyValidator({config:e,propertyName:"borderLeftColor",model:q}),borderLeftWidth:new so.LongBorderWidthCSSPropertyValidator({config:e,propertyName:"borderLeftWidth",model:q}),borderRightColor:new It.LongColorCSSPropertyValidator({config:e,propertyName:"borderRightColor",model:q}),borderRightWidth:new so.LongBorderWidthCSSPropertyValidator({config:e,propertyName:"borderRightWidth",model:q}),borderTopColor:new It.LongColorCSSPropertyValidator({config:e,propertyName:"borderTopColor",model:q}),borderTopLeftRadius:new Kr.LongNonPercentSizeCSSPropertyValidator({config:e,propertyName:"borderTopLeftRadius",model:q}),borderTopRightRadius:new Kr.LongNonPercentSizeCSSPropertyValidator({config:e,propertyName:"borderTopRightRadius",model:q}),borderTopWidth:new so.LongBorderWidthCSSPropertyValidator({config:e,propertyName:"borderTopWidth",model:q}),height:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"height",model:q}),marginBottom:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"marginBottom",model:q}),marginLeft:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"marginLeft",model:q}),marginRight:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"marginRight",model:q}),marginTop:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"marginTop",model:q}),maxHeight:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"maxHeight",model:q}),maxWidth:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"maxWidth",model:q}),minHeight:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"minHeight",model:q}),minWidth:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"minWidth",model:q}),opacity:new io.LongFloatNumberCSSPropertyValidator({config:e,propertyName:"opacity",model:q}),paddingBottom:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"paddingBottom",model:q}),paddingLeft:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"paddingLeft",model:q}),paddingRight:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"paddingRight",model:q}),paddingTop:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"paddingTop",model:q}),transform:new V6.LongCSSToReactNativeValidator({config:e,propertyName:"transform",model:q}),width:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"width",model:q}),zIndex:new io.LongFloatNumberCSSPropertyValidator({config:e,propertyName:"zIndex",model:q}),direction:new he.LongEnumerationCSSPropertyValidator({config:e,model:U6,propertyName:"direction"},["auto","ltr","rtl"])}}Object.defineProperty(o1,"__esModule",{value:!0});o1.CSSPropertiesValidationRegistry=void 0;var j6=G6(Ii);function G6(e){return e&&e.__esModule?e:{default:e}}function za(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bc(e){const t={};return e.forEach(r=>{t[r]=!0}),t}class Q6{constructor(t){za(this,"validators",void 0),za(this,"ignoredPropertiesRegistry",void 0),za(this,"allowedPropertiesRegistry",void 0),this.validators=(0,j6.default)(t),this.ignoredPropertiesRegistry=bc(t.inlinePropertiesBlacklist),this.allowedPropertiesRegistry=t.inlinePropertiesWhitelist?bc(t.inlinePropertiesWhitelist):null}isInlinePropertyAllowed(t){return this.allowedPropertiesRegistry?!!this.allowedPropertiesRegistry[t]:!this.ignoredPropertiesRegistry[t]}shouldRegisterInlineProperty(t){return this.isInlinePropertyAllowed(t)&&!!this.validators[t]}getValidatorForProperty(t){return this.validators[t]||null}}o1.CSSPropertiesValidationRegistry=Q6;var On={};Object.defineProperty(On,"__esModule",{value:!0});On.defaultCSSProcessorConfig=void 0;const Pl=96,xl=Pl*2.54,X6=xl/10,Cl=4/3,Y6=12*Cl,Z6={absoluteLengthUnitsMultiplicators:{cm:xl,in:Pl,mm:X6,pc:Y6,pt:Cl},absoluteBorderWidthsPixelMap:{medium:2.5,thick:5,thin:1},absoluteFontSizesPixelMap:{medium:14,"xx-small":8.5,"x-small":10,small:12,large:17,"x-large":20,"xx-large":24},relativeFontSizesCoefficientMap:{larger:1.2,smaller:.83},inlinePropertiesBlacklist:[],rootFontSize:16,inlinePropertiesWhitelist:null,isFontSupported(){return!0}};On.defaultCSSProcessorConfig=Z6;Object.defineProperty(t1,"__esModule",{value:!0});t1.CSSProcessor=void 0;var J6=r1,K6=n1,e7=o1,t7=On;function r7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class n7{constructor(t){r7(this,"registry",void 0);const r={...t7.defaultCSSProcessorConfig,...t};this.registry=new e7.CSSPropertiesValidationRegistry(r)}compileStyleDeclaration(t){return new K6.CSSNativeParseRun(t,this.registry).exec()}compileInlineCSS(t){return new J6.CSSInlineParseRun(t,this.registry).exec()}}t1.CSSProcessor=n7;var o7={},a7={},i7={},s7={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t={CSSProcessor:!0,CSSProcessedProps:!0,mergeProps:!0};Object.defineProperty(e,"CSSProcessor",{enumerable:!0,get:function(){return r.CSSProcessor}}),Object.defineProperty(e,"CSSProcessedProps",{enumerable:!0,get:function(){return n.CSSProcessedProps}}),Object.defineProperty(e,"mergeProps",{enumerable:!0,get:function(){return d.default}}),e.default=void 0;var r=t1,n=$n,o=o7;Object.keys(o).forEach(function(h){h==="default"||h==="__esModule"||Object.prototype.hasOwnProperty.call(t,h)||h in e&&e[h]===o[h]||Object.defineProperty(e,h,{enumerable:!0,get:function(){return o[h]}})});var i=On;Object.keys(i).forEach(function(h){h==="default"||h==="__esModule"||Object.prototype.hasOwnProperty.call(t,h)||h in e&&e[h]===i[h]||Object.defineProperty(e,h,{enumerable:!0,get:function(){return i[h]}})});var a=a7;Object.keys(a).forEach(function(h){h==="default"||h==="__esModule"||Object.prototype.hasOwnProperty.call(t,h)||h in e&&e[h]===a[h]||Object.defineProperty(e,h,{enumerable:!0,get:function(){return a[h]}})});var c=i7;Object.keys(c).forEach(function(h){h==="default"||h==="__esModule"||Object.prototype.hasOwnProperty.call(t,h)||h in e&&e[h]===c[h]||Object.defineProperty(e,h,{enumerable:!0,get:function(){return c[h]}})});var l=s7;Object.keys(l).forEach(function(h){h==="default"||h==="__esModule"||Object.prototype.hasOwnProperty.call(t,h)||h in e&&e[h]===l[h]||Object.defineProperty(e,h,{enumerable:!0,get:function(){return l[h]}})});var d=p(Pn);function p(h){return h&&h.__esModule?h:{default:h}}var v=r.CSSProcessor;e.default=v})(e1);function c7(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}var ki=c7,u7=ki;function l7(e){return function t(r){return arguments.length===0||u7(r)?t:e.apply(this,arguments)}}var Kt=l7,d7=Kt,f7=d7(function(t){return t==null}),p7=f7,h7=Kt,g7=h7(function(t){return!t}),m7=g7;function v7(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(r){return t.apply(this,arguments)};case 2:return function(r,n){return t.apply(this,arguments)};case 3:return function(r,n,o){return t.apply(this,arguments)};case 4:return function(r,n,o,i){return t.apply(this,arguments)};case 5:return function(r,n,o,i,a){return t.apply(this,arguments)};case 6:return function(r,n,o,i,a,c){return t.apply(this,arguments)};case 7:return function(r,n,o,i,a,c,l){return t.apply(this,arguments)};case 8:return function(r,n,o,i,a,c,l,d){return t.apply(this,arguments)};case 9:return function(r,n,o,i,a,c,l,d,p){return t.apply(this,arguments)};case 10:return function(r,n,o,i,a,c,l,d,p,v){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}var Tl=v7;function y7(e,t){return function(){return t.call(this,e.apply(this,arguments))}}var _7=y7,Ua=Kt,en=ki;function b7(e){return function t(r,n){switch(arguments.length){case 0:return t;case 1:return en(r)?t:Ua(function(o){return e(r,o)});default:return en(r)&&en(n)?t:en(r)?Ua(function(o){return e(o,n)}):en(n)?Ua(function(o){return e(r,o)}):e(r,n)}}}var Fi=b7,fo=Kt,lr=Fi,Se=ki;function S7(e){return function t(r,n,o){switch(arguments.length){case 0:return t;case 1:return Se(r)?t:lr(function(i,a){return e(r,i,a)});case 2:return Se(r)&&Se(n)?t:Se(r)?lr(function(i,a){return e(i,n,a)}):Se(n)?lr(function(i,a){return e(r,i,a)}):fo(function(i){return e(r,n,i)});default:return Se(r)&&Se(n)&&Se(o)?t:Se(r)&&Se(n)?lr(function(i,a){return e(i,a,o)}):Se(r)&&Se(o)?lr(function(i,a){return e(i,n,a)}):Se(n)&&Se(o)?lr(function(i,a){return e(r,i,a)}):Se(r)?fo(function(i){return e(i,n,o)}):Se(n)?fo(function(i){return e(r,i,o)}):Se(o)?fo(function(i){return e(r,n,i)}):e(r,n,o)}}}var El=S7,Ml=Array.isArray||function(t){return t!=null&&t.length>=0&&Object.prototype.toString.call(t)==="[object Array]"};function w7(e){return Object.prototype.toString.call(e)==="[object String]"}var Rl=w7,$7=Kt,P7=Ml,x7=Rl,C7=$7(function(t){return P7(t)?!0:!t||typeof t!="object"||x7(t)?!1:t.nodeType===1?!!t.length:t.length===0?!0:t.length>0?t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1):!1}),T7=C7,E7=function(){function e(t){this.f=t}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(t){return t},e.prototype["@@transducer/step"]=function(t,r){return this.f(t,r)},e}();function M7(e){return new E7(e)}var R7=M7,N7=Tl,O7=Fi,L7=O7(function(t,r){return N7(t.length,function(){return t.apply(r,arguments)})}),A7=L7,q7=T7,D7=R7,I7=A7;function k7(e,t,r){for(var n=0,o=r.length;n({...r,...n}),Object.prototype)}class zi{constructor(t,r){dr(this,"nativeTextFlow",void 0),dr(this,"nativeBlockFlow",void 0),dr(this,"nativeTextRet",void 0),dr(this,"nativeBlockRet",void 0),dr(this,"webTextFlow",void 0),dr(this,"webBlockRet",void 0),this.nativeTextFlow=po(r==null?void 0:r.nativeTextFlow,t.native.text.flow),this.nativeBlockFlow=po(r==null?void 0:r.nativeBlockFlow,t.native.block.flow),this.webTextFlow=po(r==null?void 0:r.webTextFlow,t.web.text.flow),this.nativeTextRet=po(r==null?void 0:r.nativeTextRet,t.native.text.retain),this.nativeBlockRet=t.native.block.retain,this.webBlockRet=t.web.block.retain}static empty(){return new zi(new g3.CSSProcessedProps)}}Or.TStyles=zi;var _1={};Object.defineProperty(_1,"__esModule",{value:!0});_1.default=void 0;const b3={anchor:!1,edits:"none",lang:"en",olNestLevel:-1,ulNestLevel:-1,direction:"ltr",extend(){return Object.create(this)},toString(){let e=`Markers { +import{j as Qe}from"./jsx-runtime-Bxcv0yjW.js";import{r as L,R as Sr}from"./index-mfbfsM12.js";import{c as I,a as st,g as i9}from"./_commonjsHelpers-BosuxZz1.js";import{r as ie,b as s9,u as c9,I as u9}from"./useOpenUrl-CQsKsYCH.js";import{p as Go}from"./index-Dk74W0Oi.js";import{s as rl}from"./index-CEE--Juu.js";import{V as Ei}from"./index-BDsvWohO.js";import{T as l9}from"./index-BypDj3rK.js";import{C as d9}from"./Column-BO_nzweR.js";import{R as f9}from"./Row-BY9zY_5g.js";import{L as p9}from"./ListItemMarker-BOjN2r3Y.js";import{u as h9}from"./useIsScreenReaderEnabled-BGYkQQWr.js";import{u as g9}from"./useDeviceContext-DGl4H2w7.js";import{u as Na}from"./useThemable-BlSbywuP.js";import{P as m9}from"./index-DOpK3Ow6.js";var Oa=40,La=41,oo=39,Aa=34,qa=92,cr=47,Da=44,Ia=58,ao=42,v9=117,y9=85,_9=43,b9=/^[a-f0-9?-]+$/i,S9=function(e){for(var t=[],r=e,n,o,i,a,c,l,d,p,v=0,h=r.charCodeAt(v),N=r.length,T=[{nodes:t}],E=0,M,D="",H="",k="";v=48&&l<=57)return!0;var d=a.charCodeAt(2);return l===r&&d>=48&&d<=57}return c===r?(l=a.charCodeAt(1),l>=48&&l<=57):c>=48&&c<=57}return ka=function(a){var c=0,l=a.length,d,p,v;if(l===0||!i(a))return!1;for(d=a.charCodeAt(c),(d===t||d===e)&&c++;c57));)c+=1;if(d=a.charCodeAt(c),p=a.charCodeAt(c+1),d===r&&p>=48&&p<=57)for(c+=2;c57));)c+=1;if(d=a.charCodeAt(c),p=a.charCodeAt(c+1),v=a.charCodeAt(c+2),(d===n||d===o)&&(p>=48&&p<=57||(p===t||p===e)&&v>=48&&v<=57))for(c+=p===t||p===e?3:2;c57));)c+=1;return{number:a.slice(0,c),unit:a.slice(c)}},ka}var x9=S9,ol=w9,al=$9;function $t(e){return this instanceof $t?(this.nodes=x9(e),this):new $t(e)}$t.prototype.toString=function(){return Array.isArray(this.nodes)?al(this.nodes):""};$t.prototype.walk=function(e,t){return ol(this.nodes,e,t),this};$t.unit=P9();$t.walk=ol;$t.stringify=al;var C9=$t,il={},Mi={},Qo={},Sn={};Object.defineProperty(Sn,"__esModule",{value:!0});Sn.default=void 0;let sl;sl=null;var T9=sl;Sn.default=T9;Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var fc=M9(L);E9(Sn);function E9(e){return e&&e.__esModule?e:{default:e}}function cl(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(cl=function(n){return n?r:t})(e)}function M9(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=cl(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}const R9=function(t){return fc.default.createElement(fc.Fragment,null,t.children)};var N9=R9;Qo.default=N9;var Ie={},Ri={},Xo={},Yo={},O9={},Rr={},ke={};Object.defineProperty(ke,"__esModule",{value:!0});ke.default=ke.HTMLContentModel=void 0;let Oo;ke.HTMLContentModel=Oo;(function(e){e.block="block",e.textual="textual",e.mixed="mixed",e.none="none"})(Oo||(ke.HTMLContentModel=Oo={}));var L9=Oo;ke.default=L9;Object.defineProperty(Rr,"__esModule",{value:!0});Rr.default=void 0;var qt=A9(ke);function A9(e){return e&&e.__esModule?e:{default:e}}function nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const q9=["textual","edits","anchor"],D9=["tabular","grouping","sectioning"];class fn{constructor({tagName:t,contentModel:r,isOpaque:n,mixedUAStyles:o,isVoid:i,getUADerivedStyleFromAttributes:a,getMixedUAStyles:c,setMarkersForTNode:l,getReactNativeProps:d,reactNativeProps:p}){nt(this,"tagName",void 0),nt(this,"contentModel",void 0),nt(this,"isOpaque",void 0),nt(this,"isVoid",void 0),nt(this,"mixedUAStyles",void 0),nt(this,"reactNativeProps",void 0),nt(this,"getUADerivedStyleFromAttributes",void 0),nt(this,"getMixedUAStyles",void 0),nt(this,"getReactNativeProps",void 0),nt(this,"setMarkersForTNode",void 0),this.tagName=t,this.contentModel=r,this.isOpaque=n||!1,this.isVoid=i,this.mixedUAStyles=o,this.getUADerivedStyleFromAttributes=a,this.getMixedUAStyles=c,this.setMarkersForTNode=l,this.getReactNativeProps=d,this.reactNativeProps=p}static fromCustomModel(t){const{contentModel:r,tagName:n,isOpaque:o=!1,isVoid:i=!1,...a}=t;return new fn({tagName:n,contentModel:r,isOpaque:o,isVoid:i,...a})}static fromNativeModel(t){const{category:r,isOpaque:n,isVoid:o=!1,...i}=t,a=q9.indexOf(r)!==-1,c=a||D9.indexOf(r)!==-1,l=r==="anchor"||r==="edits"?qt.default.mixed:a?qt.default.textual:c?qt.default.block:qt.default.none;return new fn({isVoid:o,contentModel:l,isOpaque:n??r==="embedded",...i})}isTranslatableBlock(){return this.contentModel===qt.default.block}isTranslatableTextual(){return this.contentModel===qt.default.textual||this.contentModel===qt.default.mixed}extend(t){const r=typeof t=="function"?t(this):t;return new fn({...this,...r})}}Rr.default=fn;var Nr={},Ye={},Xt={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0;var t;(function(n){n.Root="root",n.Text="text",n.Directive="directive",n.Comment="comment",n.Script="script",n.Style="style",n.Tag="tag",n.CDATA="cdata",n.Doctype="doctype"})(t=e.ElementType||(e.ElementType={}));function r(n){return n.type===t.Tag||n.type===t.Script||n.type===t.Style}e.isTag=r,e.Root=t.Root,e.Text=t.Text,e.Directive=t.Directive,e.Comment=t.Comment,e.Script=t.Script,e.Style=t.Style,e.Tag=t.Tag,e.CDATA=t.CDATA,e.Doctype=t.Doctype})(Xt);var Q={},Yt=I&&I.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),pn=I&&I.__assign||function(){return pn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(r){this.children=r},enumerable:!1,configurable:!0}),t}(Ni);Q.NodeWithChildren=Jo;var fl=function(e){Yt(t,e);function t(r){return e.call(this,de.ElementType.Root,r)||this}return t}(Jo);Q.Document=fl;var pl=function(e){Yt(t,e);function t(r,n,o,i){o===void 0&&(o=[]),i===void 0&&(i=r==="script"?de.ElementType.Script:r==="style"?de.ElementType.Style:de.ElementType.Tag);var a=e.call(this,i,o)||this;return a.name=r,a.attribs=n,a}return Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(r){this.name=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var r=this;return Object.keys(this.attribs).map(function(n){var o,i;return{name:n,value:r.attribs[n],namespace:(o=r["x-attribsNamespace"])===null||o===void 0?void 0:o[n],prefix:(i=r["x-attribsPrefix"])===null||i===void 0?void 0:i[n]}})},enumerable:!1,configurable:!0}),t}(Jo);Q.Element=pl;function hl(e){return(0,de.isTag)(e)}Q.isTag=hl;function gl(e){return e.type===de.ElementType.CDATA}Q.isCDATA=gl;function ml(e){return e.type===de.ElementType.Text}Q.isText=ml;function vl(e){return e.type===de.ElementType.Comment}Q.isComment=vl;function yl(e){return e.type===de.ElementType.Directive}Q.isDirective=yl;function _l(e){return e.type===de.ElementType.Root}Q.isDocument=_l;function k9(e){return Object.prototype.hasOwnProperty.call(e,"children")}Q.hasChildren=k9;function Oi(e,t){t===void 0&&(t=!1);var r;if(ml(e))r=new ul(e.data);else if(vl(e))r=new ll(e.data);else if(hl(e)){var n=t?Fa(e.children):[],o=new pl(e.name,pn({},e.attribs),n);n.forEach(function(l){return l.parent=o}),e.namespace!=null&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=pn({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=pn({},e["x-attribsPrefix"])),r=o}else if(gl(e)){var n=t?Fa(e.children):[],i=new Jo(de.ElementType.CDATA,n);n.forEach(function(d){return d.parent=i}),r=i}else if(_l(e)){var n=t?Fa(e.children):[],a=new fl(n);n.forEach(function(d){return d.parent=a}),e["x-mode"]&&(a["x-mode"]=e["x-mode"]),r=a}else if(yl(e)){var c=new dl(e.name,e.data);e["x-name"]!=null&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),r=c}else throw new Error("Not implemented yet: ".concat(e.type));return r.startIndex=e.startIndex,r.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(r.sourceCodeLocation=e.sourceCodeLocation),r}Q.cloneNode=Oi;function Fa(e){for(var t=e.map(function(n){return Oi(n,!0)}),r=1;r":null}},k=function(g){return function(S){return S.type===g?S.value:null}},F=function(g,S){return S===void 0&&(S=String),function(C){if(C.type!=="word")return null;var O=C.value.match(g);if(O===null)return null;var W=S(O[1]);return W}},z=H(function(V){return V.type==="space"}),Y=H(function(V){return V.type==="div"&&V.value==="/"}),oe=H(function(V){return V.type==="div"&&V.value===","}),ee=k("word"),_e=F(p),be=F(v),re=F(N,Number),te=F(T,Number),s=F(E),u=F(M,function(V){return V.toLowerCase()}),f=F(D),m=F(h),_=a,w=d,$=F(/^(none|underline|line-through)$/i),P=function(g){var S=g.expect(re);return g.hasTokens()&&(g.expect(Y),S/=g.expect(re)),{aspectRatio:S}},x=F(/^(solid|dashed|dotted)$/),B=1,R="black",X="solid",G=function(g){var S,C,O;if(g.matches(_e))return g.expectEmpty(),{borderWidth:0,borderColor:"black",borderStyle:"solid"};for(var W=0;W<3&&g.hasTokens();)W!==0&&g.expect(z),S===void 0&&g.matches(te,s)?S=g.lastValue:C===void 0&&g.matches(w)?C=g.lastValue:O===void 0&&g.matches(x)?O=g.lastValue:g.throw(),W+=1;return g.expectEmpty(),S===void 0&&(S=B),C===void 0&&(C=R),O===void 0&&(O=X),{borderWidth:S,borderColor:C,borderStyle:O}},j=function(g){var S=g.types,C=S===void 0?[te,s,f]:S,O=g.directions,W=O===void 0?["Top","Right","Bottom","Left"]:O,Z=g.prefix,Me=Z===void 0?"":Z,_t=g.suffix,Ma=_t===void 0?"":_t;return function(rt){var sr,At=[];for(At.push(rt.expect.apply(rt,C));At.length<4&&rt.hasTokens();)rt.expect(z),At.push(rt.expect.apply(rt,C));rt.expectEmpty();var Ra=At[0],ic=At[1],sc=ic===void 0?Ra:ic,cc=At[2],n9=cc===void 0?Ra:cc,uc=At[3],o9=uc===void 0?sc:uc,no=function(a9){return""+Me+W[a9]+Ma};return sr={},sr[no(0)]=Ra,sr[no(1)]=sc,sr[no(2)]=n9,sr[no(3)]=o9,sr}},ue=function(g){var S=g.expect(te),C=g.matches(z)?g.expect(te):S;return g.expectEmpty(),{width:S,height:C}},se=function(g){var S,C,O,W;if(g.matches(_e))return g.expectEmpty(),{offset:{width:0,height:0},radius:0,color:"black"};for(var Z=!1;g.hasTokens();)Z&&g.expect(z),S===void 0&&g.matches(te,s)?(S=g.lastValue,g.expect(z),C=g.expect(te,s),g.saveRewindPoint(),g.matches(z)&&g.matches(te,s)?O=g.lastValue:g.rewind()):W===void 0&&g.matches(w)?W=g.lastValue:g.throw(),Z=!0;return S===void 0&&g.throw(),{offset:{width:S,height:C},radius:O!==void 0?O:0,color:W!==void 0?W:"black"}},ce=function(g){var S=se(g),C=S.offset,O=S.radius,W=S.color;return{shadowOffset:C,shadowRadius:O,shadowColor:W,shadowOpacity:1}},He=1,ge=1,Ee=0,Le=function(g){var S,C,O;if(g.matches(_e))return g.expectEmpty(),{flexGrow:0,flexShrink:0,flexBasis:"auto"};if(g.saveRewindPoint(),g.matches(be)&&!g.hasTokens())return{flexGrow:1,flexShrink:1,flexBasis:"auto"};g.rewind();for(var W=0;W<2&&g.hasTokens();)W!==0&&g.expect(z),S===void 0&&g.matches(re)?(S=g.lastValue,g.saveRewindPoint(),g.matches(z)&&g.matches(re)?C=g.lastValue:g.rewind()):O===void 0&&g.matches(te,s,f)?O=g.lastValue:O===void 0&&g.matches(be)?O="auto":g.throw(),W+=1;return g.expectEmpty(),S===void 0&&(S=He),C===void 0&&(C=ge),O===void 0&&(O=Ee),{flexGrow:S,flexShrink:C,flexBasis:O}},tt=F(/(nowrap|wrap|wrap-reverse)/),dt=F(/(row|row-reverse|column|column-reverse)/),Yr="nowrap",hp="row",gp=function(g){for(var S,C,O=0;O<2&&g.hasTokens();)O!==0&&g.expect(z),S===void 0&&g.matches(tt)?S=g.lastValue:C===void 0&&g.matches(dt)?C=g.lastValue:g.throw(),O+=1;return g.expectEmpty(),S===void 0&&(S=Yr),C===void 0&&(C=hp),{flexWrap:S,flexDirection:C}},ec=function(g){var S;if(g.matches(_))S=g.lastValue;else for(S=g.expect(m);g.hasTokens();){g.expect(z);var C=g.expect(m);S+=" "+C}return g.expectEmpty(),{fontFamily:S}},mp=F(/^(normal)$/),vp=F(/^(italic)$/),yp=F(/^([1-9]00|bold)$/),_p=F(/^(small-caps)$/),bp="normal",Sp="normal",wp=[],$p=function(g){for(var S,C,O,W,Z=0;Z<3&&g.hasTokens();){if(!g.matches(mp))if(S===void 0&&g.matches(vp))S=g.lastValue;else if(C===void 0&&g.matches(yp))C=g.lastValue;else if(O===void 0&&g.matches(_p))O=[g.lastValue];else break;g.expect(z),Z+=1}var Me=g.expect(te,s);g.matches(Y)&&(W=g.expect(te,s)),g.expect(z);var _t=ec(g),Ma=_t.fontFamily;S===void 0&&(S=bp),C===void 0&&(C=Sp),O===void 0&&(O=wp);var rt={fontStyle:S,fontWeight:C,fontVariant:O,fontSize:Me,fontFamily:Ma};return W!==void 0&&(rt.lineHeight=W),rt},Pp=function(g){for(var S=[g.expect(m)];g.hasTokens();)g.expect(z),S.push(g.expect(m));return{fontVariant:S}},xp=F(/(flex-(?:start|end)|center|stretch|space-(?:between|around))/),Cp=F(/(flex-(?:start|end)|center|space-(?:between|around|evenly))/),Tp=function(g){var S=g.expect(xp),C;return g.hasTokens()?(g.expect(z),C=g.expect(Cp)):C="stretch",g.expectEmpty(),{alignContent:S,justifyContent:C}},Ep=F(/^(solid|double|dotted|dashed)$/),Mp="none",Rp="solid",Np="black",Op=function(g){for(var S,C,O,W=!1;g.hasTokens();){if(W&&g.expect(z),S===void 0&&g.matches($)){var Z=[g.lastValue.toLowerCase()];g.saveRewindPoint(),Z[0]!=="none"&&g.matches(z)&&g.matches($)?(Z.push(g.lastValue.toLowerCase()),Z.sort().reverse()):g.rewind(),S=Z.join(" ")}else C===void 0&&g.matches(Ep)?C=g.lastValue:O===void 0&&g.matches(w)?O=g.lastValue:g.throw();W=!0}return{textDecorationLine:S!==void 0?S:Mp,textDecorationColor:O!==void 0?O:Np,textDecorationStyle:C!==void 0?C:Rp}},Lp=function(g){for(var S=[],C=!1;g.hasTokens();)C&&g.expect(z),S.push(g.expect($).toLowerCase()),C=!0;return S.sort().reverse(),{textDecorationLine:S.join(" ")}},Ap=function(g){var S=se(g),C=S.offset,O=S.radius,W=S.color;return{textShadowOffset:C,textShadowRadius:O,textShadowColor:W}},xa=function(g){return function(S){var C=S.expect(g);return S.expectEmpty(),C}},Ca=xa(re),tc=xa(te),ir=xa(u),Ta=function(g){return function(S,C){return function(O){var W,Z,Me=O.expect(g),_t;if(O.hasTokens())O.expect(oe),_t=O.expect(g);else if(C!==void 0)_t=C;else return Me;return O.expectEmpty(),[(W={},W[S+"Y"]=_t,W),(Z={},Z[S+"X"]=Me,Z)]}}},qp=Ta(re),Dp=Ta(te),Ip=Ta(u),kp={perspective:Ca,scale:qp("scale"),scaleX:Ca,scaleY:Ca,translate:Dp("translate",0),translateX:tc,translateY:tc,rotate:ir,rotateX:ir,rotateY:ir,rotateZ:ir,skewX:ir,skewY:ir,skew:Ip("skew","0deg")},Fp=function(g){for(var S=[],C=!1;g.hasTokens();){C&&g.expect(z);var O=g.expectFunction(),W=O.functionName,Z=kp[W](O);if(!Array.isArray(Z)){var Me;Z=[(Me={},Me[W]=Z,Me)]}S=Z.concat(S),C=!0}return{transform:S}},Vp=function(g){return{backgroundColor:g.expect(w)}},zp=j({types:[w],prefix:"border",suffix:"Color"}),Bp=j({directions:["TopLeft","TopRight","BottomRight","BottomLeft"],prefix:"border",suffix:"Radius"}),Up=j({prefix:"border",suffix:"Width"}),Wp=j({types:[te,s,f,be],prefix:"margin"}),Hp=j({prefix:"padding"}),jp=function(g){return{fontWeight:g.expect(ee)}},Gp=function(g){return{shadowOffset:ue(g)}},Qp=function(g){return{textShadowOffset:ue(g)}},rc={aspectRatio:P,background:Vp,border:G,borderColor:zp,borderRadius:Bp,borderWidth:Up,boxShadow:ce,flex:Le,flexFlow:gp,font:$p,fontFamily:ec,fontVariant:Pp,fontWeight:jp,margin:Wp,padding:Hp,placeContent:Tp,shadowOffset:Gp,textShadow:Ap,textShadowOffset:Qp,textDecoration:Op,textDecorationLine:Lp,transform:Fp},Ea="SYMBOL_MATCH",Xp=function(){function V(S,C){this.index=0,this.nodes=S,this.functionName=C!=null?C.value:null,this.lastValue=null,this.rewindIndex=-1}var g=V.prototype;return g.hasTokens=function(){return this.index<=this.nodes.length-1},g[Ea]=function(){if(!this.hasTokens())return null;for(var S=this.nodes[this.index],C=0;Cc[o][i][a])]);return n}static new(){return new Lo}}$n.CSSProcessedProps=Lo;Object.defineProperty(wn,"__esModule",{value:!0});wn.CSSParseRun=void 0;var W5=$n;function gc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class H5{constructor(t){gc(this,"validationMap",void 0),gc(this,"processedProps",void 0),this.validationMap=t,this.processedProps=new W5.CSSProcessedProps}exec(){return this.fillProcessedProps(),this.processedProps}}wn.CSSParseRun=H5;var mt={};Object.defineProperty(mt,"__esModule",{value:!0});mt.ShortMergeRequest=void 0;function j5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class G5{constructor(t){j5(this,"properties",void 0),this.properties=t}forEach(t){this.entries().forEach(t)}map(t){return this.entries().map(t)}entries(){return this.properties==null?[]:Object.entries(this.properties)}}mt.ShortMergeRequest=G5;Object.defineProperty(r1,"__esModule",{value:!0});r1.CSSInlineParseRun=void 0;var Q5=qi,X5=wn,Y5=mt;function Z5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class J5 extends X5.CSSParseRun{constructor(t,r){super(r),Z5(this,"rules",void 0),this.rules=this.parseInlineCSS(t),this.normalizeProp=this.normalizeProp.bind(this),this.reduceProps=this.reduceProps.bind(this)}parseInlineCSS(t){return t.split(";").map(r=>r.split(":")).reduce((r,n)=>n.length===2?[...r,[n[0].trim(),n[1].trim()]]:r,[])}normalizeProp(t,r=!1){const n=t[0],o=t[1],i=(0,Q5.getPropertyName)(n);if(!this.validationMap.shouldRegisterInlineProperty(i))return null;const c=this.validationMap.getValidatorForProperty(i).normalizeInlineCSSValue(o);if(c===null){if(r)throw new TypeError;return null}return[i,c]}reduceProps(t,r){if(!r)return t;const[n,o]=r;if(o instanceof Y5.ShortMergeRequest)try{return o.map(i=>this.normalizeProp(i,!0)).reduce(this.reduceProps,t)}catch{return t}return{...t,[n]:o}}fillProcessedProps(){const t=this.rules.map(r=>this.normalizeProp(r)).reduce(this.reduceProps,{});Object.keys(t).forEach(r=>{const n=t[r],o=this.validationMap.getValidatorForProperty(r),i=o.normalizeInlineCSSValue(n);this.processedProps.withProperty(r,i,o)})}}r1.CSSInlineParseRun=J5;var n1={},xn={};Object.defineProperty(xn,"__esModule",{value:!0});xn.lookupRecord=K5;function K5(e,t){return!!e[t]}Object.defineProperty(n1,"__esModule",{value:!0});n1.CSSNativeParseRun=void 0;var eh=wn,mc=xn,th=mt;function rh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const nh={borderBottomEndRadius:"block",borderBottomStartRadius:"block",borderEndColor:"block",borderEndWidth:"block",borderStartColor:"block",borderStartWidth:"block",borderTopEndRadius:"block",borderTopStartRadius:"block",end:"block",marginEnd:"block",marginStart:"block",paddingEnd:"block",paddingStart:"block",start:"block"},oh={elevation:"block",overflow:"block",overlayColor:"block",resizeMode:"block",rotation:"block",scaleX:"block",scaleY:"block",shadowColor:"block",shadowOffset:"block",shadowOpacity:"block",shadowRadius:"block",testID:"block",tintColor:"block",transformMatrix:"block",translateX:"block",translateY:"block"},ah={includeFontPadding:"text",textAlignVertical:"text",textShadowColor:"text",textShadowOffset:"text",textShadowRadius:"text",writingDirection:"text"},vc={...ah,...oh};class ih extends eh.CSSParseRun{constructor(t,r){super(r),rh(this,"declaration",void 0),this.declaration=t}fillProp(t,r){const n=this.validationMap.getValidatorForProperty(t);if(n){const o=n.normalizeNativeValue(r);o instanceof th.ShortMergeRequest?o.forEach(([i,a])=>{this.fillProp(i,a)}):this.processedProps.withProperty(t,o,n)}else(0,mc.lookupRecord)(vc,t)?this.processedProps.withProperty(t,r,{compatCategory:"native",displayCategory:vc[t],propagationCategory:"retain"}):(0,mc.lookupRecord)(nh,t)?console.warn(`Native style property "${t}" is a directional style property. These are not yet supported.`):console.warn(`Native style property "${t}" is not supported and has been ignored.`)}fillProcessedProps(){const t=this.declaration;for(const r of Object.keys(t))this.fillProp(r,this.declaration[r])}}n1.CSSNativeParseRun=ih;var o1={},Di={},a1={},Ze={},Cn={};Object.defineProperty(Cn,"__esModule",{value:!0});Cn.GenericCSSPropertyValidator=void 0;function Dt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class sh{constructor({model:t,config:r,propertyName:n},o){Dt(this,"model",void 0),Dt(this,"config",void 0),Dt(this,"compatCategory",void 0),Dt(this,"propagationCategory",void 0),Dt(this,"displayCategory",void 0),Dt(this,"propertyName",void 0),Dt(this,"_isShorthand",void 0),this.model=t,this.config=r,this.compatCategory=t.translatable?"native":"web",this.propagationCategory=t.inheritable?"flow":"retain",this.displayCategory=t.display,this.propertyName=n,this._isShorthand=o}isShorthand(){return this._isShorthand}}Cn.GenericCSSPropertyValidator=sh;Object.defineProperty(Ze,"__esModule",{value:!0});Ze.LongCSSPropertyValidator=void 0;var ch=Cn;class uh extends ch.GenericCSSPropertyValidator{constructor(t){super(t,!1)}normalizeInlineCSSValue(t){return typeof t!="string"?t:this.normalizeRawInlineCSSValue(t)}normalizeNativeValue(t){return t}}Ze.LongCSSPropertyValidator=uh;var i1={};Object.defineProperty(i1,"__esModule",{value:!0});i1.default=lh;function lh(e){return e.replace(/["']/g,"").trim()}Object.defineProperty(a1,"__esModule",{value:!0});a1.LongFontFamilyPropertyValidator=void 0;var dh=Ze,fh=ph(i1);function ph(e){return e&&e.__esModule?e:{default:e}}const hh=/,\s*/;class gh extends dh.LongCSSPropertyValidator{normalizeRawInlineCSSValue(t){const r=t.split(hh);for(const n of r){const o=(0,fh.default)(n),i=o.length&&this.config.isFontSupported(o);if(i)return typeof i=="string"?i:o}return null}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}a1.LongFontFamilyPropertyValidator=gh;var s1={};Object.defineProperty(s1,"__esModule",{value:!0});s1.LongFloatNumberCSSPropertyValidator=void 0;var mh=Ze;class vh extends mh.LongCSSPropertyValidator{normalizeRawInlineCSSValue(t){const r=Number(t);return Number.isNaN(r)?null:r}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}s1.LongFloatNumberCSSPropertyValidator=vh;var c1={},Tn={},Ar={};Object.defineProperty(Ar,"__esModule",{value:!0});Ar.LongSizeCSSPropertyValidator=void 0;var yh=Ze;class _h extends yh.LongCSSPropertyValidator{computeSize(t,r){switch(r){case"%":return`${t}%`;case"px":return t;case"cm":case"in":case"mm":case"pc":case"pt":return t*this.config.absoluteLengthUnitsMultiplicators[r];case"em":return this.computeEmSize(t);case"ex":return this.computeEmSize(t*.63);case"rem":return this.config.rootFontSize*t}return null}computeEmSize(t){return this.config.rootFontSize*t}splitValueAndUnit(t){const r=/^(\d*\.?\d*)\s*(cm|mm|in|px|pt|pc|em|ex|ch|rem|vw|vh|vmin|vmax|%)$/g.exec(t);return r===null?null:[Number(r[1]),r[2]]}normalizeRawInlineCSSValue(t){if(t==="0")return 0;if(t==="auto")return t;const r=this.splitValueAndUnit(t);return r?this.computeSize(r[0],r[1]):null}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}Ar.LongSizeCSSPropertyValidator=_h;Object.defineProperty(Tn,"__esModule",{value:!0});Tn.LongNonPercentSizeCSSPropertyValidator=void 0;var bh=Ar;class Sh extends bh.LongSizeCSSPropertyValidator{computeSize(t,r){return r==="%"?null:super.computeSize(t,r)}}Tn.LongNonPercentSizeCSSPropertyValidator=Sh;Object.defineProperty(c1,"__esModule",{value:!0});c1.LongBorderWidthCSSPropertyValidator=void 0;var wh=xn,$h=Tn;class Ph extends $h.LongNonPercentSizeCSSPropertyValidator{normalizeRawInlineCSSValue(t){return(0,wh.lookupRecord)(this.config.absoluteBorderWidthsPixelMap,t)?this.config.absoluteBorderWidthsPixelMap[t]:super.normalizeRawInlineCSSValue(t)}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}c1.LongBorderWidthCSSPropertyValidator=Ph;var u1={};Object.defineProperty(u1,"__esModule",{value:!0});u1.LongFontSizeCSSValidator=void 0;var yc=xn,xh=Ar;class Ch extends xh.LongSizeCSSPropertyValidator{computeSize(t,r){return r==="%"?this.computeEmSize(t/100):super.computeSize(t,r)}normalizeRawInlineCSSValue(t){return(0,yc.lookupRecord)(this.config.absoluteFontSizesPixelMap,t)?this.config.absoluteFontSizesPixelMap[t]:(0,yc.lookupRecord)(this.config.relativeFontSizesCoefficientMap,t)?this.computeEmSize(this.config.relativeFontSizesCoefficientMap[t]):super.normalizeRawInlineCSSValue(t)}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}u1.LongFontSizeCSSValidator=Ch;var l1={};Object.defineProperty(l1,"__esModule",{value:!0});l1.LongAspectRatioPropertyValidator=void 0;var Th=Ze;const Eh=/^(\d+)\/(\d+)$/;class Mh extends Th.LongCSSPropertyValidator{normalizeRawInlineCSSValue(t){const r=Eh.exec(t);if(r){const o=Number(r[1])/Number(r[2]);return Number.isFinite(o)?o:null}const n=Number(t);return Number.isNaN(n)?null:n}normalizeNativeValue(t){return typeof t!="string"?t:this.normalizeRawInlineCSSValue(t)}}l1.LongAspectRatioPropertyValidator=Mh;var d1={};Object.defineProperty(d1,"__esModule",{value:!0});d1.LongEnumerationListCSSPropertyValidator=void 0;var Rh=Ze;function Nh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Oh=/\s+/;class Lh extends Rh.LongCSSPropertyValidator{constructor(t,r){super(t),Nh(this,"allowedList",void 0),this.allowedList=r}normalizeRawInlineCSSValue(t){const r=t.split(Oh),n=[];for(const o of r)this.allowedList.indexOf(o)!==-1&&n.push(o);return n.length>0?n:null}}d1.LongEnumerationListCSSPropertyValidator=Lh;var f1={},En={};Object.defineProperty(En,"__esModule",{value:!0});En.LongEnumerationCSSPropertyValidator=void 0;var Ah=Ze;function qh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Dh extends Ah.LongCSSPropertyValidator{constructor(t,r){super(t),qh(this,"allowedList",void 0),this.allowedList=r}normalizeRawInlineCSSValue(t){return this.allowedList.indexOf(t)!==-1?t:null}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}En.LongEnumerationCSSPropertyValidator=Dh;Object.defineProperty(f1,"__esModule",{value:!0});f1.LongBorderStyleCSSPropertyValidator=void 0;var Ih=En;const kh=/\s+/;class Fh extends Ih.LongEnumerationCSSPropertyValidator{normalizeRawInlineCSSValue(t){const r=this.pickFirst(t);return r?super.normalizeRawInlineCSSValue(r):null}normalizeNativeValue(t){return this.pickFirst(t)}pickFirst(t){return t.split(kh)[0]||null}}f1.LongBorderStyleCSSPropertyValidator=Fh;var p1={},Mn={};Object.defineProperty(Mn,"__esModule",{value:!0});Mn.LongForgivingCSSPropertyValidator=void 0;var Vh=Ze;class zh extends Vh.LongCSSPropertyValidator{normalizeRawInlineCSSValue(t){return t}}Mn.LongForgivingCSSPropertyValidator=zh;Object.defineProperty(p1,"__esModule",{value:!0});p1.LongColorCSSPropertyValidator=void 0;var Bh=Mn;const Uh=/^(rgb|rgba|hsl|hsla)\([\d,%. ]+\)|[#]?\w+$/;class Wh extends Bh.LongForgivingCSSPropertyValidator{normalizeRawInlineCSSValue(t){return t.match(Uh)?t:null}}p1.LongColorCSSPropertyValidator=Wh;var h1={},Rn={},Jt={};Object.defineProperty(Jt,"__esModule",{value:!0});Jt.ShortCSSPropertyValidator=void 0;var Hh=Cn;class jh extends Hh.GenericCSSPropertyValidator{constructor(t){super(t,!0)}}Jt.ShortCSSPropertyValidator=jh;var Nn={};Object.defineProperty(Nn,"__esModule",{value:!0});Nn.default=Qh;var Gh=qi;function Qh(e,t){try{return(0,Gh.getStylesForProperty)(e,t)}catch{}return null}Object.defineProperty(Rn,"__esModule",{value:!0});Rn.ShortCSSToReactNativeValidator=void 0;var Xh=Jt,Yh=Jh(Nn),Zh=mt;function Jh(e){return e&&e.__esModule?e:{default:e}}class Kh extends Xh.ShortCSSPropertyValidator{normalizeInlineCSSValue(t){return new Zh.ShortMergeRequest((0,Yh.default)(this.propertyName,t))}normalizeNativeValue(){return null}}Rn.ShortCSSToReactNativeValidator=Kh;Object.defineProperty(h1,"__esModule",{value:!0});h1.ShortFontCSSValidator=void 0;var e6=Rn,t6=r6(i1);function r6(e){return e&&e.__esModule?e:{default:e}}const n6=/\s+/;class o6 extends e6.ShortCSSToReactNativeValidator{normalizeInlineCSSValue(t){const r=t.split(",");let n=null;if(r.length===1)return super.normalizeInlineCSSValue(r[0]);const o=r.splice(0,1)[0];for(const i of r){const a=(0,t6.default)(i),c=this.config.isFontSupported(a);if(c){n=typeof c=="string"?c:a;break}}return super.normalizeInlineCSSValue(o.split(n6).slice(0,-1).join(" ")+" "+(n||"system"))}}h1.ShortFontCSSValidator=o6;var g1={};Object.defineProperty(g1,"__esModule",{value:!0});g1.ShortFlexCSSPropertyValidator=void 0;var a6=mt,i6=c6(Nn),s6=Jt;function c6(e){return e&&e.__esModule?e:{default:e}}class u6 extends s6.ShortCSSPropertyValidator{constructor(t){super({...t,propertyName:"flex"})}normalizeInlineCSSValue(t){return new a6.ShortMergeRequest((0,i6.default)(this.propertyName,t))}normalizeNativeValue(t){return t}}g1.ShortFlexCSSPropertyValidator=u6;var m1={};Object.defineProperty(m1,"__esModule",{value:!0});m1.LongCSSToReactNativeValidator=void 0;var l6=Ze,d6=f6(Nn);function f6(e){return e&&e.__esModule?e:{default:e}}class p6 extends l6.LongCSSPropertyValidator{normalizeRawInlineCSSValue(t){const r=(0,d6.default)(this.propertyName,t);return r?r[this.propertyName]:null}}m1.LongCSSToReactNativeValidator=p6;var v1={};Object.defineProperty(v1,"__esModule",{value:!0});v1.ShortCardinalCSSpropertyValidator=void 0;var Zr=mt,h6=Jt;function g6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const m6=/\s+/;class v6 extends h6.ShortCSSPropertyValidator{constructor(t,r){super(t),g6(this,"directions",void 0),this.directions=r}normalizeInlineCSSValue(t){if(typeof t=="number")return new Zr.ShortMergeRequest({[this.directions.top]:t,[this.directions.right]:t,[this.directions.bottom]:t,[this.directions.left]:t});const r=t.split(m6);return r.length===4?new Zr.ShortMergeRequest({[this.directions.top]:r[0],[this.directions.right]:r[1],[this.directions.bottom]:r[2],[this.directions.left]:r[3]}):r.length===3?new Zr.ShortMergeRequest({[this.directions.top]:r[0],[this.directions.right]:r[1],[this.directions.bottom]:r[2],[this.directions.left]:r[1]}):r.length===2?new Zr.ShortMergeRequest({[this.directions.top]:r[0],[this.directions.right]:r[1],[this.directions.bottom]:r[0],[this.directions.left]:r[1]}):r.length===1?new Zr.ShortMergeRequest({[this.directions.top]:r[0],[this.directions.right]:r[0],[this.directions.bottom]:r[0],[this.directions.left]:r[0]}):null}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}v1.ShortCardinalCSSpropertyValidator=v6;var y1={};Object.defineProperty(y1,"__esModule",{value:!0});y1.ShortDualNativepropertyValidator=void 0;var y6=mt,_6=Jt;function b6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class S6 extends _6.ShortCSSPropertyValidator{constructor(t,r){super(t),b6(this,"directions",void 0),this.directions=r}normalizeInlineCSSValue(){return null}normalizeNativeValue(t){return new y6.ShortMergeRequest({[this.directions[0]]:t,[this.directions[1]]:t})}}y1.ShortDualNativepropertyValidator=S6;Object.defineProperty(Di,"__esModule",{value:!0});Di.default=A6;var w6=a1,io=s1,so=c1,$6=u1,fe=Ar,P6=l1,x6=d1,C6=f1,he=En,It=p1,T6=h1,co=Rn,E6=g1,M6=m1,Jr=v1,uo=y1,R6=Mn,Kr=Tn;const N6={inheritable:!0,native:!0,translatable:!0,display:"block"},q={inheritable:!1,native:!0,translatable:!0,display:"block"},O6={inheritable:!1,native:!0,translatable:!1,display:"block"},je={inheritable:!0,native:!0,translatable:!0,display:"text"},lo={inheritable:!1,native:!0,translatable:!0,display:"text"},Va={inheritable:!0,native:!1,translatable:!1,display:"text"},L6={inheritable:!1,native:!1,translatable:!1,display:"block"};function A6(e){return{background:new co.ShortCSSToReactNativeValidator({config:e,model:q,propertyName:"background"}),border:new co.ShortCSSToReactNativeValidator({config:e,model:q,propertyName:"border"}),borderRadius:new Jr.ShortCardinalCSSpropertyValidator({config:e,model:q,propertyName:"borderRadius"},{top:"borderTopLeftRadius",right:"borderTopRightRadius",bottom:"borderBottomRightRadius",left:"borderBottomLeftRadius"}),borderColor:new Jr.ShortCardinalCSSpropertyValidator({config:e,model:q,propertyName:"borderColor"},{top:"borderTopColor",right:"borderRightColor",bottom:"borderBottomColor",left:"borderLeftColor"}),borderStyle:new C6.LongBorderStyleCSSPropertyValidator({config:e,model:q,propertyName:"borderStyle"},["solid","dotted","dashed"]),borderWidth:new Jr.ShortCardinalCSSpropertyValidator({config:e,propertyName:"borderWidth",model:q},{top:"borderTopWidth",right:"borderRightWidth",bottom:"borderBottomWidth",left:"borderLeftWidth"}),flex:new E6.ShortFlexCSSPropertyValidator({config:e,propertyName:"flex",model:q}),flexFlow:new co.ShortCSSToReactNativeValidator({config:e,model:q,propertyName:"flexFlow"}),font:new T6.ShortFontCSSValidator({config:e,model:je,propertyName:"font"}),margin:new Jr.ShortCardinalCSSpropertyValidator({config:e,model:q,propertyName:"margin"},{top:"marginTop",right:"marginRight",bottom:"marginBottom",left:"marginLeft"}),objectFit:new he.LongEnumerationCSSPropertyValidator({config:e,model:L6,propertyName:"objectFit"},["fill","contain","cover","none","scale-down"]),padding:new Jr.ShortCardinalCSSpropertyValidator({config:e,model:q,propertyName:"padding"},{top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"}),marginHorizontal:new uo.ShortDualNativepropertyValidator({config:e,model:q,propertyName:"marginHorizontal"},["marginLeft","marginRight"]),marginVertical:new uo.ShortDualNativepropertyValidator({config:e,model:q,propertyName:"marginVertical"},["marginTop","marginBottom"]),paddingHorizontal:new uo.ShortDualNativepropertyValidator({config:e,model:q,propertyName:"paddingHorizontal"},["paddingLeft","paddingRight"]),paddingVertical:new uo.ShortDualNativepropertyValidator({config:e,model:q,propertyName:"paddingVertical"},["paddingTop","paddingBottom"]),textDecoration:new co.ShortCSSToReactNativeValidator({config:e,model:lo,propertyName:"textDecoration"}),textDecorationColor:new It.LongColorCSSPropertyValidator({config:e,propertyName:"textDecorationColor",model:lo}),textDecorationLine:new he.LongEnumerationCSSPropertyValidator({config:e,model:lo,propertyName:"textDecorationLine"},["none","underline","line-through","underline line-through"]),textDecorationStyle:new he.LongEnumerationCSSPropertyValidator({config:e,model:lo,propertyName:"textDecorationStyle"},["solid","double","dotted","dashed"]),color:new It.LongColorCSSPropertyValidator({config:e,propertyName:"color",model:je}),fontFamily:new w6.LongFontFamilyPropertyValidator({config:e,propertyName:"fontFamily",model:je}),fontSize:new $6.LongFontSizeCSSValidator({config:e,propertyName:"fontSize",model:je}),fontStyle:new he.LongEnumerationCSSPropertyValidator({config:e,model:je,propertyName:"fontStyle"},["normal","italic"]),fontVariant:new x6.LongEnumerationListCSSPropertyValidator({config:e,model:je,propertyName:"fontVariant"},["small-caps","oldstyle-nums","lining-nums","tabular-nums","proportional-nums"]),fontWeight:new he.LongEnumerationCSSPropertyValidator({config:e,model:je,propertyName:"fontWeight"},["normal","bold","100","200","300","400","500","600","700","800","900"]),letterSpacing:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"letterSpacing",model:je}),lineHeight:new Kr.LongNonPercentSizeCSSPropertyValidator({config:e,propertyName:"lineHeight",model:je}),textAlign:new he.LongEnumerationCSSPropertyValidator({config:e,model:je,propertyName:"textAlign"},["auto","left","right","center","justify"]),textTransform:new he.LongEnumerationCSSPropertyValidator({config:e,model:je,propertyName:"textTransform"},["none","capitalize","uppercase","lowercase"]),whiteSpace:new he.LongEnumerationCSSPropertyValidator({config:e,model:Va,propertyName:"whiteSpace"},["normal","pre"]),listStyleType:new R6.LongForgivingCSSPropertyValidator({config:e,model:Va,propertyName:"listStyleType"}),userSelect:new he.LongEnumerationCSSPropertyValidator({config:e,model:Va,propertyName:"userSelect"},["auto","text","none","contain","all"]),alignContent:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"alignContent"},["flex-start","flex-end","center","stretch","space-between","space-around"]),alignItems:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"alignItems"},["flex-start","flex-end","center","stretch","baseline"]),alignSelf:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"alignSelf"},["auto","flex-start","flex-end","center","stretch","baseline"]),aspectRatio:new P6.LongAspectRatioPropertyValidator({config:e,model:q,propertyName:"aspectRatio"}),bottom:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"bottom",model:q}),display:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"display"},["flex","none"]),flexBasis:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"flexBasis",model:q}),flexDirection:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"flexDirection"},["row","column","row-reverse","column-reverse"]),flexGrow:new io.LongFloatNumberCSSPropertyValidator({config:e,propertyName:"flexGrow",model:q}),flexShrink:new io.LongFloatNumberCSSPropertyValidator({config:e,propertyName:"flexShrink",model:q}),flexWrap:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"flexWrap"},["wrap","nowrap","wrap-reverse"]),justifyContent:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"justifyContent"},["flex-start","flex-end","center","space-between","space-around","space-evenly"]),left:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"left",model:q}),position:new he.LongEnumerationCSSPropertyValidator({config:e,model:O6,propertyName:"position"},["absolute","relative"]),right:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"right",model:q}),top:new fe.LongSizeCSSPropertyValidator({config:e,model:q,propertyName:"top"}),backfaceVisibility:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"backfaceVisibility"},["visible","hidden"]),backgroundColor:new It.LongColorCSSPropertyValidator({config:e,propertyName:"backgroundColor",model:q}),borderBottomColor:new It.LongColorCSSPropertyValidator({config:e,propertyName:"borderBottomColor",model:q}),borderBottomLeftRadius:new Kr.LongNonPercentSizeCSSPropertyValidator({config:e,propertyName:"borderBottomLeftRadius",model:q}),borderBottomRightRadius:new Kr.LongNonPercentSizeCSSPropertyValidator({config:e,propertyName:"borderBottomRightRadius",model:q}),borderBottomWidth:new so.LongBorderWidthCSSPropertyValidator({config:e,propertyName:"borderBottomWidth",model:q}),borderLeftColor:new It.LongColorCSSPropertyValidator({config:e,propertyName:"borderLeftColor",model:q}),borderLeftWidth:new so.LongBorderWidthCSSPropertyValidator({config:e,propertyName:"borderLeftWidth",model:q}),borderRightColor:new It.LongColorCSSPropertyValidator({config:e,propertyName:"borderRightColor",model:q}),borderRightWidth:new so.LongBorderWidthCSSPropertyValidator({config:e,propertyName:"borderRightWidth",model:q}),borderTopColor:new It.LongColorCSSPropertyValidator({config:e,propertyName:"borderTopColor",model:q}),borderTopLeftRadius:new Kr.LongNonPercentSizeCSSPropertyValidator({config:e,propertyName:"borderTopLeftRadius",model:q}),borderTopRightRadius:new Kr.LongNonPercentSizeCSSPropertyValidator({config:e,propertyName:"borderTopRightRadius",model:q}),borderTopWidth:new so.LongBorderWidthCSSPropertyValidator({config:e,propertyName:"borderTopWidth",model:q}),height:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"height",model:q}),marginBottom:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"marginBottom",model:q}),marginLeft:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"marginLeft",model:q}),marginRight:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"marginRight",model:q}),marginTop:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"marginTop",model:q}),maxHeight:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"maxHeight",model:q}),maxWidth:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"maxWidth",model:q}),minHeight:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"minHeight",model:q}),minWidth:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"minWidth",model:q}),opacity:new io.LongFloatNumberCSSPropertyValidator({config:e,propertyName:"opacity",model:q}),paddingBottom:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"paddingBottom",model:q}),paddingLeft:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"paddingLeft",model:q}),paddingRight:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"paddingRight",model:q}),paddingTop:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"paddingTop",model:q}),transform:new M6.LongCSSToReactNativeValidator({config:e,propertyName:"transform",model:q}),width:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"width",model:q}),zIndex:new io.LongFloatNumberCSSPropertyValidator({config:e,propertyName:"zIndex",model:q}),direction:new he.LongEnumerationCSSPropertyValidator({config:e,model:N6,propertyName:"direction"},["auto","ltr","rtl"])}}Object.defineProperty(o1,"__esModule",{value:!0});o1.CSSPropertiesValidationRegistry=void 0;var q6=D6(Di);function D6(e){return e&&e.__esModule?e:{default:e}}function za(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _c(e){const t={};return e.forEach(r=>{t[r]=!0}),t}class I6{constructor(t){za(this,"validators",void 0),za(this,"ignoredPropertiesRegistry",void 0),za(this,"allowedPropertiesRegistry",void 0),this.validators=(0,q6.default)(t),this.ignoredPropertiesRegistry=_c(t.inlinePropertiesBlacklist),this.allowedPropertiesRegistry=t.inlinePropertiesWhitelist?_c(t.inlinePropertiesWhitelist):null}isInlinePropertyAllowed(t){return this.allowedPropertiesRegistry?!!this.allowedPropertiesRegistry[t]:!this.ignoredPropertiesRegistry[t]}shouldRegisterInlineProperty(t){return this.isInlinePropertyAllowed(t)&&!!this.validators[t]}getValidatorForProperty(t){return this.validators[t]||null}}o1.CSSPropertiesValidationRegistry=I6;var On={};Object.defineProperty(On,"__esModule",{value:!0});On.defaultCSSProcessorConfig=void 0;const wl=96,$l=wl*2.54,k6=$l/10,Pl=4/3,F6=12*Pl,V6={absoluteLengthUnitsMultiplicators:{cm:$l,in:wl,mm:k6,pc:F6,pt:Pl},absoluteBorderWidthsPixelMap:{medium:2.5,thick:5,thin:1},absoluteFontSizesPixelMap:{medium:14,"xx-small":8.5,"x-small":10,small:12,large:17,"x-large":20,"xx-large":24},relativeFontSizesCoefficientMap:{larger:1.2,smaller:.83},inlinePropertiesBlacklist:[],rootFontSize:16,inlinePropertiesWhitelist:null,isFontSupported(){return!0}};On.defaultCSSProcessorConfig=V6;Object.defineProperty(t1,"__esModule",{value:!0});t1.CSSProcessor=void 0;var z6=r1,B6=n1,U6=o1,W6=On;function H6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class j6{constructor(t){H6(this,"registry",void 0);const r={...W6.defaultCSSProcessorConfig,...t};this.registry=new U6.CSSPropertiesValidationRegistry(r)}compileStyleDeclaration(t){return new B6.CSSNativeParseRun(t,this.registry).exec()}compileInlineCSS(t){return new z6.CSSInlineParseRun(t,this.registry).exec()}}t1.CSSProcessor=j6;var G6={},Q6={},X6={},Y6={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t={CSSProcessor:!0,CSSProcessedProps:!0,mergeProps:!0};Object.defineProperty(e,"CSSProcessor",{enumerable:!0,get:function(){return r.CSSProcessor}}),Object.defineProperty(e,"CSSProcessedProps",{enumerable:!0,get:function(){return n.CSSProcessedProps}}),Object.defineProperty(e,"mergeProps",{enumerable:!0,get:function(){return d.default}}),e.default=void 0;var r=t1,n=$n,o=G6;Object.keys(o).forEach(function(h){h==="default"||h==="__esModule"||Object.prototype.hasOwnProperty.call(t,h)||h in e&&e[h]===o[h]||Object.defineProperty(e,h,{enumerable:!0,get:function(){return o[h]}})});var i=On;Object.keys(i).forEach(function(h){h==="default"||h==="__esModule"||Object.prototype.hasOwnProperty.call(t,h)||h in e&&e[h]===i[h]||Object.defineProperty(e,h,{enumerable:!0,get:function(){return i[h]}})});var a=Q6;Object.keys(a).forEach(function(h){h==="default"||h==="__esModule"||Object.prototype.hasOwnProperty.call(t,h)||h in e&&e[h]===a[h]||Object.defineProperty(e,h,{enumerable:!0,get:function(){return a[h]}})});var c=X6;Object.keys(c).forEach(function(h){h==="default"||h==="__esModule"||Object.prototype.hasOwnProperty.call(t,h)||h in e&&e[h]===c[h]||Object.defineProperty(e,h,{enumerable:!0,get:function(){return c[h]}})});var l=Y6;Object.keys(l).forEach(function(h){h==="default"||h==="__esModule"||Object.prototype.hasOwnProperty.call(t,h)||h in e&&e[h]===l[h]||Object.defineProperty(e,h,{enumerable:!0,get:function(){return l[h]}})});var d=p(Pn);function p(h){return h&&h.__esModule?h:{default:h}}var v=r.CSSProcessor;e.default=v})(e1);function Z6(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}var Ii=Z6,J6=Ii;function K6(e){return function t(r){return arguments.length===0||J6(r)?t:e.apply(this,arguments)}}var Kt=K6,e7=Kt,t7=e7(function(t){return t==null}),r7=t7,n7=Kt,o7=n7(function(t){return!t}),a7=o7;function i7(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(r){return t.apply(this,arguments)};case 2:return function(r,n){return t.apply(this,arguments)};case 3:return function(r,n,o){return t.apply(this,arguments)};case 4:return function(r,n,o,i){return t.apply(this,arguments)};case 5:return function(r,n,o,i,a){return t.apply(this,arguments)};case 6:return function(r,n,o,i,a,c){return t.apply(this,arguments)};case 7:return function(r,n,o,i,a,c,l){return t.apply(this,arguments)};case 8:return function(r,n,o,i,a,c,l,d){return t.apply(this,arguments)};case 9:return function(r,n,o,i,a,c,l,d,p){return t.apply(this,arguments)};case 10:return function(r,n,o,i,a,c,l,d,p,v){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}var xl=i7;function s7(e,t){return function(){return t.call(this,e.apply(this,arguments))}}var c7=s7,Ba=Kt,en=Ii;function u7(e){return function t(r,n){switch(arguments.length){case 0:return t;case 1:return en(r)?t:Ba(function(o){return e(r,o)});default:return en(r)&&en(n)?t:en(r)?Ba(function(o){return e(o,n)}):en(n)?Ba(function(o){return e(r,o)}):e(r,n)}}}var ki=u7,fo=Kt,lr=ki,Se=Ii;function l7(e){return function t(r,n,o){switch(arguments.length){case 0:return t;case 1:return Se(r)?t:lr(function(i,a){return e(r,i,a)});case 2:return Se(r)&&Se(n)?t:Se(r)?lr(function(i,a){return e(i,n,a)}):Se(n)?lr(function(i,a){return e(r,i,a)}):fo(function(i){return e(r,n,i)});default:return Se(r)&&Se(n)&&Se(o)?t:Se(r)&&Se(n)?lr(function(i,a){return e(i,a,o)}):Se(r)&&Se(o)?lr(function(i,a){return e(i,n,a)}):Se(n)&&Se(o)?lr(function(i,a){return e(r,i,a)}):Se(r)?fo(function(i){return e(i,n,o)}):Se(n)?fo(function(i){return e(r,i,o)}):Se(o)?fo(function(i){return e(r,n,i)}):e(r,n,o)}}}var Cl=l7,Tl=Array.isArray||function(t){return t!=null&&t.length>=0&&Object.prototype.toString.call(t)==="[object Array]"};function d7(e){return Object.prototype.toString.call(e)==="[object String]"}var El=d7,f7=Kt,p7=Tl,h7=El,g7=f7(function(t){return p7(t)?!0:!t||typeof t!="object"||h7(t)?!1:t.nodeType===1?!!t.length:t.length===0?!0:t.length>0?t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1):!1}),m7=g7,v7=function(){function e(t){this.f=t}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(t){return t},e.prototype["@@transducer/step"]=function(t,r){return this.f(t,r)},e}();function y7(e){return new v7(e)}var _7=y7,b7=xl,S7=ki,w7=S7(function(t,r){return b7(t.length,function(){return t.apply(r,arguments)})}),$7=w7,P7=m7,x7=_7,C7=$7;function T7(e,t,r){for(var n=0,o=r.length;n({...r,...n}),Object.prototype)}class Vi{constructor(t,r){dr(this,"nativeTextFlow",void 0),dr(this,"nativeBlockFlow",void 0),dr(this,"nativeTextRet",void 0),dr(this,"nativeBlockRet",void 0),dr(this,"webTextFlow",void 0),dr(this,"webBlockRet",void 0),this.nativeTextFlow=po(r==null?void 0:r.nativeTextFlow,t.native.text.flow),this.nativeBlockFlow=po(r==null?void 0:r.nativeBlockFlow,t.native.block.flow),this.webTextFlow=po(r==null?void 0:r.webTextFlow,t.web.text.flow),this.nativeTextRet=po(r==null?void 0:r.nativeTextRet,t.native.text.retain),this.nativeBlockRet=t.native.block.retain,this.webBlockRet=t.web.block.retain}static empty(){return new Vi(new o3.CSSProcessedProps)}}Or.TStyles=Vi;var _1={};Object.defineProperty(_1,"__esModule",{value:!0});_1.default=void 0;const u3={anchor:!1,edits:"none",lang:"en",olNestLevel:-1,ulNestLevel:-1,direction:"ltr",extend(){return Object.create(this)},toString(){let e=`Markers { `;for(const t in this){const r=this[t];typeof r!="function"&&(e+=` ${t}: ${JSON.stringify(r)} -`)}return e+"}"}};var S3=b3;_1.default=S3;var Ui={};Object.defineProperty(Ui,"__esModule",{value:!0});Ui.default=Ll;function Pc(e){return Object.entries(e).reduce((r,[n,o])=>`${r}${r?",":""} ${n}: ${JSON.stringify(o)}`,"")}function w3(e,{withNodeIndex:t,withStyles:r}){var n;const o=e.tagName?`tagName="${e.tagName}"`:"anonymous",i=e.isUnregistered?"unregistered":null,a=t?`nodeIndex={${e.nodeIndex}}`:null,c=e.id?`id=${e.id}`:null,l=(n=e.classes)!==null&&n!==void 0&&n.length?`classes={[${e.classes.join(", ")}]}`:null,d=e.type==="text"?`data=${JSON.stringify(e.data)}`:null,p=typeof e.attributes.href=="string"?`href=${JSON.stringify(e.attributes.href)}`:null,v=typeof e.attributes.src=="string"?`src=${JSON.stringify(e.attributes.src)}`:null,h=r?Pc(e.getNativeStyles()):null,N=h?`nativeStyles={{${h} }}`:null,T=r?Pc(e.getWebStyles()):null,E=T?`webStyles={{${T}}}`:null,M=[o,i,a,c,l,d,p,v,N,E].filter(D=>D!==null).join(" ");return`<${e.displayName} ${M}`}function Ll(e,t){const{parentLeftPrefix:r="",isChild:n=!1,isLast:o=!0,withStyles:i,withNodeIndex:a}=t,c=n?" ":"",l=r+c,d=e.children.map((p,v)=>Ll(p,{parentLeftPrefix:r+"".padStart(c.length," "),isChild:!0,isLast:v===e.children.length-1,withStyles:i,withNodeIndex:a})).join("");return`${l}${w3(e,{withStyles:i,withNodeIndex:a})}${d?`> +`)}return e+"}"}};var l3=u3;_1.default=l3;var zi={};Object.defineProperty(zi,"__esModule",{value:!0});zi.default=Nl;function $c(e){return Object.entries(e).reduce((r,[n,o])=>`${r}${r?",":""} ${n}: ${JSON.stringify(o)}`,"")}function d3(e,{withNodeIndex:t,withStyles:r}){var n;const o=e.tagName?`tagName="${e.tagName}"`:"anonymous",i=e.isUnregistered?"unregistered":null,a=t?`nodeIndex={${e.nodeIndex}}`:null,c=e.id?`id=${e.id}`:null,l=(n=e.classes)!==null&&n!==void 0&&n.length?`classes={[${e.classes.join(", ")}]}`:null,d=e.type==="text"?`data=${JSON.stringify(e.data)}`:null,p=typeof e.attributes.href=="string"?`href=${JSON.stringify(e.attributes.href)}`:null,v=typeof e.attributes.src=="string"?`src=${JSON.stringify(e.attributes.src)}`:null,h=r?$c(e.getNativeStyles()):null,N=h?`nativeStyles={{${h} }}`:null,T=r?$c(e.getWebStyles()):null,E=T?`webStyles={{${T}}}`:null,M=[o,i,a,c,l,d,p,v,N,E].filter(D=>D!==null).join(" ");return`<${e.displayName} ${M}`}function Nl(e,t){const{parentLeftPrefix:r="",isChild:n=!1,isLast:o=!0,withStyles:i,withNodeIndex:a}=t,c=n?" ":"",l=r+c,d=e.children.map((p,v)=>Nl(p,{parentLeftPrefix:r+"".padStart(c.length," "),isChild:!0,isLast:v===e.children.length-1,withStyles:i,withNodeIndex:a})).join("");return`${l}${d3(e,{withStyles:i,withNodeIndex:a})}${d?`> ${d} ${l}`:" />"}${o?"":` -`}`}Object.defineProperty(Zt,"__esModule",{value:!0});Zt.default=void 0;var $3=Or,xc=Al(_1),P3=Al(Ui);function Al(e){return e&&e.__esModule?e:{default:e}}function x3(e,t){e.nodeIndex=t}const C3=Object.freeze({}),T3=Object.freeze([]);function E3(e){if(e==="img")return"image";if(e==="heading")return"header";if(e==="dialog")return"alert";if(e==="presentation")return"none";if(e==="button"||e==="switch"||e==="checkbox"||e==="radio"||e==="radiogroup"||e==="link"||e==="search")return e}function M3(e,t,{attributes:r}){"dir"in r&&(e.direction=r.dir),"lang"in r&&(e.lang=r.lang)}function Cc(e){return e?{text:{...e.native,...e.text},view:{...e.native,...e.view}}:null}function tn(e,t){return e?t?{text:{...e.text,...t.text},view:{...e.view,...t.view}}:e:t}const R3={children:Object.freeze([]),init:Object.freeze({}),classes:Object.freeze([]),styles:Object.freeze($3.TStyles.empty()),markers:xc.default,__nodeIndex:null,__trimmedLeft:!1,__trimmedRight:!1,__nativeProps:!1,__nativeStyles:!1,__webStyles:!1,__generateNativePropsFromTNode(){let e=null;if(this.styles.webTextFlow.userSelect&&(e=tn(e,{text:{selectable:this.styles.webTextFlow.userSelect!=="none"}})),this.attributes["aria-label"]){const t={accessibilityLabel:this.attributes["aria-label"]};e=tn(e,{view:t,text:t})}if(this.attributes.role){const t=this.attributes.role,r=E3(t);if(r){const n={accessibilityRole:r};e=tn(e,{view:n,text:n})}}return e},__generateDynamicNativePropsFromModel(e){const t=this.elementModel;return!t||!t.getReactNativeProps?null:Cc(t.getReactNativeProps(this,e,this.domNode)||null)},get attributes(){var e;return((e=this.domNode)===null||e===void 0?void 0:e.attribs)||C3},get hasWhiteSpaceCollapsingEnabled(){return typeof this.styles.webTextFlow.whiteSpace=="string"?this.styles.webTextFlow.whiteSpace==="normal":!0},get contentModel(){var e;return((e=this.elementModel)===null||e===void 0?void 0:e.contentModel)||null},get parentStyles(){var e;return this.init.parentStyles||((e=this.parent)===null||e===void 0?void 0:e.styles)||null},get id(){return this.attributes.id||null},get domNode(){return this.init.domNode||null},get elementModel(){return this.init.elementModel},get tagName(){var e;return((e=this.init.domNode)===null||e===void 0?void 0:e.name)||null},get parent(){return this.init.parent||null},get nodeIndex(){return this.__nodeIndex===null&&(this.__nodeIndex=this.init.nodeIndex||0),this.__nodeIndex},get isUnregistered(){return this.init.isUnregistered||!1},set nodeIndex(e){this.__nodeIndex=e},bindChildren(e,t=!1){this.children=e,t&&e.forEach(x3)},cloneInitParams(e){return Object.assign({},this.init,e)},isCollapsibleLeft(){return this.children.length?this.hasWhiteSpaceCollapsingEnabled&&this.children[0].isCollapsibleLeft():!1},isCollapsibleRight(){return this.children.length?this.hasWhiteSpaceCollapsingEnabled&&this.children[this.children.length-1].isCollapsibleRight():!1},isEmpty(){return!1},trimLeft(){if(!this.__trimmedLeft&&this.children.length){const e=this.children[0];e.trimLeft(),e.isEmpty()&&this.children.splice(0,1),this.__trimmedLeft=!0}},trimRight(){if(!this.__trimmedRight&&this.children.length){const e=this.children[this.children.length-1];e.trimRight(),e.isEmpty()&&this.children.splice(-1,1),this.__trimmedRight=!0}},matchContentModel(){return!1},spliceChildren(e){let t=0;for(const r of e)this.children.splice(r-t,1),t+=1},collapse(){this.collapseChildren(),this.bindChildren(this.children,!0)},getNativeStyles(){return this.__nativeStyles===!1&&(this.__nativeStyles={...this.styles.nativeBlockFlow,...this.styles.nativeBlockRet,...this.styles.nativeTextFlow,...this.styles.nativeTextRet}),this.__nativeStyles},getWebStyles(){return this.__webStyles===!1&&(this.__webStyles={...this.styles.webTextFlow,...this.styles.webBlockRet}),this.__webStyles},collapseChildren(){},snapshot(e={}){const{withStyles:t=!1,withNodeIndex:r=!1}=e;return(0,P3.default)(this,{withStyles:t,withNodeIndex:r})},hasClass(e){return this.classes.indexOf(e)>-1},toString(){return this.snapshot()},setMarkers(e,t){var r,n,o;(r=this.elementModel)!==null&&r!==void 0&&r.setMarkersForTNode&&this.elementModel.setMarkersForTNode(e,t,this),M3(e,t,this),(n=(o=this.init.context).setMarkersForTNode)===null||n===void 0||n.call(o,e,t,this)},getReactNativeProps(){if(this.__nativeProps===!1){var e;const t=Cc((e=this.elementModel)===null||e===void 0?void 0:e.reactNativeProps),r=this.__generateNativePropsFromTNode(),n=tn(t,r),o=this.__generateDynamicNativePropsFromModel(n);this.__nativeProps=tn(n,o)}return this.__nativeProps},initialize(e){var t;this.init=e,this.classes=((t=this.attributes.class)===null||t===void 0?void 0:t.split(/\s+/))||T3;const r=e.parent?e.parent.markers:xc.default.extend();this.markers=r.extend(),this.setMarkers(this.markers,r,this),Object.keys(this.markers).length===0&&(this.markers=r),this.styles=e.styles||e.context.stylesMerger.buildStyles(this.attributes.style,this.parentStyles||null,this)}},ql=function(t,r,n){this.type=t,this.displayName=r,n&&Object.defineProperties(this,n)};ql.prototype=R3;var N3=ql;Zt.default=N3;Object.defineProperty(Pt,"__esModule",{value:!0});Pt.TBlockCtor=Pt.default=void 0;var Tc=Dl(ke),O3=Dl(Zt);function Dl(e){return e&&e.__esModule?e:{default:e}}const qr=function(t){this.initialize(t)};Pt.TBlockCtor=qr;qr.prototype=new O3.default("block","TBlock");qr.prototype.matchContentModel=function(t){return t===Tc.default.block||t===Tc.default.mixed};qr.prototype.collapseChildren=function(){let t=[];this.children.forEach((r,n)=>{r.collapse(),r.isEmpty()&&t.push(n)}),this.spliceChildren(t)};qr.prototype.getNativeStyles=function(){return this.__nativeStyles===!1&&(this.__nativeStyles={...this.styles.nativeBlockFlow,...this.styles.nativeBlockRet}),this.__nativeStyles};var L3=qr;Pt.default=L3;var Wt={};Object.defineProperty(Wt,"__esModule",{value:!0});Wt.TPhrasingCtor=Wt.default=void 0;var Ec=Il(ke),A3=Il(Zt);function Il(e){return e&&e.__esModule?e:{default:e}}function q3(e){return e.isEmpty()}const Dr=function(t){this.initialize(t)};Wt.TPhrasingCtor=Dr;Dr.prototype=new A3.default("phrasing","TPhrasing");Dr.prototype.matchContentModel=function(t){return t===Ec.default.textual||t===Ec.default.mixed};Dr.prototype.isEmpty=function(){return this.tagName===null&&this.children.every(q3)};Dr.prototype.collapseChildren=function(){let t=null;return this.children.forEach((r,n)=>{const o=n-1;r.collapse(),o>-1&&r.isCollapsibleLeft()&&t.isCollapsibleRight()&&r.trimLeft(),t=r}),this.trimLeft(),this.trimRight(),null};var D3=Dr;Wt.default=D3;var Ht={},Ct={};Object.defineProperty(Ct,"__esModule",{value:!0});Ct.removeCollapsibleAroundSegmentBreak=B3;Ct.removeConsecutiveSegmentBreaks=W3;Ct.normalizeZeroWidthWhitespaces=H3;Ct.removeLineBreaksAroundEastAsianDiscardSet=j3;Ct.replaceSegmentBreaks=G3;Ct.normalizeWhitespaces=Q3;const I3=/[ \t]*[\r\n\f]+[ \t]*/g,k3=/[\r\n\f]+/g,F3=/(\u200b\n\u200b?|\u200b?\n\u200b)/g,V3=/([\u2E80-\u2EFF\u2F00-\u2FDF\u2FF0-\u2FFF\u3000-\u303F\u3040-\u309F\u30A0-\u30FF\u3130-\u318F\u3190-\u319F\u31C0-\u31EF\u31F0-\u31FF\u3300-\u33FF\u3400-\u4DBF\u4E00-\u9FFF\uA000-\uA48F\uA490-\uA4CF\uF900-\uFAFF\uFE10-\uFE1F\uFE30-\uFE4F\uFE50-\uFE6F\uFF00-\uFFEF])\n([\u2E80-\u2EFF\u2F00-\u2FDF\u2FF0-\u2FFF\u3000-\u303F\u3040-\u309F\u30A0-\u30FF\u3130-\u318F\u3190-\u319F\u31C0-\u31EF\u31F0-\u31FF\u3300-\u33FF\u3400-\u4DBF\u4E00-\u9FFF\uA000-\uA48F\uA490-\uA4CF\uF900-\uFAFF\uFE10-\uFE1F\uFE30-\uFE4F\uFE50-\uFE6F\uFF00-\uFFEF])/g,z3=/\n/g,U3=/[ \t]+/g;function B3(e){return e.replace(I3,` -`)}function W3(e){return e.replace(k3,` -`)}function H3(e){return e.replace(F3,"​")}function j3(e){return e.replace(V3,"$1$2")}function G3(e){return e.replace(z3," ")}function Q3(e){return e.replace(U3," ")}Object.defineProperty(Ht,"__esModule",{value:!0});Ht.TTextCtor=Ht.default=void 0;var Mc=Bi(ke),kl=Bi(Ol),Qe=Ct,X3=Bi(Zt);function Bi(e){return e&&e.__esModule?e:{default:e}}const Y3=(0,kl.default)(Qe.normalizeWhitespaces,Qe.replaceSegmentBreaks,Qe.normalizeZeroWidthWhitespaces,Qe.removeConsecutiveSegmentBreaks,Qe.removeCollapsibleAroundSegmentBreak),Z3=(0,kl.default)(Qe.normalizeWhitespaces,Qe.replaceSegmentBreaks,Qe.removeLineBreaksAroundEastAsianDiscardSet,Qe.normalizeZeroWidthWhitespaces,Qe.removeConsecutiveSegmentBreaks,Qe.removeCollapsibleAroundSegmentBreak),ct=function(t){this.initialize(t),this.isVoid=this.elementModel?this.elementModel.isVoid:!1};Ht.TTextCtor=ct;ct.prototype=new X3.default("text","TText",{data:{get(){return this.init.textNode.data},set(e){this.init.textNode.data=e}}});ct.prototype.matchContentModel=function(t){return t===Mc.default.textual||t===Mc.default.mixed};ct.prototype.isCollapsibleLeft=function(){return this.hasWhiteSpaceCollapsingEnabled&&!this.isEmpty()&&this.data[0]===" "};ct.prototype.isCollapsibleRight=function(){return this.hasWhiteSpaceCollapsingEnabled&&!this.isEmpty()&&(this.isVoid||this.data[this.data.length-1]===" ")};ct.prototype.isEmpty=function(){return this.tagName===null&&!this.data.length};ct.prototype.trimLeft=function(){this.isCollapsibleLeft()&&(this.data=this.data.slice(1))};ct.prototype.trimRight=function(){this.isCollapsibleRight()&&(this.data=this.data.substr(0,this.data.length-1))};ct.prototype.collapseChildren=function(){return this.hasWhiteSpaceCollapsingEnabled&&(this.init.context.removeLineBreaksAroundEastAsianDiscardSet?this.data=Z3(this.data):this.data=Y3(this.data)),null};var J3=ct;Ht.default=J3;Object.defineProperty(qi,"__esModule",{value:!0});qi.hoist=eg;var Ba=K3(Pt),To=Wt,Fl=Ht;function K3(e){return e&&e.__esModule?e:{default:e}}function Rc(e){let t=[];const r={elementModel:null,context:e.init.context,parentStyles:e.styles,parent:null};let n=new To.TPhrasingCtor(r),o=[];for(const i of e.children)i instanceof Fl.TTextCtor||i instanceof To.TPhrasingCtor?o.push(i):(o.length&&(t.push(n),n.bindChildren(o),n=new To.TPhrasingCtor(r),o=[]),t.push(i));return o.length&&(n.bindChildren(o),t.push(n)),e.bindChildren(t),e}function Vl(e){if(e instanceof Fl.TTextCtor)return e;if(e.bindChildren(e.children.map(Vl)),e instanceof To.TPhrasingCtor){for(const t of e.children)if(t instanceof Ba.default){const r=new Ba.default(e.cloneInitParams());return r.bindChildren(e.children),Rc(r)}}else if(e instanceof Ba.default&&e.children.length>0)return Rc(e);return e}function eg(e){return Vl(e)}var Ir={},wr={};Object.defineProperty(wr,"__esModule",{value:!0});wr.default=wr.TDocumentCtor=void 0;var tg=zl(Rr),Nc=Nr,rg=zl(Pt);function zl(e){return e&&e.__esModule?e:{default:e}}const ng=Object.freeze({baseHref:"about:blank",baseTarget:"_self",charset:"utf-8",title:"",lang:"en",dir:"ltr",links:[],meta:[]});function Ul(){return Object.assign({},ng,{links:[],meta:[]})}function og(e,t,r){const n=Ul();return t&&(n.lang=t),r&&(n.dir="rtl"),e.domNode.children.filter(Nc.isDomElement).forEach(a=>{if(a.tagName==="meta")a.attribs.name?n.meta.push(a.attribs):a.attribs.charset&&(n.charset=a.attribs.charset.toLowerCase());else if(a.tagName==="link")n.links.push(a.attribs);else if(a.tagName==="title")for(const c of a.children.filter(Nc.isDomText)){n.title=c.data.trim();break}else a.tagName==="base"&&(n.baseHref=a.attribs.href||n.baseHref,n.baseTarget=a.attribs.target||n.baseTarget)}),n}const ag=tg.default.fromNativeModel({tagName:"html",category:"grouping"}),Tt=function(t){this.initialize(t)};wr.TDocumentCtor=Tt;Tt.prototype=Object.create(rg.default.prototype);Object.defineProperty(Tt.prototype,"tagName",{value:"html",writable:!1});Object.defineProperty(Tt.prototype,"type",{value:"document",writable:!1});Object.defineProperty(Tt.prototype,"displayName",{value:"TDocument",writable:!1});Object.defineProperty(Tt.prototype,"elementModel",{value:ag,writable:!1});Tt.prototype.parseChildren=function(){let t;for(const r of this.children)if(r.tagName==="head"){t=r;break}this.context=Object.freeze(t?og(t,this.attributes.lang,this.attributes.dir):{...Ul(),lang:this.attributes.lang,dir:this.attributes.dir})};var ig=Tt;wr.default=ig;var $r={};Object.defineProperty($r,"__esModule",{value:!0});$r.TEmptyCtor=$r.default=void 0;var sg=Bl(ke),cg=Bl(Zt);function Bl(e){return e&&e.__esModule?e:{default:e}}const b1=function(t){this.initialize(t)};$r.TEmptyCtor=b1;b1.prototype=new cg.default("empty","TEmpty");b1.prototype.matchContentModel=function(t){return t===sg.default.none};var ug=b1;$r.default=ug;Object.defineProperty(Ir,"__esModule",{value:!0});Ir.mapNodeList=Wl;Ir.bindChildren=qo;Ir.translateNode=Hl;Ir.translateDocument=hg;var ii=Ht,lg=Wt,dg=Pt,fg=wr,Ao=Nr,Oc=$r;function Wl({nodeList:e,parent:t,parentStyles:r,params:n}){const o=[];for(const i in e){const a=e[i],c=Hl({node:a,parentStyles:r,params:n,nodeIndex:Number(i),parent:t});c&&o.push(c)}return o}function qo(e,t,r){(!e.elementModel||!e.elementModel.isOpaque)&&e.bindChildren(Wl({nodeList:t,parent:e,params:r}))}function pg({node:e,nodeIndex:t,params:r,parent:n,parentStyles:o}){const i=e.tagName,a={nodeIndex:t,parentStyles:o,context:r,domNode:e,parent:n},c=r.modelRegistry.getElementModelFromTagName(i);if(!c)return new Oc.TEmptyCtor({...a,isUnregistered:!0,elementModel:c,domNode:e});if(c.isTranslatableTextual()){if(e.children.length===1){const d=e.children[0];if((0,Ao.isDomText)(d))return new ii.TTextCtor({...a,elementModel:c,textNode:d,domNode:e})}else if(e.children.length===0)return new ii.TTextCtor({...a,elementModel:c,domNode:e,textNode:new Ao.Text("")});const l=new lg.TPhrasingCtor({...a,domNode:e,elementModel:c});return qo(l,e.children,r),l}if(c.isTranslatableBlock()){const l=new dg.TBlockCtor({...a,elementModel:c,parentStyles:o,domNode:e});return qo(l,e.children,r),l}return new Oc.TEmptyCtor({...a,isUnregistered:!1,elementModel:c,domNode:e})}function Hl({node:e,parentStyles:t,params:r,nodeIndex:n,parent:o}){return(0,Ao.isDomText)(e)?new ii.TTextCtor({textNode:e,context:r,parentStyles:t,domNode:null,elementModel:null,nodeIndex:n,parent:o}):(0,Ao.isDomElement)(e)?pg({node:e,parentStyles:t,params:r,nodeIndex:n,parent:o}):null}function hg(e,t){const r=new fg.TDocumentCtor({context:t,styles:t.baseStyles,domNode:e});return qo(r,e.children,t),r.parseChildren(),r}var gg=Fi,mg=gg(function(t,r){for(var n={},o={},i=0,a=t.length;i65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function bg(e){var t;return e>=55296&&e<=57343||e>1114111?"�":_g((t=yg.get(e))!==null&&t!==void 0?t:e)}w1.default=bg;var Gl={},Hi={};Object.defineProperty(Hi,"__esModule",{value:!0});Hi.default=new Uint16Array([14866,60,237,340,721,1312,1562,1654,1838,1957,2183,2239,2301,2958,3037,3893,4123,4298,4330,4801,5191,5395,5752,5903,5943,5972,6050,0,0,0,0,0,0,6135,6565,7422,8183,8738,9242,9503,9938,10189,10573,10637,10715,11950,12246,13539,13950,14445,14533,15364,16514,16980,17390,17763,17849,18036,18125,4096,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,92,100,106,115,122,137,142,151,157,163,167,182,196,204,220,229,108,105,103,33024,198,59,32768,198,80,33024,38,59,32768,38,99,117,116,101,33024,193,59,32768,193,114,101,118,101,59,32768,258,512,105,121,127,134,114,99,33024,194,59,32768,194,59,32768,1040,114,59,32896,55349,56580,114,97,118,101,33024,192,59,32768,192,112,104,97,59,32768,913,97,99,114,59,32768,256,100,59,32768,10835,512,103,112,172,177,111,110,59,32768,260,102,59,32896,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,32768,8289,105,110,103,33024,197,59,32768,197,512,99,115,209,214,114,59,32896,55349,56476,105,103,110,59,32768,8788,105,108,100,101,33024,195,59,32768,195,109,108,33024,196,59,32768,196,2048,97,99,101,102,111,114,115,117,253,278,282,310,315,321,327,332,512,99,114,258,267,107,115,108,97,115,104,59,32768,8726,583,271,274,59,32768,10983,101,100,59,32768,8966,121,59,32768,1041,768,99,114,116,289,296,306,97,117,115,101,59,32768,8757,110,111,117,108,108,105,115,59,32768,8492,97,59,32768,914,114,59,32896,55349,56581,112,102,59,32896,55349,56633,101,118,101,59,32768,728,99,114,59,32768,8492,109,112,101,113,59,32768,8782,3584,72,79,97,99,100,101,102,104,105,108,111,114,115,117,368,373,380,426,461,466,487,491,495,533,593,695,701,707,99,121,59,32768,1063,80,89,33024,169,59,32768,169,768,99,112,121,387,393,419,117,116,101,59,32768,262,512,59,105,398,400,32768,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,32768,8517,108,101,121,115,59,32768,8493,1024,97,101,105,111,435,441,449,454,114,111,110,59,32768,268,100,105,108,33024,199,59,32768,199,114,99,59,32768,264,110,105,110,116,59,32768,8752,111,116,59,32768,266,512,100,110,471,478,105,108,108,97,59,32768,184,116,101,114,68,111,116,59,32768,183,114,59,32768,8493,105,59,32768,935,114,99,108,101,1024,68,77,80,84,508,513,520,526,111,116,59,32768,8857,105,110,117,115,59,32768,8854,108,117,115,59,32768,8853,105,109,101,115,59,32768,8855,111,512,99,115,539,562,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8754,101,67,117,114,108,121,512,68,81,573,586,111,117,98,108,101,81,117,111,116,101,59,32768,8221,117,111,116,101,59,32768,8217,1024,108,110,112,117,602,614,648,664,111,110,512,59,101,609,611,32768,8759,59,32768,10868,768,103,105,116,621,629,634,114,117,101,110,116,59,32768,8801,110,116,59,32768,8751,111,117,114,73,110,116,101,103,114,97,108,59,32768,8750,512,102,114,653,656,59,32768,8450,111,100,117,99,116,59,32768,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8755,111,115,115,59,32768,10799,99,114,59,32896,55349,56478,112,512,59,67,713,715,32768,8915,97,112,59,32768,8781,2816,68,74,83,90,97,99,101,102,105,111,115,743,758,763,768,773,795,809,821,826,910,1295,512,59,111,748,750,32768,8517,116,114,97,104,100,59,32768,10513,99,121,59,32768,1026,99,121,59,32768,1029,99,121,59,32768,1039,768,103,114,115,780,786,790,103,101,114,59,32768,8225,114,59,32768,8609,104,118,59,32768,10980,512,97,121,800,806,114,111,110,59,32768,270,59,32768,1044,108,512,59,116,815,817,32768,8711,97,59,32768,916,114,59,32896,55349,56583,512,97,102,831,897,512,99,109,836,891,114,105,116,105,99,97,108,1024,65,68,71,84,852,859,877,884,99,117,116,101,59,32768,180,111,581,864,867,59,32768,729,98,108,101,65,99,117,116,101,59,32768,733,114,97,118,101,59,32768,96,105,108,100,101,59,32768,732,111,110,100,59,32768,8900,102,101,114,101,110,116,105,97,108,68,59,32768,8518,2113,920,0,0,0,925,946,0,1139,102,59,32896,55349,56635,768,59,68,69,931,933,938,32768,168,111,116,59,32768,8412,113,117,97,108,59,32768,8784,98,108,101,1536,67,68,76,82,85,86,961,978,996,1080,1101,1125,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8751,111,1093,985,0,0,988,59,32768,168,110,65,114,114,111,119,59,32768,8659,512,101,111,1001,1034,102,116,768,65,82,84,1010,1017,1029,114,114,111,119,59,32768,8656,105,103,104,116,65,114,114,111,119,59,32768,8660,101,101,59,32768,10980,110,103,512,76,82,1041,1068,101,102,116,512,65,82,1049,1056,114,114,111,119,59,32768,10232,105,103,104,116,65,114,114,111,119,59,32768,10234,105,103,104,116,65,114,114,111,119,59,32768,10233,105,103,104,116,512,65,84,1089,1096,114,114,111,119,59,32768,8658,101,101,59,32768,8872,112,1042,1108,0,0,1115,114,114,111,119,59,32768,8657,111,119,110,65,114,114,111,119,59,32768,8661,101,114,116,105,99,97,108,66,97,114,59,32768,8741,110,1536,65,66,76,82,84,97,1152,1179,1186,1236,1272,1288,114,114,111,119,768,59,66,85,1163,1165,1170,32768,8595,97,114,59,32768,10515,112,65,114,114,111,119,59,32768,8693,114,101,118,101,59,32768,785,101,102,116,1315,1196,0,1209,0,1220,105,103,104,116,86,101,99,116,111,114,59,32768,10576,101,101,86,101,99,116,111,114,59,32768,10590,101,99,116,111,114,512,59,66,1229,1231,32768,8637,97,114,59,32768,10582,105,103,104,116,805,1245,0,1256,101,101,86,101,99,116,111,114,59,32768,10591,101,99,116,111,114,512,59,66,1265,1267,32768,8641,97,114,59,32768,10583,101,101,512,59,65,1279,1281,32768,8868,114,114,111,119,59,32768,8615,114,114,111,119,59,32768,8659,512,99,116,1300,1305,114,59,32896,55349,56479,114,111,107,59,32768,272,4096,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1344,1348,1354,1363,1386,1391,1396,1405,1413,1460,1475,1483,1514,1527,1531,1538,71,59,32768,330,72,33024,208,59,32768,208,99,117,116,101,33024,201,59,32768,201,768,97,105,121,1370,1376,1383,114,111,110,59,32768,282,114,99,33024,202,59,32768,202,59,32768,1069,111,116,59,32768,278,114,59,32896,55349,56584,114,97,118,101,33024,200,59,32768,200,101,109,101,110,116,59,32768,8712,512,97,112,1418,1423,99,114,59,32768,274,116,121,1060,1431,0,0,1444,109,97,108,108,83,113,117,97,114,101,59,32768,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9643,512,103,112,1465,1470,111,110,59,32768,280,102,59,32896,55349,56636,115,105,108,111,110,59,32768,917,117,512,97,105,1489,1504,108,512,59,84,1495,1497,32768,10869,105,108,100,101,59,32768,8770,108,105,98,114,105,117,109,59,32768,8652,512,99,105,1519,1523,114,59,32768,8496,109,59,32768,10867,97,59,32768,919,109,108,33024,203,59,32768,203,512,105,112,1543,1549,115,116,115,59,32768,8707,111,110,101,110,116,105,97,108,69,59,32768,8519,1280,99,102,105,111,115,1572,1576,1581,1620,1648,121,59,32768,1060,114,59,32896,55349,56585,108,108,101,100,1060,1591,0,0,1604,109,97,108,108,83,113,117,97,114,101,59,32768,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9642,1601,1628,0,1633,0,0,1639,102,59,32896,55349,56637,65,108,108,59,32768,8704,114,105,101,114,116,114,102,59,32768,8497,99,114,59,32768,8497,3072,74,84,97,98,99,100,102,103,111,114,115,116,1678,1683,1688,1701,1708,1729,1734,1739,1742,1748,1828,1834,99,121,59,32768,1027,33024,62,59,32768,62,109,109,97,512,59,100,1696,1698,32768,915,59,32768,988,114,101,118,101,59,32768,286,768,101,105,121,1715,1721,1726,100,105,108,59,32768,290,114,99,59,32768,284,59,32768,1043,111,116,59,32768,288,114,59,32896,55349,56586,59,32768,8921,112,102,59,32896,55349,56638,101,97,116,101,114,1536,69,70,71,76,83,84,1766,1783,1794,1803,1809,1821,113,117,97,108,512,59,76,1775,1777,32768,8805,101,115,115,59,32768,8923,117,108,108,69,113,117,97,108,59,32768,8807,114,101,97,116,101,114,59,32768,10914,101,115,115,59,32768,8823,108,97,110,116,69,113,117,97,108,59,32768,10878,105,108,100,101,59,32768,8819,99,114,59,32896,55349,56482,59,32768,8811,2048,65,97,99,102,105,111,115,117,1854,1861,1874,1880,1884,1897,1919,1934,82,68,99,121,59,32768,1066,512,99,116,1866,1871,101,107,59,32768,711,59,32768,94,105,114,99,59,32768,292,114,59,32768,8460,108,98,101,114,116,83,112,97,99,101,59,32768,8459,833,1902,0,1906,102,59,32768,8461,105,122,111,110,116,97,108,76,105,110,101,59,32768,9472,512,99,116,1924,1928,114,59,32768,8459,114,111,107,59,32768,294,109,112,533,1940,1950,111,119,110,72,117,109,112,59,32768,8782,113,117,97,108,59,32768,8783,3584,69,74,79,97,99,100,102,103,109,110,111,115,116,117,1985,1990,1996,2001,2010,2025,2030,2034,2043,2077,2134,2155,2160,2167,99,121,59,32768,1045,108,105,103,59,32768,306,99,121,59,32768,1025,99,117,116,101,33024,205,59,32768,205,512,105,121,2015,2022,114,99,33024,206,59,32768,206,59,32768,1048,111,116,59,32768,304,114,59,32768,8465,114,97,118,101,33024,204,59,32768,204,768,59,97,112,2050,2052,2070,32768,8465,512,99,103,2057,2061,114,59,32768,298,105,110,97,114,121,73,59,32768,8520,108,105,101,115,59,32768,8658,837,2082,0,2110,512,59,101,2086,2088,32768,8748,512,103,114,2093,2099,114,97,108,59,32768,8747,115,101,99,116,105,111,110,59,32768,8898,105,115,105,98,108,101,512,67,84,2120,2127,111,109,109,97,59,32768,8291,105,109,101,115,59,32768,8290,768,103,112,116,2141,2146,2151,111,110,59,32768,302,102,59,32896,55349,56640,97,59,32768,921,99,114,59,32768,8464,105,108,100,101,59,32768,296,828,2172,0,2177,99,121,59,32768,1030,108,33024,207,59,32768,207,1280,99,102,111,115,117,2193,2206,2211,2217,2232,512,105,121,2198,2203,114,99,59,32768,308,59,32768,1049,114,59,32896,55349,56589,112,102,59,32896,55349,56641,820,2222,0,2227,114,59,32896,55349,56485,114,99,121,59,32768,1032,107,99,121,59,32768,1028,1792,72,74,97,99,102,111,115,2253,2258,2263,2269,2283,2288,2294,99,121,59,32768,1061,99,121,59,32768,1036,112,112,97,59,32768,922,512,101,121,2274,2280,100,105,108,59,32768,310,59,32768,1050,114,59,32896,55349,56590,112,102,59,32896,55349,56642,99,114,59,32896,55349,56486,2816,74,84,97,99,101,102,108,109,111,115,116,2323,2328,2333,2374,2396,2775,2780,2797,2804,2934,2954,99,121,59,32768,1033,33024,60,59,32768,60,1280,99,109,110,112,114,2344,2350,2356,2360,2370,117,116,101,59,32768,313,98,100,97,59,32768,923,103,59,32768,10218,108,97,99,101,116,114,102,59,32768,8466,114,59,32768,8606,768,97,101,121,2381,2387,2393,114,111,110,59,32768,317,100,105,108,59,32768,315,59,32768,1051,512,102,115,2401,2702,116,2560,65,67,68,70,82,84,85,86,97,114,2423,2470,2479,2530,2537,2561,2618,2666,2683,2690,512,110,114,2428,2441,103,108,101,66,114,97,99,107,101,116,59,32768,10216,114,111,119,768,59,66,82,2451,2453,2458,32768,8592,97,114,59,32768,8676,105,103,104,116,65,114,114,111,119,59,32768,8646,101,105,108,105,110,103,59,32768,8968,111,838,2485,0,2498,98,108,101,66,114,97,99,107,101,116,59,32768,10214,110,805,2503,0,2514,101,101,86,101,99,116,111,114,59,32768,10593,101,99,116,111,114,512,59,66,2523,2525,32768,8643,97,114,59,32768,10585,108,111,111,114,59,32768,8970,105,103,104,116,512,65,86,2546,2553,114,114,111,119,59,32768,8596,101,99,116,111,114,59,32768,10574,512,101,114,2566,2591,101,768,59,65,86,2574,2576,2583,32768,8867,114,114,111,119,59,32768,8612,101,99,116,111,114,59,32768,10586,105,97,110,103,108,101,768,59,66,69,2604,2606,2611,32768,8882,97,114,59,32768,10703,113,117,97,108,59,32768,8884,112,768,68,84,86,2626,2638,2649,111,119,110,86,101,99,116,111,114,59,32768,10577,101,101,86,101,99,116,111,114,59,32768,10592,101,99,116,111,114,512,59,66,2659,2661,32768,8639,97,114,59,32768,10584,101,99,116,111,114,512,59,66,2676,2678,32768,8636,97,114,59,32768,10578,114,114,111,119,59,32768,8656,105,103,104,116,97,114,114,111,119,59,32768,8660,115,1536,69,70,71,76,83,84,2716,2730,2741,2750,2756,2768,113,117,97,108,71,114,101,97,116,101,114,59,32768,8922,117,108,108,69,113,117,97,108,59,32768,8806,114,101,97,116,101,114,59,32768,8822,101,115,115,59,32768,10913,108,97,110,116,69,113,117,97,108,59,32768,10877,105,108,100,101,59,32768,8818,114,59,32896,55349,56591,512,59,101,2785,2787,32768,8920,102,116,97,114,114,111,119,59,32768,8666,105,100,111,116,59,32768,319,768,110,112,119,2811,2899,2904,103,1024,76,82,108,114,2821,2848,2860,2887,101,102,116,512,65,82,2829,2836,114,114,111,119,59,32768,10229,105,103,104,116,65,114,114,111,119,59,32768,10231,105,103,104,116,65,114,114,111,119,59,32768,10230,101,102,116,512,97,114,2868,2875,114,114,111,119,59,32768,10232,105,103,104,116,97,114,114,111,119,59,32768,10234,105,103,104,116,97,114,114,111,119,59,32768,10233,102,59,32896,55349,56643,101,114,512,76,82,2911,2922,101,102,116,65,114,114,111,119,59,32768,8601,105,103,104,116,65,114,114,111,119,59,32768,8600,768,99,104,116,2941,2945,2948,114,59,32768,8466,59,32768,8624,114,111,107,59,32768,321,59,32768,8810,2048,97,99,101,102,105,111,115,117,2974,2978,2982,3007,3012,3022,3028,3033,112,59,32768,10501,121,59,32768,1052,512,100,108,2987,2998,105,117,109,83,112,97,99,101,59,32768,8287,108,105,110,116,114,102,59,32768,8499,114,59,32896,55349,56592,110,117,115,80,108,117,115,59,32768,8723,112,102,59,32896,55349,56644,99,114,59,32768,8499,59,32768,924,2304,74,97,99,101,102,111,115,116,117,3055,3060,3067,3089,3201,3206,3874,3880,3889,99,121,59,32768,1034,99,117,116,101,59,32768,323,768,97,101,121,3074,3080,3086,114,111,110,59,32768,327,100,105,108,59,32768,325,59,32768,1053,768,103,115,119,3096,3160,3194,97,116,105,118,101,768,77,84,86,3108,3121,3145,101,100,105,117,109,83,112,97,99,101,59,32768,8203,104,105,512,99,110,3128,3137,107,83,112,97,99,101,59,32768,8203,83,112,97,99,101,59,32768,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,32768,8203,116,101,100,512,71,76,3168,3184,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32768,8811,101,115,115,76,101,115,115,59,32768,8810,76,105,110,101,59,32768,10,114,59,32896,55349,56593,1024,66,110,112,116,3215,3222,3238,3242,114,101,97,107,59,32768,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,32768,160,102,59,32768,8469,3328,59,67,68,69,71,72,76,78,80,82,83,84,86,3269,3271,3293,3312,3352,3430,3455,3551,3589,3625,3678,3821,3861,32768,10988,512,111,117,3276,3286,110,103,114,117,101,110,116,59,32768,8802,112,67,97,112,59,32768,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,32768,8742,768,108,113,120,3319,3327,3345,101,109,101,110,116,59,32768,8713,117,97,108,512,59,84,3335,3337,32768,8800,105,108,100,101,59,32896,8770,824,105,115,116,115,59,32768,8708,114,101,97,116,101,114,1792,59,69,70,71,76,83,84,3373,3375,3382,3394,3404,3410,3423,32768,8815,113,117,97,108,59,32768,8817,117,108,108,69,113,117,97,108,59,32896,8807,824,114,101,97,116,101,114,59,32896,8811,824,101,115,115,59,32768,8825,108,97,110,116,69,113,117,97,108,59,32896,10878,824,105,108,100,101,59,32768,8821,117,109,112,533,3437,3448,111,119,110,72,117,109,112,59,32896,8782,824,113,117,97,108,59,32896,8783,824,101,512,102,115,3461,3492,116,84,114,105,97,110,103,108,101,768,59,66,69,3477,3479,3485,32768,8938,97,114,59,32896,10703,824,113,117,97,108,59,32768,8940,115,1536,59,69,71,76,83,84,3506,3508,3515,3524,3531,3544,32768,8814,113,117,97,108,59,32768,8816,114,101,97,116,101,114,59,32768,8824,101,115,115,59,32896,8810,824,108,97,110,116,69,113,117,97,108,59,32896,10877,824,105,108,100,101,59,32768,8820,101,115,116,101,100,512,71,76,3561,3578,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32896,10914,824,101,115,115,76,101,115,115,59,32896,10913,824,114,101,99,101,100,101,115,768,59,69,83,3603,3605,3613,32768,8832,113,117,97,108,59,32896,10927,824,108,97,110,116,69,113,117,97,108,59,32768,8928,512,101,105,3630,3645,118,101,114,115,101,69,108,101,109,101,110,116,59,32768,8716,103,104,116,84,114,105,97,110,103,108,101,768,59,66,69,3663,3665,3671,32768,8939,97,114,59,32896,10704,824,113,117,97,108,59,32768,8941,512,113,117,3683,3732,117,97,114,101,83,117,512,98,112,3694,3712,115,101,116,512,59,69,3702,3705,32896,8847,824,113,117,97,108,59,32768,8930,101,114,115,101,116,512,59,69,3722,3725,32896,8848,824,113,117,97,108,59,32768,8931,768,98,99,112,3739,3757,3801,115,101,116,512,59,69,3747,3750,32896,8834,8402,113,117,97,108,59,32768,8840,99,101,101,100,115,1024,59,69,83,84,3771,3773,3781,3793,32768,8833,113,117,97,108,59,32896,10928,824,108,97,110,116,69,113,117,97,108,59,32768,8929,105,108,100,101,59,32896,8831,824,101,114,115,101,116,512,59,69,3811,3814,32896,8835,8402,113,117,97,108,59,32768,8841,105,108,100,101,1024,59,69,70,84,3834,3836,3843,3854,32768,8769,113,117,97,108,59,32768,8772,117,108,108,69,113,117,97,108,59,32768,8775,105,108,100,101,59,32768,8777,101,114,116,105,99,97,108,66,97,114,59,32768,8740,99,114,59,32896,55349,56489,105,108,100,101,33024,209,59,32768,209,59,32768,925,3584,69,97,99,100,102,103,109,111,112,114,115,116,117,118,3921,3927,3936,3951,3958,3963,3972,3996,4002,4034,4037,4055,4071,4078,108,105,103,59,32768,338,99,117,116,101,33024,211,59,32768,211,512,105,121,3941,3948,114,99,33024,212,59,32768,212,59,32768,1054,98,108,97,99,59,32768,336,114,59,32896,55349,56594,114,97,118,101,33024,210,59,32768,210,768,97,101,105,3979,3984,3989,99,114,59,32768,332,103,97,59,32768,937,99,114,111,110,59,32768,927,112,102,59,32896,55349,56646,101,110,67,117,114,108,121,512,68,81,4014,4027,111,117,98,108,101,81,117,111,116,101,59,32768,8220,117,111,116,101,59,32768,8216,59,32768,10836,512,99,108,4042,4047,114,59,32896,55349,56490,97,115,104,33024,216,59,32768,216,105,573,4060,4067,100,101,33024,213,59,32768,213,101,115,59,32768,10807,109,108,33024,214,59,32768,214,101,114,512,66,80,4085,4109,512,97,114,4090,4094,114,59,32768,8254,97,99,512,101,107,4101,4104,59,32768,9182,101,116,59,32768,9140,97,114,101,110,116,104,101,115,105,115,59,32768,9180,2304,97,99,102,104,105,108,111,114,115,4141,4150,4154,4159,4163,4166,4176,4198,4284,114,116,105,97,108,68,59,32768,8706,121,59,32768,1055,114,59,32896,55349,56595,105,59,32768,934,59,32768,928,117,115,77,105,110,117,115,59,32768,177,512,105,112,4181,4194,110,99,97,114,101,112,108,97,110,101,59,32768,8460,102,59,32768,8473,1024,59,101,105,111,4207,4209,4251,4256,32768,10939,99,101,100,101,115,1024,59,69,83,84,4223,4225,4232,4244,32768,8826,113,117,97,108,59,32768,10927,108,97,110,116,69,113,117,97,108,59,32768,8828,105,108,100,101,59,32768,8830,109,101,59,32768,8243,512,100,112,4261,4267,117,99,116,59,32768,8719,111,114,116,105,111,110,512,59,97,4278,4280,32768,8759,108,59,32768,8733,512,99,105,4289,4294,114,59,32896,55349,56491,59,32768,936,1024,85,102,111,115,4306,4313,4318,4323,79,84,33024,34,59,32768,34,114,59,32896,55349,56596,112,102,59,32768,8474,99,114,59,32896,55349,56492,3072,66,69,97,99,101,102,104,105,111,114,115,117,4354,4360,4366,4395,4417,4473,4477,4481,4743,4764,4776,4788,97,114,114,59,32768,10512,71,33024,174,59,32768,174,768,99,110,114,4373,4379,4383,117,116,101,59,32768,340,103,59,32768,10219,114,512,59,116,4389,4391,32768,8608,108,59,32768,10518,768,97,101,121,4402,4408,4414,114,111,110,59,32768,344,100,105,108,59,32768,342,59,32768,1056,512,59,118,4422,4424,32768,8476,101,114,115,101,512,69,85,4433,4458,512,108,113,4438,4446,101,109,101,110,116,59,32768,8715,117,105,108,105,98,114,105,117,109,59,32768,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,32768,10607,114,59,32768,8476,111,59,32768,929,103,104,116,2048,65,67,68,70,84,85,86,97,4501,4547,4556,4607,4614,4671,4719,4736,512,110,114,4506,4519,103,108,101,66,114,97,99,107,101,116,59,32768,10217,114,111,119,768,59,66,76,4529,4531,4536,32768,8594,97,114,59,32768,8677,101,102,116,65,114,114,111,119,59,32768,8644,101,105,108,105,110,103,59,32768,8969,111,838,4562,0,4575,98,108,101,66,114,97,99,107,101,116,59,32768,10215,110,805,4580,0,4591,101,101,86,101,99,116,111,114,59,32768,10589,101,99,116,111,114,512,59,66,4600,4602,32768,8642,97,114,59,32768,10581,108,111,111,114,59,32768,8971,512,101,114,4619,4644,101,768,59,65,86,4627,4629,4636,32768,8866,114,114,111,119,59,32768,8614,101,99,116,111,114,59,32768,10587,105,97,110,103,108,101,768,59,66,69,4657,4659,4664,32768,8883,97,114,59,32768,10704,113,117,97,108,59,32768,8885,112,768,68,84,86,4679,4691,4702,111,119,110,86,101,99,116,111,114,59,32768,10575,101,101,86,101,99,116,111,114,59,32768,10588,101,99,116,111,114,512,59,66,4712,4714,32768,8638,97,114,59,32768,10580,101,99,116,111,114,512,59,66,4729,4731,32768,8640,97,114,59,32768,10579,114,114,111,119,59,32768,8658,512,112,117,4748,4752,102,59,32768,8477,110,100,73,109,112,108,105,101,115,59,32768,10608,105,103,104,116,97,114,114,111,119,59,32768,8667,512,99,104,4781,4785,114,59,32768,8475,59,32768,8625,108,101,68,101,108,97,121,101,100,59,32768,10740,3328,72,79,97,99,102,104,105,109,111,113,115,116,117,4827,4842,4849,4856,4889,4894,4949,4955,4967,4973,5059,5065,5070,512,67,99,4832,4838,72,99,121,59,32768,1065,121,59,32768,1064,70,84,99,121,59,32768,1068,99,117,116,101,59,32768,346,1280,59,97,101,105,121,4867,4869,4875,4881,4886,32768,10940,114,111,110,59,32768,352,100,105,108,59,32768,350,114,99,59,32768,348,59,32768,1057,114,59,32896,55349,56598,111,114,116,1024,68,76,82,85,4906,4917,4928,4940,111,119,110,65,114,114,111,119,59,32768,8595,101,102,116,65,114,114,111,119,59,32768,8592,105,103,104,116,65,114,114,111,119,59,32768,8594,112,65,114,114,111,119,59,32768,8593,103,109,97,59,32768,931,97,108,108,67,105,114,99,108,101,59,32768,8728,112,102,59,32896,55349,56650,1091,4979,0,0,4983,116,59,32768,8730,97,114,101,1024,59,73,83,85,4994,4996,5010,5052,32768,9633,110,116,101,114,115,101,99,116,105,111,110,59,32768,8851,117,512,98,112,5016,5033,115,101,116,512,59,69,5024,5026,32768,8847,113,117,97,108,59,32768,8849,101,114,115,101,116,512,59,69,5043,5045,32768,8848,113,117,97,108,59,32768,8850,110,105,111,110,59,32768,8852,99,114,59,32896,55349,56494,97,114,59,32768,8902,1024,98,99,109,112,5079,5102,5155,5158,512,59,115,5084,5086,32768,8912,101,116,512,59,69,5093,5095,32768,8912,113,117,97,108,59,32768,8838,512,99,104,5107,5148,101,101,100,115,1024,59,69,83,84,5120,5122,5129,5141,32768,8827,113,117,97,108,59,32768,10928,108,97,110,116,69,113,117,97,108,59,32768,8829,105,108,100,101,59,32768,8831,84,104,97,116,59,32768,8715,59,32768,8721,768,59,101,115,5165,5167,5185,32768,8913,114,115,101,116,512,59,69,5176,5178,32768,8835,113,117,97,108,59,32768,8839,101,116,59,32768,8913,2816,72,82,83,97,99,102,104,105,111,114,115,5213,5221,5227,5241,5252,5274,5279,5323,5362,5368,5378,79,82,78,33024,222,59,32768,222,65,68,69,59,32768,8482,512,72,99,5232,5237,99,121,59,32768,1035,121,59,32768,1062,512,98,117,5246,5249,59,32768,9,59,32768,932,768,97,101,121,5259,5265,5271,114,111,110,59,32768,356,100,105,108,59,32768,354,59,32768,1058,114,59,32896,55349,56599,512,101,105,5284,5300,835,5289,0,5297,101,102,111,114,101,59,32768,8756,97,59,32768,920,512,99,110,5305,5315,107,83,112,97,99,101,59,32896,8287,8202,83,112,97,99,101,59,32768,8201,108,100,101,1024,59,69,70,84,5335,5337,5344,5355,32768,8764,113,117,97,108,59,32768,8771,117,108,108,69,113,117,97,108,59,32768,8773,105,108,100,101,59,32768,8776,112,102,59,32896,55349,56651,105,112,108,101,68,111,116,59,32768,8411,512,99,116,5383,5388,114,59,32896,55349,56495,114,111,107,59,32768,358,5426,5417,5444,5458,5473,0,5480,5485,0,0,0,0,0,5494,5500,5564,5579,0,5726,5732,5738,5745,512,99,114,5421,5429,117,116,101,33024,218,59,32768,218,114,512,59,111,5435,5437,32768,8607,99,105,114,59,32768,10569,114,820,5449,0,5453,121,59,32768,1038,118,101,59,32768,364,512,105,121,5462,5469,114,99,33024,219,59,32768,219,59,32768,1059,98,108,97,99,59,32768,368,114,59,32896,55349,56600,114,97,118,101,33024,217,59,32768,217,97,99,114,59,32768,362,512,100,105,5504,5548,101,114,512,66,80,5511,5535,512,97,114,5516,5520,114,59,32768,95,97,99,512,101,107,5527,5530,59,32768,9183,101,116,59,32768,9141,97,114,101,110,116,104,101,115,105,115,59,32768,9181,111,110,512,59,80,5555,5557,32768,8899,108,117,115,59,32768,8846,512,103,112,5568,5573,111,110,59,32768,370,102,59,32896,55349,56652,2048,65,68,69,84,97,100,112,115,5595,5624,5635,5648,5664,5671,5682,5712,114,114,111,119,768,59,66,68,5606,5608,5613,32768,8593,97,114,59,32768,10514,111,119,110,65,114,114,111,119,59,32768,8645,111,119,110,65,114,114,111,119,59,32768,8597,113,117,105,108,105,98,114,105,117,109,59,32768,10606,101,101,512,59,65,5655,5657,32768,8869,114,114,111,119,59,32768,8613,114,114,111,119,59,32768,8657,111,119,110,97,114,114,111,119,59,32768,8661,101,114,512,76,82,5689,5700,101,102,116,65,114,114,111,119,59,32768,8598,105,103,104,116,65,114,114,111,119,59,32768,8599,105,512,59,108,5718,5720,32768,978,111,110,59,32768,933,105,110,103,59,32768,366,99,114,59,32896,55349,56496,105,108,100,101,59,32768,360,109,108,33024,220,59,32768,220,2304,68,98,99,100,101,102,111,115,118,5770,5776,5781,5785,5798,5878,5883,5889,5895,97,115,104,59,32768,8875,97,114,59,32768,10987,121,59,32768,1042,97,115,104,512,59,108,5793,5795,32768,8873,59,32768,10982,512,101,114,5803,5806,59,32768,8897,768,98,116,121,5813,5818,5866,97,114,59,32768,8214,512,59,105,5823,5825,32768,8214,99,97,108,1024,66,76,83,84,5837,5842,5848,5859,97,114,59,32768,8739,105,110,101,59,32768,124,101,112,97,114,97,116,111,114,59,32768,10072,105,108,100,101,59,32768,8768,84,104,105,110,83,112,97,99,101,59,32768,8202,114,59,32896,55349,56601,112,102,59,32896,55349,56653,99,114,59,32896,55349,56497,100,97,115,104,59,32768,8874,1280,99,101,102,111,115,5913,5919,5925,5930,5936,105,114,99,59,32768,372,100,103,101,59,32768,8896,114,59,32896,55349,56602,112,102,59,32896,55349,56654,99,114,59,32896,55349,56498,1024,102,105,111,115,5951,5956,5959,5965,114,59,32896,55349,56603,59,32768,926,112,102,59,32896,55349,56655,99,114,59,32896,55349,56499,2304,65,73,85,97,99,102,111,115,117,5990,5995,6e3,6005,6014,6027,6032,6038,6044,99,121,59,32768,1071,99,121,59,32768,1031,99,121,59,32768,1070,99,117,116,101,33024,221,59,32768,221,512,105,121,6019,6024,114,99,59,32768,374,59,32768,1067,114,59,32896,55349,56604,112,102,59,32896,55349,56656,99,114,59,32896,55349,56500,109,108,59,32768,376,2048,72,97,99,100,101,102,111,115,6066,6071,6078,6092,6097,6119,6123,6128,99,121,59,32768,1046,99,117,116,101,59,32768,377,512,97,121,6083,6089,114,111,110,59,32768,381,59,32768,1047,111,116,59,32768,379,835,6102,0,6116,111,87,105,100,116,104,83,112,97,99,101,59,32768,8203,97,59,32768,918,114,59,32768,8488,112,102,59,32768,8484,99,114,59,32896,55349,56501,5938,6159,6168,6175,0,6214,6222,6233,0,0,0,0,6242,6267,6290,6429,6444,0,6495,6503,6531,6540,0,6547,99,117,116,101,33024,225,59,32768,225,114,101,118,101,59,32768,259,1536,59,69,100,105,117,121,6187,6189,6193,6196,6203,6210,32768,8766,59,32896,8766,819,59,32768,8767,114,99,33024,226,59,32768,226,116,101,33024,180,59,32768,180,59,32768,1072,108,105,103,33024,230,59,32768,230,512,59,114,6226,6228,32768,8289,59,32896,55349,56606,114,97,118,101,33024,224,59,32768,224,512,101,112,6246,6261,512,102,112,6251,6257,115,121,109,59,32768,8501,104,59,32768,8501,104,97,59,32768,945,512,97,112,6271,6284,512,99,108,6276,6280,114,59,32768,257,103,59,32768,10815,33024,38,59,32768,38,1077,6295,0,0,6326,1280,59,97,100,115,118,6305,6307,6312,6315,6322,32768,8743,110,100,59,32768,10837,59,32768,10844,108,111,112,101,59,32768,10840,59,32768,10842,1792,59,101,108,109,114,115,122,6340,6342,6345,6349,6391,6410,6422,32768,8736,59,32768,10660,101,59,32768,8736,115,100,512,59,97,6356,6358,32768,8737,2098,6368,6371,6374,6377,6380,6383,6386,6389,59,32768,10664,59,32768,10665,59,32768,10666,59,32768,10667,59,32768,10668,59,32768,10669,59,32768,10670,59,32768,10671,116,512,59,118,6397,6399,32768,8735,98,512,59,100,6405,6407,32768,8894,59,32768,10653,512,112,116,6415,6419,104,59,32768,8738,59,32768,197,97,114,114,59,32768,9084,512,103,112,6433,6438,111,110,59,32768,261,102,59,32896,55349,56658,1792,59,69,97,101,105,111,112,6458,6460,6463,6469,6472,6476,6480,32768,8776,59,32768,10864,99,105,114,59,32768,10863,59,32768,8778,100,59,32768,8779,115,59,32768,39,114,111,120,512,59,101,6488,6490,32768,8776,113,59,32768,8778,105,110,103,33024,229,59,32768,229,768,99,116,121,6509,6514,6517,114,59,32896,55349,56502,59,32768,42,109,112,512,59,101,6524,6526,32768,8776,113,59,32768,8781,105,108,100,101,33024,227,59,32768,227,109,108,33024,228,59,32768,228,512,99,105,6551,6559,111,110,105,110,116,59,32768,8755,110,116,59,32768,10769,4096,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,6597,6602,6673,6688,6701,6707,6768,6773,6891,6898,6999,7023,7309,7316,7334,7383,111,116,59,32768,10989,512,99,114,6607,6652,107,1024,99,101,112,115,6617,6623,6632,6639,111,110,103,59,32768,8780,112,115,105,108,111,110,59,32768,1014,114,105,109,101,59,32768,8245,105,109,512,59,101,6646,6648,32768,8765,113,59,32768,8909,583,6656,6661,101,101,59,32768,8893,101,100,512,59,103,6667,6669,32768,8965,101,59,32768,8965,114,107,512,59,116,6680,6682,32768,9141,98,114,107,59,32768,9142,512,111,121,6693,6698,110,103,59,32768,8780,59,32768,1073,113,117,111,59,32768,8222,1280,99,109,112,114,116,6718,6731,6738,6743,6749,97,117,115,512,59,101,6726,6728,32768,8757,59,32768,8757,112,116,121,118,59,32768,10672,115,105,59,32768,1014,110,111,117,59,32768,8492,768,97,104,119,6756,6759,6762,59,32768,946,59,32768,8502,101,101,110,59,32768,8812,114,59,32896,55349,56607,103,1792,99,111,115,116,117,118,119,6789,6809,6834,6850,6872,6879,6884,768,97,105,117,6796,6800,6805,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,768,100,112,116,6816,6821,6827,111,116,59,32768,10752,108,117,115,59,32768,10753,105,109,101,115,59,32768,10754,1090,6840,0,0,6846,99,117,112,59,32768,10758,97,114,59,32768,9733,114,105,97,110,103,108,101,512,100,117,6862,6868,111,119,110,59,32768,9661,112,59,32768,9651,112,108,117,115,59,32768,10756,101,101,59,32768,8897,101,100,103,101,59,32768,8896,97,114,111,119,59,32768,10509,768,97,107,111,6905,6976,6994,512,99,110,6910,6972,107,768,108,115,116,6918,6927,6935,111,122,101,110,103,101,59,32768,10731,113,117,97,114,101,59,32768,9642,114,105,97,110,103,108,101,1024,59,100,108,114,6951,6953,6959,6965,32768,9652,111,119,110,59,32768,9662,101,102,116,59,32768,9666,105,103,104,116,59,32768,9656,107,59,32768,9251,770,6981,0,6991,771,6985,0,6988,59,32768,9618,59,32768,9617,52,59,32768,9619,99,107,59,32768,9608,512,101,111,7004,7019,512,59,113,7009,7012,32896,61,8421,117,105,118,59,32896,8801,8421,116,59,32768,8976,1024,112,116,119,120,7032,7037,7049,7055,102,59,32896,55349,56659,512,59,116,7042,7044,32768,8869,111,109,59,32768,8869,116,105,101,59,32768,8904,3072,68,72,85,86,98,100,104,109,112,116,117,118,7080,7101,7126,7147,7182,7187,7208,7233,7240,7246,7253,7274,1024,76,82,108,114,7089,7092,7095,7098,59,32768,9559,59,32768,9556,59,32768,9558,59,32768,9555,1280,59,68,85,100,117,7112,7114,7117,7120,7123,32768,9552,59,32768,9574,59,32768,9577,59,32768,9572,59,32768,9575,1024,76,82,108,114,7135,7138,7141,7144,59,32768,9565,59,32768,9562,59,32768,9564,59,32768,9561,1792,59,72,76,82,104,108,114,7162,7164,7167,7170,7173,7176,7179,32768,9553,59,32768,9580,59,32768,9571,59,32768,9568,59,32768,9579,59,32768,9570,59,32768,9567,111,120,59,32768,10697,1024,76,82,108,114,7196,7199,7202,7205,59,32768,9557,59,32768,9554,59,32768,9488,59,32768,9484,1280,59,68,85,100,117,7219,7221,7224,7227,7230,32768,9472,59,32768,9573,59,32768,9576,59,32768,9516,59,32768,9524,105,110,117,115,59,32768,8863,108,117,115,59,32768,8862,105,109,101,115,59,32768,8864,1024,76,82,108,114,7262,7265,7268,7271,59,32768,9563,59,32768,9560,59,32768,9496,59,32768,9492,1792,59,72,76,82,104,108,114,7289,7291,7294,7297,7300,7303,7306,32768,9474,59,32768,9578,59,32768,9569,59,32768,9566,59,32768,9532,59,32768,9508,59,32768,9500,114,105,109,101,59,32768,8245,512,101,118,7321,7326,118,101,59,32768,728,98,97,114,33024,166,59,32768,166,1024,99,101,105,111,7343,7348,7353,7364,114,59,32896,55349,56503,109,105,59,32768,8271,109,512,59,101,7359,7361,32768,8765,59,32768,8909,108,768,59,98,104,7372,7374,7377,32768,92,59,32768,10693,115,117,98,59,32768,10184,573,7387,7399,108,512,59,101,7392,7394,32768,8226,116,59,32768,8226,112,768,59,69,101,7406,7408,7411,32768,8782,59,32768,10926,512,59,113,7416,7418,32768,8783,59,32768,8783,6450,7448,0,7523,7571,7576,7613,0,7618,7647,0,0,7764,0,0,7779,0,0,7899,7914,7949,7955,0,8158,0,8176,768,99,112,114,7454,7460,7509,117,116,101,59,32768,263,1536,59,97,98,99,100,115,7473,7475,7480,7487,7500,7505,32768,8745,110,100,59,32768,10820,114,99,117,112,59,32768,10825,512,97,117,7492,7496,112,59,32768,10827,112,59,32768,10823,111,116,59,32768,10816,59,32896,8745,65024,512,101,111,7514,7518,116,59,32768,8257,110,59,32768,711,1024,97,101,105,117,7531,7544,7552,7557,833,7536,0,7540,115,59,32768,10829,111,110,59,32768,269,100,105,108,33024,231,59,32768,231,114,99,59,32768,265,112,115,512,59,115,7564,7566,32768,10828,109,59,32768,10832,111,116,59,32768,267,768,100,109,110,7582,7589,7596,105,108,33024,184,59,32768,184,112,116,121,118,59,32768,10674,116,33280,162,59,101,7603,7605,32768,162,114,100,111,116,59,32768,183,114,59,32896,55349,56608,768,99,101,105,7624,7628,7643,121,59,32768,1095,99,107,512,59,109,7635,7637,32768,10003,97,114,107,59,32768,10003,59,32768,967,114,1792,59,69,99,101,102,109,115,7662,7664,7667,7742,7745,7752,7757,32768,9675,59,32768,10691,768,59,101,108,7674,7676,7680,32768,710,113,59,32768,8791,101,1074,7687,0,0,7709,114,114,111,119,512,108,114,7695,7701,101,102,116,59,32768,8634,105,103,104,116,59,32768,8635,1280,82,83,97,99,100,7719,7722,7725,7730,7736,59,32768,174,59,32768,9416,115,116,59,32768,8859,105,114,99,59,32768,8858,97,115,104,59,32768,8861,59,32768,8791,110,105,110,116,59,32768,10768,105,100,59,32768,10991,99,105,114,59,32768,10690,117,98,115,512,59,117,7771,7773,32768,9827,105,116,59,32768,9827,1341,7785,7804,7850,0,7871,111,110,512,59,101,7791,7793,32768,58,512,59,113,7798,7800,32768,8788,59,32768,8788,1086,7809,0,0,7820,97,512,59,116,7814,7816,32768,44,59,32768,64,768,59,102,108,7826,7828,7832,32768,8705,110,59,32768,8728,101,512,109,120,7838,7844,101,110,116,59,32768,8705,101,115,59,32768,8450,824,7854,0,7866,512,59,100,7858,7860,32768,8773,111,116,59,32768,10861,110,116,59,32768,8750,768,102,114,121,7877,7881,7886,59,32896,55349,56660,111,100,59,32768,8720,33280,169,59,115,7892,7894,32768,169,114,59,32768,8471,512,97,111,7903,7908,114,114,59,32768,8629,115,115,59,32768,10007,512,99,117,7918,7923,114,59,32896,55349,56504,512,98,112,7928,7938,512,59,101,7933,7935,32768,10959,59,32768,10961,512,59,101,7943,7945,32768,10960,59,32768,10962,100,111,116,59,32768,8943,1792,100,101,108,112,114,118,119,7969,7983,7996,8009,8057,8147,8152,97,114,114,512,108,114,7977,7980,59,32768,10552,59,32768,10549,1089,7989,0,0,7993,114,59,32768,8926,99,59,32768,8927,97,114,114,512,59,112,8004,8006,32768,8630,59,32768,10557,1536,59,98,99,100,111,115,8022,8024,8031,8044,8049,8053,32768,8746,114,99,97,112,59,32768,10824,512,97,117,8036,8040,112,59,32768,10822,112,59,32768,10826,111,116,59,32768,8845,114,59,32768,10821,59,32896,8746,65024,1024,97,108,114,118,8066,8078,8116,8123,114,114,512,59,109,8073,8075,32768,8631,59,32768,10556,121,768,101,118,119,8086,8104,8109,113,1089,8093,0,0,8099,114,101,99,59,32768,8926,117,99,99,59,32768,8927,101,101,59,32768,8910,101,100,103,101,59,32768,8911,101,110,33024,164,59,32768,164,101,97,114,114,111,119,512,108,114,8134,8140,101,102,116,59,32768,8630,105,103,104,116,59,32768,8631,101,101,59,32768,8910,101,100,59,32768,8911,512,99,105,8162,8170,111,110,105,110,116,59,32768,8754,110,116,59,32768,8753,108,99,116,121,59,32768,9005,4864,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8221,8226,8231,8267,8282,8296,8327,8351,8366,8379,8466,8471,8487,8621,8647,8676,8697,8712,8720,114,114,59,32768,8659,97,114,59,32768,10597,1024,103,108,114,115,8240,8246,8252,8256,103,101,114,59,32768,8224,101,116,104,59,32768,8504,114,59,32768,8595,104,512,59,118,8262,8264,32768,8208,59,32768,8867,572,8271,8278,97,114,111,119,59,32768,10511,97,99,59,32768,733,512,97,121,8287,8293,114,111,110,59,32768,271,59,32768,1076,768,59,97,111,8303,8305,8320,32768,8518,512,103,114,8310,8316,103,101,114,59,32768,8225,114,59,32768,8650,116,115,101,113,59,32768,10871,768,103,108,109,8334,8339,8344,33024,176,59,32768,176,116,97,59,32768,948,112,116,121,118,59,32768,10673,512,105,114,8356,8362,115,104,116,59,32768,10623,59,32896,55349,56609,97,114,512,108,114,8373,8376,59,32768,8643,59,32768,8642,1280,97,101,103,115,118,8390,8418,8421,8428,8433,109,768,59,111,115,8398,8400,8415,32768,8900,110,100,512,59,115,8407,8409,32768,8900,117,105,116,59,32768,9830,59,32768,9830,59,32768,168,97,109,109,97,59,32768,989,105,110,59,32768,8946,768,59,105,111,8440,8442,8461,32768,247,100,101,33280,247,59,111,8450,8452,32768,247,110,116,105,109,101,115,59,32768,8903,110,120,59,32768,8903,99,121,59,32768,1106,99,1088,8478,0,0,8483,114,110,59,32768,8990,111,112,59,32768,8973,1280,108,112,116,117,119,8498,8504,8509,8556,8570,108,97,114,59,32768,36,102,59,32896,55349,56661,1280,59,101,109,112,115,8520,8522,8535,8542,8548,32768,729,113,512,59,100,8528,8530,32768,8784,111,116,59,32768,8785,105,110,117,115,59,32768,8760,108,117,115,59,32768,8724,113,117,97,114,101,59,32768,8865,98,108,101,98,97,114,119,101,100,103,101,59,32768,8966,110,768,97,100,104,8578,8585,8597,114,114,111,119,59,32768,8595,111,119,110,97,114,114,111,119,115,59,32768,8650,97,114,112,111,111,110,512,108,114,8608,8614,101,102,116,59,32768,8643,105,103,104,116,59,32768,8642,563,8625,8633,107,97,114,111,119,59,32768,10512,1088,8638,0,0,8643,114,110,59,32768,8991,111,112,59,32768,8972,768,99,111,116,8654,8666,8670,512,114,121,8659,8663,59,32896,55349,56505,59,32768,1109,108,59,32768,10742,114,111,107,59,32768,273,512,100,114,8681,8686,111,116,59,32768,8945,105,512,59,102,8692,8694,32768,9663,59,32768,9662,512,97,104,8702,8707,114,114,59,32768,8693,97,114,59,32768,10607,97,110,103,108,101,59,32768,10662,512,99,105,8725,8729,121,59,32768,1119,103,114,97,114,114,59,32768,10239,4608,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,8774,8788,8807,8844,8849,8852,8866,8895,8929,8977,8989,9004,9046,9136,9151,9171,9184,9199,512,68,111,8779,8784,111,116,59,32768,10871,116,59,32768,8785,512,99,115,8793,8801,117,116,101,33024,233,59,32768,233,116,101,114,59,32768,10862,1024,97,105,111,121,8816,8822,8835,8841,114,111,110,59,32768,283,114,512,59,99,8828,8830,32768,8790,33024,234,59,32768,234,108,111,110,59,32768,8789,59,32768,1101,111,116,59,32768,279,59,32768,8519,512,68,114,8857,8862,111,116,59,32768,8786,59,32896,55349,56610,768,59,114,115,8873,8875,8883,32768,10906,97,118,101,33024,232,59,32768,232,512,59,100,8888,8890,32768,10902,111,116,59,32768,10904,1024,59,105,108,115,8904,8906,8914,8917,32768,10905,110,116,101,114,115,59,32768,9191,59,32768,8467,512,59,100,8922,8924,32768,10901,111,116,59,32768,10903,768,97,112,115,8936,8941,8960,99,114,59,32768,275,116,121,768,59,115,118,8950,8952,8957,32768,8709,101,116,59,32768,8709,59,32768,8709,112,512,49,59,8966,8975,516,8970,8973,59,32768,8196,59,32768,8197,32768,8195,512,103,115,8982,8985,59,32768,331,112,59,32768,8194,512,103,112,8994,8999,111,110,59,32768,281,102,59,32896,55349,56662,768,97,108,115,9011,9023,9028,114,512,59,115,9017,9019,32768,8917,108,59,32768,10723,117,115,59,32768,10865,105,768,59,108,118,9036,9038,9043,32768,949,111,110,59,32768,949,59,32768,1013,1024,99,115,117,118,9055,9071,9099,9128,512,105,111,9060,9065,114,99,59,32768,8790,108,111,110,59,32768,8789,1082,9077,0,0,9081,109,59,32768,8770,97,110,116,512,103,108,9088,9093,116,114,59,32768,10902,101,115,115,59,32768,10901,768,97,101,105,9106,9111,9116,108,115,59,32768,61,115,116,59,32768,8799,118,512,59,68,9122,9124,32768,8801,68,59,32768,10872,112,97,114,115,108,59,32768,10725,512,68,97,9141,9146,111,116,59,32768,8787,114,114,59,32768,10609,768,99,100,105,9158,9162,9167,114,59,32768,8495,111,116,59,32768,8784,109,59,32768,8770,512,97,104,9176,9179,59,32768,951,33024,240,59,32768,240,512,109,114,9189,9195,108,33024,235,59,32768,235,111,59,32768,8364,768,99,105,112,9206,9210,9215,108,59,32768,33,115,116,59,32768,8707,512,101,111,9220,9230,99,116,97,116,105,111,110,59,32768,8496,110,101,110,116,105,97,108,101,59,32768,8519,4914,9262,0,9276,0,9280,9287,0,0,9318,9324,0,9331,0,9352,9357,9386,0,9395,9497,108,108,105,110,103,100,111,116,115,101,113,59,32768,8786,121,59,32768,1092,109,97,108,101,59,32768,9792,768,105,108,114,9293,9299,9313,108,105,103,59,32768,64259,1082,9305,0,0,9309,103,59,32768,64256,105,103,59,32768,64260,59,32896,55349,56611,108,105,103,59,32768,64257,108,105,103,59,32896,102,106,768,97,108,116,9337,9341,9346,116,59,32768,9837,105,103,59,32768,64258,110,115,59,32768,9649,111,102,59,32768,402,833,9361,0,9366,102,59,32896,55349,56663,512,97,107,9370,9375,108,108,59,32768,8704,512,59,118,9380,9382,32768,8916,59,32768,10969,97,114,116,105,110,116,59,32768,10765,512,97,111,9399,9491,512,99,115,9404,9487,1794,9413,9443,9453,9470,9474,0,9484,1795,9421,9426,9429,9434,9437,0,9440,33024,189,59,32768,189,59,32768,8531,33024,188,59,32768,188,59,32768,8533,59,32768,8537,59,32768,8539,772,9447,0,9450,59,32768,8532,59,32768,8534,1285,9459,9464,0,0,9467,33024,190,59,32768,190,59,32768,8535,59,32768,8540,53,59,32768,8536,775,9478,0,9481,59,32768,8538,59,32768,8541,56,59,32768,8542,108,59,32768,8260,119,110,59,32768,8994,99,114,59,32896,55349,56507,4352,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,9537,9547,9575,9582,9595,9600,9679,9684,9694,9700,9705,9725,9773,9779,9785,9810,9917,512,59,108,9542,9544,32768,8807,59,32768,10892,768,99,109,112,9554,9560,9572,117,116,101,59,32768,501,109,97,512,59,100,9567,9569,32768,947,59,32768,989,59,32768,10886,114,101,118,101,59,32768,287,512,105,121,9587,9592,114,99,59,32768,285,59,32768,1075,111,116,59,32768,289,1024,59,108,113,115,9609,9611,9614,9633,32768,8805,59,32768,8923,768,59,113,115,9621,9623,9626,32768,8805,59,32768,8807,108,97,110,116,59,32768,10878,1024,59,99,100,108,9642,9644,9648,9667,32768,10878,99,59,32768,10921,111,116,512,59,111,9655,9657,32768,10880,512,59,108,9662,9664,32768,10882,59,32768,10884,512,59,101,9672,9675,32896,8923,65024,115,59,32768,10900,114,59,32896,55349,56612,512,59,103,9689,9691,32768,8811,59,32768,8921,109,101,108,59,32768,8503,99,121,59,32768,1107,1024,59,69,97,106,9714,9716,9719,9722,32768,8823,59,32768,10898,59,32768,10917,59,32768,10916,1024,69,97,101,115,9734,9737,9751,9768,59,32768,8809,112,512,59,112,9743,9745,32768,10890,114,111,120,59,32768,10890,512,59,113,9756,9758,32768,10888,512,59,113,9763,9765,32768,10888,59,32768,8809,105,109,59,32768,8935,112,102,59,32896,55349,56664,97,118,101,59,32768,96,512,99,105,9790,9794,114,59,32768,8458,109,768,59,101,108,9802,9804,9807,32768,8819,59,32768,10894,59,32768,10896,34304,62,59,99,100,108,113,114,9824,9826,9838,9843,9849,9856,32768,62,512,99,105,9831,9834,59,32768,10919,114,59,32768,10874,111,116,59,32768,8919,80,97,114,59,32768,10645,117,101,115,116,59,32768,10876,1280,97,100,101,108,115,9867,9882,9887,9906,9912,833,9872,0,9879,112,114,111,120,59,32768,10886,114,59,32768,10616,111,116,59,32768,8919,113,512,108,113,9893,9899,101,115,115,59,32768,8923,108,101,115,115,59,32768,10892,101,115,115,59,32768,8823,105,109,59,32768,8819,512,101,110,9922,9932,114,116,110,101,113,113,59,32896,8809,65024,69,59,32896,8809,65024,2560,65,97,98,99,101,102,107,111,115,121,9958,9963,10015,10020,10026,10060,10065,10085,10147,10171,114,114,59,32768,8660,1024,105,108,109,114,9972,9978,9982,9988,114,115,112,59,32768,8202,102,59,32768,189,105,108,116,59,32768,8459,512,100,114,9993,9998,99,121,59,32768,1098,768,59,99,119,10005,10007,10012,32768,8596,105,114,59,32768,10568,59,32768,8621,97,114,59,32768,8463,105,114,99,59,32768,293,768,97,108,114,10033,10048,10054,114,116,115,512,59,117,10041,10043,32768,9829,105,116,59,32768,9829,108,105,112,59,32768,8230,99,111,110,59,32768,8889,114,59,32896,55349,56613,115,512,101,119,10071,10078,97,114,111,119,59,32768,10533,97,114,111,119,59,32768,10534,1280,97,109,111,112,114,10096,10101,10107,10136,10141,114,114,59,32768,8703,116,104,116,59,32768,8763,107,512,108,114,10113,10124,101,102,116,97,114,114,111,119,59,32768,8617,105,103,104,116,97,114,114,111,119,59,32768,8618,102,59,32896,55349,56665,98,97,114,59,32768,8213,768,99,108,116,10154,10159,10165,114,59,32896,55349,56509,97,115,104,59,32768,8463,114,111,107,59,32768,295,512,98,112,10176,10182,117,108,108,59,32768,8259,104,101,110,59,32768,8208,5426,10211,0,10220,0,10239,10255,10267,0,10276,10312,0,0,10318,10371,10458,10485,10491,0,10500,10545,10558,99,117,116,101,33024,237,59,32768,237,768,59,105,121,10226,10228,10235,32768,8291,114,99,33024,238,59,32768,238,59,32768,1080,512,99,120,10243,10247,121,59,32768,1077,99,108,33024,161,59,32768,161,512,102,114,10259,10262,59,32768,8660,59,32896,55349,56614,114,97,118,101,33024,236,59,32768,236,1024,59,105,110,111,10284,10286,10300,10306,32768,8520,512,105,110,10291,10296,110,116,59,32768,10764,116,59,32768,8749,102,105,110,59,32768,10716,116,97,59,32768,8489,108,105,103,59,32768,307,768,97,111,112,10324,10361,10365,768,99,103,116,10331,10335,10357,114,59,32768,299,768,101,108,112,10342,10345,10351,59,32768,8465,105,110,101,59,32768,8464,97,114,116,59,32768,8465,104,59,32768,305,102,59,32768,8887,101,100,59,32768,437,1280,59,99,102,111,116,10381,10383,10389,10403,10409,32768,8712,97,114,101,59,32768,8453,105,110,512,59,116,10396,10398,32768,8734,105,101,59,32768,10717,100,111,116,59,32768,305,1280,59,99,101,108,112,10420,10422,10427,10444,10451,32768,8747,97,108,59,32768,8890,512,103,114,10432,10438,101,114,115,59,32768,8484,99,97,108,59,32768,8890,97,114,104,107,59,32768,10775,114,111,100,59,32768,10812,1024,99,103,112,116,10466,10470,10475,10480,121,59,32768,1105,111,110,59,32768,303,102,59,32896,55349,56666,97,59,32768,953,114,111,100,59,32768,10812,117,101,115,116,33024,191,59,32768,191,512,99,105,10504,10509,114,59,32896,55349,56510,110,1280,59,69,100,115,118,10521,10523,10526,10531,10541,32768,8712,59,32768,8953,111,116,59,32768,8949,512,59,118,10536,10538,32768,8948,59,32768,8947,59,32768,8712,512,59,105,10549,10551,32768,8290,108,100,101,59,32768,297,828,10562,0,10567,99,121,59,32768,1110,108,33024,239,59,32768,239,1536,99,102,109,111,115,117,10585,10598,10603,10609,10615,10630,512,105,121,10590,10595,114,99,59,32768,309,59,32768,1081,114,59,32896,55349,56615,97,116,104,59,32768,567,112,102,59,32896,55349,56667,820,10620,0,10625,114,59,32896,55349,56511,114,99,121,59,32768,1112,107,99,121,59,32768,1108,2048,97,99,102,103,104,106,111,115,10653,10666,10680,10685,10692,10697,10702,10708,112,112,97,512,59,118,10661,10663,32768,954,59,32768,1008,512,101,121,10671,10677,100,105,108,59,32768,311,59,32768,1082,114,59,32896,55349,56616,114,101,101,110,59,32768,312,99,121,59,32768,1093,99,121,59,32768,1116,112,102,59,32896,55349,56668,99,114,59,32896,55349,56512,5888,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,10761,10783,10789,10799,10804,10957,11011,11047,11094,11349,11372,11382,11409,11414,11451,11478,11526,11698,11711,11755,11823,11910,11929,768,97,114,116,10768,10773,10777,114,114,59,32768,8666,114,59,32768,8656,97,105,108,59,32768,10523,97,114,114,59,32768,10510,512,59,103,10794,10796,32768,8806,59,32768,10891,97,114,59,32768,10594,4660,10824,0,10830,0,10838,0,0,0,0,0,10844,10850,0,10867,10870,10877,0,10933,117,116,101,59,32768,314,109,112,116,121,118,59,32768,10676,114,97,110,59,32768,8466,98,100,97,59,32768,955,103,768,59,100,108,10857,10859,10862,32768,10216,59,32768,10641,101,59,32768,10216,59,32768,10885,117,111,33024,171,59,32768,171,114,2048,59,98,102,104,108,112,115,116,10894,10896,10907,10911,10915,10919,10923,10928,32768,8592,512,59,102,10901,10903,32768,8676,115,59,32768,10527,115,59,32768,10525,107,59,32768,8617,112,59,32768,8619,108,59,32768,10553,105,109,59,32768,10611,108,59,32768,8610,768,59,97,101,10939,10941,10946,32768,10923,105,108,59,32768,10521,512,59,115,10951,10953,32768,10925,59,32896,10925,65024,768,97,98,114,10964,10969,10974,114,114,59,32768,10508,114,107,59,32768,10098,512,97,107,10979,10991,99,512,101,107,10985,10988,59,32768,123,59,32768,91,512,101,115,10996,10999,59,32768,10635,108,512,100,117,11005,11008,59,32768,10639,59,32768,10637,1024,97,101,117,121,11020,11026,11040,11044,114,111,110,59,32768,318,512,100,105,11031,11036,105,108,59,32768,316,108,59,32768,8968,98,59,32768,123,59,32768,1083,1024,99,113,114,115,11056,11060,11072,11090,97,59,32768,10550,117,111,512,59,114,11067,11069,32768,8220,59,32768,8222,512,100,117,11077,11083,104,97,114,59,32768,10599,115,104,97,114,59,32768,10571,104,59,32768,8626,1280,59,102,103,113,115,11105,11107,11228,11231,11250,32768,8804,116,1280,97,104,108,114,116,11119,11136,11157,11169,11216,114,114,111,119,512,59,116,11128,11130,32768,8592,97,105,108,59,32768,8610,97,114,112,111,111,110,512,100,117,11147,11153,111,119,110,59,32768,8637,112,59,32768,8636,101,102,116,97,114,114,111,119,115,59,32768,8647,105,103,104,116,768,97,104,115,11180,11194,11204,114,114,111,119,512,59,115,11189,11191,32768,8596,59,32768,8646,97,114,112,111,111,110,115,59,32768,8651,113,117,105,103,97,114,114,111,119,59,32768,8621,104,114,101,101,116,105,109,101,115,59,32768,8907,59,32768,8922,768,59,113,115,11238,11240,11243,32768,8804,59,32768,8806,108,97,110,116,59,32768,10877,1280,59,99,100,103,115,11261,11263,11267,11286,11298,32768,10877,99,59,32768,10920,111,116,512,59,111,11274,11276,32768,10879,512,59,114,11281,11283,32768,10881,59,32768,10883,512,59,101,11291,11294,32896,8922,65024,115,59,32768,10899,1280,97,100,101,103,115,11309,11317,11322,11339,11344,112,112,114,111,120,59,32768,10885,111,116,59,32768,8918,113,512,103,113,11328,11333,116,114,59,32768,8922,103,116,114,59,32768,10891,116,114,59,32768,8822,105,109,59,32768,8818,768,105,108,114,11356,11362,11368,115,104,116,59,32768,10620,111,111,114,59,32768,8970,59,32896,55349,56617,512,59,69,11377,11379,32768,8822,59,32768,10897,562,11386,11405,114,512,100,117,11391,11394,59,32768,8637,512,59,108,11399,11401,32768,8636,59,32768,10602,108,107,59,32768,9604,99,121,59,32768,1113,1280,59,97,99,104,116,11425,11427,11432,11440,11446,32768,8810,114,114,59,32768,8647,111,114,110,101,114,59,32768,8990,97,114,100,59,32768,10603,114,105,59,32768,9722,512,105,111,11456,11462,100,111,116,59,32768,320,117,115,116,512,59,97,11470,11472,32768,9136,99,104,101,59,32768,9136,1024,69,97,101,115,11487,11490,11504,11521,59,32768,8808,112,512,59,112,11496,11498,32768,10889,114,111,120,59,32768,10889,512,59,113,11509,11511,32768,10887,512,59,113,11516,11518,32768,10887,59,32768,8808,105,109,59,32768,8934,2048,97,98,110,111,112,116,119,122,11543,11556,11561,11616,11640,11660,11667,11680,512,110,114,11548,11552,103,59,32768,10220,114,59,32768,8701,114,107,59,32768,10214,103,768,108,109,114,11569,11596,11604,101,102,116,512,97,114,11577,11584,114,114,111,119,59,32768,10229,105,103,104,116,97,114,114,111,119,59,32768,10231,97,112,115,116,111,59,32768,10236,105,103,104,116,97,114,114,111,119,59,32768,10230,112,97,114,114,111,119,512,108,114,11627,11633,101,102,116,59,32768,8619,105,103,104,116,59,32768,8620,768,97,102,108,11647,11651,11655,114,59,32768,10629,59,32896,55349,56669,117,115,59,32768,10797,105,109,101,115,59,32768,10804,562,11671,11676,115,116,59,32768,8727,97,114,59,32768,95,768,59,101,102,11687,11689,11695,32768,9674,110,103,101,59,32768,9674,59,32768,10731,97,114,512,59,108,11705,11707,32768,40,116,59,32768,10643,1280,97,99,104,109,116,11722,11727,11735,11747,11750,114,114,59,32768,8646,111,114,110,101,114,59,32768,8991,97,114,512,59,100,11742,11744,32768,8651,59,32768,10605,59,32768,8206,114,105,59,32768,8895,1536,97,99,104,105,113,116,11768,11774,11779,11782,11798,11817,113,117,111,59,32768,8249,114,59,32896,55349,56513,59,32768,8624,109,768,59,101,103,11790,11792,11795,32768,8818,59,32768,10893,59,32768,10895,512,98,117,11803,11806,59,32768,91,111,512,59,114,11812,11814,32768,8216,59,32768,8218,114,111,107,59,32768,322,34816,60,59,99,100,104,105,108,113,114,11841,11843,11855,11860,11866,11872,11878,11885,32768,60,512,99,105,11848,11851,59,32768,10918,114,59,32768,10873,111,116,59,32768,8918,114,101,101,59,32768,8907,109,101,115,59,32768,8905,97,114,114,59,32768,10614,117,101,115,116,59,32768,10875,512,80,105,11890,11895,97,114,59,32768,10646,768,59,101,102,11902,11904,11907,32768,9667,59,32768,8884,59,32768,9666,114,512,100,117,11916,11923,115,104,97,114,59,32768,10570,104,97,114,59,32768,10598,512,101,110,11934,11944,114,116,110,101,113,113,59,32896,8808,65024,69,59,32896,8808,65024,3584,68,97,99,100,101,102,104,105,108,110,111,112,115,117,11978,11984,12061,12075,12081,12095,12100,12104,12170,12181,12188,12204,12207,12223,68,111,116,59,32768,8762,1024,99,108,112,114,11993,11999,12019,12055,114,33024,175,59,32768,175,512,101,116,12004,12007,59,32768,9794,512,59,101,12012,12014,32768,10016,115,101,59,32768,10016,512,59,115,12024,12026,32768,8614,116,111,1024,59,100,108,117,12037,12039,12045,12051,32768,8614,111,119,110,59,32768,8615,101,102,116,59,32768,8612,112,59,32768,8613,107,101,114,59,32768,9646,512,111,121,12066,12072,109,109,97,59,32768,10793,59,32768,1084,97,115,104,59,32768,8212,97,115,117,114,101,100,97,110,103,108,101,59,32768,8737,114,59,32896,55349,56618,111,59,32768,8487,768,99,100,110,12111,12118,12146,114,111,33024,181,59,32768,181,1024,59,97,99,100,12127,12129,12134,12139,32768,8739,115,116,59,32768,42,105,114,59,32768,10992,111,116,33024,183,59,32768,183,117,115,768,59,98,100,12155,12157,12160,32768,8722,59,32768,8863,512,59,117,12165,12167,32768,8760,59,32768,10794,564,12174,12178,112,59,32768,10971,114,59,32768,8230,112,108,117,115,59,32768,8723,512,100,112,12193,12199,101,108,115,59,32768,8871,102,59,32896,55349,56670,59,32768,8723,512,99,116,12212,12217,114,59,32896,55349,56514,112,111,115,59,32768,8766,768,59,108,109,12230,12232,12240,32768,956,116,105,109,97,112,59,32768,8888,97,112,59,32768,8888,6144,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,12294,12315,12364,12376,12393,12472,12496,12547,12553,12636,12641,12703,12725,12747,12752,12876,12881,12957,13033,13089,13294,13359,13384,13499,512,103,116,12299,12303,59,32896,8921,824,512,59,118,12308,12311,32896,8811,8402,59,32896,8811,824,768,101,108,116,12322,12348,12352,102,116,512,97,114,12329,12336,114,114,111,119,59,32768,8653,105,103,104,116,97,114,114,111,119,59,32768,8654,59,32896,8920,824,512,59,118,12357,12360,32896,8810,8402,59,32896,8810,824,105,103,104,116,97,114,114,111,119,59,32768,8655,512,68,100,12381,12387,97,115,104,59,32768,8879,97,115,104,59,32768,8878,1280,98,99,110,112,116,12404,12409,12415,12420,12452,108,97,59,32768,8711,117,116,101,59,32768,324,103,59,32896,8736,8402,1280,59,69,105,111,112,12431,12433,12437,12442,12446,32768,8777,59,32896,10864,824,100,59,32896,8779,824,115,59,32768,329,114,111,120,59,32768,8777,117,114,512,59,97,12459,12461,32768,9838,108,512,59,115,12467,12469,32768,9838,59,32768,8469,836,12477,0,12483,112,33024,160,59,32768,160,109,112,512,59,101,12489,12492,32896,8782,824,59,32896,8783,824,1280,97,101,111,117,121,12507,12519,12525,12540,12544,833,12512,0,12515,59,32768,10819,111,110,59,32768,328,100,105,108,59,32768,326,110,103,512,59,100,12532,12534,32768,8775,111,116,59,32896,10861,824,112,59,32768,10818,59,32768,1085,97,115,104,59,32768,8211,1792,59,65,97,100,113,115,120,12568,12570,12575,12596,12602,12608,12623,32768,8800,114,114,59,32768,8663,114,512,104,114,12581,12585,107,59,32768,10532,512,59,111,12590,12592,32768,8599,119,59,32768,8599,111,116,59,32896,8784,824,117,105,118,59,32768,8802,512,101,105,12613,12618,97,114,59,32768,10536,109,59,32896,8770,824,105,115,116,512,59,115,12631,12633,32768,8708,59,32768,8708,114,59,32896,55349,56619,1024,69,101,115,116,12650,12654,12688,12693,59,32896,8807,824,768,59,113,115,12661,12663,12684,32768,8817,768,59,113,115,12670,12672,12676,32768,8817,59,32896,8807,824,108,97,110,116,59,32896,10878,824,59,32896,10878,824,105,109,59,32768,8821,512,59,114,12698,12700,32768,8815,59,32768,8815,768,65,97,112,12710,12715,12720,114,114,59,32768,8654,114,114,59,32768,8622,97,114,59,32768,10994,768,59,115,118,12732,12734,12744,32768,8715,512,59,100,12739,12741,32768,8956,59,32768,8954,59,32768,8715,99,121,59,32768,1114,1792,65,69,97,100,101,115,116,12767,12772,12776,12781,12785,12853,12858,114,114,59,32768,8653,59,32896,8806,824,114,114,59,32768,8602,114,59,32768,8229,1024,59,102,113,115,12794,12796,12821,12842,32768,8816,116,512,97,114,12802,12809,114,114,111,119,59,32768,8602,105,103,104,116,97,114,114,111,119,59,32768,8622,768,59,113,115,12828,12830,12834,32768,8816,59,32896,8806,824,108,97,110,116,59,32896,10877,824,512,59,115,12847,12850,32896,10877,824,59,32768,8814,105,109,59,32768,8820,512,59,114,12863,12865,32768,8814,105,512,59,101,12871,12873,32768,8938,59,32768,8940,105,100,59,32768,8740,512,112,116,12886,12891,102,59,32896,55349,56671,33536,172,59,105,110,12899,12901,12936,32768,172,110,1024,59,69,100,118,12911,12913,12917,12923,32768,8713,59,32896,8953,824,111,116,59,32896,8949,824,818,12928,12931,12934,59,32768,8713,59,32768,8951,59,32768,8950,105,512,59,118,12942,12944,32768,8716,818,12949,12952,12955,59,32768,8716,59,32768,8958,59,32768,8957,768,97,111,114,12964,12992,12999,114,1024,59,97,115,116,12974,12976,12983,12988,32768,8742,108,108,101,108,59,32768,8742,108,59,32896,11005,8421,59,32896,8706,824,108,105,110,116,59,32768,10772,768,59,99,101,13006,13008,13013,32768,8832,117,101,59,32768,8928,512,59,99,13018,13021,32896,10927,824,512,59,101,13026,13028,32768,8832,113,59,32896,10927,824,1024,65,97,105,116,13042,13047,13066,13077,114,114,59,32768,8655,114,114,768,59,99,119,13056,13058,13062,32768,8603,59,32896,10547,824,59,32896,8605,824,103,104,116,97,114,114,111,119,59,32768,8603,114,105,512,59,101,13084,13086,32768,8939,59,32768,8941,1792,99,104,105,109,112,113,117,13104,13128,13151,13169,13174,13179,13194,1024,59,99,101,114,13113,13115,13120,13124,32768,8833,117,101,59,32768,8929,59,32896,10928,824,59,32896,55349,56515,111,114,116,1086,13137,0,0,13142,105,100,59,32768,8740,97,114,97,108,108,101,108,59,32768,8742,109,512,59,101,13157,13159,32768,8769,512,59,113,13164,13166,32768,8772,59,32768,8772,105,100,59,32768,8740,97,114,59,32768,8742,115,117,512,98,112,13186,13190,101,59,32768,8930,101,59,32768,8931,768,98,99,112,13201,13241,13254,1024,59,69,101,115,13210,13212,13216,13219,32768,8836,59,32896,10949,824,59,32768,8840,101,116,512,59,101,13226,13229,32896,8834,8402,113,512,59,113,13235,13237,32768,8840,59,32896,10949,824,99,512,59,101,13247,13249,32768,8833,113,59,32896,10928,824,1024,59,69,101,115,13263,13265,13269,13272,32768,8837,59,32896,10950,824,59,32768,8841,101,116,512,59,101,13279,13282,32896,8835,8402,113,512,59,113,13288,13290,32768,8841,59,32896,10950,824,1024,103,105,108,114,13303,13307,13315,13319,108,59,32768,8825,108,100,101,33024,241,59,32768,241,103,59,32768,8824,105,97,110,103,108,101,512,108,114,13330,13344,101,102,116,512,59,101,13338,13340,32768,8938,113,59,32768,8940,105,103,104,116,512,59,101,13353,13355,32768,8939,113,59,32768,8941,512,59,109,13364,13366,32768,957,768,59,101,115,13373,13375,13380,32768,35,114,111,59,32768,8470,112,59,32768,8199,2304,68,72,97,100,103,105,108,114,115,13403,13409,13415,13420,13426,13439,13446,13476,13493,97,115,104,59,32768,8877,97,114,114,59,32768,10500,112,59,32896,8781,8402,97,115,104,59,32768,8876,512,101,116,13431,13435,59,32896,8805,8402,59,32896,62,8402,110,102,105,110,59,32768,10718,768,65,101,116,13453,13458,13462,114,114,59,32768,10498,59,32896,8804,8402,512,59,114,13467,13470,32896,60,8402,105,101,59,32896,8884,8402,512,65,116,13481,13486,114,114,59,32768,10499,114,105,101,59,32896,8885,8402,105,109,59,32896,8764,8402,768,65,97,110,13506,13511,13532,114,114,59,32768,8662,114,512,104,114,13517,13521,107,59,32768,10531,512,59,111,13526,13528,32768,8598,119,59,32768,8598,101,97,114,59,32768,10535,9252,13576,0,0,0,0,0,0,0,0,0,0,0,0,0,13579,0,13596,13617,13653,13659,13673,13695,13708,0,0,13713,13750,0,13788,13794,0,13815,13890,13913,13937,13944,59,32768,9416,512,99,115,13583,13591,117,116,101,33024,243,59,32768,243,116,59,32768,8859,512,105,121,13600,13613,114,512,59,99,13606,13608,32768,8858,33024,244,59,32768,244,59,32768,1086,1280,97,98,105,111,115,13627,13632,13638,13642,13646,115,104,59,32768,8861,108,97,99,59,32768,337,118,59,32768,10808,116,59,32768,8857,111,108,100,59,32768,10684,108,105,103,59,32768,339,512,99,114,13663,13668,105,114,59,32768,10687,59,32896,55349,56620,1600,13680,0,0,13684,0,13692,110,59,32768,731,97,118,101,33024,242,59,32768,242,59,32768,10689,512,98,109,13699,13704,97,114,59,32768,10677,59,32768,937,110,116,59,32768,8750,1024,97,99,105,116,13721,13726,13741,13746,114,114,59,32768,8634,512,105,114,13731,13735,114,59,32768,10686,111,115,115,59,32768,10683,110,101,59,32768,8254,59,32768,10688,768,97,101,105,13756,13761,13766,99,114,59,32768,333,103,97,59,32768,969,768,99,100,110,13773,13779,13782,114,111,110,59,32768,959,59,32768,10678,117,115,59,32768,8854,112,102,59,32896,55349,56672,768,97,101,108,13800,13804,13809,114,59,32768,10679,114,112,59,32768,10681,117,115,59,32768,8853,1792,59,97,100,105,111,115,118,13829,13831,13836,13869,13875,13879,13886,32768,8744,114,114,59,32768,8635,1024,59,101,102,109,13845,13847,13859,13864,32768,10845,114,512,59,111,13853,13855,32768,8500,102,59,32768,8500,33024,170,59,32768,170,33024,186,59,32768,186,103,111,102,59,32768,8886,114,59,32768,10838,108,111,112,101,59,32768,10839,59,32768,10843,768,99,108,111,13896,13900,13908,114,59,32768,8500,97,115,104,33024,248,59,32768,248,108,59,32768,8856,105,573,13917,13924,100,101,33024,245,59,32768,245,101,115,512,59,97,13930,13932,32768,8855,115,59,32768,10806,109,108,33024,246,59,32768,246,98,97,114,59,32768,9021,5426,13972,0,14013,0,14017,14053,0,14058,14086,0,0,14107,14199,0,14202,0,0,14229,14425,0,14438,114,1024,59,97,115,116,13981,13983,13997,14009,32768,8741,33280,182,59,108,13989,13991,32768,182,108,101,108,59,32768,8741,1082,14003,0,0,14007,109,59,32768,10995,59,32768,11005,59,32768,8706,121,59,32768,1087,114,1280,99,105,109,112,116,14028,14033,14038,14043,14046,110,116,59,32768,37,111,100,59,32768,46,105,108,59,32768,8240,59,32768,8869,101,110,107,59,32768,8241,114,59,32896,55349,56621,768,105,109,111,14064,14074,14080,512,59,118,14069,14071,32768,966,59,32768,981,109,97,116,59,32768,8499,110,101,59,32768,9742,768,59,116,118,14092,14094,14103,32768,960,99,104,102,111,114,107,59,32768,8916,59,32768,982,512,97,117,14111,14132,110,512,99,107,14117,14128,107,512,59,104,14123,14125,32768,8463,59,32768,8462,118,59,32768,8463,115,2304,59,97,98,99,100,101,109,115,116,14152,14154,14160,14163,14168,14179,14182,14188,14193,32768,43,99,105,114,59,32768,10787,59,32768,8862,105,114,59,32768,10786,512,111,117,14173,14176,59,32768,8724,59,32768,10789,59,32768,10866,110,33024,177,59,32768,177,105,109,59,32768,10790,119,111,59,32768,10791,59,32768,177,768,105,112,117,14208,14216,14221,110,116,105,110,116,59,32768,10773,102,59,32896,55349,56673,110,100,33024,163,59,32768,163,2560,59,69,97,99,101,105,110,111,115,117,14249,14251,14254,14258,14263,14336,14348,14367,14413,14418,32768,8826,59,32768,10931,112,59,32768,10935,117,101,59,32768,8828,512,59,99,14268,14270,32768,10927,1536,59,97,99,101,110,115,14283,14285,14293,14302,14306,14331,32768,8826,112,112,114,111,120,59,32768,10935,117,114,108,121,101,113,59,32768,8828,113,59,32768,10927,768,97,101,115,14313,14321,14326,112,112,114,111,120,59,32768,10937,113,113,59,32768,10933,105,109,59,32768,8936,105,109,59,32768,8830,109,101,512,59,115,14343,14345,32768,8242,59,32768,8473,768,69,97,115,14355,14358,14362,59,32768,10933,112,59,32768,10937,105,109,59,32768,8936,768,100,102,112,14374,14377,14402,59,32768,8719,768,97,108,115,14384,14390,14396,108,97,114,59,32768,9006,105,110,101,59,32768,8978,117,114,102,59,32768,8979,512,59,116,14407,14409,32768,8733,111,59,32768,8733,105,109,59,32768,8830,114,101,108,59,32768,8880,512,99,105,14429,14434,114,59,32896,55349,56517,59,32768,968,110,99,115,112,59,32768,8200,1536,102,105,111,112,115,117,14457,14462,14467,14473,14480,14486,114,59,32896,55349,56622,110,116,59,32768,10764,112,102,59,32896,55349,56674,114,105,109,101,59,32768,8279,99,114,59,32896,55349,56518,768,97,101,111,14493,14513,14526,116,512,101,105,14499,14508,114,110,105,111,110,115,59,32768,8461,110,116,59,32768,10774,115,116,512,59,101,14520,14522,32768,63,113,59,32768,8799,116,33024,34,59,32768,34,5376,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,14575,14597,14603,14608,14775,14829,14865,14901,14943,14966,15e3,15139,15159,15176,15182,15236,15261,15267,15309,15352,15360,768,97,114,116,14582,14587,14591,114,114,59,32768,8667,114,59,32768,8658,97,105,108,59,32768,10524,97,114,114,59,32768,10511,97,114,59,32768,10596,1792,99,100,101,110,113,114,116,14623,14637,14642,14650,14672,14679,14751,512,101,117,14628,14632,59,32896,8765,817,116,101,59,32768,341,105,99,59,32768,8730,109,112,116,121,118,59,32768,10675,103,1024,59,100,101,108,14660,14662,14665,14668,32768,10217,59,32768,10642,59,32768,10661,101,59,32768,10217,117,111,33024,187,59,32768,187,114,2816,59,97,98,99,102,104,108,112,115,116,119,14703,14705,14709,14720,14723,14727,14731,14735,14739,14744,14748,32768,8594,112,59,32768,10613,512,59,102,14714,14716,32768,8677,115,59,32768,10528,59,32768,10547,115,59,32768,10526,107,59,32768,8618,112,59,32768,8620,108,59,32768,10565,105,109,59,32768,10612,108,59,32768,8611,59,32768,8605,512,97,105,14756,14761,105,108,59,32768,10522,111,512,59,110,14767,14769,32768,8758,97,108,115,59,32768,8474,768,97,98,114,14782,14787,14792,114,114,59,32768,10509,114,107,59,32768,10099,512,97,107,14797,14809,99,512,101,107,14803,14806,59,32768,125,59,32768,93,512,101,115,14814,14817,59,32768,10636,108,512,100,117,14823,14826,59,32768,10638,59,32768,10640,1024,97,101,117,121,14838,14844,14858,14862,114,111,110,59,32768,345,512,100,105,14849,14854,105,108,59,32768,343,108,59,32768,8969,98,59,32768,125,59,32768,1088,1024,99,108,113,115,14874,14878,14885,14897,97,59,32768,10551,100,104,97,114,59,32768,10601,117,111,512,59,114,14892,14894,32768,8221,59,32768,8221,104,59,32768,8627,768,97,99,103,14908,14934,14938,108,1024,59,105,112,115,14918,14920,14925,14931,32768,8476,110,101,59,32768,8475,97,114,116,59,32768,8476,59,32768,8477,116,59,32768,9645,33024,174,59,32768,174,768,105,108,114,14950,14956,14962,115,104,116,59,32768,10621,111,111,114,59,32768,8971,59,32896,55349,56623,512,97,111,14971,14990,114,512,100,117,14977,14980,59,32768,8641,512,59,108,14985,14987,32768,8640,59,32768,10604,512,59,118,14995,14997,32768,961,59,32768,1009,768,103,110,115,15007,15123,15127,104,116,1536,97,104,108,114,115,116,15022,15039,15060,15086,15099,15111,114,114,111,119,512,59,116,15031,15033,32768,8594,97,105,108,59,32768,8611,97,114,112,111,111,110,512,100,117,15050,15056,111,119,110,59,32768,8641,112,59,32768,8640,101,102,116,512,97,104,15068,15076,114,114,111,119,115,59,32768,8644,97,114,112,111,111,110,115,59,32768,8652,105,103,104,116,97,114,114,111,119,115,59,32768,8649,113,117,105,103,97,114,114,111,119,59,32768,8605,104,114,101,101,116,105,109,101,115,59,32768,8908,103,59,32768,730,105,110,103,100,111,116,115,101,113,59,32768,8787,768,97,104,109,15146,15151,15156,114,114,59,32768,8644,97,114,59,32768,8652,59,32768,8207,111,117,115,116,512,59,97,15168,15170,32768,9137,99,104,101,59,32768,9137,109,105,100,59,32768,10990,1024,97,98,112,116,15191,15204,15209,15229,512,110,114,15196,15200,103,59,32768,10221,114,59,32768,8702,114,107,59,32768,10215,768,97,102,108,15216,15220,15224,114,59,32768,10630,59,32896,55349,56675,117,115,59,32768,10798,105,109,101,115,59,32768,10805,512,97,112,15241,15253,114,512,59,103,15247,15249,32768,41,116,59,32768,10644,111,108,105,110,116,59,32768,10770,97,114,114,59,32768,8649,1024,97,99,104,113,15276,15282,15287,15290,113,117,111,59,32768,8250,114,59,32896,55349,56519,59,32768,8625,512,98,117,15295,15298,59,32768,93,111,512,59,114,15304,15306,32768,8217,59,32768,8217,768,104,105,114,15316,15322,15328,114,101,101,59,32768,8908,109,101,115,59,32768,8906,105,1024,59,101,102,108,15338,15340,15343,15346,32768,9657,59,32768,8885,59,32768,9656,116,114,105,59,32768,10702,108,117,104,97,114,59,32768,10600,59,32768,8478,6706,15391,15398,15404,15499,15516,15592,0,15606,15660,0,0,15752,15758,0,15827,15863,15886,16e3,16006,16038,16086,0,16467,0,0,16506,99,117,116,101,59,32768,347,113,117,111,59,32768,8218,2560,59,69,97,99,101,105,110,112,115,121,15424,15426,15429,15441,15446,15458,15463,15482,15490,15495,32768,8827,59,32768,10932,833,15434,0,15437,59,32768,10936,111,110,59,32768,353,117,101,59,32768,8829,512,59,100,15451,15453,32768,10928,105,108,59,32768,351,114,99,59,32768,349,768,69,97,115,15470,15473,15477,59,32768,10934,112,59,32768,10938,105,109,59,32768,8937,111,108,105,110,116,59,32768,10771,105,109,59,32768,8831,59,32768,1089,111,116,768,59,98,101,15507,15509,15512,32768,8901,59,32768,8865,59,32768,10854,1792,65,97,99,109,115,116,120,15530,15535,15556,15562,15566,15572,15587,114,114,59,32768,8664,114,512,104,114,15541,15545,107,59,32768,10533,512,59,111,15550,15552,32768,8600,119,59,32768,8600,116,33024,167,59,32768,167,105,59,32768,59,119,97,114,59,32768,10537,109,512,105,110,15578,15584,110,117,115,59,32768,8726,59,32768,8726,116,59,32768,10038,114,512,59,111,15597,15600,32896,55349,56624,119,110,59,32768,8994,1024,97,99,111,121,15614,15619,15632,15654,114,112,59,32768,9839,512,104,121,15624,15629,99,121,59,32768,1097,59,32768,1096,114,116,1086,15640,0,0,15645,105,100,59,32768,8739,97,114,97,108,108,101,108,59,32768,8741,33024,173,59,32768,173,512,103,109,15664,15681,109,97,768,59,102,118,15673,15675,15678,32768,963,59,32768,962,59,32768,962,2048,59,100,101,103,108,110,112,114,15698,15700,15705,15715,15725,15735,15739,15745,32768,8764,111,116,59,32768,10858,512,59,113,15710,15712,32768,8771,59,32768,8771,512,59,69,15720,15722,32768,10910,59,32768,10912,512,59,69,15730,15732,32768,10909,59,32768,10911,101,59,32768,8774,108,117,115,59,32768,10788,97,114,114,59,32768,10610,97,114,114,59,32768,8592,1024,97,101,105,116,15766,15788,15796,15808,512,108,115,15771,15783,108,115,101,116,109,105,110,117,115,59,32768,8726,104,112,59,32768,10803,112,97,114,115,108,59,32768,10724,512,100,108,15801,15804,59,32768,8739,101,59,32768,8995,512,59,101,15813,15815,32768,10922,512,59,115,15820,15822,32768,10924,59,32896,10924,65024,768,102,108,112,15833,15839,15857,116,99,121,59,32768,1100,512,59,98,15844,15846,32768,47,512,59,97,15851,15853,32768,10692,114,59,32768,9023,102,59,32896,55349,56676,97,512,100,114,15868,15882,101,115,512,59,117,15875,15877,32768,9824,105,116,59,32768,9824,59,32768,8741,768,99,115,117,15892,15921,15977,512,97,117,15897,15909,112,512,59,115,15903,15905,32768,8851,59,32896,8851,65024,112,512,59,115,15915,15917,32768,8852,59,32896,8852,65024,117,512,98,112,15927,15952,768,59,101,115,15934,15936,15939,32768,8847,59,32768,8849,101,116,512,59,101,15946,15948,32768,8847,113,59,32768,8849,768,59,101,115,15959,15961,15964,32768,8848,59,32768,8850,101,116,512,59,101,15971,15973,32768,8848,113,59,32768,8850,768,59,97,102,15984,15986,15996,32768,9633,114,566,15991,15994,59,32768,9633,59,32768,9642,59,32768,9642,97,114,114,59,32768,8594,1024,99,101,109,116,16014,16019,16025,16031,114,59,32896,55349,56520,116,109,110,59,32768,8726,105,108,101,59,32768,8995,97,114,102,59,32768,8902,512,97,114,16042,16053,114,512,59,102,16048,16050,32768,9734,59,32768,9733,512,97,110,16058,16081,105,103,104,116,512,101,112,16067,16076,112,115,105,108,111,110,59,32768,1013,104,105,59,32768,981,115,59,32768,175,1280,98,99,109,110,112,16096,16221,16288,16291,16295,2304,59,69,100,101,109,110,112,114,115,16115,16117,16120,16125,16137,16143,16154,16160,16166,32768,8834,59,32768,10949,111,116,59,32768,10941,512,59,100,16130,16132,32768,8838,111,116,59,32768,10947,117,108,116,59,32768,10945,512,69,101,16148,16151,59,32768,10955,59,32768,8842,108,117,115,59,32768,10943,97,114,114,59,32768,10617,768,101,105,117,16173,16206,16210,116,768,59,101,110,16181,16183,16194,32768,8834,113,512,59,113,16189,16191,32768,8838,59,32768,10949,101,113,512,59,113,16201,16203,32768,8842,59,32768,10955,109,59,32768,10951,512,98,112,16215,16218,59,32768,10965,59,32768,10963,99,1536,59,97,99,101,110,115,16235,16237,16245,16254,16258,16283,32768,8827,112,112,114,111,120,59,32768,10936,117,114,108,121,101,113,59,32768,8829,113,59,32768,10928,768,97,101,115,16265,16273,16278,112,112,114,111,120,59,32768,10938,113,113,59,32768,10934,105,109,59,32768,8937,105,109,59,32768,8831,59,32768,8721,103,59,32768,9834,3328,49,50,51,59,69,100,101,104,108,109,110,112,115,16322,16327,16332,16337,16339,16342,16356,16368,16382,16388,16394,16405,16411,33024,185,59,32768,185,33024,178,59,32768,178,33024,179,59,32768,179,32768,8835,59,32768,10950,512,111,115,16347,16351,116,59,32768,10942,117,98,59,32768,10968,512,59,100,16361,16363,32768,8839,111,116,59,32768,10948,115,512,111,117,16374,16378,108,59,32768,10185,98,59,32768,10967,97,114,114,59,32768,10619,117,108,116,59,32768,10946,512,69,101,16399,16402,59,32768,10956,59,32768,8843,108,117,115,59,32768,10944,768,101,105,117,16418,16451,16455,116,768,59,101,110,16426,16428,16439,32768,8835,113,512,59,113,16434,16436,32768,8839,59,32768,10950,101,113,512,59,113,16446,16448,32768,8843,59,32768,10956,109,59,32768,10952,512,98,112,16460,16463,59,32768,10964,59,32768,10966,768,65,97,110,16473,16478,16499,114,114,59,32768,8665,114,512,104,114,16484,16488,107,59,32768,10534,512,59,111,16493,16495,32768,8601,119,59,32768,8601,119,97,114,59,32768,10538,108,105,103,33024,223,59,32768,223,5938,16538,16552,16557,16579,16584,16591,0,16596,16692,0,0,0,0,0,16731,16780,0,16787,16908,0,0,0,16938,1091,16543,0,0,16549,103,101,116,59,32768,8982,59,32768,964,114,107,59,32768,9140,768,97,101,121,16563,16569,16575,114,111,110,59,32768,357,100,105,108,59,32768,355,59,32768,1090,111,116,59,32768,8411,108,114,101,99,59,32768,8981,114,59,32896,55349,56625,1024,101,105,107,111,16604,16641,16670,16684,835,16609,0,16624,101,512,52,102,16614,16617,59,32768,8756,111,114,101,59,32768,8756,97,768,59,115,118,16631,16633,16638,32768,952,121,109,59,32768,977,59,32768,977,512,99,110,16646,16665,107,512,97,115,16652,16660,112,112,114,111,120,59,32768,8776,105,109,59,32768,8764,115,112,59,32768,8201,512,97,115,16675,16679,112,59,32768,8776,105,109,59,32768,8764,114,110,33024,254,59,32768,254,829,16696,16701,16727,100,101,59,32768,732,101,115,33536,215,59,98,100,16710,16712,16723,32768,215,512,59,97,16717,16719,32768,8864,114,59,32768,10801,59,32768,10800,116,59,32768,8749,768,101,112,115,16737,16741,16775,97,59,32768,10536,1024,59,98,99,102,16750,16752,16757,16762,32768,8868,111,116,59,32768,9014,105,114,59,32768,10993,512,59,111,16767,16770,32896,55349,56677,114,107,59,32768,10970,97,59,32768,10537,114,105,109,101,59,32768,8244,768,97,105,112,16793,16798,16899,100,101,59,32768,8482,1792,97,100,101,109,112,115,116,16813,16868,16873,16876,16883,16889,16893,110,103,108,101,1280,59,100,108,113,114,16828,16830,16836,16850,16853,32768,9653,111,119,110,59,32768,9663,101,102,116,512,59,101,16844,16846,32768,9667,113,59,32768,8884,59,32768,8796,105,103,104,116,512,59,101,16862,16864,32768,9657,113,59,32768,8885,111,116,59,32768,9708,59,32768,8796,105,110,117,115,59,32768,10810,108,117,115,59,32768,10809,98,59,32768,10701,105,109,101,59,32768,10811,101,122,105,117,109,59,32768,9186,768,99,104,116,16914,16926,16931,512,114,121,16919,16923,59,32896,55349,56521,59,32768,1094,99,121,59,32768,1115,114,111,107,59,32768,359,512,105,111,16942,16947,120,116,59,32768,8812,104,101,97,100,512,108,114,16956,16967,101,102,116,97,114,114,111,119,59,32768,8606,105,103,104,116,97,114,114,111,119,59,32768,8608,4608,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,17016,17021,17026,17043,17057,17072,17095,17110,17119,17139,17172,17187,17202,17290,17330,17336,17365,17381,114,114,59,32768,8657,97,114,59,32768,10595,512,99,114,17031,17039,117,116,101,33024,250,59,32768,250,114,59,32768,8593,114,820,17049,0,17053,121,59,32768,1118,118,101,59,32768,365,512,105,121,17062,17069,114,99,33024,251,59,32768,251,59,32768,1091,768,97,98,104,17079,17084,17090,114,114,59,32768,8645,108,97,99,59,32768,369,97,114,59,32768,10606,512,105,114,17100,17106,115,104,116,59,32768,10622,59,32896,55349,56626,114,97,118,101,33024,249,59,32768,249,562,17123,17135,114,512,108,114,17128,17131,59,32768,8639,59,32768,8638,108,107,59,32768,9600,512,99,116,17144,17167,1088,17150,0,0,17163,114,110,512,59,101,17156,17158,32768,8988,114,59,32768,8988,111,112,59,32768,8975,114,105,59,32768,9720,512,97,108,17177,17182,99,114,59,32768,363,33024,168,59,32768,168,512,103,112,17192,17197,111,110,59,32768,371,102,59,32896,55349,56678,1536,97,100,104,108,115,117,17215,17222,17233,17257,17262,17280,114,114,111,119,59,32768,8593,111,119,110,97,114,114,111,119,59,32768,8597,97,114,112,111,111,110,512,108,114,17244,17250,101,102,116,59,32768,8639,105,103,104,116,59,32768,8638,117,115,59,32768,8846,105,768,59,104,108,17270,17272,17275,32768,965,59,32768,978,111,110,59,32768,965,112,97,114,114,111,119,115,59,32768,8648,768,99,105,116,17297,17320,17325,1088,17303,0,0,17316,114,110,512,59,101,17309,17311,32768,8989,114,59,32768,8989,111,112,59,32768,8974,110,103,59,32768,367,114,105,59,32768,9721,99,114,59,32896,55349,56522,768,100,105,114,17343,17348,17354,111,116,59,32768,8944,108,100,101,59,32768,361,105,512,59,102,17360,17362,32768,9653,59,32768,9652,512,97,109,17370,17375,114,114,59,32768,8648,108,33024,252,59,32768,252,97,110,103,108,101,59,32768,10663,3840,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,17420,17425,17437,17443,17613,17617,17623,17667,17672,17678,17693,17699,17705,17711,17754,114,114,59,32768,8661,97,114,512,59,118,17432,17434,32768,10984,59,32768,10985,97,115,104,59,32768,8872,512,110,114,17448,17454,103,114,116,59,32768,10652,1792,101,107,110,112,114,115,116,17469,17478,17485,17494,17515,17526,17578,112,115,105,108,111,110,59,32768,1013,97,112,112,97,59,32768,1008,111,116,104,105,110,103,59,32768,8709,768,104,105,114,17501,17505,17508,105,59,32768,981,59,32768,982,111,112,116,111,59,32768,8733,512,59,104,17520,17522,32768,8597,111,59,32768,1009,512,105,117,17531,17537,103,109,97,59,32768,962,512,98,112,17542,17560,115,101,116,110,101,113,512,59,113,17553,17556,32896,8842,65024,59,32896,10955,65024,115,101,116,110,101,113,512,59,113,17571,17574,32896,8843,65024,59,32896,10956,65024,512,104,114,17583,17589,101,116,97,59,32768,977,105,97,110,103,108,101,512,108,114,17600,17606,101,102,116,59,32768,8882,105,103,104,116,59,32768,8883,121,59,32768,1074,97,115,104,59,32768,8866,768,101,108,114,17630,17648,17654,768,59,98,101,17637,17639,17644,32768,8744,97,114,59,32768,8891,113,59,32768,8794,108,105,112,59,32768,8942,512,98,116,17659,17664,97,114,59,32768,124,59,32768,124,114,59,32896,55349,56627,116,114,105,59,32768,8882,115,117,512,98,112,17685,17689,59,32896,8834,8402,59,32896,8835,8402,112,102,59,32896,55349,56679,114,111,112,59,32768,8733,116,114,105,59,32768,8883,512,99,117,17716,17721,114,59,32896,55349,56523,512,98,112,17726,17740,110,512,69,101,17732,17736,59,32896,10955,65024,59,32896,8842,65024,110,512,69,101,17746,17750,59,32896,10956,65024,59,32896,8843,65024,105,103,122,97,103,59,32768,10650,1792,99,101,102,111,112,114,115,17777,17783,17815,17820,17826,17829,17842,105,114,99,59,32768,373,512,100,105,17788,17809,512,98,103,17793,17798,97,114,59,32768,10847,101,512,59,113,17804,17806,32768,8743,59,32768,8793,101,114,112,59,32768,8472,114,59,32896,55349,56628,112,102,59,32896,55349,56680,59,32768,8472,512,59,101,17834,17836,32768,8768,97,116,104,59,32768,8768,99,114,59,32896,55349,56524,5428,17871,17891,0,17897,0,17902,17917,0,0,17920,17935,17940,17945,0,0,17977,17992,0,18008,18024,18029,768,97,105,117,17877,17881,17886,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,116,114,105,59,32768,9661,114,59,32896,55349,56629,512,65,97,17906,17911,114,114,59,32768,10234,114,114,59,32768,10231,59,32768,958,512,65,97,17924,17929,114,114,59,32768,10232,114,114,59,32768,10229,97,112,59,32768,10236,105,115,59,32768,8955,768,100,112,116,17951,17956,17970,111,116,59,32768,10752,512,102,108,17961,17965,59,32896,55349,56681,117,115,59,32768,10753,105,109,101,59,32768,10754,512,65,97,17981,17986,114,114,59,32768,10233,114,114,59,32768,10230,512,99,113,17996,18001,114,59,32896,55349,56525,99,117,112,59,32768,10758,512,112,116,18012,18018,108,117,115,59,32768,10756,114,105,59,32768,9651,101,101,59,32768,8897,101,100,103,101,59,32768,8896,2048,97,99,101,102,105,111,115,117,18052,18068,18081,18087,18092,18097,18103,18109,99,512,117,121,18058,18065,116,101,33024,253,59,32768,253,59,32768,1103,512,105,121,18073,18078,114,99,59,32768,375,59,32768,1099,110,33024,165,59,32768,165,114,59,32896,55349,56630,99,121,59,32768,1111,112,102,59,32896,55349,56682,99,114,59,32896,55349,56526,512,99,109,18114,18118,121,59,32768,1102,108,33024,255,59,32768,255,2560,97,99,100,101,102,104,105,111,115,119,18145,18152,18166,18171,18186,18191,18196,18204,18210,18216,99,117,116,101,59,32768,378,512,97,121,18157,18163,114,111,110,59,32768,382,59,32768,1079,111,116,59,32768,380,512,101,116,18176,18182,116,114,102,59,32768,8488,97,59,32768,950,114,59,32896,55349,56631,99,121,59,32768,1078,103,114,97,114,114,59,32768,8669,112,102,59,32896,55349,56683,99,114,59,32896,55349,56527,512,106,110,18221,18224,59,32768,8205,106,59,32768,8204]);var ji={};Object.defineProperty(ji,"__esModule",{value:!0});ji.default=new Uint16Array([1024,97,103,108,113,9,23,27,31,1086,15,0,0,19,112,59,32768,38,111,115,59,32768,39,116,59,32768,62,116,59,32768,60,117,111,116,59,32768,34]);(function(e){var t=I&&I.__importDefault||function(N){return N&&N.__esModule?N:{default:N}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXML=e.decodeHTMLStrict=e.decodeHTML=e.determineBranch=e.JUMP_OFFSET_BASE=e.BinTrieFlags=e.xmlDecodeTree=e.htmlDecodeTree=void 0;var r=t(Hi);e.htmlDecodeTree=r.default;var n=t(ji);e.xmlDecodeTree=n.default;var o=t(w1),i;(function(N){N[N.HAS_VALUE=32768]="HAS_VALUE",N[N.BRANCH_LENGTH=32512]="BRANCH_LENGTH",N[N.MULTI_BYTE=128]="MULTI_BYTE",N[N.JUMP_TABLE=127]="JUMP_TABLE"})(i=e.BinTrieFlags||(e.BinTrieFlags={})),e.JUMP_OFFSET_BASE=47;function a(N){return function(E,M){for(var D="",H=0,k=0;(k=E.indexOf("&",k))>=0;){if(D+=E.slice(H,k),H=k,k+=1,E.charCodeAt(k)===35){var F=k+1,z=10,Y=E.charCodeAt(F);for((Y|32)===120&&(z=16,k+=1,F+=1);(Y=E.charCodeAt(++k))>=48&&Y<=57||z===16&&(Y|32)>=97&&(Y|32)<=102;);if(F!==k){var oe=E.substring(F,k),ee=parseInt(oe,z);if(E.charCodeAt(k)===59)k+=1;else if(M)continue;D+=o.default(ee),H=k}continue}for(var _e=null,be=1,re=0,te=N[re];k>8;if(D===0)return-1;if(D===1)return M===N[E]?E+1:-1;var H=T&i.JUMP_TABLE;if(H){var k=M-e.JUMP_OFFSET_BASE-H;return k<0||k>D?-1:N[E+k]-1}for(var F=E,z=F+D-1;F<=z;){var Y=F+z>>>1,oe=N[Y];if(oeM)z=Y-1;else return N[Y+D]}return-1}e.determineBranch=c;var l=a(r.default),d=a(n.default);function p(N){return l(N,!1)}e.decodeHTML=p;function v(N){return l(N,!0)}e.decodeHTMLStrict=v;function h(N){return d(N,!0)}e.decodeXML=h})(Gl);var Sg=I&&I.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(S1,"__esModule",{value:!0});var wg=Sg(w1),rn=Gl;function pt(e){return e===32||e===10||e===9||e===12||e===13}function ho(e){return e===47||e===62||pt(e)}function Lc(e){return e>=48&&e<=57}function $g(e){return e>=97&&e<=122||e>=65&&e<=90}var Re={Cdata:new Uint16Array([67,68,65,84,65,91]),CdataEnd:new Uint16Array([93,93,62]),CommentEnd:new Uint16Array([45,45,62]),ScriptEnd:new Uint16Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint16Array([60,47,115,116,121,108,101]),TitleEnd:new Uint16Array([60,47,116,105,116,108,101])},Pg=function(){function e(t,r){var n=t.xmlMode,o=n===void 0?!1:n,i=t.decodeEntities,a=i===void 0?!0:i;this.cbs=r,this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.isSpecial=!1,this.running=!0,this.ended=!1,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.trieResult=null,this.entityExcess=0,this.xmlMode=o,this.decodeEntities=a,this.entityTrie=o?rn.xmlDecodeTree:rn.htmlDecodeTree}return e.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.currentSequence=void 0,this.running=!0,this.ended=!1},e.prototype.write=function(t){if(this.ended)return this.cbs.onerror(Error(".write() after done!"));this.buffer+=t,this.parse()},e.prototype.end=function(t){if(this.ended)return this.cbs.onerror(Error(".end() after done!"));t&&this.write(t),this.ended=!0,this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this._indexthis.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):this.decodeEntities&&t===38&&(this._state=25)},e.prototype.stateSpecialStartSequence=function(t){var r=this.sequenceIndex===this.currentSequence.length,n=r?ho(t):(t|32)===this.currentSequence[this.sequenceIndex];if(!n)this.isSpecial=!1;else if(!r){this.sequenceIndex++;return}this.sequenceIndex=0,this._state=3,this.stateInTagName(t)},e.prototype.stateInSpecialTag=function(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||pt(t)){var r=this._index-this.currentSequence.length;if(this.sectionStartthis.sectionStart&&this.emitPartial(this.buffer.substring(this.sectionStart,r)),this.trieResult=this.trieCurrent&rn.BinTrieFlags.MULTI_BYTE?String.fromCharCode(this.entityTrie[++this.trieIndex],this.entityTrie[++this.trieIndex]):String.fromCharCode(this.entityTrie[++this.trieIndex]),this.entityExcess=0,this.sectionStart=this._index+1}},e.prototype.emitNamedEntity=function(){this.trieResult&&this.emitPartial(this.trieResult),this._state=this.baseState},e.prototype.stateBeforeNumericEntity=function(t){(t|32)===120?(this.entityExcess++,this._state=29):(this._state=28,this.stateInNumericEntity(t))},e.prototype.decodeNumericEntity=function(t,r){var n=this._index-this.entityExcess-1,o=n+2+(t>>4);if(o!==this._index){n>this.sectionStart&&this.emitPartial(this.buffer.substring(this.sectionStart,n));var i=this.buffer.substring(o,this._index),a=parseInt(i,t);this.emitPartial((0,wg.default)(a)),this.sectionStart=this._index+Number(r)}this._state=this.baseState},e.prototype.stateInNumericEntity=function(t){t===59?this.decodeNumericEntity(10,!0):Lc(t)?this.entityExcess++:(this.allowLegacyEntity()?this.decodeNumericEntity(10,!1):this._state=this.baseState,this._index--)},e.prototype.stateInHexEntity=function(t){t===59?this.decodeNumericEntity(16,!0):(t<97||t>102)&&(t<65||t>70)&&!Lc(t)?(this.allowLegacyEntity()?this.decodeNumericEntity(16,!1):this._state=this.baseState,this._index--):this.entityExcess++},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===1||this.baseState===24)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this._index&&(this._state===1||this._state===24&&this.sequenceIndex===0)&&(this.cbs.ontext(this.buffer.substr(this.sectionStart)),this.sectionStart=this._index);var t=this.sectionStart<0?this._index:this.sectionStart;this.buffer=t===this.buffer.length?"":this.buffer.substr(t),this._index-=t,this.bufferOffset+=t,this.sectionStart>0&&(this.sectionStart=0)},e.prototype.shouldContinue=function(){return this._index0&&a.has(this.stack[this.stack.length-1]);){var c=this.stack.pop();(n=(r=this.cbs).onclosetag)===null||n===void 0||n.call(r,c,!0)}this.isVoidElement(t)||(this.stack.push(t),Ic.has(t)?this.foreignContext.push(!0):kc.has(t)&&this.foreignContext.push(!1)),(i=(o=this.cbs).onopentagname)===null||i===void 0||i.call(o,t),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(t){var r,n;this.startIndex=this.openTagStart,this.endIndex=this.tokenizer.getAbsoluteIndex(),this.attribs&&((n=(r=this.cbs).onopentag)===null||n===void 0||n.call(r,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(){this.endOpenTag(!1),this.startIndex=this.endIndex+1},e.prototype.onclosetag=function(t){var r,n,o,i,a,c;if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.lowerCaseTagNames&&(t=t.toLowerCase()),(Ic.has(t)||kc.has(t))&&this.foreignContext.pop(),this.isVoidElement(t))!this.options.xmlMode&&t==="br"&&((n=(r=this.cbs).onopentagname)===null||n===void 0||n.call(r,t),(i=(o=this.cbs).onopentag)===null||i===void 0||i.call(o,t,{},!0),(c=(a=this.cbs).onclosetag)===null||c===void 0||c.call(a,t,!1));else{var l=this.stack.lastIndexOf(t);if(l!==-1)if(this.cbs.onclosetag)for(var d=this.stack.length-l;d--;)this.cbs.onclosetag(this.stack.pop(),d!==0);else this.stack.length=l;else!this.options.xmlMode&&t==="p"&&(this.emitOpenTag(t),this.closeCurrentTag(!0))}this.startIndex=this.endIndex+1},e.prototype.onselfclosingtag=function(){this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=this.endIndex+1):this.onopentagend()},e.prototype.closeCurrentTag=function(t){var r,n,o=this.tagname;this.endOpenTag(t),this.stack[this.stack.length-1]===o&&((n=(r=this.cbs).onclosetag)===null||n===void 0||n.call(r,o,!t),this.stack.pop())},e.prototype.onattribname=function(t){this.startIndex=this.tokenizer.getAbsoluteSectionStart(),this.lowerCaseAttributeNames&&(t=t.toLowerCase()),this.attribname=t},e.prototype.onattribdata=function(t){this.attribvalue+=t},e.prototype.onattribend=function(t){var r,n;this.endIndex=this.tokenizer.getAbsoluteIndex(),(n=(r=this.cbs).onattribute)===null||n===void 0||n.call(r,this.attribname,this.attribvalue,t),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribname="",this.attribvalue=""},e.prototype.getInstructionName=function(t){var r=t.search(Mg),n=r<0?t:t.substr(0,r);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(t){if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.cbs.onprocessinginstruction){var r=this.getInstructionName(t);this.cbs.onprocessinginstruction("!"+r,"!"+t)}this.startIndex=this.endIndex+1},e.prototype.onprocessinginstruction=function(t){if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.cbs.onprocessinginstruction){var r=this.getInstructionName(t);this.cbs.onprocessinginstruction("?"+r,"?"+t)}this.startIndex=this.endIndex+1},e.prototype.oncomment=function(t){var r,n,o,i;this.endIndex=this.tokenizer.getAbsoluteIndex(),(n=(r=this.cbs).oncomment)===null||n===void 0||n.call(r,t),(i=(o=this.cbs).oncommentend)===null||i===void 0||i.call(o),this.startIndex=this.endIndex+1},e.prototype.oncdata=function(t){var r,n,o,i,a,c,l,d,p,v;this.endIndex=this.tokenizer.getAbsoluteIndex(),this.options.xmlMode||this.options.recognizeCDATA?((n=(r=this.cbs).oncdatastart)===null||n===void 0||n.call(r),(i=(o=this.cbs).ontext)===null||i===void 0||i.call(o,t),(c=(a=this.cbs).oncdataend)===null||c===void 0||c.call(a)):((d=(l=this.cbs).oncomment)===null||d===void 0||d.call(l,"[CDATA["+t+"]]"),(v=(p=this.cbs).oncommentend)===null||v===void 0||v.call(p)),this.startIndex=this.endIndex+1},e.prototype.onerror=function(t){var r,n;(n=(r=this.cbs).onerror)===null||n===void 0||n.call(r,t)},e.prototype.onend=function(){var t,r;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n],!0));}(r=(t=this.cbs).onend)===null||r===void 0||r.call(t)},e.prototype.reset=function(){var t,r,n,o;(r=(t=this.cbs).onreset)===null||r===void 0||r.call(t),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack=[],this.startIndex=0,this.endIndex=0,(o=(n=this.cbs).onparserinit)===null||o===void 0||o.call(n,this)},e.prototype.parseComplete=function(t){this.reset(),this.end(t)},e.prototype.write=function(t){this.tokenizer.write(t)},e.prototype.end=function(t){this.tokenizer.end(t)},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){this.tokenizer.resume()},e.prototype.parseChunk=function(t){this.write(t)},e.prototype.done=function(t){this.end(t)},e}();Ln.Parser=Rg;var si={},$1={},Ae={},Gi={},Ql={},ht={};const Ng="Á",Og="á",Lg="Ă",Ag="ă",qg="∾",Dg="∿",Ig="∾̳",kg="Â",Fg="â",Vg="´",zg="А",Ug="а",Bg="Æ",Wg="æ",Hg="⁡",jg="𝔄",Gg="𝔞",Qg="À",Xg="à",Yg="ℵ",Zg="ℵ",Jg="Α",Kg="α",em="Ā",tm="ā",rm="⨿",nm="&",om="&",am="⩕",im="⩓",sm="∧",cm="⩜",um="⩘",lm="⩚",dm="∠",fm="⦤",pm="∠",hm="⦨",gm="⦩",mm="⦪",vm="⦫",ym="⦬",_m="⦭",bm="⦮",Sm="⦯",wm="∡",$m="∟",Pm="⊾",xm="⦝",Cm="∢",Tm="Å",Em="⍼",Mm="Ą",Rm="ą",Nm="𝔸",Om="𝕒",Lm="⩯",Am="≈",qm="⩰",Dm="≊",Im="≋",km="'",Fm="⁡",Vm="≈",zm="≊",Um="Å",Bm="å",Wm="𝒜",Hm="𝒶",jm="≔",Gm="*",Qm="≈",Xm="≍",Ym="Ã",Zm="ã",Jm="Ä",Km="ä",ev="∳",tv="⨑",rv="≌",nv="϶",ov="‵",av="∽",iv="⋍",sv="∖",cv="⫧",uv="⊽",lv="⌅",dv="⌆",fv="⌅",pv="⎵",hv="⎶",gv="≌",mv="Б",vv="б",yv="„",_v="∵",bv="∵",Sv="∵",wv="⦰",$v="϶",Pv="ℬ",xv="ℬ",Cv="Β",Tv="β",Ev="ℶ",Mv="≬",Rv="𝔅",Nv="𝔟",Ov="⋂",Lv="◯",Av="⋃",qv="⨀",Dv="⨁",Iv="⨂",kv="⨆",Fv="★",Vv="▽",zv="△",Uv="⨄",Bv="⋁",Wv="⋀",Hv="⤍",jv="⧫",Gv="▪",Qv="▴",Xv="▾",Yv="◂",Zv="▸",Jv="␣",Kv="▒",e4="░",t4="▓",r4="█",n4="=⃥",o4="≡⃥",a4="⫭",i4="⌐",s4="𝔹",c4="𝕓",u4="⊥",l4="⊥",d4="⋈",f4="⧉",p4="┐",h4="╕",g4="╖",m4="╗",v4="┌",y4="╒",_4="╓",b4="╔",S4="─",w4="═",$4="┬",P4="╤",x4="╥",C4="╦",T4="┴",E4="╧",M4="╨",R4="╩",N4="⊟",O4="⊞",L4="⊠",A4="┘",q4="╛",D4="╜",I4="╝",k4="└",F4="╘",V4="╙",z4="╚",U4="│",B4="║",W4="┼",H4="╪",j4="╫",G4="╬",Q4="┤",X4="╡",Y4="╢",Z4="╣",J4="├",K4="╞",ey="╟",ty="╠",ry="‵",ny="˘",oy="˘",ay="¦",iy="𝒷",sy="ℬ",cy="⁏",uy="∽",ly="⋍",dy="⧅",fy="\\",py="⟈",hy="•",gy="•",my="≎",vy="⪮",yy="≏",_y="≎",by="≏",Sy="Ć",wy="ć",$y="⩄",Py="⩉",xy="⩋",Cy="∩",Ty="⋒",Ey="⩇",My="⩀",Ry="ⅅ",Ny="∩︀",Oy="⁁",Ly="ˇ",Ay="ℭ",qy="⩍",Dy="Č",Iy="č",ky="Ç",Fy="ç",Vy="Ĉ",zy="ĉ",Uy="∰",By="⩌",Wy="⩐",Hy="Ċ",jy="ċ",Gy="¸",Qy="¸",Xy="⦲",Yy="¢",Zy="·",Jy="·",Ky="𝔠",e_="ℭ",t_="Ч",r_="ч",n_="✓",o_="✓",a_="Χ",i_="χ",s_="ˆ",c_="≗",u_="↺",l_="↻",d_="⊛",f_="⊚",p_="⊝",h_="⊙",g_="®",m_="Ⓢ",v_="⊖",y_="⊕",__="⊗",b_="○",S_="⧃",w_="≗",$_="⨐",P_="⫯",x_="⧂",C_="∲",T_="”",E_="’",M_="♣",R_="♣",N_=":",O_="∷",L_="⩴",A_="≔",q_="≔",D_=",",I_="@",k_="∁",F_="∘",V_="∁",z_="ℂ",U_="≅",B_="⩭",W_="≡",H_="∮",j_="∯",G_="∮",Q_="𝕔",X_="ℂ",Y_="∐",Z_="∐",J_="©",K_="©",eb="℗",tb="∳",rb="↵",nb="✗",ob="⨯",ab="𝒞",ib="𝒸",sb="⫏",cb="⫑",ub="⫐",lb="⫒",db="⋯",fb="⤸",pb="⤵",hb="⋞",gb="⋟",mb="↶",vb="⤽",yb="⩈",_b="⩆",bb="≍",Sb="∪",wb="⋓",$b="⩊",Pb="⊍",xb="⩅",Cb="∪︀",Tb="↷",Eb="⤼",Mb="⋞",Rb="⋟",Nb="⋎",Ob="⋏",Lb="¤",Ab="↶",qb="↷",Db="⋎",Ib="⋏",kb="∲",Fb="∱",Vb="⌭",zb="†",Ub="‡",Bb="ℸ",Wb="↓",Hb="↡",jb="⇓",Gb="‐",Qb="⫤",Xb="⊣",Yb="⤏",Zb="˝",Jb="Ď",Kb="ď",eS="Д",tS="д",rS="‡",nS="⇊",oS="ⅅ",aS="ⅆ",iS="⤑",sS="⩷",cS="°",uS="∇",lS="Δ",dS="δ",fS="⦱",pS="⥿",hS="𝔇",gS="𝔡",mS="⥥",vS="⇃",yS="⇂",_S="´",bS="˙",SS="˝",wS="`",$S="˜",PS="⋄",xS="⋄",CS="⋄",TS="♦",ES="♦",MS="¨",RS="ⅆ",NS="ϝ",OS="⋲",LS="÷",AS="÷",qS="⋇",DS="⋇",IS="Ђ",kS="ђ",FS="⌞",VS="⌍",zS="$",US="𝔻",BS="𝕕",WS="¨",HS="˙",jS="⃜",GS="≐",QS="≑",XS="≐",YS="∸",ZS="∔",JS="⊡",KS="⌆",ew="∯",tw="¨",rw="⇓",nw="⇐",ow="⇔",aw="⫤",iw="⟸",sw="⟺",cw="⟹",uw="⇒",lw="⊨",dw="⇑",fw="⇕",pw="∥",hw="⤓",gw="↓",mw="↓",vw="⇓",yw="⇵",_w="̑",bw="⇊",Sw="⇃",ww="⇂",$w="⥐",Pw="⥞",xw="⥖",Cw="↽",Tw="⥟",Ew="⥗",Mw="⇁",Rw="↧",Nw="⊤",Ow="⤐",Lw="⌟",Aw="⌌",qw="𝒟",Dw="𝒹",Iw="Ѕ",kw="ѕ",Fw="⧶",Vw="Đ",zw="đ",Uw="⋱",Bw="▿",Ww="▾",Hw="⇵",jw="⥯",Gw="⦦",Qw="Џ",Xw="џ",Yw="⟿",Zw="É",Jw="é",Kw="⩮",e$="Ě",t$="ě",r$="Ê",n$="ê",o$="≖",a$="≕",i$="Э",s$="э",c$="⩷",u$="Ė",l$="ė",d$="≑",f$="ⅇ",p$="≒",h$="𝔈",g$="𝔢",m$="⪚",v$="È",y$="è",_$="⪖",b$="⪘",S$="⪙",w$="∈",$$="⏧",P$="ℓ",x$="⪕",C$="⪗",T$="Ē",E$="ē",M$="∅",R$="∅",N$="◻",O$="∅",L$="▫",A$=" ",q$=" ",D$=" ",I$="Ŋ",k$="ŋ",F$=" ",V$="Ę",z$="ę",U$="𝔼",B$="𝕖",W$="⋕",H$="⧣",j$="⩱",G$="ε",Q$="Ε",X$="ε",Y$="ϵ",Z$="≖",J$="≕",K$="≂",eP="⪖",tP="⪕",rP="⩵",nP="=",oP="≂",aP="≟",iP="⇌",sP="≡",cP="⩸",uP="⧥",lP="⥱",dP="≓",fP="ℯ",pP="ℰ",hP="≐",gP="⩳",mP="≂",vP="Η",yP="η",_P="Ð",bP="ð",SP="Ë",wP="ë",$P="€",PP="!",xP="∃",CP="∃",TP="ℰ",EP="ⅇ",MP="ⅇ",RP="≒",NP="Ф",OP="ф",LP="♀",AP="ffi",qP="ff",DP="ffl",IP="𝔉",kP="𝔣",FP="fi",VP="◼",zP="▪",UP="fj",BP="♭",WP="fl",HP="▱",jP="ƒ",GP="𝔽",QP="𝕗",XP="∀",YP="∀",ZP="⋔",JP="⫙",KP="ℱ",ex="⨍",tx="½",rx="⅓",nx="¼",ox="⅕",ax="⅙",ix="⅛",sx="⅔",cx="⅖",ux="¾",lx="⅗",dx="⅜",fx="⅘",px="⅚",hx="⅝",gx="⅞",mx="⁄",vx="⌢",yx="𝒻",_x="ℱ",bx="ǵ",Sx="Γ",wx="γ",$x="Ϝ",Px="ϝ",xx="⪆",Cx="Ğ",Tx="ğ",Ex="Ģ",Mx="Ĝ",Rx="ĝ",Nx="Г",Ox="г",Lx="Ġ",Ax="ġ",qx="≥",Dx="≧",Ix="⪌",kx="⋛",Fx="≥",Vx="≧",zx="⩾",Ux="⪩",Bx="⩾",Wx="⪀",Hx="⪂",jx="⪄",Gx="⋛︀",Qx="⪔",Xx="𝔊",Yx="𝔤",Zx="≫",Jx="⋙",Kx="⋙",eC="ℷ",tC="Ѓ",rC="ѓ",nC="⪥",oC="≷",aC="⪒",iC="⪤",sC="⪊",cC="⪊",uC="⪈",lC="≩",dC="⪈",fC="≩",pC="⋧",hC="𝔾",gC="𝕘",mC="`",vC="≥",yC="⋛",_C="≧",bC="⪢",SC="≷",wC="⩾",$C="≳",PC="𝒢",xC="ℊ",CC="≳",TC="⪎",EC="⪐",MC="⪧",RC="⩺",NC=">",OC=">",LC="≫",AC="⋗",qC="⦕",DC="⩼",IC="⪆",kC="⥸",FC="⋗",VC="⋛",zC="⪌",UC="≷",BC="≳",WC="≩︀",HC="≩︀",jC="ˇ",GC=" ",QC="½",XC="ℋ",YC="Ъ",ZC="ъ",JC="⥈",KC="↔",eT="⇔",tT="↭",rT="^",nT="ℏ",oT="Ĥ",aT="ĥ",iT="♥",sT="♥",cT="…",uT="⊹",lT="𝔥",dT="ℌ",fT="ℋ",pT="⤥",hT="⤦",gT="⇿",mT="∻",vT="↩",yT="↪",_T="𝕙",bT="ℍ",ST="―",wT="─",$T="𝒽",PT="ℋ",xT="ℏ",CT="Ħ",TT="ħ",ET="≎",MT="≏",RT="⁃",NT="‐",OT="Í",LT="í",AT="⁣",qT="Î",DT="î",IT="И",kT="и",FT="İ",VT="Е",zT="е",UT="¡",BT="⇔",WT="𝔦",HT="ℑ",jT="Ì",GT="ì",QT="ⅈ",XT="⨌",YT="∭",ZT="⧜",JT="℩",KT="IJ",eE="ij",tE="Ī",rE="ī",nE="ℑ",oE="ⅈ",aE="ℐ",iE="ℑ",sE="ı",cE="ℑ",uE="⊷",lE="Ƶ",dE="⇒",fE="℅",pE="∞",hE="⧝",gE="ı",mE="⊺",vE="∫",yE="∬",_E="ℤ",bE="∫",SE="⊺",wE="⋂",$E="⨗",PE="⨼",xE="⁣",CE="⁢",TE="Ё",EE="ё",ME="Į",RE="į",NE="𝕀",OE="𝕚",LE="Ι",AE="ι",qE="⨼",DE="¿",IE="𝒾",kE="ℐ",FE="∈",VE="⋵",zE="⋹",UE="⋴",BE="⋳",WE="∈",HE="⁢",jE="Ĩ",GE="ĩ",QE="І",XE="і",YE="Ï",ZE="ï",JE="Ĵ",KE="ĵ",eM="Й",tM="й",rM="𝔍",nM="𝔧",oM="ȷ",aM="𝕁",iM="𝕛",sM="𝒥",cM="𝒿",uM="Ј",lM="ј",dM="Є",fM="є",pM="Κ",hM="κ",gM="ϰ",mM="Ķ",vM="ķ",yM="К",_M="к",bM="𝔎",SM="𝔨",wM="ĸ",$M="Х",PM="х",xM="Ќ",CM="ќ",TM="𝕂",EM="𝕜",MM="𝒦",RM="𝓀",NM="⇚",OM="Ĺ",LM="ĺ",AM="⦴",qM="ℒ",DM="Λ",IM="λ",kM="⟨",FM="⟪",VM="⦑",zM="⟨",UM="⪅",BM="ℒ",WM="«",HM="⇤",jM="⤟",GM="←",QM="↞",XM="⇐",YM="⤝",ZM="↩",JM="↫",KM="⤹",eR="⥳",tR="↢",rR="⤙",nR="⤛",oR="⪫",aR="⪭",iR="⪭︀",sR="⤌",cR="⤎",uR="❲",lR="{",dR="[",fR="⦋",pR="⦏",hR="⦍",gR="Ľ",mR="ľ",vR="Ļ",yR="ļ",_R="⌈",bR="{",SR="Л",wR="л",$R="⤶",PR="“",xR="„",CR="⥧",TR="⥋",ER="↲",MR="≤",RR="≦",NR="⟨",OR="⇤",LR="←",AR="←",qR="⇐",DR="⇆",IR="↢",kR="⌈",FR="⟦",VR="⥡",zR="⥙",UR="⇃",BR="⌊",WR="↽",HR="↼",jR="⇇",GR="↔",QR="↔",XR="⇔",YR="⇆",ZR="⇋",JR="↭",KR="⥎",eN="↤",tN="⊣",rN="⥚",nN="⋋",oN="⧏",aN="⊲",iN="⊴",sN="⥑",cN="⥠",uN="⥘",lN="↿",dN="⥒",fN="↼",pN="⪋",hN="⋚",gN="≤",mN="≦",vN="⩽",yN="⪨",_N="⩽",bN="⩿",SN="⪁",wN="⪃",$N="⋚︀",PN="⪓",xN="⪅",CN="⋖",TN="⋚",EN="⪋",MN="⋚",RN="≦",NN="≶",ON="≶",LN="⪡",AN="≲",qN="⩽",DN="≲",IN="⥼",kN="⌊",FN="𝔏",VN="𝔩",zN="≶",UN="⪑",BN="⥢",WN="↽",HN="↼",jN="⥪",GN="▄",QN="Љ",XN="љ",YN="⇇",ZN="≪",JN="⋘",KN="⌞",eO="⇚",tO="⥫",rO="◺",nO="Ŀ",oO="ŀ",aO="⎰",iO="⎰",sO="⪉",cO="⪉",uO="⪇",lO="≨",dO="⪇",fO="≨",pO="⋦",hO="⟬",gO="⇽",mO="⟦",vO="⟵",yO="⟵",_O="⟸",bO="⟷",SO="⟷",wO="⟺",$O="⟼",PO="⟶",xO="⟶",CO="⟹",TO="↫",EO="↬",MO="⦅",RO="𝕃",NO="𝕝",OO="⨭",LO="⨴",AO="∗",qO="_",DO="↙",IO="↘",kO="◊",FO="◊",VO="⧫",zO="(",UO="⦓",BO="⇆",WO="⌟",HO="⇋",jO="⥭",GO="‎",QO="⊿",XO="‹",YO="𝓁",ZO="ℒ",JO="↰",KO="↰",eL="≲",tL="⪍",rL="⪏",nL="[",oL="‘",aL="‚",iL="Ł",sL="ł",cL="⪦",uL="⩹",lL="<",dL="<",fL="≪",pL="⋖",hL="⋋",gL="⋉",mL="⥶",vL="⩻",yL="◃",_L="⊴",bL="◂",SL="⦖",wL="⥊",$L="⥦",PL="≨︀",xL="≨︀",CL="¯",TL="♂",EL="✠",ML="✠",RL="↦",NL="↦",OL="↧",LL="↤",AL="↥",qL="▮",DL="⨩",IL="М",kL="м",FL="—",VL="∺",zL="∡",UL=" ",BL="ℳ",WL="𝔐",HL="𝔪",jL="℧",GL="µ",QL="*",XL="⫰",YL="∣",ZL="·",JL="⊟",KL="−",eA="∸",tA="⨪",rA="∓",nA="⫛",oA="…",aA="∓",iA="⊧",sA="𝕄",cA="𝕞",uA="∓",lA="𝓂",dA="ℳ",fA="∾",pA="Μ",hA="μ",gA="⊸",mA="⊸",vA="∇",yA="Ń",_A="ń",bA="∠⃒",SA="≉",wA="⩰̸",$A="≋̸",PA="ʼn",xA="≉",CA="♮",TA="ℕ",EA="♮",MA=" ",RA="≎̸",NA="≏̸",OA="⩃",LA="Ň",AA="ň",qA="Ņ",DA="ņ",IA="≇",kA="⩭̸",FA="⩂",VA="Н",zA="н",UA="–",BA="⤤",WA="↗",HA="⇗",jA="↗",GA="≠",QA="≐̸",XA="​",YA="​",ZA="​",JA="​",KA="≢",eq="⤨",tq="≂̸",rq="≫",nq="≪",oq=` -`,aq="∄",iq="∄",sq="𝔑",cq="𝔫",uq="≧̸",lq="≱",dq="≱",fq="≧̸",pq="⩾̸",hq="⩾̸",gq="⋙̸",mq="≵",vq="≫⃒",yq="≯",_q="≯",bq="≫̸",Sq="↮",wq="⇎",$q="⫲",Pq="∋",xq="⋼",Cq="⋺",Tq="∋",Eq="Њ",Mq="њ",Rq="↚",Nq="⇍",Oq="‥",Lq="≦̸",Aq="≰",qq="↚",Dq="⇍",Iq="↮",kq="⇎",Fq="≰",Vq="≦̸",zq="⩽̸",Uq="⩽̸",Bq="≮",Wq="⋘̸",Hq="≴",jq="≪⃒",Gq="≮",Qq="⋪",Xq="⋬",Yq="≪̸",Zq="∤",Jq="⁠",Kq=" ",eD="𝕟",tD="ℕ",rD="⫬",nD="¬",oD="≢",aD="≭",iD="∦",sD="∉",cD="≠",uD="≂̸",lD="∄",dD="≯",fD="≱",pD="≧̸",hD="≫̸",gD="≹",mD="⩾̸",vD="≵",yD="≎̸",_D="≏̸",bD="∉",SD="⋵̸",wD="⋹̸",$D="∉",PD="⋷",xD="⋶",CD="⧏̸",TD="⋪",ED="⋬",MD="≮",RD="≰",ND="≸",OD="≪̸",LD="⩽̸",AD="≴",qD="⪢̸",DD="⪡̸",ID="∌",kD="∌",FD="⋾",VD="⋽",zD="⊀",UD="⪯̸",BD="⋠",WD="∌",HD="⧐̸",jD="⋫",GD="⋭",QD="⊏̸",XD="⋢",YD="⊐̸",ZD="⋣",JD="⊂⃒",KD="⊈",eI="⊁",tI="⪰̸",rI="⋡",nI="≿̸",oI="⊃⃒",aI="⊉",iI="≁",sI="≄",cI="≇",uI="≉",lI="∤",dI="∦",fI="∦",pI="⫽⃥",hI="∂̸",gI="⨔",mI="⊀",vI="⋠",yI="⊀",_I="⪯̸",bI="⪯̸",SI="⤳̸",wI="↛",$I="⇏",PI="↝̸",xI="↛",CI="⇏",TI="⋫",EI="⋭",MI="⊁",RI="⋡",NI="⪰̸",OI="𝒩",LI="𝓃",AI="∤",qI="∦",DI="≁",II="≄",kI="≄",FI="∤",VI="∦",zI="⋢",UI="⋣",BI="⊄",WI="⫅̸",HI="⊈",jI="⊂⃒",GI="⊈",QI="⫅̸",XI="⊁",YI="⪰̸",ZI="⊅",JI="⫆̸",KI="⊉",ek="⊃⃒",tk="⊉",rk="⫆̸",nk="≹",ok="Ñ",ak="ñ",ik="≸",sk="⋪",ck="⋬",uk="⋫",lk="⋭",dk="Ν",fk="ν",pk="#",hk="№",gk=" ",mk="≍⃒",vk="⊬",yk="⊭",_k="⊮",bk="⊯",Sk="≥⃒",wk=">⃒",$k="⤄",Pk="⧞",xk="⤂",Ck="≤⃒",Tk="<⃒",Ek="⊴⃒",Mk="⤃",Rk="⊵⃒",Nk="∼⃒",Ok="⤣",Lk="↖",Ak="⇖",qk="↖",Dk="⤧",Ik="Ó",kk="ó",Fk="⊛",Vk="Ô",zk="ô",Uk="⊚",Bk="О",Wk="о",Hk="⊝",jk="Ő",Gk="ő",Qk="⨸",Xk="⊙",Yk="⦼",Zk="Œ",Jk="œ",Kk="⦿",eF="𝔒",tF="𝔬",rF="˛",nF="Ò",oF="ò",aF="⧁",iF="⦵",sF="Ω",cF="∮",uF="↺",lF="⦾",dF="⦻",fF="‾",pF="⧀",hF="Ō",gF="ō",mF="Ω",vF="ω",yF="Ο",_F="ο",bF="⦶",SF="⊖",wF="𝕆",$F="𝕠",PF="⦷",xF="“",CF="‘",TF="⦹",EF="⊕",MF="↻",RF="⩔",NF="∨",OF="⩝",LF="ℴ",AF="ℴ",qF="ª",DF="º",IF="⊶",kF="⩖",FF="⩗",VF="⩛",zF="Ⓢ",UF="𝒪",BF="ℴ",WF="Ø",HF="ø",jF="⊘",GF="Õ",QF="õ",XF="⨶",YF="⨷",ZF="⊗",JF="Ö",KF="ö",eV="⌽",tV="‾",rV="⏞",nV="⎴",oV="⏜",aV="¶",iV="∥",sV="∥",cV="⫳",uV="⫽",lV="∂",dV="∂",fV="П",pV="п",hV="%",gV=".",mV="‰",vV="⊥",yV="‱",_V="𝔓",bV="𝔭",SV="Φ",wV="φ",$V="ϕ",PV="ℳ",xV="☎",CV="Π",TV="π",EV="⋔",MV="ϖ",RV="ℏ",NV="ℎ",OV="ℏ",LV="⨣",AV="⊞",qV="⨢",DV="+",IV="∔",kV="⨥",FV="⩲",VV="±",zV="±",UV="⨦",BV="⨧",WV="±",HV="ℌ",jV="⨕",GV="𝕡",QV="ℙ",XV="£",YV="⪷",ZV="⪻",JV="≺",KV="≼",ez="⪷",tz="≺",rz="≼",nz="≺",oz="⪯",az="≼",iz="≾",sz="⪯",cz="⪹",uz="⪵",lz="⋨",dz="⪯",fz="⪳",pz="≾",hz="′",gz="″",mz="ℙ",vz="⪹",yz="⪵",_z="⋨",bz="∏",Sz="∏",wz="⌮",$z="⌒",Pz="⌓",xz="∝",Cz="∝",Tz="∷",Ez="∝",Mz="≾",Rz="⊰",Nz="𝒫",Oz="𝓅",Lz="Ψ",Az="ψ",qz=" ",Dz="𝔔",Iz="𝔮",kz="⨌",Fz="𝕢",Vz="ℚ",zz="⁗",Uz="𝒬",Bz="𝓆",Wz="ℍ",Hz="⨖",jz="?",Gz="≟",Qz='"',Xz='"',Yz="⇛",Zz="∽̱",Jz="Ŕ",Kz="ŕ",eU="√",tU="⦳",rU="⟩",nU="⟫",oU="⦒",aU="⦥",iU="⟩",sU="»",cU="⥵",uU="⇥",lU="⤠",dU="⤳",fU="→",pU="↠",hU="⇒",gU="⤞",mU="↪",vU="↬",yU="⥅",_U="⥴",bU="⤖",SU="↣",wU="↝",$U="⤚",PU="⤜",xU="∶",CU="ℚ",TU="⤍",EU="⤏",MU="⤐",RU="❳",NU="}",OU="]",LU="⦌",AU="⦎",qU="⦐",DU="Ř",IU="ř",kU="Ŗ",FU="ŗ",VU="⌉",zU="}",UU="Р",BU="р",WU="⤷",HU="⥩",jU="”",GU="”",QU="↳",XU="ℜ",YU="ℛ",ZU="ℜ",JU="ℝ",KU="ℜ",eB="▭",tB="®",rB="®",nB="∋",oB="⇋",aB="⥯",iB="⥽",sB="⌋",cB="𝔯",uB="ℜ",lB="⥤",dB="⇁",fB="⇀",pB="⥬",hB="Ρ",gB="ρ",mB="ϱ",vB="⟩",yB="⇥",_B="→",bB="→",SB="⇒",wB="⇄",$B="↣",PB="⌉",xB="⟧",CB="⥝",TB="⥕",EB="⇂",MB="⌋",RB="⇁",NB="⇀",OB="⇄",LB="⇌",AB="⇉",qB="↝",DB="↦",IB="⊢",kB="⥛",FB="⋌",VB="⧐",zB="⊳",UB="⊵",BB="⥏",WB="⥜",HB="⥔",jB="↾",GB="⥓",QB="⇀",XB="˚",YB="≓",ZB="⇄",JB="⇌",KB="‏",eW="⎱",tW="⎱",rW="⫮",nW="⟭",oW="⇾",aW="⟧",iW="⦆",sW="𝕣",cW="ℝ",uW="⨮",lW="⨵",dW="⥰",fW=")",pW="⦔",hW="⨒",gW="⇉",mW="⇛",vW="›",yW="𝓇",_W="ℛ",bW="↱",SW="↱",wW="]",$W="’",PW="’",xW="⋌",CW="⋊",TW="▹",EW="⊵",MW="▸",RW="⧎",NW="⧴",OW="⥨",LW="℞",AW="Ś",qW="ś",DW="‚",IW="⪸",kW="Š",FW="š",VW="⪼",zW="≻",UW="≽",BW="⪰",WW="⪴",HW="Ş",jW="ş",GW="Ŝ",QW="ŝ",XW="⪺",YW="⪶",ZW="⋩",JW="⨓",KW="≿",eH="С",tH="с",rH="⊡",nH="⋅",oH="⩦",aH="⤥",iH="↘",sH="⇘",cH="↘",uH="§",lH=";",dH="⤩",fH="∖",pH="∖",hH="✶",gH="𝔖",mH="𝔰",vH="⌢",yH="♯",_H="Щ",bH="щ",SH="Ш",wH="ш",$H="↓",PH="←",xH="∣",CH="∥",TH="→",EH="↑",MH="­",RH="Σ",NH="σ",OH="ς",LH="ς",AH="∼",qH="⩪",DH="≃",IH="≃",kH="⪞",FH="⪠",VH="⪝",zH="⪟",UH="≆",BH="⨤",WH="⥲",HH="←",jH="∘",GH="∖",QH="⨳",XH="⧤",YH="∣",ZH="⌣",JH="⪪",KH="⪬",ej="⪬︀",tj="Ь",rj="ь",nj="⌿",oj="⧄",aj="/",ij="𝕊",sj="𝕤",cj="♠",uj="♠",lj="∥",dj="⊓",fj="⊓︀",pj="⊔",hj="⊔︀",gj="√",mj="⊏",vj="⊑",yj="⊏",_j="⊑",bj="⊐",Sj="⊒",wj="⊐",$j="⊒",Pj="□",xj="□",Cj="⊓",Tj="⊏",Ej="⊑",Mj="⊐",Rj="⊒",Nj="⊔",Oj="▪",Lj="□",Aj="▪",qj="→",Dj="𝒮",Ij="𝓈",kj="∖",Fj="⌣",Vj="⋆",zj="⋆",Uj="☆",Bj="★",Wj="ϵ",Hj="ϕ",jj="¯",Gj="⊂",Qj="⋐",Xj="⪽",Yj="⫅",Zj="⊆",Jj="⫃",Kj="⫁",eG="⫋",tG="⊊",rG="⪿",nG="⥹",oG="⊂",aG="⋐",iG="⊆",sG="⫅",cG="⊆",uG="⊊",lG="⫋",dG="⫇",fG="⫕",pG="⫓",hG="⪸",gG="≻",mG="≽",vG="≻",yG="⪰",_G="≽",bG="≿",SG="⪰",wG="⪺",$G="⪶",PG="⋩",xG="≿",CG="∋",TG="∑",EG="∑",MG="♪",RG="¹",NG="²",OG="³",LG="⊃",AG="⋑",qG="⪾",DG="⫘",IG="⫆",kG="⊇",FG="⫄",VG="⊃",zG="⊇",UG="⟉",BG="⫗",WG="⥻",HG="⫂",jG="⫌",GG="⊋",QG="⫀",XG="⊃",YG="⋑",ZG="⊇",JG="⫆",KG="⊋",eQ="⫌",tQ="⫈",rQ="⫔",nQ="⫖",oQ="⤦",aQ="↙",iQ="⇙",sQ="↙",cQ="⤪",uQ="ß",lQ=" ",dQ="⌖",fQ="Τ",pQ="τ",hQ="⎴",gQ="Ť",mQ="ť",vQ="Ţ",yQ="ţ",_Q="Т",bQ="т",SQ="⃛",wQ="⌕",$Q="𝔗",PQ="𝔱",xQ="∴",CQ="∴",TQ="∴",EQ="Θ",MQ="θ",RQ="ϑ",NQ="ϑ",OQ="≈",LQ="∼",AQ="  ",qQ=" ",DQ=" ",IQ="≈",kQ="∼",FQ="Þ",VQ="þ",zQ="˜",UQ="∼",BQ="≃",WQ="≅",HQ="≈",jQ="⨱",GQ="⊠",QQ="×",XQ="⨰",YQ="∭",ZQ="⤨",JQ="⌶",KQ="⫱",eX="⊤",tX="𝕋",rX="𝕥",nX="⫚",oX="⤩",aX="‴",iX="™",sX="™",cX="▵",uX="▿",lX="◃",dX="⊴",fX="≜",pX="▹",hX="⊵",gX="◬",mX="≜",vX="⨺",yX="⃛",_X="⨹",bX="⧍",SX="⨻",wX="⏢",$X="𝒯",PX="𝓉",xX="Ц",CX="ц",TX="Ћ",EX="ћ",MX="Ŧ",RX="ŧ",NX="≬",OX="↞",LX="↠",AX="Ú",qX="ú",DX="↑",IX="↟",kX="⇑",FX="⥉",VX="Ў",zX="ў",UX="Ŭ",BX="ŭ",WX="Û",HX="û",jX="У",GX="у",QX="⇅",XX="Ű",YX="ű",ZX="⥮",JX="⥾",KX="𝔘",eY="𝔲",tY="Ù",rY="ù",nY="⥣",oY="↿",aY="↾",iY="▀",sY="⌜",cY="⌜",uY="⌏",lY="◸",dY="Ū",fY="ū",pY="¨",hY="_",gY="⏟",mY="⎵",vY="⏝",yY="⋃",_Y="⊎",bY="Ų",SY="ų",wY="𝕌",$Y="𝕦",PY="⤒",xY="↑",CY="↑",TY="⇑",EY="⇅",MY="↕",RY="↕",NY="⇕",OY="⥮",LY="↿",AY="↾",qY="⊎",DY="↖",IY="↗",kY="υ",FY="ϒ",VY="ϒ",zY="Υ",UY="υ",BY="↥",WY="⊥",HY="⇈",jY="⌝",GY="⌝",QY="⌎",XY="Ů",YY="ů",ZY="◹",JY="𝒰",KY="𝓊",eZ="⋰",tZ="Ũ",rZ="ũ",nZ="▵",oZ="▴",aZ="⇈",iZ="Ü",sZ="ü",cZ="⦧",uZ="⦜",lZ="ϵ",dZ="ϰ",fZ="∅",pZ="ϕ",hZ="ϖ",gZ="∝",mZ="↕",vZ="⇕",yZ="ϱ",_Z="ς",bZ="⊊︀",SZ="⫋︀",wZ="⊋︀",$Z="⫌︀",PZ="ϑ",xZ="⊲",CZ="⊳",TZ="⫨",EZ="⫫",MZ="⫩",RZ="В",NZ="в",OZ="⊢",LZ="⊨",AZ="⊩",qZ="⊫",DZ="⫦",IZ="⊻",kZ="∨",FZ="⋁",VZ="≚",zZ="⋮",UZ="|",BZ="‖",WZ="|",HZ="‖",jZ="∣",GZ="|",QZ="❘",XZ="≀",YZ=" ",ZZ="𝔙",JZ="𝔳",KZ="⊲",eJ="⊂⃒",tJ="⊃⃒",rJ="𝕍",nJ="𝕧",oJ="∝",aJ="⊳",iJ="𝒱",sJ="𝓋",cJ="⫋︀",uJ="⊊︀",lJ="⫌︀",dJ="⊋︀",fJ="⊪",pJ="⦚",hJ="Ŵ",gJ="ŵ",mJ="⩟",vJ="∧",yJ="⋀",_J="≙",bJ="℘",SJ="𝔚",wJ="𝔴",$J="𝕎",PJ="𝕨",xJ="℘",CJ="≀",TJ="≀",EJ="𝒲",MJ="𝓌",RJ="⋂",NJ="◯",OJ="⋃",LJ="▽",AJ="𝔛",qJ="𝔵",DJ="⟷",IJ="⟺",kJ="Ξ",FJ="ξ",VJ="⟵",zJ="⟸",UJ="⟼",BJ="⋻",WJ="⨀",HJ="𝕏",jJ="𝕩",GJ="⨁",QJ="⨂",XJ="⟶",YJ="⟹",ZJ="𝒳",JJ="𝓍",KJ="⨆",eK="⨄",tK="△",rK="⋁",nK="⋀",oK="Ý",aK="ý",iK="Я",sK="я",cK="Ŷ",uK="ŷ",lK="Ы",dK="ы",fK="¥",pK="𝔜",hK="𝔶",gK="Ї",mK="ї",vK="𝕐",yK="𝕪",_K="𝒴",bK="𝓎",SK="Ю",wK="ю",$K="ÿ",PK="Ÿ",xK="Ź",CK="ź",TK="Ž",EK="ž",MK="З",RK="з",NK="Ż",OK="ż",LK="ℨ",AK="​",qK="Ζ",DK="ζ",IK="𝔷",kK="ℨ",FK="Ж",VK="ж",zK="⇝",UK="𝕫",BK="ℤ",WK="𝒵",HK="𝓏",jK="‍",GK="‌",Xl={Aacute:Ng,aacute:Og,Abreve:Lg,abreve:Ag,ac:qg,acd:Dg,acE:Ig,Acirc:kg,acirc:Fg,acute:Vg,Acy:zg,acy:Ug,AElig:Bg,aelig:Wg,af:Hg,Afr:jg,afr:Gg,Agrave:Qg,agrave:Xg,alefsym:Yg,aleph:Zg,Alpha:Jg,alpha:Kg,Amacr:em,amacr:tm,amalg:rm,amp:nm,AMP:om,andand:am,And:im,and:sm,andd:cm,andslope:um,andv:lm,ang:dm,ange:fm,angle:pm,angmsdaa:hm,angmsdab:gm,angmsdac:mm,angmsdad:vm,angmsdae:ym,angmsdaf:_m,angmsdag:bm,angmsdah:Sm,angmsd:wm,angrt:$m,angrtvb:Pm,angrtvbd:xm,angsph:Cm,angst:Tm,angzarr:Em,Aogon:Mm,aogon:Rm,Aopf:Nm,aopf:Om,apacir:Lm,ap:Am,apE:qm,ape:Dm,apid:Im,apos:km,ApplyFunction:Fm,approx:Vm,approxeq:zm,Aring:Um,aring:Bm,Ascr:Wm,ascr:Hm,Assign:jm,ast:Gm,asymp:Qm,asympeq:Xm,Atilde:Ym,atilde:Zm,Auml:Jm,auml:Km,awconint:ev,awint:tv,backcong:rv,backepsilon:nv,backprime:ov,backsim:av,backsimeq:iv,Backslash:sv,Barv:cv,barvee:uv,barwed:lv,Barwed:dv,barwedge:fv,bbrk:pv,bbrktbrk:hv,bcong:gv,Bcy:mv,bcy:vv,bdquo:yv,becaus:_v,because:bv,Because:Sv,bemptyv:wv,bepsi:$v,bernou:Pv,Bernoullis:xv,Beta:Cv,beta:Tv,beth:Ev,between:Mv,Bfr:Rv,bfr:Nv,bigcap:Ov,bigcirc:Lv,bigcup:Av,bigodot:qv,bigoplus:Dv,bigotimes:Iv,bigsqcup:kv,bigstar:Fv,bigtriangledown:Vv,bigtriangleup:zv,biguplus:Uv,bigvee:Bv,bigwedge:Wv,bkarow:Hv,blacklozenge:jv,blacksquare:Gv,blacktriangle:Qv,blacktriangledown:Xv,blacktriangleleft:Yv,blacktriangleright:Zv,blank:Jv,blk12:Kv,blk14:e4,blk34:t4,block:r4,bne:n4,bnequiv:o4,bNot:a4,bnot:i4,Bopf:s4,bopf:c4,bot:u4,bottom:l4,bowtie:d4,boxbox:f4,boxdl:p4,boxdL:h4,boxDl:g4,boxDL:m4,boxdr:v4,boxdR:y4,boxDr:_4,boxDR:b4,boxh:S4,boxH:w4,boxhd:$4,boxHd:P4,boxhD:x4,boxHD:C4,boxhu:T4,boxHu:E4,boxhU:M4,boxHU:R4,boxminus:N4,boxplus:O4,boxtimes:L4,boxul:A4,boxuL:q4,boxUl:D4,boxUL:I4,boxur:k4,boxuR:F4,boxUr:V4,boxUR:z4,boxv:U4,boxV:B4,boxvh:W4,boxvH:H4,boxVh:j4,boxVH:G4,boxvl:Q4,boxvL:X4,boxVl:Y4,boxVL:Z4,boxvr:J4,boxvR:K4,boxVr:ey,boxVR:ty,bprime:ry,breve:ny,Breve:oy,brvbar:ay,bscr:iy,Bscr:sy,bsemi:cy,bsim:uy,bsime:ly,bsolb:dy,bsol:fy,bsolhsub:py,bull:hy,bullet:gy,bump:my,bumpE:vy,bumpe:yy,Bumpeq:_y,bumpeq:by,Cacute:Sy,cacute:wy,capand:$y,capbrcup:Py,capcap:xy,cap:Cy,Cap:Ty,capcup:Ey,capdot:My,CapitalDifferentialD:Ry,caps:Ny,caret:Oy,caron:Ly,Cayleys:Ay,ccaps:qy,Ccaron:Dy,ccaron:Iy,Ccedil:ky,ccedil:Fy,Ccirc:Vy,ccirc:zy,Cconint:Uy,ccups:By,ccupssm:Wy,Cdot:Hy,cdot:jy,cedil:Gy,Cedilla:Qy,cemptyv:Xy,cent:Yy,centerdot:Zy,CenterDot:Jy,cfr:Ky,Cfr:e_,CHcy:t_,chcy:r_,check:n_,checkmark:o_,Chi:a_,chi:i_,circ:s_,circeq:c_,circlearrowleft:u_,circlearrowright:l_,circledast:d_,circledcirc:f_,circleddash:p_,CircleDot:h_,circledR:g_,circledS:m_,CircleMinus:v_,CirclePlus:y_,CircleTimes:__,cir:b_,cirE:S_,cire:w_,cirfnint:$_,cirmid:P_,cirscir:x_,ClockwiseContourIntegral:C_,CloseCurlyDoubleQuote:T_,CloseCurlyQuote:E_,clubs:M_,clubsuit:R_,colon:N_,Colon:O_,Colone:L_,colone:A_,coloneq:q_,comma:D_,commat:I_,comp:k_,compfn:F_,complement:V_,complexes:z_,cong:U_,congdot:B_,Congruent:W_,conint:H_,Conint:j_,ContourIntegral:G_,copf:Q_,Copf:X_,coprod:Y_,Coproduct:Z_,copy:J_,COPY:K_,copysr:eb,CounterClockwiseContourIntegral:tb,crarr:rb,cross:nb,Cross:ob,Cscr:ab,cscr:ib,csub:sb,csube:cb,csup:ub,csupe:lb,ctdot:db,cudarrl:fb,cudarrr:pb,cuepr:hb,cuesc:gb,cularr:mb,cularrp:vb,cupbrcap:yb,cupcap:_b,CupCap:bb,cup:Sb,Cup:wb,cupcup:$b,cupdot:Pb,cupor:xb,cups:Cb,curarr:Tb,curarrm:Eb,curlyeqprec:Mb,curlyeqsucc:Rb,curlyvee:Nb,curlywedge:Ob,curren:Lb,curvearrowleft:Ab,curvearrowright:qb,cuvee:Db,cuwed:Ib,cwconint:kb,cwint:Fb,cylcty:Vb,dagger:zb,Dagger:Ub,daleth:Bb,darr:Wb,Darr:Hb,dArr:jb,dash:Gb,Dashv:Qb,dashv:Xb,dbkarow:Yb,dblac:Zb,Dcaron:Jb,dcaron:Kb,Dcy:eS,dcy:tS,ddagger:rS,ddarr:nS,DD:oS,dd:aS,DDotrahd:iS,ddotseq:sS,deg:cS,Del:uS,Delta:lS,delta:dS,demptyv:fS,dfisht:pS,Dfr:hS,dfr:gS,dHar:mS,dharl:vS,dharr:yS,DiacriticalAcute:_S,DiacriticalDot:bS,DiacriticalDoubleAcute:SS,DiacriticalGrave:wS,DiacriticalTilde:$S,diam:PS,diamond:xS,Diamond:CS,diamondsuit:TS,diams:ES,die:MS,DifferentialD:RS,digamma:NS,disin:OS,div:LS,divide:AS,divideontimes:qS,divonx:DS,DJcy:IS,djcy:kS,dlcorn:FS,dlcrop:VS,dollar:zS,Dopf:US,dopf:BS,Dot:WS,dot:HS,DotDot:jS,doteq:GS,doteqdot:QS,DotEqual:XS,dotminus:YS,dotplus:ZS,dotsquare:JS,doublebarwedge:KS,DoubleContourIntegral:ew,DoubleDot:tw,DoubleDownArrow:rw,DoubleLeftArrow:nw,DoubleLeftRightArrow:ow,DoubleLeftTee:aw,DoubleLongLeftArrow:iw,DoubleLongLeftRightArrow:sw,DoubleLongRightArrow:cw,DoubleRightArrow:uw,DoubleRightTee:lw,DoubleUpArrow:dw,DoubleUpDownArrow:fw,DoubleVerticalBar:pw,DownArrowBar:hw,downarrow:gw,DownArrow:mw,Downarrow:vw,DownArrowUpArrow:yw,DownBreve:_w,downdownarrows:bw,downharpoonleft:Sw,downharpoonright:ww,DownLeftRightVector:$w,DownLeftTeeVector:Pw,DownLeftVectorBar:xw,DownLeftVector:Cw,DownRightTeeVector:Tw,DownRightVectorBar:Ew,DownRightVector:Mw,DownTeeArrow:Rw,DownTee:Nw,drbkarow:Ow,drcorn:Lw,drcrop:Aw,Dscr:qw,dscr:Dw,DScy:Iw,dscy:kw,dsol:Fw,Dstrok:Vw,dstrok:zw,dtdot:Uw,dtri:Bw,dtrif:Ww,duarr:Hw,duhar:jw,dwangle:Gw,DZcy:Qw,dzcy:Xw,dzigrarr:Yw,Eacute:Zw,eacute:Jw,easter:Kw,Ecaron:e$,ecaron:t$,Ecirc:r$,ecirc:n$,ecir:o$,ecolon:a$,Ecy:i$,ecy:s$,eDDot:c$,Edot:u$,edot:l$,eDot:d$,ee:f$,efDot:p$,Efr:h$,efr:g$,eg:m$,Egrave:v$,egrave:y$,egs:_$,egsdot:b$,el:S$,Element:w$,elinters:$$,ell:P$,els:x$,elsdot:C$,Emacr:T$,emacr:E$,empty:M$,emptyset:R$,EmptySmallSquare:N$,emptyv:O$,EmptyVerySmallSquare:L$,emsp13:A$,emsp14:q$,emsp:D$,ENG:I$,eng:k$,ensp:F$,Eogon:V$,eogon:z$,Eopf:U$,eopf:B$,epar:W$,eparsl:H$,eplus:j$,epsi:G$,Epsilon:Q$,epsilon:X$,epsiv:Y$,eqcirc:Z$,eqcolon:J$,eqsim:K$,eqslantgtr:eP,eqslantless:tP,Equal:rP,equals:nP,EqualTilde:oP,equest:aP,Equilibrium:iP,equiv:sP,equivDD:cP,eqvparsl:uP,erarr:lP,erDot:dP,escr:fP,Escr:pP,esdot:hP,Esim:gP,esim:mP,Eta:vP,eta:yP,ETH:_P,eth:bP,Euml:SP,euml:wP,euro:$P,excl:PP,exist:xP,Exists:CP,expectation:TP,exponentiale:EP,ExponentialE:MP,fallingdotseq:RP,Fcy:NP,fcy:OP,female:LP,ffilig:AP,fflig:qP,ffllig:DP,Ffr:IP,ffr:kP,filig:FP,FilledSmallSquare:VP,FilledVerySmallSquare:zP,fjlig:UP,flat:BP,fllig:WP,fltns:HP,fnof:jP,Fopf:GP,fopf:QP,forall:XP,ForAll:YP,fork:ZP,forkv:JP,Fouriertrf:KP,fpartint:ex,frac12:tx,frac13:rx,frac14:nx,frac15:ox,frac16:ax,frac18:ix,frac23:sx,frac25:cx,frac34:ux,frac35:lx,frac38:dx,frac45:fx,frac56:px,frac58:hx,frac78:gx,frasl:mx,frown:vx,fscr:yx,Fscr:_x,gacute:bx,Gamma:Sx,gamma:wx,Gammad:$x,gammad:Px,gap:xx,Gbreve:Cx,gbreve:Tx,Gcedil:Ex,Gcirc:Mx,gcirc:Rx,Gcy:Nx,gcy:Ox,Gdot:Lx,gdot:Ax,ge:qx,gE:Dx,gEl:Ix,gel:kx,geq:Fx,geqq:Vx,geqslant:zx,gescc:Ux,ges:Bx,gesdot:Wx,gesdoto:Hx,gesdotol:jx,gesl:Gx,gesles:Qx,Gfr:Xx,gfr:Yx,gg:Zx,Gg:Jx,ggg:Kx,gimel:eC,GJcy:tC,gjcy:rC,gla:nC,gl:oC,glE:aC,glj:iC,gnap:sC,gnapprox:cC,gne:uC,gnE:lC,gneq:dC,gneqq:fC,gnsim:pC,Gopf:hC,gopf:gC,grave:mC,GreaterEqual:vC,GreaterEqualLess:yC,GreaterFullEqual:_C,GreaterGreater:bC,GreaterLess:SC,GreaterSlantEqual:wC,GreaterTilde:$C,Gscr:PC,gscr:xC,gsim:CC,gsime:TC,gsiml:EC,gtcc:MC,gtcir:RC,gt:NC,GT:OC,Gt:LC,gtdot:AC,gtlPar:qC,gtquest:DC,gtrapprox:IC,gtrarr:kC,gtrdot:FC,gtreqless:VC,gtreqqless:zC,gtrless:UC,gtrsim:BC,gvertneqq:WC,gvnE:HC,Hacek:jC,hairsp:GC,half:QC,hamilt:XC,HARDcy:YC,hardcy:ZC,harrcir:JC,harr:KC,hArr:eT,harrw:tT,Hat:rT,hbar:nT,Hcirc:oT,hcirc:aT,hearts:iT,heartsuit:sT,hellip:cT,hercon:uT,hfr:lT,Hfr:dT,HilbertSpace:fT,hksearow:pT,hkswarow:hT,hoarr:gT,homtht:mT,hookleftarrow:vT,hookrightarrow:yT,hopf:_T,Hopf:bT,horbar:ST,HorizontalLine:wT,hscr:$T,Hscr:PT,hslash:xT,Hstrok:CT,hstrok:TT,HumpDownHump:ET,HumpEqual:MT,hybull:RT,hyphen:NT,Iacute:OT,iacute:LT,ic:AT,Icirc:qT,icirc:DT,Icy:IT,icy:kT,Idot:FT,IEcy:VT,iecy:zT,iexcl:UT,iff:BT,ifr:WT,Ifr:HT,Igrave:jT,igrave:GT,ii:QT,iiiint:XT,iiint:YT,iinfin:ZT,iiota:JT,IJlig:KT,ijlig:eE,Imacr:tE,imacr:rE,image:nE,ImaginaryI:oE,imagline:aE,imagpart:iE,imath:sE,Im:cE,imof:uE,imped:lE,Implies:dE,incare:fE,in:"∈",infin:pE,infintie:hE,inodot:gE,intcal:mE,int:vE,Int:yE,integers:_E,Integral:bE,intercal:SE,Intersection:wE,intlarhk:$E,intprod:PE,InvisibleComma:xE,InvisibleTimes:CE,IOcy:TE,iocy:EE,Iogon:ME,iogon:RE,Iopf:NE,iopf:OE,Iota:LE,iota:AE,iprod:qE,iquest:DE,iscr:IE,Iscr:kE,isin:FE,isindot:VE,isinE:zE,isins:UE,isinsv:BE,isinv:WE,it:HE,Itilde:jE,itilde:GE,Iukcy:QE,iukcy:XE,Iuml:YE,iuml:ZE,Jcirc:JE,jcirc:KE,Jcy:eM,jcy:tM,Jfr:rM,jfr:nM,jmath:oM,Jopf:aM,jopf:iM,Jscr:sM,jscr:cM,Jsercy:uM,jsercy:lM,Jukcy:dM,jukcy:fM,Kappa:pM,kappa:hM,kappav:gM,Kcedil:mM,kcedil:vM,Kcy:yM,kcy:_M,Kfr:bM,kfr:SM,kgreen:wM,KHcy:$M,khcy:PM,KJcy:xM,kjcy:CM,Kopf:TM,kopf:EM,Kscr:MM,kscr:RM,lAarr:NM,Lacute:OM,lacute:LM,laemptyv:AM,lagran:qM,Lambda:DM,lambda:IM,lang:kM,Lang:FM,langd:VM,langle:zM,lap:UM,Laplacetrf:BM,laquo:WM,larrb:HM,larrbfs:jM,larr:GM,Larr:QM,lArr:XM,larrfs:YM,larrhk:ZM,larrlp:JM,larrpl:KM,larrsim:eR,larrtl:tR,latail:rR,lAtail:nR,lat:oR,late:aR,lates:iR,lbarr:sR,lBarr:cR,lbbrk:uR,lbrace:lR,lbrack:dR,lbrke:fR,lbrksld:pR,lbrkslu:hR,Lcaron:gR,lcaron:mR,Lcedil:vR,lcedil:yR,lceil:_R,lcub:bR,Lcy:SR,lcy:wR,ldca:$R,ldquo:PR,ldquor:xR,ldrdhar:CR,ldrushar:TR,ldsh:ER,le:MR,lE:RR,LeftAngleBracket:NR,LeftArrowBar:OR,leftarrow:LR,LeftArrow:AR,Leftarrow:qR,LeftArrowRightArrow:DR,leftarrowtail:IR,LeftCeiling:kR,LeftDoubleBracket:FR,LeftDownTeeVector:VR,LeftDownVectorBar:zR,LeftDownVector:UR,LeftFloor:BR,leftharpoondown:WR,leftharpoonup:HR,leftleftarrows:jR,leftrightarrow:GR,LeftRightArrow:QR,Leftrightarrow:XR,leftrightarrows:YR,leftrightharpoons:ZR,leftrightsquigarrow:JR,LeftRightVector:KR,LeftTeeArrow:eN,LeftTee:tN,LeftTeeVector:rN,leftthreetimes:nN,LeftTriangleBar:oN,LeftTriangle:aN,LeftTriangleEqual:iN,LeftUpDownVector:sN,LeftUpTeeVector:cN,LeftUpVectorBar:uN,LeftUpVector:lN,LeftVectorBar:dN,LeftVector:fN,lEg:pN,leg:hN,leq:gN,leqq:mN,leqslant:vN,lescc:yN,les:_N,lesdot:bN,lesdoto:SN,lesdotor:wN,lesg:$N,lesges:PN,lessapprox:xN,lessdot:CN,lesseqgtr:TN,lesseqqgtr:EN,LessEqualGreater:MN,LessFullEqual:RN,LessGreater:NN,lessgtr:ON,LessLess:LN,lesssim:AN,LessSlantEqual:qN,LessTilde:DN,lfisht:IN,lfloor:kN,Lfr:FN,lfr:VN,lg:zN,lgE:UN,lHar:BN,lhard:WN,lharu:HN,lharul:jN,lhblk:GN,LJcy:QN,ljcy:XN,llarr:YN,ll:ZN,Ll:JN,llcorner:KN,Lleftarrow:eO,llhard:tO,lltri:rO,Lmidot:nO,lmidot:oO,lmoustache:aO,lmoust:iO,lnap:sO,lnapprox:cO,lne:uO,lnE:lO,lneq:dO,lneqq:fO,lnsim:pO,loang:hO,loarr:gO,lobrk:mO,longleftarrow:vO,LongLeftArrow:yO,Longleftarrow:_O,longleftrightarrow:bO,LongLeftRightArrow:SO,Longleftrightarrow:wO,longmapsto:$O,longrightarrow:PO,LongRightArrow:xO,Longrightarrow:CO,looparrowleft:TO,looparrowright:EO,lopar:MO,Lopf:RO,lopf:NO,loplus:OO,lotimes:LO,lowast:AO,lowbar:qO,LowerLeftArrow:DO,LowerRightArrow:IO,loz:kO,lozenge:FO,lozf:VO,lpar:zO,lparlt:UO,lrarr:BO,lrcorner:WO,lrhar:HO,lrhard:jO,lrm:GO,lrtri:QO,lsaquo:XO,lscr:YO,Lscr:ZO,lsh:JO,Lsh:KO,lsim:eL,lsime:tL,lsimg:rL,lsqb:nL,lsquo:oL,lsquor:aL,Lstrok:iL,lstrok:sL,ltcc:cL,ltcir:uL,lt:lL,LT:dL,Lt:fL,ltdot:pL,lthree:hL,ltimes:gL,ltlarr:mL,ltquest:vL,ltri:yL,ltrie:_L,ltrif:bL,ltrPar:SL,lurdshar:wL,luruhar:$L,lvertneqq:PL,lvnE:xL,macr:CL,male:TL,malt:EL,maltese:ML,Map:"⤅",map:RL,mapsto:NL,mapstodown:OL,mapstoleft:LL,mapstoup:AL,marker:qL,mcomma:DL,Mcy:IL,mcy:kL,mdash:FL,mDDot:VL,measuredangle:zL,MediumSpace:UL,Mellintrf:BL,Mfr:WL,mfr:HL,mho:jL,micro:GL,midast:QL,midcir:XL,mid:YL,middot:ZL,minusb:JL,minus:KL,minusd:eA,minusdu:tA,MinusPlus:rA,mlcp:nA,mldr:oA,mnplus:aA,models:iA,Mopf:sA,mopf:cA,mp:uA,mscr:lA,Mscr:dA,mstpos:fA,Mu:pA,mu:hA,multimap:gA,mumap:mA,nabla:vA,Nacute:yA,nacute:_A,nang:bA,nap:SA,napE:wA,napid:$A,napos:PA,napprox:xA,natural:CA,naturals:TA,natur:EA,nbsp:MA,nbump:RA,nbumpe:NA,ncap:OA,Ncaron:LA,ncaron:AA,Ncedil:qA,ncedil:DA,ncong:IA,ncongdot:kA,ncup:FA,Ncy:VA,ncy:zA,ndash:UA,nearhk:BA,nearr:WA,neArr:HA,nearrow:jA,ne:GA,nedot:QA,NegativeMediumSpace:XA,NegativeThickSpace:YA,NegativeThinSpace:ZA,NegativeVeryThinSpace:JA,nequiv:KA,nesear:eq,nesim:tq,NestedGreaterGreater:rq,NestedLessLess:nq,NewLine:oq,nexist:aq,nexists:iq,Nfr:sq,nfr:cq,ngE:uq,nge:lq,ngeq:dq,ngeqq:fq,ngeqslant:pq,nges:hq,nGg:gq,ngsim:mq,nGt:vq,ngt:yq,ngtr:_q,nGtv:bq,nharr:Sq,nhArr:wq,nhpar:$q,ni:Pq,nis:xq,nisd:Cq,niv:Tq,NJcy:Eq,njcy:Mq,nlarr:Rq,nlArr:Nq,nldr:Oq,nlE:Lq,nle:Aq,nleftarrow:qq,nLeftarrow:Dq,nleftrightarrow:Iq,nLeftrightarrow:kq,nleq:Fq,nleqq:Vq,nleqslant:zq,nles:Uq,nless:Bq,nLl:Wq,nlsim:Hq,nLt:jq,nlt:Gq,nltri:Qq,nltrie:Xq,nLtv:Yq,nmid:Zq,NoBreak:Jq,NonBreakingSpace:Kq,nopf:eD,Nopf:tD,Not:rD,not:nD,NotCongruent:oD,NotCupCap:aD,NotDoubleVerticalBar:iD,NotElement:sD,NotEqual:cD,NotEqualTilde:uD,NotExists:lD,NotGreater:dD,NotGreaterEqual:fD,NotGreaterFullEqual:pD,NotGreaterGreater:hD,NotGreaterLess:gD,NotGreaterSlantEqual:mD,NotGreaterTilde:vD,NotHumpDownHump:yD,NotHumpEqual:_D,notin:bD,notindot:SD,notinE:wD,notinva:$D,notinvb:PD,notinvc:xD,NotLeftTriangleBar:CD,NotLeftTriangle:TD,NotLeftTriangleEqual:ED,NotLess:MD,NotLessEqual:RD,NotLessGreater:ND,NotLessLess:OD,NotLessSlantEqual:LD,NotLessTilde:AD,NotNestedGreaterGreater:qD,NotNestedLessLess:DD,notni:ID,notniva:kD,notnivb:FD,notnivc:VD,NotPrecedes:zD,NotPrecedesEqual:UD,NotPrecedesSlantEqual:BD,NotReverseElement:WD,NotRightTriangleBar:HD,NotRightTriangle:jD,NotRightTriangleEqual:GD,NotSquareSubset:QD,NotSquareSubsetEqual:XD,NotSquareSuperset:YD,NotSquareSupersetEqual:ZD,NotSubset:JD,NotSubsetEqual:KD,NotSucceeds:eI,NotSucceedsEqual:tI,NotSucceedsSlantEqual:rI,NotSucceedsTilde:nI,NotSuperset:oI,NotSupersetEqual:aI,NotTilde:iI,NotTildeEqual:sI,NotTildeFullEqual:cI,NotTildeTilde:uI,NotVerticalBar:lI,nparallel:dI,npar:fI,nparsl:pI,npart:hI,npolint:gI,npr:mI,nprcue:vI,nprec:yI,npreceq:_I,npre:bI,nrarrc:SI,nrarr:wI,nrArr:$I,nrarrw:PI,nrightarrow:xI,nRightarrow:CI,nrtri:TI,nrtrie:EI,nsc:MI,nsccue:RI,nsce:NI,Nscr:OI,nscr:LI,nshortmid:AI,nshortparallel:qI,nsim:DI,nsime:II,nsimeq:kI,nsmid:FI,nspar:VI,nsqsube:zI,nsqsupe:UI,nsub:BI,nsubE:WI,nsube:HI,nsubset:jI,nsubseteq:GI,nsubseteqq:QI,nsucc:XI,nsucceq:YI,nsup:ZI,nsupE:JI,nsupe:KI,nsupset:ek,nsupseteq:tk,nsupseteqq:rk,ntgl:nk,Ntilde:ok,ntilde:ak,ntlg:ik,ntriangleleft:sk,ntrianglelefteq:ck,ntriangleright:uk,ntrianglerighteq:lk,Nu:dk,nu:fk,num:pk,numero:hk,numsp:gk,nvap:mk,nvdash:vk,nvDash:yk,nVdash:_k,nVDash:bk,nvge:Sk,nvgt:wk,nvHarr:$k,nvinfin:Pk,nvlArr:xk,nvle:Ck,nvlt:Tk,nvltrie:Ek,nvrArr:Mk,nvrtrie:Rk,nvsim:Nk,nwarhk:Ok,nwarr:Lk,nwArr:Ak,nwarrow:qk,nwnear:Dk,Oacute:Ik,oacute:kk,oast:Fk,Ocirc:Vk,ocirc:zk,ocir:Uk,Ocy:Bk,ocy:Wk,odash:Hk,Odblac:jk,odblac:Gk,odiv:Qk,odot:Xk,odsold:Yk,OElig:Zk,oelig:Jk,ofcir:Kk,Ofr:eF,ofr:tF,ogon:rF,Ograve:nF,ograve:oF,ogt:aF,ohbar:iF,ohm:sF,oint:cF,olarr:uF,olcir:lF,olcross:dF,oline:fF,olt:pF,Omacr:hF,omacr:gF,Omega:mF,omega:vF,Omicron:yF,omicron:_F,omid:bF,ominus:SF,Oopf:wF,oopf:$F,opar:PF,OpenCurlyDoubleQuote:xF,OpenCurlyQuote:CF,operp:TF,oplus:EF,orarr:MF,Or:RF,or:NF,ord:OF,order:LF,orderof:AF,ordf:qF,ordm:DF,origof:IF,oror:kF,orslope:FF,orv:VF,oS:zF,Oscr:UF,oscr:BF,Oslash:WF,oslash:HF,osol:jF,Otilde:GF,otilde:QF,otimesas:XF,Otimes:YF,otimes:ZF,Ouml:JF,ouml:KF,ovbar:eV,OverBar:tV,OverBrace:rV,OverBracket:nV,OverParenthesis:oV,para:aV,parallel:iV,par:sV,parsim:cV,parsl:uV,part:lV,PartialD:dV,Pcy:fV,pcy:pV,percnt:hV,period:gV,permil:mV,perp:vV,pertenk:yV,Pfr:_V,pfr:bV,Phi:SV,phi:wV,phiv:$V,phmmat:PV,phone:xV,Pi:CV,pi:TV,pitchfork:EV,piv:MV,planck:RV,planckh:NV,plankv:OV,plusacir:LV,plusb:AV,pluscir:qV,plus:DV,plusdo:IV,plusdu:kV,pluse:FV,PlusMinus:VV,plusmn:zV,plussim:UV,plustwo:BV,pm:WV,Poincareplane:HV,pointint:jV,popf:GV,Popf:QV,pound:XV,prap:YV,Pr:ZV,pr:JV,prcue:KV,precapprox:ez,prec:tz,preccurlyeq:rz,Precedes:nz,PrecedesEqual:oz,PrecedesSlantEqual:az,PrecedesTilde:iz,preceq:sz,precnapprox:cz,precneqq:uz,precnsim:lz,pre:dz,prE:fz,precsim:pz,prime:hz,Prime:gz,primes:mz,prnap:vz,prnE:yz,prnsim:_z,prod:bz,Product:Sz,profalar:wz,profline:$z,profsurf:Pz,prop:xz,Proportional:Cz,Proportion:Tz,propto:Ez,prsim:Mz,prurel:Rz,Pscr:Nz,pscr:Oz,Psi:Lz,psi:Az,puncsp:qz,Qfr:Dz,qfr:Iz,qint:kz,qopf:Fz,Qopf:Vz,qprime:zz,Qscr:Uz,qscr:Bz,quaternions:Wz,quatint:Hz,quest:jz,questeq:Gz,quot:Qz,QUOT:Xz,rAarr:Yz,race:Zz,Racute:Jz,racute:Kz,radic:eU,raemptyv:tU,rang:rU,Rang:nU,rangd:oU,range:aU,rangle:iU,raquo:sU,rarrap:cU,rarrb:uU,rarrbfs:lU,rarrc:dU,rarr:fU,Rarr:pU,rArr:hU,rarrfs:gU,rarrhk:mU,rarrlp:vU,rarrpl:yU,rarrsim:_U,Rarrtl:bU,rarrtl:SU,rarrw:wU,ratail:$U,rAtail:PU,ratio:xU,rationals:CU,rbarr:TU,rBarr:EU,RBarr:MU,rbbrk:RU,rbrace:NU,rbrack:OU,rbrke:LU,rbrksld:AU,rbrkslu:qU,Rcaron:DU,rcaron:IU,Rcedil:kU,rcedil:FU,rceil:VU,rcub:zU,Rcy:UU,rcy:BU,rdca:WU,rdldhar:HU,rdquo:jU,rdquor:GU,rdsh:QU,real:XU,realine:YU,realpart:ZU,reals:JU,Re:KU,rect:eB,reg:tB,REG:rB,ReverseElement:nB,ReverseEquilibrium:oB,ReverseUpEquilibrium:aB,rfisht:iB,rfloor:sB,rfr:cB,Rfr:uB,rHar:lB,rhard:dB,rharu:fB,rharul:pB,Rho:hB,rho:gB,rhov:mB,RightAngleBracket:vB,RightArrowBar:yB,rightarrow:_B,RightArrow:bB,Rightarrow:SB,RightArrowLeftArrow:wB,rightarrowtail:$B,RightCeiling:PB,RightDoubleBracket:xB,RightDownTeeVector:CB,RightDownVectorBar:TB,RightDownVector:EB,RightFloor:MB,rightharpoondown:RB,rightharpoonup:NB,rightleftarrows:OB,rightleftharpoons:LB,rightrightarrows:AB,rightsquigarrow:qB,RightTeeArrow:DB,RightTee:IB,RightTeeVector:kB,rightthreetimes:FB,RightTriangleBar:VB,RightTriangle:zB,RightTriangleEqual:UB,RightUpDownVector:BB,RightUpTeeVector:WB,RightUpVectorBar:HB,RightUpVector:jB,RightVectorBar:GB,RightVector:QB,ring:XB,risingdotseq:YB,rlarr:ZB,rlhar:JB,rlm:KB,rmoustache:eW,rmoust:tW,rnmid:rW,roang:nW,roarr:oW,robrk:aW,ropar:iW,ropf:sW,Ropf:cW,roplus:uW,rotimes:lW,RoundImplies:dW,rpar:fW,rpargt:pW,rppolint:hW,rrarr:gW,Rrightarrow:mW,rsaquo:vW,rscr:yW,Rscr:_W,rsh:bW,Rsh:SW,rsqb:wW,rsquo:$W,rsquor:PW,rthree:xW,rtimes:CW,rtri:TW,rtrie:EW,rtrif:MW,rtriltri:RW,RuleDelayed:NW,ruluhar:OW,rx:LW,Sacute:AW,sacute:qW,sbquo:DW,scap:IW,Scaron:kW,scaron:FW,Sc:VW,sc:zW,sccue:UW,sce:BW,scE:WW,Scedil:HW,scedil:jW,Scirc:GW,scirc:QW,scnap:XW,scnE:YW,scnsim:ZW,scpolint:JW,scsim:KW,Scy:eH,scy:tH,sdotb:rH,sdot:nH,sdote:oH,searhk:aH,searr:iH,seArr:sH,searrow:cH,sect:uH,semi:lH,seswar:dH,setminus:fH,setmn:pH,sext:hH,Sfr:gH,sfr:mH,sfrown:vH,sharp:yH,SHCHcy:_H,shchcy:bH,SHcy:SH,shcy:wH,ShortDownArrow:$H,ShortLeftArrow:PH,shortmid:xH,shortparallel:CH,ShortRightArrow:TH,ShortUpArrow:EH,shy:MH,Sigma:RH,sigma:NH,sigmaf:OH,sigmav:LH,sim:AH,simdot:qH,sime:DH,simeq:IH,simg:kH,simgE:FH,siml:VH,simlE:zH,simne:UH,simplus:BH,simrarr:WH,slarr:HH,SmallCircle:jH,smallsetminus:GH,smashp:QH,smeparsl:XH,smid:YH,smile:ZH,smt:JH,smte:KH,smtes:ej,SOFTcy:tj,softcy:rj,solbar:nj,solb:oj,sol:aj,Sopf:ij,sopf:sj,spades:cj,spadesuit:uj,spar:lj,sqcap:dj,sqcaps:fj,sqcup:pj,sqcups:hj,Sqrt:gj,sqsub:mj,sqsube:vj,sqsubset:yj,sqsubseteq:_j,sqsup:bj,sqsupe:Sj,sqsupset:wj,sqsupseteq:$j,square:Pj,Square:xj,SquareIntersection:Cj,SquareSubset:Tj,SquareSubsetEqual:Ej,SquareSuperset:Mj,SquareSupersetEqual:Rj,SquareUnion:Nj,squarf:Oj,squ:Lj,squf:Aj,srarr:qj,Sscr:Dj,sscr:Ij,ssetmn:kj,ssmile:Fj,sstarf:Vj,Star:zj,star:Uj,starf:Bj,straightepsilon:Wj,straightphi:Hj,strns:jj,sub:Gj,Sub:Qj,subdot:Xj,subE:Yj,sube:Zj,subedot:Jj,submult:Kj,subnE:eG,subne:tG,subplus:rG,subrarr:nG,subset:oG,Subset:aG,subseteq:iG,subseteqq:sG,SubsetEqual:cG,subsetneq:uG,subsetneqq:lG,subsim:dG,subsub:fG,subsup:pG,succapprox:hG,succ:gG,succcurlyeq:mG,Succeeds:vG,SucceedsEqual:yG,SucceedsSlantEqual:_G,SucceedsTilde:bG,succeq:SG,succnapprox:wG,succneqq:$G,succnsim:PG,succsim:xG,SuchThat:CG,sum:TG,Sum:EG,sung:MG,sup1:RG,sup2:NG,sup3:OG,sup:LG,Sup:AG,supdot:qG,supdsub:DG,supE:IG,supe:kG,supedot:FG,Superset:VG,SupersetEqual:zG,suphsol:UG,suphsub:BG,suplarr:WG,supmult:HG,supnE:jG,supne:GG,supplus:QG,supset:XG,Supset:YG,supseteq:ZG,supseteqq:JG,supsetneq:KG,supsetneqq:eQ,supsim:tQ,supsub:rQ,supsup:nQ,swarhk:oQ,swarr:aQ,swArr:iQ,swarrow:sQ,swnwar:cQ,szlig:uQ,Tab:lQ,target:dQ,Tau:fQ,tau:pQ,tbrk:hQ,Tcaron:gQ,tcaron:mQ,Tcedil:vQ,tcedil:yQ,Tcy:_Q,tcy:bQ,tdot:SQ,telrec:wQ,Tfr:$Q,tfr:PQ,there4:xQ,therefore:CQ,Therefore:TQ,Theta:EQ,theta:MQ,thetasym:RQ,thetav:NQ,thickapprox:OQ,thicksim:LQ,ThickSpace:AQ,ThinSpace:qQ,thinsp:DQ,thkap:IQ,thksim:kQ,THORN:FQ,thorn:VQ,tilde:zQ,Tilde:UQ,TildeEqual:BQ,TildeFullEqual:WQ,TildeTilde:HQ,timesbar:jQ,timesb:GQ,times:QQ,timesd:XQ,tint:YQ,toea:ZQ,topbot:JQ,topcir:KQ,top:eX,Topf:tX,topf:rX,topfork:nX,tosa:oX,tprime:aX,trade:iX,TRADE:sX,triangle:cX,triangledown:uX,triangleleft:lX,trianglelefteq:dX,triangleq:fX,triangleright:pX,trianglerighteq:hX,tridot:gX,trie:mX,triminus:vX,TripleDot:yX,triplus:_X,trisb:bX,tritime:SX,trpezium:wX,Tscr:$X,tscr:PX,TScy:xX,tscy:CX,TSHcy:TX,tshcy:EX,Tstrok:MX,tstrok:RX,twixt:NX,twoheadleftarrow:OX,twoheadrightarrow:LX,Uacute:AX,uacute:qX,uarr:DX,Uarr:IX,uArr:kX,Uarrocir:FX,Ubrcy:VX,ubrcy:zX,Ubreve:UX,ubreve:BX,Ucirc:WX,ucirc:HX,Ucy:jX,ucy:GX,udarr:QX,Udblac:XX,udblac:YX,udhar:ZX,ufisht:JX,Ufr:KX,ufr:eY,Ugrave:tY,ugrave:rY,uHar:nY,uharl:oY,uharr:aY,uhblk:iY,ulcorn:sY,ulcorner:cY,ulcrop:uY,ultri:lY,Umacr:dY,umacr:fY,uml:pY,UnderBar:hY,UnderBrace:gY,UnderBracket:mY,UnderParenthesis:vY,Union:yY,UnionPlus:_Y,Uogon:bY,uogon:SY,Uopf:wY,uopf:$Y,UpArrowBar:PY,uparrow:xY,UpArrow:CY,Uparrow:TY,UpArrowDownArrow:EY,updownarrow:MY,UpDownArrow:RY,Updownarrow:NY,UpEquilibrium:OY,upharpoonleft:LY,upharpoonright:AY,uplus:qY,UpperLeftArrow:DY,UpperRightArrow:IY,upsi:kY,Upsi:FY,upsih:VY,Upsilon:zY,upsilon:UY,UpTeeArrow:BY,UpTee:WY,upuparrows:HY,urcorn:jY,urcorner:GY,urcrop:QY,Uring:XY,uring:YY,urtri:ZY,Uscr:JY,uscr:KY,utdot:eZ,Utilde:tZ,utilde:rZ,utri:nZ,utrif:oZ,uuarr:aZ,Uuml:iZ,uuml:sZ,uwangle:cZ,vangrt:uZ,varepsilon:lZ,varkappa:dZ,varnothing:fZ,varphi:pZ,varpi:hZ,varpropto:gZ,varr:mZ,vArr:vZ,varrho:yZ,varsigma:_Z,varsubsetneq:bZ,varsubsetneqq:SZ,varsupsetneq:wZ,varsupsetneqq:$Z,vartheta:PZ,vartriangleleft:xZ,vartriangleright:CZ,vBar:TZ,Vbar:EZ,vBarv:MZ,Vcy:RZ,vcy:NZ,vdash:OZ,vDash:LZ,Vdash:AZ,VDash:qZ,Vdashl:DZ,veebar:IZ,vee:kZ,Vee:FZ,veeeq:VZ,vellip:zZ,verbar:UZ,Verbar:BZ,vert:WZ,Vert:HZ,VerticalBar:jZ,VerticalLine:GZ,VerticalSeparator:QZ,VerticalTilde:XZ,VeryThinSpace:YZ,Vfr:ZZ,vfr:JZ,vltri:KZ,vnsub:eJ,vnsup:tJ,Vopf:rJ,vopf:nJ,vprop:oJ,vrtri:aJ,Vscr:iJ,vscr:sJ,vsubnE:cJ,vsubne:uJ,vsupnE:lJ,vsupne:dJ,Vvdash:fJ,vzigzag:pJ,Wcirc:hJ,wcirc:gJ,wedbar:mJ,wedge:vJ,Wedge:yJ,wedgeq:_J,weierp:bJ,Wfr:SJ,wfr:wJ,Wopf:$J,wopf:PJ,wp:xJ,wr:CJ,wreath:TJ,Wscr:EJ,wscr:MJ,xcap:RJ,xcirc:NJ,xcup:OJ,xdtri:LJ,Xfr:AJ,xfr:qJ,xharr:DJ,xhArr:IJ,Xi:kJ,xi:FJ,xlarr:VJ,xlArr:zJ,xmap:UJ,xnis:BJ,xodot:WJ,Xopf:HJ,xopf:jJ,xoplus:GJ,xotime:QJ,xrarr:XJ,xrArr:YJ,Xscr:ZJ,xscr:JJ,xsqcup:KJ,xuplus:eK,xutri:tK,xvee:rK,xwedge:nK,Yacute:oK,yacute:aK,YAcy:iK,yacy:sK,Ycirc:cK,ycirc:uK,Ycy:lK,ycy:dK,yen:fK,Yfr:pK,yfr:hK,YIcy:gK,yicy:mK,Yopf:vK,yopf:yK,Yscr:_K,yscr:bK,YUcy:SK,yucy:wK,yuml:$K,Yuml:PK,Zacute:xK,zacute:CK,Zcaron:TK,zcaron:EK,Zcy:MK,zcy:RK,Zdot:NK,zdot:OK,zeetrf:LK,ZeroWidthSpace:AK,Zeta:qK,zeta:DK,zfr:IK,Zfr:kK,ZHcy:FK,zhcy:VK,zigrarr:zK,zopf:UK,Zopf:BK,Zscr:WK,zscr:HK,zwj:jK,zwnj:GK},QK="Á",XK="á",YK="Â",ZK="â",JK="´",KK="Æ",eee="æ",tee="À",ree="à",nee="&",oee="&",aee="Å",iee="å",see="Ã",cee="ã",uee="Ä",lee="ä",dee="¦",fee="Ç",pee="ç",hee="¸",gee="¢",mee="©",vee="©",yee="¤",_ee="°",bee="÷",See="É",wee="é",$ee="Ê",Pee="ê",xee="È",Cee="è",Tee="Ð",Eee="ð",Mee="Ë",Ree="ë",Nee="½",Oee="¼",Lee="¾",Aee=">",qee=">",Dee="Í",Iee="í",kee="Î",Fee="î",Vee="¡",zee="Ì",Uee="ì",Bee="¿",Wee="Ï",Hee="ï",jee="«",Gee="<",Qee="<",Xee="¯",Yee="µ",Zee="·",Jee=" ",Kee="¬",ete="Ñ",tte="ñ",rte="Ó",nte="ó",ote="Ô",ate="ô",ite="Ò",ste="ò",cte="ª",ute="º",lte="Ø",dte="ø",fte="Õ",pte="õ",hte="Ö",gte="ö",mte="¶",vte="±",yte="£",_te='"',bte='"',Ste="»",wte="®",$te="®",Pte="§",xte="­",Cte="¹",Tte="²",Ete="³",Mte="ß",Rte="Þ",Nte="þ",Ote="×",Lte="Ú",Ate="ú",qte="Û",Dte="û",Ite="Ù",kte="ù",Fte="¨",Vte="Ü",zte="ü",Ute="Ý",Bte="ý",Wte="¥",Hte="ÿ",jte={Aacute:QK,aacute:XK,Acirc:YK,acirc:ZK,acute:JK,AElig:KK,aelig:eee,Agrave:tee,agrave:ree,amp:nee,AMP:oee,Aring:aee,aring:iee,Atilde:see,atilde:cee,Auml:uee,auml:lee,brvbar:dee,Ccedil:fee,ccedil:pee,cedil:hee,cent:gee,copy:mee,COPY:vee,curren:yee,deg:_ee,divide:bee,Eacute:See,eacute:wee,Ecirc:$ee,ecirc:Pee,Egrave:xee,egrave:Cee,ETH:Tee,eth:Eee,Euml:Mee,euml:Ree,frac12:Nee,frac14:Oee,frac34:Lee,gt:Aee,GT:qee,Iacute:Dee,iacute:Iee,Icirc:kee,icirc:Fee,iexcl:Vee,Igrave:zee,igrave:Uee,iquest:Bee,Iuml:Wee,iuml:Hee,laquo:jee,lt:Gee,LT:Qee,macr:Xee,micro:Yee,middot:Zee,nbsp:Jee,not:Kee,Ntilde:ete,ntilde:tte,Oacute:rte,oacute:nte,Ocirc:ote,ocirc:ate,Ograve:ite,ograve:ste,ordf:cte,ordm:ute,Oslash:lte,oslash:dte,Otilde:fte,otilde:pte,Ouml:hte,ouml:gte,para:mte,plusmn:vte,pound:yte,quot:_te,QUOT:bte,raquo:Ste,reg:wte,REG:$te,sect:Pte,shy:xte,sup1:Cte,sup2:Tte,sup3:Ete,szlig:Mte,THORN:Rte,thorn:Nte,times:Ote,Uacute:Lte,uacute:Ate,Ucirc:qte,ucirc:Dte,Ugrave:Ite,ugrave:kte,uml:Fte,Uuml:Vte,uuml:zte,Yacute:Ute,yacute:Bte,yen:Wte,yuml:Hte},Gte="&",Qte="'",Xte=">",Yte="<",Zte='"',Yl={amp:Gte,apos:Qte,gt:Xte,lt:Yte,quot:Zte};var Qi={};const Jte={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};var Kte=I&&I.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Qi,"__esModule",{value:!0});var Fc=Kte(Jte),ere=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function tre(e){return e>=55296&&e<=57343||e>1114111?"�":(e in Fc.default&&(e=Fc.default[e]),ere(e))}Qi.default=tre;var P1=I&&I.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ht,"__esModule",{value:!0});ht.decodeHTML=ht.decodeHTMLStrict=ht.decodeXML=void 0;var ci=P1(Xl),rre=P1(jte),nre=P1(Yl),Vc=P1(Qi),ore=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;ht.decodeXML=Zl(nre.default);ht.decodeHTMLStrict=Zl(ci.default);function Zl(e){var t=Jl(e);return function(r){return String(r).replace(ore,t)}}var zc=function(e,t){return e1?cre(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}function ure(e,t){return function(r){return r.replace(t,function(n){return e[n]}).replace(od,x1)}}var ad=new RegExp(td.source+"|"+od.source,"g");function lre(e){return e.replace(ad,x1)}qe.escape=lre;function dre(e){return e.replace(td,x1)}qe.escapeUTF8=dre;function id(e){return function(t){return t.replace(ad,function(r){return e[r]||x1(r)})}}(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=ht,r=qe;function n(l,d){return(!d||d<=0?t.decodeXML:t.decodeHTML)(l)}e.decode=n;function o(l,d){return(!d||d<=0?t.decodeXML:t.decodeHTMLStrict)(l)}e.decodeStrict=o;function i(l,d){return(!d||d<=0?r.encodeXML:r.encodeHTML)(l)}e.encode=i;var a=qe;Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return a.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return a.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return a.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return a.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return a.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return a.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return a.encodeHTML}});var c=ht;Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return c.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return c.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return c.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return c.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return c.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return c.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return c.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return c.decodeXML}})})(Ql);var Pr={};Object.defineProperty(Pr,"__esModule",{value:!0});Pr.attributeNames=Pr.elementNames=void 0;Pr.elementNames=new Map([["altglyph","altGlyph"],["altglyphdef","altGlyphDef"],["altglyphitem","altGlyphItem"],["animatecolor","animateColor"],["animatemotion","animateMotion"],["animatetransform","animateTransform"],["clippath","clipPath"],["feblend","feBlend"],["fecolormatrix","feColorMatrix"],["fecomponenttransfer","feComponentTransfer"],["fecomposite","feComposite"],["feconvolvematrix","feConvolveMatrix"],["fediffuselighting","feDiffuseLighting"],["fedisplacementmap","feDisplacementMap"],["fedistantlight","feDistantLight"],["fedropshadow","feDropShadow"],["feflood","feFlood"],["fefunca","feFuncA"],["fefuncb","feFuncB"],["fefuncg","feFuncG"],["fefuncr","feFuncR"],["fegaussianblur","feGaussianBlur"],["feimage","feImage"],["femerge","feMerge"],["femergenode","feMergeNode"],["femorphology","feMorphology"],["feoffset","feOffset"],["fepointlight","fePointLight"],["fespecularlighting","feSpecularLighting"],["fespotlight","feSpotLight"],["fetile","feTile"],["feturbulence","feTurbulence"],["foreignobject","foreignObject"],["glyphref","glyphRef"],["lineargradient","linearGradient"],["radialgradient","radialGradient"],["textpath","textPath"]]);Pr.attributeNames=new Map([["definitionurl","definitionURL"],["attributename","attributeName"],["attributetype","attributeType"],["basefrequency","baseFrequency"],["baseprofile","baseProfile"],["calcmode","calcMode"],["clippathunits","clipPathUnits"],["diffuseconstant","diffuseConstant"],["edgemode","edgeMode"],["filterunits","filterUnits"],["glyphref","glyphRef"],["gradienttransform","gradientTransform"],["gradientunits","gradientUnits"],["kernelmatrix","kernelMatrix"],["kernelunitlength","kernelUnitLength"],["keypoints","keyPoints"],["keysplines","keySplines"],["keytimes","keyTimes"],["lengthadjust","lengthAdjust"],["limitingconeangle","limitingConeAngle"],["markerheight","markerHeight"],["markerunits","markerUnits"],["markerwidth","markerWidth"],["maskcontentunits","maskContentUnits"],["maskunits","maskUnits"],["numoctaves","numOctaves"],["pathlength","pathLength"],["patterncontentunits","patternContentUnits"],["patterntransform","patternTransform"],["patternunits","patternUnits"],["pointsatx","pointsAtX"],["pointsaty","pointsAtY"],["pointsatz","pointsAtZ"],["preservealpha","preserveAlpha"],["preserveaspectratio","preserveAspectRatio"],["primitiveunits","primitiveUnits"],["refx","refX"],["refy","refY"],["repeatcount","repeatCount"],["repeatdur","repeatDur"],["requiredextensions","requiredExtensions"],["requiredfeatures","requiredFeatures"],["specularconstant","specularConstant"],["specularexponent","specularExponent"],["spreadmethod","spreadMethod"],["startoffset","startOffset"],["stddeviation","stdDeviation"],["stitchtiles","stitchTiles"],["surfacescale","surfaceScale"],["systemlanguage","systemLanguage"],["tablevalues","tableValues"],["targetx","targetX"],["targety","targetY"],["textlength","textLength"],["viewbox","viewBox"],["viewtarget","viewTarget"],["xchannelselector","xChannelSelector"],["ychannelselector","yChannelSelector"],["zoomandpan","zoomAndPan"]]);var yr=I&&I.__assign||function(){return yr=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&(n+=Yi(e.children,t)),(t.xmlMode||!Uc.has(e.name))&&(n+="")),n}function Sre(e){return"<"+e.data+">"}function wre(e,t){var r=e.data||"";return t.decodeEntities!==!1&&!(!t.xmlMode&&e.parent&&gre.has(e.parent.name))&&(r=sd.encodeXML(r)),r}function $re(e){return""}function Pre(e){return""}var xre=I&&I.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ae,"__esModule",{value:!0});Ae.innerText=Ae.textContent=Ae.getText=Ae.getInnerHTML=Ae.getOuterHTML=void 0;var it=Ye,Cre=xre(Gi),Tre=Xt;function ud(e,t){return(0,Cre.default)(e,t)}Ae.getOuterHTML=ud;function Ere(e,t){return(0,it.hasChildren)(e)?e.children.map(function(r){return ud(r,t)}).join(""):""}Ae.getInnerHTML=Ere;function Eo(e){return Array.isArray(e)?e.map(Eo).join(""):(0,it.isTag)(e)?e.name==="br"?` -`:Eo(e.children):(0,it.isCDATA)(e)?Eo(e.children):(0,it.isText)(e)?e.data:""}Ae.getText=Eo;function ui(e){return Array.isArray(e)?e.map(ui).join(""):(0,it.hasChildren)(e)&&!(0,it.isComment)(e)?ui(e.children):(0,it.isText)(e)?e.data:""}Ae.textContent=ui;function li(e){return Array.isArray(e)?e.map(li).join(""):(0,it.hasChildren)(e)&&(e.type===Tre.ElementType.Tag||(0,it.isCDATA)(e))?li(e.children):(0,it.isText)(e)?e.data:""}Ae.innerText=li;var ve={};Object.defineProperty(ve,"__esModule",{value:!0});ve.prevElementSibling=ve.nextElementSibling=ve.getName=ve.hasAttrib=ve.getAttributeValue=ve.getSiblings=ve.getParent=ve.getChildren=void 0;var ld=Ye,Mre=[];function dd(e){var t;return(t=e.children)!==null&&t!==void 0?t:Mre}ve.getChildren=dd;function fd(e){return e.parent||null}ve.getParent=fd;function Rre(e){var t,r,n=fd(e);if(n!=null)return dd(n);for(var o=[e],i=e.prev,a=e.next;i!=null;)o.unshift(i),t=i,i=t.prev;for(;a!=null;)o.push(a),r=a,a=r.next;return o}ve.getSiblings=Rre;function Nre(e,t){var r;return(r=e.attribs)===null||r===void 0?void 0:r[t]}ve.getAttributeValue=Nre;function Ore(e,t){return e.attribs!=null&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&e.attribs[t]!=null}ve.hasAttrib=Ore;function Lre(e){return e.name}ve.getName=Lre;function Are(e){for(var t,r=e.next;r!==null&&!(0,ld.isTag)(r);)t=r,r=t.next;return r}ve.nextElementSibling=Are;function qre(e){for(var t,r=e.prev;r!==null&&!(0,ld.isTag)(r);)t=r,r=t.prev;return r}ve.prevElementSibling=qre;var Oe={};Object.defineProperty(Oe,"__esModule",{value:!0});Oe.prepend=Oe.prependChild=Oe.append=Oe.appendChild=Oe.replaceElement=Oe.removeElement=void 0;function An(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}}Oe.removeElement=An;function Dre(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.prev=t);var o=t.parent=e.parent;if(o){var i=o.children;i[i.lastIndexOf(e)]=t}}Oe.replaceElement=Dre;function Ire(e,t){if(An(t),t.next=null,t.parent=e,e.children.push(t)>1){var r=e.children[e.children.length-2];r.next=t,t.prev=r}else t.prev=null}Oe.appendChild=Ire;function kre(e,t){An(t);var r=e.parent,n=e.next;if(t.next=n,t.prev=e,e.next=t,t.parent=r,n){if(n.prev=t,r){var o=r.children;o.splice(o.lastIndexOf(n),0,t)}}else r&&r.children.push(t)}Oe.append=kre;function Fre(e,t){if(An(t),t.parent=e,t.prev=null,e.children.unshift(t)!==1){var r=e.children[1];r.prev=t,t.next=r}else t.next=null}Oe.prependChild=Fre;function Vre(e,t){An(t);var r=e.parent;if(r){var n=r.children;n.splice(n.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}Oe.prepend=Vre;var xe={};Object.defineProperty(xe,"__esModule",{value:!0});xe.findAll=xe.existsOne=xe.findOne=xe.findOneChild=xe.find=xe.filter=void 0;var mn=Ye;function zre(e,t,r,n){return r===void 0&&(r=!0),n===void 0&&(n=1/0),Array.isArray(t)||(t=[t]),Zi(e,t,r,n)}xe.filter=zre;function Zi(e,t,r,n){for(var o=[],i=0,a=t;i0){var l=Zi(e,c.children,r,n);if(o.push.apply(o,l),n-=l.length,n<=0)break}}return o}xe.find=Zi;function Ure(e,t){return t.find(e)}xe.findOneChild=Ure;function pd(e,t,r){r===void 0&&(r=!0);for(var n=null,o=0;o0&&(n=pd(e,i.children));else continue}return n}xe.findOne=pd;function hd(e,t){return t.some(function(r){return(0,mn.isTag)(r)&&(e(r)||r.children.length>0&&hd(e,r.children))})}xe.existsOne=hd;function Bre(e,t){for(var r,n=[],o=t.filter(mn.isTag),i;i=o.shift();){var a=(r=i.children)===null||r===void 0?void 0:r.filter(mn.isTag);a&&a.length>0&&o.unshift.apply(o,a),e(i)&&n.push(i)}return n}xe.findAll=Bre;var De={};Object.defineProperty(De,"__esModule",{value:!0});De.getElementsByTagType=De.getElementsByTagName=De.getElementById=De.getElements=De.testElement=void 0;var zt=Ye,C1=xe,Do={tag_name:function(e){return typeof e=="function"?function(t){return(0,zt.isTag)(t)&&e(t.name)}:e==="*"?zt.isTag:function(t){return(0,zt.isTag)(t)&&t.name===e}},tag_type:function(e){return typeof e=="function"?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return typeof e=="function"?function(t){return(0,zt.isText)(t)&&e(t.data)}:function(t){return(0,zt.isText)(t)&&t.data===e}}};function gd(e,t){return typeof t=="function"?function(r){return(0,zt.isTag)(r)&&t(r.attribs[e])}:function(r){return(0,zt.isTag)(r)&&r.attribs[e]===t}}function Wre(e,t){return function(r){return e(r)||t(r)}}function md(e){var t=Object.keys(e).map(function(r){var n=e[r];return Object.prototype.hasOwnProperty.call(Do,r)?Do[r](n):gd(r,n)});return t.length===0?null:t.reduce(Wre)}function Hre(e,t){var r=md(e);return r?r(t):!0}De.testElement=Hre;function jre(e,t,r,n){n===void 0&&(n=1/0);var o=md(e);return o?(0,C1.filter)(o,t,r,n):[]}De.getElements=jre;function Gre(e,t,r){return r===void 0&&(r=!0),Array.isArray(t)||(t=[t]),(0,C1.findOne)(gd("id",e),t,r)}De.getElementById=Gre;function Qre(e,t,r,n){return r===void 0&&(r=!0),n===void 0&&(n=1/0),(0,C1.filter)(Do.tag_name(e),t,r,n)}De.getElementsByTagName=Qre;function Xre(e,t,r,n){return r===void 0&&(r=!0),n===void 0&&(n=1/0),(0,C1.filter)(Do.tag_type(e),t,r,n)}De.getElementsByTagType=Xre;var wt={};Object.defineProperty(wt,"__esModule",{value:!0});wt.uniqueSort=wt.compareDocumentPosition=wt.removeSubsets=void 0;var Bc=Ye;function Yre(e){for(var t=e.length;--t>=0;){var r=e[t];if(t>0&&e.lastIndexOf(r,t-1)>=0){e.splice(t,1);continue}for(var n=r.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e}wt.removeSubsets=Yre;function vd(e,t){var r=[],n=[];if(e===t)return 0;for(var o=(0,Bc.hasChildren)(e)?e:e.parent;o;)r.unshift(o),o=o.parent;for(o=(0,Bc.hasChildren)(t)?t:t.parent;o;)n.unshift(o),o=o.parent;for(var i=Math.min(r.length,n.length),a=0;al.indexOf(p)?c===t?20:4:c===e?10:2}wt.compareDocumentPosition=vd;function Zre(e){return e=e.filter(function(t,r,n){return!n.includes(t,r+1)}),e.sort(function(t,r){var n=vd(t,r);return n&2?-1:n&4?1:0}),e}wt.uniqueSort=Zre;var T1={};Object.defineProperty(T1,"__esModule",{value:!0});T1.getFeed=void 0;var Jre=Ae,qn=De;function Kre(e){var t=Io(one,e);return t?t.name==="feed"?ene(t):tne(t):null}T1.getFeed=Kre;function ene(e){var t,r=e.children,n={type:"atom",items:(0,qn.getElementsByTagName)("entry",r).map(function(a){var c,l=a.children,d={media:yd(l)};Ne(d,"id","id",l),Ne(d,"title","title",l);var p=(c=Io("link",l))===null||c===void 0?void 0:c.attribs.href;p&&(d.link=p);var v=Bt("summary",l)||Bt("content",l);v&&(d.description=v);var h=Bt("updated",l);return h&&(d.pubDate=new Date(h)),d})};Ne(n,"id","id",r),Ne(n,"title","title",r);var o=(t=Io("link",r))===null||t===void 0?void 0:t.attribs.href;o&&(n.link=o),Ne(n,"description","subtitle",r);var i=Bt("updated",r);return i&&(n.updated=new Date(i)),Ne(n,"author","email",r,!0),n}function tne(e){var t,r,n=(r=(t=Io("channel",e.children))===null||t===void 0?void 0:t.children)!==null&&r!==void 0?r:[],o={type:e.name.substr(0,3),id:"",items:(0,qn.getElementsByTagName)("item",e.children).map(function(a){var c=a.children,l={media:yd(c)};Ne(l,"id","guid",c),Ne(l,"title","title",c),Ne(l,"link","link",c),Ne(l,"description","description",c);var d=Bt("pubDate",c);return d&&(l.pubDate=new Date(d)),l})};Ne(o,"title","title",n),Ne(o,"link","link",n),Ne(o,"description","description",n);var i=Bt("lastBuildDate",n);return i&&(o.updated=new Date(i)),Ne(o,"author","managingEditor",n,!0),o}var rne=["url","type","lang"],nne=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function yd(e){return(0,qn.getElementsByTagName)("media:content",e).map(function(t){for(var r=t.attribs,n={medium:r.medium,isDefault:!!r.isDefault},o=0,i=rne;on(o)||t.ignoreNode(o,this.tagStack[this.tagStack.length-1]))}isIgnored(t){return this.ignoredTags[t.name]||this.ignoredTagsCount>-1}addNode(t){if(this.isIgnored(t)===!0)(0,Wc.isDomElement)(t)&&this.ignoredTagsCount++;else if(super.addNode(t),(0,Wc.isDomText)(t)){var r,n;(r=(n=this.visitors).onText)===null||r===void 0||r.call(n,t)}}ontext(t){this.ignoredTagsCount<0&&super.ontext(t)}onopentag(t,r){super.onopentag(t,r)}onclosetag(){var t,r;(t=(r=this.visitors).onElement)===null||t===void 0||t.call(r,this.tagStack[this.tagStack.length-1]),super.onclosetag(),this.ignoredTagsCount>-1&&this.ignoredTagsCount--}onend(){var t,r;(t=(r=this.visitors).onDocument)===null||t===void 0||t.call(r,this.root)}}E1.default=ine;Object.defineProperty(Wi,"__esModule",{value:!0});Wi.default=lne;var sne=jl,cne=une(E1);function une(e){return e&&e.__esModule?e:{default:e}}function lne(e,t={}){const r=new cne.default(t);return new sne.Parser(r,t).end(e),r.root}var xr={};Object.defineProperty(xr,"__esModule",{value:!0});xr.TStylesMerger=xr.emptyProcessedPropsReg=void 0;var _d=fne(e1),dne=Or;function bd(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(bd=function(n){return n?r:t})(e)}function fne(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=bd(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function kt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Sd=new _d.CSSProcessedProps;xr.emptyProcessedPropsReg=Sd;function Ha(e,t){let r={};for(const n in t)r[n]=e.compileStyleDeclaration(t[n]);return r}class pne{constructor(t,r,n){kt(this,"processor",void 0),kt(this,"tagsStyles",void 0),kt(this,"classesStyles",void 0),kt(this,"idsStyles",void 0),kt(this,"enableCSSInlineProcessing",void 0),kt(this,"enableUserAgentStyles",void 0),kt(this,"modelRegistry",void 0),this.processor=new _d.default(n),this.modelRegistry=r,this.classesStyles=Ha(this.processor,t.classesStyles),this.tagsStyles=Ha(this.processor,t.tagsStyles),this.idsStyles=Ha(this.processor,t.idsStyles),this.enableCSSInlineProcessing=t.enableCSSInlineProcessing,this.enableUserAgentStyles=t.enableUserAgentStyles}compileInlineCSS(t){return this.processor.compileInlineCSS(t)}compileStyleDeclaration(t){return this.processor.compileStyleDeclaration(t)}buildStyles(t,r,n){var o,i,a,c,l,d,p;const v=this.enableCSSInlineProcessing&&t?this.compileInlineCSS(t):null,h=n.tagName?this.modelRegistry.getElementModelFromTagName(n.tagName):null,N=(o=this.tagsStyles[n.tagName])!==null&&o!==void 0?o:null,T=(i=this.idsStyles[n.id])!==null&&i!==void 0?i:null,M=n.classes.map(F=>this.classesStyles[F]||null),D=this.enableUserAgentStyles&&(a=(c=(h==null||(l=h.getMixedUAStyles)===null||l===void 0?void 0:l.call(h,n,n.domNode))||null)!==null&&c!==void 0?c:h==null||(d=h.getUADerivedStyleFromAttributes)===null||d===void 0?void 0:d.call(h,n.attributes,n.markers))!==null&&a!==void 0?a:null,H=this.enableUserAgentStyles&&(p=h==null?void 0:h.mixedUAStyles)!==null&&p!==void 0?p:null,k=Sd.merge(H&&this.processor.compileStyleDeclaration(H),D&&this.processor.compileStyleDeclaration(D),N,...M,T,v);return new dne.TStyles(k,r)}}xr.TStylesMerger=pne;var M1={};Object.defineProperty(M1,"__esModule",{value:!0});M1.defaultStylesConfig=void 0;const hne={classesStyles:{},enableCSSInlineProcessing:!0,enableUserAgentStyles:!1,idsStyles:{},tagsStyles:{},baseStyle:{fontSize:14,whiteSpace:"normal"}};M1.defaultStylesConfig=hne;var R1={},Dn={};Object.defineProperty(Dn,"__esModule",{value:!0});Dn.default=void 0;var gne=$1,Hc=wd(ke),b=wd(Rr);function wd(e){return e&&e.__esModule?e:{default:e}}const jc="#245dc1",$d="#CCC",di=30,vn={marginTop:"1em",marginBottom:"1em"},mne={marginTop:".5em",marginBottom:".5em"},fi={textDecorationLine:"line-through"},Ut={fontStyle:"italic"},ln={fontFamily:"monospace"},ko={fontWeight:"bold"},Gc={...vn,marginLeft:di,marginRight:di},vne={color:jc,textDecorationLine:"underline",textDecorationColor:jc},yne={borderLeftWidth:2,borderLeftColor:$d},Qc={textDecorationLine:"underline",textDecorationStyle:"dotted"},Pd={textDecorationLine:"underline",textDecorationStyle:"solid"},ja={...vn,paddingLeft:30},go={whiteSpace:"pre",...ln,...vn};function pr(e,t){return{fontSize:e,marginTop:t,marginBottom:t,...ko}}const hr=({domNode:e})=>({native:{accessible:!0,accessibilityLabel:(0,gne.textContent)(e),accessibilityRole:"header"}}),xd=function({attributes:t}){if(typeof t.href=="string"&&t.href.length>0)return{native:{accessible:!0,accessibilityRole:"link"}}},_ne={address:b.default.fromNativeModel({category:"sectioning",tagName:"address",mixedUAStyles:Ut}),article:b.default.fromNativeModel({category:"sectioning",tagName:"article"}),aside:b.default.fromNativeModel({category:"sectioning",tagName:"aside"}),body:b.default.fromNativeModel({category:"sectioning",tagName:"body"}),footer:b.default.fromNativeModel({category:"sectioning",tagName:"footer"}),h1:b.default.fromNativeModel({category:"sectioning",tagName:"h1",mixedUAStyles:pr("2em",".67em"),getReactNativeProps:hr}),h2:b.default.fromNativeModel({category:"sectioning",tagName:"h2",mixedUAStyles:pr("1.5em",".83em"),getReactNativeProps:hr}),h3:b.default.fromNativeModel({category:"sectioning",tagName:"h3",mixedUAStyles:pr("1.17em","1em"),getReactNativeProps:hr}),h4:b.default.fromNativeModel({category:"sectioning",tagName:"h4",mixedUAStyles:pr("1em","1.33em"),getReactNativeProps:hr}),h5:b.default.fromNativeModel({category:"sectioning",tagName:"h5",mixedUAStyles:pr(".83em","1.67em"),getReactNativeProps:hr}),h6:b.default.fromNativeModel({category:"sectioning",tagName:"h6",mixedUAStyles:pr(".67em","2.33em"),getReactNativeProps:hr}),header:b.default.fromNativeModel({category:"sectioning",tagName:"header"}),hgroup:b.default.fromNativeModel({category:"sectioning",tagName:"hgroup"}),nav:b.default.fromNativeModel({category:"sectioning",tagName:"nav"}),section:b.default.fromNativeModel({category:"sectioning",tagName:"section"})},bne={area:b.default.fromNativeModel({tagName:"area",category:"untranslatable",isVoid:!0,getReactNativeProps:xd}),map:b.default.fromNativeModel({tagName:"map",category:"untranslatable"})},Sne={accesskey:b.default.fromNativeModel({tagName:"accesskey",category:"untranslatable"}),caption:b.default.fromNativeModel({tagName:"caption",category:"untranslatable"}),col:b.default.fromNativeModel({tagName:"col",category:"untranslatable",isVoid:!0}),colgroup:b.default.fromNativeModel({tagName:"colgroup",category:"untranslatable"}),datalist:b.default.fromNativeModel({tagName:"datalist",category:"untranslatable"}),source:b.default.fromNativeModel({tagName:"source",category:"untranslatable",isVoid:!0}),track:b.default.fromNativeModel({tagName:"track",category:"untranslatable",isVoid:!0}),optgroup:b.default.fromNativeModel({tagName:"optgroup",category:"untranslatable"}),option:b.default.fromNativeModel({tagName:"option",category:"untranslatable"}),param:b.default.fromNativeModel({tagName:"param",category:"untranslatable",isVoid:!0})},Cd={button:b.default.fromNativeModel({tagName:"button",category:"interactive",reactNativeProps:{native:{accessibilityRole:"button"}}}),fieldset:b.default.fromNativeModel({tagName:"fieldset",category:"interactive"}),form:b.default.fromNativeModel({tagName:"form",category:"interactive"}),input:b.default.fromNativeModel({tagName:"input",category:"interactive",isVoid:!0}),label:b.default.fromNativeModel({tagName:"label",category:"interactive"}),legend:b.default.fromNativeModel({tagName:"legend",category:"interactive"}),meter:b.default.fromNativeModel({tagName:"meter",category:"interactive"}),progress:b.default.fromNativeModel({tagName:"progress",category:"interactive"}),select:b.default.fromNativeModel({tagName:"select",category:"interactive",reactNativeProps:{native:{accessible:!0,accessibilityRole:"combobox"}}}),details:b.default.fromNativeModel({tagName:"details",category:"interactive"}),dialog:b.default.fromNativeModel({tagName:"dialog",category:"interactive"}),output:b.default.fromNativeModel({tagName:"output",category:"interactive"}),summary:b.default.fromNativeModel({tagName:"summary",category:"interactive"}),textarea:b.default.fromNativeModel({tagName:"textarea",category:"interactive"})},wne={base:b.default.fromNativeModel({tagName:"base",category:"untranslatable",isVoid:!0}),head:b.default.fromNativeModel({tagName:"head",category:"untranslatable",isOpaque:!0}),link:b.default.fromNativeModel({tagName:"link",category:"untranslatable",isVoid:!0}),meta:b.default.fromNativeModel({tagName:"meta",category:"untranslatable",isVoid:!0}),title:b.default.fromNativeModel({tagName:"title",category:"untranslatable"})},$ne={...Sne,...Cd,...bne,...wne},Pne={blockquote:b.default.fromNativeModel({tagName:"blockquote",category:"grouping",getMixedUAStyles:({attributes:e})=>{if(e.type==="cite")return yne},mixedUAStyles:Gc}),dd:b.default.fromNativeModel({tagName:"dd",category:"grouping",mixedUAStyles:{marginLeft:di}}),div:b.default.fromNativeModel({tagName:"div",category:"grouping"}),dl:b.default.fromNativeModel({tagName:"dl",category:"grouping",mixedUAStyles:vn}),dt:b.default.fromNativeModel({tagName:"dt",category:"grouping",mixedUAStyles:ko}),figcaption:b.default.fromNativeModel({tagName:"figcaption",category:"grouping",mixedUAStyles:{...Ut,textAlign:"center"}}),figure:b.default.fromNativeModel({tagName:"figure",category:"grouping",mixedUAStyles:Gc}),hr:b.default.fromNativeModel({tagName:"hr",category:"grouping",mixedUAStyles:{marginLeft:"auto",marginRight:"auto",height:1,width:"100%",backgroundColor:$d,...mne}}),li:b.default.fromNativeModel({tagName:"li",category:"grouping"}),main:b.default.fromNativeModel({tagName:"main",category:"grouping"}),menu:b.default.fromNativeModel({tagName:"menu",category:"grouping"}),ol:b.default.fromNativeModel({tagName:"ol",category:"grouping",mixedUAStyles:ja,setMarkersForTNode(e,t){e.olNestLevel=t.olNestLevel+1}}),p:b.default.fromNativeModel({tagName:"p",category:"grouping",mixedUAStyles:vn}),pre:b.default.fromNativeModel({tagName:"pre",category:"grouping",mixedUAStyles:go}),xmp:b.default.fromNativeModel({tagName:"xmp",category:"grouping",mixedUAStyles:go}),listing:b.default.fromNativeModel({tagName:"listing",category:"grouping",mixedUAStyles:go}),plaintext:b.default.fromNativeModel({tagName:"plaintext",category:"grouping",mixedUAStyles:go}),ul:b.default.fromNativeModel({tagName:"ul",category:"grouping",mixedUAStyles:ja,setMarkersForTNode(e,t){e.ulNestLevel=t.ulNestLevel+1}}),dir:b.default.fromNativeModel({tagName:"dir",category:"grouping",mixedUAStyles:ja})},xne={table:b.default.fromNativeModel({tagName:"table",category:"tabular"}),tbody:b.default.fromNativeModel({tagName:"tbody",category:"tabular"}),td:b.default.fromNativeModel({tagName:"td",category:"tabular",mixedUAStyles:{padding:2,flex:1}}),tfoot:b.default.fromNativeModel({tagName:"tfoot",category:"tabular"}),th:b.default.fromNativeModel({tagName:"th",category:"tabular",mixedUAStyles:{padding:2,flex:1,fontWeight:"bold"}}),thead:b.default.fromNativeModel({tagName:"thead",category:"tabular"}),tr:b.default.fromNativeModel({tagName:"tr",category:"tabular",mixedUAStyles:{flexDirection:"row",flexWrap:"nowrap"}})},Cne={img:b.default.fromNativeModel({tagName:"img",category:"embedded",isVoid:!0,getReactNativeProps({attributes:e},t){const r=e["aria-label"]||e.alt;return r&&(!(t!=null&&t.view)||t.view.accessibilityRole!=="none")?{native:{accessibilityLabel:r,accessibilityRole:"image"}}:{native:{accessibilityRole:"none"}}}}).extend({contentModel:Hc.default.block}),picture:b.default.fromNativeModel({tagName:"picture",category:"embedded",isOpaque:!1,isVoid:!1}).extend({contentModel:Hc.default.block})},Tne={audio:b.default.fromNativeModel({tagName:"audio",category:"embedded",isVoid:!1}),canvas:b.default.fromNativeModel({tagName:"canvas",category:"embedded",isVoid:!1}),embed:b.default.fromNativeModel({tagName:"embed",category:"embedded",isVoid:!0}),iframe:b.default.fromNativeModel({tagName:"iframe",category:"embedded",isVoid:!0}),math:b.default.fromNativeModel({tagName:"math",category:"embedded",isVoid:!1,isOpaque:!0}),object:b.default.fromNativeModel({tagName:"object",category:"embedded",isVoid:!1}),svg:b.default.fromNativeModel({tagName:"svg",category:"embedded",isVoid:!1,isOpaque:!0,getReactNativeProps({attributes:e}){return e["aria-label"]?{native:{accessibilityLabel:e["aria-label"],accessibilityRole:"image"}}:{native:{accessibilityRole:"none"}}}}),video:b.default.fromNativeModel({tagName:"video",category:"embedded",isVoid:!1})},Ene={ins:b.default.fromNativeModel({tagName:"ins",category:"edits",mixedUAStyles:Pd,setMarkersForTNode(e){e.edits="ins"}}),del:b.default.fromNativeModel({tagName:"del",category:"edits",mixedUAStyles:fi,setMarkersForTNode(e){e.edits="del"}})},Mne={em:b.default.fromNativeModel({tagName:"em",category:"textual",mixedUAStyles:Ut}),strong:b.default.fromNativeModel({tagName:"strong",category:"textual",mixedUAStyles:ko}),small:b.default.fromNativeModel({tagName:"small",category:"textual",mixedUAStyles:{fontSize:"smaller"}}),big:b.default.fromNativeModel({tagName:"big",category:"textual",mixedUAStyles:{fontSize:"larger"}}),s:b.default.fromNativeModel({tagName:"s",category:"textual",mixedUAStyles:fi}),strike:b.default.fromNativeModel({tagName:"strike",category:"textual",mixedUAStyles:fi}),cite:b.default.fromNativeModel({tagName:"cite",category:"textual",mixedUAStyles:Ut}),q:b.default.fromNativeModel({tagName:"q",category:"textual"}),dfn:b.default.fromNativeModel({tagName:"dfn",category:"textual",mixedUAStyles:Ut}),abbr:b.default.fromNativeModel({tagName:"abbr",category:"textual",mixedUAStyles:Qc}),acronym:b.default.fromNativeModel({tagName:"acronym",category:"textual",mixedUAStyles:Qc}),ruby:b.default.fromNativeModel({tagName:"ruby",category:"textual"}),rt:b.default.fromNativeModel({tagName:"rt",category:"textual"}),rp:b.default.fromNativeModel({tagName:"rp",category:"textual"}),data:b.default.fromNativeModel({tagName:"data",category:"textual"}),time:b.default.fromNativeModel({tagName:"time",category:"textual"}),code:b.default.fromNativeModel({tagName:"code",category:"textual",mixedUAStyles:ln}),tt:b.default.fromNativeModel({tagName:"tt",category:"textual",mixedUAStyles:ln}),var:b.default.fromNativeModel({tagName:"var",category:"textual",mixedUAStyles:Ut}),samp:b.default.fromNativeModel({tagName:"samp",category:"textual",mixedUAStyles:ln}),kbd:b.default.fromNativeModel({tagName:"kbd",category:"textual",mixedUAStyles:ln}),sub:b.default.fromNativeModel({tagName:"sub",category:"textual",mixedUAStyles:{textAlignVertical:"bottom",fontSize:"smaller"}}),sup:b.default.fromNativeModel({tagName:"sup",category:"textual",mixedUAStyles:{textAlignVertical:"top",fontSize:"smaller"}}),i:b.default.fromNativeModel({tagName:"i",category:"textual",mixedUAStyles:Ut}),b:b.default.fromNativeModel({tagName:"b",category:"textual",mixedUAStyles:ko}),u:b.default.fromNativeModel({tagName:"u",category:"textual",mixedUAStyles:Pd}),mark:b.default.fromNativeModel({tagName:"mark",category:"textual",mixedUAStyles:{backgroundColor:"yellow",color:"black"}}),bdi:b.default.fromNativeModel({tagName:"bdi",category:"textual"}),bdo:b.default.fromNativeModel({tagName:"bdo",category:"textual"}),span:b.default.fromNativeModel({tagName:"span",category:"textual"}),br:b.default.fromNativeModel({tagName:"br",category:"textual",isVoid:!0}),wbr:b.default.fromNativeModel({tagName:"wbr",category:"textual",isVoid:!0})},Rne={a:b.default.fromNativeModel({tagName:"a",category:"anchor",getMixedUAStyles:({attributes:e})=>{if(typeof e.href=="string")return vne},getReactNativeProps:xd,setMarkersForTNode(e){e.anchor=!0}}),...Mne,...Ene,...Cne,...Tne,...xne,...Pne,..._ne,...Cd,...$ne};var Nne=Rne;Dn.default=Nne;Object.defineProperty(R1,"__esModule",{value:!0});R1.default=void 0;var Xc=One(Dn);function One(e){return e&&e.__esModule?e:{default:e}}function Lne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Ane{constructor(t){Lne(this,"modelRecords",Xc.default),typeof t=="function"&&(this.modelRecords=t(Xc.default))}getElementModelFromTagName(t){return t in this.modelRecords?this.modelRecords[t]:null}}R1.default=Ane;Object.defineProperty(Ko,"__esModule",{value:!0});Ko.TRenderEngine=void 0;var qne=Ai,Dne=qi,Ine=Ir,kne=Ji(vg),Fne=e1,Vne=Ji(Wi),zne=xr,mo=M1,Une=Or,Bne=Ji(R1),vo=Nr;function Ji(e){return e&&e.__esModule?e:{default:e}}function nn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wne(e){var t,r;const o={...(typeof(e==null||(t=e.stylesConfig)===null||t===void 0?void 0:t.enableUserAgentStyles)=="boolean"?e.stylesConfig.enableUserAgentStyles:mo.defaultStylesConfig.enableUserAgentStyles)?mo.defaultStylesConfig.baseStyle:(0,kne.default)(["fontSize"],mo.defaultStylesConfig.baseStyle),...e==null||(r=e.stylesConfig)===null||r===void 0?void 0:r.baseStyle};return{...mo.defaultStylesConfig,...e==null?void 0:e.stylesConfig,baseStyle:o}}class Hne{constructor(t){var r,n,o,i;nn(this,"htmlParserOptions",void 0),nn(this,"dataFlowParams",void 0),nn(this,"hoistingEnabled",void 0),nn(this,"whitespaceCollapsingEnabled",void 0),nn(this,"selectDomRoot",void 0);const a=Wne(t);this.hoistingEnabled=!((r=t==null?void 0:t.dangerouslyDisableHoisting)!==null&&r!==void 0&&r),this.whitespaceCollapsingEnabled=!((n=t==null?void 0:t.dangerouslyDisableWhitespaceCollapsing)!==null&&n!==void 0&&n);const c=new Bne.default(t==null?void 0:t.customizeHTMLModels),l=(t==null||(o=t.cssProcessorConfig)===null||o===void 0?void 0:o.rootFontSize)||((i=a.baseStyle)===null||i===void 0?void 0:i.fontSize),d=new zne.TStylesMerger(a,c,{...Fne.defaultCSSProcessorConfig,...t==null?void 0:t.cssProcessorConfig,rootFontSize:typeof l=="number"?l:14});this.htmlParserOptions={decodeEntities:!0,lowerCaseTags:!0,ignoredTags:t==null?void 0:t.ignoredDomTags,ignoreNode:t==null?void 0:t.ignoreDomNode,visitors:t==null?void 0:t.domVisitors,...t==null?void 0:t.htmlParserOptions},this.dataFlowParams={stylesMerger:d,modelRegistry:c,setMarkersForTNode:t==null?void 0:t.setMarkersForTNode,baseStyles:new Une.TStyles(d.compileStyleDeclaration(a.baseStyle)),removeLineBreaksAroundEastAsianDiscardSet:(t==null?void 0:t.removeLineBreaksAroundEastAsianDiscardSet)||!1},this.selectDomRoot=t==null?void 0:t.selectDomRoot}normalizeDocument(t){let r,n;for(const o of t.children){if(r&&n)break;(0,vo.isDomElement)(o)&&o.tagName==="body"&&(r=o),(0,vo.isDomElement)(o)&&o.tagName==="head"&&(n=o)}return!r&&!n&&(r=new vo.Element("body",{}),r.childNodes=t.children,t.children.forEach(o=>{o.parent=r,o.parentNode=r}),r.parent=t,r.parentNode=t,t.childNodes=[r]),t}parseDocument(t){let r=(0,Vne.default)(t,this.htmlParserOptions);if(this.selectDomRoot){const n=this.selectDomRoot(r);n&&n!==r&&(r.childNodes=[n],n.parent=r)}for(const n of r.children)if((0,vo.isDomElement)(n)&&n.tagName==="html"){r=n;break}return this.normalizeDocument(r)}buildTTreeFromDoc(t){const r=(0,Ine.translateDocument)(t,this.dataFlowParams),n=this.hoistingEnabled?(0,Dne.hoist)(r):r;return this.whitespaceCollapsingEnabled?(0,qne.collapse)(n):r}buildTTree(t){return this.buildTTreeFromDoc(this.parseDocument(t))}getHTMLElementsModels(){return this.dataFlowParams.modelRegistry.modelRecords}}Ko.TRenderEngine=Hne;(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t={HTMLElementModel:!0,HTMLContentModel:!0,TRenderEngine:!0,defaultHTMLElementModels:!0};Object.defineProperty(e,"HTMLElementModel",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"HTMLContentModel",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"TRenderEngine",{enumerable:!0,get:function(){return c.TRenderEngine}}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return c.TRenderEngine}}),Object.defineProperty(e,"defaultHTMLElementModels",{enumerable:!0,get:function(){return l.default}});var r=B9;Object.keys(r).forEach(function(p){p==="default"||p==="__esModule"||Object.prototype.hasOwnProperty.call(t,p)||p in e&&e[p]===r[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return r[p]}})});var n=d(Rr),o=d(ke),i=Nr;Object.keys(i).forEach(function(p){p==="default"||p==="__esModule"||Object.prototype.hasOwnProperty.call(t,p)||p in e&&e[p]===i[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return i[p]}})});var a=Y9;Object.keys(a).forEach(function(p){p==="default"||p==="__esModule"||Object.prototype.hasOwnProperty.call(t,p)||p in e&&e[p]===a[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return a[p]}})});var c=Ko,l=d(Dn);function d(p){return p&&p.__esModule?p:{default:p}}})(Yo);Object.defineProperty(Xo,"__esModule",{value:!0});Xo.default=Qne;var jne=Gne(Yo);function Gne(e){return e&&e.__esModule?e:{default:e}}function Qne(e){const{allowedStyles:t,ignoredStyles:r=[],ignoredDomTags:n,ignoreDomNode:o,domVisitors:i,htmlParserOptions:a,baseStyle:c,classesStyles:l,tagsStyles:d,idsStyles:p,enableCSSInlineProcessing:v,enableUserAgentStyles:h,systemFonts:N=[],fallbackFonts:T={},customHTMLElementModels:E={},emSize:M,setMarkersForTNode:D,selectDomRoot:H,dangerouslyDisableHoisting:k,dangerouslyDisableWhitespaceCollapsing:F}=e,z=Object.keys(E).length?ee=>({...ee,...E}):void 0,Y={};N.forEach(ee=>{Y[ee]=!0});const oe=ee=>T[ee]?T[ee]:Y[ee]||!1;return new jne.default({customizeHTMLModels:z,cssProcessorConfig:{isFontSupported:oe,inlinePropertiesBlacklist:r,inlinePropertiesWhitelist:t,rootFontSize:M},htmlParserOptions:{decodeEntities:!0,...a},stylesConfig:{baseStyle:c,enableCSSInlineProcessing:v,enableUserAgentStyles:h,classesStyles:l,idsStyles:p,tagsStyles:d},ignoredDomTags:n,ignoreDomNode:o,domVisitors:i,setMarkersForTNode:D,selectDomRoot:H,dangerouslyDisableHoisting:k,dangerouslyDisableWhitespaceCollapsing:F})}var Et={};function Xne(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}var Ki=Xne,Yne=Ki;function Zne(e){return function t(r){return arguments.length===0||Yne(r)?t:e.apply(this,arguments)}}var er=Zne;function Jne(e){return e}var Kne=Jne,eoe=er,toe=Kne,roe=eoe(toe),noe=roe;Object.defineProperty(Et,"__esModule",{value:!0});Et.default=void 0;var ooe=aoe(noe);function aoe(e){return e&&e.__esModule?e:{default:e}}const ioe=function(){return ooe.default};var soe=ioe;Et.default=soe;Object.defineProperty(Ni,"__esModule",{value:!0});Ni.default=doe;var coe=L,uoe=Td(Xo),loe=Td(Et);function Td(e){return e&&e.__esModule?e:{default:e}}function doe({allowedStyles:e,baseStyle:t,classesStyles:r,customHTMLElementModels:n,dangerouslyDisableHoisting:o,dangerouslyDisableWhitespaceCollapsing:i,domVisitors:a,emSize:c,enableCSSInlineProcessing:l,enableUserAgentStyles:d,fallbackFonts:p,htmlParserOptions:v,idsStyles:h,ignoreDomNode:N,ignoredDomTags:T,ignoredStyles:E,selectDomRoot:M,setMarkersForTNode:D,systemFonts:H,tagsStyles:k}){const F=(0,loe.default)({name:"TRenderEngineProvider"});return(0,coe.useMemo)(()=>(0,uoe.default)({allowedStyles:e,baseStyle:t,classesStyles:r,customHTMLElementModels:n,dangerouslyDisableHoisting:o,dangerouslyDisableWhitespaceCollapsing:i,domVisitors:a,emSize:c,enableCSSInlineProcessing:l,enableUserAgentStyles:d,fallbackFonts:p,htmlParserOptions:v,idsStyles:h,ignoreDomNode:N,ignoredDomTags:T,ignoredStyles:E,selectDomRoot:M,setMarkersForTNode:D,systemFonts:H,tagsStyles:k}),[F,e,t,r,n,o,i,a,c,l,d,p,v,h,N,T,E,M,D,H,k])}var In={};Object.defineProperty(In,"__esModule",{value:!0});In.default=void 0;const foe=["Arial","Courier New","Georgia"];var poe=foe;In.default=poe;Object.defineProperty(Ie,"__esModule",{value:!0});Ie.useAmbientTRenderEngine=voe;Ie.default=ts;Ie.defaultTRenderEngineProviderProps=Ie.defaultFallbackFonts=Ie.tRenderEngineProviderPropTypes=void 0;var es=N1(L),Ga=ie,ae=N1(Go),hoe=N1(Ni),goe=N1(In);function N1(e){return e&&e.__esModule?e:{default:e}}const moe={},Ed=es.default.createContext(moe),Md={customHTMLElementModels:ae.default.object.isRequired,enableCSSInlineProcessing:ae.default.bool,enableUserAgentStyles:ae.default.bool,idsStyles:ae.default.object,ignoredDomTags:ae.default.array,ignoreDomNode:ae.default.func,domVisitors:ae.default.object,ignoredStyles:ae.default.array.isRequired,allowedStyles:ae.default.array,htmlParserOptions:ae.default.object,tagsStyles:ae.default.object,classesStyles:ae.default.object,emSize:ae.default.number.isRequired,baseStyle:ae.default.object,systemFonts:ae.default.arrayOf(ae.default.string),fallbackFonts:ae.default.shape({serif:ae.default.string,"sans-serif":ae.default.string,monospace:ae.default.string}),setMarkersForTNode:ae.default.func,dangerouslyDisableHoisting:ae.default.bool,dangerouslyDisableWhitespaceCollapsing:ae.default.bool,selectDomRoot:ae.default.func};Ie.tRenderEngineProviderPropTypes=Md;const Rd={"sans-serif":Ga.Platform.select({ios:"system",default:"sans-serif"}),monospace:Ga.Platform.select({ios:"Menlo",default:"monospace"}),serif:Ga.Platform.select({ios:"Times New Roman",default:"serif"})};Ie.defaultFallbackFonts=Rd;const Nd={htmlParserOptions:{decodeEntities:!0},emSize:14,ignoredDomTags:[],ignoredStyles:[],baseStyle:{fontSize:14},tagsStyles:{},classesStyles:{},enableUserAgentStyles:!0,enableCSSInlineProcessing:!0,customHTMLElementModels:{},fallbackFonts:Rd,systemFonts:goe.default};Ie.defaultTRenderEngineProviderProps=Nd;function voe(){return es.default.useContext(Ed)}function ts({children:e,...t}){const r=(0,hoe.default)(t);return es.default.createElement(Ed.Provider,{value:r},e)}ts.defaultProps=Nd;ts.propTypes=Md;var kr={},vt={},Qa=er,on=Ki;function yoe(e){return function t(r,n){switch(arguments.length){case 0:return t;case 1:return on(r)?t:Qa(function(o){return e(r,o)});default:return on(r)&&on(n)?t:on(r)?Qa(function(o){return e(o,n)}):on(n)?Qa(function(o){return e(r,o)}):e(r,n)}}}var Mt=yoe,yo=er,gr=Mt,we=Ki;function _oe(e){return function t(r,n,o){switch(arguments.length){case 0:return t;case 1:return we(r)?t:gr(function(i,a){return e(r,i,a)});case 2:return we(r)&&we(n)?t:we(r)?gr(function(i,a){return e(i,n,a)}):we(n)?gr(function(i,a){return e(r,i,a)}):yo(function(i){return e(r,n,i)});default:return we(r)&&we(n)&&we(o)?t:we(r)&&we(n)?gr(function(i,a){return e(i,a,o)}):we(r)&&we(o)?gr(function(i,a){return e(i,n,a)}):we(n)&&we(o)?gr(function(i,a){return e(r,i,a)}):we(r)?yo(function(i){return e(i,n,o)}):we(n)?yo(function(i){return e(r,i,o)}):we(o)?yo(function(i){return e(r,n,i)}):e(r,n,o)}}}var O1=_oe;function boe(e){return Object.prototype.toString.call(e)==="[object Object]"}var Soe=boe;function woe(e,t){return Object.prototype.hasOwnProperty.call(t,e)}var kn=woe,$oe=O1,_o=kn,Poe=$oe(function(t,r,n){var o={},i;for(i in r)_o(i,r)&&(o[i]=_o(i,n)?t(i,r[i],n[i]):r[i]);for(i in n)_o(i,n)&&!_o(i,o)&&(o[i]=n[i]);return o}),xoe=Poe,Coe=O1,Yc=Soe,Toe=xoe,Eoe=Coe(function e(t,r,n){return Toe(function(o,i,a){return Yc(i)&&Yc(a)?e(t,i,a):t(o,i,a)},r,n)}),Moe=Eoe,Roe=Mt,Noe=Moe,Ooe=Roe(function(t,r){return Noe(function(n,o,i){return i},t,r)}),Loe=Ooe,Fn={};Object.defineProperty(Fn,"__esModule",{value:!0});Fn.defaultAOnPress=Od;Fn.default=void 0;var Aoe=ie;async function Od(e,t){try{await Aoe.Linking.openURL(t)}catch(r){console.warn(`Could not open URL "${t}".`,r)}return null}const qoe={img:{initialDimensions:{height:50,width:50},enableExperimentalPercentWidth:!1},a:{onPress:Od},ol:{},ul:{}};var Doe=qoe;Fn.default=Doe;Object.defineProperty(vt,"__esModule",{value:!0});vt.useRendererProps=Voe;vt.default=zoe;var Fo=Foe(L),Ioe=rs(Loe),Ld=rs(Fn),koe=rs(Et);function rs(e){return e&&e.__esModule?e:{default:e}}function Ad(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Ad=function(n){return n?r:t})(e)}function Foe(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Ad(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}const qd=Fo.default.createContext(Ld.default);function Voe(e){return Fo.default.useContext(qd)[e]}function zoe(e){const t=(0,koe.default)({prop:"renderersProps"}),r=(0,Fo.useMemo)(()=>(0,Ioe.default)(Ld.default,e.renderersProps||{}),[e.renderersProps,t]);return Fo.default.createElement(qd.Provider,{value:r},e.children)}var Te={},Fr={};function pi(e,t,r,n){const o=e-Number(n);if(o<0)return;if(o=e;)i/=e,a++;return a}}function Vo(e){return e&&[...e].length||0}const Uoe=". ",Boe={suffix:Uoe,prefix:null,reversedMarker:!1,reversedCounter:!1,fallback:{renderCounter:e=>e.toString(),maxCounterLenInRange(e,t){return Math.max(this.renderCounter(e).length,this.renderCounter(t).length)}},negative:null,range:{min:-1/0,max:1/0},padding:null},Woe={maxLengthInRange(e,t){let r=0;for(let n=Math.max(0,e);n<=t;n++){const o=this.formatter(n);r=Math.max(Vo(o),r)}return r},withSpecs(e){const t=Object.create(this);return t.specs=Object.assign({},this.specs,e),t},withMaxLengthInRange(e){const t=Object.create(this);return t.maxLengthInRange=e,t}};function Hoe(e,t=Boe){const r=Object.create(Woe);return r.specs=t,r.formatter=e,r}function mr(e){return e&&e.length||0}function Xa(e){return Array.from(e).reverse().join("")}const joe={reverseCounter:!1,reversePrefix:!0,reverseSuffix:!0},Goe={getAbsoluteMaxLenInRange(e,t,r){var n;const o=this.engine.specs,i=o.range,a=Math.max(e,i.min),c=Math.min(t,i.max),l=Math.max(this.engine.maxLengthInRange(r?Math.abs(c):a,r?Math.abs(a):c)+(r&&o.negative?mr(o.negative.prefix)+mr(o.negative.suffix):0),((n=o==null?void 0:o.padding)===null||n===void 0?void 0:n.length)||0),d=a>e?o.fallback.maxCounterLenInRange(e,a-1):0,p=c=0?this.getAbsoluteMaxLenInRange(e,t,!1):t<=0?this.getAbsoluteMaxLenInRange(e,t,!0):Math.max(this.getAbsoluteMaxLenInRange(e,-1,!0),this.getAbsoluteMaxLenInRange(0,t,!1))},maxMarkerLenInRange(e,t){return tr.range.max)return r.fallback.renderCounter(e);const i=n&&e<0?mr(n.prefix)+mr(n.suffix):0;if(o=t(Math.sign(e)*e),typeof o>"u")return r.fallback.renderCounter(e);if(r.padding){const a=Vo(o)+i;if(ae(t,r,this.engine.maxLengthInRange.bind(this.engine))))}};function at(e){const t=Object.create(Goe);return t.engine=e,Object.freeze(t)}const bo=(e,t)=>(e%t+t)%t;function ot(e){return at(Hoe(e))}function So(e,t=0,r){return r=typeof r=="number"?r:e.length,e.slice(t,r+1).reduce((n,o)=>Math.max(n,o),0)}function Zc(e,t){return e.withMaxLengthComputer(ns(t,!1)).withNegative("-")}function Jc(e,t){return e.withMaxLengthComputer(ns(t,!0)).withRange(1,1/0)}const tr=Object.freeze({raw:e=>ot(e),cyclic:(...e)=>{const t=e.map(Vo),r=So(t);return(e.length===1?ot(()=>e[0]):ot(o=>e[bo(o-1,e.length)])).withMaxLengthComputer((o,i)=>r===1||i-o+1>=e.length?r:So(t,o-1,i-1))},fixed:(...e)=>{const t=e.map(Vo),r=So(t);return ot(n=>e[n-1]).withRange(1,e.length).withMaxLengthComputer((n,o)=>r===1?r:So(t,n-1,o-1))},symbolic:(...e)=>ot(t=>e[bo(t-1,e.length)].repeat(Math.ceil(t/e.length))).withRange(1,1/0).withMaxLengthComputer((t,r,n)=>n(rJc(ot(t=>{let r="";for(;t>0;)t--,r=e[bo(t,e.length)]+r,t=Math.floor(t/e.length);return r}),e.length),numeric:(...e)=>Zc(ot(t=>{if(t===0)return e[0];{let r="";for(;t>0;)r=e[bo(t,e.length)]+r,t=Math.floor(t/e.length);return r}}),e.length),numericFromUnicodeRange:(e,t)=>Zc(ot(r=>pi(r,e,t,!1)),t),alphabeticFromUnicodeRange:(e,t)=>Jc(ot(r=>pi(r,e,t,!0)),t),additive:e=>{const t=Object.keys(e).map(r=>parseInt(r,10)).sort((r,n)=>n-r);return ot(r=>{if(r===0)return e[0];let n="";for(const o of t)if(r>=o&&o>0){const i=Math.floor(r/o);n+=e[o].repeat(i),r-=i*o}return r===0?n:void 0}).withRange(t.length?t[t.length-1]:0,0 in e&&t.length===1?0:t.length?1/0:-1)}}),Qoe=Object.freeze(Object.defineProperty({__proto__:null,default:tr},Symbol.toStringTag,{value:"Module"})),Xoe=st(Qoe),Yoe=tr.raw(e=>e.toString()).withMaxLengthComputer(ns(10,!1)).withNegative("-"),Dd=Yoe,Zoe=Object.freeze(Object.defineProperty({__proto__:null,default:Dd},Symbol.toStringTag,{value:"Module"})),Joe=st(Zoe),Koe=Dd.withPadLeft(2,"0"),e1e=Object.freeze(Object.defineProperty({__proto__:null,default:Koe},Symbol.toStringTag,{value:"Module"})),t1e=st(e1e),r1e=tr.additive({1e3:"m",900:"cm",500:"d",400:"cd",100:"c",90:"xc",50:"l",40:"xl",10:"x",9:"ix",5:"v",4:"iv",1:"i"}).withRange(1,3999),n1e=Object.freeze(Object.defineProperty({__proto__:null,default:r1e},Symbol.toStringTag,{value:"Module"})),o1e=st(n1e),a1e=tr.alphabeticFromUnicodeRange(97,26),i1e=Object.freeze(Object.defineProperty({__proto__:null,default:a1e},Symbol.toStringTag,{value:"Module"})),s1e=st(i1e),c1e=tr.alphabeticFromUnicodeRange(945,24),u1e=Object.freeze(Object.defineProperty({__proto__:null,default:c1e},Symbol.toStringTag,{value:"Module"})),l1e=st(u1e),Kc=tr.alphabeticFromUnicodeRange(65,26),d1e=Object.freeze(Object.defineProperty({__proto__:null,default:Kc,upperAlpha:Kc},Symbol.toStringTag,{value:"Module"})),f1e=st(d1e),p1e=tr.additive({1e3:"M",900:"CM",500:"D",400:"CD",100:"C",90:"XC",50:"L",40:"XL",10:"X",9:"IX",5:"V",4:"IV",1:"I"}).withRange(1,3999),h1e=Object.freeze(Object.defineProperty({__proto__:null,default:p1e},Symbol.toStringTag,{value:"Module"})),g1e=st(h1e);var os={},rr={};Object.defineProperty(rr,"__esModule",{value:!0});rr.default=m1e;function m1e(e,t=1){const r=e.fontSize/(t*2.8);return{prefixSize:r,prefixStyle:{width:r,height:r,top:(e.lineHeight-r)/2}}}Object.defineProperty(os,"__esModule",{value:!0});os.default=b1e;var v1e=Id(L),y1e=ie,_1e=Id(rr);function Id(e){return e&&e.__esModule?e:{default:e}}function b1e(e){const{prefixStyle:{top:t},prefixSize:r}=(0,_1e.default)(e,1);return v1e.default.createElement(y1e.View,{style:{top:t,width:0,height:0,borderStyle:"solid",borderLeftWidth:r,borderLeftColor:e.color,borderTopWidth:r/2,borderTopColor:"transparent",borderBottomWidth:r/2,borderBottomColor:"transparent"}})}var as={};Object.defineProperty(as,"__esModule",{value:!0});as.default=P1e;var S1e=kd(L),w1e=ie,$1e=kd(rr);function kd(e){return e&&e.__esModule?e:{default:e}}function P1e(e){const{prefixStyle:{top:t},prefixSize:r}=(0,$1e.default)(e,1);return S1e.default.createElement(w1e.View,{style:{top:t,width:0,height:0,borderStyle:"solid",borderTopWidth:r,borderTopColor:e.color,borderLeftWidth:r/2,borderLeftColor:"transparent",borderRightWidth:r/2,borderRightColor:"transparent"}})}var is={};Object.defineProperty(is,"__esModule",{value:!0});is.default=E1e;var x1e=Fd(L),C1e=ie,T1e=Fd(rr);function Fd(e){return e&&e.__esModule?e:{default:e}}function E1e(e){const{prefixSize:t,prefixStyle:r}=(0,T1e.default)(e),n={borderColor:e.color,borderWidth:t/10,borderRadius:t,...r};return x1e.default.createElement(C1e.View,{style:n})}var ss={};Object.defineProperty(ss,"__esModule",{value:!0});ss.default=O1e;var M1e=Vd(L),R1e=ie,N1e=Vd(rr);function Vd(e){return e&&e.__esModule?e:{default:e}}function O1e(e){const{prefixSize:t,prefixStyle:r}=(0,N1e.default)(e),n={borderRadius:t,backgroundColor:e.color,...r};return M1e.default.createElement(R1e.View,{style:n})}var cs={};Object.defineProperty(cs,"__esModule",{value:!0});cs.default=D1e;var L1e=zd(L),A1e=ie,q1e=zd(rr);function zd(e){return e&&e.__esModule?e:{default:e}}function D1e(e){const{prefixStyle:t}=(0,q1e.default)(e,1.2);return L1e.default.createElement(A1e.View,{style:{backgroundColor:e.color,...t}})}Object.defineProperty(Fr,"__esModule",{value:!0});Fr.default=void 0;var Ud=ze(Xoe),I1e=ze(Joe),k1e=ze(t1e),F1e=ze(o1e),V1e=ze(s1e),z1e=ze(l1e),U1e=ze(f1e),B1e=ze(g1e),W1e=ze(os),H1e=ze(as),j1e=ze(is),G1e=ze(ss),Q1e=ze(cs);function ze(e){return e&&e.__esModule?e:{default:e}}const an=Ud.default.cyclic("*").withSuffix(" "),eu={type:"textual",counterStyleRenderer:V1e.default},tu={type:"textual",counterStyleRenderer:U1e.default},X1e={"decimal-leading-zero":{type:"textual",counterStyleRenderer:k1e.default},"disclosure-closed":{counterStyleRenderer:an,type:"unitary",Component:W1e.default},"disclosure-open":{counterStyleRenderer:an,type:"unitary",Component:H1e.default},"lower-alpha":eu,"lower-greek":{type:"textual",counterStyleRenderer:z1e.default},"lower-latin":eu,"lower-roman":{type:"textual",counterStyleRenderer:F1e.default},"upper-alpha":tu,"upper-latin":tu,"upper-roman":{type:"textual",counterStyleRenderer:B1e.default},circle:{counterStyleRenderer:an,type:"unitary",Component:j1e.default},decimal:{type:"textual",counterStyleRenderer:I1e.default},disc:{counterStyleRenderer:an,type:"unitary",Component:G1e.default},none:{counterStyleRenderer:Ud.default.symbolic("").withSuffix(null),type:"unitary",Component:()=>null},square:{counterStyleRenderer:an,type:"unitary",Component:Q1e.default}};var Y1e=X1e;Fr.default=Y1e;var L1={},Z1e=Mt,J1e=Z1e(function(t,r){var n={};for(var o in r)t(r[o],o,r)&&(n[o]=r[o]);return n}),K1e=J1e,eae=Mt,tae=eae(function(t,r){for(var n={},o=0;o=0&&Object.prototype.toString.call(t)==="[object Array]"};function aae(e){return Object.prototype.toString.call(e)==="[object String]"}var iae=aae,sae=er,cae=Wd,uae=iae,lae=sae(function(t){return cae(t)?!0:!t||typeof t!="object"||uae(t)?!1:t.nodeType===1?!!t.length:t.length===0?!0:t.length>0?t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1):!1}),dae=lae,fae=function(){function e(t){this.f=t}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(t){return t},e.prototype["@@transducer/step"]=function(t,r){return this.f(t,r)},e}();function pae(e){return new fae(e)}var hae=pae,gae=Bd,mae=Mt,vae=mae(function(t,r){return gae(t.length,function(){return t.apply(r,arguments)})}),yae=vae,_ae=dae,bae=hae,Sae=yae;function wae(e,t,r){for(var n=0,o=r.length;ne,WebView:rie,defaultWebViewProps:{},pressableHightlightColor:tie.DEFAULT_PRESSABLE_RIPPLE_COLOR,provideEmbeddedHeaders:void 0,GenericPressable:void 0,customListStyleSpecs:void 0};var oie=nie;Vn.default=oie;Object.defineProperty(L1,"__esModule",{value:!0});L1.default=void 0;var aie=zn(K1e),iie=zn(A1),sie=zn(Hae),cie=zn(Jae),au=zn(Vn);function zn(e){return e&&e.__esModule?e:{default:e}}const uie=(0,sie.default)((0,iie.default)(Object.keys(au.default)),(0,aie.default)(e=>e!=null),(0,cie.default)(au.default));var lie=uie;L1.default=lie;Object.defineProperty(Te,"__esModule",{value:!0});Te.useSharedProps=ls;Te.useDefaultContainerProps=pie;Te.useComputeMaxWidthForTag=hie;Te.default=gie;var yn=fie(L),die=us(Fr),iu=us(L1),hi=us(Vn);function us(e){return e&&e.__esModule?e:{default:e}}function Qd(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Qd=function(n){return n?r:t})(e)}function fie(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Qd(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}const Xd=yn.default.createContext(hi.default);function ls(){return yn.default.useContext(Xd)}function pie(){const e=ls();return{viewProps:{...hi.default.defaultViewProps,...e.defaultViewProps},textProps:{...hi.default.defaultTextProps,...e.defaultTextProps}}}function hie(e){const{computeEmbeddedMaxWidth:t}=ls();return(0,yn.useCallback)(r=>t(r,e),[t,e])}function gie(e){const t=(0,yn.useMemo)(()=>({...(0,iu.default)(e),customListStyleSpecs:{...die.default,...e.customListStyleSpecs}}),Object.values((0,iu.default)(e)));return yn.default.createElement(Xd.Provider,{value:t},e.children)}var Rt={};Object.defineProperty(Rt,"__esModule",{value:!0});Rt.useTNodeChildrenRenderer=vie;Rt.useTChildrenRenderer=yie;Rt.default=void 0;var ds=mie(L);function mie(e){return e&&e.__esModule?e:{default:e}}const fs=ds.default.createContext({TChildrenRenderer:null,TNodeChildrenRenderer:null});function vie(){return ds.default.useContext(fs).TNodeChildrenRenderer}function yie(){return ds.default.useContext(fs).TChildrenRenderer}var _ie=fs;Rt.default=_ie;var Vr={},xt={},q1={},Be={},ps={},hs={};Object.defineProperty(hs,"__esModule",{value:!0});hs.default=bie;function bie(e,t){return typeof e!="number"?t:{...t,marginTop:e}}var ut={},D1={},gs={};Object.defineProperty(gs,"__esModule",{value:!0});gs.default=Sie;function Sie(e,t){return!!e[t]}var I1={};Object.defineProperty(I1,"__esModule",{value:!0});I1.default=void 0;var Yd=wie(L),ms=ie;function wie(e){return e&&e.__esModule?e:{default:e}}const $ie={testID:"br"},Pie=ms.Platform.OS==="web";function xie(e){const t=e.styles.nativeTextFlow.lineHeight||e.styles.nativeTextFlow.fontSize*1.4;return Yd.default.createElement(ms.View,{style:{height:t}})}const Zd=function({renderIndex:t,renderLength:r,sharedProps:n,tnode:o}){const i=t===0,a=t===r-1,c=i&&a,l=n.enableExperimentalBRCollapsing&&(i?a&&!Pie:a);return c&&l?xie(o):Yd.default.createElement(ms.Text,$ie,l?"":` -`)};Zd.isNativeInternalTextRenderer=!0;var Cie=Zd;I1.default=Cie;var k1={};Object.defineProperty(k1,"__esModule",{value:!0});k1.default=void 0;var Tie=Mie(L),Eie=ie;function Mie(e){return e&&e.__esModule?e:{default:e}}const Rie={},Jd=function(){return Tie.default.createElement(Eie.Text,Rie,"​")};Jd.isNativeInternalTextRenderer=!0;var Nie=Jd;k1.default=Nie;var F1={},zr={},Un={},Nt={};Object.defineProperty(Nt,"__esModule",{value:!0});Nt.useDocumentMetadata=Aie;Nt.default=void 0;var Kd=Oie(L);function ef(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(ef=function(n){return n?r:t})(e)}function Oie(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=ef(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}const tf=Kd.default.createContext({baseUrl:"",baseTarget:"_self",lang:"en",links:[],meta:[],title:"",dir:"ltr"}),Lie=tf.Provider;function Aie(){return(0,Kd.useContext)(tf)}var qie=Lie;Nt.default=qie;var vs={},rf={exports:{}},dn={exports:{}};/*! https://mths.be/punycode v1.4.0 by @mathias */dn.exports;var su;function Die(){return su||(su=1,function(e,t){(function(r){var n=t&&!t.nodeType&&t,o=e&&!e.nodeType&&e,i=typeof I=="object"&&I;(i.global===i||i.window===i||i.self===i)&&(r=i);var a,c=2147483647,l=36,d=1,p=26,v=38,h=700,N=72,T=128,E="-",M=/^xn--/,D=/[^\x20-\x7E]/,H=/[\x2E\u3002\uFF0E\uFF61]/g,k={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},F=l-d,z=Math.floor,Y=String.fromCharCode,oe;function ee(P){throw new RangeError(k[P])}function _e(P,x){for(var U=P.length,R=[];U--;)R[U]=x(P[U]);return R}function be(P,x){var U=P.split("@"),R="";U.length>1&&(R=U[0]+"@",P=U[1]),P=P.replace(H,".");var X=P.split("."),G=_e(X,x).join(".");return R+G}function re(P){for(var x=[],U=0,R=P.length,X,G;U=55296&&X<=56319&&U65535&&(x-=65536,U+=Y(x>>>10&1023|55296),x=56320|x&1023),U+=Y(x),U}).join("")}function s(P){return P-48<10?P-22:P-65<26?P-65:P-97<26?P-97:l}function u(P,x){return P+22+75*(P<26)-((x!=0)<<5)}function f(P,x,U){var R=0;for(P=U?z(P/h):P>>1,P+=z(P/x);P>F*p>>1;R+=l)P=z(P/F);return z(R+(F+1)*P/(P+v))}function m(P){var x=[],U=P.length,R,X=0,G=T,j=N,ue,se,ce,je,ge,Ee,Le,tt,dt;for(ue=P.lastIndexOf(E),ue<0&&(ue=0),se=0;se=128&&ee("not-basic"),x.push(P.charCodeAt(se));for(ce=ue>0?ue+1:0;ce=U&&ee("invalid-input"),Le=s(P.charCodeAt(ce++)),(Le>=l||Le>z((c-X)/ge))&&ee("overflow"),X+=Le*ge,tt=Ee<=j?d:Ee>=j+p?p:Ee-j,!(Lez(c/dt)&&ee("overflow"),ge*=dt;R=x.length+1,j=f(X-je,R,je==0),z(X/R)>c-G&&ee("overflow"),G+=z(X/R),X%=R,x.splice(X++,0,G)}return te(x)}function _(P){var x,U,R,X,G,j,ue,se,ce,je,ge,Ee=[],Le,tt,dt,Yr;for(P=re(P),Le=P.length,x=T,U=0,G=N,j=0;j=x&&gez((c-U)/tt)&&ee("overflow"),U+=(ue-x)*tt,x=ue,j=0;jc&&ee("overflow"),ge==x){for(se=U,ce=l;je=ce<=G?d:ce>=G+p?p:ce-G,!(se-1},toString(){return this.snapshot()},setMarkers(e,t){var r,n,o;(r=this.elementModel)!==null&&r!==void 0&&r.setMarkersForTNode&&this.elementModel.setMarkersForTNode(e,t,this),y3(e,t,this),(n=(o=this.init.context).setMarkersForTNode)===null||n===void 0||n.call(o,e,t,this)},getReactNativeProps(){if(this.__nativeProps===!1){var e;const t=xc((e=this.elementModel)===null||e===void 0?void 0:e.reactNativeProps),r=this.__generateNativePropsFromTNode(),n=tn(t,r),o=this.__generateDynamicNativePropsFromModel(n);this.__nativeProps=tn(n,o)}return this.__nativeProps},initialize(e){var t;this.init=e,this.classes=((t=this.attributes.class)===null||t===void 0?void 0:t.split(/\s+/))||m3;const r=e.parent?e.parent.markers:Pc.default.extend();this.markers=r.extend(),this.setMarkers(this.markers,r,this),Object.keys(this.markers).length===0&&(this.markers=r),this.styles=e.styles||e.context.stylesMerger.buildStyles(this.attributes.style,this.parentStyles||null,this)}},Ll=function(t,r,n){this.type=t,this.displayName=r,n&&Object.defineProperties(this,n)};Ll.prototype=_3;var b3=Ll;Zt.default=b3;Object.defineProperty(Pt,"__esModule",{value:!0});Pt.TBlockCtor=Pt.default=void 0;var Cc=Al(ke),S3=Al(Zt);function Al(e){return e&&e.__esModule?e:{default:e}}const qr=function(t){this.initialize(t)};Pt.TBlockCtor=qr;qr.prototype=new S3.default("block","TBlock");qr.prototype.matchContentModel=function(t){return t===Cc.default.block||t===Cc.default.mixed};qr.prototype.collapseChildren=function(){let t=[];this.children.forEach((r,n)=>{r.collapse(),r.isEmpty()&&t.push(n)}),this.spliceChildren(t)};qr.prototype.getNativeStyles=function(){return this.__nativeStyles===!1&&(this.__nativeStyles={...this.styles.nativeBlockFlow,...this.styles.nativeBlockRet}),this.__nativeStyles};var w3=qr;Pt.default=w3;var Wt={};Object.defineProperty(Wt,"__esModule",{value:!0});Wt.TPhrasingCtor=Wt.default=void 0;var Tc=ql(ke),$3=ql(Zt);function ql(e){return e&&e.__esModule?e:{default:e}}function P3(e){return e.isEmpty()}const Dr=function(t){this.initialize(t)};Wt.TPhrasingCtor=Dr;Dr.prototype=new $3.default("phrasing","TPhrasing");Dr.prototype.matchContentModel=function(t){return t===Tc.default.textual||t===Tc.default.mixed};Dr.prototype.isEmpty=function(){return this.tagName===null&&this.children.every(P3)};Dr.prototype.collapseChildren=function(){let t=null;return this.children.forEach((r,n)=>{const o=n-1;r.collapse(),o>-1&&r.isCollapsibleLeft()&&t.isCollapsibleRight()&&r.trimLeft(),t=r}),this.trimLeft(),this.trimRight(),null};var x3=Dr;Wt.default=x3;var Ht={},Ct={};Object.defineProperty(Ct,"__esModule",{value:!0});Ct.removeCollapsibleAroundSegmentBreak=O3;Ct.removeConsecutiveSegmentBreaks=L3;Ct.normalizeZeroWidthWhitespaces=A3;Ct.removeLineBreaksAroundEastAsianDiscardSet=q3;Ct.replaceSegmentBreaks=D3;Ct.normalizeWhitespaces=I3;const C3=/[ \t]*[\r\n\f]+[ \t]*/g,T3=/[\r\n\f]+/g,E3=/(\u200b\n\u200b?|\u200b?\n\u200b)/g,M3=/([\u2E80-\u2EFF\u2F00-\u2FDF\u2FF0-\u2FFF\u3000-\u303F\u3040-\u309F\u30A0-\u30FF\u3130-\u318F\u3190-\u319F\u31C0-\u31EF\u31F0-\u31FF\u3300-\u33FF\u3400-\u4DBF\u4E00-\u9FFF\uA000-\uA48F\uA490-\uA4CF\uF900-\uFAFF\uFE10-\uFE1F\uFE30-\uFE4F\uFE50-\uFE6F\uFF00-\uFFEF])\n([\u2E80-\u2EFF\u2F00-\u2FDF\u2FF0-\u2FFF\u3000-\u303F\u3040-\u309F\u30A0-\u30FF\u3130-\u318F\u3190-\u319F\u31C0-\u31EF\u31F0-\u31FF\u3300-\u33FF\u3400-\u4DBF\u4E00-\u9FFF\uA000-\uA48F\uA490-\uA4CF\uF900-\uFAFF\uFE10-\uFE1F\uFE30-\uFE4F\uFE50-\uFE6F\uFF00-\uFFEF])/g,R3=/\n/g,N3=/[ \t]+/g;function O3(e){return e.replace(C3,` +`)}function L3(e){return e.replace(T3,` +`)}function A3(e){return e.replace(E3,"​")}function q3(e){return e.replace(M3,"$1$2")}function D3(e){return e.replace(R3," ")}function I3(e){return e.replace(N3," ")}Object.defineProperty(Ht,"__esModule",{value:!0});Ht.TTextCtor=Ht.default=void 0;var Ec=Bi(ke),Dl=Bi(Rl),Ge=Ct,k3=Bi(Zt);function Bi(e){return e&&e.__esModule?e:{default:e}}const F3=(0,Dl.default)(Ge.normalizeWhitespaces,Ge.replaceSegmentBreaks,Ge.normalizeZeroWidthWhitespaces,Ge.removeConsecutiveSegmentBreaks,Ge.removeCollapsibleAroundSegmentBreak),V3=(0,Dl.default)(Ge.normalizeWhitespaces,Ge.replaceSegmentBreaks,Ge.removeLineBreaksAroundEastAsianDiscardSet,Ge.normalizeZeroWidthWhitespaces,Ge.removeConsecutiveSegmentBreaks,Ge.removeCollapsibleAroundSegmentBreak),ct=function(t){this.initialize(t),this.isVoid=this.elementModel?this.elementModel.isVoid:!1};Ht.TTextCtor=ct;ct.prototype=new k3.default("text","TText",{data:{get(){return this.init.textNode.data},set(e){this.init.textNode.data=e}}});ct.prototype.matchContentModel=function(t){return t===Ec.default.textual||t===Ec.default.mixed};ct.prototype.isCollapsibleLeft=function(){return this.hasWhiteSpaceCollapsingEnabled&&!this.isEmpty()&&this.data[0]===" "};ct.prototype.isCollapsibleRight=function(){return this.hasWhiteSpaceCollapsingEnabled&&!this.isEmpty()&&(this.isVoid||this.data[this.data.length-1]===" ")};ct.prototype.isEmpty=function(){return this.tagName===null&&!this.data.length};ct.prototype.trimLeft=function(){this.isCollapsibleLeft()&&(this.data=this.data.slice(1))};ct.prototype.trimRight=function(){this.isCollapsibleRight()&&(this.data=this.data.substr(0,this.data.length-1))};ct.prototype.collapseChildren=function(){return this.hasWhiteSpaceCollapsingEnabled&&(this.init.context.removeLineBreaksAroundEastAsianDiscardSet?this.data=V3(this.data):this.data=F3(this.data)),null};var z3=ct;Ht.default=z3;Object.defineProperty(Ai,"__esModule",{value:!0});Ai.hoist=U3;var Ua=B3(Pt),To=Wt,Il=Ht;function B3(e){return e&&e.__esModule?e:{default:e}}function Mc(e){let t=[];const r={elementModel:null,context:e.init.context,parentStyles:e.styles,parent:null};let n=new To.TPhrasingCtor(r),o=[];for(const i of e.children)i instanceof Il.TTextCtor||i instanceof To.TPhrasingCtor?o.push(i):(o.length&&(t.push(n),n.bindChildren(o),n=new To.TPhrasingCtor(r),o=[]),t.push(i));return o.length&&(n.bindChildren(o),t.push(n)),e.bindChildren(t),e}function kl(e){if(e instanceof Il.TTextCtor)return e;if(e.bindChildren(e.children.map(kl)),e instanceof To.TPhrasingCtor){for(const t of e.children)if(t instanceof Ua.default){const r=new Ua.default(e.cloneInitParams());return r.bindChildren(e.children),Mc(r)}}else if(e instanceof Ua.default&&e.children.length>0)return Mc(e);return e}function U3(e){return kl(e)}var Ir={},wr={};Object.defineProperty(wr,"__esModule",{value:!0});wr.default=wr.TDocumentCtor=void 0;var W3=Fl(Rr),Rc=Nr,H3=Fl(Pt);function Fl(e){return e&&e.__esModule?e:{default:e}}const j3=Object.freeze({baseHref:"about:blank",baseTarget:"_self",charset:"utf-8",title:"",lang:"en",dir:"ltr",links:[],meta:[]});function Vl(){return Object.assign({},j3,{links:[],meta:[]})}function G3(e,t,r){const n=Vl();return t&&(n.lang=t),r&&(n.dir="rtl"),e.domNode.children.filter(Rc.isDomElement).forEach(a=>{if(a.tagName==="meta")a.attribs.name?n.meta.push(a.attribs):a.attribs.charset&&(n.charset=a.attribs.charset.toLowerCase());else if(a.tagName==="link")n.links.push(a.attribs);else if(a.tagName==="title")for(const c of a.children.filter(Rc.isDomText)){n.title=c.data.trim();break}else a.tagName==="base"&&(n.baseHref=a.attribs.href||n.baseHref,n.baseTarget=a.attribs.target||n.baseTarget)}),n}const Q3=W3.default.fromNativeModel({tagName:"html",category:"grouping"}),Tt=function(t){this.initialize(t)};wr.TDocumentCtor=Tt;Tt.prototype=Object.create(H3.default.prototype);Object.defineProperty(Tt.prototype,"tagName",{value:"html",writable:!1});Object.defineProperty(Tt.prototype,"type",{value:"document",writable:!1});Object.defineProperty(Tt.prototype,"displayName",{value:"TDocument",writable:!1});Object.defineProperty(Tt.prototype,"elementModel",{value:Q3,writable:!1});Tt.prototype.parseChildren=function(){let t;for(const r of this.children)if(r.tagName==="head"){t=r;break}this.context=Object.freeze(t?G3(t,this.attributes.lang,this.attributes.dir):{...Vl(),lang:this.attributes.lang,dir:this.attributes.dir})};var X3=Tt;wr.default=X3;var $r={};Object.defineProperty($r,"__esModule",{value:!0});$r.TEmptyCtor=$r.default=void 0;var Y3=zl(ke),Z3=zl(Zt);function zl(e){return e&&e.__esModule?e:{default:e}}const b1=function(t){this.initialize(t)};$r.TEmptyCtor=b1;b1.prototype=new Z3.default("empty","TEmpty");b1.prototype.matchContentModel=function(t){return t===Y3.default.none};var J3=b1;$r.default=J3;Object.defineProperty(Ir,"__esModule",{value:!0});Ir.mapNodeList=Bl;Ir.bindChildren=qo;Ir.translateNode=Ul;Ir.translateDocument=ng;var ii=Ht,K3=Wt,eg=Pt,tg=wr,Ao=Nr,Nc=$r;function Bl({nodeList:e,parent:t,parentStyles:r,params:n}){const o=[];for(const i in e){const a=e[i],c=Ul({node:a,parentStyles:r,params:n,nodeIndex:Number(i),parent:t});c&&o.push(c)}return o}function qo(e,t,r){(!e.elementModel||!e.elementModel.isOpaque)&&e.bindChildren(Bl({nodeList:t,parent:e,params:r}))}function rg({node:e,nodeIndex:t,params:r,parent:n,parentStyles:o}){const i=e.tagName,a={nodeIndex:t,parentStyles:o,context:r,domNode:e,parent:n},c=r.modelRegistry.getElementModelFromTagName(i);if(!c)return new Nc.TEmptyCtor({...a,isUnregistered:!0,elementModel:c,domNode:e});if(c.isTranslatableTextual()){if(e.children.length===1){const d=e.children[0];if((0,Ao.isDomText)(d))return new ii.TTextCtor({...a,elementModel:c,textNode:d,domNode:e})}else if(e.children.length===0)return new ii.TTextCtor({...a,elementModel:c,domNode:e,textNode:new Ao.Text("")});const l=new K3.TPhrasingCtor({...a,domNode:e,elementModel:c});return qo(l,e.children,r),l}if(c.isTranslatableBlock()){const l=new eg.TBlockCtor({...a,elementModel:c,parentStyles:o,domNode:e});return qo(l,e.children,r),l}return new Nc.TEmptyCtor({...a,isUnregistered:!1,elementModel:c,domNode:e})}function Ul({node:e,parentStyles:t,params:r,nodeIndex:n,parent:o}){return(0,Ao.isDomText)(e)?new ii.TTextCtor({textNode:e,context:r,parentStyles:t,domNode:null,elementModel:null,nodeIndex:n,parent:o}):(0,Ao.isDomElement)(e)?rg({node:e,parentStyles:t,params:r,nodeIndex:n,parent:o}):null}function ng(e,t){const r=new tg.TDocumentCtor({context:t,styles:t.baseStyles,domNode:e});return qo(r,e.children,t),r.parseChildren(),r}var og=ki,ag=og(function(t,r){for(var n={},o={},i=0,a=t.length;i65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function ug(e){var t;return e>=55296&&e<=57343||e>1114111?"�":cg((t=sg.get(e))!==null&&t!==void 0?t:e)}w1.default=ug;var Hl={},Wi={};Object.defineProperty(Wi,"__esModule",{value:!0});Wi.default=new Uint16Array([14866,60,237,340,721,1312,1562,1654,1838,1957,2183,2239,2301,2958,3037,3893,4123,4298,4330,4801,5191,5395,5752,5903,5943,5972,6050,0,0,0,0,0,0,6135,6565,7422,8183,8738,9242,9503,9938,10189,10573,10637,10715,11950,12246,13539,13950,14445,14533,15364,16514,16980,17390,17763,17849,18036,18125,4096,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,92,100,106,115,122,137,142,151,157,163,167,182,196,204,220,229,108,105,103,33024,198,59,32768,198,80,33024,38,59,32768,38,99,117,116,101,33024,193,59,32768,193,114,101,118,101,59,32768,258,512,105,121,127,134,114,99,33024,194,59,32768,194,59,32768,1040,114,59,32896,55349,56580,114,97,118,101,33024,192,59,32768,192,112,104,97,59,32768,913,97,99,114,59,32768,256,100,59,32768,10835,512,103,112,172,177,111,110,59,32768,260,102,59,32896,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,32768,8289,105,110,103,33024,197,59,32768,197,512,99,115,209,214,114,59,32896,55349,56476,105,103,110,59,32768,8788,105,108,100,101,33024,195,59,32768,195,109,108,33024,196,59,32768,196,2048,97,99,101,102,111,114,115,117,253,278,282,310,315,321,327,332,512,99,114,258,267,107,115,108,97,115,104,59,32768,8726,583,271,274,59,32768,10983,101,100,59,32768,8966,121,59,32768,1041,768,99,114,116,289,296,306,97,117,115,101,59,32768,8757,110,111,117,108,108,105,115,59,32768,8492,97,59,32768,914,114,59,32896,55349,56581,112,102,59,32896,55349,56633,101,118,101,59,32768,728,99,114,59,32768,8492,109,112,101,113,59,32768,8782,3584,72,79,97,99,100,101,102,104,105,108,111,114,115,117,368,373,380,426,461,466,487,491,495,533,593,695,701,707,99,121,59,32768,1063,80,89,33024,169,59,32768,169,768,99,112,121,387,393,419,117,116,101,59,32768,262,512,59,105,398,400,32768,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,32768,8517,108,101,121,115,59,32768,8493,1024,97,101,105,111,435,441,449,454,114,111,110,59,32768,268,100,105,108,33024,199,59,32768,199,114,99,59,32768,264,110,105,110,116,59,32768,8752,111,116,59,32768,266,512,100,110,471,478,105,108,108,97,59,32768,184,116,101,114,68,111,116,59,32768,183,114,59,32768,8493,105,59,32768,935,114,99,108,101,1024,68,77,80,84,508,513,520,526,111,116,59,32768,8857,105,110,117,115,59,32768,8854,108,117,115,59,32768,8853,105,109,101,115,59,32768,8855,111,512,99,115,539,562,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8754,101,67,117,114,108,121,512,68,81,573,586,111,117,98,108,101,81,117,111,116,101,59,32768,8221,117,111,116,101,59,32768,8217,1024,108,110,112,117,602,614,648,664,111,110,512,59,101,609,611,32768,8759,59,32768,10868,768,103,105,116,621,629,634,114,117,101,110,116,59,32768,8801,110,116,59,32768,8751,111,117,114,73,110,116,101,103,114,97,108,59,32768,8750,512,102,114,653,656,59,32768,8450,111,100,117,99,116,59,32768,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8755,111,115,115,59,32768,10799,99,114,59,32896,55349,56478,112,512,59,67,713,715,32768,8915,97,112,59,32768,8781,2816,68,74,83,90,97,99,101,102,105,111,115,743,758,763,768,773,795,809,821,826,910,1295,512,59,111,748,750,32768,8517,116,114,97,104,100,59,32768,10513,99,121,59,32768,1026,99,121,59,32768,1029,99,121,59,32768,1039,768,103,114,115,780,786,790,103,101,114,59,32768,8225,114,59,32768,8609,104,118,59,32768,10980,512,97,121,800,806,114,111,110,59,32768,270,59,32768,1044,108,512,59,116,815,817,32768,8711,97,59,32768,916,114,59,32896,55349,56583,512,97,102,831,897,512,99,109,836,891,114,105,116,105,99,97,108,1024,65,68,71,84,852,859,877,884,99,117,116,101,59,32768,180,111,581,864,867,59,32768,729,98,108,101,65,99,117,116,101,59,32768,733,114,97,118,101,59,32768,96,105,108,100,101,59,32768,732,111,110,100,59,32768,8900,102,101,114,101,110,116,105,97,108,68,59,32768,8518,2113,920,0,0,0,925,946,0,1139,102,59,32896,55349,56635,768,59,68,69,931,933,938,32768,168,111,116,59,32768,8412,113,117,97,108,59,32768,8784,98,108,101,1536,67,68,76,82,85,86,961,978,996,1080,1101,1125,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8751,111,1093,985,0,0,988,59,32768,168,110,65,114,114,111,119,59,32768,8659,512,101,111,1001,1034,102,116,768,65,82,84,1010,1017,1029,114,114,111,119,59,32768,8656,105,103,104,116,65,114,114,111,119,59,32768,8660,101,101,59,32768,10980,110,103,512,76,82,1041,1068,101,102,116,512,65,82,1049,1056,114,114,111,119,59,32768,10232,105,103,104,116,65,114,114,111,119,59,32768,10234,105,103,104,116,65,114,114,111,119,59,32768,10233,105,103,104,116,512,65,84,1089,1096,114,114,111,119,59,32768,8658,101,101,59,32768,8872,112,1042,1108,0,0,1115,114,114,111,119,59,32768,8657,111,119,110,65,114,114,111,119,59,32768,8661,101,114,116,105,99,97,108,66,97,114,59,32768,8741,110,1536,65,66,76,82,84,97,1152,1179,1186,1236,1272,1288,114,114,111,119,768,59,66,85,1163,1165,1170,32768,8595,97,114,59,32768,10515,112,65,114,114,111,119,59,32768,8693,114,101,118,101,59,32768,785,101,102,116,1315,1196,0,1209,0,1220,105,103,104,116,86,101,99,116,111,114,59,32768,10576,101,101,86,101,99,116,111,114,59,32768,10590,101,99,116,111,114,512,59,66,1229,1231,32768,8637,97,114,59,32768,10582,105,103,104,116,805,1245,0,1256,101,101,86,101,99,116,111,114,59,32768,10591,101,99,116,111,114,512,59,66,1265,1267,32768,8641,97,114,59,32768,10583,101,101,512,59,65,1279,1281,32768,8868,114,114,111,119,59,32768,8615,114,114,111,119,59,32768,8659,512,99,116,1300,1305,114,59,32896,55349,56479,114,111,107,59,32768,272,4096,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1344,1348,1354,1363,1386,1391,1396,1405,1413,1460,1475,1483,1514,1527,1531,1538,71,59,32768,330,72,33024,208,59,32768,208,99,117,116,101,33024,201,59,32768,201,768,97,105,121,1370,1376,1383,114,111,110,59,32768,282,114,99,33024,202,59,32768,202,59,32768,1069,111,116,59,32768,278,114,59,32896,55349,56584,114,97,118,101,33024,200,59,32768,200,101,109,101,110,116,59,32768,8712,512,97,112,1418,1423,99,114,59,32768,274,116,121,1060,1431,0,0,1444,109,97,108,108,83,113,117,97,114,101,59,32768,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9643,512,103,112,1465,1470,111,110,59,32768,280,102,59,32896,55349,56636,115,105,108,111,110,59,32768,917,117,512,97,105,1489,1504,108,512,59,84,1495,1497,32768,10869,105,108,100,101,59,32768,8770,108,105,98,114,105,117,109,59,32768,8652,512,99,105,1519,1523,114,59,32768,8496,109,59,32768,10867,97,59,32768,919,109,108,33024,203,59,32768,203,512,105,112,1543,1549,115,116,115,59,32768,8707,111,110,101,110,116,105,97,108,69,59,32768,8519,1280,99,102,105,111,115,1572,1576,1581,1620,1648,121,59,32768,1060,114,59,32896,55349,56585,108,108,101,100,1060,1591,0,0,1604,109,97,108,108,83,113,117,97,114,101,59,32768,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9642,1601,1628,0,1633,0,0,1639,102,59,32896,55349,56637,65,108,108,59,32768,8704,114,105,101,114,116,114,102,59,32768,8497,99,114,59,32768,8497,3072,74,84,97,98,99,100,102,103,111,114,115,116,1678,1683,1688,1701,1708,1729,1734,1739,1742,1748,1828,1834,99,121,59,32768,1027,33024,62,59,32768,62,109,109,97,512,59,100,1696,1698,32768,915,59,32768,988,114,101,118,101,59,32768,286,768,101,105,121,1715,1721,1726,100,105,108,59,32768,290,114,99,59,32768,284,59,32768,1043,111,116,59,32768,288,114,59,32896,55349,56586,59,32768,8921,112,102,59,32896,55349,56638,101,97,116,101,114,1536,69,70,71,76,83,84,1766,1783,1794,1803,1809,1821,113,117,97,108,512,59,76,1775,1777,32768,8805,101,115,115,59,32768,8923,117,108,108,69,113,117,97,108,59,32768,8807,114,101,97,116,101,114,59,32768,10914,101,115,115,59,32768,8823,108,97,110,116,69,113,117,97,108,59,32768,10878,105,108,100,101,59,32768,8819,99,114,59,32896,55349,56482,59,32768,8811,2048,65,97,99,102,105,111,115,117,1854,1861,1874,1880,1884,1897,1919,1934,82,68,99,121,59,32768,1066,512,99,116,1866,1871,101,107,59,32768,711,59,32768,94,105,114,99,59,32768,292,114,59,32768,8460,108,98,101,114,116,83,112,97,99,101,59,32768,8459,833,1902,0,1906,102,59,32768,8461,105,122,111,110,116,97,108,76,105,110,101,59,32768,9472,512,99,116,1924,1928,114,59,32768,8459,114,111,107,59,32768,294,109,112,533,1940,1950,111,119,110,72,117,109,112,59,32768,8782,113,117,97,108,59,32768,8783,3584,69,74,79,97,99,100,102,103,109,110,111,115,116,117,1985,1990,1996,2001,2010,2025,2030,2034,2043,2077,2134,2155,2160,2167,99,121,59,32768,1045,108,105,103,59,32768,306,99,121,59,32768,1025,99,117,116,101,33024,205,59,32768,205,512,105,121,2015,2022,114,99,33024,206,59,32768,206,59,32768,1048,111,116,59,32768,304,114,59,32768,8465,114,97,118,101,33024,204,59,32768,204,768,59,97,112,2050,2052,2070,32768,8465,512,99,103,2057,2061,114,59,32768,298,105,110,97,114,121,73,59,32768,8520,108,105,101,115,59,32768,8658,837,2082,0,2110,512,59,101,2086,2088,32768,8748,512,103,114,2093,2099,114,97,108,59,32768,8747,115,101,99,116,105,111,110,59,32768,8898,105,115,105,98,108,101,512,67,84,2120,2127,111,109,109,97,59,32768,8291,105,109,101,115,59,32768,8290,768,103,112,116,2141,2146,2151,111,110,59,32768,302,102,59,32896,55349,56640,97,59,32768,921,99,114,59,32768,8464,105,108,100,101,59,32768,296,828,2172,0,2177,99,121,59,32768,1030,108,33024,207,59,32768,207,1280,99,102,111,115,117,2193,2206,2211,2217,2232,512,105,121,2198,2203,114,99,59,32768,308,59,32768,1049,114,59,32896,55349,56589,112,102,59,32896,55349,56641,820,2222,0,2227,114,59,32896,55349,56485,114,99,121,59,32768,1032,107,99,121,59,32768,1028,1792,72,74,97,99,102,111,115,2253,2258,2263,2269,2283,2288,2294,99,121,59,32768,1061,99,121,59,32768,1036,112,112,97,59,32768,922,512,101,121,2274,2280,100,105,108,59,32768,310,59,32768,1050,114,59,32896,55349,56590,112,102,59,32896,55349,56642,99,114,59,32896,55349,56486,2816,74,84,97,99,101,102,108,109,111,115,116,2323,2328,2333,2374,2396,2775,2780,2797,2804,2934,2954,99,121,59,32768,1033,33024,60,59,32768,60,1280,99,109,110,112,114,2344,2350,2356,2360,2370,117,116,101,59,32768,313,98,100,97,59,32768,923,103,59,32768,10218,108,97,99,101,116,114,102,59,32768,8466,114,59,32768,8606,768,97,101,121,2381,2387,2393,114,111,110,59,32768,317,100,105,108,59,32768,315,59,32768,1051,512,102,115,2401,2702,116,2560,65,67,68,70,82,84,85,86,97,114,2423,2470,2479,2530,2537,2561,2618,2666,2683,2690,512,110,114,2428,2441,103,108,101,66,114,97,99,107,101,116,59,32768,10216,114,111,119,768,59,66,82,2451,2453,2458,32768,8592,97,114,59,32768,8676,105,103,104,116,65,114,114,111,119,59,32768,8646,101,105,108,105,110,103,59,32768,8968,111,838,2485,0,2498,98,108,101,66,114,97,99,107,101,116,59,32768,10214,110,805,2503,0,2514,101,101,86,101,99,116,111,114,59,32768,10593,101,99,116,111,114,512,59,66,2523,2525,32768,8643,97,114,59,32768,10585,108,111,111,114,59,32768,8970,105,103,104,116,512,65,86,2546,2553,114,114,111,119,59,32768,8596,101,99,116,111,114,59,32768,10574,512,101,114,2566,2591,101,768,59,65,86,2574,2576,2583,32768,8867,114,114,111,119,59,32768,8612,101,99,116,111,114,59,32768,10586,105,97,110,103,108,101,768,59,66,69,2604,2606,2611,32768,8882,97,114,59,32768,10703,113,117,97,108,59,32768,8884,112,768,68,84,86,2626,2638,2649,111,119,110,86,101,99,116,111,114,59,32768,10577,101,101,86,101,99,116,111,114,59,32768,10592,101,99,116,111,114,512,59,66,2659,2661,32768,8639,97,114,59,32768,10584,101,99,116,111,114,512,59,66,2676,2678,32768,8636,97,114,59,32768,10578,114,114,111,119,59,32768,8656,105,103,104,116,97,114,114,111,119,59,32768,8660,115,1536,69,70,71,76,83,84,2716,2730,2741,2750,2756,2768,113,117,97,108,71,114,101,97,116,101,114,59,32768,8922,117,108,108,69,113,117,97,108,59,32768,8806,114,101,97,116,101,114,59,32768,8822,101,115,115,59,32768,10913,108,97,110,116,69,113,117,97,108,59,32768,10877,105,108,100,101,59,32768,8818,114,59,32896,55349,56591,512,59,101,2785,2787,32768,8920,102,116,97,114,114,111,119,59,32768,8666,105,100,111,116,59,32768,319,768,110,112,119,2811,2899,2904,103,1024,76,82,108,114,2821,2848,2860,2887,101,102,116,512,65,82,2829,2836,114,114,111,119,59,32768,10229,105,103,104,116,65,114,114,111,119,59,32768,10231,105,103,104,116,65,114,114,111,119,59,32768,10230,101,102,116,512,97,114,2868,2875,114,114,111,119,59,32768,10232,105,103,104,116,97,114,114,111,119,59,32768,10234,105,103,104,116,97,114,114,111,119,59,32768,10233,102,59,32896,55349,56643,101,114,512,76,82,2911,2922,101,102,116,65,114,114,111,119,59,32768,8601,105,103,104,116,65,114,114,111,119,59,32768,8600,768,99,104,116,2941,2945,2948,114,59,32768,8466,59,32768,8624,114,111,107,59,32768,321,59,32768,8810,2048,97,99,101,102,105,111,115,117,2974,2978,2982,3007,3012,3022,3028,3033,112,59,32768,10501,121,59,32768,1052,512,100,108,2987,2998,105,117,109,83,112,97,99,101,59,32768,8287,108,105,110,116,114,102,59,32768,8499,114,59,32896,55349,56592,110,117,115,80,108,117,115,59,32768,8723,112,102,59,32896,55349,56644,99,114,59,32768,8499,59,32768,924,2304,74,97,99,101,102,111,115,116,117,3055,3060,3067,3089,3201,3206,3874,3880,3889,99,121,59,32768,1034,99,117,116,101,59,32768,323,768,97,101,121,3074,3080,3086,114,111,110,59,32768,327,100,105,108,59,32768,325,59,32768,1053,768,103,115,119,3096,3160,3194,97,116,105,118,101,768,77,84,86,3108,3121,3145,101,100,105,117,109,83,112,97,99,101,59,32768,8203,104,105,512,99,110,3128,3137,107,83,112,97,99,101,59,32768,8203,83,112,97,99,101,59,32768,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,32768,8203,116,101,100,512,71,76,3168,3184,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32768,8811,101,115,115,76,101,115,115,59,32768,8810,76,105,110,101,59,32768,10,114,59,32896,55349,56593,1024,66,110,112,116,3215,3222,3238,3242,114,101,97,107,59,32768,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,32768,160,102,59,32768,8469,3328,59,67,68,69,71,72,76,78,80,82,83,84,86,3269,3271,3293,3312,3352,3430,3455,3551,3589,3625,3678,3821,3861,32768,10988,512,111,117,3276,3286,110,103,114,117,101,110,116,59,32768,8802,112,67,97,112,59,32768,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,32768,8742,768,108,113,120,3319,3327,3345,101,109,101,110,116,59,32768,8713,117,97,108,512,59,84,3335,3337,32768,8800,105,108,100,101,59,32896,8770,824,105,115,116,115,59,32768,8708,114,101,97,116,101,114,1792,59,69,70,71,76,83,84,3373,3375,3382,3394,3404,3410,3423,32768,8815,113,117,97,108,59,32768,8817,117,108,108,69,113,117,97,108,59,32896,8807,824,114,101,97,116,101,114,59,32896,8811,824,101,115,115,59,32768,8825,108,97,110,116,69,113,117,97,108,59,32896,10878,824,105,108,100,101,59,32768,8821,117,109,112,533,3437,3448,111,119,110,72,117,109,112,59,32896,8782,824,113,117,97,108,59,32896,8783,824,101,512,102,115,3461,3492,116,84,114,105,97,110,103,108,101,768,59,66,69,3477,3479,3485,32768,8938,97,114,59,32896,10703,824,113,117,97,108,59,32768,8940,115,1536,59,69,71,76,83,84,3506,3508,3515,3524,3531,3544,32768,8814,113,117,97,108,59,32768,8816,114,101,97,116,101,114,59,32768,8824,101,115,115,59,32896,8810,824,108,97,110,116,69,113,117,97,108,59,32896,10877,824,105,108,100,101,59,32768,8820,101,115,116,101,100,512,71,76,3561,3578,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32896,10914,824,101,115,115,76,101,115,115,59,32896,10913,824,114,101,99,101,100,101,115,768,59,69,83,3603,3605,3613,32768,8832,113,117,97,108,59,32896,10927,824,108,97,110,116,69,113,117,97,108,59,32768,8928,512,101,105,3630,3645,118,101,114,115,101,69,108,101,109,101,110,116,59,32768,8716,103,104,116,84,114,105,97,110,103,108,101,768,59,66,69,3663,3665,3671,32768,8939,97,114,59,32896,10704,824,113,117,97,108,59,32768,8941,512,113,117,3683,3732,117,97,114,101,83,117,512,98,112,3694,3712,115,101,116,512,59,69,3702,3705,32896,8847,824,113,117,97,108,59,32768,8930,101,114,115,101,116,512,59,69,3722,3725,32896,8848,824,113,117,97,108,59,32768,8931,768,98,99,112,3739,3757,3801,115,101,116,512,59,69,3747,3750,32896,8834,8402,113,117,97,108,59,32768,8840,99,101,101,100,115,1024,59,69,83,84,3771,3773,3781,3793,32768,8833,113,117,97,108,59,32896,10928,824,108,97,110,116,69,113,117,97,108,59,32768,8929,105,108,100,101,59,32896,8831,824,101,114,115,101,116,512,59,69,3811,3814,32896,8835,8402,113,117,97,108,59,32768,8841,105,108,100,101,1024,59,69,70,84,3834,3836,3843,3854,32768,8769,113,117,97,108,59,32768,8772,117,108,108,69,113,117,97,108,59,32768,8775,105,108,100,101,59,32768,8777,101,114,116,105,99,97,108,66,97,114,59,32768,8740,99,114,59,32896,55349,56489,105,108,100,101,33024,209,59,32768,209,59,32768,925,3584,69,97,99,100,102,103,109,111,112,114,115,116,117,118,3921,3927,3936,3951,3958,3963,3972,3996,4002,4034,4037,4055,4071,4078,108,105,103,59,32768,338,99,117,116,101,33024,211,59,32768,211,512,105,121,3941,3948,114,99,33024,212,59,32768,212,59,32768,1054,98,108,97,99,59,32768,336,114,59,32896,55349,56594,114,97,118,101,33024,210,59,32768,210,768,97,101,105,3979,3984,3989,99,114,59,32768,332,103,97,59,32768,937,99,114,111,110,59,32768,927,112,102,59,32896,55349,56646,101,110,67,117,114,108,121,512,68,81,4014,4027,111,117,98,108,101,81,117,111,116,101,59,32768,8220,117,111,116,101,59,32768,8216,59,32768,10836,512,99,108,4042,4047,114,59,32896,55349,56490,97,115,104,33024,216,59,32768,216,105,573,4060,4067,100,101,33024,213,59,32768,213,101,115,59,32768,10807,109,108,33024,214,59,32768,214,101,114,512,66,80,4085,4109,512,97,114,4090,4094,114,59,32768,8254,97,99,512,101,107,4101,4104,59,32768,9182,101,116,59,32768,9140,97,114,101,110,116,104,101,115,105,115,59,32768,9180,2304,97,99,102,104,105,108,111,114,115,4141,4150,4154,4159,4163,4166,4176,4198,4284,114,116,105,97,108,68,59,32768,8706,121,59,32768,1055,114,59,32896,55349,56595,105,59,32768,934,59,32768,928,117,115,77,105,110,117,115,59,32768,177,512,105,112,4181,4194,110,99,97,114,101,112,108,97,110,101,59,32768,8460,102,59,32768,8473,1024,59,101,105,111,4207,4209,4251,4256,32768,10939,99,101,100,101,115,1024,59,69,83,84,4223,4225,4232,4244,32768,8826,113,117,97,108,59,32768,10927,108,97,110,116,69,113,117,97,108,59,32768,8828,105,108,100,101,59,32768,8830,109,101,59,32768,8243,512,100,112,4261,4267,117,99,116,59,32768,8719,111,114,116,105,111,110,512,59,97,4278,4280,32768,8759,108,59,32768,8733,512,99,105,4289,4294,114,59,32896,55349,56491,59,32768,936,1024,85,102,111,115,4306,4313,4318,4323,79,84,33024,34,59,32768,34,114,59,32896,55349,56596,112,102,59,32768,8474,99,114,59,32896,55349,56492,3072,66,69,97,99,101,102,104,105,111,114,115,117,4354,4360,4366,4395,4417,4473,4477,4481,4743,4764,4776,4788,97,114,114,59,32768,10512,71,33024,174,59,32768,174,768,99,110,114,4373,4379,4383,117,116,101,59,32768,340,103,59,32768,10219,114,512,59,116,4389,4391,32768,8608,108,59,32768,10518,768,97,101,121,4402,4408,4414,114,111,110,59,32768,344,100,105,108,59,32768,342,59,32768,1056,512,59,118,4422,4424,32768,8476,101,114,115,101,512,69,85,4433,4458,512,108,113,4438,4446,101,109,101,110,116,59,32768,8715,117,105,108,105,98,114,105,117,109,59,32768,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,32768,10607,114,59,32768,8476,111,59,32768,929,103,104,116,2048,65,67,68,70,84,85,86,97,4501,4547,4556,4607,4614,4671,4719,4736,512,110,114,4506,4519,103,108,101,66,114,97,99,107,101,116,59,32768,10217,114,111,119,768,59,66,76,4529,4531,4536,32768,8594,97,114,59,32768,8677,101,102,116,65,114,114,111,119,59,32768,8644,101,105,108,105,110,103,59,32768,8969,111,838,4562,0,4575,98,108,101,66,114,97,99,107,101,116,59,32768,10215,110,805,4580,0,4591,101,101,86,101,99,116,111,114,59,32768,10589,101,99,116,111,114,512,59,66,4600,4602,32768,8642,97,114,59,32768,10581,108,111,111,114,59,32768,8971,512,101,114,4619,4644,101,768,59,65,86,4627,4629,4636,32768,8866,114,114,111,119,59,32768,8614,101,99,116,111,114,59,32768,10587,105,97,110,103,108,101,768,59,66,69,4657,4659,4664,32768,8883,97,114,59,32768,10704,113,117,97,108,59,32768,8885,112,768,68,84,86,4679,4691,4702,111,119,110,86,101,99,116,111,114,59,32768,10575,101,101,86,101,99,116,111,114,59,32768,10588,101,99,116,111,114,512,59,66,4712,4714,32768,8638,97,114,59,32768,10580,101,99,116,111,114,512,59,66,4729,4731,32768,8640,97,114,59,32768,10579,114,114,111,119,59,32768,8658,512,112,117,4748,4752,102,59,32768,8477,110,100,73,109,112,108,105,101,115,59,32768,10608,105,103,104,116,97,114,114,111,119,59,32768,8667,512,99,104,4781,4785,114,59,32768,8475,59,32768,8625,108,101,68,101,108,97,121,101,100,59,32768,10740,3328,72,79,97,99,102,104,105,109,111,113,115,116,117,4827,4842,4849,4856,4889,4894,4949,4955,4967,4973,5059,5065,5070,512,67,99,4832,4838,72,99,121,59,32768,1065,121,59,32768,1064,70,84,99,121,59,32768,1068,99,117,116,101,59,32768,346,1280,59,97,101,105,121,4867,4869,4875,4881,4886,32768,10940,114,111,110,59,32768,352,100,105,108,59,32768,350,114,99,59,32768,348,59,32768,1057,114,59,32896,55349,56598,111,114,116,1024,68,76,82,85,4906,4917,4928,4940,111,119,110,65,114,114,111,119,59,32768,8595,101,102,116,65,114,114,111,119,59,32768,8592,105,103,104,116,65,114,114,111,119,59,32768,8594,112,65,114,114,111,119,59,32768,8593,103,109,97,59,32768,931,97,108,108,67,105,114,99,108,101,59,32768,8728,112,102,59,32896,55349,56650,1091,4979,0,0,4983,116,59,32768,8730,97,114,101,1024,59,73,83,85,4994,4996,5010,5052,32768,9633,110,116,101,114,115,101,99,116,105,111,110,59,32768,8851,117,512,98,112,5016,5033,115,101,116,512,59,69,5024,5026,32768,8847,113,117,97,108,59,32768,8849,101,114,115,101,116,512,59,69,5043,5045,32768,8848,113,117,97,108,59,32768,8850,110,105,111,110,59,32768,8852,99,114,59,32896,55349,56494,97,114,59,32768,8902,1024,98,99,109,112,5079,5102,5155,5158,512,59,115,5084,5086,32768,8912,101,116,512,59,69,5093,5095,32768,8912,113,117,97,108,59,32768,8838,512,99,104,5107,5148,101,101,100,115,1024,59,69,83,84,5120,5122,5129,5141,32768,8827,113,117,97,108,59,32768,10928,108,97,110,116,69,113,117,97,108,59,32768,8829,105,108,100,101,59,32768,8831,84,104,97,116,59,32768,8715,59,32768,8721,768,59,101,115,5165,5167,5185,32768,8913,114,115,101,116,512,59,69,5176,5178,32768,8835,113,117,97,108,59,32768,8839,101,116,59,32768,8913,2816,72,82,83,97,99,102,104,105,111,114,115,5213,5221,5227,5241,5252,5274,5279,5323,5362,5368,5378,79,82,78,33024,222,59,32768,222,65,68,69,59,32768,8482,512,72,99,5232,5237,99,121,59,32768,1035,121,59,32768,1062,512,98,117,5246,5249,59,32768,9,59,32768,932,768,97,101,121,5259,5265,5271,114,111,110,59,32768,356,100,105,108,59,32768,354,59,32768,1058,114,59,32896,55349,56599,512,101,105,5284,5300,835,5289,0,5297,101,102,111,114,101,59,32768,8756,97,59,32768,920,512,99,110,5305,5315,107,83,112,97,99,101,59,32896,8287,8202,83,112,97,99,101,59,32768,8201,108,100,101,1024,59,69,70,84,5335,5337,5344,5355,32768,8764,113,117,97,108,59,32768,8771,117,108,108,69,113,117,97,108,59,32768,8773,105,108,100,101,59,32768,8776,112,102,59,32896,55349,56651,105,112,108,101,68,111,116,59,32768,8411,512,99,116,5383,5388,114,59,32896,55349,56495,114,111,107,59,32768,358,5426,5417,5444,5458,5473,0,5480,5485,0,0,0,0,0,5494,5500,5564,5579,0,5726,5732,5738,5745,512,99,114,5421,5429,117,116,101,33024,218,59,32768,218,114,512,59,111,5435,5437,32768,8607,99,105,114,59,32768,10569,114,820,5449,0,5453,121,59,32768,1038,118,101,59,32768,364,512,105,121,5462,5469,114,99,33024,219,59,32768,219,59,32768,1059,98,108,97,99,59,32768,368,114,59,32896,55349,56600,114,97,118,101,33024,217,59,32768,217,97,99,114,59,32768,362,512,100,105,5504,5548,101,114,512,66,80,5511,5535,512,97,114,5516,5520,114,59,32768,95,97,99,512,101,107,5527,5530,59,32768,9183,101,116,59,32768,9141,97,114,101,110,116,104,101,115,105,115,59,32768,9181,111,110,512,59,80,5555,5557,32768,8899,108,117,115,59,32768,8846,512,103,112,5568,5573,111,110,59,32768,370,102,59,32896,55349,56652,2048,65,68,69,84,97,100,112,115,5595,5624,5635,5648,5664,5671,5682,5712,114,114,111,119,768,59,66,68,5606,5608,5613,32768,8593,97,114,59,32768,10514,111,119,110,65,114,114,111,119,59,32768,8645,111,119,110,65,114,114,111,119,59,32768,8597,113,117,105,108,105,98,114,105,117,109,59,32768,10606,101,101,512,59,65,5655,5657,32768,8869,114,114,111,119,59,32768,8613,114,114,111,119,59,32768,8657,111,119,110,97,114,114,111,119,59,32768,8661,101,114,512,76,82,5689,5700,101,102,116,65,114,114,111,119,59,32768,8598,105,103,104,116,65,114,114,111,119,59,32768,8599,105,512,59,108,5718,5720,32768,978,111,110,59,32768,933,105,110,103,59,32768,366,99,114,59,32896,55349,56496,105,108,100,101,59,32768,360,109,108,33024,220,59,32768,220,2304,68,98,99,100,101,102,111,115,118,5770,5776,5781,5785,5798,5878,5883,5889,5895,97,115,104,59,32768,8875,97,114,59,32768,10987,121,59,32768,1042,97,115,104,512,59,108,5793,5795,32768,8873,59,32768,10982,512,101,114,5803,5806,59,32768,8897,768,98,116,121,5813,5818,5866,97,114,59,32768,8214,512,59,105,5823,5825,32768,8214,99,97,108,1024,66,76,83,84,5837,5842,5848,5859,97,114,59,32768,8739,105,110,101,59,32768,124,101,112,97,114,97,116,111,114,59,32768,10072,105,108,100,101,59,32768,8768,84,104,105,110,83,112,97,99,101,59,32768,8202,114,59,32896,55349,56601,112,102,59,32896,55349,56653,99,114,59,32896,55349,56497,100,97,115,104,59,32768,8874,1280,99,101,102,111,115,5913,5919,5925,5930,5936,105,114,99,59,32768,372,100,103,101,59,32768,8896,114,59,32896,55349,56602,112,102,59,32896,55349,56654,99,114,59,32896,55349,56498,1024,102,105,111,115,5951,5956,5959,5965,114,59,32896,55349,56603,59,32768,926,112,102,59,32896,55349,56655,99,114,59,32896,55349,56499,2304,65,73,85,97,99,102,111,115,117,5990,5995,6e3,6005,6014,6027,6032,6038,6044,99,121,59,32768,1071,99,121,59,32768,1031,99,121,59,32768,1070,99,117,116,101,33024,221,59,32768,221,512,105,121,6019,6024,114,99,59,32768,374,59,32768,1067,114,59,32896,55349,56604,112,102,59,32896,55349,56656,99,114,59,32896,55349,56500,109,108,59,32768,376,2048,72,97,99,100,101,102,111,115,6066,6071,6078,6092,6097,6119,6123,6128,99,121,59,32768,1046,99,117,116,101,59,32768,377,512,97,121,6083,6089,114,111,110,59,32768,381,59,32768,1047,111,116,59,32768,379,835,6102,0,6116,111,87,105,100,116,104,83,112,97,99,101,59,32768,8203,97,59,32768,918,114,59,32768,8488,112,102,59,32768,8484,99,114,59,32896,55349,56501,5938,6159,6168,6175,0,6214,6222,6233,0,0,0,0,6242,6267,6290,6429,6444,0,6495,6503,6531,6540,0,6547,99,117,116,101,33024,225,59,32768,225,114,101,118,101,59,32768,259,1536,59,69,100,105,117,121,6187,6189,6193,6196,6203,6210,32768,8766,59,32896,8766,819,59,32768,8767,114,99,33024,226,59,32768,226,116,101,33024,180,59,32768,180,59,32768,1072,108,105,103,33024,230,59,32768,230,512,59,114,6226,6228,32768,8289,59,32896,55349,56606,114,97,118,101,33024,224,59,32768,224,512,101,112,6246,6261,512,102,112,6251,6257,115,121,109,59,32768,8501,104,59,32768,8501,104,97,59,32768,945,512,97,112,6271,6284,512,99,108,6276,6280,114,59,32768,257,103,59,32768,10815,33024,38,59,32768,38,1077,6295,0,0,6326,1280,59,97,100,115,118,6305,6307,6312,6315,6322,32768,8743,110,100,59,32768,10837,59,32768,10844,108,111,112,101,59,32768,10840,59,32768,10842,1792,59,101,108,109,114,115,122,6340,6342,6345,6349,6391,6410,6422,32768,8736,59,32768,10660,101,59,32768,8736,115,100,512,59,97,6356,6358,32768,8737,2098,6368,6371,6374,6377,6380,6383,6386,6389,59,32768,10664,59,32768,10665,59,32768,10666,59,32768,10667,59,32768,10668,59,32768,10669,59,32768,10670,59,32768,10671,116,512,59,118,6397,6399,32768,8735,98,512,59,100,6405,6407,32768,8894,59,32768,10653,512,112,116,6415,6419,104,59,32768,8738,59,32768,197,97,114,114,59,32768,9084,512,103,112,6433,6438,111,110,59,32768,261,102,59,32896,55349,56658,1792,59,69,97,101,105,111,112,6458,6460,6463,6469,6472,6476,6480,32768,8776,59,32768,10864,99,105,114,59,32768,10863,59,32768,8778,100,59,32768,8779,115,59,32768,39,114,111,120,512,59,101,6488,6490,32768,8776,113,59,32768,8778,105,110,103,33024,229,59,32768,229,768,99,116,121,6509,6514,6517,114,59,32896,55349,56502,59,32768,42,109,112,512,59,101,6524,6526,32768,8776,113,59,32768,8781,105,108,100,101,33024,227,59,32768,227,109,108,33024,228,59,32768,228,512,99,105,6551,6559,111,110,105,110,116,59,32768,8755,110,116,59,32768,10769,4096,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,6597,6602,6673,6688,6701,6707,6768,6773,6891,6898,6999,7023,7309,7316,7334,7383,111,116,59,32768,10989,512,99,114,6607,6652,107,1024,99,101,112,115,6617,6623,6632,6639,111,110,103,59,32768,8780,112,115,105,108,111,110,59,32768,1014,114,105,109,101,59,32768,8245,105,109,512,59,101,6646,6648,32768,8765,113,59,32768,8909,583,6656,6661,101,101,59,32768,8893,101,100,512,59,103,6667,6669,32768,8965,101,59,32768,8965,114,107,512,59,116,6680,6682,32768,9141,98,114,107,59,32768,9142,512,111,121,6693,6698,110,103,59,32768,8780,59,32768,1073,113,117,111,59,32768,8222,1280,99,109,112,114,116,6718,6731,6738,6743,6749,97,117,115,512,59,101,6726,6728,32768,8757,59,32768,8757,112,116,121,118,59,32768,10672,115,105,59,32768,1014,110,111,117,59,32768,8492,768,97,104,119,6756,6759,6762,59,32768,946,59,32768,8502,101,101,110,59,32768,8812,114,59,32896,55349,56607,103,1792,99,111,115,116,117,118,119,6789,6809,6834,6850,6872,6879,6884,768,97,105,117,6796,6800,6805,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,768,100,112,116,6816,6821,6827,111,116,59,32768,10752,108,117,115,59,32768,10753,105,109,101,115,59,32768,10754,1090,6840,0,0,6846,99,117,112,59,32768,10758,97,114,59,32768,9733,114,105,97,110,103,108,101,512,100,117,6862,6868,111,119,110,59,32768,9661,112,59,32768,9651,112,108,117,115,59,32768,10756,101,101,59,32768,8897,101,100,103,101,59,32768,8896,97,114,111,119,59,32768,10509,768,97,107,111,6905,6976,6994,512,99,110,6910,6972,107,768,108,115,116,6918,6927,6935,111,122,101,110,103,101,59,32768,10731,113,117,97,114,101,59,32768,9642,114,105,97,110,103,108,101,1024,59,100,108,114,6951,6953,6959,6965,32768,9652,111,119,110,59,32768,9662,101,102,116,59,32768,9666,105,103,104,116,59,32768,9656,107,59,32768,9251,770,6981,0,6991,771,6985,0,6988,59,32768,9618,59,32768,9617,52,59,32768,9619,99,107,59,32768,9608,512,101,111,7004,7019,512,59,113,7009,7012,32896,61,8421,117,105,118,59,32896,8801,8421,116,59,32768,8976,1024,112,116,119,120,7032,7037,7049,7055,102,59,32896,55349,56659,512,59,116,7042,7044,32768,8869,111,109,59,32768,8869,116,105,101,59,32768,8904,3072,68,72,85,86,98,100,104,109,112,116,117,118,7080,7101,7126,7147,7182,7187,7208,7233,7240,7246,7253,7274,1024,76,82,108,114,7089,7092,7095,7098,59,32768,9559,59,32768,9556,59,32768,9558,59,32768,9555,1280,59,68,85,100,117,7112,7114,7117,7120,7123,32768,9552,59,32768,9574,59,32768,9577,59,32768,9572,59,32768,9575,1024,76,82,108,114,7135,7138,7141,7144,59,32768,9565,59,32768,9562,59,32768,9564,59,32768,9561,1792,59,72,76,82,104,108,114,7162,7164,7167,7170,7173,7176,7179,32768,9553,59,32768,9580,59,32768,9571,59,32768,9568,59,32768,9579,59,32768,9570,59,32768,9567,111,120,59,32768,10697,1024,76,82,108,114,7196,7199,7202,7205,59,32768,9557,59,32768,9554,59,32768,9488,59,32768,9484,1280,59,68,85,100,117,7219,7221,7224,7227,7230,32768,9472,59,32768,9573,59,32768,9576,59,32768,9516,59,32768,9524,105,110,117,115,59,32768,8863,108,117,115,59,32768,8862,105,109,101,115,59,32768,8864,1024,76,82,108,114,7262,7265,7268,7271,59,32768,9563,59,32768,9560,59,32768,9496,59,32768,9492,1792,59,72,76,82,104,108,114,7289,7291,7294,7297,7300,7303,7306,32768,9474,59,32768,9578,59,32768,9569,59,32768,9566,59,32768,9532,59,32768,9508,59,32768,9500,114,105,109,101,59,32768,8245,512,101,118,7321,7326,118,101,59,32768,728,98,97,114,33024,166,59,32768,166,1024,99,101,105,111,7343,7348,7353,7364,114,59,32896,55349,56503,109,105,59,32768,8271,109,512,59,101,7359,7361,32768,8765,59,32768,8909,108,768,59,98,104,7372,7374,7377,32768,92,59,32768,10693,115,117,98,59,32768,10184,573,7387,7399,108,512,59,101,7392,7394,32768,8226,116,59,32768,8226,112,768,59,69,101,7406,7408,7411,32768,8782,59,32768,10926,512,59,113,7416,7418,32768,8783,59,32768,8783,6450,7448,0,7523,7571,7576,7613,0,7618,7647,0,0,7764,0,0,7779,0,0,7899,7914,7949,7955,0,8158,0,8176,768,99,112,114,7454,7460,7509,117,116,101,59,32768,263,1536,59,97,98,99,100,115,7473,7475,7480,7487,7500,7505,32768,8745,110,100,59,32768,10820,114,99,117,112,59,32768,10825,512,97,117,7492,7496,112,59,32768,10827,112,59,32768,10823,111,116,59,32768,10816,59,32896,8745,65024,512,101,111,7514,7518,116,59,32768,8257,110,59,32768,711,1024,97,101,105,117,7531,7544,7552,7557,833,7536,0,7540,115,59,32768,10829,111,110,59,32768,269,100,105,108,33024,231,59,32768,231,114,99,59,32768,265,112,115,512,59,115,7564,7566,32768,10828,109,59,32768,10832,111,116,59,32768,267,768,100,109,110,7582,7589,7596,105,108,33024,184,59,32768,184,112,116,121,118,59,32768,10674,116,33280,162,59,101,7603,7605,32768,162,114,100,111,116,59,32768,183,114,59,32896,55349,56608,768,99,101,105,7624,7628,7643,121,59,32768,1095,99,107,512,59,109,7635,7637,32768,10003,97,114,107,59,32768,10003,59,32768,967,114,1792,59,69,99,101,102,109,115,7662,7664,7667,7742,7745,7752,7757,32768,9675,59,32768,10691,768,59,101,108,7674,7676,7680,32768,710,113,59,32768,8791,101,1074,7687,0,0,7709,114,114,111,119,512,108,114,7695,7701,101,102,116,59,32768,8634,105,103,104,116,59,32768,8635,1280,82,83,97,99,100,7719,7722,7725,7730,7736,59,32768,174,59,32768,9416,115,116,59,32768,8859,105,114,99,59,32768,8858,97,115,104,59,32768,8861,59,32768,8791,110,105,110,116,59,32768,10768,105,100,59,32768,10991,99,105,114,59,32768,10690,117,98,115,512,59,117,7771,7773,32768,9827,105,116,59,32768,9827,1341,7785,7804,7850,0,7871,111,110,512,59,101,7791,7793,32768,58,512,59,113,7798,7800,32768,8788,59,32768,8788,1086,7809,0,0,7820,97,512,59,116,7814,7816,32768,44,59,32768,64,768,59,102,108,7826,7828,7832,32768,8705,110,59,32768,8728,101,512,109,120,7838,7844,101,110,116,59,32768,8705,101,115,59,32768,8450,824,7854,0,7866,512,59,100,7858,7860,32768,8773,111,116,59,32768,10861,110,116,59,32768,8750,768,102,114,121,7877,7881,7886,59,32896,55349,56660,111,100,59,32768,8720,33280,169,59,115,7892,7894,32768,169,114,59,32768,8471,512,97,111,7903,7908,114,114,59,32768,8629,115,115,59,32768,10007,512,99,117,7918,7923,114,59,32896,55349,56504,512,98,112,7928,7938,512,59,101,7933,7935,32768,10959,59,32768,10961,512,59,101,7943,7945,32768,10960,59,32768,10962,100,111,116,59,32768,8943,1792,100,101,108,112,114,118,119,7969,7983,7996,8009,8057,8147,8152,97,114,114,512,108,114,7977,7980,59,32768,10552,59,32768,10549,1089,7989,0,0,7993,114,59,32768,8926,99,59,32768,8927,97,114,114,512,59,112,8004,8006,32768,8630,59,32768,10557,1536,59,98,99,100,111,115,8022,8024,8031,8044,8049,8053,32768,8746,114,99,97,112,59,32768,10824,512,97,117,8036,8040,112,59,32768,10822,112,59,32768,10826,111,116,59,32768,8845,114,59,32768,10821,59,32896,8746,65024,1024,97,108,114,118,8066,8078,8116,8123,114,114,512,59,109,8073,8075,32768,8631,59,32768,10556,121,768,101,118,119,8086,8104,8109,113,1089,8093,0,0,8099,114,101,99,59,32768,8926,117,99,99,59,32768,8927,101,101,59,32768,8910,101,100,103,101,59,32768,8911,101,110,33024,164,59,32768,164,101,97,114,114,111,119,512,108,114,8134,8140,101,102,116,59,32768,8630,105,103,104,116,59,32768,8631,101,101,59,32768,8910,101,100,59,32768,8911,512,99,105,8162,8170,111,110,105,110,116,59,32768,8754,110,116,59,32768,8753,108,99,116,121,59,32768,9005,4864,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8221,8226,8231,8267,8282,8296,8327,8351,8366,8379,8466,8471,8487,8621,8647,8676,8697,8712,8720,114,114,59,32768,8659,97,114,59,32768,10597,1024,103,108,114,115,8240,8246,8252,8256,103,101,114,59,32768,8224,101,116,104,59,32768,8504,114,59,32768,8595,104,512,59,118,8262,8264,32768,8208,59,32768,8867,572,8271,8278,97,114,111,119,59,32768,10511,97,99,59,32768,733,512,97,121,8287,8293,114,111,110,59,32768,271,59,32768,1076,768,59,97,111,8303,8305,8320,32768,8518,512,103,114,8310,8316,103,101,114,59,32768,8225,114,59,32768,8650,116,115,101,113,59,32768,10871,768,103,108,109,8334,8339,8344,33024,176,59,32768,176,116,97,59,32768,948,112,116,121,118,59,32768,10673,512,105,114,8356,8362,115,104,116,59,32768,10623,59,32896,55349,56609,97,114,512,108,114,8373,8376,59,32768,8643,59,32768,8642,1280,97,101,103,115,118,8390,8418,8421,8428,8433,109,768,59,111,115,8398,8400,8415,32768,8900,110,100,512,59,115,8407,8409,32768,8900,117,105,116,59,32768,9830,59,32768,9830,59,32768,168,97,109,109,97,59,32768,989,105,110,59,32768,8946,768,59,105,111,8440,8442,8461,32768,247,100,101,33280,247,59,111,8450,8452,32768,247,110,116,105,109,101,115,59,32768,8903,110,120,59,32768,8903,99,121,59,32768,1106,99,1088,8478,0,0,8483,114,110,59,32768,8990,111,112,59,32768,8973,1280,108,112,116,117,119,8498,8504,8509,8556,8570,108,97,114,59,32768,36,102,59,32896,55349,56661,1280,59,101,109,112,115,8520,8522,8535,8542,8548,32768,729,113,512,59,100,8528,8530,32768,8784,111,116,59,32768,8785,105,110,117,115,59,32768,8760,108,117,115,59,32768,8724,113,117,97,114,101,59,32768,8865,98,108,101,98,97,114,119,101,100,103,101,59,32768,8966,110,768,97,100,104,8578,8585,8597,114,114,111,119,59,32768,8595,111,119,110,97,114,114,111,119,115,59,32768,8650,97,114,112,111,111,110,512,108,114,8608,8614,101,102,116,59,32768,8643,105,103,104,116,59,32768,8642,563,8625,8633,107,97,114,111,119,59,32768,10512,1088,8638,0,0,8643,114,110,59,32768,8991,111,112,59,32768,8972,768,99,111,116,8654,8666,8670,512,114,121,8659,8663,59,32896,55349,56505,59,32768,1109,108,59,32768,10742,114,111,107,59,32768,273,512,100,114,8681,8686,111,116,59,32768,8945,105,512,59,102,8692,8694,32768,9663,59,32768,9662,512,97,104,8702,8707,114,114,59,32768,8693,97,114,59,32768,10607,97,110,103,108,101,59,32768,10662,512,99,105,8725,8729,121,59,32768,1119,103,114,97,114,114,59,32768,10239,4608,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,8774,8788,8807,8844,8849,8852,8866,8895,8929,8977,8989,9004,9046,9136,9151,9171,9184,9199,512,68,111,8779,8784,111,116,59,32768,10871,116,59,32768,8785,512,99,115,8793,8801,117,116,101,33024,233,59,32768,233,116,101,114,59,32768,10862,1024,97,105,111,121,8816,8822,8835,8841,114,111,110,59,32768,283,114,512,59,99,8828,8830,32768,8790,33024,234,59,32768,234,108,111,110,59,32768,8789,59,32768,1101,111,116,59,32768,279,59,32768,8519,512,68,114,8857,8862,111,116,59,32768,8786,59,32896,55349,56610,768,59,114,115,8873,8875,8883,32768,10906,97,118,101,33024,232,59,32768,232,512,59,100,8888,8890,32768,10902,111,116,59,32768,10904,1024,59,105,108,115,8904,8906,8914,8917,32768,10905,110,116,101,114,115,59,32768,9191,59,32768,8467,512,59,100,8922,8924,32768,10901,111,116,59,32768,10903,768,97,112,115,8936,8941,8960,99,114,59,32768,275,116,121,768,59,115,118,8950,8952,8957,32768,8709,101,116,59,32768,8709,59,32768,8709,112,512,49,59,8966,8975,516,8970,8973,59,32768,8196,59,32768,8197,32768,8195,512,103,115,8982,8985,59,32768,331,112,59,32768,8194,512,103,112,8994,8999,111,110,59,32768,281,102,59,32896,55349,56662,768,97,108,115,9011,9023,9028,114,512,59,115,9017,9019,32768,8917,108,59,32768,10723,117,115,59,32768,10865,105,768,59,108,118,9036,9038,9043,32768,949,111,110,59,32768,949,59,32768,1013,1024,99,115,117,118,9055,9071,9099,9128,512,105,111,9060,9065,114,99,59,32768,8790,108,111,110,59,32768,8789,1082,9077,0,0,9081,109,59,32768,8770,97,110,116,512,103,108,9088,9093,116,114,59,32768,10902,101,115,115,59,32768,10901,768,97,101,105,9106,9111,9116,108,115,59,32768,61,115,116,59,32768,8799,118,512,59,68,9122,9124,32768,8801,68,59,32768,10872,112,97,114,115,108,59,32768,10725,512,68,97,9141,9146,111,116,59,32768,8787,114,114,59,32768,10609,768,99,100,105,9158,9162,9167,114,59,32768,8495,111,116,59,32768,8784,109,59,32768,8770,512,97,104,9176,9179,59,32768,951,33024,240,59,32768,240,512,109,114,9189,9195,108,33024,235,59,32768,235,111,59,32768,8364,768,99,105,112,9206,9210,9215,108,59,32768,33,115,116,59,32768,8707,512,101,111,9220,9230,99,116,97,116,105,111,110,59,32768,8496,110,101,110,116,105,97,108,101,59,32768,8519,4914,9262,0,9276,0,9280,9287,0,0,9318,9324,0,9331,0,9352,9357,9386,0,9395,9497,108,108,105,110,103,100,111,116,115,101,113,59,32768,8786,121,59,32768,1092,109,97,108,101,59,32768,9792,768,105,108,114,9293,9299,9313,108,105,103,59,32768,64259,1082,9305,0,0,9309,103,59,32768,64256,105,103,59,32768,64260,59,32896,55349,56611,108,105,103,59,32768,64257,108,105,103,59,32896,102,106,768,97,108,116,9337,9341,9346,116,59,32768,9837,105,103,59,32768,64258,110,115,59,32768,9649,111,102,59,32768,402,833,9361,0,9366,102,59,32896,55349,56663,512,97,107,9370,9375,108,108,59,32768,8704,512,59,118,9380,9382,32768,8916,59,32768,10969,97,114,116,105,110,116,59,32768,10765,512,97,111,9399,9491,512,99,115,9404,9487,1794,9413,9443,9453,9470,9474,0,9484,1795,9421,9426,9429,9434,9437,0,9440,33024,189,59,32768,189,59,32768,8531,33024,188,59,32768,188,59,32768,8533,59,32768,8537,59,32768,8539,772,9447,0,9450,59,32768,8532,59,32768,8534,1285,9459,9464,0,0,9467,33024,190,59,32768,190,59,32768,8535,59,32768,8540,53,59,32768,8536,775,9478,0,9481,59,32768,8538,59,32768,8541,56,59,32768,8542,108,59,32768,8260,119,110,59,32768,8994,99,114,59,32896,55349,56507,4352,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,9537,9547,9575,9582,9595,9600,9679,9684,9694,9700,9705,9725,9773,9779,9785,9810,9917,512,59,108,9542,9544,32768,8807,59,32768,10892,768,99,109,112,9554,9560,9572,117,116,101,59,32768,501,109,97,512,59,100,9567,9569,32768,947,59,32768,989,59,32768,10886,114,101,118,101,59,32768,287,512,105,121,9587,9592,114,99,59,32768,285,59,32768,1075,111,116,59,32768,289,1024,59,108,113,115,9609,9611,9614,9633,32768,8805,59,32768,8923,768,59,113,115,9621,9623,9626,32768,8805,59,32768,8807,108,97,110,116,59,32768,10878,1024,59,99,100,108,9642,9644,9648,9667,32768,10878,99,59,32768,10921,111,116,512,59,111,9655,9657,32768,10880,512,59,108,9662,9664,32768,10882,59,32768,10884,512,59,101,9672,9675,32896,8923,65024,115,59,32768,10900,114,59,32896,55349,56612,512,59,103,9689,9691,32768,8811,59,32768,8921,109,101,108,59,32768,8503,99,121,59,32768,1107,1024,59,69,97,106,9714,9716,9719,9722,32768,8823,59,32768,10898,59,32768,10917,59,32768,10916,1024,69,97,101,115,9734,9737,9751,9768,59,32768,8809,112,512,59,112,9743,9745,32768,10890,114,111,120,59,32768,10890,512,59,113,9756,9758,32768,10888,512,59,113,9763,9765,32768,10888,59,32768,8809,105,109,59,32768,8935,112,102,59,32896,55349,56664,97,118,101,59,32768,96,512,99,105,9790,9794,114,59,32768,8458,109,768,59,101,108,9802,9804,9807,32768,8819,59,32768,10894,59,32768,10896,34304,62,59,99,100,108,113,114,9824,9826,9838,9843,9849,9856,32768,62,512,99,105,9831,9834,59,32768,10919,114,59,32768,10874,111,116,59,32768,8919,80,97,114,59,32768,10645,117,101,115,116,59,32768,10876,1280,97,100,101,108,115,9867,9882,9887,9906,9912,833,9872,0,9879,112,114,111,120,59,32768,10886,114,59,32768,10616,111,116,59,32768,8919,113,512,108,113,9893,9899,101,115,115,59,32768,8923,108,101,115,115,59,32768,10892,101,115,115,59,32768,8823,105,109,59,32768,8819,512,101,110,9922,9932,114,116,110,101,113,113,59,32896,8809,65024,69,59,32896,8809,65024,2560,65,97,98,99,101,102,107,111,115,121,9958,9963,10015,10020,10026,10060,10065,10085,10147,10171,114,114,59,32768,8660,1024,105,108,109,114,9972,9978,9982,9988,114,115,112,59,32768,8202,102,59,32768,189,105,108,116,59,32768,8459,512,100,114,9993,9998,99,121,59,32768,1098,768,59,99,119,10005,10007,10012,32768,8596,105,114,59,32768,10568,59,32768,8621,97,114,59,32768,8463,105,114,99,59,32768,293,768,97,108,114,10033,10048,10054,114,116,115,512,59,117,10041,10043,32768,9829,105,116,59,32768,9829,108,105,112,59,32768,8230,99,111,110,59,32768,8889,114,59,32896,55349,56613,115,512,101,119,10071,10078,97,114,111,119,59,32768,10533,97,114,111,119,59,32768,10534,1280,97,109,111,112,114,10096,10101,10107,10136,10141,114,114,59,32768,8703,116,104,116,59,32768,8763,107,512,108,114,10113,10124,101,102,116,97,114,114,111,119,59,32768,8617,105,103,104,116,97,114,114,111,119,59,32768,8618,102,59,32896,55349,56665,98,97,114,59,32768,8213,768,99,108,116,10154,10159,10165,114,59,32896,55349,56509,97,115,104,59,32768,8463,114,111,107,59,32768,295,512,98,112,10176,10182,117,108,108,59,32768,8259,104,101,110,59,32768,8208,5426,10211,0,10220,0,10239,10255,10267,0,10276,10312,0,0,10318,10371,10458,10485,10491,0,10500,10545,10558,99,117,116,101,33024,237,59,32768,237,768,59,105,121,10226,10228,10235,32768,8291,114,99,33024,238,59,32768,238,59,32768,1080,512,99,120,10243,10247,121,59,32768,1077,99,108,33024,161,59,32768,161,512,102,114,10259,10262,59,32768,8660,59,32896,55349,56614,114,97,118,101,33024,236,59,32768,236,1024,59,105,110,111,10284,10286,10300,10306,32768,8520,512,105,110,10291,10296,110,116,59,32768,10764,116,59,32768,8749,102,105,110,59,32768,10716,116,97,59,32768,8489,108,105,103,59,32768,307,768,97,111,112,10324,10361,10365,768,99,103,116,10331,10335,10357,114,59,32768,299,768,101,108,112,10342,10345,10351,59,32768,8465,105,110,101,59,32768,8464,97,114,116,59,32768,8465,104,59,32768,305,102,59,32768,8887,101,100,59,32768,437,1280,59,99,102,111,116,10381,10383,10389,10403,10409,32768,8712,97,114,101,59,32768,8453,105,110,512,59,116,10396,10398,32768,8734,105,101,59,32768,10717,100,111,116,59,32768,305,1280,59,99,101,108,112,10420,10422,10427,10444,10451,32768,8747,97,108,59,32768,8890,512,103,114,10432,10438,101,114,115,59,32768,8484,99,97,108,59,32768,8890,97,114,104,107,59,32768,10775,114,111,100,59,32768,10812,1024,99,103,112,116,10466,10470,10475,10480,121,59,32768,1105,111,110,59,32768,303,102,59,32896,55349,56666,97,59,32768,953,114,111,100,59,32768,10812,117,101,115,116,33024,191,59,32768,191,512,99,105,10504,10509,114,59,32896,55349,56510,110,1280,59,69,100,115,118,10521,10523,10526,10531,10541,32768,8712,59,32768,8953,111,116,59,32768,8949,512,59,118,10536,10538,32768,8948,59,32768,8947,59,32768,8712,512,59,105,10549,10551,32768,8290,108,100,101,59,32768,297,828,10562,0,10567,99,121,59,32768,1110,108,33024,239,59,32768,239,1536,99,102,109,111,115,117,10585,10598,10603,10609,10615,10630,512,105,121,10590,10595,114,99,59,32768,309,59,32768,1081,114,59,32896,55349,56615,97,116,104,59,32768,567,112,102,59,32896,55349,56667,820,10620,0,10625,114,59,32896,55349,56511,114,99,121,59,32768,1112,107,99,121,59,32768,1108,2048,97,99,102,103,104,106,111,115,10653,10666,10680,10685,10692,10697,10702,10708,112,112,97,512,59,118,10661,10663,32768,954,59,32768,1008,512,101,121,10671,10677,100,105,108,59,32768,311,59,32768,1082,114,59,32896,55349,56616,114,101,101,110,59,32768,312,99,121,59,32768,1093,99,121,59,32768,1116,112,102,59,32896,55349,56668,99,114,59,32896,55349,56512,5888,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,10761,10783,10789,10799,10804,10957,11011,11047,11094,11349,11372,11382,11409,11414,11451,11478,11526,11698,11711,11755,11823,11910,11929,768,97,114,116,10768,10773,10777,114,114,59,32768,8666,114,59,32768,8656,97,105,108,59,32768,10523,97,114,114,59,32768,10510,512,59,103,10794,10796,32768,8806,59,32768,10891,97,114,59,32768,10594,4660,10824,0,10830,0,10838,0,0,0,0,0,10844,10850,0,10867,10870,10877,0,10933,117,116,101,59,32768,314,109,112,116,121,118,59,32768,10676,114,97,110,59,32768,8466,98,100,97,59,32768,955,103,768,59,100,108,10857,10859,10862,32768,10216,59,32768,10641,101,59,32768,10216,59,32768,10885,117,111,33024,171,59,32768,171,114,2048,59,98,102,104,108,112,115,116,10894,10896,10907,10911,10915,10919,10923,10928,32768,8592,512,59,102,10901,10903,32768,8676,115,59,32768,10527,115,59,32768,10525,107,59,32768,8617,112,59,32768,8619,108,59,32768,10553,105,109,59,32768,10611,108,59,32768,8610,768,59,97,101,10939,10941,10946,32768,10923,105,108,59,32768,10521,512,59,115,10951,10953,32768,10925,59,32896,10925,65024,768,97,98,114,10964,10969,10974,114,114,59,32768,10508,114,107,59,32768,10098,512,97,107,10979,10991,99,512,101,107,10985,10988,59,32768,123,59,32768,91,512,101,115,10996,10999,59,32768,10635,108,512,100,117,11005,11008,59,32768,10639,59,32768,10637,1024,97,101,117,121,11020,11026,11040,11044,114,111,110,59,32768,318,512,100,105,11031,11036,105,108,59,32768,316,108,59,32768,8968,98,59,32768,123,59,32768,1083,1024,99,113,114,115,11056,11060,11072,11090,97,59,32768,10550,117,111,512,59,114,11067,11069,32768,8220,59,32768,8222,512,100,117,11077,11083,104,97,114,59,32768,10599,115,104,97,114,59,32768,10571,104,59,32768,8626,1280,59,102,103,113,115,11105,11107,11228,11231,11250,32768,8804,116,1280,97,104,108,114,116,11119,11136,11157,11169,11216,114,114,111,119,512,59,116,11128,11130,32768,8592,97,105,108,59,32768,8610,97,114,112,111,111,110,512,100,117,11147,11153,111,119,110,59,32768,8637,112,59,32768,8636,101,102,116,97,114,114,111,119,115,59,32768,8647,105,103,104,116,768,97,104,115,11180,11194,11204,114,114,111,119,512,59,115,11189,11191,32768,8596,59,32768,8646,97,114,112,111,111,110,115,59,32768,8651,113,117,105,103,97,114,114,111,119,59,32768,8621,104,114,101,101,116,105,109,101,115,59,32768,8907,59,32768,8922,768,59,113,115,11238,11240,11243,32768,8804,59,32768,8806,108,97,110,116,59,32768,10877,1280,59,99,100,103,115,11261,11263,11267,11286,11298,32768,10877,99,59,32768,10920,111,116,512,59,111,11274,11276,32768,10879,512,59,114,11281,11283,32768,10881,59,32768,10883,512,59,101,11291,11294,32896,8922,65024,115,59,32768,10899,1280,97,100,101,103,115,11309,11317,11322,11339,11344,112,112,114,111,120,59,32768,10885,111,116,59,32768,8918,113,512,103,113,11328,11333,116,114,59,32768,8922,103,116,114,59,32768,10891,116,114,59,32768,8822,105,109,59,32768,8818,768,105,108,114,11356,11362,11368,115,104,116,59,32768,10620,111,111,114,59,32768,8970,59,32896,55349,56617,512,59,69,11377,11379,32768,8822,59,32768,10897,562,11386,11405,114,512,100,117,11391,11394,59,32768,8637,512,59,108,11399,11401,32768,8636,59,32768,10602,108,107,59,32768,9604,99,121,59,32768,1113,1280,59,97,99,104,116,11425,11427,11432,11440,11446,32768,8810,114,114,59,32768,8647,111,114,110,101,114,59,32768,8990,97,114,100,59,32768,10603,114,105,59,32768,9722,512,105,111,11456,11462,100,111,116,59,32768,320,117,115,116,512,59,97,11470,11472,32768,9136,99,104,101,59,32768,9136,1024,69,97,101,115,11487,11490,11504,11521,59,32768,8808,112,512,59,112,11496,11498,32768,10889,114,111,120,59,32768,10889,512,59,113,11509,11511,32768,10887,512,59,113,11516,11518,32768,10887,59,32768,8808,105,109,59,32768,8934,2048,97,98,110,111,112,116,119,122,11543,11556,11561,11616,11640,11660,11667,11680,512,110,114,11548,11552,103,59,32768,10220,114,59,32768,8701,114,107,59,32768,10214,103,768,108,109,114,11569,11596,11604,101,102,116,512,97,114,11577,11584,114,114,111,119,59,32768,10229,105,103,104,116,97,114,114,111,119,59,32768,10231,97,112,115,116,111,59,32768,10236,105,103,104,116,97,114,114,111,119,59,32768,10230,112,97,114,114,111,119,512,108,114,11627,11633,101,102,116,59,32768,8619,105,103,104,116,59,32768,8620,768,97,102,108,11647,11651,11655,114,59,32768,10629,59,32896,55349,56669,117,115,59,32768,10797,105,109,101,115,59,32768,10804,562,11671,11676,115,116,59,32768,8727,97,114,59,32768,95,768,59,101,102,11687,11689,11695,32768,9674,110,103,101,59,32768,9674,59,32768,10731,97,114,512,59,108,11705,11707,32768,40,116,59,32768,10643,1280,97,99,104,109,116,11722,11727,11735,11747,11750,114,114,59,32768,8646,111,114,110,101,114,59,32768,8991,97,114,512,59,100,11742,11744,32768,8651,59,32768,10605,59,32768,8206,114,105,59,32768,8895,1536,97,99,104,105,113,116,11768,11774,11779,11782,11798,11817,113,117,111,59,32768,8249,114,59,32896,55349,56513,59,32768,8624,109,768,59,101,103,11790,11792,11795,32768,8818,59,32768,10893,59,32768,10895,512,98,117,11803,11806,59,32768,91,111,512,59,114,11812,11814,32768,8216,59,32768,8218,114,111,107,59,32768,322,34816,60,59,99,100,104,105,108,113,114,11841,11843,11855,11860,11866,11872,11878,11885,32768,60,512,99,105,11848,11851,59,32768,10918,114,59,32768,10873,111,116,59,32768,8918,114,101,101,59,32768,8907,109,101,115,59,32768,8905,97,114,114,59,32768,10614,117,101,115,116,59,32768,10875,512,80,105,11890,11895,97,114,59,32768,10646,768,59,101,102,11902,11904,11907,32768,9667,59,32768,8884,59,32768,9666,114,512,100,117,11916,11923,115,104,97,114,59,32768,10570,104,97,114,59,32768,10598,512,101,110,11934,11944,114,116,110,101,113,113,59,32896,8808,65024,69,59,32896,8808,65024,3584,68,97,99,100,101,102,104,105,108,110,111,112,115,117,11978,11984,12061,12075,12081,12095,12100,12104,12170,12181,12188,12204,12207,12223,68,111,116,59,32768,8762,1024,99,108,112,114,11993,11999,12019,12055,114,33024,175,59,32768,175,512,101,116,12004,12007,59,32768,9794,512,59,101,12012,12014,32768,10016,115,101,59,32768,10016,512,59,115,12024,12026,32768,8614,116,111,1024,59,100,108,117,12037,12039,12045,12051,32768,8614,111,119,110,59,32768,8615,101,102,116,59,32768,8612,112,59,32768,8613,107,101,114,59,32768,9646,512,111,121,12066,12072,109,109,97,59,32768,10793,59,32768,1084,97,115,104,59,32768,8212,97,115,117,114,101,100,97,110,103,108,101,59,32768,8737,114,59,32896,55349,56618,111,59,32768,8487,768,99,100,110,12111,12118,12146,114,111,33024,181,59,32768,181,1024,59,97,99,100,12127,12129,12134,12139,32768,8739,115,116,59,32768,42,105,114,59,32768,10992,111,116,33024,183,59,32768,183,117,115,768,59,98,100,12155,12157,12160,32768,8722,59,32768,8863,512,59,117,12165,12167,32768,8760,59,32768,10794,564,12174,12178,112,59,32768,10971,114,59,32768,8230,112,108,117,115,59,32768,8723,512,100,112,12193,12199,101,108,115,59,32768,8871,102,59,32896,55349,56670,59,32768,8723,512,99,116,12212,12217,114,59,32896,55349,56514,112,111,115,59,32768,8766,768,59,108,109,12230,12232,12240,32768,956,116,105,109,97,112,59,32768,8888,97,112,59,32768,8888,6144,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,12294,12315,12364,12376,12393,12472,12496,12547,12553,12636,12641,12703,12725,12747,12752,12876,12881,12957,13033,13089,13294,13359,13384,13499,512,103,116,12299,12303,59,32896,8921,824,512,59,118,12308,12311,32896,8811,8402,59,32896,8811,824,768,101,108,116,12322,12348,12352,102,116,512,97,114,12329,12336,114,114,111,119,59,32768,8653,105,103,104,116,97,114,114,111,119,59,32768,8654,59,32896,8920,824,512,59,118,12357,12360,32896,8810,8402,59,32896,8810,824,105,103,104,116,97,114,114,111,119,59,32768,8655,512,68,100,12381,12387,97,115,104,59,32768,8879,97,115,104,59,32768,8878,1280,98,99,110,112,116,12404,12409,12415,12420,12452,108,97,59,32768,8711,117,116,101,59,32768,324,103,59,32896,8736,8402,1280,59,69,105,111,112,12431,12433,12437,12442,12446,32768,8777,59,32896,10864,824,100,59,32896,8779,824,115,59,32768,329,114,111,120,59,32768,8777,117,114,512,59,97,12459,12461,32768,9838,108,512,59,115,12467,12469,32768,9838,59,32768,8469,836,12477,0,12483,112,33024,160,59,32768,160,109,112,512,59,101,12489,12492,32896,8782,824,59,32896,8783,824,1280,97,101,111,117,121,12507,12519,12525,12540,12544,833,12512,0,12515,59,32768,10819,111,110,59,32768,328,100,105,108,59,32768,326,110,103,512,59,100,12532,12534,32768,8775,111,116,59,32896,10861,824,112,59,32768,10818,59,32768,1085,97,115,104,59,32768,8211,1792,59,65,97,100,113,115,120,12568,12570,12575,12596,12602,12608,12623,32768,8800,114,114,59,32768,8663,114,512,104,114,12581,12585,107,59,32768,10532,512,59,111,12590,12592,32768,8599,119,59,32768,8599,111,116,59,32896,8784,824,117,105,118,59,32768,8802,512,101,105,12613,12618,97,114,59,32768,10536,109,59,32896,8770,824,105,115,116,512,59,115,12631,12633,32768,8708,59,32768,8708,114,59,32896,55349,56619,1024,69,101,115,116,12650,12654,12688,12693,59,32896,8807,824,768,59,113,115,12661,12663,12684,32768,8817,768,59,113,115,12670,12672,12676,32768,8817,59,32896,8807,824,108,97,110,116,59,32896,10878,824,59,32896,10878,824,105,109,59,32768,8821,512,59,114,12698,12700,32768,8815,59,32768,8815,768,65,97,112,12710,12715,12720,114,114,59,32768,8654,114,114,59,32768,8622,97,114,59,32768,10994,768,59,115,118,12732,12734,12744,32768,8715,512,59,100,12739,12741,32768,8956,59,32768,8954,59,32768,8715,99,121,59,32768,1114,1792,65,69,97,100,101,115,116,12767,12772,12776,12781,12785,12853,12858,114,114,59,32768,8653,59,32896,8806,824,114,114,59,32768,8602,114,59,32768,8229,1024,59,102,113,115,12794,12796,12821,12842,32768,8816,116,512,97,114,12802,12809,114,114,111,119,59,32768,8602,105,103,104,116,97,114,114,111,119,59,32768,8622,768,59,113,115,12828,12830,12834,32768,8816,59,32896,8806,824,108,97,110,116,59,32896,10877,824,512,59,115,12847,12850,32896,10877,824,59,32768,8814,105,109,59,32768,8820,512,59,114,12863,12865,32768,8814,105,512,59,101,12871,12873,32768,8938,59,32768,8940,105,100,59,32768,8740,512,112,116,12886,12891,102,59,32896,55349,56671,33536,172,59,105,110,12899,12901,12936,32768,172,110,1024,59,69,100,118,12911,12913,12917,12923,32768,8713,59,32896,8953,824,111,116,59,32896,8949,824,818,12928,12931,12934,59,32768,8713,59,32768,8951,59,32768,8950,105,512,59,118,12942,12944,32768,8716,818,12949,12952,12955,59,32768,8716,59,32768,8958,59,32768,8957,768,97,111,114,12964,12992,12999,114,1024,59,97,115,116,12974,12976,12983,12988,32768,8742,108,108,101,108,59,32768,8742,108,59,32896,11005,8421,59,32896,8706,824,108,105,110,116,59,32768,10772,768,59,99,101,13006,13008,13013,32768,8832,117,101,59,32768,8928,512,59,99,13018,13021,32896,10927,824,512,59,101,13026,13028,32768,8832,113,59,32896,10927,824,1024,65,97,105,116,13042,13047,13066,13077,114,114,59,32768,8655,114,114,768,59,99,119,13056,13058,13062,32768,8603,59,32896,10547,824,59,32896,8605,824,103,104,116,97,114,114,111,119,59,32768,8603,114,105,512,59,101,13084,13086,32768,8939,59,32768,8941,1792,99,104,105,109,112,113,117,13104,13128,13151,13169,13174,13179,13194,1024,59,99,101,114,13113,13115,13120,13124,32768,8833,117,101,59,32768,8929,59,32896,10928,824,59,32896,55349,56515,111,114,116,1086,13137,0,0,13142,105,100,59,32768,8740,97,114,97,108,108,101,108,59,32768,8742,109,512,59,101,13157,13159,32768,8769,512,59,113,13164,13166,32768,8772,59,32768,8772,105,100,59,32768,8740,97,114,59,32768,8742,115,117,512,98,112,13186,13190,101,59,32768,8930,101,59,32768,8931,768,98,99,112,13201,13241,13254,1024,59,69,101,115,13210,13212,13216,13219,32768,8836,59,32896,10949,824,59,32768,8840,101,116,512,59,101,13226,13229,32896,8834,8402,113,512,59,113,13235,13237,32768,8840,59,32896,10949,824,99,512,59,101,13247,13249,32768,8833,113,59,32896,10928,824,1024,59,69,101,115,13263,13265,13269,13272,32768,8837,59,32896,10950,824,59,32768,8841,101,116,512,59,101,13279,13282,32896,8835,8402,113,512,59,113,13288,13290,32768,8841,59,32896,10950,824,1024,103,105,108,114,13303,13307,13315,13319,108,59,32768,8825,108,100,101,33024,241,59,32768,241,103,59,32768,8824,105,97,110,103,108,101,512,108,114,13330,13344,101,102,116,512,59,101,13338,13340,32768,8938,113,59,32768,8940,105,103,104,116,512,59,101,13353,13355,32768,8939,113,59,32768,8941,512,59,109,13364,13366,32768,957,768,59,101,115,13373,13375,13380,32768,35,114,111,59,32768,8470,112,59,32768,8199,2304,68,72,97,100,103,105,108,114,115,13403,13409,13415,13420,13426,13439,13446,13476,13493,97,115,104,59,32768,8877,97,114,114,59,32768,10500,112,59,32896,8781,8402,97,115,104,59,32768,8876,512,101,116,13431,13435,59,32896,8805,8402,59,32896,62,8402,110,102,105,110,59,32768,10718,768,65,101,116,13453,13458,13462,114,114,59,32768,10498,59,32896,8804,8402,512,59,114,13467,13470,32896,60,8402,105,101,59,32896,8884,8402,512,65,116,13481,13486,114,114,59,32768,10499,114,105,101,59,32896,8885,8402,105,109,59,32896,8764,8402,768,65,97,110,13506,13511,13532,114,114,59,32768,8662,114,512,104,114,13517,13521,107,59,32768,10531,512,59,111,13526,13528,32768,8598,119,59,32768,8598,101,97,114,59,32768,10535,9252,13576,0,0,0,0,0,0,0,0,0,0,0,0,0,13579,0,13596,13617,13653,13659,13673,13695,13708,0,0,13713,13750,0,13788,13794,0,13815,13890,13913,13937,13944,59,32768,9416,512,99,115,13583,13591,117,116,101,33024,243,59,32768,243,116,59,32768,8859,512,105,121,13600,13613,114,512,59,99,13606,13608,32768,8858,33024,244,59,32768,244,59,32768,1086,1280,97,98,105,111,115,13627,13632,13638,13642,13646,115,104,59,32768,8861,108,97,99,59,32768,337,118,59,32768,10808,116,59,32768,8857,111,108,100,59,32768,10684,108,105,103,59,32768,339,512,99,114,13663,13668,105,114,59,32768,10687,59,32896,55349,56620,1600,13680,0,0,13684,0,13692,110,59,32768,731,97,118,101,33024,242,59,32768,242,59,32768,10689,512,98,109,13699,13704,97,114,59,32768,10677,59,32768,937,110,116,59,32768,8750,1024,97,99,105,116,13721,13726,13741,13746,114,114,59,32768,8634,512,105,114,13731,13735,114,59,32768,10686,111,115,115,59,32768,10683,110,101,59,32768,8254,59,32768,10688,768,97,101,105,13756,13761,13766,99,114,59,32768,333,103,97,59,32768,969,768,99,100,110,13773,13779,13782,114,111,110,59,32768,959,59,32768,10678,117,115,59,32768,8854,112,102,59,32896,55349,56672,768,97,101,108,13800,13804,13809,114,59,32768,10679,114,112,59,32768,10681,117,115,59,32768,8853,1792,59,97,100,105,111,115,118,13829,13831,13836,13869,13875,13879,13886,32768,8744,114,114,59,32768,8635,1024,59,101,102,109,13845,13847,13859,13864,32768,10845,114,512,59,111,13853,13855,32768,8500,102,59,32768,8500,33024,170,59,32768,170,33024,186,59,32768,186,103,111,102,59,32768,8886,114,59,32768,10838,108,111,112,101,59,32768,10839,59,32768,10843,768,99,108,111,13896,13900,13908,114,59,32768,8500,97,115,104,33024,248,59,32768,248,108,59,32768,8856,105,573,13917,13924,100,101,33024,245,59,32768,245,101,115,512,59,97,13930,13932,32768,8855,115,59,32768,10806,109,108,33024,246,59,32768,246,98,97,114,59,32768,9021,5426,13972,0,14013,0,14017,14053,0,14058,14086,0,0,14107,14199,0,14202,0,0,14229,14425,0,14438,114,1024,59,97,115,116,13981,13983,13997,14009,32768,8741,33280,182,59,108,13989,13991,32768,182,108,101,108,59,32768,8741,1082,14003,0,0,14007,109,59,32768,10995,59,32768,11005,59,32768,8706,121,59,32768,1087,114,1280,99,105,109,112,116,14028,14033,14038,14043,14046,110,116,59,32768,37,111,100,59,32768,46,105,108,59,32768,8240,59,32768,8869,101,110,107,59,32768,8241,114,59,32896,55349,56621,768,105,109,111,14064,14074,14080,512,59,118,14069,14071,32768,966,59,32768,981,109,97,116,59,32768,8499,110,101,59,32768,9742,768,59,116,118,14092,14094,14103,32768,960,99,104,102,111,114,107,59,32768,8916,59,32768,982,512,97,117,14111,14132,110,512,99,107,14117,14128,107,512,59,104,14123,14125,32768,8463,59,32768,8462,118,59,32768,8463,115,2304,59,97,98,99,100,101,109,115,116,14152,14154,14160,14163,14168,14179,14182,14188,14193,32768,43,99,105,114,59,32768,10787,59,32768,8862,105,114,59,32768,10786,512,111,117,14173,14176,59,32768,8724,59,32768,10789,59,32768,10866,110,33024,177,59,32768,177,105,109,59,32768,10790,119,111,59,32768,10791,59,32768,177,768,105,112,117,14208,14216,14221,110,116,105,110,116,59,32768,10773,102,59,32896,55349,56673,110,100,33024,163,59,32768,163,2560,59,69,97,99,101,105,110,111,115,117,14249,14251,14254,14258,14263,14336,14348,14367,14413,14418,32768,8826,59,32768,10931,112,59,32768,10935,117,101,59,32768,8828,512,59,99,14268,14270,32768,10927,1536,59,97,99,101,110,115,14283,14285,14293,14302,14306,14331,32768,8826,112,112,114,111,120,59,32768,10935,117,114,108,121,101,113,59,32768,8828,113,59,32768,10927,768,97,101,115,14313,14321,14326,112,112,114,111,120,59,32768,10937,113,113,59,32768,10933,105,109,59,32768,8936,105,109,59,32768,8830,109,101,512,59,115,14343,14345,32768,8242,59,32768,8473,768,69,97,115,14355,14358,14362,59,32768,10933,112,59,32768,10937,105,109,59,32768,8936,768,100,102,112,14374,14377,14402,59,32768,8719,768,97,108,115,14384,14390,14396,108,97,114,59,32768,9006,105,110,101,59,32768,8978,117,114,102,59,32768,8979,512,59,116,14407,14409,32768,8733,111,59,32768,8733,105,109,59,32768,8830,114,101,108,59,32768,8880,512,99,105,14429,14434,114,59,32896,55349,56517,59,32768,968,110,99,115,112,59,32768,8200,1536,102,105,111,112,115,117,14457,14462,14467,14473,14480,14486,114,59,32896,55349,56622,110,116,59,32768,10764,112,102,59,32896,55349,56674,114,105,109,101,59,32768,8279,99,114,59,32896,55349,56518,768,97,101,111,14493,14513,14526,116,512,101,105,14499,14508,114,110,105,111,110,115,59,32768,8461,110,116,59,32768,10774,115,116,512,59,101,14520,14522,32768,63,113,59,32768,8799,116,33024,34,59,32768,34,5376,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,14575,14597,14603,14608,14775,14829,14865,14901,14943,14966,15e3,15139,15159,15176,15182,15236,15261,15267,15309,15352,15360,768,97,114,116,14582,14587,14591,114,114,59,32768,8667,114,59,32768,8658,97,105,108,59,32768,10524,97,114,114,59,32768,10511,97,114,59,32768,10596,1792,99,100,101,110,113,114,116,14623,14637,14642,14650,14672,14679,14751,512,101,117,14628,14632,59,32896,8765,817,116,101,59,32768,341,105,99,59,32768,8730,109,112,116,121,118,59,32768,10675,103,1024,59,100,101,108,14660,14662,14665,14668,32768,10217,59,32768,10642,59,32768,10661,101,59,32768,10217,117,111,33024,187,59,32768,187,114,2816,59,97,98,99,102,104,108,112,115,116,119,14703,14705,14709,14720,14723,14727,14731,14735,14739,14744,14748,32768,8594,112,59,32768,10613,512,59,102,14714,14716,32768,8677,115,59,32768,10528,59,32768,10547,115,59,32768,10526,107,59,32768,8618,112,59,32768,8620,108,59,32768,10565,105,109,59,32768,10612,108,59,32768,8611,59,32768,8605,512,97,105,14756,14761,105,108,59,32768,10522,111,512,59,110,14767,14769,32768,8758,97,108,115,59,32768,8474,768,97,98,114,14782,14787,14792,114,114,59,32768,10509,114,107,59,32768,10099,512,97,107,14797,14809,99,512,101,107,14803,14806,59,32768,125,59,32768,93,512,101,115,14814,14817,59,32768,10636,108,512,100,117,14823,14826,59,32768,10638,59,32768,10640,1024,97,101,117,121,14838,14844,14858,14862,114,111,110,59,32768,345,512,100,105,14849,14854,105,108,59,32768,343,108,59,32768,8969,98,59,32768,125,59,32768,1088,1024,99,108,113,115,14874,14878,14885,14897,97,59,32768,10551,100,104,97,114,59,32768,10601,117,111,512,59,114,14892,14894,32768,8221,59,32768,8221,104,59,32768,8627,768,97,99,103,14908,14934,14938,108,1024,59,105,112,115,14918,14920,14925,14931,32768,8476,110,101,59,32768,8475,97,114,116,59,32768,8476,59,32768,8477,116,59,32768,9645,33024,174,59,32768,174,768,105,108,114,14950,14956,14962,115,104,116,59,32768,10621,111,111,114,59,32768,8971,59,32896,55349,56623,512,97,111,14971,14990,114,512,100,117,14977,14980,59,32768,8641,512,59,108,14985,14987,32768,8640,59,32768,10604,512,59,118,14995,14997,32768,961,59,32768,1009,768,103,110,115,15007,15123,15127,104,116,1536,97,104,108,114,115,116,15022,15039,15060,15086,15099,15111,114,114,111,119,512,59,116,15031,15033,32768,8594,97,105,108,59,32768,8611,97,114,112,111,111,110,512,100,117,15050,15056,111,119,110,59,32768,8641,112,59,32768,8640,101,102,116,512,97,104,15068,15076,114,114,111,119,115,59,32768,8644,97,114,112,111,111,110,115,59,32768,8652,105,103,104,116,97,114,114,111,119,115,59,32768,8649,113,117,105,103,97,114,114,111,119,59,32768,8605,104,114,101,101,116,105,109,101,115,59,32768,8908,103,59,32768,730,105,110,103,100,111,116,115,101,113,59,32768,8787,768,97,104,109,15146,15151,15156,114,114,59,32768,8644,97,114,59,32768,8652,59,32768,8207,111,117,115,116,512,59,97,15168,15170,32768,9137,99,104,101,59,32768,9137,109,105,100,59,32768,10990,1024,97,98,112,116,15191,15204,15209,15229,512,110,114,15196,15200,103,59,32768,10221,114,59,32768,8702,114,107,59,32768,10215,768,97,102,108,15216,15220,15224,114,59,32768,10630,59,32896,55349,56675,117,115,59,32768,10798,105,109,101,115,59,32768,10805,512,97,112,15241,15253,114,512,59,103,15247,15249,32768,41,116,59,32768,10644,111,108,105,110,116,59,32768,10770,97,114,114,59,32768,8649,1024,97,99,104,113,15276,15282,15287,15290,113,117,111,59,32768,8250,114,59,32896,55349,56519,59,32768,8625,512,98,117,15295,15298,59,32768,93,111,512,59,114,15304,15306,32768,8217,59,32768,8217,768,104,105,114,15316,15322,15328,114,101,101,59,32768,8908,109,101,115,59,32768,8906,105,1024,59,101,102,108,15338,15340,15343,15346,32768,9657,59,32768,8885,59,32768,9656,116,114,105,59,32768,10702,108,117,104,97,114,59,32768,10600,59,32768,8478,6706,15391,15398,15404,15499,15516,15592,0,15606,15660,0,0,15752,15758,0,15827,15863,15886,16e3,16006,16038,16086,0,16467,0,0,16506,99,117,116,101,59,32768,347,113,117,111,59,32768,8218,2560,59,69,97,99,101,105,110,112,115,121,15424,15426,15429,15441,15446,15458,15463,15482,15490,15495,32768,8827,59,32768,10932,833,15434,0,15437,59,32768,10936,111,110,59,32768,353,117,101,59,32768,8829,512,59,100,15451,15453,32768,10928,105,108,59,32768,351,114,99,59,32768,349,768,69,97,115,15470,15473,15477,59,32768,10934,112,59,32768,10938,105,109,59,32768,8937,111,108,105,110,116,59,32768,10771,105,109,59,32768,8831,59,32768,1089,111,116,768,59,98,101,15507,15509,15512,32768,8901,59,32768,8865,59,32768,10854,1792,65,97,99,109,115,116,120,15530,15535,15556,15562,15566,15572,15587,114,114,59,32768,8664,114,512,104,114,15541,15545,107,59,32768,10533,512,59,111,15550,15552,32768,8600,119,59,32768,8600,116,33024,167,59,32768,167,105,59,32768,59,119,97,114,59,32768,10537,109,512,105,110,15578,15584,110,117,115,59,32768,8726,59,32768,8726,116,59,32768,10038,114,512,59,111,15597,15600,32896,55349,56624,119,110,59,32768,8994,1024,97,99,111,121,15614,15619,15632,15654,114,112,59,32768,9839,512,104,121,15624,15629,99,121,59,32768,1097,59,32768,1096,114,116,1086,15640,0,0,15645,105,100,59,32768,8739,97,114,97,108,108,101,108,59,32768,8741,33024,173,59,32768,173,512,103,109,15664,15681,109,97,768,59,102,118,15673,15675,15678,32768,963,59,32768,962,59,32768,962,2048,59,100,101,103,108,110,112,114,15698,15700,15705,15715,15725,15735,15739,15745,32768,8764,111,116,59,32768,10858,512,59,113,15710,15712,32768,8771,59,32768,8771,512,59,69,15720,15722,32768,10910,59,32768,10912,512,59,69,15730,15732,32768,10909,59,32768,10911,101,59,32768,8774,108,117,115,59,32768,10788,97,114,114,59,32768,10610,97,114,114,59,32768,8592,1024,97,101,105,116,15766,15788,15796,15808,512,108,115,15771,15783,108,115,101,116,109,105,110,117,115,59,32768,8726,104,112,59,32768,10803,112,97,114,115,108,59,32768,10724,512,100,108,15801,15804,59,32768,8739,101,59,32768,8995,512,59,101,15813,15815,32768,10922,512,59,115,15820,15822,32768,10924,59,32896,10924,65024,768,102,108,112,15833,15839,15857,116,99,121,59,32768,1100,512,59,98,15844,15846,32768,47,512,59,97,15851,15853,32768,10692,114,59,32768,9023,102,59,32896,55349,56676,97,512,100,114,15868,15882,101,115,512,59,117,15875,15877,32768,9824,105,116,59,32768,9824,59,32768,8741,768,99,115,117,15892,15921,15977,512,97,117,15897,15909,112,512,59,115,15903,15905,32768,8851,59,32896,8851,65024,112,512,59,115,15915,15917,32768,8852,59,32896,8852,65024,117,512,98,112,15927,15952,768,59,101,115,15934,15936,15939,32768,8847,59,32768,8849,101,116,512,59,101,15946,15948,32768,8847,113,59,32768,8849,768,59,101,115,15959,15961,15964,32768,8848,59,32768,8850,101,116,512,59,101,15971,15973,32768,8848,113,59,32768,8850,768,59,97,102,15984,15986,15996,32768,9633,114,566,15991,15994,59,32768,9633,59,32768,9642,59,32768,9642,97,114,114,59,32768,8594,1024,99,101,109,116,16014,16019,16025,16031,114,59,32896,55349,56520,116,109,110,59,32768,8726,105,108,101,59,32768,8995,97,114,102,59,32768,8902,512,97,114,16042,16053,114,512,59,102,16048,16050,32768,9734,59,32768,9733,512,97,110,16058,16081,105,103,104,116,512,101,112,16067,16076,112,115,105,108,111,110,59,32768,1013,104,105,59,32768,981,115,59,32768,175,1280,98,99,109,110,112,16096,16221,16288,16291,16295,2304,59,69,100,101,109,110,112,114,115,16115,16117,16120,16125,16137,16143,16154,16160,16166,32768,8834,59,32768,10949,111,116,59,32768,10941,512,59,100,16130,16132,32768,8838,111,116,59,32768,10947,117,108,116,59,32768,10945,512,69,101,16148,16151,59,32768,10955,59,32768,8842,108,117,115,59,32768,10943,97,114,114,59,32768,10617,768,101,105,117,16173,16206,16210,116,768,59,101,110,16181,16183,16194,32768,8834,113,512,59,113,16189,16191,32768,8838,59,32768,10949,101,113,512,59,113,16201,16203,32768,8842,59,32768,10955,109,59,32768,10951,512,98,112,16215,16218,59,32768,10965,59,32768,10963,99,1536,59,97,99,101,110,115,16235,16237,16245,16254,16258,16283,32768,8827,112,112,114,111,120,59,32768,10936,117,114,108,121,101,113,59,32768,8829,113,59,32768,10928,768,97,101,115,16265,16273,16278,112,112,114,111,120,59,32768,10938,113,113,59,32768,10934,105,109,59,32768,8937,105,109,59,32768,8831,59,32768,8721,103,59,32768,9834,3328,49,50,51,59,69,100,101,104,108,109,110,112,115,16322,16327,16332,16337,16339,16342,16356,16368,16382,16388,16394,16405,16411,33024,185,59,32768,185,33024,178,59,32768,178,33024,179,59,32768,179,32768,8835,59,32768,10950,512,111,115,16347,16351,116,59,32768,10942,117,98,59,32768,10968,512,59,100,16361,16363,32768,8839,111,116,59,32768,10948,115,512,111,117,16374,16378,108,59,32768,10185,98,59,32768,10967,97,114,114,59,32768,10619,117,108,116,59,32768,10946,512,69,101,16399,16402,59,32768,10956,59,32768,8843,108,117,115,59,32768,10944,768,101,105,117,16418,16451,16455,116,768,59,101,110,16426,16428,16439,32768,8835,113,512,59,113,16434,16436,32768,8839,59,32768,10950,101,113,512,59,113,16446,16448,32768,8843,59,32768,10956,109,59,32768,10952,512,98,112,16460,16463,59,32768,10964,59,32768,10966,768,65,97,110,16473,16478,16499,114,114,59,32768,8665,114,512,104,114,16484,16488,107,59,32768,10534,512,59,111,16493,16495,32768,8601,119,59,32768,8601,119,97,114,59,32768,10538,108,105,103,33024,223,59,32768,223,5938,16538,16552,16557,16579,16584,16591,0,16596,16692,0,0,0,0,0,16731,16780,0,16787,16908,0,0,0,16938,1091,16543,0,0,16549,103,101,116,59,32768,8982,59,32768,964,114,107,59,32768,9140,768,97,101,121,16563,16569,16575,114,111,110,59,32768,357,100,105,108,59,32768,355,59,32768,1090,111,116,59,32768,8411,108,114,101,99,59,32768,8981,114,59,32896,55349,56625,1024,101,105,107,111,16604,16641,16670,16684,835,16609,0,16624,101,512,52,102,16614,16617,59,32768,8756,111,114,101,59,32768,8756,97,768,59,115,118,16631,16633,16638,32768,952,121,109,59,32768,977,59,32768,977,512,99,110,16646,16665,107,512,97,115,16652,16660,112,112,114,111,120,59,32768,8776,105,109,59,32768,8764,115,112,59,32768,8201,512,97,115,16675,16679,112,59,32768,8776,105,109,59,32768,8764,114,110,33024,254,59,32768,254,829,16696,16701,16727,100,101,59,32768,732,101,115,33536,215,59,98,100,16710,16712,16723,32768,215,512,59,97,16717,16719,32768,8864,114,59,32768,10801,59,32768,10800,116,59,32768,8749,768,101,112,115,16737,16741,16775,97,59,32768,10536,1024,59,98,99,102,16750,16752,16757,16762,32768,8868,111,116,59,32768,9014,105,114,59,32768,10993,512,59,111,16767,16770,32896,55349,56677,114,107,59,32768,10970,97,59,32768,10537,114,105,109,101,59,32768,8244,768,97,105,112,16793,16798,16899,100,101,59,32768,8482,1792,97,100,101,109,112,115,116,16813,16868,16873,16876,16883,16889,16893,110,103,108,101,1280,59,100,108,113,114,16828,16830,16836,16850,16853,32768,9653,111,119,110,59,32768,9663,101,102,116,512,59,101,16844,16846,32768,9667,113,59,32768,8884,59,32768,8796,105,103,104,116,512,59,101,16862,16864,32768,9657,113,59,32768,8885,111,116,59,32768,9708,59,32768,8796,105,110,117,115,59,32768,10810,108,117,115,59,32768,10809,98,59,32768,10701,105,109,101,59,32768,10811,101,122,105,117,109,59,32768,9186,768,99,104,116,16914,16926,16931,512,114,121,16919,16923,59,32896,55349,56521,59,32768,1094,99,121,59,32768,1115,114,111,107,59,32768,359,512,105,111,16942,16947,120,116,59,32768,8812,104,101,97,100,512,108,114,16956,16967,101,102,116,97,114,114,111,119,59,32768,8606,105,103,104,116,97,114,114,111,119,59,32768,8608,4608,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,17016,17021,17026,17043,17057,17072,17095,17110,17119,17139,17172,17187,17202,17290,17330,17336,17365,17381,114,114,59,32768,8657,97,114,59,32768,10595,512,99,114,17031,17039,117,116,101,33024,250,59,32768,250,114,59,32768,8593,114,820,17049,0,17053,121,59,32768,1118,118,101,59,32768,365,512,105,121,17062,17069,114,99,33024,251,59,32768,251,59,32768,1091,768,97,98,104,17079,17084,17090,114,114,59,32768,8645,108,97,99,59,32768,369,97,114,59,32768,10606,512,105,114,17100,17106,115,104,116,59,32768,10622,59,32896,55349,56626,114,97,118,101,33024,249,59,32768,249,562,17123,17135,114,512,108,114,17128,17131,59,32768,8639,59,32768,8638,108,107,59,32768,9600,512,99,116,17144,17167,1088,17150,0,0,17163,114,110,512,59,101,17156,17158,32768,8988,114,59,32768,8988,111,112,59,32768,8975,114,105,59,32768,9720,512,97,108,17177,17182,99,114,59,32768,363,33024,168,59,32768,168,512,103,112,17192,17197,111,110,59,32768,371,102,59,32896,55349,56678,1536,97,100,104,108,115,117,17215,17222,17233,17257,17262,17280,114,114,111,119,59,32768,8593,111,119,110,97,114,114,111,119,59,32768,8597,97,114,112,111,111,110,512,108,114,17244,17250,101,102,116,59,32768,8639,105,103,104,116,59,32768,8638,117,115,59,32768,8846,105,768,59,104,108,17270,17272,17275,32768,965,59,32768,978,111,110,59,32768,965,112,97,114,114,111,119,115,59,32768,8648,768,99,105,116,17297,17320,17325,1088,17303,0,0,17316,114,110,512,59,101,17309,17311,32768,8989,114,59,32768,8989,111,112,59,32768,8974,110,103,59,32768,367,114,105,59,32768,9721,99,114,59,32896,55349,56522,768,100,105,114,17343,17348,17354,111,116,59,32768,8944,108,100,101,59,32768,361,105,512,59,102,17360,17362,32768,9653,59,32768,9652,512,97,109,17370,17375,114,114,59,32768,8648,108,33024,252,59,32768,252,97,110,103,108,101,59,32768,10663,3840,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,17420,17425,17437,17443,17613,17617,17623,17667,17672,17678,17693,17699,17705,17711,17754,114,114,59,32768,8661,97,114,512,59,118,17432,17434,32768,10984,59,32768,10985,97,115,104,59,32768,8872,512,110,114,17448,17454,103,114,116,59,32768,10652,1792,101,107,110,112,114,115,116,17469,17478,17485,17494,17515,17526,17578,112,115,105,108,111,110,59,32768,1013,97,112,112,97,59,32768,1008,111,116,104,105,110,103,59,32768,8709,768,104,105,114,17501,17505,17508,105,59,32768,981,59,32768,982,111,112,116,111,59,32768,8733,512,59,104,17520,17522,32768,8597,111,59,32768,1009,512,105,117,17531,17537,103,109,97,59,32768,962,512,98,112,17542,17560,115,101,116,110,101,113,512,59,113,17553,17556,32896,8842,65024,59,32896,10955,65024,115,101,116,110,101,113,512,59,113,17571,17574,32896,8843,65024,59,32896,10956,65024,512,104,114,17583,17589,101,116,97,59,32768,977,105,97,110,103,108,101,512,108,114,17600,17606,101,102,116,59,32768,8882,105,103,104,116,59,32768,8883,121,59,32768,1074,97,115,104,59,32768,8866,768,101,108,114,17630,17648,17654,768,59,98,101,17637,17639,17644,32768,8744,97,114,59,32768,8891,113,59,32768,8794,108,105,112,59,32768,8942,512,98,116,17659,17664,97,114,59,32768,124,59,32768,124,114,59,32896,55349,56627,116,114,105,59,32768,8882,115,117,512,98,112,17685,17689,59,32896,8834,8402,59,32896,8835,8402,112,102,59,32896,55349,56679,114,111,112,59,32768,8733,116,114,105,59,32768,8883,512,99,117,17716,17721,114,59,32896,55349,56523,512,98,112,17726,17740,110,512,69,101,17732,17736,59,32896,10955,65024,59,32896,8842,65024,110,512,69,101,17746,17750,59,32896,10956,65024,59,32896,8843,65024,105,103,122,97,103,59,32768,10650,1792,99,101,102,111,112,114,115,17777,17783,17815,17820,17826,17829,17842,105,114,99,59,32768,373,512,100,105,17788,17809,512,98,103,17793,17798,97,114,59,32768,10847,101,512,59,113,17804,17806,32768,8743,59,32768,8793,101,114,112,59,32768,8472,114,59,32896,55349,56628,112,102,59,32896,55349,56680,59,32768,8472,512,59,101,17834,17836,32768,8768,97,116,104,59,32768,8768,99,114,59,32896,55349,56524,5428,17871,17891,0,17897,0,17902,17917,0,0,17920,17935,17940,17945,0,0,17977,17992,0,18008,18024,18029,768,97,105,117,17877,17881,17886,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,116,114,105,59,32768,9661,114,59,32896,55349,56629,512,65,97,17906,17911,114,114,59,32768,10234,114,114,59,32768,10231,59,32768,958,512,65,97,17924,17929,114,114,59,32768,10232,114,114,59,32768,10229,97,112,59,32768,10236,105,115,59,32768,8955,768,100,112,116,17951,17956,17970,111,116,59,32768,10752,512,102,108,17961,17965,59,32896,55349,56681,117,115,59,32768,10753,105,109,101,59,32768,10754,512,65,97,17981,17986,114,114,59,32768,10233,114,114,59,32768,10230,512,99,113,17996,18001,114,59,32896,55349,56525,99,117,112,59,32768,10758,512,112,116,18012,18018,108,117,115,59,32768,10756,114,105,59,32768,9651,101,101,59,32768,8897,101,100,103,101,59,32768,8896,2048,97,99,101,102,105,111,115,117,18052,18068,18081,18087,18092,18097,18103,18109,99,512,117,121,18058,18065,116,101,33024,253,59,32768,253,59,32768,1103,512,105,121,18073,18078,114,99,59,32768,375,59,32768,1099,110,33024,165,59,32768,165,114,59,32896,55349,56630,99,121,59,32768,1111,112,102,59,32896,55349,56682,99,114,59,32896,55349,56526,512,99,109,18114,18118,121,59,32768,1102,108,33024,255,59,32768,255,2560,97,99,100,101,102,104,105,111,115,119,18145,18152,18166,18171,18186,18191,18196,18204,18210,18216,99,117,116,101,59,32768,378,512,97,121,18157,18163,114,111,110,59,32768,382,59,32768,1079,111,116,59,32768,380,512,101,116,18176,18182,116,114,102,59,32768,8488,97,59,32768,950,114,59,32896,55349,56631,99,121,59,32768,1078,103,114,97,114,114,59,32768,8669,112,102,59,32896,55349,56683,99,114,59,32896,55349,56527,512,106,110,18221,18224,59,32768,8205,106,59,32768,8204]);var Hi={};Object.defineProperty(Hi,"__esModule",{value:!0});Hi.default=new Uint16Array([1024,97,103,108,113,9,23,27,31,1086,15,0,0,19,112,59,32768,38,111,115,59,32768,39,116,59,32768,62,116,59,32768,60,117,111,116,59,32768,34]);(function(e){var t=I&&I.__importDefault||function(N){return N&&N.__esModule?N:{default:N}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXML=e.decodeHTMLStrict=e.decodeHTML=e.determineBranch=e.JUMP_OFFSET_BASE=e.BinTrieFlags=e.xmlDecodeTree=e.htmlDecodeTree=void 0;var r=t(Wi);e.htmlDecodeTree=r.default;var n=t(Hi);e.xmlDecodeTree=n.default;var o=t(w1),i;(function(N){N[N.HAS_VALUE=32768]="HAS_VALUE",N[N.BRANCH_LENGTH=32512]="BRANCH_LENGTH",N[N.MULTI_BYTE=128]="MULTI_BYTE",N[N.JUMP_TABLE=127]="JUMP_TABLE"})(i=e.BinTrieFlags||(e.BinTrieFlags={})),e.JUMP_OFFSET_BASE=47;function a(N){return function(E,M){for(var D="",H=0,k=0;(k=E.indexOf("&",k))>=0;){if(D+=E.slice(H,k),H=k,k+=1,E.charCodeAt(k)===35){var F=k+1,z=10,Y=E.charCodeAt(F);for((Y|32)===120&&(z=16,k+=1,F+=1);(Y=E.charCodeAt(++k))>=48&&Y<=57||z===16&&(Y|32)>=97&&(Y|32)<=102;);if(F!==k){var oe=E.substring(F,k),ee=parseInt(oe,z);if(E.charCodeAt(k)===59)k+=1;else if(M)continue;D+=o.default(ee),H=k}continue}for(var _e=null,be=1,re=0,te=N[re];k>8;if(D===0)return-1;if(D===1)return M===N[E]?E+1:-1;var H=T&i.JUMP_TABLE;if(H){var k=M-e.JUMP_OFFSET_BASE-H;return k<0||k>D?-1:N[E+k]-1}for(var F=E,z=F+D-1;F<=z;){var Y=F+z>>>1,oe=N[Y];if(oeM)z=Y-1;else return N[Y+D]}return-1}e.determineBranch=c;var l=a(r.default),d=a(n.default);function p(N){return l(N,!1)}e.decodeHTML=p;function v(N){return l(N,!0)}e.decodeHTMLStrict=v;function h(N){return d(N,!0)}e.decodeXML=h})(Hl);var lg=I&&I.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(S1,"__esModule",{value:!0});var dg=lg(w1),rn=Hl;function pt(e){return e===32||e===10||e===9||e===12||e===13}function ho(e){return e===47||e===62||pt(e)}function Oc(e){return e>=48&&e<=57}function fg(e){return e>=97&&e<=122||e>=65&&e<=90}var Re={Cdata:new Uint16Array([67,68,65,84,65,91]),CdataEnd:new Uint16Array([93,93,62]),CommentEnd:new Uint16Array([45,45,62]),ScriptEnd:new Uint16Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint16Array([60,47,115,116,121,108,101]),TitleEnd:new Uint16Array([60,47,116,105,116,108,101])},pg=function(){function e(t,r){var n=t.xmlMode,o=n===void 0?!1:n,i=t.decodeEntities,a=i===void 0?!0:i;this.cbs=r,this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.isSpecial=!1,this.running=!0,this.ended=!1,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.trieResult=null,this.entityExcess=0,this.xmlMode=o,this.decodeEntities=a,this.entityTrie=o?rn.xmlDecodeTree:rn.htmlDecodeTree}return e.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.currentSequence=void 0,this.running=!0,this.ended=!1},e.prototype.write=function(t){if(this.ended)return this.cbs.onerror(Error(".write() after done!"));this.buffer+=t,this.parse()},e.prototype.end=function(t){if(this.ended)return this.cbs.onerror(Error(".end() after done!"));t&&this.write(t),this.ended=!0,this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this._indexthis.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):this.decodeEntities&&t===38&&(this._state=25)},e.prototype.stateSpecialStartSequence=function(t){var r=this.sequenceIndex===this.currentSequence.length,n=r?ho(t):(t|32)===this.currentSequence[this.sequenceIndex];if(!n)this.isSpecial=!1;else if(!r){this.sequenceIndex++;return}this.sequenceIndex=0,this._state=3,this.stateInTagName(t)},e.prototype.stateInSpecialTag=function(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||pt(t)){var r=this._index-this.currentSequence.length;if(this.sectionStartthis.sectionStart&&this.emitPartial(this.buffer.substring(this.sectionStart,r)),this.trieResult=this.trieCurrent&rn.BinTrieFlags.MULTI_BYTE?String.fromCharCode(this.entityTrie[++this.trieIndex],this.entityTrie[++this.trieIndex]):String.fromCharCode(this.entityTrie[++this.trieIndex]),this.entityExcess=0,this.sectionStart=this._index+1}},e.prototype.emitNamedEntity=function(){this.trieResult&&this.emitPartial(this.trieResult),this._state=this.baseState},e.prototype.stateBeforeNumericEntity=function(t){(t|32)===120?(this.entityExcess++,this._state=29):(this._state=28,this.stateInNumericEntity(t))},e.prototype.decodeNumericEntity=function(t,r){var n=this._index-this.entityExcess-1,o=n+2+(t>>4);if(o!==this._index){n>this.sectionStart&&this.emitPartial(this.buffer.substring(this.sectionStart,n));var i=this.buffer.substring(o,this._index),a=parseInt(i,t);this.emitPartial((0,dg.default)(a)),this.sectionStart=this._index+Number(r)}this._state=this.baseState},e.prototype.stateInNumericEntity=function(t){t===59?this.decodeNumericEntity(10,!0):Oc(t)?this.entityExcess++:(this.allowLegacyEntity()?this.decodeNumericEntity(10,!1):this._state=this.baseState,this._index--)},e.prototype.stateInHexEntity=function(t){t===59?this.decodeNumericEntity(16,!0):(t<97||t>102)&&(t<65||t>70)&&!Oc(t)?(this.allowLegacyEntity()?this.decodeNumericEntity(16,!1):this._state=this.baseState,this._index--):this.entityExcess++},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===1||this.baseState===24)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this._index&&(this._state===1||this._state===24&&this.sequenceIndex===0)&&(this.cbs.ontext(this.buffer.substr(this.sectionStart)),this.sectionStart=this._index);var t=this.sectionStart<0?this._index:this.sectionStart;this.buffer=t===this.buffer.length?"":this.buffer.substr(t),this._index-=t,this.bufferOffset+=t,this.sectionStart>0&&(this.sectionStart=0)},e.prototype.shouldContinue=function(){return this._index0&&a.has(this.stack[this.stack.length-1]);){var c=this.stack.pop();(n=(r=this.cbs).onclosetag)===null||n===void 0||n.call(r,c,!0)}this.isVoidElement(t)||(this.stack.push(t),Dc.has(t)?this.foreignContext.push(!0):Ic.has(t)&&this.foreignContext.push(!1)),(i=(o=this.cbs).onopentagname)===null||i===void 0||i.call(o,t),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(t){var r,n;this.startIndex=this.openTagStart,this.endIndex=this.tokenizer.getAbsoluteIndex(),this.attribs&&((n=(r=this.cbs).onopentag)===null||n===void 0||n.call(r,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(){this.endOpenTag(!1),this.startIndex=this.endIndex+1},e.prototype.onclosetag=function(t){var r,n,o,i,a,c;if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.lowerCaseTagNames&&(t=t.toLowerCase()),(Dc.has(t)||Ic.has(t))&&this.foreignContext.pop(),this.isVoidElement(t))!this.options.xmlMode&&t==="br"&&((n=(r=this.cbs).onopentagname)===null||n===void 0||n.call(r,t),(i=(o=this.cbs).onopentag)===null||i===void 0||i.call(o,t,{},!0),(c=(a=this.cbs).onclosetag)===null||c===void 0||c.call(a,t,!1));else{var l=this.stack.lastIndexOf(t);if(l!==-1)if(this.cbs.onclosetag)for(var d=this.stack.length-l;d--;)this.cbs.onclosetag(this.stack.pop(),d!==0);else this.stack.length=l;else!this.options.xmlMode&&t==="p"&&(this.emitOpenTag(t),this.closeCurrentTag(!0))}this.startIndex=this.endIndex+1},e.prototype.onselfclosingtag=function(){this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=this.endIndex+1):this.onopentagend()},e.prototype.closeCurrentTag=function(t){var r,n,o=this.tagname;this.endOpenTag(t),this.stack[this.stack.length-1]===o&&((n=(r=this.cbs).onclosetag)===null||n===void 0||n.call(r,o,!t),this.stack.pop())},e.prototype.onattribname=function(t){this.startIndex=this.tokenizer.getAbsoluteSectionStart(),this.lowerCaseAttributeNames&&(t=t.toLowerCase()),this.attribname=t},e.prototype.onattribdata=function(t){this.attribvalue+=t},e.prototype.onattribend=function(t){var r,n;this.endIndex=this.tokenizer.getAbsoluteIndex(),(n=(r=this.cbs).onattribute)===null||n===void 0||n.call(r,this.attribname,this.attribvalue,t),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribname="",this.attribvalue=""},e.prototype.getInstructionName=function(t){var r=t.search(yg),n=r<0?t:t.substr(0,r);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(t){if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.cbs.onprocessinginstruction){var r=this.getInstructionName(t);this.cbs.onprocessinginstruction("!"+r,"!"+t)}this.startIndex=this.endIndex+1},e.prototype.onprocessinginstruction=function(t){if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.cbs.onprocessinginstruction){var r=this.getInstructionName(t);this.cbs.onprocessinginstruction("?"+r,"?"+t)}this.startIndex=this.endIndex+1},e.prototype.oncomment=function(t){var r,n,o,i;this.endIndex=this.tokenizer.getAbsoluteIndex(),(n=(r=this.cbs).oncomment)===null||n===void 0||n.call(r,t),(i=(o=this.cbs).oncommentend)===null||i===void 0||i.call(o),this.startIndex=this.endIndex+1},e.prototype.oncdata=function(t){var r,n,o,i,a,c,l,d,p,v;this.endIndex=this.tokenizer.getAbsoluteIndex(),this.options.xmlMode||this.options.recognizeCDATA?((n=(r=this.cbs).oncdatastart)===null||n===void 0||n.call(r),(i=(o=this.cbs).ontext)===null||i===void 0||i.call(o,t),(c=(a=this.cbs).oncdataend)===null||c===void 0||c.call(a)):((d=(l=this.cbs).oncomment)===null||d===void 0||d.call(l,"[CDATA["+t+"]]"),(v=(p=this.cbs).oncommentend)===null||v===void 0||v.call(p)),this.startIndex=this.endIndex+1},e.prototype.onerror=function(t){var r,n;(n=(r=this.cbs).onerror)===null||n===void 0||n.call(r,t)},e.prototype.onend=function(){var t,r;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n],!0));}(r=(t=this.cbs).onend)===null||r===void 0||r.call(t)},e.prototype.reset=function(){var t,r,n,o;(r=(t=this.cbs).onreset)===null||r===void 0||r.call(t),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack=[],this.startIndex=0,this.endIndex=0,(o=(n=this.cbs).onparserinit)===null||o===void 0||o.call(n,this)},e.prototype.parseComplete=function(t){this.reset(),this.end(t)},e.prototype.write=function(t){this.tokenizer.write(t)},e.prototype.end=function(t){this.tokenizer.end(t)},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){this.tokenizer.resume()},e.prototype.parseChunk=function(t){this.write(t)},e.prototype.done=function(t){this.end(t)},e}();Ln.Parser=_g;var si={},$1={},Ae={},ji={},jl={},ht={};const bg="Á",Sg="á",wg="Ă",$g="ă",Pg="∾",xg="∿",Cg="∾̳",Tg="Â",Eg="â",Mg="´",Rg="А",Ng="а",Og="Æ",Lg="æ",Ag="⁡",qg="𝔄",Dg="𝔞",Ig="À",kg="à",Fg="ℵ",Vg="ℵ",zg="Α",Bg="α",Ug="Ā",Wg="ā",Hg="⨿",jg="&",Gg="&",Qg="⩕",Xg="⩓",Yg="∧",Zg="⩜",Jg="⩘",Kg="⩚",em="∠",tm="⦤",rm="∠",nm="⦨",om="⦩",am="⦪",im="⦫",sm="⦬",cm="⦭",um="⦮",lm="⦯",dm="∡",fm="∟",pm="⊾",hm="⦝",gm="∢",mm="Å",vm="⍼",ym="Ą",_m="ą",bm="𝔸",Sm="𝕒",wm="⩯",$m="≈",Pm="⩰",xm="≊",Cm="≋",Tm="'",Em="⁡",Mm="≈",Rm="≊",Nm="Å",Om="å",Lm="𝒜",Am="𝒶",qm="≔",Dm="*",Im="≈",km="≍",Fm="Ã",Vm="ã",zm="Ä",Bm="ä",Um="∳",Wm="⨑",Hm="≌",jm="϶",Gm="‵",Qm="∽",Xm="⋍",Ym="∖",Zm="⫧",Jm="⊽",Km="⌅",ev="⌆",tv="⌅",rv="⎵",nv="⎶",ov="≌",av="Б",iv="б",sv="„",cv="∵",uv="∵",lv="∵",dv="⦰",fv="϶",pv="ℬ",hv="ℬ",gv="Β",mv="β",vv="ℶ",yv="≬",_v="𝔅",bv="𝔟",Sv="⋂",wv="◯",$v="⋃",Pv="⨀",xv="⨁",Cv="⨂",Tv="⨆",Ev="★",Mv="▽",Rv="△",Nv="⨄",Ov="⋁",Lv="⋀",Av="⤍",qv="⧫",Dv="▪",Iv="▴",kv="▾",Fv="◂",Vv="▸",zv="␣",Bv="▒",Uv="░",Wv="▓",Hv="█",jv="=⃥",Gv="≡⃥",Qv="⫭",Xv="⌐",Yv="𝔹",Zv="𝕓",Jv="⊥",Kv="⊥",e4="⋈",t4="⧉",r4="┐",n4="╕",o4="╖",a4="╗",i4="┌",s4="╒",c4="╓",u4="╔",l4="─",d4="═",f4="┬",p4="╤",h4="╥",g4="╦",m4="┴",v4="╧",y4="╨",_4="╩",b4="⊟",S4="⊞",w4="⊠",$4="┘",P4="╛",x4="╜",C4="╝",T4="└",E4="╘",M4="╙",R4="╚",N4="│",O4="║",L4="┼",A4="╪",q4="╫",D4="╬",I4="┤",k4="╡",F4="╢",V4="╣",z4="├",B4="╞",U4="╟",W4="╠",H4="‵",j4="˘",G4="˘",Q4="¦",X4="𝒷",Y4="ℬ",Z4="⁏",J4="∽",K4="⋍",ey="⧅",ty="\\",ry="⟈",ny="•",oy="•",ay="≎",iy="⪮",sy="≏",cy="≎",uy="≏",ly="Ć",dy="ć",fy="⩄",py="⩉",hy="⩋",gy="∩",my="⋒",vy="⩇",yy="⩀",_y="ⅅ",by="∩︀",Sy="⁁",wy="ˇ",$y="ℭ",Py="⩍",xy="Č",Cy="č",Ty="Ç",Ey="ç",My="Ĉ",Ry="ĉ",Ny="∰",Oy="⩌",Ly="⩐",Ay="Ċ",qy="ċ",Dy="¸",Iy="¸",ky="⦲",Fy="¢",Vy="·",zy="·",By="𝔠",Uy="ℭ",Wy="Ч",Hy="ч",jy="✓",Gy="✓",Qy="Χ",Xy="χ",Yy="ˆ",Zy="≗",Jy="↺",Ky="↻",e_="⊛",t_="⊚",r_="⊝",n_="⊙",o_="®",a_="Ⓢ",i_="⊖",s_="⊕",c_="⊗",u_="○",l_="⧃",d_="≗",f_="⨐",p_="⫯",h_="⧂",g_="∲",m_="”",v_="’",y_="♣",__="♣",b_=":",S_="∷",w_="⩴",$_="≔",P_="≔",x_=",",C_="@",T_="∁",E_="∘",M_="∁",R_="ℂ",N_="≅",O_="⩭",L_="≡",A_="∮",q_="∯",D_="∮",I_="𝕔",k_="ℂ",F_="∐",V_="∐",z_="©",B_="©",U_="℗",W_="∳",H_="↵",j_="✗",G_="⨯",Q_="𝒞",X_="𝒸",Y_="⫏",Z_="⫑",J_="⫐",K_="⫒",eb="⋯",tb="⤸",rb="⤵",nb="⋞",ob="⋟",ab="↶",ib="⤽",sb="⩈",cb="⩆",ub="≍",lb="∪",db="⋓",fb="⩊",pb="⊍",hb="⩅",gb="∪︀",mb="↷",vb="⤼",yb="⋞",_b="⋟",bb="⋎",Sb="⋏",wb="¤",$b="↶",Pb="↷",xb="⋎",Cb="⋏",Tb="∲",Eb="∱",Mb="⌭",Rb="†",Nb="‡",Ob="ℸ",Lb="↓",Ab="↡",qb="⇓",Db="‐",Ib="⫤",kb="⊣",Fb="⤏",Vb="˝",zb="Ď",Bb="ď",Ub="Д",Wb="д",Hb="‡",jb="⇊",Gb="ⅅ",Qb="ⅆ",Xb="⤑",Yb="⩷",Zb="°",Jb="∇",Kb="Δ",eS="δ",tS="⦱",rS="⥿",nS="𝔇",oS="𝔡",aS="⥥",iS="⇃",sS="⇂",cS="´",uS="˙",lS="˝",dS="`",fS="˜",pS="⋄",hS="⋄",gS="⋄",mS="♦",vS="♦",yS="¨",_S="ⅆ",bS="ϝ",SS="⋲",wS="÷",$S="÷",PS="⋇",xS="⋇",CS="Ђ",TS="ђ",ES="⌞",MS="⌍",RS="$",NS="𝔻",OS="𝕕",LS="¨",AS="˙",qS="⃜",DS="≐",IS="≑",kS="≐",FS="∸",VS="∔",zS="⊡",BS="⌆",US="∯",WS="¨",HS="⇓",jS="⇐",GS="⇔",QS="⫤",XS="⟸",YS="⟺",ZS="⟹",JS="⇒",KS="⊨",ew="⇑",tw="⇕",rw="∥",nw="⤓",ow="↓",aw="↓",iw="⇓",sw="⇵",cw="̑",uw="⇊",lw="⇃",dw="⇂",fw="⥐",pw="⥞",hw="⥖",gw="↽",mw="⥟",vw="⥗",yw="⇁",_w="↧",bw="⊤",Sw="⤐",ww="⌟",$w="⌌",Pw="𝒟",xw="𝒹",Cw="Ѕ",Tw="ѕ",Ew="⧶",Mw="Đ",Rw="đ",Nw="⋱",Ow="▿",Lw="▾",Aw="⇵",qw="⥯",Dw="⦦",Iw="Џ",kw="џ",Fw="⟿",Vw="É",zw="é",Bw="⩮",Uw="Ě",Ww="ě",Hw="Ê",jw="ê",Gw="≖",Qw="≕",Xw="Э",Yw="э",Zw="⩷",Jw="Ė",Kw="ė",e$="≑",t$="ⅇ",r$="≒",n$="𝔈",o$="𝔢",a$="⪚",i$="È",s$="è",c$="⪖",u$="⪘",l$="⪙",d$="∈",f$="⏧",p$="ℓ",h$="⪕",g$="⪗",m$="Ē",v$="ē",y$="∅",_$="∅",b$="◻",S$="∅",w$="▫",$$=" ",P$=" ",x$=" ",C$="Ŋ",T$="ŋ",E$=" ",M$="Ę",R$="ę",N$="𝔼",O$="𝕖",L$="⋕",A$="⧣",q$="⩱",D$="ε",I$="Ε",k$="ε",F$="ϵ",V$="≖",z$="≕",B$="≂",U$="⪖",W$="⪕",H$="⩵",j$="=",G$="≂",Q$="≟",X$="⇌",Y$="≡",Z$="⩸",J$="⧥",K$="⥱",eP="≓",tP="ℯ",rP="ℰ",nP="≐",oP="⩳",aP="≂",iP="Η",sP="η",cP="Ð",uP="ð",lP="Ë",dP="ë",fP="€",pP="!",hP="∃",gP="∃",mP="ℰ",vP="ⅇ",yP="ⅇ",_P="≒",bP="Ф",SP="ф",wP="♀",$P="ffi",PP="ff",xP="ffl",CP="𝔉",TP="𝔣",EP="fi",MP="◼",RP="▪",NP="fj",OP="♭",LP="fl",AP="▱",qP="ƒ",DP="𝔽",IP="𝕗",kP="∀",FP="∀",VP="⋔",zP="⫙",BP="ℱ",UP="⨍",WP="½",HP="⅓",jP="¼",GP="⅕",QP="⅙",XP="⅛",YP="⅔",ZP="⅖",JP="¾",KP="⅗",ex="⅜",tx="⅘",rx="⅚",nx="⅝",ox="⅞",ax="⁄",ix="⌢",sx="𝒻",cx="ℱ",ux="ǵ",lx="Γ",dx="γ",fx="Ϝ",px="ϝ",hx="⪆",gx="Ğ",mx="ğ",vx="Ģ",yx="Ĝ",_x="ĝ",bx="Г",Sx="г",wx="Ġ",$x="ġ",Px="≥",xx="≧",Cx="⪌",Tx="⋛",Ex="≥",Mx="≧",Rx="⩾",Nx="⪩",Ox="⩾",Lx="⪀",Ax="⪂",qx="⪄",Dx="⋛︀",Ix="⪔",kx="𝔊",Fx="𝔤",Vx="≫",zx="⋙",Bx="⋙",Ux="ℷ",Wx="Ѓ",Hx="ѓ",jx="⪥",Gx="≷",Qx="⪒",Xx="⪤",Yx="⪊",Zx="⪊",Jx="⪈",Kx="≩",eC="⪈",tC="≩",rC="⋧",nC="𝔾",oC="𝕘",aC="`",iC="≥",sC="⋛",cC="≧",uC="⪢",lC="≷",dC="⩾",fC="≳",pC="𝒢",hC="ℊ",gC="≳",mC="⪎",vC="⪐",yC="⪧",_C="⩺",bC=">",SC=">",wC="≫",$C="⋗",PC="⦕",xC="⩼",CC="⪆",TC="⥸",EC="⋗",MC="⋛",RC="⪌",NC="≷",OC="≳",LC="≩︀",AC="≩︀",qC="ˇ",DC=" ",IC="½",kC="ℋ",FC="Ъ",VC="ъ",zC="⥈",BC="↔",UC="⇔",WC="↭",HC="^",jC="ℏ",GC="Ĥ",QC="ĥ",XC="♥",YC="♥",ZC="…",JC="⊹",KC="𝔥",eT="ℌ",tT="ℋ",rT="⤥",nT="⤦",oT="⇿",aT="∻",iT="↩",sT="↪",cT="𝕙",uT="ℍ",lT="―",dT="─",fT="𝒽",pT="ℋ",hT="ℏ",gT="Ħ",mT="ħ",vT="≎",yT="≏",_T="⁃",bT="‐",ST="Í",wT="í",$T="⁣",PT="Î",xT="î",CT="И",TT="и",ET="İ",MT="Е",RT="е",NT="¡",OT="⇔",LT="𝔦",AT="ℑ",qT="Ì",DT="ì",IT="ⅈ",kT="⨌",FT="∭",VT="⧜",zT="℩",BT="IJ",UT="ij",WT="Ī",HT="ī",jT="ℑ",GT="ⅈ",QT="ℐ",XT="ℑ",YT="ı",ZT="ℑ",JT="⊷",KT="Ƶ",eE="⇒",tE="℅",rE="∞",nE="⧝",oE="ı",aE="⊺",iE="∫",sE="∬",cE="ℤ",uE="∫",lE="⊺",dE="⋂",fE="⨗",pE="⨼",hE="⁣",gE="⁢",mE="Ё",vE="ё",yE="Į",_E="į",bE="𝕀",SE="𝕚",wE="Ι",$E="ι",PE="⨼",xE="¿",CE="𝒾",TE="ℐ",EE="∈",ME="⋵",RE="⋹",NE="⋴",OE="⋳",LE="∈",AE="⁢",qE="Ĩ",DE="ĩ",IE="І",kE="і",FE="Ï",VE="ï",zE="Ĵ",BE="ĵ",UE="Й",WE="й",HE="𝔍",jE="𝔧",GE="ȷ",QE="𝕁",XE="𝕛",YE="𝒥",ZE="𝒿",JE="Ј",KE="ј",eM="Є",tM="є",rM="Κ",nM="κ",oM="ϰ",aM="Ķ",iM="ķ",sM="К",cM="к",uM="𝔎",lM="𝔨",dM="ĸ",fM="Х",pM="х",hM="Ќ",gM="ќ",mM="𝕂",vM="𝕜",yM="𝒦",_M="𝓀",bM="⇚",SM="Ĺ",wM="ĺ",$M="⦴",PM="ℒ",xM="Λ",CM="λ",TM="⟨",EM="⟪",MM="⦑",RM="⟨",NM="⪅",OM="ℒ",LM="«",AM="⇤",qM="⤟",DM="←",IM="↞",kM="⇐",FM="⤝",VM="↩",zM="↫",BM="⤹",UM="⥳",WM="↢",HM="⤙",jM="⤛",GM="⪫",QM="⪭",XM="⪭︀",YM="⤌",ZM="⤎",JM="❲",KM="{",eR="[",tR="⦋",rR="⦏",nR="⦍",oR="Ľ",aR="ľ",iR="Ļ",sR="ļ",cR="⌈",uR="{",lR="Л",dR="л",fR="⤶",pR="“",hR="„",gR="⥧",mR="⥋",vR="↲",yR="≤",_R="≦",bR="⟨",SR="⇤",wR="←",$R="←",PR="⇐",xR="⇆",CR="↢",TR="⌈",ER="⟦",MR="⥡",RR="⥙",NR="⇃",OR="⌊",LR="↽",AR="↼",qR="⇇",DR="↔",IR="↔",kR="⇔",FR="⇆",VR="⇋",zR="↭",BR="⥎",UR="↤",WR="⊣",HR="⥚",jR="⋋",GR="⧏",QR="⊲",XR="⊴",YR="⥑",ZR="⥠",JR="⥘",KR="↿",eN="⥒",tN="↼",rN="⪋",nN="⋚",oN="≤",aN="≦",iN="⩽",sN="⪨",cN="⩽",uN="⩿",lN="⪁",dN="⪃",fN="⋚︀",pN="⪓",hN="⪅",gN="⋖",mN="⋚",vN="⪋",yN="⋚",_N="≦",bN="≶",SN="≶",wN="⪡",$N="≲",PN="⩽",xN="≲",CN="⥼",TN="⌊",EN="𝔏",MN="𝔩",RN="≶",NN="⪑",ON="⥢",LN="↽",AN="↼",qN="⥪",DN="▄",IN="Љ",kN="љ",FN="⇇",VN="≪",zN="⋘",BN="⌞",UN="⇚",WN="⥫",HN="◺",jN="Ŀ",GN="ŀ",QN="⎰",XN="⎰",YN="⪉",ZN="⪉",JN="⪇",KN="≨",eO="⪇",tO="≨",rO="⋦",nO="⟬",oO="⇽",aO="⟦",iO="⟵",sO="⟵",cO="⟸",uO="⟷",lO="⟷",dO="⟺",fO="⟼",pO="⟶",hO="⟶",gO="⟹",mO="↫",vO="↬",yO="⦅",_O="𝕃",bO="𝕝",SO="⨭",wO="⨴",$O="∗",PO="_",xO="↙",CO="↘",TO="◊",EO="◊",MO="⧫",RO="(",NO="⦓",OO="⇆",LO="⌟",AO="⇋",qO="⥭",DO="‎",IO="⊿",kO="‹",FO="𝓁",VO="ℒ",zO="↰",BO="↰",UO="≲",WO="⪍",HO="⪏",jO="[",GO="‘",QO="‚",XO="Ł",YO="ł",ZO="⪦",JO="⩹",KO="<",eL="<",tL="≪",rL="⋖",nL="⋋",oL="⋉",aL="⥶",iL="⩻",sL="◃",cL="⊴",uL="◂",lL="⦖",dL="⥊",fL="⥦",pL="≨︀",hL="≨︀",gL="¯",mL="♂",vL="✠",yL="✠",_L="↦",bL="↦",SL="↧",wL="↤",$L="↥",PL="▮",xL="⨩",CL="М",TL="м",EL="—",ML="∺",RL="∡",NL=" ",OL="ℳ",LL="𝔐",AL="𝔪",qL="℧",DL="µ",IL="*",kL="⫰",FL="∣",VL="·",zL="⊟",BL="−",UL="∸",WL="⨪",HL="∓",jL="⫛",GL="…",QL="∓",XL="⊧",YL="𝕄",ZL="𝕞",JL="∓",KL="𝓂",eA="ℳ",tA="∾",rA="Μ",nA="μ",oA="⊸",aA="⊸",iA="∇",sA="Ń",cA="ń",uA="∠⃒",lA="≉",dA="⩰̸",fA="≋̸",pA="ʼn",hA="≉",gA="♮",mA="ℕ",vA="♮",yA=" ",_A="≎̸",bA="≏̸",SA="⩃",wA="Ň",$A="ň",PA="Ņ",xA="ņ",CA="≇",TA="⩭̸",EA="⩂",MA="Н",RA="н",NA="–",OA="⤤",LA="↗",AA="⇗",qA="↗",DA="≠",IA="≐̸",kA="​",FA="​",VA="​",zA="​",BA="≢",UA="⤨",WA="≂̸",HA="≫",jA="≪",GA=` +`,QA="∄",XA="∄",YA="𝔑",ZA="𝔫",JA="≧̸",KA="≱",eq="≱",tq="≧̸",rq="⩾̸",nq="⩾̸",oq="⋙̸",aq="≵",iq="≫⃒",sq="≯",cq="≯",uq="≫̸",lq="↮",dq="⇎",fq="⫲",pq="∋",hq="⋼",gq="⋺",mq="∋",vq="Њ",yq="њ",_q="↚",bq="⇍",Sq="‥",wq="≦̸",$q="≰",Pq="↚",xq="⇍",Cq="↮",Tq="⇎",Eq="≰",Mq="≦̸",Rq="⩽̸",Nq="⩽̸",Oq="≮",Lq="⋘̸",Aq="≴",qq="≪⃒",Dq="≮",Iq="⋪",kq="⋬",Fq="≪̸",Vq="∤",zq="⁠",Bq=" ",Uq="𝕟",Wq="ℕ",Hq="⫬",jq="¬",Gq="≢",Qq="≭",Xq="∦",Yq="∉",Zq="≠",Jq="≂̸",Kq="∄",eD="≯",tD="≱",rD="≧̸",nD="≫̸",oD="≹",aD="⩾̸",iD="≵",sD="≎̸",cD="≏̸",uD="∉",lD="⋵̸",dD="⋹̸",fD="∉",pD="⋷",hD="⋶",gD="⧏̸",mD="⋪",vD="⋬",yD="≮",_D="≰",bD="≸",SD="≪̸",wD="⩽̸",$D="≴",PD="⪢̸",xD="⪡̸",CD="∌",TD="∌",ED="⋾",MD="⋽",RD="⊀",ND="⪯̸",OD="⋠",LD="∌",AD="⧐̸",qD="⋫",DD="⋭",ID="⊏̸",kD="⋢",FD="⊐̸",VD="⋣",zD="⊂⃒",BD="⊈",UD="⊁",WD="⪰̸",HD="⋡",jD="≿̸",GD="⊃⃒",QD="⊉",XD="≁",YD="≄",ZD="≇",JD="≉",KD="∤",eI="∦",tI="∦",rI="⫽⃥",nI="∂̸",oI="⨔",aI="⊀",iI="⋠",sI="⊀",cI="⪯̸",uI="⪯̸",lI="⤳̸",dI="↛",fI="⇏",pI="↝̸",hI="↛",gI="⇏",mI="⋫",vI="⋭",yI="⊁",_I="⋡",bI="⪰̸",SI="𝒩",wI="𝓃",$I="∤",PI="∦",xI="≁",CI="≄",TI="≄",EI="∤",MI="∦",RI="⋢",NI="⋣",OI="⊄",LI="⫅̸",AI="⊈",qI="⊂⃒",DI="⊈",II="⫅̸",kI="⊁",FI="⪰̸",VI="⊅",zI="⫆̸",BI="⊉",UI="⊃⃒",WI="⊉",HI="⫆̸",jI="≹",GI="Ñ",QI="ñ",XI="≸",YI="⋪",ZI="⋬",JI="⋫",KI="⋭",ek="Ν",tk="ν",rk="#",nk="№",ok=" ",ak="≍⃒",ik="⊬",sk="⊭",ck="⊮",uk="⊯",lk="≥⃒",dk=">⃒",fk="⤄",pk="⧞",hk="⤂",gk="≤⃒",mk="<⃒",vk="⊴⃒",yk="⤃",_k="⊵⃒",bk="∼⃒",Sk="⤣",wk="↖",$k="⇖",Pk="↖",xk="⤧",Ck="Ó",Tk="ó",Ek="⊛",Mk="Ô",Rk="ô",Nk="⊚",Ok="О",Lk="о",Ak="⊝",qk="Ő",Dk="ő",Ik="⨸",kk="⊙",Fk="⦼",Vk="Œ",zk="œ",Bk="⦿",Uk="𝔒",Wk="𝔬",Hk="˛",jk="Ò",Gk="ò",Qk="⧁",Xk="⦵",Yk="Ω",Zk="∮",Jk="↺",Kk="⦾",eF="⦻",tF="‾",rF="⧀",nF="Ō",oF="ō",aF="Ω",iF="ω",sF="Ο",cF="ο",uF="⦶",lF="⊖",dF="𝕆",fF="𝕠",pF="⦷",hF="“",gF="‘",mF="⦹",vF="⊕",yF="↻",_F="⩔",bF="∨",SF="⩝",wF="ℴ",$F="ℴ",PF="ª",xF="º",CF="⊶",TF="⩖",EF="⩗",MF="⩛",RF="Ⓢ",NF="𝒪",OF="ℴ",LF="Ø",AF="ø",qF="⊘",DF="Õ",IF="õ",kF="⨶",FF="⨷",VF="⊗",zF="Ö",BF="ö",UF="⌽",WF="‾",HF="⏞",jF="⎴",GF="⏜",QF="¶",XF="∥",YF="∥",ZF="⫳",JF="⫽",KF="∂",eV="∂",tV="П",rV="п",nV="%",oV=".",aV="‰",iV="⊥",sV="‱",cV="𝔓",uV="𝔭",lV="Φ",dV="φ",fV="ϕ",pV="ℳ",hV="☎",gV="Π",mV="π",vV="⋔",yV="ϖ",_V="ℏ",bV="ℎ",SV="ℏ",wV="⨣",$V="⊞",PV="⨢",xV="+",CV="∔",TV="⨥",EV="⩲",MV="±",RV="±",NV="⨦",OV="⨧",LV="±",AV="ℌ",qV="⨕",DV="𝕡",IV="ℙ",kV="£",FV="⪷",VV="⪻",zV="≺",BV="≼",UV="⪷",WV="≺",HV="≼",jV="≺",GV="⪯",QV="≼",XV="≾",YV="⪯",ZV="⪹",JV="⪵",KV="⋨",ez="⪯",tz="⪳",rz="≾",nz="′",oz="″",az="ℙ",iz="⪹",sz="⪵",cz="⋨",uz="∏",lz="∏",dz="⌮",fz="⌒",pz="⌓",hz="∝",gz="∝",mz="∷",vz="∝",yz="≾",_z="⊰",bz="𝒫",Sz="𝓅",wz="Ψ",$z="ψ",Pz=" ",xz="𝔔",Cz="𝔮",Tz="⨌",Ez="𝕢",Mz="ℚ",Rz="⁗",Nz="𝒬",Oz="𝓆",Lz="ℍ",Az="⨖",qz="?",Dz="≟",Iz='"',kz='"',Fz="⇛",Vz="∽̱",zz="Ŕ",Bz="ŕ",Uz="√",Wz="⦳",Hz="⟩",jz="⟫",Gz="⦒",Qz="⦥",Xz="⟩",Yz="»",Zz="⥵",Jz="⇥",Kz="⤠",eB="⤳",tB="→",rB="↠",nB="⇒",oB="⤞",aB="↪",iB="↬",sB="⥅",cB="⥴",uB="⤖",lB="↣",dB="↝",fB="⤚",pB="⤜",hB="∶",gB="ℚ",mB="⤍",vB="⤏",yB="⤐",_B="❳",bB="}",SB="]",wB="⦌",$B="⦎",PB="⦐",xB="Ř",CB="ř",TB="Ŗ",EB="ŗ",MB="⌉",RB="}",NB="Р",OB="р",LB="⤷",AB="⥩",qB="”",DB="”",IB="↳",kB="ℜ",FB="ℛ",VB="ℜ",zB="ℝ",BB="ℜ",UB="▭",WB="®",HB="®",jB="∋",GB="⇋",QB="⥯",XB="⥽",YB="⌋",ZB="𝔯",JB="ℜ",KB="⥤",eU="⇁",tU="⇀",rU="⥬",nU="Ρ",oU="ρ",aU="ϱ",iU="⟩",sU="⇥",cU="→",uU="→",lU="⇒",dU="⇄",fU="↣",pU="⌉",hU="⟧",gU="⥝",mU="⥕",vU="⇂",yU="⌋",_U="⇁",bU="⇀",SU="⇄",wU="⇌",$U="⇉",PU="↝",xU="↦",CU="⊢",TU="⥛",EU="⋌",MU="⧐",RU="⊳",NU="⊵",OU="⥏",LU="⥜",AU="⥔",qU="↾",DU="⥓",IU="⇀",kU="˚",FU="≓",VU="⇄",zU="⇌",BU="‏",UU="⎱",WU="⎱",HU="⫮",jU="⟭",GU="⇾",QU="⟧",XU="⦆",YU="𝕣",ZU="ℝ",JU="⨮",KU="⨵",eW="⥰",tW=")",rW="⦔",nW="⨒",oW="⇉",aW="⇛",iW="›",sW="𝓇",cW="ℛ",uW="↱",lW="↱",dW="]",fW="’",pW="’",hW="⋌",gW="⋊",mW="▹",vW="⊵",yW="▸",_W="⧎",bW="⧴",SW="⥨",wW="℞",$W="Ś",PW="ś",xW="‚",CW="⪸",TW="Š",EW="š",MW="⪼",RW="≻",NW="≽",OW="⪰",LW="⪴",AW="Ş",qW="ş",DW="Ŝ",IW="ŝ",kW="⪺",FW="⪶",VW="⋩",zW="⨓",BW="≿",UW="С",WW="с",HW="⊡",jW="⋅",GW="⩦",QW="⤥",XW="↘",YW="⇘",ZW="↘",JW="§",KW=";",eH="⤩",tH="∖",rH="∖",nH="✶",oH="𝔖",aH="𝔰",iH="⌢",sH="♯",cH="Щ",uH="щ",lH="Ш",dH="ш",fH="↓",pH="←",hH="∣",gH="∥",mH="→",vH="↑",yH="­",_H="Σ",bH="σ",SH="ς",wH="ς",$H="∼",PH="⩪",xH="≃",CH="≃",TH="⪞",EH="⪠",MH="⪝",RH="⪟",NH="≆",OH="⨤",LH="⥲",AH="←",qH="∘",DH="∖",IH="⨳",kH="⧤",FH="∣",VH="⌣",zH="⪪",BH="⪬",UH="⪬︀",WH="Ь",HH="ь",jH="⌿",GH="⧄",QH="/",XH="𝕊",YH="𝕤",ZH="♠",JH="♠",KH="∥",ej="⊓",tj="⊓︀",rj="⊔",nj="⊔︀",oj="√",aj="⊏",ij="⊑",sj="⊏",cj="⊑",uj="⊐",lj="⊒",dj="⊐",fj="⊒",pj="□",hj="□",gj="⊓",mj="⊏",vj="⊑",yj="⊐",_j="⊒",bj="⊔",Sj="▪",wj="□",$j="▪",Pj="→",xj="𝒮",Cj="𝓈",Tj="∖",Ej="⌣",Mj="⋆",Rj="⋆",Nj="☆",Oj="★",Lj="ϵ",Aj="ϕ",qj="¯",Dj="⊂",Ij="⋐",kj="⪽",Fj="⫅",Vj="⊆",zj="⫃",Bj="⫁",Uj="⫋",Wj="⊊",Hj="⪿",jj="⥹",Gj="⊂",Qj="⋐",Xj="⊆",Yj="⫅",Zj="⊆",Jj="⊊",Kj="⫋",eG="⫇",tG="⫕",rG="⫓",nG="⪸",oG="≻",aG="≽",iG="≻",sG="⪰",cG="≽",uG="≿",lG="⪰",dG="⪺",fG="⪶",pG="⋩",hG="≿",gG="∋",mG="∑",vG="∑",yG="♪",_G="¹",bG="²",SG="³",wG="⊃",$G="⋑",PG="⪾",xG="⫘",CG="⫆",TG="⊇",EG="⫄",MG="⊃",RG="⊇",NG="⟉",OG="⫗",LG="⥻",AG="⫂",qG="⫌",DG="⊋",IG="⫀",kG="⊃",FG="⋑",VG="⊇",zG="⫆",BG="⊋",UG="⫌",WG="⫈",HG="⫔",jG="⫖",GG="⤦",QG="↙",XG="⇙",YG="↙",ZG="⤪",JG="ß",KG=" ",eQ="⌖",tQ="Τ",rQ="τ",nQ="⎴",oQ="Ť",aQ="ť",iQ="Ţ",sQ="ţ",cQ="Т",uQ="т",lQ="⃛",dQ="⌕",fQ="𝔗",pQ="𝔱",hQ="∴",gQ="∴",mQ="∴",vQ="Θ",yQ="θ",_Q="ϑ",bQ="ϑ",SQ="≈",wQ="∼",$Q="  ",PQ=" ",xQ=" ",CQ="≈",TQ="∼",EQ="Þ",MQ="þ",RQ="˜",NQ="∼",OQ="≃",LQ="≅",AQ="≈",qQ="⨱",DQ="⊠",IQ="×",kQ="⨰",FQ="∭",VQ="⤨",zQ="⌶",BQ="⫱",UQ="⊤",WQ="𝕋",HQ="𝕥",jQ="⫚",GQ="⤩",QQ="‴",XQ="™",YQ="™",ZQ="▵",JQ="▿",KQ="◃",eX="⊴",tX="≜",rX="▹",nX="⊵",oX="◬",aX="≜",iX="⨺",sX="⃛",cX="⨹",uX="⧍",lX="⨻",dX="⏢",fX="𝒯",pX="𝓉",hX="Ц",gX="ц",mX="Ћ",vX="ћ",yX="Ŧ",_X="ŧ",bX="≬",SX="↞",wX="↠",$X="Ú",PX="ú",xX="↑",CX="↟",TX="⇑",EX="⥉",MX="Ў",RX="ў",NX="Ŭ",OX="ŭ",LX="Û",AX="û",qX="У",DX="у",IX="⇅",kX="Ű",FX="ű",VX="⥮",zX="⥾",BX="𝔘",UX="𝔲",WX="Ù",HX="ù",jX="⥣",GX="↿",QX="↾",XX="▀",YX="⌜",ZX="⌜",JX="⌏",KX="◸",eY="Ū",tY="ū",rY="¨",nY="_",oY="⏟",aY="⎵",iY="⏝",sY="⋃",cY="⊎",uY="Ų",lY="ų",dY="𝕌",fY="𝕦",pY="⤒",hY="↑",gY="↑",mY="⇑",vY="⇅",yY="↕",_Y="↕",bY="⇕",SY="⥮",wY="↿",$Y="↾",PY="⊎",xY="↖",CY="↗",TY="υ",EY="ϒ",MY="ϒ",RY="Υ",NY="υ",OY="↥",LY="⊥",AY="⇈",qY="⌝",DY="⌝",IY="⌎",kY="Ů",FY="ů",VY="◹",zY="𝒰",BY="𝓊",UY="⋰",WY="Ũ",HY="ũ",jY="▵",GY="▴",QY="⇈",XY="Ü",YY="ü",ZY="⦧",JY="⦜",KY="ϵ",eZ="ϰ",tZ="∅",rZ="ϕ",nZ="ϖ",oZ="∝",aZ="↕",iZ="⇕",sZ="ϱ",cZ="ς",uZ="⊊︀",lZ="⫋︀",dZ="⊋︀",fZ="⫌︀",pZ="ϑ",hZ="⊲",gZ="⊳",mZ="⫨",vZ="⫫",yZ="⫩",_Z="В",bZ="в",SZ="⊢",wZ="⊨",$Z="⊩",PZ="⊫",xZ="⫦",CZ="⊻",TZ="∨",EZ="⋁",MZ="≚",RZ="⋮",NZ="|",OZ="‖",LZ="|",AZ="‖",qZ="∣",DZ="|",IZ="❘",kZ="≀",FZ=" ",VZ="𝔙",zZ="𝔳",BZ="⊲",UZ="⊂⃒",WZ="⊃⃒",HZ="𝕍",jZ="𝕧",GZ="∝",QZ="⊳",XZ="𝒱",YZ="𝓋",ZZ="⫋︀",JZ="⊊︀",KZ="⫌︀",eJ="⊋︀",tJ="⊪",rJ="⦚",nJ="Ŵ",oJ="ŵ",aJ="⩟",iJ="∧",sJ="⋀",cJ="≙",uJ="℘",lJ="𝔚",dJ="𝔴",fJ="𝕎",pJ="𝕨",hJ="℘",gJ="≀",mJ="≀",vJ="𝒲",yJ="𝓌",_J="⋂",bJ="◯",SJ="⋃",wJ="▽",$J="𝔛",PJ="𝔵",xJ="⟷",CJ="⟺",TJ="Ξ",EJ="ξ",MJ="⟵",RJ="⟸",NJ="⟼",OJ="⋻",LJ="⨀",AJ="𝕏",qJ="𝕩",DJ="⨁",IJ="⨂",kJ="⟶",FJ="⟹",VJ="𝒳",zJ="𝓍",BJ="⨆",UJ="⨄",WJ="△",HJ="⋁",jJ="⋀",GJ="Ý",QJ="ý",XJ="Я",YJ="я",ZJ="Ŷ",JJ="ŷ",KJ="Ы",eK="ы",tK="¥",rK="𝔜",nK="𝔶",oK="Ї",aK="ї",iK="𝕐",sK="𝕪",cK="𝒴",uK="𝓎",lK="Ю",dK="ю",fK="ÿ",pK="Ÿ",hK="Ź",gK="ź",mK="Ž",vK="ž",yK="З",_K="з",bK="Ż",SK="ż",wK="ℨ",$K="​",PK="Ζ",xK="ζ",CK="𝔷",TK="ℨ",EK="Ж",MK="ж",RK="⇝",NK="𝕫",OK="ℤ",LK="𝒵",AK="𝓏",qK="‍",DK="‌",Gl={Aacute:bg,aacute:Sg,Abreve:wg,abreve:$g,ac:Pg,acd:xg,acE:Cg,Acirc:Tg,acirc:Eg,acute:Mg,Acy:Rg,acy:Ng,AElig:Og,aelig:Lg,af:Ag,Afr:qg,afr:Dg,Agrave:Ig,agrave:kg,alefsym:Fg,aleph:Vg,Alpha:zg,alpha:Bg,Amacr:Ug,amacr:Wg,amalg:Hg,amp:jg,AMP:Gg,andand:Qg,And:Xg,and:Yg,andd:Zg,andslope:Jg,andv:Kg,ang:em,ange:tm,angle:rm,angmsdaa:nm,angmsdab:om,angmsdac:am,angmsdad:im,angmsdae:sm,angmsdaf:cm,angmsdag:um,angmsdah:lm,angmsd:dm,angrt:fm,angrtvb:pm,angrtvbd:hm,angsph:gm,angst:mm,angzarr:vm,Aogon:ym,aogon:_m,Aopf:bm,aopf:Sm,apacir:wm,ap:$m,apE:Pm,ape:xm,apid:Cm,apos:Tm,ApplyFunction:Em,approx:Mm,approxeq:Rm,Aring:Nm,aring:Om,Ascr:Lm,ascr:Am,Assign:qm,ast:Dm,asymp:Im,asympeq:km,Atilde:Fm,atilde:Vm,Auml:zm,auml:Bm,awconint:Um,awint:Wm,backcong:Hm,backepsilon:jm,backprime:Gm,backsim:Qm,backsimeq:Xm,Backslash:Ym,Barv:Zm,barvee:Jm,barwed:Km,Barwed:ev,barwedge:tv,bbrk:rv,bbrktbrk:nv,bcong:ov,Bcy:av,bcy:iv,bdquo:sv,becaus:cv,because:uv,Because:lv,bemptyv:dv,bepsi:fv,bernou:pv,Bernoullis:hv,Beta:gv,beta:mv,beth:vv,between:yv,Bfr:_v,bfr:bv,bigcap:Sv,bigcirc:wv,bigcup:$v,bigodot:Pv,bigoplus:xv,bigotimes:Cv,bigsqcup:Tv,bigstar:Ev,bigtriangledown:Mv,bigtriangleup:Rv,biguplus:Nv,bigvee:Ov,bigwedge:Lv,bkarow:Av,blacklozenge:qv,blacksquare:Dv,blacktriangle:Iv,blacktriangledown:kv,blacktriangleleft:Fv,blacktriangleright:Vv,blank:zv,blk12:Bv,blk14:Uv,blk34:Wv,block:Hv,bne:jv,bnequiv:Gv,bNot:Qv,bnot:Xv,Bopf:Yv,bopf:Zv,bot:Jv,bottom:Kv,bowtie:e4,boxbox:t4,boxdl:r4,boxdL:n4,boxDl:o4,boxDL:a4,boxdr:i4,boxdR:s4,boxDr:c4,boxDR:u4,boxh:l4,boxH:d4,boxhd:f4,boxHd:p4,boxhD:h4,boxHD:g4,boxhu:m4,boxHu:v4,boxhU:y4,boxHU:_4,boxminus:b4,boxplus:S4,boxtimes:w4,boxul:$4,boxuL:P4,boxUl:x4,boxUL:C4,boxur:T4,boxuR:E4,boxUr:M4,boxUR:R4,boxv:N4,boxV:O4,boxvh:L4,boxvH:A4,boxVh:q4,boxVH:D4,boxvl:I4,boxvL:k4,boxVl:F4,boxVL:V4,boxvr:z4,boxvR:B4,boxVr:U4,boxVR:W4,bprime:H4,breve:j4,Breve:G4,brvbar:Q4,bscr:X4,Bscr:Y4,bsemi:Z4,bsim:J4,bsime:K4,bsolb:ey,bsol:ty,bsolhsub:ry,bull:ny,bullet:oy,bump:ay,bumpE:iy,bumpe:sy,Bumpeq:cy,bumpeq:uy,Cacute:ly,cacute:dy,capand:fy,capbrcup:py,capcap:hy,cap:gy,Cap:my,capcup:vy,capdot:yy,CapitalDifferentialD:_y,caps:by,caret:Sy,caron:wy,Cayleys:$y,ccaps:Py,Ccaron:xy,ccaron:Cy,Ccedil:Ty,ccedil:Ey,Ccirc:My,ccirc:Ry,Cconint:Ny,ccups:Oy,ccupssm:Ly,Cdot:Ay,cdot:qy,cedil:Dy,Cedilla:Iy,cemptyv:ky,cent:Fy,centerdot:Vy,CenterDot:zy,cfr:By,Cfr:Uy,CHcy:Wy,chcy:Hy,check:jy,checkmark:Gy,Chi:Qy,chi:Xy,circ:Yy,circeq:Zy,circlearrowleft:Jy,circlearrowright:Ky,circledast:e_,circledcirc:t_,circleddash:r_,CircleDot:n_,circledR:o_,circledS:a_,CircleMinus:i_,CirclePlus:s_,CircleTimes:c_,cir:u_,cirE:l_,cire:d_,cirfnint:f_,cirmid:p_,cirscir:h_,ClockwiseContourIntegral:g_,CloseCurlyDoubleQuote:m_,CloseCurlyQuote:v_,clubs:y_,clubsuit:__,colon:b_,Colon:S_,Colone:w_,colone:$_,coloneq:P_,comma:x_,commat:C_,comp:T_,compfn:E_,complement:M_,complexes:R_,cong:N_,congdot:O_,Congruent:L_,conint:A_,Conint:q_,ContourIntegral:D_,copf:I_,Copf:k_,coprod:F_,Coproduct:V_,copy:z_,COPY:B_,copysr:U_,CounterClockwiseContourIntegral:W_,crarr:H_,cross:j_,Cross:G_,Cscr:Q_,cscr:X_,csub:Y_,csube:Z_,csup:J_,csupe:K_,ctdot:eb,cudarrl:tb,cudarrr:rb,cuepr:nb,cuesc:ob,cularr:ab,cularrp:ib,cupbrcap:sb,cupcap:cb,CupCap:ub,cup:lb,Cup:db,cupcup:fb,cupdot:pb,cupor:hb,cups:gb,curarr:mb,curarrm:vb,curlyeqprec:yb,curlyeqsucc:_b,curlyvee:bb,curlywedge:Sb,curren:wb,curvearrowleft:$b,curvearrowright:Pb,cuvee:xb,cuwed:Cb,cwconint:Tb,cwint:Eb,cylcty:Mb,dagger:Rb,Dagger:Nb,daleth:Ob,darr:Lb,Darr:Ab,dArr:qb,dash:Db,Dashv:Ib,dashv:kb,dbkarow:Fb,dblac:Vb,Dcaron:zb,dcaron:Bb,Dcy:Ub,dcy:Wb,ddagger:Hb,ddarr:jb,DD:Gb,dd:Qb,DDotrahd:Xb,ddotseq:Yb,deg:Zb,Del:Jb,Delta:Kb,delta:eS,demptyv:tS,dfisht:rS,Dfr:nS,dfr:oS,dHar:aS,dharl:iS,dharr:sS,DiacriticalAcute:cS,DiacriticalDot:uS,DiacriticalDoubleAcute:lS,DiacriticalGrave:dS,DiacriticalTilde:fS,diam:pS,diamond:hS,Diamond:gS,diamondsuit:mS,diams:vS,die:yS,DifferentialD:_S,digamma:bS,disin:SS,div:wS,divide:$S,divideontimes:PS,divonx:xS,DJcy:CS,djcy:TS,dlcorn:ES,dlcrop:MS,dollar:RS,Dopf:NS,dopf:OS,Dot:LS,dot:AS,DotDot:qS,doteq:DS,doteqdot:IS,DotEqual:kS,dotminus:FS,dotplus:VS,dotsquare:zS,doublebarwedge:BS,DoubleContourIntegral:US,DoubleDot:WS,DoubleDownArrow:HS,DoubleLeftArrow:jS,DoubleLeftRightArrow:GS,DoubleLeftTee:QS,DoubleLongLeftArrow:XS,DoubleLongLeftRightArrow:YS,DoubleLongRightArrow:ZS,DoubleRightArrow:JS,DoubleRightTee:KS,DoubleUpArrow:ew,DoubleUpDownArrow:tw,DoubleVerticalBar:rw,DownArrowBar:nw,downarrow:ow,DownArrow:aw,Downarrow:iw,DownArrowUpArrow:sw,DownBreve:cw,downdownarrows:uw,downharpoonleft:lw,downharpoonright:dw,DownLeftRightVector:fw,DownLeftTeeVector:pw,DownLeftVectorBar:hw,DownLeftVector:gw,DownRightTeeVector:mw,DownRightVectorBar:vw,DownRightVector:yw,DownTeeArrow:_w,DownTee:bw,drbkarow:Sw,drcorn:ww,drcrop:$w,Dscr:Pw,dscr:xw,DScy:Cw,dscy:Tw,dsol:Ew,Dstrok:Mw,dstrok:Rw,dtdot:Nw,dtri:Ow,dtrif:Lw,duarr:Aw,duhar:qw,dwangle:Dw,DZcy:Iw,dzcy:kw,dzigrarr:Fw,Eacute:Vw,eacute:zw,easter:Bw,Ecaron:Uw,ecaron:Ww,Ecirc:Hw,ecirc:jw,ecir:Gw,ecolon:Qw,Ecy:Xw,ecy:Yw,eDDot:Zw,Edot:Jw,edot:Kw,eDot:e$,ee:t$,efDot:r$,Efr:n$,efr:o$,eg:a$,Egrave:i$,egrave:s$,egs:c$,egsdot:u$,el:l$,Element:d$,elinters:f$,ell:p$,els:h$,elsdot:g$,Emacr:m$,emacr:v$,empty:y$,emptyset:_$,EmptySmallSquare:b$,emptyv:S$,EmptyVerySmallSquare:w$,emsp13:$$,emsp14:P$,emsp:x$,ENG:C$,eng:T$,ensp:E$,Eogon:M$,eogon:R$,Eopf:N$,eopf:O$,epar:L$,eparsl:A$,eplus:q$,epsi:D$,Epsilon:I$,epsilon:k$,epsiv:F$,eqcirc:V$,eqcolon:z$,eqsim:B$,eqslantgtr:U$,eqslantless:W$,Equal:H$,equals:j$,EqualTilde:G$,equest:Q$,Equilibrium:X$,equiv:Y$,equivDD:Z$,eqvparsl:J$,erarr:K$,erDot:eP,escr:tP,Escr:rP,esdot:nP,Esim:oP,esim:aP,Eta:iP,eta:sP,ETH:cP,eth:uP,Euml:lP,euml:dP,euro:fP,excl:pP,exist:hP,Exists:gP,expectation:mP,exponentiale:vP,ExponentialE:yP,fallingdotseq:_P,Fcy:bP,fcy:SP,female:wP,ffilig:$P,fflig:PP,ffllig:xP,Ffr:CP,ffr:TP,filig:EP,FilledSmallSquare:MP,FilledVerySmallSquare:RP,fjlig:NP,flat:OP,fllig:LP,fltns:AP,fnof:qP,Fopf:DP,fopf:IP,forall:kP,ForAll:FP,fork:VP,forkv:zP,Fouriertrf:BP,fpartint:UP,frac12:WP,frac13:HP,frac14:jP,frac15:GP,frac16:QP,frac18:XP,frac23:YP,frac25:ZP,frac34:JP,frac35:KP,frac38:ex,frac45:tx,frac56:rx,frac58:nx,frac78:ox,frasl:ax,frown:ix,fscr:sx,Fscr:cx,gacute:ux,Gamma:lx,gamma:dx,Gammad:fx,gammad:px,gap:hx,Gbreve:gx,gbreve:mx,Gcedil:vx,Gcirc:yx,gcirc:_x,Gcy:bx,gcy:Sx,Gdot:wx,gdot:$x,ge:Px,gE:xx,gEl:Cx,gel:Tx,geq:Ex,geqq:Mx,geqslant:Rx,gescc:Nx,ges:Ox,gesdot:Lx,gesdoto:Ax,gesdotol:qx,gesl:Dx,gesles:Ix,Gfr:kx,gfr:Fx,gg:Vx,Gg:zx,ggg:Bx,gimel:Ux,GJcy:Wx,gjcy:Hx,gla:jx,gl:Gx,glE:Qx,glj:Xx,gnap:Yx,gnapprox:Zx,gne:Jx,gnE:Kx,gneq:eC,gneqq:tC,gnsim:rC,Gopf:nC,gopf:oC,grave:aC,GreaterEqual:iC,GreaterEqualLess:sC,GreaterFullEqual:cC,GreaterGreater:uC,GreaterLess:lC,GreaterSlantEqual:dC,GreaterTilde:fC,Gscr:pC,gscr:hC,gsim:gC,gsime:mC,gsiml:vC,gtcc:yC,gtcir:_C,gt:bC,GT:SC,Gt:wC,gtdot:$C,gtlPar:PC,gtquest:xC,gtrapprox:CC,gtrarr:TC,gtrdot:EC,gtreqless:MC,gtreqqless:RC,gtrless:NC,gtrsim:OC,gvertneqq:LC,gvnE:AC,Hacek:qC,hairsp:DC,half:IC,hamilt:kC,HARDcy:FC,hardcy:VC,harrcir:zC,harr:BC,hArr:UC,harrw:WC,Hat:HC,hbar:jC,Hcirc:GC,hcirc:QC,hearts:XC,heartsuit:YC,hellip:ZC,hercon:JC,hfr:KC,Hfr:eT,HilbertSpace:tT,hksearow:rT,hkswarow:nT,hoarr:oT,homtht:aT,hookleftarrow:iT,hookrightarrow:sT,hopf:cT,Hopf:uT,horbar:lT,HorizontalLine:dT,hscr:fT,Hscr:pT,hslash:hT,Hstrok:gT,hstrok:mT,HumpDownHump:vT,HumpEqual:yT,hybull:_T,hyphen:bT,Iacute:ST,iacute:wT,ic:$T,Icirc:PT,icirc:xT,Icy:CT,icy:TT,Idot:ET,IEcy:MT,iecy:RT,iexcl:NT,iff:OT,ifr:LT,Ifr:AT,Igrave:qT,igrave:DT,ii:IT,iiiint:kT,iiint:FT,iinfin:VT,iiota:zT,IJlig:BT,ijlig:UT,Imacr:WT,imacr:HT,image:jT,ImaginaryI:GT,imagline:QT,imagpart:XT,imath:YT,Im:ZT,imof:JT,imped:KT,Implies:eE,incare:tE,in:"∈",infin:rE,infintie:nE,inodot:oE,intcal:aE,int:iE,Int:sE,integers:cE,Integral:uE,intercal:lE,Intersection:dE,intlarhk:fE,intprod:pE,InvisibleComma:hE,InvisibleTimes:gE,IOcy:mE,iocy:vE,Iogon:yE,iogon:_E,Iopf:bE,iopf:SE,Iota:wE,iota:$E,iprod:PE,iquest:xE,iscr:CE,Iscr:TE,isin:EE,isindot:ME,isinE:RE,isins:NE,isinsv:OE,isinv:LE,it:AE,Itilde:qE,itilde:DE,Iukcy:IE,iukcy:kE,Iuml:FE,iuml:VE,Jcirc:zE,jcirc:BE,Jcy:UE,jcy:WE,Jfr:HE,jfr:jE,jmath:GE,Jopf:QE,jopf:XE,Jscr:YE,jscr:ZE,Jsercy:JE,jsercy:KE,Jukcy:eM,jukcy:tM,Kappa:rM,kappa:nM,kappav:oM,Kcedil:aM,kcedil:iM,Kcy:sM,kcy:cM,Kfr:uM,kfr:lM,kgreen:dM,KHcy:fM,khcy:pM,KJcy:hM,kjcy:gM,Kopf:mM,kopf:vM,Kscr:yM,kscr:_M,lAarr:bM,Lacute:SM,lacute:wM,laemptyv:$M,lagran:PM,Lambda:xM,lambda:CM,lang:TM,Lang:EM,langd:MM,langle:RM,lap:NM,Laplacetrf:OM,laquo:LM,larrb:AM,larrbfs:qM,larr:DM,Larr:IM,lArr:kM,larrfs:FM,larrhk:VM,larrlp:zM,larrpl:BM,larrsim:UM,larrtl:WM,latail:HM,lAtail:jM,lat:GM,late:QM,lates:XM,lbarr:YM,lBarr:ZM,lbbrk:JM,lbrace:KM,lbrack:eR,lbrke:tR,lbrksld:rR,lbrkslu:nR,Lcaron:oR,lcaron:aR,Lcedil:iR,lcedil:sR,lceil:cR,lcub:uR,Lcy:lR,lcy:dR,ldca:fR,ldquo:pR,ldquor:hR,ldrdhar:gR,ldrushar:mR,ldsh:vR,le:yR,lE:_R,LeftAngleBracket:bR,LeftArrowBar:SR,leftarrow:wR,LeftArrow:$R,Leftarrow:PR,LeftArrowRightArrow:xR,leftarrowtail:CR,LeftCeiling:TR,LeftDoubleBracket:ER,LeftDownTeeVector:MR,LeftDownVectorBar:RR,LeftDownVector:NR,LeftFloor:OR,leftharpoondown:LR,leftharpoonup:AR,leftleftarrows:qR,leftrightarrow:DR,LeftRightArrow:IR,Leftrightarrow:kR,leftrightarrows:FR,leftrightharpoons:VR,leftrightsquigarrow:zR,LeftRightVector:BR,LeftTeeArrow:UR,LeftTee:WR,LeftTeeVector:HR,leftthreetimes:jR,LeftTriangleBar:GR,LeftTriangle:QR,LeftTriangleEqual:XR,LeftUpDownVector:YR,LeftUpTeeVector:ZR,LeftUpVectorBar:JR,LeftUpVector:KR,LeftVectorBar:eN,LeftVector:tN,lEg:rN,leg:nN,leq:oN,leqq:aN,leqslant:iN,lescc:sN,les:cN,lesdot:uN,lesdoto:lN,lesdotor:dN,lesg:fN,lesges:pN,lessapprox:hN,lessdot:gN,lesseqgtr:mN,lesseqqgtr:vN,LessEqualGreater:yN,LessFullEqual:_N,LessGreater:bN,lessgtr:SN,LessLess:wN,lesssim:$N,LessSlantEqual:PN,LessTilde:xN,lfisht:CN,lfloor:TN,Lfr:EN,lfr:MN,lg:RN,lgE:NN,lHar:ON,lhard:LN,lharu:AN,lharul:qN,lhblk:DN,LJcy:IN,ljcy:kN,llarr:FN,ll:VN,Ll:zN,llcorner:BN,Lleftarrow:UN,llhard:WN,lltri:HN,Lmidot:jN,lmidot:GN,lmoustache:QN,lmoust:XN,lnap:YN,lnapprox:ZN,lne:JN,lnE:KN,lneq:eO,lneqq:tO,lnsim:rO,loang:nO,loarr:oO,lobrk:aO,longleftarrow:iO,LongLeftArrow:sO,Longleftarrow:cO,longleftrightarrow:uO,LongLeftRightArrow:lO,Longleftrightarrow:dO,longmapsto:fO,longrightarrow:pO,LongRightArrow:hO,Longrightarrow:gO,looparrowleft:mO,looparrowright:vO,lopar:yO,Lopf:_O,lopf:bO,loplus:SO,lotimes:wO,lowast:$O,lowbar:PO,LowerLeftArrow:xO,LowerRightArrow:CO,loz:TO,lozenge:EO,lozf:MO,lpar:RO,lparlt:NO,lrarr:OO,lrcorner:LO,lrhar:AO,lrhard:qO,lrm:DO,lrtri:IO,lsaquo:kO,lscr:FO,Lscr:VO,lsh:zO,Lsh:BO,lsim:UO,lsime:WO,lsimg:HO,lsqb:jO,lsquo:GO,lsquor:QO,Lstrok:XO,lstrok:YO,ltcc:ZO,ltcir:JO,lt:KO,LT:eL,Lt:tL,ltdot:rL,lthree:nL,ltimes:oL,ltlarr:aL,ltquest:iL,ltri:sL,ltrie:cL,ltrif:uL,ltrPar:lL,lurdshar:dL,luruhar:fL,lvertneqq:pL,lvnE:hL,macr:gL,male:mL,malt:vL,maltese:yL,Map:"⤅",map:_L,mapsto:bL,mapstodown:SL,mapstoleft:wL,mapstoup:$L,marker:PL,mcomma:xL,Mcy:CL,mcy:TL,mdash:EL,mDDot:ML,measuredangle:RL,MediumSpace:NL,Mellintrf:OL,Mfr:LL,mfr:AL,mho:qL,micro:DL,midast:IL,midcir:kL,mid:FL,middot:VL,minusb:zL,minus:BL,minusd:UL,minusdu:WL,MinusPlus:HL,mlcp:jL,mldr:GL,mnplus:QL,models:XL,Mopf:YL,mopf:ZL,mp:JL,mscr:KL,Mscr:eA,mstpos:tA,Mu:rA,mu:nA,multimap:oA,mumap:aA,nabla:iA,Nacute:sA,nacute:cA,nang:uA,nap:lA,napE:dA,napid:fA,napos:pA,napprox:hA,natural:gA,naturals:mA,natur:vA,nbsp:yA,nbump:_A,nbumpe:bA,ncap:SA,Ncaron:wA,ncaron:$A,Ncedil:PA,ncedil:xA,ncong:CA,ncongdot:TA,ncup:EA,Ncy:MA,ncy:RA,ndash:NA,nearhk:OA,nearr:LA,neArr:AA,nearrow:qA,ne:DA,nedot:IA,NegativeMediumSpace:kA,NegativeThickSpace:FA,NegativeThinSpace:VA,NegativeVeryThinSpace:zA,nequiv:BA,nesear:UA,nesim:WA,NestedGreaterGreater:HA,NestedLessLess:jA,NewLine:GA,nexist:QA,nexists:XA,Nfr:YA,nfr:ZA,ngE:JA,nge:KA,ngeq:eq,ngeqq:tq,ngeqslant:rq,nges:nq,nGg:oq,ngsim:aq,nGt:iq,ngt:sq,ngtr:cq,nGtv:uq,nharr:lq,nhArr:dq,nhpar:fq,ni:pq,nis:hq,nisd:gq,niv:mq,NJcy:vq,njcy:yq,nlarr:_q,nlArr:bq,nldr:Sq,nlE:wq,nle:$q,nleftarrow:Pq,nLeftarrow:xq,nleftrightarrow:Cq,nLeftrightarrow:Tq,nleq:Eq,nleqq:Mq,nleqslant:Rq,nles:Nq,nless:Oq,nLl:Lq,nlsim:Aq,nLt:qq,nlt:Dq,nltri:Iq,nltrie:kq,nLtv:Fq,nmid:Vq,NoBreak:zq,NonBreakingSpace:Bq,nopf:Uq,Nopf:Wq,Not:Hq,not:jq,NotCongruent:Gq,NotCupCap:Qq,NotDoubleVerticalBar:Xq,NotElement:Yq,NotEqual:Zq,NotEqualTilde:Jq,NotExists:Kq,NotGreater:eD,NotGreaterEqual:tD,NotGreaterFullEqual:rD,NotGreaterGreater:nD,NotGreaterLess:oD,NotGreaterSlantEqual:aD,NotGreaterTilde:iD,NotHumpDownHump:sD,NotHumpEqual:cD,notin:uD,notindot:lD,notinE:dD,notinva:fD,notinvb:pD,notinvc:hD,NotLeftTriangleBar:gD,NotLeftTriangle:mD,NotLeftTriangleEqual:vD,NotLess:yD,NotLessEqual:_D,NotLessGreater:bD,NotLessLess:SD,NotLessSlantEqual:wD,NotLessTilde:$D,NotNestedGreaterGreater:PD,NotNestedLessLess:xD,notni:CD,notniva:TD,notnivb:ED,notnivc:MD,NotPrecedes:RD,NotPrecedesEqual:ND,NotPrecedesSlantEqual:OD,NotReverseElement:LD,NotRightTriangleBar:AD,NotRightTriangle:qD,NotRightTriangleEqual:DD,NotSquareSubset:ID,NotSquareSubsetEqual:kD,NotSquareSuperset:FD,NotSquareSupersetEqual:VD,NotSubset:zD,NotSubsetEqual:BD,NotSucceeds:UD,NotSucceedsEqual:WD,NotSucceedsSlantEqual:HD,NotSucceedsTilde:jD,NotSuperset:GD,NotSupersetEqual:QD,NotTilde:XD,NotTildeEqual:YD,NotTildeFullEqual:ZD,NotTildeTilde:JD,NotVerticalBar:KD,nparallel:eI,npar:tI,nparsl:rI,npart:nI,npolint:oI,npr:aI,nprcue:iI,nprec:sI,npreceq:cI,npre:uI,nrarrc:lI,nrarr:dI,nrArr:fI,nrarrw:pI,nrightarrow:hI,nRightarrow:gI,nrtri:mI,nrtrie:vI,nsc:yI,nsccue:_I,nsce:bI,Nscr:SI,nscr:wI,nshortmid:$I,nshortparallel:PI,nsim:xI,nsime:CI,nsimeq:TI,nsmid:EI,nspar:MI,nsqsube:RI,nsqsupe:NI,nsub:OI,nsubE:LI,nsube:AI,nsubset:qI,nsubseteq:DI,nsubseteqq:II,nsucc:kI,nsucceq:FI,nsup:VI,nsupE:zI,nsupe:BI,nsupset:UI,nsupseteq:WI,nsupseteqq:HI,ntgl:jI,Ntilde:GI,ntilde:QI,ntlg:XI,ntriangleleft:YI,ntrianglelefteq:ZI,ntriangleright:JI,ntrianglerighteq:KI,Nu:ek,nu:tk,num:rk,numero:nk,numsp:ok,nvap:ak,nvdash:ik,nvDash:sk,nVdash:ck,nVDash:uk,nvge:lk,nvgt:dk,nvHarr:fk,nvinfin:pk,nvlArr:hk,nvle:gk,nvlt:mk,nvltrie:vk,nvrArr:yk,nvrtrie:_k,nvsim:bk,nwarhk:Sk,nwarr:wk,nwArr:$k,nwarrow:Pk,nwnear:xk,Oacute:Ck,oacute:Tk,oast:Ek,Ocirc:Mk,ocirc:Rk,ocir:Nk,Ocy:Ok,ocy:Lk,odash:Ak,Odblac:qk,odblac:Dk,odiv:Ik,odot:kk,odsold:Fk,OElig:Vk,oelig:zk,ofcir:Bk,Ofr:Uk,ofr:Wk,ogon:Hk,Ograve:jk,ograve:Gk,ogt:Qk,ohbar:Xk,ohm:Yk,oint:Zk,olarr:Jk,olcir:Kk,olcross:eF,oline:tF,olt:rF,Omacr:nF,omacr:oF,Omega:aF,omega:iF,Omicron:sF,omicron:cF,omid:uF,ominus:lF,Oopf:dF,oopf:fF,opar:pF,OpenCurlyDoubleQuote:hF,OpenCurlyQuote:gF,operp:mF,oplus:vF,orarr:yF,Or:_F,or:bF,ord:SF,order:wF,orderof:$F,ordf:PF,ordm:xF,origof:CF,oror:TF,orslope:EF,orv:MF,oS:RF,Oscr:NF,oscr:OF,Oslash:LF,oslash:AF,osol:qF,Otilde:DF,otilde:IF,otimesas:kF,Otimes:FF,otimes:VF,Ouml:zF,ouml:BF,ovbar:UF,OverBar:WF,OverBrace:HF,OverBracket:jF,OverParenthesis:GF,para:QF,parallel:XF,par:YF,parsim:ZF,parsl:JF,part:KF,PartialD:eV,Pcy:tV,pcy:rV,percnt:nV,period:oV,permil:aV,perp:iV,pertenk:sV,Pfr:cV,pfr:uV,Phi:lV,phi:dV,phiv:fV,phmmat:pV,phone:hV,Pi:gV,pi:mV,pitchfork:vV,piv:yV,planck:_V,planckh:bV,plankv:SV,plusacir:wV,plusb:$V,pluscir:PV,plus:xV,plusdo:CV,plusdu:TV,pluse:EV,PlusMinus:MV,plusmn:RV,plussim:NV,plustwo:OV,pm:LV,Poincareplane:AV,pointint:qV,popf:DV,Popf:IV,pound:kV,prap:FV,Pr:VV,pr:zV,prcue:BV,precapprox:UV,prec:WV,preccurlyeq:HV,Precedes:jV,PrecedesEqual:GV,PrecedesSlantEqual:QV,PrecedesTilde:XV,preceq:YV,precnapprox:ZV,precneqq:JV,precnsim:KV,pre:ez,prE:tz,precsim:rz,prime:nz,Prime:oz,primes:az,prnap:iz,prnE:sz,prnsim:cz,prod:uz,Product:lz,profalar:dz,profline:fz,profsurf:pz,prop:hz,Proportional:gz,Proportion:mz,propto:vz,prsim:yz,prurel:_z,Pscr:bz,pscr:Sz,Psi:wz,psi:$z,puncsp:Pz,Qfr:xz,qfr:Cz,qint:Tz,qopf:Ez,Qopf:Mz,qprime:Rz,Qscr:Nz,qscr:Oz,quaternions:Lz,quatint:Az,quest:qz,questeq:Dz,quot:Iz,QUOT:kz,rAarr:Fz,race:Vz,Racute:zz,racute:Bz,radic:Uz,raemptyv:Wz,rang:Hz,Rang:jz,rangd:Gz,range:Qz,rangle:Xz,raquo:Yz,rarrap:Zz,rarrb:Jz,rarrbfs:Kz,rarrc:eB,rarr:tB,Rarr:rB,rArr:nB,rarrfs:oB,rarrhk:aB,rarrlp:iB,rarrpl:sB,rarrsim:cB,Rarrtl:uB,rarrtl:lB,rarrw:dB,ratail:fB,rAtail:pB,ratio:hB,rationals:gB,rbarr:mB,rBarr:vB,RBarr:yB,rbbrk:_B,rbrace:bB,rbrack:SB,rbrke:wB,rbrksld:$B,rbrkslu:PB,Rcaron:xB,rcaron:CB,Rcedil:TB,rcedil:EB,rceil:MB,rcub:RB,Rcy:NB,rcy:OB,rdca:LB,rdldhar:AB,rdquo:qB,rdquor:DB,rdsh:IB,real:kB,realine:FB,realpart:VB,reals:zB,Re:BB,rect:UB,reg:WB,REG:HB,ReverseElement:jB,ReverseEquilibrium:GB,ReverseUpEquilibrium:QB,rfisht:XB,rfloor:YB,rfr:ZB,Rfr:JB,rHar:KB,rhard:eU,rharu:tU,rharul:rU,Rho:nU,rho:oU,rhov:aU,RightAngleBracket:iU,RightArrowBar:sU,rightarrow:cU,RightArrow:uU,Rightarrow:lU,RightArrowLeftArrow:dU,rightarrowtail:fU,RightCeiling:pU,RightDoubleBracket:hU,RightDownTeeVector:gU,RightDownVectorBar:mU,RightDownVector:vU,RightFloor:yU,rightharpoondown:_U,rightharpoonup:bU,rightleftarrows:SU,rightleftharpoons:wU,rightrightarrows:$U,rightsquigarrow:PU,RightTeeArrow:xU,RightTee:CU,RightTeeVector:TU,rightthreetimes:EU,RightTriangleBar:MU,RightTriangle:RU,RightTriangleEqual:NU,RightUpDownVector:OU,RightUpTeeVector:LU,RightUpVectorBar:AU,RightUpVector:qU,RightVectorBar:DU,RightVector:IU,ring:kU,risingdotseq:FU,rlarr:VU,rlhar:zU,rlm:BU,rmoustache:UU,rmoust:WU,rnmid:HU,roang:jU,roarr:GU,robrk:QU,ropar:XU,ropf:YU,Ropf:ZU,roplus:JU,rotimes:KU,RoundImplies:eW,rpar:tW,rpargt:rW,rppolint:nW,rrarr:oW,Rrightarrow:aW,rsaquo:iW,rscr:sW,Rscr:cW,rsh:uW,Rsh:lW,rsqb:dW,rsquo:fW,rsquor:pW,rthree:hW,rtimes:gW,rtri:mW,rtrie:vW,rtrif:yW,rtriltri:_W,RuleDelayed:bW,ruluhar:SW,rx:wW,Sacute:$W,sacute:PW,sbquo:xW,scap:CW,Scaron:TW,scaron:EW,Sc:MW,sc:RW,sccue:NW,sce:OW,scE:LW,Scedil:AW,scedil:qW,Scirc:DW,scirc:IW,scnap:kW,scnE:FW,scnsim:VW,scpolint:zW,scsim:BW,Scy:UW,scy:WW,sdotb:HW,sdot:jW,sdote:GW,searhk:QW,searr:XW,seArr:YW,searrow:ZW,sect:JW,semi:KW,seswar:eH,setminus:tH,setmn:rH,sext:nH,Sfr:oH,sfr:aH,sfrown:iH,sharp:sH,SHCHcy:cH,shchcy:uH,SHcy:lH,shcy:dH,ShortDownArrow:fH,ShortLeftArrow:pH,shortmid:hH,shortparallel:gH,ShortRightArrow:mH,ShortUpArrow:vH,shy:yH,Sigma:_H,sigma:bH,sigmaf:SH,sigmav:wH,sim:$H,simdot:PH,sime:xH,simeq:CH,simg:TH,simgE:EH,siml:MH,simlE:RH,simne:NH,simplus:OH,simrarr:LH,slarr:AH,SmallCircle:qH,smallsetminus:DH,smashp:IH,smeparsl:kH,smid:FH,smile:VH,smt:zH,smte:BH,smtes:UH,SOFTcy:WH,softcy:HH,solbar:jH,solb:GH,sol:QH,Sopf:XH,sopf:YH,spades:ZH,spadesuit:JH,spar:KH,sqcap:ej,sqcaps:tj,sqcup:rj,sqcups:nj,Sqrt:oj,sqsub:aj,sqsube:ij,sqsubset:sj,sqsubseteq:cj,sqsup:uj,sqsupe:lj,sqsupset:dj,sqsupseteq:fj,square:pj,Square:hj,SquareIntersection:gj,SquareSubset:mj,SquareSubsetEqual:vj,SquareSuperset:yj,SquareSupersetEqual:_j,SquareUnion:bj,squarf:Sj,squ:wj,squf:$j,srarr:Pj,Sscr:xj,sscr:Cj,ssetmn:Tj,ssmile:Ej,sstarf:Mj,Star:Rj,star:Nj,starf:Oj,straightepsilon:Lj,straightphi:Aj,strns:qj,sub:Dj,Sub:Ij,subdot:kj,subE:Fj,sube:Vj,subedot:zj,submult:Bj,subnE:Uj,subne:Wj,subplus:Hj,subrarr:jj,subset:Gj,Subset:Qj,subseteq:Xj,subseteqq:Yj,SubsetEqual:Zj,subsetneq:Jj,subsetneqq:Kj,subsim:eG,subsub:tG,subsup:rG,succapprox:nG,succ:oG,succcurlyeq:aG,Succeeds:iG,SucceedsEqual:sG,SucceedsSlantEqual:cG,SucceedsTilde:uG,succeq:lG,succnapprox:dG,succneqq:fG,succnsim:pG,succsim:hG,SuchThat:gG,sum:mG,Sum:vG,sung:yG,sup1:_G,sup2:bG,sup3:SG,sup:wG,Sup:$G,supdot:PG,supdsub:xG,supE:CG,supe:TG,supedot:EG,Superset:MG,SupersetEqual:RG,suphsol:NG,suphsub:OG,suplarr:LG,supmult:AG,supnE:qG,supne:DG,supplus:IG,supset:kG,Supset:FG,supseteq:VG,supseteqq:zG,supsetneq:BG,supsetneqq:UG,supsim:WG,supsub:HG,supsup:jG,swarhk:GG,swarr:QG,swArr:XG,swarrow:YG,swnwar:ZG,szlig:JG,Tab:KG,target:eQ,Tau:tQ,tau:rQ,tbrk:nQ,Tcaron:oQ,tcaron:aQ,Tcedil:iQ,tcedil:sQ,Tcy:cQ,tcy:uQ,tdot:lQ,telrec:dQ,Tfr:fQ,tfr:pQ,there4:hQ,therefore:gQ,Therefore:mQ,Theta:vQ,theta:yQ,thetasym:_Q,thetav:bQ,thickapprox:SQ,thicksim:wQ,ThickSpace:$Q,ThinSpace:PQ,thinsp:xQ,thkap:CQ,thksim:TQ,THORN:EQ,thorn:MQ,tilde:RQ,Tilde:NQ,TildeEqual:OQ,TildeFullEqual:LQ,TildeTilde:AQ,timesbar:qQ,timesb:DQ,times:IQ,timesd:kQ,tint:FQ,toea:VQ,topbot:zQ,topcir:BQ,top:UQ,Topf:WQ,topf:HQ,topfork:jQ,tosa:GQ,tprime:QQ,trade:XQ,TRADE:YQ,triangle:ZQ,triangledown:JQ,triangleleft:KQ,trianglelefteq:eX,triangleq:tX,triangleright:rX,trianglerighteq:nX,tridot:oX,trie:aX,triminus:iX,TripleDot:sX,triplus:cX,trisb:uX,tritime:lX,trpezium:dX,Tscr:fX,tscr:pX,TScy:hX,tscy:gX,TSHcy:mX,tshcy:vX,Tstrok:yX,tstrok:_X,twixt:bX,twoheadleftarrow:SX,twoheadrightarrow:wX,Uacute:$X,uacute:PX,uarr:xX,Uarr:CX,uArr:TX,Uarrocir:EX,Ubrcy:MX,ubrcy:RX,Ubreve:NX,ubreve:OX,Ucirc:LX,ucirc:AX,Ucy:qX,ucy:DX,udarr:IX,Udblac:kX,udblac:FX,udhar:VX,ufisht:zX,Ufr:BX,ufr:UX,Ugrave:WX,ugrave:HX,uHar:jX,uharl:GX,uharr:QX,uhblk:XX,ulcorn:YX,ulcorner:ZX,ulcrop:JX,ultri:KX,Umacr:eY,umacr:tY,uml:rY,UnderBar:nY,UnderBrace:oY,UnderBracket:aY,UnderParenthesis:iY,Union:sY,UnionPlus:cY,Uogon:uY,uogon:lY,Uopf:dY,uopf:fY,UpArrowBar:pY,uparrow:hY,UpArrow:gY,Uparrow:mY,UpArrowDownArrow:vY,updownarrow:yY,UpDownArrow:_Y,Updownarrow:bY,UpEquilibrium:SY,upharpoonleft:wY,upharpoonright:$Y,uplus:PY,UpperLeftArrow:xY,UpperRightArrow:CY,upsi:TY,Upsi:EY,upsih:MY,Upsilon:RY,upsilon:NY,UpTeeArrow:OY,UpTee:LY,upuparrows:AY,urcorn:qY,urcorner:DY,urcrop:IY,Uring:kY,uring:FY,urtri:VY,Uscr:zY,uscr:BY,utdot:UY,Utilde:WY,utilde:HY,utri:jY,utrif:GY,uuarr:QY,Uuml:XY,uuml:YY,uwangle:ZY,vangrt:JY,varepsilon:KY,varkappa:eZ,varnothing:tZ,varphi:rZ,varpi:nZ,varpropto:oZ,varr:aZ,vArr:iZ,varrho:sZ,varsigma:cZ,varsubsetneq:uZ,varsubsetneqq:lZ,varsupsetneq:dZ,varsupsetneqq:fZ,vartheta:pZ,vartriangleleft:hZ,vartriangleright:gZ,vBar:mZ,Vbar:vZ,vBarv:yZ,Vcy:_Z,vcy:bZ,vdash:SZ,vDash:wZ,Vdash:$Z,VDash:PZ,Vdashl:xZ,veebar:CZ,vee:TZ,Vee:EZ,veeeq:MZ,vellip:RZ,verbar:NZ,Verbar:OZ,vert:LZ,Vert:AZ,VerticalBar:qZ,VerticalLine:DZ,VerticalSeparator:IZ,VerticalTilde:kZ,VeryThinSpace:FZ,Vfr:VZ,vfr:zZ,vltri:BZ,vnsub:UZ,vnsup:WZ,Vopf:HZ,vopf:jZ,vprop:GZ,vrtri:QZ,Vscr:XZ,vscr:YZ,vsubnE:ZZ,vsubne:JZ,vsupnE:KZ,vsupne:eJ,Vvdash:tJ,vzigzag:rJ,Wcirc:nJ,wcirc:oJ,wedbar:aJ,wedge:iJ,Wedge:sJ,wedgeq:cJ,weierp:uJ,Wfr:lJ,wfr:dJ,Wopf:fJ,wopf:pJ,wp:hJ,wr:gJ,wreath:mJ,Wscr:vJ,wscr:yJ,xcap:_J,xcirc:bJ,xcup:SJ,xdtri:wJ,Xfr:$J,xfr:PJ,xharr:xJ,xhArr:CJ,Xi:TJ,xi:EJ,xlarr:MJ,xlArr:RJ,xmap:NJ,xnis:OJ,xodot:LJ,Xopf:AJ,xopf:qJ,xoplus:DJ,xotime:IJ,xrarr:kJ,xrArr:FJ,Xscr:VJ,xscr:zJ,xsqcup:BJ,xuplus:UJ,xutri:WJ,xvee:HJ,xwedge:jJ,Yacute:GJ,yacute:QJ,YAcy:XJ,yacy:YJ,Ycirc:ZJ,ycirc:JJ,Ycy:KJ,ycy:eK,yen:tK,Yfr:rK,yfr:nK,YIcy:oK,yicy:aK,Yopf:iK,yopf:sK,Yscr:cK,yscr:uK,YUcy:lK,yucy:dK,yuml:fK,Yuml:pK,Zacute:hK,zacute:gK,Zcaron:mK,zcaron:vK,Zcy:yK,zcy:_K,Zdot:bK,zdot:SK,zeetrf:wK,ZeroWidthSpace:$K,Zeta:PK,zeta:xK,zfr:CK,Zfr:TK,ZHcy:EK,zhcy:MK,zigrarr:RK,zopf:NK,Zopf:OK,Zscr:LK,zscr:AK,zwj:qK,zwnj:DK},IK="Á",kK="á",FK="Â",VK="â",zK="´",BK="Æ",UK="æ",WK="À",HK="à",jK="&",GK="&",QK="Å",XK="å",YK="Ã",ZK="ã",JK="Ä",KK="ä",eee="¦",tee="Ç",ree="ç",nee="¸",oee="¢",aee="©",iee="©",see="¤",cee="°",uee="÷",lee="É",dee="é",fee="Ê",pee="ê",hee="È",gee="è",mee="Ð",vee="ð",yee="Ë",_ee="ë",bee="½",See="¼",wee="¾",$ee=">",Pee=">",xee="Í",Cee="í",Tee="Î",Eee="î",Mee="¡",Ree="Ì",Nee="ì",Oee="¿",Lee="Ï",Aee="ï",qee="«",Dee="<",Iee="<",kee="¯",Fee="µ",Vee="·",zee=" ",Bee="¬",Uee="Ñ",Wee="ñ",Hee="Ó",jee="ó",Gee="Ô",Qee="ô",Xee="Ò",Yee="ò",Zee="ª",Jee="º",Kee="Ø",ete="ø",tte="Õ",rte="õ",nte="Ö",ote="ö",ate="¶",ite="±",ste="£",cte='"',ute='"',lte="»",dte="®",fte="®",pte="§",hte="­",gte="¹",mte="²",vte="³",yte="ß",_te="Þ",bte="þ",Ste="×",wte="Ú",$te="ú",Pte="Û",xte="û",Cte="Ù",Tte="ù",Ete="¨",Mte="Ü",Rte="ü",Nte="Ý",Ote="ý",Lte="¥",Ate="ÿ",qte={Aacute:IK,aacute:kK,Acirc:FK,acirc:VK,acute:zK,AElig:BK,aelig:UK,Agrave:WK,agrave:HK,amp:jK,AMP:GK,Aring:QK,aring:XK,Atilde:YK,atilde:ZK,Auml:JK,auml:KK,brvbar:eee,Ccedil:tee,ccedil:ree,cedil:nee,cent:oee,copy:aee,COPY:iee,curren:see,deg:cee,divide:uee,Eacute:lee,eacute:dee,Ecirc:fee,ecirc:pee,Egrave:hee,egrave:gee,ETH:mee,eth:vee,Euml:yee,euml:_ee,frac12:bee,frac14:See,frac34:wee,gt:$ee,GT:Pee,Iacute:xee,iacute:Cee,Icirc:Tee,icirc:Eee,iexcl:Mee,Igrave:Ree,igrave:Nee,iquest:Oee,Iuml:Lee,iuml:Aee,laquo:qee,lt:Dee,LT:Iee,macr:kee,micro:Fee,middot:Vee,nbsp:zee,not:Bee,Ntilde:Uee,ntilde:Wee,Oacute:Hee,oacute:jee,Ocirc:Gee,ocirc:Qee,Ograve:Xee,ograve:Yee,ordf:Zee,ordm:Jee,Oslash:Kee,oslash:ete,Otilde:tte,otilde:rte,Ouml:nte,ouml:ote,para:ate,plusmn:ite,pound:ste,quot:cte,QUOT:ute,raquo:lte,reg:dte,REG:fte,sect:pte,shy:hte,sup1:gte,sup2:mte,sup3:vte,szlig:yte,THORN:_te,thorn:bte,times:Ste,Uacute:wte,uacute:$te,Ucirc:Pte,ucirc:xte,Ugrave:Cte,ugrave:Tte,uml:Ete,Uuml:Mte,uuml:Rte,Yacute:Nte,yacute:Ote,yen:Lte,yuml:Ate},Dte="&",Ite="'",kte=">",Fte="<",Vte='"',Ql={amp:Dte,apos:Ite,gt:kte,lt:Fte,quot:Vte};var Gi={};const zte={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};var Bte=I&&I.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Gi,"__esModule",{value:!0});var kc=Bte(zte),Ute=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function Wte(e){return e>=55296&&e<=57343||e>1114111?"�":(e in kc.default&&(e=kc.default[e]),Ute(e))}Gi.default=Wte;var P1=I&&I.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ht,"__esModule",{value:!0});ht.decodeHTML=ht.decodeHTMLStrict=ht.decodeXML=void 0;var ci=P1(Gl),Hte=P1(qte),jte=P1(Ql),Fc=P1(Gi),Gte=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;ht.decodeXML=Xl(jte.default);ht.decodeHTMLStrict=Xl(ci.default);function Xl(e){var t=Yl(e);return function(r){return String(r).replace(Gte,t)}}var Vc=function(e,t){return e1?Zte(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}function Jte(e,t){return function(r){return r.replace(t,function(n){return e[n]}).replace(rd,x1)}}var nd=new RegExp(Kl.source+"|"+rd.source,"g");function Kte(e){return e.replace(nd,x1)}qe.escape=Kte;function ere(e){return e.replace(Kl,x1)}qe.escapeUTF8=ere;function od(e){return function(t){return t.replace(nd,function(r){return e[r]||x1(r)})}}(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=ht,r=qe;function n(l,d){return(!d||d<=0?t.decodeXML:t.decodeHTML)(l)}e.decode=n;function o(l,d){return(!d||d<=0?t.decodeXML:t.decodeHTMLStrict)(l)}e.decodeStrict=o;function i(l,d){return(!d||d<=0?r.encodeXML:r.encodeHTML)(l)}e.encode=i;var a=qe;Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return a.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return a.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return a.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return a.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return a.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return a.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return a.encodeHTML}});var c=ht;Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return c.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return c.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return c.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return c.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return c.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return c.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return c.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return c.decodeXML}})})(jl);var Pr={};Object.defineProperty(Pr,"__esModule",{value:!0});Pr.attributeNames=Pr.elementNames=void 0;Pr.elementNames=new Map([["altglyph","altGlyph"],["altglyphdef","altGlyphDef"],["altglyphitem","altGlyphItem"],["animatecolor","animateColor"],["animatemotion","animateMotion"],["animatetransform","animateTransform"],["clippath","clipPath"],["feblend","feBlend"],["fecolormatrix","feColorMatrix"],["fecomponenttransfer","feComponentTransfer"],["fecomposite","feComposite"],["feconvolvematrix","feConvolveMatrix"],["fediffuselighting","feDiffuseLighting"],["fedisplacementmap","feDisplacementMap"],["fedistantlight","feDistantLight"],["fedropshadow","feDropShadow"],["feflood","feFlood"],["fefunca","feFuncA"],["fefuncb","feFuncB"],["fefuncg","feFuncG"],["fefuncr","feFuncR"],["fegaussianblur","feGaussianBlur"],["feimage","feImage"],["femerge","feMerge"],["femergenode","feMergeNode"],["femorphology","feMorphology"],["feoffset","feOffset"],["fepointlight","fePointLight"],["fespecularlighting","feSpecularLighting"],["fespotlight","feSpotLight"],["fetile","feTile"],["feturbulence","feTurbulence"],["foreignobject","foreignObject"],["glyphref","glyphRef"],["lineargradient","linearGradient"],["radialgradient","radialGradient"],["textpath","textPath"]]);Pr.attributeNames=new Map([["definitionurl","definitionURL"],["attributename","attributeName"],["attributetype","attributeType"],["basefrequency","baseFrequency"],["baseprofile","baseProfile"],["calcmode","calcMode"],["clippathunits","clipPathUnits"],["diffuseconstant","diffuseConstant"],["edgemode","edgeMode"],["filterunits","filterUnits"],["glyphref","glyphRef"],["gradienttransform","gradientTransform"],["gradientunits","gradientUnits"],["kernelmatrix","kernelMatrix"],["kernelunitlength","kernelUnitLength"],["keypoints","keyPoints"],["keysplines","keySplines"],["keytimes","keyTimes"],["lengthadjust","lengthAdjust"],["limitingconeangle","limitingConeAngle"],["markerheight","markerHeight"],["markerunits","markerUnits"],["markerwidth","markerWidth"],["maskcontentunits","maskContentUnits"],["maskunits","maskUnits"],["numoctaves","numOctaves"],["pathlength","pathLength"],["patterncontentunits","patternContentUnits"],["patterntransform","patternTransform"],["patternunits","patternUnits"],["pointsatx","pointsAtX"],["pointsaty","pointsAtY"],["pointsatz","pointsAtZ"],["preservealpha","preserveAlpha"],["preserveaspectratio","preserveAspectRatio"],["primitiveunits","primitiveUnits"],["refx","refX"],["refy","refY"],["repeatcount","repeatCount"],["repeatdur","repeatDur"],["requiredextensions","requiredExtensions"],["requiredfeatures","requiredFeatures"],["specularconstant","specularConstant"],["specularexponent","specularExponent"],["spreadmethod","spreadMethod"],["startoffset","startOffset"],["stddeviation","stdDeviation"],["stitchtiles","stitchTiles"],["surfacescale","surfaceScale"],["systemlanguage","systemLanguage"],["tablevalues","tableValues"],["targetx","targetX"],["targety","targetY"],["textlength","textLength"],["viewbox","viewBox"],["viewtarget","viewTarget"],["xchannelselector","xChannelSelector"],["ychannelselector","yChannelSelector"],["zoomandpan","zoomAndPan"]]);var yr=I&&I.__assign||function(){return yr=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&(n+=Xi(e.children,t)),(t.xmlMode||!zc.has(e.name))&&(n+="")),n}function lre(e){return"<"+e.data+">"}function dre(e,t){var r=e.data||"";return t.decodeEntities!==!1&&!(!t.xmlMode&&e.parent&&ore.has(e.parent.name))&&(r=ad.encodeXML(r)),r}function fre(e){return""}function pre(e){return""}var hre=I&&I.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ae,"__esModule",{value:!0});Ae.innerText=Ae.textContent=Ae.getText=Ae.getInnerHTML=Ae.getOuterHTML=void 0;var it=Ye,gre=hre(ji),mre=Xt;function sd(e,t){return(0,gre.default)(e,t)}Ae.getOuterHTML=sd;function vre(e,t){return(0,it.hasChildren)(e)?e.children.map(function(r){return sd(r,t)}).join(""):""}Ae.getInnerHTML=vre;function Eo(e){return Array.isArray(e)?e.map(Eo).join(""):(0,it.isTag)(e)?e.name==="br"?` +`:Eo(e.children):(0,it.isCDATA)(e)?Eo(e.children):(0,it.isText)(e)?e.data:""}Ae.getText=Eo;function ui(e){return Array.isArray(e)?e.map(ui).join(""):(0,it.hasChildren)(e)&&!(0,it.isComment)(e)?ui(e.children):(0,it.isText)(e)?e.data:""}Ae.textContent=ui;function li(e){return Array.isArray(e)?e.map(li).join(""):(0,it.hasChildren)(e)&&(e.type===mre.ElementType.Tag||(0,it.isCDATA)(e))?li(e.children):(0,it.isText)(e)?e.data:""}Ae.innerText=li;var ve={};Object.defineProperty(ve,"__esModule",{value:!0});ve.prevElementSibling=ve.nextElementSibling=ve.getName=ve.hasAttrib=ve.getAttributeValue=ve.getSiblings=ve.getParent=ve.getChildren=void 0;var cd=Ye,yre=[];function ud(e){var t;return(t=e.children)!==null&&t!==void 0?t:yre}ve.getChildren=ud;function ld(e){return e.parent||null}ve.getParent=ld;function _re(e){var t,r,n=ld(e);if(n!=null)return ud(n);for(var o=[e],i=e.prev,a=e.next;i!=null;)o.unshift(i),t=i,i=t.prev;for(;a!=null;)o.push(a),r=a,a=r.next;return o}ve.getSiblings=_re;function bre(e,t){var r;return(r=e.attribs)===null||r===void 0?void 0:r[t]}ve.getAttributeValue=bre;function Sre(e,t){return e.attribs!=null&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&e.attribs[t]!=null}ve.hasAttrib=Sre;function wre(e){return e.name}ve.getName=wre;function $re(e){for(var t,r=e.next;r!==null&&!(0,cd.isTag)(r);)t=r,r=t.next;return r}ve.nextElementSibling=$re;function Pre(e){for(var t,r=e.prev;r!==null&&!(0,cd.isTag)(r);)t=r,r=t.prev;return r}ve.prevElementSibling=Pre;var Oe={};Object.defineProperty(Oe,"__esModule",{value:!0});Oe.prepend=Oe.prependChild=Oe.append=Oe.appendChild=Oe.replaceElement=Oe.removeElement=void 0;function An(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}}Oe.removeElement=An;function xre(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.prev=t);var o=t.parent=e.parent;if(o){var i=o.children;i[i.lastIndexOf(e)]=t}}Oe.replaceElement=xre;function Cre(e,t){if(An(t),t.next=null,t.parent=e,e.children.push(t)>1){var r=e.children[e.children.length-2];r.next=t,t.prev=r}else t.prev=null}Oe.appendChild=Cre;function Tre(e,t){An(t);var r=e.parent,n=e.next;if(t.next=n,t.prev=e,e.next=t,t.parent=r,n){if(n.prev=t,r){var o=r.children;o.splice(o.lastIndexOf(n),0,t)}}else r&&r.children.push(t)}Oe.append=Tre;function Ere(e,t){if(An(t),t.parent=e,t.prev=null,e.children.unshift(t)!==1){var r=e.children[1];r.prev=t,t.next=r}else t.next=null}Oe.prependChild=Ere;function Mre(e,t){An(t);var r=e.parent;if(r){var n=r.children;n.splice(n.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}Oe.prepend=Mre;var xe={};Object.defineProperty(xe,"__esModule",{value:!0});xe.findAll=xe.existsOne=xe.findOne=xe.findOneChild=xe.find=xe.filter=void 0;var mn=Ye;function Rre(e,t,r,n){return r===void 0&&(r=!0),n===void 0&&(n=1/0),Array.isArray(t)||(t=[t]),Yi(e,t,r,n)}xe.filter=Rre;function Yi(e,t,r,n){for(var o=[],i=0,a=t;i0){var l=Yi(e,c.children,r,n);if(o.push.apply(o,l),n-=l.length,n<=0)break}}return o}xe.find=Yi;function Nre(e,t){return t.find(e)}xe.findOneChild=Nre;function dd(e,t,r){r===void 0&&(r=!0);for(var n=null,o=0;o0&&(n=dd(e,i.children));else continue}return n}xe.findOne=dd;function fd(e,t){return t.some(function(r){return(0,mn.isTag)(r)&&(e(r)||r.children.length>0&&fd(e,r.children))})}xe.existsOne=fd;function Ore(e,t){for(var r,n=[],o=t.filter(mn.isTag),i;i=o.shift();){var a=(r=i.children)===null||r===void 0?void 0:r.filter(mn.isTag);a&&a.length>0&&o.unshift.apply(o,a),e(i)&&n.push(i)}return n}xe.findAll=Ore;var De={};Object.defineProperty(De,"__esModule",{value:!0});De.getElementsByTagType=De.getElementsByTagName=De.getElementById=De.getElements=De.testElement=void 0;var zt=Ye,C1=xe,Do={tag_name:function(e){return typeof e=="function"?function(t){return(0,zt.isTag)(t)&&e(t.name)}:e==="*"?zt.isTag:function(t){return(0,zt.isTag)(t)&&t.name===e}},tag_type:function(e){return typeof e=="function"?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return typeof e=="function"?function(t){return(0,zt.isText)(t)&&e(t.data)}:function(t){return(0,zt.isText)(t)&&t.data===e}}};function pd(e,t){return typeof t=="function"?function(r){return(0,zt.isTag)(r)&&t(r.attribs[e])}:function(r){return(0,zt.isTag)(r)&&r.attribs[e]===t}}function Lre(e,t){return function(r){return e(r)||t(r)}}function hd(e){var t=Object.keys(e).map(function(r){var n=e[r];return Object.prototype.hasOwnProperty.call(Do,r)?Do[r](n):pd(r,n)});return t.length===0?null:t.reduce(Lre)}function Are(e,t){var r=hd(e);return r?r(t):!0}De.testElement=Are;function qre(e,t,r,n){n===void 0&&(n=1/0);var o=hd(e);return o?(0,C1.filter)(o,t,r,n):[]}De.getElements=qre;function Dre(e,t,r){return r===void 0&&(r=!0),Array.isArray(t)||(t=[t]),(0,C1.findOne)(pd("id",e),t,r)}De.getElementById=Dre;function Ire(e,t,r,n){return r===void 0&&(r=!0),n===void 0&&(n=1/0),(0,C1.filter)(Do.tag_name(e),t,r,n)}De.getElementsByTagName=Ire;function kre(e,t,r,n){return r===void 0&&(r=!0),n===void 0&&(n=1/0),(0,C1.filter)(Do.tag_type(e),t,r,n)}De.getElementsByTagType=kre;var wt={};Object.defineProperty(wt,"__esModule",{value:!0});wt.uniqueSort=wt.compareDocumentPosition=wt.removeSubsets=void 0;var Bc=Ye;function Fre(e){for(var t=e.length;--t>=0;){var r=e[t];if(t>0&&e.lastIndexOf(r,t-1)>=0){e.splice(t,1);continue}for(var n=r.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e}wt.removeSubsets=Fre;function gd(e,t){var r=[],n=[];if(e===t)return 0;for(var o=(0,Bc.hasChildren)(e)?e:e.parent;o;)r.unshift(o),o=o.parent;for(o=(0,Bc.hasChildren)(t)?t:t.parent;o;)n.unshift(o),o=o.parent;for(var i=Math.min(r.length,n.length),a=0;al.indexOf(p)?c===t?20:4:c===e?10:2}wt.compareDocumentPosition=gd;function Vre(e){return e=e.filter(function(t,r,n){return!n.includes(t,r+1)}),e.sort(function(t,r){var n=gd(t,r);return n&2?-1:n&4?1:0}),e}wt.uniqueSort=Vre;var T1={};Object.defineProperty(T1,"__esModule",{value:!0});T1.getFeed=void 0;var zre=Ae,qn=De;function Bre(e){var t=Io(Gre,e);return t?t.name==="feed"?Ure(t):Wre(t):null}T1.getFeed=Bre;function Ure(e){var t,r=e.children,n={type:"atom",items:(0,qn.getElementsByTagName)("entry",r).map(function(a){var c,l=a.children,d={media:md(l)};Ne(d,"id","id",l),Ne(d,"title","title",l);var p=(c=Io("link",l))===null||c===void 0?void 0:c.attribs.href;p&&(d.link=p);var v=Ut("summary",l)||Ut("content",l);v&&(d.description=v);var h=Ut("updated",l);return h&&(d.pubDate=new Date(h)),d})};Ne(n,"id","id",r),Ne(n,"title","title",r);var o=(t=Io("link",r))===null||t===void 0?void 0:t.attribs.href;o&&(n.link=o),Ne(n,"description","subtitle",r);var i=Ut("updated",r);return i&&(n.updated=new Date(i)),Ne(n,"author","email",r,!0),n}function Wre(e){var t,r,n=(r=(t=Io("channel",e.children))===null||t===void 0?void 0:t.children)!==null&&r!==void 0?r:[],o={type:e.name.substr(0,3),id:"",items:(0,qn.getElementsByTagName)("item",e.children).map(function(a){var c=a.children,l={media:md(c)};Ne(l,"id","guid",c),Ne(l,"title","title",c),Ne(l,"link","link",c),Ne(l,"description","description",c);var d=Ut("pubDate",c);return d&&(l.pubDate=new Date(d)),l})};Ne(o,"title","title",n),Ne(o,"link","link",n),Ne(o,"description","description",n);var i=Ut("lastBuildDate",n);return i&&(o.updated=new Date(i)),Ne(o,"author","managingEditor",n,!0),o}var Hre=["url","type","lang"],jre=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function md(e){return(0,qn.getElementsByTagName)("media:content",e).map(function(t){for(var r=t.attribs,n={medium:r.medium,isDefault:!!r.isDefault},o=0,i=Hre;on(o)||t.ignoreNode(o,this.tagStack[this.tagStack.length-1]))}isIgnored(t){return this.ignoredTags[t.name]||this.ignoredTagsCount>-1}addNode(t){if(this.isIgnored(t)===!0)(0,Uc.isDomElement)(t)&&this.ignoredTagsCount++;else if(super.addNode(t),(0,Uc.isDomText)(t)){var r,n;(r=(n=this.visitors).onText)===null||r===void 0||r.call(n,t)}}ontext(t){this.ignoredTagsCount<0&&super.ontext(t)}onopentag(t,r){super.onopentag(t,r)}onclosetag(){var t,r;(t=(r=this.visitors).onElement)===null||t===void 0||t.call(r,this.tagStack[this.tagStack.length-1]),super.onclosetag(),this.ignoredTagsCount>-1&&this.ignoredTagsCount--}onend(){var t,r;(t=(r=this.visitors).onDocument)===null||t===void 0||t.call(r,this.root)}}E1.default=Xre;Object.defineProperty(Ui,"__esModule",{value:!0});Ui.default=Kre;var Yre=Wl,Zre=Jre(E1);function Jre(e){return e&&e.__esModule?e:{default:e}}function Kre(e,t={}){const r=new Zre.default(t);return new Yre.Parser(r,t).end(e),r.root}var xr={};Object.defineProperty(xr,"__esModule",{value:!0});xr.TStylesMerger=xr.emptyProcessedPropsReg=void 0;var vd=tne(e1),ene=Or;function yd(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(yd=function(n){return n?r:t})(e)}function tne(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=yd(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function kt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const _d=new vd.CSSProcessedProps;xr.emptyProcessedPropsReg=_d;function Ha(e,t){let r={};for(const n in t)r[n]=e.compileStyleDeclaration(t[n]);return r}class rne{constructor(t,r,n){kt(this,"processor",void 0),kt(this,"tagsStyles",void 0),kt(this,"classesStyles",void 0),kt(this,"idsStyles",void 0),kt(this,"enableCSSInlineProcessing",void 0),kt(this,"enableUserAgentStyles",void 0),kt(this,"modelRegistry",void 0),this.processor=new vd.default(n),this.modelRegistry=r,this.classesStyles=Ha(this.processor,t.classesStyles),this.tagsStyles=Ha(this.processor,t.tagsStyles),this.idsStyles=Ha(this.processor,t.idsStyles),this.enableCSSInlineProcessing=t.enableCSSInlineProcessing,this.enableUserAgentStyles=t.enableUserAgentStyles}compileInlineCSS(t){return this.processor.compileInlineCSS(t)}compileStyleDeclaration(t){return this.processor.compileStyleDeclaration(t)}buildStyles(t,r,n){var o,i,a,c,l,d,p;const v=this.enableCSSInlineProcessing&&t?this.compileInlineCSS(t):null,h=n.tagName?this.modelRegistry.getElementModelFromTagName(n.tagName):null,N=(o=this.tagsStyles[n.tagName])!==null&&o!==void 0?o:null,T=(i=this.idsStyles[n.id])!==null&&i!==void 0?i:null,M=n.classes.map(F=>this.classesStyles[F]||null),D=this.enableUserAgentStyles&&(a=(c=(h==null||(l=h.getMixedUAStyles)===null||l===void 0?void 0:l.call(h,n,n.domNode))||null)!==null&&c!==void 0?c:h==null||(d=h.getUADerivedStyleFromAttributes)===null||d===void 0?void 0:d.call(h,n.attributes,n.markers))!==null&&a!==void 0?a:null,H=this.enableUserAgentStyles&&(p=h==null?void 0:h.mixedUAStyles)!==null&&p!==void 0?p:null,k=_d.merge(H&&this.processor.compileStyleDeclaration(H),D&&this.processor.compileStyleDeclaration(D),N,...M,T,v);return new ene.TStyles(k,r)}}xr.TStylesMerger=rne;var M1={};Object.defineProperty(M1,"__esModule",{value:!0});M1.defaultStylesConfig=void 0;const nne={classesStyles:{},enableCSSInlineProcessing:!0,enableUserAgentStyles:!1,idsStyles:{},tagsStyles:{},baseStyle:{fontSize:14,whiteSpace:"normal"}};M1.defaultStylesConfig=nne;var R1={},Dn={};Object.defineProperty(Dn,"__esModule",{value:!0});Dn.default=void 0;var one=$1,Wc=bd(ke),b=bd(Rr);function bd(e){return e&&e.__esModule?e:{default:e}}const Hc="#245dc1",Sd="#CCC",di=30,vn={marginTop:"1em",marginBottom:"1em"},ane={marginTop:".5em",marginBottom:".5em"},fi={textDecorationLine:"line-through"},Bt={fontStyle:"italic"},ln={fontFamily:"monospace"},ko={fontWeight:"bold"},jc={...vn,marginLeft:di,marginRight:di},ine={color:Hc,textDecorationLine:"underline",textDecorationColor:Hc},sne={borderLeftWidth:2,borderLeftColor:Sd},Gc={textDecorationLine:"underline",textDecorationStyle:"dotted"},wd={textDecorationLine:"underline",textDecorationStyle:"solid"},ja={...vn,paddingLeft:30},go={whiteSpace:"pre",...ln,...vn};function pr(e,t){return{fontSize:e,marginTop:t,marginBottom:t,...ko}}const hr=({domNode:e})=>({native:{accessible:!0,accessibilityLabel:(0,one.textContent)(e),accessibilityRole:"header"}}),$d=function({attributes:t}){if(typeof t.href=="string"&&t.href.length>0)return{native:{accessible:!0,accessibilityRole:"link"}}},cne={address:b.default.fromNativeModel({category:"sectioning",tagName:"address",mixedUAStyles:Bt}),article:b.default.fromNativeModel({category:"sectioning",tagName:"article"}),aside:b.default.fromNativeModel({category:"sectioning",tagName:"aside"}),body:b.default.fromNativeModel({category:"sectioning",tagName:"body"}),footer:b.default.fromNativeModel({category:"sectioning",tagName:"footer"}),h1:b.default.fromNativeModel({category:"sectioning",tagName:"h1",mixedUAStyles:pr("2em",".67em"),getReactNativeProps:hr}),h2:b.default.fromNativeModel({category:"sectioning",tagName:"h2",mixedUAStyles:pr("1.5em",".83em"),getReactNativeProps:hr}),h3:b.default.fromNativeModel({category:"sectioning",tagName:"h3",mixedUAStyles:pr("1.17em","1em"),getReactNativeProps:hr}),h4:b.default.fromNativeModel({category:"sectioning",tagName:"h4",mixedUAStyles:pr("1em","1.33em"),getReactNativeProps:hr}),h5:b.default.fromNativeModel({category:"sectioning",tagName:"h5",mixedUAStyles:pr(".83em","1.67em"),getReactNativeProps:hr}),h6:b.default.fromNativeModel({category:"sectioning",tagName:"h6",mixedUAStyles:pr(".67em","2.33em"),getReactNativeProps:hr}),header:b.default.fromNativeModel({category:"sectioning",tagName:"header"}),hgroup:b.default.fromNativeModel({category:"sectioning",tagName:"hgroup"}),nav:b.default.fromNativeModel({category:"sectioning",tagName:"nav"}),section:b.default.fromNativeModel({category:"sectioning",tagName:"section"})},une={area:b.default.fromNativeModel({tagName:"area",category:"untranslatable",isVoid:!0,getReactNativeProps:$d}),map:b.default.fromNativeModel({tagName:"map",category:"untranslatable"})},lne={accesskey:b.default.fromNativeModel({tagName:"accesskey",category:"untranslatable"}),caption:b.default.fromNativeModel({tagName:"caption",category:"untranslatable"}),col:b.default.fromNativeModel({tagName:"col",category:"untranslatable",isVoid:!0}),colgroup:b.default.fromNativeModel({tagName:"colgroup",category:"untranslatable"}),datalist:b.default.fromNativeModel({tagName:"datalist",category:"untranslatable"}),source:b.default.fromNativeModel({tagName:"source",category:"untranslatable",isVoid:!0}),track:b.default.fromNativeModel({tagName:"track",category:"untranslatable",isVoid:!0}),optgroup:b.default.fromNativeModel({tagName:"optgroup",category:"untranslatable"}),option:b.default.fromNativeModel({tagName:"option",category:"untranslatable"}),param:b.default.fromNativeModel({tagName:"param",category:"untranslatable",isVoid:!0})},Pd={button:b.default.fromNativeModel({tagName:"button",category:"interactive",reactNativeProps:{native:{accessibilityRole:"button"}}}),fieldset:b.default.fromNativeModel({tagName:"fieldset",category:"interactive"}),form:b.default.fromNativeModel({tagName:"form",category:"interactive"}),input:b.default.fromNativeModel({tagName:"input",category:"interactive",isVoid:!0}),label:b.default.fromNativeModel({tagName:"label",category:"interactive"}),legend:b.default.fromNativeModel({tagName:"legend",category:"interactive"}),meter:b.default.fromNativeModel({tagName:"meter",category:"interactive"}),progress:b.default.fromNativeModel({tagName:"progress",category:"interactive"}),select:b.default.fromNativeModel({tagName:"select",category:"interactive",reactNativeProps:{native:{accessible:!0,accessibilityRole:"combobox"}}}),details:b.default.fromNativeModel({tagName:"details",category:"interactive"}),dialog:b.default.fromNativeModel({tagName:"dialog",category:"interactive"}),output:b.default.fromNativeModel({tagName:"output",category:"interactive"}),summary:b.default.fromNativeModel({tagName:"summary",category:"interactive"}),textarea:b.default.fromNativeModel({tagName:"textarea",category:"interactive"})},dne={base:b.default.fromNativeModel({tagName:"base",category:"untranslatable",isVoid:!0}),head:b.default.fromNativeModel({tagName:"head",category:"untranslatable",isOpaque:!0}),link:b.default.fromNativeModel({tagName:"link",category:"untranslatable",isVoid:!0}),meta:b.default.fromNativeModel({tagName:"meta",category:"untranslatable",isVoid:!0}),title:b.default.fromNativeModel({tagName:"title",category:"untranslatable"})},fne={...lne,...Pd,...une,...dne},pne={blockquote:b.default.fromNativeModel({tagName:"blockquote",category:"grouping",getMixedUAStyles:({attributes:e})=>{if(e.type==="cite")return sne},mixedUAStyles:jc}),dd:b.default.fromNativeModel({tagName:"dd",category:"grouping",mixedUAStyles:{marginLeft:di}}),div:b.default.fromNativeModel({tagName:"div",category:"grouping"}),dl:b.default.fromNativeModel({tagName:"dl",category:"grouping",mixedUAStyles:vn}),dt:b.default.fromNativeModel({tagName:"dt",category:"grouping",mixedUAStyles:ko}),figcaption:b.default.fromNativeModel({tagName:"figcaption",category:"grouping",mixedUAStyles:{...Bt,textAlign:"center"}}),figure:b.default.fromNativeModel({tagName:"figure",category:"grouping",mixedUAStyles:jc}),hr:b.default.fromNativeModel({tagName:"hr",category:"grouping",mixedUAStyles:{marginLeft:"auto",marginRight:"auto",height:1,width:"100%",backgroundColor:Sd,...ane}}),li:b.default.fromNativeModel({tagName:"li",category:"grouping"}),main:b.default.fromNativeModel({tagName:"main",category:"grouping"}),menu:b.default.fromNativeModel({tagName:"menu",category:"grouping"}),ol:b.default.fromNativeModel({tagName:"ol",category:"grouping",mixedUAStyles:ja,setMarkersForTNode(e,t){e.olNestLevel=t.olNestLevel+1}}),p:b.default.fromNativeModel({tagName:"p",category:"grouping",mixedUAStyles:vn}),pre:b.default.fromNativeModel({tagName:"pre",category:"grouping",mixedUAStyles:go}),xmp:b.default.fromNativeModel({tagName:"xmp",category:"grouping",mixedUAStyles:go}),listing:b.default.fromNativeModel({tagName:"listing",category:"grouping",mixedUAStyles:go}),plaintext:b.default.fromNativeModel({tagName:"plaintext",category:"grouping",mixedUAStyles:go}),ul:b.default.fromNativeModel({tagName:"ul",category:"grouping",mixedUAStyles:ja,setMarkersForTNode(e,t){e.ulNestLevel=t.ulNestLevel+1}}),dir:b.default.fromNativeModel({tagName:"dir",category:"grouping",mixedUAStyles:ja})},hne={table:b.default.fromNativeModel({tagName:"table",category:"tabular"}),tbody:b.default.fromNativeModel({tagName:"tbody",category:"tabular"}),td:b.default.fromNativeModel({tagName:"td",category:"tabular",mixedUAStyles:{padding:2,flex:1}}),tfoot:b.default.fromNativeModel({tagName:"tfoot",category:"tabular"}),th:b.default.fromNativeModel({tagName:"th",category:"tabular",mixedUAStyles:{padding:2,flex:1,fontWeight:"bold"}}),thead:b.default.fromNativeModel({tagName:"thead",category:"tabular"}),tr:b.default.fromNativeModel({tagName:"tr",category:"tabular",mixedUAStyles:{flexDirection:"row",flexWrap:"nowrap"}})},gne={img:b.default.fromNativeModel({tagName:"img",category:"embedded",isVoid:!0,getReactNativeProps({attributes:e},t){const r=e["aria-label"]||e.alt;return r&&(!(t!=null&&t.view)||t.view.accessibilityRole!=="none")?{native:{accessibilityLabel:r,accessibilityRole:"image"}}:{native:{accessibilityRole:"none"}}}}).extend({contentModel:Wc.default.block}),picture:b.default.fromNativeModel({tagName:"picture",category:"embedded",isOpaque:!1,isVoid:!1}).extend({contentModel:Wc.default.block})},mne={audio:b.default.fromNativeModel({tagName:"audio",category:"embedded",isVoid:!1}),canvas:b.default.fromNativeModel({tagName:"canvas",category:"embedded",isVoid:!1}),embed:b.default.fromNativeModel({tagName:"embed",category:"embedded",isVoid:!0}),iframe:b.default.fromNativeModel({tagName:"iframe",category:"embedded",isVoid:!0}),math:b.default.fromNativeModel({tagName:"math",category:"embedded",isVoid:!1,isOpaque:!0}),object:b.default.fromNativeModel({tagName:"object",category:"embedded",isVoid:!1}),svg:b.default.fromNativeModel({tagName:"svg",category:"embedded",isVoid:!1,isOpaque:!0,getReactNativeProps({attributes:e}){return e["aria-label"]?{native:{accessibilityLabel:e["aria-label"],accessibilityRole:"image"}}:{native:{accessibilityRole:"none"}}}}),video:b.default.fromNativeModel({tagName:"video",category:"embedded",isVoid:!1})},vne={ins:b.default.fromNativeModel({tagName:"ins",category:"edits",mixedUAStyles:wd,setMarkersForTNode(e){e.edits="ins"}}),del:b.default.fromNativeModel({tagName:"del",category:"edits",mixedUAStyles:fi,setMarkersForTNode(e){e.edits="del"}})},yne={em:b.default.fromNativeModel({tagName:"em",category:"textual",mixedUAStyles:Bt}),strong:b.default.fromNativeModel({tagName:"strong",category:"textual",mixedUAStyles:ko}),small:b.default.fromNativeModel({tagName:"small",category:"textual",mixedUAStyles:{fontSize:"smaller"}}),big:b.default.fromNativeModel({tagName:"big",category:"textual",mixedUAStyles:{fontSize:"larger"}}),s:b.default.fromNativeModel({tagName:"s",category:"textual",mixedUAStyles:fi}),strike:b.default.fromNativeModel({tagName:"strike",category:"textual",mixedUAStyles:fi}),cite:b.default.fromNativeModel({tagName:"cite",category:"textual",mixedUAStyles:Bt}),q:b.default.fromNativeModel({tagName:"q",category:"textual"}),dfn:b.default.fromNativeModel({tagName:"dfn",category:"textual",mixedUAStyles:Bt}),abbr:b.default.fromNativeModel({tagName:"abbr",category:"textual",mixedUAStyles:Gc}),acronym:b.default.fromNativeModel({tagName:"acronym",category:"textual",mixedUAStyles:Gc}),ruby:b.default.fromNativeModel({tagName:"ruby",category:"textual"}),rt:b.default.fromNativeModel({tagName:"rt",category:"textual"}),rp:b.default.fromNativeModel({tagName:"rp",category:"textual"}),data:b.default.fromNativeModel({tagName:"data",category:"textual"}),time:b.default.fromNativeModel({tagName:"time",category:"textual"}),code:b.default.fromNativeModel({tagName:"code",category:"textual",mixedUAStyles:ln}),tt:b.default.fromNativeModel({tagName:"tt",category:"textual",mixedUAStyles:ln}),var:b.default.fromNativeModel({tagName:"var",category:"textual",mixedUAStyles:Bt}),samp:b.default.fromNativeModel({tagName:"samp",category:"textual",mixedUAStyles:ln}),kbd:b.default.fromNativeModel({tagName:"kbd",category:"textual",mixedUAStyles:ln}),sub:b.default.fromNativeModel({tagName:"sub",category:"textual",mixedUAStyles:{textAlignVertical:"bottom",fontSize:"smaller"}}),sup:b.default.fromNativeModel({tagName:"sup",category:"textual",mixedUAStyles:{textAlignVertical:"top",fontSize:"smaller"}}),i:b.default.fromNativeModel({tagName:"i",category:"textual",mixedUAStyles:Bt}),b:b.default.fromNativeModel({tagName:"b",category:"textual",mixedUAStyles:ko}),u:b.default.fromNativeModel({tagName:"u",category:"textual",mixedUAStyles:wd}),mark:b.default.fromNativeModel({tagName:"mark",category:"textual",mixedUAStyles:{backgroundColor:"yellow",color:"black"}}),bdi:b.default.fromNativeModel({tagName:"bdi",category:"textual"}),bdo:b.default.fromNativeModel({tagName:"bdo",category:"textual"}),span:b.default.fromNativeModel({tagName:"span",category:"textual"}),br:b.default.fromNativeModel({tagName:"br",category:"textual",isVoid:!0}),wbr:b.default.fromNativeModel({tagName:"wbr",category:"textual",isVoid:!0})},_ne={a:b.default.fromNativeModel({tagName:"a",category:"anchor",getMixedUAStyles:({attributes:e})=>{if(typeof e.href=="string")return ine},getReactNativeProps:$d,setMarkersForTNode(e){e.anchor=!0}}),...yne,...vne,...gne,...mne,...hne,...pne,...cne,...Pd,...fne};var bne=_ne;Dn.default=bne;Object.defineProperty(R1,"__esModule",{value:!0});R1.default=void 0;var Qc=Sne(Dn);function Sne(e){return e&&e.__esModule?e:{default:e}}function wne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class $ne{constructor(t){wne(this,"modelRecords",Qc.default),typeof t=="function"&&(this.modelRecords=t(Qc.default))}getElementModelFromTagName(t){return t in this.modelRecords?this.modelRecords[t]:null}}R1.default=$ne;Object.defineProperty(Ko,"__esModule",{value:!0});Ko.TRenderEngine=void 0;var Pne=Li,xne=Ai,Cne=Ir,Tne=Zi(ig),Ene=e1,Mne=Zi(Ui),Rne=xr,mo=M1,Nne=Or,One=Zi(R1),vo=Nr;function Zi(e){return e&&e.__esModule?e:{default:e}}function nn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lne(e){var t,r;const o={...(typeof(e==null||(t=e.stylesConfig)===null||t===void 0?void 0:t.enableUserAgentStyles)=="boolean"?e.stylesConfig.enableUserAgentStyles:mo.defaultStylesConfig.enableUserAgentStyles)?mo.defaultStylesConfig.baseStyle:(0,Tne.default)(["fontSize"],mo.defaultStylesConfig.baseStyle),...e==null||(r=e.stylesConfig)===null||r===void 0?void 0:r.baseStyle};return{...mo.defaultStylesConfig,...e==null?void 0:e.stylesConfig,baseStyle:o}}class Ane{constructor(t){var r,n,o,i;nn(this,"htmlParserOptions",void 0),nn(this,"dataFlowParams",void 0),nn(this,"hoistingEnabled",void 0),nn(this,"whitespaceCollapsingEnabled",void 0),nn(this,"selectDomRoot",void 0);const a=Lne(t);this.hoistingEnabled=!((r=t==null?void 0:t.dangerouslyDisableHoisting)!==null&&r!==void 0&&r),this.whitespaceCollapsingEnabled=!((n=t==null?void 0:t.dangerouslyDisableWhitespaceCollapsing)!==null&&n!==void 0&&n);const c=new One.default(t==null?void 0:t.customizeHTMLModels),l=(t==null||(o=t.cssProcessorConfig)===null||o===void 0?void 0:o.rootFontSize)||((i=a.baseStyle)===null||i===void 0?void 0:i.fontSize),d=new Rne.TStylesMerger(a,c,{...Ene.defaultCSSProcessorConfig,...t==null?void 0:t.cssProcessorConfig,rootFontSize:typeof l=="number"?l:14});this.htmlParserOptions={decodeEntities:!0,lowerCaseTags:!0,ignoredTags:t==null?void 0:t.ignoredDomTags,ignoreNode:t==null?void 0:t.ignoreDomNode,visitors:t==null?void 0:t.domVisitors,...t==null?void 0:t.htmlParserOptions},this.dataFlowParams={stylesMerger:d,modelRegistry:c,setMarkersForTNode:t==null?void 0:t.setMarkersForTNode,baseStyles:new Nne.TStyles(d.compileStyleDeclaration(a.baseStyle)),removeLineBreaksAroundEastAsianDiscardSet:(t==null?void 0:t.removeLineBreaksAroundEastAsianDiscardSet)||!1},this.selectDomRoot=t==null?void 0:t.selectDomRoot}normalizeDocument(t){let r,n;for(const o of t.children){if(r&&n)break;(0,vo.isDomElement)(o)&&o.tagName==="body"&&(r=o),(0,vo.isDomElement)(o)&&o.tagName==="head"&&(n=o)}return!r&&!n&&(r=new vo.Element("body",{}),r.childNodes=t.children,t.children.forEach(o=>{o.parent=r,o.parentNode=r}),r.parent=t,r.parentNode=t,t.childNodes=[r]),t}parseDocument(t){let r=(0,Mne.default)(t,this.htmlParserOptions);if(this.selectDomRoot){const n=this.selectDomRoot(r);n&&n!==r&&(r.childNodes=[n],n.parent=r)}for(const n of r.children)if((0,vo.isDomElement)(n)&&n.tagName==="html"){r=n;break}return this.normalizeDocument(r)}buildTTreeFromDoc(t){const r=(0,Cne.translateDocument)(t,this.dataFlowParams),n=this.hoistingEnabled?(0,xne.hoist)(r):r;return this.whitespaceCollapsingEnabled?(0,Pne.collapse)(n):r}buildTTree(t){return this.buildTTreeFromDoc(this.parseDocument(t))}getHTMLElementsModels(){return this.dataFlowParams.modelRegistry.modelRecords}}Ko.TRenderEngine=Ane;(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t={HTMLElementModel:!0,HTMLContentModel:!0,TRenderEngine:!0,defaultHTMLElementModels:!0};Object.defineProperty(e,"HTMLElementModel",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"HTMLContentModel",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"TRenderEngine",{enumerable:!0,get:function(){return c.TRenderEngine}}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return c.TRenderEngine}}),Object.defineProperty(e,"defaultHTMLElementModels",{enumerable:!0,get:function(){return l.default}});var r=O9;Object.keys(r).forEach(function(p){p==="default"||p==="__esModule"||Object.prototype.hasOwnProperty.call(t,p)||p in e&&e[p]===r[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return r[p]}})});var n=d(Rr),o=d(ke),i=Nr;Object.keys(i).forEach(function(p){p==="default"||p==="__esModule"||Object.prototype.hasOwnProperty.call(t,p)||p in e&&e[p]===i[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return i[p]}})});var a=F9;Object.keys(a).forEach(function(p){p==="default"||p==="__esModule"||Object.prototype.hasOwnProperty.call(t,p)||p in e&&e[p]===a[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return a[p]}})});var c=Ko,l=d(Dn);function d(p){return p&&p.__esModule?p:{default:p}}})(Yo);Object.defineProperty(Xo,"__esModule",{value:!0});Xo.default=Ine;var qne=Dne(Yo);function Dne(e){return e&&e.__esModule?e:{default:e}}function Ine(e){const{allowedStyles:t,ignoredStyles:r=[],ignoredDomTags:n,ignoreDomNode:o,domVisitors:i,htmlParserOptions:a,baseStyle:c,classesStyles:l,tagsStyles:d,idsStyles:p,enableCSSInlineProcessing:v,enableUserAgentStyles:h,systemFonts:N=[],fallbackFonts:T={},customHTMLElementModels:E={},emSize:M,setMarkersForTNode:D,selectDomRoot:H,dangerouslyDisableHoisting:k,dangerouslyDisableWhitespaceCollapsing:F}=e,z=Object.keys(E).length?ee=>({...ee,...E}):void 0,Y={};N.forEach(ee=>{Y[ee]=!0});const oe=ee=>T[ee]?T[ee]:Y[ee]||!1;return new qne.default({customizeHTMLModels:z,cssProcessorConfig:{isFontSupported:oe,inlinePropertiesBlacklist:r,inlinePropertiesWhitelist:t,rootFontSize:M},htmlParserOptions:{decodeEntities:!0,...a},stylesConfig:{baseStyle:c,enableCSSInlineProcessing:v,enableUserAgentStyles:h,classesStyles:l,idsStyles:p,tagsStyles:d},ignoredDomTags:n,ignoreDomNode:o,domVisitors:i,setMarkersForTNode:D,selectDomRoot:H,dangerouslyDisableHoisting:k,dangerouslyDisableWhitespaceCollapsing:F})}var Et={};function kne(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}var Ji=kne,Fne=Ji;function Vne(e){return function t(r){return arguments.length===0||Fne(r)?t:e.apply(this,arguments)}}var er=Vne;function zne(e){return e}var Bne=zne,Une=er,Wne=Bne,Hne=Une(Wne),jne=Hne;Object.defineProperty(Et,"__esModule",{value:!0});Et.default=void 0;var Gne=Qne(jne);function Qne(e){return e&&e.__esModule?e:{default:e}}const Xne=function(){return Gne.default};var Yne=Xne;Et.default=Yne;Object.defineProperty(Ri,"__esModule",{value:!0});Ri.default=eoe;var Zne=L,Jne=xd(Xo),Kne=xd(Et);function xd(e){return e&&e.__esModule?e:{default:e}}function eoe({allowedStyles:e,baseStyle:t,classesStyles:r,customHTMLElementModels:n,dangerouslyDisableHoisting:o,dangerouslyDisableWhitespaceCollapsing:i,domVisitors:a,emSize:c,enableCSSInlineProcessing:l,enableUserAgentStyles:d,fallbackFonts:p,htmlParserOptions:v,idsStyles:h,ignoreDomNode:N,ignoredDomTags:T,ignoredStyles:E,selectDomRoot:M,setMarkersForTNode:D,systemFonts:H,tagsStyles:k}){const F=(0,Kne.default)({name:"TRenderEngineProvider"});return(0,Zne.useMemo)(()=>(0,Jne.default)({allowedStyles:e,baseStyle:t,classesStyles:r,customHTMLElementModels:n,dangerouslyDisableHoisting:o,dangerouslyDisableWhitespaceCollapsing:i,domVisitors:a,emSize:c,enableCSSInlineProcessing:l,enableUserAgentStyles:d,fallbackFonts:p,htmlParserOptions:v,idsStyles:h,ignoreDomNode:N,ignoredDomTags:T,ignoredStyles:E,selectDomRoot:M,setMarkersForTNode:D,systemFonts:H,tagsStyles:k}),[F,e,t,r,n,o,i,a,c,l,d,p,v,h,N,T,E,M,D,H,k])}var In={};Object.defineProperty(In,"__esModule",{value:!0});In.default=void 0;const toe=["Arial","Courier New","Georgia"];var roe=toe;In.default=roe;Object.defineProperty(Ie,"__esModule",{value:!0});Ie.useAmbientTRenderEngine=ioe;Ie.default=es;Ie.defaultTRenderEngineProviderProps=Ie.defaultFallbackFonts=Ie.tRenderEngineProviderPropTypes=void 0;var Ki=N1(L),Ga=ie,ae=N1(Go),noe=N1(Ri),ooe=N1(In);function N1(e){return e&&e.__esModule?e:{default:e}}const aoe={},Cd=Ki.default.createContext(aoe),Td={customHTMLElementModels:ae.default.object.isRequired,enableCSSInlineProcessing:ae.default.bool,enableUserAgentStyles:ae.default.bool,idsStyles:ae.default.object,ignoredDomTags:ae.default.array,ignoreDomNode:ae.default.func,domVisitors:ae.default.object,ignoredStyles:ae.default.array.isRequired,allowedStyles:ae.default.array,htmlParserOptions:ae.default.object,tagsStyles:ae.default.object,classesStyles:ae.default.object,emSize:ae.default.number.isRequired,baseStyle:ae.default.object,systemFonts:ae.default.arrayOf(ae.default.string),fallbackFonts:ae.default.shape({serif:ae.default.string,"sans-serif":ae.default.string,monospace:ae.default.string}),setMarkersForTNode:ae.default.func,dangerouslyDisableHoisting:ae.default.bool,dangerouslyDisableWhitespaceCollapsing:ae.default.bool,selectDomRoot:ae.default.func};Ie.tRenderEngineProviderPropTypes=Td;const Ed={"sans-serif":Ga.Platform.select({ios:"system",default:"sans-serif"}),monospace:Ga.Platform.select({ios:"Menlo",default:"monospace"}),serif:Ga.Platform.select({ios:"Times New Roman",default:"serif"})};Ie.defaultFallbackFonts=Ed;const Md={htmlParserOptions:{decodeEntities:!0},emSize:14,ignoredDomTags:[],ignoredStyles:[],baseStyle:{fontSize:14},tagsStyles:{},classesStyles:{},enableUserAgentStyles:!0,enableCSSInlineProcessing:!0,customHTMLElementModels:{},fallbackFonts:Ed,systemFonts:ooe.default};Ie.defaultTRenderEngineProviderProps=Md;function ioe(){return Ki.default.useContext(Cd)}function es({children:e,...t}){const r=(0,noe.default)(t);return Ki.default.createElement(Cd.Provider,{value:r},e)}es.defaultProps=Md;es.propTypes=Td;var kr={},vt={},Qa=er,on=Ji;function soe(e){return function t(r,n){switch(arguments.length){case 0:return t;case 1:return on(r)?t:Qa(function(o){return e(r,o)});default:return on(r)&&on(n)?t:on(r)?Qa(function(o){return e(o,n)}):on(n)?Qa(function(o){return e(r,o)}):e(r,n)}}}var Mt=soe,yo=er,gr=Mt,we=Ji;function coe(e){return function t(r,n,o){switch(arguments.length){case 0:return t;case 1:return we(r)?t:gr(function(i,a){return e(r,i,a)});case 2:return we(r)&&we(n)?t:we(r)?gr(function(i,a){return e(i,n,a)}):we(n)?gr(function(i,a){return e(r,i,a)}):yo(function(i){return e(r,n,i)});default:return we(r)&&we(n)&&we(o)?t:we(r)&&we(n)?gr(function(i,a){return e(i,a,o)}):we(r)&&we(o)?gr(function(i,a){return e(i,n,a)}):we(n)&&we(o)?gr(function(i,a){return e(r,i,a)}):we(r)?yo(function(i){return e(i,n,o)}):we(n)?yo(function(i){return e(r,i,o)}):we(o)?yo(function(i){return e(r,n,i)}):e(r,n,o)}}}var O1=coe;function uoe(e){return Object.prototype.toString.call(e)==="[object Object]"}var loe=uoe;function doe(e,t){return Object.prototype.hasOwnProperty.call(t,e)}var kn=doe,foe=O1,_o=kn,poe=foe(function(t,r,n){var o={},i;for(i in r)_o(i,r)&&(o[i]=_o(i,n)?t(i,r[i],n[i]):r[i]);for(i in n)_o(i,n)&&!_o(i,o)&&(o[i]=n[i]);return o}),hoe=poe,goe=O1,Xc=loe,moe=hoe,voe=goe(function e(t,r,n){return moe(function(o,i,a){return Xc(i)&&Xc(a)?e(t,i,a):t(o,i,a)},r,n)}),yoe=voe,_oe=Mt,boe=yoe,Soe=_oe(function(t,r){return boe(function(n,o,i){return i},t,r)}),woe=Soe,Fn={};Object.defineProperty(Fn,"__esModule",{value:!0});Fn.defaultAOnPress=Rd;Fn.default=void 0;var $oe=ie;async function Rd(e,t){try{await $oe.Linking.openURL(t)}catch(r){console.warn(`Could not open URL "${t}".`,r)}return null}const Poe={img:{initialDimensions:{height:50,width:50},enableExperimentalPercentWidth:!1},a:{onPress:Rd},ol:{},ul:{}};var xoe=Poe;Fn.default=xoe;Object.defineProperty(vt,"__esModule",{value:!0});vt.useRendererProps=Moe;vt.default=Roe;var Fo=Eoe(L),Coe=ts(woe),Nd=ts(Fn),Toe=ts(Et);function ts(e){return e&&e.__esModule?e:{default:e}}function Od(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Od=function(n){return n?r:t})(e)}function Eoe(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Od(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}const Ld=Fo.default.createContext(Nd.default);function Moe(e){return Fo.default.useContext(Ld)[e]}function Roe(e){const t=(0,Toe.default)({prop:"renderersProps"}),r=(0,Fo.useMemo)(()=>(0,Coe.default)(Nd.default,e.renderersProps||{}),[e.renderersProps,t]);return Fo.default.createElement(Ld.Provider,{value:r},e.children)}var Te={},Fr={};function pi(e,t,r,n){const o=e-Number(n);if(o<0)return;if(o=e;)i/=e,a++;return a}}function Vo(e){return e&&[...e].length||0}const Noe=". ",Ooe={suffix:Noe,prefix:null,reversedMarker:!1,reversedCounter:!1,fallback:{renderCounter:e=>e.toString(),maxCounterLenInRange(e,t){return Math.max(this.renderCounter(e).length,this.renderCounter(t).length)}},negative:null,range:{min:-1/0,max:1/0},padding:null},Loe={maxLengthInRange(e,t){let r=0;for(let n=Math.max(0,e);n<=t;n++){const o=this.formatter(n);r=Math.max(Vo(o),r)}return r},withSpecs(e){const t=Object.create(this);return t.specs=Object.assign({},this.specs,e),t},withMaxLengthInRange(e){const t=Object.create(this);return t.maxLengthInRange=e,t}};function Aoe(e,t=Ooe){const r=Object.create(Loe);return r.specs=t,r.formatter=e,r}function mr(e){return e&&e.length||0}function Xa(e){return Array.from(e).reverse().join("")}const qoe={reverseCounter:!1,reversePrefix:!0,reverseSuffix:!0},Doe={getAbsoluteMaxLenInRange(e,t,r){var n;const o=this.engine.specs,i=o.range,a=Math.max(e,i.min),c=Math.min(t,i.max),l=Math.max(this.engine.maxLengthInRange(r?Math.abs(c):a,r?Math.abs(a):c)+(r&&o.negative?mr(o.negative.prefix)+mr(o.negative.suffix):0),((n=o==null?void 0:o.padding)===null||n===void 0?void 0:n.length)||0),d=a>e?o.fallback.maxCounterLenInRange(e,a-1):0,p=c=0?this.getAbsoluteMaxLenInRange(e,t,!1):t<=0?this.getAbsoluteMaxLenInRange(e,t,!0):Math.max(this.getAbsoluteMaxLenInRange(e,-1,!0),this.getAbsoluteMaxLenInRange(0,t,!1))},maxMarkerLenInRange(e,t){return tr.range.max)return r.fallback.renderCounter(e);const i=n&&e<0?mr(n.prefix)+mr(n.suffix):0;if(o=t(Math.sign(e)*e),typeof o>"u")return r.fallback.renderCounter(e);if(r.padding){const a=Vo(o)+i;if(ae(t,r,this.engine.maxLengthInRange.bind(this.engine))))}};function at(e){const t=Object.create(Doe);return t.engine=e,Object.freeze(t)}const bo=(e,t)=>(e%t+t)%t;function ot(e){return at(Aoe(e))}function So(e,t=0,r){return r=typeof r=="number"?r:e.length,e.slice(t,r+1).reduce((n,o)=>Math.max(n,o),0)}function Yc(e,t){return e.withMaxLengthComputer(rs(t,!1)).withNegative("-")}function Zc(e,t){return e.withMaxLengthComputer(rs(t,!0)).withRange(1,1/0)}const tr=Object.freeze({raw:e=>ot(e),cyclic:(...e)=>{const t=e.map(Vo),r=So(t);return(e.length===1?ot(()=>e[0]):ot(o=>e[bo(o-1,e.length)])).withMaxLengthComputer((o,i)=>r===1||i-o+1>=e.length?r:So(t,o-1,i-1))},fixed:(...e)=>{const t=e.map(Vo),r=So(t);return ot(n=>e[n-1]).withRange(1,e.length).withMaxLengthComputer((n,o)=>r===1?r:So(t,n-1,o-1))},symbolic:(...e)=>ot(t=>e[bo(t-1,e.length)].repeat(Math.ceil(t/e.length))).withRange(1,1/0).withMaxLengthComputer((t,r,n)=>n(rZc(ot(t=>{let r="";for(;t>0;)t--,r=e[bo(t,e.length)]+r,t=Math.floor(t/e.length);return r}),e.length),numeric:(...e)=>Yc(ot(t=>{if(t===0)return e[0];{let r="";for(;t>0;)r=e[bo(t,e.length)]+r,t=Math.floor(t/e.length);return r}}),e.length),numericFromUnicodeRange:(e,t)=>Yc(ot(r=>pi(r,e,t,!1)),t),alphabeticFromUnicodeRange:(e,t)=>Zc(ot(r=>pi(r,e,t,!0)),t),additive:e=>{const t=Object.keys(e).map(r=>parseInt(r,10)).sort((r,n)=>n-r);return ot(r=>{if(r===0)return e[0];let n="";for(const o of t)if(r>=o&&o>0){const i=Math.floor(r/o);n+=e[o].repeat(i),r-=i*o}return r===0?n:void 0}).withRange(t.length?t[t.length-1]:0,0 in e&&t.length===1?0:t.length?1/0:-1)}}),Ioe=Object.freeze(Object.defineProperty({__proto__:null,default:tr},Symbol.toStringTag,{value:"Module"})),koe=st(Ioe),Foe=tr.raw(e=>e.toString()).withMaxLengthComputer(rs(10,!1)).withNegative("-"),Ad=Foe,Voe=Object.freeze(Object.defineProperty({__proto__:null,default:Ad},Symbol.toStringTag,{value:"Module"})),zoe=st(Voe),Boe=Ad.withPadLeft(2,"0"),Uoe=Object.freeze(Object.defineProperty({__proto__:null,default:Boe},Symbol.toStringTag,{value:"Module"})),Woe=st(Uoe),Hoe=tr.additive({1e3:"m",900:"cm",500:"d",400:"cd",100:"c",90:"xc",50:"l",40:"xl",10:"x",9:"ix",5:"v",4:"iv",1:"i"}).withRange(1,3999),joe=Object.freeze(Object.defineProperty({__proto__:null,default:Hoe},Symbol.toStringTag,{value:"Module"})),Goe=st(joe),Qoe=tr.alphabeticFromUnicodeRange(97,26),Xoe=Object.freeze(Object.defineProperty({__proto__:null,default:Qoe},Symbol.toStringTag,{value:"Module"})),Yoe=st(Xoe),Zoe=tr.alphabeticFromUnicodeRange(945,24),Joe=Object.freeze(Object.defineProperty({__proto__:null,default:Zoe},Symbol.toStringTag,{value:"Module"})),Koe=st(Joe),Jc=tr.alphabeticFromUnicodeRange(65,26),e1e=Object.freeze(Object.defineProperty({__proto__:null,default:Jc,upperAlpha:Jc},Symbol.toStringTag,{value:"Module"})),t1e=st(e1e),r1e=tr.additive({1e3:"M",900:"CM",500:"D",400:"CD",100:"C",90:"XC",50:"L",40:"XL",10:"X",9:"IX",5:"V",4:"IV",1:"I"}).withRange(1,3999),n1e=Object.freeze(Object.defineProperty({__proto__:null,default:r1e},Symbol.toStringTag,{value:"Module"})),o1e=st(n1e);var ns={},rr={};Object.defineProperty(rr,"__esModule",{value:!0});rr.default=a1e;function a1e(e,t=1){const r=e.fontSize/(t*2.8);return{prefixSize:r,prefixStyle:{width:r,height:r,top:(e.lineHeight-r)/2}}}Object.defineProperty(ns,"__esModule",{value:!0});ns.default=u1e;var i1e=qd(L),s1e=ie,c1e=qd(rr);function qd(e){return e&&e.__esModule?e:{default:e}}function u1e(e){const{prefixStyle:{top:t},prefixSize:r}=(0,c1e.default)(e,1);return i1e.default.createElement(s1e.View,{style:{top:t,width:0,height:0,borderStyle:"solid",borderLeftWidth:r,borderLeftColor:e.color,borderTopWidth:r/2,borderTopColor:"transparent",borderBottomWidth:r/2,borderBottomColor:"transparent"}})}var os={};Object.defineProperty(os,"__esModule",{value:!0});os.default=p1e;var l1e=Dd(L),d1e=ie,f1e=Dd(rr);function Dd(e){return e&&e.__esModule?e:{default:e}}function p1e(e){const{prefixStyle:{top:t},prefixSize:r}=(0,f1e.default)(e,1);return l1e.default.createElement(d1e.View,{style:{top:t,width:0,height:0,borderStyle:"solid",borderTopWidth:r,borderTopColor:e.color,borderLeftWidth:r/2,borderLeftColor:"transparent",borderRightWidth:r/2,borderRightColor:"transparent"}})}var as={};Object.defineProperty(as,"__esModule",{value:!0});as.default=v1e;var h1e=Id(L),g1e=ie,m1e=Id(rr);function Id(e){return e&&e.__esModule?e:{default:e}}function v1e(e){const{prefixSize:t,prefixStyle:r}=(0,m1e.default)(e),n={borderColor:e.color,borderWidth:t/10,borderRadius:t,...r};return h1e.default.createElement(g1e.View,{style:n})}var is={};Object.defineProperty(is,"__esModule",{value:!0});is.default=S1e;var y1e=kd(L),_1e=ie,b1e=kd(rr);function kd(e){return e&&e.__esModule?e:{default:e}}function S1e(e){const{prefixSize:t,prefixStyle:r}=(0,b1e.default)(e),n={borderRadius:t,backgroundColor:e.color,...r};return y1e.default.createElement(_1e.View,{style:n})}var ss={};Object.defineProperty(ss,"__esModule",{value:!0});ss.default=x1e;var w1e=Fd(L),$1e=ie,P1e=Fd(rr);function Fd(e){return e&&e.__esModule?e:{default:e}}function x1e(e){const{prefixStyle:t}=(0,P1e.default)(e,1.2);return w1e.default.createElement($1e.View,{style:{backgroundColor:e.color,...t}})}Object.defineProperty(Fr,"__esModule",{value:!0});Fr.default=void 0;var Vd=ze(koe),C1e=ze(zoe),T1e=ze(Woe),E1e=ze(Goe),M1e=ze(Yoe),R1e=ze(Koe),N1e=ze(t1e),O1e=ze(o1e),L1e=ze(ns),A1e=ze(os),q1e=ze(as),D1e=ze(is),I1e=ze(ss);function ze(e){return e&&e.__esModule?e:{default:e}}const an=Vd.default.cyclic("*").withSuffix(" "),Kc={type:"textual",counterStyleRenderer:M1e.default},eu={type:"textual",counterStyleRenderer:N1e.default},k1e={"decimal-leading-zero":{type:"textual",counterStyleRenderer:T1e.default},"disclosure-closed":{counterStyleRenderer:an,type:"unitary",Component:L1e.default},"disclosure-open":{counterStyleRenderer:an,type:"unitary",Component:A1e.default},"lower-alpha":Kc,"lower-greek":{type:"textual",counterStyleRenderer:R1e.default},"lower-latin":Kc,"lower-roman":{type:"textual",counterStyleRenderer:E1e.default},"upper-alpha":eu,"upper-latin":eu,"upper-roman":{type:"textual",counterStyleRenderer:O1e.default},circle:{counterStyleRenderer:an,type:"unitary",Component:q1e.default},decimal:{type:"textual",counterStyleRenderer:C1e.default},disc:{counterStyleRenderer:an,type:"unitary",Component:D1e.default},none:{counterStyleRenderer:Vd.default.symbolic("").withSuffix(null),type:"unitary",Component:()=>null},square:{counterStyleRenderer:an,type:"unitary",Component:I1e.default}};var F1e=k1e;Fr.default=F1e;var L1={},V1e=Mt,z1e=V1e(function(t,r){var n={};for(var o in r)t(r[o],o,r)&&(n[o]=r[o]);return n}),B1e=z1e,U1e=Mt,W1e=U1e(function(t,r){for(var n={},o=0;o=0&&Object.prototype.toString.call(t)==="[object Array]"};function Q1e(e){return Object.prototype.toString.call(e)==="[object String]"}var X1e=Q1e,Y1e=er,Z1e=Bd,J1e=X1e,K1e=Y1e(function(t){return Z1e(t)?!0:!t||typeof t!="object"||J1e(t)?!1:t.nodeType===1?!!t.length:t.length===0?!0:t.length>0?t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1):!1}),eae=K1e,tae=function(){function e(t){this.f=t}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(t){return t},e.prototype["@@transducer/step"]=function(t,r){return this.f(t,r)},e}();function rae(e){return new tae(e)}var nae=rae,oae=zd,aae=Mt,iae=aae(function(t,r){return oae(t.length,function(){return t.apply(r,arguments)})}),sae=iae,cae=eae,uae=nae,lae=sae;function dae(e,t,r){for(var n=0,o=r.length;ne,WebView:Hae,defaultWebViewProps:{},pressableHightlightColor:Wae.DEFAULT_PRESSABLE_RIPPLE_COLOR,provideEmbeddedHeaders:void 0,GenericPressable:void 0,customListStyleSpecs:void 0};var Gae=jae;Vn.default=Gae;Object.defineProperty(L1,"__esModule",{value:!0});L1.default=void 0;var Qae=zn(B1e),Xae=zn(A1),Yae=zn(Aae),Zae=zn(zae),ou=zn(Vn);function zn(e){return e&&e.__esModule?e:{default:e}}const Jae=(0,Yae.default)((0,Xae.default)(Object.keys(ou.default)),(0,Qae.default)(e=>e!=null),(0,Zae.default)(ou.default));var Kae=Jae;L1.default=Kae;Object.defineProperty(Te,"__esModule",{value:!0});Te.useSharedProps=us;Te.useDefaultContainerProps=rie;Te.useComputeMaxWidthForTag=nie;Te.default=oie;var yn=tie(L),eie=cs(Fr),au=cs(L1),hi=cs(Vn);function cs(e){return e&&e.__esModule?e:{default:e}}function jd(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(jd=function(n){return n?r:t})(e)}function tie(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=jd(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}const Gd=yn.default.createContext(hi.default);function us(){return yn.default.useContext(Gd)}function rie(){const e=us();return{viewProps:{...hi.default.defaultViewProps,...e.defaultViewProps},textProps:{...hi.default.defaultTextProps,...e.defaultTextProps}}}function nie(e){const{computeEmbeddedMaxWidth:t}=us();return(0,yn.useCallback)(r=>t(r,e),[t,e])}function oie(e){const t=(0,yn.useMemo)(()=>({...(0,au.default)(e),customListStyleSpecs:{...eie.default,...e.customListStyleSpecs}}),Object.values((0,au.default)(e)));return yn.default.createElement(Gd.Provider,{value:t},e.children)}var Rt={};Object.defineProperty(Rt,"__esModule",{value:!0});Rt.useTNodeChildrenRenderer=iie;Rt.useTChildrenRenderer=sie;Rt.default=void 0;var ls=aie(L);function aie(e){return e&&e.__esModule?e:{default:e}}const ds=ls.default.createContext({TChildrenRenderer:null,TNodeChildrenRenderer:null});function iie(){return ls.default.useContext(ds).TNodeChildrenRenderer}function sie(){return ls.default.useContext(ds).TChildrenRenderer}var cie=ds;Rt.default=cie;var Vr={},xt={},q1={},Be={},fs={},ps={};Object.defineProperty(ps,"__esModule",{value:!0});ps.default=uie;function uie(e,t){return typeof e!="number"?t:{...t,marginTop:e}}var ut={},D1={},hs={};Object.defineProperty(hs,"__esModule",{value:!0});hs.default=lie;function lie(e,t){return!!e[t]}var I1={};Object.defineProperty(I1,"__esModule",{value:!0});I1.default=void 0;var Qd=die(L),gs=ie;function die(e){return e&&e.__esModule?e:{default:e}}const fie={testID:"br"},pie=gs.Platform.OS==="web";function hie(e){const t=e.styles.nativeTextFlow.lineHeight||e.styles.nativeTextFlow.fontSize*1.4;return Qd.default.createElement(gs.View,{style:{height:t}})}const Xd=function({renderIndex:t,renderLength:r,sharedProps:n,tnode:o}){const i=t===0,a=t===r-1,c=i&&a,l=n.enableExperimentalBRCollapsing&&(i?a&&!pie:a);return c&&l?hie(o):Qd.default.createElement(gs.Text,fie,l?"":` +`)};Xd.isNativeInternalTextRenderer=!0;var gie=Xd;I1.default=gie;var k1={};Object.defineProperty(k1,"__esModule",{value:!0});k1.default=void 0;var mie=yie(L),vie=ie;function yie(e){return e&&e.__esModule?e:{default:e}}const _ie={},Yd=function(){return mie.default.createElement(vie.Text,_ie,"​")};Yd.isNativeInternalTextRenderer=!0;var bie=Yd;k1.default=bie;var F1={},zr={},Bn={},Nt={};Object.defineProperty(Nt,"__esModule",{value:!0});Nt.useDocumentMetadata=$ie;Nt.default=void 0;var Zd=Sie(L);function Jd(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Jd=function(n){return n?r:t})(e)}function Sie(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Jd(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}const Kd=Zd.default.createContext({baseUrl:"",baseTarget:"_self",lang:"en",links:[],meta:[],title:"",dir:"ltr"}),wie=Kd.Provider;function $ie(){return(0,Zd.useContext)(Kd)}var Pie=wie;Nt.default=Pie;var ms={},ef={exports:{}},dn={exports:{}};/*! https://mths.be/punycode v1.4.0 by @mathias */dn.exports;var iu;function xie(){return iu||(iu=1,function(e,t){(function(r){var n=t&&!t.nodeType&&t,o=e&&!e.nodeType&&e,i=typeof I=="object"&&I;(i.global===i||i.window===i||i.self===i)&&(r=i);var a,c=2147483647,l=36,d=1,p=26,v=38,h=700,N=72,T=128,E="-",M=/^xn--/,D=/[^\x20-\x7E]/,H=/[\x2E\u3002\uFF0E\uFF61]/g,k={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},F=l-d,z=Math.floor,Y=String.fromCharCode,oe;function ee(P){throw new RangeError(k[P])}function _e(P,x){for(var B=P.length,R=[];B--;)R[B]=x(P[B]);return R}function be(P,x){var B=P.split("@"),R="";B.length>1&&(R=B[0]+"@",P=B[1]),P=P.replace(H,".");var X=P.split("."),G=_e(X,x).join(".");return R+G}function re(P){for(var x=[],B=0,R=P.length,X,G;B=55296&&X<=56319&&B65535&&(x-=65536,B+=Y(x>>>10&1023|55296),x=56320|x&1023),B+=Y(x),B}).join("")}function s(P){return P-48<10?P-22:P-65<26?P-65:P-97<26?P-97:l}function u(P,x){return P+22+75*(P<26)-((x!=0)<<5)}function f(P,x,B){var R=0;for(P=B?z(P/h):P>>1,P+=z(P/x);P>F*p>>1;R+=l)P=z(P/F);return z(R+(F+1)*P/(P+v))}function m(P){var x=[],B=P.length,R,X=0,G=T,j=N,ue,se,ce,He,ge,Ee,Le,tt,dt;for(ue=P.lastIndexOf(E),ue<0&&(ue=0),se=0;se=128&&ee("not-basic"),x.push(P.charCodeAt(se));for(ce=ue>0?ue+1:0;ce=B&&ee("invalid-input"),Le=s(P.charCodeAt(ce++)),(Le>=l||Le>z((c-X)/ge))&&ee("overflow"),X+=Le*ge,tt=Ee<=j?d:Ee>=j+p?p:Ee-j,!(Lez(c/dt)&&ee("overflow"),ge*=dt;R=x.length+1,j=f(X-He,R,He==0),z(X/R)>c-G&&ee("overflow"),G+=z(X/R),X%=R,x.splice(X++,0,G)}return te(x)}function _(P){var x,B,R,X,G,j,ue,se,ce,He,ge,Ee=[],Le,tt,dt,Yr;for(P=re(P),Le=P.length,x=T,B=0,G=N,j=0;j=x&&gez((c-B)/tt)&&ee("overflow"),B+=(ue-x)*tt,x=ue,j=0;jc&&ee("overflow"),ge==x){for(se=B,ce=l;He=ce<=G?d:ce>=G+p?p:ce-G,!(se`:" />"}${o?"":` * Licensed under * MIT License http://www.opensource.org/licenses/mit-license * - */var cu;function Iie(){return cu||(cu=1,function(e){(function(t,r){e.exports?e.exports=r():t.IPv6=r(t)})(I,function(t){var r=t&&t.IPv6;function n(i){var a=i.toLowerCase(),c=a.split(":"),l=c.length,d=8;c[0]===""&&c[1]===""&&c[2]===""?(c.shift(),c.shift()):c[0]===""&&c[1]===""?c.shift():c[l-1]===""&&c[l-2]===""&&c.pop(),l=c.length,c[l-1].indexOf(".")!==-1&&(d=7);var p;for(p=0;p1);N++)v.splice(0,1);c[h]=v.join("")}var T=-1,E=0,M=0,D=-1,H=!1;for(h=0;hE&&(T=D,E=M)):c[h]==="0"&&(H=!0,D=h,M=1);M>E&&(T=D,E=M),E>1&&c.splice(T,E,""),l=c.length;var k="";for(c[0]===""&&(k=":"),h=0;h1);N++)v.splice(0,1);c[h]=v.join("")}var T=-1,E=0,M=0,D=-1,H=!1;for(h=0;hE&&(T=D,E=M)):c[h]==="0"&&(H=!0,D=h,M=1);M>E&&(T=D,E=M),E>1&&c.splice(T,E,""),l=c.length;var k="";for(c[0]===""&&(k=":"),h=0;h`:" />"}${o?"":` * Licensed under * MIT License http://www.opensource.org/licenses/mit-license * - */var uu;function kie(){return uu||(uu=1,function(e){(function(t,r){e.exports?e.exports=r():t.SecondLevelDomains=r(t)})(I,function(t){var r=t&&t.SecondLevelDomains,n={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(o){var i=o.lastIndexOf(".");if(i<=0||i>=o.length-1)return!1;var a=o.lastIndexOf(".",i-1);if(a<=0||a>=i-1)return!1;var c=n.list[o.slice(i+1)];return c?c.indexOf(" "+o.slice(a+1,i)+" ")>=0:!1},is:function(o){var i=o.lastIndexOf(".");if(i<=0||i>=o.length-1)return!1;var a=o.lastIndexOf(".",i-1);if(a>=0)return!1;var c=n.list[o.slice(i+1)];return c?c.indexOf(" "+o.slice(0,i)+" ")>=0:!1},get:function(o){var i=o.lastIndexOf(".");if(i<=0||i>=o.length-1)return null;var a=o.lastIndexOf(".",i-1);if(a<=0||a>=i-1)return null;var c=n.list[o.slice(i+1)];return!c||c.indexOf(" "+o.slice(a+1,i)+" ")<0?null:o.slice(a+1)},noConflict:function(){return t.SecondLevelDomains===this&&(t.SecondLevelDomains=r),this}};return n})}(Za)),Za.exports}/*! + */var cu;function Tie(){return cu||(cu=1,function(e){(function(t,r){e.exports?e.exports=r():t.SecondLevelDomains=r(t)})(I,function(t){var r=t&&t.SecondLevelDomains,n={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(o){var i=o.lastIndexOf(".");if(i<=0||i>=o.length-1)return!1;var a=o.lastIndexOf(".",i-1);if(a<=0||a>=i-1)return!1;var c=n.list[o.slice(i+1)];return c?c.indexOf(" "+o.slice(a+1,i)+" ")>=0:!1},is:function(o){var i=o.lastIndexOf(".");if(i<=0||i>=o.length-1)return!1;var a=o.lastIndexOf(".",i-1);if(a>=0)return!1;var c=n.list[o.slice(i+1)];return c?c.indexOf(" "+o.slice(0,i)+" ")>=0:!1},get:function(o){var i=o.lastIndexOf(".");if(i<=0||i>=o.length-1)return null;var a=o.lastIndexOf(".",i-1);if(a<=0||a>=i-1)return null;var c=n.list[o.slice(i+1)];return!c||c.indexOf(" "+o.slice(a+1,i)+" ")<0?null:o.slice(a+1)},noConflict:function(){return t.SecondLevelDomains===this&&(t.SecondLevelDomains=r),this}};return n})}(Za)),Za.exports}/*! * URI.js - Mutating URLs * * Version: 1.19.11 @@ -43,6 +43,5 @@ ${l}`:" />"}${o?"":` * Licensed under * MIT License http://www.opensource.org/licenses/mit-license * - */(function(e){(function(t,r){e.exports?e.exports=r(Die(),Iie(),kie()):t.URI=r(t.punycode,t.IPv6,t.SecondLevelDomains,t)})(I,function(t,r,n,o){var i=o&&o.URI;function a(s,u){var f=arguments.length>=1,m=arguments.length>=2;if(!(this instanceof a))return f?m?new a(s,u):new a(s):new a;if(s===void 0){if(f)throw new TypeError("undefined is not a valid argument for URI");typeof location<"u"?s=location.href+"":s=""}if(s===null&&f)throw new TypeError("null is not a valid argument for URI");return this.href(s),u!==void 0?this.absoluteTo(u):this}function c(s){return/^[0-9]+$/.test(s)}a.version="1.19.11";var l=a.prototype,d=Object.prototype.hasOwnProperty;function p(s){return s.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function v(s){return s===void 0?"Undefined":String(Object.prototype.toString.call(s)).slice(8,-1)}function h(s){return v(s)==="Array"}function N(s,u){var f={},m,_;if(v(u)==="RegExp")f=null;else if(h(u))for(m=0,_=u.length;m<_;m++)f[u[m]]=!0;else f[u]=!0;for(m=0,_=s.length;m<_;m++){var w=f&&f[s[m]]!==void 0||!f&&u.test(s[m]);w&&(s.splice(m,1),_--,m--)}return s}function T(s,u){var f,m;if(h(u)){for(f=0,m=u.length;f]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/ig,a.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},a.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,a.ascii_tab_whitespace=/[\u0009\u000A\u000D]+/g,a.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},a.hostProtocols=["http","https"],a.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,a.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},a.getDomAttribute=function(s){if(!(!s||!s.nodeName)){var u=s.nodeName.toLowerCase();if(!(u==="input"&&s.type!=="image"))return a.domAttributes[u]}};function D(s){return escape(s)}function H(s){return encodeURIComponent(s).replace(/[!'()*]/g,D).replace(/\*/g,"%2A")}a.encode=H,a.decode=decodeURIComponent,a.iso8859=function(){a.encode=escape,a.decode=unescape},a.unicode=function(){a.encode=H,a.decode=decodeURIComponent},a.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/ig,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/ig,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/ig,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},a.encodeQuery=function(s,u){var f=a.encode(s+"");return u===void 0&&(u=a.escapeQuerySpace),u?f.replace(/%20/g,"+"):f},a.decodeQuery=function(s,u){s+="",u===void 0&&(u=a.escapeQuerySpace);try{return a.decode(u?s.replace(/\+/g,"%20"):s)}catch{return s}};var k={encode:"encode",decode:"decode"},F,z=function(s,u){return function(f){try{return a[u](f+"").replace(a.characters[s][u].expression,function(m){return a.characters[s][u].map[m]})}catch{return f}}};for(F in k)a[F+"PathSegment"]=z("pathname",k[F]),a[F+"UrnPathSegment"]=z("urnpath",k[F]);var Y=function(s,u,f){return function(m){var _;f?_=function(x){return a[u](a[f](x))}:_=a[u];for(var w=(m+"").split(s),$=0,P=w.length;$-1&&(u.fragment=s.substring(f+1)||null,s=s.substring(0,f)),f=s.indexOf("?"),f>-1&&(u.query=s.substring(f+1)||null,s=s.substring(0,f)),s=s.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://"),s=s.replace(/^[/\\]{2,}/i,"//"),s.substring(0,2)==="//"?(u.protocol=null,s=s.substring(2),s=a.parseAuthority(s,u)):(f=s.indexOf(":"),f>-1&&(u.protocol=s.substring(0,f)||null,u.protocol&&!u.protocol.match(a.protocol_expression)?u.protocol=void 0:s.substring(f+1,f+3).replace(/\\/g,"/")==="//"?(s=s.substring(f+3),s=a.parseAuthority(s,u)):(s=s.substring(f+1),u.urn=!0))),u.path=s,u},a.parseHost=function(s,u){s||(s=""),s=s.replace(/\\/g,"/");var f=s.indexOf("/"),m,_;if(f===-1&&(f=s.length),s.charAt(0)==="[")m=s.indexOf("]"),u.hostname=s.substring(1,m)||null,u.port=s.substring(m+2,f)||null,u.port==="/"&&(u.port=null);else{var w=s.indexOf(":"),$=s.indexOf("/"),P=s.indexOf(":",w+1);P!==-1&&($===-1||P<$)?(u.hostname=s.substring(0,f)||null,u.port=null):(_=s.substring(0,f).split(":"),u.hostname=_[0]||null,u.port=_[1]||null)}return u.hostname&&s.substring(f).charAt(0)!=="/"&&(f++,s="/"+s),u.preventInvalidHostname&&a.ensureValidHostname(u.hostname,u.protocol),u.port&&a.ensureValidPort(u.port),s.substring(f)||"/"},a.parseAuthority=function(s,u){return s=a.parseUserinfo(s,u),a.parseHost(s,u)},a.parseUserinfo=function(s,u){var f=s,m=s.indexOf("\\");m!==-1&&(s=s.replace(/\\/g,"/"));var _=s.indexOf("/"),w=s.lastIndexOf("@",_>-1?_:s.length-1),$;return w>-1&&(_===-1||w<_)?($=s.substring(0,w).split(":"),u.username=$[0]?a.decode($[0]):null,$.shift(),u.password=$[0]?a.decode($.join(":")):null,s=f.substring(w+1)):(u.username=null,u.password=null),s},a.parseQuery=function(s,u){if(!s)return{};if(s=s.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,""),!s)return{};for(var f={},m=s.split("&"),_=m.length,w,$,P,x=0;x<_;x++)w=m[x].split("="),$=a.decodeQuery(w.shift(),u),P=w.length?a.decodeQuery(w.join("="),u):null,$!=="__proto__"&&(d.call(f,$)?((typeof f[$]=="string"||f[$]===null)&&(f[$]=[f[$]]),f[$].push(P)):f[$]=P);return f},a.build=function(s){var u="",f=!1;return s.protocol&&(u+=s.protocol+":"),!s.urn&&(u||s.hostname)&&(u+="//",f=!0),u+=a.buildAuthority(s)||"",typeof s.path=="string"&&(s.path.charAt(0)!=="/"&&f&&(u+="/"),u+=s.path),typeof s.query=="string"&&s.query&&(u+="?"+s.query),typeof s.fragment=="string"&&s.fragment&&(u+="#"+s.fragment),u},a.buildHost=function(s){var u="";if(s.hostname)a.ip6_expression.test(s.hostname)?u+="["+s.hostname+"]":u+=s.hostname;else return"";return s.port&&(u+=":"+s.port),u},a.buildAuthority=function(s){return a.buildUserinfo(s)+a.buildHost(s)},a.buildUserinfo=function(s){var u="";return s.username&&(u+=a.encode(s.username)),s.password&&(u+=":"+a.encode(s.password)),u&&(u+="@"),u},a.buildQuery=function(s,u,f){var m="",_,w,$,P;for(w in s)if(w!=="__proto__"&&d.call(s,w))if(h(s[w]))for(_={},$=0,P=s[w].length;$-1?G=G.slice(0,j)+G.slice(j).replace(w,""):G=G.replace(w,""),!(G.length<=x[0].length)&&!(f.ignore&&f.ignore.test(G))){X=U+G.length;var ce=u(G,U,X,s);if(ce===void 0){m.lastIndex=X;continue}ce=String(ce),s=s.slice(0,U)+ce+s.slice(X),m.lastIndex=U+ce.length}}return m.lastIndex=0,s},a.ensureValidHostname=function(s,u){var f=!!s,m=!!u,_=!1;if(m&&(_=T(a.hostProtocols,u)),_&&!f)throw new TypeError("Hostname cannot be empty, if protocol is "+u);if(s&&s.match(a.invalid_hostname_characters)){if(!t)throw new TypeError('Hostname "'+s+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(t.toASCII(s).match(a.invalid_hostname_characters))throw new TypeError('Hostname "'+s+'" contains characters other than [A-Z0-9.-:_]')}},a.ensureValidPort=function(s){if(s){var u=Number(s);if(!(c(u)&&u>0&&u<65536))throw new TypeError('Port "'+s+'" is not a valid port')}},a.noConflict=function(s){if(s){var u={URI:this.noConflict()};return o.URITemplate&&typeof o.URITemplate.noConflict=="function"&&(u.URITemplate=o.URITemplate.noConflict()),o.IPv6&&typeof o.IPv6.noConflict=="function"&&(u.IPv6=o.IPv6.noConflict()),o.SecondLevelDomains&&typeof o.SecondLevelDomains.noConflict=="function"&&(u.SecondLevelDomains=o.SecondLevelDomains.noConflict()),u}else o.URI===this&&(o.URI=i);return this},l.build=function(s){return s===!0?this._deferred_build=!0:(s===void 0||this._deferred_build)&&(this._string=a.build(this._parts),this._deferred_build=!1),this},l.clone=function(){return new a(this)},l.valueOf=l.toString=function(){return this.build(!1)._string};function oe(s){return function(u,f){return u===void 0?this._parts[s]||"":(this._parts[s]=u||null,this.build(!f),this)}}function ee(s,u){return function(f,m){return f===void 0?this._parts[s]||"":(f!==null&&(f=f+"",f.charAt(0)===u&&(f=f.substring(1))),this._parts[s]=f,this.build(!m),this)}}l.protocol=oe("protocol"),l.username=oe("username"),l.password=oe("password"),l.hostname=oe("hostname"),l.port=oe("port"),l.query=ee("query","?"),l.fragment=ee("fragment","#"),l.search=function(s,u){var f=this.query(s,u);return typeof f=="string"&&f.length?"?"+f:f},l.hash=function(s,u){var f=this.fragment(s,u);return typeof f=="string"&&f.length?"#"+f:f},l.pathname=function(s,u){if(s===void 0||s===!0){var f=this._parts.path||(this._parts.hostname?"/":"");return s?(this._parts.urn?a.decodeUrnPath:a.decodePath)(f):f}else return this._parts.urn?this._parts.path=s?a.recodeUrnPath(s):"":this._parts.path=s?a.recodePath(s):"/",this.build(!u),this},l.path=l.pathname,l.href=function(s,u){var f;if(s===void 0)return this.toString();this._string="",this._parts=a._parts();var m=s instanceof a,_=typeof s=="object"&&(s.hostname||s.path||s.pathname);if(s.nodeName){var w=a.getDomAttribute(s);s=s[w]||"",_=!1}if(!m&&_&&s.pathname!==void 0&&(s=s.toString()),typeof s=="string"||s instanceof String)this._parts=a.parse(String(s),this._parts);else if(m||_){var $=m?s._parts:s;for(f in $)f!=="query"&&d.call(this._parts,f)&&(this._parts[f]=$[f]);$.query&&this.query($.query,!1)}else throw new TypeError("invalid input");return this.build(!u),this},l.is=function(s){var u=!1,f=!1,m=!1,_=!1,w=!1,$=!1,P=!1,x=!this._parts.urn;switch(this._parts.hostname&&(x=!1,f=a.ip4_expression.test(this._parts.hostname),m=a.ip6_expression.test(this._parts.hostname),u=f||m,_=!u,w=_&&n&&n.has(this._parts.hostname),$=_&&a.idn_expression.test(this._parts.hostname),P=_&&a.punycode_expression.test(this._parts.hostname)),s.toLowerCase()){case"relative":return x;case"absolute":return!x;case"domain":case"name":return _;case"sld":return w;case"ip":return u;case"ip4":case"ipv4":case"inet4":return f;case"ip6":case"ipv6":case"inet6":return m;case"idn":return $;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return P}return null};var _e=l.protocol,be=l.port,re=l.hostname;l.protocol=function(s,u){if(s&&(s=s.replace(/:(\/\/)?$/,""),!s.match(a.protocol_expression)))throw new TypeError('Protocol "'+s+`" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]`);return _e.call(this,s,u)},l.scheme=l.protocol,l.port=function(s,u){return this._parts.urn?s===void 0?"":this:(s!==void 0&&(s===0&&(s=null),s&&(s+="",s.charAt(0)===":"&&(s=s.substring(1)),a.ensureValidPort(s))),be.call(this,s,u))},l.hostname=function(s,u){if(this._parts.urn)return s===void 0?"":this;if(s!==void 0){var f={preventInvalidHostname:this._parts.preventInvalidHostname},m=a.parseHost(s,f);if(m!=="/")throw new TypeError('Hostname "'+s+'" contains characters other than [A-Z0-9.-]');s=f.hostname,this._parts.preventInvalidHostname&&a.ensureValidHostname(s,this._parts.protocol)}return re.call(this,s,u)},l.origin=function(s,u){if(this._parts.urn)return s===void 0?"":this;if(s===void 0){var f=this.protocol(),m=this.authority();return m?(f?f+"://":"")+this.authority():""}else{var _=a(s);return this.protocol(_.protocol()).authority(_.authority()).build(!u),this}},l.host=function(s,u){if(this._parts.urn)return s===void 0?"":this;if(s===void 0)return this._parts.hostname?a.buildHost(this._parts):"";var f=a.parseHost(s,this._parts);if(f!=="/")throw new TypeError('Hostname "'+s+'" contains characters other than [A-Z0-9.-]');return this.build(!u),this},l.authority=function(s,u){if(this._parts.urn)return s===void 0?"":this;if(s===void 0)return this._parts.hostname?a.buildAuthority(this._parts):"";var f=a.parseAuthority(s,this._parts);if(f!=="/")throw new TypeError('Hostname "'+s+'" contains characters other than [A-Z0-9.-]');return this.build(!u),this},l.userinfo=function(s,u){if(this._parts.urn)return s===void 0?"":this;if(s===void 0){var f=a.buildUserinfo(this._parts);return f&&f.substring(0,f.length-1)}else return s[s.length-1]!=="@"&&(s+="@"),a.parseUserinfo(s,this._parts),this.build(!u),this},l.resource=function(s,u){var f;return s===void 0?this.path()+this.search()+this.hash():(f=a.parse(s),this._parts.path=f.path,this._parts.query=f.query,this._parts.fragment=f.fragment,this.build(!u),this)},l.subdomain=function(s,u){if(this._parts.urn)return s===void 0?"":this;if(s===void 0){if(!this._parts.hostname||this.is("IP"))return"";var f=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,f)||""}else{var m=this._parts.hostname.length-this.domain().length,_=this._parts.hostname.substring(0,m),w=new RegExp("^"+p(_));if(s&&s.charAt(s.length-1)!=="."&&(s+="."),s.indexOf(":")!==-1)throw new TypeError("Domains cannot contain colons");return s&&a.ensureValidHostname(s,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(w,s),this.build(!u),this}},l.domain=function(s,u){if(this._parts.urn)return s===void 0?"":this;if(typeof s=="boolean"&&(u=s,s=void 0),s===void 0){if(!this._parts.hostname||this.is("IP"))return"";var f=this._parts.hostname.match(/\./g);if(f&&f.length<2)return this._parts.hostname;var m=this._parts.hostname.length-this.tld(u).length-1;return m=this._parts.hostname.lastIndexOf(".",m-1)+1,this._parts.hostname.substring(m)||""}else{if(!s)throw new TypeError("cannot set domain empty");if(s.indexOf(":")!==-1)throw new TypeError("Domains cannot contain colons");if(a.ensureValidHostname(s,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=s;else{var _=new RegExp(p(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(_,s)}return this.build(!u),this}},l.tld=function(s,u){if(this._parts.urn)return s===void 0?"":this;if(typeof s=="boolean"&&(u=s,s=void 0),s===void 0){if(!this._parts.hostname||this.is("IP"))return"";var f=this._parts.hostname.lastIndexOf("."),m=this._parts.hostname.substring(f+1);return u!==!0&&n&&n.list[m.toLowerCase()]&&n.get(this._parts.hostname)||m}else{var _;if(s)if(s.match(/[^a-zA-Z0-9-]/))if(n&&n.is(s))_=new RegExp(p(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(_,s);else throw new TypeError('TLD "'+s+'" contains characters other than [A-Z0-9]');else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");_=new RegExp(p(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(_,s)}else throw new TypeError("cannot set TLD empty");return this.build(!u),this}},l.directory=function(s,u){if(this._parts.urn)return s===void 0?"":this;if(s===void 0||s===!0){if(!this._parts.path&&!this._parts.hostname)return"";if(this._parts.path==="/")return"/";var f=this._parts.path.length-this.filename().length-1,m=this._parts.path.substring(0,f)||(this._parts.hostname?"/":"");return s?a.decodePath(m):m}else{var _=this._parts.path.length-this.filename().length,w=this._parts.path.substring(0,_),$=new RegExp("^"+p(w));return this.is("relative")||(s||(s="/"),s.charAt(0)!=="/"&&(s="/"+s)),s&&s.charAt(s.length-1)!=="/"&&(s+="/"),s=a.recodePath(s),this._parts.path=this._parts.path.replace($,s),this.build(!u),this}},l.filename=function(s,u){if(this._parts.urn)return s===void 0?"":this;if(typeof s!="string"){if(!this._parts.path||this._parts.path==="/")return"";var f=this._parts.path.lastIndexOf("/"),m=this._parts.path.substring(f+1);return s?a.decodePathSegment(m):m}else{var _=!1;s.charAt(0)==="/"&&(s=s.substring(1)),s.match(/\.?\//)&&(_=!0);var w=new RegExp(p(this.filename())+"$");return s=a.recodePath(s),this._parts.path=this._parts.path.replace(w,s),_?this.normalizePath(u):this.build(!u),this}},l.suffix=function(s,u){if(this._parts.urn)return s===void 0?"":this;if(s===void 0||s===!0){if(!this._parts.path||this._parts.path==="/")return"";var f=this.filename(),m=f.lastIndexOf("."),_,w;return m===-1?"":(_=f.substring(m+1),w=/^[a-z0-9%]+$/i.test(_)?_:"",s?a.decodePathSegment(w):w)}else{s.charAt(0)==="."&&(s=s.substring(1));var $=this.suffix(),P;if($)s?P=new RegExp(p($)+"$"):P=new RegExp(p("."+$)+"$");else{if(!s)return this;this._parts.path+="."+a.recodePath(s)}return P&&(s=a.recodePath(s),this._parts.path=this._parts.path.replace(P,s)),this.build(!u),this}},l.segment=function(s,u,f){var m=this._parts.urn?":":"/",_=this.path(),w=_.substring(0,1)==="/",$=_.split(m);if(s!==void 0&&typeof s!="number"&&(f=u,u=s,s=void 0),s!==void 0&&typeof s!="number")throw new Error('Bad segment "'+s+'", must be 0-based integer');if(w&&$.shift(),s<0&&(s=Math.max($.length+s,0)),u===void 0)return s===void 0?$:$[s];if(s===null||$[s]===void 0)if(h(u)){$=[];for(var P=0,x=u.length;P0&&typeof t=="function"?a=>t(a,n,e.attributes,e.attributes.target||o):void 0}function of(e){const{tnode:t}=e,{onPress:r}=(0,Xie.useRendererProps)("a"),n=Yie(t,r);return typeof n!="function"?e:{...e,onPress:n}}const Zie=e=>jie.default.createElement(e.TDefaultRenderer,of(e));var Jie=Zie;zr.default=Jie;var nr={},Ur={},V1={},Br={};Object.defineProperty(Br,"__esModule",{value:!0});Br.default=void 0;const Kie={width:100,height:100};var ese=Kie;Br.default=ese;var z1={};Object.defineProperty(z1,"__esModule",{value:!0});z1.default=rse;var lu=L,tse=Te;function rse({source:e,specifiedDimensions:t}){const r=(0,lu.useRef)(t),{provideEmbeddedHeaders:n}=(0,tse.useSharedProps)();return(0,lu.useMemo)(()=>{if(e.uri&&typeof n=="function"){var o,i;const a=n(e.uri,"img",{printWidth:((o=r.current)===null||o===void 0?void 0:o.width)||void 0,printHeight:((i=r.current)===null||i===void 0?void 0:i.height)||void 0});if(a)return{headers:a,...e}}return e},[n,e])}var U1={};Object.defineProperty(U1,"__esModule",{value:!0});U1.default=ise;var nse=L;function ose({marginHorizontal:e,leftMargin:t,rightMargin:r,margin:n}){return(t||e||n||0)+(r||e||n||0)}function gi(e,t){const r=t.width/t.height;return t.widthe.width?mi(e,{width:e.width,height:e.width/r}):t.height>e.height?mi(e,{height:e.height,width:e.height*r}):t}function du({minBox:e,maxBox:t},r){return mi(t,gi(e,r))}function ase(e){const{computeMaxWidth:t,contentWidth:r,flattenStyles:n,naturalWidth:o,naturalHeight:i,specifiedWidth:a,specifiedHeight:c}=e,l=ose(n),{maxWidth:d=1/0,maxHeight:p=1/0,minWidth:v=0,minHeight:h=0}=n,N=typeof r=="number"?t(r):1/0,T={width:v,height:h},E={width:Math.min(N,d,typeof a=="number"?a:1/0)-l,height:Math.min(typeof c=="number"?c:1/0,p)};return typeof a=="number"&&typeof c=="number"?du({minBox:T,maxBox:E},{width:a,height:c}):o!=null&&i!=null?du({minBox:T,maxBox:E},{width:o,height:i}):null}function ise({flatStyle:e,naturalDimensions:t,specifiedDimensions:r,computeMaxWidth:n,contentWidth:o}){return(0,nse.useMemo)(()=>ase({flattenStyles:e,computeMaxWidth:n,contentWidth:o,naturalWidth:t==null?void 0:t.width,naturalHeight:t==null?void 0:t.height,specifiedWidth:r.width,specifiedHeight:r.height}),[n,o,e,t,r.height,r.width])}var B1={},W1={};Object.defineProperty(W1,"__esModule",{value:!0});W1.default=void 0;var sse=cse(A1);function cse(e){return e&&e.__esModule?e:{default:e}}const use=(0,sse.default)(["resizeMode","tintColor","overlayColor"]);function lse(e){let t;switch(e){case"contain":case"cover":t=e;break;case"fill":t="stretch";break;case"scale-down":t="contain";break;default:return null}return{resizeMode:t}}function dse(e,t){const r=t?lse(t):null;return{...use(e),...r}}var fse=dse;W1.default=fse;Object.defineProperty(B1,"__esModule",{value:!0});B1.getIMGState=gse;var pse=hse(W1);function hse(e){return e&&e.__esModule?e:{default:e}}function gse({error:e,alt:t,altColor:r,source:n,containerStyle:o,concreteDimensions:i,initialDimensions:a,objectFit:c,onError:l}){return e?{type:"error",alt:t,altColor:r,source:n,error:e,containerStyle:o,dimensions:i??a}:i!=null?{type:"success",alt:t,altColor:r,source:n,onError:l,containerStyle:o,imageStyle:(0,pse.default)(o,c),dimensions:i}:{type:"loading",alt:t,altColor:r,source:n,containerStyle:o,dimensions:a}}var H1={},ys={};Object.defineProperty(ys,"__esModule",{value:!0});ys.default=mse;function mse(e,t,r){return{width:e??(r&&t?t*r:null),height:t??(r&&e?e/r:null)}}Object.defineProperty(H1,"__esModule",{value:!0});H1.default=Sse;var fu=L,vse=_se(ys),yse=ie;function _se(e){return e&&e.__esModule?e:{default:e}}function wo(e,t){const r=t.containerDimension||null,n=t.enablePercentWidth||!1;return e==null||Number.isNaN(e)?null:typeof e=="number"?e:e.search("%")!==-1&&n&&typeof r=="number"?parseFloat(e)*r/100:e.trim().match(/^[\d.]+$/)?parseFloat(e):null}function bse({width:e,height:t,contentWidth:r,flatStyle:n,enableExperimentalPercentWidth:o}){const i={enablePercentWidth:o,containerDimension:r},a={enablePercentWidth:!1},c=wo(e,i),l=wo(t,a),d=wo(n.width,i),p=wo(n.height,a);return(0,vse.default)(d??c,p??l,n.aspectRatio)}function Sse(e){const{contentWidth:t,enableExperimentalPercentWidth:r,style:n,width:o,height:i}=e,a=(0,fu.useMemo)(()=>yse.StyleSheet.flatten(n)||{},[n]),c=(0,fu.useMemo)(()=>bse({contentWidth:t,enableExperimentalPercentWidth:r,width:o,height:i,flatStyle:a}),[t,r,a,i,o]);return{flatStyle:a,specifiedDimensions:c}}Object.defineProperty(V1,"__esModule",{value:!0});V1.default=Rse;var Mo=L,pu=ie,wse=j1(Br),$se=j1(z1),Pse=j1(U1),xse=B1,Cse=j1(H1);function j1(e){return e&&e.__esModule?e:{default:e}}function Tse({uri:e,headers:t}){return new Promise((r,n)=>{const o=(i,a)=>r({width:i,height:a});t?pu.Image.getSizeWithHeaders(e,t,o,n):pu.Image.getSize(e,o,n)})}function Ese(e){const{source:t,cachedNaturalDimensions:r}=e,[n,o]=(0,Mo.useState)(r||null),{width:i,height:a}=r||{},[c,l]=(0,Mo.useState)(null);return(0,Mo.useEffect)(function(){o(i!=null&&a!=null?{width:i,height:a}:null),l(null)},[a,i,t.uri]),{onNaturalDimensions:o,onError:l,naturalDimensions:n,error:c}}function Mse(e){const{source:t,cachedNaturalDimensions:r}=e,{error:n,naturalDimensions:o,onError:i,onNaturalDimensions:a}=Ese(e),c=!!r;return(0,Mo.useEffect)(function(){let d=!1;if(t.uri&&!c)return Tse({uri:t.uri,headers:t.headers}).then(p=>!d&&a(p)).catch(p=>!d&&i(p||{})),()=>{d=!0}},[t.uri,t.headers,a,i,c]),{naturalDimensions:o,error:n,onError:i,onNaturalDimensions:a}}function Rse(e){const{alt:t,altColor:r,source:n,contentWidth:o,computeMaxWidth:i,objectFit:a,initialDimensions:c=wse.default,cachedNaturalDimensions:l}=e,{flatStyle:d,specifiedDimensions:p}=(0,Cse.default)(e),v=(0,$se.default)({specifiedDimensions:p,source:n}),{naturalDimensions:h,onError:N,error:T}=Mse({source:v,specifiedDimensions:p,cachedNaturalDimensions:l}),E=(0,Pse.default)({flatStyle:d,naturalDimensions:h,specifiedDimensions:p,computeMaxWidth:i,contentWidth:o});return(0,xse.getIMGState)({error:T,alt:t,altColor:r,concreteDimensions:E,containerStyle:d,initialDimensions:c,objectFit:a,onError:N,source:v})}var G1={};Object.defineProperty(G1,"__esModule",{value:!0});G1.default=Ase;var hu=Ose(L),Nse=ie;function af(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(af=function(n){return n?r:t})(e)}function Ose(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=af(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}const Lse={resizeMode:"cover"};function Ase({source:e,imageStyle:t,dimensions:r,onError:n}){const o=(0,hu.useCallback)(({nativeEvent:{error:i}})=>n(i),[n]);return hu.default.createElement(Nse.Image,{source:e,onError:o,style:[Lse,r,t],testID:"image-success"})}var Q1={},X1={};Object.defineProperty(X1,"__esModule",{value:!0});X1.default=Ise;var vr=Dse(L),Ft=ie,qse=Te;function Dse(e){return e&&e.__esModule?e:{default:e}}function hn(){return hn=Object.assign||function(e){for(var t=1;t{const{width:c,height:l,...d}=e;return[zse.container,d]},[e]),a=typeof t=="function"?kse.default:sf.View;return gu.default.createElement(a,{...o,style:i,onPress:t,testID:r},n)}var Y1={};Object.defineProperty(Y1,"__esModule",{value:!0});Y1.default=jse;var Bse=Hse(L),Wse=ie;function Hse(e){return e&&e.__esModule?e:{default:e}}function jse({dimensions:e,children:t}){return Bse.default.createElement(Wse.View,{style:e,testID:"image-loading"},t)}var Z1={},J1={};Object.defineProperty(J1,"__esModule",{value:!0});J1.default=Qse;var mu=Gse(L),zo=ie;function Gse(e){return e&&e.__esModule?e:{default:e}}const vu=zo.StyleSheet.create({altBox:{borderWidth:zo.StyleSheet.hairlineWidth,overflow:"hidden",justifyContent:"center"},altText:{textAlign:"center",fontStyle:"italic"}});function Qse({dimensions:e,alt:t,altColor:r,testID:n,children:o}){return mu.default.createElement(zo.View,{style:[vu.altBox,e,{borderColor:r}],accessibilityRole:"image",accessibilityLabel:t,testID:n},mu.default.createElement(zo.Text,{style:[vu.altText,{color:r}]},t),o)}Object.defineProperty(Z1,"__esModule",{value:!0});Z1.default=Zse;var Xse=uf(L),Yse=uf(J1);function uf(e){return e&&e.__esModule?e:{default:e}}function vi(){return vi=Object.assign||function(e){for(var t=1;tl?wce.StyleSheet.flatten(l):{},[l]);return{contentWidth:r,containerProps:d,enableExperimentalPercentWidth:o,initialDimensions:n,source:c,style:p,testID:"img",computeMaxWidth:i,alt:t.attributes.alt,altColor:t.styles.nativeTextFlow.color,width:t.attributes.width,height:t.attributes.height,objectFit:t.styles.webBlockRet.objectFit}}const Ece=e=>lf.default.createElement(bce.default,ff(e));var Mce=Ece;nr.default=Mce;var Hr={},ta={},Wn={};function pf({counterRenderer:e,index:t,startIndex:r,rtlLineReversed:n,rtlMarkerReversed:o,markerTextStyle:i,markerBoxStyle:a,maxNumOfCodepoints:c,markerTextWidth:l,style:d,renderMarker:p,enableMarkerClipping:v,children:h}){return Sr.createElement(Mi,{testID:"marked-list-item",style:[n?_u.lineRtl:_u.lineLtr,d],key:t},p({counterRenderer:e,rtlMarkerReversed:typeof o=="boolean"?o:!0,counterIndex:t+r,maxNumOfCodepoints:c,style:a,markerTextStyle:i,markerTextWidth:l,enableMarkerClipping:v}),h)}const _u=nl.create({lineLtr:{flexWrap:"nowrap",alignSelf:"stretch",flexDirection:"row"},lineRtl:{flexWrap:"nowrap",alignSelf:"stretch",flexDirection:"row-reverse"}});function _i(){return _i=Object.assign||function(e){for(var t=1;tSr.createElement(hf,e),Oce=(e,t)=>e*t*.6,bu=14;function gf({counterRenderer:e,startIndex:t=1,lineStyle:r,rtlLineReversed:n=!1,rtlMarkerReversed:o=!1,markerTextStyle:i,markerBoxStyle:a,dynamicMarkerBoxWidth:c=!0,length:l=0,renderMarker:d=Nce,enableMarkerClipping:p=!1,computeMarkerBoxWidth:v=Oce}){const h=L.useMemo(()=>e.maxMarkerLenInRange(t,t+l-1),[e,l,t]),N=!u9.isRTL&&n,T=L.useMemo(()=>{var D;return c&&v(h,(D=i==null?void 0:i.fontSize)!==null&&D!==void 0?D:bu)},[v,i==null?void 0:i.fontSize,h,c]),E=L.useMemo(()=>o?e.withRtl(o===!0?void 0:o):e,[e,o]),M=L.useMemo(()=>({flexGrow:0,flexShrink:0,fontSize:bu,textAlign:N?"left":"right",alignSelf:N?"flex-start":"flex-end",...i}),[i,N]);return{maxNumOfCodepoints:h,rtlMarkerReversed:o,markerTextWidth:T,renderMarker:d,startIndex:t,rtlLineReversed:N,markerTextStyle:M,markerBoxStyle:a,counterRenderer:E,style:r,enableMarkerClipping:p}}function bi(){return bi=Object.assign||function(e){for(var t=1;tSr.createElement(pf,bi({key:a,index:a},o),i)))}const Lce=Object.freeze(Object.defineProperty({__proto__:null,MarkedList:Su,MarkedListItem:pf,MarkerBox:hf,default:Su,useMarkedList:gf},Symbol.toStringTag,{value:"Module"})),Ace=st(Lce);var Hn={},qce=function(){return!1};const Dce=qce;var Ice=function(){return!0};const kce=Ice,Fce={"@@functional/placeholder":!0};function ne(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}function A(e){return function t(r){return arguments.length===0||ne(r)?t:e.apply(this,arguments)}}function y(e){return function t(r,n){switch(arguments.length){case 0:return t;case 1:return ne(r)?t:A(function(o){return e(r,o)});default:return ne(r)&&ne(n)?t:ne(r)?A(function(o){return e(o,n)}):ne(n)?A(function(o){return e(r,o)}):e(r,n)}}}var Vce=y(function(t,r){return Number(t)+Number(r)});const ra=Vce;function Je(e,t){e=e||[],t=t||[];var r,n=e.length,o=t.length,i=[];for(r=0;r=arguments.length)?c=t[a]:(c=arguments[o],o+=1),n[a]=c,ne(c)||(i-=1),a+=1}return i<=0?r.apply(this,n):Ke(i,jn(e,n,r))}}var zce=y(function(t,r){return t===1?A(r):Ke(t,jn(t,[],r))});const ye=zce;var Uce=A(function(t){return ye(t.length,function(){var r=0,n=arguments[0],o=arguments[arguments.length-1],i=Array.prototype.slice.call(arguments,0);return i[0]=function(){var a=n.apply(this,Je(arguments,[r,o]));return r+=1,a},t.apply(this,i)})});const Bce=Uce;function B(e){return function t(r,n,o){switch(arguments.length){case 0:return t;case 1:return ne(r)?t:y(function(i,a){return e(r,i,a)});case 2:return ne(r)&&ne(n)?t:ne(r)?y(function(i,a){return e(i,n,a)}):ne(n)?y(function(i,a){return e(r,i,a)}):A(function(i){return e(r,n,i)});default:return ne(r)&&ne(n)&&ne(o)?t:ne(r)&&ne(n)?y(function(i,a){return e(i,a,o)}):ne(r)&&ne(o)?y(function(i,a){return e(i,n,a)}):ne(n)&&ne(o)?y(function(i,a){return e(r,i,a)}):ne(r)?A(function(i){return e(i,n,o)}):ne(n)?A(function(i){return e(r,i,o)}):ne(o)?A(function(i){return e(r,n,i)}):e(r,n,o)}}}var Wce=B(function(t,r,n){if(t>=n.length||t<-n.length)return n;var o=t<0?n.length:0,i=o+t,a=Je(n);return a[i]=r(n[i]),a});const mf=Wce,Xe=Array.isArray||function(t){return t!=null&&t.length>=0&&Object.prototype.toString.call(t)==="[object Array]"};function bs(e){return e!=null&&typeof e["@@transducer/step"]=="function"}function pe(e,t,r){return function(){if(arguments.length===0)return r();var n=Array.prototype.slice.call(arguments,0),o=n.pop();if(!Xe(o)){for(var i=0;it?r:t});const jr=Qce;function _r(e,t){for(var r=0,n=t.length,o=Array(n);r0?t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1):!1}),Xce=function(){function e(t){this.f=t}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(t){return t},e.prototype["@@transducer/step"]=function(t,r){return this.f(t,r)},e}();function yf(e){return new Xce(e)}var Yce=y(function(t,r){return Ke(t.length,function(){return t.apply(r,arguments)})});const _f=Yce;function Zce(e,t,r){for(var n=0,o=r.length;n=0;)r=Cu[n],$e(r,t)&&!tue(o,r)&&(o[o.length]=r),n-=1;return o});const Fe=rue;var He=y(pe(["fantasy-land/map","map"],Kce,function(t,r){switch(Object.prototype.toString.call(r)){case"[object Function]":return ye(r.length,function(){return t.call(this,r.apply(this,arguments))});case"[object Object]":return Ce(function(n,o){return n[o]=t(r[o]),n},{},Fe(r));default:return _r(t,r)}}));const jt=Number.isInteger||function(t){return t<<0===t};var Gr=y(function(t,r){var n=t<0?r.length+t:t;return Cr(r)?r.charAt(n):r[n]}),nue=y(function(t,r){return t.map(function(n){for(var o=r,i=0,a;i=0?n:0);ri?1:0});const Oue=Nue;var Lue=B(function(t,r,n){var o={};for(var i in n)o[i]=n[i];return o[t]=r,o});const oa=Lue;var Aue=A(function(t){return t==null});const Uo=Aue;var que=B(function e(t,r,n){if(t.length===0)return r;var o=t[0];if(t.length>1){var i=!Uo(n)&&$e(o,n)?n[o]:jt(t[1])?[]:{};r=e(Array.prototype.slice.call(t,1),r,i)}if(jt(o)&&Xe(n)){var a=[].concat(n);return a[o]=r,a}else return oa(o,r,n)});const xf=que;var Due=y(function(t,r){switch(t){case 0:return function(){return r.call(this)};case 1:return function(n){return r.call(this,n)};case 2:return function(n,o){return r.call(this,n,o)};case 3:return function(n,o,i){return r.call(this,n,o,i)};case 4:return function(n,o,i,a){return r.call(this,n,o,i,a)};case 5:return function(n,o,i,a,c){return r.call(this,n,o,i,a,c)};case 6:return function(n,o,i,a,c,l){return r.call(this,n,o,i,a,c,l)};case 7:return function(n,o,i,a,c,l,d){return r.call(this,n,o,i,a,c,l,d)};case 8:return function(n,o,i,a,c,l,d,p){return r.call(this,n,o,i,a,c,l,d,p)};case 9:return function(n,o,i,a,c,l,d,p,v){return r.call(this,n,o,i,a,c,l,d,p,v)};case 10:return function(n,o,i,a,c,l,d,p,v,h){return r.call(this,n,o,i,a,c,l,d,p,v,h)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}});const aa=Due;var Iue=A(function(t){return aa(2,t)});const kue=Iue;function Tr(e){var t=Object.prototype.toString.call(e);return t==="[object Function]"||t==="[object AsyncFunction]"||t==="[object GeneratorFunction]"||t==="[object AsyncGeneratorFunction]"}var Fue=y(function(t,r){var n=ye(t,r);return ye(t,function(){return Ce(ws,He(n,arguments[0]),Array.prototype.slice.call(arguments,1))})});const Cf=Fue;var ia=A(function(t){return Cf(t.length,t)}),Vue=y(function(t,r){return Tr(t)?function(){return t.apply(this,arguments)&&r.apply(this,arguments)}:ia(wf)(t,r)});const zue=Vue;var $s=A(function(t){return ye(t.length,t)}),Uue=$s(function(t){return t.apply(this,Array.prototype.slice.call(arguments,1))});const Bue=Uue;function Tf(e){return function t(r){for(var n,o,i,a=[],c=0,l=r.length;cr)throw new Error("min must not be greater than max in clamp(min, max, value)");return nr?r:n});const Yue=Xue;function Ef(e){return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""))}var Zue=A(function(t){return t===null?"Null":t===void 0?"Undefined":Object.prototype.toString.call(t).slice(8,-1)});const Bo=Zue;function sa(e,t,r,n){var o=function(a){for(var c=t.length,l=0;l=0;){if(r[i]===e)return n[i]===t;i-=1}switch(o){case"Map":return e.size!==t.size?!1:Ru(e.entries(),t.entries(),r.concat([e]),n.concat([t]));case"Set":return e.size!==t.size?!1:Ru(e.values(),t.values(),r.concat([e]),n.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var a=Fe(e);if(a.length!==Fe(t).length)return!1;var c=r.concat([e]),l=n.concat([t]);for(i=a.length-1;i>=0;){var d=a[i];if(!($e(d,t)&&xs(t[d],e[d],c,l)))return!1;i-=1}return!0}var gle=y(function(t,r){return xs(t,r,[],[])});const Ve=gle;function qf(e,t,r){var n,o;if(typeof e.indexOf=="function")switch(typeof t){case"number":if(t===0){for(n=1/t;r=0}function Ka(e){var t=e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0");return'"'+t.replace(/"/g,'\\"')+'"'}var sn=function(t){return(t<10?"0":"")+t},mle=typeof Date.prototype.toISOString=="function"?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+sn(t.getUTCMonth()+1)+"-"+sn(t.getUTCDate())+"T"+sn(t.getUTCHours())+":"+sn(t.getUTCMinutes())+":"+sn(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Df(e){return function(){return!e.apply(this,arguments)}}function Cs(e,t){for(var r=0,n=t.length,o=[];r":Es(a,c)},n=function(i,a){return _r(function(c){return Ka(c)+": "+r(i[c])},a.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+_r(r,e).join(", ")+"))";case"[object Array]":return"["+_r(r,e).concat(n(e,la(function(i){return/^\d+$/.test(i)},Fe(e)))).join(", ")+"]";case"[object Boolean]":return typeof e=="object"?"new Boolean("+r(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?r(NaN):Ka(mle(e)))+")";case"[object Null]":return"null";case"[object Number]":return typeof e=="object"?"new Number("+r(e.valueOf())+")":1/e===-1/0?"-0":e.toString(10);case"[object String]":return typeof e=="object"?"new String("+r(e.valueOf())+")":Ka(e);case"[object Undefined]":return"undefined";default:if(typeof e.toString=="function"){var o=e.toString();if(o!=="[object Object]")return o}return"{"+n(e,Fe(e)).join(", ")+"}"}}var Sle=A(function(t){return Es(t,[])});const br=Sle;var wle=y(function(t,r){if(Xe(t)){if(Xe(r))return t.concat(r);throw new TypeError(br(r)+" is not an array")}if(Cr(t)){if(Cr(r))return t+r;throw new TypeError(br(r)+" is not a string")}if(t!=null&&Tr(t["fantasy-land/concat"]))return t["fantasy-land/concat"](r);if(t!=null&&Tr(t.concat))return t.concat(r);throw new TypeError(br(t)+' does not have a method named "concat" or "fantasy-land/concat"')});const Ms=wle;var $le=A(function(t){var r=lt(jr,0,He(function(n){return n[0].length},t));return Ke(r,function(){for(var n=0;n10)throw new Error("Constructor with greater than ten arguments");return t===0?function(){return new r}:$s(aa(t,function(n,o,i,a,c,l,d,p,v,h){switch(arguments.length){case 1:return new r(n);case 2:return new r(n,o);case 3:return new r(n,o,i);case 4:return new r(n,o,i,a);case 5:return new r(n,o,i,a,c);case 6:return new r(n,o,i,a,c,l);case 7:return new r(n,o,i,a,c,l,d);case 8:return new r(n,o,i,a,c,l,d,p);case 9:return new r(n,o,i,a,c,l,d,p,v);case 10:return new r(n,o,i,a,c,l,d,p,v,h)}}))});const If=xle;var Cle=A(function(t){return If(t.length,t)});const Tle=Cle;var Ele=y(Gt);const Mle=Ele;var Rle=y(function(t,r){return ye(lt(jr,0,Qn("length",r)),function(){var n=arguments,o=this;return t.apply(o,_r(function(i){return i.apply(o,n)},r))})});const kf=Rle;var Nle=function(){function e(t,r,n,o){this.valueFn=t,this.valueAcc=r,this.keyFn=n,this.xf=o,this.inputs={}}return e.prototype["@@transducer/init"]=K.init,e.prototype["@@transducer/result"]=function(t){var r;for(r in this.inputs)if($e(r,this.inputs)&&(t=this.xf["@@transducer/step"](t,this.inputs[r]),t["@@transducer/reduced"])){t=t["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](t)},e.prototype["@@transducer/step"]=function(t,r){var n=this.keyFn(r);return this.inputs[n]=this.inputs[n]||[n,this.valueAcc],this.inputs[n][1]=this.valueFn(this.inputs[n][1],r),t},e}(),Ole=jn(4,[],function(t,r,n,o){return new Nle(t,r,n,o)}),da=jn(4,[],pe([],Ole,function(t,r,n,o){return Ce(function(i,a){var c=n(a);return i[c]=t($e(c,i)?i[c]:sa(r,[],[],!1),a),i},{},o)})),Lle=da(function(e,t){return e+1},0);const Ale=Lle;var qle=ra(-1);const Dle=qle;var Ile=y(function(t,r){return r==null||r!==r?t:r});const Ff=Ile;var kle=B(function(t,r,n){var o=t(r),i=t(n);return o>i?-1:o0?(this.n-=1,t):this.xf["@@transducer/step"](t,r)},e}(),Yle=y(function(t,r){return new Xle(t,r)}),Zle=y(pe(["drop"],Yle,function(t,r){return We(Math.max(0,t),1/0,r)}));const Bf=Zle;var Jle=function(){function e(t,r){this.xf=r,this.n=t,this.i=0}return e.prototype["@@transducer/init"]=K.init,e.prototype["@@transducer/result"]=K.result,e.prototype["@@transducer/step"]=function(t,r){this.i+=1;var n=this.n===0?t:this.xf["@@transducer/step"](t,r);return this.n>=0&&this.i>=this.n?Lt(n):n},e}(),Kle=y(function(t,r){return new Jle(t,r)}),ede=y(pe(["take"],Kle,function(t,r){return We(0,t<0?1/0:t,r)}));const Ns=ede;function tde(e,t){return Ns(e=0&&e(t[r]);)r-=1;return We(0,r+1,t)}var sde=function(){function e(t,r){this.f=t,this.retained=[],this.xf=r}return e.prototype["@@transducer/init"]=K.init,e.prototype["@@transducer/result"]=function(t){return this.retained=null,this.xf["@@transducer/result"](t)},e.prototype["@@transducer/step"]=function(t,r){return this.f(r)?this.retain(t,r):this.flush(t,r)},e.prototype.flush=function(t,r){return t=Ce(this.xf["@@transducer/step"],t,this.retained),this.retained=[],this.xf["@@transducer/step"](t,r)},e.prototype.retain=function(t,r){return this.retained.push(r),t},e}(),cde=y(function(t,r){return new sde(t,r)}),ude=y(pe([],cde,ide));const lde=ude;var dde=function(){function e(t,r){this.xf=r,this.pred=t,this.lastValue=void 0,this.seenFirstValue=!1}return e.prototype["@@transducer/init"]=K.init,e.prototype["@@transducer/result"]=K.result,e.prototype["@@transducer/step"]=function(t,r){var n=!1;return this.seenFirstValue?this.pred(this.lastValue,r)&&(n=!0):this.seenFirstValue=!0,this.lastValue=r,n?t:this.xf["@@transducer/step"](t,r)},e}(),Wf=y(function(t,r){return new dde(t,r)}),fde=Gr(-1);const Hf=fde;var pde=y(pe([],Wf,function(t,r){var n=[],o=1,i=r.length;if(i!==0)for(n[0]=r[0];o=0?r.length-t:0,r)});const Xf=Pde;var xde=y(function(e,t){return Ve(Xf(e.length,t),e)});const Cde=xde;var Tde=B(function(t,r,n){return Ve(t(r),t(n))});const Ede=Tde;var Mde=B(function(t,r,n){return Ve(r[t],n[t])});const Rde=Mde;var Nde=y(function e(t,r){var n=r instanceof Array?[]:{},o,i,a;for(i in r)o=t[i],a=typeof o,n[i]=a==="function"?o(r[i]):o&&a==="object"?e(o,r[i]):r[i];return n});const Ode=Nde;var Lde=function(){function e(t,r){this.xf=r,this.f=t,this.found=!1}return e.prototype["@@transducer/init"]=K.init,e.prototype["@@transducer/result"]=function(t){return this.found||(t=this.xf["@@transducer/step"](t,void 0)),this.xf["@@transducer/result"](t)},e.prototype["@@transducer/step"]=function(t,r){return this.f(r)&&(this.found=!0,t=Lt(this.xf["@@transducer/step"](t,r))),t},e}(),Ade=y(function(t,r){return new Lde(t,r)}),qde=y(pe(["find"],Ade,function(t,r){for(var n=0,o=r.length;n=0;){if(t(r[n]))return r[n];n-=1}}));const Wde=Bde;var Hde=function(){function e(t,r){this.xf=r,this.f=t,this.idx=-1,this.lastIdx=-1}return e.prototype["@@transducer/init"]=K.init,e.prototype["@@transducer/result"]=function(t){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](t,this.lastIdx))},e.prototype["@@transducer/step"]=function(t,r){return this.idx+=1,this.f(r)&&(this.lastIdx=this.idx),t},e}(),jde=y(function(t,r){return new Hde(t,r)}),Gde=y(pe([],jde,function(t,r){for(var n=r.length-1;n>=0;){if(t(r[n]))return n;n-=1}return-1}));const Qde=Gde;var Xde=A(Tf(!0));const Yde=Xde;var Zde=A(function(t){return ye(t.length,function(r,n){var o=Array.prototype.slice.call(arguments,0);return o[0]=n,o[1]=r,t.apply(this,o)})});const fa=Zde;var Jde=y(Xn("forEach",function(t,r){for(var n=r.length,o=0;or});const ufe=cfe;var lfe=y(function(t,r){return t>=r});const dfe=lfe;var ffe=y(function(t,r){if(t.length===0||Uo(r))return!1;for(var n=r,o=0;o=0?t:n.length;var o=Array.prototype.slice.call(n,0);return o.splice(t,0,r),o});const Afe=Lfe;var qfe=B(function(t,r,n){return t=t=0?t:n.length,[].concat(Array.prototype.slice.call(n,0,t),r,Array.prototype.slice.call(n,t))});const Dfe=qfe;var Zf=y(function(t,r){for(var n=new Vf,o=[],i=0,a,c;ir.length?(n=t,o=r):(n=r,o=t),Os(Cs(fa(Gt)(n),o))});const Ffe=kfe;var Vfe=y(Xn("intersperse",function(t,r){for(var n=[],o=0,i=r.length;o=0;){if(Ve(r[n],t))return n;n-=1}return-1});const l0e=u0e;function $i(e){return Object.prototype.toString.call(e)==="[object Number]"}var d0e=A(function(t){return t!=null&&$i(t.length)?t.length:NaN});const t0=d0e;var f0e=y(function(t,r){return function(n){return function(o){return He(function(i){return r(i,o)},n(t(o)))}}});const pa=f0e;var p0e=A(function(t){return pa(Gr(t),Rs(t))});const h0e=p0e;var g0e=A(function(t){return pa(or(t),xf(t))});const m0e=g0e;var v0e=A(function(t){return pa(Ss(t),oa(t))});const y0e=v0e;var _0e=y(function(t,r){return t=0;)a=t(a[0],n[o]),i[o]=a[1],o-=1;return[a[0],i]});const C0e=x0e;var T0e=y(function(t,r){return Ce(function(n,o){return n[o]=t(r[o],o,r),n},{},Fe(r))});const E0e=T0e;var M0e=y(function(t,r){return r.match(t)||[]});const R0e=M0e;var N0e=y(function(t,r){return jt(t)?!jt(r)||r<1?NaN:(t%r+r)%r:NaN});const O0e=N0e;var L0e=B(function(t,r,n){return t(n)>t(r)?n:r});const A0e=L0e;var q0e=lt(ra,0);const r0=q0e;var D0e=A(function(t){return r0(t)/t.length});const n0=D0e;var I0e=A(function(t){var r=t.length;if(r===0)return NaN;var n=2-r%2,o=(r-n)/2;return n0(Array.prototype.slice.call(t,0).sort(function(i,a){return ia?1:0}).slice(o,o+n))});const k0e=I0e;var F0e=y(function(t,r){var n={};return Ke(r.length,function(){var o=t.apply(this,arguments);return $e(o,n)||(n[o]=r.apply(this,arguments)),n[o]})});const V0e=F0e;var z0e=y(function(t,r){return Jn({},t,r)});const U0e=z0e;var B0e=A(function(t){return Jn.apply(null,[{}].concat(t))});const W0e=B0e;var H0e=B(function(t,r,n){var o={},i;for(i in r)$e(i,r)&&(o[i]=$e(i,n)?t(i,r[i],n[i]):r[i]);for(i in n)$e(i,n)&&!$e(i,o)&&(o[i]=n[i]);return o});const Ls=H0e;var j0e=B(function e(t,r,n){return Ls(function(o,i,a){return Ho(i)&&Ho(a)?e(t,i,a):t(o,i,a)},r,n)});const ha=j0e;var G0e=y(function(t,r){return ha(function(n,o,i){return o},t,r)});const Q0e=G0e;var X0e=y(function(t,r){return ha(function(n,o,i){return i},t,r)});const Y0e=X0e;var Z0e=B(function(t,r,n){return ha(function(o,i,a){return t(i,a)},r,n)});const J0e=Z0e;var K0e=y(function(t,r){return Jn({},r,t)});const epe=K0e;var tpe=y(function(t,r){return Jn({},t,r)});const rpe=tpe;var npe=B(function(t,r,n){return Ls(function(o,i,a){return t(i,a)},r,n)});const ope=npe;var ape=y(function(t,r){return r=r.length||a<0||a>=r.length?r:[].concat(o.slice(0,a)).concat(c).concat(o.slice(a,r.length))});const fpe=dpe;var ppe=y(function(t,r){return t*r});const o0=ppe;var hpe=A(function(t){return-t});const gpe=hpe;var mpe=y(function(t,r){return vf(Df(t),r)});const vpe=mpe;var ype=A(function(t){var r=t<0?1:t+1;return ye(r,function(){return Gr(t,arguments)})});const _pe=ype;var bpe=B(function(t,r,n){return t(r(n))});const Spe=bpe;function wpe(e){return[e]}var $pe=A(wpe);const Ppe=$pe;var xpe=y(function(t,r){for(var n={},o={},i=0,a=t.length;i=0;)r=t(n[o],r),o-=1;return r});const p0=h9e;var g9e=jn(4,[],function(t,r,n,o){return Ce(function(i,a){return t(i,a)?r(i,a):Lt(i)},n,o)});const m9e=g9e;var v9e=A(Lt);const y9e=v9e;var _9e=y(function(t,r){var n=Number(r),o=0,i;if(n<0||isNaN(n))throw new RangeError("n must be a non-negative number");for(i=new Array(n);oa?1:0})});const O9e=N9e;var L9e=y(function(t,r){return Array.prototype.slice.call(r,0).sort(function(n,o){for(var i=0,a=0;i===0&&a=0&&t(r[n]);)n-=1;return We(n+1,1/0,r)});const J9e=Z9e;var K9e=function(){function e(t,r){this.xf=r,this.f=t}return e.prototype["@@transducer/init"]=K.init,e.prototype["@@transducer/result"]=K.result,e.prototype["@@transducer/step"]=function(t,r){return this.f(r)?this.xf["@@transducer/step"](t,r):Lt(t)},e}(),e8e=y(function(t,r){return new K9e(t,r)}),t8e=y(pe(["takeWhile"],e8e,function(t,r){for(var n=0,o=r.length;n"u"&&(n[i]=[]),n[i].push(o[i]),i+=1;r+=1}return n});const $8e=w8e;var P8e=B(function(t,r,n){return typeof n["fantasy-land/traverse"]=="function"?n["fantasy-land/traverse"](r,t):g0(t,He(r,n))});const x8e=P8e;var cn=` -\v\f\r                 \u2028\u2029\uFEFF`,C8e="​",T8e=typeof String.prototype.trim=="function",E8e=A(!T8e||cn.trim()||!C8e.trim()?function(t){var r=new RegExp("^["+cn+"]["+cn+"]*"),n=new RegExp("["+cn+"]["+cn+"]*$");return t.replace(r,"").replace(n,"")}:function(t){return t.trim()});const M8e=E8e;var R8e=y(function(t,r){return Ke(t.length,function(){try{return t.apply(this,arguments)}catch(n){return r.apply(this,Je([n],arguments))}})});const N8e=R8e;var O8e=A(function(t){return function(){return t(Array.prototype.slice.call(arguments,0))}});const L8e=O8e;var A8e=A(function(t){return aa(1,t)});const q8e=A8e;var D8e=y(function(t,r){return ye(t,function(){for(var n=1,o=r,i=0,a;n<=t&&typeof o=="function";)a=n===t?arguments.length:i+o.length,o=o.apply(this,Array.prototype.slice.call(arguments,i,a)),n+=1,i=a;return o})});const I8e=D8e;var k8e=y(function(t,r){for(var n=t(r),o=[];n&&n.length;)o[o.length]=n[0],n=t(n[1]);return o});const F8e=k8e;var V8e=y(Wo(Os,Je));const z8e=V8e;var U8e=y(function(t,r){for(var n=0,o=r.length,i=[],a;nSt.default.createElement(ei.View,{style:[o,{flexDirection:c?"row-reverse":"row",justifyContent:"flex-end"}]},!!r&&St.default.createElement(ei.Text,{style:i},r),St.default.createElement(e,{...i,index:a}),!!n&&St.default.createElement(ei.Text,{style:i},n))}const M2e=(0,$2e.mapObjIndexed)(e=>e.type==="unitary"?{...e,renderMarker:E2e(e)}:e);function R2e({children:e}){const{customListStyleSpecs:t}=(0,P2e.useSharedProps)(),r=(0,St.useMemo)(()=>M2e(t!=null?{...Pi.default,...t}:Pi.default),[t]);return St.default.createElement(_0.Provider,{value:r},e)}Object.defineProperty(Wn,"__esModule",{value:!0});Wn.getMarkerBoxStyle=w0;Wn.default=k2e;var b0=ie,Po=S0(L),Ou=Ace,N2e=Rt,O2e=gt,L2e=S0(A1),A2e=Hn;function S0(e){return e&&e.__esModule?e:{default:e}}function jo(){return jo=Object.assign||function(e){for(var t=1;tPo.default.createElement(Ou.MarkedListItem,jo({key:U,index:R},u,{markerBoxStyle:[u.markerBoxStyle,w],markerTextStyle:u.markerTextStyle,enableMarkerClipping:!0,style:u.style}),Po.default.createElement(b0.View,{style:ti.shrink},x)),P={position:"relative",[m]:0};return Po.default.createElement(t,jo({tnode:e,style:[n,z,Y,P]},v),Po.default.createElement(k,{tchildren:e.children,renderChild:$}))}const ti=b0.StyleSheet.create({zeroMarginTop:{marginTop:0},zeroMarginBottom:{marginBottom:0},shrink:{flexShrink:1}});Object.defineProperty(ta,"__esModule",{value:!0});ta.default=z2e;var F2e=$0(L),V2e=$0(Wn);function $0(e){return e&&e.__esModule?e:{default:e}}function z2e(e){return F2e.default.createElement(V2e.default,{...e,listType:"ol"})}Object.defineProperty(Hr,"__esModule",{value:!0});Hr.useOLElementProps=x0;Hr.default=void 0;var U2e=P0(L),B2e=P0(ta),W2e=vt;function P0(e){return e&&e.__esModule?e:{default:e}}function H2e(e){switch(e%3){case 0:return"decimal";case 1:return"upper-alpha";default:return"lower-alpha"}}function x0(e){const t=(0,W2e.useRendererProps)("ol");return{...e,getFallbackListStyleTypeFromNestLevel:H2e,...t}}const j2e=e=>U2e.default.createElement(B2e.default,x0(e));var G2e=j2e;Hr.default=G2e;var Qr={},ga={};Object.defineProperty(ga,"__esModule",{value:!0});ga.default=Y2e;var Q2e=C0(L),X2e=C0(Wn);function C0(e){return e&&e.__esModule?e:{default:e}}function Y2e(e){return Q2e.default.createElement(X2e.default,{...e,listType:"ul"})}Object.defineProperty(Qr,"__esModule",{value:!0});Qr.useULElementProps=E0;Qr.default=void 0;var Z2e=T0(L),J2e=T0(ga),K2e=vt;function T0(e){return e&&e.__esModule?e:{default:e}}function e5e(e){switch(e%3){case 0:return"disc";case 1:return"circle";default:return"square"}}function E0(e){const t=(0,K2e.useRendererProps)("ul");return{...e,getFallbackListStyleTypeFromNestLevel:e5e,...t}}const t5e=e=>Z2e.default.createElement(J2e.default,E0(e));var r5e=t5e;Qr.default=r5e;Object.defineProperty(F1,"__esModule",{value:!0});F1.default=void 0;var n5e=ma(zr),o5e=ma(nr),a5e=ma(Hr),i5e=ma(Qr);function ma(e){return e&&e.__esModule?e:{default:e}}const s5e={img:o5e.default,ul:i5e.default,ol:a5e.default,a:n5e.default};var c5e=s5e;F1.default=c5e;Object.defineProperty(D1,"__esModule",{value:!0});D1.default=void 0;var u5e=va(gs),l5e=va(I1),d5e=va(k1),Au=va(F1);function va(e){return e&&e.__esModule?e:{default:e}}function qu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Du={br:l5e.default,wbr:d5e.default};class f5e{constructor(t={},r){qu(this,"customRenderers",{}),qu(this,"elementModels",void 0),this.customRenderers=t,this.elementModels=r}getCustomRendererForTNode(t){return t.tagName in this.customRenderers?this.customRenderers[t.tagName]:null}getDefaultRendererForTNode(t){return t.tagName in Au.default?Au.default[t.tagName]:null}getInternalTextRenderer(t){return(0,u5e.default)(Du,t)?Du[t]:null}getRendererConfigForTNode(t){return{Custom:this.getCustomRendererForTNode(t),Default:this.getDefaultRendererForTNode(t)}}}D1.default=f5e;Object.defineProperty(ut,"__esModule",{value:!0});ut.useRendererRegistry=m5e;ut.useRendererConfig=v5e;ut.useInternalTextRenderer=y5e;ut.default=_5e;ut.RenderRegistryContext=void 0;var Mr=g5e(L),p5e=M0(Et),h5e=M0(D1);function M0(e){return e&&e.__esModule?e:{default:e}}function R0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(R0=function(n){return n?r:t})(e)}function g5e(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=R0(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}const eo=Mr.default.createContext(null);ut.RenderRegistryContext=eo;function m5e(){return Mr.default.useContext(eo)}function v5e(e){return Mr.default.useContext(eo).getRendererConfigForTNode(e)}function y5e(e){return Mr.default.useContext(eo).getInternalTextRenderer(e.tagName)}function _5e({children:e,elementModels:t,renderers:r}){const n=(0,p5e.default)({prop:"renderers"}),o=(0,Mr.useMemo)(()=>new h5e.default(r,t),[r,t,n]);return Mr.default.createElement(eo.Provider,{value:o},e)}Object.defineProperty(ps,"__esModule",{value:!0});ps.default=P5e;var b5e=$5e(hs),S5e=ut,w5e=Te;function $5e(e){return e&&e.__esModule?e:{default:e}}function P5e({tnode:e,propsFromParent:t,sharedProps:r,renderIndex:n,renderLength:o,TNodeChildrenRenderer:i},a){const{Default:c,Custom:l}=(0,S5e.useRendererConfig)(e),d=(0,w5e.useDefaultContainerProps)();return{assembledProps:{tnode:e,propsFromParent:t,sharedProps:r,TDefaultRenderer:a,TNodeChildrenRenderer:i,style:(0,b5e.default)(t==null?void 0:t.collapsedMarginTop,e.getNativeStyles()),type:e.type==="text"||e.type==="phrasing"?"text":"block",propsForChildren:e.tagName?{}:t,InternalRenderer:c||a,renderIndex:n,renderLength:o,...d},Renderer:l||c||null}}var ya={};Object.defineProperty(ya,"__esModule",{value:!0});ya.default=void 0;var x5e=N0(L),C5e=ie,T5e=N0(Wr);function N0(e){return e&&e.__esModule?e:{default:e}}const E5e=e=>x5e.default.createElement(C5e.Text,(0,T5e.default)(e));var M5e=E5e;ya.default=M5e;var _a={};Object.defineProperty(_a,"__esModule",{value:!0});_a.default=void 0;var R5e=As(L),N5e=As(X1),O5e=As(Wr),L5e=ie;function As(e){return e&&e.__esModule?e:{default:e}}function A5e(e){const t=(0,O5e.default)(e);return R5e.default.createElement(typeof t.onPress=="function"?N5e.default:L5e.View,t)}var q5e=A5e;_a.default=q5e;var ba={};Object.defineProperty(ba,"__esModule",{value:!0});ba.default=void 0;function D5e({tnode:e}){return null}var I5e=D5e;ba.default=I5e;Object.defineProperty(Be,"__esModule",{value:!0});Be.default=Be.TDefaultTextRenderer=Be.TDefaultPhrasingRenderer=Be.TDefaultBlockRenderer=void 0;var xo=U5e(L),k5e=Te,F5e=Sa(ps),V5e=Rt,qs=Sa(ya),z5e=ut,O0=Sa(_a),Iu=Sa(ba);function Sa(e){return e&&e.__esModule?e:{default:e}}function L0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(L0=function(n){return n?r:t})(e)}function U5e(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=L0(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}const Ds=O0.default.bind(null);Be.TDefaultBlockRenderer=Ds;Ds.displayName="TDefaultBlockRenderer";const Is=qs.default.bind(null);Be.TDefaultPhrasingRenderer=Is;Is.displayName="TDefaultPhrasingRenderer";const ks=qs.default.bind(null);Be.TDefaultTextRenderer=ks;ks.displayName="TDefaultTextRenderer";function B5e(e){return e.type==="text"&&(e.data===""||e.data===" ")||e.type==="empty"}const A0=(0,xo.memo)(function(t){const{tnode:r}=t,n=(0,k5e.useSharedProps)(),o=(0,z5e.useRendererRegistry)(),i=(0,V5e.useTNodeChildrenRenderer)(),a={...t,TNodeChildrenRenderer:i,sharedProps:n},c=r.type==="block"||r.type==="document"?Ds:r.type==="text"?ks:r.type==="phrasing"?Is:Iu.default,{assembledProps:l,Renderer:d}=(0,F5e.default)(a,c);switch(r.type){case"empty":return(0,Iu.default)(l);case"text":const v=o.getInternalTextRenderer(t.tnode.tagName);if(v)return xo.default.createElement(v,a);if(a.tnode.data===""&&a.sharedProps.enableExperimentalGhostLinesPrevention)return null;break;case"phrasing":if(a.sharedProps.bypassAnonymousTPhrasingNodes&&a.tnode.tagName==null&&a.tnode.children.length<=1)return xo.default.createElement(i,{tnode:t.tnode});if(a.sharedProps.enableExperimentalGhostLinesPrevention&&a.tnode.tagName==null&&a.tnode.children.every(B5e))return null;break}const p=r.type==="block"||r.type==="document"?O0.default:qs.default;return d===null?p(l):xo.default.createElement(d,l)}),W5e={propsFromParent:{collapsedMarginTop:null}};A0.defaultProps=W5e;var H5e=A0;Be.default=H5e;var wa={},Fs={};Object.defineProperty(Fs,"__esModule",{value:!0});Fs.default=j5e;function j5e(e,t){const r=typeof e.styles.nativeBlockRet.marginBottom=="number"?e.styles.nativeBlockRet.marginBottom:null,n=typeof t.styles.nativeBlockRet.marginTop=="number"?t.styles.nativeBlockRet.marginTop:null;return r==null||n==null?null:r<0&&n<0?Math.min(r,n)-r:r<0||n<0?r+n-r:r>n?0:n-r}Object.defineProperty(wa,"__esModule",{value:!0});wa.default=X5e;var G5e=Q5e(Fs);function Q5e(e){return e&&e.__esModule?e:{default:e}}function ku(e){return e.type==="block"||e.type==="phrasing"}function X5e(e,t){const r=t[e];return ku(r)&&e>0&&ku(t[e-1])?(0,G5e.default)(t[e-1],r):null}Object.defineProperty(q1,"__esModule",{value:!0});q1.default=ehe;var xi=Vs(L),Y5e=Vs(Be),Z5e=Vs(wa);function Vs(e){return e&&e.__esModule?e:{default:e}}const J5e={},K5e=(e,t,r,n,o,i)=>{const a=r?null:(0,Z5e.default)(o,i),c={...e,collapsedMarginTop:a},l=n.nodeIndex,d=xi.default.createElement(Y5e.default,{propsFromParent:c,tnode:n,key:l,renderIndex:o,renderLength:i.length});return typeof t=="function"?t({key:l,childElement:d,index:o,childTnode:n,propsFromParent:c}):d};function ehe({tchildren:e,propsForChildren:t=J5e,disableMarginCollapsing:r,renderChild:n}){const o=e.map(K5e.bind(null,t,n,r));return xi.default.createElement(xi.default.Fragment,null,o)}Object.defineProperty(xt,"__esModule",{value:!0});xt.default=xt.tchildrenRendererDefaultProps=void 0;var the=rhe(q1);function rhe(e){return e&&e.__esModule?e:{default:e}}const q0=the.default.bind(null),D0={propsForChildren:{}};xt.tchildrenRendererDefaultProps=D0;q0.defaultProps=D0;var nhe=q0;xt.default=nhe;Object.defineProperty(Vr,"__esModule",{value:!0});Vr.useTNodeChildrenProps=I0;Vr.default=void 0;var ohe=Te,ahe=xt,ihe=she(q1);function she(e){return e&&e.__esModule?e:{default:e}}function che(e){return e.type==="block"||e.type==="phrasing"}function I0({tnode:e,propsForChildren:t,disableMarginCollapsing:r=!1,renderChild:n}){const{enableExperimentalMarginCollapsing:o}=(0,ohe.useSharedProps)(),i=o&&!r&&che(e);return{propsForChildren:t,disableMarginCollapsing:!i,tchildren:e.children,renderChild:n}}function k0(e){return e.tnode.type==="text"?e.tnode.data:(0,ihe.default)(I0(e))}k0.defaultProps=ahe.tchildrenRendererDefaultProps;var uhe=k0;Vr.default=uhe;var ar={};Object.defineProperty(ar,"__esModule",{value:!0});ar.defaultRenderError=F0;ar.defaultRenderLoading=V0;ar.default=void 0;var _n=lhe(L),bn=ie;function lhe(e){return e&&e.__esModule?e:{default:e}}const Ci=bn.StyleSheet.create({alignCenter:{flex:1,alignItems:"center",justifyContent:"center"},errorText:{fontStyle:"italic",fontSize:16}});function F0(e){return _n.default.createElement(bn.View,{testID:"loader-error",style:Ci.alignCenter},_n.default.createElement(bn.Text,{style:Ci.errorText},"Failed to load HTML from ",e.uri))}function V0(){return _n.default.createElement(bn.View,{testID:"loader-loading",style:Ci.alignCenter},_n.default.createElement(bn.ActivityIndicator,null))}const dhe=_n.default.createContext({remoteErrorView:F0,remoteLoadingView:V0});var fhe=dhe;ar.default=fhe;Object.defineProperty(kr,"__esModule",{value:!0});kr.default=W0;kr.renderHTMLConfigPropTypes=void 0;var Vt=U0(L),me=yt(Go),phe=yt(vt),hhe=yt(Te),ghe=yt(Rt),mhe=yt(Vr),vhe=yt(xt),ri=U0(ar),yhe=yt(ut),_he=Ie,bhe=yt(Et),She=yt(Hn);function yt(e){return e&&e.__esModule?e:{default:e}}function z0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(z0=function(n){return n?r:t})(e)}function U0(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=z0(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}const whe={TChildrenRenderer:vhe.default,TNodeChildrenRenderer:mhe.default},B0={bypassAnonymousTPhrasingNodes:me.default.bool,defaultTextProps:me.default.object,defaultViewProps:me.default.object,enableExperimentalBRCollapsing:me.default.bool,enableExperimentalGhostLinesPrevention:me.default.bool,enableExperimentalMarginCollapsing:me.default.bool,remoteErrorView:me.default.func,remoteLoadingView:me.default.func,debug:me.default.bool,computeEmbeddedMaxWidth:me.default.func,renderersProps:me.default.object,WebView:me.default.any,GenericPressable:me.default.any,defaultWebViewProps:me.default.object,pressableHightlightColor:me.default.string,customListStyleSpecs:me.default.object,renderers:me.default.object,provideEmbeddedHeaders:me.default.func};kr.renderHTMLConfigPropTypes=B0;function W0(e){const{remoteErrorView:t,remoteLoadingView:r,renderersProps:n,children:o,renderers:i,...a}=e,c=(0,_he.useAmbientTRenderEngine)(),l=(0,bhe.default)({prop:"remoteErrorView or remoteLoadingView"}),d=(0,Vt.useMemo)(()=>({remoteErrorView:t||ri.defaultRenderError,remoteLoadingView:r||ri.defaultRenderLoading}),[t,r,l]);return Vt.default.createElement(yhe.default,{renderers:i,elementModels:c.getHTMLElementsModels()},Vt.default.createElement(hhe.default,a,Vt.default.createElement(She.default,null,Vt.default.createElement(phe.default,{renderersProps:n},Vt.default.createElement(ghe.default.Provider,{value:whe},Vt.default.createElement(ri.default.Provider,{value:d},o))))))}W0.propTypes=B0;var Qt={};function $he(e){for(var t=[],r;!(r=e.next()).done;)t.push(r.value);return t}var Phe=$he;function xhe(e,t,r){for(var n=0,o=r.length;n=0;)r=Uu[n],zu(r,t)&&!Dhe(o,r)&&(o[o.length]=r),n-=1;return o}),khe=Ihe,Fhe=er,Vhe=Fhe(function(t){return t===null?"Null":t===void 0?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}),zhe=Vhe,Wu=Phe,Hu=Che,Uhe=Ehe,Bhe=kn,ni=Rhe,ju=khe,Gu=zhe;function Qu(e,t,r,n){var o=Wu(e),i=Wu(t);function a(c,l){return zs(c,l,r.slice(),n.slice())}return!Hu(function(c,l){return!Hu(a,l,c)},i,o)}function zs(e,t,r,n){if(ni(e,t))return!0;var o=Gu(e);if(o!==Gu(t)||e==null||t==null)return!1;if(typeof e["fantasy-land/equals"]=="function"||typeof t["fantasy-land/equals"]=="function")return typeof e["fantasy-land/equals"]=="function"&&e["fantasy-land/equals"](t)&&typeof t["fantasy-land/equals"]=="function"&&t["fantasy-land/equals"](e);if(typeof e.equals=="function"||typeof t.equals=="function")return typeof e.equals=="function"&&e.equals(t)&&typeof t.equals=="function"&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if(typeof e.constructor=="function"&&Uhe(e.constructor)==="Promise")return e===t;break;case"Boolean":case"Number":case"String":if(!(typeof e==typeof t&&ni(e.valueOf(),t.valueOf())))return!1;break;case"Date":if(!ni(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(!(e.source===t.source&&e.global===t.global&&e.ignoreCase===t.ignoreCase&&e.multiline===t.multiline&&e.sticky===t.sticky&&e.unicode===t.unicode))return!1;break}for(var i=r.length-1;i>=0;){if(r[i]===e)return n[i]===t;i-=1}switch(o){case"Map":return e.size!==t.size?!1:Qu(e.entries(),t.entries(),r.concat([e]),n.concat([t]));case"Set":return e.size!==t.size?!1:Qu(e.values(),t.values(),r.concat([e]),n.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var a=ju(e);if(a.length!==ju(t).length)return!1;var c=r.concat([e]),l=n.concat([t]);for(i=a.length-1;i>=0;){var d=a[i];if(!(Bhe(d,t)&&zs(t[d],e[d],c,l)))return!1;i-=1}return!0}var Whe=zs,Hhe=Mt,jhe=Whe,Ghe=Hhe(function(t,r){return jhe(t,r,[],[])}),Qhe=Ghe,Xr={};Object.defineProperty(Xr,"__esModule",{value:!0});Xr.default=void 0;var Xhe=L;const Yhe=(0,Xhe.createContext)({});var Zhe=Yhe;Xr.default=Zhe;var Us={};Object.defineProperty(Us,"__esModule",{value:!0});Us.default=Jhe;function Jhe(e){return"uri"in e&&typeof e.uri=="string"}var Bs={},to={},Ws={};Object.defineProperty(Ws,"__esModule",{value:!0});Ws.default=o6e;var No=L,Khe=r6e(Xr),e6e=Te,t6e=Ie;function r6e(e){return e&&e.__esModule?e:{default:e}}function n6e(e){const{onTTreeChange:t}=(0,No.useContext)(Khe.default),{debug:r}=(0,e6e.useSharedProps)(),n=(0,No.useRef)(0);(0,No.useEffect)(()=>{t==null||t.call(null,e)},[e,t,r])}function o6e(e){const{document:t}=e,r=(0,t6e.useAmbientTRenderEngine)(),n=(0,No.useMemo)(()=>typeof t=="string"?r.buildTTree(t):r.buildTTreeFromDoc(t),[t,r]);return n6e(n),n}var $a={};Object.defineProperty($a,"__esModule",{value:!0});$a.default=void 0;var un=s6e(L),a6e=H0(Nt),i6e=H0(Be);function H0(e){return e&&e.__esModule?e:{default:e}}function j0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(j0=function(n){return n?r:t})(e)}function s6e(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=j0(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}const c6e=(0,un.memo)(({tdoc:e,baseUrl:t,onDocumentMetadataLoaded:r})=>{const n=(0,un.useMemo)(()=>{const{baseHref:o,baseTarget:i,lang:a,links:c,meta:l,title:d,dir:p}=e.context;return{baseTarget:i,baseUrl:t??o,lang:a,dir:p,links:c,meta:l,title:d}},[e.context,t]);return(0,un.useEffect)(()=>{r==null||r.call(null,n)},[r,n]),un.default.createElement(a6e.default,{value:n},un.default.createElement(i6e.default,{renderIndex:0,renderLength:1,tnode:e}))});var u6e=c6e;$a.default=u6e;Object.defineProperty(to,"__esModule",{value:!0});to.default=h6e;var Xu=p6e(L),l6e=Hs(Xr),d6e=Hs(Ws),f6e=Hs($a);function Hs(e){return e&&e.__esModule?e:{default:e}}function G0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(G0=function(n){return n?r:t})(e)}function p6e(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=G0(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function h6e(e){const t=(0,d6e.default)(e),{onDocumentMetadataLoaded:r}=(0,Xu.useContext)(l6e.default);return Xu.default.createElement(f6e.default,{tdoc:t,baseUrl:e.baseUrl,onDocumentMetadataLoaded:r})}Object.defineProperty(Bs,"__esModule",{value:!0});Bs.default=b6e;var gn=v6e(L),g6e=Q0(to),m6e=Q0(ar);function Q0(e){return e&&e.__esModule?e:{default:e}}function X0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(X0=function(n){return n?r:t})(e)}function v6e(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=X0(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}const Y0={error:!0,resolvedHTML:null};async function y6e(e,{body:t,headers:r,method:n}){const o=await fetch(e,{body:t,headers:r,method:n});return o.ok?{resolvedHTML:await o.text(),error:!1}:Y0}function _6e({source:e,onHTMLLoaded:t}){const[r,n]=(0,gn.useState)({error:!1,resolvedHTML:null}),{error:o}=r;return(0,gn.useEffect)(()=>{let i=!1;return o||(n({error:!1,resolvedHTML:null}),y6e(e.uri,{body:e.body,headers:e.headers,method:e.method}).then(a=>{!i&&n(a)}).catch(()=>{!i&&n(Y0)})),()=>{i=!0}},[o,e.uri,e.body,e.headers,e.method]),(0,gn.useEffect)(()=>{r.resolvedHTML&&(t==null||t.call(null,r.resolvedHTML))},[r.resolvedHTML,t]),r}function b6e(e){const{remoteErrorView:t,remoteLoadingView:r}=(0,gn.useContext)(m6e.default),{resolvedHTML:n,error:o}=_6e(e);return o?t.call(null,e.source):n===null?r.call(null,e.source):gn.default.createElement(g6e.default,{document:n,baseUrl:e.source.uri})}var js={};Object.defineProperty(js,"__esModule",{value:!0});js.default=x6e;var Z0=$6e(L),S6e=w6e(to);function w6e(e){return e&&e.__esModule?e:{default:e}}function J0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(J0=function(n){return n?r:t})(e)}function $6e(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=J0(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function P6e({source:e,onHTMLLoaded:t}){const r=e.html;return(0,Z0.useEffect)(()=>{r&&(t==null||t.call(null,r))},[r,t]),e}function x6e(e){const{html:t}=P6e(e);return Z0.default.createElement(S6e.default,{document:t,baseUrl:e.source.baseUrl})}var Gs={};Object.defineProperty(Gs,"__esModule",{value:!0});Gs.default=E6e;var C6e=K0(L),T6e=K0(to);function K0(e){return e&&e.__esModule?e:{default:e}}function E6e(e){return C6e.default.createElement(T6e.default,{document:e.source.dom,baseUrl:e.source.baseUrl})}var Qs={};Object.defineProperty(Qs,"__esModule",{value:!0});Qs.default=M6e;function M6e(e){return"dom"in e&&typeof e.dom=="object"&&!!e.dom}Object.defineProperty(Qt,"__esModule",{value:!0});Qt.default=Qt.renderSourcePropTypes=void 0;var R6e=et(Qhe),bt=V6e(L),N6e=ie,Pe=et(Go),O6e=et(Xr),L6e=et(Us),A6e=et(Bs),q6e=et(js),D6e=et(Gs);et(Sn);var I6e=et(Bn),k6e=et(Qs),F6e=et(Et);function ep(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(ep=function(n){return n?r:t})(e)}function V6e(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=ep(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function et(e){return e&&e.__esModule?e:{default:e}}const tp={source:Pe.default.oneOfType([Pe.default.shape({html:Pe.default.string.isRequired,baseUrl:Pe.default.string}),Pe.default.shape({dom:Pe.default.object.isRequired,baseUrl:Pe.default.string}),Pe.default.shape({uri:Pe.default.string.isRequired,method:Pe.default.string,body:Pe.default.any,headers:Pe.default.object})]),onTTreeChange:Pe.default.func,onHTMLLoaded:Pe.default.func,onDocumentMetadataLoaded:Pe.default.func,contentWidth:Pe.default.number};Qt.renderSourcePropTypes=tp;function z6e(e){return!e||typeof e.uri!="string"&&typeof e.html!="string"&&!e.dom}function U6e({source:e,...t}){return z6e(e)?null:(0,L6e.default)(e)?bt.default.createElement(A6e.default,{source:e,...t}):(0,k6e.default)(e)?bt.default.createElement(D6e.default,{source:e,...t}):bt.default.createElement(q6e.default,{source:e,...t})}function Yu(e,t){if(!(0,R6e.default)(Object.keys(e),Object.keys(t)))return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}const rp=(0,bt.memo)(function({onDocumentMetadataLoaded:t,onTTreeChange:r,contentWidth:n,...o}){const i=(0,F6e.default)({prop:"onDocumentMetadataLoaded or onTTreeChange"}),a=(0,bt.useMemo)(()=>({onDocumentMetadataLoaded:t,onTTreeChange:r}),[t,r,i]);return bt.default.createElement(O6e.default.Provider,{value:a},bt.default.createElement(I6e.default.Provider,{value:n||N6e.Dimensions.get("window").width},bt.default.createElement(U6e,o)))},({source:e,...t},{source:r,...n})=>Yu(e,r)&&Yu(t,n));rp.propTypes=tp;var B6e=rp;Qt.default=B6e;Object.defineProperty(Ri,"__esModule",{value:!0});Ri.default=Q6e;var Co=ro(L),W6e=ro(Qo),H6e=ro(Ie),j6e=ro(kr),G6e=ro(Qt);function ro(e){return e&&e.__esModule?e:{default:e}}function Q6e(e){const{source:t,onHTMLLoaded:r,onTTreeChange:n,onDocumentMetadataLoaded:o,contentWidth:i,...a}=e;return Co.default.createElement(W6e.default,e,Co.default.createElement(H6e.default,a,Co.default.createElement(j6e.default,a,Co.default.createElement(G6e.default,{source:t,onHTMLLoaded:r,onTTreeChange:n,onDocumentMetadataLoaded:o,contentWidth:i}))))}var np={};Object.defineProperty(np,"__esModule",{value:!0});var op={};Object.defineProperty(op,"__esModule",{value:!0});var Xs={};Object.defineProperty(Xs,"__esModule",{value:!0});Xs.default=n7e;var X6e=Ys(Ur),Y6e=Ys(ta),Z6e=Ys(ga),J6e=zr,K6e=nr,e7e=Hr,t7e=Qr;function Ys(e){return e&&e.__esModule?e:{default:e}}const Ti={img:{hook:K6e.useIMGElementProps,Element:X6e.default},ol:{hook:e7e.useOLElementProps,Element:Y6e.default},ul:{hook:t7e.useULElementProps,Element:Z6e.default},a:{hook:J6e.useAElementProps,Element:void 0}};function r7e(e){return e in Ti}function n7e(e,t){const{TDefaultRenderer:r,...n}=t;return r7e(e)?{Renderer:Ti[e].Element||r,rendererProps:Ti[e].hook(t)}:{Renderer:r,rendererProps:n}}var Zs={},o7e=Mt,a7e=o7e(function(t,r){for(var n={},o={},i=0,a=t.length;i`]/g,n),t.subset||t.escapeOnly)return e;return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,r).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,n);function r(o,i,a){return t.format((o.charCodeAt(0)-55296)*1024+o.charCodeAt(1)-56320+65536,a.charCodeAt(i+2),t)}function n(o,i,a){return t.format(o.charCodeAt(0),a.charCodeAt(i+1),t)}}function m7e(e){for(var t=[],r=-1;++r",Rye="Œ",Nye="œ",Oye="Š",Lye="š",Aye="Ÿ",qye="ˆ",Dye="˜",Iye=" ",kye=" ",Fye=" ",Vye="‌",zye="‍",Uye="‎",Bye="‏",Wye="–",Hye="—",jye="‘",Gye="’",Qye="‚",Xye="“",Yye="”",Zye="„",Jye="†",Kye="‡",e_e="‰",t_e="‹",r_e="›",n_e="€",o_e={nbsp:wge,iexcl:$ge,cent:Pge,pound:xge,curren:Cge,yen:Tge,brvbar:Ege,sect:Mge,uml:Rge,copy:Nge,ordf:Oge,laquo:Lge,not:Age,shy:qge,reg:Dge,macr:Ige,deg:kge,plusmn:Fge,sup2:Vge,sup3:zge,acute:Uge,micro:Bge,para:Wge,middot:Hge,cedil:jge,sup1:Gge,ordm:Qge,raquo:Xge,frac14:Yge,frac12:Zge,frac34:Jge,iquest:Kge,Agrave:eme,Aacute:tme,Acirc:rme,Atilde:nme,Auml:ome,Aring:ame,AElig:ime,Ccedil:sme,Egrave:cme,Eacute:ume,Ecirc:lme,Euml:dme,Igrave:fme,Iacute:pme,Icirc:hme,Iuml:gme,ETH:mme,Ntilde:vme,Ograve:yme,Oacute:_me,Ocirc:bme,Otilde:Sme,Ouml:wme,times:$me,Oslash:Pme,Ugrave:xme,Uacute:Cme,Ucirc:Tme,Uuml:Eme,Yacute:Mme,THORN:Rme,szlig:Nme,agrave:Ome,aacute:Lme,acirc:Ame,atilde:qme,auml:Dme,aring:Ime,aelig:kme,ccedil:Fme,egrave:Vme,eacute:zme,ecirc:Ume,euml:Bme,igrave:Wme,iacute:Hme,icirc:jme,iuml:Gme,eth:Qme,ntilde:Xme,ograve:Yme,oacute:Zme,ocirc:Jme,otilde:Kme,ouml:eve,divide:tve,oslash:rve,ugrave:nve,uacute:ove,ucirc:ave,uuml:ive,yacute:sve,thorn:cve,yuml:uve,fnof:lve,Alpha:dve,Beta:fve,Gamma:pve,Delta:hve,Epsilon:gve,Zeta:mve,Eta:vve,Theta:yve,Iota:_ve,Kappa:bve,Lambda:Sve,Mu:wve,Nu:$ve,Xi:Pve,Omicron:xve,Pi:Cve,Rho:Tve,Sigma:Eve,Tau:Mve,Upsilon:Rve,Phi:Nve,Chi:Ove,Psi:Lve,Omega:Ave,alpha:qve,beta:Dve,gamma:Ive,delta:kve,epsilon:Fve,zeta:Vve,eta:zve,theta:Uve,iota:Bve,kappa:Wve,lambda:Hve,mu:jve,nu:Gve,xi:Qve,omicron:Xve,pi:Yve,rho:Zve,sigmaf:Jve,sigma:Kve,tau:e4e,upsilon:t4e,phi:r4e,chi:n4e,psi:o4e,omega:a4e,thetasym:i4e,upsih:s4e,piv:c4e,bull:u4e,hellip:l4e,prime:d4e,Prime:f4e,oline:p4e,frasl:h4e,weierp:g4e,image:m4e,real:v4e,trade:y4e,alefsym:_4e,larr:b4e,uarr:S4e,rarr:w4e,darr:$4e,harr:P4e,crarr:x4e,lArr:C4e,uArr:T4e,rArr:E4e,dArr:M4e,hArr:R4e,forall:N4e,part:O4e,exist:L4e,empty:A4e,nabla:q4e,isin:D4e,notin:I4e,ni:k4e,prod:F4e,sum:V4e,minus:z4e,lowast:U4e,radic:B4e,prop:W4e,infin:H4e,ang:j4e,and:G4e,or:Q4e,cap:X4e,cup:Y4e,int:Z4e,there4:J4e,sim:K4e,cong:eye,asymp:tye,ne:rye,equiv:nye,le:oye,ge:aye,sub:iye,sup:sye,nsub:cye,sube:uye,supe:lye,oplus:dye,otimes:fye,perp:pye,sdot:hye,lceil:gye,rceil:mye,lfloor:vye,rfloor:yye,lang:_ye,rang:bye,loz:Sye,spades:wye,clubs:$ye,hearts:Pye,diams:xye,quot:Cye,amp:Tye,lt:Eye,gt:Mye,OElig:Rye,oelig:Nye,Scaron:Oye,scaron:Lye,Yuml:Aye,circ:qye,tilde:Dye,ensp:Iye,emsp:kye,thinsp:Fye,zwnj:Vye,zwj:zye,lrm:Uye,rlm:Bye,ndash:Wye,mdash:Hye,lsquo:jye,rsquo:Gye,sbquo:Qye,ldquo:Xye,rdquo:Yye,bdquo:Zye,dagger:Jye,Dagger:Kye,permil:e_e,lsaquo:t_e,rsaquo:r_e,euro:n_e};var Zu=o_e,cp={},oi,a_e=cp;for(oi in Zu)cp[Zu[oi]]=oi;var i_e={}.hasOwnProperty;const s_e=["cent","copy","divide","gt","lt","not","para","times"];var c_e=d_e,u_e=Sge,Ju=a_e,Ku=Ks,el=i_e,l_e=s_e;function d_e(e,t,r,n){var o=Ku(e),i,a;return el.call(Ju,o)?(i=Ju[o],a="&"+i,r&&el.call(u_e,i)&&l_e.indexOf(i)===-1&&(!n||t&&t!==61&&/[^\da-z]/i.test(Ku(t)))?a:a+";"):""}var up=g_e,f_e=v7e,p_e=b7e,h_e=c_e;function g_e(e,t,r){var n,o,i;return(r.useNamedReferences||r.useShortestReferences)&&(n=h_e(e,t,r.omitOptionalSemicolons,r.attribute)),(r.useShortestReferences||!n)&&(o=f_e(e,t,r.omitOptionalSemicolons),r.useShortestReferences&&(i=p_e(e,t,r.omitOptionalSemicolons),i.length{r.push(`${n}="${(0,dp.default)(`${t[n]}`)}"`)}),`<${e}${r.length?" ":""}${r.join(" ")}>`}function fp(e,t,r=0){let n="";if((0,tl.isDomElement)(e)){const o=e.children.reduce((i,a)=>{const c=fp(a,t,r+1);return`${i}${c}`},"");n=`${M_e(e.tagName,e.attribs)}${o}`}else(0,tl.isDomText)(e)&&(n=(0,dp.default)(e.data));return typeof t=="function"&&t(e,r,n),n}var ec={};Object.defineProperty(ec,"__esModule",{value:!0});ec.default=q_e;var R_e=Pa(Br),N_e=B1,O_e=Pa(U1),L_e=Pa(H1),A_e=Pa(z1);function Pa(e){return e&&e.__esModule?e:{default:e}}function q_e(e){const{alt:t,altColor:r,source:n,contentWidth:o,computeMaxWidth:i,objectFit:a,initialDimensions:c=R_e.default,cachedNaturalDimensions:l}=e,{flatStyle:d,specifiedDimensions:p}=(0,L_e.default)(e),v=(0,A_e.default)({specifiedDimensions:p,source:n}),h=(0,O_e.default)({flatStyle:d,naturalDimensions:l,specifiedDimensions:p,computeMaxWidth:i,contentWidth:o});return(0,N_e.getIMGState)({error:null,concreteDimensions:h,containerStyle:d,initialDimensions:c,objectFit:a,source:v,alt:t,altColor:r})}var pp={};Object.defineProperty(pp,"__esModule",{value:!0});(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t={RenderHTML:!0,defaultHTMLElementModels:!0,isDomElement:!0,isDomText:!0,Document:!0,Element:!0,Node:!0,Text:!0,NodeWithChildren:!0,HTMLContentModel:!0,HTMLElementModel:!0,TRenderEngine:!0,TChildrenRenderer:!0,TNodeChildrenRenderer:!0,useTNodeChildrenProps:!0,TNodeRenderer:!0,TRenderEngineProvider:!0,defaultFallbackFonts:!0,useAmbientTRenderEngine:!0,RenderHTMLConfigProvider:!0,RenderHTMLSource:!0,useInternalRenderer:!0,useNormalizedUrl:!0,getNativePropsForTNode:!0,collapseTopMarginForChild:!0,splitBoxModelStyle:!0,buildTREFromConfig:!0,useComputeMaxWidthForTag:!0,useSharedProps:!0,useRendererProps:!0,useDocumentMetadata:!0,useContentWidth:!0,domNodeToHTMLString:!0,defaultSystemFonts:!0,defaultListStyleSpecs:!0,useIMGElementState:!0,useIMGElementStateWithCache:!0,IMGElement:!0,IMGElementContainer:!0,IMGElementContentError:!0,IMGElementContentLoading:!0,IMGElementContentSuccess:!0,IMGElementContentAlt:!0,useIMGElementProps:!0};Object.defineProperty(e,"RenderHTML",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"defaultHTMLElementModels",{enumerable:!0,get:function(){return n.defaultHTMLElementModels}}),Object.defineProperty(e,"isDomElement",{enumerable:!0,get:function(){return n.isDomElement}}),Object.defineProperty(e,"isDomText",{enumerable:!0,get:function(){return n.isDomText}}),Object.defineProperty(e,"Document",{enumerable:!0,get:function(){return n.Document}}),Object.defineProperty(e,"Element",{enumerable:!0,get:function(){return n.Element}}),Object.defineProperty(e,"Node",{enumerable:!0,get:function(){return n.Node}}),Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return n.Text}}),Object.defineProperty(e,"NodeWithChildren",{enumerable:!0,get:function(){return n.NodeWithChildren}}),Object.defineProperty(e,"HTMLContentModel",{enumerable:!0,get:function(){return n.HTMLContentModel}}),Object.defineProperty(e,"HTMLElementModel",{enumerable:!0,get:function(){return n.HTMLElementModel}}),Object.defineProperty(e,"TRenderEngine",{enumerable:!0,get:function(){return n.TRenderEngine}}),Object.defineProperty(e,"TChildrenRenderer",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"TNodeChildrenRenderer",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"useTNodeChildrenProps",{enumerable:!0,get:function(){return c.useTNodeChildrenProps}}),Object.defineProperty(e,"TNodeRenderer",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"TRenderEngineProvider",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"defaultFallbackFonts",{enumerable:!0,get:function(){return d.defaultFallbackFonts}}),Object.defineProperty(e,"useAmbientTRenderEngine",{enumerable:!0,get:function(){return d.useAmbientTRenderEngine}}),Object.defineProperty(e,"RenderHTMLConfigProvider",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"RenderHTMLSource",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"useInternalRenderer",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"useNormalizedUrl",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"getNativePropsForTNode",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"collapseTopMarginForChild",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"splitBoxModelStyle",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(e,"buildTREFromConfig",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(e,"useComputeMaxWidthForTag",{enumerable:!0,get:function(){return H.useComputeMaxWidthForTag}}),Object.defineProperty(e,"useSharedProps",{enumerable:!0,get:function(){return H.useSharedProps}}),Object.defineProperty(e,"useRendererProps",{enumerable:!0,get:function(){return k.useRendererProps}}),Object.defineProperty(e,"useDocumentMetadata",{enumerable:!0,get:function(){return F.useDocumentMetadata}}),Object.defineProperty(e,"useContentWidth",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(e,"domNodeToHTMLString",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(e,"defaultSystemFonts",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(e,"defaultListStyleSpecs",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(e,"useIMGElementState",{enumerable:!0,get:function(){return _e.default}}),Object.defineProperty(e,"useIMGElementStateWithCache",{enumerable:!0,get:function(){return be.default}}),Object.defineProperty(e,"IMGElement",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(e,"IMGElementContainer",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(e,"IMGElementContentError",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"IMGElementContentLoading",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"IMGElementContentSuccess",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"IMGElementContentAlt",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(e,"useIMGElementProps",{enumerable:!0,get:function(){return w.useIMGElementProps}}),e.default=void 0;var r=x(Ri),n=Yo,o=np;Object.keys(o).forEach(function(R){R==="default"||R==="__esModule"||Object.prototype.hasOwnProperty.call(t,R)||R in e&&e[R]===o[R]||Object.defineProperty(e,R,{enumerable:!0,get:function(){return o[R]}})});var i=op;Object.keys(i).forEach(function(R){R==="default"||R==="__esModule"||Object.prototype.hasOwnProperty.call(t,R)||R in e&&e[R]===i[R]||Object.defineProperty(e,R,{enumerable:!0,get:function(){return i[R]}})});var a=x(xt),c=P(Vr),l=x(Be),d=P(Ie),p=x(kr),v=x(Qt),h=x(Xs),N=x(Un),T=x(Wr),E=x(wa),M=x(Zs),D=x(Xo),H=Te,k=vt,F=Nt,z=x(K1),Y=x(Js),oe=x(In),ee=x(Fr),_e=x(V1),be=x(ec),re=x(Ur),te=x(Q1),s=x(Z1),u=x(Y1),f=x(G1),m=x(J1),_=pp;Object.keys(_).forEach(function(R){R==="default"||R==="__esModule"||Object.prototype.hasOwnProperty.call(t,R)||R in e&&e[R]===_[R]||Object.defineProperty(e,R,{enumerable:!0,get:function(){return _[R]}})});var w=nr;function $(R){if(typeof WeakMap!="function")return null;var X=new WeakMap,G=new WeakMap;return($=function(j){return j?G:X})(R)}function P(R,X){if(R&&R.__esModule)return R;if(R===null||typeof R!="object"&&typeof R!="function")return{default:R};var G=$(X);if(G&&G.has(R))return G.get(R);var j={},ue=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var se in R)if(se!=="default"&&Object.prototype.hasOwnProperty.call(R,se)){var ce=ue?Object.getOwnPropertyDescriptor(R,se):null;ce&&(ce.get||ce.set)?Object.defineProperty(j,se,ce):j[se]=R[se]}return j.default=R,G&&G.set(R,j),j}function x(R){return R&&R.__esModule?R:{default:R}}var U=r.default;e.default=U})(cl);const D_e=c9(cl),Ei=({children:e,onPress:t,phraseVariant:r,logAction:n=g9.buttonPress,...o})=>{const i=h9({...o,logAction:n,onEvent:t});return Ue.jsx(p9,{accessibilityRole:"link",color:"link",onPress:i,underline:!0,variant:r,...o,children:e})};try{Ei.displayName="InlineLink",Ei.__docgenInfo={description:"",displayName:"InlineLink",props:{onPress:{defaultValue:null,description:`This function is called on press. -Text intrinsically supports press handling with a default highlight state (which can be disabled with suppressHighlighting).`,name:"onPress",required:!1,type:{name:"(() => void) & ((event: GestureResponderEvent) => void)"}},phraseVariant:{defaultValue:null,description:"",name:"phraseVariant",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"body"'},{value:'"intro"'},{value:'"quote"'},{value:'"extraSmall"'}]}},testID:{defaultValue:null,description:"Used to locate this view in end-to-end tests.",name:"testID",required:!1,type:{name:"string"}},logAction:{defaultValue:{value:"PiwikAction.buttonPress"},description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}const I_e=e=>{const t=[],r=/]*>(.*?)<\/a>/gi;let n,o=0;for(;n=r.exec(e);){const a=n.index,c=n[0],l=e.substring(o,a);l.trim()!==""&&t.push(l),t.push(c),o=a+c.length}const i=e.substring(o);return i.trim()!==""&&t.push(i),t.map(a=>`
${a.trim()}
`).join("")},k_e=e=>/^https?:\/\/([\w-.]+.)?amsterdam\.nl/.test(e),F_e=(e,t)=>{if(!k_e(e))return e;const r=m9.stringify({app_from:1,app_module:t}),[n,o]=e.split("#"),i=o?`#${o}`:"",a=`${n.includes("?")?"&":"?"}${r}`;return`${n}${a}${i}`},V_e=()=>{const e=w9(),{trackOutlink:t}=ol();return L.useCallback(r=>{const n=F_e(r,v9());t(n),P9.openURL(n).catch(()=>{x9.alert("Sorry, deze functie is niet beschikbaar."),e($9.openWebUrl,"useOpenWebUrl.ts",{url:r})})},[e,t])},z_e=()=>{const e=b9(),t=S9(),r=V_e(),{trackOutlink:n}=ol();return L.useCallback(o=>{if(n(o),o.startsWith("mailto:")){const[i,a]=o.substring(7).split("?subject=");e(i,a);return}if(o.startsWith("tel:")){t(o.substring(4));return}r(o)},[e,t,r,n])},U_e=(e,t=[])=>t.reduce((r,{find:n,replace:o})=>r.replace(n,o),e),rl=({content:e,isIntro:t,transformRules:r})=>{const[n,o]=L.useState(0),i=Na(B_e),a=Na(W_e(t)),c=Na(H_e),l=_9(),d=L.useCallback(h=>{o(h.nativeEvent.layout.width)},[]),p=L.useMemo(()=>{if(!e)return;const h=U_e(e,r);return l?I_e(h):h},[e,l,r]),v=L.useMemo(()=>({b:a.boldText,h1:{...a.boldText,...a.titleLevel1,...a.titleMargins},h2:{...a.boldText,...a.titleLevel2,...a.titleMargins},h3:{...a.boldText,...a.titleLevel3,...a.titleMargins},h4:{...a.boldText,...a.titleLevel4,...a.titleMargins},h5:{...a.boldText,...a.titleLevel5,...a.titleMargins},h6:{...a.boldText,...a.titleLevel6,...a.titleMargins},img:a.margins,li:{...a.paragraph},ol:{...a.paragraph,...a.margins},p:{...a.paragraph,...a.margins},strong:a.boldText,ul:a.margins}),[a]);return p?Ue.jsx(Mi,{onLayout:d,children:Ue.jsx(D_e,{baseStyle:i,contentWidth:n,renderers:Z_e,source:{html:p},systemFonts:c,tagsStyles:v})}):null},hp=(e,t=!1)=>t?e.fontSize.intro:e.fontSize.body,gp=(e,t=!1)=>t?e.lineHeight.intro:e.lineHeight.body,B_e=({color:e,text:t})=>({color:e.text.default,fontFamily:t.fontFamily.regular,fontSize:hp(t),lineHeight:gp(t)}),W_e=e=>({text:t})=>{const r=gp(t,e),n=T9.OS==="android"?"normal":void 0;return{margins:{marginTop:0,marginBottom:r},paragraph:{fontSize:hp(t,e),lineHeight:r},boldText:{fontFamily:t.fontFamily.bold,fontWeight:n},titleLevel1:{fontSize:t.fontSize.h1,lineHeight:t.lineHeight.h1},titleLevel2:{fontSize:t.fontSize.h2,lineHeight:t.lineHeight.h2},titleLevel3:{fontSize:t.fontSize.h3,lineHeight:t.lineHeight.h3},titleLevel4:{fontSize:t.fontSize.h4,lineHeight:t.lineHeight.h4},titleLevel5:{fontSize:t.fontSize.h5,lineHeight:t.lineHeight.h5},titleLevel6:{fontSize:t.fontSize.h6,lineHeight:t.lineHeight.h6},titleMargins:{marginTop:0,marginBottom:r/2}}},H_e=({text:e})=>[e.fontFamily.bold,e.fontFamily.regular],j_e=({TNodeChildrenRenderer:e,...t})=>Ue.jsx(e,{...t}),G_e=e=>nl.create({marker:{paddingTop:2*e}}),Q_e=()=>{const{fontScale:e}=C9(),t=G_e(e);return Ue.jsx(y9,{additionalStyles:t.marker,marker:"square",testID:"ListItemMarker"})},X_e=e=>{var n;const{TDefaultRenderer:t,TNodeChildrenRenderer:r}=e;return((n=e.tnode.parent)==null?void 0:n.tagName)==="ul"?Ue.jsxs(f9,{children:[Ue.jsx(Q_e,{}),Ue.jsx(d9,{flex:1,children:Ue.jsx(r,{...e})})]}):Ue.jsx(t,{...e})},Y_e=e=>{const{href:t}=e.tnode.attributes,r=z_e(),{TNodeChildrenRenderer:n}=e;return Ue.jsx(Ei,{onPress:()=>r(t),testID:"HtmlRendererAInlineLink",children:Ue.jsx(n,{...e})})},Z_e={ul:j_e,li:X_e,a:Y_e};try{rl.displayName="HtmlContent",rl.__docgenInfo={description:"Renders HTML content, applying the typographic design.",displayName:"HtmlContent",props:{content:{defaultValue:null,description:"",name:"content",required:!0,type:{name:"string | undefined"}},isIntro:{defaultValue:null,description:"",name:"isIntro",required:!1,type:{name:"boolean"}},transformRules:{defaultValue:null,description:"",name:"transformRules",required:!1,type:{name:"HtmlTransformRule[]"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{rl as H}; + */(function(e){(function(t,r){e.exports?e.exports=r(xie(),Cie(),Tie()):t.URI=r(t.punycode,t.IPv6,t.SecondLevelDomains,t)})(I,function(t,r,n,o){var i=o&&o.URI;function a(s,u){var f=arguments.length>=1,m=arguments.length>=2;if(!(this instanceof a))return f?m?new a(s,u):new a(s):new a;if(s===void 0){if(f)throw new TypeError("undefined is not a valid argument for URI");typeof location<"u"?s=location.href+"":s=""}if(s===null&&f)throw new TypeError("null is not a valid argument for URI");return this.href(s),u!==void 0?this.absoluteTo(u):this}function c(s){return/^[0-9]+$/.test(s)}a.version="1.19.11";var l=a.prototype,d=Object.prototype.hasOwnProperty;function p(s){return s.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function v(s){return s===void 0?"Undefined":String(Object.prototype.toString.call(s)).slice(8,-1)}function h(s){return v(s)==="Array"}function N(s,u){var f={},m,_;if(v(u)==="RegExp")f=null;else if(h(u))for(m=0,_=u.length;m<_;m++)f[u[m]]=!0;else f[u]=!0;for(m=0,_=s.length;m<_;m++){var w=f&&f[s[m]]!==void 0||!f&&u.test(s[m]);w&&(s.splice(m,1),_--,m--)}return s}function T(s,u){var f,m;if(h(u)){for(f=0,m=u.length;f]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/ig,a.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},a.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,a.ascii_tab_whitespace=/[\u0009\u000A\u000D]+/g,a.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},a.hostProtocols=["http","https"],a.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,a.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},a.getDomAttribute=function(s){if(!(!s||!s.nodeName)){var u=s.nodeName.toLowerCase();if(!(u==="input"&&s.type!=="image"))return a.domAttributes[u]}};function D(s){return escape(s)}function H(s){return encodeURIComponent(s).replace(/[!'()*]/g,D).replace(/\*/g,"%2A")}a.encode=H,a.decode=decodeURIComponent,a.iso8859=function(){a.encode=escape,a.decode=unescape},a.unicode=function(){a.encode=H,a.decode=decodeURIComponent},a.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/ig,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/ig,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/ig,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},a.encodeQuery=function(s,u){var f=a.encode(s+"");return u===void 0&&(u=a.escapeQuerySpace),u?f.replace(/%20/g,"+"):f},a.decodeQuery=function(s,u){s+="",u===void 0&&(u=a.escapeQuerySpace);try{return a.decode(u?s.replace(/\+/g,"%20"):s)}catch{return s}};var k={encode:"encode",decode:"decode"},F,z=function(s,u){return function(f){try{return a[u](f+"").replace(a.characters[s][u].expression,function(m){return a.characters[s][u].map[m]})}catch{return f}}};for(F in k)a[F+"PathSegment"]=z("pathname",k[F]),a[F+"UrnPathSegment"]=z("urnpath",k[F]);var Y=function(s,u,f){return function(m){var _;f?_=function(x){return a[u](a[f](x))}:_=a[u];for(var w=(m+"").split(s),$=0,P=w.length;$-1&&(u.fragment=s.substring(f+1)||null,s=s.substring(0,f)),f=s.indexOf("?"),f>-1&&(u.query=s.substring(f+1)||null,s=s.substring(0,f)),s=s.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://"),s=s.replace(/^[/\\]{2,}/i,"//"),s.substring(0,2)==="//"?(u.protocol=null,s=s.substring(2),s=a.parseAuthority(s,u)):(f=s.indexOf(":"),f>-1&&(u.protocol=s.substring(0,f)||null,u.protocol&&!u.protocol.match(a.protocol_expression)?u.protocol=void 0:s.substring(f+1,f+3).replace(/\\/g,"/")==="//"?(s=s.substring(f+3),s=a.parseAuthority(s,u)):(s=s.substring(f+1),u.urn=!0))),u.path=s,u},a.parseHost=function(s,u){s||(s=""),s=s.replace(/\\/g,"/");var f=s.indexOf("/"),m,_;if(f===-1&&(f=s.length),s.charAt(0)==="[")m=s.indexOf("]"),u.hostname=s.substring(1,m)||null,u.port=s.substring(m+2,f)||null,u.port==="/"&&(u.port=null);else{var w=s.indexOf(":"),$=s.indexOf("/"),P=s.indexOf(":",w+1);P!==-1&&($===-1||P<$)?(u.hostname=s.substring(0,f)||null,u.port=null):(_=s.substring(0,f).split(":"),u.hostname=_[0]||null,u.port=_[1]||null)}return u.hostname&&s.substring(f).charAt(0)!=="/"&&(f++,s="/"+s),u.preventInvalidHostname&&a.ensureValidHostname(u.hostname,u.protocol),u.port&&a.ensureValidPort(u.port),s.substring(f)||"/"},a.parseAuthority=function(s,u){return s=a.parseUserinfo(s,u),a.parseHost(s,u)},a.parseUserinfo=function(s,u){var f=s,m=s.indexOf("\\");m!==-1&&(s=s.replace(/\\/g,"/"));var _=s.indexOf("/"),w=s.lastIndexOf("@",_>-1?_:s.length-1),$;return w>-1&&(_===-1||w<_)?($=s.substring(0,w).split(":"),u.username=$[0]?a.decode($[0]):null,$.shift(),u.password=$[0]?a.decode($.join(":")):null,s=f.substring(w+1)):(u.username=null,u.password=null),s},a.parseQuery=function(s,u){if(!s)return{};if(s=s.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,""),!s)return{};for(var f={},m=s.split("&"),_=m.length,w,$,P,x=0;x<_;x++)w=m[x].split("="),$=a.decodeQuery(w.shift(),u),P=w.length?a.decodeQuery(w.join("="),u):null,$!=="__proto__"&&(d.call(f,$)?((typeof f[$]=="string"||f[$]===null)&&(f[$]=[f[$]]),f[$].push(P)):f[$]=P);return f},a.build=function(s){var u="",f=!1;return s.protocol&&(u+=s.protocol+":"),!s.urn&&(u||s.hostname)&&(u+="//",f=!0),u+=a.buildAuthority(s)||"",typeof s.path=="string"&&(s.path.charAt(0)!=="/"&&f&&(u+="/"),u+=s.path),typeof s.query=="string"&&s.query&&(u+="?"+s.query),typeof s.fragment=="string"&&s.fragment&&(u+="#"+s.fragment),u},a.buildHost=function(s){var u="";if(s.hostname)a.ip6_expression.test(s.hostname)?u+="["+s.hostname+"]":u+=s.hostname;else return"";return s.port&&(u+=":"+s.port),u},a.buildAuthority=function(s){return a.buildUserinfo(s)+a.buildHost(s)},a.buildUserinfo=function(s){var u="";return s.username&&(u+=a.encode(s.username)),s.password&&(u+=":"+a.encode(s.password)),u&&(u+="@"),u},a.buildQuery=function(s,u,f){var m="",_,w,$,P;for(w in s)if(w!=="__proto__"&&d.call(s,w))if(h(s[w]))for(_={},$=0,P=s[w].length;$-1?G=G.slice(0,j)+G.slice(j).replace(w,""):G=G.replace(w,""),!(G.length<=x[0].length)&&!(f.ignore&&f.ignore.test(G))){X=B+G.length;var ce=u(G,B,X,s);if(ce===void 0){m.lastIndex=X;continue}ce=String(ce),s=s.slice(0,B)+ce+s.slice(X),m.lastIndex=B+ce.length}}return m.lastIndex=0,s},a.ensureValidHostname=function(s,u){var f=!!s,m=!!u,_=!1;if(m&&(_=T(a.hostProtocols,u)),_&&!f)throw new TypeError("Hostname cannot be empty, if protocol is "+u);if(s&&s.match(a.invalid_hostname_characters)){if(!t)throw new TypeError('Hostname "'+s+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(t.toASCII(s).match(a.invalid_hostname_characters))throw new TypeError('Hostname "'+s+'" contains characters other than [A-Z0-9.-:_]')}},a.ensureValidPort=function(s){if(s){var u=Number(s);if(!(c(u)&&u>0&&u<65536))throw new TypeError('Port "'+s+'" is not a valid port')}},a.noConflict=function(s){if(s){var u={URI:this.noConflict()};return o.URITemplate&&typeof o.URITemplate.noConflict=="function"&&(u.URITemplate=o.URITemplate.noConflict()),o.IPv6&&typeof o.IPv6.noConflict=="function"&&(u.IPv6=o.IPv6.noConflict()),o.SecondLevelDomains&&typeof o.SecondLevelDomains.noConflict=="function"&&(u.SecondLevelDomains=o.SecondLevelDomains.noConflict()),u}else o.URI===this&&(o.URI=i);return this},l.build=function(s){return s===!0?this._deferred_build=!0:(s===void 0||this._deferred_build)&&(this._string=a.build(this._parts),this._deferred_build=!1),this},l.clone=function(){return new a(this)},l.valueOf=l.toString=function(){return this.build(!1)._string};function oe(s){return function(u,f){return u===void 0?this._parts[s]||"":(this._parts[s]=u||null,this.build(!f),this)}}function ee(s,u){return function(f,m){return f===void 0?this._parts[s]||"":(f!==null&&(f=f+"",f.charAt(0)===u&&(f=f.substring(1))),this._parts[s]=f,this.build(!m),this)}}l.protocol=oe("protocol"),l.username=oe("username"),l.password=oe("password"),l.hostname=oe("hostname"),l.port=oe("port"),l.query=ee("query","?"),l.fragment=ee("fragment","#"),l.search=function(s,u){var f=this.query(s,u);return typeof f=="string"&&f.length?"?"+f:f},l.hash=function(s,u){var f=this.fragment(s,u);return typeof f=="string"&&f.length?"#"+f:f},l.pathname=function(s,u){if(s===void 0||s===!0){var f=this._parts.path||(this._parts.hostname?"/":"");return s?(this._parts.urn?a.decodeUrnPath:a.decodePath)(f):f}else return this._parts.urn?this._parts.path=s?a.recodeUrnPath(s):"":this._parts.path=s?a.recodePath(s):"/",this.build(!u),this},l.path=l.pathname,l.href=function(s,u){var f;if(s===void 0)return this.toString();this._string="",this._parts=a._parts();var m=s instanceof a,_=typeof s=="object"&&(s.hostname||s.path||s.pathname);if(s.nodeName){var w=a.getDomAttribute(s);s=s[w]||"",_=!1}if(!m&&_&&s.pathname!==void 0&&(s=s.toString()),typeof s=="string"||s instanceof String)this._parts=a.parse(String(s),this._parts);else if(m||_){var $=m?s._parts:s;for(f in $)f!=="query"&&d.call(this._parts,f)&&(this._parts[f]=$[f]);$.query&&this.query($.query,!1)}else throw new TypeError("invalid input");return this.build(!u),this},l.is=function(s){var u=!1,f=!1,m=!1,_=!1,w=!1,$=!1,P=!1,x=!this._parts.urn;switch(this._parts.hostname&&(x=!1,f=a.ip4_expression.test(this._parts.hostname),m=a.ip6_expression.test(this._parts.hostname),u=f||m,_=!u,w=_&&n&&n.has(this._parts.hostname),$=_&&a.idn_expression.test(this._parts.hostname),P=_&&a.punycode_expression.test(this._parts.hostname)),s.toLowerCase()){case"relative":return x;case"absolute":return!x;case"domain":case"name":return _;case"sld":return w;case"ip":return u;case"ip4":case"ipv4":case"inet4":return f;case"ip6":case"ipv6":case"inet6":return m;case"idn":return $;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return P}return null};var _e=l.protocol,be=l.port,re=l.hostname;l.protocol=function(s,u){if(s&&(s=s.replace(/:(\/\/)?$/,""),!s.match(a.protocol_expression)))throw new TypeError('Protocol "'+s+`" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]`);return _e.call(this,s,u)},l.scheme=l.protocol,l.port=function(s,u){return this._parts.urn?s===void 0?"":this:(s!==void 0&&(s===0&&(s=null),s&&(s+="",s.charAt(0)===":"&&(s=s.substring(1)),a.ensureValidPort(s))),be.call(this,s,u))},l.hostname=function(s,u){if(this._parts.urn)return s===void 0?"":this;if(s!==void 0){var f={preventInvalidHostname:this._parts.preventInvalidHostname},m=a.parseHost(s,f);if(m!=="/")throw new TypeError('Hostname "'+s+'" contains characters other than [A-Z0-9.-]');s=f.hostname,this._parts.preventInvalidHostname&&a.ensureValidHostname(s,this._parts.protocol)}return re.call(this,s,u)},l.origin=function(s,u){if(this._parts.urn)return s===void 0?"":this;if(s===void 0){var f=this.protocol(),m=this.authority();return m?(f?f+"://":"")+this.authority():""}else{var _=a(s);return this.protocol(_.protocol()).authority(_.authority()).build(!u),this}},l.host=function(s,u){if(this._parts.urn)return s===void 0?"":this;if(s===void 0)return this._parts.hostname?a.buildHost(this._parts):"";var f=a.parseHost(s,this._parts);if(f!=="/")throw new TypeError('Hostname "'+s+'" contains characters other than [A-Z0-9.-]');return this.build(!u),this},l.authority=function(s,u){if(this._parts.urn)return s===void 0?"":this;if(s===void 0)return this._parts.hostname?a.buildAuthority(this._parts):"";var f=a.parseAuthority(s,this._parts);if(f!=="/")throw new TypeError('Hostname "'+s+'" contains characters other than [A-Z0-9.-]');return this.build(!u),this},l.userinfo=function(s,u){if(this._parts.urn)return s===void 0?"":this;if(s===void 0){var f=a.buildUserinfo(this._parts);return f&&f.substring(0,f.length-1)}else return s[s.length-1]!=="@"&&(s+="@"),a.parseUserinfo(s,this._parts),this.build(!u),this},l.resource=function(s,u){var f;return s===void 0?this.path()+this.search()+this.hash():(f=a.parse(s),this._parts.path=f.path,this._parts.query=f.query,this._parts.fragment=f.fragment,this.build(!u),this)},l.subdomain=function(s,u){if(this._parts.urn)return s===void 0?"":this;if(s===void 0){if(!this._parts.hostname||this.is("IP"))return"";var f=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,f)||""}else{var m=this._parts.hostname.length-this.domain().length,_=this._parts.hostname.substring(0,m),w=new RegExp("^"+p(_));if(s&&s.charAt(s.length-1)!=="."&&(s+="."),s.indexOf(":")!==-1)throw new TypeError("Domains cannot contain colons");return s&&a.ensureValidHostname(s,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(w,s),this.build(!u),this}},l.domain=function(s,u){if(this._parts.urn)return s===void 0?"":this;if(typeof s=="boolean"&&(u=s,s=void 0),s===void 0){if(!this._parts.hostname||this.is("IP"))return"";var f=this._parts.hostname.match(/\./g);if(f&&f.length<2)return this._parts.hostname;var m=this._parts.hostname.length-this.tld(u).length-1;return m=this._parts.hostname.lastIndexOf(".",m-1)+1,this._parts.hostname.substring(m)||""}else{if(!s)throw new TypeError("cannot set domain empty");if(s.indexOf(":")!==-1)throw new TypeError("Domains cannot contain colons");if(a.ensureValidHostname(s,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=s;else{var _=new RegExp(p(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(_,s)}return this.build(!u),this}},l.tld=function(s,u){if(this._parts.urn)return s===void 0?"":this;if(typeof s=="boolean"&&(u=s,s=void 0),s===void 0){if(!this._parts.hostname||this.is("IP"))return"";var f=this._parts.hostname.lastIndexOf("."),m=this._parts.hostname.substring(f+1);return u!==!0&&n&&n.list[m.toLowerCase()]&&n.get(this._parts.hostname)||m}else{var _;if(s)if(s.match(/[^a-zA-Z0-9-]/))if(n&&n.is(s))_=new RegExp(p(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(_,s);else throw new TypeError('TLD "'+s+'" contains characters other than [A-Z0-9]');else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");_=new RegExp(p(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(_,s)}else throw new TypeError("cannot set TLD empty");return this.build(!u),this}},l.directory=function(s,u){if(this._parts.urn)return s===void 0?"":this;if(s===void 0||s===!0){if(!this._parts.path&&!this._parts.hostname)return"";if(this._parts.path==="/")return"/";var f=this._parts.path.length-this.filename().length-1,m=this._parts.path.substring(0,f)||(this._parts.hostname?"/":"");return s?a.decodePath(m):m}else{var _=this._parts.path.length-this.filename().length,w=this._parts.path.substring(0,_),$=new RegExp("^"+p(w));return this.is("relative")||(s||(s="/"),s.charAt(0)!=="/"&&(s="/"+s)),s&&s.charAt(s.length-1)!=="/"&&(s+="/"),s=a.recodePath(s),this._parts.path=this._parts.path.replace($,s),this.build(!u),this}},l.filename=function(s,u){if(this._parts.urn)return s===void 0?"":this;if(typeof s!="string"){if(!this._parts.path||this._parts.path==="/")return"";var f=this._parts.path.lastIndexOf("/"),m=this._parts.path.substring(f+1);return s?a.decodePathSegment(m):m}else{var _=!1;s.charAt(0)==="/"&&(s=s.substring(1)),s.match(/\.?\//)&&(_=!0);var w=new RegExp(p(this.filename())+"$");return s=a.recodePath(s),this._parts.path=this._parts.path.replace(w,s),_?this.normalizePath(u):this.build(!u),this}},l.suffix=function(s,u){if(this._parts.urn)return s===void 0?"":this;if(s===void 0||s===!0){if(!this._parts.path||this._parts.path==="/")return"";var f=this.filename(),m=f.lastIndexOf("."),_,w;return m===-1?"":(_=f.substring(m+1),w=/^[a-z0-9%]+$/i.test(_)?_:"",s?a.decodePathSegment(w):w)}else{s.charAt(0)==="."&&(s=s.substring(1));var $=this.suffix(),P;if($)s?P=new RegExp(p($)+"$"):P=new RegExp(p("."+$)+"$");else{if(!s)return this;this._parts.path+="."+a.recodePath(s)}return P&&(s=a.recodePath(s),this._parts.path=this._parts.path.replace(P,s)),this.build(!u),this}},l.segment=function(s,u,f){var m=this._parts.urn?":":"/",_=this.path(),w=_.substring(0,1)==="/",$=_.split(m);if(s!==void 0&&typeof s!="number"&&(f=u,u=s,s=void 0),s!==void 0&&typeof s!="number")throw new Error('Bad segment "'+s+'", must be 0-based integer');if(w&&$.shift(),s<0&&(s=Math.max($.length+s,0)),u===void 0)return s===void 0?$:$[s];if(s===null||$[s]===void 0)if(h(u)){$=[];for(var P=0,x=u.length;P0&&typeof t=="function"?a=>t(a,n,e.attributes,e.attributes.target||o):void 0}function rf(e){const{tnode:t}=e,{onPress:r}=(0,kie.useRendererProps)("a"),n=Fie(t,r);return typeof n!="function"?e:{...e,onPress:n}}const Vie=e=>qie.default.createElement(e.TDefaultRenderer,rf(e));var zie=Vie;zr.default=zie;var nr={},Br={},V1={},Ur={};Object.defineProperty(Ur,"__esModule",{value:!0});Ur.default=void 0;const Bie={width:100,height:100};var Uie=Bie;Ur.default=Uie;var z1={};Object.defineProperty(z1,"__esModule",{value:!0});z1.default=Hie;var uu=L,Wie=Te;function Hie({source:e,specifiedDimensions:t}){const r=(0,uu.useRef)(t),{provideEmbeddedHeaders:n}=(0,Wie.useSharedProps)();return(0,uu.useMemo)(()=>{if(e.uri&&typeof n=="function"){var o,i;const a=n(e.uri,"img",{printWidth:((o=r.current)===null||o===void 0?void 0:o.width)||void 0,printHeight:((i=r.current)===null||i===void 0?void 0:i.height)||void 0});if(a)return{headers:a,...e}}return e},[n,e])}var B1={};Object.defineProperty(B1,"__esModule",{value:!0});B1.default=Xie;var jie=L;function Gie({marginHorizontal:e,leftMargin:t,rightMargin:r,margin:n}){return(t||e||n||0)+(r||e||n||0)}function gi(e,t){const r=t.width/t.height;return t.widthe.width?mi(e,{width:e.width,height:e.width/r}):t.height>e.height?mi(e,{height:e.height,width:e.height*r}):t}function lu({minBox:e,maxBox:t},r){return mi(t,gi(e,r))}function Qie(e){const{computeMaxWidth:t,contentWidth:r,flattenStyles:n,naturalWidth:o,naturalHeight:i,specifiedWidth:a,specifiedHeight:c}=e,l=Gie(n),{maxWidth:d=1/0,maxHeight:p=1/0,minWidth:v=0,minHeight:h=0}=n,N=typeof r=="number"?t(r):1/0,T={width:v,height:h},E={width:Math.min(N,d,typeof a=="number"?a:1/0)-l,height:Math.min(typeof c=="number"?c:1/0,p)};return typeof a=="number"&&typeof c=="number"?lu({minBox:T,maxBox:E},{width:a,height:c}):o!=null&&i!=null?lu({minBox:T,maxBox:E},{width:o,height:i}):null}function Xie({flatStyle:e,naturalDimensions:t,specifiedDimensions:r,computeMaxWidth:n,contentWidth:o}){return(0,jie.useMemo)(()=>Qie({flattenStyles:e,computeMaxWidth:n,contentWidth:o,naturalWidth:t==null?void 0:t.width,naturalHeight:t==null?void 0:t.height,specifiedWidth:r.width,specifiedHeight:r.height}),[n,o,e,t,r.height,r.width])}var U1={},W1={};Object.defineProperty(W1,"__esModule",{value:!0});W1.default=void 0;var Yie=Zie(A1);function Zie(e){return e&&e.__esModule?e:{default:e}}const Jie=(0,Yie.default)(["resizeMode","tintColor","overlayColor"]);function Kie(e){let t;switch(e){case"contain":case"cover":t=e;break;case"fill":t="stretch";break;case"scale-down":t="contain";break;default:return null}return{resizeMode:t}}function ese(e,t){const r=t?Kie(t):null;return{...Jie(e),...r}}var tse=ese;W1.default=tse;Object.defineProperty(U1,"__esModule",{value:!0});U1.getIMGState=ose;var rse=nse(W1);function nse(e){return e&&e.__esModule?e:{default:e}}function ose({error:e,alt:t,altColor:r,source:n,containerStyle:o,concreteDimensions:i,initialDimensions:a,objectFit:c,onError:l}){return e?{type:"error",alt:t,altColor:r,source:n,error:e,containerStyle:o,dimensions:i??a}:i!=null?{type:"success",alt:t,altColor:r,source:n,onError:l,containerStyle:o,imageStyle:(0,rse.default)(o,c),dimensions:i}:{type:"loading",alt:t,altColor:r,source:n,containerStyle:o,dimensions:a}}var H1={},vs={};Object.defineProperty(vs,"__esModule",{value:!0});vs.default=ase;function ase(e,t,r){return{width:e??(r&&t?t*r:null),height:t??(r&&e?e/r:null)}}Object.defineProperty(H1,"__esModule",{value:!0});H1.default=lse;var du=L,ise=cse(vs),sse=ie;function cse(e){return e&&e.__esModule?e:{default:e}}function wo(e,t){const r=t.containerDimension||null,n=t.enablePercentWidth||!1;return e==null||Number.isNaN(e)?null:typeof e=="number"?e:e.search("%")!==-1&&n&&typeof r=="number"?parseFloat(e)*r/100:e.trim().match(/^[\d.]+$/)?parseFloat(e):null}function use({width:e,height:t,contentWidth:r,flatStyle:n,enableExperimentalPercentWidth:o}){const i={enablePercentWidth:o,containerDimension:r},a={enablePercentWidth:!1},c=wo(e,i),l=wo(t,a),d=wo(n.width,i),p=wo(n.height,a);return(0,ise.default)(d??c,p??l,n.aspectRatio)}function lse(e){const{contentWidth:t,enableExperimentalPercentWidth:r,style:n,width:o,height:i}=e,a=(0,du.useMemo)(()=>sse.StyleSheet.flatten(n)||{},[n]),c=(0,du.useMemo)(()=>use({contentWidth:t,enableExperimentalPercentWidth:r,width:o,height:i,flatStyle:a}),[t,r,a,i,o]);return{flatStyle:a,specifiedDimensions:c}}Object.defineProperty(V1,"__esModule",{value:!0});V1.default=_se;var Mo=L,fu=ie,dse=j1(Ur),fse=j1(z1),pse=j1(B1),hse=U1,gse=j1(H1);function j1(e){return e&&e.__esModule?e:{default:e}}function mse({uri:e,headers:t}){return new Promise((r,n)=>{const o=(i,a)=>r({width:i,height:a});t?fu.Image.getSizeWithHeaders(e,t,o,n):fu.Image.getSize(e,o,n)})}function vse(e){const{source:t,cachedNaturalDimensions:r}=e,[n,o]=(0,Mo.useState)(r||null),{width:i,height:a}=r||{},[c,l]=(0,Mo.useState)(null);return(0,Mo.useEffect)(function(){o(i!=null&&a!=null?{width:i,height:a}:null),l(null)},[a,i,t.uri]),{onNaturalDimensions:o,onError:l,naturalDimensions:n,error:c}}function yse(e){const{source:t,cachedNaturalDimensions:r}=e,{error:n,naturalDimensions:o,onError:i,onNaturalDimensions:a}=vse(e),c=!!r;return(0,Mo.useEffect)(function(){let d=!1;if(t.uri&&!c)return mse({uri:t.uri,headers:t.headers}).then(p=>!d&&a(p)).catch(p=>!d&&i(p||{})),()=>{d=!0}},[t.uri,t.headers,a,i,c]),{naturalDimensions:o,error:n,onError:i,onNaturalDimensions:a}}function _se(e){const{alt:t,altColor:r,source:n,contentWidth:o,computeMaxWidth:i,objectFit:a,initialDimensions:c=dse.default,cachedNaturalDimensions:l}=e,{flatStyle:d,specifiedDimensions:p}=(0,gse.default)(e),v=(0,fse.default)({specifiedDimensions:p,source:n}),{naturalDimensions:h,onError:N,error:T}=yse({source:v,specifiedDimensions:p,cachedNaturalDimensions:l}),E=(0,pse.default)({flatStyle:d,naturalDimensions:h,specifiedDimensions:p,computeMaxWidth:i,contentWidth:o});return(0,hse.getIMGState)({error:T,alt:t,altColor:r,concreteDimensions:E,containerStyle:d,initialDimensions:c,objectFit:a,onError:N,source:v})}var G1={};Object.defineProperty(G1,"__esModule",{value:!0});G1.default=$se;var pu=Sse(L),bse=ie;function nf(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(nf=function(n){return n?r:t})(e)}function Sse(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=nf(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}const wse={resizeMode:"cover"};function $se({source:e,imageStyle:t,dimensions:r,onError:n}){const o=(0,pu.useCallback)(({nativeEvent:{error:i}})=>n(i),[n]);return pu.default.createElement(bse.Image,{source:e,onError:o,style:[wse,r,t],testID:"image-success"})}var Q1={},X1={};Object.defineProperty(X1,"__esModule",{value:!0});X1.default=Cse;var vr=xse(L),Ft=ie,Pse=Te;function xse(e){return e&&e.__esModule?e:{default:e}}function hn(){return hn=Object.assign||function(e){for(var t=1;t{const{width:c,height:l,...d}=e;return[Rse.container,d]},[e]),a=typeof t=="function"?Tse.default:of.View;return hu.default.createElement(a,{...o,style:i,onPress:t,testID:r},n)}var Y1={};Object.defineProperty(Y1,"__esModule",{value:!0});Y1.default=qse;var Ose=Ase(L),Lse=ie;function Ase(e){return e&&e.__esModule?e:{default:e}}function qse({dimensions:e,children:t}){return Ose.default.createElement(Lse.View,{style:e,testID:"image-loading"},t)}var Z1={},J1={};Object.defineProperty(J1,"__esModule",{value:!0});J1.default=Ise;var gu=Dse(L),zo=ie;function Dse(e){return e&&e.__esModule?e:{default:e}}const mu=zo.StyleSheet.create({altBox:{borderWidth:zo.StyleSheet.hairlineWidth,overflow:"hidden",justifyContent:"center"},altText:{textAlign:"center",fontStyle:"italic"}});function Ise({dimensions:e,alt:t,altColor:r,testID:n,children:o}){return gu.default.createElement(zo.View,{style:[mu.altBox,e,{borderColor:r}],accessibilityRole:"image",accessibilityLabel:t,testID:n},gu.default.createElement(zo.Text,{style:[mu.altText,{color:r}]},t),o)}Object.defineProperty(Z1,"__esModule",{value:!0});Z1.default=Vse;var kse=sf(L),Fse=sf(J1);function sf(e){return e&&e.__esModule?e:{default:e}}function vi(){return vi=Object.assign||function(e){for(var t=1;tl?dce.StyleSheet.flatten(l):{},[l]);return{contentWidth:r,containerProps:d,enableExperimentalPercentWidth:o,initialDimensions:n,source:c,style:p,testID:"img",computeMaxWidth:i,alt:t.attributes.alt,altColor:t.styles.nativeTextFlow.color,width:t.attributes.width,height:t.attributes.height,objectFit:t.styles.webBlockRet.objectFit}}const vce=e=>cf.default.createElement(uce.default,lf(e));var yce=vce;nr.default=yce;var Hr={},ta={},Wn={};function df({counterRenderer:e,index:t,startIndex:r,rtlLineReversed:n,rtlMarkerReversed:o,markerTextStyle:i,markerBoxStyle:a,maxNumOfCodepoints:c,markerTextWidth:l,style:d,renderMarker:p,enableMarkerClipping:v,children:h}){return Sr.createElement(Ei,{testID:"marked-list-item",style:[n?yu.lineRtl:yu.lineLtr,d],key:t},p({counterRenderer:e,rtlMarkerReversed:typeof o=="boolean"?o:!0,counterIndex:t+r,maxNumOfCodepoints:c,style:a,markerTextStyle:i,markerTextWidth:l,enableMarkerClipping:v}),h)}const yu=rl.create({lineLtr:{flexWrap:"nowrap",alignSelf:"stretch",flexDirection:"row"},lineRtl:{flexWrap:"nowrap",alignSelf:"stretch",flexDirection:"row-reverse"}});function _i(){return _i=Object.assign||function(e){for(var t=1;tSr.createElement(ff,e),Sce=(e,t)=>e*t*.6,_u=14;function pf({counterRenderer:e,startIndex:t=1,lineStyle:r,rtlLineReversed:n=!1,rtlMarkerReversed:o=!1,markerTextStyle:i,markerBoxStyle:a,dynamicMarkerBoxWidth:c=!0,length:l=0,renderMarker:d=bce,enableMarkerClipping:p=!1,computeMarkerBoxWidth:v=Sce}){const h=L.useMemo(()=>e.maxMarkerLenInRange(t,t+l-1),[e,l,t]),N=!s9.isRTL&&n,T=L.useMemo(()=>{var D;return c&&v(h,(D=i==null?void 0:i.fontSize)!==null&&D!==void 0?D:_u)},[v,i==null?void 0:i.fontSize,h,c]),E=L.useMemo(()=>o?e.withRtl(o===!0?void 0:o):e,[e,o]),M=L.useMemo(()=>({flexGrow:0,flexShrink:0,fontSize:_u,textAlign:N?"left":"right",alignSelf:N?"flex-start":"flex-end",...i}),[i,N]);return{maxNumOfCodepoints:h,rtlMarkerReversed:o,markerTextWidth:T,renderMarker:d,startIndex:t,rtlLineReversed:N,markerTextStyle:M,markerBoxStyle:a,counterRenderer:E,style:r,enableMarkerClipping:p}}function bi(){return bi=Object.assign||function(e){for(var t=1;tSr.createElement(df,bi({key:a,index:a},o),i)))}const wce=Object.freeze(Object.defineProperty({__proto__:null,MarkedList:bu,MarkedListItem:df,MarkerBox:ff,default:bu,useMarkedList:pf},Symbol.toStringTag,{value:"Module"})),$ce=st(wce);var Hn={},Pce=function(){return!1};const xce=Pce;var Cce=function(){return!0};const Tce=Cce,Ece={"@@functional/placeholder":!0};function ne(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}function A(e){return function t(r){return arguments.length===0||ne(r)?t:e.apply(this,arguments)}}function y(e){return function t(r,n){switch(arguments.length){case 0:return t;case 1:return ne(r)?t:A(function(o){return e(r,o)});default:return ne(r)&&ne(n)?t:ne(r)?A(function(o){return e(o,n)}):ne(n)?A(function(o){return e(r,o)}):e(r,n)}}}var Mce=y(function(t,r){return Number(t)+Number(r)});const ra=Mce;function Je(e,t){e=e||[],t=t||[];var r,n=e.length,o=t.length,i=[];for(r=0;r=arguments.length)?c=t[a]:(c=arguments[o],o+=1),n[a]=c,ne(c)||(i-=1),a+=1}return i<=0?r.apply(this,n):Ke(i,jn(e,n,r))}}var Rce=y(function(t,r){return t===1?A(r):Ke(t,jn(t,[],r))});const ye=Rce;var Nce=A(function(t){return ye(t.length,function(){var r=0,n=arguments[0],o=arguments[arguments.length-1],i=Array.prototype.slice.call(arguments,0);return i[0]=function(){var a=n.apply(this,Je(arguments,[r,o]));return r+=1,a},t.apply(this,i)})});const Oce=Nce;function U(e){return function t(r,n,o){switch(arguments.length){case 0:return t;case 1:return ne(r)?t:y(function(i,a){return e(r,i,a)});case 2:return ne(r)&&ne(n)?t:ne(r)?y(function(i,a){return e(i,n,a)}):ne(n)?y(function(i,a){return e(r,i,a)}):A(function(i){return e(r,n,i)});default:return ne(r)&&ne(n)&&ne(o)?t:ne(r)&&ne(n)?y(function(i,a){return e(i,a,o)}):ne(r)&&ne(o)?y(function(i,a){return e(i,n,a)}):ne(n)&&ne(o)?y(function(i,a){return e(r,i,a)}):ne(r)?A(function(i){return e(i,n,o)}):ne(n)?A(function(i){return e(r,i,o)}):ne(o)?A(function(i){return e(r,n,i)}):e(r,n,o)}}}var Lce=U(function(t,r,n){if(t>=n.length||t<-n.length)return n;var o=t<0?n.length:0,i=o+t,a=Je(n);return a[i]=r(n[i]),a});const hf=Lce,Xe=Array.isArray||function(t){return t!=null&&t.length>=0&&Object.prototype.toString.call(t)==="[object Array]"};function _s(e){return e!=null&&typeof e["@@transducer/step"]=="function"}function pe(e,t,r){return function(){if(arguments.length===0)return r();var n=Array.prototype.slice.call(arguments,0),o=n.pop();if(!Xe(o)){for(var i=0;it?r:t});const jr=Ice;function _r(e,t){for(var r=0,n=t.length,o=Array(n);r0?t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1):!1}),kce=function(){function e(t){this.f=t}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(t){return t},e.prototype["@@transducer/step"]=function(t,r){return this.f(t,r)},e}();function mf(e){return new kce(e)}var Fce=y(function(t,r){return Ke(t.length,function(){return t.apply(r,arguments)})});const vf=Fce;function Vce(e,t,r){for(var n=0,o=r.length;n=0;)r=xu[n],$e(r,t)&&!Wce(o,r)&&(o[o.length]=r),n-=1;return o});const Fe=Hce;var We=y(pe(["fantasy-land/map","map"],Bce,function(t,r){switch(Object.prototype.toString.call(r)){case"[object Function]":return ye(r.length,function(){return t.call(this,r.apply(this,arguments))});case"[object Object]":return Ce(function(n,o){return n[o]=t(r[o]),n},{},Fe(r));default:return _r(t,r)}}));const jt=Number.isInteger||function(t){return t<<0===t};var Gr=y(function(t,r){var n=t<0?r.length+t:t;return Cr(r)?r.charAt(n):r[n]}),jce=y(function(t,r){return t.map(function(n){for(var o=r,i=0,a;i=0?n:0);ri?1:0});const Sue=bue;var wue=U(function(t,r,n){var o={};for(var i in n)o[i]=n[i];return o[t]=r,o});const oa=wue;var $ue=A(function(t){return t==null});const Bo=$ue;var Pue=U(function e(t,r,n){if(t.length===0)return r;var o=t[0];if(t.length>1){var i=!Bo(n)&&$e(o,n)?n[o]:jt(t[1])?[]:{};r=e(Array.prototype.slice.call(t,1),r,i)}if(jt(o)&&Xe(n)){var a=[].concat(n);return a[o]=r,a}else return oa(o,r,n)});const $f=Pue;var xue=y(function(t,r){switch(t){case 0:return function(){return r.call(this)};case 1:return function(n){return r.call(this,n)};case 2:return function(n,o){return r.call(this,n,o)};case 3:return function(n,o,i){return r.call(this,n,o,i)};case 4:return function(n,o,i,a){return r.call(this,n,o,i,a)};case 5:return function(n,o,i,a,c){return r.call(this,n,o,i,a,c)};case 6:return function(n,o,i,a,c,l){return r.call(this,n,o,i,a,c,l)};case 7:return function(n,o,i,a,c,l,d){return r.call(this,n,o,i,a,c,l,d)};case 8:return function(n,o,i,a,c,l,d,p){return r.call(this,n,o,i,a,c,l,d,p)};case 9:return function(n,o,i,a,c,l,d,p,v){return r.call(this,n,o,i,a,c,l,d,p,v)};case 10:return function(n,o,i,a,c,l,d,p,v,h){return r.call(this,n,o,i,a,c,l,d,p,v,h)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}});const aa=xue;var Cue=A(function(t){return aa(2,t)});const Tue=Cue;function Tr(e){var t=Object.prototype.toString.call(e);return t==="[object Function]"||t==="[object AsyncFunction]"||t==="[object GeneratorFunction]"||t==="[object AsyncGeneratorFunction]"}var Eue=y(function(t,r){var n=ye(t,r);return ye(t,function(){return Ce(Ss,We(n,arguments[0]),Array.prototype.slice.call(arguments,1))})});const Pf=Eue;var ia=A(function(t){return Pf(t.length,t)}),Mue=y(function(t,r){return Tr(t)?function(){return t.apply(this,arguments)&&r.apply(this,arguments)}:ia(bf)(t,r)});const Rue=Mue;var ws=A(function(t){return ye(t.length,t)}),Nue=ws(function(t){return t.apply(this,Array.prototype.slice.call(arguments,1))});const Oue=Nue;function xf(e){return function t(r){for(var n,o,i,a=[],c=0,l=r.length;cr)throw new Error("min must not be greater than max in clamp(min, max, value)");return nr?r:n});const Fue=kue;function Cf(e){return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""))}var Vue=A(function(t){return t===null?"Null":t===void 0?"Undefined":Object.prototype.toString.call(t).slice(8,-1)});const Uo=Vue;function sa(e,t,r,n){var o=function(a){for(var c=t.length,l=0;l=0;){if(r[i]===e)return n[i]===t;i-=1}switch(o){case"Map":return e.size!==t.size?!1:Mu(e.entries(),t.entries(),r.concat([e]),n.concat([t]));case"Set":return e.size!==t.size?!1:Mu(e.values(),t.values(),r.concat([e]),n.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var a=Fe(e);if(a.length!==Fe(t).length)return!1;var c=r.concat([e]),l=n.concat([t]);for(i=a.length-1;i>=0;){var d=a[i];if(!($e(d,t)&&Ps(t[d],e[d],c,l)))return!1;i-=1}return!0}var ole=y(function(t,r){return Ps(t,r,[],[])});const Ve=ole;function Lf(e,t,r){var n,o;if(typeof e.indexOf=="function")switch(typeof t){case"number":if(t===0){for(n=1/t;r=0}function Ka(e){var t=e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0");return'"'+t.replace(/"/g,'\\"')+'"'}var sn=function(t){return(t<10?"0":"")+t},ale=typeof Date.prototype.toISOString=="function"?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+sn(t.getUTCMonth()+1)+"-"+sn(t.getUTCDate())+"T"+sn(t.getUTCHours())+":"+sn(t.getUTCMinutes())+":"+sn(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Af(e){return function(){return!e.apply(this,arguments)}}function xs(e,t){for(var r=0,n=t.length,o=[];r":Ts(a,c)},n=function(i,a){return _r(function(c){return Ka(c)+": "+r(i[c])},a.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+_r(r,e).join(", ")+"))";case"[object Array]":return"["+_r(r,e).concat(n(e,la(function(i){return/^\d+$/.test(i)},Fe(e)))).join(", ")+"]";case"[object Boolean]":return typeof e=="object"?"new Boolean("+r(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?r(NaN):Ka(ale(e)))+")";case"[object Null]":return"null";case"[object Number]":return typeof e=="object"?"new Number("+r(e.valueOf())+")":1/e===-1/0?"-0":e.toString(10);case"[object String]":return typeof e=="object"?"new String("+r(e.valueOf())+")":Ka(e);case"[object Undefined]":return"undefined";default:if(typeof e.toString=="function"){var o=e.toString();if(o!=="[object Object]")return o}return"{"+n(e,Fe(e)).join(", ")+"}"}}var lle=A(function(t){return Ts(t,[])});const br=lle;var dle=y(function(t,r){if(Xe(t)){if(Xe(r))return t.concat(r);throw new TypeError(br(r)+" is not an array")}if(Cr(t)){if(Cr(r))return t+r;throw new TypeError(br(r)+" is not a string")}if(t!=null&&Tr(t["fantasy-land/concat"]))return t["fantasy-land/concat"](r);if(t!=null&&Tr(t.concat))return t.concat(r);throw new TypeError(br(t)+' does not have a method named "concat" or "fantasy-land/concat"')});const Es=dle;var fle=A(function(t){var r=lt(jr,0,We(function(n){return n[0].length},t));return Ke(r,function(){for(var n=0;n10)throw new Error("Constructor with greater than ten arguments");return t===0?function(){return new r}:ws(aa(t,function(n,o,i,a,c,l,d,p,v,h){switch(arguments.length){case 1:return new r(n);case 2:return new r(n,o);case 3:return new r(n,o,i);case 4:return new r(n,o,i,a);case 5:return new r(n,o,i,a,c);case 6:return new r(n,o,i,a,c,l);case 7:return new r(n,o,i,a,c,l,d);case 8:return new r(n,o,i,a,c,l,d,p);case 9:return new r(n,o,i,a,c,l,d,p,v);case 10:return new r(n,o,i,a,c,l,d,p,v,h)}}))});const qf=hle;var gle=A(function(t){return qf(t.length,t)});const mle=gle;var vle=y(Gt);const yle=vle;var _le=y(function(t,r){return ye(lt(jr,0,Qn("length",r)),function(){var n=arguments,o=this;return t.apply(o,_r(function(i){return i.apply(o,n)},r))})});const Df=_le;var ble=function(){function e(t,r,n,o){this.valueFn=t,this.valueAcc=r,this.keyFn=n,this.xf=o,this.inputs={}}return e.prototype["@@transducer/init"]=K.init,e.prototype["@@transducer/result"]=function(t){var r;for(r in this.inputs)if($e(r,this.inputs)&&(t=this.xf["@@transducer/step"](t,this.inputs[r]),t["@@transducer/reduced"])){t=t["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](t)},e.prototype["@@transducer/step"]=function(t,r){var n=this.keyFn(r);return this.inputs[n]=this.inputs[n]||[n,this.valueAcc],this.inputs[n][1]=this.valueFn(this.inputs[n][1],r),t},e}(),Sle=jn(4,[],function(t,r,n,o){return new ble(t,r,n,o)}),da=jn(4,[],pe([],Sle,function(t,r,n,o){return Ce(function(i,a){var c=n(a);return i[c]=t($e(c,i)?i[c]:sa(r,[],[],!1),a),i},{},o)})),wle=da(function(e,t){return e+1},0);const $le=wle;var Ple=ra(-1);const xle=Ple;var Cle=y(function(t,r){return r==null||r!==r?t:r});const If=Cle;var Tle=U(function(t,r,n){var o=t(r),i=t(n);return o>i?-1:o0?(this.n-=1,t):this.xf["@@transducer/step"](t,r)},e}(),Fle=y(function(t,r){return new kle(t,r)}),Vle=y(pe(["drop"],Fle,function(t,r){return Ue(Math.max(0,t),1/0,r)}));const zf=Vle;var zle=function(){function e(t,r){this.xf=r,this.n=t,this.i=0}return e.prototype["@@transducer/init"]=K.init,e.prototype["@@transducer/result"]=K.result,e.prototype["@@transducer/step"]=function(t,r){this.i+=1;var n=this.n===0?t:this.xf["@@transducer/step"](t,r);return this.n>=0&&this.i>=this.n?Lt(n):n},e}(),Ble=y(function(t,r){return new zle(t,r)}),Ule=y(pe(["take"],Ble,function(t,r){return Ue(0,t<0?1/0:t,r)}));const Rs=Ule;function Wle(e,t){return Rs(e=0&&e(t[r]);)r-=1;return Ue(0,r+1,t)}var Yle=function(){function e(t,r){this.f=t,this.retained=[],this.xf=r}return e.prototype["@@transducer/init"]=K.init,e.prototype["@@transducer/result"]=function(t){return this.retained=null,this.xf["@@transducer/result"](t)},e.prototype["@@transducer/step"]=function(t,r){return this.f(r)?this.retain(t,r):this.flush(t,r)},e.prototype.flush=function(t,r){return t=Ce(this.xf["@@transducer/step"],t,this.retained),this.retained=[],this.xf["@@transducer/step"](t,r)},e.prototype.retain=function(t,r){return this.retained.push(r),t},e}(),Zle=y(function(t,r){return new Yle(t,r)}),Jle=y(pe([],Zle,Xle));const Kle=Jle;var ede=function(){function e(t,r){this.xf=r,this.pred=t,this.lastValue=void 0,this.seenFirstValue=!1}return e.prototype["@@transducer/init"]=K.init,e.prototype["@@transducer/result"]=K.result,e.prototype["@@transducer/step"]=function(t,r){var n=!1;return this.seenFirstValue?this.pred(this.lastValue,r)&&(n=!0):this.seenFirstValue=!0,this.lastValue=r,n?t:this.xf["@@transducer/step"](t,r)},e}(),Bf=y(function(t,r){return new ede(t,r)}),tde=Gr(-1);const Uf=tde;var rde=y(pe([],Bf,function(t,r){var n=[],o=1,i=r.length;if(i!==0)for(n[0]=r[0];o=0?r.length-t:0,r)});const Gf=pde;var hde=y(function(e,t){return Ve(Gf(e.length,t),e)});const gde=hde;var mde=U(function(t,r,n){return Ve(t(r),t(n))});const vde=mde;var yde=U(function(t,r,n){return Ve(r[t],n[t])});const _de=yde;var bde=y(function e(t,r){var n=r instanceof Array?[]:{},o,i,a;for(i in r)o=t[i],a=typeof o,n[i]=a==="function"?o(r[i]):o&&a==="object"?e(o,r[i]):r[i];return n});const Sde=bde;var wde=function(){function e(t,r){this.xf=r,this.f=t,this.found=!1}return e.prototype["@@transducer/init"]=K.init,e.prototype["@@transducer/result"]=function(t){return this.found||(t=this.xf["@@transducer/step"](t,void 0)),this.xf["@@transducer/result"](t)},e.prototype["@@transducer/step"]=function(t,r){return this.f(r)&&(this.found=!0,t=Lt(this.xf["@@transducer/step"](t,r))),t},e}(),$de=y(function(t,r){return new wde(t,r)}),Pde=y(pe(["find"],$de,function(t,r){for(var n=0,o=r.length;n=0;){if(t(r[n]))return r[n];n-=1}}));const Lde=Ode;var Ade=function(){function e(t,r){this.xf=r,this.f=t,this.idx=-1,this.lastIdx=-1}return e.prototype["@@transducer/init"]=K.init,e.prototype["@@transducer/result"]=function(t){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](t,this.lastIdx))},e.prototype["@@transducer/step"]=function(t,r){return this.idx+=1,this.f(r)&&(this.lastIdx=this.idx),t},e}(),qde=y(function(t,r){return new Ade(t,r)}),Dde=y(pe([],qde,function(t,r){for(var n=r.length-1;n>=0;){if(t(r[n]))return n;n-=1}return-1}));const Ide=Dde;var kde=A(xf(!0));const Fde=kde;var Vde=A(function(t){return ye(t.length,function(r,n){var o=Array.prototype.slice.call(arguments,0);return o[0]=n,o[1]=r,t.apply(this,o)})});const fa=Vde;var zde=y(Xn("forEach",function(t,r){for(var n=r.length,o=0;or});const Jde=Zde;var Kde=y(function(t,r){return t>=r});const efe=Kde;var tfe=y(function(t,r){if(t.length===0||Bo(r))return!1;for(var n=r,o=0;o=0?t:n.length;var o=Array.prototype.slice.call(n,0);return o.splice(t,0,r),o});const $fe=wfe;var Pfe=U(function(t,r,n){return t=t=0?t:n.length,[].concat(Array.prototype.slice.call(n,0,t),r,Array.prototype.slice.call(n,t))});const xfe=Pfe;var Xf=y(function(t,r){for(var n=new kf,o=[],i=0,a,c;ir.length?(n=t,o=r):(n=r,o=t),Ns(xs(fa(Gt)(n),o))});const Efe=Tfe;var Mfe=y(Xn("intersperse",function(t,r){for(var n=[],o=0,i=r.length;o=0;){if(Ve(r[n],t))return n;n-=1}return-1});const Kfe=Jfe;function $i(e){return Object.prototype.toString.call(e)==="[object Number]"}var e0e=A(function(t){return t!=null&&$i(t.length)?t.length:NaN});const Kf=e0e;var t0e=y(function(t,r){return function(n){return function(o){return We(function(i){return r(i,o)},n(t(o)))}}});const pa=t0e;var r0e=A(function(t){return pa(Gr(t),Ms(t))});const n0e=r0e;var o0e=A(function(t){return pa(or(t),$f(t))});const a0e=o0e;var i0e=A(function(t){return pa(bs(t),oa(t))});const s0e=i0e;var c0e=y(function(t,r){return t=0;)a=t(a[0],n[o]),i[o]=a[1],o-=1;return[a[0],i]});const g0e=h0e;var m0e=y(function(t,r){return Ce(function(n,o){return n[o]=t(r[o],o,r),n},{},Fe(r))});const v0e=m0e;var y0e=y(function(t,r){return r.match(t)||[]});const _0e=y0e;var b0e=y(function(t,r){return jt(t)?!jt(r)||r<1?NaN:(t%r+r)%r:NaN});const S0e=b0e;var w0e=U(function(t,r,n){return t(n)>t(r)?n:r});const $0e=w0e;var P0e=lt(ra,0);const e0=P0e;var x0e=A(function(t){return e0(t)/t.length});const t0=x0e;var C0e=A(function(t){var r=t.length;if(r===0)return NaN;var n=2-r%2,o=(r-n)/2;return t0(Array.prototype.slice.call(t,0).sort(function(i,a){return ia?1:0}).slice(o,o+n))});const T0e=C0e;var E0e=y(function(t,r){var n={};return Ke(r.length,function(){var o=t.apply(this,arguments);return $e(o,n)||(n[o]=r.apply(this,arguments)),n[o]})});const M0e=E0e;var R0e=y(function(t,r){return Jn({},t,r)});const N0e=R0e;var O0e=A(function(t){return Jn.apply(null,[{}].concat(t))});const L0e=O0e;var A0e=U(function(t,r,n){var o={},i;for(i in r)$e(i,r)&&(o[i]=$e(i,n)?t(i,r[i],n[i]):r[i]);for(i in n)$e(i,n)&&!$e(i,o)&&(o[i]=n[i]);return o});const Os=A0e;var q0e=U(function e(t,r,n){return Os(function(o,i,a){return Ho(i)&&Ho(a)?e(t,i,a):t(o,i,a)},r,n)});const ha=q0e;var D0e=y(function(t,r){return ha(function(n,o,i){return o},t,r)});const I0e=D0e;var k0e=y(function(t,r){return ha(function(n,o,i){return i},t,r)});const F0e=k0e;var V0e=U(function(t,r,n){return ha(function(o,i,a){return t(i,a)},r,n)});const z0e=V0e;var B0e=y(function(t,r){return Jn({},r,t)});const U0e=B0e;var W0e=y(function(t,r){return Jn({},t,r)});const H0e=W0e;var j0e=U(function(t,r,n){return Os(function(o,i,a){return t(i,a)},r,n)});const G0e=j0e;var Q0e=y(function(t,r){return r=r.length||a<0||a>=r.length?r:[].concat(o.slice(0,a)).concat(c).concat(o.slice(a,r.length))});const tpe=epe;var rpe=y(function(t,r){return t*r});const r0=rpe;var npe=A(function(t){return-t});const ope=npe;var ape=y(function(t,r){return gf(Af(t),r)});const ipe=ape;var spe=A(function(t){var r=t<0?1:t+1;return ye(r,function(){return Gr(t,arguments)})});const cpe=spe;var upe=U(function(t,r,n){return t(r(n))});const lpe=upe;function dpe(e){return[e]}var fpe=A(dpe);const ppe=fpe;var hpe=y(function(t,r){for(var n={},o={},i=0,a=t.length;i=0;)r=t(n[o],r),o-=1;return r});const d0=n9e;var o9e=jn(4,[],function(t,r,n,o){return Ce(function(i,a){return t(i,a)?r(i,a):Lt(i)},n,o)});const a9e=o9e;var i9e=A(Lt);const s9e=i9e;var c9e=y(function(t,r){var n=Number(r),o=0,i;if(n<0||isNaN(n))throw new RangeError("n must be a non-negative number");for(i=new Array(n);oa?1:0})});const S9e=b9e;var w9e=y(function(t,r){return Array.prototype.slice.call(r,0).sort(function(n,o){for(var i=0,a=0;i===0&&a=0&&t(r[n]);)n-=1;return Ue(n+1,1/0,r)});const z9e=V9e;var B9e=function(){function e(t,r){this.xf=r,this.f=t}return e.prototype["@@transducer/init"]=K.init,e.prototype["@@transducer/result"]=K.result,e.prototype["@@transducer/step"]=function(t,r){return this.f(r)?this.xf["@@transducer/step"](t,r):Lt(t)},e}(),U9e=y(function(t,r){return new B9e(t,r)}),W9e=y(pe(["takeWhile"],U9e,function(t,r){for(var n=0,o=r.length;n"u"&&(n[i]=[]),n[i].push(o[i]),i+=1;r+=1}return n});const f8e=d8e;var p8e=U(function(t,r,n){return typeof n["fantasy-land/traverse"]=="function"?n["fantasy-land/traverse"](r,t):p0(t,We(r,n))});const h8e=p8e;var cn=` +\v\f\r                 \u2028\u2029\uFEFF`,g8e="​",m8e=typeof String.prototype.trim=="function",v8e=A(!m8e||cn.trim()||!g8e.trim()?function(t){var r=new RegExp("^["+cn+"]["+cn+"]*"),n=new RegExp("["+cn+"]["+cn+"]*$");return t.replace(r,"").replace(n,"")}:function(t){return t.trim()});const y8e=v8e;var _8e=y(function(t,r){return Ke(t.length,function(){try{return t.apply(this,arguments)}catch(n){return r.apply(this,Je([n],arguments))}})});const b8e=_8e;var S8e=A(function(t){return function(){return t(Array.prototype.slice.call(arguments,0))}});const w8e=S8e;var $8e=A(function(t){return aa(1,t)});const P8e=$8e;var x8e=y(function(t,r){return ye(t,function(){for(var n=1,o=r,i=0,a;n<=t&&typeof o=="function";)a=n===t?arguments.length:i+o.length,o=o.apply(this,Array.prototype.slice.call(arguments,i,a)),n+=1,i=a;return o})});const C8e=x8e;var T8e=y(function(t,r){for(var n=t(r),o=[];n&&n.length;)o[o.length]=n[0],n=t(n[1]);return o});const E8e=T8e;var M8e=y(Wo(Ns,Je));const R8e=M8e;var N8e=y(function(t,r){for(var n=0,o=r.length,i=[],a;nSt.default.createElement(ei.View,{style:[o,{flexDirection:c?"row-reverse":"row",justifyContent:"flex-end"}]},!!r&&St.default.createElement(ei.Text,{style:i},r),St.default.createElement(e,{...i,index:a}),!!n&&St.default.createElement(ei.Text,{style:i},n))}const y2e=(0,f2e.mapObjIndexed)(e=>e.type==="unitary"?{...e,renderMarker:v2e(e)}:e);function _2e({children:e}){const{customListStyleSpecs:t}=(0,p2e.useSharedProps)(),r=(0,St.useMemo)(()=>y2e(t!=null?{...Pi.default,...t}:Pi.default),[t]);return St.default.createElement(v0.Provider,{value:r},e)}Object.defineProperty(Wn,"__esModule",{value:!0});Wn.getMarkerBoxStyle=b0;Wn.default=T2e;var y0=ie,Po=_0(L),Nu=$ce,b2e=Rt,S2e=gt,w2e=_0(A1),$2e=Hn;function _0(e){return e&&e.__esModule?e:{default:e}}function jo(){return jo=Object.assign||function(e){for(var t=1;tPo.default.createElement(Nu.MarkedListItem,jo({key:B,index:R},u,{markerBoxStyle:[u.markerBoxStyle,w],markerTextStyle:u.markerTextStyle,enableMarkerClipping:!0,style:u.style}),Po.default.createElement(y0.View,{style:ti.shrink},x)),P={position:"relative",[m]:0};return Po.default.createElement(t,jo({tnode:e,style:[n,z,Y,P]},v),Po.default.createElement(k,{tchildren:e.children,renderChild:$}))}const ti=y0.StyleSheet.create({zeroMarginTop:{marginTop:0},zeroMarginBottom:{marginBottom:0},shrink:{flexShrink:1}});Object.defineProperty(ta,"__esModule",{value:!0});ta.default=R2e;var E2e=S0(L),M2e=S0(Wn);function S0(e){return e&&e.__esModule?e:{default:e}}function R2e(e){return E2e.default.createElement(M2e.default,{...e,listType:"ol"})}Object.defineProperty(Hr,"__esModule",{value:!0});Hr.useOLElementProps=$0;Hr.default=void 0;var N2e=w0(L),O2e=w0(ta),L2e=vt;function w0(e){return e&&e.__esModule?e:{default:e}}function A2e(e){switch(e%3){case 0:return"decimal";case 1:return"upper-alpha";default:return"lower-alpha"}}function $0(e){const t=(0,L2e.useRendererProps)("ol");return{...e,getFallbackListStyleTypeFromNestLevel:A2e,...t}}const q2e=e=>N2e.default.createElement(O2e.default,$0(e));var D2e=q2e;Hr.default=D2e;var Qr={},ga={};Object.defineProperty(ga,"__esModule",{value:!0});ga.default=F2e;var I2e=P0(L),k2e=P0(Wn);function P0(e){return e&&e.__esModule?e:{default:e}}function F2e(e){return I2e.default.createElement(k2e.default,{...e,listType:"ul"})}Object.defineProperty(Qr,"__esModule",{value:!0});Qr.useULElementProps=C0;Qr.default=void 0;var V2e=x0(L),z2e=x0(ga),B2e=vt;function x0(e){return e&&e.__esModule?e:{default:e}}function U2e(e){switch(e%3){case 0:return"disc";case 1:return"circle";default:return"square"}}function C0(e){const t=(0,B2e.useRendererProps)("ul");return{...e,getFallbackListStyleTypeFromNestLevel:U2e,...t}}const W2e=e=>V2e.default.createElement(z2e.default,C0(e));var H2e=W2e;Qr.default=H2e;Object.defineProperty(F1,"__esModule",{value:!0});F1.default=void 0;var j2e=ma(zr),G2e=ma(nr),Q2e=ma(Hr),X2e=ma(Qr);function ma(e){return e&&e.__esModule?e:{default:e}}const Y2e={img:G2e.default,ul:X2e.default,ol:Q2e.default,a:j2e.default};var Z2e=Y2e;F1.default=Z2e;Object.defineProperty(D1,"__esModule",{value:!0});D1.default=void 0;var J2e=va(hs),K2e=va(I1),e5e=va(k1),Lu=va(F1);function va(e){return e&&e.__esModule?e:{default:e}}function Au(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const qu={br:K2e.default,wbr:e5e.default};class t5e{constructor(t={},r){Au(this,"customRenderers",{}),Au(this,"elementModels",void 0),this.customRenderers=t,this.elementModels=r}getCustomRendererForTNode(t){return t.tagName in this.customRenderers?this.customRenderers[t.tagName]:null}getDefaultRendererForTNode(t){return t.tagName in Lu.default?Lu.default[t.tagName]:null}getInternalTextRenderer(t){return(0,J2e.default)(qu,t)?qu[t]:null}getRendererConfigForTNode(t){return{Custom:this.getCustomRendererForTNode(t),Default:this.getDefaultRendererForTNode(t)}}}D1.default=t5e;Object.defineProperty(ut,"__esModule",{value:!0});ut.useRendererRegistry=a5e;ut.useRendererConfig=i5e;ut.useInternalTextRenderer=s5e;ut.default=c5e;ut.RenderRegistryContext=void 0;var Mr=o5e(L),r5e=T0(Et),n5e=T0(D1);function T0(e){return e&&e.__esModule?e:{default:e}}function E0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(E0=function(n){return n?r:t})(e)}function o5e(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=E0(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}const eo=Mr.default.createContext(null);ut.RenderRegistryContext=eo;function a5e(){return Mr.default.useContext(eo)}function i5e(e){return Mr.default.useContext(eo).getRendererConfigForTNode(e)}function s5e(e){return Mr.default.useContext(eo).getInternalTextRenderer(e.tagName)}function c5e({children:e,elementModels:t,renderers:r}){const n=(0,r5e.default)({prop:"renderers"}),o=(0,Mr.useMemo)(()=>new n5e.default(r,t),[r,t,n]);return Mr.default.createElement(eo.Provider,{value:o},e)}Object.defineProperty(fs,"__esModule",{value:!0});fs.default=p5e;var u5e=f5e(ps),l5e=ut,d5e=Te;function f5e(e){return e&&e.__esModule?e:{default:e}}function p5e({tnode:e,propsFromParent:t,sharedProps:r,renderIndex:n,renderLength:o,TNodeChildrenRenderer:i},a){const{Default:c,Custom:l}=(0,l5e.useRendererConfig)(e),d=(0,d5e.useDefaultContainerProps)();return{assembledProps:{tnode:e,propsFromParent:t,sharedProps:r,TDefaultRenderer:a,TNodeChildrenRenderer:i,style:(0,u5e.default)(t==null?void 0:t.collapsedMarginTop,e.getNativeStyles()),type:e.type==="text"||e.type==="phrasing"?"text":"block",propsForChildren:e.tagName?{}:t,InternalRenderer:c||a,renderIndex:n,renderLength:o,...d},Renderer:l||c||null}}var ya={};Object.defineProperty(ya,"__esModule",{value:!0});ya.default=void 0;var h5e=M0(L),g5e=ie,m5e=M0(Wr);function M0(e){return e&&e.__esModule?e:{default:e}}const v5e=e=>h5e.default.createElement(g5e.Text,(0,m5e.default)(e));var y5e=v5e;ya.default=y5e;var _a={};Object.defineProperty(_a,"__esModule",{value:!0});_a.default=void 0;var _5e=Ls(L),b5e=Ls(X1),S5e=Ls(Wr),w5e=ie;function Ls(e){return e&&e.__esModule?e:{default:e}}function $5e(e){const t=(0,S5e.default)(e);return _5e.default.createElement(typeof t.onPress=="function"?b5e.default:w5e.View,t)}var P5e=$5e;_a.default=P5e;var ba={};Object.defineProperty(ba,"__esModule",{value:!0});ba.default=void 0;function x5e({tnode:e}){return null}var C5e=x5e;ba.default=C5e;Object.defineProperty(Be,"__esModule",{value:!0});Be.default=Be.TDefaultTextRenderer=Be.TDefaultPhrasingRenderer=Be.TDefaultBlockRenderer=void 0;var xo=N5e(L),T5e=Te,E5e=Sa(fs),M5e=Rt,As=Sa(ya),R5e=ut,R0=Sa(_a),Du=Sa(ba);function Sa(e){return e&&e.__esModule?e:{default:e}}function N0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(N0=function(n){return n?r:t})(e)}function N5e(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=N0(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}const qs=R0.default.bind(null);Be.TDefaultBlockRenderer=qs;qs.displayName="TDefaultBlockRenderer";const Ds=As.default.bind(null);Be.TDefaultPhrasingRenderer=Ds;Ds.displayName="TDefaultPhrasingRenderer";const Is=As.default.bind(null);Be.TDefaultTextRenderer=Is;Is.displayName="TDefaultTextRenderer";function O5e(e){return e.type==="text"&&(e.data===""||e.data===" ")||e.type==="empty"}const O0=(0,xo.memo)(function(t){const{tnode:r}=t,n=(0,T5e.useSharedProps)(),o=(0,R5e.useRendererRegistry)(),i=(0,M5e.useTNodeChildrenRenderer)(),a={...t,TNodeChildrenRenderer:i,sharedProps:n},c=r.type==="block"||r.type==="document"?qs:r.type==="text"?Is:r.type==="phrasing"?Ds:Du.default,{assembledProps:l,Renderer:d}=(0,E5e.default)(a,c);switch(r.type){case"empty":return(0,Du.default)(l);case"text":const v=o.getInternalTextRenderer(t.tnode.tagName);if(v)return xo.default.createElement(v,a);if(a.tnode.data===""&&a.sharedProps.enableExperimentalGhostLinesPrevention)return null;break;case"phrasing":if(a.sharedProps.bypassAnonymousTPhrasingNodes&&a.tnode.tagName==null&&a.tnode.children.length<=1)return xo.default.createElement(i,{tnode:t.tnode});if(a.sharedProps.enableExperimentalGhostLinesPrevention&&a.tnode.tagName==null&&a.tnode.children.every(O5e))return null;break}const p=r.type==="block"||r.type==="document"?R0.default:As.default;return d===null?p(l):xo.default.createElement(d,l)}),L5e={propsFromParent:{collapsedMarginTop:null}};O0.defaultProps=L5e;var A5e=O0;Be.default=A5e;var wa={},ks={};Object.defineProperty(ks,"__esModule",{value:!0});ks.default=q5e;function q5e(e,t){const r=typeof e.styles.nativeBlockRet.marginBottom=="number"?e.styles.nativeBlockRet.marginBottom:null,n=typeof t.styles.nativeBlockRet.marginTop=="number"?t.styles.nativeBlockRet.marginTop:null;return r==null||n==null?null:r<0&&n<0?Math.min(r,n)-r:r<0||n<0?r+n-r:r>n?0:n-r}Object.defineProperty(wa,"__esModule",{value:!0});wa.default=k5e;var D5e=I5e(ks);function I5e(e){return e&&e.__esModule?e:{default:e}}function Iu(e){return e.type==="block"||e.type==="phrasing"}function k5e(e,t){const r=t[e];return Iu(r)&&e>0&&Iu(t[e-1])?(0,D5e.default)(t[e-1],r):null}Object.defineProperty(q1,"__esModule",{value:!0});q1.default=U5e;var xi=Fs(L),F5e=Fs(Be),V5e=Fs(wa);function Fs(e){return e&&e.__esModule?e:{default:e}}const z5e={},B5e=(e,t,r,n,o,i)=>{const a=r?null:(0,V5e.default)(o,i),c={...e,collapsedMarginTop:a},l=n.nodeIndex,d=xi.default.createElement(F5e.default,{propsFromParent:c,tnode:n,key:l,renderIndex:o,renderLength:i.length});return typeof t=="function"?t({key:l,childElement:d,index:o,childTnode:n,propsFromParent:c}):d};function U5e({tchildren:e,propsForChildren:t=z5e,disableMarginCollapsing:r,renderChild:n}){const o=e.map(B5e.bind(null,t,n,r));return xi.default.createElement(xi.default.Fragment,null,o)}Object.defineProperty(xt,"__esModule",{value:!0});xt.default=xt.tchildrenRendererDefaultProps=void 0;var W5e=H5e(q1);function H5e(e){return e&&e.__esModule?e:{default:e}}const L0=W5e.default.bind(null),A0={propsForChildren:{}};xt.tchildrenRendererDefaultProps=A0;L0.defaultProps=A0;var j5e=L0;xt.default=j5e;Object.defineProperty(Vr,"__esModule",{value:!0});Vr.useTNodeChildrenProps=q0;Vr.default=void 0;var G5e=Te,Q5e=xt,X5e=Y5e(q1);function Y5e(e){return e&&e.__esModule?e:{default:e}}function Z5e(e){return e.type==="block"||e.type==="phrasing"}function q0({tnode:e,propsForChildren:t,disableMarginCollapsing:r=!1,renderChild:n}){const{enableExperimentalMarginCollapsing:o}=(0,G5e.useSharedProps)(),i=o&&!r&&Z5e(e);return{propsForChildren:t,disableMarginCollapsing:!i,tchildren:e.children,renderChild:n}}function D0(e){return e.tnode.type==="text"?e.tnode.data:(0,X5e.default)(q0(e))}D0.defaultProps=Q5e.tchildrenRendererDefaultProps;var J5e=D0;Vr.default=J5e;var ar={};Object.defineProperty(ar,"__esModule",{value:!0});ar.defaultRenderError=I0;ar.defaultRenderLoading=k0;ar.default=void 0;var _n=K5e(L),bn=ie;function K5e(e){return e&&e.__esModule?e:{default:e}}const Ci=bn.StyleSheet.create({alignCenter:{flex:1,alignItems:"center",justifyContent:"center"},errorText:{fontStyle:"italic",fontSize:16}});function I0(e){return _n.default.createElement(bn.View,{testID:"loader-error",style:Ci.alignCenter},_n.default.createElement(bn.Text,{style:Ci.errorText},"Failed to load HTML from ",e.uri))}function k0(){return _n.default.createElement(bn.View,{testID:"loader-loading",style:Ci.alignCenter},_n.default.createElement(bn.ActivityIndicator,null))}const ehe=_n.default.createContext({remoteErrorView:I0,remoteLoadingView:k0});var the=ehe;ar.default=the;Object.defineProperty(kr,"__esModule",{value:!0});kr.default=B0;kr.renderHTMLConfigPropTypes=void 0;var Vt=V0(L),me=yt(Go),rhe=yt(vt),nhe=yt(Te),ohe=yt(Rt),ahe=yt(Vr),ihe=yt(xt),ri=V0(ar),she=yt(ut),che=Ie,uhe=yt(Et),lhe=yt(Hn);function yt(e){return e&&e.__esModule?e:{default:e}}function F0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(F0=function(n){return n?r:t})(e)}function V0(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=F0(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}const dhe={TChildrenRenderer:ihe.default,TNodeChildrenRenderer:ahe.default},z0={bypassAnonymousTPhrasingNodes:me.default.bool,defaultTextProps:me.default.object,defaultViewProps:me.default.object,enableExperimentalBRCollapsing:me.default.bool,enableExperimentalGhostLinesPrevention:me.default.bool,enableExperimentalMarginCollapsing:me.default.bool,remoteErrorView:me.default.func,remoteLoadingView:me.default.func,debug:me.default.bool,computeEmbeddedMaxWidth:me.default.func,renderersProps:me.default.object,WebView:me.default.any,GenericPressable:me.default.any,defaultWebViewProps:me.default.object,pressableHightlightColor:me.default.string,customListStyleSpecs:me.default.object,renderers:me.default.object,provideEmbeddedHeaders:me.default.func};kr.renderHTMLConfigPropTypes=z0;function B0(e){const{remoteErrorView:t,remoteLoadingView:r,renderersProps:n,children:o,renderers:i,...a}=e,c=(0,che.useAmbientTRenderEngine)(),l=(0,uhe.default)({prop:"remoteErrorView or remoteLoadingView"}),d=(0,Vt.useMemo)(()=>({remoteErrorView:t||ri.defaultRenderError,remoteLoadingView:r||ri.defaultRenderLoading}),[t,r,l]);return Vt.default.createElement(she.default,{renderers:i,elementModels:c.getHTMLElementsModels()},Vt.default.createElement(nhe.default,a,Vt.default.createElement(lhe.default,null,Vt.default.createElement(rhe.default,{renderersProps:n},Vt.default.createElement(ohe.default.Provider,{value:dhe},Vt.default.createElement(ri.default.Provider,{value:d},o))))))}B0.propTypes=z0;var Qt={};function fhe(e){for(var t=[],r;!(r=e.next()).done;)t.push(r.value);return t}var phe=fhe;function hhe(e,t,r){for(var n=0,o=r.length;n=0;)r=zu[n],Vu(r,t)&&!xhe(o,r)&&(o[o.length]=r),n-=1;return o}),The=Che,Ehe=er,Mhe=Ehe(function(t){return t===null?"Null":t===void 0?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}),Rhe=Mhe,Uu=phe,Wu=ghe,Nhe=vhe,Ohe=kn,ni=_he,Hu=The,ju=Rhe;function Gu(e,t,r,n){var o=Uu(e),i=Uu(t);function a(c,l){return Vs(c,l,r.slice(),n.slice())}return!Wu(function(c,l){return!Wu(a,l,c)},i,o)}function Vs(e,t,r,n){if(ni(e,t))return!0;var o=ju(e);if(o!==ju(t)||e==null||t==null)return!1;if(typeof e["fantasy-land/equals"]=="function"||typeof t["fantasy-land/equals"]=="function")return typeof e["fantasy-land/equals"]=="function"&&e["fantasy-land/equals"](t)&&typeof t["fantasy-land/equals"]=="function"&&t["fantasy-land/equals"](e);if(typeof e.equals=="function"||typeof t.equals=="function")return typeof e.equals=="function"&&e.equals(t)&&typeof t.equals=="function"&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if(typeof e.constructor=="function"&&Nhe(e.constructor)==="Promise")return e===t;break;case"Boolean":case"Number":case"String":if(!(typeof e==typeof t&&ni(e.valueOf(),t.valueOf())))return!1;break;case"Date":if(!ni(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(!(e.source===t.source&&e.global===t.global&&e.ignoreCase===t.ignoreCase&&e.multiline===t.multiline&&e.sticky===t.sticky&&e.unicode===t.unicode))return!1;break}for(var i=r.length-1;i>=0;){if(r[i]===e)return n[i]===t;i-=1}switch(o){case"Map":return e.size!==t.size?!1:Gu(e.entries(),t.entries(),r.concat([e]),n.concat([t]));case"Set":return e.size!==t.size?!1:Gu(e.values(),t.values(),r.concat([e]),n.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var a=Hu(e);if(a.length!==Hu(t).length)return!1;var c=r.concat([e]),l=n.concat([t]);for(i=a.length-1;i>=0;){var d=a[i];if(!(Ohe(d,t)&&Vs(t[d],e[d],c,l)))return!1;i-=1}return!0}var Lhe=Vs,Ahe=Mt,qhe=Lhe,Dhe=Ahe(function(t,r){return qhe(t,r,[],[])}),Ihe=Dhe,Xr={};Object.defineProperty(Xr,"__esModule",{value:!0});Xr.default=void 0;var khe=L;const Fhe=(0,khe.createContext)({});var Vhe=Fhe;Xr.default=Vhe;var zs={};Object.defineProperty(zs,"__esModule",{value:!0});zs.default=zhe;function zhe(e){return"uri"in e&&typeof e.uri=="string"}var Bs={},to={},Us={};Object.defineProperty(Us,"__esModule",{value:!0});Us.default=Ghe;var No=L,Bhe=Hhe(Xr),Uhe=Te,Whe=Ie;function Hhe(e){return e&&e.__esModule?e:{default:e}}function jhe(e){const{onTTreeChange:t}=(0,No.useContext)(Bhe.default),{debug:r}=(0,Uhe.useSharedProps)(),n=(0,No.useRef)(0);(0,No.useEffect)(()=>{t==null||t.call(null,e)},[e,t,r])}function Ghe(e){const{document:t}=e,r=(0,Whe.useAmbientTRenderEngine)(),n=(0,No.useMemo)(()=>typeof t=="string"?r.buildTTree(t):r.buildTTreeFromDoc(t),[t,r]);return jhe(n),n}var $a={};Object.defineProperty($a,"__esModule",{value:!0});$a.default=void 0;var un=Yhe(L),Qhe=U0(Nt),Xhe=U0(Be);function U0(e){return e&&e.__esModule?e:{default:e}}function W0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(W0=function(n){return n?r:t})(e)}function Yhe(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=W0(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}const Zhe=(0,un.memo)(({tdoc:e,baseUrl:t,onDocumentMetadataLoaded:r})=>{const n=(0,un.useMemo)(()=>{const{baseHref:o,baseTarget:i,lang:a,links:c,meta:l,title:d,dir:p}=e.context;return{baseTarget:i,baseUrl:t??o,lang:a,dir:p,links:c,meta:l,title:d}},[e.context,t]);return(0,un.useEffect)(()=>{r==null||r.call(null,n)},[r,n]),un.default.createElement(Qhe.default,{value:n},un.default.createElement(Xhe.default,{renderIndex:0,renderLength:1,tnode:e}))});var Jhe=Zhe;$a.default=Jhe;Object.defineProperty(to,"__esModule",{value:!0});to.default=n6e;var Qu=r6e(L),Khe=Ws(Xr),e6e=Ws(Us),t6e=Ws($a);function Ws(e){return e&&e.__esModule?e:{default:e}}function H0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(H0=function(n){return n?r:t})(e)}function r6e(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=H0(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function n6e(e){const t=(0,e6e.default)(e),{onDocumentMetadataLoaded:r}=(0,Qu.useContext)(Khe.default);return Qu.default.createElement(t6e.default,{tdoc:t,baseUrl:e.baseUrl,onDocumentMetadataLoaded:r})}Object.defineProperty(Bs,"__esModule",{value:!0});Bs.default=u6e;var gn=i6e(L),o6e=j0(to),a6e=j0(ar);function j0(e){return e&&e.__esModule?e:{default:e}}function G0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(G0=function(n){return n?r:t})(e)}function i6e(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=G0(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}const Q0={error:!0,resolvedHTML:null};async function s6e(e,{body:t,headers:r,method:n}){const o=await fetch(e,{body:t,headers:r,method:n});return o.ok?{resolvedHTML:await o.text(),error:!1}:Q0}function c6e({source:e,onHTMLLoaded:t}){const[r,n]=(0,gn.useState)({error:!1,resolvedHTML:null}),{error:o}=r;return(0,gn.useEffect)(()=>{let i=!1;return o||(n({error:!1,resolvedHTML:null}),s6e(e.uri,{body:e.body,headers:e.headers,method:e.method}).then(a=>{!i&&n(a)}).catch(()=>{!i&&n(Q0)})),()=>{i=!0}},[o,e.uri,e.body,e.headers,e.method]),(0,gn.useEffect)(()=>{r.resolvedHTML&&(t==null||t.call(null,r.resolvedHTML))},[r.resolvedHTML,t]),r}function u6e(e){const{remoteErrorView:t,remoteLoadingView:r}=(0,gn.useContext)(a6e.default),{resolvedHTML:n,error:o}=c6e(e);return o?t.call(null,e.source):n===null?r.call(null,e.source):gn.default.createElement(o6e.default,{document:n,baseUrl:e.source.uri})}var Hs={};Object.defineProperty(Hs,"__esModule",{value:!0});Hs.default=h6e;var X0=f6e(L),l6e=d6e(to);function d6e(e){return e&&e.__esModule?e:{default:e}}function Y0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Y0=function(n){return n?r:t})(e)}function f6e(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Y0(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function p6e({source:e,onHTMLLoaded:t}){const r=e.html;return(0,X0.useEffect)(()=>{r&&(t==null||t.call(null,r))},[r,t]),e}function h6e(e){const{html:t}=p6e(e);return X0.default.createElement(l6e.default,{document:t,baseUrl:e.source.baseUrl})}var js={};Object.defineProperty(js,"__esModule",{value:!0});js.default=v6e;var g6e=Z0(L),m6e=Z0(to);function Z0(e){return e&&e.__esModule?e:{default:e}}function v6e(e){return g6e.default.createElement(m6e.default,{document:e.source.dom,baseUrl:e.source.baseUrl})}var Gs={};Object.defineProperty(Gs,"__esModule",{value:!0});Gs.default=y6e;function y6e(e){return"dom"in e&&typeof e.dom=="object"&&!!e.dom}Object.defineProperty(Qt,"__esModule",{value:!0});Qt.default=Qt.renderSourcePropTypes=void 0;var _6e=et(Ihe),bt=M6e(L),b6e=ie,Pe=et(Go),S6e=et(Xr),w6e=et(zs),$6e=et(Bs),P6e=et(Hs),x6e=et(js);et(Sn);var C6e=et(Un),T6e=et(Gs),E6e=et(Et);function J0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(J0=function(n){return n?r:t})(e)}function M6e(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=J0(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function et(e){return e&&e.__esModule?e:{default:e}}const K0={source:Pe.default.oneOfType([Pe.default.shape({html:Pe.default.string.isRequired,baseUrl:Pe.default.string}),Pe.default.shape({dom:Pe.default.object.isRequired,baseUrl:Pe.default.string}),Pe.default.shape({uri:Pe.default.string.isRequired,method:Pe.default.string,body:Pe.default.any,headers:Pe.default.object})]),onTTreeChange:Pe.default.func,onHTMLLoaded:Pe.default.func,onDocumentMetadataLoaded:Pe.default.func,contentWidth:Pe.default.number};Qt.renderSourcePropTypes=K0;function R6e(e){return!e||typeof e.uri!="string"&&typeof e.html!="string"&&!e.dom}function N6e({source:e,...t}){return R6e(e)?null:(0,w6e.default)(e)?bt.default.createElement($6e.default,{source:e,...t}):(0,T6e.default)(e)?bt.default.createElement(x6e.default,{source:e,...t}):bt.default.createElement(P6e.default,{source:e,...t})}function Xu(e,t){if(!(0,_6e.default)(Object.keys(e),Object.keys(t)))return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}const ep=(0,bt.memo)(function({onDocumentMetadataLoaded:t,onTTreeChange:r,contentWidth:n,...o}){const i=(0,E6e.default)({prop:"onDocumentMetadataLoaded or onTTreeChange"}),a=(0,bt.useMemo)(()=>({onDocumentMetadataLoaded:t,onTTreeChange:r}),[t,r,i]);return bt.default.createElement(S6e.default.Provider,{value:a},bt.default.createElement(C6e.default.Provider,{value:n||b6e.Dimensions.get("window").width},bt.default.createElement(N6e,o)))},({source:e,...t},{source:r,...n})=>Xu(e,r)&&Xu(t,n));ep.propTypes=K0;var O6e=ep;Qt.default=O6e;Object.defineProperty(Mi,"__esModule",{value:!0});Mi.default=I6e;var Co=ro(L),L6e=ro(Qo),A6e=ro(Ie),q6e=ro(kr),D6e=ro(Qt);function ro(e){return e&&e.__esModule?e:{default:e}}function I6e(e){const{source:t,onHTMLLoaded:r,onTTreeChange:n,onDocumentMetadataLoaded:o,contentWidth:i,...a}=e;return Co.default.createElement(L6e.default,e,Co.default.createElement(A6e.default,a,Co.default.createElement(q6e.default,a,Co.default.createElement(D6e.default,{source:t,onHTMLLoaded:r,onTTreeChange:n,onDocumentMetadataLoaded:o,contentWidth:i}))))}var tp={};Object.defineProperty(tp,"__esModule",{value:!0});var rp={};Object.defineProperty(rp,"__esModule",{value:!0});var Qs={};Object.defineProperty(Qs,"__esModule",{value:!0});Qs.default=j6e;var k6e=Xs(Br),F6e=Xs(ta),V6e=Xs(ga),z6e=zr,B6e=nr,U6e=Hr,W6e=Qr;function Xs(e){return e&&e.__esModule?e:{default:e}}const Ti={img:{hook:B6e.useIMGElementProps,Element:k6e.default},ol:{hook:U6e.useOLElementProps,Element:F6e.default},ul:{hook:W6e.useULElementProps,Element:V6e.default},a:{hook:z6e.useAElementProps,Element:void 0}};function H6e(e){return e in Ti}function j6e(e,t){const{TDefaultRenderer:r,...n}=t;return H6e(e)?{Renderer:Ti[e].Element||r,rendererProps:Ti[e].hook(t)}:{Renderer:r,rendererProps:n}}var Ys={},G6e=Mt,Q6e=G6e(function(t,r){for(var n={},o={},i=0,a=t.length;i`]/g,n),t.subset||t.escapeOnly)return e;return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,r).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,n);function r(o,i,a){return t.format((o.charCodeAt(0)-55296)*1024+o.charCodeAt(1)-56320+65536,a.charCodeAt(i+2),t)}function n(o,i,a){return t.format(o.charCodeAt(0),a.charCodeAt(i+1),t)}}function a7e(e){for(var t=[],r=-1;++r",_ye="Œ",bye="œ",Sye="Š",wye="š",$ye="Ÿ",Pye="ˆ",xye="˜",Cye=" ",Tye=" ",Eye=" ",Mye="‌",Rye="‍",Nye="‎",Oye="‏",Lye="–",Aye="—",qye="‘",Dye="’",Iye="‚",kye="“",Fye="”",Vye="„",zye="†",Bye="‡",Uye="‰",Wye="‹",Hye="›",jye="€",Gye={nbsp:dge,iexcl:fge,cent:pge,pound:hge,curren:gge,yen:mge,brvbar:vge,sect:yge,uml:_ge,copy:bge,ordf:Sge,laquo:wge,not:$ge,shy:Pge,reg:xge,macr:Cge,deg:Tge,plusmn:Ege,sup2:Mge,sup3:Rge,acute:Nge,micro:Oge,para:Lge,middot:Age,cedil:qge,sup1:Dge,ordm:Ige,raquo:kge,frac14:Fge,frac12:Vge,frac34:zge,iquest:Bge,Agrave:Uge,Aacute:Wge,Acirc:Hge,Atilde:jge,Auml:Gge,Aring:Qge,AElig:Xge,Ccedil:Yge,Egrave:Zge,Eacute:Jge,Ecirc:Kge,Euml:eme,Igrave:tme,Iacute:rme,Icirc:nme,Iuml:ome,ETH:ame,Ntilde:ime,Ograve:sme,Oacute:cme,Ocirc:ume,Otilde:lme,Ouml:dme,times:fme,Oslash:pme,Ugrave:hme,Uacute:gme,Ucirc:mme,Uuml:vme,Yacute:yme,THORN:_me,szlig:bme,agrave:Sme,aacute:wme,acirc:$me,atilde:Pme,auml:xme,aring:Cme,aelig:Tme,ccedil:Eme,egrave:Mme,eacute:Rme,ecirc:Nme,euml:Ome,igrave:Lme,iacute:Ame,icirc:qme,iuml:Dme,eth:Ime,ntilde:kme,ograve:Fme,oacute:Vme,ocirc:zme,otilde:Bme,ouml:Ume,divide:Wme,oslash:Hme,ugrave:jme,uacute:Gme,ucirc:Qme,uuml:Xme,yacute:Yme,thorn:Zme,yuml:Jme,fnof:Kme,Alpha:eve,Beta:tve,Gamma:rve,Delta:nve,Epsilon:ove,Zeta:ave,Eta:ive,Theta:sve,Iota:cve,Kappa:uve,Lambda:lve,Mu:dve,Nu:fve,Xi:pve,Omicron:hve,Pi:gve,Rho:mve,Sigma:vve,Tau:yve,Upsilon:_ve,Phi:bve,Chi:Sve,Psi:wve,Omega:$ve,alpha:Pve,beta:xve,gamma:Cve,delta:Tve,epsilon:Eve,zeta:Mve,eta:Rve,theta:Nve,iota:Ove,kappa:Lve,lambda:Ave,mu:qve,nu:Dve,xi:Ive,omicron:kve,pi:Fve,rho:Vve,sigmaf:zve,sigma:Bve,tau:Uve,upsilon:Wve,phi:Hve,chi:jve,psi:Gve,omega:Qve,thetasym:Xve,upsih:Yve,piv:Zve,bull:Jve,hellip:Kve,prime:e4e,Prime:t4e,oline:r4e,frasl:n4e,weierp:o4e,image:a4e,real:i4e,trade:s4e,alefsym:c4e,larr:u4e,uarr:l4e,rarr:d4e,darr:f4e,harr:p4e,crarr:h4e,lArr:g4e,uArr:m4e,rArr:v4e,dArr:y4e,hArr:_4e,forall:b4e,part:S4e,exist:w4e,empty:$4e,nabla:P4e,isin:x4e,notin:C4e,ni:T4e,prod:E4e,sum:M4e,minus:R4e,lowast:N4e,radic:O4e,prop:L4e,infin:A4e,ang:q4e,and:D4e,or:I4e,cap:k4e,cup:F4e,int:V4e,there4:z4e,sim:B4e,cong:U4e,asymp:W4e,ne:H4e,equiv:j4e,le:G4e,ge:Q4e,sub:X4e,sup:Y4e,nsub:Z4e,sube:J4e,supe:K4e,oplus:eye,otimes:tye,perp:rye,sdot:nye,lceil:oye,rceil:aye,lfloor:iye,rfloor:sye,lang:cye,rang:uye,loz:lye,spades:dye,clubs:fye,hearts:pye,diams:hye,quot:gye,amp:mye,lt:vye,gt:yye,OElig:_ye,oelig:bye,Scaron:Sye,scaron:wye,Yuml:$ye,circ:Pye,tilde:xye,ensp:Cye,emsp:Tye,thinsp:Eye,zwnj:Mye,zwj:Rye,lrm:Nye,rlm:Oye,ndash:Lye,mdash:Aye,lsquo:qye,rsquo:Dye,sbquo:Iye,ldquo:kye,rdquo:Fye,bdquo:Vye,dagger:zye,Dagger:Bye,permil:Uye,lsaquo:Wye,rsaquo:Hye,euro:jye};var Yu=Gye,ip={},oi,Qye=ip;for(oi in Yu)ip[Yu[oi]]=oi;var Xye={}.hasOwnProperty;const Yye=["cent","copy","divide","gt","lt","not","para","times"];var Zye=e_e,Jye=lge,Zu=Qye,Ju=Js,Ku=Xye,Kye=Yye;function e_e(e,t,r,n){var o=Ju(e),i,a;return Ku.call(Zu,o)?(i=Zu[o],a="&"+i,r&&Ku.call(Jye,i)&&Kye.indexOf(i)===-1&&(!n||t&&t!==61&&/[^\da-z]/i.test(Ju(t)))?a:a+";"):""}var sp=o_e,t_e=i7e,r_e=u7e,n_e=Zye;function o_e(e,t,r){var n,o,i;return(r.useNamedReferences||r.useShortestReferences)&&(n=n_e(e,t,r.omitOptionalSemicolons,r.attribute)),(r.useShortestReferences||!n)&&(o=t_e(e,t,r.omitOptionalSemicolons),r.useShortestReferences&&(i=r_e(e,t,r.omitOptionalSemicolons),i.length{r.push(`${n}="${(0,up.default)(`${t[n]}`)}"`)}),`<${e}${r.length?" ":""}${r.join(" ")}>`}function lp(e,t,r=0){let n="";if((0,el.isDomElement)(e)){const o=e.children.reduce((i,a)=>{const c=lp(a,t,r+1);return`${i}${c}`},"");n=`${y_e(e.tagName,e.attribs)}${o}`}else(0,el.isDomText)(e)&&(n=(0,up.default)(e.data));return typeof t=="function"&&t(e,r,n),n}var Ks={};Object.defineProperty(Ks,"__esModule",{value:!0});Ks.default=P_e;var __e=Pa(Ur),b_e=U1,S_e=Pa(B1),w_e=Pa(H1),$_e=Pa(z1);function Pa(e){return e&&e.__esModule?e:{default:e}}function P_e(e){const{alt:t,altColor:r,source:n,contentWidth:o,computeMaxWidth:i,objectFit:a,initialDimensions:c=__e.default,cachedNaturalDimensions:l}=e,{flatStyle:d,specifiedDimensions:p}=(0,w_e.default)(e),v=(0,$_e.default)({specifiedDimensions:p,source:n}),h=(0,S_e.default)({flatStyle:d,naturalDimensions:l,specifiedDimensions:p,computeMaxWidth:i,contentWidth:o});return(0,b_e.getIMGState)({error:null,concreteDimensions:h,containerStyle:d,initialDimensions:c,objectFit:a,source:v,alt:t,altColor:r})}var dp={};Object.defineProperty(dp,"__esModule",{value:!0});(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t={RenderHTML:!0,defaultHTMLElementModels:!0,isDomElement:!0,isDomText:!0,Document:!0,Element:!0,Node:!0,Text:!0,NodeWithChildren:!0,HTMLContentModel:!0,HTMLElementModel:!0,TRenderEngine:!0,TChildrenRenderer:!0,TNodeChildrenRenderer:!0,useTNodeChildrenProps:!0,TNodeRenderer:!0,TRenderEngineProvider:!0,defaultFallbackFonts:!0,useAmbientTRenderEngine:!0,RenderHTMLConfigProvider:!0,RenderHTMLSource:!0,useInternalRenderer:!0,useNormalizedUrl:!0,getNativePropsForTNode:!0,collapseTopMarginForChild:!0,splitBoxModelStyle:!0,buildTREFromConfig:!0,useComputeMaxWidthForTag:!0,useSharedProps:!0,useRendererProps:!0,useDocumentMetadata:!0,useContentWidth:!0,domNodeToHTMLString:!0,defaultSystemFonts:!0,defaultListStyleSpecs:!0,useIMGElementState:!0,useIMGElementStateWithCache:!0,IMGElement:!0,IMGElementContainer:!0,IMGElementContentError:!0,IMGElementContentLoading:!0,IMGElementContentSuccess:!0,IMGElementContentAlt:!0,useIMGElementProps:!0};Object.defineProperty(e,"RenderHTML",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"defaultHTMLElementModels",{enumerable:!0,get:function(){return n.defaultHTMLElementModels}}),Object.defineProperty(e,"isDomElement",{enumerable:!0,get:function(){return n.isDomElement}}),Object.defineProperty(e,"isDomText",{enumerable:!0,get:function(){return n.isDomText}}),Object.defineProperty(e,"Document",{enumerable:!0,get:function(){return n.Document}}),Object.defineProperty(e,"Element",{enumerable:!0,get:function(){return n.Element}}),Object.defineProperty(e,"Node",{enumerable:!0,get:function(){return n.Node}}),Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return n.Text}}),Object.defineProperty(e,"NodeWithChildren",{enumerable:!0,get:function(){return n.NodeWithChildren}}),Object.defineProperty(e,"HTMLContentModel",{enumerable:!0,get:function(){return n.HTMLContentModel}}),Object.defineProperty(e,"HTMLElementModel",{enumerable:!0,get:function(){return n.HTMLElementModel}}),Object.defineProperty(e,"TRenderEngine",{enumerable:!0,get:function(){return n.TRenderEngine}}),Object.defineProperty(e,"TChildrenRenderer",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"TNodeChildrenRenderer",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"useTNodeChildrenProps",{enumerable:!0,get:function(){return c.useTNodeChildrenProps}}),Object.defineProperty(e,"TNodeRenderer",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"TRenderEngineProvider",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"defaultFallbackFonts",{enumerable:!0,get:function(){return d.defaultFallbackFonts}}),Object.defineProperty(e,"useAmbientTRenderEngine",{enumerable:!0,get:function(){return d.useAmbientTRenderEngine}}),Object.defineProperty(e,"RenderHTMLConfigProvider",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"RenderHTMLSource",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"useInternalRenderer",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"useNormalizedUrl",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"getNativePropsForTNode",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"collapseTopMarginForChild",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"splitBoxModelStyle",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(e,"buildTREFromConfig",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(e,"useComputeMaxWidthForTag",{enumerable:!0,get:function(){return H.useComputeMaxWidthForTag}}),Object.defineProperty(e,"useSharedProps",{enumerable:!0,get:function(){return H.useSharedProps}}),Object.defineProperty(e,"useRendererProps",{enumerable:!0,get:function(){return k.useRendererProps}}),Object.defineProperty(e,"useDocumentMetadata",{enumerable:!0,get:function(){return F.useDocumentMetadata}}),Object.defineProperty(e,"useContentWidth",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(e,"domNodeToHTMLString",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(e,"defaultSystemFonts",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(e,"defaultListStyleSpecs",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(e,"useIMGElementState",{enumerable:!0,get:function(){return _e.default}}),Object.defineProperty(e,"useIMGElementStateWithCache",{enumerable:!0,get:function(){return be.default}}),Object.defineProperty(e,"IMGElement",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(e,"IMGElementContainer",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(e,"IMGElementContentError",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"IMGElementContentLoading",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"IMGElementContentSuccess",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"IMGElementContentAlt",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(e,"useIMGElementProps",{enumerable:!0,get:function(){return w.useIMGElementProps}}),e.default=void 0;var r=x(Mi),n=Yo,o=tp;Object.keys(o).forEach(function(R){R==="default"||R==="__esModule"||Object.prototype.hasOwnProperty.call(t,R)||R in e&&e[R]===o[R]||Object.defineProperty(e,R,{enumerable:!0,get:function(){return o[R]}})});var i=rp;Object.keys(i).forEach(function(R){R==="default"||R==="__esModule"||Object.prototype.hasOwnProperty.call(t,R)||R in e&&e[R]===i[R]||Object.defineProperty(e,R,{enumerable:!0,get:function(){return i[R]}})});var a=x(xt),c=P(Vr),l=x(Be),d=P(Ie),p=x(kr),v=x(Qt),h=x(Qs),N=x(Bn),T=x(Wr),E=x(wa),M=x(Ys),D=x(Xo),H=Te,k=vt,F=Nt,z=x(K1),Y=x(Zs),oe=x(In),ee=x(Fr),_e=x(V1),be=x(Ks),re=x(Br),te=x(Q1),s=x(Z1),u=x(Y1),f=x(G1),m=x(J1),_=dp;Object.keys(_).forEach(function(R){R==="default"||R==="__esModule"||Object.prototype.hasOwnProperty.call(t,R)||R in e&&e[R]===_[R]||Object.defineProperty(e,R,{enumerable:!0,get:function(){return _[R]}})});var w=nr;function $(R){if(typeof WeakMap!="function")return null;var X=new WeakMap,G=new WeakMap;return($=function(j){return j?G:X})(R)}function P(R,X){if(R&&R.__esModule)return R;if(R===null||typeof R!="object"&&typeof R!="function")return{default:R};var G=$(X);if(G&&G.has(R))return G.get(R);var j={},ue=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var se in R)if(se!=="default"&&Object.prototype.hasOwnProperty.call(R,se)){var ce=ue?Object.getOwnPropertyDescriptor(R,se):null;ce&&(ce.get||ce.set)?Object.defineProperty(j,se,ce):j[se]=R[se]}return j.default=R,G&&G.set(R,j),j}function x(R){return R&&R.__esModule?R:{default:R}}var B=r.default;e.default=B})(il);const x_e=i9(il),C_e=e=>{const t=[],r=/]*>(.*?)<\/a>/gi;let n,o=0;for(;n=r.exec(e);){const a=n.index,c=n[0],l=e.substring(o,a);l.trim()!==""&&t.push(l),t.push(c),o=a+c.length}const i=e.substring(o);return i.trim()!==""&&t.push(i),t.map(a=>`
${a.trim()}
`).join("")},T_e=(e,t=[])=>t.reduce((r,{find:n,replace:o})=>r.replace(n,o),e),tl=({content:e,isIntro:t,transformRules:r})=>{const[n,o]=L.useState(0),i=Na(E_e),a=Na(M_e(t)),c=Na(R_e),l=h9(),d=L.useCallback(h=>{o(h.nativeEvent.layout.width)},[]),p=L.useMemo(()=>{if(!e)return;const h=T_e(e,r);return l?C_e(h):h},[e,l,r]),v=L.useMemo(()=>({b:a.boldText,h1:{...a.boldText,...a.titleLevel1,...a.titleMargins},h2:{...a.boldText,...a.titleLevel2,...a.titleMargins},h3:{...a.boldText,...a.titleLevel3,...a.titleMargins},h4:{...a.boldText,...a.titleLevel4,...a.titleMargins},h5:{...a.boldText,...a.titleLevel5,...a.titleMargins},h6:{...a.boldText,...a.titleLevel6,...a.titleMargins},img:a.margins,li:{...a.paragraph},ol:{...a.paragraph,...a.margins},p:{...a.paragraph,...a.margins},strong:a.boldText,ul:a.margins}),[a]);return p?Qe.jsx(Ei,{onLayout:d,children:Qe.jsx(x_e,{baseStyle:i,contentWidth:n,renderers:D_e,source:{html:p},systemFonts:c,tagsStyles:v})}):null},fp=(e,t=!1)=>t?e.fontSize.intro:e.fontSize.body,pp=(e,t=!1)=>t?e.lineHeight.intro:e.lineHeight.body,E_e=({color:e,text:t})=>({color:e.text.default,fontFamily:t.fontFamily.regular,fontSize:fp(t),lineHeight:pp(t)}),M_e=e=>({text:t})=>{const r=pp(t,e),n=m9.OS==="android"?"normal":void 0;return{margins:{marginTop:0,marginBottom:r},paragraph:{fontSize:fp(t,e),lineHeight:r},boldText:{fontFamily:t.fontFamily.bold,fontWeight:n},titleLevel1:{fontSize:t.fontSize.h1,lineHeight:t.lineHeight.h1},titleLevel2:{fontSize:t.fontSize.h2,lineHeight:t.lineHeight.h2},titleLevel3:{fontSize:t.fontSize.h3,lineHeight:t.lineHeight.h3},titleLevel4:{fontSize:t.fontSize.h4,lineHeight:t.lineHeight.h4},titleLevel5:{fontSize:t.fontSize.h5,lineHeight:t.lineHeight.h5},titleLevel6:{fontSize:t.fontSize.h6,lineHeight:t.lineHeight.h6},titleMargins:{marginTop:0,marginBottom:r/2}}},R_e=({text:e})=>[e.fontFamily.bold,e.fontFamily.regular],N_e=({TNodeChildrenRenderer:e,...t})=>Qe.jsx(e,{...t}),O_e=e=>rl.create({marker:{paddingTop:2*e}}),L_e=()=>{const{fontScale:e}=g9(),t=O_e(e);return Qe.jsx(p9,{additionalStyles:t.marker,marker:"square",testID:"ListItemMarker"})},A_e=e=>{var n;const{TDefaultRenderer:t,TNodeChildrenRenderer:r}=e;return((n=e.tnode.parent)==null?void 0:n.tagName)==="ul"?Qe.jsxs(f9,{children:[Qe.jsx(L_e,{}),Qe.jsx(d9,{flex:1,children:Qe.jsx(r,{...e})})]}):Qe.jsx(t,{...e})},q_e=e=>{const{href:t}=e.tnode.attributes,r=c9(),{TNodeChildrenRenderer:n}=e;return Qe.jsx(u9,{onPress:()=>r(t),testID:"HtmlRendererAInlineLink",children:Qe.jsx(n,{...e})})},D_e={ul:N_e,li:A_e,a:q_e};try{tl.displayName="HtmlContent",tl.__docgenInfo={description:"Renders HTML content, applying the typographic design.",displayName:"HtmlContent",props:{content:{defaultValue:null,description:"",name:"content",required:!0,type:{name:"string | undefined"}},isIntro:{defaultValue:null,description:"",name:"isIntro",required:!1,type:{name:"boolean"}},transformRules:{defaultValue:null,description:"",name:"transformRules",required:!1,type:{name:"HtmlTransformRule[]"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{tl as H}; diff --git a/assets/HtmlContent.stories-AMd582sk.js b/assets/HtmlContent.stories-AMd582sk.js deleted file mode 100644 index cfadcad3..00000000 --- a/assets/HtmlContent.stories-AMd582sk.js +++ /dev/null @@ -1 +0,0 @@ -import{j as m}from"./jsx-runtime-Bxcv0yjW.js";import{H as i}from"./HtmlContent-BN7YmfBH.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-eRgc22Hn.js";import"./index-CEE--Juu.js";import"./index-iQAZAIR7.js";import"./index-BMk6Tmu2.js";import"./client-DDXjyz62.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-kJeFfQx-.js";import"./index-XPwQYiUg.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./index-S14X4tbk.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./index-CsseZgnR.js";import"./index-Cnrjv3xk.js";import"./index-ZuFZ7TrF.js";import"./index-C3bJM-gU.js";import"./index-Dk74W0Oi.js";import"./Column-DVJ0Grcf.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-CjWxbHxI.js";import"./base-color-CZpuL6yQ.js";import"./Row-BXpfxHoR.js";import"./Phrase-t0rOiClQ.js";import"./ListItemMarker-BvZewDFw.js";import"./config-BZnShabN.js";import"./useDeviceContext-DGl4H2w7.js";import"./useIsScreenReaderEnabled-BGYkQQWr.js";import"./useOpenMailUrl-Cpc3v_r1.js";import"./useOpenPhoneUrl-BpjRyIpq.js";const Y={component:i},e=n=>m.jsx(i,{...n});e.args={content:'

Bullebak (brug 149)

De Bullebak verbindt de Marnixstraat met de Korte Marnixstraat, richting het Haarlemmerplein. De brug kende al lange tijd problemen met openen en sluiten. In de zomer 2018 sprong hij zelfs ineens open. We vervangen nu de monumentale brug helemaal. Dit is een ingewikkelde klus, omdat de brug is ingeklemd tussen kwetsbare kademuren en omgeven door kabels en leidingen. De Bullebak is tijdens de werkzaamheden afgesloten voor trams, bussen en auto’s. Alleen fietsers, voetgangers en de brandweer houden hun doorgang via een tijdelijke hulpbrug. De vervanging van de bruggen is onderdeel van het project Binnenring.

Wanneer

De werkzaamheden zijn 12 augustus 2020 gestart en duren tot juni 2023.

',isIntro:!1};var t,r,o;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:"args => ",...(o=(r=e.parameters)==null?void 0:r.docs)==null?void 0:o.source}}};const Z=["Default"];export{e as Default,Z as __namedExportsOrder,Y as default}; diff --git a/assets/HtmlContent.stories-D13bMDLJ.js b/assets/HtmlContent.stories-D13bMDLJ.js new file mode 100644 index 00000000..2abb16ae --- /dev/null +++ b/assets/HtmlContent.stories-D13bMDLJ.js @@ -0,0 +1 @@ +import{j as m}from"./jsx-runtime-Bxcv0yjW.js";import{H as i}from"./HtmlContent-CNaxTXns.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useOpenUrl-CQsKsYCH.js";import"./index-CEE--Juu.js";import"./index-iQAZAIR7.js";import"./index-BMk6Tmu2.js";import"./client-DDXjyz62.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-kJeFfQx-.js";import"./index-XPwQYiUg.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./index-S14X4tbk.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./index-CsseZgnR.js";import"./index-Cnrjv3xk.js";import"./index-ZuFZ7TrF.js";import"./index-C3bJM-gU.js";import"./Phrase-CsqFctWr.js";import"./useThemable-BlSbywuP.js";import"./base-color-B2rPH-Aj.js";import"./useOpenMailUrl-Cpc3v_r1.js";import"./useOpenPhoneUrl-BpjRyIpq.js";import"./index-Dk74W0Oi.js";import"./Column-BO_nzweR.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Row-BY9zY_5g.js";import"./ListItemMarker-BOjN2r3Y.js";import"./config-BZnShabN.js";import"./useDeviceContext-DGl4H2w7.js";import"./useIsScreenReaderEnabled-BGYkQQWr.js";const Y={component:i},e=n=>m.jsx(i,{...n});e.args={content:'

Bullebak (brug 149)

De Bullebak verbindt de Marnixstraat met de Korte Marnixstraat, richting het Haarlemmerplein. De brug kende al lange tijd problemen met openen en sluiten. In de zomer 2018 sprong hij zelfs ineens open. We vervangen nu de monumentale brug helemaal. Dit is een ingewikkelde klus, omdat de brug is ingeklemd tussen kwetsbare kademuren en omgeven door kabels en leidingen. De Bullebak is tijdens de werkzaamheden afgesloten voor trams, bussen en auto’s. Alleen fietsers, voetgangers en de brandweer houden hun doorgang via een tijdelijke hulpbrug. De vervanging van de bruggen is onderdeel van het project Binnenring.

Wanneer

De werkzaamheden zijn 12 augustus 2020 gestart en duren tot juni 2023.

',isIntro:!1};var t,r,o;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:"args => ",...(o=(r=e.parameters)==null?void 0:r.docs)==null?void 0:o.source}}};const Z=["Default"];export{e as Default,Z as __namedExportsOrder,Y as default}; diff --git a/assets/Icon-DcC-yiY8.js b/assets/Icon-CHbD1j2W.js similarity index 98% rename from assets/Icon-DcC-yiY8.js rename to assets/Icon-CHbD1j2W.js index 8626d2d3..d052238b 100644 --- a/assets/Icon-DcC-yiY8.js +++ b/assets/Icon-CHbD1j2W.js @@ -1 +1 @@ -import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{r}from"./index-mfbfsM12.js";import{S as C,P as M}from"./index-DYSHDArR.js";import{R as z}from"./Row-BXpfxHoR.js";import{A as l,E as d}from"./Animated-C23eizOh.js";import{I as L}from"./types-BJ_48vsK.js";import{u as Z}from"./useDeviceContext-DGl4H2w7.js";import{u as g}from"./useTheme-CJIBCVMY.js";import{V as f}from"./index-BDsvWohO.js";const n=({children:e})=>{const t=r.useRef(new l.Value(0));return r.useEffect(()=>{const{start:h,stop:v}=l.loop(l.timing(t.current,{toValue:360,duration:1e3,easing:d.linear,useNativeDriver:!0}));return h(),v},[]),a.jsx(z,{align:"center",children:a.jsx(l.View,{accessibilityLabel:"Bezig …",accessible:!0,style:{transform:[{rotate:t.current.interpolate({inputRange:[0,360],outputRange:["0deg","360deg"]})}]},children:e})})};try{n.displayName="Rotator",n.__docgenInfo={description:"Indicates activity, often while performing network tasks.\nBest used through `PleaseWait` rather than by itself.",displayName:"Rotator",props:{}}}catch{}const y={alarm:{path:"M22.5 52.5H0L0 45H1.875C6.01714 45 9.375 41.6421 9.375 37.5V18.75C9.375 10.4657 16.0907 3.75 24.375 3.75H26.25C26.25 1.67893 27.9289 0 30 0C32.0711 0 33.75 1.67893 33.75 3.75H35.625C43.9093 3.75 50.625 10.4657 50.625 18.75V37.5C50.625 41.6421 53.9829 45 58.125 45H60V52.5H37.5C37.5 56.6421 34.1421 60 30 60C25.8579 60 22.5 56.6421 22.5 52.5ZM26.25 52.5C26.25 54.5711 27.9289 56.25 30 56.25C32.0711 56.25 33.75 54.5711 33.75 52.5H26.25ZM16.875 18.75V37.5C16.875 40.2322 16.1445 42.7937 14.8683 45H45.1317C43.8555 42.7937 43.125 40.2322 43.125 37.5V18.75C43.125 14.6079 39.7671 11.25 35.625 11.25H24.375C20.2329 11.25 16.875 14.6079 16.875 18.75Z",viewBox:"0 0 60 60"},alert:{path:"m15.9 2.3-16 28.6h32l-16-28.6zm0 8.4 9 16.1h-18l9-16.1zm-1 5.9h2v5.1h-2v-5.1zm2 8.1v-2h-2v2h2z"},chat:{path:"M23.5 12.5H6.5V10.5H23.5V12.5ZM19.5 14.5H6.5V16.5H19.5V14.5ZM31.5 5V22H20.5V27L15.5 22H0.5V5H31.5ZM29.5 7H2.5V20H29.5V7Z"},"circle-check-mark":{path:"m7.07 9.88 2.64 2.89 5.91-6.08 1.43 1.4-7.38 7.6-4.07-4.46 1.47-1.35ZM0 11C0 4.92 4.92 0 11 0s11 4.92 11 11-4.92 11-11 11S0 17.08 0 11Zm2 0c0 4.96 4.04 9 9 9s9-4.04 9-9-4.04-9-9-9-9 4.04-9 9Z",viewBox:"0 0 22 22"},announcement:{path:"M23 0v11.6c1.8.6 3 2.3 3 4.2s-1.2 3.6-3 4.2v11.6L12.6 26l-5.2 5.2-2.8-2.8 4.3-4.3-1.5-.8H0v-15h7.4L23 0zM4 12.3v7h4v-7H4zM19 25l-9-4.8v-8.7l9-4.8V25zM29.4 8.1l-3.1 3.1 1.4 1.4 3.1-3.1-1.4-1.4zm-1.7 11-1.4 1.4 3.1 2.9 1.4-1.4-3.1-2.9zm.3-4.3h4v2h-4v-2z"},api:{path:"M18.593 17.812a.938.938 0 0 1 0 1.326l-2.217 2.216 2.12 2.12L16.975 25H9.126l-5 5L2 27.879l4.99-4.99V15.01l1.521-1.521 2.12 2.12 2.217-2.217a.937.937 0 1 1 1.325 1.326l-2.216 2.217 3.093 3.093 2.217-2.216a.938.938 0 0 1 1.326 0zM30 4.121 27.879 2l-4.907 4.907-.9-.9h-6l-3.1 3 10 10 3.1-3v-6l-.982-.982z"},car:{path:"M24 20a3 3 0 1 1 0 6 3 3 0 0 1 0-6zM7 20a3 3 0 1 1 0 6 3 3 0 0 1 0-6zM19 7l7 7h6v9h-3a5 5 0 0 0-10 0h-7a5 5 0 0 0-10 0H0v-9l7-7h12zm-1 2h-5v5h9.962L18 9zm-7 0H8l-5 5h8V9z"},card:{path:"M30.223 26.668H1.777V5.332h28.446ZM5.332 23.109h21.336V8.891H5.332Zm8.535-6.043H8.891a1.78 1.78 0 0 0-1.782 1.778v2.488h8.536v-2.488a1.78 1.78 0 0 0-1.778-1.778Zm11.024-1.957h-2.668v-2.664h-1.778v2.664h-2.668v1.782h2.668v2.664h1.778V16.89h2.668ZM8.523 13.52a2.854 2.854 0 1 0 5.709.003 2.854 2.854 0 0 0-5.709-.002"},chatting:{path:"M23.4 7h-15V5.5h15V7zm-4 1.5h-11V10h11V8.5zm10-7v13h-9v5l-5-5h-13v-13h27zm-2 2h-23v9h23v-9zm-2.5 24h-3.7c-2.1 0-3.6.9-3.6 3.6v.9h11v-.9c0-2.7-1.6-3.6-3.7-3.6zm.9-3.7c.2-1.1-.3-2.2-1.2-2.9-.9-.6-2.2-.6-3.1 0s-1.4 1.8-1.2 2.9c.3 1.3 1.4 2.3 2.8 2.3s2.4-1 2.7-2.3zm-14.9 3.7H7.2c-2.1 0-3.6.9-3.6 3.6v.9h11v-.9c0-2.7-1.6-3.6-3.7-3.6zm.9-3.7c.2-1.1-.3-2.2-1.2-2.9s-2.2-.6-3.1 0-1.4 1.8-1.2 2.9c0 .7.3 1.4.8 1.9s1.2.8 2 .8c1.5 0 2.7-1.2 2.7-2.7z"},"check-mark":{path:"M12.1 27-.1 14.2l2.9-2.8 9.3 9.8L29 4l2.9 2.8L12.1 27z"},"chevron-down":{path:"m15.9 25.8-16-16 2.9-2.9L15.9 20 29 6.9l2.9 2.9-16 16z"},"chevron-left":{path:"m23.237 32-16-16 16-16 2.9 2.91L13.057 16l13.08 13.09-2.9 2.91Z"},"chevron-right":{path:"m9.6 32-2.9-2.9L19.8 16 6.7 2.9 9.6 0l16 16-16 16z"},"chevron-up":{path:"M29 25.8 15.9 12.7 2.8 25.8l-2.9-2.9 16-16 16 16-2.9 2.9z"},child:{path:"M20.7777 8.07237C20.3489 4.64873 17.4277 2 13.8879 2C10.0529 2 6.94394 5.10891 6.94394 8.94394C6.99381 12.7581 10.0737 15.838 13.8879 15.8879C14.3533 15.8818 14.8078 15.8306 15.2472 15.7384C15.2039 15.4404 15.1796 15.1362 15.1756 14.8271L15.1754 14.815V14.8029C15.1754 11.4474 17.5907 8.65594 20.7777 8.07237ZM10.1844 29.7758H0V27.4611C0 20.5172 3.88861 18.2025 9.25859 18.2025H16.1059C16.4217 18.7463 16.8097 19.243 17.2566 19.6796C15.5916 19.8588 13.9819 20.3883 12.6926 21.5233C10.9893 23.0226 10.1844 25.2734 10.1844 28.1121V29.7758ZM32.0003 29.7758H12.0365V28.1122C12.0365 23.1212 14.8314 21.4576 18.6911 21.4576H25.3457C29.2054 21.4576 32.0003 23.1212 32.0003 28.1122V29.7758ZM22.0184 19.7939C24.7598 19.7581 26.9735 17.5444 27.0093 14.803C27.0093 12.0465 24.7748 9.81201 22.0184 9.81201C19.2619 9.81201 17.0274 12.0465 17.0274 14.803C17.0633 17.5444 19.2769 19.7581 22.0184 19.7939Z"},circle:{path:"M4 16c0 6.6 5.4 12 12 12s12-5.4 12-12S22.6 4 16 4 4 9.4 4 16"},"city-office":{path:"M16 8c2.2 0 4-1.8 4-4s-1.8-4-4-4-4 1.8-4 4 1.8 4 4 4zm16 9v2h-2v13h-2v-2H4v2H2V19H0v-2h32zm-4 9v-5H4v5h24zM8 15V12.2c.1-1.7 1.5-3.1 3.2-3.2H20.5c1.8 0 3.3 1.4 3.4 3.2V15H8z"},"city-pass-pass":{path:"M4 6C1.79086 6 0 7.79086 0 10V22C0 24.2091 1.79086 26 4 26H28C30.2091 26 32 24.2091 32 22V10C32 7.79086 30.2091 6 28 6H4ZM18.1818 10.5H11.0909V14.3182H15.4545L10 19.7727L12.6999 22.4726L18.1818 16.9906V21.4091H22V14.3182V10.5H18.1818Z"},"city-pass":{path:"M5.44005 0.461548H26.6331L26.6331 21.7238H18.4154V15.96L6.87457 27.5385L0.0769043 20.7186L12.0504 8.70608H5.44005V0.461548Z"},clock:{path:"M15.9 0C7 0-.1 7.2-.1 16s7.2 16 16 16 16-7.2 16-16c0-4.2-1.7-8.3-4.7-11.3S20.1 0 15.9 0zm.9 28v-2h-2v1.9C9 27.4 4.4 22.8 4 17h1.9v-2H4C4.4 9.2 9 4.5 14.9 4.1V6h2V4.1c5.8.4 10.4 5.1 10.9 10.9h-1.9v2h1.9c-.5 5.9-5.1 10.6-11 11zm.1-13h4v2h-6V9h2v6z"},close:{path:"M29.333 5.47 26.53 2.668 16 13.187 5.47 2.666 2.668 5.47 13.187 16 2.666 26.53l2.804 2.803L16 18.813l10.53 10.52 2.803-2.804L18.813 16z"},collaborate:{path:"m26.3 18.3 5.3-5.3L19.9 1.4l-4.2 4.2-3.8-3.8L.5 13.2l5.4 5.4-1.2 1.2a2.9 2.9 0 0 0 0 4.2 2.9 2.9 0 0 0 2.1.9 3.1 3.1 0 0 0 .9 2.2 3.3 3.3 0 0 0 2.2.8 3.3 3.3 0 0 0 .8 2.2 3.1 3.1 0 0 0 2.2.9 2.7 2.7 0 0 0 2.1-.9l1.2-1.2.9.9a3.3 3.3 0 0 0 2.1.9 3.4 3.4 0 0 0 2.2-.9 3.1 3.1 0 0 0 .9-2.2 2.9 2.9 0 0 0 2.1-.9 2.7 2.7 0 0 0 .9-2.1 3.1 3.1 0 0 0 3-3 3.1 3.1 0 0 0-.9-2.2l-1.1-1.1zM19.9 4.2l8.8 8.8-3.5 3.6-.3.3-7.2-7.2-2.4 2.4a1.2 1.2 0 0 1-1.6 0 1.2 1.2 0 0 1 0-1.7l6.2-6.2zM7.6 22.6a1.1 1.1 0 0 1-1.5 0 1 1 0 0 1 0-1.4L7.3 20l1.5 1.4-1.2 1.2zm3 3a1.1 1.1 0 0 1-1.5 0 .9.9 0 0 1-.3-.7 1.1 1.1 0 0 1 .3-.7l1.2-1.2 1.5 1.5-1.2 1.1zm3 3.1a1 1 0 0 1-1.4 0 1.1 1.1 0 0 1-.3-.8 1.1 1.1 0 0 1 .3-.7l1.1-1.2 1.5 1.5-1.2 1.2zM26 22.3a1 1 0 0 1-1.4 0L21.3 19l-1.6 1.6 3.3 3.3a1 1 0 0 1 0 1.4 1.1 1.1 0 0 1-.7.3 1.1 1.1 0 0 1-.8-.3l-3.2-3.2-1.6 1.5 3.3 3.3a1.1 1.1 0 0 1 0 1.5 1.1 1.1 0 0 1-.8.3 1.1 1.1 0 0 1-.7-.3L3.3 13.2l.2-.2 8.4-8.4L14.3 7l-2 2a3.1 3.1 0 0 0 0 4.5 3.3 3.3 0 0 0 4.5 0l.9-.9 8.3 8.3a1 1 0 0 1 0 1.4z"},"construction-work":{path:"m31.2 26.7-2.3-2.4-1.6 1.5-3.2-3.2-4-12.8c-.2-.7-.5-1.3-1.1-1.8l-3.8-3.7-.4-.4L13 2.1l-.3-.3L7 7.9l2.4 2.4 2.2 2.2-2.7 3.9L0 31.7h4l7-12.1 4.2 4.4v7.7h3.5v-9.1L15 18.8l1.2-1.7L26 27l-1.6 1.4 2.2 2.5c.6.6 1.4.9 2.2 1 .8.1 1.7-.2 2.3-.9.6-.6 1-1.3 1-2.2 0-.7-.3-1.5-.9-2.1zM10.6 9.1l2.2-2.3 1.7 1.7-1.8 2.5-2.1-1.9zm7.7 4.8 1.3 4-2.4-2.4 1.1-1.6z M17.5,4a3.2,3.2 0 1,0 6.4,0a3.2,3.2 0 1,0 -6.4,0"},copy:{path:"M14 2H6V4H12V12H14V2ZM4 0V4H3.5H0V18H12V14H16V0H4ZM3.5 6H2V16H10V6H4.5H3.5Z",viewBox:"0 0 16 18"},"document-text":{path:"m17.6 5 5.4 5.4V27H9V5h8.6m1.3-3H6v28h20V9.1L18.9 2zM11 16h10v-2H11v2zm0 4h10v-2H11v2zm0 4h10v-2H11v2z"},edit:{path:"M24.5 1 4.2 21.3 1 31l9.7-3.2L31 7.5 24.5 1zM6.3 27.1 5 25.7 6 23l3 3.1-2.7 1z"},email:{path:"M-.1 4.6v24h32v-24h-32zM16 16.9 5.9 8.6H26l-10 8.3zm-4.8-1.3-7.3 6.8V9.5l7.3 6.1zm1.6 1.3 3.2 2.7 3.1-2.6 8.2 7.6H4.4l8.4-7.7zm7.8-1.2 7.2-6.1v12.8l-7.2-6.7z"},enlarge:{path:"M17.9 14V0h-4v14h-14v4h14v14h4V18h14v-4h-14z"},error:{path:"M16.1399 6.91003L17.5099 8.36003L13.5099 12.14L17.5099 15.91L16.1399 17.36L12.0599 13.51L7.97986 17.36L6.60986 15.91L10.5999 12.14L6.60986 8.36003L7.97986 6.91003L12.0599 10.76L16.1399 6.91003ZM1 12C1 5.92 5.92 1 12 1C18.08 1 23 5.92 23 12C23 18.08 18.08 23 12 23C5.92 23 1 18.08 1 12ZM21 12C21 7.04 16.96 3 12 3C7.04 3 3 7.04 3 12C3 16.96 7.04 21 12 21C16.96 21 21 16.96 21 12Z",viewBox:"0 0 24 24"},"external-link":{path:"M19.006 0H32.01v12.992h-4.002V6.826L14.434 20.417l-2.83-2.818L25.187 3.998h-6.182V0zm7.002 13.991L26.018 32H.01V6.016h17.975l-3.98 3.978.02.02H4.01v17.988h18.006l-.01-10.013 4-3.998z"},eye:{path:"M16 5C8.72727 5 2.51636 9.53853 0 15.945C2.51636 22.3515 8.72727 26.89 16 26.89C23.2727 26.89 29.4836 22.3515 32 15.945C29.4836 9.53853 23.2727 5 16 5ZM16 23.2417C11.9855 23.2417 8.72727 19.9728 8.72727 15.945C8.72727 11.9172 11.9855 8.64833 16 8.64833C20.0145 8.64833 23.2727 11.9172 23.2727 15.945C23.2727 19.9728 20.0145 23.2417 16 23.2417ZM16 11.567C13.5855 11.567 11.6364 13.5225 11.6364 15.945C11.6364 18.3675 13.5855 20.323 16 20.323C18.4145 20.323 20.3636 18.3675 20.3636 15.945C20.3636 13.5225 18.4145 11.567 16 11.567Z"},facade:{path:"M22.6 9.5V7.8h-1.1V6.4h-1V4.9h-.9V3.5h-1.1V2.2h-1V1h-2.9v1.2h-1v1.3h-1V4.9h-1v1.5h-1v1.4h-1v1.7h-1V31h15.3V9.5h-1.3zM13.7 6h4.6v4h-4.6V6zm1.2 22.9h-4v-8h4v8zm0-9.9h-4v-7h4v7zm6.2 9.9h-4v-8h4v8zm0-9.9h-4v-7h4v7z"},housing:{path:"M14 28h4.008v-8H14v8zm-2 0V18h8.008v10H28V12.98L16 5 4 13.516V28h8zM0 32V11.022L16 0l16 11.022V32H0z"},"park-sign":{path:"M4 0H28V32H4V0ZM24 4H8V28H24V4ZM6 2V30H26V2H6ZM12 8V19.7H14.79V15.884H16.626C19.002 15.884 20.676 14.21 20.676 11.942C20.676 9.674 18.984 8 16.626 8H12ZM16.392 13.67H14.79V10.214H16.392C17.238 10.214 17.85 10.934 17.85 11.942C17.85 12.986 17.238 13.67 16.392 13.67Z"},info:{path:"M15.9 2c-7.7 0-14 6.3-14 14s6.3 14 14 14 14-6.3 14-14-6.3-14-14-14zm0 24c-5.5 0-10-4.5-10-10s4.5-10 10-10 10 4.5 10 10-4.5 10-10 10zm-1-15h2V9h-2v2zm0 12h2V13h-2v10z"},list:{path:"M32.0064 22V26H9.69577V22H32.0064ZM5.52556 22V26H1.35535V22H5.52556ZM32.0064 14V18H9.69577V14H32.0064ZM5.52556 14V18H1.35535V14H5.52556ZM32.0064 6V10H9.69577V6H32.0064ZM5.52556 6V10H1.35535V6H5.52556Z"},location:{path:"m16.679 32-1.23-1.086c-.45-.369-10.878-9.68-10.878-18.806C4.571 5.42 9.992 0 16.68 0s12.108 5.42 12.108 12.108c0 9.126-10.428 18.438-10.879 18.806L16.68 32Zm0-28.271A8.39 8.39 0 0 0 8.3 12.108c0 5.387 5.244 11.728 8.369 14.842 2.591-2.55 8.389-9.034 8.389-14.842a8.39 8.39 0 0 0-8.379-8.38Zm0 12.476a4.097 4.097 0 1 0 0-8.195 4.097 4.097 0 0 0 0 8.195Z"},login:{path:"M17.777 1.777v3.555h8.891v21.336h-8.89v3.555h12.445V1.777ZM16.73 7.832l-2.507 2.516 3.875 3.875H1.778v3.554h16.32l-3.875 3.875 2.507 2.516L24.906 16Zm0 0"},"organic-waste-container":{path:"M23.2 4.8C22.9 2.1 19.6 0 15.7 0S8.5 2.2 8.1 4.8H7V30H3.9v2h24v-2h-3.2V4.8h-1.5zM12.3 2.4h6.9v6.9h-6.9V2.4zM22.7 29H9V12.6h13.7V29z"},person:{path:"M31 32H1v-2.5c0-7.5 4.2-10 10-10h10c5.8 0 10 2.5 10 10V32ZM16 17a7.6 7.6 0 0 0 7.5-7.5 7.5 7.5 0 0 0-15 0A7.6 7.6 0 0 0 16 17Z"},"person-desk":{path:"M30 16v2h-2v12h-2v-2H6v2H4V18H2v-2h28zm-4 4H6v4h20v-4zM18 8.98c2.3 0 4 1 4 4v1H10v-1c0-3 1.69-4 4-4zM16 2a2.99 2.99 0 1 1 0 5.98A2.99 2.99 0 0 1 16 2z"},phone:{path:"M30.4 26.9s-3.1 3.4-5.6 3.6-9.2-3.2-14.7-8.7c-5.5-5.5-9-11.4-8.7-14.7S5 1.5 5 1.5l7.1 7.1-2.8 2.8 11.2 11.2 2.8-2.8 7.1 7.1z"},pointer:{path:"M29.18 14C28.3576 8.41126 23.9687 4.02245 18.38 3.2V0H14.38V3.2C8.77561 3.99119 4.3712 8.3956 3.58 14H0.380005V18H3.58C4.3712 23.6044 8.77561 28.0088 14.38 28.8V32H18.38V28.8C23.9534 27.947 28.327 23.5734 29.18 18H32.38V14H29.18ZM16.38 25C11.4094 25 7.38 20.9706 7.38 16C7.38 11.0294 11.4094 7 16.38 7C21.3506 7 25.38 11.0294 25.38 16C25.38 18.3869 24.4318 20.6761 22.744 22.364C21.0561 24.0518 18.767 25 16.38 25ZM21.38 16C21.38 18.7614 19.1414 21 16.38 21C13.6186 21 11.38 18.7614 11.38 16C11.38 13.2386 13.6186 11 16.38 11C19.1414 11 21.38 13.2386 21.38 16Z"},"question-mark-solid":{path:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16 16-7.2 16-16S24.8 0 16 0zm-.4 24.3c-1.1 0-1.9-.8-1.9-1.9s.8-1.9 1.9-1.9 1.9.8 1.9 1.9c.1 1.1-.7 1.9-1.9 1.9zm3.3-8.7c-.9.9-1.9 1.9-1.9 2.9v.8h-2.7v-1.2c0-1.6.8-2.4 1.5-3.1.7-.7 1.5-1.2 1.5-2.4 0-.9-.7-1.3-1.7-1.3-.8 0-1.5.4-2 1.2l-2.3-2C12.4 9 13.7 8.4 16 8.4c2.8 0 4.5 1.5 4.5 3.7.2 1.5-.8 2.6-1.6 3.5z"},"question-mark-circle":{path:"M17.7234 24V22H15.6383V24H17.7234ZM12.5106 13C12.5106 10.79 14.3768 9 16.6808 9C18.9849 9 20.851 10.79 20.851 13C20.851 14.2829 20.0274 14.9733 19.2255 15.6455C18.4647 16.2833 17.7234 16.9046 17.7234 18V19.9919H15.6383V18C15.6383 16.1787 16.6205 15.4566 17.4841 14.8217C18.1615 14.3236 18.7659 13.8792 18.7659 13C18.7659 11.9 17.8276 11 16.6808 11C15.534 11 14.5957 11.9 14.5957 13H12.5106ZM16.6808 2C8.65317 2 2.08508 8.3 2.08508 16C2.08508 23.7 8.65317 30 16.6808 30C24.7085 30 31.2766 23.7 31.2766 16C31.2766 8.3 24.7085 2 16.6808 2ZM16.6808 26C10.9468 26 6.2553 21.5 6.2553 16C6.2553 10.5 10.9468 6 16.6808 6C22.4149 6 27.1064 10.5 27.1064 16C27.1064 21.5 22.4149 26 16.6808 26Z"},search:{path:"m32 29.119-9.825-9.825a12.217 12.217 0 1 0-2.88 2.881L29.118 32 32 29.119Zm-19.771-8.745a8.145 8.145 0 1 1 0-16.29 8.145 8.145 0 0 1 0 16.29Z"},settings:{path:"M0 18.6v-5.1H1.4c2.1-.4 3.5-2.3 3.1-4.4-.1-.6-.3-1.1-.6-1.6l-1-1 3.6-3.6V3l.9.9c1.7 1.2 4.1.8 5.3-.9.3-.4.5-.9.6-1.5V0h5.1V1.4c.4 2.1 2.3 3.5 4.4 3.1.5-.1 1-.3 1.5-.6l1-1 3.6 3.6h-.1l-.9.9c-1.1 1.5-.9 3.6.4 4.9.5.5 1.2.9 2 1.1H32v5.1H30.6c-2.1.4-3.5 2.4-3.1 4.4.1.5.3 1 .6 1.5l1 1-3.6 3.6v-.1l-.9-.9c-1.7-1.2-4.1-.8-5.3.9-.3.4-.5.9-.6 1.5V32h-5.1V30.6c-.4-2.1-2.3-3.5-4.4-3.1-.5.1-1 .3-1.5.6l-1 1-3.6-3.6h.1l.9-.9c1.2-1.7.8-4.1-.9-5.3-.4-.3-.9-.5-1.5-.6H0zM16 22c3.3 0 6-2.7 6-6s-2.7-6-6-6-6 2.7-6 6 2.7 6 6 6z"},spinner:{path:"M16.3 5c2.2 0 4.3.7 6.1 1.9 1.8 1.2 3.2 3 4 5 .8 2 1 4.2.6 6.4-.4 2.1-1.5 4.1-3.1 5.6s-3.5 2.6-5.7 3c-2.1.4-4.3.2-6.3-.7-2-.9-3.7-2.3-4.9-4.1-1.2-1.8-1.8-4-1.8-6.1"},"trash-bin":{path:"M21,4h8v4h-2v24H5V8H3V4h8V0h10V4z M19,2h-6v2h6V2z M23,28H9V8h14V28z M13,12h-2v12h2V12z M15,12h2v12h-2V12z M21,12h-2v12h2V12z"},"two-persons":{path:"M9.1 13.7c2.4 0 4.3-1.9 4.3-4.3s-1.9-4.3-4.3-4.3S4.8 7 4.8 9.4c.1 2.4 2 4.3 4.3 4.3zM25.7 20.5H20c-.8 0-1.6.1-2.3.3 0-4.2-2.4-5.6-5.7-5.6H6.3C3 15.2.6 16.6.6 20.9v1.4h14.8c-.7.9-1.1 2.2-1.1 3.9v1.4h17.1v-1.4c0-4.3-2.4-5.7-5.7-5.7z M22.9 19c2.4 0 4.3-1.9 4.3-4.3s-1.9-4.3-4.3-4.3-4.3 1.9-4.3 4.3 1.9 4.3 4.3 4.3z"},vote:{path:"m 20.533999,22.34317 v 9.689243 H 0.13559322 V 11.634006 H 11.099736 L 9.5698561,13.163887 A 8.7968127,8.7968127 0 1 0 18.749139,24.12803 Z M 17.856709,16.606118 29.330812,5.1320143 27.545952,3.3471538 16.071848,14.821257 Z M 30.350732,6.1519347 18.621649,18.008508 15.561888,18.645959 14.032007,17.116078 14.541968,14.311297 26.526031,2.3272335 24.741171,0.54237288 12.502127,12.908907 10.462286,22.21568 19.641569,20.685799 32.135593,7.9367952 Z"},whatsapp:{path:"m0 32 2.2-8.2C.8 21.4.1 18.7.1 15.9.1 7.1 7.3 0 16 0c4.2 0 8.2 1.7 11.2 4.7s4.6 7 4.6 11.2c0 8.7-7.1 15.9-15.9 15.9-2.7 0-5.3-.7-7.6-1.9L0 32zm8.8-5.1C11 28.3 13.2 29 16 29c7.3 0 13.2-5.9 13.2-13.2 0-7.3-5.9-13.2-13.2-13.2-7.3.1-13.2 6-13.2 13.3 0 3 .9 5.2 2.3 7.5l-1.3 4.9 5-1.4zM24 19.6c-.1-.2-.4-.3-.8-.5s-2.3-1.2-2.7-1.3c-.4-.1-.6-.2-.9.2-.3.4-1 1.3-1.3 1.6s-.5.3-.9.1c-.4-.2-1.7-.6-3.2-2-1.2-1.1-2-2.3-2.2-2.7-.2-.4 0-.6.2-.8.2-.2.4-.5.6-.7.2-.2.3-.4.4-.7.1-.3.1-.5 0-.7-.1-.1-.8-2.1-1.2-2.9-.3-.8-.6-.7-.9-.7h-.8c-.3 0-.7.1-1.1.5-.2.4-1.3 1.4-1.3 3.3 0 2 1.4 3.8 1.6 4.1.2.3 2.8 4.3 6.8 6 .9.4 1.7.7 2.3.8.9.3 1.8.3 2.5.2.8-.1 2.3-1 2.7-1.9.3-.9.3-1.7.2-1.9z"},"wifi-disconnect":{path:"M6.5 7.41421L23.5 24.4142L24.9142 23L22.4426 20.5284L23.7 19.3144C22.2375 17.6153 20.2337 16.5013 18.0541 16.1399L14.5768 12.6626C15.2092 12.5673 15.8518 12.5185 16.5 12.5185C20.2155 12.5185 23.7506 14.1206 26.2 16.9144L29 14.1144C25.8 10.5939 21.2575 8.59512 16.5 8.6144C14.7252 8.60721 12.9803 8.88087 11.3238 9.40962L7.91421 6L6.5 7.41421ZM10.3501 14.0788L7.47339 11.2021C6.20136 12.0038 5.031 12.9801 4 14.1144L6.8 16.9144C7.81762 15.7537 9.02263 14.7987 10.3501 14.0788ZM16.318 20.0467L12.9654 16.694C11.5669 17.2546 10.3055 18.1462 9.3 19.3144L12.2 22.1144C13.2057 20.8534 14.712 20.0998 16.318 20.0467ZM16.5 22.9144C15.607 22.9033 14.7882 23.4101 14.4 24.2144L16.5 26.2144L18.6 24.2144C18.2118 23.4101 17.393 22.9033 16.5 22.9144Z"}},k=3,w={spinner:{Wrapper:n,stroke:!0}},x="0 0 32 32",V=({color:e="default",name:t,size:h="md",testID:v,"logging-label":u})=>{const{color:i}=g(),{fontScale:p}=Z(),s=L[h]*p,c=y[t],{Wrapper:H=r.Fragment,stroke:o,strokeWidth:m=k}=w[t]??{};return a.jsx(f,{"logging-label":u,testID:v,children:a.jsx(H,{children:a.jsx(C,{fillRule:"evenodd",height:s,viewBox:"viewBox"in c?c.viewBox:x,width:s,children:a.jsx(M,{d:c.path,fill:o?"none":i.text[e],stroke:o?i.text[e]:void 0,strokeWidth:o?m:void 0})})})})};try{V.displayName="Icon",V.__docgenInfo={description:"",displayName:"Icon",props:{color:{defaultValue:{value:"default"},description:"The color of the icon to display.",name:"color",required:!1,type:{name:"enum",value:[{value:'"secondary"'},{value:'"tertiary"'},{value:'"link"'},{value:'"default"'},{value:'"inverse"'},{value:'"cityPass"'},{value:'"confirm"'},{value:'"warning"'}]}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},name:{defaultValue:null,description:"The name of the icon to display.",name:"name",required:!0,type:{name:"enum",value:[{value:'"alarm"'},{value:'"alert"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"announcement"'},{value:'"api"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document-text"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"list"'},{value:'"location"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},size:{defaultValue:{value:"md"},description:"The size of the icon.",name:"size",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'},{value:'"ml"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{V as I}; +import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{r}from"./index-mfbfsM12.js";import{S as C,P as M}from"./index-DYSHDArR.js";import{R as z}from"./Row-BY9zY_5g.js";import{A as l,E as d}from"./Animated-C23eizOh.js";import{I as L}from"./types-BJ_48vsK.js";import{u as Z}from"./useDeviceContext-DGl4H2w7.js";import{u as g}from"./useTheme-BWbL_sDV.js";import{V as f}from"./index-BDsvWohO.js";const n=({children:e})=>{const t=r.useRef(new l.Value(0));return r.useEffect(()=>{const{start:h,stop:v}=l.loop(l.timing(t.current,{toValue:360,duration:1e3,easing:d.linear,useNativeDriver:!0}));return h(),v},[]),a.jsx(z,{align:"center",children:a.jsx(l.View,{accessibilityLabel:"Bezig …",accessible:!0,style:{transform:[{rotate:t.current.interpolate({inputRange:[0,360],outputRange:["0deg","360deg"]})}]},children:e})})};try{n.displayName="Rotator",n.__docgenInfo={description:"Indicates activity, often while performing network tasks.\nBest used through `PleaseWait` rather than by itself.",displayName:"Rotator",props:{}}}catch{}const y={alarm:{path:"M22.5 52.5H0L0 45H1.875C6.01714 45 9.375 41.6421 9.375 37.5V18.75C9.375 10.4657 16.0907 3.75 24.375 3.75H26.25C26.25 1.67893 27.9289 0 30 0C32.0711 0 33.75 1.67893 33.75 3.75H35.625C43.9093 3.75 50.625 10.4657 50.625 18.75V37.5C50.625 41.6421 53.9829 45 58.125 45H60V52.5H37.5C37.5 56.6421 34.1421 60 30 60C25.8579 60 22.5 56.6421 22.5 52.5ZM26.25 52.5C26.25 54.5711 27.9289 56.25 30 56.25C32.0711 56.25 33.75 54.5711 33.75 52.5H26.25ZM16.875 18.75V37.5C16.875 40.2322 16.1445 42.7937 14.8683 45H45.1317C43.8555 42.7937 43.125 40.2322 43.125 37.5V18.75C43.125 14.6079 39.7671 11.25 35.625 11.25H24.375C20.2329 11.25 16.875 14.6079 16.875 18.75Z",viewBox:"0 0 60 60"},alert:{path:"m15.9 2.3-16 28.6h32l-16-28.6zm0 8.4 9 16.1h-18l9-16.1zm-1 5.9h2v5.1h-2v-5.1zm2 8.1v-2h-2v2h2z"},chat:{path:"M23.5 12.5H6.5V10.5H23.5V12.5ZM19.5 14.5H6.5V16.5H19.5V14.5ZM31.5 5V22H20.5V27L15.5 22H0.5V5H31.5ZM29.5 7H2.5V20H29.5V7Z"},"circle-check-mark":{path:"m7.07 9.88 2.64 2.89 5.91-6.08 1.43 1.4-7.38 7.6-4.07-4.46 1.47-1.35ZM0 11C0 4.92 4.92 0 11 0s11 4.92 11 11-4.92 11-11 11S0 17.08 0 11Zm2 0c0 4.96 4.04 9 9 9s9-4.04 9-9-4.04-9-9-9-9 4.04-9 9Z",viewBox:"0 0 22 22"},announcement:{path:"M23 0v11.6c1.8.6 3 2.3 3 4.2s-1.2 3.6-3 4.2v11.6L12.6 26l-5.2 5.2-2.8-2.8 4.3-4.3-1.5-.8H0v-15h7.4L23 0zM4 12.3v7h4v-7H4zM19 25l-9-4.8v-8.7l9-4.8V25zM29.4 8.1l-3.1 3.1 1.4 1.4 3.1-3.1-1.4-1.4zm-1.7 11-1.4 1.4 3.1 2.9 1.4-1.4-3.1-2.9zm.3-4.3h4v2h-4v-2z"},api:{path:"M18.593 17.812a.938.938 0 0 1 0 1.326l-2.217 2.216 2.12 2.12L16.975 25H9.126l-5 5L2 27.879l4.99-4.99V15.01l1.521-1.521 2.12 2.12 2.217-2.217a.937.937 0 1 1 1.325 1.326l-2.216 2.217 3.093 3.093 2.217-2.216a.938.938 0 0 1 1.326 0zM30 4.121 27.879 2l-4.907 4.907-.9-.9h-6l-3.1 3 10 10 3.1-3v-6l-.982-.982z"},car:{path:"M24 20a3 3 0 1 1 0 6 3 3 0 0 1 0-6zM7 20a3 3 0 1 1 0 6 3 3 0 0 1 0-6zM19 7l7 7h6v9h-3a5 5 0 0 0-10 0h-7a5 5 0 0 0-10 0H0v-9l7-7h12zm-1 2h-5v5h9.962L18 9zm-7 0H8l-5 5h8V9z"},card:{path:"M30.223 26.668H1.777V5.332h28.446ZM5.332 23.109h21.336V8.891H5.332Zm8.535-6.043H8.891a1.78 1.78 0 0 0-1.782 1.778v2.488h8.536v-2.488a1.78 1.78 0 0 0-1.778-1.778Zm11.024-1.957h-2.668v-2.664h-1.778v2.664h-2.668v1.782h2.668v2.664h1.778V16.89h2.668ZM8.523 13.52a2.854 2.854 0 1 0 5.709.003 2.854 2.854 0 0 0-5.709-.002"},chatting:{path:"M23.4 7h-15V5.5h15V7zm-4 1.5h-11V10h11V8.5zm10-7v13h-9v5l-5-5h-13v-13h27zm-2 2h-23v9h23v-9zm-2.5 24h-3.7c-2.1 0-3.6.9-3.6 3.6v.9h11v-.9c0-2.7-1.6-3.6-3.7-3.6zm.9-3.7c.2-1.1-.3-2.2-1.2-2.9-.9-.6-2.2-.6-3.1 0s-1.4 1.8-1.2 2.9c.3 1.3 1.4 2.3 2.8 2.3s2.4-1 2.7-2.3zm-14.9 3.7H7.2c-2.1 0-3.6.9-3.6 3.6v.9h11v-.9c0-2.7-1.6-3.6-3.7-3.6zm.9-3.7c.2-1.1-.3-2.2-1.2-2.9s-2.2-.6-3.1 0-1.4 1.8-1.2 2.9c0 .7.3 1.4.8 1.9s1.2.8 2 .8c1.5 0 2.7-1.2 2.7-2.7z"},"check-mark":{path:"M12.1 27-.1 14.2l2.9-2.8 9.3 9.8L29 4l2.9 2.8L12.1 27z"},"chevron-down":{path:"m15.9 25.8-16-16 2.9-2.9L15.9 20 29 6.9l2.9 2.9-16 16z"},"chevron-left":{path:"m23.237 32-16-16 16-16 2.9 2.91L13.057 16l13.08 13.09-2.9 2.91Z"},"chevron-right":{path:"m9.6 32-2.9-2.9L19.8 16 6.7 2.9 9.6 0l16 16-16 16z"},"chevron-up":{path:"M29 25.8 15.9 12.7 2.8 25.8l-2.9-2.9 16-16 16 16-2.9 2.9z"},child:{path:"M20.7777 8.07237C20.3489 4.64873 17.4277 2 13.8879 2C10.0529 2 6.94394 5.10891 6.94394 8.94394C6.99381 12.7581 10.0737 15.838 13.8879 15.8879C14.3533 15.8818 14.8078 15.8306 15.2472 15.7384C15.2039 15.4404 15.1796 15.1362 15.1756 14.8271L15.1754 14.815V14.8029C15.1754 11.4474 17.5907 8.65594 20.7777 8.07237ZM10.1844 29.7758H0V27.4611C0 20.5172 3.88861 18.2025 9.25859 18.2025H16.1059C16.4217 18.7463 16.8097 19.243 17.2566 19.6796C15.5916 19.8588 13.9819 20.3883 12.6926 21.5233C10.9893 23.0226 10.1844 25.2734 10.1844 28.1121V29.7758ZM32.0003 29.7758H12.0365V28.1122C12.0365 23.1212 14.8314 21.4576 18.6911 21.4576H25.3457C29.2054 21.4576 32.0003 23.1212 32.0003 28.1122V29.7758ZM22.0184 19.7939C24.7598 19.7581 26.9735 17.5444 27.0093 14.803C27.0093 12.0465 24.7748 9.81201 22.0184 9.81201C19.2619 9.81201 17.0274 12.0465 17.0274 14.803C17.0633 17.5444 19.2769 19.7581 22.0184 19.7939Z"},circle:{path:"M4 16c0 6.6 5.4 12 12 12s12-5.4 12-12S22.6 4 16 4 4 9.4 4 16"},"city-office":{path:"M16 8c2.2 0 4-1.8 4-4s-1.8-4-4-4-4 1.8-4 4 1.8 4 4 4zm16 9v2h-2v13h-2v-2H4v2H2V19H0v-2h32zm-4 9v-5H4v5h24zM8 15V12.2c.1-1.7 1.5-3.1 3.2-3.2H20.5c1.8 0 3.3 1.4 3.4 3.2V15H8z"},"city-pass-pass":{path:"M4 6C1.79086 6 0 7.79086 0 10V22C0 24.2091 1.79086 26 4 26H28C30.2091 26 32 24.2091 32 22V10C32 7.79086 30.2091 6 28 6H4ZM18.1818 10.5H11.0909V14.3182H15.4545L10 19.7727L12.6999 22.4726L18.1818 16.9906V21.4091H22V14.3182V10.5H18.1818Z"},"city-pass":{path:"M5.44005 0.461548H26.6331L26.6331 21.7238H18.4154V15.96L6.87457 27.5385L0.0769043 20.7186L12.0504 8.70608H5.44005V0.461548Z"},clock:{path:"M15.9 0C7 0-.1 7.2-.1 16s7.2 16 16 16 16-7.2 16-16c0-4.2-1.7-8.3-4.7-11.3S20.1 0 15.9 0zm.9 28v-2h-2v1.9C9 27.4 4.4 22.8 4 17h1.9v-2H4C4.4 9.2 9 4.5 14.9 4.1V6h2V4.1c5.8.4 10.4 5.1 10.9 10.9h-1.9v2h1.9c-.5 5.9-5.1 10.6-11 11zm.1-13h4v2h-6V9h2v6z"},close:{path:"M29.333 5.47 26.53 2.668 16 13.187 5.47 2.666 2.668 5.47 13.187 16 2.666 26.53l2.804 2.803L16 18.813l10.53 10.52 2.803-2.804L18.813 16z"},collaborate:{path:"m26.3 18.3 5.3-5.3L19.9 1.4l-4.2 4.2-3.8-3.8L.5 13.2l5.4 5.4-1.2 1.2a2.9 2.9 0 0 0 0 4.2 2.9 2.9 0 0 0 2.1.9 3.1 3.1 0 0 0 .9 2.2 3.3 3.3 0 0 0 2.2.8 3.3 3.3 0 0 0 .8 2.2 3.1 3.1 0 0 0 2.2.9 2.7 2.7 0 0 0 2.1-.9l1.2-1.2.9.9a3.3 3.3 0 0 0 2.1.9 3.4 3.4 0 0 0 2.2-.9 3.1 3.1 0 0 0 .9-2.2 2.9 2.9 0 0 0 2.1-.9 2.7 2.7 0 0 0 .9-2.1 3.1 3.1 0 0 0 3-3 3.1 3.1 0 0 0-.9-2.2l-1.1-1.1zM19.9 4.2l8.8 8.8-3.5 3.6-.3.3-7.2-7.2-2.4 2.4a1.2 1.2 0 0 1-1.6 0 1.2 1.2 0 0 1 0-1.7l6.2-6.2zM7.6 22.6a1.1 1.1 0 0 1-1.5 0 1 1 0 0 1 0-1.4L7.3 20l1.5 1.4-1.2 1.2zm3 3a1.1 1.1 0 0 1-1.5 0 .9.9 0 0 1-.3-.7 1.1 1.1 0 0 1 .3-.7l1.2-1.2 1.5 1.5-1.2 1.1zm3 3.1a1 1 0 0 1-1.4 0 1.1 1.1 0 0 1-.3-.8 1.1 1.1 0 0 1 .3-.7l1.1-1.2 1.5 1.5-1.2 1.2zM26 22.3a1 1 0 0 1-1.4 0L21.3 19l-1.6 1.6 3.3 3.3a1 1 0 0 1 0 1.4 1.1 1.1 0 0 1-.7.3 1.1 1.1 0 0 1-.8-.3l-3.2-3.2-1.6 1.5 3.3 3.3a1.1 1.1 0 0 1 0 1.5 1.1 1.1 0 0 1-.8.3 1.1 1.1 0 0 1-.7-.3L3.3 13.2l.2-.2 8.4-8.4L14.3 7l-2 2a3.1 3.1 0 0 0 0 4.5 3.3 3.3 0 0 0 4.5 0l.9-.9 8.3 8.3a1 1 0 0 1 0 1.4z"},"construction-work":{path:"m31.2 26.7-2.3-2.4-1.6 1.5-3.2-3.2-4-12.8c-.2-.7-.5-1.3-1.1-1.8l-3.8-3.7-.4-.4L13 2.1l-.3-.3L7 7.9l2.4 2.4 2.2 2.2-2.7 3.9L0 31.7h4l7-12.1 4.2 4.4v7.7h3.5v-9.1L15 18.8l1.2-1.7L26 27l-1.6 1.4 2.2 2.5c.6.6 1.4.9 2.2 1 .8.1 1.7-.2 2.3-.9.6-.6 1-1.3 1-2.2 0-.7-.3-1.5-.9-2.1zM10.6 9.1l2.2-2.3 1.7 1.7-1.8 2.5-2.1-1.9zm7.7 4.8 1.3 4-2.4-2.4 1.1-1.6z M17.5,4a3.2,3.2 0 1,0 6.4,0a3.2,3.2 0 1,0 -6.4,0"},copy:{path:"M14 2H6V4H12V12H14V2ZM4 0V4H3.5H0V18H12V14H16V0H4ZM3.5 6H2V16H10V6H4.5H3.5Z",viewBox:"0 0 16 18"},"document-text":{path:"m17.6 5 5.4 5.4V27H9V5h8.6m1.3-3H6v28h20V9.1L18.9 2zM11 16h10v-2H11v2zm0 4h10v-2H11v2zm0 4h10v-2H11v2z"},edit:{path:"M24.5 1 4.2 21.3 1 31l9.7-3.2L31 7.5 24.5 1zM6.3 27.1 5 25.7 6 23l3 3.1-2.7 1z"},email:{path:"M-.1 4.6v24h32v-24h-32zM16 16.9 5.9 8.6H26l-10 8.3zm-4.8-1.3-7.3 6.8V9.5l7.3 6.1zm1.6 1.3 3.2 2.7 3.1-2.6 8.2 7.6H4.4l8.4-7.7zm7.8-1.2 7.2-6.1v12.8l-7.2-6.7z"},enlarge:{path:"M17.9 14V0h-4v14h-14v4h14v14h4V18h14v-4h-14z"},error:{path:"M16.1399 6.91003L17.5099 8.36003L13.5099 12.14L17.5099 15.91L16.1399 17.36L12.0599 13.51L7.97986 17.36L6.60986 15.91L10.5999 12.14L6.60986 8.36003L7.97986 6.91003L12.0599 10.76L16.1399 6.91003ZM1 12C1 5.92 5.92 1 12 1C18.08 1 23 5.92 23 12C23 18.08 18.08 23 12 23C5.92 23 1 18.08 1 12ZM21 12C21 7.04 16.96 3 12 3C7.04 3 3 7.04 3 12C3 16.96 7.04 21 12 21C16.96 21 21 16.96 21 12Z",viewBox:"0 0 24 24"},"external-link":{path:"M19.006 0H32.01v12.992h-4.002V6.826L14.434 20.417l-2.83-2.818L25.187 3.998h-6.182V0zm7.002 13.991L26.018 32H.01V6.016h17.975l-3.98 3.978.02.02H4.01v17.988h18.006l-.01-10.013 4-3.998z"},eye:{path:"M16 5C8.72727 5 2.51636 9.53853 0 15.945C2.51636 22.3515 8.72727 26.89 16 26.89C23.2727 26.89 29.4836 22.3515 32 15.945C29.4836 9.53853 23.2727 5 16 5ZM16 23.2417C11.9855 23.2417 8.72727 19.9728 8.72727 15.945C8.72727 11.9172 11.9855 8.64833 16 8.64833C20.0145 8.64833 23.2727 11.9172 23.2727 15.945C23.2727 19.9728 20.0145 23.2417 16 23.2417ZM16 11.567C13.5855 11.567 11.6364 13.5225 11.6364 15.945C11.6364 18.3675 13.5855 20.323 16 20.323C18.4145 20.323 20.3636 18.3675 20.3636 15.945C20.3636 13.5225 18.4145 11.567 16 11.567Z"},facade:{path:"M22.6 9.5V7.8h-1.1V6.4h-1V4.9h-.9V3.5h-1.1V2.2h-1V1h-2.9v1.2h-1v1.3h-1V4.9h-1v1.5h-1v1.4h-1v1.7h-1V31h15.3V9.5h-1.3zM13.7 6h4.6v4h-4.6V6zm1.2 22.9h-4v-8h4v8zm0-9.9h-4v-7h4v7zm6.2 9.9h-4v-8h4v8zm0-9.9h-4v-7h4v7z"},housing:{path:"M14 28h4.008v-8H14v8zm-2 0V18h8.008v10H28V12.98L16 5 4 13.516V28h8zM0 32V11.022L16 0l16 11.022V32H0z"},"park-sign":{path:"M4 0H28V32H4V0ZM24 4H8V28H24V4ZM6 2V30H26V2H6ZM12 8V19.7H14.79V15.884H16.626C19.002 15.884 20.676 14.21 20.676 11.942C20.676 9.674 18.984 8 16.626 8H12ZM16.392 13.67H14.79V10.214H16.392C17.238 10.214 17.85 10.934 17.85 11.942C17.85 12.986 17.238 13.67 16.392 13.67Z"},info:{path:"M15.9 2c-7.7 0-14 6.3-14 14s6.3 14 14 14 14-6.3 14-14-6.3-14-14-14zm0 24c-5.5 0-10-4.5-10-10s4.5-10 10-10 10 4.5 10 10-4.5 10-10 10zm-1-15h2V9h-2v2zm0 12h2V13h-2v10z"},list:{path:"M32.0064 22V26H9.69577V22H32.0064ZM5.52556 22V26H1.35535V22H5.52556ZM32.0064 14V18H9.69577V14H32.0064ZM5.52556 14V18H1.35535V14H5.52556ZM32.0064 6V10H9.69577V6H32.0064ZM5.52556 6V10H1.35535V6H5.52556Z"},location:{path:"m16.679 32-1.23-1.086c-.45-.369-10.878-9.68-10.878-18.806C4.571 5.42 9.992 0 16.68 0s12.108 5.42 12.108 12.108c0 9.126-10.428 18.438-10.879 18.806L16.68 32Zm0-28.271A8.39 8.39 0 0 0 8.3 12.108c0 5.387 5.244 11.728 8.369 14.842 2.591-2.55 8.389-9.034 8.389-14.842a8.39 8.39 0 0 0-8.379-8.38Zm0 12.476a4.097 4.097 0 1 0 0-8.195 4.097 4.097 0 0 0 0 8.195Z"},login:{path:"M17.777 1.777v3.555h8.891v21.336h-8.89v3.555h12.445V1.777ZM16.73 7.832l-2.507 2.516 3.875 3.875H1.778v3.554h16.32l-3.875 3.875 2.507 2.516L24.906 16Zm0 0"},"organic-waste-container":{path:"M23.2 4.8C22.9 2.1 19.6 0 15.7 0S8.5 2.2 8.1 4.8H7V30H3.9v2h24v-2h-3.2V4.8h-1.5zM12.3 2.4h6.9v6.9h-6.9V2.4zM22.7 29H9V12.6h13.7V29z"},person:{path:"M31 32H1v-2.5c0-7.5 4.2-10 10-10h10c5.8 0 10 2.5 10 10V32ZM16 17a7.6 7.6 0 0 0 7.5-7.5 7.5 7.5 0 0 0-15 0A7.6 7.6 0 0 0 16 17Z"},"person-desk":{path:"M30 16v2h-2v12h-2v-2H6v2H4V18H2v-2h28zm-4 4H6v4h20v-4zM18 8.98c2.3 0 4 1 4 4v1H10v-1c0-3 1.69-4 4-4zM16 2a2.99 2.99 0 1 1 0 5.98A2.99 2.99 0 0 1 16 2z"},phone:{path:"M30.4 26.9s-3.1 3.4-5.6 3.6-9.2-3.2-14.7-8.7c-5.5-5.5-9-11.4-8.7-14.7S5 1.5 5 1.5l7.1 7.1-2.8 2.8 11.2 11.2 2.8-2.8 7.1 7.1z"},pointer:{path:"M29.18 14C28.3576 8.41126 23.9687 4.02245 18.38 3.2V0H14.38V3.2C8.77561 3.99119 4.3712 8.3956 3.58 14H0.380005V18H3.58C4.3712 23.6044 8.77561 28.0088 14.38 28.8V32H18.38V28.8C23.9534 27.947 28.327 23.5734 29.18 18H32.38V14H29.18ZM16.38 25C11.4094 25 7.38 20.9706 7.38 16C7.38 11.0294 11.4094 7 16.38 7C21.3506 7 25.38 11.0294 25.38 16C25.38 18.3869 24.4318 20.6761 22.744 22.364C21.0561 24.0518 18.767 25 16.38 25ZM21.38 16C21.38 18.7614 19.1414 21 16.38 21C13.6186 21 11.38 18.7614 11.38 16C11.38 13.2386 13.6186 11 16.38 11C19.1414 11 21.38 13.2386 21.38 16Z"},"question-mark-solid":{path:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16 16-7.2 16-16S24.8 0 16 0zm-.4 24.3c-1.1 0-1.9-.8-1.9-1.9s.8-1.9 1.9-1.9 1.9.8 1.9 1.9c.1 1.1-.7 1.9-1.9 1.9zm3.3-8.7c-.9.9-1.9 1.9-1.9 2.9v.8h-2.7v-1.2c0-1.6.8-2.4 1.5-3.1.7-.7 1.5-1.2 1.5-2.4 0-.9-.7-1.3-1.7-1.3-.8 0-1.5.4-2 1.2l-2.3-2C12.4 9 13.7 8.4 16 8.4c2.8 0 4.5 1.5 4.5 3.7.2 1.5-.8 2.6-1.6 3.5z"},"question-mark-circle":{path:"M17.7234 24V22H15.6383V24H17.7234ZM12.5106 13C12.5106 10.79 14.3768 9 16.6808 9C18.9849 9 20.851 10.79 20.851 13C20.851 14.2829 20.0274 14.9733 19.2255 15.6455C18.4647 16.2833 17.7234 16.9046 17.7234 18V19.9919H15.6383V18C15.6383 16.1787 16.6205 15.4566 17.4841 14.8217C18.1615 14.3236 18.7659 13.8792 18.7659 13C18.7659 11.9 17.8276 11 16.6808 11C15.534 11 14.5957 11.9 14.5957 13H12.5106ZM16.6808 2C8.65317 2 2.08508 8.3 2.08508 16C2.08508 23.7 8.65317 30 16.6808 30C24.7085 30 31.2766 23.7 31.2766 16C31.2766 8.3 24.7085 2 16.6808 2ZM16.6808 26C10.9468 26 6.2553 21.5 6.2553 16C6.2553 10.5 10.9468 6 16.6808 6C22.4149 6 27.1064 10.5 27.1064 16C27.1064 21.5 22.4149 26 16.6808 26Z"},search:{path:"m32 29.119-9.825-9.825a12.217 12.217 0 1 0-2.88 2.881L29.118 32 32 29.119Zm-19.771-8.745a8.145 8.145 0 1 1 0-16.29 8.145 8.145 0 0 1 0 16.29Z"},settings:{path:"M0 18.6v-5.1H1.4c2.1-.4 3.5-2.3 3.1-4.4-.1-.6-.3-1.1-.6-1.6l-1-1 3.6-3.6V3l.9.9c1.7 1.2 4.1.8 5.3-.9.3-.4.5-.9.6-1.5V0h5.1V1.4c.4 2.1 2.3 3.5 4.4 3.1.5-.1 1-.3 1.5-.6l1-1 3.6 3.6h-.1l-.9.9c-1.1 1.5-.9 3.6.4 4.9.5.5 1.2.9 2 1.1H32v5.1H30.6c-2.1.4-3.5 2.4-3.1 4.4.1.5.3 1 .6 1.5l1 1-3.6 3.6v-.1l-.9-.9c-1.7-1.2-4.1-.8-5.3.9-.3.4-.5.9-.6 1.5V32h-5.1V30.6c-.4-2.1-2.3-3.5-4.4-3.1-.5.1-1 .3-1.5.6l-1 1-3.6-3.6h.1l.9-.9c1.2-1.7.8-4.1-.9-5.3-.4-.3-.9-.5-1.5-.6H0zM16 22c3.3 0 6-2.7 6-6s-2.7-6-6-6-6 2.7-6 6 2.7 6 6 6z"},spinner:{path:"M16.3 5c2.2 0 4.3.7 6.1 1.9 1.8 1.2 3.2 3 4 5 .8 2 1 4.2.6 6.4-.4 2.1-1.5 4.1-3.1 5.6s-3.5 2.6-5.7 3c-2.1.4-4.3.2-6.3-.7-2-.9-3.7-2.3-4.9-4.1-1.2-1.8-1.8-4-1.8-6.1"},"trash-bin":{path:"M21,4h8v4h-2v24H5V8H3V4h8V0h10V4z M19,2h-6v2h6V2z M23,28H9V8h14V28z M13,12h-2v12h2V12z M15,12h2v12h-2V12z M21,12h-2v12h2V12z"},"two-persons":{path:"M9.1 13.7c2.4 0 4.3-1.9 4.3-4.3s-1.9-4.3-4.3-4.3S4.8 7 4.8 9.4c.1 2.4 2 4.3 4.3 4.3zM25.7 20.5H20c-.8 0-1.6.1-2.3.3 0-4.2-2.4-5.6-5.7-5.6H6.3C3 15.2.6 16.6.6 20.9v1.4h14.8c-.7.9-1.1 2.2-1.1 3.9v1.4h17.1v-1.4c0-4.3-2.4-5.7-5.7-5.7z M22.9 19c2.4 0 4.3-1.9 4.3-4.3s-1.9-4.3-4.3-4.3-4.3 1.9-4.3 4.3 1.9 4.3 4.3 4.3z"},vote:{path:"m 20.533999,22.34317 v 9.689243 H 0.13559322 V 11.634006 H 11.099736 L 9.5698561,13.163887 A 8.7968127,8.7968127 0 1 0 18.749139,24.12803 Z M 17.856709,16.606118 29.330812,5.1320143 27.545952,3.3471538 16.071848,14.821257 Z M 30.350732,6.1519347 18.621649,18.008508 15.561888,18.645959 14.032007,17.116078 14.541968,14.311297 26.526031,2.3272335 24.741171,0.54237288 12.502127,12.908907 10.462286,22.21568 19.641569,20.685799 32.135593,7.9367952 Z"},whatsapp:{path:"m0 32 2.2-8.2C.8 21.4.1 18.7.1 15.9.1 7.1 7.3 0 16 0c4.2 0 8.2 1.7 11.2 4.7s4.6 7 4.6 11.2c0 8.7-7.1 15.9-15.9 15.9-2.7 0-5.3-.7-7.6-1.9L0 32zm8.8-5.1C11 28.3 13.2 29 16 29c7.3 0 13.2-5.9 13.2-13.2 0-7.3-5.9-13.2-13.2-13.2-7.3.1-13.2 6-13.2 13.3 0 3 .9 5.2 2.3 7.5l-1.3 4.9 5-1.4zM24 19.6c-.1-.2-.4-.3-.8-.5s-2.3-1.2-2.7-1.3c-.4-.1-.6-.2-.9.2-.3.4-1 1.3-1.3 1.6s-.5.3-.9.1c-.4-.2-1.7-.6-3.2-2-1.2-1.1-2-2.3-2.2-2.7-.2-.4 0-.6.2-.8.2-.2.4-.5.6-.7.2-.2.3-.4.4-.7.1-.3.1-.5 0-.7-.1-.1-.8-2.1-1.2-2.9-.3-.8-.6-.7-.9-.7h-.8c-.3 0-.7.1-1.1.5-.2.4-1.3 1.4-1.3 3.3 0 2 1.4 3.8 1.6 4.1.2.3 2.8 4.3 6.8 6 .9.4 1.7.7 2.3.8.9.3 1.8.3 2.5.2.8-.1 2.3-1 2.7-1.9.3-.9.3-1.7.2-1.9z"},"wifi-disconnect":{path:"M6.5 7.41421L23.5 24.4142L24.9142 23L22.4426 20.5284L23.7 19.3144C22.2375 17.6153 20.2337 16.5013 18.0541 16.1399L14.5768 12.6626C15.2092 12.5673 15.8518 12.5185 16.5 12.5185C20.2155 12.5185 23.7506 14.1206 26.2 16.9144L29 14.1144C25.8 10.5939 21.2575 8.59512 16.5 8.6144C14.7252 8.60721 12.9803 8.88087 11.3238 9.40962L7.91421 6L6.5 7.41421ZM10.3501 14.0788L7.47339 11.2021C6.20136 12.0038 5.031 12.9801 4 14.1144L6.8 16.9144C7.81762 15.7537 9.02263 14.7987 10.3501 14.0788ZM16.318 20.0467L12.9654 16.694C11.5669 17.2546 10.3055 18.1462 9.3 19.3144L12.2 22.1144C13.2057 20.8534 14.712 20.0998 16.318 20.0467ZM16.5 22.9144C15.607 22.9033 14.7882 23.4101 14.4 24.2144L16.5 26.2144L18.6 24.2144C18.2118 23.4101 17.393 22.9033 16.5 22.9144Z"}},k=3,w={spinner:{Wrapper:n,stroke:!0}},x="0 0 32 32",V=({color:e="default",name:t,size:h="md",testID:v,"logging-label":u})=>{const{color:i}=g(),{fontScale:p}=Z(),s=L[h]*p,c=y[t],{Wrapper:H=r.Fragment,stroke:o,strokeWidth:m=k}=w[t]??{};return a.jsx(f,{"logging-label":u,testID:v,children:a.jsx(H,{children:a.jsx(C,{fillRule:"evenodd",height:s,viewBox:"viewBox"in c?c.viewBox:x,width:s,children:a.jsx(M,{d:c.path,fill:o?"none":i.text[e],stroke:o?i.text[e]:void 0,strokeWidth:o?m:void 0})})})})};try{V.displayName="Icon",V.__docgenInfo={description:"",displayName:"Icon",props:{color:{defaultValue:{value:"default"},description:"The color of the icon to display.",name:"color",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"link"'},{value:'"cityPass"'},{value:'"confirm"'},{value:'"inverse"'},{value:'"warning"'}]}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},name:{defaultValue:null,description:"The name of the icon to display.",name:"name",required:!0,type:{name:"enum",value:[{value:'"alarm"'},{value:'"alert"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"announcement"'},{value:'"api"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document-text"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"list"'},{value:'"location"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},size:{defaultValue:{value:"md"},description:"The size of the icon.",name:"size",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'},{value:'"ml"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{V as I}; diff --git a/assets/Icon.stories-DPBXIphH.js b/assets/Icon.stories-Ad4g8LJA.js similarity index 70% rename from assets/Icon.stories-DPBXIphH.js rename to assets/Icon.stories-Ad4g8LJA.js index bf54a77c..84322b55 100644 --- a/assets/Icon.stories-DPBXIphH.js +++ b/assets/Icon.stories-Ad4g8LJA.js @@ -1,4 +1,4 @@ -import{I as p}from"./Icon-DcC-yiY8.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./index-CEE--Juu.js";import"./Row-BXpfxHoR.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-CZpuL6yQ.js";import"./index-BDsvWohO.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./Animated-C23eizOh.js";import"./index-DOpK3Ow6.js";import"./extends-CF3RwP-h.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-Bcpfmd17.js";import"./index-C3bJM-gU.js";import"./useTheme-CJIBCVMY.js";const A={component:p},o={args:{color:"default",name:"announcement",size:"lg"}};var r,t,m;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`{ +import{I as p}from"./Icon-CHbD1j2W.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./index-CEE--Juu.js";import"./Row-BY9zY_5g.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-BDsvWohO.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./Animated-C23eizOh.js";import"./index-DOpK3Ow6.js";import"./extends-CF3RwP-h.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-Bcpfmd17.js";import"./index-C3bJM-gU.js";import"./useTheme-BWbL_sDV.js";const A={component:p},o={args:{color:"default",name:"announcement",size:"lg"}};var r,t,m;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`{ args: { color: 'default', name: 'announcement', diff --git a/assets/IconButton-Cyqcuey7.js b/assets/IconButton-BuyNnPu5.js similarity index 93% rename from assets/IconButton-Cyqcuey7.js rename to assets/IconButton-BuyNnPu5.js index bc4693b0..77fc6d5b 100644 --- a/assets/IconButton-Cyqcuey7.js +++ b/assets/IconButton-BuyNnPu5.js @@ -1 +1 @@ -import{j as l}from"./jsx-runtime-Bxcv0yjW.js";import{r}from"./index-mfbfsM12.js";import{P as s}from"./Pressable-HfRmqOUq.js";import{c as m}from"./config-BZnShabN.js";import{B as d}from"./Badge-CZ5nSfIQ.js";import{R as c}from"./Row-BXpfxHoR.js";import{I as p}from"./types-BJ_48vsK.js";import{u as v}from"./useThemable-CjWxbHxI.js";import{V as g}from"./index-BDsvWohO.js";import{s as f}from"./index-CEE--Juu.js";const n=r.forwardRef(({badgeValue:a,icon:e,...t},o)=>{const u=v(y),i=(m.minTouchSize-p[e.props.size??"md"])/2;return l.jsx(c,{align:"start",valign:"center",children:l.jsxs(s,{accessibilityLanguage:"nl-NL",accessibilityRole:"button",hitSlop:i,ref:o,variant:"transparent",...t,children:[e,a?l.jsx(g,{style:u.badgePosition,children:l.jsx(d,{testID:`${t.testID}Badge`,value:a,variant:"on-icon"})}):null]})})}),y=({size:a})=>{const e=a.spacing.sm;return f.create({badgePosition:{position:"absolute",top:-e,right:-e,left:-e,alignItems:"flex-end"}})};try{n.displayName="IconButton",n.__docgenInfo={description:"",displayName:"IconButton",props:{badgeValue:{defaultValue:null,description:"The value for a badge to be displayed on top of the icon.",name:"badgeValue",required:!1,type:{name:"number"}},icon:{defaultValue:null,description:"The icon component to use for the button.",name:"icon",required:!0,type:{name:"ReactElement>"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"tertiary"'},{value:'"transparent"'}]}},inset:{defaultValue:null,description:"The amount of inner spacing.",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetHorizontal:{defaultValue:null,description:"The amount of inner spacing at the left and right.",name:"insetHorizontal",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetVertical:{defaultValue:null,description:"The amount of inner spacing at the top and bottom.",name:"insetVertical",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}}}}}catch{}export{n as I}; +import{j as l}from"./jsx-runtime-Bxcv0yjW.js";import{r}from"./index-mfbfsM12.js";import{P as s}from"./Pressable-CwlxP6l-.js";import{c as m}from"./config-BZnShabN.js";import{B as d}from"./Badge-CVvYwvd7.js";import{R as c}from"./Row-BY9zY_5g.js";import{I as p}from"./types-BJ_48vsK.js";import{u as v}from"./useThemable-BlSbywuP.js";import{V as g}from"./index-BDsvWohO.js";import{s as f}from"./index-CEE--Juu.js";const n=r.forwardRef(({badgeValue:a,icon:e,...t},o)=>{const u=v(y),i=(m.minTouchSize-p[e.props.size??"md"])/2;return l.jsx(c,{align:"start",valign:"center",children:l.jsxs(s,{accessibilityLanguage:"nl-NL",accessibilityRole:"button",hitSlop:i,ref:o,variant:"transparent",...t,children:[e,a?l.jsx(g,{style:u.badgePosition,children:l.jsx(d,{testID:`${t.testID}Badge`,value:a,variant:"on-icon"})}):null]})})}),y=({size:a})=>{const e=a.spacing.sm;return f.create({badgePosition:{position:"absolute",top:-e,right:-e,left:-e,alignItems:"flex-end"}})};try{n.displayName="IconButton",n.__docgenInfo={description:"",displayName:"IconButton",props:{badgeValue:{defaultValue:null,description:"The value for a badge to be displayed on top of the icon.",name:"badgeValue",required:!1,type:{name:"number"}},icon:{defaultValue:null,description:"The icon component to use for the button.",name:"icon",required:!0,type:{name:"ReactElement>"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"tertiary"'},{value:'"transparent"'}]}},inset:{defaultValue:null,description:"The amount of inner spacing.",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetHorizontal:{defaultValue:null,description:"The amount of inner spacing at the left and right.",name:"insetHorizontal",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetVertical:{defaultValue:null,description:"The amount of inner spacing at the top and bottom.",name:"insetVertical",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}}}}}catch{}export{n as I}; diff --git a/assets/IconButton.stories-C63mYIh6.js b/assets/IconButton.stories-Bqy-Ncai.js similarity index 71% rename from assets/IconButton.stories-C63mYIh6.js rename to assets/IconButton.stories-Bqy-Ncai.js index ff2d5ecc..8e3c4acf 100644 --- a/assets/IconButton.stories-C63mYIh6.js +++ b/assets/IconButton.stories-Bqy-Ncai.js @@ -1,4 +1,4 @@ -import{j as p}from"./jsx-runtime-Bxcv0yjW.js";import{I as i}from"./IconButton-Cyqcuey7.js";import{I as e}from"./Icon-DcC-yiY8.js";import{p as s}from"./pressable-arg-types-CJIMfHep.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Pressable-HfRmqOUq.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./Box-uk0d72u3.js";import"./layoutStyles-DflBxpuh.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./base-color-CZpuL6yQ.js";import"./config-BZnShabN.js";import"./Badge-CZ5nSfIQ.js";import"./Row-BXpfxHoR.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./useTheme-CJIBCVMY.js";const Q={component:i,argTypes:s},o={args:{icon:p.jsx(e,{name:"person",size:"lg",testID:"Icon"}),badgeValue:7}};var r,t,m;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`{ +import{j as p}from"./jsx-runtime-Bxcv0yjW.js";import{I as i}from"./IconButton-BuyNnPu5.js";import{I as e}from"./Icon-CHbD1j2W.js";import{p as s}from"./pressable-arg-types-CJIMfHep.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Pressable-CwlxP6l-.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./Box-DJu0GgH-.js";import"./layoutStyles-DflBxpuh.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./base-color-B2rPH-Aj.js";import"./config-BZnShabN.js";import"./Badge-CVvYwvd7.js";import"./Row-BY9zY_5g.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./useTheme-BWbL_sDV.js";const Q={component:i,argTypes:s},o={args:{icon:p.jsx(e,{name:"person",size:"lg",testID:"Icon"}),badgeValue:7}};var r,t,m;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`{ args: { icon: , badgeValue: 7 diff --git a/assets/Image.stories-ZfBjdKKw.js b/assets/Image.stories-DIm8pAS-.js similarity index 95% rename from assets/Image.stories-ZfBjdKKw.js rename to assets/Image.stories-DIm8pAS-.js index 93d7f88a..c3b89ca4 100644 --- a/assets/Image.stories-ZfBjdKKw.js +++ b/assets/Image.stories-DIm8pAS-.js @@ -1,4 +1,4 @@ -import{j as l}from"./jsx-runtime-Bxcv0yjW.js";import{r as o}from"./index-mfbfsM12.js";import{i as I}from"./development-DYCnWZjk.js";import{P as W,I as _}from"./index-DcZXOGQR.js";import{u as R}from"./useThemable-CjWxbHxI.js";import{u as S}from"./index-C3bJM-gU.js";import{P as w}from"./index-DOpK3Ow6.js";import{s as E}from"./index-CEE--Juu.js";import"./_commonjsHelpers-BosuxZz1.js";import"./extends-CF3RwP-h.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-BDsvWohO.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-CZpuL6yQ.js";const b=()=>null,j=({width:t=0},{width:e=0})=>t>e?1:t{var i;if(!e)return;if(!Array.isArray(e))return e.uri;if(I&&!t&&(t=1e3),!t)return;const r=[...e].sort(j),a=W.getPixelSizeForLayoutSize(t),s=r.find(({width:c=0})=>c>=a);return s?s.uri:(i=r.pop())==null?void 0:i.uri},C=({onLayout:t,style:e,uriSources:r,width:a=0,...s})=>{const i=o.useMemo(()=>({uri:z(a,r)}),[r,a]);return l.jsx(b,{accessibilityIgnoresInvertColors:!0,accessibilityLanguage:"nl-NL",onLayout:t,source:i,style:e,...s},i==null?void 0:i.uri)},d=({aspectRatio:t="wide",onLayout:e,source:r,style:a,...s})=>{const{height:i,width:c}=S(),[u,m]=o.useState(void 0),x=o.useMemo(()=>L(t,u),[t,u]),p=R(x);o.useEffect(()=>{m(void 0)},[i,c]);const f=o.useCallback(g=>{m(g.nativeEvent.layout.width),e==null||e(g)},[e,m]);return w.OS==="ios"&&typeof r!="number"?l.jsx(C,{onLayout:f,style:[p.image,a],uriSources:r,width:u,...s}):l.jsx(_,{accessibilityIgnoresInvertColors:!0,accessibilityLanguage:"nl-NL",onLayout:f,source:r,style:[p.image,a],...s})},L=(t,e)=>({media:r})=>{const a=r.aspectRatio[t];return E.create({image:{width:void 0,maxWidth:"100%",height:w.OS==="android"&&e&&a>0?e/a:void 0,flex:1,aspectRatio:a}})};try{d.displayName="Image",d.__docgenInfo={description:"",displayName:"Image",props:{aspectRatio:{defaultValue:{value:"wide"},description:"",name:"aspectRatio",required:!1,type:{name:"enum",value:[{value:'"extraWide"'},{value:'"narrow"'},{value:'"square"'},{value:'"wide"'},{value:'"tight"'}]}},onError:{defaultValue:null,description:"",name:"onError",required:!1,type:{name:"OnError"}},resizeMode:{defaultValue:null,description:"",name:"resizeMode",required:!1,type:{name:"enum",value:[{value:'"stretch"'},{value:'"cover"'},{value:'"contain"'}]}}}}}catch{}const M=""+new URL("screenshot-afvalwijzer-BVPHaBeJ.png",import.meta.url).href,K={component:d},n={args:{aspectRatio:"wide",source:M}};var h,v,y;n.parameters={...n.parameters,docs:{...(h=n.parameters)==null?void 0:h.docs,source:{originalSource:`{ +import{j as l}from"./jsx-runtime-Bxcv0yjW.js";import{r as o}from"./index-mfbfsM12.js";import{i as I}from"./development-DYCnWZjk.js";import{P as W,I as _}from"./index-DcZXOGQR.js";import{u as R}from"./useThemable-BlSbywuP.js";import{u as S}from"./index-C3bJM-gU.js";import{P as w}from"./index-DOpK3Ow6.js";import{s as E}from"./index-CEE--Juu.js";import"./_commonjsHelpers-BosuxZz1.js";import"./extends-CF3RwP-h.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-BDsvWohO.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";const b=()=>null,j=({width:t=0},{width:e=0})=>t>e?1:t{var i;if(!e)return;if(!Array.isArray(e))return e.uri;if(I&&!t&&(t=1e3),!t)return;const r=[...e].sort(j),a=W.getPixelSizeForLayoutSize(t),s=r.find(({width:c=0})=>c>=a);return s?s.uri:(i=r.pop())==null?void 0:i.uri},C=({onLayout:t,style:e,uriSources:r,width:a=0,...s})=>{const i=o.useMemo(()=>({uri:z(a,r)}),[r,a]);return l.jsx(b,{accessibilityIgnoresInvertColors:!0,accessibilityLanguage:"nl-NL",onLayout:t,source:i,style:e,...s},i==null?void 0:i.uri)},d=({aspectRatio:t="wide",onLayout:e,source:r,style:a,...s})=>{const{height:i,width:c}=S(),[u,m]=o.useState(void 0),x=o.useMemo(()=>L(t,u),[t,u]),p=R(x);o.useEffect(()=>{m(void 0)},[i,c]);const f=o.useCallback(g=>{m(g.nativeEvent.layout.width),e==null||e(g)},[e,m]);return w.OS==="ios"&&typeof r!="number"?l.jsx(C,{onLayout:f,style:[p.image,a],uriSources:r,width:u,...s}):l.jsx(_,{accessibilityIgnoresInvertColors:!0,accessibilityLanguage:"nl-NL",onLayout:f,source:r,style:[p.image,a],...s})},L=(t,e)=>({media:r})=>{const a=r.aspectRatio[t];return E.create({image:{width:void 0,maxWidth:"100%",height:w.OS==="android"&&e&&a>0?e/a:void 0,flex:1,aspectRatio:a}})};try{d.displayName="Image",d.__docgenInfo={description:"",displayName:"Image",props:{aspectRatio:{defaultValue:{value:"wide"},description:"",name:"aspectRatio",required:!1,type:{name:"enum",value:[{value:'"extraWide"'},{value:'"narrow"'},{value:'"square"'},{value:'"wide"'},{value:'"tight"'}]}},onError:{defaultValue:null,description:"",name:"onError",required:!1,type:{name:"OnError"}},resizeMode:{defaultValue:null,description:"",name:"resizeMode",required:!1,type:{name:"enum",value:[{value:'"stretch"'},{value:'"cover"'},{value:'"contain"'}]}}}}}catch{}const M=""+new URL("screenshot-afvalwijzer-BVPHaBeJ.png",import.meta.url).href,K={component:d},n={args:{aspectRatio:"wide",source:M}};var h,v,y;n.parameters={...n.parameters,docs:{...(h=n.parameters)==null?void 0:h.docs,source:{originalSource:`{ args: { aspectRatio: 'wide', source diff --git a/assets/ImageFallback.stories-BCOLL1Qz.js b/assets/ImageFallback.stories-GLz657Q_.js similarity index 97% rename from assets/ImageFallback.stories-BCOLL1Qz.js rename to assets/ImageFallback.stories-GLz657Q_.js index b6c40a36..5d347a20 100644 --- a/assets/ImageFallback.stories-BCOLL1Qz.js +++ b/assets/ImageFallback.stories-GLz657Q_.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{r as e}from"./index-mfbfsM12.js";import{u as d}from"./useThemable-CjWxbHxI.js";import{V as p}from"./index-BDsvWohO.js";import{s as u}from"./index-CEE--Juu.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-CZpuL6yQ.js";import"./TextAncestorContext-Cvz4PlE2.js";const h=t=>e.createElement("svg",{width:97,height:97,viewBox:"0 0 97 97",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("mask",{id:"mask0_382_4513",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:8,y:15,width:78,height:59},e.createElement("path",{d:"M86 15.5354H8V73.5354H86V15.5354Z",fill:"white"})),e.createElement("g",{mask:"url(#mask0_382_4513)"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.788 25.4731H63.894C63.894 25.4731 59.9401 15.5354 57.0645 15.5354H37.1152C34.2396 15.5354 30.2857 25.4731 30.2857 25.4731H13.0323C10.3364 25.4731 8 27.822 8 30.5323V68.2955C8 71.1865 10.3364 73.3547 13.0323 73.3547H80.788C83.6636 73.3547 85.8203 71.0058 85.8203 68.2955V30.5323C86 27.822 83.6636 25.4731 80.788 25.4731Z",fill:"#004699"})),e.createElement("mask",{id:"mask1_382_4513",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:8,y:15,width:78,height:59},e.createElement("path",{d:"M86 15.5354H8V73.5354H86V15.5354Z",fill:"white"})),e.createElement("g",{mask:"url(#mask1_382_4513)"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.8432 29.6289C50.4146 29.0868 55.4469 30.5323 59.2211 33.4233C66.2303 38.6632 70.0045 51.1304 63.5344 60.7068C60.1197 65.766 53.2902 70.1024 45.0229 69.5604C35.1381 68.8376 26.3317 60.1647 27.2303 48.0588C27.5897 42.2769 29.9261 38.6632 32.8017 35.5915C35.3178 32.7005 39.4515 30.3516 44.8432 29.6289ZM36.0367 43.903C31.9031 52.3952 38.1934 61.9716 46.9999 61.7909C52.5713 61.7909 58.5022 57.6351 59.2211 50.7691C60.1197 42.2769 53.4699 36.1336 45.3824 37.2177C40.8893 37.9404 37.4745 41.1928 36.0367 43.903Z",fill:"white"})),e.createElement("mask",{id:"mask2_382_4513",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:8,y:15,width:78,height:59},e.createElement("path",{d:"M86 15.5354H8V73.5354H86V15.5354Z",fill:"white"})),e.createElement("g",{mask:"url(#mask2_382_4513)"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45.5624 37.3983C53.6499 36.3142 60.2997 42.4575 59.4011 50.9497C58.6822 57.8157 52.931 61.7908 47.1799 61.9715C38.3734 61.9715 31.9034 52.5758 36.2168 44.0836C37.4748 41.1927 40.8896 37.9403 45.5624 37.3983Z",fill:"#004699"})),e.createElement("mask",{id:"mask3_382_4513",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:8,y:15,width:78,height:59},e.createElement("path",{d:"M86 15.5354H8V73.5354H86V15.5354Z",fill:"white"})),e.createElement("g",{mask:"url(#mask3_382_4513)"},e.createElement("path",{d:"M81.6866 28.906H64.2534V34.3266H81.6866V28.906Z",fill:"white"})),e.createElement("path",{d:"M2.70711 88.1716C1.14501 89.7337 1.14501 92.2663 2.70711 93.8284C4.2692 95.3905 6.80186 95.3905 8.36396 93.8284L93.8284 8.36396C95.3905 6.80186 95.3905 4.26921 93.8284 2.70711C92.2663 1.14501 89.7337 1.14501 88.1716 2.70711L2.70711 88.1716Z",fill:"#EC0000",stroke:"white",strokeWidth:3,strokeLinecap:"round"}),e.createElement("defs",null)),s=({aspectRatio:t="wide"})=>{const{fallback:a}=d(e.useMemo(()=>k(t),[t]));return r.jsx(p,{accessibilityLabel:"Afbeelding niet gevonden",accessibilityLanguage:"nl-NL",style:a,children:r.jsx(h,{})})},k=t=>({color:a,media:c,border:o})=>u.create({fallback:{alignItems:"center",aspectRatio:c.aspectRatio[t],backgroundColor:a.imageFallback.background,borderWidth:o.width.sm,borderColor:a.imageFallback.border,flex:1,justifyContent:"center"}});try{s.displayName="ImageFallback",s.__docgenInfo={description:"",displayName:"ImageFallback",props:{aspectRatio:{defaultValue:{value:"wide"},description:"",name:"aspectRatio",required:!1,type:{name:"enum",value:[{value:'"extraWide"'},{value:'"narrow"'},{value:'"square"'},{value:'"wide"'},{value:'"tight"'}]}}}}}catch{}const V={component:s},l={args:{aspectRatio:"wide"}};var i,n,m;l.parameters={...l.parameters,docs:{...(i=l.parameters)==null?void 0:i.docs,source:{originalSource:`{ +import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{r as e}from"./index-mfbfsM12.js";import{u as d}from"./useThemable-BlSbywuP.js";import{V as p}from"./index-BDsvWohO.js";import{s as u}from"./index-CEE--Juu.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./TextAncestorContext-Cvz4PlE2.js";const h=t=>e.createElement("svg",{width:97,height:97,viewBox:"0 0 97 97",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("mask",{id:"mask0_382_4513",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:8,y:15,width:78,height:59},e.createElement("path",{d:"M86 15.5354H8V73.5354H86V15.5354Z",fill:"white"})),e.createElement("g",{mask:"url(#mask0_382_4513)"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.788 25.4731H63.894C63.894 25.4731 59.9401 15.5354 57.0645 15.5354H37.1152C34.2396 15.5354 30.2857 25.4731 30.2857 25.4731H13.0323C10.3364 25.4731 8 27.822 8 30.5323V68.2955C8 71.1865 10.3364 73.3547 13.0323 73.3547H80.788C83.6636 73.3547 85.8203 71.0058 85.8203 68.2955V30.5323C86 27.822 83.6636 25.4731 80.788 25.4731Z",fill:"#004699"})),e.createElement("mask",{id:"mask1_382_4513",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:8,y:15,width:78,height:59},e.createElement("path",{d:"M86 15.5354H8V73.5354H86V15.5354Z",fill:"white"})),e.createElement("g",{mask:"url(#mask1_382_4513)"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.8432 29.6289C50.4146 29.0868 55.4469 30.5323 59.2211 33.4233C66.2303 38.6632 70.0045 51.1304 63.5344 60.7068C60.1197 65.766 53.2902 70.1024 45.0229 69.5604C35.1381 68.8376 26.3317 60.1647 27.2303 48.0588C27.5897 42.2769 29.9261 38.6632 32.8017 35.5915C35.3178 32.7005 39.4515 30.3516 44.8432 29.6289ZM36.0367 43.903C31.9031 52.3952 38.1934 61.9716 46.9999 61.7909C52.5713 61.7909 58.5022 57.6351 59.2211 50.7691C60.1197 42.2769 53.4699 36.1336 45.3824 37.2177C40.8893 37.9404 37.4745 41.1928 36.0367 43.903Z",fill:"white"})),e.createElement("mask",{id:"mask2_382_4513",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:8,y:15,width:78,height:59},e.createElement("path",{d:"M86 15.5354H8V73.5354H86V15.5354Z",fill:"white"})),e.createElement("g",{mask:"url(#mask2_382_4513)"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45.5624 37.3983C53.6499 36.3142 60.2997 42.4575 59.4011 50.9497C58.6822 57.8157 52.931 61.7908 47.1799 61.9715C38.3734 61.9715 31.9034 52.5758 36.2168 44.0836C37.4748 41.1927 40.8896 37.9403 45.5624 37.3983Z",fill:"#004699"})),e.createElement("mask",{id:"mask3_382_4513",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:8,y:15,width:78,height:59},e.createElement("path",{d:"M86 15.5354H8V73.5354H86V15.5354Z",fill:"white"})),e.createElement("g",{mask:"url(#mask3_382_4513)"},e.createElement("path",{d:"M81.6866 28.906H64.2534V34.3266H81.6866V28.906Z",fill:"white"})),e.createElement("path",{d:"M2.70711 88.1716C1.14501 89.7337 1.14501 92.2663 2.70711 93.8284C4.2692 95.3905 6.80186 95.3905 8.36396 93.8284L93.8284 8.36396C95.3905 6.80186 95.3905 4.26921 93.8284 2.70711C92.2663 1.14501 89.7337 1.14501 88.1716 2.70711L2.70711 88.1716Z",fill:"#EC0000",stroke:"white",strokeWidth:3,strokeLinecap:"round"}),e.createElement("defs",null)),s=({aspectRatio:t="wide"})=>{const{fallback:a}=d(e.useMemo(()=>k(t),[t]));return r.jsx(p,{accessibilityLabel:"Afbeelding niet gevonden",accessibilityLanguage:"nl-NL",style:a,children:r.jsx(h,{})})},k=t=>({color:a,media:c,border:o})=>u.create({fallback:{alignItems:"center",aspectRatio:c.aspectRatio[t],backgroundColor:a.imageFallback.background,borderWidth:o.width.sm,borderColor:a.imageFallback.border,flex:1,justifyContent:"center"}});try{s.displayName="ImageFallback",s.__docgenInfo={description:"",displayName:"ImageFallback",props:{aspectRatio:{defaultValue:{value:"wide"},description:"",name:"aspectRatio",required:!1,type:{name:"enum",value:[{value:'"extraWide"'},{value:'"narrow"'},{value:'"square"'},{value:'"wide"'},{value:'"tight"'}]}}}}}catch{}const V={component:s},l={args:{aspectRatio:"wide"}};var i,n,m;l.parameters={...l.parameters,docs:{...(i=l.parameters)==null?void 0:i.docs,source:{originalSource:`{ args: { aspectRatio: 'wide' } diff --git a/assets/InformationButton.stories-Chf6KCJ3.js b/assets/InformationButton.stories-Ca44wmUN.js similarity index 92% rename from assets/InformationButton.stories-Chf6KCJ3.js rename to assets/InformationButton.stories-Ca44wmUN.js index 3376a70e..ce6282d7 100644 --- a/assets/InformationButton.stories-Chf6KCJ3.js +++ b/assets/InformationButton.stories-Ca44wmUN.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{P as g}from"./Pressable-HfRmqOUq.js";import{C as f}from"./Column-DVJ0Grcf.js";import{R as u}from"./Row-BXpfxHoR.js";import{I as h}from"./Icon-DcC-yiY8.js";import{P as y}from"./Paragraph-DkRs_aGj.js";import{T as x}from"./Title-9ScEYPym.js";import{a as b}from"./accessibleText-gmNPjmn1.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./Box-uk0d72u3.js";import"./layoutStyles-DflBxpuh.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./base-color-CZpuL6yQ.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./useTheme-CJIBCVMY.js";const r=({iconName:i,onPress:c,text:t,title:o,testID:a,accessibilityRole:p="button",variant:n,...d})=>e.jsx(g,{accessibilityLabel:b(o,typeof t=="string"?t:""),accessibilityLanguage:"nl-NL",accessibilityRole:p,onPress:c,testID:a,...d,insetHorizontal:"md",insetVertical:"sm",variant:"transparent",children:e.jsxs(u,{gutter:"md",children:[e.jsx(h,{color:n==="inverse"?"inverse":"link",name:i,size:"xl",testID:`${a}Icon`}),e.jsxs(f,{align:"center",grow:1,gutter:"xs",shrink:1,children:[e.jsx(u,{valign:"center",children:e.jsx(x,{color:n==="inverse"?"inverse":"link",level:"h4",testID:`${a}Title`,text:o,underline:!0})}),e.jsx(y,{color:n==="inverse"?"inverse":void 0,testID:`${a}Text`,variant:"small",children:t})]})]})});try{r.displayName="InformationButton",r.__docgenInfo={description:"",displayName:"InformationButton",props:{iconName:{defaultValue:null,description:"",name:"iconName",required:!0,type:{name:"enum",value:[{value:'"alarm"'},{value:'"alert"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"announcement"'},{value:'"api"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document-text"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"list"'},{value:'"location"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"string"}},title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"inverse"'}]}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},inset:{defaultValue:null,description:"The amount of inner spacing.",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetHorizontal:{defaultValue:null,description:"The amount of inner spacing at the left and right.",name:"insetHorizontal",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetVertical:{defaultValue:null,description:"The amount of inner spacing at the top and bottom.",name:"insetVertical",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}}}}}catch{}const ie={component:r,argTypes:{onPress:{action:"onPress"}}},l={args:{iconName:"email",text:"Reactie binnen 1 werkdag",title:"Contactformulier"}};var s,m,v;l.parameters={...l.parameters,docs:{...(s=l.parameters)==null?void 0:s.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{P as g}from"./Pressable-CwlxP6l-.js";import{C as f}from"./Column-BO_nzweR.js";import{R as u}from"./Row-BY9zY_5g.js";import{I as h}from"./Icon-CHbD1j2W.js";import{P as y}from"./Paragraph-CJTJBOQl.js";import{T as x}from"./Title-Dg8-Cp53.js";import{a as b}from"./accessibleText-gmNPjmn1.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./Box-DJu0GgH-.js";import"./layoutStyles-DflBxpuh.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./base-color-B2rPH-Aj.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./useTheme-BWbL_sDV.js";const r=({iconName:i,onPress:c,text:t,title:o,testID:a,accessibilityRole:p="button",variant:n,...d})=>e.jsx(g,{accessibilityLabel:b(o,typeof t=="string"?t:""),accessibilityLanguage:"nl-NL",accessibilityRole:p,onPress:c,testID:a,...d,insetHorizontal:"md",insetVertical:"sm",variant:"transparent",children:e.jsxs(u,{gutter:"md",children:[e.jsx(h,{color:n==="inverse"?"inverse":"link",name:i,size:"xl",testID:`${a}Icon`}),e.jsxs(f,{align:"center",grow:1,gutter:"xs",shrink:1,children:[e.jsx(u,{valign:"center",children:e.jsx(x,{color:n==="inverse"?"inverse":"link",level:"h4",testID:`${a}Title`,text:o,underline:!0})}),e.jsx(y,{color:n==="inverse"?"inverse":void 0,testID:`${a}Text`,variant:"small",children:t})]})]})});try{r.displayName="InformationButton",r.__docgenInfo={description:"",displayName:"InformationButton",props:{iconName:{defaultValue:null,description:"",name:"iconName",required:!0,type:{name:"enum",value:[{value:'"alarm"'},{value:'"alert"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"announcement"'},{value:'"api"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document-text"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"list"'},{value:'"location"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"string"}},title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"inverse"'}]}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},inset:{defaultValue:null,description:"The amount of inner spacing.",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetHorizontal:{defaultValue:null,description:"The amount of inner spacing at the left and right.",name:"insetHorizontal",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetVertical:{defaultValue:null,description:"The amount of inner spacing at the top and bottom.",name:"insetVertical",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}}}}}catch{}const ie={component:r,argTypes:{onPress:{action:"onPress"}}},l={args:{iconName:"email",text:"Reactie binnen 1 werkdag",title:"Contactformulier"}};var s,m,v;l.parameters={...l.parameters,docs:{...(s=l.parameters)==null?void 0:s.docs,source:{originalSource:`{ args: { iconName: 'email', text: 'Reactie binnen 1 werkdag', diff --git a/assets/Label-BbSvQ4Xu.js b/assets/Label-DpT1tV42.js similarity index 89% rename from assets/Label-BbSvQ4Xu.js rename to assets/Label-DpT1tV42.js index e67fb9dc..482e3b43 100644 --- a/assets/Label-BbSvQ4Xu.js +++ b/assets/Label-DpT1tV42.js @@ -1 +1 @@ -import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{P as r}from"./Paragraph-DkRs_aGj.js";import{V as s}from"./index-BDsvWohO.js";const i=({isAccessible:e,text:t})=>a.jsx(s,{accessibilityElementsHidden:!e,accessibilityLanguage:"nl-NL",importantForAccessibility:e?"auto":"no-hide-descendants",children:a.jsx(r,{children:t})});try{i.displayName="Label",i.__docgenInfo={description:"",displayName:"Label",props:{isAccessible:{defaultValue:null,description:"",name:"isAccessible",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}}}}}catch{}export{i as L}; +import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{P as r}from"./Paragraph-CJTJBOQl.js";import{V as s}from"./index-BDsvWohO.js";const i=({isAccessible:e,text:t})=>a.jsx(s,{accessibilityElementsHidden:!e,accessibilityLanguage:"nl-NL",importantForAccessibility:e?"auto":"no-hide-descendants",children:a.jsx(r,{children:t})});try{i.displayName="Label",i.__docgenInfo={description:"",displayName:"Label",props:{isAccessible:{defaultValue:null,description:"",name:"isAccessible",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}}}}}catch{}export{i as L}; diff --git a/assets/Label.stories-CIYQAd-q.js b/assets/Label.stories-CKVg7ca_.js similarity index 68% rename from assets/Label.stories-CIYQAd-q.js rename to assets/Label.stories-CKVg7ca_.js index a03c41ce..dece62fe 100644 --- a/assets/Label.stories-CIYQAd-q.js +++ b/assets/Label.stories-CKVg7ca_.js @@ -1,4 +1,4 @@ -import{L as a}from"./Label-BbSvQ4Xu.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Paragraph-DkRs_aGj.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./index-CEE--Juu.js";import"./base-color-CZpuL6yQ.js";import"./index-BypDj3rK.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-BDsvWohO.js";const L={component:a},t={args:{text:"Wat is de titel van je bericht?"}};var r,e,o;t.parameters={...t.parameters,docs:{...(r=t.parameters)==null?void 0:r.docs,source:{originalSource:`{ +import{L as a}from"./Label-DpT1tV42.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Paragraph-CJTJBOQl.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./index-CEE--Juu.js";import"./base-color-B2rPH-Aj.js";import"./index-BypDj3rK.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-BDsvWohO.js";const L={component:a},t={args:{text:"Wat is de titel van je bericht?"}};var r,e,o;t.parameters={...t.parameters,docs:{...(r=t.parameters)==null?void 0:r.docs,source:{originalSource:`{ args: { text: 'Wat is de titel van je bericht?' } diff --git a/assets/Link.stories-Bsr9sC9b.js b/assets/Link.stories-D38u6Crj.js similarity index 81% rename from assets/Link.stories-Bsr9sC9b.js rename to assets/Link.stories-D38u6Crj.js index 1c5f1e34..f0bde22b 100644 --- a/assets/Link.stories-Bsr9sC9b.js +++ b/assets/Link.stories-D38u6Crj.js @@ -1 +1 @@ -import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{P as f}from"./Pressable-HfRmqOUq.js";import{c as x}from"./config-BZnShabN.js";import{R as h}from"./Row-BXpfxHoR.js";import{S as g}from"./Size-D6myJmG7.js";import{I as k}from"./Icon-DcC-yiY8.js";import{P as j}from"./Phrase-t0rOiClQ.js";import{D as a}from"./types-BJ_48vsK.js";import{u}from"./useTheme-CJIBCVMY.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./Box-uk0d72u3.js";import"./layoutStyles-DflBxpuh.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./base-color-CZpuL6yQ.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";const n=({direction:r,external:m,testID:t})=>{const{text:o}=u(),l=m?"external-link":r===a.left?"chevron-left":"chevron-right";return e.jsx(g,{height:o.lineHeight.body,children:e.jsx(k,{color:"link",name:l,testID:t})})},s=({label:r,onPress:m,testID:t,variant:o="default"})=>{const{text:l}=u();return e.jsx(f,{accessibilityLabel:o==="external"?r+", opent in webbrowser":r,accessibilityRole:"link",hitSlop:(x.minTouchSize-l.lineHeight.body)/2,onPress:m,testID:t,children:e.jsxs(h,{gutter:"sm",valign:o!=="external"?"center":void 0,children:[o==="external"&&e.jsx(n,{external:!0,testID:`${t}Icon`}),o==="backward"&&e.jsx(n,{direction:a.left,testID:`${t}Icon`}),o==="default"&&e.jsx(n,{direction:a.right,testID:`${t}Icon`}),e.jsx(j,{color:"link",testID:`${t}Phrase`,children:r}),o==="forward"&&e.jsx(n,{direction:a.right,testID:`${t}Icon`})]})})};try{s.displayName="Link",s.__docgenInfo={description:"",displayName:"Link",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},onPress:{defaultValue:null,description:"",name:"onPress",required:!0,type:{name:"() => void"}},variant:{defaultValue:{value:"default"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"backward"'},{value:'"forward"'},{value:'"external"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const ie={component:s},i=r=>e.jsx(s,{...r});i.args={label:"Klik mij ik ben een link",variant:"default"};var p,c,d;i.parameters={...i.parameters,docs:{...(p=i.parameters)==null?void 0:p.docs,source:{originalSource:"args => ",...(d=(c=i.parameters)==null?void 0:c.docs)==null?void 0:d.source}}};const ne=["Default"];export{i as Default,ne as __namedExportsOrder,ie as default}; +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{P as f}from"./Pressable-CwlxP6l-.js";import{c as x}from"./config-BZnShabN.js";import{R as h}from"./Row-BY9zY_5g.js";import{S as g}from"./Size-D6myJmG7.js";import{I as k}from"./Icon-CHbD1j2W.js";import{P as j}from"./Phrase-CsqFctWr.js";import{D as a}from"./types-BJ_48vsK.js";import{u}from"./useTheme-BWbL_sDV.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./Box-DJu0GgH-.js";import"./layoutStyles-DflBxpuh.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./base-color-B2rPH-Aj.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";const n=({direction:r,external:m,testID:t})=>{const{text:o}=u(),l=m?"external-link":r===a.left?"chevron-left":"chevron-right";return e.jsx(g,{height:o.lineHeight.body,children:e.jsx(k,{color:"link",name:l,testID:t})})},s=({label:r,onPress:m,testID:t,variant:o="default"})=>{const{text:l}=u();return e.jsx(f,{accessibilityLabel:o==="external"?r+", opent in webbrowser":r,accessibilityRole:"link",hitSlop:(x.minTouchSize-l.lineHeight.body)/2,onPress:m,testID:t,children:e.jsxs(h,{gutter:"sm",valign:o!=="external"?"center":void 0,children:[o==="external"&&e.jsx(n,{external:!0,testID:`${t}Icon`}),o==="backward"&&e.jsx(n,{direction:a.left,testID:`${t}Icon`}),o==="default"&&e.jsx(n,{direction:a.right,testID:`${t}Icon`}),e.jsx(j,{color:"link",testID:`${t}Phrase`,children:r}),o==="forward"&&e.jsx(n,{direction:a.right,testID:`${t}Icon`})]})})};try{s.displayName="Link",s.__docgenInfo={description:"",displayName:"Link",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},onPress:{defaultValue:null,description:"",name:"onPress",required:!0,type:{name:"() => void"}},variant:{defaultValue:{value:"default"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"backward"'},{value:'"forward"'},{value:'"external"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const ie={component:s},i=r=>e.jsx(s,{...r});i.args={label:"Klik mij ik ben een link",variant:"default"};var p,c,d;i.parameters={...i.parameters,docs:{...(p=i.parameters)==null?void 0:p.docs,source:{originalSource:"args => ",...(d=(c=i.parameters)==null?void 0:c.docs)==null?void 0:d.source}}};const ne=["Default"];export{i as Default,ne as __namedExportsOrder,ie as default}; diff --git a/assets/List.stories-BTw7GTgY.js b/assets/List.stories-Dx-mFeSf.js similarity index 89% rename from assets/List.stories-BTw7GTgY.js rename to assets/List.stories-Dx-mFeSf.js index 01e420d4..96447a88 100644 --- a/assets/List.stories-BTw7GTgY.js +++ b/assets/List.stories-Dx-mFeSf.js @@ -1 +1 @@ -import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{r as y}from"./index-mfbfsM12.js";import{S as g}from"./SingleSelectable-Bg8zzmoU.js";import{C as _}from"./Column-DVJ0Grcf.js";import{R as x}from"./Row-BXpfxHoR.js";import{P as I}from"./Phrase-t0rOiClQ.js";import{L}from"./ListItemMarker-BvZewDFw.js";import{a as h}from"./accessibleText-gmNPjmn1.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-CEE--Juu.js";import"./index-BDsvWohO.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-CZpuL6yQ.js";import"./index-BypDj3rK.js";import"./config-BZnShabN.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./index-C3bJM-gU.js";const m=({text:e,marker:r,testID:t})=>a.jsxs(x,{children:[a.jsx(L,{marker:r,testID:`${t}Marker`}),a.jsx(I,{testID:t,children:e})]});try{m.displayName="ListItem",m.__docgenInfo={description:"",displayName:"ListItem",props:{text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}},marker:{defaultValue:null,description:"",name:"marker",required:!0,type:{name:"enum",value:[{value:'"check-mark"'},{value:'"square"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const b=e=>{const r=[],t=[];for(const s of e)typeof s=="string"?(r.push(s),t.push(s)):(r.push(s.text),t.push(s.accessibilityLabel));return{textItems:r,accessibilityLabelItems:t}},o=({items:e,marker:r="square",testID:t,accessibilityLanguage:s})=>{const{textItems:c,accessibilityLabelItems:d}=y.useMemo(()=>b(e),[e]);return a.jsx(g,{accessibilityLabel:h(...d),accessibilityLanguage:s,testID:t,children:a.jsx(_,{gutter:"md",children:c.map((p,f)=>a.jsx(m,{marker:r,testID:`${t}${f}Item`,text:p},p))})})};try{o.displayName="List",o.__docgenInfo={description:"",displayName:"List",props:{accessibilityLanguage:{defaultValue:null,description:"",name:"accessibilityLanguage",required:!1,type:{name:"string"}},items:{defaultValue:null,description:"",name:"items",required:!0,type:{name:"Item[]"}},marker:{defaultValue:{value:"square"},description:"",name:"marker",required:!1,type:{name:"enum",value:[{value:'"check-mark"'},{value:'"square"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const J={component:o},i=e=>a.jsx(o,{...e});i.args={items:["Centrum","Nieuw-West","Noord","Oost","West","Zuid","Zuidoost","Weesp"],marker:"square"};var n,u,l;i.parameters={...i.parameters,docs:{...(n=i.parameters)==null?void 0:n.docs,source:{originalSource:"args => ",...(l=(u=i.parameters)==null?void 0:u.docs)==null?void 0:l.source}}};const K=["Default"];export{i as Default,K as __namedExportsOrder,J as default}; +import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{r as y}from"./index-mfbfsM12.js";import{S as g}from"./SingleSelectable-Bg8zzmoU.js";import{C as _}from"./Column-BO_nzweR.js";import{R as x}from"./Row-BY9zY_5g.js";import{P as I}from"./Phrase-CsqFctWr.js";import{L}from"./ListItemMarker-BOjN2r3Y.js";import{a as h}from"./accessibleText-gmNPjmn1.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-CEE--Juu.js";import"./index-BDsvWohO.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-BypDj3rK.js";import"./config-BZnShabN.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./index-C3bJM-gU.js";const m=({text:e,marker:r,testID:t})=>a.jsxs(x,{children:[a.jsx(L,{marker:r,testID:`${t}Marker`}),a.jsx(I,{testID:t,children:e})]});try{m.displayName="ListItem",m.__docgenInfo={description:"",displayName:"ListItem",props:{text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}},marker:{defaultValue:null,description:"",name:"marker",required:!0,type:{name:"enum",value:[{value:'"check-mark"'},{value:'"square"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const b=e=>{const r=[],t=[];for(const s of e)typeof s=="string"?(r.push(s),t.push(s)):(r.push(s.text),t.push(s.accessibilityLabel));return{textItems:r,accessibilityLabelItems:t}},o=({items:e,marker:r="square",testID:t,accessibilityLanguage:s})=>{const{textItems:c,accessibilityLabelItems:d}=y.useMemo(()=>b(e),[e]);return a.jsx(g,{accessibilityLabel:h(...d),accessibilityLanguage:s,testID:t,children:a.jsx(_,{gutter:"md",children:c.map((p,f)=>a.jsx(m,{marker:r,testID:`${t}${f}Item`,text:p},p))})})};try{o.displayName="List",o.__docgenInfo={description:"",displayName:"List",props:{accessibilityLanguage:{defaultValue:null,description:"",name:"accessibilityLanguage",required:!1,type:{name:"string"}},items:{defaultValue:null,description:"",name:"items",required:!0,type:{name:"Item[]"}},marker:{defaultValue:{value:"square"},description:"",name:"marker",required:!1,type:{name:"enum",value:[{value:'"check-mark"'},{value:'"square"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const J={component:o},i=e=>a.jsx(o,{...e});i.args={items:["Centrum","Nieuw-West","Noord","Oost","West","Zuid","Zuidoost","Weesp"],marker:"square"};var n,u,l;i.parameters={...i.parameters,docs:{...(n=i.parameters)==null?void 0:n.docs,source:{originalSource:"args => ",...(l=(u=i.parameters)==null?void 0:u.docs)==null?void 0:l.source}}};const K=["Default"];export{i as Default,K as __namedExportsOrder,J as default}; diff --git a/assets/ListItemMarker-BvZewDFw.js b/assets/ListItemMarker-BOjN2r3Y.js similarity index 94% rename from assets/ListItemMarker-BvZewDFw.js rename to assets/ListItemMarker-BOjN2r3Y.js index 05938174..e2582f45 100644 --- a/assets/ListItemMarker-BvZewDFw.js +++ b/assets/ListItemMarker-BOjN2r3Y.js @@ -1 +1 @@ -import{j as t}from"./jsx-runtime-Bxcv0yjW.js";import{r as m}from"./index-mfbfsM12.js";import{c as n}from"./config-BZnShabN.js";import{P as c}from"./Phrase-t0rOiClQ.js";import{u}from"./useDeviceContext-DGl4H2w7.js";import{V as d}from"./index-BDsvWohO.js";import{s as p}from"./index-CEE--Juu.js";var s=(e=>(e["check-mark"]="√",e.square="•",e))(s||{});const a=({additionalStyles:e,marker:i,testID:o})=>{const{fontScale:r}=u(),l=m.useMemo(()=>f(r),[r]);return t.jsx(d,{style:[l.marker,e],children:t.jsx(c,{accessible:!1,importantForAccessibility:"no",testID:o,children:s[i]})})},f=e=>p.create({marker:{width:n.listItemMarkerBoxWidth*e,alignItems:"center",alignSelf:"flex-start"}});try{a.displayName="ListItemMarker",a.__docgenInfo={description:"",displayName:"ListItemMarker",props:{additionalStyles:{defaultValue:null,description:"",name:"additionalStyles",required:!1,type:{name:"ViewStyle"}},marker:{defaultValue:null,description:"",name:"marker",required:!0,type:{name:"enum",value:[{value:'"check-mark"'},{value:'"square"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{a as L}; +import{j as t}from"./jsx-runtime-Bxcv0yjW.js";import{r as m}from"./index-mfbfsM12.js";import{c as n}from"./config-BZnShabN.js";import{P as c}from"./Phrase-CsqFctWr.js";import{u}from"./useDeviceContext-DGl4H2w7.js";import{V as d}from"./index-BDsvWohO.js";import{s as p}from"./index-CEE--Juu.js";var s=(e=>(e["check-mark"]="√",e.square="•",e))(s||{});const a=({additionalStyles:e,marker:i,testID:o})=>{const{fontScale:r}=u(),l=m.useMemo(()=>f(r),[r]);return t.jsx(d,{style:[l.marker,e],children:t.jsx(c,{accessible:!1,importantForAccessibility:"no",testID:o,children:s[i]})})},f=e=>p.create({marker:{width:n.listItemMarkerBoxWidth*e,alignItems:"center",alignSelf:"flex-start"}});try{a.displayName="ListItemMarker",a.__docgenInfo={description:"",displayName:"ListItemMarker",props:{additionalStyles:{defaultValue:null,description:"",name:"additionalStyles",required:!1,type:{name:"ViewStyle"}},marker:{defaultValue:null,description:"",name:"marker",required:!0,type:{name:"enum",value:[{value:'"check-mark"'},{value:'"square"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{a as L}; diff --git a/assets/NavigationButton.stories-wRzBaKht.js b/assets/NavigationButton.stories-C0fEIiPA.js similarity index 89% rename from assets/NavigationButton.stories-wRzBaKht.js rename to assets/NavigationButton.stories-C0fEIiPA.js index 22fafa61..cae99280 100644 --- a/assets/NavigationButton.stories-wRzBaKht.js +++ b/assets/NavigationButton.stories-C0fEIiPA.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{P as y}from"./Pressable-HfRmqOUq.js";import{B as x}from"./Box-uk0d72u3.js";import{R as _}from"./Row-BXpfxHoR.js";import{I as l}from"./Icon-DcC-yiY8.js";import{T as k}from"./Title-9ScEYPym.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./base-color-CZpuL6yQ.js";import"./layoutStyles-DflBxpuh.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./useTheme-CJIBCVMY.js";const i=({direction:t="forward",iconSize:n="lg",label:g,onPress:v,testID:o,accessibilityRole:f="link",accessibilityLanguage:b="nl-NL"})=>e.jsx(y,{accessibilityLanguage:b,accessibilityRole:f,onPress:v,testID:o,children:e.jsx(x,{insetHorizontal:"md",insetVertical:"sm",children:e.jsxs(_,{align:"between",gutter:"md",valign:"center",children:[t==="backward"&&e.jsx(l,{color:"link",name:"chevron-left",size:n,testID:`${o}Icon`}),e.jsx(k,{color:"link",level:"h5",text:g}),t==="forward"&&e.jsx(l,{color:"link",name:"chevron-right",size:n,testID:`${o}Icon`})]})})});try{i.displayName="NavigationButton",i.__docgenInfo={description:"",displayName:"NavigationButton",props:{accessibilityLanguage:{defaultValue:{value:"nl-NL"},description:"",name:"accessibilityLanguage",required:!1,type:{name:"string"}},accessibilityRole:{defaultValue:{value:"link"},description:"",name:"accessibilityRole",required:!1,type:{name:"enum",value:[{value:'"button"'},{value:'"link"'}]}},direction:{defaultValue:{value:"forward"},description:"",name:"direction",required:!1,type:{name:"enum",value:[{value:'"backward"'},{value:'"forward"'}]}},iconSize:{defaultValue:{value:"lg"},description:"",name:"iconSize",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'},{value:'"ml"'}]}},label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},onPress:{defaultValue:null,description:"",name:"onPress",required:!0,type:{name:"() => void"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const oe={component:i,argTypes:{onPress:{action:"onPress"}}},r={args:{label:"Label"}},a={args:{direction:"backward",label:"Vorige"}};var s,m,p;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{P as y}from"./Pressable-CwlxP6l-.js";import{B as x}from"./Box-DJu0GgH-.js";import{R as _}from"./Row-BY9zY_5g.js";import{I as l}from"./Icon-CHbD1j2W.js";import{T as k}from"./Title-Dg8-Cp53.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./base-color-B2rPH-Aj.js";import"./layoutStyles-DflBxpuh.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./useTheme-BWbL_sDV.js";const i=({direction:t="forward",iconSize:n="lg",label:g,onPress:v,testID:o,accessibilityRole:f="link",accessibilityLanguage:b="nl-NL"})=>e.jsx(y,{accessibilityLanguage:b,accessibilityRole:f,onPress:v,testID:o,children:e.jsx(x,{insetHorizontal:"md",insetVertical:"sm",children:e.jsxs(_,{align:"between",gutter:"md",valign:"center",children:[t==="backward"&&e.jsx(l,{color:"link",name:"chevron-left",size:n,testID:`${o}Icon`}),e.jsx(k,{color:"link",level:"h5",text:g}),t==="forward"&&e.jsx(l,{color:"link",name:"chevron-right",size:n,testID:`${o}Icon`})]})})});try{i.displayName="NavigationButton",i.__docgenInfo={description:"",displayName:"NavigationButton",props:{accessibilityLanguage:{defaultValue:{value:"nl-NL"},description:"",name:"accessibilityLanguage",required:!1,type:{name:"string"}},accessibilityRole:{defaultValue:{value:"link"},description:"",name:"accessibilityRole",required:!1,type:{name:"enum",value:[{value:'"button"'},{value:'"link"'}]}},direction:{defaultValue:{value:"forward"},description:"",name:"direction",required:!1,type:{name:"enum",value:[{value:'"backward"'},{value:'"forward"'}]}},iconSize:{defaultValue:{value:"lg"},description:"",name:"iconSize",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'},{value:'"ml"'}]}},label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},onPress:{defaultValue:null,description:"",name:"onPress",required:!0,type:{name:"() => void"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const oe={component:i,argTypes:{onPress:{action:"onPress"}}},r={args:{label:"Label"}},a={args:{direction:"backward",label:"Vorige"}};var s,m,p;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:`{ args: { label: 'Label' } diff --git a/assets/Paragraph-DkRs_aGj.js b/assets/Paragraph-CJTJBOQl.js similarity index 77% rename from assets/Paragraph-DkRs_aGj.js rename to assets/Paragraph-CJTJBOQl.js index 3546404b..20ed6f96 100644 --- a/assets/Paragraph-DkRs_aGj.js +++ b/assets/Paragraph-CJTJBOQl.js @@ -1 +1 @@ -import{j as s}from"./jsx-runtime-Bxcv0yjW.js";import{r as u}from"./index-mfbfsM12.js";import{u as p}from"./useThemable-CjWxbHxI.js";import{T as c}from"./index-BypDj3rK.js";import{s as m}from"./index-CEE--Juu.js";const o=({children:l,color:a="default",textAlign:e="left",variant:r="body",...t})=>{const i=u.useMemo(()=>d({color:a,textAlign:e,variant:r}),[a,e,r]),n=p(i);return s.jsx(c,{accessibilityLanguage:"nl-NL",accessibilityRole:a==="warning"?"alert":"none",style:n.text,...t,children:l})},d=({color:l,textAlign:a,variant:e})=>({color:r,text:t})=>m.create({text:{flexShrink:1,color:r.text[l],fontFamily:t.fontFamily[e==="quote"?"bold":"regular"],fontSize:t.fontSize[e],lineHeight:t.lineHeight[e],textAlign:a}});try{o.displayName="Paragraph",o.__docgenInfo={description:"",displayName:"Paragraph",props:{color:{defaultValue:{value:"default"},description:"Provides an inverse text color to allow a paragraph on a dark background.",name:"color",required:!1,type:{name:"enum",value:[{value:'"secondary"'},{value:'"tertiary"'},{value:'"link"'},{value:'"default"'},{value:'"inverse"'},{value:'"cityPass"'},{value:'"confirm"'},{value:'"warning"'}]}},textAlign:{defaultValue:{value:"left"},description:"Defines the alignment of the text. Maps with the textAlign style prop options.",name:"textAlign",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"center"'},{value:'"left"'},{value:'"right"'},{value:'"justify"'}]}},variant:{defaultValue:{value:"body"},description:"Which variation of a paragraph to display.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"body"'},{value:'"intro"'},{value:'"quote"'},{value:'"extraSmall"'}]}}}}}catch{}export{o as P}; +import{j as s}from"./jsx-runtime-Bxcv0yjW.js";import{r as u}from"./index-mfbfsM12.js";import{u as p}from"./useThemable-BlSbywuP.js";import{T as c}from"./index-BypDj3rK.js";import{s as m}from"./index-CEE--Juu.js";const o=({children:l,color:a="default",textAlign:e="left",variant:r="body",...t})=>{const i=u.useMemo(()=>d({color:a,textAlign:e,variant:r}),[a,e,r]),n=p(i);return s.jsx(c,{accessibilityLanguage:"nl-NL",accessibilityRole:a==="warning"?"alert":"none",style:n.text,...t,children:l})},d=({color:l,textAlign:a,variant:e})=>({color:r,text:t})=>m.create({text:{flexShrink:1,color:r.text[l],fontFamily:t.fontFamily[e==="quote"?"bold":"regular"],fontSize:t.fontSize[e],lineHeight:t.lineHeight[e],textAlign:a}});try{o.displayName="Paragraph",o.__docgenInfo={description:"",displayName:"Paragraph",props:{color:{defaultValue:{value:"default"},description:"Provides an inverse text color to allow a paragraph on a dark background.",name:"color",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"link"'},{value:'"cityPass"'},{value:'"confirm"'},{value:'"inverse"'},{value:'"warning"'}]}},textAlign:{defaultValue:{value:"left"},description:"Defines the alignment of the text. Maps with the textAlign style prop options.",name:"textAlign",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"auto"'},{value:'"left"'},{value:'"right"'},{value:'"justify"'}]}},variant:{defaultValue:{value:"body"},description:"Which variation of a paragraph to display.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"body"'},{value:'"intro"'},{value:'"quote"'},{value:'"extraSmall"'}]}}}}}catch{}export{o as P}; diff --git a/assets/Paragraph.stories-CqC3Nd_V.js b/assets/Paragraph.stories-BHcfLnOH.js similarity index 78% rename from assets/Paragraph.stories-CqC3Nd_V.js rename to assets/Paragraph.stories-BHcfLnOH.js index 6673bad2..6cacfea4 100644 --- a/assets/Paragraph.stories-CqC3Nd_V.js +++ b/assets/Paragraph.stories-BHcfLnOH.js @@ -1,3 +1,3 @@ -import{j as p}from"./jsx-runtime-Bxcv0yjW.js";import{P as t}from"./Paragraph-DkRs_aGj.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./index-CEE--Juu.js";import"./base-color-CZpuL6yQ.js";import"./index-BypDj3rK.js";import"./TextAncestorContext-Cvz4PlE2.js";const j={component:t},r=s=>p.jsx(t,{...s,children:"Jouw typograaf biedt mij zulke exquise schreven!"});r.args={color:"default",variant:"body"};var a,o,e;r.parameters={...r.parameters,docs:{...(a=r.parameters)==null?void 0:a.docs,source:{originalSource:`args => +import{j as p}from"./jsx-runtime-Bxcv0yjW.js";import{P as t}from"./Paragraph-CJTJBOQl.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./index-CEE--Juu.js";import"./base-color-B2rPH-Aj.js";import"./index-BypDj3rK.js";import"./TextAncestorContext-Cvz4PlE2.js";const j={component:t},r=s=>p.jsx(t,{...s,children:"Jouw typograaf biedt mij zulke exquise schreven!"});r.args={color:"default",variant:"body"};var a,o,e;r.parameters={...r.parameters,docs:{...(a=r.parameters)==null?void 0:a.docs,source:{originalSource:`args => Jouw typograaf biedt mij zulke exquise schreven! `,...(e=(o=r.parameters)==null?void 0:o.docs)==null?void 0:e.source}}};const P=["Default"];export{r as Default,P as __namedExportsOrder,j as default}; diff --git a/assets/PhoneButton-H9GVa_s-.js b/assets/PhoneButton-BrvuoikO.js similarity index 98% rename from assets/PhoneButton-H9GVa_s-.js rename to assets/PhoneButton-BrvuoikO.js index c1b77b0f..28352d17 100644 --- a/assets/PhoneButton-H9GVa_s-.js +++ b/assets/PhoneButton-BrvuoikO.js @@ -1 +1 @@ -import{j as l}from"./jsx-runtime-Bxcv0yjW.js";import{B as r}from"./Button-DAm4UwbF.js";import{R as u}from"./Row-BXpfxHoR.js";import{u as o}from"./useOpenPhoneUrl-BpjRyIpq.js";import{a as d}from"./accessibleText-gmNPjmn1.js";const c=["010","013","014","015","020","023","024","026","030","033","035","036","038","040","043","044","045","046","050","053","055","058","070","071","072","073","074","075","076","077","078","079"],t=e=>{var a;if(e.startsWith("+31")&&(e=e.replace("+31","0")),e==="14020")return"14 020";if(e==="0202515020")return"020 25 15 020";if(e.length===10)return e.startsWith("06")?[e.substring(0,2),e.substring(2,6),e.substring(6,10)].join(" "):c.includes(e.substring(0,3))?[e.substring(0,3),e.substring(3,6),e.substring(6,10)].join(" "):[e.substring(0,4),e.substring(4,7),e.substring(7,10)].join(" ");if(e.startsWith("0800")||e.startsWith("0900")){if(e.length===8)return(a=e.match(/.{4}/g))==null?void 0:a.join(" ");if(e.length===11)return[e.substring(0,4),e.substring(4,7),e.substring(7,11)].join(" ")}return e},i=({accessibilityLabel:e,phoneNumber:a,...n})=>{const s=o();return l.jsx(u,{children:l.jsx(r,{accessibilityLanguage:"nl-NL",...n,accessibilityLabel:e||d("Bel",...(t(a)??"").split(" ")),iconName:"phone",label:t(a),onPress:()=>{s(a)}})})};try{i.displayName="PhoneButton",i.__docgenInfo={description:"",displayName:"PhoneButton",props:{phoneNumber:{defaultValue:null,description:"",name:"phoneNumber",required:!0,type:{name:"string"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},ellipsizeMode:{defaultValue:null,description:"",name:"ellipsizeMode",required:!1,type:{name:"enum",value:[{value:'"head"'},{value:'"tail"'},{value:'"middle"'},{value:'"clip"'}]}},isLoading:{defaultValue:null,description:"",name:"isLoading",required:!1,type:{name:"boolean"}},numberOfLines:{defaultValue:null,description:"",name:"numberOfLines",required:!1,type:{name:"number"}},small:{defaultValue:null,description:"",name:"small",required:!1,type:{name:"boolean"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}}}}}catch{}export{i as P}; +import{j as l}from"./jsx-runtime-Bxcv0yjW.js";import{B as r}from"./Button-CM8byzny.js";import{R as u}from"./Row-BY9zY_5g.js";import{u as o}from"./useOpenPhoneUrl-BpjRyIpq.js";import{a as d}from"./accessibleText-gmNPjmn1.js";const c=["010","013","014","015","020","023","024","026","030","033","035","036","038","040","043","044","045","046","050","053","055","058","070","071","072","073","074","075","076","077","078","079"],t=e=>{var a;if(e.startsWith("+31")&&(e=e.replace("+31","0")),e==="14020")return"14 020";if(e==="0202515020")return"020 25 15 020";if(e.length===10)return e.startsWith("06")?[e.substring(0,2),e.substring(2,6),e.substring(6,10)].join(" "):c.includes(e.substring(0,3))?[e.substring(0,3),e.substring(3,6),e.substring(6,10)].join(" "):[e.substring(0,4),e.substring(4,7),e.substring(7,10)].join(" ");if(e.startsWith("0800")||e.startsWith("0900")){if(e.length===8)return(a=e.match(/.{4}/g))==null?void 0:a.join(" ");if(e.length===11)return[e.substring(0,4),e.substring(4,7),e.substring(7,11)].join(" ")}return e},i=({accessibilityLabel:e,phoneNumber:a,...n})=>{const s=o();return l.jsx(u,{children:l.jsx(r,{accessibilityLanguage:"nl-NL",...n,accessibilityLabel:e||d("Bel",...(t(a)??"").split(" ")),iconName:"phone",label:t(a),onPress:()=>{s(a)}})})};try{i.displayName="PhoneButton",i.__docgenInfo={description:"",displayName:"PhoneButton",props:{phoneNumber:{defaultValue:null,description:"",name:"phoneNumber",required:!0,type:{name:"string"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},ellipsizeMode:{defaultValue:null,description:"",name:"ellipsizeMode",required:!1,type:{name:"enum",value:[{value:'"head"'},{value:'"tail"'},{value:'"middle"'},{value:'"clip"'}]}},isLoading:{defaultValue:null,description:"",name:"isLoading",required:!1,type:{name:"boolean"}},numberOfLines:{defaultValue:null,description:"",name:"numberOfLines",required:!1,type:{name:"number"}},small:{defaultValue:null,description:"",name:"small",required:!1,type:{name:"boolean"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}}}}}catch{}export{i as P}; diff --git a/assets/PhoneButton.stories-gTtf5rgQ.js b/assets/PhoneButton.stories-DXZEkan1.js similarity index 76% rename from assets/PhoneButton.stories-gTtf5rgQ.js rename to assets/PhoneButton.stories-DXZEkan1.js index 7c08bf23..1becdbeb 100644 --- a/assets/PhoneButton.stories-gTtf5rgQ.js +++ b/assets/PhoneButton.stories-DXZEkan1.js @@ -1,4 +1,4 @@ -import{P as m}from"./PhoneButton-H9GVa_s-.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Button-DAm4UwbF.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./config-BZnShabN.js";import"./Row-BXpfxHoR.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./base-color-CZpuL6yQ.js";import"./Icon-DcC-yiY8.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./useTheme-CJIBCVMY.js";import"./useOpenPhoneUrl-BpjRyIpq.js";import"./index-XPwQYiUg.js";import"./accessibleText-gmNPjmn1.js";const L={component:m,argTypes:{onPress:{action:"onPress"}}},o={args:{phoneNumber:"0610000000"}};var r,t,p;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`{ +import{P as m}from"./PhoneButton-BrvuoikO.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Button-CM8byzny.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./config-BZnShabN.js";import"./Row-BY9zY_5g.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./base-color-B2rPH-Aj.js";import"./Icon-CHbD1j2W.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./useTheme-BWbL_sDV.js";import"./useOpenPhoneUrl-BpjRyIpq.js";import"./index-XPwQYiUg.js";import"./accessibleText-gmNPjmn1.js";const L={component:m,argTypes:{onPress:{action:"onPress"}}},o={args:{phoneNumber:"0610000000"}};var r,t,p;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`{ args: { phoneNumber: '0610000000' } diff --git a/assets/PhoneHQButton.stories-CCWkKybX.js b/assets/PhoneHQButton.stories-0DK24w01.js similarity index 81% rename from assets/PhoneHQButton.stories-CCWkKybX.js rename to assets/PhoneHQButton.stories-0DK24w01.js index e196aac0..05a82d7a 100644 --- a/assets/PhoneHQButton.stories-CCWkKybX.js +++ b/assets/PhoneHQButton.stories-0DK24w01.js @@ -1 +1 @@ -import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{P as n}from"./PhoneButton-H9GVa_s-.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Button-DAm4UwbF.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./config-BZnShabN.js";import"./Row-BXpfxHoR.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./base-color-CZpuL6yQ.js";import"./Icon-DcC-yiY8.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./useTheme-CJIBCVMY.js";import"./useOpenPhoneUrl-BpjRyIpq.js";import"./index-XPwQYiUg.js";import"./accessibleText-gmNPjmn1.js";const r=({testID:o,variant:m="primary"})=>a.jsx(n,{accessibilityLabel:"Bel veertien nul twintig",phoneNumber:"14020",testID:o,variant:m});try{r.displayName="PhoneHQButton",r.__docgenInfo={description:"",displayName:"PhoneHQButton",props:{variant:{defaultValue:{value:"primary"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const M={component:r,argTypes:{onPress:{action:"onPress"}}},t={};var e,i,p;t.parameters={...t.parameters,docs:{...(e=t.parameters)==null?void 0:e.docs,source:{originalSource:"{}",...(p=(i=t.parameters)==null?void 0:i.docs)==null?void 0:p.source}}};const U=["Default"];export{t as Default,U as __namedExportsOrder,M as default}; +import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{P as n}from"./PhoneButton-BrvuoikO.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Button-CM8byzny.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./config-BZnShabN.js";import"./Row-BY9zY_5g.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./base-color-B2rPH-Aj.js";import"./Icon-CHbD1j2W.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./useTheme-BWbL_sDV.js";import"./useOpenPhoneUrl-BpjRyIpq.js";import"./index-XPwQYiUg.js";import"./accessibleText-gmNPjmn1.js";const r=({testID:o,variant:m="primary"})=>a.jsx(n,{accessibilityLabel:"Bel veertien nul twintig",phoneNumber:"14020",testID:o,variant:m});try{r.displayName="PhoneHQButton",r.__docgenInfo={description:"",displayName:"PhoneHQButton",props:{variant:{defaultValue:{value:"primary"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const M={component:r,argTypes:{onPress:{action:"onPress"}}},t={};var e,i,p;t.parameters={...t.parameters,docs:{...(e=t.parameters)==null?void 0:e.docs,source:{originalSource:"{}",...(p=(i=t.parameters)==null?void 0:i.docs)==null?void 0:p.source}}};const U=["Default"];export{t as Default,U as __namedExportsOrder,M as default}; diff --git a/assets/Phrase-t0rOiClQ.js b/assets/Phrase-CsqFctWr.js similarity index 85% rename from assets/Phrase-t0rOiClQ.js rename to assets/Phrase-CsqFctWr.js index 85c68493..d6b953cf 100644 --- a/assets/Phrase-t0rOiClQ.js +++ b/assets/Phrase-CsqFctWr.js @@ -1 +1 @@ -import{j as h}from"./jsx-runtime-Bxcv0yjW.js";import{r as m}from"./index-mfbfsM12.js";import{u as c,E as v}from"./useThemable-CjWxbHxI.js";import{T as g}from"./index-BypDj3rK.js";import{s as y}from"./index-CEE--Juu.js";const u=({children:t,color:l="default",emphasis:r="default",flexShrink:s=1,underline:e=!1,variant:n="body",testID:i,"logging-label":a,textAlign:o="left",...p})=>{const d=m.useMemo(()=>x({color:l,emphasis:r,flexShrink:s,underline:e,variant:n,textAlign:o}),[l,r,s,e,n,o]),f=c(d);return h.jsx(g,{accessibilityLanguage:"nl-NL","logging-label":a,style:f.text,testID:i,...p,children:t})},x=({color:t,emphasis:l,flexShrink:r,underline:s,variant:e,textAlign:n})=>({color:i,text:a})=>y.create({text:{flexShrink:r,color:i.text[t],fontFamily:a.fontFamily[l===v.strong?"bold":"regular"],fontSize:a.fontSize[e],lineHeight:a.lineHeight[e],textDecorationLine:s?"underline":"none",textAlign:n}});try{u.displayName="Phrase",u.__docgenInfo={description:"Displays (very) short text phrases.\nOffers the three sizing variants, and bold text.\nFor sentences, use `Paragraph` instead.",displayName:"Phrase",props:{color:{defaultValue:{value:"default"},description:"Defines the color of the phrase. Maps with the text color tokens.",name:"color",required:!1,type:{name:"enum",value:[{value:'"secondary"'},{value:'"tertiary"'},{value:'"link"'},{value:'"default"'},{value:'"inverse"'},{value:'"cityPass"'},{value:'"confirm"'},{value:'"warning"'}]}},emphasis:{defaultValue:{value:"default"},description:"Allows the phrase to convey more emphasis.",name:"emphasis",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"strong"'}]}},flexShrink:{defaultValue:{value:"1"},description:"Defines how to shrink the phrase in case the parent container is smaller than the phrase.",name:"flexShrink",required:!1,type:{name:"number"}},"logging-label":{defaultValue:null,description:"Label used for logging to Piwik and AppInsights.",name:"logging-label",required:!1,type:{name:"string"}},textAlign:{defaultValue:{value:"left"},description:"Defines the alignment of the text. Maps with the textAlign style prop options.",name:"textAlign",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"center"'},{value:'"left"'},{value:'"right"'},{value:'"justify"'}]}},underline:{defaultValue:{value:"false"},description:"Whether the phrase is underlined. Use this for a link only.",name:"underline",required:!1,type:{name:"boolean"}},variant:{defaultValue:{value:"body"},description:"Which variation of a phrase to display.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"body"'},{value:'"intro"'},{value:'"quote"'},{value:'"extraSmall"'}]}}}}}catch{}export{u as P}; +import{j as h}from"./jsx-runtime-Bxcv0yjW.js";import{r as m}from"./index-mfbfsM12.js";import{u as c,E as v}from"./useThemable-BlSbywuP.js";import{T as g}from"./index-BypDj3rK.js";import{s as y}from"./index-CEE--Juu.js";const u=({children:t,color:l="default",emphasis:r="default",flexShrink:s=1,underline:e=!1,variant:n="body",testID:i,"logging-label":a,textAlign:o="left",...p})=>{const d=m.useMemo(()=>x({color:l,emphasis:r,flexShrink:s,underline:e,variant:n,textAlign:o}),[l,r,s,e,n,o]),f=c(d);return h.jsx(g,{accessibilityLanguage:"nl-NL","logging-label":a,style:f.text,testID:i,...p,children:t})},x=({color:t,emphasis:l,flexShrink:r,underline:s,variant:e,textAlign:n})=>({color:i,text:a})=>y.create({text:{flexShrink:r,color:i.text[t],fontFamily:a.fontFamily[l===v.strong?"bold":"regular"],fontSize:a.fontSize[e],lineHeight:a.lineHeight[e],textDecorationLine:s?"underline":"none",textAlign:n}});try{u.displayName="Phrase",u.__docgenInfo={description:"Displays (very) short text phrases.\nOffers the three sizing variants, and bold text.\nFor sentences, use `Paragraph` instead.",displayName:"Phrase",props:{color:{defaultValue:{value:"default"},description:"Defines the color of the phrase. Maps with the text color tokens.",name:"color",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"link"'},{value:'"cityPass"'},{value:'"confirm"'},{value:'"inverse"'},{value:'"warning"'}]}},emphasis:{defaultValue:{value:"default"},description:"Allows the phrase to convey more emphasis.",name:"emphasis",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"strong"'}]}},flexShrink:{defaultValue:{value:"1"},description:"Defines how to shrink the phrase in case the parent container is smaller than the phrase.",name:"flexShrink",required:!1,type:{name:"number"}},"logging-label":{defaultValue:null,description:"Label used for logging to Piwik and AppInsights.",name:"logging-label",required:!1,type:{name:"string"}},textAlign:{defaultValue:{value:"left"},description:"Defines the alignment of the text. Maps with the textAlign style prop options.",name:"textAlign",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"auto"'},{value:'"left"'},{value:'"right"'},{value:'"justify"'}]}},underline:{defaultValue:{value:"false"},description:"Whether the phrase is underlined. Use this for a link only.",name:"underline",required:!1,type:{name:"boolean"}},variant:{defaultValue:{value:"body"},description:"Which variation of a phrase to display.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"body"'},{value:'"intro"'},{value:'"quote"'},{value:'"extraSmall"'}]}}}}}catch{}export{u as P}; diff --git a/assets/Phrase.stories-1WGaWSS3.js b/assets/Phrase.stories-D7JSOcTr.js similarity index 86% rename from assets/Phrase.stories-1WGaWSS3.js rename to assets/Phrase.stories-D7JSOcTr.js index c9dfb490..87eea1c3 100644 --- a/assets/Phrase.stories-1WGaWSS3.js +++ b/assets/Phrase.stories-D7JSOcTr.js @@ -1,4 +1,4 @@ -import{j as s}from"./jsx-runtime-Bxcv0yjW.js";import{P as a}from"./Phrase-t0rOiClQ.js";import{V as c}from"./index-BDsvWohO.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./index-CEE--Juu.js";import"./base-color-CZpuL6yQ.js";import"./index-BypDj3rK.js";import"./TextAncestorContext-Cvz4PlE2.js";const V={component:a},r={args:{children:"Phrase content",color:"default",emphasis:"default",variant:"body"}},e=()=>s.jsxs(c,{children:[s.jsx(a,{emphasis:"strong",testID:"Phrase",variant:"small",children:"14"}),s.jsx(a,{testID:"Phrase",variant:"small",children:"volgers"})]});var t,o,n;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`{ +import{j as s}from"./jsx-runtime-Bxcv0yjW.js";import{P as a}from"./Phrase-CsqFctWr.js";import{V as c}from"./index-BDsvWohO.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./index-CEE--Juu.js";import"./base-color-B2rPH-Aj.js";import"./index-BypDj3rK.js";import"./TextAncestorContext-Cvz4PlE2.js";const V={component:a},r={args:{children:"Phrase content",color:"default",emphasis:"default",variant:"body"}},e=()=>s.jsxs(c,{children:[s.jsx(a,{emphasis:"strong",testID:"Phrase",variant:"small",children:"14"}),s.jsx(a,{testID:"Phrase",variant:"small",children:"volgers"})]});var t,o,n;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`{ args: { children: 'Phrase content', color: 'default', diff --git a/assets/PleaseWait-C5ES8__x.js b/assets/PleaseWait-wKZoStJU.js similarity index 78% rename from assets/PleaseWait-C5ES8__x.js rename to assets/PleaseWait-wKZoStJU.js index 68304f42..9a82293c 100644 --- a/assets/PleaseWait-C5ES8__x.js +++ b/assets/PleaseWait-wKZoStJU.js @@ -1 +1 @@ -import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{B as o}from"./Box-uk0d72u3.js";import{C as s}from"./Center-CqG4tBOn.js";import{I as i}from"./Icon-DcC-yiY8.js";const t=({grow:r,testID:a})=>e.jsx(s,{grow:r,children:e.jsx(o,{children:e.jsx(i,{color:"link",name:"spinner",size:"lg",testID:a})})});try{t.displayName="PleaseWait",t.__docgenInfo={description:"",displayName:"PleaseWait",props:{grow:{defaultValue:null,description:"",name:"grow",required:!1,type:{name:"boolean"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{t as P}; +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{B as o}from"./Box-DJu0GgH-.js";import{C as s}from"./Center-CqG4tBOn.js";import{I as i}from"./Icon-CHbD1j2W.js";const t=({grow:r,testID:a})=>e.jsx(s,{grow:r,children:e.jsx(o,{children:e.jsx(i,{color:"link",name:"spinner",size:"lg",testID:a})})});try{t.displayName="PleaseWait",t.__docgenInfo={description:"",displayName:"PleaseWait",props:{grow:{defaultValue:null,description:"",name:"grow",required:!1,type:{name:"boolean"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{t as P}; diff --git a/assets/PleaseWait.stories-BCRCPM4o.js b/assets/PleaseWait.stories-URXL6sc8.js similarity index 65% rename from assets/PleaseWait.stories-BCRCPM4o.js rename to assets/PleaseWait.stories-URXL6sc8.js index 6c88ccdb..9de234af 100644 --- a/assets/PleaseWait.stories-BCRCPM4o.js +++ b/assets/PleaseWait.stories-URXL6sc8.js @@ -1,4 +1,4 @@ -import{j as p}from"./jsx-runtime-Bxcv0yjW.js";import{P as e}from"./PleaseWait-C5ES8__x.js";import"./Block-SFKht2RU.js";import{C as s}from"./Canvas-CCRWbH08.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Box-uk0d72u3.js";import"./layoutStyles-DflBxpuh.js";import"./index-CEE--Juu.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-CZpuL6yQ.js";import"./index-BDsvWohO.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./Center-CqG4tBOn.js";import"./Icon-DcC-yiY8.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Row-BXpfxHoR.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Animated-C23eizOh.js";import"./index-DOpK3Ow6.js";import"./extends-CF3RwP-h.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-Bcpfmd17.js";import"./index-C3bJM-gU.js";import"./useTheme-CJIBCVMY.js";const J={component:e,decorators:[m=>p.jsx(s,{height:"256px",highlight:!0,maxWidth:"512px",children:m()})]},r={args:{grow:!0}};var t,o,i;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`{ +import{j as p}from"./jsx-runtime-Bxcv0yjW.js";import{P as e}from"./PleaseWait-wKZoStJU.js";import"./Block-B9hfeL6e.js";import{C as s}from"./Canvas-CCRWbH08.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Box-DJu0GgH-.js";import"./layoutStyles-DflBxpuh.js";import"./index-CEE--Juu.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-BDsvWohO.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./Center-CqG4tBOn.js";import"./Icon-CHbD1j2W.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Row-BY9zY_5g.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Animated-C23eizOh.js";import"./index-DOpK3Ow6.js";import"./extends-CF3RwP-h.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-Bcpfmd17.js";import"./index-C3bJM-gU.js";import"./useTheme-BWbL_sDV.js";const J={component:e,decorators:[m=>p.jsx(s,{height:"256px",highlight:!0,maxWidth:"512px",children:m()})]},r={args:{grow:!0}};var t,o,i;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`{ args: { grow: true } diff --git a/assets/Pressable-HfRmqOUq.js b/assets/Pressable-CwlxP6l-.js similarity index 96% rename from assets/Pressable-HfRmqOUq.js rename to assets/Pressable-CwlxP6l-.js index 6332c261..fa924b6c 100644 --- a/assets/Pressable-HfRmqOUq.js +++ b/assets/Pressable-CwlxP6l-.js @@ -1,3 +1,3 @@ -import{j as t}from"./jsx-runtime-Bxcv0yjW.js";import{r as c}from"./index-mfbfsM12.js";import{P as m}from"./PressableBase-CPU35BDr.js";import{B as p}from"./Box-uk0d72u3.js";import{u as v}from"./useThemable-CjWxbHxI.js";import{s as g}from"./index-CEE--Juu.js";const n=c.forwardRef(({children:e,inset:a="no",insetHorizontal:r,insetVertical:u,variant:o="tertiary",...s},i)=>{const l=v(f(o));return t.jsx(m,{accessibilityLanguage:"nl-NL",accessibilityRole:"button",ref:i,style:({pressed:d})=>[l.button,d&&l.pressed],...s,children:t.jsx(p,{inset:a,insetHorizontal:r,insetVertical:u,children:e})})}),f=e=>({color:a})=>g.create({button:{backgroundColor:e!=="transparent"?a.pressable[e].default.background:void 0},pressed:{backgroundColor:e!=="transparent"?a.pressable[e].pressed.background:void 0}});try{n.displayName="Pressable",n.__docgenInfo={description:`Used to build other interactive components, do not use on its own. +import{j as t}from"./jsx-runtime-Bxcv0yjW.js";import{r as c}from"./index-mfbfsM12.js";import{P as m}from"./PressableBase-CPU35BDr.js";import{B as p}from"./Box-DJu0GgH-.js";import{u as v}from"./useThemable-BlSbywuP.js";import{s as g}from"./index-CEE--Juu.js";const n=c.forwardRef(({children:e,inset:a="no",insetHorizontal:r,insetVertical:u,variant:o="tertiary",...s},i)=>{const l=v(f(o));return t.jsx(m,{accessibilityLanguage:"nl-NL",accessibilityRole:"button",ref:i,style:({pressed:d})=>[l.button,d&&l.pressed],...s,children:t.jsx(p,{inset:a,insetHorizontal:r,insetVertical:u,children:e})})}),f=e=>({color:a})=>g.create({button:{backgroundColor:e!=="transparent"?a.pressable[e].default.background:void 0},pressed:{backgroundColor:e!=="transparent"?a.pressable[e].pressed.background:void 0}});try{n.displayName="Pressable",n.__docgenInfo={description:`Used to build other interactive components, do not use on its own. This is a replacement for the React Native Pressable component, with added Box properties.`,displayName:"Pressable",props:{children:{defaultValue:null,description:`Either children or a render prop that receives a boolean reflecting whether the component is currently pressed.`,name:"children",required:!1,type:{name:"((string | number | boolean | ReactElement> | Iterable | ReactPortal) & (string | ... 5 more ... | ((state: PressableStateCallbackType) => ReactNode))) | null"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},variant:{defaultValue:{value:"tertiary"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"tertiary"'},{value:'"transparent"'}]}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},inset:{defaultValue:{value:"no"},description:"The amount of inner spacing.",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetHorizontal:{defaultValue:null,description:"The amount of inner spacing at the left and right.",name:"insetHorizontal",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetVertical:{defaultValue:null,description:"The amount of inner spacing at the top and bottom.",name:"insetVertical",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}}}}}catch{}export{n as P}; diff --git a/assets/Pressable.stories-COIJugq4.js b/assets/Pressable.stories-UOwkqLEC.js similarity index 75% rename from assets/Pressable.stories-COIJugq4.js rename to assets/Pressable.stories-UOwkqLEC.js index 4c929c81..f22ad31d 100644 --- a/assets/Pressable.stories-COIJugq4.js +++ b/assets/Pressable.stories-UOwkqLEC.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{P as i}from"./Pressable-HfRmqOUq.js";import{P as m}from"./Paragraph-DkRs_aGj.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./Box-uk0d72u3.js";import"./layoutStyles-DflBxpuh.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./base-color-CZpuL6yQ.js";import"./index-BypDj3rK.js";const k={component:i,argTypes:{onPress:{action:"onPress"}}},r={args:{children:e.jsx(m,{children:"Press me"}),insetHorizontal:"lg"}};var o,t,s;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{P as i}from"./Pressable-CwlxP6l-.js";import{P as m}from"./Paragraph-CJTJBOQl.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./Box-DJu0GgH-.js";import"./layoutStyles-DflBxpuh.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./base-color-B2rPH-Aj.js";import"./index-BypDj3rK.js";const k={component:i,argTypes:{onPress:{action:"onPress"}}},r={args:{children:e.jsx(m,{children:"Press me"}),insetHorizontal:"lg"}};var o,t,s;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{ args: { children: Press me, insetHorizontal: 'lg' diff --git a/assets/RadioGroup.stories-Y-z69RC-.js b/assets/RadioGroup.stories-C8r710Fp.js similarity index 94% rename from assets/RadioGroup.stories-Y-z69RC-.js rename to assets/RadioGroup.stories-C8r710Fp.js index 76eee001..1d08307b 100644 --- a/assets/RadioGroup.stories-Y-z69RC-.js +++ b/assets/RadioGroup.stories-C8r710Fp.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{S as V,a as m}from"./index-DYSHDArR.js";import{P as w}from"./PressableBase-CPU35BDr.js";import{R}from"./Row-BXpfxHoR.js";import{P as q}from"./Phrase-t0rOiClQ.js";import{u as P}from"./useTheme-CJIBCVMY.js";import{C as _}from"./Column-DVJ0Grcf.js";import{u as x,P as k,a as N}from"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-Dk74W0Oi.js";import"./index-CEE--Juu.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-BDsvWohO.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-CZpuL6yQ.js";import"./index-BypDj3rK.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./development-DYCnWZjk.js";const A=({checked:t})=>{const{color:a}=P();return e.jsxs(V,{height:24,viewBox:"0 0 24 24",width:24,children:[e.jsx(m,{cx:12,cy:12,fill:a.control.default.background,r:11,stroke:a.control.checked.border,strokeWidth:2}),!!t&&e.jsx(m,{cx:12,cy:12,fill:a.control.checked.border,r:8})]})},s=({label:t,isSelected:a,onPress:o,testID:r,...n})=>e.jsx(w,{...n,accessibilityLanguage:"nl-NL",accessibilityRole:"radio",accessibilityState:{selected:a},onPress:o,testID:r,children:e.jsxs(R,{gutter:"sm",valign:"center",children:[e.jsx(A,{checked:a}),e.jsx(q,{testID:`${r}Phrase`,children:t})]})});try{s.displayName="Radio",s.__docgenInfo={description:"",displayName:"Radio",props:{isSelected:{defaultValue:null,description:"",name:"isSelected",required:!0,type:{name:"boolean"}},label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},onPress:{defaultValue:null,description:"Called when a single tap gesture is detected.",name:"onPress",required:!1,type:{name:"(() => void) & ((event: GestureResponderEvent) => void)"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}const u=({options:t=[],onChange:a,testID:o,value:r,logAction:n=N.radioChange,useOptionValuesForLogging:d=!1,logDimensions:h={},...y})=>{const b=x({...y,logAction:n,logDimensions:h,onEvent:a,testID:o});return e.jsx(_,{gutter:"md",children:t.map(({label:c,value:l},C)=>{const p=`${o}${d?l.toString():C}RadioButton`;return e.jsx(s,{isSelected:r===l,label:c,"logging-label":p,logName:p,onPress:()=>b(l,d?{dimensions:{[k.newState]:l.toString()}}:{}),testID:`${o}${l.toString()}RadioButton`},c)})})};try{u.displayName="RadioGroup",u.__docgenInfo={description:"",displayName:"RadioGroup",props:{onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(value: T) => void"}},options:{defaultValue:{value:"[]"},description:"",name:"options",required:!1,type:{name:"RadioGroupOption[]"}},useOptionValuesForLogging:{defaultValue:{value:"false"},description:"Log value to analytics service as new state when the selected value changes and as name on the button press event of the option.",name:"useOptionValuesForLogging",required:!1,type:{name:"boolean"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"RadioValue"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}},logAction:{defaultValue:{value:"PiwikAction.radioChange"},description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:{value:"{}"},description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}const ie={component:u},D=[{label:"Heldhaftig",value:"valiant"},{label:"Vastberaden",value:"steadfast"},{label:"Barmhartig",value:"compassionate"}],i={args:{options:D,value:"valiant"}};var v,g,f;i.parameters={...i.parameters,docs:{...(v=i.parameters)==null?void 0:v.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{S as V,a as m}from"./index-DYSHDArR.js";import{P as w}from"./PressableBase-CPU35BDr.js";import{R}from"./Row-BY9zY_5g.js";import{P as q}from"./Phrase-CsqFctWr.js";import{u as P}from"./useTheme-BWbL_sDV.js";import{C as _}from"./Column-BO_nzweR.js";import{u as x,P as k,a as N}from"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-Dk74W0Oi.js";import"./index-CEE--Juu.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-BDsvWohO.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-BypDj3rK.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./development-DYCnWZjk.js";const A=({checked:t})=>{const{color:a}=P();return e.jsxs(V,{height:24,viewBox:"0 0 24 24",width:24,children:[e.jsx(m,{cx:12,cy:12,fill:a.control.default.background,r:11,stroke:a.control.checked.border,strokeWidth:2}),!!t&&e.jsx(m,{cx:12,cy:12,fill:a.control.checked.border,r:8})]})},s=({label:t,isSelected:a,onPress:o,testID:r,...n})=>e.jsx(w,{...n,accessibilityLanguage:"nl-NL",accessibilityRole:"radio",accessibilityState:{selected:a},onPress:o,testID:r,children:e.jsxs(R,{gutter:"sm",valign:"center",children:[e.jsx(A,{checked:a}),e.jsx(q,{testID:`${r}Phrase`,children:t})]})});try{s.displayName="Radio",s.__docgenInfo={description:"",displayName:"Radio",props:{isSelected:{defaultValue:null,description:"",name:"isSelected",required:!0,type:{name:"boolean"}},label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},onPress:{defaultValue:null,description:"Called when a single tap gesture is detected.",name:"onPress",required:!1,type:{name:"(() => void) & ((event: GestureResponderEvent) => void)"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}const u=({options:t=[],onChange:a,testID:o,value:r,logAction:n=N.radioChange,useOptionValuesForLogging:d=!1,logDimensions:h={},...y})=>{const b=x({...y,logAction:n,logDimensions:h,onEvent:a,testID:o});return e.jsx(_,{gutter:"md",children:t.map(({label:c,value:l},C)=>{const p=`${o}${d?l.toString():C}RadioButton`;return e.jsx(s,{isSelected:r===l,label:c,"logging-label":p,logName:p,onPress:()=>b(l,d?{dimensions:{[k.newState]:l.toString()}}:{}),testID:`${o}${l.toString()}RadioButton`},c)})})};try{u.displayName="RadioGroup",u.__docgenInfo={description:"",displayName:"RadioGroup",props:{onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(value: T) => void"}},options:{defaultValue:{value:"[]"},description:"",name:"options",required:!1,type:{name:"RadioGroupOption[]"}},useOptionValuesForLogging:{defaultValue:{value:"false"},description:"Log value to analytics service as new state when the selected value changes and as name on the button press event of the option.",name:"useOptionValuesForLogging",required:!1,type:{name:"boolean"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"RadioValue"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}},logAction:{defaultValue:{value:"PiwikAction.radioChange"},description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:{value:"{}"},description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}const ie={component:u},D=[{label:"Heldhaftig",value:"valiant"},{label:"Vastberaden",value:"steadfast"},{label:"Barmhartig",value:"compassionate"}],i={args:{options:D,value:"valiant"}};var v,g,f;i.parameters={...i.parameters,docs:{...(v=i.parameters)==null?void 0:v.docs,source:{originalSource:`{ args: { options, value: 'valiant' diff --git a/assets/Row-BXpfxHoR.js b/assets/Row-BY9zY_5g.js similarity index 95% rename from assets/Row-BXpfxHoR.js rename to assets/Row-BY9zY_5g.js index 570d0cfd..ac924b1b 100644 --- a/assets/Row-BXpfxHoR.js +++ b/assets/Row-BY9zY_5g.js @@ -1,4 +1,4 @@ -import{j as d}from"./jsx-runtime-Bxcv0yjW.js";import{m as p}from"./mapCrossAxisAlignment-DpnuLLqj.js";import{m as v}from"./mapMainAxisAlignment-BOa0GzUh.js";import{u as c}from"./useThemable-CjWxbHxI.js";import{V as f}from"./index-BDsvWohO.js";import{s as w}from"./index-CEE--Juu.js";const m=({align:l,children:r,flex:i,grow:e,gutter:o,valign:s,reverse:n,vgutter:a,wrap:u,zIndex:t})=>{const h=c(g({align:l,flex:i,grow:e,gutter:o,reverse:n,valign:s,vgutter:a,wrap:u,zIndex:t}));return d.jsx(f,{style:h.row,children:r})},g=({align:l,flex:r,grow:i,gutter:e,reverse:o,valign:s,vgutter:n,wrap:a,zIndex:u})=>({size:t})=>w.create({row:{flexDirection:o?"row-reverse":"row",flexWrap:a?"wrap":void 0,flex:r,flexGrow:i,flexShrink:1,justifyContent:v(l),alignItems:p(s),columnGap:e&&t.spacing[e],rowGap:a&&n&&t.spacing[n]||a&&e&&t.spacing[e]||void 0,zIndex:u}});try{m.displayName="Row",m.__docgenInfo={description:`Lays out its children horizontally. +import{j as d}from"./jsx-runtime-Bxcv0yjW.js";import{m as p}from"./mapCrossAxisAlignment-DpnuLLqj.js";import{m as v}from"./mapMainAxisAlignment-BOa0GzUh.js";import{u as c}from"./useThemable-BlSbywuP.js";import{V as f}from"./index-BDsvWohO.js";import{s as w}from"./index-CEE--Juu.js";const m=({align:l,children:r,flex:i,grow:e,gutter:o,valign:s,reverse:n,vgutter:a,wrap:u,zIndex:t})=>{const h=c(g({align:l,flex:i,grow:e,gutter:o,reverse:n,valign:s,vgutter:a,wrap:u,zIndex:t}));return d.jsx(f,{style:h.row,children:r})},g=({align:l,flex:r,grow:i,gutter:e,reverse:o,valign:s,vgutter:n,wrap:a,zIndex:u})=>({size:t})=>w.create({row:{flexDirection:o?"row-reverse":"row",flexWrap:a?"wrap":void 0,flex:r,flexGrow:i,flexShrink:1,justifyContent:v(l),alignItems:p(s),columnGap:e&&t.spacing[e],rowGap:a&&n&&t.spacing[n]||a&&e&&t.spacing[e]||void 0,zIndex:u}});try{m.displayName="Row",m.__docgenInfo={description:`Lays out its children horizontally. Allows specifying the amount of spacing between the items, alignment of the items in the row, whether the row should grow to fill the available space, whether the items can wrap to new lines, diff --git a/assets/Row.stories-CoTMFviY.js b/assets/Row.stories-Czb6yfqj.js similarity index 86% rename from assets/Row.stories-CoTMFviY.js rename to assets/Row.stories-Czb6yfqj.js index 8a21ebae..5f032f78 100644 --- a/assets/Row.stories-CoTMFviY.js +++ b/assets/Row.stories-Czb6yfqj.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-Bxcv0yjW.js";import{B as a}from"./Button-DAm4UwbF.js";import{R as i}from"./Row-BXpfxHoR.js";import{B as s}from"./Block-SFKht2RU.js";import{C as c}from"./Canvas-CCRWbH08.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./config-BZnShabN.js";import"./Icon-DcC-yiY8.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./useTheme-CJIBCVMY.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./base-color-CZpuL6yQ.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";const U={component:i},r=o=>t.jsx(c,{highlight:!0,children:t.jsxs(i,{...o,children:[t.jsx(s,{label:"A"}),t.jsx(s,{label:"B"}),t.jsx(s,{label:"C"})]})});r.args={align:"start",gutter:"md",wrap:!1};const e=o=>t.jsx(c,{highlight:!0,maxWidth:"24rem",children:t.jsxs(i,{...o,children:[t.jsx(a,{label:"Wijzig adres",testID:"Button"}),t.jsx(a,{label:"Voeg adres toe",testID:"Button",variant:"secondary"}),t.jsx(a,{label:"Verwijder adres",testID:"Button",variant:"secondary"})]})});e.args={gutter:"md",wrap:!0};var n,m,p;r.parameters={...r.parameters,docs:{...(n=r.parameters)==null?void 0:n.docs,source:{originalSource:`args => +import{j as t}from"./jsx-runtime-Bxcv0yjW.js";import{B as a}from"./Button-CM8byzny.js";import{R as i}from"./Row-BY9zY_5g.js";import{B as s}from"./Block-B9hfeL6e.js";import{C as c}from"./Canvas-CCRWbH08.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./config-BZnShabN.js";import"./Icon-CHbD1j2W.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./useTheme-BWbL_sDV.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./base-color-B2rPH-Aj.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";const U={component:i},r=o=>t.jsx(c,{highlight:!0,children:t.jsxs(i,{...o,children:[t.jsx(s,{label:"A"}),t.jsx(s,{label:"B"}),t.jsx(s,{label:"C"})]})});r.args={align:"start",gutter:"md",wrap:!1};const e=o=>t.jsx(c,{highlight:!0,maxWidth:"24rem",children:t.jsxs(i,{...o,children:[t.jsx(a,{label:"Wijzig adres",testID:"Button"}),t.jsx(a,{label:"Voeg adres toe",testID:"Button",variant:"secondary"}),t.jsx(a,{label:"Verwijder adres",testID:"Button",variant:"secondary"})]})});e.args={gutter:"md",wrap:!0};var n,m,p;r.parameters={...r.parameters,docs:{...(n=r.parameters)==null?void 0:n.docs,source:{originalSource:`args => diff --git a/assets/Size.stories-DTGdjPCR.js b/assets/Size.stories-Dvp3T5e-.js similarity index 77% rename from assets/Size.stories-DTGdjPCR.js rename to assets/Size.stories-Dvp3T5e-.js index 38ff5326..6cdd46e7 100644 --- a/assets/Size.stories-DTGdjPCR.js +++ b/assets/Size.stories-Dvp3T5e-.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{S as i}from"./Size-D6myJmG7.js";import{P as m}from"./Phrase-t0rOiClQ.js";import"./Block-SFKht2RU.js";import{C as p}from"./Canvas-CCRWbH08.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-BDsvWohO.js";import"./index-CEE--Juu.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-CZpuL6yQ.js";import"./index-BypDj3rK.js";const v={component:i},r=o=>e.jsx(i,{...o,children:e.jsx(p,{highlight:!0,children:e.jsx(m,{testID:"Phrase",children:"Ik accepteer afmetingen"})})});r.args={maxWidth:128,minHeight:128};var t,s,a;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`args => +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{S as i}from"./Size-D6myJmG7.js";import{P as m}from"./Phrase-CsqFctWr.js";import"./Block-B9hfeL6e.js";import{C as p}from"./Canvas-CCRWbH08.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-BDsvWohO.js";import"./index-CEE--Juu.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-BypDj3rK.js";const v={component:i},r=o=>e.jsx(i,{...o,children:e.jsx(p,{highlight:!0,children:e.jsx(m,{testID:"Phrase",children:"Ik accepteer afmetingen"})})});r.args={maxWidth:128,minHeight:128};var t,s,a;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`args => Ik accepteer afmetingen diff --git a/assets/SomethingWentWrong.stories-CgtMyzYA.js b/assets/SomethingWentWrong.stories-Bx4hDv3n.js similarity index 86% rename from assets/SomethingWentWrong.stories-CgtMyzYA.js rename to assets/SomethingWentWrong.stories-Bx4hDv3n.js index 91cdb851..d15d8d47 100644 --- a/assets/SomethingWentWrong.stories-CgtMyzYA.js +++ b/assets/SomethingWentWrong.stories-Bx4hDv3n.js @@ -1 +1 @@ -import{j as t}from"./jsx-runtime-Bxcv0yjW.js";import{P as d}from"./Pressable-HfRmqOUq.js";import{A as c,a as f}from"./AlertBase-B0hDfRWJ.js";import{u as v}from"./useAccessibilityAnnounce-DO7gK7r3.js";import{V as g}from"./index-BDsvWohO.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./Box-uk0d72u3.js";import"./layoutStyles-DflBxpuh.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./base-color-CZpuL6yQ.js";import"./SingleSelectable-Bg8zzmoU.js";import"./Column-DVJ0Grcf.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Row-BXpfxHoR.js";import"./Icon-DcC-yiY8.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./useTheme-CJIBCVMY.js";import"./Paragraph-DkRs_aGj.js";import"./Title-9ScEYPym.js";import"./useAccessibilityFocus-Djl26ZxP.js";import"./index-iQAZAIR7.js";import"./index-kJeFfQx-.js";import"./useIsScreenReaderEnabled-BGYkQQWr.js";import"./duration-A4BOymd5.js";import"./accessibleText-gmNPjmn1.js";const o=e=>t.jsx(c,{...e,variant:f.negative});try{o.displayName="AlertNegative",o.__docgenInfo={description:"",displayName:"AlertNegative",props:{inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},hasCloseIcon:{defaultValue:null,description:"",name:"hasCloseIcon",required:!1,type:{name:"boolean"}},hasIcon:{defaultValue:null,description:"",name:"hasIcon",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"string"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"information"'},{value:'"negative"'},{value:'"positive"'},{value:'"warning"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const y=({children:e,retryFn:a,testID:r})=>a?t.jsx(d,{onPress:a,testID:r,children:e}):t.jsx(g,{testID:r,children:e}),n=({retryFn:e,testID:a,text:r="Er ging iets mis.",title:l="Sorry …",...p})=>(v(`${l} ${r}`),t.jsx(y,{retryFn:e,testID:a,children:t.jsx(o,{...p,testID:"SomethingWentWrong",text:r,title:l})}));try{n.displayName="SomethingWentWrong",n.__docgenInfo={description:"",displayName:"SomethingWentWrong",props:{testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"information"'},{value:'"negative"'},{value:'"positive"'},{value:'"warning"'}]}},inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},title:{defaultValue:{value:"Sorry …"},description:"",name:"title",required:!1,type:{name:"string"}},hasCloseIcon:{defaultValue:null,description:"",name:"hasCloseIcon",required:!1,type:{name:"boolean"}},hasIcon:{defaultValue:null,description:"",name:"hasIcon",required:!1,type:{name:"boolean"}},retryFn:{defaultValue:null,description:"",name:"retryFn",required:!1,type:{name:"(() => void)"}},text:{defaultValue:{value:"Er ging iets mis."},description:"",name:"text",required:!1,type:{name:"string"}}}}}catch{}const pe={component:n},i=()=>t.jsx(n,{testID:""});var s,m,u;i.parameters={...i.parameters,docs:{...(s=i.parameters)==null?void 0:s.docs,source:{originalSource:'() => ',...(u=(m=i.parameters)==null?void 0:m.docs)==null?void 0:u.source}}};const de=["Default"];export{i as Default,de as __namedExportsOrder,pe as default}; +import{j as t}from"./jsx-runtime-Bxcv0yjW.js";import{P as d}from"./Pressable-CwlxP6l-.js";import{A as c,a as f}from"./AlertBase-BMoWSYyC.js";import{u as v}from"./useAccessibilityAnnounce-DO7gK7r3.js";import{V as g}from"./index-BDsvWohO.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./Box-DJu0GgH-.js";import"./layoutStyles-DflBxpuh.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./base-color-B2rPH-Aj.js";import"./SingleSelectable-Bg8zzmoU.js";import"./Column-BO_nzweR.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Row-BY9zY_5g.js";import"./Icon-CHbD1j2W.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./useTheme-BWbL_sDV.js";import"./Paragraph-CJTJBOQl.js";import"./Title-Dg8-Cp53.js";import"./useAccessibilityFocus-Djl26ZxP.js";import"./index-iQAZAIR7.js";import"./index-kJeFfQx-.js";import"./useIsScreenReaderEnabled-BGYkQQWr.js";import"./duration-A4BOymd5.js";import"./accessibleText-gmNPjmn1.js";const o=e=>t.jsx(c,{...e,variant:f.negative});try{o.displayName="AlertNegative",o.__docgenInfo={description:"",displayName:"AlertNegative",props:{inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},hasCloseIcon:{defaultValue:null,description:"",name:"hasCloseIcon",required:!1,type:{name:"boolean"}},hasIcon:{defaultValue:null,description:"",name:"hasIcon",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"string"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"information"'},{value:'"negative"'},{value:'"positive"'},{value:'"warning"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const y=({children:e,retryFn:a,testID:r})=>a?t.jsx(d,{onPress:a,testID:r,children:e}):t.jsx(g,{testID:r,children:e}),n=({retryFn:e,testID:a,text:r="Er ging iets mis.",title:l="Sorry …",...p})=>(v(`${l} ${r}`),t.jsx(y,{retryFn:e,testID:a,children:t.jsx(o,{...p,testID:"SomethingWentWrong",text:r,title:l})}));try{n.displayName="SomethingWentWrong",n.__docgenInfo={description:"",displayName:"SomethingWentWrong",props:{testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"information"'},{value:'"negative"'},{value:'"positive"'},{value:'"warning"'}]}},inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},title:{defaultValue:{value:"Sorry …"},description:"",name:"title",required:!1,type:{name:"string"}},hasCloseIcon:{defaultValue:null,description:"",name:"hasCloseIcon",required:!1,type:{name:"boolean"}},hasIcon:{defaultValue:null,description:"",name:"hasIcon",required:!1,type:{name:"boolean"}},retryFn:{defaultValue:null,description:"",name:"retryFn",required:!1,type:{name:"(() => void)"}},text:{defaultValue:{value:"Er ging iets mis."},description:"",name:"text",required:!1,type:{name:"string"}}}}}catch{}const pe={component:n},i=()=>t.jsx(n,{testID:""});var s,m,u;i.parameters={...i.parameters,docs:{...(s=i.parameters)==null?void 0:s.docs,source:{originalSource:'() => ',...(u=(m=i.parameters)==null?void 0:m.docs)==null?void 0:u.source}}};const de=["Default"];export{i as Default,de as __namedExportsOrder,pe as default}; diff --git a/assets/Switch.stories-BGdc8zMy.js b/assets/Switch.stories-aTtSlJwT.js similarity index 92% rename from assets/Switch.stories-BGdc8zMy.js rename to assets/Switch.stories-aTtSlJwT.js index a19cb5dd..55521d57 100644 --- a/assets/Switch.stories-BGdc8zMy.js +++ b/assets/Switch.stories-aTtSlJwT.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{r as y}from"./index-mfbfsM12.js";import{P as k}from"./PressableBase-CPU35BDr.js";import{F as w}from"./FormField-Bd2DEH5y.js";import{u as C,P,a as x}from"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import{u as V}from"./useTheme-CJIBCVMY.js";import{S as _}from"./index-CsseZgnR.js";import{T as q}from"./index-BypDj3rK.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-CEE--Juu.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-BDsvWohO.js";import"./HideFromAccessibility-DFWSEXqq.js";import"./Row-BXpfxHoR.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-CZpuL6yQ.js";import"./layoutStyles-DflBxpuh.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./development-DYCnWZjk.js";const r=({accessibilityLabel:i="",disabled:l=!1,label:p,labelPosition:g="start",logAction:v=x.toggle,logDimensions:f={},onChange:b,testID:n,value:o,wrapper:h=y.Fragment,...s})=>{const{color:a}=V(),u=C({...s,logAction:v,logDimensions:{...f,[P.newState]:o?"unchecked":"checked"},onEvent:b,testID:n});return e.jsx(k,{accessibilityHint:"Dubbel tik om onderdeel aan of uit te zetten",accessibilityLabel:`${i} onderdeel staat ${o?"aan":"uit"}`,accessibilityLanguage:"nl-NL",accessibilityRole:"button","aria-disabled":l,onPress:u,testID:n,children:e.jsx(h,{children:e.jsx(w,{label:p,labelPosition:g,children:e.jsx(_,{accessibilityElementsHidden:!0,importantForAccessibility:"no-hide-descendants",ios_backgroundColor:a.switch.track.off.background,onChange:u,thumbColor:a.switch.thumb[l?"disabled":"enabled"].background,trackColor:{false:a.switch.track.off.background,true:a.switch.track.on.background},value:o,...s})})})})};try{r.displayName="Switch",r.__docgenInfo={description:"Wraps a switch with its label in a row and takes care of accessibility.",displayName:"Switch",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"ReactNode"}},labelPosition:{defaultValue:{value:"start"},description:"",name:"labelPosition",required:!1,type:{name:"enum",value:[{value:'"end"'},{value:'"start"'}]}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"(() => void)"}},wrapper:{defaultValue:null,description:"",name:"wrapper",required:!1,type:{name:"ElementType"}},logAction:{defaultValue:{value:"PiwikAction.toggle"},description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:{value:"{}"},description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}const te={component:r,argTypes:{onValueChange:{action:"onValueChange"}}},t={args:{label:e.jsx(q,{children:"Ik ga akkoord met de voorwaarden"}),labelPosition:"end",value:!0}};var c,d,m;t.parameters={...t.parameters,docs:{...(c=t.parameters)==null?void 0:c.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{r as y}from"./index-mfbfsM12.js";import{P as k}from"./PressableBase-CPU35BDr.js";import{F as w}from"./FormField-DQmJEy_o.js";import{u as C,P,a as x}from"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import{u as V}from"./useTheme-BWbL_sDV.js";import{S as _}from"./index-CsseZgnR.js";import{T as q}from"./index-BypDj3rK.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-CEE--Juu.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-BDsvWohO.js";import"./HideFromAccessibility-DFWSEXqq.js";import"./Row-BY9zY_5g.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./layoutStyles-DflBxpuh.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./development-DYCnWZjk.js";const r=({accessibilityLabel:i="",disabled:l=!1,label:p,labelPosition:g="start",logAction:v=x.toggle,logDimensions:f={},onChange:b,testID:n,value:o,wrapper:h=y.Fragment,...s})=>{const{color:a}=V(),u=C({...s,logAction:v,logDimensions:{...f,[P.newState]:o?"unchecked":"checked"},onEvent:b,testID:n});return e.jsx(k,{accessibilityHint:"Dubbel tik om onderdeel aan of uit te zetten",accessibilityLabel:`${i} onderdeel staat ${o?"aan":"uit"}`,accessibilityLanguage:"nl-NL",accessibilityRole:"button","aria-disabled":l,onPress:u,testID:n,children:e.jsx(h,{children:e.jsx(w,{label:p,labelPosition:g,children:e.jsx(_,{accessibilityElementsHidden:!0,importantForAccessibility:"no-hide-descendants",ios_backgroundColor:a.switch.track.off.background,onChange:u,thumbColor:a.switch.thumb[l?"disabled":"enabled"].background,trackColor:{false:a.switch.track.off.background,true:a.switch.track.on.background},value:o,...s})})})})};try{r.displayName="Switch",r.__docgenInfo={description:"Wraps a switch with its label in a row and takes care of accessibility.",displayName:"Switch",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"ReactNode"}},labelPosition:{defaultValue:{value:"start"},description:"",name:"labelPosition",required:!1,type:{name:"enum",value:[{value:'"end"'},{value:'"start"'}]}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"(() => void)"}},wrapper:{defaultValue:null,description:"",name:"wrapper",required:!1,type:{name:"ElementType"}},logAction:{defaultValue:{value:"PiwikAction.toggle"},description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:{value:"{}"},description:"",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}const te={component:r,argTypes:{onValueChange:{action:"onValueChange"}}},t={args:{label:e.jsx(q,{children:"Ik ga akkoord met de voorwaarden"}),labelPosition:"end",value:!0}};var c,d,m;t.parameters={...t.parameters,docs:{...(c=t.parameters)==null?void 0:c.docs,source:{originalSource:`{ args: { label: Ik ga akkoord met de voorwaarden, labelPosition: 'end', diff --git a/assets/Tag.stories-BLgDQ_OS.js b/assets/Tag.stories-DwqE1YR0.js similarity index 83% rename from assets/Tag.stories-BLgDQ_OS.js rename to assets/Tag.stories-DwqE1YR0.js index 58e02bb7..a60467d9 100644 --- a/assets/Tag.stories-BLgDQ_OS.js +++ b/assets/Tag.stories-DwqE1YR0.js @@ -1 +1 @@ -import{j as o}from"./jsx-runtime-Bxcv0yjW.js";import{P as m}from"./Paragraph-DkRs_aGj.js";import{u as c}from"./useThemable-CjWxbHxI.js";import{V as n}from"./index-BDsvWohO.js";import{s as l}from"./index-CEE--Juu.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-BypDj3rK.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-CZpuL6yQ.js";const a=({label:r})=>{const e=c(d);return o.jsx(n,{style:e.tag,children:o.jsx(m,{children:r})})},d=({color:r,size:e})=>l.create({tag:{backgroundColor:r.tag.background,paddingHorizontal:e.spacing.sm,paddingVertical:e.spacing.xs}});try{a.displayName="Tag",a.__docgenInfo={description:"",displayName:"Tag",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}}}}}catch{}const D={component:a},t={};var s,p,i;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:"{}",...(i=(p=t.parameters)==null?void 0:p.docs)==null?void 0:i.source}}};const E=["Default"];export{t as Default,E as __namedExportsOrder,D as default}; +import{j as o}from"./jsx-runtime-Bxcv0yjW.js";import{P as m}from"./Paragraph-CJTJBOQl.js";import{u as c}from"./useThemable-BlSbywuP.js";import{V as n}from"./index-BDsvWohO.js";import{s as l}from"./index-CEE--Juu.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-BypDj3rK.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";const a=({label:r})=>{const e=c(d);return o.jsx(n,{style:e.tag,children:o.jsx(m,{children:r})})},d=({color:r,size:e})=>l.create({tag:{backgroundColor:r.tag.background,paddingHorizontal:e.spacing.sm,paddingVertical:e.spacing.xs}});try{a.displayName="Tag",a.__docgenInfo={description:"",displayName:"Tag",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}}}}}catch{}const D={component:a},t={};var s,p,i;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:"{}",...(i=(p=t.parameters)==null?void 0:p.docs)==null?void 0:i.source}}};const E=["Default"];export{t as Default,E as __namedExportsOrder,D as default}; diff --git a/assets/TextInput.stories-CPzo6NW-.js b/assets/TextInput.stories-KeCWmkCz.js similarity index 86% rename from assets/TextInput.stories-CPzo6NW-.js rename to assets/TextInput.stories-KeCWmkCz.js index f9d07538..3f89f057 100644 --- a/assets/TextInput.stories-CPzo6NW-.js +++ b/assets/TextInput.stories-KeCWmkCz.js @@ -1,4 +1,4 @@ -import{j as i}from"./jsx-runtime-Bxcv0yjW.js";import{r as m}from"./index-mfbfsM12.js";import{I as B}from"./IconButton-Cyqcuey7.js";import{L as D}from"./Label-BbSvQ4Xu.js";import{C as F}from"./Column-DVJ0Grcf.js";import{I as N}from"./Icon-DcC-yiY8.js";import{u as v}from"./useThemable-CjWxbHxI.js";import{V as I}from"./index-BDsvWohO.js";import{T as z}from"./index-Cnrjv3xk.js";import{s as M}from"./index-CEE--Juu.js";import{P as k}from"./index-DOpK3Ow6.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Pressable-HfRmqOUq.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./Box-uk0d72u3.js";import"./layoutStyles-DflBxpuh.js";import"./config-BZnShabN.js";import"./Badge-CZ5nSfIQ.js";import"./Row-BXpfxHoR.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./Paragraph-DkRs_aGj.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./useTheme-CJIBCVMY.js";import"./index-BMk6Tmu2.js";import"./base-color-CZpuL6yQ.js";const f=m.forwardRef(({label:r,numberOfLines:a,onChangeText:e,onFocus:t,placeholder:p="",warning:n,value:o="",testID:l="",accessibilityLanguage:s="nl-NL",...b},q)=>{const[C,h]=m.useState(!1),[x,u]=m.useState(o),g=v($({hasFocus:C,numberOfLines:a,warning:n})),E=v(A);m.useEffect(()=>{u(o)},[o]);const L=()=>h(!1),O=y=>{u(y),e==null||e(y)},H=()=>{u(""),e==null||e("")},W=()=>{h(!0),t==null||t()};return i.jsxs(F,{gutter:"sm",children:[i.jsx(D,{isAccessible:!b.accessibilityLabel,text:r}),i.jsxs(I,{style:g.frame,children:[i.jsx(z,{...b,...E,accessibilityLanguage:s,numberOfLines:k.OS==="ios"?void 0:a,onBlur:L,onChangeText:O,onFocus:W,placeholder:p,ref:q,style:g.textInput,testID:l,textAlignVertical:"top",value:x}),x?i.jsx(I,{children:i.jsx(B,{accessibilityHint:"Maak dit tekstveld leeg",accessibilityLanguage:s,icon:i.jsx(N,{name:"close",size:"lg",testID:`${l}ClearIcon`}),onPress:H,testID:`${l}ClearButton`})}):null]})]})}),$=({hasFocus:r,numberOfLines:a,warning:e})=>({color:t,size:p,text:n})=>{const o=r||e?2:1,l=p.spacing.md-(o-1),s=p.spacing.sm-(o-1);return M.create({frame:{flexDirection:"row",paddingHorizontal:l,paddingVertical:s,backgroundColor:t.textInput.container.background,borderStyle:"solid",borderColor:e?t.control.warning.border:r?t.control.focus.border:t.control.default.border,borderWidth:o},textInput:{minHeight:k.OS==="ios"&&a?a*n.lineHeight.body+2*s:"auto",flex:1,padding:0,paddingTop:0,color:t.text.default,fontFamily:n.fontFamily.regular,fontSize:n.fontSize.body}})},A=({color:r})=>({placeholderTextColor:r.text.secondary});try{f.displayName="TextInput",f.__docgenInfo={description:"",displayName:"TextInput",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},numberOfLines:{defaultValue:null,description:`Sets the number of lines for a TextInput. +import{j as i}from"./jsx-runtime-Bxcv0yjW.js";import{r as m}from"./index-mfbfsM12.js";import{I as B}from"./IconButton-BuyNnPu5.js";import{L as D}from"./Label-DpT1tV42.js";import{C as F}from"./Column-BO_nzweR.js";import{I as N}from"./Icon-CHbD1j2W.js";import{u as v}from"./useThemable-BlSbywuP.js";import{V as I}from"./index-BDsvWohO.js";import{T as z}from"./index-Cnrjv3xk.js";import{s as M}from"./index-CEE--Juu.js";import{P as k}from"./index-DOpK3Ow6.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Pressable-CwlxP6l-.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./Box-DJu0GgH-.js";import"./layoutStyles-DflBxpuh.js";import"./config-BZnShabN.js";import"./Badge-CVvYwvd7.js";import"./Row-BY9zY_5g.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./Paragraph-CJTJBOQl.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./useTheme-BWbL_sDV.js";import"./index-BMk6Tmu2.js";import"./base-color-B2rPH-Aj.js";const f=m.forwardRef(({label:r,numberOfLines:a,onChangeText:e,onFocus:t,placeholder:p="",warning:n,value:o="",testID:l="",accessibilityLanguage:s="nl-NL",...b},q)=>{const[C,h]=m.useState(!1),[x,u]=m.useState(o),g=v($({hasFocus:C,numberOfLines:a,warning:n})),E=v(A);m.useEffect(()=>{u(o)},[o]);const L=()=>h(!1),O=y=>{u(y),e==null||e(y)},H=()=>{u(""),e==null||e("")},W=()=>{h(!0),t==null||t()};return i.jsxs(F,{gutter:"sm",children:[i.jsx(D,{isAccessible:!b.accessibilityLabel,text:r}),i.jsxs(I,{style:g.frame,children:[i.jsx(z,{...b,...E,accessibilityLanguage:s,numberOfLines:k.OS==="ios"?void 0:a,onBlur:L,onChangeText:O,onFocus:W,placeholder:p,ref:q,style:g.textInput,testID:l,textAlignVertical:"top",value:x}),x?i.jsx(I,{children:i.jsx(B,{accessibilityHint:"Maak dit tekstveld leeg",accessibilityLanguage:s,icon:i.jsx(N,{name:"close",size:"lg",testID:`${l}ClearIcon`}),onPress:H,testID:`${l}ClearButton`})}):null]})]})}),$=({hasFocus:r,numberOfLines:a,warning:e})=>({color:t,size:p,text:n})=>{const o=r||e?2:1,l=p.spacing.md-(o-1),s=p.spacing.sm-(o-1);return M.create({frame:{flexDirection:"row",paddingHorizontal:l,paddingVertical:s,backgroundColor:t.textInput.container.background,borderStyle:"solid",borderColor:e?t.control.warning.border:r?t.control.focus.border:t.control.default.border,borderWidth:o},textInput:{minHeight:k.OS==="ios"&&a?a*n.lineHeight.body+2*s:"auto",flex:1,padding:0,paddingTop:0,color:t.text.default,fontFamily:n.fontFamily.regular,fontSize:n.fontSize.body}})},A=({color:r})=>({placeholderTextColor:r.text.secondary});try{f.displayName="TextInput",f.__docgenInfo={description:"",displayName:"TextInput",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},numberOfLines:{defaultValue:null,description:`Sets the number of lines for a TextInput. Use it with multiline set to true to be able to fill the lines.`,name:"numberOfLines",required:!1,type:{name:"number"}},onChangeText:{defaultValue:null,description:`Callback that is called when the text input's text changes. Changed text is passed as an argument to the callback handler.`,name:"onChangeText",required:!1,type:{name:"(((event: string) => void) & ((text: string) => void))"}},onFocus:{defaultValue:null,description:"Callback that is called when the text input is focused",name:"onFocus",required:!1,type:{name:"((() => void) & ((e: NativeSyntheticEvent) => void))"}},placeholder:{defaultValue:{value:""},description:"The string that will be rendered before text input has been entered",name:"placeholder",required:!1,type:{name:"string"}},warning:{defaultValue:null,description:"",name:"warning",required:!1,type:{name:"boolean"}}}}}catch{}const Le={component:f},c={args:{label:"Wat is de titel van je bericht?",placeholder:"Voer een titel in...",value:""}},d={args:{label:"Wat is de titel van je bericht?",multiline:!0,numberOfLines:5,placeholder:"Voer een titel in...",value:""}};var V,j,S;c.parameters={...c.parameters,docs:{...(V=c.parameters)==null?void 0:V.docs,source:{originalSource:`{ args: { diff --git a/assets/Timeline.stories-6DuP5dL8.js b/assets/Timeline.stories-6DuP5dL8.js new file mode 100644 index 00000000..adae53d5 --- /dev/null +++ b/assets/Timeline.stories-6DuP5dL8.js @@ -0,0 +1,46 @@ +import{j as n}from"./jsx-runtime-Bxcv0yjW.js";import{r as x}from"./index-mfbfsM12.js";import{A as C}from"./Accordion-CrkRJJvB.js";import{s as E}from"./index-CEE--Juu.js";import{I as A}from"./Icon-CHbD1j2W.js";import{H as D}from"./HtmlContent-CNaxTXns.js";import{T as w}from"./Title-Dg8-Cp53.js";import{u as z}from"./useDeviceContext-DGl4H2w7.js";import{u as R}from"./useTheme-BWbL_sDV.js";import{V as f}from"./index-BDsvWohO.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Pressable-CwlxP6l-.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./Box-DJu0GgH-.js";import"./layoutStyles-DflBxpuh.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./base-color-B2rPH-Aj.js";import"./Column-BO_nzweR.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Gutter-CijmLDTE.js";import"./Row-BY9zY_5g.js";import"./Size-D6myJmG7.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useOpenUrl-CQsKsYCH.js";import"./index-iQAZAIR7.js";import"./client-DDXjyz62.js";import"./index-kJeFfQx-.js";import"./index-XPwQYiUg.js";import"./index-S14X4tbk.js";import"./index-CsseZgnR.js";import"./index-Cnrjv3xk.js";import"./index-ZuFZ7TrF.js";import"./index-C3bJM-gU.js";import"./Phrase-CsqFctWr.js";import"./useOpenMailUrl-Cpc3v_r1.js";import"./useOpenPhoneUrl-BpjRyIpq.js";import"./ListItemMarker-BOjN2r3Y.js";import"./config-BZnShabN.js";import"./useIsScreenReaderEnabled-BGYkQQWr.js";var h=function(){return h=Object.assign||function(t){for(var e,i=1,o=arguments.length;i0&&e>="0"&&e<="9"?"_"+e+i:""+e.toUpperCase()+i}function L(r,t){return t===void 0&&(t={}),$(r,h({delimiter:"",transform:P},t))}const q=(r,t,e,i,o,p)=>{const{color:m,size:l,z:c}=r,s={body:{insetLeft:l.spacing.md},indicator:{size:l.spacing.lg*t},line:{width:4*t}};return E.create({header:{flexDirection:"row",justifyContent:"space-between",alignItems:"flex-start"},indicator:{position:"relative",width:s.indicator.size,aspectRatio:1,justifyContent:"center",alignItems:"center",top:l.spacing.md,backgroundColor:i?m.timeline.future:m.timeline.past,borderRadius:s.indicator.size/2},line:{position:"absolute",top:l.spacing.md+s.indicator.size,left:(s.indicator.size-s.line.width)/2,zIndex:c.timelineLine,width:s.line.width,height:p&&!o?0:"100%",backgroundColor:i||e?m.timeline.future:m.timeline.past}})},_=({isBeforeUpcoming:r,isLast:t,item:e,testID:i})=>{var d,u;const o=!e.collapsed,[p,m]=x.useState(o),l=R(),{fontScale:c}=z(),s=q(l,c,r,e.progress==="Aankomend",p,t);return n.jsxs(f,{children:[n.jsxs(f,{style:s.header,children:[n.jsx(f,{style:s.indicator,children:e.progress==="Afgelopen"&&n.jsx(A,{color:"inverse",name:"check-mark",size:"sm",testID:`${i}Icon`})}),n.jsxs(C,{grow:1,initiallyExpanded:!!o,isExpandable:!!e.body||!!((d=e.items)!=null&&d.length),onChangeExpanded:a=>m(a),testID:i,title:e.title,children:[!!e.body&&n.jsx(D,{content:e.body,testID:`${i}BodyHtmlContent`}),(u=e.items)==null?void 0:u.map(({title:a,body:y})=>n.jsxs(x.Fragment,{children:[!!a&&n.jsx(w,{level:"h5",text:a}),!!y&&n.jsx(D,{content:y,testID:`${i}ItemBody${L(a??y??"")}HtmlContent`})]},a))]},e.title)]}),n.jsx(f,{style:s.line})]})};try{_.displayName="TimelineItem",_.__docgenInfo={description:"",displayName:"TimelineItem",props:{isBeforeUpcoming:{defaultValue:null,description:"",name:"isBeforeUpcoming",required:!0,type:{name:"boolean"}},isLast:{defaultValue:null,description:"",name:"isLast",required:!0,type:{name:"boolean"}},item:{defaultValue:null,description:"",name:"item",required:!0,type:{name:"ProjectTimelineItem"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const b=({items:r,testID:t})=>n.jsx(n.Fragment,{children:r.map((e,i)=>{var o;return n.jsx(_,{isBeforeUpcoming:((o=r[i+1])==null?void 0:o.progress)==="Aankomend",isLast:i===r.length-1,item:e,testID:`${t}${L(e.title)}TimelineItem`},e.title+i.toString())})});try{b.displayName="Timeline",b.__docgenInfo={description:"",displayName:"Timeline",props:{items:{defaultValue:null,description:"",name:"items",required:!0,type:{name:"ProjectTimelineItem[]"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const Ue={component:b},g={args:{items:[{collapsed:!1,body:"

Dolor sit amet 1

",date:"",items:[{title:"Lorem ipsum 1.1",body:"

Dolor sit amet 1.1

",date:""},{title:"Lorem ipsum 1.2",body:"

Dolor sit amet 1.2

",date:""}],progress:"Afgelopen",title:"Titel 1"},{collapsed:!0,body:"

Dolor sit amet 2

",date:"",items:[{title:"Lorem ipsum 2.1",body:"

Dolor sit amet 2.1

",date:""}],progress:"Huidig",title:"Titel 2"},{collapsed:!0,body:"

Dolor sit amet 3

",date:"",items:[{title:"Lorem ipsum 3.1",body:"

Dolor sit amet 3.1

",date:""},{title:"Lorem ipsum 3.2",body:"

Dolor sit amet 3.2

",date:""}],progress:"Aankomend",title:"Titel 3"}]}};var I,j,v;g.parameters={...g.parameters,docs:{...(I=g.parameters)==null?void 0:I.docs,source:{originalSource:`{ + args: { + items: [{ + collapsed: false, + body: '

Dolor sit amet 1

', + date: '', + items: [{ + title: 'Lorem ipsum 1.1', + body: '

Dolor sit amet 1.1

', + date: '' + }, { + title: 'Lorem ipsum 1.2', + body: '

Dolor sit amet 1.2

', + date: '' + }], + progress: 'Afgelopen', + title: 'Titel 1' + }, { + collapsed: true, + body: '

Dolor sit amet 2

', + date: '', + items: [{ + title: 'Lorem ipsum 2.1', + body: '

Dolor sit amet 2.1

', + date: '' + }], + progress: 'Huidig', + title: 'Titel 2' + }, { + collapsed: true, + body: '

Dolor sit amet 3

', + date: '', + items: [{ + title: 'Lorem ipsum 3.1', + body: '

Dolor sit amet 3.1

', + date: '' + }, { + title: 'Lorem ipsum 3.2', + body: '

Dolor sit amet 3.2

', + date: '' + }], + progress: 'Aankomend', + title: 'Titel 3' + }] + } +}`,...(v=(j=g.parameters)==null?void 0:j.docs)==null?void 0:v.source}}};const Fe=["Default"];export{g as Default,Fe as __namedExportsOrder,Ue as default}; diff --git a/assets/Timeline.stories-CEX7T0lI.js b/assets/Timeline.stories-CEX7T0lI.js deleted file mode 100644 index 7fa5f4bb..00000000 --- a/assets/Timeline.stories-CEX7T0lI.js +++ /dev/null @@ -1,46 +0,0 @@ -import{j as n}from"./jsx-runtime-Bxcv0yjW.js";import{r as x}from"./index-mfbfsM12.js";import{A as C}from"./Accordion-BRQzS2PO.js";import{s as E}from"./index-CEE--Juu.js";import{I as A}from"./Icon-DcC-yiY8.js";import{H as D}from"./HtmlContent-BN7YmfBH.js";import{T as w}from"./Title-9ScEYPym.js";import{u as z}from"./useDeviceContext-DGl4H2w7.js";import{u as R}from"./useTheme-CJIBCVMY.js";import{V as f}from"./index-BDsvWohO.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Pressable-HfRmqOUq.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./Box-uk0d72u3.js";import"./layoutStyles-DflBxpuh.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./base-color-CZpuL6yQ.js";import"./Column-DVJ0Grcf.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Gutter-DFUJhG4q.js";import"./Row-BXpfxHoR.js";import"./Size-D6myJmG7.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./index-eRgc22Hn.js";import"./index-iQAZAIR7.js";import"./client-DDXjyz62.js";import"./index-kJeFfQx-.js";import"./index-XPwQYiUg.js";import"./index-S14X4tbk.js";import"./index-CsseZgnR.js";import"./index-Cnrjv3xk.js";import"./index-ZuFZ7TrF.js";import"./index-C3bJM-gU.js";import"./Phrase-t0rOiClQ.js";import"./ListItemMarker-BvZewDFw.js";import"./config-BZnShabN.js";import"./useIsScreenReaderEnabled-BGYkQQWr.js";import"./useOpenMailUrl-Cpc3v_r1.js";import"./useOpenPhoneUrl-BpjRyIpq.js";var h=function(){return h=Object.assign||function(t){for(var e,i=1,o=arguments.length;i0&&e>="0"&&e<="9"?"_"+e+i:""+e.toUpperCase()+i}function L(r,t){return t===void 0&&(t={}),$(r,h({delimiter:"",transform:P},t))}const q=(r,t,e,i,o,p)=>{const{color:m,size:l,z:c}=r,s={body:{insetLeft:l.spacing.md},indicator:{size:l.spacing.lg*t},line:{width:4*t}};return E.create({header:{flexDirection:"row",justifyContent:"space-between",alignItems:"flex-start"},indicator:{position:"relative",width:s.indicator.size,aspectRatio:1,justifyContent:"center",alignItems:"center",top:l.spacing.md,backgroundColor:i?m.timeline.future:m.timeline.past,borderRadius:s.indicator.size/2},line:{position:"absolute",top:l.spacing.md+s.indicator.size,left:(s.indicator.size-s.line.width)/2,zIndex:c.timelineLine,width:s.line.width,height:p&&!o?0:"100%",backgroundColor:i||e?m.timeline.future:m.timeline.past}})},_=({isBeforeUpcoming:r,isLast:t,item:e,testID:i})=>{var d,u;const o=!e.collapsed,[p,m]=x.useState(o),l=R(),{fontScale:c}=z(),s=q(l,c,r,e.progress==="Aankomend",p,t);return n.jsxs(f,{children:[n.jsxs(f,{style:s.header,children:[n.jsx(f,{style:s.indicator,children:e.progress==="Afgelopen"&&n.jsx(A,{color:"inverse",name:"check-mark",size:"sm",testID:`${i}Icon`})}),n.jsxs(C,{grow:1,initiallyExpanded:!!o,isExpandable:!!e.body||!!((d=e.items)!=null&&d.length),onChangeExpanded:a=>m(a),testID:i,title:e.title,children:[!!e.body&&n.jsx(D,{content:e.body,testID:`${i}BodyHtmlContent`}),(u=e.items)==null?void 0:u.map(({title:a,body:y})=>n.jsxs(x.Fragment,{children:[!!a&&n.jsx(w,{level:"h5",text:a}),!!y&&n.jsx(D,{content:y,testID:`${i}ItemBody${L(a??y??"")}HtmlContent`})]},a))]},e.title)]}),n.jsx(f,{style:s.line})]})};try{_.displayName="TimelineItem",_.__docgenInfo={description:"",displayName:"TimelineItem",props:{isBeforeUpcoming:{defaultValue:null,description:"",name:"isBeforeUpcoming",required:!0,type:{name:"boolean"}},isLast:{defaultValue:null,description:"",name:"isLast",required:!0,type:{name:"boolean"}},item:{defaultValue:null,description:"",name:"item",required:!0,type:{name:"ProjectTimelineItem"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const b=({items:r,testID:t})=>n.jsx(n.Fragment,{children:r.map((e,i)=>{var o;return n.jsx(_,{isBeforeUpcoming:((o=r[i+1])==null?void 0:o.progress)==="Aankomend",isLast:i===r.length-1,item:e,testID:`${t}${L(e.title)}TimelineItem`},e.title+i.toString())})});try{b.displayName="Timeline",b.__docgenInfo={description:"",displayName:"Timeline",props:{items:{defaultValue:null,description:"",name:"items",required:!0,type:{name:"ProjectTimelineItem[]"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const Ue={component:b},g={args:{items:[{collapsed:!1,body:"

Dolor sit amet 1

",date:"",items:[{title:"Lorem ipsum 1.1",body:"

Dolor sit amet 1.1

",date:""},{title:"Lorem ipsum 1.2",body:"

Dolor sit amet 1.2

",date:""}],progress:"Afgelopen",title:"Titel 1"},{collapsed:!0,body:"

Dolor sit amet 2

",date:"",items:[{title:"Lorem ipsum 2.1",body:"

Dolor sit amet 2.1

",date:""}],progress:"Huidig",title:"Titel 2"},{collapsed:!0,body:"

Dolor sit amet 3

",date:"",items:[{title:"Lorem ipsum 3.1",body:"

Dolor sit amet 3.1

",date:""},{title:"Lorem ipsum 3.2",body:"

Dolor sit amet 3.2

",date:""}],progress:"Aankomend",title:"Titel 3"}]}};var I,j,v;g.parameters={...g.parameters,docs:{...(I=g.parameters)==null?void 0:I.docs,source:{originalSource:`{ - args: { - items: [{ - collapsed: false, - body: '

Dolor sit amet 1

', - date: '', - items: [{ - title: 'Lorem ipsum 1.1', - body: '

Dolor sit amet 1.1

', - date: '' - }, { - title: 'Lorem ipsum 1.2', - body: '

Dolor sit amet 1.2

', - date: '' - }], - progress: 'Afgelopen', - title: 'Titel 1' - }, { - collapsed: true, - body: '

Dolor sit amet 2

', - date: '', - items: [{ - title: 'Lorem ipsum 2.1', - body: '

Dolor sit amet 2.1

', - date: '' - }], - progress: 'Huidig', - title: 'Titel 2' - }, { - collapsed: true, - body: '

Dolor sit amet 3

', - date: '', - items: [{ - title: 'Lorem ipsum 3.1', - body: '

Dolor sit amet 3.1

', - date: '' - }, { - title: 'Lorem ipsum 3.2', - body: '

Dolor sit amet 3.2

', - date: '' - }], - progress: 'Aankomend', - title: 'Titel 3' - }] - } -}`,...(v=(j=g.parameters)==null?void 0:j.docs)==null?void 0:v.source}}};const Fe=["Default"];export{g as Default,Fe as __namedExportsOrder,Ue as default}; diff --git a/assets/Title-9ScEYPym.js b/assets/Title-Dg8-Cp53.js similarity index 78% rename from assets/Title-9ScEYPym.js rename to assets/Title-Dg8-Cp53.js index f08361fc..ee299901 100644 --- a/assets/Title-9ScEYPym.js +++ b/assets/Title-Dg8-Cp53.js @@ -1 +1 @@ -import{j as c}from"./jsx-runtime-Bxcv0yjW.js";import{r as n}from"./index-mfbfsM12.js";import{u as d}from"./useThemable-CjWxbHxI.js";import{T as m}from"./index-BypDj3rK.js";import{s as p}from"./index-CEE--Juu.js";const u=n.forwardRef(({color:e="default",level:t="h1",text:r,textAlign:l="left",underline:i=!1,...a},o)=>{const s=n.useMemo(()=>v({color:e,level:t,textAlign:l,underline:i}),[e,t,l,i]),f=d(s);return c.jsx(m,{accessibilityLanguage:"nl-NL",...a,accessibilityRole:"header",ref:o,style:f.title,children:r})}),v=({color:e,level:t,textAlign:r,underline:l})=>({color:i,text:a})=>p.create({title:{flexShrink:1,color:i.text[e],fontFamily:a.fontFamily.bold,fontSize:a.fontSize[t],lineHeight:a.lineHeight[t],textAlign:r,textDecorationLine:l?"underline":void 0}});try{u.displayName="Title",u.__docgenInfo={description:"",displayName:"Title",props:{color:{defaultValue:{value:"default"},description:"",name:"color",required:!1,type:{name:"enum",value:[{value:'"secondary"'},{value:'"tertiary"'},{value:'"link"'},{value:'"default"'},{value:'"inverse"'},{value:'"cityPass"'},{value:'"confirm"'},{value:'"warning"'}]}},level:{defaultValue:{value:"h1"},description:"",name:"level",required:!1,type:{name:"enum",value:[{value:'"h1"'},{value:'"h2"'},{value:'"h3"'},{value:'"h4"'},{value:'"h5"'},{value:'"h6"'}]}},text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}},textAlign:{defaultValue:{value:"left"},description:"Defines the alignment of the text. Maps with the textAlign style prop options.",name:"textAlign",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"center"'},{value:'"left"'},{value:'"right"'},{value:'"justify"'}]}},underline:{defaultValue:{value:"false"},description:"",name:"underline",required:!1,type:{name:"boolean"}}}}}catch{}export{u as T}; +import{j as c}from"./jsx-runtime-Bxcv0yjW.js";import{r as n}from"./index-mfbfsM12.js";import{u as d}from"./useThemable-BlSbywuP.js";import{T as m}from"./index-BypDj3rK.js";import{s as p}from"./index-CEE--Juu.js";const u=n.forwardRef(({color:e="default",level:t="h1",text:r,textAlign:l="left",underline:i=!1,...a},o)=>{const s=n.useMemo(()=>v({color:e,level:t,textAlign:l,underline:i}),[e,t,l,i]),f=d(s);return c.jsx(m,{accessibilityLanguage:"nl-NL",...a,accessibilityRole:"header",ref:o,style:f.title,children:r})}),v=({color:e,level:t,textAlign:r,underline:l})=>({color:i,text:a})=>p.create({title:{flexShrink:1,color:i.text[e],fontFamily:a.fontFamily.bold,fontSize:a.fontSize[t],lineHeight:a.lineHeight[t],textAlign:r,textDecorationLine:l?"underline":void 0}});try{u.displayName="Title",u.__docgenInfo={description:"",displayName:"Title",props:{color:{defaultValue:{value:"default"},description:"",name:"color",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"link"'},{value:'"cityPass"'},{value:'"confirm"'},{value:'"inverse"'},{value:'"warning"'}]}},level:{defaultValue:{value:"h1"},description:"",name:"level",required:!1,type:{name:"enum",value:[{value:'"h1"'},{value:'"h2"'},{value:'"h3"'},{value:'"h4"'},{value:'"h5"'},{value:'"h6"'}]}},text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}},textAlign:{defaultValue:{value:"left"},description:"Defines the alignment of the text. Maps with the textAlign style prop options.",name:"textAlign",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"auto"'},{value:'"left"'},{value:'"right"'},{value:'"justify"'}]}},underline:{defaultValue:{value:"false"},description:"",name:"underline",required:!1,type:{name:"boolean"}}}}}catch{}export{u as T}; diff --git a/assets/Title.stories-Dglf4BGk.js b/assets/Title.stories-CGclVHVA.js similarity index 75% rename from assets/Title.stories-Dglf4BGk.js rename to assets/Title.stories-CGclVHVA.js index 9026a260..fdd934cd 100644 --- a/assets/Title.stories-Dglf4BGk.js +++ b/assets/Title.stories-CGclVHVA.js @@ -1 +1 @@ -import{j as i}from"./jsx-runtime-Bxcv0yjW.js";import{T as s}from"./Title-9ScEYPym.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./index-CEE--Juu.js";import"./base-color-CZpuL6yQ.js";import"./index-BypDj3rK.js";import"./TextAncestorContext-Cvz4PlE2.js";const T={component:s},r=a=>i.jsx(s,{...a});r.args={color:"default",level:"h1",text:"Jouw typograaf biedt mij zulke exquise schreven!"};var t,e,o;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:"args => ",...(o=(e=r.parameters)==null?void 0:e.docs)==null?void 0:o.source}}};const _=["Default"];export{r as Default,_ as __namedExportsOrder,T as default}; +import{j as i}from"./jsx-runtime-Bxcv0yjW.js";import{T as s}from"./Title-Dg8-Cp53.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./index-CEE--Juu.js";import"./base-color-B2rPH-Aj.js";import"./index-BypDj3rK.js";import"./TextAncestorContext-Cvz4PlE2.js";const T={component:s},r=a=>i.jsx(s,{...a});r.args={color:"default",level:"h1",text:"Jouw typograaf biedt mij zulke exquise schreven!"};var t,e,o;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:"args => <Title {...args} />",...(o=(e=r.parameters)==null?void 0:e.docs)==null?void 0:o.source}}};const _=["Default"];export{r as Default,_ as __namedExportsOrder,T as default}; diff --git a/assets/Tooltip-Bm0QTu1O.js b/assets/Tooltip-DJq4zZXn.js similarity index 96% rename from assets/Tooltip-Bm0QTu1O.js rename to assets/Tooltip-DJq4zZXn.js index ef441977..a94efb85 100644 --- a/assets/Tooltip-Bm0QTu1O.js +++ b/assets/Tooltip-DJq4zZXn.js @@ -1 +1 @@ -import{j as s}from"./jsx-runtime-Bxcv0yjW.js";import{r as i}from"./index-mfbfsM12.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import{u as D}from"./index-C3bJM-gU.js";import{P as L}from"./PressableBase-CPU35BDr.js";import{T as W,P as $}from"./Triangle-Amn4R_mH.js";import{C as k}from"./Center-CqG4tBOn.js";import{P as d,D as m}from"./types-BJ_48vsK.js";import{u as w}from"./useThemable-CjWxbHxI.js";import{V as I}from"./index-BDsvWohO.js";import{s as g}from"./index-CEE--Juu.js";import{S as A}from"./SingleSelectable-Bg8zzmoU.js";import{C as j}from"./Column-DVJ0Grcf.js";import{P as B}from"./Paragraph-DkRs_aGj.js";import{F as H}from"./Fader-BysHR2L8.js";import{R as M}from"./Row-BXpfxHoR.js";import{u as Y}from"./useAccessibilityFocus-Djl26ZxP.js";import{I as z}from"./Animated-C23eizOh.js";const G=i.createContext(void 0),J=i.createContext(void 0);function C(){const e=i.useContext(G),t=i.useContext(J);if(t===void 0&&e===void 0)throw new Error("Couldn't find a navigation object. Is your component inside NavigationContainer?");return t??e}function K(){const e=C(),[t,a]=i.useState(e.isFocused),o=e.isFocused();return t!==o&&a(o),i.useEffect(()=>{const r=e.addListener("focus",()=>a(!0)),n=e.addListener("blur",()=>a(!1));return()=>{r(),n()}},[e]),i.useDebugValue(o),o}const O=e=>new Promise(t=>{e.measureInWindow((a,o,r,n)=>{t({x:a,height:n,width:r,y:o})})}),Ve=(e,t)=>{const{height:a,y:o}=e,{height:r,y:n}=t;return n>o&&n+r<o+a},Q=e=>{const t=K(),a=D(),[o,r]=i.useState(),n=i.useCallback(()=>{t&&O(e.current).then(({x:l,y:p,width:c,height:u})=>{l===0&&p===0&&c===0&&u===0?setTimeout(n,500):r({x:l,y:p,width:c,height:u})})},[t,e]);return i.useEffect(n,[t,n,a]),{layout:o,measureTarget:n}},U=e=>({[d.above]:m.down,[d.below]:m.up,[d.before]:m.right,[d.after]:m.left})[e],X=e=>e?e.x+e.width/2:0,Z=({children:e,direction:t,productTourTipTargetLayout:a})=>t===m.left||t===m.right||!a?s.jsx(k,{children:e}):s.jsx(s.Fragment,{children:e}),x=({placement:e,productTourTipTargetLayout:t})=>{const a=U(e),o=w(ee(X(t)));return s.jsx(Z,{direction:a,productTourTipTargetLayout:t,children:s.jsx(I,{style:o.pointer,children:s.jsx(W,{direction:a})})})},ee=e=>({size:t})=>g.create({pointer:{marginLeft:e?e-$.width/2-t.spacing.xl:void 0}});try{x.displayName="Pointer",x.__docgenInfo={description:"",displayName:"Pointer",props:{placement:{defaultValue:null,description:"",name:"placement",required:!0,type:{name:"enum",value:[{value:'"above"'},{value:'"after"'},{value:'"before"'},{value:'"below"'}]}},productTourTipTargetLayout:{defaultValue:null,description:"",name:"productTourTipTargetLayout",required:!1,type:{name:"LayoutRectangle"}}}}}catch{}const h=({testID:e,text:t})=>{const a=w(te),o=typeof t=="string"?[t]:t;return s.jsx(A,{accessibilityRole:"text",accessible:!1,style:a.tooltip,testID:`${e}Content`,children:s.jsx(j,{gutter:"sm",children:o.map((r,n)=>s.jsx(B,{color:"inverse",testID:`${e}Paragraph${n}`,variant:"small",children:r},r))})})},te=({color:e,size:t})=>g.create({tooltip:{padding:t.spacing.md,backgroundColor:e.tooltip.background}});try{h.displayName="TooltipContent",h.__docgenInfo={description:"",displayName:"TooltipContent",props:{text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string | string[]"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const _=i.forwardRef(({extraSpace:e,isPositioned:t,leftPosition:a,placement:o,productTourTipTargetLayout:r,fadeIn:n,fadeInDuration:l,startFadeIn:p,...c},u)=>{const{width:v}=D(),f=w(ne({extraSpace:e,isPositioned:t,leftPosition:a,placement:o,productTourTipTargetLayout:r,windowWidth:v}));return n?s.jsx(H,{...c,duration:l,ref:u,shouldAnimate:p,style:f.tooltipWrapper}):s.jsx(I,{...c,ref:u,style:f.tooltipWrapper})}),ne=({extraSpace:e,isPositioned:t,leftPosition:a,placement:o,productTourTipTargetLayout:r,windowWidth:n})=>({size:l,z:p})=>{const c=()=>{if(!r)return{position:"relative"};const u=r.height+(e?l.spacing[e]:0);return{left:-a,right:0,position:"absolute",...o===d.above?{bottom:u}:{top:u}}};return g.create({tooltipWrapper:{display:t?"flex":"none",width:r?n:void 0,paddingHorizontal:r?l.spacing.xl:void 0,...c(),zIndex:p.tooltip}})};try{_.displayName="TooltipWrapper",_.__docgenInfo={description:"",displayName:"TooltipWrapper",props:{extraSpace:{defaultValue:null,description:"Extra space to set between target and tooltip",name:"extraSpace",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},fadeIn:{defaultValue:null,description:"Determines whether the tooltip fades in and out. Default is 300 ms.",name:"fadeIn",required:!1,type:{name:"boolean"}},fadeInDuration:{defaultValue:null,description:"Duration of the fade-in animation in milliseconds, only works when fade = true",name:"fadeInDuration",required:!1,type:{name:"number"}},isPositioned:{defaultValue:null,description:"",name:"isPositioned",required:!0,type:{name:"boolean"}},leftPosition:{defaultValue:null,description:"",name:"leftPosition",required:!0,type:{name:"number"}},placement:{defaultValue:null,description:"",name:"placement",required:!0,type:{name:"enum",value:[{value:'"above"'},{value:'"after"'},{value:'"before"'},{value:'"below"'}]}},productTourTipTargetLayout:{defaultValue:null,description:"",name:"productTourTipTargetLayout",required:!1,type:{name:"LayoutRectangle"}},startFadeIn:{defaultValue:null,description:"",name:"startFadeIn",required:!1,type:{name:"boolean"}}}}}catch{}const ae=()=>C(),oe=e=>{const t=ae();i.useEffect(()=>t.addListener("blur",e),[e,t])},q=i.forwardRef(({accessibilityLabel:e,accessibilityLanguage:t="nl-NL",extraSpace:a,fadeIn:o,fadeInDuration:r,placement:n,productTourTipTargetLayout:l,onPress:p,startFadeIn:c,testID:u,text:v},f)=>{const T=Y(),[F,N]=i.useState(0),[S,P]=i.useState(!1),R=re(!!l),V=i.useRef(null),{layout:b,measureTarget:E}=Q(V);i.useEffect(()=>{b&&z.runAfterInteractions(()=>{N(b.x),P(!0)})},[b]),oe(()=>P(!1));const y=s.jsx(x,{placement:n,productTourTipTargetLayout:l});return s.jsx(I,{collapsable:!1,onLayout:E,ref:V,style:R.container,children:s.jsx(_,{extraSpace:a,fadeIn:o,fadeInDuration:r,isPositioned:S,leftPosition:F,placement:n,productTourTipTargetLayout:l,ref:f,startFadeIn:c,children:s.jsx(L,{accessibilityLabel:e,accessibilityLanguage:t,accessibilityRole:"alert",onPress:p,ref:T,testID:u,children:s.jsxs(M,{children:[n===d.after&&y,s.jsxs(j,{grow:1,children:[n===d.below&&y,s.jsx(h,{testID:u,text:v}),n===d.above&&y]}),n===d.before&&y]})})})})}),re=e=>g.create({container:{position:e?"absolute":void 0}});try{q.displayName="Tooltip",q.__docgenInfo={description:"",displayName:"Tooltip",props:{onPress:{defaultValue:null,description:"",name:"onPress",required:!0,type:{name:"() => void"}},text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string | string[]"}},extraSpace:{defaultValue:null,description:"Extra space to set between target and tooltip",name:"extraSpace",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},fadeIn:{defaultValue:null,description:"Determines whether the tooltip fades in and out. Default is 300 ms.",name:"fadeIn",required:!1,type:{name:"boolean"}},fadeInDuration:{defaultValue:null,description:"Duration of the fade-in animation in milliseconds, only works when fade = true",name:"fadeInDuration",required:!1,type:{name:"number"}},placement:{defaultValue:null,description:"",name:"placement",required:!0,type:{name:"enum",value:[{value:'"above"'},{value:'"after"'},{value:'"before"'},{value:'"below"'}]}},productTourTipTargetLayout:{defaultValue:null,description:"",name:"productTourTipTargetLayout",required:!1,type:{name:"LayoutRectangle"}},startFadeIn:{defaultValue:null,description:"",name:"startFadeIn",required:!1,type:{name:"boolean"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{G as N,q as T,J as a,Q as b,Ve as c,oe as d,O as m,C as u}; +import{j as s}from"./jsx-runtime-Bxcv0yjW.js";import{r as i}from"./index-mfbfsM12.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import{u as D}from"./index-C3bJM-gU.js";import{P as L}from"./PressableBase-CPU35BDr.js";import{T as W,P as $}from"./Triangle-DLWOHDpC.js";import{C as k}from"./Center-CqG4tBOn.js";import{P as d,D as m}from"./types-BJ_48vsK.js";import{u as w}from"./useThemable-BlSbywuP.js";import{V as I}from"./index-BDsvWohO.js";import{s as g}from"./index-CEE--Juu.js";import{S as A}from"./SingleSelectable-Bg8zzmoU.js";import{C as j}from"./Column-BO_nzweR.js";import{P as B}from"./Paragraph-CJTJBOQl.js";import{F as H}from"./Fader-BysHR2L8.js";import{R as M}from"./Row-BY9zY_5g.js";import{u as Y}from"./useAccessibilityFocus-Djl26ZxP.js";import{I as z}from"./Animated-C23eizOh.js";const G=i.createContext(void 0),J=i.createContext(void 0);function C(){const e=i.useContext(G),t=i.useContext(J);if(t===void 0&&e===void 0)throw new Error("Couldn't find a navigation object. Is your component inside NavigationContainer?");return t??e}function K(){const e=C(),[t,a]=i.useState(e.isFocused),o=e.isFocused();return t!==o&&a(o),i.useEffect(()=>{const r=e.addListener("focus",()=>a(!0)),n=e.addListener("blur",()=>a(!1));return()=>{r(),n()}},[e]),i.useDebugValue(o),o}const O=e=>new Promise(t=>{e.measureInWindow((a,o,r,n)=>{t({x:a,height:n,width:r,y:o})})}),Ve=(e,t)=>{const{height:a,y:o}=e,{height:r,y:n}=t;return n>o&&n+r<o+a},Q=e=>{const t=K(),a=D(),[o,r]=i.useState(),n=i.useCallback(()=>{t&&O(e.current).then(({x:l,y:p,width:c,height:u})=>{l===0&&p===0&&c===0&&u===0?setTimeout(n,500):r({x:l,y:p,width:c,height:u})})},[t,e]);return i.useEffect(n,[t,n,a]),{layout:o,measureTarget:n}},U=e=>({[d.above]:m.down,[d.below]:m.up,[d.before]:m.right,[d.after]:m.left})[e],X=e=>e?e.x+e.width/2:0,Z=({children:e,direction:t,productTourTipTargetLayout:a})=>t===m.left||t===m.right||!a?s.jsx(k,{children:e}):s.jsx(s.Fragment,{children:e}),x=({placement:e,productTourTipTargetLayout:t})=>{const a=U(e),o=w(ee(X(t)));return s.jsx(Z,{direction:a,productTourTipTargetLayout:t,children:s.jsx(I,{style:o.pointer,children:s.jsx(W,{direction:a})})})},ee=e=>({size:t})=>g.create({pointer:{marginLeft:e?e-$.width/2-t.spacing.xl:void 0}});try{x.displayName="Pointer",x.__docgenInfo={description:"",displayName:"Pointer",props:{placement:{defaultValue:null,description:"",name:"placement",required:!0,type:{name:"enum",value:[{value:'"above"'},{value:'"after"'},{value:'"before"'},{value:'"below"'}]}},productTourTipTargetLayout:{defaultValue:null,description:"",name:"productTourTipTargetLayout",required:!1,type:{name:"LayoutRectangle"}}}}}catch{}const h=({testID:e,text:t})=>{const a=w(te),o=typeof t=="string"?[t]:t;return s.jsx(A,{accessibilityRole:"text",accessible:!1,style:a.tooltip,testID:`${e}Content`,children:s.jsx(j,{gutter:"sm",children:o.map((r,n)=>s.jsx(B,{color:"inverse",testID:`${e}Paragraph${n}`,variant:"small",children:r},r))})})},te=({color:e,size:t})=>g.create({tooltip:{padding:t.spacing.md,backgroundColor:e.tooltip.background}});try{h.displayName="TooltipContent",h.__docgenInfo={description:"",displayName:"TooltipContent",props:{text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string | string[]"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const _=i.forwardRef(({extraSpace:e,isPositioned:t,leftPosition:a,placement:o,productTourTipTargetLayout:r,fadeIn:n,fadeInDuration:l,startFadeIn:p,...c},u)=>{const{width:v}=D(),f=w(ne({extraSpace:e,isPositioned:t,leftPosition:a,placement:o,productTourTipTargetLayout:r,windowWidth:v}));return n?s.jsx(H,{...c,duration:l,ref:u,shouldAnimate:p,style:f.tooltipWrapper}):s.jsx(I,{...c,ref:u,style:f.tooltipWrapper})}),ne=({extraSpace:e,isPositioned:t,leftPosition:a,placement:o,productTourTipTargetLayout:r,windowWidth:n})=>({size:l,z:p})=>{const c=()=>{if(!r)return{position:"relative"};const u=r.height+(e?l.spacing[e]:0);return{left:-a,right:0,position:"absolute",...o===d.above?{bottom:u}:{top:u}}};return g.create({tooltipWrapper:{display:t?"flex":"none",width:r?n:void 0,paddingHorizontal:r?l.spacing.xl:void 0,...c(),zIndex:p.tooltip}})};try{_.displayName="TooltipWrapper",_.__docgenInfo={description:"",displayName:"TooltipWrapper",props:{extraSpace:{defaultValue:null,description:"Extra space to set between target and tooltip",name:"extraSpace",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},fadeIn:{defaultValue:null,description:"Determines whether the tooltip fades in and out. Default is 300 ms.",name:"fadeIn",required:!1,type:{name:"boolean"}},fadeInDuration:{defaultValue:null,description:"Duration of the fade-in animation in milliseconds, only works when fade = true",name:"fadeInDuration",required:!1,type:{name:"number"}},isPositioned:{defaultValue:null,description:"",name:"isPositioned",required:!0,type:{name:"boolean"}},leftPosition:{defaultValue:null,description:"",name:"leftPosition",required:!0,type:{name:"number"}},placement:{defaultValue:null,description:"",name:"placement",required:!0,type:{name:"enum",value:[{value:'"above"'},{value:'"after"'},{value:'"before"'},{value:'"below"'}]}},productTourTipTargetLayout:{defaultValue:null,description:"",name:"productTourTipTargetLayout",required:!1,type:{name:"LayoutRectangle"}},startFadeIn:{defaultValue:null,description:"",name:"startFadeIn",required:!1,type:{name:"boolean"}}}}}catch{}const ae=()=>C(),oe=e=>{const t=ae();i.useEffect(()=>t.addListener("blur",e),[e,t])},q=i.forwardRef(({accessibilityLabel:e,accessibilityLanguage:t="nl-NL",extraSpace:a,fadeIn:o,fadeInDuration:r,placement:n,productTourTipTargetLayout:l,onPress:p,startFadeIn:c,testID:u,text:v},f)=>{const T=Y(),[F,N]=i.useState(0),[S,P]=i.useState(!1),R=re(!!l),V=i.useRef(null),{layout:b,measureTarget:E}=Q(V);i.useEffect(()=>{b&&z.runAfterInteractions(()=>{N(b.x),P(!0)})},[b]),oe(()=>P(!1));const y=s.jsx(x,{placement:n,productTourTipTargetLayout:l});return s.jsx(I,{collapsable:!1,onLayout:E,ref:V,style:R.container,children:s.jsx(_,{extraSpace:a,fadeIn:o,fadeInDuration:r,isPositioned:S,leftPosition:F,placement:n,productTourTipTargetLayout:l,ref:f,startFadeIn:c,children:s.jsx(L,{accessibilityLabel:e,accessibilityLanguage:t,accessibilityRole:"alert",onPress:p,ref:T,testID:u,children:s.jsxs(M,{children:[n===d.after&&y,s.jsxs(j,{grow:1,children:[n===d.below&&y,s.jsx(h,{testID:u,text:v}),n===d.above&&y]}),n===d.before&&y]})})})})}),re=e=>g.create({container:{position:e?"absolute":void 0}});try{q.displayName="Tooltip",q.__docgenInfo={description:"",displayName:"Tooltip",props:{onPress:{defaultValue:null,description:"",name:"onPress",required:!0,type:{name:"() => void"}},text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string | string[]"}},extraSpace:{defaultValue:null,description:"Extra space to set between target and tooltip",name:"extraSpace",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},fadeIn:{defaultValue:null,description:"Determines whether the tooltip fades in and out. Default is 300 ms.",name:"fadeIn",required:!1,type:{name:"boolean"}},fadeInDuration:{defaultValue:null,description:"Duration of the fade-in animation in milliseconds, only works when fade = true",name:"fadeInDuration",required:!1,type:{name:"number"}},placement:{defaultValue:null,description:"",name:"placement",required:!0,type:{name:"enum",value:[{value:'"above"'},{value:'"after"'},{value:'"before"'},{value:'"below"'}]}},productTourTipTargetLayout:{defaultValue:null,description:"",name:"productTourTipTargetLayout",required:!1,type:{name:"LayoutRectangle"}},startFadeIn:{defaultValue:null,description:"",name:"startFadeIn",required:!1,type:{name:"boolean"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{G as N,q as T,J as a,Q as b,Ve as c,oe as d,O as m,C as u}; diff --git a/assets/Tooltip.stories-DKYi8qHC.js b/assets/Tooltip.stories-C2RLgHhM.js similarity index 74% rename from assets/Tooltip.stories-DKYi8qHC.js rename to assets/Tooltip.stories-C2RLgHhM.js index 831e9254..b7621f76 100644 --- a/assets/Tooltip.stories-DKYi8qHC.js +++ b/assets/Tooltip.stories-C2RLgHhM.js @@ -1,4 +1,4 @@ -import{T as s}from"./Tooltip-Bm0QTu1O.js";import{P as a}from"./types-BJ_48vsK.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-C3bJM-gU.js";import"./PressableBase-CPU35BDr.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./Triangle-Amn4R_mH.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./base-color-CZpuL6yQ.js";import"./Center-CqG4tBOn.js";import"./layoutStyles-DflBxpuh.js";import"./SingleSelectable-Bg8zzmoU.js";import"./Column-DVJ0Grcf.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Paragraph-DkRs_aGj.js";import"./index-BypDj3rK.js";import"./Fader-BysHR2L8.js";import"./index-S14X4tbk.js";import"./index-kJeFfQx-.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./Row-BXpfxHoR.js";import"./useAccessibilityFocus-Djl26ZxP.js";import"./index-iQAZAIR7.js";import"./useIsScreenReaderEnabled-BGYkQQWr.js";import"./duration-A4BOymd5.js";const $={component:s},e={args:{placement:a.below,text:"We gebruiken het adres alleen in de app om u de juiste informatie te tonen. Uw gegevens worden niet gedeeld."}},r={args:{placement:a.below,text:["Tip!","Vul het formulier in en win een parkeervergunning."]}};var t,o,i;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:`{ +import{T as s}from"./Tooltip-DJq4zZXn.js";import{P as a}from"./types-BJ_48vsK.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./development-DYCnWZjk.js";import"./index-C3bJM-gU.js";import"./PressableBase-CPU35BDr.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./index-BDsvWohO.js";import"./Triangle-DLWOHDpC.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./base-color-B2rPH-Aj.js";import"./Center-CqG4tBOn.js";import"./layoutStyles-DflBxpuh.js";import"./SingleSelectable-Bg8zzmoU.js";import"./Column-BO_nzweR.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Paragraph-CJTJBOQl.js";import"./index-BypDj3rK.js";import"./Fader-BysHR2L8.js";import"./index-S14X4tbk.js";import"./index-kJeFfQx-.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./Row-BY9zY_5g.js";import"./useAccessibilityFocus-Djl26ZxP.js";import"./index-iQAZAIR7.js";import"./useIsScreenReaderEnabled-BGYkQQWr.js";import"./duration-A4BOymd5.js";const $={component:s},e={args:{placement:a.below,text:"We gebruiken het adres alleen in de app om u de juiste informatie te tonen. Uw gegevens worden niet gedeeld."}},r={args:{placement:a.below,text:["Tip!","Vul het formulier in en win een parkeervergunning."]}};var t,o,i;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:`{ args: { placement: Placement.below, text: 'We gebruiken het adres alleen in de app om u de juiste informatie te tonen. Uw gegevens worden niet gedeeld.' diff --git a/assets/TopTaskButton.stories-CnV0R1ve.js b/assets/TopTaskButton.stories-B1TFsYwy.js similarity index 93% rename from assets/TopTaskButton.stories-CnV0R1ve.js rename to assets/TopTaskButton.stories-B1TFsYwy.js index cd9f5201..2a418f7c 100644 --- a/assets/TopTaskButton.stories-CnV0R1ve.js +++ b/assets/TopTaskButton.stories-B1TFsYwy.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{H as y}from"./HideFromAccessibility-DFWSEXqq.js";import{P as k}from"./Pressable-HfRmqOUq.js";import{C as x}from"./Column-DVJ0Grcf.js";import{R as o}from"./Row-BXpfxHoR.js";import{I as s}from"./Icon-DcC-yiY8.js";import{P as b}from"./Paragraph-DkRs_aGj.js";import{T as w}from"./Title-9ScEYPym.js";import{u as V}from"./useThemable-CjWxbHxI.js";import{a as T}from"./accessibleText-gmNPjmn1.js";import{V as q}from"./index-BDsvWohO.js";import{s as C}from"./index-CEE--Juu.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./Box-uk0d72u3.js";import"./layoutStyles-DflBxpuh.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./useTheme-CJIBCVMY.js";import"./index-BMk6Tmu2.js";import"./base-color-CZpuL6yQ.js";const r=({isError:a=!1,iconName:p,onPress:d,text:l,title:n,titleIconName:i,testID:t,accessibilityRole:g="button",...f})=>{const h=V(j);return e.jsx(k,{accessibilityLabel:T(n,typeof l=="string"?l:""),accessibilityLanguage:"nl-NL",accessibilityRole:g,onPress:d,testID:t,...f,insetHorizontal:"md",insetVertical:"sm",children:e.jsxs(o,{gutter:"md",children:[e.jsx(q,{style:h.height,children:e.jsx(y,{children:e.jsx(s,{color:"link",name:p,size:"xl",testID:`${t}Icon`})})}),e.jsxs(x,{align:"center",grow:1,shrink:1,children:[e.jsxs(o,{gutter:"sm",valign:"center",children:[e.jsx(w,{color:"link",level:"h5",testID:`${t}Title`,text:n}),!!i&&e.jsx(s,{color:"link",name:i,testID:`${t}TitleIcon`})]}),typeof l=="string"?e.jsx(b,{color:a?"warning":void 0,testID:`${t}Text`,variant:"small",children:l}):l]})]})})},j=({text:a})=>C.create({height:{justifyContent:"center",height:a.lineHeight.h5+a.lineHeight.small}});try{r.displayName="TopTaskButton",r.__docgenInfo={description:"",displayName:"TopTaskButton",props:{iconName:{defaultValue:null,description:"",name:"iconName",required:!0,type:{name:"enum",value:[{value:'"alarm"'},{value:'"alert"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"announcement"'},{value:'"api"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document-text"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"list"'},{value:'"location"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},isError:{defaultValue:{value:"false"},description:"",name:"isError",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"ReactNode"}},title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},titleIconName:{defaultValue:null,description:"",name:"titleIconName",required:!1,type:{name:"enum",value:[{value:'"alarm"'},{value:'"alert"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"announcement"'},{value:'"api"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document-text"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"list"'},{value:'"location"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"",name:"logDimensions",required:!1,type:{name:"Partial<Record<CustomDimensionKeys, string>>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"tertiary"'},{value:'"transparent"'}]}},inset:{defaultValue:null,description:"The amount of inner spacing.",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetHorizontal:{defaultValue:null,description:"The amount of inner spacing at the left and right.",name:"insetHorizontal",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetVertical:{defaultValue:null,description:"The amount of inner spacing at the top and bottom.",name:"insetVertical",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}}}}}catch{}const de={component:r,argTypes:{onPress:{action:"onPress"}}},u={args:{iconName:"email",text:"Reactie binnen 1 werkdag",title:"Contactformulier"}};var v,c,m;u.parameters={...u.parameters,docs:{...(v=u.parameters)==null?void 0:v.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{H as y}from"./HideFromAccessibility-DFWSEXqq.js";import{P as k}from"./Pressable-CwlxP6l-.js";import{C as x}from"./Column-BO_nzweR.js";import{R as o}from"./Row-BY9zY_5g.js";import{I as s}from"./Icon-CHbD1j2W.js";import{P as b}from"./Paragraph-CJTJBOQl.js";import{T as w}from"./Title-Dg8-Cp53.js";import{u as V}from"./useThemable-BlSbywuP.js";import{a as T}from"./accessibleText-gmNPjmn1.js";import{V as q}from"./index-BDsvWohO.js";import{s as C}from"./index-CEE--Juu.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-CPU35BDr.js";import"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import"./index-8JwjhRSi.js";import"./useTrackException-BhQuYC5A.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./development-DYCnWZjk.js";import"./index-5TFaNx6b.js";import"./extends-CF3RwP-h.js";import"./Box-DJu0GgH-.js";import"./layoutStyles-DflBxpuh.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./index-DcZXOGQR.js";import"./index-BypDj3rK.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-C3bJM-gU.js";import"./useTheme-BWbL_sDV.js";import"./index-BMk6Tmu2.js";import"./base-color-B2rPH-Aj.js";const r=({isError:a=!1,iconName:p,onPress:d,text:l,title:n,titleIconName:i,testID:t,accessibilityRole:g="button",...f})=>{const h=V(j);return e.jsx(k,{accessibilityLabel:T(n,typeof l=="string"?l:""),accessibilityLanguage:"nl-NL",accessibilityRole:g,onPress:d,testID:t,...f,insetHorizontal:"md",insetVertical:"sm",children:e.jsxs(o,{gutter:"md",children:[e.jsx(q,{style:h.height,children:e.jsx(y,{children:e.jsx(s,{color:"link",name:p,size:"xl",testID:`${t}Icon`})})}),e.jsxs(x,{align:"center",grow:1,shrink:1,children:[e.jsxs(o,{gutter:"sm",valign:"center",children:[e.jsx(w,{color:"link",level:"h5",testID:`${t}Title`,text:n}),!!i&&e.jsx(s,{color:"link",name:i,testID:`${t}TitleIcon`})]}),typeof l=="string"?e.jsx(b,{color:a?"warning":void 0,testID:`${t}Text`,variant:"small",children:l}):l]})]})})},j=({text:a})=>C.create({height:{justifyContent:"center",height:a.lineHeight.h5+a.lineHeight.small}});try{r.displayName="TopTaskButton",r.__docgenInfo={description:"",displayName:"TopTaskButton",props:{iconName:{defaultValue:null,description:"",name:"iconName",required:!0,type:{name:"enum",value:[{value:'"alarm"'},{value:'"alert"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"announcement"'},{value:'"api"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document-text"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"list"'},{value:'"location"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},isError:{defaultValue:{value:"false"},description:"",name:"isError",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"ReactNode"}},title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},titleIconName:{defaultValue:null,description:"",name:"titleIconName",required:!1,type:{name:"enum",value:[{value:'"alarm"'},{value:'"alert"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"announcement"'},{value:'"api"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document-text"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"list"'},{value:'"location"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"",name:"logDimensions",required:!1,type:{name:"Partial<Record<CustomDimensionKeys, string>>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"tertiary"'},{value:'"transparent"'}]}},inset:{defaultValue:null,description:"The amount of inner spacing.",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetHorizontal:{defaultValue:null,description:"The amount of inner spacing at the left and right.",name:"insetHorizontal",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetVertical:{defaultValue:null,description:"The amount of inner spacing at the top and bottom.",name:"insetVertical",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}}}}}catch{}const de={component:r,argTypes:{onPress:{action:"onPress"}}},u={args:{iconName:"email",text:"Reactie binnen 1 werkdag",title:"Contactformulier"}};var v,c,m;u.parameters={...u.parameters,docs:{...(v=u.parameters)==null?void 0:v.docs,source:{originalSource:`{ args: { iconName: 'email', text: 'Reactie binnen 1 werkdag', diff --git a/assets/Trait.stories-DfStrMlO.js b/assets/Trait.stories-CB0kGP0Z.js similarity index 90% rename from assets/Trait.stories-DfStrMlO.js rename to assets/Trait.stories-CB0kGP0Z.js index 9563742b..7b62d232 100644 --- a/assets/Trait.stories-DfStrMlO.js +++ b/assets/Trait.stories-CB0kGP0Z.js @@ -1,4 +1,4 @@ -import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{B as g}from"./Badge-CZ5nSfIQ.js";import{R as f}from"./Row-BXpfxHoR.js";import{I as y}from"./Icon-DcC-yiY8.js";import{P as b}from"./Phrase-t0rOiClQ.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./index-C3bJM-gU.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-CZpuL6yQ.js";import"./index-BDsvWohO.js";import"./index-BypDj3rK.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./extends-CF3RwP-h.js";import"./index-DcZXOGQR.js";import"./types-BJ_48vsK.js";import"./useTheme-CJIBCVMY.js";const l=({accessibilityLabel:r,accessibilityLanguage:v="nl-NL",children:d,iconName:i,label:h,testID:o})=>a.jsxs(f,{gutter:"sm",valign:"center",children:[i?a.jsx(y,{name:i,testID:`${o}Icon`}):d,a.jsx(b,{accessibilityLabel:r,accessibilityLanguage:v,testID:`${o}Label`,variant:"small",children:h})]});try{l.displayName="Trait",l.__docgenInfo={description:"",displayName:"Trait",props:{accessibilityLabel:{defaultValue:null,description:"",name:"accessibilityLabel",required:!1,type:{name:"string"}},accessibilityLanguage:{defaultValue:{value:"nl-NL"},description:"",name:"accessibilityLanguage",required:!1,type:{name:"string"}},children:{defaultValue:null,description:`Allows a custom visualization for the trait. +import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{B as g}from"./Badge-CVvYwvd7.js";import{R as f}from"./Row-BY9zY_5g.js";import{I as y}from"./Icon-CHbD1j2W.js";import{P as b}from"./Phrase-CsqFctWr.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useDeviceContext-DGl4H2w7.js";import"./index-Bcpfmd17.js";import"./NativeEventEmitter-Cj1pQcwn.js";import"./index-DOpK3Ow6.js";import"./TextAncestorContext-Cvz4PlE2.js";import"./index-CEE--Juu.js";import"./index-C3bJM-gU.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-BDsvWohO.js";import"./index-BypDj3rK.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./Animated-C23eizOh.js";import"./extends-CF3RwP-h.js";import"./index-DcZXOGQR.js";import"./types-BJ_48vsK.js";import"./useTheme-BWbL_sDV.js";const l=({accessibilityLabel:r,accessibilityLanguage:v="nl-NL",children:d,iconName:i,label:h,testID:o})=>a.jsxs(f,{gutter:"sm",valign:"center",children:[i?a.jsx(y,{name:i,testID:`${o}Icon`}):d,a.jsx(b,{accessibilityLabel:r,accessibilityLanguage:v,testID:`${o}Label`,variant:"small",children:h})]});try{l.displayName="Trait",l.__docgenInfo={description:"",displayName:"Trait",props:{accessibilityLabel:{defaultValue:null,description:"",name:"accessibilityLabel",required:!1,type:{name:"string"}},accessibilityLanguage:{defaultValue:{value:"nl-NL"},description:"",name:"accessibilityLanguage",required:!1,type:{name:"string"}},children:{defaultValue:null,description:`Allows a custom visualization for the trait. Use a small component here. Not rendered if an icon name is provided.`,name:"children",required:!1,type:{name:"ReactNode"}},iconName:{defaultValue:null,description:"The name of the icon to visually support the trait label.",name:"iconName",required:!1,type:{name:"enum",value:[{value:'"alarm"'},{value:'"alert"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"announcement"'},{value:'"api"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document-text"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"list"'},{value:'"location"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},label:{defaultValue:null,description:`The label identifying the trait. Should be one or a few words.`,name:"label",required:!0,type:{name:"string"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const M={component:l},e=r=>a.jsx(l,{...r,iconName:"location"});e.args={label:"123 meter"};const t={args:{children:a.jsx(g,{testID:"Badge",value:7}),label:"berichten"}};var n,s,u;e.parameters={...e.parameters,docs:{...(n=e.parameters)==null?void 0:n.docs,source:{originalSource:'args => <Trait {...args} iconName="location" />',...(u=(s=e.parameters)==null?void 0:s.docs)==null?void 0:u.source}}};var c,m,p;t.parameters={...t.parameters,docs:{...(c=t.parameters)==null?void 0:c.docs,source:{originalSource:`{ args: { diff --git a/assets/Triangle-Amn4R_mH.js b/assets/Triangle-DLWOHDpC.js similarity index 95% rename from assets/Triangle-Amn4R_mH.js rename to assets/Triangle-DLWOHDpC.js index f22b0de7..209b11a3 100644 --- a/assets/Triangle-Amn4R_mH.js +++ b/assets/Triangle-DLWOHDpC.js @@ -1 +1 @@ -import{j as n}from"./jsx-runtime-Bxcv0yjW.js";import{r as c}from"./index-mfbfsM12.js";import{S as m,P as $}from"./index-DYSHDArR.js";import{D as o}from"./types-BJ_48vsK.js";import{u as i}from"./useThemable-CjWxbHxI.js";import{s as f}from"./index-CEE--Juu.js";var s=(a=>(a[a.height=16]="height",a[a.width=32]="width",a))(s||{});const t=({direction:a,height:r=s.height,width:e=s.width})=>{const l=i(d),u=[o.up,o.down].includes(a)?`0 0 ${e} ${r}`:`0 0 ${r} ${e}`,p=c.useMemo(()=>({[o.up]:`M ${e/2} 0 L ${e} ${r} L 0 ${r} L ${e/2} 0`,[o.down]:`M ${e/2} ${r} L 0 0 L ${e} 0 L ${e/2} ${r}`,[o.left]:`M 0 ${e/2} L ${r} 0 L ${r} ${e} L 0 ${e/2}`,[o.right]:`M ${r} ${e/2} L 0 0 L 0 ${e} L ${r} ${e/2}`}),[r,e]);return n.jsx(m,{height:r,style:v.svg,viewBox:u,width:e,children:n.jsx($,{d:p[a],...l})})},d=({color:a})=>({fill:a.tooltip.background}),v=f.create({svg:{margin:-.5}});try{t.displayName="Triangle",t.__docgenInfo={description:"",displayName:"Triangle",props:{direction:{defaultValue:null,description:"",name:"direction",required:!0,type:{name:"enum",value:[{value:'"down"'},{value:'"left"'},{value:'"right"'},{value:'"up"'}]}},height:{defaultValue:{value:"PointerDimension.height"},description:"",name:"height",required:!1,type:{name:"number"}},width:{defaultValue:{value:"PointerDimension.width"},description:"",name:"width",required:!1,type:{name:"number"}}}}}catch{}export{s as P,t as T}; +import{j as n}from"./jsx-runtime-Bxcv0yjW.js";import{r as c}from"./index-mfbfsM12.js";import{S as m,P as $}from"./index-DYSHDArR.js";import{D as o}from"./types-BJ_48vsK.js";import{u as i}from"./useThemable-BlSbywuP.js";import{s as f}from"./index-CEE--Juu.js";var s=(a=>(a[a.height=16]="height",a[a.width=32]="width",a))(s||{});const t=({direction:a,height:r=s.height,width:e=s.width})=>{const l=i(d),u=[o.up,o.down].includes(a)?`0 0 ${e} ${r}`:`0 0 ${r} ${e}`,p=c.useMemo(()=>({[o.up]:`M ${e/2} 0 L ${e} ${r} L 0 ${r} L ${e/2} 0`,[o.down]:`M ${e/2} ${r} L 0 0 L ${e} 0 L ${e/2} ${r}`,[o.left]:`M 0 ${e/2} L ${r} 0 L ${r} ${e} L 0 ${e/2}`,[o.right]:`M ${r} ${e/2} L 0 0 L 0 ${e} L ${r} ${e/2}`}),[r,e]);return n.jsx(m,{height:r,style:v.svg,viewBox:u,width:e,children:n.jsx($,{d:p[a],...l})})},d=({color:a})=>({fill:a.tooltip.background}),v=f.create({svg:{margin:-.5}});try{t.displayName="Triangle",t.__docgenInfo={description:"",displayName:"Triangle",props:{direction:{defaultValue:null,description:"",name:"direction",required:!0,type:{name:"enum",value:[{value:'"down"'},{value:'"left"'},{value:'"right"'},{value:'"up"'}]}},height:{defaultValue:{value:"PointerDimension.height"},description:"",name:"height",required:!1,type:{name:"number"}},width:{defaultValue:{value:"PointerDimension.width"},description:"",name:"width",required:!1,type:{name:"number"}}}}}catch{}export{s as P,t as T}; diff --git a/assets/Triangle.stories-nI2t4-zG.js b/assets/Triangle.stories-CKiGVaKY.js similarity index 65% rename from assets/Triangle.stories-nI2t4-zG.js rename to assets/Triangle.stories-CKiGVaKY.js index 1d009c86..b91026f2 100644 --- a/assets/Triangle.stories-nI2t4-zG.js +++ b/assets/Triangle.stories-CKiGVaKY.js @@ -1,4 +1,4 @@ -import{T as e}from"./Triangle-Amn4R_mH.js";import{D as a}from"./types-BJ_48vsK.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./index-CEE--Juu.js";import"./useThemable-CjWxbHxI.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-CZpuL6yQ.js";const _={component:e},r={args:{direction:a.right}};var o,t,i;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{ +import{T as e}from"./Triangle-DLWOHDpC.js";import{D as a}from"./types-BJ_48vsK.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-DYSHDArR.js";import"./index-Dk74W0Oi.js";import"./index-CEE--Juu.js";import"./useThemable-BlSbywuP.js";import"./index-BMk6Tmu2.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";const _={component:e},r={args:{direction:a.right}};var o,t,i;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{ args: { direction: Direction.right } diff --git a/assets/base-color-CZpuL6yQ.js b/assets/base-color-B2rPH-Aj.js similarity index 85% rename from assets/base-color-CZpuL6yQ.js rename to assets/base-color-B2rPH-Aj.js index f9d87c4a..07c638a7 100644 --- a/assets/base-color-CZpuL6yQ.js +++ b/assets/base-color-B2rPH-Aj.js @@ -1 +1 @@ -const e={primary:{black:"#000000",blue:"#004699",red:"#ec0000",white:"#ffffff"},neutral:{grey1:"#E8E8E8",grey2:"#BEBEBE",grey3:"#767676",grey4:"#323232"},secondary:{darkgreen:"#00a03c",lightgreen:"#bed200",orange:"#ff9100",magenta:"#e50082",purple:"#a00078",yellow:"#ffe600",darkblue:"#102E62"},custom:{grey0:"#f3f5f7"},transparent:{full:"transparent",white30:"#ffffff4c",grey50:"#46464680",black90:"#000000e6",blue25:"#00469940"}};export{e as b}; +const e={primary:{black:"#000000",blue:"#004699",red:"#ec0000",white:"#ffffff"},neutral:{grey1:"#E8E8E8",grey2:"#BEBEBE",grey3:"#767676",grey4:"#323232"},secondary:{darkgreen:"#00a03c",lightgreen:"#bed200",orange:"#ff9100",magenta:"#e50082",purple:"#a00078",yellow:"#ffe600",darkblue:"#102E62"},custom:{grey0:"#ebeff5"},transparent:{full:"transparent",white30:"#ffffff4c",grey50:"#46464680",black90:"#000000e6",blue25:"#00469940"}};export{e as b}; diff --git a/assets/entry-preview-BLv4HfPv.js b/assets/entry-preview-C_WRW1gc.js similarity index 99% rename from assets/entry-preview-BLv4HfPv.js rename to assets/entry-preview-C_WRW1gc.js index 87936de3..6d03a47b 100644 --- a/assets/entry-preview-BLv4HfPv.js +++ b/assets/entry-preview-C_WRW1gc.js @@ -1,5 +1,5 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./react-18-CiRR_loB.js","./index-mfbfsM12.js","./_commonjsHelpers-BosuxZz1.js","./client-DDXjyz62.js","./index-BMk6Tmu2.js"])))=>i.map(i=>d[i]); -import{_ as Ut}from"./iframe-DRbcjd5I.js";import{_ as kt}from"./chunk-H6MOWX77-DTQOW814.js";import{r as k,R as B}from"./index-mfbfsM12.js";import{g as Ft}from"./_commonjsHelpers-BosuxZz1.js";import{r as Gt}from"./index-BMk6Tmu2.js";import"../sb-preview/runtime.js";var Ne={exports:{}};const jt="2.0.0",ut=256,Mt=Number.MAX_SAFE_INTEGER||9007199254740991,Xt=16,Vt=ut-6,xt=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var ie={MAX_LENGTH:ut,MAX_SAFE_COMPONENT_LENGTH:Xt,MAX_SAFE_BUILD_LENGTH:Vt,MAX_SAFE_INTEGER:Mt,RELEASE_TYPES:xt,SEMVER_SPEC_VERSION:jt,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},Ee={NODE_ENV:'"production"'};const Yt=typeof process=="object"&&Ee&&Ee.NODE_DEBUG&&/\bsemver\b/i.test(Ee.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var oe=Yt;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:o}=ie,a=oe;t=e.exports={};const l=t.re=[],u=t.safeRe=[],i=t.src=[],s=t.t={};let f=0;const p="[a-zA-Z0-9-]",L=[["\\s",1],["\\d",o],[p,n]],d=F=>{for(const[D,G]of L)F=F.split(`${D}*`).join(`${D}{0,${G}}`).split(`${D}+`).join(`${D}{1,${G}}`);return F},R=(F,D,G)=>{const pe=d(D),T=f++;a(F,T,D),s[F]=T,i[T]=D,l[T]=new RegExp(D,G?"g":void 0),u[T]=new RegExp(pe,G?"g":void 0)};R("NUMERICIDENTIFIER","0|[1-9]\\d*"),R("NUMERICIDENTIFIERLOOSE","\\d+"),R("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`),R("MAINVERSION",`(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})`),R("MAINVERSIONLOOSE",`(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})`),R("PRERELEASEIDENTIFIER",`(?:${i[s.NUMERICIDENTIFIER]}|${i[s.NONNUMERICIDENTIFIER]})`),R("PRERELEASEIDENTIFIERLOOSE",`(?:${i[s.NUMERICIDENTIFIERLOOSE]}|${i[s.NONNUMERICIDENTIFIER]})`),R("PRERELEASE",`(?:-(${i[s.PRERELEASEIDENTIFIER]}(?:\\.${i[s.PRERELEASEIDENTIFIER]})*))`),R("PRERELEASELOOSE",`(?:-?(${i[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[s.PRERELEASEIDENTIFIERLOOSE]})*))`),R("BUILDIDENTIFIER",`${p}+`),R("BUILD",`(?:\\+(${i[s.BUILDIDENTIFIER]}(?:\\.${i[s.BUILDIDENTIFIER]})*))`),R("FULLPLAIN",`v?${i[s.MAINVERSION]}${i[s.PRERELEASE]}?${i[s.BUILD]}?`),R("FULL",`^${i[s.FULLPLAIN]}$`),R("LOOSEPLAIN",`[v=\\s]*${i[s.MAINVERSIONLOOSE]}${i[s.PRERELEASELOOSE]}?${i[s.BUILD]}?`),R("LOOSE",`^${i[s.LOOSEPLAIN]}$`),R("GTLT","((?:<|>)?=?)"),R("XRANGEIDENTIFIERLOOSE",`${i[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),R("XRANGEIDENTIFIER",`${i[s.NUMERICIDENTIFIER]}|x|X|\\*`),R("XRANGEPLAIN",`[v=\\s]*(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:${i[s.PRERELEASE]})?${i[s.BUILD]}?)?)?`),R("XRANGEPLAINLOOSE",`[v=\\s]*(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:${i[s.PRERELEASELOOSE]})?${i[s.BUILD]}?)?)?`),R("XRANGE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAIN]}$`),R("XRANGELOOSE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAINLOOSE]}$`),R("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),R("COERCE",`${i[s.COERCEPLAIN]}(?:$|[^\\d])`),R("COERCEFULL",i[s.COERCEPLAIN]+`(?:${i[s.PRERELEASE]})?(?:${i[s.BUILD]})?(?:$|[^\\d])`),R("COERCERTL",i[s.COERCE],!0),R("COERCERTLFULL",i[s.COERCEFULL],!0),R("LONETILDE","(?:~>?)"),R("TILDETRIM",`(\\s*)${i[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",R("TILDE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAIN]}$`),R("TILDELOOSE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAINLOOSE]}$`),R("LONECARET","(?:\\^)"),R("CARETTRIM",`(\\s*)${i[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",R("CARET",`^${i[s.LONECARET]}${i[s.XRANGEPLAIN]}$`),R("CARETLOOSE",`^${i[s.LONECARET]}${i[s.XRANGEPLAINLOOSE]}$`),R("COMPARATORLOOSE",`^${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]})$|^$`),R("COMPARATOR",`^${i[s.GTLT]}\\s*(${i[s.FULLPLAIN]})$|^$`),R("COMPARATORTRIM",`(\\s*)${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]}|${i[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",R("HYPHENRANGE",`^\\s*(${i[s.XRANGEPLAIN]})\\s+-\\s+(${i[s.XRANGEPLAIN]})\\s*$`),R("HYPHENRANGELOOSE",`^\\s*(${i[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[s.XRANGEPLAINLOOSE]})\\s*$`),R("STAR","(<|>)?=?\\s*\\*"),R("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),R("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(Ne,Ne.exports);var q=Ne.exports;const Wt=Object.freeze({loose:!0}),Ht=Object.freeze({}),Bt=e=>e?typeof e!="object"?Wt:e:Ht;var Oe=Bt;const Ge=/^[0-9]+$/,ft=(e,t)=>{const r=Ge.test(e),n=Ge.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1},Kt=(e,t)=>ft(t,e);var ht={compareIdentifiers:ft,rcompareIdentifiers:Kt};const J=oe,{MAX_LENGTH:je,MAX_SAFE_INTEGER:Q}=ie,{safeRe:Me,t:Xe}=q,qt=Oe,{compareIdentifiers:M}=ht;let zt=class U{constructor(t,r){if(r=qt(r),t instanceof U){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>je)throw new TypeError(`version is longer than ${je} characters`);J("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;const n=t.trim().match(r.loose?Me[Xe.LOOSE]:Me[Xe.FULL]);if(!n)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Q||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Q||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Q||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(o=>{if(/^[0-9]+$/.test(o)){const a=+o;if(a>=0&&a<Q)return a}return o}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(J("SemVer.compare",this.version,this.options,t),!(t instanceof U)){if(typeof t=="string"&&t===this.version)return 0;t=new U(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof U||(t=new U(t,this.options)),M(this.major,t.major)||M(this.minor,t.minor)||M(this.patch,t.patch)}comparePre(t){if(t instanceof U||(t=new U(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{const n=this.prerelease[r],o=t.prerelease[r];if(J("prerelease compare",r,n,o),n===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(n===void 0)return-1;if(n===o)continue;return M(n,o)}while(++r)}compareBuild(t){t instanceof U||(t=new U(t,this.options));let r=0;do{const n=this.build[r],o=t.build[r];if(J("build compare",r,n,o),n===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(n===void 0)return-1;if(n===o)continue;return M(n,o)}while(++r)}inc(t,r,n){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const o=Number(n)?1:0;if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[o];else{let a=this.prerelease.length;for(;--a>=0;)typeof this.prerelease[a]=="number"&&(this.prerelease[a]++,a=-2);if(a===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(o)}}if(r){let a=[r,o];n===!1&&(a=[r]),M(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=a):this.prerelease=a}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var y=zt;const Ve=y,Zt=(e,t,r=!1)=>{if(e instanceof Ve)return e;try{return new Ve(e,t)}catch(n){if(!r)return null;throw n}};var X=Zt;const Jt=X,Qt=(e,t)=>{const r=Jt(e,t);return r?r.version:null};var er=Qt;const tr=X,rr=(e,t)=>{const r=tr(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};var nr=rr;const xe=y,sr=(e,t,r,n,o)=>{typeof r=="string"&&(o=n,n=r,r=void 0);try{return new xe(e instanceof xe?e.version:e,r).inc(t,n,o).version}catch{return null}};var ir=sr;const Ye=X,or=(e,t)=>{const r=Ye(e,null,!0),n=Ye(t,null,!0),o=r.compare(n);if(o===0)return null;const a=o>0,l=a?r:n,u=a?n:r,i=!!l.prerelease.length;if(!!u.prerelease.length&&!i)return!u.patch&&!u.minor?"major":l.patch?"patch":l.minor?"minor":"major";const f=i?"pre":"";return r.major!==n.major?f+"major":r.minor!==n.minor?f+"minor":r.patch!==n.patch?f+"patch":"prerelease"};var ar=or;const lr=y,cr=(e,t)=>new lr(e,t).major;var ur=cr;const fr=y,hr=(e,t)=>new fr(e,t).minor;var pr=hr;const Er=y,mr=(e,t)=>new Er(e,t).patch;var dr=mr;const $r=X,Rr=(e,t)=>{const r=$r(e,t);return r&&r.prerelease.length?r.prerelease:null};var vr=Rr;const We=y,Ir=(e,t,r)=>new We(e,r).compare(new We(t,r));var P=Ir;const gr=P,Lr=(e,t,r)=>gr(t,e,r);var wr=Lr;const Nr=P,Tr=(e,t)=>Nr(e,t,!0);var Or=Tr;const He=y,Sr=(e,t,r)=>{const n=new He(e,r),o=new He(t,r);return n.compare(o)||n.compareBuild(o)};var Se=Sr;const yr=Se,Ar=(e,t)=>e.sort((r,n)=>yr(r,n,t));var Cr=Ar;const _r=Se,Dr=(e,t)=>e.sort((r,n)=>_r(n,r,t));var Pr=Dr;const br=P,Ur=(e,t,r)=>br(e,t,r)>0;var ae=Ur;const kr=P,Fr=(e,t,r)=>kr(e,t,r)<0;var ye=Fr;const Gr=P,jr=(e,t,r)=>Gr(e,t,r)===0;var pt=jr;const Mr=P,Xr=(e,t,r)=>Mr(e,t,r)!==0;var Et=Xr;const Vr=P,xr=(e,t,r)=>Vr(e,t,r)>=0;var Ae=xr;const Yr=P,Wr=(e,t,r)=>Yr(e,t,r)<=0;var Ce=Wr;const Hr=pt,Br=Et,Kr=ae,qr=Ae,zr=ye,Zr=Ce,Jr=(e,t,r,n)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return Hr(e,r,n);case"!=":return Br(e,r,n);case">":return Kr(e,r,n);case">=":return qr(e,r,n);case"<":return zr(e,r,n);case"<=":return Zr(e,r,n);default:throw new TypeError(`Invalid operator: ${t}`)}};var mt=Jr;const Qr=y,en=X,{safeRe:ee,t:te}=q,tn=(e,t)=>{if(e instanceof Qr)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let r=null;if(!t.rtl)r=e.match(t.includePrerelease?ee[te.COERCEFULL]:ee[te.COERCE]);else{const i=t.includePrerelease?ee[te.COERCERTLFULL]:ee[te.COERCERTL];let s;for(;(s=i.exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||s.index+s[0].length!==r.index+r[0].length)&&(r=s),i.lastIndex=s.index+s[1].length+s[2].length;i.lastIndex=-1}if(r===null)return null;const n=r[2],o=r[3]||"0",a=r[4]||"0",l=t.includePrerelease&&r[5]?`-${r[5]}`:"",u=t.includePrerelease&&r[6]?`+${r[6]}`:"";return en(`${n}.${o}.${a}${l}${u}`,t)};var rn=tn;class nn{constructor(){this.max=1e3,this.map=new Map}get(t){const r=this.map.get(t);if(r!==void 0)return this.map.delete(t),this.map.set(t,r),r}delete(t){return this.map.delete(t)}set(t,r){if(!this.delete(t)&&r!==void 0){if(this.map.size>=this.max){const o=this.map.keys().next().value;this.delete(o)}this.map.set(t,r)}return this}}var sn=nn,me,Be;function b(){if(Be)return me;Be=1;const e=/\s+/g;class t{constructor(c,$){if($=o($),c instanceof t)return c.loose===!!$.loose&&c.includePrerelease===!!$.includePrerelease?c:new t(c.raw,$);if(c instanceof a)return this.raw=c.value,this.set=[[c]],this.formatted=void 0,this;if(this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease,this.raw=c.trim().replace(e," "),this.set=this.raw.split("||").map(E=>this.parseRange(E.trim())).filter(E=>E.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const E=this.set[0];if(this.set=this.set.filter(v=>!F(v[0])),this.set.length===0)this.set=[E];else if(this.set.length>1){for(const v of this.set)if(v.length===1&&D(v[0])){this.set=[v];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let c=0;c<this.set.length;c++){c>0&&(this.formatted+="||");const $=this.set[c];for(let E=0;E<$.length;E++)E>0&&(this.formatted+=" "),this.formatted+=$[E].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(c){const E=((this.options.includePrerelease&&d)|(this.options.loose&&R))+":"+c,v=n.get(E);if(v)return v;const m=this.options.loose,I=m?i[s.HYPHENRANGELOOSE]:i[s.HYPHENRANGE];c=c.replace(I,Pt(this.options.includePrerelease)),l("hyphen replace",c),c=c.replace(i[s.COMPARATORTRIM],f),l("comparator trim",c),c=c.replace(i[s.TILDETRIM],p),l("tilde trim",c),c=c.replace(i[s.CARETTRIM],L),l("caret trim",c);let w=c.split(" ").map(O=>pe(O,this.options)).join(" ").split(/\s+/).map(O=>Dt(O,this.options));m&&(w=w.filter(O=>(l("loose invalid filter",O,this.options),!!O.match(i[s.COMPARATORLOOSE])))),l("range list",w);const g=new Map,N=w.map(O=>new a(O,this.options));for(const O of N){if(F(O))return[O];g.set(O.value,O)}g.size>1&&g.has("")&&g.delete("");const C=[...g.values()];return n.set(E,C),C}intersects(c,$){if(!(c instanceof t))throw new TypeError("a Range is required");return this.set.some(E=>G(E,$)&&c.set.some(v=>G(v,$)&&E.every(m=>v.every(I=>m.intersects(I,$)))))}test(c){if(!c)return!1;if(typeof c=="string")try{c=new u(c,this.options)}catch{return!1}for(let $=0;$<this.set.length;$++)if(bt(this.set[$],c,this.options))return!0;return!1}}me=t;const r=sn,n=new r,o=Oe,a=le(),l=oe,u=y,{safeRe:i,t:s,comparatorTrimReplace:f,tildeTrimReplace:p,caretTrimReplace:L}=q,{FLAG_INCLUDE_PRERELEASE:d,FLAG_LOOSE:R}=ie,F=h=>h.value==="<0.0.0-0",D=h=>h.value==="",G=(h,c)=>{let $=!0;const E=h.slice();let v=E.pop();for(;$&&E.length;)$=E.every(m=>v.intersects(m,c)),v=E.pop();return $},pe=(h,c)=>(l("comp",h,c),h=St(h,c),l("caret",h),h=Tt(h,c),l("tildes",h),h=At(h,c),l("xrange",h),h=_t(h,c),l("stars",h),h),T=h=>!h||h.toLowerCase()==="x"||h==="*",Tt=(h,c)=>h.trim().split(/\s+/).map($=>Ot($,c)).join(" "),Ot=(h,c)=>{const $=c.loose?i[s.TILDELOOSE]:i[s.TILDE];return h.replace($,(E,v,m,I,w)=>{l("tilde",h,E,v,m,I,w);let g;return T(v)?g="":T(m)?g=`>=${v}.0.0 <${+v+1}.0.0-0`:T(I)?g=`>=${v}.${m}.0 <${v}.${+m+1}.0-0`:w?(l("replaceTilde pr",w),g=`>=${v}.${m}.${I}-${w} <${v}.${+m+1}.0-0`):g=`>=${v}.${m}.${I} <${v}.${+m+1}.0-0`,l("tilde return",g),g})},St=(h,c)=>h.trim().split(/\s+/).map($=>yt($,c)).join(" "),yt=(h,c)=>{l("caret",h,c);const $=c.loose?i[s.CARETLOOSE]:i[s.CARET],E=c.includePrerelease?"-0":"";return h.replace($,(v,m,I,w,g)=>{l("caret",h,v,m,I,w,g);let N;return T(m)?N="":T(I)?N=`>=${m}.0.0${E} <${+m+1}.0.0-0`:T(w)?m==="0"?N=`>=${m}.${I}.0${E} <${m}.${+I+1}.0-0`:N=`>=${m}.${I}.0${E} <${+m+1}.0.0-0`:g?(l("replaceCaret pr",g),m==="0"?I==="0"?N=`>=${m}.${I}.${w}-${g} <${m}.${I}.${+w+1}-0`:N=`>=${m}.${I}.${w}-${g} <${m}.${+I+1}.0-0`:N=`>=${m}.${I}.${w}-${g} <${+m+1}.0.0-0`):(l("no pr"),m==="0"?I==="0"?N=`>=${m}.${I}.${w}${E} <${m}.${I}.${+w+1}-0`:N=`>=${m}.${I}.${w}${E} <${m}.${+I+1}.0-0`:N=`>=${m}.${I}.${w} <${+m+1}.0.0-0`),l("caret return",N),N})},At=(h,c)=>(l("replaceXRanges",h,c),h.split(/\s+/).map($=>Ct($,c)).join(" ")),Ct=(h,c)=>{h=h.trim();const $=c.loose?i[s.XRANGELOOSE]:i[s.XRANGE];return h.replace($,(E,v,m,I,w,g)=>{l("xRange",h,E,v,m,I,w,g);const N=T(m),C=N||T(I),O=C||T(w),Y=O;return v==="="&&Y&&(v=""),g=c.includePrerelease?"-0":"",N?v===">"||v==="<"?E="<0.0.0-0":E="*":v&&Y?(C&&(I=0),w=0,v===">"?(v=">=",C?(m=+m+1,I=0,w=0):(I=+I+1,w=0)):v==="<="&&(v="<",C?m=+m+1:I=+I+1),v==="<"&&(g="-0"),E=`${v+m}.${I}.${w}${g}`):C?E=`>=${m}.0.0${g} <${+m+1}.0.0-0`:O&&(E=`>=${m}.${I}.0${g} <${m}.${+I+1}.0-0`),l("xRange return",E),E})},_t=(h,c)=>(l("replaceStars",h,c),h.trim().replace(i[s.STAR],"")),Dt=(h,c)=>(l("replaceGTE0",h,c),h.trim().replace(i[c.includePrerelease?s.GTE0PRE:s.GTE0],"")),Pt=h=>(c,$,E,v,m,I,w,g,N,C,O,Y)=>(T(E)?$="":T(v)?$=`>=${E}.0.0${h?"-0":""}`:T(m)?$=`>=${E}.${v}.0${h?"-0":""}`:I?$=`>=${$}`:$=`>=${$}${h?"-0":""}`,T(N)?g="":T(C)?g=`<${+N+1}.0.0-0`:T(O)?g=`<${N}.${+C+1}.0-0`:Y?g=`<=${N}.${C}.${O}-${Y}`:h?g=`<${N}.${C}.${+O+1}-0`:g=`<=${g}`,`${$} ${g}`.trim()),bt=(h,c,$)=>{for(let E=0;E<h.length;E++)if(!h[E].test(c))return!1;if(c.prerelease.length&&!$.includePrerelease){for(let E=0;E<h.length;E++)if(l(h[E].semver),h[E].semver!==a.ANY&&h[E].semver.prerelease.length>0){const v=h[E].semver;if(v.major===c.major&&v.minor===c.minor&&v.patch===c.patch)return!0}return!1}return!0};return me}var de,Ke;function le(){if(Ke)return de;Ke=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(f,p){if(p=r(p),f instanceof t){if(f.loose===!!p.loose)return f;f=f.value}f=f.trim().split(/\s+/).join(" "),l("comparator",f,p),this.options=p,this.loose=!!p.loose,this.parse(f),this.semver===e?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(f){const p=this.options.loose?n[o.COMPARATORLOOSE]:n[o.COMPARATOR],L=f.match(p);if(!L)throw new TypeError(`Invalid comparator: ${f}`);this.operator=L[1]!==void 0?L[1]:"",this.operator==="="&&(this.operator=""),L[2]?this.semver=new u(L[2],this.options.loose):this.semver=e}toString(){return this.value}test(f){if(l("Comparator.test",f,this.options.loose),this.semver===e||f===e)return!0;if(typeof f=="string")try{f=new u(f,this.options)}catch{return!1}return a(f,this.operator,this.semver,this.options)}intersects(f,p){if(!(f instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new i(f.value,p).test(this.value):f.operator===""?f.value===""?!0:new i(this.value,p).test(f.semver):(p=r(p),p.includePrerelease&&(this.value==="<0.0.0-0"||f.value==="<0.0.0-0")||!p.includePrerelease&&(this.value.startsWith("<0.0.0")||f.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&f.operator.startsWith(">")||this.operator.startsWith("<")&&f.operator.startsWith("<")||this.semver.version===f.semver.version&&this.operator.includes("=")&&f.operator.includes("=")||a(this.semver,"<",f.semver,p)&&this.operator.startsWith(">")&&f.operator.startsWith("<")||a(this.semver,">",f.semver,p)&&this.operator.startsWith("<")&&f.operator.startsWith(">")))}}de=t;const r=Oe,{safeRe:n,t:o}=q,a=mt,l=oe,u=y,i=b();return de}const on=b(),an=(e,t,r)=>{try{t=new on(t,r)}catch{return!1}return t.test(e)};var ce=an;const ln=b(),cn=(e,t)=>new ln(e,t).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" "));var un=cn;const fn=y,hn=b(),pn=(e,t,r)=>{let n=null,o=null,a=null;try{a=new hn(t,r)}catch{return null}return e.forEach(l=>{a.test(l)&&(!n||o.compare(l)===-1)&&(n=l,o=new fn(n,r))}),n};var En=pn;const mn=y,dn=b(),$n=(e,t,r)=>{let n=null,o=null,a=null;try{a=new dn(t,r)}catch{return null}return e.forEach(l=>{a.test(l)&&(!n||o.compare(l)===1)&&(n=l,o=new mn(n,r))}),n};var Rn=$n;const $e=y,vn=b(),qe=ae,In=(e,t)=>{e=new vn(e,t);let r=new $e("0.0.0");if(e.test(r)||(r=new $e("0.0.0-0"),e.test(r)))return r;r=null;for(let n=0;n<e.set.length;++n){const o=e.set[n];let a=null;o.forEach(l=>{const u=new $e(l.semver.version);switch(l.operator){case">":u.prerelease.length===0?u.patch++:u.prerelease.push(0),u.raw=u.format();case"":case">=":(!a||qe(u,a))&&(a=u);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${l.operator}`)}}),a&&(!r||qe(r,a))&&(r=a)}return r&&e.test(r)?r:null};var gn=In;const Ln=b(),wn=(e,t)=>{try{return new Ln(e,t).range||"*"}catch{return null}};var Nn=wn;const Tn=y,dt=le(),{ANY:On}=dt,Sn=b(),yn=ce,ze=ae,Ze=ye,An=Ce,Cn=Ae,_n=(e,t,r,n)=>{e=new Tn(e,n),t=new Sn(t,n);let o,a,l,u,i;switch(r){case">":o=ze,a=An,l=Ze,u=">",i=">=";break;case"<":o=Ze,a=Cn,l=ze,u="<",i="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(yn(e,t,n))return!1;for(let s=0;s<t.set.length;++s){const f=t.set[s];let p=null,L=null;if(f.forEach(d=>{d.semver===On&&(d=new dt(">=0.0.0")),p=p||d,L=L||d,o(d.semver,p.semver,n)?p=d:l(d.semver,L.semver,n)&&(L=d)}),p.operator===u||p.operator===i||(!L.operator||L.operator===u)&&a(e,L.semver))return!1;if(L.operator===i&&l(e,L.semver))return!1}return!0};var _e=_n;const Dn=_e,Pn=(e,t,r)=>Dn(e,t,">",r);var bn=Pn;const Un=_e,kn=(e,t,r)=>Un(e,t,"<",r);var Fn=kn;const Je=b(),Gn=(e,t,r)=>(e=new Je(e,r),t=new Je(t,r),e.intersects(t,r));var jn=Gn;const Mn=ce,Xn=P;var Vn=(e,t,r)=>{const n=[];let o=null,a=null;const l=e.sort((f,p)=>Xn(f,p,r));for(const f of l)Mn(f,t,r)?(a=f,o||(o=f)):(a&&n.push([o,a]),a=null,o=null);o&&n.push([o,null]);const u=[];for(const[f,p]of n)f===p?u.push(f):!p&&f===l[0]?u.push("*"):p?f===l[0]?u.push(`<=${p}`):u.push(`${f} - ${p}`):u.push(`>=${f}`);const i=u.join(" || "),s=typeof t.raw=="string"?t.raw:String(t);return i.length<s.length?i:t};const Qe=b(),De=le(),{ANY:Re}=De,W=ce,Pe=P,xn=(e,t,r={})=>{if(e===t)return!0;e=new Qe(e,r),t=new Qe(t,r);let n=!1;e:for(const o of e.set){for(const a of t.set){const l=Wn(o,a,r);if(n=n||l!==null,l)continue e}if(n)return!1}return!0},Yn=[new De(">=0.0.0-0")],et=[new De(">=0.0.0")],Wn=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===Re){if(t.length===1&&t[0].semver===Re)return!0;r.includePrerelease?e=Yn:e=et}if(t.length===1&&t[0].semver===Re){if(r.includePrerelease)return!0;t=et}const n=new Set;let o,a;for(const d of e)d.operator===">"||d.operator===">="?o=tt(o,d,r):d.operator==="<"||d.operator==="<="?a=rt(a,d,r):n.add(d.semver);if(n.size>1)return null;let l;if(o&&a){if(l=Pe(o.semver,a.semver,r),l>0)return null;if(l===0&&(o.operator!==">="||a.operator!=="<="))return null}for(const d of n){if(o&&!W(d,String(o),r)||a&&!W(d,String(a),r))return null;for(const R of t)if(!W(d,String(R),r))return!1;return!0}let u,i,s,f,p=a&&!r.includePrerelease&&a.semver.prerelease.length?a.semver:!1,L=o&&!r.includePrerelease&&o.semver.prerelease.length?o.semver:!1;p&&p.prerelease.length===1&&a.operator==="<"&&p.prerelease[0]===0&&(p=!1);for(const d of t){if(f=f||d.operator===">"||d.operator===">=",s=s||d.operator==="<"||d.operator==="<=",o){if(L&&d.semver.prerelease&&d.semver.prerelease.length&&d.semver.major===L.major&&d.semver.minor===L.minor&&d.semver.patch===L.patch&&(L=!1),d.operator===">"||d.operator===">="){if(u=tt(o,d,r),u===d&&u!==o)return!1}else if(o.operator===">="&&!W(o.semver,String(d),r))return!1}if(a){if(p&&d.semver.prerelease&&d.semver.prerelease.length&&d.semver.major===p.major&&d.semver.minor===p.minor&&d.semver.patch===p.patch&&(p=!1),d.operator==="<"||d.operator==="<="){if(i=rt(a,d,r),i===d&&i!==a)return!1}else if(a.operator==="<="&&!W(a.semver,String(d),r))return!1}if(!d.operator&&(a||o)&&l!==0)return!1}return!(o&&s&&!a&&l!==0||a&&f&&!o&&l!==0||L||p)},tt=(e,t,r)=>{if(!e)return t;const n=Pe(e.semver,t.semver,r);return n>0?e:n<0||t.operator===">"&&e.operator===">="?t:e},rt=(e,t,r)=>{if(!e)return t;const n=Pe(e.semver,t.semver,r);return n<0?e:n>0||t.operator==="<"&&e.operator==="<="?t:e};var Hn=xn;const ve=q,nt=ie,Bn=y,st=ht,Kn=X,qn=er,zn=nr,Zn=ir,Jn=ar,Qn=ur,es=pr,ts=dr,rs=vr,ns=P,ss=wr,is=Or,os=Se,as=Cr,ls=Pr,cs=ae,us=ye,fs=pt,hs=Et,ps=Ae,Es=Ce,ms=mt,ds=rn,$s=le(),Rs=b(),vs=ce,Is=un,gs=En,Ls=Rn,ws=gn,Ns=Nn,Ts=_e,Os=bn,Ss=Fn,ys=jn,As=Vn,Cs=Hn;var _s={parse:Kn,valid:qn,clean:zn,inc:Zn,diff:Jn,major:Qn,minor:es,patch:ts,prerelease:rs,compare:ns,rcompare:ss,compareLoose:is,compareBuild:os,sort:as,rsort:ls,gt:cs,lt:us,eq:fs,neq:hs,gte:ps,lte:Es,cmp:ms,coerce:ds,Comparator:$s,Range:Rs,satisfies:vs,toComparators:Is,maxSatisfying:gs,minSatisfying:Ls,minVersion:ws,validRange:Ns,outside:Ts,gtr:Os,ltr:Ss,intersects:ys,simplifyRange:As,subset:Cs,SemVer:Bn,re:ve.re,src:ve.src,tokens:ve.t,SEMVER_SPEC_VERSION:nt.SEMVER_SPEC_VERSION,RELEASE_TYPES:nt.RELEASE_TYPES,compareIdentifiers:st.compareIdentifiers,rcompareIdentifiers:st.rcompareIdentifiers};const it=Ft(_s);var S={};/** +import{_ as Ut}from"./iframe-D78jW9zZ.js";import{_ as kt}from"./chunk-H6MOWX77-DTQOW814.js";import{r as k,R as B}from"./index-mfbfsM12.js";import{g as Ft}from"./_commonjsHelpers-BosuxZz1.js";import{r as Gt}from"./index-BMk6Tmu2.js";import"../sb-preview/runtime.js";var Ne={exports:{}};const jt="2.0.0",ut=256,Mt=Number.MAX_SAFE_INTEGER||9007199254740991,Xt=16,Vt=ut-6,xt=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var ie={MAX_LENGTH:ut,MAX_SAFE_COMPONENT_LENGTH:Xt,MAX_SAFE_BUILD_LENGTH:Vt,MAX_SAFE_INTEGER:Mt,RELEASE_TYPES:xt,SEMVER_SPEC_VERSION:jt,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},Ee={NODE_ENV:'"production"'};const Yt=typeof process=="object"&&Ee&&Ee.NODE_DEBUG&&/\bsemver\b/i.test(Ee.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var oe=Yt;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:o}=ie,a=oe;t=e.exports={};const l=t.re=[],u=t.safeRe=[],i=t.src=[],s=t.t={};let f=0;const p="[a-zA-Z0-9-]",L=[["\\s",1],["\\d",o],[p,n]],d=F=>{for(const[D,G]of L)F=F.split(`${D}*`).join(`${D}{0,${G}}`).split(`${D}+`).join(`${D}{1,${G}}`);return F},R=(F,D,G)=>{const pe=d(D),T=f++;a(F,T,D),s[F]=T,i[T]=D,l[T]=new RegExp(D,G?"g":void 0),u[T]=new RegExp(pe,G?"g":void 0)};R("NUMERICIDENTIFIER","0|[1-9]\\d*"),R("NUMERICIDENTIFIERLOOSE","\\d+"),R("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`),R("MAINVERSION",`(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})`),R("MAINVERSIONLOOSE",`(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})`),R("PRERELEASEIDENTIFIER",`(?:${i[s.NUMERICIDENTIFIER]}|${i[s.NONNUMERICIDENTIFIER]})`),R("PRERELEASEIDENTIFIERLOOSE",`(?:${i[s.NUMERICIDENTIFIERLOOSE]}|${i[s.NONNUMERICIDENTIFIER]})`),R("PRERELEASE",`(?:-(${i[s.PRERELEASEIDENTIFIER]}(?:\\.${i[s.PRERELEASEIDENTIFIER]})*))`),R("PRERELEASELOOSE",`(?:-?(${i[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[s.PRERELEASEIDENTIFIERLOOSE]})*))`),R("BUILDIDENTIFIER",`${p}+`),R("BUILD",`(?:\\+(${i[s.BUILDIDENTIFIER]}(?:\\.${i[s.BUILDIDENTIFIER]})*))`),R("FULLPLAIN",`v?${i[s.MAINVERSION]}${i[s.PRERELEASE]}?${i[s.BUILD]}?`),R("FULL",`^${i[s.FULLPLAIN]}$`),R("LOOSEPLAIN",`[v=\\s]*${i[s.MAINVERSIONLOOSE]}${i[s.PRERELEASELOOSE]}?${i[s.BUILD]}?`),R("LOOSE",`^${i[s.LOOSEPLAIN]}$`),R("GTLT","((?:<|>)?=?)"),R("XRANGEIDENTIFIERLOOSE",`${i[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),R("XRANGEIDENTIFIER",`${i[s.NUMERICIDENTIFIER]}|x|X|\\*`),R("XRANGEPLAIN",`[v=\\s]*(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:${i[s.PRERELEASE]})?${i[s.BUILD]}?)?)?`),R("XRANGEPLAINLOOSE",`[v=\\s]*(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:${i[s.PRERELEASELOOSE]})?${i[s.BUILD]}?)?)?`),R("XRANGE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAIN]}$`),R("XRANGELOOSE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAINLOOSE]}$`),R("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),R("COERCE",`${i[s.COERCEPLAIN]}(?:$|[^\\d])`),R("COERCEFULL",i[s.COERCEPLAIN]+`(?:${i[s.PRERELEASE]})?(?:${i[s.BUILD]})?(?:$|[^\\d])`),R("COERCERTL",i[s.COERCE],!0),R("COERCERTLFULL",i[s.COERCEFULL],!0),R("LONETILDE","(?:~>?)"),R("TILDETRIM",`(\\s*)${i[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",R("TILDE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAIN]}$`),R("TILDELOOSE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAINLOOSE]}$`),R("LONECARET","(?:\\^)"),R("CARETTRIM",`(\\s*)${i[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",R("CARET",`^${i[s.LONECARET]}${i[s.XRANGEPLAIN]}$`),R("CARETLOOSE",`^${i[s.LONECARET]}${i[s.XRANGEPLAINLOOSE]}$`),R("COMPARATORLOOSE",`^${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]})$|^$`),R("COMPARATOR",`^${i[s.GTLT]}\\s*(${i[s.FULLPLAIN]})$|^$`),R("COMPARATORTRIM",`(\\s*)${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]}|${i[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",R("HYPHENRANGE",`^\\s*(${i[s.XRANGEPLAIN]})\\s+-\\s+(${i[s.XRANGEPLAIN]})\\s*$`),R("HYPHENRANGELOOSE",`^\\s*(${i[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[s.XRANGEPLAINLOOSE]})\\s*$`),R("STAR","(<|>)?=?\\s*\\*"),R("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),R("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(Ne,Ne.exports);var q=Ne.exports;const Wt=Object.freeze({loose:!0}),Ht=Object.freeze({}),Bt=e=>e?typeof e!="object"?Wt:e:Ht;var Oe=Bt;const Ge=/^[0-9]+$/,ft=(e,t)=>{const r=Ge.test(e),n=Ge.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1},Kt=(e,t)=>ft(t,e);var ht={compareIdentifiers:ft,rcompareIdentifiers:Kt};const J=oe,{MAX_LENGTH:je,MAX_SAFE_INTEGER:Q}=ie,{safeRe:Me,t:Xe}=q,qt=Oe,{compareIdentifiers:M}=ht;let zt=class U{constructor(t,r){if(r=qt(r),t instanceof U){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>je)throw new TypeError(`version is longer than ${je} characters`);J("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;const n=t.trim().match(r.loose?Me[Xe.LOOSE]:Me[Xe.FULL]);if(!n)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Q||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Q||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Q||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(o=>{if(/^[0-9]+$/.test(o)){const a=+o;if(a>=0&&a<Q)return a}return o}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(J("SemVer.compare",this.version,this.options,t),!(t instanceof U)){if(typeof t=="string"&&t===this.version)return 0;t=new U(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof U||(t=new U(t,this.options)),M(this.major,t.major)||M(this.minor,t.minor)||M(this.patch,t.patch)}comparePre(t){if(t instanceof U||(t=new U(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{const n=this.prerelease[r],o=t.prerelease[r];if(J("prerelease compare",r,n,o),n===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(n===void 0)return-1;if(n===o)continue;return M(n,o)}while(++r)}compareBuild(t){t instanceof U||(t=new U(t,this.options));let r=0;do{const n=this.build[r],o=t.build[r];if(J("build compare",r,n,o),n===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(n===void 0)return-1;if(n===o)continue;return M(n,o)}while(++r)}inc(t,r,n){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const o=Number(n)?1:0;if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[o];else{let a=this.prerelease.length;for(;--a>=0;)typeof this.prerelease[a]=="number"&&(this.prerelease[a]++,a=-2);if(a===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(o)}}if(r){let a=[r,o];n===!1&&(a=[r]),M(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=a):this.prerelease=a}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var y=zt;const Ve=y,Zt=(e,t,r=!1)=>{if(e instanceof Ve)return e;try{return new Ve(e,t)}catch(n){if(!r)return null;throw n}};var X=Zt;const Jt=X,Qt=(e,t)=>{const r=Jt(e,t);return r?r.version:null};var er=Qt;const tr=X,rr=(e,t)=>{const r=tr(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};var nr=rr;const xe=y,sr=(e,t,r,n,o)=>{typeof r=="string"&&(o=n,n=r,r=void 0);try{return new xe(e instanceof xe?e.version:e,r).inc(t,n,o).version}catch{return null}};var ir=sr;const Ye=X,or=(e,t)=>{const r=Ye(e,null,!0),n=Ye(t,null,!0),o=r.compare(n);if(o===0)return null;const a=o>0,l=a?r:n,u=a?n:r,i=!!l.prerelease.length;if(!!u.prerelease.length&&!i)return!u.patch&&!u.minor?"major":l.patch?"patch":l.minor?"minor":"major";const f=i?"pre":"";return r.major!==n.major?f+"major":r.minor!==n.minor?f+"minor":r.patch!==n.patch?f+"patch":"prerelease"};var ar=or;const lr=y,cr=(e,t)=>new lr(e,t).major;var ur=cr;const fr=y,hr=(e,t)=>new fr(e,t).minor;var pr=hr;const Er=y,mr=(e,t)=>new Er(e,t).patch;var dr=mr;const $r=X,Rr=(e,t)=>{const r=$r(e,t);return r&&r.prerelease.length?r.prerelease:null};var vr=Rr;const We=y,Ir=(e,t,r)=>new We(e,r).compare(new We(t,r));var P=Ir;const gr=P,Lr=(e,t,r)=>gr(t,e,r);var wr=Lr;const Nr=P,Tr=(e,t)=>Nr(e,t,!0);var Or=Tr;const He=y,Sr=(e,t,r)=>{const n=new He(e,r),o=new He(t,r);return n.compare(o)||n.compareBuild(o)};var Se=Sr;const yr=Se,Ar=(e,t)=>e.sort((r,n)=>yr(r,n,t));var Cr=Ar;const _r=Se,Dr=(e,t)=>e.sort((r,n)=>_r(n,r,t));var Pr=Dr;const br=P,Ur=(e,t,r)=>br(e,t,r)>0;var ae=Ur;const kr=P,Fr=(e,t,r)=>kr(e,t,r)<0;var ye=Fr;const Gr=P,jr=(e,t,r)=>Gr(e,t,r)===0;var pt=jr;const Mr=P,Xr=(e,t,r)=>Mr(e,t,r)!==0;var Et=Xr;const Vr=P,xr=(e,t,r)=>Vr(e,t,r)>=0;var Ae=xr;const Yr=P,Wr=(e,t,r)=>Yr(e,t,r)<=0;var Ce=Wr;const Hr=pt,Br=Et,Kr=ae,qr=Ae,zr=ye,Zr=Ce,Jr=(e,t,r,n)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return Hr(e,r,n);case"!=":return Br(e,r,n);case">":return Kr(e,r,n);case">=":return qr(e,r,n);case"<":return zr(e,r,n);case"<=":return Zr(e,r,n);default:throw new TypeError(`Invalid operator: ${t}`)}};var mt=Jr;const Qr=y,en=X,{safeRe:ee,t:te}=q,tn=(e,t)=>{if(e instanceof Qr)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let r=null;if(!t.rtl)r=e.match(t.includePrerelease?ee[te.COERCEFULL]:ee[te.COERCE]);else{const i=t.includePrerelease?ee[te.COERCERTLFULL]:ee[te.COERCERTL];let s;for(;(s=i.exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||s.index+s[0].length!==r.index+r[0].length)&&(r=s),i.lastIndex=s.index+s[1].length+s[2].length;i.lastIndex=-1}if(r===null)return null;const n=r[2],o=r[3]||"0",a=r[4]||"0",l=t.includePrerelease&&r[5]?`-${r[5]}`:"",u=t.includePrerelease&&r[6]?`+${r[6]}`:"";return en(`${n}.${o}.${a}${l}${u}`,t)};var rn=tn;class nn{constructor(){this.max=1e3,this.map=new Map}get(t){const r=this.map.get(t);if(r!==void 0)return this.map.delete(t),this.map.set(t,r),r}delete(t){return this.map.delete(t)}set(t,r){if(!this.delete(t)&&r!==void 0){if(this.map.size>=this.max){const o=this.map.keys().next().value;this.delete(o)}this.map.set(t,r)}return this}}var sn=nn,me,Be;function b(){if(Be)return me;Be=1;const e=/\s+/g;class t{constructor(c,$){if($=o($),c instanceof t)return c.loose===!!$.loose&&c.includePrerelease===!!$.includePrerelease?c:new t(c.raw,$);if(c instanceof a)return this.raw=c.value,this.set=[[c]],this.formatted=void 0,this;if(this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease,this.raw=c.trim().replace(e," "),this.set=this.raw.split("||").map(E=>this.parseRange(E.trim())).filter(E=>E.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const E=this.set[0];if(this.set=this.set.filter(v=>!F(v[0])),this.set.length===0)this.set=[E];else if(this.set.length>1){for(const v of this.set)if(v.length===1&&D(v[0])){this.set=[v];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let c=0;c<this.set.length;c++){c>0&&(this.formatted+="||");const $=this.set[c];for(let E=0;E<$.length;E++)E>0&&(this.formatted+=" "),this.formatted+=$[E].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(c){const E=((this.options.includePrerelease&&d)|(this.options.loose&&R))+":"+c,v=n.get(E);if(v)return v;const m=this.options.loose,I=m?i[s.HYPHENRANGELOOSE]:i[s.HYPHENRANGE];c=c.replace(I,Pt(this.options.includePrerelease)),l("hyphen replace",c),c=c.replace(i[s.COMPARATORTRIM],f),l("comparator trim",c),c=c.replace(i[s.TILDETRIM],p),l("tilde trim",c),c=c.replace(i[s.CARETTRIM],L),l("caret trim",c);let w=c.split(" ").map(O=>pe(O,this.options)).join(" ").split(/\s+/).map(O=>Dt(O,this.options));m&&(w=w.filter(O=>(l("loose invalid filter",O,this.options),!!O.match(i[s.COMPARATORLOOSE])))),l("range list",w);const g=new Map,N=w.map(O=>new a(O,this.options));for(const O of N){if(F(O))return[O];g.set(O.value,O)}g.size>1&&g.has("")&&g.delete("");const C=[...g.values()];return n.set(E,C),C}intersects(c,$){if(!(c instanceof t))throw new TypeError("a Range is required");return this.set.some(E=>G(E,$)&&c.set.some(v=>G(v,$)&&E.every(m=>v.every(I=>m.intersects(I,$)))))}test(c){if(!c)return!1;if(typeof c=="string")try{c=new u(c,this.options)}catch{return!1}for(let $=0;$<this.set.length;$++)if(bt(this.set[$],c,this.options))return!0;return!1}}me=t;const r=sn,n=new r,o=Oe,a=le(),l=oe,u=y,{safeRe:i,t:s,comparatorTrimReplace:f,tildeTrimReplace:p,caretTrimReplace:L}=q,{FLAG_INCLUDE_PRERELEASE:d,FLAG_LOOSE:R}=ie,F=h=>h.value==="<0.0.0-0",D=h=>h.value==="",G=(h,c)=>{let $=!0;const E=h.slice();let v=E.pop();for(;$&&E.length;)$=E.every(m=>v.intersects(m,c)),v=E.pop();return $},pe=(h,c)=>(l("comp",h,c),h=St(h,c),l("caret",h),h=Tt(h,c),l("tildes",h),h=At(h,c),l("xrange",h),h=_t(h,c),l("stars",h),h),T=h=>!h||h.toLowerCase()==="x"||h==="*",Tt=(h,c)=>h.trim().split(/\s+/).map($=>Ot($,c)).join(" "),Ot=(h,c)=>{const $=c.loose?i[s.TILDELOOSE]:i[s.TILDE];return h.replace($,(E,v,m,I,w)=>{l("tilde",h,E,v,m,I,w);let g;return T(v)?g="":T(m)?g=`>=${v}.0.0 <${+v+1}.0.0-0`:T(I)?g=`>=${v}.${m}.0 <${v}.${+m+1}.0-0`:w?(l("replaceTilde pr",w),g=`>=${v}.${m}.${I}-${w} <${v}.${+m+1}.0-0`):g=`>=${v}.${m}.${I} <${v}.${+m+1}.0-0`,l("tilde return",g),g})},St=(h,c)=>h.trim().split(/\s+/).map($=>yt($,c)).join(" "),yt=(h,c)=>{l("caret",h,c);const $=c.loose?i[s.CARETLOOSE]:i[s.CARET],E=c.includePrerelease?"-0":"";return h.replace($,(v,m,I,w,g)=>{l("caret",h,v,m,I,w,g);let N;return T(m)?N="":T(I)?N=`>=${m}.0.0${E} <${+m+1}.0.0-0`:T(w)?m==="0"?N=`>=${m}.${I}.0${E} <${m}.${+I+1}.0-0`:N=`>=${m}.${I}.0${E} <${+m+1}.0.0-0`:g?(l("replaceCaret pr",g),m==="0"?I==="0"?N=`>=${m}.${I}.${w}-${g} <${m}.${I}.${+w+1}-0`:N=`>=${m}.${I}.${w}-${g} <${m}.${+I+1}.0-0`:N=`>=${m}.${I}.${w}-${g} <${+m+1}.0.0-0`):(l("no pr"),m==="0"?I==="0"?N=`>=${m}.${I}.${w}${E} <${m}.${I}.${+w+1}-0`:N=`>=${m}.${I}.${w}${E} <${m}.${+I+1}.0-0`:N=`>=${m}.${I}.${w} <${+m+1}.0.0-0`),l("caret return",N),N})},At=(h,c)=>(l("replaceXRanges",h,c),h.split(/\s+/).map($=>Ct($,c)).join(" ")),Ct=(h,c)=>{h=h.trim();const $=c.loose?i[s.XRANGELOOSE]:i[s.XRANGE];return h.replace($,(E,v,m,I,w,g)=>{l("xRange",h,E,v,m,I,w,g);const N=T(m),C=N||T(I),O=C||T(w),Y=O;return v==="="&&Y&&(v=""),g=c.includePrerelease?"-0":"",N?v===">"||v==="<"?E="<0.0.0-0":E="*":v&&Y?(C&&(I=0),w=0,v===">"?(v=">=",C?(m=+m+1,I=0,w=0):(I=+I+1,w=0)):v==="<="&&(v="<",C?m=+m+1:I=+I+1),v==="<"&&(g="-0"),E=`${v+m}.${I}.${w}${g}`):C?E=`>=${m}.0.0${g} <${+m+1}.0.0-0`:O&&(E=`>=${m}.${I}.0${g} <${m}.${+I+1}.0-0`),l("xRange return",E),E})},_t=(h,c)=>(l("replaceStars",h,c),h.trim().replace(i[s.STAR],"")),Dt=(h,c)=>(l("replaceGTE0",h,c),h.trim().replace(i[c.includePrerelease?s.GTE0PRE:s.GTE0],"")),Pt=h=>(c,$,E,v,m,I,w,g,N,C,O,Y)=>(T(E)?$="":T(v)?$=`>=${E}.0.0${h?"-0":""}`:T(m)?$=`>=${E}.${v}.0${h?"-0":""}`:I?$=`>=${$}`:$=`>=${$}${h?"-0":""}`,T(N)?g="":T(C)?g=`<${+N+1}.0.0-0`:T(O)?g=`<${N}.${+C+1}.0-0`:Y?g=`<=${N}.${C}.${O}-${Y}`:h?g=`<${N}.${C}.${+O+1}-0`:g=`<=${g}`,`${$} ${g}`.trim()),bt=(h,c,$)=>{for(let E=0;E<h.length;E++)if(!h[E].test(c))return!1;if(c.prerelease.length&&!$.includePrerelease){for(let E=0;E<h.length;E++)if(l(h[E].semver),h[E].semver!==a.ANY&&h[E].semver.prerelease.length>0){const v=h[E].semver;if(v.major===c.major&&v.minor===c.minor&&v.patch===c.patch)return!0}return!1}return!0};return me}var de,Ke;function le(){if(Ke)return de;Ke=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(f,p){if(p=r(p),f instanceof t){if(f.loose===!!p.loose)return f;f=f.value}f=f.trim().split(/\s+/).join(" "),l("comparator",f,p),this.options=p,this.loose=!!p.loose,this.parse(f),this.semver===e?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(f){const p=this.options.loose?n[o.COMPARATORLOOSE]:n[o.COMPARATOR],L=f.match(p);if(!L)throw new TypeError(`Invalid comparator: ${f}`);this.operator=L[1]!==void 0?L[1]:"",this.operator==="="&&(this.operator=""),L[2]?this.semver=new u(L[2],this.options.loose):this.semver=e}toString(){return this.value}test(f){if(l("Comparator.test",f,this.options.loose),this.semver===e||f===e)return!0;if(typeof f=="string")try{f=new u(f,this.options)}catch{return!1}return a(f,this.operator,this.semver,this.options)}intersects(f,p){if(!(f instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new i(f.value,p).test(this.value):f.operator===""?f.value===""?!0:new i(this.value,p).test(f.semver):(p=r(p),p.includePrerelease&&(this.value==="<0.0.0-0"||f.value==="<0.0.0-0")||!p.includePrerelease&&(this.value.startsWith("<0.0.0")||f.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&f.operator.startsWith(">")||this.operator.startsWith("<")&&f.operator.startsWith("<")||this.semver.version===f.semver.version&&this.operator.includes("=")&&f.operator.includes("=")||a(this.semver,"<",f.semver,p)&&this.operator.startsWith(">")&&f.operator.startsWith("<")||a(this.semver,">",f.semver,p)&&this.operator.startsWith("<")&&f.operator.startsWith(">")))}}de=t;const r=Oe,{safeRe:n,t:o}=q,a=mt,l=oe,u=y,i=b();return de}const on=b(),an=(e,t,r)=>{try{t=new on(t,r)}catch{return!1}return t.test(e)};var ce=an;const ln=b(),cn=(e,t)=>new ln(e,t).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" "));var un=cn;const fn=y,hn=b(),pn=(e,t,r)=>{let n=null,o=null,a=null;try{a=new hn(t,r)}catch{return null}return e.forEach(l=>{a.test(l)&&(!n||o.compare(l)===-1)&&(n=l,o=new fn(n,r))}),n};var En=pn;const mn=y,dn=b(),$n=(e,t,r)=>{let n=null,o=null,a=null;try{a=new dn(t,r)}catch{return null}return e.forEach(l=>{a.test(l)&&(!n||o.compare(l)===1)&&(n=l,o=new mn(n,r))}),n};var Rn=$n;const $e=y,vn=b(),qe=ae,In=(e,t)=>{e=new vn(e,t);let r=new $e("0.0.0");if(e.test(r)||(r=new $e("0.0.0-0"),e.test(r)))return r;r=null;for(let n=0;n<e.set.length;++n){const o=e.set[n];let a=null;o.forEach(l=>{const u=new $e(l.semver.version);switch(l.operator){case">":u.prerelease.length===0?u.patch++:u.prerelease.push(0),u.raw=u.format();case"":case">=":(!a||qe(u,a))&&(a=u);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${l.operator}`)}}),a&&(!r||qe(r,a))&&(r=a)}return r&&e.test(r)?r:null};var gn=In;const Ln=b(),wn=(e,t)=>{try{return new Ln(e,t).range||"*"}catch{return null}};var Nn=wn;const Tn=y,dt=le(),{ANY:On}=dt,Sn=b(),yn=ce,ze=ae,Ze=ye,An=Ce,Cn=Ae,_n=(e,t,r,n)=>{e=new Tn(e,n),t=new Sn(t,n);let o,a,l,u,i;switch(r){case">":o=ze,a=An,l=Ze,u=">",i=">=";break;case"<":o=Ze,a=Cn,l=ze,u="<",i="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(yn(e,t,n))return!1;for(let s=0;s<t.set.length;++s){const f=t.set[s];let p=null,L=null;if(f.forEach(d=>{d.semver===On&&(d=new dt(">=0.0.0")),p=p||d,L=L||d,o(d.semver,p.semver,n)?p=d:l(d.semver,L.semver,n)&&(L=d)}),p.operator===u||p.operator===i||(!L.operator||L.operator===u)&&a(e,L.semver))return!1;if(L.operator===i&&l(e,L.semver))return!1}return!0};var _e=_n;const Dn=_e,Pn=(e,t,r)=>Dn(e,t,">",r);var bn=Pn;const Un=_e,kn=(e,t,r)=>Un(e,t,"<",r);var Fn=kn;const Je=b(),Gn=(e,t,r)=>(e=new Je(e,r),t=new Je(t,r),e.intersects(t,r));var jn=Gn;const Mn=ce,Xn=P;var Vn=(e,t,r)=>{const n=[];let o=null,a=null;const l=e.sort((f,p)=>Xn(f,p,r));for(const f of l)Mn(f,t,r)?(a=f,o||(o=f)):(a&&n.push([o,a]),a=null,o=null);o&&n.push([o,null]);const u=[];for(const[f,p]of n)f===p?u.push(f):!p&&f===l[0]?u.push("*"):p?f===l[0]?u.push(`<=${p}`):u.push(`${f} - ${p}`):u.push(`>=${f}`);const i=u.join(" || "),s=typeof t.raw=="string"?t.raw:String(t);return i.length<s.length?i:t};const Qe=b(),De=le(),{ANY:Re}=De,W=ce,Pe=P,xn=(e,t,r={})=>{if(e===t)return!0;e=new Qe(e,r),t=new Qe(t,r);let n=!1;e:for(const o of e.set){for(const a of t.set){const l=Wn(o,a,r);if(n=n||l!==null,l)continue e}if(n)return!1}return!0},Yn=[new De(">=0.0.0-0")],et=[new De(">=0.0.0")],Wn=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===Re){if(t.length===1&&t[0].semver===Re)return!0;r.includePrerelease?e=Yn:e=et}if(t.length===1&&t[0].semver===Re){if(r.includePrerelease)return!0;t=et}const n=new Set;let o,a;for(const d of e)d.operator===">"||d.operator===">="?o=tt(o,d,r):d.operator==="<"||d.operator==="<="?a=rt(a,d,r):n.add(d.semver);if(n.size>1)return null;let l;if(o&&a){if(l=Pe(o.semver,a.semver,r),l>0)return null;if(l===0&&(o.operator!==">="||a.operator!=="<="))return null}for(const d of n){if(o&&!W(d,String(o),r)||a&&!W(d,String(a),r))return null;for(const R of t)if(!W(d,String(R),r))return!1;return!0}let u,i,s,f,p=a&&!r.includePrerelease&&a.semver.prerelease.length?a.semver:!1,L=o&&!r.includePrerelease&&o.semver.prerelease.length?o.semver:!1;p&&p.prerelease.length===1&&a.operator==="<"&&p.prerelease[0]===0&&(p=!1);for(const d of t){if(f=f||d.operator===">"||d.operator===">=",s=s||d.operator==="<"||d.operator==="<=",o){if(L&&d.semver.prerelease&&d.semver.prerelease.length&&d.semver.major===L.major&&d.semver.minor===L.minor&&d.semver.patch===L.patch&&(L=!1),d.operator===">"||d.operator===">="){if(u=tt(o,d,r),u===d&&u!==o)return!1}else if(o.operator===">="&&!W(o.semver,String(d),r))return!1}if(a){if(p&&d.semver.prerelease&&d.semver.prerelease.length&&d.semver.major===p.major&&d.semver.minor===p.minor&&d.semver.patch===p.patch&&(p=!1),d.operator==="<"||d.operator==="<="){if(i=rt(a,d,r),i===d&&i!==a)return!1}else if(a.operator==="<="&&!W(a.semver,String(d),r))return!1}if(!d.operator&&(a||o)&&l!==0)return!1}return!(o&&s&&!a&&l!==0||a&&f&&!o&&l!==0||L||p)},tt=(e,t,r)=>{if(!e)return t;const n=Pe(e.semver,t.semver,r);return n>0?e:n<0||t.operator===">"&&e.operator===">="?t:e},rt=(e,t,r)=>{if(!e)return t;const n=Pe(e.semver,t.semver,r);return n<0?e:n>0||t.operator==="<"&&e.operator==="<="?t:e};var Hn=xn;const ve=q,nt=ie,Bn=y,st=ht,Kn=X,qn=er,zn=nr,Zn=ir,Jn=ar,Qn=ur,es=pr,ts=dr,rs=vr,ns=P,ss=wr,is=Or,os=Se,as=Cr,ls=Pr,cs=ae,us=ye,fs=pt,hs=Et,ps=Ae,Es=Ce,ms=mt,ds=rn,$s=le(),Rs=b(),vs=ce,Is=un,gs=En,Ls=Rn,ws=gn,Ns=Nn,Ts=_e,Os=bn,Ss=Fn,ys=jn,As=Vn,Cs=Hn;var _s={parse:Kn,valid:qn,clean:zn,inc:Zn,diff:Jn,major:Qn,minor:es,patch:ts,prerelease:rs,compare:ns,rcompare:ss,compareLoose:is,compareBuild:os,sort:as,rsort:ls,gt:cs,lt:us,eq:fs,neq:hs,gte:ps,lte:Es,cmp:ms,coerce:ds,Comparator:$s,Range:Rs,satisfies:vs,toComparators:Is,maxSatisfying:gs,minSatisfying:Ls,minVersion:ws,validRange:Ns,outside:Ts,gtr:Os,ltr:Ss,intersects:ys,simplifyRange:As,subset:Cs,SemVer:Bn,re:ve.re,src:ve.src,tokens:ve.t,SEMVER_SPEC_VERSION:nt.SEMVER_SPEC_VERSION,RELEASE_TYPES:nt.RELEASE_TYPES,compareIdentifiers:st.compareIdentifiers,rcompareIdentifiers:st.rcompareIdentifiers};const it=Ft(_s);var S={};/** * @license React * react-dom-test-utils.production.min.js * diff --git a/assets/iframe-DRbcjd5I.js b/assets/iframe-D78jW9zZ.js similarity index 62% rename from assets/iframe-DRbcjd5I.js rename to assets/iframe-D78jW9zZ.js index 3ad876c6..1645add3 100644 --- a/assets/iframe-DRbcjd5I.js +++ b/assets/iframe-D78jW9zZ.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Fader.stories-DaSWQsVr.js","./jsx-runtime-Bxcv0yjW.js","./index-mfbfsM12.js","./_commonjsHelpers-BosuxZz1.js","./Fader-BysHR2L8.js","./NativeEventEmitter-Cj1pQcwn.js","./index-DOpK3Ow6.js","./TextAncestorContext-Cvz4PlE2.js","./index-CEE--Juu.js","./index-S14X4tbk.js","./index-kJeFfQx-.js","./Animated-C23eizOh.js","./extends-CF3RwP-h.js","./index-BDsvWohO.js","./index-DcZXOGQR.js","./index-BypDj3rK.js","./Block-SFKht2RU.js","./base-color-CZpuL6yQ.js","./Button.stories-Sy1tsKn6.js","./Button-DAm4UwbF.js","./PressableBase-CPU35BDr.js","./usePiwikTrackCustomEventFromProps-BQaL6XvS.js","./index-8JwjhRSi.js","./useTrackException-BhQuYC5A.js","./index-Bcpfmd17.js","./development-DYCnWZjk.js","./index-5TFaNx6b.js","./config-BZnShabN.js","./Row-BXpfxHoR.js","./mapCrossAxisAlignment-DpnuLLqj.js","./mapMainAxisAlignment-BOa0GzUh.js","./useThemable-CjWxbHxI.js","./index-BMk6Tmu2.js","./Icon-DcC-yiY8.js","./index-DYSHDArR.js","./index-Dk74W0Oi.js","./types-BJ_48vsK.js","./useDeviceContext-DGl4H2w7.js","./index-C3bJM-gU.js","./useTheme-CJIBCVMY.js","./pressable-arg-types-CJIMfHep.js","./EmailButton.stories-DDhgbBJo.js","./useOpenMailUrl-Cpc3v_r1.js","./index-XPwQYiUg.js","./accessibleText-gmNPjmn1.js","./FauxButton.stories-DnlhMAWp.js","./Phrase-t0rOiClQ.js","./FollowButton.stories-BfrkBYsN.js","./IconButton.stories-C63mYIh6.js","./IconButton-Cyqcuey7.js","./Pressable-HfRmqOUq.js","./Box-uk0d72u3.js","./layoutStyles-DflBxpuh.js","./Badge-CZ5nSfIQ.js","./InformationButton.stories-Chf6KCJ3.js","./Column-DVJ0Grcf.js","./Paragraph-DkRs_aGj.js","./Title-9ScEYPym.js","./NavigationButton.stories-wRzBaKht.js","./PhoneButton.stories-gTtf5rgQ.js","./PhoneButton-H9GVa_s-.js","./useOpenPhoneUrl-BpjRyIpq.js","./PhoneHQButton.stories-CCWkKybX.js","./Pressable.stories-COIJugq4.js","./PressableBase.stories-CNinndEg.js","./TopTaskButton.stories-CnV0R1ve.js","./HideFromAccessibility-DFWSEXqq.js","./Accordion.stories-zfRHY5wr.js","./Accordion-BRQzS2PO.js","./Gutter-DFUJhG4q.js","./Size-D6myJmG7.js","./Box.stories-BzfpVYnN.js","./Timeline.stories-CEX7T0lI.js","./HtmlContent-BN7YmfBH.js","./index-eRgc22Hn.js","./index-iQAZAIR7.js","./client-DDXjyz62.js","./index-CsseZgnR.js","./index-Cnrjv3xk.js","./index-ZuFZ7TrF.js","./ListItemMarker-BvZewDFw.js","./useIsScreenReaderEnabled-BGYkQQWr.js","./Badge.stories-CpSgnKRK.js","./EmptyMessage.stories-uQmD_nYy.js","./SingleSelectable-Bg8zzmoU.js","./useAccessibilityAnnounce-DO7gK7r3.js","./duration-A4BOymd5.js","./PleaseWait.stories-BCRCPM4o.js","./PleaseWait-C5ES8__x.js","./Center-CqG4tBOn.js","./Canvas-CCRWbH08.js","./SomethingWentWrong.stories-CgtMyzYA.js","./AlertBase-B0hDfRWJ.js","./useAccessibilityFocus-Djl26ZxP.js","./Trait.stories-DfStrMlO.js","./Triangle.stories-nI2t4-zG.js","./Triangle-Amn4R_mH.js","./Alert.stories-DWV1pQDq.js","./Tooltip.stories-DKYi8qHC.js","./Tooltip-Bm0QTu1O.js","./CharactersLeftDisplay.stories-DE25sQIz.js","./Checkbox.stories-CuoUXCBY.js","./FormField-Bd2DEH5y.js","./Label.stories-CIYQAd-q.js","./Label-BbSvQ4Xu.js","./RadioGroup.stories-Y-z69RC-.js","./Switch.stories-BGdc8zMy.js","./TextInput.stories-CPzo6NW-.js","./AspectRatio.stories-DNhpcDer.js","./Center.stories-C6NWDIFT.js","./Column.stories-Ca7j0P0o.js","./Row.stories-CoTMFviY.js","./Size.stories-DTGdjPCR.js","./Figure.stories-ClUqZiEM.js","./household-waste-to-container-gxPFJly2.js","./FigureWithFacadesBackground.stories-CbdUg9P5.js","./index-DbcoTUCW.js","./Icon.stories-DPBXIphH.js","./Image.stories-ZfBjdKKw.js","./ImageFallback.stories-BCOLL1Qz.js","./ConstructionWorkDetailFigure.stories-CGjEF6j_.js","./ConstructionWorkFigure.stories-BJdSf7MD.js","./ModulesFigure.stories-DYHz8eiD.js","./ReportProblemFigure.stories-D33HwCLU.js","./UpdateFigure.stories-AJoakePP.js","./WasteGuideFigure.stories-BgZcjvMS.js","./HtmlContent.stories-AMd582sk.js","./Link.stories-Bsr9sC9b.js","./Paragraph.stories-CqC3Nd_V.js","./Phrase.stories-1WGaWSS3.js","./Tag.stories-BLgDQ_OS.js","./Title.stories-Dglf4BGk.js","./List.stories-BTw7GTgY.js","./CityPassCard.stories-TqChsdR9.js","./entry-preview-BLv4HfPv.js","./chunk-H6MOWX77-DTQOW814.js","./entry-preview-docs-BiXdOg7-.js","./index-DF3CPj03.js","./index-DrFu-skq.js","./preview-D77C14du.js","./preview-BWzBA1C2.js","./preview-DkszDCHZ.js","./_commonjs-dynamic-modules-TDtrdbi3.js","./preview-CPnNvsyl.css"])))=>i.map(i=>d[i]); -import"../sb-preview/runtime.js";(function(){const _=document.createElement("link").relList;if(_&&_.supports&&_.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))u(r);new MutationObserver(r=>{for(const e of r)if(e.type==="childList")for(const i of e.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&u(i)}).observe(document,{childList:!0,subtree:!0});function c(r){const e={};return r.integrity&&(e.integrity=r.integrity),r.referrerPolicy&&(e.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?e.credentials="include":r.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function u(r){if(r.ep)return;r.ep=!0;const e=c(r);fetch(r.href,e)}})();const T="modulepreload",P=function(o,_){return new URL(o,_).href},O={},t=function(_,c,u){let r=Promise.resolve();if(c&&c.length>0){const i=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),d=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));r=Promise.allSettled(c.map(n=>{if(n=P(n,u),n in O)return;O[n]=!0;const a=n.endsWith(".css"),R=a?'[rel="stylesheet"]':"";if(!!u)for(let p=i.length-1;p>=0;p--){const E=i[p];if(E.href===n&&(!a||E.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${n}"]${R}`))return;const m=document.createElement("link");if(m.rel=a?"stylesheet":T,a||(m.as="script"),m.crossOrigin="",m.href=n,d&&m.setAttribute("nonce",d),document.head.appendChild(m),a)return new Promise((p,E)=>{m.addEventListener("load",p),m.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${n}`)))})}))}function e(i){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i}return r.then(i=>{for(const s of i||[])s.status==="rejected"&&e(s.reason);return _().catch(e)})},{createBrowserChannel:y}=__STORYBOOK_MODULE_CHANNELS__,{addons:L}=__STORYBOOK_MODULE_PREVIEW_API__,l=y({page:"preview"});L.setChannel(l);window.__STORYBOOK_ADDONS_CHANNEL__=l;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=l);const I={"./src/components/ui/animations/Fader.stories.tsx":async()=>t(()=>import("./Fader.stories-DaSWQsVr.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]),import.meta.url),"./src/components/ui/buttons/Button.stories.tsx":async()=>t(()=>import("./Button.stories-Sy1tsKn6.js"),__vite__mapDeps([18,1,2,3,19,20,21,22,23,24,5,6,7,8,25,26,12,13,27,28,29,30,31,32,17,33,34,35,11,14,15,36,37,38,39,40]),import.meta.url),"./src/components/ui/buttons/EmailButton.stories.tsx":async()=>t(()=>import("./EmailButton.stories-DDhgbBJo.js"),__vite__mapDeps([41,1,2,3,19,20,21,22,23,24,5,6,7,8,25,26,12,13,27,28,29,30,31,32,17,33,34,35,11,14,15,36,37,38,39,42,43,44]),import.meta.url),"./src/components/ui/buttons/FauxButton.stories.tsx":async()=>t(()=>import("./FauxButton.stories-DnlhMAWp.js"),__vite__mapDeps([45,1,2,3,27,46,31,32,22,8,17,15,7,13]),import.meta.url),"./src/components/ui/buttons/FollowButton.stories.tsx":async()=>t(()=>import("./FollowButton.stories-BfrkBYsN.js"),__vite__mapDeps([47,1,2,3,19,20,21,22,23,24,5,6,7,8,25,26,12,13,27,28,29,30,31,32,17,33,34,35,11,14,15,36,37,38,39]),import.meta.url),"./src/components/ui/buttons/IconButton.stories.tsx":async()=>t(()=>import("./IconButton.stories-C63mYIh6.js"),__vite__mapDeps([48,1,2,3,49,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,27,53,28,29,30,37,38,15,36,33,34,35,11,14,39,40]),import.meta.url),"./src/components/ui/buttons/InformationButton.stories.tsx":async()=>t(()=>import("./InformationButton.stories-Chf6KCJ3.js"),__vite__mapDeps([54,1,2,3,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,55,29,30,28,33,34,35,11,14,15,36,37,38,39,56,57,44]),import.meta.url),"./src/components/ui/buttons/NavigationButton.stories.tsx":async()=>t(()=>import("./NavigationButton.stories-wRzBaKht.js"),__vite__mapDeps([58,1,2,3,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,28,29,30,33,34,35,11,14,15,36,37,38,39,57]),import.meta.url),"./src/components/ui/buttons/PhoneButton.stories.tsx":async()=>t(()=>import("./PhoneButton.stories-gTtf5rgQ.js"),__vite__mapDeps([59,60,1,2,3,19,20,21,22,23,24,5,6,7,8,25,26,12,13,27,28,29,30,31,32,17,33,34,35,11,14,15,36,37,38,39,61,43,44]),import.meta.url),"./src/components/ui/buttons/PhoneHQButton.stories.tsx":async()=>t(()=>import("./PhoneHQButton.stories-CCWkKybX.js"),__vite__mapDeps([62,1,2,3,60,19,20,21,22,23,24,5,6,7,8,25,26,12,13,27,28,29,30,31,32,17,33,34,35,11,14,15,36,37,38,39,61,43,44]),import.meta.url),"./src/components/ui/buttons/Pressable.stories.tsx":async()=>t(()=>import("./Pressable.stories-COIJugq4.js"),__vite__mapDeps([63,1,2,3,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,56,15]),import.meta.url),"./src/components/ui/buttons/PressableBase.stories.tsx":async()=>t(()=>import("./PressableBase.stories-CNinndEg.js"),__vite__mapDeps([64,20,1,2,3,21,22,23,24,5,6,7,8,25,26,12,13,40]),import.meta.url),"./src/components/ui/buttons/TopTaskButton.stories.tsx":async()=>t(()=>import("./TopTaskButton.stories-CnV0R1ve.js"),__vite__mapDeps([65,1,2,3,66,13,8,7,50,20,21,22,23,24,5,6,25,26,12,51,52,31,32,17,55,29,30,28,33,34,35,11,14,15,36,37,38,39,56,57,44]),import.meta.url),"./src/components/ui/containers/Accordion.stories.tsx":async()=>t(()=>import("./Accordion.stories-zfRHY5wr.js"),__vite__mapDeps([67,1,2,3,68,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,55,29,30,69,28,70,33,34,35,11,14,15,36,37,38,39,57,56]),import.meta.url),"./src/components/ui/containers/Box.stories.tsx":async()=>t(()=>import("./Box.stories-BzfpVYnN.js"),__vite__mapDeps([71,1,2,3,51,52,8,31,32,22,17,13,7,46,15]),import.meta.url),"./src/components/ui/containers/Timeline.stories.tsx":async()=>t(()=>import("./Timeline.stories-CEX7T0lI.js"),__vite__mapDeps([72,1,2,3,68,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,55,29,30,69,28,70,33,34,35,11,14,15,36,37,38,39,57,73,74,75,76,10,43,9,77,78,79,46,80,27,81,42,61]),import.meta.url),"./src/components/ui/feedback/Badge.stories.tsx":async()=>t(()=>import("./Badge.stories-CpSgnKRK.js"),__vite__mapDeps([82,53,1,2,3,28,29,30,31,32,22,8,17,13,7,37,24,5,6,38,15]),import.meta.url),"./src/components/ui/feedback/EmptyMessage.stories.tsx":async()=>t(()=>import("./EmptyMessage.stories-uQmD_nYy.js"),__vite__mapDeps([83,1,2,3,84,8,13,7,56,31,32,22,17,15,57,85,81,23,24,5,6,25,10,86,44]),import.meta.url),"./src/components/ui/feedback/PleaseWait.stories.tsx":async()=>t(()=>import("./PleaseWait.stories-BCRCPM4o.js"),__vite__mapDeps([87,1,2,3,88,51,52,8,31,32,22,17,13,7,89,33,34,35,28,29,30,11,6,12,5,14,15,36,37,24,38,39,16,90]),import.meta.url),"./src/components/ui/feedback/SomethingWentWrong.stories.tsx":async()=>t(()=>import("./SomethingWentWrong.stories-CgtMyzYA.js"),__vite__mapDeps([91,1,2,3,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,92,84,55,29,30,28,33,34,35,11,14,15,36,37,38,39,56,57,93,75,10,81,86,44,85]),import.meta.url),"./src/components/ui/feedback/Trait.stories.tsx":async()=>t(()=>import("./Trait.stories-DfStrMlO.js"),__vite__mapDeps([94,1,2,3,53,28,29,30,31,32,22,8,17,13,7,37,24,5,6,38,15,33,34,35,11,12,14,36,39,46]),import.meta.url),"./src/components/ui/feedback/Triangle.stories.tsx":async()=>t(()=>import("./Triangle.stories-nI2t4-zG.js"),__vite__mapDeps([95,96,1,2,3,34,35,8,36,31,32,22,17]),import.meta.url),"./src/components/ui/feedback/alert/Alert.stories.tsx":async()=>t(()=>import("./Alert.stories-DWV1pQDq.js"),__vite__mapDeps([97,92,1,2,3,51,52,8,31,32,22,17,13,7,84,55,29,30,28,33,34,35,11,6,12,5,14,15,36,37,24,38,39,56,57,93,23,25,75,10,81,86,44]),import.meta.url),"./src/components/ui/feedback/tooltip/Tooltip.stories.tsx":async()=>t(()=>import("./Tooltip.stories-DKYi8qHC.js"),__vite__mapDeps([98,99,1,2,3,21,22,23,24,5,6,7,8,25,38,20,26,12,13,96,34,35,36,31,32,17,89,52,84,55,29,30,56,15,4,9,10,11,14,28,93,75,81,86]),import.meta.url),"./src/components/ui/forms/CharactersLeftDisplay.stories.tsx":async()=>t(()=>import("./CharactersLeftDisplay.stories-DE25sQIz.js"),__vite__mapDeps([100,1,2,3,56,31,32,22,8,17,15,7]),import.meta.url),"./src/components/ui/forms/Checkbox.stories.tsx":async()=>t(()=>import("./Checkbox.stories-CuoUXCBY.js"),__vite__mapDeps([101,1,2,3,102,66,13,8,7,28,29,30,31,32,22,17,52,33,34,35,11,6,12,5,14,15,36,37,24,38,39,21,23,25,79]),import.meta.url),"./src/components/ui/forms/Label.stories.tsx":async()=>t(()=>import("./Label.stories-CIYQAd-q.js"),__vite__mapDeps([103,104,1,2,3,56,31,32,22,8,17,15,7,13]),import.meta.url),"./src/components/ui/forms/RadioGroup.stories.tsx":async()=>t(()=>import("./RadioGroup.stories-Y-z69RC-.js"),__vite__mapDeps([105,1,2,3,34,35,8,20,21,22,23,24,5,6,7,25,26,12,13,28,29,30,31,32,17,46,15,39,55]),import.meta.url),"./src/components/ui/forms/Switch.stories.tsx":async()=>t(()=>import("./Switch.stories-BGdc8zMy.js"),__vite__mapDeps([106,1,2,3,20,21,22,23,24,5,6,7,8,25,26,12,13,102,66,28,29,30,31,32,17,52,39,77,15]),import.meta.url),"./src/components/ui/forms/TextInput.stories.tsx":async()=>t(()=>import("./TextInput.stories-CPzo6NW-.js"),__vite__mapDeps([107,1,2,3,49,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,27,53,28,29,30,37,38,15,36,104,56,55,33,34,35,11,14,39,78]),import.meta.url),"./src/components/ui/layout/AspectRatio.stories.tsx":async()=>t(()=>import("./AspectRatio.stories-DNhpcDer.js"),__vite__mapDeps([108,1,2,3,36,31,32,22,8,17,13,7,46,15,16,90]),import.meta.url),"./src/components/ui/layout/Center.stories.tsx":async()=>t(()=>import("./Center.stories-C6NWDIFT.js"),__vite__mapDeps([109,1,2,3,89,52,8,13,7,46,31,32,22,17,15,16,90]),import.meta.url),"./src/components/ui/layout/Column.stories.tsx":async()=>t(()=>import("./Column.stories-Ca7j0P0o.js"),__vite__mapDeps([110,1,2,3,55,29,30,31,32,22,8,17,13,7,16,90]),import.meta.url),"./src/components/ui/layout/Row.stories.tsx":async()=>t(()=>import("./Row.stories-CoTMFviY.js"),__vite__mapDeps([111,1,2,3,19,20,21,22,23,24,5,6,7,8,25,26,12,13,27,28,29,30,31,32,17,33,34,35,11,14,15,36,37,38,39,16,90]),import.meta.url),"./src/components/ui/layout/Size.stories.tsx":async()=>t(()=>import("./Size.stories-DTGdjPCR.js"),__vite__mapDeps([112,1,2,3,70,30,13,8,7,46,31,32,22,17,15,16,90]),import.meta.url),"./src/components/ui/media/Figure.stories.tsx":async()=>t(()=>import("./Figure.stories-ClUqZiEM.js"),__vite__mapDeps([113,1,2,3,31,32,22,8,17,13,7,114]),import.meta.url),"./src/components/ui/media/FigureWithFacadesBackground.stories.tsx":async()=>t(()=>import("./FigureWithFacadesBackground.stories-CbdUg9P5.js"),__vite__mapDeps([115,1,2,3,116,37,24,5,6,7,8,38,31,32,22,17,13,114]),import.meta.url),"./src/components/ui/media/Icon.stories.tsx":async()=>t(()=>import("./Icon.stories-DPBXIphH.js"),__vite__mapDeps([117,33,1,2,3,34,35,8,28,29,30,31,32,22,17,13,7,11,6,12,5,14,15,36,37,24,38,39]),import.meta.url),"./src/components/ui/media/Image.stories.tsx":async()=>t(()=>import("./Image.stories-ZfBjdKKw.js"),__vite__mapDeps([118,1,2,3,25,6,7,8,14,12,13,31,32,22,17,38]),import.meta.url),"./src/components/ui/media/ImageFallback.stories.tsx":async()=>t(()=>import("./ImageFallback.stories-BCOLL1Qz.js"),__vite__mapDeps([119,1,2,3,31,32,22,8,17,13,7]),import.meta.url),"./src/components/ui/media/errors/ConstructionWorkDetailFigure.stories.tsx":async()=>t(()=>import("./ConstructionWorkDetailFigure.stories-CGjEF6j_.js"),__vite__mapDeps([120,1,2,3,34,35,8]),import.meta.url),"./src/components/ui/media/errors/ConstructionWorkFigure.stories.tsx":async()=>t(()=>import("./ConstructionWorkFigure.stories-BJdSf7MD.js"),__vite__mapDeps([121,1,2,3,34,35,8]),import.meta.url),"./src/components/ui/media/errors/ModulesFigure.stories.tsx":async()=>t(()=>import("./ModulesFigure.stories-DYHz8eiD.js"),__vite__mapDeps([122,1,2,3,34,35,8]),import.meta.url),"./src/components/ui/media/errors/ReportProblemFigure.stories.tsx":async()=>t(()=>import("./ReportProblemFigure.stories-D33HwCLU.js"),__vite__mapDeps([123,1,2,3,34,35,8]),import.meta.url),"./src/components/ui/media/errors/UpdateFigure.stories.tsx":async()=>t(()=>import("./UpdateFigure.stories-AJoakePP.js"),__vite__mapDeps([124,1,2,3,34,35,8]),import.meta.url),"./src/components/ui/media/errors/WasteGuideFigure.stories.tsx":async()=>t(()=>import("./WasteGuideFigure.stories-BgZcjvMS.js"),__vite__mapDeps([125,1,2,3,34,35,8]),import.meta.url),"./src/components/ui/text/HtmlContent.stories.tsx":async()=>t(()=>import("./HtmlContent.stories-AMd582sk.js"),__vite__mapDeps([126,1,2,3,73,74,8,75,32,76,6,7,10,43,12,13,9,5,11,14,15,21,22,23,24,25,26,77,78,79,38,35,55,29,30,31,17,28,46,80,27,37,81,42,61]),import.meta.url),"./src/components/ui/text/Link.stories.tsx":async()=>t(()=>import("./Link.stories-Bsr9sC9b.js"),__vite__mapDeps([127,1,2,3,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,27,28,29,30,70,33,34,35,11,14,15,36,37,38,39,46]),import.meta.url),"./src/components/ui/text/Paragraph.stories.tsx":async()=>t(()=>import("./Paragraph.stories-CqC3Nd_V.js"),__vite__mapDeps([128,1,2,3,56,31,32,22,8,17,15,7]),import.meta.url),"./src/components/ui/text/Phrase.stories.tsx":async()=>t(()=>import("./Phrase.stories-1WGaWSS3.js"),__vite__mapDeps([129,1,2,3,46,31,32,22,8,17,15,7,13]),import.meta.url),"./src/components/ui/text/Tag.stories.tsx":async()=>t(()=>import("./Tag.stories-BLgDQ_OS.js"),__vite__mapDeps([130,1,2,3,56,31,32,22,8,17,15,7,13]),import.meta.url),"./src/components/ui/text/Title.stories.tsx":async()=>t(()=>import("./Title.stories-Dglf4BGk.js"),__vite__mapDeps([131,1,2,3,57,31,32,22,8,17,15,7]),import.meta.url),"./src/components/ui/text/list/List.stories.tsx":async()=>t(()=>import("./List.stories-BTw7GTgY.js"),__vite__mapDeps([132,1,2,3,84,8,13,7,55,29,30,31,32,22,17,28,46,15,80,27,37,24,5,6,38,44]),import.meta.url),"./src/modules/city-pass/components/card-display/CityPassCard.stories.tsx":async()=>t(()=>import("./CityPassCard.stories-TqChsdR9.js"),__vite__mapDeps([133,1,2,3,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,55,29,30,28,33,34,35,11,14,15,36,37,38,39,56,57,44]),import.meta.url)};async function D(o){return I[o]()}const{composeConfigs:V,PreviewWeb:v,ClientApi:g}=__STORYBOOK_MODULE_PREVIEW_API__,A=async(o=[])=>{const _=await Promise.all([o.at(0)??t(()=>import("./entry-preview-BLv4HfPv.js"),__vite__mapDeps([134,135,2,3,32]),import.meta.url),o.at(1)??t(()=>import("./entry-preview-docs-BiXdOg7-.js"),__vite__mapDeps([136,135,137,3,35,138,2]),import.meta.url),o.at(2)??t(()=>import("./preview-DkERHl94.js"),[],import.meta.url),o.at(3)??t(()=>import("./preview-aVwhiz9X.js"),[],import.meta.url),o.at(4)??t(()=>import("./preview-D77C14du.js"),__vite__mapDeps([139,138]),import.meta.url),o.at(5)??t(()=>import("./preview-DFmD0pui.js"),[],import.meta.url),o.at(6)??t(()=>import("./preview-CFgKly6U.js"),[],import.meta.url),o.at(7)??t(()=>import("./preview-BWzBA1C2.js"),__vite__mapDeps([140,138]),import.meta.url),o.at(8)??t(()=>import("./preview-DGUiP6tS.js"),[],import.meta.url),o.at(9)??t(()=>import("./preview-BA20xn34.js"),[],import.meta.url),o.at(10)??t(()=>import("./preview-DkszDCHZ.js"),__vite__mapDeps([141,1,2,3,37,24,5,6,7,8,38,31,32,22,17,23,25,21,39,75,13,116,49,50,20,26,12,51,52,27,53,28,29,30,15,36,33,34,35,11,14,57,74,76,10,43,9,77,78,79,55,69,46,19,99,96,89,84,56,4,93,81,86,66,88,142,143]),import.meta.url)]);return V(_)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new v(D,A);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Fader.stories-DiOrIKkv.js","./jsx-runtime-Bxcv0yjW.js","./index-mfbfsM12.js","./_commonjsHelpers-BosuxZz1.js","./Fader-BysHR2L8.js","./NativeEventEmitter-Cj1pQcwn.js","./index-DOpK3Ow6.js","./TextAncestorContext-Cvz4PlE2.js","./index-CEE--Juu.js","./index-S14X4tbk.js","./index-kJeFfQx-.js","./Animated-C23eizOh.js","./extends-CF3RwP-h.js","./index-BDsvWohO.js","./index-DcZXOGQR.js","./index-BypDj3rK.js","./Block-B9hfeL6e.js","./base-color-B2rPH-Aj.js","./Button.stories-BFhY0AW7.js","./Button-CM8byzny.js","./PressableBase-CPU35BDr.js","./usePiwikTrackCustomEventFromProps-BQaL6XvS.js","./index-8JwjhRSi.js","./useTrackException-BhQuYC5A.js","./index-Bcpfmd17.js","./development-DYCnWZjk.js","./index-5TFaNx6b.js","./config-BZnShabN.js","./Row-BY9zY_5g.js","./mapCrossAxisAlignment-DpnuLLqj.js","./mapMainAxisAlignment-BOa0GzUh.js","./useThemable-BlSbywuP.js","./index-BMk6Tmu2.js","./Icon-CHbD1j2W.js","./index-DYSHDArR.js","./index-Dk74W0Oi.js","./types-BJ_48vsK.js","./useDeviceContext-DGl4H2w7.js","./index-C3bJM-gU.js","./useTheme-BWbL_sDV.js","./pressable-arg-types-CJIMfHep.js","./EmailButton.stories-CP96RD6Q.js","./useOpenMailUrl-Cpc3v_r1.js","./index-XPwQYiUg.js","./accessibleText-gmNPjmn1.js","./FauxButton.stories-BpYB0J9o.js","./Phrase-CsqFctWr.js","./FollowButton.stories-CZOYDJow.js","./IconButton.stories-Bqy-Ncai.js","./IconButton-BuyNnPu5.js","./Pressable-CwlxP6l-.js","./Box-DJu0GgH-.js","./layoutStyles-DflBxpuh.js","./Badge-CVvYwvd7.js","./InformationButton.stories-Ca44wmUN.js","./Column-BO_nzweR.js","./Paragraph-CJTJBOQl.js","./Title-Dg8-Cp53.js","./NavigationButton.stories-C0fEIiPA.js","./PhoneButton.stories-DXZEkan1.js","./PhoneButton-BrvuoikO.js","./useOpenPhoneUrl-BpjRyIpq.js","./PhoneHQButton.stories-0DK24w01.js","./Pressable.stories-UOwkqLEC.js","./PressableBase.stories-CNinndEg.js","./TopTaskButton.stories-B1TFsYwy.js","./HideFromAccessibility-DFWSEXqq.js","./Accordion.stories-I17Uatfq.js","./Accordion-CrkRJJvB.js","./Gutter-CijmLDTE.js","./Size-D6myJmG7.js","./Box.stories-BWLTTXrf.js","./Timeline.stories-6DuP5dL8.js","./HtmlContent-CNaxTXns.js","./useOpenUrl-CQsKsYCH.js","./index-iQAZAIR7.js","./client-DDXjyz62.js","./index-CsseZgnR.js","./index-Cnrjv3xk.js","./index-ZuFZ7TrF.js","./ListItemMarker-BOjN2r3Y.js","./useIsScreenReaderEnabled-BGYkQQWr.js","./Badge.stories-BZ1Sfcmw.js","./EmptyMessage.stories-DMtnXbDd.js","./SingleSelectable-Bg8zzmoU.js","./useAccessibilityAnnounce-DO7gK7r3.js","./duration-A4BOymd5.js","./PleaseWait.stories-URXL6sc8.js","./PleaseWait-wKZoStJU.js","./Center-CqG4tBOn.js","./Canvas-CCRWbH08.js","./SomethingWentWrong.stories-Bx4hDv3n.js","./AlertBase-BMoWSYyC.js","./useAccessibilityFocus-Djl26ZxP.js","./Trait.stories-CB0kGP0Z.js","./Triangle.stories-CKiGVaKY.js","./Triangle-DLWOHDpC.js","./Alert.stories-DJp1fcON.js","./Tooltip.stories-C2RLgHhM.js","./Tooltip-DJq4zZXn.js","./CharactersLeftDisplay.stories-D7YIAuer.js","./Checkbox.stories-fE3CtdjF.js","./FormField-DQmJEy_o.js","./Label.stories-CKVg7ca_.js","./Label-DpT1tV42.js","./RadioGroup.stories-C8r710Fp.js","./Switch.stories-aTtSlJwT.js","./TextInput.stories-KeCWmkCz.js","./AspectRatio.stories-D4FdeybA.js","./Center.stories-DM_aloze.js","./Column.stories-G5gB3qU9.js","./Row.stories-Czb6yfqj.js","./Size.stories-Dvp3T5e-.js","./Figure.stories-EMzST93X.js","./household-waste-to-container-gxPFJly2.js","./FigureWithFacadesBackground.stories-CGO0mVpI.js","./index-DbcoTUCW.js","./Icon.stories-Ad4g8LJA.js","./Image.stories-DIm8pAS-.js","./ImageFallback.stories-GLz657Q_.js","./ConstructionWorkDetailFigure.stories-CGjEF6j_.js","./ConstructionWorkFigure.stories-BJdSf7MD.js","./ModulesFigure.stories-DYHz8eiD.js","./ReportProblemFigure.stories-D33HwCLU.js","./UpdateFigure.stories-AJoakePP.js","./WasteGuideFigure.stories-BgZcjvMS.js","./HtmlContent.stories-D13bMDLJ.js","./Link.stories-D38u6Crj.js","./Paragraph.stories-BHcfLnOH.js","./Phrase.stories-D7JSOcTr.js","./Tag.stories-DwqE1YR0.js","./Title.stories-CGclVHVA.js","./List.stories-Dx-mFeSf.js","./CityPassCard.stories-BgDQmIVR.js","./entry-preview-C_WRW1gc.js","./chunk-H6MOWX77-DTQOW814.js","./entry-preview-docs-BiXdOg7-.js","./index-DF3CPj03.js","./index-DrFu-skq.js","./preview-D77C14du.js","./preview-BWzBA1C2.js","./preview-IeHAsnoQ.js","./_commonjs-dynamic-modules-TDtrdbi3.js","./preview-CPnNvsyl.css"])))=>i.map(i=>d[i]); +import"../sb-preview/runtime.js";(function(){const _=document.createElement("link").relList;if(_&&_.supports&&_.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))u(r);new MutationObserver(r=>{for(const e of r)if(e.type==="childList")for(const i of e.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&u(i)}).observe(document,{childList:!0,subtree:!0});function c(r){const e={};return r.integrity&&(e.integrity=r.integrity),r.referrerPolicy&&(e.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?e.credentials="include":r.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function u(r){if(r.ep)return;r.ep=!0;const e=c(r);fetch(r.href,e)}})();const T="modulepreload",P=function(o,_){return new URL(o,_).href},O={},t=function(_,c,u){let r=Promise.resolve();if(c&&c.length>0){const i=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),d=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));r=Promise.allSettled(c.map(n=>{if(n=P(n,u),n in O)return;O[n]=!0;const a=n.endsWith(".css"),R=a?'[rel="stylesheet"]':"";if(!!u)for(let p=i.length-1;p>=0;p--){const E=i[p];if(E.href===n&&(!a||E.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${n}"]${R}`))return;const m=document.createElement("link");if(m.rel=a?"stylesheet":T,a||(m.as="script"),m.crossOrigin="",m.href=n,d&&m.setAttribute("nonce",d),document.head.appendChild(m),a)return new Promise((p,E)=>{m.addEventListener("load",p),m.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${n}`)))})}))}function e(i){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i}return r.then(i=>{for(const s of i||[])s.status==="rejected"&&e(s.reason);return _().catch(e)})},{createBrowserChannel:y}=__STORYBOOK_MODULE_CHANNELS__,{addons:L}=__STORYBOOK_MODULE_PREVIEW_API__,l=y({page:"preview"});L.setChannel(l);window.__STORYBOOK_ADDONS_CHANNEL__=l;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=l);const I={"./src/components/ui/animations/Fader.stories.tsx":async()=>t(()=>import("./Fader.stories-DiOrIKkv.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]),import.meta.url),"./src/components/ui/buttons/Button.stories.tsx":async()=>t(()=>import("./Button.stories-BFhY0AW7.js"),__vite__mapDeps([18,1,2,3,19,20,21,22,23,24,5,6,7,8,25,26,12,13,27,28,29,30,31,32,17,33,34,35,11,14,15,36,37,38,39,40]),import.meta.url),"./src/components/ui/buttons/EmailButton.stories.tsx":async()=>t(()=>import("./EmailButton.stories-CP96RD6Q.js"),__vite__mapDeps([41,1,2,3,19,20,21,22,23,24,5,6,7,8,25,26,12,13,27,28,29,30,31,32,17,33,34,35,11,14,15,36,37,38,39,42,43,44]),import.meta.url),"./src/components/ui/buttons/FauxButton.stories.tsx":async()=>t(()=>import("./FauxButton.stories-BpYB0J9o.js"),__vite__mapDeps([45,1,2,3,27,46,31,32,22,8,17,15,7,13]),import.meta.url),"./src/components/ui/buttons/FollowButton.stories.tsx":async()=>t(()=>import("./FollowButton.stories-CZOYDJow.js"),__vite__mapDeps([47,1,2,3,19,20,21,22,23,24,5,6,7,8,25,26,12,13,27,28,29,30,31,32,17,33,34,35,11,14,15,36,37,38,39]),import.meta.url),"./src/components/ui/buttons/IconButton.stories.tsx":async()=>t(()=>import("./IconButton.stories-Bqy-Ncai.js"),__vite__mapDeps([48,1,2,3,49,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,27,53,28,29,30,37,38,15,36,33,34,35,11,14,39,40]),import.meta.url),"./src/components/ui/buttons/InformationButton.stories.tsx":async()=>t(()=>import("./InformationButton.stories-Ca44wmUN.js"),__vite__mapDeps([54,1,2,3,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,55,29,30,28,33,34,35,11,14,15,36,37,38,39,56,57,44]),import.meta.url),"./src/components/ui/buttons/NavigationButton.stories.tsx":async()=>t(()=>import("./NavigationButton.stories-C0fEIiPA.js"),__vite__mapDeps([58,1,2,3,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,28,29,30,33,34,35,11,14,15,36,37,38,39,57]),import.meta.url),"./src/components/ui/buttons/PhoneButton.stories.tsx":async()=>t(()=>import("./PhoneButton.stories-DXZEkan1.js"),__vite__mapDeps([59,60,1,2,3,19,20,21,22,23,24,5,6,7,8,25,26,12,13,27,28,29,30,31,32,17,33,34,35,11,14,15,36,37,38,39,61,43,44]),import.meta.url),"./src/components/ui/buttons/PhoneHQButton.stories.tsx":async()=>t(()=>import("./PhoneHQButton.stories-0DK24w01.js"),__vite__mapDeps([62,1,2,3,60,19,20,21,22,23,24,5,6,7,8,25,26,12,13,27,28,29,30,31,32,17,33,34,35,11,14,15,36,37,38,39,61,43,44]),import.meta.url),"./src/components/ui/buttons/Pressable.stories.tsx":async()=>t(()=>import("./Pressable.stories-UOwkqLEC.js"),__vite__mapDeps([63,1,2,3,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,56,15]),import.meta.url),"./src/components/ui/buttons/PressableBase.stories.tsx":async()=>t(()=>import("./PressableBase.stories-CNinndEg.js"),__vite__mapDeps([64,20,1,2,3,21,22,23,24,5,6,7,8,25,26,12,13,40]),import.meta.url),"./src/components/ui/buttons/TopTaskButton.stories.tsx":async()=>t(()=>import("./TopTaskButton.stories-B1TFsYwy.js"),__vite__mapDeps([65,1,2,3,66,13,8,7,50,20,21,22,23,24,5,6,25,26,12,51,52,31,32,17,55,29,30,28,33,34,35,11,14,15,36,37,38,39,56,57,44]),import.meta.url),"./src/components/ui/containers/Accordion.stories.tsx":async()=>t(()=>import("./Accordion.stories-I17Uatfq.js"),__vite__mapDeps([67,1,2,3,68,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,55,29,30,69,28,70,33,34,35,11,14,15,36,37,38,39,57,56]),import.meta.url),"./src/components/ui/containers/Box.stories.tsx":async()=>t(()=>import("./Box.stories-BWLTTXrf.js"),__vite__mapDeps([71,1,2,3,51,52,8,31,32,22,17,13,7,46,15]),import.meta.url),"./src/components/ui/containers/Timeline.stories.tsx":async()=>t(()=>import("./Timeline.stories-6DuP5dL8.js"),__vite__mapDeps([72,1,2,3,68,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,55,29,30,69,28,70,33,34,35,11,14,15,36,37,38,39,57,73,74,75,76,10,43,9,77,78,79,46,42,61,80,27,81]),import.meta.url),"./src/components/ui/feedback/Badge.stories.tsx":async()=>t(()=>import("./Badge.stories-BZ1Sfcmw.js"),__vite__mapDeps([82,53,1,2,3,28,29,30,31,32,22,8,17,13,7,37,24,5,6,38,15]),import.meta.url),"./src/components/ui/feedback/EmptyMessage.stories.tsx":async()=>t(()=>import("./EmptyMessage.stories-DMtnXbDd.js"),__vite__mapDeps([83,1,2,3,84,8,13,7,56,31,32,22,17,15,57,85,81,23,24,5,6,25,10,86,44]),import.meta.url),"./src/components/ui/feedback/PleaseWait.stories.tsx":async()=>t(()=>import("./PleaseWait.stories-URXL6sc8.js"),__vite__mapDeps([87,1,2,3,88,51,52,8,31,32,22,17,13,7,89,33,34,35,28,29,30,11,6,12,5,14,15,36,37,24,38,39,16,90]),import.meta.url),"./src/components/ui/feedback/SomethingWentWrong.stories.tsx":async()=>t(()=>import("./SomethingWentWrong.stories-Bx4hDv3n.js"),__vite__mapDeps([91,1,2,3,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,92,84,55,29,30,28,33,34,35,11,14,15,36,37,38,39,56,57,93,75,10,81,86,44,85]),import.meta.url),"./src/components/ui/feedback/Trait.stories.tsx":async()=>t(()=>import("./Trait.stories-CB0kGP0Z.js"),__vite__mapDeps([94,1,2,3,53,28,29,30,31,32,22,8,17,13,7,37,24,5,6,38,15,33,34,35,11,12,14,36,39,46]),import.meta.url),"./src/components/ui/feedback/Triangle.stories.tsx":async()=>t(()=>import("./Triangle.stories-CKiGVaKY.js"),__vite__mapDeps([95,96,1,2,3,34,35,8,36,31,32,22,17]),import.meta.url),"./src/components/ui/feedback/alert/Alert.stories.tsx":async()=>t(()=>import("./Alert.stories-DJp1fcON.js"),__vite__mapDeps([97,92,1,2,3,51,52,8,31,32,22,17,13,7,84,55,29,30,28,33,34,35,11,6,12,5,14,15,36,37,24,38,39,56,57,93,23,25,75,10,81,86,44]),import.meta.url),"./src/components/ui/feedback/tooltip/Tooltip.stories.tsx":async()=>t(()=>import("./Tooltip.stories-C2RLgHhM.js"),__vite__mapDeps([98,99,1,2,3,21,22,23,24,5,6,7,8,25,38,20,26,12,13,96,34,35,36,31,32,17,89,52,84,55,29,30,56,15,4,9,10,11,14,28,93,75,81,86]),import.meta.url),"./src/components/ui/forms/CharactersLeftDisplay.stories.tsx":async()=>t(()=>import("./CharactersLeftDisplay.stories-D7YIAuer.js"),__vite__mapDeps([100,1,2,3,56,31,32,22,8,17,15,7]),import.meta.url),"./src/components/ui/forms/Checkbox.stories.tsx":async()=>t(()=>import("./Checkbox.stories-fE3CtdjF.js"),__vite__mapDeps([101,1,2,3,102,66,13,8,7,28,29,30,31,32,22,17,52,33,34,35,11,6,12,5,14,15,36,37,24,38,39,21,23,25,79]),import.meta.url),"./src/components/ui/forms/Label.stories.tsx":async()=>t(()=>import("./Label.stories-CKVg7ca_.js"),__vite__mapDeps([103,104,1,2,3,56,31,32,22,8,17,15,7,13]),import.meta.url),"./src/components/ui/forms/RadioGroup.stories.tsx":async()=>t(()=>import("./RadioGroup.stories-C8r710Fp.js"),__vite__mapDeps([105,1,2,3,34,35,8,20,21,22,23,24,5,6,7,25,26,12,13,28,29,30,31,32,17,46,15,39,55]),import.meta.url),"./src/components/ui/forms/Switch.stories.tsx":async()=>t(()=>import("./Switch.stories-aTtSlJwT.js"),__vite__mapDeps([106,1,2,3,20,21,22,23,24,5,6,7,8,25,26,12,13,102,66,28,29,30,31,32,17,52,39,77,15]),import.meta.url),"./src/components/ui/forms/TextInput.stories.tsx":async()=>t(()=>import("./TextInput.stories-KeCWmkCz.js"),__vite__mapDeps([107,1,2,3,49,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,27,53,28,29,30,37,38,15,36,104,56,55,33,34,35,11,14,39,78]),import.meta.url),"./src/components/ui/layout/AspectRatio.stories.tsx":async()=>t(()=>import("./AspectRatio.stories-D4FdeybA.js"),__vite__mapDeps([108,1,2,3,36,31,32,22,8,17,13,7,46,15,16,90]),import.meta.url),"./src/components/ui/layout/Center.stories.tsx":async()=>t(()=>import("./Center.stories-DM_aloze.js"),__vite__mapDeps([109,1,2,3,89,52,8,13,7,46,31,32,22,17,15,16,90]),import.meta.url),"./src/components/ui/layout/Column.stories.tsx":async()=>t(()=>import("./Column.stories-G5gB3qU9.js"),__vite__mapDeps([110,1,2,3,55,29,30,31,32,22,8,17,13,7,16,90]),import.meta.url),"./src/components/ui/layout/Row.stories.tsx":async()=>t(()=>import("./Row.stories-Czb6yfqj.js"),__vite__mapDeps([111,1,2,3,19,20,21,22,23,24,5,6,7,8,25,26,12,13,27,28,29,30,31,32,17,33,34,35,11,14,15,36,37,38,39,16,90]),import.meta.url),"./src/components/ui/layout/Size.stories.tsx":async()=>t(()=>import("./Size.stories-Dvp3T5e-.js"),__vite__mapDeps([112,1,2,3,70,30,13,8,7,46,31,32,22,17,15,16,90]),import.meta.url),"./src/components/ui/media/Figure.stories.tsx":async()=>t(()=>import("./Figure.stories-EMzST93X.js"),__vite__mapDeps([113,1,2,3,31,32,22,8,17,13,7,114]),import.meta.url),"./src/components/ui/media/FigureWithFacadesBackground.stories.tsx":async()=>t(()=>import("./FigureWithFacadesBackground.stories-CGO0mVpI.js"),__vite__mapDeps([115,1,2,3,116,37,24,5,6,7,8,38,31,32,22,17,13,114]),import.meta.url),"./src/components/ui/media/Icon.stories.tsx":async()=>t(()=>import("./Icon.stories-Ad4g8LJA.js"),__vite__mapDeps([117,33,1,2,3,34,35,8,28,29,30,31,32,22,17,13,7,11,6,12,5,14,15,36,37,24,38,39]),import.meta.url),"./src/components/ui/media/Image.stories.tsx":async()=>t(()=>import("./Image.stories-DIm8pAS-.js"),__vite__mapDeps([118,1,2,3,25,6,7,8,14,12,13,31,32,22,17,38]),import.meta.url),"./src/components/ui/media/ImageFallback.stories.tsx":async()=>t(()=>import("./ImageFallback.stories-GLz657Q_.js"),__vite__mapDeps([119,1,2,3,31,32,22,8,17,13,7]),import.meta.url),"./src/components/ui/media/errors/ConstructionWorkDetailFigure.stories.tsx":async()=>t(()=>import("./ConstructionWorkDetailFigure.stories-CGjEF6j_.js"),__vite__mapDeps([120,1,2,3,34,35,8]),import.meta.url),"./src/components/ui/media/errors/ConstructionWorkFigure.stories.tsx":async()=>t(()=>import("./ConstructionWorkFigure.stories-BJdSf7MD.js"),__vite__mapDeps([121,1,2,3,34,35,8]),import.meta.url),"./src/components/ui/media/errors/ModulesFigure.stories.tsx":async()=>t(()=>import("./ModulesFigure.stories-DYHz8eiD.js"),__vite__mapDeps([122,1,2,3,34,35,8]),import.meta.url),"./src/components/ui/media/errors/ReportProblemFigure.stories.tsx":async()=>t(()=>import("./ReportProblemFigure.stories-D33HwCLU.js"),__vite__mapDeps([123,1,2,3,34,35,8]),import.meta.url),"./src/components/ui/media/errors/UpdateFigure.stories.tsx":async()=>t(()=>import("./UpdateFigure.stories-AJoakePP.js"),__vite__mapDeps([124,1,2,3,34,35,8]),import.meta.url),"./src/components/ui/media/errors/WasteGuideFigure.stories.tsx":async()=>t(()=>import("./WasteGuideFigure.stories-BgZcjvMS.js"),__vite__mapDeps([125,1,2,3,34,35,8]),import.meta.url),"./src/components/ui/text/HtmlContent.stories.tsx":async()=>t(()=>import("./HtmlContent.stories-D13bMDLJ.js"),__vite__mapDeps([126,1,2,3,73,74,8,75,32,76,6,7,10,43,12,13,9,5,11,14,15,21,22,23,24,25,26,77,78,79,38,46,31,17,42,61,35,55,29,30,28,80,27,37,81]),import.meta.url),"./src/components/ui/text/Link.stories.tsx":async()=>t(()=>import("./Link.stories-D38u6Crj.js"),__vite__mapDeps([127,1,2,3,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,27,28,29,30,70,33,34,35,11,14,15,36,37,38,39,46]),import.meta.url),"./src/components/ui/text/Paragraph.stories.tsx":async()=>t(()=>import("./Paragraph.stories-BHcfLnOH.js"),__vite__mapDeps([128,1,2,3,56,31,32,22,8,17,15,7]),import.meta.url),"./src/components/ui/text/Phrase.stories.tsx":async()=>t(()=>import("./Phrase.stories-D7JSOcTr.js"),__vite__mapDeps([129,1,2,3,46,31,32,22,8,17,15,7,13]),import.meta.url),"./src/components/ui/text/Tag.stories.tsx":async()=>t(()=>import("./Tag.stories-DwqE1YR0.js"),__vite__mapDeps([130,1,2,3,56,31,32,22,8,17,15,7,13]),import.meta.url),"./src/components/ui/text/Title.stories.tsx":async()=>t(()=>import("./Title.stories-CGclVHVA.js"),__vite__mapDeps([131,1,2,3,57,31,32,22,8,17,15,7]),import.meta.url),"./src/components/ui/text/list/List.stories.tsx":async()=>t(()=>import("./List.stories-Dx-mFeSf.js"),__vite__mapDeps([132,1,2,3,84,8,13,7,55,29,30,31,32,22,17,28,46,15,80,27,37,24,5,6,38,44]),import.meta.url),"./src/modules/city-pass/components/card-display/CityPassCard.stories.tsx":async()=>t(()=>import("./CityPassCard.stories-BgDQmIVR.js"),__vite__mapDeps([133,1,2,3,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,55,29,30,28,33,34,35,11,14,15,36,37,38,39,56,57,44]),import.meta.url)};async function D(o){return I[o]()}const{composeConfigs:V,PreviewWeb:v,ClientApi:g}=__STORYBOOK_MODULE_PREVIEW_API__,A=async(o=[])=>{const _=await Promise.all([o.at(0)??t(()=>import("./entry-preview-C_WRW1gc.js"),__vite__mapDeps([134,135,2,3,32]),import.meta.url),o.at(1)??t(()=>import("./entry-preview-docs-BiXdOg7-.js"),__vite__mapDeps([136,135,137,3,35,138,2]),import.meta.url),o.at(2)??t(()=>import("./preview-S4ijnvFU.js"),[],import.meta.url),o.at(3)??t(()=>import("./preview-aVwhiz9X.js"),[],import.meta.url),o.at(4)??t(()=>import("./preview-D77C14du.js"),__vite__mapDeps([139,138]),import.meta.url),o.at(5)??t(()=>import("./preview-DFmD0pui.js"),[],import.meta.url),o.at(6)??t(()=>import("./preview-CFgKly6U.js"),[],import.meta.url),o.at(7)??t(()=>import("./preview-BWzBA1C2.js"),__vite__mapDeps([140,138]),import.meta.url),o.at(8)??t(()=>import("./preview-DGUiP6tS.js"),[],import.meta.url),o.at(9)??t(()=>import("./preview-Cu-x-QB_.js"),[],import.meta.url),o.at(10)??t(()=>import("./preview-IeHAsnoQ.js"),__vite__mapDeps([141,1,2,3,37,24,5,6,7,8,38,31,32,22,17,23,25,21,39,75,13,116,49,50,20,26,12,51,52,27,53,28,29,30,15,36,33,34,35,11,14,57,74,76,10,43,9,77,78,79,46,42,61,55,69,19,99,96,89,84,56,4,93,81,86,66,88,142,143]),import.meta.url)]);return V(_)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new v(D,A);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; diff --git a/assets/index-vMRfdoe9.js b/assets/index-DdYHG1x9.js similarity index 93% rename from assets/index-vMRfdoe9.js rename to assets/index-DdYHG1x9.js index 947a1170..085e6db8 100644 --- a/assets/index-vMRfdoe9.js +++ b/assets/index-DdYHG1x9.js @@ -1 +1 @@ -import{f as d,n as S,F as B,$ as L,L as C,h as H,B as u,e as g,m as y,g as I,v as h,u as k,I as P,t as W,X as A,x as F,w as x,b as D,y as R,D as f,a as v,C as E,E as M,T as N,c as q,_ as w,S as O,R as U,O as Z,d as j,G as z,i as G,A as J,j as K,P as Q,k as V,l as X,o as Y,p as _,q as $,r as aa,z as sa,H as oa,s as ta,J as ea,K as ra,M as pa,N as ia,Q as na,U as ma,V as la,W as ca,Y as Ta,Z as ba,a0 as da,a1 as Sa,a2 as Ba,a3 as La,a4 as Ca,a5 as Ha,a6 as ua,a7 as ga,a8 as ya,a9 as Ia,aa as ha,ab as ka,ac as Pa,ad as Wa}from"./DocsRenderer-CFRXHY34-DQRRfxKV.js";import"./iframe-DRbcjd5I.js";import"../sb-preview/runtime.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-BMk6Tmu2.js";import"./extends-CF3RwP-h.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./react-18-CiRR_loB.js";import"./client-DDXjyz62.js";export{d as A,S as ActionBar,B as AddonPanel,L as Badge,C as Bar,H as Blockquote,u as Button,g as ClipboardCode,y as Code,I as DL,h as Div,k as DocumentWrapper,P as EmptyTabContent,W as ErrorFormatter,A as FlexBar,F as Form,x as H1,D as H2,R as H3,f as H4,v as H5,E as H6,M as HR,N as IconButton,q as IconButtonSkeleton,w as Icons,O as Img,U as LI,Z as Link,j as ListItem,z as Loader,G as Modal,J as OL,K as P,Q as Placeholder,V as Pre,X as ResetWrapper,Y as ScrollArea,_ as Separator,$ as Spaced,aa as Span,sa as StorybookIcon,oa as StorybookLogo,ta as Symbols,ea as SyntaxHighlighter,ra as TT,pa as TabBar,ia as TabButton,na as TabWrapper,ma as Table,la as Tabs,ca as TabsState,Ta as TooltipLinkList,ba as TooltipMessage,da as TooltipNote,Sa as UL,Ba as WithTooltip,La as WithTooltipPure,Ca as Zoom,Ha as codeCommon,ua as components,ga as createCopyToClipboardFunction,ya as getStoryHref,Ia as icons,ha as interleaveSeparators,ka as nameSpaceClassNames,Pa as resetComponents,Wa as withReset}; +import{f as d,n as S,F as B,$ as L,L as C,h as H,B as u,e as g,m as y,g as I,v as h,u as k,I as P,t as W,X as A,x as F,w as x,b as D,y as R,D as f,a as v,C as E,E as M,T as N,c as q,_ as w,S as O,R as U,O as Z,d as j,G as z,i as G,A as J,j as K,P as Q,k as V,l as X,o as Y,p as _,q as $,r as aa,z as sa,H as oa,s as ta,J as ea,K as ra,M as pa,N as ia,Q as na,U as ma,V as la,W as ca,Y as Ta,Z as ba,a0 as da,a1 as Sa,a2 as Ba,a3 as La,a4 as Ca,a5 as Ha,a6 as ua,a7 as ga,a8 as ya,a9 as Ia,aa as ha,ab as ka,ac as Pa,ad as Wa}from"./DocsRenderer-CFRXHY34-BMZ1OgK-.js";import"./iframe-D78jW9zZ.js";import"../sb-preview/runtime.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-BMk6Tmu2.js";import"./extends-CF3RwP-h.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./react-18-CiRR_loB.js";import"./client-DDXjyz62.js";export{d as A,S as ActionBar,B as AddonPanel,L as Badge,C as Bar,H as Blockquote,u as Button,g as ClipboardCode,y as Code,I as DL,h as Div,k as DocumentWrapper,P as EmptyTabContent,W as ErrorFormatter,A as FlexBar,F as Form,x as H1,D as H2,R as H3,f as H4,v as H5,E as H6,M as HR,N as IconButton,q as IconButtonSkeleton,w as Icons,O as Img,U as LI,Z as Link,j as ListItem,z as Loader,G as Modal,J as OL,K as P,Q as Placeholder,V as Pre,X as ResetWrapper,Y as ScrollArea,_ as Separator,$ as Spaced,aa as Span,sa as StorybookIcon,oa as StorybookLogo,ta as Symbols,ea as SyntaxHighlighter,ra as TT,pa as TabBar,ia as TabButton,na as TabWrapper,ma as Table,la as Tabs,ca as TabsState,Ta as TooltipLinkList,ba as TooltipMessage,da as TooltipNote,Sa as UL,Ba as WithTooltip,La as WithTooltipPure,Ca as Zoom,Ha as codeCommon,ua as components,ga as createCopyToClipboardFunction,ya as getStoryHref,Ia as icons,ha as interleaveSeparators,ka as nameSpaceClassNames,Pa as resetComponents,Wa as withReset}; diff --git a/assets/index-eRgc22Hn.js b/assets/index-eRgc22Hn.js deleted file mode 100644 index 5cc3366b..00000000 --- a/assets/index-eRgc22Hn.js +++ /dev/null @@ -1 +0,0 @@ -import{a as Rt}from"./_commonjsHelpers-BosuxZz1.js";import{e as re,c as A,s as f,_ as y,a as B,b,n as vt,A as mt,p as ft,u as St}from"./index-CEE--Juu.js";import{f as _t}from"./index-iQAZAIR7.js";import{r as me,f as Tt}from"./index-BMk6Tmu2.js";import{h as Pt,c as gt}from"./client-DDXjyz62.js";import{i as M,P as $e,D as pt,N as yt}from"./index-DOpK3Ow6.js";import{A as bt}from"./index-kJeFfQx-.js";import{A as Ot,L as Nt}from"./index-XPwQYiUg.js";import{_ as O}from"./extends-CF3RwP-h.js";import{r as i,R as I}from"./index-mfbfsM12.js";import{V as m}from"./index-BDsvWohO.js";import{A as Dt}from"./index-S14X4tbk.js";import{d as Ct,I as fe,A as At,E as It,F as Lt,R as Mt,a as wt,S as kt,V as Vt}from"./Animated-C23eizOh.js";import{I as ze,P as xt}from"./index-DcZXOGQR.js";import{U as G,g as Se,e as Gt,p as Ht}from"./TextAncestorContext-Cvz4PlE2.js";import{b as Ue}from"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import{T as je}from"./index-BypDj3rK.js";import{M as Bt}from"./index-5TFaNx6b.js";import{S as Yt}from"./index-CsseZgnR.js";import{T as Ft}from"./index-Cnrjv3xk.js";import{M as $t}from"./index-ZuFZ7TrF.js";import{R as zt,N as Ut}from"./NativeEventEmitter-Cj1pQcwn.js";import{u as jt}from"./index-C3bJM-gU.js";const oe=me.unmountComponentAtNode;function Wt(e,t){return re(t),Pt(t,e)}function Xt(e,t){re(t);var a=gt(t);return a.render(e),a}function Zt(e,t,a){return re(t),me.hydrate(e,t,a),{unmount:function(){return oe(t)}}}function We(e,t,a){return re(t),me.render(e,t,a),{unmount:function(){return oe(t)}}}function Kt(){return A&&window.matchMedia!=null?window.matchMedia("(prefers-color-scheme: dark)"):null}var k=Kt(),W=new WeakMap,qt={getColorScheme(){return k&&k.matches?"dark":"light"},addChangeListener(e){var t=W.get(e);t||(t=r=>{var n=r.matches;e({colorScheme:n?"dark":"light"})},W.set(e,t)),k&&k.addListener(t);function a(){var r=W.get(e);k&&r&&k.removeListener(r),W.delete(e)}return{remove:a}}};const Ee=qt;var Jt=i.createContext(null),_e=i.forwardRef((e,t)=>{var a=e.children,r=e.WrapperComponent,n=i.createElement(m,{children:a,key:1,style:Ne.appContainer});return r&&(n=i.createElement(r,null,n)),i.createElement(Jt.Provider,{value:e.rootTag},i.createElement(m,{ref:t,style:Ne.appContainer},n))});_e.displayName="AppContainer";var Ne=f.create({appContainer:{flex:1,pointerEvents:"box-none"}});function Qt(e,t,a,r){var n=r.hydrate,o=r.initialProps,s=r.mode,c=r.rootTag,u=n?s==="concurrent"?Wt:Zt:s==="concurrent"?Xt:We;return M(c,"Expect to have a valid rootTag, instead got ",c),u(I.createElement(_e,{WrapperComponent:t,ref:a,rootTag:c},I.createElement(e,o)),c)}function ea(e,t,a){var r=I.createElement(_e,{WrapperComponent:a,rootTag:{}},I.createElement(e,t)),n=o=>{var s=f.getSheet();return I.createElement("style",O({},o,{dangerouslySetInnerHTML:{__html:s.textContent},id:s.id}))};return{element:r,getStyleElement:n}}var De={},C={},le=e=>e(),F;class ae{static getAppKeys(){return Object.keys(C)}static getApplication(t,a){return M(C[t]&&C[t].getApplication,"Application "+t+" has not been registered. This is either due to an import error during initialization or failure to call AppRegistry.registerComponent."),C[t].getApplication(a)}static registerComponent(t,a){return C[t]={getApplication:r=>ea(le(a),r?r.initialProps:De,F&&F(r)),run:r=>Qt(le(a),F&&F(r),r.callback,{hydrate:r.hydrate||!1,initialProps:r.initialProps||De,mode:r.mode||"concurrent",rootTag:r.rootTag})},t}static registerConfig(t){t.forEach(a=>{var r=a.appKey,n=a.component,o=a.run;o?ae.registerRunnable(r,o):(M(n,"No component provider passed in"),ae.registerComponent(r,n))})}static registerRunnable(t,a){return C[t]={run:a},t}static runApplication(t,a){return M(C[t]&&C[t].run,'Application "'+t+'" has not been registered. This is either due to an import error during initialization or failure to call AppRegistry.registerComponent.'),C[t].run(a)}static setComponentProviderInstrumentationHook(t){le=t}static setWrapperComponentProvider(t){F=t}static unmountApplicationComponentAtRootTag(t){oe(t)}}function ce(){}var ta={exitApp:ce,addEventListener(){return console.error("BackHandler is not supported on web and should not be used."),{remove:ce}},removeEventListener:ce};const aa=ta;var ue;class na{static isAvailable(){return ue===void 0&&(ue=typeof document.queryCommandSupported=="function"&&document.queryCommandSupported("copy")),ue}static getString(){return Promise.resolve("")}static setString(t){var a=!1,r=document.body;if(r){var n=document.createElement("span");n.textContent=t,n.style.opacity="0",n.style.position="absolute",n.style.whiteSpace="pre-wrap",n.style.userSelect="auto",r.appendChild(n);var o=window.getSelection();o.removeAllRanges();var s=document.createRange();s.selectNodeContents(n),o.addRange(s);try{document.execCommand("copy"),a=!0}catch{}o.removeAllRanges(),r.removeChild(n)}return a}}var ra={allowRTL(){},forceRTL(){},getConstants(){return{isRTL:!1}}},oa={addListener(){return{remove:()=>{}}},dismiss(){Ct()},removeAllListeners(){},removeListener(){}};function X(e,t){$e.isTesting||G.configureNextLayoutAnimation(e,t??function(){},function(){})}function he(e,t,a){return{duration:e,create:{type:t,property:a},update:{type:t},delete:{type:t,property:a}}}var Z={easeInEaseOut:he(300,"easeInEaseOut","opacity"),linear:he(500,"linear","opacity"),spring:{duration:700,create:{type:"linear",property:"opacity"},update:{type:"spring",springDamping:.4},delete:{type:"linear",property:"opacity"}}},ia={configureNext:X,create:he,Types:Object.freeze({spring:"spring",linear:"linear",easeInEaseOut:"easeInEaseOut",easeIn:"easeIn",easeOut:"easeOut",keyboard:"keyboard"}),Properties:Object.freeze({opacity:"opacity",scaleX:"scaleX",scaleY:"scaleY",scaleXY:"scaleXY"}),checkConfig(){console.error("LayoutAnimation.checkConfig(...) has been disabled.")},Presets:Z,easeInEaseOut:X.bind(null,Z.easeInEaseOut),linear:X.bind(null,Z.linear),spring:X.bind(null,Z.spring)},P={centroidDimension:function(t,a,r,n){var o=t.touchBank,s=0,c=0,u=t.numberActiveTouches===1?t.touchBank[t.indexOfSingleActiveTouch]:null;if(u!==null)u.touchActive&&u.currentTimeStamp>a&&(s+=n&&r?u.currentPageX:n&&!r?u.currentPageY:!n&&r?u.previousPageX:u.previousPageY,c=1);else for(var d=0;d<o.length;d++){var E=o[d];if(E!=null&&E.touchActive&&E.currentTimeStamp>=a){var h=void 0;n&&r?h=E.currentPageX:n&&!r?h=E.currentPageY:!n&&r?h=E.previousPageX:h=E.previousPageY,s+=h,c++}}return c>0?s/c:P.noCentroid},currentCentroidXOfTouchesChangedAfter:function(t,a){return P.centroidDimension(t,a,!0,!0)},currentCentroidYOfTouchesChangedAfter:function(t,a){return P.centroidDimension(t,a,!1,!0)},previousCentroidXOfTouchesChangedAfter:function(t,a){return P.centroidDimension(t,a,!0,!1)},previousCentroidYOfTouchesChangedAfter:function(t,a){return P.centroidDimension(t,a,!1,!1)},currentCentroidX:function(t){return P.centroidDimension(t,0,!0,!0)},currentCentroidY:function(t){return P.centroidDimension(t,0,!1,!0)},noCentroid:-1},Ce=P.currentCentroidXOfTouchesChangedAfter,Ae=P.currentCentroidYOfTouchesChangedAfter,sa=P.previousCentroidXOfTouchesChangedAfter,la=P.previousCentroidYOfTouchesChangedAfter,ca=P.currentCentroidX,ua=P.currentCentroidY,V={_initializeGestureState(e){e.moveX=0,e.moveY=0,e.x0=0,e.y0=0,e.dx=0,e.dy=0,e.vx=0,e.vy=0,e.numberActiveTouches=0,e._accountsForMovesUpTo=0},_updateGestureStateOnMove(e,t){e.numberActiveTouches=t.numberActiveTouches,e.moveX=Ce(t,e._accountsForMovesUpTo),e.moveY=Ae(t,e._accountsForMovesUpTo);var a=e._accountsForMovesUpTo,r=sa(t,a),n=Ce(t,a),o=la(t,a),s=Ae(t,a),c=e.dx+(n-r),u=e.dy+(s-o),d=t.mostRecentTimeStamp-e._accountsForMovesUpTo;e.vx=(c-e.dx)/d,e.vy=(u-e.dy)/d,e.dx=c,e.dy=u,e._accountsForMovesUpTo=t.mostRecentTimeStamp},create(e){var t={handle:null,shouldCancelClick:!1,timeout:null},a={stateID:Math.random(),moveX:0,moveY:0,x0:0,y0:0,dx:0,dy:0,vx:0,vy:0,numberActiveTouches:0,_accountsForMovesUpTo:0},r={onStartShouldSetResponder(n){return e.onStartShouldSetPanResponder==null?!1:e.onStartShouldSetPanResponder(n,a)},onMoveShouldSetResponder(n){return e.onMoveShouldSetPanResponder==null?!1:e.onMoveShouldSetPanResponder(n,a)},onStartShouldSetResponderCapture(n){return n.nativeEvent.touches.length===1&&V._initializeGestureState(a),a.numberActiveTouches=n.touchHistory.numberActiveTouches,e.onStartShouldSetPanResponderCapture!=null?e.onStartShouldSetPanResponderCapture(n,a):!1},onMoveShouldSetResponderCapture(n){var o=n.touchHistory;return a._accountsForMovesUpTo===o.mostRecentTimeStamp?!1:(V._updateGestureStateOnMove(a,o),e.onMoveShouldSetPanResponderCapture?e.onMoveShouldSetPanResponderCapture(n,a):!1)},onResponderGrant(n){return t.handle||(t.handle=fe.createInteractionHandle()),t.timeout&&da(t),t.shouldCancelClick=!0,a.x0=ca(n.touchHistory),a.y0=ua(n.touchHistory),a.dx=0,a.dy=0,e.onPanResponderGrant&&e.onPanResponderGrant(n,a),e.onShouldBlockNativeResponder==null?!0:e.onShouldBlockNativeResponder(n,a)},onResponderReject(n){K(t,e.onPanResponderReject,n,a)},onResponderRelease(n){K(t,e.onPanResponderRelease,n,a),Ie(t),V._initializeGestureState(a)},onResponderStart(n){var o=n.touchHistory;a.numberActiveTouches=o.numberActiveTouches,e.onPanResponderStart&&e.onPanResponderStart(n,a)},onResponderMove(n){var o=n.touchHistory;a._accountsForMovesUpTo!==o.mostRecentTimeStamp&&(V._updateGestureStateOnMove(a,o),e.onPanResponderMove&&e.onPanResponderMove(n,a))},onResponderEnd(n){var o=n.touchHistory;a.numberActiveTouches=o.numberActiveTouches,K(t,e.onPanResponderEnd,n,a)},onResponderTerminate(n){K(t,e.onPanResponderTerminate,n,a),Ie(t),V._initializeGestureState(a)},onResponderTerminationRequest(n){return e.onPanResponderTerminationRequest==null?!0:e.onPanResponderTerminationRequest(n,a)},onClickCapture:n=>{t.shouldCancelClick===!0&&(n.stopPropagation(),n.preventDefault())}};return{panHandlers:r,getInteractionHandle(){return t.handle}}}};function K(e,t,a,r){e.handle&&(fe.clearInteractionHandle(e.handle),e.handle=null),t&&t(a,r)}function da(e){clearTimeout(e.timeout)}function Ie(e){e.timeout=setTimeout(()=>{e.shouldCancelClick=!1},250)}class Ea{static share(t,a){return a===void 0&&(a={}),M(typeof t=="object"&&t!==null,"Content to share must be a valid object"),M(typeof t.url=="string"||typeof t.message=="string","At least one of URL and message is required"),M(typeof a=="object"&&a!==null,"Options must be a valid object"),M(!t.title||typeof t.title=="string","Invalid title: title should be a string."),window.navigator.share!==void 0?window.navigator.share({title:t.title,text:t.message,url:t.url}):Promise.reject(new Error("Share is not supported in this browser"))}static get sharedAction(){return"sharedAction"}static get dismissedAction(){return"dismissedAction"}}const ha=Ea;var Le=e=>{"vibrate"in window.navigator&&window.navigator.vibrate(e)},Ra={cancel(){Le(0)},vibrate(e){e===void 0&&(e=400),Le(e)}};const va=Ra;var ma=["animating","color","hidesWhenStopped","size","style"],Me=e=>i.createElement("circle",{cx:"16",cy:"16",fill:"none",r:"14",strokeWidth:"4",style:e}),Xe=i.forwardRef((e,t)=>{var a=e.animating,r=a===void 0?!0:a,n=e.color,o=n===void 0?"#1976D2":n,s=e.hidesWhenStopped,c=s===void 0?!0:s,u=e.size,d=u===void 0?"small":u,E=e.style,h=y(e,ma),R=i.createElement("svg",{height:"100%",viewBox:"0 0 32 32",width:"100%"},Me({stroke:o,opacity:.2}),Me({stroke:o,strokeDasharray:80,strokeDashoffset:60}));return i.createElement(m,O({},h,{"aria-valuemax":1,"aria-valuemin":0,ref:t,role:"progressbar",style:[q.container,E]}),i.createElement(m,{children:R,style:[typeof d=="number"?{height:d,width:d}:fa[d],q.animation,!r&&q.animationPause,!r&&c&&q.hidesWhenStopped]}))});Xe.displayName="ActivityIndicator";var q=f.create({container:{alignItems:"center",justifyContent:"center"},hidesWhenStopped:{visibility:"hidden"},animation:{animationDuration:"0.75s",animationKeyframes:[{"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}],animationTimingFunction:"linear",animationIterationCount:"infinite"},animationPause:{animationPlayState:"paused"}}),fa=f.create({small:{width:20,height:20},large:{width:36,height:36}});const Sa=Xe;var _a=["activeOpacity","delayPressIn","delayPressOut","delayLongPress","disabled","focusable","onLongPress","onPress","onPressIn","onPressOut","rejectResponderTermination","style"];function Ta(e,t){var a=e.activeOpacity,r=e.delayPressIn,n=e.delayPressOut,o=e.delayLongPress,s=e.disabled,c=e.focusable,u=e.onLongPress,d=e.onPress,E=e.onPressIn,h=e.onPressOut,R=e.rejectResponderTermination,v=e.style,T=y(e,_a),S=i.useRef(null),N=Se(t,S),D=i.useState("0s"),se=D[0],Pe=D[1],ge=i.useState(null),pe=ge[0],ye=ge[1],U=i.useCallback((g,j)=>{ye(g),Pe(j?j/1e3+"s":"0s")},[ye,Pe]),be=i.useCallback(g=>{U(a??.2,g)},[a,U]),Oe=i.useCallback(g=>{U(null,g)},[U]),Et=i.useMemo(()=>({cancelable:!R,disabled:s,delayLongPress:o,delayPressStart:r,delayPressEnd:n,onLongPress:u,onPress:d,onPressStart(g){var j=g.dispatchConfig!=null?g.dispatchConfig.registrationName==="onResponderGrant":g.type==="keydown";be(j?0:150),E!=null&&E(g)},onPressEnd(g){Oe(250),h!=null&&h(g)}}),[o,r,n,s,u,d,E,h,R,be,Oe]),ht=Ue(S,Et);return i.createElement(m,O({},T,ht,{accessibilityDisabled:s,focusable:!s&&c!==!1,pointerEvents:s?"box-none":void 0,ref:N,style:[we.root,!s&&we.actionable,v,pe!=null&&{opacity:pe},{transitionDuration:se}]}))}var we=f.create({root:{transitionProperty:"opacity",transitionDuration:"0.15s",userSelect:"none"},actionable:{cursor:"pointer",touchAction:"manipulation"}}),Ze=i.memo(i.forwardRef(Ta));Ze.displayName="TouchableOpacity";const Ke=Ze;var qe=i.forwardRef((e,t)=>{var a=e.accessibilityLabel,r=e.color,n=e.disabled,o=e.onPress,s=e.testID,c=e.title;return i.createElement(Ke,{accessibilityLabel:a,accessibilityRole:"button",disabled:n,focusable:!n,onPress:o,ref:t,style:[J.button,r&&{backgroundColor:r},n&&J.buttonDisabled],testID:s},i.createElement(je,{style:[J.text,n&&J.textDisabled]},c))});qe.displayName="Button";var J=f.create({button:{backgroundColor:"#2196F3",borderRadius:2},text:{color:"#fff",fontWeight:"500",padding:8,textAlign:"center",textTransform:"uppercase"},buttonDisabled:{backgroundColor:"#dfdfdf"},textDisabled:{color:"#a1a1a1"}});const Pa=qe;var ga=["aria-readonly","color","disabled","onChange","onValueChange","readOnly","style","value"],Je=i.forwardRef((e,t)=>{var a=e["aria-readonly"],r=e.color,n=e.disabled,o=e.onChange,s=e.onValueChange,c=e.readOnly,u=e.style,d=e.value,E=y(e,ga);function h(T){var S=T.nativeEvent.target.checked;T.nativeEvent.value=S,o&&o(T),s&&s(S)}var R=i.createElement(m,{style:[L.fakeControl,d&&L.fakeControlChecked,d&&r&&{backgroundColor:r,borderColor:r},n&&L.fakeControlDisabled,d&&n&&L.fakeControlCheckedAndDisabled]}),v=B("input",{checked:d,disabled:n,onChange:h,readOnly:c===!0||a===!0||E.accessibilityReadOnly===!0,ref:t,style:[L.nativeControl,L.cursorInherit],type:"checkbox"});return i.createElement(m,O({},E,{"aria-disabled":n,"aria-readonly":a,style:[L.root,u,n&&L.cursorDefault]}),R,v)});Je.displayName="CheckBox";var L=f.create({root:{cursor:"pointer",height:16,userSelect:"none",width:16},cursorDefault:{cursor:"default"},cursorInherit:{cursor:"inherit"},fakeControl:{alignItems:"center",backgroundColor:"#fff",borderColor:"#657786",borderRadius:2,borderStyle:"solid",borderWidth:2,height:"100%",justifyContent:"center",width:"100%"},fakeControlChecked:{backgroundColor:"#009688",backgroundImage:'url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8cGF0aAogICAgIGQ9Ik0gMC4wNDAzODA1OSwwLjYyNjc3NjcgMC4xNDY0NDY2MSwwLjUyMDcxMDY4IDAuNDI5Mjg5MzIsMC44MDM1NTMzOSAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IE0gMC4yMTcxNTcyOSwwLjgwMzU1MzM5IDAuODUzNTUzMzksMC4xNjcxNTcyOSAwLjk1OTYxOTQxLDAuMjczMjIzMyAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IgogICAgIGlkPSJyZWN0Mzc4MCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K")',backgroundRepeat:"no-repeat",borderColor:"#009688"},fakeControlDisabled:{borderColor:"#CCD6DD"},fakeControlCheckedAndDisabled:{backgroundColor:"#AAB8C2",borderColor:"#AAB8C2"},nativeControl:b(b({},f.absoluteFillObject),{},{height:"100%",margin:0,appearance:"none",padding:0,width:"100%"})});const pa=Je;var ya=["children","style","imageStyle","imageRef"],ba={},Qe=i.forwardRef((e,t)=>{var a=e.children,r=e.style,n=r===void 0?ba:r,o=e.imageStyle,s=e.imageRef,c=y(e,ya),u=f.flatten(n),d=u.height,E=u.width;return i.createElement(m,{ref:t,style:n},i.createElement(ze,O({},c,{ref:s,style:[{width:E,height:d,zIndex:-1},f.absoluteFill,o]})),a)});Qe.displayName="ImageBackground";const Oa=Qe;var Na=["behavior","contentContainerStyle","keyboardVerticalOffset"];class Da extends i.Component{constructor(){super(...arguments),this.frame=null,this.onLayout=t=>{this.frame=t.nativeEvent.layout}}relativeKeyboardHeight(t){var a=this.frame;if(!a||!t)return 0;var r=t.screenY-(this.props.keyboardVerticalOffset||0);return Math.max(a.y+a.height-r,0)}onKeyboardChange(t){}render(){var t=this.props;t.behavior,t.contentContainerStyle,t.keyboardVerticalOffset;var a=y(t,Na);return i.createElement(m,O({onLayout:this.onLayout},a))}}function Ca(e){var t=e.children,a=i.useRef(null);if(A&&!a.current){var r=document.createElement("div");r&&document.body&&(document.body.appendChild(r),a.current=r)}return i.useEffect(()=>{if(A)return()=>{document.body&&a.current&&(document.body.removeChild(a.current),a.current=null)}},[]),a.current&&A?Tt.createPortal(t,a.current):null}var ke=300;function Aa(e,t){return e==="slide"?t?La:Ma:e==="fade"?t?wa:ka:t?_.container:_.hidden}function Ia(e){var t=e.animationType,a=e.children,r=e.onDismiss,n=e.onShow,o=e.visible,s=i.useState(!1),c=s[0],u=s[1],d=i.useRef(!1),E=i.useRef(!1),h=t&&t!=="none",R=i.useCallback(v=>{v&&v.currentTarget!==v.target||(o?n&&n():u(!1))},[n,o]);return i.useEffect(()=>{E.current&&!c&&r&&r(),E.current=c},[c,r]),i.useEffect(()=>{o&&u(!0),o!==d.current&&!h&&R(),d.current=o},[h,o,R]),c||o?B("div",{style:c?Aa(t,o):_.hidden,onAnimationEnd:R,children:a}):null}var _=f.create({container:{position:"fixed",top:0,right:0,bottom:0,left:0,zIndex:9999},animatedIn:{animationDuration:ke+"ms",animationTimingFunction:"ease-in"},animatedOut:{pointerEvents:"none",animationDuration:ke+"ms",animationTimingFunction:"ease-out"},fadeIn:{opacity:1,animationKeyframes:{"0%":{opacity:0},"100%":{opacity:1}}},fadeOut:{opacity:0,animationKeyframes:{"0%":{opacity:1},"100%":{opacity:0}}},slideIn:{transform:"translateY(0%)",animationKeyframes:{"0%":{transform:"translateY(100%)"},"100%":{transform:"translateY(0%)"}}},slideOut:{transform:"translateY(100%)",animationKeyframes:{"0%":{transform:"translateY(0%)"},"100%":{transform:"translateY(100%)"}}},hidden:{opacity:0}}),La=[_.container,_.animatedIn,_.slideIn],Ma=[_.container,_.animatedOut,_.slideOut],wa=[_.container,_.animatedIn,_.fadeIn],ka=[_.container,_.animatedOut,_.fadeOut],Va=["active","children","onRequestClose","transparent"],xa=i.forwardRef((e,t)=>{var a=e.active,r=e.children,n=e.onRequestClose,o=e.transparent,s=y(e,Va);i.useEffect(()=>{if(A){var u=d=>{a&&d.key==="Escape"&&(d.stopPropagation(),n&&n())};return document.addEventListener("keyup",u,!1),()=>document.removeEventListener("keyup",u,!1)}},[a,n]);var c=i.useMemo(()=>[Q.modal,o?Q.modalTransparent:Q.modalOpaque],[o]);return i.createElement(m,O({},s,{"aria-modal":!0,ref:t,role:a?"dialog":null,style:c}),i.createElement(m,{style:Q.container},r))}),Q=f.create({modal:{position:"fixed",top:0,right:0,bottom:0,left:0},modalTransparent:{backgroundColor:"transparent"},modalOpaque:{backgroundColor:"white"},container:{top:0,flex:1}}),Ve=()=>B("div",{role:"none",tabIndex:0,style:Ha.focusBracket});function et(e){if(!A)return!1;try{e.focus()}catch{}return document.activeElement===e}function tt(e){for(var t=0;t<e.childNodes.length;t++){var a=e.childNodes[t];if(et(a)||tt(a))return!0}return!1}function at(e){for(var t=e.childNodes.length-1;t>=0;t--){var a=e.childNodes[t];if(et(a)||at(a))return!0}return!1}var Ga=e=>{var t=e.active,a=e.children,r=i.useRef(),n=i.useRef({trapFocusInProgress:!1,lastFocusedElement:null});return i.useEffect(()=>{if(A){var o=()=>{if(!(r.current==null||n.current.trapFocusInProgress||!t)){try{if(n.current.trapFocusInProgress=!0,document.activeElement instanceof Node&&!r.current.contains(document.activeElement)){var s=tt(r.current);n.current.lastFocusedElement===document.activeElement&&(s=at(r.current)),!s&&r.current!=null&&document.activeElement&&G.focus(r.current)}}finally{n.current.trapFocusInProgress=!1}n.current.lastFocusedElement=document.activeElement}};return o(),document.addEventListener("focus",o,!0),()=>document.removeEventListener("focus",o,!0)}},[t]),i.useEffect(function(){if(A){var o=document.activeElement;return function(){o&&document.contains(o)&&G.focus(o)}}},[]),i.createElement(i.Fragment,null,i.createElement(Ve,null),i.createElement(m,{ref:r},a),i.createElement(Ve,null))},Ha=f.create({focusBracket:{outlineStyle:"none"}}),Ba=["animationType","children","onDismiss","onRequestClose","onShow","transparent","visible"],Ya=0,w=[],x={};function nt(){if(w.length!==0){var e=w[w.length-1];w.forEach(t=>{t in x&&x[t](t===e)})}}function Re(e){e in x&&(x[e](!1),delete x[e]);var t=w.indexOf(e);t!==-1&&(w.splice(t,1),nt())}function Fa(e,t){Re(e),w.push(e),x[e]=t,nt()}var $a=i.forwardRef((e,t)=>{var a=e.animationType,r=e.children,n=e.onDismiss,o=e.onRequestClose,s=e.onShow,c=e.transparent,u=e.visible,d=u===void 0?!0:u,E=y(e,Ba),h=i.useMemo(()=>Ya++,[]),R=i.useState(!1),v=R[0],T=R[1],S=i.useCallback(()=>{Re(h),n&&n()},[h,n]),N=i.useCallback(()=>{Fa(h,T),s&&s()},[h,s]);return i.useEffect(()=>()=>Re(h),[h]),i.createElement(Ca,null,i.createElement(Ia,{animationType:a,onDismiss:S,onShow:N,visible:d},i.createElement(Ga,{active:v},i.createElement(xa,O({},E,{active:v,onRequestClose:o,ref:t,transparent:c}),r))))});const za=$a;function Ua(e){var t=e.color,a=e.label,r=e.testID,n=e.value,o={color:t};return B("option",{children:a,style:o,testID:r,value:n})}var ja=["children","enabled","onValueChange","selectedValue","style","testID","itemStyle","mode","prompt"],rt=i.forwardRef((e,t)=>{var a=e.children,r=e.enabled,n=e.onValueChange,o=e.selectedValue,s=e.style,c=e.testID;e.itemStyle,e.mode,e.prompt;var u=y(e,ja),d=i.useRef(null);function E(T){var S=T.target,N=S.selectedIndex,D=S.value;n&&n(D,N)}var h=b({children:a,disabled:r===!1?!0:void 0,onChange:E,style:[Wa.initial,s],testID:c,value:o},u),R=Gt(h),v=Se(d,R,t);return h.ref=v,B("select",h)});rt.Item=Ua;var Wa=f.create({initial:{fontFamily:"System",fontSize:"inherit",margin:0}});const Xa=rt;var Za=["color","indeterminate","progress","trackColor","style"],ot=i.forwardRef((e,t)=>{var a=e.color,r=a===void 0?"#1976D2":a,n=e.indeterminate,o=n===void 0?!1:n,s=e.progress,c=s===void 0?0:s,u=e.trackColor,d=u===void 0?"transparent":u,E=e.style,h=y(e,Za),R=c*100,v=o?"25%":R+"%";return i.createElement(m,O({},h,{"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":o?null:R,ref:t,role:"progressbar",style:[de.track,E,{backgroundColor:d}]}),i.createElement(m,{style:[{backgroundColor:r,width:v},de.progress,o&&de.animation]}))});ot.displayName="ProgressBar";var de=f.create({track:{forcedColorAdjust:"none",height:5,overflow:"hidden",userSelect:"none",zIndex:0},progress:{forcedColorAdjust:"none",height:"100%",zIndex:-1},animation:{animationDuration:"1s",animationKeyframes:[{"0%":{transform:"translateX(-100%)"},"100%":{transform:"translateX(400%)"}}],animationTimingFunction:"linear",animationIterationCount:"infinite"}});const Ka=ot;var qa=["style"],ee=function(){return A&&window.CSS&&window.CSS.supports&&window.CSS.supports("top: constant(safe-area-inset-top)")?"constant":"env"}(),it=i.forwardRef((e,t)=>{var a=e.style,r=y(e,qa);return i.createElement(m,O({},r,{ref:t,style:[Ja.root,a]}))});it.displayName="SafeAreaView";var Ja=f.create({root:{paddingTop:ee+"(safe-area-inset-top)",paddingRight:ee+"(safe-area-inset-right)",paddingBottom:ee+"(safe-area-inset-bottom)",paddingLeft:ee+"(safe-area-inset-left)"}});const Qa=it;var $=()=>{};function Y(){return null}Y.setBackgroundColor=$;Y.setBarStyle=$;Y.setHidden=$;Y.setNetworkActivityIndicatorVisible=$;Y.setTranslucent=$;var st=function(t,a){var r=this;if(r.instancePool.length){var n=r.instancePool.pop();return r.call(n,t,a),n}else return new r(t,a)},en=function(t){var a=this;t.destructor(),a.instancePool.length<a.poolSize&&a.instancePool.push(t)},tn=10,an=st,nn=function(t,a){var r=t;return r.instancePool=[],r.getPooled=a||an,r.poolSize||(r.poolSize=tn),r.release=en,r},ie={addPoolingTo:nn,twoArgumentPooler:st},rn=ie.twoArgumentPooler;function H(e,t){this.width=e,this.height=t}H.prototype.destructor=function(){this.width=null,this.height=null};H.getPooledFromElement=function(e){return H.getPooled(e.offsetWidth,e.offsetHeight)};ie.addPoolingTo(H,rn);var on=ie.twoArgumentPooler;function ne(e,t){this.left=e,this.top=t}ne.prototype.destructor=function(){this.left=null,this.top=null};ie.addPoolingTo(ne,on);var xe=e=>{var t=e.touches,a=e.changedTouches,r=t&&t.length>0,n=a&&a.length>0;return!r&&n?a[0]:r?t[0]:e},l={NOT_RESPONDER:"NOT_RESPONDER",RESPONDER_INACTIVE_PRESS_IN:"RESPONDER_INACTIVE_PRESS_IN",RESPONDER_INACTIVE_PRESS_OUT:"RESPONDER_INACTIVE_PRESS_OUT",RESPONDER_ACTIVE_PRESS_IN:"RESPONDER_ACTIVE_PRESS_IN",RESPONDER_ACTIVE_PRESS_OUT:"RESPONDER_ACTIVE_PRESS_OUT",RESPONDER_ACTIVE_LONG_PRESS_IN:"RESPONDER_ACTIVE_LONG_PRESS_IN",RESPONDER_ACTIVE_LONG_PRESS_OUT:"RESPONDER_ACTIVE_LONG_PRESS_OUT",ERROR:"ERROR"},Te={NOT_RESPONDER:!1,RESPONDER_INACTIVE_PRESS_IN:!1,RESPONDER_INACTIVE_PRESS_OUT:!1,RESPONDER_ACTIVE_PRESS_IN:!1,RESPONDER_ACTIVE_PRESS_OUT:!1,RESPONDER_ACTIVE_LONG_PRESS_IN:!1,RESPONDER_ACTIVE_LONG_PRESS_OUT:!1,ERROR:!1},Ge=b(b({},Te),{},{RESPONDER_ACTIVE_PRESS_OUT:!0,RESPONDER_ACTIVE_PRESS_IN:!0}),He=b(b({},Te),{},{RESPONDER_INACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_LONG_PRESS_IN:!0}),Be=b(b({},Te),{},{RESPONDER_ACTIVE_LONG_PRESS_IN:!0}),p={DELAY:"DELAY",RESPONDER_GRANT:"RESPONDER_GRANT",RESPONDER_RELEASE:"RESPONDER_RELEASE",RESPONDER_TERMINATED:"RESPONDER_TERMINATED",ENTER_PRESS_RECT:"ENTER_PRESS_RECT",LEAVE_PRESS_RECT:"LEAVE_PRESS_RECT",LONG_PRESS_DETECTED:"LONG_PRESS_DETECTED"},Ye={NOT_RESPONDER:{DELAY:l.ERROR,RESPONDER_GRANT:l.RESPONDER_INACTIVE_PRESS_IN,RESPONDER_RELEASE:l.ERROR,RESPONDER_TERMINATED:l.ERROR,ENTER_PRESS_RECT:l.ERROR,LEAVE_PRESS_RECT:l.ERROR,LONG_PRESS_DETECTED:l.ERROR},RESPONDER_INACTIVE_PRESS_IN:{DELAY:l.RESPONDER_ACTIVE_PRESS_IN,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_INACTIVE_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_INACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:l.ERROR},RESPONDER_INACTIVE_PRESS_OUT:{DELAY:l.RESPONDER_ACTIVE_PRESS_OUT,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_INACTIVE_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_INACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:l.ERROR},RESPONDER_ACTIVE_PRESS_IN:{DELAY:l.ERROR,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_ACTIVE_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_ACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:l.RESPONDER_ACTIVE_LONG_PRESS_IN},RESPONDER_ACTIVE_PRESS_OUT:{DELAY:l.ERROR,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_ACTIVE_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_ACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:l.ERROR},RESPONDER_ACTIVE_LONG_PRESS_IN:{DELAY:l.ERROR,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_ACTIVE_LONG_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_ACTIVE_LONG_PRESS_OUT,LONG_PRESS_DETECTED:l.RESPONDER_ACTIVE_LONG_PRESS_IN},RESPONDER_ACTIVE_LONG_PRESS_OUT:{DELAY:l.ERROR,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_ACTIVE_LONG_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_ACTIVE_LONG_PRESS_OUT,LONG_PRESS_DETECTED:l.ERROR},error:{DELAY:l.NOT_RESPONDER,RESPONDER_GRANT:l.RESPONDER_INACTIVE_PRESS_IN,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.NOT_RESPONDER,LEAVE_PRESS_RECT:l.NOT_RESPONDER,LONG_PRESS_DETECTED:l.NOT_RESPONDER}},ve=130,te=20,sn=500,Fe=sn-ve,ln=10,z={componentDidMount:function(){var t=this.getTouchableNode&&this.getTouchableNode();t&&t.addEventListener&&(this._touchableBlurListener=a=>{this._isTouchableKeyboardActive&&(this.state.touchable.touchState&&this.state.touchable.touchState!==l.NOT_RESPONDER&&this.touchableHandleResponderTerminate({nativeEvent:a}),this._isTouchableKeyboardActive=!1)},t.addEventListener("blur",this._touchableBlurListener))},componentWillUnmount:function(){var t=this.getTouchableNode&&this.getTouchableNode();t&&t.addEventListener&&t.removeEventListener("blur",this._touchableBlurListener),this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressInLocation=null,this.state.touchable.responderID=null},touchableGetInitialState:function(){return{touchable:{touchState:void 0,responderID:null}}},touchableHandleResponderTerminationRequest:function(){return!this.props.rejectResponderTermination},touchableHandleStartShouldSetResponder:function(){return!this.props.disabled},touchableLongPressCancelsPress:function(){return!0},touchableHandleResponderGrant:function(t){var a=t.currentTarget;t.persist(),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressOutDelayTimeout=null,this.state.touchable.touchState=l.NOT_RESPONDER,this.state.touchable.responderID=a,this._receiveSignal(p.RESPONDER_GRANT,t);var r=this.touchableGetHighlightDelayMS!==void 0?Math.max(this.touchableGetHighlightDelayMS(),0):ve;r=isNaN(r)?ve:r,r!==0?this.touchableDelayTimeout=setTimeout(this._handleDelay.bind(this,t),r):this._handleDelay(t);var n=this.touchableGetLongPressDelayMS!==void 0?Math.max(this.touchableGetLongPressDelayMS(),10):Fe;n=isNaN(n)?Fe:n,this.longPressDelayTimeout=setTimeout(this._handleLongDelay.bind(this,t),n+r)},touchableHandleResponderRelease:function(t){this.pressInLocation=null,this._receiveSignal(p.RESPONDER_RELEASE,t)},touchableHandleResponderTerminate:function(t){this.pressInLocation=null,this._receiveSignal(p.RESPONDER_TERMINATED,t)},touchableHandleResponderMove:function(t){if(this.state.touchable.positionOnActivate){var a=this.state.touchable.positionOnActivate,r=this.state.touchable.dimensionsOnActivate,n=this.touchableGetPressRectOffset?this.touchableGetPressRectOffset():{left:te,right:te,top:te,bottom:te},o=n.left,s=n.top,c=n.right,u=n.bottom,d=this.touchableGetHitSlop?this.touchableGetHitSlop():null;d&&(o+=d.left||0,s+=d.top||0,c+=d.right||0,u+=d.bottom||0);var E=xe(t.nativeEvent),h=E&&E.pageX,R=E&&E.pageY;if(this.pressInLocation){var v=this._getDistanceBetweenPoints(h,R,this.pressInLocation.pageX,this.pressInLocation.pageY);v>ln&&this._cancelLongPressDelayTimeout()}var T=h>a.left-o&&R>a.top-s&&h<a.left+r.width+c&&R<a.top+r.height+u;if(T){var S=this.state.touchable.touchState;this._receiveSignal(p.ENTER_PRESS_RECT,t);var N=this.state.touchable.touchState;N===l.RESPONDER_INACTIVE_PRESS_IN&&S!==l.RESPONDER_INACTIVE_PRESS_IN&&this._cancelLongPressDelayTimeout()}else this._cancelLongPressDelayTimeout(),this._receiveSignal(p.LEAVE_PRESS_RECT,t)}},touchableHandleFocus:function(t){this.props.onFocus&&this.props.onFocus(t)},touchableHandleBlur:function(t){this.props.onBlur&&this.props.onBlur(t)},_remeasureMetricsOnActivation:function(){var t=this.state.touchable.responderID;t!=null&&G.measure(t,this._handleQueryLayout)},_handleQueryLayout:function(t,a,r,n,o,s){!t&&!a&&!r&&!n&&!o&&!s||(this.state.touchable.positionOnActivate&&ne.release(this.state.touchable.positionOnActivate),this.state.touchable.dimensionsOnActivate&&H.release(this.state.touchable.dimensionsOnActivate),this.state.touchable.positionOnActivate=ne.getPooled(o,s),this.state.touchable.dimensionsOnActivate=H.getPooled(r,n))},_handleDelay:function(t){this.touchableDelayTimeout=null,this._receiveSignal(p.DELAY,t)},_handleLongDelay:function(t){this.longPressDelayTimeout=null;var a=this.state.touchable.touchState;a!==l.RESPONDER_ACTIVE_PRESS_IN&&a!==l.RESPONDER_ACTIVE_LONG_PRESS_IN?console.error("Attempted to transition from state `"+a+"` to `"+l.RESPONDER_ACTIVE_LONG_PRESS_IN+"`, which is not supported. This is most likely due to `Touchable.longPressDelayTimeout` not being cancelled."):this._receiveSignal(p.LONG_PRESS_DETECTED,t)},_receiveSignal:function(t,a){var r=this.state.touchable.responderID,n=this.state.touchable.touchState,o=Ye[n]&&Ye[n][t];if(!(!r&&t===p.RESPONDER_RELEASE)){if(!o)throw new Error("Unrecognized signal `"+t+"` or state `"+n+"` for Touchable responder `"+r+"`");if(o===l.ERROR)throw new Error("Touchable cannot transition from `"+n+"` to `"+t+"` for responder `"+r+"`");n!==o&&(this._performSideEffectsForTransition(n,o,t,a),this.state.touchable.touchState=o)}},_cancelLongPressDelayTimeout:function(){this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.longPressDelayTimeout=null},_isHighlight:function(t){return t===l.RESPONDER_ACTIVE_PRESS_IN||t===l.RESPONDER_ACTIVE_LONG_PRESS_IN},_savePressInLocation:function(t){var a=xe(t.nativeEvent),r=a&&a.pageX,n=a&&a.pageY,o=a&&a.locationX,s=a&&a.locationY;this.pressInLocation={pageX:r,pageY:n,locationX:o,locationY:s}},_getDistanceBetweenPoints:function(t,a,r,n){var o=t-r,s=a-n;return Math.sqrt(o*o+s*s)},_performSideEffectsForTransition:function(t,a,r,n){var o=this._isHighlight(t),s=this._isHighlight(a),c=r===p.RESPONDER_TERMINATED||r===p.RESPONDER_RELEASE;c&&this._cancelLongPressDelayTimeout();var u=t===l.NOT_RESPONDER&&a===l.RESPONDER_INACTIVE_PRESS_IN,d=!Ge[t]&&Ge[a];if((u||d)&&this._remeasureMetricsOnActivation(),He[t]&&r===p.LONG_PRESS_DETECTED&&this.touchableHandleLongPress&&this.touchableHandleLongPress(n),s&&!o?this._startHighlight(n):!s&&o&&this._endHighlight(n),He[t]&&r===p.RESPONDER_RELEASE){var E=!!this.props.onLongPress,h=Be[t]&&(!E||!this.touchableLongPressCancelsPress()),R=!Be[t]||h;R&&this.touchableHandlePress&&(!s&&!o&&(this._startHighlight(n),this._endHighlight(n)),this.touchableHandlePress(n))}this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.touchableDelayTimeout=null},_playTouchSound:function(){G.playTouchSound()},_startHighlight:function(t){this._savePressInLocation(t),this.touchableHandleActivePressIn&&this.touchableHandleActivePressIn(t)},_endHighlight:function(t){this.touchableHandleActivePressOut&&(this.touchableGetPressOutDelayMS&&this.touchableGetPressOutDelayMS()?this.pressOutDelayTimeout=setTimeout(()=>{this.touchableHandleActivePressOut(t)},this.touchableGetPressOutDelayMS()):this.touchableHandleActivePressOut(t))},touchableHandleKeyEvent:function(t){var a=t.type,r=t.key;(r==="Enter"||r===" ")&&(a==="keydown"?this._isTouchableKeyboardActive||(!this.state.touchable.touchState||this.state.touchable.touchState===l.NOT_RESPONDER)&&(this.touchableHandleResponderGrant(t),this._isTouchableKeyboardActive=!0):a==="keyup"&&this._isTouchableKeyboardActive&&this.state.touchable.touchState&&this.state.touchable.touchState!==l.NOT_RESPONDER&&(this.touchableHandleResponderRelease(t),this._isTouchableKeyboardActive=!1),t.stopPropagation(),r==="Enter"&&mt.propsToAriaRole(this.props)==="link"||t.preventDefault())},withoutDefaultFocusAndBlur:{}};z.touchableHandleFocus;z.touchableHandleBlur;var cn=y(z,["touchableHandleFocus","touchableHandleBlur"]);z.withoutDefaultFocusAndBlur=cn;var lt={Mixin:z,TOUCH_TARGET_DEBUG:!1,renderDebugView:e=>{var t=e.color,a=e.hitSlop;if(!lt.TOUCH_TARGET_DEBUG)return null;var r={};a=a||{top:0,bottom:0,left:0,right:0};for(var n in a)r[n]=-a[n];var o=vt(t);if(typeof o!="number")return null;var s="#"+("00000000"+o.toString(16)).substr(-8);return I.createElement(m,{pointerEvents:"none",style:b({position:"absolute",borderColor:s.slice(0,-2)+"55",borderWidth:1,borderStyle:"dashed",backgroundColor:s.slice(0,-2)+"0F"},r)})}};const un=lt;class ct extends I.Component{render(){return I.createElement(m,{style:[dn,this.props.style]},this.props.children)}}var dn={},En={accessibilityDisabled:!0,accessibilityLabel:!0,accessibilityLiveRegion:!0,accessibilityRole:!0,accessibilityState:!0,accessibilityValue:!0,children:!0,disabled:!0,focusable:!0,nativeID:!0,onBlur:!0,onFocus:!0,onLayout:!0,testID:!0},hn=e=>Ht(e,En);function Rn(e,t){var a=e.delayPressIn,r=e.delayPressOut,n=e.delayLongPress,o=e.disabled,s=e.focusable,c=e.onLongPress,u=e.onPress,d=e.onPressIn,E=e.onPressOut,h=e.rejectResponderTermination,R=i.useRef(null),v=i.useMemo(()=>({cancelable:!h,disabled:o,delayLongPress:n,delayPressStart:a,delayPressEnd:r,onLongPress:c,onPress:u,onPressStart:d,onPressEnd:E}),[o,a,r,n,c,u,d,E,h]),T=Ue(R,v),S=i.Children.only(e.children),N=[S.props.children],D=hn(e);D.accessibilityDisabled=o,D.focusable=!o&&s!==!1,D.ref=Se(t,R,S.ref);var se=Object.assign(D,T);return i.cloneElement(S,se,...N)}var ut=i.memo(i.forwardRef(Rn));ut.displayName="TouchableWithoutFeedback";const vn=ut;function dt(e){return I.createElement(ct,e)}dt.ignoreWarnings=()=>{};var mn={ignoreLogs(){},ignoreAllLogs(){},uninstall(){},install(){}};const fn=mn;function Sn(){var e=i.useState(Ee.getColorScheme()),t=e[0],a=e[1];return i.useEffect(()=>{function r(s){a(s.colorScheme)}var n=Ee.addChangeListener(r),o=n.remove;return o}),t}const _n=Object.freeze(Object.defineProperty({__proto__:null,AccessibilityInfo:bt,ActivityIndicator:Sa,Alert:Ot,Animated:At,AppRegistry:ae,AppState:Dt,Appearance:Ee,BackHandler:aa,Button:Pa,CheckBox:pa,Clipboard:na,DeviceEventEmitter:zt,Dimensions:pt,Easing:It,FlatList:Lt,I18nManager:ra,Image:ze,ImageBackground:Oa,InteractionManager:fe,Keyboard:oa,KeyboardAvoidingView:Da,LayoutAnimation:ia,Linking:Nt,LogBox:fn,Modal:za,NativeEventEmitter:Ut,NativeModules:yt,PanResponder:V,Picker:Xa,PixelRatio:xt,Platform:$e,Pressable:Bt,ProgressBar:Ka,RefreshControl:Mt,SafeAreaView:Qa,ScrollView:wt,SectionList:kt,Share:ha,StatusBar:Y,StyleSheet:f,Switch:Yt,Text:je,TextInput:Ft,Touchable:un,TouchableHighlight:$t,TouchableNativeFeedback:ct,TouchableOpacity:Ke,TouchableWithoutFeedback:vn,UIManager:G,Vibration:va,View:m,VirtualizedList:Vt,YellowBox:dt,findNodeHandle:_t,processColor:ft,render:We,unmountComponentAtNode:oe,unstable_createElement:B,useColorScheme:Sn,useLocaleContext:St,useWindowDimensions:jt},Symbol.toStringTag,{value:"Module"})),$n=Rt(_n);export{ra as I,oa as K,ia as L,Y as S,ct as U,Da as a,$n as r}; diff --git a/assets/preview-BA20xn34.js b/assets/preview-Cu-x-QB_.js similarity index 93% rename from assets/preview-BA20xn34.js rename to assets/preview-Cu-x-QB_.js index 54a8a258..ebfe0946 100644 --- a/assets/preview-BA20xn34.js +++ b/assets/preview-Cu-x-QB_.js @@ -1,2 +1,2 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./axe-Ct0p1Ykl.js","./_commonjsHelpers-BosuxZz1.js"])))=>i.map(i=>d[i]); -import{_ as S}from"./iframe-DRbcjd5I.js";import"../sb-preview/runtime.js";const{addons:f}=__STORYBOOK_MODULE_PREVIEW_API__,{global:U}=__STORYBOOK_MODULE_GLOBAL__;var o="storybook/a11y",y=`${o}/result`,L=`${o}/request`,d=`${o}/running`,A=`${o}/error`,T=`${o}/manual`,r={RESULT:y,REQUEST:L,RUNNING:d,ERROR:A,MANUAL:T},{document:g}=U,a=f.getChannel(),l=!1,_,R={config:{},options:{}},v=async(n,e)=>{e!=null&&e.manual||await i(n,e??R)},i=async(n,e=R)=>{_=n;try{if(!l){l=!0,a.emit(r.RUNNING);let{default:t}=await S(()=>import("./axe-Ct0p1Ykl.js").then(N=>N.a),__vite__mapDeps([0,1]),import.meta.url),{element:m="#storybook-root",config:s,options:O={}}=e,E=g.querySelector(m);if(!E)return;t.reset(),s&&t.configure(s);let c=await t.run(E,O),u=JSON.parse(JSON.stringify(c));_===n?a.emit(r.RESULT,u):(l=!1,i(_))}}catch(t){a.emit(r.ERROR,t)}finally{l=!1}};a.on(r.REQUEST,v);a.on(r.MANUAL,i); +import{_ as S}from"./iframe-D78jW9zZ.js";import"../sb-preview/runtime.js";const{addons:f}=__STORYBOOK_MODULE_PREVIEW_API__,{global:U}=__STORYBOOK_MODULE_GLOBAL__;var o="storybook/a11y",y=`${o}/result`,L=`${o}/request`,d=`${o}/running`,A=`${o}/error`,T=`${o}/manual`,r={RESULT:y,REQUEST:L,RUNNING:d,ERROR:A,MANUAL:T},{document:g}=U,a=f.getChannel(),l=!1,_,R={config:{},options:{}},v=async(n,e)=>{e!=null&&e.manual||await i(n,e??R)},i=async(n,e=R)=>{_=n;try{if(!l){l=!0,a.emit(r.RUNNING);let{default:t}=await S(()=>import("./axe-Ct0p1Ykl.js").then(N=>N.a),__vite__mapDeps([0,1]),import.meta.url),{element:m="#storybook-root",config:s,options:O={}}=e,E=g.querySelector(m);if(!E)return;t.reset(),s&&t.configure(s);let c=await t.run(E,O),u=JSON.parse(JSON.stringify(c));_===n?a.emit(r.RESULT,u):(l=!1,i(_))}}catch(t){a.emit(r.ERROR,t)}finally{l=!1}};a.on(r.REQUEST,v);a.on(r.MANUAL,i); diff --git a/assets/preview-DkszDCHZ.js b/assets/preview-IeHAsnoQ.js similarity index 70% rename from assets/preview-DkszDCHZ.js rename to assets/preview-IeHAsnoQ.js index 13ce65b8..806c42c8 100644 --- a/assets/preview-DkszDCHZ.js +++ b/assets/preview-IeHAsnoQ.js @@ -1,13 +1,13 @@ -var KE=Object.defineProperty;var $E=(t,e,n)=>e in t?KE(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var di=(t,e,n)=>$E(t,typeof e!="symbol"?e+"":e,n);import{j as X}from"./jsx-runtime-Bxcv0yjW.js";import{u as qE,D as jE}from"./useDeviceContext-DGl4H2w7.js";import{g as QE,R as ja,b as ZE,c as JE,d as De,e as ie,a as Bt,u as ji,C as kn,h as ex,n as tx,T as nx,f as Qi,i as RA,S as Es,p as ua,j as yv,k as $o,l as Zi,m as FA,o as Iv,t as rx,q as wv,r as ku,v as Sv,w as bv,x as I0,y as ix,z as ax,A as Jr,B as kA,D as sx,F as ox,G as lx}from"./useThemable-CjWxbHxI.js";import{r as b,R as xe}from"./index-mfbfsM12.js";import{M as nt,e as ux,f as Lr,g as cx,h as _v,i as dx,u as Dv,E as Ov,A as Ax}from"./useTrackException-BhQuYC5A.js";import{N as MA,r as fx,C as BA,q as Tv,d as Jt,V as hx}from"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import{P as ue,N as Pv}from"./index-DOpK3Ow6.js";import{N as w0,R as pd}from"./NativeEventEmitter-Cj1pQcwn.js";import{u as Ir}from"./useTheme-CJIBCVMY.js";import{g as Cn,a as us,c as $}from"./_commonjsHelpers-BosuxZz1.js";import{f as px,h as vx,s as ve,p as S0}from"./index-CEE--Juu.js";import{f as zt}from"./index-iQAZAIR7.js";import{V as ge}from"./index-BDsvWohO.js";import{u as b0}from"./index-DbcoTUCW.js";import{I as vd}from"./IconButton-Cyqcuey7.js";import{B as qo}from"./Box-uk0d72u3.js";import{R as Ni}from"./Row-BXpfxHoR.js";import{I as cs}from"./Icon-DcC-yiY8.js";import{T as gx}from"./Title-9ScEYPym.js";import{S as _0,P as fr,a as Rv}from"./index-DYSHDArR.js";import{c as mx,i as Fv,e as NA,d as kv,f as Cx,A as Ex}from"./development-DYCnWZjk.js";import{K as Mv,a as xx,r as jo,I as gd,S as GA,U as yx,L as LA}from"./index-eRgc22Hn.js";import{C as Ti}from"./Column-DVJ0Grcf.js";import{G as Co}from"./Gutter-DFUJhG4q.js";import{P as Gi}from"./Phrase-t0rOiClQ.js";import{B as Ix}from"./Button-DAm4UwbF.js";import{a as Ji,F as Bv,A as ce,E as VA}from"./Animated-C23eizOh.js";import{P as wx}from"./PressableBase-CPU35BDr.js";import{T as D0}from"./index-Cnrjv3xk.js";import{N as Sx,a as bx,u as _x,m as HA,c as Dx,b as Ox,d as Tx,T as Px}from"./Tooltip-Bm0QTu1O.js";import{u as Nv}from"./useIsScreenReaderEnabled-BGYkQQWr.js";import{P as Rx}from"./types-BJ_48vsK.js";import{P as Fx}from"./Pressable-HfRmqOUq.js";import{I as Gv,P as kx}from"./index-DcZXOGQR.js";import{U as Mx}from"./TextAncestorContext-Cvz4PlE2.js";import{T as Bx}from"./index-BypDj3rK.js";import{S as Nx}from"./index-CsseZgnR.js";import{H as UA}from"./HideFromAccessibility-DFWSEXqq.js";import{P as Gx}from"./PleaseWait-C5ES8__x.js";import{l as Lx}from"./layoutStyles-DflBxpuh.js";import{P as Vx}from"./Paragraph-DkRs_aGj.js";import"./index-8JwjhRSi.js";import{a as Hx}from"./useAccessibilityFocus-Djl26ZxP.js";import{D as Ux}from"./duration-A4BOymd5.js";import{u as Lv}from"./index-C3bJM-gU.js";import{A as Wx}from"./index-XPwQYiUg.js";import{A as Xx}from"./index-kJeFfQx-.js";import{B as Yx}from"./Badge-CZ5nSfIQ.js";import{r as zx}from"./index-BMk6Tmu2.js";import{c as Kx}from"./_commonjs-dynamic-modules-TDtrdbi3.js";import{c as $x}from"./index-Bcpfmd17.js";import{i as qx}from"./Fader-BysHR2L8.js";import{b as Ai}from"./base-color-CZpuL6yQ.js";import"./config-BZnShabN.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-Dk74W0Oi.js";import"./client-DDXjyz62.js";import"./extends-CF3RwP-h.js";import"./index-S14X4tbk.js";import"./index-5TFaNx6b.js";import"./index-ZuFZ7TrF.js";import"./Triangle-Amn4R_mH.js";import"./Center-CqG4tBOn.js";import"./SingleSelectable-Bg8zzmoU.js";let jx="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",WA=(t=21)=>{let e="",n=t;for(;n--;)e+=jx[Math.random()*64|0];return e};const Qx='Another navigator is already registered for this container. You likely have multiple navigators under a single "NavigationContainer" or "Screen". Make sure each navigator is under a separate "Screen" container. See https://reactnavigation.org/docs/nesting-navigators for a guide on nesting.',Zx=b.createContext(void 0);function Jx(t){let{children:e}=t;const n=b.useRef(),r=b.useMemo(()=>({register(i){const a=n.current;if(a!==void 0&&i!==a)throw new Error(Qx);n.current=i},unregister(i){const a=n.current;i===a&&(n.current=void 0)}}),[]);return b.createElement(Zx.Provider,{value:r},e)}function Wa(t){var e,n;let r=t;for(;((i=r)===null||i===void 0?void 0:i.routes[r.index??0].state)!=null;){var i;r=r.routes[r.index??0].state}return(e=r)===null||e===void 0?void 0:e.routes[((n=r)===null||n===void 0?void 0:n.index)??0]}const Vv=b.createContext({onDispatchAction:()=>{},onOptionsChange:()=>{}}),e1=b.createContext(void 0),ca="Couldn't find a navigation context. Have you wrapped your app with 'NavigationContainer'? See https://reactnavigation.org/docs/getting-started for setup instructions.",md=b.createContext({isDefault:!0,get getKey(){throw new Error(ca)},get setKey(){throw new Error(ca)},get getState(){throw new Error(ca)},get setState(){throw new Error(ca)},get getIsInitial(){throw new Error(ca)}}),t1=b.createContext(void 0);function n1(){const{current:t}=b.useRef({action:[],focus:[]}),e=b.useCallback((n,r)=>{t[n].push(r);let i=!1;return()=>{const a=t[n].indexOf(r);!i&&a>-1&&(i=!0,t[n].splice(a,1))}},[t]);return{listeners:t,addListener:e}}function r1(t){const e=b.useRef(t);b.useEffect(()=>{e.current=t});const n=b.useRef(Object.create(null)),r=b.useCallback(a=>{const s=(l,u)=>{const c=n.current[l]?n.current[l][a]:void 0;if(!c)return;const A=c.indexOf(u);A>-1&&c.splice(A,1)};return{addListener:(l,u)=>{n.current[l]=n.current[l]||{},n.current[l][a]=n.current[l][a]||[],n.current[l][a].push(u);let c=!1;return()=>{c||(c=!0,s(l,u))}},removeListener:s}},[]),i=b.useCallback(a=>{var s,o;let{type:l,data:u,target:c,canPreventDefault:A}=a;const d=n.current[l]||{},f=c!==void 0?(s=d[c])===null||s===void 0?void 0:s.slice():[].concat(...Object.keys(d).map(h=>d[h])).filter((h,v,E)=>E.lastIndexOf(h)===v),p={get type(){return l}};if(c!==void 0&&Object.defineProperty(p,"target",{enumerable:!0,get(){return c}}),u!==void 0&&Object.defineProperty(p,"data",{enumerable:!0,get(){return u}}),A){let h=!1;Object.defineProperties(p,{defaultPrevented:{enumerable:!0,get(){return h}},preventDefault:{enumerable:!0,value(){h=!0}}})}return(o=e.current)===null||o===void 0||o.call(e,p),f==null||f.forEach(h=>h(p)),p},[]);return b.useMemo(()=>({create:r,emit:i}),[r,i])}function i1(){const{current:t}=b.useRef(Object.assign(Object.create(null),{getState:{},beforeRemove:{}})),e=b.useCallback((n,r,i)=>(t[n][r]=i,()=>{t[n][r]=void 0}),[t]);return{keyedListeners:t,addKeyedListener:e}}function a1(t){let{key:e,options:n,navigation:r}=t;const i=b.useRef(n),a=b.useRef({}),{onOptionsChange:s}=b.useContext(Vv),{addOptionsGetter:o}=b.useContext(md),l=b.useCallback(()=>{const d=(r==null?void 0:r.isFocused())??!0,f=Object.keys(a.current).length;d&&!f&&s(i.current??{})},[r,s]);b.useEffect(()=>(i.current=n,l(),r==null?void 0:r.addListener("focus",l)),[r,n,l]);const u=b.useCallback(()=>{for(let p in a.current)if(a.current.hasOwnProperty(p)){var d,f;const h=(d=(f=a.current)[p])===null||d===void 0?void 0:d.call(f);if(h!==null)return h}return null},[]),c=b.useCallback(()=>{if(!((r==null?void 0:r.isFocused())??!0))return null;const f=u();return f!==null?f:i.current},[r,u]);return b.useEffect(()=>o==null?void 0:o(e,c),[c,o,e]),{addOptionsGetter:b.useCallback((d,f)=>(a.current[d]=f,l(),()=>{delete a.current[d],l()}),[l]),getCurrentOptions:c}}const XA="Couldn't find a schedule context.",s1=b.createContext({scheduleUpdate(){throw new Error(XA)},flushUpdates(){throw new Error(XA)}}),YA={};function o1(t){const e=b.useRef(YA),n=b.useRef(!1),r=b.useRef(!0);b.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[]),e.current===YA&&(e.current=typeof t=="function"?t():t);const[i,a]=b.useState(e.current),s=b.useCallback(()=>e.current,[]),o=b.useCallback(A=>{A===e.current||!r.current||(e.current=A,n.current||a(A))},[]),l=b.useCallback(A=>{n.current=!0;try{A()}finally{n.current=!1}},[]),u=b.useCallback(()=>{r.current&&a(e.current)},[]);i!==e.current&&a(e.current);const c=e.current;return b.useDebugValue(c),[c,s,o,l,u]}const Hv=t=>{if(t===void 0)return;const{key:e,routeNames:n,...r}=t;return{...r,stale:!0,routes:t.routes.map(i=>i.state===void 0?i:{...i,state:Hv(i.state)})}},l1=b.forwardRef(function(e,n){let{initialState:r,onStateChange:i,onUnhandledAction:a,independent:s,children:o}=e;if(!b.useContext(md).isDefault&&!s)throw new Error("Looks like you have nested a 'NavigationContainer' inside another. Normally you need only one container at the root of the app, so this was probably an error. If this was intentional, pass 'independent={true}' explicitly. Note that this will make the child navigators disconnected from the parent and you won't be able to navigate between them.");const[u,c,A,d,f]=o1(()=>Hv(r??void 0)),p=b.useRef(!0),h=b.useRef(),v=b.useCallback(()=>h.current,[]),E=b.useCallback(Y=>{h.current=Y},[]),{listeners:C,addListener:m}=n1(),{keyedListeners:g,addKeyedListener:y}=i1(),x=b.useCallback(Y=>{C.focus[0]==null?console.error(MA):C.focus[0](ee=>ee.dispatch(Y))},[C.focus]),w=b.useCallback(()=>{if(C.focus[0]==null)return!1;const{result:Y,handled:ee}=C.focus[0](te=>te.canGoBack());return ee?Y:!1},[C.focus]),S=b.useCallback(Y=>{var ee,te;const re=(Y==null?void 0:Y.key)??((ee=(te=g.getState).root)===null||ee===void 0?void 0:ee.call(te).key);re==null?console.error(MA):C.focus[0](Q=>Q.dispatch({...fx(Y),target:re}))},[g.getState,C.focus]),D=b.useCallback(()=>{var Y,ee;return(Y=(ee=g.getState).root)===null||Y===void 0?void 0:Y.call(ee)},[g.getState]),I=b.useCallback(()=>{const Y=D();return Y==null?void 0:Wa(Y)},[D]),_=r1(),{addOptionsGetter:O,getCurrentOptions:T}=a1({}),R=b.useMemo(()=>({...Object.keys(BA).reduce((Y,ee)=>(Y[ee]=function(){return x(BA[ee](...arguments))},Y),{}),..._.create("root"),dispatch:x,resetRoot:S,isFocused:()=>!0,canGoBack:w,getParent:()=>{},getState:()=>U.current,getRootState:D,getCurrentRoute:I,getCurrentOptions:T,isReady:()=>C.focus[0]!=null,setOptions:()=>{throw new Error("Cannot call setOptions outside a screen")}}),[w,x,_,T,I,D,C.focus,S]);b.useImperativeHandle(n,()=>R,[R]);const P=b.useCallback((Y,ee)=>{_.emit({type:"__unsafe_action__",data:{action:Y,noop:ee,stack:M.current}})},[_]),F=b.useRef(),H=b.useCallback(Y=>{F.current!==Y&&(F.current=Y,_.emit({type:"options",data:{options:Y}}))},[_]),M=b.useRef(),V=b.useMemo(()=>({addListener:m,addKeyedListener:y,onDispatchAction:P,onOptionsChange:H,stackRef:M}),[m,y,P,H]),W=b.useMemo(()=>({scheduleUpdate:d,flushUpdates:f}),[d,f]),B=b.useRef(!0),G=b.useCallback(()=>B.current,[]),N=b.useMemo(()=>({state:u,getState:c,setState:A,getKey:v,setKey:E,getIsInitial:G,addOptionsGetter:O}),[u,c,A,v,E,G,O]),k=b.useRef(i),U=b.useRef(u);b.useEffect(()=>{B.current=!1,k.current=i,U.current=u}),b.useEffect(()=>{const Y=D();_.emit({type:"state",data:{state:u}}),!p.current&&k.current&&k.current(Y),p.current=!1},[D,_,u]);const z=b.useCallback(Y=>{},[]);let K=b.createElement(Sx.Provider,{value:R},b.createElement(s1.Provider,{value:W},b.createElement(Vv.Provider,{value:V},b.createElement(md.Provider,{value:N},b.createElement(t1.Provider,{value:a??z},b.createElement(Jx,null,o))))));return s&&(K=b.createElement(e1.Provider,{value:void 0},b.createElement(bx.Provider,{value:void 0},K))),K});function Uv(t,e){var n;const r=e?Wv(e):{},i=t.index!=null?t.routes.slice(0,t.index+1):t.routes;if(i.length===0)return;if(!(i.length===1&&i[0].key===void 0||i.length===2&&i[0].key===void 0&&i[0].name===(r==null?void 0:r.initialRouteName)&&i[1].key===void 0))return{type:"RESET",payload:t};const a=t.routes[t.index??t.routes.length-1];let s=a==null?void 0:a.state,o=r==null||(n=r.screens)===null||n===void 0?void 0:n[a==null?void 0:a.name],l={...a.params},u=a?{name:a.name,path:a.path,params:l}:void 0;for(;s;){var c,A,d;if(s.routes.length===0)return;const f=s.index!=null?s.routes.slice(0,s.index+1):s.routes,p=f[f.length-1];if(Object.assign(l,{initial:void 0,screen:void 0,params:void 0,state:void 0}),f.length===1&&f[0].key===void 0)l.initial=!0,l.screen=p.name;else if(f.length===2&&f[0].key===void 0&&f[0].name===((c=o)===null||c===void 0?void 0:c.initialRouteName)&&f[1].key===void 0)l.initial=!1,l.screen=p.name;else{l.state=s;break}p.state?(l.params={...p.params},l=l.params):(l.path=p.path,l.params=p.params),s=p.state,o=(A=o)===null||A===void 0||(d=A.screens)===null||d===void 0?void 0:d[p.name]}if(u)return{type:"NAVIGATE",payload:u}}const Wv=t=>typeof t=="object"&&t!=null?{initialRouteName:t.initialRouteName,screens:t.screens!=null?u1(t.screens):void 0}:{},u1=t=>Object.entries(t).reduce((e,n)=>{let[r,i]=n;return e[r]=Wv(i),e},{}),c1=Symbol("CHILD_STATE");function d1(t){const e=t[c1]??t.state,n=t.params;return e?e.routes[e.index??(typeof e.type=="string"&&e.type!=="stack"?0:e.routes.length-1)].name:typeof(n==null?void 0:n.screen)=="string"?n.screen:void 0}function Xv(t){return t.reduce((e,n)=>{let[r,i]=n;if(e.hasOwnProperty(r))throw new Error(`A value for key '${r}' already exists in the object.`);return e[r]=i,e},{})}const zA=t=>t.map(e=>`- ${e}`).join(` -`);function Qo(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const n=["initialRouteName","screens"];e||n.push("path","exact","stringify","parse");const r=Object.keys(t).filter(i=>!n.includes(i));if(r.length)throw new Error(`Found invalid properties in the configuration: -${zA(r)} +var qE=Object.defineProperty;var jE=(t,e,n)=>e in t?qE(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var di=(t,e,n)=>jE(t,typeof e!="symbol"?e+"":e,n);import{j as X}from"./jsx-runtime-Bxcv0yjW.js";import{u as QE,D as ZE}from"./useDeviceContext-DGl4H2w7.js";import{g as JE,R as ja,b as ex,c as tx,d as De,e as ie,a as Bt,u as ji,C as vn,f as nx,h as rx,n as ix,T as ax,i as Qi,j as MA,S as Es,p as ua,k as Sv,l as qo,m as Zi,o as kA,q as bv,t as sx,r as _v,v as ku,w as Dv,x as Ov,y as S0,z as ox,A as lx,B as Jr,D as BA,F as ux,G as cx,H as dx}from"./useThemable-BlSbywuP.js";import{r as b,R as xe}from"./index-mfbfsM12.js";import{M as nt,e as Ax,f as Lr,g as fx,h as Tv,i as hx,u as Pv,E as Rv,A as px}from"./useTrackException-BhQuYC5A.js";import{N as NA,r as vx,C as GA,q as Fv,d as Jt,V as gx}from"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import{P as ue,N as Mv}from"./index-DOpK3Ow6.js";import{N as b0,R as vd}from"./NativeEventEmitter-Cj1pQcwn.js";import{u as Ir}from"./useTheme-BWbL_sDV.js";import{g as En,a as us,c as $}from"./_commonjsHelpers-BosuxZz1.js";import{f as mx,h as Cx,s as ve,p as _0}from"./index-CEE--Juu.js";import{f as zt}from"./index-iQAZAIR7.js";import{V as ge}from"./index-BDsvWohO.js";import{u as D0}from"./index-DbcoTUCW.js";import{I as gd}from"./IconButton-BuyNnPu5.js";import{B as jo}from"./Box-DJu0GgH-.js";import{R as Ni}from"./Row-BY9zY_5g.js";import{I as cs}from"./Icon-CHbD1j2W.js";import{T as Ex}from"./Title-Dg8-Cp53.js";import{S as O0,P as fr,a as kv}from"./index-DYSHDArR.js";import{c as xx,i as Bv,e as LA,d as Nv,f as yx,A as Ix}from"./development-DYCnWZjk.js";import{M as wx}from"./index-5TFaNx6b.js";import{K as Co,u as Sx,I as bx,a as _x,r as Qo,b as md,S as VA,U as Dx,L as HA}from"./useOpenUrl-CQsKsYCH.js";import{C as Ti}from"./Column-BO_nzweR.js";import{G as Eo}from"./Gutter-CijmLDTE.js";import{P as Gi}from"./Phrase-CsqFctWr.js";import{B as Ox}from"./Button-CM8byzny.js";import{a as Ji,F as Gv,A as ce,E as UA}from"./Animated-C23eizOh.js";import{P as Tx}from"./PressableBase-CPU35BDr.js";import{T as T0}from"./index-Cnrjv3xk.js";import{N as Px,a as Rx,u as Fx,m as WA,c as Mx,b as kx,d as Bx,T as Nx}from"./Tooltip-DJq4zZXn.js";import{u as Lv}from"./useIsScreenReaderEnabled-BGYkQQWr.js";import{P as Gx}from"./types-BJ_48vsK.js";import{P as Lx}from"./Pressable-CwlxP6l-.js";import{I as Vv,P as Vx}from"./index-DcZXOGQR.js";import{U as Hx}from"./TextAncestorContext-Cvz4PlE2.js";import{T as Ux}from"./index-BypDj3rK.js";import{S as Wx}from"./index-CsseZgnR.js";import{H as XA}from"./HideFromAccessibility-DFWSEXqq.js";import{P as Xx}from"./PleaseWait-wKZoStJU.js";import{l as Yx}from"./layoutStyles-DflBxpuh.js";import{P as zx}from"./Paragraph-CJTJBOQl.js";import"./index-8JwjhRSi.js";import{a as Kx}from"./useAccessibilityFocus-Djl26ZxP.js";import{D as $x}from"./duration-A4BOymd5.js";import{u as Hv}from"./index-C3bJM-gU.js";import{A as qx}from"./index-XPwQYiUg.js";import{A as jx}from"./index-kJeFfQx-.js";import{B as Qx}from"./Badge-CVvYwvd7.js";import{r as Zx}from"./index-BMk6Tmu2.js";import{c as Jx}from"./_commonjs-dynamic-modules-TDtrdbi3.js";import{c as e1}from"./index-Bcpfmd17.js";import{i as t1}from"./Fader-BysHR2L8.js";import{b as Ai}from"./base-color-B2rPH-Aj.js";import"./config-BZnShabN.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-Dk74W0Oi.js";import"./extends-CF3RwP-h.js";import"./client-DDXjyz62.js";import"./index-S14X4tbk.js";import"./index-ZuFZ7TrF.js";import"./useOpenMailUrl-Cpc3v_r1.js";import"./useOpenPhoneUrl-BpjRyIpq.js";import"./Triangle-DLWOHDpC.js";import"./Center-CqG4tBOn.js";import"./SingleSelectable-Bg8zzmoU.js";let n1="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",YA=(t=21)=>{let e="",n=t;for(;n--;)e+=n1[Math.random()*64|0];return e};const r1='Another navigator is already registered for this container. You likely have multiple navigators under a single "NavigationContainer" or "Screen". Make sure each navigator is under a separate "Screen" container. See https://reactnavigation.org/docs/nesting-navigators for a guide on nesting.',i1=b.createContext(void 0);function a1(t){let{children:e}=t;const n=b.useRef(),r=b.useMemo(()=>({register(i){const a=n.current;if(a!==void 0&&i!==a)throw new Error(r1);n.current=i},unregister(i){const a=n.current;i===a&&(n.current=void 0)}}),[]);return b.createElement(i1.Provider,{value:r},e)}function Wa(t){var e,n;let r=t;for(;((i=r)===null||i===void 0?void 0:i.routes[r.index??0].state)!=null;){var i;r=r.routes[r.index??0].state}return(e=r)===null||e===void 0?void 0:e.routes[((n=r)===null||n===void 0?void 0:n.index)??0]}const Uv=b.createContext({onDispatchAction:()=>{},onOptionsChange:()=>{}}),s1=b.createContext(void 0),ca="Couldn't find a navigation context. Have you wrapped your app with 'NavigationContainer'? See https://reactnavigation.org/docs/getting-started for setup instructions.",Cd=b.createContext({isDefault:!0,get getKey(){throw new Error(ca)},get setKey(){throw new Error(ca)},get getState(){throw new Error(ca)},get setState(){throw new Error(ca)},get getIsInitial(){throw new Error(ca)}}),o1=b.createContext(void 0);function l1(){const{current:t}=b.useRef({action:[],focus:[]}),e=b.useCallback((n,r)=>{t[n].push(r);let i=!1;return()=>{const a=t[n].indexOf(r);!i&&a>-1&&(i=!0,t[n].splice(a,1))}},[t]);return{listeners:t,addListener:e}}function u1(t){const e=b.useRef(t);b.useEffect(()=>{e.current=t});const n=b.useRef(Object.create(null)),r=b.useCallback(a=>{const s=(l,u)=>{const c=n.current[l]?n.current[l][a]:void 0;if(!c)return;const A=c.indexOf(u);A>-1&&c.splice(A,1)};return{addListener:(l,u)=>{n.current[l]=n.current[l]||{},n.current[l][a]=n.current[l][a]||[],n.current[l][a].push(u);let c=!1;return()=>{c||(c=!0,s(l,u))}},removeListener:s}},[]),i=b.useCallback(a=>{var s,o;let{type:l,data:u,target:c,canPreventDefault:A}=a;const d=n.current[l]||{},f=c!==void 0?(s=d[c])===null||s===void 0?void 0:s.slice():[].concat(...Object.keys(d).map(h=>d[h])).filter((h,v,E)=>E.lastIndexOf(h)===v),p={get type(){return l}};if(c!==void 0&&Object.defineProperty(p,"target",{enumerable:!0,get(){return c}}),u!==void 0&&Object.defineProperty(p,"data",{enumerable:!0,get(){return u}}),A){let h=!1;Object.defineProperties(p,{defaultPrevented:{enumerable:!0,get(){return h}},preventDefault:{enumerable:!0,value(){h=!0}}})}return(o=e.current)===null||o===void 0||o.call(e,p),f==null||f.forEach(h=>h(p)),p},[]);return b.useMemo(()=>({create:r,emit:i}),[r,i])}function c1(){const{current:t}=b.useRef(Object.assign(Object.create(null),{getState:{},beforeRemove:{}})),e=b.useCallback((n,r,i)=>(t[n][r]=i,()=>{t[n][r]=void 0}),[t]);return{keyedListeners:t,addKeyedListener:e}}function d1(t){let{key:e,options:n,navigation:r}=t;const i=b.useRef(n),a=b.useRef({}),{onOptionsChange:s}=b.useContext(Uv),{addOptionsGetter:o}=b.useContext(Cd),l=b.useCallback(()=>{const d=(r==null?void 0:r.isFocused())??!0,f=Object.keys(a.current).length;d&&!f&&s(i.current??{})},[r,s]);b.useEffect(()=>(i.current=n,l(),r==null?void 0:r.addListener("focus",l)),[r,n,l]);const u=b.useCallback(()=>{for(let p in a.current)if(a.current.hasOwnProperty(p)){var d,f;const h=(d=(f=a.current)[p])===null||d===void 0?void 0:d.call(f);if(h!==null)return h}return null},[]),c=b.useCallback(()=>{if(!((r==null?void 0:r.isFocused())??!0))return null;const f=u();return f!==null?f:i.current},[r,u]);return b.useEffect(()=>o==null?void 0:o(e,c),[c,o,e]),{addOptionsGetter:b.useCallback((d,f)=>(a.current[d]=f,l(),()=>{delete a.current[d],l()}),[l]),getCurrentOptions:c}}const zA="Couldn't find a schedule context.",A1=b.createContext({scheduleUpdate(){throw new Error(zA)},flushUpdates(){throw new Error(zA)}}),KA={};function f1(t){const e=b.useRef(KA),n=b.useRef(!1),r=b.useRef(!0);b.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[]),e.current===KA&&(e.current=typeof t=="function"?t():t);const[i,a]=b.useState(e.current),s=b.useCallback(()=>e.current,[]),o=b.useCallback(A=>{A===e.current||!r.current||(e.current=A,n.current||a(A))},[]),l=b.useCallback(A=>{n.current=!0;try{A()}finally{n.current=!1}},[]),u=b.useCallback(()=>{r.current&&a(e.current)},[]);i!==e.current&&a(e.current);const c=e.current;return b.useDebugValue(c),[c,s,o,l,u]}const Wv=t=>{if(t===void 0)return;const{key:e,routeNames:n,...r}=t;return{...r,stale:!0,routes:t.routes.map(i=>i.state===void 0?i:{...i,state:Wv(i.state)})}},h1=b.forwardRef(function(e,n){let{initialState:r,onStateChange:i,onUnhandledAction:a,independent:s,children:o}=e;if(!b.useContext(Cd).isDefault&&!s)throw new Error("Looks like you have nested a 'NavigationContainer' inside another. Normally you need only one container at the root of the app, so this was probably an error. If this was intentional, pass 'independent={true}' explicitly. Note that this will make the child navigators disconnected from the parent and you won't be able to navigate between them.");const[u,c,A,d,f]=f1(()=>Wv(r??void 0)),p=b.useRef(!0),h=b.useRef(),v=b.useCallback(()=>h.current,[]),E=b.useCallback(Y=>{h.current=Y},[]),{listeners:C,addListener:m}=l1(),{keyedListeners:g,addKeyedListener:y}=c1(),x=b.useCallback(Y=>{C.focus[0]==null?console.error(NA):C.focus[0](ee=>ee.dispatch(Y))},[C.focus]),w=b.useCallback(()=>{if(C.focus[0]==null)return!1;const{result:Y,handled:ee}=C.focus[0](te=>te.canGoBack());return ee?Y:!1},[C.focus]),S=b.useCallback(Y=>{var ee,te;const re=(Y==null?void 0:Y.key)??((ee=(te=g.getState).root)===null||ee===void 0?void 0:ee.call(te).key);re==null?console.error(NA):C.focus[0](Q=>Q.dispatch({...vx(Y),target:re}))},[g.getState,C.focus]),D=b.useCallback(()=>{var Y,ee;return(Y=(ee=g.getState).root)===null||Y===void 0?void 0:Y.call(ee)},[g.getState]),I=b.useCallback(()=>{const Y=D();return Y==null?void 0:Wa(Y)},[D]),_=u1(),{addOptionsGetter:O,getCurrentOptions:T}=d1({}),R=b.useMemo(()=>({...Object.keys(GA).reduce((Y,ee)=>(Y[ee]=function(){return x(GA[ee](...arguments))},Y),{}),..._.create("root"),dispatch:x,resetRoot:S,isFocused:()=>!0,canGoBack:w,getParent:()=>{},getState:()=>U.current,getRootState:D,getCurrentRoute:I,getCurrentOptions:T,isReady:()=>C.focus[0]!=null,setOptions:()=>{throw new Error("Cannot call setOptions outside a screen")}}),[w,x,_,T,I,D,C.focus,S]);b.useImperativeHandle(n,()=>R,[R]);const P=b.useCallback((Y,ee)=>{_.emit({type:"__unsafe_action__",data:{action:Y,noop:ee,stack:k.current}})},[_]),F=b.useRef(),H=b.useCallback(Y=>{F.current!==Y&&(F.current=Y,_.emit({type:"options",data:{options:Y}}))},[_]),k=b.useRef(),V=b.useMemo(()=>({addListener:m,addKeyedListener:y,onDispatchAction:P,onOptionsChange:H,stackRef:k}),[m,y,P,H]),W=b.useMemo(()=>({scheduleUpdate:d,flushUpdates:f}),[d,f]),B=b.useRef(!0),G=b.useCallback(()=>B.current,[]),N=b.useMemo(()=>({state:u,getState:c,setState:A,getKey:v,setKey:E,getIsInitial:G,addOptionsGetter:O}),[u,c,A,v,E,G,O]),M=b.useRef(i),U=b.useRef(u);b.useEffect(()=>{B.current=!1,M.current=i,U.current=u}),b.useEffect(()=>{const Y=D();_.emit({type:"state",data:{state:u}}),!p.current&&M.current&&M.current(Y),p.current=!1},[D,_,u]);const z=b.useCallback(Y=>{},[]);let K=b.createElement(Px.Provider,{value:R},b.createElement(A1.Provider,{value:W},b.createElement(Uv.Provider,{value:V},b.createElement(Cd.Provider,{value:N},b.createElement(o1.Provider,{value:a??z},b.createElement(a1,null,o))))));return s&&(K=b.createElement(s1.Provider,{value:void 0},b.createElement(Rx.Provider,{value:void 0},K))),K});function Xv(t,e){var n;const r=e?Yv(e):{},i=t.index!=null?t.routes.slice(0,t.index+1):t.routes;if(i.length===0)return;if(!(i.length===1&&i[0].key===void 0||i.length===2&&i[0].key===void 0&&i[0].name===(r==null?void 0:r.initialRouteName)&&i[1].key===void 0))return{type:"RESET",payload:t};const a=t.routes[t.index??t.routes.length-1];let s=a==null?void 0:a.state,o=r==null||(n=r.screens)===null||n===void 0?void 0:n[a==null?void 0:a.name],l={...a.params},u=a?{name:a.name,path:a.path,params:l}:void 0;for(;s;){var c,A,d;if(s.routes.length===0)return;const f=s.index!=null?s.routes.slice(0,s.index+1):s.routes,p=f[f.length-1];if(Object.assign(l,{initial:void 0,screen:void 0,params:void 0,state:void 0}),f.length===1&&f[0].key===void 0)l.initial=!0,l.screen=p.name;else if(f.length===2&&f[0].key===void 0&&f[0].name===((c=o)===null||c===void 0?void 0:c.initialRouteName)&&f[1].key===void 0)l.initial=!1,l.screen=p.name;else{l.state=s;break}p.state?(l.params={...p.params},l=l.params):(l.path=p.path,l.params=p.params),s=p.state,o=(A=o)===null||A===void 0||(d=A.screens)===null||d===void 0?void 0:d[p.name]}if(u)return{type:"NAVIGATE",payload:u}}const Yv=t=>typeof t=="object"&&t!=null?{initialRouteName:t.initialRouteName,screens:t.screens!=null?p1(t.screens):void 0}:{},p1=t=>Object.entries(t).reduce((e,n)=>{let[r,i]=n;return e[r]=Yv(i),e},{}),v1=Symbol("CHILD_STATE");function g1(t){const e=t[v1]??t.state,n=t.params;return e?e.routes[e.index??(typeof e.type=="string"&&e.type!=="stack"?0:e.routes.length-1)].name:typeof(n==null?void 0:n.screen)=="string"?n.screen:void 0}function zv(t){return t.reduce((e,n)=>{let[r,i]=n;if(e.hasOwnProperty(r))throw new Error(`A value for key '${r}' already exists in the object.`);return e[r]=i,e},{})}const $A=t=>t.map(e=>`- ${e}`).join(` +`);function Zo(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const n=["initialRouteName","screens"];e||n.push("path","exact","stringify","parse");const r=Object.keys(t).filter(i=>!n.includes(i));if(r.length)throw new Error(`Found invalid properties in the configuration: +${$A(r)} Did you forget to specify them under a 'screens' property? You can only specify the following properties: -${zA(n)} +${$A(n)} -See https://reactnavigation.org/docs/configuring-links for more details on how to specify a linking configuration.`);t.screens&&Object.entries(t.screens).forEach(i=>{let[a,s]=i;typeof s!="string"&&Qo(s,!1)})}const Yv=t=>{const e=typeof t.index=="number"?t.routes[t.index]:t.routes[t.routes.length-1];return e.state?Yv(e.state):e};function zv(t,e){if(t==null)throw Error("Got 'undefined' for the navigation state. You must pass a valid state object.");e&&Qo(e);const n=e!=null&&e.screens?Kv(e==null?void 0:e.screens):{};let r="/",i=t;const a={};for(;i;){let l=typeof i.index=="number"?i.index:0,u=i.routes[l],c,A,d=Yv(t),f=n,p=[],h=!0;for(;u.name in f&&h;){if(c=f[u.name].pattern,p.push(u.name),u.params){var s;const v=(s=f[u.name])===null||s===void 0?void 0:s.stringify,E=Xv(Object.entries(u.params).map(C=>{let[m,g]=C;return[m,v!=null&&v[m]?v[m](g):String(g)]}));if(c&&Object.assign(a,E),d===u){var o;A={...E},(o=c)===null||o===void 0||o.split("/").filter(C=>C.startsWith(":")).forEach(C=>{const m=KA(C);A&&delete A[m]})}}if(!f[u.name].screens||u.state===void 0)h=!1;else{l=typeof u.state.index=="number"?u.state.index:u.state.routes.length-1;const v=u.state.routes[l],E=f[u.name].screens;E&&v.name in E?(u=v,f=E):h=!1}}if(c===void 0&&(c=p.join("/")),f[u.name]!==void 0?r+=c.split("/").map(v=>{const E=KA(v);if(v==="*")return u.name;if(v.startsWith(":")){const C=a[E];return C===void 0&&v.endsWith("?")?"":encodeURIComponent(C)}return encodeURIComponent(v)}).join("/"):r+=encodeURIComponent(u.name),A||(A=d.params),u.state)r+="/";else if(A){for(let E in A)A[E]==="undefined"&&delete A[E];const v=Tv.stringify(A,{sort:!1});v&&(r+=`?${v}`)}i=u.state}return r=r.replace(/\/+/g,"/"),r=r.length>1?r.replace(/\/$/,""):r,r}const KA=t=>t.replace(/^:/,"").replace(/\?$/,""),$A=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return[].concat(...e.map(r=>r.split("/"))).filter(Boolean).join("/")},A1=(t,e)=>{var n;if(typeof t=="string")return{pattern:e?$A(e,t):t};let r;if(t.exact&&t.path===void 0)throw new Error("A 'path' needs to be specified when specifying 'exact: true'. If you don't want this screen in the URL, specify it as empty string, e.g. `path: ''`.");r=t.exact!==!0?$A(e||"",t.path||""):t.path||"";const i=t.screens?Kv(t.screens,r):void 0;return{pattern:(n=r)===null||n===void 0?void 0:n.split("/").filter(Boolean).join("/"),stringify:t.stringify,screens:i}},Kv=(t,e)=>Xv(Object.entries(t).map(n=>{let[r,i]=n;const a=A1(i,e);return[r,a]}));var f1=t=>{if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")};const $v=Cn(f1);function qv(t,e){e&&Qo(e);let n=[];e!=null&&e.initialRouteName&&n.push({initialRouteName:e.initialRouteName,parentScreens:[]});const r=e==null?void 0:e.screens;let i=t.replace(/\/+/g,"/").replace(/^\//,"").replace(/\?.*$/,"");if(i=i.endsWith("/")?i:`${i}/`,r===void 0){const c=i.split("/").filter(Boolean).map(A=>({name:decodeURIComponent(A)}));return c.length?Mu(t,c,n):void 0}const a=[].concat(...Object.keys(r).map(c=>jv(c,r,[],n,[]))).sort((c,A)=>{if(c.pattern===A.pattern)return A.routeNames.join(">").localeCompare(c.routeNames.join(">"));if(c.pattern.startsWith(A.pattern))return-1;if(A.pattern.startsWith(c.pattern))return 1;const d=c.pattern.split("/"),f=A.pattern.split("/");for(let p=0;p<Math.max(d.length,f.length);p++){if(d[p]==null)return 1;if(f[p]==null)return-1;const h=d[p]==="*"||d[p].startsWith(":"),v=f[p]==="*"||f[p].startsWith(":");if(!(h&&v)){if(h)return 1;if(v)return-1}}return f.length-d.length});if(a.reduce((c,A)=>{if(c[A.pattern]){const d=c[A.pattern].routeNames,f=A.routeNames;if(!(d.length>f.length?f.every((h,v)=>d[v]===h):d.every((h,v)=>f[v]===h)))throw new Error(`Found conflicting screens with the same pattern. The pattern '${A.pattern}' resolves to both '${d.join(" > ")}' and '${f.join(" > ")}'. Patterns must be unique and cannot resolve to more than one screen.`)}return Object.assign(c,{[A.pattern]:A})},{}),i==="/"){const c=a.find(A=>A.path===""&&A.routeNames.every(d=>{var f;return!((f=a.find(p=>p.screen===d))!==null&&f!==void 0&&f.path)}));return c?Mu(t,c.routeNames.map(A=>({name:A})),n,a):void 0}let s,o;const{routes:l,remainingPath:u}=h1(i,a.map(c=>({...c,regex:c.regex?new RegExp(c.regex.source+"$"):void 0})));if(l!==void 0&&(o=Mu(t,l,n,a),i=u,s=o),!(o==null||s==null))return s}const qA=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return[].concat(...e.map(r=>r.split("/"))).filter(Boolean).join("/")},h1=(t,e)=>{let n,r=t;for(const a of e){if(!a.regex)continue;const s=r.match(a.regex);if(s){var i;const l=((i=a.pattern)===null||i===void 0?void 0:i.split("/").reduce((u,c,A)=>{if(!c.startsWith(":"))return u;u.pos+=1;const d=decodeURIComponent(s[(u.pos+1)*2].replace(/\/$/,""));return Object.assign(u.matchedParams,{[c]:Object.assign(u.matchedParams[c]||{},{[A]:d})}),u},{pos:-1,matchedParams:{}})).matchedParams||{};n=a.routeNames.map(u=>{var c;const A=e.find(h=>h.screen===u&&a.pattern.startsWith(h.pattern)),d=A==null?void 0:A.path.split("/").filter(Boolean).join("/"),f=A==null||(c=A.pattern.replace(new RegExp(`${$v(d)}$`),""))===null||c===void 0?void 0:c.split("/").length,p=d==null?void 0:d.split("/").reduce((h,v,E)=>{var C;if(!v.startsWith(":"))return h;const m=f?f-1:0,g=(C=l[v])===null||C===void 0?void 0:C[E+m];if(g){var y;const x=v.replace(/^:/,"").replace(/\?$/,"");h[x]=A!=null&&(y=A.parse)!==null&&y!==void 0&&y[x]?A.parse[x](g):g}return h},{});return p&&Object.keys(p).length?{name:u,params:p}:{name:u}}),r=r.replace(s[1],"");break}}return{routes:n,remainingPath:r}},jv=function(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0;const s=[];n.push(t),i.push(t);const o=e[t];if(typeof o=="string"){const l=a?qA(a,o):o;s.push(jA(t,n,l,o))}else if(typeof o=="object"){let l;if(typeof o.path=="string"){if(o.exact&&o.path===void 0)throw new Error("A 'path' needs to be specified when specifying 'exact: true'. If you don't want this screen in the URL, specify it as empty string, e.g. `path: ''`.");l=o.exact!==!0?qA(a||"",o.path||""):o.path||"",s.push(jA(t,n,l,o.path,o.parse))}o.screens&&(o.initialRouteName&&r.push({initialRouteName:o.initialRouteName,parentScreens:i}),Object.keys(o.screens).forEach(u=>{const c=jv(u,o.screens,n,r,[...i],l??a);s.push(...c)}))}return n.pop(),s},jA=(t,e,n,r,i)=>{n=n.split("/").filter(Boolean).join("/");const a=n?new RegExp(`^(${n.split("/").map(s=>s.startsWith(":")?`(([^/]+\\/)${s.endsWith("?")?"?":""})`:`${s==="*"?".*":$v(s)}\\/`).join("")})`):void 0;return{screen:t,regex:a,pattern:n,path:r,routeNames:[...e],parse:i}},p1=(t,e)=>{for(const n of e)if(t===n.routeNames[n.routeNames.length-1])return n.parse},QA=(t,e,n)=>{for(const r of n)if(e.length===r.parentScreens.length){let i=!0;for(let a=0;a<e.length;a++)if(e[a].localeCompare(r.parentScreens[a])!==0){i=!1;break}if(i)return t!==r.initialRouteName?r.initialRouteName:void 0}},ZA=(t,e,n)=>n?t?{index:1,routes:[{name:t},e]}:{routes:[e]}:t?{index:1,routes:[{name:t},{...e,state:{routes:[]}}]}:{routes:[{...e,state:{routes:[]}}]},Mu=(t,e,n,r)=>{let i,a=e.shift();const s=[];let o=QA(a.name,s,n);if(s.push(a.name),i=ZA(o,a,e.length===0),e.length>0){let u=i;for(;a=e.shift();){o=QA(a.name,s,n);const c=u.index||u.routes.length-1;u.routes[c].state=ZA(o,a,e.length===0),e.length>0&&(u=u.routes[c].state),s.push(a.name)}}a=Wa(i),a.path=t;const l=v1(t,r?p1(a.name,r):void 0);return l&&(a.params={...a.params,...l}),i},v1=(t,e)=>{const n=t.split("?")[1],r=Tv.parse(n);return e&&Object.keys(r).forEach(i=>{Object.hasOwnProperty.call(e,i)&&typeof r[i]=="string"&&(r[i]=e[i](r[i]))}),Object.keys(r).length?r:void 0};function Qv(t){const e=_x();arguments[1]!==void 0&&console.error(`You passed a second argument to 'useFocusEffect', but it only accepts one argument. If you want to pass a dependency array, you can use 'React.useCallback': +See https://reactnavigation.org/docs/configuring-links for more details on how to specify a linking configuration.`);t.screens&&Object.entries(t.screens).forEach(i=>{let[a,s]=i;typeof s!="string"&&Zo(s,!1)})}const Kv=t=>{const e=typeof t.index=="number"?t.routes[t.index]:t.routes[t.routes.length-1];return e.state?Kv(e.state):e};function $v(t,e){if(t==null)throw Error("Got 'undefined' for the navigation state. You must pass a valid state object.");e&&Zo(e);const n=e!=null&&e.screens?qv(e==null?void 0:e.screens):{};let r="/",i=t;const a={};for(;i;){let l=typeof i.index=="number"?i.index:0,u=i.routes[l],c,A,d=Kv(t),f=n,p=[],h=!0;for(;u.name in f&&h;){if(c=f[u.name].pattern,p.push(u.name),u.params){var s;const v=(s=f[u.name])===null||s===void 0?void 0:s.stringify,E=zv(Object.entries(u.params).map(C=>{let[m,g]=C;return[m,v!=null&&v[m]?v[m](g):String(g)]}));if(c&&Object.assign(a,E),d===u){var o;A={...E},(o=c)===null||o===void 0||o.split("/").filter(C=>C.startsWith(":")).forEach(C=>{const m=qA(C);A&&delete A[m]})}}if(!f[u.name].screens||u.state===void 0)h=!1;else{l=typeof u.state.index=="number"?u.state.index:u.state.routes.length-1;const v=u.state.routes[l],E=f[u.name].screens;E&&v.name in E?(u=v,f=E):h=!1}}if(c===void 0&&(c=p.join("/")),f[u.name]!==void 0?r+=c.split("/").map(v=>{const E=qA(v);if(v==="*")return u.name;if(v.startsWith(":")){const C=a[E];return C===void 0&&v.endsWith("?")?"":encodeURIComponent(C)}return encodeURIComponent(v)}).join("/"):r+=encodeURIComponent(u.name),A||(A=d.params),u.state)r+="/";else if(A){for(let E in A)A[E]==="undefined"&&delete A[E];const v=Fv.stringify(A,{sort:!1});v&&(r+=`?${v}`)}i=u.state}return r=r.replace(/\/+/g,"/"),r=r.length>1?r.replace(/\/$/,""):r,r}const qA=t=>t.replace(/^:/,"").replace(/\?$/,""),jA=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return[].concat(...e.map(r=>r.split("/"))).filter(Boolean).join("/")},m1=(t,e)=>{var n;if(typeof t=="string")return{pattern:e?jA(e,t):t};let r;if(t.exact&&t.path===void 0)throw new Error("A 'path' needs to be specified when specifying 'exact: true'. If you don't want this screen in the URL, specify it as empty string, e.g. `path: ''`.");r=t.exact!==!0?jA(e||"",t.path||""):t.path||"";const i=t.screens?qv(t.screens,r):void 0;return{pattern:(n=r)===null||n===void 0?void 0:n.split("/").filter(Boolean).join("/"),stringify:t.stringify,screens:i}},qv=(t,e)=>zv(Object.entries(t).map(n=>{let[r,i]=n;const a=m1(i,e);return[r,a]}));var C1=t=>{if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")};const jv=En(C1);function Qv(t,e){e&&Zo(e);let n=[];e!=null&&e.initialRouteName&&n.push({initialRouteName:e.initialRouteName,parentScreens:[]});const r=e==null?void 0:e.screens;let i=t.replace(/\/+/g,"/").replace(/^\//,"").replace(/\?.*$/,"");if(i=i.endsWith("/")?i:`${i}/`,r===void 0){const c=i.split("/").filter(Boolean).map(A=>({name:decodeURIComponent(A)}));return c.length?Bu(t,c,n):void 0}const a=[].concat(...Object.keys(r).map(c=>Zv(c,r,[],n,[]))).sort((c,A)=>{if(c.pattern===A.pattern)return A.routeNames.join(">").localeCompare(c.routeNames.join(">"));if(c.pattern.startsWith(A.pattern))return-1;if(A.pattern.startsWith(c.pattern))return 1;const d=c.pattern.split("/"),f=A.pattern.split("/");for(let p=0;p<Math.max(d.length,f.length);p++){if(d[p]==null)return 1;if(f[p]==null)return-1;const h=d[p]==="*"||d[p].startsWith(":"),v=f[p]==="*"||f[p].startsWith(":");if(!(h&&v)){if(h)return 1;if(v)return-1}}return f.length-d.length});if(a.reduce((c,A)=>{if(c[A.pattern]){const d=c[A.pattern].routeNames,f=A.routeNames;if(!(d.length>f.length?f.every((h,v)=>d[v]===h):d.every((h,v)=>f[v]===h)))throw new Error(`Found conflicting screens with the same pattern. The pattern '${A.pattern}' resolves to both '${d.join(" > ")}' and '${f.join(" > ")}'. Patterns must be unique and cannot resolve to more than one screen.`)}return Object.assign(c,{[A.pattern]:A})},{}),i==="/"){const c=a.find(A=>A.path===""&&A.routeNames.every(d=>{var f;return!((f=a.find(p=>p.screen===d))!==null&&f!==void 0&&f.path)}));return c?Bu(t,c.routeNames.map(A=>({name:A})),n,a):void 0}let s,o;const{routes:l,remainingPath:u}=E1(i,a.map(c=>({...c,regex:c.regex?new RegExp(c.regex.source+"$"):void 0})));if(l!==void 0&&(o=Bu(t,l,n,a),i=u,s=o),!(o==null||s==null))return s}const QA=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return[].concat(...e.map(r=>r.split("/"))).filter(Boolean).join("/")},E1=(t,e)=>{let n,r=t;for(const a of e){if(!a.regex)continue;const s=r.match(a.regex);if(s){var i;const l=((i=a.pattern)===null||i===void 0?void 0:i.split("/").reduce((u,c,A)=>{if(!c.startsWith(":"))return u;u.pos+=1;const d=decodeURIComponent(s[(u.pos+1)*2].replace(/\/$/,""));return Object.assign(u.matchedParams,{[c]:Object.assign(u.matchedParams[c]||{},{[A]:d})}),u},{pos:-1,matchedParams:{}})).matchedParams||{};n=a.routeNames.map(u=>{var c;const A=e.find(h=>h.screen===u&&a.pattern.startsWith(h.pattern)),d=A==null?void 0:A.path.split("/").filter(Boolean).join("/"),f=A==null||(c=A.pattern.replace(new RegExp(`${jv(d)}$`),""))===null||c===void 0?void 0:c.split("/").length,p=d==null?void 0:d.split("/").reduce((h,v,E)=>{var C;if(!v.startsWith(":"))return h;const m=f?f-1:0,g=(C=l[v])===null||C===void 0?void 0:C[E+m];if(g){var y;const x=v.replace(/^:/,"").replace(/\?$/,"");h[x]=A!=null&&(y=A.parse)!==null&&y!==void 0&&y[x]?A.parse[x](g):g}return h},{});return p&&Object.keys(p).length?{name:u,params:p}:{name:u}}),r=r.replace(s[1],"");break}}return{routes:n,remainingPath:r}},Zv=function(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0;const s=[];n.push(t),i.push(t);const o=e[t];if(typeof o=="string"){const l=a?QA(a,o):o;s.push(ZA(t,n,l,o))}else if(typeof o=="object"){let l;if(typeof o.path=="string"){if(o.exact&&o.path===void 0)throw new Error("A 'path' needs to be specified when specifying 'exact: true'. If you don't want this screen in the URL, specify it as empty string, e.g. `path: ''`.");l=o.exact!==!0?QA(a||"",o.path||""):o.path||"",s.push(ZA(t,n,l,o.path,o.parse))}o.screens&&(o.initialRouteName&&r.push({initialRouteName:o.initialRouteName,parentScreens:i}),Object.keys(o.screens).forEach(u=>{const c=Zv(u,o.screens,n,r,[...i],l??a);s.push(...c)}))}return n.pop(),s},ZA=(t,e,n,r,i)=>{n=n.split("/").filter(Boolean).join("/");const a=n?new RegExp(`^(${n.split("/").map(s=>s.startsWith(":")?`(([^/]+\\/)${s.endsWith("?")?"?":""})`:`${s==="*"?".*":jv(s)}\\/`).join("")})`):void 0;return{screen:t,regex:a,pattern:n,path:r,routeNames:[...e],parse:i}},x1=(t,e)=>{for(const n of e)if(t===n.routeNames[n.routeNames.length-1])return n.parse},JA=(t,e,n)=>{for(const r of n)if(e.length===r.parentScreens.length){let i=!0;for(let a=0;a<e.length;a++)if(e[a].localeCompare(r.parentScreens[a])!==0){i=!1;break}if(i)return t!==r.initialRouteName?r.initialRouteName:void 0}},ef=(t,e,n)=>n?t?{index:1,routes:[{name:t},e]}:{routes:[e]}:t?{index:1,routes:[{name:t},{...e,state:{routes:[]}}]}:{routes:[{...e,state:{routes:[]}}]},Bu=(t,e,n,r)=>{let i,a=e.shift();const s=[];let o=JA(a.name,s,n);if(s.push(a.name),i=ef(o,a,e.length===0),e.length>0){let u=i;for(;a=e.shift();){o=JA(a.name,s,n);const c=u.index||u.routes.length-1;u.routes[c].state=ef(o,a,e.length===0),e.length>0&&(u=u.routes[c].state),s.push(a.name)}}a=Wa(i),a.path=t;const l=y1(t,r?x1(a.name,r):void 0);return l&&(a.params={...a.params,...l}),i},y1=(t,e)=>{const n=t.split("?")[1],r=Fv.parse(n);return e&&Object.keys(r).forEach(i=>{Object.hasOwnProperty.call(e,i)&&typeof r[i]=="string"&&(r[i]=e[i](r[i]))}),Object.keys(r).length?r:void 0};function Jv(t){const e=Fx();arguments[1]!==void 0&&console.error(`You passed a second argument to 'useFocusEffect', but it only accepts one argument. If you want to pass a dependency array, you can use 'React.useCallback': useFocusEffect( React.useCallback(() => { @@ -15,34 +15,34 @@ useFocusEffect( }, [depA, depB]) ); -See usage guide: https://reactnavigation.org/docs/use-focus-effect`),b.useEffect(()=>{let n=!1,r;const i=()=>{const o=t();if(o===void 0||typeof o=="function")return o};e.isFocused()&&(r=i(),n=!0);const a=e.addListener("focus",()=>{n||(r!==void 0&&r(),r=i(),n=!0)}),s=e.addListener("blur",()=>{r!==void 0&&r(),r=void 0,n=!1});return()=>{r!==void 0&&r(),a(),s()}},[t,e])}function g1(){const t=QE();let e=null,n=null;return{clear(){e=null,n=null},notify(){t(()=>{let r=e;for(;r;)r.callback(),r=r.next})},get(){let r=[],i=e;for(;i;)r.push(i),i=i.next;return r},subscribe(r){let i=!0,a=n={callback:r,next:null,prev:n};return a.prev?a.prev.next=a:e=a,function(){!i||e===null||(i=!1,a.next?a.next.prev=a.prev:n=a.prev,a.prev?a.prev.next=a.next:e=a.next)}}}}const JA={notify(){},get:()=>[]};function m1(t,e){let n,r=JA,i=0,a=!1;function s(h){c();const v=r.subscribe(h);let E=!1;return()=>{E||(E=!0,v(),A())}}function o(){r.notify()}function l(){p.onStateChange&&p.onStateChange()}function u(){return a}function c(){i++,n||(n=t.subscribe(l),r=g1())}function A(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=JA)}function d(){a||(a=!0,c())}function f(){a&&(a=!1,A())}const p={addNestedSub:s,notifyNestedSubs:o,handleChangeWrapper:l,isSubscribed:u,trySubscribe:d,tryUnsubscribe:f,getListeners:()=>r};return p}const C1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",E1=C1?b.useLayoutEffect:b.useEffect;function ef(t,e){return t===e?t!==0||e!==0||1/t===1/e:t!==t&&e!==e}function Eo(t,e){if(ef(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;const n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(let i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(e,n[i])||!ef(t[n[i]],e[n[i]]))return!1;return!0}function x1({store:t,context:e,children:n,serverState:r,stabilityCheck:i="once",noopCheck:a="once"}){const s=b.useMemo(()=>{const u=m1(t);return{store:t,subscription:u,getServerState:r?()=>r:void 0,stabilityCheck:i,noopCheck:a}},[t,r,i,a]),o=b.useMemo(()=>t.getState(),[t]);E1(()=>{const{subscription:u}=s;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),o!==t.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[s,o]);const l=e||ja;return b.createElement(l.Provider,{value:s},n)}function Zv(t=ja){const e=t===ja?ZE:JE(t);return function(){const{store:r}=e();return r}}const Jv=Zv();function y1(t=ja){const e=t===ja?Jv:Zv(t);return function(){return e().dispatch}}const eg=y1();var xo="NOT_FOUND";function I1(t){var e;return{get:function(r){return e&&t(e.key,r)?e.value:xo},put:function(r,i){e={key:r,value:i}},getEntries:function(){return e?[e]:[]},clear:function(){e=void 0}}}function w1(t,e){var n=[];function r(o){var l=n.findIndex(function(c){return e(o,c.key)});if(l>-1){var u=n[l];return l>0&&(n.splice(l,1),n.unshift(u)),u.value}return xo}function i(o,l){r(o)===xo&&(n.unshift({key:o,value:l}),n.length>t&&n.pop())}function a(){return n}function s(){n=[]}return{get:r,put:i,getEntries:a,clear:s}}var S1=function(e,n){return e===n};function b1(t){return function(n,r){if(n===null||r===null||n.length!==r.length)return!1;for(var i=n.length,a=0;a<i;a++)if(!t(n[a],r[a]))return!1;return!0}}function Cd(t,e){var n=typeof e=="object"?e:{equalityCheck:e},r=n.equalityCheck,i=r===void 0?S1:r,a=n.maxSize,s=a===void 0?1:a,o=n.resultEqualityCheck,l=b1(i),u=s===1?I1(l):w1(s,l);function c(){var A=u.get(arguments);if(A===xo){if(A=t.apply(null,arguments),o){var d=u.getEntries(),f=d.find(function(p){return o(p.value,A)});f&&(A=f.value)}u.put(arguments,A)}return A}return c.clearCache=function(){return u.clear()},c}function _1(t){var e=Array.isArray(t[0])?t[0]:t;if(!e.every(function(r){return typeof r=="function"})){var n=e.map(function(r){return typeof r=="function"?"function "+(r.name||"unnamed")+"()":typeof r}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+n+"]")}return e}function D1(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=function(){for(var s=arguments.length,o=new Array(s),l=0;l<s;l++)o[l]=arguments[l];var u=0,c,A={memoizeOptions:void 0},d=o.pop();if(typeof d=="object"&&(A=d,d=o.pop()),typeof d!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof d+"]");var f=A,p=f.memoizeOptions,h=p===void 0?n:p,v=Array.isArray(h)?h:[h],E=_1(o),C=t.apply(void 0,[function(){return u++,d.apply(null,arguments)}].concat(v)),m=t(function(){for(var y=[],x=E.length,w=0;w<x;w++)y.push(E[w].apply(null,arguments));return c=C.apply(null,y),c});return Object.assign(m,{resultFunc:d,memoizedResultFunc:C,dependencies:E,lastResult:function(){return c},recomputations:function(){return u},resetRecomputations:function(){return u=0}}),m};return i}var $r=D1(Cd);const tg=b.createContext({options:void 0});tg.displayName="LinkingContext";const ng={dark:!1,colors:{primary:"rgb(0, 122, 255)",background:"rgb(242, 242, 242)",card:"rgb(255, 255, 255)",text:"rgb(28, 28, 30)",border:"rgb(216, 216, 216)",notification:"rgb(255, 59, 48)"}},rg=b.createContext(ng);rg.displayName="ThemeContext";function O1(t){let{value:e,children:n}=t;return b.createElement(rg.Provider,{value:e},n)}function T1(t){let{enabled:e=!0,formatter:n=(r,i)=>(r==null?void 0:r.title)??(i==null?void 0:i.name)}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};b.useEffect(()=>{if(!e)return;const r=t.current;if(r){const i=n(r.getCurrentOptions(),r.getCurrentRoute());document.title=i}return r==null?void 0:r.addListener("options",i=>{const a=n(i.data.options,r==null?void 0:r.getCurrentRoute());document.title=a})})}var P1=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var r,i,a;if(Array.isArray(e)){if(r=e.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!t(e[i],n[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(a=Object.keys(e),r=a.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=r;i--!==0;){var s=a[i];if(!t(e[s],n[s]))return!1}return!0}return e!==e&&n!==n};const R1=Cn(P1);function F1(){let t=0,e=[];const n=[],r=()=>{n.forEach(a=>{const s=a.cb;a.cb=()=>s(!0)})};return{get index(){var a;const s=(a=window.history.state)===null||a===void 0?void 0:a.id;if(s){const o=e.findIndex(l=>l.id===s);return o>-1?o:0}return 0},get(a){return e[a]},backIndex(a){let{path:s}=a;for(let o=t-1;o>=0;o--)if(e[o].path===s)return o;return-1},push(a){let{path:s,state:o}=a;r();const l=WA();e=e.slice(0,t+1),e.push({path:s,state:o,id:l}),t=e.length-1,window.history.pushState({id:l},"",s)},replace(a){var s;let{path:o,state:l}=a;r();const u=((s=window.history.state)===null||s===void 0?void 0:s.id)??WA();let c=o;!e.length||e.findIndex(A=>A.id===u)<0?(c=c+location.hash,e=[{path:c,state:l,id:u}],t=0):(e[t].path===o&&(c=c+location.hash),e[t]={path:o,state:l,id:u}),window.history.replaceState({id:u},"",c)},go(a){r();const s=t+a,o=e.length-1;if(a<0&&!e[s]?(a=-t,t=0):a>0&&s>o?(a=o-t,t=o):t=s,a!==0)return new Promise((l,u)=>{const c=f=>{if(clearTimeout(A),f){u(new Error("History was changed during navigation."));return}const{title:p}=window.document;window.document.title="",window.document.title=p,l()};n.push({ref:c,cb:c});const A=setTimeout(()=>{const f=n.findIndex(p=>p.ref===c);f>-1&&(n[f].cb(),n.splice(f,1))},100),d=()=>{var f;const p=(f=window.history.state)===null||f===void 0?void 0:f.id,h=e.findIndex(E=>E.id===p);t=Math.max(h,0);const v=n.pop();window.removeEventListener("popstate",d),v==null||v.cb()};window.addEventListener("popstate",d),window.history.go(a)})},listen(a){const s=()=>{n.length||a()};return window.addEventListener("popstate",s),()=>window.removeEventListener("popstate",s)}}}const k1=b.createContext(void 0),ig=(t,e)=>{if(t===void 0||e===void 0||t.key!==e.key)return[void 0,void 0];const n=t.history?t.history.length:t.routes.length,r=e.history?e.history.length:e.routes.length,i=t.routes[t.index],a=e.routes[e.index],s=i.state,o=a.state;return n!==r||i.key!==a.key||s===void 0||o===void 0||s.key!==o.key?[t,e]:ig(s,o)},M1=t=>{let e=Promise.resolve();return()=>{e=e.then(t)}};function B1(t,e){let{independent:n,enabled:r=!0,config:i,getStateFromPath:a=qv,getPathFromState:s=zv,getActionFromState:o=Uv}=e;b.useEffect(()=>{},[r,n]);const[l]=b.useState(F1),u=b.useRef(r),c=b.useRef(i),A=b.useRef(a),d=b.useRef(s),f=b.useRef(o);b.useEffect(()=>{u.current=r,c.current=i,A.current=a,d.current=s,f.current=o});const p=b.useContext(k1),h=b.useCallback(()=>{let m;if(u.current){const y=(p==null?void 0:p.location)??(typeof window<"u"?window.location:void 0),x=y?y.pathname+y.search:void 0;x&&(m=A.current(x,c.current))}const g={then(y){return Promise.resolve(y?y(m):m)},catch(){return g}};return g},[]),v=b.useRef(void 0),E=b.useRef(void 0),C=b.useRef(void 0);return b.useEffect(()=>(v.current=l.index,l.listen(()=>{const m=t.current;if(!m||!r)return;const{location:g}=window,y=g.pathname+g.search,x=l.index,w=v.current??0;v.current=x,C.current=y;const S=l.get(x);if((S==null?void 0:S.path)===y&&S!==null&&S!==void 0&&S.state){m.resetRoot(S.state);return}const D=A.current(y,c.current);if(D){const I=m.getRootState();if(D.routes.some(_=>!(I!=null&&I.routeNames.includes(_.name)))){console.warn("The navigation state parsed from the URL contains routes not present in the root navigator. This usually means that the linking configuration doesn't match the navigation structure. See https://reactnavigation.org/docs/configuring-links for more details on how to specify a linking configuration.");return}if(x>w){const _=f.current(D,c.current);if(_!==void 0)try{m.dispatch(_)}catch(O){console.warn(`An error occurred when trying to handle the link '${y}': ${typeof O=="object"&&O!=null&&"message"in O?O.message:O}`)}else m.resetRoot(D)}else m.resetRoot(D)}else m.resetRoot(D)})),[r,l,t]),b.useEffect(()=>{var m;if(!r)return;const g=(x,w)=>{if(x!=null&&x.path){const S=A.current(x.path,c.current);if(S){const D=Wa(S);if(D&&D.name===x.name&&R1(D.params,x.params))return x.path}}return d.current(w,c.current)};if(t.current){const x=t.current.getRootState();if(x){const w=Wa(x),S=g(w,x);E.current===void 0&&(E.current=x),l.replace({path:S,state:x})}}const y=async()=>{const x=t.current;if(!x||!r)return;const w=E.current,S=x.getRootState();if(!S)return;const D=C.current,I=Wa(S),_=g(I,S);E.current=S,C.current=void 0;const[O,T]=ig(w,S);if(O&&T&&_!==D){const R=(T.history?T.history.length:T.routes.length)-(O.history?O.history.length:O.routes.length);if(R>0)l.push({path:_,state:S});else if(R<0){const P=l.backIndex({path:_}),F=l.index;try{P!==-1&&P<F&&l.get(P-F)?await l.go(P-F):await l.go(R),l.replace({path:_,state:S})}catch{}}else l.replace({path:_,state:S})}else l.replace({path:_,state:S})};return(m=t.current)===null||m===void 0?void 0:m.addListener("state",M1(y))},[r,l,t]),{getInitialState:h}}function N1(t){const[e]=b.useState(t);let n=[!1,void 0];e.then(s=>{n=[!0,s]});const[r,i]=b.useState(n),[a]=r;return b.useEffect(()=>{let s=!1;return a||(async()=>{let l;try{l=await e}finally{s||i([!0,l])}})(),()=>{s=!0}},[e,a]),r}function Ed(){return Ed=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ed.apply(this,arguments)}global.REACT_NAVIGATION_DEVTOOLS=new WeakMap;function G1(t,e){let{theme:n=ng,linking:r,fallback:i=null,documentTitle:a,onReady:s,...o}=t;const l=r?r.enabled!==!1:!1;r!=null&&r.config&&Qo(r.config);const u=b.useRef(null);T1(u,a);const{getInitialState:c}=B1(u,{independent:o.independent,enabled:l,prefixes:[],...r});b.useEffect(()=>{u.current&&REACT_NAVIGATION_DEVTOOLS.set(u.current,{get linking(){return{...r,enabled:l,prefixes:(r==null?void 0:r.prefixes)??[],getStateFromPath:(r==null?void 0:r.getStateFromPath)??qv,getPathFromState:(r==null?void 0:r.getPathFromState)??zv,getActionFromState:(r==null?void 0:r.getActionFromState)??Uv}}})});const[A,d]=N1(c);b.useImperativeHandle(e,()=>u.current);const f=b.useMemo(()=>({options:r}),[r]),p=o.initialState!=null||!l||A,h=b.useRef(s);return b.useEffect(()=>{h.current=s}),b.useEffect(()=>{if(p){var v;(v=h.current)===null||v===void 0||v.call(h)}},[p]),p?b.createElement(tg.Provider,{value:f},b.createElement(O1,{value:n},b.createElement(l1,Ed({},o,{initialState:o.initialState==null?d:o.initialState,ref:u})))):i}const L1=b.forwardRef(G1);var V1={iphone5:{name:"iPhone 5",styles:{height:"568px",width:"320px"},type:"mobile"},iphone6:{name:"iPhone 6",styles:{height:"667px",width:"375px"},type:"mobile"},iphone6p:{name:"iPhone 6 Plus",styles:{height:"736px",width:"414px"},type:"mobile"},iphone8p:{name:"iPhone 8 Plus",styles:{height:"736px",width:"414px"},type:"mobile"},iphonex:{name:"iPhone X",styles:{height:"812px",width:"375px"},type:"mobile"},iphonexr:{name:"iPhone XR",styles:{height:"896px",width:"414px"},type:"mobile"},iphonexsmax:{name:"iPhone XS Max",styles:{height:"896px",width:"414px"},type:"mobile"},iphonese2:{name:"iPhone SE (2nd generation)",styles:{height:"667px",width:"375px"},type:"mobile"},iphone12mini:{name:"iPhone 12 mini",styles:{height:"812px",width:"375px"},type:"mobile"},iphone12:{name:"iPhone 12",styles:{height:"844px",width:"390px"},type:"mobile"},iphone12promax:{name:"iPhone 12 Pro Max",styles:{height:"926px",width:"428px"},type:"mobile"},iphoneSE3:{name:"iPhone SE 3rd generation",styles:{height:"667px",width:"375px"},type:"mobile"},iphone13:{name:"iPhone 13",styles:{height:"844px",width:"390px"},type:"mobile"},iphone13pro:{name:"iPhone 13 Pro",styles:{height:"844px",width:"390px"},type:"mobile"},iphone13promax:{name:"iPhone 13 Pro Max",styles:{height:"926px",width:"428px"},type:"mobile"},iphone14:{name:"iPhone 14",styles:{height:"844px",width:"390px"},type:"mobile"},iphone14pro:{name:"iPhone 14 Pro",styles:{height:"852px",width:"393px"},type:"mobile"},iphone14promax:{name:"iPhone 14 Pro Max",styles:{height:"932px",width:"430px"},type:"mobile"},ipad:{name:"iPad",styles:{height:"1024px",width:"768px"},type:"tablet"},ipad10p:{name:"iPad Pro 10.5-in",styles:{height:"1112px",width:"834px"},type:"tablet"},ipad11p:{name:"iPad Pro 11-in",styles:{height:"1194px",width:"834px"},type:"tablet"},ipad12p:{name:"iPad Pro 12.9-in",styles:{height:"1366px",width:"1024px"},type:"tablet"},galaxys5:{name:"Galaxy S5",styles:{height:"640px",width:"360px"},type:"mobile"},galaxys9:{name:"Galaxy S9",styles:{height:"740px",width:"360px"},type:"mobile"},nexus5x:{name:"Nexus 5X",styles:{height:"660px",width:"412px"},type:"mobile"},nexus6p:{name:"Nexus 6P",styles:{height:"732px",width:"412px"},type:"mobile"},pixel:{name:"Pixel",styles:{height:"960px",width:"540px"},type:"mobile"},pixelxl:{name:"Pixel XL",styles:{height:"1280px",width:"720px"},type:"mobile"}},O0="persist:",ag="persist/FLUSH",sg="persist/REHYDRATE",og="persist/PAUSE",lg="persist/PERSIST",ug="persist/PURGE",H1="persist/REGISTER",cg=-1;function uo(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?uo=function(n){return typeof n}:uo=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},uo(t)}function tf(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function U1(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?tf(n,!0).forEach(function(r){W1(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):tf(n).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function W1(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function X1(t,e,n,r){r.debug;var i=U1({},n);return t&&uo(t)==="object"&&Object.keys(t).forEach(function(a){a!=="_persist"&&e[a]===n[a]&&(i[a]=t[a])}),i}function Y1(t){var e=t.blacklist||null,n=t.whitelist||null,r=t.transforms||[],i=t.throttle||0,a="".concat(t.keyPrefix!==void 0?t.keyPrefix:O0).concat(t.key),s=t.storage,o;t.serialize===!1?o=function(y){return y}:typeof t.serialize=="function"?o=t.serialize:o=z1;var l=t.writeFailHandler||null,u={},c={},A=[],d=null,f=null,p=function(y){Object.keys(y).forEach(function(x){E(x)&&u[x]!==y[x]&&A.indexOf(x)===-1&&A.push(x)}),Object.keys(u).forEach(function(x){y[x]===void 0&&E(x)&&A.indexOf(x)===-1&&u[x]!==void 0&&A.push(x)}),d===null&&(d=setInterval(h,i)),u=y};function h(){if(A.length===0){d&&clearInterval(d),d=null;return}var g=A.shift(),y=r.reduce(function(x,w){return w.in(x,g,u)},u[g]);if(y!==void 0)try{c[g]=o(y)}catch(x){console.error("redux-persist/createPersistoid: error serializing state",x)}else delete c[g];A.length===0&&v()}function v(){Object.keys(c).forEach(function(g){u[g]===void 0&&delete c[g]}),f=s.setItem(a,o(c)).catch(C)}function E(g){return!(n&&n.indexOf(g)===-1&&g!=="_persist"||e&&e.indexOf(g)!==-1)}function C(g){l&&l(g)}var m=function(){for(;A.length!==0;)h();return f||Promise.resolve()};return{update:p,flush:m}}function z1(t){return JSON.stringify(t)}function K1(t){var e=t.transforms||[],n="".concat(t.keyPrefix!==void 0?t.keyPrefix:O0).concat(t.key),r=t.storage;t.debug;var i;return t.deserialize===!1?i=function(s){return s}:typeof t.deserialize=="function"?i=t.deserialize:i=$1,r.getItem(n).then(function(a){if(a)try{var s={},o=i(a);return Object.keys(o).forEach(function(l){s[l]=e.reduceRight(function(u,c){return c.out(u,l,o)},i(o[l]))}),s}catch(l){throw l}else return})}function $1(t){return JSON.parse(t)}function q1(t){var e=t.storage,n="".concat(t.keyPrefix!==void 0?t.keyPrefix:O0).concat(t.key);return e.removeItem(n,j1)}function j1(t){}function nf(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function yn(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?nf(n,!0).forEach(function(r){Q1(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):nf(n).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function Q1(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Z1(t,e){if(t==null)return{};var n=J1(t,e),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)r=a[i],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function J1(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,a;for(a=0;a<r.length;a++)i=r[a],!(e.indexOf(i)>=0)&&(n[i]=t[i]);return n}var ey=5e3;function ty(t,e){var n=t.version!==void 0?t.version:cg;t.debug;var r=t.stateReconciler===void 0?X1:t.stateReconciler,i=t.getStoredState||K1,a=t.timeout!==void 0?t.timeout:ey,s=null,o=!1,l=!0,u=function(A){return A._persist.rehydrated&&s&&!l&&s.update(A),A};return function(c,A){var d=c||{},f=d._persist,p=Z1(d,["_persist"]),h=p;if(A.type===lg){var v=!1,E=function(S,D){v||(A.rehydrate(t.key,S,D),v=!0)};if(a&&setTimeout(function(){!v&&E(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(t.key,'"')))},a),l=!1,s||(s=Y1(t)),f)return yn({},e(h,A),{_persist:f});if(typeof A.rehydrate!="function"||typeof A.register!="function")throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return A.register(t.key),i(t).then(function(w){var S=t.migrate||function(D,I){return Promise.resolve(D)};S(w,n).then(function(D){E(D)},function(D){E(void 0,D)})},function(w){E(void 0,w)}),yn({},e(h,A),{_persist:{version:n,rehydrated:!1}})}else{if(A.type===ug)return o=!0,A.result(q1(t)),yn({},e(h,A),{_persist:f});if(A.type===ag)return A.result(s&&s.flush()),yn({},e(h,A),{_persist:f});if(A.type===og)l=!0;else if(A.type===sg){if(o)return yn({},h,{_persist:yn({},f,{rehydrated:!0})});if(A.key===t.key){var C=e(h,A),m=A.payload,g=r!==!1&&m!==void 0?r(m,c,C,t):C,y=yn({},g,{_persist:yn({},f,{rehydrated:!0})});return u(y)}}}if(!f)return e(c,A);var x=e(h,A);return x===h?c:u(yn({},x,{_persist:f}))}}function ny(t,e){return function(n,r){if(!n)return Promise.resolve(void 0);var i=n._persist&&n._persist.version!==void 0?n._persist.version:cg;if(i===r||i>r)return Promise.resolve(n);var a=Object.keys(t).map(function(o){return parseInt(o)}).filter(function(o){return r>=o&&o>i}).sort(function(o,l){return o-l});try{var s=a.reduce(function(o,l){return t[l](o)},n);return Promise.resolve(s)}catch(o){return Promise.reject(o)}}}const rf={seenTips:[]},dg=De({name:ie.productTour,initialState:rf,reducers:{resetSeenTips:()=>rf,addSeenTip:(t,{payload:e})=>{const{seenTips:n}=t;!n.includes(e)&&n.push(e)}}}),{addSeenTip:ry,resetSeenTips:R6}=dg.actions,iy=t=>{var e;return(e=t[ie.productTour])==null?void 0:e.seenTips},En=()=>eg();var Rn=(t=>(t.maximized="maximized",t.minimized="minimized",t))(Rn||{});const ay={isOpen:!1,minimizedHeight:0,visibility:Rn.maximized},Ag=De({name:ie.chat,initialState:ay,reducers:{closeChat:t=>({...t,isOpen:!1}),maximizeChat:t=>({...t,visibility:Rn.maximized}),minimizeChat:t=>({...t,visibility:Rn.minimized}),setHeightMinimized:(t,{payload:e})=>({...t,minimizedHeight:e}),openChat:t=>({...t,isOpen:!0,visibility:Rn.maximized}),clearChatMessages:t=>({...t,messages:[]}),toggleChatIsOpen:t=>({...t,isOpen:!t.isOpen}),toggleChatVisibility:t=>({...t,visibility:t.visibility===Rn.maximized?Rn.minimized:Rn.maximized})}}),{closeChat:sy,openChat:oy,maximizeChat:ly,minimizeChat:uy,setHeightMinimized:cy,toggleChatIsOpen:dy,toggleChatVisibility:Ay}=Ag.actions,fy=t=>t[ie.chat].isOpen,hy=t=>t[ie.chat].visibility,py=t=>t[ie.chat].minimizedHeight,Zo=()=>{const t=Bt(fy),e=Bt(hy),n=e===Rn.maximized,r=Bt(py),i=En(),a=b.useCallback(()=>i(oy()),[i]),s=b.useCallback(()=>i(sy()),[i]),o=b.useCallback(()=>i(ly()),[i]),l=b.useCallback(()=>i(uy()),[i]),u=b.useCallback(d=>i(cy(d)),[i]),c=b.useCallback(()=>i(dy()),[i]),A=b.useCallback(()=>i(Ay()),[i]);return{close:s,isMaximized:n,isOpen:t,open:a,maximize:o,minimize:l,minimizedHeight:r,setMinimizedHeight:u,toggleIsOpen:c,toggleVisibility:A,visibility:e}},vy={alwaysEnabled:!0,name:"AboutModule",slug:nt.about},gy=(t,e)=>{if(!(!t&&!e))return t||e},my=(t,e)=>!t||!e?"":`${t.slice(0,4)} ${t.slice(4)} ${e.toUpperCase()}`,Cy=(t,e)=>e||(t?{lat:t[1],lon:t[0]}:void 0),Ey={0:t=>{const{adres:e,bag_huisletter:n,bag_toevoeging:r,bagNummeraanduidingId:i,woonplaats:a,centroid:s,coordinates:o,huisnummer:l,postcode:u,straatnaam:c}=t;return[e,n,r,i,a,l,u,c].some(d=>d===void 0)?{}:{address:{addition:gy(n,r),additionLetter:n||void 0,additionNumber:r||void 0,addressLine1:e,addressLine2:my(u,a),bagId:i,city:a,coordinates:Cy(s,o),number:l,postcode:u,street:c},locationType:"address"}}};var fg=(t=>(t.PreciseLocationAddressConstructionWork="PreciseLocationAddressConstructionWork",t.PreciseLocationAddressLookup="PreciseLocationAddressLookup",t.PreciseLocationAddressWasteGuide="PreciseLocationAddressWasteGuide",t))(fg||{});const xy={},hg=De({name:ie.permissions,initialState:xy,reducers:{setPermission:(t,{payload:{permission:e,granted:n}})=>{t[e]=n}}}),{setPermission:af}=hg.actions,yy=t=>e=>e[ie.permissions][t]??!1,Jo=Object.freeze({UNAVAILABLE:"unavailable",BLOCKED:"blocked",DENIED:"denied",GRANTED:"granted",LIMITED:"limited"}),T0="Only supported by iOS 14 and above";async function Iy(){throw new Error(T0)}async function wy(t){throw new Error(T0)}async function Sy(){throw new Error(T0)}async function sf(){return Jo.UNAVAILABLE}async function of(){return{status:Jo.UNAVAILABLE,settings:{}}}async function lf(t){return t.reduce((e,n)=>(e[n]=Jo.UNAVAILABLE,e),{})}const by={check:sf,checkLocationAccuracy:Iy,checkMultiple:lf,checkNotifications:of,openPhotoPicker:Sy,openSettings:Promise.reject,request:sf,requestLocationAccuracy:wy,requestMultiple:lf,requestNotifications:of},fi=Object.freeze({ANDROID:{},IOS:{},WINDOWS:{}}),_y=by.requestNotifications,ka={camera:ue.OS==="android"?fi.ANDROID.CAMERA:fi.IOS.CAMERA,location:ue.OS==="android"?fi.ANDROID.ACCESS_FINE_LOCATION:fi.IOS.LOCATION_WHEN_IN_USE,photos:ue.OS==="android"?fi.ANDROID.READ_MEDIA_IMAGES:fi.IOS.PHOTO_LIBRARY,notifications:"PERMISSION_NOTIFICATIONS"};ka.location,Jt.hasLocationPermission,ka.camera,Jt.hasCameraPermission,ka.photos,Jt.hasPhotosPermission,ka.notifications,Jt.hasNotificationPermission;const uf={highAccuracyPurposeKey:fg.PreciseLocationAddressLookup,locationType:void 0,startGettingLocation:void 0,getLocationIsError:void 0,isGettingLocation:void 0},pg=De({name:ie.address,initialState:uf,reducers:{addAddress:(t,{payload:e})=>({...t,address:e}),addLocation:(t,{payload:e})=>({...t,location:e,getLocationIsError:!1}),removeAddress:({address:t,...e})=>e,setStartGettingLocation:(t,{payload:e})=>({...t,highAccuracyPurposeKey:e??uf.highAccuracyPurposeKey,startGettingLocation:!0,getLocationIsError:!1}),setGetLocationIsError:(t,{payload:e})=>({...t,getLocationIsError:e,...e&&{startGettingLocation:!1}}),setIsGettingLocation:(t,{payload:e})=>({...t,isGettingLocation:e,...e&&{startGettingLocation:!1,getLocationIsError:!1}}),setLocationType:(t,{payload:{locationType:e}})=>({...t,locationType:e})}});pg.actions;const Dy=["address","locationType"],Oy={name:"AddressModule",slug:nt.address,reduxConfigs:[{key:ie.address,migrations:Ey,persistVersion:0,slice:pg,persistWhitelist:Dy}]},Ty=`The package 'react-native-salesforce-messaging-in-app' doesn't seem to be linked. Make sure: +See usage guide: https://reactnavigation.org/docs/use-focus-effect`),b.useEffect(()=>{let n=!1,r;const i=()=>{const o=t();if(o===void 0||typeof o=="function")return o};e.isFocused()&&(r=i(),n=!0);const a=e.addListener("focus",()=>{n||(r!==void 0&&r(),r=i(),n=!0)}),s=e.addListener("blur",()=>{r!==void 0&&r(),r=void 0,n=!1});return()=>{r!==void 0&&r(),a(),s()}},[t,e])}function I1(){const t=JE();let e=null,n=null;return{clear(){e=null,n=null},notify(){t(()=>{let r=e;for(;r;)r.callback(),r=r.next})},get(){let r=[],i=e;for(;i;)r.push(i),i=i.next;return r},subscribe(r){let i=!0,a=n={callback:r,next:null,prev:n};return a.prev?a.prev.next=a:e=a,function(){!i||e===null||(i=!1,a.next?a.next.prev=a.prev:n=a.prev,a.prev?a.prev.next=a.next:e=a.next)}}}}const tf={notify(){},get:()=>[]};function w1(t,e){let n,r=tf,i=0,a=!1;function s(h){c();const v=r.subscribe(h);let E=!1;return()=>{E||(E=!0,v(),A())}}function o(){r.notify()}function l(){p.onStateChange&&p.onStateChange()}function u(){return a}function c(){i++,n||(n=t.subscribe(l),r=I1())}function A(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=tf)}function d(){a||(a=!0,c())}function f(){a&&(a=!1,A())}const p={addNestedSub:s,notifyNestedSubs:o,handleChangeWrapper:l,isSubscribed:u,trySubscribe:d,tryUnsubscribe:f,getListeners:()=>r};return p}const S1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",b1=S1?b.useLayoutEffect:b.useEffect;function nf(t,e){return t===e?t!==0||e!==0||1/t===1/e:t!==t&&e!==e}function xo(t,e){if(nf(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;const n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(let i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(e,n[i])||!nf(t[n[i]],e[n[i]]))return!1;return!0}function _1({store:t,context:e,children:n,serverState:r,stabilityCheck:i="once",noopCheck:a="once"}){const s=b.useMemo(()=>{const u=w1(t);return{store:t,subscription:u,getServerState:r?()=>r:void 0,stabilityCheck:i,noopCheck:a}},[t,r,i,a]),o=b.useMemo(()=>t.getState(),[t]);b1(()=>{const{subscription:u}=s;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),o!==t.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[s,o]);const l=e||ja;return b.createElement(l.Provider,{value:s},n)}function eg(t=ja){const e=t===ja?ex:tx(t);return function(){const{store:r}=e();return r}}const tg=eg();function D1(t=ja){const e=t===ja?tg:eg(t);return function(){return e().dispatch}}const ng=D1();var yo="NOT_FOUND";function O1(t){var e;return{get:function(r){return e&&t(e.key,r)?e.value:yo},put:function(r,i){e={key:r,value:i}},getEntries:function(){return e?[e]:[]},clear:function(){e=void 0}}}function T1(t,e){var n=[];function r(o){var l=n.findIndex(function(c){return e(o,c.key)});if(l>-1){var u=n[l];return l>0&&(n.splice(l,1),n.unshift(u)),u.value}return yo}function i(o,l){r(o)===yo&&(n.unshift({key:o,value:l}),n.length>t&&n.pop())}function a(){return n}function s(){n=[]}return{get:r,put:i,getEntries:a,clear:s}}var P1=function(e,n){return e===n};function R1(t){return function(n,r){if(n===null||r===null||n.length!==r.length)return!1;for(var i=n.length,a=0;a<i;a++)if(!t(n[a],r[a]))return!1;return!0}}function Ed(t,e){var n=typeof e=="object"?e:{equalityCheck:e},r=n.equalityCheck,i=r===void 0?P1:r,a=n.maxSize,s=a===void 0?1:a,o=n.resultEqualityCheck,l=R1(i),u=s===1?O1(l):T1(s,l);function c(){var A=u.get(arguments);if(A===yo){if(A=t.apply(null,arguments),o){var d=u.getEntries(),f=d.find(function(p){return o(p.value,A)});f&&(A=f.value)}u.put(arguments,A)}return A}return c.clearCache=function(){return u.clear()},c}function F1(t){var e=Array.isArray(t[0])?t[0]:t;if(!e.every(function(r){return typeof r=="function"})){var n=e.map(function(r){return typeof r=="function"?"function "+(r.name||"unnamed")+"()":typeof r}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+n+"]")}return e}function M1(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=function(){for(var s=arguments.length,o=new Array(s),l=0;l<s;l++)o[l]=arguments[l];var u=0,c,A={memoizeOptions:void 0},d=o.pop();if(typeof d=="object"&&(A=d,d=o.pop()),typeof d!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof d+"]");var f=A,p=f.memoizeOptions,h=p===void 0?n:p,v=Array.isArray(h)?h:[h],E=F1(o),C=t.apply(void 0,[function(){return u++,d.apply(null,arguments)}].concat(v)),m=t(function(){for(var y=[],x=E.length,w=0;w<x;w++)y.push(E[w].apply(null,arguments));return c=C.apply(null,y),c});return Object.assign(m,{resultFunc:d,memoizedResultFunc:C,dependencies:E,lastResult:function(){return c},recomputations:function(){return u},resetRecomputations:function(){return u=0}}),m};return i}var $r=M1(Ed);const rg=b.createContext({options:void 0});rg.displayName="LinkingContext";const ig={dark:!1,colors:{primary:"rgb(0, 122, 255)",background:"rgb(242, 242, 242)",card:"rgb(255, 255, 255)",text:"rgb(28, 28, 30)",border:"rgb(216, 216, 216)",notification:"rgb(255, 59, 48)"}},ag=b.createContext(ig);ag.displayName="ThemeContext";function k1(t){let{value:e,children:n}=t;return b.createElement(ag.Provider,{value:e},n)}function B1(t){let{enabled:e=!0,formatter:n=(r,i)=>(r==null?void 0:r.title)??(i==null?void 0:i.name)}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};b.useEffect(()=>{if(!e)return;const r=t.current;if(r){const i=n(r.getCurrentOptions(),r.getCurrentRoute());document.title=i}return r==null?void 0:r.addListener("options",i=>{const a=n(i.data.options,r==null?void 0:r.getCurrentRoute());document.title=a})})}var N1=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var r,i,a;if(Array.isArray(e)){if(r=e.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!t(e[i],n[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(a=Object.keys(e),r=a.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=r;i--!==0;){var s=a[i];if(!t(e[s],n[s]))return!1}return!0}return e!==e&&n!==n};const G1=En(N1);function L1(){let t=0,e=[];const n=[],r=()=>{n.forEach(a=>{const s=a.cb;a.cb=()=>s(!0)})};return{get index(){var a;const s=(a=window.history.state)===null||a===void 0?void 0:a.id;if(s){const o=e.findIndex(l=>l.id===s);return o>-1?o:0}return 0},get(a){return e[a]},backIndex(a){let{path:s}=a;for(let o=t-1;o>=0;o--)if(e[o].path===s)return o;return-1},push(a){let{path:s,state:o}=a;r();const l=YA();e=e.slice(0,t+1),e.push({path:s,state:o,id:l}),t=e.length-1,window.history.pushState({id:l},"",s)},replace(a){var s;let{path:o,state:l}=a;r();const u=((s=window.history.state)===null||s===void 0?void 0:s.id)??YA();let c=o;!e.length||e.findIndex(A=>A.id===u)<0?(c=c+location.hash,e=[{path:c,state:l,id:u}],t=0):(e[t].path===o&&(c=c+location.hash),e[t]={path:o,state:l,id:u}),window.history.replaceState({id:u},"",c)},go(a){r();const s=t+a,o=e.length-1;if(a<0&&!e[s]?(a=-t,t=0):a>0&&s>o?(a=o-t,t=o):t=s,a!==0)return new Promise((l,u)=>{const c=f=>{if(clearTimeout(A),f){u(new Error("History was changed during navigation."));return}const{title:p}=window.document;window.document.title="",window.document.title=p,l()};n.push({ref:c,cb:c});const A=setTimeout(()=>{const f=n.findIndex(p=>p.ref===c);f>-1&&(n[f].cb(),n.splice(f,1))},100),d=()=>{var f;const p=(f=window.history.state)===null||f===void 0?void 0:f.id,h=e.findIndex(E=>E.id===p);t=Math.max(h,0);const v=n.pop();window.removeEventListener("popstate",d),v==null||v.cb()};window.addEventListener("popstate",d),window.history.go(a)})},listen(a){const s=()=>{n.length||a()};return window.addEventListener("popstate",s),()=>window.removeEventListener("popstate",s)}}}const V1=b.createContext(void 0),sg=(t,e)=>{if(t===void 0||e===void 0||t.key!==e.key)return[void 0,void 0];const n=t.history?t.history.length:t.routes.length,r=e.history?e.history.length:e.routes.length,i=t.routes[t.index],a=e.routes[e.index],s=i.state,o=a.state;return n!==r||i.key!==a.key||s===void 0||o===void 0||s.key!==o.key?[t,e]:sg(s,o)},H1=t=>{let e=Promise.resolve();return()=>{e=e.then(t)}};function U1(t,e){let{independent:n,enabled:r=!0,config:i,getStateFromPath:a=Qv,getPathFromState:s=$v,getActionFromState:o=Xv}=e;b.useEffect(()=>{},[r,n]);const[l]=b.useState(L1),u=b.useRef(r),c=b.useRef(i),A=b.useRef(a),d=b.useRef(s),f=b.useRef(o);b.useEffect(()=>{u.current=r,c.current=i,A.current=a,d.current=s,f.current=o});const p=b.useContext(V1),h=b.useCallback(()=>{let m;if(u.current){const y=(p==null?void 0:p.location)??(typeof window<"u"?window.location:void 0),x=y?y.pathname+y.search:void 0;x&&(m=A.current(x,c.current))}const g={then(y){return Promise.resolve(y?y(m):m)},catch(){return g}};return g},[]),v=b.useRef(void 0),E=b.useRef(void 0),C=b.useRef(void 0);return b.useEffect(()=>(v.current=l.index,l.listen(()=>{const m=t.current;if(!m||!r)return;const{location:g}=window,y=g.pathname+g.search,x=l.index,w=v.current??0;v.current=x,C.current=y;const S=l.get(x);if((S==null?void 0:S.path)===y&&S!==null&&S!==void 0&&S.state){m.resetRoot(S.state);return}const D=A.current(y,c.current);if(D){const I=m.getRootState();if(D.routes.some(_=>!(I!=null&&I.routeNames.includes(_.name)))){console.warn("The navigation state parsed from the URL contains routes not present in the root navigator. This usually means that the linking configuration doesn't match the navigation structure. See https://reactnavigation.org/docs/configuring-links for more details on how to specify a linking configuration.");return}if(x>w){const _=f.current(D,c.current);if(_!==void 0)try{m.dispatch(_)}catch(O){console.warn(`An error occurred when trying to handle the link '${y}': ${typeof O=="object"&&O!=null&&"message"in O?O.message:O}`)}else m.resetRoot(D)}else m.resetRoot(D)}else m.resetRoot(D)})),[r,l,t]),b.useEffect(()=>{var m;if(!r)return;const g=(x,w)=>{if(x!=null&&x.path){const S=A.current(x.path,c.current);if(S){const D=Wa(S);if(D&&D.name===x.name&&G1(D.params,x.params))return x.path}}return d.current(w,c.current)};if(t.current){const x=t.current.getRootState();if(x){const w=Wa(x),S=g(w,x);E.current===void 0&&(E.current=x),l.replace({path:S,state:x})}}const y=async()=>{const x=t.current;if(!x||!r)return;const w=E.current,S=x.getRootState();if(!S)return;const D=C.current,I=Wa(S),_=g(I,S);E.current=S,C.current=void 0;const[O,T]=sg(w,S);if(O&&T&&_!==D){const R=(T.history?T.history.length:T.routes.length)-(O.history?O.history.length:O.routes.length);if(R>0)l.push({path:_,state:S});else if(R<0){const P=l.backIndex({path:_}),F=l.index;try{P!==-1&&P<F&&l.get(P-F)?await l.go(P-F):await l.go(R),l.replace({path:_,state:S})}catch{}}else l.replace({path:_,state:S})}else l.replace({path:_,state:S})};return(m=t.current)===null||m===void 0?void 0:m.addListener("state",H1(y))},[r,l,t]),{getInitialState:h}}function W1(t){const[e]=b.useState(t);let n=[!1,void 0];e.then(s=>{n=[!0,s]});const[r,i]=b.useState(n),[a]=r;return b.useEffect(()=>{let s=!1;return a||(async()=>{let l;try{l=await e}finally{s||i([!0,l])}})(),()=>{s=!0}},[e,a]),r}function xd(){return xd=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},xd.apply(this,arguments)}global.REACT_NAVIGATION_DEVTOOLS=new WeakMap;function X1(t,e){let{theme:n=ig,linking:r,fallback:i=null,documentTitle:a,onReady:s,...o}=t;const l=r?r.enabled!==!1:!1;r!=null&&r.config&&Zo(r.config);const u=b.useRef(null);B1(u,a);const{getInitialState:c}=U1(u,{independent:o.independent,enabled:l,prefixes:[],...r});b.useEffect(()=>{u.current&&REACT_NAVIGATION_DEVTOOLS.set(u.current,{get linking(){return{...r,enabled:l,prefixes:(r==null?void 0:r.prefixes)??[],getStateFromPath:(r==null?void 0:r.getStateFromPath)??Qv,getPathFromState:(r==null?void 0:r.getPathFromState)??$v,getActionFromState:(r==null?void 0:r.getActionFromState)??Xv}}})});const[A,d]=W1(c);b.useImperativeHandle(e,()=>u.current);const f=b.useMemo(()=>({options:r}),[r]),p=o.initialState!=null||!l||A,h=b.useRef(s);return b.useEffect(()=>{h.current=s}),b.useEffect(()=>{if(p){var v;(v=h.current)===null||v===void 0||v.call(h)}},[p]),p?b.createElement(rg.Provider,{value:f},b.createElement(k1,{value:n},b.createElement(h1,xd({},o,{initialState:o.initialState==null?d:o.initialState,ref:u})))):i}const Y1=b.forwardRef(X1);var z1={iphone5:{name:"iPhone 5",styles:{height:"568px",width:"320px"},type:"mobile"},iphone6:{name:"iPhone 6",styles:{height:"667px",width:"375px"},type:"mobile"},iphone6p:{name:"iPhone 6 Plus",styles:{height:"736px",width:"414px"},type:"mobile"},iphone8p:{name:"iPhone 8 Plus",styles:{height:"736px",width:"414px"},type:"mobile"},iphonex:{name:"iPhone X",styles:{height:"812px",width:"375px"},type:"mobile"},iphonexr:{name:"iPhone XR",styles:{height:"896px",width:"414px"},type:"mobile"},iphonexsmax:{name:"iPhone XS Max",styles:{height:"896px",width:"414px"},type:"mobile"},iphonese2:{name:"iPhone SE (2nd generation)",styles:{height:"667px",width:"375px"},type:"mobile"},iphone12mini:{name:"iPhone 12 mini",styles:{height:"812px",width:"375px"},type:"mobile"},iphone12:{name:"iPhone 12",styles:{height:"844px",width:"390px"},type:"mobile"},iphone12promax:{name:"iPhone 12 Pro Max",styles:{height:"926px",width:"428px"},type:"mobile"},iphoneSE3:{name:"iPhone SE 3rd generation",styles:{height:"667px",width:"375px"},type:"mobile"},iphone13:{name:"iPhone 13",styles:{height:"844px",width:"390px"},type:"mobile"},iphone13pro:{name:"iPhone 13 Pro",styles:{height:"844px",width:"390px"},type:"mobile"},iphone13promax:{name:"iPhone 13 Pro Max",styles:{height:"926px",width:"428px"},type:"mobile"},iphone14:{name:"iPhone 14",styles:{height:"844px",width:"390px"},type:"mobile"},iphone14pro:{name:"iPhone 14 Pro",styles:{height:"852px",width:"393px"},type:"mobile"},iphone14promax:{name:"iPhone 14 Pro Max",styles:{height:"932px",width:"430px"},type:"mobile"},ipad:{name:"iPad",styles:{height:"1024px",width:"768px"},type:"tablet"},ipad10p:{name:"iPad Pro 10.5-in",styles:{height:"1112px",width:"834px"},type:"tablet"},ipad11p:{name:"iPad Pro 11-in",styles:{height:"1194px",width:"834px"},type:"tablet"},ipad12p:{name:"iPad Pro 12.9-in",styles:{height:"1366px",width:"1024px"},type:"tablet"},galaxys5:{name:"Galaxy S5",styles:{height:"640px",width:"360px"},type:"mobile"},galaxys9:{name:"Galaxy S9",styles:{height:"740px",width:"360px"},type:"mobile"},nexus5x:{name:"Nexus 5X",styles:{height:"660px",width:"412px"},type:"mobile"},nexus6p:{name:"Nexus 6P",styles:{height:"732px",width:"412px"},type:"mobile"},pixel:{name:"Pixel",styles:{height:"960px",width:"540px"},type:"mobile"},pixelxl:{name:"Pixel XL",styles:{height:"1280px",width:"720px"},type:"mobile"}},P0="persist:",og="persist/FLUSH",lg="persist/REHYDRATE",ug="persist/PAUSE",cg="persist/PERSIST",dg="persist/PURGE",K1="persist/REGISTER",Ag=-1;function uo(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?uo=function(n){return typeof n}:uo=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},uo(t)}function rf(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function $1(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?rf(n,!0).forEach(function(r){q1(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):rf(n).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function q1(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function j1(t,e,n,r){r.debug;var i=$1({},n);return t&&uo(t)==="object"&&Object.keys(t).forEach(function(a){a!=="_persist"&&e[a]===n[a]&&(i[a]=t[a])}),i}function Q1(t){var e=t.blacklist||null,n=t.whitelist||null,r=t.transforms||[],i=t.throttle||0,a="".concat(t.keyPrefix!==void 0?t.keyPrefix:P0).concat(t.key),s=t.storage,o;t.serialize===!1?o=function(y){return y}:typeof t.serialize=="function"?o=t.serialize:o=Z1;var l=t.writeFailHandler||null,u={},c={},A=[],d=null,f=null,p=function(y){Object.keys(y).forEach(function(x){E(x)&&u[x]!==y[x]&&A.indexOf(x)===-1&&A.push(x)}),Object.keys(u).forEach(function(x){y[x]===void 0&&E(x)&&A.indexOf(x)===-1&&u[x]!==void 0&&A.push(x)}),d===null&&(d=setInterval(h,i)),u=y};function h(){if(A.length===0){d&&clearInterval(d),d=null;return}var g=A.shift(),y=r.reduce(function(x,w){return w.in(x,g,u)},u[g]);if(y!==void 0)try{c[g]=o(y)}catch(x){console.error("redux-persist/createPersistoid: error serializing state",x)}else delete c[g];A.length===0&&v()}function v(){Object.keys(c).forEach(function(g){u[g]===void 0&&delete c[g]}),f=s.setItem(a,o(c)).catch(C)}function E(g){return!(n&&n.indexOf(g)===-1&&g!=="_persist"||e&&e.indexOf(g)!==-1)}function C(g){l&&l(g)}var m=function(){for(;A.length!==0;)h();return f||Promise.resolve()};return{update:p,flush:m}}function Z1(t){return JSON.stringify(t)}function J1(t){var e=t.transforms||[],n="".concat(t.keyPrefix!==void 0?t.keyPrefix:P0).concat(t.key),r=t.storage;t.debug;var i;return t.deserialize===!1?i=function(s){return s}:typeof t.deserialize=="function"?i=t.deserialize:i=ey,r.getItem(n).then(function(a){if(a)try{var s={},o=i(a);return Object.keys(o).forEach(function(l){s[l]=e.reduceRight(function(u,c){return c.out(u,l,o)},i(o[l]))}),s}catch(l){throw l}else return})}function ey(t){return JSON.parse(t)}function ty(t){var e=t.storage,n="".concat(t.keyPrefix!==void 0?t.keyPrefix:P0).concat(t.key);return e.removeItem(n,ny)}function ny(t){}function af(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function In(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?af(n,!0).forEach(function(r){ry(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):af(n).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function ry(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function iy(t,e){if(t==null)return{};var n=ay(t,e),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)r=a[i],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function ay(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,a;for(a=0;a<r.length;a++)i=r[a],!(e.indexOf(i)>=0)&&(n[i]=t[i]);return n}var sy=5e3;function oy(t,e){var n=t.version!==void 0?t.version:Ag;t.debug;var r=t.stateReconciler===void 0?j1:t.stateReconciler,i=t.getStoredState||J1,a=t.timeout!==void 0?t.timeout:sy,s=null,o=!1,l=!0,u=function(A){return A._persist.rehydrated&&s&&!l&&s.update(A),A};return function(c,A){var d=c||{},f=d._persist,p=iy(d,["_persist"]),h=p;if(A.type===cg){var v=!1,E=function(S,D){v||(A.rehydrate(t.key,S,D),v=!0)};if(a&&setTimeout(function(){!v&&E(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(t.key,'"')))},a),l=!1,s||(s=Q1(t)),f)return In({},e(h,A),{_persist:f});if(typeof A.rehydrate!="function"||typeof A.register!="function")throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return A.register(t.key),i(t).then(function(w){var S=t.migrate||function(D,I){return Promise.resolve(D)};S(w,n).then(function(D){E(D)},function(D){E(void 0,D)})},function(w){E(void 0,w)}),In({},e(h,A),{_persist:{version:n,rehydrated:!1}})}else{if(A.type===dg)return o=!0,A.result(ty(t)),In({},e(h,A),{_persist:f});if(A.type===og)return A.result(s&&s.flush()),In({},e(h,A),{_persist:f});if(A.type===ug)l=!0;else if(A.type===lg){if(o)return In({},h,{_persist:In({},f,{rehydrated:!0})});if(A.key===t.key){var C=e(h,A),m=A.payload,g=r!==!1&&m!==void 0?r(m,c,C,t):C,y=In({},g,{_persist:In({},f,{rehydrated:!0})});return u(y)}}}if(!f)return e(c,A);var x=e(h,A);return x===h?c:u(In({},x,{_persist:f}))}}function ly(t,e){return function(n,r){if(!n)return Promise.resolve(void 0);var i=n._persist&&n._persist.version!==void 0?n._persist.version:Ag;if(i===r||i>r)return Promise.resolve(n);var a=Object.keys(t).map(function(o){return parseInt(o)}).filter(function(o){return r>=o&&o>i}).sort(function(o,l){return o-l});try{var s=a.reduce(function(o,l){return t[l](o)},n);return Promise.resolve(s)}catch(o){return Promise.reject(o)}}}const sf={seenTips:[]},fg=De({name:ie.productTour,initialState:sf,reducers:{resetSeenTips:()=>sf,addSeenTip:(t,{payload:e})=>{const{seenTips:n}=t;!n.includes(e)&&n.push(e)}}}),{addSeenTip:uy,resetSeenTips:U6}=fg.actions,cy=t=>{var e;return(e=t[ie.productTour])==null?void 0:e.seenTips},xn=()=>ng();var Fn=(t=>(t.maximized="maximized",t.minimized="minimized",t))(Fn||{});const dy={isOpen:!1,minimizedHeight:0,visibility:Fn.maximized},hg=De({name:ie.chat,initialState:dy,reducers:{closeChat:t=>({...t,isOpen:!1}),maximizeChat:t=>({...t,visibility:Fn.maximized}),minimizeChat:t=>({...t,visibility:Fn.minimized}),setHeightMinimized:(t,{payload:e})=>({...t,minimizedHeight:e}),openChat:t=>({...t,isOpen:!0,visibility:Fn.maximized}),clearChatMessages:t=>({...t,messages:[]}),toggleChatIsOpen:t=>({...t,isOpen:!t.isOpen}),toggleChatVisibility:t=>({...t,visibility:t.visibility===Fn.maximized?Fn.minimized:Fn.maximized})}}),{closeChat:Ay,openChat:fy,maximizeChat:hy,minimizeChat:py,setHeightMinimized:vy,toggleChatIsOpen:gy,toggleChatVisibility:my}=hg.actions,Cy=t=>t[ie.chat].isOpen,Ey=t=>t[ie.chat].visibility,xy=t=>t[ie.chat].minimizedHeight,Jo=()=>{const t=Bt(Cy),e=Bt(Ey),n=e===Fn.maximized,r=Bt(xy),i=xn(),a=b.useCallback(()=>i(fy()),[i]),s=b.useCallback(()=>i(Ay()),[i]),o=b.useCallback(()=>i(hy()),[i]),l=b.useCallback(()=>i(py()),[i]),u=b.useCallback(d=>i(vy(d)),[i]),c=b.useCallback(()=>i(gy()),[i]),A=b.useCallback(()=>i(my()),[i]);return{close:s,isMaximized:n,isOpen:t,open:a,maximize:o,minimize:l,minimizedHeight:r,setMinimizedHeight:u,toggleIsOpen:c,toggleVisibility:A,visibility:e}},yy={alwaysEnabled:!0,name:"AboutModule",slug:nt.about},Iy=(t,e)=>{if(!(!t&&!e))return t||e},wy=(t,e)=>!t||!e?"":`${t.slice(0,4)} ${t.slice(4)} ${e.toUpperCase()}`,Sy=(t,e)=>e||(t?{lat:t[1],lon:t[0]}:void 0),by={0:t=>{const{adres:e,bag_huisletter:n,bag_toevoeging:r,bagNummeraanduidingId:i,woonplaats:a,centroid:s,coordinates:o,huisnummer:l,postcode:u,straatnaam:c}=t;return[e,n,r,i,a,l,u,c].some(d=>d===void 0)?{}:{address:{addition:Iy(n,r),additionLetter:n||void 0,additionNumber:r||void 0,addressLine1:e,addressLine2:wy(u,a),bagId:i,city:a,coordinates:Sy(s,o),number:l,postcode:u,street:c},locationType:"address"}}};var pg=(t=>(t.PreciseLocationAddressConstructionWork="PreciseLocationAddressConstructionWork",t.PreciseLocationAddressLookup="PreciseLocationAddressLookup",t.PreciseLocationAddressWasteGuide="PreciseLocationAddressWasteGuide",t))(pg||{});const _y={},vg=De({name:ie.permissions,initialState:_y,reducers:{setPermission:(t,{payload:{permission:e,granted:n}})=>{t[e]=n}}}),{setPermission:of}=vg.actions,Dy=t=>e=>e[ie.permissions][t]??!1,el=Object.freeze({UNAVAILABLE:"unavailable",BLOCKED:"blocked",DENIED:"denied",GRANTED:"granted",LIMITED:"limited"}),R0="Only supported by iOS 14 and above";async function Oy(){throw new Error(R0)}async function Ty(t){throw new Error(R0)}async function Py(){throw new Error(R0)}async function lf(){return el.UNAVAILABLE}async function uf(){return{status:el.UNAVAILABLE,settings:{}}}async function cf(t){return t.reduce((e,n)=>(e[n]=el.UNAVAILABLE,e),{})}const Ry={check:lf,checkLocationAccuracy:Oy,checkMultiple:cf,checkNotifications:uf,openPhotoPicker:Py,openSettings:Promise.reject,request:lf,requestLocationAccuracy:Ty,requestMultiple:cf,requestNotifications:uf},fi=Object.freeze({ANDROID:{},IOS:{},WINDOWS:{}}),Fy=Ry.requestNotifications,Ma={camera:ue.OS==="android"?fi.ANDROID.CAMERA:fi.IOS.CAMERA,location:ue.OS==="android"?fi.ANDROID.ACCESS_FINE_LOCATION:fi.IOS.LOCATION_WHEN_IN_USE,photos:ue.OS==="android"?fi.ANDROID.READ_MEDIA_IMAGES:fi.IOS.PHOTO_LIBRARY,notifications:"PERMISSION_NOTIFICATIONS"};Ma.location,Jt.hasLocationPermission,Ma.camera,Jt.hasCameraPermission,Ma.photos,Jt.hasPhotosPermission,Ma.notifications,Jt.hasNotificationPermission;const df={highAccuracyPurposeKey:pg.PreciseLocationAddressLookup,locationType:void 0,startGettingLocation:void 0,getLocationIsError:void 0,isGettingLocation:void 0},gg=De({name:ie.address,initialState:df,reducers:{addAddress:(t,{payload:e})=>({...t,address:e}),addLocation:(t,{payload:e})=>({...t,location:e,getLocationIsError:!1}),removeAddress:({address:t,...e})=>e,setStartGettingLocation:(t,{payload:e})=>({...t,highAccuracyPurposeKey:e??df.highAccuracyPurposeKey,startGettingLocation:!0,getLocationIsError:!1}),setGetLocationIsError:(t,{payload:e})=>({...t,getLocationIsError:e,...e&&{startGettingLocation:!1}}),setIsGettingLocation:(t,{payload:e})=>({...t,isGettingLocation:e,...e&&{startGettingLocation:!1,getLocationIsError:!1}}),setLocationType:(t,{payload:{locationType:e}})=>({...t,locationType:e})}});gg.actions;const My=["address","locationType"],ky={name:"AddressModule",slug:nt.address,reduxConfigs:[{key:ie.address,migrations:by,persistVersion:0,slice:gg,persistWhitelist:My}]},By=`The package 'react-native-salesforce-messaging-in-app' doesn't seem to be linked. Make sure: `+ue.select({ios:`- You have run 'pod install' `,default:""})+`- You rebuilt the app after installing the package - You are not using Expo Go -`,Py=global.__turboModuleProxy!=null,vg=Py?require("./NativeSalesforceMessagingInApp").default:Pv.SalesforceMessagingInApp,P0=vg??new Proxy({},{get:()=>{throw new Error(Ty)}}),cf=new w0(vg),Ry=({developerName:t,organizationId:e,url:n})=>P0.createCoreClient(n,e,t),Fy=t=>P0.createConversationClient(t??null),gg=t=>P0.sendMessage(t),ky=({developerName:t,organizationId:e,url:n,conversationId:r})=>{const[i,a]=b.useState(!1),[s,o]=b.useState(r),l=b.useRef(null),u=b.useRef(null),[c,A]=b.useState([]);return b.useEffect(()=>(t&&e&&n&&Ry({developerName:t,organizationId:e,url:n}).then(()=>{l.current&&(l.current.remove(),l.current=null),u.current&&(u.current.remove(),u.current=null),A([]),l.current=cf.addListener("onNewMessage",d=>{A(f=>[...f,d])}),u.current=cf.addListener("onUpdatedMessage",d=>{A(f=>f.map(p=>p.entryId===d.entryId?d:p))}),Fy(r??s).then(d=>{o(d),a(!0)})}),()=>{var d,f;(d=l.current)==null||d.remove(),l.current=null,(f=u.current)==null||f.remove(),u.current=null}),[r,t,e,n]),{ready:i,messages:c,conversationId:s}},My=us(px),df=us(vx);var By={NODE_ENV:'"production"'};function _t(){return!!By.JEST_WORKER_ID}function Qa(){return(!global.nativeCallSyncHook||!!global.__REMOTEDEV__)&&!global.RN$Bridgeless}function Nt(){return ue.OS==="web"}function Ny(){return ue.OS==="android"}function Gy(){return ue.OS==="windows"}function Ke(){return _t()||Qa()||Nt()||Gy()}function vn(){return!!global._IS_FABRIC}function ea(){return typeof window<"u"}function yo(){return Nt()?ea()?!window.matchMedia("(prefers-reduced-motion: no-preference)").matches:!1:!!global._REANIMATED_IS_REDUCED_MOTION}function Io(t){"worklet";return typeof t=="function"&&!!t.__workletHash}let je=function(t){return t[t.ACCELEROMETER=1]="ACCELEROMETER",t[t.GYROSCOPE=2]="GYROSCOPE",t[t.GRAVITY=3]="GRAVITY",t[t.MAGNETIC_FIELD=4]="MAGNETIC_FIELD",t[t.ROTATION=5]="ROTATION",t}({}),mg=function(t){return t[t.XArbitraryZVertical=0]="XArbitraryZVertical",t[t.XArbitraryCorrectedZVertical=1]="XArbitraryCorrectedZVertical",t[t.XMagneticNorthZVertical=2]="XMagneticNorthZVertical",t[t.XTrueNorthZVertical=3]="XTrueNorthZVertical",t[t.Auto=4]="Auto",t}({}),qr=function(t){return t[t.ROTATION_0=0]="ROTATION_0",t[t.ROTATION_90=90]="ROTATION_90",t[t.ROTATION_180=180]="ROTATION_180",t[t.ROTATION_270=270]="ROTATION_270",t}({}),Cg=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.OPENING=1]="OPENING",t[t.OPEN=2]="OPEN",t[t.CLOSING=3]="CLOSING",t[t.CLOSED=4]="CLOSED",t}({}),Cr=function(t){return t.System="system",t.Always="always",t.Never="never",t}({});function Eg(t){return setTimeout(()=>t(performance.now()),0)}function xs(t,e,n){return e=Ly(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ly(t){var e=Vy(t,"string");return typeof e=="symbol"?e:e+""}function Vy(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}const Hy=_t()||!globalThis.requestAnimationFrame?Eg:globalThis.requestAnimationFrame;class Uy{constructor(){xs(this,"nextSensorId",0),xs(this,"sensors",new Map),xs(this,"platform",void 0),xs(this,"getSensorCallback",(e,n,r)=>{switch(n){case je.ACCELEROMETER:case je.GRAVITY:return()=>{let{x:i,y:a,z:s}=e;this.platform===ur.WEB_ANDROID&&([i,a,s]=[-i,-a,-s]),r({x:i,y:a,z:s,interfaceOrientation:0})};case je.GYROSCOPE:case je.MAGNETIC_FIELD:return()=>{const{x:i,y:a,z:s}=e;r({x:i,y:a,z:s,interfaceOrientation:0})};case je.ROTATION:return()=>{let[i,a,s,o]=e.quaternion;this.platform===ur.WEB_ANDROID&&([s,o]=[o,-s]);const l=-Math.atan2(2*(s*o+i*a),i*i-a*a-s*s+o*o),u=Math.sin(-2*(a*o-i*s)),c=-Math.atan2(2*(a*s+i*o),i*i+a*a-s*s-o*o);r({qw:i,qx:a,qy:s,qz:o,yaw:l,pitch:u,roll:c,interfaceOrientation:0})}}})}makeShareableClone(){throw new Error("[Reanimated] makeShareableClone should never be called in JSReanimated.")}scheduleOnUI(e){Hy(e)}createWorkletRuntime(e,n){throw new Error("[Reanimated] createWorkletRuntime is not available in JSReanimated.")}scheduleOnRuntime(){throw new Error("[Reanimated] scheduleOnRuntime is not available in JSReanimated.")}registerEventHandler(e,n,r){throw new Error("[Reanimated] registerEventHandler is not available in JSReanimated.")}unregisterEventHandler(e){throw new Error("[Reanimated] unregisterEventHandler is not available in JSReanimated.")}enableLayoutAnimations(){Nt()?console.warn("[Reanimated] Layout Animations are not supported on web yet."):_t()?console.warn("[Reanimated] Layout Animations are no-ops when using Jest."):Qa()?console.warn("[Reanimated] Layout Animations are no-ops when using Chrome Debugger."):console.warn("[Reanimated] Layout Animations are not supported on this configuration.")}configureLayoutAnimationBatch(){}setShouldAnimateExitingForTag(){}registerSensor(e,n,r,i){if(!ea())return-1;if(this.platform===void 0&&this.detectPlatform(),!(this.getSensorName(e)in window))return console.warn("[Reanimated] Sensor is not available."+(Nt()&&location.protocol!=="https:"?" Make sure you use secure origin with `npx expo start --web --https`.":"")+(this.platform===ur.WEB_IOS?" For iOS web, you will also have to also grant permission in the browser: https://dev.to/li/how-to-requestpermission-for-devicemotion-and-deviceorientation-events-in-ios-13-46g2.":"")),-1;this.platform===void 0&&this.detectPlatform();const a=this.initializeSensor(e,n);return a.addEventListener("reading",this.getSensorCallback(a,e,i)),a.start(),this.sensors.set(this.nextSensorId,a),this.nextSensorId++}unregisterSensor(e){const n=this.sensors.get(e);n!==void 0&&(n.stop(),this.sensors.delete(e))}subscribeForKeyboardEvents(e){return Nt()?console.warn("[Reanimated] useAnimatedKeyboard is not available on web yet."):_t()?console.warn("[Reanimated] useAnimatedKeyboard is not available when using Jest."):Qa()?console.warn("[Reanimated] useAnimatedKeyboard is not available when using Chrome Debugger."):console.warn("[Reanimated] useAnimatedKeyboard is not available on this configuration."),-1}unsubscribeFromKeyboardEvents(e){}initializeSensor(e,n){const r=n<=0?{referenceFrame:"device"}:{frequency:1e3/n};switch(e){case je.ACCELEROMETER:return new window.Accelerometer(r);case je.GYROSCOPE:return new window.Gyroscope(r);case je.GRAVITY:return new window.GravitySensor(r);case je.MAGNETIC_FIELD:return new window.Magnetometer(r);case je.ROTATION:return new window.AbsoluteOrientationSensor(r)}}getSensorName(e){switch(e){case je.ACCELEROMETER:return"Accelerometer";case je.GRAVITY:return"GravitySensor";case je.GYROSCOPE:return"Gyroscope";case je.MAGNETIC_FIELD:return"Magnetometer";case je.ROTATION:return"AbsoluteOrientationSensor"}}detectPlatform(){const e=navigator.userAgent||navigator.vendor||window.opera;e===void 0?this.platform=ur.UNKNOWN:/iPad|iPhone|iPod/.test(e)?this.platform=ur.WEB_IOS:/android/i.test(e)?this.platform=ur.WEB_ANDROID:this.platform=ur.WEB}getViewProp(e,n,r,i){throw new Error("[Reanimated] getViewProp is not available in JSReanimated.")}configureProps(){throw new Error("[Reanimated] configureProps is not available in JSReanimated.")}executeOnUIRuntimeSync(e){throw new Error("[Reanimated] `executeOnUIRuntimeSync` is not available in JSReanimated.")}}var ur=function(t){return t.WEB_IOS="web iOS",t.WEB_ANDROID="web Android",t.WEB="web",t.UNKNOWN="unknown",t}(ur||{});const Ct={UI_THREAD_PROPS_WHITELIST:{opacity:!0,transform:!0,backgroundColor:!0,borderRightColor:!0,borderBottomColor:!0,borderColor:!0,borderEndColor:!0,borderLeftColor:!0,borderStartColor:!0,borderTopColor:!0,shadowOpacity:!0,shadowRadius:!0,scaleX:!0,scaleY:!0,translateX:!0,translateY:!0},NATIVE_THREAD_PROPS_WHITELIST:{borderBottomWidth:!0,borderEndWidth:!0,borderLeftWidth:!0,borderRightWidth:!0,borderStartWidth:!0,borderTopWidth:!0,borderWidth:!0,bottom:!0,flex:!0,flexGrow:!0,flexShrink:!0,height:!0,left:!0,margin:!0,marginBottom:!0,marginEnd:!0,marginHorizontal:!0,marginLeft:!0,marginRight:!0,marginStart:!0,marginTop:!0,marginVertical:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,padding:!0,paddingBottom:!0,paddingEnd:!0,paddingHorizontal:!0,paddingLeft:!0,paddingRight:!0,paddingStart:!0,paddingTop:!0,paddingVertical:!0,right:!0,start:!0,top:!0,width:!0,zIndex:!0,borderBottomEndRadius:!0,borderBottomLeftRadius:!0,borderBottomRightRadius:!0,borderBottomStartRadius:!0,borderRadius:!0,borderTopEndRadius:!0,borderTopLeftRadius:!0,borderTopRightRadius:!0,borderTopStartRadius:!0,elevation:!0,fontSize:!0,lineHeight:!0,textShadowRadius:!0,textShadowOffset:!0,letterSpacing:!0,aspectRatio:!0,columnGap:!0,end:!0,flexBasis:!0,gap:!0,rowGap:!0,display:!0,backfaceVisibility:!0,overflow:!0,resizeMode:!0,fontStyle:!0,fontWeight:!0,textAlign:!0,textDecorationLine:!0,fontFamily:!0,textAlignVertical:!0,fontVariant:!0,textDecorationStyle:!0,textTransform:!0,writingDirection:!0,alignContent:!0,alignItems:!0,alignSelf:!0,direction:!0,flexDirection:!0,flexWrap:!0,justifyContent:!0,position:!0,color:!0,tintColor:!0,shadowColor:!0,placeholderTextColor:!0}};let R0,xd,yd;if(Nt()){try{R0=My.default}catch{}try{xd=df.createTransformValue}catch{}try{yd=df.createTextShadowValue}catch{}}const Xe=new Uy;global._makeShareableClone=()=>{throw new Error("[Reanimated] _makeShareableClone should never be called in JSReanimated.")};global._scheduleOnJS=()=>{throw new Error("[Reanimated] _scheduleOnJS should never be called in JSReanimated.")};global._scheduleOnRuntime=()=>{throw new Error("[Reanimated] _scheduleOnRuntime should never be called in JSReanimated.")};const el=(t,e,n)=>{if(e._component){const r=e._component,[i]=Object.keys(t).reduce((a,s)=>{const o=t[s],l=typeof o=="function"?1:0;return a[l][s]=o,a},[{},{}]);if(typeof r.setNativeProps=="function")Wy(r,i,n);else if(R0!==void 0&&r.style!==void 0)Xy(r,i,n);else if(Object.keys(r.props).length>0)Object.keys(r.props).forEach(a=>{if(!i[a])return;const s=a.replace(/[A-Z]/g,o=>"-"+o.toLowerCase());r._touchableNode.setAttribute(s,i[a])});else{const a="className"in r?r==null?void 0:r.className:"";console.warn(`[Reanimated] It's not possible to manipulate the component ${a}`)}}},Wy=(t,e,n)=>{var r;if(n){var i;const o={};for(const l in e)Yy(l)&&(o[l]=e[l]);(i=t.setNativeProps)===null||i===void 0||i.call(t,o)}const s={...t.previousStyle?t.previousStyle:{},...e};t.previousStyle=s,(r=t.setNativeProps)===null||r===void 0||r.call(t,{style:s})},Xy=(t,e,n)=>{const i={...t.previousStyle?t.previousStyle:{},...e};t.previousStyle=i;const a=R0(i);Array.isArray(a.transform)&&xd!==void 0&&(a.transform=xd(a.transform)),yd!==void 0&&(a.textShadowColor||a.textShadowRadius||a.textShadowOffset)&&(a.textShadow=yd({textShadowColor:a.textShadowColor,textShadowOffset:a.textShadowOffset,textShadowRadius:a.textShadowRadius}));for(const s in a)n?t.setAttribute(s,a[s]):t.style[s]=a[s]};function Yy(t){return!!Ct.NATIVE_THREAD_PROPS_WHITELIST[t]}const zy=new Map;function Ky(t){var e;const n=(e=t.stack)===null||e===void 0||(e=e.split(` -`))===null||e===void 0?void 0:e[0];if(n){const r=/@([^@]+):(\d+):(\d+)/.exec(n);if(r){const[,i,a,s]=r;return[i,Number(a),Number(s)]}}return["unknown",0,0]}function $y(t){const e=t.match(/worklet_(\d+):(\d+):(\d+)/g);let n=t;return e==null||e.forEach(r=>{const[,i,a,s]=r.split(/:|_/).map(Number),o=zy.get(i);if(!o)return;const[l,u,c]=o,[A,d,f]=Ky(l),p=a+d+u,h=s+f+c;n=n.replace(r,`${A}:${p}:${h}`)}),n}function qy({message:t,stack:e}){const n=new Error;n.message=t,n.stack=e?$y(e):void 0,n.name="ReanimatedError",n.jsEngine="reanimated",global.ErrorUtils.reportFatalError(n)}const xg=Ke(),yg=Symbol("shareable flag"),Bu=xg?null:new WeakMap,Qt=xg?{set(){},get(){return null}}:{set(t,e){Bu.set(t,e||yg)},get:Bu.get.bind(Bu)},F0=Ke(),jy="REANIMATED_MAGIC_KEY";function Ig(t){"worklet";return jy in t}function Qy(t){return Object.getPrototypeOf(t)===Object.prototype}const Zy={__init:()=>{"worklet";return new Proxy({},{get:(t,e)=>{if(e==="_isReanimatedSharedValue"||e==="__remoteFunction")return!1;throw new Error(`[Reanimated] Trying to access property \`${String(e)}\` of an object which cannot be sent to the UI runtime.`)},set:()=>{throw new Error("[Reanimated] Trying to write to an object which cannot be sent to the UI runtime.")}})}},Jy=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array","DataView"],Af=30;let Nu;function He(t,e=!1,n=0){if(F0)return t;if(n>=Af){if(n===Af)Nu=t;else if(t===Nu)throw new Error("[Reanimated] Trying to convert a cyclic object to a shareable. This is not supported.")}else Nu=void 0;const r=typeof t,i=r==="object",a=r==="function";if((i||a)&&t!==null){const s=Qt.get(t);if(s===yg)return t;if(s!==void 0)return s;{let o;if(Array.isArray(t))o=t.map(u=>He(u,e,n+1));else if(a&&!Io(t))o=t;else if(Ig(t))o=t;else if(Qy(t)||a){o={},Io(t)&&(t.__stackDetails&&delete t.__stackDetails,o.__initData=He(t.__initData,!0,n+1));for(const[u,c]of Object.entries(t))u==="__initData"&&o.__initData!==void 0||(o[u]=He(c,e,n+1))}else if(t instanceof RegExp){const u=t.source,c=t.flags,A=He({__init:()=>{"worklet";return new RegExp(u,c)}});return Qt.set(t,A),A}else if(t instanceof Error){const{name:u,message:c,stack:A}=t,d=He({__init:()=>{"worklet";const f=new Error;return f.name=u,f.message=c,f.stack=A,f}});return Qt.set(t,d),d}else if(t instanceof ArrayBuffer)o=t;else if(ArrayBuffer.isView(t)){const u=t.buffer,c=t.constructor.name,A=He({__init:()=>{"worklet";if(!Jy.includes(c))throw new Error(`[Reanimated] Invalid array view name \`${c}\`.`);const d=global[c];if(d===void 0)throw new Error(`[Reanimated] Constructor for \`${c}\` not found.`);return new d(u)}});return Qt.set(t,A),A}else{const u=He(Zy);return Qt.set(t,u),u}const l=Xe.makeShareableClone(o,e,t);return Qt.set(t,l),Qt.set(l),l}}return Xe.makeShareableClone(t,e,void 0)}function eI(t){"worklet";return!!t.__remoteFunction}function k0(t){"worklet";if(F0)return t;function e(n){if(typeof n=="object"&&n!==null||typeof n=="function"){if(Ig(n))return global._makeShareableClone(n,void 0);if(eI(n))return n.__remoteFunction;if(Array.isArray(n))return global._makeShareableClone(n.map(e),void 0);const r={};for(const[i,a]of Object.entries(n))r[i]=e(a);return global._makeShareableClone(r,n)}return global._makeShareableClone(n,void 0)}return e(t)}function tI(t){return t}function nI(t){if(Qt.get(t))return t;const e=He({__init:()=>{"worklet";return t}});return Qt.set(t,e),t}const tl=F0?tI:nI,rI=_t(),wg=Ke();let ys=[];function iI(){"worklet";let t=[],e=!1;global.queueMicrotask=n=>{t.push(n)},global.__callMicrotasks=()=>{if(!e)try{e=!0;for(let n=0;n<t.length;n+=1)t[n]();t=[],global._maybeFlushUIUpdatesQueue()}finally{e=!1}}}function aI(){"worklet";global.__callMicrotasks()}const M0=wg?()=>{}:aI;function Gn(t){"worklet";return(...e)=>{if(rI){Xe.scheduleOnUI(He(()=>{"worklet";t(...e)}));return}ys.push([t,e]),ys.length===1&&queueMicrotask(()=>{const n=ys;ys=[],Xe.scheduleOnUI(He(()=>{"worklet";n.forEach(([r,i])=>{r(...i)}),M0()}))})}}function Sg(t){return(...e)=>Xe.executeOnUIRuntimeSync(He(()=>{"worklet";const n=t(...e);return k0(n)}))}function B0(t){"worklet";return(...e)=>{Xe.scheduleOnUI(He(()=>{"worklet";t(...e)}))}}function sI(t,...e){t(...e)}function Fn(t){"worklet";return wg||!_WORKLET?(...e)=>queueMicrotask(e.length?()=>t(...e):t):Io(t)?(...e)=>Fn(sI)(t,...e):(t.__remoteFunction&&(t=t.__remoteFunction),(...e)=>{global._scheduleOnJS(t,e.length>0?k0(e):void 0)})}const oI=_t(),lI=Ke(),uI=Qa();function cI(t,...e){"worklet";try{return t(...e)}catch(n){if(global.__ErrorUtils)global.__ErrorUtils.reportFatalError(n);else throw n}}function bg(){"worklet";global.__callGuardDEV=cI,global.__ErrorUtils={reportFatalError:t=>{Fn(qy)({message:t.message,stack:t.stack})}}}const hi={...console};function _g(){"worklet";uI||(global.console={assert:Fn(hi.assert),debug:Fn(hi.debug),log:Fn(hi.log),warn:Fn(hi.warn),error:Fn(hi.error),info:Fn(hi.info)})}function dI(){"worklet";const t=global.requestAnimationFrame;let e=[],n=-1;global.__flushAnimationFrame=r=>{const i=e;e=[],i.forEach(a=>a(r)),M0()},global.requestAnimationFrame=r=>(e.push(r),e.length===1&&t(i=>{n>=i||(n=i,global.__frameTimestamp=i,global.__flushAnimationFrame(i),global.__frameTimestamp=void 0)}),-1)}function AI(){oI&&(globalThis.requestAnimationFrame=Eg),B0(()=>{"worklet";bg(),_g(),lI||(iI(),dI())})()}function wo(t,e,n=!1){"worklet";const r=t._animation;if(r&&(r.cancelled=!0,t._animation=null),typeof e=="function"||e!==null&&typeof e=="object"&&e.onFrame!==void 0){const i=typeof e=="function"?e():e;if(t._value===i.current&&!i.isHigherOrder&&!n){i.callback&&i.callback(!0);return}const a=l=>{i.onStart(i,t.value,l,r)},s=global.__frameTimestamp||global._getAnimationTimestamp();a(s);const o=l=>{const u=l<(i.timestamp||0)?i.timestamp:l;if(i.cancelled){i.callback&&i.callback(!1);return}const c=i.onFrame(i,u);i.finished=!0,i.timestamp=u,t._value=i.current,c?i.callback&&i.callback(!0):requestAnimationFrame(o)};t._animation=i,o(s)}else{if(t._value===e&&!n)return;t._value=e}}const Zn=Ke();function fI(t){"worklet";const e=new Map;let n=t;const r={set value(i){wo(r,i)},get value(){return n},set _value(i){n=i,e.forEach(a=>{a(i)})},get _value(){return n},modify:(i,a=!0)=>{wo(r,i!==void 0?i(n):n,a)},addListener:(i,a)=>{e.set(i,a)},removeListener:i=>{e.delete(i)},_animation:null,_isReanimatedSharedValue:!0};return r}function Xn(t){let e=t;const n=He({__init:()=>{"worklet";return fI(t)}}),r=Zn?new Map:void 0,i={set value(a){Zn?wo(i,a):Gn(()=>{i.value=a})()},get value(){return Zn?e:Sg(s=>s.value)(i)},set _value(a){if(!Zn)throw new Error("[Reanimated] Setting `_value` directly is only possible on the UI runtime. Perhaps you want to assign to `value` instead?");e=a,r.forEach(s=>{s(a)})},get _value(){if(Zn)return e;throw new Error("[Reanimated] Reading from `_value` directly is only possible on the UI runtime. Perhaps you passed an Animated Style to a non-animated component?")},modify:(a,s=!0)=>{Zn?wo(i,a!==void 0?a(i.value):i.value,s):Gn(()=>{i.modify(a,s)})()},addListener:(a,s)=>{if(!Zn)throw new Error("[Reanimated] Adding listeners is only possible on the UI runtime.");r.set(a,s)},removeListener:a=>{if(!Zn)throw new Error("[Reanimated] Removing listeners is only possible on the UI runtime.");r.delete(a)},_isReanimatedSharedValue:!0};return Qt.set(i,n),i}function da(t,e,n){return e=hI(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hI(t){var e=pI(t,"string");return typeof e=="symbol"?e:e+""}function pI(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function vI(t){return t===je.ROTATION?Xn({qw:0,qx:0,qy:0,qz:0,yaw:0,pitch:0,roll:0,interfaceOrientation:0}):Xn({x:0,y:0,z:0,interfaceOrientation:0})}class gI{constructor(e,n){da(this,"listenersNumber",0),da(this,"sensorId",null),da(this,"sensorType",void 0),da(this,"data",void 0),da(this,"config",void 0),this.sensorType=e,this.config=n,this.data=vI(e)}register(e){const n=this.config,r=this.sensorType;return this.sensorId=Xe.registerSensor(r,n.interval==="auto"?-1:n.interval,n.iosReferenceFrame,e),this.sensorId!==-1}isRunning(){return this.sensorId!==-1&&this.sensorId!==null}isAvailable(){return this.sensorId!==-1}getSharedValue(){return this.data}unregister(){this.sensorId!==null&&this.sensorId!==-1&&Xe.unregisterSensor(this.sensorId),this.sensorId=null}}function mI(t,e,n){return e=CI(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function CI(t){var e=EI(t,"string");return typeof e=="symbol"?e:e+""}function EI(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class xI{constructor(){mI(this,"nativeSensors",new Map)}getSensorId(e,n){return e*100+n.iosReferenceFrame*10+Number(n.adjustToInterfaceOrientation)}initializeSensor(e,n){const r=this.getSensorId(e,n);if(!this.nativeSensors.has(r)){const a=new gI(e,n);this.nativeSensors.set(r,a)}return this.nativeSensors.get(r).getSharedValue()}registerSensor(e,n,r){const i=this.getSensorId(e,n);if(!this.nativeSensors.has(i))return-1;const a=this.nativeSensors.get(i);return a&&a.isAvailable()&&(a.isRunning()||a.register(r))?(a.listenersNumber++,i):-1}unregisterSensor(e){if(this.nativeSensors.has(e)){const n=this.nativeSensors.get(e);n&&n.isRunning()&&(n.listenersNumber--,n.listenersNumber===0&&n.unregister())}}}function Er(t){"worklet";return(t==null?void 0:t._isReanimatedSharedValue)===!0}const yI=_t();function II(){"worklet";const t=new Map;let e=[],n=!1,r=!1;function i(){const l=new Map;t.forEach(d=>{if(d.outputs)for(const f of d.outputs){const p=l.get(f);p===void 0?l.set(f,[d]):p.push(d)}});const u=new Set,c=[];function A(d){u.add(d);for(const f of d.inputs){const p=l.get(f);if(p)for(const h of p)u.has(h)||A(h)}c.push(d)}t.forEach(d=>{u.has(d)||A(d)}),e=c}function a(){if(n=!1,!r)try{r=!0,t.size!==e.length&&i();for(const l of e)l.dirty&&(l.dirty=!1,l.worklet())}finally{r=!1}}function s(){yI?a():n||(r?requestAnimationFrame(a):queueMicrotask(a),n=!0)}function o(l,u){if(Array.isArray(l))for(const c of l)c&&o(c,u);else if(Er(l))u.push(l);else if(Object.getPrototypeOf(l)===Object.prototype)for(const c of Object.values(l))c&&o(c,u);return u}return{start:(l,u,c,A)=>{const d={id:l,dirty:!0,worklet:u,inputs:o(c,[]),outputs:A};t.set(d.id,d),e=[];for(const f of d.inputs)f.addListener(d.id,()=>{d.dirty=!0,s()});s()},stop:l=>{const u=t.get(l);if(u){t.delete(u.id),e=[];for(const c of u.inputs)c.removeListener(u.id)}}}}let wI=9999;function ds(t,e=[],n=[]){const r=wI+=1;return Gn(()=>{let i=global.__mapperRegistry;i===void 0&&(i=global.__mapperRegistry=II()),i.start(r,t,e,n)})(),r}function Li(t){Gn(()=>{const e=global.__mapperRegistry;e==null||e.stop(t)})()}Ke();function SI(t,e){return Xe.createWorkletRuntime(t,He(()=>{"worklet";bg(),_g(),e==null||e()}))}function bI(t,e){"worklet";return _WORKLET?(...n)=>global._scheduleOnRuntime(t,k0(()=>{"worklet";e(...n)})):(...n)=>Xe.scheduleOnRuntime(t,He(()=>{"worklet";e(...n)}))}const Dg=Ke(),Og=()=>!0,_I=Og;Dg&&(global._WORKLET=!1,global._log=console.log,global._getAnimationTimestamp=()=>performance.now());function DI(t,e,n){if(vn()&&!n)throw new Error("[Reanimated] Function `getViewProp` requires a component to be passed as an argument on Fabric.");return new Promise((r,i)=>Xe.getViewProp(t,e,n,a=>{typeof a=="string"&&a.substr(0,6)==="error:"?i(a):r(a)}))}function N0(){return global.__sensorContainer||(global.__sensorContainer=new xI),global.__sensorContainer}function Gu(t,e,n=-1){function r(i,a){"worklet";global.__frameTimestamp=i,t(a),global.__flushAnimationFrame(i),global.__frameTimestamp=void 0}return Xe.registerEventHandler(He(r),e,n)}function ff(t){return Xe.unregisterEventHandler(t)}function hf(t,e){function n(r,i){"worklet";const a=global._getAnimationTimestamp();global.__frameTimestamp=a,t(r,i),global.__flushAnimationFrame(a),global.__frameTimestamp=void 0}return Xe.subscribeForKeyboardEvents(He(n),e.isStatusBarTranslucentAndroid??!1)}function OI(t){return Xe.unsubscribeFromKeyboardEvents(t)}function TI(t,e,n){return N0().registerSensor(t,e,He(n))}function pf(t,e){return N0().initializeSensor(t,e)}function PI(t){return N0().unregisterSensor(t)}Nt()||AI();let Is={enableLayoutAnimations:!1,setByUser:!1};function Tg(t,e=!0){e?(Is={enableLayoutAnimations:t,setByUser:!0},Xe.enableLayoutAnimations(t)):!Is.setByUser&&Is.enableLayoutAnimations!==t&&(Is.enableLayoutAnimations=t,Xe.enableLayoutAnimations(t))}function RI(t){Xe.configureLayoutAnimationBatch(t)}function FI(t,e){Xe.setShouldAnimateExitingForTag(t,e)}function kI(t,e){Dg||Xe.configureProps(t,e)}const $e="[-+]?\\d*\\.?\\d+",Jn=$e+"%";function Lu(...t){return"\\(\\s*("+t.join(")\\s*,?\\s*(")+")\\s*\\)"}function vf(...t){return"\\(\\s*("+t.slice(0,t.length-1).join(")\\s*,?\\s*(")+")\\s*/\\s*("+t[t.length-1]+")\\s*\\)"}function gf(...t){return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}const In={rgb:new RegExp("rgb"+Lu($e,$e,$e)),rgba:new RegExp("rgba("+gf($e,$e,$e,$e)+"|"+vf($e,$e,$e,$e)+")"),hsl:new RegExp("hsl"+Lu($e,Jn,Jn)),hsla:new RegExp("hsla("+gf($e,Jn,Jn,$e)+"|"+vf($e,Jn,Jn,$e)+")"),hwb:new RegExp("hwb"+Lu($e,Jn,Jn)),hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex4:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/};function Pi(t,e,n){"worklet";return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Vu(t,e,n){"worklet";const r=n<.5?n*(1+e):n+e-n*e,i=2*n-r,a=Pi(i,r,t+1/3),s=Pi(i,r,t),o=Pi(i,r,t-1/3);return Math.round(a*255)<<24|Math.round(s*255)<<16|Math.round(o*255)<<8}function MI(t,e,n){"worklet";if(e+n>=1){const s=Math.round(e*255/(e+n));return s<<24|s<<16|s<<8}const r=Pi(0,1,t+1/3)*(1-e-n)+e,i=Pi(0,1,t)*(1-e-n)+e,a=Pi(0,1,t-1/3)*(1-e-n)+e;return Math.round(r*255)<<24|Math.round(i*255)<<16|Math.round(a*255)<<8}function wn(t){"worklet";const e=Number.parseInt(t,10);return e<0?0:e>255?255:e}function ws(t){"worklet";return(Number.parseFloat(t)%360+360)%360/360}function Ss(t){"worklet";const e=Number.parseFloat(t);return e<0?0:e>1?255:Math.round(e*255)}function er(t){"worklet";const e=Number.parseFloat(t);return e<0?0:e>100?1:e/100}const mf=tl({transparent:0,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,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,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,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}),BI=tl(["backgroundColor","borderBottomColor","borderColor","borderLeftColor","borderRightColor","borderTopColor","borderStartColor","borderEndColor","borderBlockColor","borderBlockEndColor","borderBlockStartColor","color","shadowColor","textDecorationColor","tintColor","textShadowColor","overlayColor"]);function NI(t){"worklet";if(typeof t=="number")return t>>>0===t&&t>=0&&t<=4294967295?t:null;if(typeof t!="string")return null;let e;return(e=In.hex6.exec(t))?Number.parseInt(e[1]+"ff",16)>>>0:mf[t]!==void 0?mf[t]:(e=In.rgb.exec(t))?(wn(e[1])<<24|wn(e[2])<<16|wn(e[3])<<8|255)>>>0:(e=In.rgba.exec(t))?e[6]!==void 0?(wn(e[6])<<24|wn(e[7])<<16|wn(e[8])<<8|Ss(e[9]))>>>0:(wn(e[2])<<24|wn(e[3])<<16|wn(e[4])<<8|Ss(e[5]))>>>0:(e=In.hex3.exec(t))?Number.parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+"ff",16)>>>0:(e=In.hex8.exec(t))?Number.parseInt(e[1],16)>>>0:(e=In.hex4.exec(t))?Number.parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+e[4]+e[4],16)>>>0:(e=In.hsl.exec(t))?(Vu(ws(e[1]),er(e[2]),er(e[3]))|255)>>>0:(e=In.hsla.exec(t))?e[6]!==void 0?(Vu(ws(e[6]),er(e[7]),er(e[8]))|Ss(e[9]))>>>0:(Vu(ws(e[2]),er(e[3]),er(e[4]))|Ss(e[5]))>>>0:(e=In.hwb.exec(t))?(MI(ws(e[1]),er(e[2]),er(e[3]))|255)>>>0:null}const Pg=t=>{"worklet";return(t>>24&255)/255},Rg=t=>{"worklet";return t>>16&255},Fg=t=>{"worklet";return t>>8&255},kg=t=>{"worklet";return t&255},GI=Nt(),Mg=Ny(),Id=(t,e,n,r=1)=>{"worklet";if(GI||!_WORKLET)return`rgba(${t}, ${e}, ${n}, ${r})`;const i=Math.round(r*255)*(1<<24)+Math.round(t)*65536+Math.round(e)*256+Math.round(n);return Mg?i<1<<31>>>0?i:i-4294967296:i};function LI(t,e,n){"worklet";const r=Math.max(t,e,n),i=Math.min(t,e,n),a=r-i,s=r===0?0:a/r,o=r/255;let l=0;switch(r){case i:break;case t:l=e-n+a*(e<n?6:0),l/=6*a;break;case e:l=n-t+a*2,l/=6*a;break;case n:l=t-e+a*4,l/=6*a;break}return{h:l,s,v:o}}function VI(t,e,n){"worklet";let r,i,a;const s=Math.floor(t*6),o=t*6-s,l=n*(1-e),u=n*(1-o*e),c=n*(1-(1-o)*e);switch(s%6){case 0:[r,i,a]=[n,c,l];break;case 1:[r,i,a]=[u,n,l];break;case 2:[r,i,a]=[l,n,c];break;case 3:[r,i,a]=[l,u,n];break;case 4:[r,i,a]=[c,l,n];break;case 5:[r,i,a]=[n,l,u];break}return{r:Math.round(r*255),g:Math.round(i*255),b:Math.round(a*255)}}const HI=(t,e,n,r)=>{"worklet";const{r:i,g:a,b:s}=VI(t,e,n);return Id(i,a,s,r)};function G0(t){"worklet";if(t==null||typeof t=="number")return t;let e=NI(t);if(e!=null)return typeof e!="number"?null:(e=(e<<24|e>>>8)>>>0,e)}function wd(t){"worklet";return typeof t!="string"?!1:G0(t)!=null}function nl(t){"worklet";let e=G0(t);if(e!=null)return typeof e!="number"?null:(Mg&&(e=e|0),e)}function UI(t){"worklet";for(const e in t)BI.includes(e)&&(t[e]=nl(t[e]))}function Ma(t){"worklet";const e=G0(t),n=(e>>>24)/255,r=(e<<8>>>24)/255,i=(e<<16>>>24)/255,a=(e<<24>>>24)/255;return[r,i,a,n]}function Cf(t){"worklet";return`rgba(${Math.round(t[0]*255)}, ${Math.round(t[1]*255)}, ${Math.round(t[2]*255)}, ${t[3]})`}function bs(t,e=2.2){"worklet";const n=[];for(let r=0;r<3;++r)n.push(Math.pow(t[r],e));return n.push(t[3]),n}function Ef(t,e=2.2){"worklet";const n=[];for(let r=0;r<3;++r)n.push(Math.pow(t[r],1/e));return n.push(t[3]),n}let Ln;Ke()?Ln=(t,e,n,r)=>{"worklet";n&&n.items.forEach((i,a)=>{el(e,i,r)})}:Ln=(t,e)=>{"worklet";UI(e),global.UpdatePropsManager.update(t,e)};const xf=(t,e,n,r,i)=>{i.forEach(a=>{a(e)}),r.current.value={...r.current.value,...e},Ln(t,e,n)},WI=vn()?()=>{"worklet";const t=[];return{update(e,n){e.value.forEach(r=>{t.push({shadowNodeWrapper:r.shadowNodeWrapper,updates:n}),t.length===1&&queueMicrotask(this.flush)})},flush(){global._updatePropsFabric(t),t.length=0}}}:()=>{"worklet";const t=[];return{update(e,n){e.value.forEach(r=>{t.push({tag:r.tag,name:r.name||"RCTView",updates:n}),t.length===1&&queueMicrotask(this.flush)})},flush(){global._updatePropsPaper(t),t.length=0}}};if(Ke()){const t=()=>{if(!_t())throw new Error("[Reanimated] `UpdatePropsManager` is not available on non-native platform.")};global.UpdatePropsManager=new Proxy({},{get:t,set:()=>(t(),!1)})}else B0(()=>{"worklet";global.UpdatePropsManager=WI()})();function rl(t){"worklet";return Array.isArray(t)&&t.length===16&&t.every(e=>typeof e=="number"&&!isNaN(e))}function XI(t){"worklet";return Array.isArray(t)&&t.length===4&&t.every(e=>Array.isArray(e)&&e.length===4&&e.every(n=>typeof n=="number"&&!isNaN(n)))}function L0(t){"worklet";return t.flat()}function V0(t){"worklet";return[[t[0],t[1],t[2],t[3]],[t[4],t[5],t[6],t[7]],[t[8],t[9],t[10],t[11]],[t[12],t[13],t[14],t[15]]]}function Vi(t){"worklet";return XI(t)?L0(t):t}function Aa(t,e){"worklet";return[[t[0][0]*e[0][0]+t[0][1]*e[1][0]+t[0][2]*e[2][0]+t[0][3]*e[3][0],t[0][0]*e[0][1]+t[0][1]*e[1][1]+t[0][2]*e[2][1]+t[0][3]*e[3][1],t[0][0]*e[0][2]+t[0][1]*e[1][2]+t[0][2]*e[2][2]+t[0][3]*e[3][2],t[0][0]*e[0][3]+t[0][1]*e[1][3]+t[0][2]*e[2][3]+t[0][3]*e[3][3]],[t[1][0]*e[0][0]+t[1][1]*e[1][0]+t[1][2]*e[2][0]+t[1][3]*e[3][0],t[1][0]*e[0][1]+t[1][1]*e[1][1]+t[1][2]*e[2][1]+t[1][3]*e[3][1],t[1][0]*e[0][2]+t[1][1]*e[1][2]+t[1][2]*e[2][2]+t[1][3]*e[3][2],t[1][0]*e[0][3]+t[1][1]*e[1][3]+t[1][2]*e[2][3]+t[1][3]*e[3][3]],[t[2][0]*e[0][0]+t[2][1]*e[1][0]+t[2][2]*e[2][0]+t[2][3]*e[3][0],t[2][0]*e[0][1]+t[2][1]*e[1][1]+t[2][2]*e[2][1]+t[2][3]*e[3][1],t[2][0]*e[0][2]+t[2][1]*e[1][2]+t[2][2]*e[2][2]+t[2][3]*e[3][2],t[2][0]*e[0][3]+t[2][1]*e[1][3]+t[2][2]*e[2][3]+t[2][3]*e[3][3]],[t[3][0]*e[0][0]+t[3][1]*e[1][0]+t[3][2]*e[2][0]+t[3][3]*e[3][0],t[3][0]*e[0][1]+t[3][1]*e[1][1]+t[3][2]*e[2][1]+t[3][3]*e[3][1],t[3][0]*e[0][2]+t[3][1]*e[1][2]+t[3][2]*e[2][2]+t[3][3]*e[3][2],t[3][0]*e[0][3]+t[3][1]*e[1][3]+t[3][2]*e[2][3]+t[3][3]*e[3][3]]]}function YI(t,e){"worklet";const n=rl(t),r=Vi(t),i=Vi(e),a=r.map((s,o)=>r[o]-i[o]);return n?a:V0(a)}function zI(t,e){"worklet";const n=rl(t),r=Vi(t),i=Vi(e),a=r.map((s,o)=>r[o]+i[o]);return n?a:V0(a)}function KI(t,e){"worklet";const n=rl(t),i=Vi(t).map(a=>a*e);return n?i:V0(i)}function $I(t,e="z"){"worklet";const n=Math.cos(t),r=Math.sin(t);switch(e){case"z":return[[n,r,0,0],[-r,n,0,0],[0,0,1,0],[0,0,0,1]];case"y":return[[n,0,-r,0],[0,1,0,0],[r,0,n,0],[0,0,0,1]];case"x":return[[1,0,0,0],[0,n,r,0],[0,-r,n,0],[0,0,0,1]]}}function Hu(t,e,n){"worklet";return Math.sqrt(t*t+e*e+n*n)}function yf(t){"worklet";const e=L0(t);return[[e[0],e[4],e[8],e[12]],[e[1],e[5],e[9],e[13]],[e[2],e[6],e[10],e[14]],[e[3],e[7],e[11],e[15]]]}function kt(t,e){"worklet";return t.reduce((n,r,i)=>n+t[i]*e[i],0)}function pi(t,e){"worklet";const n=kt(t,e)/kt(t,t);return t.map(r=>r*n)}function vi(t,e){"worklet";return t.map((n,r)=>t[r]-e[r])}function qI(t,e){"worklet";return t.map(n=>n*e)}function jI(t){"worklet";const[e,n,r,i]=t,a=e,s=vi(n,pi(a,n)),o=vi(vi(r,pi(a,r)),pi(s,r)),l=vi(vi(vi(i,pi(a,i)),pi(s,i)),pi(o,i)),[u,c,A,d]=[a,s,o,l].map(h=>qI(h,1/Math.sqrt(kt(h,h)))),f=[[u[0],c[0],A[0],d[0]],[u[1],c[1],A[1],d[1]],[u[2],c[2],A[2],d[2]],[u[3],c[3],A[3],d[3]]],p=[[kt(u,e),kt(u,n),kt(u,r),kt(u,i)],[0,kt(c,n),kt(c,r),kt(c,i)],[0,0,kt(A,r),kt(A,i)],[0,0,0,kt(d,i)]];return{rotationMatrix:yf(f),skewMatrix:yf(p)}}function QI(t){"worklet";const e=Vi(t);if(e[15]===0)throw new Error("[Reanimated] Invalid transform matrix.");e.forEach((c,A)=>e[A]/=e[15]);const n=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[e[12],e[13],e[14],1]],r=e[15]*Hu(e[0],e[4],e[8]),i=e[15]*Hu(e[1],e[5],e[9]),a=e[15]*Hu(e[2],e[6],e[10]),s=[[r,0,0,0],[0,i,0,0],[0,0,a,0],[0,0,0,1]],o=[[e[0]/r,e[1]/r,e[2]/r,0],[e[4]/i,e[5]/i,e[6]/i,0],[e[8]/a,e[9]/a,e[10]/a,0],[0,0,0,1]],{rotationMatrix:l,skewMatrix:u}=jI(o);return{translationMatrix:n,scaleMatrix:s,rotationMatrix:l,skewMatrix:u}}function If(t){"worklet";const{scaleMatrix:e,rotationMatrix:n,translationMatrix:r,skewMatrix:i}=QI(t),a=-n[0][2],s=Math.asin(a);let o,l;return a===1||a===-1?(l=0,o=Math.atan2(a*n[0][1],a*n[0][2])):(l=Math.atan2(n[0][1],n[0][0]),o=Math.atan2(n[1][2],n[2][2])),{scaleMatrix:e,rotationMatrix:n,translationMatrix:r,skewMatrix:i,rx:o||0,ry:s||0,rz:l||0}}let Sd=!1;const ZI=yo(),JI=Ke();function H0(t){Sd=!0;const e=t();return Sd=!1,e}function Ri(t){"worklet";if(typeof t=="string"){const e=t.match(/([A-Za-z]*)(-?\d*\.?\d*)([eE][-+]?[0-9]+)?([A-Za-z%]*)/);if(!e)throw new Error("[Reanimated] Couldn't parse animation value.");const n=e[1],r=e[4],i=e[2]+(e[3]??"");return{prefix:n,suffix:r,strippedValue:parseFloat(i)}}else return{strippedValue:t}}function ei(t){"worklet";return!t||t===Cr.System?ZI:t===Cr.Always}function xr(t){"worklet";if(t)return ei(t)}function ew(t,e,n){"worklet";return zI(e,KI(YI(n,e),t))}function tw(t,e,n){"worklet";return e+t*(n-e)}function nw(t){"worklet";const e=t.onStart,n=t.onFrame;if(t.isHigherOrder){t.onStart=(h,v,E,C)=>(h.reduceMotion===void 0&&(h.reduceMotion=ei()),e(h,v,E,C));return}const r=Object.assign({},t);delete r.callback;const i=(h,v,E,C)=>{const{prefix:m,suffix:g,strippedValue:y}=Ri(v);h.__prefix=m,h.__suffix=g,h.strippedCurrent=y;const{strippedValue:x}=Ri(h.toValue);if(h.current=y,h.startValue=y,h.toValue=x,C&&C!==h){const{prefix:w,suffix:S,strippedValue:D}=Ri(C.current);C.current=D,C.__prefix=w,C.__suffix=S}e(h,y,E,C),h.current=(h.__prefix??"")+h.current+(h.__suffix??""),C&&C!==h&&(C.current=(C.__prefix??"")+C.current+(C.__suffix??""))},a=(h,v)=>{h.current=h.strippedCurrent;const E=n(h,v);return h.strippedCurrent=h.current,h.current=(h.__prefix??"")+h.current+(h.__suffix??""),E},s=["R","G","B","A"],o=(h,v,E,C)=>{let m,g,y;const x=[];wd(v)&&(g=bs(Ma(h.current)),m=bs(Ma(v)),h.toValue&&(y=bs(Ma(h.toValue)))),s.forEach((w,S)=>{h[w]=Object.assign({},r),h[w].current=g[S],h[w].toValue=y?y[S]:void 0,h[w].onStart(h[w],m[S],E,C?C[w]:void 0),x.push(h[w].current)}),h.current=Cf(Ef(x))},l=(h,v)=>{const E=bs(Ma(h.current)),C=[];let m=!0;return s.forEach((g,y)=>{h[g].current=E[y];const x=h[g].onFrame(h[g],v);m=m&&x,C.push(h[g].current)}),h.current=Cf(Ef(C)),m},u=(h,v,E,C)=>{const m=h.toValue;h.startMatrices=If(v),h.stopMatrices=If(m),h[0]=Object.assign({},r),h[0].current=0,h[0].toValue=100,h[0].onStart(h[0],0,E,C?C[0]:void 0),h.current=v},c=(h,v)=>{let E=!0;const C=h[0].onFrame(h[0],v);E=E&&C;const m=h[0].current/100,g=["translationMatrix","scaleMatrix","skewMatrix"],y=[];g.forEach((F,H)=>y.push(ew(m,h.startMatrices[F],h.stopMatrices[F])));const[x,w,S]=y,D=["x","y","z"],I=[];D.forEach((F,H)=>{const M=tw(m,h.startMatrices["r"+F],h.stopMatrices["r"+F]);I.push($I(M,F))});const[_,O,T]=I,R=Aa(_,Aa(O,T)),P=L0(Aa(Aa(w,Aa(S,R)),x));return h.current=P,E},A=(h,v,E,C)=>{v.forEach((m,g)=>{h[g]=Object.assign({},r),h[g].current=m,h[g].toValue=h.toValue[g],h[g].onStart(h[g],m,E,C?C[g]:void 0)}),h.current=v},d=(h,v)=>{let E=!0;return h.current.forEach((C,m)=>{const g=h[m].onFrame(h[m],v);E=E&&g,h.current[m]=h[m].current}),E},f=(h,v,E,C)=>{for(const m in v)h[m]=Object.assign({},r),h[m].onStart=h.onStart,h[m].current=v[m],h[m].toValue=h.toValue[m],h[m].onStart(h[m],v[m],E,C?C[m]:void 0);h.current=v},p=(h,v)=>{let E=!0;const C={};for(const m in h.current){const g=h[m].onFrame(h[m],v);E=E&&g,C[m]=h[m].current}return h.current=C,E};t.onStart=(h,v,E,C)=>{if(h.reduceMotion===void 0&&(h.reduceMotion=ei()),h.reduceMotion){h.toValue!==void 0?h.current=h.toValue:e(h,v,E,C),h.startTime=0,h.onFrame=()=>!0;return}if(wd(v)){o(h,v,E,C),h.onFrame=l;return}else if(rl(v)){u(h,v,E,C),h.onFrame=c;return}else if(Array.isArray(v)){A(h,v,E,C),h.onFrame=d;return}else if(typeof v=="string"){i(h,v,E,C),h.onFrame=a;return}else if(typeof v=="object"&&v!==null){f(h,v,E,C),h.onFrame=p;return}e(h,v,E,C)}}function Yn(t,e){"worklet";if(Sd)return t;const n=()=>{"worklet";const r=e();return nw(r),r};return _WORKLET||JI?n():n}function Bg(t){"worklet";t.value=t.value}const rw=4,iw=.001,aw=1e-7,sw=10,co=11,_s=1/(co-1);function Ng(t,e){"worklet";return 1-3*e+3*t}function Gg(t,e){"worklet";return 3*e-6*t}function Lg(t){"worklet";return 3*t}function So(t,e,n){"worklet";return((Ng(e,n)*t+Gg(e,n))*t+Lg(e))*t}function Vg(t,e,n){"worklet";return 3*Ng(e,n)*t*t+2*Gg(e,n)*t+Lg(e)}function ow(t,e,n,r,i){"worklet";let a,s,o=0;do s=e+(n-e)/2,a=So(s,r,i)-t,a>0?n=s:e=s;while(Math.abs(a)>aw&&++o<sw);return s}function lw(t,e,n,r){"worklet";for(let i=0;i<rw;++i){const a=Vg(e,n,r);if(a===0)return e;const s=So(e,n,r)-t;e-=s/a}return e}function U0(t,e,n,r){"worklet";function i(o){"worklet";return o}if(!(t>=0&&t<=1&&n>=0&&n<=1))throw new Error("[Reanimated] Bezier x values must be in [0, 1] range.");if(t===e&&n===r)return i;const a=new Array(co);for(let o=0;o<co;++o)a[o]=So(o*_s,t,n);function s(o){"worklet";let l=0,u=1;const c=co-1;for(;u!==c&&a[u]<=o;++u)l+=_s;--u;const A=(o-a[u])/(a[u+1]-a[u]),d=l+A*_s,f=Vg(d,t,n);return f>=iw?lw(o,d,t,n):f===0?d:ow(o,l,l+_s,t,n)}return function(l){"worklet";return t===e&&n===r?l:l===0?0:l===1?1:So(s(l),e,r)}}function uw(t){"worklet";return t}function cw(t){"worklet";return U0(.42,0,1,1)(t)}function dw(t){"worklet";return t*t}function Aw(t){"worklet";return t*t*t}function fw(t){"worklet";return e=>{"worklet";return Math.pow(e,t)}}function hw(t){"worklet";return 1-Math.cos(t*Math.PI/2)}function pw(t){"worklet";return 1-Math.sqrt(1-t*t)}function vw(t){"worklet";return Math.pow(2,10*(t-1))}function gw(t=1){"worklet";const e=t*Math.PI;return n=>{"worklet";return 1-Math.pow(Math.cos(n*Math.PI/2),3)*Math.cos(n*e)}}function mw(t=1.70158){"worklet";return e=>{"worklet";return e*e*((t+1)*e-t)}}function Cw(t){"worklet";if(t<1/2.75)return 7.5625*t*t;if(t<2/2.75){const n=t-.5454545454545454;return 7.5625*n*n+.75}if(t<2.5/2.75){const n=t-.8181818181818182;return 7.5625*n*n+.9375}const e=t-2.625/2.75;return 7.5625*e*e+.984375}function Ew(t,e,n,r){"worklet";return{factory:()=>{"worklet";return U0(t,e,n,r)}}}function xw(t,e,n,r){"worklet";return U0(t,e,n,r)}function yw(t){"worklet";return t}function Iw(t){"worklet";return e=>{"worklet";return 1-t(1-e)}}function ww(t){"worklet";return e=>{"worklet";return e<.5?t(e*2)/2:1-t((1-e)*2)/2}}function Sw(t=10,e=!0){"worklet";return n=>{"worklet";const r=Math.min(Math.max(n,0),1)*t;return e?Math.ceil(r)/t:Math.floor(r)/t}}const bw={linear:uw,ease:cw,quad:dw,cubic:Aw,poly:fw,sin:hw,circle:pw,exp:vw,elastic:gw,back:mw,bounce:Cw,bezier:Ew,bezierFn:xw,steps:Sw,in:yw,out:Iw,inOut:ww},lt=bw,j=function(t,e,n){"worklet";return Yn(t,()=>{"worklet";const r={duration:300,easing:lt.inOut(lt.quad)};e&&Object.keys(e).forEach(s=>r[s]=e[s]);function i(s,o){const{toValue:l,startTime:u,startValue:c}=s,A=o-u;if(A>=r.duration)return s.startTime=0,s.current=l,!0;const d=s.easing(A/r.duration);return s.current=c+(l-c)*d,!1}function a(s,o,l,u){u&&u.type==="timing"&&u.toValue===t&&u.startTime?(s.startTime=u.startTime,s.startValue=u.startValue):(s.startTime=l,s.startValue=o),s.current=o,typeof r.easing=="object"?s.easing=r.easing.factory():s.easing=r.easing}return{type:"timing",onFrame:i,onStart:a,progress:0,toValue:t,startValue:0,startTime:0,easing:()=>0,current:t,callback:n,reduceMotion:xr(e==null?void 0:e.reduceMotion)}})};function _w(t){"worklet";var e,n;let r="";return["stiffness","damping","dampingRatio","restDisplacementThreshold","restSpeedThreshold","mass"].forEach(i=>{const a=t[i];a<=0&&(r+=`, ${i} must be grater than zero but got ${a}`)}),t.duration<0&&(r+=`, duration can't be negative, got ${t.duration}`),(e=t.clamp)!==null&&e!==void 0&&e.min&&(n=t.clamp)!==null&&n!==void 0&&n.max&&t.clamp.min>t.clamp.max&&(r+=`, clamp.min should be lower than clamp.max, got clamp: {min: ${t.clamp.min}, max: ${t.clamp.max}} `),r!==""&&console.warn("[Reanimated] Invalid spring config"+r),r===""}function Dw({min:t,max:e,func:n,maxIterations:r=20}){"worklet";let a=r,s=(e+t)/2;for(;Math.abs(n(s))>5e-5&&a>0;)a-=1,n(s)<0?t=s:e=s,s=(t+e)/2;return s}function Ow(t=0,e){"worklet";if(e.skipAnimation)return{zeta:0,omega0:0,omega1:0};if(e.useDuration){const{stiffness:n,dampingRatio:r}=e,i=Math.sqrt(n/t),a=i*Math.sqrt(1-r**2);return{zeta:r,omega0:i,omega1:a}}else{const{damping:n,mass:r,stiffness:i}=e,a=n/(2*Math.sqrt(i*r)),s=Math.sqrt(i/r),o=s*Math.sqrt(1-a**2);return{zeta:a,omega0:s,omega1:o}}}function Tw(t,e){"worklet";const{zeta:n,toValue:r,startValue:i}=t,a=Number(r);if(a===i)return n;const[s,o]=a-i>0?[e.min,e.max]:[e.max,e.min],l=o!==void 0?Math.abs((o-a)/(a-i)):void 0,u=s!==void 0?Math.abs((s-a)/(a-i)):void 0,c=l!==void 0?Math.abs(Math.log(l)/Math.PI):void 0,A=u!==void 0?Math.abs(Math.log(u)/(2*Math.PI)):void 0,d=[c,A].filter(f=>f!==void 0);return Math.max(...d,n)}function Pw(t,e,n){"worklet";if(e.skipAnimation)return 0;const{stiffness:r,dampingRatio:i,restSpeedThreshold:a,duration:s}=e;return Dw({min:0,max:100,func:l=>{"worklet";const u=(l*n*n+r*t*t)/(Math.exp(1-.5*i)*r),c=i*2*Math.sqrt(r*l);return 1e3*(-2*l/c)*Math.log(a*.01/u)-s}})}function Rw(t,e){"worklet";const{toValue:n}=t,{v0:r,x0:i,omega0:a,t:s}=e,o=Math.exp(-a*s),l=n-o*(i+(r+a*i)*s),u=o*(r*(s*a-1)+s*i*a*a);return{position:l,velocity:u}}function Fw(t,e){"worklet";const{toValue:n,current:r,velocity:i}=t,{zeta:a,t:s,omega0:o,omega1:l}=e,u=-i,c=n-r,A=Math.sin(l*s),d=Math.cos(l*s),f=Math.exp(-a*o*s),p=f*(A*((u+a*o*c)/l)+c*d),h=n-p,v=a*o*p-f*(d*(u+a*o*c)-l*c*A);return{position:h,velocity:v}}function kw(t,e){"worklet";const{toValue:n,velocity:r,startValue:i,current:a}=t,s=e.overshootClamping?a>n&&i<n||a<n&&i>n:!1,o=Math.abs(r)<e.restSpeedThreshold,l=Math.abs(n-a)<e.restDisplacementThreshold;return{isOvershooting:s,isVelocity:o,isDisplacement:l}}const Hg=(t,e,n)=>{"worklet";return Yn(t,()=>{"worklet";const i={...{damping:10,mass:1,stiffness:100,overshootClamping:!1,restDisplacementThreshold:.01,restSpeedThreshold:2,velocity:0,duration:2e3,dampingRatio:.5,reduceMotion:void 0,clamp:void 0},...e,useDuration:!!(e!=null&&e.duration||e!=null&&e.dampingRatio),skipAnimation:!1};i.skipAnimation=!_w(i),i.duration===0&&(i.skipAnimation=!0);function a(l,u){const{toValue:c,startTimestamp:A,current:d}=l,f=u-A;if(i.useDuration&&f>=i.duration||i.skipAnimation)return l.current=c,l.lastTimestamp=0,!0;const{lastTimestamp:p,velocity:h}=l,v=Math.min(u-p,64);l.lastTimestamp=u;const E=v/1e3,C=-h,m=c-d,{zeta:g,omega0:y,omega1:x}=l,{position:w,velocity:S}=g<1?Fw(l,{zeta:g,v0:C,x0:m,omega0:y,omega1:x,t:E}):Rw(l,{v0:C,x0:m,omega0:y,t:E});l.current=w,l.velocity=S;const{isOvershooting:D,isVelocity:I,isDisplacement:_}=kw(l,i),O=D||I&&_;return!i.useDuration&&O?(l.velocity=0,l.current=c,l.lastTimestamp=0,!0):!1}function s(l,u){return(l==null?void 0:l.lastTimestamp)&&(l==null?void 0:l.startTimestamp)&&(l==null?void 0:l.toValue)===u.toValue&&(l==null?void 0:l.duration)===u.duration&&(l==null?void 0:l.dampingRatio)===u.dampingRatio}function o(l,u,c,A){l.current=u,l.startValue=u;let d=i.mass;const f=s(A,l),p=i.duration,h=f?A==null?void 0:A.startValue:Number(l.toValue)-u;if(A?l.velocity=(f?A==null?void 0:A.velocity:(A==null?void 0:A.velocity)+i.velocity)||0:l.velocity=i.velocity||0,f)l.zeta=(A==null?void 0:A.zeta)||0,l.omega0=(A==null?void 0:A.omega0)||0,l.omega1=(A==null?void 0:A.omega1)||0;else{if(i.useDuration){const m=f?p-(((A==null?void 0:A.lastTimestamp)||0)-((A==null?void 0:A.startTimestamp)||0)):p;i.duration=m,d=Pw(h,i,l.velocity)}const{zeta:v,omega0:E,omega1:C}=Ow(d,i);l.zeta=v,l.omega0=E,l.omega1=C,i.clamp!==void 0&&(l.zeta=Tw(l,i.clamp))}l.lastTimestamp=(A==null?void 0:A.lastTimestamp)||c,l.startTimestamp=f&&(A==null?void 0:A.startTimestamp)||c}return{onFrame:a,onStart:o,toValue:t,velocity:i.velocity||0,current:t,startValue:0,callback:n,lastTimestamp:0,startTimestamp:0,zeta:0,omega0:0,omega1:0,reduceMotion:xr(i.reduceMotion)}})},Mw=Nt(),Ug=Mw?1/20:1,Wg=.1;function Bw(t){"worklet";return!!t.rubberBandEffect&&Array.isArray(t.clamp)&&t.clamp.length===2}const Nw=.1;function Gw(t,e,n){"worklet";const{lastTimestamp:r,startTimestamp:i,current:a,velocity:s}=t,o=Math.min(e-r,64),l=Math.abs(a-n.clamp[0])<Math.abs(a-n.clamp[1])?0:1;let u=0;(a<n.clamp[0]||a>n.clamp[1])&&(u=a-n.clamp[l]);const c=s*Math.exp(-(1-n.deceleration)*(e-i)*Wg)-u*n.rubberBandFactor;if(Math.abs(u)>Nw)t.springActive=!0;else{if(t.springActive)return t.current=n.clamp[l],!0;if(Math.abs(c)<Ug)return!0}return t.current=a+c*n.velocityFactor*o/1e3,t.velocity=c,t.lastTimestamp=e,!1}function Lw(t,e,n){"worklet";const{lastTimestamp:r,startTimestamp:i,initialVelocity:a,current:s,velocity:o}=t,l=Math.min(e-r,64),u=o*Math.exp(-(1-n.deceleration)*(e-i)*Wg);if(t.current=s+u*n.velocityFactor*l/1e3,t.velocity=u,t.lastTimestamp=e,n.clamp){if(a<0&&t.current<=n.clamp[0])return t.current=n.clamp[0],!0;if(a>0&&t.current>=n.clamp[1])return t.current=n.clamp[1],!0}return Math.abs(u)<Ug}function Vw(t){"worklet";if(t.clamp){if(!Array.isArray(t.clamp))throw new Error(`[Reanimated] \`config.clamp\` must be an array but is ${typeof t.clamp}.`);if(t.clamp.length!==2)throw new Error(`[Reanimated] \`clamp array\` must contain 2 items but is given ${t.clamp.length}.`)}if(t.velocityFactor<=0)throw new Error(`[Reanimated] \`config.velocityFactor\` must be greather then 0 but is ${t.velocityFactor}.`);if(t.rubberBandEffect&&!t.clamp)throw new Error("[Reanimated] You need to set `clamp` property when using `rubberBandEffect`.")}const Hw=function(t,e){"worklet";return Yn(0,()=>{"worklet";const n={deceleration:.998,velocityFactor:1,velocity:0,rubberBandFactor:.6};t&&Object.keys(t).forEach(a=>n[a]=t[a]);const r=Bw(n)?(a,s)=>Gw(a,s,n):(a,s)=>Lw(a,s,n);function i(a,s,o){a.current=s,a.lastTimestamp=o,a.startTimestamp=o,a.initialVelocity=n.velocity,Vw(n),a.reduceMotion&&n.clamp&&(s<n.clamp[0]?a.current=n.clamp[0]:s>n.clamp[1]&&(a.current=n.clamp[1]))}return{onFrame:r,onStart:i,callback:e,velocity:n.velocity??0,initialVelocity:0,current:0,lastTimestamp:0,startTimestamp:0,reduceMotion:xr(n.reduceMotion)}})},Uw=function(t,e){"worklet";return Yn(e,()=>{"worklet";const n=typeof e=="function"?e():e,r=t.min===void 0?void 0:Ri(t.min).strippedValue,i=t.max===void 0?void 0:Ri(t.max).strippedValue;function a(l,u){const c=n.onFrame(n,u);if(n.current===void 0)return console.warn("[Reanimated] Error inside 'withClamp' animation, the inner animation has invalid current value"),!0;{const{prefix:A,strippedValue:d,suffix:f}=Ri(n.current);let p;i!==void 0&&i<d?p=i:r!==void 0&&r>d?p=r:p=d,l.current=typeof n.current=="number"?p:`${A===void 0?"":A}${p}${f===void 0?"":f}`}return c}function s(l,u,c,A){l.current=u,l.previousAnimation=n;const d=A==null?void 0:A.previousAnimation;t.max!==void 0&&t.min!==void 0&&t.max<t.min&&console.warn("[Reanimated] Wrong config was provided to withClamp. Min value is bigger than max"),n.onStart(n,(d==null?void 0:d.current)||u,c,d)}const o=l=>{n.callback&&n.callback(l)};return{isHigherOrder:!0,onFrame:a,onStart:s,current:n.current,callback:o,previousAnimation:null,reduceMotion:xr(t.reduceMotion)}})},W0=function(t,e,n){"worklet";return Yn(e,()=>{"worklet";const r=typeof e=="function"?e():e;function i(o,l){const{startTime:u,started:c,previousAnimation:A}=o,d=o.current;if(l-u>t||o.reduceMotion){c||(r.onStart(r,d,l,A),o.previousAnimation=null,o.started=!0);const f=r.onFrame(r,l);return o.current=r.current,f}else if(A){const f=A.finished||A.onFrame(A,l);o.current=A.current,f&&(o.previousAnimation=null)}return!1}function a(o,l,u,c){o.startTime=u,o.started=!1,o.current=l,c===o?o.previousAnimation=c.previousAnimation:o.previousAnimation=c,r.reduceMotion===void 0&&(r.reduceMotion=o.reduceMotion)}const s=o=>{r.callback&&r.callback(o)};return{isHigherOrder:!0,onFrame:i,onStart:a,current:r.current,callback:s,previousAnimation:null,startTime:0,started:!1,reduceMotion:xr(n)}})},Ww=function(t,e=2,n=!1,r,i){"worklet";return Yn(t,()=>{"worklet";const a=typeof t=="function"?t():t;function s(u,c){const A=a.onFrame(a,c);if(u.current=a.current,A){if(u.reps+=1,a.callback&&a.callback(!0,u.current),u.reduceMotion||e>0&&u.reps>=e)return!0;const d=n?a.current:u.startValue;return n&&(a.toValue=u.startValue,u.startValue=d),a.onStart(a,d,c,a.previousAnimation),!1}return!1}const o=u=>{r&&r(u),!u&&a.callback&&a.callback(!1)};function l(u,c,A,d){u.startValue=c,u.reps=0,a.reduceMotion===void 0&&(a.reduceMotion=u.reduceMotion),u.reduceMotion&&n&&(e<=0||e%2===0)?(u.current=u.startValue,u.onFrame=()=>!0):a.onStart(a,c,A,d)}return{isHigherOrder:!0,onFrame:s,onStart:l,reps:0,current:a.current,callback:o,startValue:0,reduceMotion:xr(i)}})};function Fe(t,...e){"worklet";let n;return t&&(typeof t=="string"?n=t:e.unshift(t)),e.length===0?(console.warn("[Reanimated] No animation was provided for the sequence"),Yn(0,()=>{"worklet";return{onStart:(r,i)=>r.current=i,onFrame:()=>!0,current:0,animationIndex:0,reduceMotion:xr(n)}})):Yn(e[0],()=>{"worklet";const r=e.map(l=>{const u=typeof l=="function"?l():l;return u.finished=!1,u});function i(l){for(;l<r.length-1&&r[l].reduceMotion;)l++;return l}const a=l=>{l||r.forEach(u=>{typeof u.callback=="function"&&!u.finished&&u.callback(l)})};function s(l,u){const c=r[l.animationIndex],A=c.onFrame(c,u);if(l.current=c.current,A){if(c.callback&&c.callback(!0),c.finished=!0,l.animationIndex=i(l.animationIndex+1),l.animationIndex<r.length){const d=r[l.animationIndex];return d.onStart(d,c.current,u,c),!1}return!0}return!1}function o(l,u,c,A){r.forEach(f=>{f.reduceMotion===void 0&&(f.reduceMotion=l.reduceMotion)}),l.animationIndex=i(0),A===void 0&&(A=r[r.length-1]);const d=r[l.animationIndex];d.onStart(d,u,c,A)}return{isHigherOrder:!0,onFrame:s,onStart:o,animationIndex:0,current:r[0].current,callback:a,reduceMotion:xr(n)}})}function ct(t){const[e]=b.useState(()=>Xn(t));return b.useEffect(()=>()=>{Bg(e)},[e]),e}function Xg(t){return Object.values(t).reduce((e,n)=>e+n.__workletHash.toString(),"")}function Xw(t,e){const n=Object.values(e).filter(r=>r!==void 0);return t?t.push(Xg(n)):t=n.map(r=>({workletHash:r.__workletHash,closure:r.__closure})),t}function Yw(t,e){function n(a,s){return a===s&&(a!==0||1/a===1/s)||Number.isNaN(a)&&Number.isNaN(s)}const r=typeof Object.is=="function"?Object.is:n;function i(a,s){if(!a||!s||s.length!==a.length)return!1;for(let o=0;o<s.length;++o)if(!r(a[o],s[o]))return!1;return!0}return i(t,e)}function Za(t){"worklet";return Array.isArray(t)?t.some(Za):typeof t=="object"&&t!==null?t.onFrame!==void 0?!0:Object.values(t).some(Za):!1}function X0(t,e){"worklet";const n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(let i=0;i<n.length;i++)if(t[n[i]]!==e[n[i]])return!1;return!0}function Yg(){const t=Xn([]);return{shareableViewDescriptors:t,add:n=>{t.modify(r=>{"worklet";const i=r.findIndex(a=>a.tag===n.tag);return i!==-1?r[i]=n:r.push(n),r},!1)},remove:n=>{t.modify(r=>{"worklet";const i=r.findIndex(a=>a.tag===n);return i!==-1&&r.splice(i,1),r},!1)}}}const zw=Ke(),Kw=zw?qw:$w;function $w(){}function qw(){const t=b.useRef(null);if(t.current===null){const e={items:new Set,add:n=>{e.items.has(n)||e.items.add(n)},remove:n=>{e.items.delete(n)}};t.current=e}return t.current}const jw=Ke();function bo(t,e,n,r){"worklet";if(Array.isArray(e)&&e.forEach((i,a)=>{bo(t,i,n&&n[a],r&&r[a])}),typeof e=="object"&&e.onFrame){const i=e;let a=i.current;r!=null&&(typeof r=="object"?r.value!==void 0?a=r.value:r.onFrame!==void 0&&((n==null?void 0:n.current)!==void 0?a=n.current:(r==null?void 0:r.current)!==void 0&&(a=r.current)):a=r),i.callStart=s=>{i.onStart(i,a,s,n)},i.callStart(t),i.callStart=null}else typeof e=="object"&&Object.keys(e).forEach(i=>bo(t,e[i],n&&n[i],r&&r[i]))}function _o(t,e,n,r,i){"worklet";if(!i.value)return!0;if(Array.isArray(t)){r[n]=[];let a=!0;return t.forEach((s,o)=>{_o(s,e,o,r[n],i)||(a=!1)}),a}else if(typeof t=="object"&&t.onFrame){let a=!0;return t.finished||(t.callStart&&(t.callStart(e),t.callStart=null),a=t.onFrame(t,e),t.timestamp=e,a&&(t.finished=!0,t.callback&&t.callback(!0))),r[n]=t.current,a}else if(typeof t=="object"){r[n]={};let a=!0;return Object.keys(t).forEach(s=>{_o(t[s],e,s,r[n],i)||(a=!1)}),a}else return r[n]=t,!0}function Qw(t,e,n,r,i,a=!1){"worklet";const s=n.animations??{},o=e()??{},l=n.last,u={};let c=!1,A,d=!1;for(const f in o){const p=o[f];Za(p)?(A=global.__frameTimestamp||global._getAnimationTimestamp(),bo(A,p,s[f],l[f]),s[f]=p,c=!0):(d=!0,u[f]=p,delete s[f])}if(c){const f=p=>{const{animations:h,last:v,isAnimationCancelled:E}=n;if(E){n.isAnimationRunning=!1;return}const C={};let m=!0;for(const g in h)_o(h[g],p,g,C,i)?(v[g]=C[g],delete h[g]):m=!1;C&&Ln(t,C,r),m?n.isAnimationRunning=!1:requestAnimationFrame(f)};n.animations=s,n.isAnimationRunning||(n.isAnimationCancelled=!1,n.isAnimationRunning=!0,f(A)),d&&Ln(t,u,r)}else n.isAnimationCancelled=!0,n.animations=[],X0(l,o)||Ln(t,o,r,a);n.last=o}function Zw(t,e,n,r,i,a,s){"worklet";const o=n.animations??{},l=e()??{},u=n.last;let c=!1,A;Object.keys(o).forEach(f=>{const p=l[f];Za(p)||delete o[f]}),Object.keys(l).forEach(f=>{const p=l[f];Za(p)&&(A=global.__frameTimestamp||global._getAnimationTimestamp(),bo(A,p,o[f],u[f]),o[f]=p,c=!0)});function d(f){const{animations:p,last:h,isAnimationCancelled:v}=n;if(v){n.isAnimationRunning=!1;return}const E={};let C=!0;Object.keys(p).forEach(m=>{_o(p[m],f,m,E,i)?(h[m]=E[m],delete p[m]):C=!1}),Object.keys(E).length&&xf(t,E,r,a,s),C?n.isAnimationRunning=!1:requestAnimationFrame(d)}c?(n.animations=o,n.isAnimationRunning||(n.isAnimationCancelled=!1,n.isAnimationRunning=!0,d(A))):(n.isAnimationCancelled=!0,n.animations=[]),n.last=l,X0(u,l)||xf(t,l,r,a,s)}function bd(t,e){if(Array.isArray(t))for(const n of t)bd(n,e);else if(typeof t=="object"&&t!==null&&t.value===void 0)for(const n of Object.keys(t))bd(t[n],n);else if(e!==void 0&&typeof t=="object"&&t!==null&&t.value!==void 0)throw new Error(`[Reanimated] Invalid value passed to \`${e}\`, maybe you forgot to use \`.value\`?`)}function zn(t,e,n,r=!1){const i=Kw(),a=b.useRef();let s=Object.values(t.__closure??{});if(jw){var o;!s.length&&(o=e)!==null&&o!==void 0&&o.length&&(s=e)}const l=n?Array.isArray(n)?n:[n]:[],u=n?Xg(l):null,c=ct(!0),A=b.useRef({});if(e?e.push(t.__workletHash):e=[...s,t.__workletHash],u&&e.push(u),!a.current){const E=H0(t);a.current={initial:{value:E,updater:t},remoteState:tl({last:E,animations:{},isAnimationCancelled:!1,isAnimationRunning:!1}),viewDescriptors:Yg()}}const{initial:d,remoteState:f,viewDescriptors:p}=a.current,h=p.shareableViewDescriptors;e.push(h),b.useEffect(()=>{let E,C=t;n&&(C=()=>{"worklet";const g=t();return l.forEach(y=>{y(g)}),g}),_t()?E=()=>{"worklet";Zw(h,t,f,i,c,A,l)}:E=()=>{"worklet";Qw(h,C,f,i,c,r)};const m=ds(E,s);return()=>{Li(m)}},e),b.useEffect(()=>(c.value=!0,()=>{c.value=!1}),[c]),bd(d.value);const v=b.useRef(null);return v.current||(v.current=_t()?{viewDescriptors:p,initial:d,viewsRef:i,jestAnimatedStyle:A}:{initial:d,viewsRef:i,viewDescriptors:p}),v.current}function Jw(t,e,n){return zn(t,e,n,!0)}const eS=zn,Y0=Ke()?Jw:eS;function tS(t,e){return b.useCallback(t,e??[])}const nS=yo();function rS(){return nS}function il(t,e){const n=b.useRef(null);if(n.current===null){const o=tl({});n.current={context:o,savedDependencies:[]}}b.useEffect(()=>()=>{n.current=null},[]);const{context:r,savedDependencies:i}=n.current;e=Xw(e,t);const a=!Yw(e,i);n.current.savedDependencies=e;const s=Nt()||_t();return{context:r,doDependenciesDiffer:a,useWeb:s}}function wf(t,e,n){iS(t,e),e.set(t,n)}function iS(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Xa(t,e,n){return e=aS(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function aS(t){var e=sS(t,"string");return typeof e=="symbol"?e:e+""}function sS(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Sn(t,e){return t.get(zg(t,e))}function Sf(t,e,n){return t.set(zg(t,e),n),n}function zg(t,e,n){if(typeof t=="function"?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}const oS=Ke();function lS(t,e){return n=>{e({...n.nativeEvent,eventName:t})}}var fa=new WeakMap,tr=new WeakMap;class uS{constructor(e,n){Xa(this,"eventNames",void 0),Xa(this,"worklet",void 0),wf(this,fa,void 0),wf(this,tr,void 0),this.worklet=e,this.eventNames=n,Sf(fa,this,new Set),Sf(tr,this,new Map)}updateEventHandler(e,n){this.worklet=e,this.eventNames=n,Sn(tr,this).forEach(r=>{r.forEach(i=>ff(i))}),Array.from(Sn(fa,this)).forEach(r=>{const i=this.eventNames.map(a=>Gu(this.worklet,a,r));Sn(tr,this).set(r,i)})}registerForEvents(e,n){Sn(fa,this).add(e);const r=this.eventNames.map(i=>Gu(this.worklet,i,e));if(Sn(tr,this).set(e,r),this.eventNames.length===0&&n){const i=Gu(this.worklet,n,e);Sn(tr,this).set(e,[i])}}unregisterFromEvents(e){var n;Sn(fa,this).delete(e),(n=Sn(tr,this).get(e))===null||n===void 0||n.forEach(r=>{ff(r)}),Sn(tr,this).delete(e)}}class cS{constructor(e,n=[]){Xa(this,"eventNames",void 0),Xa(this,"listeners",void 0),Xa(this,"worklet",void 0),this.worklet=e,this.eventNames=n,this.listeners={},this.setupWebListeners()}setupWebListeners(){this.listeners={},this.eventNames.forEach(e=>{this.listeners[e]=lS(e,this.worklet)})}updateEventHandler(e,n){this.worklet=e,this.eventNames=n,this.setupWebListeners()}registerForEvents(e,n){}unregisterFromEvents(e){}}const dr=oS?cS:uS;function As(t,e=[],n=!1){const r=b.useRef(null);if(r.current===null){const i=new dr(t,e);r.current={workletEventHandler:i}}else if(n){const i=r.current.workletEventHandler;i.updateEventHandler(t,e),r.current={workletEventHandler:i}}return r.current}const yt={UNDETERMINED:0,FAILED:1,BEGAN:2,CANCELLED:3,ACTIVE:4,END:5};function dS(t,e){const{context:n,doDependenciesDiffer:r,useWeb:i}=il(t,e),a=s=>{"worklet";const o=i?s.nativeEvent:s;o.state===yt.BEGAN&&t.onStart&&t.onStart(o,n),o.state===yt.ACTIVE&&t.onActive&&t.onActive(o,n),o.oldState===yt.ACTIVE&&o.state===yt.END&&t.onEnd&&t.onEnd(o,n),o.oldState===yt.BEGAN&&o.state===yt.FAILED&&t.onFail&&t.onFail(o,n),o.oldState===yt.ACTIVE&&o.state===yt.CANCELLED&&t.onCancel&&t.onCancel(o,n),(o.oldState===yt.BEGAN||o.oldState===yt.ACTIVE)&&o.state!==yt.BEGAN&&o.state!==yt.ACTIVE&&t.onFinish&&t.onFinish(o,n,o.state===yt.CANCELLED||o.state===yt.FAILED)};return i?a:As(a,["onGestureHandlerStateChange","onGestureHandlerEvent"],r)}function AS(t,e,n){const r=ct(null);let i=Object.values(t.__closure??{});if(Ke()){var a;!i.length&&(a=n)!==null&&a!==void 0&&a.length&&(i=n)}n===void 0?n=[...Object.values(t.__closure??{}),...Object.values(e.__closure??{}),t.__workletHash,e.__workletHash]:n.push(t.__workletHash,e.__workletHash),b.useEffect(()=>{const o=ds(()=>{"worklet";const l=t();e(l,r.value),r.value=l},i);return()=>{Li(o)}},n)}function Kg(){throw new Error("[Reanimated] Trying to call `getShadowNodeWrapperFromRef` on web.")}const fS=Nt();function Uu(t){return vn()&&t.getNativeScrollRef?t.getNativeScrollRef():!vn()&&t.getScrollableNode?t.getScrollableNode():t}function $g(){const t=ct(-1),e=ct(null),n=b.useRef();if(!n.current){const r=a=>{if(a){const o=vn()?Kg:zt,l=()=>fS?Uu(a):o(Uu(a));if(t.value=l(),r.getTag=vn()?()=>zt(Uu(a)):l,r.current=a,ue.OS==="ios"&&!vn()){var s;e.value=(a==null||(s=a.viewConfig)===null||s===void 0?void 0:s.uiViewClassName)||"RCTView"}}return t.value};r.current=null;const i=He({__init:()=>{"worklet";const a=()=>t.value;return a.viewName=e,a}});Qt.set(r,i),n.current=r}return n.current}function hS(t,e){const n=typeof t=="function"?{onScroll:t}:t,{context:r,doDependenciesDiffer:i}=il(n,e),a=["onScroll"];return n.onBeginDrag!==void 0&&a.push("onScrollBeginDrag"),n.onEndDrag!==void 0&&a.push("onScrollEndDrag"),n.onMomentumBegin!==void 0&&a.push("onMomentumScrollBegin"),n.onMomentumEnd!==void 0&&a.push("onMomentumScrollEnd"),As(s=>{"worklet";const{onScroll:o,onBeginDrag:l,onEndDrag:u,onMomentumBegin:c,onMomentumEnd:A}=n;o&&s.eventName.endsWith("onScroll")?o(s,r):l&&s.eventName.endsWith("onScrollBeginDrag")?l(s,r):u&&s.eventName.endsWith("onScrollEndDrag")?u(s,r):c&&s.eventName.endsWith("onMomentumScrollBegin")?c(s,r):A&&s.eventName.endsWith("onMomentumScrollEnd")&&A(s,r)},a,i)}function pS(t,e){const n=b.useRef(null);let r=Object.values(t.__closure??{});if(Ke()){var i;!r.length&&(i=e)!==null&&i!==void 0&&i.length&&(r=e)}e===void 0?e=[...r,t.__workletHash]:e.push(t.__workletHash),n.current===null&&(n.current=Xn(H0(t)));const a=n.current;return b.useEffect(()=>{const o=ds(()=>{"worklet";a.value=t()},r,[a]);return()=>{Li(o)}},e),b.useEffect(()=>()=>{n.current=null},[]),a}function vS(t,e,n){"worklet";const r=Math.cos(t/2),i=Math.sin(t/2),a=Math.cos(e/2),s=Math.sin(e/2),o=Math.cos(n/2),l=Math.sin(n/2);return[i*a*o-r*s*l,r*s*o+i*a*l,r*a*l+i*s*o,r*a*o-i*s*l]}function gS(t){"worklet";const{interfaceOrientation:e,pitch:n,roll:r,yaw:i}=t;e===qr.ROTATION_90?(t.pitch=r,t.roll=-n,t.yaw=i-Math.PI/2):e===qr.ROTATION_270?(t.pitch=-r,t.roll=n,t.yaw=i+Math.PI/2):e===qr.ROTATION_180&&(t.pitch*=-1,t.roll*=-1,t.yaw*=-1);const a=vS(t.pitch,t.roll,t.yaw);return t.qx=a[0],t.qy=a[1],t.qz=a[2],t.qw=a[3],t}function mS(t){"worklet";const{interfaceOrientation:e,x:n,y:r}=t;return e===qr.ROTATION_90?(t.x=-r,t.y=n):e===qr.ROTATION_270?(t.x=r,t.y=-n):e===qr.ROTATION_180&&(t.x*=-1,t.y*=-1),t}function CS(t,e){var n,r,i;const a=b.useRef(e);(((n=a.current)===null||n===void 0?void 0:n.adjustToInterfaceOrientation)!==(e==null?void 0:e.adjustToInterfaceOrientation)||((r=a.current)===null||r===void 0?void 0:r.interval)!==(e==null?void 0:e.interval)||((i=a.current)===null||i===void 0?void 0:i.iosReferenceFrame)!==(e==null?void 0:e.iosReferenceFrame))&&(a.current={...e});const o=b.useMemo(()=>({interval:"auto",adjustToInterfaceOrientation:!0,iosReferenceFrame:mg.Auto,...a.current}),[a.current]),l=b.useRef({sensor:pf(t,o),unregister:()=>{},isAvailable:!1,config:o});return b.useEffect(()=>{l.current={sensor:pf(t,o),unregister:()=>{},isAvailable:!1,config:o};const u=l.current.sensor,c=l.current.config.adjustToInterfaceOrientation,A=TI(t,o,d=>{"worklet";c&&(t===je.ROTATION?d=gS(d):d=mS(d)),u.value=d,M0()});return A!==-1?(l.current.unregister=()=>PI(A),l.current.isAvailable=!0):(l.current.unregister=()=>{},l.current.isAvailable=!1),()=>{l.current.unregister()}},[t,o]),l.current}const ES=B0(()=>{"worklet";const t={frameCallbackRegistry:new Map,activeFrameCallbacks:new Set,previousFrameTimestamp:null,nextCallId:0,runCallbacks(e){const n=r=>{if(e!==this.nextCallId)return;this.previousFrameTimestamp===null&&(this.previousFrameTimestamp=r);const i=r-this.previousFrameTimestamp;this.activeFrameCallbacks.forEach(a=>{const s=this.frameCallbackRegistry.get(a),{startTime:o}=s;o===null?(s.startTime=r,s.callback({timestamp:r,timeSincePreviousFrame:null,timeSinceFirstFrame:0})):s.callback({timestamp:r,timeSincePreviousFrame:i,timeSinceFirstFrame:r-o})}),this.activeFrameCallbacks.size>0?(this.previousFrameTimestamp=r,requestAnimationFrame(n)):this.previousFrameTimestamp=null};this.activeFrameCallbacks.size===1&&e===this.nextCallId&&requestAnimationFrame(n)},registerFrameCallback(e,n){this.frameCallbackRegistry.set(n,{callback:e,startTime:null})},unregisterFrameCallback(e){this.manageStateFrameCallback(e,!1),this.frameCallbackRegistry.delete(e)},manageStateFrameCallback(e,n){if(e!==-1)if(n)this.activeFrameCallbacks.add(e),this.runCallbacks(this.nextCallId);else{const r=this.frameCallbackRegistry.get(e);r.startTime=null,this.activeFrameCallbacks.delete(e),this.activeFrameCallbacks.size===0&&(this.nextCallId+=1)}}};global._frameCallbackRegistry=t});function xS(t,e,n){return e=yS(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yS(t){var e=IS(t,"string");return typeof e=="symbol"?e:e+""}function IS(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class wS{constructor(){xS(this,"nextCallbackId",0),ES()}registerFrameCallback(e){if(!e)return-1;const n=this.nextCallbackId;return this.nextCallbackId++,Gn(()=>{global._frameCallbackRegistry.registerFrameCallback(e,n)})(),n}unregisterFrameCallback(e){Gn(()=>{global._frameCallbackRegistry.unregisterFrameCallback(e)})()}manageStateFrameCallback(e,n){Gn(()=>{global._frameCallbackRegistry.manageStateFrameCallback(e,n)})()}}const Wu=new wS;function qg(t,e=!0){const n=b.useRef({setActive:r=>{Wu.manageStateFrameCallback(n.current.callbackId,r),n.current.isActive=r},isActive:e,callbackId:-1});return b.useEffect(()=>(n.current.callbackId=Wu.registerFrameCallback(t),n.current.setActive(n.current.isActive),()=>{Wu.unregisterFrameCallback(n.current.callbackId),n.current.callbackId=-1}),[t,e]),n.current}function SS(t={isStatusBarTranslucentAndroid:!1}){const e=b.useRef(null),n=b.useRef(-1),r=b.useRef(!1);if(e.current===null){const i={state:Xn(Cg.UNKNOWN),height:Xn(0)};n.current=hf((a,s)=>{"worklet";i.state.value=a,i.height.value=s},t),e.current=i,r.current=!0}return b.useEffect(()=>{if(r.current===!1&&e.current!==null){const i=e.current;n.current=hf((a,s)=>{"worklet";i.state.value=a,i.height.value=s},t),r.current=!0}return()=>{OI(n.current),r.current=!1}},[]),e.current}const bS=Nt(),jg=bS?_S:DS;function _S(t,e){const n=ct(0),r=b.useRef(e??n).current,i=b.useCallback(()=>{"worklet";if(t){const a=bf(t.current);r.value=a.scrollLeft===0?a.scrollTop:a.scrollLeft}},[t,t==null?void 0:t.current]);return b.useEffect(()=>{const a=t!=null&&t.current?bf(t.current):null;return a&&a.addEventListener("scroll",i),()=>{a&&a.removeEventListener("scroll",i)}},[t,t==null?void 0:t.current,i]),r}function DS(t,e){const n=ct(0),r=b.useRef(e??n).current,i=As(a=>{"worklet";r.value=a.contentOffset.x===0?a.contentOffset.y:a.contentOffset.x},OS);return b.useEffect(()=>{const a=(t==null?void 0:t.getTag())??null;return a&&i.workletEventHandler.registerForEvents(a),()=>{a&&i.workletEventHandler.unregisterFromEvents(a)}},[t,t==null?void 0:t.current,i]),r}function bf(t){return(t==null?void 0:t.getScrollableNode())??t}const OS=["onScroll","onScrollBeginDrag","onScrollEndDrag","onMomentumScrollBegin","onMomentumScrollEnd"];function TS(t){const e={},n=new Set,r={};t.filter(a=>a!==null).forEach(a=>{const{workletEventHandler:s}=a;s instanceof dr&&s.eventNames.forEach(o=>{n.add(o),r[o]?r[o].push(s.worklet):r[o]=[s.worklet];const l=o+`${r[o].length}`;e[l]=s.worklet})});const{doDependenciesDiffer:i}=il(e);return As(a=>{"worklet";r[a.eventName]&&r[a.eventName].forEach(s=>s(a))},Array.from(n),i)}let Ue=function(t){return t.IDENTITY="identity",t.CLAMP="clamp",t.EXTEND="extend",t}({});function _f(t,e,n,r,i,a){"worklet";switch(t){case Ue.IDENTITY:return a;case Ue.CLAMP:return e*n<e*r?r:i;case Ue.EXTEND:default:return n}}function Xu(t){"worklet";return t===Ue.EXTEND||t===Ue.CLAMP||t===Ue.IDENTITY}function PS(t){"worklet";const e={extrapolateLeft:Ue.EXTEND,extrapolateRight:Ue.EXTEND};if(!t)return e;if(typeof t=="string"){if(!Xu(t))throw new Error(`[Reanimated] Unsupported value for "interpolate" +`,Ny=global.__turboModuleProxy!=null,mg=Ny?require("./NativeSalesforceMessagingInApp").default:Mv.SalesforceMessagingInApp,F0=mg??new Proxy({},{get:()=>{throw new Error(By)}}),Af=new b0(mg),Gy=({developerName:t,organizationId:e,url:n})=>F0.createCoreClient(n,e,t),Ly=t=>F0.createConversationClient(t??null),Cg=t=>F0.sendMessage(t),Vy=({developerName:t,organizationId:e,url:n,conversationId:r})=>{const[i,a]=b.useState(!1),[s,o]=b.useState(r),l=b.useRef(null),u=b.useRef(null),[c,A]=b.useState([]);return b.useEffect(()=>(t&&e&&n&&Gy({developerName:t,organizationId:e,url:n}).then(()=>{l.current&&(l.current.remove(),l.current=null),u.current&&(u.current.remove(),u.current=null),A([]),l.current=Af.addListener("onNewMessage",d=>{A(f=>[...f,d])}),u.current=Af.addListener("onUpdatedMessage",d=>{A(f=>f.map(p=>p.entryId===d.entryId?d:p))}),Ly(r??s).then(d=>{o(d),a(!0)})}),()=>{var d,f;(d=l.current)==null||d.remove(),l.current=null,(f=u.current)==null||f.remove(),u.current=null}),[r,t,e,n]),{ready:i,messages:c,conversationId:s}},Hy=us(mx),ff=us(Cx);var Uy={NODE_ENV:'"production"'};function _t(){return!!Uy.JEST_WORKER_ID}function Qa(){return(!global.nativeCallSyncHook||!!global.__REMOTEDEV__)&&!global.RN$Bridgeless}function Nt(){return ue.OS==="web"}function Wy(){return ue.OS==="android"}function Xy(){return ue.OS==="windows"}function Ke(){return _t()||Qa()||Nt()||Xy()}function gn(){return!!global._IS_FABRIC}function ea(){return typeof window<"u"}function Io(){return Nt()?ea()?!window.matchMedia("(prefers-reduced-motion: no-preference)").matches:!1:!!global._REANIMATED_IS_REDUCED_MOTION}function wo(t){"worklet";return typeof t=="function"&&!!t.__workletHash}let je=function(t){return t[t.ACCELEROMETER=1]="ACCELEROMETER",t[t.GYROSCOPE=2]="GYROSCOPE",t[t.GRAVITY=3]="GRAVITY",t[t.MAGNETIC_FIELD=4]="MAGNETIC_FIELD",t[t.ROTATION=5]="ROTATION",t}({}),Eg=function(t){return t[t.XArbitraryZVertical=0]="XArbitraryZVertical",t[t.XArbitraryCorrectedZVertical=1]="XArbitraryCorrectedZVertical",t[t.XMagneticNorthZVertical=2]="XMagneticNorthZVertical",t[t.XTrueNorthZVertical=3]="XTrueNorthZVertical",t[t.Auto=4]="Auto",t}({}),qr=function(t){return t[t.ROTATION_0=0]="ROTATION_0",t[t.ROTATION_90=90]="ROTATION_90",t[t.ROTATION_180=180]="ROTATION_180",t[t.ROTATION_270=270]="ROTATION_270",t}({}),xg=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.OPENING=1]="OPENING",t[t.OPEN=2]="OPEN",t[t.CLOSING=3]="CLOSING",t[t.CLOSED=4]="CLOSED",t}({}),Cr=function(t){return t.System="system",t.Always="always",t.Never="never",t}({});function yg(t){return setTimeout(()=>t(performance.now()),0)}function xs(t,e,n){return e=Yy(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yy(t){var e=zy(t,"string");return typeof e=="symbol"?e:e+""}function zy(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}const Ky=_t()||!globalThis.requestAnimationFrame?yg:globalThis.requestAnimationFrame;class $y{constructor(){xs(this,"nextSensorId",0),xs(this,"sensors",new Map),xs(this,"platform",void 0),xs(this,"getSensorCallback",(e,n,r)=>{switch(n){case je.ACCELEROMETER:case je.GRAVITY:return()=>{let{x:i,y:a,z:s}=e;this.platform===ur.WEB_ANDROID&&([i,a,s]=[-i,-a,-s]),r({x:i,y:a,z:s,interfaceOrientation:0})};case je.GYROSCOPE:case je.MAGNETIC_FIELD:return()=>{const{x:i,y:a,z:s}=e;r({x:i,y:a,z:s,interfaceOrientation:0})};case je.ROTATION:return()=>{let[i,a,s,o]=e.quaternion;this.platform===ur.WEB_ANDROID&&([s,o]=[o,-s]);const l=-Math.atan2(2*(s*o+i*a),i*i-a*a-s*s+o*o),u=Math.sin(-2*(a*o-i*s)),c=-Math.atan2(2*(a*s+i*o),i*i+a*a-s*s-o*o);r({qw:i,qx:a,qy:s,qz:o,yaw:l,pitch:u,roll:c,interfaceOrientation:0})}}})}makeShareableClone(){throw new Error("[Reanimated] makeShareableClone should never be called in JSReanimated.")}scheduleOnUI(e){Ky(e)}createWorkletRuntime(e,n){throw new Error("[Reanimated] createWorkletRuntime is not available in JSReanimated.")}scheduleOnRuntime(){throw new Error("[Reanimated] scheduleOnRuntime is not available in JSReanimated.")}registerEventHandler(e,n,r){throw new Error("[Reanimated] registerEventHandler is not available in JSReanimated.")}unregisterEventHandler(e){throw new Error("[Reanimated] unregisterEventHandler is not available in JSReanimated.")}enableLayoutAnimations(){Nt()?console.warn("[Reanimated] Layout Animations are not supported on web yet."):_t()?console.warn("[Reanimated] Layout Animations are no-ops when using Jest."):Qa()?console.warn("[Reanimated] Layout Animations are no-ops when using Chrome Debugger."):console.warn("[Reanimated] Layout Animations are not supported on this configuration.")}configureLayoutAnimationBatch(){}setShouldAnimateExitingForTag(){}registerSensor(e,n,r,i){if(!ea())return-1;if(this.platform===void 0&&this.detectPlatform(),!(this.getSensorName(e)in window))return console.warn("[Reanimated] Sensor is not available."+(Nt()&&location.protocol!=="https:"?" Make sure you use secure origin with `npx expo start --web --https`.":"")+(this.platform===ur.WEB_IOS?" For iOS web, you will also have to also grant permission in the browser: https://dev.to/li/how-to-requestpermission-for-devicemotion-and-deviceorientation-events-in-ios-13-46g2.":"")),-1;this.platform===void 0&&this.detectPlatform();const a=this.initializeSensor(e,n);return a.addEventListener("reading",this.getSensorCallback(a,e,i)),a.start(),this.sensors.set(this.nextSensorId,a),this.nextSensorId++}unregisterSensor(e){const n=this.sensors.get(e);n!==void 0&&(n.stop(),this.sensors.delete(e))}subscribeForKeyboardEvents(e){return Nt()?console.warn("[Reanimated] useAnimatedKeyboard is not available on web yet."):_t()?console.warn("[Reanimated] useAnimatedKeyboard is not available when using Jest."):Qa()?console.warn("[Reanimated] useAnimatedKeyboard is not available when using Chrome Debugger."):console.warn("[Reanimated] useAnimatedKeyboard is not available on this configuration."),-1}unsubscribeFromKeyboardEvents(e){}initializeSensor(e,n){const r=n<=0?{referenceFrame:"device"}:{frequency:1e3/n};switch(e){case je.ACCELEROMETER:return new window.Accelerometer(r);case je.GYROSCOPE:return new window.Gyroscope(r);case je.GRAVITY:return new window.GravitySensor(r);case je.MAGNETIC_FIELD:return new window.Magnetometer(r);case je.ROTATION:return new window.AbsoluteOrientationSensor(r)}}getSensorName(e){switch(e){case je.ACCELEROMETER:return"Accelerometer";case je.GRAVITY:return"GravitySensor";case je.GYROSCOPE:return"Gyroscope";case je.MAGNETIC_FIELD:return"Magnetometer";case je.ROTATION:return"AbsoluteOrientationSensor"}}detectPlatform(){const e=navigator.userAgent||navigator.vendor||window.opera;e===void 0?this.platform=ur.UNKNOWN:/iPad|iPhone|iPod/.test(e)?this.platform=ur.WEB_IOS:/android/i.test(e)?this.platform=ur.WEB_ANDROID:this.platform=ur.WEB}getViewProp(e,n,r,i){throw new Error("[Reanimated] getViewProp is not available in JSReanimated.")}configureProps(){throw new Error("[Reanimated] configureProps is not available in JSReanimated.")}executeOnUIRuntimeSync(e){throw new Error("[Reanimated] `executeOnUIRuntimeSync` is not available in JSReanimated.")}}var ur=function(t){return t.WEB_IOS="web iOS",t.WEB_ANDROID="web Android",t.WEB="web",t.UNKNOWN="unknown",t}(ur||{});const Ct={UI_THREAD_PROPS_WHITELIST:{opacity:!0,transform:!0,backgroundColor:!0,borderRightColor:!0,borderBottomColor:!0,borderColor:!0,borderEndColor:!0,borderLeftColor:!0,borderStartColor:!0,borderTopColor:!0,shadowOpacity:!0,shadowRadius:!0,scaleX:!0,scaleY:!0,translateX:!0,translateY:!0},NATIVE_THREAD_PROPS_WHITELIST:{borderBottomWidth:!0,borderEndWidth:!0,borderLeftWidth:!0,borderRightWidth:!0,borderStartWidth:!0,borderTopWidth:!0,borderWidth:!0,bottom:!0,flex:!0,flexGrow:!0,flexShrink:!0,height:!0,left:!0,margin:!0,marginBottom:!0,marginEnd:!0,marginHorizontal:!0,marginLeft:!0,marginRight:!0,marginStart:!0,marginTop:!0,marginVertical:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,padding:!0,paddingBottom:!0,paddingEnd:!0,paddingHorizontal:!0,paddingLeft:!0,paddingRight:!0,paddingStart:!0,paddingTop:!0,paddingVertical:!0,right:!0,start:!0,top:!0,width:!0,zIndex:!0,borderBottomEndRadius:!0,borderBottomLeftRadius:!0,borderBottomRightRadius:!0,borderBottomStartRadius:!0,borderRadius:!0,borderTopEndRadius:!0,borderTopLeftRadius:!0,borderTopRightRadius:!0,borderTopStartRadius:!0,elevation:!0,fontSize:!0,lineHeight:!0,textShadowRadius:!0,textShadowOffset:!0,letterSpacing:!0,aspectRatio:!0,columnGap:!0,end:!0,flexBasis:!0,gap:!0,rowGap:!0,display:!0,backfaceVisibility:!0,overflow:!0,resizeMode:!0,fontStyle:!0,fontWeight:!0,textAlign:!0,textDecorationLine:!0,fontFamily:!0,textAlignVertical:!0,fontVariant:!0,textDecorationStyle:!0,textTransform:!0,writingDirection:!0,alignContent:!0,alignItems:!0,alignSelf:!0,direction:!0,flexDirection:!0,flexWrap:!0,justifyContent:!0,position:!0,color:!0,tintColor:!0,shadowColor:!0,placeholderTextColor:!0}};let M0,yd,Id;if(Nt()){try{M0=Hy.default}catch{}try{yd=ff.createTransformValue}catch{}try{Id=ff.createTextShadowValue}catch{}}const Xe=new $y;global._makeShareableClone=()=>{throw new Error("[Reanimated] _makeShareableClone should never be called in JSReanimated.")};global._scheduleOnJS=()=>{throw new Error("[Reanimated] _scheduleOnJS should never be called in JSReanimated.")};global._scheduleOnRuntime=()=>{throw new Error("[Reanimated] _scheduleOnRuntime should never be called in JSReanimated.")};const tl=(t,e,n)=>{if(e._component){const r=e._component,[i]=Object.keys(t).reduce((a,s)=>{const o=t[s],l=typeof o=="function"?1:0;return a[l][s]=o,a},[{},{}]);if(typeof r.setNativeProps=="function")qy(r,i,n);else if(M0!==void 0&&r.style!==void 0)jy(r,i,n);else if(Object.keys(r.props).length>0)Object.keys(r.props).forEach(a=>{if(!i[a])return;const s=a.replace(/[A-Z]/g,o=>"-"+o.toLowerCase());r._touchableNode.setAttribute(s,i[a])});else{const a="className"in r?r==null?void 0:r.className:"";console.warn(`[Reanimated] It's not possible to manipulate the component ${a}`)}}},qy=(t,e,n)=>{var r;if(n){var i;const o={};for(const l in e)Qy(l)&&(o[l]=e[l]);(i=t.setNativeProps)===null||i===void 0||i.call(t,o)}const s={...t.previousStyle?t.previousStyle:{},...e};t.previousStyle=s,(r=t.setNativeProps)===null||r===void 0||r.call(t,{style:s})},jy=(t,e,n)=>{const i={...t.previousStyle?t.previousStyle:{},...e};t.previousStyle=i;const a=M0(i);Array.isArray(a.transform)&&yd!==void 0&&(a.transform=yd(a.transform)),Id!==void 0&&(a.textShadowColor||a.textShadowRadius||a.textShadowOffset)&&(a.textShadow=Id({textShadowColor:a.textShadowColor,textShadowOffset:a.textShadowOffset,textShadowRadius:a.textShadowRadius}));for(const s in a)n?t.setAttribute(s,a[s]):t.style[s]=a[s]};function Qy(t){return!!Ct.NATIVE_THREAD_PROPS_WHITELIST[t]}const Zy=new Map;function Jy(t){var e;const n=(e=t.stack)===null||e===void 0||(e=e.split(` +`))===null||e===void 0?void 0:e[0];if(n){const r=/@([^@]+):(\d+):(\d+)/.exec(n);if(r){const[,i,a,s]=r;return[i,Number(a),Number(s)]}}return["unknown",0,0]}function eI(t){const e=t.match(/worklet_(\d+):(\d+):(\d+)/g);let n=t;return e==null||e.forEach(r=>{const[,i,a,s]=r.split(/:|_/).map(Number),o=Zy.get(i);if(!o)return;const[l,u,c]=o,[A,d,f]=Jy(l),p=a+d+u,h=s+f+c;n=n.replace(r,`${A}:${p}:${h}`)}),n}function tI({message:t,stack:e}){const n=new Error;n.message=t,n.stack=e?eI(e):void 0,n.name="ReanimatedError",n.jsEngine="reanimated",global.ErrorUtils.reportFatalError(n)}const Ig=Ke(),wg=Symbol("shareable flag"),Nu=Ig?null:new WeakMap,Qt=Ig?{set(){},get(){return null}}:{set(t,e){Nu.set(t,e||wg)},get:Nu.get.bind(Nu)},k0=Ke(),nI="REANIMATED_MAGIC_KEY";function Sg(t){"worklet";return nI in t}function rI(t){return Object.getPrototypeOf(t)===Object.prototype}const iI={__init:()=>{"worklet";return new Proxy({},{get:(t,e)=>{if(e==="_isReanimatedSharedValue"||e==="__remoteFunction")return!1;throw new Error(`[Reanimated] Trying to access property \`${String(e)}\` of an object which cannot be sent to the UI runtime.`)},set:()=>{throw new Error("[Reanimated] Trying to write to an object which cannot be sent to the UI runtime.")}})}},aI=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array","DataView"],hf=30;let Gu;function He(t,e=!1,n=0){if(k0)return t;if(n>=hf){if(n===hf)Gu=t;else if(t===Gu)throw new Error("[Reanimated] Trying to convert a cyclic object to a shareable. This is not supported.")}else Gu=void 0;const r=typeof t,i=r==="object",a=r==="function";if((i||a)&&t!==null){const s=Qt.get(t);if(s===wg)return t;if(s!==void 0)return s;{let o;if(Array.isArray(t))o=t.map(u=>He(u,e,n+1));else if(a&&!wo(t))o=t;else if(Sg(t))o=t;else if(rI(t)||a){o={},wo(t)&&(t.__stackDetails&&delete t.__stackDetails,o.__initData=He(t.__initData,!0,n+1));for(const[u,c]of Object.entries(t))u==="__initData"&&o.__initData!==void 0||(o[u]=He(c,e,n+1))}else if(t instanceof RegExp){const u=t.source,c=t.flags,A=He({__init:()=>{"worklet";return new RegExp(u,c)}});return Qt.set(t,A),A}else if(t instanceof Error){const{name:u,message:c,stack:A}=t,d=He({__init:()=>{"worklet";const f=new Error;return f.name=u,f.message=c,f.stack=A,f}});return Qt.set(t,d),d}else if(t instanceof ArrayBuffer)o=t;else if(ArrayBuffer.isView(t)){const u=t.buffer,c=t.constructor.name,A=He({__init:()=>{"worklet";if(!aI.includes(c))throw new Error(`[Reanimated] Invalid array view name \`${c}\`.`);const d=global[c];if(d===void 0)throw new Error(`[Reanimated] Constructor for \`${c}\` not found.`);return new d(u)}});return Qt.set(t,A),A}else{const u=He(iI);return Qt.set(t,u),u}const l=Xe.makeShareableClone(o,e,t);return Qt.set(t,l),Qt.set(l),l}}return Xe.makeShareableClone(t,e,void 0)}function sI(t){"worklet";return!!t.__remoteFunction}function B0(t){"worklet";if(k0)return t;function e(n){if(typeof n=="object"&&n!==null||typeof n=="function"){if(Sg(n))return global._makeShareableClone(n,void 0);if(sI(n))return n.__remoteFunction;if(Array.isArray(n))return global._makeShareableClone(n.map(e),void 0);const r={};for(const[i,a]of Object.entries(n))r[i]=e(a);return global._makeShareableClone(r,n)}return global._makeShareableClone(n,void 0)}return e(t)}function oI(t){return t}function lI(t){if(Qt.get(t))return t;const e=He({__init:()=>{"worklet";return t}});return Qt.set(t,e),t}const nl=k0?oI:lI,uI=_t(),bg=Ke();let ys=[];function cI(){"worklet";let t=[],e=!1;global.queueMicrotask=n=>{t.push(n)},global.__callMicrotasks=()=>{if(!e)try{e=!0;for(let n=0;n<t.length;n+=1)t[n]();t=[],global._maybeFlushUIUpdatesQueue()}finally{e=!1}}}function dI(){"worklet";global.__callMicrotasks()}const N0=bg?()=>{}:dI;function Gn(t){"worklet";return(...e)=>{if(uI){Xe.scheduleOnUI(He(()=>{"worklet";t(...e)}));return}ys.push([t,e]),ys.length===1&&queueMicrotask(()=>{const n=ys;ys=[],Xe.scheduleOnUI(He(()=>{"worklet";n.forEach(([r,i])=>{r(...i)}),N0()}))})}}function _g(t){return(...e)=>Xe.executeOnUIRuntimeSync(He(()=>{"worklet";const n=t(...e);return B0(n)}))}function G0(t){"worklet";return(...e)=>{Xe.scheduleOnUI(He(()=>{"worklet";t(...e)}))}}function AI(t,...e){t(...e)}function Mn(t){"worklet";return bg||!_WORKLET?(...e)=>queueMicrotask(e.length?()=>t(...e):t):wo(t)?(...e)=>Mn(AI)(t,...e):(t.__remoteFunction&&(t=t.__remoteFunction),(...e)=>{global._scheduleOnJS(t,e.length>0?B0(e):void 0)})}const fI=_t(),hI=Ke(),pI=Qa();function vI(t,...e){"worklet";try{return t(...e)}catch(n){if(global.__ErrorUtils)global.__ErrorUtils.reportFatalError(n);else throw n}}function Dg(){"worklet";global.__callGuardDEV=vI,global.__ErrorUtils={reportFatalError:t=>{Mn(tI)({message:t.message,stack:t.stack})}}}const hi={...console};function Og(){"worklet";pI||(global.console={assert:Mn(hi.assert),debug:Mn(hi.debug),log:Mn(hi.log),warn:Mn(hi.warn),error:Mn(hi.error),info:Mn(hi.info)})}function gI(){"worklet";const t=global.requestAnimationFrame;let e=[],n=-1;global.__flushAnimationFrame=r=>{const i=e;e=[],i.forEach(a=>a(r)),N0()},global.requestAnimationFrame=r=>(e.push(r),e.length===1&&t(i=>{n>=i||(n=i,global.__frameTimestamp=i,global.__flushAnimationFrame(i),global.__frameTimestamp=void 0)}),-1)}function mI(){fI&&(globalThis.requestAnimationFrame=yg),G0(()=>{"worklet";Dg(),Og(),hI||(cI(),gI())})()}function So(t,e,n=!1){"worklet";const r=t._animation;if(r&&(r.cancelled=!0,t._animation=null),typeof e=="function"||e!==null&&typeof e=="object"&&e.onFrame!==void 0){const i=typeof e=="function"?e():e;if(t._value===i.current&&!i.isHigherOrder&&!n){i.callback&&i.callback(!0);return}const a=l=>{i.onStart(i,t.value,l,r)},s=global.__frameTimestamp||global._getAnimationTimestamp();a(s);const o=l=>{const u=l<(i.timestamp||0)?i.timestamp:l;if(i.cancelled){i.callback&&i.callback(!1);return}const c=i.onFrame(i,u);i.finished=!0,i.timestamp=u,t._value=i.current,c?i.callback&&i.callback(!0):requestAnimationFrame(o)};t._animation=i,o(s)}else{if(t._value===e&&!n)return;t._value=e}}const Zn=Ke();function CI(t){"worklet";const e=new Map;let n=t;const r={set value(i){So(r,i)},get value(){return n},set _value(i){n=i,e.forEach(a=>{a(i)})},get _value(){return n},modify:(i,a=!0)=>{So(r,i!==void 0?i(n):n,a)},addListener:(i,a)=>{e.set(i,a)},removeListener:i=>{e.delete(i)},_animation:null,_isReanimatedSharedValue:!0};return r}function Xn(t){let e=t;const n=He({__init:()=>{"worklet";return CI(t)}}),r=Zn?new Map:void 0,i={set value(a){Zn?So(i,a):Gn(()=>{i.value=a})()},get value(){return Zn?e:_g(s=>s.value)(i)},set _value(a){if(!Zn)throw new Error("[Reanimated] Setting `_value` directly is only possible on the UI runtime. Perhaps you want to assign to `value` instead?");e=a,r.forEach(s=>{s(a)})},get _value(){if(Zn)return e;throw new Error("[Reanimated] Reading from `_value` directly is only possible on the UI runtime. Perhaps you passed an Animated Style to a non-animated component?")},modify:(a,s=!0)=>{Zn?So(i,a!==void 0?a(i.value):i.value,s):Gn(()=>{i.modify(a,s)})()},addListener:(a,s)=>{if(!Zn)throw new Error("[Reanimated] Adding listeners is only possible on the UI runtime.");r.set(a,s)},removeListener:a=>{if(!Zn)throw new Error("[Reanimated] Removing listeners is only possible on the UI runtime.");r.delete(a)},_isReanimatedSharedValue:!0};return Qt.set(i,n),i}function da(t,e,n){return e=EI(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function EI(t){var e=xI(t,"string");return typeof e=="symbol"?e:e+""}function xI(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function yI(t){return t===je.ROTATION?Xn({qw:0,qx:0,qy:0,qz:0,yaw:0,pitch:0,roll:0,interfaceOrientation:0}):Xn({x:0,y:0,z:0,interfaceOrientation:0})}class II{constructor(e,n){da(this,"listenersNumber",0),da(this,"sensorId",null),da(this,"sensorType",void 0),da(this,"data",void 0),da(this,"config",void 0),this.sensorType=e,this.config=n,this.data=yI(e)}register(e){const n=this.config,r=this.sensorType;return this.sensorId=Xe.registerSensor(r,n.interval==="auto"?-1:n.interval,n.iosReferenceFrame,e),this.sensorId!==-1}isRunning(){return this.sensorId!==-1&&this.sensorId!==null}isAvailable(){return this.sensorId!==-1}getSharedValue(){return this.data}unregister(){this.sensorId!==null&&this.sensorId!==-1&&Xe.unregisterSensor(this.sensorId),this.sensorId=null}}function wI(t,e,n){return e=SI(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function SI(t){var e=bI(t,"string");return typeof e=="symbol"?e:e+""}function bI(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class _I{constructor(){wI(this,"nativeSensors",new Map)}getSensorId(e,n){return e*100+n.iosReferenceFrame*10+Number(n.adjustToInterfaceOrientation)}initializeSensor(e,n){const r=this.getSensorId(e,n);if(!this.nativeSensors.has(r)){const a=new II(e,n);this.nativeSensors.set(r,a)}return this.nativeSensors.get(r).getSharedValue()}registerSensor(e,n,r){const i=this.getSensorId(e,n);if(!this.nativeSensors.has(i))return-1;const a=this.nativeSensors.get(i);return a&&a.isAvailable()&&(a.isRunning()||a.register(r))?(a.listenersNumber++,i):-1}unregisterSensor(e){if(this.nativeSensors.has(e)){const n=this.nativeSensors.get(e);n&&n.isRunning()&&(n.listenersNumber--,n.listenersNumber===0&&n.unregister())}}}function Er(t){"worklet";return(t==null?void 0:t._isReanimatedSharedValue)===!0}const DI=_t();function OI(){"worklet";const t=new Map;let e=[],n=!1,r=!1;function i(){const l=new Map;t.forEach(d=>{if(d.outputs)for(const f of d.outputs){const p=l.get(f);p===void 0?l.set(f,[d]):p.push(d)}});const u=new Set,c=[];function A(d){u.add(d);for(const f of d.inputs){const p=l.get(f);if(p)for(const h of p)u.has(h)||A(h)}c.push(d)}t.forEach(d=>{u.has(d)||A(d)}),e=c}function a(){if(n=!1,!r)try{r=!0,t.size!==e.length&&i();for(const l of e)l.dirty&&(l.dirty=!1,l.worklet())}finally{r=!1}}function s(){DI?a():n||(r?requestAnimationFrame(a):queueMicrotask(a),n=!0)}function o(l,u){if(Array.isArray(l))for(const c of l)c&&o(c,u);else if(Er(l))u.push(l);else if(Object.getPrototypeOf(l)===Object.prototype)for(const c of Object.values(l))c&&o(c,u);return u}return{start:(l,u,c,A)=>{const d={id:l,dirty:!0,worklet:u,inputs:o(c,[]),outputs:A};t.set(d.id,d),e=[];for(const f of d.inputs)f.addListener(d.id,()=>{d.dirty=!0,s()});s()},stop:l=>{const u=t.get(l);if(u){t.delete(u.id),e=[];for(const c of u.inputs)c.removeListener(u.id)}}}}let TI=9999;function ds(t,e=[],n=[]){const r=TI+=1;return Gn(()=>{let i=global.__mapperRegistry;i===void 0&&(i=global.__mapperRegistry=OI()),i.start(r,t,e,n)})(),r}function Li(t){Gn(()=>{const e=global.__mapperRegistry;e==null||e.stop(t)})()}Ke();function PI(t,e){return Xe.createWorkletRuntime(t,He(()=>{"worklet";Dg(),Og(),e==null||e()}))}function RI(t,e){"worklet";return _WORKLET?(...n)=>global._scheduleOnRuntime(t,B0(()=>{"worklet";e(...n)})):(...n)=>Xe.scheduleOnRuntime(t,He(()=>{"worklet";e(...n)}))}const Tg=Ke(),Pg=()=>!0,FI=Pg;Tg&&(global._WORKLET=!1,global._log=console.log,global._getAnimationTimestamp=()=>performance.now());function MI(t,e,n){if(gn()&&!n)throw new Error("[Reanimated] Function `getViewProp` requires a component to be passed as an argument on Fabric.");return new Promise((r,i)=>Xe.getViewProp(t,e,n,a=>{typeof a=="string"&&a.substr(0,6)==="error:"?i(a):r(a)}))}function L0(){return global.__sensorContainer||(global.__sensorContainer=new _I),global.__sensorContainer}function Lu(t,e,n=-1){function r(i,a){"worklet";global.__frameTimestamp=i,t(a),global.__flushAnimationFrame(i),global.__frameTimestamp=void 0}return Xe.registerEventHandler(He(r),e,n)}function pf(t){return Xe.unregisterEventHandler(t)}function vf(t,e){function n(r,i){"worklet";const a=global._getAnimationTimestamp();global.__frameTimestamp=a,t(r,i),global.__flushAnimationFrame(a),global.__frameTimestamp=void 0}return Xe.subscribeForKeyboardEvents(He(n),e.isStatusBarTranslucentAndroid??!1)}function kI(t){return Xe.unsubscribeFromKeyboardEvents(t)}function BI(t,e,n){return L0().registerSensor(t,e,He(n))}function gf(t,e){return L0().initializeSensor(t,e)}function NI(t){return L0().unregisterSensor(t)}Nt()||mI();let Is={enableLayoutAnimations:!1,setByUser:!1};function Rg(t,e=!0){e?(Is={enableLayoutAnimations:t,setByUser:!0},Xe.enableLayoutAnimations(t)):!Is.setByUser&&Is.enableLayoutAnimations!==t&&(Is.enableLayoutAnimations=t,Xe.enableLayoutAnimations(t))}function GI(t){Xe.configureLayoutAnimationBatch(t)}function LI(t,e){Xe.setShouldAnimateExitingForTag(t,e)}function VI(t,e){Tg||Xe.configureProps(t,e)}const $e="[-+]?\\d*\\.?\\d+",Jn=$e+"%";function Vu(...t){return"\\(\\s*("+t.join(")\\s*,?\\s*(")+")\\s*\\)"}function mf(...t){return"\\(\\s*("+t.slice(0,t.length-1).join(")\\s*,?\\s*(")+")\\s*/\\s*("+t[t.length-1]+")\\s*\\)"}function Cf(...t){return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}const wn={rgb:new RegExp("rgb"+Vu($e,$e,$e)),rgba:new RegExp("rgba("+Cf($e,$e,$e,$e)+"|"+mf($e,$e,$e,$e)+")"),hsl:new RegExp("hsl"+Vu($e,Jn,Jn)),hsla:new RegExp("hsla("+Cf($e,Jn,Jn,$e)+"|"+mf($e,Jn,Jn,$e)+")"),hwb:new RegExp("hwb"+Vu($e,Jn,Jn)),hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex4:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/};function Pi(t,e,n){"worklet";return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Hu(t,e,n){"worklet";const r=n<.5?n*(1+e):n+e-n*e,i=2*n-r,a=Pi(i,r,t+1/3),s=Pi(i,r,t),o=Pi(i,r,t-1/3);return Math.round(a*255)<<24|Math.round(s*255)<<16|Math.round(o*255)<<8}function HI(t,e,n){"worklet";if(e+n>=1){const s=Math.round(e*255/(e+n));return s<<24|s<<16|s<<8}const r=Pi(0,1,t+1/3)*(1-e-n)+e,i=Pi(0,1,t)*(1-e-n)+e,a=Pi(0,1,t-1/3)*(1-e-n)+e;return Math.round(r*255)<<24|Math.round(i*255)<<16|Math.round(a*255)<<8}function Sn(t){"worklet";const e=Number.parseInt(t,10);return e<0?0:e>255?255:e}function ws(t){"worklet";return(Number.parseFloat(t)%360+360)%360/360}function Ss(t){"worklet";const e=Number.parseFloat(t);return e<0?0:e>1?255:Math.round(e*255)}function er(t){"worklet";const e=Number.parseFloat(t);return e<0?0:e>100?1:e/100}const Ef=nl({transparent:0,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,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,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,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}),UI=nl(["backgroundColor","borderBottomColor","borderColor","borderLeftColor","borderRightColor","borderTopColor","borderStartColor","borderEndColor","borderBlockColor","borderBlockEndColor","borderBlockStartColor","color","shadowColor","textDecorationColor","tintColor","textShadowColor","overlayColor"]);function WI(t){"worklet";if(typeof t=="number")return t>>>0===t&&t>=0&&t<=4294967295?t:null;if(typeof t!="string")return null;let e;return(e=wn.hex6.exec(t))?Number.parseInt(e[1]+"ff",16)>>>0:Ef[t]!==void 0?Ef[t]:(e=wn.rgb.exec(t))?(Sn(e[1])<<24|Sn(e[2])<<16|Sn(e[3])<<8|255)>>>0:(e=wn.rgba.exec(t))?e[6]!==void 0?(Sn(e[6])<<24|Sn(e[7])<<16|Sn(e[8])<<8|Ss(e[9]))>>>0:(Sn(e[2])<<24|Sn(e[3])<<16|Sn(e[4])<<8|Ss(e[5]))>>>0:(e=wn.hex3.exec(t))?Number.parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+"ff",16)>>>0:(e=wn.hex8.exec(t))?Number.parseInt(e[1],16)>>>0:(e=wn.hex4.exec(t))?Number.parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+e[4]+e[4],16)>>>0:(e=wn.hsl.exec(t))?(Hu(ws(e[1]),er(e[2]),er(e[3]))|255)>>>0:(e=wn.hsla.exec(t))?e[6]!==void 0?(Hu(ws(e[6]),er(e[7]),er(e[8]))|Ss(e[9]))>>>0:(Hu(ws(e[2]),er(e[3]),er(e[4]))|Ss(e[5]))>>>0:(e=wn.hwb.exec(t))?(HI(ws(e[1]),er(e[2]),er(e[3]))|255)>>>0:null}const Fg=t=>{"worklet";return(t>>24&255)/255},Mg=t=>{"worklet";return t>>16&255},kg=t=>{"worklet";return t>>8&255},Bg=t=>{"worklet";return t&255},XI=Nt(),Ng=Wy(),wd=(t,e,n,r=1)=>{"worklet";if(XI||!_WORKLET)return`rgba(${t}, ${e}, ${n}, ${r})`;const i=Math.round(r*255)*(1<<24)+Math.round(t)*65536+Math.round(e)*256+Math.round(n);return Ng?i<1<<31>>>0?i:i-4294967296:i};function YI(t,e,n){"worklet";const r=Math.max(t,e,n),i=Math.min(t,e,n),a=r-i,s=r===0?0:a/r,o=r/255;let l=0;switch(r){case i:break;case t:l=e-n+a*(e<n?6:0),l/=6*a;break;case e:l=n-t+a*2,l/=6*a;break;case n:l=t-e+a*4,l/=6*a;break}return{h:l,s,v:o}}function zI(t,e,n){"worklet";let r,i,a;const s=Math.floor(t*6),o=t*6-s,l=n*(1-e),u=n*(1-o*e),c=n*(1-(1-o)*e);switch(s%6){case 0:[r,i,a]=[n,c,l];break;case 1:[r,i,a]=[u,n,l];break;case 2:[r,i,a]=[l,n,c];break;case 3:[r,i,a]=[l,u,n];break;case 4:[r,i,a]=[c,l,n];break;case 5:[r,i,a]=[n,l,u];break}return{r:Math.round(r*255),g:Math.round(i*255),b:Math.round(a*255)}}const KI=(t,e,n,r)=>{"worklet";const{r:i,g:a,b:s}=zI(t,e,n);return wd(i,a,s,r)};function V0(t){"worklet";if(t==null||typeof t=="number")return t;let e=WI(t);if(e!=null)return typeof e!="number"?null:(e=(e<<24|e>>>8)>>>0,e)}function Sd(t){"worklet";return typeof t!="string"?!1:V0(t)!=null}function rl(t){"worklet";let e=V0(t);if(e!=null)return typeof e!="number"?null:(Ng&&(e=e|0),e)}function $I(t){"worklet";for(const e in t)UI.includes(e)&&(t[e]=rl(t[e]))}function ka(t){"worklet";const e=V0(t),n=(e>>>24)/255,r=(e<<8>>>24)/255,i=(e<<16>>>24)/255,a=(e<<24>>>24)/255;return[r,i,a,n]}function xf(t){"worklet";return`rgba(${Math.round(t[0]*255)}, ${Math.round(t[1]*255)}, ${Math.round(t[2]*255)}, ${t[3]})`}function bs(t,e=2.2){"worklet";const n=[];for(let r=0;r<3;++r)n.push(Math.pow(t[r],e));return n.push(t[3]),n}function yf(t,e=2.2){"worklet";const n=[];for(let r=0;r<3;++r)n.push(Math.pow(t[r],1/e));return n.push(t[3]),n}let Ln;Ke()?Ln=(t,e,n,r)=>{"worklet";n&&n.items.forEach((i,a)=>{tl(e,i,r)})}:Ln=(t,e)=>{"worklet";$I(e),global.UpdatePropsManager.update(t,e)};const If=(t,e,n,r,i)=>{i.forEach(a=>{a(e)}),r.current.value={...r.current.value,...e},Ln(t,e,n)},qI=gn()?()=>{"worklet";const t=[];return{update(e,n){e.value.forEach(r=>{t.push({shadowNodeWrapper:r.shadowNodeWrapper,updates:n}),t.length===1&&queueMicrotask(this.flush)})},flush(){global._updatePropsFabric(t),t.length=0}}}:()=>{"worklet";const t=[];return{update(e,n){e.value.forEach(r=>{t.push({tag:r.tag,name:r.name||"RCTView",updates:n}),t.length===1&&queueMicrotask(this.flush)})},flush(){global._updatePropsPaper(t),t.length=0}}};if(Ke()){const t=()=>{if(!_t())throw new Error("[Reanimated] `UpdatePropsManager` is not available on non-native platform.")};global.UpdatePropsManager=new Proxy({},{get:t,set:()=>(t(),!1)})}else G0(()=>{"worklet";global.UpdatePropsManager=qI()})();function il(t){"worklet";return Array.isArray(t)&&t.length===16&&t.every(e=>typeof e=="number"&&!isNaN(e))}function jI(t){"worklet";return Array.isArray(t)&&t.length===4&&t.every(e=>Array.isArray(e)&&e.length===4&&e.every(n=>typeof n=="number"&&!isNaN(n)))}function H0(t){"worklet";return t.flat()}function U0(t){"worklet";return[[t[0],t[1],t[2],t[3]],[t[4],t[5],t[6],t[7]],[t[8],t[9],t[10],t[11]],[t[12],t[13],t[14],t[15]]]}function Vi(t){"worklet";return jI(t)?H0(t):t}function Aa(t,e){"worklet";return[[t[0][0]*e[0][0]+t[0][1]*e[1][0]+t[0][2]*e[2][0]+t[0][3]*e[3][0],t[0][0]*e[0][1]+t[0][1]*e[1][1]+t[0][2]*e[2][1]+t[0][3]*e[3][1],t[0][0]*e[0][2]+t[0][1]*e[1][2]+t[0][2]*e[2][2]+t[0][3]*e[3][2],t[0][0]*e[0][3]+t[0][1]*e[1][3]+t[0][2]*e[2][3]+t[0][3]*e[3][3]],[t[1][0]*e[0][0]+t[1][1]*e[1][0]+t[1][2]*e[2][0]+t[1][3]*e[3][0],t[1][0]*e[0][1]+t[1][1]*e[1][1]+t[1][2]*e[2][1]+t[1][3]*e[3][1],t[1][0]*e[0][2]+t[1][1]*e[1][2]+t[1][2]*e[2][2]+t[1][3]*e[3][2],t[1][0]*e[0][3]+t[1][1]*e[1][3]+t[1][2]*e[2][3]+t[1][3]*e[3][3]],[t[2][0]*e[0][0]+t[2][1]*e[1][0]+t[2][2]*e[2][0]+t[2][3]*e[3][0],t[2][0]*e[0][1]+t[2][1]*e[1][1]+t[2][2]*e[2][1]+t[2][3]*e[3][1],t[2][0]*e[0][2]+t[2][1]*e[1][2]+t[2][2]*e[2][2]+t[2][3]*e[3][2],t[2][0]*e[0][3]+t[2][1]*e[1][3]+t[2][2]*e[2][3]+t[2][3]*e[3][3]],[t[3][0]*e[0][0]+t[3][1]*e[1][0]+t[3][2]*e[2][0]+t[3][3]*e[3][0],t[3][0]*e[0][1]+t[3][1]*e[1][1]+t[3][2]*e[2][1]+t[3][3]*e[3][1],t[3][0]*e[0][2]+t[3][1]*e[1][2]+t[3][2]*e[2][2]+t[3][3]*e[3][2],t[3][0]*e[0][3]+t[3][1]*e[1][3]+t[3][2]*e[2][3]+t[3][3]*e[3][3]]]}function QI(t,e){"worklet";const n=il(t),r=Vi(t),i=Vi(e),a=r.map((s,o)=>r[o]-i[o]);return n?a:U0(a)}function ZI(t,e){"worklet";const n=il(t),r=Vi(t),i=Vi(e),a=r.map((s,o)=>r[o]+i[o]);return n?a:U0(a)}function JI(t,e){"worklet";const n=il(t),i=Vi(t).map(a=>a*e);return n?i:U0(i)}function ew(t,e="z"){"worklet";const n=Math.cos(t),r=Math.sin(t);switch(e){case"z":return[[n,r,0,0],[-r,n,0,0],[0,0,1,0],[0,0,0,1]];case"y":return[[n,0,-r,0],[0,1,0,0],[r,0,n,0],[0,0,0,1]];case"x":return[[1,0,0,0],[0,n,r,0],[0,-r,n,0],[0,0,0,1]]}}function Uu(t,e,n){"worklet";return Math.sqrt(t*t+e*e+n*n)}function wf(t){"worklet";const e=H0(t);return[[e[0],e[4],e[8],e[12]],[e[1],e[5],e[9],e[13]],[e[2],e[6],e[10],e[14]],[e[3],e[7],e[11],e[15]]]}function Mt(t,e){"worklet";return t.reduce((n,r,i)=>n+t[i]*e[i],0)}function pi(t,e){"worklet";const n=Mt(t,e)/Mt(t,t);return t.map(r=>r*n)}function vi(t,e){"worklet";return t.map((n,r)=>t[r]-e[r])}function tw(t,e){"worklet";return t.map(n=>n*e)}function nw(t){"worklet";const[e,n,r,i]=t,a=e,s=vi(n,pi(a,n)),o=vi(vi(r,pi(a,r)),pi(s,r)),l=vi(vi(vi(i,pi(a,i)),pi(s,i)),pi(o,i)),[u,c,A,d]=[a,s,o,l].map(h=>tw(h,1/Math.sqrt(Mt(h,h)))),f=[[u[0],c[0],A[0],d[0]],[u[1],c[1],A[1],d[1]],[u[2],c[2],A[2],d[2]],[u[3],c[3],A[3],d[3]]],p=[[Mt(u,e),Mt(u,n),Mt(u,r),Mt(u,i)],[0,Mt(c,n),Mt(c,r),Mt(c,i)],[0,0,Mt(A,r),Mt(A,i)],[0,0,0,Mt(d,i)]];return{rotationMatrix:wf(f),skewMatrix:wf(p)}}function rw(t){"worklet";const e=Vi(t);if(e[15]===0)throw new Error("[Reanimated] Invalid transform matrix.");e.forEach((c,A)=>e[A]/=e[15]);const n=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[e[12],e[13],e[14],1]],r=e[15]*Uu(e[0],e[4],e[8]),i=e[15]*Uu(e[1],e[5],e[9]),a=e[15]*Uu(e[2],e[6],e[10]),s=[[r,0,0,0],[0,i,0,0],[0,0,a,0],[0,0,0,1]],o=[[e[0]/r,e[1]/r,e[2]/r,0],[e[4]/i,e[5]/i,e[6]/i,0],[e[8]/a,e[9]/a,e[10]/a,0],[0,0,0,1]],{rotationMatrix:l,skewMatrix:u}=nw(o);return{translationMatrix:n,scaleMatrix:s,rotationMatrix:l,skewMatrix:u}}function Sf(t){"worklet";const{scaleMatrix:e,rotationMatrix:n,translationMatrix:r,skewMatrix:i}=rw(t),a=-n[0][2],s=Math.asin(a);let o,l;return a===1||a===-1?(l=0,o=Math.atan2(a*n[0][1],a*n[0][2])):(l=Math.atan2(n[0][1],n[0][0]),o=Math.atan2(n[1][2],n[2][2])),{scaleMatrix:e,rotationMatrix:n,translationMatrix:r,skewMatrix:i,rx:o||0,ry:s||0,rz:l||0}}let bd=!1;const iw=Io(),aw=Ke();function W0(t){bd=!0;const e=t();return bd=!1,e}function Ri(t){"worklet";if(typeof t=="string"){const e=t.match(/([A-Za-z]*)(-?\d*\.?\d*)([eE][-+]?[0-9]+)?([A-Za-z%]*)/);if(!e)throw new Error("[Reanimated] Couldn't parse animation value.");const n=e[1],r=e[4],i=e[2]+(e[3]??"");return{prefix:n,suffix:r,strippedValue:parseFloat(i)}}else return{strippedValue:t}}function ei(t){"worklet";return!t||t===Cr.System?iw:t===Cr.Always}function xr(t){"worklet";if(t)return ei(t)}function sw(t,e,n){"worklet";return ZI(e,JI(QI(n,e),t))}function ow(t,e,n){"worklet";return e+t*(n-e)}function lw(t){"worklet";const e=t.onStart,n=t.onFrame;if(t.isHigherOrder){t.onStart=(h,v,E,C)=>(h.reduceMotion===void 0&&(h.reduceMotion=ei()),e(h,v,E,C));return}const r=Object.assign({},t);delete r.callback;const i=(h,v,E,C)=>{const{prefix:m,suffix:g,strippedValue:y}=Ri(v);h.__prefix=m,h.__suffix=g,h.strippedCurrent=y;const{strippedValue:x}=Ri(h.toValue);if(h.current=y,h.startValue=y,h.toValue=x,C&&C!==h){const{prefix:w,suffix:S,strippedValue:D}=Ri(C.current);C.current=D,C.__prefix=w,C.__suffix=S}e(h,y,E,C),h.current=(h.__prefix??"")+h.current+(h.__suffix??""),C&&C!==h&&(C.current=(C.__prefix??"")+C.current+(C.__suffix??""))},a=(h,v)=>{h.current=h.strippedCurrent;const E=n(h,v);return h.strippedCurrent=h.current,h.current=(h.__prefix??"")+h.current+(h.__suffix??""),E},s=["R","G","B","A"],o=(h,v,E,C)=>{let m,g,y;const x=[];Sd(v)&&(g=bs(ka(h.current)),m=bs(ka(v)),h.toValue&&(y=bs(ka(h.toValue)))),s.forEach((w,S)=>{h[w]=Object.assign({},r),h[w].current=g[S],h[w].toValue=y?y[S]:void 0,h[w].onStart(h[w],m[S],E,C?C[w]:void 0),x.push(h[w].current)}),h.current=xf(yf(x))},l=(h,v)=>{const E=bs(ka(h.current)),C=[];let m=!0;return s.forEach((g,y)=>{h[g].current=E[y];const x=h[g].onFrame(h[g],v);m=m&&x,C.push(h[g].current)}),h.current=xf(yf(C)),m},u=(h,v,E,C)=>{const m=h.toValue;h.startMatrices=Sf(v),h.stopMatrices=Sf(m),h[0]=Object.assign({},r),h[0].current=0,h[0].toValue=100,h[0].onStart(h[0],0,E,C?C[0]:void 0),h.current=v},c=(h,v)=>{let E=!0;const C=h[0].onFrame(h[0],v);E=E&&C;const m=h[0].current/100,g=["translationMatrix","scaleMatrix","skewMatrix"],y=[];g.forEach((F,H)=>y.push(sw(m,h.startMatrices[F],h.stopMatrices[F])));const[x,w,S]=y,D=["x","y","z"],I=[];D.forEach((F,H)=>{const k=ow(m,h.startMatrices["r"+F],h.stopMatrices["r"+F]);I.push(ew(k,F))});const[_,O,T]=I,R=Aa(_,Aa(O,T)),P=H0(Aa(Aa(w,Aa(S,R)),x));return h.current=P,E},A=(h,v,E,C)=>{v.forEach((m,g)=>{h[g]=Object.assign({},r),h[g].current=m,h[g].toValue=h.toValue[g],h[g].onStart(h[g],m,E,C?C[g]:void 0)}),h.current=v},d=(h,v)=>{let E=!0;return h.current.forEach((C,m)=>{const g=h[m].onFrame(h[m],v);E=E&&g,h.current[m]=h[m].current}),E},f=(h,v,E,C)=>{for(const m in v)h[m]=Object.assign({},r),h[m].onStart=h.onStart,h[m].current=v[m],h[m].toValue=h.toValue[m],h[m].onStart(h[m],v[m],E,C?C[m]:void 0);h.current=v},p=(h,v)=>{let E=!0;const C={};for(const m in h.current){const g=h[m].onFrame(h[m],v);E=E&&g,C[m]=h[m].current}return h.current=C,E};t.onStart=(h,v,E,C)=>{if(h.reduceMotion===void 0&&(h.reduceMotion=ei()),h.reduceMotion){h.toValue!==void 0?h.current=h.toValue:e(h,v,E,C),h.startTime=0,h.onFrame=()=>!0;return}if(Sd(v)){o(h,v,E,C),h.onFrame=l;return}else if(il(v)){u(h,v,E,C),h.onFrame=c;return}else if(Array.isArray(v)){A(h,v,E,C),h.onFrame=d;return}else if(typeof v=="string"){i(h,v,E,C),h.onFrame=a;return}else if(typeof v=="object"&&v!==null){f(h,v,E,C),h.onFrame=p;return}e(h,v,E,C)}}function Yn(t,e){"worklet";if(bd)return t;const n=()=>{"worklet";const r=e();return lw(r),r};return _WORKLET||aw?n():n}function Gg(t){"worklet";t.value=t.value}const uw=4,cw=.001,dw=1e-7,Aw=10,co=11,_s=1/(co-1);function Lg(t,e){"worklet";return 1-3*e+3*t}function Vg(t,e){"worklet";return 3*e-6*t}function Hg(t){"worklet";return 3*t}function bo(t,e,n){"worklet";return((Lg(e,n)*t+Vg(e,n))*t+Hg(e))*t}function Ug(t,e,n){"worklet";return 3*Lg(e,n)*t*t+2*Vg(e,n)*t+Hg(e)}function fw(t,e,n,r,i){"worklet";let a,s,o=0;do s=e+(n-e)/2,a=bo(s,r,i)-t,a>0?n=s:e=s;while(Math.abs(a)>dw&&++o<Aw);return s}function hw(t,e,n,r){"worklet";for(let i=0;i<uw;++i){const a=Ug(e,n,r);if(a===0)return e;const s=bo(e,n,r)-t;e-=s/a}return e}function X0(t,e,n,r){"worklet";function i(o){"worklet";return o}if(!(t>=0&&t<=1&&n>=0&&n<=1))throw new Error("[Reanimated] Bezier x values must be in [0, 1] range.");if(t===e&&n===r)return i;const a=new Array(co);for(let o=0;o<co;++o)a[o]=bo(o*_s,t,n);function s(o){"worklet";let l=0,u=1;const c=co-1;for(;u!==c&&a[u]<=o;++u)l+=_s;--u;const A=(o-a[u])/(a[u+1]-a[u]),d=l+A*_s,f=Ug(d,t,n);return f>=cw?hw(o,d,t,n):f===0?d:fw(o,l,l+_s,t,n)}return function(l){"worklet";return t===e&&n===r?l:l===0?0:l===1?1:bo(s(l),e,r)}}function pw(t){"worklet";return t}function vw(t){"worklet";return X0(.42,0,1,1)(t)}function gw(t){"worklet";return t*t}function mw(t){"worklet";return t*t*t}function Cw(t){"worklet";return e=>{"worklet";return Math.pow(e,t)}}function Ew(t){"worklet";return 1-Math.cos(t*Math.PI/2)}function xw(t){"worklet";return 1-Math.sqrt(1-t*t)}function yw(t){"worklet";return Math.pow(2,10*(t-1))}function Iw(t=1){"worklet";const e=t*Math.PI;return n=>{"worklet";return 1-Math.pow(Math.cos(n*Math.PI/2),3)*Math.cos(n*e)}}function ww(t=1.70158){"worklet";return e=>{"worklet";return e*e*((t+1)*e-t)}}function Sw(t){"worklet";if(t<1/2.75)return 7.5625*t*t;if(t<2/2.75){const n=t-.5454545454545454;return 7.5625*n*n+.75}if(t<2.5/2.75){const n=t-.8181818181818182;return 7.5625*n*n+.9375}const e=t-2.625/2.75;return 7.5625*e*e+.984375}function bw(t,e,n,r){"worklet";return{factory:()=>{"worklet";return X0(t,e,n,r)}}}function _w(t,e,n,r){"worklet";return X0(t,e,n,r)}function Dw(t){"worklet";return t}function Ow(t){"worklet";return e=>{"worklet";return 1-t(1-e)}}function Tw(t){"worklet";return e=>{"worklet";return e<.5?t(e*2)/2:1-t((1-e)*2)/2}}function Pw(t=10,e=!0){"worklet";return n=>{"worklet";const r=Math.min(Math.max(n,0),1)*t;return e?Math.ceil(r)/t:Math.floor(r)/t}}const Rw={linear:pw,ease:vw,quad:gw,cubic:mw,poly:Cw,sin:Ew,circle:xw,exp:yw,elastic:Iw,back:ww,bounce:Sw,bezier:bw,bezierFn:_w,steps:Pw,in:Dw,out:Ow,inOut:Tw},lt=Rw,j=function(t,e,n){"worklet";return Yn(t,()=>{"worklet";const r={duration:300,easing:lt.inOut(lt.quad)};e&&Object.keys(e).forEach(s=>r[s]=e[s]);function i(s,o){const{toValue:l,startTime:u,startValue:c}=s,A=o-u;if(A>=r.duration)return s.startTime=0,s.current=l,!0;const d=s.easing(A/r.duration);return s.current=c+(l-c)*d,!1}function a(s,o,l,u){u&&u.type==="timing"&&u.toValue===t&&u.startTime?(s.startTime=u.startTime,s.startValue=u.startValue):(s.startTime=l,s.startValue=o),s.current=o,typeof r.easing=="object"?s.easing=r.easing.factory():s.easing=r.easing}return{type:"timing",onFrame:i,onStart:a,progress:0,toValue:t,startValue:0,startTime:0,easing:()=>0,current:t,callback:n,reduceMotion:xr(e==null?void 0:e.reduceMotion)}})};function Fw(t){"worklet";var e,n;let r="";return["stiffness","damping","dampingRatio","restDisplacementThreshold","restSpeedThreshold","mass"].forEach(i=>{const a=t[i];a<=0&&(r+=`, ${i} must be grater than zero but got ${a}`)}),t.duration<0&&(r+=`, duration can't be negative, got ${t.duration}`),(e=t.clamp)!==null&&e!==void 0&&e.min&&(n=t.clamp)!==null&&n!==void 0&&n.max&&t.clamp.min>t.clamp.max&&(r+=`, clamp.min should be lower than clamp.max, got clamp: {min: ${t.clamp.min}, max: ${t.clamp.max}} `),r!==""&&console.warn("[Reanimated] Invalid spring config"+r),r===""}function Mw({min:t,max:e,func:n,maxIterations:r=20}){"worklet";let a=r,s=(e+t)/2;for(;Math.abs(n(s))>5e-5&&a>0;)a-=1,n(s)<0?t=s:e=s,s=(t+e)/2;return s}function kw(t=0,e){"worklet";if(e.skipAnimation)return{zeta:0,omega0:0,omega1:0};if(e.useDuration){const{stiffness:n,dampingRatio:r}=e,i=Math.sqrt(n/t),a=i*Math.sqrt(1-r**2);return{zeta:r,omega0:i,omega1:a}}else{const{damping:n,mass:r,stiffness:i}=e,a=n/(2*Math.sqrt(i*r)),s=Math.sqrt(i/r),o=s*Math.sqrt(1-a**2);return{zeta:a,omega0:s,omega1:o}}}function Bw(t,e){"worklet";const{zeta:n,toValue:r,startValue:i}=t,a=Number(r);if(a===i)return n;const[s,o]=a-i>0?[e.min,e.max]:[e.max,e.min],l=o!==void 0?Math.abs((o-a)/(a-i)):void 0,u=s!==void 0?Math.abs((s-a)/(a-i)):void 0,c=l!==void 0?Math.abs(Math.log(l)/Math.PI):void 0,A=u!==void 0?Math.abs(Math.log(u)/(2*Math.PI)):void 0,d=[c,A].filter(f=>f!==void 0);return Math.max(...d,n)}function Nw(t,e,n){"worklet";if(e.skipAnimation)return 0;const{stiffness:r,dampingRatio:i,restSpeedThreshold:a,duration:s}=e;return Mw({min:0,max:100,func:l=>{"worklet";const u=(l*n*n+r*t*t)/(Math.exp(1-.5*i)*r),c=i*2*Math.sqrt(r*l);return 1e3*(-2*l/c)*Math.log(a*.01/u)-s}})}function Gw(t,e){"worklet";const{toValue:n}=t,{v0:r,x0:i,omega0:a,t:s}=e,o=Math.exp(-a*s),l=n-o*(i+(r+a*i)*s),u=o*(r*(s*a-1)+s*i*a*a);return{position:l,velocity:u}}function Lw(t,e){"worklet";const{toValue:n,current:r,velocity:i}=t,{zeta:a,t:s,omega0:o,omega1:l}=e,u=-i,c=n-r,A=Math.sin(l*s),d=Math.cos(l*s),f=Math.exp(-a*o*s),p=f*(A*((u+a*o*c)/l)+c*d),h=n-p,v=a*o*p-f*(d*(u+a*o*c)-l*c*A);return{position:h,velocity:v}}function Vw(t,e){"worklet";const{toValue:n,velocity:r,startValue:i,current:a}=t,s=e.overshootClamping?a>n&&i<n||a<n&&i>n:!1,o=Math.abs(r)<e.restSpeedThreshold,l=Math.abs(n-a)<e.restDisplacementThreshold;return{isOvershooting:s,isVelocity:o,isDisplacement:l}}const Wg=(t,e,n)=>{"worklet";return Yn(t,()=>{"worklet";const i={...{damping:10,mass:1,stiffness:100,overshootClamping:!1,restDisplacementThreshold:.01,restSpeedThreshold:2,velocity:0,duration:2e3,dampingRatio:.5,reduceMotion:void 0,clamp:void 0},...e,useDuration:!!(e!=null&&e.duration||e!=null&&e.dampingRatio),skipAnimation:!1};i.skipAnimation=!Fw(i),i.duration===0&&(i.skipAnimation=!0);function a(l,u){const{toValue:c,startTimestamp:A,current:d}=l,f=u-A;if(i.useDuration&&f>=i.duration||i.skipAnimation)return l.current=c,l.lastTimestamp=0,!0;const{lastTimestamp:p,velocity:h}=l,v=Math.min(u-p,64);l.lastTimestamp=u;const E=v/1e3,C=-h,m=c-d,{zeta:g,omega0:y,omega1:x}=l,{position:w,velocity:S}=g<1?Lw(l,{zeta:g,v0:C,x0:m,omega0:y,omega1:x,t:E}):Gw(l,{v0:C,x0:m,omega0:y,t:E});l.current=w,l.velocity=S;const{isOvershooting:D,isVelocity:I,isDisplacement:_}=Vw(l,i),O=D||I&&_;return!i.useDuration&&O?(l.velocity=0,l.current=c,l.lastTimestamp=0,!0):!1}function s(l,u){return(l==null?void 0:l.lastTimestamp)&&(l==null?void 0:l.startTimestamp)&&(l==null?void 0:l.toValue)===u.toValue&&(l==null?void 0:l.duration)===u.duration&&(l==null?void 0:l.dampingRatio)===u.dampingRatio}function o(l,u,c,A){l.current=u,l.startValue=u;let d=i.mass;const f=s(A,l),p=i.duration,h=f?A==null?void 0:A.startValue:Number(l.toValue)-u;if(A?l.velocity=(f?A==null?void 0:A.velocity:(A==null?void 0:A.velocity)+i.velocity)||0:l.velocity=i.velocity||0,f)l.zeta=(A==null?void 0:A.zeta)||0,l.omega0=(A==null?void 0:A.omega0)||0,l.omega1=(A==null?void 0:A.omega1)||0;else{if(i.useDuration){const m=f?p-(((A==null?void 0:A.lastTimestamp)||0)-((A==null?void 0:A.startTimestamp)||0)):p;i.duration=m,d=Nw(h,i,l.velocity)}const{zeta:v,omega0:E,omega1:C}=kw(d,i);l.zeta=v,l.omega0=E,l.omega1=C,i.clamp!==void 0&&(l.zeta=Bw(l,i.clamp))}l.lastTimestamp=(A==null?void 0:A.lastTimestamp)||c,l.startTimestamp=f&&(A==null?void 0:A.startTimestamp)||c}return{onFrame:a,onStart:o,toValue:t,velocity:i.velocity||0,current:t,startValue:0,callback:n,lastTimestamp:0,startTimestamp:0,zeta:0,omega0:0,omega1:0,reduceMotion:xr(i.reduceMotion)}})},Hw=Nt(),Xg=Hw?1/20:1,Yg=.1;function Uw(t){"worklet";return!!t.rubberBandEffect&&Array.isArray(t.clamp)&&t.clamp.length===2}const Ww=.1;function Xw(t,e,n){"worklet";const{lastTimestamp:r,startTimestamp:i,current:a,velocity:s}=t,o=Math.min(e-r,64),l=Math.abs(a-n.clamp[0])<Math.abs(a-n.clamp[1])?0:1;let u=0;(a<n.clamp[0]||a>n.clamp[1])&&(u=a-n.clamp[l]);const c=s*Math.exp(-(1-n.deceleration)*(e-i)*Yg)-u*n.rubberBandFactor;if(Math.abs(u)>Ww)t.springActive=!0;else{if(t.springActive)return t.current=n.clamp[l],!0;if(Math.abs(c)<Xg)return!0}return t.current=a+c*n.velocityFactor*o/1e3,t.velocity=c,t.lastTimestamp=e,!1}function Yw(t,e,n){"worklet";const{lastTimestamp:r,startTimestamp:i,initialVelocity:a,current:s,velocity:o}=t,l=Math.min(e-r,64),u=o*Math.exp(-(1-n.deceleration)*(e-i)*Yg);if(t.current=s+u*n.velocityFactor*l/1e3,t.velocity=u,t.lastTimestamp=e,n.clamp){if(a<0&&t.current<=n.clamp[0])return t.current=n.clamp[0],!0;if(a>0&&t.current>=n.clamp[1])return t.current=n.clamp[1],!0}return Math.abs(u)<Xg}function zw(t){"worklet";if(t.clamp){if(!Array.isArray(t.clamp))throw new Error(`[Reanimated] \`config.clamp\` must be an array but is ${typeof t.clamp}.`);if(t.clamp.length!==2)throw new Error(`[Reanimated] \`clamp array\` must contain 2 items but is given ${t.clamp.length}.`)}if(t.velocityFactor<=0)throw new Error(`[Reanimated] \`config.velocityFactor\` must be greather then 0 but is ${t.velocityFactor}.`);if(t.rubberBandEffect&&!t.clamp)throw new Error("[Reanimated] You need to set `clamp` property when using `rubberBandEffect`.")}const Kw=function(t,e){"worklet";return Yn(0,()=>{"worklet";const n={deceleration:.998,velocityFactor:1,velocity:0,rubberBandFactor:.6};t&&Object.keys(t).forEach(a=>n[a]=t[a]);const r=Uw(n)?(a,s)=>Xw(a,s,n):(a,s)=>Yw(a,s,n);function i(a,s,o){a.current=s,a.lastTimestamp=o,a.startTimestamp=o,a.initialVelocity=n.velocity,zw(n),a.reduceMotion&&n.clamp&&(s<n.clamp[0]?a.current=n.clamp[0]:s>n.clamp[1]&&(a.current=n.clamp[1]))}return{onFrame:r,onStart:i,callback:e,velocity:n.velocity??0,initialVelocity:0,current:0,lastTimestamp:0,startTimestamp:0,reduceMotion:xr(n.reduceMotion)}})},$w=function(t,e){"worklet";return Yn(e,()=>{"worklet";const n=typeof e=="function"?e():e,r=t.min===void 0?void 0:Ri(t.min).strippedValue,i=t.max===void 0?void 0:Ri(t.max).strippedValue;function a(l,u){const c=n.onFrame(n,u);if(n.current===void 0)return console.warn("[Reanimated] Error inside 'withClamp' animation, the inner animation has invalid current value"),!0;{const{prefix:A,strippedValue:d,suffix:f}=Ri(n.current);let p;i!==void 0&&i<d?p=i:r!==void 0&&r>d?p=r:p=d,l.current=typeof n.current=="number"?p:`${A===void 0?"":A}${p}${f===void 0?"":f}`}return c}function s(l,u,c,A){l.current=u,l.previousAnimation=n;const d=A==null?void 0:A.previousAnimation;t.max!==void 0&&t.min!==void 0&&t.max<t.min&&console.warn("[Reanimated] Wrong config was provided to withClamp. Min value is bigger than max"),n.onStart(n,(d==null?void 0:d.current)||u,c,d)}const o=l=>{n.callback&&n.callback(l)};return{isHigherOrder:!0,onFrame:a,onStart:s,current:n.current,callback:o,previousAnimation:null,reduceMotion:xr(t.reduceMotion)}})},Y0=function(t,e,n){"worklet";return Yn(e,()=>{"worklet";const r=typeof e=="function"?e():e;function i(o,l){const{startTime:u,started:c,previousAnimation:A}=o,d=o.current;if(l-u>t||o.reduceMotion){c||(r.onStart(r,d,l,A),o.previousAnimation=null,o.started=!0);const f=r.onFrame(r,l);return o.current=r.current,f}else if(A){const f=A.finished||A.onFrame(A,l);o.current=A.current,f&&(o.previousAnimation=null)}return!1}function a(o,l,u,c){o.startTime=u,o.started=!1,o.current=l,c===o?o.previousAnimation=c.previousAnimation:o.previousAnimation=c,r.reduceMotion===void 0&&(r.reduceMotion=o.reduceMotion)}const s=o=>{r.callback&&r.callback(o)};return{isHigherOrder:!0,onFrame:i,onStart:a,current:r.current,callback:s,previousAnimation:null,startTime:0,started:!1,reduceMotion:xr(n)}})},qw=function(t,e=2,n=!1,r,i){"worklet";return Yn(t,()=>{"worklet";const a=typeof t=="function"?t():t;function s(u,c){const A=a.onFrame(a,c);if(u.current=a.current,A){if(u.reps+=1,a.callback&&a.callback(!0,u.current),u.reduceMotion||e>0&&u.reps>=e)return!0;const d=n?a.current:u.startValue;return n&&(a.toValue=u.startValue,u.startValue=d),a.onStart(a,d,c,a.previousAnimation),!1}return!1}const o=u=>{r&&r(u),!u&&a.callback&&a.callback(!1)};function l(u,c,A,d){u.startValue=c,u.reps=0,a.reduceMotion===void 0&&(a.reduceMotion=u.reduceMotion),u.reduceMotion&&n&&(e<=0||e%2===0)?(u.current=u.startValue,u.onFrame=()=>!0):a.onStart(a,c,A,d)}return{isHigherOrder:!0,onFrame:s,onStart:l,reps:0,current:a.current,callback:o,startValue:0,reduceMotion:xr(i)}})};function Fe(t,...e){"worklet";let n;return t&&(typeof t=="string"?n=t:e.unshift(t)),e.length===0?(console.warn("[Reanimated] No animation was provided for the sequence"),Yn(0,()=>{"worklet";return{onStart:(r,i)=>r.current=i,onFrame:()=>!0,current:0,animationIndex:0,reduceMotion:xr(n)}})):Yn(e[0],()=>{"worklet";const r=e.map(l=>{const u=typeof l=="function"?l():l;return u.finished=!1,u});function i(l){for(;l<r.length-1&&r[l].reduceMotion;)l++;return l}const a=l=>{l||r.forEach(u=>{typeof u.callback=="function"&&!u.finished&&u.callback(l)})};function s(l,u){const c=r[l.animationIndex],A=c.onFrame(c,u);if(l.current=c.current,A){if(c.callback&&c.callback(!0),c.finished=!0,l.animationIndex=i(l.animationIndex+1),l.animationIndex<r.length){const d=r[l.animationIndex];return d.onStart(d,c.current,u,c),!1}return!0}return!1}function o(l,u,c,A){r.forEach(f=>{f.reduceMotion===void 0&&(f.reduceMotion=l.reduceMotion)}),l.animationIndex=i(0),A===void 0&&(A=r[r.length-1]);const d=r[l.animationIndex];d.onStart(d,u,c,A)}return{isHigherOrder:!0,onFrame:s,onStart:o,animationIndex:0,current:r[0].current,callback:a,reduceMotion:xr(n)}})}function ct(t){const[e]=b.useState(()=>Xn(t));return b.useEffect(()=>()=>{Gg(e)},[e]),e}function zg(t){return Object.values(t).reduce((e,n)=>e+n.__workletHash.toString(),"")}function jw(t,e){const n=Object.values(e).filter(r=>r!==void 0);return t?t.push(zg(n)):t=n.map(r=>({workletHash:r.__workletHash,closure:r.__closure})),t}function Qw(t,e){function n(a,s){return a===s&&(a!==0||1/a===1/s)||Number.isNaN(a)&&Number.isNaN(s)}const r=typeof Object.is=="function"?Object.is:n;function i(a,s){if(!a||!s||s.length!==a.length)return!1;for(let o=0;o<s.length;++o)if(!r(a[o],s[o]))return!1;return!0}return i(t,e)}function Za(t){"worklet";return Array.isArray(t)?t.some(Za):typeof t=="object"&&t!==null?t.onFrame!==void 0?!0:Object.values(t).some(Za):!1}function z0(t,e){"worklet";const n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(let i=0;i<n.length;i++)if(t[n[i]]!==e[n[i]])return!1;return!0}function Kg(){const t=Xn([]);return{shareableViewDescriptors:t,add:n=>{t.modify(r=>{"worklet";const i=r.findIndex(a=>a.tag===n.tag);return i!==-1?r[i]=n:r.push(n),r},!1)},remove:n=>{t.modify(r=>{"worklet";const i=r.findIndex(a=>a.tag===n);return i!==-1&&r.splice(i,1),r},!1)}}}const Zw=Ke(),Jw=Zw?tS:eS;function eS(){}function tS(){const t=b.useRef(null);if(t.current===null){const e={items:new Set,add:n=>{e.items.has(n)||e.items.add(n)},remove:n=>{e.items.delete(n)}};t.current=e}return t.current}const nS=Ke();function _o(t,e,n,r){"worklet";if(Array.isArray(e)&&e.forEach((i,a)=>{_o(t,i,n&&n[a],r&&r[a])}),typeof e=="object"&&e.onFrame){const i=e;let a=i.current;r!=null&&(typeof r=="object"?r.value!==void 0?a=r.value:r.onFrame!==void 0&&((n==null?void 0:n.current)!==void 0?a=n.current:(r==null?void 0:r.current)!==void 0&&(a=r.current)):a=r),i.callStart=s=>{i.onStart(i,a,s,n)},i.callStart(t),i.callStart=null}else typeof e=="object"&&Object.keys(e).forEach(i=>_o(t,e[i],n&&n[i],r&&r[i]))}function Do(t,e,n,r,i){"worklet";if(!i.value)return!0;if(Array.isArray(t)){r[n]=[];let a=!0;return t.forEach((s,o)=>{Do(s,e,o,r[n],i)||(a=!1)}),a}else if(typeof t=="object"&&t.onFrame){let a=!0;return t.finished||(t.callStart&&(t.callStart(e),t.callStart=null),a=t.onFrame(t,e),t.timestamp=e,a&&(t.finished=!0,t.callback&&t.callback(!0))),r[n]=t.current,a}else if(typeof t=="object"){r[n]={};let a=!0;return Object.keys(t).forEach(s=>{Do(t[s],e,s,r[n],i)||(a=!1)}),a}else return r[n]=t,!0}function rS(t,e,n,r,i,a=!1){"worklet";const s=n.animations??{},o=e()??{},l=n.last,u={};let c=!1,A,d=!1;for(const f in o){const p=o[f];Za(p)?(A=global.__frameTimestamp||global._getAnimationTimestamp(),_o(A,p,s[f],l[f]),s[f]=p,c=!0):(d=!0,u[f]=p,delete s[f])}if(c){const f=p=>{const{animations:h,last:v,isAnimationCancelled:E}=n;if(E){n.isAnimationRunning=!1;return}const C={};let m=!0;for(const g in h)Do(h[g],p,g,C,i)?(v[g]=C[g],delete h[g]):m=!1;C&&Ln(t,C,r),m?n.isAnimationRunning=!1:requestAnimationFrame(f)};n.animations=s,n.isAnimationRunning||(n.isAnimationCancelled=!1,n.isAnimationRunning=!0,f(A)),d&&Ln(t,u,r)}else n.isAnimationCancelled=!0,n.animations=[],z0(l,o)||Ln(t,o,r,a);n.last=o}function iS(t,e,n,r,i,a,s){"worklet";const o=n.animations??{},l=e()??{},u=n.last;let c=!1,A;Object.keys(o).forEach(f=>{const p=l[f];Za(p)||delete o[f]}),Object.keys(l).forEach(f=>{const p=l[f];Za(p)&&(A=global.__frameTimestamp||global._getAnimationTimestamp(),_o(A,p,o[f],u[f]),o[f]=p,c=!0)});function d(f){const{animations:p,last:h,isAnimationCancelled:v}=n;if(v){n.isAnimationRunning=!1;return}const E={};let C=!0;Object.keys(p).forEach(m=>{Do(p[m],f,m,E,i)?(h[m]=E[m],delete p[m]):C=!1}),Object.keys(E).length&&If(t,E,r,a,s),C?n.isAnimationRunning=!1:requestAnimationFrame(d)}c?(n.animations=o,n.isAnimationRunning||(n.isAnimationCancelled=!1,n.isAnimationRunning=!0,d(A))):(n.isAnimationCancelled=!0,n.animations=[]),n.last=l,z0(u,l)||If(t,l,r,a,s)}function _d(t,e){if(Array.isArray(t))for(const n of t)_d(n,e);else if(typeof t=="object"&&t!==null&&t.value===void 0)for(const n of Object.keys(t))_d(t[n],n);else if(e!==void 0&&typeof t=="object"&&t!==null&&t.value!==void 0)throw new Error(`[Reanimated] Invalid value passed to \`${e}\`, maybe you forgot to use \`.value\`?`)}function zn(t,e,n,r=!1){const i=Jw(),a=b.useRef();let s=Object.values(t.__closure??{});if(nS){var o;!s.length&&(o=e)!==null&&o!==void 0&&o.length&&(s=e)}const l=n?Array.isArray(n)?n:[n]:[],u=n?zg(l):null,c=ct(!0),A=b.useRef({});if(e?e.push(t.__workletHash):e=[...s,t.__workletHash],u&&e.push(u),!a.current){const E=W0(t);a.current={initial:{value:E,updater:t},remoteState:nl({last:E,animations:{},isAnimationCancelled:!1,isAnimationRunning:!1}),viewDescriptors:Kg()}}const{initial:d,remoteState:f,viewDescriptors:p}=a.current,h=p.shareableViewDescriptors;e.push(h),b.useEffect(()=>{let E,C=t;n&&(C=()=>{"worklet";const g=t();return l.forEach(y=>{y(g)}),g}),_t()?E=()=>{"worklet";iS(h,t,f,i,c,A,l)}:E=()=>{"worklet";rS(h,C,f,i,c,r)};const m=ds(E,s);return()=>{Li(m)}},e),b.useEffect(()=>(c.value=!0,()=>{c.value=!1}),[c]),_d(d.value);const v=b.useRef(null);return v.current||(v.current=_t()?{viewDescriptors:p,initial:d,viewsRef:i,jestAnimatedStyle:A}:{initial:d,viewsRef:i,viewDescriptors:p}),v.current}function aS(t,e,n){return zn(t,e,n,!0)}const sS=zn,K0=Ke()?aS:sS;function oS(t,e){return b.useCallback(t,e??[])}const lS=Io();function uS(){return lS}function al(t,e){const n=b.useRef(null);if(n.current===null){const o=nl({});n.current={context:o,savedDependencies:[]}}b.useEffect(()=>()=>{n.current=null},[]);const{context:r,savedDependencies:i}=n.current;e=jw(e,t);const a=!Qw(e,i);n.current.savedDependencies=e;const s=Nt()||_t();return{context:r,doDependenciesDiffer:a,useWeb:s}}function bf(t,e,n){cS(t,e),e.set(t,n)}function cS(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Xa(t,e,n){return e=dS(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function dS(t){var e=AS(t,"string");return typeof e=="symbol"?e:e+""}function AS(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function bn(t,e){return t.get($g(t,e))}function _f(t,e,n){return t.set($g(t,e),n),n}function $g(t,e,n){if(typeof t=="function"?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}const fS=Ke();function hS(t,e){return n=>{e({...n.nativeEvent,eventName:t})}}var fa=new WeakMap,tr=new WeakMap;class pS{constructor(e,n){Xa(this,"eventNames",void 0),Xa(this,"worklet",void 0),bf(this,fa,void 0),bf(this,tr,void 0),this.worklet=e,this.eventNames=n,_f(fa,this,new Set),_f(tr,this,new Map)}updateEventHandler(e,n){this.worklet=e,this.eventNames=n,bn(tr,this).forEach(r=>{r.forEach(i=>pf(i))}),Array.from(bn(fa,this)).forEach(r=>{const i=this.eventNames.map(a=>Lu(this.worklet,a,r));bn(tr,this).set(r,i)})}registerForEvents(e,n){bn(fa,this).add(e);const r=this.eventNames.map(i=>Lu(this.worklet,i,e));if(bn(tr,this).set(e,r),this.eventNames.length===0&&n){const i=Lu(this.worklet,n,e);bn(tr,this).set(e,[i])}}unregisterFromEvents(e){var n;bn(fa,this).delete(e),(n=bn(tr,this).get(e))===null||n===void 0||n.forEach(r=>{pf(r)}),bn(tr,this).delete(e)}}class vS{constructor(e,n=[]){Xa(this,"eventNames",void 0),Xa(this,"listeners",void 0),Xa(this,"worklet",void 0),this.worklet=e,this.eventNames=n,this.listeners={},this.setupWebListeners()}setupWebListeners(){this.listeners={},this.eventNames.forEach(e=>{this.listeners[e]=hS(e,this.worklet)})}updateEventHandler(e,n){this.worklet=e,this.eventNames=n,this.setupWebListeners()}registerForEvents(e,n){}unregisterFromEvents(e){}}const dr=fS?vS:pS;function As(t,e=[],n=!1){const r=b.useRef(null);if(r.current===null){const i=new dr(t,e);r.current={workletEventHandler:i}}else if(n){const i=r.current.workletEventHandler;i.updateEventHandler(t,e),r.current={workletEventHandler:i}}return r.current}const yt={UNDETERMINED:0,FAILED:1,BEGAN:2,CANCELLED:3,ACTIVE:4,END:5};function gS(t,e){const{context:n,doDependenciesDiffer:r,useWeb:i}=al(t,e),a=s=>{"worklet";const o=i?s.nativeEvent:s;o.state===yt.BEGAN&&t.onStart&&t.onStart(o,n),o.state===yt.ACTIVE&&t.onActive&&t.onActive(o,n),o.oldState===yt.ACTIVE&&o.state===yt.END&&t.onEnd&&t.onEnd(o,n),o.oldState===yt.BEGAN&&o.state===yt.FAILED&&t.onFail&&t.onFail(o,n),o.oldState===yt.ACTIVE&&o.state===yt.CANCELLED&&t.onCancel&&t.onCancel(o,n),(o.oldState===yt.BEGAN||o.oldState===yt.ACTIVE)&&o.state!==yt.BEGAN&&o.state!==yt.ACTIVE&&t.onFinish&&t.onFinish(o,n,o.state===yt.CANCELLED||o.state===yt.FAILED)};return i?a:As(a,["onGestureHandlerStateChange","onGestureHandlerEvent"],r)}function mS(t,e,n){const r=ct(null);let i=Object.values(t.__closure??{});if(Ke()){var a;!i.length&&(a=n)!==null&&a!==void 0&&a.length&&(i=n)}n===void 0?n=[...Object.values(t.__closure??{}),...Object.values(e.__closure??{}),t.__workletHash,e.__workletHash]:n.push(t.__workletHash,e.__workletHash),b.useEffect(()=>{const o=ds(()=>{"worklet";const l=t();e(l,r.value),r.value=l},i);return()=>{Li(o)}},n)}function qg(){throw new Error("[Reanimated] Trying to call `getShadowNodeWrapperFromRef` on web.")}const CS=Nt();function Wu(t){return gn()&&t.getNativeScrollRef?t.getNativeScrollRef():!gn()&&t.getScrollableNode?t.getScrollableNode():t}function jg(){const t=ct(-1),e=ct(null),n=b.useRef();if(!n.current){const r=a=>{if(a){const o=gn()?qg:zt,l=()=>CS?Wu(a):o(Wu(a));if(t.value=l(),r.getTag=gn()?()=>zt(Wu(a)):l,r.current=a,ue.OS==="ios"&&!gn()){var s;e.value=(a==null||(s=a.viewConfig)===null||s===void 0?void 0:s.uiViewClassName)||"RCTView"}}return t.value};r.current=null;const i=He({__init:()=>{"worklet";const a=()=>t.value;return a.viewName=e,a}});Qt.set(r,i),n.current=r}return n.current}function ES(t,e){const n=typeof t=="function"?{onScroll:t}:t,{context:r,doDependenciesDiffer:i}=al(n,e),a=["onScroll"];return n.onBeginDrag!==void 0&&a.push("onScrollBeginDrag"),n.onEndDrag!==void 0&&a.push("onScrollEndDrag"),n.onMomentumBegin!==void 0&&a.push("onMomentumScrollBegin"),n.onMomentumEnd!==void 0&&a.push("onMomentumScrollEnd"),As(s=>{"worklet";const{onScroll:o,onBeginDrag:l,onEndDrag:u,onMomentumBegin:c,onMomentumEnd:A}=n;o&&s.eventName.endsWith("onScroll")?o(s,r):l&&s.eventName.endsWith("onScrollBeginDrag")?l(s,r):u&&s.eventName.endsWith("onScrollEndDrag")?u(s,r):c&&s.eventName.endsWith("onMomentumScrollBegin")?c(s,r):A&&s.eventName.endsWith("onMomentumScrollEnd")&&A(s,r)},a,i)}function xS(t,e){const n=b.useRef(null);let r=Object.values(t.__closure??{});if(Ke()){var i;!r.length&&(i=e)!==null&&i!==void 0&&i.length&&(r=e)}e===void 0?e=[...r,t.__workletHash]:e.push(t.__workletHash),n.current===null&&(n.current=Xn(W0(t)));const a=n.current;return b.useEffect(()=>{const o=ds(()=>{"worklet";a.value=t()},r,[a]);return()=>{Li(o)}},e),b.useEffect(()=>()=>{n.current=null},[]),a}function yS(t,e,n){"worklet";const r=Math.cos(t/2),i=Math.sin(t/2),a=Math.cos(e/2),s=Math.sin(e/2),o=Math.cos(n/2),l=Math.sin(n/2);return[i*a*o-r*s*l,r*s*o+i*a*l,r*a*l+i*s*o,r*a*o-i*s*l]}function IS(t){"worklet";const{interfaceOrientation:e,pitch:n,roll:r,yaw:i}=t;e===qr.ROTATION_90?(t.pitch=r,t.roll=-n,t.yaw=i-Math.PI/2):e===qr.ROTATION_270?(t.pitch=-r,t.roll=n,t.yaw=i+Math.PI/2):e===qr.ROTATION_180&&(t.pitch*=-1,t.roll*=-1,t.yaw*=-1);const a=yS(t.pitch,t.roll,t.yaw);return t.qx=a[0],t.qy=a[1],t.qz=a[2],t.qw=a[3],t}function wS(t){"worklet";const{interfaceOrientation:e,x:n,y:r}=t;return e===qr.ROTATION_90?(t.x=-r,t.y=n):e===qr.ROTATION_270?(t.x=r,t.y=-n):e===qr.ROTATION_180&&(t.x*=-1,t.y*=-1),t}function SS(t,e){var n,r,i;const a=b.useRef(e);(((n=a.current)===null||n===void 0?void 0:n.adjustToInterfaceOrientation)!==(e==null?void 0:e.adjustToInterfaceOrientation)||((r=a.current)===null||r===void 0?void 0:r.interval)!==(e==null?void 0:e.interval)||((i=a.current)===null||i===void 0?void 0:i.iosReferenceFrame)!==(e==null?void 0:e.iosReferenceFrame))&&(a.current={...e});const o=b.useMemo(()=>({interval:"auto",adjustToInterfaceOrientation:!0,iosReferenceFrame:Eg.Auto,...a.current}),[a.current]),l=b.useRef({sensor:gf(t,o),unregister:()=>{},isAvailable:!1,config:o});return b.useEffect(()=>{l.current={sensor:gf(t,o),unregister:()=>{},isAvailable:!1,config:o};const u=l.current.sensor,c=l.current.config.adjustToInterfaceOrientation,A=BI(t,o,d=>{"worklet";c&&(t===je.ROTATION?d=IS(d):d=wS(d)),u.value=d,N0()});return A!==-1?(l.current.unregister=()=>NI(A),l.current.isAvailable=!0):(l.current.unregister=()=>{},l.current.isAvailable=!1),()=>{l.current.unregister()}},[t,o]),l.current}const bS=G0(()=>{"worklet";const t={frameCallbackRegistry:new Map,activeFrameCallbacks:new Set,previousFrameTimestamp:null,nextCallId:0,runCallbacks(e){const n=r=>{if(e!==this.nextCallId)return;this.previousFrameTimestamp===null&&(this.previousFrameTimestamp=r);const i=r-this.previousFrameTimestamp;this.activeFrameCallbacks.forEach(a=>{const s=this.frameCallbackRegistry.get(a),{startTime:o}=s;o===null?(s.startTime=r,s.callback({timestamp:r,timeSincePreviousFrame:null,timeSinceFirstFrame:0})):s.callback({timestamp:r,timeSincePreviousFrame:i,timeSinceFirstFrame:r-o})}),this.activeFrameCallbacks.size>0?(this.previousFrameTimestamp=r,requestAnimationFrame(n)):this.previousFrameTimestamp=null};this.activeFrameCallbacks.size===1&&e===this.nextCallId&&requestAnimationFrame(n)},registerFrameCallback(e,n){this.frameCallbackRegistry.set(n,{callback:e,startTime:null})},unregisterFrameCallback(e){this.manageStateFrameCallback(e,!1),this.frameCallbackRegistry.delete(e)},manageStateFrameCallback(e,n){if(e!==-1)if(n)this.activeFrameCallbacks.add(e),this.runCallbacks(this.nextCallId);else{const r=this.frameCallbackRegistry.get(e);r.startTime=null,this.activeFrameCallbacks.delete(e),this.activeFrameCallbacks.size===0&&(this.nextCallId+=1)}}};global._frameCallbackRegistry=t});function _S(t,e,n){return e=DS(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function DS(t){var e=OS(t,"string");return typeof e=="symbol"?e:e+""}function OS(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class TS{constructor(){_S(this,"nextCallbackId",0),bS()}registerFrameCallback(e){if(!e)return-1;const n=this.nextCallbackId;return this.nextCallbackId++,Gn(()=>{global._frameCallbackRegistry.registerFrameCallback(e,n)})(),n}unregisterFrameCallback(e){Gn(()=>{global._frameCallbackRegistry.unregisterFrameCallback(e)})()}manageStateFrameCallback(e,n){Gn(()=>{global._frameCallbackRegistry.manageStateFrameCallback(e,n)})()}}const Xu=new TS;function Qg(t,e=!0){const n=b.useRef({setActive:r=>{Xu.manageStateFrameCallback(n.current.callbackId,r),n.current.isActive=r},isActive:e,callbackId:-1});return b.useEffect(()=>(n.current.callbackId=Xu.registerFrameCallback(t),n.current.setActive(n.current.isActive),()=>{Xu.unregisterFrameCallback(n.current.callbackId),n.current.callbackId=-1}),[t,e]),n.current}function PS(t={isStatusBarTranslucentAndroid:!1}){const e=b.useRef(null),n=b.useRef(-1),r=b.useRef(!1);if(e.current===null){const i={state:Xn(xg.UNKNOWN),height:Xn(0)};n.current=vf((a,s)=>{"worklet";i.state.value=a,i.height.value=s},t),e.current=i,r.current=!0}return b.useEffect(()=>{if(r.current===!1&&e.current!==null){const i=e.current;n.current=vf((a,s)=>{"worklet";i.state.value=a,i.height.value=s},t),r.current=!0}return()=>{kI(n.current),r.current=!1}},[]),e.current}const RS=Nt(),Zg=RS?FS:MS;function FS(t,e){const n=ct(0),r=b.useRef(e??n).current,i=b.useCallback(()=>{"worklet";if(t){const a=Df(t.current);r.value=a.scrollLeft===0?a.scrollTop:a.scrollLeft}},[t,t==null?void 0:t.current]);return b.useEffect(()=>{const a=t!=null&&t.current?Df(t.current):null;return a&&a.addEventListener("scroll",i),()=>{a&&a.removeEventListener("scroll",i)}},[t,t==null?void 0:t.current,i]),r}function MS(t,e){const n=ct(0),r=b.useRef(e??n).current,i=As(a=>{"worklet";r.value=a.contentOffset.x===0?a.contentOffset.y:a.contentOffset.x},kS);return b.useEffect(()=>{const a=(t==null?void 0:t.getTag())??null;return a&&i.workletEventHandler.registerForEvents(a),()=>{a&&i.workletEventHandler.unregisterFromEvents(a)}},[t,t==null?void 0:t.current,i]),r}function Df(t){return(t==null?void 0:t.getScrollableNode())??t}const kS=["onScroll","onScrollBeginDrag","onScrollEndDrag","onMomentumScrollBegin","onMomentumScrollEnd"];function BS(t){const e={},n=new Set,r={};t.filter(a=>a!==null).forEach(a=>{const{workletEventHandler:s}=a;s instanceof dr&&s.eventNames.forEach(o=>{n.add(o),r[o]?r[o].push(s.worklet):r[o]=[s.worklet];const l=o+`${r[o].length}`;e[l]=s.worklet})});const{doDependenciesDiffer:i}=al(e);return As(a=>{"worklet";r[a.eventName]&&r[a.eventName].forEach(s=>s(a))},Array.from(n),i)}let Ue=function(t){return t.IDENTITY="identity",t.CLAMP="clamp",t.EXTEND="extend",t}({});function Of(t,e,n,r,i,a){"worklet";switch(t){case Ue.IDENTITY:return a;case Ue.CLAMP:return e*n<e*r?r:i;case Ue.EXTEND:default:return n}}function Yu(t){"worklet";return t===Ue.EXTEND||t===Ue.CLAMP||t===Ue.IDENTITY}function NS(t){"worklet";const e={extrapolateLeft:Ue.EXTEND,extrapolateRight:Ue.EXTEND};if(!t)return e;if(typeof t=="string"){if(!Yu(t))throw new Error(`[Reanimated] Unsupported value for "interpolate" Supported values: ["extend", "clamp", "identity", Extrapolatation.CLAMP, Extrapolatation.EXTEND, Extrapolatation.IDENTITY] Valid example: - interpolate(value, [inputRange], [outputRange], "clamp")`);return e.extrapolateLeft=t,e.extrapolateRight=t,e}if(t.extrapolateLeft&&!Xu(t.extrapolateLeft)||t.extrapolateRight&&!Xu(t.extrapolateRight))throw new Error(`[Reanimated] Unsupported value for "interpolate" + interpolate(value, [inputRange], [outputRange], "clamp")`);return e.extrapolateLeft=t,e.extrapolateRight=t,e}if(t.extrapolateLeft&&!Yu(t.extrapolateLeft)||t.extrapolateRight&&!Yu(t.extrapolateRight))throw new Error(`[Reanimated] Unsupported value for "interpolate" Supported values: ["extend", "clamp", "identity", Extrapolatation.CLAMP, Extrapolatation.EXTEND, Extrapolatation.IDENTITY] Valid example: interpolate(value, [inputRange], [outputRange], { extrapolateLeft: Extrapolation.CLAMP, extrapolateRight: Extrapolation.IDENTITY - }})`);return Object.assign(e,t),e}function RS(t,e,n){"worklet";const{leftEdgeInput:r,rightEdgeInput:i,leftEdgeOutput:a,rightEdgeOutput:s}=e;if(i-r===0)return a;const o=(t-r)/(i-r),l=a+o*(s-a),u=s>=a?1:-1;return u*l<u*a?_f(n.extrapolateLeft,u,l,a,s,t):u*l>u*s?_f(n.extrapolateRight,u,l,a,s,t):l}function Zt(t,e,n,r){"worklet";if(e.length<2||n.length<2)throw new Error("[Reanimated] Interpolation input and output ranges should contain at least two values.");const i=PS(r),a=e.length,s={leftEdgeInput:e[0],rightEdgeInput:e[1],leftEdgeOutput:n[0],rightEdgeOutput:n[1]};if(a>2){if(t>e[a-1])s.leftEdgeInput=e[a-2],s.rightEdgeInput=e[a-1],s.leftEdgeOutput=n[a-2],s.rightEdgeOutput=n[a-1];else for(let o=1;o<a;++o)if(t<=e[o]){s.leftEdgeInput=e[o-1],s.rightEdgeInput=e[o],s.leftEdgeOutput=n[o-1],s.rightEdgeOutput=n[o];break}}return RS(t,s,i)}function FS(t,e,n){"worklet";return Math.min(Math.max(t,e),n)}const kS=Ue,MS=(t,e,n,r)=>{"worklet";let i=0;const{useCorrectedHSVInterpolation:a=!0}=r;if(a){const u=[e[0]],c=n.h,A=[c[0]];for(let d=1;d<c.length;++d){const f=c[d]-c[d-1];c[d]>c[d-1]&&f>.5?(u.push(e[d]),u.push(e[d]+1e-5),A.push(c[d]-1),A.push(c[d])):c[d]<c[d-1]&&f<-.5?(u.push(e[d]),u.push(e[d]+1e-5),A.push(c[d]+1),A.push(c[d])):(u.push(e[d]),A.push(c[d]))}i=(Zt(t,u,A,Ue.CLAMP)+1)%1}else i=Zt(t,e,n.h,Ue.CLAMP);const s=Zt(t,e,n.s,Ue.CLAMP),o=Zt(t,e,n.v,Ue.CLAMP),l=Zt(t,e,n.a,Ue.CLAMP);return HI(i,s,o,l)},Yu=(t,e)=>{"worklet";return t.map(n=>Math.pow(n/255,e))},zu=(t,e)=>{"worklet";return Math.round(Math.pow(t,1/e)*255)},BS=(t,e,n,r)=>{"worklet";const{gamma:i=2.2}=r;let{r:a,g:s,b:o}=n;i!==1&&(a=Yu(a,i),s=Yu(s,i),o=Yu(o,i));const l=Zt(t,e,a,Ue.CLAMP),u=Zt(t,e,s,Ue.CLAMP),c=Zt(t,e,o,Ue.CLAMP),A=Zt(t,e,n.a,Ue.CLAMP);return i===1?Id(l,u,c,A):Id(zu(l,i),zu(u,i),zu(c,i),A)},NS=t=>{"worklet";const e=[],n=[],r=[],i=[];for(let a=0;a<t.length;++a){const s=t[a],o=nl(s);o!=null&&(e.push(Rg(o)),n.push(Fg(o)),r.push(kg(o)),i.push(Pg(o)))}return{r:e,g:n,b:r,a:i}},GS=t=>{"worklet";const e=[],n=[],r=[],i=[];for(let a=0;a<t.length;++a){const s=t[a],o=nl(s);if(typeof o=="number"){const l=LI(Rg(o),Fg(o),kg(o));e.push(l.h),n.push(l.s),r.push(l.v),i.push(Pg(o))}}return{h:e,s:n,v:r,a:i}};function LS(t,e,n,r="RGB",i={}){"worklet";if(r==="HSV")return MS(t,e,GS(n),i);if(r==="RGB")return BS(t,e,NS(n),i);throw new Error(`[Reanimated] Invalid color space provided: ${r}. Supported values are: ['RGB', 'HSV'].`)}let Qg=function(t){return t[t.RGB=0]="RGB",t[t.HSV=1]="HSV",t}({});function VS(t,e,n=Qg.RGB,r={}){return ct({inputRange:t,outputRange:e,colorSpace:n,cache:Xn(null),options:r})}function HS(){console.warn("[Reanimated] dispatchCommand() is not supported on web.")}function Zg(t){const e=t();if(e===-1)return console.warn(`[Reanimated] The view with tag ${e} is not a valid argument for measure(). This may be because the view is not currently rendered, which may not be a bug (e.g. an off-screen FlatList item).`),null;const n=e.getBoundingClientRect();return{width:e.offsetWidth,height:e.offsetHeight,x:e.offsetLeft,y:e.offsetTop,pageX:n.left,pageY:n.top}}function US(t,e,n,r){const i=t();if(i!==-1){const a=i;a==null||a.scrollTo({x:e,y:n,animated:r})}}function WS(){console.warn("[Reanimated] setGestureState() is not available on web.")}function XS(t,e){const n=t();el(e,{_component:n})}function YS(t,e,n){"worklet";const r=Zg(t);return r===null?null:{x:e-r.pageX,y:n-r.pageY}}function zS(){for(const t in Ct.NATIVE_THREAD_PROPS_WHITELIST)if(t in Ct.UI_THREAD_PROPS_WHITELIST)throw new Error(`[Reanimated] Property \`${t}\` was whitelisted both as UI and native prop. Please remove it from one of the lists.`)}function al(){zS(),kI(Object.keys(Ct.UI_THREAD_PROPS_WHITELIST),Object.keys(Ct.NATIVE_THREAD_PROPS_WHITELIST))}function z0(t){const e=Object.keys(Ct.NATIVE_THREAD_PROPS_WHITELIST).length;Ct.NATIVE_THREAD_PROPS_WHITELIST={...Ct.NATIVE_THREAD_PROPS_WHITELIST,...t},e!==Object.keys(Ct.NATIVE_THREAD_PROPS_WHITELIST).length&&al()}function Jg(t){const e=Object.keys(Ct.UI_THREAD_PROPS_WHITELIST).length;Ct.UI_THREAD_PROPS_WHITELIST={...Ct.UI_THREAD_PROPS_WHITELIST,...t},e!==Object.keys(Ct.UI_THREAD_PROPS_WHITELIST).length&&al()}const Df=new Set;function em(t){const e=t.uiViewClassName,n=t.validAttributes;if(!Df.has(e)){const r={};Object.keys(n).forEach(i=>{!(i in Ct.NATIVE_THREAD_PROPS_WHITELIST)&&!(i in Ct.UI_THREAD_PROPS_WHITELIST)&&(r[i]=!0)}),Jg(r),Df.add(e)}}al();function KS(t,e){const n={};return e==null||e.forEach(r=>{n[r]=!0}),z0(n),t}function Gr(t,e,n){return e=$S(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $S(t){var e=qS(t,"string");return typeof e=="symbol"?e:e+""}function qS(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class wr{constructor(){Gr(this,"durationV",void 0),Gr(this,"delayV",void 0),Gr(this,"reduceMotionV",Cr.System),Gr(this,"randomizeDelay",!1),Gr(this,"callbackV",void 0),Gr(this,"build",()=>{throw new Error("[Reanimated] Unimplemented method in child class.")})}static duration(e){return this.createInstance().duration(e)}duration(e){return this.durationV=e,this}static delay(e){return this.createInstance().delay(e)}delay(e){return this.delayV=e,this}static withCallback(e){return this.createInstance().withCallback(e)}withCallback(e){return this.callbackV=e,this}static reduceMotion(e){return this.createInstance().reduceMotion(e)}reduceMotion(e){return this.reduceMotionV=e,this}static getDuration(){return 300}getDuration(){return this.durationV??300}static randomDelay(){return this.createInstance().randomDelay()}randomDelay(){return this.randomizeDelay=!0,this}getDelay(){return this.randomizeDelay?Math.random()*(this.delayV??1e3):this.delayV??0}getReduceMotion(){return this.reduceMotionV}getDelayFunction(){const e=this.randomizeDelay||this.delayV,n=this.getReduceMotion();return e?(r,i)=>{"worklet";return W0(r,i,n)}:(r,i)=>{"worklet";return i.reduceMotion=ei(n),i}}static build(){return this.createInstance().build()}}Gr(wr,"createInstance",void 0);function Ut(t,e,n){return e=jS(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jS(t){var e=QS(t,"string");return typeof e=="symbol"?e:e+""}function QS(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class Z extends wr{constructor(...e){super(...e),Ut(this,"easingV",void 0),Ut(this,"rotateV",void 0),Ut(this,"type",void 0),Ut(this,"dampingV",void 0),Ut(this,"dampingRatioV",void 0),Ut(this,"massV",void 0),Ut(this,"stiffnessV",void 0),Ut(this,"overshootClampingV",void 0),Ut(this,"restDisplacementThresholdV",void 0),Ut(this,"restSpeedThresholdV",void 0),Ut(this,"initialValues",void 0)}static easing(e){return this.createInstance().easing(e)}easing(e){return this.easingV=e,this}static rotate(e){return this.createInstance().rotate(e)}rotate(e){return this.rotateV=e,this}static springify(e){return this.createInstance().springify(e)}springify(e){return this.durationV=e,this.type=Hg,this}static dampingRatio(e){return this.createInstance().dampingRatio(e)}dampingRatio(e){return this.dampingRatioV=e,this}static damping(e){return this.createInstance().damping(e)}damping(e){return this.dampingV=e,this}static mass(e){return this.createInstance().mass(e)}mass(e){return this.massV=e,this}static stiffness(e){return this.createInstance().stiffness(e)}stiffness(e){return this.stiffnessV=e,this}static overshootClamping(e){return this.createInstance().overshootClamping(e)}overshootClamping(e){return this.overshootClampingV=e,this}static restDisplacementThreshold(e){return this.createInstance().restDisplacementThreshold(e)}restDisplacementThreshold(e){return this.restDisplacementThresholdV=e,this}static restSpeedThreshold(e){return this.createInstance().restSpeedThreshold(e)}restSpeedThreshold(e){return this.restSpeedThresholdV=e,this}static withInitialValues(e){return this.createInstance().withInitialValues(e)}withInitialValues(e){return this.initialValues=e,this}getAnimationAndConfig(){const e=this.durationV,n=this.easingV,r=this.rotateV,i=this.type?this.type:j,a=this.dampingV,s=this.dampingRatioV,o=this.massV,l=this.stiffnessV,u=this.overshootClampingV,c=this.restDisplacementThresholdV,A=this.restSpeedThresholdV,d=i,f={};function p(h,v){h&&(f[v]=h)}return i===j&&p(n,"easing"),[{variableName:"damping",value:a},{variableName:"dampingRatio",value:s},{variableName:"mass",value:o},{variableName:"stiffness",value:l},{variableName:"overshootClamping",value:u},{variableName:"restDisplacementThreshold",value:c},{variableName:"restSpeedThreshold",value:A},{variableName:"duration",value:e},{variableName:"rotate",value:r}].forEach(({value:h,variableName:v})=>p(h,v)),[d,f]}}Ut(Z,"createInstance",void 0);function gi(t,e,n){return e=ZS(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ZS(t){var e=JS(t,"string");return typeof e=="symbol"?e:e+""}function JS(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class eb{constructor(e){gi(this,"durationV",void 0),gi(this,"delayV",void 0),gi(this,"reduceMotionV",Cr.System),gi(this,"callbackV",void 0),gi(this,"definitions",void 0),gi(this,"build",()=>{const n=this.delayV,r=this.getDelayFunction(),{keyframes:i,initialValues:a}=this.parseDefinitions(),s=this.callbackV;return()=>{"worklet";const o={},l=u=>{const c=i[u];if(c.length===0)return;const A=r(n,c.length===1?j(c[0].value,{duration:c[0].duration,easing:c[0].easing?c[0].easing:lt.linear}):Fe(...c.map(d=>j(d.value,{duration:d.duration,easing:d.easing?d.easing:lt.linear}))));u.includes("transform")?("transform"in o||(o.transform=[]),o.transform.push({[u.split(":")[1]]:A})):o[u]=A};return Object.keys(a).forEach(u=>{u.includes("transform")?a[u].forEach((c,A)=>{Object.keys(c).forEach(d=>{l(Ku(A,d))})}):l(u)}),{animations:o,initialValues:a,callback:s}}}),this.definitions=e}parseDefinitions(){const e={};if(this.definitions.from){if(this.definitions[0])throw new Error("[Reanimated] You cannot provide both keyframe 0 and 'from' as they both specified initial values.");this.definitions[0]=this.definitions.from,delete this.definitions.from}if(this.definitions.to){if(this.definitions[100])throw new Error("[Reanimated] You cannot provide both keyframe 100 and 'to' as they both specified values at the end of the animation.");this.definitions[100]=this.definitions.to,delete this.definitions.to}if(!this.definitions[0])throw new Error("[Reanimated] Please provide 0 or 'from' keyframe with initial state of your object.");const n=this.definitions[0];Object.keys(n).forEach(o=>{if(o==="transform"){if(!Array.isArray(n.transform))return;n.transform.forEach((l,u)=>{Object.keys(l).forEach(c=>{e[Ku(u,c)]=[]})})}else e[o]=[]});const r=this.durationV?this.durationV:500,i=Array.from(Object.keys(this.definitions)),a=(o,l)=>{const u=l/100*r,c=e[o].reduce((A,d)=>A+d.duration,0);return u-c},s=({key:o,value:l,currentKeyPoint:u,easing:c})=>{if(!(o in e))throw new Error("[Reanimated] Keyframe can contain only that set of properties that were provide with initial values (keyframe 0 or 'from')");e[o].push({duration:a(o,u),value:l,easing:c})};return i.filter(o=>parseInt(o)!==0).sort((o,l)=>parseInt(o)-parseInt(l)).forEach(o=>{if(parseInt(o)<0||parseInt(o)>100)throw new Error("[Reanimated] Keyframe should be in between range 0 - 100.");const l=this.definitions[o],u=l.easing;delete l.easing;const c=(A,d)=>s({key:A,value:d,currentKeyPoint:parseInt(o),easing:u});Object.keys(l).forEach(A=>{if(A==="transform"){if(!Array.isArray(l.transform))return;l.transform.forEach((d,f)=>{Object.keys(d).forEach(p=>{c(Ku(f,p),d[p])})})}else c(A,l[A])})}),{initialValues:n,keyframes:e}}duration(e){return this.durationV=e,this}delay(e){return this.delayV=e,this}withCallback(e){return this.callbackV=e,this}reduceMotion(e){return this.reduceMotionV=e,this}getDelayFunction(){const e=this.delayV,n=this.reduceMotionV;return e?(r,i)=>{"worklet";return W0(r,i,n)}:(r,i)=>{"worklet";return i.reduceMotion=ei(n),i}}}function Ku(t,e){"worklet";return`${t}_transform:${e}`}const tb=eb;let mt=function(t){return t[t.ENTERING=1]="ENTERING",t[t.EXITING=2]="EXITING",t[t.LAYOUT=3]="LAYOUT",t[t.SHARED_ELEMENT_TRANSITION=4]="SHARED_ELEMENT_TRANSITION",t[t.SHARED_ELEMENT_TRANSITION_PROGRESS=5]="SHARED_ELEMENT_TRANSITION_PROGRESS",t}({}),nb=function(t){return t.ANIMATION="animation",t.PROGRESS_ANIMATION="progressAnimation",t}({});function ke(t,e,n){return e=rb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rb(t){var e=ib(t,"string");return typeof e=="symbol"?e:e+""}function ib(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class sl extends Z{constructor(...e){super(...e),ke(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{initialValues:{transform:[{perspective:500},{rotateX:"90deg"},{translateY:-l.targetHeight}],...o},animations:{transform:[{perspective:500},{rotateX:n(a,r("0deg",i))},{translateY:n(a,r(0,i))}]},callback:s}}})}static createInstance(){return new sl}}ke(sl,"presetName","FlipInXUp");class ol extends Z{constructor(...e){super(...e),ke(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{initialValues:{transform:[{perspective:500},{rotateY:"-90deg"},{translateX:-l.targetWidth}],...o},animations:{transform:[{perspective:n(a,r(500,i))},{rotateY:n(a,r("0deg",i))},{translateX:n(a,r(0,i))}]},callback:s}}})}static createInstance(){return new ol}}ke(ol,"presetName","FlipInYLeft");class ll extends Z{constructor(...e){super(...e),ke(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{initialValues:{transform:[{perspective:500},{rotateX:"-90deg"},{translateY:l.targetHeight}],...o},animations:{transform:[{perspective:n(a,r(500,i))},{rotateX:n(a,r("0deg",i))},{translateY:n(a,r(0,i))}]},callback:s}}})}static createInstance(){return new ll}}ke(ll,"presetName","FlipInXDown");class ul extends Z{constructor(...e){super(...e),ke(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{initialValues:{transform:[{perspective:500},{rotateY:"90deg"},{translateX:l.targetWidth}],...o},animations:{transform:[{perspective:n(a,r(500,i))},{rotateY:n(a,r("0deg",i))},{translateX:n(a,r(0,i))}]},callback:s}}})}static createInstance(){return new ul}}ke(ul,"presetName","FlipInYRight");class cl extends Z{constructor(...e){super(...e),ke(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return()=>{"worklet";return{initialValues:{transform:[{perspective:500},{rotateX:"90deg"}],...o},animations:{transform:[{perspective:n(a,r(500,i))},{rotateX:n(a,r("0deg",i))}]},callback:s}}})}static createInstance(){return new cl}}ke(cl,"presetName","FlipInEasyX");class dl extends Z{constructor(...e){super(...e),ke(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return()=>{"worklet";return{initialValues:{transform:[{perspective:500},{rotateY:"90deg"}],...o},animations:{transform:[{perspective:n(a,r(500,i))},{rotateY:n(a,r("0deg",i))}]},callback:s}}})}static createInstance(){return new dl}}ke(dl,"presetName","FlipInEasyY");class Al extends Z{constructor(...e){super(...e),ke(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{initialValues:{transform:[{perspective:500},{rotateX:"0deg"},{translateY:0}],...o},animations:{transform:[{perspective:n(a,r(500,i))},{rotateX:n(a,r("90deg",i))},{translateY:n(a,r(-l.currentHeight,i))}]},callback:s}}})}static createInstance(){return new Al}}ke(Al,"presetName","FlipOutXUp");class fl extends Z{constructor(...e){super(...e),ke(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{initialValues:{transform:[{perspective:500},{rotateY:"0deg"},{translateX:0}],...o},animations:{transform:[{perspective:n(a,r(500,i))},{rotateY:n(a,r("-90deg",i))},{translateX:n(a,r(-l.currentWidth,i))}]},callback:s}}})}static createInstance(){return new fl}}ke(fl,"presetName","FlipOutYLeft");class hl extends Z{constructor(...e){super(...e),ke(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{initialValues:{transform:[{perspective:500},{rotateX:"0deg"},{translateY:0}],...o},animations:{transform:[{perspective:n(a,r(500,i))},{rotateX:n(a,r("-90deg",i))},{translateY:n(a,r(l.currentHeight,i))}]},callback:s}}})}static createInstance(){return new hl}}ke(hl,"presetName","FlipOutXDown");class pl extends Z{constructor(...e){super(...e),ke(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{initialValues:{transform:[{perspective:500},{rotateY:"0deg"},{translateX:0}],...o},animations:{transform:[{perspective:n(a,r(500,i))},{rotateY:n(a,r("90deg",i))},{translateX:n(a,r(l.currentWidth,i))}]},callback:s}}})}static createInstance(){return new pl}}ke(pl,"presetName","FlipOutYRight");class vl extends Z{constructor(...e){super(...e),ke(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return()=>{"worklet";return{initialValues:{transform:[{perspective:500},{rotateX:"0deg"}],...o},animations:{transform:[{perspective:n(a,r(500,i))},{rotateX:n(a,r("90deg",i))}]},callback:s}}})}static createInstance(){return new vl}}ke(vl,"presetName","FlipOutEasyX");class gl extends Z{constructor(...e){super(...e),ke(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return()=>{"worklet";return{initialValues:{transform:[{perspective:500},{rotateY:"0deg"}],...o},animations:{transform:[{perspective:n(a,r(500,i))},{rotateY:n(a,r("90deg",i))}]},callback:s}}})}static createInstance(){return new gl}}ke(gl,"presetName","FlipOutEasyY");function Sr(t,e,n){return e=ab(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ab(t){var e=sb(t,"string");return typeof e=="symbol"?e:e+""}function sb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class ml extends Z{constructor(...e){super(...e),Sr(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return()=>{"worklet";return{animations:{transform:[{scaleX:n(a,r(1,i))}]},initialValues:{transform:[{scaleX:0}],...o},callback:s}}})}static createInstance(){return new ml}}Sr(ml,"presetName","StretchInX");class Cl extends Z{constructor(...e){super(...e),Sr(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return()=>{"worklet";return{animations:{transform:[{scaleY:n(a,r(1,i))}]},initialValues:{transform:[{scaleY:0}],...o},callback:s}}})}static createInstance(){return new Cl}}Sr(Cl,"presetName","StretchInY");class El extends Z{constructor(...e){super(...e),Sr(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return()=>{"worklet";return{animations:{transform:[{scaleX:n(a,r(0,i))}]},initialValues:{transform:[{scaleX:1}],...o},callback:s}}})}static createInstance(){return new El}}Sr(El,"presetName","StretchOutX");class xl extends Z{constructor(...e){super(...e),Sr(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return()=>{"worklet";return{animations:{transform:[{scaleY:n(a,r(0,i))}]},initialValues:{transform:[{scaleY:1}],...o},callback:s}}})}static createInstance(){return new xl}}Sr(xl,"presetName","StretchOutY");function Ye(t,e,n){return e=ob(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ob(t){var e=lb(t,"string");return typeof e=="symbol"?e:e+""}function lb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}let K0=class tm extends Z{constructor(...e){super(...e),Ye(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.callbackV,s=this.initialValues,o=this.getDelay();return()=>{"worklet";return{animations:{opacity:n(o,r(1,i))},initialValues:{opacity:0,...s},callback:a}}})}static createInstance(){return new tm}};Ye(K0,"presetName","FadeIn");class yl extends Z{constructor(...e){super(...e),Ye(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.callbackV,s=this.initialValues,o=this.getDelay();return()=>{"worklet";return{animations:{opacity:n(o,r(1,i)),transform:[{translateX:n(o,r(0,i))}]},initialValues:{opacity:0,transform:[{translateX:25}],...s},callback:a}}})}static createInstance(){return new yl}}Ye(yl,"presetName","FadeInRight");class Il extends Z{constructor(...e){super(...e),Ye(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.callbackV,s=this.initialValues,o=this.getDelay();return()=>{"worklet";return{animations:{opacity:n(o,r(1,i)),transform:[{translateX:n(o,r(0,i))}]},initialValues:{opacity:0,transform:[{translateX:-25}],...s},callback:a}}})}static createInstance(){return new Il}}Ye(Il,"presetName","FadeInLeft");class wl extends Z{constructor(...e){super(...e),Ye(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.callbackV,s=this.initialValues,o=this.getDelay();return()=>{"worklet";return{animations:{opacity:n(o,r(1,i)),transform:[{translateY:n(o,r(0,i))}]},initialValues:{opacity:0,transform:[{translateY:-25}],...s},callback:a}}})}static createInstance(){return new wl}}Ye(wl,"presetName","FadeInUp");class Sl extends Z{constructor(...e){super(...e),Ye(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.callbackV,s=this.initialValues,o=this.getDelay();return()=>{"worklet";return{animations:{opacity:n(o,r(1,i)),transform:[{translateY:n(o,r(0,i))}]},initialValues:{opacity:0,transform:[{translateY:25}],...s},callback:a}}})}static createInstance(){return new Sl}}Ye(Sl,"presetName","FadeInDown");let $0=class nm extends Z{constructor(...e){super(...e),Ye(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.callbackV,s=this.initialValues,o=this.getDelay();return()=>{"worklet";return{animations:{opacity:n(o,r(0,i))},initialValues:{opacity:1,...s},callback:a}}})}static createInstance(){return new nm}};Ye($0,"presetName","FadeOut");class bl extends Z{constructor(...e){super(...e),Ye(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.callbackV,s=this.initialValues,o=this.getDelay();return()=>{"worklet";return{animations:{opacity:n(o,r(0,i)),transform:[{translateX:n(o,r(25,i))}]},initialValues:{opacity:1,transform:[{translateX:0}],...s},callback:a}}})}static createInstance(){return new bl}}Ye(bl,"presetName","FadeOutRight");class _l extends Z{constructor(...e){super(...e),Ye(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.callbackV,s=this.initialValues,o=this.getDelay();return()=>{"worklet";return{animations:{opacity:n(o,r(0,i)),transform:[{translateX:n(o,r(-25,i))}]},initialValues:{opacity:1,transform:[{translateX:0}],...s},callback:a}}})}static createInstance(){return new _l}}Ye(_l,"presetName","FadeOutLeft");class Dl extends Z{constructor(...e){super(...e),Ye(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.callbackV,s=this.initialValues,o=this.getDelay();return()=>{"worklet";return{animations:{opacity:n(o,r(0,i)),transform:[{translateY:n(o,r(-25,i))}]},initialValues:{opacity:1,transform:[{translateY:0}],...s},callback:a}}})}static createInstance(){return new Dl}}Ye(Dl,"presetName","FadeOutUp");class Ol extends Z{constructor(...e){super(...e),Ye(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.callbackV,s=this.initialValues,o=this.getDelay();return()=>{"worklet";return{animations:{opacity:n(o,r(0,i)),transform:[{translateY:n(o,r(25,i))}]},initialValues:{opacity:1,transform:[{translateY:0}],...s},callback:a}}})}static createInstance(){return new Ol}}Ye(Ol,"presetName","FadeOutDown");function dt(t,e,n){return e=ub(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ub(t){var e=cb(t,"string");return typeof e=="symbol"?e:e+""}function cb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class Tl extends Z{constructor(...e){super(...e),dt(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{originX:n(a,r(l.targetOriginX,i))},initialValues:{originX:l.targetOriginX+l.windowWidth,...o},callback:s}}})}static createInstance(){return new Tl}}dt(Tl,"presetName","SlideInRight");class Pl extends Z{constructor(...e){super(...e),dt(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{originX:n(a,r(l.targetOriginX,i))},initialValues:{originX:l.targetOriginX-l.windowWidth,...o},callback:s}}})}static createInstance(){return new Pl}}dt(Pl,"presetName","SlideInLeft");class Rl extends Z{constructor(...e){super(...e),dt(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{originX:n(a,r(Math.max(l.currentOriginX+l.windowWidth,l.windowWidth),i))},initialValues:{originX:l.currentOriginX,...o},callback:s}}})}static createInstance(){return new Rl}}dt(Rl,"presetName","SlideOutRight");class Fl extends Z{constructor(...e){super(...e),dt(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{originX:n(a,r(Math.min(l.currentOriginX-l.windowWidth,-l.windowWidth),i))},initialValues:{originX:l.currentOriginX,...o},callback:s}}})}static createInstance(){return new Fl}}dt(Fl,"presetName","SlideOutLeft");class kl extends Z{constructor(...e){super(...e),dt(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{originY:n(a,r(l.targetOriginY,i))},initialValues:{originY:-l.windowHeight,...o},callback:s}}})}static createInstance(){return new kl}}dt(kl,"presetName","SlideInUp");class ta extends Z{constructor(...e){super(...e),dt(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{originY:n(a,r(l.targetOriginY,i))},initialValues:{originY:l.targetOriginY+l.windowHeight,...o},callback:s}}})}static createInstance(){return new ta}}dt(ta,"presetName","SlideInDown");class Ml extends Z{constructor(...e){super(...e),dt(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{originY:n(a,r(Math.min(l.currentOriginY-l.windowHeight,-l.windowHeight),i))},initialValues:{originY:l.currentOriginY,...o},callback:s}}})}static createInstance(){return new Ml}}dt(Ml,"presetName","SlideOutUp");class na extends Z{constructor(...e){super(...e),dt(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{originY:n(a,r(Math.max(l.currentOriginY+l.windowHeight,l.windowHeight),i))},initialValues:{originY:l.currentOriginY,...o},callback:s}}})}static createInstance(){return new na}}dt(na,"presetName","SlideOutDown");function me(t,e,n){return e=db(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function db(t){var e=Ab(t,"string");return typeof e=="symbol"?e:e+""}function Ab(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}let rm=class im extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return()=>{"worklet";return{animations:{transform:[{scale:n(a,r(1,i))}]},initialValues:{transform:[{scale:0}],...o},callback:s}}})}static createInstance(){return new im}};me(rm,"presetName","ZoomIn");class Bl extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.rotateV?this.rotateV:"0.3",o=this.callbackV,l=this.initialValues;return()=>{"worklet";return{animations:{transform:[{scale:n(a,r(1,i))},{rotate:n(a,r(0,i))}]},initialValues:{transform:[{scale:0},{rotate:s}],...l},callback:o}}})}static createInstance(){return new Bl}}me(Bl,"presetName","ZoomInRotate");class Nl extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateX:n(a,r(0,i))},{scale:n(a,r(1,i))}]},initialValues:{transform:[{translateX:-l.windowWidth},{scale:0}],...o},callback:s}}})}static createInstance(){return new Nl}}me(Nl,"presetName","ZoomInLeft");class Gl extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateX:n(a,r(0,i))},{scale:n(a,r(1,i))}]},initialValues:{transform:[{translateX:l.windowWidth},{scale:0}],...o},callback:s}}})}static createInstance(){return new Gl}}me(Gl,"presetName","ZoomInRight");class Ll extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateY:n(a,r(0,i))},{scale:n(a,r(1,i))}]},initialValues:{transform:[{translateY:-l.windowHeight},{scale:0}],...o},callback:s}}})}static createInstance(){return new Ll}}me(Ll,"presetName","ZoomInUp");class Vl extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateY:n(a,r(0,i))},{scale:n(a,r(1,i))}]},initialValues:{transform:[{translateY:l.windowHeight},{scale:0}],...o},callback:s}}})}static createInstance(){return new Vl}}me(Vl,"presetName","ZoomInDown");class Hl extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateY:n(a,r(0,i))},{scale:n(a,r(1,i))}]},initialValues:{transform:[{translateY:-l.targetHeight},{scale:0}],...o},callback:s}}})}static createInstance(){return new Hl}}me(Hl,"presetName","ZoomInEasyUp");class Ul extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateY:n(a,r(0,i))},{scale:n(a,r(1,i))}]},initialValues:{transform:[{translateY:l.targetHeight},{scale:0}],...o},callback:s}}})}static createInstance(){return new Ul}}me(Ul,"presetName","ZoomInEasyDown");let am=class sm extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return()=>{"worklet";return{animations:{transform:[{scale:n(a,r(0,i))}]},initialValues:{transform:[{scale:1}],...o},callback:s}}})}static createInstance(){return new sm}};me(am,"presetName","ZoomOut");class Wl extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.rotateV?this.rotateV:"0.3",o=this.callbackV,l=this.initialValues;return()=>{"worklet";return{animations:{transform:[{scale:n(a,r(0,i))},{rotate:n(a,r(s,i))}]},initialValues:{transform:[{scale:1},{rotate:"0"}],...l},callback:o}}})}static createInstance(){return new Wl}}me(Wl,"presetName","ZoomOutRotate");class Xl extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateX:n(a,r(-l.windowWidth,i))},{scale:n(a,r(0,i))}]},initialValues:{transform:[{translateX:0},{scale:1}],...o},callback:s}}})}static createInstance(){return new Xl}}me(Xl,"presetName","ZoomOutLeft");class Yl extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateX:n(a,r(l.windowWidth,i))},{scale:n(a,r(0,i))}]},initialValues:{transform:[{translateX:0},{scale:1}],...o},callback:s}}})}static createInstance(){return new Yl}}me(Yl,"presetName","ZoomOutRight");class zl extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateY:n(a,r(-l.windowHeight,i))},{scale:n(a,r(0,i))}]},initialValues:{transform:[{translateY:0},{scale:1}],...o},callback:s}}})}static createInstance(){return new zl}}me(zl,"presetName","ZoomOutUp");class Kl extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateY:n(a,r(l.windowHeight,i))},{scale:n(a,r(0,i))}]},initialValues:{transform:[{translateY:0},{scale:1}],...o},callback:s}}})}static createInstance(){return new Kl}}me(Kl,"presetName","ZoomOutDown");class $l extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateY:n(a,r(-l.currentHeight,i))},{scale:n(a,r(0,i))}]},initialValues:{transform:[{translateY:0},{scale:1}],...o},callback:s}}})}static createInstance(){return new $l}}me($l,"presetName","ZoomOutEasyUp");class ql extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateY:n(a,r(l.currentHeight,i))},{scale:n(a,r(0,i))}]},initialValues:{transform:[{translateY:0},{scale:1}],...o},callback:s}}})}static createInstance(){return new ql}}me(ql,"presetName","ZoomOutEasyDown");function ze(t,e,n){return e=fb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fb(t){var e=hb(t,"string");return typeof e=="symbol"?e:e+""}function hb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}let om=class lm extends Z{constructor(...e){super(...e),ze(this,"build",()=>{const n=this.getDelayFunction(),r=this.getDelay(),i=this.getDuration(),a=this.callbackV,s=this.initialValues;return()=>{"worklet";return{animations:{transform:[{scale:n(r,Fe(j(1.2,{duration:i*.55}),j(.9,{duration:i*.15}),j(1.1,{duration:i*.15}),j(1,{duration:i*.15})))}]},initialValues:{transform:[{scale:0}],...s},callback:a}}})}static createInstance(){return new lm}static getDuration(){return 600}getDuration(){return this.durationV??600}};ze(om,"presetName","BounceIn");class jl extends Z{constructor(...e){super(...e),ze(this,"build",()=>{const n=this.getDelayFunction(),r=this.getDelay(),i=this.getDuration(),a=this.callbackV,s=this.initialValues;return o=>{"worklet";return{animations:{transform:[{translateY:n(r,Fe(j(-20,{duration:i*.55}),j(10,{duration:i*.15}),j(-10,{duration:i*.15}),j(0,{duration:i*.15})))}]},initialValues:{transform:[{translateY:o.windowHeight}],...s},callback:a}}})}static createInstance(){return new jl}static getDuration(){return 600}getDuration(){return this.durationV??600}}ze(jl,"presetName","BounceInDown");class Ql extends Z{constructor(...e){super(...e),ze(this,"build",()=>{const n=this.getDelayFunction(),r=this.getDelay(),i=this.getDuration(),a=this.callbackV,s=this.initialValues;return o=>{"worklet";return{animations:{transform:[{translateY:n(r,Fe(j(20,{duration:i*.55}),j(-10,{duration:i*.15}),j(10,{duration:i*.15}),j(0,{duration:i*.15})))}]},initialValues:{transform:[{translateY:-o.windowHeight}],...s},callback:a}}})}static createInstance(){return new Ql}static getDuration(){return 600}getDuration(){return this.durationV??600}}ze(Ql,"presetName","BounceInUp");class Zl extends Z{constructor(...e){super(...e),ze(this,"build",()=>{const n=this.getDelayFunction(),r=this.getDelay(),i=this.getDuration(),a=this.callbackV,s=this.initialValues;return o=>{"worklet";return{animations:{transform:[{translateX:n(r,Fe(j(20,{duration:i*.55}),j(-10,{duration:i*.15}),j(10,{duration:i*.15}),j(0,{duration:i*.15})))}]},initialValues:{transform:[{translateX:-o.windowWidth}],...s},callback:a}}})}static createInstance(){return new Zl}static getDuration(){return 600}getDuration(){return this.durationV??600}}ze(Zl,"presetName","BounceInLeft");class Jl extends Z{constructor(...e){super(...e),ze(this,"build",()=>{const n=this.getDelayFunction(),r=this.getDelay(),i=this.getDuration(),a=this.callbackV,s=this.initialValues;return o=>{"worklet";return{animations:{transform:[{translateX:n(r,Fe(j(-20,{duration:i*.55}),j(10,{duration:i*.15}),j(-10,{duration:i*.15}),j(0,{duration:i*.15})))}]},initialValues:{transform:[{translateX:o.windowWidth}],...s},callback:a}}})}static createInstance(){return new Jl}static getDuration(){return 600}getDuration(){return this.durationV??600}}ze(Jl,"presetName","BounceInRight");let um=class cm extends Z{constructor(...e){super(...e),ze(this,"build",()=>{const n=this.getDelayFunction(),r=this.getDelay(),i=this.getDuration(),a=this.callbackV,s=this.initialValues;return()=>{"worklet";return{animations:{transform:[{scale:n(r,Fe(j(1.1,{duration:i*.15}),j(.9,{duration:i*.15}),j(1.2,{duration:i*.15}),j(0,{duration:i*.55})))}]},initialValues:{transform:[{scale:1}],...s},callback:a}}})}static createInstance(){return new cm}static getDuration(){return 600}getDuration(){return this.durationV??600}};ze(um,"presetName","BounceOut");class eu extends Z{constructor(...e){super(...e),ze(this,"build",()=>{const n=this.getDelayFunction(),r=this.getDelay(),i=this.getDuration(),a=this.callbackV,s=this.initialValues;return o=>{"worklet";return{animations:{transform:[{translateY:n(r,Fe(j(-10,{duration:i*.15}),j(10,{duration:i*.15}),j(-20,{duration:i*.15}),j(o.windowHeight,{duration:i*.55})))}]},initialValues:{transform:[{translateY:0}],...s},callback:a}}})}static createInstance(){return new eu}static getDuration(){return 600}getDuration(){return this.durationV??600}}ze(eu,"presetName","BounceOutDown");class tu extends Z{constructor(...e){super(...e),ze(this,"build",()=>{const n=this.getDelayFunction(),r=this.getDelay(),i=this.getDuration(),a=this.callbackV,s=this.initialValues;return o=>{"worklet";return{animations:{transform:[{translateY:n(r,Fe(j(10,{duration:i*.15}),j(-10,{duration:i*.15}),j(20,{duration:i*.15}),j(-o.windowHeight,{duration:i*.55})))}]},initialValues:{transform:[{translateY:0}],...s},callback:a}}})}static createInstance(){return new tu}static getDuration(){return 600}getDuration(){return this.durationV??600}}ze(tu,"presetName","BounceOutUp");class nu extends Z{constructor(...e){super(...e),ze(this,"build",()=>{const n=this.getDelayFunction(),r=this.getDelay(),i=this.getDuration(),a=this.callbackV,s=this.initialValues;return o=>{"worklet";return{animations:{transform:[{translateX:n(r,Fe(j(10,{duration:i*.15}),j(-10,{duration:i*.15}),j(20,{duration:i*.15}),j(-o.windowWidth,{duration:i*.55})))}]},initialValues:{transform:[{translateX:0}],...s},callback:a}}})}static createInstance(){return new nu}static getDuration(){return 600}getDuration(){return this.durationV??600}}ze(nu,"presetName","BounceOutLeft");class ru extends Z{constructor(...e){super(...e),ze(this,"build",()=>{const n=this.getDelayFunction(),r=this.getDelay(),i=this.getDuration(),a=this.callbackV,s=this.initialValues;return o=>{"worklet";return{animations:{transform:[{translateX:n(r,Fe(j(-10,{duration:i*.15}),j(10,{duration:i*.15}),j(-20,{duration:i*.15}),j(o.windowWidth,{duration:i*.55})))}]},initialValues:{transform:[{translateX:0}],...s},callback:a}}})}static createInstance(){return new ru}static getDuration(){return 600}getDuration(){return this.durationV??600}}ze(ru,"presetName","BounceOutRight");function br(t,e,n){return e=pb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pb(t){var e=vb(t,"string");return typeof e=="symbol"?e:e+""}function vb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class iu extends Z{constructor(...e){super(...e),br(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.getDuration(),o=this.callbackV,l=this.initialValues;return u=>{"worklet";return{animations:{opacity:n(a,j(1,{duration:s})),transform:[{translateX:n(a,r(0,{...i,duration:s*.7}))},{skewX:n(a,Fe(j("10deg",{duration:s*.7}),j("-5deg",{duration:s*.15}),j("0deg",{duration:s*.15})))}]},initialValues:{opacity:0,transform:[{translateX:u.windowWidth},{skewX:"-45deg"}],...l},callback:o}}})}static createInstance(){return new iu}}br(iu,"presetName","LightSpeedInRight");class au extends Z{constructor(...e){super(...e),br(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.getDuration(),o=this.callbackV,l=this.initialValues;return u=>{"worklet";return{animations:{opacity:n(a,j(1,{duration:s})),transform:[{translateX:n(a,r(0,{...i,duration:s*.7}))},{skewX:n(a,Fe(j("-10deg",{duration:s*.7}),j("5deg",{duration:s*.15}),j("0deg",{duration:s*.15})))}]},initialValues:{opacity:0,transform:[{translateX:-u.windowWidth},{skewX:"45deg"}],...l},callback:o}}})}static createInstance(){return new au}}br(au,"presetName","LightSpeedInLeft");class su extends Z{constructor(...e){super(...e),br(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{opacity:n(a,r(0,i)),transform:[{translateX:n(a,r(l.windowWidth,i))},{skewX:n(a,r("-45deg",i))}]},initialValues:{opacity:1,transform:[{translateX:0},{skewX:"0deg"}],...o},callback:s}}})}static createInstance(){return new su}}br(su,"presetName","LightSpeedOutRight");class ou extends Z{constructor(...e){super(...e),br(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{opacity:n(a,r(0,i)),transform:[{translateX:n(a,r(-l.windowWidth,i))},{skewX:n(a,r("45deg",i))}]},initialValues:{opacity:1,transform:[{translateX:0},{skewX:"0deg"}],...o},callback:s}}})}static createInstance(){return new ou}}br(ou,"presetName","LightSpeedOutLeft");function lu(t,e,n){return e=gb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gb(t){var e=mb(t,"string");return typeof e=="symbol"?e:e+""}function mb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class uu extends Z{constructor(...e){super(...e),lu(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return()=>{"worklet";return{animations:{opacity:n(a,r(1,i)),transform:[{scale:n(a,r(1,i))},{rotate:n(a,r("0",i))}]},initialValues:{opacity:0,transform:[{scale:0},{rotate:"5"}],...o},callback:s}}})}static createInstance(){return new uu}}lu(uu,"presetName","PinwheelIn");class cu extends Z{constructor(...e){super(...e),lu(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return()=>{"worklet";return{animations:{opacity:n(a,r(0,i)),transform:[{scale:n(a,r(0,i))},{rotate:n(a,r("5",i))}]},initialValues:{opacity:1,transform:[{scale:1},{rotate:"0"}],...o},callback:s}}})}static createInstance(){return new cu}}lu(cu,"presetName","PinwheelOut");function At(t,e,n){return e=Cb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cb(t){var e=Eb(t,"string");return typeof e=="symbol"?e:e+""}function Eb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class du extends Z{constructor(...e){super(...e),At(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{opacity:n(a,r(1,i)),transform:[{rotate:n(a,r("0deg",i))},{translateX:n(a,r(0,i))},{translateY:n(a,r(0,i))}]},initialValues:{opacity:0,transform:[{rotate:"-90deg"},{translateX:l.targetWidth/2-l.targetHeight/2},{translateY:-(l.targetWidth/2-l.targetHeight/2)}],...o},callback:s}}})}static createInstance(){return new du}}At(du,"presetName","RotateInDownLeft");class Au extends Z{constructor(...e){super(...e),At(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{opacity:n(a,r(1,i)),transform:[{rotate:n(a,r("0deg",i))},{translateX:n(a,r(0,i))},{translateY:n(a,r(0,i))}]},initialValues:{opacity:0,transform:[{rotate:"90deg"},{translateX:-(l.targetWidth/2-l.targetHeight/2)},{translateY:-(l.targetWidth/2-l.targetHeight/2)}],...o},callback:s}}})}static createInstance(){return new Au}}At(Au,"presetName","RotateInDownRight");class fu extends Z{constructor(...e){super(...e),At(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{opacity:n(a,r(1,i)),transform:[{rotate:n(a,r("0deg",i))},{translateX:n(a,r(0,i))},{translateY:n(a,r(0,i))}]},initialValues:{opacity:0,transform:[{rotate:"90deg"},{translateX:l.targetWidth/2-l.targetHeight/2},{translateY:l.targetWidth/2-l.targetHeight/2}],...o},callback:s}}})}static createInstance(){return new fu}}At(fu,"presetName","RotateInUpLeft");class hu extends Z{constructor(...e){super(...e),At(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{opacity:n(a,r(1,i)),transform:[{rotate:n(a,r("0deg",i))},{translateX:n(a,r(0,i))},{translateY:n(a,r(0,i))}]},initialValues:{opacity:0,transform:[{rotate:"-90deg"},{translateX:-(l.targetWidth/2-l.targetHeight/2)},{translateY:l.targetWidth/2-l.targetHeight/2}],...o},callback:s}}})}static createInstance(){return new hu}}At(hu,"presetName","RotateInUpRight");class pu extends Z{constructor(...e){super(...e),At(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{opacity:n(a,r(0,i)),transform:[{rotate:n(a,r("90deg",i))},{translateX:n(a,r(l.currentWidth/2-l.currentHeight/2,i))},{translateY:n(a,r(l.currentWidth/2-l.currentHeight/2,i))}]},initialValues:{opacity:1,transform:[{rotate:"0deg"},{translateX:0},{translateY:0}],...o},callback:s}}})}static createInstance(){return new pu}}At(pu,"presetName","RotateOutDownLeft");class vu extends Z{constructor(...e){super(...e),At(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{opacity:n(a,r(0,i)),transform:[{rotate:n(a,r("-90deg",i))},{translateX:n(a,r(-(l.currentWidth/2-l.currentHeight/2),i))},{translateY:n(a,r(l.currentWidth/2-l.currentHeight/2,i))}]},initialValues:{opacity:1,transform:[{rotate:"0deg"},{translateX:0},{translateY:0}],...o},callback:s}}})}static createInstance(){return new vu}}At(vu,"presetName","RotateOutDownRight");class gu extends Z{constructor(...e){super(...e),At(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{opacity:n(a,r(0,i)),transform:[{rotate:n(a,r("-90deg",i))},{translateX:n(a,r(l.currentWidth/2-l.currentHeight/2,i))},{translateY:n(a,r(-(l.currentWidth/2-l.currentHeight/2),i))}]},initialValues:{opacity:1,transform:[{rotate:"0deg"},{translateX:0},{translateY:0}],...o},callback:s}}})}static createInstance(){return new gu}}At(gu,"presetName","RotateOutUpLeft");class mu extends Z{constructor(...e){super(...e),At(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{opacity:n(a,r(0,i)),transform:[{rotate:n(a,r("90deg",i))},{translateX:n(a,r(-(l.currentWidth/2-l.currentHeight/2),i))},{translateY:n(a,r(-(l.currentWidth/2-l.currentHeight/2),i))}]},initialValues:{opacity:1,transform:[{rotate:"0deg"},{translateX:0},{translateY:0}],...o},callback:s}}})}static createInstance(){return new mu}}At(mu,"presetName","RotateOutUpRight");function _r(t,e,n){return e=xb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xb(t){var e=yb(t,"string");return typeof e=="symbol"?e:e+""}function yb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class Cu extends Z{constructor(...e){super(...e),_r(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateX:n(a,r(0,i))},{rotate:n(a,r("0deg",i))}]},initialValues:{transform:[{translateX:-l.windowWidth},{rotate:"-180deg"}],...o},callback:s}}})}static createInstance(){return new Cu}}_r(Cu,"presetName","RollInLeft");class Eu extends Z{constructor(...e){super(...e),_r(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateX:n(a,r(0,i))},{rotate:n(a,r("0deg",i))}]},initialValues:{transform:[{translateX:l.windowWidth},{rotate:"180deg"}],...o},callback:s}}})}static createInstance(){return new Eu}}_r(Eu,"presetName","RollInRight");class xu extends Z{constructor(...e){super(...e),_r(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateX:n(a,r(-l.windowWidth,i))},{rotate:n(a,r("-180deg",i))}]},initialValues:{transform:[{translateX:0},{rotate:"0deg"}],...o},callback:s}}})}static createInstance(){return new xu}}_r(xu,"presetName","RollOutLeft");class yu extends Z{constructor(...e){super(...e),_r(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateX:n(a,r(l.windowWidth,i))},{rotate:n(a,r("180deg",i))}]},initialValues:{transform:[{translateX:0},{rotate:"0deg"}],...o},callback:s}}})}static createInstance(){return new yu}}_r(yu,"presetName","RollOutRight");function Ib(t,e,n){return e=wb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wb(t){var e=Sb(t,"string");return typeof e=="symbol"?e:e+""}function Sb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}let dm=class Am extends Z{constructor(...e){super(...e),Ib(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.callbackV,s=this.getDelay();return o=>{"worklet";return{initialValues:{originX:o.currentOriginX,originY:o.currentOriginY,width:o.currentWidth,height:o.currentHeight},animations:{originX:n(s,r(o.targetOriginX,i)),originY:n(s,r(o.targetOriginY,i)),width:n(s,r(o.targetWidth,i)),height:n(s,r(o.targetHeight,i))},callback:a}}})}static createInstance(){return new Am}};const bb=dm;function _b(t,e,n){return e=Db(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Db(t){var e=Ob(t,"string");return typeof e=="symbol"?e:e+""}function Ob(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}let Tb=class fm extends wr{constructor(...e){super(...e),_b(this,"build",()=>{const n=this.getDelayFunction(),r=this.callbackV,i=this.getDelay(),a=this.durationV??500;return s=>{"worklet";return{initialValues:{opacity:1,originX:s.currentOriginX,originY:s.currentOriginY,width:s.currentWidth,height:s.currentHeight},animations:{opacity:n(i,Fe(j(0,{duration:a}),j(1,{duration:a}))),originX:n(i+a,j(s.targetOriginX,{duration:50})),originY:n(i+a,j(s.targetOriginY,{duration:50})),width:n(i+a,j(s.targetWidth,{duration:50})),height:n(i+a,j(s.targetHeight,{duration:50}))},callback:r}}})}static createInstance(){return new fm}};function Of(t,e,n){return e=Pb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pb(t){var e=Rb(t,"string");return typeof e=="symbol"?e:e+""}function Rb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}let Fb=class _d extends wr{constructor(...e){super(...e),Of(this,"reversed",!1),Of(this,"build",()=>{const n=this.getDelayFunction(),r=this.callbackV,i=this.getDelay(),s={duration:(this.durationV??500)/2},o=this.reversed;return l=>{"worklet";return{initialValues:{originX:l.currentOriginX,originY:l.currentOriginY,width:l.currentWidth,height:l.currentHeight},animations:{originX:n(i,Fe(j(o?l.currentOriginX:l.targetOriginX,s),j(l.targetOriginX,s))),originY:n(i,Fe(j(o?l.targetOriginY:l.currentOriginY,s),j(l.targetOriginY,s))),width:n(i,Fe(j(o?l.currentWidth:l.targetWidth,s),j(l.targetWidth,s))),height:n(i,Fe(j(o?l.targetHeight:l.currentHeight,s),j(l.targetHeight,s)))},callback:r}}})}static createInstance(){return new _d}static reverse(){return _d.createInstance().reverse()}reverse(){return this.reversed=!this.reversed,this}};function kb(t,e,n){return e=Mb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mb(t){var e=Bb(t,"string");return typeof e=="symbol"?e:e+""}function Bb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class q0 extends wr{constructor(...e){super(...e),kb(this,"build",()=>{const n=this.getDelayFunction(),r=this.callbackV,i=this.getDelay(),a=(this.durationV??300)/2,s={duration:a*2};return o=>{"worklet";const l=Math.max(Math.abs(o.targetOriginX-o.currentOriginX),Math.abs(o.targetOriginY-o.currentOriginY));return{initialValues:{originX:o.currentOriginX,originY:o.currentOriginY,width:o.currentWidth,height:o.currentHeight},animations:{originX:n(i,j(o.targetOriginX,s)),originY:n(i,Fe(j(Math.min(o.targetOriginY,o.currentOriginY)-l,{duration:a,easing:lt.out(lt.exp)}),j(o.targetOriginY,{...s,duration:a,easing:lt.bounce}))),width:n(i,j(o.targetWidth,s)),height:n(i,j(o.targetHeight,s))},callback:r}}})}static createInstance(){return new q0}}function ha(t,e,n){return e=Nb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nb(t){var e=Gb(t,"string");return typeof e=="symbol"?e:e+""}function Gb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class j0 extends wr{constructor(...e){super(...e),ha(this,"easingXV",lt.in(lt.ease)),ha(this,"easingYV",lt.out(lt.ease)),ha(this,"easingWidthV",lt.in(lt.exp)),ha(this,"easingHeightV",lt.out(lt.exp)),ha(this,"build",()=>{const n=this.getDelayFunction(),r=this.callbackV,i=this.getDelay(),a=this.durationV??300,s={easingX:this.easingXV,easingY:this.easingYV,easingWidth:this.easingWidthV,easingHeight:this.easingHeightV};return o=>{"worklet";return{initialValues:{originX:o.currentOriginX,originY:o.currentOriginY,width:o.currentWidth,height:o.currentHeight},animations:{originX:n(i,j(o.targetOriginX,{duration:a,easing:s.easingX})),originY:n(i,j(o.targetOriginY,{duration:a,easing:s.easingY})),width:n(i,j(o.targetWidth,{duration:a,easing:s.easingWidth})),height:n(i,j(o.targetHeight,{duration:a,easing:s.easingHeight}))},callback:r}}})}static createInstance(){return new j0}static easingX(e){return this.createInstance().easingX(e)}easingX(e){return this.easingXV=e,this}static easingY(e){return this.createInstance().easingY(e)}easingY(e){return this.easingYV=e,this}static easingWidth(e){return this.createInstance().easingWidth(e)}easingWidth(e){return this.easingWidthV=e,this}static easingHeight(e){return this.createInstance().easingHeight(e)}easingHeight(e){return this.easingHeightV=e,this}}function $u(t,e,n){return e=Lb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Lb(t){var e=Vb(t,"string");return typeof e=="symbol"?e:e+""}function Vb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class Iu extends wr{constructor(...e){super(...e),$u(this,"enteringV",K0),$u(this,"exitingV",$0),$u(this,"build",()=>{const n=this.getDelayFunction(),r=this.callbackV,i=this.getDelay(),a=this.enteringV.build(),s=this.exitingV.build(),o=this.exitingV.getDuration();return l=>{"worklet";const u=a(l),c=s(l),A={transform:[]};for(const f of Object.keys(c.animations))if(f==="transform"){if(!Array.isArray(c.animations.transform))continue;c.animations.transform.forEach((p,h)=>{for(const v of Object.keys(p))A.transform.push({[v]:n(i,Fe(p[v],j(c.initialValues.transform?c.initialValues.transform[h][v]:0,{duration:0})))})})}else{const p=u.animations[f]!==void 0?[c.animations[f],j(u.initialValues[f],{duration:0}),u.animations[f]]:[c.animations[f],j(Object.keys(l).includes(f)?l[f]:c.initialValues[f],{duration:0})];A[f]=n(i,Fe(...p))}for(const f of Object.keys(u.animations))if(f==="transform"){if(!Array.isArray(u.animations.transform))continue;u.animations.transform.forEach((p,h)=>{for(const v of Object.keys(p))A.transform.push({[v]:n(i+o,Fe(j(u.initialValues.transform?u.initialValues.transform[h][v]:0,{duration:o}),p[v]))})})}else{if(A[f]!==void 0)continue;A[f]=n(i,Fe(j(u.initialValues[f],{duration:0}),u.animations[f]))}const d=(Array.isArray(c.initialValues.transform)?c.initialValues.transform:[]).concat((Array.isArray(u.animations.transform)?u.animations.transform:[]).map(f=>{const p=Object.keys(f);if((p==null?void 0:p.length)<1)return console.error("[Reanimated]: ${value} is not a valid Transform object"),f;const h=p[0],v=f[h].current;return typeof v=="string"?v.includes("deg")?{[h]:"0deg"}:{[h]:"0"}:h.includes("translate")?{[h]:0}:{[h]:1}}));return{initialValues:{...c.initialValues,originX:l.currentOriginX,originY:l.currentOriginY,width:l.currentWidth,height:l.currentHeight,transform:d},animations:{originX:n(i+o,j(l.targetOriginX,{duration:o})),originY:n(i+o,j(l.targetOriginY,{duration:o})),width:n(i+o,j(l.targetWidth,{duration:o})),height:n(i+o,j(l.targetHeight,{duration:o})),...A},callback:r}}})}static createInstance(){return new Iu}static entering(e){return this.createInstance().entering(e)}entering(e){return this.enteringV=e,this}static exiting(e){return this.createInstance().exiting(e)}exiting(e){return this.exitingV=e,this}}function Hb(t,e){return Iu.entering(e).exiting(t)}class Ar{custom(){return this}progressAnimation(){return this}duration(){return this}reduceMotion(){return this}defaultTransitionType(){return this}registerTransition(){}unregisterTransition(){}getReduceMotion(){return Cr.System}static custom(){return new Ar}static duration(){return new Ar}static progressAnimation(){return new Ar}static defaultTransitionType(){return new Ar}static reduceMotion(){return new Ar}}function Ub(){return"It looks like you might be using shared value's .value inside reanimated inline style. If you want a component to update when shared value changes you should use the shared value directly instead of its current state represented by `.value`. See documentation here: https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary/#animations-in-inline-styling"}function Wb(){}function Xb(){}function Yb(){}function zb(){}function Kb(){}const hm=b.createContext(null);function $b(t){const e=b.useRef(t.shouldSkip);return b.useEffect(()=>{e.current=!1},[e]),xe.createElement(hm.Provider,{value:e},t.children)}class wu extends b.Component{getMaybeWrappedChildren(){return b.Children.count(this.props.children)>1&&this.props.skipExiting?b.Children.map(this.props.children,e=>xe.createElement(wu,{skipExiting:!0},e)):this.props.children}setShouldAnimateExiting(){if(b.Children.count(this.props.children)===1){const e=zt(this);e&&FI(e,!this.props.skipExiting)}}componentWillUnmount(){this.props.skipExiting!==void 0&&this.setShouldAnimateExiting()}render(){const e=this.getMaybeWrappedChildren();return this.props.skipEntering===void 0?e:xe.createElement($b,{shouldSkip:this.props.skipEntering},e)}}var qb=function(t,e,n,r,i,a,s,o){if(!t){var l;if(e===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,a,s,o],c=0;l=new Error(e.replace(/%s/g,function(){return u[c++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},jb=qb;const Do=Cn(jb);var Qb=null;let Oo=[];function Zb(t){Oo.push(t),Oo.length===1&&queueMicrotask(Jb)}function Jb(){Gn(e_)(Oo),Oo=[]}function e_(t){"worklet";global._removeFromPropsRegistry(t)}function qu(t,e,n){return(i=>"build"in t&&typeof t.build=="function")()?t.build():t}class t_{addOnJSPropsChangeListener(e){}removeOnJSPropsChangeListener(e){}}function Q0(t){if(!Array.isArray(t))return[t];const e=[],n=r=>{r.forEach(i=>{Array.isArray(i)?n(i):e.push(i)})};return n(t),e}const Vr=(t,e)=>typeof e=="function"||typeof e=="object"?e==null?!1:t in e:!1;function n_({getForwardedRef:t,setLocalRef:e}){return function(r){const i=t();e(r),typeof i=="function"?i(r):typeof i=="object"&&i!=null&&(i.current=r)}}function ju(t,e,n){return e=r_(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function r_(t){var e=i_(t,"string");return typeof e=="symbol"?e:e+""}function i_(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}const a_=Ke();function Z0(t){return Array.isArray(t)?t.some(e=>pm(e)):!1}function s_(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!0;for(const n of Object.keys(t))if(t[n]!==e[n])return!0;return!1}function To(t){"worklet";const e={};for(const[n,r]of Object.entries(t))Er(r)?e[n]=r.value:Array.isArray(r)?e[n]=r.map(i=>To(i)):typeof r=="object"?e[n]=To(r):e[n]=r;return e}function o_(t){const e={};for(const n in t){const r=t[n];n==="style"?Q0(t.style??[]).forEach(a=>{if(a)for(const[s,o]of Object.entries(a))(Er(o)||s==="transform"&&Z0(o))&&(e[s]=o)}):Er(r)&&(e[n]=r)}return e}function pm(t){return t?Object.keys(t).some(e=>{const n=t[e];return Er(n)||e==="transform"&&Z0(n)}):!1}function l_(t,e){if(e)return To(t);const n={};for(const[r,i]of Object.entries(t))!Er(i)&&!(r==="transform"&&Z0(i))&&(n[r]=i);return n}class u_{constructor(){ju(this,"_inlinePropsViewDescriptors",null),ju(this,"_inlinePropsMapperId",null),ju(this,"_inlineProps",{})}attachInlineProps(e,n){const r=o_(e.props);if(s_(r,this._inlineProps)){if(!this._inlinePropsViewDescriptors){this._inlinePropsViewDescriptors=Yg();const{viewTag:l,viewName:u,shadowNodeWrapper:c,viewConfig:A}=n;Object.keys(r).length&&A&&em(A),this._inlinePropsViewDescriptors.add({tag:l,name:u,shadowNodeWrapper:c})}const a=this._inlinePropsViewDescriptors.shareableViewDescriptors,s=a_?{items:new Set([e])}:void 0,o=()=>{"worklet";const l=To(r);Ln(a,l,s)};this._inlineProps=r,this._inlinePropsMapperId&&Li(this._inlinePropsMapperId),this._inlinePropsMapperId=null,Object.keys(r).length&&(this._inlinePropsMapperId=ds(o,Object.values(r)))}}detachInlineProps(){this._inlinePropsMapperId&&Li(this._inlinePropsMapperId)}}function Qu(t,e,n){return e=c_(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c_(t){var e=d_(t,"string");return typeof e=="symbol"?e:e+""}function d_(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Tf(){}class A_{constructor(){Qu(this,"_initialStyle",{}),Qu(this,"_previousProps",null),Qu(this,"_requiresNewInitials",!0)}filterNonAnimatedProps(e){const n=e.props;this._maybePrepareForNewInitials(n);const r={};for(const i in n){const a=n[i];if(i==="style"){const s=n.style,o=Q0(s??[]);this._requiresNewInitials&&(this._initialStyle={});const l=o.map(u=>{if(u&&u.viewDescriptors){var c;return(c=u.viewsRef)===null||c===void 0||c.add(e),this._requiresNewInitials&&(this._initialStyle={...u.initial.value,...this._initialStyle,...H0(u.initial.updater)}),this._initialStyle}else return pm(u)?l_(u,this._requiresNewInitials):u});r[i]=ve.flatten(l)}else if(i==="animatedProps"){const s=n.animatedProps;s.initial!==void 0&&Object.keys(s.initial.value).forEach(o=>{var l,u;r[o]=(l=s.initial)===null||l===void 0?void 0:l.value[o],(u=s.viewsRef)===null||u===void 0||u.add(e)})}else Vr("workletEventHandler",a)&&a.workletEventHandler instanceof dr?a.workletEventHandler.eventNames.length>0?a.workletEventHandler.eventNames.forEach(s=>{r[s]=Vr("listeners",a.workletEventHandler)?a.workletEventHandler.listeners[s]:Tf}):r[i]=Tf:Er(a)?this._requiresNewInitials&&(r[i]=a.value):(i!=="onGestureHandlerStateChange"||!Qa())&&(r[i]=a)}return this._requiresNewInitials=!1,r}_maybePrepareForNewInitials(e){this._previousProps&&e.style&&(this._requiresNewInitials=!X0(this._previousProps,e)),this._previousProps=e}}function J(t){let e=`@keyframes ${t.name} { `;for(const[n,r]of Object.entries(t.style)){e+=`${n}% { `;for(const[i,a]of Object.entries(r)){if(i!=="transform"){e+=`${i}: ${a}; `;continue}e+="transform:",a.forEach(s=>{for(const[o,l]of Object.entries(s))e+=` ${o}(${l})`}),e+="; "}e+="} "}return e+="} ",e}const dn=.6,rn={BounceIn:{name:"BounceIn",style:{0:{transform:[{scale:0}]},55:{transform:[{scale:1.2}]},70:{transform:[{scale:.9}]},85:{transform:[{scale:1.1}]},100:{transform:[{scale:1}]}},duration:dn},BounceInRight:{name:"BounceInRight",style:{0:{transform:[{translateX:"100vw"}]},55:{transform:[{translateX:"-20px"}]},70:{transform:[{translateX:"10px"}]},85:{transform:[{translateX:"-10px"}]},100:{transform:[{translateX:"0px"}]}},duration:dn},BounceInLeft:{name:"BounceInLeft",style:{0:{transform:[{translateX:"-100vw"}]},55:{transform:[{translateX:"20px"}]},70:{transform:[{translateX:"-10px"}]},85:{transform:[{translateX:"10px"}]},100:{transform:[{translateX:"0px"}]}},duration:dn},BounceInUp:{name:"BounceInUp",style:{0:{transform:[{translateY:"-100vh"}]},55:{transform:[{translateY:"20px"}]},70:{transform:[{translateY:"-10px"}]},85:{transform:[{translateY:"10px"}]},100:{transform:[{translateY:"0px"}]}},duration:dn},BounceInDown:{name:"BounceInDown",style:{0:{transform:[{translateY:"100vh"}]},55:{transform:[{translateY:"-20px"}]},70:{transform:[{translateY:"10px"}]},85:{transform:[{translateY:"-10px"}]},100:{transform:[{translateY:"0px"}]}},duration:dn}},an={BounceOut:{name:"BounceOut",style:{15:{transform:[{scale:1.1}]},30:{transform:[{scale:.9}]},45:{transform:[{scale:1.2}]},100:{transform:[{scale:.1}]}},duration:dn},BounceOutRight:{name:"BounceOutRight",style:{15:{transform:[{translateX:"-10px"}]},30:{transform:[{translateX:"10px"}]},45:{transform:[{translateX:"-20px"}]},100:{transform:[{translateX:"100vh"}]}},duration:dn},BounceOutLeft:{name:"BounceOutLeft",style:{15:{transform:[{translateX:"10px"}]},30:{transform:[{translateX:"-10px"}]},45:{transform:[{translateX:"20px"}]},100:{transform:[{translateX:"-100vh"}]}},duration:dn},BounceOutUp:{name:"BounceOutUp",style:{15:{transform:[{translateY:"10px"}]},30:{transform:[{translateY:"-10px"}]},45:{transform:[{translateY:"20px"}]},100:{transform:[{translateY:"-100vh"}]}},duration:dn},BounceOutDown:{name:"BounceOutDown",style:{15:{transform:[{translateY:"-10px"}]},30:{transform:[{translateY:"10px"}]},45:{transform:[{translateY:"-20px"}]},100:{transform:[{translateY:"100vh"}]}},duration:dn}},f_={BounceIn:{style:J(rn.BounceIn),duration:rn.BounceIn.duration},BounceInRight:{style:J(rn.BounceInRight),duration:rn.BounceInRight.duration},BounceInLeft:{style:J(rn.BounceInLeft),duration:rn.BounceInLeft.duration},BounceInUp:{style:J(rn.BounceInUp),duration:rn.BounceInUp.duration},BounceInDown:{style:J(rn.BounceInDown),duration:rn.BounceInDown.duration}},h_={BounceOut:{style:J(an.BounceOut),duration:an.BounceOut.duration},BounceOutRight:{style:J(an.BounceOutRight),duration:an.BounceOutRight.duration},BounceOutLeft:{style:J(an.BounceOutLeft),duration:an.BounceOutLeft.duration},BounceOutUp:{style:J(an.BounceOutUp),duration:an.BounceOutUp.duration},BounceOutDown:{style:J(an.BounceOutDown),duration:an.BounceOutDown.duration}},An=.3,sn={FadeIn:{name:"FadeIn",style:{0:{opacity:0}},duration:An},FadeInRight:{name:"FadeInRight",style:{0:{opacity:0,transform:[{translateX:"25px"}]}},duration:An},FadeInLeft:{name:"FadeInLeft",style:{0:{opacity:0,transform:[{translateX:"-25px"}]}},duration:An},FadeInUp:{name:"FadeInUp",style:{0:{opacity:0,transform:[{translateY:"-25px"}]}},duration:An},FadeInDown:{name:"FadeInDown",style:{0:{opacity:0,transform:[{translateY:"25px"}]}},duration:An}},on={FadeOut:{name:"FadeOut",style:{100:{opacity:0}},duration:An},FadeOutRight:{name:"FadeOutRight",style:{100:{opacity:0,transform:[{translateX:"25px"}]}},duration:An},FadeOutLeft:{name:"FadeOutLeft",style:{100:{opacity:0,transform:[{translateX:"-25px"}]}},duration:An},FadeOutUp:{name:"FadeOutUp",style:{100:{opacity:0,transform:[{translateY:"-25px"}]}},duration:An},FadeOutDown:{name:"FadeOutDown",style:{100:{opacity:0,transform:[{translateY:"25px"}]}},duration:An}},p_={FadeIn:{style:J(sn.FadeIn),duration:sn.FadeIn.duration},FadeInRight:{style:J(sn.FadeInRight),duration:sn.FadeInRight.duration},FadeInLeft:{style:J(sn.FadeInLeft),duration:sn.FadeInLeft.duration},FadeInUp:{style:J(sn.FadeInUp),duration:sn.FadeInUp.duration},FadeInDown:{style:J(sn.FadeInDown),duration:sn.FadeInDown.duration}},v_={FadeOut:{style:J(on.FadeOut),duration:on.FadeOut.duration},FadeOutRight:{style:J(on.FadeOutRight),duration:on.FadeOutRight.duration},FadeOutLeft:{style:J(on.FadeOutLeft),duration:on.FadeOutLeft.duration},FadeOutUp:{style:J(on.FadeOutUp),duration:on.FadeOutUp.duration},FadeOutDown:{style:J(on.FadeOutDown),duration:on.FadeOutDown.duration}},Xt=.3,Lt={FlipInYRight:{name:"FlipInYRight",style:{0:{transform:[{perspective:"500px",rotateY:"90deg",translateX:"100%"}]},100:{transform:[{perspective:"500px",rotateY:"0deg",translateX:"0%"}]}},duration:Xt},FlipInYLeft:{name:"FlipInYLeft",style:{0:{transform:[{perspective:"500px",rotateY:"-90deg",translateX:"-100%"}]},100:{transform:[{perspective:"500px",rotateY:"0deg",translateX:"0%"}]}},duration:Xt},FlipInXUp:{name:"FlipInXUp",style:{0:{transform:[{perspective:"500px",rotateX:"90deg",translateY:"-100%"}]},100:{transform:[{perspective:"500px",rotateX:"0deg",translateY:"0%"}]}},duration:Xt},FlipInXDown:{name:"FlipInXDown",style:{0:{transform:[{perspective:"500px",rotateX:"-90deg",translateY:"100%"}]},100:{transform:[{perspective:"500px",rotateX:"0deg",translateY:"0%"}]}},duration:Xt},FlipInEasyX:{name:"FlipInEasyX",style:{0:{transform:[{perspective:"500px",rotateX:"90deg"}]},100:{transform:[{perspective:"500px",rotateX:"0deg"}]}},duration:Xt},FlipInEasyY:{name:"FlipInEasyY",style:{0:{transform:[{perspective:"500px",rotateY:"90deg"}]},100:{transform:[{perspective:"500px",rotateY:"0deg"}]}},duration:Xt}},Vt={FlipOutYRight:{name:"FlipOutYRight",style:{0:{transform:[{perspective:"500px",rotateY:"0deg",translateX:"0%"}]},100:{transform:[{perspective:"500px",rotateY:"90deg",translateX:"100%"}]}},duration:Xt},FlipOutYLeft:{name:"FlipOutYLeft",style:{0:{transform:[{perspective:"500px",rotateY:"0deg",translateX:"0%"}]},100:{transform:[{perspective:"500px",rotateY:"-90deg",translateX:"-100%"}]}},duration:Xt},FlipOutXUp:{name:"FlipOutXUp",style:{0:{transform:[{perspective:"500px",rotateX:"0deg",translateY:"0%"}]},100:{transform:[{perspective:"500px",rotateX:"90deg",translateY:"-100%"}]}},duration:Xt},FlipOutXDown:{name:"FlipOutXDown",style:{0:{transform:[{perspective:"500px",rotateX:"0deg",translateY:"0%"}]},100:{transform:[{perspective:"500px",rotateX:"-90deg",translateY:"100%"}]}},duration:Xt},FlipOutEasyX:{name:"FlipOutEasyX",style:{0:{transform:[{perspective:"500px",rotateX:"0deg"}]},100:{transform:[{perspective:"500px",rotateX:"90deg"}]}},duration:Xt},FlipOutEasyY:{name:"FlipOutEasyY",style:{0:{transform:[{perspective:"500px",rotateY:"0deg"}]},100:{transform:[{perspective:"500px",rotateY:"90deg"}]}},duration:Xt}},g_={FlipInYRight:{style:J(Lt.FlipInYRight),duration:Lt.FlipInYRight.duration},FlipInYLeft:{style:J(Lt.FlipInYLeft),duration:Lt.FlipInYLeft.duration},FlipInXUp:{style:J(Lt.FlipInXUp),duration:Lt.FlipInXUp.duration},FlipInXDown:{style:J(Lt.FlipInXDown),duration:Lt.FlipInXDown.duration},FlipInEasyX:{style:J(Lt.FlipInEasyX),duration:Lt.FlipInEasyX.duration},FlipInEasyY:{style:J(Lt.FlipInEasyY),duration:Lt.FlipInEasyY.duration}},m_={FlipOutYRight:{style:J(Vt.FlipOutYRight),duration:Vt.FlipOutYRight.duration},FlipOutYLeft:{style:J(Vt.FlipOutYLeft),duration:Vt.FlipOutYLeft.duration},FlipOutXUp:{style:J(Vt.FlipOutXUp),duration:Vt.FlipOutXUp.duration},FlipOutXDown:{style:J(Vt.FlipOutXDown),duration:Vt.FlipOutXDown.duration},FlipOutEasyX:{style:J(Vt.FlipOutEasyX),duration:Vt.FlipOutEasyX.duration},FlipOutEasyY:{style:J(Vt.FlipOutEasyY),duration:Vt.FlipOutEasyY.duration}},Po=.3,Ds={LightSpeedInRight:{name:"LightSpeedInRight",style:{0:{transform:[{translateX:"100vw",skewX:"-45deg"}],opacity:0},70:{transform:[{skewX:"10deg"}]},85:{transform:[{skewX:"-5deg"}]},100:{transform:[{skewX:"0deg"}]}},duration:Po},LightSpeedInLeft:{name:"LightSpeedInLeft",style:{0:{transform:[{translateX:"-100vw",skewX:"45deg"}],opacity:0},70:{transform:[{skewX:"-10deg"}]},85:{transform:[{skewX:"5deg"}]},100:{transform:[{skewX:"0deg"}]}},duration:Po}},Os={LightSpeedOutRight:{name:"LightSpeedOutRight",style:{100:{transform:[{translateX:"100vw",skewX:"-45deg"}],opacity:0}},duration:Po},LightSpeedOutLeft:{name:"LightSpeedOutLeft",style:{100:{transform:[{translateX:"-100vw",skew:"45deg"}],opacity:0}},duration:Po}},C_={LightSpeedInRight:{style:J(Ds.LightSpeedInRight),duration:Ds.LightSpeedInRight.duration},LightSpeedInLeft:{style:J(Ds.LightSpeedInLeft),duration:Ds.LightSpeedInLeft.duration}},E_={LightSpeedOutRight:{style:J(Os.LightSpeedOutRight),duration:Os.LightSpeedOutRight.duration},LightSpeedOutLeft:{style:J(Os.LightSpeedOutLeft),duration:Os.LightSpeedOutLeft.duration}},Pf=.3,Ts={PinwheelIn:{name:"PinwheelIn",style:{0:{transform:[{rotate:"5rad",scale:0}],opacity:0},100:{transform:[{rotate:"0deg",scale:1}],opacity:1}},duration:Pf},PinwheelOut:{name:"PinwheelOut",style:{100:{transform:[{rotate:"5rad",scale:0}],opacity:0}},duration:Pf}},x_={PinwheelIn:{style:J(Ts.PinwheelIn),duration:Ts.PinwheelIn.duration},PinwheelOut:{style:J(Ts.PinwheelOut),duration:Ts.PinwheelOut.duration}},Ro=.3,Ps={RollInLeft:{name:"RollInLeft",style:{0:{transform:[{translateX:"-100vw",rotate:"-180deg"}]}},duration:Ro},RollInRight:{name:"RollInRight",style:{0:{transform:[{translateX:"100vw",rotate:"180deg"}]}},duration:Ro}},Rs={RollOutLeft:{name:"RollOutLeft",style:{100:{transform:[{translateX:"-100vw",rotate:"-180deg"}]}},duration:Ro},RollOutRight:{name:"RollOutRight",style:{100:{transform:[{translateX:"100vw",rotate:"180deg"}]}},duration:Ro}},y_={RollInLeft:{style:J(Ps.RollInLeft),duration:Ps.RollInLeft.duration},RollInRight:{style:J(Ps.RollInRight),duration:Ps.RollInRight.duration}},I_={RollOutLeft:{style:J(Rs.RollOutLeft),duration:Rs.RollOutLeft.duration},RollOutRight:{style:J(Rs.RollOutRight),duration:Rs.RollOutRight.duration}},hr=.3,nr={RotateInDownLeft:{name:"RotateInDownLeft",style:{0:{transform:[{translateX:"-50%",translateY:"-250%",rotate:"-90deg"}],opacity:0}},duration:hr},RotateInDownRight:{name:"RotateInDownRight",style:{0:{transform:[{translateX:"40%",translateY:"-250%",rotate:"90deg"}],opacity:0}},duration:hr},RotateInUpLeft:{name:"RotateInUpLeft",style:{0:{transform:[{translateX:"-40%",translateY:"250%",rotate:"90deg"}],opacity:0}},duration:hr},RotateInUpRight:{name:"RotateInUpRight",style:{0:{transform:[{translateX:"40%",translateY:"250%",rotate:"-90deg"}],opacity:0}},duration:hr}},rr={RotateOutDownLeft:{name:"RotateOutDownLeft",style:{100:{transform:[{translateX:"-40%",translateY:"250%",rotate:"90deg"}],opacity:0}},duration:hr},RotateOutDownRight:{name:"RotateOutDownRight",style:{100:{transform:[{translateX:"40%",translateY:"250%",rotate:"-90deg"}],opacity:0}},duration:hr},RotateOutUpLeft:{name:"RotateOutUpLeft",style:{100:{transform:[{translateX:"-40%",translateY:"-250%",rotate:"-90deg"}],opacity:0}},duration:hr},RotateOutUpRight:{name:"RotateOutUpRight",style:{100:{transform:[{translateX:"40%",translateY:"-250%",rotate:"90deg"}],opacity:0}},duration:hr}},w_={RotateInDownLeft:{style:J(nr.RotateInDownLeft),duration:nr.RotateInDownLeft.duration},RotateInDownRight:{style:J(nr.RotateInDownRight),duration:nr.RotateInDownRight.duration},RotateInUpLeft:{style:J(nr.RotateInUpLeft),duration:nr.RotateInUpLeft.duration},RotateInUpRight:{style:J(nr.RotateInUpRight),duration:nr.RotateInUpRight.duration}},S_={RotateOutDownLeft:{style:J(rr.RotateOutDownLeft),duration:rr.RotateOutDownLeft.duration},RotateOutDownRight:{style:J(rr.RotateOutDownRight),duration:rr.RotateOutDownRight.duration},RotateOutUpLeft:{style:J(rr.RotateOutUpLeft),duration:rr.RotateOutUpLeft.duration},RotateOutUpRight:{style:J(rr.RotateOutUpRight),duration:rr.RotateOutUpRight.duration}},pr=.3,ir={SlideInRight:{name:"SlideInRight",style:{0:{transform:[{translateX:"100vw"}]},100:{transform:[{translateX:"0%"}]}},duration:pr},SlideInLeft:{name:"SlideInLeft",style:{0:{transform:[{translateX:"-100vw"}]},100:{transform:[{translateX:"0%"}]}},duration:pr},SlideInUp:{name:"SlideInUp",style:{0:{transform:[{translateY:"-100vh"}]},100:{transform:[{translateY:"0%"}]}},duration:pr},SlideInDown:{name:"SlideInDown",style:{0:{transform:[{translateY:"100vh"}]},100:{transform:[{translateY:"0%"}]}},duration:pr}},ar={SlideOutRight:{name:"SlideOutRight",style:{0:{transform:[{translateX:"0%"}]},100:{transform:[{translateX:"100vw"}]}},duration:pr},SlideOutLeft:{name:"SlideOutLeft",style:{0:{transform:[{translateX:"0%"}]},100:{transform:[{translateX:"-100vw"}]}},duration:pr},SlideOutUp:{name:"SlideOutUp",style:{0:{transform:[{translateY:"0%"}]},100:{transform:[{translateY:"-100vh"}]}},duration:pr},SlideOutDown:{name:"SlideOutDown",style:{0:{transform:[{translateY:"0%"}]},100:{transform:[{translateY:"100vh"}]}},duration:pr}},b_={SlideInRight:{style:J(ir.SlideInRight),duration:ir.SlideInRight.duration},SlideInLeft:{style:J(ir.SlideInLeft),duration:ir.SlideInLeft.duration},SlideInUp:{style:J(ir.SlideInUp),duration:ir.SlideInUp.duration},SlideInDown:{style:J(ir.SlideInDown),duration:ir.SlideInDown.duration}},__={SlideOutRight:{style:J(ar.SlideOutRight),duration:ar.SlideOutRight.duration},SlideOutLeft:{style:J(ar.SlideOutLeft),duration:ar.SlideOutLeft.duration},SlideOutUp:{style:J(ar.SlideOutUp),duration:ar.SlideOutUp.duration},SlideOutDown:{style:J(ar.SlideOutDown),duration:ar.SlideOutDown.duration}},Fo=.3,Fs={StretchInX:{name:"StretchInX",style:{0:{transform:[{scaleX:0}]},100:{transform:[{scaleX:1}]}},duration:Fo},StretchInY:{name:"StretchInY",style:{0:{transform:[{scaleY:0}]},100:{transform:[{scaleY:1}]}},duration:Fo}},ks={StretchOutX:{name:"StretchOutX",style:{0:{transform:[{scaleX:1}]},100:{transform:[{scaleX:0}]}},duration:Fo},StretchOutY:{name:"StretchOutY",style:{0:{transform:[{scaleY:1}]},100:{transform:[{scaleY:0}]}},duration:Fo}},D_={StretchInX:{style:J(Fs.StretchInX),duration:Fs.StretchInX.duration},StretchInY:{style:J(Fs.StretchInY),duration:Fs.StretchInY.duration}},O_={StretchOutX:{style:J(ks.StretchOutX),duration:ks.StretchOutX.duration},StretchOutY:{style:J(ks.StretchOutY),duration:ks.StretchOutY.duration}},ut=.3,at={ZoomIn:{name:"ZoomIn",style:{0:{transform:[{scale:0}]},100:{transform:[{scale:1}]}},duration:ut},ZoomInRotate:{name:"ZoomInRotate",style:{0:{transform:[{scale:0,rotate:"0.3rad"}]},100:{transform:[{scale:1,rotate:"0deg"}]}},duration:ut},ZoomInRight:{name:"ZoomInRight",style:{0:{transform:[{translateX:"100vw",scale:0}]},100:{transform:[{translateX:"0%",scale:1}]}},duration:ut},ZoomInLeft:{name:"ZoomInLeft",style:{0:{transform:[{translateX:"-100vw",scale:0}]},100:{transform:[{translateX:"0%",scale:1}]}},duration:ut},ZoomInUp:{name:"ZoomInUp",style:{0:{transform:[{translateY:"-100vh",scale:0}]},100:{transform:[{translateY:"0%",scale:1}]}},duration:ut},ZoomInDown:{name:"ZoomInDown",style:{0:{transform:[{translateY:"100vh",scale:0}]},100:{transform:[{translateY:"0%",scale:1}]}},duration:ut},ZoomInEasyUp:{name:"ZoomInEasyUp",style:{0:{transform:[{translateY:"-100%",scale:0}]},100:{transform:[{translateY:"0%",scale:1}]}},duration:ut},ZoomInEasyDown:{name:"ZoomInEasyDown",style:{0:{transform:[{translateY:"100%",scale:0}]},100:{transform:[{translateY:"0%",scale:1}]}},duration:ut}},st={ZoomOut:{name:"ZoomOut",style:{100:{transform:[{scale:0}]}},duration:ut},ZoomOutRotate:{name:"ZoomOutRotate",style:{100:{transform:[{scale:0,rotate:"0.3rad"}]}},duration:ut},ZoomOutRight:{name:"ZoomOutRight",style:{100:{transform:[{translateX:"100vw",scale:0}]}},duration:ut},ZoomOutLeft:{name:"ZoomOutLeft",style:{100:{transform:[{translateX:"-100vw",scale:1}]}},duration:ut},ZoomOutUp:{name:"ZoomOutUp",style:{100:{transform:[{translateY:"-100vh",scale:0}]}},duration:ut},ZoomOutDown:{name:"ZoomOutDown",style:{100:{transform:[{translateY:"100vh",scale:0}]}},duration:ut},ZoomOutEasyUp:{name:"ZoomOutEasyUp",style:{100:{transform:[{translateY:"-100%",scale:0}]}},duration:ut},ZoomOutEasyDown:{name:"ZoomOutEasyDown",style:{100:{transform:[{translateY:"100%",scale:0}]}},duration:ut}},T_={ZoomIn:{style:J(at.ZoomIn),duration:at.ZoomIn.duration},ZoomInRotate:{style:J(at.ZoomInRotate),duration:at.ZoomInRotate.duration},ZoomInRight:{style:J(at.ZoomInRight),duration:at.ZoomInRight.duration},ZoomInLeft:{style:J(at.ZoomInLeft),duration:at.ZoomInLeft.duration},ZoomInUp:{style:J(at.ZoomInUp),duration:at.ZoomInUp.duration},ZoomInDown:{style:J(at.ZoomInDown),duration:at.ZoomInDown.duration},ZoomInEasyUp:{style:J(at.ZoomInEasyUp),duration:at.ZoomInEasyUp.duration},ZoomInEasyDown:{style:J(at.ZoomInEasyDown),duration:at.ZoomInEasyDown.duration}},P_={ZoomOut:{style:J(st.ZoomOut),duration:st.ZoomOut.duration},ZoomOutRotate:{style:J(st.ZoomOutRotate),duration:st.ZoomOutRotate.duration},ZoomOutRight:{style:J(st.ZoomOutRight),duration:st.ZoomOutRight.duration},ZoomOutLeft:{style:J(st.ZoomOutLeft),duration:st.ZoomOutLeft.duration},ZoomOutUp:{style:J(st.ZoomOutUp),duration:st.ZoomOutUp.duration},ZoomOutDown:{style:J(st.ZoomOutDown),duration:st.ZoomOutDown.duration},ZoomOutEasyUp:{style:J(st.ZoomOutEasyUp),duration:st.ZoomOutEasyUp.duration},ZoomOutEasyDown:{style:J(st.ZoomOutEasyDown),duration:st.ZoomOutEasyDown.duration}};let Hr=function(t){return t[t.LINEAR=0]="LINEAR",t[t.SEQUENCED=1]="SEQUENCED",t[t.FADING=2]="FADING",t}({});const Ja={...p_,...v_,...f_,...h_,...g_,...m_,...D_,...O_,...T_,...P_,...b_,...__,...C_,...E_,...x_,...w_,...S_,...y_,...I_},Rf={linear:[0,0,1,1],ease:[.42,0,1,1],quad:[.11,0,.5,0],cubic:[.32,0,.67,0],sin:[.12,0,.39,0],circle:[.55,0,1,.45],exp:[.7,0,.84,0]};function R_(t,e){const{translateX:n,translateY:r,scaleX:i,scaleY:a}=e;return{name:t,style:{0:{transform:[{translateX:`${n}px`,translateY:`${r}px`,scale:`${i},${a}`}]}},duration:300}}function F_(t,e){const{translateX:n,translateY:r,scaleX:i,scaleY:a,reversed:s}=e,o=s?`1,${i}`:`${a},1`;return{name:t,style:{0:{transform:[{translateX:`${n}px`,translateY:`${r}px`,scale:`${i},${a}`}]},50:{transform:[{translateX:s?`${n}px`:"0px",translateY:s?"0px":`${r}px`,scale:o}]},100:{transform:[{translateX:"0px",translateY:"0px",scale:"1,1"}]}},duration:300}}function k_(t,e){const{translateX:n,translateY:r,scaleX:i,scaleY:a}=e;return{name:t,style:{0:{opacity:1,transform:[{translateX:`${n}px`,translateY:`${r}px`,scale:`${i},${a}`}]},20:{opacity:0,transform:[{translateX:`${n}px`,translateY:`${r}px`,scale:`${i},${a}`}]},60:{opacity:0,transform:[{translateX:"0px",translateY:"0px",scale:"1,1"}]},100:{opacity:1,transform:[{translateX:"0px",translateY:"0px",scale:"1,1"}]}},duration:300}}const ko=new WeakMap;function M_(t,e){el({visibility:"initial"},{_component:t})}function B_(t,e,n){const r=e.getBoundingClientRect(),i=parseInt(getComputedStyle(e).borderTopWidth),a=parseInt(getComputedStyle(e).borderLeftWidth),s=t.getBoundingClientRect();s.top!==n.top&&(t.style.top=`${n.top-r.top-i}px`),s.left!==n.left&&(t.style.left=`${n.left-r.left-a}px`)}function vm(t,e){t.style.transform="",t.style.position="absolute",t.style.top=`${e.top}px`,t.style.left=`${e.left}px`,t.style.width=`${e.width}px`,t.style.height=`${e.height}px`,t.style.margin="0px",t.parentElement&&B_(t,t.parentElement,e)}const Ff="ReanimatedPredefinedWebAnimationsStyle",J0="ReanimatedCustomWebAnimationsStyle",Ur=new Map,vr=[];let kf=!1;function N_(){if(!ea()||document.getElementById(Ff)!==null)return;const t=document.createElement("style");t.id=Ff,t.onload=()=>{if(!t.sheet){console.error("[Reanimated] Failed to create layout animations stylesheet.");return}for(const n in Ja)t.sheet.insertRule(Ja[n].style)};const e=document.createElement("style");e.id=J0,document.head.appendChild(t),document.head.appendChild(e)}function G_(t,e){if(!ea())return;const n=document.getElementById(J0);if(!n.sheet){console.error("[Reanimated] Failed to create layout animations stylesheet.");return}n.sheet.insertRule(e,0),vr.unshift(t),Ur.set(t,0);for(let r=1;r<vr.length;++r){const i=vr[r],a=Ur.get(i);if(a===void 0)throw new Error("[Reanimated] Failed to obtain animation index.");Ur.set(vr[r],a+1)}}function L_(t){var e;if(!ea())return;const n=document.getElementById(J0),r=Ur.get(t);if(r===void 0)throw new Error("[Reanimated] Failed to obtain animation index.");(e=n.sheet)===null||e===void 0||e.deleteRule(r),vr.splice(r,1),Ur.delete(t);for(let i=r;i<vr.length;++i){const a=vr[i],s=Ur.get(a);if(s===void 0)throw new Error("[Reanimated] Failed to obtain animation index.");Ur.set(vr[i],s-1)}}const V_=1.25,H_=16,U_=10;function W_(t,e){const n=Math.max(e*V_*1e3,e+H_*U_);setTimeout(()=>L_(t),n)}function X_(t,e){const n=ko.get(t);if(!n){console.error("[Reanimated] Failed to obtain snapshot.");return}t.removedAfterAnimation=!0,e.appendChild(t),vm(t,n);const r=t.onanimationend;t.onanimationend=function(i){e.removeChild(t),r==null||r.call(this,i)}}function gm(t,e){if(!(t instanceof HTMLElement))return;t.reanimatedDummy&&t.removedAfterAnimation===void 0&&X_(t,e);const n=Array.from(t.children);for(let r=0;r<n.length;++r)gm(n[r],e)}function Y_(t){var e;let n="__reactFiber";for(const r of Object.keys(t))if(r.startsWith("__reactFiber")){n=r;break}return((e=t[n])===null||e===void 0||(e=e.child)===null||e===void 0||(e=e.memoizedProps)===null||e===void 0?void 0:e.navigation)!==void 0}function z_(){if(kf||!ea())return;kf=!0,new MutationObserver(e=>{const n=e[e.length-1];if(!Y_(n.target))for(let r=0;r<n.removedNodes.length;++r)gm(n.removedNodes[r],n.target)}).observe(document.body,{childList:!0,subtree:!0})}function K_(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}let $_=0;function q_(){return`REA${$_++}`}function j_(t,e){const n=q_();let r;switch(t){case Hr.LINEAR:r=R_(n,e);break;case Hr.SEQUENCED:r=F_(n,e);break;case Hr.FADING:r=k_(n,e);break}const i=J(r);return G_(n,i),n}function Q_(t){const e=t.easingV&&t.easingV.name in Rf?t.easingV.name:"linear";return`cubic-bezier(${Rf[e].toString()})`}function Mf(t=1e3){return Math.floor(Math.random()*(t+1))/1e3}function Z_(t){const e=t.randomizeDelay,n=e?Mf():0;return t.delayV?e?Mf(t.delayV):t.delayV/1e3:n}function Ms(t){if(!t.reduceMotionV)return yo();switch(t.reduceMotionV){case Cr.Never:return!1;case Cr.Always:return!0;default:return yo()}}function J_(t,e,n){const r=e?.3:Ja[n].duration;return t.durationV!==void 0?t.durationV/1e3:r}function eD(t){return t.callbackV!==void 0?t.callbackV:null}function tD(t){return!!t.reversed}function nD(t,e,n,r){return{animationName:t,animationType:e,duration:J_(n,e===mt.LAYOUT,r),delay:Z_(n),easing:Q_(n),callback:eD(n),reversed:tD(n)}}function Bf(t){const e=t.getBoundingClientRect(),n={top:e.top,left:e.left,width:e.width,height:e.height,scrollOffsets:mm(t)};ko.set(t,n)}function eA(t,e){const{animationName:n,duration:r,delay:i,easing:a}=e;t.style.animationName=n,t.style.animationDuration=`${r}s`,t.style.animationDelay=`${i}s`,t.style.animationTimingFunction=a,t.onanimationend=()=>{var o;(o=e.callback)===null||o===void 0||o.call(e,!0),t.removeEventListener("animationcancel",s)};const s=()=>{var o;(o=e.callback)===null||o===void 0||o.call(e,!1),t.removeEventListener("animationcancel",s)};t.onanimationstart=()=>{e.animationType===mt.ENTERING&&el({visibility:"initial"},{_component:t}),t.addEventListener("animationcancel",s)},n in Ja||W_(n,r+i)}function rD(t,e,n){const{animationName:r}=e;let i;switch(r){case"LinearTransition":i=Hr.LINEAR;break;case"SequencedTransition":i=Hr.SEQUENCED;break;case"FadingTransition":i=Hr.FADING;break;default:i=Hr.LINEAR;break}e.animationName=j_(i,n),eA(t,e)}function mm(t){let e=t;const n={scrollTopOffset:0,scrollLeftOffset:0};for(;e;)e.scrollTop!==0&&n.scrollTopOffset===0&&(n.scrollTopOffset=e.scrollTop),e.scrollLeft!==0&&n.scrollLeftOffset===0&&(n.scrollLeftOffset=e.scrollLeft),e=e.parentElement;return n}function iD(t,e){const n=t.offsetParent,r=t.cloneNode();for(r.reanimatedDummy=!0,t.style.animationName="",t.style.visibility="hidden";t.firstChild;)r.appendChild(t.firstChild);eA(r,e),n==null||n.appendChild(r);const i=ko.get(t),a=mm(t),s=a.scrollTopOffset,o=i.scrollOffsets.scrollTopOffset;s!==o&&(i.top+=o-s);const l=a.scrollLeftOffset,u=i.scrollOffsets.scrollLeftOffset;l!==u&&(i.left+=u-l),ko.set(r,i),vm(r,i);const c=r.onanimationend;r.onanimationend=function(A){n!=null&&n.contains(r)&&(r.removedAfterAnimation=!0,n.removeChild(r)),c==null||c.call(this,A)},r.addEventListener("animationcancel",()=>{n!=null&&n.contains(r)&&(r.removedAfterAnimation=!0,n.removeChild(r))})}function aD(t,e){return t===mt.ENTERING?e.entering:t===mt.EXITING?e.exiting:t===mt.LAYOUT?e.layout:null}function sD(t,e){return t in Ja||e?!1:(console.warn("[Reanimated] Couldn't load entering/exiting animation. Current version supports only predefined animations with modifiers: duration, delay, easing, randomizeDelay, withCallback, reducedMotion."),!0)}function oD(t,e,n,r){switch(t){case mt.ENTERING:eA(n,e);break;case mt.LAYOUT:r.reversed=e.reversed,rD(n,e,r);break;case mt.EXITING:iD(n,e);break}}function lD(t,e){const n=aD(e,t);if(!n)return null;const r=e===mt.LAYOUT,i=typeof n=="function"?n.presetName:n.constructor.presetName;return sD(i,r)?null:nD(i,e,n,i)}function Dd(t,e,n,r){const i=lD(t,n);i?oD(n,i,e,r):M_(e)}function uD(t,e,n){if(!t.layout)return;const r=e.getBoundingClientRect();if(K_(r,n))return;const i={translateX:n.x-r.x,translateY:n.y-r.y,scaleX:n.width/r.width,scaleY:n.height/r.height,reversed:!1};Dd(t,e,mt.LAYOUT,i)}function cD(){const t=[],e=[];return{update(n,r){r?e.push(n):t.push(n),t.length+e.length===1&&setImmediate(this.flush)},flush(){RI(t.concat(e)),t.length=0,e.length=0}}}let Ya;if(Ke())Ya=()=>{};else{const t=cD();Ya=(e,n,r,i,a)=>t.update({viewTag:e,type:n,config:r?He(r):void 0,sharedTransitionTag:i},a)}let Od=t=>t._nativeTag!==void 0&&t.__nativeTag!==null?(Od=Zu,Zu(t)):t.__nativeTag!==void 0&&t.__nativeTag!==null?(Od=Nf,Nf(t)):Zu(t);function Zu(t){var e;return{viewName:t==null||(e=t.viewConfig)===null||e===void 0?void 0:e.uiViewClassName,viewTag:t==null?void 0:t._nativeTag,viewConfig:t==null?void 0:t.viewConfig}}function Nf(t){var e;return{viewName:t==null||(e=t._viewConfig)===null||e===void 0?void 0:e.uiViewClassName,viewTag:t==null?void 0:t.__nativeTag,viewConfig:t==null?void 0:t._viewConfig}}function Mo(){return Mo=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Mo.apply(this,arguments)}function ot(t,e,n){return e=dD(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function dD(t){var e=AD(t,"string");return typeof e=="symbol"?e:e+""}function AD(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}const jt=Nt();jt&&N_();function fD(t){return t.filter(e=>e==null?void 0:e.viewDescriptors)}function ai(t,e){Do(typeof t!="function"||t.prototype&&t.prototype.isReactComponent,`Looks like you're passing a function component \`${t.name}\` to \`createAnimatedComponent\` function which supports only class components. Please wrap your function component with \`React.forwardRef()\` or use a class component instead.`);class n extends xe.Component{constructor(i){super(i),ot(this,"_styles",null),ot(this,"_animatedProps",void 0),ot(this,"_componentViewTag",-1),ot(this,"_eventViewTag",-1),ot(this,"_isFirstRender",!0),ot(this,"jestAnimatedStyle",{value:{}}),ot(this,"_component",null),ot(this,"_sharedElementTransition",null),ot(this,"_jsPropsUpdater",new t_),ot(this,"_InlinePropManager",new u_),ot(this,"_PropsFilter",new A_),ot(this,"_viewInfo",void 0),ot(this,"context",void 0),ot(this,"_setComponentRef",n_({getForwardedRef:()=>this.props.forwardedRef,setLocalRef:a=>{const s=jt?a:zt(a);this._componentViewTag=s;const{layout:o,entering:l,exiting:u,sharedTransitionTag:c}=this.props;if((o||l||u||c)&&s!=null){var A;Ke()||Tg(!0,!1),c&&this._configureSharedTransition();const f=(A=this.context)===null||A===void 0?void 0:A.current;if(l&&!f){var d;Ya(s,mt.ENTERING,qu(l,(d=this.props)===null||d===void 0?void 0:d.style,n.displayName))}}a!==this._component&&(this._component=a)}})),_t()&&(this.jestAnimatedStyle={value:{}})}componentDidMount(){if(this._setComponentViewTag(),this._setEventViewTag(),this._attachNativeEvents(),this._jsPropsUpdater.addOnJSPropsChangeListener(this),this._attachAnimatedStyles(),this._InlinePropManager.attachInlineProps(this,this._getViewInfo()),this.props.layout&&this._configureLayoutTransition(),jt){if(this.props.exiting&&Bf(this._component),!this.props.entering||Ms(this.props.entering)){this._isFirstRender=!1;return}Dd(this.props,this._component,mt.ENTERING)}this._isFirstRender=!1}componentWillUnmount(){var i;this._detachNativeEvents(),this._jsPropsUpdater.removeOnJSPropsChangeListener(this),this._detachStyles(),this._InlinePropManager.detachInlineProps(),this.props.sharedTransitionTag&&this._configureSharedTransition(!0),(i=this._sharedElementTransition)===null||i===void 0||i.unregisterTransition(this._componentViewTag,!0);const a=this.props.exiting;if(jt&&this._component&&this.props.exiting&&!Ms(this.props.exiting))z_(),Dd(this.props,this._component,mt.EXITING);else if(a&&!("getReduceMotion"in a&&typeof a.getReduceMotion=="function"?ei(a.getReduceMotion()):ei())){var s;Ya(this._componentViewTag,mt.EXITING,qu(a,(s=this.props)===null||s===void 0?void 0:s.style,n.displayName))}}_setComponentViewTag(){this._componentViewTag=this._getViewInfo().viewTag}_setEventViewTag(){const i=this._component;if(i.getScrollableNode){const a=i.getScrollableNode();this._eventViewTag=zt(a)??-1}else this._eventViewTag=zt(e!=null&&e.setNativeProps?this:i)??-1}_attachNativeEvents(){for(const i in this.props){const a=this.props[i];Vr("workletEventHandler",a)&&a.workletEventHandler instanceof dr&&a.workletEventHandler.registerForEvents(this._eventViewTag,i)}}_detachNativeEvents(){for(const i in this.props){const a=this.props[i];Vr("workletEventHandler",a)&&a.workletEventHandler instanceof dr&&a.workletEventHandler.unregisterFromEvents(this._eventViewTag)}}_detachStyles(){if(jt&&this._styles!==null)for(const a of this._styles)a.viewsRef.remove(this);else if(this._componentViewTag!==-1&&this._styles!==null){var i;for(const a of this._styles)a.viewDescriptors.remove(this._componentViewTag);(i=this.props.animatedProps)!==null&&i!==void 0&&i.viewDescriptors&&this.props.animatedProps.viewDescriptors.remove(this._componentViewTag),vn()&&Zb(this._componentViewTag)}}_updateNativeEvents(i){for(const a in i){const s=i[a];if(Vr("workletEventHandler",s)&&s.workletEventHandler instanceof dr){const o=this.props[a];o?Vr("workletEventHandler",o)&&o.workletEventHandler instanceof dr&&o.workletEventHandler!==s.workletEventHandler&&(s.workletEventHandler.unregisterFromEvents(this._eventViewTag),o.workletEventHandler.registerForEvents(this._eventViewTag)):s.workletEventHandler.unregisterFromEvents(this._eventViewTag)}}for(const a in this.props){const s=this.props[a];Vr("workletEventHandler",s)&&s.workletEventHandler instanceof dr&&!i[a]&&s.workletEventHandler.registerForEvents(this._eventViewTag)}}_updateFromNative(i){if(e!=null&&e.setNativeProps)e.setNativeProps(this._component,i);else{var a,s;(a=this._component)===null||a===void 0||(s=a.setNativeProps)===null||s===void 0||s.call(a,i)}}_getViewInfo(){var i,a,s;if(this._viewInfo!==void 0)return this._viewInfo;let o,l,u=null,c;const A=(i=this._component)!==null&&i!==void 0&&i.getAnimatableRef?(a=(s=this._component).getAnimatableRef)===null||a===void 0?void 0:a.call(s):this;if(jt)o=this._component,l=null,u=null,c=null;else{const d=Qb.RNRenderer.findHostInstance_DEPRECATED(A);if(!d)throw new Error("[Reanimated] Cannot find host instance for this component. Maybe it renders nothing?");const f=Od(d);o=f.viewTag,l=f.viewName,c=f.viewConfig,u=vn()?Kg():null}return this._viewInfo={viewTag:o,viewName:l,shadowNodeWrapper:u,viewConfig:c},this._viewInfo}_attachAnimatedStyles(){var i,a;const s=this.props.style?fD(Q0(this.props.style)):[],o=this._styles;this._styles=s;const l=this._animatedProps;this._animatedProps=this.props.animatedProps;const{viewTag:u,viewName:c,shadowNodeWrapper:A,viewConfig:d}=this._getViewInfo();if((((i=this.props.animatedProps)===null||i===void 0?void 0:i.viewDescriptors)||s.length)&&d&&em(d),this._componentViewTag=u,o&&!(s.length===1&&o.length===1&&s[0]===o[0]))for(const h of o)s.some(E=>E===h)||h.viewDescriptors.remove(u);s.forEach(p=>{p.viewDescriptors.add({tag:u,name:c,shadowNodeWrapper:A}),_t()&&(this.jestAnimatedStyle.value={...this.jestAnimatedStyle.value,...p.initial.value},p.jestAnimatedStyle.current=this.jestAnimatedStyle)}),l&&l!==this.props.animatedProps&&l.viewDescriptors.remove(u),(a=this.props.animatedProps)!==null&&a!==void 0&&a.viewDescriptors&&this.props.animatedProps.viewDescriptors.add({tag:u,name:c,shadowNodeWrapper:A})}componentDidUpdate(i,a,s){const o=this.props.layout,l=i.layout;o!==l&&this._configureLayoutTransition(),(this.props.sharedTransitionTag!==void 0||i.sharedTransitionTag!==void 0)&&this._configureSharedTransition(),this._updateNativeEvents(i),this._attachAnimatedStyles(),this._InlinePropManager.attachInlineProps(this,this._getViewInfo()),jt&&this.props.exiting&&Bf(this._component),jt&&s!==null&&this.props.layout&&!Ms(this.props.layout)&&uD(this.props,this._component,s)}_configureLayoutTransition(){const i=this.props.layout?qu(this.props.layout,void 0,n.displayName):void 0;Ya(this._componentViewTag,mt.LAYOUT,i)}_configureSharedTransition(i=!1){if(jt)return;const{sharedTransitionTag:a}=this.props;if(!a){var s;(s=this._sharedElementTransition)===null||s===void 0||s.unregisterTransition(this._componentViewTag,i),this._sharedElementTransition=null;return}const o=this.props.sharedTransitionStyle??this._sharedElementTransition??new Ar;o.registerTransition(this._componentViewTag,a,i),this._sharedElementTransition=o}getSnapshotBeforeUpdate(){var i;return jt&&((i=this._component)===null||i===void 0?void 0:i.getBoundingClientRect)!==void 0?this._component.getBoundingClientRect():null}render(){const i=this._PropsFilter.filterNonAnimatedProps(this);_t()&&(i.jestAnimatedStyle=this.jestAnimatedStyle),this._isFirstRender&&jt&&i.entering&&!Ms(i.entering)&&(i.style={...i.style??{},visibility:"hidden"});const a=ue.select({web:{},default:{collapsable:!1}});return xe.createElement(t,Mo({},i,{ref:this._setComponentRef},a))}}return ot(n,"displayName",void 0),ot(n,"contextType",hm),n.displayName=`AnimatedComponent(${t.displayName||t.name||"Component"})`,xe.forwardRef((r,i)=>xe.createElement(n,Mo({},r,i===null?null:{forwardedRef:i})))}function Cm(t){"worklet";return{next:0,buffer:new Float32Array(t),size:t,count:0,push(e){const n=this.buffer[this.next],r=this.count;return this.buffer[this.next]=e,this.next=(this.next+1)%this.size,this.count=Math.min(this.size,this.count+1),r===this.size?n:null},front(){if(this.count>0){const n=this.next-1,r=n<0?this.size-1:n;return this.buffer[r]}return null},back(){return this.count>0?this.buffer[this.next]:null}}}const Em=60;z0({text:!0});const xm=ai(D0);function hD(t){let e=0;function n(){requestAnimationFrame(r=>{e>0&&t(e,r),e=r,requestAnimationFrame(n)})}n()}function pD(t){"worklet";return 1e3/t}function Gf(t,e){"worklet";return e!==null?t-e:0}function ym(t,e,n,r){"worklet";e=Math.round(e),n=Math.round(n)??e;const i=t.push(e),a=t.back(),s=Gf(e,n),o=Gf(a,i);return r.value+=s-o,pD(r.value/t.count)}function vD(){const t=ct(null),e=ct(0),n=b.useRef(Cm(Em));b.useEffect(()=>{hD((i,a)=>{a=Math.round(a);const s=n.current.front()??a,o=ym(n.current,a,s,e);t.value=(o*2).toFixed(0)})},[]);const r=Y0(()=>{const i="JS: "+t.value;return{text:i,defaultValue:i}});return xe.createElement(ge,{style:es.container},xe.createElement(xm,{style:es.text,animatedProps:r,editable:!1}))}function gD(){const t=ct(null),e=ct(0),n=ct(null);qg(({timestamp:i})=>{n.value===null&&(n.value=Cm(Em)),i=Math.round(i);const a=n.value.front()??i,s=ym(n.value,i,a,e);t.value=s.toFixed(0)});const r=Y0(()=>{const i="UI: "+t.value;return{text:i,defaultValue:i}});return xe.createElement(ge,{style:es.container},xe.createElement(xm,{style:es.text,animatedProps:r,editable:!1}))}function mD(){return xe.createElement(ge,{style:es.monitor},xe.createElement(vD,null),xe.createElement(gD,null))}const es=ve.create({monitor:{flexDirection:"row",position:"absolute",backgroundColor:"#0006",zIndex:1e3},header:{fontSize:14,color:"#ffff",paddingHorizontal:5},text:{fontSize:13,color:"#ffff",fontFamily:"monospace",paddingHorizontal:3},container:{alignItems:"center",justifyContent:"center",flexDirection:"row",flexWrap:"wrap"}}),CD=vn();function ED(t){"worklet";return{tag:t,name:"RCTView"}}function xD(t){"worklet";return{shadowNodeWrapper:t}}const Im=CD?xD:ED;function yD(t,e){"worklet";const{screenDimensions:n,topScreenId:r,screenTransition:i}=t,{topScreenStyle:a}=i,s=a(e,n),o={value:[Im(r)]};Ln(o,s,void 0)}function wm(t,e){"worklet";const{screenDimensions:n,belowTopScreenId:r,screenTransition:i}=t,{belowTopScreenStyle:a}=i,s=a(e,n),o={value:[Im(r)]};Ln(o,s,void 0)}function Td(t,e){"worklet";yD(t,e),wm(t,e)}function Ju(t){return()=>{"worklet";return console.warn("[Reanimated] RNScreensTurboModule has not been found. Check that you have installed `react-native-screens@3.30.0` or newer in your project and rebuilt your app."),t}}const ID=global.RNScreensTurboModule||{startTransition:Ju({topScreenId:-1,belowTopScreenId:-1,canStartTransition:!1}),updateTransition:Ju(),finishTransition:Ju()},ec=400,wD=400,SD=500,bD=600;function Bs(t,e,n){"worklet";if(Math.abs(e)<1)return 1;const r=(_getAnimationTimestamp()-t)/1e3;return n*r/e}function Ns(t){"worklet";return 1-Math.pow(1-t,5)}function _D(t,e,n){"worklet";const r=t.screenDimensions,i=Math.abs(e.translationX/r.width),a=Math.abs(e.translationY/r.height),s=Math.max(i,a);return n?s/2:s}function Lf(t,e,n,r,i){"worklet";if(e){var a;(a=n.onFinishAnimation)===null||a===void 0||a.call(n)}else{const s=n.stackTag,o=_D(n,r,i);ID.updateTransition(s,o),requestAnimationFrame(t)}}function DD(t,e,n){"worklet";const r=e.screenDimensions,i=_getAnimationTimestamp(),{isTransitionCanceled:a}=e,s={x:t.translationX,y:t.translationY},o={x:Math.sign(t.translationX),y:Math.sign(t.translationY)},l=a?{x:0,y:0}:{x:o.x*r.width,y:o.y*r.height},u={x:Math.abs(l.x-s.x),y:Math.abs(l.y-s.y)},c={x:!1,y:!1},A={x:ec,y:ec};if(n==="x")A.y=0,A.x+=wD*u.x/r.width;else if(n==="y")A.x=0,A.y+=SD*u.y/r.height;else{const d=Math.sqrt(u.x**2+u.y**2),f=Math.sqrt(r.width**2+r.height**2),p=ec+bD*d/f;Math.abs(s.x)>Math.abs(s.y)?(A.x=p,A.y=p*Math.abs(s.y/s.x)):(A.x=p*Math.abs(s.x/s.y),A.y=p)}if(a){let d=function(){return n==="x"?c.x:(n==="y"||c.x)&&c.y},f=function(){t.translationX=o.x*r.width,t.translationY=o.y*r.height,wm(e,t)};const p=()=>{const h={x:Bs(i,u.x,A.x),y:Bs(i,u.y,A.y)};t.translationX=s.x-o.x*u.x*Ns(h.x),t.translationY=s.y-o.y*u.y*Ns(h.y),o.x>0?t.translationX<=0&&(c.x=!0,t.translationX=0):t.translationX>=0&&(c.x=!0,t.translationX=0),o.y>0?t.translationY<=0&&(c.y=!0,t.translationY=0):t.translationY>=0&&(c.y=!0,t.translationY=0),Td(e,t);const v=d();v&&f(),Lf(p,v,e,t,a)};return p}else{const d=()=>{const f={x:Bs(i,u.x,A.x),y:Bs(i,u.y,A.y)};t.translationX=s.x+o.x*u.x*Ns(f.x),t.translationY=s.y+o.y*u.y*Ns(f.y),o.x>0?t.translationX>=r.width&&(c.x=!0,t.translationX=r.width):t.translationX<=-r.width&&(c.x=!0,t.translationX=-r.width),o.y>0?t.translationY>=r.height&&(c.y=!0,t.translationY=r.height):t.translationY<=-r.height&&(c.y=!0,t.translationY=-r.height),Td(e,t),Lf(d,c.x||c.y,e,t,a)};return d}}al();function OD(t){"worklet";const{stackTag:e,sharedEvent:n}=t;n.addListener(e,()=>{Td(t,n.value)})}function TD(t){"worklet";if(["swipeRight","swipeLeft","horizontalSwipe"].includes(t))return"x";if(["swipeUp","swipeDown","verticalSwipe"].includes(t))return"y"}function PD(t){"worklet";const{stackTag:e,sharedEvent:n,goBackGesture:r}=t;n.removeListener(e);const i=TD(r);DD(n.value,t,i)()}const RD={topScreenStyle:t=>{"worklet";return{transform:[{translateX:t.translationX}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{transform:[{translateX:(t.translationX-e.width)*.3}]}}},FD={topScreenStyle:t=>{"worklet";return{transform:[{translateX:t.translationX}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{transform:[{translateX:(t.translationX+e.width)*.3}]}}},kD={topScreenStyle:t=>{"worklet";return{transform:[{translateY:t.translationY}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{transform:[{translateY:(t.translationY-e.height)*.3}]}}},MD={topScreenStyle:t=>{"worklet";return{transform:[{translateY:t.translationY}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{transform:[{translateY:(t.translationY+e.height)*.3}]}}},BD={topScreenStyle:(t,e)=>{"worklet";return{transform:[{translateX:t.translationX},{translateY:t.translationY}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{}}},ND={topScreenStyle:(t,e)=>{"worklet";return{transform:[{translateX:t.translationX}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{}}},GD={topScreenStyle:(t,e)=>{"worklet";return{transform:[{translateY:t.translationY}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{}}},LD={topScreenStyle:(t,e)=>{"worklet";return{opacity:1-Math.abs(t.translationX/e.width)}},belowTopScreenStyle:(t,e)=>{"worklet";return{}}},VD={SwipeRight:RD,SwipeLeft:FD,SwipeDown:kD,SwipeUp:MD,Horizontal:ND,Vertical:GD,TwoDimensional:BD,SwipeRightFade:LD},HD=ai(Bx),Kn=ai(ge);function Pd(){return Pd=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Pd.apply(this,arguments)}const UD=ai(Ji),WD=b.forwardRef((t,e)=>{const{scrollViewOffset:n,...r}=t,i=e===null?$g():e;return n&&jg(i,n),"scrollEventThrottle"in r||(r.scrollEventThrottle=1),xe.createElement(UD,Pd({ref:i},r))}),XD=ai(Gv);function Rd(){return Rd=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Rd.apply(this,arguments)}const YD=ai(Bv),zD=t=>n=>xe.createElement(Kn,{layout:t==null?void 0:t.current,onLayout:n.onLayout,style:n.style},n.children),KD=function(t,e){const{itemLayoutAnimation:n,skipEnteringExitingAnimations:r,...i}=t;"scrollEventThrottle"in i||(i.scrollEventThrottle=1);const a=b.useRef(n);a.current=n;const s=xe.useMemo(()=>zD(a),[a]),o=xe.createElement(YD,Rd({ref:e},i,{CellRendererComponent:s}));return r===void 0?o:xe.createElement(wu,{skipEntering:!0,skipExiting:!0},o)},$D=b.forwardRef(KD),qD=Object.freeze(Object.defineProperty({__proto__:null,FlatList:$D,Image:XD,ScrollView:WD,Text:HD,View:Kn,addWhitelistedNativeProps:z0,addWhitelistedUIProps:Jg,createAnimatedComponent:ai},Symbol.toStringTag,{value:"Module"})),jD=Object.freeze(Object.defineProperty({__proto__:null,BaseAnimationBuilder:wr,BounceIn:om,BounceInDown:jl,BounceInLeft:Zl,BounceInRight:Jl,BounceInUp:Ql,BounceOut:um,BounceOutDown:eu,BounceOutLeft:nu,BounceOutRight:ru,BounceOutUp:tu,ColorSpace:Qg,ComplexAnimationBuilder:Z,CurvedTransition:j0,Easing:lt,EntryExitTransition:Iu,Extrapolate:kS,Extrapolation:Ue,FadeIn:K0,FadeInDown:Sl,FadeInLeft:Il,FadeInRight:yl,FadeInUp:wl,FadeOut:$0,FadeOutDown:Ol,FadeOutLeft:_l,FadeOutRight:bl,FadeOutUp:Dl,FadingTransition:Tb,FlipInEasyX:cl,FlipInEasyY:dl,FlipInXDown:ll,FlipInXUp:sl,FlipInYLeft:ol,FlipInYRight:ul,FlipOutEasyX:vl,FlipOutEasyY:gl,FlipOutXDown:hl,FlipOutXUp:Al,FlipOutYLeft:fl,FlipOutYRight:pl,IOSReferenceFrame:mg,InterfaceOrientation:qr,JumpingTransition:q0,KeyboardState:Cg,Keyframe:tb,Layout:bb,LayoutAnimationConfig:wu,LightSpeedInLeft:au,LightSpeedInRight:iu,LightSpeedOutLeft:ou,LightSpeedOutRight:su,LinearTransition:dm,PerformanceMonitor:mD,PinwheelIn:uu,PinwheelOut:cu,ReduceMotion:Cr,RollInLeft:Cu,RollInRight:Eu,RollOutLeft:xu,RollOutRight:yu,RotateInDownLeft:du,RotateInDownRight:Au,RotateInUpLeft:fu,RotateInUpRight:hu,RotateOutDownLeft:pu,RotateOutDownRight:vu,RotateOutUpLeft:gu,RotateOutUpRight:mu,ScreenTransition:VD,SensorType:je,SequencedTransition:Fb,SharedTransition:Ar,SharedTransitionType:nb,SlideInDown:ta,SlideInLeft:Pl,SlideInRight:Tl,SlideInUp:kl,SlideOutDown:na,SlideOutLeft:Fl,SlideOutRight:Rl,SlideOutUp:Ml,StretchInX:ml,StretchInY:Cl,StretchOutX:El,StretchOutY:xl,ZoomIn:rm,ZoomInDown:Vl,ZoomInEasyDown:Ul,ZoomInEasyUp:Hl,ZoomInLeft:Nl,ZoomInRight:Gl,ZoomInRotate:Bl,ZoomInUp:Ll,ZoomOut:am,ZoomOutDown:Kl,ZoomOutEasyDown:ql,ZoomOutEasyUp:$l,ZoomOutLeft:Xl,ZoomOutRight:Yl,ZoomOutRotate:Wl,ZoomOutUp:zl,advanceAnimationByFrame:Yb,advanceAnimationByTime:Xb,cancelAnimation:Bg,clamp:FS,combineTransition:Hb,convertToRGBA:Ma,createAnimatedPropAdapter:KS,createWorkletRuntime:SI,default:qD,defineAnimation:Yn,dispatchCommand:HS,enableLayoutAnimations:Tg,executeOnUIRuntimeSync:Sg,finishScreenTransition:PD,getAnimatedStyle:Kb,getRelativeCoords:YS,getUseOfValueInStyleWarning:Ub,getViewProp:DI,interpolate:Zt,interpolateColor:LS,isColor:wd,isConfigured:_I,isReanimated3:Og,isSharedValue:Er,isWorkletFunction:Io,makeMutable:Xn,makeShareableCloneRecursive:He,measure:Zg,processColor:nl,runOnJS:Fn,runOnRuntime:bI,runOnUI:Gn,scrollTo:US,setGestureState:WS,setNativeProps:XS,setUpTests:zb,startMapper:ds,startScreenTransition:OD,stopMapper:Li,useAnimatedGestureHandler:dS,useAnimatedKeyboard:SS,useAnimatedProps:Y0,useAnimatedReaction:AS,useAnimatedRef:$g,useAnimatedScrollHandler:hS,useAnimatedSensor:CS,useAnimatedStyle:zn,useComposedEventHandler:TS,useDerivedValue:pS,useEvent:As,useFrameCallback:qg,useHandler:il,useInterpolateConfig:VS,useReducedMotion:rS,useScrollViewOffset:jg,useSharedValue:ct,useWorkletCallback:tS,withClamp:Uw,withDecay:Hw,withDelay:W0,withReanimatedTimer:Wb,withRepeat:Ww,withSequence:Fe,withSpring:Hg,withTiming:j},Symbol.toStringTag,{value:"Module"})),Fd=({children:t})=>{const{isMaximized:e}=Zo(),{duration:n}=Ir(),r=QD(),i=zn(()=>({opacity:j(e?1:0,{duration:n.transition.short})}));return X.jsx(Kn,{style:[r.container,i],children:t})},QD=()=>ve.create({container:{flexGrow:1}});try{Fd.displayName="ChatAnimatedContentWrapper",Fd.__docgenInfo={description:"",displayName:"ChatAnimatedContentWrapper",props:{}}}catch{}const Sm=De({name:ie.bottomSheet,initialState:{isOpen:!1,isPresentAtRouteNames:[]},reducers:{closeBottomSheet:t=>({...t,isOpen:!1}),openBottomSheet:t=>({...t,isOpen:!0}),addIsPresentAtRouteName:(t,{payload:e})=>{t.isPresentAtRouteNames.push(e)},removeIsPresentAtRouteName:(t,{payload:e})=>({...t,isPresentAtRouteNames:t.isPresentAtRouteNames.filter(n=>n!==e)}),toggleBottomSheet:t=>({...t,isOpen:!t.isOpen})}}),{closeBottomSheet:ZD,openBottomSheet:JD,addIsPresentAtRouteName:eO,removeIsPresentAtRouteName:tO,toggleBottomSheet:nO}=Sm.actions,rO=()=>{const t=En();return{isOpen:Bt(n=>n[ie.bottomSheet].isOpen),...b.useMemo(()=>({close:()=>t(ZD()),open:()=>t(JD()),addIsPresentAtRouteName:n=>t(eO(n)),removeIsPresentAtRouteName:n=>t(tO(n)),toggle:()=>t(nO())}),[t])}},Vf={spaceBottom:0},bm=De({name:ie.screen,initialState:Vf,reducers:{resetScreen:()=>Vf,setExtraSpaceBottom:(t,{payload:e})=>{t.spaceBottom=e}}}),{setExtraSpaceBottom:iO}=bm.actions,aO=t=>t[ie.screen].spaceBottom,sO=()=>{const t=En(),e=Bt(aO),n=b.useCallback(r=>t(iO(r)),[t]);return{spaceBottom:e,setSpaceBottom:n}},oO=60,lO=8,kd=({children:t})=>{const e=Ir(),{isOpen:n}=rO(),r=ct(0),i=b0(),{fontScale:a}=qE(),{isMaximized:s}=Zo(),{setSpaceBottom:o}=sO(),l=uO(e,i),u=s?e.color.screen.background.default:e.color.screen.background.settings,c=oO*a+i.bottom;b.useEffect(()=>(o(c-lO),()=>{o(0)}),[c,o]);const A=zn(()=>({transform:[{translateY:j(s?0:r.value-(n?0:c))}],backgroundColor:j(u),borderTopColor:j(s?"transparent":e.color.chat.border),borderTopWidth:j(s?0:e.border.width.md)})),d=zn(()=>({transform:[{translateY:j(s?0:-i.top)}]}));return X.jsx(Kn,{entering:ta,exiting:na,onLayout:f=>{r.value=f.nativeEvent.layout.height},style:[ve.absoluteFill,l.container,A],children:X.jsx(Kn,{style:[l.inner,d],children:t})})},uO=({z:t},e)=>ve.create({container:{flexGrow:1,paddingBottom:e.bottom,zIndex:t.overlay-1},inner:{flexGrow:1}});try{kd.displayName="ChatAnimatedWrapper",kd.__docgenInfo={description:"",displayName:"ChatAnimatedWrapper",props:{}}}catch{}const Md=({accessibilityLanguage:t="nl-NL",text:e})=>X.jsx(gx,{accessibilityLanguage:t,level:"h5",testID:"HeaderTitle",text:e,textAlign:"center"});try{Md.displayName="ScreenTitle",Md.__docgenInfo={description:"",displayName:"ScreenTitle",props:{accessibilityLanguage:{defaultValue:{value:"nl-NL"},description:"",name:"accessibilityLanguage",required:!1,type:{name:"string"}},text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}}}}}catch{}const Bd=({color:t,width:e=28,height:n=28,...r})=>X.jsxs(_0,{...r,fill:"none",height:n,viewBox:"0 0 28 28",width:e,children:[X.jsx(fr,{"clip-rule":"evenodd",d:"M14 2C7.37258 2 2 7.37258 2 14C2 20.6274 7.37258 26 14 26C20.6274 26 26 20.6274 26 14C26 7.37258 20.6274 2 14 2ZM0 14C0 6.26801 6.26801 0 14 0C21.732 0 28 6.26801 28 14C28 21.732 21.732 28 14 28C6.26801 28 0 21.732 0 14Z",fill:t,"fill-rule":"evenodd"}),X.jsx(fr,{d:"M16 14C16 15.1046 15.1046 16 14 16C12.8954 16 12 15.1046 12 14C12 12.8954 12.8954 12 14 12C15.1046 12 16 12.8954 16 14Z",fill:t}),X.jsx(fr,{d:"M10 14C10 15.1046 9.10457 16 8 16C6.89543 16 6 15.1046 6 14C6 12.8954 6.89543 12 8 12C9.10457 12 10 12.8954 10 14Z",fill:t}),X.jsx(fr,{d:"M22 14C22 15.1046 21.1046 16 20 16C18.8954 16 18 15.1046 18 14C18 12.8954 18.8954 12 20 12C21.1046 12 22 12.8954 22 14Z",fill:t})]});try{Bd.displayName="MeatballsMenu",Bd.__docgenInfo={description:"",displayName:"MeatballsMenu",props:{}}}catch{}const cO=()=>{const{isMaximized:t,toggleVisibility:e}=Zo(),{color:n}=Ir(),r=b0(),i=dO(r),a=zn(()=>({transform:[{rotate:j(t?"0deg":"-180deg")}]})),s=zn(()=>({opacity:j(t?1:0)})),o=()=>{e(),Mv.dismiss()};return X.jsx(ge,{style:i.container,children:X.jsx(qo,{testID:"ChatHeader",children:X.jsxs(Ni,{align:"between",valign:"center",children:[X.jsx(Kn,{style:s,children:X.jsx(vd,{icon:X.jsx(Bd,{color:n.pressable.secondary.default.icon}),onPress:()=>mx("ChatMenuButton"),testID:"ChatHeaderMeatballsMenuButton"})}),X.jsx(Md,{text:"Chat"}),X.jsx(Kn,{style:a,children:X.jsx(vd,{icon:X.jsx(cs,{color:"link",name:"chevron-down",size:"lg",testID:"ChatHeaderToggleVisibilityButtonIcon"}),onPress:o,testID:"ChatHeaderToggleVisibilityButton"})})]})})})},dO=t=>ve.create({container:{paddingTop:t.top}});var _m={exports:{}};(function(t,e){(function(n,r){t.exports=r()})($,function(){var n=1e3,r=6e4,i=36e5,a="millisecond",s="second",o="minute",l="hour",u="day",c="week",A="month",d="quarter",f="year",p="date",h="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,E=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,C={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(R){var P=["th","st","nd","rd"],F=R%100;return"["+R+(P[(F-20)%10]||P[F]||P[0])+"]"}},m=function(R,P,F){var H=String(R);return!H||H.length>=P?R:""+Array(P+1-H.length).join(F)+R},g={s:m,z:function(R){var P=-R.utcOffset(),F=Math.abs(P),H=Math.floor(F/60),M=F%60;return(P<=0?"+":"-")+m(H,2,"0")+":"+m(M,2,"0")},m:function R(P,F){if(P.date()<F.date())return-R(F,P);var H=12*(F.year()-P.year())+(F.month()-P.month()),M=P.clone().add(H,A),V=F-M<0,W=P.clone().add(H+(V?-1:1),A);return+(-(H+(F-M)/(V?M-W:W-M))||0)},a:function(R){return R<0?Math.ceil(R)||0:Math.floor(R)},p:function(R){return{M:A,y:f,w:c,d:u,D:p,h:l,m:o,s,ms:a,Q:d}[R]||String(R||"").toLowerCase().replace(/s$/,"")},u:function(R){return R===void 0}},y="en",x={};x[y]=C;var w="$isDayjsObject",S=function(R){return R instanceof O||!(!R||!R[w])},D=function R(P,F,H){var M;if(!P)return y;if(typeof P=="string"){var V=P.toLowerCase();x[V]&&(M=V),F&&(x[V]=F,M=V);var W=P.split("-");if(!M&&W.length>1)return R(W[0])}else{var B=P.name;x[B]=P,M=B}return!H&&M&&(y=M),M||!H&&y},I=function(R,P){if(S(R))return R.clone();var F=typeof P=="object"?P:{};return F.date=R,F.args=arguments,new O(F)},_=g;_.l=D,_.i=S,_.w=function(R,P){return I(R,{locale:P.$L,utc:P.$u,x:P.$x,$offset:P.$offset})};var O=function(){function R(F){this.$L=D(F.locale,null,!0),this.parse(F),this.$x=this.$x||F.x||{},this[w]=!0}var P=R.prototype;return P.parse=function(F){this.$d=function(H){var M=H.date,V=H.utc;if(M===null)return new Date(NaN);if(_.u(M))return new Date;if(M instanceof Date)return new Date(M);if(typeof M=="string"&&!/Z$/i.test(M)){var W=M.match(v);if(W){var B=W[2]-1||0,G=(W[7]||"0").substring(0,3);return V?new Date(Date.UTC(W[1],B,W[3]||1,W[4]||0,W[5]||0,W[6]||0,G)):new Date(W[1],B,W[3]||1,W[4]||0,W[5]||0,W[6]||0,G)}}return new Date(M)}(F),this.init()},P.init=function(){var F=this.$d;this.$y=F.getFullYear(),this.$M=F.getMonth(),this.$D=F.getDate(),this.$W=F.getDay(),this.$H=F.getHours(),this.$m=F.getMinutes(),this.$s=F.getSeconds(),this.$ms=F.getMilliseconds()},P.$utils=function(){return _},P.isValid=function(){return this.$d.toString()!==h},P.isSame=function(F,H){var M=I(F);return this.startOf(H)<=M&&M<=this.endOf(H)},P.isAfter=function(F,H){return I(F)<this.startOf(H)},P.isBefore=function(F,H){return this.endOf(H)<I(F)},P.$g=function(F,H,M){return _.u(F)?this[H]:this.set(M,F)},P.unix=function(){return Math.floor(this.valueOf()/1e3)},P.valueOf=function(){return this.$d.getTime()},P.startOf=function(F,H){var M=this,V=!!_.u(H)||H,W=_.p(F),B=function(ee,te){var re=_.w(M.$u?Date.UTC(M.$y,te,ee):new Date(M.$y,te,ee),M);return V?re:re.endOf(u)},G=function(ee,te){return _.w(M.toDate()[ee].apply(M.toDate("s"),(V?[0,0,0,0]:[23,59,59,999]).slice(te)),M)},N=this.$W,k=this.$M,U=this.$D,z="set"+(this.$u?"UTC":"");switch(W){case f:return V?B(1,0):B(31,11);case A:return V?B(1,k):B(0,k+1);case c:var K=this.$locale().weekStart||0,Y=(N<K?N+7:N)-K;return B(V?U-Y:U+(6-Y),k);case u:case p:return G(z+"Hours",0);case l:return G(z+"Minutes",1);case o:return G(z+"Seconds",2);case s:return G(z+"Milliseconds",3);default:return this.clone()}},P.endOf=function(F){return this.startOf(F,!1)},P.$set=function(F,H){var M,V=_.p(F),W="set"+(this.$u?"UTC":""),B=(M={},M[u]=W+"Date",M[p]=W+"Date",M[A]=W+"Month",M[f]=W+"FullYear",M[l]=W+"Hours",M[o]=W+"Minutes",M[s]=W+"Seconds",M[a]=W+"Milliseconds",M)[V],G=V===u?this.$D+(H-this.$W):H;if(V===A||V===f){var N=this.clone().set(p,1);N.$d[B](G),N.init(),this.$d=N.set(p,Math.min(this.$D,N.daysInMonth())).$d}else B&&this.$d[B](G);return this.init(),this},P.set=function(F,H){return this.clone().$set(F,H)},P.get=function(F){return this[_.p(F)]()},P.add=function(F,H){var M,V=this;F=Number(F);var W=_.p(H),B=function(k){var U=I(V);return _.w(U.date(U.date()+Math.round(k*F)),V)};if(W===A)return this.set(A,this.$M+F);if(W===f)return this.set(f,this.$y+F);if(W===u)return B(1);if(W===c)return B(7);var G=(M={},M[o]=r,M[l]=i,M[s]=n,M)[W]||1,N=this.$d.getTime()+F*G;return _.w(N,this)},P.subtract=function(F,H){return this.add(-1*F,H)},P.format=function(F){var H=this,M=this.$locale();if(!this.isValid())return M.invalidDate||h;var V=F||"YYYY-MM-DDTHH:mm:ssZ",W=_.z(this),B=this.$H,G=this.$m,N=this.$M,k=M.weekdays,U=M.months,z=M.meridiem,K=function(te,re,Q,ae){return te&&(te[re]||te(H,V))||Q[re].slice(0,ae)},Y=function(te){return _.s(B%12||12,te,"0")},ee=z||function(te,re,Q){var ae=te<12?"AM":"PM";return Q?ae.toLowerCase():ae};return V.replace(E,function(te,re){return re||function(Q){switch(Q){case"YY":return String(H.$y).slice(-2);case"YYYY":return _.s(H.$y,4,"0");case"M":return N+1;case"MM":return _.s(N+1,2,"0");case"MMM":return K(M.monthsShort,N,U,3);case"MMMM":return K(U,N);case"D":return H.$D;case"DD":return _.s(H.$D,2,"0");case"d":return String(H.$W);case"dd":return K(M.weekdaysMin,H.$W,k,2);case"ddd":return K(M.weekdaysShort,H.$W,k,3);case"dddd":return k[H.$W];case"H":return String(B);case"HH":return _.s(B,2,"0");case"h":return Y(1);case"hh":return Y(2);case"a":return ee(B,G,!0);case"A":return ee(B,G,!1);case"m":return String(G);case"mm":return _.s(G,2,"0");case"s":return String(H.$s);case"ss":return _.s(H.$s,2,"0");case"SSS":return _.s(H.$ms,3,"0");case"Z":return W}return null}(te)||W.replace(":","")})},P.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},P.diff=function(F,H,M){var V,W=this,B=_.p(H),G=I(F),N=(G.utcOffset()-this.utcOffset())*r,k=this-G,U=function(){return _.m(W,G)};switch(B){case f:V=U()/12;break;case A:V=U();break;case d:V=U()/3;break;case c:V=(k-N)/6048e5;break;case u:V=(k-N)/864e5;break;case l:V=k/i;break;case o:V=k/r;break;case s:V=k/n;break;default:V=k}return M?V:_.a(V)},P.daysInMonth=function(){return this.endOf(A).$D},P.$locale=function(){return x[this.$L]},P.locale=function(F,H){if(!F)return this.$L;var M=this.clone(),V=D(F,H,!0);return V&&(M.$L=V),M},P.clone=function(){return _.w(this.$d,this)},P.toDate=function(){return new Date(this.valueOf())},P.toJSON=function(){return this.isValid()?this.toISOString():null},P.toISOString=function(){return this.$d.toISOString()},P.toString=function(){return this.$d.toUTCString()},R}(),T=O.prototype;return I.prototype=T,[["$ms",a],["$s",s],["$m",o],["$H",l],["$W",u],["$M",A],["$y",f],["$D",p]].forEach(function(R){T[R[1]]=function(P){return this.$g(P,R[0],R[1])}}),I.extend=function(R,P){return R.$i||(R(P,O,I),R.$i=!0),I},I.locale=D,I.isDayjs=S,I.unix=function(R){return I(1e3*R)},I.en=x[y],I.Ls=x,I.p={},I})})(_m);var Dm=_m.exports;const Hi=Cn(Dm);var Om={exports:{}};(function(t,e){(function(n,r){t.exports=r()})($,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(i,a,s){var o,l=function(d,f,p){p===void 0&&(p={});var h=new Date(d),v=function(E,C){C===void 0&&(C={});var m=C.timeZoneName||"short",g=E+"|"+m,y=r[g];return y||(y=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:E,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:m}),r[g]=y),y}(f,p);return v.formatToParts(h)},u=function(d,f){for(var p=l(d,f),h=[],v=0;v<p.length;v+=1){var E=p[v],C=E.type,m=E.value,g=n[C];g>=0&&(h[g]=parseInt(m,10))}var y=h[3],x=y===24?0:y,w=h[0]+"-"+h[1]+"-"+h[2]+" "+x+":"+h[4]+":"+h[5]+":000",S=+d;return(s.utc(w).valueOf()-(S-=S%1e3))/6e4},c=a.prototype;c.tz=function(d,f){d===void 0&&(d=o);var p=this.utcOffset(),h=this.toDate(),v=h.toLocaleString("en-US",{timeZone:d}),E=Math.round((h-new Date(v))/1e3/60),C=s(v,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(h.getTimezoneOffset()/15)-E,!0);if(f){var m=C.utcOffset();C=C.add(p-m,"minute")}return C.$x.$timezone=d,C},c.offsetName=function(d){var f=this.$x.$timezone||s.tz.guess(),p=l(this.valueOf(),f,{timeZoneName:d}).find(function(h){return h.type.toLowerCase()==="timezonename"});return p&&p.value};var A=c.startOf;c.startOf=function(d,f){if(!this.$x||!this.$x.$timezone)return A.call(this,d,f);var p=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return A.call(p,d,f).tz(this.$x.$timezone,!0)},s.tz=function(d,f,p){var h=p&&f,v=p||f||o,E=u(+s(),v);if(typeof d!="string")return s(d).tz(v);var C=function(x,w,S){var D=x-60*w*1e3,I=u(D,S);if(w===I)return[D,w];var _=u(D-=60*(I-w)*1e3,S);return I===_?[D,I]:[x-60*Math.min(I,_)*1e3,Math.max(I,_)]}(s.utc(d,h).valueOf(),E,v),m=C[0],g=C[1],y=s(m).utcOffset(g);return y.$x.$timezone=v,y},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(d){o=d}}})})(Om);var AO=Om.exports;const fO=Cn(AO);var Tm={exports:{}};(function(t,e){(function(n,r){t.exports=r()})($,function(){var n="minute",r=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(a,s,o){var l=s.prototype;o.utc=function(h){var v={date:h,utc:!0,args:arguments};return new s(v)},l.utc=function(h){var v=o(this.toDate(),{locale:this.$L,utc:!0});return h?v.add(this.utcOffset(),n):v},l.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var u=l.parse;l.parse=function(h){h.utc&&(this.$u=!0),this.$utils().u(h.$offset)||(this.$offset=h.$offset),u.call(this,h)};var c=l.init;l.init=function(){if(this.$u){var h=this.$d;this.$y=h.getUTCFullYear(),this.$M=h.getUTCMonth(),this.$D=h.getUTCDate(),this.$W=h.getUTCDay(),this.$H=h.getUTCHours(),this.$m=h.getUTCMinutes(),this.$s=h.getUTCSeconds(),this.$ms=h.getUTCMilliseconds()}else c.call(this)};var A=l.utcOffset;l.utcOffset=function(h,v){var E=this.$utils().u;if(E(h))return this.$u?0:E(this.$offset)?A.call(this):this.$offset;if(typeof h=="string"&&(h=function(y){y===void 0&&(y="");var x=y.match(r);if(!x)return null;var w=(""+x[0]).match(i)||["-",0,0],S=w[0],D=60*+w[1]+ +w[2];return D===0?0:S==="+"?D:-D}(h),h===null))return this;var C=Math.abs(h)<=16?60*h:h,m=this;if(v)return m.$offset=C,m.$u=h===0,m;if(h!==0){var g=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(m=this.local().add(C+g,n)).$offset=C,m.$x.$localOffset=g}else m=this.utc();return m};var d=l.format;l.format=function(h){var v=h||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return d.call(this,v)},l.valueOf=function(){var h=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*h},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var f=l.toDate;l.toDate=function(h){return h==="s"&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var p=l.diff;l.diff=function(h,v,E){if(h&&this.$u===h.$u)return p.call(this,h,v,E);var C=this.local(),m=o(h).local();return p.call(C,m,v,E)}}})})(Tm);var hO=Tm.exports;const pO=Cn(hO);var vO={exports:{}};(function(t,e){(function(n,r){t.exports=r(Dm)})($,function(n){function r(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var i=r(n),a={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(s){return"["+s+(s===1||s===8||s>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return i.default.locale(a,null,!0),a})})(vO);const gO="Europe/Amsterdam";Hi.extend(pO);Hi.extend(fO);Hi.locale("nl");Hi.tz.setDefault(gO);const Pm=t=>{const e=Hi(t).format();return Hi(e)},mO="Chatbot Gemeente Amsterdam",CO="Jasmijn",EO=(t,e)=>{const n=Pm(e).format("HH:mm");return t===kn.user?n:t===kn.chatbot?`${mO} - ${n}`:`${CO} - ${n}`},Nd=({message:{senderRole:t,timestamp:e},isLastOfType:n})=>{const r=ji(i=>yO(i,t===kn.user));return!!n&&X.jsxs(X.Fragment,{children:[X.jsx(Co,{height:"xs"}),X.jsx(ge,{style:r.container,children:X.jsx(Gi,{color:"secondary",testID:`ChatHistoryGroupName${t}`,variant:"extraSmall",children:EO(t,e)})})]})},xO=40,yO=({size:t},e)=>ve.create({container:{paddingLeft:e?void 0:xO+t.spacing.sm,alignItems:e?"flex-end":"flex-start"}});try{Nd.displayName="ChatAgentInfo",Nd.__docgenInfo={description:"",displayName:"ChatAgentInfo",props:{isLastOfType:{defaultValue:null,description:"",name:"isLastOfType",required:!0,type:{name:"boolean"}},message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntry"}}}}}catch{}const IO=()=>{const{color:t}=Ir();return X.jsxs(_0,{fill:"none",height:"40",viewBox:"0 0 40 40",width:"40",children:[X.jsx(Rv,{cx:"20",cy:"20",fill:t.chat.avatar.background,r:"19.5",stroke:t.chat.avatar.border}),X.jsx(fr,{d:"M16.3604 30.9196L18.5404 28.7396L16.3604 26.5396L17.8204 25.0996L20.0004 27.2796L22.1804 25.0996L23.6404 26.5396L21.4604 28.7396L23.6404 30.9196L22.1804 32.3596L20.0004 30.1796L17.8204 32.3596L16.3604 30.9196Z",fill:t.logo}),X.jsx(fr,{d:"M16.3604 22.1799L18.5404 19.9999L16.3604 17.8199L17.8204 16.3799L20.0004 18.5599L22.1804 16.3799L23.6404 17.8199L21.4604 19.9999L23.6404 22.1799L22.1804 23.6399L20.0004 21.4599L17.8204 23.6399L16.3604 22.1799Z",fill:t.logo}),X.jsx(fr,{d:"M16.3604 13.4596L18.5404 11.2596L16.3604 9.07965L17.8204 7.63965L20.0004 9.81965L22.1804 7.63965L23.6404 9.07965L21.4604 11.2596L23.6404 13.4596L22.1804 14.8996L20.0004 12.7196L17.8204 14.8996L16.3604 13.4596Z",fill:t.logo})]})},wO=()=>{const{color:t}=Ir();return X.jsxs(_0,{fill:"none",height:"40",viewBox:"0 0 40 40",width:"40",children:[X.jsx(Rv,{cx:"20",cy:"20",fill:t.chat.avatar.background,r:"19.5",stroke:t.chat.avatar.border}),X.jsx(fr,{"clip-rule":"evenodd",d:"M20 35C13.5 35 9 30.5 9 30.1981C9 24.5731 12.15 21.625 16.5 21.625H24C28.35 21.625 31.5 24.0062 31.5 29.6312C31.5 30.1981 26.5 35 20 35ZM20.25 19.75C23.3397 19.7096 25.8346 17.2147 25.875 14.125C25.875 11.0184 23.3566 8.5 20.25 8.5C17.1434 8.5 14.625 11.0184 14.625 14.125C14.6654 17.2147 17.1603 19.7096 20.25 19.75Z",fill:t.chat.avatar.foreground,"fill-rule":"evenodd"})]})},Gd=({message:t})=>{const e=ji(r=>SO(r,t.senderRole)),n=t.senderRole===kn.user;return X.jsxs(Ni,{align:n?"end":"start",gutter:"sm",valign:"end",children:[t.senderRole===kn.chatbot&&X.jsx(IO,{}),t.senderRole===kn.employee&&X.jsx(wO,{}),X.jsx(ge,{style:e.textContainer,children:X.jsx(Gi,{color:t.senderRole===kn.user?"inverse":void 0,testID:"",children:t.text})})]})},SO=({color:t,size:e},n)=>{const r=n===kn.user,i=12;return ve.create({textContainer:{flexShrink:1,backgroundColor:t.chat.message.background[n],paddingHorizontal:e.spacing.md,paddingVertical:e.spacing.sm,borderRadius:i,borderBottomRightRadius:r?0:i,borderBottomLeftRadius:r?i:0}})};try{Gd.displayName="ChatMessage",Gd.__docgenInfo={description:"",displayName:"ChatMessage",props:{message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntry"}}}}}catch{}const Ld=({firstMessage:t})=>X.jsxs(Ni,{align:"center",gutter:"sm",valign:"center",children:[X.jsx(cs,{color:"secondary",name:"chat",testID:"ChatStartingTimeIcon"}),X.jsx(Gi,{color:"secondary",testID:"ChatStartingTime",children:`Chat gestart om ${Pm(t==null?void 0:t.timestamp).format("HH:mm")}`})]});try{Ld.displayName="ChatStartTime",Ld.__docgenInfo={description:"",displayName:"ChatStartTime",props:{firstMessage:{defaultValue:null,description:"",name:"firstMessage",required:!0,type:{name:"ConversationEntry"}}}}}catch{}const Vd=({choices:t})=>{const e=ct(!1),n=b.useCallback(r=>{gg(r).then(()=>e.value=!0)},[e]);return t&&!e.value?X.jsxs(X.Fragment,{children:[X.jsx(Ni,{align:"end",gutter:"sm",wrap:!0,children:t.map(({optionId:r,title:i})=>X.jsx(Ix,{label:i,onPress:()=>n(i),testID:`ChatHistoryChoices${i}`,variant:"secondary"},r))}),X.jsx(Co,{height:"md"})]}):null};try{Vd.displayName="Choices",Vd.__docgenInfo={description:"",displayName:"Choices",props:{choices:{defaultValue:null,description:"",name:"choices",required:!0,type:{name:"Choice[] | undefined"}}}}}catch{}const Rm=De({name:ie.environment,initialState:{custom:ux,environment:Fv?Lr.acceptance:Lr.production},reducers:{setEnvironment:(t,{payload:e})=>{t.environment=e},setCustomEnvironment:(t,{payload:e})=>{t.custom={...t.custom,...e}}}});Rm.actions;const Fm=t=>t[ie.environment],bO=(t,e)=>n=>cx(n[ie.environment].environment,n[ie.environment].custom,t,e);var Ht={NODE_ENV:'"production"'};const _O=()=>{const{environment:t}=Bt(Fm),e={};switch(t){case Lr.development:case Lr.custom:e.developerName=Ht.CHAT_DEVELOPER_NAME_DEV??"",e.organizationId=Ht.CHAT_ORGANIZATION_ID_DEV??"",e.url=Ht.CHAT_URL_DEV??"";break;case Lr.test:e.developerName=Ht.CHAT_DEVELOPER_NAME_TEST??"",e.organizationId=Ht.CHAT_ORGANIZATION_ID_TEST??"",e.url=Ht.CHAT_URL_TEST??"";break;case Lr.acceptance:e.developerName=Ht.CHAT_DEVELOPER_NAME_ACC??"",e.organizationId=Ht.CHAT_ORGANIZATION_ID_ACC??"",e.url=Ht.CHAT_URL_ACC??"";break;case Lr.production:e.developerName=Ht.CHAT_DEVELOPER_NAME_PROD??"",e.organizationId=Ht.CHAT_ORGANIZATION_ID_PROD??"",e.url=Ht.CHAT_URL_PROD??"";break}return e},DO={messages:[]},km=b.createContext(DO),Hd=({children:t})=>{const e=_O(),[n,r]=b.useState(),{messages:i,conversationId:a}=ky({...e,conversationId:n});b.useEffect(()=>{r(a??n)},[n,a]);const s=b.useMemo(()=>({messages:i}),[i]);return X.jsx(km.Provider,{value:s,children:t})};try{Hd.displayName="ChatProvider",Hd.__docgenInfo={description:"",displayName:"ChatProvider",props:{}}}catch{}const OO=()=>{const t=b.useRef(null),e=TO(),{messages:n}=b.useContext(km);return X.jsx(Ji,{contentContainerStyle:e.contentContainer,keyboardShouldPersistTaps:"handled",onContentSizeChange:()=>{var r;return(r=t==null?void 0:t.current)==null?void 0:r.scrollToEnd()},ref:t,style:e.scrollView,children:X.jsx(qo,{grow:!0,insetHorizontal:"md",children:X.jsxs(Ti,{children:[X.jsx(Ld,{firstMessage:n[0]}),X.jsx(Co,{height:"md"}),n.map((r,i)=>{var a;if(r.senderRole!==kn.system){const s=((a=n[i+1])==null?void 0:a.senderRole)!==r.senderRole;return X.jsxs(b.Fragment,{children:[X.jsx(Gd,{message:r}),X.jsx(Nd,{isLastOfType:s,message:r}),X.jsx(Co,{height:s?"md":"sm"}),X.jsx(Vd,{choices:r.choices})]},r.timestamp)}})]})})})},TO=()=>ve.create({contentContainer:{flexGrow:1},scrollView:{flex:1}}),Ud=({onSubmit:t})=>{const e=ji(PO),[n,r]=b.useState(""),i=b.useCallback(s=>{r(s)},[]),a=b.useCallback(s=>{t(s),r("")},[t]);return X.jsx(xx,{behavior:ue.OS==="ios"?"padding":"height",children:X.jsx(qo,{insetBottom:"md",insetHorizontal:"md",children:X.jsx(Ti,{gutter:"sm",children:X.jsxs(ge,{style:e.container,testID:"ChatTextInputContainer",children:[X.jsx(D0,{multiline:!0,onChangeText:i,placeholder:"Schrijf uw bericht",style:e.textInput,testID:"ChatTextInput",value:n}),n.length>0&&X.jsxs(ge,{style:e.buttonWrapper,children:[X.jsx(ge,{style:e.spacePlaceholder}),X.jsx(wx,{onPress:()=>a(n),style:e.button,testID:"ChatTextInputSendButton",children:X.jsx(cs,{color:"inverse",name:"chevron-right",testID:"ChatTextInputSendButtonIcon"})})]})]})})})})},Hf=40,PO=({border:t,color:e,text:n,size:r})=>ve.create({button:{backgroundColor:e.pressable.primary.default.background,alignItems:"center",justifyContent:"center",height:Hf,width:Hf},buttonWrapper:{height:"100%"},spacePlaceholder:{flexGrow:1},container:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",borderWidth:t.width.sm,padding:r.spacing.xs,columnGap:r.spacing.sm},textInput:{flex:1,color:e.text.default,fontFamily:n.fontFamily.regular,fontSize:n.fontSize.body,padding:0,paddingLeft:r.spacing.md,paddingTop:r.spacing.sm,paddingBottom:r.spacing.sm}});try{Ud.displayName="ChatInput",Ud.__docgenInfo={description:"",displayName:"ChatInput",props:{onSubmit:{defaultValue:null,description:"",name:"onSubmit",required:!0,type:{name:"(message: string) => void"}}}}}catch{}const RO=()=>{const{isOpen:t}=Zo();return t?X.jsx(Hd,{children:X.jsxs(kd,{children:[X.jsx(cO,{}),X.jsx(Fd,{children:X.jsx(OO,{})}),X.jsx(Ud,{onSubmit:gg})]})}):null},FO={hiddenInMenu:!0,name:"ChatModule",PostRenderComponent:RO,slug:nt.chat};var Mm=(t=>(t.cityPassSecurityCode="cityPassSecurityCode",t.cityPassShowPassesButton="cityPassShowPassesButton",t.constructionWorkProjectFollowButton="constructionWorkProjectFollowButton",t))(Mm||{}),Wd=(t=>(t.cityPassSecurityCode="Je hebt de beveiligingscode nodig om betalingen te doen met hoge bedragen",t.cityPassShowPassesButton="Druk op de knop om je Stadspas te laten zien",t.constructionWorkProjectFollowButton="Volg een project en blijf op de hoogte van onze werkzaamheden",t))(Wd||{});const kO=Ji,Bm=b.createContext(null),Nm=(t,e="ref")=>{const n=({children:r,...i})=>{const a=b.useRef(null),[s,o]=b.useState(null),[l,u]=b.useState(!1),c=async()=>{if(!(a!=null&&a.current)||!s)return!1;const[f,p]=await Promise.all([HA(a.current),HA(s)]);u(Dx(f,p))},A={...i,onLayout:c,onScroll:c,[e]:a,scrollEventThrottle:16},d=b.useMemo(()=>({isElementVisible:l,setElementRef:o}),[l,o]);return X.jsx(t,{...A,children:X.jsx(Bm.Provider,{value:d,children:r})})};return b.forwardRef((r,i)=>X.jsx(n,{...r,childRef:i}))},Uf=Nm(kO,"innerRef"),Wf=Nm(Ji);try{Uf.displayName="KeyboardAwareTrackScrollView",Uf.__docgenInfo={description:"",displayName:"KeyboardAwareTrackScrollView",props:{grow:{defaultValue:null,description:"",name:"grow",required:!1,type:{name:"boolean"}},withBottomInset:{defaultValue:null,description:"",name:"withBottomInset",required:!1,type:{name:"boolean"}},childRef:{defaultValue:null,description:"",name:"childRef",required:!1,type:{name:"ForwardedRef<ScrollViewRef>"}}}}}catch{}try{Wf.displayName="TrackScrollView",Wf.__docgenInfo={description:"",displayName:"TrackScrollView",props:{grow:{defaultValue:null,description:"",name:"grow",required:!1,type:{name:"boolean"}},withBottomInset:{defaultValue:null,description:"",name:"withBottomInset",required:!1,type:{name:"boolean"}},childRef:{defaultValue:null,description:"",name:"childRef",required:!1,type:{name:"ForwardedRef<ScrollViewRef>"}}}}}catch{}const Xd=({children:t,extraSpace:e,tipSlug:n,placement:r,testID:i})=>{const a=En(),o=Bt(iy).includes(n),l=Nv(),u=b.useContext(Bm),c=u===null,{setElementRef:A,isElementVisible:d}=u??{},f=b.useRef(null),{layout:p,measureTarget:h}=Ox(f),v=b.useCallback(()=>{(c||d)&&!o&&a(ry(n))},[a,c,o,d,n]);return Tx(v),X.jsxs(ge,{children:[!o&&!l&&X.jsx(Px,{accessibilityLabel:Wd[n],extraSpace:e,fadeIn:!0,onPress:v,placement:r,productTourTipTargetLayout:p,ref:A,startFadeIn:d??c,testID:i,text:Wd[n]}),X.jsx(ge,{collapsable:!1,onLayout:h,ref:f,children:t})]})};try{Xd.displayName="ProductTourTipWrapper",Xd.__docgenInfo={description:"",displayName:"ProductTourTipWrapper",props:{extraSpace:{defaultValue:null,description:"",name:"extraSpace",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},placement:{defaultValue:null,description:"",name:"placement",required:!0,type:{name:"enum",value:[{value:'"above"'},{value:'"after"'},{value:'"before"'},{value:'"below"'}]}},tipSlug:{defaultValue:null,description:"",name:"tipSlug",required:!0,type:{name:"enum",value:[{value:'"cityPassSecurityCode"'},{value:'"cityPassShowPassesButton"'},{value:'"constructionWorkProjectFollowButton"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const Gm=De({name:ie.secureStorage,initialState:{},reducers:{setSecureItemUpdatedTimestamp:(t,{payload:e})=>{Object.assign(t,{[e]:Date.now()})},deleteSecureItemUpdatedTimestamp:(t,{payload:e})=>{t[e]&&delete t[e]}}});Gm.actions;const MO=t=>e=>e[ie.secureStorage][t],BO={setItem:()=>{}};var Lm=(t=>(t.cityPassAccessToken="cityPassAccessToken",t.cityPassRefreshToken="cityPassRefreshToken",t.cityPasses="cityPasses",t))(Lm||{});const NO=t=>new Promise((e,n)=>{BO.getItem(t).then(r=>e(r)).catch(r=>{_v.trackException({exception:r}),n(r)})}),GO=t=>{const[e,n]=b.useState(!0),[r,i]=b.useState(null),a=Bt(MO(t));return b.useEffect(()=>{NO(t).then(s=>{i(s),n(!1)}).catch(()=>{i(null),n(!1)})},[t,a]),{item:r,isLoading:e}},LO=t=>t.map(e=>({dateEndFormatted:e.d,firstname:e.f,infix:e.i,lastname:e.l,passNumberComplete:e.p})),Vm=()=>{const{item:t}=GO(Lm.cityPasses);return b.useMemo(()=>t?LO(JSON.parse(t)):[],[t])},VO={isCityPassesVisible:!1,isCityPassOwnerRegistered:!1,startIndex:0},Hm=De({name:ie.cityPass,initialState:VO,reducers:{hideCityPasses:t=>{t.isCityPassesVisible=!1},setIsCityPassOwnerRegistered:(t,{payload:e})=>{t.isCityPassOwnerRegistered=e},showCityPasses:(t,{payload:e})=>{t.isCityPassesVisible=!0,t.startIndex=e??0}}}),{hideCityPasses:HO,setIsCityPassOwnerRegistered:F6,showCityPasses:UO}=Hm.actions,WO=t=>t[ie.cityPass].isCityPassesVisible,XO=t=>t[ie.cityPass].startIndex,YO=()=>{const t=En(),e=Vm();return e!=null&&e.length?X.jsx(Xd,{extraSpace:"md",placement:Rx.below,testID:"HeaderShowCityPassesTooltip",tipSlug:Mm.cityPassShowPassesButton,children:X.jsx(vd,{accessibilityLabel:"Toon Stadspas",icon:X.jsx(cs,{color:"link",name:"city-pass-pass",size:"lg",testID:"HeaderCityPassIcon"}),onPress:()=>t(UO()),testID:"HeaderCityPassButton"})}):null},tc="@@nativeEmitterSubscription@@";class zO{constructor(e){di(this,"_listenerCount",0);di(this,"_nativeModule");di(this,"_eventEmitter");if(e.__expo_module_name__)return e;this._nativeModule=e,this._eventEmitter=new w0(e)}addListener(e,n){!this._listenerCount&&ue.OS!=="ios"&&this._nativeModule.startObserving&&this._nativeModule.startObserving(),this._listenerCount++;const r=this._eventEmitter.addListener(e,n),i={[tc]:r,remove:()=>{this.removeSubscription(i)}};return i}removeAllListeners(e){const n=this._eventEmitter.listenerCount?this._eventEmitter.listenerCount(e):this._eventEmitter.listeners(e).length;this._eventEmitter.removeAllListeners(e),this._listenerCount-=n,Do(this._listenerCount>=0,"EventEmitter must have a non-negative number of listeners"),!this._listenerCount&&ue.OS!=="ios"&&this._nativeModule.stopObserving&&this._nativeModule.stopObserving()}removeSubscription(e){const n=e[tc];n&&("remove"in n&&n.remove(),this._listenerCount--,delete e[tc],e.remove=()=>{},!this._listenerCount&&ue.OS!=="ios"&&this._nativeModule.stopObserving&&this._nativeModule.stopObserving())}emit(e,...n){this._eventEmitter.emit(e,...n)}}const KO={},$O=Object.freeze(Object.defineProperty({__proto__:null,default:KO},Symbol.toStringTag,{value:"Module"})),qO=us($O);class jO extends Error{constructor(n,r){super(r);di(this,"code");di(this,"info");this.code=n}}var xv;const tA=typeof window<"u"&&!!((xv=window.document)!=null&&xv.createElement),QO=tA&&!!(window.addEventListener||window.attachEvent),ZO=tA&&!!window.screen,JO=!1,Su={OS:ue.OS,select:ue.select,isDOMAvailable:tA,canUseEventListeners:QO,canUseViewport:ZO,isAsyncDebugging:JO};class nA extends jO{constructor(e,n){super("ERR_UNAVAILABLE",`The method or property ${e}.${n} is not available on ${Su.OS}, are you sure you've linked all the native dependencies properly?`)}}var Wr;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.PORTRAIT_UP=1]="PORTRAIT_UP",t[t.PORTRAIT_DOWN=2]="PORTRAIT_DOWN",t[t.LANDSCAPE_LEFT=3]="LANDSCAPE_LEFT",t[t.LANDSCAPE_RIGHT=4]="LANDSCAPE_RIGHT"})(Wr||(Wr={}));var vt;(function(t){t[t.DEFAULT=0]="DEFAULT",t[t.ALL=1]="ALL",t[t.PORTRAIT=2]="PORTRAIT",t[t.PORTRAIT_UP=3]="PORTRAIT_UP",t[t.PORTRAIT_DOWN=4]="PORTRAIT_DOWN",t[t.LANDSCAPE=5]="LANDSCAPE",t[t.LANDSCAPE_LEFT=6]="LANDSCAPE_LEFT",t[t.LANDSCAPE_RIGHT=7]="LANDSCAPE_RIGHT",t[t.OTHER=8]="OTHER",t[t.UNKNOWN=9]="UNKNOWN"})(vt||(vt={}));var Xf;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.COMPACT=1]="COMPACT",t[t.REGULAR=2]="REGULAR"})(Xf||(Xf={}));var gt;(function(t){t.PORTRAIT_PRIMARY="portrait-primary",t.PORTRAIT_SECONDARY="portrait-secondary",t.PORTRAIT="portrait",t.LANDSCAPE_PRIMARY="landscape-primary",t.LANDSCAPE_SECONDARY="landscape-secondary",t.LANDSCAPE="landscape",t.ANY="any",t.NATURAL="natural",t.UNKNOWN="unknown"})(gt||(gt={}));var _i;(function(t){t.PORTRAIT_PRIMARY="portrait-primary",t.PORTRAIT_SECONDARY="portrait-secondary",t.LANDSCAPE_PRIMARY="landscape-primary",t.LANDSCAPE_SECONDARY="landscape-secondary"})(_i||(_i={}));const Yf={[vt.DEFAULT]:gt.NATURAL,[vt.ALL]:gt.ANY,[vt.PORTRAIT]:gt.PORTRAIT,[vt.PORTRAIT_UP]:gt.PORTRAIT_PRIMARY,[vt.PORTRAIT_DOWN]:gt.PORTRAIT_SECONDARY,[vt.LANDSCAPE]:gt.LANDSCAPE,[vt.LANDSCAPE_LEFT]:gt.LANDSCAPE_PRIMARY,[vt.LANDSCAPE_RIGHT]:gt.LANDSCAPE_SECONDARY},e2={[_i.PORTRAIT_PRIMARY]:Wr.PORTRAIT_UP,[_i.PORTRAIT_SECONDARY]:Wr.PORTRAIT_DOWN,[_i.LANDSCAPE_PRIMARY]:Wr.LANDSCAPE_LEFT,[_i.LANDSCAPE_SECONDARY]:Wr.LANDSCAPE_RIGHT},Te=Su.canUseViewport?window.screen:{},nc=Su.canUseViewport&&(Te.orientation||Te.msOrientation)||null;async function zf(){const[t,e]=await Promise.all([a2(),i2()]);pd.emit("expoDidUpdateDimensions",{orientationLock:t,orientationInfo:{orientation:e}})}Su.canUseEventListeners&&(nc&&nc.addEventListener?nc.addEventListener("change",zf):window.addEventListener("orientationchange",zf));function t2(t){switch(t){case gt.UNKNOWN:throw new Error("expo-screen-orientation: WebOrientationLock.UNKNOWN is not a valid lock to be converted.");case gt.ANY:return["portrait","landscape"];case gt.NATURAL:return"default";default:return t}}async function Kf(t){if(t===gt.UNKNOWN)throw new Error("expo-screen-orientation: WebOrientationLock.UNKNOWN is not a valid lock that can be applied to the device.");if(Te.orientation&&Te.orientation.lock)await Te.orientation.lock(t);else if(Te.lockOrientation||Te.mozLockOrientation||Te.msLockOrientation){const e=t2(t);if(!(Te.lockOrientation||Te.mozLockOrientation||Te.msLockOrientation).call(Te,e))throw new Error(`Applying orientation lock: ${JSON.stringify(t)} to device was denied`)}else throw new Error("expo-screen-orientation: The browser doesn't support locking screen orientation.")}let $f=gt.UNKNOWN;const $n={async supportsOrientationLockAsync(t){return t in Yf},async getPlatformOrientationLockAsync(){return $f},async getOrientationAsync(){const t=Te.msOrientation||(Te.orientation||Te.mozOrientation||{}).type;return t?e2[t]:Wr.UNKNOWN},async lockAsync(t){const e=Yf[t];if(!e)throw new TypeError(`Invalid Orientation Lock: ${t}`);await Kf(e)},async lockPlatformAsync(t){await Kf(t),$f=t},async unlockAsync(){if(Te.orientation&&Te.orientation.unlock)Te.orientation.unlock();else if(Te.unlockOrientation||Te.mozUnlockOrientation||Te.msUnlockOrientation){if(!(Te.unlockOrientation||Te.mozUnlockOrientation||Te.msUnlockOrientation).call(Te))throw new Error("Unlocking screen orientation on device was denied")}else throw new Error("expo-screen-orientation: The browser doesn't support unlocking screen orientation.")}};new zO($n);let Um=vt.UNKNOWN;async function n2(t){if(!$n.lockAsync)throw new nA("ScreenOrientation","lockAsync");if(!Object.values(vt).includes(t))throw new TypeError(`Invalid Orientation Lock: ${t}`);t!==vt.OTHER&&(await $n.lockAsync(t),Um=t)}async function r2(){if(!$n.lockAsync)throw new nA("ScreenOrientation","lockAsync");await $n.lockAsync(vt.DEFAULT)}async function i2(){if(!$n.getOrientationAsync)throw new nA("ScreenOrientation","getOrientationAsync");return await $n.getOrientationAsync()}async function a2(){return $n.getOrientationLockAsync?await $n.getOrientationLockAsync():Um}const Wm=De({name:ie.overlay,initialState:{isOpen:!1},reducers:{closeOverlay:t=>{t.isOpen=!1},openOverlay:t=>{t.isOpen=!0},toggleOverlay:t=>{t.isOpen=!t.isOpen}}}),{closeOverlay:s2,openOverlay:o2,toggleOverlay:l2}=Wm.actions,u2=()=>{const t=En();return{isOpen:Bt(n=>n[ie.overlay].isOpen),...b.useMemo(()=>({close:()=>t(s2()),open:()=>t(o2()),toggle:()=>t(l2())}),[t])}},Yd=({backgroundColor:t,children:e,closeButtonContainerWidth:n,onClose:r,...i})=>{const a=En(),{close:s,open:o}=u2(),l=ji(u=>c2(u,n));return b.useEffect(()=>(o(),()=>{s()}),[s,a,o]),X.jsx(Kn,{...i,entering:ta,exiting:na,style:[i.style,ve.absoluteFill,l.container,{backgroundColor:t}],children:X.jsxs(Ti,{gutter:"md",children:[X.jsx(Fx,{onPress:r,testID:"OverlayCloseButton",variant:"transparent",children:X.jsx(Ni,{align:"center",children:X.jsx(ge,{style:l.closeButtonInnerContainer,children:X.jsxs(Ni,{gutter:"md",valign:"center",children:[X.jsx(cs,{color:"inverse",name:"close",size:"lg",testID:"OverlayCloseButtonIcon"}),X.jsx(Gi,{color:"inverse",testID:"OverlayCloseButtonPhrase",children:"Sluiten"})]})})})}),e]})})},c2=({z:t},e)=>ve.create({container:{flex:1,justifyContent:"center",alignItems:"center",zIndex:t.overlay},closeButtonInnerContainer:{width:e}});try{Yd.displayName="Overlay",Yd.__docgenInfo={description:"",displayName:"Overlay",props:{backgroundColor:{defaultValue:null,description:"",name:"backgroundColor",required:!0,type:{name:"string"}},closeButtonContainerWidth:{defaultValue:null,description:"Used to outline close-button on top of another component",name:"closeButtonContainerWidth",required:!1,type:{name:"number"}},onClose:{defaultValue:null,description:"",name:"onClose",required:!0,type:{name:"() => void"}}}}}catch{}const d2=`The package 'react-native-block-screenshot' doesn't seem to be linked. Make sure: + }})`);return Object.assign(e,t),e}function GS(t,e,n){"worklet";const{leftEdgeInput:r,rightEdgeInput:i,leftEdgeOutput:a,rightEdgeOutput:s}=e;if(i-r===0)return a;const o=(t-r)/(i-r),l=a+o*(s-a),u=s>=a?1:-1;return u*l<u*a?Of(n.extrapolateLeft,u,l,a,s,t):u*l>u*s?Of(n.extrapolateRight,u,l,a,s,t):l}function Zt(t,e,n,r){"worklet";if(e.length<2||n.length<2)throw new Error("[Reanimated] Interpolation input and output ranges should contain at least two values.");const i=NS(r),a=e.length,s={leftEdgeInput:e[0],rightEdgeInput:e[1],leftEdgeOutput:n[0],rightEdgeOutput:n[1]};if(a>2){if(t>e[a-1])s.leftEdgeInput=e[a-2],s.rightEdgeInput=e[a-1],s.leftEdgeOutput=n[a-2],s.rightEdgeOutput=n[a-1];else for(let o=1;o<a;++o)if(t<=e[o]){s.leftEdgeInput=e[o-1],s.rightEdgeInput=e[o],s.leftEdgeOutput=n[o-1],s.rightEdgeOutput=n[o];break}}return GS(t,s,i)}function LS(t,e,n){"worklet";return Math.min(Math.max(t,e),n)}const VS=Ue,HS=(t,e,n,r)=>{"worklet";let i=0;const{useCorrectedHSVInterpolation:a=!0}=r;if(a){const u=[e[0]],c=n.h,A=[c[0]];for(let d=1;d<c.length;++d){const f=c[d]-c[d-1];c[d]>c[d-1]&&f>.5?(u.push(e[d]),u.push(e[d]+1e-5),A.push(c[d]-1),A.push(c[d])):c[d]<c[d-1]&&f<-.5?(u.push(e[d]),u.push(e[d]+1e-5),A.push(c[d]+1),A.push(c[d])):(u.push(e[d]),A.push(c[d]))}i=(Zt(t,u,A,Ue.CLAMP)+1)%1}else i=Zt(t,e,n.h,Ue.CLAMP);const s=Zt(t,e,n.s,Ue.CLAMP),o=Zt(t,e,n.v,Ue.CLAMP),l=Zt(t,e,n.a,Ue.CLAMP);return KI(i,s,o,l)},zu=(t,e)=>{"worklet";return t.map(n=>Math.pow(n/255,e))},Ku=(t,e)=>{"worklet";return Math.round(Math.pow(t,1/e)*255)},US=(t,e,n,r)=>{"worklet";const{gamma:i=2.2}=r;let{r:a,g:s,b:o}=n;i!==1&&(a=zu(a,i),s=zu(s,i),o=zu(o,i));const l=Zt(t,e,a,Ue.CLAMP),u=Zt(t,e,s,Ue.CLAMP),c=Zt(t,e,o,Ue.CLAMP),A=Zt(t,e,n.a,Ue.CLAMP);return i===1?wd(l,u,c,A):wd(Ku(l,i),Ku(u,i),Ku(c,i),A)},WS=t=>{"worklet";const e=[],n=[],r=[],i=[];for(let a=0;a<t.length;++a){const s=t[a],o=rl(s);o!=null&&(e.push(Mg(o)),n.push(kg(o)),r.push(Bg(o)),i.push(Fg(o)))}return{r:e,g:n,b:r,a:i}},XS=t=>{"worklet";const e=[],n=[],r=[],i=[];for(let a=0;a<t.length;++a){const s=t[a],o=rl(s);if(typeof o=="number"){const l=YI(Mg(o),kg(o),Bg(o));e.push(l.h),n.push(l.s),r.push(l.v),i.push(Fg(o))}}return{h:e,s:n,v:r,a:i}};function YS(t,e,n,r="RGB",i={}){"worklet";if(r==="HSV")return HS(t,e,XS(n),i);if(r==="RGB")return US(t,e,WS(n),i);throw new Error(`[Reanimated] Invalid color space provided: ${r}. Supported values are: ['RGB', 'HSV'].`)}let Jg=function(t){return t[t.RGB=0]="RGB",t[t.HSV=1]="HSV",t}({});function zS(t,e,n=Jg.RGB,r={}){return ct({inputRange:t,outputRange:e,colorSpace:n,cache:Xn(null),options:r})}function KS(){console.warn("[Reanimated] dispatchCommand() is not supported on web.")}function em(t){const e=t();if(e===-1)return console.warn(`[Reanimated] The view with tag ${e} is not a valid argument for measure(). This may be because the view is not currently rendered, which may not be a bug (e.g. an off-screen FlatList item).`),null;const n=e.getBoundingClientRect();return{width:e.offsetWidth,height:e.offsetHeight,x:e.offsetLeft,y:e.offsetTop,pageX:n.left,pageY:n.top}}function $S(t,e,n,r){const i=t();if(i!==-1){const a=i;a==null||a.scrollTo({x:e,y:n,animated:r})}}function qS(){console.warn("[Reanimated] setGestureState() is not available on web.")}function jS(t,e){const n=t();tl(e,{_component:n})}function QS(t,e,n){"worklet";const r=em(t);return r===null?null:{x:e-r.pageX,y:n-r.pageY}}function ZS(){for(const t in Ct.NATIVE_THREAD_PROPS_WHITELIST)if(t in Ct.UI_THREAD_PROPS_WHITELIST)throw new Error(`[Reanimated] Property \`${t}\` was whitelisted both as UI and native prop. Please remove it from one of the lists.`)}function sl(){ZS(),VI(Object.keys(Ct.UI_THREAD_PROPS_WHITELIST),Object.keys(Ct.NATIVE_THREAD_PROPS_WHITELIST))}function $0(t){const e=Object.keys(Ct.NATIVE_THREAD_PROPS_WHITELIST).length;Ct.NATIVE_THREAD_PROPS_WHITELIST={...Ct.NATIVE_THREAD_PROPS_WHITELIST,...t},e!==Object.keys(Ct.NATIVE_THREAD_PROPS_WHITELIST).length&&sl()}function tm(t){const e=Object.keys(Ct.UI_THREAD_PROPS_WHITELIST).length;Ct.UI_THREAD_PROPS_WHITELIST={...Ct.UI_THREAD_PROPS_WHITELIST,...t},e!==Object.keys(Ct.UI_THREAD_PROPS_WHITELIST).length&&sl()}const Tf=new Set;function nm(t){const e=t.uiViewClassName,n=t.validAttributes;if(!Tf.has(e)){const r={};Object.keys(n).forEach(i=>{!(i in Ct.NATIVE_THREAD_PROPS_WHITELIST)&&!(i in Ct.UI_THREAD_PROPS_WHITELIST)&&(r[i]=!0)}),tm(r),Tf.add(e)}}sl();function JS(t,e){const n={};return e==null||e.forEach(r=>{n[r]=!0}),$0(n),t}function Gr(t,e,n){return e=eb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function eb(t){var e=tb(t,"string");return typeof e=="symbol"?e:e+""}function tb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class wr{constructor(){Gr(this,"durationV",void 0),Gr(this,"delayV",void 0),Gr(this,"reduceMotionV",Cr.System),Gr(this,"randomizeDelay",!1),Gr(this,"callbackV",void 0),Gr(this,"build",()=>{throw new Error("[Reanimated] Unimplemented method in child class.")})}static duration(e){return this.createInstance().duration(e)}duration(e){return this.durationV=e,this}static delay(e){return this.createInstance().delay(e)}delay(e){return this.delayV=e,this}static withCallback(e){return this.createInstance().withCallback(e)}withCallback(e){return this.callbackV=e,this}static reduceMotion(e){return this.createInstance().reduceMotion(e)}reduceMotion(e){return this.reduceMotionV=e,this}static getDuration(){return 300}getDuration(){return this.durationV??300}static randomDelay(){return this.createInstance().randomDelay()}randomDelay(){return this.randomizeDelay=!0,this}getDelay(){return this.randomizeDelay?Math.random()*(this.delayV??1e3):this.delayV??0}getReduceMotion(){return this.reduceMotionV}getDelayFunction(){const e=this.randomizeDelay||this.delayV,n=this.getReduceMotion();return e?(r,i)=>{"worklet";return Y0(r,i,n)}:(r,i)=>{"worklet";return i.reduceMotion=ei(n),i}}static build(){return this.createInstance().build()}}Gr(wr,"createInstance",void 0);function Ut(t,e,n){return e=nb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nb(t){var e=rb(t,"string");return typeof e=="symbol"?e:e+""}function rb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class Z extends wr{constructor(...e){super(...e),Ut(this,"easingV",void 0),Ut(this,"rotateV",void 0),Ut(this,"type",void 0),Ut(this,"dampingV",void 0),Ut(this,"dampingRatioV",void 0),Ut(this,"massV",void 0),Ut(this,"stiffnessV",void 0),Ut(this,"overshootClampingV",void 0),Ut(this,"restDisplacementThresholdV",void 0),Ut(this,"restSpeedThresholdV",void 0),Ut(this,"initialValues",void 0)}static easing(e){return this.createInstance().easing(e)}easing(e){return this.easingV=e,this}static rotate(e){return this.createInstance().rotate(e)}rotate(e){return this.rotateV=e,this}static springify(e){return this.createInstance().springify(e)}springify(e){return this.durationV=e,this.type=Wg,this}static dampingRatio(e){return this.createInstance().dampingRatio(e)}dampingRatio(e){return this.dampingRatioV=e,this}static damping(e){return this.createInstance().damping(e)}damping(e){return this.dampingV=e,this}static mass(e){return this.createInstance().mass(e)}mass(e){return this.massV=e,this}static stiffness(e){return this.createInstance().stiffness(e)}stiffness(e){return this.stiffnessV=e,this}static overshootClamping(e){return this.createInstance().overshootClamping(e)}overshootClamping(e){return this.overshootClampingV=e,this}static restDisplacementThreshold(e){return this.createInstance().restDisplacementThreshold(e)}restDisplacementThreshold(e){return this.restDisplacementThresholdV=e,this}static restSpeedThreshold(e){return this.createInstance().restSpeedThreshold(e)}restSpeedThreshold(e){return this.restSpeedThresholdV=e,this}static withInitialValues(e){return this.createInstance().withInitialValues(e)}withInitialValues(e){return this.initialValues=e,this}getAnimationAndConfig(){const e=this.durationV,n=this.easingV,r=this.rotateV,i=this.type?this.type:j,a=this.dampingV,s=this.dampingRatioV,o=this.massV,l=this.stiffnessV,u=this.overshootClampingV,c=this.restDisplacementThresholdV,A=this.restSpeedThresholdV,d=i,f={};function p(h,v){h&&(f[v]=h)}return i===j&&p(n,"easing"),[{variableName:"damping",value:a},{variableName:"dampingRatio",value:s},{variableName:"mass",value:o},{variableName:"stiffness",value:l},{variableName:"overshootClamping",value:u},{variableName:"restDisplacementThreshold",value:c},{variableName:"restSpeedThreshold",value:A},{variableName:"duration",value:e},{variableName:"rotate",value:r}].forEach(({value:h,variableName:v})=>p(h,v)),[d,f]}}Ut(Z,"createInstance",void 0);function gi(t,e,n){return e=ib(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ib(t){var e=ab(t,"string");return typeof e=="symbol"?e:e+""}function ab(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class sb{constructor(e){gi(this,"durationV",void 0),gi(this,"delayV",void 0),gi(this,"reduceMotionV",Cr.System),gi(this,"callbackV",void 0),gi(this,"definitions",void 0),gi(this,"build",()=>{const n=this.delayV,r=this.getDelayFunction(),{keyframes:i,initialValues:a}=this.parseDefinitions(),s=this.callbackV;return()=>{"worklet";const o={},l=u=>{const c=i[u];if(c.length===0)return;const A=r(n,c.length===1?j(c[0].value,{duration:c[0].duration,easing:c[0].easing?c[0].easing:lt.linear}):Fe(...c.map(d=>j(d.value,{duration:d.duration,easing:d.easing?d.easing:lt.linear}))));u.includes("transform")?("transform"in o||(o.transform=[]),o.transform.push({[u.split(":")[1]]:A})):o[u]=A};return Object.keys(a).forEach(u=>{u.includes("transform")?a[u].forEach((c,A)=>{Object.keys(c).forEach(d=>{l($u(A,d))})}):l(u)}),{animations:o,initialValues:a,callback:s}}}),this.definitions=e}parseDefinitions(){const e={};if(this.definitions.from){if(this.definitions[0])throw new Error("[Reanimated] You cannot provide both keyframe 0 and 'from' as they both specified initial values.");this.definitions[0]=this.definitions.from,delete this.definitions.from}if(this.definitions.to){if(this.definitions[100])throw new Error("[Reanimated] You cannot provide both keyframe 100 and 'to' as they both specified values at the end of the animation.");this.definitions[100]=this.definitions.to,delete this.definitions.to}if(!this.definitions[0])throw new Error("[Reanimated] Please provide 0 or 'from' keyframe with initial state of your object.");const n=this.definitions[0];Object.keys(n).forEach(o=>{if(o==="transform"){if(!Array.isArray(n.transform))return;n.transform.forEach((l,u)=>{Object.keys(l).forEach(c=>{e[$u(u,c)]=[]})})}else e[o]=[]});const r=this.durationV?this.durationV:500,i=Array.from(Object.keys(this.definitions)),a=(o,l)=>{const u=l/100*r,c=e[o].reduce((A,d)=>A+d.duration,0);return u-c},s=({key:o,value:l,currentKeyPoint:u,easing:c})=>{if(!(o in e))throw new Error("[Reanimated] Keyframe can contain only that set of properties that were provide with initial values (keyframe 0 or 'from')");e[o].push({duration:a(o,u),value:l,easing:c})};return i.filter(o=>parseInt(o)!==0).sort((o,l)=>parseInt(o)-parseInt(l)).forEach(o=>{if(parseInt(o)<0||parseInt(o)>100)throw new Error("[Reanimated] Keyframe should be in between range 0 - 100.");const l=this.definitions[o],u=l.easing;delete l.easing;const c=(A,d)=>s({key:A,value:d,currentKeyPoint:parseInt(o),easing:u});Object.keys(l).forEach(A=>{if(A==="transform"){if(!Array.isArray(l.transform))return;l.transform.forEach((d,f)=>{Object.keys(d).forEach(p=>{c($u(f,p),d[p])})})}else c(A,l[A])})}),{initialValues:n,keyframes:e}}duration(e){return this.durationV=e,this}delay(e){return this.delayV=e,this}withCallback(e){return this.callbackV=e,this}reduceMotion(e){return this.reduceMotionV=e,this}getDelayFunction(){const e=this.delayV,n=this.reduceMotionV;return e?(r,i)=>{"worklet";return Y0(r,i,n)}:(r,i)=>{"worklet";return i.reduceMotion=ei(n),i}}}function $u(t,e){"worklet";return`${t}_transform:${e}`}const ob=sb;let mt=function(t){return t[t.ENTERING=1]="ENTERING",t[t.EXITING=2]="EXITING",t[t.LAYOUT=3]="LAYOUT",t[t.SHARED_ELEMENT_TRANSITION=4]="SHARED_ELEMENT_TRANSITION",t[t.SHARED_ELEMENT_TRANSITION_PROGRESS=5]="SHARED_ELEMENT_TRANSITION_PROGRESS",t}({}),lb=function(t){return t.ANIMATION="animation",t.PROGRESS_ANIMATION="progressAnimation",t}({});function Me(t,e,n){return e=ub(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ub(t){var e=cb(t,"string");return typeof e=="symbol"?e:e+""}function cb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class ol extends Z{constructor(...e){super(...e),Me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{initialValues:{transform:[{perspective:500},{rotateX:"90deg"},{translateY:-l.targetHeight}],...o},animations:{transform:[{perspective:500},{rotateX:n(a,r("0deg",i))},{translateY:n(a,r(0,i))}]},callback:s}}})}static createInstance(){return new ol}}Me(ol,"presetName","FlipInXUp");class ll extends Z{constructor(...e){super(...e),Me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{initialValues:{transform:[{perspective:500},{rotateY:"-90deg"},{translateX:-l.targetWidth}],...o},animations:{transform:[{perspective:n(a,r(500,i))},{rotateY:n(a,r("0deg",i))},{translateX:n(a,r(0,i))}]},callback:s}}})}static createInstance(){return new ll}}Me(ll,"presetName","FlipInYLeft");class ul extends Z{constructor(...e){super(...e),Me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{initialValues:{transform:[{perspective:500},{rotateX:"-90deg"},{translateY:l.targetHeight}],...o},animations:{transform:[{perspective:n(a,r(500,i))},{rotateX:n(a,r("0deg",i))},{translateY:n(a,r(0,i))}]},callback:s}}})}static createInstance(){return new ul}}Me(ul,"presetName","FlipInXDown");class cl extends Z{constructor(...e){super(...e),Me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{initialValues:{transform:[{perspective:500},{rotateY:"90deg"},{translateX:l.targetWidth}],...o},animations:{transform:[{perspective:n(a,r(500,i))},{rotateY:n(a,r("0deg",i))},{translateX:n(a,r(0,i))}]},callback:s}}})}static createInstance(){return new cl}}Me(cl,"presetName","FlipInYRight");class dl extends Z{constructor(...e){super(...e),Me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return()=>{"worklet";return{initialValues:{transform:[{perspective:500},{rotateX:"90deg"}],...o},animations:{transform:[{perspective:n(a,r(500,i))},{rotateX:n(a,r("0deg",i))}]},callback:s}}})}static createInstance(){return new dl}}Me(dl,"presetName","FlipInEasyX");class Al extends Z{constructor(...e){super(...e),Me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return()=>{"worklet";return{initialValues:{transform:[{perspective:500},{rotateY:"90deg"}],...o},animations:{transform:[{perspective:n(a,r(500,i))},{rotateY:n(a,r("0deg",i))}]},callback:s}}})}static createInstance(){return new Al}}Me(Al,"presetName","FlipInEasyY");class fl extends Z{constructor(...e){super(...e),Me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{initialValues:{transform:[{perspective:500},{rotateX:"0deg"},{translateY:0}],...o},animations:{transform:[{perspective:n(a,r(500,i))},{rotateX:n(a,r("90deg",i))},{translateY:n(a,r(-l.currentHeight,i))}]},callback:s}}})}static createInstance(){return new fl}}Me(fl,"presetName","FlipOutXUp");class hl extends Z{constructor(...e){super(...e),Me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{initialValues:{transform:[{perspective:500},{rotateY:"0deg"},{translateX:0}],...o},animations:{transform:[{perspective:n(a,r(500,i))},{rotateY:n(a,r("-90deg",i))},{translateX:n(a,r(-l.currentWidth,i))}]},callback:s}}})}static createInstance(){return new hl}}Me(hl,"presetName","FlipOutYLeft");class pl extends Z{constructor(...e){super(...e),Me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{initialValues:{transform:[{perspective:500},{rotateX:"0deg"},{translateY:0}],...o},animations:{transform:[{perspective:n(a,r(500,i))},{rotateX:n(a,r("-90deg",i))},{translateY:n(a,r(l.currentHeight,i))}]},callback:s}}})}static createInstance(){return new pl}}Me(pl,"presetName","FlipOutXDown");class vl extends Z{constructor(...e){super(...e),Me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{initialValues:{transform:[{perspective:500},{rotateY:"0deg"},{translateX:0}],...o},animations:{transform:[{perspective:n(a,r(500,i))},{rotateY:n(a,r("90deg",i))},{translateX:n(a,r(l.currentWidth,i))}]},callback:s}}})}static createInstance(){return new vl}}Me(vl,"presetName","FlipOutYRight");class gl extends Z{constructor(...e){super(...e),Me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return()=>{"worklet";return{initialValues:{transform:[{perspective:500},{rotateX:"0deg"}],...o},animations:{transform:[{perspective:n(a,r(500,i))},{rotateX:n(a,r("90deg",i))}]},callback:s}}})}static createInstance(){return new gl}}Me(gl,"presetName","FlipOutEasyX");class ml extends Z{constructor(...e){super(...e),Me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return()=>{"worklet";return{initialValues:{transform:[{perspective:500},{rotateY:"0deg"}],...o},animations:{transform:[{perspective:n(a,r(500,i))},{rotateY:n(a,r("90deg",i))}]},callback:s}}})}static createInstance(){return new ml}}Me(ml,"presetName","FlipOutEasyY");function Sr(t,e,n){return e=db(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function db(t){var e=Ab(t,"string");return typeof e=="symbol"?e:e+""}function Ab(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class Cl extends Z{constructor(...e){super(...e),Sr(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return()=>{"worklet";return{animations:{transform:[{scaleX:n(a,r(1,i))}]},initialValues:{transform:[{scaleX:0}],...o},callback:s}}})}static createInstance(){return new Cl}}Sr(Cl,"presetName","StretchInX");class El extends Z{constructor(...e){super(...e),Sr(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return()=>{"worklet";return{animations:{transform:[{scaleY:n(a,r(1,i))}]},initialValues:{transform:[{scaleY:0}],...o},callback:s}}})}static createInstance(){return new El}}Sr(El,"presetName","StretchInY");class xl extends Z{constructor(...e){super(...e),Sr(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return()=>{"worklet";return{animations:{transform:[{scaleX:n(a,r(0,i))}]},initialValues:{transform:[{scaleX:1}],...o},callback:s}}})}static createInstance(){return new xl}}Sr(xl,"presetName","StretchOutX");class yl extends Z{constructor(...e){super(...e),Sr(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return()=>{"worklet";return{animations:{transform:[{scaleY:n(a,r(0,i))}]},initialValues:{transform:[{scaleY:1}],...o},callback:s}}})}static createInstance(){return new yl}}Sr(yl,"presetName","StretchOutY");function Ye(t,e,n){return e=fb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fb(t){var e=hb(t,"string");return typeof e=="symbol"?e:e+""}function hb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}let q0=class rm extends Z{constructor(...e){super(...e),Ye(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.callbackV,s=this.initialValues,o=this.getDelay();return()=>{"worklet";return{animations:{opacity:n(o,r(1,i))},initialValues:{opacity:0,...s},callback:a}}})}static createInstance(){return new rm}};Ye(q0,"presetName","FadeIn");class Il extends Z{constructor(...e){super(...e),Ye(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.callbackV,s=this.initialValues,o=this.getDelay();return()=>{"worklet";return{animations:{opacity:n(o,r(1,i)),transform:[{translateX:n(o,r(0,i))}]},initialValues:{opacity:0,transform:[{translateX:25}],...s},callback:a}}})}static createInstance(){return new Il}}Ye(Il,"presetName","FadeInRight");class wl extends Z{constructor(...e){super(...e),Ye(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.callbackV,s=this.initialValues,o=this.getDelay();return()=>{"worklet";return{animations:{opacity:n(o,r(1,i)),transform:[{translateX:n(o,r(0,i))}]},initialValues:{opacity:0,transform:[{translateX:-25}],...s},callback:a}}})}static createInstance(){return new wl}}Ye(wl,"presetName","FadeInLeft");class Sl extends Z{constructor(...e){super(...e),Ye(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.callbackV,s=this.initialValues,o=this.getDelay();return()=>{"worklet";return{animations:{opacity:n(o,r(1,i)),transform:[{translateY:n(o,r(0,i))}]},initialValues:{opacity:0,transform:[{translateY:-25}],...s},callback:a}}})}static createInstance(){return new Sl}}Ye(Sl,"presetName","FadeInUp");class bl extends Z{constructor(...e){super(...e),Ye(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.callbackV,s=this.initialValues,o=this.getDelay();return()=>{"worklet";return{animations:{opacity:n(o,r(1,i)),transform:[{translateY:n(o,r(0,i))}]},initialValues:{opacity:0,transform:[{translateY:25}],...s},callback:a}}})}static createInstance(){return new bl}}Ye(bl,"presetName","FadeInDown");let j0=class im extends Z{constructor(...e){super(...e),Ye(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.callbackV,s=this.initialValues,o=this.getDelay();return()=>{"worklet";return{animations:{opacity:n(o,r(0,i))},initialValues:{opacity:1,...s},callback:a}}})}static createInstance(){return new im}};Ye(j0,"presetName","FadeOut");class _l extends Z{constructor(...e){super(...e),Ye(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.callbackV,s=this.initialValues,o=this.getDelay();return()=>{"worklet";return{animations:{opacity:n(o,r(0,i)),transform:[{translateX:n(o,r(25,i))}]},initialValues:{opacity:1,transform:[{translateX:0}],...s},callback:a}}})}static createInstance(){return new _l}}Ye(_l,"presetName","FadeOutRight");class Dl extends Z{constructor(...e){super(...e),Ye(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.callbackV,s=this.initialValues,o=this.getDelay();return()=>{"worklet";return{animations:{opacity:n(o,r(0,i)),transform:[{translateX:n(o,r(-25,i))}]},initialValues:{opacity:1,transform:[{translateX:0}],...s},callback:a}}})}static createInstance(){return new Dl}}Ye(Dl,"presetName","FadeOutLeft");class Ol extends Z{constructor(...e){super(...e),Ye(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.callbackV,s=this.initialValues,o=this.getDelay();return()=>{"worklet";return{animations:{opacity:n(o,r(0,i)),transform:[{translateY:n(o,r(-25,i))}]},initialValues:{opacity:1,transform:[{translateY:0}],...s},callback:a}}})}static createInstance(){return new Ol}}Ye(Ol,"presetName","FadeOutUp");class Tl extends Z{constructor(...e){super(...e),Ye(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.callbackV,s=this.initialValues,o=this.getDelay();return()=>{"worklet";return{animations:{opacity:n(o,r(0,i)),transform:[{translateY:n(o,r(25,i))}]},initialValues:{opacity:1,transform:[{translateY:0}],...s},callback:a}}})}static createInstance(){return new Tl}}Ye(Tl,"presetName","FadeOutDown");function dt(t,e,n){return e=pb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pb(t){var e=vb(t,"string");return typeof e=="symbol"?e:e+""}function vb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class Pl extends Z{constructor(...e){super(...e),dt(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{originX:n(a,r(l.targetOriginX,i))},initialValues:{originX:l.targetOriginX+l.windowWidth,...o},callback:s}}})}static createInstance(){return new Pl}}dt(Pl,"presetName","SlideInRight");class Rl extends Z{constructor(...e){super(...e),dt(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{originX:n(a,r(l.targetOriginX,i))},initialValues:{originX:l.targetOriginX-l.windowWidth,...o},callback:s}}})}static createInstance(){return new Rl}}dt(Rl,"presetName","SlideInLeft");class Fl extends Z{constructor(...e){super(...e),dt(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{originX:n(a,r(Math.max(l.currentOriginX+l.windowWidth,l.windowWidth),i))},initialValues:{originX:l.currentOriginX,...o},callback:s}}})}static createInstance(){return new Fl}}dt(Fl,"presetName","SlideOutRight");class Ml extends Z{constructor(...e){super(...e),dt(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{originX:n(a,r(Math.min(l.currentOriginX-l.windowWidth,-l.windowWidth),i))},initialValues:{originX:l.currentOriginX,...o},callback:s}}})}static createInstance(){return new Ml}}dt(Ml,"presetName","SlideOutLeft");class kl extends Z{constructor(...e){super(...e),dt(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{originY:n(a,r(l.targetOriginY,i))},initialValues:{originY:-l.windowHeight,...o},callback:s}}})}static createInstance(){return new kl}}dt(kl,"presetName","SlideInUp");class ta extends Z{constructor(...e){super(...e),dt(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{originY:n(a,r(l.targetOriginY,i))},initialValues:{originY:l.targetOriginY+l.windowHeight,...o},callback:s}}})}static createInstance(){return new ta}}dt(ta,"presetName","SlideInDown");class Bl extends Z{constructor(...e){super(...e),dt(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{originY:n(a,r(Math.min(l.currentOriginY-l.windowHeight,-l.windowHeight),i))},initialValues:{originY:l.currentOriginY,...o},callback:s}}})}static createInstance(){return new Bl}}dt(Bl,"presetName","SlideOutUp");class na extends Z{constructor(...e){super(...e),dt(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{originY:n(a,r(Math.max(l.currentOriginY+l.windowHeight,l.windowHeight),i))},initialValues:{originY:l.currentOriginY,...o},callback:s}}})}static createInstance(){return new na}}dt(na,"presetName","SlideOutDown");function me(t,e,n){return e=gb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gb(t){var e=mb(t,"string");return typeof e=="symbol"?e:e+""}function mb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}let am=class sm extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return()=>{"worklet";return{animations:{transform:[{scale:n(a,r(1,i))}]},initialValues:{transform:[{scale:0}],...o},callback:s}}})}static createInstance(){return new sm}};me(am,"presetName","ZoomIn");class Nl extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.rotateV?this.rotateV:"0.3",o=this.callbackV,l=this.initialValues;return()=>{"worklet";return{animations:{transform:[{scale:n(a,r(1,i))},{rotate:n(a,r(0,i))}]},initialValues:{transform:[{scale:0},{rotate:s}],...l},callback:o}}})}static createInstance(){return new Nl}}me(Nl,"presetName","ZoomInRotate");class Gl extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateX:n(a,r(0,i))},{scale:n(a,r(1,i))}]},initialValues:{transform:[{translateX:-l.windowWidth},{scale:0}],...o},callback:s}}})}static createInstance(){return new Gl}}me(Gl,"presetName","ZoomInLeft");class Ll extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateX:n(a,r(0,i))},{scale:n(a,r(1,i))}]},initialValues:{transform:[{translateX:l.windowWidth},{scale:0}],...o},callback:s}}})}static createInstance(){return new Ll}}me(Ll,"presetName","ZoomInRight");class Vl extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateY:n(a,r(0,i))},{scale:n(a,r(1,i))}]},initialValues:{transform:[{translateY:-l.windowHeight},{scale:0}],...o},callback:s}}})}static createInstance(){return new Vl}}me(Vl,"presetName","ZoomInUp");class Hl extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateY:n(a,r(0,i))},{scale:n(a,r(1,i))}]},initialValues:{transform:[{translateY:l.windowHeight},{scale:0}],...o},callback:s}}})}static createInstance(){return new Hl}}me(Hl,"presetName","ZoomInDown");class Ul extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateY:n(a,r(0,i))},{scale:n(a,r(1,i))}]},initialValues:{transform:[{translateY:-l.targetHeight},{scale:0}],...o},callback:s}}})}static createInstance(){return new Ul}}me(Ul,"presetName","ZoomInEasyUp");class Wl extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateY:n(a,r(0,i))},{scale:n(a,r(1,i))}]},initialValues:{transform:[{translateY:l.targetHeight},{scale:0}],...o},callback:s}}})}static createInstance(){return new Wl}}me(Wl,"presetName","ZoomInEasyDown");let om=class lm extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return()=>{"worklet";return{animations:{transform:[{scale:n(a,r(0,i))}]},initialValues:{transform:[{scale:1}],...o},callback:s}}})}static createInstance(){return new lm}};me(om,"presetName","ZoomOut");class Xl extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.rotateV?this.rotateV:"0.3",o=this.callbackV,l=this.initialValues;return()=>{"worklet";return{animations:{transform:[{scale:n(a,r(0,i))},{rotate:n(a,r(s,i))}]},initialValues:{transform:[{scale:1},{rotate:"0"}],...l},callback:o}}})}static createInstance(){return new Xl}}me(Xl,"presetName","ZoomOutRotate");class Yl extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateX:n(a,r(-l.windowWidth,i))},{scale:n(a,r(0,i))}]},initialValues:{transform:[{translateX:0},{scale:1}],...o},callback:s}}})}static createInstance(){return new Yl}}me(Yl,"presetName","ZoomOutLeft");class zl extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateX:n(a,r(l.windowWidth,i))},{scale:n(a,r(0,i))}]},initialValues:{transform:[{translateX:0},{scale:1}],...o},callback:s}}})}static createInstance(){return new zl}}me(zl,"presetName","ZoomOutRight");class Kl extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateY:n(a,r(-l.windowHeight,i))},{scale:n(a,r(0,i))}]},initialValues:{transform:[{translateY:0},{scale:1}],...o},callback:s}}})}static createInstance(){return new Kl}}me(Kl,"presetName","ZoomOutUp");class $l extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateY:n(a,r(l.windowHeight,i))},{scale:n(a,r(0,i))}]},initialValues:{transform:[{translateY:0},{scale:1}],...o},callback:s}}})}static createInstance(){return new $l}}me($l,"presetName","ZoomOutDown");class ql extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateY:n(a,r(-l.currentHeight,i))},{scale:n(a,r(0,i))}]},initialValues:{transform:[{translateY:0},{scale:1}],...o},callback:s}}})}static createInstance(){return new ql}}me(ql,"presetName","ZoomOutEasyUp");class jl extends Z{constructor(...e){super(...e),me(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateY:n(a,r(l.currentHeight,i))},{scale:n(a,r(0,i))}]},initialValues:{transform:[{translateY:0},{scale:1}],...o},callback:s}}})}static createInstance(){return new jl}}me(jl,"presetName","ZoomOutEasyDown");function ze(t,e,n){return e=Cb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cb(t){var e=Eb(t,"string");return typeof e=="symbol"?e:e+""}function Eb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}let um=class cm extends Z{constructor(...e){super(...e),ze(this,"build",()=>{const n=this.getDelayFunction(),r=this.getDelay(),i=this.getDuration(),a=this.callbackV,s=this.initialValues;return()=>{"worklet";return{animations:{transform:[{scale:n(r,Fe(j(1.2,{duration:i*.55}),j(.9,{duration:i*.15}),j(1.1,{duration:i*.15}),j(1,{duration:i*.15})))}]},initialValues:{transform:[{scale:0}],...s},callback:a}}})}static createInstance(){return new cm}static getDuration(){return 600}getDuration(){return this.durationV??600}};ze(um,"presetName","BounceIn");class Ql extends Z{constructor(...e){super(...e),ze(this,"build",()=>{const n=this.getDelayFunction(),r=this.getDelay(),i=this.getDuration(),a=this.callbackV,s=this.initialValues;return o=>{"worklet";return{animations:{transform:[{translateY:n(r,Fe(j(-20,{duration:i*.55}),j(10,{duration:i*.15}),j(-10,{duration:i*.15}),j(0,{duration:i*.15})))}]},initialValues:{transform:[{translateY:o.windowHeight}],...s},callback:a}}})}static createInstance(){return new Ql}static getDuration(){return 600}getDuration(){return this.durationV??600}}ze(Ql,"presetName","BounceInDown");class Zl extends Z{constructor(...e){super(...e),ze(this,"build",()=>{const n=this.getDelayFunction(),r=this.getDelay(),i=this.getDuration(),a=this.callbackV,s=this.initialValues;return o=>{"worklet";return{animations:{transform:[{translateY:n(r,Fe(j(20,{duration:i*.55}),j(-10,{duration:i*.15}),j(10,{duration:i*.15}),j(0,{duration:i*.15})))}]},initialValues:{transform:[{translateY:-o.windowHeight}],...s},callback:a}}})}static createInstance(){return new Zl}static getDuration(){return 600}getDuration(){return this.durationV??600}}ze(Zl,"presetName","BounceInUp");class Jl extends Z{constructor(...e){super(...e),ze(this,"build",()=>{const n=this.getDelayFunction(),r=this.getDelay(),i=this.getDuration(),a=this.callbackV,s=this.initialValues;return o=>{"worklet";return{animations:{transform:[{translateX:n(r,Fe(j(20,{duration:i*.55}),j(-10,{duration:i*.15}),j(10,{duration:i*.15}),j(0,{duration:i*.15})))}]},initialValues:{transform:[{translateX:-o.windowWidth}],...s},callback:a}}})}static createInstance(){return new Jl}static getDuration(){return 600}getDuration(){return this.durationV??600}}ze(Jl,"presetName","BounceInLeft");class eu extends Z{constructor(...e){super(...e),ze(this,"build",()=>{const n=this.getDelayFunction(),r=this.getDelay(),i=this.getDuration(),a=this.callbackV,s=this.initialValues;return o=>{"worklet";return{animations:{transform:[{translateX:n(r,Fe(j(-20,{duration:i*.55}),j(10,{duration:i*.15}),j(-10,{duration:i*.15}),j(0,{duration:i*.15})))}]},initialValues:{transform:[{translateX:o.windowWidth}],...s},callback:a}}})}static createInstance(){return new eu}static getDuration(){return 600}getDuration(){return this.durationV??600}}ze(eu,"presetName","BounceInRight");let dm=class Am extends Z{constructor(...e){super(...e),ze(this,"build",()=>{const n=this.getDelayFunction(),r=this.getDelay(),i=this.getDuration(),a=this.callbackV,s=this.initialValues;return()=>{"worklet";return{animations:{transform:[{scale:n(r,Fe(j(1.1,{duration:i*.15}),j(.9,{duration:i*.15}),j(1.2,{duration:i*.15}),j(0,{duration:i*.55})))}]},initialValues:{transform:[{scale:1}],...s},callback:a}}})}static createInstance(){return new Am}static getDuration(){return 600}getDuration(){return this.durationV??600}};ze(dm,"presetName","BounceOut");class tu extends Z{constructor(...e){super(...e),ze(this,"build",()=>{const n=this.getDelayFunction(),r=this.getDelay(),i=this.getDuration(),a=this.callbackV,s=this.initialValues;return o=>{"worklet";return{animations:{transform:[{translateY:n(r,Fe(j(-10,{duration:i*.15}),j(10,{duration:i*.15}),j(-20,{duration:i*.15}),j(o.windowHeight,{duration:i*.55})))}]},initialValues:{transform:[{translateY:0}],...s},callback:a}}})}static createInstance(){return new tu}static getDuration(){return 600}getDuration(){return this.durationV??600}}ze(tu,"presetName","BounceOutDown");class nu extends Z{constructor(...e){super(...e),ze(this,"build",()=>{const n=this.getDelayFunction(),r=this.getDelay(),i=this.getDuration(),a=this.callbackV,s=this.initialValues;return o=>{"worklet";return{animations:{transform:[{translateY:n(r,Fe(j(10,{duration:i*.15}),j(-10,{duration:i*.15}),j(20,{duration:i*.15}),j(-o.windowHeight,{duration:i*.55})))}]},initialValues:{transform:[{translateY:0}],...s},callback:a}}})}static createInstance(){return new nu}static getDuration(){return 600}getDuration(){return this.durationV??600}}ze(nu,"presetName","BounceOutUp");class ru extends Z{constructor(...e){super(...e),ze(this,"build",()=>{const n=this.getDelayFunction(),r=this.getDelay(),i=this.getDuration(),a=this.callbackV,s=this.initialValues;return o=>{"worklet";return{animations:{transform:[{translateX:n(r,Fe(j(10,{duration:i*.15}),j(-10,{duration:i*.15}),j(20,{duration:i*.15}),j(-o.windowWidth,{duration:i*.55})))}]},initialValues:{transform:[{translateX:0}],...s},callback:a}}})}static createInstance(){return new ru}static getDuration(){return 600}getDuration(){return this.durationV??600}}ze(ru,"presetName","BounceOutLeft");class iu extends Z{constructor(...e){super(...e),ze(this,"build",()=>{const n=this.getDelayFunction(),r=this.getDelay(),i=this.getDuration(),a=this.callbackV,s=this.initialValues;return o=>{"worklet";return{animations:{transform:[{translateX:n(r,Fe(j(-10,{duration:i*.15}),j(10,{duration:i*.15}),j(-20,{duration:i*.15}),j(o.windowWidth,{duration:i*.55})))}]},initialValues:{transform:[{translateX:0}],...s},callback:a}}})}static createInstance(){return new iu}static getDuration(){return 600}getDuration(){return this.durationV??600}}ze(iu,"presetName","BounceOutRight");function br(t,e,n){return e=xb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xb(t){var e=yb(t,"string");return typeof e=="symbol"?e:e+""}function yb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class au extends Z{constructor(...e){super(...e),br(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.getDuration(),o=this.callbackV,l=this.initialValues;return u=>{"worklet";return{animations:{opacity:n(a,j(1,{duration:s})),transform:[{translateX:n(a,r(0,{...i,duration:s*.7}))},{skewX:n(a,Fe(j("10deg",{duration:s*.7}),j("-5deg",{duration:s*.15}),j("0deg",{duration:s*.15})))}]},initialValues:{opacity:0,transform:[{translateX:u.windowWidth},{skewX:"-45deg"}],...l},callback:o}}})}static createInstance(){return new au}}br(au,"presetName","LightSpeedInRight");class su extends Z{constructor(...e){super(...e),br(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.getDuration(),o=this.callbackV,l=this.initialValues;return u=>{"worklet";return{animations:{opacity:n(a,j(1,{duration:s})),transform:[{translateX:n(a,r(0,{...i,duration:s*.7}))},{skewX:n(a,Fe(j("-10deg",{duration:s*.7}),j("5deg",{duration:s*.15}),j("0deg",{duration:s*.15})))}]},initialValues:{opacity:0,transform:[{translateX:-u.windowWidth},{skewX:"45deg"}],...l},callback:o}}})}static createInstance(){return new su}}br(su,"presetName","LightSpeedInLeft");class ou extends Z{constructor(...e){super(...e),br(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{opacity:n(a,r(0,i)),transform:[{translateX:n(a,r(l.windowWidth,i))},{skewX:n(a,r("-45deg",i))}]},initialValues:{opacity:1,transform:[{translateX:0},{skewX:"0deg"}],...o},callback:s}}})}static createInstance(){return new ou}}br(ou,"presetName","LightSpeedOutRight");class lu extends Z{constructor(...e){super(...e),br(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{opacity:n(a,r(0,i)),transform:[{translateX:n(a,r(-l.windowWidth,i))},{skewX:n(a,r("45deg",i))}]},initialValues:{opacity:1,transform:[{translateX:0},{skewX:"0deg"}],...o},callback:s}}})}static createInstance(){return new lu}}br(lu,"presetName","LightSpeedOutLeft");function uu(t,e,n){return e=Ib(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ib(t){var e=wb(t,"string");return typeof e=="symbol"?e:e+""}function wb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class cu extends Z{constructor(...e){super(...e),uu(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return()=>{"worklet";return{animations:{opacity:n(a,r(1,i)),transform:[{scale:n(a,r(1,i))},{rotate:n(a,r("0",i))}]},initialValues:{opacity:0,transform:[{scale:0},{rotate:"5"}],...o},callback:s}}})}static createInstance(){return new cu}}uu(cu,"presetName","PinwheelIn");class du extends Z{constructor(...e){super(...e),uu(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return()=>{"worklet";return{animations:{opacity:n(a,r(0,i)),transform:[{scale:n(a,r(0,i))},{rotate:n(a,r("5",i))}]},initialValues:{opacity:1,transform:[{scale:1},{rotate:"0"}],...o},callback:s}}})}static createInstance(){return new du}}uu(du,"presetName","PinwheelOut");function At(t,e,n){return e=Sb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sb(t){var e=bb(t,"string");return typeof e=="symbol"?e:e+""}function bb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class Au extends Z{constructor(...e){super(...e),At(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{opacity:n(a,r(1,i)),transform:[{rotate:n(a,r("0deg",i))},{translateX:n(a,r(0,i))},{translateY:n(a,r(0,i))}]},initialValues:{opacity:0,transform:[{rotate:"-90deg"},{translateX:l.targetWidth/2-l.targetHeight/2},{translateY:-(l.targetWidth/2-l.targetHeight/2)}],...o},callback:s}}})}static createInstance(){return new Au}}At(Au,"presetName","RotateInDownLeft");class fu extends Z{constructor(...e){super(...e),At(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{opacity:n(a,r(1,i)),transform:[{rotate:n(a,r("0deg",i))},{translateX:n(a,r(0,i))},{translateY:n(a,r(0,i))}]},initialValues:{opacity:0,transform:[{rotate:"90deg"},{translateX:-(l.targetWidth/2-l.targetHeight/2)},{translateY:-(l.targetWidth/2-l.targetHeight/2)}],...o},callback:s}}})}static createInstance(){return new fu}}At(fu,"presetName","RotateInDownRight");class hu extends Z{constructor(...e){super(...e),At(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{opacity:n(a,r(1,i)),transform:[{rotate:n(a,r("0deg",i))},{translateX:n(a,r(0,i))},{translateY:n(a,r(0,i))}]},initialValues:{opacity:0,transform:[{rotate:"90deg"},{translateX:l.targetWidth/2-l.targetHeight/2},{translateY:l.targetWidth/2-l.targetHeight/2}],...o},callback:s}}})}static createInstance(){return new hu}}At(hu,"presetName","RotateInUpLeft");class pu extends Z{constructor(...e){super(...e),At(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{opacity:n(a,r(1,i)),transform:[{rotate:n(a,r("0deg",i))},{translateX:n(a,r(0,i))},{translateY:n(a,r(0,i))}]},initialValues:{opacity:0,transform:[{rotate:"-90deg"},{translateX:-(l.targetWidth/2-l.targetHeight/2)},{translateY:l.targetWidth/2-l.targetHeight/2}],...o},callback:s}}})}static createInstance(){return new pu}}At(pu,"presetName","RotateInUpRight");class vu extends Z{constructor(...e){super(...e),At(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{opacity:n(a,r(0,i)),transform:[{rotate:n(a,r("90deg",i))},{translateX:n(a,r(l.currentWidth/2-l.currentHeight/2,i))},{translateY:n(a,r(l.currentWidth/2-l.currentHeight/2,i))}]},initialValues:{opacity:1,transform:[{rotate:"0deg"},{translateX:0},{translateY:0}],...o},callback:s}}})}static createInstance(){return new vu}}At(vu,"presetName","RotateOutDownLeft");class gu extends Z{constructor(...e){super(...e),At(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{opacity:n(a,r(0,i)),transform:[{rotate:n(a,r("-90deg",i))},{translateX:n(a,r(-(l.currentWidth/2-l.currentHeight/2),i))},{translateY:n(a,r(l.currentWidth/2-l.currentHeight/2,i))}]},initialValues:{opacity:1,transform:[{rotate:"0deg"},{translateX:0},{translateY:0}],...o},callback:s}}})}static createInstance(){return new gu}}At(gu,"presetName","RotateOutDownRight");class mu extends Z{constructor(...e){super(...e),At(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{opacity:n(a,r(0,i)),transform:[{rotate:n(a,r("-90deg",i))},{translateX:n(a,r(l.currentWidth/2-l.currentHeight/2,i))},{translateY:n(a,r(-(l.currentWidth/2-l.currentHeight/2),i))}]},initialValues:{opacity:1,transform:[{rotate:"0deg"},{translateX:0},{translateY:0}],...o},callback:s}}})}static createInstance(){return new mu}}At(mu,"presetName","RotateOutUpLeft");class Cu extends Z{constructor(...e){super(...e),At(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{opacity:n(a,r(0,i)),transform:[{rotate:n(a,r("90deg",i))},{translateX:n(a,r(-(l.currentWidth/2-l.currentHeight/2),i))},{translateY:n(a,r(-(l.currentWidth/2-l.currentHeight/2),i))}]},initialValues:{opacity:1,transform:[{rotate:"0deg"},{translateX:0},{translateY:0}],...o},callback:s}}})}static createInstance(){return new Cu}}At(Cu,"presetName","RotateOutUpRight");function _r(t,e,n){return e=_b(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _b(t){var e=Db(t,"string");return typeof e=="symbol"?e:e+""}function Db(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class Eu extends Z{constructor(...e){super(...e),_r(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateX:n(a,r(0,i))},{rotate:n(a,r("0deg",i))}]},initialValues:{transform:[{translateX:-l.windowWidth},{rotate:"-180deg"}],...o},callback:s}}})}static createInstance(){return new Eu}}_r(Eu,"presetName","RollInLeft");class xu extends Z{constructor(...e){super(...e),_r(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateX:n(a,r(0,i))},{rotate:n(a,r("0deg",i))}]},initialValues:{transform:[{translateX:l.windowWidth},{rotate:"180deg"}],...o},callback:s}}})}static createInstance(){return new xu}}_r(xu,"presetName","RollInRight");class yu extends Z{constructor(...e){super(...e),_r(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateX:n(a,r(-l.windowWidth,i))},{rotate:n(a,r("-180deg",i))}]},initialValues:{transform:[{translateX:0},{rotate:"0deg"}],...o},callback:s}}})}static createInstance(){return new yu}}_r(yu,"presetName","RollOutLeft");class Iu extends Z{constructor(...e){super(...e),_r(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.getDelay(),s=this.callbackV,o=this.initialValues;return l=>{"worklet";return{animations:{transform:[{translateX:n(a,r(l.windowWidth,i))},{rotate:n(a,r("180deg",i))}]},initialValues:{transform:[{translateX:0},{rotate:"0deg"}],...o},callback:s}}})}static createInstance(){return new Iu}}_r(Iu,"presetName","RollOutRight");function Ob(t,e,n){return e=Tb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tb(t){var e=Pb(t,"string");return typeof e=="symbol"?e:e+""}function Pb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}let fm=class hm extends Z{constructor(...e){super(...e),Ob(this,"build",()=>{const n=this.getDelayFunction(),[r,i]=this.getAnimationAndConfig(),a=this.callbackV,s=this.getDelay();return o=>{"worklet";return{initialValues:{originX:o.currentOriginX,originY:o.currentOriginY,width:o.currentWidth,height:o.currentHeight},animations:{originX:n(s,r(o.targetOriginX,i)),originY:n(s,r(o.targetOriginY,i)),width:n(s,r(o.targetWidth,i)),height:n(s,r(o.targetHeight,i))},callback:a}}})}static createInstance(){return new hm}};const Rb=fm;function Fb(t,e,n){return e=Mb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mb(t){var e=kb(t,"string");return typeof e=="symbol"?e:e+""}function kb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}let Bb=class pm extends wr{constructor(...e){super(...e),Fb(this,"build",()=>{const n=this.getDelayFunction(),r=this.callbackV,i=this.getDelay(),a=this.durationV??500;return s=>{"worklet";return{initialValues:{opacity:1,originX:s.currentOriginX,originY:s.currentOriginY,width:s.currentWidth,height:s.currentHeight},animations:{opacity:n(i,Fe(j(0,{duration:a}),j(1,{duration:a}))),originX:n(i+a,j(s.targetOriginX,{duration:50})),originY:n(i+a,j(s.targetOriginY,{duration:50})),width:n(i+a,j(s.targetWidth,{duration:50})),height:n(i+a,j(s.targetHeight,{duration:50}))},callback:r}}})}static createInstance(){return new pm}};function Pf(t,e,n){return e=Nb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nb(t){var e=Gb(t,"string");return typeof e=="symbol"?e:e+""}function Gb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}let Lb=class Dd extends wr{constructor(...e){super(...e),Pf(this,"reversed",!1),Pf(this,"build",()=>{const n=this.getDelayFunction(),r=this.callbackV,i=this.getDelay(),s={duration:(this.durationV??500)/2},o=this.reversed;return l=>{"worklet";return{initialValues:{originX:l.currentOriginX,originY:l.currentOriginY,width:l.currentWidth,height:l.currentHeight},animations:{originX:n(i,Fe(j(o?l.currentOriginX:l.targetOriginX,s),j(l.targetOriginX,s))),originY:n(i,Fe(j(o?l.targetOriginY:l.currentOriginY,s),j(l.targetOriginY,s))),width:n(i,Fe(j(o?l.currentWidth:l.targetWidth,s),j(l.targetWidth,s))),height:n(i,Fe(j(o?l.targetHeight:l.currentHeight,s),j(l.targetHeight,s)))},callback:r}}})}static createInstance(){return new Dd}static reverse(){return Dd.createInstance().reverse()}reverse(){return this.reversed=!this.reversed,this}};function Vb(t,e,n){return e=Hb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hb(t){var e=Ub(t,"string");return typeof e=="symbol"?e:e+""}function Ub(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class Q0 extends wr{constructor(...e){super(...e),Vb(this,"build",()=>{const n=this.getDelayFunction(),r=this.callbackV,i=this.getDelay(),a=(this.durationV??300)/2,s={duration:a*2};return o=>{"worklet";const l=Math.max(Math.abs(o.targetOriginX-o.currentOriginX),Math.abs(o.targetOriginY-o.currentOriginY));return{initialValues:{originX:o.currentOriginX,originY:o.currentOriginY,width:o.currentWidth,height:o.currentHeight},animations:{originX:n(i,j(o.targetOriginX,s)),originY:n(i,Fe(j(Math.min(o.targetOriginY,o.currentOriginY)-l,{duration:a,easing:lt.out(lt.exp)}),j(o.targetOriginY,{...s,duration:a,easing:lt.bounce}))),width:n(i,j(o.targetWidth,s)),height:n(i,j(o.targetHeight,s))},callback:r}}})}static createInstance(){return new Q0}}function ha(t,e,n){return e=Wb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wb(t){var e=Xb(t,"string");return typeof e=="symbol"?e:e+""}function Xb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class Z0 extends wr{constructor(...e){super(...e),ha(this,"easingXV",lt.in(lt.ease)),ha(this,"easingYV",lt.out(lt.ease)),ha(this,"easingWidthV",lt.in(lt.exp)),ha(this,"easingHeightV",lt.out(lt.exp)),ha(this,"build",()=>{const n=this.getDelayFunction(),r=this.callbackV,i=this.getDelay(),a=this.durationV??300,s={easingX:this.easingXV,easingY:this.easingYV,easingWidth:this.easingWidthV,easingHeight:this.easingHeightV};return o=>{"worklet";return{initialValues:{originX:o.currentOriginX,originY:o.currentOriginY,width:o.currentWidth,height:o.currentHeight},animations:{originX:n(i,j(o.targetOriginX,{duration:a,easing:s.easingX})),originY:n(i,j(o.targetOriginY,{duration:a,easing:s.easingY})),width:n(i,j(o.targetWidth,{duration:a,easing:s.easingWidth})),height:n(i,j(o.targetHeight,{duration:a,easing:s.easingHeight}))},callback:r}}})}static createInstance(){return new Z0}static easingX(e){return this.createInstance().easingX(e)}easingX(e){return this.easingXV=e,this}static easingY(e){return this.createInstance().easingY(e)}easingY(e){return this.easingYV=e,this}static easingWidth(e){return this.createInstance().easingWidth(e)}easingWidth(e){return this.easingWidthV=e,this}static easingHeight(e){return this.createInstance().easingHeight(e)}easingHeight(e){return this.easingHeightV=e,this}}function qu(t,e,n){return e=Yb(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yb(t){var e=zb(t,"string");return typeof e=="symbol"?e:e+""}function zb(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}class wu extends wr{constructor(...e){super(...e),qu(this,"enteringV",q0),qu(this,"exitingV",j0),qu(this,"build",()=>{const n=this.getDelayFunction(),r=this.callbackV,i=this.getDelay(),a=this.enteringV.build(),s=this.exitingV.build(),o=this.exitingV.getDuration();return l=>{"worklet";const u=a(l),c=s(l),A={transform:[]};for(const f of Object.keys(c.animations))if(f==="transform"){if(!Array.isArray(c.animations.transform))continue;c.animations.transform.forEach((p,h)=>{for(const v of Object.keys(p))A.transform.push({[v]:n(i,Fe(p[v],j(c.initialValues.transform?c.initialValues.transform[h][v]:0,{duration:0})))})})}else{const p=u.animations[f]!==void 0?[c.animations[f],j(u.initialValues[f],{duration:0}),u.animations[f]]:[c.animations[f],j(Object.keys(l).includes(f)?l[f]:c.initialValues[f],{duration:0})];A[f]=n(i,Fe(...p))}for(const f of Object.keys(u.animations))if(f==="transform"){if(!Array.isArray(u.animations.transform))continue;u.animations.transform.forEach((p,h)=>{for(const v of Object.keys(p))A.transform.push({[v]:n(i+o,Fe(j(u.initialValues.transform?u.initialValues.transform[h][v]:0,{duration:o}),p[v]))})})}else{if(A[f]!==void 0)continue;A[f]=n(i,Fe(j(u.initialValues[f],{duration:0}),u.animations[f]))}const d=(Array.isArray(c.initialValues.transform)?c.initialValues.transform:[]).concat((Array.isArray(u.animations.transform)?u.animations.transform:[]).map(f=>{const p=Object.keys(f);if((p==null?void 0:p.length)<1)return console.error("[Reanimated]: ${value} is not a valid Transform object"),f;const h=p[0],v=f[h].current;return typeof v=="string"?v.includes("deg")?{[h]:"0deg"}:{[h]:"0"}:h.includes("translate")?{[h]:0}:{[h]:1}}));return{initialValues:{...c.initialValues,originX:l.currentOriginX,originY:l.currentOriginY,width:l.currentWidth,height:l.currentHeight,transform:d},animations:{originX:n(i+o,j(l.targetOriginX,{duration:o})),originY:n(i+o,j(l.targetOriginY,{duration:o})),width:n(i+o,j(l.targetWidth,{duration:o})),height:n(i+o,j(l.targetHeight,{duration:o})),...A},callback:r}}})}static createInstance(){return new wu}static entering(e){return this.createInstance().entering(e)}entering(e){return this.enteringV=e,this}static exiting(e){return this.createInstance().exiting(e)}exiting(e){return this.exitingV=e,this}}function Kb(t,e){return wu.entering(e).exiting(t)}class Ar{custom(){return this}progressAnimation(){return this}duration(){return this}reduceMotion(){return this}defaultTransitionType(){return this}registerTransition(){}unregisterTransition(){}getReduceMotion(){return Cr.System}static custom(){return new Ar}static duration(){return new Ar}static progressAnimation(){return new Ar}static defaultTransitionType(){return new Ar}static reduceMotion(){return new Ar}}function $b(){return"It looks like you might be using shared value's .value inside reanimated inline style. If you want a component to update when shared value changes you should use the shared value directly instead of its current state represented by `.value`. See documentation here: https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary/#animations-in-inline-styling"}function qb(){}function jb(){}function Qb(){}function Zb(){}function Jb(){}const vm=b.createContext(null);function e_(t){const e=b.useRef(t.shouldSkip);return b.useEffect(()=>{e.current=!1},[e]),xe.createElement(vm.Provider,{value:e},t.children)}class Su extends b.Component{getMaybeWrappedChildren(){return b.Children.count(this.props.children)>1&&this.props.skipExiting?b.Children.map(this.props.children,e=>xe.createElement(Su,{skipExiting:!0},e)):this.props.children}setShouldAnimateExiting(){if(b.Children.count(this.props.children)===1){const e=zt(this);e&&LI(e,!this.props.skipExiting)}}componentWillUnmount(){this.props.skipExiting!==void 0&&this.setShouldAnimateExiting()}render(){const e=this.getMaybeWrappedChildren();return this.props.skipEntering===void 0?e:xe.createElement(e_,{shouldSkip:this.props.skipEntering},e)}}var t_=function(t,e,n,r,i,a,s,o){if(!t){var l;if(e===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,a,s,o],c=0;l=new Error(e.replace(/%s/g,function(){return u[c++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},n_=t_;const Oo=En(n_);var r_=null;let To=[];function i_(t){To.push(t),To.length===1&&queueMicrotask(a_)}function a_(){Gn(s_)(To),To=[]}function s_(t){"worklet";global._removeFromPropsRegistry(t)}function ju(t,e,n){return(i=>"build"in t&&typeof t.build=="function")()?t.build():t}class o_{addOnJSPropsChangeListener(e){}removeOnJSPropsChangeListener(e){}}function J0(t){if(!Array.isArray(t))return[t];const e=[],n=r=>{r.forEach(i=>{Array.isArray(i)?n(i):e.push(i)})};return n(t),e}const Vr=(t,e)=>typeof e=="function"||typeof e=="object"?e==null?!1:t in e:!1;function l_({getForwardedRef:t,setLocalRef:e}){return function(r){const i=t();e(r),typeof i=="function"?i(r):typeof i=="object"&&i!=null&&(i.current=r)}}function Qu(t,e,n){return e=u_(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u_(t){var e=c_(t,"string");return typeof e=="symbol"?e:e+""}function c_(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}const d_=Ke();function eA(t){return Array.isArray(t)?t.some(e=>gm(e)):!1}function A_(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!0;for(const n of Object.keys(t))if(t[n]!==e[n])return!0;return!1}function Po(t){"worklet";const e={};for(const[n,r]of Object.entries(t))Er(r)?e[n]=r.value:Array.isArray(r)?e[n]=r.map(i=>Po(i)):typeof r=="object"?e[n]=Po(r):e[n]=r;return e}function f_(t){const e={};for(const n in t){const r=t[n];n==="style"?J0(t.style??[]).forEach(a=>{if(a)for(const[s,o]of Object.entries(a))(Er(o)||s==="transform"&&eA(o))&&(e[s]=o)}):Er(r)&&(e[n]=r)}return e}function gm(t){return t?Object.keys(t).some(e=>{const n=t[e];return Er(n)||e==="transform"&&eA(n)}):!1}function h_(t,e){if(e)return Po(t);const n={};for(const[r,i]of Object.entries(t))!Er(i)&&!(r==="transform"&&eA(i))&&(n[r]=i);return n}class p_{constructor(){Qu(this,"_inlinePropsViewDescriptors",null),Qu(this,"_inlinePropsMapperId",null),Qu(this,"_inlineProps",{})}attachInlineProps(e,n){const r=f_(e.props);if(A_(r,this._inlineProps)){if(!this._inlinePropsViewDescriptors){this._inlinePropsViewDescriptors=Kg();const{viewTag:l,viewName:u,shadowNodeWrapper:c,viewConfig:A}=n;Object.keys(r).length&&A&&nm(A),this._inlinePropsViewDescriptors.add({tag:l,name:u,shadowNodeWrapper:c})}const a=this._inlinePropsViewDescriptors.shareableViewDescriptors,s=d_?{items:new Set([e])}:void 0,o=()=>{"worklet";const l=Po(r);Ln(a,l,s)};this._inlineProps=r,this._inlinePropsMapperId&&Li(this._inlinePropsMapperId),this._inlinePropsMapperId=null,Object.keys(r).length&&(this._inlinePropsMapperId=ds(o,Object.values(r)))}}detachInlineProps(){this._inlinePropsMapperId&&Li(this._inlinePropsMapperId)}}function Zu(t,e,n){return e=v_(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function v_(t){var e=g_(t,"string");return typeof e=="symbol"?e:e+""}function g_(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Rf(){}class m_{constructor(){Zu(this,"_initialStyle",{}),Zu(this,"_previousProps",null),Zu(this,"_requiresNewInitials",!0)}filterNonAnimatedProps(e){const n=e.props;this._maybePrepareForNewInitials(n);const r={};for(const i in n){const a=n[i];if(i==="style"){const s=n.style,o=J0(s??[]);this._requiresNewInitials&&(this._initialStyle={});const l=o.map(u=>{if(u&&u.viewDescriptors){var c;return(c=u.viewsRef)===null||c===void 0||c.add(e),this._requiresNewInitials&&(this._initialStyle={...u.initial.value,...this._initialStyle,...W0(u.initial.updater)}),this._initialStyle}else return gm(u)?h_(u,this._requiresNewInitials):u});r[i]=ve.flatten(l)}else if(i==="animatedProps"){const s=n.animatedProps;s.initial!==void 0&&Object.keys(s.initial.value).forEach(o=>{var l,u;r[o]=(l=s.initial)===null||l===void 0?void 0:l.value[o],(u=s.viewsRef)===null||u===void 0||u.add(e)})}else Vr("workletEventHandler",a)&&a.workletEventHandler instanceof dr?a.workletEventHandler.eventNames.length>0?a.workletEventHandler.eventNames.forEach(s=>{r[s]=Vr("listeners",a.workletEventHandler)?a.workletEventHandler.listeners[s]:Rf}):r[i]=Rf:Er(a)?this._requiresNewInitials&&(r[i]=a.value):(i!=="onGestureHandlerStateChange"||!Qa())&&(r[i]=a)}return this._requiresNewInitials=!1,r}_maybePrepareForNewInitials(e){this._previousProps&&e.style&&(this._requiresNewInitials=!z0(this._previousProps,e)),this._previousProps=e}}function J(t){let e=`@keyframes ${t.name} { `;for(const[n,r]of Object.entries(t.style)){e+=`${n}% { `;for(const[i,a]of Object.entries(r)){if(i!=="transform"){e+=`${i}: ${a}; `;continue}e+="transform:",a.forEach(s=>{for(const[o,l]of Object.entries(s))e+=` ${o}(${l})`}),e+="; "}e+="} "}return e+="} ",e}const dn=.6,rn={BounceIn:{name:"BounceIn",style:{0:{transform:[{scale:0}]},55:{transform:[{scale:1.2}]},70:{transform:[{scale:.9}]},85:{transform:[{scale:1.1}]},100:{transform:[{scale:1}]}},duration:dn},BounceInRight:{name:"BounceInRight",style:{0:{transform:[{translateX:"100vw"}]},55:{transform:[{translateX:"-20px"}]},70:{transform:[{translateX:"10px"}]},85:{transform:[{translateX:"-10px"}]},100:{transform:[{translateX:"0px"}]}},duration:dn},BounceInLeft:{name:"BounceInLeft",style:{0:{transform:[{translateX:"-100vw"}]},55:{transform:[{translateX:"20px"}]},70:{transform:[{translateX:"-10px"}]},85:{transform:[{translateX:"10px"}]},100:{transform:[{translateX:"0px"}]}},duration:dn},BounceInUp:{name:"BounceInUp",style:{0:{transform:[{translateY:"-100vh"}]},55:{transform:[{translateY:"20px"}]},70:{transform:[{translateY:"-10px"}]},85:{transform:[{translateY:"10px"}]},100:{transform:[{translateY:"0px"}]}},duration:dn},BounceInDown:{name:"BounceInDown",style:{0:{transform:[{translateY:"100vh"}]},55:{transform:[{translateY:"-20px"}]},70:{transform:[{translateY:"10px"}]},85:{transform:[{translateY:"-10px"}]},100:{transform:[{translateY:"0px"}]}},duration:dn}},an={BounceOut:{name:"BounceOut",style:{15:{transform:[{scale:1.1}]},30:{transform:[{scale:.9}]},45:{transform:[{scale:1.2}]},100:{transform:[{scale:.1}]}},duration:dn},BounceOutRight:{name:"BounceOutRight",style:{15:{transform:[{translateX:"-10px"}]},30:{transform:[{translateX:"10px"}]},45:{transform:[{translateX:"-20px"}]},100:{transform:[{translateX:"100vh"}]}},duration:dn},BounceOutLeft:{name:"BounceOutLeft",style:{15:{transform:[{translateX:"10px"}]},30:{transform:[{translateX:"-10px"}]},45:{transform:[{translateX:"20px"}]},100:{transform:[{translateX:"-100vh"}]}},duration:dn},BounceOutUp:{name:"BounceOutUp",style:{15:{transform:[{translateY:"10px"}]},30:{transform:[{translateY:"-10px"}]},45:{transform:[{translateY:"20px"}]},100:{transform:[{translateY:"-100vh"}]}},duration:dn},BounceOutDown:{name:"BounceOutDown",style:{15:{transform:[{translateY:"-10px"}]},30:{transform:[{translateY:"10px"}]},45:{transform:[{translateY:"-20px"}]},100:{transform:[{translateY:"100vh"}]}},duration:dn}},C_={BounceIn:{style:J(rn.BounceIn),duration:rn.BounceIn.duration},BounceInRight:{style:J(rn.BounceInRight),duration:rn.BounceInRight.duration},BounceInLeft:{style:J(rn.BounceInLeft),duration:rn.BounceInLeft.duration},BounceInUp:{style:J(rn.BounceInUp),duration:rn.BounceInUp.duration},BounceInDown:{style:J(rn.BounceInDown),duration:rn.BounceInDown.duration}},E_={BounceOut:{style:J(an.BounceOut),duration:an.BounceOut.duration},BounceOutRight:{style:J(an.BounceOutRight),duration:an.BounceOutRight.duration},BounceOutLeft:{style:J(an.BounceOutLeft),duration:an.BounceOutLeft.duration},BounceOutUp:{style:J(an.BounceOutUp),duration:an.BounceOutUp.duration},BounceOutDown:{style:J(an.BounceOutDown),duration:an.BounceOutDown.duration}},An=.3,sn={FadeIn:{name:"FadeIn",style:{0:{opacity:0}},duration:An},FadeInRight:{name:"FadeInRight",style:{0:{opacity:0,transform:[{translateX:"25px"}]}},duration:An},FadeInLeft:{name:"FadeInLeft",style:{0:{opacity:0,transform:[{translateX:"-25px"}]}},duration:An},FadeInUp:{name:"FadeInUp",style:{0:{opacity:0,transform:[{translateY:"-25px"}]}},duration:An},FadeInDown:{name:"FadeInDown",style:{0:{opacity:0,transform:[{translateY:"25px"}]}},duration:An}},on={FadeOut:{name:"FadeOut",style:{100:{opacity:0}},duration:An},FadeOutRight:{name:"FadeOutRight",style:{100:{opacity:0,transform:[{translateX:"25px"}]}},duration:An},FadeOutLeft:{name:"FadeOutLeft",style:{100:{opacity:0,transform:[{translateX:"-25px"}]}},duration:An},FadeOutUp:{name:"FadeOutUp",style:{100:{opacity:0,transform:[{translateY:"-25px"}]}},duration:An},FadeOutDown:{name:"FadeOutDown",style:{100:{opacity:0,transform:[{translateY:"25px"}]}},duration:An}},x_={FadeIn:{style:J(sn.FadeIn),duration:sn.FadeIn.duration},FadeInRight:{style:J(sn.FadeInRight),duration:sn.FadeInRight.duration},FadeInLeft:{style:J(sn.FadeInLeft),duration:sn.FadeInLeft.duration},FadeInUp:{style:J(sn.FadeInUp),duration:sn.FadeInUp.duration},FadeInDown:{style:J(sn.FadeInDown),duration:sn.FadeInDown.duration}},y_={FadeOut:{style:J(on.FadeOut),duration:on.FadeOut.duration},FadeOutRight:{style:J(on.FadeOutRight),duration:on.FadeOutRight.duration},FadeOutLeft:{style:J(on.FadeOutLeft),duration:on.FadeOutLeft.duration},FadeOutUp:{style:J(on.FadeOutUp),duration:on.FadeOutUp.duration},FadeOutDown:{style:J(on.FadeOutDown),duration:on.FadeOutDown.duration}},Xt=.3,Lt={FlipInYRight:{name:"FlipInYRight",style:{0:{transform:[{perspective:"500px",rotateY:"90deg",translateX:"100%"}]},100:{transform:[{perspective:"500px",rotateY:"0deg",translateX:"0%"}]}},duration:Xt},FlipInYLeft:{name:"FlipInYLeft",style:{0:{transform:[{perspective:"500px",rotateY:"-90deg",translateX:"-100%"}]},100:{transform:[{perspective:"500px",rotateY:"0deg",translateX:"0%"}]}},duration:Xt},FlipInXUp:{name:"FlipInXUp",style:{0:{transform:[{perspective:"500px",rotateX:"90deg",translateY:"-100%"}]},100:{transform:[{perspective:"500px",rotateX:"0deg",translateY:"0%"}]}},duration:Xt},FlipInXDown:{name:"FlipInXDown",style:{0:{transform:[{perspective:"500px",rotateX:"-90deg",translateY:"100%"}]},100:{transform:[{perspective:"500px",rotateX:"0deg",translateY:"0%"}]}},duration:Xt},FlipInEasyX:{name:"FlipInEasyX",style:{0:{transform:[{perspective:"500px",rotateX:"90deg"}]},100:{transform:[{perspective:"500px",rotateX:"0deg"}]}},duration:Xt},FlipInEasyY:{name:"FlipInEasyY",style:{0:{transform:[{perspective:"500px",rotateY:"90deg"}]},100:{transform:[{perspective:"500px",rotateY:"0deg"}]}},duration:Xt}},Vt={FlipOutYRight:{name:"FlipOutYRight",style:{0:{transform:[{perspective:"500px",rotateY:"0deg",translateX:"0%"}]},100:{transform:[{perspective:"500px",rotateY:"90deg",translateX:"100%"}]}},duration:Xt},FlipOutYLeft:{name:"FlipOutYLeft",style:{0:{transform:[{perspective:"500px",rotateY:"0deg",translateX:"0%"}]},100:{transform:[{perspective:"500px",rotateY:"-90deg",translateX:"-100%"}]}},duration:Xt},FlipOutXUp:{name:"FlipOutXUp",style:{0:{transform:[{perspective:"500px",rotateX:"0deg",translateY:"0%"}]},100:{transform:[{perspective:"500px",rotateX:"90deg",translateY:"-100%"}]}},duration:Xt},FlipOutXDown:{name:"FlipOutXDown",style:{0:{transform:[{perspective:"500px",rotateX:"0deg",translateY:"0%"}]},100:{transform:[{perspective:"500px",rotateX:"-90deg",translateY:"100%"}]}},duration:Xt},FlipOutEasyX:{name:"FlipOutEasyX",style:{0:{transform:[{perspective:"500px",rotateX:"0deg"}]},100:{transform:[{perspective:"500px",rotateX:"90deg"}]}},duration:Xt},FlipOutEasyY:{name:"FlipOutEasyY",style:{0:{transform:[{perspective:"500px",rotateY:"0deg"}]},100:{transform:[{perspective:"500px",rotateY:"90deg"}]}},duration:Xt}},I_={FlipInYRight:{style:J(Lt.FlipInYRight),duration:Lt.FlipInYRight.duration},FlipInYLeft:{style:J(Lt.FlipInYLeft),duration:Lt.FlipInYLeft.duration},FlipInXUp:{style:J(Lt.FlipInXUp),duration:Lt.FlipInXUp.duration},FlipInXDown:{style:J(Lt.FlipInXDown),duration:Lt.FlipInXDown.duration},FlipInEasyX:{style:J(Lt.FlipInEasyX),duration:Lt.FlipInEasyX.duration},FlipInEasyY:{style:J(Lt.FlipInEasyY),duration:Lt.FlipInEasyY.duration}},w_={FlipOutYRight:{style:J(Vt.FlipOutYRight),duration:Vt.FlipOutYRight.duration},FlipOutYLeft:{style:J(Vt.FlipOutYLeft),duration:Vt.FlipOutYLeft.duration},FlipOutXUp:{style:J(Vt.FlipOutXUp),duration:Vt.FlipOutXUp.duration},FlipOutXDown:{style:J(Vt.FlipOutXDown),duration:Vt.FlipOutXDown.duration},FlipOutEasyX:{style:J(Vt.FlipOutEasyX),duration:Vt.FlipOutEasyX.duration},FlipOutEasyY:{style:J(Vt.FlipOutEasyY),duration:Vt.FlipOutEasyY.duration}},Ro=.3,Ds={LightSpeedInRight:{name:"LightSpeedInRight",style:{0:{transform:[{translateX:"100vw",skewX:"-45deg"}],opacity:0},70:{transform:[{skewX:"10deg"}]},85:{transform:[{skewX:"-5deg"}]},100:{transform:[{skewX:"0deg"}]}},duration:Ro},LightSpeedInLeft:{name:"LightSpeedInLeft",style:{0:{transform:[{translateX:"-100vw",skewX:"45deg"}],opacity:0},70:{transform:[{skewX:"-10deg"}]},85:{transform:[{skewX:"5deg"}]},100:{transform:[{skewX:"0deg"}]}},duration:Ro}},Os={LightSpeedOutRight:{name:"LightSpeedOutRight",style:{100:{transform:[{translateX:"100vw",skewX:"-45deg"}],opacity:0}},duration:Ro},LightSpeedOutLeft:{name:"LightSpeedOutLeft",style:{100:{transform:[{translateX:"-100vw",skew:"45deg"}],opacity:0}},duration:Ro}},S_={LightSpeedInRight:{style:J(Ds.LightSpeedInRight),duration:Ds.LightSpeedInRight.duration},LightSpeedInLeft:{style:J(Ds.LightSpeedInLeft),duration:Ds.LightSpeedInLeft.duration}},b_={LightSpeedOutRight:{style:J(Os.LightSpeedOutRight),duration:Os.LightSpeedOutRight.duration},LightSpeedOutLeft:{style:J(Os.LightSpeedOutLeft),duration:Os.LightSpeedOutLeft.duration}},Ff=.3,Ts={PinwheelIn:{name:"PinwheelIn",style:{0:{transform:[{rotate:"5rad",scale:0}],opacity:0},100:{transform:[{rotate:"0deg",scale:1}],opacity:1}},duration:Ff},PinwheelOut:{name:"PinwheelOut",style:{100:{transform:[{rotate:"5rad",scale:0}],opacity:0}},duration:Ff}},__={PinwheelIn:{style:J(Ts.PinwheelIn),duration:Ts.PinwheelIn.duration},PinwheelOut:{style:J(Ts.PinwheelOut),duration:Ts.PinwheelOut.duration}},Fo=.3,Ps={RollInLeft:{name:"RollInLeft",style:{0:{transform:[{translateX:"-100vw",rotate:"-180deg"}]}},duration:Fo},RollInRight:{name:"RollInRight",style:{0:{transform:[{translateX:"100vw",rotate:"180deg"}]}},duration:Fo}},Rs={RollOutLeft:{name:"RollOutLeft",style:{100:{transform:[{translateX:"-100vw",rotate:"-180deg"}]}},duration:Fo},RollOutRight:{name:"RollOutRight",style:{100:{transform:[{translateX:"100vw",rotate:"180deg"}]}},duration:Fo}},D_={RollInLeft:{style:J(Ps.RollInLeft),duration:Ps.RollInLeft.duration},RollInRight:{style:J(Ps.RollInRight),duration:Ps.RollInRight.duration}},O_={RollOutLeft:{style:J(Rs.RollOutLeft),duration:Rs.RollOutLeft.duration},RollOutRight:{style:J(Rs.RollOutRight),duration:Rs.RollOutRight.duration}},hr=.3,nr={RotateInDownLeft:{name:"RotateInDownLeft",style:{0:{transform:[{translateX:"-50%",translateY:"-250%",rotate:"-90deg"}],opacity:0}},duration:hr},RotateInDownRight:{name:"RotateInDownRight",style:{0:{transform:[{translateX:"40%",translateY:"-250%",rotate:"90deg"}],opacity:0}},duration:hr},RotateInUpLeft:{name:"RotateInUpLeft",style:{0:{transform:[{translateX:"-40%",translateY:"250%",rotate:"90deg"}],opacity:0}},duration:hr},RotateInUpRight:{name:"RotateInUpRight",style:{0:{transform:[{translateX:"40%",translateY:"250%",rotate:"-90deg"}],opacity:0}},duration:hr}},rr={RotateOutDownLeft:{name:"RotateOutDownLeft",style:{100:{transform:[{translateX:"-40%",translateY:"250%",rotate:"90deg"}],opacity:0}},duration:hr},RotateOutDownRight:{name:"RotateOutDownRight",style:{100:{transform:[{translateX:"40%",translateY:"250%",rotate:"-90deg"}],opacity:0}},duration:hr},RotateOutUpLeft:{name:"RotateOutUpLeft",style:{100:{transform:[{translateX:"-40%",translateY:"-250%",rotate:"-90deg"}],opacity:0}},duration:hr},RotateOutUpRight:{name:"RotateOutUpRight",style:{100:{transform:[{translateX:"40%",translateY:"-250%",rotate:"90deg"}],opacity:0}},duration:hr}},T_={RotateInDownLeft:{style:J(nr.RotateInDownLeft),duration:nr.RotateInDownLeft.duration},RotateInDownRight:{style:J(nr.RotateInDownRight),duration:nr.RotateInDownRight.duration},RotateInUpLeft:{style:J(nr.RotateInUpLeft),duration:nr.RotateInUpLeft.duration},RotateInUpRight:{style:J(nr.RotateInUpRight),duration:nr.RotateInUpRight.duration}},P_={RotateOutDownLeft:{style:J(rr.RotateOutDownLeft),duration:rr.RotateOutDownLeft.duration},RotateOutDownRight:{style:J(rr.RotateOutDownRight),duration:rr.RotateOutDownRight.duration},RotateOutUpLeft:{style:J(rr.RotateOutUpLeft),duration:rr.RotateOutUpLeft.duration},RotateOutUpRight:{style:J(rr.RotateOutUpRight),duration:rr.RotateOutUpRight.duration}},pr=.3,ir={SlideInRight:{name:"SlideInRight",style:{0:{transform:[{translateX:"100vw"}]},100:{transform:[{translateX:"0%"}]}},duration:pr},SlideInLeft:{name:"SlideInLeft",style:{0:{transform:[{translateX:"-100vw"}]},100:{transform:[{translateX:"0%"}]}},duration:pr},SlideInUp:{name:"SlideInUp",style:{0:{transform:[{translateY:"-100vh"}]},100:{transform:[{translateY:"0%"}]}},duration:pr},SlideInDown:{name:"SlideInDown",style:{0:{transform:[{translateY:"100vh"}]},100:{transform:[{translateY:"0%"}]}},duration:pr}},ar={SlideOutRight:{name:"SlideOutRight",style:{0:{transform:[{translateX:"0%"}]},100:{transform:[{translateX:"100vw"}]}},duration:pr},SlideOutLeft:{name:"SlideOutLeft",style:{0:{transform:[{translateX:"0%"}]},100:{transform:[{translateX:"-100vw"}]}},duration:pr},SlideOutUp:{name:"SlideOutUp",style:{0:{transform:[{translateY:"0%"}]},100:{transform:[{translateY:"-100vh"}]}},duration:pr},SlideOutDown:{name:"SlideOutDown",style:{0:{transform:[{translateY:"0%"}]},100:{transform:[{translateY:"100vh"}]}},duration:pr}},R_={SlideInRight:{style:J(ir.SlideInRight),duration:ir.SlideInRight.duration},SlideInLeft:{style:J(ir.SlideInLeft),duration:ir.SlideInLeft.duration},SlideInUp:{style:J(ir.SlideInUp),duration:ir.SlideInUp.duration},SlideInDown:{style:J(ir.SlideInDown),duration:ir.SlideInDown.duration}},F_={SlideOutRight:{style:J(ar.SlideOutRight),duration:ar.SlideOutRight.duration},SlideOutLeft:{style:J(ar.SlideOutLeft),duration:ar.SlideOutLeft.duration},SlideOutUp:{style:J(ar.SlideOutUp),duration:ar.SlideOutUp.duration},SlideOutDown:{style:J(ar.SlideOutDown),duration:ar.SlideOutDown.duration}},Mo=.3,Fs={StretchInX:{name:"StretchInX",style:{0:{transform:[{scaleX:0}]},100:{transform:[{scaleX:1}]}},duration:Mo},StretchInY:{name:"StretchInY",style:{0:{transform:[{scaleY:0}]},100:{transform:[{scaleY:1}]}},duration:Mo}},Ms={StretchOutX:{name:"StretchOutX",style:{0:{transform:[{scaleX:1}]},100:{transform:[{scaleX:0}]}},duration:Mo},StretchOutY:{name:"StretchOutY",style:{0:{transform:[{scaleY:1}]},100:{transform:[{scaleY:0}]}},duration:Mo}},M_={StretchInX:{style:J(Fs.StretchInX),duration:Fs.StretchInX.duration},StretchInY:{style:J(Fs.StretchInY),duration:Fs.StretchInY.duration}},k_={StretchOutX:{style:J(Ms.StretchOutX),duration:Ms.StretchOutX.duration},StretchOutY:{style:J(Ms.StretchOutY),duration:Ms.StretchOutY.duration}},ut=.3,at={ZoomIn:{name:"ZoomIn",style:{0:{transform:[{scale:0}]},100:{transform:[{scale:1}]}},duration:ut},ZoomInRotate:{name:"ZoomInRotate",style:{0:{transform:[{scale:0,rotate:"0.3rad"}]},100:{transform:[{scale:1,rotate:"0deg"}]}},duration:ut},ZoomInRight:{name:"ZoomInRight",style:{0:{transform:[{translateX:"100vw",scale:0}]},100:{transform:[{translateX:"0%",scale:1}]}},duration:ut},ZoomInLeft:{name:"ZoomInLeft",style:{0:{transform:[{translateX:"-100vw",scale:0}]},100:{transform:[{translateX:"0%",scale:1}]}},duration:ut},ZoomInUp:{name:"ZoomInUp",style:{0:{transform:[{translateY:"-100vh",scale:0}]},100:{transform:[{translateY:"0%",scale:1}]}},duration:ut},ZoomInDown:{name:"ZoomInDown",style:{0:{transform:[{translateY:"100vh",scale:0}]},100:{transform:[{translateY:"0%",scale:1}]}},duration:ut},ZoomInEasyUp:{name:"ZoomInEasyUp",style:{0:{transform:[{translateY:"-100%",scale:0}]},100:{transform:[{translateY:"0%",scale:1}]}},duration:ut},ZoomInEasyDown:{name:"ZoomInEasyDown",style:{0:{transform:[{translateY:"100%",scale:0}]},100:{transform:[{translateY:"0%",scale:1}]}},duration:ut}},st={ZoomOut:{name:"ZoomOut",style:{100:{transform:[{scale:0}]}},duration:ut},ZoomOutRotate:{name:"ZoomOutRotate",style:{100:{transform:[{scale:0,rotate:"0.3rad"}]}},duration:ut},ZoomOutRight:{name:"ZoomOutRight",style:{100:{transform:[{translateX:"100vw",scale:0}]}},duration:ut},ZoomOutLeft:{name:"ZoomOutLeft",style:{100:{transform:[{translateX:"-100vw",scale:1}]}},duration:ut},ZoomOutUp:{name:"ZoomOutUp",style:{100:{transform:[{translateY:"-100vh",scale:0}]}},duration:ut},ZoomOutDown:{name:"ZoomOutDown",style:{100:{transform:[{translateY:"100vh",scale:0}]}},duration:ut},ZoomOutEasyUp:{name:"ZoomOutEasyUp",style:{100:{transform:[{translateY:"-100%",scale:0}]}},duration:ut},ZoomOutEasyDown:{name:"ZoomOutEasyDown",style:{100:{transform:[{translateY:"100%",scale:0}]}},duration:ut}},B_={ZoomIn:{style:J(at.ZoomIn),duration:at.ZoomIn.duration},ZoomInRotate:{style:J(at.ZoomInRotate),duration:at.ZoomInRotate.duration},ZoomInRight:{style:J(at.ZoomInRight),duration:at.ZoomInRight.duration},ZoomInLeft:{style:J(at.ZoomInLeft),duration:at.ZoomInLeft.duration},ZoomInUp:{style:J(at.ZoomInUp),duration:at.ZoomInUp.duration},ZoomInDown:{style:J(at.ZoomInDown),duration:at.ZoomInDown.duration},ZoomInEasyUp:{style:J(at.ZoomInEasyUp),duration:at.ZoomInEasyUp.duration},ZoomInEasyDown:{style:J(at.ZoomInEasyDown),duration:at.ZoomInEasyDown.duration}},N_={ZoomOut:{style:J(st.ZoomOut),duration:st.ZoomOut.duration},ZoomOutRotate:{style:J(st.ZoomOutRotate),duration:st.ZoomOutRotate.duration},ZoomOutRight:{style:J(st.ZoomOutRight),duration:st.ZoomOutRight.duration},ZoomOutLeft:{style:J(st.ZoomOutLeft),duration:st.ZoomOutLeft.duration},ZoomOutUp:{style:J(st.ZoomOutUp),duration:st.ZoomOutUp.duration},ZoomOutDown:{style:J(st.ZoomOutDown),duration:st.ZoomOutDown.duration},ZoomOutEasyUp:{style:J(st.ZoomOutEasyUp),duration:st.ZoomOutEasyUp.duration},ZoomOutEasyDown:{style:J(st.ZoomOutEasyDown),duration:st.ZoomOutEasyDown.duration}};let Hr=function(t){return t[t.LINEAR=0]="LINEAR",t[t.SEQUENCED=1]="SEQUENCED",t[t.FADING=2]="FADING",t}({});const Ja={...x_,...y_,...C_,...E_,...I_,...w_,...M_,...k_,...B_,...N_,...R_,...F_,...S_,...b_,...__,...T_,...P_,...D_,...O_},Mf={linear:[0,0,1,1],ease:[.42,0,1,1],quad:[.11,0,.5,0],cubic:[.32,0,.67,0],sin:[.12,0,.39,0],circle:[.55,0,1,.45],exp:[.7,0,.84,0]};function G_(t,e){const{translateX:n,translateY:r,scaleX:i,scaleY:a}=e;return{name:t,style:{0:{transform:[{translateX:`${n}px`,translateY:`${r}px`,scale:`${i},${a}`}]}},duration:300}}function L_(t,e){const{translateX:n,translateY:r,scaleX:i,scaleY:a,reversed:s}=e,o=s?`1,${i}`:`${a},1`;return{name:t,style:{0:{transform:[{translateX:`${n}px`,translateY:`${r}px`,scale:`${i},${a}`}]},50:{transform:[{translateX:s?`${n}px`:"0px",translateY:s?"0px":`${r}px`,scale:o}]},100:{transform:[{translateX:"0px",translateY:"0px",scale:"1,1"}]}},duration:300}}function V_(t,e){const{translateX:n,translateY:r,scaleX:i,scaleY:a}=e;return{name:t,style:{0:{opacity:1,transform:[{translateX:`${n}px`,translateY:`${r}px`,scale:`${i},${a}`}]},20:{opacity:0,transform:[{translateX:`${n}px`,translateY:`${r}px`,scale:`${i},${a}`}]},60:{opacity:0,transform:[{translateX:"0px",translateY:"0px",scale:"1,1"}]},100:{opacity:1,transform:[{translateX:"0px",translateY:"0px",scale:"1,1"}]}},duration:300}}const ko=new WeakMap;function H_(t,e){tl({visibility:"initial"},{_component:t})}function U_(t,e,n){const r=e.getBoundingClientRect(),i=parseInt(getComputedStyle(e).borderTopWidth),a=parseInt(getComputedStyle(e).borderLeftWidth),s=t.getBoundingClientRect();s.top!==n.top&&(t.style.top=`${n.top-r.top-i}px`),s.left!==n.left&&(t.style.left=`${n.left-r.left-a}px`)}function mm(t,e){t.style.transform="",t.style.position="absolute",t.style.top=`${e.top}px`,t.style.left=`${e.left}px`,t.style.width=`${e.width}px`,t.style.height=`${e.height}px`,t.style.margin="0px",t.parentElement&&U_(t,t.parentElement,e)}const kf="ReanimatedPredefinedWebAnimationsStyle",tA="ReanimatedCustomWebAnimationsStyle",Ur=new Map,vr=[];let Bf=!1;function W_(){if(!ea()||document.getElementById(kf)!==null)return;const t=document.createElement("style");t.id=kf,t.onload=()=>{if(!t.sheet){console.error("[Reanimated] Failed to create layout animations stylesheet.");return}for(const n in Ja)t.sheet.insertRule(Ja[n].style)};const e=document.createElement("style");e.id=tA,document.head.appendChild(t),document.head.appendChild(e)}function X_(t,e){if(!ea())return;const n=document.getElementById(tA);if(!n.sheet){console.error("[Reanimated] Failed to create layout animations stylesheet.");return}n.sheet.insertRule(e,0),vr.unshift(t),Ur.set(t,0);for(let r=1;r<vr.length;++r){const i=vr[r],a=Ur.get(i);if(a===void 0)throw new Error("[Reanimated] Failed to obtain animation index.");Ur.set(vr[r],a+1)}}function Y_(t){var e;if(!ea())return;const n=document.getElementById(tA),r=Ur.get(t);if(r===void 0)throw new Error("[Reanimated] Failed to obtain animation index.");(e=n.sheet)===null||e===void 0||e.deleteRule(r),vr.splice(r,1),Ur.delete(t);for(let i=r;i<vr.length;++i){const a=vr[i],s=Ur.get(a);if(s===void 0)throw new Error("[Reanimated] Failed to obtain animation index.");Ur.set(vr[i],s-1)}}const z_=1.25,K_=16,$_=10;function q_(t,e){const n=Math.max(e*z_*1e3,e+K_*$_);setTimeout(()=>Y_(t),n)}function j_(t,e){const n=ko.get(t);if(!n){console.error("[Reanimated] Failed to obtain snapshot.");return}t.removedAfterAnimation=!0,e.appendChild(t),mm(t,n);const r=t.onanimationend;t.onanimationend=function(i){e.removeChild(t),r==null||r.call(this,i)}}function Cm(t,e){if(!(t instanceof HTMLElement))return;t.reanimatedDummy&&t.removedAfterAnimation===void 0&&j_(t,e);const n=Array.from(t.children);for(let r=0;r<n.length;++r)Cm(n[r],e)}function Q_(t){var e;let n="__reactFiber";for(const r of Object.keys(t))if(r.startsWith("__reactFiber")){n=r;break}return((e=t[n])===null||e===void 0||(e=e.child)===null||e===void 0||(e=e.memoizedProps)===null||e===void 0?void 0:e.navigation)!==void 0}function Z_(){if(Bf||!ea())return;Bf=!0,new MutationObserver(e=>{const n=e[e.length-1];if(!Q_(n.target))for(let r=0;r<n.removedNodes.length;++r)Cm(n.removedNodes[r],n.target)}).observe(document.body,{childList:!0,subtree:!0})}function J_(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}let eD=0;function tD(){return`REA${eD++}`}function nD(t,e){const n=tD();let r;switch(t){case Hr.LINEAR:r=G_(n,e);break;case Hr.SEQUENCED:r=L_(n,e);break;case Hr.FADING:r=V_(n,e);break}const i=J(r);return X_(n,i),n}function rD(t){const e=t.easingV&&t.easingV.name in Mf?t.easingV.name:"linear";return`cubic-bezier(${Mf[e].toString()})`}function Nf(t=1e3){return Math.floor(Math.random()*(t+1))/1e3}function iD(t){const e=t.randomizeDelay,n=e?Nf():0;return t.delayV?e?Nf(t.delayV):t.delayV/1e3:n}function ks(t){if(!t.reduceMotionV)return Io();switch(t.reduceMotionV){case Cr.Never:return!1;case Cr.Always:return!0;default:return Io()}}function aD(t,e,n){const r=e?.3:Ja[n].duration;return t.durationV!==void 0?t.durationV/1e3:r}function sD(t){return t.callbackV!==void 0?t.callbackV:null}function oD(t){return!!t.reversed}function lD(t,e,n,r){return{animationName:t,animationType:e,duration:aD(n,e===mt.LAYOUT,r),delay:iD(n),easing:rD(n),callback:sD(n),reversed:oD(n)}}function Gf(t){const e=t.getBoundingClientRect(),n={top:e.top,left:e.left,width:e.width,height:e.height,scrollOffsets:Em(t)};ko.set(t,n)}function nA(t,e){const{animationName:n,duration:r,delay:i,easing:a}=e;t.style.animationName=n,t.style.animationDuration=`${r}s`,t.style.animationDelay=`${i}s`,t.style.animationTimingFunction=a,t.onanimationend=()=>{var o;(o=e.callback)===null||o===void 0||o.call(e,!0),t.removeEventListener("animationcancel",s)};const s=()=>{var o;(o=e.callback)===null||o===void 0||o.call(e,!1),t.removeEventListener("animationcancel",s)};t.onanimationstart=()=>{e.animationType===mt.ENTERING&&tl({visibility:"initial"},{_component:t}),t.addEventListener("animationcancel",s)},n in Ja||q_(n,r+i)}function uD(t,e,n){const{animationName:r}=e;let i;switch(r){case"LinearTransition":i=Hr.LINEAR;break;case"SequencedTransition":i=Hr.SEQUENCED;break;case"FadingTransition":i=Hr.FADING;break;default:i=Hr.LINEAR;break}e.animationName=nD(i,n),nA(t,e)}function Em(t){let e=t;const n={scrollTopOffset:0,scrollLeftOffset:0};for(;e;)e.scrollTop!==0&&n.scrollTopOffset===0&&(n.scrollTopOffset=e.scrollTop),e.scrollLeft!==0&&n.scrollLeftOffset===0&&(n.scrollLeftOffset=e.scrollLeft),e=e.parentElement;return n}function cD(t,e){const n=t.offsetParent,r=t.cloneNode();for(r.reanimatedDummy=!0,t.style.animationName="",t.style.visibility="hidden";t.firstChild;)r.appendChild(t.firstChild);nA(r,e),n==null||n.appendChild(r);const i=ko.get(t),a=Em(t),s=a.scrollTopOffset,o=i.scrollOffsets.scrollTopOffset;s!==o&&(i.top+=o-s);const l=a.scrollLeftOffset,u=i.scrollOffsets.scrollLeftOffset;l!==u&&(i.left+=u-l),ko.set(r,i),mm(r,i);const c=r.onanimationend;r.onanimationend=function(A){n!=null&&n.contains(r)&&(r.removedAfterAnimation=!0,n.removeChild(r)),c==null||c.call(this,A)},r.addEventListener("animationcancel",()=>{n!=null&&n.contains(r)&&(r.removedAfterAnimation=!0,n.removeChild(r))})}function dD(t,e){return t===mt.ENTERING?e.entering:t===mt.EXITING?e.exiting:t===mt.LAYOUT?e.layout:null}function AD(t,e){return t in Ja||e?!1:(console.warn("[Reanimated] Couldn't load entering/exiting animation. Current version supports only predefined animations with modifiers: duration, delay, easing, randomizeDelay, withCallback, reducedMotion."),!0)}function fD(t,e,n,r){switch(t){case mt.ENTERING:nA(n,e);break;case mt.LAYOUT:r.reversed=e.reversed,uD(n,e,r);break;case mt.EXITING:cD(n,e);break}}function hD(t,e){const n=dD(e,t);if(!n)return null;const r=e===mt.LAYOUT,i=typeof n=="function"?n.presetName:n.constructor.presetName;return AD(i,r)?null:lD(i,e,n,i)}function Od(t,e,n,r){const i=hD(t,n);i?fD(n,i,e,r):H_(e)}function pD(t,e,n){if(!t.layout)return;const r=e.getBoundingClientRect();if(J_(r,n))return;const i={translateX:n.x-r.x,translateY:n.y-r.y,scaleX:n.width/r.width,scaleY:n.height/r.height,reversed:!1};Od(t,e,mt.LAYOUT,i)}function vD(){const t=[],e=[];return{update(n,r){r?e.push(n):t.push(n),t.length+e.length===1&&setImmediate(this.flush)},flush(){GI(t.concat(e)),t.length=0,e.length=0}}}let Ya;if(Ke())Ya=()=>{};else{const t=vD();Ya=(e,n,r,i,a)=>t.update({viewTag:e,type:n,config:r?He(r):void 0,sharedTransitionTag:i},a)}let Td=t=>t._nativeTag!==void 0&&t.__nativeTag!==null?(Td=Ju,Ju(t)):t.__nativeTag!==void 0&&t.__nativeTag!==null?(Td=Lf,Lf(t)):Ju(t);function Ju(t){var e;return{viewName:t==null||(e=t.viewConfig)===null||e===void 0?void 0:e.uiViewClassName,viewTag:t==null?void 0:t._nativeTag,viewConfig:t==null?void 0:t.viewConfig}}function Lf(t){var e;return{viewName:t==null||(e=t._viewConfig)===null||e===void 0?void 0:e.uiViewClassName,viewTag:t==null?void 0:t.__nativeTag,viewConfig:t==null?void 0:t._viewConfig}}function Bo(){return Bo=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Bo.apply(this,arguments)}function ot(t,e,n){return e=gD(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gD(t){var e=mD(t,"string");return typeof e=="symbol"?e:e+""}function mD(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}const jt=Nt();jt&&W_();function CD(t){return t.filter(e=>e==null?void 0:e.viewDescriptors)}function ai(t,e){Oo(typeof t!="function"||t.prototype&&t.prototype.isReactComponent,`Looks like you're passing a function component \`${t.name}\` to \`createAnimatedComponent\` function which supports only class components. Please wrap your function component with \`React.forwardRef()\` or use a class component instead.`);class n extends xe.Component{constructor(i){super(i),ot(this,"_styles",null),ot(this,"_animatedProps",void 0),ot(this,"_componentViewTag",-1),ot(this,"_eventViewTag",-1),ot(this,"_isFirstRender",!0),ot(this,"jestAnimatedStyle",{value:{}}),ot(this,"_component",null),ot(this,"_sharedElementTransition",null),ot(this,"_jsPropsUpdater",new o_),ot(this,"_InlinePropManager",new p_),ot(this,"_PropsFilter",new m_),ot(this,"_viewInfo",void 0),ot(this,"context",void 0),ot(this,"_setComponentRef",l_({getForwardedRef:()=>this.props.forwardedRef,setLocalRef:a=>{const s=jt?a:zt(a);this._componentViewTag=s;const{layout:o,entering:l,exiting:u,sharedTransitionTag:c}=this.props;if((o||l||u||c)&&s!=null){var A;Ke()||Rg(!0,!1),c&&this._configureSharedTransition();const f=(A=this.context)===null||A===void 0?void 0:A.current;if(l&&!f){var d;Ya(s,mt.ENTERING,ju(l,(d=this.props)===null||d===void 0?void 0:d.style,n.displayName))}}a!==this._component&&(this._component=a)}})),_t()&&(this.jestAnimatedStyle={value:{}})}componentDidMount(){if(this._setComponentViewTag(),this._setEventViewTag(),this._attachNativeEvents(),this._jsPropsUpdater.addOnJSPropsChangeListener(this),this._attachAnimatedStyles(),this._InlinePropManager.attachInlineProps(this,this._getViewInfo()),this.props.layout&&this._configureLayoutTransition(),jt){if(this.props.exiting&&Gf(this._component),!this.props.entering||ks(this.props.entering)){this._isFirstRender=!1;return}Od(this.props,this._component,mt.ENTERING)}this._isFirstRender=!1}componentWillUnmount(){var i;this._detachNativeEvents(),this._jsPropsUpdater.removeOnJSPropsChangeListener(this),this._detachStyles(),this._InlinePropManager.detachInlineProps(),this.props.sharedTransitionTag&&this._configureSharedTransition(!0),(i=this._sharedElementTransition)===null||i===void 0||i.unregisterTransition(this._componentViewTag,!0);const a=this.props.exiting;if(jt&&this._component&&this.props.exiting&&!ks(this.props.exiting))Z_(),Od(this.props,this._component,mt.EXITING);else if(a&&!("getReduceMotion"in a&&typeof a.getReduceMotion=="function"?ei(a.getReduceMotion()):ei())){var s;Ya(this._componentViewTag,mt.EXITING,ju(a,(s=this.props)===null||s===void 0?void 0:s.style,n.displayName))}}_setComponentViewTag(){this._componentViewTag=this._getViewInfo().viewTag}_setEventViewTag(){const i=this._component;if(i.getScrollableNode){const a=i.getScrollableNode();this._eventViewTag=zt(a)??-1}else this._eventViewTag=zt(e!=null&&e.setNativeProps?this:i)??-1}_attachNativeEvents(){for(const i in this.props){const a=this.props[i];Vr("workletEventHandler",a)&&a.workletEventHandler instanceof dr&&a.workletEventHandler.registerForEvents(this._eventViewTag,i)}}_detachNativeEvents(){for(const i in this.props){const a=this.props[i];Vr("workletEventHandler",a)&&a.workletEventHandler instanceof dr&&a.workletEventHandler.unregisterFromEvents(this._eventViewTag)}}_detachStyles(){if(jt&&this._styles!==null)for(const a of this._styles)a.viewsRef.remove(this);else if(this._componentViewTag!==-1&&this._styles!==null){var i;for(const a of this._styles)a.viewDescriptors.remove(this._componentViewTag);(i=this.props.animatedProps)!==null&&i!==void 0&&i.viewDescriptors&&this.props.animatedProps.viewDescriptors.remove(this._componentViewTag),gn()&&i_(this._componentViewTag)}}_updateNativeEvents(i){for(const a in i){const s=i[a];if(Vr("workletEventHandler",s)&&s.workletEventHandler instanceof dr){const o=this.props[a];o?Vr("workletEventHandler",o)&&o.workletEventHandler instanceof dr&&o.workletEventHandler!==s.workletEventHandler&&(s.workletEventHandler.unregisterFromEvents(this._eventViewTag),o.workletEventHandler.registerForEvents(this._eventViewTag)):s.workletEventHandler.unregisterFromEvents(this._eventViewTag)}}for(const a in this.props){const s=this.props[a];Vr("workletEventHandler",s)&&s.workletEventHandler instanceof dr&&!i[a]&&s.workletEventHandler.registerForEvents(this._eventViewTag)}}_updateFromNative(i){if(e!=null&&e.setNativeProps)e.setNativeProps(this._component,i);else{var a,s;(a=this._component)===null||a===void 0||(s=a.setNativeProps)===null||s===void 0||s.call(a,i)}}_getViewInfo(){var i,a,s;if(this._viewInfo!==void 0)return this._viewInfo;let o,l,u=null,c;const A=(i=this._component)!==null&&i!==void 0&&i.getAnimatableRef?(a=(s=this._component).getAnimatableRef)===null||a===void 0?void 0:a.call(s):this;if(jt)o=this._component,l=null,u=null,c=null;else{const d=r_.RNRenderer.findHostInstance_DEPRECATED(A);if(!d)throw new Error("[Reanimated] Cannot find host instance for this component. Maybe it renders nothing?");const f=Td(d);o=f.viewTag,l=f.viewName,c=f.viewConfig,u=gn()?qg():null}return this._viewInfo={viewTag:o,viewName:l,shadowNodeWrapper:u,viewConfig:c},this._viewInfo}_attachAnimatedStyles(){var i,a;const s=this.props.style?CD(J0(this.props.style)):[],o=this._styles;this._styles=s;const l=this._animatedProps;this._animatedProps=this.props.animatedProps;const{viewTag:u,viewName:c,shadowNodeWrapper:A,viewConfig:d}=this._getViewInfo();if((((i=this.props.animatedProps)===null||i===void 0?void 0:i.viewDescriptors)||s.length)&&d&&nm(d),this._componentViewTag=u,o&&!(s.length===1&&o.length===1&&s[0]===o[0]))for(const h of o)s.some(E=>E===h)||h.viewDescriptors.remove(u);s.forEach(p=>{p.viewDescriptors.add({tag:u,name:c,shadowNodeWrapper:A}),_t()&&(this.jestAnimatedStyle.value={...this.jestAnimatedStyle.value,...p.initial.value},p.jestAnimatedStyle.current=this.jestAnimatedStyle)}),l&&l!==this.props.animatedProps&&l.viewDescriptors.remove(u),(a=this.props.animatedProps)!==null&&a!==void 0&&a.viewDescriptors&&this.props.animatedProps.viewDescriptors.add({tag:u,name:c,shadowNodeWrapper:A})}componentDidUpdate(i,a,s){const o=this.props.layout,l=i.layout;o!==l&&this._configureLayoutTransition(),(this.props.sharedTransitionTag!==void 0||i.sharedTransitionTag!==void 0)&&this._configureSharedTransition(),this._updateNativeEvents(i),this._attachAnimatedStyles(),this._InlinePropManager.attachInlineProps(this,this._getViewInfo()),jt&&this.props.exiting&&Gf(this._component),jt&&s!==null&&this.props.layout&&!ks(this.props.layout)&&pD(this.props,this._component,s)}_configureLayoutTransition(){const i=this.props.layout?ju(this.props.layout,void 0,n.displayName):void 0;Ya(this._componentViewTag,mt.LAYOUT,i)}_configureSharedTransition(i=!1){if(jt)return;const{sharedTransitionTag:a}=this.props;if(!a){var s;(s=this._sharedElementTransition)===null||s===void 0||s.unregisterTransition(this._componentViewTag,i),this._sharedElementTransition=null;return}const o=this.props.sharedTransitionStyle??this._sharedElementTransition??new Ar;o.registerTransition(this._componentViewTag,a,i),this._sharedElementTransition=o}getSnapshotBeforeUpdate(){var i;return jt&&((i=this._component)===null||i===void 0?void 0:i.getBoundingClientRect)!==void 0?this._component.getBoundingClientRect():null}render(){const i=this._PropsFilter.filterNonAnimatedProps(this);_t()&&(i.jestAnimatedStyle=this.jestAnimatedStyle),this._isFirstRender&&jt&&i.entering&&!ks(i.entering)&&(i.style={...i.style??{},visibility:"hidden"});const a=ue.select({web:{},default:{collapsable:!1}});return xe.createElement(t,Bo({},i,{ref:this._setComponentRef},a))}}return ot(n,"displayName",void 0),ot(n,"contextType",vm),n.displayName=`AnimatedComponent(${t.displayName||t.name||"Component"})`,xe.forwardRef((r,i)=>xe.createElement(n,Bo({},r,i===null?null:{forwardedRef:i})))}function xm(t){"worklet";return{next:0,buffer:new Float32Array(t),size:t,count:0,push(e){const n=this.buffer[this.next],r=this.count;return this.buffer[this.next]=e,this.next=(this.next+1)%this.size,this.count=Math.min(this.size,this.count+1),r===this.size?n:null},front(){if(this.count>0){const n=this.next-1,r=n<0?this.size-1:n;return this.buffer[r]}return null},back(){return this.count>0?this.buffer[this.next]:null}}}const ym=60;$0({text:!0});const Im=ai(T0);function ED(t){let e=0;function n(){requestAnimationFrame(r=>{e>0&&t(e,r),e=r,requestAnimationFrame(n)})}n()}function xD(t){"worklet";return 1e3/t}function Vf(t,e){"worklet";return e!==null?t-e:0}function wm(t,e,n,r){"worklet";e=Math.round(e),n=Math.round(n)??e;const i=t.push(e),a=t.back(),s=Vf(e,n),o=Vf(a,i);return r.value+=s-o,xD(r.value/t.count)}function yD(){const t=ct(null),e=ct(0),n=b.useRef(xm(ym));b.useEffect(()=>{ED((i,a)=>{a=Math.round(a);const s=n.current.front()??a,o=wm(n.current,a,s,e);t.value=(o*2).toFixed(0)})},[]);const r=K0(()=>{const i="JS: "+t.value;return{text:i,defaultValue:i}});return xe.createElement(ge,{style:es.container},xe.createElement(Im,{style:es.text,animatedProps:r,editable:!1}))}function ID(){const t=ct(null),e=ct(0),n=ct(null);Qg(({timestamp:i})=>{n.value===null&&(n.value=xm(ym)),i=Math.round(i);const a=n.value.front()??i,s=wm(n.value,i,a,e);t.value=s.toFixed(0)});const r=K0(()=>{const i="UI: "+t.value;return{text:i,defaultValue:i}});return xe.createElement(ge,{style:es.container},xe.createElement(Im,{style:es.text,animatedProps:r,editable:!1}))}function wD(){return xe.createElement(ge,{style:es.monitor},xe.createElement(yD,null),xe.createElement(ID,null))}const es=ve.create({monitor:{flexDirection:"row",position:"absolute",backgroundColor:"#0006",zIndex:1e3},header:{fontSize:14,color:"#ffff",paddingHorizontal:5},text:{fontSize:13,color:"#ffff",fontFamily:"monospace",paddingHorizontal:3},container:{alignItems:"center",justifyContent:"center",flexDirection:"row",flexWrap:"wrap"}}),SD=gn();function bD(t){"worklet";return{tag:t,name:"RCTView"}}function _D(t){"worklet";return{shadowNodeWrapper:t}}const Sm=SD?_D:bD;function DD(t,e){"worklet";const{screenDimensions:n,topScreenId:r,screenTransition:i}=t,{topScreenStyle:a}=i,s=a(e,n),o={value:[Sm(r)]};Ln(o,s,void 0)}function bm(t,e){"worklet";const{screenDimensions:n,belowTopScreenId:r,screenTransition:i}=t,{belowTopScreenStyle:a}=i,s=a(e,n),o={value:[Sm(r)]};Ln(o,s,void 0)}function Pd(t,e){"worklet";DD(t,e),bm(t,e)}function ec(t){return()=>{"worklet";return console.warn("[Reanimated] RNScreensTurboModule has not been found. Check that you have installed `react-native-screens@3.30.0` or newer in your project and rebuilt your app."),t}}const OD=global.RNScreensTurboModule||{startTransition:ec({topScreenId:-1,belowTopScreenId:-1,canStartTransition:!1}),updateTransition:ec(),finishTransition:ec()},tc=400,TD=400,PD=500,RD=600;function Bs(t,e,n){"worklet";if(Math.abs(e)<1)return 1;const r=(_getAnimationTimestamp()-t)/1e3;return n*r/e}function Ns(t){"worklet";return 1-Math.pow(1-t,5)}function FD(t,e,n){"worklet";const r=t.screenDimensions,i=Math.abs(e.translationX/r.width),a=Math.abs(e.translationY/r.height),s=Math.max(i,a);return n?s/2:s}function Hf(t,e,n,r,i){"worklet";if(e){var a;(a=n.onFinishAnimation)===null||a===void 0||a.call(n)}else{const s=n.stackTag,o=FD(n,r,i);OD.updateTransition(s,o),requestAnimationFrame(t)}}function MD(t,e,n){"worklet";const r=e.screenDimensions,i=_getAnimationTimestamp(),{isTransitionCanceled:a}=e,s={x:t.translationX,y:t.translationY},o={x:Math.sign(t.translationX),y:Math.sign(t.translationY)},l=a?{x:0,y:0}:{x:o.x*r.width,y:o.y*r.height},u={x:Math.abs(l.x-s.x),y:Math.abs(l.y-s.y)},c={x:!1,y:!1},A={x:tc,y:tc};if(n==="x")A.y=0,A.x+=TD*u.x/r.width;else if(n==="y")A.x=0,A.y+=PD*u.y/r.height;else{const d=Math.sqrt(u.x**2+u.y**2),f=Math.sqrt(r.width**2+r.height**2),p=tc+RD*d/f;Math.abs(s.x)>Math.abs(s.y)?(A.x=p,A.y=p*Math.abs(s.y/s.x)):(A.x=p*Math.abs(s.x/s.y),A.y=p)}if(a){let d=function(){return n==="x"?c.x:(n==="y"||c.x)&&c.y},f=function(){t.translationX=o.x*r.width,t.translationY=o.y*r.height,bm(e,t)};const p=()=>{const h={x:Bs(i,u.x,A.x),y:Bs(i,u.y,A.y)};t.translationX=s.x-o.x*u.x*Ns(h.x),t.translationY=s.y-o.y*u.y*Ns(h.y),o.x>0?t.translationX<=0&&(c.x=!0,t.translationX=0):t.translationX>=0&&(c.x=!0,t.translationX=0),o.y>0?t.translationY<=0&&(c.y=!0,t.translationY=0):t.translationY>=0&&(c.y=!0,t.translationY=0),Pd(e,t);const v=d();v&&f(),Hf(p,v,e,t,a)};return p}else{const d=()=>{const f={x:Bs(i,u.x,A.x),y:Bs(i,u.y,A.y)};t.translationX=s.x+o.x*u.x*Ns(f.x),t.translationY=s.y+o.y*u.y*Ns(f.y),o.x>0?t.translationX>=r.width&&(c.x=!0,t.translationX=r.width):t.translationX<=-r.width&&(c.x=!0,t.translationX=-r.width),o.y>0?t.translationY>=r.height&&(c.y=!0,t.translationY=r.height):t.translationY<=-r.height&&(c.y=!0,t.translationY=-r.height),Pd(e,t),Hf(d,c.x||c.y,e,t,a)};return d}}sl();function kD(t){"worklet";const{stackTag:e,sharedEvent:n}=t;n.addListener(e,()=>{Pd(t,n.value)})}function BD(t){"worklet";if(["swipeRight","swipeLeft","horizontalSwipe"].includes(t))return"x";if(["swipeUp","swipeDown","verticalSwipe"].includes(t))return"y"}function ND(t){"worklet";const{stackTag:e,sharedEvent:n,goBackGesture:r}=t;n.removeListener(e);const i=BD(r);MD(n.value,t,i)()}const GD={topScreenStyle:t=>{"worklet";return{transform:[{translateX:t.translationX}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{transform:[{translateX:(t.translationX-e.width)*.3}]}}},LD={topScreenStyle:t=>{"worklet";return{transform:[{translateX:t.translationX}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{transform:[{translateX:(t.translationX+e.width)*.3}]}}},VD={topScreenStyle:t=>{"worklet";return{transform:[{translateY:t.translationY}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{transform:[{translateY:(t.translationY-e.height)*.3}]}}},HD={topScreenStyle:t=>{"worklet";return{transform:[{translateY:t.translationY}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{transform:[{translateY:(t.translationY+e.height)*.3}]}}},UD={topScreenStyle:(t,e)=>{"worklet";return{transform:[{translateX:t.translationX},{translateY:t.translationY}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{}}},WD={topScreenStyle:(t,e)=>{"worklet";return{transform:[{translateX:t.translationX}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{}}},XD={topScreenStyle:(t,e)=>{"worklet";return{transform:[{translateY:t.translationY}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{}}},YD={topScreenStyle:(t,e)=>{"worklet";return{opacity:1-Math.abs(t.translationX/e.width)}},belowTopScreenStyle:(t,e)=>{"worklet";return{}}},zD={SwipeRight:GD,SwipeLeft:LD,SwipeDown:VD,SwipeUp:HD,Horizontal:WD,Vertical:XD,TwoDimensional:UD,SwipeRightFade:YD},KD=ai(Ux),Kn=ai(ge);function Rd(){return Rd=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Rd.apply(this,arguments)}const $D=ai(Ji),qD=b.forwardRef((t,e)=>{const{scrollViewOffset:n,...r}=t,i=e===null?jg():e;return n&&Zg(i,n),"scrollEventThrottle"in r||(r.scrollEventThrottle=1),xe.createElement($D,Rd({ref:i},r))}),jD=ai(Vv);function Fd(){return Fd=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Fd.apply(this,arguments)}const QD=ai(Gv),ZD=t=>n=>xe.createElement(Kn,{layout:t==null?void 0:t.current,onLayout:n.onLayout,style:n.style},n.children),JD=function(t,e){const{itemLayoutAnimation:n,skipEnteringExitingAnimations:r,...i}=t;"scrollEventThrottle"in i||(i.scrollEventThrottle=1);const a=b.useRef(n);a.current=n;const s=xe.useMemo(()=>ZD(a),[a]),o=xe.createElement(QD,Fd({ref:e},i,{CellRendererComponent:s}));return r===void 0?o:xe.createElement(Su,{skipEntering:!0,skipExiting:!0},o)},eO=b.forwardRef(JD),tO=Object.freeze(Object.defineProperty({__proto__:null,FlatList:eO,Image:jD,ScrollView:qD,Text:KD,View:Kn,addWhitelistedNativeProps:$0,addWhitelistedUIProps:tm,createAnimatedComponent:ai},Symbol.toStringTag,{value:"Module"})),nO=Object.freeze(Object.defineProperty({__proto__:null,BaseAnimationBuilder:wr,BounceIn:um,BounceInDown:Ql,BounceInLeft:Jl,BounceInRight:eu,BounceInUp:Zl,BounceOut:dm,BounceOutDown:tu,BounceOutLeft:ru,BounceOutRight:iu,BounceOutUp:nu,ColorSpace:Jg,ComplexAnimationBuilder:Z,CurvedTransition:Z0,Easing:lt,EntryExitTransition:wu,Extrapolate:VS,Extrapolation:Ue,FadeIn:q0,FadeInDown:bl,FadeInLeft:wl,FadeInRight:Il,FadeInUp:Sl,FadeOut:j0,FadeOutDown:Tl,FadeOutLeft:Dl,FadeOutRight:_l,FadeOutUp:Ol,FadingTransition:Bb,FlipInEasyX:dl,FlipInEasyY:Al,FlipInXDown:ul,FlipInXUp:ol,FlipInYLeft:ll,FlipInYRight:cl,FlipOutEasyX:gl,FlipOutEasyY:ml,FlipOutXDown:pl,FlipOutXUp:fl,FlipOutYLeft:hl,FlipOutYRight:vl,IOSReferenceFrame:Eg,InterfaceOrientation:qr,JumpingTransition:Q0,KeyboardState:xg,Keyframe:ob,Layout:Rb,LayoutAnimationConfig:Su,LightSpeedInLeft:su,LightSpeedInRight:au,LightSpeedOutLeft:lu,LightSpeedOutRight:ou,LinearTransition:fm,PerformanceMonitor:wD,PinwheelIn:cu,PinwheelOut:du,ReduceMotion:Cr,RollInLeft:Eu,RollInRight:xu,RollOutLeft:yu,RollOutRight:Iu,RotateInDownLeft:Au,RotateInDownRight:fu,RotateInUpLeft:hu,RotateInUpRight:pu,RotateOutDownLeft:vu,RotateOutDownRight:gu,RotateOutUpLeft:mu,RotateOutUpRight:Cu,ScreenTransition:zD,SensorType:je,SequencedTransition:Lb,SharedTransition:Ar,SharedTransitionType:lb,SlideInDown:ta,SlideInLeft:Rl,SlideInRight:Pl,SlideInUp:kl,SlideOutDown:na,SlideOutLeft:Ml,SlideOutRight:Fl,SlideOutUp:Bl,StretchInX:Cl,StretchInY:El,StretchOutX:xl,StretchOutY:yl,ZoomIn:am,ZoomInDown:Hl,ZoomInEasyDown:Wl,ZoomInEasyUp:Ul,ZoomInLeft:Gl,ZoomInRight:Ll,ZoomInRotate:Nl,ZoomInUp:Vl,ZoomOut:om,ZoomOutDown:$l,ZoomOutEasyDown:jl,ZoomOutEasyUp:ql,ZoomOutLeft:Yl,ZoomOutRight:zl,ZoomOutRotate:Xl,ZoomOutUp:Kl,advanceAnimationByFrame:Qb,advanceAnimationByTime:jb,cancelAnimation:Gg,clamp:LS,combineTransition:Kb,convertToRGBA:ka,createAnimatedPropAdapter:JS,createWorkletRuntime:PI,default:tO,defineAnimation:Yn,dispatchCommand:KS,enableLayoutAnimations:Rg,executeOnUIRuntimeSync:_g,finishScreenTransition:ND,getAnimatedStyle:Jb,getRelativeCoords:QS,getUseOfValueInStyleWarning:$b,getViewProp:MI,interpolate:Zt,interpolateColor:YS,isColor:Sd,isConfigured:FI,isReanimated3:Pg,isSharedValue:Er,isWorkletFunction:wo,makeMutable:Xn,makeShareableCloneRecursive:He,measure:em,processColor:rl,runOnJS:Mn,runOnRuntime:RI,runOnUI:Gn,scrollTo:$S,setGestureState:qS,setNativeProps:jS,setUpTests:Zb,startMapper:ds,startScreenTransition:kD,stopMapper:Li,useAnimatedGestureHandler:gS,useAnimatedKeyboard:PS,useAnimatedProps:K0,useAnimatedReaction:mS,useAnimatedRef:jg,useAnimatedScrollHandler:ES,useAnimatedSensor:SS,useAnimatedStyle:zn,useComposedEventHandler:BS,useDerivedValue:xS,useEvent:As,useFrameCallback:Qg,useHandler:al,useInterpolateConfig:zS,useReducedMotion:uS,useScrollViewOffset:Zg,useSharedValue:ct,useWorkletCallback:oS,withClamp:$w,withDecay:Kw,withDelay:Y0,withReanimatedTimer:qb,withRepeat:qw,withSequence:Fe,withSpring:Wg,withTiming:j},Symbol.toStringTag,{value:"Module"})),Md=({children:t})=>{const{isMaximized:e}=Jo(),{duration:n}=Ir(),r=rO(),i=zn(()=>({opacity:j(e?1:0,{duration:n.transition.short})}));return X.jsx(Kn,{style:[r.container,i],children:t})},rO=()=>ve.create({container:{flexGrow:1}});try{Md.displayName="ChatAnimatedContentWrapper",Md.__docgenInfo={description:"",displayName:"ChatAnimatedContentWrapper",props:{}}}catch{}const _m=De({name:ie.bottomSheet,initialState:{isOpen:!1,isPresentAtRouteNames:[]},reducers:{closeBottomSheet:t=>({...t,isOpen:!1}),openBottomSheet:t=>({...t,isOpen:!0}),addIsPresentAtRouteName:(t,{payload:e})=>{t.isPresentAtRouteNames.push(e)},removeIsPresentAtRouteName:(t,{payload:e})=>({...t,isPresentAtRouteNames:t.isPresentAtRouteNames.filter(n=>n!==e)}),toggleBottomSheet:t=>({...t,isOpen:!t.isOpen})}}),{closeBottomSheet:iO,openBottomSheet:aO,addIsPresentAtRouteName:sO,removeIsPresentAtRouteName:oO,toggleBottomSheet:lO}=_m.actions,uO=()=>{const t=xn();return{isOpen:Bt(n=>n[ie.bottomSheet].isOpen),...b.useMemo(()=>({close:()=>t(iO()),open:()=>t(aO()),addIsPresentAtRouteName:n=>t(sO(n)),removeIsPresentAtRouteName:n=>t(oO(n)),toggle:()=>t(lO())}),[t])}},Uf={spaceBottom:0},Dm=De({name:ie.screen,initialState:Uf,reducers:{resetScreen:()=>Uf,setExtraSpaceBottom:(t,{payload:e})=>{t.spaceBottom=e}}}),{setExtraSpaceBottom:cO}=Dm.actions,dO=t=>t[ie.screen].spaceBottom,AO=()=>{const t=xn(),e=Bt(dO),n=b.useCallback(r=>t(cO(r)),[t]);return{spaceBottom:e,setSpaceBottom:n}},fO=60,hO=8,kd=({children:t})=>{const e=Ir(),{isOpen:n}=uO(),r=ct(0),i=D0(),{fontScale:a}=QE(),{isMaximized:s}=Jo(),{setSpaceBottom:o}=AO(),l=pO(e,i),u=s?e.color.chat.maximized.background:e.color.chat.minimized.background,c=fO*a+i.bottom;b.useEffect(()=>(o(c-hO),()=>{o(0)}),[c,o]);const A=zn(()=>({transform:[{translateY:j(s?0:r.value-(n?0:c))}],backgroundColor:j(u),borderTopColor:j(s?"transparent":e.color.chat.border),borderTopWidth:j(s?0:e.border.width.md)})),d=zn(()=>({transform:[{translateY:j(s?0:-i.top)}]}));return X.jsx(Kn,{entering:ta,exiting:na,onLayout:f=>{r.value=f.nativeEvent.layout.height},style:[ve.absoluteFill,l.container,A],children:X.jsx(Kn,{style:[l.inner,d],children:t})})},pO=({z:t},e)=>ve.create({container:{flexGrow:1,paddingBottom:e.bottom,zIndex:t.overlay-1},inner:{flexGrow:1}});try{kd.displayName="ChatAnimatedWrapper",kd.__docgenInfo={description:"",displayName:"ChatAnimatedWrapper",props:{}}}catch{}const Bd=({accessibilityLanguage:t="nl-NL",text:e})=>X.jsx(Ex,{accessibilityLanguage:t,level:"h5",testID:"HeaderTitle",text:e,textAlign:"center"});try{Bd.displayName="ScreenTitle",Bd.__docgenInfo={description:"",displayName:"ScreenTitle",props:{accessibilityLanguage:{defaultValue:{value:"nl-NL"},description:"",name:"accessibilityLanguage",required:!1,type:{name:"string"}},text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}}}}}catch{}const Nd=({color:t,width:e=28,height:n=28,...r})=>X.jsxs(O0,{...r,fill:"none",height:n,viewBox:"0 0 28 28",width:e,children:[X.jsx(fr,{"clip-rule":"evenodd",d:"M14 2C7.37258 2 2 7.37258 2 14C2 20.6274 7.37258 26 14 26C20.6274 26 26 20.6274 26 14C26 7.37258 20.6274 2 14 2ZM0 14C0 6.26801 6.26801 0 14 0C21.732 0 28 6.26801 28 14C28 21.732 21.732 28 14 28C6.26801 28 0 21.732 0 14Z",fill:t,"fill-rule":"evenodd"}),X.jsx(fr,{d:"M16 14C16 15.1046 15.1046 16 14 16C12.8954 16 12 15.1046 12 14C12 12.8954 12.8954 12 14 12C15.1046 12 16 12.8954 16 14Z",fill:t}),X.jsx(fr,{d:"M10 14C10 15.1046 9.10457 16 8 16C6.89543 16 6 15.1046 6 14C6 12.8954 6.89543 12 8 12C9.10457 12 10 12.8954 10 14Z",fill:t}),X.jsx(fr,{d:"M22 14C22 15.1046 21.1046 16 20 16C18.8954 16 18 15.1046 18 14C18 12.8954 18.8954 12 20 12C21.1046 12 22 12.8954 22 14Z",fill:t})]});try{Nd.displayName="MeatballsMenu",Nd.__docgenInfo={description:"",displayName:"MeatballsMenu",props:{}}}catch{}const vO=({children:t,isMaximized:e,onPress:n,style:r})=>e?X.jsx(X.Fragment,{children:t}):X.jsx(wx,{onPress:n,style:r,children:t}),gO=()=>{const{isMaximized:t,toggleVisibility:e}=Jo(),{color:n}=Ir(),r=D0(),i=mO(r),a=zn(()=>({transform:[{rotate:j(t?"0deg":"-180deg")}]})),s=zn(()=>({opacity:j(t?1:0)})),o=()=>{e(),Co.dismiss()};return X.jsx(ge,{style:i.container,children:X.jsx(jo,{testID:"ChatHeader",children:X.jsx(vO,{isMaximized:t,onPress:e,style:i.pressableWhenMinimized,children:X.jsxs(Ni,{align:"between",valign:"center",children:[X.jsx(Kn,{style:s,children:X.jsx(gd,{icon:X.jsx(Nd,{color:n.pressable.secondary.default.icon}),onPress:()=>xx("ChatMenuButton"),pointerEvents:t?"auto":"none",testID:"ChatHeaderMeatballsMenuButton"})}),X.jsx(Bd,{text:"Chat"}),X.jsx(Kn,{style:a,children:X.jsx(gd,{icon:X.jsx(cs,{color:"link",name:"chevron-down",size:"lg",testID:"ChatHeaderToggleVisibilityButtonIcon"}),onPress:o,testID:"ChatHeaderToggleVisibilityButton"})})]})})})})},mO=t=>ve.create({container:{paddingTop:t.top},pressableWhenMinimized:{flexGrow:1}});var Om={exports:{}};(function(t,e){(function(n,r){t.exports=r()})($,function(){var n=1e3,r=6e4,i=36e5,a="millisecond",s="second",o="minute",l="hour",u="day",c="week",A="month",d="quarter",f="year",p="date",h="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,E=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,C={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(R){var P=["th","st","nd","rd"],F=R%100;return"["+R+(P[(F-20)%10]||P[F]||P[0])+"]"}},m=function(R,P,F){var H=String(R);return!H||H.length>=P?R:""+Array(P+1-H.length).join(F)+R},g={s:m,z:function(R){var P=-R.utcOffset(),F=Math.abs(P),H=Math.floor(F/60),k=F%60;return(P<=0?"+":"-")+m(H,2,"0")+":"+m(k,2,"0")},m:function R(P,F){if(P.date()<F.date())return-R(F,P);var H=12*(F.year()-P.year())+(F.month()-P.month()),k=P.clone().add(H,A),V=F-k<0,W=P.clone().add(H+(V?-1:1),A);return+(-(H+(F-k)/(V?k-W:W-k))||0)},a:function(R){return R<0?Math.ceil(R)||0:Math.floor(R)},p:function(R){return{M:A,y:f,w:c,d:u,D:p,h:l,m:o,s,ms:a,Q:d}[R]||String(R||"").toLowerCase().replace(/s$/,"")},u:function(R){return R===void 0}},y="en",x={};x[y]=C;var w="$isDayjsObject",S=function(R){return R instanceof O||!(!R||!R[w])},D=function R(P,F,H){var k;if(!P)return y;if(typeof P=="string"){var V=P.toLowerCase();x[V]&&(k=V),F&&(x[V]=F,k=V);var W=P.split("-");if(!k&&W.length>1)return R(W[0])}else{var B=P.name;x[B]=P,k=B}return!H&&k&&(y=k),k||!H&&y},I=function(R,P){if(S(R))return R.clone();var F=typeof P=="object"?P:{};return F.date=R,F.args=arguments,new O(F)},_=g;_.l=D,_.i=S,_.w=function(R,P){return I(R,{locale:P.$L,utc:P.$u,x:P.$x,$offset:P.$offset})};var O=function(){function R(F){this.$L=D(F.locale,null,!0),this.parse(F),this.$x=this.$x||F.x||{},this[w]=!0}var P=R.prototype;return P.parse=function(F){this.$d=function(H){var k=H.date,V=H.utc;if(k===null)return new Date(NaN);if(_.u(k))return new Date;if(k instanceof Date)return new Date(k);if(typeof k=="string"&&!/Z$/i.test(k)){var W=k.match(v);if(W){var B=W[2]-1||0,G=(W[7]||"0").substring(0,3);return V?new Date(Date.UTC(W[1],B,W[3]||1,W[4]||0,W[5]||0,W[6]||0,G)):new Date(W[1],B,W[3]||1,W[4]||0,W[5]||0,W[6]||0,G)}}return new Date(k)}(F),this.init()},P.init=function(){var F=this.$d;this.$y=F.getFullYear(),this.$M=F.getMonth(),this.$D=F.getDate(),this.$W=F.getDay(),this.$H=F.getHours(),this.$m=F.getMinutes(),this.$s=F.getSeconds(),this.$ms=F.getMilliseconds()},P.$utils=function(){return _},P.isValid=function(){return this.$d.toString()!==h},P.isSame=function(F,H){var k=I(F);return this.startOf(H)<=k&&k<=this.endOf(H)},P.isAfter=function(F,H){return I(F)<this.startOf(H)},P.isBefore=function(F,H){return this.endOf(H)<I(F)},P.$g=function(F,H,k){return _.u(F)?this[H]:this.set(k,F)},P.unix=function(){return Math.floor(this.valueOf()/1e3)},P.valueOf=function(){return this.$d.getTime()},P.startOf=function(F,H){var k=this,V=!!_.u(H)||H,W=_.p(F),B=function(ee,te){var re=_.w(k.$u?Date.UTC(k.$y,te,ee):new Date(k.$y,te,ee),k);return V?re:re.endOf(u)},G=function(ee,te){return _.w(k.toDate()[ee].apply(k.toDate("s"),(V?[0,0,0,0]:[23,59,59,999]).slice(te)),k)},N=this.$W,M=this.$M,U=this.$D,z="set"+(this.$u?"UTC":"");switch(W){case f:return V?B(1,0):B(31,11);case A:return V?B(1,M):B(0,M+1);case c:var K=this.$locale().weekStart||0,Y=(N<K?N+7:N)-K;return B(V?U-Y:U+(6-Y),M);case u:case p:return G(z+"Hours",0);case l:return G(z+"Minutes",1);case o:return G(z+"Seconds",2);case s:return G(z+"Milliseconds",3);default:return this.clone()}},P.endOf=function(F){return this.startOf(F,!1)},P.$set=function(F,H){var k,V=_.p(F),W="set"+(this.$u?"UTC":""),B=(k={},k[u]=W+"Date",k[p]=W+"Date",k[A]=W+"Month",k[f]=W+"FullYear",k[l]=W+"Hours",k[o]=W+"Minutes",k[s]=W+"Seconds",k[a]=W+"Milliseconds",k)[V],G=V===u?this.$D+(H-this.$W):H;if(V===A||V===f){var N=this.clone().set(p,1);N.$d[B](G),N.init(),this.$d=N.set(p,Math.min(this.$D,N.daysInMonth())).$d}else B&&this.$d[B](G);return this.init(),this},P.set=function(F,H){return this.clone().$set(F,H)},P.get=function(F){return this[_.p(F)]()},P.add=function(F,H){var k,V=this;F=Number(F);var W=_.p(H),B=function(M){var U=I(V);return _.w(U.date(U.date()+Math.round(M*F)),V)};if(W===A)return this.set(A,this.$M+F);if(W===f)return this.set(f,this.$y+F);if(W===u)return B(1);if(W===c)return B(7);var G=(k={},k[o]=r,k[l]=i,k[s]=n,k)[W]||1,N=this.$d.getTime()+F*G;return _.w(N,this)},P.subtract=function(F,H){return this.add(-1*F,H)},P.format=function(F){var H=this,k=this.$locale();if(!this.isValid())return k.invalidDate||h;var V=F||"YYYY-MM-DDTHH:mm:ssZ",W=_.z(this),B=this.$H,G=this.$m,N=this.$M,M=k.weekdays,U=k.months,z=k.meridiem,K=function(te,re,Q,ae){return te&&(te[re]||te(H,V))||Q[re].slice(0,ae)},Y=function(te){return _.s(B%12||12,te,"0")},ee=z||function(te,re,Q){var ae=te<12?"AM":"PM";return Q?ae.toLowerCase():ae};return V.replace(E,function(te,re){return re||function(Q){switch(Q){case"YY":return String(H.$y).slice(-2);case"YYYY":return _.s(H.$y,4,"0");case"M":return N+1;case"MM":return _.s(N+1,2,"0");case"MMM":return K(k.monthsShort,N,U,3);case"MMMM":return K(U,N);case"D":return H.$D;case"DD":return _.s(H.$D,2,"0");case"d":return String(H.$W);case"dd":return K(k.weekdaysMin,H.$W,M,2);case"ddd":return K(k.weekdaysShort,H.$W,M,3);case"dddd":return M[H.$W];case"H":return String(B);case"HH":return _.s(B,2,"0");case"h":return Y(1);case"hh":return Y(2);case"a":return ee(B,G,!0);case"A":return ee(B,G,!1);case"m":return String(G);case"mm":return _.s(G,2,"0");case"s":return String(H.$s);case"ss":return _.s(H.$s,2,"0");case"SSS":return _.s(H.$ms,3,"0");case"Z":return W}return null}(te)||W.replace(":","")})},P.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},P.diff=function(F,H,k){var V,W=this,B=_.p(H),G=I(F),N=(G.utcOffset()-this.utcOffset())*r,M=this-G,U=function(){return _.m(W,G)};switch(B){case f:V=U()/12;break;case A:V=U();break;case d:V=U()/3;break;case c:V=(M-N)/6048e5;break;case u:V=(M-N)/864e5;break;case l:V=M/i;break;case o:V=M/r;break;case s:V=M/n;break;default:V=M}return k?V:_.a(V)},P.daysInMonth=function(){return this.endOf(A).$D},P.$locale=function(){return x[this.$L]},P.locale=function(F,H){if(!F)return this.$L;var k=this.clone(),V=D(F,H,!0);return V&&(k.$L=V),k},P.clone=function(){return _.w(this.$d,this)},P.toDate=function(){return new Date(this.valueOf())},P.toJSON=function(){return this.isValid()?this.toISOString():null},P.toISOString=function(){return this.$d.toISOString()},P.toString=function(){return this.$d.toUTCString()},R}(),T=O.prototype;return I.prototype=T,[["$ms",a],["$s",s],["$m",o],["$H",l],["$W",u],["$M",A],["$y",f],["$D",p]].forEach(function(R){T[R[1]]=function(P){return this.$g(P,R[0],R[1])}}),I.extend=function(R,P){return R.$i||(R(P,O,I),R.$i=!0),I},I.locale=D,I.isDayjs=S,I.unix=function(R){return I(1e3*R)},I.en=x[y],I.Ls=x,I.p={},I})})(Om);var Tm=Om.exports;const Hi=En(Tm);var Pm={exports:{}};(function(t,e){(function(n,r){t.exports=r()})($,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(i,a,s){var o,l=function(d,f,p){p===void 0&&(p={});var h=new Date(d),v=function(E,C){C===void 0&&(C={});var m=C.timeZoneName||"short",g=E+"|"+m,y=r[g];return y||(y=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:E,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:m}),r[g]=y),y}(f,p);return v.formatToParts(h)},u=function(d,f){for(var p=l(d,f),h=[],v=0;v<p.length;v+=1){var E=p[v],C=E.type,m=E.value,g=n[C];g>=0&&(h[g]=parseInt(m,10))}var y=h[3],x=y===24?0:y,w=h[0]+"-"+h[1]+"-"+h[2]+" "+x+":"+h[4]+":"+h[5]+":000",S=+d;return(s.utc(w).valueOf()-(S-=S%1e3))/6e4},c=a.prototype;c.tz=function(d,f){d===void 0&&(d=o);var p=this.utcOffset(),h=this.toDate(),v=h.toLocaleString("en-US",{timeZone:d}),E=Math.round((h-new Date(v))/1e3/60),C=s(v,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(h.getTimezoneOffset()/15)-E,!0);if(f){var m=C.utcOffset();C=C.add(p-m,"minute")}return C.$x.$timezone=d,C},c.offsetName=function(d){var f=this.$x.$timezone||s.tz.guess(),p=l(this.valueOf(),f,{timeZoneName:d}).find(function(h){return h.type.toLowerCase()==="timezonename"});return p&&p.value};var A=c.startOf;c.startOf=function(d,f){if(!this.$x||!this.$x.$timezone)return A.call(this,d,f);var p=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return A.call(p,d,f).tz(this.$x.$timezone,!0)},s.tz=function(d,f,p){var h=p&&f,v=p||f||o,E=u(+s(),v);if(typeof d!="string")return s(d).tz(v);var C=function(x,w,S){var D=x-60*w*1e3,I=u(D,S);if(w===I)return[D,w];var _=u(D-=60*(I-w)*1e3,S);return I===_?[D,I]:[x-60*Math.min(I,_)*1e3,Math.max(I,_)]}(s.utc(d,h).valueOf(),E,v),m=C[0],g=C[1],y=s(m).utcOffset(g);return y.$x.$timezone=v,y},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(d){o=d}}})})(Pm);var CO=Pm.exports;const EO=En(CO);var Rm={exports:{}};(function(t,e){(function(n,r){t.exports=r()})($,function(){var n="minute",r=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(a,s,o){var l=s.prototype;o.utc=function(h){var v={date:h,utc:!0,args:arguments};return new s(v)},l.utc=function(h){var v=o(this.toDate(),{locale:this.$L,utc:!0});return h?v.add(this.utcOffset(),n):v},l.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var u=l.parse;l.parse=function(h){h.utc&&(this.$u=!0),this.$utils().u(h.$offset)||(this.$offset=h.$offset),u.call(this,h)};var c=l.init;l.init=function(){if(this.$u){var h=this.$d;this.$y=h.getUTCFullYear(),this.$M=h.getUTCMonth(),this.$D=h.getUTCDate(),this.$W=h.getUTCDay(),this.$H=h.getUTCHours(),this.$m=h.getUTCMinutes(),this.$s=h.getUTCSeconds(),this.$ms=h.getUTCMilliseconds()}else c.call(this)};var A=l.utcOffset;l.utcOffset=function(h,v){var E=this.$utils().u;if(E(h))return this.$u?0:E(this.$offset)?A.call(this):this.$offset;if(typeof h=="string"&&(h=function(y){y===void 0&&(y="");var x=y.match(r);if(!x)return null;var w=(""+x[0]).match(i)||["-",0,0],S=w[0],D=60*+w[1]+ +w[2];return D===0?0:S==="+"?D:-D}(h),h===null))return this;var C=Math.abs(h)<=16?60*h:h,m=this;if(v)return m.$offset=C,m.$u=h===0,m;if(h!==0){var g=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(m=this.local().add(C+g,n)).$offset=C,m.$x.$localOffset=g}else m=this.utc();return m};var d=l.format;l.format=function(h){var v=h||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return d.call(this,v)},l.valueOf=function(){var h=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*h},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var f=l.toDate;l.toDate=function(h){return h==="s"&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var p=l.diff;l.diff=function(h,v,E){if(h&&this.$u===h.$u)return p.call(this,h,v,E);var C=this.local(),m=o(h).local();return p.call(C,m,v,E)}}})})(Rm);var xO=Rm.exports;const yO=En(xO);var IO={exports:{}};(function(t,e){(function(n,r){t.exports=r(Tm)})($,function(n){function r(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var i=r(n),a={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(s){return"["+s+(s===1||s===8||s>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return i.default.locale(a,null,!0),a})})(IO);const wO="Europe/Amsterdam";Hi.extend(yO);Hi.extend(EO);Hi.locale("nl");Hi.tz.setDefault(wO);const Fm=t=>{const e=Hi(t).format();return Hi(e)},SO="Chatbot Gemeente Amsterdam",bO="Jasmijn",_O=(t,e)=>{const n=Fm(e).format("HH:mm");return t===vn.user?n:t===vn.chatbot?`${SO} - ${n}`:`${bO} - ${n}`},Gd=({message:{senderRole:t,timestamp:e},isLastOfType:n})=>{const r=ji(i=>OO(i,t===vn.user));return!!n&&X.jsxs(X.Fragment,{children:[X.jsx(Eo,{height:"xs"}),X.jsx(ge,{style:r.container,children:X.jsx(Gi,{color:"secondary",testID:`ChatHistoryGroupName${t}`,variant:"extraSmall",children:_O(t,e)})})]})},DO=40,OO=({size:t},e)=>ve.create({container:{paddingLeft:e?void 0:DO+t.spacing.sm,alignItems:e?"flex-end":"flex-start"}});try{Gd.displayName="ChatAgentInfo",Gd.__docgenInfo={description:"",displayName:"ChatAgentInfo",props:{isLastOfType:{defaultValue:null,description:"",name:"isLastOfType",required:!0,type:{name:"boolean"}},message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntry"}}}}}catch{}const TO=()=>{const{color:t}=Ir();return X.jsxs(O0,{fill:"none",height:"40",viewBox:"0 0 40 40",width:"40",children:[X.jsx(kv,{cx:"20",cy:"20",fill:t.chat.avatar.background,r:"19.5",stroke:t.chat.avatar.border}),X.jsx(fr,{d:"M16.3604 30.9196L18.5404 28.7396L16.3604 26.5396L17.8204 25.0996L20.0004 27.2796L22.1804 25.0996L23.6404 26.5396L21.4604 28.7396L23.6404 30.9196L22.1804 32.3596L20.0004 30.1796L17.8204 32.3596L16.3604 30.9196Z",fill:t.logo}),X.jsx(fr,{d:"M16.3604 22.1799L18.5404 19.9999L16.3604 17.8199L17.8204 16.3799L20.0004 18.5599L22.1804 16.3799L23.6404 17.8199L21.4604 19.9999L23.6404 22.1799L22.1804 23.6399L20.0004 21.4599L17.8204 23.6399L16.3604 22.1799Z",fill:t.logo}),X.jsx(fr,{d:"M16.3604 13.4596L18.5404 11.2596L16.3604 9.07965L17.8204 7.63965L20.0004 9.81965L22.1804 7.63965L23.6404 9.07965L21.4604 11.2596L23.6404 13.4596L22.1804 14.8996L20.0004 12.7196L17.8204 14.8996L16.3604 13.4596Z",fill:t.logo})]})},PO=()=>{const{color:t}=Ir();return X.jsxs(O0,{fill:"none",height:"40",viewBox:"0 0 40 40",width:"40",children:[X.jsx(kv,{cx:"20",cy:"20",fill:t.chat.avatar.background,r:"19.5",stroke:t.chat.avatar.border}),X.jsx(fr,{"clip-rule":"evenodd",d:"M20 35C13.5 35 9 30.5 9 30.1981C9 24.5731 12.15 21.625 16.5 21.625H24C28.35 21.625 31.5 24.0062 31.5 29.6312C31.5 30.1981 26.5 35 20 35ZM20.25 19.75C23.3397 19.7096 25.8346 17.2147 25.875 14.125C25.875 11.0184 23.3566 8.5 20.25 8.5C17.1434 8.5 14.625 11.0184 14.625 14.125C14.6654 17.2147 17.1603 19.7096 20.25 19.75Z",fill:t.chat.avatar.foreground,"fill-rule":"evenodd"})]})},RO=t=>{if(!t)return null;const n=RegExp(/https?:\/\/([^/?]+)/).exec(t);return n!=null&&n[1]?n[1]:t},Wf=({children:t,message:e,testID:n})=>X.jsx(Gi,{color:e.senderRole===vn.user?"inverse":void 0,testID:`ChatMessage${e.format+n}`,children:t}),Ld=({message:t})=>{const e=Sx();if(t.format===nx.richLink){const{title:n,url:r}=t;return X.jsxs(X.Fragment,{children:[X.jsx(bx,{emphasis:"strong",inverse:t.senderRole===vn.user,onPress:()=>r&&e(r),testID:"ChatMessageRichLinkUrl",children:n}),X.jsx(Wf,{message:t,testID:"RichLinkTitle",children:RO(r)})]})}return X.jsx(Wf,{message:t,testID:"Text",children:t.text})};try{Ld.displayName="ChatMessageContent",Ld.__docgenInfo={description:"",displayName:"ChatMessageContent",props:{message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntry"}}}}}catch{}const Vd=({message:t})=>{const e=ji(r=>FO(r,t.senderRole)),n=t.senderRole===vn.user;return X.jsxs(Ni,{align:n?"end":"start",gutter:"sm",valign:"end",children:[t.senderRole===vn.chatbot&&X.jsx(TO,{}),t.senderRole===vn.employee&&X.jsx(PO,{}),X.jsx(ge,{style:e.textContainer,children:X.jsx(Ld,{message:t})})]})},FO=({color:t,size:e},n)=>{const r=n===vn.user,i=12;return ve.create({textContainer:{flexShrink:1,backgroundColor:t.chat.message[n].background,paddingHorizontal:e.spacing.md,paddingVertical:e.spacing.sm,borderRadius:i,borderBottomRightRadius:r?0:i,borderBottomLeftRadius:r?i:0}})};try{Vd.displayName="ChatMessage",Vd.__docgenInfo={description:"",displayName:"ChatMessage",props:{message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntry"}}}}}catch{}const Hd=({firstMessage:t})=>X.jsxs(Ni,{align:"center",gutter:"sm",valign:"center",children:[X.jsx(cs,{color:"secondary",name:"chat",testID:"ChatStartingTimeIcon"}),X.jsx(Gi,{color:"secondary",testID:"ChatStartingTime",children:`Chat gestart om ${Fm(t==null?void 0:t.timestamp).format("HH:mm")}`})]});try{Hd.displayName="ChatStartTime",Hd.__docgenInfo={description:"",displayName:"ChatStartTime",props:{firstMessage:{defaultValue:null,description:"",name:"firstMessage",required:!0,type:{name:"ConversationEntry"}}}}}catch{}const Ud=({choices:t})=>{const e=ct(!1),n=b.useCallback(r=>{Cg(r).then(()=>e.value=!0)},[e]);return t&&!e.value?X.jsxs(X.Fragment,{children:[X.jsx(Ni,{align:"end",gutter:"sm",wrap:!0,children:t.map(({optionId:r,title:i})=>X.jsx(Ox,{label:i,onPress:()=>n(i),testID:`ChatHistoryChoices${i}`,variant:"secondary"},r))}),X.jsx(Eo,{height:"md"})]}):null};try{Ud.displayName="Choices",Ud.__docgenInfo={description:"",displayName:"Choices",props:{choices:{defaultValue:null,description:"",name:"choices",required:!0,type:{name:"Choice[] | undefined"}}}}}catch{}const Mm=De({name:ie.environment,initialState:{custom:Ax,environment:Bv?Lr.acceptance:Lr.production},reducers:{setEnvironment:(t,{payload:e})=>{t.environment=e},setCustomEnvironment:(t,{payload:e})=>{t.custom={...t.custom,...e}}}});Mm.actions;const km=t=>t[ie.environment],MO=(t,e)=>n=>fx(n[ie.environment].environment,n[ie.environment].custom,t,e);var Ht={NODE_ENV:'"production"'};const kO=()=>{const{environment:t}=Bt(km),e={};switch(t){case Lr.development:case Lr.custom:e.developerName=Ht.CHAT_DEVELOPER_NAME_DEV??"",e.organizationId=Ht.CHAT_ORGANIZATION_ID_DEV??"",e.url=Ht.CHAT_URL_DEV??"";break;case Lr.test:e.developerName=Ht.CHAT_DEVELOPER_NAME_TEST??"",e.organizationId=Ht.CHAT_ORGANIZATION_ID_TEST??"",e.url=Ht.CHAT_URL_TEST??"";break;case Lr.acceptance:e.developerName=Ht.CHAT_DEVELOPER_NAME_ACC??"",e.organizationId=Ht.CHAT_ORGANIZATION_ID_ACC??"",e.url=Ht.CHAT_URL_ACC??"";break;case Lr.production:e.developerName=Ht.CHAT_DEVELOPER_NAME_PROD??"",e.organizationId=Ht.CHAT_ORGANIZATION_ID_PROD??"",e.url=Ht.CHAT_URL_PROD??"";break}return e},BO={messages:[]},Bm=b.createContext(BO),Wd=({children:t})=>{const e=kO(),[n,r]=b.useState(),{messages:i,conversationId:a}=Vy({...e,conversationId:n});b.useEffect(()=>{r(a??n)},[n,a]);const s=b.useMemo(()=>({messages:i}),[i]);return X.jsx(Bm.Provider,{value:s,children:t})};try{Wd.displayName="ChatProvider",Wd.__docgenInfo={description:"",displayName:"ChatProvider",props:{}}}catch{}const NO=()=>{const t=b.useRef(null),e=GO(),{messages:n}=b.useContext(Bm),r=b.useCallback(()=>{Co.isVisible()&&Co.dismiss()},[]);return X.jsx(Ji,{contentContainerStyle:e.contentContainer,keyboardShouldPersistTaps:"handled",onContentSizeChange:()=>{var i;return(i=t==null?void 0:t.current)==null?void 0:i.scrollToEnd()},onScroll:r,ref:t,style:e.scrollView,children:X.jsx(jo,{grow:!0,insetHorizontal:"md",children:X.jsxs(Ti,{children:[X.jsx(Hd,{firstMessage:n[0]}),X.jsx(Eo,{height:"md"}),n.map((i,a)=>{var s;if(i.senderRole!==vn.system){const o=((s=n[a+1])==null?void 0:s.senderRole)!==i.senderRole;return X.jsxs(b.Fragment,{children:[X.jsx(Vd,{message:i}),X.jsx(Gd,{isLastOfType:o,message:i}),X.jsx(Eo,{height:o?"md":"sm"}),X.jsx(Ud,{choices:i.choices})]},i.timestamp)}})]})})})},GO=()=>ve.create({contentContainer:{flexGrow:1},scrollView:{flex:1}}),Xd=({onSubmit:t})=>{const e=ji(LO),[n,r]=b.useState(""),i=b.useCallback(s=>{r(s)},[]),a=b.useCallback(s=>{t(s),r("")},[t]);return X.jsx(_x,{behavior:ue.OS==="ios"?"padding":"height",children:X.jsx(jo,{children:X.jsx(Ti,{gutter:"sm",children:X.jsxs(ge,{style:e.container,testID:"ChatTextInputContainer",children:[X.jsx(T0,{multiline:!0,onChangeText:i,placeholder:"Schrijf uw bericht",style:e.textInput,testID:"ChatTextInput",value:n}),n.length>0&&X.jsxs(ge,{style:e.buttonWrapper,children:[X.jsx(ge,{style:e.spacePlaceholder}),X.jsx(Tx,{onPress:()=>a(n),style:e.button,testID:"ChatTextInputSendButton",children:X.jsx(cs,{color:"inverse",name:"chevron-right",testID:"ChatTextInputSendButtonIcon"})})]})]})})})})},Xf=40,LO=({border:t,color:e,text:n,size:r})=>ve.create({button:{backgroundColor:e.pressable.primary.default.background,alignItems:"center",justifyContent:"center",height:Xf,width:Xf},buttonWrapper:{height:"100%"},spacePlaceholder:{flexGrow:1},container:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",borderWidth:t.width.sm,padding:r.spacing.xs,columnGap:r.spacing.sm},textInput:{flex:1,color:e.text.default,fontFamily:n.fontFamily.regular,fontSize:n.fontSize.body,padding:0,paddingLeft:r.spacing.md,paddingTop:r.spacing.sm,paddingBottom:r.spacing.sm}});try{Xd.displayName="ChatInput",Xd.__docgenInfo={description:"",displayName:"ChatInput",props:{onSubmit:{defaultValue:null,description:"",name:"onSubmit",required:!0,type:{name:"(message: string) => void"}}}}}catch{}const VO=()=>{const{isOpen:t}=Jo();return t?X.jsx(Wd,{children:X.jsxs(kd,{children:[X.jsx(gO,{}),X.jsx(Md,{children:X.jsx(NO,{})}),X.jsx(Xd,{onSubmit:Cg})]})}):null},HO={hiddenInMenu:!0,name:"ChatModule",PostRenderComponent:VO,slug:nt.chat};var Nm=(t=>(t.cityPassSecurityCode="cityPassSecurityCode",t.cityPassShowPassesButton="cityPassShowPassesButton",t.constructionWorkProjectFollowButton="constructionWorkProjectFollowButton",t))(Nm||{}),Yd=(t=>(t.cityPassSecurityCode="Je hebt de beveiligingscode nodig om betalingen te doen met hoge bedragen",t.cityPassShowPassesButton="Druk op de knop om je Stadspas te laten zien",t.constructionWorkProjectFollowButton="Volg een project en blijf op de hoogte van onze werkzaamheden",t))(Yd||{});const UO=Ji,Gm=b.createContext(null),Lm=(t,e="ref")=>{const n=({children:r,...i})=>{const a=b.useRef(null),[s,o]=b.useState(null),[l,u]=b.useState(!1),c=async()=>{if(!(a!=null&&a.current)||!s)return!1;const[f,p]=await Promise.all([WA(a.current),WA(s)]);u(Mx(f,p))},A={...i,onLayout:c,onScroll:c,[e]:a,scrollEventThrottle:16},d=b.useMemo(()=>({isElementVisible:l,setElementRef:o}),[l,o]);return X.jsx(t,{...A,children:X.jsx(Gm.Provider,{value:d,children:r})})};return b.forwardRef((r,i)=>X.jsx(n,{...r,childRef:i}))},Yf=Lm(UO,"innerRef"),zf=Lm(Ji);try{Yf.displayName="KeyboardAwareTrackScrollView",Yf.__docgenInfo={description:"",displayName:"KeyboardAwareTrackScrollView",props:{grow:{defaultValue:null,description:"",name:"grow",required:!1,type:{name:"boolean"}},withBottomInset:{defaultValue:null,description:"",name:"withBottomInset",required:!1,type:{name:"boolean"}},childRef:{defaultValue:null,description:"",name:"childRef",required:!1,type:{name:"ForwardedRef<ScrollViewRef>"}}}}}catch{}try{zf.displayName="TrackScrollView",zf.__docgenInfo={description:"",displayName:"TrackScrollView",props:{grow:{defaultValue:null,description:"",name:"grow",required:!1,type:{name:"boolean"}},withBottomInset:{defaultValue:null,description:"",name:"withBottomInset",required:!1,type:{name:"boolean"}},childRef:{defaultValue:null,description:"",name:"childRef",required:!1,type:{name:"ForwardedRef<ScrollViewRef>"}}}}}catch{}const zd=({children:t,extraSpace:e,tipSlug:n,placement:r,testID:i})=>{const a=xn(),o=Bt(cy).includes(n),l=Lv(),u=b.useContext(Gm),c=u===null,{setElementRef:A,isElementVisible:d}=u??{},f=b.useRef(null),{layout:p,measureTarget:h}=kx(f),v=b.useCallback(()=>{(c||d)&&!o&&a(uy(n))},[a,c,o,d,n]);return Bx(v),X.jsxs(ge,{children:[!o&&!l&&X.jsx(Nx,{accessibilityLabel:Yd[n],extraSpace:e,fadeIn:!0,onPress:v,placement:r,productTourTipTargetLayout:p,ref:A,startFadeIn:d??c,testID:i,text:Yd[n]}),X.jsx(ge,{collapsable:!1,onLayout:h,ref:f,children:t})]})};try{zd.displayName="ProductTourTipWrapper",zd.__docgenInfo={description:"",displayName:"ProductTourTipWrapper",props:{extraSpace:{defaultValue:null,description:"",name:"extraSpace",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},placement:{defaultValue:null,description:"",name:"placement",required:!0,type:{name:"enum",value:[{value:'"above"'},{value:'"after"'},{value:'"before"'},{value:'"below"'}]}},tipSlug:{defaultValue:null,description:"",name:"tipSlug",required:!0,type:{name:"enum",value:[{value:'"cityPassSecurityCode"'},{value:'"cityPassShowPassesButton"'},{value:'"constructionWorkProjectFollowButton"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const Vm=De({name:ie.secureStorage,initialState:{},reducers:{setSecureItemUpdatedTimestamp:(t,{payload:e})=>{Object.assign(t,{[e]:Date.now()})},deleteSecureItemUpdatedTimestamp:(t,{payload:e})=>{t[e]&&delete t[e]}}});Vm.actions;const WO=t=>e=>e[ie.secureStorage][t],XO={setItem:()=>{}};var Hm=(t=>(t.cityPassAccessToken="cityPassAccessToken",t.cityPassRefreshToken="cityPassRefreshToken",t.cityPasses="cityPasses",t))(Hm||{});const YO=t=>new Promise((e,n)=>{XO.getItem(t).then(r=>e(r)).catch(r=>{Tv.trackException({exception:r}),n(r)})}),zO=t=>{const[e,n]=b.useState(!0),[r,i]=b.useState(null),a=Bt(WO(t));return b.useEffect(()=>{YO(t).then(s=>{i(s),n(!1)}).catch(()=>{i(null),n(!1)})},[t,a]),{item:r,isLoading:e}},KO=t=>t.map(e=>({dateEndFormatted:e.d,firstname:e.f,infix:e.i,lastname:e.l,passNumberComplete:e.p})),Um=()=>{const{item:t}=zO(Hm.cityPasses);return b.useMemo(()=>t?KO(JSON.parse(t)):[],[t])},$O={isCityPassesVisible:!1,isCityPassOwnerRegistered:!1,startIndex:0},Wm=De({name:ie.cityPass,initialState:$O,reducers:{hideCityPasses:t=>{t.isCityPassesVisible=!1},setIsCityPassOwnerRegistered:(t,{payload:e})=>{t.isCityPassOwnerRegistered=e},showCityPasses:(t,{payload:e})=>{t.isCityPassesVisible=!0,t.startIndex=e??0}}}),{hideCityPasses:qO,setIsCityPassOwnerRegistered:W6,showCityPasses:jO}=Wm.actions,QO=t=>t[ie.cityPass].isCityPassesVisible,ZO=t=>t[ie.cityPass].startIndex,JO=()=>{const t=xn(),e=Um();return e!=null&&e.length?X.jsx(zd,{extraSpace:"md",placement:Gx.below,testID:"HeaderShowCityPassesTooltip",tipSlug:Nm.cityPassShowPassesButton,children:X.jsx(gd,{accessibilityLabel:"Toon Stadspas",icon:X.jsx(cs,{color:"link",name:"city-pass-pass",size:"lg",testID:"HeaderCityPassIcon"}),onPress:()=>t(jO()),testID:"HeaderCityPassButton"})}):null},nc="@@nativeEmitterSubscription@@";class e2{constructor(e){di(this,"_listenerCount",0);di(this,"_nativeModule");di(this,"_eventEmitter");if(e.__expo_module_name__)return e;this._nativeModule=e,this._eventEmitter=new b0(e)}addListener(e,n){!this._listenerCount&&ue.OS!=="ios"&&this._nativeModule.startObserving&&this._nativeModule.startObserving(),this._listenerCount++;const r=this._eventEmitter.addListener(e,n),i={[nc]:r,remove:()=>{this.removeSubscription(i)}};return i}removeAllListeners(e){const n=this._eventEmitter.listenerCount?this._eventEmitter.listenerCount(e):this._eventEmitter.listeners(e).length;this._eventEmitter.removeAllListeners(e),this._listenerCount-=n,Oo(this._listenerCount>=0,"EventEmitter must have a non-negative number of listeners"),!this._listenerCount&&ue.OS!=="ios"&&this._nativeModule.stopObserving&&this._nativeModule.stopObserving()}removeSubscription(e){const n=e[nc];n&&("remove"in n&&n.remove(),this._listenerCount--,delete e[nc],e.remove=()=>{},!this._listenerCount&&ue.OS!=="ios"&&this._nativeModule.stopObserving&&this._nativeModule.stopObserving())}emit(e,...n){this._eventEmitter.emit(e,...n)}}const t2={},n2=Object.freeze(Object.defineProperty({__proto__:null,default:t2},Symbol.toStringTag,{value:"Module"})),r2=us(n2);class i2 extends Error{constructor(n,r){super(r);di(this,"code");di(this,"info");this.code=n}}var wv;const rA=typeof window<"u"&&!!((wv=window.document)!=null&&wv.createElement),a2=rA&&!!(window.addEventListener||window.attachEvent),s2=rA&&!!window.screen,o2=!1,bu={OS:ue.OS,select:ue.select,isDOMAvailable:rA,canUseEventListeners:a2,canUseViewport:s2,isAsyncDebugging:o2};class iA extends i2{constructor(e,n){super("ERR_UNAVAILABLE",`The method or property ${e}.${n} is not available on ${bu.OS}, are you sure you've linked all the native dependencies properly?`)}}var Wr;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.PORTRAIT_UP=1]="PORTRAIT_UP",t[t.PORTRAIT_DOWN=2]="PORTRAIT_DOWN",t[t.LANDSCAPE_LEFT=3]="LANDSCAPE_LEFT",t[t.LANDSCAPE_RIGHT=4]="LANDSCAPE_RIGHT"})(Wr||(Wr={}));var vt;(function(t){t[t.DEFAULT=0]="DEFAULT",t[t.ALL=1]="ALL",t[t.PORTRAIT=2]="PORTRAIT",t[t.PORTRAIT_UP=3]="PORTRAIT_UP",t[t.PORTRAIT_DOWN=4]="PORTRAIT_DOWN",t[t.LANDSCAPE=5]="LANDSCAPE",t[t.LANDSCAPE_LEFT=6]="LANDSCAPE_LEFT",t[t.LANDSCAPE_RIGHT=7]="LANDSCAPE_RIGHT",t[t.OTHER=8]="OTHER",t[t.UNKNOWN=9]="UNKNOWN"})(vt||(vt={}));var Kf;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.COMPACT=1]="COMPACT",t[t.REGULAR=2]="REGULAR"})(Kf||(Kf={}));var gt;(function(t){t.PORTRAIT_PRIMARY="portrait-primary",t.PORTRAIT_SECONDARY="portrait-secondary",t.PORTRAIT="portrait",t.LANDSCAPE_PRIMARY="landscape-primary",t.LANDSCAPE_SECONDARY="landscape-secondary",t.LANDSCAPE="landscape",t.ANY="any",t.NATURAL="natural",t.UNKNOWN="unknown"})(gt||(gt={}));var _i;(function(t){t.PORTRAIT_PRIMARY="portrait-primary",t.PORTRAIT_SECONDARY="portrait-secondary",t.LANDSCAPE_PRIMARY="landscape-primary",t.LANDSCAPE_SECONDARY="landscape-secondary"})(_i||(_i={}));const $f={[vt.DEFAULT]:gt.NATURAL,[vt.ALL]:gt.ANY,[vt.PORTRAIT]:gt.PORTRAIT,[vt.PORTRAIT_UP]:gt.PORTRAIT_PRIMARY,[vt.PORTRAIT_DOWN]:gt.PORTRAIT_SECONDARY,[vt.LANDSCAPE]:gt.LANDSCAPE,[vt.LANDSCAPE_LEFT]:gt.LANDSCAPE_PRIMARY,[vt.LANDSCAPE_RIGHT]:gt.LANDSCAPE_SECONDARY},l2={[_i.PORTRAIT_PRIMARY]:Wr.PORTRAIT_UP,[_i.PORTRAIT_SECONDARY]:Wr.PORTRAIT_DOWN,[_i.LANDSCAPE_PRIMARY]:Wr.LANDSCAPE_LEFT,[_i.LANDSCAPE_SECONDARY]:Wr.LANDSCAPE_RIGHT},Te=bu.canUseViewport?window.screen:{},rc=bu.canUseViewport&&(Te.orientation||Te.msOrientation)||null;async function qf(){const[t,e]=await Promise.all([f2(),A2()]);vd.emit("expoDidUpdateDimensions",{orientationLock:t,orientationInfo:{orientation:e}})}bu.canUseEventListeners&&(rc&&rc.addEventListener?rc.addEventListener("change",qf):window.addEventListener("orientationchange",qf));function u2(t){switch(t){case gt.UNKNOWN:throw new Error("expo-screen-orientation: WebOrientationLock.UNKNOWN is not a valid lock to be converted.");case gt.ANY:return["portrait","landscape"];case gt.NATURAL:return"default";default:return t}}async function jf(t){if(t===gt.UNKNOWN)throw new Error("expo-screen-orientation: WebOrientationLock.UNKNOWN is not a valid lock that can be applied to the device.");if(Te.orientation&&Te.orientation.lock)await Te.orientation.lock(t);else if(Te.lockOrientation||Te.mozLockOrientation||Te.msLockOrientation){const e=u2(t);if(!(Te.lockOrientation||Te.mozLockOrientation||Te.msLockOrientation).call(Te,e))throw new Error(`Applying orientation lock: ${JSON.stringify(t)} to device was denied`)}else throw new Error("expo-screen-orientation: The browser doesn't support locking screen orientation.")}let Qf=gt.UNKNOWN;const $n={async supportsOrientationLockAsync(t){return t in $f},async getPlatformOrientationLockAsync(){return Qf},async getOrientationAsync(){const t=Te.msOrientation||(Te.orientation||Te.mozOrientation||{}).type;return t?l2[t]:Wr.UNKNOWN},async lockAsync(t){const e=$f[t];if(!e)throw new TypeError(`Invalid Orientation Lock: ${t}`);await jf(e)},async lockPlatformAsync(t){await jf(t),Qf=t},async unlockAsync(){if(Te.orientation&&Te.orientation.unlock)Te.orientation.unlock();else if(Te.unlockOrientation||Te.mozUnlockOrientation||Te.msUnlockOrientation){if(!(Te.unlockOrientation||Te.mozUnlockOrientation||Te.msUnlockOrientation).call(Te))throw new Error("Unlocking screen orientation on device was denied")}else throw new Error("expo-screen-orientation: The browser doesn't support unlocking screen orientation.")}};new e2($n);let Xm=vt.UNKNOWN;async function c2(t){if(!$n.lockAsync)throw new iA("ScreenOrientation","lockAsync");if(!Object.values(vt).includes(t))throw new TypeError(`Invalid Orientation Lock: ${t}`);t!==vt.OTHER&&(await $n.lockAsync(t),Xm=t)}async function d2(){if(!$n.lockAsync)throw new iA("ScreenOrientation","lockAsync");await $n.lockAsync(vt.DEFAULT)}async function A2(){if(!$n.getOrientationAsync)throw new iA("ScreenOrientation","getOrientationAsync");return await $n.getOrientationAsync()}async function f2(){return $n.getOrientationLockAsync?await $n.getOrientationLockAsync():Xm}const Ym=De({name:ie.overlay,initialState:{isOpen:!1},reducers:{closeOverlay:t=>{t.isOpen=!1},openOverlay:t=>{t.isOpen=!0},toggleOverlay:t=>{t.isOpen=!t.isOpen}}}),{closeOverlay:h2,openOverlay:p2,toggleOverlay:v2}=Ym.actions,g2=()=>{const t=xn();return{isOpen:Bt(n=>n[ie.overlay].isOpen),...b.useMemo(()=>({close:()=>t(h2()),open:()=>t(p2()),toggle:()=>t(v2())}),[t])}},Kd=({backgroundColor:t,children:e,closeButtonContainerWidth:n,onClose:r,...i})=>{const a=xn(),{close:s,open:o}=g2(),l=ji(u=>m2(u,n));return b.useEffect(()=>(o(),()=>{s()}),[s,a,o]),X.jsx(Kn,{...i,entering:ta,exiting:na,style:[i.style,ve.absoluteFill,l.container,{backgroundColor:t}],children:X.jsxs(Ti,{gutter:"md",children:[X.jsx(Lx,{onPress:r,testID:"OverlayCloseButton",variant:"transparent",children:X.jsx(Ni,{align:"center",children:X.jsx(ge,{style:l.closeButtonInnerContainer,children:X.jsxs(Ni,{gutter:"md",valign:"center",children:[X.jsx(cs,{color:"inverse",name:"close",size:"lg",testID:"OverlayCloseButtonIcon"}),X.jsx(Gi,{color:"inverse",testID:"OverlayCloseButtonPhrase",children:"Sluiten"})]})})})}),e]})})},m2=({z:t},e)=>ve.create({container:{flex:1,justifyContent:"center",alignItems:"center",zIndex:t.overlay},closeButtonInnerContainer:{width:e}});try{Kd.displayName="Overlay",Kd.__docgenInfo={description:"",displayName:"Overlay",props:{backgroundColor:{defaultValue:null,description:"",name:"backgroundColor",required:!0,type:{name:"string"}},closeButtonContainerWidth:{defaultValue:null,description:"Used to outline close-button on top of another component",name:"closeButtonContainerWidth",required:!1,type:{name:"number"}},onClose:{defaultValue:null,description:"",name:"onClose",required:!0,type:{name:"() => void"}}}}}catch{}const C2=`The package 'react-native-block-screenshot' doesn't seem to be linked. Make sure: `+ue.select({ios:`- You have run 'pod install' `,default:""})+`- You rebuilt the app after installing the package - You are not using Expo Go -`,A2=global.__turboModuleProxy!=null,qf=A2?require("./NativeBlockScreenshot").default:Pv.BlockScreenshot,za=qf||new Proxy({},{get(){throw new Error(d2)}}),f2=t=>t?Gv.resolveAssetSource(t)??t:null,h2=({backgroundColor:t,scale:e,source:n})=>za.enableBlockScreenshot({backgroundColor:S0(t),scale:e,source:f2(n)}),p2=()=>za.disableBlockScreenshot();let Rr;const v2=t=>{let e=()=>{};return ue.OS==="ios"&&(Rr||(za.addEventListener(),Rr=new w0(za)),e=Rr.addListener("onScreenshot",t).remove),()=>{e(),(Rr==null?void 0:Rr.listenerCount("onScreenshot"))===0&&(za.removeEventListener(),Rr=null)}},g2=({enabled:t=!0,onScreenshot:e})=>{const{color:n}=Ir();b.useEffect(()=>{t&&h2({backgroundColor:n.appSwitcher.background,scale:.33,source:require("@/assets/images/logoWhite.png")});const r=e&&t?v2(e):()=>null;return()=>{r(),p2()}},[n,t,e])};var Xm={};(function(t){var e=$&&$.__awaiter||function(l,u,c,A){function d(f){return f instanceof c?f:new c(function(p){p(f)})}return new(c||(c=Promise))(function(f,p){function h(C){try{E(A.next(C))}catch(m){p(m)}}function v(C){try{E(A.throw(C))}catch(m){p(m)}}function E(C){C.done?f(C.value):d(C.value).then(h,v)}E((A=A.apply(l,u||[])).next())})},n=$&&$.__generator||function(l,u){var c={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},A,d,f,p;return p={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function h(E){return function(C){return v([E,C])}}function v(E){if(A)throw new TypeError("Generator is already executing.");for(;p&&(p=0,E[0]&&(c=0)),c;)try{if(A=1,d&&(f=E[0]&2?d.return:E[0]?d.throw||((f=d.return)&&f.call(d),0):d.next)&&!(f=f.call(d,E[1])).done)return f;switch(d=0,f&&(E=[E[0]&2,f.value]),E[0]){case 0:case 1:f=E;break;case 4:return c.label++,{value:E[1],done:!1};case 5:c.label++,d=E[1],E=[0];continue;case 7:E=c.ops.pop(),c.trys.pop();continue;default:if(f=c.trys,!(f=f.length>0&&f[f.length-1])&&(E[0]===6||E[0]===2)){c=0;continue}if(E[0]===3&&(!f||E[1]>f[0]&&E[1]<f[3])){c.label=E[1];break}if(E[0]===6&&c.label<f[1]){c.label=f[1],f=E;break}if(f&&c.label<f[2]){c.label=f[2],c.ops.push(E);break}f[2]&&c.ops.pop(),c.trys.pop();continue}E=u.call(l,c)}catch(C){E=[6,C],d=0}finally{A=f=0}if(E[0]&5)throw E[1];return{value:E[0]?E[1]:void 0,done:!0}}};Object.defineProperty(t,"__esModule",{value:!0}),t.getSystemBrightnessLevel=t.getBrightnessLevel=t.setBrightnessLevel=void 0;var r=jo,i=r.NativeModules.RNDeviceBrightness,a=function(l){return e(void 0,void 0,void 0,function(){return n(this,function(u){switch(u.label){case 0:if((l<0||l>1)&&!(r.Platform.OS==="android"&&l===-1))throw Error("⚠️ BrightnessLevel value must betweens 0 to 1 ⚠️");return[4,i.setBrightnessLevel(l)];case 1:return u.sent(),[2]}})})};t.setBrightnessLevel=a;var s=function(){return e(void 0,void 0,void 0,function(){return n(this,function(l){return[2,i.getBrightnessLevel()]})})};t.getBrightnessLevel=s;var o=function(){if(r.Platform.OS!=="android")throw Error("⚠️ Android only supported ⚠️");return i.getSystemBrightnessLevel()};t.getSystemBrightnessLevel=o,t.default={setBrightnessLevel:t.setBrightnessLevel,getBrightnessLevel:t.getBrightnessLevel,getSystemBrightnessLevel:t.getSystemBrightnessLevel}})(Xm);const rc=Cn(Xm),m2=({enabled:t=!0}={})=>b.useEffect(()=>{if(t){const e=rc.getBrightnessLevel();return e.then(()=>{rc.setBrightnessLevel(1)}),()=>{e.then(n=>{rc.setBrightnessLevel(n)})}}else return()=>null},[t]);var Ym={},zm={exports:{}};(function(t){function e(n){return n&&n.__esModule?n:{default:n}}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})(zm);var nn=zm.exports,pa={};const L={UNDETERMINED:0,FAILED:1,BEGAN:2,CANCELLED:3,ACTIVE:4,END:5},Mn={UNDETERMINED:0,TOUCHES_DOWN:1,TOUCHES_MOVE:2,TOUCHES_UP:3,TOUCHES_CANCELLED:4};var C2={NODE_ENV:'"production"'};function E2(t){return Array.isArray(t)?t:[t]}function x2(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function rA(){return x2(global,"process")&&!!C2.JEST_WORKER_ID}function fs(t){return`[react-native-gesture-handler] ${t}`}function y2(){var t;return!!((t=global)!==null&&t!==void 0&&t.nativeFabricUIManager)}function I2(){const t=global;return(!t.nativeCallSyncHook||!!t.__REMOTEDEV__)&&!t.RN$Bridgeless}function Km(t,e){if(t===e)return!0;if(typeof t!="object"||typeof e!="object"||t===null||e===null)return!1;const n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(const i of n)if(!r.includes(i)||!Km(t[i],e[i]))return!1;return!0}const jf=2**31-1,Ao={},iA=new Map,$m=new Map,qm=new Map;function jm(t,e,n){iA.set(t,e),rA()&&n&&qm.set(n,t)}function w2(t,e){$m.set(t,e)}function S2(t,e){iA.delete(t),rA()&&e&&qm.delete(e)}function b2(t){return iA.get(t)}function _2(t){return $m.get(t)}function D2(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class Wt{static getHandler(e){if(e in this.gestures)return this.gestures[e];throw new Error(`No handler for tag ${e}`)}static createGestureHandler(e,n){if(e in this.gestures)throw new Error(`Handler with tag ${e} already exists. Please ensure that no Gesture instance is used across multiple GestureDetectors.`);this.gestures[e]=n,this.gestures[e].setTag(e)}static dropGestureHandler(e){e in this.gestures&&(this.gestures[e].onDestroy(),delete this.gestures[e])}static getNodes(){return{...this.gestures}}}D2(Wt,"gestures",{});const Qm={create(t){return{begin:()=>{Wt.getHandler(t).begin()},activate:()=>{Wt.getHandler(t).activate(!0)},fail:()=>{Wt.getHandler(t).fail()},end:()=>{Wt.getHandler(t).end()}}}};let fo=null,ho=null;const Gs=new Map,va=[];function Qf(t){return t.oldState!=null}function O2(t){return t.eventType!=null}function Bo(t){var e,n,r,i,a,s,o,l;const u=b2(t.handlerTag);if(u)if(Qf(t)){if(t.oldState===L.UNDETERMINED&&t.state===L.BEGAN){var c,A;(c=(A=u.handlers).onBegin)===null||c===void 0||c.call(A,t)}else if((t.oldState===L.BEGAN||t.oldState===L.UNDETERMINED)&&t.state===L.ACTIVE){var d,f;(d=(f=u.handlers).onStart)===null||d===void 0||d.call(f,t),va[u.handlers.handlerTag]=t}else if(t.oldState!==t.state&&t.state===L.END){var p,h;if(t.oldState===L.ACTIVE){var v,E;(v=(E=u.handlers).onEnd)===null||v===void 0||v.call(E,t,!0)}(p=(h=u.handlers).onFinalize)===null||p===void 0||p.call(h,t,!0),va[u.handlers.handlerTag]=void 0}else if((t.state===L.FAILED||t.state===L.CANCELLED)&&t.oldState!==t.state){var C,m;if(t.oldState===L.ACTIVE){var g,y;(g=(y=u.handlers).onEnd)===null||g===void 0||g.call(y,t,!1)}(C=(m=u.handlers).onFinalize)===null||C===void 0||C.call(m,t,!1),Gs.delete(t.handlerTag),va[u.handlers.handlerTag]=void 0}}else if(O2(t)){Gs.has(t.handlerTag)||Gs.set(t.handlerTag,Qm.create(t.handlerTag));const O=Gs.get(t.handlerTag);switch(t.eventType){case Mn.TOUCHES_DOWN:(e=u.handlers)===null||e===void 0||(n=e.onTouchesDown)===null||n===void 0||n.call(e,t,O);break;case Mn.TOUCHES_MOVE:(r=u.handlers)===null||r===void 0||(i=r.onTouchesMove)===null||i===void 0||i.call(r,t,O);break;case Mn.TOUCHES_UP:(a=u.handlers)===null||a===void 0||(s=a.onTouchesUp)===null||s===void 0||s.call(a,t,O);break;case Mn.TOUCHES_CANCELLED:(o=u.handlers)===null||o===void 0||(l=o.onTouchesCancelled)===null||l===void 0||l.call(o,t,O);break}}else{var x,w;if((x=(w=u.handlers).onUpdate)===null||x===void 0||x.call(w,t),u.handlers.onChange&&u.handlers.changeEventCalculator){var S,D,I,_;(S=(D=u.handlers).onChange)===null||S===void 0||S.call(D,(I=(_=u.handlers).changeEventCalculator)===null||I===void 0?void 0:I.call(_,t,va[u.handlers.handlerTag])),va[u.handlers.handlerTag]=t}}else{const O=_2(t.handlerTag);if(O){const T={nativeEvent:t};Qf(t)?O.onGestureStateChange(T):O.onGestureEvent(T);return}}}function T2(){P2(),fo=pd.addListener("onGestureHandlerEvent",Bo),ho=pd.addListener("onGestureHandlerStateChange",Bo)}function P2(){fo&&(fo.remove(),fo=null),ho&&(ho.remove(),ho=null)}let zd=!0,Zm=!1;function R2(t=!0){}function F2(t=!0){if(!(ue.OS!=="web"||zd===!t)){if(Zm){console.error("Some parts of this application have already started using the new gesture handler implementation. No changes will be applied. You can try enabling legacy implementation earlier.");return}zd=!t}}function Si(){return Zm=!0,zd}const Ui=15,k2=.1;let se;(function(t){t[t.DOWN=0]="DOWN",t[t.ADDITIONAL_POINTER_DOWN=1]="ADDITIONAL_POINTER_DOWN",t[t.UP=2]="UP",t[t.ADDITIONAL_POINTER_UP=3]="ADDITIONAL_POINTER_UP",t[t.MOVE=4]="MOVE",t[t.ENTER=5]="ENTER",t[t.LEAVE=6]="LEAVE",t[t.CANCEL=7]="CANCEL"})(se||(se={}));let Yt;(function(t){t[t.UNDETERMINED=0]="UNDETERMINED",t[t.DOWN=1]="DOWN",t[t.MOVE=2]="MOVE",t[t.UP=3]="UP",t[t.CANCELLED=4]="CANCELLED"})(Yt||(Yt={}));let St;(function(t){t[t.TOUCH=0]="TOUCH",t[t.STYLUS=1]="STYLUS",t[t.MOUSE=2]="MOUSE",t[t.KEY=3]="KEY",t[t.OTHER=4]="OTHER"})(St||(St={}));function Ls(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class M2{constructor(e){Ls(this,"bufferSize",void 0),Ls(this,"buffer",void 0),Ls(this,"index",void 0),Ls(this,"actualSize",void 0),this.bufferSize=e,this.buffer=new Array(e),this.index=0,this.actualSize=0}get size(){return this.actualSize}push(e){this.buffer[this.index]=e,this.index=(this.index+1)%this.bufferSize,this.actualSize=Math.min(this.actualSize+1,this.bufferSize)}get(e){if(this.actualSize===this.bufferSize){let n=(this.index+e)%this.bufferSize;return n<0&&(n+=this.bufferSize),this.buffer[n]}else return this.buffer[e]}clear(){this.buffer=new Array(this.bufferSize),this.index=0,this.actualSize=0}}function Vn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}let Jm=class eC{constructor(e){Vn(this,"offset",void 0),Vn(this,"length",void 0),Vn(this,"elements",void 0),this.offset=0,this.length=e,this.elements=new Array(e)}static fromVOL(e,n,r){const i=new eC(0);return i.offset=n,i.length=r,i.elements=e,i}get(e){return this.elements[this.offset+e]}set(e,n){this.elements[this.offset+e]=n}dot(e){let n=0;for(let r=0;r<this.length;r++)n+=this.get(r)*e.get(r);return n}norm(){return Math.sqrt(this.dot(this))}};class ic{constructor(e,n){Vn(this,"columns",void 0),Vn(this,"elements",void 0),this.columns=n,this.elements=new Array(e*n)}get(e,n){return this.elements[e*this.columns+n]}set(e,n,r){this.elements[e*this.columns+n]=r}getRow(e){return Jm.fromVOL(this.elements,e*this.columns,this.columns)}}class B2{constructor(e){Vn(this,"coefficients",void 0),this.coefficients=new Array(e+1)}}const N2=1e-10;class Zf{constructor(e,n,r){Vn(this,"x",void 0),Vn(this,"y",void 0),Vn(this,"w",void 0),this.x=e,this.y=n,this.w=r}solve(e){if(e>this.x.length)return null;const n=new B2(e),r=this.x.length,i=e+1,a=new ic(i,r);for(let u=0;u<r;u++){a.set(0,u,this.w[u]);for(let c=1;c<i;c++)a.set(c,u,a.get(c-1,u)*this.x[u])}const s=new ic(i,r),o=new ic(i,r);for(let u=0;u<i;u+=1){for(let d=0;d<r;d+=1)s.set(u,d,a.get(u,d));for(let d=0;d<u;d+=1){const f=s.getRow(u).dot(s.getRow(d));for(let p=0;p<r;p+=1)s.set(u,p,s.get(u,p)-f*s.get(d,p))}const c=s.getRow(u).norm();if(c<N2)return null;const A=1/c;for(let d=0;d<r;d+=1)s.set(u,d,s.get(u,d)*A);for(let d=0;d<i;d+=1)o.set(u,d,d<u?0:s.getRow(u).dot(a.getRow(d)))}const l=new Jm(r);for(let u=0;u<r;u+=1)l.set(u,this.y[u]*this.w[u]);for(let u=i-1;u>=0;u-=1){n.coefficients[u]=s.getRow(u).dot(l);for(let c=i-1;c>u;c-=1)n.coefficients[u]-=o.get(u,c)*n.coefficients[c];n.coefficients[u]/=o.get(u,u)}return n}}function ga(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class G2{constructor(){ga(this,"assumePointerMoveStoppedMilliseconds",40),ga(this,"historySize",20),ga(this,"horizonMilliseconds",300),ga(this,"minSampleSize",3),ga(this,"samples",void 0),this.samples=new M2(this.historySize)}add(e){this.samples.push(e)}getVelocityEstimate(){const e=[],n=[],r=[],i=[];let a=0,s=this.samples.size-1;const o=this.samples.get(s);if(!o)return null;let l=o;for(;a<this.samples.size;){const u=this.samples.get(s),c=o.time-u.time,A=Math.abs(u.time-l.time);if(l=u,c>this.horizonMilliseconds||A>this.assumePointerMoveStoppedMilliseconds)break;e.push(u.x),n.push(u.y),r.push(1),i.push(-c),a++,s--}if(a>=this.minSampleSize){const c=new Zf(i,e,r).solve(2);if(c!==null){const d=new Zf(i,n,r).solve(2);if(d!==null){const f=c.coefficients[1]*1e3,p=d.coefficients[1]*1e3;return[f,p]}}}return null}getVelocity(){const e=this.getVelocityEstimate();return e!==null?e:[0,0]}reset(){this.samples.clear()}}function mi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const Jf=20;class tC{constructor(){mi(this,"velocityTracker",new G2),mi(this,"trackedPointers",new Map),mi(this,"touchEventsIds",new Map),mi(this,"lastMovedPointerId",void 0),mi(this,"cachedAbsoluteAverages",{x:0,y:0}),mi(this,"cachedRelativeAverages",{x:0,y:0}),this.lastMovedPointerId=NaN;for(let e=0;e<Jf;++e)this.touchEventsIds.set(e,NaN)}addToTracker(e){if(this.trackedPointers.has(e.pointerId))return;this.lastMovedPointerId=e.pointerId;const n={abosoluteCoords:{x:e.x,y:e.y},relativeCoords:{x:e.offsetX,y:e.offsetY},timestamp:e.time,velocityX:0,velocityY:0};this.trackedPointers.set(e.pointerId,n),this.mapTouchEventId(e.pointerId),this.cachedAbsoluteAverages=this.getAbsoluteCoordsAverage(),this.cachedRelativeAverages=this.getRelativeCoordsAverage()}removeFromTracker(e){this.trackedPointers.delete(e),this.removeMappedTouchId(e)}track(e){const n=this.trackedPointers.get(e.pointerId);if(!n)return;this.lastMovedPointerId=e.pointerId,this.velocityTracker.add(e);const[r,i]=this.velocityTracker.getVelocity();n.velocityX=r,n.velocityY=i,n.abosoluteCoords={x:e.x,y:e.y},n.relativeCoords={x:e.offsetX,y:e.offsetY},this.trackedPointers.set(e.pointerId,n),this.cachedAbsoluteAverages=this.getAbsoluteCoordsAverage(),this.cachedRelativeAverages=this.getRelativeCoordsAverage()}mapTouchEventId(e){for(const[n,r]of this.touchEventsIds)if(isNaN(r)){this.touchEventsIds.set(n,e);break}}removeMappedTouchId(e){const n=this.getMappedTouchEventId(e);isNaN(n)||this.touchEventsIds.set(n,NaN)}getMappedTouchEventId(e){for(const[n,r]of this.touchEventsIds.entries())if(r===e)return n;return NaN}getVelocity(e){var n,r;return{x:(n=this.trackedPointers.get(e))===null||n===void 0?void 0:n.velocityX,y:(r=this.trackedPointers.get(e))===null||r===void 0?void 0:r.velocityY}}getLastAbsoluteCoords(e){if(e!==void 0){var n,r;return{x:(n=this.trackedPointers.get(e))===null||n===void 0?void 0:n.abosoluteCoords.x,y:(r=this.trackedPointers.get(e))===null||r===void 0?void 0:r.abosoluteCoords.y}}else{var i,a;return{x:(i=this.trackedPointers.get(this.lastMovedPointerId))===null||i===void 0?void 0:i.abosoluteCoords.x,y:(a=this.trackedPointers.get(this.lastMovedPointerId))===null||a===void 0?void 0:a.abosoluteCoords.y}}}getLastRelativeCoords(e){if(e!==void 0){var n,r;return{x:(n=this.trackedPointers.get(e))===null||n===void 0?void 0:n.relativeCoords.x,y:(r=this.trackedPointers.get(e))===null||r===void 0?void 0:r.relativeCoords.y}}else{var i,a;return{x:(i=this.trackedPointers.get(this.lastMovedPointerId))===null||i===void 0?void 0:i.relativeCoords.x,y:(a=this.trackedPointers.get(this.lastMovedPointerId))===null||a===void 0?void 0:a.relativeCoords.y}}}getAbsoluteCoordsAverage(){const e=this.getAbsoluteCoordsSum(),n=e.x/this.trackedPointers.size,r=e.y/this.trackedPointers.size;return{x:isNaN(n)?this.cachedAbsoluteAverages.x:n,y:isNaN(r)?this.cachedAbsoluteAverages.y:r}}getRelativeCoordsAverage(){const e=this.getRelativeCoordsSum(),n=e.x/this.trackedPointers.size,r=e.y/this.trackedPointers.size;return{x:isNaN(n)?this.cachedRelativeAverages.x:n,y:isNaN(r)?this.cachedRelativeAverages.y:r}}getAbsoluteCoordsSum(e){const n={x:0,y:0};return this.trackedPointers.forEach((r,i)=>{i!==e&&(n.x+=r.abosoluteCoords.x,n.y+=r.abosoluteCoords.y)}),n}getRelativeCoordsSum(e){const n={x:0,y:0};return this.trackedPointers.forEach((r,i)=>{i!==e&&(n.x+=r.relativeCoords.x,n.y+=r.relativeCoords.y)}),n}getTrackedPointersCount(){return this.trackedPointers.size}getTrackedPointersID(){const e=[];return this.trackedPointers.forEach((n,r)=>{e.push(r)}),e}getData(){return this.trackedPointers}resetTracker(){this.velocityTracker.reset(),this.trackedPointers.clear(),this.lastMovedPointerId=NaN;for(let e=0;e<Jf;++e)this.touchEventsIds.set(e,NaN)}static shareCommonPointers(e,n){return e.some(r=>n.includes(r))}}function bi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class en{constructor(){bi(this,"gestureHandlers",[]),bi(this,"awaitingHandlers",[]),bi(this,"awaitingHandlersTags",new Set),bi(this,"handlingChangeSemaphore",0),bi(this,"activationIndex",0)}scheduleFinishedHandlersCleanup(){this.handlingChangeSemaphore===0&&this.cleanupFinishedHandlers()}cleanHandler(e){e.reset(),e.setActive(!1),e.setAwaiting(!1),e.setActivationIndex(Number.MAX_VALUE)}removeHandlerFromOrchestrator(e){const n=this.gestureHandlers.indexOf(e),r=this.awaitingHandlers.indexOf(e);n>=0&&this.gestureHandlers.splice(n,1),r>=0&&(this.awaitingHandlers.splice(r,1),this.awaitingHandlersTags.delete(e.getTag()))}cleanupFinishedHandlers(){const e=new Set;for(let n=this.gestureHandlers.length-1;n>=0;--n){const r=this.gestureHandlers[n];this.isFinished(r.getState())&&!r.isAwaiting()&&(this.cleanHandler(r),e.add(r))}this.gestureHandlers=this.gestureHandlers.filter(n=>!e.has(n))}hasOtherHandlerToWaitFor(e){const n=r=>!this.isFinished(r.getState())&&this.shouldHandlerWaitForOther(e,r);return this.gestureHandlers.some(n)}shouldBeCancelledByFinishedHandler(e){const n=r=>this.shouldHandlerWaitForOther(e,r)&&r.getState()===L.END;return this.gestureHandlers.some(n)}tryActivate(e){if(this.shouldBeCancelledByFinishedHandler(e)){e.cancel();return}if(this.hasOtherHandlerToWaitFor(e)){this.addAwaitingHandler(e);return}const n=e.getState();if(!(n===L.CANCELLED||n===L.FAILED)){if(this.shouldActivate(e)){this.makeActive(e);return}if(n===L.ACTIVE){e.fail();return}n===L.BEGAN&&e.cancel()}}shouldActivate(e){const n=r=>this.shouldHandlerBeCancelledBy(e,r);return!this.gestureHandlers.some(n)}cleanupAwaitingHandlers(e){const n=r=>!r.isAwaiting()&&this.shouldHandlerWaitForOther(r,e);for(const r of this.awaitingHandlers)n(r)&&(this.cleanHandler(r),this.awaitingHandlersTags.delete(r.getTag()));this.awaitingHandlers=this.awaitingHandlers.filter(r=>this.awaitingHandlersTags.has(r.getTag()))}onHandlerStateChange(e,n,r,i){if(!(!e.isEnabled()&&!i)){if(this.handlingChangeSemaphore+=1,this.isFinished(n)){for(const a of this.awaitingHandlers)if(!(!this.shouldHandlerWaitForOther(a,e)||!this.awaitingHandlersTags.has(a.getTag()))){if(n!==L.END){this.tryActivate(a);continue}a.cancel(),a.getState()===L.END&&a.sendEvent(L.CANCELLED,L.BEGAN),a.setAwaiting(!1)}}n===L.ACTIVE?this.tryActivate(e):r===L.ACTIVE||r===L.END?e.isActive()?e.sendEvent(n,r):r===L.ACTIVE&&(n===L.CANCELLED||n===L.FAILED)&&e.sendEvent(n,L.BEGAN):(r!==L.UNDETERMINED||n!==L.CANCELLED)&&e.sendEvent(n,r),this.handlingChangeSemaphore-=1,this.scheduleFinishedHandlersCleanup(),this.awaitingHandlers.includes(e)||this.cleanupAwaitingHandlers(e)}}makeActive(e){const n=e.getState();e.setActive(!0),e.setShouldResetProgress(!0),e.setActivationIndex(this.activationIndex++);for(let r=this.gestureHandlers.length-1;r>=0;--r)this.shouldHandlerBeCancelledBy(this.gestureHandlers[r],e)&&this.gestureHandlers[r].cancel();for(const r of this.awaitingHandlers)this.shouldHandlerBeCancelledBy(r,e)&&r.setAwaiting(!1);e.sendEvent(L.ACTIVE,L.BEGAN),n!==L.ACTIVE&&(e.sendEvent(L.END,L.ACTIVE),n!==L.END&&e.sendEvent(L.UNDETERMINED,L.END)),e.isAwaiting()&&(e.setAwaiting(!1),this.awaitingHandlers=this.awaitingHandlers.filter(r=>r!==e))}addAwaitingHandler(e){this.awaitingHandlers.includes(e)||(this.awaitingHandlers.push(e),this.awaitingHandlersTags.add(e.getTag()),e.setAwaiting(!0),e.setActivationIndex(this.activationIndex++))}recordHandlerIfNotPresent(e){this.gestureHandlers.includes(e)||(this.gestureHandlers.push(e),e.setActive(!1),e.setAwaiting(!1),e.setActivationIndex(Number.MAX_SAFE_INTEGER))}shouldHandlerWaitForOther(e,n){return e!==n&&(e.shouldWaitForHandlerFailure(n)||n.shouldRequireToWaitForFailure(e))}canRunSimultaneously(e,n){return e===n||e.shouldRecognizeSimultaneously(n)||n.shouldRecognizeSimultaneously(e)}shouldHandlerBeCancelledBy(e,n){if(this.canRunSimultaneously(e,n))return!1;if(e.isAwaiting()||e.getState()===L.ACTIVE)return e.shouldBeCancelledByOther(n);const r=e.getTrackedPointersID(),i=n.getTrackedPointersID();return!tC.shareCommonPointers(r,i)&&e.getDelegate().getView()!==n.getDelegate().getView()?this.checkOverlap(e,n):!0}checkOverlap(e,n){const r=s=>{const o=e.getTracker().getLastAbsoluteCoords(s);return e.getDelegate().isPointerInBounds(o)&&n.getDelegate().isPointerInBounds(o)},i=e.getTrackedPointersID(),a=n.getTrackedPointersID();return i.some(r)||a.some(r)}isFinished(e){return e===L.END||e===L.FAILED||e===L.CANCELLED}cancelMouseAndPenGestures(e){this.gestureHandlers.forEach(n=>{n.getPointerType()!==St.MOUSE&&n.getPointerType()!==St.STYLUS||(n!==e?n.cancel():n.getTracker().resetTracker())})}static getInstance(){return en.instance||(en.instance=new en),en.instance}}bi(en,"instance",void 0);function po(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class Bn{constructor(){po(this,"waitForRelations",new Map),po(this,"simultaneousRelations",new Map),po(this,"blocksHandlersRelations",new Map)}configureInteractions(e,n){if(this.dropRelationsForHandlerWithTag(e.getTag()),n.waitFor){const r=[];n.waitFor.forEach(i=>{typeof i=="number"?r.push(i):r.push(i.handlerTag)}),this.waitForRelations.set(e.getTag(),r)}if(n.simultaneousHandlers){const r=[];n.simultaneousHandlers.forEach(i=>{typeof i=="number"?r.push(i):r.push(i.handlerTag)}),this.simultaneousRelations.set(e.getTag(),r)}if(n.blocksHandlers){const r=[];n.blocksHandlers.forEach(i=>{typeof i=="number"?r.push(i):r.push(i.handlerTag)}),this.blocksHandlersRelations.set(e.getTag(),r)}}shouldWaitForHandlerFailure(e,n){const r=this.waitForRelations.get(e.getTag());return(r==null?void 0:r.find(i=>i===n.getTag()))!==void 0}shouldRecognizeSimultaneously(e,n){const r=this.simultaneousRelations.get(e.getTag());return(r==null?void 0:r.find(i=>i===n.getTag()))!==void 0}shouldRequireHandlerToWaitForFailure(e,n){const r=this.blocksHandlersRelations.get(e.getTag());return(r==null?void 0:r.find(i=>i===n.getTag()))!==void 0}shouldHandlerBeCancelledBy(e,n){var r;const i=n.constructor.name==="NativeViewGestureHandler",a=n.getState()===L.ACTIVE,s=((r=n.isButton)===null||r===void 0?void 0:r.call(n))===!0;return i&&a&&!s}dropRelationsForHandlerWithTag(e){this.waitForRelations.delete(e),this.simultaneousRelations.delete(e),this.blocksHandlersRelations.delete(e)}reset(){this.waitForRelations.clear(),this.simultaneousRelations.clear(),this.blocksHandlersRelations.clear()}static getInstance(){return this.instance||(this.instance=new Bn),this.instance}}po(Bn,"instance",void 0);const nC=["id","enabled","shouldCancelWhenOutside","hitSlop","cancelsTouchesInView","userSelect","activeCursor","mouseButton","enableContextMenu","touchAction"],L2=["waitFor","simultaneousHandlers","blocksHandlers"],Dr=[...nC,...L2,"onBegan","onFailed","onCancelled","onActivated","onEnded","onGestureEvent","onHandlerStateChange"],V2=[...nC,"needsPointerData","manualActivation"];let fn;(function(t){t[t.LEFT=1]="LEFT",t[t.RIGHT=2]="RIGHT",t[t.MIDDLE=4]="MIDDLE",t[t.BUTTON_4=8]="BUTTON_4",t[t.BUTTON_5=16]="BUTTON_5",t[t.ALL=31]="ALL"})(fn||(fn={}));function et(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}let qn=class{constructor(e){et(this,"lastSentState",null),et(this,"currentState",L.UNDETERMINED),et(this,"shouldCancelWhenOutside",!1),et(this,"hasCustomActivationCriteria",!1),et(this,"enabled",!1),et(this,"viewRef",void 0),et(this,"propsRef",void 0),et(this,"handlerTag",void 0),et(this,"config",{enabled:!1}),et(this,"tracker",new tC),et(this,"activationIndex",0),et(this,"awaiting",!1),et(this,"active",!1),et(this,"shouldResetProgress",!1),et(this,"pointerType",St.MOUSE),et(this,"delegate",void 0),et(this,"sendEvent",(n,r)=>{const{onGestureHandlerEvent:i,onGestureHandlerStateChange:a}=this.propsRef.current,s=this.transformEventData(n,r);this.lastSentState!==n&&(this.lastSentState=n,Ba(a,s)),this.currentState===L.ACTIVE&&(s.nativeEvent.oldState=void 0,Ba(i,s))}),this.delegate=e}init(e,n){this.propsRef=n,this.viewRef=e,this.currentState=L.UNDETERMINED,this.delegate.init(e,this)}attachEventManager(e){e.setOnPointerDown(this.onPointerDown.bind(this)),e.setOnPointerAdd(this.onPointerAdd.bind(this)),e.setOnPointerUp(this.onPointerUp.bind(this)),e.setOnPointerRemove(this.onPointerRemove.bind(this)),e.setOnPointerMove(this.onPointerMove.bind(this)),e.setOnPointerEnter(this.onPointerEnter.bind(this)),e.setOnPointerLeave(this.onPointerLeave.bind(this)),e.setOnPointerCancel(this.onPointerCancel.bind(this)),e.setOnPointerOutOfBounds(this.onPointerOutOfBounds.bind(this)),e.setOnPointerMoveOver(this.onPointerMoveOver.bind(this)),e.setOnPointerMoveOut(this.onPointerMoveOut.bind(this)),e.registerListeners()}onCancel(){}onReset(){}resetProgress(){}reset(){this.tracker.resetTracker(),this.onReset(),this.resetProgress(),this.delegate.reset(),this.currentState=L.UNDETERMINED}moveToState(e,n){if(this.currentState===e)return;const r=this.currentState;this.currentState=e,this.tracker.getTrackedPointersCount()>0&&this.config.needsPointerData&&this.isFinished()&&this.cancelTouches(),en.getInstance().onHandlerStateChange(this,e,r,n),this.onStateChange(e,r),!this.enabled&&this.isFinished()&&(this.currentState=L.UNDETERMINED)}onStateChange(e,n){}begin(){this.checkHitSlop()&&this.currentState===L.UNDETERMINED&&this.moveToState(L.BEGAN)}fail(e){(this.currentState===L.ACTIVE||this.currentState===L.BEGAN)&&(this.delegate.onFail(),this.moveToState(L.FAILED,e)),this.resetProgress()}cancel(e){(this.currentState===L.ACTIVE||this.currentState===L.UNDETERMINED||this.currentState===L.BEGAN)&&(this.onCancel(),this.delegate.onCancel(),this.moveToState(L.CANCELLED,e))}activate(e=!1){(this.config.manualActivation!==!0||e)&&(this.currentState===L.UNDETERMINED||this.currentState===L.BEGAN)&&(this.delegate.onActivate(),this.moveToState(L.ACTIVE))}end(){(this.currentState===L.BEGAN||this.currentState===L.ACTIVE)&&(this.delegate.onEnd(),this.moveToState(L.END)),this.resetProgress()}isAwaiting(){return this.awaiting}setAwaiting(e){this.awaiting=e}isActive(){return this.active}setActive(e){this.active=e}getShouldResetProgress(){return this.shouldResetProgress}setShouldResetProgress(e){this.shouldResetProgress=e}getActivationIndex(){return this.activationIndex}setActivationIndex(e){this.activationIndex=e}shouldWaitForHandlerFailure(e){return e===this?!1:Bn.getInstance().shouldWaitForHandlerFailure(this,e)}shouldRequireToWaitForFailure(e){return e===this?!1:Bn.getInstance().shouldRequireHandlerToWaitForFailure(this,e)}shouldRecognizeSimultaneously(e){return e===this?!0:Bn.getInstance().shouldRecognizeSimultaneously(this,e)}shouldBeCancelledByOther(e){return e===this?!1:Bn.getInstance().shouldHandlerBeCancelledBy(this,e)}onPointerDown(e){en.getInstance().recordHandlerIfNotPresent(this),this.pointerType=e.pointerType,this.pointerType===St.TOUCH&&en.getInstance().cancelMouseAndPenGestures(this)}onPointerAdd(e){this.tryToSendTouchEvent(e)}onPointerUp(e){this.tryToSendTouchEvent(e)}onPointerRemove(e){this.tryToSendTouchEvent(e)}onPointerMove(e){this.tryToSendMoveEvent(!1,e)}onPointerLeave(e){if(this.shouldCancelWhenOutside){switch(this.currentState){case L.ACTIVE:this.cancel();break;case L.BEGAN:this.fail();break}return}this.tryToSendTouchEvent(e)}onPointerEnter(e){this.tryToSendTouchEvent(e)}onPointerCancel(e){this.tryToSendTouchEvent(e),this.cancel(),this.reset()}onPointerOutOfBounds(e){this.tryToSendMoveEvent(!0,e)}onPointerMoveOver(e){}onPointerMoveOut(e){}tryToSendMoveEvent(e,n){e&&this.shouldCancelWhenOutside||!this.enabled||(this.active&&this.sendEvent(this.currentState,this.currentState),this.tryToSendTouchEvent(n))}tryToSendTouchEvent(e){this.config.needsPointerData&&this.sendTouchEvent(e)}sendTouchEvent(e){if(!this.enabled)return;const{onGestureHandlerEvent:n}=this.propsRef.current,r=this.transformTouchEvent(e);r&&Ba(n,r)}transformEventData(e,n){return{nativeEvent:{numberOfPointers:this.tracker.getTrackedPointersCount(),state:e,pointerInside:this.delegate.isPointerInBounds(this.tracker.getAbsoluteCoordsAverage()),...this.transformNativeEvent(),handlerTag:this.handlerTag,target:this.viewRef,oldState:e!==n?n:void 0,pointerType:this.pointerType},timeStamp:Date.now()}}transformTouchEvent(e){var n;const r=this.delegate.measureView(),i=[],a=[],s=this.tracker.getData();if(s.size===0||!s.has(e.pointerId))return;s.forEach((u,c)=>{const A=this.tracker.getMappedTouchEventId(c);i.push({id:A,x:u.abosoluteCoords.x-r.pageX,y:u.abosoluteCoords.y-r.pageY,absoluteX:u.abosoluteCoords.x,absoluteY:u.abosoluteCoords.y})}),e.eventType!==se.CANCEL?a.push({id:this.tracker.getMappedTouchEventId(e.pointerId),x:e.x-r.pageX,y:e.y-r.pageY,absoluteX:e.x,absoluteY:e.y}):s.forEach((u,c)=>{const A=this.tracker.getMappedTouchEventId(c);a.push({id:A,x:u.abosoluteCoords.x-r.pageX,y:u.abosoluteCoords.y-r.pageY,absoluteX:u.abosoluteCoords.x,absoluteY:u.abosoluteCoords.y})});let o=Yt.UNDETERMINED;switch(e.eventType){case se.DOWN:case se.ADDITIONAL_POINTER_DOWN:o=Yt.DOWN;break;case se.UP:case se.ADDITIONAL_POINTER_UP:o=Yt.UP;break;case se.MOVE:o=Yt.MOVE;break;case se.CANCEL:o=Yt.CANCELLED;break}let l=i.length;return(e.eventType===se.UP||e.eventType===se.ADDITIONAL_POINTER_UP)&&--l,{nativeEvent:{handlerTag:this.handlerTag,state:this.currentState,eventType:(n=e.touchEventType)!==null&&n!==void 0?n:o,changedTouches:a,allTouches:i,numberOfTouches:l,pointerType:this.pointerType},timeStamp:Date.now()}}cancelTouches(){const e=this.delegate.measureView(),n=[],r=[],i=this.tracker.getData();if(i.size===0)return;i.forEach((o,l)=>{const u=this.tracker.getMappedTouchEventId(l);n.push({id:u,x:o.abosoluteCoords.x-e.pageX,y:o.abosoluteCoords.y-e.pageY,absoluteX:o.abosoluteCoords.x,absoluteY:o.abosoluteCoords.y}),r.push({id:u,x:o.abosoluteCoords.x-e.pageX,y:o.abosoluteCoords.y-e.pageY,absoluteX:o.abosoluteCoords.x,absoluteY:o.abosoluteCoords.y})});const a={nativeEvent:{handlerTag:this.handlerTag,state:this.currentState,eventType:Yt.CANCELLED,changedTouches:r,allTouches:n,numberOfTouches:n.length,pointerType:this.pointerType},timeStamp:Date.now()},{onGestureHandlerEvent:s}=this.propsRef.current;Ba(s,a)}transformNativeEvent(){const e=this.tracker.getAbsoluteCoordsAverage(),n=this.tracker.getRelativeCoordsAverage();return{x:n.x,y:n.y,absoluteX:e.x,absoluteY:e.y}}updateGestureConfig({enabled:e=!0,...n}){if(this.config={enabled:e,...n},this.enabled=e,this.delegate.onEnabledChange(e),this.config.shouldCancelWhenOutside!==void 0&&this.setShouldCancelWhenOutside(this.config.shouldCancelWhenOutside),this.validateHitSlops(),!this.enabled)switch(this.currentState){case L.ACTIVE:this.fail(!0);break;case L.UNDETERMINED:en.getInstance().removeHandlerFromOrchestrator(this);break;default:this.cancel(!0);break}}checkCustomActivationCriteria(e){for(const n in this.config)e.indexOf(n)>=0&&(this.hasCustomActivationCriteria=!0)}validateHitSlops(){if(this.config.hitSlop){if(this.config.hitSlop.left!==void 0&&this.config.hitSlop.right!==void 0&&this.config.hitSlop.width!==void 0)throw new Error("HitSlop Error: Cannot define left, right and width at the same time");if(this.config.hitSlop.width!==void 0&&this.config.hitSlop.left===void 0&&this.config.hitSlop.right===void 0)throw new Error("HitSlop Error: When width is defined, either left or right has to be defined");if(this.config.hitSlop.height!==void 0&&this.config.hitSlop.top!==void 0&&this.config.hitSlop.bottom!==void 0)throw new Error("HitSlop Error: Cannot define top, bottom and height at the same time");if(this.config.hitSlop.height!==void 0&&this.config.hitSlop.top===void 0&&this.config.hitSlop.bottom===void 0)throw new Error("HitSlop Error: When height is defined, either top or bottom has to be defined")}}checkHitSlop(){if(!this.config.hitSlop)return!0;const{width:e,height:n}=this.delegate.measureView();let r=0,i=0,a=e,s=n;this.config.hitSlop.horizontal!==void 0&&(r-=this.config.hitSlop.horizontal,a+=this.config.hitSlop.horizontal),this.config.hitSlop.vertical!==void 0&&(i-=this.config.hitSlop.vertical,s+=this.config.hitSlop.vertical),this.config.hitSlop.left!==void 0&&(r=-this.config.hitSlop.left),this.config.hitSlop.right!==void 0&&(a=e+this.config.hitSlop.right),this.config.hitSlop.top!==void 0&&(i=-this.config.hitSlop.top),this.config.hitSlop.bottom!==void 0&&(s=e+this.config.hitSlop.bottom),this.config.hitSlop.width!==void 0&&(this.config.hitSlop.left!==void 0?a=r+this.config.hitSlop.width:this.config.hitSlop.right!==void 0&&(r=a-this.config.hitSlop.width)),this.config.hitSlop.height!==void 0&&(this.config.hitSlop.top!==void 0?s=i+this.config.hitSlop.height:this.config.hitSlop.bottom!==void 0&&(i=s-this.config.hitSlop.height));const o=this.delegate.measureView(),{x:l,y:u}=this.tracker.getLastAbsoluteCoords(),c=l-o.pageX,A=u-o.pageY;return c>=r&&c<=a&&A>=i&&A<=s}isButtonInConfig(e){return!e||!this.config.mouseButton&&e===fn.LEFT||this.config.mouseButton&&e&this.config.mouseButton}resetConfig(){}onDestroy(){this.delegate.destroy(this.config)}getTag(){return this.handlerTag}setTag(e){this.handlerTag=e}getConfig(){return this.config}getDelegate(){return this.delegate}getTracker(){return this.tracker}getTrackedPointersID(){return this.tracker.getTrackedPointersID()}getState(){return this.currentState}isEnabled(){return this.enabled}isFinished(){return this.currentState===L.END||this.currentState===L.FAILED||this.currentState===L.CANCELLED}setShouldCancelWhenOutside(e){this.shouldCancelWhenOutside=e}getShouldCancelWhenOutside(){return this.shouldCancelWhenOutside}getPointerType(){return this.pointerType}};function Ba(t,e){if(!t)return;if(typeof t=="function"){t(e);return}if("__getHandler"in t&&typeof t.__getHandler=="function"){const r=t.__getHandler();Ba(r,e);return}if(!("__nodeConfig"in t))return;const{argMapping:n}=t.__nodeConfig;if(Array.isArray(n))for(const[r,[i,a]]of n.entries()){if(!(i in e.nativeEvent))continue;const s=e.nativeEvent[i];a!=null&&a.setValue?a.setValue(s):t.__nodeConfig.argMapping[r]=[i,s]}}function Oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const eh=1,th=10,ac=Ui*Ui;let H2=class extends qn{constructor(...e){super(...e),Oe(this,"customActivationProperties",["activeOffsetXStart","activeOffsetXEnd","failOffsetXStart","failOffsetXEnd","activeOffsetYStart","activeOffsetYEnd","failOffsetYStart","failOffsetYEnd","minVelocityX","minVelocityY","minVelocity"]),Oe(this,"velocityX",0),Oe(this,"velocityY",0),Oe(this,"minDistSq",ac),Oe(this,"activeOffsetXStart",-Number.MAX_SAFE_INTEGER),Oe(this,"activeOffsetXEnd",Number.MIN_SAFE_INTEGER),Oe(this,"failOffsetXStart",Number.MIN_SAFE_INTEGER),Oe(this,"failOffsetXEnd",Number.MAX_SAFE_INTEGER),Oe(this,"activeOffsetYStart",Number.MAX_SAFE_INTEGER),Oe(this,"activeOffsetYEnd",Number.MIN_SAFE_INTEGER),Oe(this,"failOffsetYStart",Number.MIN_SAFE_INTEGER),Oe(this,"failOffsetYEnd",Number.MAX_SAFE_INTEGER),Oe(this,"minVelocityX",Number.MAX_SAFE_INTEGER),Oe(this,"minVelocityY",Number.MAX_SAFE_INTEGER),Oe(this,"minVelocitySq",Number.MAX_SAFE_INTEGER),Oe(this,"minPointers",eh),Oe(this,"maxPointers",th),Oe(this,"startX",0),Oe(this,"startY",0),Oe(this,"offsetX",0),Oe(this,"offsetY",0),Oe(this,"lastX",0),Oe(this,"lastY",0),Oe(this,"activateAfterLongPress",0),Oe(this,"activationTimeout",0)}init(e,n){super.init(e,n)}updateGestureConfig({enabled:e=!0,...n}){this.resetConfig(),super.updateGestureConfig({enabled:e,...n}),this.checkCustomActivationCriteria(this.customActivationProperties),this.config.minDist!==void 0?this.minDistSq=this.config.minDist*this.config.minDist:this.hasCustomActivationCriteria&&(this.minDistSq=Number.MAX_SAFE_INTEGER),this.config.minPointers!==void 0&&(this.minPointers=this.config.minPointers),this.config.maxPointers!==void 0&&(this.maxPointers=this.config.maxPointers),this.config.minVelocity!==void 0&&(this.minVelocityX=this.config.minVelocity,this.minVelocityY=this.config.minVelocity),this.config.minVelocityX!==void 0&&(this.minVelocityX=this.config.minVelocityX),this.config.minVelocityY!==void 0&&(this.minVelocityY=this.config.minVelocityY),this.config.activateAfterLongPress!==void 0&&(this.activateAfterLongPress=this.config.activateAfterLongPress),this.config.activeOffsetXStart!==void 0&&(this.activeOffsetXStart=this.config.activeOffsetXStart,this.config.activeOffsetXEnd===void 0&&(this.activeOffsetXEnd=Number.MAX_SAFE_INTEGER)),this.config.activeOffsetXEnd!==void 0&&(this.activeOffsetXEnd=this.config.activeOffsetXEnd,this.config.activeOffsetXStart===void 0&&(this.activeOffsetXStart=Number.MIN_SAFE_INTEGER)),this.config.failOffsetXStart!==void 0&&(this.failOffsetXStart=this.config.failOffsetXStart,this.config.failOffsetXEnd===void 0&&(this.failOffsetXEnd=Number.MAX_SAFE_INTEGER)),this.config.failOffsetXEnd!==void 0&&(this.failOffsetXEnd=this.config.failOffsetXEnd,this.config.failOffsetXStart===void 0&&(this.failOffsetXStart=Number.MIN_SAFE_INTEGER)),this.config.activeOffsetYStart!==void 0&&(this.activeOffsetYStart=this.config.activeOffsetYStart,this.config.activeOffsetYEnd===void 0&&(this.activeOffsetYEnd=Number.MAX_SAFE_INTEGER)),this.config.activeOffsetYEnd!==void 0&&(this.activeOffsetYEnd=this.config.activeOffsetYEnd,this.config.activeOffsetYStart===void 0&&(this.activeOffsetYStart=Number.MIN_SAFE_INTEGER)),this.config.failOffsetYStart!==void 0&&(this.failOffsetYStart=this.config.failOffsetYStart,this.config.failOffsetYEnd===void 0&&(this.failOffsetYEnd=Number.MAX_SAFE_INTEGER)),this.config.failOffsetYEnd!==void 0&&(this.failOffsetYEnd=this.config.failOffsetYEnd,this.config.failOffsetYStart===void 0&&(this.failOffsetYStart=Number.MIN_SAFE_INTEGER))}resetConfig(){super.resetConfig(),this.activeOffsetXStart=-Number.MAX_SAFE_INTEGER,this.activeOffsetXEnd=Number.MIN_SAFE_INTEGER,this.failOffsetXStart=Number.MIN_SAFE_INTEGER,this.failOffsetXEnd=Number.MAX_SAFE_INTEGER,this.activeOffsetYStart=Number.MAX_SAFE_INTEGER,this.activeOffsetYEnd=Number.MIN_SAFE_INTEGER,this.failOffsetYStart=Number.MIN_SAFE_INTEGER,this.failOffsetYEnd=Number.MAX_SAFE_INTEGER,this.minVelocityX=Number.MAX_SAFE_INTEGER,this.minVelocityY=Number.MAX_SAFE_INTEGER,this.minVelocitySq=Number.MAX_SAFE_INTEGER,this.minDistSq=ac,this.minPointers=eh,this.maxPointers=th,this.activateAfterLongPress=0}transformNativeEvent(){const e=this.getTranslationX(),n=this.getTranslationY();return{...super.transformNativeEvent(),translationX:isNaN(e)?0:e,translationY:isNaN(n)?0:n,velocityX:this.velocityX,velocityY:this.velocityY}}getTranslationX(){return this.lastX-this.startX+this.offsetX}getTranslationY(){return this.lastY-this.startY+this.offsetY}clearActivationTimeout(){clearTimeout(this.activationTimeout)}onPointerDown(e){if(!this.isButtonInConfig(e.button))return;this.tracker.addToTracker(e),super.onPointerDown(e);const n=this.tracker.getAbsoluteCoordsAverage();this.lastX=n.x,this.lastY=n.y,this.startX=this.lastX,this.startY=this.lastY,this.tryBegin(e),this.checkBegan(),this.tryToSendTouchEvent(e)}onPointerAdd(e){this.tracker.addToTracker(e),super.onPointerAdd(e),this.tryBegin(e),this.offsetX+=this.lastX-this.startX,this.offsetY+=this.lastY-this.startY;const n=this.tracker.getAbsoluteCoordsAverage();this.lastX=n.x,this.lastY=n.y,this.startX=this.lastX,this.startY=this.lastY,this.tracker.getTrackedPointersCount()>this.maxPointers?this.currentState===L.ACTIVE?this.cancel():this.fail():this.checkBegan()}onPointerUp(e){if(super.onPointerUp(e),this.currentState===L.ACTIVE){const n=this.tracker.getAbsoluteCoordsAverage();this.lastX=n.x,this.lastY=n.y}this.tracker.removeFromTracker(e.pointerId),this.tracker.getTrackedPointersCount()===0&&this.clearActivationTimeout(),this.currentState===L.ACTIVE?this.end():(this.resetProgress(),this.fail())}onPointerRemove(e){super.onPointerRemove(e),this.tracker.removeFromTracker(e.pointerId),this.offsetX+=this.lastX-this.startX,this.offsetY+=this.lastY-this.startY;const n=this.tracker.getAbsoluteCoordsAverage();this.lastX=n.x,this.lastY=n.y,this.startX=this.lastX,this.startY=this.lastY,this.currentState===L.ACTIVE&&this.tracker.getTrackedPointersCount()<this.minPointers||this.checkBegan()}onPointerMove(e){this.tracker.track(e);const n=this.tracker.getAbsoluteCoordsAverage();this.lastX=n.x,this.lastY=n.y;const r=this.tracker.getVelocity(e.pointerId);this.velocityX=r.x,this.velocityY=r.y,this.checkBegan(),super.onPointerMove(e)}onPointerOutOfBounds(e){if(this.getShouldCancelWhenOutside())return;this.tracker.track(e);const n=this.tracker.getAbsoluteCoordsAverage();this.lastX=n.x,this.lastY=n.y;const r=this.tracker.getVelocity(e.pointerId);this.velocityX=r.x,this.velocityY=r.y,this.checkBegan(),this.currentState===L.ACTIVE&&super.onPointerOutOfBounds(e)}shouldActivate(){const e=this.getTranslationX();if(this.activeOffsetXStart!==Number.MAX_SAFE_INTEGER&&e<this.activeOffsetXStart||this.activeOffsetXEnd!==Number.MIN_SAFE_INTEGER&&e>this.activeOffsetXEnd)return!0;const n=this.getTranslationY();if(this.activeOffsetYStart!==Number.MAX_SAFE_INTEGER&&n<this.activeOffsetYStart||this.activeOffsetYEnd!==Number.MIN_SAFE_INTEGER&&n>this.activeOffsetYEnd)return!0;const r=e*e+n*n;if(this.minDistSq!==Number.MAX_SAFE_INTEGER&&r>=this.minDistSq)return!0;const i=this.velocityX;if(this.minVelocityX!==Number.MAX_SAFE_INTEGER&&(this.minVelocityX<0&&i<=this.minVelocityX||this.minVelocityX>=0&&this.minVelocityX<=i))return!0;const a=this.velocityY;if(this.minVelocityY!==Number.MAX_SAFE_INTEGER&&(this.minVelocityY<0&&a<=this.minVelocityY||this.minVelocityY>=0&&this.minVelocityY<=a))return!0;const s=i*i+a*a;return this.minVelocitySq!==Number.MAX_SAFE_INTEGER&&s>=this.minVelocitySq}shouldFail(){const e=this.getTranslationX(),n=this.getTranslationY(),r=e*e+n*n;return this.activateAfterLongPress>0&&r>ac?(this.clearActivationTimeout(),!0):this.failOffsetXStart!==Number.MIN_SAFE_INTEGER&&e<this.failOffsetXStart||this.failOffsetXEnd!==Number.MAX_SAFE_INTEGER&&e>this.failOffsetXEnd||this.failOffsetYStart!==Number.MIN_SAFE_INTEGER&&n<this.failOffsetYStart?!0:this.failOffsetYEnd!==Number.MAX_SAFE_INTEGER&&n>this.failOffsetYEnd}tryBegin(e){if(this.currentState===L.UNDETERMINED&&this.tracker.getTrackedPointersCount()>=this.minPointers)this.resetProgress(),this.offsetX=0,this.offsetY=0,this.velocityX=0,this.velocityY=0,this.begin(),this.activateAfterLongPress>0&&(this.activationTimeout=setTimeout(()=>{this.activate()},this.activateAfterLongPress));else{const n=this.tracker.getVelocity(e.pointerId);this.velocityX=n.x,this.velocityY=n.y}}checkBegan(){this.currentState===L.BEGAN&&(this.shouldFail()?this.fail():this.shouldActivate()&&this.activate())}activate(e=!1){this.currentState!==L.ACTIVE&&this.resetProgress(),super.activate(e)}onCancel(){this.clearActivationTimeout()}onReset(){this.clearActivationTimeout()}resetProgress(){this.currentState!==L.ACTIVE&&(this.startX=this.lastX,this.startY=this.lastY)}};function tt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const nh=500,rh=500,ih=1,ah=1;let U2=class extends qn{constructor(...e){super(...e),tt(this,"maxDeltaX",Number.MIN_SAFE_INTEGER),tt(this,"maxDeltaY",Number.MIN_SAFE_INTEGER),tt(this,"maxDistSq",Number.MIN_SAFE_INTEGER),tt(this,"maxDurationMs",nh),tt(this,"maxDelayMs",rh),tt(this,"numberOfTaps",ih),tt(this,"minNumberOfPointers",ah),tt(this,"currentMaxNumberOfPointers",1),tt(this,"startX",0),tt(this,"startY",0),tt(this,"offsetX",0),tt(this,"offsetY",0),tt(this,"lastX",0),tt(this,"lastY",0),tt(this,"waitTimeout",void 0),tt(this,"delayTimeout",void 0),tt(this,"tapsSoFar",0)}init(e,n){super.init(e,n)}updateGestureConfig({enabled:e=!0,...n}){super.updateGestureConfig({enabled:e,...n}),this.config.numberOfTaps!==void 0&&(this.numberOfTaps=this.config.numberOfTaps),this.config.maxDurationMs!==void 0&&(this.maxDurationMs=this.config.maxDurationMs),this.config.maxDelayMs!==void 0&&(this.maxDelayMs=this.config.maxDelayMs),this.config.maxDeltaX!==void 0&&(this.maxDeltaX=this.config.maxDeltaX),this.config.maxDeltaY!==void 0&&(this.maxDeltaY=this.config.maxDeltaY),this.config.maxDist!==void 0&&(this.maxDistSq=this.config.maxDist*this.config.maxDist),this.config.minPointers!==void 0&&(this.minNumberOfPointers=this.config.minPointers)}resetConfig(){super.resetConfig(),this.maxDeltaX=Number.MIN_SAFE_INTEGER,this.maxDeltaY=Number.MIN_SAFE_INTEGER,this.maxDistSq=Number.MIN_SAFE_INTEGER,this.maxDurationMs=nh,this.maxDelayMs=rh,this.numberOfTaps=ih,this.minNumberOfPointers=ah}clearTimeouts(){clearTimeout(this.waitTimeout),clearTimeout(this.delayTimeout)}startTap(){this.clearTimeouts(),this.waitTimeout=setTimeout(()=>this.fail(),this.maxDurationMs)}endTap(){this.clearTimeouts(),++this.tapsSoFar===this.numberOfTaps&&this.currentMaxNumberOfPointers>=this.minNumberOfPointers?this.activate():this.delayTimeout=setTimeout(()=>this.fail(),this.maxDelayMs)}onPointerDown(e){this.isButtonInConfig(e.button)&&(this.tracker.addToTracker(e),super.onPointerDown(e),this.trySettingPosition(e),this.startX=e.x,this.startY=e.y,this.lastX=e.x,this.lastY=e.y,this.updateState(e),this.tryToSendTouchEvent(e))}onPointerAdd(e){super.onPointerAdd(e),this.tracker.addToTracker(e),this.trySettingPosition(e),this.offsetX+=this.lastX-this.startX,this.offsetY+=this.lastY-this.startY;const n=this.tracker.getAbsoluteCoordsAverage();this.lastX=n.x,this.lastY=n.y,this.startX=n.x,this.startY=n.y,this.updateState(e)}onPointerUp(e){super.onPointerUp(e);const n=this.tracker.getAbsoluteCoordsAverage();this.lastX=n.x,this.lastY=n.y,this.tracker.removeFromTracker(e.pointerId),this.updateState(e)}onPointerRemove(e){super.onPointerRemove(e),this.tracker.removeFromTracker(e.pointerId),this.offsetX+=this.lastX-this.startX,this.offsetY+=this.lastY=this.startY;const n=this.tracker.getAbsoluteCoordsAverage();this.lastX=n.x,this.lastY=n.y,this.startX=this.lastX,this.startY=this.lastY,this.updateState(e)}onPointerMove(e){this.trySettingPosition(e),this.tracker.track(e);const n=this.tracker.getAbsoluteCoordsAverage();this.lastX=n.x,this.lastY=n.y,this.updateState(e),super.onPointerMove(e)}onPointerOutOfBounds(e){this.trySettingPosition(e),this.tracker.track(e);const n=this.tracker.getAbsoluteCoordsAverage();this.lastX=n.x,this.lastY=n.y,this.updateState(e),super.onPointerOutOfBounds(e)}updateState(e){if(this.currentMaxNumberOfPointers<this.tracker.getTrackedPointersCount()&&(this.currentMaxNumberOfPointers=this.tracker.getTrackedPointersCount()),this.shouldFail()){this.fail();return}switch(this.currentState){case L.UNDETERMINED:e.eventType===se.DOWN&&this.begin(),this.startTap();break;case L.BEGAN:e.eventType===se.UP&&this.endTap(),e.eventType===se.DOWN&&this.startTap();break}}trySettingPosition(e){this.currentState===L.UNDETERMINED&&(this.offsetX=0,this.offsetY=0,this.startX=e.x,this.startY=e.y)}shouldFail(){const e=this.lastX-this.startX+this.offsetX;if(this.maxDeltaX!==Number.MIN_SAFE_INTEGER&&Math.abs(e)>this.maxDeltaX)return!0;const n=this.lastY-this.startY+this.offsetY;if(this.maxDeltaY!==Number.MIN_SAFE_INTEGER&&Math.abs(n)>this.maxDeltaY)return!0;const r=n*n+e*e;return this.maxDistSq!==Number.MIN_SAFE_INTEGER&&r>this.maxDistSq}activate(){super.activate(),this.end()}onCancel(){this.resetProgress(),this.clearTimeouts()}resetProgress(){this.clearTimeouts(),this.tapsSoFar=0,this.currentMaxNumberOfPointers=0}};function bn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const sh=500,W2=10,X2=10;let Y2=class extends qn{constructor(...e){super(...e),bn(this,"minDurationMs",sh),bn(this,"defaultMaxDistSq",W2*X2),bn(this,"maxDistSq",this.defaultMaxDistSq),bn(this,"numberOfPointers",1),bn(this,"startX",0),bn(this,"startY",0),bn(this,"startTime",0),bn(this,"previousTime",0),bn(this,"activationTimeout",void 0)}init(e,n){this.config.enableContextMenu===void 0&&(this.config.enableContextMenu=!1),super.init(e,n)}transformNativeEvent(){return{...super.transformNativeEvent(),duration:Date.now()-this.startTime}}updateGestureConfig({enabled:e=!0,...n}){super.updateGestureConfig({enabled:e,...n}),this.config.minDurationMs!==void 0&&(this.minDurationMs=this.config.minDurationMs),this.config.maxDist!==void 0&&(this.maxDistSq=this.config.maxDist*this.config.maxDist),this.config.numberOfPointers!==void 0&&(this.numberOfPointers=this.config.numberOfPointers)}resetConfig(){super.resetConfig(),this.minDurationMs=sh,this.maxDistSq=this.defaultMaxDistSq}onStateChange(e,n){clearTimeout(this.activationTimeout)}onPointerDown(e){this.isButtonInConfig(e.button)&&(this.tracker.addToTracker(e),super.onPointerDown(e),this.startX=e.x,this.startY=e.y,this.tryBegin(),this.tryActivate(),this.tryToSendTouchEvent(e))}onPointerAdd(e){if(super.onPointerAdd(e),this.tracker.addToTracker(e),this.tracker.getTrackedPointersCount()>this.numberOfPointers){this.fail();return}const n=this.tracker.getAbsoluteCoordsAverage();this.startX=n.x,this.startY=n.y,this.tryActivate()}onPointerMove(e){super.onPointerMove(e),this.tracker.track(e),this.checkDistanceFail()}onPointerUp(e){super.onPointerUp(e),this.tracker.removeFromTracker(e.pointerId),this.currentState===L.ACTIVE?this.end():this.fail()}onPointerRemove(e){super.onPointerRemove(e),this.tracker.removeFromTracker(e.pointerId),this.tracker.getTrackedPointersCount()<this.numberOfPointers&&this.getState()!==L.ACTIVE&&this.fail()}tryBegin(){this.currentState===L.UNDETERMINED&&(this.previousTime=Date.now(),this.startTime=this.previousTime,this.begin())}tryActivate(){this.tracker.getTrackedPointersCount()===this.numberOfPointers&&(this.minDurationMs>0?this.activationTimeout=setTimeout(()=>{this.activate()},this.minDurationMs):this.minDurationMs===0&&this.activate())}checkDistanceFail(){const e=this.tracker.getAbsoluteCoordsAverage(),n=e.x-this.startX,r=e.y-this.startY;n*n+r*r<=this.maxDistSq||(this.currentState===L.ACTIVE?this.cancel():this.fail())}};function Ft(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class z2{constructor(e){Ft(this,"onScaleBegin",void 0),Ft(this,"onScale",void 0),Ft(this,"onScaleEnd",void 0),Ft(this,"focusX",void 0),Ft(this,"focusY",void 0),Ft(this,"currentSpan",void 0),Ft(this,"prevSpan",void 0),Ft(this,"initialSpan",void 0),Ft(this,"currentTime",void 0),Ft(this,"prevTime",void 0),Ft(this,"inProgress",!1),Ft(this,"spanSlop",void 0),Ft(this,"minSpan",void 0),this.onScaleBegin=e.onScaleBegin,this.onScale=e.onScale,this.onScaleEnd=e.onScaleEnd,this.spanSlop=Ui*2,this.minSpan=0}onTouchEvent(e,n){this.currentTime=e.time;const r=e.eventType,i=n.getTrackedPointersCount(),a=r===se.UP||r===se.ADDITIONAL_POINTER_UP||r===se.CANCEL;if((r===se.DOWN||a)&&(this.inProgress&&(this.onScaleEnd(this),this.inProgress=!1,this.initialSpan=0),a))return!0;const s=r===se.DOWN||r===se.ADDITIONAL_POINTER_UP||r===se.ADDITIONAL_POINTER_DOWN,o=r===se.ADDITIONAL_POINTER_UP,l=o?e.pointerId:void 0,u=o?i-1:i,c=n.getAbsoluteCoordsSum(),A=c.x/u,d=c.y/u;let f=0,p=0;n.getData().forEach((y,x)=>{x!==l&&(f+=Math.abs(y.abosoluteCoords.x-A),p+=Math.abs(y.abosoluteCoords.y-d))});const h=f/u,v=p/u,E=h*2,C=v*2,m=Math.hypot(E,C),g=this.inProgress;return this.focusX=A,this.focusY=d,this.inProgress&&(m<this.minSpan||s)&&(this.onScaleEnd(this),this.inProgress=!1,this.initialSpan=m),s&&(this.initialSpan=this.prevSpan=this.currentSpan=m),!this.inProgress&&m>=this.minSpan&&(g||Math.abs(m-this.initialSpan)>this.spanSlop)&&(this.prevSpan=this.currentSpan=m,this.prevTime=this.currentTime,this.inProgress=this.onScaleBegin(this)),r!==se.MOVE||(this.currentSpan=m,this.inProgress&&!this.onScale(this))||(this.prevSpan=this.currentSpan,this.prevTime=this.currentTime),!0}getCurrentSpan(){return this.currentSpan}getFocusX(){return this.focusX}getFocusY(){return this.focusY}getTimeDelta(){return this.currentTime-this.prevTime}getScaleFactor(e){return e<2?1:this.prevSpan>0?this.currentSpan/this.prevSpan:1}}function Ci(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}let K2=class extends qn{constructor(...e){super(...e),Ci(this,"scale",1),Ci(this,"velocity",0),Ci(this,"startingSpan",0),Ci(this,"spanSlop",Ui),Ci(this,"scaleDetectorListener",{onScaleBegin:n=>(this.startingSpan=n.getCurrentSpan(),!0),onScale:n=>{const r=this.scale;this.scale*=n.getScaleFactor(this.tracker.getTrackedPointersCount());const i=n.getTimeDelta();return i>0&&(this.velocity=(this.scale-r)/i),Math.abs(this.startingSpan-n.getCurrentSpan())>=this.spanSlop&&this.currentState===L.BEGAN&&this.activate(),!0},onScaleEnd:n=>{}}),Ci(this,"scaleGestureDetector",new z2(this.scaleDetectorListener))}init(e,n){super.init(e,n),this.setShouldCancelWhenOutside(!1)}updateGestureConfig({enabled:e=!0,...n}){super.updateGestureConfig({enabled:e,...n})}transformNativeEvent(){return{focalX:this.scaleGestureDetector.getFocusX(),focalY:this.scaleGestureDetector.getFocusY(),velocity:this.velocity,scale:this.scale}}onPointerDown(e){this.tracker.addToTracker(e),super.onPointerDown(e),this.tryToSendTouchEvent(e)}onPointerAdd(e){this.tracker.addToTracker(e),super.onPointerAdd(e),this.tryBegin(),this.scaleGestureDetector.onTouchEvent(e,this.tracker)}onPointerUp(e){super.onPointerUp(e),this.tracker.removeFromTracker(e.pointerId),this.currentState===L.ACTIVE&&(this.scaleGestureDetector.onTouchEvent(e,this.tracker),this.currentState===L.ACTIVE?this.end():this.fail())}onPointerRemove(e){super.onPointerRemove(e),this.scaleGestureDetector.onTouchEvent(e,this.tracker),this.tracker.removeFromTracker(e.pointerId),this.currentState===L.ACTIVE&&this.tracker.getTrackedPointersCount()<2&&this.end()}onPointerMove(e){this.tracker.getTrackedPointersCount()<2||(this.tracker.track(e),this.scaleGestureDetector.onTouchEvent(e,this.tracker),super.onPointerMove(e))}onPointerOutOfBounds(e){this.tracker.getTrackedPointersCount()<2||(this.tracker.track(e),this.scaleGestureDetector.onTouchEvent(e,this.tracker),super.onPointerOutOfBounds(e))}tryBegin(){this.currentState===L.UNDETERMINED&&(this.resetProgress(),this.begin())}activate(e){this.currentState!==L.ACTIVE&&this.resetProgress(),super.activate(e)}onReset(){this.resetProgress()}resetProgress(){this.currentState!==L.ACTIVE&&(this.velocity=0,this.scale=1)}};function qt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class $2{constructor(e){qt(this,"onRotationBegin",void 0),qt(this,"onRotation",void 0),qt(this,"onRotationEnd",void 0),qt(this,"currentTime",0),qt(this,"previousTime",0),qt(this,"previousAngle",0),qt(this,"rotation",0),qt(this,"anchorX",0),qt(this,"anchorY",0),qt(this,"isInProgress",!1),qt(this,"keyPointers",[NaN,NaN]),this.onRotationBegin=e.onRotationBegin,this.onRotation=e.onRotation,this.onRotationEnd=e.onRotationEnd}updateCurrent(e,n){this.previousTime=this.currentTime,this.currentTime=e.time;const[r,i]=this.keyPointers,a=n.getLastAbsoluteCoords(r),s=n.getLastAbsoluteCoords(i),o=s.x-a.x,l=s.y-a.y;this.anchorX=(a.x+s.x)/2,this.anchorY=(a.y+s.y)/2;const u=-Math.atan2(l,o);this.rotation=Number.isNaN(this.previousAngle)?0:this.previousAngle-u,this.previousAngle=u,this.rotation>Math.PI?this.rotation-=Math.PI:this.rotation<-Math.PI&&(this.rotation+=Math.PI),this.rotation>Math.PI/2?this.rotation-=Math.PI:this.rotation<-Math.PI/2&&(this.rotation+=Math.PI)}finish(){this.isInProgress&&(this.isInProgress=!1,this.keyPointers=[NaN,NaN],this.onRotationEnd(this))}setKeyPointers(e){if(this.keyPointers[0]&&this.keyPointers[1])return;const n=e.getData().keys();this.keyPointers[0]=n.next().value,this.keyPointers[1]=n.next().value}onTouchEvent(e,n){switch(e.eventType){case se.DOWN:this.isInProgress=!1;break;case se.ADDITIONAL_POINTER_DOWN:if(this.isInProgress)break;this.isInProgress=!0,this.previousTime=e.time,this.previousAngle=NaN,this.setKeyPointers(n),this.updateCurrent(e,n),this.onRotationBegin(this);break;case se.MOVE:if(!this.isInProgress)break;this.updateCurrent(e,n),this.onRotation(this);break;case se.ADDITIONAL_POINTER_UP:if(!this.isInProgress)break;this.keyPointers.indexOf(e.pointerId)>=0&&this.finish();break;case se.UP:this.isInProgress&&this.finish();break}return!0}getTimeDelta(){return this.currentTime+this.previousTime}getAnchorX(){return this.anchorX}getAnchorY(){return this.anchorY}getRotation(){return this.rotation}reset(){this.keyPointers=[NaN,NaN],this.isInProgress=!1}}function Ei(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const q2=Math.PI/36;let j2=class extends qn{constructor(...e){super(...e),Ei(this,"rotation",0),Ei(this,"velocity",0),Ei(this,"cachedAnchorX",0),Ei(this,"cachedAnchorY",0),Ei(this,"rotationGestureListener",{onRotationBegin:n=>!0,onRotation:n=>{const r=this.rotation;this.rotation+=n.getRotation();const i=n.getTimeDelta();return i>0&&(this.velocity=(this.rotation-r)/i),Math.abs(this.rotation)>=q2&&this.currentState===L.BEGAN&&this.activate(),!0},onRotationEnd:n=>{this.end()}}),Ei(this,"rotationGestureDetector",new $2(this.rotationGestureListener))}init(e,n){super.init(e,n),this.setShouldCancelWhenOutside(!1)}updateGestureConfig({enabled:e=!0,...n}){super.updateGestureConfig({enabled:e,...n})}transformNativeEvent(){return{rotation:this.rotation?this.rotation:0,anchorX:this.getAnchorX(),anchorY:this.getAnchorY(),velocity:this.velocity?this.velocity:0}}getAnchorX(){const e=this.rotationGestureDetector.getAnchorX();return e||this.cachedAnchorX}getAnchorY(){const e=this.rotationGestureDetector.getAnchorY();return e||this.cachedAnchorY}onPointerDown(e){this.tracker.addToTracker(e),super.onPointerDown(e),this.tryToSendTouchEvent(e)}onPointerAdd(e){this.tracker.addToTracker(e),super.onPointerAdd(e),this.tryBegin(),this.rotationGestureDetector.onTouchEvent(e,this.tracker)}onPointerMove(e){this.tracker.getTrackedPointersCount()<2||(this.getAnchorX()&&(this.cachedAnchorX=this.getAnchorX()),this.getAnchorY()&&(this.cachedAnchorY=this.getAnchorY()),this.tracker.track(e),this.rotationGestureDetector.onTouchEvent(e,this.tracker),super.onPointerMove(e))}onPointerOutOfBounds(e){this.tracker.getTrackedPointersCount()<2||(this.getAnchorX()&&(this.cachedAnchorX=this.getAnchorX()),this.getAnchorY()&&(this.cachedAnchorY=this.getAnchorY()),this.tracker.track(e),this.rotationGestureDetector.onTouchEvent(e,this.tracker),super.onPointerOutOfBounds(e))}onPointerUp(e){super.onPointerUp(e),this.tracker.removeFromTracker(e.pointerId),this.rotationGestureDetector.onTouchEvent(e,this.tracker),this.currentState===L.ACTIVE&&(this.currentState===L.ACTIVE?this.end():this.fail())}onPointerRemove(e){super.onPointerRemove(e),this.rotationGestureDetector.onTouchEvent(e,this.tracker),this.tracker.removeFromTracker(e.pointerId)}tryBegin(){this.currentState===L.UNDETERMINED&&this.begin()}activate(e){super.activate()}onReset(){this.currentState!==L.ACTIVE&&(this.rotation=0,this.velocity=0,this.rotationGestureDetector.reset())}};const Kd=1,$d=2,qd=4,jd=8,Xr={RIGHT:Kd,LEFT:$d,UP:qd,DOWN:jd},Na={UP_RIGHT:qd|Kd,DOWN_RIGHT:jd|Kd,UP_LEFT:qd|$d,DOWN_LEFT:jd|$d};function ma(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class Mt{constructor(e,n){ma(this,"x",void 0),ma(this,"y",void 0),ma(this,"unitX",void 0),ma(this,"unitY",void 0),ma(this,"_magnitude",void 0),this.x=e,this.y=n,this._magnitude=Math.hypot(this.x,this.y);const r=this._magnitude>k2;this.unitX=r?this.x/this._magnitude:0,this.unitY=r?this.y/this._magnitude:0}static fromDirection(e){var n;return(n=Q2.get(e))!==null&&n!==void 0?n:new Mt(0,0)}static fromVelocity(e,n){const r=e.getVelocity(n);return new Mt(r.x,r.y)}get magnitude(){return this._magnitude}computeSimilarity(e){return this.unitX*e.unitX+this.unitY*e.unitY}isSimilar(e,n){return this.computeSimilarity(e)>n}}const Q2=new Map([[Xr.LEFT,new Mt(-1,0)],[Xr.RIGHT,new Mt(1,0)],[Xr.UP,new Mt(0,-1)],[Xr.DOWN,new Mt(0,1)],[Na.UP_RIGHT,new Mt(1,-1)],[Na.DOWN_RIGHT,new Mt(1,1)],[Na.UP_LEFT,new Mt(-1,-1)],[Na.DOWN_LEFT,new Mt(-1,1)]]);function ts(t,{x:e,y:n}){const r=t.getBoundingClientRect();return e>=r.left&&e<=r.right&&n>=r.top&&n<=r.bottom}const Z2=new Map([["mouse",St.MOUSE],["touch",St.TOUCH],["pen",St.STYLUS],["none",St.OTHER]]),J2=t=>t*Math.PI/180,rC=t=>Math.cos(J2(t/2));function iC(t){var e;const n=getComputedStyle(t),r={scaleX:1,scaleY:1};if(n.scale!==void 0&&n.scale!=="none"){const a=n.scale.split(" ");a[0]&&(r.scaleX=parseFloat(a[0])),r.scaleY=a[1]?parseFloat(a[1]):parseFloat(a[0])}const i=(e=new RegExp(/matrix\((.+)\)/).exec(n.transform))===null||e===void 0?void 0:e[1];if(i){const a=i.split(", ");r.scaleX*=parseFloat(a[0]),r.scaleY*=parseFloat(a[3])}return r}function Fr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const eT=800,tT=700,aC=30,oh=Xr.RIGHT,lh=1,nT=rC(aC),rT=rC(90-aC);let iT=class extends qn{constructor(...e){super(...e),Fr(this,"numberOfPointersRequired",lh),Fr(this,"direction",oh),Fr(this,"maxDurationMs",eT),Fr(this,"minVelocity",tT),Fr(this,"delayTimeout",void 0),Fr(this,"maxNumberOfPointersSimultaneously",0),Fr(this,"keyPointer",NaN)}init(e,n){super.init(e,n)}updateGestureConfig({enabled:e=!0,...n}){super.updateGestureConfig({enabled:e,...n}),this.config.direction&&(this.direction=this.config.direction),this.config.numberOfPointers&&(this.numberOfPointersRequired=this.config.numberOfPointers)}startFling(){this.begin(),this.maxNumberOfPointersSimultaneously=1,this.delayTimeout=setTimeout(()=>this.fail(),this.maxDurationMs)}tryEndFling(){const e=Mt.fromVelocity(this.tracker,this.keyPointer),n=(u,c)=>(u&this.direction)===u&&e.isSimilar(Mt.fromDirection(u),c),r=Object.values(Xr),i=Object.values(Na),a=r.map(u=>n(u,nT)),s=i.map(u=>n(u,rT)),o=a.some(Boolean)||s.some(Boolean),l=e.magnitude>this.minVelocity;return this.maxNumberOfPointersSimultaneously===this.numberOfPointersRequired&&o&&l?(clearTimeout(this.delayTimeout),this.activate(),!0):!1}endFling(){this.tryEndFling()||this.fail()}onPointerDown(e){this.isButtonInConfig(e.button)&&(this.tracker.addToTracker(e),this.keyPointer=e.pointerId,super.onPointerDown(e),this.newPointerAction(),this.tryToSendTouchEvent(e))}onPointerAdd(e){this.tracker.addToTracker(e),super.onPointerAdd(e),this.newPointerAction()}newPointerAction(){this.currentState===L.UNDETERMINED&&this.startFling(),this.currentState===L.BEGAN&&(this.tryEndFling(),this.tracker.getTrackedPointersCount()>this.maxNumberOfPointersSimultaneously&&(this.maxNumberOfPointersSimultaneously=this.tracker.getTrackedPointersCount()))}pointerMoveAction(e){this.tracker.track(e),this.currentState===L.BEGAN&&this.tryEndFling()}onPointerMove(e){this.pointerMoveAction(e),super.onPointerMove(e)}onPointerOutOfBounds(e){this.pointerMoveAction(e),super.onPointerOutOfBounds(e)}onPointerUp(e){super.onPointerUp(e),this.onUp(e),this.keyPointer=NaN}onPointerRemove(e){super.onPointerRemove(e),this.onUp(e)}onUp(e){this.currentState===L.BEGAN&&this.endFling(),this.tracker.removeFromTracker(e.pointerId)}activate(e){super.activate(e),this.end()}resetConfig(){super.resetConfig(),this.numberOfPointersRequired=lh,this.direction=oh}};function xi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}let aT=class sC extends qn{constructor(...e){super(...e),xi(this,"buttonRole",void 0),xi(this,"shouldActivateOnStart",!1),xi(this,"disallowInterruption",!1),xi(this,"startX",0),xi(this,"startY",0),xi(this,"minDistSq",Ui*Ui)}init(e,n){if(super.init(e,n),this.setShouldCancelWhenOutside(!0),ue.OS!=="web")return;const r=this.delegate.getView();this.restoreViewStyles(r),this.buttonRole=r.getAttribute("role")==="button"}updateGestureConfig({enabled:e=!0,...n}){super.updateGestureConfig({enabled:e,...n}),this.config.shouldActivateOnStart!==void 0&&(this.shouldActivateOnStart=this.config.shouldActivateOnStart),this.config.disallowInterruption!==void 0&&(this.disallowInterruption=this.config.disallowInterruption);const r=this.delegate.getView();this.restoreViewStyles(r)}restoreViewStyles(e){e&&(e.style.touchAction="auto",e.style.WebkitTouchCallout="auto")}resetConfig(){super.resetConfig()}onPointerDown(e){this.tracker.addToTracker(e),super.onPointerDown(e),this.newPointerAction(),this.tryToSendTouchEvent(e)}onPointerAdd(e){this.tracker.addToTracker(e),super.onPointerAdd(e),this.newPointerAction()}newPointerAction(){const e=this.tracker.getAbsoluteCoordsAverage();this.startX=e.x,this.startY=e.y,this.currentState===L.UNDETERMINED&&(this.begin(),this.buttonRole&&this.activate())}onPointerMove(e){this.tracker.track(e);const n=this.tracker.getAbsoluteCoordsAverage(),r=this.startX-n.x,i=this.startY-n.y;r*r+i*i>=this.minDistSq&&(this.buttonRole&&this.currentState===L.ACTIVE?this.cancel():!this.buttonRole&&this.currentState===L.BEGAN&&this.activate())}onPointerLeave(){(this.currentState===L.BEGAN||this.currentState===L.ACTIVE)&&this.cancel()}onPointerUp(e){super.onPointerUp(e),this.onUp(e)}onPointerRemove(e){super.onPointerRemove(e),this.onUp(e)}onUp(e){this.tracker.removeFromTracker(e.pointerId),this.tracker.getTrackedPointersCount()===0&&(this.currentState===L.ACTIVE?this.end():this.fail())}shouldRecognizeSimultaneously(e){if(super.shouldRecognizeSimultaneously(e))return!0;if(e instanceof sC&&e.getState()===L.ACTIVE&&e.disallowsInterruption())return!1;const n=!this.disallowInterruption;return this.currentState===L.ACTIVE&&e.getState()===L.ACTIVE&&n?!1:this.currentState===L.ACTIVE&&n&&e.getTag()>0}shouldBeCancelledByOther(e){return!this.disallowInterruption}disallowsInterruption(){return this.disallowInterruption}isButton(){return this.buttonRole}};class sT extends qn{init(e,n){super.init(e,n)}updateGestureConfig({enabled:e=!0,...n}){super.updateGestureConfig({enabled:e,...n})}onPointerDown(e){this.tracker.addToTracker(e),super.onPointerDown(e),this.begin(),this.tryToSendTouchEvent(e)}onPointerAdd(e){this.tracker.addToTracker(e),super.onPointerAdd(e)}onPointerMove(e){this.tracker.track(e),super.onPointerMove(e)}onPointerOutOfBounds(e){this.tracker.track(e),super.onPointerOutOfBounds(e)}onPointerUp(e){super.onPointerUp(e),this.tracker.removeFromTracker(e.pointerId)}onPointerRemove(e){super.onPointerRemove(e),this.tracker.removeFromTracker(e.pointerId)}}class oT extends qn{init(e,n){super.init(e,n)}updateGestureConfig({enabled:e=!0,...n}){super.updateGestureConfig({enabled:e,...n})}onPointerMoveOver(e){en.getInstance().recordHandlerIfNotPresent(this),this.tracker.addToTracker(e),super.onPointerMoveOver(e),this.getState()===L.UNDETERMINED&&(this.begin(),this.activate())}onPointerMoveOut(e){this.tracker.addToTracker(e),super.onPointerMoveOut(e),this.end()}onPointerMove(e){this.tracker.track(e),super.onPointerMove(e)}onPointerCancel(e){super.onPointerCancel(e),this.reset()}}/*! Hammer.JS - v2.0.17-rc - 2019-12-16 +`,E2=global.__turboModuleProxy!=null,Zf=E2?require("./NativeBlockScreenshot").default:Mv.BlockScreenshot,za=Zf||new Proxy({},{get(){throw new Error(C2)}}),x2=t=>t?Vv.resolveAssetSource(t)??t:null,y2=({backgroundColor:t,scale:e,source:n})=>za.enableBlockScreenshot({backgroundColor:_0(t),scale:e,source:x2(n)}),I2=()=>za.disableBlockScreenshot();let Rr;const w2=t=>{let e=()=>{};return ue.OS==="ios"&&(Rr||(za.addEventListener(),Rr=new b0(za)),e=Rr.addListener("onScreenshot",t).remove),()=>{e(),(Rr==null?void 0:Rr.listenerCount("onScreenshot"))===0&&(za.removeEventListener(),Rr=null)}},S2=({enabled:t=!0,onScreenshot:e})=>{const{color:n}=Ir();b.useEffect(()=>{t&&y2({backgroundColor:n.appSwitcher.background,scale:.33,source:require("@/assets/images/logoWhite.png")});const r=e&&t?w2(e):()=>null;return()=>{r(),I2()}},[n,t,e])};var zm={};(function(t){var e=$&&$.__awaiter||function(l,u,c,A){function d(f){return f instanceof c?f:new c(function(p){p(f)})}return new(c||(c=Promise))(function(f,p){function h(C){try{E(A.next(C))}catch(m){p(m)}}function v(C){try{E(A.throw(C))}catch(m){p(m)}}function E(C){C.done?f(C.value):d(C.value).then(h,v)}E((A=A.apply(l,u||[])).next())})},n=$&&$.__generator||function(l,u){var c={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},A,d,f,p;return p={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function h(E){return function(C){return v([E,C])}}function v(E){if(A)throw new TypeError("Generator is already executing.");for(;p&&(p=0,E[0]&&(c=0)),c;)try{if(A=1,d&&(f=E[0]&2?d.return:E[0]?d.throw||((f=d.return)&&f.call(d),0):d.next)&&!(f=f.call(d,E[1])).done)return f;switch(d=0,f&&(E=[E[0]&2,f.value]),E[0]){case 0:case 1:f=E;break;case 4:return c.label++,{value:E[1],done:!1};case 5:c.label++,d=E[1],E=[0];continue;case 7:E=c.ops.pop(),c.trys.pop();continue;default:if(f=c.trys,!(f=f.length>0&&f[f.length-1])&&(E[0]===6||E[0]===2)){c=0;continue}if(E[0]===3&&(!f||E[1]>f[0]&&E[1]<f[3])){c.label=E[1];break}if(E[0]===6&&c.label<f[1]){c.label=f[1],f=E;break}if(f&&c.label<f[2]){c.label=f[2],c.ops.push(E);break}f[2]&&c.ops.pop(),c.trys.pop();continue}E=u.call(l,c)}catch(C){E=[6,C],d=0}finally{A=f=0}if(E[0]&5)throw E[1];return{value:E[0]?E[1]:void 0,done:!0}}};Object.defineProperty(t,"__esModule",{value:!0}),t.getSystemBrightnessLevel=t.getBrightnessLevel=t.setBrightnessLevel=void 0;var r=Qo,i=r.NativeModules.RNDeviceBrightness,a=function(l){return e(void 0,void 0,void 0,function(){return n(this,function(u){switch(u.label){case 0:if((l<0||l>1)&&!(r.Platform.OS==="android"&&l===-1))throw Error("⚠️ BrightnessLevel value must betweens 0 to 1 ⚠️");return[4,i.setBrightnessLevel(l)];case 1:return u.sent(),[2]}})})};t.setBrightnessLevel=a;var s=function(){return e(void 0,void 0,void 0,function(){return n(this,function(l){return[2,i.getBrightnessLevel()]})})};t.getBrightnessLevel=s;var o=function(){if(r.Platform.OS!=="android")throw Error("⚠️ Android only supported ⚠️");return i.getSystemBrightnessLevel()};t.getSystemBrightnessLevel=o,t.default={setBrightnessLevel:t.setBrightnessLevel,getBrightnessLevel:t.getBrightnessLevel,getSystemBrightnessLevel:t.getSystemBrightnessLevel}})(zm);const ic=En(zm),b2=({enabled:t=!0}={})=>b.useEffect(()=>{if(t){const e=ic.getBrightnessLevel();return e.then(()=>{ic.setBrightnessLevel(1)}),()=>{e.then(n=>{ic.setBrightnessLevel(n)})}}else return()=>null},[t]);var Km={},$m={exports:{}};(function(t){function e(n){return n&&n.__esModule?n:{default:n}}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})($m);var nn=$m.exports,pa={};const L={UNDETERMINED:0,FAILED:1,BEGAN:2,CANCELLED:3,ACTIVE:4,END:5},kn={UNDETERMINED:0,TOUCHES_DOWN:1,TOUCHES_MOVE:2,TOUCHES_UP:3,TOUCHES_CANCELLED:4};var _2={NODE_ENV:'"production"'};function D2(t){return Array.isArray(t)?t:[t]}function O2(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function aA(){return O2(global,"process")&&!!_2.JEST_WORKER_ID}function fs(t){return`[react-native-gesture-handler] ${t}`}function T2(){var t;return!!((t=global)!==null&&t!==void 0&&t.nativeFabricUIManager)}function P2(){const t=global;return(!t.nativeCallSyncHook||!!t.__REMOTEDEV__)&&!t.RN$Bridgeless}function qm(t,e){if(t===e)return!0;if(typeof t!="object"||typeof e!="object"||t===null||e===null)return!1;const n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(const i of n)if(!r.includes(i)||!qm(t[i],e[i]))return!1;return!0}const Jf=2**31-1,Ao={},sA=new Map,jm=new Map,Qm=new Map;function Zm(t,e,n){sA.set(t,e),aA()&&n&&Qm.set(n,t)}function R2(t,e){jm.set(t,e)}function F2(t,e){sA.delete(t),aA()&&e&&Qm.delete(e)}function M2(t){return sA.get(t)}function k2(t){return jm.get(t)}function B2(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class Wt{static getHandler(e){if(e in this.gestures)return this.gestures[e];throw new Error(`No handler for tag ${e}`)}static createGestureHandler(e,n){if(e in this.gestures)throw new Error(`Handler with tag ${e} already exists. Please ensure that no Gesture instance is used across multiple GestureDetectors.`);this.gestures[e]=n,this.gestures[e].setTag(e)}static dropGestureHandler(e){e in this.gestures&&(this.gestures[e].onDestroy(),delete this.gestures[e])}static getNodes(){return{...this.gestures}}}B2(Wt,"gestures",{});const Jm={create(t){return{begin:()=>{Wt.getHandler(t).begin()},activate:()=>{Wt.getHandler(t).activate(!0)},fail:()=>{Wt.getHandler(t).fail()},end:()=>{Wt.getHandler(t).end()}}}};let fo=null,ho=null;const Gs=new Map,va=[];function eh(t){return t.oldState!=null}function N2(t){return t.eventType!=null}function No(t){var e,n,r,i,a,s,o,l;const u=M2(t.handlerTag);if(u)if(eh(t)){if(t.oldState===L.UNDETERMINED&&t.state===L.BEGAN){var c,A;(c=(A=u.handlers).onBegin)===null||c===void 0||c.call(A,t)}else if((t.oldState===L.BEGAN||t.oldState===L.UNDETERMINED)&&t.state===L.ACTIVE){var d,f;(d=(f=u.handlers).onStart)===null||d===void 0||d.call(f,t),va[u.handlers.handlerTag]=t}else if(t.oldState!==t.state&&t.state===L.END){var p,h;if(t.oldState===L.ACTIVE){var v,E;(v=(E=u.handlers).onEnd)===null||v===void 0||v.call(E,t,!0)}(p=(h=u.handlers).onFinalize)===null||p===void 0||p.call(h,t,!0),va[u.handlers.handlerTag]=void 0}else if((t.state===L.FAILED||t.state===L.CANCELLED)&&t.oldState!==t.state){var C,m;if(t.oldState===L.ACTIVE){var g,y;(g=(y=u.handlers).onEnd)===null||g===void 0||g.call(y,t,!1)}(C=(m=u.handlers).onFinalize)===null||C===void 0||C.call(m,t,!1),Gs.delete(t.handlerTag),va[u.handlers.handlerTag]=void 0}}else if(N2(t)){Gs.has(t.handlerTag)||Gs.set(t.handlerTag,Jm.create(t.handlerTag));const O=Gs.get(t.handlerTag);switch(t.eventType){case kn.TOUCHES_DOWN:(e=u.handlers)===null||e===void 0||(n=e.onTouchesDown)===null||n===void 0||n.call(e,t,O);break;case kn.TOUCHES_MOVE:(r=u.handlers)===null||r===void 0||(i=r.onTouchesMove)===null||i===void 0||i.call(r,t,O);break;case kn.TOUCHES_UP:(a=u.handlers)===null||a===void 0||(s=a.onTouchesUp)===null||s===void 0||s.call(a,t,O);break;case kn.TOUCHES_CANCELLED:(o=u.handlers)===null||o===void 0||(l=o.onTouchesCancelled)===null||l===void 0||l.call(o,t,O);break}}else{var x,w;if((x=(w=u.handlers).onUpdate)===null||x===void 0||x.call(w,t),u.handlers.onChange&&u.handlers.changeEventCalculator){var S,D,I,_;(S=(D=u.handlers).onChange)===null||S===void 0||S.call(D,(I=(_=u.handlers).changeEventCalculator)===null||I===void 0?void 0:I.call(_,t,va[u.handlers.handlerTag])),va[u.handlers.handlerTag]=t}}else{const O=k2(t.handlerTag);if(O){const T={nativeEvent:t};eh(t)?O.onGestureStateChange(T):O.onGestureEvent(T);return}}}function G2(){L2(),fo=vd.addListener("onGestureHandlerEvent",No),ho=vd.addListener("onGestureHandlerStateChange",No)}function L2(){fo&&(fo.remove(),fo=null),ho&&(ho.remove(),ho=null)}let $d=!0,eC=!1;function V2(t=!0){}function H2(t=!0){if(!(ue.OS!=="web"||$d===!t)){if(eC){console.error("Some parts of this application have already started using the new gesture handler implementation. No changes will be applied. You can try enabling legacy implementation earlier.");return}$d=!t}}function Si(){return eC=!0,$d}const Ui=15,U2=.1;let se;(function(t){t[t.DOWN=0]="DOWN",t[t.ADDITIONAL_POINTER_DOWN=1]="ADDITIONAL_POINTER_DOWN",t[t.UP=2]="UP",t[t.ADDITIONAL_POINTER_UP=3]="ADDITIONAL_POINTER_UP",t[t.MOVE=4]="MOVE",t[t.ENTER=5]="ENTER",t[t.LEAVE=6]="LEAVE",t[t.CANCEL=7]="CANCEL"})(se||(se={}));let Yt;(function(t){t[t.UNDETERMINED=0]="UNDETERMINED",t[t.DOWN=1]="DOWN",t[t.MOVE=2]="MOVE",t[t.UP=3]="UP",t[t.CANCELLED=4]="CANCELLED"})(Yt||(Yt={}));let St;(function(t){t[t.TOUCH=0]="TOUCH",t[t.STYLUS=1]="STYLUS",t[t.MOUSE=2]="MOUSE",t[t.KEY=3]="KEY",t[t.OTHER=4]="OTHER"})(St||(St={}));function Ls(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class W2{constructor(e){Ls(this,"bufferSize",void 0),Ls(this,"buffer",void 0),Ls(this,"index",void 0),Ls(this,"actualSize",void 0),this.bufferSize=e,this.buffer=new Array(e),this.index=0,this.actualSize=0}get size(){return this.actualSize}push(e){this.buffer[this.index]=e,this.index=(this.index+1)%this.bufferSize,this.actualSize=Math.min(this.actualSize+1,this.bufferSize)}get(e){if(this.actualSize===this.bufferSize){let n=(this.index+e)%this.bufferSize;return n<0&&(n+=this.bufferSize),this.buffer[n]}else return this.buffer[e]}clear(){this.buffer=new Array(this.bufferSize),this.index=0,this.actualSize=0}}function Vn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}let tC=class nC{constructor(e){Vn(this,"offset",void 0),Vn(this,"length",void 0),Vn(this,"elements",void 0),this.offset=0,this.length=e,this.elements=new Array(e)}static fromVOL(e,n,r){const i=new nC(0);return i.offset=n,i.length=r,i.elements=e,i}get(e){return this.elements[this.offset+e]}set(e,n){this.elements[this.offset+e]=n}dot(e){let n=0;for(let r=0;r<this.length;r++)n+=this.get(r)*e.get(r);return n}norm(){return Math.sqrt(this.dot(this))}};class ac{constructor(e,n){Vn(this,"columns",void 0),Vn(this,"elements",void 0),this.columns=n,this.elements=new Array(e*n)}get(e,n){return this.elements[e*this.columns+n]}set(e,n,r){this.elements[e*this.columns+n]=r}getRow(e){return tC.fromVOL(this.elements,e*this.columns,this.columns)}}class X2{constructor(e){Vn(this,"coefficients",void 0),this.coefficients=new Array(e+1)}}const Y2=1e-10;class th{constructor(e,n,r){Vn(this,"x",void 0),Vn(this,"y",void 0),Vn(this,"w",void 0),this.x=e,this.y=n,this.w=r}solve(e){if(e>this.x.length)return null;const n=new X2(e),r=this.x.length,i=e+1,a=new ac(i,r);for(let u=0;u<r;u++){a.set(0,u,this.w[u]);for(let c=1;c<i;c++)a.set(c,u,a.get(c-1,u)*this.x[u])}const s=new ac(i,r),o=new ac(i,r);for(let u=0;u<i;u+=1){for(let d=0;d<r;d+=1)s.set(u,d,a.get(u,d));for(let d=0;d<u;d+=1){const f=s.getRow(u).dot(s.getRow(d));for(let p=0;p<r;p+=1)s.set(u,p,s.get(u,p)-f*s.get(d,p))}const c=s.getRow(u).norm();if(c<Y2)return null;const A=1/c;for(let d=0;d<r;d+=1)s.set(u,d,s.get(u,d)*A);for(let d=0;d<i;d+=1)o.set(u,d,d<u?0:s.getRow(u).dot(a.getRow(d)))}const l=new tC(r);for(let u=0;u<r;u+=1)l.set(u,this.y[u]*this.w[u]);for(let u=i-1;u>=0;u-=1){n.coefficients[u]=s.getRow(u).dot(l);for(let c=i-1;c>u;c-=1)n.coefficients[u]-=o.get(u,c)*n.coefficients[c];n.coefficients[u]/=o.get(u,u)}return n}}function ga(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class z2{constructor(){ga(this,"assumePointerMoveStoppedMilliseconds",40),ga(this,"historySize",20),ga(this,"horizonMilliseconds",300),ga(this,"minSampleSize",3),ga(this,"samples",void 0),this.samples=new W2(this.historySize)}add(e){this.samples.push(e)}getVelocityEstimate(){const e=[],n=[],r=[],i=[];let a=0,s=this.samples.size-1;const o=this.samples.get(s);if(!o)return null;let l=o;for(;a<this.samples.size;){const u=this.samples.get(s),c=o.time-u.time,A=Math.abs(u.time-l.time);if(l=u,c>this.horizonMilliseconds||A>this.assumePointerMoveStoppedMilliseconds)break;e.push(u.x),n.push(u.y),r.push(1),i.push(-c),a++,s--}if(a>=this.minSampleSize){const c=new th(i,e,r).solve(2);if(c!==null){const d=new th(i,n,r).solve(2);if(d!==null){const f=c.coefficients[1]*1e3,p=d.coefficients[1]*1e3;return[f,p]}}}return null}getVelocity(){const e=this.getVelocityEstimate();return e!==null?e:[0,0]}reset(){this.samples.clear()}}function mi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const nh=20;class rC{constructor(){mi(this,"velocityTracker",new z2),mi(this,"trackedPointers",new Map),mi(this,"touchEventsIds",new Map),mi(this,"lastMovedPointerId",void 0),mi(this,"cachedAbsoluteAverages",{x:0,y:0}),mi(this,"cachedRelativeAverages",{x:0,y:0}),this.lastMovedPointerId=NaN;for(let e=0;e<nh;++e)this.touchEventsIds.set(e,NaN)}addToTracker(e){if(this.trackedPointers.has(e.pointerId))return;this.lastMovedPointerId=e.pointerId;const n={abosoluteCoords:{x:e.x,y:e.y},relativeCoords:{x:e.offsetX,y:e.offsetY},timestamp:e.time,velocityX:0,velocityY:0};this.trackedPointers.set(e.pointerId,n),this.mapTouchEventId(e.pointerId),this.cachedAbsoluteAverages=this.getAbsoluteCoordsAverage(),this.cachedRelativeAverages=this.getRelativeCoordsAverage()}removeFromTracker(e){this.trackedPointers.delete(e),this.removeMappedTouchId(e)}track(e){const n=this.trackedPointers.get(e.pointerId);if(!n)return;this.lastMovedPointerId=e.pointerId,this.velocityTracker.add(e);const[r,i]=this.velocityTracker.getVelocity();n.velocityX=r,n.velocityY=i,n.abosoluteCoords={x:e.x,y:e.y},n.relativeCoords={x:e.offsetX,y:e.offsetY},this.trackedPointers.set(e.pointerId,n),this.cachedAbsoluteAverages=this.getAbsoluteCoordsAverage(),this.cachedRelativeAverages=this.getRelativeCoordsAverage()}mapTouchEventId(e){for(const[n,r]of this.touchEventsIds)if(isNaN(r)){this.touchEventsIds.set(n,e);break}}removeMappedTouchId(e){const n=this.getMappedTouchEventId(e);isNaN(n)||this.touchEventsIds.set(n,NaN)}getMappedTouchEventId(e){for(const[n,r]of this.touchEventsIds.entries())if(r===e)return n;return NaN}getVelocity(e){var n,r;return{x:(n=this.trackedPointers.get(e))===null||n===void 0?void 0:n.velocityX,y:(r=this.trackedPointers.get(e))===null||r===void 0?void 0:r.velocityY}}getLastAbsoluteCoords(e){if(e!==void 0){var n,r;return{x:(n=this.trackedPointers.get(e))===null||n===void 0?void 0:n.abosoluteCoords.x,y:(r=this.trackedPointers.get(e))===null||r===void 0?void 0:r.abosoluteCoords.y}}else{var i,a;return{x:(i=this.trackedPointers.get(this.lastMovedPointerId))===null||i===void 0?void 0:i.abosoluteCoords.x,y:(a=this.trackedPointers.get(this.lastMovedPointerId))===null||a===void 0?void 0:a.abosoluteCoords.y}}}getLastRelativeCoords(e){if(e!==void 0){var n,r;return{x:(n=this.trackedPointers.get(e))===null||n===void 0?void 0:n.relativeCoords.x,y:(r=this.trackedPointers.get(e))===null||r===void 0?void 0:r.relativeCoords.y}}else{var i,a;return{x:(i=this.trackedPointers.get(this.lastMovedPointerId))===null||i===void 0?void 0:i.relativeCoords.x,y:(a=this.trackedPointers.get(this.lastMovedPointerId))===null||a===void 0?void 0:a.relativeCoords.y}}}getAbsoluteCoordsAverage(){const e=this.getAbsoluteCoordsSum(),n=e.x/this.trackedPointers.size,r=e.y/this.trackedPointers.size;return{x:isNaN(n)?this.cachedAbsoluteAverages.x:n,y:isNaN(r)?this.cachedAbsoluteAverages.y:r}}getRelativeCoordsAverage(){const e=this.getRelativeCoordsSum(),n=e.x/this.trackedPointers.size,r=e.y/this.trackedPointers.size;return{x:isNaN(n)?this.cachedRelativeAverages.x:n,y:isNaN(r)?this.cachedRelativeAverages.y:r}}getAbsoluteCoordsSum(e){const n={x:0,y:0};return this.trackedPointers.forEach((r,i)=>{i!==e&&(n.x+=r.abosoluteCoords.x,n.y+=r.abosoluteCoords.y)}),n}getRelativeCoordsSum(e){const n={x:0,y:0};return this.trackedPointers.forEach((r,i)=>{i!==e&&(n.x+=r.relativeCoords.x,n.y+=r.relativeCoords.y)}),n}getTrackedPointersCount(){return this.trackedPointers.size}getTrackedPointersID(){const e=[];return this.trackedPointers.forEach((n,r)=>{e.push(r)}),e}getData(){return this.trackedPointers}resetTracker(){this.velocityTracker.reset(),this.trackedPointers.clear(),this.lastMovedPointerId=NaN;for(let e=0;e<nh;++e)this.touchEventsIds.set(e,NaN)}static shareCommonPointers(e,n){return e.some(r=>n.includes(r))}}function bi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class en{constructor(){bi(this,"gestureHandlers",[]),bi(this,"awaitingHandlers",[]),bi(this,"awaitingHandlersTags",new Set),bi(this,"handlingChangeSemaphore",0),bi(this,"activationIndex",0)}scheduleFinishedHandlersCleanup(){this.handlingChangeSemaphore===0&&this.cleanupFinishedHandlers()}cleanHandler(e){e.reset(),e.setActive(!1),e.setAwaiting(!1),e.setActivationIndex(Number.MAX_VALUE)}removeHandlerFromOrchestrator(e){const n=this.gestureHandlers.indexOf(e),r=this.awaitingHandlers.indexOf(e);n>=0&&this.gestureHandlers.splice(n,1),r>=0&&(this.awaitingHandlers.splice(r,1),this.awaitingHandlersTags.delete(e.getTag()))}cleanupFinishedHandlers(){const e=new Set;for(let n=this.gestureHandlers.length-1;n>=0;--n){const r=this.gestureHandlers[n];this.isFinished(r.getState())&&!r.isAwaiting()&&(this.cleanHandler(r),e.add(r))}this.gestureHandlers=this.gestureHandlers.filter(n=>!e.has(n))}hasOtherHandlerToWaitFor(e){const n=r=>!this.isFinished(r.getState())&&this.shouldHandlerWaitForOther(e,r);return this.gestureHandlers.some(n)}shouldBeCancelledByFinishedHandler(e){const n=r=>this.shouldHandlerWaitForOther(e,r)&&r.getState()===L.END;return this.gestureHandlers.some(n)}tryActivate(e){if(this.shouldBeCancelledByFinishedHandler(e)){e.cancel();return}if(this.hasOtherHandlerToWaitFor(e)){this.addAwaitingHandler(e);return}const n=e.getState();if(!(n===L.CANCELLED||n===L.FAILED)){if(this.shouldActivate(e)){this.makeActive(e);return}if(n===L.ACTIVE){e.fail();return}n===L.BEGAN&&e.cancel()}}shouldActivate(e){const n=r=>this.shouldHandlerBeCancelledBy(e,r);return!this.gestureHandlers.some(n)}cleanupAwaitingHandlers(e){const n=r=>!r.isAwaiting()&&this.shouldHandlerWaitForOther(r,e);for(const r of this.awaitingHandlers)n(r)&&(this.cleanHandler(r),this.awaitingHandlersTags.delete(r.getTag()));this.awaitingHandlers=this.awaitingHandlers.filter(r=>this.awaitingHandlersTags.has(r.getTag()))}onHandlerStateChange(e,n,r,i){if(!(!e.isEnabled()&&!i)){if(this.handlingChangeSemaphore+=1,this.isFinished(n)){for(const a of this.awaitingHandlers)if(!(!this.shouldHandlerWaitForOther(a,e)||!this.awaitingHandlersTags.has(a.getTag()))){if(n!==L.END){this.tryActivate(a);continue}a.cancel(),a.getState()===L.END&&a.sendEvent(L.CANCELLED,L.BEGAN),a.setAwaiting(!1)}}n===L.ACTIVE?this.tryActivate(e):r===L.ACTIVE||r===L.END?e.isActive()?e.sendEvent(n,r):r===L.ACTIVE&&(n===L.CANCELLED||n===L.FAILED)&&e.sendEvent(n,L.BEGAN):(r!==L.UNDETERMINED||n!==L.CANCELLED)&&e.sendEvent(n,r),this.handlingChangeSemaphore-=1,this.scheduleFinishedHandlersCleanup(),this.awaitingHandlers.includes(e)||this.cleanupAwaitingHandlers(e)}}makeActive(e){const n=e.getState();e.setActive(!0),e.setShouldResetProgress(!0),e.setActivationIndex(this.activationIndex++);for(let r=this.gestureHandlers.length-1;r>=0;--r)this.shouldHandlerBeCancelledBy(this.gestureHandlers[r],e)&&this.gestureHandlers[r].cancel();for(const r of this.awaitingHandlers)this.shouldHandlerBeCancelledBy(r,e)&&r.setAwaiting(!1);e.sendEvent(L.ACTIVE,L.BEGAN),n!==L.ACTIVE&&(e.sendEvent(L.END,L.ACTIVE),n!==L.END&&e.sendEvent(L.UNDETERMINED,L.END)),e.isAwaiting()&&(e.setAwaiting(!1),this.awaitingHandlers=this.awaitingHandlers.filter(r=>r!==e))}addAwaitingHandler(e){this.awaitingHandlers.includes(e)||(this.awaitingHandlers.push(e),this.awaitingHandlersTags.add(e.getTag()),e.setAwaiting(!0),e.setActivationIndex(this.activationIndex++))}recordHandlerIfNotPresent(e){this.gestureHandlers.includes(e)||(this.gestureHandlers.push(e),e.setActive(!1),e.setAwaiting(!1),e.setActivationIndex(Number.MAX_SAFE_INTEGER))}shouldHandlerWaitForOther(e,n){return e!==n&&(e.shouldWaitForHandlerFailure(n)||n.shouldRequireToWaitForFailure(e))}canRunSimultaneously(e,n){return e===n||e.shouldRecognizeSimultaneously(n)||n.shouldRecognizeSimultaneously(e)}shouldHandlerBeCancelledBy(e,n){if(this.canRunSimultaneously(e,n))return!1;if(e.isAwaiting()||e.getState()===L.ACTIVE)return e.shouldBeCancelledByOther(n);const r=e.getTrackedPointersID(),i=n.getTrackedPointersID();return!rC.shareCommonPointers(r,i)&&e.getDelegate().getView()!==n.getDelegate().getView()?this.checkOverlap(e,n):!0}checkOverlap(e,n){const r=s=>{const o=e.getTracker().getLastAbsoluteCoords(s);return e.getDelegate().isPointerInBounds(o)&&n.getDelegate().isPointerInBounds(o)},i=e.getTrackedPointersID(),a=n.getTrackedPointersID();return i.some(r)||a.some(r)}isFinished(e){return e===L.END||e===L.FAILED||e===L.CANCELLED}cancelMouseAndPenGestures(e){this.gestureHandlers.forEach(n=>{n.getPointerType()!==St.MOUSE&&n.getPointerType()!==St.STYLUS||(n!==e?n.cancel():n.getTracker().resetTracker())})}static getInstance(){return en.instance||(en.instance=new en),en.instance}}bi(en,"instance",void 0);function po(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class Bn{constructor(){po(this,"waitForRelations",new Map),po(this,"simultaneousRelations",new Map),po(this,"blocksHandlersRelations",new Map)}configureInteractions(e,n){if(this.dropRelationsForHandlerWithTag(e.getTag()),n.waitFor){const r=[];n.waitFor.forEach(i=>{typeof i=="number"?r.push(i):r.push(i.handlerTag)}),this.waitForRelations.set(e.getTag(),r)}if(n.simultaneousHandlers){const r=[];n.simultaneousHandlers.forEach(i=>{typeof i=="number"?r.push(i):r.push(i.handlerTag)}),this.simultaneousRelations.set(e.getTag(),r)}if(n.blocksHandlers){const r=[];n.blocksHandlers.forEach(i=>{typeof i=="number"?r.push(i):r.push(i.handlerTag)}),this.blocksHandlersRelations.set(e.getTag(),r)}}shouldWaitForHandlerFailure(e,n){const r=this.waitForRelations.get(e.getTag());return(r==null?void 0:r.find(i=>i===n.getTag()))!==void 0}shouldRecognizeSimultaneously(e,n){const r=this.simultaneousRelations.get(e.getTag());return(r==null?void 0:r.find(i=>i===n.getTag()))!==void 0}shouldRequireHandlerToWaitForFailure(e,n){const r=this.blocksHandlersRelations.get(e.getTag());return(r==null?void 0:r.find(i=>i===n.getTag()))!==void 0}shouldHandlerBeCancelledBy(e,n){var r;const i=n.constructor.name==="NativeViewGestureHandler",a=n.getState()===L.ACTIVE,s=((r=n.isButton)===null||r===void 0?void 0:r.call(n))===!0;return i&&a&&!s}dropRelationsForHandlerWithTag(e){this.waitForRelations.delete(e),this.simultaneousRelations.delete(e),this.blocksHandlersRelations.delete(e)}reset(){this.waitForRelations.clear(),this.simultaneousRelations.clear(),this.blocksHandlersRelations.clear()}static getInstance(){return this.instance||(this.instance=new Bn),this.instance}}po(Bn,"instance",void 0);const iC=["id","enabled","shouldCancelWhenOutside","hitSlop","cancelsTouchesInView","userSelect","activeCursor","mouseButton","enableContextMenu","touchAction"],K2=["waitFor","simultaneousHandlers","blocksHandlers"],Dr=[...iC,...K2,"onBegan","onFailed","onCancelled","onActivated","onEnded","onGestureEvent","onHandlerStateChange"],$2=[...iC,"needsPointerData","manualActivation"];let fn;(function(t){t[t.LEFT=1]="LEFT",t[t.RIGHT=2]="RIGHT",t[t.MIDDLE=4]="MIDDLE",t[t.BUTTON_4=8]="BUTTON_4",t[t.BUTTON_5=16]="BUTTON_5",t[t.ALL=31]="ALL"})(fn||(fn={}));function et(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}let qn=class{constructor(e){et(this,"lastSentState",null),et(this,"currentState",L.UNDETERMINED),et(this,"shouldCancelWhenOutside",!1),et(this,"hasCustomActivationCriteria",!1),et(this,"enabled",!1),et(this,"viewRef",void 0),et(this,"propsRef",void 0),et(this,"handlerTag",void 0),et(this,"config",{enabled:!1}),et(this,"tracker",new rC),et(this,"activationIndex",0),et(this,"awaiting",!1),et(this,"active",!1),et(this,"shouldResetProgress",!1),et(this,"pointerType",St.MOUSE),et(this,"delegate",void 0),et(this,"sendEvent",(n,r)=>{const{onGestureHandlerEvent:i,onGestureHandlerStateChange:a}=this.propsRef.current,s=this.transformEventData(n,r);this.lastSentState!==n&&(this.lastSentState=n,Ba(a,s)),this.currentState===L.ACTIVE&&(s.nativeEvent.oldState=void 0,Ba(i,s))}),this.delegate=e}init(e,n){this.propsRef=n,this.viewRef=e,this.currentState=L.UNDETERMINED,this.delegate.init(e,this)}attachEventManager(e){e.setOnPointerDown(this.onPointerDown.bind(this)),e.setOnPointerAdd(this.onPointerAdd.bind(this)),e.setOnPointerUp(this.onPointerUp.bind(this)),e.setOnPointerRemove(this.onPointerRemove.bind(this)),e.setOnPointerMove(this.onPointerMove.bind(this)),e.setOnPointerEnter(this.onPointerEnter.bind(this)),e.setOnPointerLeave(this.onPointerLeave.bind(this)),e.setOnPointerCancel(this.onPointerCancel.bind(this)),e.setOnPointerOutOfBounds(this.onPointerOutOfBounds.bind(this)),e.setOnPointerMoveOver(this.onPointerMoveOver.bind(this)),e.setOnPointerMoveOut(this.onPointerMoveOut.bind(this)),e.registerListeners()}onCancel(){}onReset(){}resetProgress(){}reset(){this.tracker.resetTracker(),this.onReset(),this.resetProgress(),this.delegate.reset(),this.currentState=L.UNDETERMINED}moveToState(e,n){if(this.currentState===e)return;const r=this.currentState;this.currentState=e,this.tracker.getTrackedPointersCount()>0&&this.config.needsPointerData&&this.isFinished()&&this.cancelTouches(),en.getInstance().onHandlerStateChange(this,e,r,n),this.onStateChange(e,r),!this.enabled&&this.isFinished()&&(this.currentState=L.UNDETERMINED)}onStateChange(e,n){}begin(){this.checkHitSlop()&&this.currentState===L.UNDETERMINED&&this.moveToState(L.BEGAN)}fail(e){(this.currentState===L.ACTIVE||this.currentState===L.BEGAN)&&(this.delegate.onFail(),this.moveToState(L.FAILED,e)),this.resetProgress()}cancel(e){(this.currentState===L.ACTIVE||this.currentState===L.UNDETERMINED||this.currentState===L.BEGAN)&&(this.onCancel(),this.delegate.onCancel(),this.moveToState(L.CANCELLED,e))}activate(e=!1){(this.config.manualActivation!==!0||e)&&(this.currentState===L.UNDETERMINED||this.currentState===L.BEGAN)&&(this.delegate.onActivate(),this.moveToState(L.ACTIVE))}end(){(this.currentState===L.BEGAN||this.currentState===L.ACTIVE)&&(this.delegate.onEnd(),this.moveToState(L.END)),this.resetProgress()}isAwaiting(){return this.awaiting}setAwaiting(e){this.awaiting=e}isActive(){return this.active}setActive(e){this.active=e}getShouldResetProgress(){return this.shouldResetProgress}setShouldResetProgress(e){this.shouldResetProgress=e}getActivationIndex(){return this.activationIndex}setActivationIndex(e){this.activationIndex=e}shouldWaitForHandlerFailure(e){return e===this?!1:Bn.getInstance().shouldWaitForHandlerFailure(this,e)}shouldRequireToWaitForFailure(e){return e===this?!1:Bn.getInstance().shouldRequireHandlerToWaitForFailure(this,e)}shouldRecognizeSimultaneously(e){return e===this?!0:Bn.getInstance().shouldRecognizeSimultaneously(this,e)}shouldBeCancelledByOther(e){return e===this?!1:Bn.getInstance().shouldHandlerBeCancelledBy(this,e)}onPointerDown(e){en.getInstance().recordHandlerIfNotPresent(this),this.pointerType=e.pointerType,this.pointerType===St.TOUCH&&en.getInstance().cancelMouseAndPenGestures(this)}onPointerAdd(e){this.tryToSendTouchEvent(e)}onPointerUp(e){this.tryToSendTouchEvent(e)}onPointerRemove(e){this.tryToSendTouchEvent(e)}onPointerMove(e){this.tryToSendMoveEvent(!1,e)}onPointerLeave(e){if(this.shouldCancelWhenOutside){switch(this.currentState){case L.ACTIVE:this.cancel();break;case L.BEGAN:this.fail();break}return}this.tryToSendTouchEvent(e)}onPointerEnter(e){this.tryToSendTouchEvent(e)}onPointerCancel(e){this.tryToSendTouchEvent(e),this.cancel(),this.reset()}onPointerOutOfBounds(e){this.tryToSendMoveEvent(!0,e)}onPointerMoveOver(e){}onPointerMoveOut(e){}tryToSendMoveEvent(e,n){e&&this.shouldCancelWhenOutside||!this.enabled||(this.active&&this.sendEvent(this.currentState,this.currentState),this.tryToSendTouchEvent(n))}tryToSendTouchEvent(e){this.config.needsPointerData&&this.sendTouchEvent(e)}sendTouchEvent(e){if(!this.enabled)return;const{onGestureHandlerEvent:n}=this.propsRef.current,r=this.transformTouchEvent(e);r&&Ba(n,r)}transformEventData(e,n){return{nativeEvent:{numberOfPointers:this.tracker.getTrackedPointersCount(),state:e,pointerInside:this.delegate.isPointerInBounds(this.tracker.getAbsoluteCoordsAverage()),...this.transformNativeEvent(),handlerTag:this.handlerTag,target:this.viewRef,oldState:e!==n?n:void 0,pointerType:this.pointerType},timeStamp:Date.now()}}transformTouchEvent(e){var n;const r=this.delegate.measureView(),i=[],a=[],s=this.tracker.getData();if(s.size===0||!s.has(e.pointerId))return;s.forEach((u,c)=>{const A=this.tracker.getMappedTouchEventId(c);i.push({id:A,x:u.abosoluteCoords.x-r.pageX,y:u.abosoluteCoords.y-r.pageY,absoluteX:u.abosoluteCoords.x,absoluteY:u.abosoluteCoords.y})}),e.eventType!==se.CANCEL?a.push({id:this.tracker.getMappedTouchEventId(e.pointerId),x:e.x-r.pageX,y:e.y-r.pageY,absoluteX:e.x,absoluteY:e.y}):s.forEach((u,c)=>{const A=this.tracker.getMappedTouchEventId(c);a.push({id:A,x:u.abosoluteCoords.x-r.pageX,y:u.abosoluteCoords.y-r.pageY,absoluteX:u.abosoluteCoords.x,absoluteY:u.abosoluteCoords.y})});let o=Yt.UNDETERMINED;switch(e.eventType){case se.DOWN:case se.ADDITIONAL_POINTER_DOWN:o=Yt.DOWN;break;case se.UP:case se.ADDITIONAL_POINTER_UP:o=Yt.UP;break;case se.MOVE:o=Yt.MOVE;break;case se.CANCEL:o=Yt.CANCELLED;break}let l=i.length;return(e.eventType===se.UP||e.eventType===se.ADDITIONAL_POINTER_UP)&&--l,{nativeEvent:{handlerTag:this.handlerTag,state:this.currentState,eventType:(n=e.touchEventType)!==null&&n!==void 0?n:o,changedTouches:a,allTouches:i,numberOfTouches:l,pointerType:this.pointerType},timeStamp:Date.now()}}cancelTouches(){const e=this.delegate.measureView(),n=[],r=[],i=this.tracker.getData();if(i.size===0)return;i.forEach((o,l)=>{const u=this.tracker.getMappedTouchEventId(l);n.push({id:u,x:o.abosoluteCoords.x-e.pageX,y:o.abosoluteCoords.y-e.pageY,absoluteX:o.abosoluteCoords.x,absoluteY:o.abosoluteCoords.y}),r.push({id:u,x:o.abosoluteCoords.x-e.pageX,y:o.abosoluteCoords.y-e.pageY,absoluteX:o.abosoluteCoords.x,absoluteY:o.abosoluteCoords.y})});const a={nativeEvent:{handlerTag:this.handlerTag,state:this.currentState,eventType:Yt.CANCELLED,changedTouches:r,allTouches:n,numberOfTouches:n.length,pointerType:this.pointerType},timeStamp:Date.now()},{onGestureHandlerEvent:s}=this.propsRef.current;Ba(s,a)}transformNativeEvent(){const e=this.tracker.getAbsoluteCoordsAverage(),n=this.tracker.getRelativeCoordsAverage();return{x:n.x,y:n.y,absoluteX:e.x,absoluteY:e.y}}updateGestureConfig({enabled:e=!0,...n}){if(this.config={enabled:e,...n},this.enabled=e,this.delegate.onEnabledChange(e),this.config.shouldCancelWhenOutside!==void 0&&this.setShouldCancelWhenOutside(this.config.shouldCancelWhenOutside),this.validateHitSlops(),!this.enabled)switch(this.currentState){case L.ACTIVE:this.fail(!0);break;case L.UNDETERMINED:en.getInstance().removeHandlerFromOrchestrator(this);break;default:this.cancel(!0);break}}checkCustomActivationCriteria(e){for(const n in this.config)e.indexOf(n)>=0&&(this.hasCustomActivationCriteria=!0)}validateHitSlops(){if(this.config.hitSlop){if(this.config.hitSlop.left!==void 0&&this.config.hitSlop.right!==void 0&&this.config.hitSlop.width!==void 0)throw new Error("HitSlop Error: Cannot define left, right and width at the same time");if(this.config.hitSlop.width!==void 0&&this.config.hitSlop.left===void 0&&this.config.hitSlop.right===void 0)throw new Error("HitSlop Error: When width is defined, either left or right has to be defined");if(this.config.hitSlop.height!==void 0&&this.config.hitSlop.top!==void 0&&this.config.hitSlop.bottom!==void 0)throw new Error("HitSlop Error: Cannot define top, bottom and height at the same time");if(this.config.hitSlop.height!==void 0&&this.config.hitSlop.top===void 0&&this.config.hitSlop.bottom===void 0)throw new Error("HitSlop Error: When height is defined, either top or bottom has to be defined")}}checkHitSlop(){if(!this.config.hitSlop)return!0;const{width:e,height:n}=this.delegate.measureView();let r=0,i=0,a=e,s=n;this.config.hitSlop.horizontal!==void 0&&(r-=this.config.hitSlop.horizontal,a+=this.config.hitSlop.horizontal),this.config.hitSlop.vertical!==void 0&&(i-=this.config.hitSlop.vertical,s+=this.config.hitSlop.vertical),this.config.hitSlop.left!==void 0&&(r=-this.config.hitSlop.left),this.config.hitSlop.right!==void 0&&(a=e+this.config.hitSlop.right),this.config.hitSlop.top!==void 0&&(i=-this.config.hitSlop.top),this.config.hitSlop.bottom!==void 0&&(s=e+this.config.hitSlop.bottom),this.config.hitSlop.width!==void 0&&(this.config.hitSlop.left!==void 0?a=r+this.config.hitSlop.width:this.config.hitSlop.right!==void 0&&(r=a-this.config.hitSlop.width)),this.config.hitSlop.height!==void 0&&(this.config.hitSlop.top!==void 0?s=i+this.config.hitSlop.height:this.config.hitSlop.bottom!==void 0&&(i=s-this.config.hitSlop.height));const o=this.delegate.measureView(),{x:l,y:u}=this.tracker.getLastAbsoluteCoords(),c=l-o.pageX,A=u-o.pageY;return c>=r&&c<=a&&A>=i&&A<=s}isButtonInConfig(e){return!e||!this.config.mouseButton&&e===fn.LEFT||this.config.mouseButton&&e&this.config.mouseButton}resetConfig(){}onDestroy(){this.delegate.destroy(this.config)}getTag(){return this.handlerTag}setTag(e){this.handlerTag=e}getConfig(){return this.config}getDelegate(){return this.delegate}getTracker(){return this.tracker}getTrackedPointersID(){return this.tracker.getTrackedPointersID()}getState(){return this.currentState}isEnabled(){return this.enabled}isFinished(){return this.currentState===L.END||this.currentState===L.FAILED||this.currentState===L.CANCELLED}setShouldCancelWhenOutside(e){this.shouldCancelWhenOutside=e}getShouldCancelWhenOutside(){return this.shouldCancelWhenOutside}getPointerType(){return this.pointerType}};function Ba(t,e){if(!t)return;if(typeof t=="function"){t(e);return}if("__getHandler"in t&&typeof t.__getHandler=="function"){const r=t.__getHandler();Ba(r,e);return}if(!("__nodeConfig"in t))return;const{argMapping:n}=t.__nodeConfig;if(Array.isArray(n))for(const[r,[i,a]]of n.entries()){if(!(i in e.nativeEvent))continue;const s=e.nativeEvent[i];a!=null&&a.setValue?a.setValue(s):t.__nodeConfig.argMapping[r]=[i,s]}}function Oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const rh=1,ih=10,sc=Ui*Ui;let q2=class extends qn{constructor(...e){super(...e),Oe(this,"customActivationProperties",["activeOffsetXStart","activeOffsetXEnd","failOffsetXStart","failOffsetXEnd","activeOffsetYStart","activeOffsetYEnd","failOffsetYStart","failOffsetYEnd","minVelocityX","minVelocityY","minVelocity"]),Oe(this,"velocityX",0),Oe(this,"velocityY",0),Oe(this,"minDistSq",sc),Oe(this,"activeOffsetXStart",-Number.MAX_SAFE_INTEGER),Oe(this,"activeOffsetXEnd",Number.MIN_SAFE_INTEGER),Oe(this,"failOffsetXStart",Number.MIN_SAFE_INTEGER),Oe(this,"failOffsetXEnd",Number.MAX_SAFE_INTEGER),Oe(this,"activeOffsetYStart",Number.MAX_SAFE_INTEGER),Oe(this,"activeOffsetYEnd",Number.MIN_SAFE_INTEGER),Oe(this,"failOffsetYStart",Number.MIN_SAFE_INTEGER),Oe(this,"failOffsetYEnd",Number.MAX_SAFE_INTEGER),Oe(this,"minVelocityX",Number.MAX_SAFE_INTEGER),Oe(this,"minVelocityY",Number.MAX_SAFE_INTEGER),Oe(this,"minVelocitySq",Number.MAX_SAFE_INTEGER),Oe(this,"minPointers",rh),Oe(this,"maxPointers",ih),Oe(this,"startX",0),Oe(this,"startY",0),Oe(this,"offsetX",0),Oe(this,"offsetY",0),Oe(this,"lastX",0),Oe(this,"lastY",0),Oe(this,"activateAfterLongPress",0),Oe(this,"activationTimeout",0)}init(e,n){super.init(e,n)}updateGestureConfig({enabled:e=!0,...n}){this.resetConfig(),super.updateGestureConfig({enabled:e,...n}),this.checkCustomActivationCriteria(this.customActivationProperties),this.config.minDist!==void 0?this.minDistSq=this.config.minDist*this.config.minDist:this.hasCustomActivationCriteria&&(this.minDistSq=Number.MAX_SAFE_INTEGER),this.config.minPointers!==void 0&&(this.minPointers=this.config.minPointers),this.config.maxPointers!==void 0&&(this.maxPointers=this.config.maxPointers),this.config.minVelocity!==void 0&&(this.minVelocityX=this.config.minVelocity,this.minVelocityY=this.config.minVelocity),this.config.minVelocityX!==void 0&&(this.minVelocityX=this.config.minVelocityX),this.config.minVelocityY!==void 0&&(this.minVelocityY=this.config.minVelocityY),this.config.activateAfterLongPress!==void 0&&(this.activateAfterLongPress=this.config.activateAfterLongPress),this.config.activeOffsetXStart!==void 0&&(this.activeOffsetXStart=this.config.activeOffsetXStart,this.config.activeOffsetXEnd===void 0&&(this.activeOffsetXEnd=Number.MAX_SAFE_INTEGER)),this.config.activeOffsetXEnd!==void 0&&(this.activeOffsetXEnd=this.config.activeOffsetXEnd,this.config.activeOffsetXStart===void 0&&(this.activeOffsetXStart=Number.MIN_SAFE_INTEGER)),this.config.failOffsetXStart!==void 0&&(this.failOffsetXStart=this.config.failOffsetXStart,this.config.failOffsetXEnd===void 0&&(this.failOffsetXEnd=Number.MAX_SAFE_INTEGER)),this.config.failOffsetXEnd!==void 0&&(this.failOffsetXEnd=this.config.failOffsetXEnd,this.config.failOffsetXStart===void 0&&(this.failOffsetXStart=Number.MIN_SAFE_INTEGER)),this.config.activeOffsetYStart!==void 0&&(this.activeOffsetYStart=this.config.activeOffsetYStart,this.config.activeOffsetYEnd===void 0&&(this.activeOffsetYEnd=Number.MAX_SAFE_INTEGER)),this.config.activeOffsetYEnd!==void 0&&(this.activeOffsetYEnd=this.config.activeOffsetYEnd,this.config.activeOffsetYStart===void 0&&(this.activeOffsetYStart=Number.MIN_SAFE_INTEGER)),this.config.failOffsetYStart!==void 0&&(this.failOffsetYStart=this.config.failOffsetYStart,this.config.failOffsetYEnd===void 0&&(this.failOffsetYEnd=Number.MAX_SAFE_INTEGER)),this.config.failOffsetYEnd!==void 0&&(this.failOffsetYEnd=this.config.failOffsetYEnd,this.config.failOffsetYStart===void 0&&(this.failOffsetYStart=Number.MIN_SAFE_INTEGER))}resetConfig(){super.resetConfig(),this.activeOffsetXStart=-Number.MAX_SAFE_INTEGER,this.activeOffsetXEnd=Number.MIN_SAFE_INTEGER,this.failOffsetXStart=Number.MIN_SAFE_INTEGER,this.failOffsetXEnd=Number.MAX_SAFE_INTEGER,this.activeOffsetYStart=Number.MAX_SAFE_INTEGER,this.activeOffsetYEnd=Number.MIN_SAFE_INTEGER,this.failOffsetYStart=Number.MIN_SAFE_INTEGER,this.failOffsetYEnd=Number.MAX_SAFE_INTEGER,this.minVelocityX=Number.MAX_SAFE_INTEGER,this.minVelocityY=Number.MAX_SAFE_INTEGER,this.minVelocitySq=Number.MAX_SAFE_INTEGER,this.minDistSq=sc,this.minPointers=rh,this.maxPointers=ih,this.activateAfterLongPress=0}transformNativeEvent(){const e=this.getTranslationX(),n=this.getTranslationY();return{...super.transformNativeEvent(),translationX:isNaN(e)?0:e,translationY:isNaN(n)?0:n,velocityX:this.velocityX,velocityY:this.velocityY}}getTranslationX(){return this.lastX-this.startX+this.offsetX}getTranslationY(){return this.lastY-this.startY+this.offsetY}clearActivationTimeout(){clearTimeout(this.activationTimeout)}onPointerDown(e){if(!this.isButtonInConfig(e.button))return;this.tracker.addToTracker(e),super.onPointerDown(e);const n=this.tracker.getAbsoluteCoordsAverage();this.lastX=n.x,this.lastY=n.y,this.startX=this.lastX,this.startY=this.lastY,this.tryBegin(e),this.checkBegan(),this.tryToSendTouchEvent(e)}onPointerAdd(e){this.tracker.addToTracker(e),super.onPointerAdd(e),this.tryBegin(e),this.offsetX+=this.lastX-this.startX,this.offsetY+=this.lastY-this.startY;const n=this.tracker.getAbsoluteCoordsAverage();this.lastX=n.x,this.lastY=n.y,this.startX=this.lastX,this.startY=this.lastY,this.tracker.getTrackedPointersCount()>this.maxPointers?this.currentState===L.ACTIVE?this.cancel():this.fail():this.checkBegan()}onPointerUp(e){if(super.onPointerUp(e),this.currentState===L.ACTIVE){const n=this.tracker.getAbsoluteCoordsAverage();this.lastX=n.x,this.lastY=n.y}this.tracker.removeFromTracker(e.pointerId),this.tracker.getTrackedPointersCount()===0&&this.clearActivationTimeout(),this.currentState===L.ACTIVE?this.end():(this.resetProgress(),this.fail())}onPointerRemove(e){super.onPointerRemove(e),this.tracker.removeFromTracker(e.pointerId),this.offsetX+=this.lastX-this.startX,this.offsetY+=this.lastY-this.startY;const n=this.tracker.getAbsoluteCoordsAverage();this.lastX=n.x,this.lastY=n.y,this.startX=this.lastX,this.startY=this.lastY,this.currentState===L.ACTIVE&&this.tracker.getTrackedPointersCount()<this.minPointers||this.checkBegan()}onPointerMove(e){this.tracker.track(e);const n=this.tracker.getAbsoluteCoordsAverage();this.lastX=n.x,this.lastY=n.y;const r=this.tracker.getVelocity(e.pointerId);this.velocityX=r.x,this.velocityY=r.y,this.checkBegan(),super.onPointerMove(e)}onPointerOutOfBounds(e){if(this.getShouldCancelWhenOutside())return;this.tracker.track(e);const n=this.tracker.getAbsoluteCoordsAverage();this.lastX=n.x,this.lastY=n.y;const r=this.tracker.getVelocity(e.pointerId);this.velocityX=r.x,this.velocityY=r.y,this.checkBegan(),this.currentState===L.ACTIVE&&super.onPointerOutOfBounds(e)}shouldActivate(){const e=this.getTranslationX();if(this.activeOffsetXStart!==Number.MAX_SAFE_INTEGER&&e<this.activeOffsetXStart||this.activeOffsetXEnd!==Number.MIN_SAFE_INTEGER&&e>this.activeOffsetXEnd)return!0;const n=this.getTranslationY();if(this.activeOffsetYStart!==Number.MAX_SAFE_INTEGER&&n<this.activeOffsetYStart||this.activeOffsetYEnd!==Number.MIN_SAFE_INTEGER&&n>this.activeOffsetYEnd)return!0;const r=e*e+n*n;if(this.minDistSq!==Number.MAX_SAFE_INTEGER&&r>=this.minDistSq)return!0;const i=this.velocityX;if(this.minVelocityX!==Number.MAX_SAFE_INTEGER&&(this.minVelocityX<0&&i<=this.minVelocityX||this.minVelocityX>=0&&this.minVelocityX<=i))return!0;const a=this.velocityY;if(this.minVelocityY!==Number.MAX_SAFE_INTEGER&&(this.minVelocityY<0&&a<=this.minVelocityY||this.minVelocityY>=0&&this.minVelocityY<=a))return!0;const s=i*i+a*a;return this.minVelocitySq!==Number.MAX_SAFE_INTEGER&&s>=this.minVelocitySq}shouldFail(){const e=this.getTranslationX(),n=this.getTranslationY(),r=e*e+n*n;return this.activateAfterLongPress>0&&r>sc?(this.clearActivationTimeout(),!0):this.failOffsetXStart!==Number.MIN_SAFE_INTEGER&&e<this.failOffsetXStart||this.failOffsetXEnd!==Number.MAX_SAFE_INTEGER&&e>this.failOffsetXEnd||this.failOffsetYStart!==Number.MIN_SAFE_INTEGER&&n<this.failOffsetYStart?!0:this.failOffsetYEnd!==Number.MAX_SAFE_INTEGER&&n>this.failOffsetYEnd}tryBegin(e){if(this.currentState===L.UNDETERMINED&&this.tracker.getTrackedPointersCount()>=this.minPointers)this.resetProgress(),this.offsetX=0,this.offsetY=0,this.velocityX=0,this.velocityY=0,this.begin(),this.activateAfterLongPress>0&&(this.activationTimeout=setTimeout(()=>{this.activate()},this.activateAfterLongPress));else{const n=this.tracker.getVelocity(e.pointerId);this.velocityX=n.x,this.velocityY=n.y}}checkBegan(){this.currentState===L.BEGAN&&(this.shouldFail()?this.fail():this.shouldActivate()&&this.activate())}activate(e=!1){this.currentState!==L.ACTIVE&&this.resetProgress(),super.activate(e)}onCancel(){this.clearActivationTimeout()}onReset(){this.clearActivationTimeout()}resetProgress(){this.currentState!==L.ACTIVE&&(this.startX=this.lastX,this.startY=this.lastY)}};function tt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const ah=500,sh=500,oh=1,lh=1;let j2=class extends qn{constructor(...e){super(...e),tt(this,"maxDeltaX",Number.MIN_SAFE_INTEGER),tt(this,"maxDeltaY",Number.MIN_SAFE_INTEGER),tt(this,"maxDistSq",Number.MIN_SAFE_INTEGER),tt(this,"maxDurationMs",ah),tt(this,"maxDelayMs",sh),tt(this,"numberOfTaps",oh),tt(this,"minNumberOfPointers",lh),tt(this,"currentMaxNumberOfPointers",1),tt(this,"startX",0),tt(this,"startY",0),tt(this,"offsetX",0),tt(this,"offsetY",0),tt(this,"lastX",0),tt(this,"lastY",0),tt(this,"waitTimeout",void 0),tt(this,"delayTimeout",void 0),tt(this,"tapsSoFar",0)}init(e,n){super.init(e,n)}updateGestureConfig({enabled:e=!0,...n}){super.updateGestureConfig({enabled:e,...n}),this.config.numberOfTaps!==void 0&&(this.numberOfTaps=this.config.numberOfTaps),this.config.maxDurationMs!==void 0&&(this.maxDurationMs=this.config.maxDurationMs),this.config.maxDelayMs!==void 0&&(this.maxDelayMs=this.config.maxDelayMs),this.config.maxDeltaX!==void 0&&(this.maxDeltaX=this.config.maxDeltaX),this.config.maxDeltaY!==void 0&&(this.maxDeltaY=this.config.maxDeltaY),this.config.maxDist!==void 0&&(this.maxDistSq=this.config.maxDist*this.config.maxDist),this.config.minPointers!==void 0&&(this.minNumberOfPointers=this.config.minPointers)}resetConfig(){super.resetConfig(),this.maxDeltaX=Number.MIN_SAFE_INTEGER,this.maxDeltaY=Number.MIN_SAFE_INTEGER,this.maxDistSq=Number.MIN_SAFE_INTEGER,this.maxDurationMs=ah,this.maxDelayMs=sh,this.numberOfTaps=oh,this.minNumberOfPointers=lh}clearTimeouts(){clearTimeout(this.waitTimeout),clearTimeout(this.delayTimeout)}startTap(){this.clearTimeouts(),this.waitTimeout=setTimeout(()=>this.fail(),this.maxDurationMs)}endTap(){this.clearTimeouts(),++this.tapsSoFar===this.numberOfTaps&&this.currentMaxNumberOfPointers>=this.minNumberOfPointers?this.activate():this.delayTimeout=setTimeout(()=>this.fail(),this.maxDelayMs)}onPointerDown(e){this.isButtonInConfig(e.button)&&(this.tracker.addToTracker(e),super.onPointerDown(e),this.trySettingPosition(e),this.startX=e.x,this.startY=e.y,this.lastX=e.x,this.lastY=e.y,this.updateState(e),this.tryToSendTouchEvent(e))}onPointerAdd(e){super.onPointerAdd(e),this.tracker.addToTracker(e),this.trySettingPosition(e),this.offsetX+=this.lastX-this.startX,this.offsetY+=this.lastY-this.startY;const n=this.tracker.getAbsoluteCoordsAverage();this.lastX=n.x,this.lastY=n.y,this.startX=n.x,this.startY=n.y,this.updateState(e)}onPointerUp(e){super.onPointerUp(e);const n=this.tracker.getAbsoluteCoordsAverage();this.lastX=n.x,this.lastY=n.y,this.tracker.removeFromTracker(e.pointerId),this.updateState(e)}onPointerRemove(e){super.onPointerRemove(e),this.tracker.removeFromTracker(e.pointerId),this.offsetX+=this.lastX-this.startX,this.offsetY+=this.lastY=this.startY;const n=this.tracker.getAbsoluteCoordsAverage();this.lastX=n.x,this.lastY=n.y,this.startX=this.lastX,this.startY=this.lastY,this.updateState(e)}onPointerMove(e){this.trySettingPosition(e),this.tracker.track(e);const n=this.tracker.getAbsoluteCoordsAverage();this.lastX=n.x,this.lastY=n.y,this.updateState(e),super.onPointerMove(e)}onPointerOutOfBounds(e){this.trySettingPosition(e),this.tracker.track(e);const n=this.tracker.getAbsoluteCoordsAverage();this.lastX=n.x,this.lastY=n.y,this.updateState(e),super.onPointerOutOfBounds(e)}updateState(e){if(this.currentMaxNumberOfPointers<this.tracker.getTrackedPointersCount()&&(this.currentMaxNumberOfPointers=this.tracker.getTrackedPointersCount()),this.shouldFail()){this.fail();return}switch(this.currentState){case L.UNDETERMINED:e.eventType===se.DOWN&&this.begin(),this.startTap();break;case L.BEGAN:e.eventType===se.UP&&this.endTap(),e.eventType===se.DOWN&&this.startTap();break}}trySettingPosition(e){this.currentState===L.UNDETERMINED&&(this.offsetX=0,this.offsetY=0,this.startX=e.x,this.startY=e.y)}shouldFail(){const e=this.lastX-this.startX+this.offsetX;if(this.maxDeltaX!==Number.MIN_SAFE_INTEGER&&Math.abs(e)>this.maxDeltaX)return!0;const n=this.lastY-this.startY+this.offsetY;if(this.maxDeltaY!==Number.MIN_SAFE_INTEGER&&Math.abs(n)>this.maxDeltaY)return!0;const r=n*n+e*e;return this.maxDistSq!==Number.MIN_SAFE_INTEGER&&r>this.maxDistSq}activate(){super.activate(),this.end()}onCancel(){this.resetProgress(),this.clearTimeouts()}resetProgress(){this.clearTimeouts(),this.tapsSoFar=0,this.currentMaxNumberOfPointers=0}};function _n(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const uh=500,Q2=10,Z2=10;let J2=class extends qn{constructor(...e){super(...e),_n(this,"minDurationMs",uh),_n(this,"defaultMaxDistSq",Q2*Z2),_n(this,"maxDistSq",this.defaultMaxDistSq),_n(this,"numberOfPointers",1),_n(this,"startX",0),_n(this,"startY",0),_n(this,"startTime",0),_n(this,"previousTime",0),_n(this,"activationTimeout",void 0)}init(e,n){this.config.enableContextMenu===void 0&&(this.config.enableContextMenu=!1),super.init(e,n)}transformNativeEvent(){return{...super.transformNativeEvent(),duration:Date.now()-this.startTime}}updateGestureConfig({enabled:e=!0,...n}){super.updateGestureConfig({enabled:e,...n}),this.config.minDurationMs!==void 0&&(this.minDurationMs=this.config.minDurationMs),this.config.maxDist!==void 0&&(this.maxDistSq=this.config.maxDist*this.config.maxDist),this.config.numberOfPointers!==void 0&&(this.numberOfPointers=this.config.numberOfPointers)}resetConfig(){super.resetConfig(),this.minDurationMs=uh,this.maxDistSq=this.defaultMaxDistSq}onStateChange(e,n){clearTimeout(this.activationTimeout)}onPointerDown(e){this.isButtonInConfig(e.button)&&(this.tracker.addToTracker(e),super.onPointerDown(e),this.startX=e.x,this.startY=e.y,this.tryBegin(),this.tryActivate(),this.tryToSendTouchEvent(e))}onPointerAdd(e){if(super.onPointerAdd(e),this.tracker.addToTracker(e),this.tracker.getTrackedPointersCount()>this.numberOfPointers){this.fail();return}const n=this.tracker.getAbsoluteCoordsAverage();this.startX=n.x,this.startY=n.y,this.tryActivate()}onPointerMove(e){super.onPointerMove(e),this.tracker.track(e),this.checkDistanceFail()}onPointerUp(e){super.onPointerUp(e),this.tracker.removeFromTracker(e.pointerId),this.currentState===L.ACTIVE?this.end():this.fail()}onPointerRemove(e){super.onPointerRemove(e),this.tracker.removeFromTracker(e.pointerId),this.tracker.getTrackedPointersCount()<this.numberOfPointers&&this.getState()!==L.ACTIVE&&this.fail()}tryBegin(){this.currentState===L.UNDETERMINED&&(this.previousTime=Date.now(),this.startTime=this.previousTime,this.begin())}tryActivate(){this.tracker.getTrackedPointersCount()===this.numberOfPointers&&(this.minDurationMs>0?this.activationTimeout=setTimeout(()=>{this.activate()},this.minDurationMs):this.minDurationMs===0&&this.activate())}checkDistanceFail(){const e=this.tracker.getAbsoluteCoordsAverage(),n=e.x-this.startX,r=e.y-this.startY;n*n+r*r<=this.maxDistSq||(this.currentState===L.ACTIVE?this.cancel():this.fail())}};function Ft(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class eT{constructor(e){Ft(this,"onScaleBegin",void 0),Ft(this,"onScale",void 0),Ft(this,"onScaleEnd",void 0),Ft(this,"focusX",void 0),Ft(this,"focusY",void 0),Ft(this,"currentSpan",void 0),Ft(this,"prevSpan",void 0),Ft(this,"initialSpan",void 0),Ft(this,"currentTime",void 0),Ft(this,"prevTime",void 0),Ft(this,"inProgress",!1),Ft(this,"spanSlop",void 0),Ft(this,"minSpan",void 0),this.onScaleBegin=e.onScaleBegin,this.onScale=e.onScale,this.onScaleEnd=e.onScaleEnd,this.spanSlop=Ui*2,this.minSpan=0}onTouchEvent(e,n){this.currentTime=e.time;const r=e.eventType,i=n.getTrackedPointersCount(),a=r===se.UP||r===se.ADDITIONAL_POINTER_UP||r===se.CANCEL;if((r===se.DOWN||a)&&(this.inProgress&&(this.onScaleEnd(this),this.inProgress=!1,this.initialSpan=0),a))return!0;const s=r===se.DOWN||r===se.ADDITIONAL_POINTER_UP||r===se.ADDITIONAL_POINTER_DOWN,o=r===se.ADDITIONAL_POINTER_UP,l=o?e.pointerId:void 0,u=o?i-1:i,c=n.getAbsoluteCoordsSum(),A=c.x/u,d=c.y/u;let f=0,p=0;n.getData().forEach((y,x)=>{x!==l&&(f+=Math.abs(y.abosoluteCoords.x-A),p+=Math.abs(y.abosoluteCoords.y-d))});const h=f/u,v=p/u,E=h*2,C=v*2,m=Math.hypot(E,C),g=this.inProgress;return this.focusX=A,this.focusY=d,this.inProgress&&(m<this.minSpan||s)&&(this.onScaleEnd(this),this.inProgress=!1,this.initialSpan=m),s&&(this.initialSpan=this.prevSpan=this.currentSpan=m),!this.inProgress&&m>=this.minSpan&&(g||Math.abs(m-this.initialSpan)>this.spanSlop)&&(this.prevSpan=this.currentSpan=m,this.prevTime=this.currentTime,this.inProgress=this.onScaleBegin(this)),r!==se.MOVE||(this.currentSpan=m,this.inProgress&&!this.onScale(this))||(this.prevSpan=this.currentSpan,this.prevTime=this.currentTime),!0}getCurrentSpan(){return this.currentSpan}getFocusX(){return this.focusX}getFocusY(){return this.focusY}getTimeDelta(){return this.currentTime-this.prevTime}getScaleFactor(e){return e<2?1:this.prevSpan>0?this.currentSpan/this.prevSpan:1}}function Ci(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}let tT=class extends qn{constructor(...e){super(...e),Ci(this,"scale",1),Ci(this,"velocity",0),Ci(this,"startingSpan",0),Ci(this,"spanSlop",Ui),Ci(this,"scaleDetectorListener",{onScaleBegin:n=>(this.startingSpan=n.getCurrentSpan(),!0),onScale:n=>{const r=this.scale;this.scale*=n.getScaleFactor(this.tracker.getTrackedPointersCount());const i=n.getTimeDelta();return i>0&&(this.velocity=(this.scale-r)/i),Math.abs(this.startingSpan-n.getCurrentSpan())>=this.spanSlop&&this.currentState===L.BEGAN&&this.activate(),!0},onScaleEnd:n=>{}}),Ci(this,"scaleGestureDetector",new eT(this.scaleDetectorListener))}init(e,n){super.init(e,n),this.setShouldCancelWhenOutside(!1)}updateGestureConfig({enabled:e=!0,...n}){super.updateGestureConfig({enabled:e,...n})}transformNativeEvent(){return{focalX:this.scaleGestureDetector.getFocusX(),focalY:this.scaleGestureDetector.getFocusY(),velocity:this.velocity,scale:this.scale}}onPointerDown(e){this.tracker.addToTracker(e),super.onPointerDown(e),this.tryToSendTouchEvent(e)}onPointerAdd(e){this.tracker.addToTracker(e),super.onPointerAdd(e),this.tryBegin(),this.scaleGestureDetector.onTouchEvent(e,this.tracker)}onPointerUp(e){super.onPointerUp(e),this.tracker.removeFromTracker(e.pointerId),this.currentState===L.ACTIVE&&(this.scaleGestureDetector.onTouchEvent(e,this.tracker),this.currentState===L.ACTIVE?this.end():this.fail())}onPointerRemove(e){super.onPointerRemove(e),this.scaleGestureDetector.onTouchEvent(e,this.tracker),this.tracker.removeFromTracker(e.pointerId),this.currentState===L.ACTIVE&&this.tracker.getTrackedPointersCount()<2&&this.end()}onPointerMove(e){this.tracker.getTrackedPointersCount()<2||(this.tracker.track(e),this.scaleGestureDetector.onTouchEvent(e,this.tracker),super.onPointerMove(e))}onPointerOutOfBounds(e){this.tracker.getTrackedPointersCount()<2||(this.tracker.track(e),this.scaleGestureDetector.onTouchEvent(e,this.tracker),super.onPointerOutOfBounds(e))}tryBegin(){this.currentState===L.UNDETERMINED&&(this.resetProgress(),this.begin())}activate(e){this.currentState!==L.ACTIVE&&this.resetProgress(),super.activate(e)}onReset(){this.resetProgress()}resetProgress(){this.currentState!==L.ACTIVE&&(this.velocity=0,this.scale=1)}};function qt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class nT{constructor(e){qt(this,"onRotationBegin",void 0),qt(this,"onRotation",void 0),qt(this,"onRotationEnd",void 0),qt(this,"currentTime",0),qt(this,"previousTime",0),qt(this,"previousAngle",0),qt(this,"rotation",0),qt(this,"anchorX",0),qt(this,"anchorY",0),qt(this,"isInProgress",!1),qt(this,"keyPointers",[NaN,NaN]),this.onRotationBegin=e.onRotationBegin,this.onRotation=e.onRotation,this.onRotationEnd=e.onRotationEnd}updateCurrent(e,n){this.previousTime=this.currentTime,this.currentTime=e.time;const[r,i]=this.keyPointers,a=n.getLastAbsoluteCoords(r),s=n.getLastAbsoluteCoords(i),o=s.x-a.x,l=s.y-a.y;this.anchorX=(a.x+s.x)/2,this.anchorY=(a.y+s.y)/2;const u=-Math.atan2(l,o);this.rotation=Number.isNaN(this.previousAngle)?0:this.previousAngle-u,this.previousAngle=u,this.rotation>Math.PI?this.rotation-=Math.PI:this.rotation<-Math.PI&&(this.rotation+=Math.PI),this.rotation>Math.PI/2?this.rotation-=Math.PI:this.rotation<-Math.PI/2&&(this.rotation+=Math.PI)}finish(){this.isInProgress&&(this.isInProgress=!1,this.keyPointers=[NaN,NaN],this.onRotationEnd(this))}setKeyPointers(e){if(this.keyPointers[0]&&this.keyPointers[1])return;const n=e.getData().keys();this.keyPointers[0]=n.next().value,this.keyPointers[1]=n.next().value}onTouchEvent(e,n){switch(e.eventType){case se.DOWN:this.isInProgress=!1;break;case se.ADDITIONAL_POINTER_DOWN:if(this.isInProgress)break;this.isInProgress=!0,this.previousTime=e.time,this.previousAngle=NaN,this.setKeyPointers(n),this.updateCurrent(e,n),this.onRotationBegin(this);break;case se.MOVE:if(!this.isInProgress)break;this.updateCurrent(e,n),this.onRotation(this);break;case se.ADDITIONAL_POINTER_UP:if(!this.isInProgress)break;this.keyPointers.indexOf(e.pointerId)>=0&&this.finish();break;case se.UP:this.isInProgress&&this.finish();break}return!0}getTimeDelta(){return this.currentTime+this.previousTime}getAnchorX(){return this.anchorX}getAnchorY(){return this.anchorY}getRotation(){return this.rotation}reset(){this.keyPointers=[NaN,NaN],this.isInProgress=!1}}function Ei(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const rT=Math.PI/36;let iT=class extends qn{constructor(...e){super(...e),Ei(this,"rotation",0),Ei(this,"velocity",0),Ei(this,"cachedAnchorX",0),Ei(this,"cachedAnchorY",0),Ei(this,"rotationGestureListener",{onRotationBegin:n=>!0,onRotation:n=>{const r=this.rotation;this.rotation+=n.getRotation();const i=n.getTimeDelta();return i>0&&(this.velocity=(this.rotation-r)/i),Math.abs(this.rotation)>=rT&&this.currentState===L.BEGAN&&this.activate(),!0},onRotationEnd:n=>{this.end()}}),Ei(this,"rotationGestureDetector",new nT(this.rotationGestureListener))}init(e,n){super.init(e,n),this.setShouldCancelWhenOutside(!1)}updateGestureConfig({enabled:e=!0,...n}){super.updateGestureConfig({enabled:e,...n})}transformNativeEvent(){return{rotation:this.rotation?this.rotation:0,anchorX:this.getAnchorX(),anchorY:this.getAnchorY(),velocity:this.velocity?this.velocity:0}}getAnchorX(){const e=this.rotationGestureDetector.getAnchorX();return e||this.cachedAnchorX}getAnchorY(){const e=this.rotationGestureDetector.getAnchorY();return e||this.cachedAnchorY}onPointerDown(e){this.tracker.addToTracker(e),super.onPointerDown(e),this.tryToSendTouchEvent(e)}onPointerAdd(e){this.tracker.addToTracker(e),super.onPointerAdd(e),this.tryBegin(),this.rotationGestureDetector.onTouchEvent(e,this.tracker)}onPointerMove(e){this.tracker.getTrackedPointersCount()<2||(this.getAnchorX()&&(this.cachedAnchorX=this.getAnchorX()),this.getAnchorY()&&(this.cachedAnchorY=this.getAnchorY()),this.tracker.track(e),this.rotationGestureDetector.onTouchEvent(e,this.tracker),super.onPointerMove(e))}onPointerOutOfBounds(e){this.tracker.getTrackedPointersCount()<2||(this.getAnchorX()&&(this.cachedAnchorX=this.getAnchorX()),this.getAnchorY()&&(this.cachedAnchorY=this.getAnchorY()),this.tracker.track(e),this.rotationGestureDetector.onTouchEvent(e,this.tracker),super.onPointerOutOfBounds(e))}onPointerUp(e){super.onPointerUp(e),this.tracker.removeFromTracker(e.pointerId),this.rotationGestureDetector.onTouchEvent(e,this.tracker),this.currentState===L.ACTIVE&&(this.currentState===L.ACTIVE?this.end():this.fail())}onPointerRemove(e){super.onPointerRemove(e),this.rotationGestureDetector.onTouchEvent(e,this.tracker),this.tracker.removeFromTracker(e.pointerId)}tryBegin(){this.currentState===L.UNDETERMINED&&this.begin()}activate(e){super.activate()}onReset(){this.currentState!==L.ACTIVE&&(this.rotation=0,this.velocity=0,this.rotationGestureDetector.reset())}};const qd=1,jd=2,Qd=4,Zd=8,Xr={RIGHT:qd,LEFT:jd,UP:Qd,DOWN:Zd},Na={UP_RIGHT:Qd|qd,DOWN_RIGHT:Zd|qd,UP_LEFT:Qd|jd,DOWN_LEFT:Zd|jd};function ma(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class kt{constructor(e,n){ma(this,"x",void 0),ma(this,"y",void 0),ma(this,"unitX",void 0),ma(this,"unitY",void 0),ma(this,"_magnitude",void 0),this.x=e,this.y=n,this._magnitude=Math.hypot(this.x,this.y);const r=this._magnitude>U2;this.unitX=r?this.x/this._magnitude:0,this.unitY=r?this.y/this._magnitude:0}static fromDirection(e){var n;return(n=aT.get(e))!==null&&n!==void 0?n:new kt(0,0)}static fromVelocity(e,n){const r=e.getVelocity(n);return new kt(r.x,r.y)}get magnitude(){return this._magnitude}computeSimilarity(e){return this.unitX*e.unitX+this.unitY*e.unitY}isSimilar(e,n){return this.computeSimilarity(e)>n}}const aT=new Map([[Xr.LEFT,new kt(-1,0)],[Xr.RIGHT,new kt(1,0)],[Xr.UP,new kt(0,-1)],[Xr.DOWN,new kt(0,1)],[Na.UP_RIGHT,new kt(1,-1)],[Na.DOWN_RIGHT,new kt(1,1)],[Na.UP_LEFT,new kt(-1,-1)],[Na.DOWN_LEFT,new kt(-1,1)]]);function ts(t,{x:e,y:n}){const r=t.getBoundingClientRect();return e>=r.left&&e<=r.right&&n>=r.top&&n<=r.bottom}const sT=new Map([["mouse",St.MOUSE],["touch",St.TOUCH],["pen",St.STYLUS],["none",St.OTHER]]),oT=t=>t*Math.PI/180,aC=t=>Math.cos(oT(t/2));function sC(t){var e;const n=getComputedStyle(t),r={scaleX:1,scaleY:1};if(n.scale!==void 0&&n.scale!=="none"){const a=n.scale.split(" ");a[0]&&(r.scaleX=parseFloat(a[0])),r.scaleY=a[1]?parseFloat(a[1]):parseFloat(a[0])}const i=(e=new RegExp(/matrix\((.+)\)/).exec(n.transform))===null||e===void 0?void 0:e[1];if(i){const a=i.split(", ");r.scaleX*=parseFloat(a[0]),r.scaleY*=parseFloat(a[3])}return r}function Fr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const lT=800,uT=700,oC=30,ch=Xr.RIGHT,dh=1,cT=aC(oC),dT=aC(90-oC);let AT=class extends qn{constructor(...e){super(...e),Fr(this,"numberOfPointersRequired",dh),Fr(this,"direction",ch),Fr(this,"maxDurationMs",lT),Fr(this,"minVelocity",uT),Fr(this,"delayTimeout",void 0),Fr(this,"maxNumberOfPointersSimultaneously",0),Fr(this,"keyPointer",NaN)}init(e,n){super.init(e,n)}updateGestureConfig({enabled:e=!0,...n}){super.updateGestureConfig({enabled:e,...n}),this.config.direction&&(this.direction=this.config.direction),this.config.numberOfPointers&&(this.numberOfPointersRequired=this.config.numberOfPointers)}startFling(){this.begin(),this.maxNumberOfPointersSimultaneously=1,this.delayTimeout=setTimeout(()=>this.fail(),this.maxDurationMs)}tryEndFling(){const e=kt.fromVelocity(this.tracker,this.keyPointer),n=(u,c)=>(u&this.direction)===u&&e.isSimilar(kt.fromDirection(u),c),r=Object.values(Xr),i=Object.values(Na),a=r.map(u=>n(u,cT)),s=i.map(u=>n(u,dT)),o=a.some(Boolean)||s.some(Boolean),l=e.magnitude>this.minVelocity;return this.maxNumberOfPointersSimultaneously===this.numberOfPointersRequired&&o&&l?(clearTimeout(this.delayTimeout),this.activate(),!0):!1}endFling(){this.tryEndFling()||this.fail()}onPointerDown(e){this.isButtonInConfig(e.button)&&(this.tracker.addToTracker(e),this.keyPointer=e.pointerId,super.onPointerDown(e),this.newPointerAction(),this.tryToSendTouchEvent(e))}onPointerAdd(e){this.tracker.addToTracker(e),super.onPointerAdd(e),this.newPointerAction()}newPointerAction(){this.currentState===L.UNDETERMINED&&this.startFling(),this.currentState===L.BEGAN&&(this.tryEndFling(),this.tracker.getTrackedPointersCount()>this.maxNumberOfPointersSimultaneously&&(this.maxNumberOfPointersSimultaneously=this.tracker.getTrackedPointersCount()))}pointerMoveAction(e){this.tracker.track(e),this.currentState===L.BEGAN&&this.tryEndFling()}onPointerMove(e){this.pointerMoveAction(e),super.onPointerMove(e)}onPointerOutOfBounds(e){this.pointerMoveAction(e),super.onPointerOutOfBounds(e)}onPointerUp(e){super.onPointerUp(e),this.onUp(e),this.keyPointer=NaN}onPointerRemove(e){super.onPointerRemove(e),this.onUp(e)}onUp(e){this.currentState===L.BEGAN&&this.endFling(),this.tracker.removeFromTracker(e.pointerId)}activate(e){super.activate(e),this.end()}resetConfig(){super.resetConfig(),this.numberOfPointersRequired=dh,this.direction=ch}};function xi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}let fT=class lC extends qn{constructor(...e){super(...e),xi(this,"buttonRole",void 0),xi(this,"shouldActivateOnStart",!1),xi(this,"disallowInterruption",!1),xi(this,"startX",0),xi(this,"startY",0),xi(this,"minDistSq",Ui*Ui)}init(e,n){if(super.init(e,n),this.setShouldCancelWhenOutside(!0),ue.OS!=="web")return;const r=this.delegate.getView();this.restoreViewStyles(r),this.buttonRole=r.getAttribute("role")==="button"}updateGestureConfig({enabled:e=!0,...n}){super.updateGestureConfig({enabled:e,...n}),this.config.shouldActivateOnStart!==void 0&&(this.shouldActivateOnStart=this.config.shouldActivateOnStart),this.config.disallowInterruption!==void 0&&(this.disallowInterruption=this.config.disallowInterruption);const r=this.delegate.getView();this.restoreViewStyles(r)}restoreViewStyles(e){e&&(e.style.touchAction="auto",e.style.WebkitTouchCallout="auto")}resetConfig(){super.resetConfig()}onPointerDown(e){this.tracker.addToTracker(e),super.onPointerDown(e),this.newPointerAction(),this.tryToSendTouchEvent(e)}onPointerAdd(e){this.tracker.addToTracker(e),super.onPointerAdd(e),this.newPointerAction()}newPointerAction(){const e=this.tracker.getAbsoluteCoordsAverage();this.startX=e.x,this.startY=e.y,this.currentState===L.UNDETERMINED&&(this.begin(),this.buttonRole&&this.activate())}onPointerMove(e){this.tracker.track(e);const n=this.tracker.getAbsoluteCoordsAverage(),r=this.startX-n.x,i=this.startY-n.y;r*r+i*i>=this.minDistSq&&(this.buttonRole&&this.currentState===L.ACTIVE?this.cancel():!this.buttonRole&&this.currentState===L.BEGAN&&this.activate())}onPointerLeave(){(this.currentState===L.BEGAN||this.currentState===L.ACTIVE)&&this.cancel()}onPointerUp(e){super.onPointerUp(e),this.onUp(e)}onPointerRemove(e){super.onPointerRemove(e),this.onUp(e)}onUp(e){this.tracker.removeFromTracker(e.pointerId),this.tracker.getTrackedPointersCount()===0&&(this.currentState===L.ACTIVE?this.end():this.fail())}shouldRecognizeSimultaneously(e){if(super.shouldRecognizeSimultaneously(e))return!0;if(e instanceof lC&&e.getState()===L.ACTIVE&&e.disallowsInterruption())return!1;const n=!this.disallowInterruption;return this.currentState===L.ACTIVE&&e.getState()===L.ACTIVE&&n?!1:this.currentState===L.ACTIVE&&n&&e.getTag()>0}shouldBeCancelledByOther(e){return!this.disallowInterruption}disallowsInterruption(){return this.disallowInterruption}isButton(){return this.buttonRole}};class hT extends qn{init(e,n){super.init(e,n)}updateGestureConfig({enabled:e=!0,...n}){super.updateGestureConfig({enabled:e,...n})}onPointerDown(e){this.tracker.addToTracker(e),super.onPointerDown(e),this.begin(),this.tryToSendTouchEvent(e)}onPointerAdd(e){this.tracker.addToTracker(e),super.onPointerAdd(e)}onPointerMove(e){this.tracker.track(e),super.onPointerMove(e)}onPointerOutOfBounds(e){this.tracker.track(e),super.onPointerOutOfBounds(e)}onPointerUp(e){super.onPointerUp(e),this.tracker.removeFromTracker(e.pointerId)}onPointerRemove(e){super.onPointerRemove(e),this.tracker.removeFromTracker(e.pointerId)}}class pT extends qn{init(e,n){super.init(e,n)}updateGestureConfig({enabled:e=!0,...n}){super.updateGestureConfig({enabled:e,...n})}onPointerMoveOver(e){en.getInstance().recordHandlerIfNotPresent(this),this.tracker.addToTracker(e),super.onPointerMoveOver(e),this.getState()===L.UNDETERMINED&&(this.begin(),this.activate())}onPointerMoveOut(e){this.tracker.addToTracker(e),super.onPointerMoveOut(e),this.end()}onPointerMove(e){this.tracker.track(e),super.onPointerMove(e)}onPointerCancel(e){super.onPointerCancel(e),this.reset()}}/*! Hammer.JS - v2.0.17-rc - 2019-12-16 * http://naver.github.io/egjs * * Forked By Naver egjs * Copyright (c) hammerjs - * Licensed under the MIT license */function tn(){return tn=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},tn.apply(this,arguments)}function $t(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Vs(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var Qd;typeof Object.assign!="function"?Qd=function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),r=1;r<arguments.length;r++){var i=arguments[r];if(i!=null)for(var a in i)i.hasOwnProperty(a)&&(n[a]=i[a])}return n}:Qd=Object.assign;var ti=Qd,uh=["","webkit","Moz","MS","ms","o"],lT=typeof document>"u"?{style:{}}:document.createElement("div"),uT="function",Di=Math.round,ni=Math.abs,aA=Date.now;function bu(t,e){for(var n,r,i=e[0].toUpperCase()+e.slice(1),a=0;a<uh.length;){if(n=uh[a],r=n?n+i:e,r in t)return r;a++}}var Hn;typeof window>"u"?Hn={}:Hn=window;var oC=bu(lT.style,"touchAction"),lC=oC!==void 0;function cT(){if(!lC)return!1;var t={},e=Hn.CSS&&Hn.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(n){return t[n]=e?Hn.CSS.supports("touch-action",n):!0}),t}var uC="compute",cC="auto",Zd="manipulation",jr="none",ns="pan-x",rs="pan-y",Hs=cT(),dT=/mobile|tablet|ip(ad|hone|od)|android/i,dC="ontouchstart"in Hn,AT=bu(Hn,"PointerEvent")!==void 0,fT=dC&&dT.test(navigator.userAgent),hs="touch",hT="pen",sA="mouse",pT="kinect",vT=25,Et=1,si=2,We=4,Dt=8,No=1,ps=2,vs=4,gs=8,Wi=16,gn=ps|vs,Qr=gs|Wi,AC=gn|Qr,fC=["x","y"],Go=["clientX","clientY"];function Un(t,e,n){var r;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==void 0)for(r=0;r<t.length;)e.call(n,t[r],r,t),r++;else for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t)}function _u(t,e){return typeof t===uT?t.apply(e&&e[0]||void 0,e):t}function Yr(t,e){return t.indexOf(e)>-1}function gT(t){if(Yr(t,jr))return jr;var e=Yr(t,ns),n=Yr(t,rs);return e&&n?jr:e||n?e?ns:rs:Yr(t,Zd)?Zd:cC}var hC=function(){function t(n,r){this.manager=n,this.set(r)}var e=t.prototype;return e.set=function(r){r===uC&&(r=this.compute()),lC&&this.manager.element.style&&Hs[r]&&(this.manager.element.style[oC]=r),this.actions=r.toLowerCase().trim()},e.update=function(){this.set(this.manager.options.touchAction)},e.compute=function(){var r=[];return Un(this.manager.recognizers,function(i){_u(i.options.enable,[i])&&(r=r.concat(i.getTouchAction()))}),gT(r.join(" "))},e.preventDefaults=function(r){var i=r.srcEvent,a=r.offsetDirection;if(this.manager.session.prevented){i.preventDefault();return}var s=this.actions,o=Yr(s,jr)&&!Hs[jr],l=Yr(s,rs)&&!Hs[rs],u=Yr(s,ns)&&!Hs[ns];if(o){var c=r.pointers.length===1,A=r.distance<2,d=r.deltaTime<250;if(c&&A&&d)return}if(!(u&&l)&&(o||l&&a&gn||u&&a&Qr))return this.preventSrc(i)},e.preventSrc=function(r){this.manager.session.prevented=!0,r.preventDefault()},t}();function oA(t,e){for(;t;){if(t===e)return!0;t=t.parentNode}return!1}function pC(t){var e=t.length;if(e===1)return{x:Di(t[0].clientX),y:Di(t[0].clientY)};for(var n=0,r=0,i=0;i<e;)n+=t[i].clientX,r+=t[i].clientY,i++;return{x:Di(n/e),y:Di(r/e)}}function ch(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:Di(t.pointers[n].clientX),clientY:Di(t.pointers[n].clientY)},n++;return{timeStamp:aA(),pointers:e,center:pC(e),deltaX:t.deltaX,deltaY:t.deltaY}}function Lo(t,e,n){n||(n=fC);var r=e[n[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return Math.sqrt(r*r+i*i)}function Jd(t,e,n){n||(n=fC);var r=e[n[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return Math.atan2(i,r)*180/Math.PI}function vC(t,e){return t===e?No:ni(t)>=ni(e)?t<0?ps:vs:e<0?gs:Wi}function mT(t,e){var n=e.center,r=t.offsetDelta||{},i=t.prevDelta||{},a=t.prevInput||{};(e.eventType===Et||a.eventType===We)&&(i=t.prevDelta={x:a.deltaX||0,y:a.deltaY||0},r=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=i.x+(n.x-r.x),e.deltaY=i.y+(n.y-r.y)}function gC(t,e,n){return{x:e/t||0,y:n/t||0}}function CT(t,e){return Lo(e[0],e[1],Go)/Lo(t[0],t[1],Go)}function ET(t,e){return Jd(e[1],e[0],Go)+Jd(t[1],t[0],Go)}function xT(t,e){var n=t.lastInterval||e,r=e.timeStamp-n.timeStamp,i,a,s,o;if(e.eventType!==Dt&&(r>vT||n.velocity===void 0)){var l=e.deltaX-n.deltaX,u=e.deltaY-n.deltaY,c=gC(r,l,u);a=c.x,s=c.y,i=ni(c.x)>ni(c.y)?c.x:c.y,o=vC(l,u),t.lastInterval=e}else i=n.velocity,a=n.velocityX,s=n.velocityY,o=n.direction;e.velocity=i,e.velocityX=a,e.velocityY=s,e.direction=o}function yT(t,e){var n=t.session,r=e.pointers,i=r.length;n.firstInput||(n.firstInput=ch(e)),i>1&&!n.firstMultiple?n.firstMultiple=ch(e):i===1&&(n.firstMultiple=!1);var a=n.firstInput,s=n.firstMultiple,o=s?s.center:a.center,l=e.center=pC(r);e.timeStamp=aA(),e.deltaTime=e.timeStamp-a.timeStamp,e.angle=Jd(o,l),e.distance=Lo(o,l),mT(n,e),e.offsetDirection=vC(e.deltaX,e.deltaY);var u=gC(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=u.x,e.overallVelocityY=u.y,e.overallVelocity=ni(u.x)>ni(u.y)?u.x:u.y,e.scale=s?CT(s.pointers,r):1,e.rotation=s?ET(s.pointers,r):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,xT(n,e);var c=t.element,A=e.srcEvent,d;A.composedPath?d=A.composedPath()[0]:A.path?d=A.path[0]:d=A.target,oA(d,c)&&(c=d),e.target=c}function IT(t,e,n){var r=n.pointers.length,i=n.changedPointers.length,a=e&Et&&r-i===0,s=e&(We|Dt)&&r-i===0;n.isFirst=!!a,n.isFinal=!!s,a&&(t.session={}),n.eventType=e,yT(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function is(t){return t.trim().split(/\s+/g)}function Ka(t,e,n){Un(is(e),function(r){t.addEventListener(r,n,!1)})}function $a(t,e,n){Un(is(e),function(r){t.removeEventListener(r,n,!1)})}function dh(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||window}var ra=function(){function t(n,r){var i=this;this.manager=n,this.callback=r,this.element=n.element,this.target=n.options.inputTarget,this.domHandler=function(a){_u(n.options.enable,[n])&&i.handler(a)},this.init()}var e=t.prototype;return e.handler=function(){},e.init=function(){this.evEl&&Ka(this.element,this.evEl,this.domHandler),this.evTarget&&Ka(this.target,this.evTarget,this.domHandler),this.evWin&&Ka(dh(this.element),this.evWin,this.domHandler)},e.destroy=function(){this.evEl&&$a(this.element,this.evEl,this.domHandler),this.evTarget&&$a(this.target,this.evTarget,this.domHandler),this.evWin&&$a(dh(this.element),this.evWin,this.domHandler)},t}();function ri(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var r=0;r<t.length;){if(n&&t[r][n]==e||!n&&t[r]===e)return r;r++}return-1}var wT={pointerdown:Et,pointermove:si,pointerup:We,pointercancel:Dt,pointerout:Dt},ST={2:hs,3:hT,4:sA,5:pT},mC="pointerdown",CC="pointermove pointerup pointercancel";Hn.MSPointerEvent&&!Hn.PointerEvent&&(mC="MSPointerDown",CC="MSPointerMove MSPointerUp MSPointerCancel");var EC=function(t){$t(e,t);function e(){var r,i=e.prototype;return i.evEl=mC,i.evWin=CC,r=t.apply(this,arguments)||this,r.store=r.manager.session.pointerEvents=[],r}var n=e.prototype;return n.handler=function(i){var a=this.store,s=!1,o=i.type.toLowerCase().replace("ms",""),l=wT[o],u=ST[i.pointerType]||i.pointerType,c=u===hs,A=ri(a,i.pointerId,"pointerId");l&Et&&(i.button===0||c)?A<0&&(a.push(i),A=a.length-1):l&(We|Dt)&&(s=!0),!(A<0)&&(a[A]=i,this.callback(this.manager,l,{pointers:a,changedPointers:[i],pointerType:u,srcEvent:i}),s&&a.splice(A,1))},e}(ra);function as(t){return Array.prototype.slice.call(t,0)}function lA(t,e,n){for(var r=[],i=[],a=0;a<t.length;){var s=e?t[a][e]:t[a];ri(i,s)<0&&r.push(t[a]),i[a]=s,a++}return n&&(e?r=r.sort(function(o,l){return o[e]>l[e]}):r=r.sort()),r}var bT={touchstart:Et,touchmove:si,touchend:We,touchcancel:Dt},_T="touchstart touchmove touchend touchcancel",uA=function(t){$t(e,t);function e(){var r;return e.prototype.evTarget=_T,r=t.apply(this,arguments)||this,r.targetIds={},r}var n=e.prototype;return n.handler=function(i){var a=bT[i.type],s=DT.call(this,i,a);s&&this.callback(this.manager,a,{pointers:s[0],changedPointers:s[1],pointerType:hs,srcEvent:i})},e}(ra);function DT(t,e){var n=as(t.touches),r=this.targetIds;if(e&(Et|si)&&n.length===1)return r[n[0].identifier]=!0,[n,n];var i,a,s=as(t.changedTouches),o=[],l=this.target;if(a=n.filter(function(u){return oA(u.target,l)}),e===Et)for(i=0;i<a.length;)r[a[i].identifier]=!0,i++;for(i=0;i<s.length;)r[s[i].identifier]&&o.push(s[i]),e&(We|Dt)&&delete r[s[i].identifier],i++;if(o.length)return[lA(a.concat(o),"identifier",!0),o]}var OT={mousedown:Et,mousemove:si,mouseup:We},TT="mousedown",PT="mousemove mouseup",cA=function(t){$t(e,t);function e(){var r,i=e.prototype;return i.evEl=TT,i.evWin=PT,r=t.apply(this,arguments)||this,r.pressed=!1,r}var n=e.prototype;return n.handler=function(i){var a=OT[i.type];a&Et&&i.button===0&&(this.pressed=!0),a&si&&i.which!==1&&(a=We),this.pressed&&(a&We&&(this.pressed=!1),this.callback(this.manager,a,{pointers:[i],changedPointers:[i],pointerType:sA,srcEvent:i}))},e}(ra),RT=2500,Ah=25;function fh(t){var e=t.changedPointers,n=e[0];if(n.identifier===this.primaryTouch){var r={x:n.clientX,y:n.clientY},i=this.lastTouches;this.lastTouches.push(r);var a=function(){var o=i.indexOf(r);o>-1&&i.splice(o,1)};setTimeout(a,RT)}}function FT(t,e){t&Et?(this.primaryTouch=e.changedPointers[0].identifier,fh.call(this,e)):t&(We|Dt)&&fh.call(this,e)}function kT(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,r=0;r<this.lastTouches.length;r++){var i=this.lastTouches[r],a=Math.abs(e-i.x),s=Math.abs(n-i.y);if(a<=Ah&&s<=Ah)return!0}return!1}var xC=function(){var t=function(e){$t(n,e);function n(i,a){var s;return s=e.call(this,i,a)||this,s.handler=function(o,l,u){var c=u.pointerType===hs,A=u.pointerType===sA;if(!(A&&u.sourceCapabilities&&u.sourceCapabilities.firesTouchEvents)){if(c)FT.call(Vs(Vs(s)),l,u);else if(A&&kT.call(Vs(Vs(s)),u))return;s.callback(o,l,u)}},s.touch=new uA(s.manager,s.handler),s.mouse=new cA(s.manager,s.handler),s.primaryTouch=null,s.lastTouches=[],s}var r=n.prototype;return r.destroy=function(){this.touch.destroy(),this.mouse.destroy()},n}(ra);return t}();function MT(t){var e,n=t.options.inputClass;return n?e=n:AT?e=EC:fT?e=uA:dC?e=xC:e=cA,new e(t,IT)}function Oi(t,e,n){return Array.isArray(t)?(Un(t,n[e],n),!0):!1}var vo=1,Kt=2,Xi=4,gr=8,Wn=gr,ss=16,hn=32,BT=1;function NT(){return BT++}function Us(t,e){var n=e.manager;return n?n.get(t):t}function hh(t){return t&ss?"cancel":t&gr?"end":t&Xi?"move":t&Kt?"start":""}var ms=function(){function t(n){n===void 0&&(n={}),this.options=tn({enable:!0},n),this.id=NT(),this.manager=null,this.state=vo,this.simultaneous={},this.requireFail=[]}var e=t.prototype;return e.set=function(r){return ti(this.options,r),this.manager&&this.manager.touchAction.update(),this},e.recognizeWith=function(r){if(Oi(r,"recognizeWith",this))return this;var i=this.simultaneous;return r=Us(r,this),i[r.id]||(i[r.id]=r,r.recognizeWith(this)),this},e.dropRecognizeWith=function(r){return Oi(r,"dropRecognizeWith",this)?this:(r=Us(r,this),delete this.simultaneous[r.id],this)},e.requireFailure=function(r){if(Oi(r,"requireFailure",this))return this;var i=this.requireFail;return r=Us(r,this),ri(i,r)===-1&&(i.push(r),r.requireFailure(this)),this},e.dropRequireFailure=function(r){if(Oi(r,"dropRequireFailure",this))return this;r=Us(r,this);var i=ri(this.requireFail,r);return i>-1&&this.requireFail.splice(i,1),this},e.hasRequireFailures=function(){return this.requireFail.length>0},e.canRecognizeWith=function(r){return!!this.simultaneous[r.id]},e.emit=function(r){var i=this,a=this.state;function s(o){i.manager.emit(o,r)}a<gr&&s(i.options.event+hh(a)),s(i.options.event),r.additionalEvent&&s(r.additionalEvent),a>=gr&&s(i.options.event+hh(a))},e.tryEmit=function(r){if(this.canEmit())return this.emit(r);this.state=hn},e.canEmit=function(){for(var r=0;r<this.requireFail.length;){if(!(this.requireFail[r].state&(hn|vo)))return!1;r++}return!0},e.recognize=function(r){var i=ti({},r);if(!_u(this.options.enable,[this,i])){this.reset(),this.state=hn;return}this.state&(Wn|ss|hn)&&(this.state=vo),this.state=this.process(i),this.state&(Kt|Xi|gr|ss)&&this.tryEmit(i)},e.process=function(r){},e.getTouchAction=function(){},e.reset=function(){},t}(),e0=function(t){$t(e,t);function e(r){var i;return r===void 0&&(r={}),i=t.call(this,tn({event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},r))||this,i.pTime=!1,i.pCenter=!1,i._timer=null,i._input=null,i.count=0,i}var n=e.prototype;return n.getTouchAction=function(){return[Zd]},n.process=function(i){var a=this,s=this.options,o=i.pointers.length===s.pointers,l=i.distance<s.threshold,u=i.deltaTime<s.time;if(this.reset(),i.eventType&Et&&this.count===0)return this.failTimeout();if(l&&u&&o){if(i.eventType!==We)return this.failTimeout();var c=this.pTime?i.timeStamp-this.pTime<s.interval:!0,A=!this.pCenter||Lo(this.pCenter,i.center)<s.posThreshold;this.pTime=i.timeStamp,this.pCenter=i.center,!A||!c?this.count=1:this.count+=1,this._input=i;var d=this.count%s.taps;if(d===0)return this.hasRequireFailures()?(this._timer=setTimeout(function(){a.state=Wn,a.tryEmit()},s.interval),Kt):Wn}return hn},n.failTimeout=function(){var i=this;return this._timer=setTimeout(function(){i.state=hn},this.options.interval),hn},n.reset=function(){clearTimeout(this._timer)},n.emit=function(){this.state===Wn&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))},e}(ms),Yi=function(t){$t(e,t);function e(r){return r===void 0&&(r={}),t.call(this,tn({pointers:1},r))||this}var n=e.prototype;return n.attrTest=function(i){var a=this.options.pointers;return a===0||i.pointers.length===a},n.process=function(i){var a=this.state,s=i.eventType,o=a&(Kt|Xi),l=this.attrTest(i);return o&&(s&Dt||!l)?a|ss:o||l?s&We?a|gr:a&Kt?a|Xi:Kt:hn},e}(ms);function yC(t){return t===Wi?"down":t===gs?"up":t===ps?"left":t===vs?"right":""}var dA=function(t){$t(e,t);function e(r){var i;return r===void 0&&(r={}),i=t.call(this,tn({event:"pan",threshold:10,pointers:1,direction:AC},r))||this,i.pX=null,i.pY=null,i}var n=e.prototype;return n.getTouchAction=function(){var i=this.options.direction,a=[];return i&gn&&a.push(rs),i&Qr&&a.push(ns),a},n.directionTest=function(i){var a=this.options,s=!0,o=i.distance,l=i.direction,u=i.deltaX,c=i.deltaY;return l&a.direction||(a.direction&gn?(l=u===0?No:u<0?ps:vs,s=u!==this.pX,o=Math.abs(i.deltaX)):(l=c===0?No:c<0?gs:Wi,s=c!==this.pY,o=Math.abs(i.deltaY))),i.direction=l,s&&o>a.threshold&&l&a.direction},n.attrTest=function(i){return Yi.prototype.attrTest.call(this,i)&&(this.state&Kt||!(this.state&Kt)&&this.directionTest(i))},n.emit=function(i){this.pX=i.deltaX,this.pY=i.deltaY;var a=yC(i.direction);a&&(i.additionalEvent=this.options.event+a),t.prototype.emit.call(this,i)},e}(Yi),IC=function(t){$t(e,t);function e(r){return r===void 0&&(r={}),t.call(this,tn({event:"swipe",threshold:10,velocity:.3,direction:gn|Qr,pointers:1},r))||this}var n=e.prototype;return n.getTouchAction=function(){return dA.prototype.getTouchAction.call(this)},n.attrTest=function(i){var a=this.options.direction,s;return a&(gn|Qr)?s=i.overallVelocity:a&gn?s=i.overallVelocityX:a&Qr&&(s=i.overallVelocityY),t.prototype.attrTest.call(this,i)&&a&i.offsetDirection&&i.distance>this.options.threshold&&i.maxPointers===this.options.pointers&&ni(s)>this.options.velocity&&i.eventType&We},n.emit=function(i){var a=yC(i.offsetDirection);a&&this.manager.emit(this.options.event+a,i),this.manager.emit(this.options.event,i)},e}(Yi),wC=function(t){$t(e,t);function e(r){return r===void 0&&(r={}),t.call(this,tn({event:"pinch",threshold:0,pointers:2},r))||this}var n=e.prototype;return n.getTouchAction=function(){return[jr]},n.attrTest=function(i){return t.prototype.attrTest.call(this,i)&&(Math.abs(i.scale-1)>this.options.threshold||this.state&Kt)},n.emit=function(i){if(i.scale!==1){var a=i.scale<1?"in":"out";i.additionalEvent=this.options.event+a}t.prototype.emit.call(this,i)},e}(Yi),SC=function(t){$t(e,t);function e(r){return r===void 0&&(r={}),t.call(this,tn({event:"rotate",threshold:0,pointers:2},r))||this}var n=e.prototype;return n.getTouchAction=function(){return[jr]},n.attrTest=function(i){return t.prototype.attrTest.call(this,i)&&(Math.abs(i.rotation)>this.options.threshold||this.state&Kt)},e}(Yi),bC=function(t){$t(e,t);function e(r){var i;return r===void 0&&(r={}),i=t.call(this,tn({event:"press",pointers:1,time:251,threshold:9},r))||this,i._timer=null,i._input=null,i}var n=e.prototype;return n.getTouchAction=function(){return[cC]},n.process=function(i){var a=this,s=this.options,o=i.pointers.length===s.pointers,l=i.distance<s.threshold,u=i.deltaTime>s.time;if(this._input=i,!l||!o||i.eventType&(We|Dt)&&!u)this.reset();else if(i.eventType&Et)this.reset(),this._timer=setTimeout(function(){a.state=Wn,a.tryEmit()},s.time);else if(i.eventType&We)return Wn;return hn},n.reset=function(){clearTimeout(this._timer)},n.emit=function(i){this.state===Wn&&(i&&i.eventType&We?this.manager.emit(this.options.event+"up",i):(this._input.timeStamp=aA(),this.manager.emit(this.options.event,this._input)))},e}(ms),_C={domEvents:!1,touchAction:uC,enable:!0,inputTarget:null,inputClass:null,cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},ph=[[SC,{enable:!1}],[wC,{enable:!1},["rotate"]],[IC,{direction:gn}],[dA,{direction:gn},["swipe"]],[e0],[e0,{event:"doubletap",taps:2},["tap"]],[bC]],GT=1,vh=2;function gh(t,e){var n=t.element;if(n.style){var r;Un(t.options.cssProps,function(i,a){r=bu(n.style,a),e?(t.oldCssProps[r]=n.style[r],n.style[r]=i):n.style[r]=t.oldCssProps[r]||""}),e||(t.oldCssProps={})}}function LT(t,e){var n=document.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}var mh=function(){function t(n,r){var i=this;this.options=ti({},_C,r||{}),this.options.inputTarget=this.options.inputTarget||n,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=n,this.input=MT(this),this.touchAction=new hC(this,this.options.touchAction),gh(this,!0),Un(this.options.recognizers,function(a){var s=i.add(new a[0](a[1]));a[2]&&s.recognizeWith(a[2]),a[3]&&s.requireFailure(a[3])},this)}var e=t.prototype;return e.set=function(r){return ti(this.options,r),r.touchAction&&this.touchAction.update(),r.inputTarget&&(this.input.destroy(),this.input.target=r.inputTarget,this.input.init()),this},e.stop=function(r){this.session.stopped=r?vh:GT},e.recognize=function(r){var i=this.session;if(!i.stopped){this.touchAction.preventDefaults(r);var a,s=this.recognizers,o=i.curRecognizer;(!o||o&&o.state&Wn)&&(i.curRecognizer=null,o=null);for(var l=0;l<s.length;)a=s[l],i.stopped!==vh&&(!o||a===o||a.canRecognizeWith(o))?a.recognize(r):a.reset(),!o&&a.state&(Kt|Xi|gr)&&(i.curRecognizer=a,o=a),l++}},e.get=function(r){if(r instanceof ms)return r;for(var i=this.recognizers,a=0;a<i.length;a++)if(i[a].options.event===r)return i[a];return null},e.add=function(r){if(Oi(r,"add",this))return this;var i=this.get(r.options.event);return i&&this.remove(i),this.recognizers.push(r),r.manager=this,this.touchAction.update(),r},e.remove=function(r){if(Oi(r,"remove",this))return this;var i=this.get(r);if(r){var a=this.recognizers,s=ri(a,i);s!==-1&&(a.splice(s,1),this.touchAction.update())}return this},e.on=function(r,i){if(r===void 0||i===void 0)return this;var a=this.handlers;return Un(is(r),function(s){a[s]=a[s]||[],a[s].push(i)}),this},e.off=function(r,i){if(r===void 0)return this;var a=this.handlers;return Un(is(r),function(s){i?a[s]&&a[s].splice(ri(a[s],i),1):delete a[s]}),this},e.emit=function(r,i){this.options.domEvents&<(r,i);var a=this.handlers[r]&&this.handlers[r].slice();if(!(!a||!a.length)){i.type=r,i.preventDefault=function(){i.srcEvent.preventDefault()};for(var s=0;s<a.length;)a[s](i),s++}},e.destroy=function(){this.element&&gh(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null},t}(),VT={touchstart:Et,touchmove:si,touchend:We,touchcancel:Dt},HT="touchstart",UT="touchstart touchmove touchend touchcancel",WT=function(t){$t(e,t);function e(){var r,i=e.prototype;return i.evTarget=HT,i.evWin=UT,r=t.apply(this,arguments)||this,r.started=!1,r}var n=e.prototype;return n.handler=function(i){var a=VT[i.type];if(a===Et&&(this.started=!0),!!this.started){var s=XT.call(this,i,a);a&(We|Dt)&&s[0].length-s[1].length===0&&(this.started=!1),this.callback(this.manager,a,{pointers:s[0],changedPointers:s[1],pointerType:hs,srcEvent:i})}},e}(ra);function XT(t,e){var n=as(t.touches),r=as(t.changedTouches);return e&(We|Dt)&&(n=lA(n.concat(r),"identifier",!0)),[n,r]}function DC(t,e,n){var r="DEPRECATED METHOD: "+e+` + * Licensed under the MIT license */function tn(){return tn=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},tn.apply(this,arguments)}function $t(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Vs(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var Jd;typeof Object.assign!="function"?Jd=function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),r=1;r<arguments.length;r++){var i=arguments[r];if(i!=null)for(var a in i)i.hasOwnProperty(a)&&(n[a]=i[a])}return n}:Jd=Object.assign;var ti=Jd,Ah=["","webkit","Moz","MS","ms","o"],vT=typeof document>"u"?{style:{}}:document.createElement("div"),gT="function",Di=Math.round,ni=Math.abs,oA=Date.now;function _u(t,e){for(var n,r,i=e[0].toUpperCase()+e.slice(1),a=0;a<Ah.length;){if(n=Ah[a],r=n?n+i:e,r in t)return r;a++}}var Hn;typeof window>"u"?Hn={}:Hn=window;var uC=_u(vT.style,"touchAction"),cC=uC!==void 0;function mT(){if(!cC)return!1;var t={},e=Hn.CSS&&Hn.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(n){return t[n]=e?Hn.CSS.supports("touch-action",n):!0}),t}var dC="compute",AC="auto",e0="manipulation",jr="none",ns="pan-x",rs="pan-y",Hs=mT(),CT=/mobile|tablet|ip(ad|hone|od)|android/i,fC="ontouchstart"in Hn,ET=_u(Hn,"PointerEvent")!==void 0,xT=fC&&CT.test(navigator.userAgent),hs="touch",yT="pen",lA="mouse",IT="kinect",wT=25,Et=1,si=2,We=4,Dt=8,Go=1,ps=2,vs=4,gs=8,Wi=16,mn=ps|vs,Qr=gs|Wi,hC=mn|Qr,pC=["x","y"],Lo=["clientX","clientY"];function Un(t,e,n){var r;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==void 0)for(r=0;r<t.length;)e.call(n,t[r],r,t),r++;else for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t)}function Du(t,e){return typeof t===gT?t.apply(e&&e[0]||void 0,e):t}function Yr(t,e){return t.indexOf(e)>-1}function ST(t){if(Yr(t,jr))return jr;var e=Yr(t,ns),n=Yr(t,rs);return e&&n?jr:e||n?e?ns:rs:Yr(t,e0)?e0:AC}var vC=function(){function t(n,r){this.manager=n,this.set(r)}var e=t.prototype;return e.set=function(r){r===dC&&(r=this.compute()),cC&&this.manager.element.style&&Hs[r]&&(this.manager.element.style[uC]=r),this.actions=r.toLowerCase().trim()},e.update=function(){this.set(this.manager.options.touchAction)},e.compute=function(){var r=[];return Un(this.manager.recognizers,function(i){Du(i.options.enable,[i])&&(r=r.concat(i.getTouchAction()))}),ST(r.join(" "))},e.preventDefaults=function(r){var i=r.srcEvent,a=r.offsetDirection;if(this.manager.session.prevented){i.preventDefault();return}var s=this.actions,o=Yr(s,jr)&&!Hs[jr],l=Yr(s,rs)&&!Hs[rs],u=Yr(s,ns)&&!Hs[ns];if(o){var c=r.pointers.length===1,A=r.distance<2,d=r.deltaTime<250;if(c&&A&&d)return}if(!(u&&l)&&(o||l&&a&mn||u&&a&Qr))return this.preventSrc(i)},e.preventSrc=function(r){this.manager.session.prevented=!0,r.preventDefault()},t}();function uA(t,e){for(;t;){if(t===e)return!0;t=t.parentNode}return!1}function gC(t){var e=t.length;if(e===1)return{x:Di(t[0].clientX),y:Di(t[0].clientY)};for(var n=0,r=0,i=0;i<e;)n+=t[i].clientX,r+=t[i].clientY,i++;return{x:Di(n/e),y:Di(r/e)}}function fh(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:Di(t.pointers[n].clientX),clientY:Di(t.pointers[n].clientY)},n++;return{timeStamp:oA(),pointers:e,center:gC(e),deltaX:t.deltaX,deltaY:t.deltaY}}function Vo(t,e,n){n||(n=pC);var r=e[n[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return Math.sqrt(r*r+i*i)}function t0(t,e,n){n||(n=pC);var r=e[n[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return Math.atan2(i,r)*180/Math.PI}function mC(t,e){return t===e?Go:ni(t)>=ni(e)?t<0?ps:vs:e<0?gs:Wi}function bT(t,e){var n=e.center,r=t.offsetDelta||{},i=t.prevDelta||{},a=t.prevInput||{};(e.eventType===Et||a.eventType===We)&&(i=t.prevDelta={x:a.deltaX||0,y:a.deltaY||0},r=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=i.x+(n.x-r.x),e.deltaY=i.y+(n.y-r.y)}function CC(t,e,n){return{x:e/t||0,y:n/t||0}}function _T(t,e){return Vo(e[0],e[1],Lo)/Vo(t[0],t[1],Lo)}function DT(t,e){return t0(e[1],e[0],Lo)+t0(t[1],t[0],Lo)}function OT(t,e){var n=t.lastInterval||e,r=e.timeStamp-n.timeStamp,i,a,s,o;if(e.eventType!==Dt&&(r>wT||n.velocity===void 0)){var l=e.deltaX-n.deltaX,u=e.deltaY-n.deltaY,c=CC(r,l,u);a=c.x,s=c.y,i=ni(c.x)>ni(c.y)?c.x:c.y,o=mC(l,u),t.lastInterval=e}else i=n.velocity,a=n.velocityX,s=n.velocityY,o=n.direction;e.velocity=i,e.velocityX=a,e.velocityY=s,e.direction=o}function TT(t,e){var n=t.session,r=e.pointers,i=r.length;n.firstInput||(n.firstInput=fh(e)),i>1&&!n.firstMultiple?n.firstMultiple=fh(e):i===1&&(n.firstMultiple=!1);var a=n.firstInput,s=n.firstMultiple,o=s?s.center:a.center,l=e.center=gC(r);e.timeStamp=oA(),e.deltaTime=e.timeStamp-a.timeStamp,e.angle=t0(o,l),e.distance=Vo(o,l),bT(n,e),e.offsetDirection=mC(e.deltaX,e.deltaY);var u=CC(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=u.x,e.overallVelocityY=u.y,e.overallVelocity=ni(u.x)>ni(u.y)?u.x:u.y,e.scale=s?_T(s.pointers,r):1,e.rotation=s?DT(s.pointers,r):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,OT(n,e);var c=t.element,A=e.srcEvent,d;A.composedPath?d=A.composedPath()[0]:A.path?d=A.path[0]:d=A.target,uA(d,c)&&(c=d),e.target=c}function PT(t,e,n){var r=n.pointers.length,i=n.changedPointers.length,a=e&Et&&r-i===0,s=e&(We|Dt)&&r-i===0;n.isFirst=!!a,n.isFinal=!!s,a&&(t.session={}),n.eventType=e,TT(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function is(t){return t.trim().split(/\s+/g)}function Ka(t,e,n){Un(is(e),function(r){t.addEventListener(r,n,!1)})}function $a(t,e,n){Un(is(e),function(r){t.removeEventListener(r,n,!1)})}function hh(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||window}var ra=function(){function t(n,r){var i=this;this.manager=n,this.callback=r,this.element=n.element,this.target=n.options.inputTarget,this.domHandler=function(a){Du(n.options.enable,[n])&&i.handler(a)},this.init()}var e=t.prototype;return e.handler=function(){},e.init=function(){this.evEl&&Ka(this.element,this.evEl,this.domHandler),this.evTarget&&Ka(this.target,this.evTarget,this.domHandler),this.evWin&&Ka(hh(this.element),this.evWin,this.domHandler)},e.destroy=function(){this.evEl&&$a(this.element,this.evEl,this.domHandler),this.evTarget&&$a(this.target,this.evTarget,this.domHandler),this.evWin&&$a(hh(this.element),this.evWin,this.domHandler)},t}();function ri(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var r=0;r<t.length;){if(n&&t[r][n]==e||!n&&t[r]===e)return r;r++}return-1}var RT={pointerdown:Et,pointermove:si,pointerup:We,pointercancel:Dt,pointerout:Dt},FT={2:hs,3:yT,4:lA,5:IT},EC="pointerdown",xC="pointermove pointerup pointercancel";Hn.MSPointerEvent&&!Hn.PointerEvent&&(EC="MSPointerDown",xC="MSPointerMove MSPointerUp MSPointerCancel");var yC=function(t){$t(e,t);function e(){var r,i=e.prototype;return i.evEl=EC,i.evWin=xC,r=t.apply(this,arguments)||this,r.store=r.manager.session.pointerEvents=[],r}var n=e.prototype;return n.handler=function(i){var a=this.store,s=!1,o=i.type.toLowerCase().replace("ms",""),l=RT[o],u=FT[i.pointerType]||i.pointerType,c=u===hs,A=ri(a,i.pointerId,"pointerId");l&Et&&(i.button===0||c)?A<0&&(a.push(i),A=a.length-1):l&(We|Dt)&&(s=!0),!(A<0)&&(a[A]=i,this.callback(this.manager,l,{pointers:a,changedPointers:[i],pointerType:u,srcEvent:i}),s&&a.splice(A,1))},e}(ra);function as(t){return Array.prototype.slice.call(t,0)}function cA(t,e,n){for(var r=[],i=[],a=0;a<t.length;){var s=e?t[a][e]:t[a];ri(i,s)<0&&r.push(t[a]),i[a]=s,a++}return n&&(e?r=r.sort(function(o,l){return o[e]>l[e]}):r=r.sort()),r}var MT={touchstart:Et,touchmove:si,touchend:We,touchcancel:Dt},kT="touchstart touchmove touchend touchcancel",dA=function(t){$t(e,t);function e(){var r;return e.prototype.evTarget=kT,r=t.apply(this,arguments)||this,r.targetIds={},r}var n=e.prototype;return n.handler=function(i){var a=MT[i.type],s=BT.call(this,i,a);s&&this.callback(this.manager,a,{pointers:s[0],changedPointers:s[1],pointerType:hs,srcEvent:i})},e}(ra);function BT(t,e){var n=as(t.touches),r=this.targetIds;if(e&(Et|si)&&n.length===1)return r[n[0].identifier]=!0,[n,n];var i,a,s=as(t.changedTouches),o=[],l=this.target;if(a=n.filter(function(u){return uA(u.target,l)}),e===Et)for(i=0;i<a.length;)r[a[i].identifier]=!0,i++;for(i=0;i<s.length;)r[s[i].identifier]&&o.push(s[i]),e&(We|Dt)&&delete r[s[i].identifier],i++;if(o.length)return[cA(a.concat(o),"identifier",!0),o]}var NT={mousedown:Et,mousemove:si,mouseup:We},GT="mousedown",LT="mousemove mouseup",AA=function(t){$t(e,t);function e(){var r,i=e.prototype;return i.evEl=GT,i.evWin=LT,r=t.apply(this,arguments)||this,r.pressed=!1,r}var n=e.prototype;return n.handler=function(i){var a=NT[i.type];a&Et&&i.button===0&&(this.pressed=!0),a&si&&i.which!==1&&(a=We),this.pressed&&(a&We&&(this.pressed=!1),this.callback(this.manager,a,{pointers:[i],changedPointers:[i],pointerType:lA,srcEvent:i}))},e}(ra),VT=2500,ph=25;function vh(t){var e=t.changedPointers,n=e[0];if(n.identifier===this.primaryTouch){var r={x:n.clientX,y:n.clientY},i=this.lastTouches;this.lastTouches.push(r);var a=function(){var o=i.indexOf(r);o>-1&&i.splice(o,1)};setTimeout(a,VT)}}function HT(t,e){t&Et?(this.primaryTouch=e.changedPointers[0].identifier,vh.call(this,e)):t&(We|Dt)&&vh.call(this,e)}function UT(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,r=0;r<this.lastTouches.length;r++){var i=this.lastTouches[r],a=Math.abs(e-i.x),s=Math.abs(n-i.y);if(a<=ph&&s<=ph)return!0}return!1}var IC=function(){var t=function(e){$t(n,e);function n(i,a){var s;return s=e.call(this,i,a)||this,s.handler=function(o,l,u){var c=u.pointerType===hs,A=u.pointerType===lA;if(!(A&&u.sourceCapabilities&&u.sourceCapabilities.firesTouchEvents)){if(c)HT.call(Vs(Vs(s)),l,u);else if(A&&UT.call(Vs(Vs(s)),u))return;s.callback(o,l,u)}},s.touch=new dA(s.manager,s.handler),s.mouse=new AA(s.manager,s.handler),s.primaryTouch=null,s.lastTouches=[],s}var r=n.prototype;return r.destroy=function(){this.touch.destroy(),this.mouse.destroy()},n}(ra);return t}();function WT(t){var e,n=t.options.inputClass;return n?e=n:ET?e=yC:xT?e=dA:fC?e=IC:e=AA,new e(t,PT)}function Oi(t,e,n){return Array.isArray(t)?(Un(t,n[e],n),!0):!1}var vo=1,Kt=2,Xi=4,gr=8,Wn=gr,ss=16,hn=32,XT=1;function YT(){return XT++}function Us(t,e){var n=e.manager;return n?n.get(t):t}function gh(t){return t&ss?"cancel":t&gr?"end":t&Xi?"move":t&Kt?"start":""}var ms=function(){function t(n){n===void 0&&(n={}),this.options=tn({enable:!0},n),this.id=YT(),this.manager=null,this.state=vo,this.simultaneous={},this.requireFail=[]}var e=t.prototype;return e.set=function(r){return ti(this.options,r),this.manager&&this.manager.touchAction.update(),this},e.recognizeWith=function(r){if(Oi(r,"recognizeWith",this))return this;var i=this.simultaneous;return r=Us(r,this),i[r.id]||(i[r.id]=r,r.recognizeWith(this)),this},e.dropRecognizeWith=function(r){return Oi(r,"dropRecognizeWith",this)?this:(r=Us(r,this),delete this.simultaneous[r.id],this)},e.requireFailure=function(r){if(Oi(r,"requireFailure",this))return this;var i=this.requireFail;return r=Us(r,this),ri(i,r)===-1&&(i.push(r),r.requireFailure(this)),this},e.dropRequireFailure=function(r){if(Oi(r,"dropRequireFailure",this))return this;r=Us(r,this);var i=ri(this.requireFail,r);return i>-1&&this.requireFail.splice(i,1),this},e.hasRequireFailures=function(){return this.requireFail.length>0},e.canRecognizeWith=function(r){return!!this.simultaneous[r.id]},e.emit=function(r){var i=this,a=this.state;function s(o){i.manager.emit(o,r)}a<gr&&s(i.options.event+gh(a)),s(i.options.event),r.additionalEvent&&s(r.additionalEvent),a>=gr&&s(i.options.event+gh(a))},e.tryEmit=function(r){if(this.canEmit())return this.emit(r);this.state=hn},e.canEmit=function(){for(var r=0;r<this.requireFail.length;){if(!(this.requireFail[r].state&(hn|vo)))return!1;r++}return!0},e.recognize=function(r){var i=ti({},r);if(!Du(this.options.enable,[this,i])){this.reset(),this.state=hn;return}this.state&(Wn|ss|hn)&&(this.state=vo),this.state=this.process(i),this.state&(Kt|Xi|gr|ss)&&this.tryEmit(i)},e.process=function(r){},e.getTouchAction=function(){},e.reset=function(){},t}(),n0=function(t){$t(e,t);function e(r){var i;return r===void 0&&(r={}),i=t.call(this,tn({event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},r))||this,i.pTime=!1,i.pCenter=!1,i._timer=null,i._input=null,i.count=0,i}var n=e.prototype;return n.getTouchAction=function(){return[e0]},n.process=function(i){var a=this,s=this.options,o=i.pointers.length===s.pointers,l=i.distance<s.threshold,u=i.deltaTime<s.time;if(this.reset(),i.eventType&Et&&this.count===0)return this.failTimeout();if(l&&u&&o){if(i.eventType!==We)return this.failTimeout();var c=this.pTime?i.timeStamp-this.pTime<s.interval:!0,A=!this.pCenter||Vo(this.pCenter,i.center)<s.posThreshold;this.pTime=i.timeStamp,this.pCenter=i.center,!A||!c?this.count=1:this.count+=1,this._input=i;var d=this.count%s.taps;if(d===0)return this.hasRequireFailures()?(this._timer=setTimeout(function(){a.state=Wn,a.tryEmit()},s.interval),Kt):Wn}return hn},n.failTimeout=function(){var i=this;return this._timer=setTimeout(function(){i.state=hn},this.options.interval),hn},n.reset=function(){clearTimeout(this._timer)},n.emit=function(){this.state===Wn&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))},e}(ms),Yi=function(t){$t(e,t);function e(r){return r===void 0&&(r={}),t.call(this,tn({pointers:1},r))||this}var n=e.prototype;return n.attrTest=function(i){var a=this.options.pointers;return a===0||i.pointers.length===a},n.process=function(i){var a=this.state,s=i.eventType,o=a&(Kt|Xi),l=this.attrTest(i);return o&&(s&Dt||!l)?a|ss:o||l?s&We?a|gr:a&Kt?a|Xi:Kt:hn},e}(ms);function wC(t){return t===Wi?"down":t===gs?"up":t===ps?"left":t===vs?"right":""}var fA=function(t){$t(e,t);function e(r){var i;return r===void 0&&(r={}),i=t.call(this,tn({event:"pan",threshold:10,pointers:1,direction:hC},r))||this,i.pX=null,i.pY=null,i}var n=e.prototype;return n.getTouchAction=function(){var i=this.options.direction,a=[];return i&mn&&a.push(rs),i&Qr&&a.push(ns),a},n.directionTest=function(i){var a=this.options,s=!0,o=i.distance,l=i.direction,u=i.deltaX,c=i.deltaY;return l&a.direction||(a.direction&mn?(l=u===0?Go:u<0?ps:vs,s=u!==this.pX,o=Math.abs(i.deltaX)):(l=c===0?Go:c<0?gs:Wi,s=c!==this.pY,o=Math.abs(i.deltaY))),i.direction=l,s&&o>a.threshold&&l&a.direction},n.attrTest=function(i){return Yi.prototype.attrTest.call(this,i)&&(this.state&Kt||!(this.state&Kt)&&this.directionTest(i))},n.emit=function(i){this.pX=i.deltaX,this.pY=i.deltaY;var a=wC(i.direction);a&&(i.additionalEvent=this.options.event+a),t.prototype.emit.call(this,i)},e}(Yi),SC=function(t){$t(e,t);function e(r){return r===void 0&&(r={}),t.call(this,tn({event:"swipe",threshold:10,velocity:.3,direction:mn|Qr,pointers:1},r))||this}var n=e.prototype;return n.getTouchAction=function(){return fA.prototype.getTouchAction.call(this)},n.attrTest=function(i){var a=this.options.direction,s;return a&(mn|Qr)?s=i.overallVelocity:a&mn?s=i.overallVelocityX:a&Qr&&(s=i.overallVelocityY),t.prototype.attrTest.call(this,i)&&a&i.offsetDirection&&i.distance>this.options.threshold&&i.maxPointers===this.options.pointers&&ni(s)>this.options.velocity&&i.eventType&We},n.emit=function(i){var a=wC(i.offsetDirection);a&&this.manager.emit(this.options.event+a,i),this.manager.emit(this.options.event,i)},e}(Yi),bC=function(t){$t(e,t);function e(r){return r===void 0&&(r={}),t.call(this,tn({event:"pinch",threshold:0,pointers:2},r))||this}var n=e.prototype;return n.getTouchAction=function(){return[jr]},n.attrTest=function(i){return t.prototype.attrTest.call(this,i)&&(Math.abs(i.scale-1)>this.options.threshold||this.state&Kt)},n.emit=function(i){if(i.scale!==1){var a=i.scale<1?"in":"out";i.additionalEvent=this.options.event+a}t.prototype.emit.call(this,i)},e}(Yi),_C=function(t){$t(e,t);function e(r){return r===void 0&&(r={}),t.call(this,tn({event:"rotate",threshold:0,pointers:2},r))||this}var n=e.prototype;return n.getTouchAction=function(){return[jr]},n.attrTest=function(i){return t.prototype.attrTest.call(this,i)&&(Math.abs(i.rotation)>this.options.threshold||this.state&Kt)},e}(Yi),DC=function(t){$t(e,t);function e(r){var i;return r===void 0&&(r={}),i=t.call(this,tn({event:"press",pointers:1,time:251,threshold:9},r))||this,i._timer=null,i._input=null,i}var n=e.prototype;return n.getTouchAction=function(){return[AC]},n.process=function(i){var a=this,s=this.options,o=i.pointers.length===s.pointers,l=i.distance<s.threshold,u=i.deltaTime>s.time;if(this._input=i,!l||!o||i.eventType&(We|Dt)&&!u)this.reset();else if(i.eventType&Et)this.reset(),this._timer=setTimeout(function(){a.state=Wn,a.tryEmit()},s.time);else if(i.eventType&We)return Wn;return hn},n.reset=function(){clearTimeout(this._timer)},n.emit=function(i){this.state===Wn&&(i&&i.eventType&We?this.manager.emit(this.options.event+"up",i):(this._input.timeStamp=oA(),this.manager.emit(this.options.event,this._input)))},e}(ms),OC={domEvents:!1,touchAction:dC,enable:!0,inputTarget:null,inputClass:null,cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},mh=[[_C,{enable:!1}],[bC,{enable:!1},["rotate"]],[SC,{direction:mn}],[fA,{direction:mn},["swipe"]],[n0],[n0,{event:"doubletap",taps:2},["tap"]],[DC]],zT=1,Ch=2;function Eh(t,e){var n=t.element;if(n.style){var r;Un(t.options.cssProps,function(i,a){r=_u(n.style,a),e?(t.oldCssProps[r]=n.style[r],n.style[r]=i):n.style[r]=t.oldCssProps[r]||""}),e||(t.oldCssProps={})}}function KT(t,e){var n=document.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}var xh=function(){function t(n,r){var i=this;this.options=ti({},OC,r||{}),this.options.inputTarget=this.options.inputTarget||n,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=n,this.input=WT(this),this.touchAction=new vC(this,this.options.touchAction),Eh(this,!0),Un(this.options.recognizers,function(a){var s=i.add(new a[0](a[1]));a[2]&&s.recognizeWith(a[2]),a[3]&&s.requireFailure(a[3])},this)}var e=t.prototype;return e.set=function(r){return ti(this.options,r),r.touchAction&&this.touchAction.update(),r.inputTarget&&(this.input.destroy(),this.input.target=r.inputTarget,this.input.init()),this},e.stop=function(r){this.session.stopped=r?Ch:zT},e.recognize=function(r){var i=this.session;if(!i.stopped){this.touchAction.preventDefaults(r);var a,s=this.recognizers,o=i.curRecognizer;(!o||o&&o.state&Wn)&&(i.curRecognizer=null,o=null);for(var l=0;l<s.length;)a=s[l],i.stopped!==Ch&&(!o||a===o||a.canRecognizeWith(o))?a.recognize(r):a.reset(),!o&&a.state&(Kt|Xi|gr)&&(i.curRecognizer=a,o=a),l++}},e.get=function(r){if(r instanceof ms)return r;for(var i=this.recognizers,a=0;a<i.length;a++)if(i[a].options.event===r)return i[a];return null},e.add=function(r){if(Oi(r,"add",this))return this;var i=this.get(r.options.event);return i&&this.remove(i),this.recognizers.push(r),r.manager=this,this.touchAction.update(),r},e.remove=function(r){if(Oi(r,"remove",this))return this;var i=this.get(r);if(r){var a=this.recognizers,s=ri(a,i);s!==-1&&(a.splice(s,1),this.touchAction.update())}return this},e.on=function(r,i){if(r===void 0||i===void 0)return this;var a=this.handlers;return Un(is(r),function(s){a[s]=a[s]||[],a[s].push(i)}),this},e.off=function(r,i){if(r===void 0)return this;var a=this.handlers;return Un(is(r),function(s){i?a[s]&&a[s].splice(ri(a[s],i),1):delete a[s]}),this},e.emit=function(r,i){this.options.domEvents&&KT(r,i);var a=this.handlers[r]&&this.handlers[r].slice();if(!(!a||!a.length)){i.type=r,i.preventDefault=function(){i.srcEvent.preventDefault()};for(var s=0;s<a.length;)a[s](i),s++}},e.destroy=function(){this.element&&Eh(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null},t}(),$T={touchstart:Et,touchmove:si,touchend:We,touchcancel:Dt},qT="touchstart",jT="touchstart touchmove touchend touchcancel",QT=function(t){$t(e,t);function e(){var r,i=e.prototype;return i.evTarget=qT,i.evWin=jT,r=t.apply(this,arguments)||this,r.started=!1,r}var n=e.prototype;return n.handler=function(i){var a=$T[i.type];if(a===Et&&(this.started=!0),!!this.started){var s=ZT.call(this,i,a);a&(We|Dt)&&s[0].length-s[1].length===0&&(this.started=!1),this.callback(this.manager,a,{pointers:s[0],changedPointers:s[1],pointerType:hs,srcEvent:i})}},e}(ra);function ZT(t,e){var n=as(t.touches),r=as(t.changedTouches);return e&(We|Dt)&&(n=cA(n.concat(r),"identifier",!0)),[n,r]}function TC(t,e,n){var r="DEPRECATED METHOD: "+e+` `+n+` AT -`;return function(){var i=new Error("get-stack-trace"),a=i&&i.stack?i.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",s=window.console&&(window.console.warn||window.console.log);return s&&s.call(window.console,r,a),t.apply(this,arguments)}}var OC=DC(function(t,e,n){for(var r=Object.keys(e),i=0;i<r.length;)(!n||n&&t[r[i]]===void 0)&&(t[r[i]]=e[r[i]]),i++;return t},"extend","Use `assign`."),YT=DC(function(t,e){return OC(t,e,!0)},"merge","Use `assign`.");function zT(t,e,n){var r=e.prototype,i;i=t.prototype=Object.create(r),i.constructor=t,i._super=r,n&&ti(i,n)}function Ch(t,e){return function(){return t.apply(e,arguments)}}var oe=function(){var t=function(n,r){return r===void 0&&(r={}),new mh(n,tn({recognizers:ph.concat()},r))};return t.VERSION="2.0.17-rc",t.DIRECTION_ALL=AC,t.DIRECTION_DOWN=Wi,t.DIRECTION_LEFT=ps,t.DIRECTION_RIGHT=vs,t.DIRECTION_UP=gs,t.DIRECTION_HORIZONTAL=gn,t.DIRECTION_VERTICAL=Qr,t.DIRECTION_NONE=No,t.DIRECTION_DOWN=Wi,t.INPUT_START=Et,t.INPUT_MOVE=si,t.INPUT_END=We,t.INPUT_CANCEL=Dt,t.STATE_POSSIBLE=vo,t.STATE_BEGAN=Kt,t.STATE_CHANGED=Xi,t.STATE_ENDED=gr,t.STATE_RECOGNIZED=Wn,t.STATE_CANCELLED=ss,t.STATE_FAILED=hn,t.Manager=mh,t.Input=ra,t.TouchAction=hC,t.TouchInput=uA,t.MouseInput=cA,t.PointerEventInput=EC,t.TouchMouseInput=xC,t.SingleTouchInput=WT,t.Recognizer=ms,t.AttrRecognizer=Yi,t.Tap=e0,t.Pan=dA,t.Swipe=IC,t.Pinch=wC,t.Rotate=SC,t.Press=bC,t.on=Ka,t.off=$a,t.each=Un,t.merge=YT,t.extend=OC,t.bindFn=Ch,t.assign=ti,t.inherit=zT,t.bindFn=Ch,t.prefixed=bu,t.toArray=as,t.inArray=ri,t.uniqueArray=lA,t.splitStr=is,t.boolOrFn=_u,t.hasParent=oA,t.addEventListeners=Ka,t.removeEventListeners=$a,t.defaults=ti({},_C,{preset:ph}),t}();const KT=240,$T=50,qT=.1,jT=7,QT=Math.PI/180,ZT={[oe.INPUT_START]:L.BEGAN,[oe.INPUT_MOVE]:L.ACTIVE,[oe.INPUT_END]:L.END,[oe.INPUT_CANCEL]:L.FAILED},sr={RIGHT:1,LEFT:2,UP:4,DOWN:8},mr={};function Zr(t){if(t in mr)return mr[t];throw new Error(`No handler for tag ${t}`)}function JT(t,e){if(t in mr)throw new Error(`Handler with tag ${t} already exists`);mr[t]=e,mr[t].handlerTag=t}function e4(t){t in mr&&(Zr(t).destroy(),delete mr[t])}function t4(){return{...mr}}const ii=typeof setImmediate=="function"?setImmediate.bind(null):typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(null):queueMicrotask.bind(null);function Be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}let n4=0;class AA{get id(){return`${this.name}${this.gestureInstance}`}get isNative(){return!1}get isDiscrete(){return!1}get shouldEnableGestureOnSetup(){throw new Error("Must override GestureHandler.shouldEnableGestureOnSetup")}constructor(){Be(this,"handlerTag",void 0),Be(this,"isGestureRunning",!1),Be(this,"view",null),Be(this,"hasCustomActivationCriteria",void 0),Be(this,"hasGestureFailed",!1),Be(this,"hammer",null),Be(this,"initialRotation",null),Be(this,"__initialX",void 0),Be(this,"__initialY",void 0),Be(this,"config",{}),Be(this,"previousState",L.UNDETERMINED),Be(this,"pendingGestures",{}),Be(this,"oldState",L.UNDETERMINED),Be(this,"lastSentState",null),Be(this,"gestureInstance",void 0),Be(this,"_stillWaiting",void 0),Be(this,"propsRef",void 0),Be(this,"ref",void 0),Be(this,"clearSelfAsPending",()=>{if(Array.isArray(this.config.waitFor))for(const e of this.config.waitFor)e.removePendingGesture(this.id)}),Be(this,"destroy",()=>{this.clearSelfAsPending(),this.hammer&&(this.hammer.stop(!1),this.hammer.destroy()),this.hammer=null}),Be(this,"isPointInView",({x:e,y:n})=>{const r=this.view.getBoundingClientRect();return e>=r.left&&e<=r.right&&n>=r.top&&n<=r.bottom}),Be(this,"sendEvent",e=>{const{onGestureHandlerEvent:n,onGestureHandlerStateChange:r}=this.propsRef.current,i=this.transformEventData(e);t0(n,i),this.lastSentState!==i.nativeEvent.state&&(this.lastSentState=i.nativeEvent.state,t0(r,i))}),Be(this,"sync",()=>{const e=this.hammer.get(this.name);if(!e)return;const n=(i,a)=>{if(!this.config.enabled)return this.isGestureRunning=!1,this.hasGestureFailed=!1,!1;if(!a||!i.options||typeof a.maxPointers>"u")return this.shouldEnableGestureOnSetup;if(this.hasGestureFailed)return!1;if(!this.isDiscrete){if(this.isGestureRunning)return!0;if(this._stillWaiting=this._getPendingGestures(),this._stillWaiting.length){for(const u of this._stillWaiting)if(!u.isDiscrete&&u.isGestureRunning)return this.hasGestureFailed=!0,this.isGestureRunning=!1,!1;return!1}}if(!this.hasCustomActivationCriteria)return!0;const s=this.initialRotation==null?0:a.rotation-this.initialRotation,{success:o,failed:l}=this.isGestureEnabledForEvent(this.getConfig(),i,{...a,deltaRotation:s});return l&&(this.simulateCancelEvent(a),this.hasGestureFailed=!0),o},r=this.getHammerConfig();e.set({...r,enable:n})}),this.gestureInstance=n4++,this.hasCustomActivationCriteria=!1}getConfig(){return this.config}onWaitingEnded(e){}removePendingGesture(e){delete this.pendingGestures[e]}addPendingGesture(e){this.pendingGestures[e.id]=e}isGestureEnabledForEvent(e,n,r){return{success:!0}}get NativeGestureClass(){throw new Error("Must override GestureHandler.NativeGestureClass")}updateHasCustomActivationCriteria(e){return!0}updateGestureConfig({enabled:e=!0,...n}){if(this.clearSelfAsPending(),this.config=this.ensureConfig({enabled:e,...n}),this.hasCustomActivationCriteria=this.updateHasCustomActivationCriteria(this.config),Array.isArray(this.config.waitFor))for(const r of this.config.waitFor)r.addPendingGesture(this);return this.hammer&&this.sync(),this.config}getState(e){return e==0?0:ZT[e]}transformEventData(e){const{eventType:n,maxPointers:r}=e,i=e.changedPointers[0],a=this.isPointInView({x:i.clientX,y:i.clientY}),s=this.getState(n);return s!==this.previousState&&(this.oldState=this.previousState,this.previousState=s),{nativeEvent:{numberOfPointers:r,state:s,pointerInside:a,...this.transformNativeEvent(e),handlerTag:this.handlerTag,target:this.ref,oldState:s!==this.previousState||s!=4?this.oldState:void 0},timeStamp:Date.now()}}transformNativeEvent(e){return{}}cancelPendingGestures(e){for(const n of Object.values(this.pendingGestures))n&&n.isGestureRunning&&(n.hasGestureFailed=!0,n.cancelEvent(e))}notifyPendingGestures(){for(const e of Object.values(this.pendingGestures))e&&e.onWaitingEnded(this)}onGestureEnded(e){this.isGestureRunning=!1,this.cancelPendingGestures(e)}forceInvalidate(e){this.isGestureRunning&&(this.hasGestureFailed=!0,this.cancelEvent(e))}cancelEvent(e){this.notifyPendingGestures(),this.sendEvent({...e,eventType:oe.INPUT_CANCEL,isFinal:!0}),this.onGestureEnded(e)}onRawEvent({isFirst:e}){e&&(this.hasGestureFailed=!1)}shouldUseTouchEvents(e){var n,r;return(n=(r=e.simultaneousHandlers)===null||r===void 0?void 0:r.some(i=>i.isNative))!==null&&n!==void 0?n:!1}setView(e,n){if(e==null){this.destroy(),this.view=null;return}const r="ontouchstart"in window;this.propsRef=n,this.ref=e,this.view=zt(e),this.hammer=r&&this.shouldUseTouchEvents(this.config)?new oe.Manager(this.view,{inputClass:oe.TouchInput}):new oe.Manager(this.view),this.oldState=L.UNDETERMINED,this.previousState=L.UNDETERMINED,this.lastSentState=null;const{NativeGestureClass:i}=this,a=new i(this.getHammerConfig());this.hammer.add(a),this.hammer.on("hammer.input",s=>{if(!this.config.enabled){this.hasGestureFailed=!1,this.isGestureRunning=!1;return}this.onRawEvent(s),this.initialRotation===null&&s.rotation!==0&&(this.initialRotation=s.rotation),s.isFinal&&setTimeout(()=>{this.initialRotation=null,this.hasGestureFailed=!1})}),this.setupEvents(),this.sync()}setupEvents(){this.isDiscrete||(this.hammer.on(`${this.name}start`,e=>this.onStart(e)),this.hammer.on(`${this.name}end ${this.name}cancel`,e=>{this.onGestureEnded(e)})),this.hammer.on(this.name,e=>this.onGestureActivated(e))}onStart({deltaX:e,deltaY:n,rotation:r}){this.oldState=L.UNDETERMINED,this.previousState=L.UNDETERMINED,this.lastSentState=null,this.isGestureRunning=!0,this.__initialX=e,this.__initialY=n,this.initialRotation=r}onGestureActivated(e){this.sendEvent(e)}onSuccess(){}_getPendingGestures(){return Array.isArray(this.config.waitFor)&&this.config.waitFor.length?this.config.waitFor.filter(({hasGestureFailed:n})=>n===!1):[]}getHammerConfig(){return{pointers:this.config.minPointers===this.config.maxPointers?this.config.minPointers:0}}simulateCancelEvent(e){}ensureConfig(e){const n={...e};if("minDist"in e&&(n.minDist=e.minDist,n.minDistSq=n.minDist*n.minDist),"minVelocity"in e&&(n.minVelocity=e.minVelocity,n.minVelocitySq=n.minVelocity*n.minVelocity),"maxDist"in e&&(n.maxDist=e.maxDist,n.maxDistSq=e.maxDist*e.maxDist),"waitFor"in e?n.waitFor=Eh(e.waitFor).map(({handlerTag:i})=>Zr(i)).filter(i=>i):n.waitFor=null,"simultaneousHandlers"in e){const i=this.shouldUseTouchEvents(this.config);n.simultaneousHandlers=Eh(e.simultaneousHandlers).map(a=>Zr(typeof a=="number"?a:a.handlerTag)).filter(a=>a),i!==this.shouldUseTouchEvents(n)&&ii(()=>{this.destroy(),this.setView(this.ref,this.propsRef)})}else n.simultaneousHandlers=null;return["minPointers","maxPointers","minDist","maxDist","maxDistSq","minVelocitySq","minDistSq","minVelocity","failOffsetXStart","failOffsetYStart","failOffsetXEnd","failOffsetYEnd","activeOffsetXStart","activeOffsetXEnd","activeOffsetYStart","activeOffsetYEnd"].forEach(i=>{typeof n[i]>"u"&&(n[i]=Number.NaN)}),n}}function t0(t,e){if(t){if(typeof t=="function")t(e);else if("__getHandler"in t&&typeof t.__getHandler=="function"){const n=t.__getHandler();t0(n,e)}else if("__nodeConfig"in t){const{argMapping:n}=t.__nodeConfig;if(Array.isArray(n)){for(const[r,[i,a]]of n.entries())if(i in e.nativeEvent){const s=e.nativeEvent[i];a&&a.setValue?a.setValue(s):t.__nodeConfig.argMapping[r]=[i,s]}}}}}function Eh(t){return t==null?[]:Array.isArray(t)?t:[t]}const Ne=t=>Number.isNaN(t),cn=t=>typeof t=="number"&&!Number.isNaN(t),Ga=(t,e)=>!Ne(e)&&(e<0&&t<=e||e>=0&&t>=e),n0=({x:t=0,y:e=0}={})=>t*t+e*e,sc=(t,e)=>!Ne(e)&&(e<0&&t<e||e>=0&&t>e);function xh(t,e){return e?setTimeout(()=>t(),e):(t(),null)}class fA extends AA{get isDiscrete(){return!0}get shouldEnableGestureOnSetup(){return!0}shouldFailUnderCustomCriteria({x:e,y:n,deltaX:r,deltaY:i},{maxDeltaX:a,maxDeltaY:s,maxDistSq:o,shouldCancelWhenOutside:l}){return l&&!this.isPointInView({x:e,y:n})?!0:sc(Math.abs(r),a)||sc(Math.abs(i),s)||sc(Math.abs(i*i+r*r),o)}transformNativeEvent({center:{x:e,y:n}}){const r=this.view.getBoundingClientRect();return{absoluteX:e,absoluteY:n,x:e-r.left,y:n-r.top}}isGestureEnabledForEvent({minPointers:e,maxPointers:n,maxDeltaX:r,maxDeltaY:i,maxDistSq:a,shouldCancelWhenOutside:s},o,{maxPointers:l,center:u,deltaX:c,deltaY:A}){const d=l>=e&&l<=n;return this.shouldFailUnderCustomCriteria({...u,deltaX:c,deltaY:A},{maxDeltaX:r,maxDeltaY:i,maxDistSq:a,shouldCancelWhenOutside:s})||!d&&this.isGestureRunning?{failed:!0}:{success:d}}}function oc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class TC extends fA{constructor(...e){super(...e),oc(this,"visualFeedbackTimer",void 0),oc(this,"initialEvent",null),oc(this,"shouldDelayTouches",!0)}get name(){return"press"}get minDurationMs(){return Ne(this.config.minDurationMs)?5:this.config.minDurationMs}get maxDist(){return Ne(this.config.maxDist)?9:this.config.maxDist}get NativeGestureClass(){return oe.Press}simulateCancelEvent(e){this.hasGestureFailed=!0,this.cancelEvent(e)}updateHasCustomActivationCriteria({shouldCancelWhenOutside:e,maxDistSq:n}){return e||!cn(n)}getState(e){return{[oe.INPUT_START]:L.BEGAN,[oe.INPUT_MOVE]:L.ACTIVE,[oe.INPUT_END]:L.END,[oe.INPUT_CANCEL]:L.CANCELLED}[e]}getConfig(){return this.hasCustomActivationCriteria?this.config:{shouldCancelWhenOutside:!0,maxDistSq:10}}getHammerConfig(){return{...super.getHammerConfig(),time:this.minDurationMs}}onGestureActivated(e){this.onGestureStart(e)}shouldDelayTouchForEvent({pointerType:e}){return this.shouldDelayTouches&&e==="touch"}onGestureStart(e){this.isGestureRunning=!0,clearTimeout(this.visualFeedbackTimer),this.initialEvent=e,this.visualFeedbackTimer=xh(()=>{this.sendGestureStartedEvent(this.initialEvent),this.initialEvent=null},this.shouldDelayTouchForEvent(e)&&KT)}sendGestureStartedEvent(e){clearTimeout(this.visualFeedbackTimer),this.visualFeedbackTimer=null,this.sendEvent({...e,eventType:oe.INPUT_MOVE,isFirst:!0})}forceInvalidate(e){super.forceInvalidate(e),clearTimeout(this.visualFeedbackTimer),this.visualFeedbackTimer=null,this.initialEvent=null}onRawEvent(e){if(super.onRawEvent(e),this.isGestureRunning)if(e.isFinal){let n;this.visualFeedbackTimer&&(n=$T,this.sendGestureStartedEvent(this.initialEvent),this.initialEvent=null),xh(()=>{this.sendEvent({...e,eventType:oe.INPUT_END,isFinal:!0}),this.onGestureEnded()},n)}else this.sendEvent({...e,eventType:oe.INPUT_MOVE,isFinal:!1})}updateGestureConfig({shouldActivateOnStart:e=!1,disallowInterruption:n=!1,shouldCancelWhenOutside:r=!0,minDurationMs:i=Number.NaN,maxDist:a=Number.NaN,minPointers:s=1,maxPointers:o=1,...l}){return super.updateGestureConfig({shouldActivateOnStart:e,disallowInterruption:n,shouldCancelWhenOutside:r,minDurationMs:i,maxDist:a,minPointers:s,maxPointers:o,...l})}}let r4=class extends TC{get isNative(){return!0}onRawEvent(e){if(super.onRawEvent(e),!e.isFinal&&Ga(n0({x:e.deltaX,y:e.deltaY}),10)&&this.config.disallowInterruption){const n=Object.values(t4()).filter(r=>{const{handlerTag:i,view:a,isGestureRunning:s}=r;return i!==this.handlerTag&&s&&r instanceof fA&&a&&this.view.contains(a)});for(const r of n)r.forceInvalidate(e)}}};class PC extends AA{get shouldEnableGestureOnSetup(){return!0}transformNativeEvent({deltaX:e,deltaY:n,velocityX:r,velocityY:i,center:{x:a,y:s}}){const o=this.view.getBoundingClientRect(),l=kx.get();return{translationX:e-(this.__initialX||0),translationY:n-(this.__initialY||0),absoluteX:a,absoluteY:s,velocityX:r*l,velocityY:i*l,x:a-o.left,y:s-o.top}}}let i4=class extends PC{get name(){return"pan"}get NativeGestureClass(){return oe.Pan}getHammerConfig(){return{...super.getHammerConfig(),direction:this.getDirection()}}getState(e){const n=super.getState(e);return this.previousState===L.UNDETERMINED&&n===L.ACTIVE?L.BEGAN:n}getDirection(){const e=this.getConfig(),{activeOffsetXStart:n,activeOffsetXEnd:r,activeOffsetYStart:i,activeOffsetYEnd:a,minDist:s}=e;let o=[],l=[];if(!Ne(s))return oe.DIRECTION_ALL;Ne(n)||l.push(oe.DIRECTION_LEFT),Ne(r)||l.push(oe.DIRECTION_RIGHT),l.length===2&&(l=[oe.DIRECTION_HORIZONTAL]),o=o.concat(l);let u=[];return Ne(i)||u.push(oe.DIRECTION_UP),Ne(a)||u.push(oe.DIRECTION_DOWN),u.length===2&&(u=[oe.DIRECTION_VERTICAL]),o=o.concat(u),o.length?o[0]===oe.DIRECTION_HORIZONTAL&&o[1]===oe.DIRECTION_VERTICAL||l.length&&u.length?oe.DIRECTION_ALL:o[0]:oe.DIRECTION_NONE}getConfig(){return this.hasCustomActivationCriteria?this.config:{minDistSq:10}}shouldFailUnderCustomCriteria({deltaX:e,deltaY:n},r){return!Ne(r.failOffsetXStart)&&e<r.failOffsetXStart||!Ne(r.failOffsetXEnd)&&e>r.failOffsetXEnd||!Ne(r.failOffsetYStart)&&n<r.failOffsetYStart||!Ne(r.failOffsetYEnd)&&n>r.failOffsetYEnd}shouldActivateUnderCustomCriteria({deltaX:e,deltaY:n,velocity:r},i){return!Ne(i.activeOffsetXStart)&&e<i.activeOffsetXStart||!Ne(i.activeOffsetXEnd)&&e>i.activeOffsetXEnd||!Ne(i.activeOffsetYStart)&&n<i.activeOffsetYStart||!Ne(i.activeOffsetYEnd)&&n>i.activeOffsetYEnd||Ga(n0({x:e,y:n}),i.minDistSq)||Ga(r.x,i.minVelocityX)||Ga(r.y,i.minVelocityY)||Ga(n0(r),i.minVelocitySq)}shouldMultiFingerPanFail({pointerLength:e,scale:n,deltaRotation:r}){if(e<=1)return!1;const i=Math.abs(n-1),a=Math.abs(r);return i>qT||a>jT}updateHasCustomActivationCriteria(e){return cn(e.minDistSq)||cn(e.minVelocityX)||cn(e.minVelocityY)||cn(e.minVelocitySq)||cn(e.activeOffsetXStart)||cn(e.activeOffsetXEnd)||cn(e.activeOffsetYStart)||cn(e.activeOffsetYEnd)}isGestureEnabledForEvent(e,n,r){if(this.shouldFailUnderCustomCriteria(r,e))return{failed:!0};const i={x:r.velocityX,y:r.velocityY};return this.hasCustomActivationCriteria&&this.shouldActivateUnderCustomCriteria({deltaX:r.deltaX,deltaY:r.deltaY,velocity:i},e)?this.shouldMultiFingerPanFail({pointerLength:r.maxPointers,scale:r.scale,deltaRotation:r.deltaRotation})?{failed:!0}:{success:!0}:{success:!1}}};function Ws(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}let a4=class extends fA{constructor(...e){super(...e),Ws(this,"_shouldFireEndEvent",null),Ws(this,"_timer",void 0),Ws(this,"_multiTapTimer",void 0),Ws(this,"onSuccessfulTap",n=>{if(this._getPendingGestures().length){this._shouldFireEndEvent=n;return}n.eventType===oe.INPUT_END&&this.sendEvent({...n,eventType:oe.INPUT_MOVE}),this.sendEvent({...n,isFinal:!0}),this.onGestureEnded(n)})}get name(){return"tap"}get NativeGestureClass(){return oe.Tap}get maxDelayMs(){return Ne(this.config.maxDelayMs)?300:this.config.maxDelayMs}simulateCancelEvent(e){this.isGestureRunning&&this.cancelEvent(e)}onGestureActivated(e){this.isGestureRunning&&this.onSuccessfulTap(e)}onRawEvent(e){if(super.onRawEvent(e),!this.hasGestureFailed&&!this.isGestureRunning&&!e.isFinal){const n=this.hammer.get(this.name);n.options.enable(n,e)&&(clearTimeout(this._multiTapTimer),this.onStart(e),this.sendEvent(e))}if(e.isFinal&&e.maxPointers>1&&setTimeout(()=>{this.isGestureRunning&&this.cancelEvent(e)}),!this.hasGestureFailed){if(e.isFinal)e.maxPointers>1&&setTimeout(()=>{this.isGestureRunning&&this.cancelEvent(e)}),clearTimeout(this._timer),this._timer=setTimeout(()=>{this.hasGestureFailed=!0,this.cancelEvent(e)},this.maxDelayMs);else if(!this.hasGestureFailed&&!this.isGestureRunning){const n=this.hammer.get(this.name);n.options.enable(n,e)&&(clearTimeout(this._multiTapTimer),this.onStart(e),this.sendEvent(e))}}}getHammerConfig(){return{...super.getHammerConfig(),event:this.name,taps:Ne(this.config.numberOfTaps)?1:this.config.numberOfTaps,interval:this.maxDelayMs,time:Ne(this.config.maxDurationMs)||this.config.maxDurationMs==null?250:this.config.maxDurationMs}}updateGestureConfig({shouldCancelWhenOutside:e=!0,maxDeltaX:n=Number.NaN,maxDeltaY:r=Number.NaN,numberOfTaps:i=1,minDurationMs:a=525,maxDelayMs:s=Number.NaN,maxDurationMs:o=Number.NaN,maxDist:l=2,minPointers:u=1,maxPointers:c=1,...A}){return super.updateGestureConfig({shouldCancelWhenOutside:e,numberOfTaps:i,maxDeltaX:n,maxDeltaY:r,minDurationMs:a,maxDelayMs:s,maxDist:l,minPointers:u,maxPointers:c,...A})}onGestureEnded(...e){clearTimeout(this._timer),super.onGestureEnded(...e)}onWaitingEnded(e){this._shouldFireEndEvent&&(this.onSuccessfulTap(this._shouldFireEndEvent),this._shouldFireEndEvent=null)}},s4=class extends TC{get minDurationMs(){return Ne(this.config.minDurationMs)?251:this.config.minDurationMs}get maxDist(){return Ne(this.config.maxDist)?9:this.config.maxDist}updateHasCustomActivationCriteria({maxDistSq:e}){return!cn(e)}getConfig(){return this.hasCustomActivationCriteria?this.config:{shouldCancelWhenOutside:!0,maxDistSq:10}}getHammerConfig(){return{...super.getHammerConfig(),time:this.minDurationMs}}getState(e){return{[oe.INPUT_START]:L.ACTIVE,[oe.INPUT_MOVE]:L.ACTIVE,[oe.INPUT_END]:L.END,[oe.INPUT_CANCEL]:L.FAILED}[e]}};class RC extends AA{get shouldEnableGestureOnSetup(){return!1}updateGestureConfig({minPointers:e=2,maxPointers:n=2,...r}){return super.updateGestureConfig({minPointers:e,maxPointers:n,...r})}isGestureEnabledForEvent({minPointers:e,maxPointers:n},r,{maxPointers:i}){return i>n?{failed:!0}:{success:i>=e}}}let o4=class extends RC{get name(){return"pinch"}get NativeGestureClass(){return oe.Pinch}transformNativeEvent({scale:e,velocity:n,center:r}){return{focalX:r.x,focalY:r.y,velocity:n,scale:e}}},l4=class extends RC{get name(){return"rotate"}get NativeGestureClass(){return oe.Rotate}transformNativeEvent({rotation:e,velocity:n,center:r}){var i;return{rotation:(e-((i=this.initialRotation)!==null&&i!==void 0?i:0))*QT,anchorX:r.x,anchorY:r.y,velocity:n}}};class u4 extends Error{constructor(e,n,r){super(`Invalid property \`${e}: ${n}\` expected \`${r}\``)}}let c4=class extends PC{get name(){return"swipe"}get NativeGestureClass(){return oe.Swipe}onGestureActivated(e){this.sendEvent({...e,eventType:oe.INPUT_MOVE,isFinal:!1,isFirst:!0}),this.isGestureRunning=!1,this.hasGestureFailed=!1,this.sendEvent({...e,eventType:oe.INPUT_END,isFinal:!0})}onRawEvent(e){if(super.onRawEvent(e),!this.hasGestureFailed){if(e.isFinal)setTimeout(()=>{this.isGestureRunning&&this.cancelEvent(e)});else if(!this.hasGestureFailed&&!this.isGestureRunning){const n=this.hammer.get(this.name);n.options.enable(n,e)&&(this.onStart(e),this.sendEvent(e))}}}getHammerConfig(){return{pointers:this.config.numberOfPointers,direction:this.getDirection()}}getTargetDirections(e){const n=[];return e&sr.RIGHT&&n.push(oe.DIRECTION_RIGHT),e&sr.LEFT&&n.push(oe.DIRECTION_LEFT),e&sr.UP&&n.push(oe.DIRECTION_UP),e&sr.DOWN&&n.push(oe.DIRECTION_DOWN),n}getDirection(){const{direction:e}=this.getConfig();let n=[];return e&sr.RIGHT&&n.push(oe.DIRECTION_HORIZONTAL),e&sr.LEFT&&n.push(oe.DIRECTION_HORIZONTAL),e&sr.UP&&n.push(oe.DIRECTION_VERTICAL),e&sr.DOWN&&n.push(oe.DIRECTION_VERTICAL),n=[...new Set(n)],n.length===0?oe.DIRECTION_NONE:n.length===1?n[0]:oe.DIRECTION_ALL}isGestureEnabledForEvent({numberOfPointers:e},n,{maxPointers:r}){const i=r===e;return!i&&this.isGestureRunning?{failed:!0}:{success:i}}updateGestureConfig({numberOfPointers:e=1,direction:n,...r}){if(Ne(n)||typeof n!="number")throw new u4("direction",n,"number");return super.updateGestureConfig({numberOfPointers:e,direction:n,...r})}};const yh={NativeViewGestureHandler:aT,PanGestureHandler:H2,TapGestureHandler:U2,LongPressGestureHandler:Y2,PinchGestureHandler:K2,RotationGestureHandler:j2,FlingGestureHandler:iT,ManualGestureHandler:sT,HoverGestureHandler:oT},Ih={NativeViewGestureHandler:r4,PanGestureHandler:i4,TapGestureHandler:a4,LongPressGestureHandler:s4,PinchGestureHandler:o4,RotationGestureHandler:l4,FlingGestureHandler:c4};function lc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class hA{constructor(e){lc(this,"view",void 0),lc(this,"pointersInBounds",[]),lc(this,"activePointersCounter",void 0),this.view=e,this.activePointersCounter=0}onPointerDown(e){}onPointerAdd(e){}onPointerUp(e){}onPointerRemove(e){}onPointerMove(e){}onPointerLeave(e){}onPointerEnter(e){}onPointerCancel(e){}onPointerOutOfBounds(e){}onPointerMoveOver(e){}onPointerMoveOut(e){}setOnPointerDown(e){this.onPointerDown=e}setOnPointerAdd(e){this.onPointerAdd=e}setOnPointerUp(e){this.onPointerUp=e}setOnPointerRemove(e){this.onPointerRemove=e}setOnPointerMove(e){this.onPointerMove=e}setOnPointerLeave(e){this.onPointerLeave=e}setOnPointerEnter(e){this.onPointerEnter=e}setOnPointerCancel(e){this.onPointerCancel=e}setOnPointerOutOfBounds(e){this.onPointerOutOfBounds=e}setOnPointerMoveOver(e){this.onPointerMoveOver=e}setOnPointerMoveOut(e){this.onPointerMoveOut=e}markAsInBounds(e){this.pointersInBounds.indexOf(e)>=0||this.pointersInBounds.push(e)}markAsOutOfBounds(e){const n=this.pointersInBounds.indexOf(e);n<0||this.pointersInBounds.splice(n,1)}resetManager(){this.activePointersCounter=0,this.pointersInBounds=[]}}function ln(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const uc=new Set(["SELECT","INPUT"]),kr={Touch:"touch",Stylus:"pen"};class d4 extends hA{constructor(e){super(e),ln(this,"trackedPointers",new Set),ln(this,"mouseButtonsMapper",new Map),ln(this,"lastPosition",void 0),ln(this,"pointerDownCallback",n=>{if(n.pointerType===kr.Touch||!ts(this.view,{x:n.clientX,y:n.clientY}))return;const r=this.mapEvent(n,se.DOWN),i=n.target;uc.has(i.tagName)||i.setPointerCapture(r.pointerId),this.markAsInBounds(r.pointerId),this.trackedPointers.add(r.pointerId),++this.activePointersCounter>1?(r.eventType=se.ADDITIONAL_POINTER_DOWN,this.onPointerAdd(r)):this.onPointerDown(r)}),ln(this,"pointerUpCallback",n=>{if(n.pointerType===kr.Touch||this.activePointersCounter===0)return;const r=this.mapEvent(n,se.UP),i=n.target;uc.has(i.tagName)||i.releasePointerCapture(r.pointerId),this.markAsOutOfBounds(r.pointerId),this.trackedPointers.delete(r.pointerId),--this.activePointersCounter>0?(r.eventType=se.ADDITIONAL_POINTER_UP,this.onPointerRemove(r)):this.onPointerUp(r)}),ln(this,"pointerMoveCallback",n=>{if(n.pointerType===kr.Touch||n.pointerType===kr.Stylus&&n.x===this.lastPosition.x&&n.y===this.lastPosition.y)return;const r=this.mapEvent(n,se.MOVE),i=n.target;!i.hasPointerCapture(n.pointerId)&&!uc.has(i.tagName)&&i.setPointerCapture(n.pointerId);const a=ts(this.view,{x:r.x,y:r.y}),s=this.pointersInBounds.indexOf(r.pointerId);a?s<0?(r.eventType=se.ENTER,this.onPointerEnter(r),this.markAsInBounds(r.pointerId)):this.onPointerMove(r):s>=0?(r.eventType=se.LEAVE,this.onPointerLeave(r),this.markAsOutOfBounds(r.pointerId)):this.onPointerOutOfBounds(r),this.lastPosition.x=n.x,this.lastPosition.y=n.y}),ln(this,"pointerCancelCallback",n=>{if(n.pointerType===kr.Touch)return;const r=this.mapEvent(n,se.CANCEL);this.onPointerCancel(r),this.markAsOutOfBounds(r.pointerId),this.activePointersCounter=0,this.trackedPointers.clear()}),ln(this,"pointerEnterCallback",n=>{if(n.pointerType===kr.Touch)return;const r=this.mapEvent(n,se.ENTER);this.onPointerMoveOver(r)}),ln(this,"pointerLeaveCallback",n=>{if(n.pointerType===kr.Touch)return;const r=this.mapEvent(n,se.LEAVE);this.onPointerMoveOut(r)}),ln(this,"lostPointerCaptureCallback",n=>{const r=this.mapEvent(n,se.CANCEL);this.trackedPointers.has(r.pointerId)&&(this.onPointerCancel(r),this.activePointersCounter=0,this.trackedPointers.clear())}),this.mouseButtonsMapper.set(0,fn.LEFT),this.mouseButtonsMapper.set(1,fn.MIDDLE),this.mouseButtonsMapper.set(2,fn.RIGHT),this.mouseButtonsMapper.set(3,fn.BUTTON_4),this.mouseButtonsMapper.set(4,fn.BUTTON_5),this.lastPosition={x:-1/0,y:-1/0}}registerListeners(){this.view.addEventListener("pointerdown",this.pointerDownCallback),this.view.addEventListener("pointerup",this.pointerUpCallback),this.view.addEventListener("pointermove",this.pointerMoveCallback),this.view.addEventListener("pointercancel",this.pointerCancelCallback),this.view.addEventListener("pointerenter",this.pointerEnterCallback),this.view.addEventListener("pointerleave",this.pointerLeaveCallback),this.view.addEventListener("lostpointercapture",this.lostPointerCaptureCallback)}unregisterListeners(){this.view.removeEventListener("pointerdown",this.pointerDownCallback),this.view.removeEventListener("pointerup",this.pointerUpCallback),this.view.removeEventListener("pointermove",this.pointerMoveCallback),this.view.removeEventListener("pointercancel",this.pointerCancelCallback),this.view.removeEventListener("pointerenter",this.pointerEnterCallback),this.view.removeEventListener("pointerleave",this.pointerLeaveCallback),this.view.removeEventListener("lostpointercapture",this.lostPointerCaptureCallback)}mapEvent(e,n){var r;const i=this.view.getBoundingClientRect(),{scaleX:a,scaleY:s}=iC(this.view);return{x:e.clientX,y:e.clientY,offsetX:(e.clientX-i.left)/a,offsetY:(e.clientY-i.top)/s,pointerId:e.pointerId,eventType:n,pointerType:(r=Z2.get(e.pointerType))!==null&&r!==void 0?r:St.OTHER,button:this.mouseButtonsMapper.get(e.button),time:e.timeStamp}}resetManager(){super.resetManager(),this.trackedPointers.clear()}}function Xs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class A4 extends hA{constructor(...e){super(...e),Xs(this,"touchStartCallback",n=>{for(let r=0;r<n.changedTouches.length;++r){const i=this.mapEvent(n,se.DOWN,r,Yt.DOWN);!ts(this.view,{x:i.x,y:i.y})||n.changedTouches[r].touchType==="stylus"||(this.markAsInBounds(i.pointerId),++this.activePointersCounter>1?(i.eventType=se.ADDITIONAL_POINTER_DOWN,this.onPointerAdd(i)):this.onPointerDown(i))}}),Xs(this,"touchMoveCallback",n=>{for(let r=0;r<n.changedTouches.length;++r){const i=this.mapEvent(n,se.MOVE,r,Yt.MOVE);if(n.changedTouches[r].touchType==="stylus")continue;const a=ts(this.view,{x:i.x,y:i.y}),s=this.pointersInBounds.indexOf(i.pointerId);a?s<0?(i.eventType=se.ENTER,this.onPointerEnter(i),this.markAsInBounds(i.pointerId)):this.onPointerMove(i):s>=0?(i.eventType=se.LEAVE,this.onPointerLeave(i),this.markAsOutOfBounds(i.pointerId)):this.onPointerOutOfBounds(i)}}),Xs(this,"touchEndCallback",n=>{for(let r=0;r<n.changedTouches.length&&this.activePointersCounter!==0;++r){if(n.changedTouches[r].touchType==="stylus")continue;const i=this.mapEvent(n,se.UP,r,Yt.UP);this.markAsOutOfBounds(i.pointerId),--this.activePointersCounter>0?(i.eventType=se.ADDITIONAL_POINTER_UP,this.onPointerRemove(i)):this.onPointerUp(i)}}),Xs(this,"touchCancelCallback",n=>{for(let r=0;r<n.changedTouches.length;++r){const i=this.mapEvent(n,se.CANCEL,r,Yt.CANCELLED);n.changedTouches[r].touchType!=="stylus"&&(this.onPointerCancel(i),this.markAsOutOfBounds(i.pointerId),this.activePointersCounter=0)}})}registerListeners(){this.view.addEventListener("touchstart",this.touchStartCallback),this.view.addEventListener("touchmove",this.touchMoveCallback),this.view.addEventListener("touchend",this.touchEndCallback),this.view.addEventListener("touchcancel",this.touchCancelCallback)}unregisterListeners(){this.view.removeEventListener("touchstart",this.touchStartCallback),this.view.removeEventListener("touchmove",this.touchMoveCallback),this.view.removeEventListener("touchend",this.touchEndCallback),this.view.removeEventListener("touchcancel",this.touchCancelCallback)}mapEvent(e,n,r,i){const a=this.view.getBoundingClientRect(),s=e.changedTouches[r].clientX,o=e.changedTouches[r].clientY,{scaleX:l,scaleY:u}=iC(this.view);return{x:s,y:o,offsetX:(s-a.left)/l,offsetY:(o-a.top)/u,pointerId:e.changedTouches[r].identifier,eventType:n,pointerType:St.TOUCH,time:e.timeStamp,allTouches:e.touches,changedTouches:e.changedTouches,touchEventType:i}}}function Ca(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class f4 extends hA{constructor(...e){super(...e),Ca(this,"activationKeys",["Enter"," "]),Ca(this,"cancelationKeys",["Tab"]),Ca(this,"isPressed",!1),Ca(this,"keyDownCallback",n=>{if(this.cancelationKeys.indexOf(n.key)!==-1&&this.isPressed){this.dispatchEvent(n,se.CANCEL);return}this.activationKeys.indexOf(n.key)!==-1&&this.dispatchEvent(n,se.DOWN)}),Ca(this,"keyUpCallback",n=>{this.activationKeys.indexOf(n.key)===-1||!this.isPressed||this.dispatchEvent(n,se.UP)})}dispatchEvent(e,n){if(!(e.target instanceof HTMLElement))return;const r=this.mapEvent(e,n);switch(n){case se.UP:this.isPressed=!1,this.onPointerUp(r);break;case se.DOWN:this.isPressed=!0,this.onPointerDown(r);break;case se.CANCEL:this.isPressed=!1,this.onPointerCancel(r);break}}registerListeners(){this.view.addEventListener("keydown",this.keyDownCallback),this.view.addEventListener("keyup",this.keyUpCallback)}unregisterListeners(){this.view.addEventListener("keydown",this.keyDownCallback),this.view.addEventListener("keyup",this.keyUpCallback)}mapEvent(e,n){const r=e.target.getBoundingClientRect(),i={x:(r==null?void 0:r.x)+(r==null?void 0:r.width)/2,y:(r==null?void 0:r.y)+(r==null?void 0:r.height)/2},a={x:(r==null?void 0:r.width)/2,y:(r==null?void 0:r.height)/2};return{x:i.x,y:i.y,offsetX:a.x,offsetY:a.y,pointerId:0,eventType:n,pointerType:St.KEY,time:e.timeStamp}}}function Ea(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class h4{constructor(){Ea(this,"isInitialized",!1),Ea(this,"view",void 0),Ea(this,"gestureHandler",void 0),Ea(this,"eventManagers",[]),Ea(this,"defaultViewStyles",{userSelect:"",touchAction:""})}getView(){return this.view}init(e,n){if(!e)throw new Error(`Cannot find HTML Element for handler ${n.getTag()}`);this.isInitialized=!0,this.gestureHandler=n,this.view=zt(e),this.defaultViewStyles={userSelect:this.view.style.userSelect,touchAction:this.view.style.touchAction};const r=n.getConfig();this.setUserSelect(r.enabled),this.setTouchAction(r.enabled),this.setContextMenu(r.enabled),this.eventManagers.push(new d4(this.view)),this.eventManagers.push(new A4(this.view)),this.eventManagers.push(new f4(this.view)),this.eventManagers.forEach(i=>this.gestureHandler.attachEventManager(i))}isPointerInBounds({x:e,y:n}){return ts(this.view,{x:e,y:n})}measureView(){const e=this.view.getBoundingClientRect();return{pageX:e.left,pageY:e.top,width:e.width,height:e.height}}reset(){this.eventManagers.forEach(e=>e.resetManager())}tryResetCursor(){const e=this.gestureHandler.getConfig();e.activeCursor&&e.activeCursor!=="auto"&&this.gestureHandler.getState()===L.ACTIVE&&(this.view.style.cursor="auto")}shouldDisableContextMenu(e){return e.enableContextMenu===void 0&&this.gestureHandler.isButtonInConfig(fn.RIGHT)||e.enableContextMenu===!1}addContextMenuListeners(e){this.shouldDisableContextMenu(e)?this.view.addEventListener("contextmenu",this.disableContextMenu):e.enableContextMenu&&this.view.addEventListener("contextmenu",this.enableContextMenu)}removeContextMenuListeners(e){this.shouldDisableContextMenu(e)?this.view.removeEventListener("contextmenu",this.disableContextMenu):e.enableContextMenu&&this.view.removeEventListener("contextmenu",this.enableContextMenu)}disableContextMenu(e){e.preventDefault()}enableContextMenu(e){e.stopPropagation()}setUserSelect(e){const{userSelect:n}=this.gestureHandler.getConfig();this.view.style.userSelect=e?n??"none":this.defaultViewStyles.userSelect,this.view.style.webkitUserSelect=e?n??"none":this.defaultViewStyles.userSelect}setTouchAction(e){const{touchAction:n}=this.gestureHandler.getConfig();this.view.style.touchAction=e?n??"none":this.defaultViewStyles.touchAction,this.view.style.WebkitTouchCallout=e?n??"none":this.defaultViewStyles.touchAction}setContextMenu(e){const n=this.gestureHandler.getConfig();e?this.addContextMenuListeners(n):this.removeContextMenuListeners(n)}onEnabledChange(e){this.isInitialized&&(this.setUserSelect(e),this.setTouchAction(e),this.setContextMenu(e))}onBegin(){}onActivate(){const e=this.gestureHandler.getConfig();(!this.view.style.cursor||this.view.style.cursor==="auto")&&e.activeCursor&&(this.view.style.cursor=e.activeCursor)}onEnd(){this.tryResetCursor()}onCancel(){this.tryResetCursor()}onFail(){this.tryResetCursor()}destroy(e){this.removeContextMenuListeners(e),this.eventManagers.forEach(n=>{n.unregisterListeners()})}}const wt={handleSetJSResponder(t,e){console.warn("handleSetJSResponder: ",t,e)},handleClearJSResponder(){console.warn("handleClearJSResponder: ")},createGestureHandler(t,e,n){if(Si()){if(!(t in yh))throw new Error(`react-native-gesture-handler: ${t} is not supported on web.`);const r=yh[t];Wt.createGestureHandler(e,new r(new h4)),Bn.getInstance().configureInteractions(Wt.getHandler(e),n)}else{if(!(t in Ih))throw new Error(`react-native-gesture-handler: ${t} is not supported on web.`);const r=Ih[t];JT(e,new r)}this.updateGestureHandler(e,n)},attachGestureHandler(t,e,n,r){(e instanceof HTMLElement||e instanceof xe.Component)&&(Si()?Wt.getHandler(t).init(e,r):Zr(t).setView(e,r))},updateGestureHandler(t,e){Si()?(Wt.getHandler(t).updateGestureConfig(e),Bn.getInstance().configureInteractions(Wt.getHandler(t),e)):Zr(t).updateGestureConfig(e)},getGestureHandlerNode(t){return Si()?Wt.getHandler(t):Zr(t)},dropGestureHandler(t){Si()?Wt.dropGestureHandler(t):e4(t)},flushOperations(){}};function p4(){T2()}const pA=xe.createContext(!1);function r0(){return r0=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r0.apply(this,arguments)}function FC({style:t,...e}){return b.createElement(pA.Provider,{value:!0},b.createElement(ge,r0({style:t??v4.container},e)))}const v4=ve.create({container:{flex:1}});function g4(t,e){function n(r){return b.createElement(FC,{style:[m4.container,e]},b.createElement(t,r))}return n.displayName=`gestureHandlerRootHOC(${t.displayName||t.name})`,ex(n,t),n}const m4=ve.create({container:{flex:1}});let C4=1;function kC(){return C4++}function E4(t,e){return t!==void 0&&(t!==Object(t)||!("__isNative"in t))&&e!=="onHandlerStateChange"&&e!=="onGestureEvent"}function Fi(t,e,n={}){const r={...n};for(const i of e){let a=t[i];E4(a,i)&&(i==="simultaneousHandlers"||i==="waitFor"?a=x4(t[i]):i==="hitSlop"&&typeof a!="object"&&(a={top:a,left:a,bottom:a,right:a}),r[i]=a)}return r}function x4(t){return t=E2(t),ue.OS==="web"?t.map(({current:e})=>e).filter(e=>e):t.map(e=>{var n;return Ao[e]||((n=e.current)===null||n===void 0?void 0:n.handlerTag)||-1}).filter(e=>e>0)}function wh(t){return ue.OS==="web"?t:zt(t)}let cc=!1;function ki(){cc||(cc=!0,ii(()=>{wt.flushOperations(),cc=!1}))}const zr={REANIMATED_WORKLET:1,NATIVE_ANIMATED_EVENT:2,JS_FUNCTION_OLD_API:3,JS_FUNCTION_NEW_API:4};var dc,Ac,fc;function ht(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const Nn=Mx,y4={topOnGestureHandlerEvent:{registrationName:"onGestureHandlerEvent"},topOnGestureHandlerStateChange:{registrationName:"onGestureHandlerStateChange"}},MC={onGestureHandlerEvent:{registrationName:"onGestureHandlerEvent"},onGestureHandlerStateChange:{registrationName:"onGestureHandlerStateChange"},...y2()&&ue.OS==="android"&&y4};Nn.genericDirectEventTypes={...Nn.genericDirectEventTypes,...MC};const hc=(dc=(Ac=Nn.getViewManagerConfig)===null||Ac===void 0?void 0:Ac.call(Nn,"getConstants"))!==null&&dc!==void 0?dc:(fc=Nn.getConstants)===null||fc===void 0?void 0:fc.call(Nn);hc&&(hc.genericDirectEventTypes={...hc.genericDirectEventTypes,...MC});const{setJSResponder:I4=()=>{},clearJSResponder:w4=()=>{}}=Nn;Nn.setJSResponder=(t,e)=>{wt.handleSetJSResponder(t,e),I4(t,e)};Nn.clearJSResponder=()=>{wt.handleClearJSResponder(),w4()};let S4=!0;function Sh(t){const e=n=>Array.isArray(n)?n.some(r=>r&&r.current===null):n&&n.current===null;return e(t.simultaneousHandlers)||e(t.waitFor)}const b4={[L.UNDETERMINED]:void 0,[L.BEGAN]:"onBegan",[L.FAILED]:"onFailed",[L.CANCELLED]:"onCancelled",[L.ACTIVE]:"onActivated",[L.END]:"onEnded"},bh=1;function Or({name:t,allowedProps:e=[],config:n={},transformProps:r,customNativeProps:i=[]}){class a extends b.Component{constructor(o){if(super(o),ht(this,"handlerTag",void 0),ht(this,"config",void 0),ht(this,"propsRef",void 0),ht(this,"isMountedRef",void 0),ht(this,"viewNode",void 0),ht(this,"viewTag",void 0),ht(this,"inspectorToggleListener",void 0),ht(this,"onGestureHandlerEvent",l=>{if(l.nativeEvent.handlerTag===this.handlerTag){if(typeof this.props.onGestureEvent=="function"){var u,c;(u=(c=this.props).onGestureEvent)===null||u===void 0||u.call(c,l)}}else{var A,d;(A=(d=this.props).onGestureHandlerEvent)===null||A===void 0||A.call(d,l)}}),ht(this,"onGestureHandlerStateChange",l=>{if(l.nativeEvent.handlerTag===this.handlerTag){if(typeof this.props.onHandlerStateChange=="function"){var u,c;(u=(c=this.props).onHandlerStateChange)===null||u===void 0||u.call(c,l)}const f=l.nativeEvent.state,p=b4[f],h=p&&this.props[p];h&&typeof h=="function"&&h(l)}else{var A,d;(A=(d=this.props).onGestureHandlerStateChange)===null||A===void 0||A.call(d,l)}}),ht(this,"refHandler",l=>{this.viewNode=l;const u=b.Children.only(this.props.children),{ref:c}=u;c!==null&&(typeof c=="function"?c(l):c.current=l)}),ht(this,"createGestureHandler",l=>{this.config=l,wt.createGestureHandler(t,this.handlerTag,l)}),ht(this,"attachGestureHandler",l=>{if(this.viewTag=l,ue.OS==="web")wt.attachGestureHandler(this.handlerTag,l,zr.JS_FUNCTION_OLD_API,this.propsRef);else{w2(this.handlerTag,{onGestureEvent:this.onGestureHandlerEvent,onGestureStateChange:this.onGestureHandlerStateChange});const u=(()=>{var c,A;const d=(c=this.props)===null||c===void 0?void 0:c.onGestureEvent,f=d&&("current"in d||"workletEventHandler"in d),p=(A=this.props)===null||A===void 0?void 0:A.onHandlerStateChange,h=p&&("current"in p||"workletEventHandler"in p);return f||h?zr.REANIMATED_WORKLET:d&&"__isNative"in d?zr.NATIVE_ANIMATED_EVENT:zr.JS_FUNCTION_OLD_API})();wt.attachGestureHandler(this.handlerTag,l,u)}ki()}),ht(this,"updateGestureHandler",l=>{this.config=l,wt.updateGestureHandler(this.handlerTag,l),ki()}),this.handlerTag=kC(),this.config={},this.propsRef=b.createRef(),this.isMountedRef=b.createRef(),this.state={allowTouches:S4},o.id){if(Ao[o.id]!==void 0)throw new Error(`Handler with ID "${o.id}" already registered`);Ao[o.id]=this.handlerTag}}componentDidMount(){const o=this.props;this.isMountedRef.current=!0,Sh(o)&&ii(()=>{this.update(bh)}),this.createGestureHandler(Fi(r?r(this.props):this.props,[...e,...i],n)),this.attachGestureHandler(wh(this.viewNode))}componentDidUpdate(){const o=wh(this.viewNode);this.viewTag!==o&&this.attachGestureHandler(o),this.update(bh)}componentWillUnmount(){var o;(o=this.inspectorToggleListener)===null||o===void 0||o.remove(),this.isMountedRef.current=!1,wt.dropGestureHandler(this.handlerTag),ki();const l=this.props.id;l&&delete Ao[l]}update(o){if(!this.isMountedRef.current)return;const l=this.props;if(Sh(l)&&o>0)ii(()=>{this.update(o-1)});else{const u=Fi(r?r(this.props):this.props,[...e,...i],n);Km(this.config,u)||this.updateGestureHandler(u)}}setNativeProps(o){const l={...this.props,...o},u=Fi(r?r(l):l,[...e,...i],n);this.updateGestureHandler(u)}render(){var o;let l=this.onGestureHandlerEvent;const{onGestureEvent:u,onGestureHandlerEvent:c}=this.props;if(u&&typeof u!="function"){if(c)throw new Error("Nesting touch handlers with native animated driver is not supported yet");l=u}else if(c&&typeof c!="function")throw new Error("Nesting touch handlers with native animated driver is not supported yet");let A=this.onGestureHandlerStateChange;const{onHandlerStateChange:d,onGestureHandlerStateChange:f}=this.props;if(d&&typeof d!="function"){if(f)throw new Error("Nesting touch handlers with native animated driver is not supported yet");A=d}else if(f&&typeof f!="function")throw new Error("Nesting touch handlers with native animated driver is not supported yet");const p={onGestureHandlerEvent:this.state.allowTouches?l:void 0,onGestureHandlerStateChange:this.state.allowTouches?A:void 0};this.propsRef.current=p;let h=null;try{h=b.Children.only(this.props.children)}catch{throw new Error(fs(`${t} got more than one view as a child. If you want the gesture to work on multiple views, wrap them with a common parent and attach the gesture to that view.`))}let v=h.props.children;return b.cloneElement(h,{ref:this.refHandler,collapsable:!1,...rA()?{handlerType:t,handlerTag:this.handlerTag}:{},testID:(o=this.props.testID)!==null&&o!==void 0?o:h.props.testID,...p},v)}}return ht(a,"displayName",t),ht(a,"contextType",pA),a}const BC=["maxDurationMs","maxDelayMs","numberOfTaps","maxDeltaX","maxDeltaY","maxDist","minPointers"],_4="TapGestureHandler",vA=Or({name:_4,allowedProps:[...Dr,...BC],config:{shouldCancelWhenOutside:!0}}),Mi={get forceTouchAvailable(){return!1}};function D4(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const NC=["minForce","maxForce","feedbackOnActivation"];class GC extends xe.Component{componentDidMount(){console.warn(fs("ForceTouchGestureHandler is not available on this platform. Please use ForceTouchGestureHandler.forceTouchAvailable to conditionally render other components that would provide a fallback behavior specific to your usecase"))}render(){return this.props.children}}D4(GC,"forceTouchAvailable",!1);const O4="ForceTouchGestureHandler",LC=Mi!=null&&Mi.forceTouchAvailable?Or({name:O4,allowedProps:[...Dr,...NC],config:{}}):GC;LC.forceTouchAvailable=(Mi==null?void 0:Mi.forceTouchAvailable)||!1;const VC=["minDurationMs","maxDist","numberOfPointers"],T4="LongPressGestureHandler",P4=Or({name:T4,allowedProps:[...Dr,...VC],config:{shouldCancelWhenOutside:!0}}),HC=["activeOffsetY","activeOffsetX","failOffsetY","failOffsetX","minDist","minVelocity","minVelocityX","minVelocityY","minPointers","maxPointers","avgTouches","enableTrackpadTwoFingerGesture","activateAfterLongPress"],UC=["activeOffsetYStart","activeOffsetYEnd","activeOffsetXStart","activeOffsetXEnd","failOffsetYStart","failOffsetYEnd","failOffsetXStart","failOffsetXEnd"],R4="PanGestureHandler",gA=Or({name:R4,allowedProps:[...Dr,...HC],config:{},transformProps:k4,customNativeProps:UC});function F4(t){const e={...t};return t.activeOffsetX!==void 0&&(delete e.activeOffsetX,Array.isArray(t.activeOffsetX)?(e.activeOffsetXStart=t.activeOffsetX[0],e.activeOffsetXEnd=t.activeOffsetX[1]):t.activeOffsetX<0?e.activeOffsetXStart=t.activeOffsetX:e.activeOffsetXEnd=t.activeOffsetX),t.activeOffsetY!==void 0&&(delete e.activeOffsetY,Array.isArray(t.activeOffsetY)?(e.activeOffsetYStart=t.activeOffsetY[0],e.activeOffsetYEnd=t.activeOffsetY[1]):t.activeOffsetY<0?e.activeOffsetYStart=t.activeOffsetY:e.activeOffsetYEnd=t.activeOffsetY),t.failOffsetX!==void 0&&(delete e.failOffsetX,Array.isArray(t.failOffsetX)?(e.failOffsetXStart=t.failOffsetX[0],e.failOffsetXEnd=t.failOffsetX[1]):t.failOffsetX<0?e.failOffsetXStart=t.failOffsetX:e.failOffsetXEnd=t.failOffsetX),t.failOffsetY!==void 0&&(delete e.failOffsetY,Array.isArray(t.failOffsetY)?(e.failOffsetYStart=t.failOffsetY[0],e.failOffsetYEnd=t.failOffsetY[1]):t.failOffsetY<0?e.failOffsetYStart=t.failOffsetY:e.failOffsetYEnd=t.failOffsetY),e}function k4(t){return F4(t)}const M4="PinchGestureHandler",B4=Or({name:M4,allowedProps:Dr,config:{}}),N4="RotationGestureHandler",G4=Or({name:N4,allowedProps:Dr,config:{}}),WC=["numberOfPointers","direction"],L4="FlingGestureHandler",V4=Or({name:L4,allowedProps:[...Dr,...WC],config:{}}),XC=["shouldActivateOnStart","disallowInterruption"],YC=[...Dr,...XC],H4="NativeViewGestureHandler",zC=Or({name:H4,allowedProps:YC,config:{}});function Vo(){return Vo=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Vo.apply(this,arguments)}const U4=[...YC,"onGestureHandlerEvent","onGestureHandlerStateChange"];function ia(t,e={}){var n;const r=b.forwardRef((i,a)=>{const s=Object.keys(i).reduce((u,c)=>(U4.includes(c)&&(u[c]=i[c]),u),{...e}),o=b.useRef(),l=b.useRef();return b.useImperativeHandle(a,()=>{const u=l.current;return o.current&&u?(o.current.handlerTag=u.handlerTag,o.current):null},[o,l]),b.createElement(zC,Vo({},s,{ref:l}),b.createElement(t,Vo({},i,{ref:o})))});return r.displayName=(t==null?void 0:t.displayName)||(t==null||(n=t.render)===null||n===void 0?void 0:n.name)||typeof t=="string"&&t||"ComponentWrapper",r}function xa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const he={UNDEFINED:0,BEGAN:1,START:2,UPDATE:3,CHANGE:4,END:5,FINALIZE:6,TOUCHES_DOWN:7,TOUCHES_MOVE:8,TOUCHES_UP:9,TOUCHES_CANCELLED:10};class KC{}let W4=0;class oi extends KC{constructor(){super(),xa(this,"gestureId",-1),xa(this,"handlerTag",-1),xa(this,"handlerName",""),xa(this,"config",{}),xa(this,"handlers",{gestureId:-1,handlerTag:-1,isWorklet:[]}),this.gestureId=W4++,this.handlers.gestureId=this.gestureId}addDependency(e,n){const r=this.config[e];this.config[e]=r?Array().concat(r,n):[n]}withRef(e){return this.config.ref=e,this}isWorklet(e){return e.__workletHash!==void 0}onBegin(e){return this.handlers.onBegin=e,this.handlers.isWorklet[he.BEGAN]=this.isWorklet(e),this}onStart(e){return this.handlers.onStart=e,this.handlers.isWorklet[he.START]=this.isWorklet(e),this}onEnd(e){return this.handlers.onEnd=e,this.handlers.isWorklet[he.END]=this.isWorklet(e),this}onFinalize(e){return this.handlers.onFinalize=e,this.handlers.isWorklet[he.FINALIZE]=this.isWorklet(e),this}onTouchesDown(e){return this.config.needsPointerData=!0,this.handlers.onTouchesDown=e,this.handlers.isWorklet[he.TOUCHES_DOWN]=this.isWorklet(e),this}onTouchesMove(e){return this.config.needsPointerData=!0,this.handlers.onTouchesMove=e,this.handlers.isWorklet[he.TOUCHES_MOVE]=this.isWorklet(e),this}onTouchesUp(e){return this.config.needsPointerData=!0,this.handlers.onTouchesUp=e,this.handlers.isWorklet[he.TOUCHES_UP]=this.isWorklet(e),this}onTouchesCancelled(e){return this.config.needsPointerData=!0,this.handlers.onTouchesCancelled=e,this.handlers.isWorklet[he.TOUCHES_CANCELLED]=this.isWorklet(e),this}enabled(e){return this.config.enabled=e,this}shouldCancelWhenOutside(e){return this.config.shouldCancelWhenOutside=e,this}hitSlop(e){return this.config.hitSlop=e,this}activeCursor(e){return this.config.activeCursor=e,this}mouseButton(e){return this.config.mouseButton=e,this}runOnJS(e){return this.config.runOnJS=e,this}simultaneousWithExternalGesture(...e){for(const n of e)this.addDependency("simultaneousWith",n);return this}requireExternalGestureToFail(...e){for(const n of e)this.addDependency("requireToFail",n);return this}blocksExternalGesture(...e){for(const n of e)this.addDependency("blocksHandlers",n);return this}withTestId(e){return this.config.testId=e,this}cancelsTouchesInView(e){return this.config.cancelsTouchesInView=e,this}initialize(){this.handlerTag=kC(),this.handlers={...this.handlers,handlerTag:this.handlerTag},this.config.ref&&(this.config.ref.current=this)}toGestureArray(){return[this]}prepare(){}get shouldUseReanimated(){return this.config.runOnJS!==!0&&!this.handlers.isWorklet.includes(!1)&&!I2()}}class aa extends oi{onUpdate(e){return this.handlers.onUpdate=e,this.handlers.isWorklet[he.UPDATE]=this.isWorklet(e),this}onChange(e){return this.handlers.onChange=e,this.handlers.isWorklet[he.CHANGE]=this.isWorklet(e),this}manualActivation(e){return this.config.manualActivation=e,this}}const Ot=us(jD);var pc;let bt;try{bt=Ot}catch{bt=void 0}(pc=bt)!==null&&pc!==void 0&&pc.useSharedValue||(bt=void 0);bt!==void 0&&!bt.setGestureState&&(bt.setGestureState=()=>{"worklet";console.warn(fs("Please use newer version of react-native-reanimated in order to control state of the gestures."))});function X4(t,e){"worklet";switch(t){case he.BEGAN:return e.onBegin;case he.START:return e.onStart;case he.UPDATE:return e.onUpdate;case he.CHANGE:return e.onChange;case he.END:return e.onEnd;case he.FINALIZE:return e.onFinalize;case he.TOUCHES_DOWN:return e.onTouchesDown;case he.TOUCHES_MOVE:return e.onTouchesMove;case he.TOUCHES_UP:return e.onTouchesUp;case he.TOUCHES_CANCELLED:return e.onTouchesCancelled}}function Y4(t){"worklet";switch(t){case Mn.TOUCHES_DOWN:return he.TOUCHES_DOWN;case Mn.TOUCHES_MOVE:return he.TOUCHES_MOVE;case Mn.TOUCHES_UP:return he.TOUCHES_UP;case Mn.TOUCHES_CANCELLED:return he.TOUCHES_CANCELLED}return he.UNDEFINED}function _n(t,e,n,...r){"worklet";const i=X4(t,e);e.isWorklet[t]?i==null||i(n,...r):i&&console.warn(fs("Animated gesture callback must be a worklet"))}function z4(t){"worklet";return t.oldState!=null}function K4(t){"worklet";return t.eventType!=null}function $4(t,e){if(!bt)return;const n=bt.useSharedValue(null),r=bt.useSharedValue([]),i=[],a=o=>{"worklet";const l=n.value;if(l)for(let c=0;c<l.length;c++){const A=l[c];if(o.handlerTag===A.handlerTag){if(z4(o))o.oldState===L.UNDETERMINED&&o.state===L.BEGAN?_n(he.BEGAN,A,o):(o.oldState===L.BEGAN||o.oldState===L.UNDETERMINED)&&o.state===L.ACTIVE?(_n(he.START,A,o),r.value[A.handlerTag]=void 0):o.oldState!==o.state&&o.state===L.END?(o.oldState===L.ACTIVE&&_n(he.END,A,o,!0),_n(he.FINALIZE,A,o,!0)):(o.state===L.FAILED||o.state===L.CANCELLED)&&o.state!==o.oldState&&(o.oldState===L.ACTIVE&&_n(he.END,A,o,!1),_n(he.FINALIZE,A,o,!1));else if(K4(o))i[c]||(i[c]=Qm.create(o.handlerTag)),o.eventType!==Mn.UNDETERMINED&&_n(Y4(o.eventType),A,o,i[c]);else if(_n(he.UPDATE,A,o),A.onChange&&A.changeEventCalculator){var u;_n(he.CHANGE,A,(u=A.changeEventCalculator)===null||u===void 0?void 0:u.call(A,o,r.value[A.handlerTag])),r.value[A.handlerTag]=o}}}},s=bt.useEvent(a,["onGestureHandlerStateChange","onGestureHandlerEvent"],e);t.animatedEventHandler=s,t.animatedHandlers=n}function q4(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}let i0;(function(t){t[t.NONE=0]="NONE",t[t.LIFT=1]="LIFT",t[t.HIGHLIGHT=2]="HIGHLIGHT"})(i0||(i0={}));const j4=["hoverEffect"];function Q4(t,e){"worklet";let n;return e===void 0?n={changeX:t.x,changeY:t.y}:n={changeX:t.x-e.x,changeY:t.y-e.y},{...t,...n}}class Z4 extends aa{constructor(){super(),q4(this,"config",{}),this.handlerName="HoverGestureHandler"}effect(e){return this.config.hoverEffect=e,this}onChange(e){return this.handlers.changeEventCalculator=Q4,super.onChange(e)}}const a0=[...V2,...BC,...HC,...UC,...VC,...NC,...WC,...j4,...XC];function J4(t){if(typeof t=="number")return t;if(t instanceof oi)return t.handlerTag;var e,n;return(e=(n=t.current)===null||n===void 0?void 0:n.handlerTag)!==null&&e!==void 0?e:-1}function vc(t){var e,n;return(e=t==null||(n=t.map(J4))===null||n===void 0?void 0:n.filter(r=>r>0))!==null&&e!==void 0?e:[]}function $C(t){const e=vc(t.config.requireToFail),n=vc(t.config.simultaneousWith),r=vc(t.config.blocksHandlers);return{waitFor:e,simultaneousHandlers:n,blocksHandlers:r}}function eP(){const[t,e]=b.useState(!1);return b.useCallback(()=>{e(!t)},[t,e])}function tP(){return b.useRef({onGestureHandlerEvent:t=>{Bo(t.nativeEvent)},onGestureHandlerStateChange:Si()?t=>{Bo(t.nativeEvent)}:void 0})}function qC({preparedGesture:t,gestureConfig:e,gesturesToAttach:n,viewTag:r,webEventHandlersRef:i}){e.initialize(),ii(()=>{t.isMounted&&e.prepare()});for(const a of n)wt.createGestureHandler(a.handlerName,a.handlerTag,Fi(a.config,a0)),jm(a.handlerTag,a,a.config.testId);ii(()=>{if(t.isMounted){for(const a of n)wt.updateGestureHandler(a.handlerTag,Fi(a.config,a0,$C(a)));ki()}});for(const a of n){const s=a.shouldUseReanimated?zr.REANIMATED_WORKLET:zr.JS_FUNCTION_NEW_API;ue.OS==="web"?wt.attachGestureHandler(a.handlerTag,r,zr.JS_FUNCTION_OLD_API,i):wt.attachGestureHandler(a.handlerTag,r,s)}if(t.attachedGestures=n,t.animatedHandlers){const a=s=>s.shouldUseReanimated;t.animatedHandlers.value=n.filter(a).map(s=>s.handlers)}}function jC(t,e){if(e.length!==t.attachedGestures.length)return!0;for(let n=0;n<e.length;n++)if(e[n].handlerName!==t.attachedGestures[n].handlerName||e[n].shouldUseReanimated!==t.attachedGestures[n].shouldUseReanimated)return!0;return!1}function QC(t){for(const e of t.attachedGestures)wt.dropGestureHandler(e.handlerTag),S2(e.handlerTag,e.config.testId);ki()}var gc,mc;class s0 extends xe.Component{render(){try{const e=xe.Children.only(this.props.children);return xe.cloneElement(e,{collapsable:!1},e.props.children)}catch{throw new Error(fs("GestureDetector got more than one view as a child. If you want the gesture to work on multiple views, wrap them with a common parent and attach the gesture to that view."))}}}const nP=(gc=bt==null||(mc=bt.default)===null||mc===void 0?void 0:mc.createAnimatedComponent(s0))!==null&&gc!==void 0?gc:s0;function rP(t,e,n){e.prepare();for(let r=0;r<n.length;r++){const i=t.attachedGestures[r];n[r].handlerTag!==i.handlerTag&&(n[r].handlerTag=i.handlerTag,n[r].handlers.handlerTag=i.handlerTag)}ii(()=>{if(!t.isMounted)return;let r=t.attachedGestures.length!==n.length;for(let i=0;i<n.length;i++){const a=t.attachedGestures[i];a.handlers.gestureId!==n[i].handlers.gestureId&&(n[i].shouldUseReanimated||a.shouldUseReanimated)&&(r=!0),a.config=n[i].config,a.handlers=n[i].handlers,wt.updateGestureHandler(a.handlerTag,Fi(a.config,a0,$C(a))),jm(a.handlerTag,a,a.config.testId)}if(t.animatedHandlers&&r){const i=t.attachedGestures.filter(a=>a.shouldUseReanimated).map(a=>a.handlers);t.animatedHandlers.value=i}ki()})}function iP(t,e,n,r,i){const a=eP();return b.useCallback(o=>{const l=zt(t.viewRef),u=l!==t.previousViewTag;u||jC(e,n)?(t.viewRef,QC(e),qC({preparedGesture:e,gestureConfig:r,gesturesToAttach:n,webEventHandlersRef:i,viewTag:l}),u&&(t.previousViewTag=l,t.forceRebuildReanimatedEvent=!0,a())):o||rP(e,r,n)},[a,r,n,e,t,i])}function aP(t,e){return b.useCallback(r=>{r!==null&&(t.viewRef=r,t.previousViewTag===-1&&(t.previousViewTag=zt(t.viewRef)),t.firstRender||e(!0))},[t,e])}function sP(t,e){const n=["userSelect","enableContextMenu","touchAction"];for(const r of n){const i=t[r];if(i!==void 0)for(const a of e.toGestureArray()){const s=a.config;s[r]=i}}}const ZC=t=>{b.useContext(pA);const e=t.gesture;sP(t,e);const n=b.useMemo(()=>e.toGestureArray(),[e]),r=n.some(c=>c.shouldUseReanimated),i=tP(),a=b.useRef({firstRender:!0,viewRef:null,previousViewTag:-1,forceRebuildReanimatedEvent:!1}).current,s=xe.useRef({attachedGestures:[],animatedEventHandler:null,animatedHandlers:null,shouldUseReanimated:r,isMounted:!1}).current,o=iP(a,s,n,e,i),l=aP(a,o),u=a.firstRender||a.forceRebuildReanimatedEvent||jC(s,n);return a.forceRebuildReanimatedEvent=!1,$4(s,u),b.useLayoutEffect(()=>{const c=zt(a.viewRef);return s.isMounted=!0,qC({preparedGesture:s,gestureConfig:e,gesturesToAttach:n,webEventHandlersRef:i,viewTag:c}),()=>{s.isMounted=!1,QC(s)}},[]),b.useEffect(()=>{a.firstRender?a.firstRender=!1:o()},[t]),r?xe.createElement(nP,{ref:l,onGestureHandlerEvent:s.animatedEventHandler},t.children):xe.createElement(s0,{ref:l},t.children)};function oP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class lP extends oi{constructor(){super(),oP(this,"config",{}),this.handlerName="FlingGestureHandler"}numberOfPointers(e){return this.config.numberOfPointers=e,this}direction(e){return this.config.direction=e,this}}function uP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cP(t,e){"worklet";let n;return e===void 0?n={forceChange:t.force}:n={forceChange:t.force-e.force},{...t,...n}}class dP extends aa{constructor(){super(),uP(this,"config",{}),this.handlerName="ForceTouchGestureHandler"}minForce(e){return this.config.minForce=e,this}maxForce(e){return this.config.maxForce=e,this}feedbackOnActivation(e){return this.config.feedbackOnActivation=e,this}onChange(e){return this.handlers.changeEventCalculator=cP,super.onChange(e)}}function Cc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _h(t,e){return t===void 0?[...e]:[...t,...e]}class Cs extends KC{constructor(...e){super(),Cc(this,"gestures",[]),Cc(this,"simultaneousGestures",[]),Cc(this,"requireGesturesToFail",[]),this.gestures=e}prepareSingleGesture(e,n,r){if(e instanceof oi){const i={...e.config};i.simultaneousWith=_h(i.simultaneousWith,n),i.requireToFail=_h(i.requireToFail,r),e.config=i}else e instanceof Cs&&(e.simultaneousGestures=n,e.requireGesturesToFail=r,e.prepare())}prepare(){for(const e of this.gestures)this.prepareSingleGesture(e,this.simultaneousGestures,this.requireGesturesToFail)}initialize(){for(const e of this.gestures)e.initialize()}toGestureArray(){return this.gestures.flatMap(e=>e.toGestureArray())}}class AP extends Cs{prepare(){const e=this.gestures.map(n=>this.gestures.filter(r=>r!==n).flatMap(r=>r.toGestureArray()));for(let n=0;n<this.gestures.length;n++)this.prepareSingleGesture(this.gestures[n],e[n],this.requireGesturesToFail)}}class fP extends Cs{prepare(){const e=this.gestures.map(r=>r.toGestureArray());let n=[];for(let r=0;r<this.gestures.length;r++)this.prepareSingleGesture(this.gestures[r],this.simultaneousGestures,this.requireGesturesToFail.concat(n)),n=n.concat(e[r])}}function hP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class pP extends oi{constructor(){super(),hP(this,"config",{}),this.handlerName="LongPressGestureHandler",this.shouldCancelWhenOutside(!0)}minDuration(e){return this.config.minDurationMs=e,this}maxDistance(e){return this.config.maxDist=e,this}numberOfPointers(e){return this.config.numberOfPointers=e,this}}function vP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gP(t,e){"worklet";let n;return e===void 0?n={changeX:t.translationX,changeY:t.translationY}:n={changeX:t.translationX-e.translationX,changeY:t.translationY-e.translationY},{...t,...n}}class mP extends aa{constructor(){super(),vP(this,"config",{}),this.handlerName="PanGestureHandler"}activeOffsetY(e){return Array.isArray(e)?(this.config.activeOffsetYStart=e[0],this.config.activeOffsetYEnd=e[1]):e<0?this.config.activeOffsetYStart=e:this.config.activeOffsetYEnd=e,this}activeOffsetX(e){return Array.isArray(e)?(this.config.activeOffsetXStart=e[0],this.config.activeOffsetXEnd=e[1]):e<0?this.config.activeOffsetXStart=e:this.config.activeOffsetXEnd=e,this}failOffsetY(e){return Array.isArray(e)?(this.config.failOffsetYStart=e[0],this.config.failOffsetYEnd=e[1]):e<0?this.config.failOffsetYStart=e:this.config.failOffsetYEnd=e,this}failOffsetX(e){return Array.isArray(e)?(this.config.failOffsetXStart=e[0],this.config.failOffsetXEnd=e[1]):e<0?this.config.failOffsetXStart=e:this.config.failOffsetXEnd=e,this}minPointers(e){return this.config.minPointers=e,this}maxPointers(e){return this.config.maxPointers=e,this}minDistance(e){return this.config.minDist=e,this}minVelocity(e){return this.config.minVelocity=e,this}minVelocityX(e){return this.config.minVelocityX=e,this}minVelocityY(e){return this.config.minVelocityY=e,this}averageTouches(e){return this.config.avgTouches=e,this}enableTrackpadTwoFingerGesture(e){return this.config.enableTrackpadTwoFingerGesture=e,this}activateAfterLongPress(e){return this.config.activateAfterLongPress=e,this}onChange(e){return this.handlers.changeEventCalculator=gP,super.onChange(e)}}function CP(t,e){"worklet";let n;return e===void 0?n={scaleChange:t.scale}:n={scaleChange:t.scale/e.scale},{...t,...n}}class EP extends aa{constructor(){super(),this.handlerName="PinchGestureHandler"}onChange(e){return this.handlers.changeEventCalculator=CP,super.onChange(e)}}function xP(t,e){"worklet";let n;return e===void 0?n={rotationChange:t.rotation}:n={rotationChange:t.rotation-e.rotation},{...t,...n}}class yP extends aa{constructor(){super(),this.handlerName="RotationGestureHandler"}onChange(e){return this.handlers.changeEventCalculator=xP,super.onChange(e)}}function IP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class wP extends oi{constructor(){super(),IP(this,"config",{}),this.handlerName="TapGestureHandler",this.shouldCancelWhenOutside(!0)}minPointers(e){return this.config.minPointers=e,this}numberOfTaps(e){return this.config.numberOfTaps=e,this}maxDistance(e){return this.config.maxDist=e,this}maxDuration(e){return this.config.maxDurationMs=e,this}maxDelay(e){return this.config.maxDelayMs=e,this}maxDeltaX(e){return this.config.maxDeltaX=e,this}maxDeltaY(e){return this.config.maxDeltaY=e,this}}function SP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class bP extends oi{constructor(){super(),SP(this,"config",{}),this.handlerName="NativeViewGestureHandler"}shouldActivateOnStart(e){return this.config.shouldActivateOnStart=e,this}disallowInterruption(e){return this.config.disallowInterruption=e,this}}function _P(t,e){"worklet";return t}class DP extends aa{constructor(){super(),this.handlerName="ManualGestureHandler"}onChange(e){return this.handlers.changeEventCalculator=_P,super.onChange(e)}}const La={Tap:()=>new wP,Pan:()=>new mP,Pinch:()=>new EP,Rotation:()=>new yP,Fling:()=>new lP,LongPress:()=>new pP,ForceTouch:()=>new dP,Native:()=>new bP,Manual:()=>new DP,Hover:()=>new Z4,Race:(...t)=>new Cs(...t),Simultaneous(...t){return new AP(...t)},Exclusive(...t){return new fP(...t)}};function o0(){return o0=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o0.apply(this,arguments)}const mA=b.forwardRef((t,e)=>b.createElement(ge,o0({ref:e,accessibilityRole:"button"},t)));function yr(){return yr=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},yr.apply(this,arguments)}function It(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const JC=ia(mA,{shouldCancelWhenOutside:!1,shouldActivateOnStart:!1});class eE extends b.Component{constructor(e){super(e),It(this,"lastActive",void 0),It(this,"longPressTimeout",void 0),It(this,"longPressDetected",void 0),It(this,"handleEvent",({nativeEvent:n})=>{const{state:r,oldState:i,pointerInside:a}=n,s=a&&r===L.ACTIVE;s!==this.lastActive&&this.props.onActiveStateChange&&this.props.onActiveStateChange(s),!this.longPressDetected&&i===L.ACTIVE&&r!==L.CANCELLED&&this.lastActive&&this.props.onPress&&this.props.onPress(a),!this.lastActive&&r===(ue.OS!=="android"?L.ACTIVE:L.BEGAN)&&a?(this.longPressDetected=!1,this.props.onLongPress&&(this.longPressTimeout=setTimeout(this.onLongPress,this.props.delayLongPress))):r===L.ACTIVE&&!a&&this.longPressTimeout!==void 0?(clearTimeout(this.longPressTimeout),this.longPressTimeout=void 0):this.longPressTimeout!==void 0&&(r===L.END||r===L.CANCELLED||r===L.FAILED)&&(clearTimeout(this.longPressTimeout),this.longPressTimeout=void 0),this.lastActive=s}),It(this,"onLongPress",()=>{var n,r;this.longPressDetected=!0,(n=(r=this.props).onLongPress)===null||n===void 0||n.call(r)}),It(this,"onHandlerStateChange",n=>{var r,i;(r=(i=this.props).onHandlerStateChange)===null||r===void 0||r.call(i,n),this.handleEvent(n)}),It(this,"onGestureEvent",n=>{var r,i;(r=(i=this.props).onGestureEvent)===null||r===void 0||r.call(i,n),this.handleEvent(n)}),this.lastActive=!1,this.longPressDetected=!1}render(){const{rippleColor:e,...n}=this.props;return b.createElement(JC,yr({ref:this.props.innerRef,rippleColor:S0(e)},n,{onGestureEvent:this.onGestureEvent,onHandlerStateChange:this.onHandlerStateChange}))}}It(eE,"defaultProps",{delayLongPress:600});const Du=b.forwardRef((t,e)=>b.createElement(eE,yr({innerRef:e},t))),OP=ce.createAnimatedComponent(Du),TP=ve.create({underlay:{position:"absolute",left:0,right:0,bottom:0,top:0}});class tE extends b.Component{constructor(e){super(e),It(this,"opacity",void 0),It(this,"onActiveStateChange",n=>{var r,i;ue.OS!=="android"&&this.opacity.setValue(n?this.props.activeOpacity:0),(r=(i=this.props).onActiveStateChange)===null||r===void 0||r.call(i,n)}),this.opacity=new ce.Value(0)}render(){const{children:e,style:n,...r}=this.props,i=ve.flatten(n??{});return b.createElement(Du,yr({},r,{ref:this.props.innerRef,style:i,onActiveStateChange:this.onActiveStateChange}),b.createElement(ce.View,{style:[TP.underlay,{opacity:this.opacity,backgroundColor:this.props.underlayColor,borderRadius:i.borderRadius,borderTopLeftRadius:i.borderTopLeftRadius,borderTopRightRadius:i.borderTopRightRadius,borderBottomLeftRadius:i.borderBottomLeftRadius,borderBottomRightRadius:i.borderBottomRightRadius}]}),e)}}It(tE,"defaultProps",{activeOpacity:.105,underlayColor:"black"});const PP=b.forwardRef((t,e)=>b.createElement(tE,yr({innerRef:e},t)));class nE extends b.Component{constructor(e){super(e),It(this,"opacity",void 0),It(this,"onActiveStateChange",n=>{var r,i;ue.OS!=="android"&&this.opacity.setValue(n?this.props.activeOpacity:1),(r=(i=this.props).onActiveStateChange)===null||r===void 0||r.call(i,n)}),this.opacity=new ce.Value(1)}render(){const{children:e,style:n,innerRef:r,...i}=this.props;return b.createElement(OP,yr({},i,{innerRef:r,onActiveStateChange:this.onActiveStateChange,style:[n,ue.OS==="ios"&&{opacity:this.opacity}]}),e)}}It(nE,"defaultProps",{activeOpacity:.3,borderless:!0});const RP=b.forwardRef((t,e)=>b.createElement(nE,yr({innerRef:e},t)));function Ho(){return Ho=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ho.apply(this,arguments)}function un(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const _e={UNDETERMINED:0,BEGAN:1,MOVED_OUTSIDE:2};class li extends b.Component{constructor(...e){super(...e),un(this,"pressInTimeout",void 0),un(this,"pressOutTimeout",void 0),un(this,"longPressTimeout",void 0),un(this,"longPressDetected",!1),un(this,"pointerInside",!0),un(this,"STATE",_e.UNDETERMINED),un(this,"onGestureEvent",({nativeEvent:{pointerInside:n}})=>{this.pointerInside!==n&&(n?this.onMoveIn():this.onMoveOut()),this.pointerInside=n}),un(this,"onHandlerStateChange",({nativeEvent:n})=>{const{state:r}=n;if(r===L.CANCELLED||r===L.FAILED)this.moveToState(_e.UNDETERMINED);else if(r===(ue.OS!=="android"?L.ACTIVE:L.BEGAN)&&this.STATE===_e.UNDETERMINED)this.handlePressIn();else if(r===L.END){const s=!this.longPressDetected&&this.STATE!==_e.MOVED_OUTSIDE&&this.pressOutTimeout===null;if(this.handleGoToUndetermined(),s){var i,a;(i=(a=this.props).onPress)===null||i===void 0||i.call(a)}}}),un(this,"onLongPressDetected",()=>{var n,r;this.longPressDetected=!0,(n=(r=this.props).onLongPress)===null||n===void 0||n.call(r)})}handlePressIn(){if(this.props.delayPressIn?this.pressInTimeout=setTimeout(()=>{this.moveToState(_e.BEGAN),this.pressInTimeout=null},this.props.delayPressIn):this.moveToState(_e.BEGAN),this.props.onLongPress){const e=(this.props.delayPressIn||0)+(this.props.delayLongPress||0);this.longPressTimeout=setTimeout(this.onLongPressDetected,e)}}handleMoveOutside(){this.props.delayPressOut?this.pressOutTimeout=this.pressOutTimeout||setTimeout(()=>{this.moveToState(_e.MOVED_OUTSIDE),this.pressOutTimeout=null},this.props.delayPressOut):this.moveToState(_e.MOVED_OUTSIDE)}handleGoToUndetermined(){clearTimeout(this.pressOutTimeout),this.props.delayPressOut?this.pressOutTimeout=setTimeout(()=>{this.STATE===_e.UNDETERMINED&&this.moveToState(_e.BEGAN),this.moveToState(_e.UNDETERMINED),this.pressOutTimeout=null},this.props.delayPressOut):(this.STATE===_e.UNDETERMINED&&this.moveToState(_e.BEGAN),this.moveToState(_e.UNDETERMINED))}componentDidMount(){this.reset()}reset(){this.longPressDetected=!1,this.pointerInside=!0,clearTimeout(this.pressInTimeout),clearTimeout(this.pressOutTimeout),clearTimeout(this.longPressTimeout),this.pressOutTimeout=null,this.longPressTimeout=null,this.pressInTimeout=null}moveToState(e){var n,r;if(e!==this.STATE){if(e===_e.BEGAN){var i,a;(i=(a=this.props).onPressIn)===null||i===void 0||i.call(a)}else if(e===_e.MOVED_OUTSIDE){var s,o;(s=(o=this.props).onPressOut)===null||s===void 0||s.call(o)}else if(e===_e.UNDETERMINED&&(this.reset(),this.STATE===_e.BEGAN)){var l,u;(l=(u=this.props).onPressOut)===null||l===void 0||l.call(u)}(n=(r=this.props).onStateChange)===null||n===void 0||n.call(r,this.STATE,e),this.STATE=e}}componentWillUnmount(){this.reset()}onMoveIn(){this.STATE===_e.MOVED_OUTSIDE&&this.moveToState(_e.BEGAN)}onMoveOut(){clearTimeout(this.longPressTimeout),this.longPressTimeout=null,this.STATE===_e.BEGAN&&this.handleMoveOutside()}render(){var e,n;const r=(e=typeof this.props.hitSlop=="number"?{top:this.props.hitSlop,left:this.props.hitSlop,bottom:this.props.hitSlop,right:this.props.hitSlop}:this.props.hitSlop)!==null&&e!==void 0?e:void 0,i={accessible:this.props.accessible!==!1,accessibilityLabel:this.props.accessibilityLabel,accessibilityHint:this.props.accessibilityHint,accessibilityRole:this.props.accessibilityRole,accessibilityState:this.props.accessibilityState,accessibilityActions:this.props.accessibilityActions,onAccessibilityAction:this.props.onAccessibilityAction,nativeID:this.props.nativeID,onLayout:this.props.onLayout};return b.createElement(Du,Ho({style:this.props.containerStyle,onHandlerStateChange:this.props.disabled?void 0:this.onHandlerStateChange,onGestureEvent:this.onGestureEvent,hitSlop:r,userSelect:this.props.userSelect,shouldActivateOnStart:this.props.shouldActivateOnStart,disallowInterruption:this.props.disallowInterruption,testID:this.props.testID,touchSoundDisabled:(n=this.props.touchSoundDisabled)!==null&&n!==void 0?n:!1,enabled:!this.props.disabled},this.props.extraButtonProps),b.createElement(ce.View,Ho({},i,{style:this.props.style}),this.props.children))}}un(li,"defaultProps",{delayLongPress:600,extraButtonProps:{rippleColor:"transparent",exclusive:!0}});function l0(){return l0=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},l0.apply(this,arguments)}const CA=b.forwardRef((t,e)=>b.createElement(li,l0({ref:e},t)));CA.defaultProps=li.defaultProps;function u0(){return u0=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u0.apply(this,arguments)}function Va(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class rE extends b.Component{constructor(...e){super(...e),Va(this,"getChildStyleOpacityWithDefault",()=>{const n=ve.flatten(this.props.style)||{};return n.opacity==null?1:n.opacity.valueOf()}),Va(this,"opacity",new ce.Value(this.getChildStyleOpacityWithDefault())),Va(this,"setOpacityTo",(n,r)=>{var i;ce.timing(this.opacity,{toValue:n,duration:r,easing:VA.inOut(VA.quad),useNativeDriver:(i=this.props.useNativeAnimations)!==null&&i!==void 0?i:!0}).start()}),Va(this,"onStateChange",(n,r)=>{r===_e.BEGAN?this.setOpacityTo(this.props.activeOpacity,0):(r===_e.UNDETERMINED||r===_e.MOVED_OUTSIDE)&&this.setOpacityTo(this.getChildStyleOpacityWithDefault(),150)})}render(){const{style:e={},...n}=this.props;return b.createElement(li,u0({},n,{style:[e,{opacity:this.opacity}],onStateChange:this.onStateChange}),this.props.children?this.props.children:b.createElement(ge,null))}}Va(rE,"defaultProps",{...li.defaultProps,activeOpacity:.2});function c0(){return c0=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},c0.apply(this,arguments)}function Ha(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class iE extends b.Component{constructor(e){super(e),Ha(this,"showUnderlay",()=>{var n,r;this.hasPressHandler()&&(this.setState({extraChildStyle:{opacity:this.props.activeOpacity},extraUnderlayStyle:{backgroundColor:this.props.underlayColor}}),(n=(r=this.props).onShowUnderlay)===null||n===void 0||n.call(r))}),Ha(this,"hasPressHandler",()=>this.props.onPress||this.props.onPressIn||this.props.onPressOut||this.props.onLongPress),Ha(this,"hideUnderlay",()=>{var n,r;this.setState({extraChildStyle:null,extraUnderlayStyle:null}),(n=(r=this.props).onHideUnderlay)===null||n===void 0||n.call(r)}),Ha(this,"onStateChange",(n,r)=>{r===_e.BEGAN?this.showUnderlay():(r===_e.UNDETERMINED||r===_e.MOVED_OUTSIDE)&&this.hideUnderlay()}),this.state={extraChildStyle:null,extraUnderlayStyle:null}}renderChildren(){if(!this.props.children)return b.createElement(ge,null);const e=b.Children.only(this.props.children);return b.cloneElement(e,{style:ve.compose(e.props.style,this.state.extraChildStyle)})}render(){const{style:e={},...n}=this.props,{extraUnderlayStyle:r}=this.state;return b.createElement(li,c0({},n,{style:[e,r],onStateChange:this.onStateChange}),this.renderChildren())}}Ha(iE,"defaultProps",{...li.defaultProps,activeOpacity:.85,delayPressOut:100,underlayColor:"black"});function d0(){return d0=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},d0.apply(this,arguments)}const aE=ia(Ji,{disallowInterruption:!1}),FP=ia(Nx,{shouldCancelWhenOutside:!1,shouldActivateOnStart:!0,disallowInterruption:!0}),kP=ia(D0),MP=()=>(console.warn("DrawerLayoutAndroid is not supported on web!"),b.createElement(ge,null)),BP=ia(ge),NP=b.forwardRef((t,e)=>b.createElement(Bv,d0({ref:e},t,{renderScrollComponent:n=>b.createElement(aE,n)})));function A0(){return A0=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},A0.apply(this,arguments)}function qe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const Dh=.05;class sE extends b.Component{constructor(e){super(e),qe(this,"onGestureEvent",void 0),qe(this,"transX",void 0),qe(this,"showLeftAction",void 0),qe(this,"leftActionTranslate",void 0),qe(this,"showRightAction",void 0),qe(this,"rightActionTranslate",void 0),qe(this,"updateAnimatedEvent",(r,i)=>{const{friction:a,overshootFriction:s}=r,{dragX:o,rowTranslation:l,leftWidth:u=0,rowWidth:c=0}=i,{rightOffset:A=c}=i,d=Math.max(0,c-A),{overshootLeft:f=u>0,overshootRight:p=d>0}=r,h=ce.add(l,o.interpolate({inputRange:[0,a],outputRange:[0,1]})).interpolate({inputRange:[-d-1,-d,u,u+1],outputRange:[-d-(p?1/s:0),-d,u,u+(f?1/s:0)]});this.transX=h,this.showLeftAction=u>0?h.interpolate({inputRange:[-1,0,u],outputRange:[0,0,1]}):new ce.Value(0),this.leftActionTranslate=this.showLeftAction.interpolate({inputRange:[0,Number.MIN_VALUE],outputRange:[-1e4,0],extrapolate:"clamp"}),this.showRightAction=d>0?h.interpolate({inputRange:[-d,0,1],outputRange:[1,0,0]}):new ce.Value(0),this.rightActionTranslate=this.showRightAction.interpolate({inputRange:[0,Number.MIN_VALUE],outputRange:[-1e4,0],extrapolate:"clamp"})}),qe(this,"onTapHandlerStateChange",({nativeEvent:r})=>{r.oldState===L.ACTIVE&&this.close()}),qe(this,"onHandlerStateChange",r=>{if(r.nativeEvent.oldState===L.ACTIVE&&this.handleRelease(r),r.nativeEvent.state===L.ACTIVE){const{velocityX:l,translationX:u}=r.nativeEvent,{rowState:c}=this.state,{friction:A}=this.props,d=(u+Dh*l)/A,f=c===-1?"right":c===1||d>0?"left":"right";if(c===0){var i,a;(i=(a=this.props).onSwipeableOpenStartDrag)===null||i===void 0||i.call(a,f)}else{var s,o;(s=(o=this.props).onSwipeableCloseStartDrag)===null||s===void 0||s.call(o,f)}}}),qe(this,"handleRelease",r=>{const{velocityX:i,translationX:a}=r.nativeEvent,{leftWidth:s=0,rowWidth:o=0,rowState:l}=this.state,{rightOffset:u=o}=this.state,c=o-u,{friction:A,leftThreshold:d=s/2,rightThreshold:f=c/2}=this.props,p=this.currentOffset()+a/A,h=(a+Dh*i)/A;let v=0;l===0?h>d?v=s:h<-f&&(v=-c):l===1?h>-d&&(v=s):h<f&&(v=-c),this.animateRow(p,v,i/A)}),qe(this,"animateRow",(r,i,a)=>{const{dragX:s,rowTranslation:o}=this.state;if(s.setValue(0),o.setValue(r),this.setState({rowState:Math.sign(i)}),ce.spring(o,{restSpeedThreshold:1.7,restDisplacementThreshold:.4,velocity:a,bounciness:0,toValue:i,useNativeDriver:this.props.useNativeAnimations,...this.props.animationOptions}).start(({finished:C})=>{if(C)if(i>0){var m,g,y,x;(m=(g=this.props).onSwipeableLeftOpen)===null||m===void 0||m.call(g),(y=(x=this.props).onSwipeableOpen)===null||y===void 0||y.call(x,"left",this)}else if(i<0){var w,S,D,I;(w=(S=this.props).onSwipeableRightOpen)===null||w===void 0||w.call(S),(D=(I=this.props).onSwipeableOpen)===null||D===void 0||D.call(I,"right",this)}else{var _,O;const T=r>0?"left":"right";(_=(O=this.props).onSwipeableClose)===null||_===void 0||_.call(O,T,this)}}),i>0){var l,u,c,A;(l=(u=this.props).onSwipeableLeftWillOpen)===null||l===void 0||l.call(u),(c=(A=this.props).onSwipeableWillOpen)===null||c===void 0||c.call(A,"left")}else if(i<0){var d,f,p,h;(d=(f=this.props).onSwipeableRightWillOpen)===null||d===void 0||d.call(f),(p=(h=this.props).onSwipeableWillOpen)===null||p===void 0||p.call(h,"right")}else{var v,E;const C=r>0?"left":"right";(v=(E=this.props).onSwipeableWillClose)===null||v===void 0||v.call(E,C)}}),qe(this,"onRowLayout",({nativeEvent:r})=>{this.setState({rowWidth:r.layout.width})}),qe(this,"currentOffset",()=>{const{leftWidth:r=0,rowWidth:i=0,rowState:a}=this.state,{rightOffset:s=i}=this.state,o=i-s;return a===1?r:a===-1?-o:0}),qe(this,"close",()=>{this.animateRow(this.currentOffset(),0)}),qe(this,"openLeft",()=>{const{leftWidth:r=0}=this.state;this.animateRow(this.currentOffset(),r)}),qe(this,"openRight",()=>{const{rowWidth:r=0}=this.state,{rightOffset:i=r}=this.state,a=r-i;this.animateRow(this.currentOffset(),-a)}),qe(this,"reset",()=>{const{dragX:r,rowTranslation:i}=this.state;r.setValue(0),i.setValue(0),this.setState({rowState:0})});const n=new ce.Value(0);this.state={dragX:n,rowTranslation:new ce.Value(0),rowState:0,leftWidth:void 0,rightOffset:void 0,rowWidth:void 0},this.updateAnimatedEvent(e,this.state),this.onGestureEvent=ce.event([{nativeEvent:{translationX:n}}],{useNativeDriver:e.useNativeAnimations})}shouldComponentUpdate(e,n){return(this.props.friction!==e.friction||this.props.overshootLeft!==e.overshootLeft||this.props.overshootRight!==e.overshootRight||this.props.overshootFriction!==e.overshootFriction||this.state.leftWidth!==n.leftWidth||this.state.rightOffset!==n.rightOffset||this.state.rowWidth!==n.rowWidth)&&this.updateAnimatedEvent(e,n),!0}render(){const{rowState:e}=this.state,{children:n,renderLeftActions:r,renderRightActions:i,dragOffsetFromLeftEdge:a=10,dragOffsetFromRightEdge:s=10}=this.props,o=r&&b.createElement(ce.View,{style:[Ec.leftActions,{transform:[{translateX:this.leftActionTranslate}]}]},r(this.showLeftAction,this.transX,this),b.createElement(ge,{onLayout:({nativeEvent:u})=>this.setState({leftWidth:u.layout.x})})),l=i&&b.createElement(ce.View,{style:[Ec.rightActions,{transform:[{translateX:this.rightActionTranslate}]}]},i(this.showRightAction,this.transX,this),b.createElement(ge,{onLayout:({nativeEvent:u})=>this.setState({rightOffset:u.layout.x})}));return b.createElement(gA,A0({activeOffsetX:[-s,a],touchAction:"pan-y"},this.props,{onGestureEvent:this.onGestureEvent,onHandlerStateChange:this.onHandlerStateChange}),b.createElement(ce.View,{onLayout:this.onRowLayout,style:[Ec.container,this.props.containerStyle]},o,l,b.createElement(vA,{enabled:e!==0,touchAction:"pan-y",onHandlerStateChange:this.onTapHandlerStateChange},b.createElement(ce.View,{pointerEvents:e===0?"auto":"box-only",style:[{transform:[{translateX:this.transX}]},this.props.childrenContainerStyle]},n))))}}qe(sE,"defaultProps",{friction:1,overshootFriction:1,useNativeAnimations:!0});const Ec=ve.create({container:{overflow:"hidden"},leftActions:{...ve.absoluteFillObject,flexDirection:gd.isRTL?"row-reverse":"row"},rightActions:{...ve.absoluteFillObject,flexDirection:gd.isRTL?"row":"row-reverse"}}),Oh=t=>({left:t,right:t,top:t,bottom:t}),GP=(t,e)=>{var n,r,i,a,s,o,l,u;return{left:((n=t.left)!==null&&n!==void 0?n:0)+((r=e.left)!==null&&r!==void 0?r:0),right:((i=t.right)!==null&&i!==void 0?i:0)+((a=e.right)!==null&&a!==void 0?a:0),top:((s=t.top)!==null&&s!==void 0?s:0)+((o=e.top)!==null&&o!==void 0?o:0),bottom:((l=t.bottom)!==null&&l!==void 0?l:0)+((u=e.bottom)!==null&&u!==void 0?u:0)}},Th=(t,e,n)=>({identifier:t.id,locationX:t.x,locationY:t.y,pageX:t.absoluteX,pageY:t.absoluteY,target:n,timestamp:e,touches:[],changedTouches:[]}),LP=(t,e,n)=>({identifier:t.handlerTag,locationX:t.x,locationY:t.y,pageX:t.absoluteX,pageY:t.absoluteY,target:n,timestamp:e,touches:[],changedTouches:[]}),VP=(t,e,n)=>{var r,i,a,s,o,l,u,c;return((r=n==null?void 0:n.x)!==null&&r!==void 0?r:0)<((i=e.right)!==null&&i!==void 0?i:0)+t.width&&((a=n==null?void 0:n.y)!==null&&a!==void 0?a:0)<((s=e.bottom)!==null&&s!==void 0?s:0)+t.height&&((o=n==null?void 0:n.x)!==null&&o!==void 0?o:0)>-((l=e.left)!==null&&l!==void 0?l:0)&&((u=n==null?void 0:n.y)!==null&&u!==void 0?u:0)>-((c=e.top)!==null&&c!==void 0?c:0)},Ys=t=>{const e=Date.now(),n=0,r=LP(t,e,n);return{nativeEvent:{touches:[r],changedTouches:[r],identifier:r.identifier,locationX:t.x,locationY:t.y,pageX:t.absoluteX,pageY:t.absoluteY,target:n,timestamp:e,force:void 0}}},Mr=t=>{var e,n,r,i,a,s,o,l;const u=Date.now(),c=0,A=t.allTouches.map(f=>Th(f,u,c)),d=t.changedTouches.map(f=>Th(f,u,c));return{nativeEvent:{touches:A,changedTouches:d,identifier:t.handlerTag,locationX:(e=(n=t.allTouches.at(0))===null||n===void 0?void 0:n.x)!==null&&e!==void 0?e:-1,locationY:(r=(i=t.allTouches.at(0))===null||i===void 0?void 0:i.y)!==null&&r!==void 0?r:-1,pageX:(a=(s=t.allTouches.at(0))===null||s===void 0?void 0:s.absoluteX)!==null&&a!==void 0?a:-1,pageY:(o=(l=t.allTouches.at(0))===null||l===void 0?void 0:l.absoluteY)!==null&&o!==void 0?o:-1,target:c,timestamp:u,force:void 0}}},HP=new Set(["alignContent","alignItems","flexBasis","flexDirection","flexWrap","rowGap","gap","columnGap","justifyContent","overflow","padding","paddingBottom","paddingEnd","paddingHorizontal","paddingLeft","paddingRight","paddingStart","paddingTop","paddingVertical","start","end","direction"]),UP=t=>{const e={},n={};for(const r in t)HP.has(r)?n[r]=t[r]:e[r]=t[r];return[n,e]};function f0(){return f0=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},f0.apply(this,arguments)}const WP=500;function XP(t){var e,n;const{testOnly_pressed:r,hitSlop:i,pressRetentionOffset:a,delayHoverIn:s,onHoverIn:o,delayHoverOut:l,onHoverOut:u,delayLongPress:c,unstable_pressDelay:A,onPress:d,onPressIn:f,onPressOut:p,onLongPress:h,style:v,children:E,android_disableSound:C,android_ripple:m,disabled:g,...y}=t,[x,w]=b.useState(r??!1),S=b.useRef(null),D=b.useRef(!0),I=b.useRef(!1),_=b.useRef(!1),O=b.useMemo(()=>typeof i=="number"?Oh(i):i??{},[i]),T=b.useMemo(()=>typeof a=="number"?Oh(a):a??{},[a]),R=b.useRef(null),P=b.useRef(null),F=b.useMemo(()=>La.Hover().manualActivation(!0).cancelsTouchesInView(!1).onBegin(ne=>{if(P.current&&clearTimeout(P.current),s){R.current=setTimeout(()=>o==null?void 0:o(Ys(ne)),s);return}o==null||o(Ys(ne))}).onFinalize(ne=>{if(R.current&&clearTimeout(R.current),l){P.current=setTimeout(()=>u==null?void 0:u(Ys(ne)),l);return}u==null||u(Ys(ne))}),[s,l,o,u]),H=b.useRef(null),M=b.useRef(!1),V=b.useRef(null),W=b.useCallback(ne=>{G.current&&(V.current=ne),M.current&&(V.current=null,f==null||f(ne),D.current=!0,H.current=null,w(!0))},[f]),B=b.useCallback(ne=>{!I.current||ne.nativeEvent.touches.length>ne.nativeEvent.changedTouches.length||(A&&H.current!==null&&(clearTimeout(H.current),W(ne)),V.current&&(f==null||f(V.current),V.current=null),p==null||p(ne),D.current&&(d==null||d(ne)),z.current&&(clearTimeout(z.current),z.current=null),M.current=!1,I.current=!1,D.current=!0,w(!1))},[d,f,p,W,A]),G=b.useRef(!1),N=b.useRef(null),k=b.useRef(!1),U=b.useCallback(ne=>{M.current&&(I.current&&(h==null||h(Mr(ne)),D.current=!1),z.current&&(clearTimeout(z.current),z.current=null))},[h]),z=b.useRef(null),K=(c??WP)+(A??0),Y=b.useMemo(()=>La.LongPress().minDuration(jf).maxDistance(jf).cancelsTouchesInView(!1).onTouchesDown(ne=>{var le;G.current=!0,(le=S.current)===null||le===void 0||le.measure((ft,Tt,xt,Je)=>{var rt;if(!VP({width:xt,height:Je},O,ne.changedTouches.at(-1))||I.current||k.current){k.current=!1,N.current=null,G.current=!1;return}I.current=!0,z.current===null&&(z.current=setTimeout(()=>U(ne),K)),A?H.current=setTimeout(()=>{W(Mr(ne))},A):W(Mr(ne)),(rt=N.current)===null||rt===void 0||rt.call(N),N.current=null,G.current=!1})}).onTouchesUp(ne=>{if(G.current){N.current=()=>B(Mr(ne));return}V.current!==null&&(_.current=!0),B(Mr(ne))}).onTouchesCancelled(ne=>{if(D.current=!1,G.current){k.current=!0,N.current=()=>B(Mr(ne));return}!I.current||ne.allTouches.length>ne.changedTouches.length||B(Mr(ne))}),[U,K,O,W,B,A]),ee=b.useMemo(()=>La.Native().onBegin(()=>{ue.OS==="android"&&(M.current=!0)}).onStart(()=>{if(ue.OS==="web"&&(M.current=!0),ue.OS==="ios"){if(V.current){M.current=!0,I.current?(W(V.current),V.current=null):(B(V.current),M.current=!1);return}if(I.current){M.current=!0;return}if(_.current){_.current=!1;return}M.current=!0}}),[W,B]),te=GP(O,T),re=g!==!0,Q=[Y,F,ee];for(const ne of Q)ne.enabled(re),ne.runOnJS(!0),ne.hitSlop(te),ne.shouldCancelWhenOutside(!1),ue.OS!=="web"&&ne.shouldCancelWhenOutside(!0);ee.hitSlop(O);const ae=La.Simultaneous(...Q),Ie=m?void 0:"transparent",we=ue.OS==="web"?{cursor:"pointer"}:{},Ce=typeof v=="function"?v({pressed:x}):v,Ee=typeof E=="function"?E({pressed:x}):E,Se=ve.flatten(Ce??{}),[Ge,Ze]=UP(Se);return xe.createElement(ge,f0({},y,{style:Ze}),xe.createElement(ZC,{gesture:ae},xe.createElement(mA,{ref:S,hitSlop:te,enabled:re,touchSoundDisabled:C??void 0,rippleColor:S0((e=m==null?void 0:m.color)!==null&&e!==void 0?e:Ie),rippleRadius:(n=m==null?void 0:m.radius)!==null&&n!==void 0?n:void 0,style:[{width:"100%",height:"100%"},we,Ge]},Ee,null)))}function Ve(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const YP=.05,ya="Idle",xc="Dragging",Ph="Settling";class EA extends b.Component{constructor(e){super(e),Ve(this,"openValue",void 0),Ve(this,"onGestureEvent",void 0),Ve(this,"accessibilityIsModalView",b.createRef()),Ve(this,"pointerEventsView",b.createRef()),Ve(this,"panGestureHandler",b.createRef()),Ve(this,"drawerShown",!1),Ve(this,"updateAnimatedEvent",(a,s)=>{const{drawerPosition:o,drawerWidth:l,drawerType:u}=a,{dragX:c,touchX:A,drawerTranslation:d,containerWidth:f}=s;let p=c,h=A;o!=="left"?(p=ce.multiply(new ce.Value(-1),c),h=ce.add(new ce.Value(f),ce.multiply(new ce.Value(-1),A)),A.setValue(f)):A.setValue(0);let v=p;if(u==="front"){const m=ce.add(h,ce.multiply(new ce.Value(-1),p)).interpolate({inputRange:[l-1,l,l+1],outputRange:[0,0,1]});v=ce.add(p,m)}this.openValue=ce.add(v,d).interpolate({inputRange:[0,l],outputRange:[0,1],extrapolate:"clamp"});const E={useNativeDriver:a.useNativeAnimations};this.props.onDrawerSlide&&(E.listener=C=>{var m,g;const x=Math.floor(Math.abs(C.nativeEvent.translationX))/this.state.containerWidth;(m=(g=this.props).onDrawerSlide)===null||m===void 0||m.call(g,x)}),this.onGestureEvent=ce.event([{nativeEvent:{translationX:c,x:A}}],E)}),Ve(this,"handleContainerLayout",({nativeEvent:a})=>{this.setState({containerWidth:a.layout.width})}),Ve(this,"emitStateChanged",(a,s)=>{var o,l;(o=(l=this.props).onDrawerStateChanged)===null||o===void 0||o.call(l,a,s)}),Ve(this,"openingHandlerStateChange",({nativeEvent:a})=>{a.oldState===L.ACTIVE?this.handleRelease({nativeEvent:a}):a.state===L.ACTIVE&&(this.emitStateChanged(xc,!1),this.setState({drawerState:xc}),this.props.keyboardDismissMode==="on-drag"&&Mv.dismiss(),this.props.hideStatusBar&&GA.setHidden(!0,this.props.statusBarAnimation||"slide"))}),Ve(this,"onTapHandlerStateChange",({nativeEvent:a})=>{this.drawerShown&&a.oldState===L.ACTIVE&&this.props.drawerLockMode!=="locked-open"&&this.closeDrawer()}),Ve(this,"handleRelease",({nativeEvent:a})=>{const{drawerWidth:s,drawerPosition:o,drawerType:l}=this.props,{containerWidth:u}=this.state;let{translationX:c,velocityX:A,x:d}=a;o!=="left"&&(c=-c,d=u-d,A=-A);const f=d-c;let p=0;l==="front"&&(p=f>s?f-s:0);const h=c+p+(this.drawerShown?s:0);h+YP*A>s/2?this.animateDrawer(h,s,A):this.animateDrawer(h,0,A)}),Ve(this,"updateShowing",a=>{var s,o,l;this.drawerShown=a,(s=this.accessibilityIsModalView.current)===null||s===void 0||s.setNativeProps({accessibilityViewIsModal:a}),(o=this.pointerEventsView.current)===null||o===void 0||o.setNativeProps({pointerEvents:a?"auto":"none"});const{drawerPosition:u,minSwipeDistance:c,edgeWidth:A}=this.props,d=u==="left",f=(d?1:-1)*(this.drawerShown?-1:1),p=d?{left:0,width:a?void 0:A}:{right:0,width:a?void 0:A};(l=this.panGestureHandler.current)===null||l===void 0||l.setNativeProps({hitSlop:p,activeOffsetX:f*c})}),Ve(this,"animateDrawer",(a,s,o,l)=>{if(this.state.dragX.setValue(0),this.state.touchX.setValue(this.props.drawerPosition==="left"?0:this.state.containerWidth),a!=null){let c=a;this.props.useNativeAnimations&&(a<s&&o>0?c=Math.min(a+o/60,s):a>s&&o<0&&(c=Math.max(a+o/60,s))),this.state.drawerTranslation.setValue(c)}const u=s!==0;this.updateShowing(u),this.emitStateChanged(Ph,u),this.setState({drawerState:Ph}),this.props.hideStatusBar&&GA.setHidden(u,this.props.statusBarAnimation||"slide"),ce.spring(this.state.drawerTranslation,{velocity:o,bounciness:0,toValue:s,useNativeDriver:this.props.useNativeAnimations,speed:l??void 0}).start(({finished:c})=>{if(c)if(this.emitStateChanged(ya,u),this.setState({drawerOpened:u}),this.state.drawerState!==xc&&this.setState({drawerState:ya}),u){var A,d;(A=(d=this.props).onDrawerOpen)===null||A===void 0||A.call(d)}else{var f,p;(f=(p=this.props).onDrawerClose)===null||f===void 0||f.call(p)}})}),Ve(this,"openDrawer",(a={})=>{this.animateDrawer(void 0,this.props.drawerWidth,a.velocity?a.velocity:0,a.speed),this.forceUpdate()}),Ve(this,"closeDrawer",(a={})=>{this.animateDrawer(void 0,0,a.velocity?a.velocity:0,a.speed),this.forceUpdate()}),Ve(this,"renderOverlay",()=>{Do(this.openValue,"should be set");let a;this.state.drawerState!==ya?a=this.openValue:a=this.state.drawerOpened?1:0;const s={opacity:a,backgroundColor:this.props.overlayColor};return b.createElement(vA,{onHandlerStateChange:this.onTapHandlerStateChange},b.createElement(ce.View,{pointerEvents:this.drawerShown?"auto":"none",ref:this.pointerEventsView,style:[Ia.overlay,s]}))}),Ve(this,"renderDrawer",()=>{const{drawerBackgroundColor:a,drawerWidth:s,drawerPosition:o,drawerType:l,drawerContainerStyle:u,contentContainerStyle:c}=this.props,A=o==="left",d=l!=="back",f=l!=="front",p=gd.isRTL?A:!A,h={backgroundColor:a,width:s},v=this.openValue;Do(v,"should be set");let E;f&&(E={transform:[{translateX:v.interpolate({inputRange:[0,1],outputRange:A?[0,s]:[0,-s],extrapolate:"clamp"})}]});let C=0;if(d){const g=A?-s:s;this.state.drawerState!==ya?C=v.interpolate({inputRange:[0,1],outputRange:[g,0],extrapolate:"clamp"}):C=this.state.drawerOpened?0:g}const m={transform:[{translateX:C}],flexDirection:p?"row-reverse":"row"};return b.createElement(ce.View,{style:Ia.main,onLayout:this.handleContainerLayout},b.createElement(ce.View,{style:[l==="front"?Ia.containerOnBack:Ia.containerInFront,E,c],importantForAccessibility:this.drawerShown?"no-hide-descendants":"yes"},typeof this.props.children=="function"?this.props.children(this.openValue):this.props.children,this.renderOverlay()),b.createElement(ce.View,{pointerEvents:"box-none",ref:this.accessibilityIsModalView,accessibilityViewIsModal:this.drawerShown,style:[Ia.drawerContainer,m,u]},b.createElement(ge,{style:h},this.props.renderNavigationView(this.openValue))))}),Ve(this,"setPanGestureRef",a=>{var s,o;this.panGestureHandler.current=a,(s=(o=this.props).onGestureRef)===null||s===void 0||s.call(o,a)});const n=new ce.Value(0),r=new ce.Value(0),i=new ce.Value(0);this.state={dragX:n,touchX:r,drawerTranslation:i,containerWidth:0,drawerState:ya,drawerOpened:!1},this.updateAnimatedEvent(e,this.state)}shouldComponentUpdate(e,n){return(this.props.drawerPosition!==e.drawerPosition||this.props.drawerWidth!==e.drawerWidth||this.props.drawerType!==e.drawerType||this.state.containerWidth!==n.containerWidth)&&this.updateAnimatedEvent(e,n),!0}render(){const{drawerPosition:e,drawerLockMode:n,edgeWidth:r,minSwipeDistance:i}=this.props,a=e==="left",s=(a?1:-1)*(this.drawerShown?-1:1),o=a?{left:0,width:this.drawerShown?void 0:r}:{right:0,width:this.drawerShown?void 0:r};return b.createElement(gA,{userSelect:this.props.userSelect,activeCursor:this.props.activeCursor,mouseButton:this.props.mouseButton,enableContextMenu:this.props.enableContextMenu,ref:this.setPanGestureRef,hitSlop:o,activeOffsetX:s*i,failOffsetY:[-15,15],onGestureEvent:this.onGestureEvent,onHandlerStateChange:this.openingHandlerStateChange,enableTrackpadTwoFingerGesture:this.props.enableTrackpadTwoFingerGesture,enabled:n!=="locked-closed"&&n!=="locked-open"},this.renderDrawer())}}Ve(EA,"defaultProps",{drawerWidth:200,drawerPosition:"left",useNativeAnimations:!0,drawerType:"front",edgeWidth:20,minSwipeDistance:3,overlayColor:"rgba(0, 0, 0, 0.7)",drawerLockMode:"unlocked",enableTrackpadTwoFingerGesture:!1});Ve(EA,"positions",{Left:"left",Right:"right"});const Ia=ve.create({drawerContainer:{...ve.absoluteFillObject,zIndex:1001,flexDirection:"row"},containerInFront:{...ve.absoluteFillObject,zIndex:1002},containerOnBack:{...ve.absoluteFillObject},main:{flex:1,zIndex:0,overflow:"hidden"},overlay:{...ve.absoluteFillObject,zIndex:1e3}});p4();const zP=Object.freeze(Object.defineProperty({__proto__:null,BaseButton:Du,BorderlessButton:RP,Directions:Xr,DrawerLayout:EA,DrawerLayoutAndroid:MP,FlatList:NP,FlingGestureHandler:V4,ForceTouchGestureHandler:LC,Gesture:La,GestureDetector:ZC,GestureHandlerRootView:FC,get HoverEffect(){return i0},LongPressGestureHandler:P4,get MouseButton(){return fn},NativeViewGestureHandler:zC,PanGestureHandler:gA,PinchGestureHandler:B4,get PointerType(){return St},Pressable:XP,PureNativeButton:mA,RawButton:JC,RectButton:PP,RefreshControl:BP,RotationGestureHandler:G4,ScrollView:aE,State:L,Swipeable:sE,Switch:FP,TapGestureHandler:vA,TextInput:kP,TouchableHighlight:iE,TouchableNativeFeedback:yx,TouchableOpacity:rE,TouchableWithoutFeedback:CA,createNativeWrapper:ia,enableExperimentalWebImplementation:R2,enableLegacyWebImplementation:F2,gestureHandlerRootHOC:g4},Symbol.toStringTag,{value:"Module"})),oE=us(zP);var zs={},Rh;function KP(){if(Rh)return zs;Rh=1,Object.defineProperty(zs,"__esModule",{value:!0}),zs.useAutoPlay=r;var t=n(b);function e(i){if(typeof WeakMap!="function")return null;var a=new WeakMap,s=new WeakMap;return(e=function(l){return l?s:a})(i)}function n(i,a){if(i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var s=e(a);if(s&&s.has(i))return s.get(i);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=l?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(o,u,c):o[u]=i[u]}return o.default=i,s&&s.set(i,o),o}function r(i){var a=i.autoPlay,s=a===void 0?!1:a,o=i.autoPlayReverse,l=o===void 0?!1:o,u=i.autoPlayInterval,c=i.carouselController,A=c.prev,d=c.next,f=t.useRef(),p=t.useRef(!s),h=t.useCallback(function(){p.current||(f.current&&clearTimeout(f.current),f.current=setTimeout(function(){l?A({onFinished:h}):d({onFinished:h})},u))},[l,u,A,d]),v=t.useCallback(function(){s&&(f.current&&clearTimeout(f.current),p.current=!0)},[s]),E=t.useCallback(function(){s&&(p.current=!1,h())},[h,s]);return t.useEffect(function(){return s?E():v(),v},[v,E,s]),{pause:v,start:E}}return zs}var Ks={},or={},Fh;function xA(){if(Fh)return or;Fh=1,Object.defineProperty(or,"__esModule",{value:!0}),or.Easing=or.DATA_LENGTH=void 0;var t=Ot,e;or.DATA_LENGTH=e,function(r){r[r.SINGLE_ITEM=1]="SINGLE_ITEM",r[r.DOUBLE_ITEM=2]="DOUBLE_ITEM"}(e||(or.DATA_LENGTH=e={}));var n={easeOutQuart:t.Easing.bezier(.25,1,.5,1)};return or.Easing=n,or}var Dn={},kh;function Ou(){if(kh)return Dn;kh=1,Object.defineProperty(Dn,"__esModule",{value:!0}),Dn.computedFillDataWithAutoFillData=c,Dn.computedOffsetXValueWithAutoFillData=void 0,Dn.computedRealIndexWithAutoFillData=u,Dn.convertToSharedIndex=void 0;var t=xA(),e=t.DATA_LENGTH.SINGLE_ITEM,n=t.DATA_LENGTH.DOUBLE_ITEM,r={code:`function isAutoFillData(params) { +`;return function(){var i=new Error("get-stack-trace"),a=i&&i.stack?i.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",s=window.console&&(window.console.warn||window.console.log);return s&&s.call(window.console,r,a),t.apply(this,arguments)}}var PC=TC(function(t,e,n){for(var r=Object.keys(e),i=0;i<r.length;)(!n||n&&t[r[i]]===void 0)&&(t[r[i]]=e[r[i]]),i++;return t},"extend","Use `assign`."),JT=TC(function(t,e){return PC(t,e,!0)},"merge","Use `assign`.");function e4(t,e,n){var r=e.prototype,i;i=t.prototype=Object.create(r),i.constructor=t,i._super=r,n&&ti(i,n)}function yh(t,e){return function(){return t.apply(e,arguments)}}var oe=function(){var t=function(n,r){return r===void 0&&(r={}),new xh(n,tn({recognizers:mh.concat()},r))};return t.VERSION="2.0.17-rc",t.DIRECTION_ALL=hC,t.DIRECTION_DOWN=Wi,t.DIRECTION_LEFT=ps,t.DIRECTION_RIGHT=vs,t.DIRECTION_UP=gs,t.DIRECTION_HORIZONTAL=mn,t.DIRECTION_VERTICAL=Qr,t.DIRECTION_NONE=Go,t.DIRECTION_DOWN=Wi,t.INPUT_START=Et,t.INPUT_MOVE=si,t.INPUT_END=We,t.INPUT_CANCEL=Dt,t.STATE_POSSIBLE=vo,t.STATE_BEGAN=Kt,t.STATE_CHANGED=Xi,t.STATE_ENDED=gr,t.STATE_RECOGNIZED=Wn,t.STATE_CANCELLED=ss,t.STATE_FAILED=hn,t.Manager=xh,t.Input=ra,t.TouchAction=vC,t.TouchInput=dA,t.MouseInput=AA,t.PointerEventInput=yC,t.TouchMouseInput=IC,t.SingleTouchInput=QT,t.Recognizer=ms,t.AttrRecognizer=Yi,t.Tap=n0,t.Pan=fA,t.Swipe=SC,t.Pinch=bC,t.Rotate=_C,t.Press=DC,t.on=Ka,t.off=$a,t.each=Un,t.merge=JT,t.extend=PC,t.bindFn=yh,t.assign=ti,t.inherit=e4,t.bindFn=yh,t.prefixed=_u,t.toArray=as,t.inArray=ri,t.uniqueArray=cA,t.splitStr=is,t.boolOrFn=Du,t.hasParent=uA,t.addEventListeners=Ka,t.removeEventListeners=$a,t.defaults=ti({},OC,{preset:mh}),t}();const t4=240,n4=50,r4=.1,i4=7,a4=Math.PI/180,s4={[oe.INPUT_START]:L.BEGAN,[oe.INPUT_MOVE]:L.ACTIVE,[oe.INPUT_END]:L.END,[oe.INPUT_CANCEL]:L.FAILED},sr={RIGHT:1,LEFT:2,UP:4,DOWN:8},mr={};function Zr(t){if(t in mr)return mr[t];throw new Error(`No handler for tag ${t}`)}function o4(t,e){if(t in mr)throw new Error(`Handler with tag ${t} already exists`);mr[t]=e,mr[t].handlerTag=t}function l4(t){t in mr&&(Zr(t).destroy(),delete mr[t])}function u4(){return{...mr}}const ii=typeof setImmediate=="function"?setImmediate.bind(null):typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(null):queueMicrotask.bind(null);function Be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}let c4=0;class hA{get id(){return`${this.name}${this.gestureInstance}`}get isNative(){return!1}get isDiscrete(){return!1}get shouldEnableGestureOnSetup(){throw new Error("Must override GestureHandler.shouldEnableGestureOnSetup")}constructor(){Be(this,"handlerTag",void 0),Be(this,"isGestureRunning",!1),Be(this,"view",null),Be(this,"hasCustomActivationCriteria",void 0),Be(this,"hasGestureFailed",!1),Be(this,"hammer",null),Be(this,"initialRotation",null),Be(this,"__initialX",void 0),Be(this,"__initialY",void 0),Be(this,"config",{}),Be(this,"previousState",L.UNDETERMINED),Be(this,"pendingGestures",{}),Be(this,"oldState",L.UNDETERMINED),Be(this,"lastSentState",null),Be(this,"gestureInstance",void 0),Be(this,"_stillWaiting",void 0),Be(this,"propsRef",void 0),Be(this,"ref",void 0),Be(this,"clearSelfAsPending",()=>{if(Array.isArray(this.config.waitFor))for(const e of this.config.waitFor)e.removePendingGesture(this.id)}),Be(this,"destroy",()=>{this.clearSelfAsPending(),this.hammer&&(this.hammer.stop(!1),this.hammer.destroy()),this.hammer=null}),Be(this,"isPointInView",({x:e,y:n})=>{const r=this.view.getBoundingClientRect();return e>=r.left&&e<=r.right&&n>=r.top&&n<=r.bottom}),Be(this,"sendEvent",e=>{const{onGestureHandlerEvent:n,onGestureHandlerStateChange:r}=this.propsRef.current,i=this.transformEventData(e);r0(n,i),this.lastSentState!==i.nativeEvent.state&&(this.lastSentState=i.nativeEvent.state,r0(r,i))}),Be(this,"sync",()=>{const e=this.hammer.get(this.name);if(!e)return;const n=(i,a)=>{if(!this.config.enabled)return this.isGestureRunning=!1,this.hasGestureFailed=!1,!1;if(!a||!i.options||typeof a.maxPointers>"u")return this.shouldEnableGestureOnSetup;if(this.hasGestureFailed)return!1;if(!this.isDiscrete){if(this.isGestureRunning)return!0;if(this._stillWaiting=this._getPendingGestures(),this._stillWaiting.length){for(const u of this._stillWaiting)if(!u.isDiscrete&&u.isGestureRunning)return this.hasGestureFailed=!0,this.isGestureRunning=!1,!1;return!1}}if(!this.hasCustomActivationCriteria)return!0;const s=this.initialRotation==null?0:a.rotation-this.initialRotation,{success:o,failed:l}=this.isGestureEnabledForEvent(this.getConfig(),i,{...a,deltaRotation:s});return l&&(this.simulateCancelEvent(a),this.hasGestureFailed=!0),o},r=this.getHammerConfig();e.set({...r,enable:n})}),this.gestureInstance=c4++,this.hasCustomActivationCriteria=!1}getConfig(){return this.config}onWaitingEnded(e){}removePendingGesture(e){delete this.pendingGestures[e]}addPendingGesture(e){this.pendingGestures[e.id]=e}isGestureEnabledForEvent(e,n,r){return{success:!0}}get NativeGestureClass(){throw new Error("Must override GestureHandler.NativeGestureClass")}updateHasCustomActivationCriteria(e){return!0}updateGestureConfig({enabled:e=!0,...n}){if(this.clearSelfAsPending(),this.config=this.ensureConfig({enabled:e,...n}),this.hasCustomActivationCriteria=this.updateHasCustomActivationCriteria(this.config),Array.isArray(this.config.waitFor))for(const r of this.config.waitFor)r.addPendingGesture(this);return this.hammer&&this.sync(),this.config}getState(e){return e==0?0:s4[e]}transformEventData(e){const{eventType:n,maxPointers:r}=e,i=e.changedPointers[0],a=this.isPointInView({x:i.clientX,y:i.clientY}),s=this.getState(n);return s!==this.previousState&&(this.oldState=this.previousState,this.previousState=s),{nativeEvent:{numberOfPointers:r,state:s,pointerInside:a,...this.transformNativeEvent(e),handlerTag:this.handlerTag,target:this.ref,oldState:s!==this.previousState||s!=4?this.oldState:void 0},timeStamp:Date.now()}}transformNativeEvent(e){return{}}cancelPendingGestures(e){for(const n of Object.values(this.pendingGestures))n&&n.isGestureRunning&&(n.hasGestureFailed=!0,n.cancelEvent(e))}notifyPendingGestures(){for(const e of Object.values(this.pendingGestures))e&&e.onWaitingEnded(this)}onGestureEnded(e){this.isGestureRunning=!1,this.cancelPendingGestures(e)}forceInvalidate(e){this.isGestureRunning&&(this.hasGestureFailed=!0,this.cancelEvent(e))}cancelEvent(e){this.notifyPendingGestures(),this.sendEvent({...e,eventType:oe.INPUT_CANCEL,isFinal:!0}),this.onGestureEnded(e)}onRawEvent({isFirst:e}){e&&(this.hasGestureFailed=!1)}shouldUseTouchEvents(e){var n,r;return(n=(r=e.simultaneousHandlers)===null||r===void 0?void 0:r.some(i=>i.isNative))!==null&&n!==void 0?n:!1}setView(e,n){if(e==null){this.destroy(),this.view=null;return}const r="ontouchstart"in window;this.propsRef=n,this.ref=e,this.view=zt(e),this.hammer=r&&this.shouldUseTouchEvents(this.config)?new oe.Manager(this.view,{inputClass:oe.TouchInput}):new oe.Manager(this.view),this.oldState=L.UNDETERMINED,this.previousState=L.UNDETERMINED,this.lastSentState=null;const{NativeGestureClass:i}=this,a=new i(this.getHammerConfig());this.hammer.add(a),this.hammer.on("hammer.input",s=>{if(!this.config.enabled){this.hasGestureFailed=!1,this.isGestureRunning=!1;return}this.onRawEvent(s),this.initialRotation===null&&s.rotation!==0&&(this.initialRotation=s.rotation),s.isFinal&&setTimeout(()=>{this.initialRotation=null,this.hasGestureFailed=!1})}),this.setupEvents(),this.sync()}setupEvents(){this.isDiscrete||(this.hammer.on(`${this.name}start`,e=>this.onStart(e)),this.hammer.on(`${this.name}end ${this.name}cancel`,e=>{this.onGestureEnded(e)})),this.hammer.on(this.name,e=>this.onGestureActivated(e))}onStart({deltaX:e,deltaY:n,rotation:r}){this.oldState=L.UNDETERMINED,this.previousState=L.UNDETERMINED,this.lastSentState=null,this.isGestureRunning=!0,this.__initialX=e,this.__initialY=n,this.initialRotation=r}onGestureActivated(e){this.sendEvent(e)}onSuccess(){}_getPendingGestures(){return Array.isArray(this.config.waitFor)&&this.config.waitFor.length?this.config.waitFor.filter(({hasGestureFailed:n})=>n===!1):[]}getHammerConfig(){return{pointers:this.config.minPointers===this.config.maxPointers?this.config.minPointers:0}}simulateCancelEvent(e){}ensureConfig(e){const n={...e};if("minDist"in e&&(n.minDist=e.minDist,n.minDistSq=n.minDist*n.minDist),"minVelocity"in e&&(n.minVelocity=e.minVelocity,n.minVelocitySq=n.minVelocity*n.minVelocity),"maxDist"in e&&(n.maxDist=e.maxDist,n.maxDistSq=e.maxDist*e.maxDist),"waitFor"in e?n.waitFor=Ih(e.waitFor).map(({handlerTag:i})=>Zr(i)).filter(i=>i):n.waitFor=null,"simultaneousHandlers"in e){const i=this.shouldUseTouchEvents(this.config);n.simultaneousHandlers=Ih(e.simultaneousHandlers).map(a=>Zr(typeof a=="number"?a:a.handlerTag)).filter(a=>a),i!==this.shouldUseTouchEvents(n)&&ii(()=>{this.destroy(),this.setView(this.ref,this.propsRef)})}else n.simultaneousHandlers=null;return["minPointers","maxPointers","minDist","maxDist","maxDistSq","minVelocitySq","minDistSq","minVelocity","failOffsetXStart","failOffsetYStart","failOffsetXEnd","failOffsetYEnd","activeOffsetXStart","activeOffsetXEnd","activeOffsetYStart","activeOffsetYEnd"].forEach(i=>{typeof n[i]>"u"&&(n[i]=Number.NaN)}),n}}function r0(t,e){if(t){if(typeof t=="function")t(e);else if("__getHandler"in t&&typeof t.__getHandler=="function"){const n=t.__getHandler();r0(n,e)}else if("__nodeConfig"in t){const{argMapping:n}=t.__nodeConfig;if(Array.isArray(n)){for(const[r,[i,a]]of n.entries())if(i in e.nativeEvent){const s=e.nativeEvent[i];a&&a.setValue?a.setValue(s):t.__nodeConfig.argMapping[r]=[i,s]}}}}}function Ih(t){return t==null?[]:Array.isArray(t)?t:[t]}const Ne=t=>Number.isNaN(t),cn=t=>typeof t=="number"&&!Number.isNaN(t),Ga=(t,e)=>!Ne(e)&&(e<0&&t<=e||e>=0&&t>=e),i0=({x:t=0,y:e=0}={})=>t*t+e*e,oc=(t,e)=>!Ne(e)&&(e<0&&t<e||e>=0&&t>e);function wh(t,e){return e?setTimeout(()=>t(),e):(t(),null)}class pA extends hA{get isDiscrete(){return!0}get shouldEnableGestureOnSetup(){return!0}shouldFailUnderCustomCriteria({x:e,y:n,deltaX:r,deltaY:i},{maxDeltaX:a,maxDeltaY:s,maxDistSq:o,shouldCancelWhenOutside:l}){return l&&!this.isPointInView({x:e,y:n})?!0:oc(Math.abs(r),a)||oc(Math.abs(i),s)||oc(Math.abs(i*i+r*r),o)}transformNativeEvent({center:{x:e,y:n}}){const r=this.view.getBoundingClientRect();return{absoluteX:e,absoluteY:n,x:e-r.left,y:n-r.top}}isGestureEnabledForEvent({minPointers:e,maxPointers:n,maxDeltaX:r,maxDeltaY:i,maxDistSq:a,shouldCancelWhenOutside:s},o,{maxPointers:l,center:u,deltaX:c,deltaY:A}){const d=l>=e&&l<=n;return this.shouldFailUnderCustomCriteria({...u,deltaX:c,deltaY:A},{maxDeltaX:r,maxDeltaY:i,maxDistSq:a,shouldCancelWhenOutside:s})||!d&&this.isGestureRunning?{failed:!0}:{success:d}}}function lc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class RC extends pA{constructor(...e){super(...e),lc(this,"visualFeedbackTimer",void 0),lc(this,"initialEvent",null),lc(this,"shouldDelayTouches",!0)}get name(){return"press"}get minDurationMs(){return Ne(this.config.minDurationMs)?5:this.config.minDurationMs}get maxDist(){return Ne(this.config.maxDist)?9:this.config.maxDist}get NativeGestureClass(){return oe.Press}simulateCancelEvent(e){this.hasGestureFailed=!0,this.cancelEvent(e)}updateHasCustomActivationCriteria({shouldCancelWhenOutside:e,maxDistSq:n}){return e||!cn(n)}getState(e){return{[oe.INPUT_START]:L.BEGAN,[oe.INPUT_MOVE]:L.ACTIVE,[oe.INPUT_END]:L.END,[oe.INPUT_CANCEL]:L.CANCELLED}[e]}getConfig(){return this.hasCustomActivationCriteria?this.config:{shouldCancelWhenOutside:!0,maxDistSq:10}}getHammerConfig(){return{...super.getHammerConfig(),time:this.minDurationMs}}onGestureActivated(e){this.onGestureStart(e)}shouldDelayTouchForEvent({pointerType:e}){return this.shouldDelayTouches&&e==="touch"}onGestureStart(e){this.isGestureRunning=!0,clearTimeout(this.visualFeedbackTimer),this.initialEvent=e,this.visualFeedbackTimer=wh(()=>{this.sendGestureStartedEvent(this.initialEvent),this.initialEvent=null},this.shouldDelayTouchForEvent(e)&&t4)}sendGestureStartedEvent(e){clearTimeout(this.visualFeedbackTimer),this.visualFeedbackTimer=null,this.sendEvent({...e,eventType:oe.INPUT_MOVE,isFirst:!0})}forceInvalidate(e){super.forceInvalidate(e),clearTimeout(this.visualFeedbackTimer),this.visualFeedbackTimer=null,this.initialEvent=null}onRawEvent(e){if(super.onRawEvent(e),this.isGestureRunning)if(e.isFinal){let n;this.visualFeedbackTimer&&(n=n4,this.sendGestureStartedEvent(this.initialEvent),this.initialEvent=null),wh(()=>{this.sendEvent({...e,eventType:oe.INPUT_END,isFinal:!0}),this.onGestureEnded()},n)}else this.sendEvent({...e,eventType:oe.INPUT_MOVE,isFinal:!1})}updateGestureConfig({shouldActivateOnStart:e=!1,disallowInterruption:n=!1,shouldCancelWhenOutside:r=!0,minDurationMs:i=Number.NaN,maxDist:a=Number.NaN,minPointers:s=1,maxPointers:o=1,...l}){return super.updateGestureConfig({shouldActivateOnStart:e,disallowInterruption:n,shouldCancelWhenOutside:r,minDurationMs:i,maxDist:a,minPointers:s,maxPointers:o,...l})}}let d4=class extends RC{get isNative(){return!0}onRawEvent(e){if(super.onRawEvent(e),!e.isFinal&&Ga(i0({x:e.deltaX,y:e.deltaY}),10)&&this.config.disallowInterruption){const n=Object.values(u4()).filter(r=>{const{handlerTag:i,view:a,isGestureRunning:s}=r;return i!==this.handlerTag&&s&&r instanceof pA&&a&&this.view.contains(a)});for(const r of n)r.forceInvalidate(e)}}};class FC extends hA{get shouldEnableGestureOnSetup(){return!0}transformNativeEvent({deltaX:e,deltaY:n,velocityX:r,velocityY:i,center:{x:a,y:s}}){const o=this.view.getBoundingClientRect(),l=Vx.get();return{translationX:e-(this.__initialX||0),translationY:n-(this.__initialY||0),absoluteX:a,absoluteY:s,velocityX:r*l,velocityY:i*l,x:a-o.left,y:s-o.top}}}let A4=class extends FC{get name(){return"pan"}get NativeGestureClass(){return oe.Pan}getHammerConfig(){return{...super.getHammerConfig(),direction:this.getDirection()}}getState(e){const n=super.getState(e);return this.previousState===L.UNDETERMINED&&n===L.ACTIVE?L.BEGAN:n}getDirection(){const e=this.getConfig(),{activeOffsetXStart:n,activeOffsetXEnd:r,activeOffsetYStart:i,activeOffsetYEnd:a,minDist:s}=e;let o=[],l=[];if(!Ne(s))return oe.DIRECTION_ALL;Ne(n)||l.push(oe.DIRECTION_LEFT),Ne(r)||l.push(oe.DIRECTION_RIGHT),l.length===2&&(l=[oe.DIRECTION_HORIZONTAL]),o=o.concat(l);let u=[];return Ne(i)||u.push(oe.DIRECTION_UP),Ne(a)||u.push(oe.DIRECTION_DOWN),u.length===2&&(u=[oe.DIRECTION_VERTICAL]),o=o.concat(u),o.length?o[0]===oe.DIRECTION_HORIZONTAL&&o[1]===oe.DIRECTION_VERTICAL||l.length&&u.length?oe.DIRECTION_ALL:o[0]:oe.DIRECTION_NONE}getConfig(){return this.hasCustomActivationCriteria?this.config:{minDistSq:10}}shouldFailUnderCustomCriteria({deltaX:e,deltaY:n},r){return!Ne(r.failOffsetXStart)&&e<r.failOffsetXStart||!Ne(r.failOffsetXEnd)&&e>r.failOffsetXEnd||!Ne(r.failOffsetYStart)&&n<r.failOffsetYStart||!Ne(r.failOffsetYEnd)&&n>r.failOffsetYEnd}shouldActivateUnderCustomCriteria({deltaX:e,deltaY:n,velocity:r},i){return!Ne(i.activeOffsetXStart)&&e<i.activeOffsetXStart||!Ne(i.activeOffsetXEnd)&&e>i.activeOffsetXEnd||!Ne(i.activeOffsetYStart)&&n<i.activeOffsetYStart||!Ne(i.activeOffsetYEnd)&&n>i.activeOffsetYEnd||Ga(i0({x:e,y:n}),i.minDistSq)||Ga(r.x,i.minVelocityX)||Ga(r.y,i.minVelocityY)||Ga(i0(r),i.minVelocitySq)}shouldMultiFingerPanFail({pointerLength:e,scale:n,deltaRotation:r}){if(e<=1)return!1;const i=Math.abs(n-1),a=Math.abs(r);return i>r4||a>i4}updateHasCustomActivationCriteria(e){return cn(e.minDistSq)||cn(e.minVelocityX)||cn(e.minVelocityY)||cn(e.minVelocitySq)||cn(e.activeOffsetXStart)||cn(e.activeOffsetXEnd)||cn(e.activeOffsetYStart)||cn(e.activeOffsetYEnd)}isGestureEnabledForEvent(e,n,r){if(this.shouldFailUnderCustomCriteria(r,e))return{failed:!0};const i={x:r.velocityX,y:r.velocityY};return this.hasCustomActivationCriteria&&this.shouldActivateUnderCustomCriteria({deltaX:r.deltaX,deltaY:r.deltaY,velocity:i},e)?this.shouldMultiFingerPanFail({pointerLength:r.maxPointers,scale:r.scale,deltaRotation:r.deltaRotation})?{failed:!0}:{success:!0}:{success:!1}}};function Ws(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}let f4=class extends pA{constructor(...e){super(...e),Ws(this,"_shouldFireEndEvent",null),Ws(this,"_timer",void 0),Ws(this,"_multiTapTimer",void 0),Ws(this,"onSuccessfulTap",n=>{if(this._getPendingGestures().length){this._shouldFireEndEvent=n;return}n.eventType===oe.INPUT_END&&this.sendEvent({...n,eventType:oe.INPUT_MOVE}),this.sendEvent({...n,isFinal:!0}),this.onGestureEnded(n)})}get name(){return"tap"}get NativeGestureClass(){return oe.Tap}get maxDelayMs(){return Ne(this.config.maxDelayMs)?300:this.config.maxDelayMs}simulateCancelEvent(e){this.isGestureRunning&&this.cancelEvent(e)}onGestureActivated(e){this.isGestureRunning&&this.onSuccessfulTap(e)}onRawEvent(e){if(super.onRawEvent(e),!this.hasGestureFailed&&!this.isGestureRunning&&!e.isFinal){const n=this.hammer.get(this.name);n.options.enable(n,e)&&(clearTimeout(this._multiTapTimer),this.onStart(e),this.sendEvent(e))}if(e.isFinal&&e.maxPointers>1&&setTimeout(()=>{this.isGestureRunning&&this.cancelEvent(e)}),!this.hasGestureFailed){if(e.isFinal)e.maxPointers>1&&setTimeout(()=>{this.isGestureRunning&&this.cancelEvent(e)}),clearTimeout(this._timer),this._timer=setTimeout(()=>{this.hasGestureFailed=!0,this.cancelEvent(e)},this.maxDelayMs);else if(!this.hasGestureFailed&&!this.isGestureRunning){const n=this.hammer.get(this.name);n.options.enable(n,e)&&(clearTimeout(this._multiTapTimer),this.onStart(e),this.sendEvent(e))}}}getHammerConfig(){return{...super.getHammerConfig(),event:this.name,taps:Ne(this.config.numberOfTaps)?1:this.config.numberOfTaps,interval:this.maxDelayMs,time:Ne(this.config.maxDurationMs)||this.config.maxDurationMs==null?250:this.config.maxDurationMs}}updateGestureConfig({shouldCancelWhenOutside:e=!0,maxDeltaX:n=Number.NaN,maxDeltaY:r=Number.NaN,numberOfTaps:i=1,minDurationMs:a=525,maxDelayMs:s=Number.NaN,maxDurationMs:o=Number.NaN,maxDist:l=2,minPointers:u=1,maxPointers:c=1,...A}){return super.updateGestureConfig({shouldCancelWhenOutside:e,numberOfTaps:i,maxDeltaX:n,maxDeltaY:r,minDurationMs:a,maxDelayMs:s,maxDist:l,minPointers:u,maxPointers:c,...A})}onGestureEnded(...e){clearTimeout(this._timer),super.onGestureEnded(...e)}onWaitingEnded(e){this._shouldFireEndEvent&&(this.onSuccessfulTap(this._shouldFireEndEvent),this._shouldFireEndEvent=null)}},h4=class extends RC{get minDurationMs(){return Ne(this.config.minDurationMs)?251:this.config.minDurationMs}get maxDist(){return Ne(this.config.maxDist)?9:this.config.maxDist}updateHasCustomActivationCriteria({maxDistSq:e}){return!cn(e)}getConfig(){return this.hasCustomActivationCriteria?this.config:{shouldCancelWhenOutside:!0,maxDistSq:10}}getHammerConfig(){return{...super.getHammerConfig(),time:this.minDurationMs}}getState(e){return{[oe.INPUT_START]:L.ACTIVE,[oe.INPUT_MOVE]:L.ACTIVE,[oe.INPUT_END]:L.END,[oe.INPUT_CANCEL]:L.FAILED}[e]}};class MC extends hA{get shouldEnableGestureOnSetup(){return!1}updateGestureConfig({minPointers:e=2,maxPointers:n=2,...r}){return super.updateGestureConfig({minPointers:e,maxPointers:n,...r})}isGestureEnabledForEvent({minPointers:e,maxPointers:n},r,{maxPointers:i}){return i>n?{failed:!0}:{success:i>=e}}}let p4=class extends MC{get name(){return"pinch"}get NativeGestureClass(){return oe.Pinch}transformNativeEvent({scale:e,velocity:n,center:r}){return{focalX:r.x,focalY:r.y,velocity:n,scale:e}}},v4=class extends MC{get name(){return"rotate"}get NativeGestureClass(){return oe.Rotate}transformNativeEvent({rotation:e,velocity:n,center:r}){var i;return{rotation:(e-((i=this.initialRotation)!==null&&i!==void 0?i:0))*a4,anchorX:r.x,anchorY:r.y,velocity:n}}};class g4 extends Error{constructor(e,n,r){super(`Invalid property \`${e}: ${n}\` expected \`${r}\``)}}let m4=class extends FC{get name(){return"swipe"}get NativeGestureClass(){return oe.Swipe}onGestureActivated(e){this.sendEvent({...e,eventType:oe.INPUT_MOVE,isFinal:!1,isFirst:!0}),this.isGestureRunning=!1,this.hasGestureFailed=!1,this.sendEvent({...e,eventType:oe.INPUT_END,isFinal:!0})}onRawEvent(e){if(super.onRawEvent(e),!this.hasGestureFailed){if(e.isFinal)setTimeout(()=>{this.isGestureRunning&&this.cancelEvent(e)});else if(!this.hasGestureFailed&&!this.isGestureRunning){const n=this.hammer.get(this.name);n.options.enable(n,e)&&(this.onStart(e),this.sendEvent(e))}}}getHammerConfig(){return{pointers:this.config.numberOfPointers,direction:this.getDirection()}}getTargetDirections(e){const n=[];return e&sr.RIGHT&&n.push(oe.DIRECTION_RIGHT),e&sr.LEFT&&n.push(oe.DIRECTION_LEFT),e&sr.UP&&n.push(oe.DIRECTION_UP),e&sr.DOWN&&n.push(oe.DIRECTION_DOWN),n}getDirection(){const{direction:e}=this.getConfig();let n=[];return e&sr.RIGHT&&n.push(oe.DIRECTION_HORIZONTAL),e&sr.LEFT&&n.push(oe.DIRECTION_HORIZONTAL),e&sr.UP&&n.push(oe.DIRECTION_VERTICAL),e&sr.DOWN&&n.push(oe.DIRECTION_VERTICAL),n=[...new Set(n)],n.length===0?oe.DIRECTION_NONE:n.length===1?n[0]:oe.DIRECTION_ALL}isGestureEnabledForEvent({numberOfPointers:e},n,{maxPointers:r}){const i=r===e;return!i&&this.isGestureRunning?{failed:!0}:{success:i}}updateGestureConfig({numberOfPointers:e=1,direction:n,...r}){if(Ne(n)||typeof n!="number")throw new g4("direction",n,"number");return super.updateGestureConfig({numberOfPointers:e,direction:n,...r})}};const Sh={NativeViewGestureHandler:fT,PanGestureHandler:q2,TapGestureHandler:j2,LongPressGestureHandler:J2,PinchGestureHandler:tT,RotationGestureHandler:iT,FlingGestureHandler:AT,ManualGestureHandler:hT,HoverGestureHandler:pT},bh={NativeViewGestureHandler:d4,PanGestureHandler:A4,TapGestureHandler:f4,LongPressGestureHandler:h4,PinchGestureHandler:p4,RotationGestureHandler:v4,FlingGestureHandler:m4};function uc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class vA{constructor(e){uc(this,"view",void 0),uc(this,"pointersInBounds",[]),uc(this,"activePointersCounter",void 0),this.view=e,this.activePointersCounter=0}onPointerDown(e){}onPointerAdd(e){}onPointerUp(e){}onPointerRemove(e){}onPointerMove(e){}onPointerLeave(e){}onPointerEnter(e){}onPointerCancel(e){}onPointerOutOfBounds(e){}onPointerMoveOver(e){}onPointerMoveOut(e){}setOnPointerDown(e){this.onPointerDown=e}setOnPointerAdd(e){this.onPointerAdd=e}setOnPointerUp(e){this.onPointerUp=e}setOnPointerRemove(e){this.onPointerRemove=e}setOnPointerMove(e){this.onPointerMove=e}setOnPointerLeave(e){this.onPointerLeave=e}setOnPointerEnter(e){this.onPointerEnter=e}setOnPointerCancel(e){this.onPointerCancel=e}setOnPointerOutOfBounds(e){this.onPointerOutOfBounds=e}setOnPointerMoveOver(e){this.onPointerMoveOver=e}setOnPointerMoveOut(e){this.onPointerMoveOut=e}markAsInBounds(e){this.pointersInBounds.indexOf(e)>=0||this.pointersInBounds.push(e)}markAsOutOfBounds(e){const n=this.pointersInBounds.indexOf(e);n<0||this.pointersInBounds.splice(n,1)}resetManager(){this.activePointersCounter=0,this.pointersInBounds=[]}}function ln(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const cc=new Set(["SELECT","INPUT"]),Mr={Touch:"touch",Stylus:"pen"};class C4 extends vA{constructor(e){super(e),ln(this,"trackedPointers",new Set),ln(this,"mouseButtonsMapper",new Map),ln(this,"lastPosition",void 0),ln(this,"pointerDownCallback",n=>{if(n.pointerType===Mr.Touch||!ts(this.view,{x:n.clientX,y:n.clientY}))return;const r=this.mapEvent(n,se.DOWN),i=n.target;cc.has(i.tagName)||i.setPointerCapture(r.pointerId),this.markAsInBounds(r.pointerId),this.trackedPointers.add(r.pointerId),++this.activePointersCounter>1?(r.eventType=se.ADDITIONAL_POINTER_DOWN,this.onPointerAdd(r)):this.onPointerDown(r)}),ln(this,"pointerUpCallback",n=>{if(n.pointerType===Mr.Touch||this.activePointersCounter===0)return;const r=this.mapEvent(n,se.UP),i=n.target;cc.has(i.tagName)||i.releasePointerCapture(r.pointerId),this.markAsOutOfBounds(r.pointerId),this.trackedPointers.delete(r.pointerId),--this.activePointersCounter>0?(r.eventType=se.ADDITIONAL_POINTER_UP,this.onPointerRemove(r)):this.onPointerUp(r)}),ln(this,"pointerMoveCallback",n=>{if(n.pointerType===Mr.Touch||n.pointerType===Mr.Stylus&&n.x===this.lastPosition.x&&n.y===this.lastPosition.y)return;const r=this.mapEvent(n,se.MOVE),i=n.target;!i.hasPointerCapture(n.pointerId)&&!cc.has(i.tagName)&&i.setPointerCapture(n.pointerId);const a=ts(this.view,{x:r.x,y:r.y}),s=this.pointersInBounds.indexOf(r.pointerId);a?s<0?(r.eventType=se.ENTER,this.onPointerEnter(r),this.markAsInBounds(r.pointerId)):this.onPointerMove(r):s>=0?(r.eventType=se.LEAVE,this.onPointerLeave(r),this.markAsOutOfBounds(r.pointerId)):this.onPointerOutOfBounds(r),this.lastPosition.x=n.x,this.lastPosition.y=n.y}),ln(this,"pointerCancelCallback",n=>{if(n.pointerType===Mr.Touch)return;const r=this.mapEvent(n,se.CANCEL);this.onPointerCancel(r),this.markAsOutOfBounds(r.pointerId),this.activePointersCounter=0,this.trackedPointers.clear()}),ln(this,"pointerEnterCallback",n=>{if(n.pointerType===Mr.Touch)return;const r=this.mapEvent(n,se.ENTER);this.onPointerMoveOver(r)}),ln(this,"pointerLeaveCallback",n=>{if(n.pointerType===Mr.Touch)return;const r=this.mapEvent(n,se.LEAVE);this.onPointerMoveOut(r)}),ln(this,"lostPointerCaptureCallback",n=>{const r=this.mapEvent(n,se.CANCEL);this.trackedPointers.has(r.pointerId)&&(this.onPointerCancel(r),this.activePointersCounter=0,this.trackedPointers.clear())}),this.mouseButtonsMapper.set(0,fn.LEFT),this.mouseButtonsMapper.set(1,fn.MIDDLE),this.mouseButtonsMapper.set(2,fn.RIGHT),this.mouseButtonsMapper.set(3,fn.BUTTON_4),this.mouseButtonsMapper.set(4,fn.BUTTON_5),this.lastPosition={x:-1/0,y:-1/0}}registerListeners(){this.view.addEventListener("pointerdown",this.pointerDownCallback),this.view.addEventListener("pointerup",this.pointerUpCallback),this.view.addEventListener("pointermove",this.pointerMoveCallback),this.view.addEventListener("pointercancel",this.pointerCancelCallback),this.view.addEventListener("pointerenter",this.pointerEnterCallback),this.view.addEventListener("pointerleave",this.pointerLeaveCallback),this.view.addEventListener("lostpointercapture",this.lostPointerCaptureCallback)}unregisterListeners(){this.view.removeEventListener("pointerdown",this.pointerDownCallback),this.view.removeEventListener("pointerup",this.pointerUpCallback),this.view.removeEventListener("pointermove",this.pointerMoveCallback),this.view.removeEventListener("pointercancel",this.pointerCancelCallback),this.view.removeEventListener("pointerenter",this.pointerEnterCallback),this.view.removeEventListener("pointerleave",this.pointerLeaveCallback),this.view.removeEventListener("lostpointercapture",this.lostPointerCaptureCallback)}mapEvent(e,n){var r;const i=this.view.getBoundingClientRect(),{scaleX:a,scaleY:s}=sC(this.view);return{x:e.clientX,y:e.clientY,offsetX:(e.clientX-i.left)/a,offsetY:(e.clientY-i.top)/s,pointerId:e.pointerId,eventType:n,pointerType:(r=sT.get(e.pointerType))!==null&&r!==void 0?r:St.OTHER,button:this.mouseButtonsMapper.get(e.button),time:e.timeStamp}}resetManager(){super.resetManager(),this.trackedPointers.clear()}}function Xs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class E4 extends vA{constructor(...e){super(...e),Xs(this,"touchStartCallback",n=>{for(let r=0;r<n.changedTouches.length;++r){const i=this.mapEvent(n,se.DOWN,r,Yt.DOWN);!ts(this.view,{x:i.x,y:i.y})||n.changedTouches[r].touchType==="stylus"||(this.markAsInBounds(i.pointerId),++this.activePointersCounter>1?(i.eventType=se.ADDITIONAL_POINTER_DOWN,this.onPointerAdd(i)):this.onPointerDown(i))}}),Xs(this,"touchMoveCallback",n=>{for(let r=0;r<n.changedTouches.length;++r){const i=this.mapEvent(n,se.MOVE,r,Yt.MOVE);if(n.changedTouches[r].touchType==="stylus")continue;const a=ts(this.view,{x:i.x,y:i.y}),s=this.pointersInBounds.indexOf(i.pointerId);a?s<0?(i.eventType=se.ENTER,this.onPointerEnter(i),this.markAsInBounds(i.pointerId)):this.onPointerMove(i):s>=0?(i.eventType=se.LEAVE,this.onPointerLeave(i),this.markAsOutOfBounds(i.pointerId)):this.onPointerOutOfBounds(i)}}),Xs(this,"touchEndCallback",n=>{for(let r=0;r<n.changedTouches.length&&this.activePointersCounter!==0;++r){if(n.changedTouches[r].touchType==="stylus")continue;const i=this.mapEvent(n,se.UP,r,Yt.UP);this.markAsOutOfBounds(i.pointerId),--this.activePointersCounter>0?(i.eventType=se.ADDITIONAL_POINTER_UP,this.onPointerRemove(i)):this.onPointerUp(i)}}),Xs(this,"touchCancelCallback",n=>{for(let r=0;r<n.changedTouches.length;++r){const i=this.mapEvent(n,se.CANCEL,r,Yt.CANCELLED);n.changedTouches[r].touchType!=="stylus"&&(this.onPointerCancel(i),this.markAsOutOfBounds(i.pointerId),this.activePointersCounter=0)}})}registerListeners(){this.view.addEventListener("touchstart",this.touchStartCallback),this.view.addEventListener("touchmove",this.touchMoveCallback),this.view.addEventListener("touchend",this.touchEndCallback),this.view.addEventListener("touchcancel",this.touchCancelCallback)}unregisterListeners(){this.view.removeEventListener("touchstart",this.touchStartCallback),this.view.removeEventListener("touchmove",this.touchMoveCallback),this.view.removeEventListener("touchend",this.touchEndCallback),this.view.removeEventListener("touchcancel",this.touchCancelCallback)}mapEvent(e,n,r,i){const a=this.view.getBoundingClientRect(),s=e.changedTouches[r].clientX,o=e.changedTouches[r].clientY,{scaleX:l,scaleY:u}=sC(this.view);return{x:s,y:o,offsetX:(s-a.left)/l,offsetY:(o-a.top)/u,pointerId:e.changedTouches[r].identifier,eventType:n,pointerType:St.TOUCH,time:e.timeStamp,allTouches:e.touches,changedTouches:e.changedTouches,touchEventType:i}}}function Ca(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class x4 extends vA{constructor(...e){super(...e),Ca(this,"activationKeys",["Enter"," "]),Ca(this,"cancelationKeys",["Tab"]),Ca(this,"isPressed",!1),Ca(this,"keyDownCallback",n=>{if(this.cancelationKeys.indexOf(n.key)!==-1&&this.isPressed){this.dispatchEvent(n,se.CANCEL);return}this.activationKeys.indexOf(n.key)!==-1&&this.dispatchEvent(n,se.DOWN)}),Ca(this,"keyUpCallback",n=>{this.activationKeys.indexOf(n.key)===-1||!this.isPressed||this.dispatchEvent(n,se.UP)})}dispatchEvent(e,n){if(!(e.target instanceof HTMLElement))return;const r=this.mapEvent(e,n);switch(n){case se.UP:this.isPressed=!1,this.onPointerUp(r);break;case se.DOWN:this.isPressed=!0,this.onPointerDown(r);break;case se.CANCEL:this.isPressed=!1,this.onPointerCancel(r);break}}registerListeners(){this.view.addEventListener("keydown",this.keyDownCallback),this.view.addEventListener("keyup",this.keyUpCallback)}unregisterListeners(){this.view.addEventListener("keydown",this.keyDownCallback),this.view.addEventListener("keyup",this.keyUpCallback)}mapEvent(e,n){const r=e.target.getBoundingClientRect(),i={x:(r==null?void 0:r.x)+(r==null?void 0:r.width)/2,y:(r==null?void 0:r.y)+(r==null?void 0:r.height)/2},a={x:(r==null?void 0:r.width)/2,y:(r==null?void 0:r.height)/2};return{x:i.x,y:i.y,offsetX:a.x,offsetY:a.y,pointerId:0,eventType:n,pointerType:St.KEY,time:e.timeStamp}}}function Ea(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class y4{constructor(){Ea(this,"isInitialized",!1),Ea(this,"view",void 0),Ea(this,"gestureHandler",void 0),Ea(this,"eventManagers",[]),Ea(this,"defaultViewStyles",{userSelect:"",touchAction:""})}getView(){return this.view}init(e,n){if(!e)throw new Error(`Cannot find HTML Element for handler ${n.getTag()}`);this.isInitialized=!0,this.gestureHandler=n,this.view=zt(e),this.defaultViewStyles={userSelect:this.view.style.userSelect,touchAction:this.view.style.touchAction};const r=n.getConfig();this.setUserSelect(r.enabled),this.setTouchAction(r.enabled),this.setContextMenu(r.enabled),this.eventManagers.push(new C4(this.view)),this.eventManagers.push(new E4(this.view)),this.eventManagers.push(new x4(this.view)),this.eventManagers.forEach(i=>this.gestureHandler.attachEventManager(i))}isPointerInBounds({x:e,y:n}){return ts(this.view,{x:e,y:n})}measureView(){const e=this.view.getBoundingClientRect();return{pageX:e.left,pageY:e.top,width:e.width,height:e.height}}reset(){this.eventManagers.forEach(e=>e.resetManager())}tryResetCursor(){const e=this.gestureHandler.getConfig();e.activeCursor&&e.activeCursor!=="auto"&&this.gestureHandler.getState()===L.ACTIVE&&(this.view.style.cursor="auto")}shouldDisableContextMenu(e){return e.enableContextMenu===void 0&&this.gestureHandler.isButtonInConfig(fn.RIGHT)||e.enableContextMenu===!1}addContextMenuListeners(e){this.shouldDisableContextMenu(e)?this.view.addEventListener("contextmenu",this.disableContextMenu):e.enableContextMenu&&this.view.addEventListener("contextmenu",this.enableContextMenu)}removeContextMenuListeners(e){this.shouldDisableContextMenu(e)?this.view.removeEventListener("contextmenu",this.disableContextMenu):e.enableContextMenu&&this.view.removeEventListener("contextmenu",this.enableContextMenu)}disableContextMenu(e){e.preventDefault()}enableContextMenu(e){e.stopPropagation()}setUserSelect(e){const{userSelect:n}=this.gestureHandler.getConfig();this.view.style.userSelect=e?n??"none":this.defaultViewStyles.userSelect,this.view.style.webkitUserSelect=e?n??"none":this.defaultViewStyles.userSelect}setTouchAction(e){const{touchAction:n}=this.gestureHandler.getConfig();this.view.style.touchAction=e?n??"none":this.defaultViewStyles.touchAction,this.view.style.WebkitTouchCallout=e?n??"none":this.defaultViewStyles.touchAction}setContextMenu(e){const n=this.gestureHandler.getConfig();e?this.addContextMenuListeners(n):this.removeContextMenuListeners(n)}onEnabledChange(e){this.isInitialized&&(this.setUserSelect(e),this.setTouchAction(e),this.setContextMenu(e))}onBegin(){}onActivate(){const e=this.gestureHandler.getConfig();(!this.view.style.cursor||this.view.style.cursor==="auto")&&e.activeCursor&&(this.view.style.cursor=e.activeCursor)}onEnd(){this.tryResetCursor()}onCancel(){this.tryResetCursor()}onFail(){this.tryResetCursor()}destroy(e){this.removeContextMenuListeners(e),this.eventManagers.forEach(n=>{n.unregisterListeners()})}}const wt={handleSetJSResponder(t,e){console.warn("handleSetJSResponder: ",t,e)},handleClearJSResponder(){console.warn("handleClearJSResponder: ")},createGestureHandler(t,e,n){if(Si()){if(!(t in Sh))throw new Error(`react-native-gesture-handler: ${t} is not supported on web.`);const r=Sh[t];Wt.createGestureHandler(e,new r(new y4)),Bn.getInstance().configureInteractions(Wt.getHandler(e),n)}else{if(!(t in bh))throw new Error(`react-native-gesture-handler: ${t} is not supported on web.`);const r=bh[t];o4(e,new r)}this.updateGestureHandler(e,n)},attachGestureHandler(t,e,n,r){(e instanceof HTMLElement||e instanceof xe.Component)&&(Si()?Wt.getHandler(t).init(e,r):Zr(t).setView(e,r))},updateGestureHandler(t,e){Si()?(Wt.getHandler(t).updateGestureConfig(e),Bn.getInstance().configureInteractions(Wt.getHandler(t),e)):Zr(t).updateGestureConfig(e)},getGestureHandlerNode(t){return Si()?Wt.getHandler(t):Zr(t)},dropGestureHandler(t){Si()?Wt.dropGestureHandler(t):l4(t)},flushOperations(){}};function I4(){G2()}const gA=xe.createContext(!1);function a0(){return a0=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a0.apply(this,arguments)}function kC({style:t,...e}){return b.createElement(gA.Provider,{value:!0},b.createElement(ge,a0({style:t??w4.container},e)))}const w4=ve.create({container:{flex:1}});function S4(t,e){function n(r){return b.createElement(kC,{style:[b4.container,e]},b.createElement(t,r))}return n.displayName=`gestureHandlerRootHOC(${t.displayName||t.name})`,rx(n,t),n}const b4=ve.create({container:{flex:1}});let _4=1;function BC(){return _4++}function D4(t,e){return t!==void 0&&(t!==Object(t)||!("__isNative"in t))&&e!=="onHandlerStateChange"&&e!=="onGestureEvent"}function Fi(t,e,n={}){const r={...n};for(const i of e){let a=t[i];D4(a,i)&&(i==="simultaneousHandlers"||i==="waitFor"?a=O4(t[i]):i==="hitSlop"&&typeof a!="object"&&(a={top:a,left:a,bottom:a,right:a}),r[i]=a)}return r}function O4(t){return t=D2(t),ue.OS==="web"?t.map(({current:e})=>e).filter(e=>e):t.map(e=>{var n;return Ao[e]||((n=e.current)===null||n===void 0?void 0:n.handlerTag)||-1}).filter(e=>e>0)}function _h(t){return ue.OS==="web"?t:zt(t)}let dc=!1;function Mi(){dc||(dc=!0,ii(()=>{wt.flushOperations(),dc=!1}))}const zr={REANIMATED_WORKLET:1,NATIVE_ANIMATED_EVENT:2,JS_FUNCTION_OLD_API:3,JS_FUNCTION_NEW_API:4};var Ac,fc,hc;function ht(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const Nn=Hx,T4={topOnGestureHandlerEvent:{registrationName:"onGestureHandlerEvent"},topOnGestureHandlerStateChange:{registrationName:"onGestureHandlerStateChange"}},NC={onGestureHandlerEvent:{registrationName:"onGestureHandlerEvent"},onGestureHandlerStateChange:{registrationName:"onGestureHandlerStateChange"},...T2()&&ue.OS==="android"&&T4};Nn.genericDirectEventTypes={...Nn.genericDirectEventTypes,...NC};const pc=(Ac=(fc=Nn.getViewManagerConfig)===null||fc===void 0?void 0:fc.call(Nn,"getConstants"))!==null&&Ac!==void 0?Ac:(hc=Nn.getConstants)===null||hc===void 0?void 0:hc.call(Nn);pc&&(pc.genericDirectEventTypes={...pc.genericDirectEventTypes,...NC});const{setJSResponder:P4=()=>{},clearJSResponder:R4=()=>{}}=Nn;Nn.setJSResponder=(t,e)=>{wt.handleSetJSResponder(t,e),P4(t,e)};Nn.clearJSResponder=()=>{wt.handleClearJSResponder(),R4()};let F4=!0;function Dh(t){const e=n=>Array.isArray(n)?n.some(r=>r&&r.current===null):n&&n.current===null;return e(t.simultaneousHandlers)||e(t.waitFor)}const M4={[L.UNDETERMINED]:void 0,[L.BEGAN]:"onBegan",[L.FAILED]:"onFailed",[L.CANCELLED]:"onCancelled",[L.ACTIVE]:"onActivated",[L.END]:"onEnded"},Oh=1;function Or({name:t,allowedProps:e=[],config:n={},transformProps:r,customNativeProps:i=[]}){class a extends b.Component{constructor(o){if(super(o),ht(this,"handlerTag",void 0),ht(this,"config",void 0),ht(this,"propsRef",void 0),ht(this,"isMountedRef",void 0),ht(this,"viewNode",void 0),ht(this,"viewTag",void 0),ht(this,"inspectorToggleListener",void 0),ht(this,"onGestureHandlerEvent",l=>{if(l.nativeEvent.handlerTag===this.handlerTag){if(typeof this.props.onGestureEvent=="function"){var u,c;(u=(c=this.props).onGestureEvent)===null||u===void 0||u.call(c,l)}}else{var A,d;(A=(d=this.props).onGestureHandlerEvent)===null||A===void 0||A.call(d,l)}}),ht(this,"onGestureHandlerStateChange",l=>{if(l.nativeEvent.handlerTag===this.handlerTag){if(typeof this.props.onHandlerStateChange=="function"){var u,c;(u=(c=this.props).onHandlerStateChange)===null||u===void 0||u.call(c,l)}const f=l.nativeEvent.state,p=M4[f],h=p&&this.props[p];h&&typeof h=="function"&&h(l)}else{var A,d;(A=(d=this.props).onGestureHandlerStateChange)===null||A===void 0||A.call(d,l)}}),ht(this,"refHandler",l=>{this.viewNode=l;const u=b.Children.only(this.props.children),{ref:c}=u;c!==null&&(typeof c=="function"?c(l):c.current=l)}),ht(this,"createGestureHandler",l=>{this.config=l,wt.createGestureHandler(t,this.handlerTag,l)}),ht(this,"attachGestureHandler",l=>{if(this.viewTag=l,ue.OS==="web")wt.attachGestureHandler(this.handlerTag,l,zr.JS_FUNCTION_OLD_API,this.propsRef);else{R2(this.handlerTag,{onGestureEvent:this.onGestureHandlerEvent,onGestureStateChange:this.onGestureHandlerStateChange});const u=(()=>{var c,A;const d=(c=this.props)===null||c===void 0?void 0:c.onGestureEvent,f=d&&("current"in d||"workletEventHandler"in d),p=(A=this.props)===null||A===void 0?void 0:A.onHandlerStateChange,h=p&&("current"in p||"workletEventHandler"in p);return f||h?zr.REANIMATED_WORKLET:d&&"__isNative"in d?zr.NATIVE_ANIMATED_EVENT:zr.JS_FUNCTION_OLD_API})();wt.attachGestureHandler(this.handlerTag,l,u)}Mi()}),ht(this,"updateGestureHandler",l=>{this.config=l,wt.updateGestureHandler(this.handlerTag,l),Mi()}),this.handlerTag=BC(),this.config={},this.propsRef=b.createRef(),this.isMountedRef=b.createRef(),this.state={allowTouches:F4},o.id){if(Ao[o.id]!==void 0)throw new Error(`Handler with ID "${o.id}" already registered`);Ao[o.id]=this.handlerTag}}componentDidMount(){const o=this.props;this.isMountedRef.current=!0,Dh(o)&&ii(()=>{this.update(Oh)}),this.createGestureHandler(Fi(r?r(this.props):this.props,[...e,...i],n)),this.attachGestureHandler(_h(this.viewNode))}componentDidUpdate(){const o=_h(this.viewNode);this.viewTag!==o&&this.attachGestureHandler(o),this.update(Oh)}componentWillUnmount(){var o;(o=this.inspectorToggleListener)===null||o===void 0||o.remove(),this.isMountedRef.current=!1,wt.dropGestureHandler(this.handlerTag),Mi();const l=this.props.id;l&&delete Ao[l]}update(o){if(!this.isMountedRef.current)return;const l=this.props;if(Dh(l)&&o>0)ii(()=>{this.update(o-1)});else{const u=Fi(r?r(this.props):this.props,[...e,...i],n);qm(this.config,u)||this.updateGestureHandler(u)}}setNativeProps(o){const l={...this.props,...o},u=Fi(r?r(l):l,[...e,...i],n);this.updateGestureHandler(u)}render(){var o;let l=this.onGestureHandlerEvent;const{onGestureEvent:u,onGestureHandlerEvent:c}=this.props;if(u&&typeof u!="function"){if(c)throw new Error("Nesting touch handlers with native animated driver is not supported yet");l=u}else if(c&&typeof c!="function")throw new Error("Nesting touch handlers with native animated driver is not supported yet");let A=this.onGestureHandlerStateChange;const{onHandlerStateChange:d,onGestureHandlerStateChange:f}=this.props;if(d&&typeof d!="function"){if(f)throw new Error("Nesting touch handlers with native animated driver is not supported yet");A=d}else if(f&&typeof f!="function")throw new Error("Nesting touch handlers with native animated driver is not supported yet");const p={onGestureHandlerEvent:this.state.allowTouches?l:void 0,onGestureHandlerStateChange:this.state.allowTouches?A:void 0};this.propsRef.current=p;let h=null;try{h=b.Children.only(this.props.children)}catch{throw new Error(fs(`${t} got more than one view as a child. If you want the gesture to work on multiple views, wrap them with a common parent and attach the gesture to that view.`))}let v=h.props.children;return b.cloneElement(h,{ref:this.refHandler,collapsable:!1,...aA()?{handlerType:t,handlerTag:this.handlerTag}:{},testID:(o=this.props.testID)!==null&&o!==void 0?o:h.props.testID,...p},v)}}return ht(a,"displayName",t),ht(a,"contextType",gA),a}const GC=["maxDurationMs","maxDelayMs","numberOfTaps","maxDeltaX","maxDeltaY","maxDist","minPointers"],k4="TapGestureHandler",mA=Or({name:k4,allowedProps:[...Dr,...GC],config:{shouldCancelWhenOutside:!0}}),ki={get forceTouchAvailable(){return!1}};function B4(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const LC=["minForce","maxForce","feedbackOnActivation"];class VC extends xe.Component{componentDidMount(){console.warn(fs("ForceTouchGestureHandler is not available on this platform. Please use ForceTouchGestureHandler.forceTouchAvailable to conditionally render other components that would provide a fallback behavior specific to your usecase"))}render(){return this.props.children}}B4(VC,"forceTouchAvailable",!1);const N4="ForceTouchGestureHandler",HC=ki!=null&&ki.forceTouchAvailable?Or({name:N4,allowedProps:[...Dr,...LC],config:{}}):VC;HC.forceTouchAvailable=(ki==null?void 0:ki.forceTouchAvailable)||!1;const UC=["minDurationMs","maxDist","numberOfPointers"],G4="LongPressGestureHandler",L4=Or({name:G4,allowedProps:[...Dr,...UC],config:{shouldCancelWhenOutside:!0}}),WC=["activeOffsetY","activeOffsetX","failOffsetY","failOffsetX","minDist","minVelocity","minVelocityX","minVelocityY","minPointers","maxPointers","avgTouches","enableTrackpadTwoFingerGesture","activateAfterLongPress"],XC=["activeOffsetYStart","activeOffsetYEnd","activeOffsetXStart","activeOffsetXEnd","failOffsetYStart","failOffsetYEnd","failOffsetXStart","failOffsetXEnd"],V4="PanGestureHandler",CA=Or({name:V4,allowedProps:[...Dr,...WC],config:{},transformProps:U4,customNativeProps:XC});function H4(t){const e={...t};return t.activeOffsetX!==void 0&&(delete e.activeOffsetX,Array.isArray(t.activeOffsetX)?(e.activeOffsetXStart=t.activeOffsetX[0],e.activeOffsetXEnd=t.activeOffsetX[1]):t.activeOffsetX<0?e.activeOffsetXStart=t.activeOffsetX:e.activeOffsetXEnd=t.activeOffsetX),t.activeOffsetY!==void 0&&(delete e.activeOffsetY,Array.isArray(t.activeOffsetY)?(e.activeOffsetYStart=t.activeOffsetY[0],e.activeOffsetYEnd=t.activeOffsetY[1]):t.activeOffsetY<0?e.activeOffsetYStart=t.activeOffsetY:e.activeOffsetYEnd=t.activeOffsetY),t.failOffsetX!==void 0&&(delete e.failOffsetX,Array.isArray(t.failOffsetX)?(e.failOffsetXStart=t.failOffsetX[0],e.failOffsetXEnd=t.failOffsetX[1]):t.failOffsetX<0?e.failOffsetXStart=t.failOffsetX:e.failOffsetXEnd=t.failOffsetX),t.failOffsetY!==void 0&&(delete e.failOffsetY,Array.isArray(t.failOffsetY)?(e.failOffsetYStart=t.failOffsetY[0],e.failOffsetYEnd=t.failOffsetY[1]):t.failOffsetY<0?e.failOffsetYStart=t.failOffsetY:e.failOffsetYEnd=t.failOffsetY),e}function U4(t){return H4(t)}const W4="PinchGestureHandler",X4=Or({name:W4,allowedProps:Dr,config:{}}),Y4="RotationGestureHandler",z4=Or({name:Y4,allowedProps:Dr,config:{}}),YC=["numberOfPointers","direction"],K4="FlingGestureHandler",$4=Or({name:K4,allowedProps:[...Dr,...YC],config:{}}),zC=["shouldActivateOnStart","disallowInterruption"],KC=[...Dr,...zC],q4="NativeViewGestureHandler",$C=Or({name:q4,allowedProps:KC,config:{}});function Ho(){return Ho=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ho.apply(this,arguments)}const j4=[...KC,"onGestureHandlerEvent","onGestureHandlerStateChange"];function ia(t,e={}){var n;const r=b.forwardRef((i,a)=>{const s=Object.keys(i).reduce((u,c)=>(j4.includes(c)&&(u[c]=i[c]),u),{...e}),o=b.useRef(),l=b.useRef();return b.useImperativeHandle(a,()=>{const u=l.current;return o.current&&u?(o.current.handlerTag=u.handlerTag,o.current):null},[o,l]),b.createElement($C,Ho({},s,{ref:l}),b.createElement(t,Ho({},i,{ref:o})))});return r.displayName=(t==null?void 0:t.displayName)||(t==null||(n=t.render)===null||n===void 0?void 0:n.name)||typeof t=="string"&&t||"ComponentWrapper",r}function xa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const he={UNDEFINED:0,BEGAN:1,START:2,UPDATE:3,CHANGE:4,END:5,FINALIZE:6,TOUCHES_DOWN:7,TOUCHES_MOVE:8,TOUCHES_UP:9,TOUCHES_CANCELLED:10};class qC{}let Q4=0;class oi extends qC{constructor(){super(),xa(this,"gestureId",-1),xa(this,"handlerTag",-1),xa(this,"handlerName",""),xa(this,"config",{}),xa(this,"handlers",{gestureId:-1,handlerTag:-1,isWorklet:[]}),this.gestureId=Q4++,this.handlers.gestureId=this.gestureId}addDependency(e,n){const r=this.config[e];this.config[e]=r?Array().concat(r,n):[n]}withRef(e){return this.config.ref=e,this}isWorklet(e){return e.__workletHash!==void 0}onBegin(e){return this.handlers.onBegin=e,this.handlers.isWorklet[he.BEGAN]=this.isWorklet(e),this}onStart(e){return this.handlers.onStart=e,this.handlers.isWorklet[he.START]=this.isWorklet(e),this}onEnd(e){return this.handlers.onEnd=e,this.handlers.isWorklet[he.END]=this.isWorklet(e),this}onFinalize(e){return this.handlers.onFinalize=e,this.handlers.isWorklet[he.FINALIZE]=this.isWorklet(e),this}onTouchesDown(e){return this.config.needsPointerData=!0,this.handlers.onTouchesDown=e,this.handlers.isWorklet[he.TOUCHES_DOWN]=this.isWorklet(e),this}onTouchesMove(e){return this.config.needsPointerData=!0,this.handlers.onTouchesMove=e,this.handlers.isWorklet[he.TOUCHES_MOVE]=this.isWorklet(e),this}onTouchesUp(e){return this.config.needsPointerData=!0,this.handlers.onTouchesUp=e,this.handlers.isWorklet[he.TOUCHES_UP]=this.isWorklet(e),this}onTouchesCancelled(e){return this.config.needsPointerData=!0,this.handlers.onTouchesCancelled=e,this.handlers.isWorklet[he.TOUCHES_CANCELLED]=this.isWorklet(e),this}enabled(e){return this.config.enabled=e,this}shouldCancelWhenOutside(e){return this.config.shouldCancelWhenOutside=e,this}hitSlop(e){return this.config.hitSlop=e,this}activeCursor(e){return this.config.activeCursor=e,this}mouseButton(e){return this.config.mouseButton=e,this}runOnJS(e){return this.config.runOnJS=e,this}simultaneousWithExternalGesture(...e){for(const n of e)this.addDependency("simultaneousWith",n);return this}requireExternalGestureToFail(...e){for(const n of e)this.addDependency("requireToFail",n);return this}blocksExternalGesture(...e){for(const n of e)this.addDependency("blocksHandlers",n);return this}withTestId(e){return this.config.testId=e,this}cancelsTouchesInView(e){return this.config.cancelsTouchesInView=e,this}initialize(){this.handlerTag=BC(),this.handlers={...this.handlers,handlerTag:this.handlerTag},this.config.ref&&(this.config.ref.current=this)}toGestureArray(){return[this]}prepare(){}get shouldUseReanimated(){return this.config.runOnJS!==!0&&!this.handlers.isWorklet.includes(!1)&&!P2()}}class aa extends oi{onUpdate(e){return this.handlers.onUpdate=e,this.handlers.isWorklet[he.UPDATE]=this.isWorklet(e),this}onChange(e){return this.handlers.onChange=e,this.handlers.isWorklet[he.CHANGE]=this.isWorklet(e),this}manualActivation(e){return this.config.manualActivation=e,this}}const Ot=us(nO);var vc;let bt;try{bt=Ot}catch{bt=void 0}(vc=bt)!==null&&vc!==void 0&&vc.useSharedValue||(bt=void 0);bt!==void 0&&!bt.setGestureState&&(bt.setGestureState=()=>{"worklet";console.warn(fs("Please use newer version of react-native-reanimated in order to control state of the gestures."))});function Z4(t,e){"worklet";switch(t){case he.BEGAN:return e.onBegin;case he.START:return e.onStart;case he.UPDATE:return e.onUpdate;case he.CHANGE:return e.onChange;case he.END:return e.onEnd;case he.FINALIZE:return e.onFinalize;case he.TOUCHES_DOWN:return e.onTouchesDown;case he.TOUCHES_MOVE:return e.onTouchesMove;case he.TOUCHES_UP:return e.onTouchesUp;case he.TOUCHES_CANCELLED:return e.onTouchesCancelled}}function J4(t){"worklet";switch(t){case kn.TOUCHES_DOWN:return he.TOUCHES_DOWN;case kn.TOUCHES_MOVE:return he.TOUCHES_MOVE;case kn.TOUCHES_UP:return he.TOUCHES_UP;case kn.TOUCHES_CANCELLED:return he.TOUCHES_CANCELLED}return he.UNDEFINED}function Dn(t,e,n,...r){"worklet";const i=Z4(t,e);e.isWorklet[t]?i==null||i(n,...r):i&&console.warn(fs("Animated gesture callback must be a worklet"))}function eP(t){"worklet";return t.oldState!=null}function tP(t){"worklet";return t.eventType!=null}function nP(t,e){if(!bt)return;const n=bt.useSharedValue(null),r=bt.useSharedValue([]),i=[],a=o=>{"worklet";const l=n.value;if(l)for(let c=0;c<l.length;c++){const A=l[c];if(o.handlerTag===A.handlerTag){if(eP(o))o.oldState===L.UNDETERMINED&&o.state===L.BEGAN?Dn(he.BEGAN,A,o):(o.oldState===L.BEGAN||o.oldState===L.UNDETERMINED)&&o.state===L.ACTIVE?(Dn(he.START,A,o),r.value[A.handlerTag]=void 0):o.oldState!==o.state&&o.state===L.END?(o.oldState===L.ACTIVE&&Dn(he.END,A,o,!0),Dn(he.FINALIZE,A,o,!0)):(o.state===L.FAILED||o.state===L.CANCELLED)&&o.state!==o.oldState&&(o.oldState===L.ACTIVE&&Dn(he.END,A,o,!1),Dn(he.FINALIZE,A,o,!1));else if(tP(o))i[c]||(i[c]=Jm.create(o.handlerTag)),o.eventType!==kn.UNDETERMINED&&Dn(J4(o.eventType),A,o,i[c]);else if(Dn(he.UPDATE,A,o),A.onChange&&A.changeEventCalculator){var u;Dn(he.CHANGE,A,(u=A.changeEventCalculator)===null||u===void 0?void 0:u.call(A,o,r.value[A.handlerTag])),r.value[A.handlerTag]=o}}}},s=bt.useEvent(a,["onGestureHandlerStateChange","onGestureHandlerEvent"],e);t.animatedEventHandler=s,t.animatedHandlers=n}function rP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}let s0;(function(t){t[t.NONE=0]="NONE",t[t.LIFT=1]="LIFT",t[t.HIGHLIGHT=2]="HIGHLIGHT"})(s0||(s0={}));const iP=["hoverEffect"];function aP(t,e){"worklet";let n;return e===void 0?n={changeX:t.x,changeY:t.y}:n={changeX:t.x-e.x,changeY:t.y-e.y},{...t,...n}}class sP extends aa{constructor(){super(),rP(this,"config",{}),this.handlerName="HoverGestureHandler"}effect(e){return this.config.hoverEffect=e,this}onChange(e){return this.handlers.changeEventCalculator=aP,super.onChange(e)}}const o0=[...$2,...GC,...WC,...XC,...UC,...LC,...YC,...iP,...zC];function oP(t){if(typeof t=="number")return t;if(t instanceof oi)return t.handlerTag;var e,n;return(e=(n=t.current)===null||n===void 0?void 0:n.handlerTag)!==null&&e!==void 0?e:-1}function gc(t){var e,n;return(e=t==null||(n=t.map(oP))===null||n===void 0?void 0:n.filter(r=>r>0))!==null&&e!==void 0?e:[]}function jC(t){const e=gc(t.config.requireToFail),n=gc(t.config.simultaneousWith),r=gc(t.config.blocksHandlers);return{waitFor:e,simultaneousHandlers:n,blocksHandlers:r}}function lP(){const[t,e]=b.useState(!1);return b.useCallback(()=>{e(!t)},[t,e])}function uP(){return b.useRef({onGestureHandlerEvent:t=>{No(t.nativeEvent)},onGestureHandlerStateChange:Si()?t=>{No(t.nativeEvent)}:void 0})}function QC({preparedGesture:t,gestureConfig:e,gesturesToAttach:n,viewTag:r,webEventHandlersRef:i}){e.initialize(),ii(()=>{t.isMounted&&e.prepare()});for(const a of n)wt.createGestureHandler(a.handlerName,a.handlerTag,Fi(a.config,o0)),Zm(a.handlerTag,a,a.config.testId);ii(()=>{if(t.isMounted){for(const a of n)wt.updateGestureHandler(a.handlerTag,Fi(a.config,o0,jC(a)));Mi()}});for(const a of n){const s=a.shouldUseReanimated?zr.REANIMATED_WORKLET:zr.JS_FUNCTION_NEW_API;ue.OS==="web"?wt.attachGestureHandler(a.handlerTag,r,zr.JS_FUNCTION_OLD_API,i):wt.attachGestureHandler(a.handlerTag,r,s)}if(t.attachedGestures=n,t.animatedHandlers){const a=s=>s.shouldUseReanimated;t.animatedHandlers.value=n.filter(a).map(s=>s.handlers)}}function ZC(t,e){if(e.length!==t.attachedGestures.length)return!0;for(let n=0;n<e.length;n++)if(e[n].handlerName!==t.attachedGestures[n].handlerName||e[n].shouldUseReanimated!==t.attachedGestures[n].shouldUseReanimated)return!0;return!1}function JC(t){for(const e of t.attachedGestures)wt.dropGestureHandler(e.handlerTag),F2(e.handlerTag,e.config.testId);Mi()}var mc,Cc;class l0 extends xe.Component{render(){try{const e=xe.Children.only(this.props.children);return xe.cloneElement(e,{collapsable:!1},e.props.children)}catch{throw new Error(fs("GestureDetector got more than one view as a child. If you want the gesture to work on multiple views, wrap them with a common parent and attach the gesture to that view."))}}}const cP=(mc=bt==null||(Cc=bt.default)===null||Cc===void 0?void 0:Cc.createAnimatedComponent(l0))!==null&&mc!==void 0?mc:l0;function dP(t,e,n){e.prepare();for(let r=0;r<n.length;r++){const i=t.attachedGestures[r];n[r].handlerTag!==i.handlerTag&&(n[r].handlerTag=i.handlerTag,n[r].handlers.handlerTag=i.handlerTag)}ii(()=>{if(!t.isMounted)return;let r=t.attachedGestures.length!==n.length;for(let i=0;i<n.length;i++){const a=t.attachedGestures[i];a.handlers.gestureId!==n[i].handlers.gestureId&&(n[i].shouldUseReanimated||a.shouldUseReanimated)&&(r=!0),a.config=n[i].config,a.handlers=n[i].handlers,wt.updateGestureHandler(a.handlerTag,Fi(a.config,o0,jC(a))),Zm(a.handlerTag,a,a.config.testId)}if(t.animatedHandlers&&r){const i=t.attachedGestures.filter(a=>a.shouldUseReanimated).map(a=>a.handlers);t.animatedHandlers.value=i}Mi()})}function AP(t,e,n,r,i){const a=lP();return b.useCallback(o=>{const l=zt(t.viewRef),u=l!==t.previousViewTag;u||ZC(e,n)?(t.viewRef,JC(e),QC({preparedGesture:e,gestureConfig:r,gesturesToAttach:n,webEventHandlersRef:i,viewTag:l}),u&&(t.previousViewTag=l,t.forceRebuildReanimatedEvent=!0,a())):o||dP(e,r,n)},[a,r,n,e,t,i])}function fP(t,e){return b.useCallback(r=>{r!==null&&(t.viewRef=r,t.previousViewTag===-1&&(t.previousViewTag=zt(t.viewRef)),t.firstRender||e(!0))},[t,e])}function hP(t,e){const n=["userSelect","enableContextMenu","touchAction"];for(const r of n){const i=t[r];if(i!==void 0)for(const a of e.toGestureArray()){const s=a.config;s[r]=i}}}const eE=t=>{b.useContext(gA);const e=t.gesture;hP(t,e);const n=b.useMemo(()=>e.toGestureArray(),[e]),r=n.some(c=>c.shouldUseReanimated),i=uP(),a=b.useRef({firstRender:!0,viewRef:null,previousViewTag:-1,forceRebuildReanimatedEvent:!1}).current,s=xe.useRef({attachedGestures:[],animatedEventHandler:null,animatedHandlers:null,shouldUseReanimated:r,isMounted:!1}).current,o=AP(a,s,n,e,i),l=fP(a,o),u=a.firstRender||a.forceRebuildReanimatedEvent||ZC(s,n);return a.forceRebuildReanimatedEvent=!1,nP(s,u),b.useLayoutEffect(()=>{const c=zt(a.viewRef);return s.isMounted=!0,QC({preparedGesture:s,gestureConfig:e,gesturesToAttach:n,webEventHandlersRef:i,viewTag:c}),()=>{s.isMounted=!1,JC(s)}},[]),b.useEffect(()=>{a.firstRender?a.firstRender=!1:o()},[t]),r?xe.createElement(cP,{ref:l,onGestureHandlerEvent:s.animatedEventHandler},t.children):xe.createElement(l0,{ref:l},t.children)};function pP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class vP extends oi{constructor(){super(),pP(this,"config",{}),this.handlerName="FlingGestureHandler"}numberOfPointers(e){return this.config.numberOfPointers=e,this}direction(e){return this.config.direction=e,this}}function gP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mP(t,e){"worklet";let n;return e===void 0?n={forceChange:t.force}:n={forceChange:t.force-e.force},{...t,...n}}class CP extends aa{constructor(){super(),gP(this,"config",{}),this.handlerName="ForceTouchGestureHandler"}minForce(e){return this.config.minForce=e,this}maxForce(e){return this.config.maxForce=e,this}feedbackOnActivation(e){return this.config.feedbackOnActivation=e,this}onChange(e){return this.handlers.changeEventCalculator=mP,super.onChange(e)}}function Ec(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Th(t,e){return t===void 0?[...e]:[...t,...e]}class Cs extends qC{constructor(...e){super(),Ec(this,"gestures",[]),Ec(this,"simultaneousGestures",[]),Ec(this,"requireGesturesToFail",[]),this.gestures=e}prepareSingleGesture(e,n,r){if(e instanceof oi){const i={...e.config};i.simultaneousWith=Th(i.simultaneousWith,n),i.requireToFail=Th(i.requireToFail,r),e.config=i}else e instanceof Cs&&(e.simultaneousGestures=n,e.requireGesturesToFail=r,e.prepare())}prepare(){for(const e of this.gestures)this.prepareSingleGesture(e,this.simultaneousGestures,this.requireGesturesToFail)}initialize(){for(const e of this.gestures)e.initialize()}toGestureArray(){return this.gestures.flatMap(e=>e.toGestureArray())}}class EP extends Cs{prepare(){const e=this.gestures.map(n=>this.gestures.filter(r=>r!==n).flatMap(r=>r.toGestureArray()));for(let n=0;n<this.gestures.length;n++)this.prepareSingleGesture(this.gestures[n],e[n],this.requireGesturesToFail)}}class xP extends Cs{prepare(){const e=this.gestures.map(r=>r.toGestureArray());let n=[];for(let r=0;r<this.gestures.length;r++)this.prepareSingleGesture(this.gestures[r],this.simultaneousGestures,this.requireGesturesToFail.concat(n)),n=n.concat(e[r])}}function yP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class IP extends oi{constructor(){super(),yP(this,"config",{}),this.handlerName="LongPressGestureHandler",this.shouldCancelWhenOutside(!0)}minDuration(e){return this.config.minDurationMs=e,this}maxDistance(e){return this.config.maxDist=e,this}numberOfPointers(e){return this.config.numberOfPointers=e,this}}function wP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function SP(t,e){"worklet";let n;return e===void 0?n={changeX:t.translationX,changeY:t.translationY}:n={changeX:t.translationX-e.translationX,changeY:t.translationY-e.translationY},{...t,...n}}class bP extends aa{constructor(){super(),wP(this,"config",{}),this.handlerName="PanGestureHandler"}activeOffsetY(e){return Array.isArray(e)?(this.config.activeOffsetYStart=e[0],this.config.activeOffsetYEnd=e[1]):e<0?this.config.activeOffsetYStart=e:this.config.activeOffsetYEnd=e,this}activeOffsetX(e){return Array.isArray(e)?(this.config.activeOffsetXStart=e[0],this.config.activeOffsetXEnd=e[1]):e<0?this.config.activeOffsetXStart=e:this.config.activeOffsetXEnd=e,this}failOffsetY(e){return Array.isArray(e)?(this.config.failOffsetYStart=e[0],this.config.failOffsetYEnd=e[1]):e<0?this.config.failOffsetYStart=e:this.config.failOffsetYEnd=e,this}failOffsetX(e){return Array.isArray(e)?(this.config.failOffsetXStart=e[0],this.config.failOffsetXEnd=e[1]):e<0?this.config.failOffsetXStart=e:this.config.failOffsetXEnd=e,this}minPointers(e){return this.config.minPointers=e,this}maxPointers(e){return this.config.maxPointers=e,this}minDistance(e){return this.config.minDist=e,this}minVelocity(e){return this.config.minVelocity=e,this}minVelocityX(e){return this.config.minVelocityX=e,this}minVelocityY(e){return this.config.minVelocityY=e,this}averageTouches(e){return this.config.avgTouches=e,this}enableTrackpadTwoFingerGesture(e){return this.config.enableTrackpadTwoFingerGesture=e,this}activateAfterLongPress(e){return this.config.activateAfterLongPress=e,this}onChange(e){return this.handlers.changeEventCalculator=SP,super.onChange(e)}}function _P(t,e){"worklet";let n;return e===void 0?n={scaleChange:t.scale}:n={scaleChange:t.scale/e.scale},{...t,...n}}class DP extends aa{constructor(){super(),this.handlerName="PinchGestureHandler"}onChange(e){return this.handlers.changeEventCalculator=_P,super.onChange(e)}}function OP(t,e){"worklet";let n;return e===void 0?n={rotationChange:t.rotation}:n={rotationChange:t.rotation-e.rotation},{...t,...n}}class TP extends aa{constructor(){super(),this.handlerName="RotationGestureHandler"}onChange(e){return this.handlers.changeEventCalculator=OP,super.onChange(e)}}function PP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class RP extends oi{constructor(){super(),PP(this,"config",{}),this.handlerName="TapGestureHandler",this.shouldCancelWhenOutside(!0)}minPointers(e){return this.config.minPointers=e,this}numberOfTaps(e){return this.config.numberOfTaps=e,this}maxDistance(e){return this.config.maxDist=e,this}maxDuration(e){return this.config.maxDurationMs=e,this}maxDelay(e){return this.config.maxDelayMs=e,this}maxDeltaX(e){return this.config.maxDeltaX=e,this}maxDeltaY(e){return this.config.maxDeltaY=e,this}}function FP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class MP extends oi{constructor(){super(),FP(this,"config",{}),this.handlerName="NativeViewGestureHandler"}shouldActivateOnStart(e){return this.config.shouldActivateOnStart=e,this}disallowInterruption(e){return this.config.disallowInterruption=e,this}}function kP(t,e){"worklet";return t}class BP extends aa{constructor(){super(),this.handlerName="ManualGestureHandler"}onChange(e){return this.handlers.changeEventCalculator=kP,super.onChange(e)}}const La={Tap:()=>new RP,Pan:()=>new bP,Pinch:()=>new DP,Rotation:()=>new TP,Fling:()=>new vP,LongPress:()=>new IP,ForceTouch:()=>new CP,Native:()=>new MP,Manual:()=>new BP,Hover:()=>new sP,Race:(...t)=>new Cs(...t),Simultaneous(...t){return new EP(...t)},Exclusive(...t){return new xP(...t)}};function u0(){return u0=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u0.apply(this,arguments)}const EA=b.forwardRef((t,e)=>b.createElement(ge,u0({ref:e,accessibilityRole:"button"},t)));function yr(){return yr=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},yr.apply(this,arguments)}function It(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const tE=ia(EA,{shouldCancelWhenOutside:!1,shouldActivateOnStart:!1});class nE extends b.Component{constructor(e){super(e),It(this,"lastActive",void 0),It(this,"longPressTimeout",void 0),It(this,"longPressDetected",void 0),It(this,"handleEvent",({nativeEvent:n})=>{const{state:r,oldState:i,pointerInside:a}=n,s=a&&r===L.ACTIVE;s!==this.lastActive&&this.props.onActiveStateChange&&this.props.onActiveStateChange(s),!this.longPressDetected&&i===L.ACTIVE&&r!==L.CANCELLED&&this.lastActive&&this.props.onPress&&this.props.onPress(a),!this.lastActive&&r===(ue.OS!=="android"?L.ACTIVE:L.BEGAN)&&a?(this.longPressDetected=!1,this.props.onLongPress&&(this.longPressTimeout=setTimeout(this.onLongPress,this.props.delayLongPress))):r===L.ACTIVE&&!a&&this.longPressTimeout!==void 0?(clearTimeout(this.longPressTimeout),this.longPressTimeout=void 0):this.longPressTimeout!==void 0&&(r===L.END||r===L.CANCELLED||r===L.FAILED)&&(clearTimeout(this.longPressTimeout),this.longPressTimeout=void 0),this.lastActive=s}),It(this,"onLongPress",()=>{var n,r;this.longPressDetected=!0,(n=(r=this.props).onLongPress)===null||n===void 0||n.call(r)}),It(this,"onHandlerStateChange",n=>{var r,i;(r=(i=this.props).onHandlerStateChange)===null||r===void 0||r.call(i,n),this.handleEvent(n)}),It(this,"onGestureEvent",n=>{var r,i;(r=(i=this.props).onGestureEvent)===null||r===void 0||r.call(i,n),this.handleEvent(n)}),this.lastActive=!1,this.longPressDetected=!1}render(){const{rippleColor:e,...n}=this.props;return b.createElement(tE,yr({ref:this.props.innerRef,rippleColor:_0(e)},n,{onGestureEvent:this.onGestureEvent,onHandlerStateChange:this.onHandlerStateChange}))}}It(nE,"defaultProps",{delayLongPress:600});const Ou=b.forwardRef((t,e)=>b.createElement(nE,yr({innerRef:e},t))),NP=ce.createAnimatedComponent(Ou),GP=ve.create({underlay:{position:"absolute",left:0,right:0,bottom:0,top:0}});class rE extends b.Component{constructor(e){super(e),It(this,"opacity",void 0),It(this,"onActiveStateChange",n=>{var r,i;ue.OS!=="android"&&this.opacity.setValue(n?this.props.activeOpacity:0),(r=(i=this.props).onActiveStateChange)===null||r===void 0||r.call(i,n)}),this.opacity=new ce.Value(0)}render(){const{children:e,style:n,...r}=this.props,i=ve.flatten(n??{});return b.createElement(Ou,yr({},r,{ref:this.props.innerRef,style:i,onActiveStateChange:this.onActiveStateChange}),b.createElement(ce.View,{style:[GP.underlay,{opacity:this.opacity,backgroundColor:this.props.underlayColor,borderRadius:i.borderRadius,borderTopLeftRadius:i.borderTopLeftRadius,borderTopRightRadius:i.borderTopRightRadius,borderBottomLeftRadius:i.borderBottomLeftRadius,borderBottomRightRadius:i.borderBottomRightRadius}]}),e)}}It(rE,"defaultProps",{activeOpacity:.105,underlayColor:"black"});const LP=b.forwardRef((t,e)=>b.createElement(rE,yr({innerRef:e},t)));class iE extends b.Component{constructor(e){super(e),It(this,"opacity",void 0),It(this,"onActiveStateChange",n=>{var r,i;ue.OS!=="android"&&this.opacity.setValue(n?this.props.activeOpacity:1),(r=(i=this.props).onActiveStateChange)===null||r===void 0||r.call(i,n)}),this.opacity=new ce.Value(1)}render(){const{children:e,style:n,innerRef:r,...i}=this.props;return b.createElement(NP,yr({},i,{innerRef:r,onActiveStateChange:this.onActiveStateChange,style:[n,ue.OS==="ios"&&{opacity:this.opacity}]}),e)}}It(iE,"defaultProps",{activeOpacity:.3,borderless:!0});const VP=b.forwardRef((t,e)=>b.createElement(iE,yr({innerRef:e},t)));function Uo(){return Uo=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Uo.apply(this,arguments)}function un(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const _e={UNDETERMINED:0,BEGAN:1,MOVED_OUTSIDE:2};class li extends b.Component{constructor(...e){super(...e),un(this,"pressInTimeout",void 0),un(this,"pressOutTimeout",void 0),un(this,"longPressTimeout",void 0),un(this,"longPressDetected",!1),un(this,"pointerInside",!0),un(this,"STATE",_e.UNDETERMINED),un(this,"onGestureEvent",({nativeEvent:{pointerInside:n}})=>{this.pointerInside!==n&&(n?this.onMoveIn():this.onMoveOut()),this.pointerInside=n}),un(this,"onHandlerStateChange",({nativeEvent:n})=>{const{state:r}=n;if(r===L.CANCELLED||r===L.FAILED)this.moveToState(_e.UNDETERMINED);else if(r===(ue.OS!=="android"?L.ACTIVE:L.BEGAN)&&this.STATE===_e.UNDETERMINED)this.handlePressIn();else if(r===L.END){const s=!this.longPressDetected&&this.STATE!==_e.MOVED_OUTSIDE&&this.pressOutTimeout===null;if(this.handleGoToUndetermined(),s){var i,a;(i=(a=this.props).onPress)===null||i===void 0||i.call(a)}}}),un(this,"onLongPressDetected",()=>{var n,r;this.longPressDetected=!0,(n=(r=this.props).onLongPress)===null||n===void 0||n.call(r)})}handlePressIn(){if(this.props.delayPressIn?this.pressInTimeout=setTimeout(()=>{this.moveToState(_e.BEGAN),this.pressInTimeout=null},this.props.delayPressIn):this.moveToState(_e.BEGAN),this.props.onLongPress){const e=(this.props.delayPressIn||0)+(this.props.delayLongPress||0);this.longPressTimeout=setTimeout(this.onLongPressDetected,e)}}handleMoveOutside(){this.props.delayPressOut?this.pressOutTimeout=this.pressOutTimeout||setTimeout(()=>{this.moveToState(_e.MOVED_OUTSIDE),this.pressOutTimeout=null},this.props.delayPressOut):this.moveToState(_e.MOVED_OUTSIDE)}handleGoToUndetermined(){clearTimeout(this.pressOutTimeout),this.props.delayPressOut?this.pressOutTimeout=setTimeout(()=>{this.STATE===_e.UNDETERMINED&&this.moveToState(_e.BEGAN),this.moveToState(_e.UNDETERMINED),this.pressOutTimeout=null},this.props.delayPressOut):(this.STATE===_e.UNDETERMINED&&this.moveToState(_e.BEGAN),this.moveToState(_e.UNDETERMINED))}componentDidMount(){this.reset()}reset(){this.longPressDetected=!1,this.pointerInside=!0,clearTimeout(this.pressInTimeout),clearTimeout(this.pressOutTimeout),clearTimeout(this.longPressTimeout),this.pressOutTimeout=null,this.longPressTimeout=null,this.pressInTimeout=null}moveToState(e){var n,r;if(e!==this.STATE){if(e===_e.BEGAN){var i,a;(i=(a=this.props).onPressIn)===null||i===void 0||i.call(a)}else if(e===_e.MOVED_OUTSIDE){var s,o;(s=(o=this.props).onPressOut)===null||s===void 0||s.call(o)}else if(e===_e.UNDETERMINED&&(this.reset(),this.STATE===_e.BEGAN)){var l,u;(l=(u=this.props).onPressOut)===null||l===void 0||l.call(u)}(n=(r=this.props).onStateChange)===null||n===void 0||n.call(r,this.STATE,e),this.STATE=e}}componentWillUnmount(){this.reset()}onMoveIn(){this.STATE===_e.MOVED_OUTSIDE&&this.moveToState(_e.BEGAN)}onMoveOut(){clearTimeout(this.longPressTimeout),this.longPressTimeout=null,this.STATE===_e.BEGAN&&this.handleMoveOutside()}render(){var e,n;const r=(e=typeof this.props.hitSlop=="number"?{top:this.props.hitSlop,left:this.props.hitSlop,bottom:this.props.hitSlop,right:this.props.hitSlop}:this.props.hitSlop)!==null&&e!==void 0?e:void 0,i={accessible:this.props.accessible!==!1,accessibilityLabel:this.props.accessibilityLabel,accessibilityHint:this.props.accessibilityHint,accessibilityRole:this.props.accessibilityRole,accessibilityState:this.props.accessibilityState,accessibilityActions:this.props.accessibilityActions,onAccessibilityAction:this.props.onAccessibilityAction,nativeID:this.props.nativeID,onLayout:this.props.onLayout};return b.createElement(Ou,Uo({style:this.props.containerStyle,onHandlerStateChange:this.props.disabled?void 0:this.onHandlerStateChange,onGestureEvent:this.onGestureEvent,hitSlop:r,userSelect:this.props.userSelect,shouldActivateOnStart:this.props.shouldActivateOnStart,disallowInterruption:this.props.disallowInterruption,testID:this.props.testID,touchSoundDisabled:(n=this.props.touchSoundDisabled)!==null&&n!==void 0?n:!1,enabled:!this.props.disabled},this.props.extraButtonProps),b.createElement(ce.View,Uo({},i,{style:this.props.style}),this.props.children))}}un(li,"defaultProps",{delayLongPress:600,extraButtonProps:{rippleColor:"transparent",exclusive:!0}});function c0(){return c0=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},c0.apply(this,arguments)}const xA=b.forwardRef((t,e)=>b.createElement(li,c0({ref:e},t)));xA.defaultProps=li.defaultProps;function d0(){return d0=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},d0.apply(this,arguments)}function Va(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class aE extends b.Component{constructor(...e){super(...e),Va(this,"getChildStyleOpacityWithDefault",()=>{const n=ve.flatten(this.props.style)||{};return n.opacity==null?1:n.opacity.valueOf()}),Va(this,"opacity",new ce.Value(this.getChildStyleOpacityWithDefault())),Va(this,"setOpacityTo",(n,r)=>{var i;ce.timing(this.opacity,{toValue:n,duration:r,easing:UA.inOut(UA.quad),useNativeDriver:(i=this.props.useNativeAnimations)!==null&&i!==void 0?i:!0}).start()}),Va(this,"onStateChange",(n,r)=>{r===_e.BEGAN?this.setOpacityTo(this.props.activeOpacity,0):(r===_e.UNDETERMINED||r===_e.MOVED_OUTSIDE)&&this.setOpacityTo(this.getChildStyleOpacityWithDefault(),150)})}render(){const{style:e={},...n}=this.props;return b.createElement(li,d0({},n,{style:[e,{opacity:this.opacity}],onStateChange:this.onStateChange}),this.props.children?this.props.children:b.createElement(ge,null))}}Va(aE,"defaultProps",{...li.defaultProps,activeOpacity:.2});function A0(){return A0=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},A0.apply(this,arguments)}function Ha(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class sE extends b.Component{constructor(e){super(e),Ha(this,"showUnderlay",()=>{var n,r;this.hasPressHandler()&&(this.setState({extraChildStyle:{opacity:this.props.activeOpacity},extraUnderlayStyle:{backgroundColor:this.props.underlayColor}}),(n=(r=this.props).onShowUnderlay)===null||n===void 0||n.call(r))}),Ha(this,"hasPressHandler",()=>this.props.onPress||this.props.onPressIn||this.props.onPressOut||this.props.onLongPress),Ha(this,"hideUnderlay",()=>{var n,r;this.setState({extraChildStyle:null,extraUnderlayStyle:null}),(n=(r=this.props).onHideUnderlay)===null||n===void 0||n.call(r)}),Ha(this,"onStateChange",(n,r)=>{r===_e.BEGAN?this.showUnderlay():(r===_e.UNDETERMINED||r===_e.MOVED_OUTSIDE)&&this.hideUnderlay()}),this.state={extraChildStyle:null,extraUnderlayStyle:null}}renderChildren(){if(!this.props.children)return b.createElement(ge,null);const e=b.Children.only(this.props.children);return b.cloneElement(e,{style:ve.compose(e.props.style,this.state.extraChildStyle)})}render(){const{style:e={},...n}=this.props,{extraUnderlayStyle:r}=this.state;return b.createElement(li,A0({},n,{style:[e,r],onStateChange:this.onStateChange}),this.renderChildren())}}Ha(sE,"defaultProps",{...li.defaultProps,activeOpacity:.85,delayPressOut:100,underlayColor:"black"});function f0(){return f0=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},f0.apply(this,arguments)}const oE=ia(Ji,{disallowInterruption:!1}),HP=ia(Wx,{shouldCancelWhenOutside:!1,shouldActivateOnStart:!0,disallowInterruption:!0}),UP=ia(T0),WP=()=>(console.warn("DrawerLayoutAndroid is not supported on web!"),b.createElement(ge,null)),XP=ia(ge),YP=b.forwardRef((t,e)=>b.createElement(Gv,f0({ref:e},t,{renderScrollComponent:n=>b.createElement(oE,n)})));function h0(){return h0=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},h0.apply(this,arguments)}function qe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const Ph=.05;class lE extends b.Component{constructor(e){super(e),qe(this,"onGestureEvent",void 0),qe(this,"transX",void 0),qe(this,"showLeftAction",void 0),qe(this,"leftActionTranslate",void 0),qe(this,"showRightAction",void 0),qe(this,"rightActionTranslate",void 0),qe(this,"updateAnimatedEvent",(r,i)=>{const{friction:a,overshootFriction:s}=r,{dragX:o,rowTranslation:l,leftWidth:u=0,rowWidth:c=0}=i,{rightOffset:A=c}=i,d=Math.max(0,c-A),{overshootLeft:f=u>0,overshootRight:p=d>0}=r,h=ce.add(l,o.interpolate({inputRange:[0,a],outputRange:[0,1]})).interpolate({inputRange:[-d-1,-d,u,u+1],outputRange:[-d-(p?1/s:0),-d,u,u+(f?1/s:0)]});this.transX=h,this.showLeftAction=u>0?h.interpolate({inputRange:[-1,0,u],outputRange:[0,0,1]}):new ce.Value(0),this.leftActionTranslate=this.showLeftAction.interpolate({inputRange:[0,Number.MIN_VALUE],outputRange:[-1e4,0],extrapolate:"clamp"}),this.showRightAction=d>0?h.interpolate({inputRange:[-d,0,1],outputRange:[1,0,0]}):new ce.Value(0),this.rightActionTranslate=this.showRightAction.interpolate({inputRange:[0,Number.MIN_VALUE],outputRange:[-1e4,0],extrapolate:"clamp"})}),qe(this,"onTapHandlerStateChange",({nativeEvent:r})=>{r.oldState===L.ACTIVE&&this.close()}),qe(this,"onHandlerStateChange",r=>{if(r.nativeEvent.oldState===L.ACTIVE&&this.handleRelease(r),r.nativeEvent.state===L.ACTIVE){const{velocityX:l,translationX:u}=r.nativeEvent,{rowState:c}=this.state,{friction:A}=this.props,d=(u+Ph*l)/A,f=c===-1?"right":c===1||d>0?"left":"right";if(c===0){var i,a;(i=(a=this.props).onSwipeableOpenStartDrag)===null||i===void 0||i.call(a,f)}else{var s,o;(s=(o=this.props).onSwipeableCloseStartDrag)===null||s===void 0||s.call(o,f)}}}),qe(this,"handleRelease",r=>{const{velocityX:i,translationX:a}=r.nativeEvent,{leftWidth:s=0,rowWidth:o=0,rowState:l}=this.state,{rightOffset:u=o}=this.state,c=o-u,{friction:A,leftThreshold:d=s/2,rightThreshold:f=c/2}=this.props,p=this.currentOffset()+a/A,h=(a+Ph*i)/A;let v=0;l===0?h>d?v=s:h<-f&&(v=-c):l===1?h>-d&&(v=s):h<f&&(v=-c),this.animateRow(p,v,i/A)}),qe(this,"animateRow",(r,i,a)=>{const{dragX:s,rowTranslation:o}=this.state;if(s.setValue(0),o.setValue(r),this.setState({rowState:Math.sign(i)}),ce.spring(o,{restSpeedThreshold:1.7,restDisplacementThreshold:.4,velocity:a,bounciness:0,toValue:i,useNativeDriver:this.props.useNativeAnimations,...this.props.animationOptions}).start(({finished:C})=>{if(C)if(i>0){var m,g,y,x;(m=(g=this.props).onSwipeableLeftOpen)===null||m===void 0||m.call(g),(y=(x=this.props).onSwipeableOpen)===null||y===void 0||y.call(x,"left",this)}else if(i<0){var w,S,D,I;(w=(S=this.props).onSwipeableRightOpen)===null||w===void 0||w.call(S),(D=(I=this.props).onSwipeableOpen)===null||D===void 0||D.call(I,"right",this)}else{var _,O;const T=r>0?"left":"right";(_=(O=this.props).onSwipeableClose)===null||_===void 0||_.call(O,T,this)}}),i>0){var l,u,c,A;(l=(u=this.props).onSwipeableLeftWillOpen)===null||l===void 0||l.call(u),(c=(A=this.props).onSwipeableWillOpen)===null||c===void 0||c.call(A,"left")}else if(i<0){var d,f,p,h;(d=(f=this.props).onSwipeableRightWillOpen)===null||d===void 0||d.call(f),(p=(h=this.props).onSwipeableWillOpen)===null||p===void 0||p.call(h,"right")}else{var v,E;const C=r>0?"left":"right";(v=(E=this.props).onSwipeableWillClose)===null||v===void 0||v.call(E,C)}}),qe(this,"onRowLayout",({nativeEvent:r})=>{this.setState({rowWidth:r.layout.width})}),qe(this,"currentOffset",()=>{const{leftWidth:r=0,rowWidth:i=0,rowState:a}=this.state,{rightOffset:s=i}=this.state,o=i-s;return a===1?r:a===-1?-o:0}),qe(this,"close",()=>{this.animateRow(this.currentOffset(),0)}),qe(this,"openLeft",()=>{const{leftWidth:r=0}=this.state;this.animateRow(this.currentOffset(),r)}),qe(this,"openRight",()=>{const{rowWidth:r=0}=this.state,{rightOffset:i=r}=this.state,a=r-i;this.animateRow(this.currentOffset(),-a)}),qe(this,"reset",()=>{const{dragX:r,rowTranslation:i}=this.state;r.setValue(0),i.setValue(0),this.setState({rowState:0})});const n=new ce.Value(0);this.state={dragX:n,rowTranslation:new ce.Value(0),rowState:0,leftWidth:void 0,rightOffset:void 0,rowWidth:void 0},this.updateAnimatedEvent(e,this.state),this.onGestureEvent=ce.event([{nativeEvent:{translationX:n}}],{useNativeDriver:e.useNativeAnimations})}shouldComponentUpdate(e,n){return(this.props.friction!==e.friction||this.props.overshootLeft!==e.overshootLeft||this.props.overshootRight!==e.overshootRight||this.props.overshootFriction!==e.overshootFriction||this.state.leftWidth!==n.leftWidth||this.state.rightOffset!==n.rightOffset||this.state.rowWidth!==n.rowWidth)&&this.updateAnimatedEvent(e,n),!0}render(){const{rowState:e}=this.state,{children:n,renderLeftActions:r,renderRightActions:i,dragOffsetFromLeftEdge:a=10,dragOffsetFromRightEdge:s=10}=this.props,o=r&&b.createElement(ce.View,{style:[xc.leftActions,{transform:[{translateX:this.leftActionTranslate}]}]},r(this.showLeftAction,this.transX,this),b.createElement(ge,{onLayout:({nativeEvent:u})=>this.setState({leftWidth:u.layout.x})})),l=i&&b.createElement(ce.View,{style:[xc.rightActions,{transform:[{translateX:this.rightActionTranslate}]}]},i(this.showRightAction,this.transX,this),b.createElement(ge,{onLayout:({nativeEvent:u})=>this.setState({rightOffset:u.layout.x})}));return b.createElement(CA,h0({activeOffsetX:[-s,a],touchAction:"pan-y"},this.props,{onGestureEvent:this.onGestureEvent,onHandlerStateChange:this.onHandlerStateChange}),b.createElement(ce.View,{onLayout:this.onRowLayout,style:[xc.container,this.props.containerStyle]},o,l,b.createElement(mA,{enabled:e!==0,touchAction:"pan-y",onHandlerStateChange:this.onTapHandlerStateChange},b.createElement(ce.View,{pointerEvents:e===0?"auto":"box-only",style:[{transform:[{translateX:this.transX}]},this.props.childrenContainerStyle]},n))))}}qe(lE,"defaultProps",{friction:1,overshootFriction:1,useNativeAnimations:!0});const xc=ve.create({container:{overflow:"hidden"},leftActions:{...ve.absoluteFillObject,flexDirection:md.isRTL?"row-reverse":"row"},rightActions:{...ve.absoluteFillObject,flexDirection:md.isRTL?"row":"row-reverse"}}),Rh=t=>({left:t,right:t,top:t,bottom:t}),zP=(t,e)=>{var n,r,i,a,s,o,l,u;return{left:((n=t.left)!==null&&n!==void 0?n:0)+((r=e.left)!==null&&r!==void 0?r:0),right:((i=t.right)!==null&&i!==void 0?i:0)+((a=e.right)!==null&&a!==void 0?a:0),top:((s=t.top)!==null&&s!==void 0?s:0)+((o=e.top)!==null&&o!==void 0?o:0),bottom:((l=t.bottom)!==null&&l!==void 0?l:0)+((u=e.bottom)!==null&&u!==void 0?u:0)}},Fh=(t,e,n)=>({identifier:t.id,locationX:t.x,locationY:t.y,pageX:t.absoluteX,pageY:t.absoluteY,target:n,timestamp:e,touches:[],changedTouches:[]}),KP=(t,e,n)=>({identifier:t.handlerTag,locationX:t.x,locationY:t.y,pageX:t.absoluteX,pageY:t.absoluteY,target:n,timestamp:e,touches:[],changedTouches:[]}),$P=(t,e,n)=>{var r,i,a,s,o,l,u,c;return((r=n==null?void 0:n.x)!==null&&r!==void 0?r:0)<((i=e.right)!==null&&i!==void 0?i:0)+t.width&&((a=n==null?void 0:n.y)!==null&&a!==void 0?a:0)<((s=e.bottom)!==null&&s!==void 0?s:0)+t.height&&((o=n==null?void 0:n.x)!==null&&o!==void 0?o:0)>-((l=e.left)!==null&&l!==void 0?l:0)&&((u=n==null?void 0:n.y)!==null&&u!==void 0?u:0)>-((c=e.top)!==null&&c!==void 0?c:0)},Ys=t=>{const e=Date.now(),n=0,r=KP(t,e,n);return{nativeEvent:{touches:[r],changedTouches:[r],identifier:r.identifier,locationX:t.x,locationY:t.y,pageX:t.absoluteX,pageY:t.absoluteY,target:n,timestamp:e,force:void 0}}},kr=t=>{var e,n,r,i,a,s,o,l;const u=Date.now(),c=0,A=t.allTouches.map(f=>Fh(f,u,c)),d=t.changedTouches.map(f=>Fh(f,u,c));return{nativeEvent:{touches:A,changedTouches:d,identifier:t.handlerTag,locationX:(e=(n=t.allTouches.at(0))===null||n===void 0?void 0:n.x)!==null&&e!==void 0?e:-1,locationY:(r=(i=t.allTouches.at(0))===null||i===void 0?void 0:i.y)!==null&&r!==void 0?r:-1,pageX:(a=(s=t.allTouches.at(0))===null||s===void 0?void 0:s.absoluteX)!==null&&a!==void 0?a:-1,pageY:(o=(l=t.allTouches.at(0))===null||l===void 0?void 0:l.absoluteY)!==null&&o!==void 0?o:-1,target:c,timestamp:u,force:void 0}}},qP=new Set(["alignContent","alignItems","flexBasis","flexDirection","flexWrap","rowGap","gap","columnGap","justifyContent","overflow","padding","paddingBottom","paddingEnd","paddingHorizontal","paddingLeft","paddingRight","paddingStart","paddingTop","paddingVertical","start","end","direction"]),jP=t=>{const e={},n={};for(const r in t)qP.has(r)?n[r]=t[r]:e[r]=t[r];return[n,e]};function p0(){return p0=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},p0.apply(this,arguments)}const QP=500;function ZP(t){var e,n;const{testOnly_pressed:r,hitSlop:i,pressRetentionOffset:a,delayHoverIn:s,onHoverIn:o,delayHoverOut:l,onHoverOut:u,delayLongPress:c,unstable_pressDelay:A,onPress:d,onPressIn:f,onPressOut:p,onLongPress:h,style:v,children:E,android_disableSound:C,android_ripple:m,disabled:g,...y}=t,[x,w]=b.useState(r??!1),S=b.useRef(null),D=b.useRef(!0),I=b.useRef(!1),_=b.useRef(!1),O=b.useMemo(()=>typeof i=="number"?Rh(i):i??{},[i]),T=b.useMemo(()=>typeof a=="number"?Rh(a):a??{},[a]),R=b.useRef(null),P=b.useRef(null),F=b.useMemo(()=>La.Hover().manualActivation(!0).cancelsTouchesInView(!1).onBegin(ne=>{if(P.current&&clearTimeout(P.current),s){R.current=setTimeout(()=>o==null?void 0:o(Ys(ne)),s);return}o==null||o(Ys(ne))}).onFinalize(ne=>{if(R.current&&clearTimeout(R.current),l){P.current=setTimeout(()=>u==null?void 0:u(Ys(ne)),l);return}u==null||u(Ys(ne))}),[s,l,o,u]),H=b.useRef(null),k=b.useRef(!1),V=b.useRef(null),W=b.useCallback(ne=>{G.current&&(V.current=ne),k.current&&(V.current=null,f==null||f(ne),D.current=!0,H.current=null,w(!0))},[f]),B=b.useCallback(ne=>{!I.current||ne.nativeEvent.touches.length>ne.nativeEvent.changedTouches.length||(A&&H.current!==null&&(clearTimeout(H.current),W(ne)),V.current&&(f==null||f(V.current),V.current=null),p==null||p(ne),D.current&&(d==null||d(ne)),z.current&&(clearTimeout(z.current),z.current=null),k.current=!1,I.current=!1,D.current=!0,w(!1))},[d,f,p,W,A]),G=b.useRef(!1),N=b.useRef(null),M=b.useRef(!1),U=b.useCallback(ne=>{k.current&&(I.current&&(h==null||h(kr(ne)),D.current=!1),z.current&&(clearTimeout(z.current),z.current=null))},[h]),z=b.useRef(null),K=(c??QP)+(A??0),Y=b.useMemo(()=>La.LongPress().minDuration(Jf).maxDistance(Jf).cancelsTouchesInView(!1).onTouchesDown(ne=>{var le;G.current=!0,(le=S.current)===null||le===void 0||le.measure((ft,Tt,xt,Je)=>{var rt;if(!$P({width:xt,height:Je},O,ne.changedTouches.at(-1))||I.current||M.current){M.current=!1,N.current=null,G.current=!1;return}I.current=!0,z.current===null&&(z.current=setTimeout(()=>U(ne),K)),A?H.current=setTimeout(()=>{W(kr(ne))},A):W(kr(ne)),(rt=N.current)===null||rt===void 0||rt.call(N),N.current=null,G.current=!1})}).onTouchesUp(ne=>{if(G.current){N.current=()=>B(kr(ne));return}V.current!==null&&(_.current=!0),B(kr(ne))}).onTouchesCancelled(ne=>{if(D.current=!1,G.current){M.current=!0,N.current=()=>B(kr(ne));return}!I.current||ne.allTouches.length>ne.changedTouches.length||B(kr(ne))}),[U,K,O,W,B,A]),ee=b.useMemo(()=>La.Native().onBegin(()=>{ue.OS==="android"&&(k.current=!0)}).onStart(()=>{if(ue.OS==="web"&&(k.current=!0),ue.OS==="ios"){if(V.current){k.current=!0,I.current?(W(V.current),V.current=null):(B(V.current),k.current=!1);return}if(I.current){k.current=!0;return}if(_.current){_.current=!1;return}k.current=!0}}),[W,B]),te=zP(O,T),re=g!==!0,Q=[Y,F,ee];for(const ne of Q)ne.enabled(re),ne.runOnJS(!0),ne.hitSlop(te),ne.shouldCancelWhenOutside(!1),ue.OS!=="web"&&ne.shouldCancelWhenOutside(!0);ee.hitSlop(O);const ae=La.Simultaneous(...Q),Ie=m?void 0:"transparent",we=ue.OS==="web"?{cursor:"pointer"}:{},Ce=typeof v=="function"?v({pressed:x}):v,Ee=typeof E=="function"?E({pressed:x}):E,Se=ve.flatten(Ce??{}),[Ge,Ze]=jP(Se);return xe.createElement(ge,p0({},y,{style:Ze}),xe.createElement(eE,{gesture:ae},xe.createElement(EA,{ref:S,hitSlop:te,enabled:re,touchSoundDisabled:C??void 0,rippleColor:_0((e=m==null?void 0:m.color)!==null&&e!==void 0?e:Ie),rippleRadius:(n=m==null?void 0:m.radius)!==null&&n!==void 0?n:void 0,style:[{width:"100%",height:"100%"},we,Ge]},Ee,null)))}function Ve(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const JP=.05,ya="Idle",yc="Dragging",Mh="Settling";class yA extends b.Component{constructor(e){super(e),Ve(this,"openValue",void 0),Ve(this,"onGestureEvent",void 0),Ve(this,"accessibilityIsModalView",b.createRef()),Ve(this,"pointerEventsView",b.createRef()),Ve(this,"panGestureHandler",b.createRef()),Ve(this,"drawerShown",!1),Ve(this,"updateAnimatedEvent",(a,s)=>{const{drawerPosition:o,drawerWidth:l,drawerType:u}=a,{dragX:c,touchX:A,drawerTranslation:d,containerWidth:f}=s;let p=c,h=A;o!=="left"?(p=ce.multiply(new ce.Value(-1),c),h=ce.add(new ce.Value(f),ce.multiply(new ce.Value(-1),A)),A.setValue(f)):A.setValue(0);let v=p;if(u==="front"){const m=ce.add(h,ce.multiply(new ce.Value(-1),p)).interpolate({inputRange:[l-1,l,l+1],outputRange:[0,0,1]});v=ce.add(p,m)}this.openValue=ce.add(v,d).interpolate({inputRange:[0,l],outputRange:[0,1],extrapolate:"clamp"});const E={useNativeDriver:a.useNativeAnimations};this.props.onDrawerSlide&&(E.listener=C=>{var m,g;const x=Math.floor(Math.abs(C.nativeEvent.translationX))/this.state.containerWidth;(m=(g=this.props).onDrawerSlide)===null||m===void 0||m.call(g,x)}),this.onGestureEvent=ce.event([{nativeEvent:{translationX:c,x:A}}],E)}),Ve(this,"handleContainerLayout",({nativeEvent:a})=>{this.setState({containerWidth:a.layout.width})}),Ve(this,"emitStateChanged",(a,s)=>{var o,l;(o=(l=this.props).onDrawerStateChanged)===null||o===void 0||o.call(l,a,s)}),Ve(this,"openingHandlerStateChange",({nativeEvent:a})=>{a.oldState===L.ACTIVE?this.handleRelease({nativeEvent:a}):a.state===L.ACTIVE&&(this.emitStateChanged(yc,!1),this.setState({drawerState:yc}),this.props.keyboardDismissMode==="on-drag"&&Co.dismiss(),this.props.hideStatusBar&&VA.setHidden(!0,this.props.statusBarAnimation||"slide"))}),Ve(this,"onTapHandlerStateChange",({nativeEvent:a})=>{this.drawerShown&&a.oldState===L.ACTIVE&&this.props.drawerLockMode!=="locked-open"&&this.closeDrawer()}),Ve(this,"handleRelease",({nativeEvent:a})=>{const{drawerWidth:s,drawerPosition:o,drawerType:l}=this.props,{containerWidth:u}=this.state;let{translationX:c,velocityX:A,x:d}=a;o!=="left"&&(c=-c,d=u-d,A=-A);const f=d-c;let p=0;l==="front"&&(p=f>s?f-s:0);const h=c+p+(this.drawerShown?s:0);h+JP*A>s/2?this.animateDrawer(h,s,A):this.animateDrawer(h,0,A)}),Ve(this,"updateShowing",a=>{var s,o,l;this.drawerShown=a,(s=this.accessibilityIsModalView.current)===null||s===void 0||s.setNativeProps({accessibilityViewIsModal:a}),(o=this.pointerEventsView.current)===null||o===void 0||o.setNativeProps({pointerEvents:a?"auto":"none"});const{drawerPosition:u,minSwipeDistance:c,edgeWidth:A}=this.props,d=u==="left",f=(d?1:-1)*(this.drawerShown?-1:1),p=d?{left:0,width:a?void 0:A}:{right:0,width:a?void 0:A};(l=this.panGestureHandler.current)===null||l===void 0||l.setNativeProps({hitSlop:p,activeOffsetX:f*c})}),Ve(this,"animateDrawer",(a,s,o,l)=>{if(this.state.dragX.setValue(0),this.state.touchX.setValue(this.props.drawerPosition==="left"?0:this.state.containerWidth),a!=null){let c=a;this.props.useNativeAnimations&&(a<s&&o>0?c=Math.min(a+o/60,s):a>s&&o<0&&(c=Math.max(a+o/60,s))),this.state.drawerTranslation.setValue(c)}const u=s!==0;this.updateShowing(u),this.emitStateChanged(Mh,u),this.setState({drawerState:Mh}),this.props.hideStatusBar&&VA.setHidden(u,this.props.statusBarAnimation||"slide"),ce.spring(this.state.drawerTranslation,{velocity:o,bounciness:0,toValue:s,useNativeDriver:this.props.useNativeAnimations,speed:l??void 0}).start(({finished:c})=>{if(c)if(this.emitStateChanged(ya,u),this.setState({drawerOpened:u}),this.state.drawerState!==yc&&this.setState({drawerState:ya}),u){var A,d;(A=(d=this.props).onDrawerOpen)===null||A===void 0||A.call(d)}else{var f,p;(f=(p=this.props).onDrawerClose)===null||f===void 0||f.call(p)}})}),Ve(this,"openDrawer",(a={})=>{this.animateDrawer(void 0,this.props.drawerWidth,a.velocity?a.velocity:0,a.speed),this.forceUpdate()}),Ve(this,"closeDrawer",(a={})=>{this.animateDrawer(void 0,0,a.velocity?a.velocity:0,a.speed),this.forceUpdate()}),Ve(this,"renderOverlay",()=>{Oo(this.openValue,"should be set");let a;this.state.drawerState!==ya?a=this.openValue:a=this.state.drawerOpened?1:0;const s={opacity:a,backgroundColor:this.props.overlayColor};return b.createElement(mA,{onHandlerStateChange:this.onTapHandlerStateChange},b.createElement(ce.View,{pointerEvents:this.drawerShown?"auto":"none",ref:this.pointerEventsView,style:[Ia.overlay,s]}))}),Ve(this,"renderDrawer",()=>{const{drawerBackgroundColor:a,drawerWidth:s,drawerPosition:o,drawerType:l,drawerContainerStyle:u,contentContainerStyle:c}=this.props,A=o==="left",d=l!=="back",f=l!=="front",p=md.isRTL?A:!A,h={backgroundColor:a,width:s},v=this.openValue;Oo(v,"should be set");let E;f&&(E={transform:[{translateX:v.interpolate({inputRange:[0,1],outputRange:A?[0,s]:[0,-s],extrapolate:"clamp"})}]});let C=0;if(d){const g=A?-s:s;this.state.drawerState!==ya?C=v.interpolate({inputRange:[0,1],outputRange:[g,0],extrapolate:"clamp"}):C=this.state.drawerOpened?0:g}const m={transform:[{translateX:C}],flexDirection:p?"row-reverse":"row"};return b.createElement(ce.View,{style:Ia.main,onLayout:this.handleContainerLayout},b.createElement(ce.View,{style:[l==="front"?Ia.containerOnBack:Ia.containerInFront,E,c],importantForAccessibility:this.drawerShown?"no-hide-descendants":"yes"},typeof this.props.children=="function"?this.props.children(this.openValue):this.props.children,this.renderOverlay()),b.createElement(ce.View,{pointerEvents:"box-none",ref:this.accessibilityIsModalView,accessibilityViewIsModal:this.drawerShown,style:[Ia.drawerContainer,m,u]},b.createElement(ge,{style:h},this.props.renderNavigationView(this.openValue))))}),Ve(this,"setPanGestureRef",a=>{var s,o;this.panGestureHandler.current=a,(s=(o=this.props).onGestureRef)===null||s===void 0||s.call(o,a)});const n=new ce.Value(0),r=new ce.Value(0),i=new ce.Value(0);this.state={dragX:n,touchX:r,drawerTranslation:i,containerWidth:0,drawerState:ya,drawerOpened:!1},this.updateAnimatedEvent(e,this.state)}shouldComponentUpdate(e,n){return(this.props.drawerPosition!==e.drawerPosition||this.props.drawerWidth!==e.drawerWidth||this.props.drawerType!==e.drawerType||this.state.containerWidth!==n.containerWidth)&&this.updateAnimatedEvent(e,n),!0}render(){const{drawerPosition:e,drawerLockMode:n,edgeWidth:r,minSwipeDistance:i}=this.props,a=e==="left",s=(a?1:-1)*(this.drawerShown?-1:1),o=a?{left:0,width:this.drawerShown?void 0:r}:{right:0,width:this.drawerShown?void 0:r};return b.createElement(CA,{userSelect:this.props.userSelect,activeCursor:this.props.activeCursor,mouseButton:this.props.mouseButton,enableContextMenu:this.props.enableContextMenu,ref:this.setPanGestureRef,hitSlop:o,activeOffsetX:s*i,failOffsetY:[-15,15],onGestureEvent:this.onGestureEvent,onHandlerStateChange:this.openingHandlerStateChange,enableTrackpadTwoFingerGesture:this.props.enableTrackpadTwoFingerGesture,enabled:n!=="locked-closed"&&n!=="locked-open"},this.renderDrawer())}}Ve(yA,"defaultProps",{drawerWidth:200,drawerPosition:"left",useNativeAnimations:!0,drawerType:"front",edgeWidth:20,minSwipeDistance:3,overlayColor:"rgba(0, 0, 0, 0.7)",drawerLockMode:"unlocked",enableTrackpadTwoFingerGesture:!1});Ve(yA,"positions",{Left:"left",Right:"right"});const Ia=ve.create({drawerContainer:{...ve.absoluteFillObject,zIndex:1001,flexDirection:"row"},containerInFront:{...ve.absoluteFillObject,zIndex:1002},containerOnBack:{...ve.absoluteFillObject},main:{flex:1,zIndex:0,overflow:"hidden"},overlay:{...ve.absoluteFillObject,zIndex:1e3}});I4();const e8=Object.freeze(Object.defineProperty({__proto__:null,BaseButton:Ou,BorderlessButton:VP,Directions:Xr,DrawerLayout:yA,DrawerLayoutAndroid:WP,FlatList:YP,FlingGestureHandler:$4,ForceTouchGestureHandler:HC,Gesture:La,GestureDetector:eE,GestureHandlerRootView:kC,get HoverEffect(){return s0},LongPressGestureHandler:L4,get MouseButton(){return fn},NativeViewGestureHandler:$C,PanGestureHandler:CA,PinchGestureHandler:X4,get PointerType(){return St},Pressable:ZP,PureNativeButton:EA,RawButton:tE,RectButton:LP,RefreshControl:XP,RotationGestureHandler:z4,ScrollView:oE,State:L,Swipeable:lE,Switch:HP,TapGestureHandler:mA,TextInput:UP,TouchableHighlight:sE,TouchableNativeFeedback:Dx,TouchableOpacity:aE,TouchableWithoutFeedback:xA,createNativeWrapper:ia,enableExperimentalWebImplementation:V2,enableLegacyWebImplementation:H2,gestureHandlerRootHOC:S4},Symbol.toStringTag,{value:"Module"})),uE=us(e8);var zs={},kh;function t8(){if(kh)return zs;kh=1,Object.defineProperty(zs,"__esModule",{value:!0}),zs.useAutoPlay=r;var t=n(b);function e(i){if(typeof WeakMap!="function")return null;var a=new WeakMap,s=new WeakMap;return(e=function(l){return l?s:a})(i)}function n(i,a){if(i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var s=e(a);if(s&&s.has(i))return s.get(i);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=l?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(o,u,c):o[u]=i[u]}return o.default=i,s&&s.set(i,o),o}function r(i){var a=i.autoPlay,s=a===void 0?!1:a,o=i.autoPlayReverse,l=o===void 0?!1:o,u=i.autoPlayInterval,c=i.carouselController,A=c.prev,d=c.next,f=t.useRef(),p=t.useRef(!s),h=t.useCallback(function(){p.current||(f.current&&clearTimeout(f.current),f.current=setTimeout(function(){l?A({onFinished:h}):d({onFinished:h})},u))},[l,u,A,d]),v=t.useCallback(function(){s&&(f.current&&clearTimeout(f.current),p.current=!0)},[s]),E=t.useCallback(function(){s&&(p.current=!1,h())},[h,s]);return t.useEffect(function(){return s?E():v(),v},[v,E,s]),{pause:v,start:E}}return zs}var Ks={},or={},Bh;function IA(){if(Bh)return or;Bh=1,Object.defineProperty(or,"__esModule",{value:!0}),or.Easing=or.DATA_LENGTH=void 0;var t=Ot,e;or.DATA_LENGTH=e,function(r){r[r.SINGLE_ITEM=1]="SINGLE_ITEM",r[r.DOUBLE_ITEM=2]="DOUBLE_ITEM"}(e||(or.DATA_LENGTH=e={}));var n={easeOutQuart:t.Easing.bezier(.25,1,.5,1)};return or.Easing=n,or}var On={},Nh;function Tu(){if(Nh)return On;Nh=1,Object.defineProperty(On,"__esModule",{value:!0}),On.computedFillDataWithAutoFillData=c,On.computedOffsetXValueWithAutoFillData=void 0,On.computedRealIndexWithAutoFillData=u,On.convertToSharedIndex=void 0;var t=IA(),e=t.DATA_LENGTH.SINGLE_ITEM,n=t.DATA_LENGTH.DOUBLE_ITEM,r={code:`function isAutoFillData(params) { return !!params.loop && !!params.autoFillData; }`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computedWithAutoFillData.ts",sourceMap:'{"version":3,"names":["isAutoFillData","params","loop","autoFillData"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computedWithAutoFillData.ts"],"mappings":"AAIA,SAAAA,cAASA,CAAeC,MAAA,EAAgD;EAEtE,OAAO,CAAC,CAACA,MAAM,CAACC,IAAI,IAAI,CAAC,CAACD,MAAM,CAACE,YAAY;AAC/C"}'},i=function(){var A=[new $.Error,1,-27],d=function(p){return!!p.loop&&!!p.autoFillData};return d._closure={},d.__initData=r,d.__workletHash=7389651216713,d.__stackDetails=A,d.__version="3.3.0",d}(),a={code:`function convertToSharedIndex(params) { const { @@ -68,7 +68,7 @@ Supported values: ["extend", "clamp", "identity", Extrapolatation.CLAMP, Extrapo } } return index; -}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computedWithAutoFillData.ts",sourceMap:'{"version":3,"names":["convertToSharedIndex","params","isAutoFillData","SINGLE_ITEM","DOUBLE_ITEM","_closure","loop","rawDataLength","index","autoFillData"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computedWithAutoFillData.ts"],"mappings":"AAcO,SAAAA,oBAASA,CACdC,MAAA,EAA4D;EAAA;IAAAC,cAAA;IAAAC,WAAA;IAAAC;EAAA,SAAAC,QAAA;EAG5D,MAAM;IAAEC,IAAI,EAAJA,IAAI;IAAEC,aAAa,EAAbA,aAAa;IAAEC,KAAK,EAALA,KAAK;IAAEC,YAAA,EAAAA;EAAa,CAAC,GAAGR,MAAM;EAE3D,IAAIC,cAAc,CAAC;IAAEI,IAAI,EAAJA,IAAI;IAAEG,YAAA,EAAAA;EAAa,CAAC,CAAC,EAAE;IAC1C,QAAQF,aAAa;MACnB,KAAKJ,WAAW;QACd,OAAO,CAAC;MACV,KAAKC,WAAW;QACd,OAAOI,KAAK,GAAG,CAAC;IACpB;EACF;EAEA,OAAOA,KAAK;AACd"}'},s=function(){var A=[new $.Error,-4,-27],d=function(p){var h=p.loop,v=p.rawDataLength,E=p.index,C=p.autoFillData;if(i({loop:h,autoFillData:C}))switch(v){case e:return 0;case n:return E%2}return E};return d._closure={isAutoFillData:i,SINGLE_ITEM:e,DOUBLE_ITEM:n},d.__initData=a,d.__workletHash=0xfa68ca3503b,d.__stackDetails=A,d.__version="3.3.0",d}();Dn.convertToSharedIndex=s;var o={code:`function computedOffsetXValueWithAutoFillData(params) { +}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computedWithAutoFillData.ts",sourceMap:'{"version":3,"names":["convertToSharedIndex","params","isAutoFillData","SINGLE_ITEM","DOUBLE_ITEM","_closure","loop","rawDataLength","index","autoFillData"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computedWithAutoFillData.ts"],"mappings":"AAcO,SAAAA,oBAASA,CACdC,MAAA,EAA4D;EAAA;IAAAC,cAAA;IAAAC,WAAA;IAAAC;EAAA,SAAAC,QAAA;EAG5D,MAAM;IAAEC,IAAI,EAAJA,IAAI;IAAEC,aAAa,EAAbA,aAAa;IAAEC,KAAK,EAALA,KAAK;IAAEC,YAAA,EAAAA;EAAa,CAAC,GAAGR,MAAM;EAE3D,IAAIC,cAAc,CAAC;IAAEI,IAAI,EAAJA,IAAI;IAAEG,YAAA,EAAAA;EAAa,CAAC,CAAC,EAAE;IAC1C,QAAQF,aAAa;MACnB,KAAKJ,WAAW;QACd,OAAO,CAAC;MACV,KAAKC,WAAW;QACd,OAAOI,KAAK,GAAG,CAAC;IACpB;EACF;EAEA,OAAOA,KAAK;AACd"}'},s=function(){var A=[new $.Error,-4,-27],d=function(p){var h=p.loop,v=p.rawDataLength,E=p.index,C=p.autoFillData;if(i({loop:h,autoFillData:C}))switch(v){case e:return 0;case n:return E%2}return E};return d._closure={isAutoFillData:i,SINGLE_ITEM:e,DOUBLE_ITEM:n},d.__initData=a,d.__workletHash=0xfa68ca3503b,d.__stackDetails=A,d.__version="3.3.0",d}();On.convertToSharedIndex=s;var o={code:`function computedOffsetXValueWithAutoFillData(params) { const { isAutoFillData, SINGLE_ITEM, @@ -93,7 +93,7 @@ Supported values: ["extend", "clamp", "identity", Extrapolatation.CLAMP, Extrapo } } return value; -}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computedWithAutoFillData.ts",sourceMap:'{"version":3,"names":["computedOffsetXValueWithAutoFillData","params","isAutoFillData","SINGLE_ITEM","DOUBLE_ITEM","_closure","rawDataLength","value","size","loop","autoFillData"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computedWithAutoFillData.ts"],"mappings":"AAgCO,SAAAA,oCAASA,CACdC,MAAA,EAIE;EAAA;IAAAC,cAAA;IAAAC,WAAA;IAAAC;EAAA,SAAAC,QAAA;EAIF,MAAM;IAAEC,aAAa,EAAbA,aAAa;IAAEC,KAAK,EAALA,KAAK;IAAEC,IAAI,EAAJA,IAAI;IAAEC,IAAI,EAAJA,IAAI;IAAEC,YAAA,EAAAA;EAAa,CAAC,GAAGT,MAAM;EAEjE,IAAIC,cAAc,CAAC;IAAEO,IAAI,EAAJA,IAAI;IAAEC,YAAA,EAAAA;EAAa,CAAC,CAAC,EAAE;IAC1C,QAAQJ,aAAa;MACnB,KAAKH,WAAW;QACd,OAAOI,KAAK,GAAGC,IAAI;MACrB,KAAKJ,WAAW;QACd,OAAOG,KAAK,IAAIC,IAAI,GAAG,CAAC,CAAC;IAC7B;EACF;EAEA,OAAOD,KAAK;AACd"}'},l=function(){var A=[new $.Error,-4,-27],d=function(p){var h=p.rawDataLength,v=p.value,E=p.size,C=p.loop,m=p.autoFillData;if(i({loop:C,autoFillData:m}))switch(h){case e:return v%E;case n:return v%(E*2)}return v};return d._closure={isAutoFillData:i,SINGLE_ITEM:e,DOUBLE_ITEM:n},d.__initData=o,d.__workletHash=0xf4bdb1c17d4,d.__stackDetails=A,d.__version="3.3.0",d}();Dn.computedOffsetXValueWithAutoFillData=l;function u(A){var d=A.index,f=A.dataLength,p=A.loop,h=A.autoFillData;if(i({loop:p,autoFillData:h}))switch(f){case e:return d%1;case n:return d%2}return d}function c(A){var d=A.data,f=A.loop,p=A.autoFillData,h=A.dataLength;if(i({loop:f,autoFillData:p}))switch(h){case e:return[d[0],d[0],d[0]];case n:return[d[0],d[1],d[0],d[1]]}return d}return Dn}var wa={},Mh;function lE(){if(Mh)return wa;Mh=1,Object.defineProperty(wa,"__esModule",{value:!0}),wa.dealWithAnimation=void 0;var t=Ot,e={code:`function dealWithAnimation(withAnimation) { +}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computedWithAutoFillData.ts",sourceMap:'{"version":3,"names":["computedOffsetXValueWithAutoFillData","params","isAutoFillData","SINGLE_ITEM","DOUBLE_ITEM","_closure","rawDataLength","value","size","loop","autoFillData"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computedWithAutoFillData.ts"],"mappings":"AAgCO,SAAAA,oCAASA,CACdC,MAAA,EAIE;EAAA;IAAAC,cAAA;IAAAC,WAAA;IAAAC;EAAA,SAAAC,QAAA;EAIF,MAAM;IAAEC,aAAa,EAAbA,aAAa;IAAEC,KAAK,EAALA,KAAK;IAAEC,IAAI,EAAJA,IAAI;IAAEC,IAAI,EAAJA,IAAI;IAAEC,YAAA,EAAAA;EAAa,CAAC,GAAGT,MAAM;EAEjE,IAAIC,cAAc,CAAC;IAAEO,IAAI,EAAJA,IAAI;IAAEC,YAAA,EAAAA;EAAa,CAAC,CAAC,EAAE;IAC1C,QAAQJ,aAAa;MACnB,KAAKH,WAAW;QACd,OAAOI,KAAK,GAAGC,IAAI;MACrB,KAAKJ,WAAW;QACd,OAAOG,KAAK,IAAIC,IAAI,GAAG,CAAC,CAAC;IAC7B;EACF;EAEA,OAAOD,KAAK;AACd"}'},l=function(){var A=[new $.Error,-4,-27],d=function(p){var h=p.rawDataLength,v=p.value,E=p.size,C=p.loop,m=p.autoFillData;if(i({loop:C,autoFillData:m}))switch(h){case e:return v%E;case n:return v%(E*2)}return v};return d._closure={isAutoFillData:i,SINGLE_ITEM:e,DOUBLE_ITEM:n},d.__initData=o,d.__workletHash=0xf4bdb1c17d4,d.__stackDetails=A,d.__version="3.3.0",d}();On.computedOffsetXValueWithAutoFillData=l;function u(A){var d=A.index,f=A.dataLength,p=A.loop,h=A.autoFillData;if(i({loop:p,autoFillData:h}))switch(f){case e:return d%1;case n:return d%2}return d}function c(A){var d=A.data,f=A.loop,p=A.autoFillData,h=A.dataLength;if(i({loop:f,autoFillData:p}))switch(h){case e:return[d[0],d[0],d[0]];case n:return[d[0],d[1],d[0],d[1]]}return d}return On}var wa={},Gh;function cE(){if(Gh)return wa;Gh=1,Object.defineProperty(wa,"__esModule",{value:!0}),wa.dealWithAnimation=void 0;var t=Ot,e={code:`function dealWithAnimation(withAnimation) { const { withSpring, withTiming @@ -122,14 +122,14 @@ Supported values: ["extend", "clamp", "identity", Extrapolatation.CLAMP, Extrapo cb } = this._closure; return cb(isFinished); -}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/dealWithAnimation.ts",sourceMap:'{"version":3,"names":["anonymous","isFinished","cb","_closure"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/dealWithAnimation.ts"],"mappings":"AAcoE,SAAAA,UAAAC,UAAU;EAAA;IAAAC;EAAA,SAAAC,QAAA;EAAA,OACtED,EAAE,CAACD,UAAqB;AAAA"}'},i=function(){var a=[new $.Error,-3,-27],s=function(l){switch(l.type){case"spring":return function(u,c){return(0,t.withSpring)(u,l.config,function(){var A=[new $.Error,-2,-27],d=function(p){return c(p)};return d._closure={cb:c},d.__initData=n,d.__workletHash=6414328185064,d.__stackDetails=A,d.__version="3.3.0",d}())};case"timing":return function(u,c){return(0,t.withTiming)(u,l.config,function(){var A=[new $.Error,-2,-27],d=function(p){return c(p)};return d._closure={cb:c},d.__initData=r,d.__workletHash=6414328185064,d.__stackDetails=A,d.__version="3.3.0",d}())}}};return s._closure={withSpring:t.withSpring,withTiming:t.withTiming},s.__initData=e,s.__workletHash=0xc3423b3c47d,s.__stackDetails=a,s.__version="3.3.0",s}();return wa.dealWithAnimation=i,wa}var Sa={},Bh;function uE(){if(Bh)return Sa;Bh=1,Object.defineProperty(Sa,"__esModule",{value:!0}),Sa.handlerOffsetDirection=void 0;var t={code:`function handlerOffsetDirection(handlerOffset) { +}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/dealWithAnimation.ts",sourceMap:'{"version":3,"names":["anonymous","isFinished","cb","_closure"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/dealWithAnimation.ts"],"mappings":"AAcoE,SAAAA,UAAAC,UAAU;EAAA;IAAAC;EAAA,SAAAC,QAAA;EAAA,OACtED,EAAE,CAACD,UAAqB;AAAA"}'},i=function(){var a=[new $.Error,-3,-27],s=function(l){switch(l.type){case"spring":return function(u,c){return(0,t.withSpring)(u,l.config,function(){var A=[new $.Error,-2,-27],d=function(p){return c(p)};return d._closure={cb:c},d.__initData=n,d.__workletHash=6414328185064,d.__stackDetails=A,d.__version="3.3.0",d}())};case"timing":return function(u,c){return(0,t.withTiming)(u,l.config,function(){var A=[new $.Error,-2,-27],d=function(p){return c(p)};return d._closure={cb:c},d.__initData=r,d.__workletHash=6414328185064,d.__stackDetails=A,d.__version="3.3.0",d}())}}};return s._closure={withSpring:t.withSpring,withTiming:t.withTiming},s.__initData=e,s.__workletHash=0xc3423b3c47d,s.__stackDetails=a,s.__version="3.3.0",s}();return wa.dealWithAnimation=i,wa}var Sa={},Lh;function dE(){if(Lh)return Sa;Lh=1,Object.defineProperty(Sa,"__esModule",{value:!0}),Sa.handlerOffsetDirection=void 0;var t={code:`function handlerOffsetDirection(handlerOffset) { const isPositiveZero = Object.is(handlerOffset.value, +0); const isNegativeZero = Object.is(handlerOffset.value, -0); const direction = isPositiveZero ? 1 : isNegativeZero ? -1 : Math.sign(handlerOffset.value); return direction; -}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/handlerOffsetDirection.ts",sourceMap:'{"version":3,"names":["handlerOffsetDirection","handlerOffset","isPositiveZero","Object","is","value","isNegativeZero","direction","Math","sign"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/handlerOffsetDirection.ts"],"mappings":"AAEO,SAAAA,sBAASA,CAAuBC,aAAA,EAAmC;EAGxE,MAAMC,cAAc,GAAGC,MAAM,CAACC,EAAE,CAACH,aAAa,CAACI,KAAK,EAAE,CAAC,CAAC,CAAC;EACzD,MAAMC,cAAc,GAAGH,MAAM,CAACC,EAAE,CAACH,aAAa,CAACI,KAAK,EAAE,CAAC,CAAC,CAAC;EACzD,MAAME,SAAS,GAAGL,cAAc,GAC5B,CAAC,GACDI,cAAc,GACZ,CAAC,CAAC,GACFE,IAAI,CAACC,IAAI,CAACR,aAAa,CAACI,KAAK,CAAW;EAE9C,OAAOE,SAAS;AAClB"}'},e=function(){var n=[new $.Error,1,-27],r=function(a){var s=Object.is(a.value,0),o=Object.is(a.value,-0),l=s?1:o?-1:Math.sign(a.value);return l};return r._closure={},r.__initData=t,r.__workletHash=0xc98f98c9908,r.__stackDetails=n,r.__version="3.3.0",r}();return Sa.handlerOffsetDirection=e,Sa}var yi={},Nh;function $P(){if(Nh)return yi;Nh=1,Object.defineProperty(yi,"__esModule",{value:!0}),yi.log=t,yi.round=void 0;function t(){var r;(r=console).log.apply(r,arguments)}var e={code:`function round(number) { +}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/handlerOffsetDirection.ts",sourceMap:'{"version":3,"names":["handlerOffsetDirection","handlerOffset","isPositiveZero","Object","is","value","isNegativeZero","direction","Math","sign"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/handlerOffsetDirection.ts"],"mappings":"AAEO,SAAAA,sBAASA,CAAuBC,aAAA,EAAmC;EAGxE,MAAMC,cAAc,GAAGC,MAAM,CAACC,EAAE,CAACH,aAAa,CAACI,KAAK,EAAE,CAAC,CAAC,CAAC;EACzD,MAAMC,cAAc,GAAGH,MAAM,CAACC,EAAE,CAACH,aAAa,CAACI,KAAK,EAAE,CAAC,CAAC,CAAC;EACzD,MAAME,SAAS,GAAGL,cAAc,GAC5B,CAAC,GACDI,cAAc,GACZ,CAAC,CAAC,GACFE,IAAI,CAACC,IAAI,CAACR,aAAa,CAACI,KAAK,CAAW;EAE9C,OAAOE,SAAS;AAClB"}'},e=function(){var n=[new $.Error,1,-27],r=function(a){var s=Object.is(a.value,0),o=Object.is(a.value,-0),l=s?1:o?-1:Math.sign(a.value);return l};return r._closure={},r.__initData=t,r.__workletHash=0xc98f98c9908,r.__stackDetails=n,r.__version="3.3.0",r}();return Sa.handlerOffsetDirection=e,Sa}var yi={},Vh;function n8(){if(Vh)return yi;Vh=1,Object.defineProperty(yi,"__esModule",{value:!0}),yi.log=t,yi.round=void 0;function t(){var r;(r=console).log.apply(r,arguments)}var e={code:`function round(number) { return Math.round(number); -}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/log.ts",sourceMap:'{"version":3,"names":["round","number","Math"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/log.ts"],"mappings":"AASO,SAAAA,KAASA,CAAMC,MAAA,EAAc;EAElC,OAAOC,IAAI,CAACF,KAAK,CAACC,MAAM,CAAC;AAC3B"}'},n=function(){var r=[new $.Error,1,-27],i=function(s){return Math.round(s)};return i._closure={},i.__initData=e,i.__workletHash=0xc5214806dac,i.__stackDetails=r,i.__version="3.3.0",i}();return yi.round=n,yi}var Gh;function qP(){if(Gh)return Ks;Gh=1,Object.defineProperty(Ks,"__esModule",{value:!0}),Ks.useCarouselController=p;var t=l(b),e=Ot,n=xA(),r=Ou(),i=lE(),a=uE(),s=$P();function o(h){if(typeof WeakMap!="function")return null;var v=new WeakMap,E=new WeakMap;return(o=function(m){return m?E:v})(h)}function l(h,v){if(h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var E=o(v);if(E&&E.has(h))return E.get(h);var C={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in h)if(g!=="default"&&Object.prototype.hasOwnProperty.call(h,g)){var y=m?Object.getOwnPropertyDescriptor(h,g):null;y&&(y.get||y.set)?Object.defineProperty(C,g,y):C[g]=h[g]}return C.default=h,E&&E.set(h,C),C}var u={code:`function anonymous() { +}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/log.ts",sourceMap:'{"version":3,"names":["round","number","Math"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/log.ts"],"mappings":"AASO,SAAAA,KAASA,CAAMC,MAAA,EAAc;EAElC,OAAOC,IAAI,CAACF,KAAK,CAACC,MAAM,CAAC;AAC3B"}'},n=function(){var r=[new $.Error,1,-27],i=function(s){return Math.round(s)};return i._closure={},i.__initData=e,i.__workletHash=0xc5214806dac,i.__stackDetails=r,i.__version="3.3.0",i}();return yi.round=n,yi}var Hh;function r8(){if(Hh)return Ks;Hh=1,Object.defineProperty(Ks,"__esModule",{value:!0}),Ks.useCarouselController=p;var t=l(b),e=Ot,n=IA(),r=Tu(),i=cE(),a=dE(),s=n8();function o(h){if(typeof WeakMap!="function")return null;var v=new WeakMap,E=new WeakMap;return(o=function(m){return m?E:v})(h)}function l(h,v){if(h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var E=o(v);if(E&&E.has(h))return E.get(h);var C={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in h)if(g!=="default"&&Object.prototype.hasOwnProperty.call(h,g)){var y=m?Object.getOwnPropertyDescriptor(h,g):null;y&&(y.get||y.set)?Object.defineProperty(C,g,y):C[g]=h[g]}return C.default=h,E&&E.set(h,C),C}var u={code:`function anonymous() { const { handlerOffset, round, @@ -228,7 +228,7 @@ Supported values: ["extend", "clamp", "identity", Extrapolatation.CLAMP, Extrapo handlerOffset.value = -nextPage * size; onFinished === null || onFinished === void 0 ? void 0 : onFinished(); } -}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCarouselController.tsx",sourceMap:'{"version":3,"names":["anonymous","opts","canSliding","loop","index","dataInfo","onScrollBegin","currentFixedPage","handlerOffset","scrollWithTiming","size","_closure","_onScrollBegin","count","animated","onFinished","value","length","nextPage"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCarouselController.tsx"],"mappings":"AAuKI,SAACA,SAAgCA,CAACC,IAAK;EAAA;IAAAC,UAAA;IAAAC,IAAA;IAAAC,KAAA;IAAAC,QAAA;IAAAC,aAAA;IAAAC,gBAAA;IAAAC,aAAA;IAAAC,gBAAA;IAAAC;EAAA,SAAAC,QAAA;EAAA,IAAAC,cAAA;EAErC,MAAM;IAAEC,KAAK,GAAG,CAAC;IAAEC,QAAQ,GAAG,IAAI;IAAEC,UAAA,EAAAA;EAAW,CAAC,GAAGd,IAAI;EACvD,IAAI,CAACC,UAAU,CAAC,CAAC,IAAK,CAACC,IAAI,IAAIC,KAAK,CAACY,KAAK,IAAIX,QAAQ,CAACY,MAAM,GAAG,CAAE,EAChE;EAEF,CAAAL,cAAA,GAAAN,aAAa,cAAAM,cAAA,uBAAbA,cAAA,CAAgB,CAAC;EAEjB,MAAMM,QAAQ,GAAGX,gBAAgB,CAAC,CAAC,GAAGM,KAAK;EAC3CT,KAAK,CAACY,KAAK,GAAGE,QAAQ;EAEtB,IAAIJ,QAAQ,EAAE;IACZN,aAAa,CAACQ,KAAK,GAAGP,gBAAgB,CACpC,CAACS,QAAQ,GAAGR,IAAI,EAChBK,UACF,CAAQ;EACV,CAAC,MACI;IACHP,aAAa,CAACQ,KAAK,GAAG,CAACE,QAAQ,GAAGR,IAAI;IACtCK,UAAU,aAAVA,UAAU,uBAAVA,UAAU,CAAG,CAAC;EAChB;AACF"}'};function p(h){var v=h.size,E=h.loop,C=h.dataLength,m=h.handlerOffset,g=h.withAnimation,y=h.defaultIndex,x=y===void 0?0:y,w=h.duration,S=h.autoFillData,D=t.default.useMemo(function(){return{length:C,disable:!C,originalLength:C}},[C]),I=(0,e.useSharedValue)(x),_=(0,t.useRef)(x),O=(0,t.useRef)(x),T=t.default.useCallback(function(){if(E)return-Math.round(m.value/v);var k=m.value/v%D.length;return Math.round(m.value<=0?Math.abs(k):Math.abs(k>0?D.length-k:0))},[m,D,v,E]);function R(k){_.current=k}(0,e.useAnimatedReaction)(function(){var k=[new $.Error,-8,-27],U=function(){var K=m.value,Y=(0,s.round)(K/v)%D.length,ee=K<=0,te=Math.abs(ee?Y:Y>0?D.length-Y:0),re=(0,r.convertToSharedIndex)({loop:E,rawDataLength:D.originalLength,autoFillData:S,index:te});return{i:te,newSharedIndexValue:re}};return U._closure={handlerOffset:m,round:s.round,size:v,dataInfo:D,convertToSharedIndex:r.convertToSharedIndex,loop:E,autoFillData:S},U.__initData=u,U.__workletHash=0xaced0f9f622,U.__stackDetails=k,U.__version="3.3.0",U}(),function(){var k=[new $.Error,-4,-27],U=function(K){var Y=K.i,ee=K.newSharedIndexValue;I.value=Y,(0,e.runOnJS)(R)(ee)};return U._closure={index:I,runOnJS:e.runOnJS,setSharedIndex:R},U.__initData=c,U.__workletHash=6063199752963,U.__stackDetails=k,U.__version="3.3.0",U}(),[O,_,v,D,I,E,S,m]);var P=t.default.useCallback(function(){var k=(0,r.computedRealIndexWithAutoFillData)({index:I.value,dataLength:D.originalLength,loop:E,autoFillData:S});return k},[I,S,D,E]),F=t.default.useCallback(function(){return!D.disable},[D]),H=t.default.useCallback(function(){h.onScrollEnd==null||h.onScrollEnd()},[h]),M=t.default.useCallback(function(){h.onScrollBegin==null||h.onScrollBegin()},[h]),V=t.default.useCallback(function(){var k=[new $.Error,-7,-27],U=function(K,Y){var ee=function(){var re=[new $.Error,-4,-27],Q=function(Ie){Ie&&((0,e.runOnJS)(H)(),Y&&(0,e.runOnJS)(Y)())};return Q._closure={runOnJS:e.runOnJS,onScrollEnd:H,onFinished:Y},Q.__initData=d,Q.__workletHash=1856840040824,Q.__stackDetails=re,Q.__version="3.3.0",Q}(),te={type:"timing",config:{duration:w,easing:n.Easing.easeOutQuart}};return(0,i.dealWithAnimation)(g??te)(K,ee)};return U._closure={runOnJS:e.runOnJS,onScrollEnd:H,duration:w,Easing:n.Easing,dealWithAnimation:i.dealWithAnimation,withAnimation:g},U.__initData=A,U.__workletHash=8876815392037,U.__stackDetails=k,U.__version="3.3.0",U}(),[w,g,H]),W=t.default.useCallback(function(){var k=[new $.Error,-10,-27],U=function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Y=K.count,ee=Y===void 0?1:Y,te=K.animated,re=te===void 0?!0:te,Q=K.onFinished;if(!(!F()||!E&&I.value>=D.length-1)){M==null||M();var ae=T()+ee;I.value=ae,re?m.value=V(-ae*v,Q):(m.value=-ae*v,Q==null||Q())}};return U._closure={canSliding:F,loop:E,index:I,dataInfo:D,onScrollBegin:M,currentFixedPage:T,handlerOffset:m,scrollWithTiming:V,size:v},U.__initData=f,U.__workletHash=7037612364285,U.__stackDetails=k,U.__version="3.3.0",U}(),[F,E,I,D,M,m,v,V,T]),B=t.default.useCallback(function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},U=k.count,z=U===void 0?1:U,K=k.animated,Y=K===void 0?!0:K,ee=k.onFinished;if(!(!F()||!E&&I.value<=0)){M==null||M();var te=T()-z;I.value=te,Y?m.value=V(-te*v,ee):(m.value=-te*v,ee==null||ee())}},[F,E,I,M,m,v,V,T]),G=t.default.useCallback(function(k){var U=k.i,z=k.animated,K=z===void 0?!1:z,Y=k.onFinished;if(U!==I.value&&F()){M==null||M();var ee=(0,a.handlerOffsetDirection)(m),te=U*v*ee,re=D.length*v,Q=!1;E&&(Q=Math.abs(m.value%re)/re>=.5);var ae=(Math.floor(Math.abs(m.value/re))+(Q?1:0))*re*ee+te;K?(I.value=U,m.value=V(ae,Y)):(m.value=ae,I.value=U,Y==null||Y())}},[I,F,M,m,v,D.length,E,V]),N=t.default.useCallback(function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},U=k.index,z=k.count,K=k.animated,Y=K===void 0?!1:K,ee=k.onFinished;if(typeof U=="number"&&U>-1){G({i:U,animated:Y,onFinished:ee});return}if(z){var te=Math.round(z);te<0?B({count:Math.abs(te),animated:Y,onFinished:ee}):W({count:te,animated:Y,onFinished:ee})}},[B,W,G]);return{next:W,prev:B,scrollTo:N,getCurrentIndex:P,getSharedIndex:function(){return _.current}}}return Ks}var $s={},Br={},Lh;function jP(){if(Lh)return Br;Lh=1,Object.defineProperty(Br,"__esModule",{value:!0}),Br.omitZero=Br.computeNewIndexWhenDataChanges=void 0;var t={code:`function omitZero(a, b) { +}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCarouselController.tsx",sourceMap:'{"version":3,"names":["anonymous","opts","canSliding","loop","index","dataInfo","onScrollBegin","currentFixedPage","handlerOffset","scrollWithTiming","size","_closure","_onScrollBegin","count","animated","onFinished","value","length","nextPage"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCarouselController.tsx"],"mappings":"AAuKI,SAACA,SAAgCA,CAACC,IAAK;EAAA;IAAAC,UAAA;IAAAC,IAAA;IAAAC,KAAA;IAAAC,QAAA;IAAAC,aAAA;IAAAC,gBAAA;IAAAC,aAAA;IAAAC,gBAAA;IAAAC;EAAA,SAAAC,QAAA;EAAA,IAAAC,cAAA;EAErC,MAAM;IAAEC,KAAK,GAAG,CAAC;IAAEC,QAAQ,GAAG,IAAI;IAAEC,UAAA,EAAAA;EAAW,CAAC,GAAGd,IAAI;EACvD,IAAI,CAACC,UAAU,CAAC,CAAC,IAAK,CAACC,IAAI,IAAIC,KAAK,CAACY,KAAK,IAAIX,QAAQ,CAACY,MAAM,GAAG,CAAE,EAChE;EAEF,CAAAL,cAAA,GAAAN,aAAa,cAAAM,cAAA,uBAAbA,cAAA,CAAgB,CAAC;EAEjB,MAAMM,QAAQ,GAAGX,gBAAgB,CAAC,CAAC,GAAGM,KAAK;EAC3CT,KAAK,CAACY,KAAK,GAAGE,QAAQ;EAEtB,IAAIJ,QAAQ,EAAE;IACZN,aAAa,CAACQ,KAAK,GAAGP,gBAAgB,CACpC,CAACS,QAAQ,GAAGR,IAAI,EAChBK,UACF,CAAQ;EACV,CAAC,MACI;IACHP,aAAa,CAACQ,KAAK,GAAG,CAACE,QAAQ,GAAGR,IAAI;IACtCK,UAAU,aAAVA,UAAU,uBAAVA,UAAU,CAAG,CAAC;EAChB;AACF"}'};function p(h){var v=h.size,E=h.loop,C=h.dataLength,m=h.handlerOffset,g=h.withAnimation,y=h.defaultIndex,x=y===void 0?0:y,w=h.duration,S=h.autoFillData,D=t.default.useMemo(function(){return{length:C,disable:!C,originalLength:C}},[C]),I=(0,e.useSharedValue)(x),_=(0,t.useRef)(x),O=(0,t.useRef)(x),T=t.default.useCallback(function(){if(E)return-Math.round(m.value/v);var M=m.value/v%D.length;return Math.round(m.value<=0?Math.abs(M):Math.abs(M>0?D.length-M:0))},[m,D,v,E]);function R(M){_.current=M}(0,e.useAnimatedReaction)(function(){var M=[new $.Error,-8,-27],U=function(){var K=m.value,Y=(0,s.round)(K/v)%D.length,ee=K<=0,te=Math.abs(ee?Y:Y>0?D.length-Y:0),re=(0,r.convertToSharedIndex)({loop:E,rawDataLength:D.originalLength,autoFillData:S,index:te});return{i:te,newSharedIndexValue:re}};return U._closure={handlerOffset:m,round:s.round,size:v,dataInfo:D,convertToSharedIndex:r.convertToSharedIndex,loop:E,autoFillData:S},U.__initData=u,U.__workletHash=0xaced0f9f622,U.__stackDetails=M,U.__version="3.3.0",U}(),function(){var M=[new $.Error,-4,-27],U=function(K){var Y=K.i,ee=K.newSharedIndexValue;I.value=Y,(0,e.runOnJS)(R)(ee)};return U._closure={index:I,runOnJS:e.runOnJS,setSharedIndex:R},U.__initData=c,U.__workletHash=6063199752963,U.__stackDetails=M,U.__version="3.3.0",U}(),[O,_,v,D,I,E,S,m]);var P=t.default.useCallback(function(){var M=(0,r.computedRealIndexWithAutoFillData)({index:I.value,dataLength:D.originalLength,loop:E,autoFillData:S});return M},[I,S,D,E]),F=t.default.useCallback(function(){return!D.disable},[D]),H=t.default.useCallback(function(){h.onScrollEnd==null||h.onScrollEnd()},[h]),k=t.default.useCallback(function(){h.onScrollBegin==null||h.onScrollBegin()},[h]),V=t.default.useCallback(function(){var M=[new $.Error,-7,-27],U=function(K,Y){var ee=function(){var re=[new $.Error,-4,-27],Q=function(Ie){Ie&&((0,e.runOnJS)(H)(),Y&&(0,e.runOnJS)(Y)())};return Q._closure={runOnJS:e.runOnJS,onScrollEnd:H,onFinished:Y},Q.__initData=d,Q.__workletHash=1856840040824,Q.__stackDetails=re,Q.__version="3.3.0",Q}(),te={type:"timing",config:{duration:w,easing:n.Easing.easeOutQuart}};return(0,i.dealWithAnimation)(g??te)(K,ee)};return U._closure={runOnJS:e.runOnJS,onScrollEnd:H,duration:w,Easing:n.Easing,dealWithAnimation:i.dealWithAnimation,withAnimation:g},U.__initData=A,U.__workletHash=8876815392037,U.__stackDetails=M,U.__version="3.3.0",U}(),[w,g,H]),W=t.default.useCallback(function(){var M=[new $.Error,-10,-27],U=function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Y=K.count,ee=Y===void 0?1:Y,te=K.animated,re=te===void 0?!0:te,Q=K.onFinished;if(!(!F()||!E&&I.value>=D.length-1)){k==null||k();var ae=T()+ee;I.value=ae,re?m.value=V(-ae*v,Q):(m.value=-ae*v,Q==null||Q())}};return U._closure={canSliding:F,loop:E,index:I,dataInfo:D,onScrollBegin:k,currentFixedPage:T,handlerOffset:m,scrollWithTiming:V,size:v},U.__initData=f,U.__workletHash=7037612364285,U.__stackDetails=M,U.__version="3.3.0",U}(),[F,E,I,D,k,m,v,V,T]),B=t.default.useCallback(function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},U=M.count,z=U===void 0?1:U,K=M.animated,Y=K===void 0?!0:K,ee=M.onFinished;if(!(!F()||!E&&I.value<=0)){k==null||k();var te=T()-z;I.value=te,Y?m.value=V(-te*v,ee):(m.value=-te*v,ee==null||ee())}},[F,E,I,k,m,v,V,T]),G=t.default.useCallback(function(M){var U=M.i,z=M.animated,K=z===void 0?!1:z,Y=M.onFinished;if(U!==I.value&&F()){k==null||k();var ee=(0,a.handlerOffsetDirection)(m),te=U*v*ee,re=D.length*v,Q=!1;E&&(Q=Math.abs(m.value%re)/re>=.5);var ae=(Math.floor(Math.abs(m.value/re))+(Q?1:0))*re*ee+te;K?(I.value=U,m.value=V(ae,Y)):(m.value=ae,I.value=U,Y==null||Y())}},[I,F,k,m,v,D.length,E,V]),N=t.default.useCallback(function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},U=M.index,z=M.count,K=M.animated,Y=K===void 0?!1:K,ee=M.onFinished;if(typeof U=="number"&&U>-1){G({i:U,animated:Y,onFinished:ee});return}if(z){var te=Math.round(z);te<0?B({count:Math.abs(te),animated:Y,onFinished:ee}):W({count:te,animated:Y,onFinished:ee})}},[B,W,G]);return{next:W,prev:B,scrollTo:N,getCurrentIndex:P,getSharedIndex:function(){return _.current}}}return Ks}var $s={},Br={},Uh;function i8(){if(Uh)return Br;Uh=1,Object.defineProperty(Br,"__esModule",{value:!0}),Br.omitZero=Br.computeNewIndexWhenDataChanges=void 0;var t={code:`function omitZero(a, b) { if (a === 0) return 0; return b; }`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/computeNewIndexWhenDataChanges.ts",sourceMap:'{"version":3,"names":["omitZero","a","b"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/computeNewIndexWhenDataChanges.ts"],"mappings":"AAAO,SAAAA,QAASA,CAASC,CAAC,EAAQC,CAAG,EAAQ;EAE3C,IAAID,CAAC,KAAK,CAAC,EACT,OAAO,CAAC;EAEV,OAAOC,CAAC;AACV"}'},e=function(){var i=[new $.Error,1,-27],a=function(o,l){return o===0?0:l};return a._closure={},a.__initData=t,a.__workletHash=2585996741034,a.__stackDetails=i,a.__version="3.3.0",a}();Br.omitZero=e;var n={code:`function computeNewIndexWhenDataChanges(params) { @@ -263,7 +263,7 @@ Supported values: ["extend", "clamp", "identity", Extrapolatation.CLAMP, Extrapo handlerOffset += changedOffset * direction; } return handlerOffset; -}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/computeNewIndexWhenDataChanges.ts",sourceMap:'{"version":3,"names":["computeNewIndexWhenDataChanges","params","omitZero","_closure","direction","handlerOffset","_handlerOffset","size","previousLength","currentLength","positionIndex","round","isPositive","Math","abs","parseInt","String","prevOffset","prevIndex","changedLength","changedOffset"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/computeNewIndexWhenDataChanges.ts"],"mappings":"AAQO,SAAAA,8BAASA,CAA+BC,MAAA,EAM9C;EAAA;IAAAC;EAAA,SAAAC,QAAA;EAEC,MAAM;IAAEC,SAAS,EAATA,SAAS;IAAEC,aAAa,EAAEC,cAAc;IAAEC,IAAI,EAAJA,IAAI;IAAEC,cAAc,EAAdA,cAAc;IAAEC,aAAA,EAAAA;EAAc,CAAC,GAAGR,MAAM;EAEhG,IAAII,aAAa,GAAGC,cAAc;EAClC,IAAII,aAAa;EACjB,IAAIC,KAAK;EAET,MAAMC,UAAU,GAAGR,SAAS,GAAG,CAAC;EAEhC,IAAIQ,UAAU,EAAE;IACdF,aAAa,GAAIG,IAAI,CAACC,GAAG,CAACT,aAAa,CAAC,GAAIE,IAAI;IAChDI,KAAK,GAAGI,QAAQ,CAACC,MAAM,CAACd,QAAQ,CAACM,cAAc,EAAEE,aAAa,GAAGF,cAAc,CAAC,CAAC,CAAC;EACpF,CAAC,MACI;IACHE,aAAa,GAAG,CAACG,IAAI,CAACC,GAAG,CAACT,aAAa,CAAC,GAAGE,IAAI,IAAIA,IAAI;IACvDI,KAAK,GAAGI,QAAQ,CAACC,MAAM,CAACd,QAAQ,CAACM,cAAc,EAAEE,aAAa,GAAGF,cAAc,CAAC,CAAC,CAAC,GAAG,CAAC;EACxF;EAEA,MAAMS,UAAU,GAAGf,QAAQ,CAACM,cAAc,EAAEE,aAAa,GAAGF,cAAc,CAAC;EAC3E,MAAMU,SAAS,GAAGN,UAAU,GAAGK,UAAU,GAAGT,cAAc,GAAGS,UAAU,GAAG,CAAC;EAC3E,MAAME,aAAa,GAAGR,KAAK,IAAIF,aAAa,GAAGD,cAAc,CAAC;EAC9D,MAAMY,aAAa,GAAGD,aAAa,GAAGZ,IAAI;EAC1C,IAAIW,SAAS,GAAGT,aAAa,GAAG,CAAC,IAAIA,aAAa,GAAGD,cAAc,EAAE;IACnE,IAAII,UAAU,EACZP,aAAa,GAAG,CAACI,aAAa,GAAG,CAAC,IAAIF,IAAI,GAAGH,SAAS,CAAC,KAGvDC,aAAa,GAAG,CAACI,aAAa,GAAG,CAAC,IAAIF,IAAI,GAAG,CAAC,CAAC;EACnD,CAAC,MACI;IACHF,aAAa,IAAIe,aAAa,GAAGhB,SAAS;EAC5C;EAEA,OAAOC,aAAa;AACtB"}'},r=function(){var i=[new $.Error,-2,-27],a=function(o){var l=o.direction,u=o.handlerOffset,c=o.size,A=o.previousLength,d=o.currentLength,f=u,p,h,v=l<0;v?(p=Math.abs(f)/c,h=parseInt(String(e(A,p/A)))):(p=(Math.abs(f)-c)/c,h=parseInt(String(e(A,p/A)))+1);var E=e(A,p%A),C=v?E:A-E-1,m=h*(d-A),g=m*c;return C>d-1&&d<A?v?f=(d-1)*c*l:f=(d-1)*c*-1:f+=g*l,f};return a._closure={omitZero:e},a.__initData=n,a.__workletHash=1218774587822,a.__stackDetails=i,a.__version="3.3.0",a}();return Br.computeNewIndexWhenDataChanges=r,Br}var Vh;function QP(){if(Vh)return $s;Vh=1;var t=nn;Object.defineProperty($s,"__esModule",{value:!0}),$s.useCommonVariables=o;var e=t(b),n=Ot,r=jP(),i=uE(),a={code:`function anonymous() { +}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/computeNewIndexWhenDataChanges.ts",sourceMap:'{"version":3,"names":["computeNewIndexWhenDataChanges","params","omitZero","_closure","direction","handlerOffset","_handlerOffset","size","previousLength","currentLength","positionIndex","round","isPositive","Math","abs","parseInt","String","prevOffset","prevIndex","changedLength","changedOffset"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/computeNewIndexWhenDataChanges.ts"],"mappings":"AAQO,SAAAA,8BAASA,CAA+BC,MAAA,EAM9C;EAAA;IAAAC;EAAA,SAAAC,QAAA;EAEC,MAAM;IAAEC,SAAS,EAATA,SAAS;IAAEC,aAAa,EAAEC,cAAc;IAAEC,IAAI,EAAJA,IAAI;IAAEC,cAAc,EAAdA,cAAc;IAAEC,aAAA,EAAAA;EAAc,CAAC,GAAGR,MAAM;EAEhG,IAAII,aAAa,GAAGC,cAAc;EAClC,IAAII,aAAa;EACjB,IAAIC,KAAK;EAET,MAAMC,UAAU,GAAGR,SAAS,GAAG,CAAC;EAEhC,IAAIQ,UAAU,EAAE;IACdF,aAAa,GAAIG,IAAI,CAACC,GAAG,CAACT,aAAa,CAAC,GAAIE,IAAI;IAChDI,KAAK,GAAGI,QAAQ,CAACC,MAAM,CAACd,QAAQ,CAACM,cAAc,EAAEE,aAAa,GAAGF,cAAc,CAAC,CAAC,CAAC;EACpF,CAAC,MACI;IACHE,aAAa,GAAG,CAACG,IAAI,CAACC,GAAG,CAACT,aAAa,CAAC,GAAGE,IAAI,IAAIA,IAAI;IACvDI,KAAK,GAAGI,QAAQ,CAACC,MAAM,CAACd,QAAQ,CAACM,cAAc,EAAEE,aAAa,GAAGF,cAAc,CAAC,CAAC,CAAC,GAAG,CAAC;EACxF;EAEA,MAAMS,UAAU,GAAGf,QAAQ,CAACM,cAAc,EAAEE,aAAa,GAAGF,cAAc,CAAC;EAC3E,MAAMU,SAAS,GAAGN,UAAU,GAAGK,UAAU,GAAGT,cAAc,GAAGS,UAAU,GAAG,CAAC;EAC3E,MAAME,aAAa,GAAGR,KAAK,IAAIF,aAAa,GAAGD,cAAc,CAAC;EAC9D,MAAMY,aAAa,GAAGD,aAAa,GAAGZ,IAAI;EAC1C,IAAIW,SAAS,GAAGT,aAAa,GAAG,CAAC,IAAIA,aAAa,GAAGD,cAAc,EAAE;IACnE,IAAII,UAAU,EACZP,aAAa,GAAG,CAACI,aAAa,GAAG,CAAC,IAAIF,IAAI,GAAGH,SAAS,CAAC,KAGvDC,aAAa,GAAG,CAACI,aAAa,GAAG,CAAC,IAAIF,IAAI,GAAG,CAAC,CAAC;EACnD,CAAC,MACI;IACHF,aAAa,IAAIe,aAAa,GAAGhB,SAAS;EAC5C;EAEA,OAAOC,aAAa;AACtB"}'},r=function(){var i=[new $.Error,-2,-27],a=function(o){var l=o.direction,u=o.handlerOffset,c=o.size,A=o.previousLength,d=o.currentLength,f=u,p,h,v=l<0;v?(p=Math.abs(f)/c,h=parseInt(String(e(A,p/A)))):(p=(Math.abs(f)-c)/c,h=parseInt(String(e(A,p/A)))+1);var E=e(A,p%A),C=v?E:A-E-1,m=h*(d-A),g=m*c;return C>d-1&&d<A?v?f=(d-1)*c*l:f=(d-1)*c*-1:f+=g*l,f};return a._closure={omitZero:e},a.__initData=n,a.__workletHash=1218774587822,a.__stackDetails=i,a.__version="3.3.0",a}();return Br.computeNewIndexWhenDataChanges=r,Br}var Wh;function a8(){if(Wh)return $s;Wh=1;var t=nn;Object.defineProperty($s,"__esModule",{value:!0}),$s.useCommonVariables=o;var e=t(b),n=Ot,r=i8(),i=dE(),a={code:`function anonymous() { const { prevDataLength, dataLength, @@ -300,7 +300,7 @@ Supported values: ["extend", "clamp", "identity", Extrapolatation.CLAMP, Extrapo handlerOffset: handlerOffset.value }); } -}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCommonVariables.ts",sourceMap:'{"version":3,"names":["anonymous","shouldComputed","previousLength","currentLength","handlerOffsetDirection","handlerOffset","computeNewIndexWhenDataChanges","size","_closure","direction","value"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCommonVariables.ts"],"mappings":"AAoDK,SAACA,UAAA;EAAEC,cAAc,EAAdA,cAAc;EAAEC,cAAc,EAAdA,cAAc;EAAEC,aAAA,EAAAA;AAAc,CAAC,EAAK;EAAA;IAAAC,sBAAA;IAAAC,aAAA;IAAAC,8BAAA;IAAAC;EAAA,SAAAC,QAAA;EACxD,IAAIP,cAAc,EAAE;IAElB,MAAMQ,SAAS,GAAGL,sBAAsB,CAACC,aAAa,CAAC;IAEvDA,aAAa,CAACK,KAAK,GAAGJ,8BAA8B,CAAC;MACnDG,SAAS,EAATA,SAAS;MACTP,cAAc,EAAdA,cAAc;MACdC,aAAa,EAAbA,aAAa;MACbI,IAAI,EAAJA,IAAI;MACJF,aAAa,EAAEA,aAAa,CAACK;IAC/B,CAAC,CAAC;EACJ;AACF"}'};function o(l){var u=l.vertical,c=l.height,A=l.width,d=l.dataLength,f=l.defaultIndex,p=l.defaultScrollOffsetValue,h=l.loop,v=u?c:A,E=d-1,C=-Math.abs(f*v),m=(0,n.useSharedValue)(C),g=p??m,y=(0,n.useSharedValue)(d);return e.default.useEffect(function(){g.value=C},[u,g,C]),(0,n.useAnimatedReaction)(function(){var x=[new $.Error,-4,-27],w=function(){var D=y.value,I=d,_=D!==I,O=_&&h;return O&&(y.value=d),{shouldComputed:O,previousLength:D,currentLength:I}};return w._closure={prevDataLength:y,dataLength:d,loop:h},w.__initData=a,w.__workletHash=0x9b046977847,w.__stackDetails=x,w.__version="3.3.0",w}(),function(){var x=[new $.Error,-5,-27],w=function(D){var I=D.shouldComputed,_=D.previousLength,O=D.currentLength;if(I){var T=(0,i.handlerOffsetDirection)(g);g.value=(0,r.computeNewIndexWhenDataChanges)({direction:T,previousLength:_,currentLength:O,size:v,handlerOffset:g.value})}};return w._closure={handlerOffsetDirection:i.handlerOffsetDirection,handlerOffset:g,computeNewIndexWhenDataChanges:r.computeNewIndexWhenDataChanges,size:v},w.__initData=s,w.__workletHash=0xfbf4d29b4f4,w.__stackDetails=x,w.__version="3.3.0",w}(),[d,h]),{size:v,validLength:E,handlerOffset:g}}return $s}var qs={},Hh;function ZP(){if(Hh)return qs;Hh=1;var t=nn;Object.defineProperty(qs,"__esModule",{value:!0}),qs.useInitProps=r;var e=t(b),n=Ou();function r(i){var a,s=i.defaultIndex,o=s===void 0?0:s,l=i.data,u=l===void 0?[]:l,c=i.loop,A=c===void 0?!0:c,d=i.autoPlayInterval,f=d===void 0?1e3:d,p=i.scrollAnimationDuration,h=p===void 0?500:p,v=i.style,E=v===void 0?{}:v,C=i.panGestureHandlerProps,m=C===void 0?{}:C,g=i.autoFillData,y=g===void 0?!0:g,x=i.enabled,w=x===void 0?!0:x,S=i.pagingEnabled,D=S===void 0?!0:S,I=i.overscrollEnabled,_=I===void 0?!0:I,O=i.snapEnabled,T=O===void 0?(a=i.enableSnap)!=null?a:!0:O,R=i.width,P=i.height,F=Math.round(R||0),H=Math.round(P||0),M=Math.max(f,0),V=e.default.useMemo(function(){return(0,n.computedFillDataWithAutoFillData)({loop:A,autoFillData:y,data:u,dataLength:u.length})},[u,A,y]),W=V.length,B=u.length;if(i.mode==="vertical-stack"||i.mode==="horizontal-stack"){var G,N;i.modeConfig||(i.modeConfig={}),i.modeConfig.showLength=(G=(N=i.modeConfig)==null?void 0:N.showLength)!=null?G:W-1}return Object.assign({},i,{defaultIndex:o,autoFillData:y,data:V,dataLength:W,rawData:u,rawDataLength:B,loop:A,enabled:w,autoPlayInterval:M,scrollAnimationDuration:h,style:E,panGestureHandlerProps:m,pagingEnabled:D,snapEnabled:T,overscrollEnabled:_,width:F,height:H})}return qs}var js={},ba={},Qs={},Uh;function JP(){if(Uh)return Qs;Uh=1,Object.defineProperty(Qs,"__esModule",{value:!0}),Qs.normalLayout=n;var t=Ot,e={code:`function anonymous(value) { +}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCommonVariables.ts",sourceMap:'{"version":3,"names":["anonymous","shouldComputed","previousLength","currentLength","handlerOffsetDirection","handlerOffset","computeNewIndexWhenDataChanges","size","_closure","direction","value"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCommonVariables.ts"],"mappings":"AAoDK,SAACA,UAAA;EAAEC,cAAc,EAAdA,cAAc;EAAEC,cAAc,EAAdA,cAAc;EAAEC,aAAA,EAAAA;AAAc,CAAC,EAAK;EAAA;IAAAC,sBAAA;IAAAC,aAAA;IAAAC,8BAAA;IAAAC;EAAA,SAAAC,QAAA;EACxD,IAAIP,cAAc,EAAE;IAElB,MAAMQ,SAAS,GAAGL,sBAAsB,CAACC,aAAa,CAAC;IAEvDA,aAAa,CAACK,KAAK,GAAGJ,8BAA8B,CAAC;MACnDG,SAAS,EAATA,SAAS;MACTP,cAAc,EAAdA,cAAc;MACdC,aAAa,EAAbA,aAAa;MACbI,IAAI,EAAJA,IAAI;MACJF,aAAa,EAAEA,aAAa,CAACK;IAC/B,CAAC,CAAC;EACJ;AACF"}'};function o(l){var u=l.vertical,c=l.height,A=l.width,d=l.dataLength,f=l.defaultIndex,p=l.defaultScrollOffsetValue,h=l.loop,v=u?c:A,E=d-1,C=-Math.abs(f*v),m=(0,n.useSharedValue)(C),g=p??m,y=(0,n.useSharedValue)(d);return e.default.useEffect(function(){g.value=C},[u,g,C]),(0,n.useAnimatedReaction)(function(){var x=[new $.Error,-4,-27],w=function(){var D=y.value,I=d,_=D!==I,O=_&&h;return O&&(y.value=d),{shouldComputed:O,previousLength:D,currentLength:I}};return w._closure={prevDataLength:y,dataLength:d,loop:h},w.__initData=a,w.__workletHash=0x9b046977847,w.__stackDetails=x,w.__version="3.3.0",w}(),function(){var x=[new $.Error,-5,-27],w=function(D){var I=D.shouldComputed,_=D.previousLength,O=D.currentLength;if(I){var T=(0,i.handlerOffsetDirection)(g);g.value=(0,r.computeNewIndexWhenDataChanges)({direction:T,previousLength:_,currentLength:O,size:v,handlerOffset:g.value})}};return w._closure={handlerOffsetDirection:i.handlerOffsetDirection,handlerOffset:g,computeNewIndexWhenDataChanges:r.computeNewIndexWhenDataChanges,size:v},w.__initData=s,w.__workletHash=0xfbf4d29b4f4,w.__stackDetails=x,w.__version="3.3.0",w}(),[d,h]),{size:v,validLength:E,handlerOffset:g}}return $s}var qs={},Xh;function s8(){if(Xh)return qs;Xh=1;var t=nn;Object.defineProperty(qs,"__esModule",{value:!0}),qs.useInitProps=r;var e=t(b),n=Tu();function r(i){var a,s=i.defaultIndex,o=s===void 0?0:s,l=i.data,u=l===void 0?[]:l,c=i.loop,A=c===void 0?!0:c,d=i.autoPlayInterval,f=d===void 0?1e3:d,p=i.scrollAnimationDuration,h=p===void 0?500:p,v=i.style,E=v===void 0?{}:v,C=i.panGestureHandlerProps,m=C===void 0?{}:C,g=i.autoFillData,y=g===void 0?!0:g,x=i.enabled,w=x===void 0?!0:x,S=i.pagingEnabled,D=S===void 0?!0:S,I=i.overscrollEnabled,_=I===void 0?!0:I,O=i.snapEnabled,T=O===void 0?(a=i.enableSnap)!=null?a:!0:O,R=i.width,P=i.height,F=Math.round(R||0),H=Math.round(P||0),k=Math.max(f,0),V=e.default.useMemo(function(){return(0,n.computedFillDataWithAutoFillData)({loop:A,autoFillData:y,data:u,dataLength:u.length})},[u,A,y]),W=V.length,B=u.length;if(i.mode==="vertical-stack"||i.mode==="horizontal-stack"){var G,N;i.modeConfig||(i.modeConfig={}),i.modeConfig.showLength=(G=(N=i.modeConfig)==null?void 0:N.showLength)!=null?G:W-1}return Object.assign({},i,{defaultIndex:o,autoFillData:y,data:V,dataLength:W,rawData:u,rawDataLength:B,loop:A,enabled:w,autoPlayInterval:k,scrollAnimationDuration:h,style:E,panGestureHandlerProps:m,pagingEnabled:D,snapEnabled:T,overscrollEnabled:_,width:F,height:H})}return qs}var js={},ba={},Qs={},Yh;function o8(){if(Yh)return Qs;Yh=1,Object.defineProperty(Qs,"__esModule",{value:!0}),Qs.normalLayout=n;var t=Ot,e={code:`function anonymous(value) { const { interpolate, size, @@ -314,7 +314,7 @@ Supported values: ["extend", "clamp", "identity", Extrapolatation.CLAMP, Extrapo translateX: translate }] }; -}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/normal.ts",sourceMap:'{"version":3,"names":["anonymous","value","interpolate","size","vertical","_closure","translate","transform","translateY","translateX"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/normal.ts"],"mappings":"AAKS,SAACA,SAAkBA,CAAAC,KAAA;EAAA;IAAAC,WAAA;IAAAC,IAAA;IAAAC;EAAA,SAAAC,QAAA;EAExB,MAAMC,SAAS,GAAGJ,WAAW,CAACD,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAACE,IAAI,EAAE,CAAC,EAAEA,IAAI,CAAC,CAAC;EAElE,OAAO;IACLI,SAAS,EAAE,CACTH,QAAQ,GACJ;MACAI,UAAU,EAAEF;IACd,CAAC,GACC;MACAG,UAAU,EAAEH;IACd,CAAC;EAEP,CAAC;AACH"}'};function n(r){var i=r.size,a=r.vertical;return function(){var s=[new $.Error,-4,-27],o=function(u){var c=(0,t.interpolate)(u,[-1,0,1],[-i,0,i]);return{transform:[a?{translateY:c}:{translateX:c}]}};return o._closure={interpolate:t.interpolate,size:i,vertical:a},o.__initData=e,o.__workletHash=6911475201616,o.__stackDetails=s,o.__version="3.3.0",o}()}return Qs}var Zs={},Wh;function e8(){if(Wh)return Zs;Wh=1,Object.defineProperty(Zs,"__esModule",{value:!0}),Zs.parallaxLayout=n;var t=Ot,e={code:`function anonymous(value) { +}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/normal.ts",sourceMap:'{"version":3,"names":["anonymous","value","interpolate","size","vertical","_closure","translate","transform","translateY","translateX"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/normal.ts"],"mappings":"AAKS,SAACA,SAAkBA,CAAAC,KAAA;EAAA;IAAAC,WAAA;IAAAC,IAAA;IAAAC;EAAA,SAAAC,QAAA;EAExB,MAAMC,SAAS,GAAGJ,WAAW,CAACD,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAACE,IAAI,EAAE,CAAC,EAAEA,IAAI,CAAC,CAAC;EAElE,OAAO;IACLI,SAAS,EAAE,CACTH,QAAQ,GACJ;MACAI,UAAU,EAAEF;IACd,CAAC,GACC;MACAG,UAAU,EAAEH;IACd,CAAC;EAEP,CAAC;AACH"}'};function n(r){var i=r.size,a=r.vertical;return function(){var s=[new $.Error,-4,-27],o=function(u){var c=(0,t.interpolate)(u,[-1,0,1],[-i,0,i]);return{transform:[a?{translateY:c}:{translateX:c}]}};return o._closure={interpolate:t.interpolate,size:i,vertical:a},o.__initData=e,o.__workletHash=6911475201616,o.__stackDetails=s,o.__version="3.3.0",o}()}return Qs}var Zs={},zh;function l8(){if(zh)return Zs;zh=1,Object.defineProperty(Zs,"__esModule",{value:!0}),Zs.parallaxLayout=n;var t=Ot,e={code:`function anonymous(value) { const { interpolate, size, @@ -337,7 +337,7 @@ Supported values: ["extend", "clamp", "identity", Extrapolatation.CLAMP, Extrapo }], zIndex: zIndex }; -}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/parallax.ts",sourceMap:'{"version":3,"names":["anonymous","value","interpolate","size","parallaxScrollingOffset","Extrapolate","parallaxAdjacentItemScale","parallaxScrollingScale","vertical","_closure","translate","zIndex","CLAMP","scale","transform","translateY","translateX"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/parallax.ts"],"mappings":"AA8CS,SAACA,SAAkBA,CAAAC,KAAA;EAAA;IAAAC,WAAA;IAAAC,IAAA;IAAAC,uBAAA;IAAAC,WAAA;IAAAC,yBAAA;IAAAC,sBAAA;IAAAC;EAAA,SAAAC,QAAA;EAExB,MAAMC,SAAS,GAAGR,WAAW,CAC3BD,KAAK,EACL,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EACV,CAAC,CAACE,IAAI,GAAGC,uBAAuB,EAAE,CAAC,EAAED,IAAI,GAAGC,uBAAuB,CACrE,CAAC;EAED,MAAMO,MAAM,GAAGT,WAAW,CACxBD,KAAK,EACL,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EACV,CAAC,CAAC,EAAEE,IAAI,EAAE,CAAC,CAAC,EACZE,WAAW,CAACO,KACd,CAAC;EAED,MAAMC,KAAK,GAAGX,WAAW,CACvBD,KAAK,EACL,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EACV,CACEK,yBAAyB,EACzBC,sBAAsB,EACtBD,yBAAyB,CAC1B,EACDD,WAAW,CAACO,KACd,CAAC;EAED,OAAO;IACLE,SAAS,EAAE,CACTN,QAAQ,GACJ;MACAO,UAAU,EAAEL;IACd,CAAC,GACC;MACAM,UAAU,EAAEN;IACd,CAAC,EACH;MACEG,KAAA,EAAAA;IACF,CAAC,CACF;IACDF,MAAA,EAAAA;EACF,CAAC;AACH"}'};function n(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.size,s=r.vertical,o=i.parallaxScrollingOffset,l=o===void 0?100:o,u=i.parallaxScrollingScale,c=u===void 0?.8:u,A=i.parallaxAdjacentItemScale,d=A===void 0?c**2:A;return function(){var f=[new $.Error,-8,-27],p=function(v){var E=(0,t.interpolate)(v,[-1,0,1],[-a+l,0,a-l]),C=(0,t.interpolate)(v,[-1,0,1],[0,a,0],t.Extrapolate.CLAMP),m=(0,t.interpolate)(v,[-1,0,1],[d,c,d],t.Extrapolate.CLAMP);return{transform:[s?{translateY:E}:{translateX:E},{scale:m}],zIndex:C}};return p._closure={interpolate:t.interpolate,size:a,parallaxScrollingOffset:l,Extrapolate:t.Extrapolate,parallaxAdjacentItemScale:d,parallaxScrollingScale:c,vertical:s},p.__initData=e,p.__workletHash=6622793889829,p.__stackDetails=f,p.__version="3.3.0",p}()}return Zs}var Ii={},Xh;function cE(){if(Xh)return Ii;Xh=1,Object.defineProperty(Ii,"__esModule",{value:!0}),Ii.horizontalStackLayout=a,Ii.useHorizontalStackLayout=s,Ii.verticalStackLayout=l;var t=b,e=jo,n=Ot,r=e.Dimensions.get("window"),i={code:`function anonymous(_value) { +}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/parallax.ts",sourceMap:'{"version":3,"names":["anonymous","value","interpolate","size","parallaxScrollingOffset","Extrapolate","parallaxAdjacentItemScale","parallaxScrollingScale","vertical","_closure","translate","zIndex","CLAMP","scale","transform","translateY","translateX"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/parallax.ts"],"mappings":"AA8CS,SAACA,SAAkBA,CAAAC,KAAA;EAAA;IAAAC,WAAA;IAAAC,IAAA;IAAAC,uBAAA;IAAAC,WAAA;IAAAC,yBAAA;IAAAC,sBAAA;IAAAC;EAAA,SAAAC,QAAA;EAExB,MAAMC,SAAS,GAAGR,WAAW,CAC3BD,KAAK,EACL,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EACV,CAAC,CAACE,IAAI,GAAGC,uBAAuB,EAAE,CAAC,EAAED,IAAI,GAAGC,uBAAuB,CACrE,CAAC;EAED,MAAMO,MAAM,GAAGT,WAAW,CACxBD,KAAK,EACL,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EACV,CAAC,CAAC,EAAEE,IAAI,EAAE,CAAC,CAAC,EACZE,WAAW,CAACO,KACd,CAAC;EAED,MAAMC,KAAK,GAAGX,WAAW,CACvBD,KAAK,EACL,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EACV,CACEK,yBAAyB,EACzBC,sBAAsB,EACtBD,yBAAyB,CAC1B,EACDD,WAAW,CAACO,KACd,CAAC;EAED,OAAO;IACLE,SAAS,EAAE,CACTN,QAAQ,GACJ;MACAO,UAAU,EAAEL;IACd,CAAC,GACC;MACAM,UAAU,EAAEN;IACd,CAAC,EACH;MACEG,KAAA,EAAAA;IACF,CAAC,CACF;IACDF,MAAA,EAAAA;EACF,CAAC;AACH"}'};function n(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.size,s=r.vertical,o=i.parallaxScrollingOffset,l=o===void 0?100:o,u=i.parallaxScrollingScale,c=u===void 0?.8:u,A=i.parallaxAdjacentItemScale,d=A===void 0?c**2:A;return function(){var f=[new $.Error,-8,-27],p=function(v){var E=(0,t.interpolate)(v,[-1,0,1],[-a+l,0,a-l]),C=(0,t.interpolate)(v,[-1,0,1],[0,a,0],t.Extrapolate.CLAMP),m=(0,t.interpolate)(v,[-1,0,1],[d,c,d],t.Extrapolate.CLAMP);return{transform:[s?{translateY:E}:{translateX:E},{scale:m}],zIndex:C}};return p._closure={interpolate:t.interpolate,size:a,parallaxScrollingOffset:l,Extrapolate:t.Extrapolate,parallaxAdjacentItemScale:d,parallaxScrollingScale:c,vertical:s},p.__initData=e,p.__workletHash=6622793889829,p.__stackDetails=f,p.__version="3.3.0",p}()}return Zs}var Ii={},Kh;function AE(){if(Kh)return Ii;Kh=1,Object.defineProperty(Ii,"__esModule",{value:!0}),Ii.horizontalStackLayout=a,Ii.useHorizontalStackLayout=s,Ii.verticalStackLayout=l;var t=b,e=Qo,n=Ot,r=e.Dimensions.get("window"),i={code:`function anonymous(_value) { const { screen, modeConfig, @@ -399,7 +399,7 @@ Supported values: ["extend", "clamp", "identity", Extrapolatation.CLAMP, Extrapo rotateZ: rotateZ }); return styles; -}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/stack.ts",sourceMap:'{"version":3,"names":["anonymous","_value","screen","modeConfig","getCommonVariables","getCommonStyles","interpolate","Extrapolate","_closure","showLength","snapDirection","moveSize","width","stackInterval","scaleInterval","opacityInterval","rotateZDeg","transform","validLength","value","inputRange","zIndex","opacity","styles","translateX","scale","rotateZ","CLAMP","push"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/stack.ts"],"mappings":"AAsCS,SAACA,SAAcA,CAAKC,MAAA;EAAA;IAAAC,MAAA;IAAAC,UAAA;IAAAC,kBAAA;IAAAC,eAAA;IAAAC,WAAA;IAAAC;EAAA,SAAAC,QAAA;EAGzB,MAAM;IACJC,UAAU,EAAVA,UAAU;IACVC,aAAa,GAAG,MAAM;IACtBC,QAAQ,GAAGT,MAAM,CAACU,KAAK;IACvBC,aAAa,GAAG,EAAE;IAClBC,aAAa,GAAG,IAAI;IACpBC,eAAe,GAAG,GAAG;IACrBC,UAAU,GAAG;EACf,CAAC,GAAGb,UAAU;EAEd,MAAMc,SAAuC,GAAG,EAAE;EAClD,MAAM;IAAEC,WAAW,EAAXA,WAAW;IAAEC,KAAK,EAALA,KAAK;IAAEC,UAAA,EAAAA;EAAW,CAAC,GAAGhB,kBAAkB,CAAC;IAC5DK,UAAU,EAAEA,UAAW;IACvBU,KAAK,EAAElB,MAAM;IACbS,aAAA,EAAAA;EACF,CAAC,CAAC;EACF,MAAM;IAAEW,MAAM,EAANA,MAAM;IAAEC,OAAA,EAAAA;EAAQ,CAAC,GAAGjB,eAAe,CAAC;IAC1Ca,WAAW,EAAXA,WAAW;IACXC,KAAK,EAALA,KAAK;IACLJ,eAAe,EAAfA,eAAe;IACfL,aAAA,EAAAA;EACF,CAAC,CAAC;EAEF,MAAMa,MAAiB,GAAG;IACxBN,SAAS,EAATA,SAAS;IACTI,MAAM,EAANA,MAAM;IACNC,OAAA,EAAAA;EACF,CAAC;EAED,IAAIE,UAAkB;EACtB,IAAIC,KAAa;EACjB,IAAIC,OAAe;EAEnB,IAAIhB,aAAa,KAAK,MAAM,EAAE;IAC5Bc,UAAU,GAAGlB,WAAW,CACtBa,KAAK,EACLC,UAAU,EACV,CAAC,CAACT,QAAQ,EAAE,CAAC,EAAEO,WAAW,GAAGL,aAAa,CAAC,EAC3CN,WAAW,CAACoB,KACd,CAAC;IACDF,KAAK,GAAGnB,WAAW,CACjBa,KAAK,EACLC,UAAU,EACV,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,GAAGF,WAAW,GAAGJ,aAAa,CAAC,EACvCP,WAAW,CAACoB,KACd,CAAC;IACDD,OAAO,GAAMpB,WAAW,CACtBa,KAAK,EACLC,UAAU,EACV,CAAC,CAACJ,UAAU,EAAE,CAAC,EAAE,CAAC,CAAC,EACnBT,WAAW,CAACoB,KACd,CAAE,QAAI;EACR,CAAC,MACI,IAAIjB,aAAa,KAAK,OAAO,EAAE;IAClCc,UAAU,GAAGlB,WAAW,CACtBa,KAAK,EACLC,UAAU,EACV,CAAC,CAACF,WAAW,GAAGL,aAAa,EAAE,CAAC,EAAEF,QAAQ,CAAC,EAC3CJ,WAAW,CAACoB,KACd,CAAC;IACDF,KAAK,GAAGnB,WAAW,CACjBa,KAAK,EACLC,UAAU,EACV,CAAC,CAAC,GAAGF,WAAW,GAAGJ,aAAa,EAAE,CAAC,EAAE,CAAC,CAAC,EACvCP,WAAW,CAACoB,KACd,CAAC;IACDD,OAAO,GAAMpB,WAAW,CACtBa,KAAK,EACLC,UAAU,EACV,CAAC,CAAC,EAAE,CAAC,EAAEJ,UAAU,CAAC,EAClBT,WAAW,CAACoB,KACd,CAAE,QAAI;EACR;EAEAV,SAAS,CAACW,IAAI,CACZ;IACEJ,UAAU,EAAEA;EACd,CAAC,EACD;IACEC,KAAK,EAAEA;EACT,CAAC,EACD;IACEC,OAAO,EAAEA;EACX,CACF,CAAC;EAED,OAAOH,MAAM;AACf"}'};function a(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return function(){var p=[new $.Error,-7,-27],h=function(E){var C=f.showLength,m=f.snapDirection,g=m===void 0?"left":m,y=f.moveSize,x=y===void 0?r.width:y,w=f.stackInterval,S=w===void 0?18:w,D=f.scaleInterval,I=D===void 0?.04:D,_=f.opacityInterval,O=_===void 0?.1:_,T=f.rotateZDeg,R=T===void 0?30:T,P=[],F=c({showLength:C,value:E,snapDirection:g}),H=F.validLength,M=F.value,V=F.inputRange,W=d({validLength:H,value:M,opacityInterval:O,snapDirection:g}),B=W.zIndex,G=W.opacity,N={transform:P,zIndex:B,opacity:G},k,U,z;return g==="left"?(k=(0,n.interpolate)(M,V,[-x,0,H*S],n.Extrapolate.CLAMP),U=(0,n.interpolate)(M,V,[1,1,1-H*I],n.Extrapolate.CLAMP),z=`${(0,n.interpolate)(M,V,[-R,0,0],n.Extrapolate.CLAMP)}deg`):g==="right"&&(k=(0,n.interpolate)(M,V,[-H*S,0,x],n.Extrapolate.CLAMP),U=(0,n.interpolate)(M,V,[1-H*I,1,1],n.Extrapolate.CLAMP),z=`${(0,n.interpolate)(M,V,[0,0,R],n.Extrapolate.CLAMP)}deg`),P.push({translateX:k},{scale:U},{rotateZ:z}),N};return h._closure={screen:r,modeConfig:f,getCommonVariables:c,getCommonStyles:d,interpolate:n.interpolate,Extrapolate:n.Extrapolate},h.__initData=i,h.__workletHash=5756272565831,h.__stackDetails=p,h.__version="3.3.0",h}()}function s(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h=(0,t.useMemo)(function(){return Object.assign({type:f.snapDirection==="right"?"negative":"positive",viewCount:f.showLength},p)},[f,p]);return{layout:a(f),config:h}}var o={code:`function anonymous(_value) { +}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/stack.ts",sourceMap:'{"version":3,"names":["anonymous","_value","screen","modeConfig","getCommonVariables","getCommonStyles","interpolate","Extrapolate","_closure","showLength","snapDirection","moveSize","width","stackInterval","scaleInterval","opacityInterval","rotateZDeg","transform","validLength","value","inputRange","zIndex","opacity","styles","translateX","scale","rotateZ","CLAMP","push"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/stack.ts"],"mappings":"AAsCS,SAACA,SAAcA,CAAKC,MAAA;EAAA;IAAAC,MAAA;IAAAC,UAAA;IAAAC,kBAAA;IAAAC,eAAA;IAAAC,WAAA;IAAAC;EAAA,SAAAC,QAAA;EAGzB,MAAM;IACJC,UAAU,EAAVA,UAAU;IACVC,aAAa,GAAG,MAAM;IACtBC,QAAQ,GAAGT,MAAM,CAACU,KAAK;IACvBC,aAAa,GAAG,EAAE;IAClBC,aAAa,GAAG,IAAI;IACpBC,eAAe,GAAG,GAAG;IACrBC,UAAU,GAAG;EACf,CAAC,GAAGb,UAAU;EAEd,MAAMc,SAAuC,GAAG,EAAE;EAClD,MAAM;IAAEC,WAAW,EAAXA,WAAW;IAAEC,KAAK,EAALA,KAAK;IAAEC,UAAA,EAAAA;EAAW,CAAC,GAAGhB,kBAAkB,CAAC;IAC5DK,UAAU,EAAEA,UAAW;IACvBU,KAAK,EAAElB,MAAM;IACbS,aAAA,EAAAA;EACF,CAAC,CAAC;EACF,MAAM;IAAEW,MAAM,EAANA,MAAM;IAAEC,OAAA,EAAAA;EAAQ,CAAC,GAAGjB,eAAe,CAAC;IAC1Ca,WAAW,EAAXA,WAAW;IACXC,KAAK,EAALA,KAAK;IACLJ,eAAe,EAAfA,eAAe;IACfL,aAAA,EAAAA;EACF,CAAC,CAAC;EAEF,MAAMa,MAAiB,GAAG;IACxBN,SAAS,EAATA,SAAS;IACTI,MAAM,EAANA,MAAM;IACNC,OAAA,EAAAA;EACF,CAAC;EAED,IAAIE,UAAkB;EACtB,IAAIC,KAAa;EACjB,IAAIC,OAAe;EAEnB,IAAIhB,aAAa,KAAK,MAAM,EAAE;IAC5Bc,UAAU,GAAGlB,WAAW,CACtBa,KAAK,EACLC,UAAU,EACV,CAAC,CAACT,QAAQ,EAAE,CAAC,EAAEO,WAAW,GAAGL,aAAa,CAAC,EAC3CN,WAAW,CAACoB,KACd,CAAC;IACDF,KAAK,GAAGnB,WAAW,CACjBa,KAAK,EACLC,UAAU,EACV,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,GAAGF,WAAW,GAAGJ,aAAa,CAAC,EACvCP,WAAW,CAACoB,KACd,CAAC;IACDD,OAAO,GAAMpB,WAAW,CACtBa,KAAK,EACLC,UAAU,EACV,CAAC,CAACJ,UAAU,EAAE,CAAC,EAAE,CAAC,CAAC,EACnBT,WAAW,CAACoB,KACd,CAAE,QAAI;EACR,CAAC,MACI,IAAIjB,aAAa,KAAK,OAAO,EAAE;IAClCc,UAAU,GAAGlB,WAAW,CACtBa,KAAK,EACLC,UAAU,EACV,CAAC,CAACF,WAAW,GAAGL,aAAa,EAAE,CAAC,EAAEF,QAAQ,CAAC,EAC3CJ,WAAW,CAACoB,KACd,CAAC;IACDF,KAAK,GAAGnB,WAAW,CACjBa,KAAK,EACLC,UAAU,EACV,CAAC,CAAC,GAAGF,WAAW,GAAGJ,aAAa,EAAE,CAAC,EAAE,CAAC,CAAC,EACvCP,WAAW,CAACoB,KACd,CAAC;IACDD,OAAO,GAAMpB,WAAW,CACtBa,KAAK,EACLC,UAAU,EACV,CAAC,CAAC,EAAE,CAAC,EAAEJ,UAAU,CAAC,EAClBT,WAAW,CAACoB,KACd,CAAE,QAAI;EACR;EAEAV,SAAS,CAACW,IAAI,CACZ;IACEJ,UAAU,EAAEA;EACd,CAAC,EACD;IACEC,KAAK,EAAEA;EACT,CAAC,EACD;IACEC,OAAO,EAAEA;EACX,CACF,CAAC;EAED,OAAOH,MAAM;AACf"}'};function a(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return function(){var p=[new $.Error,-7,-27],h=function(E){var C=f.showLength,m=f.snapDirection,g=m===void 0?"left":m,y=f.moveSize,x=y===void 0?r.width:y,w=f.stackInterval,S=w===void 0?18:w,D=f.scaleInterval,I=D===void 0?.04:D,_=f.opacityInterval,O=_===void 0?.1:_,T=f.rotateZDeg,R=T===void 0?30:T,P=[],F=c({showLength:C,value:E,snapDirection:g}),H=F.validLength,k=F.value,V=F.inputRange,W=d({validLength:H,value:k,opacityInterval:O,snapDirection:g}),B=W.zIndex,G=W.opacity,N={transform:P,zIndex:B,opacity:G},M,U,z;return g==="left"?(M=(0,n.interpolate)(k,V,[-x,0,H*S],n.Extrapolate.CLAMP),U=(0,n.interpolate)(k,V,[1,1,1-H*I],n.Extrapolate.CLAMP),z=`${(0,n.interpolate)(k,V,[-R,0,0],n.Extrapolate.CLAMP)}deg`):g==="right"&&(M=(0,n.interpolate)(k,V,[-H*S,0,x],n.Extrapolate.CLAMP),U=(0,n.interpolate)(k,V,[1-H*I,1,1],n.Extrapolate.CLAMP),z=`${(0,n.interpolate)(k,V,[0,0,R],n.Extrapolate.CLAMP)}deg`),P.push({translateX:M},{scale:U},{rotateZ:z}),N};return h._closure={screen:r,modeConfig:f,getCommonVariables:c,getCommonStyles:d,interpolate:n.interpolate,Extrapolate:n.Extrapolate},h.__initData=i,h.__workletHash=5756272565831,h.__stackDetails=p,h.__version="3.3.0",h}()}function s(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h=(0,t.useMemo)(function(){return Object.assign({type:f.snapDirection==="right"?"negative":"positive",viewCount:f.showLength},p)},[f,p]);return{layout:a(f),config:h}}var o={code:`function anonymous(_value) { const { screen, modeConfig, @@ -466,7 +466,7 @@ Supported values: ["extend", "clamp", "identity", Extrapolatation.CLAMP, Extrapo translateY: translateY }); return styles; -}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/stack.ts",sourceMap:'{"version":3,"names":["anonymous","_value","screen","modeConfig","getCommonVariables","getCommonStyles","interpolate","Extrapolate","_closure","showLength","snapDirection","moveSize","width","stackInterval","scaleInterval","opacityInterval","rotateZDeg","transform","validLength","value","inputRange","zIndex","opacity","styles","translateX","scale","rotateZ","translateY","CLAMP","push"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/stack.ts"],"mappings":"AA0JS,SAACA,SAAcA,CAAKC,MAAA;EAAA;IAAAC,MAAA;IAAAC,UAAA;IAAAC,kBAAA;IAAAC,eAAA;IAAAC,WAAA;IAAAC;EAAA,SAAAC,QAAA;EAGzB,MAAM;IACJC,UAAU,EAAVA,UAAU;IACVC,aAAa,GAAG,MAAM;IACtBC,QAAQ,GAAGT,MAAM,CAACU,KAAK;IACvBC,aAAa,GAAG,EAAE;IAClBC,aAAa,GAAG,IAAI;IACpBC,eAAe,GAAG,GAAG;IACrBC,UAAU,GAAG;EACf,CAAC,GAAGb,UAAU;EACd,MAAMc,SAAuC,GAAG,EAAE;EAClD,MAAM;IAAEC,WAAW,EAAXA,WAAW;IAAEC,KAAK,EAALA,KAAK;IAAEC,UAAA,EAAAA;EAAW,CAAC,GAAGhB,kBAAkB,CAAC;IAC5DK,UAAU,EAAEA,UAAW;IACvBU,KAAK,EAAElB,MAAM;IACbS,aAAA,EAAAA;EACF,CAAC,CAAC;EACF,MAAM;IAAEW,MAAM,EAANA,MAAM;IAAEC,OAAA,EAAAA;EAAQ,CAAC,GAAGjB,eAAe,CAAC;IAC1Ca,WAAW,EAAXA,WAAW;IACXC,KAAK,EAALA,KAAK;IACLJ,eAAe,EAAfA,eAAe;IACfL,aAAA,EAAAA;EACF,CAAC,CAAC;EAEF,MAAMa,MAAiB,GAAG;IACxBN,SAAS,EAATA,SAAS;IACTI,MAAM,EAANA,MAAM;IACNC,OAAA,EAAAA;EACF,CAAC;EAED,IAAIE,UAAkB;EACtB,IAAIC,KAAa;EACjB,IAAIC,OAAe;EACnB,IAAIC,UAAkB;EAEtB,IAAIjB,aAAa,KAAK,MAAM,EAAE;IAC5Bc,UAAU,GAAGlB,WAAW,CACtBa,KAAK,EACLC,UAAU,EACV,CAAC,CAACT,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,EACjBJ,WAAW,CAACqB,KACd,CAAC;IACDH,KAAK,GAAGnB,WAAW,CACjBa,KAAK,EACLC,UAAU,EACV,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,GAAGF,WAAW,GAAGJ,aAAa,CAAC,EACvCP,WAAW,CAACqB,KACd,CAAC;IACDF,OAAO,GAAMpB,WAAW,CACtBa,KAAK,EACLC,UAAU,EACV,CAAC,CAACJ,UAAU,EAAE,CAAC,EAAE,CAAC,CAAC,EACnBT,WAAW,CAACqB,KACd,CAAE,QAAI;IACND,UAAU,GAAGrB,WAAW,CACtBa,KAAK,EACLC,UAAU,EACV,CAAC,CAAC,EAAE,CAAC,EAAEF,WAAW,GAAGL,aAAa,CAAC,EACnCN,WAAW,CAACqB,KACd,CAAC;EACH,CAAC,MACI,IAAIlB,aAAa,KAAK,OAAO,EAAE;IAClCc,UAAU,GAAGlB,WAAW,CACtBa,KAAK,EACLC,UAAU,EACV,CAAC,CAAC,EAAE,CAAC,EAAET,QAAQ,CAAC,EAChBJ,WAAW,CAACqB,KACd,CAAC;IACDH,KAAK,GAAGnB,WAAW,CACjBa,KAAK,EACLC,UAAU,EACV,CAAC,CAAC,GAAGF,WAAW,GAAGJ,aAAa,EAAE,CAAC,EAAE,CAAC,CAAC,EACvCP,WAAW,CAACqB,KACd,CAAC;IACDF,OAAO,GAAMpB,WAAW,CACtBa,KAAK,EACLC,UAAU,EACV,CAAC,CAAC,EAAE,CAAC,EAAEJ,UAAU,CAAC,EAClBT,WAAW,CAACqB,KACd,CAAE,QAAI;IACND,UAAU,GAAGrB,WAAW,CACtBa,KAAK,EACLC,UAAU,EACV,CAACF,WAAW,GAAGL,aAAa,EAAE,CAAC,EAAE,CAAC,CAAC,EACnCN,WAAW,CAACqB,KACd,CAAC;EACH;EAEAX,SAAS,CAACY,IAAI,CACZ;IACEL,UAAU,EAAEA;EACd,CAAC,EACD;IACEC,KAAK,EAAEA;EACT,CAAC,EACD;IACEC,OAAO,EAAEA;EACX,CAAC,EACD;IACEC,UAAU,EAAEA;EACd,CACF,CAAC;EAED,OAAOJ,MAAM;AACf"}'};function l(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return function(){var p=[new $.Error,-7,-27],h=function(E){var C=f.showLength,m=f.snapDirection,g=m===void 0?"left":m,y=f.moveSize,x=y===void 0?r.width:y,w=f.stackInterval,S=w===void 0?18:w,D=f.scaleInterval,I=D===void 0?.04:D,_=f.opacityInterval,O=_===void 0?.1:_,T=f.rotateZDeg,R=T===void 0?30:T,P=[],F=c({showLength:C,value:E,snapDirection:g}),H=F.validLength,M=F.value,V=F.inputRange,W=d({validLength:H,value:M,opacityInterval:O,snapDirection:g}),B=W.zIndex,G=W.opacity,N={transform:P,zIndex:B,opacity:G},k,U,z,K;return g==="left"?(k=(0,n.interpolate)(M,V,[-x,0,0],n.Extrapolate.CLAMP),U=(0,n.interpolate)(M,V,[1,1,1-H*I],n.Extrapolate.CLAMP),z=`${(0,n.interpolate)(M,V,[-R,0,0],n.Extrapolate.CLAMP)}deg`,K=(0,n.interpolate)(M,V,[0,0,H*S],n.Extrapolate.CLAMP)):g==="right"&&(k=(0,n.interpolate)(M,V,[0,0,x],n.Extrapolate.CLAMP),U=(0,n.interpolate)(M,V,[1-H*I,1,1],n.Extrapolate.CLAMP),z=`${(0,n.interpolate)(M,V,[0,0,R],n.Extrapolate.CLAMP)}deg`,K=(0,n.interpolate)(M,V,[H*S,0,0],n.Extrapolate.CLAMP)),P.push({translateX:k},{scale:U},{rotateZ:z},{translateY:K}),N};return h._closure={screen:r,modeConfig:f,getCommonVariables:c,getCommonStyles:d,interpolate:n.interpolate,Extrapolate:n.Extrapolate},h.__initData=o,h.__workletHash=8233536719177,h.__stackDetails=p,h.__version="3.3.0",h}()}var u={code:`function getCommonVariables(opts) { +}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/stack.ts",sourceMap:'{"version":3,"names":["anonymous","_value","screen","modeConfig","getCommonVariables","getCommonStyles","interpolate","Extrapolate","_closure","showLength","snapDirection","moveSize","width","stackInterval","scaleInterval","opacityInterval","rotateZDeg","transform","validLength","value","inputRange","zIndex","opacity","styles","translateX","scale","rotateZ","translateY","CLAMP","push"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/stack.ts"],"mappings":"AA0JS,SAACA,SAAcA,CAAKC,MAAA;EAAA;IAAAC,MAAA;IAAAC,UAAA;IAAAC,kBAAA;IAAAC,eAAA;IAAAC,WAAA;IAAAC;EAAA,SAAAC,QAAA;EAGzB,MAAM;IACJC,UAAU,EAAVA,UAAU;IACVC,aAAa,GAAG,MAAM;IACtBC,QAAQ,GAAGT,MAAM,CAACU,KAAK;IACvBC,aAAa,GAAG,EAAE;IAClBC,aAAa,GAAG,IAAI;IACpBC,eAAe,GAAG,GAAG;IACrBC,UAAU,GAAG;EACf,CAAC,GAAGb,UAAU;EACd,MAAMc,SAAuC,GAAG,EAAE;EAClD,MAAM;IAAEC,WAAW,EAAXA,WAAW;IAAEC,KAAK,EAALA,KAAK;IAAEC,UAAA,EAAAA;EAAW,CAAC,GAAGhB,kBAAkB,CAAC;IAC5DK,UAAU,EAAEA,UAAW;IACvBU,KAAK,EAAElB,MAAM;IACbS,aAAA,EAAAA;EACF,CAAC,CAAC;EACF,MAAM;IAAEW,MAAM,EAANA,MAAM;IAAEC,OAAA,EAAAA;EAAQ,CAAC,GAAGjB,eAAe,CAAC;IAC1Ca,WAAW,EAAXA,WAAW;IACXC,KAAK,EAALA,KAAK;IACLJ,eAAe,EAAfA,eAAe;IACfL,aAAA,EAAAA;EACF,CAAC,CAAC;EAEF,MAAMa,MAAiB,GAAG;IACxBN,SAAS,EAATA,SAAS;IACTI,MAAM,EAANA,MAAM;IACNC,OAAA,EAAAA;EACF,CAAC;EAED,IAAIE,UAAkB;EACtB,IAAIC,KAAa;EACjB,IAAIC,OAAe;EACnB,IAAIC,UAAkB;EAEtB,IAAIjB,aAAa,KAAK,MAAM,EAAE;IAC5Bc,UAAU,GAAGlB,WAAW,CACtBa,KAAK,EACLC,UAAU,EACV,CAAC,CAACT,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,EACjBJ,WAAW,CAACqB,KACd,CAAC;IACDH,KAAK,GAAGnB,WAAW,CACjBa,KAAK,EACLC,UAAU,EACV,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,GAAGF,WAAW,GAAGJ,aAAa,CAAC,EACvCP,WAAW,CAACqB,KACd,CAAC;IACDF,OAAO,GAAMpB,WAAW,CACtBa,KAAK,EACLC,UAAU,EACV,CAAC,CAACJ,UAAU,EAAE,CAAC,EAAE,CAAC,CAAC,EACnBT,WAAW,CAACqB,KACd,CAAE,QAAI;IACND,UAAU,GAAGrB,WAAW,CACtBa,KAAK,EACLC,UAAU,EACV,CAAC,CAAC,EAAE,CAAC,EAAEF,WAAW,GAAGL,aAAa,CAAC,EACnCN,WAAW,CAACqB,KACd,CAAC;EACH,CAAC,MACI,IAAIlB,aAAa,KAAK,OAAO,EAAE;IAClCc,UAAU,GAAGlB,WAAW,CACtBa,KAAK,EACLC,UAAU,EACV,CAAC,CAAC,EAAE,CAAC,EAAET,QAAQ,CAAC,EAChBJ,WAAW,CAACqB,KACd,CAAC;IACDH,KAAK,GAAGnB,WAAW,CACjBa,KAAK,EACLC,UAAU,EACV,CAAC,CAAC,GAAGF,WAAW,GAAGJ,aAAa,EAAE,CAAC,EAAE,CAAC,CAAC,EACvCP,WAAW,CAACqB,KACd,CAAC;IACDF,OAAO,GAAMpB,WAAW,CACtBa,KAAK,EACLC,UAAU,EACV,CAAC,CAAC,EAAE,CAAC,EAAEJ,UAAU,CAAC,EAClBT,WAAW,CAACqB,KACd,CAAE,QAAI;IACND,UAAU,GAAGrB,WAAW,CACtBa,KAAK,EACLC,UAAU,EACV,CAACF,WAAW,GAAGL,aAAa,EAAE,CAAC,EAAE,CAAC,CAAC,EACnCN,WAAW,CAACqB,KACd,CAAC;EACH;EAEAX,SAAS,CAACY,IAAI,CACZ;IACEL,UAAU,EAAEA;EACd,CAAC,EACD;IACEC,KAAK,EAAEA;EACT,CAAC,EACD;IACEC,OAAO,EAAEA;EACX,CAAC,EACD;IACEC,UAAU,EAAEA;EACd,CACF,CAAC;EAED,OAAOJ,MAAM;AACf"}'};function l(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return function(){var p=[new $.Error,-7,-27],h=function(E){var C=f.showLength,m=f.snapDirection,g=m===void 0?"left":m,y=f.moveSize,x=y===void 0?r.width:y,w=f.stackInterval,S=w===void 0?18:w,D=f.scaleInterval,I=D===void 0?.04:D,_=f.opacityInterval,O=_===void 0?.1:_,T=f.rotateZDeg,R=T===void 0?30:T,P=[],F=c({showLength:C,value:E,snapDirection:g}),H=F.validLength,k=F.value,V=F.inputRange,W=d({validLength:H,value:k,opacityInterval:O,snapDirection:g}),B=W.zIndex,G=W.opacity,N={transform:P,zIndex:B,opacity:G},M,U,z,K;return g==="left"?(M=(0,n.interpolate)(k,V,[-x,0,0],n.Extrapolate.CLAMP),U=(0,n.interpolate)(k,V,[1,1,1-H*I],n.Extrapolate.CLAMP),z=`${(0,n.interpolate)(k,V,[-R,0,0],n.Extrapolate.CLAMP)}deg`,K=(0,n.interpolate)(k,V,[0,0,H*S],n.Extrapolate.CLAMP)):g==="right"&&(M=(0,n.interpolate)(k,V,[0,0,x],n.Extrapolate.CLAMP),U=(0,n.interpolate)(k,V,[1-H*I,1,1],n.Extrapolate.CLAMP),z=`${(0,n.interpolate)(k,V,[0,0,R],n.Extrapolate.CLAMP)}deg`,K=(0,n.interpolate)(k,V,[H*S,0,0],n.Extrapolate.CLAMP)),P.push({translateX:M},{scale:U},{rotateZ:z},{translateY:K}),N};return h._closure={screen:r,modeConfig:f,getCommonVariables:c,getCommonStyles:d,interpolate:n.interpolate,Extrapolate:n.Extrapolate},h.__initData=o,h.__workletHash=8233536719177,h.__stackDetails=p,h.__version="3.3.0",h}()}var u={code:`function getCommonVariables(opts) { const { showLength: showLength, value: _value, @@ -511,7 +511,7 @@ Supported values: ["extend", "clamp", "identity", Extrapolatation.CLAMP, Extrapo zIndex: zIndex, opacity: opacity }; -}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/stack.ts",sourceMap:'{"version":3,"names":["getCommonStyles","opts","interpolate","_closure","snapDirection","validLength","value","opacityInterval","zIndex","opacity","Math","floor","Number","MIN_VALUE","Error"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/stack.ts"],"mappings":"AAySA,SAAAA,eAASA,CAAgBC,IAAA,EAKxB;EAAA;IAAAC;EAAA,SAAAC,QAAA;EAGC,MAAM;IAAEC,aAAa,EAAbA,aAAa;IAAEC,WAAW,EAAXA,WAAW;IAAEC,KAAK,EAALA,KAAK;IAAEC,eAAA,EAAAA;EAAgB,CAAC,GAAGN,IAAI;EAEnE,IAAIO,MAAc;EAClB,IAAIC,OAAe;EAEnB,IAAIL,aAAa,KAAK,MAAM,EAAE;IAC5BI,MAAM,GACIE,IAAI,CAACC,KAAK,CAChBT,WAAW,CACTI,KAAK,EACL,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,GAAGM,MAAM,CAACC,SAAS,EAAE,CAAC,EAAER,WAAW,CAAC,EACjD,CACEO,MAAM,CAACC,SAAS,EAChBR,WAAW,EACXA,WAAW,EACXA,WAAW,GAAG,CAAC,EACf,CAAC,CAAC,CAEN,CAAC,GAAG,KACN,CAAC,GAAG,GAAG;IAETI,OAAO,GAAGP,WAAW,CACnBI,KAAK,EACL,CAAC,CAAC,CAAC,EAAE,CAAC,EAAED,WAAW,GAAG,CAAC,EAAEA,WAAW,CAAC,EACrC,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,GAAG,CAACA,WAAW,GAAG,CAAC,IAAIE,eAAe,EAAE,IAAI,CACzD,CAAC;EACH,CAAC,MACI,IAAIH,aAAa,KAAK,OAAO,EAAE;IAClCI,MAAM,GACIE,IAAI,CAACC,KAAK,CAChBT,WAAW,CACTI,KAAK,EACL,CAAC,CAACD,WAAW,EAAE,CAAC,EAAE,CAAC,GAAGO,MAAM,CAACC,SAAS,EAAE,CAAC,EAAE,GAAG,CAAC,EAC/C,CACE,CAAC,EACDR,WAAW,GAAG,CAAC,EACfA,WAAW,EACXA,WAAW,EACXO,MAAM,CAACC,SAAS,CAEpB,CAAC,GAAG,KACN,CAAC,GAAG,GAAG;IACTJ,OAAO,GAAGP,WAAW,CACnBI,KAAK,EACL,CAAC,CAACD,WAAW,EAAE,CAAC,GAAGA,WAAW,EAAE,CAAC,EAAE,CAAC,CAAC,EACrC,CAAC,IAAI,EAAE,CAAC,GAAG,CAACA,WAAW,GAAG,CAAC,IAAIE,eAAe,EAAE,CAAC,EAAE,IAAI,CACzD,CAAC;EACH,CAAC,MACI;IACH,MAAM,IAAIO,KAAK,CAAC,mDAAmD,CAAC;EACtE;EAEA,OAAO;IACLN,MAAM,EAANA,MAAM;IACNC,OAAA,EAAAA;EACF,CAAC;AACH"}'},d=function(){var f=[new $.Error,-2,-27],p=function(v){var E=v.snapDirection,C=v.validLength,m=v.value,g=v.opacityInterval,y,x;if(E==="left")y=Math.floor((0,n.interpolate)(m,[-1.5,-1,-1+Number.MIN_VALUE,0,C],[Number.MIN_VALUE,C,C,C-1,-1])*1e4)/100,x=(0,n.interpolate)(m,[-1,0,C-1,C],[.25,1,1-(C-1)*g,.25]);else if(E==="right")y=Math.floor((0,n.interpolate)(m,[-C,0,1-Number.MIN_VALUE,1,1.5],[1,C-1,C,C,Number.MIN_VALUE])*1e4)/100,x=(0,n.interpolate)(m,[-C,1-C,0,1],[.25,1-(C-1)*g,1,.25]);else throw new Error("snapDirection must be set to either left or right");return{zIndex:y,opacity:x}};return p._closure={interpolate:n.interpolate},p.__initData=A,p.__workletHash=1169076184363,p.__stackDetails=f,p.__version="3.3.0",p}();return Ii}var Yh;function t8(){if(Yh)return ba;Yh=1,Object.defineProperty(ba,"__esModule",{value:!0}),ba.Layouts=void 0;var t=JP(),e=e8(),n=cE(),r={normal:t.normalLayout,parallax:e.parallaxLayout,horizontalStack:n.horizontalStackLayout,verticalStack:n.verticalStackLayout};return ba.Layouts=r,ba}var zh;function n8(){if(zh)return js;zh=1;var t=nn;Object.defineProperty(js,"__esModule",{value:!0}),js.useLayoutConfig=r;var e=t(b),n=t8();function r(i){var a=i,s=a.size,o=a.vertical;return e.default.useMemo(function(){var l={size:s,vertical:o};switch(i.mode){case"parallax":return n.Layouts.parallax(l,i.modeConfig);case"horizontal-stack":return n.Layouts.horizontalStack(i.modeConfig);case"vertical-stack":return n.Layouts.verticalStack(i.modeConfig);default:return n.Layouts.normal(l)}},[i.mode,i.modeConfig,s,o])}return js}var Js={},Kh;function r8(){if(Kh)return Js;Kh=1,Object.defineProperty(Js,"__esModule",{value:!0}),Js.useOnProgressChange=i;var t=Ot,e=Ou(),n={code:`function anonymous() { +}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/stack.ts",sourceMap:'{"version":3,"names":["getCommonStyles","opts","interpolate","_closure","snapDirection","validLength","value","opacityInterval","zIndex","opacity","Math","floor","Number","MIN_VALUE","Error"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/stack.ts"],"mappings":"AAySA,SAAAA,eAASA,CAAgBC,IAAA,EAKxB;EAAA;IAAAC;EAAA,SAAAC,QAAA;EAGC,MAAM;IAAEC,aAAa,EAAbA,aAAa;IAAEC,WAAW,EAAXA,WAAW;IAAEC,KAAK,EAALA,KAAK;IAAEC,eAAA,EAAAA;EAAgB,CAAC,GAAGN,IAAI;EAEnE,IAAIO,MAAc;EAClB,IAAIC,OAAe;EAEnB,IAAIL,aAAa,KAAK,MAAM,EAAE;IAC5BI,MAAM,GACIE,IAAI,CAACC,KAAK,CAChBT,WAAW,CACTI,KAAK,EACL,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,GAAGM,MAAM,CAACC,SAAS,EAAE,CAAC,EAAER,WAAW,CAAC,EACjD,CACEO,MAAM,CAACC,SAAS,EAChBR,WAAW,EACXA,WAAW,EACXA,WAAW,GAAG,CAAC,EACf,CAAC,CAAC,CAEN,CAAC,GAAG,KACN,CAAC,GAAG,GAAG;IAETI,OAAO,GAAGP,WAAW,CACnBI,KAAK,EACL,CAAC,CAAC,CAAC,EAAE,CAAC,EAAED,WAAW,GAAG,CAAC,EAAEA,WAAW,CAAC,EACrC,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,GAAG,CAACA,WAAW,GAAG,CAAC,IAAIE,eAAe,EAAE,IAAI,CACzD,CAAC;EACH,CAAC,MACI,IAAIH,aAAa,KAAK,OAAO,EAAE;IAClCI,MAAM,GACIE,IAAI,CAACC,KAAK,CAChBT,WAAW,CACTI,KAAK,EACL,CAAC,CAACD,WAAW,EAAE,CAAC,EAAE,CAAC,GAAGO,MAAM,CAACC,SAAS,EAAE,CAAC,EAAE,GAAG,CAAC,EAC/C,CACE,CAAC,EACDR,WAAW,GAAG,CAAC,EACfA,WAAW,EACXA,WAAW,EACXO,MAAM,CAACC,SAAS,CAEpB,CAAC,GAAG,KACN,CAAC,GAAG,GAAG;IACTJ,OAAO,GAAGP,WAAW,CACnBI,KAAK,EACL,CAAC,CAACD,WAAW,EAAE,CAAC,GAAGA,WAAW,EAAE,CAAC,EAAE,CAAC,CAAC,EACrC,CAAC,IAAI,EAAE,CAAC,GAAG,CAACA,WAAW,GAAG,CAAC,IAAIE,eAAe,EAAE,CAAC,EAAE,IAAI,CACzD,CAAC;EACH,CAAC,MACI;IACH,MAAM,IAAIO,KAAK,CAAC,mDAAmD,CAAC;EACtE;EAEA,OAAO;IACLN,MAAM,EAANA,MAAM;IACNC,OAAA,EAAAA;EACF,CAAC;AACH"}'},d=function(){var f=[new $.Error,-2,-27],p=function(v){var E=v.snapDirection,C=v.validLength,m=v.value,g=v.opacityInterval,y,x;if(E==="left")y=Math.floor((0,n.interpolate)(m,[-1.5,-1,-1+Number.MIN_VALUE,0,C],[Number.MIN_VALUE,C,C,C-1,-1])*1e4)/100,x=(0,n.interpolate)(m,[-1,0,C-1,C],[.25,1,1-(C-1)*g,.25]);else if(E==="right")y=Math.floor((0,n.interpolate)(m,[-C,0,1-Number.MIN_VALUE,1,1.5],[1,C-1,C,C,Number.MIN_VALUE])*1e4)/100,x=(0,n.interpolate)(m,[-C,1-C,0,1],[.25,1-(C-1)*g,1,.25]);else throw new Error("snapDirection must be set to either left or right");return{zIndex:y,opacity:x}};return p._closure={interpolate:n.interpolate},p.__initData=A,p.__workletHash=1169076184363,p.__stackDetails=f,p.__version="3.3.0",p}();return Ii}var $h;function u8(){if($h)return ba;$h=1,Object.defineProperty(ba,"__esModule",{value:!0}),ba.Layouts=void 0;var t=o8(),e=l8(),n=AE(),r={normal:t.normalLayout,parallax:e.parallaxLayout,horizontalStack:n.horizontalStackLayout,verticalStack:n.verticalStackLayout};return ba.Layouts=r,ba}var qh;function c8(){if(qh)return js;qh=1;var t=nn;Object.defineProperty(js,"__esModule",{value:!0}),js.useLayoutConfig=r;var e=t(b),n=u8();function r(i){var a=i,s=a.size,o=a.vertical;return e.default.useMemo(function(){var l={size:s,vertical:o};switch(i.mode){case"parallax":return n.Layouts.parallax(l,i.modeConfig);case"horizontal-stack":return n.Layouts.horizontalStack(i.modeConfig);case"vertical-stack":return n.Layouts.verticalStack(i.modeConfig);default:return n.Layouts.normal(l)}},[i.mode,i.modeConfig,s,o])}return js}var Js={},jh;function d8(){if(jh)return Js;jh=1,Object.defineProperty(Js,"__esModule",{value:!0}),Js.useOnProgressChange=i;var t=Ot,e=Tu(),n={code:`function anonymous() { const { offsetX } = this._closure; @@ -539,7 +539,7 @@ Supported values: ["extend", "clamp", "identity", Extrapolatation.CLAMP, Extrapo let absoluteProgress = Math.abs(value / size); if (value > 0) absoluteProgress = rawDataLength - absoluteProgress; if (onProgressChange) runOnJS(onProgressChange)(value, absoluteProgress); -}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useOnProgressChange.ts",sourceMap:'{"version":3,"names":["anonymous","_value","computedOffsetXValueWithAutoFillData","rawDataLength","size","autoFillData","loop","onProgressChange","runOnJS","_closure","value","Math","max","min","absoluteProgress","abs"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useOnProgressChange.ts"],"mappings":"AAuBK,SAAAA,SAAMA,CAAKC,MAAA;EAAA;IAAAC,oCAAA;IAAAC,aAAA;IAAAC,IAAA;IAAAC,YAAA;IAAAC,IAAA;IAAAC,gBAAA;IAAAC;EAAA,SAAAC,QAAA;EACV,IAAIC,KAAK,GAAGR,oCAAoC,CAAC;IAC/CQ,KAAK,EAAET,MAAM;IACbE,aAAa,EAAbA,aAAa;IACbC,IAAI,EAAJA,IAAI;IACJC,YAAY,EAAZA,YAAY;IACZC,IAAA,EAAAA;EACF,CAAC,CAAC;EAEF,IAAI,CAACA,IAAI,EAAE;IACTI,KAAK,GAAGC,IAAI,CAACC,GAAG,CACd,EAAE,CAACT,aAAa,GAAG,CAAC,IAAIC,IAAI,CAAC,EAC7BO,IAAI,CAACE,GAAG,CAACH,KAAK,EAAE,CAAC,CACnB,CAAC;EACH;EAEA,IAAII,gBAAgB,GAAGH,IAAI,CAACI,GAAG,CAACL,KAAK,GAAGN,IAAI,CAAC;EAE7C,IAAIM,KAAK,GAAG,CAAC,EACXI,gBAAgB,GAAGX,aAAa,GAAGW,gBAAgB;EAErD,IAAIP,gBAAgB,EAClBC,OAAO,CAACD,gBAAgB,CAAC,CAACG,KAAK,EAAEI,gBAAgB,CAAC;AACtD"}'};function i(a){var s=a.autoFillData,o=a.loop,l=a.offsetX,u=a.size,c=a.rawDataLength,A=a.onProgressChange;(0,t.useAnimatedReaction)(function(){var d=[new $.Error,-2,-27],f=function(){return l.value};return f._closure={offsetX:l},f.__initData=n,f.__workletHash=0xe0543e9a5ec,f.__stackDetails=d,f.__version="3.3.0",f}(),function(){var d=[new $.Error,-8,-27],f=function(h){var v=(0,e.computedOffsetXValueWithAutoFillData)({value:h,rawDataLength:c,size:u,autoFillData:s,loop:o});o||(v=Math.max(-((c-1)*u),Math.min(v,0)));var E=Math.abs(v/u);v>0&&(E=c-E),A&&(0,t.runOnJS)(A)(v,E)};return f._closure={computedOffsetXValueWithAutoFillData:e.computedOffsetXValueWithAutoFillData,rawDataLength:c,size:u,autoFillData:s,loop:o,onProgressChange:A,runOnJS:t.runOnJS},f.__initData=r,f.__workletHash=2512862808065,f.__stackDetails=d,f.__version="3.3.0",f}(),[o,s,c,A])}return Js}var eo={},$h;function i8(){if($h)return eo;$h=1;var t=nn;Object.defineProperty(eo,"__esModule",{value:!0}),eo.usePropsErrorBoundary=n;var e=t(b);function n(r){e.default.useEffect(function(){var i=r.defaultIndex,a=r.dataLength;if(typeof i=="number"&&a>0&&(i<0||i>=a))throw new Error("DefaultIndex must be in the range of data length.");if(!r.mode||r.mode==="parallax"){if(!r.vertical&&!r.width)throw new Error("`width` must be specified for horizontal carousels.");if(r.vertical&&!r.height)throw new Error("`height` must be specified for vertical carousels.")}},[r])}return eo}var to={},qh;function a8(){if(qh)return to;qh=1,Object.defineProperty(to,"__esModule",{value:!0}),to.useVisibleRanges=n;var t=Ot,e={code:`function anonymous() { +}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useOnProgressChange.ts",sourceMap:'{"version":3,"names":["anonymous","_value","computedOffsetXValueWithAutoFillData","rawDataLength","size","autoFillData","loop","onProgressChange","runOnJS","_closure","value","Math","max","min","absoluteProgress","abs"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useOnProgressChange.ts"],"mappings":"AAuBK,SAAAA,SAAMA,CAAKC,MAAA;EAAA;IAAAC,oCAAA;IAAAC,aAAA;IAAAC,IAAA;IAAAC,YAAA;IAAAC,IAAA;IAAAC,gBAAA;IAAAC;EAAA,SAAAC,QAAA;EACV,IAAIC,KAAK,GAAGR,oCAAoC,CAAC;IAC/CQ,KAAK,EAAET,MAAM;IACbE,aAAa,EAAbA,aAAa;IACbC,IAAI,EAAJA,IAAI;IACJC,YAAY,EAAZA,YAAY;IACZC,IAAA,EAAAA;EACF,CAAC,CAAC;EAEF,IAAI,CAACA,IAAI,EAAE;IACTI,KAAK,GAAGC,IAAI,CAACC,GAAG,CACd,EAAE,CAACT,aAAa,GAAG,CAAC,IAAIC,IAAI,CAAC,EAC7BO,IAAI,CAACE,GAAG,CAACH,KAAK,EAAE,CAAC,CACnB,CAAC;EACH;EAEA,IAAII,gBAAgB,GAAGH,IAAI,CAACI,GAAG,CAACL,KAAK,GAAGN,IAAI,CAAC;EAE7C,IAAIM,KAAK,GAAG,CAAC,EACXI,gBAAgB,GAAGX,aAAa,GAAGW,gBAAgB;EAErD,IAAIP,gBAAgB,EAClBC,OAAO,CAACD,gBAAgB,CAAC,CAACG,KAAK,EAAEI,gBAAgB,CAAC;AACtD"}'};function i(a){var s=a.autoFillData,o=a.loop,l=a.offsetX,u=a.size,c=a.rawDataLength,A=a.onProgressChange;(0,t.useAnimatedReaction)(function(){var d=[new $.Error,-2,-27],f=function(){return l.value};return f._closure={offsetX:l},f.__initData=n,f.__workletHash=0xe0543e9a5ec,f.__stackDetails=d,f.__version="3.3.0",f}(),function(){var d=[new $.Error,-8,-27],f=function(h){var v=(0,e.computedOffsetXValueWithAutoFillData)({value:h,rawDataLength:c,size:u,autoFillData:s,loop:o});o||(v=Math.max(-((c-1)*u),Math.min(v,0)));var E=Math.abs(v/u);v>0&&(E=c-E),A&&(0,t.runOnJS)(A)(v,E)};return f._closure={computedOffsetXValueWithAutoFillData:e.computedOffsetXValueWithAutoFillData,rawDataLength:c,size:u,autoFillData:s,loop:o,onProgressChange:A,runOnJS:t.runOnJS},f.__initData=r,f.__workletHash=2512862808065,f.__stackDetails=d,f.__version="3.3.0",f}(),[o,s,c,A])}return Js}var eo={},Qh;function A8(){if(Qh)return eo;Qh=1;var t=nn;Object.defineProperty(eo,"__esModule",{value:!0}),eo.usePropsErrorBoundary=n;var e=t(b);function n(r){e.default.useEffect(function(){var i=r.defaultIndex,a=r.dataLength;if(typeof i=="number"&&a>0&&(i<0||i>=a))throw new Error("DefaultIndex must be in the range of data length.");if(!r.mode||r.mode==="parallax"){if(!r.vertical&&!r.width)throw new Error("`width` must be specified for horizontal carousels.");if(r.vertical&&!r.height)throw new Error("`height` must be specified for vertical carousels.")}},[r])}return eo}var to={},Zh;function f8(){if(Zh)return to;Zh=1,Object.defineProperty(to,"__esModule",{value:!0}),to.useVisibleRanges=n;var t=Ot,e={code:`function anonymous() { const { windowSize, translation, @@ -564,8 +564,8 @@ Supported values: ["extend", "clamp", "identity", Extrapolatation.CLAMP, Extrapo negativeRange: negativeRange, positiveRange: positiveRange }; -}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useVisibleRanges.tsx",sourceMap:'{"version":3,"names":["anonymous","windowSize","translation","viewSize","total","_closure","positiveCount","Math","round","negativeCount","curIndex","value","negativeRange","positiveRange"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useVisibleRanges.tsx"],"mappings":"AAuBiC,SAAAA,SAAMA,CAAA;EAAA;IAAAC,UAAA;IAAAC,WAAA;IAAAC,QAAA;IAAAC;EAAA,SAAAC,QAAA;EACnC,MAAMC,aAAa,GAAGC,IAAI,CAACC,KAAK,CAACP,UAAU,GAAG,CAAC,CAAC;EAChD,MAAMQ,aAAa,GAAGR,UAAU,GAAGK,aAAa;EAChD,IAAII,QAAQ,GAAGH,IAAI,CAACC,KAAK,CAAC,CAACN,WAAW,CAACS,KAAK,GAAGR,QAAQ,CAAC;EACxDO,QAAQ,GAAGA,QAAQ,GAAG,CAAC,GAAIA,QAAQ,GAAGN,KAAK,GAAIA,KAAK,GAAGM,QAAQ;EAC/D,MAAME,aAAa,GAAG,CACpB,CAACF,QAAQ,GAAGD,aAAa,GAAGL,KAAK,IAAIA,KAAK,EAC1C,CAACM,QAAQ,GAAG,CAAC,GAAGN,KAAK,IAAIA,KAAK,CAC/B;EACD,MAAMS,aAAa,GAAG,CACpB,CAACH,QAAQ,GAAGN,KAAK,IAAIA,KAAK,EAC1B,CAACM,QAAQ,GAAGJ,aAAa,GAAGF,KAAK,IAAIA,KAAK,CAC3C;EACD,IAAIQ,aAAa,CAAC,CAAC,CAAC,GAAGR,KAAK,IAAIQ,aAAa,CAAC,CAAC,CAAC,GAAGA,aAAa,CAAC,CAAC,CAAC,EAAE;IACnEA,aAAa,CAAC,CAAC,CAAC,GAAGR,KAAK,GAAG,CAAC;IAC5BS,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC;EACtB;EACA,IAAIA,aAAa,CAAC,CAAC,CAAC,GAAGA,aAAa,CAAC,CAAC,CAAC,EAAE;IACvCD,aAAa,CAAC,CAAC,CAAC,GAAGR,KAAK,GAAG,CAAC;IAC5BS,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC;EACtB;EACA,OAAO;IAAED,aAAa,EAAbA,aAAa;IAAEC,aAAA,EAAAA;EAAc,CAAC;AACzC"}'};function n(r){var i=r.total,a=i===void 0?0:i,s=r.viewSize,o=r.translation,l=r.windowSize,u=l===void 0?0:l,c=a<=u?a:u,A=(0,t.useDerivedValue)(function(){var d=[new $.Error,-5,-27],f=function(){var h=Math.round(c/2),v=c-h,E=Math.round(-o.value/s);E=E<0?E%a+a:E;var C=[(E-v+a)%a,(E-1+a)%a],m=[(E+a)%a,(E+h+a)%a];return C[0]<a&&C[0]>C[1]&&(C[1]=a-1,m[0]=0),m[0]>m[1]&&(C[1]=a-1,m[0]=0),{negativeRange:C,positiveRange:m}};return f._closure={windowSize:c,translation:o,viewSize:s,total:a},f.__initData=e,f.__workletHash=1686155145629,f.__stackDetails=d,f.__version="3.3.0",f}(),[a,c,o]);return A}return to}var _a={},yc={exports:{}},Ic={exports:{}},jh;function s8(){return jh||(jh=1,function(t){function e(n){if(Array.isArray(n))return n}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(Ic)),Ic.exports}var wc={exports:{}},Qh;function o8(){return Qh||(Qh=1,function(t){function e(n,r){var i=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(i!=null){var a,s,o,l,u=[],c=!0,A=!1;try{if(o=(i=i.call(n)).next,r===0){if(Object(i)!==i)return;c=!1}else for(;!(c=(a=o.call(i)).done)&&(u.push(a.value),u.length!==r);c=!0);}catch(d){A=!0,s=d}finally{try{if(!c&&i.return!=null&&(l=i.return(),Object(l)!==l))return}finally{if(A)throw s}}return u}}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(wc)),wc.exports}var Sc={exports:{}},bc={exports:{}},Zh;function l8(){return Zh||(Zh=1,function(t){function e(n,r){(r==null||r>n.length)&&(r=n.length);for(var i=0,a=Array(r);i<r;i++)a[i]=n[i];return a}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(bc)),bc.exports}var Jh;function u8(){return Jh||(Jh=1,function(t){var e=l8();function n(r,i){if(r){if(typeof r=="string")return e(r,i);var a={}.toString.call(r).slice(8,-1);return a==="Object"&&r.constructor&&(a=r.constructor.name),a==="Map"||a==="Set"?Array.from(r):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?e(r,i):void 0}}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}(Sc)),Sc.exports}var _c={exports:{}},ep;function c8(){return ep||(ep=1,function(t){function e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(_c)),_c.exports}var tp;function d8(){return tp||(tp=1,function(t){var e=s8(),n=o8(),r=u8(),i=c8();function a(s,o){return e(s)||n(s,o)||r(s,o)||i()}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}(yc)),yc.exports}var no={},np;function A8(){if(np)return no;np=1;var t=nn;Object.defineProperty(no,"__esModule",{value:!0}),no.useCheckMounted=n;var e=t(b);function n(){var r=e.default.useRef(!1);return e.default.useEffect(function(){return r.current=!0,function(){r.current=!1}},[]),r}return no}var Da={},rp;function f8(){if(rp)return Da;rp=1,Object.defineProperty(Da,"__esModule",{value:!0}),Da.useOffsetX=void 0;var t=Ot,e={code:`function anonymous() { +}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useVisibleRanges.tsx",sourceMap:'{"version":3,"names":["anonymous","windowSize","translation","viewSize","total","_closure","positiveCount","Math","round","negativeCount","curIndex","value","negativeRange","positiveRange"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useVisibleRanges.tsx"],"mappings":"AAuBiC,SAAAA,SAAMA,CAAA;EAAA;IAAAC,UAAA;IAAAC,WAAA;IAAAC,QAAA;IAAAC;EAAA,SAAAC,QAAA;EACnC,MAAMC,aAAa,GAAGC,IAAI,CAACC,KAAK,CAACP,UAAU,GAAG,CAAC,CAAC;EAChD,MAAMQ,aAAa,GAAGR,UAAU,GAAGK,aAAa;EAChD,IAAII,QAAQ,GAAGH,IAAI,CAACC,KAAK,CAAC,CAACN,WAAW,CAACS,KAAK,GAAGR,QAAQ,CAAC;EACxDO,QAAQ,GAAGA,QAAQ,GAAG,CAAC,GAAIA,QAAQ,GAAGN,KAAK,GAAIA,KAAK,GAAGM,QAAQ;EAC/D,MAAME,aAAa,GAAG,CACpB,CAACF,QAAQ,GAAGD,aAAa,GAAGL,KAAK,IAAIA,KAAK,EAC1C,CAACM,QAAQ,GAAG,CAAC,GAAGN,KAAK,IAAIA,KAAK,CAC/B;EACD,MAAMS,aAAa,GAAG,CACpB,CAACH,QAAQ,GAAGN,KAAK,IAAIA,KAAK,EAC1B,CAACM,QAAQ,GAAGJ,aAAa,GAAGF,KAAK,IAAIA,KAAK,CAC3C;EACD,IAAIQ,aAAa,CAAC,CAAC,CAAC,GAAGR,KAAK,IAAIQ,aAAa,CAAC,CAAC,CAAC,GAAGA,aAAa,CAAC,CAAC,CAAC,EAAE;IACnEA,aAAa,CAAC,CAAC,CAAC,GAAGR,KAAK,GAAG,CAAC;IAC5BS,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC;EACtB;EACA,IAAIA,aAAa,CAAC,CAAC,CAAC,GAAGA,aAAa,CAAC,CAAC,CAAC,EAAE;IACvCD,aAAa,CAAC,CAAC,CAAC,GAAGR,KAAK,GAAG,CAAC;IAC5BS,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC;EACtB;EACA,OAAO;IAAED,aAAa,EAAbA,aAAa;IAAEC,aAAA,EAAAA;EAAc,CAAC;AACzC"}'};function n(r){var i=r.total,a=i===void 0?0:i,s=r.viewSize,o=r.translation,l=r.windowSize,u=l===void 0?0:l,c=a<=u?a:u,A=(0,t.useDerivedValue)(function(){var d=[new $.Error,-5,-27],f=function(){var h=Math.round(c/2),v=c-h,E=Math.round(-o.value/s);E=E<0?E%a+a:E;var C=[(E-v+a)%a,(E-1+a)%a],m=[(E+a)%a,(E+h+a)%a];return C[0]<a&&C[0]>C[1]&&(C[1]=a-1,m[0]=0),m[0]>m[1]&&(C[1]=a-1,m[0]=0),{negativeRange:C,positiveRange:m}};return f._closure={windowSize:c,translation:o,viewSize:s,total:a},f.__initData=e,f.__workletHash=1686155145629,f.__stackDetails=d,f.__version="3.3.0",f}(),[a,c,o]);return A}return to}var _a={},Ic={exports:{}},wc={exports:{}},Jh;function h8(){return Jh||(Jh=1,function(t){function e(n){if(Array.isArray(n))return n}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(wc)),wc.exports}var Sc={exports:{}},ep;function p8(){return ep||(ep=1,function(t){function e(n,r){var i=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(i!=null){var a,s,o,l,u=[],c=!0,A=!1;try{if(o=(i=i.call(n)).next,r===0){if(Object(i)!==i)return;c=!1}else for(;!(c=(a=o.call(i)).done)&&(u.push(a.value),u.length!==r);c=!0);}catch(d){A=!0,s=d}finally{try{if(!c&&i.return!=null&&(l=i.return(),Object(l)!==l))return}finally{if(A)throw s}}return u}}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(Sc)),Sc.exports}var bc={exports:{}},_c={exports:{}},tp;function v8(){return tp||(tp=1,function(t){function e(n,r){(r==null||r>n.length)&&(r=n.length);for(var i=0,a=Array(r);i<r;i++)a[i]=n[i];return a}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(_c)),_c.exports}var np;function g8(){return np||(np=1,function(t){var e=v8();function n(r,i){if(r){if(typeof r=="string")return e(r,i);var a={}.toString.call(r).slice(8,-1);return a==="Object"&&r.constructor&&(a=r.constructor.name),a==="Map"||a==="Set"?Array.from(r):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?e(r,i):void 0}}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}(bc)),bc.exports}var Dc={exports:{}},rp;function m8(){return rp||(rp=1,function(t){function e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(Dc)),Dc.exports}var ip;function C8(){return ip||(ip=1,function(t){var e=h8(),n=p8(),r=g8(),i=m8();function a(s,o){return e(s)||n(s,o)||r(s,o)||i()}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}(Ic)),Ic.exports}var no={},ap;function E8(){if(ap)return no;ap=1;var t=nn;Object.defineProperty(no,"__esModule",{value:!0}),no.useCheckMounted=n;var e=t(b);function n(){var r=e.default.useRef(!1);return e.default.useEffect(function(){return r.current=!0,function(){r.current=!1}},[]),r}return no}var Da={},sp;function x8(){if(sp)return Da;sp=1,Object.defineProperty(Da,"__esModule",{value:!0}),Da.useOffsetX=void 0;var t=Ot,e={code:`function anonymous() { const { visibleRanges, index, @@ -591,7 +591,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho return interpolate(handlerOffset.value, inputRange, outputRange, Extrapolate.CLAMP); } return handlerOffset.value + size * index; -}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useOffsetX.ts",sourceMap:'{"version":3,"names":["anonymous","visibleRanges","index","loop","TOTAL_WIDTH","MIN","HALF_WIDTH","startPos","MAX","interpolate","handlerOffset","Extrapolate","size","_closure","negativeRange","positiveRange","value","Number","MAX_SAFE_INTEGER","inputRange","MIN_VALUE","outputRange","CLAMP"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useOffsetX.ts"],"mappings":"AA8C4B,SAAAA,SAAMA,CAAA;EAAA;IAAAC,aAAA;IAAAC,KAAA;IAAAC,IAAA;IAAAC,WAAA;IAAAC,GAAA;IAAAC,UAAA;IAAAC,QAAA;IAAAC,GAAA;IAAAC,WAAA;IAAAC,aAAA;IAAAC,WAAA;IAAAC;EAAA,SAAAC,QAAA;EAC9B,MAAM;IAAEC,aAAa,EAAbA,aAAa;IAAEC,aAAA,EAAAA;EAAc,CAAC,GAAGd,aAAa,CAACe,KAAK;EAC5D,IACE,CAACd,KAAK,GAAGY,aAAa,CAAC,CAAC,CAAC,IAAIZ,KAAK,GAAGY,aAAa,CAAC,CAAC,CAAC,MAC3CZ,KAAK,GAAGa,aAAa,CAAC,CAAC,CAAC,IAAIb,KAAK,GAAGa,aAAa,CAAC,CAAC,CAAC,CAAC,EAE/D,OAAOE,MAAM,CAACC,gBAAgB;EAEhC,IAAIf,IAAI,EAAE;IACR,MAAMgB,UAAU,GAAG,CACjB,CAACf,WAAW,EACZC,GAAG,GAAGC,UAAU,GAAGC,QAAQ,GAAGU,MAAM,CAACG,SAAS,EAC9Cf,GAAG,GAAGC,UAAU,GAAGC,QAAQ,EAC3B,CAAC,EACDC,GAAG,GAAGF,UAAU,GAAGC,QAAQ,EAC3BC,GAAG,GAAGF,UAAU,GAAGC,QAAQ,GAAGU,MAAM,CAACG,SAAS,EAC9ChB,WAAW,CACZ;IAED,MAAMiB,WAAW,GAAG,CAClBd,QAAQ,EACRC,GAAG,GAAGF,UAAU,GAAGW,MAAM,CAACG,SAAS,EACnCf,GAAG,GAAGC,UAAU,EAChBC,QAAQ,EACRC,GAAG,GAAGF,UAAU,EAChBD,GAAG,GAAGC,UAAU,GAAGW,MAAM,CAACG,SAAS,EACnCb,QAAQ,CACT;IAED,OAAOE,WAAW,CAChBC,aAAa,CAACM,KAAK,EACnBG,UAAU,EACVE,WAAW,EACXV,WAAW,CAACW,KACd,CAAC;EACH;EAEA,OAAOZ,aAAa,CAACM,KAAK,GAAGJ,IAAI,GAAGV,KAAK;AAC3C"}'},n=function(i,a){var s=i.handlerOffset,o=i.index,l=i.size,u=i.loop,c=i.dataLength,A=i.type,d=A===void 0?"positive":A,f=i.viewCount,p=c,h=p-1,v=l*p,E=.5*l,C=f??Math.round((p-1)/2),m=d==="positive"?C:h-C,g=l*o;o>m&&(g=(o-p)*l);var y=m*l,x=-((h-m)*l),w=(0,t.useDerivedValue)(function(){var S=[new $.Error,-13,-27],D=function(){var _=a.value,O=_.negativeRange,T=_.positiveRange;if((o<O[0]||o>O[1])&&(o<T[0]||o>T[1]))return Number.MAX_SAFE_INTEGER;if(u){var R=[-v,x-E-g-Number.MIN_VALUE,x-E-g,0,y+E-g,y+E-g+Number.MIN_VALUE,v],P=[g,y+E-Number.MIN_VALUE,x-E,g,y+E,x-E+Number.MIN_VALUE,g];return(0,t.interpolate)(s.value,R,P,t.Extrapolate.CLAMP)}return s.value+l*o};return D._closure={visibleRanges:a,index:o,loop:u,TOTAL_WIDTH:v,MIN:x,HALF_WIDTH:E,startPos:g,MAX:y,interpolate:t.interpolate,handlerOffset:s,Extrapolate:t.Extrapolate,size:l},D.__initData=e,D.__workletHash=63816918029,D.__stackDetails=S,D.__version="3.3.0",D}(),[u,c,C,d,l,a]);return w};return Da.useOffsetX=n,Da}var Oa={},ip;function h8(){if(ip)return Oa;ip=1;var t=nn;Object.defineProperty(Oa,"__esModule",{value:!0}),Oa.LazyView=void 0,t(b);var e=X,n=function(i){var a=i.shouldUpdate,s=i.children;return a?(0,e.jsx)(e.Fragment,{children:s}):(0,e.jsx)(e.Fragment,{})};return Oa.LazyView=n,Oa}var Ta={},ap;function yA(){if(ap)return Ta;ap=1;var t=nn;Object.defineProperty(Ta,"__esModule",{value:!0}),Ta.CTX=void 0;var e=t(b),n=e.default.createContext({});return Ta.CTX=n,Ta}var sp;function p8(){if(sp)return _a;sp=1;var t=nn;Object.defineProperty(_a,"__esModule",{value:!0}),_a.BaseLayout=void 0;var e=t(d8()),n=t(b),r=c(Ot),i=A8(),a=f8(),s=h8(),o=yA(),l=X;function u(v){if(typeof WeakMap!="function")return null;var E=new WeakMap,C=new WeakMap;return(u=function(g){return g?C:E})(v)}function c(v,E){if(v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var C=u(E);if(C&&C.has(v))return C.get(v);var m={},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in v)if(y!=="default"&&Object.prototype.hasOwnProperty.call(v,y)){var x=g?Object.getOwnPropertyDescriptor(v,y):null;x&&(x.get||x.set)?Object.defineProperty(m,y,x):m[y]=v[y]}return m.default=v,C&&C.set(v,m),m}var A={code:`function anonymous() { +}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useOffsetX.ts",sourceMap:'{"version":3,"names":["anonymous","visibleRanges","index","loop","TOTAL_WIDTH","MIN","HALF_WIDTH","startPos","MAX","interpolate","handlerOffset","Extrapolate","size","_closure","negativeRange","positiveRange","value","Number","MAX_SAFE_INTEGER","inputRange","MIN_VALUE","outputRange","CLAMP"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useOffsetX.ts"],"mappings":"AA8C4B,SAAAA,SAAMA,CAAA;EAAA;IAAAC,aAAA;IAAAC,KAAA;IAAAC,IAAA;IAAAC,WAAA;IAAAC,GAAA;IAAAC,UAAA;IAAAC,QAAA;IAAAC,GAAA;IAAAC,WAAA;IAAAC,aAAA;IAAAC,WAAA;IAAAC;EAAA,SAAAC,QAAA;EAC9B,MAAM;IAAEC,aAAa,EAAbA,aAAa;IAAEC,aAAA,EAAAA;EAAc,CAAC,GAAGd,aAAa,CAACe,KAAK;EAC5D,IACE,CAACd,KAAK,GAAGY,aAAa,CAAC,CAAC,CAAC,IAAIZ,KAAK,GAAGY,aAAa,CAAC,CAAC,CAAC,MAC3CZ,KAAK,GAAGa,aAAa,CAAC,CAAC,CAAC,IAAIb,KAAK,GAAGa,aAAa,CAAC,CAAC,CAAC,CAAC,EAE/D,OAAOE,MAAM,CAACC,gBAAgB;EAEhC,IAAIf,IAAI,EAAE;IACR,MAAMgB,UAAU,GAAG,CACjB,CAACf,WAAW,EACZC,GAAG,GAAGC,UAAU,GAAGC,QAAQ,GAAGU,MAAM,CAACG,SAAS,EAC9Cf,GAAG,GAAGC,UAAU,GAAGC,QAAQ,EAC3B,CAAC,EACDC,GAAG,GAAGF,UAAU,GAAGC,QAAQ,EAC3BC,GAAG,GAAGF,UAAU,GAAGC,QAAQ,GAAGU,MAAM,CAACG,SAAS,EAC9ChB,WAAW,CACZ;IAED,MAAMiB,WAAW,GAAG,CAClBd,QAAQ,EACRC,GAAG,GAAGF,UAAU,GAAGW,MAAM,CAACG,SAAS,EACnCf,GAAG,GAAGC,UAAU,EAChBC,QAAQ,EACRC,GAAG,GAAGF,UAAU,EAChBD,GAAG,GAAGC,UAAU,GAAGW,MAAM,CAACG,SAAS,EACnCb,QAAQ,CACT;IAED,OAAOE,WAAW,CAChBC,aAAa,CAACM,KAAK,EACnBG,UAAU,EACVE,WAAW,EACXV,WAAW,CAACW,KACd,CAAC;EACH;EAEA,OAAOZ,aAAa,CAACM,KAAK,GAAGJ,IAAI,GAAGV,KAAK;AAC3C"}'},n=function(i,a){var s=i.handlerOffset,o=i.index,l=i.size,u=i.loop,c=i.dataLength,A=i.type,d=A===void 0?"positive":A,f=i.viewCount,p=c,h=p-1,v=l*p,E=.5*l,C=f??Math.round((p-1)/2),m=d==="positive"?C:h-C,g=l*o;o>m&&(g=(o-p)*l);var y=m*l,x=-((h-m)*l),w=(0,t.useDerivedValue)(function(){var S=[new $.Error,-13,-27],D=function(){var _=a.value,O=_.negativeRange,T=_.positiveRange;if((o<O[0]||o>O[1])&&(o<T[0]||o>T[1]))return Number.MAX_SAFE_INTEGER;if(u){var R=[-v,x-E-g-Number.MIN_VALUE,x-E-g,0,y+E-g,y+E-g+Number.MIN_VALUE,v],P=[g,y+E-Number.MIN_VALUE,x-E,g,y+E,x-E+Number.MIN_VALUE,g];return(0,t.interpolate)(s.value,R,P,t.Extrapolate.CLAMP)}return s.value+l*o};return D._closure={visibleRanges:a,index:o,loop:u,TOTAL_WIDTH:v,MIN:x,HALF_WIDTH:E,startPos:g,MAX:y,interpolate:t.interpolate,handlerOffset:s,Extrapolate:t.Extrapolate,size:l},D.__initData=e,D.__workletHash=63816918029,D.__stackDetails=S,D.__version="3.3.0",D}(),[u,c,C,d,l,a]);return w};return Da.useOffsetX=n,Da}var Oa={},op;function y8(){if(op)return Oa;op=1;var t=nn;Object.defineProperty(Oa,"__esModule",{value:!0}),Oa.LazyView=void 0,t(b);var e=X,n=function(i){var a=i.shouldUpdate,s=i.children;return a?(0,e.jsx)(e.Fragment,{children:s}):(0,e.jsx)(e.Fragment,{})};return Oa.LazyView=n,Oa}var Ta={},lp;function wA(){if(lp)return Ta;lp=1;var t=nn;Object.defineProperty(Ta,"__esModule",{value:!0}),Ta.CTX=void 0;var e=t(b),n=e.default.createContext({});return Ta.CTX=n,Ta}var up;function I8(){if(up)return _a;up=1;var t=nn;Object.defineProperty(_a,"__esModule",{value:!0}),_a.BaseLayout=void 0;var e=t(C8()),n=t(b),r=c(Ot),i=E8(),a=x8(),s=y8(),o=wA(),l=X;function u(v){if(typeof WeakMap!="function")return null;var E=new WeakMap,C=new WeakMap;return(u=function(g){return g?C:E})(v)}function c(v,E){if(v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var C=u(E);if(C&&C.has(v))return C.get(v);var m={},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in v)if(y!=="default"&&Object.prototype.hasOwnProperty.call(v,y)){var x=g?Object.getOwnPropertyDescriptor(v,y):null;x&&(x.get||x.set)?Object.defineProperty(m,y,x):m[y]=v[y]}return m.default=v,C&&C.set(v,m),m}var A={code:`function anonymous() { const { x, size @@ -616,7 +616,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho visibleRanges } = this._closure; runOnJS(updateView)(visibleRanges.value.negativeRange, visibleRanges.value.positiveRange); -}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/BaseLayout.tsx",sourceMap:'{"version":3,"names":["anonymous","runOnJS","updateView","visibleRanges","_closure","value","negativeRange","positiveRange"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/BaseLayout.tsx"],"mappings":"AA4FI,SAAAA,SAAMA,CAAA;EAAA;IAAAC,OAAA;IAAAC,UAAA;IAAAC;EAAA,SAAAC,QAAA;EACJH,OAAO,CAACC,UAAU,CAAC,CACjBC,aAAa,CAACE,KAAK,CAACC,aAAa,EACjCH,aAAa,CAACE,KAAK,CAACE,aACtB,CAAC;AACH"}'},h=function(E){var C=(0,i.useCheckMounted)(),m=E.handlerOffset,g=E.index,y=E.children,x=E.visibleRanges,w=E.animationStyle,S=n.default.useContext(o.CTX),D=S.props,I=D.loop,_=D.dataLength,O=D.width,T=D.height,R=D.vertical,P=D.customConfig,F=D.mode,H=D.modeConfig,M=R?T:O,V=n.default.useState(!1),W=(0,e.default)(V,2),B=W[0],G=W[1],N=Object.assign({handlerOffset:m,index:g,size:M,dataLength:_,loop:I},typeof P=="function"?P():{});if(F==="horizontal-stack"){var k=H,U=k.snapDirection,z=k.showLength;N={handlerOffset:m,index:g,size:M,dataLength:_,loop:I,type:U==="right"?"negative":"positive",viewCount:z}}var K=(0,a.useOffsetX)(N,x),Y=(0,r.useDerivedValue)(function(){var re=[new $.Error,-3,-27],Q=function(){return K.value/M};return Q._closure={x:K,size:M},Q.__initData=A,Q.__workletHash=3217166169285,Q.__stackDetails=re,Q.__version="3.3.0",Q}(),[K,M]),ee=(0,r.useAnimatedStyle)(function(){var re=[new $.Error,-4,-27],Q=function(){return w(K.value/M)};return Q._closure={animationStyle:w,x:K,size:M},Q.__initData=d,Q.__workletHash=0xa4748822602,Q.__stackDetails=re,Q.__version="3.3.0",Q}(),[w]),te=n.default.useCallback(function(re,Q){C.current&&G(g>=re[0]&&g<=re[1]||g>=Q[0]&&g<=Q[1])},[g,C]);return(0,r.useAnimatedReaction)(function(){var re=[new $.Error,-2,-27],Q=function(){return x.value};return Q._closure={visibleRanges:x},Q.__initData=f,Q.__workletHash=0xa1b769d9fec,Q.__stackDetails=re,Q.__version="3.3.0",Q}(),function(){var re=[new $.Error,-4,-27],Q=function(){(0,r.runOnJS)(te)(x.value.negativeRange,x.value.positiveRange)};return Q._closure={runOnJS:r.runOnJS,updateView:te,visibleRanges:x},Q.__initData=p,Q.__workletHash=0xdc25395e6c5,Q.__stackDetails=re,Q.__version="3.3.0",Q}(),[x.value]),(0,l.jsx)(r.default.View,{style:[{width:O||"100%",height:T||"100%",position:"absolute"},ee],testID:`__CAROUSEL_ITEM_${g}_${B?"READY":"NOT_READY"}__`,children:(0,l.jsx)(s.LazyView,{shouldUpdate:B,children:y({animationValue:Y})})})};return _a.BaseLayout=h,_a}var Pa={},op;function v8(){if(op)return Pa;op=1;var t=nn;Object.defineProperty(Pa,"__esModule",{value:!0}),Pa.ScrollViewGesture=void 0;var e=t(b),n=oE,r=u(Ot),i=xA(),a=yA(),s=lE(),o=X;function l(_){if(typeof WeakMap!="function")return null;var O=new WeakMap,T=new WeakMap;return(l=function(P){return P?T:O})(_)}function u(_,O){if(_&&_.__esModule)return _;if(_===null||typeof _!="object"&&typeof _!="function")return{default:_};var T=l(O);if(T&&T.has(_))return T.get(_);var R={},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var F in _)if(F!=="default"&&Object.prototype.hasOwnProperty.call(_,F)){var H=P?Object.getOwnPropertyDescriptor(_,F):null;H&&(H.get||H.set)?Object.defineProperty(R,F,H):R[F]=_[F]}return R.default=_,T&&T.set(_,R),R}var c={code:`function anonymous() { +}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/BaseLayout.tsx",sourceMap:'{"version":3,"names":["anonymous","runOnJS","updateView","visibleRanges","_closure","value","negativeRange","positiveRange"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/BaseLayout.tsx"],"mappings":"AA4FI,SAAAA,SAAMA,CAAA;EAAA;IAAAC,OAAA;IAAAC,UAAA;IAAAC;EAAA,SAAAC,QAAA;EACJH,OAAO,CAACC,UAAU,CAAC,CACjBC,aAAa,CAACE,KAAK,CAACC,aAAa,EACjCH,aAAa,CAACE,KAAK,CAACE,aACtB,CAAC;AACH"}'},h=function(E){var C=(0,i.useCheckMounted)(),m=E.handlerOffset,g=E.index,y=E.children,x=E.visibleRanges,w=E.animationStyle,S=n.default.useContext(o.CTX),D=S.props,I=D.loop,_=D.dataLength,O=D.width,T=D.height,R=D.vertical,P=D.customConfig,F=D.mode,H=D.modeConfig,k=R?T:O,V=n.default.useState(!1),W=(0,e.default)(V,2),B=W[0],G=W[1],N=Object.assign({handlerOffset:m,index:g,size:k,dataLength:_,loop:I},typeof P=="function"?P():{});if(F==="horizontal-stack"){var M=H,U=M.snapDirection,z=M.showLength;N={handlerOffset:m,index:g,size:k,dataLength:_,loop:I,type:U==="right"?"negative":"positive",viewCount:z}}var K=(0,a.useOffsetX)(N,x),Y=(0,r.useDerivedValue)(function(){var re=[new $.Error,-3,-27],Q=function(){return K.value/k};return Q._closure={x:K,size:k},Q.__initData=A,Q.__workletHash=3217166169285,Q.__stackDetails=re,Q.__version="3.3.0",Q}(),[K,k]),ee=(0,r.useAnimatedStyle)(function(){var re=[new $.Error,-4,-27],Q=function(){return w(K.value/k)};return Q._closure={animationStyle:w,x:K,size:k},Q.__initData=d,Q.__workletHash=0xa4748822602,Q.__stackDetails=re,Q.__version="3.3.0",Q}(),[w]),te=n.default.useCallback(function(re,Q){C.current&&G(g>=re[0]&&g<=re[1]||g>=Q[0]&&g<=Q[1])},[g,C]);return(0,r.useAnimatedReaction)(function(){var re=[new $.Error,-2,-27],Q=function(){return x.value};return Q._closure={visibleRanges:x},Q.__initData=f,Q.__workletHash=0xa1b769d9fec,Q.__stackDetails=re,Q.__version="3.3.0",Q}(),function(){var re=[new $.Error,-4,-27],Q=function(){(0,r.runOnJS)(te)(x.value.negativeRange,x.value.positiveRange)};return Q._closure={runOnJS:r.runOnJS,updateView:te,visibleRanges:x},Q.__initData=p,Q.__workletHash=0xdc25395e6c5,Q.__stackDetails=re,Q.__version="3.3.0",Q}(),[x.value]),(0,l.jsx)(r.default.View,{style:[{width:O||"100%",height:T||"100%",position:"absolute"},ee],testID:`__CAROUSEL_ITEM_${g}_${B?"READY":"NOT_READY"}__`,children:(0,l.jsx)(s.LazyView,{shouldUpdate:B,children:y({animationValue:Y})})})};return _a.BaseLayout=h,_a}var Pa={},cp;function w8(){if(cp)return Pa;cp=1;var t=nn;Object.defineProperty(Pa,"__esModule",{value:!0}),Pa.ScrollViewGesture=void 0;var e=t(b),n=uE,r=u(Ot),i=IA(),a=wA(),s=cE(),o=X;function l(_){if(typeof WeakMap!="function")return null;var O=new WeakMap,T=new WeakMap;return(l=function(P){return P?T:O})(_)}function u(_,O){if(_&&_.__esModule)return _;if(_===null||typeof _!="object"&&typeof _!="function")return{default:_};var T=l(O);if(T&&T.has(_))return T.get(_);var R={},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var F in _)if(F!=="default"&&Object.prototype.hasOwnProperty.call(_,F)){var H=P?Object.getOwnPropertyDescriptor(_,F):null;H&&(H.get||H.set)?Object.defineProperty(R,F,H):R[F]=_[F]}return R.default=_,T&&T.set(_,R),R}var c={code:`function anonymous() { const { vertical } = this._closure; @@ -883,7 +883,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho endWithSpring(onScrollEnd); } if (!infinite) touching.value = false; -}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/ScrollViewGesture.tsx",sourceMap:'{"version":3,"names":["anonymous","e","ctx","scrollEndVelocity","isHorizontal","scrollEndTranslation","maxScrollDistancePerSwipe","size","translation","withSpring","withProcessTranslation","onScrollEnd","endWithSpring","infinite","touching","_closure","velocityX","velocityY","translationX","translationY","value","totalTranslation","Math","abs","nextPage","round","panOffset","sign"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/ScrollViewGesture.tsx"],"mappings":"AAsTa,SAACA,SAAMA,CAAKC,CAAA,EAAAC,GAAA;EAAA;IAAAC,iBAAA;IAAAC,YAAA;IAAAC,oBAAA;IAAAC,yBAAA;IAAAC,IAAA;IAAAC,WAAA;IAAAC,UAAA;IAAAC,sBAAA;IAAAC,WAAA;IAAAC,aAAA;IAAAC,QAAA;IAAAC;EAAA,SAAAC,QAAA;EACjB,MAAM;IAAEC,SAAS,EAATA,SAAS;IAAEC,SAAS,EAATA,SAAS;IAAEC,YAAY,EAAZA,YAAY;IAAEC,YAAA,EAAAA;EAAa,CAAC,GAAGlB,CAAC;EAC9DE,iBAAiB,CAACiB,KAAK,GAAGhB,YAAY,CAACgB,KAAK,GACxCJ,SAAS,GACTC,SAAS;EACbZ,oBAAoB,CAACe,KAAK,GAAGhB,YAAY,CAACgB,KAAK,GAC3CF,YAAY,GACZC,YAAY;EAEhB,MAAME,gBAAgB,GAAGjB,YAAY,CAACgB,KAAK,GAAGF,YAAY,GAAGC,YAAY;EAEzE,IAAI,OAAOb,yBAAyB,KAAK,QAAQ,IAAIgB,IAAI,CAACC,GAAG,CAACF,gBAAgB,CAAC,GAAGf,yBAAyB,EAAE;IAC3G,MAAMkB,QAAQ,GAAGF,IAAI,CAACG,KAAK,CAAC,CAACvB,GAAG,CAACwB,SAAS,GAAGpB,yBAAyB,GAAGgB,IAAI,CAACK,IAAI,CAACN,gBAAgB,CAAC,IAAId,IAAI,CAAC,GAAGA,IAAI;IACpHC,WAAW,CAACY,KAAK,GAAGX,UAAU,CAACC,sBAAsB,CAACc,QAAQ,CAAC,EAAEb,WAAW,CAAC;EAC/E,CAAC,MACI;IACHC,aAAa,CAACD,WAAW,CAAC;EAC5B;EAEA,IAAI,CAACE,QAAQ,EACXC,QAAQ,CAACM,KAAK,GAAG,KAAK;AAC1B"}'},D=function(O){var T=e.default.useContext(a.CTX),R=T.props,P=R.vertical,F=R.pagingEnabled,H=R.snapEnabled,M=R.panGestureHandlerProps,V=R.loop,W=R.scrollAnimationDuration,B=R.withAnimation,G=R.enabled,N=R.dataLength,k=R.overscrollEnabled,U=R.maxScrollDistancePerSwipe,z=O.size,K=O.translation,Y=O.testID,ee=O.style,te=ee===void 0?{}:ee,re=O.onScrollBegin,Q=O.onScrollEnd,ae=O.onTouchBegin,Ie=O.onTouchEnd,we=N,Ce=(0,r.useDerivedValue)(function(){var ye=[new $.Error,-2,-27],q=function(){return!P};return q._closure={vertical:P},q.__initData=c,q.__workletHash=0x92fc1b734e8,q.__stackDetails=ye,q.__version="3.3.0",q}(),[P]),Ee=(0,r.useSharedValue)(!1),Se=(0,r.useSharedValue)(0),Ge=(0,r.useSharedValue)(0),Ze=(0,r.useAnimatedRef)(),ne=e.default.useCallback(function(){var ye=[new $.Error,-7,-27],q=function(){if(!V&&!k){var fe=(0,r.measure)(Ze),de=fe.width,Me=de===void 0?0:de;return N*z<Me?0:N*z-Me}return N*z};return q._closure={infinite:V,overscrollEnabled:k,measure:r.measure,containerRef:Ze,dataLength:N,size:z},q.__initData=A,q.__workletHash=736417391548,q.__stackDetails=ye,q.__version="3.3.0",q}(),[V,z,N,k]),le=e.default.useCallback(function(){var ye=[new $.Error,-6,-27],q=function(fe,de){var Me={type:"timing",config:{duration:W+100,easing:i.Easing.easeOutQuart}};return(0,s.dealWithAnimation)(B??Me)(fe,function(){var be=[new $.Error,-3,-27],pe=function(it){it&&de&&(0,r.runOnJS)(de)()};return pe._closure={onFinished:de,runOnJS:r.runOnJS},pe.__initData=f,pe.__workletHash=0xe3f2cebca98,pe.__stackDetails=be,pe.__version="3.3.0",pe}())};return q._closure={scrollAnimationDuration:W,Easing:i.Easing,dealWithAnimation:s.dealWithAnimation,withAnimation:B,runOnJS:r.runOnJS},q.__initData=d,q.__workletHash=38454346678,q.__stackDetails=ye,q.__version="3.3.0",q}(),[W,B]),ft=e.default.useCallback(function(){var ye=[new $.Error,-14,-27],q=function(fe){var de=K.value,Me=Ge.value,be=(0,r.withDecay)({velocity:Me,deceleration:.999});if(typeof U=="number"&&Math.abs(Se.value)>U)be=de;else{if(F){var pe=-(Se.value>=0?1:-1),Gt=pe<0?Math.ceil:Math.floor,it=Gt(-K.value/z);if(V){var Pt=it+pe;be=le(jn(-Pt*z),fe)}else{var xn=Math.min(we-1,Math.max(0,it+pe));be=le(jn(-xn*z),fe)}}if(!F&&H){var la=Math.round((de+Me*.4)/z)*z;be=le(jn(la),fe)}}K.value=be;function jn(Pr){if(!V&&!k){var Ru=ne(),Fu=Math.sign(Pr);return Fu*Math.max(0,Math.min(Ru,Math.abs(Pr)))}return Pr}};return q._closure={translation:K,scrollEndVelocity:Ge,withDecay:r.withDecay,maxScrollDistancePerSwipe:U,scrollEndTranslation:Se,pagingEnabled:F,size:z,infinite:V,withSpring:le,maxPage:we,snapEnabled:H,overscrollEnabled:k,getLimit:ne},q.__initData=p,q.__workletHash=0xe2f395fe550,q.__stackDetails=ye,q.__version="3.3.0",q}(),[le,z,we,V,H,K,F,Ge.value,U,Se.value]),Tt=e.default.useCallback(function(){var ye=[new $.Error,-4,-27],q=function(fe){fe&&(Ee.value=!1,Q&&(0,r.runOnJS)(Q)())};return q._closure={touching:Ee,onScrollEnd:Q,runOnJS:r.runOnJS},q.__initData=h,q.__workletHash=0xd66a2cd499c,q.__stackDetails=ye,q.__version="3.3.0",q}(),[Q,Ee]),xt=e.default.useCallback(function(){var ye=[new $.Error,-6,-27],q=function(){Ee.value=!0,K.value=(0,r.withDecay)({velocity:Ge.value},function(){var fe=[new $.Error,-2,-27],de=function(be){return Tt(be)};return de._closure={onFinish:Tt},de.__initData=E,de.__workletHash=0xa47406a7948,de.__stackDetails=fe,de.__version="3.3.0",de}())};return q._closure={touching:Ee,translation:K,withDecay:r.withDecay,scrollEndVelocity:Ge,onFinish:Tt},q.__initData=v,q.__workletHash=0xd5579ffb432,q.__stackDetails=ye,q.__version="3.3.0",q}(),[Tt,Ge.value,Ee,K]),Je=e.default.useCallback(function(){var ye=[new $.Error,-9,-27],q=function(){if(!Ee.value){if(K.value>0){if(Se.value<0){xt();return}if(!V){K.value=le(0);return}}if(K.value<-((we-1)*z)){if(Se.value>0){xt();return}V||(K.value=le(-((we-1)*z)))}}};return q._closure={touching:Ee,translation:K,scrollEndTranslation:Se,activeDecay:xt,infinite:V,withSpring:le,maxPage:we,size:z},q.__initData=C,q.__workletHash=5253258937186,q.__stackDetails=ye,q.__version="3.3.0",q}(),[Ee.value,K,we,z,Se.value,V,xt,le]);(0,r.useAnimatedReaction)(function(){var ye=[new $.Error,-2,-27],q=function(){return K.value};return q._closure={translation:K},q.__initData=m,q.__workletHash=0xe7d5a122b2c,q.__stackDetails=ye,q.__version="3.3.0",q}(),function(){var ye=[new $.Error,-3,-27],q=function(){F||Je()};return q._closure={pagingEnabled:F,resetBoundary:Je},q.__initData=g,q.__workletHash=0xb517b95180b,q.__stackDetails=ye,q.__version="3.3.0",q}(),[F,Je]);var rt=function(){var ye=[new $.Error,-4,-27],q=function(fe){if(!V&&!k){var de=ne(),Me=Math.sign(fe);return Me*Math.max(0,Math.min(de,Math.abs(fe)))}return fe};return q._closure={infinite:V,overscrollEnabled:k,getLimit:ne},q.__initData=y,q.__workletHash=0xa64a453634d,q.__stackDetails=ye,q.__version="3.3.0",q}(),oa=(0,r.useAnimatedGestureHandler)({onStart:function(){var ye=[new $.Error,-10,-27],q=function(fe,de){Ee.value=!0,de.validStart=!0,re&&(0,r.runOnJS)(re)(),de.max=(we-1)*z,!V&&!k&&(de.max=ne()),de.panOffset=K.value};return q._closure={touching:Ee,onScrollBegin:re,runOnJS:r.runOnJS,maxPage:we,size:z,infinite:V,overscrollEnabled:k,getLimit:ne,translation:K},q.__initData=x,q.__workletHash=6283859030724,q.__stackDetails=ye,q.__version="3.3.0",q}(),onActive:function(){var ye=[new $.Error,-7,-27],q=function(fe,de){de.validStart&&(de.validStart=!1,(0,r.cancelAnimation)(K)),Ee.value=!0;var Me=fe.translationX,be=fe.translationY,pe=Ce.value?Me:be;if(typeof U=="number"&&Math.abs(pe)>U){var Gt=Math.abs(pe)-U,it=U+Gt*.5;Me=Ce.value?it*Math.sign(Me):Me,be=Ce.value?be:it*Math.sign(be)}var Pt=Ce.value?Me:be;if(!V&&(K.value>0||K.value<-de.max)){var xn=K.value>0?0:-de.max,la=xn-de.panOffset,jn=Pt-la;K.value=xn+jn*.5;return}var Pr=de.panOffset+Pt;K.value=Pr};return q._closure={cancelAnimation:r.cancelAnimation,translation:K,touching:Ee,isHorizontal:Ce,maxScrollDistancePerSwipe:U,infinite:V},q.__initData=w,q.__workletHash=0xd2eceeda264,q.__stackDetails=ye,q.__version="3.3.0",q}(),onEnd:function(){var ye=[new $.Error,-13,-27],q=function(fe,de){var Me=fe.velocityX,be=fe.velocityY,pe=fe.translationX,Gt=fe.translationY;Ge.value=Ce.value?Me:be,Se.value=Ce.value?pe:Gt;var it=Ce.value?pe:Gt;if(typeof U=="number"&&Math.abs(it)>U){var Pt=Math.round((de.panOffset+U*Math.sign(it))/z)*z;K.value=le(rt(Pt),Q)}else ft(Q);V||(Ee.value=!1)};return q._closure={scrollEndVelocity:Ge,isHorizontal:Ce,scrollEndTranslation:Se,maxScrollDistancePerSwipe:U,size:z,translation:K,withSpring:le,withProcessTranslation:rt,onScrollEnd:Q,endWithSpring:ft,infinite:V,touching:Ee},q.__initData=S,q.__workletHash=0xe208545ba9c,q.__stackDetails=ye,q.__version="3.3.0",q}()},[F,Ce.value,V,we,z,H,re,Q]);return(0,o.jsx)(n.PanGestureHandler,Object.assign({},M,{enabled:G,onGestureEvent:oa,children:(0,o.jsx)(r.default.View,{ref:Ze,testID:Y,style:te,onTouchStart:ae,onTouchEnd:Ie,children:O.children})}))},I=D;return Pa.ScrollViewGesture=I,Pa}var lp;function g8(){if(lp)return pa;lp=1;var t=nn;Object.defineProperty(pa,"__esModule",{value:!0}),pa.default=void 0;var e=t(b),n=jo,r=oE,i=Ot,a=KP(),s=qP(),o=QP(),l=ZP(),u=n8(),c=r8(),A=i8(),d=a8(),f=p8(),p=v8(),h=yA(),v=Ou(),E=X,C={code:`function anonymous() { +}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/ScrollViewGesture.tsx",sourceMap:'{"version":3,"names":["anonymous","e","ctx","scrollEndVelocity","isHorizontal","scrollEndTranslation","maxScrollDistancePerSwipe","size","translation","withSpring","withProcessTranslation","onScrollEnd","endWithSpring","infinite","touching","_closure","velocityX","velocityY","translationX","translationY","value","totalTranslation","Math","abs","nextPage","round","panOffset","sign"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/ScrollViewGesture.tsx"],"mappings":"AAsTa,SAACA,SAAMA,CAAKC,CAAA,EAAAC,GAAA;EAAA;IAAAC,iBAAA;IAAAC,YAAA;IAAAC,oBAAA;IAAAC,yBAAA;IAAAC,IAAA;IAAAC,WAAA;IAAAC,UAAA;IAAAC,sBAAA;IAAAC,WAAA;IAAAC,aAAA;IAAAC,QAAA;IAAAC;EAAA,SAAAC,QAAA;EACjB,MAAM;IAAEC,SAAS,EAATA,SAAS;IAAEC,SAAS,EAATA,SAAS;IAAEC,YAAY,EAAZA,YAAY;IAAEC,YAAA,EAAAA;EAAa,CAAC,GAAGlB,CAAC;EAC9DE,iBAAiB,CAACiB,KAAK,GAAGhB,YAAY,CAACgB,KAAK,GACxCJ,SAAS,GACTC,SAAS;EACbZ,oBAAoB,CAACe,KAAK,GAAGhB,YAAY,CAACgB,KAAK,GAC3CF,YAAY,GACZC,YAAY;EAEhB,MAAME,gBAAgB,GAAGjB,YAAY,CAACgB,KAAK,GAAGF,YAAY,GAAGC,YAAY;EAEzE,IAAI,OAAOb,yBAAyB,KAAK,QAAQ,IAAIgB,IAAI,CAACC,GAAG,CAACF,gBAAgB,CAAC,GAAGf,yBAAyB,EAAE;IAC3G,MAAMkB,QAAQ,GAAGF,IAAI,CAACG,KAAK,CAAC,CAACvB,GAAG,CAACwB,SAAS,GAAGpB,yBAAyB,GAAGgB,IAAI,CAACK,IAAI,CAACN,gBAAgB,CAAC,IAAId,IAAI,CAAC,GAAGA,IAAI;IACpHC,WAAW,CAACY,KAAK,GAAGX,UAAU,CAACC,sBAAsB,CAACc,QAAQ,CAAC,EAAEb,WAAW,CAAC;EAC/E,CAAC,MACI;IACHC,aAAa,CAACD,WAAW,CAAC;EAC5B;EAEA,IAAI,CAACE,QAAQ,EACXC,QAAQ,CAACM,KAAK,GAAG,KAAK;AAC1B"}'},D=function(O){var T=e.default.useContext(a.CTX),R=T.props,P=R.vertical,F=R.pagingEnabled,H=R.snapEnabled,k=R.panGestureHandlerProps,V=R.loop,W=R.scrollAnimationDuration,B=R.withAnimation,G=R.enabled,N=R.dataLength,M=R.overscrollEnabled,U=R.maxScrollDistancePerSwipe,z=O.size,K=O.translation,Y=O.testID,ee=O.style,te=ee===void 0?{}:ee,re=O.onScrollBegin,Q=O.onScrollEnd,ae=O.onTouchBegin,Ie=O.onTouchEnd,we=N,Ce=(0,r.useDerivedValue)(function(){var ye=[new $.Error,-2,-27],q=function(){return!P};return q._closure={vertical:P},q.__initData=c,q.__workletHash=0x92fc1b734e8,q.__stackDetails=ye,q.__version="3.3.0",q}(),[P]),Ee=(0,r.useSharedValue)(!1),Se=(0,r.useSharedValue)(0),Ge=(0,r.useSharedValue)(0),Ze=(0,r.useAnimatedRef)(),ne=e.default.useCallback(function(){var ye=[new $.Error,-7,-27],q=function(){if(!V&&!M){var fe=(0,r.measure)(Ze),de=fe.width,ke=de===void 0?0:de;return N*z<ke?0:N*z-ke}return N*z};return q._closure={infinite:V,overscrollEnabled:M,measure:r.measure,containerRef:Ze,dataLength:N,size:z},q.__initData=A,q.__workletHash=736417391548,q.__stackDetails=ye,q.__version="3.3.0",q}(),[V,z,N,M]),le=e.default.useCallback(function(){var ye=[new $.Error,-6,-27],q=function(fe,de){var ke={type:"timing",config:{duration:W+100,easing:i.Easing.easeOutQuart}};return(0,s.dealWithAnimation)(B??ke)(fe,function(){var be=[new $.Error,-3,-27],pe=function(it){it&&de&&(0,r.runOnJS)(de)()};return pe._closure={onFinished:de,runOnJS:r.runOnJS},pe.__initData=f,pe.__workletHash=0xe3f2cebca98,pe.__stackDetails=be,pe.__version="3.3.0",pe}())};return q._closure={scrollAnimationDuration:W,Easing:i.Easing,dealWithAnimation:s.dealWithAnimation,withAnimation:B,runOnJS:r.runOnJS},q.__initData=d,q.__workletHash=38454346678,q.__stackDetails=ye,q.__version="3.3.0",q}(),[W,B]),ft=e.default.useCallback(function(){var ye=[new $.Error,-14,-27],q=function(fe){var de=K.value,ke=Ge.value,be=(0,r.withDecay)({velocity:ke,deceleration:.999});if(typeof U=="number"&&Math.abs(Se.value)>U)be=de;else{if(F){var pe=-(Se.value>=0?1:-1),Gt=pe<0?Math.ceil:Math.floor,it=Gt(-K.value/z);if(V){var Pt=it+pe;be=le(jn(-Pt*z),fe)}else{var yn=Math.min(we-1,Math.max(0,it+pe));be=le(jn(-yn*z),fe)}}if(!F&&H){var la=Math.round((de+ke*.4)/z)*z;be=le(jn(la),fe)}}K.value=be;function jn(Pr){if(!V&&!M){var Fu=ne(),Mu=Math.sign(Pr);return Mu*Math.max(0,Math.min(Fu,Math.abs(Pr)))}return Pr}};return q._closure={translation:K,scrollEndVelocity:Ge,withDecay:r.withDecay,maxScrollDistancePerSwipe:U,scrollEndTranslation:Se,pagingEnabled:F,size:z,infinite:V,withSpring:le,maxPage:we,snapEnabled:H,overscrollEnabled:M,getLimit:ne},q.__initData=p,q.__workletHash=0xe2f395fe550,q.__stackDetails=ye,q.__version="3.3.0",q}(),[le,z,we,V,H,K,F,Ge.value,U,Se.value]),Tt=e.default.useCallback(function(){var ye=[new $.Error,-4,-27],q=function(fe){fe&&(Ee.value=!1,Q&&(0,r.runOnJS)(Q)())};return q._closure={touching:Ee,onScrollEnd:Q,runOnJS:r.runOnJS},q.__initData=h,q.__workletHash=0xd66a2cd499c,q.__stackDetails=ye,q.__version="3.3.0",q}(),[Q,Ee]),xt=e.default.useCallback(function(){var ye=[new $.Error,-6,-27],q=function(){Ee.value=!0,K.value=(0,r.withDecay)({velocity:Ge.value},function(){var fe=[new $.Error,-2,-27],de=function(be){return Tt(be)};return de._closure={onFinish:Tt},de.__initData=E,de.__workletHash=0xa47406a7948,de.__stackDetails=fe,de.__version="3.3.0",de}())};return q._closure={touching:Ee,translation:K,withDecay:r.withDecay,scrollEndVelocity:Ge,onFinish:Tt},q.__initData=v,q.__workletHash=0xd5579ffb432,q.__stackDetails=ye,q.__version="3.3.0",q}(),[Tt,Ge.value,Ee,K]),Je=e.default.useCallback(function(){var ye=[new $.Error,-9,-27],q=function(){if(!Ee.value){if(K.value>0){if(Se.value<0){xt();return}if(!V){K.value=le(0);return}}if(K.value<-((we-1)*z)){if(Se.value>0){xt();return}V||(K.value=le(-((we-1)*z)))}}};return q._closure={touching:Ee,translation:K,scrollEndTranslation:Se,activeDecay:xt,infinite:V,withSpring:le,maxPage:we,size:z},q.__initData=C,q.__workletHash=5253258937186,q.__stackDetails=ye,q.__version="3.3.0",q}(),[Ee.value,K,we,z,Se.value,V,xt,le]);(0,r.useAnimatedReaction)(function(){var ye=[new $.Error,-2,-27],q=function(){return K.value};return q._closure={translation:K},q.__initData=m,q.__workletHash=0xe7d5a122b2c,q.__stackDetails=ye,q.__version="3.3.0",q}(),function(){var ye=[new $.Error,-3,-27],q=function(){F||Je()};return q._closure={pagingEnabled:F,resetBoundary:Je},q.__initData=g,q.__workletHash=0xb517b95180b,q.__stackDetails=ye,q.__version="3.3.0",q}(),[F,Je]);var rt=function(){var ye=[new $.Error,-4,-27],q=function(fe){if(!V&&!M){var de=ne(),ke=Math.sign(fe);return ke*Math.max(0,Math.min(de,Math.abs(fe)))}return fe};return q._closure={infinite:V,overscrollEnabled:M,getLimit:ne},q.__initData=y,q.__workletHash=0xa64a453634d,q.__stackDetails=ye,q.__version="3.3.0",q}(),oa=(0,r.useAnimatedGestureHandler)({onStart:function(){var ye=[new $.Error,-10,-27],q=function(fe,de){Ee.value=!0,de.validStart=!0,re&&(0,r.runOnJS)(re)(),de.max=(we-1)*z,!V&&!M&&(de.max=ne()),de.panOffset=K.value};return q._closure={touching:Ee,onScrollBegin:re,runOnJS:r.runOnJS,maxPage:we,size:z,infinite:V,overscrollEnabled:M,getLimit:ne,translation:K},q.__initData=x,q.__workletHash=6283859030724,q.__stackDetails=ye,q.__version="3.3.0",q}(),onActive:function(){var ye=[new $.Error,-7,-27],q=function(fe,de){de.validStart&&(de.validStart=!1,(0,r.cancelAnimation)(K)),Ee.value=!0;var ke=fe.translationX,be=fe.translationY,pe=Ce.value?ke:be;if(typeof U=="number"&&Math.abs(pe)>U){var Gt=Math.abs(pe)-U,it=U+Gt*.5;ke=Ce.value?it*Math.sign(ke):ke,be=Ce.value?be:it*Math.sign(be)}var Pt=Ce.value?ke:be;if(!V&&(K.value>0||K.value<-de.max)){var yn=K.value>0?0:-de.max,la=yn-de.panOffset,jn=Pt-la;K.value=yn+jn*.5;return}var Pr=de.panOffset+Pt;K.value=Pr};return q._closure={cancelAnimation:r.cancelAnimation,translation:K,touching:Ee,isHorizontal:Ce,maxScrollDistancePerSwipe:U,infinite:V},q.__initData=w,q.__workletHash=0xd2eceeda264,q.__stackDetails=ye,q.__version="3.3.0",q}(),onEnd:function(){var ye=[new $.Error,-13,-27],q=function(fe,de){var ke=fe.velocityX,be=fe.velocityY,pe=fe.translationX,Gt=fe.translationY;Ge.value=Ce.value?ke:be,Se.value=Ce.value?pe:Gt;var it=Ce.value?pe:Gt;if(typeof U=="number"&&Math.abs(it)>U){var Pt=Math.round((de.panOffset+U*Math.sign(it))/z)*z;K.value=le(rt(Pt),Q)}else ft(Q);V||(Ee.value=!1)};return q._closure={scrollEndVelocity:Ge,isHorizontal:Ce,scrollEndTranslation:Se,maxScrollDistancePerSwipe:U,size:z,translation:K,withSpring:le,withProcessTranslation:rt,onScrollEnd:Q,endWithSpring:ft,infinite:V,touching:Ee},q.__initData=S,q.__workletHash=0xe208545ba9c,q.__stackDetails=ye,q.__version="3.3.0",q}()},[F,Ce.value,V,we,z,H,re,Q]);return(0,o.jsx)(n.PanGestureHandler,Object.assign({},k,{enabled:G,onGestureEvent:oa,children:(0,o.jsx)(r.default.View,{ref:Ze,testID:Y,style:te,onTouchStart:ae,onTouchEnd:Ie,children:O.children})}))},I=D;return Pa.ScrollViewGesture=I,Pa}var dp;function S8(){if(dp)return pa;dp=1;var t=nn;Object.defineProperty(pa,"__esModule",{value:!0}),pa.default=void 0;var e=t(b),n=Qo,r=uE,i=Ot,a=t8(),s=r8(),o=a8(),l=s8(),u=c8(),c=d8(),A=A8(),d=f8(),f=I8(),p=w8(),h=wA(),v=Tu(),E=X,C={code:`function anonymous() { const { size, dataLength, @@ -894,9 +894,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho const x = handlerOffset.value % totalSize; if (!loop) return handlerOffset.value; return isNaN(x) ? 0 : x; -}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/Carousel.tsx",sourceMap:'{"version":3,"names":["anonymous","size","dataLength","handlerOffset","loop","_closure","totalSize","x","value","isNaN"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/Carousel.tsx"],"mappings":"AA2DoC,SAAAA,SAAMA,CAAA;EAAA;IAAAC,IAAA;IAAAC,UAAA;IAAAC,aAAA;IAAAC;EAAA,SAAAC,QAAA;EACpC,MAAMC,SAAS,GAAGL,IAAI,GAAGC,UAAU;EACnC,MAAMK,CAAC,GAAGJ,aAAa,CAACK,KAAK,GAAGF,SAAS;EAEzC,IAAI,CAACF,IAAI,EACP,OAAOD,aAAa,CAACK,KAAK;EAE5B,OAAOC,KAAK,CAACF,CAAC,CAAC,GAAG,CAAC,GAAGA,CAAC;AACzB"}'},m=e.default.forwardRef(function(x,w){var S=(0,l.useInitProps)(x),D=S.testID,I=S.loop,_=S.autoFillData,O=S.data,T=S.dataLength,R=S.rawData,P=S.rawDataLength,F=S.mode,H=S.style,M=S.width,V=S.height,W=S.vertical,B=S.autoPlay,G=S.windowSize,N=S.autoPlayReverse,k=S.autoPlayInterval,U=S.scrollAnimationDuration,z=S.withAnimation,K=S.renderItem,Y=S.onScrollEnd,ee=S.onSnapToItem,te=S.onScrollBegin,re=S.onProgressChange,Q=S.customAnimation,ae=S.defaultIndex,Ie=(0,o.useCommonVariables)(S),we=Ie.size,Ce=Ie.handlerOffset,Ee=(0,i.useDerivedValue)(function(){var be=[new $.Error,-5,-27],pe=function(){var it=we*T,Pt=Ce.value%it;return I?isNaN(Pt)?0:Pt:Ce.value};return pe._closure={size:we,dataLength:T,handlerOffset:Ce,loop:I},pe.__initData=C,pe.__workletHash=0x93577184796,pe.__stackDetails=be,pe.__version="3.3.0",pe}(),[I,we,T]);(0,A.usePropsErrorBoundary)(Object.assign({},S,{dataLength:T})),(0,c.useOnProgressChange)({autoFillData:_,loop:I,size:we,offsetX:Ee,rawDataLength:P,onProgressChange:re});var Se=(0,s.useCarouselController)({loop:I,size:we,dataLength:T,autoFillData:_,handlerOffset:Ce,withAnimation:z,defaultIndex:ae,onScrollEnd:function(){return(0,i.runOnJS)(rt)()},onScrollBegin:function(){return!!te&&(0,i.runOnJS)(te)()},duration:U}),Ge=Se.next,Ze=Se.prev,ne=Se.scrollTo,le=Se.getSharedIndex,ft=Se.getCurrentIndex,Tt=(0,a.useAutoPlay)({autoPlay:B,autoPlayInterval:k,autoPlayReverse:N,carouselController:Se}),xt=Tt.start,Je=Tt.pause,rt=e.default.useCallback(function(){var be=Math.round(le()),pe=(0,v.computedRealIndexWithAutoFillData)({index:be,dataLength:P,loop:I,autoFillData:_});ee&&ee(pe),Y&&Y(pe)},[I,_,P,le,ee,Y]),oa=e.default.useCallback(function(){Je(),te==null||te()},[te,Je]),ye=e.default.useCallback(function(){xt(),rt()},[rt,xt]),q=e.default.useCallback(Je,[Je]),Le=e.default.useCallback(xt,[xt]);e.default.useImperativeHandle(w,function(){return{next:Ge,prev:Ze,getCurrentIndex:ft,scrollTo:ne}},[ft,Ge,Ze,ne]);var fe=(0,d.useVisibleRanges)({total:T,viewSize:we,translation:Ce,windowSize:G}),de=(0,u.useLayoutConfig)(Object.assign({},S,{size:we})),Me=e.default.useCallback(function(be,pe){var Gt=(0,v.computedRealIndexWithAutoFillData)({index:pe,dataLength:P,loop:I,autoFillData:_});return(0,E.jsx)(f.BaseLayout,{index:pe,handlerOffset:Ee,visibleRanges:fe,animationStyle:Q||de,children:function(Pt){var xn=Pt.animationValue;return K({item:be,index:Gt,animationValue:xn})}},pe)},[I,R,Ee,fe,_,K,de,Q]);return(0,E.jsx)(r.GestureHandlerRootView,{children:(0,E.jsx)(h.CTX.Provider,{value:{props:S,common:Ie},children:(0,E.jsx)(p.ScrollViewGesture,{size:we,translation:Ce,style:[y.container,{width:M||"100%",height:V||"100%"},H,W?y.itemsVertical:y.itemsHorizontal],testID:D,onScrollBegin:oa,onScrollEnd:ye,onTouchBegin:q,onTouchEnd:Le,children:O.map(Me)},F)})})}),g=m;pa.default=g;var y=n.StyleSheet.create({container:{overflow:"hidden"},itemsHorizontal:{flexDirection:"row"},itemsVertical:{flexDirection:"column"}});return pa}(function(t){var e=nn;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ILayoutConfig",{enumerable:!0,get:function(){return r.ILayoutConfig}}),t.default=void 0;var n=e(g8()),r=cE(),i=n.default;t.default=i})(Ym);const m8=Cn(Ym),Uo=({children:t,waitBeforeShow:e=500})=>{const[n,r]=b.useState(!1);return b.useEffect(()=>{const i=setTimeout(()=>{r(!0)},e);return()=>clearTimeout(i)},[e]),n?t:X.jsx(Gx,{testID:"DelayPleaseWait"})};try{Uo.displayName="Delay",Uo.__docgenInfo={description:"",displayName:"Delay",props:{waitBeforeShow:{defaultValue:{value:"500"},description:"",name:"waitBeforeShow",required:!1,type:{name:"number"}}}}}catch{}const h0=b.forwardRef(({children:t,grow:e,withBottomInset:n=!1,...r},i)=>{const a=b0();return X.jsx(Ji,{contentContainerStyle:!!e&&Lx.grow,keyboardShouldPersistTaps:e?"handled":void 0,ref:i,scrollIndicatorInsets:{right:Number.MIN_VALUE},style:!!n&&{paddingBottom:a.bottom},...r,children:t})});try{h0.displayName="ScrollView",h0.__docgenInfo={description:"",displayName:"ScrollView",props:{grow:{defaultValue:null,description:"",name:"grow",required:!1,type:{name:"boolean"}},withBottomInset:{defaultValue:{value:"false"},description:"",name:"withBottomInset",required:!1,type:{name:"boolean"}}}}}catch{}const C8=({isActive:t=!0,platform:e}={})=>{const n=En(),r=b.useRef(null),i=Hx(),a=Nv(),[s,o]=b.useState(!1),[l,u]=b.useState(!1);return b.useLayoutEffect(()=>(u(!0),()=>{u(!1)}),[]),Qv(b.useCallback(()=>(o(!0),()=>{o(!1)}),[])),b.useLayoutEffect(()=>{if(e&&ue.OS!==e||!r.current||!t||!s||!l||!a)return;i(r.current);const c=setTimeout(()=>i(r.current),Ux.normal);return()=>clearTimeout(c)},[n,i,r,t,s,l,a,e]),r},E8=t=>b.createElement("svg",{width:78,height:48,viewBox:"0 0 78 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},b.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-0.000244141 11.2875L4.24626 7.05467L-0.000244141 2.82187L2.83076 0L7.07726 4.2328L11.3238 0L14.1548 2.82187L9.90826 7.05467L14.1548 11.2875L11.3238 14.1093L7.07726 9.87654L2.83076 14.1093L-0.000244141 11.2875ZM24.7852 1.28395C22.6619 1.28395 21.1615 2.79365 21.1615 4.93827C21.1615 7.097 22.6336 8.62081 24.7144 8.62081C26.7386 8.62081 28.1399 7.35097 28.1399 5.54497V4.44444H24.9834V5.62963H26.6961V5.81305C26.6961 6.75838 25.9034 7.40741 24.7569 7.40741C23.5112 7.40741 22.6336 6.39153 22.6336 4.93827C22.6336 3.51323 23.5254 2.51146 24.8135 2.51146C25.5071 2.51146 26.0874 2.76543 26.4838 3.21693L27.418 2.32804C26.7669 1.63668 25.861 1.28395 24.7852 1.28395ZM56.7047 17.1005C56.7047 15.4356 57.8088 14.2645 59.3659 14.2645C60.0878 14.2645 60.6681 14.575 61.0503 15.1534H61.0786V11.8942H62.4234V19.7672H61.1494V18.9347H61.1211C60.7672 19.5414 60.1161 19.9083 59.3659 19.9083C57.8088 19.8942 56.7047 18.7372 56.7047 17.1005ZM61.0645 17.0864C61.0645 16.1129 60.47 15.478 59.5782 15.478C58.6864 15.478 58.0919 16.127 58.0919 17.0864C58.0919 18.0459 58.6864 18.6949 59.5782 18.6949C60.47 18.6949 61.0645 18.0459 61.0645 17.0864ZM25.3372 12.6984H23.7094L20.8501 19.7531H22.3081L22.9026 18.2011H26.0591L26.6536 19.7531H28.1682L25.3372 12.6984ZM25.6345 17.0441H23.3414L24.4738 14.067H24.5021L25.6345 17.0441ZM30.334 14.4056H29.0742V19.7672H30.4189V16.7901C30.4189 15.9295 30.7728 15.4497 31.3956 15.4497C32.0326 15.4497 32.3298 15.8589 32.3298 16.7478V19.7672H33.6745V16.7901C33.6745 15.9153 34.0284 15.4497 34.6512 15.4497C35.274 15.4497 35.5855 15.873 35.5855 16.7478V19.7672H36.9302V16.522C36.9302 15.0123 36.2932 14.2787 34.9626 14.2787C34.1983 14.2787 33.6038 14.6032 33.2782 15.1958C32.9526 14.5891 32.4289 14.2787 31.7353 14.2787C31.1125 14.2787 30.6312 14.5891 30.3623 15.1393H30.334V14.4056ZM39.4215 17.5097C38.6854 17.2981 37.9777 16.903 37.9777 15.9295C37.9777 14.9418 38.8128 14.2645 40.0443 14.2645C40.8794 14.2645 41.5164 14.5608 41.8703 15.097L41.0918 15.873C40.8228 15.5344 40.4548 15.351 40.0443 15.351C39.5913 15.351 39.3082 15.5626 39.3082 15.8871C39.3082 16.2667 39.6493 16.37 40.1743 16.529C40.2543 16.5532 40.3385 16.5787 40.4265 16.6067C41.1625 16.8183 41.8703 17.2134 41.8703 18.1869C41.8703 19.2028 40.9927 19.8942 39.7187 19.8942C38.8836 19.8942 38.2041 19.5979 37.8078 19.0476L38.5863 18.2716C38.8836 18.6243 39.2799 18.8078 39.7046 18.8078C40.2283 18.8078 40.5397 18.5961 40.5397 18.2293C40.5397 17.8544 40.1844 17.7451 39.6409 17.578C39.5708 17.5564 39.4975 17.5339 39.4215 17.5097ZM43.2999 15.5203V17.8483C43.2999 19.1323 43.9369 19.8095 45.1826 19.8095C45.4232 19.8095 45.7204 19.7813 45.8903 19.739V18.6102C45.7771 18.6384 45.5931 18.6667 45.4373 18.6667C44.9278 18.6667 44.6588 18.3704 44.6588 17.8483V15.5203H45.9611V14.4056H44.6588V12.9524H43.4981V13.7848C43.4981 14.2363 43.3283 14.4056 42.8753 14.4056H42.3799V15.5203H43.2999ZM46.6122 17.0864C46.6122 15.4215 47.7305 14.2787 49.33 14.2787C50.9295 14.2787 52.0477 15.4215 52.0477 17.0582C52.0477 17.1534 52.0318 17.2963 52.0179 17.4213C52.0132 17.463 52.0088 17.5026 52.0053 17.5379H47.9711C48.0702 18.2716 48.693 18.7513 49.4857 18.7513C50.0802 18.7513 50.5898 18.5397 50.9295 18.1446L51.7505 18.9347C51.2551 19.5697 50.4058 19.9083 49.4291 19.9083C47.7729 19.8942 46.6122 18.7372 46.6122 17.0864ZM50.6889 16.5362C50.6039 15.8307 50.0519 15.351 49.33 15.351C48.5939 15.351 48.056 15.8307 47.9711 16.5362H50.6889ZM54.4541 14.4056H53.1943V19.7813H54.539V16.9594C54.539 16.1552 54.9778 15.6332 55.6714 15.6332C55.8837 15.6332 56.181 15.6614 56.3367 15.7037V14.4198C56.2518 14.3915 56.0253 14.3633 55.8554 14.3633C55.2185 14.3633 54.7372 14.6878 54.4824 15.2945H54.4541V14.4056ZM65.7498 16.5644C64.3201 16.5785 63.4567 17.1993 63.4567 18.2293C63.4567 19.2169 64.2352 19.8942 65.3393 19.8942C66.0187 19.8942 66.5708 19.6261 66.9105 19.1323H66.9388C67.0521 19.5273 67.4059 19.7672 67.9155 19.7672H68.5525V18.709H68.4534C68.2269 18.709 68.142 18.6243 68.142 18.4268V16.2963C68.142 15.0406 67.2361 14.2645 65.7923 14.2645C64.858 14.2645 64.1078 14.575 63.6407 15.1534L64.4617 15.9436C64.7589 15.6049 65.1836 15.4215 65.6649 15.4215C66.4009 15.4215 66.7973 15.746 66.7973 16.381V16.5503L65.7498 16.5644ZM66.7973 17.4533V17.7637C66.7973 18.4409 66.316 18.9065 65.5941 18.9065C65.1411 18.9065 64.8156 18.6102 64.8156 18.2011C64.8156 17.7213 65.1978 17.4815 65.9055 17.4674L66.7973 17.4533ZM69.6141 14.4056H70.8739V15.1393H70.9022C71.1712 14.5891 71.6524 14.2787 72.2753 14.2787C72.9688 14.2787 73.4926 14.5891 73.8181 15.1958C74.1437 14.6032 74.7382 14.2787 75.5026 14.2787C76.8332 14.2787 77.4701 15.0123 77.4701 16.522V19.7672H76.1254V16.7478C76.1254 15.873 75.814 15.4497 75.1912 15.4497C74.5542 15.4497 74.2145 15.9153 74.2145 16.7901V19.7672H72.8698V16.7478C72.8698 15.8589 72.5725 15.4497 71.9355 15.4497C71.3127 15.4497 70.9588 15.9295 70.9588 16.7901V19.7672H69.6141V14.4056ZM29.06 5.79894C29.06 4.13404 30.1782 2.99118 31.7778 2.99118C33.3773 2.99118 34.4955 4.13404 34.4955 5.77072C34.4955 5.86597 34.4796 6.00884 34.4657 6.13385C34.461 6.17551 34.4566 6.21518 34.4531 6.25044H30.4189C30.518 6.98413 31.1408 7.46384 31.9335 7.46384C32.528 7.46384 33.0376 7.2522 33.3773 6.85714L34.1983 7.64727C33.7028 8.28219 32.8535 8.62081 31.8768 8.62081C30.2066 8.62081 29.06 7.44973 29.06 5.79894ZM33.1366 5.26279C33.0517 4.55732 32.4997 4.0776 31.7778 4.0776C31.0559 4.0776 30.4897 4.55732 30.4189 5.26279H33.1366ZM36.8736 3.11817H35.6138V8.47972H36.9585V5.50265C36.9585 4.64197 37.3124 4.16226 37.9352 4.16226C38.5722 4.16226 38.8694 4.57143 38.8694 5.46032V8.47972H40.2141V5.50265C40.2141 4.62787 40.568 4.16226 41.1908 4.16226C41.8137 4.16226 42.1251 4.58554 42.1251 5.46032V8.47972H43.4698V5.23457C43.4698 3.72487 42.8328 2.99118 41.5023 2.99118C40.7379 2.99118 40.1434 3.3157 39.8178 3.90829C39.4922 3.30159 38.9685 2.99118 38.2749 2.99118C37.6521 2.99118 37.1708 3.30159 36.9019 3.85185H36.8736V3.11817ZM44.5597 5.79894C44.5597 4.13404 45.678 2.99118 47.2775 2.99118C48.877 2.99118 49.9953 4.13404 49.9953 5.77072C49.9953 5.86596 49.9793 6.00882 49.9654 6.13382C49.9608 6.17548 49.9563 6.21517 49.9528 6.25044H45.9186C46.0177 6.98413 46.6405 7.46384 47.4332 7.46384C48.0277 7.46384 48.5373 7.2522 48.877 6.85714L49.698 7.64727C49.2026 8.28219 48.3533 8.62081 47.3766 8.62081C45.7063 8.62081 44.5597 7.44973 44.5597 5.79894ZM48.6364 5.26279C48.5515 4.55732 47.9994 4.0776 47.2775 4.0776C46.5414 4.0776 45.9894 4.55732 45.9186 5.26279H48.6364ZM53.4916 2.99118C51.892 2.99118 50.7738 4.13404 50.7738 5.79894C50.7738 7.44973 51.9345 8.62081 53.5906 8.62081C54.5673 8.62081 55.4166 8.28219 55.9121 7.64727L55.0911 6.85714C54.7514 7.2522 54.2418 7.46384 53.6473 7.46384C52.8546 7.46384 52.2318 6.98413 52.1327 6.25044H56.1668C56.1704 6.21517 56.1748 6.17548 56.1795 6.13382C56.1934 6.00882 56.2093 5.86596 56.2093 5.77072C56.2093 4.13404 55.0911 2.99118 53.4916 2.99118ZM53.5057 4.0776C54.2276 4.0776 54.7797 4.55732 54.8646 5.26279H52.1468C52.2176 4.55732 52.7555 4.0776 53.5057 4.0776ZM57.3559 3.11817H58.6157V3.85185H58.644C58.8988 3.3157 59.4366 2.99118 60.0736 2.99118C61.4184 2.99118 62.1261 3.7672 62.1261 5.23457V8.47972H60.7814V5.50265C60.7814 4.58554 60.4558 4.16226 59.7622 4.16226C59.0686 4.16226 58.7006 4.64197 58.7006 5.53086V8.47972H57.3559V3.11817ZM63.853 4.2328V6.56085C63.853 7.85891 64.4758 8.52205 65.7356 8.52205C65.9763 8.52205 66.2735 8.49383 66.4434 8.4515V7.32275C66.3301 7.35097 66.1461 7.37919 65.9904 7.37919C65.4808 7.37919 65.2119 7.08289 65.2119 6.56085V4.2328H66.5142V3.11817H65.2119V1.6649H64.0512V2.49735C64.0512 2.94885 63.8813 3.11817 63.4284 3.11817H62.9329V4.2328H63.853ZM67.1653 5.79894C67.1653 4.13404 68.2835 2.99118 69.8831 2.99118C71.4826 2.99118 72.6008 4.13404 72.6008 5.77072C72.6008 5.86584 72.5849 6.00845 72.571 6.13333L72.571 6.13346V6.13353L72.571 6.13369L72.5707 6.136C72.5662 6.17687 72.5618 6.21578 72.5583 6.25044H68.5242C68.6233 6.98413 69.2461 7.46384 70.0388 7.46384C70.6333 7.46384 71.1429 7.2522 71.4826 6.85714L72.3036 7.64727C71.8081 8.28219 70.9588 8.62081 69.9821 8.62081C68.3118 8.62081 67.1653 7.44973 67.1653 5.79894ZM68.5242 5.26279H71.2419C71.157 4.55732 70.605 4.0776 69.8831 4.0776C69.147 4.0776 68.5949 4.55732 68.5242 5.26279ZM4.24626 40.9453L-0.000244141 45.1781L2.83076 48L7.07726 43.7672L11.3238 48L14.1548 45.1781L9.90826 40.9453L14.1548 36.7125L11.3238 33.8907L7.07726 38.1235L2.83076 33.8907L-0.000244141 36.7125L4.24626 40.9453ZM4.24626 24.0141L-0.000244141 28.2469L2.83076 31.0688L7.07726 26.836L11.3238 31.0688L14.1548 28.2469L9.90826 24.0141L14.1548 19.7813L11.3238 16.9594L7.07726 21.1922L2.83076 16.9594L-0.000244141 19.7813L4.24626 24.0141Z",fill:"#E42313"})),x8=()=>null,up={AZTEC:"AZTEC",CODE128:"CODE128",PDF417:"PDF417",QR:"QR",EAN13:"EAN13",UPCA:"UPCA"},cp=80,y8=40,dp=100,Dc=44,Wo=({value:t,format:e,width:n})=>{const r=Ir(),i=b.useMemo(()=>{const s=ue.OS==="android"?cp:cp+y8,o=ue.OS==="android"&&e==="CODE128"?Dc/2:void 0,l=ue.OS==="ios"&&e==="QR"?Dc/2:void 0,u=ue.OS==="ios"?dp:dp+Dc;return{heightCode128:s,padding:l,paddingVertical:o,sizeQR:u}},[e]),a=I8(e,i.heightCode128,i.padding,i.paddingVertical,i.sizeQR,n);return X.jsx(ge,{style:a.container,children:X.jsx(x8,{background:r.color.barcode.background,foregroundColor:r.color.barcode.foreground,format:e==="QR"?up.QR:up.CODE128,style:a.barcode,value:t})})},I8=(t,e,n,r,i,a)=>ve.create({container:{padding:n,paddingVertical:r},barcode:{paddingVertical:0,marginVertical:0,height:t==="QR"?i:e,width:t==="QR"?i:a}});try{Wo.displayName="BarCode",Wo.__docgenInfo={description:"",displayName:"BarCode",props:{format:{defaultValue:null,description:"",name:"format",required:!0,type:{name:"enum",value:[{value:'"QR"'},{value:'"CODE128"'}]}},value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"number"}}}}}catch{}var go=(t=>(t.acknowledgeChild="acknowledgeChild",t.birth="birth",t.cityPassChildBudget="cityPassChildBudget",t.cityPassRequest="cityPassRequest",t.cityPassUsage="cityPassUsage",t.citypass="citypass",t.contactForm="contactForm",t.documents="documents",t.feedbackForm="feedbackForm",t.immigration="immigration",t.income_help="income_help",t.lifelessBirth="lifelessBirth",t.makeAppointMentWeesp="makeAppointMentWeesp",t.marriage="marriage",t.marriagePermission="marriagePermission",t.naturalisation="naturalisation",t.parking="parking",t.parking_visitors="parking_visitors",t.passing="passing",t.passingForFuneralDirectors="passingForFuneralDirectors",t.relocation="relocation",t))(go||{});const dE=312,AE=550,w8=.33;go.citypass,go.cityPassChildBudget,go.cityPassUsage;const fE=t=>Math.min(t*.8,dE),Ap=(t,e)=>t?t.replace(new RegExp(`.{1,${e}}`,"g"),"$& ").trim():"",Ra=10,p0=({index:t,isCurrentIndex:e,itemCount:n,cityPass:{firstname:r,infix:i,lastname:a,passNumberComplete:s,dateEndFormatted:o}})=>{const{width:l}=Lv(),u=fE(l),c=C8({isActive:e}),A=ji(d=>S8(d,u));return X.jsx(UA,{hide:!e,style:A.container,children:X.jsx(ge,{style:A.containerInner,children:X.jsx(h0,{accessibilityLabel:`De stadspas van ${r} ${i||""} ${a} kan nu gescand worden. Stadspas ${Ap(s,4)}. Geldig tot en met ${o}. Pas ${t+1} van ${n}. Swipe naar links of rechts om door de passen te navigeren.`,accessible:!0,ref:c,style:A.pass,children:X.jsx(UA,{children:X.jsxs(Ti,{grow:1,gutter:"md",children:[X.jsx(ge,{style:A.passHeader,children:X.jsx(qo,{children:X.jsx(E8,{})})}),X.jsx(ge,{style:A.passInner,children:X.jsxs(Ti,{grow:1,gutter:"md",halign:"center",children:[X.jsxs(Gi,{emphasis:"strong",testID:"CityPassCityPassName",children:[r," ",i," ",a]}),X.jsxs(Ti,{halign:"center",children:[X.jsx(Uo,{children:X.jsx(Wo,{format:"CODE128",value:s,width:u})}),X.jsx(ge,{style:A.passNumber,children:X.jsx(Gi,{emphasis:"strong",testID:"CityPassCityPassPassNumber",children:Ap(s,4)})})]}),X.jsx(Uo,{children:X.jsx(Wo,{format:"QR",value:s})}),X.jsxs(Vx,{textAlign:"center",children:["Geldig tot en met ",o]})]})})]})})})})})},S8=({color:t,size:e},n)=>ve.create({container:{flex:1,justifyContent:"center",alignItems:"center"},containerInner:{overflow:"hidden",borderRadius:Ra},pass:{backgroundColor:t.cityPass.passBackground,width:n,maxHeight:AE,borderRadius:Ra},passHeader:{backgroundColor:t.cityPass.passHeader,borderTopLeftRadius:Ra,borderTopRightRadius:Ra},passInner:{backgroundColor:t.cityPass.passInner,borderRadius:Ra,paddingTop:e.spacing.md,paddingBottom:e.spacing.md},passNumber:{marginTop:-e.spacing.md}});try{p0.displayName="CityPass",p0.__docgenInfo={description:"",displayName:"CityPass",props:{cityPass:{defaultValue:null,description:"",name:"cityPass",required:!0,type:{name:"CityPassPass"}},index:{defaultValue:null,description:"",name:"index",required:!0,type:{name:"number"}},isCurrentIndex:{defaultValue:null,description:"",name:"isCurrentIndex",required:!1,type:{name:"boolean"}},itemCount:{defaultValue:null,description:"",name:"itemCount",required:!0,type:{name:"number"}}}}}catch{}const v0=t=>{const{animValue:e,dotStyle:n,activeDotStyle:r,index:i,count:a,size:s,horizontal:o,children:l,...u}=t,c=10,A={width:s||(n==null?void 0:n.width)||c,height:s||(n==null?void 0:n.height)||c},{width:d}=A,{height:f}=A,p=zn(()=>{const h=o?f:d,v=[i-1,i,i+1],E=[-h,0,h];return{transform:[{translateX:Zt(e==null?void 0:e.value,v,E,Ue.CLAMP)}]}},[e,i,a,o]);return X.jsx(ge,{...u,style:[{width:d,height:f},fp.dot,n],children:X.jsx(Kn,{style:[fp.activeDot,p,r],children:l})})},fp=ve.create({dot:{overflow:"hidden"},activeDot:{backgroundColor:"black",flex:1}});try{v0.displayName="PaginationItem",v0.__docgenInfo={description:"",displayName:"PaginationItem",props:{activeDotStyle:{defaultValue:null,description:"",name:"activeDotStyle",required:!1,type:{name:"DotStyle"}},animValue:{defaultValue:null,description:"",name:"animValue",required:!0,type:{name:"SharedValue<number>"}},count:{defaultValue:null,description:"",name:"count",required:!0,type:{name:"number"}},dotStyle:{defaultValue:null,description:"",name:"dotStyle",required:!1,type:{name:"DotStyle"}},horizontal:{defaultValue:null,description:"",name:"horizontal",required:!1,type:{name:"boolean"}},index:{defaultValue:null,description:"",name:"index",required:!0,type:{name:"number"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"number"}}}}}catch{}const g0=t=>{const{activeDotStyle:e,currentIndex:n,dotStyle:r,progress:i,horizontal:a=!0,data:s,size:o,containerStyle:l,renderItem:u,onPress:c}=t;if(typeof o=="string"||typeof(r==null?void 0:r.width)=="string"||typeof(r==null?void 0:r.height)=="string")throw new Error("size/width/height must be a number");return X.jsx(ge,{style:[b8.container,l],children:s.map((A,d)=>X.jsx(CA,{hitSlop:5,onPress:()=>c==null?void 0:c(d),children:X.jsx(v0,{accessibilityLabel:n===d?`Huidige slide, ${d+1}`:`Ga naar slide ${d+1}`,activeDotStyle:e,animValue:i,count:s.length,dotStyle:r,horizontal:!a,index:d,size:o,children:u==null?void 0:u(A,d)})},d))})},b8=ve.create({container:{justifyContent:"space-between",alignSelf:"center",flexDirection:"row"}});try{g0.displayName="Basic",g0.__docgenInfo={description:"",displayName:"Basic",props:{activeDotStyle:{defaultValue:null,description:"",name:"activeDotStyle",required:!1,type:{name:"DotStyle"}},containerStyle:{defaultValue:null,description:"",name:"containerStyle",required:!1,type:{name:"StyleProp<ViewStyle>"}},currentIndex:{defaultValue:null,description:"",name:"currentIndex",required:!1,type:{name:"number"}},data:{defaultValue:null,description:"",name:"data",required:!0,type:{name:"T[]"}},dotStyle:{defaultValue:null,description:"",name:"dotStyle",required:!1,type:{name:"DotStyle"}},horizontal:{defaultValue:null,description:"",name:"horizontal",required:!1,type:{name:"boolean"}},onPress:{defaultValue:null,description:"",name:"onPress",required:!1,type:{name:"((index: number) => void)"}},progress:{defaultValue:null,description:"",name:"progress",required:!0,type:{name:"SharedValue<number>"}},renderItem:{defaultValue:null,description:"",name:"renderItem",required:!1,type:{name:"((item: T, index: number) => ReactNode)"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"number"}}}}}catch{}const _8=(t,e,n)=>(t-e)*.5*(1+n),hp=50,D8=()=>{const e=ji(O8),n=Vm(),{width:r}=Lv(),i=b.useRef(null),[a,s]=b.useState(0),o=Bt(XO),l=ct(0),u=A=>{var d;(d=i.current)==null||d.scrollTo({count:A-l.value,animated:!0})},c=fE(r);return X.jsxs(ge,{style:e.container,children:[X.jsx(m8,{data:n,defaultIndex:o,loop:!1,mode:"parallax",modeConfig:{parallaxScrollingScale:1,parallaxScrollingOffset:_8(r,c,w8),parallaxAdjacentItemScale:1},onProgressChange:(A,d)=>{s(Math.round(d)),l.value=d<0?0:d},pagingEnabled:!0,ref:i,renderItem:({item:A,index:d})=>X.jsx(p0,{cityPass:A,index:d,isCurrentIndex:a===d,itemCount:n.length}),snapEnabled:!0,style:{width:r},vertical:!1,width:r}),X.jsx(ge,{style:e.paginationContainer,children:X.jsx(g0,{activeDotStyle:e.paginationItemActive,containerStyle:e.pagination,currentIndex:a,data:n,dotStyle:e.paginationItem,onPress:u,progress:l})})]})},O8=({color:t,size:e})=>ve.create({container:{flexBasis:AE+hp},paginationContainer:{height:hp,justifyContent:"flex-end"},pagination:{borderRadius:25,backgroundColor:t.pagination.container.background,alignItems:"center",paddingHorizontal:e.spacing.sm,paddingVertical:12},paginationItem:{width:e.spacing.sm,height:e.spacing.sm,marginHorizontal:e.spacing.xs,backgroundColor:t.pagination.item.inactive,borderRadius:e.spacing.sm},paginationItemActive:{backgroundColor:t.pagination.item.active}}),hE=()=>{const t=En(),e=Bt(WO),{color:n}=Ir();b.useEffect(()=>(e&&n2(vt.PORTRAIT_UP),()=>{r2()}),[e]);const r=b.useCallback(()=>{const i="Dit scherm staat geen schermafdrukken toe";Wx.alert(i),Xx.announceForAccessibilityWithOptions(i,{queue:!0})},[]);return g2({enabled:e,onScreenshot:r}),m2({enabled:e}),e?X.jsx(Yd,{backgroundColor:n.cityPass.overlay,closeButtonContainerWidth:dE,onClose:()=>{t(HO())},children:X.jsx(D8,{})}):null};hE.renderBeforeServerModules=!0;var pE=(t=>(t.budget="Budget",t.cityPassDetails="CityPassDetails",t.cityPassLogout="CityPassLogout",t.dashboard="Dashboard",t.securityCode="SecurityCode",t))(pE||{});const T8={linking:{[pE.dashboard]:"stadspas/:loginResult/:accessToken?/:refreshToken?"},logDimension:Jt.cityPassModule,name:"CityPassModule",HeaderComponent:YO,PreRenderComponent:hE,reduxConfigs:[{key:ie.cityPass,slice:Hm,persistVersion:0,persistWhitelist:["isCityPassOwnerRegistered"]}],slug:nt["city-pass"]};var P8=function(t,...e){const n=[],{isArray:r}=Array;e.forEach((s,o)=>{if(typeof s=="number")e[o]=[s,s];else if(r(s))if(typeof s[0]=="number")e[o]=[s[0],typeof s[1]=="function"?s[1](s[0]):null];else throw TypeError("First item in array must be a Number")});let i=e.find(r),a;for(let s of t){if(r(a)&&a[1]==null&&(s=s.replace(/^\s+/,"")),i?n.push(s.replace(/\[([^|]*)\|([^\]]*)\]/g,i[0]==1?"$1":"$2")):n.push(s),!e.length)break;i=e.find(r)||i,a=e.shift(),n.push(a===i?i[1]:a)}return n.join("")};const R8=Cn(P8),vE=Fv?60:3,F8=({id:t,type:e})=>`${e}${t}`,k8=(t,e)=>{if(!e||e.length===0)return 0;const n=e.map(({meta_id:i})=>F8(i)),r=t.map(({id:i})=>i);return n.filter(i=>!r.includes(i)).length},M8=(t,e)=>b.useMemo(()=>k8(t,e),[t,e]);var pt=(t=>(t.articles="articles",t.projectDetails="projectDetails",t.projectFollow="projectFollow",t.projectNews="projectNews",t.projectUnfollow="projectUnfollow",t.projectWarning="projectWarning",t.projects="projects",t.projectsFollowedArticles="projectsFollowedArticles",t.projectsSearch="projectsSearch",t))(pt||{});const B8=t=>({...t,fields:t.fields.join(","),query_fields:t.query_fields.join(",")}),N8=t=>{var e;return t.timeline?{...t,timeline:{...t.timeline,items:((e=t.timeline.items)==null?void 0:e.map(n=>({...n,progress:"Huidig"})))??null}}:t};var zi=function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(u){return function(c){return l([u,c])}}function l(u){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,i=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1],a=u;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(u);break}a[2]&&n.ops.pop(),n.trys.pop();continue}u=e.call(t,n)}catch(c){u=[6,c],i=0}finally{r=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Xo=function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t},G8=Object.defineProperty,L8=Object.defineProperties,V8=Object.getOwnPropertyDescriptors,Yo=Object.getOwnPropertySymbols,gE=Object.prototype.hasOwnProperty,mE=Object.prototype.propertyIsEnumerable,pp=function(t,e,n){return e in t?G8(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n},Re=function(t,e){for(var n in e||(e={}))gE.call(e,n)&&pp(t,n,e[n]);if(Yo)for(var r=0,i=Yo(e);r<i.length;r++){var n=i[r];mE.call(e,n)&&pp(t,n,e[n])}return t},pn=function(t,e){return L8(t,V8(e))},vp=function(t,e){var n={};for(var r in t)gE.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&Yo)for(var i=0,a=Yo(t);i<a.length;i++){var r=a[i];e.indexOf(r)<0&&mE.call(t,r)&&(n[r]=t[r])}return n},Ki=function(t,e,n){return new Promise(function(r,i){var a=function(l){try{o(n.next(l))}catch(u){i(u)}},s=function(l){try{o(n.throw(l))}catch(u){i(u)}},o=function(l){return l.done?r(l.value):Promise.resolve(l.value).then(a,s)};o((n=n.apply(t,e)).next())})},Pe;(function(t){t.uninitialized="uninitialized",t.pending="pending",t.fulfilled="fulfilled",t.rejected="rejected"})(Pe||(Pe={}));function H8(t){return{status:t,isUninitialized:t===Pe.uninitialized,isLoading:t===Pe.pending,isSuccess:t===Pe.fulfilled,isError:t===Pe.rejected}}function U8(t){return new RegExp("(^|:)//").test(t)}var W8=function(t){return t.replace(/\/$/,"")},X8=function(t){return t.replace(/^\//,"")};function Y8(t,e){if(!t)return e;if(!e)return t;if(U8(e))return e;var n=t.endsWith("/")||!e.startsWith("?")?"/":"";return t=W8(t),e=X8(e),""+t+n+e}var gp=function(t){return[].concat.apply([],t)};function z8(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}function K8(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}var mp=Jr;function CE(t,e){if(t===e||!(mp(t)&&mp(e)||Array.isArray(t)&&Array.isArray(e)))return e;for(var n=Object.keys(e),r=Object.keys(t),i=n.length===r.length,a=Array.isArray(e)?[]:{},s=0,o=n;s<o.length;s++){var l=o[s];a[l]=CE(t[l],e[l]),i&&(i=t[l]===a[l])}return i?t:a}var Cp=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return fetch.apply(void 0,t)},$8=function(t){return t.status>=200&&t.status<=299},q8=function(t){return/ion\/(vnd\.api\+)?json/.test(t.get("content-type")||"")};function Ep(t){if(!Jr(t))return t;for(var e=Re({},t),n=0,r=Object.entries(e);n<r.length;n++){var i=r[n],a=i[0],s=i[1];s===void 0&&delete e[a]}return e}function j8(t){var e=this;t===void 0&&(t={});var n=t,r=n.baseUrl,i=n.prepareHeaders,a=i===void 0?function(m){return m}:i,s=n.fetchFn,o=s===void 0?Cp:s,l=n.paramsSerializer,u=n.isJsonContentType,c=u===void 0?q8:u,A=n.jsonContentType,d=A===void 0?"application/json":A,f=n.jsonReplacer,p=n.timeout,h=n.responseHandler,v=n.validateStatus,E=vp(n,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return typeof fetch>"u"&&o===Cp&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),function(m,g){return Ki(e,null,function(){var y,x,w,S,D,I,_,O,T,R,P,F,H,M,V,W,B,G,N,k,U,z,K,Y,ee,te,re,Q,ae,Ie,we,Ce,Ee,Se,Ge,Ze;return zi(this,function(ne){switch(ne.label){case 0:return y=g.signal,x=g.getState,w=g.extra,S=g.endpoint,D=g.forced,I=g.type,O=typeof m=="string"?{url:m}:m,T=O.url,R=O.headers,P=R===void 0?new Headers(E.headers):R,F=O.params,H=F===void 0?void 0:F,M=O.responseHandler,V=M===void 0?h??"json":M,W=O.validateStatus,B=W===void 0?v??$8:W,G=O.timeout,N=G===void 0?p:G,k=vp(O,["url","headers","params","responseHandler","validateStatus","timeout"]),U=Re(pn(Re({},E),{signal:y}),k),P=new Headers(Ep(P)),z=U,[4,a(P,{getState:x,extra:w,endpoint:S,forced:D,type:I})];case 1:z.headers=ne.sent()||P,K=function(le){return typeof le=="object"&&(Jr(le)||Array.isArray(le)||typeof le.toJSON=="function")},!U.headers.has("content-type")&&K(U.body)&&U.headers.set("content-type",d),K(U.body)&&c(U.headers)&&(U.body=JSON.stringify(U.body,f)),H&&(Y=~T.indexOf("?")?"&":"?",ee=l?l(H):new URLSearchParams(Ep(H)),T+=Y+ee),T=Y8(r,T),te=new Request(T,U),re=new Request(T,U),_={request:re},ae=!1,Ie=N&&setTimeout(function(){ae=!0,g.abort()},N),ne.label=2;case 2:return ne.trys.push([2,4,5,6]),[4,o(te)];case 3:return Q=ne.sent(),[3,6];case 4:return we=ne.sent(),[2,{error:{status:ae?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(we)},meta:_}];case 5:return Ie&&clearTimeout(Ie),[7];case 6:Ce=Q.clone(),_.response=Ce,Se="",ne.label=7;case 7:return ne.trys.push([7,9,,10]),[4,Promise.all([C(Q,V).then(function(le){return Ee=le},function(le){return Ge=le}),Ce.text().then(function(le){return Se=le},function(){})])];case 8:if(ne.sent(),Ge)throw Ge;return[3,10];case 9:return Ze=ne.sent(),[2,{error:{status:"PARSING_ERROR",originalStatus:Q.status,data:Se,error:String(Ze)},meta:_}];case 10:return[2,B(Q,Ee)?{data:Ee,meta:_}:{error:{status:Q.status,data:Ee},meta:_}]}})})};function C(m,g){return Ki(this,null,function(){var y;return zi(this,function(x){switch(x.label){case 0:return typeof g=="function"?[2,g(m)]:(g==="content-type"&&(g=c(m.headers)?"json":"text"),g!=="json"?[3,2]:[4,m.text()]);case 1:return y=x.sent(),[2,y.length?JSON.parse(y):null];case 2:return[2,m.text()]}})})}}var Bi=function(){function t(e,n){n===void 0&&(n=void 0),this.value=e,this.meta=n}return t}();function Q8(t,e){return t===void 0&&(t=0),e===void 0&&(e=5),Ki(this,null,function(){var n,r;return zi(this,function(i){switch(i.label){case 0:return n=Math.min(t,e),r=~~((Math.random()+.4)*(300<<n)),[4,new Promise(function(a){return setTimeout(function(s){return a(s)},r)})];case 1:return i.sent(),[2]}})})}function Z8(t){throw Object.assign(new Bi({error:t}),{throwImmediately:!0})}var xp={},J8=function(t,e){return function(n,r,i){return Ki(void 0,null,function(){var a,s,o,l,u,c,A;return zi(this,function(d){switch(d.label){case 0:a=[5,(e||xp).maxRetries,(i||xp).maxRetries].filter(function(f){return f!==void 0}),s=a.slice(-1)[0],o=function(f,p,h){var v=h.attempt;return v<=s},l=Re(Re({maxRetries:s,backoff:Q8,retryCondition:o},e),i),u=0,d.label=1;case 1:d.label=2;case 2:return d.trys.push([2,4,,6]),[4,t(n,r,i)];case 3:if(c=d.sent(),c.error)throw new Bi(c);return[2,c];case 4:if(A=d.sent(),u++,A.throwImmediately){if(A instanceof Bi)return[2,A.value];throw A}return A instanceof Bi&&!l.retryCondition(A.value.error,n,{attempt:u,baseQueryApi:r,extraOptions:i})?[2,A.value]:[4,l.backoff(u,l.maxRetries)];case 5:return d.sent(),[3,6];case 6:return[3,1];case 7:return[2]}})})}},Oc=Object.assign(J8,{fail:Z8}),IA=Qi("__rtkq/focused"),EE=Qi("__rtkq/unfocused"),wA=Qi("__rtkq/online"),xE=Qi("__rtkq/offline"),mn;(function(t){t.query="query",t.mutation="mutation"})(mn||(mn={}));function yE(t){return t.type===mn.query}function e3(t){return t.type===mn.mutation}function SA(t,e,n,r,i,a){return t3(t)?t(e,n,r,i).map(m0).map(a):Array.isArray(t)?t.map(m0).map(a):[]}function t3(t){return typeof t=="function"}function m0(t){return typeof t=="string"?{type:t}:t}function Tc(t){return t!=null}var os=Symbol("forceQueryFn"),C0=function(t){return typeof t[os]=="function"};function n3(t){var e=t.serializeQueryArgs,n=t.queryThunk,r=t.mutationThunk,i=t.api,a=t.context,s=new Map,o=new Map,l=i.internalActions,u=l.unsubscribeQueryResult,c=l.removeMutationResult,A=l.updateSubscriptionOptions;return{buildInitiateQuery:C,buildInitiateMutation:m,getRunningQueryThunk:p,getRunningMutationThunk:h,getRunningQueriesThunk:v,getRunningMutationsThunk:E,getRunningOperationPromises:f,removalWarning:d};function d(){throw new Error(`This method had to be removed due to a conceptual bug in RTK. +}`,location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/Carousel.tsx",sourceMap:'{"version":3,"names":["anonymous","size","dataLength","handlerOffset","loop","_closure","totalSize","x","value","isNaN"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/Carousel.tsx"],"mappings":"AA2DoC,SAAAA,SAAMA,CAAA;EAAA;IAAAC,IAAA;IAAAC,UAAA;IAAAC,aAAA;IAAAC;EAAA,SAAAC,QAAA;EACpC,MAAMC,SAAS,GAAGL,IAAI,GAAGC,UAAU;EACnC,MAAMK,CAAC,GAAGJ,aAAa,CAACK,KAAK,GAAGF,SAAS;EAEzC,IAAI,CAACF,IAAI,EACP,OAAOD,aAAa,CAACK,KAAK;EAE5B,OAAOC,KAAK,CAACF,CAAC,CAAC,GAAG,CAAC,GAAGA,CAAC;AACzB"}'},m=e.default.forwardRef(function(x,w){var S=(0,l.useInitProps)(x),D=S.testID,I=S.loop,_=S.autoFillData,O=S.data,T=S.dataLength,R=S.rawData,P=S.rawDataLength,F=S.mode,H=S.style,k=S.width,V=S.height,W=S.vertical,B=S.autoPlay,G=S.windowSize,N=S.autoPlayReverse,M=S.autoPlayInterval,U=S.scrollAnimationDuration,z=S.withAnimation,K=S.renderItem,Y=S.onScrollEnd,ee=S.onSnapToItem,te=S.onScrollBegin,re=S.onProgressChange,Q=S.customAnimation,ae=S.defaultIndex,Ie=(0,o.useCommonVariables)(S),we=Ie.size,Ce=Ie.handlerOffset,Ee=(0,i.useDerivedValue)(function(){var be=[new $.Error,-5,-27],pe=function(){var it=we*T,Pt=Ce.value%it;return I?isNaN(Pt)?0:Pt:Ce.value};return pe._closure={size:we,dataLength:T,handlerOffset:Ce,loop:I},pe.__initData=C,pe.__workletHash=0x93577184796,pe.__stackDetails=be,pe.__version="3.3.0",pe}(),[I,we,T]);(0,A.usePropsErrorBoundary)(Object.assign({},S,{dataLength:T})),(0,c.useOnProgressChange)({autoFillData:_,loop:I,size:we,offsetX:Ee,rawDataLength:P,onProgressChange:re});var Se=(0,s.useCarouselController)({loop:I,size:we,dataLength:T,autoFillData:_,handlerOffset:Ce,withAnimation:z,defaultIndex:ae,onScrollEnd:function(){return(0,i.runOnJS)(rt)()},onScrollBegin:function(){return!!te&&(0,i.runOnJS)(te)()},duration:U}),Ge=Se.next,Ze=Se.prev,ne=Se.scrollTo,le=Se.getSharedIndex,ft=Se.getCurrentIndex,Tt=(0,a.useAutoPlay)({autoPlay:B,autoPlayInterval:M,autoPlayReverse:N,carouselController:Se}),xt=Tt.start,Je=Tt.pause,rt=e.default.useCallback(function(){var be=Math.round(le()),pe=(0,v.computedRealIndexWithAutoFillData)({index:be,dataLength:P,loop:I,autoFillData:_});ee&&ee(pe),Y&&Y(pe)},[I,_,P,le,ee,Y]),oa=e.default.useCallback(function(){Je(),te==null||te()},[te,Je]),ye=e.default.useCallback(function(){xt(),rt()},[rt,xt]),q=e.default.useCallback(Je,[Je]),Le=e.default.useCallback(xt,[xt]);e.default.useImperativeHandle(w,function(){return{next:Ge,prev:Ze,getCurrentIndex:ft,scrollTo:ne}},[ft,Ge,Ze,ne]);var fe=(0,d.useVisibleRanges)({total:T,viewSize:we,translation:Ce,windowSize:G}),de=(0,u.useLayoutConfig)(Object.assign({},S,{size:we})),ke=e.default.useCallback(function(be,pe){var Gt=(0,v.computedRealIndexWithAutoFillData)({index:pe,dataLength:P,loop:I,autoFillData:_});return(0,E.jsx)(f.BaseLayout,{index:pe,handlerOffset:Ee,visibleRanges:fe,animationStyle:Q||de,children:function(Pt){var yn=Pt.animationValue;return K({item:be,index:Gt,animationValue:yn})}},pe)},[I,R,Ee,fe,_,K,de,Q]);return(0,E.jsx)(r.GestureHandlerRootView,{children:(0,E.jsx)(h.CTX.Provider,{value:{props:S,common:Ie},children:(0,E.jsx)(p.ScrollViewGesture,{size:we,translation:Ce,style:[y.container,{width:k||"100%",height:V||"100%"},H,W?y.itemsVertical:y.itemsHorizontal],testID:D,onScrollBegin:oa,onScrollEnd:ye,onTouchBegin:q,onTouchEnd:Le,children:O.map(ke)},F)})})}),g=m;pa.default=g;var y=n.StyleSheet.create({container:{overflow:"hidden"},itemsHorizontal:{flexDirection:"row"},itemsVertical:{flexDirection:"column"}});return pa}(function(t){var e=nn;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ILayoutConfig",{enumerable:!0,get:function(){return r.ILayoutConfig}}),t.default=void 0;var n=e(S8()),r=AE(),i=n.default;t.default=i})(Km);const b8=En(Km),Wo=({children:t,waitBeforeShow:e=500})=>{const[n,r]=b.useState(!1);return b.useEffect(()=>{const i=setTimeout(()=>{r(!0)},e);return()=>clearTimeout(i)},[e]),n?t:X.jsx(Xx,{testID:"DelayPleaseWait"})};try{Wo.displayName="Delay",Wo.__docgenInfo={description:"",displayName:"Delay",props:{waitBeforeShow:{defaultValue:{value:"500"},description:"",name:"waitBeforeShow",required:!1,type:{name:"number"}}}}}catch{}const v0=b.forwardRef(({children:t,grow:e,withBottomInset:n=!1,...r},i)=>{const a=D0();return X.jsx(Ji,{contentContainerStyle:!!e&&Yx.grow,keyboardShouldPersistTaps:e?"handled":void 0,ref:i,scrollIndicatorInsets:{right:Number.MIN_VALUE},style:!!n&&{paddingBottom:a.bottom},...r,children:t})});try{v0.displayName="ScrollView",v0.__docgenInfo={description:"",displayName:"ScrollView",props:{grow:{defaultValue:null,description:"",name:"grow",required:!1,type:{name:"boolean"}},withBottomInset:{defaultValue:{value:"false"},description:"",name:"withBottomInset",required:!1,type:{name:"boolean"}}}}}catch{}const _8=({isActive:t=!0,platform:e}={})=>{const n=xn(),r=b.useRef(null),i=Kx(),a=Lv(),[s,o]=b.useState(!1),[l,u]=b.useState(!1);return b.useLayoutEffect(()=>(u(!0),()=>{u(!1)}),[]),Jv(b.useCallback(()=>(o(!0),()=>{o(!1)}),[])),b.useLayoutEffect(()=>{if(e&&ue.OS!==e||!r.current||!t||!s||!l||!a)return;i(r.current);const c=setTimeout(()=>i(r.current),$x.normal);return()=>clearTimeout(c)},[n,i,r,t,s,l,a,e]),r},D8=t=>b.createElement("svg",{width:78,height:48,viewBox:"0 0 78 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},b.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-0.000244141 11.2875L4.24626 7.05467L-0.000244141 2.82187L2.83076 0L7.07726 4.2328L11.3238 0L14.1548 2.82187L9.90826 7.05467L14.1548 11.2875L11.3238 14.1093L7.07726 9.87654L2.83076 14.1093L-0.000244141 11.2875ZM24.7852 1.28395C22.6619 1.28395 21.1615 2.79365 21.1615 4.93827C21.1615 7.097 22.6336 8.62081 24.7144 8.62081C26.7386 8.62081 28.1399 7.35097 28.1399 5.54497V4.44444H24.9834V5.62963H26.6961V5.81305C26.6961 6.75838 25.9034 7.40741 24.7569 7.40741C23.5112 7.40741 22.6336 6.39153 22.6336 4.93827C22.6336 3.51323 23.5254 2.51146 24.8135 2.51146C25.5071 2.51146 26.0874 2.76543 26.4838 3.21693L27.418 2.32804C26.7669 1.63668 25.861 1.28395 24.7852 1.28395ZM56.7047 17.1005C56.7047 15.4356 57.8088 14.2645 59.3659 14.2645C60.0878 14.2645 60.6681 14.575 61.0503 15.1534H61.0786V11.8942H62.4234V19.7672H61.1494V18.9347H61.1211C60.7672 19.5414 60.1161 19.9083 59.3659 19.9083C57.8088 19.8942 56.7047 18.7372 56.7047 17.1005ZM61.0645 17.0864C61.0645 16.1129 60.47 15.478 59.5782 15.478C58.6864 15.478 58.0919 16.127 58.0919 17.0864C58.0919 18.0459 58.6864 18.6949 59.5782 18.6949C60.47 18.6949 61.0645 18.0459 61.0645 17.0864ZM25.3372 12.6984H23.7094L20.8501 19.7531H22.3081L22.9026 18.2011H26.0591L26.6536 19.7531H28.1682L25.3372 12.6984ZM25.6345 17.0441H23.3414L24.4738 14.067H24.5021L25.6345 17.0441ZM30.334 14.4056H29.0742V19.7672H30.4189V16.7901C30.4189 15.9295 30.7728 15.4497 31.3956 15.4497C32.0326 15.4497 32.3298 15.8589 32.3298 16.7478V19.7672H33.6745V16.7901C33.6745 15.9153 34.0284 15.4497 34.6512 15.4497C35.274 15.4497 35.5855 15.873 35.5855 16.7478V19.7672H36.9302V16.522C36.9302 15.0123 36.2932 14.2787 34.9626 14.2787C34.1983 14.2787 33.6038 14.6032 33.2782 15.1958C32.9526 14.5891 32.4289 14.2787 31.7353 14.2787C31.1125 14.2787 30.6312 14.5891 30.3623 15.1393H30.334V14.4056ZM39.4215 17.5097C38.6854 17.2981 37.9777 16.903 37.9777 15.9295C37.9777 14.9418 38.8128 14.2645 40.0443 14.2645C40.8794 14.2645 41.5164 14.5608 41.8703 15.097L41.0918 15.873C40.8228 15.5344 40.4548 15.351 40.0443 15.351C39.5913 15.351 39.3082 15.5626 39.3082 15.8871C39.3082 16.2667 39.6493 16.37 40.1743 16.529C40.2543 16.5532 40.3385 16.5787 40.4265 16.6067C41.1625 16.8183 41.8703 17.2134 41.8703 18.1869C41.8703 19.2028 40.9927 19.8942 39.7187 19.8942C38.8836 19.8942 38.2041 19.5979 37.8078 19.0476L38.5863 18.2716C38.8836 18.6243 39.2799 18.8078 39.7046 18.8078C40.2283 18.8078 40.5397 18.5961 40.5397 18.2293C40.5397 17.8544 40.1844 17.7451 39.6409 17.578C39.5708 17.5564 39.4975 17.5339 39.4215 17.5097ZM43.2999 15.5203V17.8483C43.2999 19.1323 43.9369 19.8095 45.1826 19.8095C45.4232 19.8095 45.7204 19.7813 45.8903 19.739V18.6102C45.7771 18.6384 45.5931 18.6667 45.4373 18.6667C44.9278 18.6667 44.6588 18.3704 44.6588 17.8483V15.5203H45.9611V14.4056H44.6588V12.9524H43.4981V13.7848C43.4981 14.2363 43.3283 14.4056 42.8753 14.4056H42.3799V15.5203H43.2999ZM46.6122 17.0864C46.6122 15.4215 47.7305 14.2787 49.33 14.2787C50.9295 14.2787 52.0477 15.4215 52.0477 17.0582C52.0477 17.1534 52.0318 17.2963 52.0179 17.4213C52.0132 17.463 52.0088 17.5026 52.0053 17.5379H47.9711C48.0702 18.2716 48.693 18.7513 49.4857 18.7513C50.0802 18.7513 50.5898 18.5397 50.9295 18.1446L51.7505 18.9347C51.2551 19.5697 50.4058 19.9083 49.4291 19.9083C47.7729 19.8942 46.6122 18.7372 46.6122 17.0864ZM50.6889 16.5362C50.6039 15.8307 50.0519 15.351 49.33 15.351C48.5939 15.351 48.056 15.8307 47.9711 16.5362H50.6889ZM54.4541 14.4056H53.1943V19.7813H54.539V16.9594C54.539 16.1552 54.9778 15.6332 55.6714 15.6332C55.8837 15.6332 56.181 15.6614 56.3367 15.7037V14.4198C56.2518 14.3915 56.0253 14.3633 55.8554 14.3633C55.2185 14.3633 54.7372 14.6878 54.4824 15.2945H54.4541V14.4056ZM65.7498 16.5644C64.3201 16.5785 63.4567 17.1993 63.4567 18.2293C63.4567 19.2169 64.2352 19.8942 65.3393 19.8942C66.0187 19.8942 66.5708 19.6261 66.9105 19.1323H66.9388C67.0521 19.5273 67.4059 19.7672 67.9155 19.7672H68.5525V18.709H68.4534C68.2269 18.709 68.142 18.6243 68.142 18.4268V16.2963C68.142 15.0406 67.2361 14.2645 65.7923 14.2645C64.858 14.2645 64.1078 14.575 63.6407 15.1534L64.4617 15.9436C64.7589 15.6049 65.1836 15.4215 65.6649 15.4215C66.4009 15.4215 66.7973 15.746 66.7973 16.381V16.5503L65.7498 16.5644ZM66.7973 17.4533V17.7637C66.7973 18.4409 66.316 18.9065 65.5941 18.9065C65.1411 18.9065 64.8156 18.6102 64.8156 18.2011C64.8156 17.7213 65.1978 17.4815 65.9055 17.4674L66.7973 17.4533ZM69.6141 14.4056H70.8739V15.1393H70.9022C71.1712 14.5891 71.6524 14.2787 72.2753 14.2787C72.9688 14.2787 73.4926 14.5891 73.8181 15.1958C74.1437 14.6032 74.7382 14.2787 75.5026 14.2787C76.8332 14.2787 77.4701 15.0123 77.4701 16.522V19.7672H76.1254V16.7478C76.1254 15.873 75.814 15.4497 75.1912 15.4497C74.5542 15.4497 74.2145 15.9153 74.2145 16.7901V19.7672H72.8698V16.7478C72.8698 15.8589 72.5725 15.4497 71.9355 15.4497C71.3127 15.4497 70.9588 15.9295 70.9588 16.7901V19.7672H69.6141V14.4056ZM29.06 5.79894C29.06 4.13404 30.1782 2.99118 31.7778 2.99118C33.3773 2.99118 34.4955 4.13404 34.4955 5.77072C34.4955 5.86597 34.4796 6.00884 34.4657 6.13385C34.461 6.17551 34.4566 6.21518 34.4531 6.25044H30.4189C30.518 6.98413 31.1408 7.46384 31.9335 7.46384C32.528 7.46384 33.0376 7.2522 33.3773 6.85714L34.1983 7.64727C33.7028 8.28219 32.8535 8.62081 31.8768 8.62081C30.2066 8.62081 29.06 7.44973 29.06 5.79894ZM33.1366 5.26279C33.0517 4.55732 32.4997 4.0776 31.7778 4.0776C31.0559 4.0776 30.4897 4.55732 30.4189 5.26279H33.1366ZM36.8736 3.11817H35.6138V8.47972H36.9585V5.50265C36.9585 4.64197 37.3124 4.16226 37.9352 4.16226C38.5722 4.16226 38.8694 4.57143 38.8694 5.46032V8.47972H40.2141V5.50265C40.2141 4.62787 40.568 4.16226 41.1908 4.16226C41.8137 4.16226 42.1251 4.58554 42.1251 5.46032V8.47972H43.4698V5.23457C43.4698 3.72487 42.8328 2.99118 41.5023 2.99118C40.7379 2.99118 40.1434 3.3157 39.8178 3.90829C39.4922 3.30159 38.9685 2.99118 38.2749 2.99118C37.6521 2.99118 37.1708 3.30159 36.9019 3.85185H36.8736V3.11817ZM44.5597 5.79894C44.5597 4.13404 45.678 2.99118 47.2775 2.99118C48.877 2.99118 49.9953 4.13404 49.9953 5.77072C49.9953 5.86596 49.9793 6.00882 49.9654 6.13382C49.9608 6.17548 49.9563 6.21517 49.9528 6.25044H45.9186C46.0177 6.98413 46.6405 7.46384 47.4332 7.46384C48.0277 7.46384 48.5373 7.2522 48.877 6.85714L49.698 7.64727C49.2026 8.28219 48.3533 8.62081 47.3766 8.62081C45.7063 8.62081 44.5597 7.44973 44.5597 5.79894ZM48.6364 5.26279C48.5515 4.55732 47.9994 4.0776 47.2775 4.0776C46.5414 4.0776 45.9894 4.55732 45.9186 5.26279H48.6364ZM53.4916 2.99118C51.892 2.99118 50.7738 4.13404 50.7738 5.79894C50.7738 7.44973 51.9345 8.62081 53.5906 8.62081C54.5673 8.62081 55.4166 8.28219 55.9121 7.64727L55.0911 6.85714C54.7514 7.2522 54.2418 7.46384 53.6473 7.46384C52.8546 7.46384 52.2318 6.98413 52.1327 6.25044H56.1668C56.1704 6.21517 56.1748 6.17548 56.1795 6.13382C56.1934 6.00882 56.2093 5.86596 56.2093 5.77072C56.2093 4.13404 55.0911 2.99118 53.4916 2.99118ZM53.5057 4.0776C54.2276 4.0776 54.7797 4.55732 54.8646 5.26279H52.1468C52.2176 4.55732 52.7555 4.0776 53.5057 4.0776ZM57.3559 3.11817H58.6157V3.85185H58.644C58.8988 3.3157 59.4366 2.99118 60.0736 2.99118C61.4184 2.99118 62.1261 3.7672 62.1261 5.23457V8.47972H60.7814V5.50265C60.7814 4.58554 60.4558 4.16226 59.7622 4.16226C59.0686 4.16226 58.7006 4.64197 58.7006 5.53086V8.47972H57.3559V3.11817ZM63.853 4.2328V6.56085C63.853 7.85891 64.4758 8.52205 65.7356 8.52205C65.9763 8.52205 66.2735 8.49383 66.4434 8.4515V7.32275C66.3301 7.35097 66.1461 7.37919 65.9904 7.37919C65.4808 7.37919 65.2119 7.08289 65.2119 6.56085V4.2328H66.5142V3.11817H65.2119V1.6649H64.0512V2.49735C64.0512 2.94885 63.8813 3.11817 63.4284 3.11817H62.9329V4.2328H63.853ZM67.1653 5.79894C67.1653 4.13404 68.2835 2.99118 69.8831 2.99118C71.4826 2.99118 72.6008 4.13404 72.6008 5.77072C72.6008 5.86584 72.5849 6.00845 72.571 6.13333L72.571 6.13346V6.13353L72.571 6.13369L72.5707 6.136C72.5662 6.17687 72.5618 6.21578 72.5583 6.25044H68.5242C68.6233 6.98413 69.2461 7.46384 70.0388 7.46384C70.6333 7.46384 71.1429 7.2522 71.4826 6.85714L72.3036 7.64727C71.8081 8.28219 70.9588 8.62081 69.9821 8.62081C68.3118 8.62081 67.1653 7.44973 67.1653 5.79894ZM68.5242 5.26279H71.2419C71.157 4.55732 70.605 4.0776 69.8831 4.0776C69.147 4.0776 68.5949 4.55732 68.5242 5.26279ZM4.24626 40.9453L-0.000244141 45.1781L2.83076 48L7.07726 43.7672L11.3238 48L14.1548 45.1781L9.90826 40.9453L14.1548 36.7125L11.3238 33.8907L7.07726 38.1235L2.83076 33.8907L-0.000244141 36.7125L4.24626 40.9453ZM4.24626 24.0141L-0.000244141 28.2469L2.83076 31.0688L7.07726 26.836L11.3238 31.0688L14.1548 28.2469L9.90826 24.0141L14.1548 19.7813L11.3238 16.9594L7.07726 21.1922L2.83076 16.9594L-0.000244141 19.7813L4.24626 24.0141Z",fill:"#E42313"})),O8=()=>null,Ap={AZTEC:"AZTEC",CODE128:"CODE128",PDF417:"PDF417",QR:"QR",EAN13:"EAN13",UPCA:"UPCA"},fp=80,T8=40,hp=100,Oc=44,Xo=({value:t,format:e,width:n})=>{const r=Ir(),i=b.useMemo(()=>{const s=ue.OS==="android"?fp:fp+T8,o=ue.OS==="android"&&e==="CODE128"?Oc/2:void 0,l=ue.OS==="ios"&&e==="QR"?Oc/2:void 0,u=ue.OS==="ios"?hp:hp+Oc;return{heightCode128:s,padding:l,paddingVertical:o,sizeQR:u}},[e]),a=P8(e,i.heightCode128,i.padding,i.paddingVertical,i.sizeQR,n);return X.jsx(ge,{style:a.container,children:X.jsx(O8,{background:r.color.barcode.background,foregroundColor:r.color.barcode.foreground,format:e==="QR"?Ap.QR:Ap.CODE128,style:a.barcode,value:t})})},P8=(t,e,n,r,i,a)=>ve.create({container:{padding:n,paddingVertical:r},barcode:{paddingVertical:0,marginVertical:0,height:t==="QR"?i:e,width:t==="QR"?i:a}});try{Xo.displayName="BarCode",Xo.__docgenInfo={description:"",displayName:"BarCode",props:{format:{defaultValue:null,description:"",name:"format",required:!0,type:{name:"enum",value:[{value:'"QR"'},{value:'"CODE128"'}]}},value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"number"}}}}}catch{}var go=(t=>(t.acknowledgeChild="acknowledgeChild",t.birth="birth",t.cityPassChildBudget="cityPassChildBudget",t.cityPassRequest="cityPassRequest",t.cityPassUsage="cityPassUsage",t.citypass="citypass",t.contactForm="contactForm",t.documents="documents",t.feedbackForm="feedbackForm",t.immigration="immigration",t.income_help="income_help",t.lifelessBirth="lifelessBirth",t.makeAppointMentWeesp="makeAppointMentWeesp",t.marriage="marriage",t.marriagePermission="marriagePermission",t.naturalisation="naturalisation",t.parking="parking",t.parking_visitors="parking_visitors",t.passing="passing",t.passingForFuneralDirectors="passingForFuneralDirectors",t.relocation="relocation",t))(go||{});const fE=312,hE=550,R8=.33;go.citypass,go.cityPassChildBudget,go.cityPassUsage;const pE=t=>Math.min(t*.8,fE),pp=(t,e)=>t?t.replace(new RegExp(`.{1,${e}}`,"g"),"$& ").trim():"",Ra=10,g0=({index:t,isCurrentIndex:e,itemCount:n,cityPass:{firstname:r,infix:i,lastname:a,passNumberComplete:s,dateEndFormatted:o}})=>{const{width:l}=Hv(),u=pE(l),c=_8({isActive:e}),A=ji(d=>F8(d,u));return X.jsx(XA,{hide:!e,style:A.container,children:X.jsx(ge,{style:A.containerInner,children:X.jsx(v0,{accessibilityLabel:`De stadspas van ${r} ${i||""} ${a} kan nu gescand worden. Stadspas ${pp(s,4)}. Geldig tot en met ${o}. Pas ${t+1} van ${n}. Swipe naar links of rechts om door de passen te navigeren.`,accessible:!0,ref:c,style:A.pass,children:X.jsx(XA,{children:X.jsxs(Ti,{grow:1,gutter:"md",children:[X.jsx(ge,{style:A.passHeader,children:X.jsx(jo,{children:X.jsx(D8,{})})}),X.jsx(ge,{style:A.passInner,children:X.jsxs(Ti,{grow:1,gutter:"md",halign:"center",children:[X.jsxs(Gi,{emphasis:"strong",testID:"CityPassCityPassName",children:[r," ",i," ",a]}),X.jsxs(Ti,{halign:"center",children:[X.jsx(Wo,{children:X.jsx(Xo,{format:"CODE128",value:s,width:u})}),X.jsx(ge,{style:A.passNumber,children:X.jsx(Gi,{emphasis:"strong",testID:"CityPassCityPassPassNumber",children:pp(s,4)})})]}),X.jsx(Wo,{children:X.jsx(Xo,{format:"QR",value:s})}),X.jsxs(zx,{textAlign:"center",children:["Geldig tot en met ",o]})]})})]})})})})})},F8=({color:t,size:e},n)=>ve.create({container:{flex:1,justifyContent:"center",alignItems:"center"},containerInner:{overflow:"hidden",borderRadius:Ra},pass:{backgroundColor:t.cityPass.passBackground,width:n,maxHeight:hE,borderRadius:Ra},passHeader:{backgroundColor:t.cityPass.passHeader,borderTopLeftRadius:Ra,borderTopRightRadius:Ra},passInner:{backgroundColor:t.cityPass.passInner,borderRadius:Ra,paddingTop:e.spacing.md,paddingBottom:e.spacing.md},passNumber:{marginTop:-e.spacing.md}});try{g0.displayName="CityPass",g0.__docgenInfo={description:"",displayName:"CityPass",props:{cityPass:{defaultValue:null,description:"",name:"cityPass",required:!0,type:{name:"CityPassPass"}},index:{defaultValue:null,description:"",name:"index",required:!0,type:{name:"number"}},isCurrentIndex:{defaultValue:null,description:"",name:"isCurrentIndex",required:!1,type:{name:"boolean"}},itemCount:{defaultValue:null,description:"",name:"itemCount",required:!0,type:{name:"number"}}}}}catch{}const m0=t=>{const{animValue:e,dotStyle:n,activeDotStyle:r,index:i,count:a,size:s,horizontal:o,children:l,...u}=t,c=10,A={width:s||(n==null?void 0:n.width)||c,height:s||(n==null?void 0:n.height)||c},{width:d}=A,{height:f}=A,p=zn(()=>{const h=o?f:d,v=[i-1,i,i+1],E=[-h,0,h];return{transform:[{translateX:Zt(e==null?void 0:e.value,v,E,Ue.CLAMP)}]}},[e,i,a,o]);return X.jsx(ge,{...u,style:[{width:d,height:f},vp.dot,n],children:X.jsx(Kn,{style:[vp.activeDot,p,r],children:l})})},vp=ve.create({dot:{overflow:"hidden"},activeDot:{backgroundColor:"black",flex:1}});try{m0.displayName="PaginationItem",m0.__docgenInfo={description:"",displayName:"PaginationItem",props:{activeDotStyle:{defaultValue:null,description:"",name:"activeDotStyle",required:!1,type:{name:"DotStyle"}},animValue:{defaultValue:null,description:"",name:"animValue",required:!0,type:{name:"SharedValue<number>"}},count:{defaultValue:null,description:"",name:"count",required:!0,type:{name:"number"}},dotStyle:{defaultValue:null,description:"",name:"dotStyle",required:!1,type:{name:"DotStyle"}},horizontal:{defaultValue:null,description:"",name:"horizontal",required:!1,type:{name:"boolean"}},index:{defaultValue:null,description:"",name:"index",required:!0,type:{name:"number"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"number"}}}}}catch{}const C0=t=>{const{activeDotStyle:e,currentIndex:n,dotStyle:r,progress:i,horizontal:a=!0,data:s,size:o,containerStyle:l,renderItem:u,onPress:c}=t;if(typeof o=="string"||typeof(r==null?void 0:r.width)=="string"||typeof(r==null?void 0:r.height)=="string")throw new Error("size/width/height must be a number");return X.jsx(ge,{style:[M8.container,l],children:s.map((A,d)=>X.jsx(xA,{hitSlop:5,onPress:()=>c==null?void 0:c(d),children:X.jsx(m0,{accessibilityLabel:n===d?`Huidige slide, ${d+1}`:`Ga naar slide ${d+1}`,activeDotStyle:e,animValue:i,count:s.length,dotStyle:r,horizontal:!a,index:d,size:o,children:u==null?void 0:u(A,d)})},d))})},M8=ve.create({container:{justifyContent:"space-between",alignSelf:"center",flexDirection:"row"}});try{C0.displayName="Basic",C0.__docgenInfo={description:"",displayName:"Basic",props:{activeDotStyle:{defaultValue:null,description:"",name:"activeDotStyle",required:!1,type:{name:"DotStyle"}},containerStyle:{defaultValue:null,description:"",name:"containerStyle",required:!1,type:{name:"StyleProp<ViewStyle>"}},currentIndex:{defaultValue:null,description:"",name:"currentIndex",required:!1,type:{name:"number"}},data:{defaultValue:null,description:"",name:"data",required:!0,type:{name:"T[]"}},dotStyle:{defaultValue:null,description:"",name:"dotStyle",required:!1,type:{name:"DotStyle"}},horizontal:{defaultValue:null,description:"",name:"horizontal",required:!1,type:{name:"boolean"}},onPress:{defaultValue:null,description:"",name:"onPress",required:!1,type:{name:"((index: number) => void)"}},progress:{defaultValue:null,description:"",name:"progress",required:!0,type:{name:"SharedValue<number>"}},renderItem:{defaultValue:null,description:"",name:"renderItem",required:!1,type:{name:"((item: T, index: number) => ReactNode)"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"number"}}}}}catch{}const k8=(t,e,n)=>(t-e)*.5*(1+n),gp=50,B8=()=>{const e=ji(N8),n=Um(),{width:r}=Hv(),i=b.useRef(null),[a,s]=b.useState(0),o=Bt(ZO),l=ct(0),u=A=>{var d;(d=i.current)==null||d.scrollTo({count:A-l.value,animated:!0})},c=pE(r);return X.jsxs(ge,{style:e.container,children:[X.jsx(b8,{data:n,defaultIndex:o,loop:!1,mode:"parallax",modeConfig:{parallaxScrollingScale:1,parallaxScrollingOffset:k8(r,c,R8),parallaxAdjacentItemScale:1},onProgressChange:(A,d)=>{s(Math.round(d)),l.value=d<0?0:d},pagingEnabled:!0,ref:i,renderItem:({item:A,index:d})=>X.jsx(g0,{cityPass:A,index:d,isCurrentIndex:a===d,itemCount:n.length}),snapEnabled:!0,style:{width:r},vertical:!1,width:r}),X.jsx(ge,{style:e.paginationContainer,children:X.jsx(C0,{activeDotStyle:e.paginationItemActive,containerStyle:e.pagination,currentIndex:a,data:n,dotStyle:e.paginationItem,onPress:u,progress:l})})]})},N8=({color:t,size:e})=>ve.create({container:{flexBasis:hE+gp},paginationContainer:{height:gp,justifyContent:"flex-end"},pagination:{borderRadius:25,backgroundColor:t.pagination.container.background,alignItems:"center",paddingHorizontal:e.spacing.sm,paddingVertical:12},paginationItem:{width:e.spacing.sm,height:e.spacing.sm,marginHorizontal:e.spacing.xs,backgroundColor:t.pagination.item.inactive,borderRadius:e.spacing.sm},paginationItemActive:{backgroundColor:t.pagination.item.active}}),vE=()=>{const t=xn(),e=Bt(QO),{color:n}=Ir();b.useEffect(()=>(e&&c2(vt.PORTRAIT_UP),()=>{d2()}),[e]);const r=b.useCallback(()=>{const i="Dit scherm staat geen schermafdrukken toe";qx.alert(i),jx.announceForAccessibilityWithOptions(i,{queue:!0})},[]);return S2({enabled:e,onScreenshot:r}),b2({enabled:e}),e?X.jsx(Kd,{backgroundColor:n.cityPass.overlay,closeButtonContainerWidth:fE,onClose:()=>{t(qO())},children:X.jsx(B8,{})}):null};vE.renderBeforeServerModules=!0;var gE=(t=>(t.budget="Budget",t.cityPassDetails="CityPassDetails",t.cityPassLogout="CityPassLogout",t.dashboard="Dashboard",t.securityCode="SecurityCode",t))(gE||{});const G8={linking:{[gE.dashboard]:"stadspas/:loginResult/:accessToken?/:refreshToken?"},logDimension:Jt.cityPassModule,name:"CityPassModule",HeaderComponent:JO,PreRenderComponent:vE,reduxConfigs:[{key:ie.cityPass,slice:Wm,persistVersion:0,persistWhitelist:["isCityPassOwnerRegistered"]}],slug:nt["city-pass"]};var L8=function(t,...e){const n=[],{isArray:r}=Array;e.forEach((s,o)=>{if(typeof s=="number")e[o]=[s,s];else if(r(s))if(typeof s[0]=="number")e[o]=[s[0],typeof s[1]=="function"?s[1](s[0]):null];else throw TypeError("First item in array must be a Number")});let i=e.find(r),a;for(let s of t){if(r(a)&&a[1]==null&&(s=s.replace(/^\s+/,"")),i?n.push(s.replace(/\[([^|]*)\|([^\]]*)\]/g,i[0]==1?"$1":"$2")):n.push(s),!e.length)break;i=e.find(r)||i,a=e.shift(),n.push(a===i?i[1]:a)}return n.join("")};const V8=En(L8),mE=Bv?60:3,H8=({id:t,type:e})=>`${e}${t}`,U8=(t,e)=>{if(!e||e.length===0)return 0;const n=e.map(({meta_id:i})=>H8(i)),r=t.map(({id:i})=>i);return n.filter(i=>!r.includes(i)).length},W8=(t,e)=>b.useMemo(()=>U8(t,e),[t,e]);var pt=(t=>(t.articles="articles",t.projectDetails="projectDetails",t.projectFollow="projectFollow",t.projectNews="projectNews",t.projectUnfollow="projectUnfollow",t.projectWarning="projectWarning",t.projects="projects",t.projectsFollowedArticles="projectsFollowedArticles",t.projectsSearch="projectsSearch",t))(pt||{});const X8=t=>({...t,fields:t.fields.join(","),query_fields:t.query_fields.join(",")}),Y8=t=>{var e;return t.timeline?{...t,timeline:{...t.timeline,items:((e=t.timeline.items)==null?void 0:e.map(n=>({...n,progress:"Huidig"})))??null}}:t};var zi=function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(u){return function(c){return l([u,c])}}function l(u){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,i=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1],a=u;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(u);break}a[2]&&n.ops.pop(),n.trys.pop();continue}u=e.call(t,n)}catch(c){u=[6,c],i=0}finally{r=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Yo=function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t},z8=Object.defineProperty,K8=Object.defineProperties,$8=Object.getOwnPropertyDescriptors,zo=Object.getOwnPropertySymbols,CE=Object.prototype.hasOwnProperty,EE=Object.prototype.propertyIsEnumerable,mp=function(t,e,n){return e in t?z8(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n},Re=function(t,e){for(var n in e||(e={}))CE.call(e,n)&&mp(t,n,e[n]);if(zo)for(var r=0,i=zo(e);r<i.length;r++){var n=i[r];EE.call(e,n)&&mp(t,n,e[n])}return t},pn=function(t,e){return K8(t,$8(e))},Cp=function(t,e){var n={};for(var r in t)CE.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&zo)for(var i=0,a=zo(t);i<a.length;i++){var r=a[i];e.indexOf(r)<0&&EE.call(t,r)&&(n[r]=t[r])}return n},Ki=function(t,e,n){return new Promise(function(r,i){var a=function(l){try{o(n.next(l))}catch(u){i(u)}},s=function(l){try{o(n.throw(l))}catch(u){i(u)}},o=function(l){return l.done?r(l.value):Promise.resolve(l.value).then(a,s)};o((n=n.apply(t,e)).next())})},Pe;(function(t){t.uninitialized="uninitialized",t.pending="pending",t.fulfilled="fulfilled",t.rejected="rejected"})(Pe||(Pe={}));function q8(t){return{status:t,isUninitialized:t===Pe.uninitialized,isLoading:t===Pe.pending,isSuccess:t===Pe.fulfilled,isError:t===Pe.rejected}}function j8(t){return new RegExp("(^|:)//").test(t)}var Q8=function(t){return t.replace(/\/$/,"")},Z8=function(t){return t.replace(/^\//,"")};function J8(t,e){if(!t)return e;if(!e)return t;if(j8(e))return e;var n=t.endsWith("/")||!e.startsWith("?")?"/":"";return t=Q8(t),e=Z8(e),""+t+n+e}var Ep=function(t){return[].concat.apply([],t)};function e3(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}function t3(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}var xp=Jr;function xE(t,e){if(t===e||!(xp(t)&&xp(e)||Array.isArray(t)&&Array.isArray(e)))return e;for(var n=Object.keys(e),r=Object.keys(t),i=n.length===r.length,a=Array.isArray(e)?[]:{},s=0,o=n;s<o.length;s++){var l=o[s];a[l]=xE(t[l],e[l]),i&&(i=t[l]===a[l])}return i?t:a}var yp=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return fetch.apply(void 0,t)},n3=function(t){return t.status>=200&&t.status<=299},r3=function(t){return/ion\/(vnd\.api\+)?json/.test(t.get("content-type")||"")};function Ip(t){if(!Jr(t))return t;for(var e=Re({},t),n=0,r=Object.entries(e);n<r.length;n++){var i=r[n],a=i[0],s=i[1];s===void 0&&delete e[a]}return e}function i3(t){var e=this;t===void 0&&(t={});var n=t,r=n.baseUrl,i=n.prepareHeaders,a=i===void 0?function(m){return m}:i,s=n.fetchFn,o=s===void 0?yp:s,l=n.paramsSerializer,u=n.isJsonContentType,c=u===void 0?r3:u,A=n.jsonContentType,d=A===void 0?"application/json":A,f=n.jsonReplacer,p=n.timeout,h=n.responseHandler,v=n.validateStatus,E=Cp(n,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return typeof fetch>"u"&&o===yp&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),function(m,g){return Ki(e,null,function(){var y,x,w,S,D,I,_,O,T,R,P,F,H,k,V,W,B,G,N,M,U,z,K,Y,ee,te,re,Q,ae,Ie,we,Ce,Ee,Se,Ge,Ze;return zi(this,function(ne){switch(ne.label){case 0:return y=g.signal,x=g.getState,w=g.extra,S=g.endpoint,D=g.forced,I=g.type,O=typeof m=="string"?{url:m}:m,T=O.url,R=O.headers,P=R===void 0?new Headers(E.headers):R,F=O.params,H=F===void 0?void 0:F,k=O.responseHandler,V=k===void 0?h??"json":k,W=O.validateStatus,B=W===void 0?v??n3:W,G=O.timeout,N=G===void 0?p:G,M=Cp(O,["url","headers","params","responseHandler","validateStatus","timeout"]),U=Re(pn(Re({},E),{signal:y}),M),P=new Headers(Ip(P)),z=U,[4,a(P,{getState:x,extra:w,endpoint:S,forced:D,type:I})];case 1:z.headers=ne.sent()||P,K=function(le){return typeof le=="object"&&(Jr(le)||Array.isArray(le)||typeof le.toJSON=="function")},!U.headers.has("content-type")&&K(U.body)&&U.headers.set("content-type",d),K(U.body)&&c(U.headers)&&(U.body=JSON.stringify(U.body,f)),H&&(Y=~T.indexOf("?")?"&":"?",ee=l?l(H):new URLSearchParams(Ip(H)),T+=Y+ee),T=J8(r,T),te=new Request(T,U),re=new Request(T,U),_={request:re},ae=!1,Ie=N&&setTimeout(function(){ae=!0,g.abort()},N),ne.label=2;case 2:return ne.trys.push([2,4,5,6]),[4,o(te)];case 3:return Q=ne.sent(),[3,6];case 4:return we=ne.sent(),[2,{error:{status:ae?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(we)},meta:_}];case 5:return Ie&&clearTimeout(Ie),[7];case 6:Ce=Q.clone(),_.response=Ce,Se="",ne.label=7;case 7:return ne.trys.push([7,9,,10]),[4,Promise.all([C(Q,V).then(function(le){return Ee=le},function(le){return Ge=le}),Ce.text().then(function(le){return Se=le},function(){})])];case 8:if(ne.sent(),Ge)throw Ge;return[3,10];case 9:return Ze=ne.sent(),[2,{error:{status:"PARSING_ERROR",originalStatus:Q.status,data:Se,error:String(Ze)},meta:_}];case 10:return[2,B(Q,Ee)?{data:Ee,meta:_}:{error:{status:Q.status,data:Ee},meta:_}]}})})};function C(m,g){return Ki(this,null,function(){var y;return zi(this,function(x){switch(x.label){case 0:return typeof g=="function"?[2,g(m)]:(g==="content-type"&&(g=c(m.headers)?"json":"text"),g!=="json"?[3,2]:[4,m.text()]);case 1:return y=x.sent(),[2,y.length?JSON.parse(y):null];case 2:return[2,m.text()]}})})}}var Bi=function(){function t(e,n){n===void 0&&(n=void 0),this.value=e,this.meta=n}return t}();function a3(t,e){return t===void 0&&(t=0),e===void 0&&(e=5),Ki(this,null,function(){var n,r;return zi(this,function(i){switch(i.label){case 0:return n=Math.min(t,e),r=~~((Math.random()+.4)*(300<<n)),[4,new Promise(function(a){return setTimeout(function(s){return a(s)},r)})];case 1:return i.sent(),[2]}})})}function s3(t){throw Object.assign(new Bi({error:t}),{throwImmediately:!0})}var wp={},o3=function(t,e){return function(n,r,i){return Ki(void 0,null,function(){var a,s,o,l,u,c,A;return zi(this,function(d){switch(d.label){case 0:a=[5,(e||wp).maxRetries,(i||wp).maxRetries].filter(function(f){return f!==void 0}),s=a.slice(-1)[0],o=function(f,p,h){var v=h.attempt;return v<=s},l=Re(Re({maxRetries:s,backoff:a3,retryCondition:o},e),i),u=0,d.label=1;case 1:d.label=2;case 2:return d.trys.push([2,4,,6]),[4,t(n,r,i)];case 3:if(c=d.sent(),c.error)throw new Bi(c);return[2,c];case 4:if(A=d.sent(),u++,A.throwImmediately){if(A instanceof Bi)return[2,A.value];throw A}return A instanceof Bi&&!l.retryCondition(A.value.error,n,{attempt:u,baseQueryApi:r,extraOptions:i})?[2,A.value]:[4,l.backoff(u,l.maxRetries)];case 5:return d.sent(),[3,6];case 6:return[3,1];case 7:return[2]}})})}},Tc=Object.assign(o3,{fail:s3}),SA=Qi("__rtkq/focused"),yE=Qi("__rtkq/unfocused"),bA=Qi("__rtkq/online"),IE=Qi("__rtkq/offline"),Cn;(function(t){t.query="query",t.mutation="mutation"})(Cn||(Cn={}));function wE(t){return t.type===Cn.query}function l3(t){return t.type===Cn.mutation}function _A(t,e,n,r,i,a){return u3(t)?t(e,n,r,i).map(E0).map(a):Array.isArray(t)?t.map(E0).map(a):[]}function u3(t){return typeof t=="function"}function E0(t){return typeof t=="string"?{type:t}:t}function Pc(t){return t!=null}var os=Symbol("forceQueryFn"),x0=function(t){return typeof t[os]=="function"};function c3(t){var e=t.serializeQueryArgs,n=t.queryThunk,r=t.mutationThunk,i=t.api,a=t.context,s=new Map,o=new Map,l=i.internalActions,u=l.unsubscribeQueryResult,c=l.removeMutationResult,A=l.updateSubscriptionOptions;return{buildInitiateQuery:C,buildInitiateMutation:m,getRunningQueryThunk:p,getRunningMutationThunk:h,getRunningQueriesThunk:v,getRunningMutationsThunk:E,getRunningOperationPromises:f,removalWarning:d};function d(){throw new Error(`This method had to be removed due to a conceptual bug in RTK. Please see https://github.com/reduxjs/redux-toolkit/pull/2481 for details. - See https://redux-toolkit.js.org/rtk-query/usage/server-side-rendering for new guidance on SSR.`)}function f(){typeof process<"u";var g=function(y){return Array.from(y.values()).flatMap(function(x){return x?Object.values(x):[]})};return Xo(Xo([],g(s)),g(o)).filter(Tc)}function p(g,y){return function(x){var w,S=a.endpointDefinitions[g],D=e({queryArgs:y,endpointDefinition:S,endpointName:g});return(w=s.get(x))==null?void 0:w[D]}}function h(g,y){return function(x){var w;return(w=o.get(x))==null?void 0:w[y]}}function v(){return function(g){return Object.values(s.get(g)||{}).filter(Tc)}}function E(){return function(g){return Object.values(o.get(g)||{}).filter(Tc)}}function C(g,y){var x=function(w,S){var D=S===void 0?{}:S,I=D.subscribe,_=I===void 0?!0:I,O=D.forceRefetch,T=D.subscriptionOptions,R=os,P=D[R];return function(F,H){var M,V,W=e({queryArgs:w,endpointDefinition:y,endpointName:g}),B=n((M={type:"query",subscribe:_,forceRefetch:O,subscriptionOptions:T,endpointName:g,originalArgs:w,queryCacheKey:W},M[os]=P,M)),G=i.endpoints[g].select(w),N=F(B),k=G(H()),U=N.requestId,z=N.abort,K=k.requestId!==U,Y=(V=s.get(F))==null?void 0:V[W],ee=function(){return G(H())},te=Object.assign(P?N.then(ee):K&&!Y?Promise.resolve(k):Promise.all([Y,N]).then(ee),{arg:w,requestId:U,subscriptionOptions:T,queryCacheKey:W,abort:z,unwrap:function(){return Ki(this,null,function(){var Q;return zi(this,function(ae){switch(ae.label){case 0:return[4,te];case 1:if(Q=ae.sent(),Q.isError)throw Q.error;return[2,Q.data]}})})},refetch:function(){return F(x(w,{subscribe:!1,forceRefetch:!0}))},unsubscribe:function(){_&&F(u({queryCacheKey:W,requestId:U}))},updateSubscriptionOptions:function(Q){te.subscriptionOptions=Q,F(A({endpointName:g,requestId:U,queryCacheKey:W,options:Q}))}});if(!Y&&!K&&!P){var re=s.get(F)||{};re[W]=te,s.set(F,re),te.then(function(){delete re[W],Object.keys(re).length||s.delete(F)})}return te}};return x}function m(g){return function(y,x){var w=x===void 0?{}:x,S=w.track,D=S===void 0?!0:S,I=w.fixedCacheKey;return function(_,O){var T=r({type:"mutation",endpointName:g,originalArgs:y,track:D,fixedCacheKey:I}),R=_(T),P=R.requestId,F=R.abort,H=R.unwrap,M=R.unwrap().then(function(G){return{data:G}}).catch(function(G){return{error:G}}),V=function(){_(c({requestId:P,fixedCacheKey:I}))},W=Object.assign(M,{arg:R.arg,requestId:P,abort:F,unwrap:H,unsubscribe:V,reset:V}),B=o.get(_)||{};return o.set(_,B),B[P]=W,W.then(function(){delete B[P],Object.keys(B).length||o.delete(_)}),I&&(B[I]=W,W.then(function(){B[I]===W&&(delete B[I],Object.keys(B).length||o.delete(_))})),W}}}}function yp(t){return t}function r3(t){var e=this,n=t.reducerPath,r=t.baseQuery,i=t.context.endpointDefinitions,a=t.serializeQueryArgs,s=t.api,o=t.assertTagType,l=function(g,y,x,w){return function(S,D){var I=i[g],_=a({queryArgs:y,endpointDefinition:I,endpointName:g});if(S(s.internalActions.queryResultPatched({queryCacheKey:_,patches:x})),!!w){var O=s.endpoints[g].select(y)(D()),T=SA(I.providesTags,O.data,void 0,y,{},o);S(s.internalActions.updateProvidedBy({queryCacheKey:_,providedTags:T}))}}},u=function(g,y,x,w){return w===void 0&&(w=!0),function(S,D){var I,_,O=s.endpoints[g],T=O.select(y)(D()),R={patches:[],inversePatches:[],undo:function(){return S(s.util.patchQueryData(g,y,R.inversePatches,w))}};if(T.status===Pe.uninitialized)return R;var P;if("data"in T)if(rx(T.data)){var F=wv(T.data,x),H=F[0],M=F[1],V=F[2];(I=R.patches).push.apply(I,M),(_=R.inversePatches).push.apply(_,V),P=H}else P=x(T.data),R.patches.push({op:"replace",path:[],value:P}),R.inversePatches.push({op:"replace",path:[],value:T.data});return S(s.util.patchQueryData(g,y,R.patches,w)),R}},c=function(g,y,x){return function(w){var S;return w(s.endpoints[g].initiate(y,(S={subscribe:!1,forceRefetch:!0},S[os]=function(){return{data:x}},S)))}},A=function(g,y){return Ki(e,[g,y],function(x,w){var S,D,I,_,O,T,R,P,F,H,M,V,W,B,G,N,k,U,z=w.signal,K=w.abort,Y=w.rejectWithValue,ee=w.fulfillWithValue,te=w.dispatch,re=w.getState,Q=w.extra;return zi(this,function(ae){switch(ae.label){case 0:S=i[x.endpointName],ae.label=1;case 1:return ae.trys.push([1,8,,13]),D=yp,I=void 0,_={signal:z,abort:K,dispatch:te,getState:re,extra:Q,endpoint:x.endpointName,type:x.type,forced:x.type==="query"?d(x,re()):void 0},O=x.type==="query"?x[os]:void 0,O?(I=O(),[3,6]):[3,2];case 2:return S.query?[4,r(S.query(x.originalArgs),_,S.extraOptions)]:[3,4];case 3:return I=ae.sent(),S.transformResponse&&(D=S.transformResponse),[3,6];case 4:return[4,S.queryFn(x.originalArgs,_,S.extraOptions,function(Ie){return r(Ie,_,S.extraOptions)})];case 5:I=ae.sent(),ae.label=6;case 6:if(typeof process<"u",I.error)throw new Bi(I.error,I.meta);return M=ee,[4,D(I.data,I.meta,x.originalArgs)];case 7:return[2,M.apply(void 0,[ae.sent(),(k={fulfilledTimeStamp:Date.now(),baseQueryMeta:I.meta},k[Es]=!0,k)])];case 8:if(V=ae.sent(),W=V,!(W instanceof Bi))return[3,12];B=yp,S.query&&S.transformErrorResponse&&(B=S.transformErrorResponse),ae.label=9;case 9:return ae.trys.push([9,11,,12]),G=Y,[4,B(W.value,W.meta,x.originalArgs)];case 10:return[2,G.apply(void 0,[ae.sent(),(U={baseQueryMeta:W.meta},U[Es]=!0,U)])];case 11:return N=ae.sent(),W=N,[3,12];case 12:throw typeof process<"u",console.error(W),W;case 13:return[2]}})})};function d(g,y){var x,w,S,D,I=(w=(x=y[n])==null?void 0:x.queries)==null?void 0:w[g.queryCacheKey],_=(S=y[n])==null?void 0:S.config.refetchOnMountOrArgChange,O=I==null?void 0:I.fulfilledTimeStamp,T=(D=g.forceRefetch)!=null?D:g.subscribe&&_;return T?T===!0||(Number(new Date)-Number(O))/1e3>=T:!1}var f=RA(n+"/executeQuery",A,{getPendingMeta:function(){var g;return g={startedTimeStamp:Date.now()},g[Es]=!0,g},condition:function(g,y){var x=y.getState,w,S,D,I=x(),_=(S=(w=I[n])==null?void 0:w.queries)==null?void 0:S[g.queryCacheKey],O=_==null?void 0:_.fulfilledTimeStamp,T=g.originalArgs,R=_==null?void 0:_.originalArgs,P=i[g.endpointName];return C0(g)?!0:(_==null?void 0:_.status)==="pending"?!1:d(g,I)||yE(P)&&((D=P==null?void 0:P.forceRefetch)!=null&&D.call(P,{currentArg:T,previousArg:R,endpointState:_,state:I}))?!0:!O},dispatchConditionRejection:!0}),p=RA(n+"/executeMutation",A,{getPendingMeta:function(){var g;return g={startedTimeStamp:Date.now()},g[Es]=!0,g}}),h=function(g){return"force"in g},v=function(g){return"ifOlderThan"in g},E=function(g,y,x){return function(w,S){var D=h(x)&&x.force,I=v(x)&&x.ifOlderThan,_=function(P){return P===void 0&&(P=!0),s.endpoints[g].initiate(y,{forceRefetch:P})},O=s.endpoints[g].select(y)(S());if(D)w(_());else if(I){var T=O==null?void 0:O.fulfilledTimeStamp;if(!T){w(_());return}var R=(Number(new Date)-Number(new Date(T)))/1e3>=I;R&&w(_())}else w(_(!1))}};function C(g){return function(y){var x,w;return((w=(x=y==null?void 0:y.meta)==null?void 0:x.arg)==null?void 0:w.endpointName)===g}}function m(g,y){return{matchPending:ku(Sv(g),C(y)),matchFulfilled:ku(Zi(g),C(y)),matchRejected:ku(bv(g),C(y))}}return{queryThunk:f,mutationThunk:p,prefetch:E,updateQueryData:u,upsertQueryData:c,patchQueryData:l,buildMatchThunkActions:m}}function IE(t,e,n,r){return SA(n[t.meta.arg.endpointName][e],Zi(t)?t.payload:void 0,$o(t)?t.payload:void 0,t.meta.arg.originalArgs,"baseQueryMeta"in t.meta?t.meta.baseQueryMeta:void 0,r)}function ro(t,e,n){var r=t[e];r&&n(r)}function ls(t){var e;return(e="arg"in t?t.arg.fixedCacheKey:t.fixedCacheKey)!=null?e:t.requestId}function Ip(t,e,n){var r=t[ls(e)];r&&n(r)}var Fa={};function i3(t){var e=t.reducerPath,n=t.queryThunk,r=t.mutationThunk,i=t.context,a=i.endpointDefinitions,s=i.apiUid,o=i.extractRehydrationInfo,l=i.hasRehydrationInfo,u=t.assertTagType,c=t.config,A=Qi(e+"/resetApiState"),d=De({name:e+"/queries",initialState:Fa,reducers:{removeQueryResult:{reducer:function(y,x){var w=x.payload.queryCacheKey;delete y[w]},prepare:ua()},queryResultPatched:{reducer:function(y,x){var w=x.payload,S=w.queryCacheKey,D=w.patches;ro(y,S,function(I){I.data=FA(I.data,D.concat())})},prepare:ua()}},extraReducers:function(y){y.addCase(n.pending,function(x,w){var S=w.meta,D=w.meta.arg,I,_,O=C0(D);(D.subscribe||O)&&((_=x[I=D.queryCacheKey])!=null||(x[I]={status:Pe.uninitialized,endpointName:D.endpointName})),ro(x,D.queryCacheKey,function(T){T.status=Pe.pending,T.requestId=O&&T.requestId?T.requestId:S.requestId,D.originalArgs!==void 0&&(T.originalArgs=D.originalArgs),T.startedTimeStamp=S.startedTimeStamp})}).addCase(n.fulfilled,function(x,w){var S=w.meta,D=w.payload;ro(x,S.arg.queryCacheKey,function(I){var _;if(!(I.requestId!==S.requestId&&!C0(S.arg))){var O=a[S.arg.endpointName].merge;if(I.status=Pe.fulfilled,O)if(I.data!==void 0){var T=S.fulfilledTimeStamp,R=S.arg,P=S.baseQueryMeta,F=S.requestId,H=I0(I.data,function(M){return O(M,D,{arg:R.originalArgs,baseQueryMeta:P,fulfilledTimeStamp:T,requestId:F})});I.data=H}else I.data=D;else I.data=(_=a[S.arg.endpointName].structuralSharing)==null||_?CE(ix(I.data)?ax(I.data):I.data,D):D;delete I.error,I.fulfilledTimeStamp=S.fulfilledTimeStamp}})}).addCase(n.rejected,function(x,w){var S=w.meta,D=S.condition,I=S.arg,_=S.requestId,O=w.error,T=w.payload;ro(x,I.queryCacheKey,function(R){if(!D){if(R.requestId!==_)return;R.status=Pe.rejected,R.error=T??O}})}).addMatcher(l,function(x,w){for(var S=o(w).queries,D=0,I=Object.entries(S);D<I.length;D++){var _=I[D],O=_[0],T=_[1];((T==null?void 0:T.status)===Pe.fulfilled||(T==null?void 0:T.status)===Pe.rejected)&&(x[O]=T)}})}}),f=De({name:e+"/mutations",initialState:Fa,reducers:{removeMutationResult:{reducer:function(y,x){var w=x.payload,S=ls(w);S in y&&delete y[S]},prepare:ua()}},extraReducers:function(y){y.addCase(r.pending,function(x,w){var S=w.meta,D=w.meta,I=D.requestId,_=D.arg,O=D.startedTimeStamp;_.track&&(x[ls(S)]={requestId:I,status:Pe.pending,endpointName:_.endpointName,startedTimeStamp:O})}).addCase(r.fulfilled,function(x,w){var S=w.payload,D=w.meta;D.arg.track&&Ip(x,D,function(I){I.requestId===D.requestId&&(I.status=Pe.fulfilled,I.data=S,I.fulfilledTimeStamp=D.fulfilledTimeStamp)})}).addCase(r.rejected,function(x,w){var S=w.payload,D=w.error,I=w.meta;I.arg.track&&Ip(x,I,function(_){_.requestId===I.requestId&&(_.status=Pe.rejected,_.error=S??D)})}).addMatcher(l,function(x,w){for(var S=o(w).mutations,D=0,I=Object.entries(S);D<I.length;D++){var _=I[D],O=_[0],T=_[1];((T==null?void 0:T.status)===Pe.fulfilled||(T==null?void 0:T.status)===Pe.rejected)&&O!==(T==null?void 0:T.requestId)&&(x[O]=T)}})}}),p=De({name:e+"/invalidation",initialState:Fa,reducers:{updateProvidedBy:{reducer:function(y,x){for(var w,S,D,I,_=x.payload,O=_.queryCacheKey,T=_.providedTags,R=0,P=Object.values(y);R<P.length;R++)for(var F=P[R],H=0,M=Object.values(F);H<M.length;H++){var V=M[H],W=V.indexOf(O);W!==-1&&V.splice(W,1)}for(var B=0,G=T;B<G.length;B++){var N=G[B],k=N.type,U=N.id,z=(I=(S=(w=y[k])!=null?w:y[k]={})[D=U||"__internal_without_id"])!=null?I:S[D]=[],K=z.includes(O);K||z.push(O)}},prepare:ua()}},extraReducers:function(y){y.addCase(d.actions.removeQueryResult,function(x,w){for(var S=w.payload.queryCacheKey,D=0,I=Object.values(x);D<I.length;D++)for(var _=I[D],O=0,T=Object.values(_);O<T.length;O++){var R=T[O],P=R.indexOf(S);P!==-1&&R.splice(P,1)}}).addMatcher(l,function(x,w){for(var S,D,I,_,O=o(w).provided,T=0,R=Object.entries(O);T<R.length;T++)for(var P=R[T],F=P[0],H=P[1],M=0,V=Object.entries(H);M<V.length;M++)for(var W=V[M],B=W[0],G=W[1],N=(_=(D=(S=x[F])!=null?S:x[F]={})[I=B||"__internal_without_id"])!=null?_:D[I]=[],k=0,U=G;k<U.length;k++){var z=U[k],K=N.includes(z);K||N.push(z)}}).addMatcher(yv(Zi(n),$o(n)),function(x,w){var S=IE(w,"providesTags",a,u),D=w.meta.arg.queryCacheKey;p.caseReducers.updateProvidedBy(x,p.actions.updateProvidedBy({queryCacheKey:D,providedTags:S}))})}}),h=De({name:e+"/subscriptions",initialState:Fa,reducers:{updateSubscriptionOptions:function(y,x){},unsubscribeQueryResult:function(y,x){},internal_probeSubscription:function(y,x){}}}),v=De({name:e+"/internalSubscriptions",initialState:Fa,reducers:{subscriptionsUpdated:{reducer:function(y,x){return FA(y,x.payload)},prepare:ua()}}}),E=De({name:e+"/config",initialState:Re({online:z8(),focused:K8(),middlewareRegistered:!1},c),reducers:{middlewareRegistered:function(y,x){var w=x.payload;y.middlewareRegistered=y.middlewareRegistered==="conflict"||s!==w?"conflict":!0}},extraReducers:function(y){y.addCase(wA,function(x){x.online=!0}).addCase(xE,function(x){x.online=!1}).addCase(IA,function(x){x.focused=!0}).addCase(EE,function(x){x.focused=!1}).addMatcher(l,function(x){return Re({},x)})}}),C=Iv({queries:d.reducer,mutations:f.reducer,provided:p.reducer,subscriptions:v.reducer,config:E.reducer}),m=function(y,x){return C(A.match(x)?void 0:y,x)},g=pn(Re(Re(Re(Re(Re(Re({},E.actions),d.actions),h.actions),v.actions),f.actions),p.actions),{unsubscribeMutationResult:f.actions.removeMutationResult,resetApiState:A});return{reducer:m,actions:g}}var Kr=Symbol.for("RTKQ/skipToken"),wE={status:Pe.uninitialized},wp=I0(wE,function(){}),Sp=I0(wE,function(){});function a3(t){var e=t.serializeQueryArgs,n=t.reducerPath,r=function(c){return wp},i=function(c){return Sp};return{buildQuerySelector:o,buildMutationSelector:l,selectInvalidatedBy:u};function a(c){return Re(Re({},c),H8(c.status))}function s(c){var A=c[n];return A}function o(c,A){return function(d){var f=e({queryArgs:d,endpointDefinition:A,endpointName:c}),p=function(v){var E,C,m;return(m=(C=(E=s(v))==null?void 0:E.queries)==null?void 0:C[f])!=null?m:wp},h=d===Kr?r:p;return $r(h,a)}}function l(){return function(c){var A,d;typeof c=="object"?d=(A=ls(c))!=null?A:Kr:d=c;var f=function(h){var v,E,C;return(C=(E=(v=s(h))==null?void 0:v.mutations)==null?void 0:E[d])!=null?C:Sp},p=d===Kr?i:f;return $r(p,a)}}function u(c,A){for(var d,f=c[n],p=new Set,h=0,v=A.map(m0);h<v.length;h++){var E=v[h],C=f.provided[E.type];if(C)for(var m=(d=E.id!==void 0?C[E.id]:gp(Object.values(C)))!=null?d:[],g=0,y=m;g<y.length;g++){var x=y[g];p.add(x)}}return gp(Array.from(p.values()).map(function(w){var S=f.queries[w];return S?[{queryCacheKey:w,endpointName:S.endpointName,originalArgs:S.originalArgs}]:[]}))}}var io=WeakMap?new WeakMap:void 0,bp=function(t){var e=t.endpointName,n=t.queryArgs,r="",i=io==null?void 0:io.get(n);if(typeof i=="string")r=i;else{var a=JSON.stringify(n,function(s,o){return Jr(o)?Object.keys(o).sort().reduce(function(l,u){return l[u]=o[u],l},{}):o});Jr(n)&&(io==null||io.set(n,a)),r=a}return e+"("+r+")"};function s3(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(r){var i=Cd(function(c){var A,d;return(d=r.extractRehydrationInfo)==null?void 0:d.call(r,c,{reducerPath:(A=r.reducerPath)!=null?A:"api"})}),a=pn(Re({reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1},r),{extractRehydrationInfo:i,serializeQueryArgs:function(c){var A=bp;if("serializeQueryArgs"in c.endpointDefinition){var d=c.endpointDefinition.serializeQueryArgs;A=function(f){var p=d(f);return typeof p=="string"?p:bp(pn(Re({},f),{queryArgs:p}))}}else r.serializeQueryArgs&&(A=r.serializeQueryArgs);return A(c)},tagTypes:Xo([],r.tagTypes||[])}),s={endpointDefinitions:{},batch:function(c){c()},apiUid:tx(),extractRehydrationInfo:i,hasRehydrationInfo:Cd(function(c){return i(c)!=null})},o={injectEndpoints:u,enhanceEndpoints:function(c){var A=c.addTagTypes,d=c.endpoints;if(A)for(var f=0,p=A;f<p.length;f++){var h=p[f];a.tagTypes.includes(h)||a.tagTypes.push(h)}if(d)for(var v=0,E=Object.entries(d);v<E.length;v++){var C=E[v],m=C[0],g=C[1];typeof g=="function"?g(s.endpointDefinitions[m]):Object.assign(s.endpointDefinitions[m]||{},g)}return o}},l=t.map(function(c){return c.init(o,a,s)});function u(c){for(var A=c.endpoints({query:function(g){return pn(Re({},g),{type:mn.query})},mutation:function(g){return pn(Re({},g),{type:mn.mutation})}}),d=0,f=Object.entries(A);d<f.length;d++){var p=f[d],h=p[0],v=p[1];if(!c.overrideExisting&&h in s.endpointDefinitions){typeof process<"u";continue}s.endpointDefinitions[h]=v;for(var E=0,C=l;E<C.length;E++){var m=C[E];m.injectEndpoint(h,v)}}return o}return o.injectEndpoints({endpoints:r.endpoints})}}function o3(t){for(var e in t)return!1;return!0}var l3=2147483647/1e3-1,u3=function(t){var e=t.reducerPath,n=t.api,r=t.context,i=t.internalState,a=n.internalActions,s=a.removeQueryResult,o=a.unsubscribeQueryResult;function l(d){var f=i.currentSubscriptions[d];return!!f&&!o3(f)}var u={},c=function(d,f,p){var h;if(o.match(d)){var v=f.getState()[e],E=d.payload.queryCacheKey;A(E,(h=v.queries[E])==null?void 0:h.endpointName,f,v.config)}if(n.util.resetApiState.match(d))for(var C=0,m=Object.entries(u);C<m.length;C++){var g=m[C],y=g[0],x=g[1];x&&clearTimeout(x),delete u[y]}if(r.hasRehydrationInfo(d))for(var v=f.getState()[e],w=r.extractRehydrationInfo(d).queries,S=0,D=Object.entries(w);S<D.length;S++){var I=D[S],E=I[0],_=I[1];A(E,_==null?void 0:_.endpointName,f,v.config)}};function A(d,f,p,h){var v,E=r.endpointDefinitions[f],C=(v=E==null?void 0:E.keepUnusedDataFor)!=null?v:h.keepUnusedDataFor;if(C!==1/0){var m=Math.max(0,Math.min(C,l3));if(!l(d)){var g=u[d];g&&clearTimeout(g),u[d]=setTimeout(function(){l(d)||p.dispatch(s({queryCacheKey:d})),delete u[d]},m*1e3)}}}return c},c3=function(t){var e=t.reducerPath,n=t.context,r=t.context.endpointDefinitions,i=t.mutationThunk,a=t.api,s=t.assertTagType,o=t.refetchQuery,l=a.internalActions.removeQueryResult,u=yv(Zi(i),$o(i)),c=function(d,f){u(d)&&A(IE(d,"invalidatesTags",r,s),f),a.util.invalidateTags.match(d)&&A(SA(d.payload,void 0,void 0,void 0,void 0,s),f)};function A(d,f){var p=f.getState(),h=p[e],v=a.util.selectInvalidatedBy(p,d);n.batch(function(){for(var E,C=Array.from(v.values()),m=0,g=C;m<g.length;m++){var y=g[m].queryCacheKey,x=h.queries[y],w=(E=h.subscriptions[y])!=null?E:{};x&&(Object.keys(w).length===0?f.dispatch(l({queryCacheKey:y})):x.status!==Pe.uninitialized&&f.dispatch(o(x,y)))}})}return c},d3=function(t){var e=t.reducerPath,n=t.queryThunk,r=t.api,i=t.refetchQuery,a=t.internalState,s={},o=function(f,p){(r.internalActions.updateSubscriptionOptions.match(f)||r.internalActions.unsubscribeQueryResult.match(f))&&u(f.payload,p),(n.pending.match(f)||n.rejected.match(f)&&f.meta.condition)&&u(f.meta.arg,p),(n.fulfilled.match(f)||n.rejected.match(f)&&!f.meta.condition)&&l(f.meta.arg,p),r.util.resetApiState.match(f)&&A()};function l(f,p){var h=f.queryCacheKey,v=p.getState()[e],E=v.queries[h],C=a.currentSubscriptions[h];if(!(!E||E.status===Pe.uninitialized)){var m=d(C);if(Number.isFinite(m)){var g=s[h];g!=null&&g.timeout&&(clearTimeout(g.timeout),g.timeout=void 0);var y=Date.now()+m,x=s[h]={nextPollTimestamp:y,pollingInterval:m,timeout:setTimeout(function(){x.timeout=void 0,p.dispatch(i(E,h))},m)}}}}function u(f,p){var h=f.queryCacheKey,v=p.getState()[e],E=v.queries[h],C=a.currentSubscriptions[h];if(!(!E||E.status===Pe.uninitialized)){var m=d(C);if(!Number.isFinite(m)){c(h);return}var g=s[h],y=Date.now()+m;(!g||y<g.nextPollTimestamp)&&l({queryCacheKey:h},p)}}function c(f){var p=s[f];p!=null&&p.timeout&&clearTimeout(p.timeout),delete s[f]}function A(){for(var f=0,p=Object.keys(s);f<p.length;f++){var h=p[f];c(h)}}function d(f){f===void 0&&(f={});var p=Number.POSITIVE_INFINITY;for(var h in f)f[h].pollingInterval&&(p=Math.min(f[h].pollingInterval,p));return p}return o},A3=function(t){var e=t.reducerPath,n=t.context,r=t.api,i=t.refetchQuery,a=t.internalState,s=r.internalActions.removeQueryResult,o=function(u,c){IA.match(u)&&l(c,"refetchOnFocus"),wA.match(u)&&l(c,"refetchOnReconnect")};function l(u,c){var A=u.getState()[e],d=A.queries,f=a.currentSubscriptions;n.batch(function(){for(var p=0,h=Object.keys(f);p<h.length;p++){var v=h[p],E=d[v],C=f[v];if(!(!C||!E)){var m=Object.values(C).some(function(g){return g[c]===!0})||Object.values(C).every(function(g){return g[c]===void 0})&&A.config[c];m&&(Object.keys(C).length===0?u.dispatch(s({queryCacheKey:v})):E.status!==Pe.uninitialized&&u.dispatch(i(E,v)))}}})}return o},_p=new Error("Promise never resolved before cacheEntryRemoved."),f3=function(t){var e=t.api,n=t.reducerPath,r=t.context,i=t.queryThunk,a=t.mutationThunk;t.internalState;var s=kA(i),o=kA(a),l=Zi(i,a),u={},c=function(f,p,h){var v=A(f);if(i.pending.match(f)){var E=h[n].queries[v],C=p.getState()[n].queries[v];!E&&C&&d(f.meta.arg.endpointName,f.meta.arg.originalArgs,v,p,f.meta.requestId)}else if(a.pending.match(f)){var C=p.getState()[n].mutations[v];C&&d(f.meta.arg.endpointName,f.meta.arg.originalArgs,v,p,f.meta.requestId)}else if(l(f)){var m=u[v];m!=null&&m.valueResolved&&(m.valueResolved({data:f.payload,meta:f.meta.baseQueryMeta}),delete m.valueResolved)}else if(e.internalActions.removeQueryResult.match(f)||e.internalActions.removeMutationResult.match(f)){var m=u[v];m&&(delete u[v],m.cacheEntryRemoved())}else if(e.util.resetApiState.match(f))for(var g=0,y=Object.entries(u);g<y.length;g++){var x=y[g],w=x[0],m=x[1];delete u[w],m.cacheEntryRemoved()}};function A(f){return s(f)?f.meta.arg.queryCacheKey:o(f)?f.meta.requestId:e.internalActions.removeQueryResult.match(f)?f.payload.queryCacheKey:e.internalActions.removeMutationResult.match(f)?ls(f.payload):""}function d(f,p,h,v,E){var C=r.endpointDefinitions[f],m=C==null?void 0:C.onCacheEntryAdded;if(m){var g={},y=new Promise(function(_){g.cacheEntryRemoved=_}),x=Promise.race([new Promise(function(_){g.valueResolved=_}),y.then(function(){throw _p})]);x.catch(function(){}),u[h]=g;var w=e.endpoints[f].select(C.type===mn.query?p:h),S=v.dispatch(function(_,O,T){return T}),D=pn(Re({},v),{getCacheEntry:function(){return w(v.getState())},requestId:E,extra:S,updateCachedData:C.type===mn.query?function(_){return v.dispatch(e.util.updateQueryData(f,p,_))}:void 0,cacheDataLoaded:x,cacheEntryRemoved:y}),I=m(p,D);Promise.resolve(I).catch(function(_){if(_!==_p)throw _})}}return c},h3=function(t){var e=t.api,n=t.context,r=t.queryThunk,i=t.mutationThunk,a=Sv(r,i),s=bv(r,i),o=Zi(r,i),l={},u=function(c,A){var d,f,p;if(a(c)){var h=c.meta,v=h.requestId,E=h.arg,C=E.endpointName,m=E.originalArgs,g=n.endpointDefinitions[C],y=g==null?void 0:g.onQueryStarted;if(y){var x={},w=new Promise(function(P,F){x.resolve=P,x.reject=F});w.catch(function(){}),l[v]=x;var S=e.endpoints[C].select(g.type===mn.query?m:v),D=A.dispatch(function(P,F,H){return H}),I=pn(Re({},A),{getCacheEntry:function(){return S(A.getState())},requestId:v,extra:D,updateCachedData:g.type===mn.query?function(P){return A.dispatch(e.util.updateQueryData(C,m,P))}:void 0,queryFulfilled:w});y(m,I)}}else if(o(c)){var _=c.meta,v=_.requestId,O=_.baseQueryMeta;(d=l[v])==null||d.resolve({data:c.payload,meta:O}),delete l[v]}else if(s(c)){var T=c.meta,v=T.requestId,R=T.rejectedWithValue,O=T.baseQueryMeta;(p=l[v])==null||p.reject({error:(f=c.payload)!=null?f:c.error,isUnhandledError:!R,meta:O}),delete l[v]}};return u},p3=function(t){var e=t.api,n=t.context.apiUid,r=t.reducerPath;return function(i,a){var s,o;e.util.resetApiState.match(i)&&a.dispatch(e.internalActions.middlewareRegistered(n)),typeof process<"u"}},Dp,v3=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Dp||(Dp=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},g3=function(t){var e=t.api,n=t.queryThunk,r=t.internalState,i=e.reducerPath+"/subscriptions",a=null,s=!1,o=e.internalActions,l=o.updateSubscriptionOptions,u=o.unsubscribeQueryResult,c=function(A,d){var f,p,h,v,E,C,m,g,y;if(l.match(d)){var x=d.payload,w=x.queryCacheKey,S=x.requestId,D=x.options;return(f=A==null?void 0:A[w])!=null&&f[S]&&(A[w][S]=D),!0}if(u.match(d)){var I=d.payload,w=I.queryCacheKey,S=I.requestId;return A[w]&&delete A[w][S],!0}if(e.internalActions.removeQueryResult.match(d))return delete A[d.payload.queryCacheKey],!0;if(n.pending.match(d)){var _=d.meta,O=_.arg,S=_.requestId;if(O.subscribe){var T=(h=A[p=O.queryCacheKey])!=null?h:A[p]={};return T[S]=(E=(v=O.subscriptionOptions)!=null?v:T[S])!=null?E:{},!0}}if(n.rejected.match(d)){var R=d.meta,P=R.condition,O=R.arg,S=R.requestId;if(P&&O.subscribe){var T=(m=A[C=O.queryCacheKey])!=null?m:A[C]={};return T[S]=(y=(g=O.subscriptionOptions)!=null?g:T[S])!=null?y:{},!0}}return!1};return function(A,d){var f,p;if(a||(a=JSON.parse(JSON.stringify(r.currentSubscriptions))),e.util.resetApiState.match(A))return a=r.currentSubscriptions={},[!0,!1];if(e.internalActions.internal_probeSubscription.match(A)){var h=A.payload,v=h.queryCacheKey,E=h.requestId,C=!!((f=r.currentSubscriptions[v])!=null&&f[E]);return[!1,C]}var m=c(r.currentSubscriptions,A);if(m){s||(v3(function(){var w=JSON.parse(JSON.stringify(r.currentSubscriptions)),S=wv(a,function(){return w}),D=S[1];d.next(e.internalActions.subscriptionsUpdated(D)),a=w,s=!1}),s=!0);var g=!!((p=A.type)!=null&&p.startsWith(i)),y=n.rejected.match(A)&&A.meta.condition&&!!A.meta.arg.subscribe,x=!g&&!y;return[x,!1]}return[!0,!1]}};function m3(t){var e=t.reducerPath,n=t.queryThunk,r=t.api,i=t.context,a=i.apiUid,s={invalidateTags:Qi(e+"/invalidateTags")},o=function(A){return!!A&&typeof A.type=="string"&&A.type.startsWith(e+"/")},l=[p3,u3,c3,d3,f3,h3],u=function(A){var d=!1,f={currentSubscriptions:{}},p=pn(Re({},t),{internalState:f,refetchQuery:c}),h=l.map(function(C){return C(p)}),v=g3(p),E=A3(p);return function(C){return function(m){d||(d=!0,A.dispatch(r.internalActions.middlewareRegistered(a)));var g=pn(Re({},A),{next:C}),y=A.getState(),x=v(m,g,y),w=x[0],S=x[1],D;if(w?D=C(m):D=S,A.getState()[e]&&(E(m,g,y),o(m)||i.hasRehydrationInfo(m)))for(var I=0,_=h;I<_.length;I++){var O=_[I];O(m,g,y)}return D}}};return{middleware:u,actions:s};function c(A,d,f){return f===void 0&&(f={}),n(Re({type:"query",endpointName:A.endpointName,originalArgs:A.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:d},f))}}function lr(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];Object.assign.apply(Object,Xo([t],e))}var Op=Symbol(),C3=function(){return{name:Op,init:function(t,e,n){var r=e.baseQuery,i=e.tagTypes,a=e.reducerPath,s=e.serializeQueryArgs,o=e.keepUnusedDataFor,l=e.refetchOnMountOrArgChange,u=e.refetchOnFocus,c=e.refetchOnReconnect;nx();var A=function(N){return typeof process<"u",N};Object.assign(t,{reducerPath:a,endpoints:{},internalActions:{onOnline:wA,onOffline:xE,onFocus:IA,onFocusLost:EE},util:{}});var d=r3({baseQuery:r,reducerPath:a,context:n,api:t,serializeQueryArgs:s,assertTagType:A}),f=d.queryThunk,p=d.mutationThunk,h=d.patchQueryData,v=d.updateQueryData,E=d.upsertQueryData,C=d.prefetch,m=d.buildMatchThunkActions,g=i3({context:n,queryThunk:f,mutationThunk:p,reducerPath:a,assertTagType:A,config:{refetchOnFocus:u,refetchOnReconnect:c,refetchOnMountOrArgChange:l,keepUnusedDataFor:o,reducerPath:a}}),y=g.reducer,x=g.actions;lr(t.util,{patchQueryData:h,updateQueryData:v,upsertQueryData:E,prefetch:C,resetApiState:x.resetApiState}),lr(t.internalActions,x);var w=m3({reducerPath:a,context:n,queryThunk:f,mutationThunk:p,api:t,assertTagType:A}),S=w.middleware,D=w.actions;lr(t.util,D),lr(t,{reducer:y,middleware:S});var I=a3({serializeQueryArgs:s,reducerPath:a}),_=I.buildQuerySelector,O=I.buildMutationSelector,T=I.selectInvalidatedBy;lr(t.util,{selectInvalidatedBy:T});var R=n3({queryThunk:f,mutationThunk:p,api:t,serializeQueryArgs:s,context:n}),P=R.buildInitiateQuery,F=R.buildInitiateMutation,H=R.getRunningMutationThunk,M=R.getRunningMutationsThunk,V=R.getRunningQueriesThunk,W=R.getRunningQueryThunk,B=R.getRunningOperationPromises,G=R.removalWarning;return lr(t.util,{getRunningOperationPromises:B,getRunningOperationPromise:G,getRunningMutationThunk:H,getRunningMutationsThunk:M,getRunningQueryThunk:W,getRunningQueriesThunk:V}),{name:Op,injectEndpoint:function(N,k){var U,z,K=t;(z=(U=K.endpoints)[N])!=null||(U[N]={}),yE(k)?lr(K.endpoints[N],{name:N,select:_(N,k),initiate:P(N,k)},m(f,N)):e3(k)&&lr(K.endpoints[N],{name:N,select:O(),initiate:F(N)},m(p,N))}}}}},E3=function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t},x3=Object.defineProperty,y3=Object.defineProperties,I3=Object.getOwnPropertyDescriptors,Tp=Object.getOwnPropertySymbols,w3=Object.prototype.hasOwnProperty,S3=Object.prototype.propertyIsEnumerable,Pp=function(t,e,n){return e in t?x3(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n},Pn=function(t,e){for(var n in e||(e={}))w3.call(e,n)&&Pp(t,n,e[n]);if(Tp)for(var r=0,i=Tp(e);r<i.length;r++){var n=i[r];S3.call(e,n)&&Pp(t,n,e[n])}return t},mo=function(t,e){return y3(t,I3(e))};function Rp(t,e,n,r){var i=b.useMemo(function(){return{queryArgs:t,serialized:typeof t=="object"?e({queryArgs:t,endpointDefinition:n,endpointName:r}):t}},[t,e,n,r]),a=b.useRef(i);return b.useEffect(function(){a.current.serialized!==i.serialized&&(a.current=i)},[i]),a.current.serialized===i.serialized?a.current.queryArgs:t}var Pc=Symbol();function Rc(t){var e=b.useRef(t);return b.useEffect(function(){Eo(e.current,t)||(e.current=t)},[t]),Eo(e.current,t)?e.current:t}var ao=WeakMap?new WeakMap:void 0,b3=function(t){var e=t.endpointName,n=t.queryArgs,r="",i=ao==null?void 0:ao.get(n);if(typeof i=="string")r=i;else{var a=JSON.stringify(n,function(s,o){return Jr(o)?Object.keys(o).sort().reduce(function(l,u){return l[u]=o[u],l},{}):o});Jr(n)&&(ao==null||ao.set(n,a)),r=a}return e+"("+r+")"},_3=typeof window<"u"&&window.document&&window.document.createElement?b.useLayoutEffect:b.useEffect,D3=function(t){return t},O3=function(t){return t.isUninitialized?mo(Pn({},t),{isUninitialized:!1,isFetching:!0,isLoading:t.data===void 0,status:Pe.pending}):t};function T3(t){var e=t.api,n=t.moduleOptions,r=n.batch,i=n.useDispatch,a=n.useSelector,s=n.useStore,o=n.unstable__sideEffectsInRender,l=t.serializeQueryArgs,u=t.context,c=o?function(h){return h()}:b.useEffect;return{buildQueryHooks:f,buildMutationHook:p,usePrefetch:d};function A(h,v,E){if(v!=null&&v.endpointName&&h.isUninitialized){var C=v.endpointName,m=u.endpointDefinitions[C];l({queryArgs:v.originalArgs,endpointDefinition:m,endpointName:C})===l({queryArgs:E,endpointDefinition:m,endpointName:C})&&(v=void 0)}var g=h.isSuccess?h.data:v==null?void 0:v.data;g===void 0&&(g=h.data);var y=g!==void 0,x=h.isLoading,w=!y&&x,S=h.isSuccess||x&&y;return mo(Pn({},h),{data:g,currentData:h.data,isFetching:x,isLoading:w,isSuccess:S})}function d(h,v){var E=i(),C=Rc(v);return b.useCallback(function(m,g){return E(e.util.prefetch(h,m,Pn(Pn({},C),g)))},[h,E,C])}function f(h){var v=function(m,g){var y=g===void 0?{}:g,x=y.refetchOnReconnect,w=y.refetchOnFocus,S=y.refetchOnMountOrArgChange,D=y.skip,I=D===void 0?!1:D,_=y.pollingInterval,O=_===void 0?0:_,T=e.endpoints[h].initiate,R=i(),P=Rp(I?Kr:m,b3,u.endpointDefinitions[h],h),F=Rc({refetchOnReconnect:x,refetchOnFocus:w,pollingInterval:O}),H=b.useRef(!1),M=b.useRef(),V=M.current||{},W=V.queryCacheKey,B=V.requestId,G=!1;if(W&&B){var N=R(e.internalActions.internal_probeSubscription({queryCacheKey:W,requestId:B}));G=!!N}var k=!G&&H.current;return c(function(){H.current=G}),c(function(){k&&(M.current=void 0)},[k]),c(function(){var U,z=M.current;if(typeof process<"u",P===Kr){z==null||z.unsubscribe(),M.current=void 0;return}var K=(U=M.current)==null?void 0:U.subscriptionOptions;if(!z||z.arg!==P){z==null||z.unsubscribe();var Y=R(T(P,{subscriptionOptions:F,forceRefetch:S}));M.current=Y}else F!==K&&z.updateSubscriptionOptions(F)},[R,T,S,P,F,k]),b.useEffect(function(){return function(){var U;(U=M.current)==null||U.unsubscribe(),M.current=void 0}},[]),b.useMemo(function(){return{refetch:function(){var U;if(!M.current)throw new Error("Cannot refetch a query that has not been started yet.");return(U=M.current)==null?void 0:U.refetch()}}},[])},E=function(m){var g=m===void 0?{}:m,y=g.refetchOnReconnect,x=g.refetchOnFocus,w=g.pollingInterval,S=w===void 0?0:w,D=e.endpoints[h].initiate,I=i(),_=b.useState(Pc),O=_[0],T=_[1],R=b.useRef(),P=Rc({refetchOnReconnect:y,refetchOnFocus:x,pollingInterval:S});c(function(){var M,V,W=(M=R.current)==null?void 0:M.subscriptionOptions;P!==W&&((V=R.current)==null||V.updateSubscriptionOptions(P))},[P]);var F=b.useRef(P);c(function(){F.current=P},[P]);var H=b.useCallback(function(M,V){V===void 0&&(V=!1);var W;return r(function(){var B;(B=R.current)==null||B.unsubscribe(),R.current=W=I(D(M,{subscriptionOptions:F.current,forceRefetch:!V})),T(M)}),W},[I,D]);return b.useEffect(function(){return function(){var M;(M=R==null?void 0:R.current)==null||M.unsubscribe()}},[]),b.useEffect(function(){O!==Pc&&!R.current&&H(O,!0)},[O,H]),b.useMemo(function(){return[H,O]},[H,O])},C=function(m,g){var y=g===void 0?{}:g,x=y.skip,w=x===void 0?!1:x,S=y.selectFromResult,D=e.endpoints[h].select,I=Rp(w?Kr:m,l,u.endpointDefinitions[h],h),_=b.useRef(),O=b.useMemo(function(){return $r([D(I),function(H,M){return M},function(H){return I}],A)},[D,I]),T=b.useMemo(function(){return S?$r([O],S):O},[O,S]),R=a(function(H){return T(H,_.current)},Eo),P=s(),F=O(P.getState(),_.current);return _3(function(){_.current=F},[F]),R};return{useQueryState:C,useQuerySubscription:v,useLazyQuerySubscription:E,useLazyQuery:function(m){var g=E(m),y=g[0],x=g[1],w=C(x,mo(Pn({},m),{skip:x===Pc})),S=b.useMemo(function(){return{lastArg:x}},[x]);return b.useMemo(function(){return[y,w,S]},[y,w,S])},useQuery:function(m,g){var y=v(m,g),x=C(m,Pn({selectFromResult:m===Kr||g!=null&&g.skip?void 0:O3},g)),w=x.data,S=x.status,D=x.isLoading,I=x.isSuccess,_=x.isError,O=x.error;return b.useDebugValue({data:w,status:S,isLoading:D,isSuccess:I,isError:_,error:O}),b.useMemo(function(){return Pn(Pn({},x),y)},[x,y])}}}function p(h){return function(v){var E=v===void 0?{}:v,C=E.selectFromResult,m=C===void 0?D3:C,g=E.fixedCacheKey,y=e.endpoints[h],x=y.select,w=y.initiate,S=i(),D=b.useState(),I=D[0],_=D[1];b.useEffect(function(){return function(){I!=null&&I.arg.fixedCacheKey||I==null||I.reset()}},[I]);var O=b.useCallback(function(z){var K=S(w(z,{fixedCacheKey:g}));return _(K),K},[S,w,g]),T=(I||{}).requestId,R=b.useMemo(function(){return $r([x({fixedCacheKey:g,requestId:I==null?void 0:I.requestId})],m)},[x,I,m,g]),P=a(R,Eo),F=g==null?I==null?void 0:I.arg.originalArgs:void 0,H=b.useCallback(function(){r(function(){I&&_(void 0),g&&S(e.internalActions.removeMutationResult({requestId:T,fixedCacheKey:g}))})},[S,g,I,T]),M=P.endpointName,V=P.data,W=P.status,B=P.isLoading,G=P.isSuccess,N=P.isError,k=P.error;b.useDebugValue({endpointName:M,data:V,status:W,isLoading:B,isSuccess:G,isError:N,error:k});var U=b.useMemo(function(){return mo(Pn({},P),{originalArgs:F,reset:H})},[P,F,H]);return b.useMemo(function(){return[O,U]},[O,U])}}}var zo;(function(t){t.query="query",t.mutation="mutation"})(zo||(zo={}));function P3(t){return t.type===zo.query}function R3(t){return t.type===zo.mutation}function Fc(t){return t.replace(t[0],t[0].toUpperCase())}function so(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];Object.assign.apply(Object,E3([t],e))}var F3=Symbol(),k3=function(t){var e={},n=e.batch,r=n===void 0?zx.unstable_batchedUpdates:n,i=e.useDispatch,a=i===void 0?eg:i,s=e.useSelector,o=s===void 0?sx:s,l=e.useStore,u=l===void 0?Jv:l,c=e.unstable__sideEffectsInRender,A=c===void 0?!1:c;return{name:F3,init:function(d,f,p){var h=f.serializeQueryArgs,v=d,E=T3({api:d,moduleOptions:{batch:r,useDispatch:a,useSelector:o,useStore:u,unstable__sideEffectsInRender:A},serializeQueryArgs:h,context:p}),C=E.buildQueryHooks,m=E.buildMutationHook,g=E.usePrefetch;return so(v,{usePrefetch:g}),so(p,{batch:r}),{injectEndpoint:function(y,x){if(P3(x)){var w=C(y),S=w.useQuery,D=w.useLazyQuery,I=w.useLazyQuerySubscription,_=w.useQueryState,O=w.useQuerySubscription;so(v.endpoints[y],{useQuery:S,useLazyQuery:D,useLazyQuerySubscription:I,useQueryState:_,useQuerySubscription:O}),d["use"+Fc(y)+"Query"]=S,d["useLazy"+Fc(y)+"Query"]=D}else if(R3(x)){var T=m(y);so(v.endpoints[y],{useMutation:T}),d["use"+Fc(y)+"Mutation"]=T}}}}}},M3=s3(C3(),k3()),cr=(t=>(t[t.none=0]="none",t[t.second=1]="second",t[t.minute=60]="minute",t[t.fiveMinutes=300]="fiveMinutes",t[t.hour=3600]="hour",t[t.day=86400]="day",t[t.week=604800]="week",t))(cr||{}),SE=(t=>(t[t.short=1e3]="short",t[t.medium=15e3]="medium",t[t.long=3e4]="long",t))(SE||{}),$i=(t=>(t.registerDevice="registerDevice",t.unregisterDevice="unregisterDevice",t))($i||{}),On=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,62,0,62,0,63,52,53,54,55,56,57,58,59,60,61,0,0,0,0,0,0,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,0,0,0,0,63,0,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],B3=function(e,n){for(var r=e.length,i=e[r-2]==="="?2:e[r-1]==="="?1:0,a,s=0,o=r-i&4294967292,l=0;l<o;l+=4)a=On[e.charCodeAt(l)]<<18|On[e.charCodeAt(l+1)]<<12|On[e.charCodeAt(l+2)]<<6|On[e.charCodeAt(l+3)],n[s++]=a>>16&255,n[s++]=a>>8&255,n[s++]=a&255;i===1&&(a=On[e.charCodeAt(l)]<<10|On[e.charCodeAt(l+1)]<<4|On[e.charCodeAt(l+2)]>>2,n[s++]=a>>8&255,n[s++]=a&255),i===2&&(a=On[e.charCodeAt(l)]<<2|On[e.charCodeAt(l+1)]>>4,n[s++]=a&255)};const N3=B3,{NativeModules:oo}=jo;class G3 extends Error{}class L3 extends Error{}let Fp=!1;function V3(t){Fp||(console.warn("Using an insecure random number generator, this should only happen when running in a debugger without support for crypto.getRandomValues"),Fp=!0);for(let e=0,n;e<t.length;e++)e&3||(n=Math.random()*4294967296),t[e]=n>>>((e&3)<<3)&255;return t}function H3(t){if(oo.RNGetRandomValues)return oo.RNGetRandomValues.getRandomBase64(t);if(oo.ExpoRandom)return oo.ExpoRandom.getRandomBase64String(t);if($.ExpoModules)return $.ExpoModules.ExpoRandom.getRandomBase64String(t);throw new Error("Native module not found")}function U3(t){if(!(t instanceof Int8Array||t instanceof Uint8Array||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Uint8ClampedArray))throw new G3("Expected an integer array");if(t.byteLength>65536)throw new L3("Can only request a maximum of 65536 bytes");return $.expo&&$.expo.modules&&$.expo.modules.ExpoCrypto&&$.expo.modules.ExpoCrypto.getRandomValues?($.expo.modules.ExpoCrypto.getRandomValues(t),t):W3()?V3(t):(N3(H3(t.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength)),t)}function W3(){return"RN$Bridgeless"in $&&RN$Bridgeless===!0,!1}typeof $.crypto!="object"&&($.crypto={});typeof $.crypto.getRandomValues!="function"&&($.crypto.getRandomValues=U3);var bE={exports:{}},kc={exports:{}},kp;function Ae(){return kp||(kp=1,function(t,e){(function(n,r){t.exports=r()})($,function(){var n=n||function(r,i){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof $<"u"&&$.crypto&&(a=$.crypto),!a&&typeof Kx=="function")try{a=qO}catch{}var s=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function C(){}return function(m){var g;return C.prototype=m,g=new C,C.prototype=null,g}}(),l={},u=l.lib={},c=u.Base=function(){return{extend:function(C){var m=o(this);return C&&m.mixIn(C),(!m.hasOwnProperty("init")||this.init===m.init)&&(m.init=function(){m.$super.init.apply(this,arguments)}),m.init.prototype=m,m.$super=this,m},create:function(){var C=this.extend();return C.init.apply(C,arguments),C},init:function(){},mixIn:function(C){for(var m in C)C.hasOwnProperty(m)&&(this[m]=C[m]);C.hasOwnProperty("toString")&&(this.toString=C.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),A=u.WordArray=c.extend({init:function(C,m){C=this.words=C||[],m!=i?this.sigBytes=m:this.sigBytes=C.length*4},toString:function(C){return(C||f).stringify(this)},concat:function(C){var m=this.words,g=C.words,y=this.sigBytes,x=C.sigBytes;if(this.clamp(),y%4)for(var w=0;w<x;w++){var S=g[w>>>2]>>>24-w%4*8&255;m[y+w>>>2]|=S<<24-(y+w)%4*8}else for(var D=0;D<x;D+=4)m[y+D>>>2]=g[D>>>2];return this.sigBytes+=x,this},clamp:function(){var C=this.words,m=this.sigBytes;C[m>>>2]&=4294967295<<32-m%4*8,C.length=r.ceil(m/4)},clone:function(){var C=c.clone.call(this);return C.words=this.words.slice(0),C},random:function(C){for(var m=[],g=0;g<C;g+=4)m.push(s());return new A.init(m,C)}}),d=l.enc={},f=d.Hex={stringify:function(C){for(var m=C.words,g=C.sigBytes,y=[],x=0;x<g;x++){var w=m[x>>>2]>>>24-x%4*8&255;y.push((w>>>4).toString(16)),y.push((w&15).toString(16))}return y.join("")},parse:function(C){for(var m=C.length,g=[],y=0;y<m;y+=2)g[y>>>3]|=parseInt(C.substr(y,2),16)<<24-y%8*4;return new A.init(g,m/2)}},p=d.Latin1={stringify:function(C){for(var m=C.words,g=C.sigBytes,y=[],x=0;x<g;x++){var w=m[x>>>2]>>>24-x%4*8&255;y.push(String.fromCharCode(w))}return y.join("")},parse:function(C){for(var m=C.length,g=[],y=0;y<m;y++)g[y>>>2]|=(C.charCodeAt(y)&255)<<24-y%4*8;return new A.init(g,m)}},h=d.Utf8={stringify:function(C){try{return decodeURIComponent(escape(p.stringify(C)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(C){return p.parse(unescape(encodeURIComponent(C)))}},v=u.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new A.init,this._nDataBytes=0},_append:function(C){typeof C=="string"&&(C=h.parse(C)),this._data.concat(C),this._nDataBytes+=C.sigBytes},_process:function(C){var m,g=this._data,y=g.words,x=g.sigBytes,w=this.blockSize,S=w*4,D=x/S;C?D=r.ceil(D):D=r.max((D|0)-this._minBufferSize,0);var I=D*w,_=r.min(I*4,x);if(I){for(var O=0;O<I;O+=w)this._doProcessBlock(y,O);m=y.splice(0,I),g.sigBytes-=_}return new A.init(m,_)},clone:function(){var C=c.clone.call(this);return C._data=this._data.clone(),C},_minBufferSize:0});u.Hasher=v.extend({cfg:c.extend(),init:function(C){this.cfg=this.cfg.extend(C),this.reset()},reset:function(){v.reset.call(this),this._doReset()},update:function(C){return this._append(C),this._process(),this},finalize:function(C){C&&this._append(C);var m=this._doFinalize();return m},blockSize:16,_createHelper:function(C){return function(m,g){return new C.init(g).finalize(m)}},_createHmacHelper:function(C){return function(m,g){return new E.HMAC.init(C,g).finalize(m)}}});var E=l.algo={};return l}(Math);return n})}(kc)),kc.exports}var Mc={exports:{}},Mp;function Tu(){return Mp||(Mp=1,function(t,e){(function(n,r){t.exports=r(Ae())})($,function(n){return function(r){var i=n,a=i.lib,s=a.Base,o=a.WordArray,l=i.x64={};l.Word=s.extend({init:function(u,c){this.high=u,this.low=c}}),l.WordArray=s.extend({init:function(u,c){u=this.words=u||[],c!=r?this.sigBytes=c:this.sigBytes=u.length*8},toX32:function(){for(var u=this.words,c=u.length,A=[],d=0;d<c;d++){var f=u[d];A.push(f.high),A.push(f.low)}return o.create(A,this.sigBytes)},clone:function(){for(var u=s.clone.call(this),c=u.words=this.words.slice(0),A=c.length,d=0;d<A;d++)c[d]=c[d].clone();return u}})}(),n})}(Mc)),Mc.exports}var Bc={exports:{}},Bp;function X3(){return Bp||(Bp=1,function(t,e){(function(n,r){t.exports=r(Ae())})($,function(n){return function(){if(typeof ArrayBuffer=="function"){var r=n,i=r.lib,a=i.WordArray,s=a.init,o=a.init=function(l){if(l instanceof ArrayBuffer&&(l=new Uint8Array(l)),(l instanceof Int8Array||typeof Uint8ClampedArray<"u"&&l instanceof Uint8ClampedArray||l instanceof Int16Array||l instanceof Uint16Array||l instanceof Int32Array||l instanceof Uint32Array||l instanceof Float32Array||l instanceof Float64Array)&&(l=new Uint8Array(l.buffer,l.byteOffset,l.byteLength)),l instanceof Uint8Array){for(var u=l.byteLength,c=[],A=0;A<u;A++)c[A>>>2]|=l[A]<<24-A%4*8;s.call(this,c,u)}else s.apply(this,arguments)};o.prototype=a}}(),n.lib.WordArray})}(Bc)),Bc.exports}var Nc={exports:{}},Np;function Y3(){return Np||(Np=1,function(t,e){(function(n,r){t.exports=r(Ae())})($,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,s=r.enc;s.Utf16=s.Utf16BE={stringify:function(l){for(var u=l.words,c=l.sigBytes,A=[],d=0;d<c;d+=2){var f=u[d>>>2]>>>16-d%4*8&65535;A.push(String.fromCharCode(f))}return A.join("")},parse:function(l){for(var u=l.length,c=[],A=0;A<u;A++)c[A>>>1]|=l.charCodeAt(A)<<16-A%2*16;return a.create(c,u*2)}},s.Utf16LE={stringify:function(l){for(var u=l.words,c=l.sigBytes,A=[],d=0;d<c;d+=2){var f=o(u[d>>>2]>>>16-d%4*8&65535);A.push(String.fromCharCode(f))}return A.join("")},parse:function(l){for(var u=l.length,c=[],A=0;A<u;A++)c[A>>>1]|=o(l.charCodeAt(A)<<16-A%2*16);return a.create(c,u*2)}};function o(l){return l<<8&4278255360|l>>>8&16711935}}(),n.enc.Utf16})}(Nc)),Nc.exports}var Gc={exports:{}},Gp;function ui(){return Gp||(Gp=1,function(t,e){(function(n,r){t.exports=r(Ae())})($,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,s=r.enc;s.Base64={stringify:function(l){var u=l.words,c=l.sigBytes,A=this._map;l.clamp();for(var d=[],f=0;f<c;f+=3)for(var p=u[f>>>2]>>>24-f%4*8&255,h=u[f+1>>>2]>>>24-(f+1)%4*8&255,v=u[f+2>>>2]>>>24-(f+2)%4*8&255,E=p<<16|h<<8|v,C=0;C<4&&f+C*.75<c;C++)d.push(A.charAt(E>>>6*(3-C)&63));var m=A.charAt(64);if(m)for(;d.length%4;)d.push(m);return d.join("")},parse:function(l){var u=l.length,c=this._map,A=this._reverseMap;if(!A){A=this._reverseMap=[];for(var d=0;d<c.length;d++)A[c.charCodeAt(d)]=d}var f=c.charAt(64);if(f){var p=l.indexOf(f);p!==-1&&(u=p)}return o(l,u,A)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function o(l,u,c){for(var A=[],d=0,f=0;f<u;f++)if(f%4){var p=c[l.charCodeAt(f-1)]<<f%4*2,h=c[l.charCodeAt(f)]>>>6-f%4*2,v=p|h;A[d>>>2]|=v<<24-d%4*8,d++}return a.create(A,d)}}(),n.enc.Base64})}(Gc)),Gc.exports}var Lc={exports:{}},Lp;function z3(){return Lp||(Lp=1,function(t,e){(function(n,r){t.exports=r(Ae())})($,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,s=r.enc;s.Base64url={stringify:function(l,u){u===void 0&&(u=!0);var c=l.words,A=l.sigBytes,d=u?this._safe_map:this._map;l.clamp();for(var f=[],p=0;p<A;p+=3)for(var h=c[p>>>2]>>>24-p%4*8&255,v=c[p+1>>>2]>>>24-(p+1)%4*8&255,E=c[p+2>>>2]>>>24-(p+2)%4*8&255,C=h<<16|v<<8|E,m=0;m<4&&p+m*.75<A;m++)f.push(d.charAt(C>>>6*(3-m)&63));var g=d.charAt(64);if(g)for(;f.length%4;)f.push(g);return f.join("")},parse:function(l,u){u===void 0&&(u=!0);var c=l.length,A=u?this._safe_map:this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var f=0;f<A.length;f++)d[A.charCodeAt(f)]=f}var p=A.charAt(64);if(p){var h=l.indexOf(p);h!==-1&&(c=h)}return o(l,c,d)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function o(l,u,c){for(var A=[],d=0,f=0;f<u;f++)if(f%4){var p=c[l.charCodeAt(f-1)]<<f%4*2,h=c[l.charCodeAt(f)]>>>6-f%4*2,v=p|h;A[d>>>2]|=v<<24-d%4*8,d++}return a.create(A,d)}}(),n.enc.Base64url})}(Lc)),Lc.exports}var Vc={exports:{}},Vp;function ci(){return Vp||(Vp=1,function(t,e){(function(n,r){t.exports=r(Ae())})($,function(n){return function(r){var i=n,a=i.lib,s=a.WordArray,o=a.Hasher,l=i.algo,u=[];(function(){for(var h=0;h<64;h++)u[h]=r.abs(r.sin(h+1))*4294967296|0})();var c=l.MD5=o.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(h,v){for(var E=0;E<16;E++){var C=v+E,m=h[C];h[C]=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360}var g=this._hash.words,y=h[v+0],x=h[v+1],w=h[v+2],S=h[v+3],D=h[v+4],I=h[v+5],_=h[v+6],O=h[v+7],T=h[v+8],R=h[v+9],P=h[v+10],F=h[v+11],H=h[v+12],M=h[v+13],V=h[v+14],W=h[v+15],B=g[0],G=g[1],N=g[2],k=g[3];B=A(B,G,N,k,y,7,u[0]),k=A(k,B,G,N,x,12,u[1]),N=A(N,k,B,G,w,17,u[2]),G=A(G,N,k,B,S,22,u[3]),B=A(B,G,N,k,D,7,u[4]),k=A(k,B,G,N,I,12,u[5]),N=A(N,k,B,G,_,17,u[6]),G=A(G,N,k,B,O,22,u[7]),B=A(B,G,N,k,T,7,u[8]),k=A(k,B,G,N,R,12,u[9]),N=A(N,k,B,G,P,17,u[10]),G=A(G,N,k,B,F,22,u[11]),B=A(B,G,N,k,H,7,u[12]),k=A(k,B,G,N,M,12,u[13]),N=A(N,k,B,G,V,17,u[14]),G=A(G,N,k,B,W,22,u[15]),B=d(B,G,N,k,x,5,u[16]),k=d(k,B,G,N,_,9,u[17]),N=d(N,k,B,G,F,14,u[18]),G=d(G,N,k,B,y,20,u[19]),B=d(B,G,N,k,I,5,u[20]),k=d(k,B,G,N,P,9,u[21]),N=d(N,k,B,G,W,14,u[22]),G=d(G,N,k,B,D,20,u[23]),B=d(B,G,N,k,R,5,u[24]),k=d(k,B,G,N,V,9,u[25]),N=d(N,k,B,G,S,14,u[26]),G=d(G,N,k,B,T,20,u[27]),B=d(B,G,N,k,M,5,u[28]),k=d(k,B,G,N,w,9,u[29]),N=d(N,k,B,G,O,14,u[30]),G=d(G,N,k,B,H,20,u[31]),B=f(B,G,N,k,I,4,u[32]),k=f(k,B,G,N,T,11,u[33]),N=f(N,k,B,G,F,16,u[34]),G=f(G,N,k,B,V,23,u[35]),B=f(B,G,N,k,x,4,u[36]),k=f(k,B,G,N,D,11,u[37]),N=f(N,k,B,G,O,16,u[38]),G=f(G,N,k,B,P,23,u[39]),B=f(B,G,N,k,M,4,u[40]),k=f(k,B,G,N,y,11,u[41]),N=f(N,k,B,G,S,16,u[42]),G=f(G,N,k,B,_,23,u[43]),B=f(B,G,N,k,R,4,u[44]),k=f(k,B,G,N,H,11,u[45]),N=f(N,k,B,G,W,16,u[46]),G=f(G,N,k,B,w,23,u[47]),B=p(B,G,N,k,y,6,u[48]),k=p(k,B,G,N,O,10,u[49]),N=p(N,k,B,G,V,15,u[50]),G=p(G,N,k,B,I,21,u[51]),B=p(B,G,N,k,H,6,u[52]),k=p(k,B,G,N,S,10,u[53]),N=p(N,k,B,G,P,15,u[54]),G=p(G,N,k,B,x,21,u[55]),B=p(B,G,N,k,T,6,u[56]),k=p(k,B,G,N,W,10,u[57]),N=p(N,k,B,G,_,15,u[58]),G=p(G,N,k,B,M,21,u[59]),B=p(B,G,N,k,D,6,u[60]),k=p(k,B,G,N,F,10,u[61]),N=p(N,k,B,G,w,15,u[62]),G=p(G,N,k,B,R,21,u[63]),g[0]=g[0]+B|0,g[1]=g[1]+G|0,g[2]=g[2]+N|0,g[3]=g[3]+k|0},_doFinalize:function(){var h=this._data,v=h.words,E=this._nDataBytes*8,C=h.sigBytes*8;v[C>>>5]|=128<<24-C%32;var m=r.floor(E/4294967296),g=E;v[(C+64>>>9<<4)+15]=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360,v[(C+64>>>9<<4)+14]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,h.sigBytes=(v.length+1)*4,this._process();for(var y=this._hash,x=y.words,w=0;w<4;w++){var S=x[w];x[w]=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360}return y},clone:function(){var h=o.clone.call(this);return h._hash=this._hash.clone(),h}});function A(h,v,E,C,m,g,y){var x=h+(v&E|~v&C)+m+y;return(x<<g|x>>>32-g)+v}function d(h,v,E,C,m,g,y){var x=h+(v&C|E&~C)+m+y;return(x<<g|x>>>32-g)+v}function f(h,v,E,C,m,g,y){var x=h+(v^E^C)+m+y;return(x<<g|x>>>32-g)+v}function p(h,v,E,C,m,g,y){var x=h+(E^(v|~C))+m+y;return(x<<g|x>>>32-g)+v}i.MD5=o._createHelper(c),i.HmacMD5=o._createHmacHelper(c)}(Math),n.MD5})}(Vc)),Vc.exports}var Hc={exports:{}},Hp;function _E(){return Hp||(Hp=1,function(t,e){(function(n,r){t.exports=r(Ae())})($,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,s=i.Hasher,o=r.algo,l=[],u=o.SHA1=s.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,A){for(var d=this._hash.words,f=d[0],p=d[1],h=d[2],v=d[3],E=d[4],C=0;C<80;C++){if(C<16)l[C]=c[A+C]|0;else{var m=l[C-3]^l[C-8]^l[C-14]^l[C-16];l[C]=m<<1|m>>>31}var g=(f<<5|f>>>27)+E+l[C];C<20?g+=(p&h|~p&v)+1518500249:C<40?g+=(p^h^v)+1859775393:C<60?g+=(p&h|p&v|h&v)-1894007588:g+=(p^h^v)-899497514,E=v,v=h,h=p<<30|p>>>2,p=f,f=g}d[0]=d[0]+f|0,d[1]=d[1]+p|0,d[2]=d[2]+h|0,d[3]=d[3]+v|0,d[4]=d[4]+E|0},_doFinalize:function(){var c=this._data,A=c.words,d=this._nDataBytes*8,f=c.sigBytes*8;return A[f>>>5]|=128<<24-f%32,A[(f+64>>>9<<4)+14]=Math.floor(d/4294967296),A[(f+64>>>9<<4)+15]=d,c.sigBytes=A.length*4,this._process(),this._hash},clone:function(){var c=s.clone.call(this);return c._hash=this._hash.clone(),c}});r.SHA1=s._createHelper(u),r.HmacSHA1=s._createHmacHelper(u)}(),n.SHA1})}(Hc)),Hc.exports}var Uc={exports:{}},Up;function bA(){return Up||(Up=1,function(t,e){(function(n,r){t.exports=r(Ae())})($,function(n){return function(r){var i=n,a=i.lib,s=a.WordArray,o=a.Hasher,l=i.algo,u=[],c=[];(function(){function f(E){for(var C=r.sqrt(E),m=2;m<=C;m++)if(!(E%m))return!1;return!0}function p(E){return(E-(E|0))*4294967296|0}for(var h=2,v=0;v<64;)f(h)&&(v<8&&(u[v]=p(r.pow(h,1/2))),c[v]=p(r.pow(h,1/3)),v++),h++})();var A=[],d=l.SHA256=o.extend({_doReset:function(){this._hash=new s.init(u.slice(0))},_doProcessBlock:function(f,p){for(var h=this._hash.words,v=h[0],E=h[1],C=h[2],m=h[3],g=h[4],y=h[5],x=h[6],w=h[7],S=0;S<64;S++){if(S<16)A[S]=f[p+S]|0;else{var D=A[S-15],I=(D<<25|D>>>7)^(D<<14|D>>>18)^D>>>3,_=A[S-2],O=(_<<15|_>>>17)^(_<<13|_>>>19)^_>>>10;A[S]=I+A[S-7]+O+A[S-16]}var T=g&y^~g&x,R=v&E^v&C^E&C,P=(v<<30|v>>>2)^(v<<19|v>>>13)^(v<<10|v>>>22),F=(g<<26|g>>>6)^(g<<21|g>>>11)^(g<<7|g>>>25),H=w+F+T+c[S]+A[S],M=P+R;w=x,x=y,y=g,g=m+H|0,m=C,C=E,E=v,v=H+M|0}h[0]=h[0]+v|0,h[1]=h[1]+E|0,h[2]=h[2]+C|0,h[3]=h[3]+m|0,h[4]=h[4]+g|0,h[5]=h[5]+y|0,h[6]=h[6]+x|0,h[7]=h[7]+w|0},_doFinalize:function(){var f=this._data,p=f.words,h=this._nDataBytes*8,v=f.sigBytes*8;return p[v>>>5]|=128<<24-v%32,p[(v+64>>>9<<4)+14]=r.floor(h/4294967296),p[(v+64>>>9<<4)+15]=h,f.sigBytes=p.length*4,this._process(),this._hash},clone:function(){var f=o.clone.call(this);return f._hash=this._hash.clone(),f}});i.SHA256=o._createHelper(d),i.HmacSHA256=o._createHmacHelper(d)}(Math),n.SHA256})}(Uc)),Uc.exports}var Wc={exports:{}},Wp;function K3(){return Wp||(Wp=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),bA())})($,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,s=r.algo,o=s.SHA256,l=s.SHA224=o.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var u=o._doFinalize.call(this);return u.sigBytes-=4,u}});r.SHA224=o._createHelper(l),r.HmacSHA224=o._createHmacHelper(l)}(),n.SHA224})}(Wc)),Wc.exports}var Xc={exports:{}},Xp;function DE(){return Xp||(Xp=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Tu())})($,function(n){return function(){var r=n,i=r.lib,a=i.Hasher,s=r.x64,o=s.Word,l=s.WordArray,u=r.algo;function c(){return o.create.apply(o,arguments)}var A=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],d=[];(function(){for(var p=0;p<80;p++)d[p]=c()})();var f=u.SHA512=a.extend({_doReset:function(){this._hash=new l.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(p,h){for(var v=this._hash.words,E=v[0],C=v[1],m=v[2],g=v[3],y=v[4],x=v[5],w=v[6],S=v[7],D=E.high,I=E.low,_=C.high,O=C.low,T=m.high,R=m.low,P=g.high,F=g.low,H=y.high,M=y.low,V=x.high,W=x.low,B=w.high,G=w.low,N=S.high,k=S.low,U=D,z=I,K=_,Y=O,ee=T,te=R,re=P,Q=F,ae=H,Ie=M,we=V,Ce=W,Ee=B,Se=G,Ge=N,Ze=k,ne=0;ne<80;ne++){var le,ft,Tt=d[ne];if(ne<16)ft=Tt.high=p[h+ne*2]|0,le=Tt.low=p[h+ne*2+1]|0;else{var xt=d[ne-15],Je=xt.high,rt=xt.low,oa=(Je>>>1|rt<<31)^(Je>>>8|rt<<24)^Je>>>7,ye=(rt>>>1|Je<<31)^(rt>>>8|Je<<24)^(rt>>>7|Je<<25),q=d[ne-2],Le=q.high,fe=q.low,de=(Le>>>19|fe<<13)^(Le<<3|fe>>>29)^Le>>>6,Me=(fe>>>19|Le<<13)^(fe<<3|Le>>>29)^(fe>>>6|Le<<26),be=d[ne-7],pe=be.high,Gt=be.low,it=d[ne-16],Pt=it.high,xn=it.low;le=ye+Gt,ft=oa+pe+(le>>>0<ye>>>0?1:0),le=le+Me,ft=ft+de+(le>>>0<Me>>>0?1:0),le=le+xn,ft=ft+Pt+(le>>>0<xn>>>0?1:0),Tt.high=ft,Tt.low=le}var la=ae&we^~ae&Ee,jn=Ie&Ce^~Ie&Se,Pr=U&K^U&ee^K&ee,Ru=z&Y^z&te^Y&te,Fu=(U>>>28|z<<4)^(U<<30|z>>>2)^(U<<25|z>>>7),DA=(z>>>28|U<<4)^(z<<30|U>>>2)^(z<<25|U>>>7),WE=(ae>>>14|Ie<<18)^(ae>>>18|Ie<<14)^(ae<<23|Ie>>>9),XE=(Ie>>>14|ae<<18)^(Ie>>>18|ae<<14)^(Ie<<23|ae>>>9),OA=A[ne],YE=OA.high,TA=OA.low,Rt=Ze+XE,Qn=Ge+WE+(Rt>>>0<Ze>>>0?1:0),Rt=Rt+jn,Qn=Qn+la+(Rt>>>0<jn>>>0?1:0),Rt=Rt+TA,Qn=Qn+YE+(Rt>>>0<TA>>>0?1:0),Rt=Rt+le,Qn=Qn+ft+(Rt>>>0<le>>>0?1:0),PA=DA+Ru,zE=Fu+Pr+(PA>>>0<DA>>>0?1:0);Ge=Ee,Ze=Se,Ee=we,Se=Ce,we=ae,Ce=Ie,Ie=Q+Rt|0,ae=re+Qn+(Ie>>>0<Q>>>0?1:0)|0,re=ee,Q=te,ee=K,te=Y,K=U,Y=z,z=Rt+PA|0,U=Qn+zE+(z>>>0<Rt>>>0?1:0)|0}I=E.low=I+z,E.high=D+U+(I>>>0<z>>>0?1:0),O=C.low=O+Y,C.high=_+K+(O>>>0<Y>>>0?1:0),R=m.low=R+te,m.high=T+ee+(R>>>0<te>>>0?1:0),F=g.low=F+Q,g.high=P+re+(F>>>0<Q>>>0?1:0),M=y.low=M+Ie,y.high=H+ae+(M>>>0<Ie>>>0?1:0),W=x.low=W+Ce,x.high=V+we+(W>>>0<Ce>>>0?1:0),G=w.low=G+Se,w.high=B+Ee+(G>>>0<Se>>>0?1:0),k=S.low=k+Ze,S.high=N+Ge+(k>>>0<Ze>>>0?1:0)},_doFinalize:function(){var p=this._data,h=p.words,v=this._nDataBytes*8,E=p.sigBytes*8;h[E>>>5]|=128<<24-E%32,h[(E+128>>>10<<5)+30]=Math.floor(v/4294967296),h[(E+128>>>10<<5)+31]=v,p.sigBytes=h.length*4,this._process();var C=this._hash.toX32();return C},clone:function(){var p=a.clone.call(this);return p._hash=this._hash.clone(),p},blockSize:1024/32});r.SHA512=a._createHelper(f),r.HmacSHA512=a._createHmacHelper(f)}(),n.SHA512})}(Xc)),Xc.exports}var Yc={exports:{}},Yp;function $3(){return Yp||(Yp=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Tu(),DE())})($,function(n){return function(){var r=n,i=r.x64,a=i.Word,s=i.WordArray,o=r.algo,l=o.SHA512,u=o.SHA384=l.extend({_doReset:function(){this._hash=new s.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var c=l._doFinalize.call(this);return c.sigBytes-=16,c}});r.SHA384=l._createHelper(u),r.HmacSHA384=l._createHmacHelper(u)}(),n.SHA384})}(Yc)),Yc.exports}var zc={exports:{}},zp;function q3(){return zp||(zp=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Tu())})($,function(n){return function(r){var i=n,a=i.lib,s=a.WordArray,o=a.Hasher,l=i.x64,u=l.Word,c=i.algo,A=[],d=[],f=[];(function(){for(var v=1,E=0,C=0;C<24;C++){A[v+5*E]=(C+1)*(C+2)/2%64;var m=E%5,g=(2*v+3*E)%5;v=m,E=g}for(var v=0;v<5;v++)for(var E=0;E<5;E++)d[v+5*E]=E+(2*v+3*E)%5*5;for(var y=1,x=0;x<24;x++){for(var w=0,S=0,D=0;D<7;D++){if(y&1){var I=(1<<D)-1;I<32?S^=1<<I:w^=1<<I-32}y&128?y=y<<1^113:y<<=1}f[x]=u.create(w,S)}})();var p=[];(function(){for(var v=0;v<25;v++)p[v]=u.create()})();var h=c.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var v=this._state=[],E=0;E<25;E++)v[E]=new u.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(v,E){for(var C=this._state,m=this.blockSize/2,g=0;g<m;g++){var y=v[E+2*g],x=v[E+2*g+1];y=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,x=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360;var w=C[g];w.high^=x,w.low^=y}for(var S=0;S<24;S++){for(var D=0;D<5;D++){for(var I=0,_=0,O=0;O<5;O++){var w=C[D+5*O];I^=w.high,_^=w.low}var T=p[D];T.high=I,T.low=_}for(var D=0;D<5;D++)for(var R=p[(D+4)%5],P=p[(D+1)%5],F=P.high,H=P.low,I=R.high^(F<<1|H>>>31),_=R.low^(H<<1|F>>>31),O=0;O<5;O++){var w=C[D+5*O];w.high^=I,w.low^=_}for(var M=1;M<25;M++){var I,_,w=C[M],V=w.high,W=w.low,B=A[M];B<32?(I=V<<B|W>>>32-B,_=W<<B|V>>>32-B):(I=W<<B-32|V>>>64-B,_=V<<B-32|W>>>64-B);var G=p[d[M]];G.high=I,G.low=_}var N=p[0],k=C[0];N.high=k.high,N.low=k.low;for(var D=0;D<5;D++)for(var O=0;O<5;O++){var M=D+5*O,w=C[M],U=p[M],z=p[(D+1)%5+5*O],K=p[(D+2)%5+5*O];w.high=U.high^~z.high&K.high,w.low=U.low^~z.low&K.low}var w=C[0],Y=f[S];w.high^=Y.high,w.low^=Y.low}},_doFinalize:function(){var v=this._data,E=v.words;this._nDataBytes*8;var C=v.sigBytes*8,m=this.blockSize*32;E[C>>>5]|=1<<24-C%32,E[(r.ceil((C+1)/m)*m>>>5)-1]|=128,v.sigBytes=E.length*4,this._process();for(var g=this._state,y=this.cfg.outputLength/8,x=y/8,w=[],S=0;S<x;S++){var D=g[S],I=D.high,_=D.low;I=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,w.push(_),w.push(I)}return new s.init(w,y)},clone:function(){for(var v=o.clone.call(this),E=v._state=this._state.slice(0),C=0;C<25;C++)E[C]=E[C].clone();return v}});i.SHA3=o._createHelper(h),i.HmacSHA3=o._createHmacHelper(h)}(Math),n.SHA3})}(zc)),zc.exports}var Kc={exports:{}},Kp;function j3(){return Kp||(Kp=1,function(t,e){(function(n,r){t.exports=r(Ae())})($,function(n){/** @preserve + See https://redux-toolkit.js.org/rtk-query/usage/server-side-rendering for new guidance on SSR.`)}function f(){typeof process<"u";var g=function(y){return Array.from(y.values()).flatMap(function(x){return x?Object.values(x):[]})};return Yo(Yo([],g(s)),g(o)).filter(Pc)}function p(g,y){return function(x){var w,S=a.endpointDefinitions[g],D=e({queryArgs:y,endpointDefinition:S,endpointName:g});return(w=s.get(x))==null?void 0:w[D]}}function h(g,y){return function(x){var w;return(w=o.get(x))==null?void 0:w[y]}}function v(){return function(g){return Object.values(s.get(g)||{}).filter(Pc)}}function E(){return function(g){return Object.values(o.get(g)||{}).filter(Pc)}}function C(g,y){var x=function(w,S){var D=S===void 0?{}:S,I=D.subscribe,_=I===void 0?!0:I,O=D.forceRefetch,T=D.subscriptionOptions,R=os,P=D[R];return function(F,H){var k,V,W=e({queryArgs:w,endpointDefinition:y,endpointName:g}),B=n((k={type:"query",subscribe:_,forceRefetch:O,subscriptionOptions:T,endpointName:g,originalArgs:w,queryCacheKey:W},k[os]=P,k)),G=i.endpoints[g].select(w),N=F(B),M=G(H()),U=N.requestId,z=N.abort,K=M.requestId!==U,Y=(V=s.get(F))==null?void 0:V[W],ee=function(){return G(H())},te=Object.assign(P?N.then(ee):K&&!Y?Promise.resolve(M):Promise.all([Y,N]).then(ee),{arg:w,requestId:U,subscriptionOptions:T,queryCacheKey:W,abort:z,unwrap:function(){return Ki(this,null,function(){var Q;return zi(this,function(ae){switch(ae.label){case 0:return[4,te];case 1:if(Q=ae.sent(),Q.isError)throw Q.error;return[2,Q.data]}})})},refetch:function(){return F(x(w,{subscribe:!1,forceRefetch:!0}))},unsubscribe:function(){_&&F(u({queryCacheKey:W,requestId:U}))},updateSubscriptionOptions:function(Q){te.subscriptionOptions=Q,F(A({endpointName:g,requestId:U,queryCacheKey:W,options:Q}))}});if(!Y&&!K&&!P){var re=s.get(F)||{};re[W]=te,s.set(F,re),te.then(function(){delete re[W],Object.keys(re).length||s.delete(F)})}return te}};return x}function m(g){return function(y,x){var w=x===void 0?{}:x,S=w.track,D=S===void 0?!0:S,I=w.fixedCacheKey;return function(_,O){var T=r({type:"mutation",endpointName:g,originalArgs:y,track:D,fixedCacheKey:I}),R=_(T),P=R.requestId,F=R.abort,H=R.unwrap,k=R.unwrap().then(function(G){return{data:G}}).catch(function(G){return{error:G}}),V=function(){_(c({requestId:P,fixedCacheKey:I}))},W=Object.assign(k,{arg:R.arg,requestId:P,abort:F,unwrap:H,unsubscribe:V,reset:V}),B=o.get(_)||{};return o.set(_,B),B[P]=W,W.then(function(){delete B[P],Object.keys(B).length||o.delete(_)}),I&&(B[I]=W,W.then(function(){B[I]===W&&(delete B[I],Object.keys(B).length||o.delete(_))})),W}}}}function Sp(t){return t}function d3(t){var e=this,n=t.reducerPath,r=t.baseQuery,i=t.context.endpointDefinitions,a=t.serializeQueryArgs,s=t.api,o=t.assertTagType,l=function(g,y,x,w){return function(S,D){var I=i[g],_=a({queryArgs:y,endpointDefinition:I,endpointName:g});if(S(s.internalActions.queryResultPatched({queryCacheKey:_,patches:x})),!!w){var O=s.endpoints[g].select(y)(D()),T=_A(I.providesTags,O.data,void 0,y,{},o);S(s.internalActions.updateProvidedBy({queryCacheKey:_,providedTags:T}))}}},u=function(g,y,x,w){return w===void 0&&(w=!0),function(S,D){var I,_,O=s.endpoints[g],T=O.select(y)(D()),R={patches:[],inversePatches:[],undo:function(){return S(s.util.patchQueryData(g,y,R.inversePatches,w))}};if(T.status===Pe.uninitialized)return R;var P;if("data"in T)if(sx(T.data)){var F=_v(T.data,x),H=F[0],k=F[1],V=F[2];(I=R.patches).push.apply(I,k),(_=R.inversePatches).push.apply(_,V),P=H}else P=x(T.data),R.patches.push({op:"replace",path:[],value:P}),R.inversePatches.push({op:"replace",path:[],value:T.data});return S(s.util.patchQueryData(g,y,R.patches,w)),R}},c=function(g,y,x){return function(w){var S;return w(s.endpoints[g].initiate(y,(S={subscribe:!1,forceRefetch:!0},S[os]=function(){return{data:x}},S)))}},A=function(g,y){return Ki(e,[g,y],function(x,w){var S,D,I,_,O,T,R,P,F,H,k,V,W,B,G,N,M,U,z=w.signal,K=w.abort,Y=w.rejectWithValue,ee=w.fulfillWithValue,te=w.dispatch,re=w.getState,Q=w.extra;return zi(this,function(ae){switch(ae.label){case 0:S=i[x.endpointName],ae.label=1;case 1:return ae.trys.push([1,8,,13]),D=Sp,I=void 0,_={signal:z,abort:K,dispatch:te,getState:re,extra:Q,endpoint:x.endpointName,type:x.type,forced:x.type==="query"?d(x,re()):void 0},O=x.type==="query"?x[os]:void 0,O?(I=O(),[3,6]):[3,2];case 2:return S.query?[4,r(S.query(x.originalArgs),_,S.extraOptions)]:[3,4];case 3:return I=ae.sent(),S.transformResponse&&(D=S.transformResponse),[3,6];case 4:return[4,S.queryFn(x.originalArgs,_,S.extraOptions,function(Ie){return r(Ie,_,S.extraOptions)})];case 5:I=ae.sent(),ae.label=6;case 6:if(typeof process<"u",I.error)throw new Bi(I.error,I.meta);return k=ee,[4,D(I.data,I.meta,x.originalArgs)];case 7:return[2,k.apply(void 0,[ae.sent(),(M={fulfilledTimeStamp:Date.now(),baseQueryMeta:I.meta},M[Es]=!0,M)])];case 8:if(V=ae.sent(),W=V,!(W instanceof Bi))return[3,12];B=Sp,S.query&&S.transformErrorResponse&&(B=S.transformErrorResponse),ae.label=9;case 9:return ae.trys.push([9,11,,12]),G=Y,[4,B(W.value,W.meta,x.originalArgs)];case 10:return[2,G.apply(void 0,[ae.sent(),(U={baseQueryMeta:W.meta},U[Es]=!0,U)])];case 11:return N=ae.sent(),W=N,[3,12];case 12:throw typeof process<"u",console.error(W),W;case 13:return[2]}})})};function d(g,y){var x,w,S,D,I=(w=(x=y[n])==null?void 0:x.queries)==null?void 0:w[g.queryCacheKey],_=(S=y[n])==null?void 0:S.config.refetchOnMountOrArgChange,O=I==null?void 0:I.fulfilledTimeStamp,T=(D=g.forceRefetch)!=null?D:g.subscribe&&_;return T?T===!0||(Number(new Date)-Number(O))/1e3>=T:!1}var f=MA(n+"/executeQuery",A,{getPendingMeta:function(){var g;return g={startedTimeStamp:Date.now()},g[Es]=!0,g},condition:function(g,y){var x=y.getState,w,S,D,I=x(),_=(S=(w=I[n])==null?void 0:w.queries)==null?void 0:S[g.queryCacheKey],O=_==null?void 0:_.fulfilledTimeStamp,T=g.originalArgs,R=_==null?void 0:_.originalArgs,P=i[g.endpointName];return x0(g)?!0:(_==null?void 0:_.status)==="pending"?!1:d(g,I)||wE(P)&&((D=P==null?void 0:P.forceRefetch)!=null&&D.call(P,{currentArg:T,previousArg:R,endpointState:_,state:I}))?!0:!O},dispatchConditionRejection:!0}),p=MA(n+"/executeMutation",A,{getPendingMeta:function(){var g;return g={startedTimeStamp:Date.now()},g[Es]=!0,g}}),h=function(g){return"force"in g},v=function(g){return"ifOlderThan"in g},E=function(g,y,x){return function(w,S){var D=h(x)&&x.force,I=v(x)&&x.ifOlderThan,_=function(P){return P===void 0&&(P=!0),s.endpoints[g].initiate(y,{forceRefetch:P})},O=s.endpoints[g].select(y)(S());if(D)w(_());else if(I){var T=O==null?void 0:O.fulfilledTimeStamp;if(!T){w(_());return}var R=(Number(new Date)-Number(new Date(T)))/1e3>=I;R&&w(_())}else w(_(!1))}};function C(g){return function(y){var x,w;return((w=(x=y==null?void 0:y.meta)==null?void 0:x.arg)==null?void 0:w.endpointName)===g}}function m(g,y){return{matchPending:ku(Dv(g),C(y)),matchFulfilled:ku(Zi(g),C(y)),matchRejected:ku(Ov(g),C(y))}}return{queryThunk:f,mutationThunk:p,prefetch:E,updateQueryData:u,upsertQueryData:c,patchQueryData:l,buildMatchThunkActions:m}}function SE(t,e,n,r){return _A(n[t.meta.arg.endpointName][e],Zi(t)?t.payload:void 0,qo(t)?t.payload:void 0,t.meta.arg.originalArgs,"baseQueryMeta"in t.meta?t.meta.baseQueryMeta:void 0,r)}function ro(t,e,n){var r=t[e];r&&n(r)}function ls(t){var e;return(e="arg"in t?t.arg.fixedCacheKey:t.fixedCacheKey)!=null?e:t.requestId}function bp(t,e,n){var r=t[ls(e)];r&&n(r)}var Fa={};function A3(t){var e=t.reducerPath,n=t.queryThunk,r=t.mutationThunk,i=t.context,a=i.endpointDefinitions,s=i.apiUid,o=i.extractRehydrationInfo,l=i.hasRehydrationInfo,u=t.assertTagType,c=t.config,A=Qi(e+"/resetApiState"),d=De({name:e+"/queries",initialState:Fa,reducers:{removeQueryResult:{reducer:function(y,x){var w=x.payload.queryCacheKey;delete y[w]},prepare:ua()},queryResultPatched:{reducer:function(y,x){var w=x.payload,S=w.queryCacheKey,D=w.patches;ro(y,S,function(I){I.data=kA(I.data,D.concat())})},prepare:ua()}},extraReducers:function(y){y.addCase(n.pending,function(x,w){var S=w.meta,D=w.meta.arg,I,_,O=x0(D);(D.subscribe||O)&&((_=x[I=D.queryCacheKey])!=null||(x[I]={status:Pe.uninitialized,endpointName:D.endpointName})),ro(x,D.queryCacheKey,function(T){T.status=Pe.pending,T.requestId=O&&T.requestId?T.requestId:S.requestId,D.originalArgs!==void 0&&(T.originalArgs=D.originalArgs),T.startedTimeStamp=S.startedTimeStamp})}).addCase(n.fulfilled,function(x,w){var S=w.meta,D=w.payload;ro(x,S.arg.queryCacheKey,function(I){var _;if(!(I.requestId!==S.requestId&&!x0(S.arg))){var O=a[S.arg.endpointName].merge;if(I.status=Pe.fulfilled,O)if(I.data!==void 0){var T=S.fulfilledTimeStamp,R=S.arg,P=S.baseQueryMeta,F=S.requestId,H=S0(I.data,function(k){return O(k,D,{arg:R.originalArgs,baseQueryMeta:P,fulfilledTimeStamp:T,requestId:F})});I.data=H}else I.data=D;else I.data=(_=a[S.arg.endpointName].structuralSharing)==null||_?xE(ox(I.data)?lx(I.data):I.data,D):D;delete I.error,I.fulfilledTimeStamp=S.fulfilledTimeStamp}})}).addCase(n.rejected,function(x,w){var S=w.meta,D=S.condition,I=S.arg,_=S.requestId,O=w.error,T=w.payload;ro(x,I.queryCacheKey,function(R){if(!D){if(R.requestId!==_)return;R.status=Pe.rejected,R.error=T??O}})}).addMatcher(l,function(x,w){for(var S=o(w).queries,D=0,I=Object.entries(S);D<I.length;D++){var _=I[D],O=_[0],T=_[1];((T==null?void 0:T.status)===Pe.fulfilled||(T==null?void 0:T.status)===Pe.rejected)&&(x[O]=T)}})}}),f=De({name:e+"/mutations",initialState:Fa,reducers:{removeMutationResult:{reducer:function(y,x){var w=x.payload,S=ls(w);S in y&&delete y[S]},prepare:ua()}},extraReducers:function(y){y.addCase(r.pending,function(x,w){var S=w.meta,D=w.meta,I=D.requestId,_=D.arg,O=D.startedTimeStamp;_.track&&(x[ls(S)]={requestId:I,status:Pe.pending,endpointName:_.endpointName,startedTimeStamp:O})}).addCase(r.fulfilled,function(x,w){var S=w.payload,D=w.meta;D.arg.track&&bp(x,D,function(I){I.requestId===D.requestId&&(I.status=Pe.fulfilled,I.data=S,I.fulfilledTimeStamp=D.fulfilledTimeStamp)})}).addCase(r.rejected,function(x,w){var S=w.payload,D=w.error,I=w.meta;I.arg.track&&bp(x,I,function(_){_.requestId===I.requestId&&(_.status=Pe.rejected,_.error=S??D)})}).addMatcher(l,function(x,w){for(var S=o(w).mutations,D=0,I=Object.entries(S);D<I.length;D++){var _=I[D],O=_[0],T=_[1];((T==null?void 0:T.status)===Pe.fulfilled||(T==null?void 0:T.status)===Pe.rejected)&&O!==(T==null?void 0:T.requestId)&&(x[O]=T)}})}}),p=De({name:e+"/invalidation",initialState:Fa,reducers:{updateProvidedBy:{reducer:function(y,x){for(var w,S,D,I,_=x.payload,O=_.queryCacheKey,T=_.providedTags,R=0,P=Object.values(y);R<P.length;R++)for(var F=P[R],H=0,k=Object.values(F);H<k.length;H++){var V=k[H],W=V.indexOf(O);W!==-1&&V.splice(W,1)}for(var B=0,G=T;B<G.length;B++){var N=G[B],M=N.type,U=N.id,z=(I=(S=(w=y[M])!=null?w:y[M]={})[D=U||"__internal_without_id"])!=null?I:S[D]=[],K=z.includes(O);K||z.push(O)}},prepare:ua()}},extraReducers:function(y){y.addCase(d.actions.removeQueryResult,function(x,w){for(var S=w.payload.queryCacheKey,D=0,I=Object.values(x);D<I.length;D++)for(var _=I[D],O=0,T=Object.values(_);O<T.length;O++){var R=T[O],P=R.indexOf(S);P!==-1&&R.splice(P,1)}}).addMatcher(l,function(x,w){for(var S,D,I,_,O=o(w).provided,T=0,R=Object.entries(O);T<R.length;T++)for(var P=R[T],F=P[0],H=P[1],k=0,V=Object.entries(H);k<V.length;k++)for(var W=V[k],B=W[0],G=W[1],N=(_=(D=(S=x[F])!=null?S:x[F]={})[I=B||"__internal_without_id"])!=null?_:D[I]=[],M=0,U=G;M<U.length;M++){var z=U[M],K=N.includes(z);K||N.push(z)}}).addMatcher(Sv(Zi(n),qo(n)),function(x,w){var S=SE(w,"providesTags",a,u),D=w.meta.arg.queryCacheKey;p.caseReducers.updateProvidedBy(x,p.actions.updateProvidedBy({queryCacheKey:D,providedTags:S}))})}}),h=De({name:e+"/subscriptions",initialState:Fa,reducers:{updateSubscriptionOptions:function(y,x){},unsubscribeQueryResult:function(y,x){},internal_probeSubscription:function(y,x){}}}),v=De({name:e+"/internalSubscriptions",initialState:Fa,reducers:{subscriptionsUpdated:{reducer:function(y,x){return kA(y,x.payload)},prepare:ua()}}}),E=De({name:e+"/config",initialState:Re({online:e3(),focused:t3(),middlewareRegistered:!1},c),reducers:{middlewareRegistered:function(y,x){var w=x.payload;y.middlewareRegistered=y.middlewareRegistered==="conflict"||s!==w?"conflict":!0}},extraReducers:function(y){y.addCase(bA,function(x){x.online=!0}).addCase(IE,function(x){x.online=!1}).addCase(SA,function(x){x.focused=!0}).addCase(yE,function(x){x.focused=!1}).addMatcher(l,function(x){return Re({},x)})}}),C=bv({queries:d.reducer,mutations:f.reducer,provided:p.reducer,subscriptions:v.reducer,config:E.reducer}),m=function(y,x){return C(A.match(x)?void 0:y,x)},g=pn(Re(Re(Re(Re(Re(Re({},E.actions),d.actions),h.actions),v.actions),f.actions),p.actions),{unsubscribeMutationResult:f.actions.removeMutationResult,resetApiState:A});return{reducer:m,actions:g}}var Kr=Symbol.for("RTKQ/skipToken"),bE={status:Pe.uninitialized},_p=S0(bE,function(){}),Dp=S0(bE,function(){});function f3(t){var e=t.serializeQueryArgs,n=t.reducerPath,r=function(c){return _p},i=function(c){return Dp};return{buildQuerySelector:o,buildMutationSelector:l,selectInvalidatedBy:u};function a(c){return Re(Re({},c),q8(c.status))}function s(c){var A=c[n];return A}function o(c,A){return function(d){var f=e({queryArgs:d,endpointDefinition:A,endpointName:c}),p=function(v){var E,C,m;return(m=(C=(E=s(v))==null?void 0:E.queries)==null?void 0:C[f])!=null?m:_p},h=d===Kr?r:p;return $r(h,a)}}function l(){return function(c){var A,d;typeof c=="object"?d=(A=ls(c))!=null?A:Kr:d=c;var f=function(h){var v,E,C;return(C=(E=(v=s(h))==null?void 0:v.mutations)==null?void 0:E[d])!=null?C:Dp},p=d===Kr?i:f;return $r(p,a)}}function u(c,A){for(var d,f=c[n],p=new Set,h=0,v=A.map(E0);h<v.length;h++){var E=v[h],C=f.provided[E.type];if(C)for(var m=(d=E.id!==void 0?C[E.id]:Ep(Object.values(C)))!=null?d:[],g=0,y=m;g<y.length;g++){var x=y[g];p.add(x)}}return Ep(Array.from(p.values()).map(function(w){var S=f.queries[w];return S?[{queryCacheKey:w,endpointName:S.endpointName,originalArgs:S.originalArgs}]:[]}))}}var io=WeakMap?new WeakMap:void 0,Op=function(t){var e=t.endpointName,n=t.queryArgs,r="",i=io==null?void 0:io.get(n);if(typeof i=="string")r=i;else{var a=JSON.stringify(n,function(s,o){return Jr(o)?Object.keys(o).sort().reduce(function(l,u){return l[u]=o[u],l},{}):o});Jr(n)&&(io==null||io.set(n,a)),r=a}return e+"("+r+")"};function h3(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(r){var i=Ed(function(c){var A,d;return(d=r.extractRehydrationInfo)==null?void 0:d.call(r,c,{reducerPath:(A=r.reducerPath)!=null?A:"api"})}),a=pn(Re({reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1},r),{extractRehydrationInfo:i,serializeQueryArgs:function(c){var A=Op;if("serializeQueryArgs"in c.endpointDefinition){var d=c.endpointDefinition.serializeQueryArgs;A=function(f){var p=d(f);return typeof p=="string"?p:Op(pn(Re({},f),{queryArgs:p}))}}else r.serializeQueryArgs&&(A=r.serializeQueryArgs);return A(c)},tagTypes:Yo([],r.tagTypes||[])}),s={endpointDefinitions:{},batch:function(c){c()},apiUid:ix(),extractRehydrationInfo:i,hasRehydrationInfo:Ed(function(c){return i(c)!=null})},o={injectEndpoints:u,enhanceEndpoints:function(c){var A=c.addTagTypes,d=c.endpoints;if(A)for(var f=0,p=A;f<p.length;f++){var h=p[f];a.tagTypes.includes(h)||a.tagTypes.push(h)}if(d)for(var v=0,E=Object.entries(d);v<E.length;v++){var C=E[v],m=C[0],g=C[1];typeof g=="function"?g(s.endpointDefinitions[m]):Object.assign(s.endpointDefinitions[m]||{},g)}return o}},l=t.map(function(c){return c.init(o,a,s)});function u(c){for(var A=c.endpoints({query:function(g){return pn(Re({},g),{type:Cn.query})},mutation:function(g){return pn(Re({},g),{type:Cn.mutation})}}),d=0,f=Object.entries(A);d<f.length;d++){var p=f[d],h=p[0],v=p[1];if(!c.overrideExisting&&h in s.endpointDefinitions){typeof process<"u";continue}s.endpointDefinitions[h]=v;for(var E=0,C=l;E<C.length;E++){var m=C[E];m.injectEndpoint(h,v)}}return o}return o.injectEndpoints({endpoints:r.endpoints})}}function p3(t){for(var e in t)return!1;return!0}var v3=2147483647/1e3-1,g3=function(t){var e=t.reducerPath,n=t.api,r=t.context,i=t.internalState,a=n.internalActions,s=a.removeQueryResult,o=a.unsubscribeQueryResult;function l(d){var f=i.currentSubscriptions[d];return!!f&&!p3(f)}var u={},c=function(d,f,p){var h;if(o.match(d)){var v=f.getState()[e],E=d.payload.queryCacheKey;A(E,(h=v.queries[E])==null?void 0:h.endpointName,f,v.config)}if(n.util.resetApiState.match(d))for(var C=0,m=Object.entries(u);C<m.length;C++){var g=m[C],y=g[0],x=g[1];x&&clearTimeout(x),delete u[y]}if(r.hasRehydrationInfo(d))for(var v=f.getState()[e],w=r.extractRehydrationInfo(d).queries,S=0,D=Object.entries(w);S<D.length;S++){var I=D[S],E=I[0],_=I[1];A(E,_==null?void 0:_.endpointName,f,v.config)}};function A(d,f,p,h){var v,E=r.endpointDefinitions[f],C=(v=E==null?void 0:E.keepUnusedDataFor)!=null?v:h.keepUnusedDataFor;if(C!==1/0){var m=Math.max(0,Math.min(C,v3));if(!l(d)){var g=u[d];g&&clearTimeout(g),u[d]=setTimeout(function(){l(d)||p.dispatch(s({queryCacheKey:d})),delete u[d]},m*1e3)}}}return c},m3=function(t){var e=t.reducerPath,n=t.context,r=t.context.endpointDefinitions,i=t.mutationThunk,a=t.api,s=t.assertTagType,o=t.refetchQuery,l=a.internalActions.removeQueryResult,u=Sv(Zi(i),qo(i)),c=function(d,f){u(d)&&A(SE(d,"invalidatesTags",r,s),f),a.util.invalidateTags.match(d)&&A(_A(d.payload,void 0,void 0,void 0,void 0,s),f)};function A(d,f){var p=f.getState(),h=p[e],v=a.util.selectInvalidatedBy(p,d);n.batch(function(){for(var E,C=Array.from(v.values()),m=0,g=C;m<g.length;m++){var y=g[m].queryCacheKey,x=h.queries[y],w=(E=h.subscriptions[y])!=null?E:{};x&&(Object.keys(w).length===0?f.dispatch(l({queryCacheKey:y})):x.status!==Pe.uninitialized&&f.dispatch(o(x,y)))}})}return c},C3=function(t){var e=t.reducerPath,n=t.queryThunk,r=t.api,i=t.refetchQuery,a=t.internalState,s={},o=function(f,p){(r.internalActions.updateSubscriptionOptions.match(f)||r.internalActions.unsubscribeQueryResult.match(f))&&u(f.payload,p),(n.pending.match(f)||n.rejected.match(f)&&f.meta.condition)&&u(f.meta.arg,p),(n.fulfilled.match(f)||n.rejected.match(f)&&!f.meta.condition)&&l(f.meta.arg,p),r.util.resetApiState.match(f)&&A()};function l(f,p){var h=f.queryCacheKey,v=p.getState()[e],E=v.queries[h],C=a.currentSubscriptions[h];if(!(!E||E.status===Pe.uninitialized)){var m=d(C);if(Number.isFinite(m)){var g=s[h];g!=null&&g.timeout&&(clearTimeout(g.timeout),g.timeout=void 0);var y=Date.now()+m,x=s[h]={nextPollTimestamp:y,pollingInterval:m,timeout:setTimeout(function(){x.timeout=void 0,p.dispatch(i(E,h))},m)}}}}function u(f,p){var h=f.queryCacheKey,v=p.getState()[e],E=v.queries[h],C=a.currentSubscriptions[h];if(!(!E||E.status===Pe.uninitialized)){var m=d(C);if(!Number.isFinite(m)){c(h);return}var g=s[h],y=Date.now()+m;(!g||y<g.nextPollTimestamp)&&l({queryCacheKey:h},p)}}function c(f){var p=s[f];p!=null&&p.timeout&&clearTimeout(p.timeout),delete s[f]}function A(){for(var f=0,p=Object.keys(s);f<p.length;f++){var h=p[f];c(h)}}function d(f){f===void 0&&(f={});var p=Number.POSITIVE_INFINITY;for(var h in f)f[h].pollingInterval&&(p=Math.min(f[h].pollingInterval,p));return p}return o},E3=function(t){var e=t.reducerPath,n=t.context,r=t.api,i=t.refetchQuery,a=t.internalState,s=r.internalActions.removeQueryResult,o=function(u,c){SA.match(u)&&l(c,"refetchOnFocus"),bA.match(u)&&l(c,"refetchOnReconnect")};function l(u,c){var A=u.getState()[e],d=A.queries,f=a.currentSubscriptions;n.batch(function(){for(var p=0,h=Object.keys(f);p<h.length;p++){var v=h[p],E=d[v],C=f[v];if(!(!C||!E)){var m=Object.values(C).some(function(g){return g[c]===!0})||Object.values(C).every(function(g){return g[c]===void 0})&&A.config[c];m&&(Object.keys(C).length===0?u.dispatch(s({queryCacheKey:v})):E.status!==Pe.uninitialized&&u.dispatch(i(E,v)))}}})}return o},Tp=new Error("Promise never resolved before cacheEntryRemoved."),x3=function(t){var e=t.api,n=t.reducerPath,r=t.context,i=t.queryThunk,a=t.mutationThunk;t.internalState;var s=BA(i),o=BA(a),l=Zi(i,a),u={},c=function(f,p,h){var v=A(f);if(i.pending.match(f)){var E=h[n].queries[v],C=p.getState()[n].queries[v];!E&&C&&d(f.meta.arg.endpointName,f.meta.arg.originalArgs,v,p,f.meta.requestId)}else if(a.pending.match(f)){var C=p.getState()[n].mutations[v];C&&d(f.meta.arg.endpointName,f.meta.arg.originalArgs,v,p,f.meta.requestId)}else if(l(f)){var m=u[v];m!=null&&m.valueResolved&&(m.valueResolved({data:f.payload,meta:f.meta.baseQueryMeta}),delete m.valueResolved)}else if(e.internalActions.removeQueryResult.match(f)||e.internalActions.removeMutationResult.match(f)){var m=u[v];m&&(delete u[v],m.cacheEntryRemoved())}else if(e.util.resetApiState.match(f))for(var g=0,y=Object.entries(u);g<y.length;g++){var x=y[g],w=x[0],m=x[1];delete u[w],m.cacheEntryRemoved()}};function A(f){return s(f)?f.meta.arg.queryCacheKey:o(f)?f.meta.requestId:e.internalActions.removeQueryResult.match(f)?f.payload.queryCacheKey:e.internalActions.removeMutationResult.match(f)?ls(f.payload):""}function d(f,p,h,v,E){var C=r.endpointDefinitions[f],m=C==null?void 0:C.onCacheEntryAdded;if(m){var g={},y=new Promise(function(_){g.cacheEntryRemoved=_}),x=Promise.race([new Promise(function(_){g.valueResolved=_}),y.then(function(){throw Tp})]);x.catch(function(){}),u[h]=g;var w=e.endpoints[f].select(C.type===Cn.query?p:h),S=v.dispatch(function(_,O,T){return T}),D=pn(Re({},v),{getCacheEntry:function(){return w(v.getState())},requestId:E,extra:S,updateCachedData:C.type===Cn.query?function(_){return v.dispatch(e.util.updateQueryData(f,p,_))}:void 0,cacheDataLoaded:x,cacheEntryRemoved:y}),I=m(p,D);Promise.resolve(I).catch(function(_){if(_!==Tp)throw _})}}return c},y3=function(t){var e=t.api,n=t.context,r=t.queryThunk,i=t.mutationThunk,a=Dv(r,i),s=Ov(r,i),o=Zi(r,i),l={},u=function(c,A){var d,f,p;if(a(c)){var h=c.meta,v=h.requestId,E=h.arg,C=E.endpointName,m=E.originalArgs,g=n.endpointDefinitions[C],y=g==null?void 0:g.onQueryStarted;if(y){var x={},w=new Promise(function(P,F){x.resolve=P,x.reject=F});w.catch(function(){}),l[v]=x;var S=e.endpoints[C].select(g.type===Cn.query?m:v),D=A.dispatch(function(P,F,H){return H}),I=pn(Re({},A),{getCacheEntry:function(){return S(A.getState())},requestId:v,extra:D,updateCachedData:g.type===Cn.query?function(P){return A.dispatch(e.util.updateQueryData(C,m,P))}:void 0,queryFulfilled:w});y(m,I)}}else if(o(c)){var _=c.meta,v=_.requestId,O=_.baseQueryMeta;(d=l[v])==null||d.resolve({data:c.payload,meta:O}),delete l[v]}else if(s(c)){var T=c.meta,v=T.requestId,R=T.rejectedWithValue,O=T.baseQueryMeta;(p=l[v])==null||p.reject({error:(f=c.payload)!=null?f:c.error,isUnhandledError:!R,meta:O}),delete l[v]}};return u},I3=function(t){var e=t.api,n=t.context.apiUid,r=t.reducerPath;return function(i,a){var s,o;e.util.resetApiState.match(i)&&a.dispatch(e.internalActions.middlewareRegistered(n)),typeof process<"u"}},Pp,w3=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Pp||(Pp=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},S3=function(t){var e=t.api,n=t.queryThunk,r=t.internalState,i=e.reducerPath+"/subscriptions",a=null,s=!1,o=e.internalActions,l=o.updateSubscriptionOptions,u=o.unsubscribeQueryResult,c=function(A,d){var f,p,h,v,E,C,m,g,y;if(l.match(d)){var x=d.payload,w=x.queryCacheKey,S=x.requestId,D=x.options;return(f=A==null?void 0:A[w])!=null&&f[S]&&(A[w][S]=D),!0}if(u.match(d)){var I=d.payload,w=I.queryCacheKey,S=I.requestId;return A[w]&&delete A[w][S],!0}if(e.internalActions.removeQueryResult.match(d))return delete A[d.payload.queryCacheKey],!0;if(n.pending.match(d)){var _=d.meta,O=_.arg,S=_.requestId;if(O.subscribe){var T=(h=A[p=O.queryCacheKey])!=null?h:A[p]={};return T[S]=(E=(v=O.subscriptionOptions)!=null?v:T[S])!=null?E:{},!0}}if(n.rejected.match(d)){var R=d.meta,P=R.condition,O=R.arg,S=R.requestId;if(P&&O.subscribe){var T=(m=A[C=O.queryCacheKey])!=null?m:A[C]={};return T[S]=(y=(g=O.subscriptionOptions)!=null?g:T[S])!=null?y:{},!0}}return!1};return function(A,d){var f,p;if(a||(a=JSON.parse(JSON.stringify(r.currentSubscriptions))),e.util.resetApiState.match(A))return a=r.currentSubscriptions={},[!0,!1];if(e.internalActions.internal_probeSubscription.match(A)){var h=A.payload,v=h.queryCacheKey,E=h.requestId,C=!!((f=r.currentSubscriptions[v])!=null&&f[E]);return[!1,C]}var m=c(r.currentSubscriptions,A);if(m){s||(w3(function(){var w=JSON.parse(JSON.stringify(r.currentSubscriptions)),S=_v(a,function(){return w}),D=S[1];d.next(e.internalActions.subscriptionsUpdated(D)),a=w,s=!1}),s=!0);var g=!!((p=A.type)!=null&&p.startsWith(i)),y=n.rejected.match(A)&&A.meta.condition&&!!A.meta.arg.subscribe,x=!g&&!y;return[x,!1]}return[!0,!1]}};function b3(t){var e=t.reducerPath,n=t.queryThunk,r=t.api,i=t.context,a=i.apiUid,s={invalidateTags:Qi(e+"/invalidateTags")},o=function(A){return!!A&&typeof A.type=="string"&&A.type.startsWith(e+"/")},l=[I3,g3,m3,C3,x3,y3],u=function(A){var d=!1,f={currentSubscriptions:{}},p=pn(Re({},t),{internalState:f,refetchQuery:c}),h=l.map(function(C){return C(p)}),v=S3(p),E=E3(p);return function(C){return function(m){d||(d=!0,A.dispatch(r.internalActions.middlewareRegistered(a)));var g=pn(Re({},A),{next:C}),y=A.getState(),x=v(m,g,y),w=x[0],S=x[1],D;if(w?D=C(m):D=S,A.getState()[e]&&(E(m,g,y),o(m)||i.hasRehydrationInfo(m)))for(var I=0,_=h;I<_.length;I++){var O=_[I];O(m,g,y)}return D}}};return{middleware:u,actions:s};function c(A,d,f){return f===void 0&&(f={}),n(Re({type:"query",endpointName:A.endpointName,originalArgs:A.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:d},f))}}function lr(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];Object.assign.apply(Object,Yo([t],e))}var Rp=Symbol(),_3=function(){return{name:Rp,init:function(t,e,n){var r=e.baseQuery,i=e.tagTypes,a=e.reducerPath,s=e.serializeQueryArgs,o=e.keepUnusedDataFor,l=e.refetchOnMountOrArgChange,u=e.refetchOnFocus,c=e.refetchOnReconnect;ax();var A=function(N){return typeof process<"u",N};Object.assign(t,{reducerPath:a,endpoints:{},internalActions:{onOnline:bA,onOffline:IE,onFocus:SA,onFocusLost:yE},util:{}});var d=d3({baseQuery:r,reducerPath:a,context:n,api:t,serializeQueryArgs:s,assertTagType:A}),f=d.queryThunk,p=d.mutationThunk,h=d.patchQueryData,v=d.updateQueryData,E=d.upsertQueryData,C=d.prefetch,m=d.buildMatchThunkActions,g=A3({context:n,queryThunk:f,mutationThunk:p,reducerPath:a,assertTagType:A,config:{refetchOnFocus:u,refetchOnReconnect:c,refetchOnMountOrArgChange:l,keepUnusedDataFor:o,reducerPath:a}}),y=g.reducer,x=g.actions;lr(t.util,{patchQueryData:h,updateQueryData:v,upsertQueryData:E,prefetch:C,resetApiState:x.resetApiState}),lr(t.internalActions,x);var w=b3({reducerPath:a,context:n,queryThunk:f,mutationThunk:p,api:t,assertTagType:A}),S=w.middleware,D=w.actions;lr(t.util,D),lr(t,{reducer:y,middleware:S});var I=f3({serializeQueryArgs:s,reducerPath:a}),_=I.buildQuerySelector,O=I.buildMutationSelector,T=I.selectInvalidatedBy;lr(t.util,{selectInvalidatedBy:T});var R=c3({queryThunk:f,mutationThunk:p,api:t,serializeQueryArgs:s,context:n}),P=R.buildInitiateQuery,F=R.buildInitiateMutation,H=R.getRunningMutationThunk,k=R.getRunningMutationsThunk,V=R.getRunningQueriesThunk,W=R.getRunningQueryThunk,B=R.getRunningOperationPromises,G=R.removalWarning;return lr(t.util,{getRunningOperationPromises:B,getRunningOperationPromise:G,getRunningMutationThunk:H,getRunningMutationsThunk:k,getRunningQueryThunk:W,getRunningQueriesThunk:V}),{name:Rp,injectEndpoint:function(N,M){var U,z,K=t;(z=(U=K.endpoints)[N])!=null||(U[N]={}),wE(M)?lr(K.endpoints[N],{name:N,select:_(N,M),initiate:P(N,M)},m(f,N)):l3(M)&&lr(K.endpoints[N],{name:N,select:O(),initiate:F(N)},m(p,N))}}}}},D3=function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t},O3=Object.defineProperty,T3=Object.defineProperties,P3=Object.getOwnPropertyDescriptors,Fp=Object.getOwnPropertySymbols,R3=Object.prototype.hasOwnProperty,F3=Object.prototype.propertyIsEnumerable,Mp=function(t,e,n){return e in t?O3(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n},Rn=function(t,e){for(var n in e||(e={}))R3.call(e,n)&&Mp(t,n,e[n]);if(Fp)for(var r=0,i=Fp(e);r<i.length;r++){var n=i[r];F3.call(e,n)&&Mp(t,n,e[n])}return t},mo=function(t,e){return T3(t,P3(e))};function kp(t,e,n,r){var i=b.useMemo(function(){return{queryArgs:t,serialized:typeof t=="object"?e({queryArgs:t,endpointDefinition:n,endpointName:r}):t}},[t,e,n,r]),a=b.useRef(i);return b.useEffect(function(){a.current.serialized!==i.serialized&&(a.current=i)},[i]),a.current.serialized===i.serialized?a.current.queryArgs:t}var Rc=Symbol();function Fc(t){var e=b.useRef(t);return b.useEffect(function(){xo(e.current,t)||(e.current=t)},[t]),xo(e.current,t)?e.current:t}var ao=WeakMap?new WeakMap:void 0,M3=function(t){var e=t.endpointName,n=t.queryArgs,r="",i=ao==null?void 0:ao.get(n);if(typeof i=="string")r=i;else{var a=JSON.stringify(n,function(s,o){return Jr(o)?Object.keys(o).sort().reduce(function(l,u){return l[u]=o[u],l},{}):o});Jr(n)&&(ao==null||ao.set(n,a)),r=a}return e+"("+r+")"},k3=typeof window<"u"&&window.document&&window.document.createElement?b.useLayoutEffect:b.useEffect,B3=function(t){return t},N3=function(t){return t.isUninitialized?mo(Rn({},t),{isUninitialized:!1,isFetching:!0,isLoading:t.data===void 0,status:Pe.pending}):t};function G3(t){var e=t.api,n=t.moduleOptions,r=n.batch,i=n.useDispatch,a=n.useSelector,s=n.useStore,o=n.unstable__sideEffectsInRender,l=t.serializeQueryArgs,u=t.context,c=o?function(h){return h()}:b.useEffect;return{buildQueryHooks:f,buildMutationHook:p,usePrefetch:d};function A(h,v,E){if(v!=null&&v.endpointName&&h.isUninitialized){var C=v.endpointName,m=u.endpointDefinitions[C];l({queryArgs:v.originalArgs,endpointDefinition:m,endpointName:C})===l({queryArgs:E,endpointDefinition:m,endpointName:C})&&(v=void 0)}var g=h.isSuccess?h.data:v==null?void 0:v.data;g===void 0&&(g=h.data);var y=g!==void 0,x=h.isLoading,w=!y&&x,S=h.isSuccess||x&&y;return mo(Rn({},h),{data:g,currentData:h.data,isFetching:x,isLoading:w,isSuccess:S})}function d(h,v){var E=i(),C=Fc(v);return b.useCallback(function(m,g){return E(e.util.prefetch(h,m,Rn(Rn({},C),g)))},[h,E,C])}function f(h){var v=function(m,g){var y=g===void 0?{}:g,x=y.refetchOnReconnect,w=y.refetchOnFocus,S=y.refetchOnMountOrArgChange,D=y.skip,I=D===void 0?!1:D,_=y.pollingInterval,O=_===void 0?0:_,T=e.endpoints[h].initiate,R=i(),P=kp(I?Kr:m,M3,u.endpointDefinitions[h],h),F=Fc({refetchOnReconnect:x,refetchOnFocus:w,pollingInterval:O}),H=b.useRef(!1),k=b.useRef(),V=k.current||{},W=V.queryCacheKey,B=V.requestId,G=!1;if(W&&B){var N=R(e.internalActions.internal_probeSubscription({queryCacheKey:W,requestId:B}));G=!!N}var M=!G&&H.current;return c(function(){H.current=G}),c(function(){M&&(k.current=void 0)},[M]),c(function(){var U,z=k.current;if(typeof process<"u",P===Kr){z==null||z.unsubscribe(),k.current=void 0;return}var K=(U=k.current)==null?void 0:U.subscriptionOptions;if(!z||z.arg!==P){z==null||z.unsubscribe();var Y=R(T(P,{subscriptionOptions:F,forceRefetch:S}));k.current=Y}else F!==K&&z.updateSubscriptionOptions(F)},[R,T,S,P,F,M]),b.useEffect(function(){return function(){var U;(U=k.current)==null||U.unsubscribe(),k.current=void 0}},[]),b.useMemo(function(){return{refetch:function(){var U;if(!k.current)throw new Error("Cannot refetch a query that has not been started yet.");return(U=k.current)==null?void 0:U.refetch()}}},[])},E=function(m){var g=m===void 0?{}:m,y=g.refetchOnReconnect,x=g.refetchOnFocus,w=g.pollingInterval,S=w===void 0?0:w,D=e.endpoints[h].initiate,I=i(),_=b.useState(Rc),O=_[0],T=_[1],R=b.useRef(),P=Fc({refetchOnReconnect:y,refetchOnFocus:x,pollingInterval:S});c(function(){var k,V,W=(k=R.current)==null?void 0:k.subscriptionOptions;P!==W&&((V=R.current)==null||V.updateSubscriptionOptions(P))},[P]);var F=b.useRef(P);c(function(){F.current=P},[P]);var H=b.useCallback(function(k,V){V===void 0&&(V=!1);var W;return r(function(){var B;(B=R.current)==null||B.unsubscribe(),R.current=W=I(D(k,{subscriptionOptions:F.current,forceRefetch:!V})),T(k)}),W},[I,D]);return b.useEffect(function(){return function(){var k;(k=R==null?void 0:R.current)==null||k.unsubscribe()}},[]),b.useEffect(function(){O!==Rc&&!R.current&&H(O,!0)},[O,H]),b.useMemo(function(){return[H,O]},[H,O])},C=function(m,g){var y=g===void 0?{}:g,x=y.skip,w=x===void 0?!1:x,S=y.selectFromResult,D=e.endpoints[h].select,I=kp(w?Kr:m,l,u.endpointDefinitions[h],h),_=b.useRef(),O=b.useMemo(function(){return $r([D(I),function(H,k){return k},function(H){return I}],A)},[D,I]),T=b.useMemo(function(){return S?$r([O],S):O},[O,S]),R=a(function(H){return T(H,_.current)},xo),P=s(),F=O(P.getState(),_.current);return k3(function(){_.current=F},[F]),R};return{useQueryState:C,useQuerySubscription:v,useLazyQuerySubscription:E,useLazyQuery:function(m){var g=E(m),y=g[0],x=g[1],w=C(x,mo(Rn({},m),{skip:x===Rc})),S=b.useMemo(function(){return{lastArg:x}},[x]);return b.useMemo(function(){return[y,w,S]},[y,w,S])},useQuery:function(m,g){var y=v(m,g),x=C(m,Rn({selectFromResult:m===Kr||g!=null&&g.skip?void 0:N3},g)),w=x.data,S=x.status,D=x.isLoading,I=x.isSuccess,_=x.isError,O=x.error;return b.useDebugValue({data:w,status:S,isLoading:D,isSuccess:I,isError:_,error:O}),b.useMemo(function(){return Rn(Rn({},x),y)},[x,y])}}}function p(h){return function(v){var E=v===void 0?{}:v,C=E.selectFromResult,m=C===void 0?B3:C,g=E.fixedCacheKey,y=e.endpoints[h],x=y.select,w=y.initiate,S=i(),D=b.useState(),I=D[0],_=D[1];b.useEffect(function(){return function(){I!=null&&I.arg.fixedCacheKey||I==null||I.reset()}},[I]);var O=b.useCallback(function(z){var K=S(w(z,{fixedCacheKey:g}));return _(K),K},[S,w,g]),T=(I||{}).requestId,R=b.useMemo(function(){return $r([x({fixedCacheKey:g,requestId:I==null?void 0:I.requestId})],m)},[x,I,m,g]),P=a(R,xo),F=g==null?I==null?void 0:I.arg.originalArgs:void 0,H=b.useCallback(function(){r(function(){I&&_(void 0),g&&S(e.internalActions.removeMutationResult({requestId:T,fixedCacheKey:g}))})},[S,g,I,T]),k=P.endpointName,V=P.data,W=P.status,B=P.isLoading,G=P.isSuccess,N=P.isError,M=P.error;b.useDebugValue({endpointName:k,data:V,status:W,isLoading:B,isSuccess:G,isError:N,error:M});var U=b.useMemo(function(){return mo(Rn({},P),{originalArgs:F,reset:H})},[P,F,H]);return b.useMemo(function(){return[O,U]},[O,U])}}}var Ko;(function(t){t.query="query",t.mutation="mutation"})(Ko||(Ko={}));function L3(t){return t.type===Ko.query}function V3(t){return t.type===Ko.mutation}function Mc(t){return t.replace(t[0],t[0].toUpperCase())}function so(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];Object.assign.apply(Object,D3([t],e))}var H3=Symbol(),U3=function(t){var e={},n=e.batch,r=n===void 0?Zx.unstable_batchedUpdates:n,i=e.useDispatch,a=i===void 0?ng:i,s=e.useSelector,o=s===void 0?ux:s,l=e.useStore,u=l===void 0?tg:l,c=e.unstable__sideEffectsInRender,A=c===void 0?!1:c;return{name:H3,init:function(d,f,p){var h=f.serializeQueryArgs,v=d,E=G3({api:d,moduleOptions:{batch:r,useDispatch:a,useSelector:o,useStore:u,unstable__sideEffectsInRender:A},serializeQueryArgs:h,context:p}),C=E.buildQueryHooks,m=E.buildMutationHook,g=E.usePrefetch;return so(v,{usePrefetch:g}),so(p,{batch:r}),{injectEndpoint:function(y,x){if(L3(x)){var w=C(y),S=w.useQuery,D=w.useLazyQuery,I=w.useLazyQuerySubscription,_=w.useQueryState,O=w.useQuerySubscription;so(v.endpoints[y],{useQuery:S,useLazyQuery:D,useLazyQuerySubscription:I,useQueryState:_,useQuerySubscription:O}),d["use"+Mc(y)+"Query"]=S,d["useLazy"+Mc(y)+"Query"]=D}else if(V3(x)){var T=m(y);so(v.endpoints[y],{useMutation:T}),d["use"+Mc(y)+"Mutation"]=T}}}}}},W3=h3(_3(),U3()),cr=(t=>(t[t.none=0]="none",t[t.second=1]="second",t[t.minute=60]="minute",t[t.fiveMinutes=300]="fiveMinutes",t[t.hour=3600]="hour",t[t.day=86400]="day",t[t.week=604800]="week",t))(cr||{}),_E=(t=>(t[t.short=1e3]="short",t[t.medium=15e3]="medium",t[t.long=3e4]="long",t))(_E||{}),$i=(t=>(t.registerDevice="registerDevice",t.unregisterDevice="unregisterDevice",t))($i||{}),Tn=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,62,0,62,0,63,52,53,54,55,56,57,58,59,60,61,0,0,0,0,0,0,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,0,0,0,0,63,0,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],X3=function(e,n){for(var r=e.length,i=e[r-2]==="="?2:e[r-1]==="="?1:0,a,s=0,o=r-i&4294967292,l=0;l<o;l+=4)a=Tn[e.charCodeAt(l)]<<18|Tn[e.charCodeAt(l+1)]<<12|Tn[e.charCodeAt(l+2)]<<6|Tn[e.charCodeAt(l+3)],n[s++]=a>>16&255,n[s++]=a>>8&255,n[s++]=a&255;i===1&&(a=Tn[e.charCodeAt(l)]<<10|Tn[e.charCodeAt(l+1)]<<4|Tn[e.charCodeAt(l+2)]>>2,n[s++]=a>>8&255,n[s++]=a&255),i===2&&(a=Tn[e.charCodeAt(l)]<<2|Tn[e.charCodeAt(l+1)]>>4,n[s++]=a&255)};const Y3=X3,{NativeModules:oo}=Qo;class z3 extends Error{}class K3 extends Error{}let Bp=!1;function $3(t){Bp||(console.warn("Using an insecure random number generator, this should only happen when running in a debugger without support for crypto.getRandomValues"),Bp=!0);for(let e=0,n;e<t.length;e++)e&3||(n=Math.random()*4294967296),t[e]=n>>>((e&3)<<3)&255;return t}function q3(t){if(oo.RNGetRandomValues)return oo.RNGetRandomValues.getRandomBase64(t);if(oo.ExpoRandom)return oo.ExpoRandom.getRandomBase64String(t);if($.ExpoModules)return $.ExpoModules.ExpoRandom.getRandomBase64String(t);throw new Error("Native module not found")}function j3(t){if(!(t instanceof Int8Array||t instanceof Uint8Array||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Uint8ClampedArray))throw new z3("Expected an integer array");if(t.byteLength>65536)throw new K3("Can only request a maximum of 65536 bytes");return $.expo&&$.expo.modules&&$.expo.modules.ExpoCrypto&&$.expo.modules.ExpoCrypto.getRandomValues?($.expo.modules.ExpoCrypto.getRandomValues(t),t):Q3()?$3(t):(Y3(q3(t.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength)),t)}function Q3(){return"RN$Bridgeless"in $&&RN$Bridgeless===!0,!1}typeof $.crypto!="object"&&($.crypto={});typeof $.crypto.getRandomValues!="function"&&($.crypto.getRandomValues=j3);var DE={exports:{}},kc={exports:{}},Np;function Ae(){return Np||(Np=1,function(t,e){(function(n,r){t.exports=r()})($,function(){var n=n||function(r,i){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof $<"u"&&$.crypto&&(a=$.crypto),!a&&typeof Jx=="function")try{a=r2}catch{}var s=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function C(){}return function(m){var g;return C.prototype=m,g=new C,C.prototype=null,g}}(),l={},u=l.lib={},c=u.Base=function(){return{extend:function(C){var m=o(this);return C&&m.mixIn(C),(!m.hasOwnProperty("init")||this.init===m.init)&&(m.init=function(){m.$super.init.apply(this,arguments)}),m.init.prototype=m,m.$super=this,m},create:function(){var C=this.extend();return C.init.apply(C,arguments),C},init:function(){},mixIn:function(C){for(var m in C)C.hasOwnProperty(m)&&(this[m]=C[m]);C.hasOwnProperty("toString")&&(this.toString=C.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),A=u.WordArray=c.extend({init:function(C,m){C=this.words=C||[],m!=i?this.sigBytes=m:this.sigBytes=C.length*4},toString:function(C){return(C||f).stringify(this)},concat:function(C){var m=this.words,g=C.words,y=this.sigBytes,x=C.sigBytes;if(this.clamp(),y%4)for(var w=0;w<x;w++){var S=g[w>>>2]>>>24-w%4*8&255;m[y+w>>>2]|=S<<24-(y+w)%4*8}else for(var D=0;D<x;D+=4)m[y+D>>>2]=g[D>>>2];return this.sigBytes+=x,this},clamp:function(){var C=this.words,m=this.sigBytes;C[m>>>2]&=4294967295<<32-m%4*8,C.length=r.ceil(m/4)},clone:function(){var C=c.clone.call(this);return C.words=this.words.slice(0),C},random:function(C){for(var m=[],g=0;g<C;g+=4)m.push(s());return new A.init(m,C)}}),d=l.enc={},f=d.Hex={stringify:function(C){for(var m=C.words,g=C.sigBytes,y=[],x=0;x<g;x++){var w=m[x>>>2]>>>24-x%4*8&255;y.push((w>>>4).toString(16)),y.push((w&15).toString(16))}return y.join("")},parse:function(C){for(var m=C.length,g=[],y=0;y<m;y+=2)g[y>>>3]|=parseInt(C.substr(y,2),16)<<24-y%8*4;return new A.init(g,m/2)}},p=d.Latin1={stringify:function(C){for(var m=C.words,g=C.sigBytes,y=[],x=0;x<g;x++){var w=m[x>>>2]>>>24-x%4*8&255;y.push(String.fromCharCode(w))}return y.join("")},parse:function(C){for(var m=C.length,g=[],y=0;y<m;y++)g[y>>>2]|=(C.charCodeAt(y)&255)<<24-y%4*8;return new A.init(g,m)}},h=d.Utf8={stringify:function(C){try{return decodeURIComponent(escape(p.stringify(C)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(C){return p.parse(unescape(encodeURIComponent(C)))}},v=u.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new A.init,this._nDataBytes=0},_append:function(C){typeof C=="string"&&(C=h.parse(C)),this._data.concat(C),this._nDataBytes+=C.sigBytes},_process:function(C){var m,g=this._data,y=g.words,x=g.sigBytes,w=this.blockSize,S=w*4,D=x/S;C?D=r.ceil(D):D=r.max((D|0)-this._minBufferSize,0);var I=D*w,_=r.min(I*4,x);if(I){for(var O=0;O<I;O+=w)this._doProcessBlock(y,O);m=y.splice(0,I),g.sigBytes-=_}return new A.init(m,_)},clone:function(){var C=c.clone.call(this);return C._data=this._data.clone(),C},_minBufferSize:0});u.Hasher=v.extend({cfg:c.extend(),init:function(C){this.cfg=this.cfg.extend(C),this.reset()},reset:function(){v.reset.call(this),this._doReset()},update:function(C){return this._append(C),this._process(),this},finalize:function(C){C&&this._append(C);var m=this._doFinalize();return m},blockSize:16,_createHelper:function(C){return function(m,g){return new C.init(g).finalize(m)}},_createHmacHelper:function(C){return function(m,g){return new E.HMAC.init(C,g).finalize(m)}}});var E=l.algo={};return l}(Math);return n})}(kc)),kc.exports}var Bc={exports:{}},Gp;function Pu(){return Gp||(Gp=1,function(t,e){(function(n,r){t.exports=r(Ae())})($,function(n){return function(r){var i=n,a=i.lib,s=a.Base,o=a.WordArray,l=i.x64={};l.Word=s.extend({init:function(u,c){this.high=u,this.low=c}}),l.WordArray=s.extend({init:function(u,c){u=this.words=u||[],c!=r?this.sigBytes=c:this.sigBytes=u.length*8},toX32:function(){for(var u=this.words,c=u.length,A=[],d=0;d<c;d++){var f=u[d];A.push(f.high),A.push(f.low)}return o.create(A,this.sigBytes)},clone:function(){for(var u=s.clone.call(this),c=u.words=this.words.slice(0),A=c.length,d=0;d<A;d++)c[d]=c[d].clone();return u}})}(),n})}(Bc)),Bc.exports}var Nc={exports:{}},Lp;function Z3(){return Lp||(Lp=1,function(t,e){(function(n,r){t.exports=r(Ae())})($,function(n){return function(){if(typeof ArrayBuffer=="function"){var r=n,i=r.lib,a=i.WordArray,s=a.init,o=a.init=function(l){if(l instanceof ArrayBuffer&&(l=new Uint8Array(l)),(l instanceof Int8Array||typeof Uint8ClampedArray<"u"&&l instanceof Uint8ClampedArray||l instanceof Int16Array||l instanceof Uint16Array||l instanceof Int32Array||l instanceof Uint32Array||l instanceof Float32Array||l instanceof Float64Array)&&(l=new Uint8Array(l.buffer,l.byteOffset,l.byteLength)),l instanceof Uint8Array){for(var u=l.byteLength,c=[],A=0;A<u;A++)c[A>>>2]|=l[A]<<24-A%4*8;s.call(this,c,u)}else s.apply(this,arguments)};o.prototype=a}}(),n.lib.WordArray})}(Nc)),Nc.exports}var Gc={exports:{}},Vp;function J3(){return Vp||(Vp=1,function(t,e){(function(n,r){t.exports=r(Ae())})($,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,s=r.enc;s.Utf16=s.Utf16BE={stringify:function(l){for(var u=l.words,c=l.sigBytes,A=[],d=0;d<c;d+=2){var f=u[d>>>2]>>>16-d%4*8&65535;A.push(String.fromCharCode(f))}return A.join("")},parse:function(l){for(var u=l.length,c=[],A=0;A<u;A++)c[A>>>1]|=l.charCodeAt(A)<<16-A%2*16;return a.create(c,u*2)}},s.Utf16LE={stringify:function(l){for(var u=l.words,c=l.sigBytes,A=[],d=0;d<c;d+=2){var f=o(u[d>>>2]>>>16-d%4*8&65535);A.push(String.fromCharCode(f))}return A.join("")},parse:function(l){for(var u=l.length,c=[],A=0;A<u;A++)c[A>>>1]|=o(l.charCodeAt(A)<<16-A%2*16);return a.create(c,u*2)}};function o(l){return l<<8&4278255360|l>>>8&16711935}}(),n.enc.Utf16})}(Gc)),Gc.exports}var Lc={exports:{}},Hp;function ui(){return Hp||(Hp=1,function(t,e){(function(n,r){t.exports=r(Ae())})($,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,s=r.enc;s.Base64={stringify:function(l){var u=l.words,c=l.sigBytes,A=this._map;l.clamp();for(var d=[],f=0;f<c;f+=3)for(var p=u[f>>>2]>>>24-f%4*8&255,h=u[f+1>>>2]>>>24-(f+1)%4*8&255,v=u[f+2>>>2]>>>24-(f+2)%4*8&255,E=p<<16|h<<8|v,C=0;C<4&&f+C*.75<c;C++)d.push(A.charAt(E>>>6*(3-C)&63));var m=A.charAt(64);if(m)for(;d.length%4;)d.push(m);return d.join("")},parse:function(l){var u=l.length,c=this._map,A=this._reverseMap;if(!A){A=this._reverseMap=[];for(var d=0;d<c.length;d++)A[c.charCodeAt(d)]=d}var f=c.charAt(64);if(f){var p=l.indexOf(f);p!==-1&&(u=p)}return o(l,u,A)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function o(l,u,c){for(var A=[],d=0,f=0;f<u;f++)if(f%4){var p=c[l.charCodeAt(f-1)]<<f%4*2,h=c[l.charCodeAt(f)]>>>6-f%4*2,v=p|h;A[d>>>2]|=v<<24-d%4*8,d++}return a.create(A,d)}}(),n.enc.Base64})}(Lc)),Lc.exports}var Vc={exports:{}},Up;function e5(){return Up||(Up=1,function(t,e){(function(n,r){t.exports=r(Ae())})($,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,s=r.enc;s.Base64url={stringify:function(l,u){u===void 0&&(u=!0);var c=l.words,A=l.sigBytes,d=u?this._safe_map:this._map;l.clamp();for(var f=[],p=0;p<A;p+=3)for(var h=c[p>>>2]>>>24-p%4*8&255,v=c[p+1>>>2]>>>24-(p+1)%4*8&255,E=c[p+2>>>2]>>>24-(p+2)%4*8&255,C=h<<16|v<<8|E,m=0;m<4&&p+m*.75<A;m++)f.push(d.charAt(C>>>6*(3-m)&63));var g=d.charAt(64);if(g)for(;f.length%4;)f.push(g);return f.join("")},parse:function(l,u){u===void 0&&(u=!0);var c=l.length,A=u?this._safe_map:this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var f=0;f<A.length;f++)d[A.charCodeAt(f)]=f}var p=A.charAt(64);if(p){var h=l.indexOf(p);h!==-1&&(c=h)}return o(l,c,d)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function o(l,u,c){for(var A=[],d=0,f=0;f<u;f++)if(f%4){var p=c[l.charCodeAt(f-1)]<<f%4*2,h=c[l.charCodeAt(f)]>>>6-f%4*2,v=p|h;A[d>>>2]|=v<<24-d%4*8,d++}return a.create(A,d)}}(),n.enc.Base64url})}(Vc)),Vc.exports}var Hc={exports:{}},Wp;function ci(){return Wp||(Wp=1,function(t,e){(function(n,r){t.exports=r(Ae())})($,function(n){return function(r){var i=n,a=i.lib,s=a.WordArray,o=a.Hasher,l=i.algo,u=[];(function(){for(var h=0;h<64;h++)u[h]=r.abs(r.sin(h+1))*4294967296|0})();var c=l.MD5=o.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(h,v){for(var E=0;E<16;E++){var C=v+E,m=h[C];h[C]=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360}var g=this._hash.words,y=h[v+0],x=h[v+1],w=h[v+2],S=h[v+3],D=h[v+4],I=h[v+5],_=h[v+6],O=h[v+7],T=h[v+8],R=h[v+9],P=h[v+10],F=h[v+11],H=h[v+12],k=h[v+13],V=h[v+14],W=h[v+15],B=g[0],G=g[1],N=g[2],M=g[3];B=A(B,G,N,M,y,7,u[0]),M=A(M,B,G,N,x,12,u[1]),N=A(N,M,B,G,w,17,u[2]),G=A(G,N,M,B,S,22,u[3]),B=A(B,G,N,M,D,7,u[4]),M=A(M,B,G,N,I,12,u[5]),N=A(N,M,B,G,_,17,u[6]),G=A(G,N,M,B,O,22,u[7]),B=A(B,G,N,M,T,7,u[8]),M=A(M,B,G,N,R,12,u[9]),N=A(N,M,B,G,P,17,u[10]),G=A(G,N,M,B,F,22,u[11]),B=A(B,G,N,M,H,7,u[12]),M=A(M,B,G,N,k,12,u[13]),N=A(N,M,B,G,V,17,u[14]),G=A(G,N,M,B,W,22,u[15]),B=d(B,G,N,M,x,5,u[16]),M=d(M,B,G,N,_,9,u[17]),N=d(N,M,B,G,F,14,u[18]),G=d(G,N,M,B,y,20,u[19]),B=d(B,G,N,M,I,5,u[20]),M=d(M,B,G,N,P,9,u[21]),N=d(N,M,B,G,W,14,u[22]),G=d(G,N,M,B,D,20,u[23]),B=d(B,G,N,M,R,5,u[24]),M=d(M,B,G,N,V,9,u[25]),N=d(N,M,B,G,S,14,u[26]),G=d(G,N,M,B,T,20,u[27]),B=d(B,G,N,M,k,5,u[28]),M=d(M,B,G,N,w,9,u[29]),N=d(N,M,B,G,O,14,u[30]),G=d(G,N,M,B,H,20,u[31]),B=f(B,G,N,M,I,4,u[32]),M=f(M,B,G,N,T,11,u[33]),N=f(N,M,B,G,F,16,u[34]),G=f(G,N,M,B,V,23,u[35]),B=f(B,G,N,M,x,4,u[36]),M=f(M,B,G,N,D,11,u[37]),N=f(N,M,B,G,O,16,u[38]),G=f(G,N,M,B,P,23,u[39]),B=f(B,G,N,M,k,4,u[40]),M=f(M,B,G,N,y,11,u[41]),N=f(N,M,B,G,S,16,u[42]),G=f(G,N,M,B,_,23,u[43]),B=f(B,G,N,M,R,4,u[44]),M=f(M,B,G,N,H,11,u[45]),N=f(N,M,B,G,W,16,u[46]),G=f(G,N,M,B,w,23,u[47]),B=p(B,G,N,M,y,6,u[48]),M=p(M,B,G,N,O,10,u[49]),N=p(N,M,B,G,V,15,u[50]),G=p(G,N,M,B,I,21,u[51]),B=p(B,G,N,M,H,6,u[52]),M=p(M,B,G,N,S,10,u[53]),N=p(N,M,B,G,P,15,u[54]),G=p(G,N,M,B,x,21,u[55]),B=p(B,G,N,M,T,6,u[56]),M=p(M,B,G,N,W,10,u[57]),N=p(N,M,B,G,_,15,u[58]),G=p(G,N,M,B,k,21,u[59]),B=p(B,G,N,M,D,6,u[60]),M=p(M,B,G,N,F,10,u[61]),N=p(N,M,B,G,w,15,u[62]),G=p(G,N,M,B,R,21,u[63]),g[0]=g[0]+B|0,g[1]=g[1]+G|0,g[2]=g[2]+N|0,g[3]=g[3]+M|0},_doFinalize:function(){var h=this._data,v=h.words,E=this._nDataBytes*8,C=h.sigBytes*8;v[C>>>5]|=128<<24-C%32;var m=r.floor(E/4294967296),g=E;v[(C+64>>>9<<4)+15]=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360,v[(C+64>>>9<<4)+14]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,h.sigBytes=(v.length+1)*4,this._process();for(var y=this._hash,x=y.words,w=0;w<4;w++){var S=x[w];x[w]=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360}return y},clone:function(){var h=o.clone.call(this);return h._hash=this._hash.clone(),h}});function A(h,v,E,C,m,g,y){var x=h+(v&E|~v&C)+m+y;return(x<<g|x>>>32-g)+v}function d(h,v,E,C,m,g,y){var x=h+(v&C|E&~C)+m+y;return(x<<g|x>>>32-g)+v}function f(h,v,E,C,m,g,y){var x=h+(v^E^C)+m+y;return(x<<g|x>>>32-g)+v}function p(h,v,E,C,m,g,y){var x=h+(E^(v|~C))+m+y;return(x<<g|x>>>32-g)+v}i.MD5=o._createHelper(c),i.HmacMD5=o._createHmacHelper(c)}(Math),n.MD5})}(Hc)),Hc.exports}var Uc={exports:{}},Xp;function OE(){return Xp||(Xp=1,function(t,e){(function(n,r){t.exports=r(Ae())})($,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,s=i.Hasher,o=r.algo,l=[],u=o.SHA1=s.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,A){for(var d=this._hash.words,f=d[0],p=d[1],h=d[2],v=d[3],E=d[4],C=0;C<80;C++){if(C<16)l[C]=c[A+C]|0;else{var m=l[C-3]^l[C-8]^l[C-14]^l[C-16];l[C]=m<<1|m>>>31}var g=(f<<5|f>>>27)+E+l[C];C<20?g+=(p&h|~p&v)+1518500249:C<40?g+=(p^h^v)+1859775393:C<60?g+=(p&h|p&v|h&v)-1894007588:g+=(p^h^v)-899497514,E=v,v=h,h=p<<30|p>>>2,p=f,f=g}d[0]=d[0]+f|0,d[1]=d[1]+p|0,d[2]=d[2]+h|0,d[3]=d[3]+v|0,d[4]=d[4]+E|0},_doFinalize:function(){var c=this._data,A=c.words,d=this._nDataBytes*8,f=c.sigBytes*8;return A[f>>>5]|=128<<24-f%32,A[(f+64>>>9<<4)+14]=Math.floor(d/4294967296),A[(f+64>>>9<<4)+15]=d,c.sigBytes=A.length*4,this._process(),this._hash},clone:function(){var c=s.clone.call(this);return c._hash=this._hash.clone(),c}});r.SHA1=s._createHelper(u),r.HmacSHA1=s._createHmacHelper(u)}(),n.SHA1})}(Uc)),Uc.exports}var Wc={exports:{}},Yp;function DA(){return Yp||(Yp=1,function(t,e){(function(n,r){t.exports=r(Ae())})($,function(n){return function(r){var i=n,a=i.lib,s=a.WordArray,o=a.Hasher,l=i.algo,u=[],c=[];(function(){function f(E){for(var C=r.sqrt(E),m=2;m<=C;m++)if(!(E%m))return!1;return!0}function p(E){return(E-(E|0))*4294967296|0}for(var h=2,v=0;v<64;)f(h)&&(v<8&&(u[v]=p(r.pow(h,1/2))),c[v]=p(r.pow(h,1/3)),v++),h++})();var A=[],d=l.SHA256=o.extend({_doReset:function(){this._hash=new s.init(u.slice(0))},_doProcessBlock:function(f,p){for(var h=this._hash.words,v=h[0],E=h[1],C=h[2],m=h[3],g=h[4],y=h[5],x=h[6],w=h[7],S=0;S<64;S++){if(S<16)A[S]=f[p+S]|0;else{var D=A[S-15],I=(D<<25|D>>>7)^(D<<14|D>>>18)^D>>>3,_=A[S-2],O=(_<<15|_>>>17)^(_<<13|_>>>19)^_>>>10;A[S]=I+A[S-7]+O+A[S-16]}var T=g&y^~g&x,R=v&E^v&C^E&C,P=(v<<30|v>>>2)^(v<<19|v>>>13)^(v<<10|v>>>22),F=(g<<26|g>>>6)^(g<<21|g>>>11)^(g<<7|g>>>25),H=w+F+T+c[S]+A[S],k=P+R;w=x,x=y,y=g,g=m+H|0,m=C,C=E,E=v,v=H+k|0}h[0]=h[0]+v|0,h[1]=h[1]+E|0,h[2]=h[2]+C|0,h[3]=h[3]+m|0,h[4]=h[4]+g|0,h[5]=h[5]+y|0,h[6]=h[6]+x|0,h[7]=h[7]+w|0},_doFinalize:function(){var f=this._data,p=f.words,h=this._nDataBytes*8,v=f.sigBytes*8;return p[v>>>5]|=128<<24-v%32,p[(v+64>>>9<<4)+14]=r.floor(h/4294967296),p[(v+64>>>9<<4)+15]=h,f.sigBytes=p.length*4,this._process(),this._hash},clone:function(){var f=o.clone.call(this);return f._hash=this._hash.clone(),f}});i.SHA256=o._createHelper(d),i.HmacSHA256=o._createHmacHelper(d)}(Math),n.SHA256})}(Wc)),Wc.exports}var Xc={exports:{}},zp;function t5(){return zp||(zp=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),DA())})($,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,s=r.algo,o=s.SHA256,l=s.SHA224=o.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var u=o._doFinalize.call(this);return u.sigBytes-=4,u}});r.SHA224=o._createHelper(l),r.HmacSHA224=o._createHmacHelper(l)}(),n.SHA224})}(Xc)),Xc.exports}var Yc={exports:{}},Kp;function TE(){return Kp||(Kp=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Pu())})($,function(n){return function(){var r=n,i=r.lib,a=i.Hasher,s=r.x64,o=s.Word,l=s.WordArray,u=r.algo;function c(){return o.create.apply(o,arguments)}var A=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],d=[];(function(){for(var p=0;p<80;p++)d[p]=c()})();var f=u.SHA512=a.extend({_doReset:function(){this._hash=new l.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(p,h){for(var v=this._hash.words,E=v[0],C=v[1],m=v[2],g=v[3],y=v[4],x=v[5],w=v[6],S=v[7],D=E.high,I=E.low,_=C.high,O=C.low,T=m.high,R=m.low,P=g.high,F=g.low,H=y.high,k=y.low,V=x.high,W=x.low,B=w.high,G=w.low,N=S.high,M=S.low,U=D,z=I,K=_,Y=O,ee=T,te=R,re=P,Q=F,ae=H,Ie=k,we=V,Ce=W,Ee=B,Se=G,Ge=N,Ze=M,ne=0;ne<80;ne++){var le,ft,Tt=d[ne];if(ne<16)ft=Tt.high=p[h+ne*2]|0,le=Tt.low=p[h+ne*2+1]|0;else{var xt=d[ne-15],Je=xt.high,rt=xt.low,oa=(Je>>>1|rt<<31)^(Je>>>8|rt<<24)^Je>>>7,ye=(rt>>>1|Je<<31)^(rt>>>8|Je<<24)^(rt>>>7|Je<<25),q=d[ne-2],Le=q.high,fe=q.low,de=(Le>>>19|fe<<13)^(Le<<3|fe>>>29)^Le>>>6,ke=(fe>>>19|Le<<13)^(fe<<3|Le>>>29)^(fe>>>6|Le<<26),be=d[ne-7],pe=be.high,Gt=be.low,it=d[ne-16],Pt=it.high,yn=it.low;le=ye+Gt,ft=oa+pe+(le>>>0<ye>>>0?1:0),le=le+ke,ft=ft+de+(le>>>0<ke>>>0?1:0),le=le+yn,ft=ft+Pt+(le>>>0<yn>>>0?1:0),Tt.high=ft,Tt.low=le}var la=ae&we^~ae&Ee,jn=Ie&Ce^~Ie&Se,Pr=U&K^U&ee^K&ee,Fu=z&Y^z&te^Y&te,Mu=(U>>>28|z<<4)^(U<<30|z>>>2)^(U<<25|z>>>7),TA=(z>>>28|U<<4)^(z<<30|U>>>2)^(z<<25|U>>>7),YE=(ae>>>14|Ie<<18)^(ae>>>18|Ie<<14)^(ae<<23|Ie>>>9),zE=(Ie>>>14|ae<<18)^(Ie>>>18|ae<<14)^(Ie<<23|ae>>>9),PA=A[ne],KE=PA.high,RA=PA.low,Rt=Ze+zE,Qn=Ge+YE+(Rt>>>0<Ze>>>0?1:0),Rt=Rt+jn,Qn=Qn+la+(Rt>>>0<jn>>>0?1:0),Rt=Rt+RA,Qn=Qn+KE+(Rt>>>0<RA>>>0?1:0),Rt=Rt+le,Qn=Qn+ft+(Rt>>>0<le>>>0?1:0),FA=TA+Fu,$E=Mu+Pr+(FA>>>0<TA>>>0?1:0);Ge=Ee,Ze=Se,Ee=we,Se=Ce,we=ae,Ce=Ie,Ie=Q+Rt|0,ae=re+Qn+(Ie>>>0<Q>>>0?1:0)|0,re=ee,Q=te,ee=K,te=Y,K=U,Y=z,z=Rt+FA|0,U=Qn+$E+(z>>>0<Rt>>>0?1:0)|0}I=E.low=I+z,E.high=D+U+(I>>>0<z>>>0?1:0),O=C.low=O+Y,C.high=_+K+(O>>>0<Y>>>0?1:0),R=m.low=R+te,m.high=T+ee+(R>>>0<te>>>0?1:0),F=g.low=F+Q,g.high=P+re+(F>>>0<Q>>>0?1:0),k=y.low=k+Ie,y.high=H+ae+(k>>>0<Ie>>>0?1:0),W=x.low=W+Ce,x.high=V+we+(W>>>0<Ce>>>0?1:0),G=w.low=G+Se,w.high=B+Ee+(G>>>0<Se>>>0?1:0),M=S.low=M+Ze,S.high=N+Ge+(M>>>0<Ze>>>0?1:0)},_doFinalize:function(){var p=this._data,h=p.words,v=this._nDataBytes*8,E=p.sigBytes*8;h[E>>>5]|=128<<24-E%32,h[(E+128>>>10<<5)+30]=Math.floor(v/4294967296),h[(E+128>>>10<<5)+31]=v,p.sigBytes=h.length*4,this._process();var C=this._hash.toX32();return C},clone:function(){var p=a.clone.call(this);return p._hash=this._hash.clone(),p},blockSize:1024/32});r.SHA512=a._createHelper(f),r.HmacSHA512=a._createHmacHelper(f)}(),n.SHA512})}(Yc)),Yc.exports}var zc={exports:{}},$p;function n5(){return $p||($p=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Pu(),TE())})($,function(n){return function(){var r=n,i=r.x64,a=i.Word,s=i.WordArray,o=r.algo,l=o.SHA512,u=o.SHA384=l.extend({_doReset:function(){this._hash=new s.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var c=l._doFinalize.call(this);return c.sigBytes-=16,c}});r.SHA384=l._createHelper(u),r.HmacSHA384=l._createHmacHelper(u)}(),n.SHA384})}(zc)),zc.exports}var Kc={exports:{}},qp;function r5(){return qp||(qp=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Pu())})($,function(n){return function(r){var i=n,a=i.lib,s=a.WordArray,o=a.Hasher,l=i.x64,u=l.Word,c=i.algo,A=[],d=[],f=[];(function(){for(var v=1,E=0,C=0;C<24;C++){A[v+5*E]=(C+1)*(C+2)/2%64;var m=E%5,g=(2*v+3*E)%5;v=m,E=g}for(var v=0;v<5;v++)for(var E=0;E<5;E++)d[v+5*E]=E+(2*v+3*E)%5*5;for(var y=1,x=0;x<24;x++){for(var w=0,S=0,D=0;D<7;D++){if(y&1){var I=(1<<D)-1;I<32?S^=1<<I:w^=1<<I-32}y&128?y=y<<1^113:y<<=1}f[x]=u.create(w,S)}})();var p=[];(function(){for(var v=0;v<25;v++)p[v]=u.create()})();var h=c.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var v=this._state=[],E=0;E<25;E++)v[E]=new u.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(v,E){for(var C=this._state,m=this.blockSize/2,g=0;g<m;g++){var y=v[E+2*g],x=v[E+2*g+1];y=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,x=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360;var w=C[g];w.high^=x,w.low^=y}for(var S=0;S<24;S++){for(var D=0;D<5;D++){for(var I=0,_=0,O=0;O<5;O++){var w=C[D+5*O];I^=w.high,_^=w.low}var T=p[D];T.high=I,T.low=_}for(var D=0;D<5;D++)for(var R=p[(D+4)%5],P=p[(D+1)%5],F=P.high,H=P.low,I=R.high^(F<<1|H>>>31),_=R.low^(H<<1|F>>>31),O=0;O<5;O++){var w=C[D+5*O];w.high^=I,w.low^=_}for(var k=1;k<25;k++){var I,_,w=C[k],V=w.high,W=w.low,B=A[k];B<32?(I=V<<B|W>>>32-B,_=W<<B|V>>>32-B):(I=W<<B-32|V>>>64-B,_=V<<B-32|W>>>64-B);var G=p[d[k]];G.high=I,G.low=_}var N=p[0],M=C[0];N.high=M.high,N.low=M.low;for(var D=0;D<5;D++)for(var O=0;O<5;O++){var k=D+5*O,w=C[k],U=p[k],z=p[(D+1)%5+5*O],K=p[(D+2)%5+5*O];w.high=U.high^~z.high&K.high,w.low=U.low^~z.low&K.low}var w=C[0],Y=f[S];w.high^=Y.high,w.low^=Y.low}},_doFinalize:function(){var v=this._data,E=v.words;this._nDataBytes*8;var C=v.sigBytes*8,m=this.blockSize*32;E[C>>>5]|=1<<24-C%32,E[(r.ceil((C+1)/m)*m>>>5)-1]|=128,v.sigBytes=E.length*4,this._process();for(var g=this._state,y=this.cfg.outputLength/8,x=y/8,w=[],S=0;S<x;S++){var D=g[S],I=D.high,_=D.low;I=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,w.push(_),w.push(I)}return new s.init(w,y)},clone:function(){for(var v=o.clone.call(this),E=v._state=this._state.slice(0),C=0;C<25;C++)E[C]=E[C].clone();return v}});i.SHA3=o._createHelper(h),i.HmacSHA3=o._createHmacHelper(h)}(Math),n.SHA3})}(Kc)),Kc.exports}var $c={exports:{}},jp;function i5(){return jp||(jp=1,function(t,e){(function(n,r){t.exports=r(Ae())})($,function(n){/** @preserve (c) 2012 by Cédric Mesnil. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -905,8 +905,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */return function(r){var i=n,a=i.lib,s=a.WordArray,o=a.Hasher,l=i.algo,u=s.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=s.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),A=s.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),d=s.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),f=s.create([0,1518500249,1859775393,2400959708,2840853838]),p=s.create([1352829926,1548603684,1836072691,2053994217,0]),h=l.RIPEMD160=o.extend({_doReset:function(){this._hash=s.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(x,w){for(var S=0;S<16;S++){var D=w+S,I=x[D];x[D]=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360}var _=this._hash.words,O=f.words,T=p.words,R=u.words,P=c.words,F=A.words,H=d.words,M,V,W,B,G,N,k,U,z,K;N=M=_[0],k=V=_[1],U=W=_[2],z=B=_[3],K=G=_[4];for(var Y,S=0;S<80;S+=1)Y=M+x[w+R[S]]|0,S<16?Y+=v(V,W,B)+O[0]:S<32?Y+=E(V,W,B)+O[1]:S<48?Y+=C(V,W,B)+O[2]:S<64?Y+=m(V,W,B)+O[3]:Y+=g(V,W,B)+O[4],Y=Y|0,Y=y(Y,F[S]),Y=Y+G|0,M=G,G=B,B=y(W,10),W=V,V=Y,Y=N+x[w+P[S]]|0,S<16?Y+=g(k,U,z)+T[0]:S<32?Y+=m(k,U,z)+T[1]:S<48?Y+=C(k,U,z)+T[2]:S<64?Y+=E(k,U,z)+T[3]:Y+=v(k,U,z)+T[4],Y=Y|0,Y=y(Y,H[S]),Y=Y+K|0,N=K,K=z,z=y(U,10),U=k,k=Y;Y=_[1]+W+z|0,_[1]=_[2]+B+K|0,_[2]=_[3]+G+N|0,_[3]=_[4]+M+k|0,_[4]=_[0]+V+U|0,_[0]=Y},_doFinalize:function(){var x=this._data,w=x.words,S=this._nDataBytes*8,D=x.sigBytes*8;w[D>>>5]|=128<<24-D%32,w[(D+64>>>9<<4)+14]=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360,x.sigBytes=(w.length+1)*4,this._process();for(var I=this._hash,_=I.words,O=0;O<5;O++){var T=_[O];_[O]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360}return I},clone:function(){var x=o.clone.call(this);return x._hash=this._hash.clone(),x}});function v(x,w,S){return x^w^S}function E(x,w,S){return x&w|~x&S}function C(x,w,S){return(x|~w)^S}function m(x,w,S){return x&S|w&~S}function g(x,w,S){return x^(w|~S)}function y(x,w){return x<<w|x>>>32-w}i.RIPEMD160=o._createHelper(h),i.HmacRIPEMD160=o._createHmacHelper(h)}(),n.RIPEMD160})}(Kc)),Kc.exports}var $c={exports:{}},$p;function _A(){return $p||($p=1,function(t,e){(function(n,r){t.exports=r(Ae())})($,function(n){(function(){var r=n,i=r.lib,a=i.Base,s=r.enc,o=s.Utf8,l=r.algo;l.HMAC=a.extend({init:function(u,c){u=this._hasher=new u.init,typeof c=="string"&&(c=o.parse(c));var A=u.blockSize,d=A*4;c.sigBytes>d&&(c=u.finalize(c)),c.clamp();for(var f=this._oKey=c.clone(),p=this._iKey=c.clone(),h=f.words,v=p.words,E=0;E<A;E++)h[E]^=1549556828,v[E]^=909522486;f.sigBytes=p.sigBytes=d,this.reset()},reset:function(){var u=this._hasher;u.reset(),u.update(this._iKey)},update:function(u){return this._hasher.update(u),this},finalize:function(u){var c=this._hasher,A=c.finalize(u);c.reset();var d=c.finalize(this._oKey.clone().concat(A));return d}})})()})}($c)),$c.exports}var qc={exports:{}},qp;function Q3(){return qp||(qp=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),bA(),_A())})($,function(n){return function(){var r=n,i=r.lib,a=i.Base,s=i.WordArray,o=r.algo,l=o.SHA256,u=o.HMAC,c=o.PBKDF2=a.extend({cfg:a.extend({keySize:128/32,hasher:l,iterations:25e4}),init:function(A){this.cfg=this.cfg.extend(A)},compute:function(A,d){for(var f=this.cfg,p=u.create(f.hasher,A),h=s.create(),v=s.create([1]),E=h.words,C=v.words,m=f.keySize,g=f.iterations;E.length<m;){var y=p.update(d).finalize(v);p.reset();for(var x=y.words,w=x.length,S=y,D=1;D<g;D++){S=p.finalize(S),p.reset();for(var I=S.words,_=0;_<w;_++)x[_]^=I[_]}h.concat(y),C[0]++}return h.sigBytes=m*4,h}});r.PBKDF2=function(A,d,f){return c.create(f).compute(A,d)}}(),n.PBKDF2})}(qc)),qc.exports}var jc={exports:{}},jp;function Tr(){return jp||(jp=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),_E(),_A())})($,function(n){return function(){var r=n,i=r.lib,a=i.Base,s=i.WordArray,o=r.algo,l=o.MD5,u=o.EvpKDF=a.extend({cfg:a.extend({keySize:128/32,hasher:l,iterations:1}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,A){for(var d,f=this.cfg,p=f.hasher.create(),h=s.create(),v=h.words,E=f.keySize,C=f.iterations;v.length<E;){d&&p.update(d),d=p.update(c).finalize(A),p.reset();for(var m=1;m<C;m++)d=p.finalize(d),p.reset();h.concat(d)}return h.sigBytes=E*4,h}});r.EvpKDF=function(c,A,d){return u.create(d).compute(c,A)}}(),n.EvpKDF})}(jc)),jc.exports}var Qc={exports:{}},Qp;function Qe(){return Qp||(Qp=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Tr())})($,function(n){n.lib.Cipher||function(r){var i=n,a=i.lib,s=a.Base,o=a.WordArray,l=a.BufferedBlockAlgorithm,u=i.enc;u.Utf8;var c=u.Base64,A=i.algo,d=A.EvpKDF,f=a.Cipher=l.extend({cfg:s.extend(),createEncryptor:function(I,_){return this.create(this._ENC_XFORM_MODE,I,_)},createDecryptor:function(I,_){return this.create(this._DEC_XFORM_MODE,I,_)},init:function(I,_,O){this.cfg=this.cfg.extend(O),this._xformMode=I,this._key=_,this.reset()},reset:function(){l.reset.call(this),this._doReset()},process:function(I){return this._append(I),this._process()},finalize:function(I){I&&this._append(I);var _=this._doFinalize();return _},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function I(_){return typeof _=="string"?D:x}return function(_){return{encrypt:function(O,T,R){return I(T).encrypt(_,O,T,R)},decrypt:function(O,T,R){return I(T).decrypt(_,O,T,R)}}}}()});a.StreamCipher=f.extend({_doFinalize:function(){var I=this._process(!0);return I},blockSize:1});var p=i.mode={},h=a.BlockCipherMode=s.extend({createEncryptor:function(I,_){return this.Encryptor.create(I,_)},createDecryptor:function(I,_){return this.Decryptor.create(I,_)},init:function(I,_){this._cipher=I,this._iv=_}}),v=p.CBC=function(){var I=h.extend();I.Encryptor=I.extend({processBlock:function(O,T){var R=this._cipher,P=R.blockSize;_.call(this,O,T,P),R.encryptBlock(O,T),this._prevBlock=O.slice(T,T+P)}}),I.Decryptor=I.extend({processBlock:function(O,T){var R=this._cipher,P=R.blockSize,F=O.slice(T,T+P);R.decryptBlock(O,T),_.call(this,O,T,P),this._prevBlock=F}});function _(O,T,R){var P,F=this._iv;F?(P=F,this._iv=r):P=this._prevBlock;for(var H=0;H<R;H++)O[T+H]^=P[H]}return I}(),E=i.pad={},C=E.Pkcs7={pad:function(I,_){for(var O=_*4,T=O-I.sigBytes%O,R=T<<24|T<<16|T<<8|T,P=[],F=0;F<T;F+=4)P.push(R);var H=o.create(P,T);I.concat(H)},unpad:function(I){var _=I.words[I.sigBytes-1>>>2]&255;I.sigBytes-=_}};a.BlockCipher=f.extend({cfg:f.cfg.extend({mode:v,padding:C}),reset:function(){var I;f.reset.call(this);var _=this.cfg,O=_.iv,T=_.mode;this._xformMode==this._ENC_XFORM_MODE?I=T.createEncryptor:(I=T.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==I?this._mode.init(this,O&&O.words):(this._mode=I.call(T,this,O&&O.words),this._mode.__creator=I)},_doProcessBlock:function(I,_){this._mode.processBlock(I,_)},_doFinalize:function(){var I,_=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(_.pad(this._data,this.blockSize),I=this._process(!0)):(I=this._process(!0),_.unpad(I)),I},blockSize:128/32});var m=a.CipherParams=s.extend({init:function(I){this.mixIn(I)},toString:function(I){return(I||this.formatter).stringify(this)}}),g=i.format={},y=g.OpenSSL={stringify:function(I){var _,O=I.ciphertext,T=I.salt;return T?_=o.create([1398893684,1701076831]).concat(T).concat(O):_=O,_.toString(c)},parse:function(I){var _,O=c.parse(I),T=O.words;return T[0]==1398893684&&T[1]==1701076831&&(_=o.create(T.slice(2,4)),T.splice(0,4),O.sigBytes-=16),m.create({ciphertext:O,salt:_})}},x=a.SerializableCipher=s.extend({cfg:s.extend({format:y}),encrypt:function(I,_,O,T){T=this.cfg.extend(T);var R=I.createEncryptor(O,T),P=R.finalize(_),F=R.cfg;return m.create({ciphertext:P,key:O,iv:F.iv,algorithm:I,mode:F.mode,padding:F.padding,blockSize:I.blockSize,formatter:T.format})},decrypt:function(I,_,O,T){T=this.cfg.extend(T),_=this._parse(_,T.format);var R=I.createDecryptor(O,T).finalize(_.ciphertext);return R},_parse:function(I,_){return typeof I=="string"?_.parse(I,this):I}}),w=i.kdf={},S=w.OpenSSL={execute:function(I,_,O,T,R){if(T||(T=o.random(64/8)),R)var P=d.create({keySize:_+O,hasher:R}).compute(I,T);else var P=d.create({keySize:_+O}).compute(I,T);var F=o.create(P.words.slice(_),O*4);return P.sigBytes=_*4,m.create({key:P,iv:F,salt:T})}},D=a.PasswordBasedCipher=x.extend({cfg:x.cfg.extend({kdf:S}),encrypt:function(I,_,O,T){T=this.cfg.extend(T);var R=T.kdf.execute(O,I.keySize,I.ivSize,T.salt,T.hasher);T.iv=R.iv;var P=x.encrypt.call(this,I,_,R.key,T);return P.mixIn(R),P},decrypt:function(I,_,O,T){T=this.cfg.extend(T),_=this._parse(_,T.format);var R=T.kdf.execute(O,I.keySize,I.ivSize,_.salt,T.hasher);T.iv=R.iv;var P=x.decrypt.call(this,I,_,R.key,T);return P}})}()})}(Qc)),Qc.exports}var Zc={exports:{}},Zp;function Z3(){return Zp||(Zp=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Qe())})($,function(n){return n.mode.CFB=function(){var r=n.lib.BlockCipherMode.extend();r.Encryptor=r.extend({processBlock:function(a,s){var o=this._cipher,l=o.blockSize;i.call(this,a,s,l,o),this._prevBlock=a.slice(s,s+l)}}),r.Decryptor=r.extend({processBlock:function(a,s){var o=this._cipher,l=o.blockSize,u=a.slice(s,s+l);i.call(this,a,s,l,o),this._prevBlock=u}});function i(a,s,o,l){var u,c=this._iv;c?(u=c.slice(0),this._iv=void 0):u=this._prevBlock,l.encryptBlock(u,0);for(var A=0;A<o;A++)a[s+A]^=u[A]}return r}(),n.mode.CFB})}(Zc)),Zc.exports}var Jc={exports:{}},Jp;function J3(){return Jp||(Jp=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Qe())})($,function(n){return n.mode.CTR=function(){var r=n.lib.BlockCipherMode.extend(),i=r.Encryptor=r.extend({processBlock:function(a,s){var o=this._cipher,l=o.blockSize,u=this._iv,c=this._counter;u&&(c=this._counter=u.slice(0),this._iv=void 0);var A=c.slice(0);o.encryptBlock(A,0),c[l-1]=c[l-1]+1|0;for(var d=0;d<l;d++)a[s+d]^=A[d]}});return r.Decryptor=i,r}(),n.mode.CTR})}(Jc)),Jc.exports}var ed={exports:{}},ev;function e5(){return ev||(ev=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Qe())})($,function(n){/** @preserve + */return function(r){var i=n,a=i.lib,s=a.WordArray,o=a.Hasher,l=i.algo,u=s.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=s.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),A=s.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),d=s.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),f=s.create([0,1518500249,1859775393,2400959708,2840853838]),p=s.create([1352829926,1548603684,1836072691,2053994217,0]),h=l.RIPEMD160=o.extend({_doReset:function(){this._hash=s.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(x,w){for(var S=0;S<16;S++){var D=w+S,I=x[D];x[D]=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360}var _=this._hash.words,O=f.words,T=p.words,R=u.words,P=c.words,F=A.words,H=d.words,k,V,W,B,G,N,M,U,z,K;N=k=_[0],M=V=_[1],U=W=_[2],z=B=_[3],K=G=_[4];for(var Y,S=0;S<80;S+=1)Y=k+x[w+R[S]]|0,S<16?Y+=v(V,W,B)+O[0]:S<32?Y+=E(V,W,B)+O[1]:S<48?Y+=C(V,W,B)+O[2]:S<64?Y+=m(V,W,B)+O[3]:Y+=g(V,W,B)+O[4],Y=Y|0,Y=y(Y,F[S]),Y=Y+G|0,k=G,G=B,B=y(W,10),W=V,V=Y,Y=N+x[w+P[S]]|0,S<16?Y+=g(M,U,z)+T[0]:S<32?Y+=m(M,U,z)+T[1]:S<48?Y+=C(M,U,z)+T[2]:S<64?Y+=E(M,U,z)+T[3]:Y+=v(M,U,z)+T[4],Y=Y|0,Y=y(Y,H[S]),Y=Y+K|0,N=K,K=z,z=y(U,10),U=M,M=Y;Y=_[1]+W+z|0,_[1]=_[2]+B+K|0,_[2]=_[3]+G+N|0,_[3]=_[4]+k+M|0,_[4]=_[0]+V+U|0,_[0]=Y},_doFinalize:function(){var x=this._data,w=x.words,S=this._nDataBytes*8,D=x.sigBytes*8;w[D>>>5]|=128<<24-D%32,w[(D+64>>>9<<4)+14]=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360,x.sigBytes=(w.length+1)*4,this._process();for(var I=this._hash,_=I.words,O=0;O<5;O++){var T=_[O];_[O]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360}return I},clone:function(){var x=o.clone.call(this);return x._hash=this._hash.clone(),x}});function v(x,w,S){return x^w^S}function E(x,w,S){return x&w|~x&S}function C(x,w,S){return(x|~w)^S}function m(x,w,S){return x&S|w&~S}function g(x,w,S){return x^(w|~S)}function y(x,w){return x<<w|x>>>32-w}i.RIPEMD160=o._createHelper(h),i.HmacRIPEMD160=o._createHmacHelper(h)}(),n.RIPEMD160})}($c)),$c.exports}var qc={exports:{}},Qp;function OA(){return Qp||(Qp=1,function(t,e){(function(n,r){t.exports=r(Ae())})($,function(n){(function(){var r=n,i=r.lib,a=i.Base,s=r.enc,o=s.Utf8,l=r.algo;l.HMAC=a.extend({init:function(u,c){u=this._hasher=new u.init,typeof c=="string"&&(c=o.parse(c));var A=u.blockSize,d=A*4;c.sigBytes>d&&(c=u.finalize(c)),c.clamp();for(var f=this._oKey=c.clone(),p=this._iKey=c.clone(),h=f.words,v=p.words,E=0;E<A;E++)h[E]^=1549556828,v[E]^=909522486;f.sigBytes=p.sigBytes=d,this.reset()},reset:function(){var u=this._hasher;u.reset(),u.update(this._iKey)},update:function(u){return this._hasher.update(u),this},finalize:function(u){var c=this._hasher,A=c.finalize(u);c.reset();var d=c.finalize(this._oKey.clone().concat(A));return d}})})()})}(qc)),qc.exports}var jc={exports:{}},Zp;function a5(){return Zp||(Zp=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),DA(),OA())})($,function(n){return function(){var r=n,i=r.lib,a=i.Base,s=i.WordArray,o=r.algo,l=o.SHA256,u=o.HMAC,c=o.PBKDF2=a.extend({cfg:a.extend({keySize:128/32,hasher:l,iterations:25e4}),init:function(A){this.cfg=this.cfg.extend(A)},compute:function(A,d){for(var f=this.cfg,p=u.create(f.hasher,A),h=s.create(),v=s.create([1]),E=h.words,C=v.words,m=f.keySize,g=f.iterations;E.length<m;){var y=p.update(d).finalize(v);p.reset();for(var x=y.words,w=x.length,S=y,D=1;D<g;D++){S=p.finalize(S),p.reset();for(var I=S.words,_=0;_<w;_++)x[_]^=I[_]}h.concat(y),C[0]++}return h.sigBytes=m*4,h}});r.PBKDF2=function(A,d,f){return c.create(f).compute(A,d)}}(),n.PBKDF2})}(jc)),jc.exports}var Qc={exports:{}},Jp;function Tr(){return Jp||(Jp=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),OE(),OA())})($,function(n){return function(){var r=n,i=r.lib,a=i.Base,s=i.WordArray,o=r.algo,l=o.MD5,u=o.EvpKDF=a.extend({cfg:a.extend({keySize:128/32,hasher:l,iterations:1}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,A){for(var d,f=this.cfg,p=f.hasher.create(),h=s.create(),v=h.words,E=f.keySize,C=f.iterations;v.length<E;){d&&p.update(d),d=p.update(c).finalize(A),p.reset();for(var m=1;m<C;m++)d=p.finalize(d),p.reset();h.concat(d)}return h.sigBytes=E*4,h}});r.EvpKDF=function(c,A,d){return u.create(d).compute(c,A)}}(),n.EvpKDF})}(Qc)),Qc.exports}var Zc={exports:{}},ev;function Qe(){return ev||(ev=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Tr())})($,function(n){n.lib.Cipher||function(r){var i=n,a=i.lib,s=a.Base,o=a.WordArray,l=a.BufferedBlockAlgorithm,u=i.enc;u.Utf8;var c=u.Base64,A=i.algo,d=A.EvpKDF,f=a.Cipher=l.extend({cfg:s.extend(),createEncryptor:function(I,_){return this.create(this._ENC_XFORM_MODE,I,_)},createDecryptor:function(I,_){return this.create(this._DEC_XFORM_MODE,I,_)},init:function(I,_,O){this.cfg=this.cfg.extend(O),this._xformMode=I,this._key=_,this.reset()},reset:function(){l.reset.call(this),this._doReset()},process:function(I){return this._append(I),this._process()},finalize:function(I){I&&this._append(I);var _=this._doFinalize();return _},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function I(_){return typeof _=="string"?D:x}return function(_){return{encrypt:function(O,T,R){return I(T).encrypt(_,O,T,R)},decrypt:function(O,T,R){return I(T).decrypt(_,O,T,R)}}}}()});a.StreamCipher=f.extend({_doFinalize:function(){var I=this._process(!0);return I},blockSize:1});var p=i.mode={},h=a.BlockCipherMode=s.extend({createEncryptor:function(I,_){return this.Encryptor.create(I,_)},createDecryptor:function(I,_){return this.Decryptor.create(I,_)},init:function(I,_){this._cipher=I,this._iv=_}}),v=p.CBC=function(){var I=h.extend();I.Encryptor=I.extend({processBlock:function(O,T){var R=this._cipher,P=R.blockSize;_.call(this,O,T,P),R.encryptBlock(O,T),this._prevBlock=O.slice(T,T+P)}}),I.Decryptor=I.extend({processBlock:function(O,T){var R=this._cipher,P=R.blockSize,F=O.slice(T,T+P);R.decryptBlock(O,T),_.call(this,O,T,P),this._prevBlock=F}});function _(O,T,R){var P,F=this._iv;F?(P=F,this._iv=r):P=this._prevBlock;for(var H=0;H<R;H++)O[T+H]^=P[H]}return I}(),E=i.pad={},C=E.Pkcs7={pad:function(I,_){for(var O=_*4,T=O-I.sigBytes%O,R=T<<24|T<<16|T<<8|T,P=[],F=0;F<T;F+=4)P.push(R);var H=o.create(P,T);I.concat(H)},unpad:function(I){var _=I.words[I.sigBytes-1>>>2]&255;I.sigBytes-=_}};a.BlockCipher=f.extend({cfg:f.cfg.extend({mode:v,padding:C}),reset:function(){var I;f.reset.call(this);var _=this.cfg,O=_.iv,T=_.mode;this._xformMode==this._ENC_XFORM_MODE?I=T.createEncryptor:(I=T.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==I?this._mode.init(this,O&&O.words):(this._mode=I.call(T,this,O&&O.words),this._mode.__creator=I)},_doProcessBlock:function(I,_){this._mode.processBlock(I,_)},_doFinalize:function(){var I,_=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(_.pad(this._data,this.blockSize),I=this._process(!0)):(I=this._process(!0),_.unpad(I)),I},blockSize:128/32});var m=a.CipherParams=s.extend({init:function(I){this.mixIn(I)},toString:function(I){return(I||this.formatter).stringify(this)}}),g=i.format={},y=g.OpenSSL={stringify:function(I){var _,O=I.ciphertext,T=I.salt;return T?_=o.create([1398893684,1701076831]).concat(T).concat(O):_=O,_.toString(c)},parse:function(I){var _,O=c.parse(I),T=O.words;return T[0]==1398893684&&T[1]==1701076831&&(_=o.create(T.slice(2,4)),T.splice(0,4),O.sigBytes-=16),m.create({ciphertext:O,salt:_})}},x=a.SerializableCipher=s.extend({cfg:s.extend({format:y}),encrypt:function(I,_,O,T){T=this.cfg.extend(T);var R=I.createEncryptor(O,T),P=R.finalize(_),F=R.cfg;return m.create({ciphertext:P,key:O,iv:F.iv,algorithm:I,mode:F.mode,padding:F.padding,blockSize:I.blockSize,formatter:T.format})},decrypt:function(I,_,O,T){T=this.cfg.extend(T),_=this._parse(_,T.format);var R=I.createDecryptor(O,T).finalize(_.ciphertext);return R},_parse:function(I,_){return typeof I=="string"?_.parse(I,this):I}}),w=i.kdf={},S=w.OpenSSL={execute:function(I,_,O,T,R){if(T||(T=o.random(64/8)),R)var P=d.create({keySize:_+O,hasher:R}).compute(I,T);else var P=d.create({keySize:_+O}).compute(I,T);var F=o.create(P.words.slice(_),O*4);return P.sigBytes=_*4,m.create({key:P,iv:F,salt:T})}},D=a.PasswordBasedCipher=x.extend({cfg:x.cfg.extend({kdf:S}),encrypt:function(I,_,O,T){T=this.cfg.extend(T);var R=T.kdf.execute(O,I.keySize,I.ivSize,T.salt,T.hasher);T.iv=R.iv;var P=x.encrypt.call(this,I,_,R.key,T);return P.mixIn(R),P},decrypt:function(I,_,O,T){T=this.cfg.extend(T),_=this._parse(_,T.format);var R=T.kdf.execute(O,I.keySize,I.ivSize,_.salt,T.hasher);T.iv=R.iv;var P=x.decrypt.call(this,I,_,R.key,T);return P}})}()})}(Zc)),Zc.exports}var Jc={exports:{}},tv;function s5(){return tv||(tv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Qe())})($,function(n){return n.mode.CFB=function(){var r=n.lib.BlockCipherMode.extend();r.Encryptor=r.extend({processBlock:function(a,s){var o=this._cipher,l=o.blockSize;i.call(this,a,s,l,o),this._prevBlock=a.slice(s,s+l)}}),r.Decryptor=r.extend({processBlock:function(a,s){var o=this._cipher,l=o.blockSize,u=a.slice(s,s+l);i.call(this,a,s,l,o),this._prevBlock=u}});function i(a,s,o,l){var u,c=this._iv;c?(u=c.slice(0),this._iv=void 0):u=this._prevBlock,l.encryptBlock(u,0);for(var A=0;A<o;A++)a[s+A]^=u[A]}return r}(),n.mode.CFB})}(Jc)),Jc.exports}var ed={exports:{}},nv;function o5(){return nv||(nv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Qe())})($,function(n){return n.mode.CTR=function(){var r=n.lib.BlockCipherMode.extend(),i=r.Encryptor=r.extend({processBlock:function(a,s){var o=this._cipher,l=o.blockSize,u=this._iv,c=this._counter;u&&(c=this._counter=u.slice(0),this._iv=void 0);var A=c.slice(0);o.encryptBlock(A,0),c[l-1]=c[l-1]+1|0;for(var d=0;d<l;d++)a[s+d]^=A[d]}});return r.Decryptor=i,r}(),n.mode.CTR})}(ed)),ed.exports}var td={exports:{}},rv;function l5(){return rv||(rv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Qe())})($,function(n){/** @preserve * Counter block mode compatible with Dr Brian Gladman fileenc.c * derived from CryptoJS.mode.CTR * Jan Hruby jhruby.web@gmail.com - */return n.mode.CTRGladman=function(){var r=n.lib.BlockCipherMode.extend();function i(o){if((o>>24&255)===255){var l=o>>16&255,u=o>>8&255,c=o&255;l===255?(l=0,u===255?(u=0,c===255?c=0:++c):++u):++l,o=0,o+=l<<16,o+=u<<8,o+=c}else o+=1<<24;return o}function a(o){return(o[0]=i(o[0]))===0&&(o[1]=i(o[1])),o}var s=r.Encryptor=r.extend({processBlock:function(o,l){var u=this._cipher,c=u.blockSize,A=this._iv,d=this._counter;A&&(d=this._counter=A.slice(0),this._iv=void 0),a(d);var f=d.slice(0);u.encryptBlock(f,0);for(var p=0;p<c;p++)o[l+p]^=f[p]}});return r.Decryptor=s,r}(),n.mode.CTRGladman})}(ed)),ed.exports}var td={exports:{}},tv;function t5(){return tv||(tv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Qe())})($,function(n){return n.mode.OFB=function(){var r=n.lib.BlockCipherMode.extend(),i=r.Encryptor=r.extend({processBlock:function(a,s){var o=this._cipher,l=o.blockSize,u=this._iv,c=this._keystream;u&&(c=this._keystream=u.slice(0),this._iv=void 0),o.encryptBlock(c,0);for(var A=0;A<l;A++)a[s+A]^=c[A]}});return r.Decryptor=i,r}(),n.mode.OFB})}(td)),td.exports}var nd={exports:{}},nv;function n5(){return nv||(nv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Qe())})($,function(n){return n.mode.ECB=function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(i,a){this._cipher.encryptBlock(i,a)}}),r.Decryptor=r.extend({processBlock:function(i,a){this._cipher.decryptBlock(i,a)}}),r}(),n.mode.ECB})}(nd)),nd.exports}var rd={exports:{}},rv;function r5(){return rv||(rv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Qe())})($,function(n){return n.pad.AnsiX923={pad:function(r,i){var a=r.sigBytes,s=i*4,o=s-a%s,l=a+o-1;r.clamp(),r.words[l>>>2]|=o<<24-l%4*8,r.sigBytes+=o},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},n.pad.Ansix923})}(rd)),rd.exports}var id={exports:{}},iv;function i5(){return iv||(iv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Qe())})($,function(n){return n.pad.Iso10126={pad:function(r,i){var a=i*4,s=a-r.sigBytes%a;r.concat(n.lib.WordArray.random(s-1)).concat(n.lib.WordArray.create([s<<24],1))},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},n.pad.Iso10126})}(id)),id.exports}var ad={exports:{}},av;function a5(){return av||(av=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Qe())})($,function(n){return n.pad.Iso97971={pad:function(r,i){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,i)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})}(ad)),ad.exports}var sd={exports:{}},sv;function s5(){return sv||(sv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Qe())})($,function(n){return n.pad.ZeroPadding={pad:function(r,i){var a=i*4;r.clamp(),r.sigBytes+=a-(r.sigBytes%a||a)},unpad:function(r){for(var i=r.words,a=r.sigBytes-1,a=r.sigBytes-1;a>=0;a--)if(i[a>>>2]>>>24-a%4*8&255){r.sigBytes=a+1;break}}},n.pad.ZeroPadding})}(sd)),sd.exports}var od={exports:{}},ov;function o5(){return ov||(ov=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Qe())})($,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})}(od)),od.exports}var ld={exports:{}},lv;function l5(){return lv||(lv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Qe())})($,function(n){return function(r){var i=n,a=i.lib,s=a.CipherParams,o=i.enc,l=o.Hex,u=i.format;u.Hex={stringify:function(c){return c.ciphertext.toString(l)},parse:function(c){var A=l.parse(c);return s.create({ciphertext:A})}}}(),n.format.Hex})}(ld)),ld.exports}var ud={exports:{}},uv;function u5(){return uv||(uv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),ui(),ci(),Tr(),Qe())})($,function(n){return function(){var r=n,i=r.lib,a=i.BlockCipher,s=r.algo,o=[],l=[],u=[],c=[],A=[],d=[],f=[],p=[],h=[],v=[];(function(){for(var m=[],g=0;g<256;g++)g<128?m[g]=g<<1:m[g]=g<<1^283;for(var y=0,x=0,g=0;g<256;g++){var w=x^x<<1^x<<2^x<<3^x<<4;w=w>>>8^w&255^99,o[y]=w,l[w]=y;var S=m[y],D=m[S],I=m[D],_=m[w]*257^w*16843008;u[y]=_<<24|_>>>8,c[y]=_<<16|_>>>16,A[y]=_<<8|_>>>24,d[y]=_;var _=I*16843009^D*65537^S*257^y*16843008;f[w]=_<<24|_>>>8,p[w]=_<<16|_>>>16,h[w]=_<<8|_>>>24,v[w]=_,y?(y=S^m[m[m[I^S]]],x^=m[m[x]]):y=x=1}})();var E=[0,1,2,4,8,16,32,64,128,27,54],C=s.AES=a.extend({_doReset:function(){var m;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var g=this._keyPriorReset=this._key,y=g.words,x=g.sigBytes/4,w=this._nRounds=x+6,S=(w+1)*4,D=this._keySchedule=[],I=0;I<S;I++)I<x?D[I]=y[I]:(m=D[I-1],I%x?x>6&&I%x==4&&(m=o[m>>>24]<<24|o[m>>>16&255]<<16|o[m>>>8&255]<<8|o[m&255]):(m=m<<8|m>>>24,m=o[m>>>24]<<24|o[m>>>16&255]<<16|o[m>>>8&255]<<8|o[m&255],m^=E[I/x|0]<<24),D[I]=D[I-x]^m);for(var _=this._invKeySchedule=[],O=0;O<S;O++){var I=S-O;if(O%4)var m=D[I];else var m=D[I-4];O<4||I<=4?_[O]=m:_[O]=f[o[m>>>24]]^p[o[m>>>16&255]]^h[o[m>>>8&255]]^v[o[m&255]]}}},encryptBlock:function(m,g){this._doCryptBlock(m,g,this._keySchedule,u,c,A,d,o)},decryptBlock:function(m,g){var y=m[g+1];m[g+1]=m[g+3],m[g+3]=y,this._doCryptBlock(m,g,this._invKeySchedule,f,p,h,v,l);var y=m[g+1];m[g+1]=m[g+3],m[g+3]=y},_doCryptBlock:function(m,g,y,x,w,S,D,I){for(var _=this._nRounds,O=m[g]^y[0],T=m[g+1]^y[1],R=m[g+2]^y[2],P=m[g+3]^y[3],F=4,H=1;H<_;H++){var M=x[O>>>24]^w[T>>>16&255]^S[R>>>8&255]^D[P&255]^y[F++],V=x[T>>>24]^w[R>>>16&255]^S[P>>>8&255]^D[O&255]^y[F++],W=x[R>>>24]^w[P>>>16&255]^S[O>>>8&255]^D[T&255]^y[F++],B=x[P>>>24]^w[O>>>16&255]^S[T>>>8&255]^D[R&255]^y[F++];O=M,T=V,R=W,P=B}var M=(I[O>>>24]<<24|I[T>>>16&255]<<16|I[R>>>8&255]<<8|I[P&255])^y[F++],V=(I[T>>>24]<<24|I[R>>>16&255]<<16|I[P>>>8&255]<<8|I[O&255])^y[F++],W=(I[R>>>24]<<24|I[P>>>16&255]<<16|I[O>>>8&255]<<8|I[T&255])^y[F++],B=(I[P>>>24]<<24|I[O>>>16&255]<<16|I[T>>>8&255]<<8|I[R&255])^y[F++];m[g]=M,m[g+1]=V,m[g+2]=W,m[g+3]=B},keySize:256/32});r.AES=a._createHelper(C)}(),n.AES})}(ud)),ud.exports}var cd={exports:{}},cv;function c5(){return cv||(cv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),ui(),ci(),Tr(),Qe())})($,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,s=i.BlockCipher,o=r.algo,l=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],u=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],A=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],f=o.DES=s.extend({_doReset:function(){for(var E=this._key,C=E.words,m=[],g=0;g<56;g++){var y=l[g]-1;m[g]=C[y>>>5]>>>31-y%32&1}for(var x=this._subKeys=[],w=0;w<16;w++){for(var S=x[w]=[],D=c[w],g=0;g<24;g++)S[g/6|0]|=m[(u[g]-1+D)%28]<<31-g%6,S[4+(g/6|0)]|=m[28+(u[g+24]-1+D)%28]<<31-g%6;S[0]=S[0]<<1|S[0]>>>31;for(var g=1;g<7;g++)S[g]=S[g]>>>(g-1)*4+3;S[7]=S[7]<<5|S[7]>>>27}for(var I=this._invSubKeys=[],g=0;g<16;g++)I[g]=x[15-g]},encryptBlock:function(E,C){this._doCryptBlock(E,C,this._subKeys)},decryptBlock:function(E,C){this._doCryptBlock(E,C,this._invSubKeys)},_doCryptBlock:function(E,C,m){this._lBlock=E[C],this._rBlock=E[C+1],p.call(this,4,252645135),p.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),p.call(this,1,1431655765);for(var g=0;g<16;g++){for(var y=m[g],x=this._lBlock,w=this._rBlock,S=0,D=0;D<8;D++)S|=A[D][((w^y[D])&d[D])>>>0];this._lBlock=w,this._rBlock=x^S}var I=this._lBlock;this._lBlock=this._rBlock,this._rBlock=I,p.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),E[C]=this._lBlock,E[C+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function p(E,C){var m=(this._lBlock>>>E^this._rBlock)&C;this._rBlock^=m,this._lBlock^=m<<E}function h(E,C){var m=(this._rBlock>>>E^this._lBlock)&C;this._lBlock^=m,this._rBlock^=m<<E}r.DES=s._createHelper(f);var v=o.TripleDES=s.extend({_doReset:function(){var E=this._key,C=E.words;if(C.length!==2&&C.length!==4&&C.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var m=C.slice(0,2),g=C.length<4?C.slice(0,2):C.slice(2,4),y=C.length<6?C.slice(0,2):C.slice(4,6);this._des1=f.createEncryptor(a.create(m)),this._des2=f.createEncryptor(a.create(g)),this._des3=f.createEncryptor(a.create(y))},encryptBlock:function(E,C){this._des1.encryptBlock(E,C),this._des2.decryptBlock(E,C),this._des3.encryptBlock(E,C)},decryptBlock:function(E,C){this._des3.decryptBlock(E,C),this._des2.encryptBlock(E,C),this._des1.decryptBlock(E,C)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=s._createHelper(v)}(),n.TripleDES})}(cd)),cd.exports}var dd={exports:{}},dv;function d5(){return dv||(dv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),ui(),ci(),Tr(),Qe())})($,function(n){return function(){var r=n,i=r.lib,a=i.StreamCipher,s=r.algo,o=s.RC4=a.extend({_doReset:function(){for(var c=this._key,A=c.words,d=c.sigBytes,f=this._S=[],p=0;p<256;p++)f[p]=p;for(var p=0,h=0;p<256;p++){var v=p%d,E=A[v>>>2]>>>24-v%4*8&255;h=(h+f[p]+E)%256;var C=f[p];f[p]=f[h],f[h]=C}this._i=this._j=0},_doProcessBlock:function(c,A){c[A]^=l.call(this)},keySize:256/32,ivSize:0});function l(){for(var c=this._S,A=this._i,d=this._j,f=0,p=0;p<4;p++){A=(A+1)%256,d=(d+c[A])%256;var h=c[A];c[A]=c[d],c[d]=h,f|=c[(c[A]+c[d])%256]<<24-p*8}return this._i=A,this._j=d,f}r.RC4=a._createHelper(o);var u=s.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var c=this.cfg.drop;c>0;c--)l.call(this)}});r.RC4Drop=a._createHelper(u)}(),n.RC4})}(dd)),dd.exports}var Ad={exports:{}},Av;function A5(){return Av||(Av=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),ui(),ci(),Tr(),Qe())})($,function(n){return function(){var r=n,i=r.lib,a=i.StreamCipher,s=r.algo,o=[],l=[],u=[],c=s.Rabbit=a.extend({_doReset:function(){for(var d=this._key.words,f=this.cfg.iv,p=0;p<4;p++)d[p]=(d[p]<<8|d[p]>>>24)&16711935|(d[p]<<24|d[p]>>>8)&4278255360;var h=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],v=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var p=0;p<4;p++)A.call(this);for(var p=0;p<8;p++)v[p]^=h[p+4&7];if(f){var E=f.words,C=E[0],m=E[1],g=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,y=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360,x=g>>>16|y&4294901760,w=y<<16|g&65535;v[0]^=g,v[1]^=x,v[2]^=y,v[3]^=w,v[4]^=g,v[5]^=x,v[6]^=y,v[7]^=w;for(var p=0;p<4;p++)A.call(this)}},_doProcessBlock:function(d,f){var p=this._X;A.call(this),o[0]=p[0]^p[5]>>>16^p[3]<<16,o[1]=p[2]^p[7]>>>16^p[5]<<16,o[2]=p[4]^p[1]>>>16^p[7]<<16,o[3]=p[6]^p[3]>>>16^p[1]<<16;for(var h=0;h<4;h++)o[h]=(o[h]<<8|o[h]>>>24)&16711935|(o[h]<<24|o[h]>>>8)&4278255360,d[f+h]^=o[h]},blockSize:128/32,ivSize:64/32});function A(){for(var d=this._X,f=this._C,p=0;p<8;p++)l[p]=f[p];f[0]=f[0]+1295307597+this._b|0,f[1]=f[1]+3545052371+(f[0]>>>0<l[0]>>>0?1:0)|0,f[2]=f[2]+886263092+(f[1]>>>0<l[1]>>>0?1:0)|0,f[3]=f[3]+1295307597+(f[2]>>>0<l[2]>>>0?1:0)|0,f[4]=f[4]+3545052371+(f[3]>>>0<l[3]>>>0?1:0)|0,f[5]=f[5]+886263092+(f[4]>>>0<l[4]>>>0?1:0)|0,f[6]=f[6]+1295307597+(f[5]>>>0<l[5]>>>0?1:0)|0,f[7]=f[7]+3545052371+(f[6]>>>0<l[6]>>>0?1:0)|0,this._b=f[7]>>>0<l[7]>>>0?1:0;for(var p=0;p<8;p++){var h=d[p]+f[p],v=h&65535,E=h>>>16,C=((v*v>>>17)+v*E>>>15)+E*E,m=((h&4294901760)*h|0)+((h&65535)*h|0);u[p]=C^m}d[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,d[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,d[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,d[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,d[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,d[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,d[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,d[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}r.Rabbit=a._createHelper(c)}(),n.Rabbit})}(Ad)),Ad.exports}var fd={exports:{}},fv;function f5(){return fv||(fv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),ui(),ci(),Tr(),Qe())})($,function(n){return function(){var r=n,i=r.lib,a=i.StreamCipher,s=r.algo,o=[],l=[],u=[],c=s.RabbitLegacy=a.extend({_doReset:function(){var d=this._key.words,f=this.cfg.iv,p=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],h=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var v=0;v<4;v++)A.call(this);for(var v=0;v<8;v++)h[v]^=p[v+4&7];if(f){var E=f.words,C=E[0],m=E[1],g=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,y=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360,x=g>>>16|y&4294901760,w=y<<16|g&65535;h[0]^=g,h[1]^=x,h[2]^=y,h[3]^=w,h[4]^=g,h[5]^=x,h[6]^=y,h[7]^=w;for(var v=0;v<4;v++)A.call(this)}},_doProcessBlock:function(d,f){var p=this._X;A.call(this),o[0]=p[0]^p[5]>>>16^p[3]<<16,o[1]=p[2]^p[7]>>>16^p[5]<<16,o[2]=p[4]^p[1]>>>16^p[7]<<16,o[3]=p[6]^p[3]>>>16^p[1]<<16;for(var h=0;h<4;h++)o[h]=(o[h]<<8|o[h]>>>24)&16711935|(o[h]<<24|o[h]>>>8)&4278255360,d[f+h]^=o[h]},blockSize:128/32,ivSize:64/32});function A(){for(var d=this._X,f=this._C,p=0;p<8;p++)l[p]=f[p];f[0]=f[0]+1295307597+this._b|0,f[1]=f[1]+3545052371+(f[0]>>>0<l[0]>>>0?1:0)|0,f[2]=f[2]+886263092+(f[1]>>>0<l[1]>>>0?1:0)|0,f[3]=f[3]+1295307597+(f[2]>>>0<l[2]>>>0?1:0)|0,f[4]=f[4]+3545052371+(f[3]>>>0<l[3]>>>0?1:0)|0,f[5]=f[5]+886263092+(f[4]>>>0<l[4]>>>0?1:0)|0,f[6]=f[6]+1295307597+(f[5]>>>0<l[5]>>>0?1:0)|0,f[7]=f[7]+3545052371+(f[6]>>>0<l[6]>>>0?1:0)|0,this._b=f[7]>>>0<l[7]>>>0?1:0;for(var p=0;p<8;p++){var h=d[p]+f[p],v=h&65535,E=h>>>16,C=((v*v>>>17)+v*E>>>15)+E*E,m=((h&4294901760)*h|0)+((h&65535)*h|0);u[p]=C^m}d[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,d[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,d[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,d[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,d[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,d[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,d[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,d[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}r.RabbitLegacy=a._createHelper(c)}(),n.RabbitLegacy})}(fd)),fd.exports}var hd={exports:{}},hv;function h5(){return hv||(hv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),ui(),ci(),Tr(),Qe())})($,function(n){return function(){var r=n,i=r.lib,a=i.BlockCipher,s=r.algo;const o=16,l=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],u=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var c={pbox:[],sbox:[]};function A(v,E){let C=E>>24&255,m=E>>16&255,g=E>>8&255,y=E&255,x=v.sbox[0][C]+v.sbox[1][m];return x=x^v.sbox[2][g],x=x+v.sbox[3][y],x}function d(v,E,C){let m=E,g=C,y;for(let x=0;x<o;++x)m=m^v.pbox[x],g=A(v,m)^g,y=m,m=g,g=y;return y=m,m=g,g=y,g=g^v.pbox[o],m=m^v.pbox[o+1],{left:m,right:g}}function f(v,E,C){let m=E,g=C,y;for(let x=o+1;x>1;--x)m=m^v.pbox[x],g=A(v,m)^g,y=m,m=g,g=y;return y=m,m=g,g=y,g=g^v.pbox[1],m=m^v.pbox[0],{left:m,right:g}}function p(v,E,C){for(let w=0;w<4;w++){v.sbox[w]=[];for(let S=0;S<256;S++)v.sbox[w][S]=u[w][S]}let m=0;for(let w=0;w<o+2;w++)v.pbox[w]=l[w]^E[m],m++,m>=C&&(m=0);let g=0,y=0,x=0;for(let w=0;w<o+2;w+=2)x=d(v,g,y),g=x.left,y=x.right,v.pbox[w]=g,v.pbox[w+1]=y;for(let w=0;w<4;w++)for(let S=0;S<256;S+=2)x=d(v,g,y),g=x.left,y=x.right,v.sbox[w][S]=g,v.sbox[w][S+1]=y;return!0}var h=s.Blowfish=a.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var v=this._keyPriorReset=this._key,E=v.words,C=v.sigBytes/4;p(c,E,C)}},encryptBlock:function(v,E){var C=d(c,v[E],v[E+1]);v[E]=C.left,v[E+1]=C.right},decryptBlock:function(v,E){var C=f(c,v[E],v[E+1]);v[E]=C.left,v[E+1]=C.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=a._createHelper(h)}(),n.Blowfish})}(hd)),hd.exports}(function(t,e){(function(n,r,i){t.exports=r(Ae(),Tu(),X3(),Y3(),ui(),z3(),ci(),_E(),bA(),K3(),DE(),$3(),q3(),j3(),_A(),Q3(),Tr(),Qe(),Z3(),J3(),e5(),t5(),n5(),r5(),i5(),a5(),s5(),o5(),l5(),u5(),c5(),d5(),A5(),f5(),h5())})($,function(n){return n})})(bE);var p5=bE.exports;const v5=t=>p5.SHA256(t).toString(),g5=v5($x()),m5=t=>new Promise(e=>setTimeout(e,t)),C5=[pt.projectFollow,pt.projectDetails,pt.projects,pt.projectsFollowedArticles,pt.projectUnfollow,$i.registerDevice,$i.unregisterDevice],E5=(t,{endpoint:e,getState:n})=>{C5.includes(e)&&t.set("deviceid",g5);const r=n(),{environment:i}=Fm(r),a=dx[i];return a?t.set("X-API-KEY",a):kv(`No API key in .env for environment ${i}.`),t.set("releaseVersion",hx),t},x5=async(t,e,n)=>Oc(async()=>{var f;const{slug:r,afterError:i,afterSuccess:a,prepareHeaders:s=p=>p}=t,o=bO(r)(e.getState()),l=`${e.endpoint}: ${t.method??"GET"} ${o}${t.url}`;NA(`Request started: ${l}`);const u=await j8({baseUrl:o,prepareHeaders:(p,h)=>E5(s(p,h),h),timeout:SE.long})(t,e,n),{error:c,meta:A}=u,d=((f=A==null?void 0:A.response)==null?void 0:f.status)??(c==null?void 0:c.status)??0;return c?kv(`Request failed (${d}): ${l}`):NA(`Request success: ${l}`),d===404&&Oc.fail(c),((c==null?void 0:c.status)==="FETCH_ERROR"||(c==null?void 0:c.status)==="TIMEOUT_ERROR"||(c==null?void 0:c.status)===502)&&await m5(100),c?await(i==null?void 0:i(u,e,Oc.fail)):await(a==null?void 0:a(u,e)),u},{maxRetries:2})(t,e,n),qa=M3({baseQuery:x5,endpoints:()=>({}),reducerPath:"api",tagTypes:["Articles","FollowedProjects","Modules","Notifications","Projects"]}),Nr=({params:t={},path:e})=>{const n=Object.entries(t).filter(([,a])=>Array.isArray(a)).flatMap(([a,s])=>s.flatMap(o=>`${a}=${o}`)),r=Object.entries(t).filter(([,a])=>!!a&&!Array.isArray(a)).flatMap(([a,s])=>`${a}=${s}`),i=n.concat(r).join("&");return i.length===0?e??"":[e,i].join("?")},y5=1e3,Tn=nt["construction-work"],I5=qa.injectEndpoints({endpoints:t=>({[pt.articles]:t.query({providesTags:["Articles"],query:e=>({slug:Tn,url:Nr({path:"/articles",params:e})}),keepUnusedDataFor:cr.minute}),[pt.projectDetails]:t.query({providesTags:["FollowedProjects","Projects"],query:e=>({slug:Tn,url:Nr({path:"/project/details",params:e})}),keepUnusedDataFor:cr.hour,transformResponse:N8}),[pt.projectNews]:t.query({query:e=>({slug:Tn,url:Nr({path:"/project/news",params:e})}),keepUnusedDataFor:cr.minute}),[pt.projectWarning]:t.query({query:e=>({slug:Tn,url:Nr({path:"/project/warning",params:e})}),keepUnusedDataFor:cr.minute}),[pt.projects]:t.query({providesTags:["FollowedProjects","Projects"],query:e=>({slug:Tn,url:e?Nr({path:"/projects",params:e}):"/projects"}),keepUnusedDataFor:cr.hour}),[pt.projectUnfollow]:t.mutation({invalidatesTags:["FollowedProjects"],query:e=>({body:e,method:"DELETE",slug:Tn,url:"/projects/follow"})}),[pt.projectFollow]:t.mutation({invalidatesTags:["FollowedProjects"],query:e=>({body:e,method:"POST",slug:Tn,url:"/projects/follow"})}),[pt.projectsFollowedArticles]:t.query({providesTags:["Articles","FollowedProjects"],query:e=>({slug:Tn,url:e?Nr({path:"/projects/followed/articles",params:e}):"/projects/followed/articles"}),keepUnusedDataFor:cr.hour}),[pt.projectsSearch]:t.query({providesTags:["Projects"],query:e=>({slug:Tn,url:Nr({path:"/projects/search",params:{page_size:y5,...B8(e)}})}),keepUnusedDataFor:cr.hour})}),overrideExisting:!0}),{useArticlesQuery:$6,useProjectDetailsQuery:q6,useProjectFollowMutation:j6,useProjectNewsQuery:Q6,useProjectUnfollowMutation:Z6,useProjectWarningQuery:J6,useProjectsFollowedArticlesQuery:w5,useProjectsQuery:S5,useProjectsSearchQuery:eF}=I5,b5={readArticles:[],searchText:""},OE=De({name:ie.constructionWork,initialState:b5,reducers:{addReadArticle:(t,{payload:e})=>{t.readArticles.push(e)},deleteReadArticle:(t,{payload:e})=>{t.readArticles=t.readArticles.filter(n=>n.id!==e)},setSearchText:(t,{payload:e})=>{t.searchText=e}}});OE.actions;const _5=t=>t[ie.constructionWork].readArticles,D5=()=>{const t=Bt(_5),{data:e,refetch:n}=w5({article_max_age:vE}),r=b.useCallback(()=>{n()},[n]);Qv(r);const i=b.useMemo(()=>e&&Object.keys(e).flatMap(s=>e[s]),[e]),a=M8(t,i);return a?X.jsx(Yx,{accessibilityLabel:R8`${a} ongelezen bericht[|en]`,testID:"ConstructionWorkBadge",value:a}):null},O5=()=>({getToken:()=>Promise.resolve()}),T5=async t=>(await _y(["alert","badge","carPlay","sound"])).status,P5=t=>{const e=Bt(yy(t)),n=En(),r=Dv(),i=b.useCallback(()=>new Promise((a,s)=>{T5().then(o=>{const l=o===Jo.GRANTED;n(af({permission:t,granted:l})),a(l)}).catch(o=>{n(af({permission:t,granted:!1})),r(Ov.updatePermission,"usePermission.ts",{error:o,permission:t,request:!0}),s(o)})}),[n,t,r]);return{hasPermission:e,requestPermission:i}},R5=qa.injectEndpoints({endpoints:t=>({[$i.registerDevice]:t.mutation({query:e=>({body:{os:ue.OS,...e},method:"POST",slug:nt["construction-work"],url:"/device/register"})}),[$i.unregisterDevice]:t.mutation({query:()=>({method:"DELETE",slug:nt["construction-work"],url:"/device/register"})})}),overrideExisting:!0}),{useRegisterDeviceMutation:F5,useUnregisterDeviceMutation:k5}=R5,M5=()=>{const[t]=F5(),[e]=k5(),n=Dv(),{hasPermission:r,requestPermission:i}=P5(ka.notifications),a=b.useCallback(()=>{O5().getToken().then(o=>{t({firebase_token:o})}).catch(o=>{n(Ov.registerDevice,"useRegisterDevice.ts",{error:o})})},[t,n]);return{registerDeviceIfPermitted:b.useCallback((o=!1)=>new Promise((l,u)=>{o?i().then(c=>{c&&a(),l(c)}):(r&&a(),l(r))}),[i,a,r]),unregisterDevice:e}},B5={nearestProjectsRadius:1e3,projectItemListPageSize:20,searchBoxDebounceDuration:300},N5=()=>{const{registerDeviceIfPermitted:t}=M5(),[e,n]=b.useState(!1),{data:r}=S5({article_max_age:vE,page_size:B5.projectItemListPageSize,page:1},{skip:e});return b.useEffect(()=>{var i;(i=r==null?void 0:r.result)!=null&&i[0].followed&&!e&&(t(!0),n(!0))},[r==null?void 0:r.result,e,t]),null};var E0=(t=>(t.constructionWork="ConstructionWork",t.project="Project",t.projectNews="ProjectNews",t.projectSegment="ProjectSegment",t.projectWarning="ProjectWarning",t.search="ConstructionWorkSearch",t))(E0||{});const G5=["readArticles"],L5={PreRenderComponent:N5,BadgeValue:D5,linking:{[E0.projectNews]:"news/:id/:screenHeaderTitle/:screenTitle/:isPushNotificationDeeplink?",[E0.projectWarning]:"warning/:id/:screenHeaderTitle/:screenTitle/:isPushNotificationDeeplink?"},logDimension:Jt.constructionWorkModule,name:"ConstructionWorkModule",reduxConfigs:[{key:ie.constructionWork,persistVersion:0,persistWhitelist:G5,slice:OE}],requiresFirebaseToken:!0,slug:nt["construction-work"]},pv={},TE=De({name:ie.messageDraft,initialState:pv,reducers:{clearDraft:()=>pv,setCurrentProjectId:(t,{payload:e})=>{t.currentProjectId=e},setMainImage:(t,{payload:{projectId:e,mainImage:n}})=>{t[e]={...t[e],mainImage:n}},setMainImageDescription:(t,{payload:{projectId:e,mainImageDescription:n}})=>{t[e]={...t[e],mainImageDescription:n}},setNotification:(t,{payload:{projectId:e,notification:n}})=>{t[e]={...t[e],notification:n}},setProject:(t,{payload:e})=>{t[e.id]={...t[e.id],project:e}},setMessage:(t,{payload:{projectId:e,message:n}})=>{t[e]={...t[e],message:n}}}});TE.actions;$r(t=>t[ie.messageDraft],t=>t==null?void 0:t.currentProjectId);$r(t=>t[ie.messageDraft],t=>t.currentProjectId);var PE=(t=>(t.addMainImageToMessage="AddMainImageToMessage",t.authorizedProjects="AuthorizedProjects",t.confirmMessage="ConfirmMessage",t.createMessage="CreateMessage",t))(PE||{});const vv={accessToken:void 0,hasSeenWelcomeMessage:!1,hasAutoFollowedProjects:!1},RE=De({name:ie.constructionWorkEditor,initialState:vv,reducers:{saveConstructionWorkEditorToken:(t,{payload:e})=>{t.accessToken=e},removeConstructionWorkEditorToken:t=>{t.accessToken=void 0},setHasSeenWelcomeMessage:(t,{payload:e})=>{t.hasSeenWelcomeMessage=e},setHasAutoFollowedProjects:(t,{payload:e})=>{t.hasAutoFollowedProjects=e},removeConstructionWorkEditor:()=>vv}});RE.actions;const V5={requiresAuthorization:!0,linking:{[PE.authorizedProjects]:"construction-work-editor/:accessToken?"},logDimension:Jt.constructionWorkEditorModule,name:"ConstructionWorkEditorModule",reduxConfigs:[{key:ie.constructionWorkEditor,persistVersion:0,slice:RE},{key:ie.messageDraft,persistVersion:0,slice:TE}],slug:nt["construction-work-editor"]},FE=De({name:ie.contact,initialState:{},reducers:{setSelectedCityOffice:(t,{payload:e})=>{t.selectedCityOfficeId=e}}});FE.actions;const H5={logDimension:Jt.contactModule,name:"ContactModule",reduxConfigs:[{key:ie.contact,persistVersion:0,slice:FE}],slug:nt.contact},U5={name:"HomeModule",screenOptions:{cardStyleInterpolator:({current:t})=>({cardStyle:{opacity:t.progress}})},slug:nt.home},W5={hasSeenOnboarding:!1},kE=De({name:ie.onboarding,initialState:W5,reducers:{setHasSeenOnboarding:(t,{payload:e})=>{t.hasSeenOnboarding=e}}});kE.actions;const X5={alwaysEnabled:!0,hiddenInMenu:!0,name:"OnboardingModule",reduxConfigs:[{key:ie.onboarding,persistVersion:-1,slice:kE}],slug:nt.onboarding,screenOptions:{cardStyleInterpolator:({current:t})=>({cardStyle:{opacity:t.progress}})}},Y5={name:"OpenWasteContainerModule",slug:nt["open-waste-container"]},z5={logDimension:Jt.redirectsModule,name:"RedirectsModule",slug:nt.redirects};var ME=(t=>(t.reportProblem="ReportProblem",t.reportProblemWebView="ReportProblemWebView",t))(ME||{});const K5={logDimension:Jt.reportProblemModule,name:"ReportProblemModule",slug:nt["report-problem"],screenOptions:({route:t})=>({gestureEnabled:d1(t)!==ME.reportProblemWebView})},$5={name:"UserModule",slug:nt.user},q5={contracts:void 0},BE=De({name:ie.wasteGuide,initialState:q5,reducers:{addContract:(t,{payload:e})=>{t.contracts={...t.contracts,...e}},resetContracts:({contracts:t,...e})=>e}});BE.actions;const j5={logDimension:Jt.wasteGuideModule,name:"WasteGuideModule",reduxConfigs:[{key:ie.wasteGuide,persistVersion:0,slice:BE}],slug:nt["waste-guide"]},Q5=[Oy,U5,X5,$5],Z5=[vy,FO,T8,V5,L5,H5,Y5,z5,K5,j5],J5=(t,e)=>t===$i.unregisterDevice&&(e==null?void 0:e.status)===404&&(e==null?void 0:e.data)==="No record found",eR=[0,"0"],tR=t=>t!==void 0&&!eR.includes(t),nR=t=>{var o,l,u,c,A,d,f,p;const e=(l=(o=t.meta)==null?void 0:o.arg)==null?void 0:l.endpointName,n=(u=t.payload)==null?void 0:u.originalStatus,r=(c=t.payload)==null?void 0:c.status;if(!tR(n??r)||J5(e,t.payload))return;let i="Rejected RTK action";e&&(i=`${n??r??"Error"} for ${e}`);const a=`All request retries failed: ${i}`,s=(f=(d=(A=t.meta)==null?void 0:A.baseQueryMeta)==null?void 0:d.request)==null?void 0:f.url;s&&!s.startsWith("http://localhost")&&_v.trackException({exception:new Error(a),properties:{endpoint:e,originalStatus:n,status:r,error:(p=t.payload)==null?void 0:p.error,url:s}})},rR=()=>t=>e=>($o(e)&&nR(e),t(e));var iR=t=>{if(Object.prototype.toString.call(t)!=="[object Object]")return!1;const e=Object.getPrototypeOf(t);return e===null||e===Object.prototype};const Ko=iR,{hasOwnProperty:NE}=Object.prototype,{propertyIsEnumerable:aR}=Object,qi=(t,e,n)=>Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!0,configurable:!0}),sR=$,gv={concatArrays:!1,ignoreUndefined:!1},Pu=t=>{const e=[];for(const n in t)NE.call(t,n)&&e.push(n);if(Object.getOwnPropertySymbols){const n=Object.getOwnPropertySymbols(t);for(const r of n)aR.call(t,r)&&e.push(r)}return e};function sa(t){return Array.isArray(t)?oR(t):Ko(t)?lR(t):t}function oR(t){const e=t.slice(0,0);return Pu(t).forEach(n=>{qi(e,n,sa(t[n]))}),e}function lR(t){const e=Object.getPrototypeOf(t)===null?Object.create(null):{};return Pu(t).forEach(n=>{qi(e,n,sa(t[n]))}),e}const GE=(t,e,n,r)=>(n.forEach(i=>{typeof e[i]>"u"&&r.ignoreUndefined||(i in t&&t[i]!==Object.getPrototypeOf(t)?qi(t,i,x0(t[i],e[i],r)):qi(t,i,sa(e[i])))}),t),uR=(t,e,n)=>{let r=t.slice(0,0),i=0;return[t,e].forEach(a=>{const s=[];for(let o=0;o<a.length;o++)NE.call(a,o)&&(s.push(String(o)),a===t?qi(r,i++,a[o]):qi(r,i++,sa(a[o])));r=GE(r,a,Pu(a).filter(o=>!s.includes(o)),n)}),r};function x0(t,e,n){return n.concatArrays&&Array.isArray(t)&&Array.isArray(e)?uR(t,e,n):!Ko(e)||!Ko(t)?sa(e):GE(t,e,Pu(e),n)}var cR=function(...t){const e=x0(sa(gv),this!==sR&&this||{},gv);let n={_:{}};for(const r of t)if(r!==void 0){if(!Ko(r))throw new TypeError("`"+r+"` is not an Option Object");n=x0(n,{_:r},e)}return n._};const dR=Cn(cR),AR=dR.bind({concatArrays:!0,ignoreUndefined:!0});function fR(t,e){const n=window.localStorage.getItem(t);if(n){const r=JSON.parse(n),i=JSON.parse(e),a=JSON.stringify(AR(r,i));window.localStorage.setItem(t,a)}else window.localStorage.setItem(t,e)}function wi(t,e){return new Promise((n,r)=>{try{const i=t();e==null||e(null,i),n(i)}catch(i){e==null||e(i),r(i)}})}function lo(t,e,n){return Promise.all(t).then(r=>{const i=(n==null?void 0:n(r))??null;return e==null||e(null,i),Promise.resolve(i)},r=>(e==null||e(r),Promise.reject(r)))}const Ua={getItem:(t,e)=>wi(()=>window.localStorage.getItem(t),e),setItem:(t,e,n)=>wi(()=>window.localStorage.setItem(t,e),n),removeItem:(t,e)=>wi(()=>window.localStorage.removeItem(t),e),mergeItem:(t,e,n)=>wi(()=>fR(t,e),n),clear:t=>wi(()=>window.localStorage.clear(),t),getAllKeys:t=>wi(()=>{const e=window.localStorage.length,n=[];for(let r=0;r<e;r+=1){const i=window.localStorage.key(r)||"";n.push(i)}return n},t),flushGetRequests:()=>{},multiGet:(t,e)=>{const n=t.map(i=>Ua.getItem(i));return lo(n,e,i=>i.map((a,s)=>[t[s],a]))},multiSet:(t,e)=>{const n=t.map(r=>Ua.setItem(r[0],r[1]));return lo(n,e)},multiRemove:(t,e)=>{const n=t.map(r=>Ua.removeItem(r));return lo(n,e)},multiMerge:(t,e)=>{const n=t.map(r=>Ua.mergeItem(r[0],r[1]));return lo(n,e)}},mv=t=>t.reduce((e,{reduxConfigs:n})=>n?[...e,...n]:e,[]),hR=t=>{const e={};return t.forEach(n=>{const{key:r,migrations:i,slice:a,persistWhitelist:s,persistVersion:o}=n;if(o===void 0){e[r]=a.reducer;return}e[r]=ty({key:r,storage:Ua,migrate:i?ny(i,{debug:Cx===Ex.local}):void 0,version:o,whitelist:s},a.reducer)}),e},Cv={},LE=De({name:ie.alert,initialState:Cv,reducers:{resetAlert:()=>Cv,setAlert:(t,{payload:e})=>(qx||LA.configureNext(LA.Presets.easeInEaseOut),e)}});LE.actions;const pR={isConnected:null,isInternetReachable:null,isNoInternetFullScreenErrorVisible:!1},VE=De({name:ie.internetConnection,initialState:pR,reducers:{setInternetState:(t,{payload:{isConnected:e,isInternetReachable:n}})=>{t.isConnected=e,t.isInternetReachable=n},setIsNoInternetFullScreenErrorVisible:(t,{payload:e})=>{t.isNoInternetFullScreenErrorVisible=e}}});VE.actions;const Ev={disabledModules:[],authorizedModules:[]},HE=De({name:ie.modules,initialState:Ev,reducers:{resetModules:()=>Ev,toggleModule:(t,{payload:e})=>{const{disabledModules:n}=t;if(n!=null&&n.includes(e))return{...t,disabledModules:n.filter(r=>r!==e)};t.disabledModules=[...t.disabledModules,e]},addAuthorizedModule:(t,{payload:e})=>{const{authorizedModules:n}=t;n!=null&&n.includes(e)||(t.authorizedModules=[...t.authorizedModules,e])},removeAuthorizedModule:(t,{payload:e})=>{const{authorizedModules:n}=t;n!=null&&n.includes(e)&&(t.authorizedModules=n.filter(r=>r!==e))}}});HE.actions;const UE=De({name:ie.updateApp,initialState:{},reducers:{setLastSeenTimestamp:(t,{payload:e})=>({...t,lastSeenTimestamp:e})}});UE.actions.setLastSeenTimestamp(Date.now());const vR=[{key:ie.alert,slice:LE},{key:ie.bottomSheet,slice:Sm},{key:ie.chat,slice:Ag},{key:ie.environment,slice:Rm,persistVersion:0},{key:ie.internetConnection,slice:VE},{key:ie.modules,slice:HE,persistVersion:0},{key:ie.overlay,slice:Wm},{key:ie.permissions,slice:hg},{key:ie.productTour,slice:dg,persistVersion:0},{key:ie.secureStorage,slice:Gm,persistVersion:0},{key:ie.theme,slice:ox},{key:ie.screen,slice:bm},{key:ie.updateApp,slice:UE,persistVersion:0}],gR=hR([...vR,...mv(Q5),...mv(Z5)]),mR=lx({enhancers:t=>t,reducer:Iv({[qa.reducerPath]:qa.reducer,...gR}),middleware:t=>t({serializableCheck:{ignoredActions:[ag,sg,og,lg,ug,H1],warnAfter:256},immutableCheck:{warnAfter:256}}).concat([qa.middleware,rR])}),y0=({children:t})=>X.jsx(x1,{store:mR,children:t});try{y0.displayName="StoreProvider",y0.__docgenInfo={description:"",displayName:"StoreProvider",props:{}}}catch{}const CR=t=>X.jsx(Ax,{children:X.jsx(L1,{children:X.jsx(y0,{children:X.jsx(jE,{children:X.jsx(t,{})})})})}),tF={decorators:[CR],parameters:{backgrounds:{values:[{name:"custom-grey0",value:Ai.custom.grey0},{name:"primary-blue",value:Ai.primary.blue},{name:"primary-red",value:Ai.primary.red},{name:"primary-black",value:Ai.primary.black},{name:"secondary-yellow",value:Ai.secondary.yellow},{name:"secondary-purple",value:Ai.secondary.purple}]},controls:{matchers:{color:/(background|color)$/i,date:/Date$/}},viewport:{viewports:V1,defaultViewport:"iphonex"}},tags:["autodocs"]};export{tF as default}; + */return n.mode.CTRGladman=function(){var r=n.lib.BlockCipherMode.extend();function i(o){if((o>>24&255)===255){var l=o>>16&255,u=o>>8&255,c=o&255;l===255?(l=0,u===255?(u=0,c===255?c=0:++c):++u):++l,o=0,o+=l<<16,o+=u<<8,o+=c}else o+=1<<24;return o}function a(o){return(o[0]=i(o[0]))===0&&(o[1]=i(o[1])),o}var s=r.Encryptor=r.extend({processBlock:function(o,l){var u=this._cipher,c=u.blockSize,A=this._iv,d=this._counter;A&&(d=this._counter=A.slice(0),this._iv=void 0),a(d);var f=d.slice(0);u.encryptBlock(f,0);for(var p=0;p<c;p++)o[l+p]^=f[p]}});return r.Decryptor=s,r}(),n.mode.CTRGladman})}(td)),td.exports}var nd={exports:{}},iv;function u5(){return iv||(iv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Qe())})($,function(n){return n.mode.OFB=function(){var r=n.lib.BlockCipherMode.extend(),i=r.Encryptor=r.extend({processBlock:function(a,s){var o=this._cipher,l=o.blockSize,u=this._iv,c=this._keystream;u&&(c=this._keystream=u.slice(0),this._iv=void 0),o.encryptBlock(c,0);for(var A=0;A<l;A++)a[s+A]^=c[A]}});return r.Decryptor=i,r}(),n.mode.OFB})}(nd)),nd.exports}var rd={exports:{}},av;function c5(){return av||(av=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Qe())})($,function(n){return n.mode.ECB=function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(i,a){this._cipher.encryptBlock(i,a)}}),r.Decryptor=r.extend({processBlock:function(i,a){this._cipher.decryptBlock(i,a)}}),r}(),n.mode.ECB})}(rd)),rd.exports}var id={exports:{}},sv;function d5(){return sv||(sv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Qe())})($,function(n){return n.pad.AnsiX923={pad:function(r,i){var a=r.sigBytes,s=i*4,o=s-a%s,l=a+o-1;r.clamp(),r.words[l>>>2]|=o<<24-l%4*8,r.sigBytes+=o},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},n.pad.Ansix923})}(id)),id.exports}var ad={exports:{}},ov;function A5(){return ov||(ov=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Qe())})($,function(n){return n.pad.Iso10126={pad:function(r,i){var a=i*4,s=a-r.sigBytes%a;r.concat(n.lib.WordArray.random(s-1)).concat(n.lib.WordArray.create([s<<24],1))},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},n.pad.Iso10126})}(ad)),ad.exports}var sd={exports:{}},lv;function f5(){return lv||(lv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Qe())})($,function(n){return n.pad.Iso97971={pad:function(r,i){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,i)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})}(sd)),sd.exports}var od={exports:{}},uv;function h5(){return uv||(uv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Qe())})($,function(n){return n.pad.ZeroPadding={pad:function(r,i){var a=i*4;r.clamp(),r.sigBytes+=a-(r.sigBytes%a||a)},unpad:function(r){for(var i=r.words,a=r.sigBytes-1,a=r.sigBytes-1;a>=0;a--)if(i[a>>>2]>>>24-a%4*8&255){r.sigBytes=a+1;break}}},n.pad.ZeroPadding})}(od)),od.exports}var ld={exports:{}},cv;function p5(){return cv||(cv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Qe())})($,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})}(ld)),ld.exports}var ud={exports:{}},dv;function v5(){return dv||(dv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),Qe())})($,function(n){return function(r){var i=n,a=i.lib,s=a.CipherParams,o=i.enc,l=o.Hex,u=i.format;u.Hex={stringify:function(c){return c.ciphertext.toString(l)},parse:function(c){var A=l.parse(c);return s.create({ciphertext:A})}}}(),n.format.Hex})}(ud)),ud.exports}var cd={exports:{}},Av;function g5(){return Av||(Av=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),ui(),ci(),Tr(),Qe())})($,function(n){return function(){var r=n,i=r.lib,a=i.BlockCipher,s=r.algo,o=[],l=[],u=[],c=[],A=[],d=[],f=[],p=[],h=[],v=[];(function(){for(var m=[],g=0;g<256;g++)g<128?m[g]=g<<1:m[g]=g<<1^283;for(var y=0,x=0,g=0;g<256;g++){var w=x^x<<1^x<<2^x<<3^x<<4;w=w>>>8^w&255^99,o[y]=w,l[w]=y;var S=m[y],D=m[S],I=m[D],_=m[w]*257^w*16843008;u[y]=_<<24|_>>>8,c[y]=_<<16|_>>>16,A[y]=_<<8|_>>>24,d[y]=_;var _=I*16843009^D*65537^S*257^y*16843008;f[w]=_<<24|_>>>8,p[w]=_<<16|_>>>16,h[w]=_<<8|_>>>24,v[w]=_,y?(y=S^m[m[m[I^S]]],x^=m[m[x]]):y=x=1}})();var E=[0,1,2,4,8,16,32,64,128,27,54],C=s.AES=a.extend({_doReset:function(){var m;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var g=this._keyPriorReset=this._key,y=g.words,x=g.sigBytes/4,w=this._nRounds=x+6,S=(w+1)*4,D=this._keySchedule=[],I=0;I<S;I++)I<x?D[I]=y[I]:(m=D[I-1],I%x?x>6&&I%x==4&&(m=o[m>>>24]<<24|o[m>>>16&255]<<16|o[m>>>8&255]<<8|o[m&255]):(m=m<<8|m>>>24,m=o[m>>>24]<<24|o[m>>>16&255]<<16|o[m>>>8&255]<<8|o[m&255],m^=E[I/x|0]<<24),D[I]=D[I-x]^m);for(var _=this._invKeySchedule=[],O=0;O<S;O++){var I=S-O;if(O%4)var m=D[I];else var m=D[I-4];O<4||I<=4?_[O]=m:_[O]=f[o[m>>>24]]^p[o[m>>>16&255]]^h[o[m>>>8&255]]^v[o[m&255]]}}},encryptBlock:function(m,g){this._doCryptBlock(m,g,this._keySchedule,u,c,A,d,o)},decryptBlock:function(m,g){var y=m[g+1];m[g+1]=m[g+3],m[g+3]=y,this._doCryptBlock(m,g,this._invKeySchedule,f,p,h,v,l);var y=m[g+1];m[g+1]=m[g+3],m[g+3]=y},_doCryptBlock:function(m,g,y,x,w,S,D,I){for(var _=this._nRounds,O=m[g]^y[0],T=m[g+1]^y[1],R=m[g+2]^y[2],P=m[g+3]^y[3],F=4,H=1;H<_;H++){var k=x[O>>>24]^w[T>>>16&255]^S[R>>>8&255]^D[P&255]^y[F++],V=x[T>>>24]^w[R>>>16&255]^S[P>>>8&255]^D[O&255]^y[F++],W=x[R>>>24]^w[P>>>16&255]^S[O>>>8&255]^D[T&255]^y[F++],B=x[P>>>24]^w[O>>>16&255]^S[T>>>8&255]^D[R&255]^y[F++];O=k,T=V,R=W,P=B}var k=(I[O>>>24]<<24|I[T>>>16&255]<<16|I[R>>>8&255]<<8|I[P&255])^y[F++],V=(I[T>>>24]<<24|I[R>>>16&255]<<16|I[P>>>8&255]<<8|I[O&255])^y[F++],W=(I[R>>>24]<<24|I[P>>>16&255]<<16|I[O>>>8&255]<<8|I[T&255])^y[F++],B=(I[P>>>24]<<24|I[O>>>16&255]<<16|I[T>>>8&255]<<8|I[R&255])^y[F++];m[g]=k,m[g+1]=V,m[g+2]=W,m[g+3]=B},keySize:256/32});r.AES=a._createHelper(C)}(),n.AES})}(cd)),cd.exports}var dd={exports:{}},fv;function m5(){return fv||(fv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),ui(),ci(),Tr(),Qe())})($,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,s=i.BlockCipher,o=r.algo,l=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],u=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],A=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],f=o.DES=s.extend({_doReset:function(){for(var E=this._key,C=E.words,m=[],g=0;g<56;g++){var y=l[g]-1;m[g]=C[y>>>5]>>>31-y%32&1}for(var x=this._subKeys=[],w=0;w<16;w++){for(var S=x[w]=[],D=c[w],g=0;g<24;g++)S[g/6|0]|=m[(u[g]-1+D)%28]<<31-g%6,S[4+(g/6|0)]|=m[28+(u[g+24]-1+D)%28]<<31-g%6;S[0]=S[0]<<1|S[0]>>>31;for(var g=1;g<7;g++)S[g]=S[g]>>>(g-1)*4+3;S[7]=S[7]<<5|S[7]>>>27}for(var I=this._invSubKeys=[],g=0;g<16;g++)I[g]=x[15-g]},encryptBlock:function(E,C){this._doCryptBlock(E,C,this._subKeys)},decryptBlock:function(E,C){this._doCryptBlock(E,C,this._invSubKeys)},_doCryptBlock:function(E,C,m){this._lBlock=E[C],this._rBlock=E[C+1],p.call(this,4,252645135),p.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),p.call(this,1,1431655765);for(var g=0;g<16;g++){for(var y=m[g],x=this._lBlock,w=this._rBlock,S=0,D=0;D<8;D++)S|=A[D][((w^y[D])&d[D])>>>0];this._lBlock=w,this._rBlock=x^S}var I=this._lBlock;this._lBlock=this._rBlock,this._rBlock=I,p.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),E[C]=this._lBlock,E[C+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function p(E,C){var m=(this._lBlock>>>E^this._rBlock)&C;this._rBlock^=m,this._lBlock^=m<<E}function h(E,C){var m=(this._rBlock>>>E^this._lBlock)&C;this._lBlock^=m,this._rBlock^=m<<E}r.DES=s._createHelper(f);var v=o.TripleDES=s.extend({_doReset:function(){var E=this._key,C=E.words;if(C.length!==2&&C.length!==4&&C.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var m=C.slice(0,2),g=C.length<4?C.slice(0,2):C.slice(2,4),y=C.length<6?C.slice(0,2):C.slice(4,6);this._des1=f.createEncryptor(a.create(m)),this._des2=f.createEncryptor(a.create(g)),this._des3=f.createEncryptor(a.create(y))},encryptBlock:function(E,C){this._des1.encryptBlock(E,C),this._des2.decryptBlock(E,C),this._des3.encryptBlock(E,C)},decryptBlock:function(E,C){this._des3.decryptBlock(E,C),this._des2.encryptBlock(E,C),this._des1.decryptBlock(E,C)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=s._createHelper(v)}(),n.TripleDES})}(dd)),dd.exports}var Ad={exports:{}},hv;function C5(){return hv||(hv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),ui(),ci(),Tr(),Qe())})($,function(n){return function(){var r=n,i=r.lib,a=i.StreamCipher,s=r.algo,o=s.RC4=a.extend({_doReset:function(){for(var c=this._key,A=c.words,d=c.sigBytes,f=this._S=[],p=0;p<256;p++)f[p]=p;for(var p=0,h=0;p<256;p++){var v=p%d,E=A[v>>>2]>>>24-v%4*8&255;h=(h+f[p]+E)%256;var C=f[p];f[p]=f[h],f[h]=C}this._i=this._j=0},_doProcessBlock:function(c,A){c[A]^=l.call(this)},keySize:256/32,ivSize:0});function l(){for(var c=this._S,A=this._i,d=this._j,f=0,p=0;p<4;p++){A=(A+1)%256,d=(d+c[A])%256;var h=c[A];c[A]=c[d],c[d]=h,f|=c[(c[A]+c[d])%256]<<24-p*8}return this._i=A,this._j=d,f}r.RC4=a._createHelper(o);var u=s.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var c=this.cfg.drop;c>0;c--)l.call(this)}});r.RC4Drop=a._createHelper(u)}(),n.RC4})}(Ad)),Ad.exports}var fd={exports:{}},pv;function E5(){return pv||(pv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),ui(),ci(),Tr(),Qe())})($,function(n){return function(){var r=n,i=r.lib,a=i.StreamCipher,s=r.algo,o=[],l=[],u=[],c=s.Rabbit=a.extend({_doReset:function(){for(var d=this._key.words,f=this.cfg.iv,p=0;p<4;p++)d[p]=(d[p]<<8|d[p]>>>24)&16711935|(d[p]<<24|d[p]>>>8)&4278255360;var h=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],v=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var p=0;p<4;p++)A.call(this);for(var p=0;p<8;p++)v[p]^=h[p+4&7];if(f){var E=f.words,C=E[0],m=E[1],g=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,y=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360,x=g>>>16|y&4294901760,w=y<<16|g&65535;v[0]^=g,v[1]^=x,v[2]^=y,v[3]^=w,v[4]^=g,v[5]^=x,v[6]^=y,v[7]^=w;for(var p=0;p<4;p++)A.call(this)}},_doProcessBlock:function(d,f){var p=this._X;A.call(this),o[0]=p[0]^p[5]>>>16^p[3]<<16,o[1]=p[2]^p[7]>>>16^p[5]<<16,o[2]=p[4]^p[1]>>>16^p[7]<<16,o[3]=p[6]^p[3]>>>16^p[1]<<16;for(var h=0;h<4;h++)o[h]=(o[h]<<8|o[h]>>>24)&16711935|(o[h]<<24|o[h]>>>8)&4278255360,d[f+h]^=o[h]},blockSize:128/32,ivSize:64/32});function A(){for(var d=this._X,f=this._C,p=0;p<8;p++)l[p]=f[p];f[0]=f[0]+1295307597+this._b|0,f[1]=f[1]+3545052371+(f[0]>>>0<l[0]>>>0?1:0)|0,f[2]=f[2]+886263092+(f[1]>>>0<l[1]>>>0?1:0)|0,f[3]=f[3]+1295307597+(f[2]>>>0<l[2]>>>0?1:0)|0,f[4]=f[4]+3545052371+(f[3]>>>0<l[3]>>>0?1:0)|0,f[5]=f[5]+886263092+(f[4]>>>0<l[4]>>>0?1:0)|0,f[6]=f[6]+1295307597+(f[5]>>>0<l[5]>>>0?1:0)|0,f[7]=f[7]+3545052371+(f[6]>>>0<l[6]>>>0?1:0)|0,this._b=f[7]>>>0<l[7]>>>0?1:0;for(var p=0;p<8;p++){var h=d[p]+f[p],v=h&65535,E=h>>>16,C=((v*v>>>17)+v*E>>>15)+E*E,m=((h&4294901760)*h|0)+((h&65535)*h|0);u[p]=C^m}d[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,d[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,d[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,d[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,d[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,d[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,d[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,d[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}r.Rabbit=a._createHelper(c)}(),n.Rabbit})}(fd)),fd.exports}var hd={exports:{}},vv;function x5(){return vv||(vv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),ui(),ci(),Tr(),Qe())})($,function(n){return function(){var r=n,i=r.lib,a=i.StreamCipher,s=r.algo,o=[],l=[],u=[],c=s.RabbitLegacy=a.extend({_doReset:function(){var d=this._key.words,f=this.cfg.iv,p=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],h=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var v=0;v<4;v++)A.call(this);for(var v=0;v<8;v++)h[v]^=p[v+4&7];if(f){var E=f.words,C=E[0],m=E[1],g=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,y=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360,x=g>>>16|y&4294901760,w=y<<16|g&65535;h[0]^=g,h[1]^=x,h[2]^=y,h[3]^=w,h[4]^=g,h[5]^=x,h[6]^=y,h[7]^=w;for(var v=0;v<4;v++)A.call(this)}},_doProcessBlock:function(d,f){var p=this._X;A.call(this),o[0]=p[0]^p[5]>>>16^p[3]<<16,o[1]=p[2]^p[7]>>>16^p[5]<<16,o[2]=p[4]^p[1]>>>16^p[7]<<16,o[3]=p[6]^p[3]>>>16^p[1]<<16;for(var h=0;h<4;h++)o[h]=(o[h]<<8|o[h]>>>24)&16711935|(o[h]<<24|o[h]>>>8)&4278255360,d[f+h]^=o[h]},blockSize:128/32,ivSize:64/32});function A(){for(var d=this._X,f=this._C,p=0;p<8;p++)l[p]=f[p];f[0]=f[0]+1295307597+this._b|0,f[1]=f[1]+3545052371+(f[0]>>>0<l[0]>>>0?1:0)|0,f[2]=f[2]+886263092+(f[1]>>>0<l[1]>>>0?1:0)|0,f[3]=f[3]+1295307597+(f[2]>>>0<l[2]>>>0?1:0)|0,f[4]=f[4]+3545052371+(f[3]>>>0<l[3]>>>0?1:0)|0,f[5]=f[5]+886263092+(f[4]>>>0<l[4]>>>0?1:0)|0,f[6]=f[6]+1295307597+(f[5]>>>0<l[5]>>>0?1:0)|0,f[7]=f[7]+3545052371+(f[6]>>>0<l[6]>>>0?1:0)|0,this._b=f[7]>>>0<l[7]>>>0?1:0;for(var p=0;p<8;p++){var h=d[p]+f[p],v=h&65535,E=h>>>16,C=((v*v>>>17)+v*E>>>15)+E*E,m=((h&4294901760)*h|0)+((h&65535)*h|0);u[p]=C^m}d[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,d[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,d[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,d[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,d[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,d[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,d[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,d[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}r.RabbitLegacy=a._createHelper(c)}(),n.RabbitLegacy})}(hd)),hd.exports}var pd={exports:{}},gv;function y5(){return gv||(gv=1,function(t,e){(function(n,r,i){t.exports=r(Ae(),ui(),ci(),Tr(),Qe())})($,function(n){return function(){var r=n,i=r.lib,a=i.BlockCipher,s=r.algo;const o=16,l=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],u=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var c={pbox:[],sbox:[]};function A(v,E){let C=E>>24&255,m=E>>16&255,g=E>>8&255,y=E&255,x=v.sbox[0][C]+v.sbox[1][m];return x=x^v.sbox[2][g],x=x+v.sbox[3][y],x}function d(v,E,C){let m=E,g=C,y;for(let x=0;x<o;++x)m=m^v.pbox[x],g=A(v,m)^g,y=m,m=g,g=y;return y=m,m=g,g=y,g=g^v.pbox[o],m=m^v.pbox[o+1],{left:m,right:g}}function f(v,E,C){let m=E,g=C,y;for(let x=o+1;x>1;--x)m=m^v.pbox[x],g=A(v,m)^g,y=m,m=g,g=y;return y=m,m=g,g=y,g=g^v.pbox[1],m=m^v.pbox[0],{left:m,right:g}}function p(v,E,C){for(let w=0;w<4;w++){v.sbox[w]=[];for(let S=0;S<256;S++)v.sbox[w][S]=u[w][S]}let m=0;for(let w=0;w<o+2;w++)v.pbox[w]=l[w]^E[m],m++,m>=C&&(m=0);let g=0,y=0,x=0;for(let w=0;w<o+2;w+=2)x=d(v,g,y),g=x.left,y=x.right,v.pbox[w]=g,v.pbox[w+1]=y;for(let w=0;w<4;w++)for(let S=0;S<256;S+=2)x=d(v,g,y),g=x.left,y=x.right,v.sbox[w][S]=g,v.sbox[w][S+1]=y;return!0}var h=s.Blowfish=a.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var v=this._keyPriorReset=this._key,E=v.words,C=v.sigBytes/4;p(c,E,C)}},encryptBlock:function(v,E){var C=d(c,v[E],v[E+1]);v[E]=C.left,v[E+1]=C.right},decryptBlock:function(v,E){var C=f(c,v[E],v[E+1]);v[E]=C.left,v[E+1]=C.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=a._createHelper(h)}(),n.Blowfish})}(pd)),pd.exports}(function(t,e){(function(n,r,i){t.exports=r(Ae(),Pu(),Z3(),J3(),ui(),e5(),ci(),OE(),DA(),t5(),TE(),n5(),r5(),i5(),OA(),a5(),Tr(),Qe(),s5(),o5(),l5(),u5(),c5(),d5(),A5(),f5(),h5(),p5(),v5(),g5(),m5(),C5(),E5(),x5(),y5())})($,function(n){return n})})(DE);var I5=DE.exports;const w5=t=>I5.SHA256(t).toString(),S5=w5(e1()),b5=t=>new Promise(e=>setTimeout(e,t)),_5=[pt.projectFollow,pt.projectDetails,pt.projects,pt.projectsFollowedArticles,pt.projectUnfollow,$i.registerDevice,$i.unregisterDevice],D5=(t,{endpoint:e,getState:n})=>{_5.includes(e)&&t.set("deviceid",S5);const r=n(),{environment:i}=km(r),a=hx[i];return a?t.set("X-API-KEY",a):Nv(`No API key in .env for environment ${i}.`),t.set("releaseVersion",gx),t},O5=async(t,e,n)=>Tc(async()=>{var f;const{slug:r,afterError:i,afterSuccess:a,prepareHeaders:s=p=>p}=t,o=MO(r)(e.getState()),l=`${e.endpoint}: ${t.method??"GET"} ${o}${t.url}`;LA(`Request started: ${l}`);const u=await i3({baseUrl:o,prepareHeaders:(p,h)=>D5(s(p,h),h),timeout:_E.long})(t,e,n),{error:c,meta:A}=u,d=((f=A==null?void 0:A.response)==null?void 0:f.status)??(c==null?void 0:c.status)??0;return c?Nv(`Request failed (${d}): ${l}`):LA(`Request success: ${l}`),d===404&&Tc.fail(c),((c==null?void 0:c.status)==="FETCH_ERROR"||(c==null?void 0:c.status)==="TIMEOUT_ERROR"||(c==null?void 0:c.status)===502)&&await b5(100),c?await(i==null?void 0:i(u,e,Tc.fail)):await(a==null?void 0:a(u,e)),u},{maxRetries:2})(t,e,n),qa=W3({baseQuery:O5,endpoints:()=>({}),reducerPath:"api",tagTypes:["Articles","FollowedProjects","Modules","Notifications","Projects"]}),Nr=({params:t={},path:e})=>{const n=Object.entries(t).filter(([,a])=>Array.isArray(a)).flatMap(([a,s])=>s.flatMap(o=>`${a}=${o}`)),r=Object.entries(t).filter(([,a])=>!!a&&!Array.isArray(a)).flatMap(([a,s])=>`${a}=${s}`),i=n.concat(r).join("&");return i.length===0?e??"":[e,i].join("?")},T5=1e3,Pn=nt["construction-work"],P5=qa.injectEndpoints({endpoints:t=>({[pt.articles]:t.query({providesTags:["Articles"],query:e=>({slug:Pn,url:Nr({path:"/articles",params:e})}),keepUnusedDataFor:cr.minute}),[pt.projectDetails]:t.query({providesTags:["FollowedProjects","Projects"],query:e=>({slug:Pn,url:Nr({path:"/project/details",params:e})}),keepUnusedDataFor:cr.hour,transformResponse:Y8}),[pt.projectNews]:t.query({query:e=>({slug:Pn,url:Nr({path:"/project/news",params:e})}),keepUnusedDataFor:cr.minute}),[pt.projectWarning]:t.query({query:e=>({slug:Pn,url:Nr({path:"/project/warning",params:e})}),keepUnusedDataFor:cr.minute}),[pt.projects]:t.query({providesTags:["FollowedProjects","Projects"],query:e=>({slug:Pn,url:e?Nr({path:"/projects",params:e}):"/projects"}),keepUnusedDataFor:cr.hour}),[pt.projectUnfollow]:t.mutation({invalidatesTags:["FollowedProjects"],query:e=>({body:e,method:"DELETE",slug:Pn,url:"/projects/follow"})}),[pt.projectFollow]:t.mutation({invalidatesTags:["FollowedProjects"],query:e=>({body:e,method:"POST",slug:Pn,url:"/projects/follow"})}),[pt.projectsFollowedArticles]:t.query({providesTags:["Articles","FollowedProjects"],query:e=>({slug:Pn,url:e?Nr({path:"/projects/followed/articles",params:e}):"/projects/followed/articles"}),keepUnusedDataFor:cr.hour}),[pt.projectsSearch]:t.query({providesTags:["Projects"],query:e=>({slug:Pn,url:Nr({path:"/projects/search",params:{page_size:T5,...X8(e)}})}),keepUnusedDataFor:cr.hour})}),overrideExisting:!0}),{useArticlesQuery:iF,useProjectDetailsQuery:aF,useProjectFollowMutation:sF,useProjectNewsQuery:oF,useProjectUnfollowMutation:lF,useProjectWarningQuery:uF,useProjectsFollowedArticlesQuery:R5,useProjectsQuery:F5,useProjectsSearchQuery:cF}=P5,M5={readArticles:[],searchText:""},PE=De({name:ie.constructionWork,initialState:M5,reducers:{addReadArticle:(t,{payload:e})=>{t.readArticles.push(e)},deleteReadArticle:(t,{payload:e})=>{t.readArticles=t.readArticles.filter(n=>n.id!==e)},setSearchText:(t,{payload:e})=>{t.searchText=e}}});PE.actions;const k5=t=>t[ie.constructionWork].readArticles,B5=()=>{const t=Bt(k5),{data:e,refetch:n}=R5({article_max_age:mE}),r=b.useCallback(()=>{n()},[n]);Jv(r);const i=b.useMemo(()=>e&&Object.keys(e).flatMap(s=>e[s]),[e]),a=W8(t,i);return a?X.jsx(Qx,{accessibilityLabel:V8`${a} ongelezen bericht[|en]`,testID:"ConstructionWorkBadge",value:a}):null},N5=()=>({getToken:()=>Promise.resolve()}),G5=async t=>(await Fy(["alert","badge","carPlay","sound"])).status,L5=t=>{const e=Bt(Dy(t)),n=xn(),r=Pv(),i=b.useCallback(()=>new Promise((a,s)=>{G5().then(o=>{const l=o===el.GRANTED;n(of({permission:t,granted:l})),a(l)}).catch(o=>{n(of({permission:t,granted:!1})),r(Rv.updatePermission,"usePermission.ts",{error:o,permission:t,request:!0}),s(o)})}),[n,t,r]);return{hasPermission:e,requestPermission:i}},V5=qa.injectEndpoints({endpoints:t=>({[$i.registerDevice]:t.mutation({query:e=>({body:{os:ue.OS,...e},method:"POST",slug:nt["construction-work"],url:"/device/register"})}),[$i.unregisterDevice]:t.mutation({query:()=>({method:"DELETE",slug:nt["construction-work"],url:"/device/register"})})}),overrideExisting:!0}),{useRegisterDeviceMutation:H5,useUnregisterDeviceMutation:U5}=V5,W5=()=>{const[t]=H5(),[e]=U5(),n=Pv(),{hasPermission:r,requestPermission:i}=L5(Ma.notifications),a=b.useCallback(()=>{N5().getToken().then(o=>{t({firebase_token:o})}).catch(o=>{n(Rv.registerDevice,"useRegisterDevice.ts",{error:o})})},[t,n]);return{registerDeviceIfPermitted:b.useCallback((o=!1)=>new Promise((l,u)=>{o?i().then(c=>{c&&a(),l(c)}):(r&&a(),l(r))}),[i,a,r]),unregisterDevice:e}},X5={nearestProjectsRadius:1e3,projectItemListPageSize:20,searchBoxDebounceDuration:300},Y5=()=>{const{registerDeviceIfPermitted:t}=W5(),[e,n]=b.useState(!1),{data:r}=F5({article_max_age:mE,page_size:X5.projectItemListPageSize,page:1},{skip:e});return b.useEffect(()=>{var i;(i=r==null?void 0:r.result)!=null&&i[0].followed&&!e&&(t(!0),n(!0))},[r==null?void 0:r.result,e,t]),null};var y0=(t=>(t.constructionWork="ConstructionWork",t.project="Project",t.projectNews="ProjectNews",t.projectSegment="ProjectSegment",t.projectWarning="ProjectWarning",t.search="ConstructionWorkSearch",t))(y0||{});const z5=["readArticles"],K5={PreRenderComponent:Y5,BadgeValue:B5,linking:{[y0.projectNews]:"news/:id/:screenHeaderTitle/:screenTitle/:isPushNotificationDeeplink?",[y0.projectWarning]:"warning/:id/:screenHeaderTitle/:screenTitle/:isPushNotificationDeeplink?"},logDimension:Jt.constructionWorkModule,name:"ConstructionWorkModule",reduxConfigs:[{key:ie.constructionWork,persistVersion:0,persistWhitelist:z5,slice:PE}],requiresFirebaseToken:!0,slug:nt["construction-work"]},mv={},RE=De({name:ie.messageDraft,initialState:mv,reducers:{clearDraft:()=>mv,setCurrentProjectId:(t,{payload:e})=>{t.currentProjectId=e},setMainImage:(t,{payload:{projectId:e,mainImage:n}})=>{t[e]={...t[e],mainImage:n}},setMainImageDescription:(t,{payload:{projectId:e,mainImageDescription:n}})=>{t[e]={...t[e],mainImageDescription:n}},setNotification:(t,{payload:{projectId:e,notification:n}})=>{t[e]={...t[e],notification:n}},setProject:(t,{payload:e})=>{t[e.id]={...t[e.id],project:e}},setMessage:(t,{payload:{projectId:e,message:n}})=>{t[e]={...t[e],message:n}}}});RE.actions;$r(t=>t[ie.messageDraft],t=>t==null?void 0:t.currentProjectId);$r(t=>t[ie.messageDraft],t=>t.currentProjectId);var FE=(t=>(t.addMainImageToMessage="AddMainImageToMessage",t.authorizedProjects="AuthorizedProjects",t.confirmMessage="ConfirmMessage",t.createMessage="CreateMessage",t))(FE||{});const Cv={accessToken:void 0,hasSeenWelcomeMessage:!1,hasAutoFollowedProjects:!1},ME=De({name:ie.constructionWorkEditor,initialState:Cv,reducers:{saveConstructionWorkEditorToken:(t,{payload:e})=>{t.accessToken=e},removeConstructionWorkEditorToken:t=>{t.accessToken=void 0},setHasSeenWelcomeMessage:(t,{payload:e})=>{t.hasSeenWelcomeMessage=e},setHasAutoFollowedProjects:(t,{payload:e})=>{t.hasAutoFollowedProjects=e},removeConstructionWorkEditor:()=>Cv}});ME.actions;const $5={requiresAuthorization:!0,linking:{[FE.authorizedProjects]:"construction-work-editor/:accessToken?"},logDimension:Jt.constructionWorkEditorModule,name:"ConstructionWorkEditorModule",reduxConfigs:[{key:ie.constructionWorkEditor,persistVersion:0,slice:ME},{key:ie.messageDraft,persistVersion:0,slice:RE}],slug:nt["construction-work-editor"]},kE=De({name:ie.contact,initialState:{},reducers:{setSelectedCityOffice:(t,{payload:e})=>{t.selectedCityOfficeId=e}}});kE.actions;const q5={logDimension:Jt.contactModule,name:"ContactModule",reduxConfigs:[{key:ie.contact,persistVersion:0,slice:kE}],slug:nt.contact},j5={name:"HomeModule",screenOptions:{cardStyleInterpolator:({current:t})=>({cardStyle:{opacity:t.progress}})},slug:nt.home},Q5={hasSeenOnboarding:!1},BE=De({name:ie.onboarding,initialState:Q5,reducers:{setHasSeenOnboarding:(t,{payload:e})=>{t.hasSeenOnboarding=e}}});BE.actions;const Z5={alwaysEnabled:!0,hiddenInMenu:!0,name:"OnboardingModule",reduxConfigs:[{key:ie.onboarding,persistVersion:-1,slice:BE}],slug:nt.onboarding,screenOptions:{cardStyleInterpolator:({current:t})=>({cardStyle:{opacity:t.progress}})}},J5={name:"OpenWasteContainerModule",slug:nt["open-waste-container"]},eR={logDimension:Jt.redirectsModule,name:"RedirectsModule",slug:nt.redirects};var NE=(t=>(t.reportProblem="ReportProblem",t.reportProblemWebView="ReportProblemWebView",t))(NE||{});const tR={logDimension:Jt.reportProblemModule,name:"ReportProblemModule",slug:nt["report-problem"],screenOptions:({route:t})=>({gestureEnabled:g1(t)!==NE.reportProblemWebView})},nR={name:"UserModule",slug:nt.user},rR={contracts:void 0},GE=De({name:ie.wasteGuide,initialState:rR,reducers:{addContract:(t,{payload:e})=>{t.contracts={...t.contracts,...e}},resetContracts:({contracts:t,...e})=>e}});GE.actions;const iR={logDimension:Jt.wasteGuideModule,name:"WasteGuideModule",reduxConfigs:[{key:ie.wasteGuide,persistVersion:0,slice:GE}],slug:nt["waste-guide"]},aR=[ky,j5,Z5,nR],sR=[yy,HO,G8,$5,K5,q5,J5,eR,tR,iR],oR=(t,e)=>t===$i.unregisterDevice&&(e==null?void 0:e.status)===404&&(e==null?void 0:e.data)==="No record found",lR=[0,"0"],uR=t=>t!==void 0&&!lR.includes(t),cR=t=>{var o,l,u,c,A,d,f,p;const e=(l=(o=t.meta)==null?void 0:o.arg)==null?void 0:l.endpointName,n=(u=t.payload)==null?void 0:u.originalStatus,r=(c=t.payload)==null?void 0:c.status;if(!uR(n??r)||oR(e,t.payload))return;let i="Rejected RTK action";e&&(i=`${n??r??"Error"} for ${e}`);const a=`All request retries failed: ${i}`,s=(f=(d=(A=t.meta)==null?void 0:A.baseQueryMeta)==null?void 0:d.request)==null?void 0:f.url;s&&!s.startsWith("http://localhost")&&Tv.trackException({exception:new Error(a),properties:{endpoint:e,originalStatus:n,status:r,error:(p=t.payload)==null?void 0:p.error,url:s}})},dR=()=>t=>e=>(qo(e)&&cR(e),t(e));var AR=t=>{if(Object.prototype.toString.call(t)!=="[object Object]")return!1;const e=Object.getPrototypeOf(t);return e===null||e===Object.prototype};const $o=AR,{hasOwnProperty:LE}=Object.prototype,{propertyIsEnumerable:fR}=Object,qi=(t,e,n)=>Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!0,configurable:!0}),hR=$,Ev={concatArrays:!1,ignoreUndefined:!1},Ru=t=>{const e=[];for(const n in t)LE.call(t,n)&&e.push(n);if(Object.getOwnPropertySymbols){const n=Object.getOwnPropertySymbols(t);for(const r of n)fR.call(t,r)&&e.push(r)}return e};function sa(t){return Array.isArray(t)?pR(t):$o(t)?vR(t):t}function pR(t){const e=t.slice(0,0);return Ru(t).forEach(n=>{qi(e,n,sa(t[n]))}),e}function vR(t){const e=Object.getPrototypeOf(t)===null?Object.create(null):{};return Ru(t).forEach(n=>{qi(e,n,sa(t[n]))}),e}const VE=(t,e,n,r)=>(n.forEach(i=>{typeof e[i]>"u"&&r.ignoreUndefined||(i in t&&t[i]!==Object.getPrototypeOf(t)?qi(t,i,I0(t[i],e[i],r)):qi(t,i,sa(e[i])))}),t),gR=(t,e,n)=>{let r=t.slice(0,0),i=0;return[t,e].forEach(a=>{const s=[];for(let o=0;o<a.length;o++)LE.call(a,o)&&(s.push(String(o)),a===t?qi(r,i++,a[o]):qi(r,i++,sa(a[o])));r=VE(r,a,Ru(a).filter(o=>!s.includes(o)),n)}),r};function I0(t,e,n){return n.concatArrays&&Array.isArray(t)&&Array.isArray(e)?gR(t,e,n):!$o(e)||!$o(t)?sa(e):VE(t,e,Ru(e),n)}var mR=function(...t){const e=I0(sa(Ev),this!==hR&&this||{},Ev);let n={_:{}};for(const r of t)if(r!==void 0){if(!$o(r))throw new TypeError("`"+r+"` is not an Option Object");n=I0(n,{_:r},e)}return n._};const CR=En(mR),ER=CR.bind({concatArrays:!0,ignoreUndefined:!0});function xR(t,e){const n=window.localStorage.getItem(t);if(n){const r=JSON.parse(n),i=JSON.parse(e),a=JSON.stringify(ER(r,i));window.localStorage.setItem(t,a)}else window.localStorage.setItem(t,e)}function wi(t,e){return new Promise((n,r)=>{try{const i=t();e==null||e(null,i),n(i)}catch(i){e==null||e(i),r(i)}})}function lo(t,e,n){return Promise.all(t).then(r=>{const i=(n==null?void 0:n(r))??null;return e==null||e(null,i),Promise.resolve(i)},r=>(e==null||e(r),Promise.reject(r)))}const Ua={getItem:(t,e)=>wi(()=>window.localStorage.getItem(t),e),setItem:(t,e,n)=>wi(()=>window.localStorage.setItem(t,e),n),removeItem:(t,e)=>wi(()=>window.localStorage.removeItem(t),e),mergeItem:(t,e,n)=>wi(()=>xR(t,e),n),clear:t=>wi(()=>window.localStorage.clear(),t),getAllKeys:t=>wi(()=>{const e=window.localStorage.length,n=[];for(let r=0;r<e;r+=1){const i=window.localStorage.key(r)||"";n.push(i)}return n},t),flushGetRequests:()=>{},multiGet:(t,e)=>{const n=t.map(i=>Ua.getItem(i));return lo(n,e,i=>i.map((a,s)=>[t[s],a]))},multiSet:(t,e)=>{const n=t.map(r=>Ua.setItem(r[0],r[1]));return lo(n,e)},multiRemove:(t,e)=>{const n=t.map(r=>Ua.removeItem(r));return lo(n,e)},multiMerge:(t,e)=>{const n=t.map(r=>Ua.mergeItem(r[0],r[1]));return lo(n,e)}},xv=t=>t.reduce((e,{reduxConfigs:n})=>n?[...e,...n]:e,[]),yR=t=>{const e={};return t.forEach(n=>{const{key:r,migrations:i,slice:a,persistWhitelist:s,persistVersion:o}=n;if(o===void 0){e[r]=a.reducer;return}e[r]=oy({key:r,storage:Ua,migrate:i?ly(i,{debug:yx===Ix.local}):void 0,version:o,whitelist:s},a.reducer)}),e},yv={},HE=De({name:ie.alert,initialState:yv,reducers:{resetAlert:()=>yv,setAlert:(t,{payload:e})=>(t1||HA.configureNext(HA.Presets.easeInEaseOut),e)}});HE.actions;const IR={isConnected:null,isInternetReachable:null,isNoInternetFullScreenErrorVisible:!1},UE=De({name:ie.internetConnection,initialState:IR,reducers:{setInternetState:(t,{payload:{isConnected:e,isInternetReachable:n}})=>{t.isConnected=e,t.isInternetReachable=n},setIsNoInternetFullScreenErrorVisible:(t,{payload:e})=>{t.isNoInternetFullScreenErrorVisible=e}}});UE.actions;const Iv={disabledModules:[],authorizedModules:[]},WE=De({name:ie.modules,initialState:Iv,reducers:{resetModules:()=>Iv,toggleModule:(t,{payload:e})=>{const{disabledModules:n}=t;if(n!=null&&n.includes(e))return{...t,disabledModules:n.filter(r=>r!==e)};t.disabledModules=[...t.disabledModules,e]},addAuthorizedModule:(t,{payload:e})=>{const{authorizedModules:n}=t;n!=null&&n.includes(e)||(t.authorizedModules=[...t.authorizedModules,e])},removeAuthorizedModule:(t,{payload:e})=>{const{authorizedModules:n}=t;n!=null&&n.includes(e)&&(t.authorizedModules=n.filter(r=>r!==e))}}});WE.actions;const XE=De({name:ie.updateApp,initialState:{},reducers:{setLastSeenTimestamp:(t,{payload:e})=>({...t,lastSeenTimestamp:e})}});XE.actions.setLastSeenTimestamp(Date.now());const wR=[{key:ie.alert,slice:HE},{key:ie.bottomSheet,slice:_m},{key:ie.chat,slice:hg},{key:ie.environment,slice:Mm,persistVersion:0},{key:ie.internetConnection,slice:UE},{key:ie.modules,slice:WE,persistVersion:0},{key:ie.overlay,slice:Ym},{key:ie.permissions,slice:vg},{key:ie.productTour,slice:fg,persistVersion:0},{key:ie.secureStorage,slice:Vm,persistVersion:0},{key:ie.theme,slice:cx},{key:ie.screen,slice:Dm},{key:ie.updateApp,slice:XE,persistVersion:0}],SR=yR([...wR,...xv(aR),...xv(sR)]),bR=dx({enhancers:t=>t,reducer:bv({[qa.reducerPath]:qa.reducer,...SR}),middleware:t=>t({serializableCheck:{ignoredActions:[og,lg,ug,cg,dg,K1],warnAfter:256},immutableCheck:{warnAfter:256}}).concat([qa.middleware,dR])}),w0=({children:t})=>X.jsx(_1,{store:bR,children:t});try{w0.displayName="StoreProvider",w0.__docgenInfo={description:"",displayName:"StoreProvider",props:{}}}catch{}const _R=t=>X.jsx(px,{children:X.jsx(Y1,{children:X.jsx(w0,{children:X.jsx(ZE,{children:X.jsx(t,{})})})})}),dF={decorators:[_R],parameters:{backgrounds:{values:[{name:"custom-grey0",value:Ai.custom.grey0},{name:"primary-blue",value:Ai.primary.blue},{name:"primary-red",value:Ai.primary.red},{name:"primary-black",value:Ai.primary.black},{name:"secondary-yellow",value:Ai.secondary.yellow},{name:"secondary-purple",value:Ai.secondary.purple}]},controls:{matchers:{color:/(background|color)$/i,date:/Date$/}},viewport:{viewports:z1,defaultViewport:"iphonex"}},tags:["autodocs"]};export{dF as default}; diff --git a/assets/preview-DkERHl94.js b/assets/preview-S4ijnvFU.js similarity index 80% rename from assets/preview-DkERHl94.js rename to assets/preview-S4ijnvFU.js index bed70149..548b4b1c 100644 --- a/assets/preview-DkERHl94.js +++ b/assets/preview-S4ijnvFU.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DocsRenderer-CFRXHY34-DQRRfxKV.js","./iframe-DRbcjd5I.js","./index-mfbfsM12.js","./_commonjsHelpers-BosuxZz1.js","./_commonjs-dynamic-modules-TDtrdbi3.js","./jsx-runtime-Bxcv0yjW.js","./index-BMk6Tmu2.js","./extends-CF3RwP-h.js","./index-DF3CPj03.js","./index-DrFu-skq.js","./react-18-CiRR_loB.js","./client-DDXjyz62.js"])))=>i.map(i=>d[i]); -import{_ as a}from"./iframe-DRbcjd5I.js";import"../sb-preview/runtime.js";const{global:s}=__STORYBOOK_MODULE_GLOBAL__;var _=Object.entries(s.TAGS_OPTIONS??{}).reduce((e,r)=>{let[t,o]=r;return o.excludeFromDocsStories&&(e[t]=!0),e},{}),n={docs:{renderer:async()=>{let{DocsRenderer:e}=await a(()=>import("./DocsRenderer-CFRXHY34-DQRRfxKV.js").then(r=>r.ak),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]),import.meta.url);return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>_[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{n as parameters}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DocsRenderer-CFRXHY34-BMZ1OgK-.js","./iframe-D78jW9zZ.js","./index-mfbfsM12.js","./_commonjsHelpers-BosuxZz1.js","./_commonjs-dynamic-modules-TDtrdbi3.js","./jsx-runtime-Bxcv0yjW.js","./index-BMk6Tmu2.js","./extends-CF3RwP-h.js","./index-DF3CPj03.js","./index-DrFu-skq.js","./react-18-CiRR_loB.js","./client-DDXjyz62.js"])))=>i.map(i=>d[i]); +import{_ as a}from"./iframe-D78jW9zZ.js";import"../sb-preview/runtime.js";const{global:s}=__STORYBOOK_MODULE_GLOBAL__;var _=Object.entries(s.TAGS_OPTIONS??{}).reduce((e,r)=>{let[t,o]=r;return o.excludeFromDocsStories&&(e[t]=!0),e},{}),n={docs:{renderer:async()=>{let{DocsRenderer:e}=await a(()=>import("./DocsRenderer-CFRXHY34-BMZ1OgK-.js").then(r=>r.ak),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]),import.meta.url);return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>_[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{n as parameters}; diff --git a/assets/useOpenUrl-CQsKsYCH.js b/assets/useOpenUrl-CQsKsYCH.js new file mode 100644 index 00000000..3f359cd0 --- /dev/null +++ b/assets/useOpenUrl-CQsKsYCH.js @@ -0,0 +1,2 @@ +import{a as St}from"./_commonjsHelpers-BosuxZz1.js";import{e as re,c as A,s as f,_ as y,a as B,b,n as pt,A as _t,p as gt,u as Pt}from"./index-CEE--Juu.js";import{f as Tt}from"./index-iQAZAIR7.js";import{r as me,f as yt}from"./index-BMk6Tmu2.js";import{h as bt,c as Ot}from"./client-DDXjyz62.js";import{i as M,P as Fe,D as Nt,N as Ct}from"./index-DOpK3Ow6.js";import{A as Dt}from"./index-kJeFfQx-.js";import{A as ze,L as je}from"./index-XPwQYiUg.js";import{_ as O}from"./extends-CF3RwP-h.js";import{r as i,R as I}from"./index-mfbfsM12.js";import{V as m}from"./index-BDsvWohO.js";import{A as At}from"./index-S14X4tbk.js";import{d as It,I as fe,A as Lt,E as Mt,F as kt,R as wt,a as Vt,S as xt,V as Gt}from"./Animated-C23eizOh.js";import{I as We,P as Ht}from"./index-DcZXOGQR.js";import{U as G,g as Se,e as Bt,p as Ut}from"./TextAncestorContext-Cvz4PlE2.js";import{b as Xe,u as Yt,a as $t,m as Ft,c as qe,g as zt}from"./usePiwikTrackCustomEventFromProps-BQaL6XvS.js";import{T as Ke}from"./index-BypDj3rK.js";import{M as jt}from"./index-5TFaNx6b.js";import{S as Wt}from"./index-CsseZgnR.js";import{T as Xt}from"./index-Cnrjv3xk.js";import{M as qt}from"./index-ZuFZ7TrF.js";import{R as Kt,N as Zt}from"./NativeEventEmitter-Cj1pQcwn.js";import{u as Jt}from"./index-C3bJM-gU.js";import{j as Qt}from"./jsx-runtime-Bxcv0yjW.js";import{P as ea}from"./Phrase-CsqFctWr.js";import{u as ta}from"./useOpenMailUrl-Cpc3v_r1.js";import{u as aa}from"./useOpenPhoneUrl-BpjRyIpq.js";import{u as na,E as ra}from"./useTrackException-BhQuYC5A.js";const oe=me.unmountComponentAtNode;function oa(e,t){return re(t),bt(t,e)}function ia(e,t){re(t);var a=Ot(t);return a.render(e),a}function sa(e,t,a){return re(t),me.hydrate(e,t,a),{unmount:function(){return oe(t)}}}function Ze(e,t,a){return re(t),me.render(e,t,a),{unmount:function(){return oe(t)}}}function la(){return A&&window.matchMedia!=null?window.matchMedia("(prefers-color-scheme: dark)"):null}var w=la(),W=new WeakMap,ua={getColorScheme(){return w&&w.matches?"dark":"light"},addChangeListener(e){var t=W.get(e);t||(t=r=>{var n=r.matches;e({colorScheme:n?"dark":"light"})},W.set(e,t)),w&&w.addListener(t);function a(){var r=W.get(e);w&&r&&w.removeListener(r),W.delete(e)}return{remove:a}}};const Ee=ua;var ca=i.createContext(null),pe=i.forwardRef((e,t)=>{var a=e.children,r=e.WrapperComponent,n=i.createElement(m,{children:a,key:1,style:Ne.appContainer});return r&&(n=i.createElement(r,null,n)),i.createElement(ca.Provider,{value:e.rootTag},i.createElement(m,{ref:t,style:Ne.appContainer},n))});pe.displayName="AppContainer";var Ne=f.create({appContainer:{flex:1,pointerEvents:"box-none"}});function da(e,t,a,r){var n=r.hydrate,o=r.initialProps,s=r.mode,u=r.rootTag,c=n?s==="concurrent"?oa:sa:s==="concurrent"?ia:Ze;return M(u,"Expect to have a valid rootTag, instead got ",u),c(I.createElement(pe,{WrapperComponent:t,ref:a,rootTag:u},I.createElement(e,o)),u)}function Ea(e,t,a){var r=I.createElement(pe,{WrapperComponent:a,rootTag:{}},I.createElement(e,t)),n=o=>{var s=f.getSheet();return I.createElement("style",O({},o,{dangerouslySetInnerHTML:{__html:s.textContent},id:s.id}))};return{element:r,getStyleElement:n}}var Ce={},D={},le=e=>e(),Y;class ae{static getAppKeys(){return Object.keys(D)}static getApplication(t,a){return M(D[t]&&D[t].getApplication,"Application "+t+" has not been registered. This is either due to an import error during initialization or failure to call AppRegistry.registerComponent."),D[t].getApplication(a)}static registerComponent(t,a){return D[t]={getApplication:r=>Ea(le(a),r?r.initialProps:Ce,Y&&Y(r)),run:r=>da(le(a),Y&&Y(r),r.callback,{hydrate:r.hydrate||!1,initialProps:r.initialProps||Ce,mode:r.mode||"concurrent",rootTag:r.rootTag})},t}static registerConfig(t){t.forEach(a=>{var r=a.appKey,n=a.component,o=a.run;o?ae.registerRunnable(r,o):(M(n,"No component provider passed in"),ae.registerComponent(r,n))})}static registerRunnable(t,a){return D[t]={run:a},t}static runApplication(t,a){return M(D[t]&&D[t].run,'Application "'+t+'" has not been registered. This is either due to an import error during initialization or failure to call AppRegistry.registerComponent.'),D[t].run(a)}static setComponentProviderInstrumentationHook(t){le=t}static setWrapperComponentProvider(t){Y=t}static unmountApplicationComponentAtRootTag(t){oe(t)}}function ue(){}var ha={exitApp:ue,addEventListener(){return console.error("BackHandler is not supported on web and should not be used."),{remove:ue}},removeEventListener:ue};const Ra=ha;var ce;class va{static isAvailable(){return ce===void 0&&(ce=typeof document.queryCommandSupported=="function"&&document.queryCommandSupported("copy")),ce}static getString(){return Promise.resolve("")}static setString(t){var a=!1,r=document.body;if(r){var n=document.createElement("span");n.textContent=t,n.style.opacity="0",n.style.position="absolute",n.style.whiteSpace="pre-wrap",n.style.userSelect="auto",r.appendChild(n);var o=window.getSelection();o.removeAllRanges();var s=document.createRange();s.selectNodeContents(n),o.addRange(s);try{document.execCommand("copy"),a=!0}catch{}o.removeAllRanges(),r.removeChild(n)}return a}}var ma={allowRTL(){},forceRTL(){},getConstants(){return{isRTL:!1}}},fa={addListener(){return{remove:()=>{}}},dismiss(){It()},removeAllListeners(){},removeListener(){}};function X(e,t){Fe.isTesting||G.configureNextLayoutAnimation(e,t??function(){},function(){})}function he(e,t,a){return{duration:e,create:{type:t,property:a},update:{type:t},delete:{type:t,property:a}}}var q={easeInEaseOut:he(300,"easeInEaseOut","opacity"),linear:he(500,"linear","opacity"),spring:{duration:700,create:{type:"linear",property:"opacity"},update:{type:"spring",springDamping:.4},delete:{type:"linear",property:"opacity"}}},Sa={configureNext:X,create:he,Types:Object.freeze({spring:"spring",linear:"linear",easeInEaseOut:"easeInEaseOut",easeIn:"easeIn",easeOut:"easeOut",keyboard:"keyboard"}),Properties:Object.freeze({opacity:"opacity",scaleX:"scaleX",scaleY:"scaleY",scaleXY:"scaleXY"}),checkConfig(){console.error("LayoutAnimation.checkConfig(...) has been disabled.")},Presets:q,easeInEaseOut:X.bind(null,q.easeInEaseOut),linear:X.bind(null,q.linear),spring:X.bind(null,q.spring)},g={centroidDimension:function(t,a,r,n){var o=t.touchBank,s=0,u=0,c=t.numberActiveTouches===1?t.touchBank[t.indexOfSingleActiveTouch]:null;if(c!==null)c.touchActive&&c.currentTimeStamp>a&&(s+=n&&r?c.currentPageX:n&&!r?c.currentPageY:!n&&r?c.previousPageX:c.previousPageY,u=1);else for(var d=0;d<o.length;d++){var E=o[d];if(E!=null&&E.touchActive&&E.currentTimeStamp>=a){var h=void 0;n&&r?h=E.currentPageX:n&&!r?h=E.currentPageY:!n&&r?h=E.previousPageX:h=E.previousPageY,s+=h,u++}}return u>0?s/u:g.noCentroid},currentCentroidXOfTouchesChangedAfter:function(t,a){return g.centroidDimension(t,a,!0,!0)},currentCentroidYOfTouchesChangedAfter:function(t,a){return g.centroidDimension(t,a,!1,!0)},previousCentroidXOfTouchesChangedAfter:function(t,a){return g.centroidDimension(t,a,!0,!1)},previousCentroidYOfTouchesChangedAfter:function(t,a){return g.centroidDimension(t,a,!1,!1)},currentCentroidX:function(t){return g.centroidDimension(t,0,!0,!0)},currentCentroidY:function(t){return g.centroidDimension(t,0,!1,!0)},noCentroid:-1},De=g.currentCentroidXOfTouchesChangedAfter,Ae=g.currentCentroidYOfTouchesChangedAfter,pa=g.previousCentroidXOfTouchesChangedAfter,_a=g.previousCentroidYOfTouchesChangedAfter,ga=g.currentCentroidX,Pa=g.currentCentroidY,V={_initializeGestureState(e){e.moveX=0,e.moveY=0,e.x0=0,e.y0=0,e.dx=0,e.dy=0,e.vx=0,e.vy=0,e.numberActiveTouches=0,e._accountsForMovesUpTo=0},_updateGestureStateOnMove(e,t){e.numberActiveTouches=t.numberActiveTouches,e.moveX=De(t,e._accountsForMovesUpTo),e.moveY=Ae(t,e._accountsForMovesUpTo);var a=e._accountsForMovesUpTo,r=pa(t,a),n=De(t,a),o=_a(t,a),s=Ae(t,a),u=e.dx+(n-r),c=e.dy+(s-o),d=t.mostRecentTimeStamp-e._accountsForMovesUpTo;e.vx=(u-e.dx)/d,e.vy=(c-e.dy)/d,e.dx=u,e.dy=c,e._accountsForMovesUpTo=t.mostRecentTimeStamp},create(e){var t={handle:null,shouldCancelClick:!1,timeout:null},a={stateID:Math.random(),moveX:0,moveY:0,x0:0,y0:0,dx:0,dy:0,vx:0,vy:0,numberActiveTouches:0,_accountsForMovesUpTo:0},r={onStartShouldSetResponder(n){return e.onStartShouldSetPanResponder==null?!1:e.onStartShouldSetPanResponder(n,a)},onMoveShouldSetResponder(n){return e.onMoveShouldSetPanResponder==null?!1:e.onMoveShouldSetPanResponder(n,a)},onStartShouldSetResponderCapture(n){return n.nativeEvent.touches.length===1&&V._initializeGestureState(a),a.numberActiveTouches=n.touchHistory.numberActiveTouches,e.onStartShouldSetPanResponderCapture!=null?e.onStartShouldSetPanResponderCapture(n,a):!1},onMoveShouldSetResponderCapture(n){var o=n.touchHistory;return a._accountsForMovesUpTo===o.mostRecentTimeStamp?!1:(V._updateGestureStateOnMove(a,o),e.onMoveShouldSetPanResponderCapture?e.onMoveShouldSetPanResponderCapture(n,a):!1)},onResponderGrant(n){return t.handle||(t.handle=fe.createInteractionHandle()),t.timeout&&Ta(t),t.shouldCancelClick=!0,a.x0=ga(n.touchHistory),a.y0=Pa(n.touchHistory),a.dx=0,a.dy=0,e.onPanResponderGrant&&e.onPanResponderGrant(n,a),e.onShouldBlockNativeResponder==null?!0:e.onShouldBlockNativeResponder(n,a)},onResponderReject(n){K(t,e.onPanResponderReject,n,a)},onResponderRelease(n){K(t,e.onPanResponderRelease,n,a),Ie(t),V._initializeGestureState(a)},onResponderStart(n){var o=n.touchHistory;a.numberActiveTouches=o.numberActiveTouches,e.onPanResponderStart&&e.onPanResponderStart(n,a)},onResponderMove(n){var o=n.touchHistory;a._accountsForMovesUpTo!==o.mostRecentTimeStamp&&(V._updateGestureStateOnMove(a,o),e.onPanResponderMove&&e.onPanResponderMove(n,a))},onResponderEnd(n){var o=n.touchHistory;a.numberActiveTouches=o.numberActiveTouches,K(t,e.onPanResponderEnd,n,a)},onResponderTerminate(n){K(t,e.onPanResponderTerminate,n,a),Ie(t),V._initializeGestureState(a)},onResponderTerminationRequest(n){return e.onPanResponderTerminationRequest==null?!0:e.onPanResponderTerminationRequest(n,a)},onClickCapture:n=>{t.shouldCancelClick===!0&&(n.stopPropagation(),n.preventDefault())}};return{panHandlers:r,getInteractionHandle(){return t.handle}}}};function K(e,t,a,r){e.handle&&(fe.clearInteractionHandle(e.handle),e.handle=null),t&&t(a,r)}function Ta(e){clearTimeout(e.timeout)}function Ie(e){e.timeout=setTimeout(()=>{e.shouldCancelClick=!1},250)}class ya{static share(t,a){return a===void 0&&(a={}),M(typeof t=="object"&&t!==null,"Content to share must be a valid object"),M(typeof t.url=="string"||typeof t.message=="string","At least one of URL and message is required"),M(typeof a=="object"&&a!==null,"Options must be a valid object"),M(!t.title||typeof t.title=="string","Invalid title: title should be a string."),window.navigator.share!==void 0?window.navigator.share({title:t.title,text:t.message,url:t.url}):Promise.reject(new Error("Share is not supported in this browser"))}static get sharedAction(){return"sharedAction"}static get dismissedAction(){return"dismissedAction"}}const ba=ya;var Le=e=>{"vibrate"in window.navigator&&window.navigator.vibrate(e)},Oa={cancel(){Le(0)},vibrate(e){e===void 0&&(e=400),Le(e)}};const Na=Oa;var Ca=["animating","color","hidesWhenStopped","size","style"],Me=e=>i.createElement("circle",{cx:"16",cy:"16",fill:"none",r:"14",strokeWidth:"4",style:e}),Je=i.forwardRef((e,t)=>{var a=e.animating,r=a===void 0?!0:a,n=e.color,o=n===void 0?"#1976D2":n,s=e.hidesWhenStopped,u=s===void 0?!0:s,c=e.size,d=c===void 0?"small":c,E=e.style,h=y(e,Ca),R=i.createElement("svg",{height:"100%",viewBox:"0 0 32 32",width:"100%"},Me({stroke:o,opacity:.2}),Me({stroke:o,strokeDasharray:80,strokeDashoffset:60}));return i.createElement(m,O({},h,{"aria-valuemax":1,"aria-valuemin":0,ref:t,role:"progressbar",style:[Z.container,E]}),i.createElement(m,{children:R,style:[typeof d=="number"?{height:d,width:d}:Da[d],Z.animation,!r&&Z.animationPause,!r&&u&&Z.hidesWhenStopped]}))});Je.displayName="ActivityIndicator";var Z=f.create({container:{alignItems:"center",justifyContent:"center"},hidesWhenStopped:{visibility:"hidden"},animation:{animationDuration:"0.75s",animationKeyframes:[{"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}],animationTimingFunction:"linear",animationIterationCount:"infinite"},animationPause:{animationPlayState:"paused"}}),Da=f.create({small:{width:20,height:20},large:{width:36,height:36}});const Aa=Je;var Ia=["activeOpacity","delayPressIn","delayPressOut","delayLongPress","disabled","focusable","onLongPress","onPress","onPressIn","onPressOut","rejectResponderTermination","style"];function La(e,t){var a=e.activeOpacity,r=e.delayPressIn,n=e.delayPressOut,o=e.delayLongPress,s=e.disabled,u=e.focusable,c=e.onLongPress,d=e.onPress,E=e.onPressIn,h=e.onPressOut,R=e.rejectResponderTermination,v=e.style,_=y(e,Ia),S=i.useRef(null),N=Se(t,S),C=i.useState("0s"),se=C[0],ge=C[1],Pe=i.useState(null),Te=Pe[0],ye=Pe[1],z=i.useCallback((P,j)=>{ye(P),ge(j?j/1e3+"s":"0s")},[ye,ge]),be=i.useCallback(P=>{z(a??.2,P)},[a,z]),Oe=i.useCallback(P=>{z(null,P)},[z]),mt=i.useMemo(()=>({cancelable:!R,disabled:s,delayLongPress:o,delayPressStart:r,delayPressEnd:n,onLongPress:c,onPress:d,onPressStart(P){var j=P.dispatchConfig!=null?P.dispatchConfig.registrationName==="onResponderGrant":P.type==="keydown";be(j?0:150),E!=null&&E(P)},onPressEnd(P){Oe(250),h!=null&&h(P)}}),[o,r,n,s,c,d,E,h,R,be,Oe]),ft=Xe(S,mt);return i.createElement(m,O({},_,ft,{accessibilityDisabled:s,focusable:!s&&u!==!1,pointerEvents:s?"box-none":void 0,ref:N,style:[ke.root,!s&&ke.actionable,v,Te!=null&&{opacity:Te},{transitionDuration:se}]}))}var ke=f.create({root:{transitionProperty:"opacity",transitionDuration:"0.15s",userSelect:"none"},actionable:{cursor:"pointer",touchAction:"manipulation"}}),Qe=i.memo(i.forwardRef(La));Qe.displayName="TouchableOpacity";const et=Qe;var tt=i.forwardRef((e,t)=>{var a=e.accessibilityLabel,r=e.color,n=e.disabled,o=e.onPress,s=e.testID,u=e.title;return i.createElement(et,{accessibilityLabel:a,accessibilityRole:"button",disabled:n,focusable:!n,onPress:o,ref:t,style:[J.button,r&&{backgroundColor:r},n&&J.buttonDisabled],testID:s},i.createElement(Ke,{style:[J.text,n&&J.textDisabled]},u))});tt.displayName="Button";var J=f.create({button:{backgroundColor:"#2196F3",borderRadius:2},text:{color:"#fff",fontWeight:"500",padding:8,textAlign:"center",textTransform:"uppercase"},buttonDisabled:{backgroundColor:"#dfdfdf"},textDisabled:{color:"#a1a1a1"}});const Ma=tt;var ka=["aria-readonly","color","disabled","onChange","onValueChange","readOnly","style","value"],at=i.forwardRef((e,t)=>{var a=e["aria-readonly"],r=e.color,n=e.disabled,o=e.onChange,s=e.onValueChange,u=e.readOnly,c=e.style,d=e.value,E=y(e,ka);function h(_){var S=_.nativeEvent.target.checked;_.nativeEvent.value=S,o&&o(_),s&&s(S)}var R=i.createElement(m,{style:[L.fakeControl,d&&L.fakeControlChecked,d&&r&&{backgroundColor:r,borderColor:r},n&&L.fakeControlDisabled,d&&n&&L.fakeControlCheckedAndDisabled]}),v=B("input",{checked:d,disabled:n,onChange:h,readOnly:u===!0||a===!0||E.accessibilityReadOnly===!0,ref:t,style:[L.nativeControl,L.cursorInherit],type:"checkbox"});return i.createElement(m,O({},E,{"aria-disabled":n,"aria-readonly":a,style:[L.root,c,n&&L.cursorDefault]}),R,v)});at.displayName="CheckBox";var L=f.create({root:{cursor:"pointer",height:16,userSelect:"none",width:16},cursorDefault:{cursor:"default"},cursorInherit:{cursor:"inherit"},fakeControl:{alignItems:"center",backgroundColor:"#fff",borderColor:"#657786",borderRadius:2,borderStyle:"solid",borderWidth:2,height:"100%",justifyContent:"center",width:"100%"},fakeControlChecked:{backgroundColor:"#009688",backgroundImage:'url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8cGF0aAogICAgIGQ9Ik0gMC4wNDAzODA1OSwwLjYyNjc3NjcgMC4xNDY0NDY2MSwwLjUyMDcxMDY4IDAuNDI5Mjg5MzIsMC44MDM1NTMzOSAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IE0gMC4yMTcxNTcyOSwwLjgwMzU1MzM5IDAuODUzNTUzMzksMC4xNjcxNTcyOSAwLjk1OTYxOTQxLDAuMjczMjIzMyAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IgogICAgIGlkPSJyZWN0Mzc4MCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K")',backgroundRepeat:"no-repeat",borderColor:"#009688"},fakeControlDisabled:{borderColor:"#CCD6DD"},fakeControlCheckedAndDisabled:{backgroundColor:"#AAB8C2",borderColor:"#AAB8C2"},nativeControl:b(b({},f.absoluteFillObject),{},{height:"100%",margin:0,appearance:"none",padding:0,width:"100%"})});const wa=at;var Va=["children","style","imageStyle","imageRef"],xa={},nt=i.forwardRef((e,t)=>{var a=e.children,r=e.style,n=r===void 0?xa:r,o=e.imageStyle,s=e.imageRef,u=y(e,Va),c=f.flatten(n),d=c.height,E=c.width;return i.createElement(m,{ref:t,style:n},i.createElement(We,O({},u,{ref:s,style:[{width:E,height:d,zIndex:-1},f.absoluteFill,o]})),a)});nt.displayName="ImageBackground";const Ga=nt;var Ha=["behavior","contentContainerStyle","keyboardVerticalOffset"];class Ba extends i.Component{constructor(){super(...arguments),this.frame=null,this.onLayout=t=>{this.frame=t.nativeEvent.layout}}relativeKeyboardHeight(t){var a=this.frame;if(!a||!t)return 0;var r=t.screenY-(this.props.keyboardVerticalOffset||0);return Math.max(a.y+a.height-r,0)}onKeyboardChange(t){}render(){var t=this.props;t.behavior,t.contentContainerStyle,t.keyboardVerticalOffset;var a=y(t,Ha);return i.createElement(m,O({onLayout:this.onLayout},a))}}function Ua(e){var t=e.children,a=i.useRef(null);if(A&&!a.current){var r=document.createElement("div");r&&document.body&&(document.body.appendChild(r),a.current=r)}return i.useEffect(()=>{if(A)return()=>{document.body&&a.current&&(document.body.removeChild(a.current),a.current=null)}},[]),a.current&&A?yt.createPortal(t,a.current):null}var we=300;function Ya(e,t){return e==="slide"?t?Fa:za:e==="fade"?t?ja:Wa:t?p.container:p.hidden}function $a(e){var t=e.animationType,a=e.children,r=e.onDismiss,n=e.onShow,o=e.visible,s=i.useState(!1),u=s[0],c=s[1],d=i.useRef(!1),E=i.useRef(!1),h=t&&t!=="none",R=i.useCallback(v=>{v&&v.currentTarget!==v.target||(o?n&&n():c(!1))},[n,o]);return i.useEffect(()=>{E.current&&!u&&r&&r(),E.current=u},[u,r]),i.useEffect(()=>{o&&c(!0),o!==d.current&&!h&&R(),d.current=o},[h,o,R]),u||o?B("div",{style:u?Ya(t,o):p.hidden,onAnimationEnd:R,children:a}):null}var p=f.create({container:{position:"fixed",top:0,right:0,bottom:0,left:0,zIndex:9999},animatedIn:{animationDuration:we+"ms",animationTimingFunction:"ease-in"},animatedOut:{pointerEvents:"none",animationDuration:we+"ms",animationTimingFunction:"ease-out"},fadeIn:{opacity:1,animationKeyframes:{"0%":{opacity:0},"100%":{opacity:1}}},fadeOut:{opacity:0,animationKeyframes:{"0%":{opacity:1},"100%":{opacity:0}}},slideIn:{transform:"translateY(0%)",animationKeyframes:{"0%":{transform:"translateY(100%)"},"100%":{transform:"translateY(0%)"}}},slideOut:{transform:"translateY(100%)",animationKeyframes:{"0%":{transform:"translateY(0%)"},"100%":{transform:"translateY(100%)"}}},hidden:{opacity:0}}),Fa=[p.container,p.animatedIn,p.slideIn],za=[p.container,p.animatedOut,p.slideOut],ja=[p.container,p.animatedIn,p.fadeIn],Wa=[p.container,p.animatedOut,p.fadeOut],Xa=["active","children","onRequestClose","transparent"],qa=i.forwardRef((e,t)=>{var a=e.active,r=e.children,n=e.onRequestClose,o=e.transparent,s=y(e,Xa);i.useEffect(()=>{if(A){var c=d=>{a&&d.key==="Escape"&&(d.stopPropagation(),n&&n())};return document.addEventListener("keyup",c,!1),()=>document.removeEventListener("keyup",c,!1)}},[a,n]);var u=i.useMemo(()=>[Q.modal,o?Q.modalTransparent:Q.modalOpaque],[o]);return i.createElement(m,O({},s,{"aria-modal":!0,ref:t,role:a?"dialog":null,style:u}),i.createElement(m,{style:Q.container},r))}),Q=f.create({modal:{position:"fixed",top:0,right:0,bottom:0,left:0},modalTransparent:{backgroundColor:"transparent"},modalOpaque:{backgroundColor:"white"},container:{top:0,flex:1}}),Ve=()=>B("div",{role:"none",tabIndex:0,style:Za.focusBracket});function rt(e){if(!A)return!1;try{e.focus()}catch{}return document.activeElement===e}function ot(e){for(var t=0;t<e.childNodes.length;t++){var a=e.childNodes[t];if(rt(a)||ot(a))return!0}return!1}function it(e){for(var t=e.childNodes.length-1;t>=0;t--){var a=e.childNodes[t];if(rt(a)||it(a))return!0}return!1}var Ka=e=>{var t=e.active,a=e.children,r=i.useRef(),n=i.useRef({trapFocusInProgress:!1,lastFocusedElement:null});return i.useEffect(()=>{if(A){var o=()=>{if(!(r.current==null||n.current.trapFocusInProgress||!t)){try{if(n.current.trapFocusInProgress=!0,document.activeElement instanceof Node&&!r.current.contains(document.activeElement)){var s=ot(r.current);n.current.lastFocusedElement===document.activeElement&&(s=it(r.current)),!s&&r.current!=null&&document.activeElement&&G.focus(r.current)}}finally{n.current.trapFocusInProgress=!1}n.current.lastFocusedElement=document.activeElement}};return o(),document.addEventListener("focus",o,!0),()=>document.removeEventListener("focus",o,!0)}},[t]),i.useEffect(function(){if(A){var o=document.activeElement;return function(){o&&document.contains(o)&&G.focus(o)}}},[]),i.createElement(i.Fragment,null,i.createElement(Ve,null),i.createElement(m,{ref:r},a),i.createElement(Ve,null))},Za=f.create({focusBracket:{outlineStyle:"none"}}),Ja=["animationType","children","onDismiss","onRequestClose","onShow","transparent","visible"],Qa=0,k=[],x={};function st(){if(k.length!==0){var e=k[k.length-1];k.forEach(t=>{t in x&&x[t](t===e)})}}function Re(e){e in x&&(x[e](!1),delete x[e]);var t=k.indexOf(e);t!==-1&&(k.splice(t,1),st())}function en(e,t){Re(e),k.push(e),x[e]=t,st()}var tn=i.forwardRef((e,t)=>{var a=e.animationType,r=e.children,n=e.onDismiss,o=e.onRequestClose,s=e.onShow,u=e.transparent,c=e.visible,d=c===void 0?!0:c,E=y(e,Ja),h=i.useMemo(()=>Qa++,[]),R=i.useState(!1),v=R[0],_=R[1],S=i.useCallback(()=>{Re(h),n&&n()},[h,n]),N=i.useCallback(()=>{en(h,_),s&&s()},[h,s]);return i.useEffect(()=>()=>Re(h),[h]),i.createElement(Ua,null,i.createElement($a,{animationType:a,onDismiss:S,onShow:N,visible:d},i.createElement(Ka,{active:v},i.createElement(qa,O({},E,{active:v,onRequestClose:o,ref:t,transparent:u}),r))))});const an=tn;function nn(e){var t=e.color,a=e.label,r=e.testID,n=e.value,o={color:t};return B("option",{children:a,style:o,testID:r,value:n})}var rn=["children","enabled","onValueChange","selectedValue","style","testID","itemStyle","mode","prompt"],lt=i.forwardRef((e,t)=>{var a=e.children,r=e.enabled,n=e.onValueChange,o=e.selectedValue,s=e.style,u=e.testID;e.itemStyle,e.mode,e.prompt;var c=y(e,rn),d=i.useRef(null);function E(_){var S=_.target,N=S.selectedIndex,C=S.value;n&&n(C,N)}var h=b({children:a,disabled:r===!1?!0:void 0,onChange:E,style:[on.initial,s],testID:u,value:o},c),R=Bt(h),v=Se(d,R,t);return h.ref=v,B("select",h)});lt.Item=nn;var on=f.create({initial:{fontFamily:"System",fontSize:"inherit",margin:0}});const sn=lt;var ln=["color","indeterminate","progress","trackColor","style"],ut=i.forwardRef((e,t)=>{var a=e.color,r=a===void 0?"#1976D2":a,n=e.indeterminate,o=n===void 0?!1:n,s=e.progress,u=s===void 0?0:s,c=e.trackColor,d=c===void 0?"transparent":c,E=e.style,h=y(e,ln),R=u*100,v=o?"25%":R+"%";return i.createElement(m,O({},h,{"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":o?null:R,ref:t,role:"progressbar",style:[de.track,E,{backgroundColor:d}]}),i.createElement(m,{style:[{backgroundColor:r,width:v},de.progress,o&&de.animation]}))});ut.displayName="ProgressBar";var de=f.create({track:{forcedColorAdjust:"none",height:5,overflow:"hidden",userSelect:"none",zIndex:0},progress:{forcedColorAdjust:"none",height:"100%",zIndex:-1},animation:{animationDuration:"1s",animationKeyframes:[{"0%":{transform:"translateX(-100%)"},"100%":{transform:"translateX(400%)"}}],animationTimingFunction:"linear",animationIterationCount:"infinite"}});const un=ut;var cn=["style"],ee=function(){return A&&window.CSS&&window.CSS.supports&&window.CSS.supports("top: constant(safe-area-inset-top)")?"constant":"env"}(),ct=i.forwardRef((e,t)=>{var a=e.style,r=y(e,cn);return i.createElement(m,O({},r,{ref:t,style:[dn.root,a]}))});ct.displayName="SafeAreaView";var dn=f.create({root:{paddingTop:ee+"(safe-area-inset-top)",paddingRight:ee+"(safe-area-inset-right)",paddingBottom:ee+"(safe-area-inset-bottom)",paddingLeft:ee+"(safe-area-inset-left)"}});const En=ct;var $=()=>{};function U(){return null}U.setBackgroundColor=$;U.setBarStyle=$;U.setHidden=$;U.setNetworkActivityIndicatorVisible=$;U.setTranslucent=$;var dt=function(t,a){var r=this;if(r.instancePool.length){var n=r.instancePool.pop();return r.call(n,t,a),n}else return new r(t,a)},hn=function(t){var a=this;t.destructor(),a.instancePool.length<a.poolSize&&a.instancePool.push(t)},Rn=10,vn=dt,mn=function(t,a){var r=t;return r.instancePool=[],r.getPooled=a||vn,r.poolSize||(r.poolSize=Rn),r.release=hn,r},ie={addPoolingTo:mn,twoArgumentPooler:dt},fn=ie.twoArgumentPooler;function H(e,t){this.width=e,this.height=t}H.prototype.destructor=function(){this.width=null,this.height=null};H.getPooledFromElement=function(e){return H.getPooled(e.offsetWidth,e.offsetHeight)};ie.addPoolingTo(H,fn);var Sn=ie.twoArgumentPooler;function ne(e,t){this.left=e,this.top=t}ne.prototype.destructor=function(){this.left=null,this.top=null};ie.addPoolingTo(ne,Sn);var xe=e=>{var t=e.touches,a=e.changedTouches,r=t&&t.length>0,n=a&&a.length>0;return!r&&n?a[0]:r?t[0]:e},l={NOT_RESPONDER:"NOT_RESPONDER",RESPONDER_INACTIVE_PRESS_IN:"RESPONDER_INACTIVE_PRESS_IN",RESPONDER_INACTIVE_PRESS_OUT:"RESPONDER_INACTIVE_PRESS_OUT",RESPONDER_ACTIVE_PRESS_IN:"RESPONDER_ACTIVE_PRESS_IN",RESPONDER_ACTIVE_PRESS_OUT:"RESPONDER_ACTIVE_PRESS_OUT",RESPONDER_ACTIVE_LONG_PRESS_IN:"RESPONDER_ACTIVE_LONG_PRESS_IN",RESPONDER_ACTIVE_LONG_PRESS_OUT:"RESPONDER_ACTIVE_LONG_PRESS_OUT",ERROR:"ERROR"},_e={NOT_RESPONDER:!1,RESPONDER_INACTIVE_PRESS_IN:!1,RESPONDER_INACTIVE_PRESS_OUT:!1,RESPONDER_ACTIVE_PRESS_IN:!1,RESPONDER_ACTIVE_PRESS_OUT:!1,RESPONDER_ACTIVE_LONG_PRESS_IN:!1,RESPONDER_ACTIVE_LONG_PRESS_OUT:!1,ERROR:!1},Ge=b(b({},_e),{},{RESPONDER_ACTIVE_PRESS_OUT:!0,RESPONDER_ACTIVE_PRESS_IN:!0}),He=b(b({},_e),{},{RESPONDER_INACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_LONG_PRESS_IN:!0}),Be=b(b({},_e),{},{RESPONDER_ACTIVE_LONG_PRESS_IN:!0}),T={DELAY:"DELAY",RESPONDER_GRANT:"RESPONDER_GRANT",RESPONDER_RELEASE:"RESPONDER_RELEASE",RESPONDER_TERMINATED:"RESPONDER_TERMINATED",ENTER_PRESS_RECT:"ENTER_PRESS_RECT",LEAVE_PRESS_RECT:"LEAVE_PRESS_RECT",LONG_PRESS_DETECTED:"LONG_PRESS_DETECTED"},Ue={NOT_RESPONDER:{DELAY:l.ERROR,RESPONDER_GRANT:l.RESPONDER_INACTIVE_PRESS_IN,RESPONDER_RELEASE:l.ERROR,RESPONDER_TERMINATED:l.ERROR,ENTER_PRESS_RECT:l.ERROR,LEAVE_PRESS_RECT:l.ERROR,LONG_PRESS_DETECTED:l.ERROR},RESPONDER_INACTIVE_PRESS_IN:{DELAY:l.RESPONDER_ACTIVE_PRESS_IN,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_INACTIVE_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_INACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:l.ERROR},RESPONDER_INACTIVE_PRESS_OUT:{DELAY:l.RESPONDER_ACTIVE_PRESS_OUT,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_INACTIVE_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_INACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:l.ERROR},RESPONDER_ACTIVE_PRESS_IN:{DELAY:l.ERROR,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_ACTIVE_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_ACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:l.RESPONDER_ACTIVE_LONG_PRESS_IN},RESPONDER_ACTIVE_PRESS_OUT:{DELAY:l.ERROR,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_ACTIVE_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_ACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:l.ERROR},RESPONDER_ACTIVE_LONG_PRESS_IN:{DELAY:l.ERROR,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_ACTIVE_LONG_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_ACTIVE_LONG_PRESS_OUT,LONG_PRESS_DETECTED:l.RESPONDER_ACTIVE_LONG_PRESS_IN},RESPONDER_ACTIVE_LONG_PRESS_OUT:{DELAY:l.ERROR,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_ACTIVE_LONG_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_ACTIVE_LONG_PRESS_OUT,LONG_PRESS_DETECTED:l.ERROR},error:{DELAY:l.NOT_RESPONDER,RESPONDER_GRANT:l.RESPONDER_INACTIVE_PRESS_IN,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.NOT_RESPONDER,LEAVE_PRESS_RECT:l.NOT_RESPONDER,LONG_PRESS_DETECTED:l.NOT_RESPONDER}},ve=130,te=20,pn=500,Ye=pn-ve,_n=10,F={componentDidMount:function(){var t=this.getTouchableNode&&this.getTouchableNode();t&&t.addEventListener&&(this._touchableBlurListener=a=>{this._isTouchableKeyboardActive&&(this.state.touchable.touchState&&this.state.touchable.touchState!==l.NOT_RESPONDER&&this.touchableHandleResponderTerminate({nativeEvent:a}),this._isTouchableKeyboardActive=!1)},t.addEventListener("blur",this._touchableBlurListener))},componentWillUnmount:function(){var t=this.getTouchableNode&&this.getTouchableNode();t&&t.addEventListener&&t.removeEventListener("blur",this._touchableBlurListener),this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressInLocation=null,this.state.touchable.responderID=null},touchableGetInitialState:function(){return{touchable:{touchState:void 0,responderID:null}}},touchableHandleResponderTerminationRequest:function(){return!this.props.rejectResponderTermination},touchableHandleStartShouldSetResponder:function(){return!this.props.disabled},touchableLongPressCancelsPress:function(){return!0},touchableHandleResponderGrant:function(t){var a=t.currentTarget;t.persist(),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressOutDelayTimeout=null,this.state.touchable.touchState=l.NOT_RESPONDER,this.state.touchable.responderID=a,this._receiveSignal(T.RESPONDER_GRANT,t);var r=this.touchableGetHighlightDelayMS!==void 0?Math.max(this.touchableGetHighlightDelayMS(),0):ve;r=isNaN(r)?ve:r,r!==0?this.touchableDelayTimeout=setTimeout(this._handleDelay.bind(this,t),r):this._handleDelay(t);var n=this.touchableGetLongPressDelayMS!==void 0?Math.max(this.touchableGetLongPressDelayMS(),10):Ye;n=isNaN(n)?Ye:n,this.longPressDelayTimeout=setTimeout(this._handleLongDelay.bind(this,t),n+r)},touchableHandleResponderRelease:function(t){this.pressInLocation=null,this._receiveSignal(T.RESPONDER_RELEASE,t)},touchableHandleResponderTerminate:function(t){this.pressInLocation=null,this._receiveSignal(T.RESPONDER_TERMINATED,t)},touchableHandleResponderMove:function(t){if(this.state.touchable.positionOnActivate){var a=this.state.touchable.positionOnActivate,r=this.state.touchable.dimensionsOnActivate,n=this.touchableGetPressRectOffset?this.touchableGetPressRectOffset():{left:te,right:te,top:te,bottom:te},o=n.left,s=n.top,u=n.right,c=n.bottom,d=this.touchableGetHitSlop?this.touchableGetHitSlop():null;d&&(o+=d.left||0,s+=d.top||0,u+=d.right||0,c+=d.bottom||0);var E=xe(t.nativeEvent),h=E&&E.pageX,R=E&&E.pageY;if(this.pressInLocation){var v=this._getDistanceBetweenPoints(h,R,this.pressInLocation.pageX,this.pressInLocation.pageY);v>_n&&this._cancelLongPressDelayTimeout()}var _=h>a.left-o&&R>a.top-s&&h<a.left+r.width+u&&R<a.top+r.height+c;if(_){var S=this.state.touchable.touchState;this._receiveSignal(T.ENTER_PRESS_RECT,t);var N=this.state.touchable.touchState;N===l.RESPONDER_INACTIVE_PRESS_IN&&S!==l.RESPONDER_INACTIVE_PRESS_IN&&this._cancelLongPressDelayTimeout()}else this._cancelLongPressDelayTimeout(),this._receiveSignal(T.LEAVE_PRESS_RECT,t)}},touchableHandleFocus:function(t){this.props.onFocus&&this.props.onFocus(t)},touchableHandleBlur:function(t){this.props.onBlur&&this.props.onBlur(t)},_remeasureMetricsOnActivation:function(){var t=this.state.touchable.responderID;t!=null&&G.measure(t,this._handleQueryLayout)},_handleQueryLayout:function(t,a,r,n,o,s){!t&&!a&&!r&&!n&&!o&&!s||(this.state.touchable.positionOnActivate&&ne.release(this.state.touchable.positionOnActivate),this.state.touchable.dimensionsOnActivate&&H.release(this.state.touchable.dimensionsOnActivate),this.state.touchable.positionOnActivate=ne.getPooled(o,s),this.state.touchable.dimensionsOnActivate=H.getPooled(r,n))},_handleDelay:function(t){this.touchableDelayTimeout=null,this._receiveSignal(T.DELAY,t)},_handleLongDelay:function(t){this.longPressDelayTimeout=null;var a=this.state.touchable.touchState;a!==l.RESPONDER_ACTIVE_PRESS_IN&&a!==l.RESPONDER_ACTIVE_LONG_PRESS_IN?console.error("Attempted to transition from state `"+a+"` to `"+l.RESPONDER_ACTIVE_LONG_PRESS_IN+"`, which is not supported. This is most likely due to `Touchable.longPressDelayTimeout` not being cancelled."):this._receiveSignal(T.LONG_PRESS_DETECTED,t)},_receiveSignal:function(t,a){var r=this.state.touchable.responderID,n=this.state.touchable.touchState,o=Ue[n]&&Ue[n][t];if(!(!r&&t===T.RESPONDER_RELEASE)){if(!o)throw new Error("Unrecognized signal `"+t+"` or state `"+n+"` for Touchable responder `"+r+"`");if(o===l.ERROR)throw new Error("Touchable cannot transition from `"+n+"` to `"+t+"` for responder `"+r+"`");n!==o&&(this._performSideEffectsForTransition(n,o,t,a),this.state.touchable.touchState=o)}},_cancelLongPressDelayTimeout:function(){this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.longPressDelayTimeout=null},_isHighlight:function(t){return t===l.RESPONDER_ACTIVE_PRESS_IN||t===l.RESPONDER_ACTIVE_LONG_PRESS_IN},_savePressInLocation:function(t){var a=xe(t.nativeEvent),r=a&&a.pageX,n=a&&a.pageY,o=a&&a.locationX,s=a&&a.locationY;this.pressInLocation={pageX:r,pageY:n,locationX:o,locationY:s}},_getDistanceBetweenPoints:function(t,a,r,n){var o=t-r,s=a-n;return Math.sqrt(o*o+s*s)},_performSideEffectsForTransition:function(t,a,r,n){var o=this._isHighlight(t),s=this._isHighlight(a),u=r===T.RESPONDER_TERMINATED||r===T.RESPONDER_RELEASE;u&&this._cancelLongPressDelayTimeout();var c=t===l.NOT_RESPONDER&&a===l.RESPONDER_INACTIVE_PRESS_IN,d=!Ge[t]&&Ge[a];if((c||d)&&this._remeasureMetricsOnActivation(),He[t]&&r===T.LONG_PRESS_DETECTED&&this.touchableHandleLongPress&&this.touchableHandleLongPress(n),s&&!o?this._startHighlight(n):!s&&o&&this._endHighlight(n),He[t]&&r===T.RESPONDER_RELEASE){var E=!!this.props.onLongPress,h=Be[t]&&(!E||!this.touchableLongPressCancelsPress()),R=!Be[t]||h;R&&this.touchableHandlePress&&(!s&&!o&&(this._startHighlight(n),this._endHighlight(n)),this.touchableHandlePress(n))}this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.touchableDelayTimeout=null},_playTouchSound:function(){G.playTouchSound()},_startHighlight:function(t){this._savePressInLocation(t),this.touchableHandleActivePressIn&&this.touchableHandleActivePressIn(t)},_endHighlight:function(t){this.touchableHandleActivePressOut&&(this.touchableGetPressOutDelayMS&&this.touchableGetPressOutDelayMS()?this.pressOutDelayTimeout=setTimeout(()=>{this.touchableHandleActivePressOut(t)},this.touchableGetPressOutDelayMS()):this.touchableHandleActivePressOut(t))},touchableHandleKeyEvent:function(t){var a=t.type,r=t.key;(r==="Enter"||r===" ")&&(a==="keydown"?this._isTouchableKeyboardActive||(!this.state.touchable.touchState||this.state.touchable.touchState===l.NOT_RESPONDER)&&(this.touchableHandleResponderGrant(t),this._isTouchableKeyboardActive=!0):a==="keyup"&&this._isTouchableKeyboardActive&&this.state.touchable.touchState&&this.state.touchable.touchState!==l.NOT_RESPONDER&&(this.touchableHandleResponderRelease(t),this._isTouchableKeyboardActive=!1),t.stopPropagation(),r==="Enter"&&_t.propsToAriaRole(this.props)==="link"||t.preventDefault())},withoutDefaultFocusAndBlur:{}};F.touchableHandleFocus;F.touchableHandleBlur;var gn=y(F,["touchableHandleFocus","touchableHandleBlur"]);F.withoutDefaultFocusAndBlur=gn;var Et={Mixin:F,TOUCH_TARGET_DEBUG:!1,renderDebugView:e=>{var t=e.color,a=e.hitSlop;if(!Et.TOUCH_TARGET_DEBUG)return null;var r={};a=a||{top:0,bottom:0,left:0,right:0};for(var n in a)r[n]=-a[n];var o=pt(t);if(typeof o!="number")return null;var s="#"+("00000000"+o.toString(16)).substr(-8);return I.createElement(m,{pointerEvents:"none",style:b({position:"absolute",borderColor:s.slice(0,-2)+"55",borderWidth:1,borderStyle:"dashed",backgroundColor:s.slice(0,-2)+"0F"},r)})}};const Pn=Et;class ht extends I.Component{render(){return I.createElement(m,{style:[Tn,this.props.style]},this.props.children)}}var Tn={},yn={accessibilityDisabled:!0,accessibilityLabel:!0,accessibilityLiveRegion:!0,accessibilityRole:!0,accessibilityState:!0,accessibilityValue:!0,children:!0,disabled:!0,focusable:!0,nativeID:!0,onBlur:!0,onFocus:!0,onLayout:!0,testID:!0},bn=e=>Ut(e,yn);function On(e,t){var a=e.delayPressIn,r=e.delayPressOut,n=e.delayLongPress,o=e.disabled,s=e.focusable,u=e.onLongPress,c=e.onPress,d=e.onPressIn,E=e.onPressOut,h=e.rejectResponderTermination,R=i.useRef(null),v=i.useMemo(()=>({cancelable:!h,disabled:o,delayLongPress:n,delayPressStart:a,delayPressEnd:r,onLongPress:u,onPress:c,onPressStart:d,onPressEnd:E}),[o,a,r,n,u,c,d,E,h]),_=Xe(R,v),S=i.Children.only(e.children),N=[S.props.children],C=bn(e);C.accessibilityDisabled=o,C.focusable=!o&&s!==!1,C.ref=Se(t,R,S.ref);var se=Object.assign(C,_);return i.cloneElement(S,se,...N)}var Rt=i.memo(i.forwardRef(On));Rt.displayName="TouchableWithoutFeedback";const Nn=Rt;function vt(e){return I.createElement(ht,e)}vt.ignoreWarnings=()=>{};var Cn={ignoreLogs(){},ignoreAllLogs(){},uninstall(){},install(){}};const Dn=Cn;function An(){var e=i.useState(Ee.getColorScheme()),t=e[0],a=e[1];return i.useEffect(()=>{function r(s){a(s.colorScheme)}var n=Ee.addChangeListener(r),o=n.remove;return o}),t}const In=Object.freeze(Object.defineProperty({__proto__:null,AccessibilityInfo:Dt,ActivityIndicator:Aa,Alert:ze,Animated:Lt,AppRegistry:ae,AppState:At,Appearance:Ee,BackHandler:Ra,Button:Ma,CheckBox:wa,Clipboard:va,DeviceEventEmitter:Kt,Dimensions:Nt,Easing:Mt,FlatList:kt,I18nManager:ma,Image:We,ImageBackground:Ga,InteractionManager:fe,Keyboard:fa,KeyboardAvoidingView:Ba,LayoutAnimation:Sa,Linking:je,LogBox:Dn,Modal:an,NativeEventEmitter:Zt,NativeModules:Ct,PanResponder:V,Picker:sn,PixelRatio:Ht,Platform:Fe,Pressable:jt,ProgressBar:un,RefreshControl:wt,SafeAreaView:En,ScrollView:Vt,SectionList:xt,Share:ba,StatusBar:U,StyleSheet:f,Switch:Wt,Text:Ke,TextInput:Xt,Touchable:Pn,TouchableHighlight:qt,TouchableNativeFeedback:ht,TouchableOpacity:et,TouchableWithoutFeedback:Nn,UIManager:G,Vibration:Na,View:m,VirtualizedList:Gt,YellowBox:vt,findNodeHandle:Tt,processColor:gt,render:Ze,unmountComponentAtNode:oe,unstable_createElement:B,useColorScheme:An,useLocaleContext:Pt,useWindowDimensions:Jt},Symbol.toStringTag,{value:"Module"})),ur=St(In),$e=({children:e,emphasis:t,inverse:a,onPress:r,phraseVariant:n,logAction:o=$t.buttonPress,...s})=>{const u=Yt({...s,logAction:o,onEvent:r});return Qt.jsx(ea,{accessibilityRole:"link",color:a?"inverse":"link",emphasis:t,onPress:u,underline:!0,variant:n,...s,children:e})};try{$e.displayName="InlineLink",$e.__docgenInfo={description:"",displayName:"InlineLink",props:{emphasis:{defaultValue:null,description:"",name:"emphasis",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"strong"'}]}},inverse:{defaultValue:null,description:"",name:"inverse",required:!1,type:{name:"boolean"}},onPress:{defaultValue:null,description:`This function is called on press. +Text intrinsically supports press handling with a default highlight state (which can be disabled with suppressHighlighting).`,name:"onPress",required:!1,type:{name:"(() => void) & ((event: GestureResponderEvent) => void)"}},phraseVariant:{defaultValue:null,description:"",name:"phraseVariant",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"body"'},{value:'"intro"'},{value:'"quote"'},{value:'"extraSmall"'}]}},testID:{defaultValue:null,description:"Used to locate this view in end-to-end tests.",name:"testID",required:!1,type:{name:"string"}},logAction:{defaultValue:{value:"PiwikAction.buttonPress"},description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"",name:"logDimensions",required:!1,type:{name:"Partial<Record<CustomDimensionKeys, string>>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}const Ln=e=>/^https?:\/\/([\w-.]+.)?amsterdam\.nl/.test(e),Mn=(e,t)=>{if(!Ln(e))return e;const a=Ft.stringify({app_from:1,app_module:t}),[r,n]=e.split("#"),o=n?`#${n}`:"",s=`${r.includes("?")?"&":"?"}${a}`;return`${r}${s}${o}`},kn=()=>{const e=na(),{trackOutlink:t}=qe();return i.useCallback(a=>{const r=Mn(a,zt());t(r),je.openURL(r).catch(()=>{ze.alert("Sorry, deze functie is niet beschikbaar."),e(ra.openWebUrl,"useOpenWebUrl.ts",{url:a})})},[e,t])},cr=()=>{const e=ta(),t=aa(),a=kn(),{trackOutlink:r}=qe();return i.useCallback(n=>{if(r(n),n.startsWith("mailto:")){const[o,s]=n.substring(7).split("?subject=");e(o,s);return}if(n.startsWith("tel:")){t(n.substring(4));return}a(n)},[e,t,a,r])};export{$e as I,fa as K,Sa as L,U as S,ht as U,Ba as a,ma as b,ur as r,cr as u}; diff --git a/assets/useThemable-CjWxbHxI.js b/assets/useThemable-BlSbywuP.js similarity index 71% rename from assets/useThemable-CjWxbHxI.js rename to assets/useThemable-BlSbywuP.js index 4b20aa76..0a572cd5 100644 --- a/assets/useThemable-CjWxbHxI.js +++ b/assets/useThemable-BlSbywuP.js @@ -1,4 +1,4 @@ -import{r as $}from"./index-mfbfsM12.js";import{r as Ir}from"./index-BMk6Tmu2.js";import{g as Nr}from"./_commonjsHelpers-BosuxZz1.js";import{r as Dr}from"./index-8JwjhRSi.js";import{b as Je}from"./index-CEE--Juu.js";import{b as s}from"./base-color-CZpuL6yQ.js";var hr={exports:{}},vr={};/** +import{r as C}from"./index-mfbfsM12.js";import{r as Ir}from"./index-BMk6Tmu2.js";import{g as Nr}from"./_commonjsHelpers-BosuxZz1.js";import{r as Dr}from"./index-8JwjhRSi.js";import{b as Je}from"./index-CEE--Juu.js";import{b as s}from"./base-color-B2rPH-Aj.js";var hr={exports:{}},vr={};/** * @license React * use-sync-external-store-shim.production.min.js * @@ -6,7 +6,7 @@ import{r as $}from"./index-mfbfsM12.js";import{r as Ir}from"./index-BMk6Tmu2.js" * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var B=$;function _r(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Wr=typeof Object.is=="function"?Object.is:_r,Fr=B.useState,qr=B.useEffect,zr=B.useLayoutEffect,Vr=B.useDebugValue;function Lr(e,r){var t=r(),n=Fr({inst:{value:t,getSnapshot:r}}),a=n[0].inst,o=n[1];return zr(function(){a.value=t,a.getSnapshot=r,Oe(a)&&o({inst:a})},[e,t,r]),qr(function(){return Oe(a)&&o({inst:a}),e(function(){Oe(a)&&o({inst:a})})},[e]),Vr(t),t}function Oe(e){var r=e.getSnapshot;e=e.value;try{var t=r();return!Wr(e,t)}catch{return!0}}function Br(e,r){return r()}var Ur=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Br:Lr;vr.useSyncExternalStore=B.useSyncExternalStore!==void 0?B.useSyncExternalStore:Ur;hr.exports=vr;var Gr=hr.exports,yr={exports:{}},mr={};/** + */var B=C;function _r(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Wr=typeof Object.is=="function"?Object.is:_r,qr=B.useState,zr=B.useEffect,Fr=B.useLayoutEffect,Lr=B.useDebugValue;function Vr(e,r){var t=r(),n=qr({inst:{value:t,getSnapshot:r}}),a=n[0].inst,o=n[1];return Fr(function(){a.value=t,a.getSnapshot=r,Oe(a)&&o({inst:a})},[e,t,r]),zr(function(){return Oe(a)&&o({inst:a}),e(function(){Oe(a)&&o({inst:a})})},[e]),Lr(t),t}function Oe(e){var r=e.getSnapshot;e=e.value;try{var t=r();return!Wr(e,t)}catch{return!0}}function Br(e,r){return r()}var Ur=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Br:Vr;vr.useSyncExternalStore=B.useSyncExternalStore!==void 0?B.useSyncExternalStore:Ur;hr.exports=vr;var Gr=hr.exports,yr={exports:{}},mr={};/** * @license React * use-sync-external-store-shim/with-selector.production.min.js * @@ -14,7 +14,7 @@ import{r as $}from"./index-mfbfsM12.js";import{r as Ir}from"./index-BMk6Tmu2.js" * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var ie=$,Hr=Gr;function Xr(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Yr=typeof Object.is=="function"?Object.is:Xr,Jr=Hr.useSyncExternalStore,Qr=ie.useRef,Zr=ie.useEffect,Kr=ie.useMemo,et=ie.useDebugValue;mr.useSyncExternalStoreWithSelector=function(e,r,t,n,a){var o=Qr(null);if(o.current===null){var i={hasValue:!1,value:null};o.current=i}else i=o.current;o=Kr(function(){function c(d){if(!u){if(u=!0,l=d,d=n(d),a!==void 0&&i.hasValue){var h=i.value;if(a(h,d))return p=h}return p=d}if(h=p,Yr(l,d))return h;var y=n(d);return a!==void 0&&a(h,y)?h:(l=d,p=y)}var u=!1,l,p,v=t===void 0?null:t;return[function(){return c(r())},v===null?void 0:function(){return c(v())}]},[r,t,n,a]);var f=Jr(e,o[0],o[1]);return Zr(function(){i.hasValue=!0,i.value=f},[f]),et(f),f};yr.exports=mr;var rt=yr.exports;function tt(e){e()}let gr=tt;const nt=e=>gr=e,Cn=()=>gr,Qe=Symbol.for("react-redux-context"),Ze=typeof globalThis<"u"?globalThis:{};function at(){var e;if(!$.createContext)return{};const r=(e=Ze[Qe])!=null?e:Ze[Qe]=new Map;let t=r.get($.createContext);return t||(t=$.createContext(null),r.set($.createContext,t)),t}const Ce=at();function br(e=Ce){return function(){return $.useContext(e)}}const ot=br(),ut=()=>{throw new Error("uSES not initialized!")};let wr=ut;const it=e=>{wr=e},ct=(e,r)=>e===r;function ft(e=Ce){const r=e===Ce?ot:br(e);return function(n,a={}){const{equalityFn:o=ct,stabilityCheck:i=void 0,noopCheck:f=void 0}=typeof a=="function"?{equalityFn:a}:a,{store:c,subscription:u,getServerState:l,stabilityCheck:p,noopCheck:v}=r();$.useRef(!0);const d=$.useCallback({[n.name](y){return n(y)}}[n.name],[n,p,i]),h=wr(u.addNestedSub,c.getState,l||c.getState,d,o);return $.useDebugValue(h),h}}const st=ft();var We=Dr,lt={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},dt={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},pt={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Sr={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Fe={};Fe[We.ForwardRef]=pt;Fe[We.Memo]=Sr;function Ke(e){return We.isMemo(e)?Sr:Fe[e.$$typeof]||lt}var ht=Object.defineProperty,vt=Object.getOwnPropertyNames,er=Object.getOwnPropertySymbols,yt=Object.getOwnPropertyDescriptor,mt=Object.getPrototypeOf,rr=Object.prototype;function Or(e,r,t){if(typeof r!="string"){if(rr){var n=mt(r);n&&n!==rr&&Or(e,n,t)}var a=vt(r);er&&(a=a.concat(er(r)));for(var o=Ke(e),i=Ke(r),f=0;f<a.length;++f){var c=a[f];if(!dt[c]&&!(t&&t[c])&&!(i&&i[c])&&!(o&&o[c])){var u=yt(r,c);try{ht(e,c,u)}catch{}}}}return e}var gt=Or;const $n=Nr(gt);var S={};/** + */var ie=C,Hr=Gr;function Xr(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Yr=typeof Object.is=="function"?Object.is:Xr,Jr=Hr.useSyncExternalStore,Qr=ie.useRef,Zr=ie.useEffect,Kr=ie.useMemo,et=ie.useDebugValue;mr.useSyncExternalStoreWithSelector=function(e,r,t,n,a){var o=Qr(null);if(o.current===null){var i={hasValue:!1,value:null};o.current=i}else i=o.current;o=Kr(function(){function c(d){if(!u){if(u=!0,l=d,d=n(d),a!==void 0&&i.hasValue){var h=i.value;if(a(h,d))return p=h}return p=d}if(h=p,Yr(l,d))return h;var y=n(d);return a!==void 0&&a(h,y)?h:(l=d,p=y)}var u=!1,l,p,v=t===void 0?null:t;return[function(){return c(r())},v===null?void 0:function(){return c(v())}]},[r,t,n,a]);var f=Jr(e,o[0],o[1]);return Zr(function(){i.hasValue=!0,i.value=f},[f]),et(f),f};yr.exports=mr;var rt=yr.exports;function tt(e){e()}let gr=tt;const nt=e=>gr=e,Cn=()=>gr,Qe=Symbol.for("react-redux-context"),Ze=typeof globalThis<"u"?globalThis:{};function at(){var e;if(!C.createContext)return{};const r=(e=Ze[Qe])!=null?e:Ze[Qe]=new Map;let t=r.get(C.createContext);return t||(t=C.createContext(null),r.set(C.createContext,t)),t}const $e=at();function br(e=$e){return function(){return C.useContext(e)}}const ot=br(),ut=()=>{throw new Error("uSES not initialized!")};let wr=ut;const it=e=>{wr=e},ct=(e,r)=>e===r;function ft(e=$e){const r=e===$e?ot:br(e);return function(n,a={}){const{equalityFn:o=ct,stabilityCheck:i=void 0,noopCheck:f=void 0}=typeof a=="function"?{equalityFn:a}:a,{store:c,subscription:u,getServerState:l,stabilityCheck:p,noopCheck:v}=r();C.useRef(!0);const d=C.useCallback({[n.name](y){return n(y)}}[n.name],[n,p,i]),h=wr(u.addNestedSub,c.getState,l||c.getState,d,o);return C.useDebugValue(h),h}}const st=ft();var We=Dr,lt={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},dt={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},pt={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Sr={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},qe={};qe[We.ForwardRef]=pt;qe[We.Memo]=Sr;function Ke(e){return We.isMemo(e)?Sr:qe[e.$$typeof]||lt}var ht=Object.defineProperty,vt=Object.getOwnPropertyNames,er=Object.getOwnPropertySymbols,yt=Object.getOwnPropertyDescriptor,mt=Object.getPrototypeOf,rr=Object.prototype;function Or(e,r,t){if(typeof r!="string"){if(rr){var n=mt(r);n&&n!==rr&&Or(e,n,t)}var a=vt(r);er&&(a=a.concat(er(r)));for(var o=Ke(e),i=Ke(r),f=0;f<a.length;++f){var c=a[f];if(!dt[c]&&!(t&&t[c])&&!(i&&i[c])&&!(o&&o[c])){var u=yt(r,c);try{ht(e,c,u)}catch{}}}}return e}var gt=Or;const Rn=Nr(gt);var S={};/** * @license React * react-is.production.min.js * @@ -22,4 +22,4 @@ import{r as $}from"./index-mfbfsM12.js";import{r as Ir}from"./index-BMk6Tmu2.js" * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var qe=Symbol.for("react.element"),ze=Symbol.for("react.portal"),ce=Symbol.for("react.fragment"),fe=Symbol.for("react.strict_mode"),se=Symbol.for("react.profiler"),le=Symbol.for("react.provider"),de=Symbol.for("react.context"),bt=Symbol.for("react.server_context"),pe=Symbol.for("react.forward_ref"),he=Symbol.for("react.suspense"),ve=Symbol.for("react.suspense_list"),ye=Symbol.for("react.memo"),me=Symbol.for("react.lazy"),wt=Symbol.for("react.offscreen"),Pr;Pr=Symbol.for("react.module.reference");function x(e){if(typeof e=="object"&&e!==null){var r=e.$$typeof;switch(r){case qe:switch(e=e.type,e){case ce:case se:case fe:case he:case ve:return e;default:switch(e=e&&e.$$typeof,e){case bt:case de:case pe:case me:case ye:case le:return e;default:return r}}case ze:return r}}}S.ContextConsumer=de;S.ContextProvider=le;S.Element=qe;S.ForwardRef=pe;S.Fragment=ce;S.Lazy=me;S.Memo=ye;S.Portal=ze;S.Profiler=se;S.StrictMode=fe;S.Suspense=he;S.SuspenseList=ve;S.isAsyncMode=function(){return!1};S.isConcurrentMode=function(){return!1};S.isContextConsumer=function(e){return x(e)===de};S.isContextProvider=function(e){return x(e)===le};S.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===qe};S.isForwardRef=function(e){return x(e)===pe};S.isFragment=function(e){return x(e)===ce};S.isLazy=function(e){return x(e)===me};S.isMemo=function(e){return x(e)===ye};S.isPortal=function(e){return x(e)===ze};S.isProfiler=function(e){return x(e)===se};S.isStrictMode=function(e){return x(e)===fe};S.isSuspense=function(e){return x(e)===he};S.isSuspenseList=function(e){return x(e)===ve};S.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ce||e===se||e===fe||e===he||e===ve||e===wt||typeof e=="object"&&e!==null&&(e.$$typeof===me||e.$$typeof===ye||e.$$typeof===le||e.$$typeof===de||e.$$typeof===pe||e.$$typeof===Pr||e.getModuleId!==void 0)};S.typeOf=x;it(rt.useSyncExternalStoreWithSelector);nt(Ir.unstable_batchedUpdates);const St=st;function E(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+e+(t.length?" "+t.map(function(a){return"'"+a+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function M(e){return!!e&&!!e[O]}function I(e){var r;return!!e&&(function(t){if(!t||typeof t!="object")return!1;var n=Object.getPrototypeOf(t);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===xt}(e)||Array.isArray(e)||!!e[Q]||!!(!((r=e.constructor)===null||r===void 0)&&r[Q])||ge(e)||be(e))}function Rn(e){return M(e)||E(23,e),e[O].t}function F(e,r,t){t===void 0&&(t=!1),q(e)===0?(t?Object.keys:L)(e).forEach(function(n){t&&typeof n=="symbol"||r(n,e[n],e)}):e.forEach(function(n,a){return r(a,n,e)})}function q(e){var r=e[O];return r?r.i>3?r.i-4:r.i:Array.isArray(e)?1:ge(e)?2:be(e)?3:0}function D(e,r){return q(e)===2?e.has(r):Object.prototype.hasOwnProperty.call(e,r)}function re(e,r){return q(e)===2?e.get(r):e[r]}function Er(e,r,t){var n=q(e);n===2?e.set(r,t):n===3?e.add(t):e[r]=t}function jr(e,r){return e===r?e!==0||1/e==1/r:e!=e&&r!=r}function ge(e){return kt&&e instanceof Map}function be(e){return At&&e instanceof Set}function z(e){return e.o||e.t}function Ve(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var r=Ar(e);delete r[O];for(var t=L(r),n=0;n<t.length;n++){var a=t[n],o=r[a];o.writable===!1&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(r[a]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),r)}function Le(e,r){return r===void 0&&(r=!1),Be(e)||M(e)||!I(e)||(q(e)>1&&(e.set=e.add=e.clear=e.delete=Ot),Object.freeze(e),r&&F(e,function(t,n){return Le(n,!0)},!0)),e}function Ot(){E(2)}function Be(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function R(e){var r=Ie[e];return r||E(18,e),r}function kr(e,r){Ie[e]||(Ie[e]=r)}function $e(){return Z}function Pe(e,r){r&&(R("Patches"),e.u=[],e.s=[],e.v=r)}function te(e){Re(e),e.p.forEach(Pt),e.p=null}function Re(e){e===Z&&(Z=e.l)}function tr(e){return Z={p:[],l:Z,h:e,m:!0,_:0}}function Pt(e){var r=e[O];r.i===0||r.i===1?r.j():r.g=!0}function Ee(e,r){r._=r.p.length;var t=r.p[0],n=e!==void 0&&e!==t;return r.h.O||R("ES5").S(r,e,n),n?(t[O].P&&(te(r),E(4)),I(e)&&(e=ne(r,e),r.l||ae(r,e)),r.u&&R("Patches").M(t[O].t,e,r.u,r.s)):e=ne(r,t,[]),te(r),r.u&&r.v(r.u,r.s),e!==Ge?e:void 0}function ne(e,r,t){if(Be(r))return r;var n=r[O];if(!n)return F(r,function(f,c){return nr(e,n,r,f,c,t)},!0),r;if(n.A!==e)return r;if(!n.P)return ae(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Ve(n.k):n.o,o=a,i=!1;n.i===3&&(o=new Set(a),a.clear(),i=!0),F(o,function(f,c){return nr(e,n,a,f,c,t,i)}),ae(e,a,!1),t&&e.u&&R("Patches").N(n,t,e.u,e.s)}return n.o}function nr(e,r,t,n,a,o,i){if(M(a)){var f=ne(e,a,o&&r&&r.i!==3&&!D(r.R,n)?o.concat(n):void 0);if(Er(t,n,f),!M(f))return;e.m=!1}else i&&t.add(a);if(I(a)&&!Be(a)){if(!e.h.D&&e._<1)return;ne(e,a),r&&r.A.l||ae(e,a)}}function ae(e,r,t){t===void 0&&(t=!1),!e.l&&e.h.D&&e.m&&Le(r,t)}function je(e,r){var t=e[O];return(t?z(t):e)[r]}function ar(e,r){if(r in e)for(var t=Object.getPrototypeOf(e);t;){var n=Object.getOwnPropertyDescriptor(t,r);if(n)return n;t=Object.getPrototypeOf(t)}}function N(e){e.P||(e.P=!0,e.l&&N(e.l))}function ke(e){e.o||(e.o=Ve(e.t))}function Me(e,r,t){var n=ge(r)?R("MapSet").F(r,t):be(r)?R("MapSet").T(r,t):e.O?function(a,o){var i=Array.isArray(a),f={i:i?1:0,A:o?o.A:$e(),P:!1,I:!1,R:{},l:o,t:a,k:null,o:null,j:null,C:!1},c=f,u=K;i&&(c=[f],u=Y);var l=Proxy.revocable(c,u),p=l.revoke,v=l.proxy;return f.k=v,f.j=p,v}(r,t):R("ES5").J(r,t);return(t?t.A:$e()).p.push(n),n}function Et(e){return M(e)||E(22,e),function r(t){if(!I(t))return t;var n,a=t[O],o=q(t);if(a){if(!a.P&&(a.i<4||!R("ES5").K(a)))return a.t;a.I=!0,n=or(t,o),a.I=!1}else n=or(t,o);return F(n,function(i,f){a&&re(a.t,i)===f||Er(n,i,r(f))}),o===3?new Set(n):n}(e)}function or(e,r){switch(r){case 2:return new Map(e);case 3:return Array.from(e)}return Ve(e)}function jt(){function e(o,i){var f=a[o];return f?f.enumerable=i:a[o]=f={configurable:!0,enumerable:i,get:function(){var c=this[O];return K.get(c,o)},set:function(c){var u=this[O];K.set(u,o,c)}},f}function r(o){for(var i=o.length-1;i>=0;i--){var f=o[i][O];if(!f.P)switch(f.i){case 5:n(f)&&N(f);break;case 4:t(f)&&N(f)}}}function t(o){for(var i=o.t,f=o.k,c=L(f),u=c.length-1;u>=0;u--){var l=c[u];if(l!==O){var p=i[l];if(p===void 0&&!D(i,l))return!0;var v=f[l],d=v&&v[O];if(d?d.t!==p:!jr(v,p))return!0}}var h=!!i[O];return c.length!==L(i).length+(h?0:1)}function n(o){var i=o.k;if(i.length!==o.t.length)return!0;var f=Object.getOwnPropertyDescriptor(i,i.length-1);if(f&&!f.get)return!0;for(var c=0;c<i.length;c++)if(!i.hasOwnProperty(c))return!0;return!1}var a={};kr("ES5",{J:function(o,i){var f=Array.isArray(o),c=function(l,p){if(l){for(var v=Array(p.length),d=0;d<p.length;d++)Object.defineProperty(v,""+d,e(d,!0));return v}var h=Ar(p);delete h[O];for(var y=L(h),m=0;m<y.length;m++){var b=y[m];h[b]=e(b,l||!!h[b].enumerable)}return Object.create(Object.getPrototypeOf(p),h)}(f,o),u={i:f?5:4,A:i?i.A:$e(),P:!1,I:!1,R:{},l:i,t:o,k:c,o:null,g:!1,C:!1};return Object.defineProperty(c,O,{value:u,writable:!0}),c},S:function(o,i,f){f?M(i)&&i[O].A===o&&r(o.p):(o.u&&function c(u){if(u&&typeof u=="object"){var l=u[O];if(l){var p=l.t,v=l.k,d=l.R,h=l.i;if(h===4)F(v,function(w){w!==O&&(p[w]!==void 0||D(p,w)?d[w]||c(v[w]):(d[w]=!0,N(l)))}),F(p,function(w){v[w]!==void 0||D(v,w)||(d[w]=!1,N(l))});else if(h===5){if(n(l)&&(N(l),d.length=!0),v.length<p.length)for(var y=v.length;y<p.length;y++)d[y]=!1;else for(var m=p.length;m<v.length;m++)d[m]=!0;for(var b=Math.min(v.length,p.length),g=0;g<b;g++)v.hasOwnProperty(g)||(d[g]=!0),d[g]===void 0&&c(v[g])}}}}(o.p[0]),r(o.p))},K:function(o){return o.i===4?t(o):n(o)}})}function Mn(){function e(n){if(!I(n))return n;if(Array.isArray(n))return n.map(e);if(ge(n))return new Map(Array.from(n.entries()).map(function(i){return[i[0],e(i[1])]}));if(be(n))return new Set(Array.from(n).map(e));var a=Object.create(Object.getPrototypeOf(n));for(var o in n)a[o]=e(n[o]);return D(n,Q)&&(a[Q]=n[Q]),a}function r(n){return M(n)?e(n):n}var t="add";kr("Patches",{$:function(n,a){return a.forEach(function(o){for(var i=o.path,f=o.op,c=n,u=0;u<i.length-1;u++){var l=q(c),p=i[u];typeof p!="string"&&typeof p!="number"&&(p=""+p),l!==0&&l!==1||p!=="__proto__"&&p!=="constructor"||E(24),typeof c=="function"&&p==="prototype"&&E(24),typeof(c=re(c,p))!="object"&&E(15,i.join("/"))}var v=q(c),d=e(o.value),h=i[i.length-1];switch(f){case"replace":switch(v){case 2:return c.set(h,d);case 3:E(16);default:return c[h]=d}case t:switch(v){case 1:return h==="-"?c.push(d):c.splice(h,0,d);case 2:return c.set(h,d);case 3:return c.add(d);default:return c[h]=d}case"remove":switch(v){case 1:return c.splice(h,1);case 2:return c.delete(h);case 3:return c.delete(o.value);default:return delete c[h]}default:E(17,f)}}),n},N:function(n,a,o,i){switch(n.i){case 0:case 4:case 2:return function(f,c,u,l){var p=f.t,v=f.o;F(f.R,function(d,h){var y=re(p,d),m=re(v,d),b=h?D(p,d)?"replace":t:"remove";if(y!==m||b!=="replace"){var g=c.concat(d);u.push(b==="remove"?{op:b,path:g}:{op:b,path:g,value:m}),l.push(b===t?{op:"remove",path:g}:b==="remove"?{op:t,path:g,value:r(y)}:{op:"replace",path:g,value:r(y)})}})}(n,a,o,i);case 5:case 1:return function(f,c,u,l){var p=f.t,v=f.R,d=f.o;if(d.length<p.length){var h=[d,p];p=h[0],d=h[1];var y=[l,u];u=y[0],l=y[1]}for(var m=0;m<p.length;m++)if(v[m]&&d[m]!==p[m]){var b=c.concat([m]);u.push({op:"replace",path:b,value:r(d[m])}),l.push({op:"replace",path:b,value:r(p[m])})}for(var g=p.length;g<d.length;g++){var w=c.concat([g]);u.push({op:t,path:w,value:r(d[g])})}p.length<d.length&&l.push({op:"replace",path:c.concat(["length"]),value:p.length})}(n,a,o,i);case 3:return function(f,c,u,l){var p=f.t,v=f.o,d=0;p.forEach(function(h){if(!v.has(h)){var y=c.concat([d]);u.push({op:"remove",path:y,value:h}),l.unshift({op:t,path:y,value:h})}d++}),d=0,v.forEach(function(h){if(!p.has(h)){var y=c.concat([d]);u.push({op:t,path:y,value:h}),l.unshift({op:"remove",path:y,value:h})}d++})}(n,a,o,i)}},M:function(n,a,o,i){o.push({op:"replace",path:[],value:a===Ge?void 0:a}),i.push({op:"replace",path:[],value:n})}})}var ur,Z,Ue=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",kt=typeof Map<"u",At=typeof Set<"u",ir=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ge=Ue?Symbol.for("immer-nothing"):((ur={})["immer-nothing"]=!0,ur),Q=Ue?Symbol.for("immer-draftable"):"__$immer_draftable",O=Ue?Symbol.for("immer-state"):"__$immer_state",xt=""+Object.prototype.constructor,L=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Ar=Object.getOwnPropertyDescriptors||function(e){var r={};return L(e).forEach(function(t){r[t]=Object.getOwnPropertyDescriptor(e,t)}),r},Ie={},K={get:function(e,r){if(r===O)return e;var t=z(e);if(!D(t,r))return function(a,o,i){var f,c=ar(o,i);return c?"value"in c?c.value:(f=c.get)===null||f===void 0?void 0:f.call(a.k):void 0}(e,t,r);var n=t[r];return e.I||!I(n)?n:n===je(e.t,r)?(ke(e),e.o[r]=Me(e.A.h,n,e)):n},has:function(e,r){return r in z(e)},ownKeys:function(e){return Reflect.ownKeys(z(e))},set:function(e,r,t){var n=ar(z(e),r);if(n!=null&&n.set)return n.set.call(e.k,t),!0;if(!e.P){var a=je(z(e),r),o=a==null?void 0:a[O];if(o&&o.t===t)return e.o[r]=t,e.R[r]=!1,!0;if(jr(t,a)&&(t!==void 0||D(e.t,r)))return!0;ke(e),N(e)}return e.o[r]===t&&(t!==void 0||r in e.o)||Number.isNaN(t)&&Number.isNaN(e.o[r])||(e.o[r]=t,e.R[r]=!0),!0},deleteProperty:function(e,r){return je(e.t,r)!==void 0||r in e.t?(e.R[r]=!1,ke(e),N(e)):delete e.R[r],e.o&&delete e.o[r],!0},getOwnPropertyDescriptor:function(e,r){var t=z(e),n=Reflect.getOwnPropertyDescriptor(t,r);return n&&{writable:!0,configurable:e.i!==1||r!=="length",enumerable:n.enumerable,value:t[r]}},defineProperty:function(){E(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){E(12)}},Y={};F(K,function(e,r){Y[e]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}}),Y.deleteProperty=function(e,r){return Y.set.call(this,e,r,void 0)},Y.set=function(e,r,t){return K.set.call(this,e[0],r,t,e[0])};var Tt=function(){function e(t){var n=this;this.O=ir,this.D=!0,this.produce=function(a,o,i){if(typeof a=="function"&&typeof o!="function"){var f=o;o=a;var c=n;return function(y){var m=this;y===void 0&&(y=f);for(var b=arguments.length,g=Array(b>1?b-1:0),w=1;w<b;w++)g[w-1]=arguments[w];return c.produce(y,function(k){var T;return(T=o).call.apply(T,[m,k].concat(g))})}}var u;if(typeof o!="function"&&E(6),i!==void 0&&typeof i!="function"&&E(7),I(a)){var l=tr(n),p=Me(n,a,void 0),v=!0;try{u=o(p),v=!1}finally{v?te(l):Re(l)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(y){return Pe(l,i),Ee(y,l)},function(y){throw te(l),y}):(Pe(l,i),Ee(u,l))}if(!a||typeof a!="object"){if((u=o(a))===void 0&&(u=a),u===Ge&&(u=void 0),n.D&&Le(u,!0),i){var d=[],h=[];R("Patches").M(a,u,d,h),i(d,h)}return u}E(21,a)},this.produceWithPatches=function(a,o){if(typeof a=="function")return function(u){for(var l=arguments.length,p=Array(l>1?l-1:0),v=1;v<l;v++)p[v-1]=arguments[v];return n.produceWithPatches(u,function(d){return a.apply(void 0,[d].concat(p))})};var i,f,c=n.produce(a,o,function(u,l){i=u,f=l});return typeof Promise<"u"&&c instanceof Promise?c.then(function(u){return[u,i,f]}):[c,i,f]},typeof(t==null?void 0:t.useProxies)=="boolean"&&this.setUseProxies(t.useProxies),typeof(t==null?void 0:t.autoFreeze)=="boolean"&&this.setAutoFreeze(t.autoFreeze)}var r=e.prototype;return r.createDraft=function(t){I(t)||E(8),M(t)&&(t=Et(t));var n=tr(this),a=Me(this,t,void 0);return a[O].C=!0,Re(n),a},r.finishDraft=function(t,n){var a=t&&t[O],o=a.A;return Pe(o,n),Ee(void 0,o)},r.setAutoFreeze=function(t){this.D=t},r.setUseProxies=function(t){t&&!ir&&E(20),this.O=t},r.applyPatches=function(t,n){var a;for(a=n.length-1;a>=0;a--){var o=n[a];if(o.path.length===0&&o.op==="replace"){t=o.value;break}}a>-1&&(n=n.slice(a+1));var i=R("Patches").$;return M(t)?i(t,n):this.produce(t,function(f){return i(f,n)})},e}(),A=new Tt,Ct=A.produce,In=A.produceWithPatches.bind(A);A.setAutoFreeze.bind(A);A.setUseProxies.bind(A);var Nn=A.applyPatches.bind(A);A.createDraft.bind(A);A.finishDraft.bind(A);const xr=Ct;function j(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var cr=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ae=function(){return Math.random().toString(36).substring(7).split("").join(".")},oe={INIT:"@@redux/INIT"+Ae(),REPLACE:"@@redux/REPLACE"+Ae(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ae()}};function $t(e){if(typeof e!="object"||e===null)return!1;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r}function Tr(e,r,t){var n;if(typeof r=="function"&&typeof t=="function"||typeof t=="function"&&typeof arguments[3]=="function")throw new Error(j(0));if(typeof r=="function"&&typeof t>"u"&&(t=r,r=void 0),typeof t<"u"){if(typeof t!="function")throw new Error(j(1));return t(Tr)(e,r)}if(typeof e!="function")throw new Error(j(2));var a=e,o=r,i=[],f=i,c=!1;function u(){f===i&&(f=i.slice())}function l(){if(c)throw new Error(j(3));return o}function p(y){if(typeof y!="function")throw new Error(j(4));if(c)throw new Error(j(5));var m=!0;return u(),f.push(y),function(){if(m){if(c)throw new Error(j(6));m=!1,u();var g=f.indexOf(y);f.splice(g,1),i=null}}}function v(y){if(!$t(y))throw new Error(j(7));if(typeof y.type>"u")throw new Error(j(8));if(c)throw new Error(j(9));try{c=!0,o=a(o,y)}finally{c=!1}for(var m=i=f,b=0;b<m.length;b++){var g=m[b];g()}return y}function d(y){if(typeof y!="function")throw new Error(j(10));a=y,v({type:oe.REPLACE})}function h(){var y,m=p;return y={subscribe:function(g){if(typeof g!="object"||g===null)throw new Error(j(11));function w(){g.next&&g.next(l())}w();var k=m(w);return{unsubscribe:k}}},y[cr]=function(){return this},y}return v({type:oe.INIT}),n={dispatch:v,subscribe:p,getState:l,replaceReducer:d},n[cr]=h,n}function Rt(e){Object.keys(e).forEach(function(r){var t=e[r],n=t(void 0,{type:oe.INIT});if(typeof n>"u")throw new Error(j(12));if(typeof t(void 0,{type:oe.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(j(13))})}function Mt(e){for(var r=Object.keys(e),t={},n=0;n<r.length;n++){var a=r[n];typeof e[a]=="function"&&(t[a]=e[a])}var o=Object.keys(t),i;try{Rt(t)}catch(f){i=f}return function(c,u){if(c===void 0&&(c={}),i)throw i;for(var l=!1,p={},v=0;v<o.length;v++){var d=o[v],h=t[d],y=c[d],m=h(y,u);if(typeof m>"u")throw u&&u.type,new Error(j(14));p[d]=m,l=l||m!==y}return l=l||o.length!==Object.keys(c).length,l?p:c}}function ue(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return r.length===0?function(n){return n}:r.length===1?r[0]:r.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function It(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(n){return function(){var a=n.apply(void 0,arguments),o=function(){throw new Error(j(15))},i={getState:a.getState,dispatch:function(){return o.apply(void 0,arguments)}},f=r.map(function(c){return c(i)});return o=ue.apply(void 0,f)(a.dispatch),Je(Je({},a),{},{dispatch:o})}}}function Cr(e){var r=function(n){var a=n.dispatch,o=n.getState;return function(i){return function(f){return typeof f=="function"?f(a,o,e):i(f)}}};return r}var Ne=Cr();Ne.withExtraArgument=Cr;var $r=function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(n[o]=a[o])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),Nt=function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,i;return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(u){return function(l){return c([u,l])}}function c(u){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,a&&(o=u[0]&2?a.return:u[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,u[1])).done)return o;switch(a=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return t.label++,{value:u[1],done:!1};case 5:t.label++,a=u[1],u=[0];continue;case 7:u=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){t.label=u[1];break}if(u[0]===6&&t.label<o[1]){t.label=o[1],o=u;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(u);break}o[2]&&t.ops.pop(),t.trys.pop();continue}u=r.call(e,t)}catch(l){u=[6,l],a=0}finally{n=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},U=function(e,r){for(var t=0,n=r.length,a=e.length;t<n;t++,a++)e[a]=r[t];return e},Dt=Object.defineProperty,_t=Object.defineProperties,Wt=Object.getOwnPropertyDescriptors,fr=Object.getOwnPropertySymbols,Ft=Object.prototype.hasOwnProperty,qt=Object.prototype.propertyIsEnumerable,sr=function(e,r,t){return r in e?Dt(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t},_=function(e,r){for(var t in r||(r={}))Ft.call(r,t)&&sr(e,t,r[t]);if(fr)for(var n=0,a=fr(r);n<a.length;n++){var t=a[n];qt.call(r,t)&&sr(e,t,r[t])}return e},xe=function(e,r){return _t(e,Wt(r))},zt=function(e,r,t){return new Promise(function(n,a){var o=function(c){try{f(t.next(c))}catch(u){a(u)}},i=function(c){try{f(t.throw(c))}catch(u){a(u)}},f=function(c){return c.done?n(c.value):Promise.resolve(c.value).then(o,i)};f((t=t.apply(e,r)).next())})},Vt=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ue:ue.apply(null,arguments)};function Lt(e){if(typeof e!="object"||e===null)return!1;var r=Object.getPrototypeOf(e);if(r===null)return!0;for(var t=r;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return r===t}var Bt=function(e){return e&&typeof e.match=="function"};function W(e,r){function t(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(r){var o=r.apply(void 0,n);if(!o)throw new Error("prepareAction did not return an object");return _(_({type:e,payload:o.payload},"meta"in o&&{meta:o.meta}),"error"in o&&{error:o.error})}return{type:e,payload:n[0]}}return t.toString=function(){return""+e},t.type=e,t.match=function(n){return n.type===e},t}var Ut=function(e){$r(r,e);function r(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var a=e.apply(this,t)||this;return Object.setPrototypeOf(a,r.prototype),a}return Object.defineProperty(r,Symbol.species,{get:function(){return r},enumerable:!1,configurable:!0}),r.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},r.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.length===1&&Array.isArray(t[0])?new(r.bind.apply(r,U([void 0],t[0].concat(this)))):new(r.bind.apply(r,U([void 0],t.concat(this))))},r}(Array),Gt=function(e){$r(r,e);function r(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var a=e.apply(this,t)||this;return Object.setPrototypeOf(a,r.prototype),a}return Object.defineProperty(r,Symbol.species,{get:function(){return r},enumerable:!1,configurable:!0}),r.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},r.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.length===1&&Array.isArray(t[0])?new(r.bind.apply(r,U([void 0],t[0].concat(this)))):new(r.bind.apply(r,U([void 0],t.concat(this))))},r}(Array);function De(e){return I(e)?xr(e,function(){}):e}function Ht(e){return typeof e=="boolean"}function Xt(){return function(r){return Yt(r)}}function Yt(e){e===void 0&&(e={});var r=e.thunk,t=r===void 0?!0:r;e.immutableCheck,e.serializableCheck,e.actionCreatorCheck;var n=new Ut;return t&&(Ht(t)?n.push(Ne):n.push(Ne.withExtraArgument(t.extraArgument))),n}var Jt=!0;function Dn(e){var r=Xt(),t=e||{},n=t.reducer,a=n===void 0?void 0:n,o=t.middleware,i=o===void 0?r():o,f=t.devTools,c=f===void 0?!0:f,u=t.preloadedState,l=u===void 0?void 0:u,p=t.enhancers,v=p===void 0?void 0:p,d;if(typeof a=="function")d=a;else if(Lt(a))d=Mt(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var h=i;typeof h=="function"&&(h=h(r));var y=It.apply(void 0,h),m=ue;c&&(m=Vt(_({trace:!Jt},typeof c=="object"&&c)));var b=new Gt(y),g=b;Array.isArray(v)?g=U([y],v):typeof v=="function"&&(g=v(b));var w=m.apply(void 0,g);return Tr(d,l,w)}function Rr(e){var r={},t=[],n,a={addCase:function(o,i){var f=typeof o=="string"?o:o.type;if(!f)throw new Error("`builder.addCase` cannot be called with an empty action type");if(f in r)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return r[f]=i,a},addMatcher:function(o,i){return t.push({matcher:o,reducer:i}),a},addDefaultCase:function(o){return n=o,a}};return e(a),[r,t,n]}function Qt(e){return typeof e=="function"}function Zt(e,r,t,n){t===void 0&&(t=[]);var a=typeof r=="function"?Rr(r):[r,t,n],o=a[0],i=a[1],f=a[2],c;if(Qt(e))c=function(){return De(e())};else{var u=De(e);c=function(){return u}}function l(p,v){p===void 0&&(p=c());var d=U([o[v.type]],i.filter(function(h){var y=h.matcher;return y(v)}).map(function(h){var y=h.reducer;return y}));return d.filter(function(h){return!!h}).length===0&&(d=[f]),d.reduce(function(h,y){if(y)if(M(h)){var m=h,b=y(m,v);return b===void 0?h:b}else{if(I(h))return xr(h,function(g){return y(g,v)});var b=y(h,v);if(b===void 0){if(h===null)return h;throw Error("A case reducer on a non-draftable value must not return undefined")}return b}return h},p)}return l.getInitialState=c,l}function Kt(e,r){return e+"/"+r}function en(e){var r=e.name;if(!r)throw new Error("`name` is a required option for createSlice");typeof process<"u";var t=typeof e.initialState=="function"?e.initialState:De(e.initialState),n=e.reducers||{},a=Object.keys(n),o={},i={},f={};a.forEach(function(l){var p=n[l],v=Kt(r,l),d,h;"reducer"in p?(d=p.reducer,h=p.prepare):d=p,o[l]=d,i[v]=d,f[l]=h?W(v,h):W(v)});function c(){var l=typeof e.extraReducers=="function"?Rr(e.extraReducers):[e.extraReducers],p=l[0],v=p===void 0?{}:p,d=l[1],h=d===void 0?[]:d,y=l[2],m=y===void 0?void 0:y,b=_(_({},v),i);return Zt(t,function(g){for(var w in b)g.addCase(w,b[w]);for(var k=0,T=h;k<T.length;k++){var G=T[k];g.addMatcher(G.matcher,G.reducer)}m&&g.addDefaultCase(m)})}var u;return{name:r,reducer:function(l,p){return u||(u=c()),u(l,p)},actions:f,caseReducers:o,getInitialState:function(){return u||(u=c()),u.getInitialState()}}}var rn="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",tn=function(e){e===void 0&&(e=21);for(var r="",t=e;t--;)r+=rn[Math.random()*64|0];return r},nn=["name","message","stack","code"],Te=function(){function e(r,t){this.payload=r,this.meta=t}return e}(),lr=function(){function e(r,t){this.payload=r,this.meta=t}return e}(),an=function(e){if(typeof e=="object"&&e!==null){for(var r={},t=0,n=nn;t<n.length;t++){var a=n[t];typeof e[a]=="string"&&(r[a]=e[a])}return r}return{message:String(e)}},_n=function(){function e(r,t,n){var a=W(r+"/fulfilled",function(u,l,p,v){return{payload:u,meta:xe(_({},v||{}),{arg:p,requestId:l,requestStatus:"fulfilled"})}}),o=W(r+"/pending",function(u,l,p){return{payload:void 0,meta:xe(_({},p||{}),{arg:l,requestId:u,requestStatus:"pending"})}}),i=W(r+"/rejected",function(u,l,p,v,d){return{payload:v,error:(n&&n.serializeError||an)(u||"Rejected"),meta:xe(_({},d||{}),{arg:p,requestId:l,rejectedWithValue:!!v,requestStatus:"rejected",aborted:(u==null?void 0:u.name)==="AbortError",condition:(u==null?void 0:u.name)==="ConditionError"})}}),f=typeof AbortController<"u"?AbortController:function(){function u(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return u.prototype.abort=function(){},u}();function c(u){return function(l,p,v){var d=n!=null&&n.idGenerator?n.idGenerator(u):tn(),h=new f,y;function m(g){y=g,h.abort()}var b=function(){return zt(this,null,function(){var g,w,k,T,G,H,Ye;return Nt(this,function(V){switch(V.label){case 0:return V.trys.push([0,4,,5]),T=(g=n==null?void 0:n.condition)==null?void 0:g.call(n,u,{getState:p,extra:v}),un(T)?[4,T]:[3,2];case 1:T=V.sent(),V.label=2;case 2:if(T===!1||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return G=new Promise(function(C,X){return h.signal.addEventListener("abort",function(){return X({name:"AbortError",message:y||"Aborted"})})}),l(o(d,u,(w=n==null?void 0:n.getPendingMeta)==null?void 0:w.call(n,{requestId:d,arg:u},{getState:p,extra:v}))),[4,Promise.race([G,Promise.resolve(t(u,{dispatch:l,getState:p,extra:v,requestId:d,signal:h.signal,abort:m,rejectWithValue:function(C,X){return new Te(C,X)},fulfillWithValue:function(C,X){return new lr(C,X)}})).then(function(C){if(C instanceof Te)throw C;return C instanceof lr?a(C.payload,d,u,C.meta):a(C,d,u)})])];case 3:return k=V.sent(),[3,5];case 4:return H=V.sent(),k=H instanceof Te?i(null,d,u,H.payload,H.meta):i(H,d,u),[3,5];case 5:return Ye=n&&!n.dispatchConditionRejection&&i.match(k)&&k.meta.condition,Ye||l(k),[2,k]}})})}();return Object.assign(b,{abort:m,requestId:d,arg:u,unwrap:function(){return b.then(on)}})}}return Object.assign(c,{pending:o,rejected:i,fulfilled:a,typePrefix:r})}return e.withTypes=function(){return e},e}();function on(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function un(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Mr=function(e,r){return Bt(e)?e.match(r):e(r)};function we(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return function(t){return e.some(function(n){return Mr(n,t)})}}function dr(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return function(t){return e.every(function(n){return Mr(n,t)})}}function Se(e,r){if(!e||!e.meta)return!1;var t=typeof e.meta.requestId=="string",n=r.indexOf(e.meta.requestStatus)>-1;return t&&n}function ee(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function cn(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return e.length===0?function(t){return Se(t,["pending"])}:ee(e)?function(t){var n=e.map(function(o){return o.pending}),a=we.apply(void 0,n);return a(t)}:cn()(e[0])}function _e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return e.length===0?function(t){return Se(t,["rejected"])}:ee(e)?function(t){var n=e.map(function(o){return o.rejected}),a=we.apply(void 0,n);return a(t)}:_e()(e[0])}function fn(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=function(n){return n&&n.meta&&n.meta.rejectedWithValue};return e.length===0?function(n){var a=dr(_e.apply(void 0,e),t);return a(n)}:ee(e)?function(n){var a=dr(_e.apply(void 0,e),t);return a(n)}:fn()(e[0])}function sn(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return e.length===0?function(t){return Se(t,["fulfilled"])}:ee(e)?function(t){var n=e.map(function(o){return o.fulfilled}),a=we.apply(void 0,n);return a(t)}:sn()(e[0])}function ln(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return e.length===0?function(t){return Se(t,["pending","fulfilled","rejected"])}:ee(e)?function(t){for(var n=[],a=0,o=e;a<o.length;a++){var i=o[a];n.push(i.pending,i.rejected,i.fulfilled)}var f=we.apply(void 0,n);return f(t)}:ln()(e[0])}var He="listenerMiddleware";W(He+"/add");W(He+"/removeAll");W(He+"/remove");var dn="RTK_autoBatch",Wn=function(){return function(e){var r;return{payload:e,meta:(r={},r[dn]=!0,r)}}},pr;typeof queueMicrotask=="function"&&queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis);jt();var Xe=(e=>(e.address="address",e.alert="alert",e.bottomSheet="bottomSheet",e.chat="chat",e.cityPass="cityPass",e.constructionWork="constructionWork",e.constructionWorkEditor="constructionWorkEditor",e.contact="contact",e.environment="environment",e.internetConnection="internetConnection",e.messageDraft="messageDraft",e.modules="modules",e.onboarding="onboarding",e.overlay="overlay",e.permissions="permissions",e.productTour="productTour",e.screen="screen",e.secureStorage="secureStorage",e.theme="theme",e.updateApp="updateApp",e.wasteGuide="wasteGuide",e))(Xe||{});const pn={width:{sm:1,md:2,lg:3,xl:4}};var J=(e=>(e.chatbot="Chatbot",e.employee="Employee",e.system="System",e.user="USER",e))(J||{});const hn={alert:{information:{border:s.primary.blue,background:s.primary.white},negative:{border:s.primary.red,background:s.primary.white},positive:{border:s.secondary.darkgreen,background:s.primary.white},warning:{border:s.secondary.orange,background:s.primary.white}},appSwitcher:{background:s.primary.red},articleOverview:{year:{background:s.primary.white}},attention:{default:{border:s.primary.blue},warning:{border:s.primary.red}},badge:{background:s.primary.red},barcode:{background:s.primary.white,foreground:s.primary.black},border:{default:s.neutral.grey1,onGrey:s.neutral.grey2,cityPass:s.secondary.purple},box:{distinct:s.primary.white,cityPass:s.secondary.purple},card:{pressed:{background:s.neutral.grey1}},chat:{avatar:{foreground:s.primary.black,background:s.primary.white,border:s.neutral.grey2},loading:{dark:s.primary.black,medium:s.neutral.grey3,light:s.neutral.grey2},border:s.transparent.blue25,message:{background:{[J.chatbot]:s.neutral.grey1,[J.employee]:s.neutral.grey1,[J.user]:s.neutral.grey4,[J.system]:s.neutral.grey1},text:{bot:s.primary.black,employee:s.primary.black,user:s.primary.white}}},checkbox:{underlay:s.primary.white},cityPass:{overlay:s.transparent.black90,passHeader:s.neutral.grey1,passInner:s.primary.white,passBackground:s.primary.white,card:{border:s.neutral.grey2}},control:{default:{background:s.primary.white,border:s.neutral.grey3},checked:{background:s.primary.blue,border:s.primary.blue},focus:{border:s.primary.black},warning:{border:s.primary.red}},imageFallback:{background:s.primary.white,border:s.primary.blue},logo:s.primary.red,noInternet:{background:s.primary.red},pagination:{background:s.primary.blue,container:{background:s.transparent.grey50},item:{active:s.primary.white,inactive:s.transparent.white30}},pressable:{primary:{default:{background:s.primary.blue,border:s.transparent.full,label:s.primary.white},pressed:{background:s.secondary.darkblue,border:s.transparent.full,label:s.primary.white}},secondary:{default:{background:s.primary.white,border:s.primary.blue,icon:s.primary.blue,label:s.primary.blue},pressed:{background:s.primary.white,border:s.secondary.darkblue,label:s.secondary.darkblue}},tertiary:{default:{background:s.primary.white,border:s.transparent.full,label:s.primary.blue},pressed:{background:s.neutral.grey1,border:s.primary.blue,label:s.secondary.darkblue}},transparent:{default:{background:s.transparent.full,border:s.transparent.full,label:s.primary.blue},pressed:{background:s.primary.white,border:s.neutral.grey1,label:s.secondary.darkblue}}},screen:{background:{default:s.primary.white,settings:s.custom.grey0}},shadow:{default:s.primary.black},skeleton:{background:s.neutral.grey2,highlight:s.transparent.white30},swipeToDelete:{background:s.primary.red},switch:{thumb:{disabled:{background:s.neutral.grey2},enabled:{background:s.primary.white}},track:{off:{background:s.neutral.grey3},on:{background:s.primary.blue}}},tag:{background:s.secondary.yellow},text:{cityPass:s.secondary.purple,confirm:s.secondary.darkgreen,default:s.primary.black,inverse:s.primary.white,link:s.primary.blue,secondary:s.neutral.grey3,tertiary:s.neutral.grey2,warning:s.primary.red},textInput:{container:{background:s.primary.white}},timeline:{future:s.neutral.grey3,past:s.primary.blue},tooltip:{background:s.neutral.grey4}},vn={transition:{short:100,normal:300,long:500}},yn={aspectRatio:{extraWide:940/415,narrow:5/4,square:1,wide:16/9,tight:1/2},figureHeight:{md:192,lg:256,xl:320},illustrationAspectRatio:{facades:2048/256,landscape:512/256,portrait:256/512},illustrationWidth:{narrow:128,wide:320}},mn={spacing:{no:0,xs:4,sm:8,md:16,lg:24,xl:40,xxl:80}};var gn=(e=>(e.default="default",e.strong="strong",e))(gn||{});const P={body:18,h1:32,h2:28,h3:24,h4:22,h5:18,h6:16,intro:22,quote:24,small:16,extraSmall:13},bn={fontSize:{body:P.body,h1:P.h1,h2:P.h2,h3:P.h3,h4:P.h4,h5:P.h5,h6:P.h6,intro:P.intro,quote:P.quote,small:P.small,extraSmall:P.extraSmall},fontFamily:{bold:"AmsterdamSans-ExtraBold",regular:"AmsterdamSans-Regular"},lineHeight:{body:1.6*P.body,h1:1.1*P.h1,h2:1.2*P.h2,h3:1.3*P.h3,h4:1.4*P.h4,h5:1.4*P.h5,h6:1.4*P.h6,intro:1.6*P.intro,quote:1.3*P.quote,small:1.5*P.small,extraSmall:1.5*P.extraSmall}},wn={articlePreviewLine:-1,carouselSlideBackgroundImageContainer:-1,timelineLine:-1,articleOverviewYear:1,carouselSlideContent:1,overlay:3,productTourTooltipWrapperParent:1,tooltip:2,appSwitcher:10},Sn="light",On={id:Sn,border:pn,color:hn,duration:vn,media:yn,size:mn,text:bn,z:wn},Fn=en({name:Xe.theme,initialState:{theme:On},reducers:{}}),Pn=e=>e[Xe.theme],qn=e=>{const{theme:r}=St(Pn);return $.useMemo(()=>e(r),[e,r])};export{Lt as A,ln as B,J as C,st as D,gn as E,Fn as F,Dn as G,Ce as R,dn as S,Mn as T,St as a,ot as b,br as c,en as d,Xe as e,W as f,Cn as g,$n as h,_n as i,we as j,fn as k,sn as l,Nn as m,tn as n,Mt as o,Wn as p,In as q,dr as r,Pn as s,I as t,qn as u,cn as v,_e as w,xr as x,M as y,Rn as z}; + */var ze=Symbol.for("react.element"),Fe=Symbol.for("react.portal"),ce=Symbol.for("react.fragment"),fe=Symbol.for("react.strict_mode"),se=Symbol.for("react.profiler"),le=Symbol.for("react.provider"),de=Symbol.for("react.context"),bt=Symbol.for("react.server_context"),pe=Symbol.for("react.forward_ref"),he=Symbol.for("react.suspense"),ve=Symbol.for("react.suspense_list"),ye=Symbol.for("react.memo"),me=Symbol.for("react.lazy"),wt=Symbol.for("react.offscreen"),Pr;Pr=Symbol.for("react.module.reference");function x(e){if(typeof e=="object"&&e!==null){var r=e.$$typeof;switch(r){case ze:switch(e=e.type,e){case ce:case se:case fe:case he:case ve:return e;default:switch(e=e&&e.$$typeof,e){case bt:case de:case pe:case me:case ye:case le:return e;default:return r}}case Fe:return r}}}S.ContextConsumer=de;S.ContextProvider=le;S.Element=ze;S.ForwardRef=pe;S.Fragment=ce;S.Lazy=me;S.Memo=ye;S.Portal=Fe;S.Profiler=se;S.StrictMode=fe;S.Suspense=he;S.SuspenseList=ve;S.isAsyncMode=function(){return!1};S.isConcurrentMode=function(){return!1};S.isContextConsumer=function(e){return x(e)===de};S.isContextProvider=function(e){return x(e)===le};S.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===ze};S.isForwardRef=function(e){return x(e)===pe};S.isFragment=function(e){return x(e)===ce};S.isLazy=function(e){return x(e)===me};S.isMemo=function(e){return x(e)===ye};S.isPortal=function(e){return x(e)===Fe};S.isProfiler=function(e){return x(e)===se};S.isStrictMode=function(e){return x(e)===fe};S.isSuspense=function(e){return x(e)===he};S.isSuspenseList=function(e){return x(e)===ve};S.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ce||e===se||e===fe||e===he||e===ve||e===wt||typeof e=="object"&&e!==null&&(e.$$typeof===me||e.$$typeof===ye||e.$$typeof===le||e.$$typeof===de||e.$$typeof===pe||e.$$typeof===Pr||e.getModuleId!==void 0)};S.typeOf=x;it(rt.useSyncExternalStoreWithSelector);nt(Ir.unstable_batchedUpdates);const St=st;function E(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+e+(t.length?" "+t.map(function(a){return"'"+a+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function M(e){return!!e&&!!e[O]}function I(e){var r;return!!e&&(function(t){if(!t||typeof t!="object")return!1;var n=Object.getPrototypeOf(t);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===xt}(e)||Array.isArray(e)||!!e[Q]||!!(!((r=e.constructor)===null||r===void 0)&&r[Q])||ge(e)||be(e))}function Mn(e){return M(e)||E(23,e),e[O].t}function q(e,r,t){t===void 0&&(t=!1),z(e)===0?(t?Object.keys:V)(e).forEach(function(n){t&&typeof n=="symbol"||r(n,e[n],e)}):e.forEach(function(n,a){return r(a,n,e)})}function z(e){var r=e[O];return r?r.i>3?r.i-4:r.i:Array.isArray(e)?1:ge(e)?2:be(e)?3:0}function D(e,r){return z(e)===2?e.has(r):Object.prototype.hasOwnProperty.call(e,r)}function re(e,r){return z(e)===2?e.get(r):e[r]}function Er(e,r,t){var n=z(e);n===2?e.set(r,t):n===3?e.add(t):e[r]=t}function jr(e,r){return e===r?e!==0||1/e==1/r:e!=e&&r!=r}function ge(e){return kt&&e instanceof Map}function be(e){return At&&e instanceof Set}function F(e){return e.o||e.t}function Le(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var r=Ar(e);delete r[O];for(var t=V(r),n=0;n<t.length;n++){var a=t[n],o=r[a];o.writable===!1&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(r[a]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),r)}function Ve(e,r){return r===void 0&&(r=!1),Be(e)||M(e)||!I(e)||(z(e)>1&&(e.set=e.add=e.clear=e.delete=Ot),Object.freeze(e),r&&q(e,function(t,n){return Ve(n,!0)},!0)),e}function Ot(){E(2)}function Be(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function R(e){var r=Ie[e];return r||E(18,e),r}function kr(e,r){Ie[e]||(Ie[e]=r)}function Ce(){return Z}function Pe(e,r){r&&(R("Patches"),e.u=[],e.s=[],e.v=r)}function te(e){Re(e),e.p.forEach(Pt),e.p=null}function Re(e){e===Z&&(Z=e.l)}function tr(e){return Z={p:[],l:Z,h:e,m:!0,_:0}}function Pt(e){var r=e[O];r.i===0||r.i===1?r.j():r.g=!0}function Ee(e,r){r._=r.p.length;var t=r.p[0],n=e!==void 0&&e!==t;return r.h.O||R("ES5").S(r,e,n),n?(t[O].P&&(te(r),E(4)),I(e)&&(e=ne(r,e),r.l||ae(r,e)),r.u&&R("Patches").M(t[O].t,e,r.u,r.s)):e=ne(r,t,[]),te(r),r.u&&r.v(r.u,r.s),e!==Ge?e:void 0}function ne(e,r,t){if(Be(r))return r;var n=r[O];if(!n)return q(r,function(f,c){return nr(e,n,r,f,c,t)},!0),r;if(n.A!==e)return r;if(!n.P)return ae(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Le(n.k):n.o,o=a,i=!1;n.i===3&&(o=new Set(a),a.clear(),i=!0),q(o,function(f,c){return nr(e,n,a,f,c,t,i)}),ae(e,a,!1),t&&e.u&&R("Patches").N(n,t,e.u,e.s)}return n.o}function nr(e,r,t,n,a,o,i){if(M(a)){var f=ne(e,a,o&&r&&r.i!==3&&!D(r.R,n)?o.concat(n):void 0);if(Er(t,n,f),!M(f))return;e.m=!1}else i&&t.add(a);if(I(a)&&!Be(a)){if(!e.h.D&&e._<1)return;ne(e,a),r&&r.A.l||ae(e,a)}}function ae(e,r,t){t===void 0&&(t=!1),!e.l&&e.h.D&&e.m&&Ve(r,t)}function je(e,r){var t=e[O];return(t?F(t):e)[r]}function ar(e,r){if(r in e)for(var t=Object.getPrototypeOf(e);t;){var n=Object.getOwnPropertyDescriptor(t,r);if(n)return n;t=Object.getPrototypeOf(t)}}function N(e){e.P||(e.P=!0,e.l&&N(e.l))}function ke(e){e.o||(e.o=Le(e.t))}function Me(e,r,t){var n=ge(r)?R("MapSet").F(r,t):be(r)?R("MapSet").T(r,t):e.O?function(a,o){var i=Array.isArray(a),f={i:i?1:0,A:o?o.A:Ce(),P:!1,I:!1,R:{},l:o,t:a,k:null,o:null,j:null,C:!1},c=f,u=K;i&&(c=[f],u=Y);var l=Proxy.revocable(c,u),p=l.revoke,v=l.proxy;return f.k=v,f.j=p,v}(r,t):R("ES5").J(r,t);return(t?t.A:Ce()).p.push(n),n}function Et(e){return M(e)||E(22,e),function r(t){if(!I(t))return t;var n,a=t[O],o=z(t);if(a){if(!a.P&&(a.i<4||!R("ES5").K(a)))return a.t;a.I=!0,n=or(t,o),a.I=!1}else n=or(t,o);return q(n,function(i,f){a&&re(a.t,i)===f||Er(n,i,r(f))}),o===3?new Set(n):n}(e)}function or(e,r){switch(r){case 2:return new Map(e);case 3:return Array.from(e)}return Le(e)}function jt(){function e(o,i){var f=a[o];return f?f.enumerable=i:a[o]=f={configurable:!0,enumerable:i,get:function(){var c=this[O];return K.get(c,o)},set:function(c){var u=this[O];K.set(u,o,c)}},f}function r(o){for(var i=o.length-1;i>=0;i--){var f=o[i][O];if(!f.P)switch(f.i){case 5:n(f)&&N(f);break;case 4:t(f)&&N(f)}}}function t(o){for(var i=o.t,f=o.k,c=V(f),u=c.length-1;u>=0;u--){var l=c[u];if(l!==O){var p=i[l];if(p===void 0&&!D(i,l))return!0;var v=f[l],d=v&&v[O];if(d?d.t!==p:!jr(v,p))return!0}}var h=!!i[O];return c.length!==V(i).length+(h?0:1)}function n(o){var i=o.k;if(i.length!==o.t.length)return!0;var f=Object.getOwnPropertyDescriptor(i,i.length-1);if(f&&!f.get)return!0;for(var c=0;c<i.length;c++)if(!i.hasOwnProperty(c))return!0;return!1}var a={};kr("ES5",{J:function(o,i){var f=Array.isArray(o),c=function(l,p){if(l){for(var v=Array(p.length),d=0;d<p.length;d++)Object.defineProperty(v,""+d,e(d,!0));return v}var h=Ar(p);delete h[O];for(var y=V(h),m=0;m<y.length;m++){var b=y[m];h[b]=e(b,l||!!h[b].enumerable)}return Object.create(Object.getPrototypeOf(p),h)}(f,o),u={i:f?5:4,A:i?i.A:Ce(),P:!1,I:!1,R:{},l:i,t:o,k:c,o:null,g:!1,C:!1};return Object.defineProperty(c,O,{value:u,writable:!0}),c},S:function(o,i,f){f?M(i)&&i[O].A===o&&r(o.p):(o.u&&function c(u){if(u&&typeof u=="object"){var l=u[O];if(l){var p=l.t,v=l.k,d=l.R,h=l.i;if(h===4)q(v,function(w){w!==O&&(p[w]!==void 0||D(p,w)?d[w]||c(v[w]):(d[w]=!0,N(l)))}),q(p,function(w){v[w]!==void 0||D(v,w)||(d[w]=!1,N(l))});else if(h===5){if(n(l)&&(N(l),d.length=!0),v.length<p.length)for(var y=v.length;y<p.length;y++)d[y]=!1;else for(var m=p.length;m<v.length;m++)d[m]=!0;for(var b=Math.min(v.length,p.length),g=0;g<b;g++)v.hasOwnProperty(g)||(d[g]=!0),d[g]===void 0&&c(v[g])}}}}(o.p[0]),r(o.p))},K:function(o){return o.i===4?t(o):n(o)}})}function In(){function e(n){if(!I(n))return n;if(Array.isArray(n))return n.map(e);if(ge(n))return new Map(Array.from(n.entries()).map(function(i){return[i[0],e(i[1])]}));if(be(n))return new Set(Array.from(n).map(e));var a=Object.create(Object.getPrototypeOf(n));for(var o in n)a[o]=e(n[o]);return D(n,Q)&&(a[Q]=n[Q]),a}function r(n){return M(n)?e(n):n}var t="add";kr("Patches",{$:function(n,a){return a.forEach(function(o){for(var i=o.path,f=o.op,c=n,u=0;u<i.length-1;u++){var l=z(c),p=i[u];typeof p!="string"&&typeof p!="number"&&(p=""+p),l!==0&&l!==1||p!=="__proto__"&&p!=="constructor"||E(24),typeof c=="function"&&p==="prototype"&&E(24),typeof(c=re(c,p))!="object"&&E(15,i.join("/"))}var v=z(c),d=e(o.value),h=i[i.length-1];switch(f){case"replace":switch(v){case 2:return c.set(h,d);case 3:E(16);default:return c[h]=d}case t:switch(v){case 1:return h==="-"?c.push(d):c.splice(h,0,d);case 2:return c.set(h,d);case 3:return c.add(d);default:return c[h]=d}case"remove":switch(v){case 1:return c.splice(h,1);case 2:return c.delete(h);case 3:return c.delete(o.value);default:return delete c[h]}default:E(17,f)}}),n},N:function(n,a,o,i){switch(n.i){case 0:case 4:case 2:return function(f,c,u,l){var p=f.t,v=f.o;q(f.R,function(d,h){var y=re(p,d),m=re(v,d),b=h?D(p,d)?"replace":t:"remove";if(y!==m||b!=="replace"){var g=c.concat(d);u.push(b==="remove"?{op:b,path:g}:{op:b,path:g,value:m}),l.push(b===t?{op:"remove",path:g}:b==="remove"?{op:t,path:g,value:r(y)}:{op:"replace",path:g,value:r(y)})}})}(n,a,o,i);case 5:case 1:return function(f,c,u,l){var p=f.t,v=f.R,d=f.o;if(d.length<p.length){var h=[d,p];p=h[0],d=h[1];var y=[l,u];u=y[0],l=y[1]}for(var m=0;m<p.length;m++)if(v[m]&&d[m]!==p[m]){var b=c.concat([m]);u.push({op:"replace",path:b,value:r(d[m])}),l.push({op:"replace",path:b,value:r(p[m])})}for(var g=p.length;g<d.length;g++){var w=c.concat([g]);u.push({op:t,path:w,value:r(d[g])})}p.length<d.length&&l.push({op:"replace",path:c.concat(["length"]),value:p.length})}(n,a,o,i);case 3:return function(f,c,u,l){var p=f.t,v=f.o,d=0;p.forEach(function(h){if(!v.has(h)){var y=c.concat([d]);u.push({op:"remove",path:y,value:h}),l.unshift({op:t,path:y,value:h})}d++}),d=0,v.forEach(function(h){if(!p.has(h)){var y=c.concat([d]);u.push({op:t,path:y,value:h}),l.unshift({op:"remove",path:y,value:h})}d++})}(n,a,o,i)}},M:function(n,a,o,i){o.push({op:"replace",path:[],value:a===Ge?void 0:a}),i.push({op:"replace",path:[],value:n})}})}var ur,Z,Ue=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",kt=typeof Map<"u",At=typeof Set<"u",ir=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ge=Ue?Symbol.for("immer-nothing"):((ur={})["immer-nothing"]=!0,ur),Q=Ue?Symbol.for("immer-draftable"):"__$immer_draftable",O=Ue?Symbol.for("immer-state"):"__$immer_state",xt=""+Object.prototype.constructor,V=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Ar=Object.getOwnPropertyDescriptors||function(e){var r={};return V(e).forEach(function(t){r[t]=Object.getOwnPropertyDescriptor(e,t)}),r},Ie={},K={get:function(e,r){if(r===O)return e;var t=F(e);if(!D(t,r))return function(a,o,i){var f,c=ar(o,i);return c?"value"in c?c.value:(f=c.get)===null||f===void 0?void 0:f.call(a.k):void 0}(e,t,r);var n=t[r];return e.I||!I(n)?n:n===je(e.t,r)?(ke(e),e.o[r]=Me(e.A.h,n,e)):n},has:function(e,r){return r in F(e)},ownKeys:function(e){return Reflect.ownKeys(F(e))},set:function(e,r,t){var n=ar(F(e),r);if(n!=null&&n.set)return n.set.call(e.k,t),!0;if(!e.P){var a=je(F(e),r),o=a==null?void 0:a[O];if(o&&o.t===t)return e.o[r]=t,e.R[r]=!1,!0;if(jr(t,a)&&(t!==void 0||D(e.t,r)))return!0;ke(e),N(e)}return e.o[r]===t&&(t!==void 0||r in e.o)||Number.isNaN(t)&&Number.isNaN(e.o[r])||(e.o[r]=t,e.R[r]=!0),!0},deleteProperty:function(e,r){return je(e.t,r)!==void 0||r in e.t?(e.R[r]=!1,ke(e),N(e)):delete e.R[r],e.o&&delete e.o[r],!0},getOwnPropertyDescriptor:function(e,r){var t=F(e),n=Reflect.getOwnPropertyDescriptor(t,r);return n&&{writable:!0,configurable:e.i!==1||r!=="length",enumerable:n.enumerable,value:t[r]}},defineProperty:function(){E(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){E(12)}},Y={};q(K,function(e,r){Y[e]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}}),Y.deleteProperty=function(e,r){return Y.set.call(this,e,r,void 0)},Y.set=function(e,r,t){return K.set.call(this,e[0],r,t,e[0])};var Tt=function(){function e(t){var n=this;this.O=ir,this.D=!0,this.produce=function(a,o,i){if(typeof a=="function"&&typeof o!="function"){var f=o;o=a;var c=n;return function(y){var m=this;y===void 0&&(y=f);for(var b=arguments.length,g=Array(b>1?b-1:0),w=1;w<b;w++)g[w-1]=arguments[w];return c.produce(y,function(k){var T;return(T=o).call.apply(T,[m,k].concat(g))})}}var u;if(typeof o!="function"&&E(6),i!==void 0&&typeof i!="function"&&E(7),I(a)){var l=tr(n),p=Me(n,a,void 0),v=!0;try{u=o(p),v=!1}finally{v?te(l):Re(l)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(y){return Pe(l,i),Ee(y,l)},function(y){throw te(l),y}):(Pe(l,i),Ee(u,l))}if(!a||typeof a!="object"){if((u=o(a))===void 0&&(u=a),u===Ge&&(u=void 0),n.D&&Ve(u,!0),i){var d=[],h=[];R("Patches").M(a,u,d,h),i(d,h)}return u}E(21,a)},this.produceWithPatches=function(a,o){if(typeof a=="function")return function(u){for(var l=arguments.length,p=Array(l>1?l-1:0),v=1;v<l;v++)p[v-1]=arguments[v];return n.produceWithPatches(u,function(d){return a.apply(void 0,[d].concat(p))})};var i,f,c=n.produce(a,o,function(u,l){i=u,f=l});return typeof Promise<"u"&&c instanceof Promise?c.then(function(u){return[u,i,f]}):[c,i,f]},typeof(t==null?void 0:t.useProxies)=="boolean"&&this.setUseProxies(t.useProxies),typeof(t==null?void 0:t.autoFreeze)=="boolean"&&this.setAutoFreeze(t.autoFreeze)}var r=e.prototype;return r.createDraft=function(t){I(t)||E(8),M(t)&&(t=Et(t));var n=tr(this),a=Me(this,t,void 0);return a[O].C=!0,Re(n),a},r.finishDraft=function(t,n){var a=t&&t[O],o=a.A;return Pe(o,n),Ee(void 0,o)},r.setAutoFreeze=function(t){this.D=t},r.setUseProxies=function(t){t&&!ir&&E(20),this.O=t},r.applyPatches=function(t,n){var a;for(a=n.length-1;a>=0;a--){var o=n[a];if(o.path.length===0&&o.op==="replace"){t=o.value;break}}a>-1&&(n=n.slice(a+1));var i=R("Patches").$;return M(t)?i(t,n):this.produce(t,function(f){return i(f,n)})},e}(),A=new Tt,$t=A.produce,Nn=A.produceWithPatches.bind(A);A.setAutoFreeze.bind(A);A.setUseProxies.bind(A);var Dn=A.applyPatches.bind(A);A.createDraft.bind(A);A.finishDraft.bind(A);const xr=$t;function j(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var cr=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ae=function(){return Math.random().toString(36).substring(7).split("").join(".")},oe={INIT:"@@redux/INIT"+Ae(),REPLACE:"@@redux/REPLACE"+Ae(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ae()}};function Ct(e){if(typeof e!="object"||e===null)return!1;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r}function Tr(e,r,t){var n;if(typeof r=="function"&&typeof t=="function"||typeof t=="function"&&typeof arguments[3]=="function")throw new Error(j(0));if(typeof r=="function"&&typeof t>"u"&&(t=r,r=void 0),typeof t<"u"){if(typeof t!="function")throw new Error(j(1));return t(Tr)(e,r)}if(typeof e!="function")throw new Error(j(2));var a=e,o=r,i=[],f=i,c=!1;function u(){f===i&&(f=i.slice())}function l(){if(c)throw new Error(j(3));return o}function p(y){if(typeof y!="function")throw new Error(j(4));if(c)throw new Error(j(5));var m=!0;return u(),f.push(y),function(){if(m){if(c)throw new Error(j(6));m=!1,u();var g=f.indexOf(y);f.splice(g,1),i=null}}}function v(y){if(!Ct(y))throw new Error(j(7));if(typeof y.type>"u")throw new Error(j(8));if(c)throw new Error(j(9));try{c=!0,o=a(o,y)}finally{c=!1}for(var m=i=f,b=0;b<m.length;b++){var g=m[b];g()}return y}function d(y){if(typeof y!="function")throw new Error(j(10));a=y,v({type:oe.REPLACE})}function h(){var y,m=p;return y={subscribe:function(g){if(typeof g!="object"||g===null)throw new Error(j(11));function w(){g.next&&g.next(l())}w();var k=m(w);return{unsubscribe:k}}},y[cr]=function(){return this},y}return v({type:oe.INIT}),n={dispatch:v,subscribe:p,getState:l,replaceReducer:d},n[cr]=h,n}function Rt(e){Object.keys(e).forEach(function(r){var t=e[r],n=t(void 0,{type:oe.INIT});if(typeof n>"u")throw new Error(j(12));if(typeof t(void 0,{type:oe.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(j(13))})}function Mt(e){for(var r=Object.keys(e),t={},n=0;n<r.length;n++){var a=r[n];typeof e[a]=="function"&&(t[a]=e[a])}var o=Object.keys(t),i;try{Rt(t)}catch(f){i=f}return function(c,u){if(c===void 0&&(c={}),i)throw i;for(var l=!1,p={},v=0;v<o.length;v++){var d=o[v],h=t[d],y=c[d],m=h(y,u);if(typeof m>"u")throw u&&u.type,new Error(j(14));p[d]=m,l=l||m!==y}return l=l||o.length!==Object.keys(c).length,l?p:c}}function ue(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return r.length===0?function(n){return n}:r.length===1?r[0]:r.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function It(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(n){return function(){var a=n.apply(void 0,arguments),o=function(){throw new Error(j(15))},i={getState:a.getState,dispatch:function(){return o.apply(void 0,arguments)}},f=r.map(function(c){return c(i)});return o=ue.apply(void 0,f)(a.dispatch),Je(Je({},a),{},{dispatch:o})}}}function $r(e){var r=function(n){var a=n.dispatch,o=n.getState;return function(i){return function(f){return typeof f=="function"?f(a,o,e):i(f)}}};return r}var Ne=$r();Ne.withExtraArgument=$r;var Cr=function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(n[o]=a[o])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),Nt=function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,i;return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(u){return function(l){return c([u,l])}}function c(u){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,a&&(o=u[0]&2?a.return:u[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,u[1])).done)return o;switch(a=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return t.label++,{value:u[1],done:!1};case 5:t.label++,a=u[1],u=[0];continue;case 7:u=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){t.label=u[1];break}if(u[0]===6&&t.label<o[1]){t.label=o[1],o=u;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(u);break}o[2]&&t.ops.pop(),t.trys.pop();continue}u=r.call(e,t)}catch(l){u=[6,l],a=0}finally{n=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},U=function(e,r){for(var t=0,n=r.length,a=e.length;t<n;t++,a++)e[a]=r[t];return e},Dt=Object.defineProperty,_t=Object.defineProperties,Wt=Object.getOwnPropertyDescriptors,fr=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable,sr=function(e,r,t){return r in e?Dt(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t},_=function(e,r){for(var t in r||(r={}))qt.call(r,t)&&sr(e,t,r[t]);if(fr)for(var n=0,a=fr(r);n<a.length;n++){var t=a[n];zt.call(r,t)&&sr(e,t,r[t])}return e},xe=function(e,r){return _t(e,Wt(r))},Ft=function(e,r,t){return new Promise(function(n,a){var o=function(c){try{f(t.next(c))}catch(u){a(u)}},i=function(c){try{f(t.throw(c))}catch(u){a(u)}},f=function(c){return c.done?n(c.value):Promise.resolve(c.value).then(o,i)};f((t=t.apply(e,r)).next())})},Lt=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ue:ue.apply(null,arguments)};function Vt(e){if(typeof e!="object"||e===null)return!1;var r=Object.getPrototypeOf(e);if(r===null)return!0;for(var t=r;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return r===t}var Bt=function(e){return e&&typeof e.match=="function"};function W(e,r){function t(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(r){var o=r.apply(void 0,n);if(!o)throw new Error("prepareAction did not return an object");return _(_({type:e,payload:o.payload},"meta"in o&&{meta:o.meta}),"error"in o&&{error:o.error})}return{type:e,payload:n[0]}}return t.toString=function(){return""+e},t.type=e,t.match=function(n){return n.type===e},t}var Ut=function(e){Cr(r,e);function r(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var a=e.apply(this,t)||this;return Object.setPrototypeOf(a,r.prototype),a}return Object.defineProperty(r,Symbol.species,{get:function(){return r},enumerable:!1,configurable:!0}),r.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},r.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.length===1&&Array.isArray(t[0])?new(r.bind.apply(r,U([void 0],t[0].concat(this)))):new(r.bind.apply(r,U([void 0],t.concat(this))))},r}(Array),Gt=function(e){Cr(r,e);function r(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var a=e.apply(this,t)||this;return Object.setPrototypeOf(a,r.prototype),a}return Object.defineProperty(r,Symbol.species,{get:function(){return r},enumerable:!1,configurable:!0}),r.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},r.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.length===1&&Array.isArray(t[0])?new(r.bind.apply(r,U([void 0],t[0].concat(this)))):new(r.bind.apply(r,U([void 0],t.concat(this))))},r}(Array);function De(e){return I(e)?xr(e,function(){}):e}function Ht(e){return typeof e=="boolean"}function Xt(){return function(r){return Yt(r)}}function Yt(e){e===void 0&&(e={});var r=e.thunk,t=r===void 0?!0:r;e.immutableCheck,e.serializableCheck,e.actionCreatorCheck;var n=new Ut;return t&&(Ht(t)?n.push(Ne):n.push(Ne.withExtraArgument(t.extraArgument))),n}var Jt=!0;function _n(e){var r=Xt(),t=e||{},n=t.reducer,a=n===void 0?void 0:n,o=t.middleware,i=o===void 0?r():o,f=t.devTools,c=f===void 0?!0:f,u=t.preloadedState,l=u===void 0?void 0:u,p=t.enhancers,v=p===void 0?void 0:p,d;if(typeof a=="function")d=a;else if(Vt(a))d=Mt(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var h=i;typeof h=="function"&&(h=h(r));var y=It.apply(void 0,h),m=ue;c&&(m=Lt(_({trace:!Jt},typeof c=="object"&&c)));var b=new Gt(y),g=b;Array.isArray(v)?g=U([y],v):typeof v=="function"&&(g=v(b));var w=m.apply(void 0,g);return Tr(d,l,w)}function Rr(e){var r={},t=[],n,a={addCase:function(o,i){var f=typeof o=="string"?o:o.type;if(!f)throw new Error("`builder.addCase` cannot be called with an empty action type");if(f in r)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return r[f]=i,a},addMatcher:function(o,i){return t.push({matcher:o,reducer:i}),a},addDefaultCase:function(o){return n=o,a}};return e(a),[r,t,n]}function Qt(e){return typeof e=="function"}function Zt(e,r,t,n){t===void 0&&(t=[]);var a=typeof r=="function"?Rr(r):[r,t,n],o=a[0],i=a[1],f=a[2],c;if(Qt(e))c=function(){return De(e())};else{var u=De(e);c=function(){return u}}function l(p,v){p===void 0&&(p=c());var d=U([o[v.type]],i.filter(function(h){var y=h.matcher;return y(v)}).map(function(h){var y=h.reducer;return y}));return d.filter(function(h){return!!h}).length===0&&(d=[f]),d.reduce(function(h,y){if(y)if(M(h)){var m=h,b=y(m,v);return b===void 0?h:b}else{if(I(h))return xr(h,function(g){return y(g,v)});var b=y(h,v);if(b===void 0){if(h===null)return h;throw Error("A case reducer on a non-draftable value must not return undefined")}return b}return h},p)}return l.getInitialState=c,l}function Kt(e,r){return e+"/"+r}function en(e){var r=e.name;if(!r)throw new Error("`name` is a required option for createSlice");typeof process<"u";var t=typeof e.initialState=="function"?e.initialState:De(e.initialState),n=e.reducers||{},a=Object.keys(n),o={},i={},f={};a.forEach(function(l){var p=n[l],v=Kt(r,l),d,h;"reducer"in p?(d=p.reducer,h=p.prepare):d=p,o[l]=d,i[v]=d,f[l]=h?W(v,h):W(v)});function c(){var l=typeof e.extraReducers=="function"?Rr(e.extraReducers):[e.extraReducers],p=l[0],v=p===void 0?{}:p,d=l[1],h=d===void 0?[]:d,y=l[2],m=y===void 0?void 0:y,b=_(_({},v),i);return Zt(t,function(g){for(var w in b)g.addCase(w,b[w]);for(var k=0,T=h;k<T.length;k++){var G=T[k];g.addMatcher(G.matcher,G.reducer)}m&&g.addDefaultCase(m)})}var u;return{name:r,reducer:function(l,p){return u||(u=c()),u(l,p)},actions:f,caseReducers:o,getInitialState:function(){return u||(u=c()),u.getInitialState()}}}var rn="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",tn=function(e){e===void 0&&(e=21);for(var r="",t=e;t--;)r+=rn[Math.random()*64|0];return r},nn=["name","message","stack","code"],Te=function(){function e(r,t){this.payload=r,this.meta=t}return e}(),lr=function(){function e(r,t){this.payload=r,this.meta=t}return e}(),an=function(e){if(typeof e=="object"&&e!==null){for(var r={},t=0,n=nn;t<n.length;t++){var a=n[t];typeof e[a]=="string"&&(r[a]=e[a])}return r}return{message:String(e)}},Wn=function(){function e(r,t,n){var a=W(r+"/fulfilled",function(u,l,p,v){return{payload:u,meta:xe(_({},v||{}),{arg:p,requestId:l,requestStatus:"fulfilled"})}}),o=W(r+"/pending",function(u,l,p){return{payload:void 0,meta:xe(_({},p||{}),{arg:l,requestId:u,requestStatus:"pending"})}}),i=W(r+"/rejected",function(u,l,p,v,d){return{payload:v,error:(n&&n.serializeError||an)(u||"Rejected"),meta:xe(_({},d||{}),{arg:p,requestId:l,rejectedWithValue:!!v,requestStatus:"rejected",aborted:(u==null?void 0:u.name)==="AbortError",condition:(u==null?void 0:u.name)==="ConditionError"})}}),f=typeof AbortController<"u"?AbortController:function(){function u(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return u.prototype.abort=function(){},u}();function c(u){return function(l,p,v){var d=n!=null&&n.idGenerator?n.idGenerator(u):tn(),h=new f,y;function m(g){y=g,h.abort()}var b=function(){return Ft(this,null,function(){var g,w,k,T,G,H,Ye;return Nt(this,function(L){switch(L.label){case 0:return L.trys.push([0,4,,5]),T=(g=n==null?void 0:n.condition)==null?void 0:g.call(n,u,{getState:p,extra:v}),un(T)?[4,T]:[3,2];case 1:T=L.sent(),L.label=2;case 2:if(T===!1||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return G=new Promise(function($,X){return h.signal.addEventListener("abort",function(){return X({name:"AbortError",message:y||"Aborted"})})}),l(o(d,u,(w=n==null?void 0:n.getPendingMeta)==null?void 0:w.call(n,{requestId:d,arg:u},{getState:p,extra:v}))),[4,Promise.race([G,Promise.resolve(t(u,{dispatch:l,getState:p,extra:v,requestId:d,signal:h.signal,abort:m,rejectWithValue:function($,X){return new Te($,X)},fulfillWithValue:function($,X){return new lr($,X)}})).then(function($){if($ instanceof Te)throw $;return $ instanceof lr?a($.payload,d,u,$.meta):a($,d,u)})])];case 3:return k=L.sent(),[3,5];case 4:return H=L.sent(),k=H instanceof Te?i(null,d,u,H.payload,H.meta):i(H,d,u),[3,5];case 5:return Ye=n&&!n.dispatchConditionRejection&&i.match(k)&&k.meta.condition,Ye||l(k),[2,k]}})})}();return Object.assign(b,{abort:m,requestId:d,arg:u,unwrap:function(){return b.then(on)}})}}return Object.assign(c,{pending:o,rejected:i,fulfilled:a,typePrefix:r})}return e.withTypes=function(){return e},e}();function on(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function un(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Mr=function(e,r){return Bt(e)?e.match(r):e(r)};function we(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return function(t){return e.some(function(n){return Mr(n,t)})}}function dr(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return function(t){return e.every(function(n){return Mr(n,t)})}}function Se(e,r){if(!e||!e.meta)return!1;var t=typeof e.meta.requestId=="string",n=r.indexOf(e.meta.requestStatus)>-1;return t&&n}function ee(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function cn(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return e.length===0?function(t){return Se(t,["pending"])}:ee(e)?function(t){var n=e.map(function(o){return o.pending}),a=we.apply(void 0,n);return a(t)}:cn()(e[0])}function _e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return e.length===0?function(t){return Se(t,["rejected"])}:ee(e)?function(t){var n=e.map(function(o){return o.rejected}),a=we.apply(void 0,n);return a(t)}:_e()(e[0])}function fn(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=function(n){return n&&n.meta&&n.meta.rejectedWithValue};return e.length===0?function(n){var a=dr(_e.apply(void 0,e),t);return a(n)}:ee(e)?function(n){var a=dr(_e.apply(void 0,e),t);return a(n)}:fn()(e[0])}function sn(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return e.length===0?function(t){return Se(t,["fulfilled"])}:ee(e)?function(t){var n=e.map(function(o){return o.fulfilled}),a=we.apply(void 0,n);return a(t)}:sn()(e[0])}function ln(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return e.length===0?function(t){return Se(t,["pending","fulfilled","rejected"])}:ee(e)?function(t){for(var n=[],a=0,o=e;a<o.length;a++){var i=o[a];n.push(i.pending,i.rejected,i.fulfilled)}var f=we.apply(void 0,n);return f(t)}:ln()(e[0])}var He="listenerMiddleware";W(He+"/add");W(He+"/removeAll");W(He+"/remove");var dn="RTK_autoBatch",qn=function(){return function(e){var r;return{payload:e,meta:(r={},r[dn]=!0,r)}}},pr;typeof queueMicrotask=="function"&&queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis);jt();var Xe=(e=>(e.address="address",e.alert="alert",e.bottomSheet="bottomSheet",e.chat="chat",e.cityPass="cityPass",e.constructionWork="constructionWork",e.constructionWorkEditor="constructionWorkEditor",e.contact="contact",e.environment="environment",e.internetConnection="internetConnection",e.messageDraft="messageDraft",e.modules="modules",e.onboarding="onboarding",e.overlay="overlay",e.permissions="permissions",e.productTour="productTour",e.screen="screen",e.secureStorage="secureStorage",e.theme="theme",e.updateApp="updateApp",e.wasteGuide="wasteGuide",e))(Xe||{});const pn={width:{sm:1,md:2,lg:3,xl:4}};var hn=(e=>(e.quickReplies="QuickReplies",e.richLink="RichLink",e.text="Text",e.unspecified="Unspecified",e))(hn||{}),J=(e=>(e.chatbot="Chatbot",e.employee="Employee",e.system="System",e.user="USER",e))(J||{});const vn={alert:{information:{border:s.primary.blue,background:s.primary.white},negative:{border:s.primary.red,background:s.primary.white},positive:{border:s.secondary.darkgreen,background:s.primary.white},warning:{border:s.secondary.orange,background:s.primary.white}},appSwitcher:{background:s.primary.red},articleOverview:{year:{background:s.primary.white}},attention:{default:{border:s.primary.blue},warning:{border:s.primary.red}},badge:{background:s.primary.red},barcode:{background:s.primary.white,foreground:s.primary.black},border:{default:s.neutral.grey1,onGrey:s.neutral.grey2,cityPass:s.secondary.purple},box:{distinct:s.primary.white,cityPass:s.secondary.purple},card:{pressed:{background:s.neutral.grey1}},chat:{avatar:{foreground:s.primary.black,background:s.primary.white,border:s.neutral.grey2},border:s.transparent.blue25,loading:{active:s.neutral.grey4,inactive:s.neutral.grey2},maximized:{background:s.primary.white},minimized:{background:s.custom.grey0},message:{[J.chatbot]:{background:s.neutral.grey1},[J.employee]:{background:s.neutral.grey1},[J.user]:{background:s.neutral.grey4},[J.system]:{background:s.neutral.grey1}}},checkbox:{underlay:s.primary.white},cityPass:{overlay:s.transparent.black90,passHeader:s.neutral.grey1,passInner:s.primary.white,passBackground:s.primary.white,card:{border:s.neutral.grey2}},control:{default:{background:s.primary.white,border:s.neutral.grey3},checked:{background:s.primary.blue,border:s.primary.blue},focus:{border:s.primary.black},warning:{border:s.primary.red}},imageFallback:{background:s.primary.white,border:s.primary.blue},logo:s.primary.red,noInternet:{background:s.primary.red},pagination:{background:s.primary.blue,container:{background:s.transparent.grey50},item:{active:s.primary.white,inactive:s.transparent.white30}},pressable:{primary:{default:{background:s.primary.blue,border:s.transparent.full,label:s.primary.white},pressed:{background:s.secondary.darkblue,border:s.transparent.full,label:s.primary.white}},secondary:{default:{background:s.primary.white,border:s.primary.blue,icon:s.primary.blue,label:s.primary.blue},pressed:{background:s.primary.white,border:s.secondary.darkblue,label:s.secondary.darkblue}},tertiary:{default:{background:s.primary.white,border:s.transparent.full,label:s.primary.blue},pressed:{background:s.neutral.grey1,border:s.primary.blue,label:s.secondary.darkblue}},transparent:{default:{background:s.transparent.full,border:s.transparent.full,label:s.primary.blue},pressed:{background:s.primary.white,border:s.neutral.grey1,label:s.secondary.darkblue}}},screen:{background:{default:s.primary.white,settings:s.custom.grey0}},shadow:{default:s.primary.black},skeleton:{background:s.neutral.grey2,highlight:s.transparent.white30},swipeToDelete:{background:s.primary.red},switch:{thumb:{disabled:{background:s.neutral.grey2},enabled:{background:s.primary.white}},track:{off:{background:s.neutral.grey3},on:{background:s.primary.blue}}},tag:{background:s.secondary.yellow},text:{cityPass:s.secondary.purple,confirm:s.secondary.darkgreen,default:s.primary.black,inverse:s.primary.white,link:s.primary.blue,secondary:s.neutral.grey3,tertiary:s.neutral.grey2,warning:s.primary.red},textInput:{container:{background:s.primary.white}},timeline:{future:s.neutral.grey3,past:s.primary.blue},tooltip:{background:s.neutral.grey4}},yn={transition:{short:100,normal:300,long:500}},mn={aspectRatio:{extraWide:940/415,narrow:5/4,square:1,wide:16/9,tight:1/2},figureHeight:{md:192,lg:256,xl:320},illustrationAspectRatio:{facades:2048/256,landscape:512/256,portrait:256/512},illustrationWidth:{narrow:128,wide:320}},gn={spacing:{no:0,xs:4,sm:8,md:16,lg:24,xl:40,xxl:80}};var bn=(e=>(e.default="default",e.strong="strong",e))(bn||{});const P={body:18,h1:32,h2:28,h3:24,h4:22,h5:18,h6:16,intro:22,quote:24,small:16,extraSmall:13},wn={fontSize:{body:P.body,h1:P.h1,h2:P.h2,h3:P.h3,h4:P.h4,h5:P.h5,h6:P.h6,intro:P.intro,quote:P.quote,small:P.small,extraSmall:P.extraSmall},fontFamily:{bold:"AmsterdamSans-ExtraBold",regular:"AmsterdamSans-Regular"},lineHeight:{body:1.6*P.body,h1:1.1*P.h1,h2:1.2*P.h2,h3:1.3*P.h3,h4:1.4*P.h4,h5:1.4*P.h5,h6:1.4*P.h6,intro:1.6*P.intro,quote:1.3*P.quote,small:1.5*P.small,extraSmall:1.5*P.extraSmall}},Sn={articlePreviewLine:-1,carouselSlideBackgroundImageContainer:-1,timelineLine:-1,articleOverviewYear:1,carouselSlideContent:1,overlay:3,productTourTooltipWrapperParent:1,tooltip:2,appSwitcher:10},On="light",Pn={id:On,border:pn,color:vn,duration:yn,media:mn,size:gn,text:wn,z:Sn},zn=en({name:Xe.theme,initialState:{theme:Pn},reducers:{}}),En=e=>e[Xe.theme],Fn=e=>{const{theme:r}=St(En);return C.useMemo(()=>e(r),[e,r])};export{Mn as A,Vt as B,J as C,ln as D,bn as E,st as F,zn as G,_n as H,$e as R,dn as S,In as T,St as a,ot as b,br as c,en as d,Xe as e,hn as f,Cn as g,Rn as h,W as i,Wn as j,we as k,fn as l,sn as m,tn as n,Dn as o,qn as p,Mt as q,Nn as r,En as s,I as t,Fn as u,dr as v,cn as w,_e as x,xr as y,M as z}; diff --git a/assets/useTheme-CJIBCVMY.js b/assets/useTheme-BWbL_sDV.js similarity index 62% rename from assets/useTheme-CJIBCVMY.js rename to assets/useTheme-BWbL_sDV.js index a166a89b..0828ad34 100644 --- a/assets/useTheme-CJIBCVMY.js +++ b/assets/useTheme-BWbL_sDV.js @@ -1 +1 @@ -import{r as s}from"./index-mfbfsM12.js";import{a as r,s as t}from"./useThemable-CjWxbHxI.js";const a=()=>{const{theme:e}=r(t);return s.useMemo(()=>e,[e])};export{a as u}; +import{r as s}from"./index-mfbfsM12.js";import{a as r,s as t}from"./useThemable-BlSbywuP.js";const a=()=>{const{theme:e}=r(t);return s.useMemo(()=>e,[e])};export{a as u}; diff --git a/iframe.html b/iframe.html index 788e44ef..d31a471e 100644 --- a/iframe.html +++ b/iframe.html @@ -509,7 +509,7 @@ } </script> - <script type="module" crossorigin src="./assets/iframe-DRbcjd5I.js"></script> + <script type="module" crossorigin src="./assets/iframe-D78jW9zZ.js"></script> </head> <body> diff --git a/project.json b/project.json index c07a6442..87c5d961 100644 --- a/project.json +++ b/project.json @@ -1 +1 @@ -{"generatedAt":1728379526431,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":true,"refCount":0,"testPackages":{"@types/jest":"29.5.12","babel-jest":"29.7.0","eslint-plugin-jest":"27.9.0","jest":"29.7.0","jest-matcher-deep-close-to":"3.0.2","jest-trx-results-processor":"3.0.2"},"packageManager":{"type":"npm","version":"10.8.1"},"typescriptOptions":{"reactDocgen":"react-docgen-typescript"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","portableStoriesFileCount":0,"language":"typescript","storybookPackages":{"@storybook/react-vite":{"version":"8.3.1"},"eslint-plugin-storybook":{"version":"0.8.0"},"storybook":{"version":"8.3.1"}},"addons":{"@storybook/addon-essentials":{"version":"8.3.1"},"@storybook/addon-a11y":{"version":"8.3.1"}}} +{"generatedAt":1728399701292,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":true,"refCount":0,"testPackages":{"@types/jest":"29.5.12","babel-jest":"29.7.0","eslint-plugin-jest":"27.9.0","jest":"29.7.0","jest-matcher-deep-close-to":"3.0.2","jest-trx-results-processor":"3.0.2"},"packageManager":{"type":"npm","version":"10.8.1"},"typescriptOptions":{"reactDocgen":"react-docgen-typescript"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","portableStoriesFileCount":0,"language":"typescript","storybookPackages":{"@storybook/react-vite":{"version":"8.3.1"},"eslint-plugin-storybook":{"version":"0.8.0"},"storybook":{"version":"8.3.1"}},"addons":{"@storybook/addon-essentials":{"version":"8.3.1"},"@storybook/addon-a11y":{"version":"8.3.1"}}} diff --git a/version.txt b/version.txt index 6b8cbd42..491e06d3 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.7.0.20241008.2 +1.7.0.20241008.3