1/*! For license information please see 5579.5c628217.chunk.js.LICENSE.txt */ 2"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[5579],{1089(e,a,t){t.d(a,{$C:()=>o,PE:()=>m,Sj:()=>f,Yq:()=>r,cn:()=>c,dc:()=>h,lW:()=>u,r6:()=>l,sg:()=>p,xv:()=>d});var s=t(89379),n=t(58387),i=t(89359);function c(){for(var e=arguments.length,a=new Array(e),t=0;t<e;t++)a[t]=arguments[t];return(0,i.QP)((0,n.$)(a))}function r(e,a){if(!e)return"";return new Date(e).toLocaleDateString("en-US",(0,s.A)({year:"numeric",month:"short",day:"numeric"},a?{timeZone:a}:{}))}function l(e,a){if(!e)return"";return new Date(e).toLocaleDateString("en-US",(0,s.A)({year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"},a?{timeZone:a}:{}))}function o(){return Math.random().toString(36).substring(2,9)}function d(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50;return e?e.length>a?e.substring(0,a)+"...":e:""}async function u(e){try{return await navigator.clipboard.writeText(e),!0}catch(a){return console.error("Failed to copy:",a),!1}}function m(e,a){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"application/json";const s=new Blob(["string"===typeof e?e:JSON.stringify(e,null,2)],{type:t}),n=URL.createObjectURL(s),i=document.createElement("a");i.href=n,i.download=a,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(n)}function p(e,a){let t;return function(){for(var s=arguments.length,n=new Array(s),i=0;i<s;i++)n[i]=arguments[i];clearTimeout(t),t=setTimeout(()=>{clearTimeout(t),e(...n)},a)}}function f(e,a){return"".concat(window.location.origin,"/f/").concat(a||e)}function h(e,a){const t=a||e;return'<div id="ff-'.concat(t,'"></div>\n<script src="').concat(window.location.origin,'/embed.js" data-form-id="').concat(t,'"><\/script>')}},13390(e,a,t){t.d(a,{$:()=>m,r:()=>u});var s=t(89379),n=t(53986),i=t(65043),c=t(16851),r=t(10917),l=t(1089),o=t(70579);const d=["className","variant","size","asChild"],u=(0,r.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),m=i.forwardRef((e,a)=>{let{className:t,variant:i,size:r,asChild:m=!1}=e,p=(0,n.A)(e,d);const f=m?c.DX:"button";return(0,o.jsx)(f,(0,s.A)({className:(0,l.cn)(u({variant:i,size:r,className:t})),ref:a},p))});m.displayName="Button"},51654(e,a,t){t.d(a,{d:()=>d});var s=t(89379),n=t(53986),i=t(65043),c=t(77943),r=t(1089),l=t(70579);const o=["className"],d=i.forwardRef((e,a)=>{let{className:t}=e,i=(0,n.A)(e,o);return(0,l.jsx)(c.bL,(0,s.A)((0,s.A)({className:(0,r.cn)("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",t)},i),{},{ref:a,children:(0,l.jsx)(c.zi,{className:(0,r.cn)("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})}))});d.displayName=c.bL.displayName},55579(e,a,t){t.r(a),t.d(a,{default:()=>_});
2var s=t(89379),n=t(65043),i=t(45685),c=t(79722),r=t(13390),l=t(92264),o=t(59938),d=t(51654),u=t(91140),m=t(84370),p=t(56328),f=t(65469);const h=(0,t(77784).A)("phone-call",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}],["path",{d:"M14.05 2a9 9 0 0 1 8 7.94",key:"vmijpz"}],["path",{d:"M14.05 6A5 5 0 0 1 18 10",key:"13nbpp"}]]);var x=t(70764),g=t(77819),v=t(22024),y=t(68899),N=t(36210),b=t(64702),j=t(4980),w=t(70579);const A="https://fantasticforms.com",k=()=>{const e=localStorage.getItem("ff_token");return e?{Authorization:"Bearer ".concat(e)}:{}};function _(){const[e,a]=(0,n.useState)([]),[t,_]=(0,n.useState)(!0);(0,n.useEffect)(()=>{(async()=>{try{const e=await j._0.getAll(),t=(Array.isArray(e)?e:(null===e||void 0===e?void 0:e.forms)||[]).map(e=>{var a;const t=(null===e||void 0===e||null===(a=e.settings)||void 0===a?void 0:a.callrail)||{};return(0,s.A)((0,s.A)({},e),{},{_c:{tokenInput:"",enabled:!!t.enabled,configured:!(!t.api_token||!t.account_id),maskedToken:t.api_token?"\u2026".concat(t.api_token.slice(-6)):null,accountId:t.account_id?String(t.account_id):"",accountName:t.account_name||null,accounts:[],lastError:t.last_error||null,saving:!1,testing:!1}})});a(t)}catch(e){console.error(e),p.oR.error("Failed to load CallRail settings")}finally{_(!1)}})()},[]);const C=(e,t)=>a(a=>a.map(a=>a.id===e?(0,s.A)((0,s.A)({},a),{},{_c:(0,s.A)((0,s.A)({},a._c),t)}):a));return t?(0,w.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-zinc-50",children:(0,w.jsx)(b.A,{size:48})}):(0,w.jsxs)("div",{className:"min-h-screen bg-zinc-50","data-testid":"callrail-page",children:[(0,w.jsx)("header",{className:"bg-white border-b border-zinc-200",children:(0,w.jsxs)("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 h-16 flex items-center gap-4",children:[(0,w.jsx)(i.N_,{to:"/integrations",className:"p-2 hover:bg-zinc-100 rounded-lg",children:(0,w.jsx)(f.A,{className:"w-5 h-5"})}),(0,w.jsxs)("div",{className:"flex items-center gap-3",children:[(0,w.jsx)("div",{className:"w-8 h-8 bg-[#0091EA] rounded-lg flex items-center justify-center",children:(0,w.jsx)(h,{className:"w-4 h-4 text-white"})}),(0,w.jsx)("h1",{className:"text-xl font-bold text-zinc-900",children:"CallRail"})]})]})}),(0,w.jsxs)("main",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 py-8 space-y-8",children:[(0,w.jsxs)(u.Zp,{children:[(0,w.jsx)(u.aR,{children:(0,w.jsx)(u.ZB,{className:"text-base",children:"How it works"})}),(0,w.jsxs)(u.Wu,{className:"space-y-4",children:[(0,w.jsxs)("ol",{className:"text-sm text-zinc-700 space-y-2 list-decimal list-inside",children:[(0,w.jsxs)("li",{children:["In CallRail, open"," ",(0,w.jsxs)("a",{href:"https://app.callrail.com/account/api-keys",target:"_blank",rel:"noopener noreferrer",className:"underline inline-flex items-center gap-0.5",children:["Account \u2192 Integrations \u2192 API Keys ",(0,w.jsx)(x.A,{className:"w-3 h-3"})]})," ","and click ",(0,w.jsx)("strong",{children:"Create API Key"}),"."]}),(0,w.jsx)("li",{children:"Copy the token (32-character alphanumeric string)."}),(0,w.jsxs)("li",{children:["Paste it below, click ",(0,w.jsx)("strong",{children:"Test"})," to load your accounts, pick one, and click ",(0,w.jsx)("strong",{children:"Save"}),"."]}),(0,w.jsxs)("li",{children:["Submissions become CallRail ",(0,w.jsx)("em",{children:"Form Submissions"})," with attribution (UTM, gclid, fbclid, msclkid, referrer, landing page) forwarded \u2014 so they unify with calls in your CallRail reports."]})]}),(0,w.jsx)("p",{className:"text-xs text-zinc-500",children:"Forms without an email or phone field are skipped (CallRail requires at least one identifier to match a visitor session)."})]})]}),(0,w.jsxs)("section",{className:"space-y-3","data-testid":"forms-section",children:[(0,w.jsxs)("div",{className:"flex items-center justify-between",children:[(0,w.jsx)("h2",{className:"text-base font-semibold text-zinc-900",children:"Your forms"}),(0,w.jsxs)("span",{className:"text-xs text-zinc-500",children:[e.length," ",1===e.length?"form":"forms"]})]}),0===e.length?(0,w.jsx)(u.Zp,{children:(0,w.jsxs)(u.Wu,{className:"py-10 text-center text-sm text-zinc-500",children:["No forms yet. ",(0,w.jsx)(i.N_,{to:"/dashboard",className:"text-zinc-900 underline",children:"Go to dashboard"}),"."]})}):(0,w.jsx)("div",{className:"space-y-3",children:e.map(e=>(0,w.jsx)(u.Zp,{"data-testid":"form-row-".concat(e.id),children:(0,w.jsxs)(u.Wu,{className:"p-5 space-y-3",children:[(0,w.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,w.jsxs)("div",{className:"min-w-0",children:[(0,w.jsx)("p",{className:"font-medium text-zinc-900 truncate",children:e.title||"Untitled form"}),e._c.configured?(0,w.jsxs)("p",{className:"text-xs text-zinc-500 mt-0.5",children:["Connected to account ",(0,w.jsx)("strong",{children:e._c.accountName})," ","\xb7 token ",(0,w.jsx)("code",{className:"px-1 bg-zinc-100 rounded",children:e._c.maskedToken})]}):(0,w.jsx)("p",{className:"text-xs text-zinc-400 mt-0.5",children:"Not connected"}),e._c.lastError&&(0,w.jsxs)("p",{className:"text-xs text-red-600 mt-1 inline-flex items-center gap-1",children:[(0,w.jsx)(g.A,{className:"w-3 h-3"})," Last sync failed: ",e._c.lastError]})]}),e._c.configured&&(0,w.jsxs)("div",{className:"flex items-center gap-2 shrink-0",children:[(0,w.jsx)("span",{className:"text-xs text-zinc-500",children:e._c.enabled?"Active":"Paused"}),(0,w.jsx)(d.d,{checked:e._c.enabled,onCheckedChange:a=>(async(e,a)=>{if(e._c.configured){C(e.id,{saving:!0});try{await c.A.put("".concat(A,"/api/callrail/forms/").concat(e.id),{enabled:a},{headers:(0,s.A)((0,s.A)({},k()),{},{"Content-Type":"application/json"})}),C(e.id,{enabled:a}),p.oR.success(a?"CallRail sync resumed":"CallRail sync paused")}catch(i){var t,n;p.oR.error((null===i||void 0===i||null===(t=i.response)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.detail)||"Failed to update"),C(e.id,{enabled:!a})}finally{C(e.id,{saving:!1})}}else p.oR.error("Save a connection first, then toggle it on.")})(e,a),"data-testid":"callrail-toggle-".concat(e.id)})]})]}),(0,w.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:[(0,w.jsxs)("div",{children:[(0,w.jsxs)(o.J,{className:"text-xs text-zinc-500",children:["CallRail API token",e._c.configured?" (paste a new one to replace)":""]}),(0,w.jsx)(l.p,{placeholder:"abc123\u2026",value:e._c.tokenInput,onChange:a=>C(e.id,{tokenInput:a.target.value}),"data-testid":"callrail-token-".concat(e.id),className:"font-mono text-xs",type:"password",autoComplete:"off"})]}),(0,w.jsxs)("div",{children:[(0,w.jsx)(o.J,{className:"text-xs text-zinc-500",children:"Account"}),(0,w.jsxs)(m.l6,{value:e._c.accountId||void 0,onValueChange:a=>C(e.id,{accountId:a}),disabled:0===e._c.accounts.length,children:[(0,w.jsx)(m.bq,{className:"text-xs","data-testid":"callrail-account-".concat(e.id),children:(0,w.jsx)(m.yv,{placeholder:0===e._c.accounts.length?"Click Test to load accounts":"Pick an account"})}),(0,w.jsx)(m.gC,{children:e._c.accounts.map(e=>(0,w.jsx)(m.eb,{value:String(e.id),className:"text-xs",children:e.name},e.id))})]})]})]}),(0,w.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,w.jsxs)(r.$,{variant:"outline",size:"sm",onClick:()=>(async e=>{const a=(e._c.tokenInput||"").trim();if(a){C(e.id,{testing:!0});try{var t;const{data:n}=await c.A.post("".concat(A,"/api/callrail/test"),{api_token:a},{headers:(0,s.A)((0,s.A)({},k()),{},{"Content-Type":"application/json"})}),i=n.accounts||[];p.oR.success("Connected \u2014 found ".concat(i.length," account").concat(1===i.length?"":"s")),C(e.id,{accounts:i,accountId:e._c.accountId||(null!==(t=i[0])&&void 0!==t&&t.id?String(i[0].id):"")})}catch(r){var n,i;p.oR.error((null===r||void 0===r||null===(n=r.response)||void 0===n||null===(i=n.data)||void 0===i?void 0:i.detail)||"Could not reach CallRail")}finally{C(e.id,{testing:!1})}}else p.oR.error("Paste your CallRail API token first")})(e),disabled:e._c.testing||e._c.saving,"data-testid":"callrail-test-".concat(e.id),children:[e._c.testing?(0,w.jsx)(v.A,{className:"w-4 h-4 animate-spin"}):(0,w.jsx)(y.A,{className:"w-4 h-4 mr-1"}),"Test"]}),(0,w.jsxs)(r.$,{size:"sm",onClick:()=>(async e=>{const a=(e._c.tokenInput||"").trim(),t=e._c.accountId||null;if(a)if(t){C(e.id,{saving:!0});try{const{data:n}=await c.A.put("".concat(A,"/api/callrail/forms/").concat(e.id),{enabled:!0,api_token:a,account_id:t},{headers:(0,s.A)((0,s.A)({},k()),{},{"Content-Type":"application/json"})});p.oR.success('Connected \u2014 submissions will sync to "'.concat(n.account_name,'"')),C(e.id,{enabled:!0,configured:!0,maskedToken:n.api_token_masked||null,accountId:n.account_id?String(n.account_id):e._c.accountId,accountName:n.account_name||null,tokenInput:"",lastError:null})}catch(r){var n,i;p.oR.error((null===r||void 0===r||null===(n=r.response)||void 0===n||null===(i=n.data)||void 0===i?void 0:i.detail)||"Failed to save CallRail connection")}finally{C(e.id,{saving:!1})}}else p.oR.error("Pick an account first (click Test)");else p.oR.error("Paste your CallRail API token first")})(e),disabled:e._c.saving||e._c.testing,"data-testid":"callrail-save-".concat(e.id),children:[e._c.saving?(0,w.jsx)(v.A,{className:"w-4 h-4 animate-spin"}):(0,w.jsx)(N.A,{className:"w-4 h-4 mr-1"}),e._c.configured?"Replace":"Save"]}),e._c.configured&&(0,w.jsx)(r.$,{variant:"ghost",size:"sm",onClick:()=>(async e=>{if(window.confirm("Disconnect CallRail? New submissions will no longer sync.")){C(e.id,{saving:!0});try{await c.A.put("".concat(A,"/api/callrail/forms/").concat(e.id),{enabled:!1},{headers:(0,s.A)((0,s.A)({},k()),{},{"Content-Type":"application/json"})}),p.oR.success("Disconnected"),C(e.id,{enabled:!1,configured:!1,maskedToken:null,accountId:"",accountName:null,accounts:[],tokenInput:"",lastError:null})}catch(a){p.oR.error("Failed to disconnect")}finally{C(e.id,{saving:!1})}}})(e),disabled:e._c.saving,"data-testid":"callrail-disconnect-".concat(e.id),children:"Disconnect"})]})]})},e.id))})]})]})]})}},59938(e,a,t){t.d(a,{J:()=>m});var s=t(89379),n=t(53986),i=t(65043),c=t(65131),r=t(10917),l=t(1089),o=t(70579);const d=["className"],u=(0,r.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),m=i.forwardRef((e,a)=>{let{className:t}=e,i=(0,n.A)(e,d);return(0,o.jsx)(c.b,(0,s.A)({ref:a,className:(0,l.cn)(u(),t)},i))});
2m.displayName=c.b.displayName},65131(e,a,t){t.d(a,{b:()=>u});var s=t(89379),n=t(65043),i=t(53986),c=(t(97950),t(16851)),r=t(70579);const l=["asChild"];var o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,a)=>{const t=(0,c.TL)("Primitive.".concat(a)),o=n.forwardRef((e,n)=>{const{asChild:c}=e,o=(0,i.A)(e,l),d=c?t:a;return"undefined"!==typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(d,(0,s.A)((0,s.A)({},o),{},{ref:n}))});return o.displayName="Primitive.".concat(a),(0,s.A)((0,s.A)({},e),{},{[a]:o})},{});var d=n.forwardRef((e,a)=>(0,r.jsx)(o.label,(0,s.A)((0,s.A)({},e),{},{ref:a,onMouseDown:a=>{var t;a.target.closest("button, input, select, textarea")||(null===(t=e.onMouseDown)||void 0===t||t.call(e,a),!a.defaultPrevented&&a.detail>1&&a.preventDefault())}})));d.displayName="Label";var u=d},68899(e,a,t){t.d(a,{A:()=>s});const s=(0,t(77784).A)("refresh-ccw",[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]])},70764(e,a,t){t.d(a,{A:()=>s});const s=(0,t(77784).A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},77819(e,a,t){t.d(a,{A:()=>s});const s=(0,t(77784).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},84370(e,a,t){t.d(a,{bq:()=>b,eb:()=>k,gC:()=>A,l6:()=>y,yv:()=>N});var s=t(89379),n=t(53986),i=t(65043),c=t(70962),r=t(36210),l=t(92382),o=t(15711),d=t(1089),u=t(70579);const m=["className","children"],p=["className"],f=["className"],h=["className","children","position"],x=["className"],g=["className","children"],v=["className"],y=c.bL,N=(c.YJ,c.WT),b=i.forwardRef((e,a)=>{let{className:t,children:i}=e,r=(0,n.A)(e,m);return(0,u.jsxs)(c.l9,(0,s.A)((0,s.A)({ref:a,className:(0,d.cn)("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t)},r),{},{children:[i,(0,u.jsx)(c.In,{asChild:!0,children:(0,u.jsx)(l.A,{className:"h-4 w-4 opacity-50"})})]}))});b.displayName=c.l9.displayName;const j=i.forwardRef((e,a)=>{let{className:t}=e,i=(0,n.A)(e,p);return(0,u.jsx)(c.PP,(0,s.A)((0,s.A)({ref:a,className:(0,d.cn)("flex cursor-default items-center justify-center py-1",t)},i),{},{children:(0,u.jsx)(o.A,{className:"h-4 w-4"})}))});j.displayName=c.PP.displayName;const w=i.forwardRef((e,a)=>{let{className:t}=e,i=(0,n.A)(e,f);return(0,u.jsx)(c.wn,(0,s.A)((0,s.A)({ref:a,className:(0,d.cn)("flex cursor-default items-center justify-center py-1",t)},i),{},{children:(0,u.jsx)(l.A,{className:"h-4 w-4"})}))});w.displayName=c.wn.displayName;const A=i.forwardRef((e,a)=>{let{className:t,children:i,position:r="popper"}=e,l=(0,n.A)(e,h);return(0,u.jsx)(c.ZL,{children:(0,u.jsxs)(c.UC,(0,s.A)((0,s.A)({ref:a,className:(0,d.cn)("relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-select-content-transform-origin]","popper"===r&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:r},l),{},{children:[(0,u.jsx)(j,{}),(0,u.jsx)(c.LM,{className:(0,d.cn)("p-1","popper"===r&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:i}),(0,u.jsx)(w,{})]}))})});A.displayName=c.UC.displayName;i.forwardRef((e,a)=>{let{className:t}=e,i=(0,n.A)(e,x);return(0,u.jsx)(c.JU,(0,s.A)({ref:a,className:(0,d.cn)("px-2 py-1.5 text-sm font-semibold",t)},i))}).displayName=c.JU.displayName;
2const k=i.forwardRef((e,a)=>{let{className:t,children:i}=e,l=(0,n.A)(e,g);return(0,u.jsxs)(c.q7,(0,s.A)((0,s.A)({ref:a,className:(0,d.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t)},l),{},{children:[(0,u.jsx)("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,u.jsx)(c.VF,{children:(0,u.jsx)(r.A,{className:"h-4 w-4"})})}),(0,u.jsx)(c.p4,{children:i})]}))});k.displayName=c.q7.displayName;i.forwardRef((e,a)=>{let{className:t}=e,i=(0,n.A)(e,v);return(0,u.jsx)(c.wv,(0,s.A)({ref:a,className:(0,d.cn)("-mx-1 my-1 h-px bg-muted",t)},i))}).displayName=c.wv.displayName},91140(e,a,t){t.d(a,{BT:()=>g,Wu:()=>v,ZB:()=>x,Zp:()=>f,aR:()=>h});var s=t(89379),n=t(53986),i=t(65043),c=t(1089),r=t(70579);const l=["className"],o=["className"],d=["className"],u=["className"],m=["className"],p=["className"],f=i.forwardRef((e,a)=>{let{className:t}=e,i=(0,n.A)(e,l);return(0,r.jsx)("div",(0,s.A)({ref:a,className:(0,c.cn)("rounded-xl border bg-card text-card-foreground shadow",t)},i))});f.displayName="Card";const h=i.forwardRef((e,a)=>{let{className:t}=e,i=(0,n.A)(e,o);return(0,r.jsx)("div",(0,s.A)({ref:a,className:(0,c.cn)("flex flex-col space-y-1.5 p-6",t)},i))});h.displayName="CardHeader";const x=i.forwardRef((e,a)=>{let{className:t}=e,i=(0,n.A)(e,d);return(0,r.jsx)("div",(0,s.A)({ref:a,className:(0,c.cn)("font-semibold leading-none tracking-tight",t)},i))});x.displayName="CardTitle";const g=i.forwardRef((e,a)=>{let{className:t}=e,i=(0,n.A)(e,u);return(0,r.jsx)("div",(0,s.A)({ref:a,className:(0,c.cn)("text-sm text-muted-foreground",t)},i))});g.displayName="CardDescription";const v=i.forwardRef((e,a)=>{let{className:t}=e,i=(0,n.A)(e,m);return(0,r.jsx)("div",(0,s.A)({ref:a,className:(0,c.cn)("p-6 pt-0",t)},i))});v.displayName="CardContent";i.forwardRef((e,a)=>{let{className:t}=e,i=(0,n.A)(e,p);return(0,r.jsx)("div",(0,s.A)({ref:a,className:(0,c.cn)("flex items-center p-6 pt-0",t)},i))}).displayName="CardFooter"},92264(e,a,t){t.d(a,{p:()=>o});var s=t(89379),n=t(53986),i=t(65043),c=t(1089),r=t(70579);const l=["className","type"],o=i.forwardRef((e,a)=>{let{className:t,type:i}=e,o=(0,n.A)(e,l);return(0,r.jsx)("input",(0,s.A)({type:i,className:(0,c.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),ref:a},o))});o.displayName="Input"}}]); 3//# sourceMappingURL=5579.5c628217.chunk.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.