PageSourceSearch

https://app.searchpilot.com/assets/vite/PageTemplateEditApp-CBTrAjlP.js

js searchpilot.com collected 2026-10-02 03:06:09 UTC 2,025 bytes, 2 lines download raw bytes

1import{j as s}from"./root-Bfop0rm5.js";import{u as n}from"./useSuspenseQuery-BQhhhUjQ.js";import{u as d,g as m}from"./RouterProvider-BbsgWugL.js";import{j as u,b as l,k as c}from"./hooks-uSVSl7l4.js";import{P as g}from"./PageTemplateCreateOrEdit-CMYR0v5D.js";import"./queryOptions-BQvTFV_-.js";import"./useMutation-DrGfYVG5.js";import"./index-C97ZXgRl.js";import"./hooks-BJhLWX9Q.js";import"./react-select.esm-D4GII4TB.js";import"./Select-49a62830.esm-dhgnyRrL.js";import"./Matcher-DOMqNshb.js";import"./MatcherRow-CxZJE3n6.js";import"./PathRegexMatcher-BDEadxHx.js";import"./NormalisedDatasetMatcher-BkAQ_75z.js";import"./PathIsInListMatcher-ClJsz_vf.js";import"./utils-D9yUdcpk.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};a.SENTRY_RELEASE={id:"distillery-frontend"};var e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="d9ef0ad9-5f88-46de-9540-aa9ddaa8385c",a._sentryDebugIdIdentifier="sentry-dbid-d9ef0ad9-5f88-46de-9540-aa9ddaa8385c")}catch{}})();const f=m("/$accountSlug/page_template/$pageTemplateId/edit"),$=()=>{const a=d(),e=f.useParams(),{data:t}=n(u({accountSlug:e.accountSlug,pageTemplateId:e.pageTemplateId})),{data:r}=n(l({accountSlug:e.accountSlug})),p=c({accountSlug:e.accountSlug,pageTemplateId:e.pageTemplateId}),o=()=>a({to:"/$accountSlug/page_template/$pageTemplateId",params:{accountSlug:e.accountSlug,pageTemplateId:e.pageTemplateId}});return s.jsx(g,{mode:"edit",accountSlug:e.accountSlug,pageTemplateId:e.pageTemplateId,headingName:t.name,availableMetrics:r,initialData:{name:t.name,matchingExpression:t.matching_expression??{type:"and",negate:!1,sub_expressions:[]},paramsToKeep:t.params_to_keep,primaryMetricId:t.metrics.find(i=>i.is_primary)?.id??null,additionalMetricIds:t.metrics.filter(i=>!i.is_primary).map(i=>i.id)},isSaving:p.isPending,onCancel:o,onSave:i=>p.mutate(i,{onSuccess:o})})};export{$ as default};
2//# sourceMappingURL=PageTemplateEditApp-CBTrAjlP.js.map

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