PageSourceSearch

https://daily-tohoku.news/_nuxt/CdEreREp.js

js daily-tohoku.news collected 2026-09-24 18:15:18 UTC 3,430 bytes, 1 lines download raw bytes

1import{h as S,am as V,n as $,o as i,s as b,a9 as n,an as w,q as o,ao as k,au as B,aw as C,e as y,az as q,aV as I,r as P,aW as D,aX as g,aY as F,a as x,p as l,c,C as h,E as N,M as p,t as f,aZ as j}from"./aq7JMwut.js";const E=S({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{default:"label"}},setup(a){const e=a;return V(),(s,m)=>(i(),$(o(k),w(e,{onMousedown:m[0]||(m[0]=t=>{!t.defaultPrevented&&t.detail>1&&t.preventDefault()})}),{default:b(()=>[n(s.$slots,"default")]),_:3},16))}}),W={slots:{root:"",wrapper:"",labelWrapper:"flex content-center items-center justify-between",label:"block font-medium text-default",container:"mt-1 relative",description:"text-muted",error:"mt-2 text-error",hint:"text-muted",help:"mt-2 text-muted"},variants:{size:{xs:{root:"text-xs"},sm:{root:"text-xs"},md:{root:"text-sm"},lg:{root:"text-sm"},xl:{root:"text-base"}},required:{true:{label:"after:content-['*'] after:ms-0.5 after:text-error"}}},defaultVariants:{size:"md"}},O=["id"],K=["id"],M=["id"],A=["id"],X={__name:"FormField",props:{as:{type:null,required:!1},name:{type:String,required:!1},errorPattern:{type:null,required:!1},label:{type:String,required:!1},description:{type:String,required:!1},help:{type:String,required:!1},error:{type:[Boolean,String],required:!1},hint:{type:String,required:!1},size:{type:null,required:!1},required:{type:Boolean,required:!1},eagerValidation:{type:Boolean,required:!1},validateOnInputDelay:{type:Number,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1}},setup(a){const e=a,s=B(),m=C(),t=y(()=>q({extend:q(W),...m.ui?.formField||{}})({size:e.size,required:e.required})),z=I("form-errors",null),d=y(()=>e.error||z?.value?.find(r=>r.name&&(r.name===e.name||e.errorPattern&&r.name.match(e.errorPattern)))?.message),v=P(D()),u=v.value;return g(j,v),g(F,y(()=>({error:d.value,name:e.name,size:e.size,eagerValidation:e.eagerValidation,validateOnInputDelay:e.validateOnInputDelay,errorPattern:e.errorPattern,hint:e.hint,description:e.description,help:e.help,ariaId:u}))),(r,L)=>(i(),$(o(k),{as:a.as,class:l(t.value.root({class:[e.ui?.root,e.class]}))},{default:b(()=>[x("div",{class:l(t.value.wrapper({class:e.ui?.wrapper}))},[a.label||s.label?(i(),c("div",{key:0,class:l(t.value.labelWrapper({class:e.ui?.labelWrapper}))},[N(o(E),{for:v.value,class:l(t.value.label({class:e.ui?.label}))},{default:b(()=>[n(r.$slots,"label",{label:a.label},()=>[p(f(a.label),1)])]),_:3},8,["for","class"]),a.hint||s.hint?(i(),c("span",{key:0,id:`${o(u)}-hint`,class:l(t.value.hint({class:e.ui?.hint}))},[n(r.$slots,"hint",{hint:a.hint},()=>[p(f(a.hint),1)])],10,O)):h("",!0)],2)):h("",!0),a.description||s.description?(i(),c("p",{key:1,id:`${o(u)}-description`,class:l(t.value.description({class:e.ui?.description}))},[n(r.$slots,"description",{description:a.description},()=>[p(f(a.description),1)])],10,K)):h("",!0)],2),x("div",{class:l([(a.label||!!s.label||a.description||!!s.description)&&t.value.container({class:e.ui?.container})])},[n(r.$slots,"default",{error:d.value}),typeof d.value=="string"&&d.value||s.error?(i(),c("div",{key:0,id:`${o(u)}-error`,class:l(t.value.error({class:e.ui?.error}))},[n(r.$slots,"error",{error:d.value},()=>[p(f(d.value),1)])],10,M)):a.help||s.help?(i(),c("div",{key:1,id:`${o(u)}-help`,class:l(t.value.help({class:e.ui?.help}))},[n(r.$slots,"help",{help:a.help},()=>[p(f(a.help),1)])],10,A)):h("",!0)],2)]),_:3},8,["as","class"]))}};export{X as _,E as a};

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.