PageSourceSearch

https://mygon.com/_nuxt/CKI_M_S_2.js

js mygon.com collected 2026-09-25 19:24:15 UTC 4,089 bytes, 1 lines download raw bytes

1import{$ as e,D as t,E as n,Ft as r,On as i,Qn as a,Ut as o,_ as s,b as c,ct as l,er as u,et as d,g as f,k as p,mt as m,nr as h,qt as g,v as _,xt as v,y,z as b}from"./CSrvwgYr.js";import{t as x}from"./CqGvXbBB.js";import{i as S,r as C,t as w}from"./_U0kJnLQ2.js";import{t as T}from"./vYCX6azS2.js";import{a as E,i as D,n as O,r as k,t as A}from"./aNZdDTKz2.js";import{t as j}from"./BvkwWQiH2.js";var M=p({__name:`DialogPortal`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){let t=e;return(e,n)=>(m(),_(i(T),u(b(t)),{default:g(()=>[v(e.$slots,`default`)]),_:3},16))}}),N=p({__name:`DialogTrigger`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e,n=E(),{forwardRef:r,currentElement:a}=S();return n.contentId||=C(void 0,`reka-dialog-content`),l(()=>{n.triggerElement.value=a.value}),(e,a)=>(m(),_(i(w),d(t,{ref:i(r),type:e.as===`button`?`button`:void 0,"aria-haspopup":`dialog`,"aria-expanded":i(n).open.value||!1,"aria-controls":i(n).open.value?i(n).contentId:void 0,"data-state":i(n).open.value?`open`:`closed`,onClick:i(n).onOpenToggle}),{default:g(()=>[v(e.$slots,`default`)]),_:3},16,[`type`,`aria-expanded`,`aria-controls`,`data-state`,`onClick`]))}}),P={key:0,class:`flex w-full justify-between items-center px-4 py-3 border-b border-neutral/20 shrink-0`},F={class:`flex-1 overflow-y-auto`},I={key:2,class:`flex flex-row justify-end gap-2 p-2 border-t border-neutral/20 shrink-0`},L=Object.assign(p({__name:`BaseDialog.client`,props:e({title:{},maxWidth:{default:`768px`},showHeader:{type:Boolean,default:!0},showCloseButton:{type:Boolean,default:!0},showFooter:{type:Boolean,default:!1},closeOnOverlayClick:{type:Boolean,default:!0},fullScreen:{type:Boolean,default:!0},contentClass:{}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:e([`close`],[`update:modelValue`]),setup(e,{emit:l}){let u=e,d=l,p=x(),b=r(e,`modelValue`);o(()=>{p.value=b.value});let S=()=>{d(`close`),b.value=!1},C=()=>{u.closeOnOverlayClick&&S()},w=f(()=>u.fullScreen?`data-[state=open]:animate-dialog-show data-[state=closed]:animate-dialog-hide overflow-hidden fixed top-[50%] left-[50%] h-full md:h-auto md:max-h-[80vh] md:max-w-[600px] w-full translate-x-[-50%] translate-y-[-50%] sm:rounded-lg bg-background shadow-2xl focus:outline-none z-100 flex flex-col py-safe`:`data-[state=open]:animate-dialog-show data-[state=closed]:animate-dialog-hide overflow-hidden fixed top-[50%] left-[50%] md:max-h-[80vh] w-[90dvw] max-w-[600px] translate-x-[-50%] translate-y-[-50%] sm:rounded-lg bg-background shadow-2xl focus:outline-none z-100 flex flex-col rounded-lg`);return f(()=>({maxWidth:u.maxWidth})),(r,o)=>{let l=N,u=A,d=k,f=O,p=M,x=D;return m(),_(x,{open:b.value,"onUpdate:open":o[0]||=e=>b.value=e,modal:!0},{default:g(()=>[t(p,null,{default:g(()=>[t(l,{"as-child":``},{default:g(()=>[v(r.$slots,`trigger`)]),_:3}),b.value?(m(),c(`div`,{key:0,class:`bg-black/50 data-[state=open]:animate-overlay-show data-[state=closed]:animate-overlay-hide fixed inset-0 z-100`,onClick:C})):y(``,!0),t(f,{class:a([i(w),e.contentClass])},{default:g(()=>[e.showHeader?(m(),c(`div`,P,[v(r.$slots,`header`,{},()=>[e.title?(m(),_(u,{key:0,class:`text-xl font-medium`},{default:g(()=>
1[n(h(e.title),1)]),_:1})):y(``,!0)]),e.showCloseButton?(m(),_(d,{key:0,class:`text-foreground hover:bg-muted inline-flex size-8 p-1 appearance-none items-center justify-center rounded-full`,"aria-label":`Close`,onClick:S},{default:g(()=>[t(i(j),{class:`w-6 h-6`})]),_:1})):y(``,!0)])):e.showCloseButton?(m(),_(d,{key:1,class:`text-foreground bg-muted inline-flex size-8 p-1 appearance-none items-center justify-center rounded-full absolute top-2 right-2 mt-safe`,"aria-label":`Close`,onClick:S},{default:g(()=>[t(i(j),{class:`w-6 h-6`})]),_:1})):y(``,!0),s(`div`,F,[v(r.$slots,`content`)]),e.showFooter||r.$slots.footer?(m(),c(`div`,I,[v(r.$slots,`footer`,{close:S})])):y(``,!0)]),_:3},8,[`class`])]),_:3})]),_:3},8,[`open`])}}}),{__name:`BaseDialog`});export{L as t};

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.