diff --git a/bootstrap.php b/bootstrap.php index 1924b03f5..ee083945f 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -24,7 +24,7 @@ function nfd_wp_module_onboarding_register() { // Set Global Constants if ( ! defined( 'NFD_ONBOARDING_VERSION' ) ) { - define( 'NFD_ONBOARDING_VERSION', '2.4.0' ); + define( 'NFD_ONBOARDING_VERSION', '2.4.1' ); } if ( ! defined( 'NFD_ONBOARDING_DIR' ) ) { define( 'NFD_ONBOARDING_DIR', __DIR__ ); diff --git a/build/2.4.0/sitegen-theme-marker.css.asset.php b/build/2.4.0/sitegen-theme-marker.css.asset.php deleted file mode 100644 index e96293bd0..000000000 --- a/build/2.4.0/sitegen-theme-marker.css.asset.php +++ /dev/null @@ -1 +0,0 @@ - array(), 'version' => '4dae71e189c795a5c447'); diff --git a/build/2.4.0/sitegen-theme-marker.css.css b/build/2.4.0/sitegen-theme-marker.css.css deleted file mode 100644 index cf62b7225..000000000 --- a/build/2.4.0/sitegen-theme-marker.css.css +++ /dev/null @@ -1 +0,0 @@ -.theme-name{align-items:center;display:flex;flex-direction:row;svg{margin-left:8px}}.nfd-onboarding-sitegen-theme-marker-filled{fill:#1d2327}.theme.active{.nfd-onboarding-sitegen-theme-marker-filled{fill:none}}.nfd-onboarding-sitegen-theme-marker-title{margin-left:8px;overflow:hidden;text-overflow:ellipsis;width:120px} diff --git a/build/2.4.0/100.css b/build/2.4.1/100.css similarity index 100% rename from build/2.4.0/100.css rename to build/2.4.1/100.css diff --git a/build/2.4.0/100.js b/build/2.4.1/100.js similarity index 100% rename from build/2.4.0/100.js rename to build/2.4.1/100.js diff --git a/build/2.4.0/202.js b/build/2.4.1/202.js similarity index 100% rename from build/2.4.0/202.js rename to build/2.4.1/202.js diff --git a/build/2.4.0/206.js b/build/2.4.1/206.js similarity index 100% rename from build/2.4.0/206.js rename to build/2.4.1/206.js diff --git a/build/2.4.0/218.js b/build/2.4.1/218.js similarity index 100% rename from build/2.4.0/218.js rename to build/2.4.1/218.js diff --git a/build/2.4.0/270.js b/build/2.4.1/270.js similarity index 100% rename from build/2.4.0/270.js rename to build/2.4.1/270.js diff --git a/build/2.4.0/287.js b/build/2.4.1/287.js similarity index 100% rename from build/2.4.0/287.js rename to build/2.4.1/287.js diff --git a/build/2.4.0/325.js b/build/2.4.1/325.js similarity index 100% rename from build/2.4.0/325.js rename to build/2.4.1/325.js diff --git a/build/2.4.0/328.js b/build/2.4.1/328.js similarity index 100% rename from build/2.4.0/328.js rename to build/2.4.1/328.js diff --git a/build/2.4.0/340.js b/build/2.4.1/340.js similarity index 100% rename from build/2.4.0/340.js rename to build/2.4.1/340.js diff --git a/build/2.4.0/356.js b/build/2.4.1/356.js similarity index 100% rename from build/2.4.0/356.js rename to build/2.4.1/356.js diff --git a/build/2.4.0/366.js b/build/2.4.1/366.js similarity index 100% rename from build/2.4.0/366.js rename to build/2.4.1/366.js diff --git a/build/2.4.0/367.js b/build/2.4.1/367.js similarity index 100% rename from build/2.4.0/367.js rename to build/2.4.1/367.js diff --git a/build/2.4.0/396.css b/build/2.4.1/396.css similarity index 100% rename from build/2.4.0/396.css rename to build/2.4.1/396.css diff --git a/build/2.4.0/396.js b/build/2.4.1/396.js similarity index 100% rename from build/2.4.0/396.js rename to build/2.4.1/396.js diff --git a/build/2.4.0/40.js b/build/2.4.1/40.js similarity index 100% rename from build/2.4.0/40.js rename to build/2.4.1/40.js diff --git a/build/2.4.0/403.js b/build/2.4.1/403.js similarity index 100% rename from build/2.4.0/403.js rename to build/2.4.1/403.js diff --git a/build/2.4.0/426.js b/build/2.4.1/426.js similarity index 100% rename from build/2.4.0/426.js rename to build/2.4.1/426.js diff --git a/build/2.4.0/508.js b/build/2.4.1/508.js similarity index 100% rename from build/2.4.0/508.js rename to build/2.4.1/508.js diff --git a/build/2.4.0/51.js b/build/2.4.1/51.js similarity index 100% rename from build/2.4.0/51.js rename to build/2.4.1/51.js diff --git a/build/2.4.0/546.js b/build/2.4.1/546.js similarity index 100% rename from build/2.4.0/546.js rename to build/2.4.1/546.js diff --git a/build/2.4.0/560.js b/build/2.4.1/560.js similarity index 100% rename from build/2.4.0/560.js rename to build/2.4.1/560.js diff --git a/build/2.4.0/585.js b/build/2.4.1/585.js similarity index 100% rename from build/2.4.0/585.js rename to build/2.4.1/585.js diff --git a/build/2.4.0/595.js b/build/2.4.1/595.js similarity index 100% rename from build/2.4.0/595.js rename to build/2.4.1/595.js diff --git a/build/2.4.0/619.js b/build/2.4.1/619.js similarity index 100% rename from build/2.4.0/619.js rename to build/2.4.1/619.js diff --git a/build/2.4.0/627.js b/build/2.4.1/627.js similarity index 100% rename from build/2.4.0/627.js rename to build/2.4.1/627.js diff --git a/build/2.4.0/672.js b/build/2.4.1/672.js similarity index 100% rename from build/2.4.0/672.js rename to build/2.4.1/672.js diff --git a/build/2.4.0/705.js b/build/2.4.1/705.js similarity index 100% rename from build/2.4.0/705.js rename to build/2.4.1/705.js diff --git a/build/2.4.0/761.js b/build/2.4.1/761.js similarity index 100% rename from build/2.4.0/761.js rename to build/2.4.1/761.js diff --git a/build/2.4.0/796.js b/build/2.4.1/796.js similarity index 100% rename from build/2.4.0/796.js rename to build/2.4.1/796.js diff --git a/build/2.4.0/803.js b/build/2.4.1/803.js similarity index 100% rename from build/2.4.0/803.js rename to build/2.4.1/803.js diff --git a/build/2.4.0/841.js b/build/2.4.1/841.js similarity index 100% rename from build/2.4.0/841.js rename to build/2.4.1/841.js diff --git a/build/2.4.0/859.js b/build/2.4.1/859.js similarity index 100% rename from build/2.4.0/859.js rename to build/2.4.1/859.js diff --git a/build/2.4.0/866.js b/build/2.4.1/866.js similarity index 100% rename from build/2.4.0/866.js rename to build/2.4.1/866.js diff --git a/build/2.4.0/871.js b/build/2.4.1/871.js similarity index 100% rename from build/2.4.0/871.js rename to build/2.4.1/871.js diff --git a/build/2.4.0/910.js b/build/2.4.1/910.js similarity index 100% rename from build/2.4.0/910.js rename to build/2.4.1/910.js diff --git a/build/2.4.0/97.js b/build/2.4.1/97.js similarity index 100% rename from build/2.4.0/97.js rename to build/2.4.1/97.js diff --git a/build/2.4.0/971.js b/build/2.4.1/971.js similarity index 100% rename from build/2.4.0/971.js rename to build/2.4.1/971.js diff --git a/build/2.4.0/978.js b/build/2.4.1/978.js similarity index 100% rename from build/2.4.0/978.js rename to build/2.4.1/978.js diff --git a/build/2.4.0/993.js b/build/2.4.1/993.js similarity index 100% rename from build/2.4.0/993.js rename to build/2.4.1/993.js diff --git a/build/2.4.0/994.js b/build/2.4.1/994.js similarity index 100% rename from build/2.4.0/994.js rename to build/2.4.1/994.js diff --git a/build/2.4.0/996.js b/build/2.4.1/996.js similarity index 100% rename from build/2.4.0/996.js rename to build/2.4.1/996.js diff --git a/build/2.4.0/images/ai_bg.55900f2d.png b/build/2.4.1/images/ai_bg.55900f2d.png similarity index 100% rename from build/2.4.0/images/ai_bg.55900f2d.png rename to build/2.4.1/images/ai_bg.55900f2d.png diff --git a/build/2.4.0/images/ai_bg_low.d8292556.png b/build/2.4.1/images/ai_bg_low.d8292556.png similarity index 100% rename from build/2.4.0/images/ai_bg_low.d8292556.png rename to build/2.4.1/images/ai_bg_low.d8292556.png diff --git a/build/2.4.0/images/bluesky.733ebcbf.png b/build/2.4.1/images/bluesky.733ebcbf.png similarity index 100% rename from build/2.4.0/images/bluesky.733ebcbf.png rename to build/2.4.1/images/bluesky.733ebcbf.png diff --git a/build/2.4.0/images/content.fb050ea1.png b/build/2.4.1/images/content.fb050ea1.png similarity index 100% rename from build/2.4.0/images/content.fb050ea1.png rename to build/2.4.1/images/content.fb050ea1.png diff --git a/build/2.4.0/images/design.cc6a697f.png b/build/2.4.1/images/design.cc6a697f.png similarity index 100% rename from build/2.4.0/images/design.cc6a697f.png rename to build/2.4.1/images/design.cc6a697f.png diff --git a/build/2.4.0/images/features.593fb09c.png b/build/2.4.1/images/features.593fb09c.png similarity index 100% rename from build/2.4.0/images/features.593fb09c.png rename to build/2.4.1/images/features.593fb09c.png diff --git a/build/2.4.0/images/full-service.7f58f410.png b/build/2.4.1/images/full-service.7f58f410.png similarity index 100% rename from build/2.4.0/images/full-service.7f58f410.png rename to build/2.4.1/images/full-service.7f58f410.png diff --git a/build/2.4.0/images/full-service.adb3abd6.png b/build/2.4.1/images/full-service.adb3abd6.png similarity index 100% rename from build/2.4.0/images/full-service.adb3abd6.png rename to build/2.4.1/images/full-service.adb3abd6.png diff --git a/build/2.4.0/images/help.19cc7e75.png b/build/2.4.1/images/help.19cc7e75.png similarity index 100% rename from build/2.4.0/images/help.19cc7e75.png rename to build/2.4.1/images/help.19cc7e75.png diff --git a/build/2.4.0/images/step-interstitial.00b15f9e.png b/build/2.4.1/images/step-interstitial.00b15f9e.png similarity index 100% rename from build/2.4.0/images/step-interstitial.00b15f9e.png rename to build/2.4.1/images/step-interstitial.00b15f9e.png diff --git a/build/2.4.0/images/toggle-light-mode.8d7afd07.png b/build/2.4.1/images/toggle-light-mode.8d7afd07.png similarity index 100% rename from build/2.4.0/images/toggle-light-mode.8d7afd07.png rename to build/2.4.1/images/toggle-light-mode.8d7afd07.png diff --git a/build/2.4.0/images/wp-admin.2908b886.png b/build/2.4.1/images/wp-admin.2908b886.png similarity index 100% rename from build/2.4.0/images/wp-admin.2908b886.png rename to build/2.4.1/images/wp-admin.2908b886.png diff --git a/build/2.4.0/images/wp-admin.6c8af0b4.png b/build/2.4.1/images/wp-admin.6c8af0b4.png similarity index 100% rename from build/2.4.0/images/wp-admin.6c8af0b4.png rename to build/2.4.1/images/wp-admin.6c8af0b4.png diff --git a/build/2.4.0/images/wp-admin.d8650899.png b/build/2.4.1/images/wp-admin.d8650899.png similarity index 100% rename from build/2.4.0/images/wp-admin.d8650899.png rename to build/2.4.1/images/wp-admin.d8650899.png diff --git a/build/2.4.0/onboarding.asset.php b/build/2.4.1/onboarding.asset.php similarity index 80% rename from build/2.4.0/onboarding.asset.php rename to build/2.4.1/onboarding.asset.php index 713910db1..af0ab50a5 100644 --- a/build/2.4.0/onboarding.asset.php +++ b/build/2.4.1/onboarding.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-preferences', 'wp-primitives', 'wp-style-engine', 'wp-url'), 'version' => '43ea1d9adda26daa46b9'); + array('lodash', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-preferences', 'wp-primitives', 'wp-style-engine', 'wp-url'), 'version' => '83c030c0f5439818ee19'); diff --git a/build/2.4.0/onboarding.css b/build/2.4.1/onboarding.css similarity index 100% rename from build/2.4.0/onboarding.css rename to build/2.4.1/onboarding.css diff --git a/build/2.4.0/onboarding.js b/build/2.4.1/onboarding.js similarity index 99% rename from build/2.4.0/onboarding.js rename to build/2.4.1/onboarding.js index 9990cedfc..d3cb403c4 100644 --- a/build/2.4.0/onboarding.js +++ b/build/2.4.1/onboarding.js @@ -56,4 +56,4 @@ footer:(0,p.__)("Footer","wp-module-onboarding"),...h};return(0,r.createElement) (0,c.__)("WordPress is free %s software","wp-module-onboarding"),(0,l.P)("website")),description:(0,c.sprintf)(/* translators: 1: website or store 2: website or store */ /* translators: 1: website or store 2: website or store */ (0,c.__)("When you set up this new WordPress %1$s, you’re joining millions of website owners who publish their %2$s using the free, community-built software project we’re proud to support.","wp-module-onboarding"),(0,l.P)("website"),(0,l.P)("website"),(0,l.P)("website"))},{heading:(0,c.sprintf)(/* translators: 1: Brand 2: website or store */ /* translators: 1: Brand 2: website or store */ (0,c.__)("%1$s is your %2$s partner","wp-module-onboarding"),e,(0,l.P)("website")),description:(0,c.sprintf)(/* translators: 1: website or store 2: Brand 3. site or store */ /* translators: 1: website or store 2: Brand 3. site or store */ -(0,c.__)("A WordPress %1$s hosted by %2$s has tons of unique and proven solutions to help you get farther, faster with your WordPress. We put our expertise, partnerships and solutions to work on your %3$s.","wp-module-onboarding"),(0,l.P)("website"),e,(0,l.P)("site"))}]},help:{experts:{text:(0,c.__)("1-1 Expert Solutions & Coaching","wp-module-onboarding"),link:t},fullService:{text:(0,c.__)("Hire Our Full-Service Creative Team","wp-module-onboarding"),link:i},support:{text:(0,c.__)("Technical Support","wp-module-onboarding"),link:n}}}))(e,t,n,i),b=_?.views?.sidebar?.infoPanel?.headingWithDescriptions?.shown?v.information.headingWithDescriptions.filter(((e,t)=>_?.views?.sidebar?.infoPanel?.headingWithDescriptions?.shown?.includes(t))):v.information.headingWithDescriptions;return(0,a.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__get-started-welcome"},(0,a.createElement)(f,{heading:v.introduction.heading,subheading:v.introduction.subheading,icon:v.introduction.icon}),!1!==_?.views?.sidebar?.illustration?.shown&&(0,a.createElement)(u,{cssIcon:v.illustration.icon}),(0,a.createElement)(d,{headingWithDescriptions:b}),(0,a.createElement)(p,null,!1!==_?.views?.sidebar?.experts?.shown&&v.help.experts.link&&(0,a.createElement)(h,{text:v.help.experts.text,onClick:()=>window.open(v.help.experts.link,"_blank")}),!1!==_?.views?.sidebar?.fullService?.shown&&v.help.fullService.link&&(0,a.createElement)(m,{text:v.help.fullService.text,onClick:()=>window.open(v.help.fullService.link,"_blank")}),(0,a.createElement)(g,{text:v.help.support.text,link:v.help.support.link})))}]}},data:{tooltipText:(0,c.__)("Welcome","wp-module-onboarding")}})},4487:(e,t,n)=>{"use strict";n.d(t,{b:()=>V});var r=n(5822),i=n(8468),a=n(7723),o=n(2502),s=n(1609),c=n(6427),l=n(7677),u=n(6655),d=n(7143),p=n(9491),h=n(6087),m=n(8969),g=n(7675),f=n(6079),_=n(4097),v=n(7708),b=n(6786),w=n(5573);const y=(0,s.createElement)(w.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)(w.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}));var S=n(3013),E=n(8087);const k=(0,i.memo)((({onRegenerate:e,onCustomize:t,onRenameItemSelect:n,onViewAll:r,isLargeViewport:i,onToggle:o})=>{const u=e=>()=>{e(),o()};return(0,s.createElement)(c.MenuGroup,{className:"nfd-onboarding-header__version_dropdown-menu"},!i&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)(c.MenuItem,{onClick:u(e)},(0,s.createElement)(l.A,{icon:b.A}),(0,a.__)("Regenerate","wp-module-onboarding")),(0,s.createElement)(c.MenuItem,{onClick:u(t)},(0,s.createElement)("div",{className:"nfd-onboarding-header__version_dropdown-menu__customize-button__icon"}),(0,a.__)("Customize","wp-module-onboarding"))),(0,s.createElement)(c.MenuItem,{onClick:u(n)},(0,a.__)("Rename","wp-module-onboarding")),(0,s.createElement)(c.MenuItem,{onClick:u(r)},(0,a.__)("View All","wp-module-onboarding")))})),T=(0,i.memo)((({isFavorite:e,homepageTitle:t,onFavorite:n,onRename:r,inputRef:o,onRegenerate:u,onCustomize:d,onRenameItemSelect:p,onViewAll:h,isLargeViewport:m,isInputEnabled:g,enableInput:f})=>{const[_,v]=(0,i.useState)(t),b=()=>{v(o.current.value)},w=()=>{const e=o.current.value.trim();e&&e!==t&&r(e),f(!1)};return(0,i.useEffect)((()=>{g&&o.current?.focus()}),[g,o]),(0,i.useEffect)((()=>{v(t)}),[t]),(0,s.createElement)(c.Dropdown,{renderToggle:({isOpen:t,onToggle:r})=>(0,s.createElement)("div",{role:"button",tabIndex:"0","aria-expanded":t,"aria-label":(0,a.__)("Regenerate","wp-module-onboarding"),className:"navigation-buttons-editor"},(0,s.createElement)("div",{className:"navigation-buttons-editor__favorite",role:"button",tabIndex:0,onKeyDown:n,onClick:n},e?(0,s.createElement)(E.h,null):(0,s.createElement)(S.h,null)),(0,s.createElement)("input",{ref:o,disabled:!g,className:"nfd-onboarding-header__center-input",type:"text",value:_,onBlur:w,onChange:b}),(0,s.createElement)(l.A,{className:"nfd-onboarding-header__center-dropdown_icon",icon:y,onClick:r,onKeyDown:e=>{"Enter"===e.key&&r()}})),renderContent:({onToggle:e})=>(0,s.createElement)(k,{onRegenerate:u,onCustomize:d,onRenameItemSelect:p,onViewAll:h,isLargeViewport:m,onToggle:e})})})),x=({handleFavorite:e,handleRename:t,handleViewAll:n,handleRegenerate:r,handleCustomize:a,homepageTitle:o,isFavorite:c})=>{const l=(0,p.useViewportMatch)("medium"),u=(0,i.useRef)(null),[d,h]=(0,i.useState)(!1),m=e=>{h(e),e&&u.current?.focus()},g=()=>{if("function"==typeof g)return e()};return(0,s.createElement)("div",{className:"nfd-onboarding-header__step-navigation"},(0,s.createElement)(T,{isFavorite:c,homepageTitle:o,onFavorite:g,onRename:e=>{"function"==typeof t&&t(e)},inputRef:u,onRegenerate:()=>{if("function"==typeof r)return r()},onCustomize:()=>{if("function"==typeof a)return a()},onRenameItemSelect:()=>{m(!0)},onViewAll:()=>{if("function"==typeof n)return n()},isLargeViewport:l,isInputEnabled:d,enableInput:m}))};var C=n(7517),N=n(7044),A=n(1455),I=n.n(A),D=n(8674),O=n(5435),P=n(1056),M=n(2202),R=n(8744);const $=(0,i.lazy)((()=>n.e(396).then(n.bind(n,9396)))),L=(0,i.lazy)((()=>n.e(100).then(n.bind(n,1100)))),z=(0,s.forwardRef)(((e,t)=>{const[n,r]=(0,i.useState)(!0),{updateCustomizeSidebarData:o}=(0,d.useDispatch)(g.M),c=(0,s.createRef)(),l=(0,s.createRef)(),u=()=>{l.current.resetToDefaultFonts(),c.current.resetToDefaultColors()};if((0,s.useImperativeHandle)(t,(()=>({resetCustomizationCallback:u}))),(0,i.useEffect)((()=>{(async()=>{const e=await(0,v.gK)();o(e?.body),r(!1)})()}),[]),n)return(0,s.createElement)("div",null,"...");const p={introduction:{heading:(0,a.__)("Colors","wp-module-onboarding")}};return(0,s.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__design-colors"},(0,s.createElement)(L,{heading:p.introduction.heading,ref:c}),(0,s.createElement)($,{ref:l}))})),F=(0,i.lazy)((()=>n.e(426).then(n.bind(n,426)))),V=new o.p({slug:"sitegen-editor",path:"/sitegen/step/editor",title:(0,a.__)("Page Layouts","wp-module-onboarding"),Component:F,icon:r.A,sidebars:{Customize:{SidebarComponents:[z]}},header:()=>{const[e,t]=(0,i.useState)(),[n,r]=(0,i.useState)(!1),[o,b]=(0,i.useState)(!1),[w,y]=(0,i.useState)(!1),S=(0,p.useViewportMatch)("medium"),{setCurrentOnboardingData:E,setSidebarActiveView:k,setIsSidebarOpened:T,setInteractionDisabled:A}=(0,d.useDispatch)(g.M),{currentData:$,sideBarView:L,isSidebarOpened:z}=(0,d.useSelect)((e=>({currentData:e(g.M).getCurrentOnboardingData(),sideBarView:e(g.M).getSidebarView(),isSidebarOpened:e(g.M).isSidebarOpened()}))),F=async()=>{if(n)return;if(b(!0),""===$.sitegen.siteDetails?.prompt)return void b(!1);const t=$.sitegen.homepages.data;if(!(e.slug in t))return void b(!1);const{slug:r,title:i,color:a,isFavorite:o}=e||{},s=await(0,v.HA)($.sitegen.siteDetails.prompt,r,a,o);if(s.error)return void b(!1);const c=s.body;if(o){const e=`${i} (Copy)`;e!==c?.title&&(c.title=e)}t[c.slug]=c,$.sitegen.homepages.data=t,$.sitegen.homepages.active=c,E($),b(!1),(0,P.v)(new P.iC(M.Hf,r,{source:R.d0,placement:"editor_toolbar"}))},V=async()=>{const e="Customize"===L?!z:z;k("Customize"),T(e),!0===e&&(0,P.v)(new P.iC(M.cB,"customize"));const t=await(0,C.w6)();y(t.body)},H=async()=>{r(!0);const e=$.sitegen.homepages.data,t=$.sitegen.homepages.active,n=((e,t)=>(0,s.createElement)("div",{className:"nfd-onboarding-screenshot-container__pages"},Object.keys(e).map(((n,r)=>{const i=e[n];if(!i.isFavorite&&n!==t.slug)return!1;const a=(0,h.cloneDeep)(w[0]);a.settings.color.palette=i.color.palette;let o="";return["header","content","footer"].forEach((e=>{e in i&&(o+=i[e])})),(0,s.createElement)(N.pA,{key:r,blockGrammer:o,previewSettings:a,slug:n,tabIndex:"0",role:"button"})}))))(e,t),a=document.querySelector(".nfd-onboarding-screenshot-container");if(a){(0,i.render)(n,a);const r=e=>new Promise((t=>setTimeout(t,e)));await r(5e3);const o=await Promise.all(Object.keys(e).map((n=>!(!e[n].isFavorite&&n!==t.slug)&&async function(e){return await(0,O.h)(I()({url:(0,D.fG)("block-render/screenshot"),method:"POST",data:{width:1200,height:900,content:e}}).then())}((a.querySelector(`div > div[data-slug="nfd-onboarding-block-preview-${n}"] > div.block-editor-block-preview__container > div > div > .block-editor-iframe__scale-container > iframe`)||a.querySelector(`div > div[data-slug="nfd-onboarding-block-preview-${n}"] > .block-editor-block-preview__container > div > iframe`)).contentWindow.document.querySelector(".block-editor-block-preview__content-iframe").innerHTML))));Object.keys(e).forEach(((n,r)=>{o[r]?.body?.screenshot&&(e[n].screenshot=o[r].body.screenshot,n===t.slug&&(t.screenshot=o[r].body.screenshot))})),$.sitegen.homepages.data=e,$.sitegen.homepages.active=t,E($)}await(0,f.V1)($),await(0,f.IS)(),(0,P.SV)(new P.iC(M.Vg,void 0,{source:R.d0})),window.location.replace(m.R0)};return(0,i.useEffect)((()=>{V()}),[]),(0,i.useEffect)((()=>{$?.sitegen?.homepages?.active&&t($.sitegen.homepages.active)}),[$]),(0,i.useEffect)((()=>(A(!(!n&&!o)),()=>{A(!1)})),[n,o]),(0,s.createElement)(s.Fragment,null,(0,s.createElement)(c.Fill,{name:`${m.Ix}/${m.nK}`},(0,s.createElement)("div",{className:"nfd-onboarding-header--sitegen__editor__start"},S&&(0,s.createElement)("div",{className:`nfd-onboarding-header--sitegen__editor__start__regenerate ${n&&"nfd-onboarding-header--sitegen__editor__start__regenerate__disabled"}`,role:"button",tabIndex:0,onClick:F,onKeyDown:F},(0,s.createElement)("div",{className:"nfd-onboarding-header--sitegen__editor__start__regenerate__icon"}),(0,s.createElement)("div",{className:"nfd-onboarding-header--sitegen__editor__start__regenerate__text"},(0,a.__)("Regenerate","wp-module-onboarding")),o&&(0,s.createElement)(_.A,{className:"nfd-onboarding-header--sitegen__editor__start__regenerate__spinner"})))),(0,s.createElement)(c.Fill,{name:`${m.Ix}/${m.me}`},e&&(0,s.createElement)("div",{className:"nfd-onboarding-header--sitegen__editor__center"},(0,s.createElement)(x,{handleFavorite:()=>{if(n)return;const t=$.sitegen.homepages.data;if(!(e.slug in t))return;const r=!e.isFavorite;e.isFavorite=r,$.sitegen.homepages.data[e.slug]=e,$.sitegen.homepages.active=e,E($),(0,P.v)(new P.iC(M.Nz,e.slug,{favorite:r,placement:"editor_toolbar",source:R.d0}))},handleViewAll:()=>{z&&L===m.V_||(k(m.V_),T(!0),(0,P.v)(new P.iC(M.cB,"all_versions",{source:R.d0})))},handleCustomize:V,handleRegenerate:F,handleRename:t=>{e.title=t,$.sitegen.homepages.data[e.slug]=e,$.sitegen.homepages.active=e,E($),(0,P.v)(new P.iC(M.TH,e.slug,{name:t,source:R.d0}))},homepageTitle:e.title,isFavorite:e.isFavorite}))),(0,s.createElement)(c.Fill,{name:`${m.Ix}/${m.KZ}`},(0,s.createElement)("div",{className:"nfd-onboarding-header--sitegen__editor__end"},S&&(0,s.createElement)("div",{className:`nfd-onboarding-header--sitegen__editor__end__customize-button ${n&&"nfd-onboarding-header--sitegen__editor__end__customize-button__disabled"}`,onClick:V,onKeyDown:V,role:"presentation"},(0,s.createElement)("div",{className:"nfd-onboarding-header--sitegen__editor__end__customize-button__icon"}),(0,s.createElement)("div",{className:"nfd-onboarding-header--sitegen__editor__end__customize-button__text"},(0,a.__)("Customize","wp-module-onboarding"))),(0,s.createElement)("div",{className:"nfd-onboarding-header--sitegen__editor__end__save-button"},(0,s.createElement)("div",{className:"nfd-onboarding-header--sitegen__editor__end__save-button__text",onClick:H,role:"button",tabIndex:0,onKeyDown:H},S?(0,a.__)("Save & Continue","wp-module-onboarding"):(0,a.__)("Next","wp-module-onboarding")),n?(0,s.createElement)(_.A,{className:"nfd-onboarding-header--sitegen__editor__end__save-button__spinner"}):(0,s.createElement)(l.A,{icon:u.A,className:"nfd-onboarding-header--sitegen__editor__end__save-button__icon"})))))}})},3731:(e,t,n)=>{"use strict";n.d(t,{O:()=>c});var r=n(5822),i=n(8468),a=n(7723),o=n(2502);const s=(0,i.lazy)((()=>n.e(218).then(n.bind(n,1218)))),c=new o.p({slug:"sitegen-migration",path:"/sitegen/step/migration",title:(0,a.__)("Migration","wp-module-onboarding"),Component:s,icon:r.A,drawerNavigation:!1,sidebars:{LearnMore:{SidebarComponents:[]}}})},9034:(e,t,n)=>{"use strict";n.d(t,{O:()=>c});var r=n(5822),i=n(8468),a=n(7723),o=n(2502);const s=(0,i.lazy)((()=>n.e(866).then(n.bind(n,3866)))),c=new o.p({slug:"fork",path:"/wp-setup/step/fork",title:(0,a.__)("The Fork","wp-module-onboarding"),Component:s,icon:r.A,drawerNavigation:!1,sidebars:{LearnMore:{SidebarComponents:[]}}})},7675:(e,t,n)=>{"use strict";n.d(t,{M:()=>ht});var r={};n.r(r),n.d(r,{dequeueRequest:()=>M,enqueueRequest:()=>P,flushQueue:()=>R,resetNavError:()=>z,setActiveChapter:()=>p,setActiveFlow:()=>u,setActiveStep:()=>d,setContinueWithoutAi:()=>W,setCurrentOnboardingData:()=>m,setDrawerActiveView:()=>s,setFooterActiveView:()=>x,setHeaderActiveView:()=>E,setHeaderMenuData:()=>O,setHideFooterNav:()=>T,setInstaWpMigrationUrl:()=>h,setInteractionDisabled:()=>U,setIsDrawerOpened:()=>c,setIsDrawerSuppressed:()=>l,setIsFooterNavAllowed:()=>k,setIsGeneratingHomepages:()=>F,setIsHeaderEnabled:()=>S,setIsHeaderNavigationEnabled:()=>y,setIsSidebarOpened:()=>b,setNavErrorContinuePath:()=>L,setOnboardingSocialData:()=>g,setRuntime:()=>o,setSidebarActiveView:()=>w,showNavErrorDialog:()=>$,updateAllSteps:()=>A,updateCustomizeSidebarData:()=>V,updateDesignRoutes:()=>D,updateInitialize:()=>v,updatePreviewSettings:()=>C,updateRoutes:()=>N,updateSettings:()=>f,updateSiteGenErrorStatus:()=>H,updateThemeStatus:()=>_,updateTopSteps:()=>I});var i={};n.r(i),n.d(i,{canMigrateSite:()=>Le,getActiveDrawerView:()=>G,getAllSteps:()=>pe,getCurrentChapter:()=>we,getCurrentOnboardingData:()=>ce,getCurrentStep:()=>ve,getCurrentStepPath:()=>ge,getCurrentUserDetails:()=>je,getCustomizeSidebarData:()=>qe,getDesignRoutes:()=>me,getExperienceLevel:()=>We,getExpertsUrl:()=>Pe,getFirstStep:()=>fe,getFooterActiveView:()=>ee,getFooters:()=>Z,getHeaderActiveView:()=>X,getHeaderMenuData:()=>Oe,getHeaders:()=>J,getHideFooterNav:()=>ne,getHireExpertsUrl:()=>se,getInitialize:()=>Ie,getInteractionDisabled:()=>Ke,getIsFooterNavAllowed:()=>te,getIsFreshInstallation:()=>Qe,getLastStep:()=>_e,getMigrationUrl:()=>$e,getNavErrorPath:()=>Ue,getNewfoldBrand:()=>re,getNewfoldBrandConfig:()=>ae,getNewfoldBrandName:()=>ie,getNewfoldBrandUrl:()=>oe,getNextStep:()=>Ee,getOnboardingFlow:()=>ue,getOnboardingSocialData:()=>le,getPluginInstallHash:()=>ze,getPreviewSettings:()=>Ce,getPreviousStep:()=>Se,getQueuePeek:()=>Fe,getRoutes:()=>de,getSettings:()=>Ne,getShowErrorDialog:()=>He,getSidebarView:()=>Te,getSidebars:()=>xe,getSiteGenErrorStatus:()=>Ye,getStepFromPath:()=>ye,getStepPreviewData:()=>De,getTechSupportUrl:()=>Re,getThemeStatus:()=>Ae,getTopPriority:()=>Be,getTopSteps:()=>he,getfullServiceCreativeTeamUrl:()=>Me,getinstaWpMigrationUrl:()=>be,isDrawerOpened:()=>q,isDrawerSuppressed:()=>Y,isGeneratingHomepages:()=>Ge,isHeaderEnabled:()=>Q,isHeaderNavigationEnabled:()=>K,isQueueEmpty:()=>Ve,isSidebarOpened:()=>ke});var a=n(8744);function o(e){var t;return window.nfdOnboarding={buildUrl:e.buildUrl,siteUrl:e.siteUrl,migrated:!0,currentFlow:null!==(t=e.currentFlow)&&void 0!==t?t:a.rA},{type:"SET_RUNTIME",runtime:e}}function s(e){return{type:"SET_DRAWER_ACTIVE_VIEW",view:e}}function c(e){return{type:"SET_DRAWER_OPENED",isOpen:e}}function l(e){return{type:"SET_DRAWER_SUPPRESSED",isSuppressed:e}}function u(e){return{type:"SET_ACTIVE_FLOW",flow:e}}function d(e){return{type:"SET_ACTIVE_STEP",path:e=e.replace(/\/$/,"")}}function p(e){return{type:"SET_ACTIVE_CHAPTER",chapter:e}}function h(e){return{type:"SET_INSTAWP_MIGRATION_URL",instaWpMigrationUrl:e}}function m(e){return{type:"SET_CURRENT_DATA",flowData:e}}function g(e){return{type:"SET_SOCIAL_DATA",socialData:e}}function f(e){return{type:"UPDATE_SETTINGS",settings:e}}function _(e){return{type:"UPDATE_THEME_STATUS",themeStatus:e}}function v(e){return{type:"UPDATE_INITIALIZE",initialize:e}}function b(e){return{type:"SET_SIDEBAR_OPENED",isOpen:e}}function w(e){return{type:"SET_SIDEBAR_ACTIVE_VIEW",view:e}}function y(e){return{type:"SET_HEADER_NAVIGATION_ENABLED",isNavigationEnabled:e}}function S(e){return{type:"SET_HEADER_ENABLED",isEnabled:e}}function E(e){return{type:"SET_HEADER_ACTIVE_VIEW",view:e}}function k(e){return{type:"SET_IS_FOOTER_NAV_ALLOWED",isNavAllowed:e}}function T(e){return{type:"SET_HIDE_FOOTER_NAV",hideFooterNav:e}}function x(e){return{type:"SET_FOOTER_ACTIVE_VIEW",view:e}}function C(e){return{type:"SET_PREVIEW_SETTINGS",previewSettings:e}}function N(e){return{type:"UPDATE_ROUTES",routes:e}}function A(e){return{type:"UPDATE_ALL_STEPS",allSteps:e}}function I(e){return{type:"UPDATE_TOP_STEPS",topSteps:e}}function D(e){return{type:"UPDATE_DESIGN_ROUTES",designRoutes:e}}function O(e){return{type:"UPDATE_HEADER_MENU_DATA",menu:e}}function P(e,t){return{type:"ENQUEUE_REQUEST",id:e,request:t}}function M(){return{type:"DEQUEUE_REQUEST"}}function R(){return{type:"FLUSH_QUEUE"}}function $(e){return{type:"SHOW_NAV_ERROR_DIALOG",showDialog:e}}function L(e){return{type:"SET_NAV_ERROR_CONTINUE_PATH",continuePath:e}}function z(){return{type:"RESET_NAV_ERROR"}}const F=e=>({type:"SET_IS_GENERATING_HOMEPAGES",isGeneratingHomepages:e});function V(e){return{type:"CUSTOMIZE_SIDEBAR_DATA",customizeSidebarData:e}}function H(e){return{type:"SET_SITEGEN_AI_ERROR_STATUS",siteGenErrorStatus:e}}function U(e){return{type:"SET_INTERACTION_DISABLED",interactionDisabled:e}}function W(e){return{type:"SET_FLOW_WITHOUT_AI",continueWithoutAi:e}}var B=n(6087),j=n(3832);function G(e){return e.drawer.view}function q(e){return e.drawer.isOpen}function Y(e){return e.drawer.isSuppressed}function K(e){return e.header.isNavigationEnabled}function Q(e){return e.header.isEnabled}function J(e){return e.header.headers}function Z(e){return e.footer.footers}function X(e){return e.header.view}function ee(e){return e.footer.view}function te(e){return e.footer.isNavAllowed}function ne(e){return e.footer.hideFooterNav}function re(e){return e.runtime.currentBrand.brand}function ie(e){return e.runtime.currentBrand.name}function ae(e){return e.runtime.currentBrand.config}function oe(e){return e.runtime.currentBrand.url}function se(e){const t=e.runtime.currentBrand.hireExpertsInfo;return(0,j.addQueryArgs)(t?.defaultLink,t?.queryParameters)+(t?.fragment||"")}function ce(e){return e.data.flowData}function le(e){return e.data.socialData}function ue(e){var t;return null!==(t=e.runtime.currentFlow)&&void 0!==t?t:a.rA}function de(e){return e.flow.steps.routes}function pe(e){return e.flow.steps.allSteps}function he(e){return e.flow.steps.topSteps}function me(e){return e.flow.steps.designRoutes}function ge(e){return e.flow.steps.currentStep}function fe(e){return e.flow.steps.allSteps[0]}function _e(e){return e.flow.steps.allSteps[e.flow.steps.allSteps.length-1]}function ve(e){return(0,B.filter)(e.flow.steps.allSteps,["path",e.flow.steps.currentStep])[0]}function be(e){return e.runtime.currentBrand.migrationInfo.instaWpMigrationUrl}function we(e){return e.flow.chapter}function ye(e,t){return(0,B.filter)(e.flow.steps.allSteps,["path",t])[0]}function Se(e){const t=(0,B.findIndex)(e.flow.steps.allSteps,{path:e.flow.steps.currentStep});return 0===t?null:-1!==t&&e.flow.steps.allSteps[t-1]}function Ee(e){const t=e.flow.steps.allSteps.length-1,n=(0,B.findIndex)(e.flow.steps.allSteps,{path:e.flow.steps.currentStep});return t===n?null:-1!==n&&e.flow.steps.allSteps[n+1]}function ke(e){return e.sidebar.isOpen}function Te(e){return e.sidebar.view}function xe(e){return(0,B.filter)(e.sidebar.sidebars,["enabled",!0])}function Ce(e){return e.runtime.previewSettings.settings}function Ne(e){return e.settings}function Ae(e){return e.settings.themeStatus}function Ie(e){return e.settings.initialize}function De(e){return e.runtime.previewSettings.stepPreviewData}function Oe(e){return e.header.menu}function Pe(e){const t=e.runtime.currentBrand.expertsInfo;return(0,j.addQueryArgs)(t?.defaultLink,t?.queryParams)+(t?.fragment||"")}function Me(e){const t=e.runtime.currentBrand.fullServiceCreativeTeamInfo;return(0,j.addQueryArgs)(t?.defaultLink,t?.queryParams)+(t?.fragment||"")}function Re(e){const t=e.runtime.currentBrand.techSupportInfo;return(0,j.addQueryArgs)(t?.defaultLink,t?.queryParams)+(t?.fragment||"")}function $e(e){const t=e.runtime.currentBrand.migrationInfo;return(0,j.addQueryArgs)(t?.defaultLink,t?.queryParams)+(t?.fragment||"")}function Le(e){const t=e.runtime.currentBrand.config;return t?.canMigrateSite}function ze(e){return e.runtime.pluginInstallHash}function Fe(e){var t;return null!==(t=e?.queue[0])&&void 0!==t?t:null}function Ve(e){return 0===e?.queue?.length}function He(e){return e.flow.steps.error.showDialog}function Ue(e){return e.flow.steps.error.continuePath}function We(e){return e.data.flowData?.data.wpComfortLevel}function Be(e){return e.data.flowData?.data.topPriority.priority1}function je(e){return e.runtime.currentUserDetails}const Ge=e=>e.data.isGeneratingHomepages;function qe(e){return e.runtime.customizeSidebarData}function Ye(e){return e.data.flowData?.sitegen.siteGenErrorMeta.status}function Ke(e){return e.flow.interactionDisabled}function Qe(e){return e.runtime.isFreshInstallation}var Je=n(7143),Ze=n(8969),Xe=n(6478),et=n(8468);const tt=(0,et.lazy)((()=>n.e(202).then(n.bind(n,4202)))),nt=(0,et.lazy)((()=>n.e(356).then(n.bind(n,2356)))),rt=(0,et.lazy)((()=>n.e(803).then(n.bind(n,8803)))),it=(0,et.lazy)((()=>n.e(910).then(n.bind(n,3910)))),at=(0,et.lazy)((()=>n.e(40).then(n.bind(n,5040)))),ot=[{id:Ze.Qe,menu:tt,sidebar:nt,enabled:!0},{id:Ze.V_,sidebar:rt,enabled:!0},{id:Ze.jK,menu:it,sidebar:at,enabled:!0}],st=(0,et.lazy)((()=>n.e(403).then(n.bind(n,1403)))),ct=(0,et.lazy)((()=>n.e(796).then(n.bind(n,5796)))),lt=[{id:Ze.Ix,header:st,enabled:!0},{id:Ze.Mw,header:ct,enabled:!0}],ut=(0,et.lazy)((()=>n.e(971).then(n.bind(n,1971)))),dt=[{id:Ze.Sr,footer:ut,enabled:!0}],pt={reducer:(0,Je.combineReducers)({drawer:function(e={isOpen:!1,isSuppressed:!1,view:Ze.vO},t){switch(t.type){case"SET_DRAWER_OPENED":return{...e,isOpen:t.isOpen};case"SET_DRAWER_ACTIVE_VIEW":return{...e,view:t.view};case"SET_DRAWER_SUPPRESSED":return{...e,isSuppressed:t.isSuppressed,isOpen:!t.isSuppressed&&e.isOpen}}return e},runtime:function(e={},t){switch(t.type){case"SET_RUNTIME":return{...e,...t.runtime};case"SET_PREVIEW_SETTINGS":return{...e,previewSettings:{...e.previewSettings,settings:t.previewSettings}};case"CUSTOMIZE_SIDEBAR_DATA":return{...e,customizeSidebarData:t.customizeSidebarData};case"SET_INSTAWP_MIGRATION_URL":return{...e,currentBrand:{...e.currentBrand,migrationInfo:{...e.currentBrand.migrationInfo,instaWpMigrationUrl:t.instaWpMigrationUrl}}}}return e},data:function(e={},t){switch(t.type){case"SET_CURRENT_DATA":return{...e,flowData:{...t.flowData}};case"SET_SOCIAL_DATA":return{...e,socialData:{...t.socialData}};case"SET_SITEGEN_AI_ERROR_STATUS":const n=!e.flowData.sitegen.siteGenErrorMeta.status&&t.siteGenErrorStatus;return{...e,flowData:{...e.flowData,sitegen:{...e.flowData.sitegen,siteGenErrorMeta:{...e.flowData.sitegen.siteGenErrorMeta,status:t.siteGenErrorStatus,retryCount:!0===n?e.flowData.sitegen.siteGenErrorMeta.retryCount+1:e.flowData.sitegen.siteGenErrorMeta.retryCount}}}};case"SET_IS_GENERATING_HOMEPAGES":return{...e,isGeneratingHomepages:t.isGeneratingHomepages}}return e},settings:function(e={themeStatus:Ze.So,initialize:!1},t){switch(t.type){case"UPDATE_SETTINGS":return{...e,...t.settings};case"UPDATE_THEME_STATUS":return{...e,themeStatus:t.themeStatus};case"UPDATE_INITIALIZE":return{...e,initialize:t.initialize}}return e},flow:function(e={flow:a.rA,steps:{routes:Xe.FI,allSteps:Xe.o2,topSteps:Xe.Zq,designRoutes:Xe.Tk,currentStep:"",error:{showDialog:!1,continuePath:""}},chapter:void 0,interactionDisabled:!1},t){switch(t.type){case"SET_ACTIVE_STEP":return{...e,steps:{...e.steps,currentStep:t.path}};case"SET_ACTIVE_FLOW":return{...e,flow:t.flow};case"UPDATE_ROUTES":return{...e,steps:{...e.steps,routes:t.routes}};case"UPDATE_ALL_STEPS":return{...e,steps:{...e.steps,allSteps:t.allSteps}};case"UPDATE_TOP_STEPS":return{...e,steps:{...e.steps,topSteps:t.topSteps}};case"UPDATE_DESIGN_ROUTES":return{...e,steps:{...e.steps,designRoutes:t.designRoutes}};case"SHOW_NAV_ERROR_DIALOG":return{...e,steps:{...e.steps,error:{...e.steps.error,showDialog:t.showDialog}}};case"SET_NAV_ERROR_CONTINUE_PATH":return{...e,steps:{...e.steps,error:{...e.steps.error,continuePath:t.continuePath}}};case"RESET_NAV_ERROR":return{...e,steps:{...e.steps,error:{showDialog:!1,continuePath:""}}};case"SET_ACTIVE_CHAPTER":return{...e,chapter:t.chapter};case"SET_INTERACTION_DISABLED":return{...e,interactionDisabled:t.interactionDisabled};case"SET_FLOW_WITHOUT_AI":return{...e,flow:t.continueWithoutAi}}return e},sidebar:function(e={isOpen:!1,view:"LearnMore",sidebars:ot},t){switch(t.type){case"SET_SIDEBAR_OPENED":return{...e,isOpen:t.isOpen};case"SET_SIDEBAR_ACTIVE_VIEW":return{...e,view:t.view}}return e},header:function(e={isNavigationEnabled:!0,menu:"",isEnabled:!0,headers:lt,view:Ze.Mw},t){switch(t.type){case"SET_HEADER_NAVIGATION_ENABLED":return{...e,isNavigationEnabled:t.isNavigationEnabled};case"SET_HEADER_ENABLED":return{...e,isEnabled:t.isEnabled};case"UPDATE_HEADER_MENU_DATA":return{...e,menu:t.menu};case"SET_HEADER_ACTIVE_VIEW":return{...e,view:t.view}}return e},footer:function(e={footers:dt,isNavAllowed:!0,hideFooterNav:!1,view:Ze.Sr},t){switch(t.type){case"SET_IS_FOOTER_NAV_ALLOWED":return{...e,isNavAllowed:t.isNavAllowed};case"SET_HIDE_FOOTER_NAV":return{...e,hideFooterNav:t.hideFooterNav};case"SET_FOOTER_ACTIVE_VIEW":return{...e,view:t.view}}return e},queue:function(e=[],t){switch(t.type){case"ENQUEUE_REQUEST":return e=e.filter((e=>e[0]!==t.id)),[...e,[t.id,t.request]];case"DEQUEUE_REQUEST":return[...e.slice(1)];case"FLUSH_QUEUE":return(async e=>{const t=e,n=async(e=1)=>{t[0]&&await t[0][1]().then((t=>{t.error&&et.shift())).then(n)};await n()})(e),[]}return e}}),actions:r,selectors:i},ht=(0,Je.createReduxStore)("newfold/onboarding",pt);(0,Je.register)(ht)},2202:(e,t,n)=>{"use strict";n.d(t,{DN:()=>g,Dl:()=>z,Ep:()=>p,Fi:()=>b,Hf:()=>D,N0:()=>o,Nz:()=>O,Qh:()=>C,Qp:()=>A,TH:()=>P,Vg:()=>i,WN:()=>N,WT:()=>w,Wi:()=>I,XJ:()=>L,Zt:()=>_,aq:()=>l,cB:()=>M,cW:()=>$,ce:()=>h,f2:()=>y,gH:()=>c,hi:()=>d,j7:()=>S,k2:()=>u,nS:()=>x,o3:()=>f,oA:()=>a,o_:()=>T,p$:()=>r,r2:()=>m,rf:()=>v,uv:()=>R,vO:()=>s,vY:()=>E,wo:()=>k});const r="onboarding_started",i="onboarding_complete",a="pageview",o="onboarding_top_priority_set",s="onboarding_step_skipped",c="primary_type_set",l="secondary_type_set",u="experience_level_set",d="theme_style_selected",p="colors_selected",h="fonts_selected",m="header_selected",g="homepage_layout_selected",f="starter_pages_selected",_="feature_added",v="site_title_set",b="tagline_set",w="logo_added",y="onboarding_exited",S="onboarding_chapter_started",E="onboarding_chapter_complete",k="social_added",T="migration_initiated",x="mfe_migration_initiated",C="fork_option_selected",N="site_details_prompt_set",A="logo_skipped",I="homepage_selected",D="homepage_regenerated",O="homepage_favorited",P="homepage_renamed",M="sidebar_opened",R="site_generation_time",$="error_state_triggered",L="wonder_start",z={[o]:"top_priority",[s]:"step",[c]:"primary_type",[l]:"secondary_type",[u]:"experience_level",[d]:"theme_style",[p]:"color_palette",[h]:"font_set",[m]:"header",[g]:"layout",[f]:"pages",[_]:"feature",[v]:"title",[b]:"tagline",[y]:"step",[S]:"chapter",[E]:"chapter",[k]:"platform",[C]:"flow",[N]:"prompt",social_connected:"platform",[I]:"version",[D]:"version",[O]:"version",[M]:"type",[P]:"version",[R]:"time",[T]:"path",[x]:"path",[$]:"identifier"}},1056:(e,t,n)=>{"use strict";n.d(t,{iC:()=>a,Co:()=>c,SV:()=>s,v:()=>o});var r=n(4371),i=n(2202);class a extends r.c{constructor(e,t,n,r,a=i.XJ){const o=c(e);super(a,e,{label_key:o,[o]:t,...n,page:r||window.location.href},a)}}const o=e=>r.y.track(e),s=e=>r.y.send(e),c=e=>{if(e in i.Dl)return i.Dl[e]}},8674:(e,t,n)=>{"use strict";n.d(t,{EG:()=>a,RE:()=>o,fG:()=>i,zV:()=>s});var r=n(8969);const i=(e,t=!0)=>`${r.Xi}/${e}`+(t&&window.nfdOnboarding?.currentFlow?`&flow=${window.nfdOnboarding.currentFlow}`:""),a=e=>`${r.g5}/${e}`,o=e=>`${r.No}/${e}`,s=e=>`${r.h0}/${e}`},5171:(e,t,n)=>{"use strict";n.d(t,{Im:()=>o,JK:()=>s,mj:()=>c});var r=n(1455),i=n.n(r),a=n(8674);const o=e=>0===Object.keys(e).length;async function s(){return i()({url:(0,a.zV)("settings")})}async function c(e){return i()({url:(0,a.zV)("settings"),method:"POST",data:e})}},6079:(e,t,n)=>{"use strict";n.d(t,{HR:()=>d,IS:()=>u,V1:()=>l,lv:()=>c});var r=n(5435),i=n(8674),a=n(1455),o=n.n(a);let s;async function c(){return await(0,r.h)(o()({url:(0,i.fG)("flow")}).then())}async function l(e){s&&s.abort("New setFlow request placed!"),s=new AbortController;const{signal:t}=s;return await(0,r.h)(o()({url:(0,i.fG)("flow"),signal:t,method:"POST",data:e}).then())}async function u(){return await(0,r.h)(o()({url:(0,i.fG)("flow/complete"),method:"POST"}).then())}async function d(e){return await(0,r.h)(o()({url:(0,i.fG)("flow/switch"),method:"POST",data:{flow:e}}).then())}},8520:(e,t,n)=>{"use strict";n.d(t,{O:()=>s});var r=n(5435),i=n(8674),a=n(1455),o=n.n(a);async function s(e=!1,t=!1){return await(0,r.h)(o()({url:(0,i.fG)("patterns"+(e?`&step=${e}&squash=${t}`:""))}).then())}},8559:(e,t,n)=>{"use strict";n.d(t,{Ts:()=>l,YR:()=>d,ze:()=>u});var r=n(1455),i=n.n(r),a=n(8674),o=n(3272),s=n(5435),c=n(8969);const l=e=>{if((0,o.qn)(c.z3))return!0;i()({url:(0,a.fG)("plugins/initialize"),method:"POST",headers:{"X-NFD-INSTALLER":e||window.nfdOnboarding.pluginInstallHash}}).catch((e=>{console.error(e)}))},u=async()=>await(0,s.h)(i()({url:(0,a.fG)("plugins/site-features")}));async function d(){return await(0,s.h)(i()({url:(0,a.fG)("plugins/initialize/activate"),method:"POST"}).then())}},5435:(e,t,n)=>{"use strict";async function r(e){const t={body:null,error:null};try{t.body=await e}catch(e){t.error=e}return t}n.d(t,{h:()=>r})},2014:(e,t,n)=>{"use strict";n.d(t,{mt:()=>c,n_:()=>u,oc:()=>l});var r=n(1455),i=n.n(r),a=n(5435),o=n(8969),s=n(8674);async function c(){return await(0,a.h)(i()({url:(0,s.fG)("settings")}).then())}async function l(e){return await(0,a.h)(i()({url:(0,s.fG)("settings"),method:"POST",data:e}).then())}const u=(e=0)=>!(e>=o.lp)&&i()({url:(0,s.fG)("settings/initialize"),method:"POST"}).catch((()=>{u(e+=1)}))},7708:(e,t,n)=>{"use strict";n.d(t,{HA:()=>u,OD:()=>h,c7:()=>l,gK:()=>d,iQ:()=>c,kA:()=>s,rZ:()=>p});var r=n(1455),i=n.n(r),a=n(5435),o=n(8674);async function s(){return await(0,a.h)(i()({url:(0,o.fG)("sitegen/identifiers")}).then())}async function c(e,t,n=!0){return await(0,a.h)(i()({url:(0,o.fG)("sitegen/generate"),method:"POST",data:{site_info:e,identifier:t,skip_cache:n}}))}async function l(e){return await(0,a.h)(i()({url:(0,o.fG)("sitegen/homepages"),method:"POST",data:{site_description:e}}).then())}async function u(e,t,n,r){return await(0,a.h)(i()({url:(0,o.fG)("sitegen/homepages/regenerate"),method:"POST",data:{site_description:e,slug:t,palette:n,isFavorite:r}}).then())}async function d(){return await(0,a.h)(i()({url:(0,o.fG)("sitegen/customize-data")}).then())}async function p(e){return await(0,a.h)(i()({url:(0,o.fG)("sitegen/pages/sitemap"),method:"POST",data:{site_description:e}}).then())}async function h(){return await(0,a.h)(i()({url:(0,o.RE)("migrate/connect")}).then())}},7517:(e,t,n)=>{"use strict";n.d(t,{Ts:()=>l,_t:()=>g,ai:()=>u,kt:()=>f,oy:()=>h,qv:()=>m,w6:()=>p,xN:()=>d});var r=n(1455),i=n.n(r),a=n(8674),o=n(5435),s=n(3272),c=n(8969);const l=()=>{if((0,s.qn)(c.X0))return!0;i()({url:(0,a.fG)("themes/initialize"),method:"POST"}).catch((e=>{console.error(e)}))},u=async(e,t=!0,n=!0)=>"string"==typeof e&&await(0,o.h)(i()({url:(0,a.EG)("themes/install"),method:"POST",data:{theme:e,activate:t,queue:n}})),d=async(e,t=!0)=>"string"==typeof e&&await(0,o.h)(i()({url:(0,a.EG)("themes/expedite"),method:"POST",data:{theme:e,activate:t}})),p=async(e=!1)=>await(0,o.h)(i()({url:(0,a.fG)("themes/variations&variations="+e)}).then()),h=async e=>await(0,o.h)(i()({url:(0,a.fG)("themes/variations"),method:"POST",data:e}).then()),m=async e=>await(0,o.h)(i()({url:(0,a.EG)("themes/status"+(e?`&theme=${e}`:""))})),g=async()=>await(0,o.h)(i()({url:(0,a.fG)("themes/fonts")})),f=async()=>await(0,o.h)(i()({url:(0,a.fG)("themes/colors")}))},7225:(e,t,n)=>{"use strict";n.d(t,{AN:()=>w});var r=n(1609),i=n(6087),a=n(4997);const o=window.wp.styleEngine;var s=n(4715);function c(e,t={}){if(!e)return null;const{coerceTo:n,rootSizeValue:r,acceptableUnits:i}={coerceTo:"",rootSizeValue:16,acceptableUnits:["rem","px","em"],...t},a=i?.join("|"),o=new RegExp(`^(\\d*\\.?\\d+)(${a}){1,1}$`),s=e.match(o);if(!s||s.length<3)return null;let[,c,l]=s,u=parseFloat(c);return"px"!==n||"em"!==l&&"rem"!==l||(u*=r,l=n),"px"!==l||"em"!==n&&"rem"!==n||(u/=r,l=n),{value:u,unit:l}}function l(e,t=3){return Number.isFinite(e)?parseFloat(e.toFixed(t)):void 0}const u="body",d=[{path:["color","palette"],valueKey:"color",cssVarInfix:"color",classes:[{classSuffix:"color",propertyName:"color"},{classSuffix:"background-color",propertyName:"background-color"},{classSuffix:"border-color",propertyName:"border-color"}]},{path:["color","gradients"],valueKey:"gradient",cssVarInfix:"gradient",classes:[{classSuffix:"gradient-background",propertyName:"background"}]},{path:["color","duotone"],cssVarInfix:"duotone",valueFunc:({slug:e})=>`url( '#wp-duotone-${e}' )`,classes:[]},{path:["typography","fontSizes"],valueFunc:(e,{typography:t})=>function(e,t){const{size:n}=e;if(!0!==t?.fluid)return n;if(!1===e?.fluid)return n;const r=e?.fluid||{};let i=r?.min,a=r?.max;const o=c(n);return o?.unit?(i||(i=.75*o.value+o.unit),a||(a=1.5*o.value+o.unit),function({maximumViewPortWidth:e,minimumViewPortWidth:t,maximumFontSize:n,minimumFontSize:r,scaleFactor:i}){const a=c(r),o=a?.unit||"rem",s=c(n,{coerceTo:o});if(!a||!s)return null;const u=c(r,{coerceTo:"rem"}),d=c(e,{coerceTo:o}),p=c(t,{coerceTo:o});if(!d||!p||!u)return null;const h=l(p.value/100,3)+o;let m=(s.value-a.value)/(d.value-p.value)*100;m=l(m,3)||1;const g=m*i;return`clamp(${r}, ${u.value}${u.unit} + ((1vw - ${h}) * ${g}), ${n})`}({maximumViewPortWidth:"1600px",minimumViewPortWidth:"768px",maximumFontSize:a,minimumFontSize:i,scaleFactor:1})||n):n}(e,t),valueKey:"size",cssVarInfix:"font-size",classes:[{classSuffix:"font-size",propertyName:"font-size"}]},{path:["typography","fontFamilies"],valueKey:"fontFamily",cssVarInfix:"font-family",classes:[{classSuffix:"font-family",propertyName:"font-family"}]},{path:["spacing","spacingSizes"],valueKey:"size",cssVarInfix:"spacing",valueFunc:({size:e})=>e,classes:[]}],p={__experimentalBorder:"border",color:"color",spacing:"spacing",typography:"typography"};function h(e){return e?.startsWith?.("var:")?`var(--wp--${e.slice(4).split("|").join("--")})`:e}function m(e={},t,n){let r=[];return Object.keys(e).forEach((a=>{const o=t+(0,i.kebabCase)(a.replace("/","-")),s=e[a];if(s instanceof Object){const e=o+n;r=[...r,...m(s,e,n)]}else r.push(`${o}: ${s}`)})),r}function g(e={},t="",n,r={}){const s=u===t,c=(0,i.reduce)(a.__EXPERIMENTAL_STYLE_PROPERTY,((t,{value:r,properties:a,rootOnly:o},c)=>{if(o&&!s)return t;const l=r;if("elements"===l[0])return t;const u=(0,i.get)(e,l);if("--wp--style--root--padding"===c&&("string"==typeof u||!n))return t;if(a&&"string"!=typeof u)Object.entries(a).forEach((e=>{const[n,r]=e;if(!(0,i.get)(u,[r],!1))return;const a=n.startsWith("--")?n:(0,i.kebabCase)(n);t.push(`${a}: ${h((0,i.get)(u,[r]))}`)}));else if((0,i.get)(e,l,!1)){const n=c.startsWith("--")?c:(0,i.kebabCase)(c);t.push(`${n}: ${h((0,i.get)(e,l))}`)}return t}),[]);return(0,o.getCSSRules)(e).forEach((e=>{if(s&&n&&e.key.startsWith("padding"))return;const t=e.key.startsWith("--")?e.key:(0,i.kebabCase)(e.key);let a=e.value;if("string"!=typeof a&&a?.ref){const e=a.ref.split(".");if(a=(0,i.get)(r,e),!a||a?.ref)return}c.push(`${t}: ${a}`)})),c}const f=(e,t)=>{var n;const r=[];if(!e?.settings)return r;const a=e=>{const t={};return d.forEach((({path:n})=>{const r=(0,i.get)(e,n,!1);!1!==r&&(0,i.set)(t,n,r)})),t},o=a(e.settings),s=e.settings?.custom;return(0,i.isEmpty)(o)&&!s||r.push({presets:o,custom:s,selector:u}),Object.entries(null!==(n=e.settings?.blocks)&&void 0!==n?n:{}).forEach((([e,n])=>{const o=a(n),s=n.custom;(0,i.isEmpty)(o)&&!s||r.push({presets:o,custom:s,selector:t[e].selector})})),r},_=(e,t)=>{const n=f(e,t);let r="";return n.forEach((({presets:t,custom:n,selector:a})=>{const o=function(e={},t){return(0,i.reduce)(d,((n,{path:r,valueKey:a,valueFunc:o,cssVarInfix:s})=>{const c=(0,i.get)(e,r,[]);return c&&Array.isArray(c)&&c.forEach((e=>{a&&!o?n.push(`--wp--preset--${s}--${(0,i.kebabCase)(e.slug)}: ${e[a]}`):o&&"function"==typeof o&&n.push(`--wp--preset--${s}--${(0,i.kebabCase)(e.slug)}: ${o(e,t)}`)})),n}),[])}(t,e?.settings),s=m(n,"--wp--custom--","--");s.length>0&&o.push(...s),o.length>0&&(r+=`${a}{${o.join(";")};}`)})),r},v=(e,t,n,r,o=!1)=>{const c=((e,t)=>{var n;const r=[];if(!e?.styles)return r;const o=e=>(0,i.pickBy)(e,((e,t)=>["border","color","spacing","typography","filter"].includes(t))),s=o(e.styles);return s&&r.push({styles:s,selector:u}),Object.entries(a.__EXPERIMENTAL_ELEMENTS).forEach((([t,n])=>{e.styles?.elements&&e.styles?.elements[t]&&r.push({styles:e.styles?.elements[t],selector:n})})),Object.entries(null!==(n=e.styles?.blocks)&&void 0!==n?n:{}).forEach((([e,n])=>{var i;const s=o(n);s&&t?.[e]?.selector&&r.push({duotoneSelector:t[e].duotoneSelector,fallbackGapValue:t[e].fallbackGapValue,hasLayoutSupport:t[e].hasLayoutSupport,selector:t[e].selector,styles:s,featureSelectors:t[e].featureSelectors}),Object.entries(null!==(i=n?.elements)&&void 0!==i?i:{}).forEach((([n,i])=>{i&&t?.[e]&&a.__EXPERIMENTAL_ELEMENTS?.[n]&&r.push({styles:i,selector:t[e].selector.split(",").map((e=>a.__EXPERIMENTAL_ELEMENTS[n].split(",").map((t=>e+" "+t)))).join(",")})}))})),r})(e,t),l=f(e,t),p=e?.settings?.useRootPaddingAwareAlignments,{contentSize:h,wideSize:m}=e?.settings?.layout||{};let _="body {margin: 0;";if(h&&(_+=` --wp--style--global--content-size: ${h};`),m&&(_+=` --wp--style--global--wide-size: ${m};`),p&&(_+='padding-right: 0; padding-left: 0; padding-top: var(--wp--style--root--padding-top); padding-bottom: var(--wp--style--root--padding-bottom) } \n\t\t\t .has-global-padding { padding-right: var(--wp--style--root--padding-right); padding-left: var(--wp--style--root--padding-left); } \n\t\t\t .has-global-padding :where(.has-global-padding) { padding-right: 0; padding-left: 0; } \n\t\t\t .has-global-padding > .alignfull { margin-right: calc(var(--wp--style--root--padding-right) * -1); margin-left: calc(var(--wp--style--root--padding-left) * -1); } \n\t\t\t .has-global-padding :where(.has-global-padding) > .alignfull { margin-right: 0; margin-left: 0; } \n\t\t\t .has-global-padding > .alignfull:where(:not(.has-global-padding)) > :where([class*="wp-block-"]:not(.alignfull):not([class*="__"]),p,h1,h2,h3,h4,h5,h6,ul,ol) { padding-right: var(--wp--style--root--padding-right); padding-left: var(--wp--style--root--padding-left); } \n\t\t\t .has-global-padding :where(.has-global-padding) > .alignfull:where(:not(.has-global-padding)) > :where([class*="wp-block-"]:not(.alignfull):not([class*="__"]),p,h1,h2,h3,h4,h5,h6,ul,ol) { padding-right: 0; padding-left: 0;'),_+="}",c.forEach((({selector:t,duotoneSelector:i,styles:a,fallbackGapValue:c,hasLayoutSupport:l,featureSelectors:d})=>{d&&Object.entries(d).forEach((([e,t])=>{if(a?.[e]){const n=g({[e]:a[e]});delete a[e],n.length&&(_+=`${t}{${n.join(";")} }`)}}));const h={};if(a?.filter&&(h.filter=a.filter,delete a.filter),i){const e=g(h);e.length>0&&(_+=`${i}{${e.join(";")};}`)}o||u!==t&&!l||(_+=function({tree:e,style:t,selector:n,hasBlockGapSupport:r,hasFallbackGapSupport:i,fallbackGapValue:a}){let o="",c=r?(0,s.__experimentalGetGapCSSValue)(t?.spacing?.blockGap):"";if(i&&(n===u?c=c||"0.5em":!r&&a&&(c=a)),c&&e?.settings?.layout?.definitions&&(Object.values(e.settings.layout.definitions).forEach((({className:e,name:t,spacingStyles:i})=>{(r||"flex"===t)&&i?.length&&i.forEach((t=>{const i=[];if(t.rules&&Object.entries(t.rules).forEach((([e,t])=>{i.push(`${e}: ${t||c}`)})),i.length){let a="";a=r?n===u?`${n} .${e}${t?.selector||""}`:`${n}.${e}${t?.selector||""}`:n===u?`:where(.${e}${t?.selector||""})`:`:where(${n}.${e}${t?.selector||""})`,o+=`${a} { ${i.join("; ")}; }`}}))})),n===u&&r&&(o+=`${n} { --wp--style--block-gap: ${c}; }`)),n===u&&e?.settings?.layout?.definitions){const t=["block","flex","grid"];Object.values(e.settings.layout.definitions).forEach((({className:e,displayMode:r,baseStyles:i})=>{r&&t.includes(r)&&(o+=`${n} .${e} { display:${r}; }`),i?.length&&i.forEach((t=>{const r=[];t.rules&&Object.entries(t.rules).forEach((([e,t])=>{r.push(`${e}: ${t}`)})),r.length&&(o+=`${n} .${e}${t?.selector||""} { ${r.join("; ")}; }`)}))}))}return o}({tree:e,style:a,selector:t,hasBlockGapSupport:n,hasFallbackGapSupport:r,fallbackGapValue:c}));const m=g(a,t,p,e);m?.length&&(_+=`${t}{${m.join(";")};}`);const f=Object.entries(a).filter((([e])=>e.startsWith(":")));f?.length&&f.forEach((([e,n])=>{const r=g(n);if(!r?.length)return;const i=`${t.split(",").map((t=>t+e)).join(",")}{${r.join(";")};}`;_+=i}))})),_+=".wp-site-blocks > .alignleft { float: left; margin-right: 2em; }",_+=".wp-site-blocks > .alignright { float: right; margin-left: 2em; }",_+=".wp-site-blocks > .aligncenter { justify-content: center; margin-left: auto; margin-right: auto; }",!o&&n){const t=(0,s.__experimentalGetGapCSSValue)(e?.styles?.spacing?.blockGap)||"0.5em";_+=".wp-site-blocks > * { margin-block-start: 0; margin-block-end: 0; }",_+=`.wp-site-blocks > * + * { margin-block-start: ${t}; }`}return l.forEach((({selector:e,presets:t})=>{u===e&&(e="");const n=function(e,t={}){return(0,i.reduce)(d,((n,{path:r,cssVarInfix:a,classes:o})=>{if(!o)return n;const s=(0,i.get)(t,r,[]);return s&&Array.isArray(s)&&s.forEach((({slug:t})=>{o.forEach((({classSuffix:r,propertyName:o})=>{const s=`.has-${(0,i.kebabCase)(t)}-${r}`,c=e.split(",").map((e=>`${e}${s}`)).join(","),l=`var(--wp--preset--${a}--${(0,i.kebabCase)(t)})`;n+=`${c}{${o}: ${l} !important;}`}))})),n}),"")}(e,t);(0,i.isEmpty)(n)||(_+=n)})),_};const b=e=>{const t={};return e.forEach((e=>{var n,r;const i=e.name,a=null!==(n=e?.supports?.__experimentalSelector)&&void 0!==n?n:".wp-block-"+i.replace("core/","").replace("/","-"),o=null!==(r=e?.supports?.color?.__experimentalDuotone)&&void 0!==r?r:null,s=!!e?.supports?.__experimentalLayout,c=e?.supports?.spacing?.blockGap?.__experimentalDefault,l={};Object.entries(p).forEach((([t,n])=>{const r=e?.supports?.[t]?.__experimentalSelector;r&&(l[n]=function(e,t){const n=e.split(","),r=t.split(","),i=[];return n.forEach((e=>{r.forEach((t=>{i.push(`${e.trim()} ${t.trim()}`)}))})),i.join(", ")}(a,r))})),t[i]={duotoneSelector:o,fallbackGapValue:c,featureSelectors:Object.keys(l).length?l:void 0,hasLayoutSupport:s,name:i,selector:a}})),t};function w(e,t){const n=t.settings.__experimentalFeatures.spacing.blockGap,o=!n,c=!t.settings?.disableLayoutStyles||t.settings.disableLayoutStyles;if(!e?.styles&&!e?.settings&&!e?.globalStyles)return;const l={settings:e.settings,styles:e?.globalStyles?e.globalStyles:e.styles},u=b((0,a.getBlockTypes)()),p=_(l,u),h=v(l,u,n,o,c),m=function(e,t){return f(e,t).flatMap((({presets:e})=>function(e={}){return d.filter((e=>"duotone"===e.path.at(-1))).flatMap((t=>{const n=(0,i.get)(e,t.path,{});return["default","theme"].filter((e=>n[e])).flatMap((e=>n[e].map((e=>(0,r.createElement)(s.__unstablePresetDuotoneFilter,{preset:e,key:e.slug})))))}))}(e)))}(l,u),g=[...t.settings.styles.filter((e=>!(e.hasOwnProperty("id")&&("customProperty"===e.id||"globalStyle"===e.id)))),{id:"customProperty",css:p,isGlobalStyles:!0},{id:"globalStyle",css:h,isGlobalStyles:!0},{assets:m,__unstableType:"svg",isGlobalStyles:!0}];return e.settings.styles=g,e.settings.__unstableResolvedAssets=t.settings.__unstableResolvedAssets,e.settings.__experimentalFeatures=t.settings.__experimentalFeatures,e}},3272:(e,t,n)=>{"use strict";n.d(t,{g2:()=>s,p4:()=>c,qm:()=>o,qn:()=>a});var r=n(3832),i=n(6087);const a=e=>new URLSearchParams(window.location.search).get(e),o=(e,t)=>(0,r.hasQueryArg)(e,t)?(0,r.removeQueryArgs)(e,t):e,s=e=>(0,i.transform)(e,((e,t,n)=>{e[(0,i.snakeCase)(n)]=t})),c=()=>!!window.Cypress},3474:(e,t,n)=>{"use strict";n.d(t,{P:()=>o});var r=n(8744),i=n(7723);const a={[r.rA]:{site:{noun:(0,i._x)("site","noun","wp-module-onboarding")},website:{noun:(0,i._x)("website","noun","wp-module-onboarding")}},[r.eS]:{site:{noun:(0,i._x)("store","noun","wp-module-onboarding")},website:{noun:(0,i._x)("store","noun","wp-module-onboarding")}},[r.d0]:{site:{noun:(0,i._x)("site","noun","wp-module-onboarding")},website:{noun:(0,i._x)("website","noun","wp-module-onboarding")}}},o=(e,t="noun")=>{const n=window?.nfdOnboarding?.currentFlow||r.rA,i=a[n][e.toLowerCase()][t];return e===e.toUpperCase()?i.toUpperCase():e[0]===e[0].toUpperCase()?i[0].toUpperCase()+i.substring(1):i}},8969:(e,t,n)=>{"use strict";n.d(t,{$P:()=>oe,At:()=>te,CL:()=>T,Cx:()=>w,EF:()=>ie,Er:()=>Z,F4:()=>ne,HJ:()=>k,Ix:()=>M,KJ:()=>b,KK:()=>$,KZ:()=>F,L5:()=>ue,Mw:()=>P,No:()=>h,PE:()=>y,Qe:()=>D,Qs:()=>A,R0:()=>g,R2:()=>re,SF:()=>c,SJ:()=>E,SQ:()=>X,So:()=>K,Sr:()=>R,St:()=>N,VG:()=>_,V_:()=>I,Vw:()=>le,W6:()=>se,WH:()=>j,X0:()=>q,Xi:()=>d,ZH:()=>o,db:()=>W,eT:()=>a,eY:()=>C,f1:()=>Y,fO:()=>J,fS:()=>ce,g5:()=>p,gR:()=>ee,gb:()=>H,h0:()=>u,iQ:()=>S,jK:()=>O,lf:()=>x,lp:()=>B,me:()=>z,mp:()=>Q,nK:()=>L,qy:()=>ae,vO:()=>f,vd:()=>V,yY:()=>v,z3:()=>G,zm:()=>U});var r,i=n(3832);const a="nfd-onboarding",o="object"==typeof window?.nfdOnboarding&&"buildUrl"in window.nfdOnboarding,s=window.nfdOnboarding.adminUrl,c=window.nfdOnboarding.siteUrl,l=window.nfdOnboarding.restUrl,u=`${l}/wp/v2`,d=`${l}/newfold-onboarding/v1`,p=`${l}/newfold-installer/v1`,h=`${l}/newfold-migration/v1`,m=(0,i.addQueryArgs)(`${s}index.php`,window.nfdOnboarding.currentBrand?.dashboardRedirectParams),g=null!==(r=(0,i.addQueryArgs)(window.nfdOnboarding.currentBrand?.pluginDashboardPage,window.nfdOnboarding.currentBrand?.dashboardRedirectParams))&&void 0!==r?r:m,f="nav-primary",_="nav-design",v="nav-page",b="design-themes",w="design-theme-styles-menu",y="design-theme-styles-preview",S="design-colors",E="design-fonts",k="design-header-menu",T="design-homepage-menu",x="nav-get-started",C="nav-ecommerce-store-info",N="Sidebar",A="HeaderMenu",I="SitegenEditorPatterns",D="LearnMore",O="Customize",P="HeaderSiteBuild",M="HeaderSiteGen",R="FooterSiteGen",$="HeaderTop",L="HeaderStart",z="HeaderCenter",F="HeaderEnd",V="FooterStart",H="FooterEnd",U=2,W=2,B=2,j=2,G="nfd_plugins",q="nfd_themes",Y="nfd_slug_yith_wonder",K="init",Q="inactive",J="installing",Z="activated",X="failed",ee="demographic",te="commerce",ne="design",re="layout_and_content",ie="features",ae="core",oe="design",se="features",ce="dark",le="light",ue={SET_FLOW:"SET_FLOW",SET_GLOBAL_STYLES:"SET_GLOBAL_STYLES"}},1003:(e,t,n)=>{"use strict";n.d(t,{I9:()=>h,k2:()=>_});var r=n(1609);const i=window.ReactDOM;var a=n(148),o=n(5588);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const l=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],u=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"];try{window.__reactRouterVersion="6"}catch(e){}const d=r.createContext({isTransitioning:!1});new Map;const p=r.startTransition;function h(e){let{basename:t,children:n,future:i,window:s}=e,c=r.useRef();null==c.current&&(c.current=(0,o.TM)({window:s,v5Compat:!0}));let l=c.current,[u,d]=r.useState({action:l.action,location:l.location}),{v7_startTransition:h}=i||{},m=r.useCallback((e=>{h&&p?p((()=>d(e))):d(e)}),[d,h]);return r.useLayoutEffect((()=>l.listen(m)),[l,m]),r.createElement(a.Ix,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:l,future:i})}i.flushSync,r.useId;const m="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,g=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,f=r.forwardRef((function(e,t){let n,{onClick:i,relative:u,reloadDocument:d,replace:p,state:h,target:f,to:_,preventScrollReset:v,unstable_viewTransition:b}=e,w=c(e,l),{basename:y}=r.useContext(a.jb),S=!1;if("string"==typeof _&&g.test(_)&&(n=_,m))try{let e=new URL(window.location.href),t=_.startsWith("//")?new URL(e.protocol+_):new URL(_),n=(0,o.pb)(t.pathname,y);t.origin===e.origin&&null!=n?_=n+t.search+t.hash:S=!0}catch(e){}let E=(0,a.$P)(_,{relative:u}),k=function(e,t){let{target:n,replace:i,state:s,preventScrollReset:c,relative:l,unstable_viewTransition:u}=void 0===t?{}:t,d=(0,a.Zp)(),p=(0,a.zy)(),h=(0,a.x$)(e,{relative:l});return r.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();let n=void 0!==i?i:(0,o.AO)(p)===(0,o.AO)(h);d(e,{replace:n,state:s,preventScrollReset:c,relative:l,unstable_viewTransition:u})}}),[p,d,h,i,s,n,e,c,l,u])}(_,{replace:p,state:h,target:f,preventScrollReset:v,relative:u,unstable_viewTransition:b});return r.createElement("a",s({},w,{href:n||E,onClick:S||d?i:function(e){i&&i(e),e.defaultPrevented||k(e)},ref:t,target:f}))})),_=r.forwardRef((function(e,t){let{"aria-current":n="page",caseSensitive:i=!1,className:l="",end:p=!1,style:h,to:m,unstable_viewTransition:g,children:_}=e,b=c(e,u),w=(0,a.x$)(m,{relative:b.relative}),y=(0,a.zy)(),S=r.useContext(a.Rq),{navigator:E,basename:k}=r.useContext(a.jb),T=null!=S&&function(e,t){void 0===t&&(t={});let n=r.useContext(d);null==n&&(0,o.Oi)(!1);let{basename:i}=function(e){let t=r.useContext(a.sp);return t||(0,o.Oi)(!1),t}(v.useViewTransitionState),s=(0,a.x$)(e,{relative:t.relative});if(!n.isTransitioning)return!1;let c=(0,o.pb)(n.currentLocation.pathname,i)||n.currentLocation.pathname,l=(0,o.pb)(n.nextLocation.pathname,i)||n.nextLocation.pathname;return null!=(0,o.B6)(s.pathname,l)||null!=(0,o.B6)(s.pathname,c)}(w)&&!0===g,x=E.encodeLocation?E.encodeLocation(w).pathname:w.pathname,C=y.pathname,N=S&&S.navigation&&S.navigation.location?S.navigation.location.pathname:null;i||(C=C.toLowerCase(),N=N?N.toLowerCase():null,x=x.toLowerCase()),N&&k&&(N=(0,o.pb)(N,k)||N);const A="/"!==x&&x.endsWith("/")?x.length-1:x.length;let I,D=C===x||!p&&C.startsWith(x)&&"/"===C.charAt(A),O=null!=N&&(N===x||!p&&N.startsWith(x)&&"/"===N.charAt(x.length)),P={isActive:D,isPending:O,isTransitioning:T},M=D?n:void 0;I="function"==typeof l?l(P):[l,D?"active":null,O?"pending":null,T?"transitioning":null].filter(Boolean).join(" ");let R="function"==typeof h?h(P):h;return r.createElement(f,s({},b,{"aria-current":M,className:I,ref:t,style:R,to:m,unstable_viewTransition:g}),"function"==typeof _?_(P):_)}));var v,b;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(v||(v={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(b||(b={}))},148:(e,t,n)=>{"use strict";n.d(t,{$P:()=>p,BV:()=>A,Ix:()=>N,Rq:()=>s,Zp:()=>f,jb:()=>c,qh:()=>C,sp:()=>o,x$:()=>_,zy:()=>m});var r=n(1609),i=n(5588);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{n.current=!0})),r.useCallback((function(r,i){void 0===i&&(i={}),n.current&&("number"==typeof r?e.navigate(r):e.navigate(r,a({fromRouteId:t},i)))}),[e,t])}():function(){h()||(0,i.Oi)(!1);let e=r.useContext(o),{basename:t,future:n,navigator:a}=r.useContext(c),{matches:s}=r.useContext(u),{pathname:l}=m(),d=JSON.stringify((0,i.yD)(s,n.v7_relativeSplatPath)),p=r.useRef(!1);return g((()=>{p.current=!0})),r.useCallback((function(n,r){if(void 0===r&&(r={}),!p.current)return;if("number"==typeof n)return void a.go(n);let o=(0,i.Gh)(n,JSON.parse(d),l,"path"===r.relative);null==e&&"/"!==t&&(o.pathname="/"===o.pathname?t:(0,i.HS)([t,o.pathname])),(r.replace?a.replace:a.push)(o,r.state,r)}),[t,a,d,l,e])}()}function _(e,t){let{relative:n}=void 0===t?{}:t,{future:a}=r.useContext(c),{matches:o}=r.useContext(u),{pathname:s}=m(),l=JSON.stringify((0,i.yD)(o,a.v7_relativeSplatPath));return r.useMemo((()=>(0,i.Gh)(e,JSON.parse(l),s,"path"===n)),[e,l,s,n])}function v(e,t,n,o){h()||(0,i.Oi)(!1);let{navigator:s}=r.useContext(c),{matches:d}=r.useContext(u),p=d[d.length-1],g=p?p.params:{},f=(p&&p.pathname,p?p.pathnameBase:"/");p&&p.route;let _,v=m();if(t){var b;let e="string"==typeof t?(0,i.Rr)(t):t;"/"===f||(null==(b=e.pathname)?void 0:b.startsWith(f))||(0,i.Oi)(!1),_=e}else _=v;let E=_.pathname||"/",k=E;if("/"!==f){let e=f.replace(/^\//,"").split("/");k="/"+E.replace(/^\//,"").split("/").slice(e.length).join("/")}let T=(0,i.ue)(e,{pathname:k}),C=function(e,t,n,a){var o;if(void 0===t&&(t=[]),void 0===n&&(n=null),void 0===a&&(a=null),null==e){var s;if(null==(s=n)||!s.errors)return null;e=n.matches}let c=e,l=null==(o=n)?void 0:o.errors;if(null!=l){let e=c.findIndex((e=>e.route.id&&(null==l?void 0:l[e.route.id])));e>=0||(0,i.Oi)(!1),c=c.slice(0,Math.min(c.length,e+1))}let u=!1,d=-1;if(n&&a&&a.v7_partialHydration)for(let e=0;e=0?c.slice(0,d+1):[c[0]];break}}}return c.reduceRight(((e,i,a)=>{let o,s=!1,p=null,h=null;var m;n&&(o=l&&i.route.id?l[i.route.id]:void 0,p=i.route.errorElement||w,u&&(d<0&&0===a?(x[m="route-fallback"]||(x[m]=!0),s=!0,h=null):d===a&&(s=!0,h=i.route.hydrateFallbackElement||null)));let g=t.concat(c.slice(0,a+1)),f=()=>{let t;return t=o?p:s?h:i.route.Component?r.createElement(i.route.Component,null):i.route.element?i.route.element:e,r.createElement(S,{match:i,routeContext:{outlet:e,matches:g,isDataRoute:null!=n},children:t})};return n&&(i.route.ErrorBoundary||i.route.errorElement||0===a)?r.createElement(y,{location:n.location,revalidation:n.revalidation,component:p,error:o,children:f(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):f()}),null)}(T&&T.map((e=>Object.assign({},e,{params:Object.assign({},g,e.params),pathname:(0,i.HS)([f,s.encodeLocation?s.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?f:(0,i.HS)([f,s.encodeLocation?s.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),d,n,o);return t&&C?r.createElement(l.Provider,{value:{location:a({pathname:"/",search:"",hash:"",state:null,key:"default"},_),navigationType:i.rc.Pop}},C):C}function b(){let e=function(){var e;let t=r.useContext(d),n=function(e){let t=r.useContext(s);return t||(0,i.Oi)(!1),t}(k.UseRouteError),a=T(k.UseRouteError);return void 0!==t?t:null==(e=n.errors)?void 0:e[a]}(),t=(0,i.pX)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return r.createElement(r.Fragment,null,r.createElement("h2",null,"Unexpected Application Error!"),r.createElement("h3",{style:{fontStyle:"italic"}},t),n?r.createElement("pre",{style:a},n):null,null)}const w=r.createElement(b,null);class y extends r.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?r.createElement(u.Provider,{value:this.props.routeContext},r.createElement(d.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function S(e){let{routeContext:t,match:n,children:i}=e,a=r.useContext(o);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),r.createElement(u.Provider,{value:t},i)}var E=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(E||{}),k=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(k||{});function T(e){let t=function(e){let t=r.useContext(u);return t||(0,i.Oi)(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||(0,i.Oi)(!1),n.route.id}const x={};function C(e){(0,i.Oi)(!1)}function N(e){let{basename:t="/",children:n=null,location:o,navigationType:s=i.rc.Pop,navigator:u,static:d=!1,future:p}=e;h()&&(0,i.Oi)(!1);let m=t.replace(/^\/*/,"/"),g=r.useMemo((()=>({basename:m,navigator:u,static:d,future:a({v7_relativeSplatPath:!1},p)})),[m,p,u,d]);"string"==typeof o&&(o=(0,i.Rr)(o));let{pathname:f="/",search:_="",hash:v="",state:b=null,key:w="default"}=o,y=r.useMemo((()=>{let e=(0,i.pb)(f,m);return null==e?null:{location:{pathname:e,search:_,hash:v,state:b,key:w},navigationType:s}}),[m,f,_,v,b,w,s]);return null==y?null:r.createElement(c.Provider,{value:g},r.createElement(l.Provider,{children:n,value:y}))}function A(e){let{children:t,location:n}=e;return v(I(t),n)}function I(e,t){void 0===t&&(t=[]);let n=[];return r.Children.forEach(e,((e,a)=>{if(!r.isValidElement(e))return;let o=[...t,a];if(e.type===r.Fragment)return void n.push.apply(n,I(e.props.children,o));e.type!==C&&(0,i.Oi)(!1),e.props.index&&e.props.children&&(0,i.Oi)(!1);let s={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(s.children=I(e.props.children,o)),n.push(s)})),n}r.startTransition,new Promise((()=>{})),r.Component},1609:e=>{"use strict";e.exports=window.React},6087:e=>{"use strict";e.exports=window.lodash},1455:e=>{"use strict";e.exports=window.wp.apiFetch},4715:e=>{"use strict";e.exports=window.wp.blockEditor},4997:e=>{"use strict";e.exports=window.wp.blocks},6427:e=>{"use strict";e.exports=window.wp.components},9491:e=>{"use strict";e.exports=window.wp.compose},3582:e=>{"use strict";e.exports=window.wp.coreData},7143:e=>{"use strict";e.exports=window.wp.data},8107:e=>{"use strict";e.exports=window.wp.dom},8468:e=>{"use strict";e.exports=window.wp.element},7723:e=>{"use strict";e.exports=window.wp.i18n},8558:e=>{"use strict";e.exports=window.wp.keycodes},5573:e=>{"use strict";e.exports=window.wp.primitives},3832:e=>{"use strict";e.exports=window.wp.url},6942:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t{"use strict";e.exports={rE:"2.4.0"}}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}};return n[e](a,a.exports,i),a.exports}i.m=n,i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,n)=>(i.f[n](e,t),t)),[])),i.u=e=>e+".js",i.miniCssF=e=>e+".css",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="newfold.Onboarding:",i.l=(n,r,a,o)=>{if(e[n])e[n].push(r);else{var s,c;if(void 0!==a)for(var l=document.getElementsByTagName("script"),u=0;u{s.onerror=s.onload=null,clearTimeout(h);var i=e[n];if(delete e[n],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((e=>e(r))),t)return t(r)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),c&&document.head.appendChild(s)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var t=i.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e})(),(()=>{if("undefined"!=typeof document){var e={352:0};i.f.miniCss=(t,n)=>{e[t]?n.push(e[t]):0!==e[t]&&{100:1,396:1}[t]&&n.push(e[t]=(e=>new Promise(((t,n)=>{var r=i.miniCssF(e),a=i.p+r;if(((e,t)=>{for(var n=document.getElementsByTagName("link"),r=0;r{var a=document.createElement("link");a.rel="stylesheet",a.type="text/css",a.onerror=a.onload=n=>{if(a.onerror=a.onload=null,"load"===n.type)r();else{var o=n&&n.type,s=n&&n.target&&n.target.href||t,c=new Error("Loading CSS chunk "+e+" failed.\n("+o+": "+s+")");c.name="ChunkLoadError",c.code="CSS_CHUNK_LOAD_FAILED",c.type=o,c.request=s,a.parentNode&&a.parentNode.removeChild(a),i(c)}},a.href=t,document.head.appendChild(a)})(e,a,0,t,n)})))(t).then((()=>{e[t]=0}),(n=>{throw delete e[t],n})))}}})(),(()=>{var e={352:0};i.f.j=(t,n)=>{var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var a=new Promise(((n,i)=>r=e[t]=[n,i]));n.push(r[2]=a);var o=i.p+i.u(t),s=new Error;i.l(o,(n=>{if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var a=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",s.name="ChunkLoadError",s.type=a,s.request=o,r[1](s)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,a,[o,s,c]=n,l=0;if(o.some((t=>0!==e[t]))){for(r in s)i.o(s,r)&&(i.m[r]=s[r]);c&&c(i)}for(t&&t(n);l{"use strict";i.r(a);var e={};i.r(e),i.d(e,{closeModal:()=>x,disableComplementaryArea:()=>b,enableComplementaryArea:()=>v,openModal:()=>T,pinItem:()=>w,setDefaultComplementaryArea:()=>_,setFeatureDefaults:()=>k,setFeatureValue:()=>E,toggleFeature:()=>S,unpinItem:()=>y});var t={};i.r(t),i.d(t,{getActiveComplementaryArea:()=>C,isComplementaryAreaLoading:()=>N,isFeatureActive:()=>I,isItemPinned:()=>A,isModalActive:()=>D});var n=i(8969);const r=window.wp.domReady;var o=i.n(r);const s=window.wp.blockLibrary;var c=i(1609),l=i(7675),u=i(6079),d=i(8468);const p=({isActive:e})=>((0,d.useEffect)((()=>{let e=!1;return document.body.classList.contains("sticky-menu")&&(e=!0,document.body.classList.remove("sticky-menu")),()=>{e&&document.body.classList.add("sticky-menu")}}),[]),(0,d.useEffect)((()=>(e?document.body.classList.add("is-fullscreen-mode"):document.body.classList.remove("is-fullscreen-mode"),()=>{e&&document.body.classList.remove("is-fullscreen-mode")})),[e]),null);var h=i(7143);const m=window.wp.deprecated;var g=i.n(m);const f=window.wp.preferences,_=(e,t)=>({type:"SET_DEFAULT_COMPLEMENTARY_AREA",scope:e,area:t}),v=(e,t)=>({registry:n,dispatch:r})=>{t&&(n.select(f.store).get(e,"isComplementaryAreaVisible")||n.dispatch(f.store).set(e,"isComplementaryAreaVisible",!0),r({type:"ENABLE_COMPLEMENTARY_AREA",scope:e,area:t}))},b=e=>({registry:t})=>{t.select(f.store).get(e,"isComplementaryAreaVisible")&&t.dispatch(f.store).set(e,"isComplementaryAreaVisible",!1)},w=(e,t)=>({registry:n})=>{if(!t)return;const r=n.select(f.store).get(e,"pinnedItems");!0!==r?.[t]&&n.dispatch(f.store).set(e,"pinnedItems",{...r,[t]:!0})},y=(e,t)=>({registry:n})=>{if(!t)return;const r=n.select(f.store).get(e,"pinnedItems");n.dispatch(f.store).set(e,"pinnedItems",{...r,[t]:!1})};function S(e,t){return function({registry:n}){g()("dispatch( 'core/interface' ).toggleFeature",{since:"6.0",alternative:"dispatch( 'core/preferences' ).toggle"}),n.dispatch(f.store).toggle(e,t)}}function E(e,t,n){return function({registry:r}){g()("dispatch( 'core/interface' ).setFeatureValue",{since:"6.0",alternative:"dispatch( 'core/preferences' ).set"}),r.dispatch(f.store).set(e,t,!!n)}}function k(e,t){return function({registry:n}){g()("dispatch( 'core/interface' ).setFeatureDefaults",{since:"6.0",alternative:"dispatch( 'core/preferences' ).setDefaults"}),n.dispatch(f.store).setDefaults(e,t)}}function T(e){return{type:"OPEN_MODAL",name:e}}function x(){return{type:"CLOSE_MODAL"}}const C=(0,h.createRegistrySelector)((e=>(t,n)=>{const r=e(f.store).get(n,"isComplementaryAreaVisible");if(void 0!==r)return!1===r?null:t?.complementaryAreas?.[n]})),N=(0,h.createRegistrySelector)((e=>(t,n)=>{const r=e(f.store).get(n,"isComplementaryAreaVisible"),i=t?.complementaryAreas?.[n];return r&&void 0===i})),A=(0,h.createRegistrySelector)((e=>(t,n,r)=>{var i;const a=e(f.store).get(n,"pinnedItems");return null===(i=a?.[r])||void 0===i||i})),I=(0,h.createRegistrySelector)((e=>(t,n,r)=>(g()("select( 'core/interface' ).isFeatureActive( scope, featureName )",{since:"6.0",alternative:"select( 'core/preferences' ).get( scope, featureName )"}),!!e(f.store).get(n,r))));function D(e,t){return e.activeModal===t}const O=(0,h.combineReducers)({complementaryAreas:function(e={},t){switch(t.type){case"SET_DEFAULT_COMPLEMENTARY_AREA":{const{scope:n,area:r}=t;return e[n]?e:{...e,[n]:r}}case"ENABLE_COMPLEMENTARY_AREA":{const{scope:n,area:r}=t;return{...e,[n]:r}}}return e},activeModal:function(e=null,t){switch(t.type){case"OPEN_MODAL":return t.name;case"CLOSE_MODAL":return null}return e}}),P=(0,h.createReduxStore)("core/interface",{reducer:O,actions:e,selectors:t});(0,h.register)(P);var M=i(6427),R=i(1032);const $=()=>(0,c.createElement)(d.Fragment,null,(0,c.createElement)(p,{isActive:!0}),(0,c.createElement)(M.SlotFillProvider,null,(0,c.createElement)(R.Iy,null)));var L=i(1003),z=i(6478),F=i(6188);const V=()=>(0,c.createElement)(L.I9,null,(0,c.createElement)($,null));var H=i(4371),U=i(8674),W=i(3272);const B="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,j="8.9.2",G=globalThis;function q(e,t,n){const r=n||G,i=r.__SENTRY__=r.__SENTRY__||{},a=i[j]=i[j]||{};return a[e]||(a[e]=t())}const Y=["debug","info","warn","error","log","assert","trace"],K={};function Q(e){if(!("console"in G))return e();const t=G.console,n={},r=Object.keys(K);r.forEach((e=>{const r=K[e];n[e]=t[e],t[e]=r}));try{return e()}finally{r.forEach((e=>{t[e]=n[e]}))}}const J=function(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return B?Y.forEach((n=>{t[n]=(...t)=>{e&&Q((()=>{G.console[n](`Sentry Logger [${n}]:`,...t)}))}})):Y.forEach((e=>{t[e]=()=>{}})),t}(),Z=Object.prototype.toString;function X(e){switch(Z.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return le(e,Error)}}function ee(e,t){return Z.call(e)===`[object ${t}]`}function te(e){return ee(e,"ErrorEvent")}function ne(e){return ee(e,"DOMError")}function re(e){return ee(e,"String")}function ie(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function ae(e){return null===e||ie(e)||"object"!=typeof e&&"function"!=typeof e}function oe(e){return ee(e,"Object")}function se(e){return"undefined"!=typeof Event&&le(e,Event)}function ce(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function le(e,t){try{return e instanceof t}catch(e){return!1}}function ue(e){return!("object"!=typeof e||null===e||!e.__isVue&&!e._isVue)}const de=G,pe=80;function he(e,t={}){if(!e)return"";try{let n=e;const r=5,i=[];let a=0,o=0;const s=" > ",c=s.length;let l;const u=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||pe;for(;n&&a++1&&o+i.length*c+l.length>=d));)i.push(l),o+=l.length,n=n.parentNode;return i.reverse().join(s)}catch(e){return""}}function me(e,t){const n=e,r=[];let i,a,o,s,c;if(!n||!n.tagName)return"";if(de.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const l=t&&t.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(l&&l.length)l.forEach((e=>{r.push(`[${e[0]}="${e[1]}"]`)}));else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&re(i))for(a=i.split(/\s+/),c=0;cfunction(e,t,n=!1){return!!re(e)&&(ee(t,"RegExp")?t.test(e):!!re(t)&&(n?e===t:e.includes(t)))}(e,t,n)))}function ve(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);"function"==typeof i&&we(i,r),e[t]=i}function be(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){B&&J.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function we(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,be(e,"__sentry_original__",t)}catch(e){}}function ye(e){return e.__sentry_original__}function Se(e){if(X(e))return{message:e.message,name:e.name,stack:e.stack,...ke(e)};if(se(e)){const t={type:e.type,target:Ee(e.target),currentTarget:Ee(e.currentTarget),...ke(e)};return"undefined"!=typeof CustomEvent&&le(e,CustomEvent)&&(t.detail=e.detail),t}return e}function Ee(e){try{return"undefined"!=typeof Element&&le(e,Element)?he(e):Object.prototype.toString.call(e)}catch(e){return""}}function ke(e){if("object"==typeof e&&null!==e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function Te(e){return xe(e,new Map)}function xe(e,t){if(function(e){if(!oe(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}(e)){const n=t.get(e);if(void 0!==n)return n;const r={};t.set(e,r);for(const n of Object.keys(e))void 0!==e[n]&&(r[n]=xe(e[n],t));return r}if(Array.isArray(e)){const n=t.get(e);if(void 0!==n)return n;const r=[];return t.set(e,r),e.forEach((e=>{r.push(xe(e,t))})),r}return e}function Ce(){const e=G,t=e.crypto||e.msCrypto;let n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(e){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(e=>(e^(15&n())>>e/4).toString(16)))}function Ne(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function Ae(e){const{message:t,event_id:n}=e;if(t)return t;const r=Ne(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function Ie(e,t,n){const r=e.exception=e.exception||{},i=r.values=r.values||[],a=i[0]=i[0]||{};a.value||(a.value=t||""),a.type||(a.type=n||"Error")}function De(e,t){const n=Ne(e);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){const e={...r&&r.data,...t.data};n.mechanism.data=e}}function Oe(e){if(e&&e.__sentry_captured__)return!0;try{be(e,"__sentry_captured__",!0)}catch(e){}return!1}function Pe(e){return Array.isArray(e)?e:[e]}const Me="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,Re=[];function $e(e){const t=e.defaultIntegrations||[],n=e.integrations;let r;t.forEach((e=>{e.isDefaultInstance=!0})),r=Array.isArray(n)?[...t,...n]:"function"==typeof n?Pe(n(t)):t;const i=function(e){const t={};return e.forEach((e=>{const{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)})),Object.keys(t).map((e=>t[e]))}(r),a=function(e,t){for(let t=0;tn(t,r,e)))}if("function"==typeof t.processEvent){const n=t.processEvent.bind(t),r=Object.assign(((t,r)=>n(t,r,e)),{id:t.name});e.addEventProcessor(r)}Me&&J.log(`Integration installed: ${t.name}`)}}const Fe=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler"],Ve=(e={})=>({name:"InboundFilters",processEvent(t,n,r){const i=r.getOptions(),a=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:Fe],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,i);return function(e,t){return t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(e)?(Me&&J.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${Ae(e)}`),!0):function(e,t){return!(e.type||!t||!t.length)&&function(e){const t=[];let n;e.message&&t.push(e.message);try{n=e.exception.values[e.exception.values.length-1]}catch(e){}return n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`)),t}(e).some((e=>_e(e,t)))}(e,t.ignoreErrors)?(Me&&J.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${Ae(e)}`),!0):function(e){return!e.type&&(!(!e.exception||!e.exception.values||0===e.exception.values.length)&&(!e.message&&!e.exception.values.some((e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))))}(e)?(Me&&J.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${Ae(e)}`),!0):function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;const n=e.transaction;return!!n&&_e(n,t)}(e,t.ignoreTransactions)?(Me&&J.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${Ae(e)}`),!0):function(e,t){if(!t||!t.length)return!1;const n=He(e);return!!n&&_e(n,t)}(e,t.denyUrls)?(Me&&J.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${Ae(e)}.\nUrl: ${He(e)}`),!0):!function(e,t){if(!t||!t.length)return!0;const n=He(e);return!n||_e(n,t)}(e,t.allowUrls)&&(Me&&J.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${Ae(e)}.\nUrl: ${He(e)}`),!0)}(t,a)?null:t}});function He(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&""!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(t){return Me&&J.error(`Cannot extract url for event ${Ae(e)}`),null}}function Ue(){return We(G),G}function We(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||j,t[j]=t[j]||{}}function Be(){return{traceId:Ce(),spanId:Ce().substring(16)}}const je=1e3;function Ge(){return Date.now()/je}const qe=function(){const{performance:e}=G;if(!e||!e.now)return Ge;const t=Date.now()-e.now(),n=null==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/je}();let Ye;const Ke=(()=>{const{performance:e}=G;if(!e||!e.now)return void(Ye="none");const t=36e5,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,a=i=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}const Je="_sentrySpan";function Ze(e,t){t?be(e,Je,t):delete e[Je]}function Xe(e){return e[Je]}class et{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=Be()}clone(){const e=new et;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,Ze(e,Xe(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Qe(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"==typeof e?e(this):e,[n,r]=t instanceof tt?[t.getScopeData(),t.getRequestSession()]:oe(t)?[e,e.requestSession]:[],{tags:i,extra:a,user:o,contexts:s,level:c,fingerprint:l=[],propagationContext:u}=n||{};return this._tags={...this._tags,...i},this._extra={...this._extra,...a},this._contexts={...this._contexts,...s},o&&Object.keys(o).length&&(this._user=o),c&&(this._level=c),l.length&&(this._fingerprint=l),u&&(this._propagationContext=u),r&&(this._requestSession=r),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,Ze(this,void 0),this._attachments=[],this._propagationContext=Be(),this._notifyScopeListeners(),this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const r={timestamp:Ge(),...e},i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>n?i.slice(-n):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Xe(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t&&t.event_id?t.event_id:Ce();if(!this._client)return J.warn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){const r=n&&n.event_id?n.event_id:Ce();if(!this._client)return J.warn("No client configured on scope - will not capture message!"),r;const i=new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:Ce();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(J.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}}const tt=et;class nt{constructor(e,t){let n,r;n=e||new tt,r=t||new tt,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){const t=this._pushScope();let n;try{n=e(t)}catch(e){throw this._popScope(),e}return ce(n)?n.then((e=>(this._popScope(),e)),(e=>{throw this._popScope(),e})):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:e}),e}_popScope(){return!(this.getStack().length<=1||!this.getStack().pop())}}function rt(){const e=We(Ue());return e.stack=e.stack||new nt(q("defaultCurrentScope",(()=>new tt)),q("defaultIsolationScope",(()=>new tt)))}function it(e){return rt().withScope(e)}function at(e,t){const n=rt();return n.withScope((()=>(n.getStackTop().scope=e,t(e))))}function ot(e){return rt().withScope((()=>e(rt().getIsolationScope())))}function st(e){const t=We(e);return t.acs?t.acs:{withIsolationScope:ot,withScope:it,withSetScope:at,withSetIsolationScope:(e,t)=>ot(t),getCurrentScope:()=>rt().getScope(),getIsolationScope:()=>rt().getIsolationScope()}}function ct(){return st(Ue()).getCurrentScope()}function lt(){return st(Ue()).getIsolationScope()}function ut(){return ct().getClient()}let dt;const pt=new WeakMap,ht=()=>({name:"FunctionToString",setupOnce(){dt=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=ye(this),n=pt.has(ut())&&void 0!==t?t:this;return dt.apply(n,e)}}catch(e){}},setup(e){pt.set(e,!0)}}),mt=50,gt="?",ft=/\(error: (.*)\)/,_t=/captureMessage|captureException/;function vt(...e){const t=e.sort(((e,t)=>e[0]-t[0])).map((e=>e[1]));return(e,n=0,r=0)=>{const i=[],a=e.split("\n");for(let e=n;e1024)continue;const o=ft.test(n)?n.replace(ft,"$1"):n;if(!o.match(/\S*Error: /)){for(const e of t){const t=e(o);if(t){i.push(t);break}}if(i.length>=mt+r)break}}return function(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop(),t.reverse(),_t.test(t[t.length-1].function||"")&&(t.pop(),_t.test(t[t.length-1].function||"")&&t.pop()),t.slice(0,mt).map((e=>({...e,filename:e.filename||t[t.length-1].filename,function:e.function||gt})))}(i.slice(r))}}const bt="";function wt(e){try{return e&&"function"==typeof e&&e.name||bt}catch(e){return bt}}function yt(e){const t=e.exception;if(t){const e=[];try{return t.values.forEach((t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)})),e}catch(e){return}}}const St=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{if(function(e,t){return!!t&&(!!function(e,t){const n=e.message,r=t.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!kt(e,t)&&!!Et(e,t))))}(e,t)||!!function(e,t){const n=Tt(t),r=Tt(e);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!kt(e,t)&&!!Et(e,t)))}(e,t))}(t,e))return Me&&J.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}};function Et(e,t){let n=yt(e),r=yt(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let e=0;en?Nt(e,t-1,n):r;var i}function At(e,t,n=1/0,r=1/0,i=function(){const e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e=r){u[e]="[MaxProperties ~]";break}const t=p[e];u[e]=At(e,t,c-1,r,i),d++}return o(t),u}var It;function Dt(e){return new Pt((t=>{t(e)}))}function Ot(e){return new Pt(((t,n)=>{n(e)}))}!function(e){e[e.PENDING=0]="PENDING",e[e.RESOLVED=1]="RESOLVED",e[e.REJECTED=2]="REJECTED"}(It||(It={}));class Pt{constructor(e){Pt.prototype.__init.call(this),Pt.prototype.__init2.call(this),Pt.prototype.__init3.call(this),Pt.prototype.__init4.call(this),this._state=It.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new Pt(((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()}))}catch(e){return this.then((e=>e),e)}finally(e){return new Pt(((t,n)=>{let r,i;return this.then((t=>{i=!1,r=t,e&&e()}),(t=>{i=!0,r=t,e&&e()})).then((()=>{i?n(r):t(r)}))}))}__init(){this._resolve=e=>{this._setResult(It.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(It.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{this._state===It.PENDING&&(ce(t)?t.then(this._resolve,this._reject):(this._state=e,this._value=t,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===It.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===It.RESOLVED&&e[1](this._value),this._state===It.REJECTED&&e[2](this._value),e[0]=!0)}))}}}function Mt(e,t,n,r=0){return new Pt(((i,a)=>{const o=e[r];if(null===t||"function"!=typeof o)i(t);else{const s=o({...t},n);Me&&o.id&&null===s&&J.log(`Event processor "${o.id}" dropped event`),ce(s)?s.then((t=>Mt(e,t,n,r+1).then(i))).then(null,a):Mt(e,s,n,r+1).then(i).then(null,a)}}))}const Rt="sentry.source",$t="sentry.sample_rate",Lt="sentry.op",zt="sentry.origin",Ft="sentry.idle_span_finish_reason",Vt="baggage",Ht="sentry-",Ut=/^sentry-/,Wt=8192;function Bt(e){if(e)return function(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce(((e,[t,n],r)=>{const i=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,a=0===r?i:`${e},${i}`;return a.length>Wt?(B&&J.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):a}),"")}(Object.entries(e).reduce(((e,[t,n])=>(n&&(e[`${Ht}${t}`]=n),e)),{}))}function jt(e){return e.split(",").map((e=>e.split("=").map((e=>decodeURIComponent(e.trim()))))).reduce(((e,[t,n])=>(e[t]=n,e)),{})}const Gt=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function qt(e,t){const n=function(e){if(!e)return;const t=e.match(Gt);if(!t)return;let n;return"1"===t[3]?n=!0:"0"===t[3]&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}(e),r=function(e){const t=function(e){if(e&&(re(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce(((e,t)=>{const n=jt(t);for(const t of Object.keys(n))e[t]=n[t];return e}),{}):jt(e)}(e);if(!t)return;const n=Object.entries(t).reduce(((e,[t,n])=>(t.match(Ut)&&(e[t.slice(Ht.length)]=n),e)),{});return Object.keys(n).length>0?n:void 0}(t),{traceId:i,parentSpanId:a,parentSampled:o}=n||{};return n?{traceId:i||Ce(),parentSpanId:a||Ce().substring(16),spanId:Ce().substring(16),sampled:o,dsc:r||{}}:{traceId:i||Ce(),spanId:Ce().substring(16)}}function Yt(e=Ce(),t=Ce().substring(16),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${e}-${t}${r}`}const Kt="_sentryMetrics";function Qt(e){const t=e[Kt];if(!t)return;const n={};for(const[,[e,r]]of t)n[e]||(n[e]=[]),n[e].push(Te(r));return n}const Jt=0,Zt=1,Xt=2;function en(e,t){e.setAttribute("http.response.status_code",t);const n=function(e){if(e<400&&e>=100)return{code:Zt};if(e>=400&&e<500)switch(e){case 401:return{code:Xt,message:"unauthenticated"};case 403:return{code:Xt,message:"permission_denied"};case 404:return{code:Xt,message:"not_found"};case 409:return{code:Xt,message:"already_exists"};case 413:return{code:Xt,message:"failed_precondition"};case 429:return{code:Xt,message:"resource_exhausted"};case 499:return{code:Xt,message:"cancelled"};default:return{code:Xt,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:Xt,message:"unimplemented"};case 503:return{code:Xt,message:"unavailable"};case 504:return{code:Xt,message:"deadline_exceeded"};default:return{code:Xt,message:"internal_error"}}return{code:Xt,message:"unknown_error"}}(t);"unknown_error"!==n.message&&e.setStatus(n)}const tn=1;function nn(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:a,status:o,origin:s}=cn(e);return Te({parent_span_id:a,span_id:t,trace_id:n,data:r,op:i,status:o,origin:s})}function rn(e){const{spanId:t,traceId:n}=e.spanContext(),{parent_span_id:r}=cn(e);return Te({parent_span_id:r,span_id:t,trace_id:n})}function an(e){const{traceId:t,spanId:n}=e.spanContext();return Yt(t,n,ln(e))}function on(e){return"number"==typeof e?sn(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?sn(e.getTime()):qe()}function sn(e){return e>9999999999?e/1e3:e}function cn(e){if(function(e){return"function"==typeof e.getSpanJSON}(e))return e.getSpanJSON();try{const{spanId:t,traceId:n}=e.spanContext();if(function(e){const t=e;return!!(t.attributes&&t.startTime&&t.name&&t.endTime&&t.status)}(e)){const{attributes:r,startTime:i,name:a,endTime:o,parentSpanId:s,status:c}=e;return Te({span_id:t,trace_id:n,data:r,description:a,parent_span_id:s,start_timestamp:on(i),timestamp:on(o)||void 0,status:un(c),op:r[Lt],origin:r[zt],_metrics_summary:Qt(e)})}return{span_id:t,trace_id:n}}catch(e){return{}}}function ln(e){const{traceFlags:t}=e.spanContext();return t===tn}function un(e){if(e&&e.code!==Jt)return e.code===Zt?"ok":e.message||"unknown_error"}const dn="_sentryChildSpans",pn="_sentryRootSpan";function hn(e,t){const n=e[pn]||e;be(t,pn,n),e[dn]?e[dn].add(t):be(e,dn,new Set([t]))}function mn(e){const t=new Set;return function e(n){if(!t.has(n)&&ln(n)){t.add(n);const r=n[dn]?Array.from(n[dn]):[];for(const t of r)e(t)}}(e),Array.from(t)}function gn(e){return e[pn]||e}function fn(){const e=st(Ue());return e.getActiveSpan?e.getActiveSpan():Xe(ct())}const vn="_frozenDsc";function bn(e,t){be(e,vn,t)}function wn(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i=Te({environment:n.environment||xt,release:n.release,public_key:r,trace_id:e});return t.emit("createDsc",i),i}function yn(e){const t=ut();if(!t)return{};const n=wn(cn(e).trace_id||"",t),r=gn(e);if(!r)return n;const i=r[vn];if(i)return i;const a=cn(r),o=a.data||{},s=o[$t];null!=s&&(n.sample_rate=`${s}`);const c=o[Rt];return c&&"url"!==c&&(n.transaction=a.description),n.sampled=String(ln(r)),t.emit("createDsc",n),n}function Sn(e,t){const{extra:n,tags:r,user:i,contexts:a,level:o,sdkProcessingMetadata:s,breadcrumbs:c,fingerprint:l,eventProcessors:u,attachments:d,propagationContext:p,transactionName:h,span:m}=t;En(e,"extra",n),En(e,"tags",r),En(e,"user",i),En(e,"contexts",a),En(e,"sdkProcessingMetadata",s),o&&(e.level=o),h&&(e.transactionName=h),m&&(e.span=m),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),l.length&&(e.fingerprint=[...e.fingerprint,...l]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...p}}function En(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[t][r]=n[r])}}function kn(e,t,n,r,i,a){const{normalizeDepth:o=3,normalizeMaxBreadth:s=1e3}=e,c={...t,event_id:t.event_id||n.event_id||Ce(),timestamp:t.timestamp||Ge()},l=n.integrations||e.integrations.map((e=>e.name));!function(e,t){const{environment:n,release:r,dist:i,maxValueLength:a=250}=t;"environment"in e||(e.environment="environment"in t?n:xt),void 0===e.release&&void 0!==r&&(e.release=r),void 0===e.dist&&void 0!==i&&(e.dist=i),e.message&&(e.message=ge(e.message,a));const o=e.exception&&e.exception.values&&e.exception.values[0];o&&o.value&&(o.value=ge(o.value,a));const s=e.request;s&&s.url&&(s.url=ge(s.url,a))}(c,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(c,l),void 0===t.type&&function(e,t){const n=G._sentryDebugIds;if(!n)return;let r;const i=Tn.get(t);i?r=i:(r=new Map,Tn.set(t,r));const a=Object.keys(n).reduce(((e,i)=>{let a;const o=r.get(i);o?a=o:(a=t(i),r.set(i,a));for(let t=a.length-1;t>=0;t--){const r=a[t];if(r.filename){e[r.filename]=n[i];break}}return e}),{});try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.filename&&(e.debug_id=a[e.filename])}))}))}catch(e){}}(c,e.stackParser);const u=function(e,t){if(!t)return e;const n=e?e.clone():new tt;return n.update(t),n}(r,n.captureContext);n.mechanism&&De(c,n.mechanism);const d=i?i.getEventProcessors():[],p=q("globalScope",(()=>new tt)).getScopeData();a&&Sn(p,a.getScopeData()),u&&Sn(p,u.getScopeData());const h=[...n.attachments||[],...p.attachments];return h.length&&(n.attachments=h),function(e,t){const{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:a}=t;!function(e,t){const{extra:n,tags:r,user:i,contexts:a,level:o,transactionName:s}=t,c=Te(n);c&&Object.keys(c).length&&(e.extra={...c,...e.extra});const l=Te(r);l&&Object.keys(l).length&&(e.tags={...l,...e.tags});const u=Te(i);u&&Object.keys(u).length&&(e.user={...u,...e.user});const d=Te(a);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts}),o&&(e.level=o),s&&"transaction"!==e.type&&(e.transaction=s)}(e,t),r&&function(e,t){e.contexts={trace:rn(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:yn(t),...e.sdkProcessingMetadata};const n=cn(gn(t)).description;n&&!e.transaction&&"transaction"===e.type&&(e.transaction=n)}(e,r),function(e,t){e.fingerprint=e.fingerprint?Pe(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,i),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,a)}(c,p),Mt([...d,...p.eventProcessors],c,n).then((e=>(e&&function(e){const t={};try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)}))}))}catch(e){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.keys(t).forEach((e=>{n.push({type:"sourcemap",code_file:e,debug_id:t[e]})}))}(e),"number"==typeof o&&o>0?function(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>({...e,...e.data&&{data:Ct(e.data,t,n)}})))},...e.user&&{user:Ct(e.user,t,n)},...e.contexts&&{contexts:Ct(e.contexts,t,n)},...e.extra&&{extra:Ct(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=Ct(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map((e=>({...e,...e.data&&{data:Ct(e.data,t,n)}})))),r}(e,o,s):e)))}const Tn=new WeakMap;const xn=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function Cn(e,t){return ct().captureEvent(e,t)}function Nn(e){const t=ut(),n=lt(),r=ct(),{release:i,environment:a=xt}=t&&t.getOptions()||{},{userAgent:o}=G.navigator||{},s=function(e){const t=qe(),n={sid:Ce(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return Te({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)};return e&&Qe(n,e),n}({release:i,environment:a,user:r.getUser()||n.getUser(),...o&&{userAgent:o},...e}),c=n.getSession();return c&&"ok"===c.status&&Qe(c,{status:"exited"}),An(),n.setSession(s),r.setSession(s),s}function An(){const e=lt(),t=ct(),n=t.getSession()||e.getSession();n&&function(e,t){let n={};"ok"===e.status&&(n={status:"exited"}),Qe(e,n)}(n),In(),e.setSession(),t.setSession()}function In(){const e=lt(),t=ct(),n=ut(),r=t.getSession()||e.getSession();r&&n&&n.captureSession(r)}function Dn(e=!1){e?An():In()}const On=G;function Pn(){if(!("fetch"in On))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function Mn(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}const Rn="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,$n="8.9.2",Ln=globalThis;function zn(e,t,n){const r=n||Ln,i=r.__SENTRY__=r.__SENTRY__||{},a=i[$n]=i[$n]||{};return a[e]||(a[e]=t())}const Fn=["debug","info","warn","error","log","assert","trace"],Vn={},Hn=function(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return Rn?Fn.forEach((n=>{t[n]=(...t)=>{e&&function(e){if(!("console"in Ln))return e();const t=Ln.console,n={},r=Object.keys(Vn);r.forEach((e=>{const r=Vn[e];n[e]=t[e],t[e]=r}));try{return e()}finally{r.forEach((e=>{t[e]=n[e]}))}}((()=>{Ln.console[n](`Sentry Logger [${n}]:`,...t)}))}})):Fn.forEach((e=>{t[e]=()=>{}})),t}(),Un="";function Wn(e){try{return e&&"function"==typeof e&&e.name||Un}catch(e){return Un}}const Bn={},jn={};function Gn(e,t){Bn[e]=Bn[e]||[],Bn[e].push(t)}function qn(e,t){jn[e]||(t(),jn[e]=!0)}function Yn(e,t){const n=e&&Bn[e];if(n)for(const r of n)try{r(t)}catch(t){Rn&&Hn.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${Wn(r)}\nError:`,t)}}const Kn=Ln,Qn=Object.prototype.toString;function Jn(e,t){return Qn.call(e)===`[object ${t}]`}function Zn(e){return Jn(e,"String")}function Xn(e){return Jn(e,"Object")}function er(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);"function"==typeof i&&function(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,tr(e,"__sentry_original__",t)}catch(e){}}(i,r),e[t]=i}function tr(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){Rn&&Hn.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function nr(e){return rr(e,new Map)}function rr(e,t){if(function(e){if(!Xn(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}(e)){const n=t.get(e);if(void 0!==n)return n;const r={};t.set(e,r);for(const n of Object.keys(e))void 0!==e[n]&&(r[n]=rr(e[n],t));return r}if(Array.isArray(e)){const n=t.get(e);if(void 0!==n)return n;const r=[];return t.set(e,r),e.forEach((e=>{r.push(rr(e,t))})),r}return e}const ir=Ln;let ar;function or(e){const t="history";Gn(t,e),qn(t,sr)}function sr(){if(!function(){const e=Kn.chrome,t=e&&e.app&&e.app.runtime,n="history"in Kn&&!!Kn.history.pushState&&!!Kn.history.replaceState;return!t&&n}())return;const e=ir.onpopstate;function t(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const e=ar,t=String(n);ar=t,Yn("history",{from:e,to:t})}return e.apply(this,t)}}ir.onpopstate=function(...t){const n=ir.location.href,r=ar;if(ar=n,Yn("history",{from:r,to:n}),e)try{return e.apply(this,t)}catch(e){}},er(ir.history,"pushState",t),er(ir.history,"replaceState",t)}const cr=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function lr(e,t=!1){const{host:n,path:r,pass:i,port:a,projectId:o,protocol:s,publicKey:c}=e;return`${s}://${c}${t&&i?`:${i}`:""}@${n}${a?`:${a}`:""}/${r?`${r}/`:r}${o}`}function ur(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function dr(e,t=[]){return[e,t]}function pr(e,t){const[n,r]=e;return[n,[...r,t]]}function hr(e,t){const n=e[1];for(const e of n)if(t(e,e[0].type))return!0;return!1}function mr(e){return G.__SENTRY__&&G.__SENTRY__.encodePolyfill?G.__SENTRY__.encodePolyfill(e):(new TextEncoder).encode(e)}function gr(e){const[t,n]=e;let r=JSON.stringify(t);function i(e){"string"==typeof r?r="string"==typeof e?r+e:[mr(r),e]:r.push("string"==typeof e?mr(e):e)}for(const e of n){const[t,n]=e;if(i(`\n${JSON.stringify(t)}\n`),"string"==typeof n||n instanceof Uint8Array)i(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify(Ct(n))}i(e)}}return"string"==typeof r?r:function(e){const t=e.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(t);let r=0;for(const t of e)n.set(t,r),r+=t.length;return n}(r)}function fr(e){return[{type:"span"},e]}function _r(e){const t="string"==typeof e.data?mr(e.data):e.data;return[Te({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}const vr={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function br(e){return vr[e]}function wr(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}class yr extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}const Sr="7";function Er(e,t,n){return t||`${function(e){return`${function(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}(e)}${e.projectId}/envelope/`}(e)}?${function(e,t){return n={sentry_key:e.publicKey,sentry_version:Sr,...t&&{sentry_client:`${t.name}/${t.version}`}},Object.keys(n).map((e=>`${encodeURIComponent(e)}=${encodeURIComponent(n[e])}`)).join("&");var n}(e,n)}`}function kr(e){if("boolean"==typeof e)return Number(e);const t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t)||t<0||t>1))return t;Me&&J.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`)}const Tr="Not capturing exception because it's already been captured.";class xr{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=function(e){const t="string"==typeof e?function(e){const t=cr.exec(e);if(!t)return void Q((()=>{console.error(`Invalid Sentry Dsn: ${e}`)}));const[n,r,i="",a,o="",s]=t.slice(1);let c="",l=s;const u=l.split("/");if(u.length>1&&(c=u.slice(0,-1).join("/"),l=u.pop()),l){const e=l.match(/^\d+/);e&&(l=e[0])}return ur({host:a,pass:i,path:c,projectId:l,port:o,protocol:n,publicKey:r})}(e):ur(e);if(t&&function(e){if(!B)return!0;const{port:t,projectId:n,protocol:r}=e;return!(["protocol","publicKey","host","projectId"].find((t=>!e[t]&&(J.error(`Invalid Sentry Dsn: ${t} missing`),!0)))||(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(r)?t&&isNaN(parseInt(t,10))&&(J.error(`Invalid Sentry Dsn: Invalid port ${t}`),1):(J.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),1):(J.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(t))return t}(e.dsn):Me&&J.warn("No DSN provided, client will not send events."),this._dsn){const t=Er(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,t,n){const r=Ce();if(Oe(e))return Me&&J.log(Tr),r;const i={event_id:r,...t};return this._process(this.eventFromException(e,i).then((e=>this._captureEvent(e,i,n)))),i.event_id}captureMessage(e,t,n,r){const i={event_id:Ce(),...n},a=ie(e)?e:String(e),o=ae(e)?this.eventFromMessage(a,t,i):this.eventFromException(e,i);return this._process(o.then((e=>this._captureEvent(e,i,r)))),i.event_id}captureEvent(e,t,n){const r=Ce();if(t&&t.originalException&&Oe(t.originalException))return Me&&J.log(Tr),r;const i={event_id:r,...t},a=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,i,a||n)),i.event_id}captureSession(e){"string"!=typeof e.release?Me&&J.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),Qe(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const t=this._transport;return t?(this.emit("flush"),this._isClientDoneProcessing(e).then((n=>t.flush(e).then((e=>n&&e))))):Dt(!0)}close(e){return this.flush(e).then((e=>(this.getOptions().enabled=!1,this.emit("close"),e)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){const t=this._integrations[e.name];ze(this,e,this._integrations),t||Le(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=function(e,t,n,r){const i=wr(n),a=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]])}(e,n&&n.sdk);const o=function(e,t,n,r){const i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:lr(r)},...i&&{trace:Te({...i})}}}(e,i,r,t);return delete e.sdkProcessingMetadata,dr(o,[[{type:a},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(const e of t.attachments||[])n=pr(n,_r(e));const r=this.sendEnvelope(n);r&&r.then((t=>this.emit("afterSendEvent",e,t)),null)}sendSession(e){const t=function(e,t,n,r){const i=wr(n);return dr({sent_at:(new Date).toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:lr(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(t)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){const n=`${e}:${t}`;Me&&J.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}on(e,t){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(t)}emit(e,...t){this._hooks[e]&&this._hooks[e].forEach((e=>e(...t)))}sendEnvelope(e){return this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport?this._transport.send(e).then(null,(e=>(Me&&J.error("Error while sending event:",e),e))):(Me&&J.error("Transport disabled"),Dt({}))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=function(e,t){const n={};return t.forEach((t=>{t&&ze(e,t,n)})),n}(this,e),Le(this,e)}_updateSessionFromEvent(e,t){let n=!1,r=!1;const i=t.exception&&t.exception.values;if(i){r=!0;for(const e of i){const t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}}const a="ok"===e.status;(a&&0===e.errors||a&&n)&&(Qe(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new Pt((t=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r=lt()){const i=this.getOptions(),a=Object.keys(this._integrations);return!t.integrations&&a.length>0&&(t.integrations=a),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),kn(i,e,t,n,this,r).then((e=>{if(null===e)return e;const t={...r.getPropagationContext(),...n?n.getPropagationContext():void 0};if((!e.contexts||!e.contexts.trace)&&t){const{traceId:n,spanId:r,parentSpanId:i,dsc:a}=t;e.contexts={trace:Te({trace_id:n,span_id:r,parent_span_id:i}),...e.contexts};const o=a||wn(n,this);e.sdkProcessingMetadata={dynamicSamplingContext:o,...e.sdkProcessingMetadata}}return e}))}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then((e=>e.event_id),(e=>{if(Me){const t=e;"log"===t.logLevel?J.log(t.message):J.warn(t)}}))}_processEvent(e,t,n){const r=this.getOptions(),{sampleRate:i}=r,a=Nr(e),o=Cr(e),s=e.type||"error",c=`before send for type \`${s}\``,l=void 0===i?void 0:kr(i);if(o&&"number"==typeof l&&Math.random()>l)return this.recordDroppedEvent("sample_rate","error",e),Ot(new yr(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));const u="replay_event"===s?"replay":s,d=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,n,d).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",u,e),new yr("An event processor returned `null`, will not send event.","log");if(t.data&&!0===t.data.__sentry__)return n;const i=function(e,t,n){const{beforeSend:r,beforeSendTransaction:i,beforeSendSpan:a}=e;if(Cr(t)&&r)return r(t,n);if(Nr(t)){if(t.spans&&a){const e=[];for(const n of t.spans){const t=a(n);t&&e.push(t)}t.spans=e}if(i)return i(t,n)}return t}(r,n,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if(ce(e))return e.then((e=>{if(!oe(e)&&null!==e)throw new yr(n);return e}),(e=>{throw new yr(`${t} rejected with ${e}`)}));if(!oe(e)&&null!==e)throw new yr(n);return e}(i,c)})).then((r=>{if(null===r)throw this.recordDroppedEvent("before_send",u,e),new yr(`${c} returned \`null\`, will not send event.`,"log");const i=n&&n.getSession();!a&&i&&this._updateSessionFromEvent(i,r);const o=r.transaction_info;if(a&&o&&r.transaction!==e.transaction){const e="custom";r.transaction_info={...o,source:e}}return this.sendEvent(r,t),r})).then(null,(e=>{if(e instanceof yr)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new yr(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)}))}_process(e){this._numProcessing++,e.then((e=>(this._numProcessing--,e)),(e=>(this._numProcessing--,e)))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.keys(e).map((t=>{const[n,r]=t.split(":");return{reason:n,category:r,quantity:e[t]}}))}}function Cr(e){return void 0===e.type}function Nr(e){return"transaction"===e.type}const Ar="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function Ir(e,t){const n=Or(e,t),r={type:t&&t.name,value:Mr(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function Dr(e,t){return{exception:{values:[Ir(e,t)]}}}function Or(e,t){const n=t.stacktrace||t.stack||"",r=function(e){return e&&Pr.test(e.message)?1:0}(t),i=function(e){return"number"==typeof e.framesToPop?e.framesToPop:0}(t);try{return e(n,r,i)}catch(e){}return[]}const Pr=/Minified React error #\d+;/i;function Mr(e){const t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function Rr(e,t,n,r,i){let a;if(te(t)&&t.error)return Dr(e,t.error);if(ne(t)||ee(t,"DOMException")){const i=t;if("stack"in t)a=Dr(e,t);else{const t=i.name||(ne(i)?"DOMError":"DOMException"),o=i.message?`${t}: ${i.message}`:t;a=$r(e,o,n,r),Ie(a,o)}return"code"in i&&(a.tags={...a.tags,"DOMException.code":`${i.code}`}),a}return X(t)?Dr(e,t):oe(t)||se(t)?(a=function(e,t,n,r){const i=ut(),a=i&&i.getOptions().normalizeDepth,o=function(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}(t),s={__serialized__:Nt(t,a)};if(o)return{exception:{values:[Ir(e,o)]},extra:s};const c={exception:{values:[{type:se(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:Lr(t,{isUnhandledRejection:r})}]},extra:s};if(n){const t=Or(e,n);t.length&&(c.exception.values[0].stacktrace={frames:t})}return c}(e,t,n,i),De(a,{synthetic:!0}),a):(a=$r(e,t,n,r),Ie(a,`${t}`,void 0),De(a,{synthetic:!0}),a)}function $r(e,t,n,r){const i={};if(r&&n){const r=Or(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]})}if(ie(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}function Lr(e,{isUnhandledRejection:t}){const n=function(e,t=40){const n=Object.keys(Se(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return ge(n[0],t);for(let e=n.length;e>0;e--){const r=n.slice(0,e).join(", ");if(!(r.length>t))return e===n.length?r:ge(r,t)}return""}(e),r=t?"promise rejection":"exception";return te(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:se(e)?`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}const zr=G;let Fr=0;function Vr(){return Fr>0}function Hr(e,t={},n){if("function"!=typeof e)return e;try{const t=e.__sentry_wrapped__;if(t)return t;if(ye(e))return e}catch(t){return e}const r=function(){const r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);const i=r.map((e=>Hr(e,t)));return e.apply(this,i)}catch(e){throw Fr++,setTimeout((()=>{Fr--})),function(...e){const t=st(Ue());if(2===e.length){const[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}t.withScope(e[0])}((n=>{var i;n.addEventProcessor((e=>(t.mechanism&&(Ie(e,void 0,void 0),De(e,t.mechanism)),e.extra={...e.extra,arguments:r},e))),i=e,ct().captureException(i,function(e){if(e)return function(e){return e instanceof tt||"function"==typeof e}(e)||function(e){return Object.keys(e).some((e=>xn.includes(e)))}(e)?{captureContext:e}:e}(undefined))})),e}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch(e){}we(r,e),be(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch(e){}return r}class Ur extends xr{constructor(e){const t={parentSpanIsAlwaysRootSpan:!0,...e};!function(e,t,n=[t],r="npm"){const i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:n.map((e=>({name:`${r}:@sentry/${e}`,version:j}))),version:j}),e._metadata=i}(t,"browser",["browser"],zr.SENTRY_SDK_SOURCE||"npm"),super(t),t.sendClientReports&&zr.document&&zr.document.addEventListener("visibilitychange",(()=>{"hidden"===zr.document.visibilityState&&this._flushOutcomes()}))}eventFromException(e,t){return function(e,t,n,r){const i=Rr(e,t,n&&n.syntheticException||void 0,r);return De(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),Dt(i)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,i){const a=$r(e,t,r&&r.syntheticException||void 0,i);return a.level=n,r&&r.event_id&&(a.event_id=r.event_id),Dt(a)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled())return void(Ar&&J.warn("SDK not enabled, will not capture user feedback."));const t=function(e,{metadata:t,tunnel:n,dsn:r}){const i={event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:lr(r)}},a=function(e){return[{type:"user_report"},e]}(e);return dr(i,[a])}(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}_flushOutcomes(){const e=this._clearOutcomes();if(0===e.length)return void(Ar&&J.log("No outcomes to send"));if(!this._dsn)return void(Ar&&J.log("No dsn provided, will not send outcomes"));Ar&&J.log("Sending outcomes:",e);const t=(n=e,dr((r=this._options.tunnel&&lr(this._dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:Ge(),discarded_events:n}]]));var n,r;this.sendEnvelope(t)}}function Wr(){const e=Ln,t=e.crypto||e.msCrypto;let n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(e){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(e=>(e^(15&n())>>e/4).toString(16)))}const Br=1e3;let jr,Gr,qr;function Yr(){if(!ir.document)return;const e=Yn.bind(null,"dom"),t=Kr(e,!0);ir.document.addEventListener("click",t,!1),ir.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((t=>{const n=ir[t]&&ir[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(er(n,"addEventListener",(function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{const r=this,a=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},o=a[n]=a[n]||{refCount:0};if(!o.handler){const r=Kr(e);o.handler=r,t.call(this,n,r,i)}o.refCount++}catch(e){}return t.call(this,n,r,i)}})),er(n,"removeEventListener",(function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this,i=n.__sentry_instrumentation_handlers__||{},a=i[t];a&&(a.refCount--,a.refCount<=0&&(e.call(this,t,a.handler,r),a.handler=void 0,delete i[t]),0===Object.keys(i).length&&delete n.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}})))}))}function Kr(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(e){try{return e.target}catch(e){return null}}(n);if(function(e,t){return"keypress"===e&&(!t||!t.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,r))return;tr(n,"_sentryCaptured",!0),r&&!r._sentryId&&tr(r,"_sentryId",Wr());const i="keypress"===n.type?"input":n.type;(function(e){if(e.type!==Gr)return!1;try{if(!e.target||e.target._sentryId!==qr)return!1}catch(e){}return!0})(n)||(e({event:n,name:i,global:t}),Gr=n.type,qr=r?r._sentryId:void 0),clearTimeout(jr),jr=ir.setTimeout((()=>{qr=void 0,Gr=void 0}),Br)}}function Qr(){return Date.now()/1e3}const Jr=function(){const{performance:e}=Ln;if(!e||!e.now)return Qr;const t=Date.now()-e.now(),n=null==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/1e3}();let Zr;const Xr=(()=>{const{performance:e}=Ln;if(!e||!e.now)return void(Zr="none");const t=36e5,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,a=i{const e=this[ei];if(e&&4===this.readyState){try{e.status_code=this.status}catch(e){}Yn("xhr",{endTimestamp:1e3*Jr(),startTimestamp:n,xhr:this})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?er(this,"onreadystatechange",(function(e){return function(...t){return a(),e.apply(this,t)}})):this.addEventListener("readystatechange",a),er(this,"setRequestHeader",(function(e){return function(...t){const[n,r]=t,i=this[ei];return i&&Zn(n)&&Zn(r)&&(i.request_headers[n.toLowerCase()]=r),e.apply(this,t)}})),e.apply(this,t)}})),er(e,"send",(function(e){return function(...t){const n=this[ei];return n?(void 0!==t[0]&&(n.body=t[0]),Yn("xhr",{startTimestamp:1e3*Jr(),xhr:this}),e.apply(this,t)):e.apply(this,t)}}))}const ri=100;function ii(e,t){const n=ut(),r=lt();if(!n)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:a=ri}=n.getOptions();if(a<=0)return;const o={timestamp:Ge(),...e},s=i?Q((()=>i(o,t))):o;null!==s&&(n.emit&&n.emit("beforeAddBreadcrumb",s,t),r.addBreadcrumb(s,a))}const ai={},oi={};function si(e,t){ai[e]=ai[e]||[],ai[e].push(t)}function ci(e,t){oi[e]||(t(),oi[e]=!0)}function li(e,t){const n=e&&ai[e];if(n)for(const r of n)try{r(t)}catch(t){B&&J.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${wt(r)}\nError:`,t)}}function ui(){"console"in G&&Y.forEach((function(e){e in G.console&&ve(G.console,e,(function(t){return K[e]=t,function(...t){li("console",{args:t,level:e});const n=K[e];n&&n.apply(G.console,t)}}))}))}function di(e){const t="fetch";si(t,e),ci(t,pi)}function pi(){(function(){if("string"==typeof EdgeRuntime)return!0;if(!Pn())return!1;if(Mn(On.fetch))return!0;let e=!1;const t=On.document;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=Mn(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){B&&J.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e})()&&ve(G,"fetch",(function(e){return function(...t){const{method:n,url:r}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:mi(t),method:hi(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:mi(t),method:hi(t,"method")?String(t.method).toUpperCase():"GET"}}(t),i={args:t,fetchData:{method:n,url:r},startTimestamp:1e3*qe()};li("fetch",{...i});const a=(new Error).stack;return e.apply(G,t).then((e=>(li("fetch",{...i,endTimestamp:1e3*qe(),response:e}),e)),(e=>{throw li("fetch",{...i,endTimestamp:1e3*qe(),error:e}),X(e)&&void 0===e.stack&&(e.stack=a,be(e,"framesToPop",1)),e}))}}))}function hi(e,t){return!!e&&"object"==typeof e&&!!e[t]}function mi(e){return"string"==typeof e?e:e?hi(e,"url")?e.url:e.toString?e.toString():"":""}const gi=["fatal","error","warning","log","info","debug"];function fi(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}const _i=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n;t.console&&function(e){const t="console";si(t,e),ci(t,ui)}(function(e){return function(t){if(ut()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:(r=t.level,"warn"===r?"warning":gi.includes(r)?r:"log"),message:fe(t.args," ")};var r;if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${fe(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}ii(n,{input:t.args,level:t.level})}}(e)),t.dom&&(n=function(e,t){return function(n){if(ut()!==e)return;let r,i,a="object"==typeof t?t.serializeAttribute:void 0,o="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;o&&o>1024&&(Ar&&J.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${o} was configured. Sentry will use 1024 instead.`),o=1024),"string"==typeof a&&(a=[a]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;r=he(t,{keyAttrs:a,maxStringLength:o}),i=function(e){if(!de.HTMLElement)return null;let t=e;for(let e=0;e<5;e++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}(t)}catch(e){r=""}if(0===r.length)return;const s={category:`ui.${n.name}`,message:r};i&&(s.data={"ui.component_name":i}),ii(s,{event:n.event,name:n.name,global:n.global})}}(e,t.dom),Gn("dom",n),qn("dom",Yr)),t.xhr&&ti(function(e){return function(t){if(ut()!==e)return;const{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[ei];if(!n||!r||!i)return;const{method:a,url:o,status_code:s,body:c}=i;ii({category:"xhr",data:{method:a,url:o,status_code:s},type:"http"},{xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r})}}(e)),t.fetch&&di(function(e){return function(t){if(ut()!==e)return;const{startTimestamp:n,endTimestamp:r}=t;if(r&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error)ii({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args,startTimestamp:n,endTimestamp:r});else{const e=t.response;ii({category:"fetch",data:{...t.fetchData,status_code:e&&e.status},type:"http"},{input:t.args,response:e,startTimestamp:n,endTimestamp:r})}}}(e)),t.history&&or(function(e){return function(t){if(ut()!==e)return;let n=t.from,r=t.to;const i=fi(zr.location.href);let a=n?fi(n):void 0;const o=fi(r);a&&a.path||(a=i),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),ii({category:"navigation",data:{from:n,to:r}})}}(e)),t.sentry&&e.on("beforeSendEvent",function(e){return function(t){ut()===e&&ii({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:Ae(t)},{event:t})}}(e))}}},vi=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],bi=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&ve(zr,"setTimeout",wi),t.setInterval&&ve(zr,"setInterval",wi),t.requestAnimationFrame&&ve(zr,"requestAnimationFrame",yi),t.XMLHttpRequest&&"XMLHttpRequest"in zr&&ve(XMLHttpRequest.prototype,"send",Si);const e=t.eventTarget;e&&(Array.isArray(e)?e:vi).forEach(Ei)}}};function wi(e){return function(...t){const n=t[0];return t[0]=Hr(n,{mechanism:{data:{function:wt(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function yi(e){return function(t){return e.apply(this,[Hr(t,{mechanism:{data:{function:"requestAnimationFrame",handler:wt(e)},handled:!1,type:"instrument"}})])}}function Si(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((e=>{e in n&&"function"==typeof n[e]&&ve(n,e,(function(t){const n={mechanism:{data:{function:e,handler:wt(t)},handled:!1,type:"instrument"}},r=ye(t);return r&&(n.mechanism.data.handler=wt(r)),Hr(t,n)}))})),e.apply(this,t)}}function Ei(e){const t=zr,n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(ve(n,"addEventListener",(function(t){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=Hr(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:wt(r),target:e},handled:!1,type:"instrument"}}))}catch(e){}return t.apply(this,[n,Hr(r,{mechanism:{data:{function:"addEventListener",handler:wt(r),target:e},handled:!1,type:"instrument"}}),i])}})),ve(n,"removeEventListener",(function(e){return function(t,n,r){const i=n;try{const n=i&&i.__sentry_wrapped__;n&&e.call(this,t,n,r)}catch(e){}return e.call(this,t,i,r)}})))}let ki=null;function Ti(e){const t="error";si(t,e),ci(t,xi)}function xi(){ki=G.onerror,G.onerror=function(e,t,n,r,i){return li("error",{column:r,error:i,line:n,msg:e,url:t}),!(!ki||ki.__SENTRY_LOADER__)&&ki.apply(this,arguments)},G.onerror.__SENTRY_INSTRUMENTED__=!0}let Ci=null;function Ni(e){const t="unhandledrejection";si(t,e),ci(t,Ai)}function Ai(){Ci=G.onunhandledrejection,G.onunhandledrejection=function(e){return li("unhandledrejection",e),!(Ci&&!Ci.__SENTRY_LOADER__)||Ci.apply(this,arguments)},G.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const Ii=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(function(e){Ti((t=>{const{stackParser:n,attachStacktrace:r}=Oi();if(ut()!==e||Vr())return;const{msg:i,url:a,line:o,column:s,error:c}=t,l=function(e,t,n,r){const i=e.exception=e.exception||{},a=i.values=i.values||[],o=a[0]=a[0]||{},s=o.stacktrace=o.stacktrace||{},c=s.frames=s.frames||[],l=isNaN(parseInt(r,10))?void 0:r,u=isNaN(parseInt(n,10))?void 0:n,d=re(t)&&t.length>0?t:function(){try{return de.document.location.href}catch(e){return""}}();return 0===c.length&&c.push({colno:l,filename:d,function:gt,in_app:!0,lineno:u}),e}(Rr(n,c||i,void 0,r,!1),a,o,s);l.level="error",Cn(l,{originalException:c,mechanism:{handled:!1,type:"onerror"}})}))}(e),Di("onerror")),t.onunhandledrejection&&(function(e){Ni((t=>{const{stackParser:n,attachStacktrace:r}=Oi();if(ut()!==e||Vr())return;const i=function(e){if(ae(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}(t),a=ae(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:Rr(n,i,void 0,r,!0);a.level="error",Cn(a,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})}))}(e),Di("onunhandledrejection"))}}};function Di(e){Ar&&J.log(`Global Handler attached: ${e}`)}function Oi(){const e=ut();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const Pi=()=>({name:"HttpContext",preprocessEvent(e){if(!zr.navigator&&!zr.location&&!zr.document)return;const t=e.request&&e.request.url||zr.location&&zr.location.href,{referrer:n}=zr.document||{},{userAgent:r}=zr.navigator||{},i={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},a={...e.request,...t&&{url:t},headers:i};e.request=a}});function Mi(e,t,n=250,r,i,a,o){if(!(a.exception&&a.exception.values&&o&&le(o.originalException,Error)))return;const s=a.exception.values.length>0?a.exception.values[a.exception.values.length-1]:void 0;var c,l;s&&(a.exception.values=(c=Ri(e,t,i,o.originalException,r,a.exception.values,s,0),l=n,c.map((e=>(e.value&&(e.value=ge(e.value,l)),e)))))}function Ri(e,t,n,r,i,a,o,s){if(a.length>=n+1)return a;let c=[...a];if(le(r[i],Error)){$i(o,s);const a=e(t,r[i]),l=c.length;Li(a,i,l,s),c=Ri(e,t,n,r[i],i,[a,...c],a,l)}return Array.isArray(r.errors)&&r.errors.forEach(((r,a)=>{if(le(r,Error)){$i(o,s);const l=e(t,r),u=c.length;Li(l,`errors[${a}]`,u,s),c=Ri(e,t,n,r,i,[l,...c],l,u)}})),c}function $i(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function Li(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}const zi=(e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,i){const a=i.getOptions();Mi(Ir,a.stackParser,a.maxValueLength,n,t,e,r)}}};function Fi(e,t,n,r){const i={filename:e,function:""===t?gt:t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}const Vi=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Hi=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Ui=/\((\S*)(?::(\d+))(?::(\d+))\)/,Wi=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Bi=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,ji=vt([30,e=>{const t=Vi.exec(e);if(t){const[,e,n,r]=t;return Fi(e,gt,+n,+r)}const n=Hi.exec(e);if(n){if(n[2]&&0===n[2].indexOf("eval")){const e=Ui.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}const[e,t]=Gi(n[1]||gt,n[2]);return Fi(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],[50,e=>{const t=Wi.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=Bi.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||gt;return[n,e]=Gi(n,e),Fi(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),Gi=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:gt,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};const qi="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,Yi={};function Ki(e){Yi[e]=void 0}const Qi=6e4;const Ji=64;function Zi(e,t,n=function(e){const t=[];function n(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(r){if(!(void 0===e||t.lengthn(i))).then(null,(()=>n(i).then(null,(()=>{})))),i},drain:function(e){return new Pt(((n,r)=>{let i=t.length;if(!i)return n(!0);const a=setTimeout((()=>{e&&e>0&&n(!1)}),e);t.forEach((e=>{Dt(e).then((()=>{--i||(clearTimeout(a),n(!0))}),r)}))}))}}}(e.bufferSize||Ji)){let r={};return{send:function(i){const a=[];if(hr(i,((t,n)=>{const i=br(n);if(function(e,t,n=Date.now()){return function(e,t){return e[t]||e.all||0}(e,t)>n}(r,i)){const r=Xi(t,n);e.recordDroppedEvent("ratelimit_backoff",i,r)}else a.push(t)})),0===a.length)return Dt({});const o=dr(i[0],a),s=t=>{hr(o,((n,r)=>{const i=Xi(n,r);e.recordDroppedEvent(t,br(r),i)}))};return n.add((()=>t({body:gr(o)}).then((e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&Me&&J.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=function(e,{statusCode:t,headers:n},r=Date.now()){const i={...e},a=n&&n["x-sentry-rate-limits"],o=n&&n["retry-after"];if(a)for(const e of a.trim().split(",")){const[t,n,,,a]=e.split(":",5),o=parseInt(t,10),s=1e3*(isNaN(o)?60:o);if(n)for(const e of n.split(";"))"metric_bucket"===e&&a&&!a.split(";").includes("custom")||(i[e]=r+s);else i.all=r+s}else o?i.all=r+function(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${e}`);return isNaN(r)?Qi:r-t}(o,r):429===t&&(i.all=r+6e4);return i}(r,e),e)),(e=>{throw s("network_error"),e})))).then((e=>e),(e=>{if(e instanceof yr)return Me&&J.error("Skipped sending event because buffer is full."),s("queue_overflow"),Dt({});throw e}))},flush:e=>n.drain(e)}}function Xi(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}function ea(e,t=function(e){const t=Yi[e];if(t)return t;let n=ir[e];if((r=n)&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(r.toString()))return Yi[e]=n.bind(ir);var r;const i=ir.document;if(i&&"function"==typeof i.createElement)try{const t=i.createElement("iframe");t.hidden=!0,i.head.appendChild(t);const r=t.contentWindow;r&&r[e]&&(n=r[e]),i.head.removeChild(t)}catch(t){qi&&Hn.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n?Yi[e]=n.bind(ir):n}("fetch")){let n=0,r=0;return Zi(e,(function(i){const a=i.body.length;n+=a,r++;const o={body:i.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};if(!t)return Ki("fetch"),Ot("No fetch implementation available");try{return t(e.url,o).then((e=>(n-=a,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}})))}catch(e){return Ki("fetch"),n-=a,r--,Ot(e)}}))}function ta(e={}){const t=function(e={}){return{defaultIntegrations:[Ve(),ht(),bi(),_i(),Ii(),zi(),St(),Pi()],release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:zr.SENTRY_RELEASE&&zr.SENTRY_RELEASE.id?zr.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0,...e}}(e);if(function(){const e=zr[zr.chrome?"chrome":"browser"],t=e&&e.runtime&&e.runtime.id,n=zr.location&&zr.location.href||"",r=!!t&&zr===zr.top&&["chrome-extension:","moz-extension:","ms-browser-extension:"].some((e=>n.startsWith(`${e}//`)));return!!t&&!r}())return void Q((()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}));Ar&&(Pn()||J.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));const n={...t,stackParser:(r=t.stackParser||ji,Array.isArray(r)?vt(...r):r),integrations:$e(t),transport:t.transport||ea};var r;(function(e,t){!0===t.debug&&(Me?J.enable():Q((()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")}))),ct().update(t.initialScope);const n=new e(t);!function(e){ct().setClient(e)}(n),n.init()})(Ur,n),t.autoSessionTracking&&(void 0!==zr.document?(Nn({ignoreDuration:!0}),Dn(),or((({from:e,to:t})=>{void 0!==e&&e!==t&&(Nn({ignoreDuration:!0}),Dn())}))):Ar&&J.warn("Session tracking in non-browser environment with @sentry/browser is not supported."))}const na="8.9.2";function ra(){return ia(Ln),Ln}function ia(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||$n,t[$n]=t[$n]||{}}function aa(){return{traceId:Wr(),spanId:Wr().substring(16)}}const oa="_sentrySpan";function sa(e,t){t?tr(e,oa,t):delete e[oa]}function ca(e){return e[oa]}class la{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=aa()}clone(){const e=new la;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,sa(e,ca(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&function(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||Jr(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:Wr()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"==typeof e?e(this):e,[n,r]=t instanceof ua?[t.getScopeData(),t.getRequestSession()]:Xn(t)?[e,e.requestSession]:[],{tags:i,extra:a,user:o,contexts:s,level:c,fingerprint:l=[],propagationContext:u}=n||{};return this._tags={...this._tags,...i},this._extra={...this._extra,...a},this._contexts={...this._contexts,...s},o&&Object.keys(o).length&&(this._user=o),c&&(this._level=c),l.length&&(this._fingerprint=l),u&&(this._propagationContext=u),r&&(this._requestSession=r),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,sa(this,void 0),this._attachments=[],this._propagationContext=aa(),this._notifyScopeListeners(),this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const r={timestamp:Qr(),...e},i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>n?i.slice(-n):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:ca(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t&&t.event_id?t.event_id:Wr();if(!this._client)return Hn.warn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){const r=n&&n.event_id?n.event_id:Wr();if(!this._client)return Hn.warn("No client configured on scope - will not capture message!"),r;const i=new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:Wr();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(Hn.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}}const ua=la;class da{constructor(e,t){let n,r;n=e||new ua,r=t||new ua,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){const t=this._pushScope();let n;try{n=e(t)}catch(e){throw this._popScope(),e}return r=n,Boolean(r&&r.then&&"function"==typeof r.then)?n.then((e=>(this._popScope(),e)),(e=>{throw this._popScope(),e})):(this._popScope(),n);var r}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:e}),e}_popScope(){return!(this.getStack().length<=1||!this.getStack().pop())}}function pa(){const e=ia(ra());return e.stack=e.stack||new da(zn("defaultCurrentScope",(()=>new ua)),zn("defaultIsolationScope",(()=>new ua)))}function ha(e){return pa().withScope(e)}function ma(e,t){const n=pa();return n.withScope((()=>(n.getStackTop().scope=e,t(e))))}function ga(e){return pa().withScope((()=>e(pa().getIsolationScope())))}function fa(e){const t=ia(e);return t.acs?t.acs:{withIsolationScope:ga,withScope:ha,withSetScope:ma,withSetIsolationScope:(e,t)=>ga(t),getCurrentScope:()=>pa().getScope(),getIsolationScope:()=>pa().getIsolationScope()}}function _a(){return fa(ra()).getCurrentScope()}function va(){return _a().getClient()}const ba="_sentryMetrics";function wa(e){const t=e[ba];if(!t)return;const n={};for(const[,[e,r]]of t)n[e]||(n[e]=[]),n[e].push(nr(r));return n}const ya="sentry.source",Sa="sentry.sample_rate",Ea="sentry.op",ka="sentry.origin",Ta="sentry.measurement_unit",xa="sentry.measurement_value",Ca="sentry.exclusive_time",Na=0,Aa=1,Ia=1;function Da(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:a,status:o,origin:s}=Ma(e);return nr({parent_span_id:a,span_id:t,trace_id:n,data:r,op:i,status:o,origin:s})}function Oa(e){return"number"==typeof e?Pa(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?Pa(e.getTime()):Jr()}function Pa(e){return e>9999999999?e/1e3:e}function Ma(e){if(function(e){return"function"==typeof e.getSpanJSON}(e))return e.getSpanJSON();try{const{spanId:t,traceId:n}=e.spanContext();if(function(e){const t=e;return!!(t.attributes&&t.startTime&&t.name&&t.endTime&&t.status)}(e)){const{attributes:r,startTime:i,name:a,endTime:o,parentSpanId:s,status:c}=e;return nr({span_id:t,trace_id:n,data:r,description:a,parent_span_id:s,start_timestamp:Oa(i),timestamp:Oa(o)||void 0,status:$a(c),op:r[Ea],origin:r[ka],_metrics_summary:wa(e)})}return{span_id:t,trace_id:n}}catch(e){return{}}}function Ra(e){const{traceFlags:t}=e.spanContext();return t===Ia}function $a(e){if(e&&e.code!==Na)return e.code===Aa?"ok":e.message||"unknown_error"}const La="_sentryChildSpans",za="_sentryRootSpan";function Fa(e,t){const n=e[za]||e;tr(t,za,n),e[La]?e[La].add(t):tr(e,La,new Set([t]))}function Va(e){return e[za]||e}function Ha(){const e=fa(ra());return e.getActiveSpan?e.getActiveSpan():ca(_a())}function Ua(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=e||function(){const e=va();return e&&e.getOptions()}();return!!t&&(t.enableTracing||"tracesSampleRate"in t||"tracesSampler"in t)}const Wa="production",Ba="_frozenDsc";function ja(e,t){tr(e,Ba,t)}function Ga(e){const t=va();if(!t)return{};const n=function(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i=nr({environment:n.environment||Wa,release:n.release,public_key:r,trace_id:e});return t.emit("createDsc",i),i}(Ma(e).trace_id||"",t),r=Va(e);if(!r)return n;const i=r[Ba];if(i)return i;const a=Ma(r),o=a.data||{},s=o[Sa];null!=s&&(n.sample_rate=`${s}`);const c=o[ya];return c&&"url"!==c&&(n.transaction=a.description),n.sampled=String(Ra(r)),t.emit("createDsc",n),n}const qa="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;class Ya{constructor(e={}){this._traceId=e.traceId||Wr(),this._spanId=e.spanId||Wr().substring(16)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,n){return this}}function Ka(e,t=!1){const{host:n,path:r,pass:i,port:a,projectId:o,protocol:s,publicKey:c}=e;return`${s}://${c}${t&&i?`:${i}`:""}@${n}${a?`:${a}`:""}/${r?`${r}/`:r}${o}`}function Qa(e){return[{type:"span"},e]}function Ja(e){if(!e||0===e.length)return;const t={};return e.forEach((e=>{const n=e.attributes||{},r=n[Ta],i=n[xa];"string"==typeof r&&"number"==typeof i&&(t[e.name]={value:i,unit:r})})),t}const Za="_sentryScope",Xa="_sentryIsolationScope";function eo(e){return{scope:e[Za],isolationScope:e[Xa]}}class to{constructor(e={}){this._traceId=e.traceId||Wr(),this._spanId=e.spanId||Wr().substring(16),this._startTime=e.startTimestamp||Jr(),this._attributes={},this.setAttributes({[ka]:"manual",[Ea]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}spanContext(){const{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?Ia:0}}setAttribute(e,t){void 0===t?delete this._attributes[e]:this._attributes[e]=t}setAttributes(e){Object.keys(e).forEach((t=>this.setAttribute(t,e[t])))}updateStartTime(e){this._startTime=Oa(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this}end(e){this._endTime||(this._endTime=Oa(e),function(e){if(!qa)return;const{description:t="< unknown name >",op:n="< unknown op >"}=Ma(e),{spanId:r}=e.spanContext(),i=`[Tracing] Finishing "${n}" ${Va(e)===e?"root ":""}span "${t}" with ID ${r}`;Hn.log(i)}(this),this._onSpanEnded())}getSpanJSON(){return nr({data:this._attributes,description:this._name,op:this._attributes[Ea],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:$a(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[ka],_metrics_summary:wa(this),profile_id:this._attributes["sentry.profile_id"],exclusive_time:this._attributes[Ca],measurements:Ja(this._events),is_segment:this._isStandaloneSpan&&Va(this)===this||void 0,segment_id:this._isStandaloneSpan?Va(this).spanContext().spanId:void 0})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){qa&&Hn.log("[Tracing] Adding an event to span:",e);const r=no(t)?t:n||Jr(),i=no(t)?{}:t||{},a={name:e,time:Oa(r),attributes:i};return this._events.push(a),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const e=va();if(e&&e.emit("spanEnd",this),!this._isStandaloneSpan&&this!==Va(this))return;if(this._isStandaloneSpan)return void function(e){const t=va();if(!t)return;const n=e[1];if(!n||0===n.length)return void t.recordDroppedEvent("before_send","span");const r=t.getTransport();r&&r.send(e).then(null,(e=>{qa&&Hn.error("Error while sending span:",e)}))}(function(e,t){const n=Ga(e[0]),r=t&&t.getDsn(),i=t&&t.getOptions().tunnel,a={sent_at:(new Date).toISOString(),...function(e){return!!e.trace_id&&!!e.public_key}(n)&&{trace:n},...!!i&&r&&{dsn:Ka(r)}},o=t&&t.getOptions().beforeSendSpan,s=o?e=>o(Ma(e)):e=>Ma(e),c=[];for(const t of e){const e=s(t);e&&c.push(Qa(e))}return function(e,t=[]){return[e,t]}(a,c)}([this],e));const t=this._convertSpanToTransaction();t&&(eo(this).scope||_a()).captureEvent(t)}_convertSpanToTransaction(){if(!ro(Ma(this)))return;this._name||(qa&&Hn.warn("Transaction has no name, falling back to ``."),this._name="");const{scope:e,isolationScope:t}=eo(this),n=(e||_a()).getClient()||va();if(!0!==this._sampled)return qa&&Hn.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),void(n&&n.recordDroppedEvent("sample_rate","transaction"));const r=function(e){const t=new Set;return function e(n){if(!t.has(n)&&Ra(n)){t.add(n);const r=n[La]?Array.from(n[La]):[];for(const t of r)e(t)}}(e),Array.from(t)}(this).filter((e=>e!==this&&!function(e){return e instanceof to&&e.isStandaloneSpan()}(e))).map((e=>Ma(e))).filter(ro),i=this._attributes[ya],a={contexts:{trace:Da(this)},spans:r.length>1e3?r.sort(((e,t)=>e.start_timestamp-t.start_timestamp)).slice(0,1e3):r,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,...nr({dynamicSamplingContext:Ga(this)})},_metrics_summary:wa(this),...i&&{transaction_info:{source:i}}},o=Ja(this._events);return o&&Object.keys(o).length&&(qa&&Hn.log("[Measurements] Adding measurements to transaction event",JSON.stringify(o,void 0,2)),a.measurements=o),a}}function no(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function ro(e){return!!(e.start_timestamp&&e.timestamp&&e.span_id&&e.trace_id)}const io="__SENTRY_SUPPRESS_TRACING__";function ao(e){const t=oo();if(t.startInactiveSpan)return t.startInactiveSpan(e);const n=function(e){const t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const n={...t};return n.startTimestamp=Oa(e.startTime),delete n.startTime,n}return t}(e),r=e.scope||_a(),i=function(e){const t=ca(e);if(!t)return;const n=va();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?Va(t):t}(r);return e.onlyIfParent&&!i?new Ya:function({parentSpan:e,spanContext:t,forceTransaction:n,scope:r}){if(!Ua())return new Ya;const i=fa(ra()).getIsolationScope();let a;if(e&&!n)a=function(e,t,n){const{spanId:r,traceId:i}=e.spanContext(),a=!t.getScopeData().sdkProcessingMetadata[io]&&Ra(e),o=a?new to({...n,parentSpanId:r,traceId:i,sampled:a}):new Ya({traceId:i});Fa(e,o);const s=va();return s&&(s.emit("spanStart",o),n.endTimestamp&&s.emit("spanEnd",o)),o}(e,r,t),Fa(e,a);else if(e){const n=Ga(e),{traceId:i,spanId:o}=e.spanContext(),s=Ra(e);a=so({traceId:i,parentSpanId:o,...t},r,s),ja(a,n)}else{const{traceId:e,dsc:n,parentSpanId:o,sampled:s}={...i.getPropagationContext(),...r.getPropagationContext()};a=so({traceId:e,parentSpanId:o,...t},r,s),n&&ja(a,n)}return function(e){if(!qa)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=Ma(e),{spanId:i}=e.spanContext(),a=Ra(e),o=Va(e),s=o===e,c=`[Tracing] Starting ${a?"sampled":"unsampled"} ${s?"root ":""}span`,l=[`op: ${n}`,`name: ${t}`,`ID: ${i}`];if(r&&l.push(`parent ID: ${r}`),!s){const{op:e,description:t}=Ma(o);l.push(`root ID: ${o.spanContext().spanId}`),e&&l.push(`root op: ${e}`),t&&l.push(`root description: ${t}`)}Hn.log(`${c}\n ${l.join("\n ")}`)}(a),function(e,t,n){e&&(tr(e,Xa,n),tr(e,Za,t))}(a,r,i),a}({parentSpan:i,spanContext:n,forceTransaction:e.forceTransaction,scope:r})}function oo(){return fa(ra())}function so(e,t,n){const r=va(),i=r&&r.getOptions()||{},{name:a="",attributes:o}=e,[s,c]=t.getScopeData().sdkProcessingMetadata[io]?[!1]:function(e,t){if(!Ua(e))return[!1];let n;n="function"==typeof e.tracesSampler?e.tracesSampler(t):void 0!==t.parentSampled?t.parentSampled:void 0!==e.tracesSampleRate?e.tracesSampleRate:1;const r=function(e){if("boolean"==typeof e)return Number(e);const t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t)||t<0||t>1))return t;qa&&Hn.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`)}(n);return void 0===r?(qa&&Hn.warn("[Tracing] Discarding transaction because of invalid sample rate."),[!1]):r?Math.random()";try{let n=e;const r=5,i=[];let a=0,o=0;const s=" > ",c=s.length;let l;const u=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||lo;for(;n&&a++1&&o+i.length*c+l.length>=d));)i.push(l),o+=l.length,n=n.parentNode;return i.reverse().join(s)}catch(e){return""}}function po(e,t){const n=e,r=[];let i,a,o,s,c;if(!n||!n.tagName)return"";if(co.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const l=t&&t.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(l&&l.length)l.forEach((e=>{r.push(`[${e[0]}="${e[1]}"]`)}));else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&Zn(i))for(a=i.split(/\s+/),c=0;c{let i,a;return o=>{t.value>=0&&(o||r)&&(a=t.value-(i||0),(a||void 0===i)&&(i=t.value,t.delta=a,t.rating=((e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good")(t.value,n),e(t)))}},go=()=>ir.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],fo=()=>{const e=go();return e&&e.activationStart||0},_o=(e,t)=>{const n=go();let r="navigate";return n&&(ir.document&&ir.document.prerendering||fo()>0?r="prerender":ir.document&&ir.document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:`v3-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:r}},vo=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver((e=>{Promise.resolve().then((()=>{t(e.getEntries())}))}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},bo=e=>{const t=t=>{("pagehide"===t.type||ir.document&&"hidden"===ir.document.visibilityState)&&e(t)};ir.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},wo=e=>{let t=!1;return n=>{t||(e(n),t=!0)}};let yo=-1;const So=e=>{"hidden"===ir.document.visibilityState&&yo>-1&&(yo="visibilitychange"===e.type?e.timeStamp:0,removeEventListener("visibilitychange",So,!0),removeEventListener("prerenderingchange",So,!0))},Eo=()=>(ir.document&&yo<0&&(yo="hidden"!==ir.document.visibilityState||ir.document.prerendering?1/0:0,addEventListener("visibilitychange",So,!0),addEventListener("prerenderingchange",So,!0)),{get firstHiddenTime(){return yo}}),ko=e=>{ir.document&&ir.document.prerendering?addEventListener("prerenderingchange",(()=>e()),!0):e()},To=[1800,3e3],xo=[.1,.25],Co=(e,t={})=>{((e,t={})=>{ko((()=>{const n=Eo(),r=_o("FCP");let i;const a=vo("paint",(e=>{e.forEach((e=>{"first-contentful-paint"===e.name&&(a.disconnect(),e.startTime{const n=_o("CLS",0);let r,i=0,a=[];const o=e=>{e.forEach((e=>{if(!e.hadRecentInput){const t=a[0],n=a[a.length-1];i&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,a.push(e)):(i=e.value,a=[e])}})),i>n.value&&(n.value=i,n.entries=a,r())},s=vo("layout-shift",o);s&&(r=mo(e,n,xo,t.reportAllChanges),bo((()=>{o(s.takeRecords()),r(!0)})),setTimeout(r,0))})))},No=[100,300],Ao=(e,t={})=>{ko((()=>{const n=Eo(),r=_o("FID");let i;const a=e=>{e.startTime{e.forEach(a)},s=vo("first-input",o);i=mo(e,r,No,t.reportAllChanges),s&&bo(wo((()=>{o(s.takeRecords()),s.disconnect()})))}))};let Io=0,Do=1/0,Oo=0;const Po=e=>{e.forEach((e=>{e.interactionId&&(Do=Math.min(Do,e.interactionId),Oo=Math.max(Oo,e.interactionId),Io=Oo?(Oo-Do)/7+1:0)}))};let Mo;const Ro=()=>{"interactionCount"in performance||Mo||(Mo=vo("event",Po,{type:"event",buffered:!0,durationThreshold:0}))},$o=[200,500],Lo=()=>(Mo?Io:performance.interactionCount||0)-0,zo=[],Fo={},Vo=e=>{const t=zo[zo.length-1],n=Fo[e.interactionId];if(n||zo.length<10||e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{const t={id:e.interactionId,latency:e.duration,entries:[e]};Fo[t.id]=t,zo.push(t)}zo.sort(((e,t)=>t.latency-e.latency)),zo.splice(10).forEach((e=>{delete Fo[e.id]}))}},Ho=(e,t={})=>{ko((()=>{Ro();const n=_o("INP");let r;const i=e=>{e.forEach((e=>{e.interactionId&&Vo(e),"first-input"===e.entryType&&!zo.some((t=>t.entries.some((t=>e.duration===t.duration&&e.startTime===t.startTime))))&&Vo(e)}));const t=(()=>{const e=Math.min(zo.length-1,Math.floor(Lo()/50));return zo[e]})();t&&t.latency!==n.value&&(n.value=t.latency,n.entries=t.entries,r())},a=vo("event",i,{durationThreshold:null!=t.durationThreshold?t.durationThreshold:40});r=mo(e,n,$o,t.reportAllChanges),a&&("PerformanceEventTiming"in ir&&"interactionId"in PerformanceEventTiming.prototype&&a.observe({type:"first-input",buffered:!0}),bo((()=>{i(a.takeRecords()),n.value<0&&Lo()>0&&(n.value=0,n.entries=[]),r(!0)})))}))},Uo=[2500,4e3],Wo={},Bo=(e,t={})=>{ko((()=>{const n=Eo(),r=_o("LCP");let i;const a=e=>{const t=e[e.length-1];t&&t.startTime{Wo[r.id]||(a(o.takeRecords()),o.disconnect(),Wo[r.id]=!0,i(!0))}));["keydown","click"].forEach((e=>{ir.document&&addEventListener(e,(()=>setTimeout(n,0)),!0)})),bo(n)}}))},jo=[800,1800],Go=e=>{ir.document&&ir.document.prerendering?ko((()=>Go(e))):ir.document&&"complete"!==ir.document.readyState?addEventListener("load",(()=>Go(e)),!0):setTimeout(e,0)},qo=(e,t={})=>{const n=_o("TTFB"),r=mo(e,n,jo,t.reportAllChanges);Go((()=>{const e=go();if(e){const t=e.responseStart;if(t<=0||t>performance.now())return;n.value=Math.max(t-fo(),0),n.entries=[e],r(!0)}}))},Yo={},Ko={};let Qo,Jo,Zo,Xo,es;function ts(e,t){return ls(e,t),Ko[e]||(function(e){const t={};"event"===e&&(t.durationThreshold=0),vo(e,(t=>{ns(e,{entries:t})}),t)}(e),Ko[e]=!0),us(e,t)}function ns(e,t){const n=Yo[e];if(n&&n.length)for(const r of n)try{r(t)}catch(t){qi&&Hn.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${Wn(r)}\nError:`,t)}}function rs(){return Co((e=>{ns("cls",{metric:e}),Qo=e}),{reportAllChanges:!0})}function is(){return Ao((e=>{ns("fid",{metric:e}),Jo=e}))}function as(){return Bo((e=>{ns("lcp",{metric:e}),Zo=e}),{reportAllChanges:!0})}function os(){return qo((e=>{ns("ttfb",{metric:e}),Xo=e}))}function ss(){return Ho((e=>{ns("inp",{metric:e}),es=e}))}function cs(e,t,n,r,i=!1){let a;return ls(e,t),Ko[e]||(a=n(),Ko[e]=!0),r&&t({metric:r}),us(e,t,i?a:void 0)}function ls(e,t){Yo[e]=Yo[e]||[],Yo[e].push(t)}function us(e,t,n){return()=>{n&&n();const r=Yo[e];if(!r)return;const i=r.indexOf(t);-1!==i&&r.splice(i,1)}}function ds(e){return"number"==typeof e&&isFinite(e)}function ps(e,t,n,{...r}){const i=Ma(e).start_timestamp;return i&&i>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),function(e,t){const n=oo();return n.withActiveSpan?n.withActiveSpan(e,t):function(...e){const t=fa(ra());if(2===e.length){const[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}return t.withScope(e[0])}((n=>(sa(n,e||void 0),t(n))))}(e,(()=>{const e=ao({startTime:t,...r});return e&&e.end(n),e}))}function hs(){return ir&&ir.addEventListener&&ir.performance}function ms(e){return e/1e3}const gs=2147483647;let fs,_s,vs=0,bs={};function ws(){const e=hs();if(e&&Xr){e.mark&&ir.performance.mark("sentry-tracing-init");const t=cs("fid",(({metric:e})=>{const t=e.entries[e.entries.length-1];if(!t)return;const n=ms(Xr),r=ms(t.startTime);qi&&Hn.log("[Measurements] Adding FID"),bs.fid={value:e.value,unit:"millisecond"},bs["mark.fid"]={value:n+r,unit:"second"}}),is,Jo),n=function(e,t=!1){return cs("cls",e,rs,Qo,t)}((({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(qi&&Hn.log("[Measurements] Adding CLS"),bs.cls={value:e.value,unit:""},_s=t)}),!0),r=function(e,t=!1){return cs("lcp",e,as,Zo,t)}((({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(qi&&Hn.log("[Measurements] Adding LCP"),bs.lcp={value:e.value,unit:"millisecond"},fs=t)}),!0),i=cs("ttfb",(({metric:e})=>{e.entries[e.entries.length-1]&&(qi&&Hn.log("[Measurements] Adding TTFB"),bs.ttfb={value:e.value,unit:"millisecond"})}),os,Xo);return()=>{t(),n(),r(),i()}}return()=>{}}function ys(e,t,n,r,i,a){const o=a?t[a]:t[`${n}End`],s=t[`${n}Start`];s&&o&&ps(e,r+ms(s),r+ms(o),{op:"browser",name:i||n,attributes:{[ka]:"auto.ui.browser.metrics"}})}function Ss(e,t,n,r){const i=t[n];null!=i&&i{const n=e.attributes||{},r=n["sentry.measurement_unit"],i=n["sentry.measurement_value"];"string"==typeof r&&"number"==typeof i&&(t[e.name]={value:i,unit:r})})),t}const As="_sentryScope",Is="_sentryIsolationScope";function Ds(e){return{scope:e[As],isolationScope:e[Is]}}class Os{constructor(e={}){this._traceId=e.traceId||Ce(),this._spanId=e.spanId||Ce().substring(16),this._startTime=e.startTimestamp||qe(),this._attributes={},this.setAttributes({[zt]:"manual",[Lt]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}spanContext(){const{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?tn:0}}setAttribute(e,t){void 0===t?delete this._attributes[e]:this._attributes[e]=t}setAttributes(e){Object.keys(e).forEach((t=>this.setAttribute(t,e[t])))}updateStartTime(e){this._startTime=on(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this}end(e){this._endTime||(this._endTime=on(e),function(e){if(!Me)return;const{description:t="< unknown name >",op:n="< unknown op >"}=cn(e),{spanId:r}=e.spanContext(),i=`[Tracing] Finishing "${n}" ${gn(e)===e?"root ":""}span "${t}" with ID ${r}`;J.log(i)}(this),this._onSpanEnded())}getSpanJSON(){return Te({data:this._attributes,description:this._name,op:this._attributes[Lt],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:un(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[zt],_metrics_summary:Qt(this),profile_id:this._attributes["sentry.profile_id"],exclusive_time:this._attributes["sentry.exclusive_time"],measurements:Ns(this._events),is_segment:this._isStandaloneSpan&&gn(this)===this||void 0,segment_id:this._isStandaloneSpan?gn(this).spanContext().spanId:void 0})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){Me&&J.log("[Tracing] Adding an event to span:",e);const r=Ps(t)?t:n||qe(),i=Ps(t)?{}:t||{},a={name:e,time:on(r),attributes:i};return this._events.push(a),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const e=ut();if(e&&e.emit("spanEnd",this),!this._isStandaloneSpan&&this!==gn(this))return;if(this._isStandaloneSpan)return void function(e){const t=ut();if(!t)return;const n=e[1];if(!n||0===n.length)return void t.recordDroppedEvent("before_send","span");const r=t.getTransport();r&&r.send(e).then(null,(e=>{Me&&J.error("Error while sending span:",e)}))}(function(e,t){const n=yn(e[0]),r=t&&t.getDsn(),i=t&&t.getOptions().tunnel,a={sent_at:(new Date).toISOString(),...function(e){return!!e.trace_id&&!!e.public_key}(n)&&{trace:n},...!!i&&r&&{dsn:lr(r)}},o=t&&t.getOptions().beforeSendSpan,s=o?e=>o(cn(e)):e=>cn(e),c=[];for(const t of e){const e=s(t);e&&c.push(fr(e))}return dr(a,c)}([this],e));const t=this._convertSpanToTransaction();t&&(Ds(this).scope||ct()).captureEvent(t)}_convertSpanToTransaction(){if(!Ms(cn(this)))return;this._name||(Me&&J.warn("Transaction has no name, falling back to ``."),this._name="");const{scope:e,isolationScope:t}=Ds(this),n=(e||ct()).getClient()||ut();if(!0!==this._sampled)return Me&&J.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),void(n&&n.recordDroppedEvent("sample_rate","transaction"));const r=mn(this).filter((e=>e!==this&&!function(e){return e instanceof Os&&e.isStandaloneSpan()}(e))).map((e=>cn(e))).filter(Ms),i=this._attributes[Rt],a={contexts:{trace:nn(this)},spans:r.length>1e3?r.sort(((e,t)=>e.start_timestamp-t.start_timestamp)).slice(0,1e3):r,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,...Te({dynamicSamplingContext:yn(this)})},_metrics_summary:Qt(this),...i&&{transaction_info:{source:i}}},o=Ns(this._events);return o&&Object.keys(o).length&&(Me&&J.log("[Measurements] Adding measurements to transaction event",JSON.stringify(o,void 0,2)),a.measurements=o),a}}function Ps(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function Ms(e){return!!(e.start_timestamp&&e.timestamp&&e.span_id&&e.trace_id)}const Rs="__SENTRY_SUPPRESS_TRACING__";function $s(e){const t=st(Ue());if(t.startInactiveSpan)return t.startInactiveSpan(e);const n=function(e){const t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const n={...t};return n.startTimestamp=on(e.startTime),delete n.startTime,n}return t}(e),r=e.scope||ct(),i=function(e){const t=Xe(e);if(!t)return;const n=ut();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?gn(t):t}(r);return e.onlyIfParent&&!i?new Cs:function({parentSpan:e,spanContext:t,forceTransaction:n,scope:r}){if(!xs())return new Cs;const i=lt();let a;if(e&&!n)a=function(e,t,n){const{spanId:r,traceId:i}=e.spanContext(),a=!t.getScopeData().sdkProcessingMetadata[Rs]&&ln(e),o=a?new Os({...n,parentSpanId:r,traceId:i,sampled:a}):new Cs({traceId:i});hn(e,o);const s=ut();return s&&(s.emit("spanStart",o),n.endTimestamp&&s.emit("spanEnd",o)),o}(e,r,t),hn(e,a);else if(e){const n=yn(e),{traceId:i,spanId:o}=e.spanContext(),s=ln(e);a=Ls({traceId:i,parentSpanId:o,...t},r,s),bn(a,n)}else{const{traceId:e,dsc:n,parentSpanId:o,sampled:s}={...i.getPropagationContext(),...r.getPropagationContext()};a=Ls({traceId:e,parentSpanId:o,...t},r,s),n&&bn(a,n)}return function(e){if(!Me)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=cn(e),{spanId:i}=e.spanContext(),a=ln(e),o=gn(e),s=o===e,c=`[Tracing] Starting ${a?"sampled":"unsampled"} ${s?"root ":""}span`,l=[`op: ${n}`,`name: ${t}`,`ID: ${i}`];if(r&&l.push(`parent ID: ${r}`),!s){const{op:e,description:t}=cn(o);l.push(`root ID: ${o.spanContext().spanId}`),e&&l.push(`root op: ${e}`),t&&l.push(`root description: ${t}`)}J.log(`${c}\n ${l.join("\n ")}`)}(a),function(e,t,n){e&&(be(e,Is,n),be(e,As,t))}(a,r,i),a}({parentSpan:i,spanContext:n,forceTransaction:e.forceTransaction,scope:r})}function Ls(e,t,n){const r=ut(),i=r&&r.getOptions()||{},{name:a="",attributes:o}=e,[s,c]=t.getScopeData().sdkProcessingMetadata[Rs]?[!1]:function(e,t){if(!xs(e))return[!1];let n;n="function"==typeof e.tracesSampler?e.tracesSampler(t):void 0!==t.parentSampled?t.parentSampled:void 0!==e.tracesSampleRate?e.tracesSampleRate:1;const r=kr(n);return void 0===r?(Me&&J.warn("[Tracing] Discarding transaction because of invalid sample rate."),[!1]):r?Math.random(){!i&&0===n.size&&o&&(a="idleTimeout",m.end(e))}),s)}function _(e){r=setTimeout((()=>{!i&&o&&(a="heartbeatFailed",m.end(e))}),l)}function v(e){i=!0,n.clear(),Ze(p,h);const t=cn(m),{start_timestamp:r}=t;if(!r)return;(t.data||{})[Ft]||m.setAttribute(Ft,a),J.log(`[Tracing] Idle span "${t.op}" finished`);const o=mn(m).filter((e=>e!==m));let l=0;o.forEach((t=>{t.isRecording()&&(t.setStatus({code:Xt,message:"cancelled"}),t.end(e),Me&&J.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));const n=cn(t),{timestamp:r=0,start_timestamp:i=0}=n,a=i<=e,o=r-i<=(c+s)/1e3;if(Me){const e=JSON.stringify(t,void 0,2);a?o||J.log("[Tracing] Discarding span since it finished after idle span final timeout",e):J.log("[Tracing] Discarding span since it happened after idle span was finished",e)}o&&a||(function(e,t){e[dn]&&e[dn].delete(t)}(m,t),l++)})),l>0&&m.setAttribute("sentry.idle_span_discarded_spans",l)}return m.end=new Proxy(m.end,{apply(e,t,n){u&&u(m);const[r,...i]=n,a=on(r||qe()),o=mn(m).filter((e=>e!==m));if(!o.length)return v(a),Reflect.apply(e,t,[a,...i]);const s=o.map((e=>cn(e).timestamp)).filter((e=>!!e)),l=s.length?Math.max(...s):void 0,d=cn(m).start_timestamp,p=Math.min(d?d+c/1e3:1/0,Math.max(d||-1/0,Math.min(a,l||1/0)));return v(p),Reflect.apply(e,t,[p,...i])}}),d.on("spanStart",(e=>{var t;i||e===m||cn(e).timestamp||mn(m).includes(e)&&(t=e.spanContext().spanId,g(),n.set(t,!0),_(qe()+l/1e3))})),d.on("spanEnd",(e=>{var t;i||(t=e.spanContext().spanId,n.has(t)&&n.delete(t),0===n.size&&f(qe()+s/1e3))})),d.on("idleSpanEnableAutoFinish",(e=>{e===m&&(o=!0,f(),n.size&&_())})),t.disableAutoFinish||f(),setTimeout((()=>{i||(m.setStatus({code:Xt,message:"deadline_exceeded"}),a="finalTimeout",m.end())}),c),m}let Vs=!1;function Hs(){const e=fn(),t=e&&gn(e);if(t){const e="internal_error";Me&&J.log(`[Tracing] Root span: ${e} -> Global error occured`),t.setStatus({code:Xt,message:e})}}Hs.tag="sentry_tracingErrorCallback";const Us={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0};function Ws(e){const{traceFetch:t,traceXHR:n,shouldCreateSpanForRequest:r,enableHTTPTimings:i,tracePropagationTargets:a}={traceFetch:Us.traceFetch,traceXHR:Us.traceXHR,...e},o="function"==typeof r?r:e=>!0,s=e=>function(e,t){const n=zr.location&&zr.location.href;if(n){let r,i;try{r=new URL(e,n),i=new URL(n).origin}catch(e){return!1}const a=r.origin===i;return t?_e(r.toString(),t)||a&&_e(r.pathname,t):a}{const n=!!e.match(/^\/(?!\/)/);return t?_e(e,t):n}}(e,a),c={};t&&di((e=>{const t=function(e,t,n,r,i="auto.http.browser"){if(!e.fetchData)return;const a=xs()&&t(e.fetchData.url);if(e.endTimestamp&&a){const t=e.fetchData.__span;if(!t)return;const n=r[t];return void(n&&(function(e,t){if(t.response){en(e,t.response.status);const n=t.response&&t.response.headers&&t.response.headers.get("content-length");if(n){const t=parseInt(n);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:Xt,message:"internal_error"});e.end()}(n,e),delete r[t]))}const o=ct(),s=ut(),{method:c,url:l}=e.fetchData,u=function(e){try{return new URL(e).href}catch(e){return}}(l),d=u?fi(u).host:void 0,p=!!fn(),h=a&&p?$s({name:`${c} ${l}`,attributes:{url:l,type:"fetch","http.method":c,"http.url":u,"server.address":d,[zt]:i,[Lt]:"http.client"}}):new Cs;if(e.fetchData.__span=h.spanContext().spanId,r[h.spanContext().spanId]=h,n(e.fetchData.url)&&s){const t=e.args[0];e.args[1]=e.args[1]||{};const n=e.args[1];n.headers=function(e,t,n,r,i){const a=lt(),{traceId:o,spanId:s,sampled:c,dsc:l}={...a.getPropagationContext(),...n.getPropagationContext()},u=i?an(i):Yt(o,s,c),d=Bt(l||(i?yn(i):wn(o,t))),p=r.headers||("undefined"!=typeof Request&&le(e,Request)?e.headers:void 0);if(p){if("undefined"!=typeof Headers&&le(p,Headers)){const e=new Headers(p);return e.append("sentry-trace",u),d&&e.append(Vt,d),e}if(Array.isArray(p)){const e=[...p,["sentry-trace",u]];return d&&e.push([Vt,d]),e}{const e="baggage"in p?p.baggage:void 0,t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),d&&t.push(d),{...p,"sentry-trace":u,baggage:t.length>0?t.join(","):void 0}}}return{"sentry-trace":u,baggage:d}}(t,s,o,n,xs()&&p?h:void 0)}return h}(e,o,s,c);if(t){const n=Gs(e.fetchData.url),r=n?fi(n).host:void 0;t.setAttributes({"http.url":n,"server.address":r})}i&&t&&Bs(t)})),n&&ti((e=>{const t=function(e,t,n,r){const i=e.xhr,a=i&&i[ei];if(!i||i.__sentry_own_request__||!a)return;const o=xs()&&t(a.url);if(e.endTimestamp&&o){const e=i.__sentry_xhr_span_id__;if(!e)return;const t=r[e];return void(t&&void 0!==a.status_code&&(en(t,a.status_code),t.end(),delete r[e]))}const s=Gs(a.url),c=s?fi(s).host:void 0,l=!!fn(),u=o&&l?$s({name:`${a.method} ${a.url}`,attributes:{type:"xhr","http.method":a.method,"http.url":s,url:a.url,"server.address":c,[zt]:"auto.http.browser",[Lt]:"http.client"}}):new Cs;i.__sentry_xhr_span_id__=u.spanContext().spanId,r[i.__sentry_xhr_span_id__]=u;const d=ut();return i.setRequestHeader&&n(a.url)&&d&&function(e,t,n){const r=ct(),i=lt(),{traceId:a,spanId:o,sampled:s,dsc:c}={...i.getPropagationContext(),...r.getPropagationContext()};!function(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader(Vt,n)}catch(e){}}(e,n&&xs()?an(n):Yt(a,o,s),Bt(c||(n?yn(n):wn(a,t))))}(i,d,xs()&&l?u:void 0),u}(e,o,s,c);i&&t&&Bs(t)}))}function Bs(e){const{url:t}=cn(e).data||{};if(!t||"string"!=typeof t)return;const n=ts("resource",(({entries:r})=>{r.forEach((r=>{if(function(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"==typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)}(r)&&r.name.endsWith(t)){(function(e){const{name:t,version:n}=function(e){let t="unknown",n="unknown",r="";for(const i of e){if("/"===i){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:n}}(e.nextHopProtocol),r=[];return r.push(["network.protocol.version",n],["network.protocol.name",t]),Ke?[...r,["http.request.redirect_start",js(e.redirectStart)],["http.request.fetch_start",js(e.fetchStart)],["http.request.domain_lookup_start",js(e.domainLookupStart)],["http.request.domain_lookup_end",js(e.domainLookupEnd)],["http.request.connect_start",js(e.connectStart)],["http.request.secure_connection_start",js(e.secureConnectionStart)],["http.request.connection_end",js(e.connectEnd)],["http.request.request_start",js(e.requestStart)],["http.request.response_start",js(e.responseStart)],["http.request.response_end",js(e.responseEnd)]]:r})(r).forEach((t=>e.setAttribute(...t))),setTimeout(n)}}))}))}function js(e=0){return((Ke||performance.timeOrigin)+e)/1e3}function Gs(e){try{return new URL(e,zr.location.origin).href}catch(e){return}}const qs={...zs,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableInp:!0,_experiments:{},...Us},Ys=(e={})=>{Vs||(Vs=!0,Ti(Hs),Ni(Hs));const{enableInp:t,enableLongTask:n,_experiments:{enableInteractions:r},beforeStartSpan:i,idleTimeout:a,finalTimeout:o,childSpanTimeout:s,markBackgroundSpan:c,traceFetch:l,traceXHR:u,shouldCreateSpanForRequest:d,enableHTTPTimings:p,instrumentPageLoad:h,instrumentNavigation:m}={...qs,...e},g=ws();t&&function(){if(hs()&&Xr){const e=cs("inp",(({metric:e})=>{const t=va();if(!t||null==e.value)return;const n=e.entries.find((t=>t.duration===e.value&&Ts[t.name]));if(!n)return;const{interactionId:r}=n,i=Ts[n.name],a=t.getOptions(),o=ms(Xr+n.startTime),s=ms(e.value),c=_a(),l=Ha(),u=l?Va(l):void 0,d=(null!=r?ks.get(r):void 0)||(u?Ma(u).description:c.getScopeData().transactionName),p=c.getUser(),h=t.getIntegrationByName("Replay"),m=h&&h.getReplayId(),g=void 0!==p?p.email||p.id||p.ip_address:void 0;let f;try{f=c.getScopeData().contexts.profile.profile_id}catch(e){}const _=ao({name:uo(n.target),op:`ui.interaction.${i}`,attributes:nr({release:a.release,environment:a.environment,transaction:d,[Ca]:e.value,[ka]:"auto.http.browser.inp",user:g||void 0,profile_id:f||void 0,replay_id:m||void 0}),startTime:o,experimental:{standalone:!0}});_.addEvent("inp",{[Ta]:"millisecond",[xa]:e.value}),_.end(o+s)}),ss,es);return()=>{e()}}}(),n&&ts("longtask",(({entries:e})=>{for(const t of e){if(!Ha())return;const e=ms(Xr+t.startTime),n=ms(t.duration),r=ao({name:"Main UI thread blocked",op:"ui.long-task",startTime:e,attributes:{[ka]:"auto.ui.browser.metrics"}});r&&r.end(e+n)}})),r&&ts("event",(({entries:e})=>{for(const t of e){if(!Ha())return;if("click"===t.name){const e=ms(Xr+t.startTime),n=ms(t.duration),r={name:uo(t.target),op:`ui.interaction.${t.name}`,startTime:e,attributes:{[ka]:"auto.ui.browser.metrics"}},i=ho(t.target);i&&(r.attributes["ui.component_name"]=i);const a=ao(r);a&&a.end(e+n)}}}));const f={name:void 0,source:void 0};function _(e,t){const n="pageload"===t.op,r=i?i(t):t,c=r.attributes||{};t.name!==r.name&&(c[Rt]="custom",r.attributes=c),f.name=r.name,f.source=c[Rt];const l=Fs(r,{idleTimeout:a,finalTimeout:o,childSpanTimeout:s,disableAutoFinish:n,beforeSpanEnd:e=>{g(),function(e){const t=hs();if(!t||!ir.performance.getEntries||!Xr)return;qi&&Hn.log("[Tracing] Adding & adjusting spans using Performance API");const n=ms(Xr),r=t.getEntries(),{op:i,start_timestamp:a}=Ma(e);if(r.slice(vs).forEach((t=>{const r=ms(t.startTime),o=ms(t.duration);if(!("navigation"===i&&a&&n+r{ys(e,t,r,n)})),ys(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),ys(e,t,"fetch",n,"cache","domainLookupStart"),ys(e,t,"domainLookup",n,"DNS"),function(e,t,n){t.responseEnd&&(ps(e,n+ms(t.requestStart),n+ms(t.responseEnd),{op:"browser",name:"request",attributes:{[ka]:"auto.ui.browser.metrics"}}),ps(e,n+ms(t.responseStart),n+ms(t.responseEnd),{op:"browser",name:"response",attributes:{[ka]:"auto.ui.browser.metrics"}}))}(e,t,n)}(e,t,n);break;case"mark":case"paint":case"measure":{!function(e,t,n,r,i){const a=i+n;ps(e,a,a+r,{name:t.name,op:t.entryType,attributes:{[ka]:"auto.resource.browser.metrics"}})}(e,t,r,o,n);const i=Eo(),a=t.startTime{if(!bs[e]||!a||n>=a)return;const t=bs[e].value,r=n+ms(t),i=Math.abs(1e3*(r-a)),o=i-t;qi&&Hn.log(`[Measurements] Normalized ${e} from ${t} to ${i} (${o})`),bs[e].value=i}));const t=bs["mark.fid"];t&&bs.fid&&(ps(e,t.value,t.value+ms(bs.fid.value),{name:"first input delay",op:"ui.action",attributes:{[ka]:"auto.ui.browser.metrics"}}),delete bs["mark.fid"]),"fcp"in bs||delete bs.cls,Object.keys(bs).forEach((e=>{!function(e,t,n){const r=Ha(),i=r&&Va(r);i&&i.addEvent(e,{[xa]:t,[Ta]:n})}(e,bs[e].value,bs[e].unit)})),function(e){fs&&(qi&&Hn.log("[Measurements] Adding LCP Data"),fs.element&&e.setAttribute("lcp.element",uo(fs.element)),fs.id&&e.setAttribute("lcp.id",fs.id),fs.url&&e.setAttribute("lcp.url",fs.url.trim().slice(0,200)),e.setAttribute("lcp.size",fs.size)),_s&&_s.sources&&(qi&&Hn.log("[Measurements] Adding CLS Data"),_s.sources.forEach(((t,n)=>e.setAttribute(`cls.source.${n+1}`,uo(t.node)))))}(e)}fs=void 0,_s=void 0,bs={}}(e)}});function u(){["interactive","complete"].includes(zr.document.readyState)&&e.emit("idleSpanEnableAutoFinish",l)}return n&&zr.document&&(zr.document.addEventListener("readystatechange",(()=>{u()})),u()),l}return{name:"BrowserTracing",afterAllSetup(e){let n,i=zr.location&&zr.location.href;e.on("startNavigationSpan",(t=>{ut()===e&&(n&&(Ar&&J.log(`[Tracing] Finishing current root span with op: ${cn(n).op}`),n.end()),n=_(e,{op:"navigation",...t}))})),e.on("startPageLoadSpan",((t,r={})=>{if(ut()!==e)return;n&&(Ar&&J.log(`[Tracing] Finishing current root span with op: ${cn(n).op}`),n.end());const i=qt(r.sentryTrace||Ks("sentry-trace"),r.baggage||Ks("baggage"));ct().setPropagationContext(i),n=_(e,{op:"pageload",...t})})),e.on("spanEnd",(e=>{const t=cn(e).op;if(e!==gn(e)||"navigation"!==t&&"pageload"!==t)return;const n=ct(),r=n.getPropagationContext();n.setPropagationContext({...r,sampled:void 0!==r.sampled?r.sampled:ln(e),dsc:r.dsc||yn(e)})})),zr.location&&(h&&function(e,t,n){e.emit("startPageLoadSpan",t,void 0),ct().setTransactionName(t.name);const r=fn();r&&cn(r).op}(e,{name:zr.location.pathname,startTime:Ke?Ke/1e3:void 0,attributes:{[Rt]:"url",[zt]:"auto.pageload.browser"}}),m&&or((({to:t,from:n})=>{void 0===n&&i&&-1!==i.indexOf(t)?i=void 0:n!==t&&(i=void 0,function(e,t){lt().setPropagationContext(Be()),ct().setPropagationContext(Be()),e.emit("startNavigationSpan",t),ct().setTransactionName(t.name);const n=fn();n&&cn(n).op}(e,{name:zr.location.pathname,attributes:{[Rt]:"url",[zt]:"auto.navigation.browser"}}))}))),c&&(zr&&zr.document?zr.document.addEventListener("visibilitychange",(()=>{const e=fn();if(!e)return;const t=gn(e);if(zr.document.hidden&&t){const e="cancelled",{op:n,status:r}=cn(t);Ar&&J.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${n}`),r||t.setStatus({code:Xt,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}})):Ar&&J.warn("[Tracing] Could not set up background tab detection due to lack of global document")),r&&function(e,t,n,r){let i;zr.document&&addEventListener("click",(()=>{const a="ui.action.click",o=fn(),s=o&&gn(o);if(s){const e=cn(s).op;if(["navigation","pageload"].includes(e))return void(Ar&&J.warn(`[Tracing] Did not create ${a} span because a pageload or navigation span is in progress.`))}i&&(i.setAttribute(Ft,"interactionInterrupted"),i.end(),i=void 0),r.name?i=Fs({name:r.name,op:a,attributes:{[Rt]:r.source||"url"}},{idleTimeout:e,finalTimeout:t,childSpanTimeout:n}):Ar&&J.warn(`[Tracing] Did not create ${a} transaction because _latestRouteName is missing.`)}),{once:!1,capture:!0})}(a,o,s,f),t&&function(e){const t=({entries:t})=>{t.forEach((t=>{if(!function(e){return"duration"in e}(t)||!e.name)return;const n=t.interactionId;if(null!=n&&!ks.has(n)){if(Es.length>10){const e=Es.shift();ks.delete(e)}Es.push(n),ks.set(n,e.name)}}))};ts("event",t),ts("first-input",t)}(f),Ws({traceFetch:l,traceXHR:u,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:d,enableHTTPTimings:p})}}};function Ks(e){const t=(n=`meta[name=${e}]`,de.document&&de.document.querySelector?de.document.querySelector(n):null);var n;return t?t.getAttribute("content"):void 0}var Qs=i(2202);const Js=`wp-onboarding@${i(8330).rE}`;n.ZH?o()((()=>{(0,W.p4)()||function(e){const t={...e};!function(e,t,n=[t],r="npm"){const i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:n.map((e=>({name:`${r}:@sentry/${e}`,version:na}))),version:na}),e._metadata=i}(t,"react"),ta(t)}({dsn:window.nfdOnboarding.sentryInitDsnURL,integrations:[Ys()],release:Js,tracesSampleRate:1}),H.y.initialize({namespace:Qs.XJ,urls:{single:(0,U.fG)("events",!1),batch:(0,U.fG)("events/batch",!1)},settings:{debounce:{time:3e3}}}),async function(e,t){const r=document.getElementById(e);(0,h.dispatch)(l.M).setRuntime(t),t.previewSettings.settings.preRequisites?.themes&&(0,h.dispatch)(l.M).updateThemeStatus(t.previewSettings.settings.preRequisites?.themes[n.f1]);const i=await async function(e,t){let n=0;for(;n<3;)try{const t=await e();if(n++,null===t.error)return t}catch(e){if(n++,console.error("Failed to retrieve data",e),n>=3)return!1}return!1}(u.lv);!1!==i&&(i.body=(e=>{e.hasExited=0,e.isComplete=0;const t=window.nfdOnboarding.currentFlow;return e.data.chapters=(0,F.AZ)((0,z.Pq)(t),e.data.chapters),e})(i.body),(0,h.dispatch)(l.M).setCurrentOnboardingData(i.body)),null!==r&&void 0!==d.render?(0,d.render)((0,c.createElement)(V,null),r):console.log("Could not find mount element or wp.element.render().")}(n.eT,window.nfdOnboarding),(0,s.registerCoreBlocks)()})):console.log("Cannot find Newfold Onboarding runtime data to set __webpack_public_path__.")})(),((window.newfold=window.newfold||{}).Onboarding=window.newfold.Onboarding||{}).onboarding=a})(); \ No newline at end of file +(0,c.__)("A WordPress %1$s hosted by %2$s has tons of unique and proven solutions to help you get farther, faster with your WordPress. We put our expertise, partnerships and solutions to work on your %3$s.","wp-module-onboarding"),(0,l.P)("website"),e,(0,l.P)("site"))}]},help:{experts:{text:(0,c.__)("1-1 Expert Solutions & Coaching","wp-module-onboarding"),link:t},fullService:{text:(0,c.__)("Hire Our Full-Service Creative Team","wp-module-onboarding"),link:i},support:{text:(0,c.__)("Technical Support","wp-module-onboarding"),link:n}}}))(e,t,n,i),b=_?.views?.sidebar?.infoPanel?.headingWithDescriptions?.shown?v.information.headingWithDescriptions.filter(((e,t)=>_?.views?.sidebar?.infoPanel?.headingWithDescriptions?.shown?.includes(t))):v.information.headingWithDescriptions;return(0,a.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__get-started-welcome"},(0,a.createElement)(f,{heading:v.introduction.heading,subheading:v.introduction.subheading,icon:v.introduction.icon}),!1!==_?.views?.sidebar?.illustration?.shown&&(0,a.createElement)(u,{cssIcon:v.illustration.icon}),(0,a.createElement)(d,{headingWithDescriptions:b}),(0,a.createElement)(p,null,!1!==_?.views?.sidebar?.experts?.shown&&v.help.experts.link&&(0,a.createElement)(h,{text:v.help.experts.text,onClick:()=>window.open(v.help.experts.link,"_blank")}),!1!==_?.views?.sidebar?.fullService?.shown&&v.help.fullService.link&&(0,a.createElement)(m,{text:v.help.fullService.text,onClick:()=>window.open(v.help.fullService.link,"_blank")}),(0,a.createElement)(g,{text:v.help.support.text,link:v.help.support.link})))}]}},data:{tooltipText:(0,c.__)("Welcome","wp-module-onboarding")}})},4487:(e,t,n)=>{"use strict";n.d(t,{b:()=>V});var r=n(5822),i=n(8468),a=n(7723),o=n(2502),s=n(1609),c=n(6427),l=n(7677),u=n(6655),d=n(7143),p=n(9491),h=n(6087),m=n(8969),g=n(7675),f=n(6079),_=n(4097),v=n(7708),b=n(6786),w=n(5573);const y=(0,s.createElement)(w.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)(w.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}));var S=n(3013),E=n(8087);const k=(0,i.memo)((({onRegenerate:e,onCustomize:t,onRenameItemSelect:n,onViewAll:r,isLargeViewport:i,onToggle:o})=>{const u=e=>()=>{e(),o()};return(0,s.createElement)(c.MenuGroup,{className:"nfd-onboarding-header__version_dropdown-menu"},!i&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)(c.MenuItem,{onClick:u(e)},(0,s.createElement)(l.A,{icon:b.A}),(0,a.__)("Regenerate","wp-module-onboarding")),(0,s.createElement)(c.MenuItem,{onClick:u(t)},(0,s.createElement)("div",{className:"nfd-onboarding-header__version_dropdown-menu__customize-button__icon"}),(0,a.__)("Customize","wp-module-onboarding"))),(0,s.createElement)(c.MenuItem,{onClick:u(n)},(0,a.__)("Rename","wp-module-onboarding")),(0,s.createElement)(c.MenuItem,{onClick:u(r)},(0,a.__)("View All","wp-module-onboarding")))})),T=(0,i.memo)((({isFavorite:e,homepageTitle:t,onFavorite:n,onRename:r,inputRef:o,onRegenerate:u,onCustomize:d,onRenameItemSelect:p,onViewAll:h,isLargeViewport:m,isInputEnabled:g,enableInput:f})=>{const[_,v]=(0,i.useState)(t),b=()=>{v(o.current.value)},w=()=>{const e=o.current.value.trim();e&&e!==t&&r(e),f(!1)};return(0,i.useEffect)((()=>{g&&o.current?.focus()}),[g,o]),(0,i.useEffect)((()=>{v(t)}),[t]),(0,s.createElement)(c.Dropdown,{renderToggle:({isOpen:t,onToggle:r})=>(0,s.createElement)("div",{role:"button",tabIndex:"0","aria-expanded":t,"aria-label":(0,a.__)("Regenerate","wp-module-onboarding"),className:"navigation-buttons-editor"},(0,s.createElement)("div",{className:"navigation-buttons-editor__favorite",role:"button",tabIndex:0,onKeyDown:n,onClick:n},e?(0,s.createElement)(E.h,null):(0,s.createElement)(S.h,null)),(0,s.createElement)("input",{ref:o,disabled:!g,className:"nfd-onboarding-header__center-input",type:"text",value:_,onBlur:w,onChange:b}),(0,s.createElement)(l.A,{className:"nfd-onboarding-header__center-dropdown_icon",icon:y,onClick:r,onKeyDown:e=>{"Enter"===e.key&&r()}})),renderContent:({onToggle:e})=>(0,s.createElement)(k,{onRegenerate:u,onCustomize:d,onRenameItemSelect:p,onViewAll:h,isLargeViewport:m,onToggle:e})})})),x=({handleFavorite:e,handleRename:t,handleViewAll:n,handleRegenerate:r,handleCustomize:a,homepageTitle:o,isFavorite:c})=>{const l=(0,p.useViewportMatch)("medium"),u=(0,i.useRef)(null),[d,h]=(0,i.useState)(!1),m=e=>{h(e),e&&u.current?.focus()},g=()=>{if("function"==typeof g)return e()};return(0,s.createElement)("div",{className:"nfd-onboarding-header__step-navigation"},(0,s.createElement)(T,{isFavorite:c,homepageTitle:o,onFavorite:g,onRename:e=>{"function"==typeof t&&t(e)},inputRef:u,onRegenerate:()=>{if("function"==typeof r)return r()},onCustomize:()=>{if("function"==typeof a)return a()},onRenameItemSelect:()=>{m(!0)},onViewAll:()=>{if("function"==typeof n)return n()},isLargeViewport:l,isInputEnabled:d,enableInput:m}))};var C=n(7517),N=n(7044),A=n(1455),I=n.n(A),D=n(8674),O=n(5435),P=n(1056),M=n(2202),R=n(8744);const $=(0,i.lazy)((()=>n.e(396).then(n.bind(n,9396)))),L=(0,i.lazy)((()=>n.e(100).then(n.bind(n,1100)))),z=(0,s.forwardRef)(((e,t)=>{const[n,r]=(0,i.useState)(!0),{updateCustomizeSidebarData:o}=(0,d.useDispatch)(g.M),c=(0,s.createRef)(),l=(0,s.createRef)(),u=()=>{l.current.resetToDefaultFonts(),c.current.resetToDefaultColors()};if((0,s.useImperativeHandle)(t,(()=>({resetCustomizationCallback:u}))),(0,i.useEffect)((()=>{(async()=>{const e=await(0,v.gK)();o(e?.body),r(!1)})()}),[]),n)return(0,s.createElement)("div",null,"...");const p={introduction:{heading:(0,a.__)("Colors","wp-module-onboarding")}};return(0,s.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__design-colors"},(0,s.createElement)(L,{heading:p.introduction.heading,ref:c}),(0,s.createElement)($,{ref:l}))})),F=(0,i.lazy)((()=>n.e(426).then(n.bind(n,426)))),V=new o.p({slug:"sitegen-editor",path:"/sitegen/step/editor",title:(0,a.__)("Page Layouts","wp-module-onboarding"),Component:F,icon:r.A,sidebars:{Customize:{SidebarComponents:[z]}},header:()=>{const[e,t]=(0,i.useState)(),[n,r]=(0,i.useState)(!1),[o,b]=(0,i.useState)(!1),[w,y]=(0,i.useState)(!1),S=(0,p.useViewportMatch)("medium"),{setCurrentOnboardingData:E,setSidebarActiveView:k,setIsSidebarOpened:T,setInteractionDisabled:A}=(0,d.useDispatch)(g.M),{currentData:$,sideBarView:L,isSidebarOpened:z}=(0,d.useSelect)((e=>({currentData:e(g.M).getCurrentOnboardingData(),sideBarView:e(g.M).getSidebarView(),isSidebarOpened:e(g.M).isSidebarOpened()}))),F=async()=>{if(n)return;if(b(!0),""===$.sitegen.siteDetails?.prompt)return void b(!1);const t=$.sitegen.homepages.data;if(!(e.slug in t))return void b(!1);const{slug:r,title:i,color:a,isFavorite:o}=e||{},s=await(0,v.HA)($.sitegen.siteDetails.prompt,r,a,o);if(s.error)return void b(!1);const c=s.body;if(o){const e=`${i} (Copy)`;e!==c?.title&&(c.title=e)}t[c.slug]=c,$.sitegen.homepages.data=t,$.sitegen.homepages.active=c,E($),b(!1),(0,P.v)(new P.iC(M.Hf,r,{source:R.d0,placement:"editor_toolbar"}))},V=async()=>{const e="Customize"===L?!z:z;k("Customize"),T(e),!0===e&&(0,P.v)(new P.iC(M.cB,"customize"));const t=await(0,C.w6)();y(t.body)},H=async()=>{r(!0);const e=$.sitegen.homepages.data,t=$.sitegen.homepages.active,n=((e,t)=>(0,s.createElement)("div",{className:"nfd-onboarding-screenshot-container__pages"},Object.keys(e).map(((n,r)=>{const i=e[n];if(!i.isFavorite&&n!==t.slug)return!1;const a=(0,h.cloneDeep)(w[0]);a.settings.color.palette=i.color.palette;let o="";return["header","content","footer"].forEach((e=>{e in i&&(o+=i[e])})),(0,s.createElement)(N.pA,{key:r,blockGrammer:o,previewSettings:a,slug:n,tabIndex:"0",role:"button"})}))))(e,t),a=document.querySelector(".nfd-onboarding-screenshot-container");if(a){(0,i.render)(n,a);const r=e=>new Promise((t=>setTimeout(t,e)));await r(5e3);const o=await Promise.all(Object.keys(e).map((n=>!(!e[n].isFavorite&&n!==t.slug)&&async function(e){return await(0,O.h)(I()({url:(0,D.fG)("block-render/screenshot"),method:"POST",data:{width:1200,height:900,content:e}}).then())}((a.querySelector(`div > div[data-slug="nfd-onboarding-block-preview-${n}"] > div.block-editor-block-preview__container > div > div > .block-editor-iframe__scale-container > iframe`)||a.querySelector(`div > div[data-slug="nfd-onboarding-block-preview-${n}"] > .block-editor-block-preview__container > div > iframe`)).contentWindow.document.querySelector(".block-editor-block-preview__content-iframe").innerHTML))));Object.keys(e).forEach(((n,r)=>{o[r]?.body?.screenshot&&(e[n].screenshot=o[r].body.screenshot,n===t.slug&&(t.screenshot=o[r].body.screenshot))})),$.sitegen.homepages.data=e,$.sitegen.homepages.active=t,E($)}await(0,f.V1)($),await(0,f.IS)(),(0,P.SV)(new P.iC(M.Vg,void 0,{source:R.d0})),window.location.replace(m.R0)};return(0,i.useEffect)((()=>{V()}),[]),(0,i.useEffect)((()=>{$?.sitegen?.homepages?.active&&t($.sitegen.homepages.active)}),[$]),(0,i.useEffect)((()=>(A(!(!n&&!o)),()=>{A(!1)})),[n,o]),(0,s.createElement)(s.Fragment,null,(0,s.createElement)(c.Fill,{name:`${m.Ix}/${m.nK}`},(0,s.createElement)("div",{className:"nfd-onboarding-header--sitegen__editor__start"},S&&(0,s.createElement)("div",{className:`nfd-onboarding-header--sitegen__editor__start__regenerate ${n&&"nfd-onboarding-header--sitegen__editor__start__regenerate__disabled"}`,role:"button",tabIndex:0,onClick:F,onKeyDown:F},(0,s.createElement)("div",{className:"nfd-onboarding-header--sitegen__editor__start__regenerate__icon"}),(0,s.createElement)("div",{className:"nfd-onboarding-header--sitegen__editor__start__regenerate__text"},(0,a.__)("Regenerate","wp-module-onboarding")),o&&(0,s.createElement)(_.A,{className:"nfd-onboarding-header--sitegen__editor__start__regenerate__spinner"})))),(0,s.createElement)(c.Fill,{name:`${m.Ix}/${m.me}`},e&&(0,s.createElement)("div",{className:"nfd-onboarding-header--sitegen__editor__center"},(0,s.createElement)(x,{handleFavorite:()=>{if(n)return;const t=$.sitegen.homepages.data;if(!(e.slug in t))return;const r=!e.isFavorite;e.isFavorite=r,$.sitegen.homepages.data[e.slug]=e,$.sitegen.homepages.active=e,E($),(0,P.v)(new P.iC(M.Nz,e.slug,{favorite:r,placement:"editor_toolbar",source:R.d0}))},handleViewAll:()=>{z&&L===m.V_||(k(m.V_),T(!0),(0,P.v)(new P.iC(M.cB,"all_versions",{source:R.d0})))},handleCustomize:V,handleRegenerate:F,handleRename:t=>{e.title=t,$.sitegen.homepages.data[e.slug]=e,$.sitegen.homepages.active=e,E($),(0,P.v)(new P.iC(M.TH,e.slug,{name:t,source:R.d0}))},homepageTitle:e.title,isFavorite:e.isFavorite}))),(0,s.createElement)(c.Fill,{name:`${m.Ix}/${m.KZ}`},(0,s.createElement)("div",{className:"nfd-onboarding-header--sitegen__editor__end"},S&&(0,s.createElement)("div",{className:`nfd-onboarding-header--sitegen__editor__end__customize-button ${n&&"nfd-onboarding-header--sitegen__editor__end__customize-button__disabled"}`,onClick:V,onKeyDown:V,role:"presentation"},(0,s.createElement)("div",{className:"nfd-onboarding-header--sitegen__editor__end__customize-button__icon"}),(0,s.createElement)("div",{className:"nfd-onboarding-header--sitegen__editor__end__customize-button__text"},(0,a.__)("Customize","wp-module-onboarding"))),(0,s.createElement)("div",{className:"nfd-onboarding-header--sitegen__editor__end__save-button"},(0,s.createElement)("div",{className:"nfd-onboarding-header--sitegen__editor__end__save-button__text",onClick:H,role:"button",tabIndex:0,onKeyDown:H},S?(0,a.__)("Save & Continue","wp-module-onboarding"):(0,a.__)("Next","wp-module-onboarding")),n?(0,s.createElement)(_.A,{className:"nfd-onboarding-header--sitegen__editor__end__save-button__spinner"}):(0,s.createElement)(l.A,{icon:u.A,className:"nfd-onboarding-header--sitegen__editor__end__save-button__icon"})))))}})},3731:(e,t,n)=>{"use strict";n.d(t,{O:()=>c});var r=n(5822),i=n(8468),a=n(7723),o=n(2502);const s=(0,i.lazy)((()=>n.e(218).then(n.bind(n,1218)))),c=new o.p({slug:"sitegen-migration",path:"/sitegen/step/migration",title:(0,a.__)("Migration","wp-module-onboarding"),Component:s,icon:r.A,drawerNavigation:!1,sidebars:{LearnMore:{SidebarComponents:[]}}})},9034:(e,t,n)=>{"use strict";n.d(t,{O:()=>c});var r=n(5822),i=n(8468),a=n(7723),o=n(2502);const s=(0,i.lazy)((()=>n.e(866).then(n.bind(n,3866)))),c=new o.p({slug:"fork",path:"/wp-setup/step/fork",title:(0,a.__)("The Fork","wp-module-onboarding"),Component:s,icon:r.A,drawerNavigation:!1,sidebars:{LearnMore:{SidebarComponents:[]}}})},7675:(e,t,n)=>{"use strict";n.d(t,{M:()=>ht});var r={};n.r(r),n.d(r,{dequeueRequest:()=>M,enqueueRequest:()=>P,flushQueue:()=>R,resetNavError:()=>z,setActiveChapter:()=>p,setActiveFlow:()=>u,setActiveStep:()=>d,setContinueWithoutAi:()=>W,setCurrentOnboardingData:()=>m,setDrawerActiveView:()=>s,setFooterActiveView:()=>x,setHeaderActiveView:()=>E,setHeaderMenuData:()=>O,setHideFooterNav:()=>T,setInstaWpMigrationUrl:()=>h,setInteractionDisabled:()=>U,setIsDrawerOpened:()=>c,setIsDrawerSuppressed:()=>l,setIsFooterNavAllowed:()=>k,setIsGeneratingHomepages:()=>F,setIsHeaderEnabled:()=>S,setIsHeaderNavigationEnabled:()=>y,setIsSidebarOpened:()=>b,setNavErrorContinuePath:()=>L,setOnboardingSocialData:()=>g,setRuntime:()=>o,setSidebarActiveView:()=>w,showNavErrorDialog:()=>$,updateAllSteps:()=>A,updateCustomizeSidebarData:()=>V,updateDesignRoutes:()=>D,updateInitialize:()=>v,updatePreviewSettings:()=>C,updateRoutes:()=>N,updateSettings:()=>f,updateSiteGenErrorStatus:()=>H,updateThemeStatus:()=>_,updateTopSteps:()=>I});var i={};n.r(i),n.d(i,{canMigrateSite:()=>Le,getActiveDrawerView:()=>G,getAllSteps:()=>pe,getCurrentChapter:()=>we,getCurrentOnboardingData:()=>ce,getCurrentStep:()=>ve,getCurrentStepPath:()=>ge,getCurrentUserDetails:()=>je,getCustomizeSidebarData:()=>qe,getDesignRoutes:()=>me,getExperienceLevel:()=>We,getExpertsUrl:()=>Pe,getFirstStep:()=>fe,getFooterActiveView:()=>ee,getFooters:()=>Z,getHeaderActiveView:()=>X,getHeaderMenuData:()=>Oe,getHeaders:()=>J,getHideFooterNav:()=>ne,getHireExpertsUrl:()=>se,getInitialize:()=>Ie,getInteractionDisabled:()=>Ke,getIsFooterNavAllowed:()=>te,getIsFreshInstallation:()=>Qe,getLastStep:()=>_e,getMigrationUrl:()=>$e,getNavErrorPath:()=>Ue,getNewfoldBrand:()=>re,getNewfoldBrandConfig:()=>ae,getNewfoldBrandName:()=>ie,getNewfoldBrandUrl:()=>oe,getNextStep:()=>Ee,getOnboardingFlow:()=>ue,getOnboardingSocialData:()=>le,getPluginInstallHash:()=>ze,getPreviewSettings:()=>Ce,getPreviousStep:()=>Se,getQueuePeek:()=>Fe,getRoutes:()=>de,getSettings:()=>Ne,getShowErrorDialog:()=>He,getSidebarView:()=>Te,getSidebars:()=>xe,getSiteGenErrorStatus:()=>Ye,getStepFromPath:()=>ye,getStepPreviewData:()=>De,getTechSupportUrl:()=>Re,getThemeStatus:()=>Ae,getTopPriority:()=>Be,getTopSteps:()=>he,getfullServiceCreativeTeamUrl:()=>Me,getinstaWpMigrationUrl:()=>be,isDrawerOpened:()=>q,isDrawerSuppressed:()=>Y,isGeneratingHomepages:()=>Ge,isHeaderEnabled:()=>Q,isHeaderNavigationEnabled:()=>K,isQueueEmpty:()=>Ve,isSidebarOpened:()=>ke});var a=n(8744);function o(e){var t;return window.nfdOnboarding={buildUrl:e.buildUrl,siteUrl:e.siteUrl,migrated:!0,currentFlow:null!==(t=e.currentFlow)&&void 0!==t?t:a.rA},{type:"SET_RUNTIME",runtime:e}}function s(e){return{type:"SET_DRAWER_ACTIVE_VIEW",view:e}}function c(e){return{type:"SET_DRAWER_OPENED",isOpen:e}}function l(e){return{type:"SET_DRAWER_SUPPRESSED",isSuppressed:e}}function u(e){return{type:"SET_ACTIVE_FLOW",flow:e}}function d(e){return{type:"SET_ACTIVE_STEP",path:e=e.replace(/\/$/,"")}}function p(e){return{type:"SET_ACTIVE_CHAPTER",chapter:e}}function h(e){return{type:"SET_INSTAWP_MIGRATION_URL",instaWpMigrationUrl:e}}function m(e){return{type:"SET_CURRENT_DATA",flowData:e}}function g(e){return{type:"SET_SOCIAL_DATA",socialData:e}}function f(e){return{type:"UPDATE_SETTINGS",settings:e}}function _(e){return{type:"UPDATE_THEME_STATUS",themeStatus:e}}function v(e){return{type:"UPDATE_INITIALIZE",initialize:e}}function b(e){return{type:"SET_SIDEBAR_OPENED",isOpen:e}}function w(e){return{type:"SET_SIDEBAR_ACTIVE_VIEW",view:e}}function y(e){return{type:"SET_HEADER_NAVIGATION_ENABLED",isNavigationEnabled:e}}function S(e){return{type:"SET_HEADER_ENABLED",isEnabled:e}}function E(e){return{type:"SET_HEADER_ACTIVE_VIEW",view:e}}function k(e){return{type:"SET_IS_FOOTER_NAV_ALLOWED",isNavAllowed:e}}function T(e){return{type:"SET_HIDE_FOOTER_NAV",hideFooterNav:e}}function x(e){return{type:"SET_FOOTER_ACTIVE_VIEW",view:e}}function C(e){return{type:"SET_PREVIEW_SETTINGS",previewSettings:e}}function N(e){return{type:"UPDATE_ROUTES",routes:e}}function A(e){return{type:"UPDATE_ALL_STEPS",allSteps:e}}function I(e){return{type:"UPDATE_TOP_STEPS",topSteps:e}}function D(e){return{type:"UPDATE_DESIGN_ROUTES",designRoutes:e}}function O(e){return{type:"UPDATE_HEADER_MENU_DATA",menu:e}}function P(e,t){return{type:"ENQUEUE_REQUEST",id:e,request:t}}function M(){return{type:"DEQUEUE_REQUEST"}}function R(){return{type:"FLUSH_QUEUE"}}function $(e){return{type:"SHOW_NAV_ERROR_DIALOG",showDialog:e}}function L(e){return{type:"SET_NAV_ERROR_CONTINUE_PATH",continuePath:e}}function z(){return{type:"RESET_NAV_ERROR"}}const F=e=>({type:"SET_IS_GENERATING_HOMEPAGES",isGeneratingHomepages:e});function V(e){return{type:"CUSTOMIZE_SIDEBAR_DATA",customizeSidebarData:e}}function H(e){return{type:"SET_SITEGEN_AI_ERROR_STATUS",siteGenErrorStatus:e}}function U(e){return{type:"SET_INTERACTION_DISABLED",interactionDisabled:e}}function W(e){return{type:"SET_FLOW_WITHOUT_AI",continueWithoutAi:e}}var B=n(6087),j=n(3832);function G(e){return e.drawer.view}function q(e){return e.drawer.isOpen}function Y(e){return e.drawer.isSuppressed}function K(e){return e.header.isNavigationEnabled}function Q(e){return e.header.isEnabled}function J(e){return e.header.headers}function Z(e){return e.footer.footers}function X(e){return e.header.view}function ee(e){return e.footer.view}function te(e){return e.footer.isNavAllowed}function ne(e){return e.footer.hideFooterNav}function re(e){return e.runtime.currentBrand.brand}function ie(e){return e.runtime.currentBrand.name}function ae(e){return e.runtime.currentBrand.config}function oe(e){return e.runtime.currentBrand.url}function se(e){const t=e.runtime.currentBrand.hireExpertsInfo;return(0,j.addQueryArgs)(t?.defaultLink,t?.queryParameters)+(t?.fragment||"")}function ce(e){return e.data.flowData}function le(e){return e.data.socialData}function ue(e){var t;return null!==(t=e.runtime.currentFlow)&&void 0!==t?t:a.rA}function de(e){return e.flow.steps.routes}function pe(e){return e.flow.steps.allSteps}function he(e){return e.flow.steps.topSteps}function me(e){return e.flow.steps.designRoutes}function ge(e){return e.flow.steps.currentStep}function fe(e){return e.flow.steps.allSteps[0]}function _e(e){return e.flow.steps.allSteps[e.flow.steps.allSteps.length-1]}function ve(e){return(0,B.filter)(e.flow.steps.allSteps,["path",e.flow.steps.currentStep])[0]}function be(e){return e.runtime.currentBrand.migrationInfo.instaWpMigrationUrl}function we(e){return e.flow.chapter}function ye(e,t){return(0,B.filter)(e.flow.steps.allSteps,["path",t])[0]}function Se(e){const t=(0,B.findIndex)(e.flow.steps.allSteps,{path:e.flow.steps.currentStep});return 0===t?null:-1!==t&&e.flow.steps.allSteps[t-1]}function Ee(e){const t=e.flow.steps.allSteps.length-1,n=(0,B.findIndex)(e.flow.steps.allSteps,{path:e.flow.steps.currentStep});return t===n?null:-1!==n&&e.flow.steps.allSteps[n+1]}function ke(e){return e.sidebar.isOpen}function Te(e){return e.sidebar.view}function xe(e){return(0,B.filter)(e.sidebar.sidebars,["enabled",!0])}function Ce(e){return e.runtime.previewSettings.settings}function Ne(e){return e.settings}function Ae(e){return e.settings.themeStatus}function Ie(e){return e.settings.initialize}function De(e){return e.runtime.previewSettings.stepPreviewData}function Oe(e){return e.header.menu}function Pe(e){const t=e.runtime.currentBrand.expertsInfo;return(0,j.addQueryArgs)(t?.defaultLink,t?.queryParams)+(t?.fragment||"")}function Me(e){const t=e.runtime.currentBrand.fullServiceCreativeTeamInfo;return(0,j.addQueryArgs)(t?.defaultLink,t?.queryParams)+(t?.fragment||"")}function Re(e){const t=e.runtime.currentBrand.techSupportInfo;return(0,j.addQueryArgs)(t?.defaultLink,t?.queryParams)+(t?.fragment||"")}function $e(e){const t=e.runtime.currentBrand.migrationInfo;return(0,j.addQueryArgs)(t?.defaultLink,t?.queryParams)+(t?.fragment||"")}function Le(e){const t=e.runtime.currentBrand.config;return t?.canMigrateSite}function ze(e){return e.runtime.pluginInstallHash}function Fe(e){var t;return null!==(t=e?.queue[0])&&void 0!==t?t:null}function Ve(e){return 0===e?.queue?.length}function He(e){return e.flow.steps.error.showDialog}function Ue(e){return e.flow.steps.error.continuePath}function We(e){return e.data.flowData?.data.wpComfortLevel}function Be(e){return e.data.flowData?.data.topPriority.priority1}function je(e){return e.runtime.currentUserDetails}const Ge=e=>e.data.isGeneratingHomepages;function qe(e){return e.runtime.customizeSidebarData}function Ye(e){return e.data.flowData?.sitegen.siteGenErrorMeta.status}function Ke(e){return e.flow.interactionDisabled}function Qe(e){return e.runtime.isFreshInstallation}var Je=n(7143),Ze=n(8969),Xe=n(6478),et=n(8468);const tt=(0,et.lazy)((()=>n.e(202).then(n.bind(n,4202)))),nt=(0,et.lazy)((()=>n.e(356).then(n.bind(n,2356)))),rt=(0,et.lazy)((()=>n.e(803).then(n.bind(n,8803)))),it=(0,et.lazy)((()=>n.e(910).then(n.bind(n,3910)))),at=(0,et.lazy)((()=>n.e(40).then(n.bind(n,5040)))),ot=[{id:Ze.Qe,menu:tt,sidebar:nt,enabled:!0},{id:Ze.V_,sidebar:rt,enabled:!0},{id:Ze.jK,menu:it,sidebar:at,enabled:!0}],st=(0,et.lazy)((()=>n.e(403).then(n.bind(n,1403)))),ct=(0,et.lazy)((()=>n.e(796).then(n.bind(n,5796)))),lt=[{id:Ze.Ix,header:st,enabled:!0},{id:Ze.Mw,header:ct,enabled:!0}],ut=(0,et.lazy)((()=>n.e(971).then(n.bind(n,1971)))),dt=[{id:Ze.Sr,footer:ut,enabled:!0}],pt={reducer:(0,Je.combineReducers)({drawer:function(e={isOpen:!1,isSuppressed:!1,view:Ze.vO},t){switch(t.type){case"SET_DRAWER_OPENED":return{...e,isOpen:t.isOpen};case"SET_DRAWER_ACTIVE_VIEW":return{...e,view:t.view};case"SET_DRAWER_SUPPRESSED":return{...e,isSuppressed:t.isSuppressed,isOpen:!t.isSuppressed&&e.isOpen}}return e},runtime:function(e={},t){switch(t.type){case"SET_RUNTIME":return{...e,...t.runtime};case"SET_PREVIEW_SETTINGS":return{...e,previewSettings:{...e.previewSettings,settings:t.previewSettings}};case"CUSTOMIZE_SIDEBAR_DATA":return{...e,customizeSidebarData:t.customizeSidebarData};case"SET_INSTAWP_MIGRATION_URL":return{...e,currentBrand:{...e.currentBrand,migrationInfo:{...e.currentBrand.migrationInfo,instaWpMigrationUrl:t.instaWpMigrationUrl}}}}return e},data:function(e={},t){switch(t.type){case"SET_CURRENT_DATA":return{...e,flowData:{...t.flowData}};case"SET_SOCIAL_DATA":return{...e,socialData:{...t.socialData}};case"SET_SITEGEN_AI_ERROR_STATUS":const n=!e.flowData.sitegen.siteGenErrorMeta.status&&t.siteGenErrorStatus;return{...e,flowData:{...e.flowData,sitegen:{...e.flowData.sitegen,siteGenErrorMeta:{...e.flowData.sitegen.siteGenErrorMeta,status:t.siteGenErrorStatus,retryCount:!0===n?e.flowData.sitegen.siteGenErrorMeta.retryCount+1:e.flowData.sitegen.siteGenErrorMeta.retryCount}}}};case"SET_IS_GENERATING_HOMEPAGES":return{...e,isGeneratingHomepages:t.isGeneratingHomepages}}return e},settings:function(e={themeStatus:Ze.So,initialize:!1},t){switch(t.type){case"UPDATE_SETTINGS":return{...e,...t.settings};case"UPDATE_THEME_STATUS":return{...e,themeStatus:t.themeStatus};case"UPDATE_INITIALIZE":return{...e,initialize:t.initialize}}return e},flow:function(e={flow:a.rA,steps:{routes:Xe.FI,allSteps:Xe.o2,topSteps:Xe.Zq,designRoutes:Xe.Tk,currentStep:"",error:{showDialog:!1,continuePath:""}},chapter:void 0,interactionDisabled:!1},t){switch(t.type){case"SET_ACTIVE_STEP":return{...e,steps:{...e.steps,currentStep:t.path}};case"SET_ACTIVE_FLOW":return{...e,flow:t.flow};case"UPDATE_ROUTES":return{...e,steps:{...e.steps,routes:t.routes}};case"UPDATE_ALL_STEPS":return{...e,steps:{...e.steps,allSteps:t.allSteps}};case"UPDATE_TOP_STEPS":return{...e,steps:{...e.steps,topSteps:t.topSteps}};case"UPDATE_DESIGN_ROUTES":return{...e,steps:{...e.steps,designRoutes:t.designRoutes}};case"SHOW_NAV_ERROR_DIALOG":return{...e,steps:{...e.steps,error:{...e.steps.error,showDialog:t.showDialog}}};case"SET_NAV_ERROR_CONTINUE_PATH":return{...e,steps:{...e.steps,error:{...e.steps.error,continuePath:t.continuePath}}};case"RESET_NAV_ERROR":return{...e,steps:{...e.steps,error:{showDialog:!1,continuePath:""}}};case"SET_ACTIVE_CHAPTER":return{...e,chapter:t.chapter};case"SET_INTERACTION_DISABLED":return{...e,interactionDisabled:t.interactionDisabled};case"SET_FLOW_WITHOUT_AI":return{...e,flow:t.continueWithoutAi}}return e},sidebar:function(e={isOpen:!1,view:"LearnMore",sidebars:ot},t){switch(t.type){case"SET_SIDEBAR_OPENED":return{...e,isOpen:t.isOpen};case"SET_SIDEBAR_ACTIVE_VIEW":return{...e,view:t.view}}return e},header:function(e={isNavigationEnabled:!0,menu:"",isEnabled:!0,headers:lt,view:Ze.Mw},t){switch(t.type){case"SET_HEADER_NAVIGATION_ENABLED":return{...e,isNavigationEnabled:t.isNavigationEnabled};case"SET_HEADER_ENABLED":return{...e,isEnabled:t.isEnabled};case"UPDATE_HEADER_MENU_DATA":return{...e,menu:t.menu};case"SET_HEADER_ACTIVE_VIEW":return{...e,view:t.view}}return e},footer:function(e={footers:dt,isNavAllowed:!0,hideFooterNav:!1,view:Ze.Sr},t){switch(t.type){case"SET_IS_FOOTER_NAV_ALLOWED":return{...e,isNavAllowed:t.isNavAllowed};case"SET_HIDE_FOOTER_NAV":return{...e,hideFooterNav:t.hideFooterNav};case"SET_FOOTER_ACTIVE_VIEW":return{...e,view:t.view}}return e},queue:function(e=[],t){switch(t.type){case"ENQUEUE_REQUEST":return e=e.filter((e=>e[0]!==t.id)),[...e,[t.id,t.request]];case"DEQUEUE_REQUEST":return[...e.slice(1)];case"FLUSH_QUEUE":return(async e=>{const t=e,n=async(e=1)=>{t[0]&&await t[0][1]().then((t=>{t.error&&et.shift())).then(n)};await n()})(e),[]}return e}}),actions:r,selectors:i},ht=(0,Je.createReduxStore)("newfold/onboarding",pt);(0,Je.register)(ht)},2202:(e,t,n)=>{"use strict";n.d(t,{DN:()=>g,Dl:()=>z,Ep:()=>p,Fi:()=>b,Hf:()=>D,N0:()=>o,Nz:()=>O,Qh:()=>C,Qp:()=>A,TH:()=>P,Vg:()=>i,WN:()=>N,WT:()=>w,Wi:()=>I,XJ:()=>L,Zt:()=>_,aq:()=>l,cB:()=>M,cW:()=>$,ce:()=>h,f2:()=>y,gH:()=>c,hi:()=>d,j7:()=>S,k2:()=>u,nS:()=>x,o3:()=>f,oA:()=>a,o_:()=>T,p$:()=>r,r2:()=>m,rf:()=>v,uv:()=>R,vO:()=>s,vY:()=>E,wo:()=>k});const r="onboarding_started",i="onboarding_complete",a="pageview",o="onboarding_top_priority_set",s="onboarding_step_skipped",c="primary_type_set",l="secondary_type_set",u="experience_level_set",d="theme_style_selected",p="colors_selected",h="fonts_selected",m="header_selected",g="homepage_layout_selected",f="starter_pages_selected",_="feature_added",v="site_title_set",b="tagline_set",w="logo_added",y="onboarding_exited",S="onboarding_chapter_started",E="onboarding_chapter_complete",k="social_added",T="migration_initiated",x="mfe_migration_initiated",C="fork_option_selected",N="site_details_prompt_set",A="logo_skipped",I="homepage_selected",D="homepage_regenerated",O="homepage_favorited",P="homepage_renamed",M="sidebar_opened",R="site_generation_time",$="error_state_triggered",L="wonder_start",z={[o]:"top_priority",[s]:"step",[c]:"primary_type",[l]:"secondary_type",[u]:"experience_level",[d]:"theme_style",[p]:"color_palette",[h]:"font_set",[m]:"header",[g]:"layout",[f]:"pages",[_]:"feature",[v]:"title",[b]:"tagline",[y]:"step",[S]:"chapter",[E]:"chapter",[k]:"platform",[C]:"flow",[N]:"prompt",social_connected:"platform",[I]:"version",[D]:"version",[O]:"version",[M]:"type",[P]:"version",[R]:"time",[T]:"path",[x]:"path",[$]:"identifier"}},1056:(e,t,n)=>{"use strict";n.d(t,{iC:()=>a,Co:()=>c,SV:()=>s,v:()=>o});var r=n(4371),i=n(2202);class a extends r.c{constructor(e,t,n,r,a=i.XJ){const o=c(e);super(a,e,{label_key:o,[o]:t,...n,page:r||window.location.href},a)}}const o=e=>r.y.track(e),s=e=>r.y.send(e),c=e=>{if(e in i.Dl)return i.Dl[e]}},8674:(e,t,n)=>{"use strict";n.d(t,{EG:()=>a,RE:()=>o,fG:()=>i,zV:()=>s});var r=n(8969);const i=(e,t=!0)=>`${r.Xi}/${e}`+(t&&window.nfdOnboarding?.currentFlow?`&flow=${window.nfdOnboarding.currentFlow}`:""),a=e=>`${r.g5}/${e}`,o=e=>`${r.No}/${e}`,s=e=>`${r.h0}/${e}`},5171:(e,t,n)=>{"use strict";n.d(t,{Im:()=>o,JK:()=>s,mj:()=>c});var r=n(1455),i=n.n(r),a=n(8674);const o=e=>0===Object.keys(e).length;async function s(){return i()({url:(0,a.zV)("settings")})}async function c(e){return i()({url:(0,a.zV)("settings"),method:"POST",data:e})}},6079:(e,t,n)=>{"use strict";n.d(t,{HR:()=>d,IS:()=>u,V1:()=>l,lv:()=>c});var r=n(5435),i=n(8674),a=n(1455),o=n.n(a);let s;async function c(){return await(0,r.h)(o()({url:(0,i.fG)("flow")}).then())}async function l(e){s&&s.abort("New setFlow request placed!"),s=new AbortController;const{signal:t}=s;return await(0,r.h)(o()({url:(0,i.fG)("flow"),signal:t,method:"POST",data:e}).then())}async function u(){return await(0,r.h)(o()({url:(0,i.fG)("flow/complete"),method:"POST"}).then())}async function d(e){return await(0,r.h)(o()({url:(0,i.fG)("flow/switch"),method:"POST",data:{flow:e}}).then())}},8520:(e,t,n)=>{"use strict";n.d(t,{O:()=>s});var r=n(5435),i=n(8674),a=n(1455),o=n.n(a);async function s(e=!1,t=!1){return await(0,r.h)(o()({url:(0,i.fG)("patterns"+(e?`&step=${e}&squash=${t}`:""))}).then())}},8559:(e,t,n)=>{"use strict";n.d(t,{Ts:()=>l,YR:()=>d,ze:()=>u});var r=n(1455),i=n.n(r),a=n(8674),o=n(3272),s=n(5435),c=n(8969);const l=e=>{if((0,o.qn)(c.z3))return!0;i()({url:(0,a.fG)("plugins/initialize"),method:"POST",headers:{"X-NFD-INSTALLER":e||window.nfdOnboarding.pluginInstallHash}}).catch((e=>{console.error(e)}))},u=async()=>await(0,s.h)(i()({url:(0,a.fG)("plugins/site-features")}));async function d(){return await(0,s.h)(i()({url:(0,a.fG)("plugins/initialize/activate"),method:"POST"}).then())}},5435:(e,t,n)=>{"use strict";async function r(e){const t={body:null,error:null};try{t.body=await e}catch(e){t.error=e}return t}n.d(t,{h:()=>r})},2014:(e,t,n)=>{"use strict";n.d(t,{mt:()=>c,n_:()=>u,oc:()=>l});var r=n(1455),i=n.n(r),a=n(5435),o=n(8969),s=n(8674);async function c(){return await(0,a.h)(i()({url:(0,s.fG)("settings")}).then())}async function l(e){return await(0,a.h)(i()({url:(0,s.fG)("settings"),method:"POST",data:e}).then())}const u=(e=0)=>!(e>=o.lp)&&i()({url:(0,s.fG)("settings/initialize"),method:"POST"}).catch((()=>{u(e+=1)}))},7708:(e,t,n)=>{"use strict";n.d(t,{HA:()=>u,OD:()=>h,c7:()=>l,gK:()=>d,iQ:()=>c,kA:()=>s,rZ:()=>p});var r=n(1455),i=n.n(r),a=n(5435),o=n(8674);async function s(){return await(0,a.h)(i()({url:(0,o.fG)("sitegen/identifiers")}).then())}async function c(e,t,n=!0){return await(0,a.h)(i()({url:(0,o.fG)("sitegen/generate"),method:"POST",data:{site_info:e,identifier:t,skip_cache:n}}))}async function l(e){return await(0,a.h)(i()({url:(0,o.fG)("sitegen/homepages"),method:"POST",data:{site_description:e}}).then())}async function u(e,t,n,r){return await(0,a.h)(i()({url:(0,o.fG)("sitegen/homepages/regenerate"),method:"POST",data:{site_description:e,slug:t,palette:n,isFavorite:r}}).then())}async function d(){return await(0,a.h)(i()({url:(0,o.fG)("sitegen/customize-data")}).then())}async function p(e){return await(0,a.h)(i()({url:(0,o.fG)("sitegen/pages/sitemap"),method:"POST",data:{site_description:e}}).then())}async function h(){return await(0,a.h)(i()({url:(0,o.RE)("migrate/connect")}).then())}},7517:(e,t,n)=>{"use strict";n.d(t,{Ts:()=>l,_t:()=>g,ai:()=>u,kt:()=>f,oy:()=>h,qv:()=>m,w6:()=>p,xN:()=>d});var r=n(1455),i=n.n(r),a=n(8674),o=n(5435),s=n(3272),c=n(8969);const l=()=>{if((0,s.qn)(c.X0))return!0;i()({url:(0,a.fG)("themes/initialize"),method:"POST"}).catch((e=>{console.error(e)}))},u=async(e,t=!0,n=!0)=>"string"==typeof e&&await(0,o.h)(i()({url:(0,a.EG)("themes/install"),method:"POST",data:{theme:e,activate:t,queue:n}})),d=async(e,t=!0)=>"string"==typeof e&&await(0,o.h)(i()({url:(0,a.EG)("themes/expedite"),method:"POST",data:{theme:e,activate:t}})),p=async(e=!1)=>await(0,o.h)(i()({url:(0,a.fG)("themes/variations&variations="+e)}).then()),h=async e=>await(0,o.h)(i()({url:(0,a.fG)("themes/variations"),method:"POST",data:e}).then()),m=async e=>await(0,o.h)(i()({url:(0,a.EG)("themes/status"+(e?`&theme=${e}`:""))})),g=async()=>await(0,o.h)(i()({url:(0,a.fG)("themes/fonts")})),f=async()=>await(0,o.h)(i()({url:(0,a.fG)("themes/colors")}))},7225:(e,t,n)=>{"use strict";n.d(t,{AN:()=>w});var r=n(1609),i=n(6087),a=n(4997);const o=window.wp.styleEngine;var s=n(4715);function c(e,t={}){if(!e)return null;const{coerceTo:n,rootSizeValue:r,acceptableUnits:i}={coerceTo:"",rootSizeValue:16,acceptableUnits:["rem","px","em"],...t},a=i?.join("|"),o=new RegExp(`^(\\d*\\.?\\d+)(${a}){1,1}$`),s=e.match(o);if(!s||s.length<3)return null;let[,c,l]=s,u=parseFloat(c);return"px"!==n||"em"!==l&&"rem"!==l||(u*=r,l=n),"px"!==l||"em"!==n&&"rem"!==n||(u/=r,l=n),{value:u,unit:l}}function l(e,t=3){return Number.isFinite(e)?parseFloat(e.toFixed(t)):void 0}const u="body",d=[{path:["color","palette"],valueKey:"color",cssVarInfix:"color",classes:[{classSuffix:"color",propertyName:"color"},{classSuffix:"background-color",propertyName:"background-color"},{classSuffix:"border-color",propertyName:"border-color"}]},{path:["color","gradients"],valueKey:"gradient",cssVarInfix:"gradient",classes:[{classSuffix:"gradient-background",propertyName:"background"}]},{path:["color","duotone"],cssVarInfix:"duotone",valueFunc:({slug:e})=>`url( '#wp-duotone-${e}' )`,classes:[]},{path:["typography","fontSizes"],valueFunc:(e,{typography:t})=>function(e,t){const{size:n}=e;if(!0!==t?.fluid)return n;if(!1===e?.fluid)return n;const r=e?.fluid||{};let i=r?.min,a=r?.max;const o=c(n);return o?.unit?(i||(i=.75*o.value+o.unit),a||(a=1.5*o.value+o.unit),function({maximumViewPortWidth:e,minimumViewPortWidth:t,maximumFontSize:n,minimumFontSize:r,scaleFactor:i}){const a=c(r),o=a?.unit||"rem",s=c(n,{coerceTo:o});if(!a||!s)return null;const u=c(r,{coerceTo:"rem"}),d=c(e,{coerceTo:o}),p=c(t,{coerceTo:o});if(!d||!p||!u)return null;const h=l(p.value/100,3)+o;let m=(s.value-a.value)/(d.value-p.value)*100;m=l(m,3)||1;const g=m*i;return`clamp(${r}, ${u.value}${u.unit} + ((1vw - ${h}) * ${g}), ${n})`}({maximumViewPortWidth:"1600px",minimumViewPortWidth:"768px",maximumFontSize:a,minimumFontSize:i,scaleFactor:1})||n):n}(e,t),valueKey:"size",cssVarInfix:"font-size",classes:[{classSuffix:"font-size",propertyName:"font-size"}]},{path:["typography","fontFamilies"],valueKey:"fontFamily",cssVarInfix:"font-family",classes:[{classSuffix:"font-family",propertyName:"font-family"}]},{path:["spacing","spacingSizes"],valueKey:"size",cssVarInfix:"spacing",valueFunc:({size:e})=>e,classes:[]}],p={__experimentalBorder:"border",color:"color",spacing:"spacing",typography:"typography"};function h(e){return e?.startsWith?.("var:")?`var(--wp--${e.slice(4).split("|").join("--")})`:e}function m(e={},t,n){let r=[];return Object.keys(e).forEach((a=>{const o=t+(0,i.kebabCase)(a.replace("/","-")),s=e[a];if(s instanceof Object){const e=o+n;r=[...r,...m(s,e,n)]}else r.push(`${o}: ${s}`)})),r}function g(e={},t="",n,r={}){const s=u===t,c=(0,i.reduce)(a.__EXPERIMENTAL_STYLE_PROPERTY,((t,{value:r,properties:a,rootOnly:o},c)=>{if(o&&!s)return t;const l=r;if("elements"===l[0])return t;const u=(0,i.get)(e,l);if("--wp--style--root--padding"===c&&("string"==typeof u||!n))return t;if(a&&"string"!=typeof u)Object.entries(a).forEach((e=>{const[n,r]=e;if(!(0,i.get)(u,[r],!1))return;const a=n.startsWith("--")?n:(0,i.kebabCase)(n);t.push(`${a}: ${h((0,i.get)(u,[r]))}`)}));else if((0,i.get)(e,l,!1)){const n=c.startsWith("--")?c:(0,i.kebabCase)(c);t.push(`${n}: ${h((0,i.get)(e,l))}`)}return t}),[]);return(0,o.getCSSRules)(e).forEach((e=>{if(s&&n&&e.key.startsWith("padding"))return;const t=e.key.startsWith("--")?e.key:(0,i.kebabCase)(e.key);let a=e.value;if("string"!=typeof a&&a?.ref){const e=a.ref.split(".");if(a=(0,i.get)(r,e),!a||a?.ref)return}c.push(`${t}: ${a}`)})),c}const f=(e,t)=>{var n;const r=[];if(!e?.settings)return r;const a=e=>{const t={};return d.forEach((({path:n})=>{const r=(0,i.get)(e,n,!1);!1!==r&&(0,i.set)(t,n,r)})),t},o=a(e.settings),s=e.settings?.custom;return(0,i.isEmpty)(o)&&!s||r.push({presets:o,custom:s,selector:u}),Object.entries(null!==(n=e.settings?.blocks)&&void 0!==n?n:{}).forEach((([e,n])=>{const o=a(n),s=n.custom;(0,i.isEmpty)(o)&&!s||r.push({presets:o,custom:s,selector:t[e].selector})})),r},_=(e,t)=>{const n=f(e,t);let r="";return n.forEach((({presets:t,custom:n,selector:a})=>{const o=function(e={},t){return(0,i.reduce)(d,((n,{path:r,valueKey:a,valueFunc:o,cssVarInfix:s})=>{const c=(0,i.get)(e,r,[]);return c&&Array.isArray(c)&&c.forEach((e=>{a&&!o?n.push(`--wp--preset--${s}--${(0,i.kebabCase)(e.slug)}: ${e[a]}`):o&&"function"==typeof o&&n.push(`--wp--preset--${s}--${(0,i.kebabCase)(e.slug)}: ${o(e,t)}`)})),n}),[])}(t,e?.settings),s=m(n,"--wp--custom--","--");s.length>0&&o.push(...s),o.length>0&&(r+=`${a}{${o.join(";")};}`)})),r},v=(e,t,n,r,o=!1)=>{const c=((e,t)=>{var n;const r=[];if(!e?.styles)return r;const o=e=>(0,i.pickBy)(e,((e,t)=>["border","color","spacing","typography","filter"].includes(t))),s=o(e.styles);return s&&r.push({styles:s,selector:u}),Object.entries(a.__EXPERIMENTAL_ELEMENTS).forEach((([t,n])=>{e.styles?.elements&&e.styles?.elements[t]&&r.push({styles:e.styles?.elements[t],selector:n})})),Object.entries(null!==(n=e.styles?.blocks)&&void 0!==n?n:{}).forEach((([e,n])=>{var i;const s=o(n);s&&t?.[e]?.selector&&r.push({duotoneSelector:t[e].duotoneSelector,fallbackGapValue:t[e].fallbackGapValue,hasLayoutSupport:t[e].hasLayoutSupport,selector:t[e].selector,styles:s,featureSelectors:t[e].featureSelectors}),Object.entries(null!==(i=n?.elements)&&void 0!==i?i:{}).forEach((([n,i])=>{i&&t?.[e]&&a.__EXPERIMENTAL_ELEMENTS?.[n]&&r.push({styles:i,selector:t[e].selector.split(",").map((e=>a.__EXPERIMENTAL_ELEMENTS[n].split(",").map((t=>e+" "+t)))).join(",")})}))})),r})(e,t),l=f(e,t),p=e?.settings?.useRootPaddingAwareAlignments,{contentSize:h,wideSize:m}=e?.settings?.layout||{};let _="body {margin: 0;";if(h&&(_+=` --wp--style--global--content-size: ${h};`),m&&(_+=` --wp--style--global--wide-size: ${m};`),p&&(_+='padding-right: 0; padding-left: 0; padding-top: var(--wp--style--root--padding-top); padding-bottom: var(--wp--style--root--padding-bottom) } \n\t\t\t .has-global-padding { padding-right: var(--wp--style--root--padding-right); padding-left: var(--wp--style--root--padding-left); } \n\t\t\t .has-global-padding :where(.has-global-padding) { padding-right: 0; padding-left: 0; } \n\t\t\t .has-global-padding > .alignfull { margin-right: calc(var(--wp--style--root--padding-right) * -1); margin-left: calc(var(--wp--style--root--padding-left) * -1); } \n\t\t\t .has-global-padding :where(.has-global-padding) > .alignfull { margin-right: 0; margin-left: 0; } \n\t\t\t .has-global-padding > .alignfull:where(:not(.has-global-padding)) > :where([class*="wp-block-"]:not(.alignfull):not([class*="__"]),p,h1,h2,h3,h4,h5,h6,ul,ol) { padding-right: var(--wp--style--root--padding-right); padding-left: var(--wp--style--root--padding-left); } \n\t\t\t .has-global-padding :where(.has-global-padding) > .alignfull:where(:not(.has-global-padding)) > :where([class*="wp-block-"]:not(.alignfull):not([class*="__"]),p,h1,h2,h3,h4,h5,h6,ul,ol) { padding-right: 0; padding-left: 0;'),_+="}",c.forEach((({selector:t,duotoneSelector:i,styles:a,fallbackGapValue:c,hasLayoutSupport:l,featureSelectors:d})=>{d&&Object.entries(d).forEach((([e,t])=>{if(a?.[e]){const n=g({[e]:a[e]});delete a[e],n.length&&(_+=`${t}{${n.join(";")} }`)}}));const h={};if(a?.filter&&(h.filter=a.filter,delete a.filter),i){const e=g(h);e.length>0&&(_+=`${i}{${e.join(";")};}`)}o||u!==t&&!l||(_+=function({tree:e,style:t,selector:n,hasBlockGapSupport:r,hasFallbackGapSupport:i,fallbackGapValue:a}){let o="",c=r?(0,s.__experimentalGetGapCSSValue)(t?.spacing?.blockGap):"";if(i&&(n===u?c=c||"0.5em":!r&&a&&(c=a)),c&&e?.settings?.layout?.definitions&&(Object.values(e.settings.layout.definitions).forEach((({className:e,name:t,spacingStyles:i})=>{(r||"flex"===t)&&i?.length&&i.forEach((t=>{const i=[];if(t.rules&&Object.entries(t.rules).forEach((([e,t])=>{i.push(`${e}: ${t||c}`)})),i.length){let a="";a=r?n===u?`${n} .${e}${t?.selector||""}`:`${n}.${e}${t?.selector||""}`:n===u?`:where(.${e}${t?.selector||""})`:`:where(${n}.${e}${t?.selector||""})`,o+=`${a} { ${i.join("; ")}; }`}}))})),n===u&&r&&(o+=`${n} { --wp--style--block-gap: ${c}; }`)),n===u&&e?.settings?.layout?.definitions){const t=["block","flex","grid"];Object.values(e.settings.layout.definitions).forEach((({className:e,displayMode:r,baseStyles:i})=>{r&&t.includes(r)&&(o+=`${n} .${e} { display:${r}; }`),i?.length&&i.forEach((t=>{const r=[];t.rules&&Object.entries(t.rules).forEach((([e,t])=>{r.push(`${e}: ${t}`)})),r.length&&(o+=`${n} .${e}${t?.selector||""} { ${r.join("; ")}; }`)}))}))}return o}({tree:e,style:a,selector:t,hasBlockGapSupport:n,hasFallbackGapSupport:r,fallbackGapValue:c}));const m=g(a,t,p,e);m?.length&&(_+=`${t}{${m.join(";")};}`);const f=Object.entries(a).filter((([e])=>e.startsWith(":")));f?.length&&f.forEach((([e,n])=>{const r=g(n);if(!r?.length)return;const i=`${t.split(",").map((t=>t+e)).join(",")}{${r.join(";")};}`;_+=i}))})),_+=".wp-site-blocks > .alignleft { float: left; margin-right: 2em; }",_+=".wp-site-blocks > .alignright { float: right; margin-left: 2em; }",_+=".wp-site-blocks > .aligncenter { justify-content: center; margin-left: auto; margin-right: auto; }",!o&&n){const t=(0,s.__experimentalGetGapCSSValue)(e?.styles?.spacing?.blockGap)||"0.5em";_+=".wp-site-blocks > * { margin-block-start: 0; margin-block-end: 0; }",_+=`.wp-site-blocks > * + * { margin-block-start: ${t}; }`}return l.forEach((({selector:e,presets:t})=>{u===e&&(e="");const n=function(e,t={}){return(0,i.reduce)(d,((n,{path:r,cssVarInfix:a,classes:o})=>{if(!o)return n;const s=(0,i.get)(t,r,[]);return s&&Array.isArray(s)&&s.forEach((({slug:t})=>{o.forEach((({classSuffix:r,propertyName:o})=>{const s=`.has-${(0,i.kebabCase)(t)}-${r}`,c=e.split(",").map((e=>`${e}${s}`)).join(","),l=`var(--wp--preset--${a}--${(0,i.kebabCase)(t)})`;n+=`${c}{${o}: ${l} !important;}`}))})),n}),"")}(e,t);(0,i.isEmpty)(n)||(_+=n)})),_};const b=e=>{const t={};return e.forEach((e=>{var n,r;const i=e.name,a=null!==(n=e?.supports?.__experimentalSelector)&&void 0!==n?n:".wp-block-"+i.replace("core/","").replace("/","-"),o=null!==(r=e?.supports?.color?.__experimentalDuotone)&&void 0!==r?r:null,s=!!e?.supports?.__experimentalLayout,c=e?.supports?.spacing?.blockGap?.__experimentalDefault,l={};Object.entries(p).forEach((([t,n])=>{const r=e?.supports?.[t]?.__experimentalSelector;r&&(l[n]=function(e,t){const n=e.split(","),r=t.split(","),i=[];return n.forEach((e=>{r.forEach((t=>{i.push(`${e.trim()} ${t.trim()}`)}))})),i.join(", ")}(a,r))})),t[i]={duotoneSelector:o,fallbackGapValue:c,featureSelectors:Object.keys(l).length?l:void 0,hasLayoutSupport:s,name:i,selector:a}})),t};function w(e,t){const n=t.settings.__experimentalFeatures.spacing.blockGap,o=!n,c=!t.settings?.disableLayoutStyles||t.settings.disableLayoutStyles;if(!e?.styles&&!e?.settings&&!e?.globalStyles)return;const l={settings:e.settings,styles:e?.globalStyles?e.globalStyles:e.styles},u=b((0,a.getBlockTypes)()),p=_(l,u),h=v(l,u,n,o,c),m=function(e,t){return f(e,t).flatMap((({presets:e})=>function(e={}){return d.filter((e=>"duotone"===e.path.at(-1))).flatMap((t=>{const n=(0,i.get)(e,t.path,{});return["default","theme"].filter((e=>n[e])).flatMap((e=>n[e].map((e=>(0,r.createElement)(s.__unstablePresetDuotoneFilter,{preset:e,key:e.slug})))))}))}(e)))}(l,u),g=[...t.settings.styles.filter((e=>!(e.hasOwnProperty("id")&&("customProperty"===e.id||"globalStyle"===e.id)))),{id:"customProperty",css:p,isGlobalStyles:!0},{id:"globalStyle",css:h,isGlobalStyles:!0},{assets:m,__unstableType:"svg",isGlobalStyles:!0}];return e.settings.styles=g,e.settings.__unstableResolvedAssets=t.settings.__unstableResolvedAssets,e.settings.__experimentalFeatures=t.settings.__experimentalFeatures,e}},3272:(e,t,n)=>{"use strict";n.d(t,{g2:()=>s,p4:()=>c,qm:()=>o,qn:()=>a});var r=n(3832),i=n(6087);const a=e=>new URLSearchParams(window.location.search).get(e),o=(e,t)=>(0,r.hasQueryArg)(e,t)?(0,r.removeQueryArgs)(e,t):e,s=e=>(0,i.transform)(e,((e,t,n)=>{e[(0,i.snakeCase)(n)]=t})),c=()=>!!window.Cypress},3474:(e,t,n)=>{"use strict";n.d(t,{P:()=>o});var r=n(8744),i=n(7723);const a={[r.rA]:{site:{noun:(0,i._x)("site","noun","wp-module-onboarding")},website:{noun:(0,i._x)("website","noun","wp-module-onboarding")}},[r.eS]:{site:{noun:(0,i._x)("store","noun","wp-module-onboarding")},website:{noun:(0,i._x)("store","noun","wp-module-onboarding")}},[r.d0]:{site:{noun:(0,i._x)("site","noun","wp-module-onboarding")},website:{noun:(0,i._x)("website","noun","wp-module-onboarding")}}},o=(e,t="noun")=>{const n=window?.nfdOnboarding?.currentFlow||r.rA,i=a[n][e.toLowerCase()][t];return e===e.toUpperCase()?i.toUpperCase():e[0]===e[0].toUpperCase()?i[0].toUpperCase()+i.substring(1):i}},8969:(e,t,n)=>{"use strict";n.d(t,{$P:()=>oe,At:()=>te,CL:()=>T,Cx:()=>w,EF:()=>ie,Er:()=>Z,F4:()=>ne,HJ:()=>k,Ix:()=>M,KJ:()=>b,KK:()=>$,KZ:()=>F,L5:()=>ue,Mw:()=>P,No:()=>h,PE:()=>y,Qe:()=>D,Qs:()=>A,R0:()=>g,R2:()=>re,SF:()=>c,SJ:()=>E,SQ:()=>X,So:()=>K,Sr:()=>R,St:()=>N,VG:()=>_,V_:()=>I,Vw:()=>le,W6:()=>se,WH:()=>j,X0:()=>q,Xi:()=>d,ZH:()=>o,db:()=>W,eT:()=>a,eY:()=>C,f1:()=>Y,fO:()=>J,fS:()=>ce,g5:()=>p,gR:()=>ee,gb:()=>H,h0:()=>u,iQ:()=>S,jK:()=>O,lf:()=>x,lp:()=>B,me:()=>z,mp:()=>Q,nK:()=>L,qy:()=>ae,vO:()=>f,vd:()=>V,yY:()=>v,z3:()=>G,zm:()=>U});var r,i=n(3832);const a="nfd-onboarding",o="object"==typeof window?.nfdOnboarding&&"buildUrl"in window.nfdOnboarding,s=window.nfdOnboarding.adminUrl,c=window.nfdOnboarding.siteUrl,l=window.nfdOnboarding.restUrl,u=`${l}/wp/v2`,d=`${l}/newfold-onboarding/v1`,p=`${l}/newfold-installer/v1`,h=`${l}/newfold-migration/v1`,m=(0,i.addQueryArgs)(`${s}index.php`,window.nfdOnboarding.currentBrand?.dashboardRedirectParams),g=null!==(r=(0,i.addQueryArgs)(window.nfdOnboarding.currentBrand?.pluginDashboardPage,window.nfdOnboarding.currentBrand?.dashboardRedirectParams))&&void 0!==r?r:m,f="nav-primary",_="nav-design",v="nav-page",b="design-themes",w="design-theme-styles-menu",y="design-theme-styles-preview",S="design-colors",E="design-fonts",k="design-header-menu",T="design-homepage-menu",x="nav-get-started",C="nav-ecommerce-store-info",N="Sidebar",A="HeaderMenu",I="SitegenEditorPatterns",D="LearnMore",O="Customize",P="HeaderSiteBuild",M="HeaderSiteGen",R="FooterSiteGen",$="HeaderTop",L="HeaderStart",z="HeaderCenter",F="HeaderEnd",V="FooterStart",H="FooterEnd",U=2,W=2,B=2,j=2,G="nfd_plugins",q="nfd_themes",Y="nfd_slug_yith_wonder",K="init",Q="inactive",J="installing",Z="activated",X="failed",ee="demographic",te="commerce",ne="design",re="layout_and_content",ie="features",ae="core",oe="design",se="features",ce="dark",le="light",ue={SET_FLOW:"SET_FLOW",SET_GLOBAL_STYLES:"SET_GLOBAL_STYLES"}},1003:(e,t,n)=>{"use strict";n.d(t,{I9:()=>h,k2:()=>_});var r=n(1609);const i=window.ReactDOM;var a=n(148),o=n(5588);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const l=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],u=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"];try{window.__reactRouterVersion="6"}catch(e){}const d=r.createContext({isTransitioning:!1});new Map;const p=r.startTransition;function h(e){let{basename:t,children:n,future:i,window:s}=e,c=r.useRef();null==c.current&&(c.current=(0,o.TM)({window:s,v5Compat:!0}));let l=c.current,[u,d]=r.useState({action:l.action,location:l.location}),{v7_startTransition:h}=i||{},m=r.useCallback((e=>{h&&p?p((()=>d(e))):d(e)}),[d,h]);return r.useLayoutEffect((()=>l.listen(m)),[l,m]),r.createElement(a.Ix,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:l,future:i})}i.flushSync,r.useId;const m="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,g=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,f=r.forwardRef((function(e,t){let n,{onClick:i,relative:u,reloadDocument:d,replace:p,state:h,target:f,to:_,preventScrollReset:v,unstable_viewTransition:b}=e,w=c(e,l),{basename:y}=r.useContext(a.jb),S=!1;if("string"==typeof _&&g.test(_)&&(n=_,m))try{let e=new URL(window.location.href),t=_.startsWith("//")?new URL(e.protocol+_):new URL(_),n=(0,o.pb)(t.pathname,y);t.origin===e.origin&&null!=n?_=n+t.search+t.hash:S=!0}catch(e){}let E=(0,a.$P)(_,{relative:u}),k=function(e,t){let{target:n,replace:i,state:s,preventScrollReset:c,relative:l,unstable_viewTransition:u}=void 0===t?{}:t,d=(0,a.Zp)(),p=(0,a.zy)(),h=(0,a.x$)(e,{relative:l});return r.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();let n=void 0!==i?i:(0,o.AO)(p)===(0,o.AO)(h);d(e,{replace:n,state:s,preventScrollReset:c,relative:l,unstable_viewTransition:u})}}),[p,d,h,i,s,n,e,c,l,u])}(_,{replace:p,state:h,target:f,preventScrollReset:v,relative:u,unstable_viewTransition:b});return r.createElement("a",s({},w,{href:n||E,onClick:S||d?i:function(e){i&&i(e),e.defaultPrevented||k(e)},ref:t,target:f}))})),_=r.forwardRef((function(e,t){let{"aria-current":n="page",caseSensitive:i=!1,className:l="",end:p=!1,style:h,to:m,unstable_viewTransition:g,children:_}=e,b=c(e,u),w=(0,a.x$)(m,{relative:b.relative}),y=(0,a.zy)(),S=r.useContext(a.Rq),{navigator:E,basename:k}=r.useContext(a.jb),T=null!=S&&function(e,t){void 0===t&&(t={});let n=r.useContext(d);null==n&&(0,o.Oi)(!1);let{basename:i}=function(e){let t=r.useContext(a.sp);return t||(0,o.Oi)(!1),t}(v.useViewTransitionState),s=(0,a.x$)(e,{relative:t.relative});if(!n.isTransitioning)return!1;let c=(0,o.pb)(n.currentLocation.pathname,i)||n.currentLocation.pathname,l=(0,o.pb)(n.nextLocation.pathname,i)||n.nextLocation.pathname;return null!=(0,o.B6)(s.pathname,l)||null!=(0,o.B6)(s.pathname,c)}(w)&&!0===g,x=E.encodeLocation?E.encodeLocation(w).pathname:w.pathname,C=y.pathname,N=S&&S.navigation&&S.navigation.location?S.navigation.location.pathname:null;i||(C=C.toLowerCase(),N=N?N.toLowerCase():null,x=x.toLowerCase()),N&&k&&(N=(0,o.pb)(N,k)||N);const A="/"!==x&&x.endsWith("/")?x.length-1:x.length;let I,D=C===x||!p&&C.startsWith(x)&&"/"===C.charAt(A),O=null!=N&&(N===x||!p&&N.startsWith(x)&&"/"===N.charAt(x.length)),P={isActive:D,isPending:O,isTransitioning:T},M=D?n:void 0;I="function"==typeof l?l(P):[l,D?"active":null,O?"pending":null,T?"transitioning":null].filter(Boolean).join(" ");let R="function"==typeof h?h(P):h;return r.createElement(f,s({},b,{"aria-current":M,className:I,ref:t,style:R,to:m,unstable_viewTransition:g}),"function"==typeof _?_(P):_)}));var v,b;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(v||(v={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(b||(b={}))},148:(e,t,n)=>{"use strict";n.d(t,{$P:()=>p,BV:()=>A,Ix:()=>N,Rq:()=>s,Zp:()=>f,jb:()=>c,qh:()=>C,sp:()=>o,x$:()=>_,zy:()=>m});var r=n(1609),i=n(5588);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{n.current=!0})),r.useCallback((function(r,i){void 0===i&&(i={}),n.current&&("number"==typeof r?e.navigate(r):e.navigate(r,a({fromRouteId:t},i)))}),[e,t])}():function(){h()||(0,i.Oi)(!1);let e=r.useContext(o),{basename:t,future:n,navigator:a}=r.useContext(c),{matches:s}=r.useContext(u),{pathname:l}=m(),d=JSON.stringify((0,i.yD)(s,n.v7_relativeSplatPath)),p=r.useRef(!1);return g((()=>{p.current=!0})),r.useCallback((function(n,r){if(void 0===r&&(r={}),!p.current)return;if("number"==typeof n)return void a.go(n);let o=(0,i.Gh)(n,JSON.parse(d),l,"path"===r.relative);null==e&&"/"!==t&&(o.pathname="/"===o.pathname?t:(0,i.HS)([t,o.pathname])),(r.replace?a.replace:a.push)(o,r.state,r)}),[t,a,d,l,e])}()}function _(e,t){let{relative:n}=void 0===t?{}:t,{future:a}=r.useContext(c),{matches:o}=r.useContext(u),{pathname:s}=m(),l=JSON.stringify((0,i.yD)(o,a.v7_relativeSplatPath));return r.useMemo((()=>(0,i.Gh)(e,JSON.parse(l),s,"path"===n)),[e,l,s,n])}function v(e,t,n,o){h()||(0,i.Oi)(!1);let{navigator:s}=r.useContext(c),{matches:d}=r.useContext(u),p=d[d.length-1],g=p?p.params:{},f=(p&&p.pathname,p?p.pathnameBase:"/");p&&p.route;let _,v=m();if(t){var b;let e="string"==typeof t?(0,i.Rr)(t):t;"/"===f||(null==(b=e.pathname)?void 0:b.startsWith(f))||(0,i.Oi)(!1),_=e}else _=v;let E=_.pathname||"/",k=E;if("/"!==f){let e=f.replace(/^\//,"").split("/");k="/"+E.replace(/^\//,"").split("/").slice(e.length).join("/")}let T=(0,i.ue)(e,{pathname:k}),C=function(e,t,n,a){var o;if(void 0===t&&(t=[]),void 0===n&&(n=null),void 0===a&&(a=null),null==e){var s;if(null==(s=n)||!s.errors)return null;e=n.matches}let c=e,l=null==(o=n)?void 0:o.errors;if(null!=l){let e=c.findIndex((e=>e.route.id&&(null==l?void 0:l[e.route.id])));e>=0||(0,i.Oi)(!1),c=c.slice(0,Math.min(c.length,e+1))}let u=!1,d=-1;if(n&&a&&a.v7_partialHydration)for(let e=0;e=0?c.slice(0,d+1):[c[0]];break}}}return c.reduceRight(((e,i,a)=>{let o,s=!1,p=null,h=null;var m;n&&(o=l&&i.route.id?l[i.route.id]:void 0,p=i.route.errorElement||w,u&&(d<0&&0===a?(x[m="route-fallback"]||(x[m]=!0),s=!0,h=null):d===a&&(s=!0,h=i.route.hydrateFallbackElement||null)));let g=t.concat(c.slice(0,a+1)),f=()=>{let t;return t=o?p:s?h:i.route.Component?r.createElement(i.route.Component,null):i.route.element?i.route.element:e,r.createElement(S,{match:i,routeContext:{outlet:e,matches:g,isDataRoute:null!=n},children:t})};return n&&(i.route.ErrorBoundary||i.route.errorElement||0===a)?r.createElement(y,{location:n.location,revalidation:n.revalidation,component:p,error:o,children:f(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):f()}),null)}(T&&T.map((e=>Object.assign({},e,{params:Object.assign({},g,e.params),pathname:(0,i.HS)([f,s.encodeLocation?s.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?f:(0,i.HS)([f,s.encodeLocation?s.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),d,n,o);return t&&C?r.createElement(l.Provider,{value:{location:a({pathname:"/",search:"",hash:"",state:null,key:"default"},_),navigationType:i.rc.Pop}},C):C}function b(){let e=function(){var e;let t=r.useContext(d),n=function(e){let t=r.useContext(s);return t||(0,i.Oi)(!1),t}(k.UseRouteError),a=T(k.UseRouteError);return void 0!==t?t:null==(e=n.errors)?void 0:e[a]}(),t=(0,i.pX)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return r.createElement(r.Fragment,null,r.createElement("h2",null,"Unexpected Application Error!"),r.createElement("h3",{style:{fontStyle:"italic"}},t),n?r.createElement("pre",{style:a},n):null,null)}const w=r.createElement(b,null);class y extends r.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?r.createElement(u.Provider,{value:this.props.routeContext},r.createElement(d.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function S(e){let{routeContext:t,match:n,children:i}=e,a=r.useContext(o);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),r.createElement(u.Provider,{value:t},i)}var E=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(E||{}),k=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(k||{});function T(e){let t=function(e){let t=r.useContext(u);return t||(0,i.Oi)(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||(0,i.Oi)(!1),n.route.id}const x={};function C(e){(0,i.Oi)(!1)}function N(e){let{basename:t="/",children:n=null,location:o,navigationType:s=i.rc.Pop,navigator:u,static:d=!1,future:p}=e;h()&&(0,i.Oi)(!1);let m=t.replace(/^\/*/,"/"),g=r.useMemo((()=>({basename:m,navigator:u,static:d,future:a({v7_relativeSplatPath:!1},p)})),[m,p,u,d]);"string"==typeof o&&(o=(0,i.Rr)(o));let{pathname:f="/",search:_="",hash:v="",state:b=null,key:w="default"}=o,y=r.useMemo((()=>{let e=(0,i.pb)(f,m);return null==e?null:{location:{pathname:e,search:_,hash:v,state:b,key:w},navigationType:s}}),[m,f,_,v,b,w,s]);return null==y?null:r.createElement(c.Provider,{value:g},r.createElement(l.Provider,{children:n,value:y}))}function A(e){let{children:t,location:n}=e;return v(I(t),n)}function I(e,t){void 0===t&&(t=[]);let n=[];return r.Children.forEach(e,((e,a)=>{if(!r.isValidElement(e))return;let o=[...t,a];if(e.type===r.Fragment)return void n.push.apply(n,I(e.props.children,o));e.type!==C&&(0,i.Oi)(!1),e.props.index&&e.props.children&&(0,i.Oi)(!1);let s={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(s.children=I(e.props.children,o)),n.push(s)})),n}r.startTransition,new Promise((()=>{})),r.Component},1609:e=>{"use strict";e.exports=window.React},6087:e=>{"use strict";e.exports=window.lodash},1455:e=>{"use strict";e.exports=window.wp.apiFetch},4715:e=>{"use strict";e.exports=window.wp.blockEditor},4997:e=>{"use strict";e.exports=window.wp.blocks},6427:e=>{"use strict";e.exports=window.wp.components},9491:e=>{"use strict";e.exports=window.wp.compose},3582:e=>{"use strict";e.exports=window.wp.coreData},7143:e=>{"use strict";e.exports=window.wp.data},8107:e=>{"use strict";e.exports=window.wp.dom},8468:e=>{"use strict";e.exports=window.wp.element},7723:e=>{"use strict";e.exports=window.wp.i18n},8558:e=>{"use strict";e.exports=window.wp.keycodes},5573:e=>{"use strict";e.exports=window.wp.primitives},3832:e=>{"use strict";e.exports=window.wp.url},6942:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t{"use strict";e.exports={rE:"2.4.1"}}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}};return n[e](a,a.exports,i),a.exports}i.m=n,i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,n)=>(i.f[n](e,t),t)),[])),i.u=e=>e+".js",i.miniCssF=e=>e+".css",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="newfold.Onboarding:",i.l=(n,r,a,o)=>{if(e[n])e[n].push(r);else{var s,c;if(void 0!==a)for(var l=document.getElementsByTagName("script"),u=0;u{s.onerror=s.onload=null,clearTimeout(h);var i=e[n];if(delete e[n],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((e=>e(r))),t)return t(r)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),c&&document.head.appendChild(s)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var t=i.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e})(),(()=>{if("undefined"!=typeof document){var e={352:0};i.f.miniCss=(t,n)=>{e[t]?n.push(e[t]):0!==e[t]&&{100:1,396:1}[t]&&n.push(e[t]=(e=>new Promise(((t,n)=>{var r=i.miniCssF(e),a=i.p+r;if(((e,t)=>{for(var n=document.getElementsByTagName("link"),r=0;r{var a=document.createElement("link");a.rel="stylesheet",a.type="text/css",a.onerror=a.onload=n=>{if(a.onerror=a.onload=null,"load"===n.type)r();else{var o=n&&n.type,s=n&&n.target&&n.target.href||t,c=new Error("Loading CSS chunk "+e+" failed.\n("+o+": "+s+")");c.name="ChunkLoadError",c.code="CSS_CHUNK_LOAD_FAILED",c.type=o,c.request=s,a.parentNode&&a.parentNode.removeChild(a),i(c)}},a.href=t,document.head.appendChild(a)})(e,a,0,t,n)})))(t).then((()=>{e[t]=0}),(n=>{throw delete e[t],n})))}}})(),(()=>{var e={352:0};i.f.j=(t,n)=>{var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var a=new Promise(((n,i)=>r=e[t]=[n,i]));n.push(r[2]=a);var o=i.p+i.u(t),s=new Error;i.l(o,(n=>{if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var a=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",s.name="ChunkLoadError",s.type=a,s.request=o,r[1](s)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,a,[o,s,c]=n,l=0;if(o.some((t=>0!==e[t]))){for(r in s)i.o(s,r)&&(i.m[r]=s[r]);c&&c(i)}for(t&&t(n);l{"use strict";i.r(a);var e={};i.r(e),i.d(e,{closeModal:()=>x,disableComplementaryArea:()=>b,enableComplementaryArea:()=>v,openModal:()=>T,pinItem:()=>w,setDefaultComplementaryArea:()=>_,setFeatureDefaults:()=>k,setFeatureValue:()=>E,toggleFeature:()=>S,unpinItem:()=>y});var t={};i.r(t),i.d(t,{getActiveComplementaryArea:()=>C,isComplementaryAreaLoading:()=>N,isFeatureActive:()=>I,isItemPinned:()=>A,isModalActive:()=>D});var n=i(8969);const r=window.wp.domReady;var o=i.n(r);const s=window.wp.blockLibrary;var c=i(1609),l=i(7675),u=i(6079),d=i(8468);const p=({isActive:e})=>((0,d.useEffect)((()=>{let e=!1;return document.body.classList.contains("sticky-menu")&&(e=!0,document.body.classList.remove("sticky-menu")),()=>{e&&document.body.classList.add("sticky-menu")}}),[]),(0,d.useEffect)((()=>(e?document.body.classList.add("is-fullscreen-mode"):document.body.classList.remove("is-fullscreen-mode"),()=>{e&&document.body.classList.remove("is-fullscreen-mode")})),[e]),null);var h=i(7143);const m=window.wp.deprecated;var g=i.n(m);const f=window.wp.preferences,_=(e,t)=>({type:"SET_DEFAULT_COMPLEMENTARY_AREA",scope:e,area:t}),v=(e,t)=>({registry:n,dispatch:r})=>{t&&(n.select(f.store).get(e,"isComplementaryAreaVisible")||n.dispatch(f.store).set(e,"isComplementaryAreaVisible",!0),r({type:"ENABLE_COMPLEMENTARY_AREA",scope:e,area:t}))},b=e=>({registry:t})=>{t.select(f.store).get(e,"isComplementaryAreaVisible")&&t.dispatch(f.store).set(e,"isComplementaryAreaVisible",!1)},w=(e,t)=>({registry:n})=>{if(!t)return;const r=n.select(f.store).get(e,"pinnedItems");!0!==r?.[t]&&n.dispatch(f.store).set(e,"pinnedItems",{...r,[t]:!0})},y=(e,t)=>({registry:n})=>{if(!t)return;const r=n.select(f.store).get(e,"pinnedItems");n.dispatch(f.store).set(e,"pinnedItems",{...r,[t]:!1})};function S(e,t){return function({registry:n}){g()("dispatch( 'core/interface' ).toggleFeature",{since:"6.0",alternative:"dispatch( 'core/preferences' ).toggle"}),n.dispatch(f.store).toggle(e,t)}}function E(e,t,n){return function({registry:r}){g()("dispatch( 'core/interface' ).setFeatureValue",{since:"6.0",alternative:"dispatch( 'core/preferences' ).set"}),r.dispatch(f.store).set(e,t,!!n)}}function k(e,t){return function({registry:n}){g()("dispatch( 'core/interface' ).setFeatureDefaults",{since:"6.0",alternative:"dispatch( 'core/preferences' ).setDefaults"}),n.dispatch(f.store).setDefaults(e,t)}}function T(e){return{type:"OPEN_MODAL",name:e}}function x(){return{type:"CLOSE_MODAL"}}const C=(0,h.createRegistrySelector)((e=>(t,n)=>{const r=e(f.store).get(n,"isComplementaryAreaVisible");if(void 0!==r)return!1===r?null:t?.complementaryAreas?.[n]})),N=(0,h.createRegistrySelector)((e=>(t,n)=>{const r=e(f.store).get(n,"isComplementaryAreaVisible"),i=t?.complementaryAreas?.[n];return r&&void 0===i})),A=(0,h.createRegistrySelector)((e=>(t,n,r)=>{var i;const a=e(f.store).get(n,"pinnedItems");return null===(i=a?.[r])||void 0===i||i})),I=(0,h.createRegistrySelector)((e=>(t,n,r)=>(g()("select( 'core/interface' ).isFeatureActive( scope, featureName )",{since:"6.0",alternative:"select( 'core/preferences' ).get( scope, featureName )"}),!!e(f.store).get(n,r))));function D(e,t){return e.activeModal===t}const O=(0,h.combineReducers)({complementaryAreas:function(e={},t){switch(t.type){case"SET_DEFAULT_COMPLEMENTARY_AREA":{const{scope:n,area:r}=t;return e[n]?e:{...e,[n]:r}}case"ENABLE_COMPLEMENTARY_AREA":{const{scope:n,area:r}=t;return{...e,[n]:r}}}return e},activeModal:function(e=null,t){switch(t.type){case"OPEN_MODAL":return t.name;case"CLOSE_MODAL":return null}return e}}),P=(0,h.createReduxStore)("core/interface",{reducer:O,actions:e,selectors:t});(0,h.register)(P);var M=i(6427),R=i(1032);const $=()=>(0,c.createElement)(d.Fragment,null,(0,c.createElement)(p,{isActive:!0}),(0,c.createElement)(M.SlotFillProvider,null,(0,c.createElement)(R.Iy,null)));var L=i(1003),z=i(6478),F=i(6188);const V=()=>(0,c.createElement)(L.I9,null,(0,c.createElement)($,null));var H=i(4371),U=i(8674),W=i(3272);const B="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,j="8.9.2",G=globalThis;function q(e,t,n){const r=n||G,i=r.__SENTRY__=r.__SENTRY__||{},a=i[j]=i[j]||{};return a[e]||(a[e]=t())}const Y=["debug","info","warn","error","log","assert","trace"],K={};function Q(e){if(!("console"in G))return e();const t=G.console,n={},r=Object.keys(K);r.forEach((e=>{const r=K[e];n[e]=t[e],t[e]=r}));try{return e()}finally{r.forEach((e=>{t[e]=n[e]}))}}const J=function(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return B?Y.forEach((n=>{t[n]=(...t)=>{e&&Q((()=>{G.console[n](`Sentry Logger [${n}]:`,...t)}))}})):Y.forEach((e=>{t[e]=()=>{}})),t}(),Z=Object.prototype.toString;function X(e){switch(Z.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return le(e,Error)}}function ee(e,t){return Z.call(e)===`[object ${t}]`}function te(e){return ee(e,"ErrorEvent")}function ne(e){return ee(e,"DOMError")}function re(e){return ee(e,"String")}function ie(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function ae(e){return null===e||ie(e)||"object"!=typeof e&&"function"!=typeof e}function oe(e){return ee(e,"Object")}function se(e){return"undefined"!=typeof Event&&le(e,Event)}function ce(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function le(e,t){try{return e instanceof t}catch(e){return!1}}function ue(e){return!("object"!=typeof e||null===e||!e.__isVue&&!e._isVue)}const de=G,pe=80;function he(e,t={}){if(!e)return"";try{let n=e;const r=5,i=[];let a=0,o=0;const s=" > ",c=s.length;let l;const u=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||pe;for(;n&&a++1&&o+i.length*c+l.length>=d));)i.push(l),o+=l.length,n=n.parentNode;return i.reverse().join(s)}catch(e){return""}}function me(e,t){const n=e,r=[];let i,a,o,s,c;if(!n||!n.tagName)return"";if(de.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const l=t&&t.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(l&&l.length)l.forEach((e=>{r.push(`[${e[0]}="${e[1]}"]`)}));else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&re(i))for(a=i.split(/\s+/),c=0;cfunction(e,t,n=!1){return!!re(e)&&(ee(t,"RegExp")?t.test(e):!!re(t)&&(n?e===t:e.includes(t)))}(e,t,n)))}function ve(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);"function"==typeof i&&we(i,r),e[t]=i}function be(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){B&&J.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function we(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,be(e,"__sentry_original__",t)}catch(e){}}function ye(e){return e.__sentry_original__}function Se(e){if(X(e))return{message:e.message,name:e.name,stack:e.stack,...ke(e)};if(se(e)){const t={type:e.type,target:Ee(e.target),currentTarget:Ee(e.currentTarget),...ke(e)};return"undefined"!=typeof CustomEvent&&le(e,CustomEvent)&&(t.detail=e.detail),t}return e}function Ee(e){try{return"undefined"!=typeof Element&&le(e,Element)?he(e):Object.prototype.toString.call(e)}catch(e){return""}}function ke(e){if("object"==typeof e&&null!==e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function Te(e){return xe(e,new Map)}function xe(e,t){if(function(e){if(!oe(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}(e)){const n=t.get(e);if(void 0!==n)return n;const r={};t.set(e,r);for(const n of Object.keys(e))void 0!==e[n]&&(r[n]=xe(e[n],t));return r}if(Array.isArray(e)){const n=t.get(e);if(void 0!==n)return n;const r=[];return t.set(e,r),e.forEach((e=>{r.push(xe(e,t))})),r}return e}function Ce(){const e=G,t=e.crypto||e.msCrypto;let n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(e){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(e=>(e^(15&n())>>e/4).toString(16)))}function Ne(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function Ae(e){const{message:t,event_id:n}=e;if(t)return t;const r=Ne(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function Ie(e,t,n){const r=e.exception=e.exception||{},i=r.values=r.values||[],a=i[0]=i[0]||{};a.value||(a.value=t||""),a.type||(a.type=n||"Error")}function De(e,t){const n=Ne(e);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){const e={...r&&r.data,...t.data};n.mechanism.data=e}}function Oe(e){if(e&&e.__sentry_captured__)return!0;try{be(e,"__sentry_captured__",!0)}catch(e){}return!1}function Pe(e){return Array.isArray(e)?e:[e]}const Me="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,Re=[];function $e(e){const t=e.defaultIntegrations||[],n=e.integrations;let r;t.forEach((e=>{e.isDefaultInstance=!0})),r=Array.isArray(n)?[...t,...n]:"function"==typeof n?Pe(n(t)):t;const i=function(e){const t={};return e.forEach((e=>{const{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)})),Object.keys(t).map((e=>t[e]))}(r),a=function(e,t){for(let t=0;tn(t,r,e)))}if("function"==typeof t.processEvent){const n=t.processEvent.bind(t),r=Object.assign(((t,r)=>n(t,r,e)),{id:t.name});e.addEventProcessor(r)}Me&&J.log(`Integration installed: ${t.name}`)}}const Fe=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler"],Ve=(e={})=>({name:"InboundFilters",processEvent(t,n,r){const i=r.getOptions(),a=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:Fe],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,i);return function(e,t){return t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(e)?(Me&&J.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${Ae(e)}`),!0):function(e,t){return!(e.type||!t||!t.length)&&function(e){const t=[];let n;e.message&&t.push(e.message);try{n=e.exception.values[e.exception.values.length-1]}catch(e){}return n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`)),t}(e).some((e=>_e(e,t)))}(e,t.ignoreErrors)?(Me&&J.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${Ae(e)}`),!0):function(e){return!e.type&&(!(!e.exception||!e.exception.values||0===e.exception.values.length)&&(!e.message&&!e.exception.values.some((e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))))}(e)?(Me&&J.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${Ae(e)}`),!0):function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;const n=e.transaction;return!!n&&_e(n,t)}(e,t.ignoreTransactions)?(Me&&J.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${Ae(e)}`),!0):function(e,t){if(!t||!t.length)return!1;const n=He(e);return!!n&&_e(n,t)}(e,t.denyUrls)?(Me&&J.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${Ae(e)}.\nUrl: ${He(e)}`),!0):!function(e,t){if(!t||!t.length)return!0;const n=He(e);return!n||_e(n,t)}(e,t.allowUrls)&&(Me&&J.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${Ae(e)}.\nUrl: ${He(e)}`),!0)}(t,a)?null:t}});function He(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&""!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(t){return Me&&J.error(`Cannot extract url for event ${Ae(e)}`),null}}function Ue(){return We(G),G}function We(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||j,t[j]=t[j]||{}}function Be(){return{traceId:Ce(),spanId:Ce().substring(16)}}const je=1e3;function Ge(){return Date.now()/je}const qe=function(){const{performance:e}=G;if(!e||!e.now)return Ge;const t=Date.now()-e.now(),n=null==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/je}();let Ye;const Ke=(()=>{const{performance:e}=G;if(!e||!e.now)return void(Ye="none");const t=36e5,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,a=i=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}const Je="_sentrySpan";function Ze(e,t){t?be(e,Je,t):delete e[Je]}function Xe(e){return e[Je]}class et{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=Be()}clone(){const e=new et;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,Ze(e,Xe(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Qe(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"==typeof e?e(this):e,[n,r]=t instanceof tt?[t.getScopeData(),t.getRequestSession()]:oe(t)?[e,e.requestSession]:[],{tags:i,extra:a,user:o,contexts:s,level:c,fingerprint:l=[],propagationContext:u}=n||{};return this._tags={...this._tags,...i},this._extra={...this._extra,...a},this._contexts={...this._contexts,...s},o&&Object.keys(o).length&&(this._user=o),c&&(this._level=c),l.length&&(this._fingerprint=l),u&&(this._propagationContext=u),r&&(this._requestSession=r),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,Ze(this,void 0),this._attachments=[],this._propagationContext=Be(),this._notifyScopeListeners(),this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const r={timestamp:Ge(),...e},i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>n?i.slice(-n):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Xe(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t&&t.event_id?t.event_id:Ce();if(!this._client)return J.warn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){const r=n&&n.event_id?n.event_id:Ce();if(!this._client)return J.warn("No client configured on scope - will not capture message!"),r;const i=new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:Ce();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(J.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}}const tt=et;class nt{constructor(e,t){let n,r;n=e||new tt,r=t||new tt,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){const t=this._pushScope();let n;try{n=e(t)}catch(e){throw this._popScope(),e}return ce(n)?n.then((e=>(this._popScope(),e)),(e=>{throw this._popScope(),e})):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:e}),e}_popScope(){return!(this.getStack().length<=1||!this.getStack().pop())}}function rt(){const e=We(Ue());return e.stack=e.stack||new nt(q("defaultCurrentScope",(()=>new tt)),q("defaultIsolationScope",(()=>new tt)))}function it(e){return rt().withScope(e)}function at(e,t){const n=rt();return n.withScope((()=>(n.getStackTop().scope=e,t(e))))}function ot(e){return rt().withScope((()=>e(rt().getIsolationScope())))}function st(e){const t=We(e);return t.acs?t.acs:{withIsolationScope:ot,withScope:it,withSetScope:at,withSetIsolationScope:(e,t)=>ot(t),getCurrentScope:()=>rt().getScope(),getIsolationScope:()=>rt().getIsolationScope()}}function ct(){return st(Ue()).getCurrentScope()}function lt(){return st(Ue()).getIsolationScope()}function ut(){return ct().getClient()}let dt;const pt=new WeakMap,ht=()=>({name:"FunctionToString",setupOnce(){dt=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=ye(this),n=pt.has(ut())&&void 0!==t?t:this;return dt.apply(n,e)}}catch(e){}},setup(e){pt.set(e,!0)}}),mt=50,gt="?",ft=/\(error: (.*)\)/,_t=/captureMessage|captureException/;function vt(...e){const t=e.sort(((e,t)=>e[0]-t[0])).map((e=>e[1]));return(e,n=0,r=0)=>{const i=[],a=e.split("\n");for(let e=n;e1024)continue;const o=ft.test(n)?n.replace(ft,"$1"):n;if(!o.match(/\S*Error: /)){for(const e of t){const t=e(o);if(t){i.push(t);break}}if(i.length>=mt+r)break}}return function(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop(),t.reverse(),_t.test(t[t.length-1].function||"")&&(t.pop(),_t.test(t[t.length-1].function||"")&&t.pop()),t.slice(0,mt).map((e=>({...e,filename:e.filename||t[t.length-1].filename,function:e.function||gt})))}(i.slice(r))}}const bt="";function wt(e){try{return e&&"function"==typeof e&&e.name||bt}catch(e){return bt}}function yt(e){const t=e.exception;if(t){const e=[];try{return t.values.forEach((t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)})),e}catch(e){return}}}const St=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{if(function(e,t){return!!t&&(!!function(e,t){const n=e.message,r=t.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!kt(e,t)&&!!Et(e,t))))}(e,t)||!!function(e,t){const n=Tt(t),r=Tt(e);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!kt(e,t)&&!!Et(e,t)))}(e,t))}(t,e))return Me&&J.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}};function Et(e,t){let n=yt(e),r=yt(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let e=0;en?Nt(e,t-1,n):r;var i}function At(e,t,n=1/0,r=1/0,i=function(){const e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e=r){u[e]="[MaxProperties ~]";break}const t=p[e];u[e]=At(e,t,c-1,r,i),d++}return o(t),u}var It;function Dt(e){return new Pt((t=>{t(e)}))}function Ot(e){return new Pt(((t,n)=>{n(e)}))}!function(e){e[e.PENDING=0]="PENDING",e[e.RESOLVED=1]="RESOLVED",e[e.REJECTED=2]="REJECTED"}(It||(It={}));class Pt{constructor(e){Pt.prototype.__init.call(this),Pt.prototype.__init2.call(this),Pt.prototype.__init3.call(this),Pt.prototype.__init4.call(this),this._state=It.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new Pt(((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()}))}catch(e){return this.then((e=>e),e)}finally(e){return new Pt(((t,n)=>{let r,i;return this.then((t=>{i=!1,r=t,e&&e()}),(t=>{i=!0,r=t,e&&e()})).then((()=>{i?n(r):t(r)}))}))}__init(){this._resolve=e=>{this._setResult(It.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(It.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{this._state===It.PENDING&&(ce(t)?t.then(this._resolve,this._reject):(this._state=e,this._value=t,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===It.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===It.RESOLVED&&e[1](this._value),this._state===It.REJECTED&&e[2](this._value),e[0]=!0)}))}}}function Mt(e,t,n,r=0){return new Pt(((i,a)=>{const o=e[r];if(null===t||"function"!=typeof o)i(t);else{const s=o({...t},n);Me&&o.id&&null===s&&J.log(`Event processor "${o.id}" dropped event`),ce(s)?s.then((t=>Mt(e,t,n,r+1).then(i))).then(null,a):Mt(e,s,n,r+1).then(i).then(null,a)}}))}const Rt="sentry.source",$t="sentry.sample_rate",Lt="sentry.op",zt="sentry.origin",Ft="sentry.idle_span_finish_reason",Vt="baggage",Ht="sentry-",Ut=/^sentry-/,Wt=8192;function Bt(e){if(e)return function(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce(((e,[t,n],r)=>{const i=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,a=0===r?i:`${e},${i}`;return a.length>Wt?(B&&J.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):a}),"")}(Object.entries(e).reduce(((e,[t,n])=>(n&&(e[`${Ht}${t}`]=n),e)),{}))}function jt(e){return e.split(",").map((e=>e.split("=").map((e=>decodeURIComponent(e.trim()))))).reduce(((e,[t,n])=>(e[t]=n,e)),{})}const Gt=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function qt(e,t){const n=function(e){if(!e)return;const t=e.match(Gt);if(!t)return;let n;return"1"===t[3]?n=!0:"0"===t[3]&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}(e),r=function(e){const t=function(e){if(e&&(re(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce(((e,t)=>{const n=jt(t);for(const t of Object.keys(n))e[t]=n[t];return e}),{}):jt(e)}(e);if(!t)return;const n=Object.entries(t).reduce(((e,[t,n])=>(t.match(Ut)&&(e[t.slice(Ht.length)]=n),e)),{});return Object.keys(n).length>0?n:void 0}(t),{traceId:i,parentSpanId:a,parentSampled:o}=n||{};return n?{traceId:i||Ce(),parentSpanId:a||Ce().substring(16),spanId:Ce().substring(16),sampled:o,dsc:r||{}}:{traceId:i||Ce(),spanId:Ce().substring(16)}}function Yt(e=Ce(),t=Ce().substring(16),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${e}-${t}${r}`}const Kt="_sentryMetrics";function Qt(e){const t=e[Kt];if(!t)return;const n={};for(const[,[e,r]]of t)n[e]||(n[e]=[]),n[e].push(Te(r));return n}const Jt=0,Zt=1,Xt=2;function en(e,t){e.setAttribute("http.response.status_code",t);const n=function(e){if(e<400&&e>=100)return{code:Zt};if(e>=400&&e<500)switch(e){case 401:return{code:Xt,message:"unauthenticated"};case 403:return{code:Xt,message:"permission_denied"};case 404:return{code:Xt,message:"not_found"};case 409:return{code:Xt,message:"already_exists"};case 413:return{code:Xt,message:"failed_precondition"};case 429:return{code:Xt,message:"resource_exhausted"};case 499:return{code:Xt,message:"cancelled"};default:return{code:Xt,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:Xt,message:"unimplemented"};case 503:return{code:Xt,message:"unavailable"};case 504:return{code:Xt,message:"deadline_exceeded"};default:return{code:Xt,message:"internal_error"}}return{code:Xt,message:"unknown_error"}}(t);"unknown_error"!==n.message&&e.setStatus(n)}const tn=1;function nn(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:a,status:o,origin:s}=cn(e);return Te({parent_span_id:a,span_id:t,trace_id:n,data:r,op:i,status:o,origin:s})}function rn(e){const{spanId:t,traceId:n}=e.spanContext(),{parent_span_id:r}=cn(e);return Te({parent_span_id:r,span_id:t,trace_id:n})}function an(e){const{traceId:t,spanId:n}=e.spanContext();return Yt(t,n,ln(e))}function on(e){return"number"==typeof e?sn(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?sn(e.getTime()):qe()}function sn(e){return e>9999999999?e/1e3:e}function cn(e){if(function(e){return"function"==typeof e.getSpanJSON}(e))return e.getSpanJSON();try{const{spanId:t,traceId:n}=e.spanContext();if(function(e){const t=e;return!!(t.attributes&&t.startTime&&t.name&&t.endTime&&t.status)}(e)){const{attributes:r,startTime:i,name:a,endTime:o,parentSpanId:s,status:c}=e;return Te({span_id:t,trace_id:n,data:r,description:a,parent_span_id:s,start_timestamp:on(i),timestamp:on(o)||void 0,status:un(c),op:r[Lt],origin:r[zt],_metrics_summary:Qt(e)})}return{span_id:t,trace_id:n}}catch(e){return{}}}function ln(e){const{traceFlags:t}=e.spanContext();return t===tn}function un(e){if(e&&e.code!==Jt)return e.code===Zt?"ok":e.message||"unknown_error"}const dn="_sentryChildSpans",pn="_sentryRootSpan";function hn(e,t){const n=e[pn]||e;be(t,pn,n),e[dn]?e[dn].add(t):be(e,dn,new Set([t]))}function mn(e){const t=new Set;return function e(n){if(!t.has(n)&&ln(n)){t.add(n);const r=n[dn]?Array.from(n[dn]):[];for(const t of r)e(t)}}(e),Array.from(t)}function gn(e){return e[pn]||e}function fn(){const e=st(Ue());return e.getActiveSpan?e.getActiveSpan():Xe(ct())}const vn="_frozenDsc";function bn(e,t){be(e,vn,t)}function wn(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i=Te({environment:n.environment||xt,release:n.release,public_key:r,trace_id:e});return t.emit("createDsc",i),i}function yn(e){const t=ut();if(!t)return{};const n=wn(cn(e).trace_id||"",t),r=gn(e);if(!r)return n;const i=r[vn];if(i)return i;const a=cn(r),o=a.data||{},s=o[$t];null!=s&&(n.sample_rate=`${s}`);const c=o[Rt];return c&&"url"!==c&&(n.transaction=a.description),n.sampled=String(ln(r)),t.emit("createDsc",n),n}function Sn(e,t){const{extra:n,tags:r,user:i,contexts:a,level:o,sdkProcessingMetadata:s,breadcrumbs:c,fingerprint:l,eventProcessors:u,attachments:d,propagationContext:p,transactionName:h,span:m}=t;En(e,"extra",n),En(e,"tags",r),En(e,"user",i),En(e,"contexts",a),En(e,"sdkProcessingMetadata",s),o&&(e.level=o),h&&(e.transactionName=h),m&&(e.span=m),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),l.length&&(e.fingerprint=[...e.fingerprint,...l]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...p}}function En(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[t][r]=n[r])}}function kn(e,t,n,r,i,a){const{normalizeDepth:o=3,normalizeMaxBreadth:s=1e3}=e,c={...t,event_id:t.event_id||n.event_id||Ce(),timestamp:t.timestamp||Ge()},l=n.integrations||e.integrations.map((e=>e.name));!function(e,t){const{environment:n,release:r,dist:i,maxValueLength:a=250}=t;"environment"in e||(e.environment="environment"in t?n:xt),void 0===e.release&&void 0!==r&&(e.release=r),void 0===e.dist&&void 0!==i&&(e.dist=i),e.message&&(e.message=ge(e.message,a));const o=e.exception&&e.exception.values&&e.exception.values[0];o&&o.value&&(o.value=ge(o.value,a));const s=e.request;s&&s.url&&(s.url=ge(s.url,a))}(c,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(c,l),void 0===t.type&&function(e,t){const n=G._sentryDebugIds;if(!n)return;let r;const i=Tn.get(t);i?r=i:(r=new Map,Tn.set(t,r));const a=Object.keys(n).reduce(((e,i)=>{let a;const o=r.get(i);o?a=o:(a=t(i),r.set(i,a));for(let t=a.length-1;t>=0;t--){const r=a[t];if(r.filename){e[r.filename]=n[i];break}}return e}),{});try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.filename&&(e.debug_id=a[e.filename])}))}))}catch(e){}}(c,e.stackParser);const u=function(e,t){if(!t)return e;const n=e?e.clone():new tt;return n.update(t),n}(r,n.captureContext);n.mechanism&&De(c,n.mechanism);const d=i?i.getEventProcessors():[],p=q("globalScope",(()=>new tt)).getScopeData();a&&Sn(p,a.getScopeData()),u&&Sn(p,u.getScopeData());const h=[...n.attachments||[],...p.attachments];return h.length&&(n.attachments=h),function(e,t){const{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:a}=t;!function(e,t){const{extra:n,tags:r,user:i,contexts:a,level:o,transactionName:s}=t,c=Te(n);c&&Object.keys(c).length&&(e.extra={...c,...e.extra});const l=Te(r);l&&Object.keys(l).length&&(e.tags={...l,...e.tags});const u=Te(i);u&&Object.keys(u).length&&(e.user={...u,...e.user});const d=Te(a);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts}),o&&(e.level=o),s&&"transaction"!==e.type&&(e.transaction=s)}(e,t),r&&function(e,t){e.contexts={trace:rn(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:yn(t),...e.sdkProcessingMetadata};const n=cn(gn(t)).description;n&&!e.transaction&&"transaction"===e.type&&(e.transaction=n)}(e,r),function(e,t){e.fingerprint=e.fingerprint?Pe(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,i),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,a)}(c,p),Mt([...d,...p.eventProcessors],c,n).then((e=>(e&&function(e){const t={};try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)}))}))}catch(e){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.keys(t).forEach((e=>{n.push({type:"sourcemap",code_file:e,debug_id:t[e]})}))}(e),"number"==typeof o&&o>0?function(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>({...e,...e.data&&{data:Ct(e.data,t,n)}})))},...e.user&&{user:Ct(e.user,t,n)},...e.contexts&&{contexts:Ct(e.contexts,t,n)},...e.extra&&{extra:Ct(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=Ct(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map((e=>({...e,...e.data&&{data:Ct(e.data,t,n)}})))),r}(e,o,s):e)))}const Tn=new WeakMap;const xn=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function Cn(e,t){return ct().captureEvent(e,t)}function Nn(e){const t=ut(),n=lt(),r=ct(),{release:i,environment:a=xt}=t&&t.getOptions()||{},{userAgent:o}=G.navigator||{},s=function(e){const t=qe(),n={sid:Ce(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return Te({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)};return e&&Qe(n,e),n}({release:i,environment:a,user:r.getUser()||n.getUser(),...o&&{userAgent:o},...e}),c=n.getSession();return c&&"ok"===c.status&&Qe(c,{status:"exited"}),An(),n.setSession(s),r.setSession(s),s}function An(){const e=lt(),t=ct(),n=t.getSession()||e.getSession();n&&function(e,t){let n={};"ok"===e.status&&(n={status:"exited"}),Qe(e,n)}(n),In(),e.setSession(),t.setSession()}function In(){const e=lt(),t=ct(),n=ut(),r=t.getSession()||e.getSession();r&&n&&n.captureSession(r)}function Dn(e=!1){e?An():In()}const On=G;function Pn(){if(!("fetch"in On))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function Mn(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}const Rn="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,$n="8.9.2",Ln=globalThis;function zn(e,t,n){const r=n||Ln,i=r.__SENTRY__=r.__SENTRY__||{},a=i[$n]=i[$n]||{};return a[e]||(a[e]=t())}const Fn=["debug","info","warn","error","log","assert","trace"],Vn={},Hn=function(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return Rn?Fn.forEach((n=>{t[n]=(...t)=>{e&&function(e){if(!("console"in Ln))return e();const t=Ln.console,n={},r=Object.keys(Vn);r.forEach((e=>{const r=Vn[e];n[e]=t[e],t[e]=r}));try{return e()}finally{r.forEach((e=>{t[e]=n[e]}))}}((()=>{Ln.console[n](`Sentry Logger [${n}]:`,...t)}))}})):Fn.forEach((e=>{t[e]=()=>{}})),t}(),Un="";function Wn(e){try{return e&&"function"==typeof e&&e.name||Un}catch(e){return Un}}const Bn={},jn={};function Gn(e,t){Bn[e]=Bn[e]||[],Bn[e].push(t)}function qn(e,t){jn[e]||(t(),jn[e]=!0)}function Yn(e,t){const n=e&&Bn[e];if(n)for(const r of n)try{r(t)}catch(t){Rn&&Hn.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${Wn(r)}\nError:`,t)}}const Kn=Ln,Qn=Object.prototype.toString;function Jn(e,t){return Qn.call(e)===`[object ${t}]`}function Zn(e){return Jn(e,"String")}function Xn(e){return Jn(e,"Object")}function er(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);"function"==typeof i&&function(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,tr(e,"__sentry_original__",t)}catch(e){}}(i,r),e[t]=i}function tr(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){Rn&&Hn.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function nr(e){return rr(e,new Map)}function rr(e,t){if(function(e){if(!Xn(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}(e)){const n=t.get(e);if(void 0!==n)return n;const r={};t.set(e,r);for(const n of Object.keys(e))void 0!==e[n]&&(r[n]=rr(e[n],t));return r}if(Array.isArray(e)){const n=t.get(e);if(void 0!==n)return n;const r=[];return t.set(e,r),e.forEach((e=>{r.push(rr(e,t))})),r}return e}const ir=Ln;let ar;function or(e){const t="history";Gn(t,e),qn(t,sr)}function sr(){if(!function(){const e=Kn.chrome,t=e&&e.app&&e.app.runtime,n="history"in Kn&&!!Kn.history.pushState&&!!Kn.history.replaceState;return!t&&n}())return;const e=ir.onpopstate;function t(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const e=ar,t=String(n);ar=t,Yn("history",{from:e,to:t})}return e.apply(this,t)}}ir.onpopstate=function(...t){const n=ir.location.href,r=ar;if(ar=n,Yn("history",{from:r,to:n}),e)try{return e.apply(this,t)}catch(e){}},er(ir.history,"pushState",t),er(ir.history,"replaceState",t)}const cr=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function lr(e,t=!1){const{host:n,path:r,pass:i,port:a,projectId:o,protocol:s,publicKey:c}=e;return`${s}://${c}${t&&i?`:${i}`:""}@${n}${a?`:${a}`:""}/${r?`${r}/`:r}${o}`}function ur(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function dr(e,t=[]){return[e,t]}function pr(e,t){const[n,r]=e;return[n,[...r,t]]}function hr(e,t){const n=e[1];for(const e of n)if(t(e,e[0].type))return!0;return!1}function mr(e){return G.__SENTRY__&&G.__SENTRY__.encodePolyfill?G.__SENTRY__.encodePolyfill(e):(new TextEncoder).encode(e)}function gr(e){const[t,n]=e;let r=JSON.stringify(t);function i(e){"string"==typeof r?r="string"==typeof e?r+e:[mr(r),e]:r.push("string"==typeof e?mr(e):e)}for(const e of n){const[t,n]=e;if(i(`\n${JSON.stringify(t)}\n`),"string"==typeof n||n instanceof Uint8Array)i(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify(Ct(n))}i(e)}}return"string"==typeof r?r:function(e){const t=e.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(t);let r=0;for(const t of e)n.set(t,r),r+=t.length;return n}(r)}function fr(e){return[{type:"span"},e]}function _r(e){const t="string"==typeof e.data?mr(e.data):e.data;return[Te({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}const vr={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function br(e){return vr[e]}function wr(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}class yr extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}const Sr="7";function Er(e,t,n){return t||`${function(e){return`${function(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}(e)}${e.projectId}/envelope/`}(e)}?${function(e,t){return n={sentry_key:e.publicKey,sentry_version:Sr,...t&&{sentry_client:`${t.name}/${t.version}`}},Object.keys(n).map((e=>`${encodeURIComponent(e)}=${encodeURIComponent(n[e])}`)).join("&");var n}(e,n)}`}function kr(e){if("boolean"==typeof e)return Number(e);const t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t)||t<0||t>1))return t;Me&&J.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`)}const Tr="Not capturing exception because it's already been captured.";class xr{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=function(e){const t="string"==typeof e?function(e){const t=cr.exec(e);if(!t)return void Q((()=>{console.error(`Invalid Sentry Dsn: ${e}`)}));const[n,r,i="",a,o="",s]=t.slice(1);let c="",l=s;const u=l.split("/");if(u.length>1&&(c=u.slice(0,-1).join("/"),l=u.pop()),l){const e=l.match(/^\d+/);e&&(l=e[0])}return ur({host:a,pass:i,path:c,projectId:l,port:o,protocol:n,publicKey:r})}(e):ur(e);if(t&&function(e){if(!B)return!0;const{port:t,projectId:n,protocol:r}=e;return!(["protocol","publicKey","host","projectId"].find((t=>!e[t]&&(J.error(`Invalid Sentry Dsn: ${t} missing`),!0)))||(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(r)?t&&isNaN(parseInt(t,10))&&(J.error(`Invalid Sentry Dsn: Invalid port ${t}`),1):(J.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),1):(J.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(t))return t}(e.dsn):Me&&J.warn("No DSN provided, client will not send events."),this._dsn){const t=Er(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,t,n){const r=Ce();if(Oe(e))return Me&&J.log(Tr),r;const i={event_id:r,...t};return this._process(this.eventFromException(e,i).then((e=>this._captureEvent(e,i,n)))),i.event_id}captureMessage(e,t,n,r){const i={event_id:Ce(),...n},a=ie(e)?e:String(e),o=ae(e)?this.eventFromMessage(a,t,i):this.eventFromException(e,i);return this._process(o.then((e=>this._captureEvent(e,i,r)))),i.event_id}captureEvent(e,t,n){const r=Ce();if(t&&t.originalException&&Oe(t.originalException))return Me&&J.log(Tr),r;const i={event_id:r,...t},a=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,i,a||n)),i.event_id}captureSession(e){"string"!=typeof e.release?Me&&J.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),Qe(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const t=this._transport;return t?(this.emit("flush"),this._isClientDoneProcessing(e).then((n=>t.flush(e).then((e=>n&&e))))):Dt(!0)}close(e){return this.flush(e).then((e=>(this.getOptions().enabled=!1,this.emit("close"),e)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){const t=this._integrations[e.name];ze(this,e,this._integrations),t||Le(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=function(e,t,n,r){const i=wr(n),a=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]])}(e,n&&n.sdk);const o=function(e,t,n,r){const i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:lr(r)},...i&&{trace:Te({...i})}}}(e,i,r,t);return delete e.sdkProcessingMetadata,dr(o,[[{type:a},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(const e of t.attachments||[])n=pr(n,_r(e));const r=this.sendEnvelope(n);r&&r.then((t=>this.emit("afterSendEvent",e,t)),null)}sendSession(e){const t=function(e,t,n,r){const i=wr(n);return dr({sent_at:(new Date).toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:lr(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(t)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){const n=`${e}:${t}`;Me&&J.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}on(e,t){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(t)}emit(e,...t){this._hooks[e]&&this._hooks[e].forEach((e=>e(...t)))}sendEnvelope(e){return this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport?this._transport.send(e).then(null,(e=>(Me&&J.error("Error while sending event:",e),e))):(Me&&J.error("Transport disabled"),Dt({}))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=function(e,t){const n={};return t.forEach((t=>{t&&ze(e,t,n)})),n}(this,e),Le(this,e)}_updateSessionFromEvent(e,t){let n=!1,r=!1;const i=t.exception&&t.exception.values;if(i){r=!0;for(const e of i){const t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}}const a="ok"===e.status;(a&&0===e.errors||a&&n)&&(Qe(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new Pt((t=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r=lt()){const i=this.getOptions(),a=Object.keys(this._integrations);return!t.integrations&&a.length>0&&(t.integrations=a),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),kn(i,e,t,n,this,r).then((e=>{if(null===e)return e;const t={...r.getPropagationContext(),...n?n.getPropagationContext():void 0};if((!e.contexts||!e.contexts.trace)&&t){const{traceId:n,spanId:r,parentSpanId:i,dsc:a}=t;e.contexts={trace:Te({trace_id:n,span_id:r,parent_span_id:i}),...e.contexts};const o=a||wn(n,this);e.sdkProcessingMetadata={dynamicSamplingContext:o,...e.sdkProcessingMetadata}}return e}))}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then((e=>e.event_id),(e=>{if(Me){const t=e;"log"===t.logLevel?J.log(t.message):J.warn(t)}}))}_processEvent(e,t,n){const r=this.getOptions(),{sampleRate:i}=r,a=Nr(e),o=Cr(e),s=e.type||"error",c=`before send for type \`${s}\``,l=void 0===i?void 0:kr(i);if(o&&"number"==typeof l&&Math.random()>l)return this.recordDroppedEvent("sample_rate","error",e),Ot(new yr(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));const u="replay_event"===s?"replay":s,d=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,n,d).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",u,e),new yr("An event processor returned `null`, will not send event.","log");if(t.data&&!0===t.data.__sentry__)return n;const i=function(e,t,n){const{beforeSend:r,beforeSendTransaction:i,beforeSendSpan:a}=e;if(Cr(t)&&r)return r(t,n);if(Nr(t)){if(t.spans&&a){const e=[];for(const n of t.spans){const t=a(n);t&&e.push(t)}t.spans=e}if(i)return i(t,n)}return t}(r,n,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if(ce(e))return e.then((e=>{if(!oe(e)&&null!==e)throw new yr(n);return e}),(e=>{throw new yr(`${t} rejected with ${e}`)}));if(!oe(e)&&null!==e)throw new yr(n);return e}(i,c)})).then((r=>{if(null===r)throw this.recordDroppedEvent("before_send",u,e),new yr(`${c} returned \`null\`, will not send event.`,"log");const i=n&&n.getSession();!a&&i&&this._updateSessionFromEvent(i,r);const o=r.transaction_info;if(a&&o&&r.transaction!==e.transaction){const e="custom";r.transaction_info={...o,source:e}}return this.sendEvent(r,t),r})).then(null,(e=>{if(e instanceof yr)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new yr(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)}))}_process(e){this._numProcessing++,e.then((e=>(this._numProcessing--,e)),(e=>(this._numProcessing--,e)))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.keys(e).map((t=>{const[n,r]=t.split(":");return{reason:n,category:r,quantity:e[t]}}))}}function Cr(e){return void 0===e.type}function Nr(e){return"transaction"===e.type}const Ar="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function Ir(e,t){const n=Or(e,t),r={type:t&&t.name,value:Mr(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function Dr(e,t){return{exception:{values:[Ir(e,t)]}}}function Or(e,t){const n=t.stacktrace||t.stack||"",r=function(e){return e&&Pr.test(e.message)?1:0}(t),i=function(e){return"number"==typeof e.framesToPop?e.framesToPop:0}(t);try{return e(n,r,i)}catch(e){}return[]}const Pr=/Minified React error #\d+;/i;function Mr(e){const t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function Rr(e,t,n,r,i){let a;if(te(t)&&t.error)return Dr(e,t.error);if(ne(t)||ee(t,"DOMException")){const i=t;if("stack"in t)a=Dr(e,t);else{const t=i.name||(ne(i)?"DOMError":"DOMException"),o=i.message?`${t}: ${i.message}`:t;a=$r(e,o,n,r),Ie(a,o)}return"code"in i&&(a.tags={...a.tags,"DOMException.code":`${i.code}`}),a}return X(t)?Dr(e,t):oe(t)||se(t)?(a=function(e,t,n,r){const i=ut(),a=i&&i.getOptions().normalizeDepth,o=function(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}(t),s={__serialized__:Nt(t,a)};if(o)return{exception:{values:[Ir(e,o)]},extra:s};const c={exception:{values:[{type:se(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:Lr(t,{isUnhandledRejection:r})}]},extra:s};if(n){const t=Or(e,n);t.length&&(c.exception.values[0].stacktrace={frames:t})}return c}(e,t,n,i),De(a,{synthetic:!0}),a):(a=$r(e,t,n,r),Ie(a,`${t}`,void 0),De(a,{synthetic:!0}),a)}function $r(e,t,n,r){const i={};if(r&&n){const r=Or(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]})}if(ie(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}function Lr(e,{isUnhandledRejection:t}){const n=function(e,t=40){const n=Object.keys(Se(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return ge(n[0],t);for(let e=n.length;e>0;e--){const r=n.slice(0,e).join(", ");if(!(r.length>t))return e===n.length?r:ge(r,t)}return""}(e),r=t?"promise rejection":"exception";return te(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:se(e)?`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}const zr=G;let Fr=0;function Vr(){return Fr>0}function Hr(e,t={},n){if("function"!=typeof e)return e;try{const t=e.__sentry_wrapped__;if(t)return t;if(ye(e))return e}catch(t){return e}const r=function(){const r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);const i=r.map((e=>Hr(e,t)));return e.apply(this,i)}catch(e){throw Fr++,setTimeout((()=>{Fr--})),function(...e){const t=st(Ue());if(2===e.length){const[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}t.withScope(e[0])}((n=>{var i;n.addEventProcessor((e=>(t.mechanism&&(Ie(e,void 0,void 0),De(e,t.mechanism)),e.extra={...e.extra,arguments:r},e))),i=e,ct().captureException(i,function(e){if(e)return function(e){return e instanceof tt||"function"==typeof e}(e)||function(e){return Object.keys(e).some((e=>xn.includes(e)))}(e)?{captureContext:e}:e}(undefined))})),e}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch(e){}we(r,e),be(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch(e){}return r}class Ur extends xr{constructor(e){const t={parentSpanIsAlwaysRootSpan:!0,...e};!function(e,t,n=[t],r="npm"){const i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:n.map((e=>({name:`${r}:@sentry/${e}`,version:j}))),version:j}),e._metadata=i}(t,"browser",["browser"],zr.SENTRY_SDK_SOURCE||"npm"),super(t),t.sendClientReports&&zr.document&&zr.document.addEventListener("visibilitychange",(()=>{"hidden"===zr.document.visibilityState&&this._flushOutcomes()}))}eventFromException(e,t){return function(e,t,n,r){const i=Rr(e,t,n&&n.syntheticException||void 0,r);return De(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),Dt(i)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,i){const a=$r(e,t,r&&r.syntheticException||void 0,i);return a.level=n,r&&r.event_id&&(a.event_id=r.event_id),Dt(a)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled())return void(Ar&&J.warn("SDK not enabled, will not capture user feedback."));const t=function(e,{metadata:t,tunnel:n,dsn:r}){const i={event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:lr(r)}},a=function(e){return[{type:"user_report"},e]}(e);return dr(i,[a])}(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}_flushOutcomes(){const e=this._clearOutcomes();if(0===e.length)return void(Ar&&J.log("No outcomes to send"));if(!this._dsn)return void(Ar&&J.log("No dsn provided, will not send outcomes"));Ar&&J.log("Sending outcomes:",e);const t=(n=e,dr((r=this._options.tunnel&&lr(this._dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:Ge(),discarded_events:n}]]));var n,r;this.sendEnvelope(t)}}function Wr(){const e=Ln,t=e.crypto||e.msCrypto;let n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(e){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(e=>(e^(15&n())>>e/4).toString(16)))}const Br=1e3;let jr,Gr,qr;function Yr(){if(!ir.document)return;const e=Yn.bind(null,"dom"),t=Kr(e,!0);ir.document.addEventListener("click",t,!1),ir.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((t=>{const n=ir[t]&&ir[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(er(n,"addEventListener",(function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{const r=this,a=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},o=a[n]=a[n]||{refCount:0};if(!o.handler){const r=Kr(e);o.handler=r,t.call(this,n,r,i)}o.refCount++}catch(e){}return t.call(this,n,r,i)}})),er(n,"removeEventListener",(function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this,i=n.__sentry_instrumentation_handlers__||{},a=i[t];a&&(a.refCount--,a.refCount<=0&&(e.call(this,t,a.handler,r),a.handler=void 0,delete i[t]),0===Object.keys(i).length&&delete n.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}})))}))}function Kr(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(e){try{return e.target}catch(e){return null}}(n);if(function(e,t){return"keypress"===e&&(!t||!t.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,r))return;tr(n,"_sentryCaptured",!0),r&&!r._sentryId&&tr(r,"_sentryId",Wr());const i="keypress"===n.type?"input":n.type;(function(e){if(e.type!==Gr)return!1;try{if(!e.target||e.target._sentryId!==qr)return!1}catch(e){}return!0})(n)||(e({event:n,name:i,global:t}),Gr=n.type,qr=r?r._sentryId:void 0),clearTimeout(jr),jr=ir.setTimeout((()=>{qr=void 0,Gr=void 0}),Br)}}function Qr(){return Date.now()/1e3}const Jr=function(){const{performance:e}=Ln;if(!e||!e.now)return Qr;const t=Date.now()-e.now(),n=null==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/1e3}();let Zr;const Xr=(()=>{const{performance:e}=Ln;if(!e||!e.now)return void(Zr="none");const t=36e5,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,a=i{const e=this[ei];if(e&&4===this.readyState){try{e.status_code=this.status}catch(e){}Yn("xhr",{endTimestamp:1e3*Jr(),startTimestamp:n,xhr:this})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?er(this,"onreadystatechange",(function(e){return function(...t){return a(),e.apply(this,t)}})):this.addEventListener("readystatechange",a),er(this,"setRequestHeader",(function(e){return function(...t){const[n,r]=t,i=this[ei];return i&&Zn(n)&&Zn(r)&&(i.request_headers[n.toLowerCase()]=r),e.apply(this,t)}})),e.apply(this,t)}})),er(e,"send",(function(e){return function(...t){const n=this[ei];return n?(void 0!==t[0]&&(n.body=t[0]),Yn("xhr",{startTimestamp:1e3*Jr(),xhr:this}),e.apply(this,t)):e.apply(this,t)}}))}const ri=100;function ii(e,t){const n=ut(),r=lt();if(!n)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:a=ri}=n.getOptions();if(a<=0)return;const o={timestamp:Ge(),...e},s=i?Q((()=>i(o,t))):o;null!==s&&(n.emit&&n.emit("beforeAddBreadcrumb",s,t),r.addBreadcrumb(s,a))}const ai={},oi={};function si(e,t){ai[e]=ai[e]||[],ai[e].push(t)}function ci(e,t){oi[e]||(t(),oi[e]=!0)}function li(e,t){const n=e&&ai[e];if(n)for(const r of n)try{r(t)}catch(t){B&&J.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${wt(r)}\nError:`,t)}}function ui(){"console"in G&&Y.forEach((function(e){e in G.console&&ve(G.console,e,(function(t){return K[e]=t,function(...t){li("console",{args:t,level:e});const n=K[e];n&&n.apply(G.console,t)}}))}))}function di(e){const t="fetch";si(t,e),ci(t,pi)}function pi(){(function(){if("string"==typeof EdgeRuntime)return!0;if(!Pn())return!1;if(Mn(On.fetch))return!0;let e=!1;const t=On.document;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=Mn(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){B&&J.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e})()&&ve(G,"fetch",(function(e){return function(...t){const{method:n,url:r}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:mi(t),method:hi(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:mi(t),method:hi(t,"method")?String(t.method).toUpperCase():"GET"}}(t),i={args:t,fetchData:{method:n,url:r},startTimestamp:1e3*qe()};li("fetch",{...i});const a=(new Error).stack;return e.apply(G,t).then((e=>(li("fetch",{...i,endTimestamp:1e3*qe(),response:e}),e)),(e=>{throw li("fetch",{...i,endTimestamp:1e3*qe(),error:e}),X(e)&&void 0===e.stack&&(e.stack=a,be(e,"framesToPop",1)),e}))}}))}function hi(e,t){return!!e&&"object"==typeof e&&!!e[t]}function mi(e){return"string"==typeof e?e:e?hi(e,"url")?e.url:e.toString?e.toString():"":""}const gi=["fatal","error","warning","log","info","debug"];function fi(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}const _i=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n;t.console&&function(e){const t="console";si(t,e),ci(t,ui)}(function(e){return function(t){if(ut()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:(r=t.level,"warn"===r?"warning":gi.includes(r)?r:"log"),message:fe(t.args," ")};var r;if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${fe(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}ii(n,{input:t.args,level:t.level})}}(e)),t.dom&&(n=function(e,t){return function(n){if(ut()!==e)return;let r,i,a="object"==typeof t?t.serializeAttribute:void 0,o="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;o&&o>1024&&(Ar&&J.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${o} was configured. Sentry will use 1024 instead.`),o=1024),"string"==typeof a&&(a=[a]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;r=he(t,{keyAttrs:a,maxStringLength:o}),i=function(e){if(!de.HTMLElement)return null;let t=e;for(let e=0;e<5;e++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}(t)}catch(e){r=""}if(0===r.length)return;const s={category:`ui.${n.name}`,message:r};i&&(s.data={"ui.component_name":i}),ii(s,{event:n.event,name:n.name,global:n.global})}}(e,t.dom),Gn("dom",n),qn("dom",Yr)),t.xhr&&ti(function(e){return function(t){if(ut()!==e)return;const{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[ei];if(!n||!r||!i)return;const{method:a,url:o,status_code:s,body:c}=i;ii({category:"xhr",data:{method:a,url:o,status_code:s},type:"http"},{xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r})}}(e)),t.fetch&&di(function(e){return function(t){if(ut()!==e)return;const{startTimestamp:n,endTimestamp:r}=t;if(r&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error)ii({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args,startTimestamp:n,endTimestamp:r});else{const e=t.response;ii({category:"fetch",data:{...t.fetchData,status_code:e&&e.status},type:"http"},{input:t.args,response:e,startTimestamp:n,endTimestamp:r})}}}(e)),t.history&&or(function(e){return function(t){if(ut()!==e)return;let n=t.from,r=t.to;const i=fi(zr.location.href);let a=n?fi(n):void 0;const o=fi(r);a&&a.path||(a=i),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),ii({category:"navigation",data:{from:n,to:r}})}}(e)),t.sentry&&e.on("beforeSendEvent",function(e){return function(t){ut()===e&&ii({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:Ae(t)},{event:t})}}(e))}}},vi=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],bi=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&ve(zr,"setTimeout",wi),t.setInterval&&ve(zr,"setInterval",wi),t.requestAnimationFrame&&ve(zr,"requestAnimationFrame",yi),t.XMLHttpRequest&&"XMLHttpRequest"in zr&&ve(XMLHttpRequest.prototype,"send",Si);const e=t.eventTarget;e&&(Array.isArray(e)?e:vi).forEach(Ei)}}};function wi(e){return function(...t){const n=t[0];return t[0]=Hr(n,{mechanism:{data:{function:wt(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function yi(e){return function(t){return e.apply(this,[Hr(t,{mechanism:{data:{function:"requestAnimationFrame",handler:wt(e)},handled:!1,type:"instrument"}})])}}function Si(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((e=>{e in n&&"function"==typeof n[e]&&ve(n,e,(function(t){const n={mechanism:{data:{function:e,handler:wt(t)},handled:!1,type:"instrument"}},r=ye(t);return r&&(n.mechanism.data.handler=wt(r)),Hr(t,n)}))})),e.apply(this,t)}}function Ei(e){const t=zr,n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(ve(n,"addEventListener",(function(t){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=Hr(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:wt(r),target:e},handled:!1,type:"instrument"}}))}catch(e){}return t.apply(this,[n,Hr(r,{mechanism:{data:{function:"addEventListener",handler:wt(r),target:e},handled:!1,type:"instrument"}}),i])}})),ve(n,"removeEventListener",(function(e){return function(t,n,r){const i=n;try{const n=i&&i.__sentry_wrapped__;n&&e.call(this,t,n,r)}catch(e){}return e.call(this,t,i,r)}})))}let ki=null;function Ti(e){const t="error";si(t,e),ci(t,xi)}function xi(){ki=G.onerror,G.onerror=function(e,t,n,r,i){return li("error",{column:r,error:i,line:n,msg:e,url:t}),!(!ki||ki.__SENTRY_LOADER__)&&ki.apply(this,arguments)},G.onerror.__SENTRY_INSTRUMENTED__=!0}let Ci=null;function Ni(e){const t="unhandledrejection";si(t,e),ci(t,Ai)}function Ai(){Ci=G.onunhandledrejection,G.onunhandledrejection=function(e){return li("unhandledrejection",e),!(Ci&&!Ci.__SENTRY_LOADER__)||Ci.apply(this,arguments)},G.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const Ii=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(function(e){Ti((t=>{const{stackParser:n,attachStacktrace:r}=Oi();if(ut()!==e||Vr())return;const{msg:i,url:a,line:o,column:s,error:c}=t,l=function(e,t,n,r){const i=e.exception=e.exception||{},a=i.values=i.values||[],o=a[0]=a[0]||{},s=o.stacktrace=o.stacktrace||{},c=s.frames=s.frames||[],l=isNaN(parseInt(r,10))?void 0:r,u=isNaN(parseInt(n,10))?void 0:n,d=re(t)&&t.length>0?t:function(){try{return de.document.location.href}catch(e){return""}}();return 0===c.length&&c.push({colno:l,filename:d,function:gt,in_app:!0,lineno:u}),e}(Rr(n,c||i,void 0,r,!1),a,o,s);l.level="error",Cn(l,{originalException:c,mechanism:{handled:!1,type:"onerror"}})}))}(e),Di("onerror")),t.onunhandledrejection&&(function(e){Ni((t=>{const{stackParser:n,attachStacktrace:r}=Oi();if(ut()!==e||Vr())return;const i=function(e){if(ae(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}(t),a=ae(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:Rr(n,i,void 0,r,!0);a.level="error",Cn(a,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})}))}(e),Di("onunhandledrejection"))}}};function Di(e){Ar&&J.log(`Global Handler attached: ${e}`)}function Oi(){const e=ut();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const Pi=()=>({name:"HttpContext",preprocessEvent(e){if(!zr.navigator&&!zr.location&&!zr.document)return;const t=e.request&&e.request.url||zr.location&&zr.location.href,{referrer:n}=zr.document||{},{userAgent:r}=zr.navigator||{},i={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},a={...e.request,...t&&{url:t},headers:i};e.request=a}});function Mi(e,t,n=250,r,i,a,o){if(!(a.exception&&a.exception.values&&o&&le(o.originalException,Error)))return;const s=a.exception.values.length>0?a.exception.values[a.exception.values.length-1]:void 0;var c,l;s&&(a.exception.values=(c=Ri(e,t,i,o.originalException,r,a.exception.values,s,0),l=n,c.map((e=>(e.value&&(e.value=ge(e.value,l)),e)))))}function Ri(e,t,n,r,i,a,o,s){if(a.length>=n+1)return a;let c=[...a];if(le(r[i],Error)){$i(o,s);const a=e(t,r[i]),l=c.length;Li(a,i,l,s),c=Ri(e,t,n,r[i],i,[a,...c],a,l)}return Array.isArray(r.errors)&&r.errors.forEach(((r,a)=>{if(le(r,Error)){$i(o,s);const l=e(t,r),u=c.length;Li(l,`errors[${a}]`,u,s),c=Ri(e,t,n,r,i,[l,...c],l,u)}})),c}function $i(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function Li(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}const zi=(e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,i){const a=i.getOptions();Mi(Ir,a.stackParser,a.maxValueLength,n,t,e,r)}}};function Fi(e,t,n,r){const i={filename:e,function:""===t?gt:t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}const Vi=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Hi=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Ui=/\((\S*)(?::(\d+))(?::(\d+))\)/,Wi=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Bi=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,ji=vt([30,e=>{const t=Vi.exec(e);if(t){const[,e,n,r]=t;return Fi(e,gt,+n,+r)}const n=Hi.exec(e);if(n){if(n[2]&&0===n[2].indexOf("eval")){const e=Ui.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}const[e,t]=Gi(n[1]||gt,n[2]);return Fi(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],[50,e=>{const t=Wi.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=Bi.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||gt;return[n,e]=Gi(n,e),Fi(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),Gi=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:gt,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};const qi="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,Yi={};function Ki(e){Yi[e]=void 0}const Qi=6e4;const Ji=64;function Zi(e,t,n=function(e){const t=[];function n(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(r){if(!(void 0===e||t.lengthn(i))).then(null,(()=>n(i).then(null,(()=>{})))),i},drain:function(e){return new Pt(((n,r)=>{let i=t.length;if(!i)return n(!0);const a=setTimeout((()=>{e&&e>0&&n(!1)}),e);t.forEach((e=>{Dt(e).then((()=>{--i||(clearTimeout(a),n(!0))}),r)}))}))}}}(e.bufferSize||Ji)){let r={};return{send:function(i){const a=[];if(hr(i,((t,n)=>{const i=br(n);if(function(e,t,n=Date.now()){return function(e,t){return e[t]||e.all||0}(e,t)>n}(r,i)){const r=Xi(t,n);e.recordDroppedEvent("ratelimit_backoff",i,r)}else a.push(t)})),0===a.length)return Dt({});const o=dr(i[0],a),s=t=>{hr(o,((n,r)=>{const i=Xi(n,r);e.recordDroppedEvent(t,br(r),i)}))};return n.add((()=>t({body:gr(o)}).then((e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&Me&&J.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=function(e,{statusCode:t,headers:n},r=Date.now()){const i={...e},a=n&&n["x-sentry-rate-limits"],o=n&&n["retry-after"];if(a)for(const e of a.trim().split(",")){const[t,n,,,a]=e.split(":",5),o=parseInt(t,10),s=1e3*(isNaN(o)?60:o);if(n)for(const e of n.split(";"))"metric_bucket"===e&&a&&!a.split(";").includes("custom")||(i[e]=r+s);else i.all=r+s}else o?i.all=r+function(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${e}`);return isNaN(r)?Qi:r-t}(o,r):429===t&&(i.all=r+6e4);return i}(r,e),e)),(e=>{throw s("network_error"),e})))).then((e=>e),(e=>{if(e instanceof yr)return Me&&J.error("Skipped sending event because buffer is full."),s("queue_overflow"),Dt({});throw e}))},flush:e=>n.drain(e)}}function Xi(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}function ea(e,t=function(e){const t=Yi[e];if(t)return t;let n=ir[e];if((r=n)&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(r.toString()))return Yi[e]=n.bind(ir);var r;const i=ir.document;if(i&&"function"==typeof i.createElement)try{const t=i.createElement("iframe");t.hidden=!0,i.head.appendChild(t);const r=t.contentWindow;r&&r[e]&&(n=r[e]),i.head.removeChild(t)}catch(t){qi&&Hn.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n?Yi[e]=n.bind(ir):n}("fetch")){let n=0,r=0;return Zi(e,(function(i){const a=i.body.length;n+=a,r++;const o={body:i.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};if(!t)return Ki("fetch"),Ot("No fetch implementation available");try{return t(e.url,o).then((e=>(n-=a,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}})))}catch(e){return Ki("fetch"),n-=a,r--,Ot(e)}}))}function ta(e={}){const t=function(e={}){return{defaultIntegrations:[Ve(),ht(),bi(),_i(),Ii(),zi(),St(),Pi()],release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:zr.SENTRY_RELEASE&&zr.SENTRY_RELEASE.id?zr.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0,...e}}(e);if(function(){const e=zr[zr.chrome?"chrome":"browser"],t=e&&e.runtime&&e.runtime.id,n=zr.location&&zr.location.href||"",r=!!t&&zr===zr.top&&["chrome-extension:","moz-extension:","ms-browser-extension:"].some((e=>n.startsWith(`${e}//`)));return!!t&&!r}())return void Q((()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}));Ar&&(Pn()||J.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));const n={...t,stackParser:(r=t.stackParser||ji,Array.isArray(r)?vt(...r):r),integrations:$e(t),transport:t.transport||ea};var r;(function(e,t){!0===t.debug&&(Me?J.enable():Q((()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")}))),ct().update(t.initialScope);const n=new e(t);!function(e){ct().setClient(e)}(n),n.init()})(Ur,n),t.autoSessionTracking&&(void 0!==zr.document?(Nn({ignoreDuration:!0}),Dn(),or((({from:e,to:t})=>{void 0!==e&&e!==t&&(Nn({ignoreDuration:!0}),Dn())}))):Ar&&J.warn("Session tracking in non-browser environment with @sentry/browser is not supported."))}const na="8.9.2";function ra(){return ia(Ln),Ln}function ia(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||$n,t[$n]=t[$n]||{}}function aa(){return{traceId:Wr(),spanId:Wr().substring(16)}}const oa="_sentrySpan";function sa(e,t){t?tr(e,oa,t):delete e[oa]}function ca(e){return e[oa]}class la{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=aa()}clone(){const e=new la;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,sa(e,ca(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&function(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||Jr(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:Wr()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"==typeof e?e(this):e,[n,r]=t instanceof ua?[t.getScopeData(),t.getRequestSession()]:Xn(t)?[e,e.requestSession]:[],{tags:i,extra:a,user:o,contexts:s,level:c,fingerprint:l=[],propagationContext:u}=n||{};return this._tags={...this._tags,...i},this._extra={...this._extra,...a},this._contexts={...this._contexts,...s},o&&Object.keys(o).length&&(this._user=o),c&&(this._level=c),l.length&&(this._fingerprint=l),u&&(this._propagationContext=u),r&&(this._requestSession=r),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,sa(this,void 0),this._attachments=[],this._propagationContext=aa(),this._notifyScopeListeners(),this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const r={timestamp:Qr(),...e},i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>n?i.slice(-n):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:ca(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t&&t.event_id?t.event_id:Wr();if(!this._client)return Hn.warn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){const r=n&&n.event_id?n.event_id:Wr();if(!this._client)return Hn.warn("No client configured on scope - will not capture message!"),r;const i=new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:Wr();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(Hn.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}}const ua=la;class da{constructor(e,t){let n,r;n=e||new ua,r=t||new ua,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){const t=this._pushScope();let n;try{n=e(t)}catch(e){throw this._popScope(),e}return r=n,Boolean(r&&r.then&&"function"==typeof r.then)?n.then((e=>(this._popScope(),e)),(e=>{throw this._popScope(),e})):(this._popScope(),n);var r}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:e}),e}_popScope(){return!(this.getStack().length<=1||!this.getStack().pop())}}function pa(){const e=ia(ra());return e.stack=e.stack||new da(zn("defaultCurrentScope",(()=>new ua)),zn("defaultIsolationScope",(()=>new ua)))}function ha(e){return pa().withScope(e)}function ma(e,t){const n=pa();return n.withScope((()=>(n.getStackTop().scope=e,t(e))))}function ga(e){return pa().withScope((()=>e(pa().getIsolationScope())))}function fa(e){const t=ia(e);return t.acs?t.acs:{withIsolationScope:ga,withScope:ha,withSetScope:ma,withSetIsolationScope:(e,t)=>ga(t),getCurrentScope:()=>pa().getScope(),getIsolationScope:()=>pa().getIsolationScope()}}function _a(){return fa(ra()).getCurrentScope()}function va(){return _a().getClient()}const ba="_sentryMetrics";function wa(e){const t=e[ba];if(!t)return;const n={};for(const[,[e,r]]of t)n[e]||(n[e]=[]),n[e].push(nr(r));return n}const ya="sentry.source",Sa="sentry.sample_rate",Ea="sentry.op",ka="sentry.origin",Ta="sentry.measurement_unit",xa="sentry.measurement_value",Ca="sentry.exclusive_time",Na=0,Aa=1,Ia=1;function Da(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:a,status:o,origin:s}=Ma(e);return nr({parent_span_id:a,span_id:t,trace_id:n,data:r,op:i,status:o,origin:s})}function Oa(e){return"number"==typeof e?Pa(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?Pa(e.getTime()):Jr()}function Pa(e){return e>9999999999?e/1e3:e}function Ma(e){if(function(e){return"function"==typeof e.getSpanJSON}(e))return e.getSpanJSON();try{const{spanId:t,traceId:n}=e.spanContext();if(function(e){const t=e;return!!(t.attributes&&t.startTime&&t.name&&t.endTime&&t.status)}(e)){const{attributes:r,startTime:i,name:a,endTime:o,parentSpanId:s,status:c}=e;return nr({span_id:t,trace_id:n,data:r,description:a,parent_span_id:s,start_timestamp:Oa(i),timestamp:Oa(o)||void 0,status:$a(c),op:r[Ea],origin:r[ka],_metrics_summary:wa(e)})}return{span_id:t,trace_id:n}}catch(e){return{}}}function Ra(e){const{traceFlags:t}=e.spanContext();return t===Ia}function $a(e){if(e&&e.code!==Na)return e.code===Aa?"ok":e.message||"unknown_error"}const La="_sentryChildSpans",za="_sentryRootSpan";function Fa(e,t){const n=e[za]||e;tr(t,za,n),e[La]?e[La].add(t):tr(e,La,new Set([t]))}function Va(e){return e[za]||e}function Ha(){const e=fa(ra());return e.getActiveSpan?e.getActiveSpan():ca(_a())}function Ua(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=e||function(){const e=va();return e&&e.getOptions()}();return!!t&&(t.enableTracing||"tracesSampleRate"in t||"tracesSampler"in t)}const Wa="production",Ba="_frozenDsc";function ja(e,t){tr(e,Ba,t)}function Ga(e){const t=va();if(!t)return{};const n=function(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i=nr({environment:n.environment||Wa,release:n.release,public_key:r,trace_id:e});return t.emit("createDsc",i),i}(Ma(e).trace_id||"",t),r=Va(e);if(!r)return n;const i=r[Ba];if(i)return i;const a=Ma(r),o=a.data||{},s=o[Sa];null!=s&&(n.sample_rate=`${s}`);const c=o[ya];return c&&"url"!==c&&(n.transaction=a.description),n.sampled=String(Ra(r)),t.emit("createDsc",n),n}const qa="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;class Ya{constructor(e={}){this._traceId=e.traceId||Wr(),this._spanId=e.spanId||Wr().substring(16)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,n){return this}}function Ka(e,t=!1){const{host:n,path:r,pass:i,port:a,projectId:o,protocol:s,publicKey:c}=e;return`${s}://${c}${t&&i?`:${i}`:""}@${n}${a?`:${a}`:""}/${r?`${r}/`:r}${o}`}function Qa(e){return[{type:"span"},e]}function Ja(e){if(!e||0===e.length)return;const t={};return e.forEach((e=>{const n=e.attributes||{},r=n[Ta],i=n[xa];"string"==typeof r&&"number"==typeof i&&(t[e.name]={value:i,unit:r})})),t}const Za="_sentryScope",Xa="_sentryIsolationScope";function eo(e){return{scope:e[Za],isolationScope:e[Xa]}}class to{constructor(e={}){this._traceId=e.traceId||Wr(),this._spanId=e.spanId||Wr().substring(16),this._startTime=e.startTimestamp||Jr(),this._attributes={},this.setAttributes({[ka]:"manual",[Ea]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}spanContext(){const{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?Ia:0}}setAttribute(e,t){void 0===t?delete this._attributes[e]:this._attributes[e]=t}setAttributes(e){Object.keys(e).forEach((t=>this.setAttribute(t,e[t])))}updateStartTime(e){this._startTime=Oa(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this}end(e){this._endTime||(this._endTime=Oa(e),function(e){if(!qa)return;const{description:t="< unknown name >",op:n="< unknown op >"}=Ma(e),{spanId:r}=e.spanContext(),i=`[Tracing] Finishing "${n}" ${Va(e)===e?"root ":""}span "${t}" with ID ${r}`;Hn.log(i)}(this),this._onSpanEnded())}getSpanJSON(){return nr({data:this._attributes,description:this._name,op:this._attributes[Ea],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:$a(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[ka],_metrics_summary:wa(this),profile_id:this._attributes["sentry.profile_id"],exclusive_time:this._attributes[Ca],measurements:Ja(this._events),is_segment:this._isStandaloneSpan&&Va(this)===this||void 0,segment_id:this._isStandaloneSpan?Va(this).spanContext().spanId:void 0})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){qa&&Hn.log("[Tracing] Adding an event to span:",e);const r=no(t)?t:n||Jr(),i=no(t)?{}:t||{},a={name:e,time:Oa(r),attributes:i};return this._events.push(a),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const e=va();if(e&&e.emit("spanEnd",this),!this._isStandaloneSpan&&this!==Va(this))return;if(this._isStandaloneSpan)return void function(e){const t=va();if(!t)return;const n=e[1];if(!n||0===n.length)return void t.recordDroppedEvent("before_send","span");const r=t.getTransport();r&&r.send(e).then(null,(e=>{qa&&Hn.error("Error while sending span:",e)}))}(function(e,t){const n=Ga(e[0]),r=t&&t.getDsn(),i=t&&t.getOptions().tunnel,a={sent_at:(new Date).toISOString(),...function(e){return!!e.trace_id&&!!e.public_key}(n)&&{trace:n},...!!i&&r&&{dsn:Ka(r)}},o=t&&t.getOptions().beforeSendSpan,s=o?e=>o(Ma(e)):e=>Ma(e),c=[];for(const t of e){const e=s(t);e&&c.push(Qa(e))}return function(e,t=[]){return[e,t]}(a,c)}([this],e));const t=this._convertSpanToTransaction();t&&(eo(this).scope||_a()).captureEvent(t)}_convertSpanToTransaction(){if(!ro(Ma(this)))return;this._name||(qa&&Hn.warn("Transaction has no name, falling back to ``."),this._name="");const{scope:e,isolationScope:t}=eo(this),n=(e||_a()).getClient()||va();if(!0!==this._sampled)return qa&&Hn.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),void(n&&n.recordDroppedEvent("sample_rate","transaction"));const r=function(e){const t=new Set;return function e(n){if(!t.has(n)&&Ra(n)){t.add(n);const r=n[La]?Array.from(n[La]):[];for(const t of r)e(t)}}(e),Array.from(t)}(this).filter((e=>e!==this&&!function(e){return e instanceof to&&e.isStandaloneSpan()}(e))).map((e=>Ma(e))).filter(ro),i=this._attributes[ya],a={contexts:{trace:Da(this)},spans:r.length>1e3?r.sort(((e,t)=>e.start_timestamp-t.start_timestamp)).slice(0,1e3):r,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,...nr({dynamicSamplingContext:Ga(this)})},_metrics_summary:wa(this),...i&&{transaction_info:{source:i}}},o=Ja(this._events);return o&&Object.keys(o).length&&(qa&&Hn.log("[Measurements] Adding measurements to transaction event",JSON.stringify(o,void 0,2)),a.measurements=o),a}}function no(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function ro(e){return!!(e.start_timestamp&&e.timestamp&&e.span_id&&e.trace_id)}const io="__SENTRY_SUPPRESS_TRACING__";function ao(e){const t=oo();if(t.startInactiveSpan)return t.startInactiveSpan(e);const n=function(e){const t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const n={...t};return n.startTimestamp=Oa(e.startTime),delete n.startTime,n}return t}(e),r=e.scope||_a(),i=function(e){const t=ca(e);if(!t)return;const n=va();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?Va(t):t}(r);return e.onlyIfParent&&!i?new Ya:function({parentSpan:e,spanContext:t,forceTransaction:n,scope:r}){if(!Ua())return new Ya;const i=fa(ra()).getIsolationScope();let a;if(e&&!n)a=function(e,t,n){const{spanId:r,traceId:i}=e.spanContext(),a=!t.getScopeData().sdkProcessingMetadata[io]&&Ra(e),o=a?new to({...n,parentSpanId:r,traceId:i,sampled:a}):new Ya({traceId:i});Fa(e,o);const s=va();return s&&(s.emit("spanStart",o),n.endTimestamp&&s.emit("spanEnd",o)),o}(e,r,t),Fa(e,a);else if(e){const n=Ga(e),{traceId:i,spanId:o}=e.spanContext(),s=Ra(e);a=so({traceId:i,parentSpanId:o,...t},r,s),ja(a,n)}else{const{traceId:e,dsc:n,parentSpanId:o,sampled:s}={...i.getPropagationContext(),...r.getPropagationContext()};a=so({traceId:e,parentSpanId:o,...t},r,s),n&&ja(a,n)}return function(e){if(!qa)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=Ma(e),{spanId:i}=e.spanContext(),a=Ra(e),o=Va(e),s=o===e,c=`[Tracing] Starting ${a?"sampled":"unsampled"} ${s?"root ":""}span`,l=[`op: ${n}`,`name: ${t}`,`ID: ${i}`];if(r&&l.push(`parent ID: ${r}`),!s){const{op:e,description:t}=Ma(o);l.push(`root ID: ${o.spanContext().spanId}`),e&&l.push(`root op: ${e}`),t&&l.push(`root description: ${t}`)}Hn.log(`${c}\n ${l.join("\n ")}`)}(a),function(e,t,n){e&&(tr(e,Xa,n),tr(e,Za,t))}(a,r,i),a}({parentSpan:i,spanContext:n,forceTransaction:e.forceTransaction,scope:r})}function oo(){return fa(ra())}function so(e,t,n){const r=va(),i=r&&r.getOptions()||{},{name:a="",attributes:o}=e,[s,c]=t.getScopeData().sdkProcessingMetadata[io]?[!1]:function(e,t){if(!Ua(e))return[!1];let n;n="function"==typeof e.tracesSampler?e.tracesSampler(t):void 0!==t.parentSampled?t.parentSampled:void 0!==e.tracesSampleRate?e.tracesSampleRate:1;const r=function(e){if("boolean"==typeof e)return Number(e);const t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t)||t<0||t>1))return t;qa&&Hn.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`)}(n);return void 0===r?(qa&&Hn.warn("[Tracing] Discarding transaction because of invalid sample rate."),[!1]):r?Math.random()";try{let n=e;const r=5,i=[];let a=0,o=0;const s=" > ",c=s.length;let l;const u=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||lo;for(;n&&a++1&&o+i.length*c+l.length>=d));)i.push(l),o+=l.length,n=n.parentNode;return i.reverse().join(s)}catch(e){return""}}function po(e,t){const n=e,r=[];let i,a,o,s,c;if(!n||!n.tagName)return"";if(co.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const l=t&&t.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(l&&l.length)l.forEach((e=>{r.push(`[${e[0]}="${e[1]}"]`)}));else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&Zn(i))for(a=i.split(/\s+/),c=0;c{let i,a;return o=>{t.value>=0&&(o||r)&&(a=t.value-(i||0),(a||void 0===i)&&(i=t.value,t.delta=a,t.rating=((e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good")(t.value,n),e(t)))}},go=()=>ir.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],fo=()=>{const e=go();return e&&e.activationStart||0},_o=(e,t)=>{const n=go();let r="navigate";return n&&(ir.document&&ir.document.prerendering||fo()>0?r="prerender":ir.document&&ir.document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:`v3-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:r}},vo=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver((e=>{Promise.resolve().then((()=>{t(e.getEntries())}))}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},bo=e=>{const t=t=>{("pagehide"===t.type||ir.document&&"hidden"===ir.document.visibilityState)&&e(t)};ir.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},wo=e=>{let t=!1;return n=>{t||(e(n),t=!0)}};let yo=-1;const So=e=>{"hidden"===ir.document.visibilityState&&yo>-1&&(yo="visibilitychange"===e.type?e.timeStamp:0,removeEventListener("visibilitychange",So,!0),removeEventListener("prerenderingchange",So,!0))},Eo=()=>(ir.document&&yo<0&&(yo="hidden"!==ir.document.visibilityState||ir.document.prerendering?1/0:0,addEventListener("visibilitychange",So,!0),addEventListener("prerenderingchange",So,!0)),{get firstHiddenTime(){return yo}}),ko=e=>{ir.document&&ir.document.prerendering?addEventListener("prerenderingchange",(()=>e()),!0):e()},To=[1800,3e3],xo=[.1,.25],Co=(e,t={})=>{((e,t={})=>{ko((()=>{const n=Eo(),r=_o("FCP");let i;const a=vo("paint",(e=>{e.forEach((e=>{"first-contentful-paint"===e.name&&(a.disconnect(),e.startTime{const n=_o("CLS",0);let r,i=0,a=[];const o=e=>{e.forEach((e=>{if(!e.hadRecentInput){const t=a[0],n=a[a.length-1];i&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,a.push(e)):(i=e.value,a=[e])}})),i>n.value&&(n.value=i,n.entries=a,r())},s=vo("layout-shift",o);s&&(r=mo(e,n,xo,t.reportAllChanges),bo((()=>{o(s.takeRecords()),r(!0)})),setTimeout(r,0))})))},No=[100,300],Ao=(e,t={})=>{ko((()=>{const n=Eo(),r=_o("FID");let i;const a=e=>{e.startTime{e.forEach(a)},s=vo("first-input",o);i=mo(e,r,No,t.reportAllChanges),s&&bo(wo((()=>{o(s.takeRecords()),s.disconnect()})))}))};let Io=0,Do=1/0,Oo=0;const Po=e=>{e.forEach((e=>{e.interactionId&&(Do=Math.min(Do,e.interactionId),Oo=Math.max(Oo,e.interactionId),Io=Oo?(Oo-Do)/7+1:0)}))};let Mo;const Ro=()=>{"interactionCount"in performance||Mo||(Mo=vo("event",Po,{type:"event",buffered:!0,durationThreshold:0}))},$o=[200,500],Lo=()=>(Mo?Io:performance.interactionCount||0)-0,zo=[],Fo={},Vo=e=>{const t=zo[zo.length-1],n=Fo[e.interactionId];if(n||zo.length<10||e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{const t={id:e.interactionId,latency:e.duration,entries:[e]};Fo[t.id]=t,zo.push(t)}zo.sort(((e,t)=>t.latency-e.latency)),zo.splice(10).forEach((e=>{delete Fo[e.id]}))}},Ho=(e,t={})=>{ko((()=>{Ro();const n=_o("INP");let r;const i=e=>{e.forEach((e=>{e.interactionId&&Vo(e),"first-input"===e.entryType&&!zo.some((t=>t.entries.some((t=>e.duration===t.duration&&e.startTime===t.startTime))))&&Vo(e)}));const t=(()=>{const e=Math.min(zo.length-1,Math.floor(Lo()/50));return zo[e]})();t&&t.latency!==n.value&&(n.value=t.latency,n.entries=t.entries,r())},a=vo("event",i,{durationThreshold:null!=t.durationThreshold?t.durationThreshold:40});r=mo(e,n,$o,t.reportAllChanges),a&&("PerformanceEventTiming"in ir&&"interactionId"in PerformanceEventTiming.prototype&&a.observe({type:"first-input",buffered:!0}),bo((()=>{i(a.takeRecords()),n.value<0&&Lo()>0&&(n.value=0,n.entries=[]),r(!0)})))}))},Uo=[2500,4e3],Wo={},Bo=(e,t={})=>{ko((()=>{const n=Eo(),r=_o("LCP");let i;const a=e=>{const t=e[e.length-1];t&&t.startTime{Wo[r.id]||(a(o.takeRecords()),o.disconnect(),Wo[r.id]=!0,i(!0))}));["keydown","click"].forEach((e=>{ir.document&&addEventListener(e,(()=>setTimeout(n,0)),!0)})),bo(n)}}))},jo=[800,1800],Go=e=>{ir.document&&ir.document.prerendering?ko((()=>Go(e))):ir.document&&"complete"!==ir.document.readyState?addEventListener("load",(()=>Go(e)),!0):setTimeout(e,0)},qo=(e,t={})=>{const n=_o("TTFB"),r=mo(e,n,jo,t.reportAllChanges);Go((()=>{const e=go();if(e){const t=e.responseStart;if(t<=0||t>performance.now())return;n.value=Math.max(t-fo(),0),n.entries=[e],r(!0)}}))},Yo={},Ko={};let Qo,Jo,Zo,Xo,es;function ts(e,t){return ls(e,t),Ko[e]||(function(e){const t={};"event"===e&&(t.durationThreshold=0),vo(e,(t=>{ns(e,{entries:t})}),t)}(e),Ko[e]=!0),us(e,t)}function ns(e,t){const n=Yo[e];if(n&&n.length)for(const r of n)try{r(t)}catch(t){qi&&Hn.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${Wn(r)}\nError:`,t)}}function rs(){return Co((e=>{ns("cls",{metric:e}),Qo=e}),{reportAllChanges:!0})}function is(){return Ao((e=>{ns("fid",{metric:e}),Jo=e}))}function as(){return Bo((e=>{ns("lcp",{metric:e}),Zo=e}),{reportAllChanges:!0})}function os(){return qo((e=>{ns("ttfb",{metric:e}),Xo=e}))}function ss(){return Ho((e=>{ns("inp",{metric:e}),es=e}))}function cs(e,t,n,r,i=!1){let a;return ls(e,t),Ko[e]||(a=n(),Ko[e]=!0),r&&t({metric:r}),us(e,t,i?a:void 0)}function ls(e,t){Yo[e]=Yo[e]||[],Yo[e].push(t)}function us(e,t,n){return()=>{n&&n();const r=Yo[e];if(!r)return;const i=r.indexOf(t);-1!==i&&r.splice(i,1)}}function ds(e){return"number"==typeof e&&isFinite(e)}function ps(e,t,n,{...r}){const i=Ma(e).start_timestamp;return i&&i>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),function(e,t){const n=oo();return n.withActiveSpan?n.withActiveSpan(e,t):function(...e){const t=fa(ra());if(2===e.length){const[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}return t.withScope(e[0])}((n=>(sa(n,e||void 0),t(n))))}(e,(()=>{const e=ao({startTime:t,...r});return e&&e.end(n),e}))}function hs(){return ir&&ir.addEventListener&&ir.performance}function ms(e){return e/1e3}const gs=2147483647;let fs,_s,vs=0,bs={};function ws(){const e=hs();if(e&&Xr){e.mark&&ir.performance.mark("sentry-tracing-init");const t=cs("fid",(({metric:e})=>{const t=e.entries[e.entries.length-1];if(!t)return;const n=ms(Xr),r=ms(t.startTime);qi&&Hn.log("[Measurements] Adding FID"),bs.fid={value:e.value,unit:"millisecond"},bs["mark.fid"]={value:n+r,unit:"second"}}),is,Jo),n=function(e,t=!1){return cs("cls",e,rs,Qo,t)}((({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(qi&&Hn.log("[Measurements] Adding CLS"),bs.cls={value:e.value,unit:""},_s=t)}),!0),r=function(e,t=!1){return cs("lcp",e,as,Zo,t)}((({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(qi&&Hn.log("[Measurements] Adding LCP"),bs.lcp={value:e.value,unit:"millisecond"},fs=t)}),!0),i=cs("ttfb",(({metric:e})=>{e.entries[e.entries.length-1]&&(qi&&Hn.log("[Measurements] Adding TTFB"),bs.ttfb={value:e.value,unit:"millisecond"})}),os,Xo);return()=>{t(),n(),r(),i()}}return()=>{}}function ys(e,t,n,r,i,a){const o=a?t[a]:t[`${n}End`],s=t[`${n}Start`];s&&o&&ps(e,r+ms(s),r+ms(o),{op:"browser",name:i||n,attributes:{[ka]:"auto.ui.browser.metrics"}})}function Ss(e,t,n,r){const i=t[n];null!=i&&i{const n=e.attributes||{},r=n["sentry.measurement_unit"],i=n["sentry.measurement_value"];"string"==typeof r&&"number"==typeof i&&(t[e.name]={value:i,unit:r})})),t}const As="_sentryScope",Is="_sentryIsolationScope";function Ds(e){return{scope:e[As],isolationScope:e[Is]}}class Os{constructor(e={}){this._traceId=e.traceId||Ce(),this._spanId=e.spanId||Ce().substring(16),this._startTime=e.startTimestamp||qe(),this._attributes={},this.setAttributes({[zt]:"manual",[Lt]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}spanContext(){const{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?tn:0}}setAttribute(e,t){void 0===t?delete this._attributes[e]:this._attributes[e]=t}setAttributes(e){Object.keys(e).forEach((t=>this.setAttribute(t,e[t])))}updateStartTime(e){this._startTime=on(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this}end(e){this._endTime||(this._endTime=on(e),function(e){if(!Me)return;const{description:t="< unknown name >",op:n="< unknown op >"}=cn(e),{spanId:r}=e.spanContext(),i=`[Tracing] Finishing "${n}" ${gn(e)===e?"root ":""}span "${t}" with ID ${r}`;J.log(i)}(this),this._onSpanEnded())}getSpanJSON(){return Te({data:this._attributes,description:this._name,op:this._attributes[Lt],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:un(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[zt],_metrics_summary:Qt(this),profile_id:this._attributes["sentry.profile_id"],exclusive_time:this._attributes["sentry.exclusive_time"],measurements:Ns(this._events),is_segment:this._isStandaloneSpan&&gn(this)===this||void 0,segment_id:this._isStandaloneSpan?gn(this).spanContext().spanId:void 0})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){Me&&J.log("[Tracing] Adding an event to span:",e);const r=Ps(t)?t:n||qe(),i=Ps(t)?{}:t||{},a={name:e,time:on(r),attributes:i};return this._events.push(a),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const e=ut();if(e&&e.emit("spanEnd",this),!this._isStandaloneSpan&&this!==gn(this))return;if(this._isStandaloneSpan)return void function(e){const t=ut();if(!t)return;const n=e[1];if(!n||0===n.length)return void t.recordDroppedEvent("before_send","span");const r=t.getTransport();r&&r.send(e).then(null,(e=>{Me&&J.error("Error while sending span:",e)}))}(function(e,t){const n=yn(e[0]),r=t&&t.getDsn(),i=t&&t.getOptions().tunnel,a={sent_at:(new Date).toISOString(),...function(e){return!!e.trace_id&&!!e.public_key}(n)&&{trace:n},...!!i&&r&&{dsn:lr(r)}},o=t&&t.getOptions().beforeSendSpan,s=o?e=>o(cn(e)):e=>cn(e),c=[];for(const t of e){const e=s(t);e&&c.push(fr(e))}return dr(a,c)}([this],e));const t=this._convertSpanToTransaction();t&&(Ds(this).scope||ct()).captureEvent(t)}_convertSpanToTransaction(){if(!Ms(cn(this)))return;this._name||(Me&&J.warn("Transaction has no name, falling back to ``."),this._name="");const{scope:e,isolationScope:t}=Ds(this),n=(e||ct()).getClient()||ut();if(!0!==this._sampled)return Me&&J.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),void(n&&n.recordDroppedEvent("sample_rate","transaction"));const r=mn(this).filter((e=>e!==this&&!function(e){return e instanceof Os&&e.isStandaloneSpan()}(e))).map((e=>cn(e))).filter(Ms),i=this._attributes[Rt],a={contexts:{trace:nn(this)},spans:r.length>1e3?r.sort(((e,t)=>e.start_timestamp-t.start_timestamp)).slice(0,1e3):r,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,...Te({dynamicSamplingContext:yn(this)})},_metrics_summary:Qt(this),...i&&{transaction_info:{source:i}}},o=Ns(this._events);return o&&Object.keys(o).length&&(Me&&J.log("[Measurements] Adding measurements to transaction event",JSON.stringify(o,void 0,2)),a.measurements=o),a}}function Ps(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function Ms(e){return!!(e.start_timestamp&&e.timestamp&&e.span_id&&e.trace_id)}const Rs="__SENTRY_SUPPRESS_TRACING__";function $s(e){const t=st(Ue());if(t.startInactiveSpan)return t.startInactiveSpan(e);const n=function(e){const t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const n={...t};return n.startTimestamp=on(e.startTime),delete n.startTime,n}return t}(e),r=e.scope||ct(),i=function(e){const t=Xe(e);if(!t)return;const n=ut();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?gn(t):t}(r);return e.onlyIfParent&&!i?new Cs:function({parentSpan:e,spanContext:t,forceTransaction:n,scope:r}){if(!xs())return new Cs;const i=lt();let a;if(e&&!n)a=function(e,t,n){const{spanId:r,traceId:i}=e.spanContext(),a=!t.getScopeData().sdkProcessingMetadata[Rs]&&ln(e),o=a?new Os({...n,parentSpanId:r,traceId:i,sampled:a}):new Cs({traceId:i});hn(e,o);const s=ut();return s&&(s.emit("spanStart",o),n.endTimestamp&&s.emit("spanEnd",o)),o}(e,r,t),hn(e,a);else if(e){const n=yn(e),{traceId:i,spanId:o}=e.spanContext(),s=ln(e);a=Ls({traceId:i,parentSpanId:o,...t},r,s),bn(a,n)}else{const{traceId:e,dsc:n,parentSpanId:o,sampled:s}={...i.getPropagationContext(),...r.getPropagationContext()};a=Ls({traceId:e,parentSpanId:o,...t},r,s),n&&bn(a,n)}return function(e){if(!Me)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=cn(e),{spanId:i}=e.spanContext(),a=ln(e),o=gn(e),s=o===e,c=`[Tracing] Starting ${a?"sampled":"unsampled"} ${s?"root ":""}span`,l=[`op: ${n}`,`name: ${t}`,`ID: ${i}`];if(r&&l.push(`parent ID: ${r}`),!s){const{op:e,description:t}=cn(o);l.push(`root ID: ${o.spanContext().spanId}`),e&&l.push(`root op: ${e}`),t&&l.push(`root description: ${t}`)}J.log(`${c}\n ${l.join("\n ")}`)}(a),function(e,t,n){e&&(be(e,Is,n),be(e,As,t))}(a,r,i),a}({parentSpan:i,spanContext:n,forceTransaction:e.forceTransaction,scope:r})}function Ls(e,t,n){const r=ut(),i=r&&r.getOptions()||{},{name:a="",attributes:o}=e,[s,c]=t.getScopeData().sdkProcessingMetadata[Rs]?[!1]:function(e,t){if(!xs(e))return[!1];let n;n="function"==typeof e.tracesSampler?e.tracesSampler(t):void 0!==t.parentSampled?t.parentSampled:void 0!==e.tracesSampleRate?e.tracesSampleRate:1;const r=kr(n);return void 0===r?(Me&&J.warn("[Tracing] Discarding transaction because of invalid sample rate."),[!1]):r?Math.random(){!i&&0===n.size&&o&&(a="idleTimeout",m.end(e))}),s)}function _(e){r=setTimeout((()=>{!i&&o&&(a="heartbeatFailed",m.end(e))}),l)}function v(e){i=!0,n.clear(),Ze(p,h);const t=cn(m),{start_timestamp:r}=t;if(!r)return;(t.data||{})[Ft]||m.setAttribute(Ft,a),J.log(`[Tracing] Idle span "${t.op}" finished`);const o=mn(m).filter((e=>e!==m));let l=0;o.forEach((t=>{t.isRecording()&&(t.setStatus({code:Xt,message:"cancelled"}),t.end(e),Me&&J.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));const n=cn(t),{timestamp:r=0,start_timestamp:i=0}=n,a=i<=e,o=r-i<=(c+s)/1e3;if(Me){const e=JSON.stringify(t,void 0,2);a?o||J.log("[Tracing] Discarding span since it finished after idle span final timeout",e):J.log("[Tracing] Discarding span since it happened after idle span was finished",e)}o&&a||(function(e,t){e[dn]&&e[dn].delete(t)}(m,t),l++)})),l>0&&m.setAttribute("sentry.idle_span_discarded_spans",l)}return m.end=new Proxy(m.end,{apply(e,t,n){u&&u(m);const[r,...i]=n,a=on(r||qe()),o=mn(m).filter((e=>e!==m));if(!o.length)return v(a),Reflect.apply(e,t,[a,...i]);const s=o.map((e=>cn(e).timestamp)).filter((e=>!!e)),l=s.length?Math.max(...s):void 0,d=cn(m).start_timestamp,p=Math.min(d?d+c/1e3:1/0,Math.max(d||-1/0,Math.min(a,l||1/0)));return v(p),Reflect.apply(e,t,[p,...i])}}),d.on("spanStart",(e=>{var t;i||e===m||cn(e).timestamp||mn(m).includes(e)&&(t=e.spanContext().spanId,g(),n.set(t,!0),_(qe()+l/1e3))})),d.on("spanEnd",(e=>{var t;i||(t=e.spanContext().spanId,n.has(t)&&n.delete(t),0===n.size&&f(qe()+s/1e3))})),d.on("idleSpanEnableAutoFinish",(e=>{e===m&&(o=!0,f(),n.size&&_())})),t.disableAutoFinish||f(),setTimeout((()=>{i||(m.setStatus({code:Xt,message:"deadline_exceeded"}),a="finalTimeout",m.end())}),c),m}let Vs=!1;function Hs(){const e=fn(),t=e&&gn(e);if(t){const e="internal_error";Me&&J.log(`[Tracing] Root span: ${e} -> Global error occured`),t.setStatus({code:Xt,message:e})}}Hs.tag="sentry_tracingErrorCallback";const Us={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0};function Ws(e){const{traceFetch:t,traceXHR:n,shouldCreateSpanForRequest:r,enableHTTPTimings:i,tracePropagationTargets:a}={traceFetch:Us.traceFetch,traceXHR:Us.traceXHR,...e},o="function"==typeof r?r:e=>!0,s=e=>function(e,t){const n=zr.location&&zr.location.href;if(n){let r,i;try{r=new URL(e,n),i=new URL(n).origin}catch(e){return!1}const a=r.origin===i;return t?_e(r.toString(),t)||a&&_e(r.pathname,t):a}{const n=!!e.match(/^\/(?!\/)/);return t?_e(e,t):n}}(e,a),c={};t&&di((e=>{const t=function(e,t,n,r,i="auto.http.browser"){if(!e.fetchData)return;const a=xs()&&t(e.fetchData.url);if(e.endTimestamp&&a){const t=e.fetchData.__span;if(!t)return;const n=r[t];return void(n&&(function(e,t){if(t.response){en(e,t.response.status);const n=t.response&&t.response.headers&&t.response.headers.get("content-length");if(n){const t=parseInt(n);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:Xt,message:"internal_error"});e.end()}(n,e),delete r[t]))}const o=ct(),s=ut(),{method:c,url:l}=e.fetchData,u=function(e){try{return new URL(e).href}catch(e){return}}(l),d=u?fi(u).host:void 0,p=!!fn(),h=a&&p?$s({name:`${c} ${l}`,attributes:{url:l,type:"fetch","http.method":c,"http.url":u,"server.address":d,[zt]:i,[Lt]:"http.client"}}):new Cs;if(e.fetchData.__span=h.spanContext().spanId,r[h.spanContext().spanId]=h,n(e.fetchData.url)&&s){const t=e.args[0];e.args[1]=e.args[1]||{};const n=e.args[1];n.headers=function(e,t,n,r,i){const a=lt(),{traceId:o,spanId:s,sampled:c,dsc:l}={...a.getPropagationContext(),...n.getPropagationContext()},u=i?an(i):Yt(o,s,c),d=Bt(l||(i?yn(i):wn(o,t))),p=r.headers||("undefined"!=typeof Request&&le(e,Request)?e.headers:void 0);if(p){if("undefined"!=typeof Headers&&le(p,Headers)){const e=new Headers(p);return e.append("sentry-trace",u),d&&e.append(Vt,d),e}if(Array.isArray(p)){const e=[...p,["sentry-trace",u]];return d&&e.push([Vt,d]),e}{const e="baggage"in p?p.baggage:void 0,t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),d&&t.push(d),{...p,"sentry-trace":u,baggage:t.length>0?t.join(","):void 0}}}return{"sentry-trace":u,baggage:d}}(t,s,o,n,xs()&&p?h:void 0)}return h}(e,o,s,c);if(t){const n=Gs(e.fetchData.url),r=n?fi(n).host:void 0;t.setAttributes({"http.url":n,"server.address":r})}i&&t&&Bs(t)})),n&&ti((e=>{const t=function(e,t,n,r){const i=e.xhr,a=i&&i[ei];if(!i||i.__sentry_own_request__||!a)return;const o=xs()&&t(a.url);if(e.endTimestamp&&o){const e=i.__sentry_xhr_span_id__;if(!e)return;const t=r[e];return void(t&&void 0!==a.status_code&&(en(t,a.status_code),t.end(),delete r[e]))}const s=Gs(a.url),c=s?fi(s).host:void 0,l=!!fn(),u=o&&l?$s({name:`${a.method} ${a.url}`,attributes:{type:"xhr","http.method":a.method,"http.url":s,url:a.url,"server.address":c,[zt]:"auto.http.browser",[Lt]:"http.client"}}):new Cs;i.__sentry_xhr_span_id__=u.spanContext().spanId,r[i.__sentry_xhr_span_id__]=u;const d=ut();return i.setRequestHeader&&n(a.url)&&d&&function(e,t,n){const r=ct(),i=lt(),{traceId:a,spanId:o,sampled:s,dsc:c}={...i.getPropagationContext(),...r.getPropagationContext()};!function(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader(Vt,n)}catch(e){}}(e,n&&xs()?an(n):Yt(a,o,s),Bt(c||(n?yn(n):wn(a,t))))}(i,d,xs()&&l?u:void 0),u}(e,o,s,c);i&&t&&Bs(t)}))}function Bs(e){const{url:t}=cn(e).data||{};if(!t||"string"!=typeof t)return;const n=ts("resource",(({entries:r})=>{r.forEach((r=>{if(function(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"==typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)}(r)&&r.name.endsWith(t)){(function(e){const{name:t,version:n}=function(e){let t="unknown",n="unknown",r="";for(const i of e){if("/"===i){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:n}}(e.nextHopProtocol),r=[];return r.push(["network.protocol.version",n],["network.protocol.name",t]),Ke?[...r,["http.request.redirect_start",js(e.redirectStart)],["http.request.fetch_start",js(e.fetchStart)],["http.request.domain_lookup_start",js(e.domainLookupStart)],["http.request.domain_lookup_end",js(e.domainLookupEnd)],["http.request.connect_start",js(e.connectStart)],["http.request.secure_connection_start",js(e.secureConnectionStart)],["http.request.connection_end",js(e.connectEnd)],["http.request.request_start",js(e.requestStart)],["http.request.response_start",js(e.responseStart)],["http.request.response_end",js(e.responseEnd)]]:r})(r).forEach((t=>e.setAttribute(...t))),setTimeout(n)}}))}))}function js(e=0){return((Ke||performance.timeOrigin)+e)/1e3}function Gs(e){try{return new URL(e,zr.location.origin).href}catch(e){return}}const qs={...zs,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableInp:!0,_experiments:{},...Us},Ys=(e={})=>{Vs||(Vs=!0,Ti(Hs),Ni(Hs));const{enableInp:t,enableLongTask:n,_experiments:{enableInteractions:r},beforeStartSpan:i,idleTimeout:a,finalTimeout:o,childSpanTimeout:s,markBackgroundSpan:c,traceFetch:l,traceXHR:u,shouldCreateSpanForRequest:d,enableHTTPTimings:p,instrumentPageLoad:h,instrumentNavigation:m}={...qs,...e},g=ws();t&&function(){if(hs()&&Xr){const e=cs("inp",(({metric:e})=>{const t=va();if(!t||null==e.value)return;const n=e.entries.find((t=>t.duration===e.value&&Ts[t.name]));if(!n)return;const{interactionId:r}=n,i=Ts[n.name],a=t.getOptions(),o=ms(Xr+n.startTime),s=ms(e.value),c=_a(),l=Ha(),u=l?Va(l):void 0,d=(null!=r?ks.get(r):void 0)||(u?Ma(u).description:c.getScopeData().transactionName),p=c.getUser(),h=t.getIntegrationByName("Replay"),m=h&&h.getReplayId(),g=void 0!==p?p.email||p.id||p.ip_address:void 0;let f;try{f=c.getScopeData().contexts.profile.profile_id}catch(e){}const _=ao({name:uo(n.target),op:`ui.interaction.${i}`,attributes:nr({release:a.release,environment:a.environment,transaction:d,[Ca]:e.value,[ka]:"auto.http.browser.inp",user:g||void 0,profile_id:f||void 0,replay_id:m||void 0}),startTime:o,experimental:{standalone:!0}});_.addEvent("inp",{[Ta]:"millisecond",[xa]:e.value}),_.end(o+s)}),ss,es);return()=>{e()}}}(),n&&ts("longtask",(({entries:e})=>{for(const t of e){if(!Ha())return;const e=ms(Xr+t.startTime),n=ms(t.duration),r=ao({name:"Main UI thread blocked",op:"ui.long-task",startTime:e,attributes:{[ka]:"auto.ui.browser.metrics"}});r&&r.end(e+n)}})),r&&ts("event",(({entries:e})=>{for(const t of e){if(!Ha())return;if("click"===t.name){const e=ms(Xr+t.startTime),n=ms(t.duration),r={name:uo(t.target),op:`ui.interaction.${t.name}`,startTime:e,attributes:{[ka]:"auto.ui.browser.metrics"}},i=ho(t.target);i&&(r.attributes["ui.component_name"]=i);const a=ao(r);a&&a.end(e+n)}}}));const f={name:void 0,source:void 0};function _(e,t){const n="pageload"===t.op,r=i?i(t):t,c=r.attributes||{};t.name!==r.name&&(c[Rt]="custom",r.attributes=c),f.name=r.name,f.source=c[Rt];const l=Fs(r,{idleTimeout:a,finalTimeout:o,childSpanTimeout:s,disableAutoFinish:n,beforeSpanEnd:e=>{g(),function(e){const t=hs();if(!t||!ir.performance.getEntries||!Xr)return;qi&&Hn.log("[Tracing] Adding & adjusting spans using Performance API");const n=ms(Xr),r=t.getEntries(),{op:i,start_timestamp:a}=Ma(e);if(r.slice(vs).forEach((t=>{const r=ms(t.startTime),o=ms(t.duration);if(!("navigation"===i&&a&&n+r{ys(e,t,r,n)})),ys(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),ys(e,t,"fetch",n,"cache","domainLookupStart"),ys(e,t,"domainLookup",n,"DNS"),function(e,t,n){t.responseEnd&&(ps(e,n+ms(t.requestStart),n+ms(t.responseEnd),{op:"browser",name:"request",attributes:{[ka]:"auto.ui.browser.metrics"}}),ps(e,n+ms(t.responseStart),n+ms(t.responseEnd),{op:"browser",name:"response",attributes:{[ka]:"auto.ui.browser.metrics"}}))}(e,t,n)}(e,t,n);break;case"mark":case"paint":case"measure":{!function(e,t,n,r,i){const a=i+n;ps(e,a,a+r,{name:t.name,op:t.entryType,attributes:{[ka]:"auto.resource.browser.metrics"}})}(e,t,r,o,n);const i=Eo(),a=t.startTime{if(!bs[e]||!a||n>=a)return;const t=bs[e].value,r=n+ms(t),i=Math.abs(1e3*(r-a)),o=i-t;qi&&Hn.log(`[Measurements] Normalized ${e} from ${t} to ${i} (${o})`),bs[e].value=i}));const t=bs["mark.fid"];t&&bs.fid&&(ps(e,t.value,t.value+ms(bs.fid.value),{name:"first input delay",op:"ui.action",attributes:{[ka]:"auto.ui.browser.metrics"}}),delete bs["mark.fid"]),"fcp"in bs||delete bs.cls,Object.keys(bs).forEach((e=>{!function(e,t,n){const r=Ha(),i=r&&Va(r);i&&i.addEvent(e,{[xa]:t,[Ta]:n})}(e,bs[e].value,bs[e].unit)})),function(e){fs&&(qi&&Hn.log("[Measurements] Adding LCP Data"),fs.element&&e.setAttribute("lcp.element",uo(fs.element)),fs.id&&e.setAttribute("lcp.id",fs.id),fs.url&&e.setAttribute("lcp.url",fs.url.trim().slice(0,200)),e.setAttribute("lcp.size",fs.size)),_s&&_s.sources&&(qi&&Hn.log("[Measurements] Adding CLS Data"),_s.sources.forEach(((t,n)=>e.setAttribute(`cls.source.${n+1}`,uo(t.node)))))}(e)}fs=void 0,_s=void 0,bs={}}(e)}});function u(){["interactive","complete"].includes(zr.document.readyState)&&e.emit("idleSpanEnableAutoFinish",l)}return n&&zr.document&&(zr.document.addEventListener("readystatechange",(()=>{u()})),u()),l}return{name:"BrowserTracing",afterAllSetup(e){let n,i=zr.location&&zr.location.href;e.on("startNavigationSpan",(t=>{ut()===e&&(n&&(Ar&&J.log(`[Tracing] Finishing current root span with op: ${cn(n).op}`),n.end()),n=_(e,{op:"navigation",...t}))})),e.on("startPageLoadSpan",((t,r={})=>{if(ut()!==e)return;n&&(Ar&&J.log(`[Tracing] Finishing current root span with op: ${cn(n).op}`),n.end());const i=qt(r.sentryTrace||Ks("sentry-trace"),r.baggage||Ks("baggage"));ct().setPropagationContext(i),n=_(e,{op:"pageload",...t})})),e.on("spanEnd",(e=>{const t=cn(e).op;if(e!==gn(e)||"navigation"!==t&&"pageload"!==t)return;const n=ct(),r=n.getPropagationContext();n.setPropagationContext({...r,sampled:void 0!==r.sampled?r.sampled:ln(e),dsc:r.dsc||yn(e)})})),zr.location&&(h&&function(e,t,n){e.emit("startPageLoadSpan",t,void 0),ct().setTransactionName(t.name);const r=fn();r&&cn(r).op}(e,{name:zr.location.pathname,startTime:Ke?Ke/1e3:void 0,attributes:{[Rt]:"url",[zt]:"auto.pageload.browser"}}),m&&or((({to:t,from:n})=>{void 0===n&&i&&-1!==i.indexOf(t)?i=void 0:n!==t&&(i=void 0,function(e,t){lt().setPropagationContext(Be()),ct().setPropagationContext(Be()),e.emit("startNavigationSpan",t),ct().setTransactionName(t.name);const n=fn();n&&cn(n).op}(e,{name:zr.location.pathname,attributes:{[Rt]:"url",[zt]:"auto.navigation.browser"}}))}))),c&&(zr&&zr.document?zr.document.addEventListener("visibilitychange",(()=>{const e=fn();if(!e)return;const t=gn(e);if(zr.document.hidden&&t){const e="cancelled",{op:n,status:r}=cn(t);Ar&&J.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${n}`),r||t.setStatus({code:Xt,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}})):Ar&&J.warn("[Tracing] Could not set up background tab detection due to lack of global document")),r&&function(e,t,n,r){let i;zr.document&&addEventListener("click",(()=>{const a="ui.action.click",o=fn(),s=o&&gn(o);if(s){const e=cn(s).op;if(["navigation","pageload"].includes(e))return void(Ar&&J.warn(`[Tracing] Did not create ${a} span because a pageload or navigation span is in progress.`))}i&&(i.setAttribute(Ft,"interactionInterrupted"),i.end(),i=void 0),r.name?i=Fs({name:r.name,op:a,attributes:{[Rt]:r.source||"url"}},{idleTimeout:e,finalTimeout:t,childSpanTimeout:n}):Ar&&J.warn(`[Tracing] Did not create ${a} transaction because _latestRouteName is missing.`)}),{once:!1,capture:!0})}(a,o,s,f),t&&function(e){const t=({entries:t})=>{t.forEach((t=>{if(!function(e){return"duration"in e}(t)||!e.name)return;const n=t.interactionId;if(null!=n&&!ks.has(n)){if(Es.length>10){const e=Es.shift();ks.delete(e)}Es.push(n),ks.set(n,e.name)}}))};ts("event",t),ts("first-input",t)}(f),Ws({traceFetch:l,traceXHR:u,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:d,enableHTTPTimings:p})}}};function Ks(e){const t=(n=`meta[name=${e}]`,de.document&&de.document.querySelector?de.document.querySelector(n):null);var n;return t?t.getAttribute("content"):void 0}var Qs=i(2202);const Js=`wp-onboarding@${i(8330).rE}`;n.ZH?o()((()=>{(0,W.p4)()||function(e){const t={...e};!function(e,t,n=[t],r="npm"){const i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:n.map((e=>({name:`${r}:@sentry/${e}`,version:na}))),version:na}),e._metadata=i}(t,"react"),ta(t)}({dsn:window.nfdOnboarding.sentryInitDsnURL,integrations:[Ys()],release:Js,tracesSampleRate:1}),H.y.initialize({namespace:Qs.XJ,urls:{single:(0,U.fG)("events",!1),batch:(0,U.fG)("events/batch",!1)},settings:{debounce:{time:3e3}}}),async function(e,t){const r=document.getElementById(e);(0,h.dispatch)(l.M).setRuntime(t),t.previewSettings.settings.preRequisites?.themes&&(0,h.dispatch)(l.M).updateThemeStatus(t.previewSettings.settings.preRequisites?.themes[n.f1]);const i=await async function(e,t){let n=0;for(;n<3;)try{const t=await e();if(n++,null===t.error)return t}catch(e){if(n++,console.error("Failed to retrieve data",e),n>=3)return!1}return!1}(u.lv);!1!==i&&(i.body=(e=>{e.hasExited=0,e.isComplete=0;const t=window.nfdOnboarding.currentFlow;return e.data.chapters=(0,F.AZ)((0,z.Pq)(t),e.data.chapters),e})(i.body),(0,h.dispatch)(l.M).setCurrentOnboardingData(i.body)),null!==r&&void 0!==d.render?(0,d.render)((0,c.createElement)(V,null),r):console.log("Could not find mount element or wp.element.render().")}(n.eT,window.nfdOnboarding),(0,s.registerCoreBlocks)()})):console.log("Cannot find Newfold Onboarding runtime data to set __webpack_public_path__.")})(),((window.newfold=window.newfold||{}).Onboarding=window.newfold.Onboarding||{}).onboarding=a})(); \ No newline at end of file diff --git a/build/2.4.0/sitegen-theme-marker.asset.php b/build/2.4.1/sitegen-theme-marker.asset.php similarity index 100% rename from build/2.4.0/sitegen-theme-marker.asset.php rename to build/2.4.1/sitegen-theme-marker.asset.php diff --git a/build/2.4.1/sitegen-theme-marker.css.asset.php b/build/2.4.1/sitegen-theme-marker.css.asset.php new file mode 100644 index 000000000..fa489f26a --- /dev/null +++ b/build/2.4.1/sitegen-theme-marker.css.asset.php @@ -0,0 +1 @@ + array(), 'version' => '1c5e915c67b4a469a99f'); diff --git a/build/2.4.1/sitegen-theme-marker.css.css b/build/2.4.1/sitegen-theme-marker.css.css new file mode 100644 index 000000000..cfedf7f00 --- /dev/null +++ b/build/2.4.1/sitegen-theme-marker.css.css @@ -0,0 +1 @@ +.theme-name{align-items:center;display:flex;flex-direction:row}.theme-name svg{margin-left:8px}.nfd-onboarding-sitegen-theme-marker-filled{fill:#1d2327}.theme.active .nfd-onboarding-sitegen-theme-marker-filled{fill:none}.nfd-onboarding-sitegen-theme-marker-title{margin-left:8px;overflow:hidden;text-overflow:ellipsis;width:120px} diff --git a/build/2.4.0/sitegen-theme-marker.css.js b/build/2.4.1/sitegen-theme-marker.css.js similarity index 100% rename from build/2.4.0/sitegen-theme-marker.css.js rename to build/2.4.1/sitegen-theme-marker.css.js diff --git a/build/2.4.0/sitegen-theme-marker.js b/build/2.4.1/sitegen-theme-marker.js similarity index 100% rename from build/2.4.0/sitegen-theme-marker.js rename to build/2.4.1/sitegen-theme-marker.js diff --git a/composer.lock b/composer.lock index 4611b03f8..0f50de602 100644 --- a/composer.lock +++ b/composer.lock @@ -1404,6 +1404,76 @@ }, "time": "2023-01-05T11:28:13+00:00" }, + { + "name": "doctrine/instantiator", + "version": "1.5.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9 || ^11", + "ext-pdo": "*", + "ext-phar": "*", + "phpbench/phpbench": "^0.16 || ^1", + "phpstan/phpstan": "^1.4", + "phpstan/phpstan-phpunit": "^1", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.30 || ^5.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "https://ocramius.github.io/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", + "keywords": [ + "constructor", + "instantiate" + ], + "support": { + "issues": "https://github.com/doctrine/instantiator/issues", + "source": "https://github.com/doctrine/instantiator/tree/1.5.0" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "type": "tidelift" + } + ], + "time": "2022-12-30T00:15:36+00:00" + }, { "name": "eftec/bladeone", "version": "3.52", @@ -1765,16 +1835,16 @@ }, { "name": "nikic/php-parser", - "version": "v5.1.0", + "version": "v5.2.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "683130c2ff8c2739f4822ff7ac5c873ec529abd1" + "reference": "23c79fbbfb725fb92af9bcf41065c8e9a0d49ddb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/683130c2ff8c2739f4822ff7ac5c873ec529abd1", - "reference": "683130c2ff8c2739f4822ff7ac5c873ec529abd1", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/23c79fbbfb725fb92af9bcf41065c8e9a0d49ddb", + "reference": "23c79fbbfb725fb92af9bcf41065c8e9a0d49ddb", "shasum": "" }, "require": { @@ -1817,9 +1887,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.1.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.2.0" }, - "time": "2024-07-01T20:03:41+00:00" + "time": "2024-09-15T16:40:33+00:00" }, { "name": "phar-io/manifest", @@ -2311,16 +2381,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "10.1.16", + "version": "9.2.32", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "7e308268858ed6baedc8704a304727d20bc07c77" + "reference": "85402a822d1ecf1db1096959413d35e1c37cf1a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/7e308268858ed6baedc8704a304727d20bc07c77", - "reference": "7e308268858ed6baedc8704a304727d20bc07c77", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/85402a822d1ecf1db1096959413d35e1c37cf1a5", + "reference": "85402a822d1ecf1db1096959413d35e1c37cf1a5", "shasum": "" }, "require": { @@ -2328,18 +2398,18 @@ "ext-libxml": "*", "ext-xmlwriter": "*", "nikic/php-parser": "^4.19.1 || ^5.1.0", - "php": ">=8.1", - "phpunit/php-file-iterator": "^4.1.0", - "phpunit/php-text-template": "^3.0.1", - "sebastian/code-unit-reverse-lookup": "^3.0.0", - "sebastian/complexity": "^3.2.0", - "sebastian/environment": "^6.1.0", - "sebastian/lines-of-code": "^2.0.2", - "sebastian/version": "^4.0.1", + "php": ">=7.3", + "phpunit/php-file-iterator": "^3.0.6", + "phpunit/php-text-template": "^2.0.4", + "sebastian/code-unit-reverse-lookup": "^2.0.3", + "sebastian/complexity": "^2.0.3", + "sebastian/environment": "^5.1.5", + "sebastian/lines-of-code": "^1.0.4", + "sebastian/version": "^3.0.2", "theseer/tokenizer": "^1.2.3" }, "require-dev": { - "phpunit/phpunit": "^10.1" + "phpunit/phpunit": "^9.6" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", @@ -2348,7 +2418,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "10.1.x-dev" + "dev-main": "9.2.x-dev" } }, "autoload": { @@ -2377,7 +2447,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.16" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.32" }, "funding": [ { @@ -2385,32 +2455,32 @@ "type": "github" } ], - "time": "2024-08-22T04:31:57+00:00" + "time": "2024-08-22T04:23:01+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "4.1.0", + "version": "3.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c" + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/a95037b6d9e608ba092da1b23931e537cadc3c3c", - "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -2437,8 +2507,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "security": "https://github.com/sebastianbergmann/php-file-iterator/security/policy", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/4.1.0" + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" }, "funding": [ { @@ -2446,28 +2515,28 @@ "type": "github" } ], - "time": "2023-08-31T06:24:48+00:00" + "time": "2021-12-02T12:48:52+00:00" }, { "name": "phpunit/php-invoker", - "version": "4.0.0", + "version": "3.1.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-invoker.git", - "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7" + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", - "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { "ext-pcntl": "*", - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "suggest": { "ext-pcntl": "*" @@ -2475,7 +2544,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-master": "3.1-dev" } }, "autoload": { @@ -2501,7 +2570,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-invoker/issues", - "source": "https://github.com/sebastianbergmann/php-invoker/tree/4.0.0" + "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" }, "funding": [ { @@ -2509,32 +2578,32 @@ "type": "github" } ], - "time": "2023-02-03T06:56:09+00:00" + "time": "2020-09-28T05:58:55+00:00" }, { "name": "phpunit/php-text-template", - "version": "3.0.1", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748" + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/0c7b06ff49e3d5072f057eb1fa59258bf287a748", - "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -2560,8 +2629,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "security": "https://github.com/sebastianbergmann/php-text-template/security/policy", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/3.0.1" + "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" }, "funding": [ { @@ -2569,32 +2637,32 @@ "type": "github" } ], - "time": "2023-08-31T14:07:24+00:00" + "time": "2020-10-26T05:33:50+00:00" }, { "name": "phpunit/php-timer", - "version": "6.0.0", + "version": "5.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d" + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/e2a2d67966e740530f4a3343fe2e030ffdc1161d", - "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -2620,7 +2688,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-timer/issues", - "source": "https://github.com/sebastianbergmann/php-timer/tree/6.0.0" + "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" }, "funding": [ { @@ -2628,23 +2696,24 @@ "type": "github" } ], - "time": "2023-02-03T06:57:52+00:00" + "time": "2020-10-26T13:16:10+00:00" }, { "name": "phpunit/phpunit", - "version": "10.5.33", + "version": "9.6.20", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "4def7a9cda75af9c2bc179ed53a8e41313e7f7cf" + "reference": "49d7820565836236411f5dc002d16dd689cde42f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/4def7a9cda75af9c2bc179ed53a8e41313e7f7cf", - "reference": "4def7a9cda75af9c2bc179ed53a8e41313e7f7cf", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/49d7820565836236411f5dc002d16dd689cde42f", + "reference": "49d7820565836236411f5dc002d16dd689cde42f", "shasum": "" }, "require": { + "doctrine/instantiator": "^1.5.0 || ^2", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", @@ -2654,26 +2723,27 @@ "myclabs/deep-copy": "^1.12.0", "phar-io/manifest": "^2.0.4", "phar-io/version": "^3.2.1", - "php": ">=8.1", - "phpunit/php-code-coverage": "^10.1.16", - "phpunit/php-file-iterator": "^4.1.0", - "phpunit/php-invoker": "^4.0.0", - "phpunit/php-text-template": "^3.0.1", - "phpunit/php-timer": "^6.0.0", - "sebastian/cli-parser": "^2.0.1", - "sebastian/code-unit": "^2.0.0", - "sebastian/comparator": "^5.0.2", - "sebastian/diff": "^5.1.1", - "sebastian/environment": "^6.1.0", - "sebastian/exporter": "^5.1.2", - "sebastian/global-state": "^6.0.2", - "sebastian/object-enumerator": "^5.0.0", - "sebastian/recursion-context": "^5.0.0", - "sebastian/type": "^4.0.0", - "sebastian/version": "^4.0.1" + "php": ">=7.3", + "phpunit/php-code-coverage": "^9.2.31", + "phpunit/php-file-iterator": "^3.0.6", + "phpunit/php-invoker": "^3.1.1", + "phpunit/php-text-template": "^2.0.4", + "phpunit/php-timer": "^5.0.3", + "sebastian/cli-parser": "^1.0.2", + "sebastian/code-unit": "^1.0.8", + "sebastian/comparator": "^4.0.8", + "sebastian/diff": "^4.0.6", + "sebastian/environment": "^5.1.5", + "sebastian/exporter": "^4.0.6", + "sebastian/global-state": "^5.0.7", + "sebastian/object-enumerator": "^4.0.4", + "sebastian/resource-operations": "^3.0.4", + "sebastian/type": "^3.2.1", + "sebastian/version": "^3.0.2" }, "suggest": { - "ext-soap": "To be able to generate mocks based on WSDL files" + "ext-soap": "To be able to generate mocks based on WSDL files", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" }, "bin": [ "phpunit" @@ -2681,7 +2751,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "10.5-dev" + "dev-master": "9.6-dev" } }, "autoload": { @@ -2713,7 +2783,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.33" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.20" }, "funding": [ { @@ -2729,32 +2799,32 @@ "type": "tidelift" } ], - "time": "2024-09-09T06:06:56+00:00" + "time": "2024-07-10T11:45:39+00:00" }, { "name": "sebastian/cli-parser", - "version": "2.0.1", + "version": "1.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "c34583b87e7b7a8055bf6c450c2c77ce32a24084" + "reference": "2b56bea83a09de3ac06bb18b92f068e60cc6f50b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/c34583b87e7b7a8055bf6c450c2c77ce32a24084", - "reference": "c34583b87e7b7a8055bf6c450c2c77ce32a24084", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/2b56bea83a09de3ac06bb18b92f068e60cc6f50b", + "reference": "2b56bea83a09de3ac06bb18b92f068e60cc6f50b", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.0-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -2777,8 +2847,7 @@ "homepage": "https://github.com/sebastianbergmann/cli-parser", "support": { "issues": "https://github.com/sebastianbergmann/cli-parser/issues", - "security": "https://github.com/sebastianbergmann/cli-parser/security/policy", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/2.0.1" + "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.2" }, "funding": [ { @@ -2786,32 +2855,32 @@ "type": "github" } ], - "time": "2024-03-02T07:12:49+00:00" + "time": "2024-03-02T06:27:43+00:00" }, { "name": "sebastian/code-unit", - "version": "2.0.0", + "version": "1.0.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "a81fee9eef0b7a76af11d121767abc44c104e503" + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/a81fee9eef0b7a76af11d121767abc44c104e503", - "reference": "a81fee9eef0b7a76af11d121767abc44c104e503", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.0-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -2834,7 +2903,7 @@ "homepage": "https://github.com/sebastianbergmann/code-unit", "support": { "issues": "https://github.com/sebastianbergmann/code-unit/issues", - "source": "https://github.com/sebastianbergmann/code-unit/tree/2.0.0" + "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" }, "funding": [ { @@ -2842,32 +2911,32 @@ "type": "github" } ], - "time": "2023-02-03T06:58:43+00:00" + "time": "2020-10-26T13:08:54+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", - "version": "3.0.0", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d" + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", - "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -2889,7 +2958,7 @@ "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", "support": { "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", - "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/3.0.0" + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" }, "funding": [ { @@ -2897,36 +2966,34 @@ "type": "github" } ], - "time": "2023-02-03T06:59:15+00:00" + "time": "2020-09-28T05:30:19+00:00" }, { "name": "sebastian/comparator", - "version": "5.0.2", + "version": "4.0.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "2d3e04c3b4c1e84a5e7382221ad8883c8fbc4f53" + "reference": "fa0f136dd2334583309d32b62544682ee972b51a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2d3e04c3b4c1e84a5e7382221ad8883c8fbc4f53", - "reference": "2d3e04c3b4c1e84a5e7382221ad8883c8fbc4f53", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a", + "reference": "fa0f136dd2334583309d32b62544682ee972b51a", "shasum": "" }, "require": { - "ext-dom": "*", - "ext-mbstring": "*", - "php": ">=8.1", - "sebastian/diff": "^5.0", - "sebastian/exporter": "^5.0" + "php": ">=7.3", + "sebastian/diff": "^4.0", + "sebastian/exporter": "^4.0" }, "require-dev": { - "phpunit/phpunit": "^10.4" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -2965,8 +3032,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", - "security": "https://github.com/sebastianbergmann/comparator/security/policy", - "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.2" + "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" }, "funding": [ { @@ -2974,33 +3040,33 @@ "type": "github" } ], - "time": "2024-08-12T06:03:08+00:00" + "time": "2022-09-14T12:41:17+00:00" }, { "name": "sebastian/complexity", - "version": "3.2.0", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "68ff824baeae169ec9f2137158ee529584553799" + "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/68ff824baeae169ec9f2137158ee529584553799", - "reference": "68ff824baeae169ec9f2137158ee529584553799", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/25f207c40d62b8b7aa32f5ab026c53561964053a", + "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a", "shasum": "" }, "require": { "nikic/php-parser": "^4.18 || ^5.0", - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.2-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -3023,8 +3089,7 @@ "homepage": "https://github.com/sebastianbergmann/complexity", "support": { "issues": "https://github.com/sebastianbergmann/complexity/issues", - "security": "https://github.com/sebastianbergmann/complexity/security/policy", - "source": "https://github.com/sebastianbergmann/complexity/tree/3.2.0" + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.3" }, "funding": [ { @@ -3032,33 +3097,33 @@ "type": "github" } ], - "time": "2023-12-21T08:37:17+00:00" + "time": "2023-12-22T06:19:30+00:00" }, { "name": "sebastian/diff", - "version": "5.1.1", + "version": "4.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "c41e007b4b62af48218231d6c2275e4c9b975b2e" + "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/c41e007b4b62af48218231d6c2275e4c9b975b2e", - "reference": "c41e007b4b62af48218231d6c2275e4c9b975b2e", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/ba01945089c3a293b01ba9badc29ad55b106b0bc", + "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0", - "symfony/process": "^6.4" + "phpunit/phpunit": "^9.3", + "symfony/process": "^4.2 || ^5" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.1-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -3090,8 +3155,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "security": "https://github.com/sebastianbergmann/diff/security/policy", - "source": "https://github.com/sebastianbergmann/diff/tree/5.1.1" + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.6" }, "funding": [ { @@ -3099,27 +3163,27 @@ "type": "github" } ], - "time": "2024-03-02T07:15:17+00:00" + "time": "2024-03-02T06:30:58+00:00" }, { "name": "sebastian/environment", - "version": "6.1.0", + "version": "5.1.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "8074dbcd93529b357029f5cc5058fd3e43666984" + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/8074dbcd93529b357029f5cc5058fd3e43666984", - "reference": "8074dbcd93529b357029f5cc5058fd3e43666984", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "suggest": { "ext-posix": "*" @@ -3127,7 +3191,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "6.1-dev" + "dev-master": "5.1-dev" } }, "autoload": { @@ -3146,7 +3210,7 @@ } ], "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "https://github.com/sebastianbergmann/environment", + "homepage": "http://www.github.com/sebastianbergmann/environment", "keywords": [ "Xdebug", "environment", @@ -3154,8 +3218,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", - "security": "https://github.com/sebastianbergmann/environment/security/policy", - "source": "https://github.com/sebastianbergmann/environment/tree/6.1.0" + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" }, "funding": [ { @@ -3163,34 +3226,34 @@ "type": "github" } ], - "time": "2024-03-23T08:47:14+00:00" + "time": "2023-02-03T06:03:51+00:00" }, { "name": "sebastian/exporter", - "version": "5.1.2", + "version": "4.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "955288482d97c19a372d3f31006ab3f37da47adf" + "reference": "78c00df8f170e02473b682df15bfcdacc3d32d72" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/955288482d97c19a372d3f31006ab3f37da47adf", - "reference": "955288482d97c19a372d3f31006ab3f37da47adf", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/78c00df8f170e02473b682df15bfcdacc3d32d72", + "reference": "78c00df8f170e02473b682df15bfcdacc3d32d72", "shasum": "" }, "require": { - "ext-mbstring": "*", - "php": ">=8.1", - "sebastian/recursion-context": "^5.0" + "php": ">=7.3", + "sebastian/recursion-context": "^4.0" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "ext-mbstring": "*", + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.1-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -3232,8 +3295,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "security": "https://github.com/sebastianbergmann/exporter/security/policy", - "source": "https://github.com/sebastianbergmann/exporter/tree/5.1.2" + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.6" }, "funding": [ { @@ -3241,35 +3303,38 @@ "type": "github" } ], - "time": "2024-03-02T07:17:12+00:00" + "time": "2024-03-02T06:33:00+00:00" }, { "name": "sebastian/global-state", - "version": "6.0.2", + "version": "5.0.7", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "987bafff24ecc4c9ac418cab1145b96dd6e9cbd9" + "reference": "bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/987bafff24ecc4c9ac418cab1145b96dd6e9cbd9", - "reference": "987bafff24ecc4c9ac418cab1145b96dd6e9cbd9", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9", + "reference": "bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9", "shasum": "" }, "require": { - "php": ">=8.1", - "sebastian/object-reflector": "^3.0", - "sebastian/recursion-context": "^5.0" + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" }, "require-dev": { "ext-dom": "*", - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-uopz": "*" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -3288,14 +3353,13 @@ } ], "description": "Snapshotting of global state", - "homepage": "https://www.github.com/sebastianbergmann/global-state", + "homepage": "http://www.github.com/sebastianbergmann/global-state", "keywords": [ "global state" ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "security": "https://github.com/sebastianbergmann/global-state/security/policy", - "source": "https://github.com/sebastianbergmann/global-state/tree/6.0.2" + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.7" }, "funding": [ { @@ -3303,33 +3367,33 @@ "type": "github" } ], - "time": "2024-03-02T07:19:19+00:00" + "time": "2024-03-02T06:35:11+00:00" }, { "name": "sebastian/lines-of-code", - "version": "2.0.2", + "version": "1.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0" + "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/856e7f6a75a84e339195d48c556f23be2ebf75d0", - "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/e1e4a170560925c26d424b6a03aed157e7dcc5c5", + "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5", "shasum": "" }, "require": { "nikic/php-parser": "^4.18 || ^5.0", - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.0-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -3352,8 +3416,7 @@ "homepage": "https://github.com/sebastianbergmann/lines-of-code", "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "security": "https://github.com/sebastianbergmann/lines-of-code/security/policy", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.2" + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.4" }, "funding": [ { @@ -3361,34 +3424,34 @@ "type": "github" } ], - "time": "2023-12-21T08:38:20+00:00" + "time": "2023-12-22T06:20:34+00:00" }, { "name": "sebastian/object-enumerator", - "version": "5.0.0", + "version": "4.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906" + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/202d0e344a580d7f7d04b3fafce6933e59dae906", - "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", "shasum": "" }, "require": { - "php": ">=8.1", - "sebastian/object-reflector": "^3.0", - "sebastian/recursion-context": "^5.0" + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -3410,7 +3473,7 @@ "homepage": "https://github.com/sebastianbergmann/object-enumerator/", "support": { "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", - "source": "https://github.com/sebastianbergmann/object-enumerator/tree/5.0.0" + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" }, "funding": [ { @@ -3418,32 +3481,32 @@ "type": "github" } ], - "time": "2023-02-03T07:08:32+00:00" + "time": "2020-10-26T13:12:34+00:00" }, { "name": "sebastian/object-reflector", - "version": "3.0.0", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "24ed13d98130f0e7122df55d06c5c4942a577957" + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/24ed13d98130f0e7122df55d06c5c4942a577957", - "reference": "24ed13d98130f0e7122df55d06c5c4942a577957", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -3465,7 +3528,7 @@ "homepage": "https://github.com/sebastianbergmann/object-reflector/", "support": { "issues": "https://github.com/sebastianbergmann/object-reflector/issues", - "source": "https://github.com/sebastianbergmann/object-reflector/tree/3.0.0" + "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" }, "funding": [ { @@ -3473,32 +3536,32 @@ "type": "github" } ], - "time": "2023-02-03T07:06:18+00:00" + "time": "2020-10-26T13:14:26+00:00" }, { "name": "sebastian/recursion-context", - "version": "5.0.0", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "05909fb5bc7df4c52992396d0116aed689f93712" + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/05909fb5bc7df4c52992396d0116aed689f93712", - "reference": "05909fb5bc7df4c52992396d0116aed689f93712", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -3528,7 +3591,61 @@ "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/5.0.0" + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:07:39+00:00" + }, + { + "name": "sebastian/resource-operations", + "version": "3.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/resource-operations.git", + "reference": "05d5692a7993ecccd56a03e40cd7e5b09b1d404e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/05d5692a7993ecccd56a03e40cd7e5b09b1d404e", + "reference": "05d5692a7993ecccd56a03e40cd7e5b09b1d404e", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides a list of PHP built-in functions that operate on resources", + "homepage": "https://www.github.com/sebastianbergmann/resource-operations", + "support": { + "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.4" }, "funding": [ { @@ -3536,32 +3653,32 @@ "type": "github" } ], - "time": "2023-02-03T07:05:40+00:00" + "time": "2024-03-14T16:00:52+00:00" }, { "name": "sebastian/type", - "version": "4.0.0", + "version": "3.2.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "462699a16464c3944eefc02ebdd77882bd3925bf" + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/462699a16464c3944eefc02ebdd77882bd3925bf", - "reference": "462699a16464c3944eefc02ebdd77882bd3925bf", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.5" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -3584,7 +3701,7 @@ "homepage": "https://github.com/sebastianbergmann/type", "support": { "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/4.0.0" + "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" }, "funding": [ { @@ -3592,29 +3709,29 @@ "type": "github" } ], - "time": "2023-02-03T07:10:45+00:00" + "time": "2023-02-03T06:13:03+00:00" }, { "name": "sebastian/version", - "version": "4.0.1", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/version.git", - "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17" + "reference": "c6c1022351a901512170118436c764e473f6de8c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c51fa83a5d8f43f1402e3f32a005e6262244ef17", - "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", + "reference": "c6c1022351a901512170118436c764e473f6de8c", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -3637,7 +3754,7 @@ "homepage": "https://github.com/sebastianbergmann/version", "support": { "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/4.0.1" + "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" }, "funding": [ { @@ -3645,7 +3762,7 @@ "type": "github" } ], - "time": "2023-02-07T11:34:05+00:00" + "time": "2020-09-28T06:39:44+00:00" }, { "name": "squizlabs/php_codesniffer", @@ -3727,25 +3844,91 @@ ], "time": "2024-07-21T23:26:44+00:00" }, + { + "name": "symfony/deprecation-contracts", + "version": "v2.5.3", + "source": { + "type": "git", + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "80d075412b557d41002320b96a096ca65aa2c98d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/80d075412b557d41002320b96a096ca65aa2c98d", + "reference": "80d075412b557d41002320b96a096ca65aa2c98d", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "files": [ + "function.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.3" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-01-24T14:02:46+00:00" + }, { "name": "symfony/finder", - "version": "v7.1.4", + "version": "v5.4.43", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "d95bbf319f7d052082fb7af147e0f835a695e823" + "reference": "ae25a9145a900764158d439653d5630191155ca0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/d95bbf319f7d052082fb7af147e0f835a695e823", - "reference": "d95bbf319f7d052082fb7af147e0f835a695e823", + "url": "https://api.github.com/repos/symfony/finder/zipball/ae25a9145a900764158d439653d5630191155ca0", + "reference": "ae25a9145a900764158d439653d5630191155ca0", "shasum": "" }, "require": { - "php": ">=8.2" - }, - "require-dev": { - "symfony/filesystem": "^6.4|^7.0" + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-php80": "^1.16" }, "type": "library", "autoload": { @@ -3773,7 +3956,87 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v7.1.4" + "source": "https://github.com/symfony/finder/tree/v5.4.43" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-08-13T14:03:51+00:00" + }, + { + "name": "symfony/polyfill-php80", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", + "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php80\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php80/tree/v1.31.0" }, "funding": [ { @@ -3789,7 +4052,7 @@ "type": "tidelift" } ], - "time": "2024-08-13T14:28:19+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "theseer/tokenizer", diff --git a/package-lock.json b/package-lock.json index 4970148ff..3be9578e1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@newfold-labs/wp-module-onboarding", - "version": "2.4.0", + "version": "2.4.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@newfold-labs/wp-module-onboarding", - "version": "2.4.0", + "version": "2.4.1", "license": "GPL-2.0-or-later", "dependencies": { "@newfold-labs/js-utility-ui-analytics": "1.2.0", diff --git a/package.json b/package.json index 5dec9f704..a4eec3cd6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@newfold-labs/wp-module-onboarding", - "version": "2.4.0", + "version": "2.4.1", "description": "Next-generation WordPress Onboarding for WordPress sites at Newfold Digital.", "license": "GPL-2.0-or-later", "private": true,