1import{j as e,C as x,S as r,U as f,V as i,c as b,r as h,a as j,d as N,n as d,G as k,_ as R,e5 as q}from"./index-CUFYPDDr.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:"1e9c8ac712f8e279ee060ddeeb763b358a5566d9"};var n=new a.Error().stack;n&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[n]="407d9077-0228-42de-be4b-c555641a50b6",a._sentryDebugIdIdentifier="sentry-dbid-407d9077-0228-42de-be4b-c555641a50b6")}catch{}})();const p=(function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"id"}],n=[{kind:"Variable",name:"id",variableName:"id"}],s={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},l={alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"displayNumber",storageKey:null},o={alias:null,args:null,kind:"ScalarField",name:"fullName",storageKey:null},c={alias:null,args:null,concreteType:"Tire_Car",kind:"LinkedField",name:"car",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"brandName",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"modelName",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"year",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"ownerName",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"plateNumber",storageKey:null}],storageKey:null},m={alias:null,args:null,kind:"ScalarField",name:"frontQuantity",storageKey:null},y={alias:null,args:null,kind:"ScalarField",name:"rearQuantity",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"requestNote",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"tireEstimateRequestHistoryPageQuery",selections:[{alias:null,args:n,concreteType:"Tire_EstimateRequest",kind:"LinkedField",name:"Tire_estimateRequest",plural:!1,selections:[s,l,t,{alias:null,args:null,concreteType:"Geo_LegalAddress",kind:"LinkedField",name:"legalAddress",plural:!1,selections:[o],storageKey:null},c,m,y,g],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"tireEstimateRequestHistoryPageQuery",selections:[{alias:null,args:n,concreteType:"Tire_EstimateRequest",kind:"LinkedField",name:"Tire_estimateRequest",plural:!1,selections:[s,l,t,{alias:null,args:null,concreteType:"Geo_LegalAddress",kind:"LinkedField",name:"legalAddress",plural:!1,selections:[o,s],storageKey:null},c,m,y,g],storageKey:null}]},params:{cacheID:"713736fa9310bc404d6db72d982c2b97",id:null,metadata:{},name:"tireEstimateRequestHistoryPageQuery",operationKind:"query",text:`query tireEstimateRequestHistoryPageQuery( 2 $id: ID! 3) { 4 Tire_estimateRequest(id: $id) { 5 id 6 createdAt 7 displayNumber 8 legalAddress { 9 fullName 10 id 11 } 12 car { 13 brandName 14 modelName 15 year 16 ownerName 17 plateNumber 18 } 19 frontQuantity 20 rearQuantity 21 requestNote 22 } 23} 24`}}})();p.hash="10e410c0c58a5d1116c7e2528428b558";function w(){return e.jsx(x,{variant:"gray",children:e.jsx("div",{className:"px-4 pt-3 pb-10",children:e.jsxs("div",{className:"flex flex-col gap-5 rounded-2xl bg-white px-4 py-5",children:[e.jsx(r,{className:"h-5 w-32"}),Array.from({length:5},(a,n)=>e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsx(r,{className:"h-4 w-20"}),e.jsx(r,{className:"h-6 w-full"})]},n)),e.jsx(r,{className:"h-px w-full"}),e.jsx(r,{className:"aspect-[300/250] w-full rounded-xl"})]})})})}const T=p;function v(a){const n=f();return e.jsxs(e.Fragment,{children:[e.jsxs(i,{variant:"gray",children:[e.jsx(i.Left,{children:e.jsx(i.Button,{type:"button","aria-label":"ë¤ë¡ ê°ê¸°",onClick:()=>n.history.back(),children:e.jsx(b,{name:"arrow_left_line"})})}),e.jsx(i.Title,{children:"ìì² ë´ì"}),e.jsx(i.Right,{})]}),e.jsx(h.Suspense,{fallback:e.jsx(w,{}),children:e.jsx(E,{...a})})]})}function E(a){const{estimateRequestId:n}=a,l=j.useLazyLoadQuery(T,{id:n},{fetchPolicy:"store-and-network"}).Tire_estimateRequest,t=l?.requestNote?.trim();return e.jsx(x,{variant:"gray",children:l?e.jsx("div",{className:"px-4 pt-3 pb-10",children:e.jsxs("section",{className:"flex flex-col gap-5 rounded-2xl bg-white px-4 py-5",children:[e.jsx("p",{className:"text-fill-neutral-medium text-sm leading-[22px]",children:N(l.createdAt).format("YYYY.MM.DD HH:mm ìì²")}),e.jsx(F,{displayNumber:l.displayNumber}),e.jsx(u,{label:"ìì¹",children:l.legalAddress.fullName}),e.jsxs(u,{label:"ì°¨ë",children:[e.jsx("span",{className:"block",children:[l.car.brandName,l.car.modelName,l.car.year].filter(
24Boolean).join(" ")}),e.jsxs("span",{className:"block",children:[l.car.ownerName," ",l.car.plateNumber]})]}),e.jsx(u,{label:"êµì²´ìë",children:[l.frontQuantity>0?`ìë°í´: ${l.frontQuantity}ê°`:null,l.rearQuantity>0?`ë·ë°í´: ${l.rearQuantity}ê°`:null].filter(Boolean).join(", ")}),t&&e.jsx(u,{label:"ì¶ê°ì¤ëª
",children:t})]})}):e.jsxs(d,{children:[e.jsx(d.Icon,{children:e.jsx(k,{name:"documentbox",alt:""})}),e.jsx(d.Title,{children:"ìì² ì 보를 ì°¾ì ì ìì´ì"}),e.jsx(d.Description,{children:"ì림í¡ì 견ì íì¸ ë§í¬ë¥¼ ë¤ì íì¸í´ 주ì¸ì."})]})})}function F(a){const{displayNumber:n}=a;return e.jsxs("dl",{children:[e.jsx("dt",{className:"text-fill-neutral-weak text-sm leading-[22px]",children:"견ì ìì²ë²í¸"}),e.jsxs("dd",{className:"flex min-h-6 items-center justify-between gap-4",children:[e.jsx("span",{className:"font-bold text-base text-fill-neutral-strong leading-6",children:n}),e.jsx("button",{type:"button",className:"shrink-0 font-medium text-base text-fill-primary-medium leading-6",onClick:()=>R(n,"견ì ìì²ë²í¸ê° ë³µì¬ëìì´ì."),children:"ë³µì¬"})]})]})}function u(a){const{label:n,children:s}=a;return e.jsxs("dl",{children:[e.jsx("dt",{className:"text-fill-neutral-weak text-sm leading-[22px]",children:n}),e.jsx("dd",{className:"whitespace-pre-line break-words font-bold text-base text-fill-neutral-strong leading-6",children:s})]})}function S(){const{estimateRequestId:a}=q.useParams();return e.jsx(v,{estimateRequestId:a})}export{S as component};
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.