1import{o as s,c as n,a as e,d as D,a6 as L,b as T,u as j,az as z,aA as H,E as A,g as f,r as d,a7 as N,B as R,e as E,W as F,f as I,i as v,Y as W,F as $,h as U,n as Y,t as i,j as m,k as u,a8 as q,_ as G}from"./index-0c2fc791.js";function g(w,_){return s(),n("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m5.231 13.481L15 17.25m-4.5-15H5.625c-.621 0-1.125.504-1.125 1.125v16.5c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9zm3.75 11.625a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z"})])}const J={class:"h-[50vh] px-[1px] py-[6px]"},K={key:0,class:"box-grid-manual"},O={class:"grid-for-manual"},P=["onClick"],Q={class:"text-[12px] md:text-[14px] lg:text-[16px] font-[500] text-ellipsis overflow-x-hidden whitespace-nowrap"},X={key:0,class:"bg-[#0000006c] rounded-[1rem] bg-manual pb-2 overflow-auto"},Z={class:"overflow-y-auto"},ee={class:"md:px-[2rem] px-[0.75rem] inner-manual"},te={class:"title-text text-center w-full mx-auto px-[0.75rem] pb-[0.5rem] pt-[0.3rem] md:p-[0.5rem] text-[20px] md:text-[25.6px] mt-2"},ae=["innerHTML"],se={key:1,class:"mt-3 image-manual"},ne=["src","alt"],oe={key:1,class:"bg-manual bg-[#0000006c] rounded-[1rem] h-[calc(50vh-14px)] flex flex-col items-center justify-center"},le={class:"mt-[1rem]"},re={key:1,class:"bg-[#0000006c] h-full w-full rounded-[1rem] flex flex-col items-center justify-center"},ce={class:"mt-[1rem] text-lg-[16px] text-[14px]"}
1,ie=D({__name:"ManualView",setup(w){L.locale("th");const _=T(),{t:p}=j(),y=z(),k=H(),{article:b}=A(k);f(()=>{const{notify:a}=y;return a}),f(()=>{const{username:a}=_.data;return a});const t=d(),M=N(),r=d(),o=R(),c=d(99999);d(!1),E(()=>{B()}),F(async()=>{o.setTitle("Manual"),o.setWidth("900px")}),I(async()=>{C()});function C(){o.widthReset(),o.setTitle(""),o.widthReset(),M.setContent(""),o.setCompo("")}function B(){var a;r.value=(a=b.value)==null?void 0:a.filter(l=>l.ar_document)}async function S(a){c.value=a,t.value=r.value[c.value]}const V=a=>{window.open(a,"_blank")};return(a,l)=>(s(),n("div",J,[v(q,{name:"fade",mode:"out-in",appear:""},{default:W(()=>[r.value&&r.value.length?(s(),n("div",K,[e("div",O,[(s(!0),n($,null,U(r.value,(h,x)=>(s(),n("div",{key:x,class:Y(["cursor-pointer hover:brightness-95 menu-deposit-Bgcolor p-[0.5rem] lg:p-[1rem] box-data-show",[x===c.value?"active":""]]),onClick:ue=>S(x)},[e("p",Q,i(h.title),1)],10,P))),128))]),c.value!==99999&&t.value?(s(),n("div",X,[e("div",Z,[e("div",ee,[e("h3",te,i(t.value.title),1),l[1]||(l[1]=e("div",{class:"relative"},[e("div",{class:"absolute inset-0 flex items-center","aria-hidden":"true"},[e("div",{class:"w-full border-t border-gray-400 opacity-60"})])],-1)),t.value.beskrivning?(s(),n("div",{key:0,class:"mt-3",innerHTML:t.value.beskrivning},null,8,ae)):m("",!0),t.value.img_url?(s(),n("div",se,[e("img",{loading:"lazy",src:t.value.img_url,alt:t.value.img_url,class:"w-full"},null,8,ne)])):m("",!0)]),t.value.link!==""?(s(),n("button",{key:0,onClick:l[0]||(l[0]=h=>V(t.value.link)),class:"text-[12px] md:text-[14px] secondary-button px-[0.5rem] md:px-[1rem] py-[0.2rem] rounded-[0.75rem] absolute bottom-[15px] right-[15px] md:bottom-[40px] w-[80px] md:right-[40px] md:!w-[100px]"},i(u(p)("manual.manualLink")),1)):m("",!0)])])):c.value==99999&&!t.value?(s(),n("div",oe,[v(u(g),{class:"w-[150px] h-[100px] opacity-[0.5] ]"}),e("h5",le,i(u(p)("manual.chooseManual")),1)])):m("",!0)])):(s(),n("div",re,[v(u(g),{class:"w-[150px] h-[100px] opacity-[0.5] ] landscape:w-[75px] landscape:h-[50px] landscape:md:w-[150px] landscape:md:h-[100px]"}),e("h5",ce,i(u(p)("manual.noManualData")),1)]))]),_:1})]))}});const me=G(ie,[["__scopeId","data-v-3c5b85c4"]]);export{me as default};
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.