1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},a=Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="aba46654-8037-4dcd-a0a0-90bec03902f3",e._sentryDebugIdIdentifier="sentry-dbid-aba46654-8037-4dcd-a0a0-90bec03902f3")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[25981],{88540:function(e,a,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard/van-variations/create",function(){return n(87478)}])},87478:function(e,a,n){"use strict";n.r(a),n.d(a,{__N_SSP:function(){return b},default:function(){return m}});var s=n(85893),t=n(23112),i=n(14685),r=n(9383),d=n(49235),l=n(56967),o=n(53219),c=n(41664),u=n.n(c),f=n(11163),h=n(10850),v=n(61667),x=n(28828),b=!0;function m(){let e=(0,f.useRouter)(),{toast:a}=(0,l.pm)(),[n]=(0,v.LA)(),{data:c}=(0,v.Jc)(),{data:b}=(0,v.DH)(),{data:m}=(0,v.sE)(),p=c?{extras:c.extras.filter(e=>null!=e).map(e=>({id:e.id,name:e.name}))}:void 0,_=async s=>{try{await n({variables:{createVanVariationInput:s},refetchQueries:[v.X2]}),a({title:"Van variation created successfully",variant:"default"}),e.push("/dashboard/van-variations")}catch(e){a({title:"Something went wrong, please try again",variant:"destructive"})}};return(0,s.jsx)(t.c,{children:(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsx)(x.a,{items:[{label:"Van Variations",href:"/dashboard/van-variations"},{label:"Create"}]}),(0,s.jsx)("div",{className:"flex items-center justify-between",children:(0,s.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,s.jsx)(u(),{href:"/dashboard/van-variations",children:(0,s.jsx)(i.z,{variant:"ghost",size:"icon",children:(0,s.jsx)(o.default,{className:"h-4 w-4"})})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h1",{className:"text-2xl font-semibold",children:"Create Van Variation"}),(0,s.jsx)("p",{className:"text-muted-foreground",children:"Add a new van variation to your fleet"})]})]})}),(0,s.jsx)(d.Z,{}),(0,s.jsxs)(r.Zb,{children:[(0,s.jsx)(r.Ol,{children:(0,s.jsx)(r.ll,{children:"Van Variation Details"})}),(0,s.jsx)(r.aY,{children:(0,s.jsx)(h.g,{extras:p,onConfirm:_,defaultValues:{name:"",description:"",blurb:"",lowSeasonPrice:void 0,shoulderSeasonEarlyPrice:void 0,shoulderSeasonLatePrice:void 0,peakSeasonPrice:void 0,published:!0,sleeps:void 0,extras:[],keyFeatures:[],whatsIncluded:[],heroImage:void 0}})})]})]})})}}},function(e){e.O(0,[45738,95475,87536,33397,77763,75977,87066,72126,64197,61667,79647,56131,49774,92888,40179],function(){return e(e.s=88540)}),_N_E=e.O()}]);
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.