subscriptions.super-simple.co Open in urlscan Pro
34.199.10.75  Public Scan

URL: https://subscriptions.super-simple.co/assets/root-DhaZAEfS.js
Submission: On November 02 via api from US — Scanned from US

Form analysis 0 forms found in the DOM

Text Content

import{j as C}from"./jsx-runtime-BxOBPNv0.js";import{r as de,R as He,c as Ue,g as $e}from"./index-BEwlhiRH.js";import{k as We,_ as Be,L as ee,a as Ce,l as Ve,M as me,m as ve,S as ye}from"./components-BgU4fFHp.js";import{A as Ge}from"./AppProvider-BCup-Xrx.js";import{b as Pe,s as ze}from"./SaveBar-CVRJjzOC.js";import{f as Xe,m as Ke,O as xe}from"./index-aKa5TIMf.js";import{a as qe}from"./index-DnCxq0Nv.js";import{P as Je}from"./Page-T5fPlSO0.js";import{L as _e}from"./Layout-B9aR8_Qu.js";import{B as Ze}from"./Banner-Dk0lxE1A.js";import"./BlockStack-BTbdzvrd.js";import"./ButtonGroup-CDfFQwRa.js";import"./index-uSCF9Zne.js";import"./context-D-0s52J-.js";import"./context-B1nA-z-t.js";import"./CheckIcon.svg-DT4YM4mF.js";import"./InfoIcon.svg-Bv8cJV3b.js";import"./XIcon.svg-D4Qme5bL.js";/**
 * @remix-run/react v2.11.2
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */let Oe="positions";function we({getKey:r,...n}){let{isSpaMode:P}=We(),U=Xe(),X=Ke();qe({getKey:r,storageKey:Oe});let ne=de.useMemo(()=>{if(!r)return null;let a=r(U,X);return a!==U.key?a:null},[]);if(P)return null;let f=((a,e)=>{if(!window.history.state||!window.history.state.key){let s=Math.random().toString(32).slice(2);window.history.replaceState({key:s},"")}try{let b=JSON.parse(sessionStorage.getItem(a)||"{}")[e||window.history.state.key];typeof b=="number"&&window.scrollTo(0,b)}catch(s){console.error(s),sessionStorage.removeItem(a)}}).toString();return de.createElement("script",Be({},n,{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${f})(${JSON.stringify(Oe)}, ${JSON.stringify(ne)})`}}))}var Qe=function(){function r(n){this.parent=n}return r.prototype.setMessageText=function(n){this.parent.createSingletonIfNecessary(),window.$crisp.push(["set","message:text",[n]])},r.prototype.send=function(n,P){this.parent.createSingletonIfNecessary(),window.$crisp.push(["do","message:send",[n,P]])},r.prototype.sendText=function(n){this.send("text",n)},r.prototype.sendFile=function(n){this.send("file",n)},r.prototype.sendAnimation=function(n){this.send("animation",n)},r.prototype.sendAudio=function(n){this.send("audio",n)},r.prototype.show=function(n,P){this.parent.createSingletonIfNecessary(),window.$crisp.push(["do","message:show",[n,P]])},r.prototype.showText=function(n){this.show("text",n)},r.prototype.showFile=function(n){this.show("file",n)},r.prototype.showAnimation=function(n){this.show("animation",n)},r.prototype.showAudio=function(n){this.show("audio",n)},r.prototype.showPicker=function(n){this.show("picker",n)},r.prototype.showField=function(n){this.show("field",n)},r.prototype.showCarousel=function(n){this.show("carousel",n)},r.prototype.markAsRead=function(){this.parent.createSingletonIfNecessary(),window.$crisp.push(["do","message:read"])},r.prototype.startThread=function(n){this.parent.createSingletonIfNecessary(),window.$crisp.push(["do","message:thread:start",[n]])},r.prototype.endThread=function(n){this.parent.createSingletonIfNecessary(),window.$crisp.push(["do","message:thread:end",[n]])},r.prototype.onMessageSent=function(n){this.parent.createSingletonIfNecessary(),this.offMessageSent(),window.$crisp.push(["on","message:sent",n])},r.prototype.offMessageSent=function(){this.parent.createSingletonIfNecessary(),window.$crisp.push(["off","message:sent"])},r.prototype.onMessageReceived=function(n){this.parent.createSingletonIfNecessary(),this.offMessageReceived(),window.$crisp.push(["on","message:received",n])},r.prototype.offMessageReceived=function(){this.parent.createSingletonIfNecessary(),window.$crisp.push(["off","message:received"])},r.prototype.onMessageComposeSent=function(n){this.parent.createSingletonIfNecessary(),this.offMessageComposeSent(),window.$crisp.push(["on","message:compose:sent",n])},r.prototype.offMessageComposeSent=function(){this.parent.createSingletonIfNecessary(),window.$crisp.push(["off","message:compose:sent"])},r.prototype.onMessageComposeReceived=function(n){this.parent.createSingletonIfNecessary(),this.offMessageComposeReceived(),window.$crisp.push(["on","message:compose:received",n])},r.prototype.offMessageComposeReceived=function(){this.parent.createSingletonIfNecessary(),window.$crisp.push(["off","message:compose:received"])},r}(),Ye=function(){function r(n){this.parent=n}return r.prototype.setNickname=function(n){this.parent.createSingletonIfNecessary(),window.$crisp.push(["set","user:nickname",[n]])},r.prototype.setEmail=function(n,P){this.parent.createSingletonIfNecessary(),window.$crisp.push(["set","user:email",[n,P]])},r.prototype.setPhone=function(n){this.parent.createSingletonIfNecessary(),window.$crisp.push(["set","user:phone",[n]])},r.prototype.setAvatar=function(n){this.parent.createSingletonIfNecessary(),window.$crisp.push(["set","user:avatar",[n]])},r.prototype.setCompany=function(n,P){var U={};P&&(P.url&&(U.url=P.url),P.description&&(U.description=P.description),P.employment&&(U.employment=[P.employment.title],P.employment.role&&U.employment.push(P.employment.role))),this.parent.createSingletonIfNecessary(),window.$crisp.push(["set","user:company",[n,U]])},r.prototype.getEmail=function(){return this.parent.isCrispInjected()?window.$crisp.get("user:email"):null},r.prototype.getPhone=function(){return this.parent.isCrispInjected()?window.$crisp.get("user:phone"):null},r.prototype.getNickname=function(){return this.parent.isCrispInjected()?window.$crisp.get("user:nickname"):null},r.prototype.getAvatar=function(){return this.parent.isCrispInjected()?window.$crisp.get("user:avatar"):null},r.prototype.getCompany=function(){return this.parent.isCrispInjected()?window.$crisp.get("user:company"):null},r.prototype.onEmailChanged=function(n){this.parent.isCrispInjected()&&(this.offEmailChanged(),window.$crisp.push(["on","user:email:changed",n]))},r.prototype.offEmailChanged=function(){this.parent.isCrispInjected()&&window.$crisp.push(["off","user:email:changed"])},r.prototype.onPhoneChanged=function(n){this.parent.isCrispInjected()&&(this.offPhoneChanged(),window.$crisp.push(["on","user:phone:changed",n]))},r.prototype.offPhoneChanged=function(){this.parent.isCrispInjected()&&window.$crisp.push(["off","user:phone:changed"])},r.prototype.onNicknameChanged=function(n){this.parent.isCrispInjected()&&(this.offNicknameChanged(),window.$crisp.push(["on","user:nickname:changed",n]))},r.prototype.offNicknameChanged=function(){this.parent.isCrispInjected()&&window.$crisp.push(["off","user:nickname:changed"])},r.prototype.onAvatarChanged=function(n){this.parent.isCrispInjected()&&(this.offAvatarChanged(),window.$crisp.push(["on","user:avatar:changed",n]))},r.prototype.offAvatarChanged=function(){this.parent.isCrispInjected()&&window.$crisp.push(["off","user:avatar:changed"])},r}(),et=function(){function r(n){this.parent=n}return r.prototype.run=function(n){this.parent.createSingletonIfNecessary(),window.$crisp.push(["do","trigger:run",[n]])},r}(),be;(function(r){r.Red="red",r.Orange="orange",r.Yellow="yellow",r.Green="green",r.Blue="blue",r.Purple="purple",r.Pink="pink",r.Brown="brown",r.Grey="grey",r.Black="black"})(be||(be={}));var tt=function(){function r(n){this.parent=n}return r.prototype.reset=function(n){n===void 0&&(n=!1),this.parent.isCrispInjected()&&window.$crisp.push(["do","session:reset",[n]])},r.prototype.setSegments=function(n,P){this.parent.createSingletonIfNecessary(),$crisp.push(["set","session:segments",[n,P]])},r.prototype.setData=function(n){var P=this,U=[];Object.entries(n).forEach(function(X){P.isValidDataValue(X[0])&&U.push([X[0],X[1]])}),this.parent.createSingletonIfNecessary(),$crisp.push(["set","session:data",[U]])},r.prototype.pushEvent=function(n,P,U){P===void 0&&(P={}),U===void 0&&(U=be.Blue),this.parent.isCrispInjected()&&window.$crisp.push(["set","session:event",[[[n,P,U]]]])},r.prototype.getData=function(n){if(this.parent.isCrispInjected())return window.$crisp.get("session:data",n)},r.prototype.getIdentifier=function(){return this.parent.isCrispInjected()?window.$crisp.get("session:identifier"):null},r.prototype.onLoaded=function(n){this.parent.createSingletonIfNecessary(),this.offLoaded(),window.$crisp.push(["on","session:loaded",n])},r.prototype.offLoaded=function(){this.parent.createSingletonIfNecessary(),window.$crisp.push(["off","session:loaded"])},r.prototype.isValidDataValue=function(n){return typeof n=="string"||typeof n=="number"||typeof n=="boolean"},r}(),rt=function(){function r(n){this.parent=n}return r.prototype.show=function(){this.parent.autoInjectIfNecessary(),window.$crisp.push(["do","chat:show"])},r.prototype.hide=function(){this.parent.autoInjectIfNecessary(),window.$crisp.push(["do","chat:hide"])},r.prototype.open=function(){this.parent.autoInjectIfNecessary(),window.$crisp.push(["do","chat:open"])},r.prototype.close=function(){this.parent.isCrispInjected()&&window.$crisp.push(["do","chat:close"])},r.prototype.setHelpdeskView=function(){this.parent.createSingletonIfNecessary(),window.$crisp.push(["do","helpdesk:search"])},r.prototype.openHelpdeskArticle=function(n,P,U,X){this.parent.createSingletonIfNecessary(),window.$crisp.push(["do","helpdesk:article:open",[n,P,U,X]])},r.prototype.queryHelpdesk=function(n){this.parent.createSingletonIfNecessary(),window.$crisp.push(["do","helpdesk:query",[n]])},r.prototype.unreadCount=function(){return this.parent.isCrispInjected()?window.$crisp.get("chat:unread:count"):0},r.prototype.isChatOpened=function(){return this.parent.isCrispInjected()?window.$crisp.is("chat:opened"):!1},r.prototype.isVisible=function(){return this.parent.isCrispInjected()?window.$crisp.is("chat:visible"):!1},r.prototype.onChatInitiated=function(n){this.parent.createSingletonIfNecessary(),this.offChatInitiated(),window.$crisp.push(["on","chat:initiated",n])},r.prototype.offChatInitiated=function(){this.parent.createSingletonIfNecessary(),window.$crisp.push(["off","chat:initiated"])},r.prototype.onChatOpened=function(n){this.parent.createSingletonIfNecessary(),this.offChatOpened(),window.$crisp.push(["on","chat:opened",n])},r.prototype.offChatOpened=function(){this.parent.createSingletonIfNecessary(),window.$crisp.push(["off","chat:opened"])},r.prototype.onChatClosed=function(n){this.parent.createSingletonIfNecessary(),this.offChatClosed(),window.$crisp.push(["on","chat:closed",n])},r.prototype.offChatClosed=function(){this.parent.createSingletonIfNecessary(),window.$crisp.push(["off","chat:closed"])},r.prototype.onHelpdeskQueried=function(n){this.parent.createSingletonIfNecessary(),this.offHelpdeskQueried(),window.$crisp.push(["on","helpdesk:queried",n])},r.prototype.offHelpdeskQueried=function(){this.parent.createSingletonIfNecessary(),window.$crisp.push(["off","helpdesk:queried"])},r}(),Ie;(function(r){r.Default="default",r.Amber="amber",r.Black="black",r.Blue="blue",r.BlueGrey="blue_grey",r.LightBlue="light_blue",r.Brown="brown",r.Cyan="cyan",r.Green="green",r.LightGreen="light_green",r.Grey="grey",r.Indigo="indigo",r.Orange="orange",r.DeepOrange="deep_orange",r.Pink="pink",r.Purple="purple",r.DeepPurple="deep_purple",r.Red="red",r.Teal="teal"})(Ie||(Ie={}));var Se;(function(r){r.Left="left",r.Right="right"})(Se||(Se={}));var nt=function(){function r(){this.clientUrl="https://client.crisp.chat/l.js",this.websiteId="",this.autoload=!0,this.injected=!1,this.chat=new rt(this),this.session=new tt(this),this.user=new Ye(this),this.message=new Qe(this),this.trigger=new et(this)}return r.prototype.configure=function(n,P){P===void 0&&(P={}),this.websiteId=n,this.tokenId=P.tokenId,this.locale=P.locale,this.sessionMerge=P.sessionMerge,this.cookieDomain=P.cookieDomain,this.cookieExpire=P.cookieExpire,this.lockFullview=P.lockFullview,this.lockMaximized=P.lockMaximized,this.safeMode=P.safeMode,P.clientUrl!==void 0&&(this.clientUrl=P.clientUrl),P.autoload!==void 0&&(this.autoload=P.autoload),this.autoload&&this.load()},r.prototype.load=function(){var n=document.getElementsByTagName("head");if(this.createSingletonIfNecessary(),this.isCrispInjected()!==!0){if(!this.websiteId)throw new Error("websiteId must be set before loading Crisp");if(window.CRISP_WEBSITE_ID=this.websiteId,window.CRISP_RUNTIME_CONFIG={},this.tokenId&&(window.CRISP_TOKEN_ID=this.tokenId),this.sessionMerge&&(window.CRISP_RUNTIME_CONFIG.session_merge=!0),this.locale&&(window.CRISP_RUNTIME_CONFIG.locale=this.locale),this.lockFullview&&(window.CRISP_RUNTIME_CONFIG.lock_full_view=!0),this.lockMaximized&&(window.CRISP_RUNTIME_CONFIG.lock_maximized=!0),this.cookieDomain&&(window.CRISP_COOKIE_DOMAIN=this.cookieDomain),this.cookieExpire&&(window.CRISP_COOKIE_EXPIRE=this.cookieExpire),!n||!n[0])return this.deferredLoading();this.safeMode===!0&&this.setSafeMode(!0);var P=document.createElement("script");P.src=this.clientUrl,P.async=!0,n[0].appendChild(P),this.injected=!0}},r.prototype.setTokenId=function(n){this.tokenId=n,this.isCrispInjected()===!0&&(n?window.CRISP_TOKEN_ID=n:delete window.CRISP_TOKEN_ID)},r.prototype.setZIndex=function(n){this.createSingletonIfNecessary(),window.$crisp.push(["config","container:index",[n]])},r.prototype.setColorTheme=function(n){this.createSingletonIfNecessary(),window.$crisp.push(["config","color:theme",[n]])},r.prototype.setHideOnAway=function(n){this.createSingletonIfNecessary(),window.$crisp.push(["config","hide:on:away",[n]])},r.prototype.setHideOnMobile=function(n){this.createSingletonIfNecessary(),window.$crisp.push(["config","hide:on:mobile",[n]])},r.prototype.setPosition=function(n){this.createSingletonIfNecessary(),$crisp.push(["config","position:reverse",[n===Se.Left]])},r.prototype.setAvailabilityTooltip=function(n){this.createSingletonIfNecessary(),window.$crisp.push(["config","availability:tooltip",[n]])},r.prototype.setVacationMode=function(n){this.createSingletonIfNecessary(),window.$crisp.push(["config","hide:vacation",[n]])},r.prototype.setSafeMode=function(n){n===void 0&&(n=!0),this.createSingletonIfNecessary(),window.$crisp.push(["safe",n])},r.prototype.muteSound=function(n){this.createSingletonIfNecessary(),window.$crisp.push(["config","sound:mute",[n]])},r.prototype.toggleOperatorCount=function(n){this.createSingletonIfNecessary(),window.$crisp.push(["config","show:operator:count",[n]])},r.prototype.onWebsiteAvailabilityChanged=function(n){this.createSingletonIfNecessary(),this.offWebsiteAvailabilityChanged(),window.$crisp.push(["on","website:availability:changed",n])},r.prototype.offWebsiteAvailabilityChanged=function(){this.createSingletonIfNecessary(),window.$crisp.push(["off","website:availability:changed"])},r.prototype.createSingletonIfNecessary=function(){window.$crisp===void 0&&(window.$crisp=[])},r.prototype.autoInjectIfNecessary=function(){this.isCrispInjected()||this.load()},r.prototype.isCrispInjected=function(){return!!(this.injected===!0||window.$crisp&&window.$crisp.is)},r.prototype.deferredLoading=function(){var n=this;document.addEventListener("DOMContentLoaded",function(){n.load()})},r}(),se=new nt;const ot={ActionMenu:{Actions:{moreActions:"More actions"},RollupActions:{rollupButton:"View actions"}},ActionList:{SearchField:{clearButtonLabel:"Clear",search:"Search",placeholder:"Search actions"}},Avatar:{label:"Avatar",labelWithInitials:"Avatar with initials {initials}"},Autocomplete:{spinnerAccessibilityLabel:"Loading",ellipsis:"{content}…"},Badge:{PROGRESS_LABELS:{incomplete:"Incomplete",partiallyComplete:"Partially complete",complete:"Complete"},TONE_LABELS:{info:"Info",success:"Success",warning:"Warning",critical:"Critical",attention:"Attention",new:"New",readOnly:"Read-only",enabled:"Enabled"},progressAndTone:"{toneLabel} {progressLabel}"},Banner:{dismissButton:"Dismiss notification"},Button:{spinnerAccessibilityLabel:"Loading"},Common:{checkbox:"checkbox",undo:"Undo",cancel:"Cancel",clear:"Clear",close:"Close",submit:"Submit",more:"More"},ContextualSaveBar:{save:"Save",discard:"Discard"},DataTable:{sortAccessibilityLabel:"sort {direction} by",navAccessibilityLabel:"Scroll table {direction} one column",totalsRowHeading:"Totals",totalRowHeading:"Total"},DatePicker:{previousMonth:"Show previous month, {previousMonthName} {showPreviousYear}",nextMonth:"Show next month, {nextMonth} {nextYear}",today:"Today ",start:"Start of range",end:"End of range",months:{january:"January",february:"February",march:"March",april:"April",may:"May",june:"June",july:"July",august:"August",september:"September",october:"October",november:"November",december:"December"},days:{monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},daysAbbreviated:{monday:"Mo",tuesday:"Tu",wednesday:"We",thursday:"Th",friday:"Fr",saturday:"Sa",sunday:"Su"}},DiscardConfirmationModal:{title:"Discard all unsaved changes",message:"If you discard changes, you’ll delete any edits you made since you last saved.",primaryAction:"Discard changes",secondaryAction:"Continue editing"},DropZone:{single:{overlayTextFile:"Drop file to upload",overlayTextImage:"Drop image to upload",overlayTextVideo:"Drop video to upload",actionTitleFile:"Add file",actionTitleImage:"Add image",actionTitleVideo:"Add video",actionHintFile:"or drop file to upload",actionHintImage:"or drop image to upload",actionHintVideo:"or drop video to upload",labelFile:"Upload file",labelImage:"Upload image",labelVideo:"Upload video"},allowMultiple:{overlayTextFile:"Drop files to upload",overlayTextImage:"Drop images to upload",overlayTextVideo:"Drop videos to upload",actionTitleFile:"Add files",actionTitleImage:"Add images",actionTitleVideo:"Add videos",actionHintFile:"or drop files to upload",actionHintImage:"or drop images to upload",actionHintVideo:"or drop videos to upload",labelFile:"Upload files",labelImage:"Upload images",labelVideo:"Upload videos"},errorOverlayTextFile:"File type is not valid",errorOverlayTextImage:"Image type is not valid",errorOverlayTextVideo:"Video type is not valid"},EmptySearchResult:{altText:"Empty search results"},Frame:{skipToContent:"Skip to content",navigationLabel:"Navigation",Navigation:{closeMobileNavigationLabel:"Close navigation"}},FullscreenBar:{back:"Back",accessibilityLabel:"Exit fullscreen mode"},Filters:{moreFilters:"More filters",moreFiltersWithCount:"More filters ({count})",filter:"Filter {resourceName}",noFiltersApplied:"No filters applied",cancel:"Cancel",done:"Done",clearAllFilters:"Clear all filters",clear:"Clear",clearLabel:"Clear {filterName}",addFilter:"Add filter",clearFilters:"Clear all",searchInView:"in:{viewName}"},FilterPill:{clear:"Clear",unsavedChanges:"Unsaved changes - {label}"},IndexFilters:{searchFilterTooltip:"Search and filter",searchFilterTooltipWithShortcut:"Search and filter (F)",searchFilterAccessibilityLabel:"Search and filter results",sort:"Sort your results",addView:"Add a new view",newView:"Custom search",SortButton:{ariaLabel:"Sort the results",tooltip:"Sort",title:"Sort by",sorting:{asc:"Ascending",desc:"Descending",az:"A-Z",za:"Z-A"}},EditColumnsButton:{tooltip:"Edit columns",accessibilityLabel:"Customize table column order and visibility"},UpdateButtons:{cancel:"Cancel",update:"Update",save:"Save",saveAs:"Save as",modal:{title:"Save view as",label:"Name",sameName:"A view with this name already exists. Please choose a different name.",save:"Save",cancel:"Cancel"}}},IndexProvider:{defaultItemSingular:"Item",defaultItemPlural:"Items",allItemsSelected:"All {itemsLength}+ {resourceNamePlural} are selected",selected:"{selectedItemsCount} selected",a11yCheckboxDeselectAllSingle:"Deselect {resourceNameSingular}",a11yCheckboxSelectAllSingle:"Select {resourceNameSingular}",a11yCheckboxDeselectAllMultiple:"Deselect all {itemsLength} {resourceNamePlural}",a11yCheckboxSelectAllMultiple:"Select all {itemsLength} {resourceNamePlural}"},IndexTable:{emptySearchTitle:"No {resourceNamePlural} found",emptySearchDescription:"Try changing the filters or search term",onboardingBadgeText:"New",resourceLoadingAccessibilityLabel:"Loading {resourceNamePlural}…",selectAllLabel:"Select all {resourceNamePlural}",selected:"{selectedItemsCount} selected",undo:"Undo",selectAllItems:"Select all {itemsLength}+ {resourceNamePlural}",selectItem:"Select {resourceName}",selectButtonText:"Select",sortAccessibilityLabel:"sort {direction} by"},Loading:{label:"Page loading bar"},Modal:{iFrameTitle:"body markup",modalWarning:"These required properties are missing from Modal: {missingProps}"},Page:{Header:{rollupActionsLabel:"View actions for {title}",pageReadyAccessibilityLabel:"{title}. This page is ready"}},Pagination:{previous:"Previous",next:"Next",pagination:"Pagination"},ProgressBar:{negativeWarningMessage:"Values passed to the progress prop shouldn’t be negative. Resetting {progress} to 0.",exceedWarningMessage:"Values passed to the progress prop shouldn’t exceed 100. Setting {progress} to 100."},ResourceList:{sortingLabel:"Sort by",defaultItemSingular:"item",defaultItemPlural:"items",showing:"Showing {itemsCount} {resource}",showingTotalCount:"Showing {itemsCount} of {totalItemsCount} {resource}",loading:"Loading {resource}",selected:"{selectedItemsCount} selected",allItemsSelected:"All {itemsLength}+ {resourceNamePlural} in your store are selected",allFilteredItemsSelected:"All {itemsLength}+ {resourceNamePlural} in this filter are selected",selectAllItems:"Select all {itemsLength}+ {resourceNamePlural} in your store",selectAllFilteredItems:"Select all {itemsLength}+ {resourceNamePlural} in this filter",emptySearchResultTitle:"No {resourceNamePlural} found",emptySearchResultDescription:"Try changing the filters or search term",selectButtonText:"Select",a11yCheckboxDeselectAllSingle:"Deselect {resourceNameSingular}",a11yCheckboxSelectAllSingle:"Select {resourceNameSingular}",a11yCheckboxDeselectAllMultiple:"Deselect all {itemsLength} {resourceNamePlural}",a11yCheckboxSelectAllMultiple:"Select all {itemsLength} {resourceNamePlural}",Item:{actionsDropdownLabel:"Actions for {accessibilityLabel}",actionsDropdown:"Actions dropdown",viewItem:"View details for {itemName}"},BulkActions:{actionsActivatorLabel:"Actions",moreActionsActivatorLabel:"More actions"}},SkeletonPage:{loadingLabel:"Page loading"},Tabs:{newViewAccessibilityLabel:"Create new view",newViewTooltip:"Create view",toggleTabsLabel:"More views",Tab:{rename:"Rename view",duplicate:"Duplicate view",edit:"Edit view",editColumns:"Edit columns",delete:"Delete view",copy:"Copy of {name}",deleteModal:{title:"Delete view?",description:"This can’t be undone. {viewName} view will no longer be available in your admin.",cancel:"Cancel",delete:"Delete view"}},RenameModal:{title:"Rename view",label:"Name",cancel:"Cancel",create:"Save",errors:{sameName:"A view with this name already exists. Please choose a different name."}},DuplicateModal:{title:"Duplicate view",label:"Name",cancel:"Cancel",create:"Create view",errors:{sameName:"A view with this name already exists. Please choose a different name."}},CreateViewModal:{title:"Create new view",label:"Name",cancel:"Cancel",create:"Create view",errors:{sameName:"A view with this name already exists. Please choose a different name."}}},Tag:{ariaLabel:"Remove {children}"},TextField:{characterCount:"{count} characters",characterCountWithMaxLength:"{count} of {limit} characters used"},TooltipOverlay:{accessibilityLabel:"Tooltip: {label}"},TopBar:{toggleMenuLabel:"Toggle menu",SearchField:{clearButtonLabel:"Clear",search:"Search"}},MediaCard:{dismissButton:"Dismiss",popoverButton:"Actions"},VideoThumbnail:{playButtonA11yLabel:{default:"Play video",defaultWithDuration:"Play video of length {duration}",duration:{hours:{other:{only:"{hourCount} hours",andMinutes:"{hourCount} hours and {minuteCount} minutes",andMinute:"{hourCount} hours and {minuteCount} minute",minutesAndSeconds:"{hourCount} hours, {minuteCount} minutes, and {secondCount} seconds",minutesAndSecond:"{hourCount} hours, {minuteCount} minutes, and {secondCount} second",minuteAndSeconds:"{hourCount} hours, {minuteCount} minute, and {secondCount} seconds",minuteAndSecond:"{hourCount} hours, {minuteCount} minute, and {secondCount} second",andSeconds:"{hourCount} hours and {secondCount} seconds",andSecond:"{hourCount} hours and {secondCount} second"},one:{only:"{hourCount} hour",andMinutes:"{hourCount} hour and {minuteCount} minutes",andMinute:"{hourCount} hour and {minuteCount} minute",minutesAndSeconds:"{hourCount} hour, {minuteCount} minutes, and {secondCount} seconds",minutesAndSecond:"{hourCount} hour, {minuteCount} minutes, and {secondCount} second",minuteAndSeconds:"{hourCount} hour, {minuteCount} minute, and {secondCount} seconds",minuteAndSecond:"{hourCount} hour, {minuteCount} minute, and {secondCount} second",andSeconds:"{hourCount} hour and {secondCount} seconds",andSecond:"{hourCount} hour and {secondCount} second"}},minutes:{other:{only:"{minuteCount} minutes",andSeconds:"{minuteCount} minutes and {secondCount} seconds",andSecond:"{minuteCount} minutes and {secondCount} second"},one:{only:"{minuteCount} minute",andSeconds:"{minuteCount} minute and {secondCount} seconds",andSecond:"{minuteCount} minute and {secondCount} second"}},seconds:{other:"{secondCount} seconds",one:"{secondCount} second"}}}}},it={Polaris:ot},at="https://cdn.shopify.com/shopifycloud/app-bridge.js",st=He.forwardRef((r,n)=>C.jsx(ee,{...r,to:r.url??r.to,ref:n}));function Ae(r){const{children:n,apiKey:P,i18n:U,isEmbeddedApp:X=!0,__APP_BRIDGE_URL:ne=at,...f}=r;return C.jsxs(C.Fragment,{children:[X&&C.jsx("script",{src:ne,"data-api-key":P}),C.jsx(Ge,{...f,linkComponent:st,i18n:U||it,children:n})]})}de.createContext(null);var Te={exports:{}};(function(r,n){(function(U,X){r.exports=X()})(Ue,function(){return function(){var P={"./packages/@logrocket/console/src/index.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var b=s(e("./packages/@logrocket/console/src/registerConsole.js")),g=b.default;a.default=g},"./packages/@logrocket/console/src/registerConsole.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(a,"__esModule",{value:!0}),a.default=E;var b=s(e("./node_modules/@babel/runtime/helpers/typeof.js")),g=s(e("./packages/@logrocket/utils/src/enhanceFunc.ts")),w=e("./packages/@logrocket/exceptions/src/index.js");function E(I){var y=[],j=["log","warn","info","error","debug"];return j.forEach(function(S){y.push((0,g.default)(console,S,function(){for(var l=arguments.length,u=new Array(l),t=0;t<l;t++)u[t]=arguments[t];I.addEvent("lr.core.LogEvent",function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=o.isEnabled;return(0,b.default)(i)==="object"&&i[S]===!1||i===!1?null:(S==="error"&&o.shouldAggregateConsoleErrors&&w.Capture.captureMessage(I,u[0],u,{},!0),{logLevel:S.toUpperCase(),args:u})})}))}),function(){y.forEach(function(S){return S()})}}},"./packages/@logrocket/exceptions/src/Capture.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(a,"__esModule",{value:!0}),a.captureMessage=E,a.captureException=I;var b=e("./packages/@logrocket/utils/src/scrubException.ts"),g=s(e("./packages/@logrocket/utils/src/TraceKit.js")),w=s(e("./packages/@logrocket/exceptions/src/stackTraceFromError.js"));function E(y,j,S){var l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,t={exceptionType:u?"CONSOLE":"MESSAGE",message:j,messageArgs:S,browserHref:window.location?window.location.href:""};(0,b.scrubException)(t,l),y.addEvent("lr.core.Exception",function(){return t})}function I(y,j){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"WINDOW",t=l||g.default.computeStackTrace(j),o={exceptionType:u,errorType:t.name,message:t.message,browserHref:window.location?window.location.href:""};(0,b.scrubException)(o,S);var i={_stackTrace:(0,w.default)(t)};y.addEvent("lr.core.Exception",function(){return o},i)}},"./packages/@logrocket/exceptions/src/index.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js"),b=e("./node_modules/@babel/runtime/helpers/typeof.js");Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"registerExceptions",{enumerable:!0,get:function(){return g.default}}),a.Capture=void 0;var g=s(e("./packages/@logrocket/exceptions/src/registerExceptions.js")),w=I(e("./packages/@logrocket/exceptions/src/Capture.js"));a.Capture=w;function E(y){if(typeof WeakMap!="function")return null;var j=new WeakMap,S=new WeakMap;return(E=function(u){return u?S:j})(y)}function I(y,j){if(y&&y.__esModule)return y;if(y===null||b(y)!=="object"&&typeof y!="function")return{default:y};var S=E(j);if(S&&S.has(y))return S.get(y);var l={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in y)if(t!=="default"&&Object.prototype.hasOwnProperty.call(y,t)){var o=u?Object.getOwnPropertyDescriptor(y,t):null;o&&(o.get||o.set)?Object.defineProperty(l,t,o):l[t]=y[t]}return l.default=y,S&&S.set(y,l),l}},"./packages/@logrocket/exceptions/src/raven/raven.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var b=s(e("./node_modules/@babel/runtime/helpers/classCallCheck.js")),g=s(e("./node_modules/@babel/runtime/helpers/createClass.js")),w=s(e("./packages/@logrocket/utils/src/TraceKit.js")),E=Object.prototype;function I(t){return t===void 0}function y(t){return typeof t=="function"}function j(t,o){return E.hasOwnProperty.call(t,o)}function S(t,o,i,d){var h=t[o];t[o]=i(h),d&&d.push([t,o,h])}var l=typeof window<"u"?window:typeof e.g<"u"?e.g:typeof self<"u"?self:{};l.document;var u=function(){function t(o){var i=o.captureException;(0,b.default)(this,t),this._errorHandler=this._errorHandler.bind(this),this._ignoreOnError=0,this._wrappedBuiltIns=[],this.captureException=i,w.default.report.subscribe(this._errorHandler),this._instrumentTryCatch()}return(0,g.default)(t,[{key:"uninstall",value:function(){w.default.report.unsubscribe(this._errorHandler);for(var i;this._wrappedBuiltIns.length;){i=this._wrappedBuiltIns.shift();var d=i[0],h=i[1],c=i[2];d[h]=c}}},{key:"_errorHandler",value:function(i){this._ignoreOnError||this.captureException(i)}},{key:"_ignoreNextOnError",value:function(){var i=this;this._ignoreOnError+=1,setTimeout(function(){i._ignoreOnError-=1})}},{key:"context",value:function(i,d,h){return y(i)&&(h=d||[],d=i,i=void 0),this.wrap(i,d).apply(this,h)}},{key:"wrap",value:function(i,d,h){var c=this;if(I(d)&&!y(i))return i;if(y(i)&&(d=i,i=void 0),!y(d))return d;try{if(d.__lr__)return d;if(d.__lr_wrapper__)return d.__lr_wrapper__;if(!Object.isExtensible(d))return d}catch{return d}function m(){var k=[],O=arguments.length,D=!i||i&&i.deep!==!1;for(h&&y(h)&&h.apply(this,arguments);O--;)k[O]=D?c.wrap(i,arguments[O]):arguments[O];try{return d.apply(this,k)}catch(M){throw c._ignoreNextOnError(),c.captureException(w.default.computeStackTrace(M),i),M}}for(var p in d)j(d,p)&&(m[p]=d[p]);return m.prototype=d.prototype,d.__lr_wrapper__=m,m.__lr__=!0,m.__inner__=d,m}},{key:"_instrumentTryCatch",value:function(){var i=this,d=i._wrappedBuiltIns;function h(O){return function(D,M){for(var T=new Array(arguments.length),A=0;A<T.length;++A)T[A]=arguments[A];var x=T[0];return y(x)&&(T[0]=i.wrap(x)),O.apply?O.apply(this,T):O(T[0],T[1])}}function c(O){var D=l[O]&&l[O].prototype;D&&D.hasOwnProperty&&D.hasOwnProperty("addEventListener")&&(S(D,"addEventListener",function(M){return function(T,A,x,L){try{A&&A.handleEvent&&(A.handleEvent=i.wrap(A.handleEvent))}catch{}var $;return M.call(this,T,i.wrap(A,void 0,$),x,L)}},d),S(D,"removeEventListener",function(M){return function(T,A,x,L){try{var $=A==null?void 0:A.__lr_wrapper__;$&&M.call(this,T,$,x,L)}catch{}return M.call(this,T,A,x,L)}},void 0))}S(l,"setTimeout",h,d),S(l,"setInterval",h,d),l.requestAnimationFrame&&S(l,"requestAnimationFrame",function(O){return function(D){return O(i.wrap(D))}},d);for(var m=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],p=0;p<m.length;p++)c(m[p]);var k=l.jQuery||l.$;k&&k.fn&&k.fn.ready&&S(k.fn,"ready",function(O){return function(D){return O.call(this,i.wrap(D))}},d)}}]),t}();a.default=u},"./packages/@logrocket/exceptions/src/registerExceptions.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js"),b=e("./node_modules/@babel/runtime/helpers/typeof.js");Object.defineProperty(a,"__esModule",{value:!0}),a.default=y;var g=s(e("./packages/@logrocket/exceptions/src/raven/raven.js")),w=I(e("./packages/@logrocket/exceptions/src/Capture.js"));function E(j){if(typeof WeakMap!="function")return null;var S=new WeakMap,l=new WeakMap;return(E=function(t){return t?l:S})(j)}function I(j,S){if(j&&j.__esModule)return j;if(j===null||b(j)!=="object"&&typeof j!="function")return{default:j};var l=E(S);if(l&&l.has(j))return l.get(j);var u={},t=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in j)if(o!=="default"&&Object.prototype.hasOwnProperty.call(j,o)){var i=t?Object.getOwnPropertyDescriptor(j,o):null;i&&(i.get||i.set)?Object.defineProperty(u,o,i):u[o]=j[o]}return u.default=j,l&&l.set(j,u),u}function y(j){var S=new g.default({captureException:function(t){w.captureException(j,null,null,t)}}),l=function(t){t.reason instanceof Error?w.captureException(j,t.reason,null,null,"UNHANDLED_REJECTION"):j.addEvent("lr.core.Exception",function(){return{exceptionType:"UNHANDLED_REJECTION",message:t.reason||"Unhandled Promise rejection"}})};return window.addEventListener("unhandledrejection",l),function(){window.removeEventListener("unhandledrejection",l),S.uninstall()}}},"./packages/@logrocket/exceptions/src/stackTraceFromError.js":function(f,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=e;function e(s){function b(g){return g===null?void 0:g}return s.stack?s.stack.map(function(g){return{lineNumber:b(g.line),columnNumber:b(g.column),fileName:b(g.url),functionName:b(g.func)}}):void 0}},"./packages/@logrocket/network/src/fetchIntercept.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var b=s(e("./node_modules/@babel/runtime/helpers/toConsumableArray.js")),g=e("./packages/@logrocket/network/src/registerXHR.js"),w=[];function E(S,l){for(var u=w.reduce(function(h,c){return[c].concat(h)},[]),t=arguments.length,o=new Array(t>2?t-2:0),i=2;i<t;i++)o[i-2]=arguments[i];var d=Promise.resolve(o);return u.forEach(function(h){var c=h.request,m=h.requestError;(c||m)&&(d=d.then(function(p){return c.apply(void 0,[l].concat((0,b.default)(p)))},function(p){return m.apply(void 0,[l].concat((0,b.default)(p)))}))}),d=d.then(function(h){(0,g.setActive)(!1);var c,m;try{c=S.apply(void 0,(0,b.default)(h))}catch(p){m=p}if((0,g.setActive)(!0),m)throw m;return c}),u.forEach(function(h){var c=h.response,m=h.responseError;(c||m)&&(d=d.then(function(p){return c(l,p)},function(p){return m&&m(l,p)}))}),d}function I(S){if(!(!S.fetch||!S.Promise)){var l=S.fetch.polyfill;S.fetch=function(u){var t=0;return function(){for(var o=arguments.length,i=new Array(o),d=0;d<o;d++)i[d]=arguments[d];return E.apply(void 0,[u,t++].concat(i))}}(S.fetch),l&&(S.fetch.polyfill=l)}}var y=!1,j={register:function(l){return y||(y=!0,I(window)),w.push(l),function(){var u=w.indexOf(l);u>=0&&w.splice(u,1)}},clear:function(){w=[]}};a.default=j},"./packages/@logrocket/network/src/index.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(a,"__esModule",{value:!0}),a.default=u;var b=s(e("./node_modules/@babel/runtime/helpers/defineProperty.js")),g=s(e("./node_modules/@babel/runtime/helpers/typeof.js")),w=s(e("./packages/@logrocket/network/src/registerFetch.js")),E=e("./packages/@logrocket/network/src/registerIonic.ts"),I=s(e("./packages/@logrocket/network/src/registerNetworkInformation.js")),y=s(e("./packages/@logrocket/network/src/registerXHR.js")),j=s(e("./packages/@logrocket/utils/src/mapValues.js"));function S(t,o){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);o&&(d=d.filter(function(h){return Object.getOwnPropertyDescriptor(t,h).enumerable})),i.push.apply(i,d)}return i}function l(t){for(var o=1;o<arguments.length;o++){var i=arguments[o]!=null?arguments[o]:{};o%2?S(Object(i),!0).forEach(function(d){(0,b.default)(t,d,i[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):S(Object(i)).forEach(function(d){Object.defineProperty(t,d,Object.getOwnPropertyDescriptor(i,d))})}return t}function u(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{isReactNative:!1,isDisabled:!1};if((o==null?void 0:o.isDisabled)===!0)return function(){};var i=o.isReactNative,d=o.shouldAugmentNPS,h=o.shouldParseXHRBlob,c={},m=function(L){var $=4096e3,W=L;if((0,g.default)(L)==="object"&&L!=null){var J=Object.getPrototypeOf(L);(J===Object.prototype||J===null)&&(W=JSON.stringify(L))}if(W&&W.length&&W.length>$&&typeof W=="string"){var Q=W.substring(0,1e3);return"".concat(Q,` ... LogRocket truncating to first 1000 characters.
      Keep data under 4MB to prevent truncation. https://docs.logrocket.com/reference/network`)}return L},p=function(L,$){var W=$.method;t.addEvent("lr.network.RequestEvent",function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Q=J.isEnabled,V=Q===void 0?!0:Q,F=J.requestSanitizer,B=F===void 0?function(v){return v}:F;if(!V)return null;var G=null;try{G=B(l(l({},$),{},{reqId:L}))}catch(v){console.error(v)}if(G){var z=G.url;if(typeof document<"u"&&typeof document.createElement=="function"){var q=document.createElement("a");q.href=G.url,z=q.href}return{reqId:L,url:z,headers:(0,j.default)(G.headers,function(v){return"".concat(v)}),body:m(G.body),method:W,referrer:G.referrer||void 0,mode:G.mode||void 0,credentials:G.credentials||void 0}}return c[L]=!0,null})},k=function(L,$){var W=$.method,J=$.status;t.addEvent("lr.network.ResponseEvent",function(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},V=Q.isEnabled,F=V===void 0?!0:V,B=Q.responseSanitizer,G=B===void 0?function(q){return q}:B;if(F){if(c[L])return delete c[L],null}else return null;var z=null;try{z=G(l(l({},$),{},{reqId:L}))}catch(q){console.error(q)}return z?{reqId:L,status:z.status,headers:(0,j.default)(z.headers,function(q){return"".concat(q)}),body:m(z.body),method:W}:{reqId:L,status:J,headers:{},body:null,method:W}})},O=function(L){return t.isDisabled||c[L]===!0},D=(0,w.default)({addRequest:p,addResponse:k,isIgnored:O}),M=(0,y.default)({addRequest:p,addResponse:k,isIgnored:O,logger:t,shouldAugmentNPS:d,shouldParseXHRBlob:h}),T=(0,E.registerIonic)({addRequest:p,addResponse:k,isIgnored:O}),A=i?function(){}:(0,I.default)(t);return function(){A(),D(),M(),T()}}},"./packages/@logrocket/network/src/registerFetch.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(a,"__esModule",{value:!0}),a.default=l;var b=s(e("./node_modules/@babel/runtime/helpers/defineProperty.js")),g=s(e("./packages/@logrocket/utils/src/mapValues.js")),w=s(e("./packages/@logrocket/network/src/fetchIntercept.js"));function E(u,t){var o=Object.keys(u);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(u);t&&(i=i.filter(function(d){return Object.getOwnPropertyDescriptor(u,d).enumerable})),o.push.apply(o,i)}return o}function I(u){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?E(Object(o),!0).forEach(function(i){(0,b.default)(u,i,o[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(o)):E(Object(o)).forEach(function(i){Object.defineProperty(u,i,Object.getOwnPropertyDescriptor(o,i))})}return u}function y(u){if(u==null||typeof u.forEach!="function")return u;var t={};return u.forEach(function(o,i){t[i]?t[i]="".concat(t[i],",").concat(o):t[i]="".concat(o)}),t}var j=function(t){return(0,g.default)(y(t),function(o){return"".concat(o)})};function S(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{url:u.url,headers:j(u.headers),method:u.method&&u.method.toUpperCase(),referrer:u.referrer||void 0,mode:u.mode||void 0,credentials:u.credentials||void 0}}function l(u){var t=u.addRequest,o=u.addResponse,i=u.isIgnored,d="fetch-",h={},c=w.default.register({request:function(p){for(var k=arguments.length,O=new Array(k>1?k-1:0),D=1;D<k;D++)O[D-1]=arguments[D];var M;if(typeof Request<"u"&&O[0]instanceof Request){var T;try{T=O[0].clone().text()}catch(A){T=Promise.resolve("LogRocket fetch error: ".concat(A.message))}M=T.then(function(A){return I(I({},S(O[0])),{},{body:A})},function(A){return I(I({},S(O[0])),{},{body:"LogRocket fetch error: ".concat(A.message)})})}else M=Promise.resolve(I(I({},S(O[1])),{},{url:"".concat(O[0]),body:(O[1]||{}).body}));return M.then(function(A){return h[p]=A.method,t("".concat(d).concat(p),A),O})},requestError:function(p,k){return Promise.reject(k)},response:function(p,k){var O,D;if(i("".concat(d).concat(p)))return k;if(k.headers.get("content-type")==="text/event-stream")D=Promise.resolve("LogRocket skipped consuming an event-stream body.");else{try{O=k.clone()}catch(L){var M={url:k.url,status:k.status,headers:j(k.headers),body:"LogRocket fetch error: ".concat(L.message),method:h[p]};return delete h[p],o("".concat(d).concat(p),M),k}try{if(window.TextDecoder&&O.body){var T=O.body.getReader(),A=new window.TextDecoder("utf-8"),x="";D=T.read().then(function L($){var W=$.done,J=$.value;if(W)return x;var Q=J?A.decode(J,{stream:!0}):"";return x+=Q,T.read().then(L)})}else D=O.text()}catch(L){D=Promise.resolve("LogRocket error reading body: ".concat(L.message))}}return D.catch(function(L){if(!(L.name==="AbortError"&&L instanceof DOMException))return"LogRocket error reading body: ".concat(L.message)}).then(function(L){var $={url:k.url,status:k.status,headers:j(k.headers),body:L,method:h[p]};delete h[p],o("".concat(d).concat(p),$)}),k},responseError:function(p,k){var O={url:void 0,status:0,headers:{},body:"".concat(k)};return o("".concat(d).concat(p),O),Promise.reject(k)}});return c}},"./packages/@logrocket/network/src/registerIonic.ts":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(a,"__esModule",{value:!0}),a.mergeHeaders=T,a.serializeQueryParams=J,a.appendQueryParamsString=Q,a.processData=B,a.registerIonic=q;var b=s(e("./node_modules/@babel/runtime/helpers/defineProperty.js")),g=s(e("./node_modules/@babel/runtime/helpers/typeof.js")),w=s(e("./node_modules/@babel/runtime/helpers/toConsumableArray.js")),E=s(e("./packages/@logrocket/utils/src/protectFunc.js"));function I(v,_){var R=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(!R){if(Array.isArray(v)||(R=y(v))||_){R&&(v=R);var N=0,H=function(){};return{s:H,n:function(){return N>=v.length?{done:!0}:{done:!1,value:v[N++]}},e:function(oe){throw oe},f:H}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var K=!0,Y=!1,te;return{s:function(){R=R.call(v)},n:function(){var oe=R.next();return K=oe.done,oe},e:function(oe){Y=!0,te=oe},f:function(){try{!K&&R.return!=null&&R.return()}finally{if(Y)throw te}}}}function y(v,_){if(v){if(typeof v=="string")return j(v,_);var R=Object.prototype.toString.call(v).slice(8,-1);if(R==="Object"&&v.constructor&&(R=v.constructor.name),R==="Map"||R==="Set")return Array.from(v);if(R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R))return j(v,_)}}function j(v,_){(_==null||_>v.length)&&(_=v.length);for(var R=0,N=new Array(_);R<_;R++)N[R]=v[R];return N}function S(v,_){var R=Object.keys(v);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(v);_&&(N=N.filter(function(H){return Object.getOwnPropertyDescriptor(v,H).enumerable})),R.push.apply(R,N)}return R}function l(v){for(var _=1;_<arguments.length;_++){var R=arguments[_]!=null?arguments[_]:{};_%2?S(Object(R),!0).forEach(function(N){(0,b.default)(v,N,R[N])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(R)):S(Object(R)).forEach(function(N){Object.defineProperty(v,N,Object.getOwnPropertyDescriptor(R,N))})}return v}var u=new Set(["get","put","post","patch","head","delete","options","upload","download"]),t=new Set(["urlencoded","json","utf8"]),o=new Set(["raw","multipart"]),i="ionic-",d=new Set(["desktop","mobileweb","pwa"]),h=new Set(["FormData"]),c=new Set,m=new Set(["string"]),p=new Set(["string","array"]),k={utf8:m,urlencoded:new Set(["object"]),json:new Set(["array","object"]),raw:new Set(["Uint8Array","ArrayBuffer"]),default:c};function O(v,_,R){if(typeof _!="string")throw new Error("".concat(R," must be one of: ").concat((0,w.default)(v).join(", ")));if(_=_.trim().toLowerCase(),!v.has(_))throw new Error("".concat(R," must be one of: ").concat((0,w.default)(v).join(", ")));return _}function D(v,_,R){if((0,g.default)(v)!=="object")throw new Error(R);for(var N=0,H=Object.keys(v);N<H.length;N++){var K=H[N];if(!_.has((0,g.default)(v[K])))throw new Error(R)}return v}function M(v,_){var R=new URL(v),N=R.host;return _.getHeaders(N)||null}function T(v,_){return l(l({},v),_)}function A(v,_,R){var N=R.getHeaders("*")||{},H=M(v,R)||{};return T(T(N,H),_)}function x(v,_){return _?encodeURIComponent(v):v}function L(v,_,R){return v.length?R?"".concat(encodeURIComponent(v),"[").concat(encodeURIComponent(_),"]"):"".concat(v,"[").concat(_,"]"):R?encodeURIComponent(_):_}function $(v,_,R){var N=[],H=I(_),K;try{for(H.s();!(K=H.n()).done;){var Y=K.value;if(Array.isArray(Y)){N.push($("".concat(v,"[]"),Y,R));continue}else if((0,g.default)(Y)==="object"){N.push(W("".concat(v,"[]").concat(Y),R,void 0));continue}N.push("".concat(L(v,"",R),"=").concat(x(Y,R)))}}catch(te){H.e(te)}finally{H.f()}return N.join("&")}function W(v,_,R){var N=[];for(var H in _)if(_.hasOwnProperty(H)){var K=v.length?"".concat(v,"[").concat(H,"]"):H;if(Array.isArray(_[H])){N.push($(K,_[H],R));continue}else if((0,g.default)(_[H])==="object"&&_[H]!==null){N.push(W(K,_[H],R));continue}N.push("".concat(L(v,H,R),"=").concat(x(_[H],R)))}return N.join("&")}function J(v,_){return W("",v,_)}function Q(v,_){if(!v.length||!_.length)return v;var R=new URL(v),N=R.host,H=R.pathname,K=R.search,Y=R.hash,te=R.protocol;return"".concat(te,"//").concat(N).concat(H).concat(K.length?"".concat(K,"&").concat(_):"?".concat(_)).concat(Y)}function V(v){return k[v]||k.default}function F(v){return v==="multipart"?h:c}function B(v,_){var R=(0,g.default)(v),N=V(_),H=F(_);if(H.size>0){var K=!1;if(H.forEach(function(Y){e.g[Y]&&v instanceof e.g[Y]&&(K=!0)}),!K)throw new Error("INSTANCE_TYPE_MISMATCH_DATA ".concat((0,w.default)(H).join(", ")))}if(H.size===0&&!N.has(R))throw new Error("TYPE_MISMATCH_DATA ".concat((0,w.default)(N).join(", ")));switch(_){case"utf8":return v;default:return JSON.stringify(v,void 0,2)}}function G(v,_){v=v||{};var R,N=v.data;try{R=O(t,v.serializer||_.getDataSerializer(),"serializer / data payload type")}catch{R=O(o,v.serializer||_.getDataSerializer(),"serializer / data payload type"),N={}}return{data:N,filePath:v.filePath,followRedirect:v.followRedirect,headers:D(v.headers||{},m,"Invalid header type, must be string"),method:O(u,v.method||u[0],"method"),name:v.name,params:D(v.params||{},p,"Invalid param, must be of type string or array"),responseType:v.responseType,serializer:R,connectTimeout:v.connectTimeout,readTimeout:v.readTimeout,timeout:v.timeout}}var z=0;function q(v){var _,R,N,H=v.addRequest,K=v.addResponse,Y=v.isIgnored,te=(_=window.cordova)===null||_===void 0||(R=_.plugin)===null||R===void 0?void 0:R.http,re={},oe=!1;if(typeof te>"u")return function(){};var fe=(N=window.ionic)===null||N===void 0?void 0:N.platforms;if(typeof fe<"u"&&typeof fe.some=="function"&&fe.some(function(Z){return d.has(Z)}))return function(){};var Ee=te.sendRequest,je=(0,E.default)(function(Z,ue,ae){if(!Y("".concat(i).concat(ae)))try{var pe={url:Z.url||"",status:Z.status<600&&Z.status>=100?Z.status:0,headers:Z.headers||{},body:ue?Z.data:Z.error,method:re[ae].toUpperCase()};K("".concat(i).concat(ae),pe)}catch(he){var ie={url:Z.url||"",status:Z.status<600&&Z.status>=100?Z.status:0,headers:Z.headers||{},body:"LogRocket fetch error: ".concat(he.message),method:re[ae].toUpperCase()};K("".concat(i).concat(ae),ie)}});return te.sendRequest=function(Z,ue,ae,pe){var ie=++z,he=function(le){oe||(je(le,!0,ie),delete re[ie]),ae(le)},De=function(le){oe||(je(le,!1,ie),delete re[ie]),pe(le)};if(!oe)try{var ce=G(ue,te),Le=Q(Z,W("",ce.params,!0)),Ne=A(Z,ce.headers,te),ke=ce.method||"get";re[ie]=ke;var Me={url:Le,method:ke.toUpperCase(),headers:Ne||{},body:B(ce.data||{},ce.serializer)};H("".concat(i).concat(ie),Me)}catch(ge){var Fe={url:Z,method:(ue.method||"get").toUpperCase(),headers:{},body:"LogRocket fetch error: ".concat(ge.message)};H("".concat(i).concat(ie),Fe)}return Ee(Z,ue,he,De)},function(){oe=!0,te.sendRequest=Ee,re={}}}},"./packages/@logrocket/network/src/registerNetworkInformation.js":function(f,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=s;var e={"slow-2g":"SLOW2G","2g":"TWOG","3g":"THREEG","4g":"FOURG"};function s(b){var g=void 0;function w(){var E={online:window.navigator.onLine,effectiveType:"UNKOWN"};window.navigator.onLine?window.navigator.connection&&window.navigator.connection.effectiveType&&(E.effectiveType=e[window.navigator.connection.effectiveType]||"UNKNOWN"):E.effectiveType="NONE",!(g&&E.online===g.online&&E.effectiveType===g.effectiveType)&&(g=E,b.addEvent("lr.network.NetworkStatusEvent",function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y=I.isEnabled,j=y===void 0?!0:y;return j?E:null}))}return setTimeout(w),window.navigator.connection&&typeof window.navigator.connection.addEventListener=="function"&&window.navigator.connection.addEventListener("change",w),window.addEventListener("online",w),window.addEventListener("offline",w),function(){window.removeEventListener("offline",w),window.removeEventListener("online",w),window.navigator.connection&&typeof window.navigator.connection.removeEventListener=="function"&&window.navigator.connection.removeEventListener("change",w)}}},"./packages/@logrocket/network/src/registerXHR.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(a,"__esModule",{value:!0}),a.setActive=y,a.default=S;var b=s(e("./packages/@logrocket/utils/src/mapValues.js")),g=s(e("./packages/@logrocket/utils/src/enhanceFunc.ts")),w=s(e("./packages/@logrocket/utils/src/startsWith.js")),E=e("./packages/@logrocket/utils/src/constants/nps.js"),I=!0;function y(l){I=l}var j=0;function S(l){var u=l.addRequest,t=l.addResponse,o=l.isIgnored,i=l.logger,d=l.shouldAugmentNPS,h=d===void 0?!0:d,c=l.shouldParseXHRBlob,m=c===void 0?!1:c,p=XMLHttpRequest,k=new WeakMap,O=!1,D="xhr-";return window._lrXMLHttpRequest=XMLHttpRequest,XMLHttpRequest=function(T,A){var x=new p(T,A);if(!I)return x;k.set(x,{xhrId:++j,headers:{}});var L=x.open;function $(){for(var V=arguments.length,F=new Array(V),B=0;B<V;B++)F[B]=arguments[B];try{var G=F[1];if(window.URL&&typeof window.URL=="function"&&G.search(E.WOOTRIC_RESPONSES_REGEX)===0){var z=new window.URL(i.recordingURL);z.searchParams.set("nps","wootric");var q=new window.URL(G),v=q.searchParams.get("response[text]"),_=v?"".concat(v,`

`):"";q.searchParams.set("response[text]","".concat(_,"<").concat(z.href,"|View LogRocket session>")),F[1]=q.href}}catch{}return L.apply(this,F)}var W=x.send;function J(){for(var V=arguments.length,F=new Array(V),B=0;B<V;B++)F[B]=arguments[B];try{var G=k.get(x);if(window.URL&&typeof window.URL=="function"&&G&&G.url&&G.url.search(E.DELIGHTED_RESPONSES_REGEX)===0&&F.length&&F[0].indexOf(E.DELIGHTED_FEEDBACK_PREFIX)!==-1){var z=new window.URL(i.recordingURL);z.searchParams.set("nps","delighted");var q=encodeURIComponent(z.href),v=F[0].split("&").map(function(_){if((0,w.default)(_,E.DELIGHTED_FEEDBACK_PREFIX)){var R=_===E.DELIGHTED_FEEDBACK_PREFIX;return"".concat(_).concat(R?"":`

`,"<").concat(q,"|View LogRocket session>")}return _}).join("&");F[0]=v}}catch{}return W.apply(this,F)}h&&(x.open=$,x.send=J),(0,g.default)(x,"open",function(V,F){if(!O){var B=k.get(x);B.method=V,B.url=F}}),(0,g.default)(x,"send",function(V){if(!O){var F=k.get(x);if(F){var B={url:F.url,method:F.method&&F.method.toUpperCase(),headers:(0,b.default)(F.headers||{},function(G){return G.join(", ")}),body:V};u("".concat(D).concat(F.xhrId),B)}}}),(0,g.default)(x,"setRequestHeader",function(V,F){if(!O){var B=k.get(x);B&&(B.headers=B.headers||{},B.headers[V]=B.headers[V]||[],B.headers[V].push(F))}});var Q={readystatechange:function(){if(!O&&x.readyState===4){var F=k.get(x);if(!F||o("".concat(D).concat(F.xhrId)))return;var B=x.getAllResponseHeaders()||"",G=B.split(/[\r\n]+/).reduce(function(_,R){var N=_,H=R.split(": ");if(H.length>0){var K=H.shift(),Y=H.join(": ");_[K]?N[K]+=", ".concat(Y):N[K]=Y}return N},{}),z;try{switch(x.responseType){case"json":z=i._shouldCloneResponse?JSON.parse(JSON.stringify(x.response)):x.response;break;case"arraybuffer":case"blob":{z=x.response;break}case"document":{z=x.responseXML;break}case"text":case"":{z=x.responseText;break}default:z=""}}catch{z="LogRocket: Error accessing response."}var q={url:F.url,status:x.status,headers:G,body:z,method:(F.method||"").toUpperCase()};if(m&&q.body instanceof Blob){var v=new FileReader;v.readAsText(q.body),v.onload=function(){try{q.body=JSON.parse(v.result)}catch{}t("".concat(D).concat(F.xhrId),q)}}else t("".concat(D).concat(F.xhrId),q)}}};return Object.keys(Q).forEach(function(V){x.addEventListener(V,Q[V])}),x},XMLHttpRequest.prototype=p.prototype,["UNSENT","OPENED","HEADERS_RECEIVED","LOADING","DONE"].forEach(function(M){XMLHttpRequest[M]=p[M]}),function(){O=!0,XMLHttpRequest=p}}},"./packages/@logrocket/now/src/index.js":function(f,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var e=Date.now.bind(Date),s=e(),b=typeof performance<"u"&&performance.now?performance.now.bind(performance):function(){return e()-s};a.default=b},"./packages/@logrocket/redux/src/createEnhancer.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(a,"__esModule",{value:!0}),a.default=y;var b=s(e("./node_modules/@babel/runtime/helpers/defineProperty.js")),g=s(e("./packages/@logrocket/now/src/index.js"));function w(j,S){var l=Object.keys(j);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(j);S&&(u=u.filter(function(t){return Object.getOwnPropertyDescriptor(j,t).enumerable})),l.push.apply(l,u)}return l}function E(j){for(var S=1;S<arguments.length;S++){var l=arguments[S]!=null?arguments[S]:{};S%2?w(Object(l),!0).forEach(function(u){(0,b.default)(j,u,l[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(j,Object.getOwnPropertyDescriptors(l)):w(Object(l)).forEach(function(u){Object.defineProperty(j,u,Object.getOwnPropertyDescriptor(l,u))})}return j}var I=0;function y(j){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=S.stateSanitizer,u=l===void 0?function(i){return i}:l,t=S.actionSanitizer,o=t===void 0?function(i){return i}:t;return function(i){return function(d,h,c){var m=i(d,h,c),p=m.dispatch,k=I++;j.addEvent("lr.redux.InitialState",function(){var D;try{D=u(m.getState())}catch(M){console.error(M.toString())}return{state:D,storeId:k}});var O=function(M){var T=(0,g.default)(),A,x;try{x=p(M)}catch($){A=$}finally{var L=(0,g.default)()-T;j.addEvent("lr.redux.ReduxAction",function(){var $=null,W=null;try{$=u(m.getState()),W=o(M)}catch(J){console.error(J.toString())}return $&&W?{storeId:k,action:W,duration:L,stateDelta:$}:null})}if(A)throw A;return x};return E(E({},m),{},{dispatch:O})}}}},"./packages/@logrocket/redux/src/createMiddleware.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(a,"__esModule",{value:!0}),a.default=w;var b=s(e("./packages/@logrocket/now/src/index.js")),g=0;function w(E){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},y=I.stateSanitizer,j=y===void 0?function(u){return u}:y,S=I.actionSanitizer,l=S===void 0?function(u){return u}:S;return function(u){var t=g++;return E.addEvent("lr.redux.InitialState",function(){var o;try{o=j(u.getState())}catch(i){console.error(i.toString())}return{state:o,storeId:t}}),function(o){return function(i){var d=(0,b.default)(),h,c;try{c=o(i)}catch(p){h=p}finally{var m=(0,b.default)()-d;E.addEvent("lr.redux.ReduxAction",function(){var p=null,k=null;try{p=j(u.getState()),k=l(i)}catch(O){console.error(O.toString())}return p&&k?{storeId:t,action:k,duration:m,stateDelta:p}:null})}if(h)throw h;return c}}}}},"./packages/@logrocket/redux/src/index.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"createEnhancer",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(a,"createMiddleware",{enumerable:!0,get:function(){return g.default}});var b=s(e("./packages/@logrocket/redux/src/createEnhancer.js")),g=s(e("./packages/@logrocket/redux/src/createMiddleware.js"))},"./packages/@logrocket/utils/src/TraceKit.js":function(f,a,e){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var s={collectWindowErrors:!0,debug:!1},b=typeof window<"u"?window:typeof e.g<"u"?e.g:typeof self<"u"?self:{},g=[].slice,w="?",E=/^(?:Uncaught (?:exception: )?)?((?:Eval|Internal|Range|Reference|Syntax|Type|URI)Error): ?(.*)$/;function I(){return typeof document>"u"||typeof document.location>"u"?"":document.location.href}s.report=function(){var S=[],l=null,u=null,t=null;function o(T){k(),S.push(T)}function i(T){for(var A=S.length-1;A>=0;--A)S[A]===T&&S.splice(A,1)}function d(){O(),S=[]}function h(T,A){var x=null;if(!(A&&!s.collectWindowErrors)){for(var L in S)if(S.hasOwnProperty(L))try{S[L].apply(null,[T].concat(g.call(arguments,2)))}catch($){x=$}if(x)throw x}}var c,m;function p(T,A,x,L,$){var W=null;if(t)s.computeStackTrace.augmentStackTraceWithInitialElement(t,A,x,T),D();else if($)W=s.computeStackTrace($),h(W,!0);else{var J={url:A,line:x,column:L},Q=void 0,V=T,F;if({}.toString.call(T)==="[object String]"){var F=T.match(E);F&&(Q=F[1],V=F[2])}J.func=w,W={name:Q,message:V,url:I(),stack:[J]},h(W,!0)}return c?c.apply(this,arguments):!1}function k(){m||(c=b.onerror,b.onerror=p,m=!0)}function O(){m&&(b.onerror=c,m=!1,c=void 0)}function D(){var T=t,A=l;l=null,t=null,u=null,h.apply(null,[T,!1].concat(A))}function M(T,A){var x=g.call(arguments,1);if(t){if(u===T)return;D()}var L=s.computeStackTrace(T);if(t=L,u=T,l=x,setTimeout(function(){u===T&&D()},L.incomplete?2e3:0),A!==!1)throw T}return M.subscribe=o,M.unsubscribe=i,M.uninstall=d,M}(),s.computeStackTrace=function(){function S(o){if(!(typeof o.stack>"u"||!o.stack)){var i=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|<anonymous>).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,d=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|resource|\[native).*?)(?::(\d+))?(?::(\d+))?\s*$/i,h=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,c=o.stack.split(`
`),m=[],p,k;/^(.*) is undefined$/.exec(o.message);for(var O=0,D=c.length;O<D;++O){if(p=i.exec(c[O])){var M=p[2]&&p[2].indexOf("native")!==-1;k={url:M?null:p[2],func:p[1]||w,args:M?[p[2]]:[],line:p[3]?+p[3]:null,column:p[4]?+p[4]:null}}else if(p=h.exec(c[O]))k={url:p[2],func:p[1]||w,args:[],line:+p[3],column:p[4]?+p[4]:null};else if(p=d.exec(c[O]))k={url:p[3],func:p[1]||w,args:p[2]?p[2].split(","):[],line:p[4]?+p[4]:null,column:p[5]?+p[5]:null};else continue;!k.func&&k.line&&(k.func=w),m.push(k)}return m.length?(!m[0].column&&typeof o.columnNumber<"u"&&(m[0].column=o.columnNumber+1),{name:o.name,message:o.message,url:I(),stack:m}):null}}function l(o,i,d,h){var c={url:i,line:d};if(c.url&&c.line){if(o.incomplete=!1,c.func||(c.func=w),o.stack.length>0&&o.stack[0].url===c.url){if(o.stack[0].line===c.line)return!1;if(!o.stack[0].line&&o.stack[0].func===c.func)return o.stack[0].line=c.line,!1}return o.stack.unshift(c),o.partial=!0,!0}else o.incomplete=!0;return!1}function u(o,i){for(var d=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,h=[],c={},m=!1,p,k,O=u.caller;O&&!m;O=O.caller)if(!(O===t||O===s.report)){if(k={url:null,func:w,line:null,column:null},O.name?k.func=O.name:(p=d.exec(O.toString()))&&(k.func=p[1]),typeof k.func>"u")try{k.func=p.input.substring(0,p.input.indexOf("{"))}catch{}c[""+O]?m=!0:c[""+O]=!0,h.push(k)}i&&h.splice(0,i);var D={name:o.name,message:o.message,url:I(),stack:h};return l(D,o.sourceURL||o.fileName,o.line||o.lineNumber,o.message||o.description),D}function t(o,i){var d=null;i=i==null?0:+i;try{if(d=S(o),d)return d}catch(h){if(s.debug)throw h}try{if(d=u(o,i+1),d)return d}catch(h){if(s.debug)throw h}return{name:o.name,message:o.message,url:I()}}return t.augmentStackTraceWithInitialElement=l,t.computeStackTraceFromStackProp=S,t}();var y=s;a.default=y},"./packages/@logrocket/utils/src/constants/nps.js":function(f,a){Object.defineProperty(a,"__esModule",{value:!0}),a.DELIGHTED_FEEDBACK_PREFIX=a.DELIGHTED_RESPONSES_REGEX=a.WOOTRIC_RESPONSES_REGEX=void 0;var e=/^https:\/\/production.wootric.com\/responses/;a.WOOTRIC_RESPONSES_REGEX=e;var s=/^https:\/\/web.delighted.com\/e\/[a-zA-Z-]*\/c/;a.DELIGHTED_RESPONSES_REGEX=s;var b="comment=";a.DELIGHTED_FEEDBACK_PREFIX=b},"./packages/@logrocket/utils/src/enhanceFunc.ts":function(f,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=s;var e=function(){};function s(b,g,w){var E=Object.getOwnPropertyDescriptor(b,g);if(!E||E.writable===!1||typeof E.value!="function")return e;var I=E.value;function y(){for(var j=arguments.length,S=new Array(j),l=0;l<j;l++)S[l]=arguments[l];var u=I.apply(this,S);return w.apply(this,S),u}return Object.defineProperty(b,g,{value:y,writable:!0}),function(){Object.defineProperty(b,g,E)}}},"./packages/@logrocket/utils/src/logError.js":function(f,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var e=typeof console<"u"&&console.error&&console.error.bind,s=e?console.error.bind(console):function(){},b=s;a.default=b},"./packages/@logrocket/utils/src/mapValues.js":function(f,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=e;function e(s,b){if(s==null)return{};var g={};return Object.keys(s).forEach(function(w){g[w]=b(s[w])}),g}},"./packages/@logrocket/utils/src/protectFunc.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(a,"__esModule",{value:!0}),a.default=w;var b=s(e("./packages/@logrocket/utils/src/sendTelemetryData.js")),g=s(e("./packages/@logrocket/utils/src/logError.js"));function w(E){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){};return function(){var y;try{y=E.apply(void 0,arguments)}catch(S){if(typeof window<"u"&&window._lrdebug)throw S;var j=I(S);(0,g.default)("LogRocket",S),(0,b.default)(S,j)}return y}}},"./packages/@logrocket/utils/src/scrubException.ts":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(a,"__esModule",{value:!0}),a.scrubException=S;var b=s(e("./node_modules/@babel/runtime/helpers/typeof.js"));function g(l,u){var t=typeof Symbol<"u"&&l[Symbol.iterator]||l["@@iterator"];if(!t){if(Array.isArray(l)||(t=w(l))||u){t&&(l=t);var o=0,i=function(){};return{s:i,n:function(){return o>=l.length?{done:!0}:{done:!1,value:l[o++]}},e:function(p){throw p},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var d=!0,h=!1,c;return{s:function(){t=t.call(l)},n:function(){var p=t.next();return d=p.done,p},e:function(p){h=!0,c=p},f:function(){try{!d&&t.return!=null&&t.return()}finally{if(h)throw c}}}}function w(l,u){if(l){if(typeof l=="string")return E(l,u);var t=Object.prototype.toString.call(l).slice(8,-1);if(t==="Object"&&l.constructor&&(t=l.constructor.name),t==="Map"||t==="Set")return Array.from(l);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return E(l,u)}}function E(l,u){(u==null||u>l.length)&&(u=l.length);for(var t=0,o=new Array(u);t<u;t++)o[t]=l[t];return o}function I(l){return/boolean|number|string/.test((0,b.default)(l))}var y=["level","logger"],j=["tags","extra"];function S(l,u){if(u){var t=g(y),o;try{for(t.s();!(o=t.n()).done;){var i=o.value,d=u[i];I(d)&&(l[i]=d.toString())}}catch(A){t.e(A)}finally{t.f()}var h=g(j),c;try{for(h.s();!(c=h.n()).done;){for(var m=c.value,p=u[m]||{},k={},O=0,D=Object.keys(p);O<D.length;O++){var M=D[O],T=p[M];I(T)&&(k[M.toString()]=T.toString())}l[m]=k}}catch(A){h.e(A)}finally{h.f()}}}},"./packages/@logrocket/utils/src/sendTelemetryData.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(a,"__esModule",{value:!0}),a.sendTelemetry=S,a.default=l;var b=s(e("./node_modules/@babel/runtime/helpers/defineProperty.js")),g=s(e("./packages/@logrocket/utils/src/logError.js")),w=s(e("./packages/@logrocket/utils/src/TraceKit.js"));function E(u,t){var o=Object.keys(u);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(u);t&&(i=i.filter(function(d){return Object.getOwnPropertyDescriptor(u,d).enumerable})),o.push.apply(o,i)}return o}function I(u){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?E(Object(o),!0).forEach(function(i){(0,b.default)(u,i,o[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(o)):E(Object(o)).forEach(function(i){Object.defineProperty(u,i,Object.getOwnPropertyDescriptor(o,i))})}return u}var y="1630cf537814c02d23e74c27795284f0a0881580";function j(u){var t=window._lrXMLHttpRequest||XMLHttpRequest;try{var o=new t,i=u.message,d="https://e.logrocket.com/api/3/store/?sentry_version=7&sentry_client=http%2F3.8.0&sentry_key=b64162b4187a4c5caae8a68a7e291793";o.open("POST",d),o.send(JSON.stringify(I({message:i,logger:"javascript",platform:"javascript",request:{headers:{"User-Agent":typeof navigator<"u"&&navigator.userAgent},url:typeof location<"u"&&location.href},release:y,environment:"test"},u)))}catch(h){(0,g.default)("Failed to send",h)}}function S(u,t){if(typeof window<"u"&&window._lrdebug)return void(0,g.default)(u);t&&t.extra&&t.extra.appID&&typeof t.extra.appID.indexOf=="function"&&t.extra.appID.indexOf("au2drp/")===0&&Math.random()>=.25||j(I({message:u},t))}function l(u,t){try{var o=u.message,i;try{i=JSON.stringify(t).slice(0,1e3)}catch{try{i="Could not stringify payload: ".concat(Object.prototype.toString.call(t))}catch{}}var d;try{d=w.default.computeStackTrace(u).stack.map(function(h){return{filename:h.url,lineno:h.line,colno:h.column,function:h.func||"?"}})}catch{}j({message:o,extra:{stringPayload:i},exception:{values:[{type:u.type,value:o,stacktrace:{frames:d}}]}})}catch(h){(0,g.default)("Failed to send",h)}}},"./packages/@logrocket/utils/src/startsWith.js":function(f,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=e;function e(s,b){var g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return s&&b&&s.substring(g,g+b.length)===b}},"./packages/logrocket/src/LogRocket.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(a,"__esModule",{value:!0}),a.default=a.MAX_QUEUE_SIZE=void 0;var b=s(e("./node_modules/@babel/runtime/helpers/classCallCheck.js")),g=s(e("./node_modules/@babel/runtime/helpers/createClass.js")),w=s(e("./node_modules/@babel/runtime/helpers/defineProperty.js")),E=s(e("./node_modules/@babel/runtime/helpers/objectWithoutProperties.js")),I=s(e("./packages/@logrocket/network/src/index.js")),y=e("./packages/@logrocket/exceptions/src/index.js"),j=s(e("./packages/@logrocket/console/src/index.js")),S=e("./packages/@logrocket/redux/src/index.js");function l(d,h){var c=Object.keys(d);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(d);h&&(m=m.filter(function(p){return Object.getOwnPropertyDescriptor(d,p).enumerable})),c.push.apply(c,m)}return c}function u(d){for(var h=1;h<arguments.length;h++){var c=arguments[h]!=null?arguments[h]:{};h%2?l(Object(c),!0).forEach(function(m){(0,w.default)(d,m,c[m])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(c)):l(Object(c)).forEach(function(m){Object.defineProperty(d,m,Object.getOwnPropertyDescriptor(c,m))})}return d}var t=1e3;a.MAX_QUEUE_SIZE=t;var o=function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=h.ingestServer,m=(0,E.default)(h,["ingestServer"]);return c?u({serverURL:"".concat(c,"/i"),statsURL:"".concat(c,"/s")},m):m},i=function(){function d(){var h=this;(0,b.default)(this,d),this._buffer=[],["log","info","warn","error","debug"].forEach(function(c){h[c]=function(){for(var m=arguments.length,p=new Array(m),k=0;k<m;k++)p[k]=arguments[k];h.addEvent("lr.core.LogEvent",function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return c==="error"&&O.shouldAggregateConsoleErrors&&y.Capture.captureMessage(h,p[0],p,{},!0),{logLevel:c.toUpperCase(),args:p}},{shouldCaptureStackTrace:!0})}}),this._isInitialized=!1,this._installed=[],window._lr_surl_cb=this.getSessionURL.bind(this)}return(0,g.default)(d,[{key:"addEvent",value:function(c,m){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},k=Date.now();this._run(function(O){O.addEvent(c,m,u(u({},p),{},{timeOverride:k}))})}},{key:"onLogger",value:function(c){for(this._logger=c;this._buffer.length>0;){var m=this._buffer.shift();m(this._logger)}}},{key:"_run",value:function(c){if(!this._isDisabled)if(this._logger)c(this._logger);else{if(this._buffer.length>=t){this._isDisabled=!0,console.warn("LogRocket: script did not load. Check that you have a valid network connection."),this.uninstall();return}this._buffer.push(c.bind(this))}}},{key:"init",value:function(c){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this._isInitialized){var p,k=m.shouldAugmentNPS,O=k===void 0?!0:k,D=m.shouldParseXHRBlob,M=D===void 0?!1:D,T=m.shouldDetectExceptions,A=T===void 0?!0:T;A&&this._installed.push((0,y.registerExceptions)(this)),this._installed.push((0,I.default)(this,{shouldAugmentNPS:!!O,shouldParseXHRBlob:!!M,isDisabled:(m==null||(p=m.network)===null||p===void 0?void 0:p.isEnabled)===!1})),this._installed.push((0,j.default)(this)),this._isInitialized=!0,this._run(function(x){x.init(c,o(m))})}}},{key:"start",value:function(){this._run(function(c){c.start()})}},{key:"uninstall",value:function(){this._installed.forEach(function(c){return c()}),this._buffer=[],this._run(function(c){c.uninstall()})}},{key:"identify",value:function(c,m){this._run(function(p){p.identify(c,m)})}},{key:"startNewSession",value:function(){this._run(function(c){c.startNewSession()})}},{key:"track",value:function(c,m){this._run(function(p){p.track(c,m)})}},{key:"getSessionURL",value:function(c){if(typeof c!="function")throw new Error("LogRocket: must pass callback to getSessionURL()");this._run(function(m){m.getSessionURL?m.getSessionURL(c):c(m.recordingURL)})}},{key:"trackScrollEvent",value:function(c){this._logger&&this._logger.trackScrollEvent(c)}},{key:"getVersion",value:function(c){this._run(function(m){c(m.version)})}},{key:"captureMessage",value:function(c){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};y.Capture.captureMessage(this,c,[c],m)}},{key:"captureException",value:function(c){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};y.Capture.captureException(this,c,m)}},{key:"version",get:function(){return this._logger&&this._logger.version}},{key:"sessionURL",get:function(){return this._logger&&this._logger.recordingURL}},{key:"recordingURL",get:function(){return this._logger&&this._logger.recordingURL}},{key:"recordingID",get:function(){return this._logger&&this._logger.recordingID}},{key:"threadID",get:function(){return this._logger&&this._logger.threadID}},{key:"tabID",get:function(){return this._logger&&this._logger.tabID}},{key:"reduxEnhancer",value:function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,S.createEnhancer)(this,c)}},{key:"reduxMiddleware",value:function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,S.createMiddleware)(this,c)}},{key:"isDisabled",get:function(){return!!(this._isDisabled||this._logger&&this._logger._isDisabled)}}]),d}();a.default=i},"./packages/logrocket/src/makeLogRocket.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(a,"__esModule",{value:!0}),a.default=E;var b=s(e("./packages/logrocket/src/LogRocket.js")),g="LogRocket on React Native requires the LogRocket React Native specific SDK. See setup guide here https://docs.logrocket.com/reference/react-native.",w=function(){return{init:function(){},uninstall:function(){},log:function(){},info:function(){},warn:function(){},error:function(){},debug:function(){},addEvent:function(){},identify:function(){},start:function(){},get threadID(){return null},get recordingID(){return null},get recordingURL(){return null},reduxEnhancer:function(){return function(j){return function(){return j.apply(void 0,arguments)}}},reduxMiddleware:function(){return function(){return function(j){return function(S){return j(S)}}}},track:function(){},getSessionURL:function(){},getVersion:function(){},startNewSession:function(){},onLogger:function(){},setClock:function(){},captureMessage:function(){},captureException:function(){}}};function E(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){};if(typeof navigator<"u"&&navigator.product==="ReactNative")throw new Error(g);if(typeof window<"u"){if(window._disableLogRocket)return w();if(window.MutationObserver&&window.WeakMap){window._lrMutationObserver=window.MutationObserver;var y=new b.default;return I(y),y}}return w()}},"./packages/logrocket/src/setup.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(a,"__esModule",{value:!0}),a.default=E;var b=s(e("./node_modules/@babel/runtime/helpers/objectWithoutProperties.js")),g=s(e("./packages/logrocket/src/makeLogRocket.js")),w={"cdn.logrocket.io":"https://r.logrocket.io","cdn.lr-ingest.io":"https://r.lr-ingest.io","cdn.lr-in.com":"https://r.lr-in.com","cdn.lr-in-prod.com":"https://r.lr-in-prod.com","cdn.lr-ingest.com":"https://r.lr-ingest.com","cdn.ingest-lr.com":"https://r.ingest-lr.com","cdn.lr-intake.com":"https://r.lr-intake.com","cdn.intake-lr.com":"https://r.intake-lr.com","cdn.logr-ingest.com":"https://r.logr-ingest.com","cdn-staging.logrocket.io":"https://staging-i.logrocket.io","cdn-staging.lr-ingest.io":"https://staging-i.lr-ingest.io","cdn-staging.lr-in.com":"https://staging-i.lr-in.com","cdn-staging.lr-in-prod.com":"https://staging-i.lr-in-prod.com","cdn-staging.lr-ingest.com":"https://staging-i.lr-ingest.com","cdn-staging.ingest-lr.com":"https://staging-i.ingest-lr.com","cdn-staging.lr-intake.com":"https://staging-i.lr-intake.com","cdn-staging.intake-lr.com":"https://staging-i.intake-lr.com","cdn-staging.logr-ingest.com":"https://staging-i.logr-ingest.com"};function E(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y=I.enterpriseServer,j=I.sdkVersion,S=j===void 0?"8.1.2":j,l=(0,b.default)(I,["enterpriseServer","sdkVersion"]),u="https://cdn.logrocket.io",t;if(S==="script")try{var o=document.currentScript,i=o.src.match(/^(https?:\/\/([^\\]+))\/.+$/),d=i&&i[2];d&&w[d]&&(u=i&&i[1],t=w[d])}catch{}else u="https://cdn.logr-ingest.com",t="https://r.logr-ingest.com";var h=l.sdkServer||y,c=l.ingestServer||y||t,m=(0,g.default)(function(){var p=document.createElement("script");c&&(typeof window.__SDKCONFIG__>"u"&&(window.__SDKCONFIG__={}),window.__SDKCONFIG__.serverURL="".concat(c,"/i"),window.__SDKCONFIG__.statsURL="".concat(c,"/s")),h?p.src="".concat(h,"/logger.min.js"):window.__SDKCONFIG__&&window.__SDKCONFIG__.loggerURL?p.src=window.__SDKCONFIG__.loggerURL:window._lrAsyncScript?p.src=window._lrAsyncScript:p.src="".concat(u,"/logger-1.min.js"),p.async=!0,document.head.appendChild(p),p.onload=function(){typeof window._LRLogger=="function"?m.onLogger(new window._LRLogger({sdkVersion:S})):(console.warn("LogRocket: script execution has been blocked by a product or service."),m.uninstall())},p.onerror=function(){console.warn("LogRocket: script could not load. Check that you have a valid network connection."),m.uninstall()}});return m}},"./node_modules/@babel/runtime/helpers/arrayLikeToArray.js":function(f){function a(e,s){(s==null||s>e.length)&&(s=e.length);for(var b=0,g=new Array(s);b<s;b++)g[b]=e[b];return g}f.exports=a,f.exports.__esModule=!0,f.exports.default=f.exports},"./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/arrayLikeToArray.js");function b(g){if(Array.isArray(g))return s(g)}f.exports=b,f.exports.__esModule=!0,f.exports.default=f.exports},"./node_modules/@babel/runtime/helpers/classCallCheck.js":function(f){function a(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}f.exports=a,f.exports.__esModule=!0,f.exports.default=f.exports},"./node_modules/@babel/runtime/helpers/createClass.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/toPropertyKey.js");function b(w,E){for(var I=0;I<E.length;I++){var y=E[I];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(w,s(y.key),y)}}function g(w,E,I){return E&&b(w.prototype,E),I&&b(w,I),Object.defineProperty(w,"prototype",{writable:!1}),w}f.exports=g,f.exports.__esModule=!0,f.exports.default=f.exports},"./node_modules/@babel/runtime/helpers/defineProperty.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/toPropertyKey.js");function b(g,w,E){return w=s(w),w in g?Object.defineProperty(g,w,{value:E,enumerable:!0,configurable:!0,writable:!0}):g[w]=E,g}f.exports=b,f.exports.__esModule=!0,f.exports.default=f.exports},"./node_modules/@babel/runtime/helpers/interopRequireDefault.js":function(f){function a(e){return e&&e.__esModule?e:{default:e}}f.exports=a,f.exports.__esModule=!0,f.exports.default=f.exports},"./node_modules/@babel/runtime/helpers/iterableToArray.js":function(f){function a(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}f.exports=a,f.exports.__esModule=!0,f.exports.default=f.exports},"./node_modules/@babel/runtime/helpers/nonIterableSpread.js":function(f){function a(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}f.exports=a,f.exports.__esModule=!0,f.exports.default=f.exports},"./node_modules/@babel/runtime/helpers/objectWithoutProperties.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js");function b(g,w){if(g==null)return{};var E=s(g,w),I,y;if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(g);for(y=0;y<j.length;y++)I=j[y],!(w.indexOf(I)>=0)&&Object.prototype.propertyIsEnumerable.call(g,I)&&(E[I]=g[I])}return E}f.exports=b,f.exports.__esModule=!0,f.exports.default=f.exports},"./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js":function(f){function a(e,s){if(e==null)return{};var b={},g=Object.keys(e),w,E;for(E=0;E<g.length;E++)w=g[E],!(s.indexOf(w)>=0)&&(b[w]=e[w]);return b}f.exports=a,f.exports.__esModule=!0,f.exports.default=f.exports},"./node_modules/@babel/runtime/helpers/toConsumableArray.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js"),b=e("./node_modules/@babel/runtime/helpers/iterableToArray.js"),g=e("./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"),w=e("./node_modules/@babel/runtime/helpers/nonIterableSpread.js");function E(I){return s(I)||b(I)||g(I)||w()}f.exports=E,f.exports.__esModule=!0,f.exports.default=f.exports},"./node_modules/@babel/runtime/helpers/toPrimitive.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/typeof.js").default;function b(g,w){if(s(g)!=="object"||g===null)return g;var E=g[Symbol.toPrimitive];if(E!==void 0){var I=E.call(g,w||"default");if(s(I)!=="object")return I;throw new TypeError("@@toPrimitive must return a primitive value.")}return(w==="string"?String:Number)(g)}f.exports=b,f.exports.__esModule=!0,f.exports.default=f.exports},"./node_modules/@babel/runtime/helpers/toPropertyKey.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/typeof.js").default,b=e("./node_modules/@babel/runtime/helpers/toPrimitive.js");function g(w){var E=b(w,"string");return s(E)==="symbol"?E:String(E)}f.exports=g,f.exports.__esModule=!0,f.exports.default=f.exports},"./node_modules/@babel/runtime/helpers/typeof.js":function(f){function a(e){"@babel/helpers - typeof";return f.exports=a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},f.exports.__esModule=!0,f.exports.default=f.exports,a(e)}f.exports=a,f.exports.__esModule=!0,f.exports.default=f.exports},"./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":function(f,a,e){var s=e("./node_modules/@babel/runtime/helpers/arrayLikeToArray.js");function b(g,w){if(g){if(typeof g=="string")return s(g,w);var E=Object.prototype.toString.call(g).slice(8,-1);if(E==="Object"&&g.constructor&&(E=g.constructor.name),E==="Map"||E==="Set")return Array.from(g);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return s(g,w)}}f.exports=b,f.exports.__esModule=!0,f.exports.default=f.exports}},U={};function X(f){var a=U[f];if(a!==void 0)return a.exports;var e=U[f]={exports:{}};return P[f](e,e.exports,X),e.exports}(function(){X.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}()})();var ne={};return function(){var f=ne;/*!**********************************************!*\
  !*** ./packages/logrocket/src/module-npm.js ***!
  \**********************************************/var a=X("./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e=a(X("./packages/logrocket/src/setup.js")),s=(0,e.default)(),b=s;f.default=b}(),ne=ne.default,ne}()})})(Te);var ut=Te.exports;const Re=$e(ut),ct="/assets/styles-qPZpdRrX.css",xt=()=>[{rel:"stylesheet",href:ct}],lt=({shopId:r,email:n,name:P,myshopifyDomain:U})=>{se.configure("410bebd8-9c08-49ec-8a61-5dd6cec2b5f4"),se.setTokenId(r+"12"),se.user.setEmail(n),se.user.setNickname(`${P}`),se.user.setCompany(P,{url:U}),se.session.setData({myshopifyDomain:U})},dt=async({shopId:r,email:n,name:P,myshopifyDomain:U})=>{["super-simple-subscriptions-dev.myshopify.com","royal-baskerville-blends.myshopify.com"].includes(U)||(Re.init("ap4tix/super-simple-subscriptions"),Re.identify(r,{name:P,email:n}))},At=()=>(ze.map(r=>shopify.saveBar.hide(r).catch(()=>{})),C.jsxs("html",{children:[C.jsxs("head",{children:[C.jsx("meta",{charSet:"utf-8"}),C.jsx("meta",{name:"viewport",content:"width=device-width,initial-scale=1"}),C.jsx(me,{}),C.jsx(ve,{})]}),C.jsxs("body",{children:[C.jsxs(Ae,{isEmbeddedApp:!0,apiKey:"",children:[C.jsxs(Pe,{children:[C.jsx(ee,{to:"/",rel:"home",children:"Home"}),C.jsx(ee,{to:"/subscription-plans",children:"Plans"}),C.jsx(ee,{to:"/contracts",children:"Contracts"}),C.jsx(ee,{to:"/analytics",children:"Analytics"}),C.jsx(ee,{to:"/customer-portal",children:"Customer portal"}),C.jsx(ee,{to:"/widget",children:"Widget"}),C.jsx(ee,{to:"/settings",children:"Settings"})]}),C.jsx(Je,{children:C.jsx(_e,{children:C.jsx(_e.Section,{children:C.jsx(Ze,{title:"An error occurred",tone:"critical",children:C.jsx("p",{children:"Please refresh the page and try again. If the issue persists, please report it our support team and we will fix it as soon as possible."})})})})})]}),C.jsx(we,{}),C.jsx(ye,{})]})]})),ft=()=>{const r=Ce(),{shopId:n,email:P,shopName:U,myshopifyDomain:X,isSupporting:ne}=r;return de.useEffect(()=>{ne||(lt({shopId:n,email:P,name:U,myshopifyDomain:X}),dt({shopId:n,email:P,name:U,myshopifyDomain:X}))},[]),C.jsx(C.Fragment,{children:C.jsxs("div",{style:{paddingBottom:"5rem"},children:[ne&&C.jsx("div",{style:{paddingBottom:"var(--p-space-1600)"},onClick:()=>window.open("/graphiql"),children:C.jsxs("div",{style:{position:"fixed",top:0,left:0,right:0,backgroundColor:"var(--p-color-bg-surface-critical)",borderBottom:"1px solid var(--p-color-border-critical)",color:"var(--p-color-text-critical)",zIndex:9999,padding:"var(--p-space-400)",textAlign:"center",fontWeight:"bold",cursor:"pointer",textDecoration:"underline"},children:[U,": ",X]})}),C.jsx(xe,{context:r})]})})};function Tt(){const{apiKey:r,host:n}=Ce(),P=Ve(),U=["/privacy-policy","/graphiql"];return P.find(X=>U.includes(X.pathname))?C.jsxs("html",{children:[C.jsxs("head",{children:[C.jsx("meta",{charSet:"utf-8"}),C.jsx("meta",{name:"viewport",content:"width=device-width,initial-scale=1"}),C.jsx(me,{}),C.jsx(ve,{})]}),C.jsxs("body",{children:[C.jsx(xe,{}),C.jsx(we,{}),C.jsx(ye,{})]})]}):C.jsxs("html",{children:[C.jsxs("head",{children:[C.jsx("meta",{charSet:"utf-8"}),C.jsx("meta",{name:"viewport",content:"width=device-width,initial-scale=1"}),C.jsx(me,{}),C.jsx(ve,{})]}),C.jsxs("body",{children:[C.jsxs(Ae,{isEmbeddedApp:!0,apiKey:r,children:[C.jsxs(Pe,{children:[C.jsx(ee,{to:"/",rel:"home",children:"Home"}),C.jsx(ee,{to:"/subscription-plans",children:"Plans"}),C.jsx(ee,{to:"/contracts",children:"Contracts"}),C.jsx(ee,{to:"/analytics",children:"Analytics"}),C.jsx(ee,{to:"/customer-portal",children:"Customer portal"}),C.jsx(ee,{to:"/widget",children:"Widget"}),C.jsx(ee,{to:"/settings",children:"Settings"})]}),C.jsx(ft,{})]}),C.jsx(we,{}),C.jsx(ye,{})]})]})}export{At as ErrorBoundary,Tt as default,xt as links};