@idmwx/idmui-report 3.0.5 → 3.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Invoice/index.d.ts +2 -1
- package/dist/Invoice/src/fli/index.vue.d.ts +28 -0
- package/dist/index.js +5557 -5398
- package/dist/index.umd.cjs +7 -5
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.umd.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(oe,te){typeof exports=="object"&&typeof module<"u"?te(exports,require("@idmwx/idmwx-base"),require("moment"),require("vue"),require("echarts"),require("@wangeditor/editor-for-vue"),require("mapbox-gl"),require("@idmwx/idmui-gl"),require("@element-plus/icons-vue"),require("element-plus"),require("axios")):typeof define=="function"&&define.amd?define(["exports","@idmwx/idmwx-base","moment","vue","echarts","@wangeditor/editor-for-vue","mapbox-gl","@idmwx/idmui-gl","@element-plus/icons-vue","element-plus","axios"],te):(oe=typeof globalThis<"u"?globalThis:oe||self,te(oe["idmui-report"]={},oe["@idmwx/idmwx-base"],oe.moment,oe.Vue,oe.echarts,oe["@wangeditor/editor-for-vue"],oe["mapbox-gl"],oe["@idmwx/idmui-gl"],oe["@element-plus/icons-vue"],oe["element-plus"],oe.axios))})(this,function(oe,te,w,e,yi,rn,_l,Ei,tn,mn,gl){"use strict";function _i(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const c=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,c.get?c:{enumerable:!0,get:()=>t[o]})}}return n.default=t,Object.freeze(n)}const Uo=_i(yi),ote="",ke=(t,n)=>{const o=t.__vccOpts||t;for(const[c,l]of n)o[c]=l;return o},Ni={props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${(t?w(t):w()).utc().format(n)}`}}}},pn=t=>(e.pushScopeId("data-v-609af107"),t=t(),e.popScopeId(),t),Vi={class:"section brand-section flex-space"},fi=e.createStaticVNode('<div class="logo-box flex-center" data-v-609af107><div class="logo" data-v-609af107><a href="https://fmp.idmwx.com" target="_blank" data-v-609af107><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-609af107></a><a href="https://fmp.idmwx.com" target="_blank" style="text-decoration:none;" data-v-609af107><div class="brand" data-v-609af107><span style="text-decoration:underline;" data-v-609af107>Weather Routing</span><div class="company" data-v-609af107>Ocean Right Marine Service</div></div></a></div></div>',1),gi={class:"report-box flex-space"},Di={class:"name flex-start"},xi={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},bi={class:"flex-start",style:{width:"100%"}},Ci={class:"label-block flex-evenly",style:{flex:"1"}},Si=pn(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),ki={class:"flex-end",style:{flex:"2"}},Ai=pn(()=>e.createElementVNode("div",{class:"flex-start",style:{width:"100%"}},[e.createElementVNode("div",{class:"label-block flex-evenly",style:{flex:"1"}},[e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Mail to"),e.createElementVNode("a",{class:"flex-end",style:{flex:"2"},href:"mailto:op@ormwx.com"},"op@ormwx.com")])],-1));function Bi(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",Vi,[fi,e.createElementVNode("div",gi,[e.createElementVNode("div",Di,e.toDisplayString(o.name),1),e.createElementVNode("div",xi,[e.createElementVNode("div",bi,[e.createElementVNode("div",Ci,[Si,e.createElementVNode("span",ki,e.toDisplayString(a.computeUTCTime(o.issued,"MMM-DD, YYYY")),1)])]),Ai])])])}const Ro=ke(Ni,[["render",Bi],["__scopeId","data-v-609af107"]]),wi={name:"IdmLoading",props:{loading:{type:Boolean,default:!1},text:{type:String,default:"Loading..."}},emits:["timeout"],watch:{loading:{handler(){this.loading&&setTimeout(()=>{this.$emit("timeout",!1)},5e3)},immediate:!0}}},Ti={key:0,class:"loading"},Oi=e.createElementVNode("i",{class:"iconfont"},"",-1);function Pi(t,n,o,c,l,a){return o.loading?(e.openBlock(),e.createElementBlock("div",Ti,[Oi,e.createElementVNode("div",null,e.toDisplayString(o.text),1)])):e.createCommentVNode("",!0)}const on=ke(wi,[["render",Pi]]),lte="",Fi={name:"ORMPointReport",components:{IdmLoading:on,IdmBrand:Ro},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0}},data(){return{echart:void 0,localTZ:"0",loading:!0}},watch:{report:{handler(){var t,n,o,c;(n=(t=this.report)==null?void 0:t.extend)!=null&&n.data&&(this.loading=!1,this.localTZ=te.LngLatHelper.guessTimeZoneOffset((o=this.report)==null?void 0:o.lng,(c=this.report)==null?void 0:c.lat),this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},computed:{computeLat(){return function(t){return te.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return te.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,n=8,o="MMM-DD/HHmm[LT]"){return`${w(t).utcOffset(n).format(o)}`}},computeTZ(){return function(t="0"){return te.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var c,l,a,p,i,_,g,S,h,N;const n={};for(let x=0;x<((l=(c=t==null?void 0:t.extend)==null?void 0:c.data)==null?void 0:l.length);x++){const r=(a=t==null?void 0:t.extend)==null?void 0:a.data[x];if(x===0)r.precip.pacc=0;else{const C=(p=t==null?void 0:t.extend)==null?void 0:p.data[x-1],k=w(r.utc).utcOffset(this.localTZ),T=w(C.utc).utcOffset(this.localTZ),u=(i=C==null?void 0:C.precip)==null?void 0:i.prate,L=k.diff(T,"h"),O=this.roundPrecision(u*L,1);if(r.precip.pacc=O,O>0){const b=n[k.format("MMM-DD")],F=Math.floor(k.get("hour")/6);b?(b.pacc=this.roundPrecision(b.pacc+O,1),b[`${F}`]?b[`${F}`]+=O:(b[`${F}`]=O,b.colspan+=1)):(n[k.format("MMM-DD")]={pacc:O,colspan:1},n[k.format("MMM-DD")][`${F}`]=O)}}}t.paccInDays=n;let o=0;for(const x of Object.keys(n))o+=(_=n[x])==null?void 0:_.colspan,n[x].level=((g=n[x])==null?void 0:g.pacc)<10?"Light":((S=n[x])==null?void 0:S.pacc)<24.9?"Moderate":((h=n[x])==null?void 0:h.pacc)<49.9?"Heavy":((N=n[x])==null?void 0:N.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=o,t}}},methods:{initEchart(){var a,p,i;this.echart||(this.echart=e.markRaw(Uo.init(this.$refs.echart)));const t=[],n=[],o={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let c=4;(i=(p=(a=this.report)==null?void 0:a.extend)==null?void 0:p.data)==null||i.forEach(_=>{var S,h,N,x,r,C,k,T,u,L,O,b,F;const g=w(_.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");t.push(g),c=((h=(S=_.wave)==null?void 0:S.sig)==null?void 0:h.height)>c?(x=(N=_.wave)==null?void 0:N.sig)==null?void 0:x.height:c,n.push([g,(r=_.wind)==null?void 0:r.kts,(C=_.gusts)==null?void 0:C.kts,(T=(k=_.wave)==null?void 0:k.sig)==null?void 0:T.height,(u=_.wind)==null?void 0:u.direction,(L=_.wind)==null?void 0:L.degree,(O=_.wind)==null?void 0:O.scale,(b=_.current)==null?void 0:b.kts,(F=_.precip)==null?void 0:F.acc,this.roundPrecision(_.visibility/1852,0),_.temp])});const l={animation:!1,title:{text:"Weather Conditions",subtext:"Wind/Gusts/Sig.Wave/Visibility/Precip Acc",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:35},xAxis:[{data:t}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:c,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip Acc",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:o.dateTime,y:o.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:n,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:o.dateTime,y:o.waveHeight},data:n,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:o.dateTime,y:o.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:n,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:o.dateTime,y:o.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:n,z:2}]};this.echart.setOption(l)}}},st=t=>(e.pushScopeId("data-v-f465d74a"),t=t(),e.popScopeId(),t),ui={class:"point-report"},Li={class:"section info-section"},Wi={class:"flex-evenly"},Hi={class:"flex-space label-block",style:{width:"100%"}},Mi=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),Gi={class:"flex-space label-block",style:{width:"100%"}},Ii=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),Ri={class:"flex-evenly"},zi={class:"flex-space label-block",style:{width:"100%"}},Ui=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),Yi={class:"flex-space label-block",style:{width:"100%"}},Zi={class:"flex-end",style:{width:"180px"}},Qi={class:"section echart-section"},$i={ref:"echart",class:"echart"},Ji={class:"section sample-section"},Ki=st(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),qi=st(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),Xi=st(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),ji=st(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),vi=st(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),ec=st(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),tc=["colspan"],oc=st(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),lc=st(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),ac=st(()=>e.createElementVNode("th",null,"Dir",-1)),nc=st(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),sc=st(()=>e.createElementVNode("th",null,"BF",-1)),ic=st(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),cc=st(()=>e.createElementVNode("th",null,"Dir",-1)),dc=st(()=>e.createElementVNode("th",null,"Ht (m)",-1)),rc=st(()=>e.createElementVNode("th",null,"Prd (s)",-1)),mc=st(()=>e.createElementVNode("th",null,"Dir",-1)),pc=st(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),hc=st(()=>e.createElementVNode("th",null,"Prd (s)",-1)),yc=st(()=>e.createElementVNode("th",null,"Dir",-1)),Ec=st(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),_c={key:0},Nc={key:1},Vc=st(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),fc=st(()=>e.createElementVNode("th",null,"°C",-1)),gc={width:"120px"},Dc={key:0,class:"degree-box"},xc={key:1},bc={key:0,class:"degree-box"},Cc={key:1},Sc={key:0,class:"degree-box"},kc={key:1},Ac={key:0,class:"degree-box"},Bc={key:1},wc={key:0},Tc={key:1};function Oc(t,n,o,c,l,a){var _,g,S,h;const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",ui,[e.createVNode(p,{name:"Point Weather Forecast"}),e.createVNode(i,{loading:l.loading},null,8,["loading"]),e.createElementVNode("div",Li,[e.createElementVNode("div",Wi,[e.createElementVNode("div",Hi,[Mi,e.createElementVNode("span",null,e.toDisplayString(a.computeLat((_=o.report)==null?void 0:_.lat).pretty)+" / "+e.toDisplayString(a.computeLng((g=o.report)==null?void 0:g.lng).pretty),1)]),e.createElementVNode("div",Gi,[Ii,e.createElementVNode("span",null,e.toDisplayString(a.computeLTime(o.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",Ri,[e.createElementVNode("div",zi,[Ui,e.createElementVNode("span",null,e.toDisplayString(a.computeTZ(this.localTZ)),1)]),e.createElementVNode("div",Yi,[e.createElementVNode("label",Zi,"("+e.toDisplayString(a.computeTZ(this.localTZ))+")",1),e.createElementVNode("span",null,e.toDisplayString(a.computeLTime(o.report.updatedAt,this.localTZ,"YYYY, MMM-DD/HHmm[LT]")),1)])])]),e.createElementVNode("div",Qi,[e.createElementVNode("div",$i,null,512)]),e.createElementVNode("div",Ji,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Ki,qi,Xi,ji,vi,ec,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,tc),oc,lc]),e.createElementVNode("tr",null,[ac,nc,sc,ic,cc,dc,rc,mc,pc,hc,yc,Ec,o.showPrate?(e.openBlock(),e.createElementBlock("th",_c,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",Nc,"Acc (mm)")):e.createCommentVNode("",!0),Vc,fc])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=(S=o.report)==null?void 0:S.extend)==null?void 0:h.data,(N,x)=>{var r,C,k,T,u,L,O,b,F,z,Z,U,W,f,Y,R,H,J,K,X,q,V,M,$,s,j,d,v,le,ee,ie,ce,de,re;return e.openBlock(),e.createElementBlock("tr",{key:x},[e.createElementVNode("td",gc,e.toDisplayString(a.computeLTime(N.utc,this.localTZ)),1),e.createElementVNode("td",null,[(r=N.wind)!=null&&r.kts?(e.openBlock(),e.createElementBlock("span",Dc,[e.createTextVNode(e.toDisplayString((C=N.wind)==null?void 0:C.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((k=N.wind)==null?void 0:k.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",xc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((T=N.wind)==null?void 0:T.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((u=N.wind)==null?void 0:u.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((L=N.gusts)==null?void 0:L.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((b=(O=N.wave)==null?void 0:O.wd)==null?void 0:b.height,1)),1),e.createElementVNode("td",null,[(z=(F=N.wave)==null?void 0:F.swell)!=null&&z.height?(e.openBlock(),e.createElementBlock("span",bc,[e.createTextVNode(e.toDisplayString((U=(Z=N.wave)==null?void 0:Z.swell)==null?void 0:U.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((f=(W=N.wave)==null?void 0:W.swell)==null?void 0:f.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Cc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((R=(Y=N.wave)==null?void 0:Y.swell)==null?void 0:R.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((J=(H=N.wave)==null?void 0:H.swell)==null?void 0:J.period,1)),1),e.createElementVNode("td",null,[(X=(K=N.wave)==null?void 0:K.sig)!=null&&X.height?(e.openBlock(),e.createElementBlock("span",Sc,[e.createTextVNode(e.toDisplayString((V=(q=N.wave)==null?void 0:q.sig)==null?void 0:V.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree(($=(M=N.wave)==null?void 0:M.sig)==null?void 0:$.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",kc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((j=(s=N.wave)==null?void 0:s.sig)==null?void 0:j.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((v=(d=N.wave)==null?void 0:d.sig)==null?void 0:v.period,1)),1),e.createElementVNode("td",null,[(le=N.current)!=null&&le.kts?(e.openBlock(),e.createElementBlock("span",Ac,[e.createTextVNode(e.toDisplayString((ee=N.current)==null?void 0:ee.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((ie=N.current)==null?void 0:ie.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Bc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ce=N.current)==null?void 0:ce.kts,1)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",wc,e.toDisplayString(a.roundPrecision((de=N.precip)==null?void 0:de.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",Tc,e.toDisplayString(a.roundPrecision((re=N.precip)==null?void 0:re.acc,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(N.visibility/1852,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(N.temp,1)),1)])}),128))])])])])}const hn=ke(Fi,[["render",Oc],["__scopeId","data-v-f465d74a"]]),ate="",Pc={props:{name:{type:String,default:""}}},Fc={class:"section brand-section flex-space"},uc=e.createStaticVNode('<div class="logo-box flex-center" data-v-602c94e3><a class="logo" href="https://www.idmwx.com" target="_blank" data-v-602c94e3><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-602c94e3><div class="brand" data-v-602c94e3><span data-v-602c94e3>Weather Routing</span><div class="company" data-v-602c94e3>Ocean Right Marine Service</div></div></a></div>',1),Lc={class:"report-box flex-space"},Wc={class:"name flex-start"},Hc=e.createStaticVNode('<div class="support flex-end" data-v-602c94e3><img src="https://img.idmwx.com/asset/idm/qrcode_for_gh_976e5ac920c0_258.jpg" data-v-602c94e3><div style="margin-left:10px;" data-v-602c94e3><div class="name flex-space" data-v-602c94e3><label data-v-602c94e3>IDM Service Team</label></div><div class="desc flex-center" data-v-602c94e3>Technical Support & Consulting Center</div></div></div>',1);function Mc(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",Fc,[uc,e.createElementVNode("div",Lc,[e.createElementVNode("div",Wc,e.toDisplayString(o.name),1),Hc])])}const ja=ke(Pc,[["render",Mc],["__scopeId","data-v-602c94e3"]]),nte="",Gc={name:"PointReport",components:{IdmBrand:ja},props:{data:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!1}},data(){return{}},computed:{computeLat(){return function(t){return te.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return te.LngLatHelper.lng2pretty(t,2)}},computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return`${w(t).utc().format(n)}Z`}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}}},methods:{}},et=t=>(e.pushScopeId("data-v-2fead0ca"),t=t(),e.popScopeId(),t),Ic={class:"point-report"},Rc=et(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),zc={class:"report-header flex-center"},Uc={class:"info-box"},Yc=et(()=>e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"},null,-1)),Zc={class:"info"},Qc=et(()=>e.createElementVNode("label",null,"Position",-1)),$c={class:"info"},Jc=et(()=>e.createElementVNode("label",null,"Issued",-1)),Kc=et(()=>e.createElementVNode("div",{class:"title-box"},[e.createElementVNode("div",{class:"title"},"Point Weather Forecast Report")],-1)),qc={class:"report-body"},Xc={class:"weather-sample"},jc=et(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),vc=et(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),ed=et(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),td=et(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),od=et(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),ld=et(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),ad=["colspan"],nd=et(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),sd=et(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),id=et(()=>e.createElementVNode("th",null,"Dir",-1)),cd=et(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),dd=et(()=>e.createElementVNode("th",null,"BF",-1)),rd=et(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),md=et(()=>e.createElementVNode("th",null,"Dir",-1)),pd=et(()=>e.createElementVNode("th",null,"Ht (m)",-1)),hd=et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),yd=et(()=>e.createElementVNode("th",null,"Dir",-1)),Ed=et(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),_d=et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Nd=et(()=>e.createElementVNode("th",null,"Dir",-1)),Vd=et(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),fd={key:0},gd={key:1},Dd=et(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),xd=et(()=>e.createElementVNode("th",null,"°C",-1)),bd={width:"120px"},Cd={key:0,class:"degree-box"},Sd={key:1},kd={key:0,class:"degree-box"},Ad={key:1},Bd={key:0,class:"degree-box"},wd={key:1},Td={key:0,class:"degree-box"},Od={key:1},Pd={key:0},Fd={key:1};function ud(t,n,o,c,l,a){const p=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",Ic,[e.createVNode(p),Rc,e.createElementVNode("div",zc,[e.createElementVNode("div",Uc,[Yc,e.createElementVNode("div",Zc,[Qc,e.createElementVNode("span",null,e.toDisplayString(a.computeLat(o.data.lat).pretty)+" / "+e.toDisplayString(a.computeLng(o.data.lng).pretty),1)]),e.createElementVNode("div",$c,[Jc,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime(o.data.issuedAt,"YYYY, MMM-DD/HHmm")),1)])]),Kc]),e.createElementVNode("div",qc,[e.createElementVNode("div",Xc,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[jc,vc,ed,td,od,ld,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,ad),nd,sd]),e.createElementVNode("tr",null,[id,cd,dd,rd,md,pd,hd,yd,Ed,_d,Nd,Vd,o.showPrate?(e.openBlock(),e.createElementBlock("th",fd,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",gd,"Acc (mm)")):e.createCommentVNode("",!0),Dd,xd])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.data.meteo,(i,_)=>{var g,S,h,N,x,r,C,k,T,u,L,O,b,F,z,Z,U,W,f,Y,R,H,J,K,X,q,V,M,$,s,j,d,v,le;return e.openBlock(),e.createElementBlock("tr",{key:_},[e.createElementVNode("td",bd,e.toDisplayString(a.computeUTCTime(i.utc)),1),e.createElementVNode("td",null,[(g=i.wind)!=null&&g.kts?(e.openBlock(),e.createElementBlock("span",Cd,[e.createTextVNode(e.toDisplayString((S=i.wind)==null?void 0:S.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((h=i.wind)==null?void 0:h.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Sd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((N=i.wind)==null?void 0:N.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((x=i.wind)==null?void 0:x.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((r=i.gusts)==null?void 0:r.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((k=(C=i.wave)==null?void 0:C.wd)==null?void 0:k.height,1)),1),e.createElementVNode("td",null,[(u=(T=i.wave)==null?void 0:T.swell)!=null&&u.height?(e.openBlock(),e.createElementBlock("span",kd,[e.createTextVNode(e.toDisplayString((O=(L=i.wave)==null?void 0:L.swell)==null?void 0:O.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((F=(b=i.wave)==null?void 0:b.swell)==null?void 0:F.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ad,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Z=(z=i.wave)==null?void 0:z.swell)==null?void 0:Z.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((W=(U=i.wave)==null?void 0:U.swell)==null?void 0:W.period,1)),1),e.createElementVNode("td",null,[(Y=(f=i.wave)==null?void 0:f.sig)!=null&&Y.height?(e.openBlock(),e.createElementBlock("span",Bd,[e.createTextVNode(e.toDisplayString((H=(R=i.wave)==null?void 0:R.sig)==null?void 0:H.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((K=(J=i.wave)==null?void 0:J.sig)==null?void 0:K.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",wd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((q=(X=i.wave)==null?void 0:X.sig)==null?void 0:q.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((M=(V=i.wave)==null?void 0:V.sig)==null?void 0:M.period,1)),1),e.createElementVNode("td",null,[($=i.current)!=null&&$.kts?(e.openBlock(),e.createElementBlock("span",Td,[e.createTextVNode(e.toDisplayString((s=i.current)==null?void 0:s.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((j=i.current)==null?void 0:j.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Od,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((d=i.current)==null?void 0:d.kts,1)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",Pd,e.toDisplayString(a.roundPrecision((v=i.precip)==null?void 0:v.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",Fd,e.toDisplayString(a.roundPrecision((le=i.precip)==null?void 0:le.inter6h,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(i.visibility/1852,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(i.temp,1)),1)])}),128))])])])])])}const yn=ke(Gc,[["render",ud],["__scopeId","data-v-2fead0ca"]]),Ld={install(t){t.component("ORMPointReport",hn),t.component("PointReport",yn)}},Wd={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Hd={class:"logo"},Md=[e.createElementVNode("svg",{t:"1681710850227",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7633",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 409.6h3413.333333v204.8H0z","p-id":"7634"}),e.createElementVNode("path",{d:"M68.266667 477.866667v68.266666h3276.8V477.866667H68.266667M0 409.6h3413.333333v204.8H0z","p-id":"7635"}),e.createElementVNode("path",{d:"M2362.5728 1006.933333H713.659733l302.011734-478.4128 5.666133-8.942933-5.5296-9.079467L713.181867 17.066667h1649.2544l347.409066 502.237866-347.272533 487.6288z",fill:"#FFFFFF","p-id":"7636"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-470.698667L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933L682.666667 0z",fill:"#000000","p-id":"7637"})],-1)];function Gd(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",Hd,Md)}const Id=ke(Wd,[["render",Gd]]),Rd={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},zd={class:"logo"},Ud=[e.createElementVNode("svg",{t:"1681710772723",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7205",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 477.866667h3413.333333v68.266666H0z","p-id":"7206"}),e.createElementVNode("path",{d:"M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z",fill:"#C8C8C8","p-id":"7207"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-471.04L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z","p-id":"7208"})],-1)];function Yd(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",zd,Ud)}const Zd=ke(Rd,[["render",Yd]]),Qd={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},$d={class:"logo"},Jd=[e.createElementVNode("svg",{t:"1681710864960",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7832",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 409.6h136.533333v204.8H0z","p-id":"7833"}),e.createElementVNode("path",{d:"M204.8 409.6h136.533333v204.8H204.8z","p-id":"7834"}),e.createElementVNode("path",{d:"M409.6 409.6h136.533333v204.8H409.6z","p-id":"7835"}),e.createElementVNode("path",{d:"M614.4 409.6h136.533333v204.8H614.4z","p-id":"7836"}),e.createElementVNode("path",{d:"M819.2 409.6h136.533333v204.8h-136.533333z","p-id":"7837"}),e.createElementVNode("path",{d:"M1024 409.6h136.533333v204.8h-136.533333z","p-id":"7838"}),e.createElementVNode("path",{d:"M1228.8 409.6h136.533333v204.8h-136.533333z","p-id":"7839"}),e.createElementVNode("path",{d:"M1433.6 409.6h136.533333v204.8h-136.533333z","p-id":"7840"}),e.createElementVNode("path",{d:"M1638.4 409.6h136.533333v204.8h-136.533333z","p-id":"7841"}),e.createElementVNode("path",{d:"M1843.2 409.6h136.533333v204.8h-136.533333z","p-id":"7842"}),e.createElementVNode("path",{d:"M2048 409.6h136.533333v204.8h-136.533333z","p-id":"7843"}),e.createElementVNode("path",{d:"M2252.8 409.6h136.533333v204.8h-136.533333z","p-id":"7844"}),e.createElementVNode("path",{d:"M2457.6 409.6h136.533333v204.8h-136.533333z","p-id":"7845"}),e.createElementVNode("path",{d:"M2662.4 409.6h136.533333v204.8h-136.533333z","p-id":"7846"}),e.createElementVNode("path",{d:"M2867.2 409.6h136.533333v204.8h-136.533333z","p-id":"7847"}),e.createElementVNode("path",{d:"M3072 409.6h136.533333v204.8h-136.533333z","p-id":"7848"}),e.createElementVNode("path",{d:"M3276.8 409.6h136.533333v204.8h-136.533333z","p-id":"7849"}),e.createElementVNode("path",{d:"M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z",fill:"#686868","p-id":"7850"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-471.04L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z","p-id":"7851"})],-1)];function Kd(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",$d,Jd)}const qd=ke(Qd,[["render",Kd]]),dte="",Xd={name:"IdmLng",props:{lng:{type:Number,default:void 0},label:{type:String,default:"Lng"}},data(){return{lngDegree:void 0,lngMinute:void 0,lngDirection:void 0}},watch:{lng:{handler(){if(this.lng!==void 0){let t=te.convertToStandardLng(this.lng);t>=0?this.lngDirection="E":this.lngDirection="W",t=Math.abs(t),this.lngDegree=Math.trunc(t),this.lngMinute=Math.round((t-this.lngDegree)*60*100)/100}},immediate:!0}}},En=t=>(e.pushScopeId("data-v-533ec662"),t=t(),e.popScopeId(),t),jd={class:"lng-box"},vd={key:0},er=En(()=>e.createElementVNode("span",null,"°",-1)),tr=En(()=>e.createElementVNode("span",null,"'",-1));function or(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",jd,[o.label?(e.openBlock(),e.createElementBlock("span",vd,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.lngDegree),1),er,e.createElementVNode("label",null,e.toDisplayString(l.lngMinute),1),tr,e.createElementVNode("label",null,e.toDisplayString(l.lngDirection),1)])}const va=ke(Xd,[["render",or],["__scopeId","data-v-533ec662"]]),rte="",lr={name:"IdmLat",props:{lat:{type:Number,default:void 0},label:{type:String,default:"Lat"}},data(){return{latDegree:void 0,latMinute:void 0,latDirection:void 0}},watch:{lat:{handler(){if(this.lat!==void 0){this.lat>=0?this.latDirection="N":this.latDirection="S";const t=Math.abs(this.lat);this.latDegree=Math.trunc(t),this.latMinute=Math.round((t-this.latDegree)*60*100)/100}},immediate:!0}}},_n=t=>(e.pushScopeId("data-v-d3432239"),t=t(),e.popScopeId(),t),ar={class:"lat-box"},nr={key:0},sr=_n(()=>e.createElementVNode("span",null,"°",-1)),ir=_n(()=>e.createElementVNode("span",null,"'",-1));function cr(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",ar,[o.label?(e.openBlock(),e.createElementBlock("span",nr,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.latDegree),1),sr,e.createElementVNode("label",null,e.toDisplayString(l.latMinute),1),ir,e.createElementVNode("label",null,e.toDisplayString(l.latDirection),1)])}const en=ke(lr,[["render",cr],["__scopeId","data-v-d3432239"]]),mte="",dr={name:"IdmEditor",components:{Editor:rn.Editor,Toolbar:rn.Toolbar},props:{height:{type:String,default:"200px"},modelValue:{type:String,default:()=>""},disabled:{type:Boolean,default:()=>!1}},data(){return{editorRef:null,editor:null,mode:"simple",valueHtml:void 0,editorConfig:{placeholder:"please input something..."},toolbarConfig:{toolbarKeys:["bold","color","bgColor","fontSize","lineHeight"]}}},watch:{disabled:{handler(t){var n,o;t?(n=this.editor)==null||n.disable():(o=this.editor)==null||o.enable()}},modelValue:{handler(){var t;this.valueHtml=this.modelValue,(t=this.editor)==null||t.setHtml(this.valueHtml)}}},methods:{handleCreated(t){var n;this.editorRef=e.shallowRef(),this.editor=Object.seal(t),this.valueHtml=this.modelValue,(n=this.editor)==null||n.setHtml(this.valueHtml),this.disabled?this.editor.disable():this.editor.enable()},handleChange(t){this.$emit("update:modelValue",this.valueHtml)},handleBlur(t){this.$emit("blur",this.valueHtml)},beforeDestroy(){var t;(t=this.editor)==null||t.destroy()}}},rr={class:"editor-box"};function mr(t,n,o,c,l,a){const p=e.resolveComponent("Toolbar"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",rr,[e.withDirectives(e.createVNode(p,{editor:l.editor,"default-config":l.toolbarConfig,mode:l.mode,class:"toolbar"},null,8,["editor","default-config","mode"]),[[e.vShow,!o.disabled]]),e.createVNode(i,{modelValue:l.valueHtml,"onUpdate:modelValue":n[0]||(n[0]=_=>l.valueHtml=_),"default-config":l.editorConfig,mode:l.mode,class:"editor",style:e.normalizeStyle({height:o.height}),onOnCreated:a.handleCreated,onOnChange:a.handleChange,onOnBlur:a.handleBlur},null,8,["modelValue","default-config","mode","style","onOnCreated","onOnChange","onOnBlur"])])}const zo=ke(dr,[["render",mr],["__scopeId","data-v-0d3b5c3c"]]),pr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABHNCSVQICAgIfAhkiAAADdBJREFUaEPtWguUFcWZ/ququ+9rnsy9MzIzMKCAyMtXRFHJgYigoEElk109S9R1F9Acc0h8rEZ2t3eFRBDdVXMwakyMJobAGskmxiwawiaICQTdja/4ANYA82BgmGG4j+7bXbXfP9zZ4AhzZyaje05O+pzvVE93V9X/1f+suiPoT+QSfyI86I8j0rhOkR0vo7yJk9KGpMpSU6KLNs8MPu4FGjiRaetiiYQ/xorYc8m2ZpGtRpKSCWOp0CiVBg5qSW9qIbdoEq/4mdwe8o+kaf1nw4+S3ACIuLLi/NoplmNfa2y1wChruLFkxljWbmOJXdq29wspfa1UzChZQ0rVkxRRrcSbRojnRdbfmP3WnL0gYz4KQv0mkjr94TNFVK6C8BdAeEdbcnso5RNBxP4VSd2SzussJVMh5TqtuKpIUEyfZKQaL5SYLYT8hJHy9yHpr3sHan5K6yf6Q02mX0TK6u8fFh9m/Rjmcx7MyGhL/TDtm89ndixuLi6Qkc4NGycoqe6QSs7QQqzOWt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1RgQqiWhh0Fwp5uEkh14tg8a2eXlvZ0db5U2EeHwYRDXkJtWHzJgrkUWjYlICqqQSYYZei8Cl+ne2//Rh9kfJ5FBrHP/u/yZSP/X6uP5srdGsBWni4H5QLwgAtdAX+9OzkQ3AFMA7Ee7L7btB4DZwOnAsb93cBj9B4DLDwf4MpAE7gH4nQXcCHQATxXGOxvt1cA/A4cLMvwT2uGF9z1nZDw/9+c6byWQ7k2kAg+/AfCG/z8BnJ7T4sKgz6C9DXgY6Dln4oH5LJiJ7gZ+CPQ4LpferwP8zWTg+cLkS9HyaSWP/U1gKnAlwBXuPGAFwIvZBiQAJj4LKAH4uDYCfALYD2wAjkskhRe8OvcCPwOYKK/kNOBbAGfuWwqDoPm/62ncMfHHgN4RiLV8M3AtwEc7rOG/A/gHUV40JrEZuB44FziWCE9QCSwDTgYWAVXAQ8AvgfuA7t1jb40wke8Aq4AeInfi/kKAV49N7ksAr9ax178VJmBBe9TPP5R+tSDIo4Xx/hutC7CW+ShpDcDEeYFWA2wqbEo9GuE52ITY1MYACwE2T16AnwMsZ/c1VETWYiz2oecKgvHYvFL8o9D5wL8AzwJsbtcA/BsHk2cibMb87RKAtfppgE2pZ7EGTeRJDHI/8ALATsVqPQvgvfNnANZI77PYvkyLfWIS8CLA2joHGAZ8oUDoZbRszmxuTKIUmN4HETatRwD2yeUA+8qHNMIOxVGIowybATskRyQmxWew7Du8gny+yxcLxg7+lcJY7Iw9pnUA96wp9psnADZVvthEWJDbAY5aTORxoA7guc8A2CdPpBGWzQXYzDjIcGQ87tkvD8ihNFYQisMjC4jz2+7o0wCwA/PF9v2rwjPud+zFhw68ReVw/Vug56cI1jJrhX954tU9CPSciY3GPRNlE+v57wg2/wkALzKbKs/JGmUrYct4jSf9c2bvtfr/73/+L2joHH7hUihcAAAAAElFTkSuQmCC",pte="",hte="",hr={name:"RouteReport",components:{Lng:va,Lat:en,Editor:zo,Route1:Id,Route2:Zd,Route3:qd,IdmBrand:ja},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{tableData:[],sogChart:void 0,windChart:void 0,waveChart:void 0,currentChart:void 0,editable:!1,advisory:""}},computed:{computeUTCTime(){return function(t){return`${w(t).utc().format("MMM-DD/HHmm")}Z`}},computeLTime(){return function(t,n){const o=w(t);return o.utcOffset(n),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,n,o,c,l;return(l=(c=(o=(n=(t=this.plan)==null?void 0:t.leg)==null?void 0:n.destination)==null?void 0:o.port)==null?void 0:c.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,n){var o,c,l;if(n===0)return"-";{const a=w((c=(o=t==null?void 0:t.speeds[n])==null?void 0:o.speed)==null?void 0:c.eta).diff(w((l=t==null?void 0:t.speeds[0])==null?void 0:l.speed.eta),"h",!0);return Math.round(a*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,p;const n=(p=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:p.hours,o=n[0],c=n[n.length-1];return w(c.eta).diff(w(o.eta),"day")}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t){const n=[];if(t.length)return t.forEach(o=>{n.push(o),o.suspend&&n.push({etd:o.etd,eta:o.etd,isResume:!0,memo:`Drifting: ${o.suspend}hrs`})}),n}}},watch:{plan:{handler(){var t,n;(t=this.plan)!=null&&t.id&&(this.advisory=((n=this.plan)==null?void 0:n.advisory)||"As conditions and safe navigation permit, our suggested route remains valid.",this.$nextTick(()=>{this.initEChart()}))},immediate:!0}},methods:{initEChart(){var t,n,o,c,l,a,p,i,_,g;if(this.sogChart||(this.sogChart=e.markRaw(Uo.init(this.$refs.sogChart))),this.windChart||(this.windChart=e.markRaw(Uo.init(this.$refs.windChart))),this.waveChart||(this.waveChart=e.markRaw(Uo.init(this.$refs.waveChart))),(n=(t=this.plan)==null?void 0:t.speeds)!=null&&n.length){const S=[],h={grid:{right:"15%",bottom:"15%",top:"15%"},tooltip:{trigger:"axis"},legend:{itemGap:100,icon:"roundRect",itemHeight:2},xAxis:[{data:S}],yAxis:{type:"value",splitNumber:5,name:"SOG (kts)",nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:16,fontWeight:600,textAlign:"center"},position:"left",axisLabel:{formatter:"{value} kts"}},series:[]},N={grid:{right:"15%",bottom:"15%",top:"5%"},tooltip:{trigger:"axis"},xAxis:[{data:S}],yAxis:{type:"value",splitNumber:5,name:"Wind Speed (kts)",nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:16,fontWeight:600,textAlign:"center"},position:"left",axisLabel:{formatter:"{value} kts"}},series:[]},x={grid:{right:"15%",top:"5%",bottom:"10%"},tooltip:{trigger:"axis"},xAxis:[{data:S}],yAxis:{type:"value",splitNumber:5,name:"Sig Wave Height (m)",nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:16,fontWeight:600,textAlign:"center"},axisLabel:{formatter:"{value} m"}},series:[]};let r,C;for(let k=0;k<((c=(o=this.plan)==null?void 0:o.speeds)==null?void 0:c.length);k++){const T=(l=this.plan)==null?void 0:l.speeds[k].speed,u=[],L=[],O=[],b=[];for(let U=0;U<T.sample.hours.length;U++){const W=T.sample.hours[U];if(k===0){r||(r=w(W.eta).utc(),C=r.clone().add(this.computeDay(this.plan),"day"));const J=w(W.eta).utc();if(J.isAfter(C))break;S.push(`${J.format("MMM-DD/HHmm")}Z`)}const f=this.roundPrecision(W.speed||10,1),Y=this.roundPrecision(W.cFactor||0,1),R=this.roundPrecision((p=(a=W.meteo)==null?void 0:a.wind)==null?void 0:p.kts,1),H=this.roundPrecision((g=(_=(i=W.meteo)==null?void 0:i.wave)==null?void 0:_.sig)==null?void 0:g.height,1);u.push(f),O.push(R),b.push(H),L.push(Y)}const F={name:`Route ${k+1}`,type:"line",smooth:!0,showSymbol:!0,data:u},z={name:`Route ${k+1}`,type:"line",smooth:!0,showSymbol:!0,data:O},Z={name:`Route ${k+1}`,type:"line",smooth:!0,showSymbol:!0,data:b};h.series.push(F),N.series.push(z),x.series.push(Z)}this.sogChart.setOption(h),this.windChart.setOption(N),this.waveChart.setOption(x)}},handleSave(){this.$emit("commit",this.$refs.editor.valueHtml),this.editable=!1},handleRefresh(){this.$emit("refresh")},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0}}},it=t=>(e.pushScopeId("data-v-ba499fc2"),t=t(),e.popScopeId(),t),yr={class:"route-report"},Er={class:"report-header flex-space"},_r=it(()=>e.createElementVNode("img",{style:{"margin-right":"20px"},src:pr,alt:""},null,-1)),Nr=it(()=>e.createElementVNode("div",{class:"tips",style:{"line-height":"2"}},[e.createElementVNode("div",null,"The waypoints in this sheet are approximate positions."),e.createElementVNode("div",null," The route map is for reference only and should not be used for navigation. All the material is an advisory provided so as to assist the Master in making the final route decision. ")],-1)),Vr={class:"issued flex-end"},fr=it(()=>e.createElementVNode("label",null,"Issued",-1)),gr={class:"report-body"},Dr={class:"voyage-summary flex-space"},xr={class:"title"},br={key:0},Cr={key:1},Sr={key:0,class:"initial"},kr={key:1,class:"warning"},Ar={class:"summary flex-start"},Br={class:"summary-item"},wr=it(()=>e.createElementVNode("label",{class:"label"},"Voyage No",-1)),Tr={class:"summary-item"},Or=it(()=>e.createElementVNode("label",{class:"label"},"From ",-1)),Pr={key:0},Fr={key:1,class:"flex-start"},ur=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Lr={class:"summary-item"},Wr=it(()=>e.createElementVNode("label",{class:"label"},"To ",-1)),Hr={key:0},Mr={key:1,class:"flex-start"},Gr=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Ir={class:"route-advisory"},Rr={class:"charts"},zr={key:0},Ur=["src"],Yr={class:"legend-box"},Zr=e.createStaticVNode('<div class="legend-item" data-v-ba499fc2><span class="img-legend" style="background-color:var(--dangerous);" data-v-ba499fc2></span> Dangerous </div><div class="legend-item" data-v-ba499fc2><span class="img-legend" style="background-color:var(--severe);" data-v-ba499fc2></span> Severe </div><div class="legend-item" data-v-ba499fc2><span class="img-legend" style="background-color:var(--heavy);" data-v-ba499fc2></span> Heavy </div><div class="legend-item" data-v-ba499fc2><b class="route1" data-v-ba499fc2></b><span data-v-ba499fc2>Route 1</span></div>',4),Qr={key:0,class:"legend-item"},$r=[it(()=>e.createElementVNode("b",{class:"route2"},null,-1)),it(()=>e.createElementVNode("span",null,"Route 2",-1))],Jr={key:1,class:"legend-item"},Kr=[it(()=>e.createElementVNode("b",{class:"route3"},null,-1)),it(()=>e.createElementVNode("span",null,"Route 3",-1))],qr={key:1,class:"empty"},Xr={class:"route-comparison"},jr=it(()=>e.createElementVNode("div",{class:"title flex-space"},[e.createElementVNode("div",{class:"secondary-title"},"Route Comparison"),e.createElementVNode("div",{class:"tips"},[e.createTextVNode(" * Please note the climatology data was used for days that extend beyond the available forecast."),e.createElementVNode("br"),e.createTextVNode(" * Fuel consumption was calculated only based on CP terms, and does not reflect actual consumption. ")])],-1)),vr={class:"container"},em={key:0},tm=it(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",{rowspan:"2"},"TTL Dist (nm)"),e.createElementVNode("th",null,"ETA (UTC)"),e.createElementVNode("th",{rowspan:"2"},"Diff (h)"),e.createElementVNode("th",{colspan:"2"},"TTL Cons (mt)"),e.createElementVNode("th",null,"Dangerous"),e.createElementVNode("th",null,"Severe"),e.createElementVNode("th",null,"Heavy")],-1)),om=it(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),lm=it(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),am=it(()=>e.createElementVNode("th",null,"*FO",-1)),nm=it(()=>e.createElementVNode("th",null,"*DO",-1)),sm={colspan:"3"},im={rowspan:"2"},cm={rowspan:"2"},dm={rowspan:"2"},rm={rowspan:"2"},mm={rowspan:"2"},pm={rowspan:"2"},hm={rowspan:"2"},ym={rowspan:"2"},Em={rowspan:"2"},_m={class:"route-advisory",style:{"page-break-after":"always"}},Nm={class:"advisory"},Vm={class:"reason"},fm={class:"secondary-title flex-space"},gm=it(()=>e.createElementVNode("div",null,"Note",-1)),Dm=["innerHTML"],xm={class:"major-waypoints"},bm=it(()=>e.createElementVNode("div",{class:"secondary-title"},"Major Waypoints of Route 1",-1)),Cm={class:"container"},Sm=e.createStaticVNode('<div class="header" data-v-ba499fc2><div class="cell-item" style="width:180px;" data-v-ba499fc2>Major waypoint</div><div class="cell-item" style="width:100px;" data-v-ba499fc2>Time</div><div class="cell-item" style="width:35px;" data-v-ba499fc2>Nav</div><div class="cell-item" style="width:55px;" data-v-ba499fc2>Dist</div><div class="cell-item" style="width:40px;" data-v-ba499fc2>SOG</div><div class="cell-item" style="width:125px;" data-v-ba499fc2>Memo</div></div>',1),km={class:"body"},Am={class:"cell-item",style:{width:"180px"}},Bm={key:0,class:"flex-center"},wm={key:1,class:"flex-center"},Tm=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Om={key:0},Pm={class:"cell-item",style:{width:"100px"}},Fm={key:0,class:"cell-item offset",style:{width:"35px"}},um={key:1,class:"cell-item offset",style:{width:"55px"}},Lm={key:2,class:"cell-item offset",style:{width:"40px"}},Wm={key:3,class:"cell-item offset",style:{width:"125px"}},Hm={class:"weather-eChart"},Mm=it(()=>e.createElementVNode("div",{class:"secondary-title"},"Weather and Speed Analysis",-1)),Gm={ref:"sogChart",class:"eChart"},Im={ref:"windChart",class:"eChart wind"},Rm={ref:"waveChart",class:"eChart"},zm={class:"weather-sample"},Um={class:"secondary-title"},Ym=it(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("UTC")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),Zm={class:"flex-center"},Qm=it(()=>e.createElementVNode("span",null,"/",-1)),$m={key:0,class:"degree-box"},Jm={key:1},Km={key:0,class:"degree-box"},qm={key:1},Xm={key:0,class:"degree-box"},jm={key:1},vm={key:0,class:"degree-box"},ep={key:1};function tp(t,n,o,c,l,a){var S,h,N,x,r,C,k,T,u,L,O,b,F,z,Z,U,W,f,Y,R,H,J,K,X,q,V,M,$,s,j,d,v,le,ee,ie,ce,de,re,Ee,ae,he,_e,Ne,Ve,fe,ge,De,xe,be,Ce,Oe,Pe,ye;const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Lat"),_=e.resolveComponent("Lng"),g=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",yr,[e.createVNode(p,{name:"Voyage Planning"}),e.createElementVNode("div",Er,[_r,Nr,e.createElementVNode("div",Vr,[fr,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime((S=o.plan)==null?void 0:S.updatedAt)),1)])]),e.createElementVNode("div",gr,[e.createElementVNode("div",Dr,[e.createElementVNode("div",xr,[((h=o.plan)==null?void 0:h.type)==="Recommend"?(e.openBlock(),e.createElementBlock("div",br,"Recommended Route Report for "+e.toDisplayString((r=(x=(N=o.plan)==null?void 0:N.voyage)==null?void 0:x.vessel)==null?void 0:r.name),1)):(e.openBlock(),e.createElementBlock("div",Cr,"Route Report for "+e.toDisplayString((T=(k=(C=o.plan)==null?void 0:C.voyage)==null?void 0:k.vessel)==null?void 0:T.name),1)),e.createElementVNode("div",null,[((u=o.plan)==null?void 0:u.type)==="Recommend"?(e.openBlock(),e.createElementBlock("span",Sr,"Initial Route Report")):e.createCommentVNode("",!0),((L=o.plan)==null?void 0:L.type)==="Drifting"?(e.openBlock(),e.createElementBlock("span",kr,"Drifting Route Report")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Ar,[e.createElementVNode("div",Br,[wr,e.createElementVNode("span",null,e.toDisplayString((b=(O=o.plan)==null?void 0:O.voyage)==null?void 0:b.number),1)]),e.createElementVNode("div",Tr,[Or,(Z=(z=(F=o.plan)==null?void 0:F.leg)==null?void 0:z.departure)!=null&&Z.name?(e.openBlock(),e.createElementBlock("div",Pr,e.toDisplayString((W=(U=o.plan)==null?void 0:U.leg)==null?void 0:W.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Fr,[e.createVNode(i,{lat:(R=(Y=(f=o.plan)==null?void 0:f.leg)==null?void 0:Y.departure)==null?void 0:R.lat,label:""},null,8,["lat"]),ur,e.createVNode(_,{lng:(K=(J=(H=o.plan)==null?void 0:H.leg)==null?void 0:J.departure)==null?void 0:K.lng,label:""},null,8,["lng"])]))]),e.createElementVNode("div",Lr,[Wr,(V=(q=(X=o.plan)==null?void 0:X.leg)==null?void 0:q.destination)!=null&&V.name?(e.openBlock(),e.createElementBlock("div",Hr,e.toDisplayString((M=o.plan)==null?void 0:M.leg.destination.name),1)):(e.openBlock(),e.createElementBlock("div",Mr,[e.createVNode(i,{lat:(j=(s=($=o.plan)==null?void 0:$.leg)==null?void 0:s.destination)==null?void 0:j.lat,label:""},null,8,["lat"]),Gr,e.createVNode(_,{lat:(le=(v=(d=o.plan)==null?void 0:d.leg)==null?void 0:v.destination)==null?void 0:le.lng,label:""},null,8,["lat"])]))])])]),e.createElementVNode("div",Ir,[e.createElementVNode("div",Rr,[(ee=o.plan)!=null&&ee.chartUrl?(e.openBlock(),e.createElementBlock("div",zr,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,Ur),e.createElementVNode("div",Yr,[Zr,((ce=(ie=o.plan)==null?void 0:ie.speeds)==null?void 0:ce.length)>1?(e.openBlock(),e.createElementBlock("div",Qr,$r)):e.createCommentVNode("",!0),((re=(de=o.plan)==null?void 0:de.speeds)==null?void 0:re.length)>2?(e.openBlock(),e.createElementBlock("div",Jr,Kr)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",qr,[e.createElementVNode("span",null,[e.createTextVNode("weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:n[0]||(n[0]=(...P)=>a.handleRefresh&&a.handleRefresh(...P))},"Refresh"),e.createTextVNode(" later please")])]))])]),e.createElementVNode("div",Xr,[jr,e.createElementVNode("div",vr,[(ae=(Ee=o.plan)==null?void 0:Ee.speeds)!=null&&ae.length?(e.openBlock(),e.createElementBlock("table",em,[e.createElementVNode("thead",null,[tm,e.createElementVNode("tr",null,[om,lm,am,nm,e.createElementVNode("th",sm,"*days (with in the next "+e.toDisplayString(a.computeDay(o.plan))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((he=o.plan)==null?void 0:he.speeds,(P,me)=>{var Fe,ue,Le,Se,We,Ue,Ye,G,we,Me,Ze,Qe,$e,Je,Ke,E,Q,Te,He,Ge;return e.openBlock(),e.createElementBlock(e.Fragment,{key:me},[e.createElementVNode("tr",null,[e.createElementVNode("td",im,e.toDisplayString(me+1),1),e.createElementVNode("td",cm,e.toDisplayString((ue=(Fe=P.speed)==null?void 0:Fe.lane)==null?void 0:ue.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((Le=P.speed)==null?void 0:Le.label)??"CP"} ${((Se=P.speed)==null?void 0:Se.v0)??((Ue=(We=P.speed)==null?void 0:We.cpCopy)==null?void 0:Ue.speed)}`),1),e.createElementVNode("td",dm,e.toDisplayString(a.roundPrecision((Ye=P.speed)==null?void 0:Ye.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((G=P.speed)==null?void 0:G.eta)),1),e.createElementVNode("td",rm,e.toDisplayString(a.computeTimeDiff(o.plan,me)),1),e.createElementVNode("td",mm,e.toDisplayString(a.roundPrecision((we=P.speed)==null?void 0:we.totalFoCons,3)),1),e.createElementVNode("td",pm,e.toDisplayString(a.roundPrecision((Me=P.speed)==null?void 0:Me.totalDgoCons,3)),1),e.createElementVNode("td",hm,e.toDisplayString(a.roundPrecision(((Ze=P.speed)==null?void 0:Ze.dangerous)/24,1)),1),e.createElementVNode("td",ym,e.toDisplayString(a.roundPrecision(((Qe=P.speed)==null?void 0:Qe.severe)/24,1)),1),e.createElementVNode("td",Em,e.toDisplayString(a.roundPrecision((($e=P.speed)==null?void 0:$e.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((Ke=(Je=P.speed)==null?void 0:Je.cpCopy)==null?void 0:Ke.fo)+" FO / "+e.toDisplayString((Q=(E=P.speed)==null?void 0:E.cpCopy)==null?void 0:Q.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Te=P.speed)==null?void 0:Te.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((He=P.speed)==null?void 0:He.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((Ge=P.speed)==null?void 0:Ge.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",_m,[e.createElementVNode("div",Nm,[e.createElementVNode("div",Vm,[e.createElementVNode("div",fm,[gm,l.editable?(e.openBlock(),e.createElementBlock("div",{key:0,class:"print-hidden save-button",onClick:n[1]||(n[1]=P=>a.handleSave())},"Save")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[l.editable?(e.openBlock(),e.createBlock(g,{key:0,ref:"editor",modelValue:l.advisory,"onUpdate:modelValue":n[2]||(n[2]=P=>l.advisory=P),class:"editor",height:"320px"},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[3]||(n[3]=(...P)=>a.decideDisable&&a.decideDisable(...P)),innerHTML:l.advisory},null,40,Dm))])]),e.createElementVNode("div",xm,[bm,e.createElementVNode("div",Cm,[Sm,e.createElementVNode("div",km,[(Ne=(_e=o.plan)==null?void 0:_e.speeds)!=null&&Ne.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.computeMajorPoints((De=(ge=(fe=(Ve=o.plan)==null?void 0:Ve.speeds[0])==null?void 0:fe.speed)==null?void 0:ge.sample)==null?void 0:De.wps),(P,me)=>(e.openBlock(),e.createElementBlock("div",{key:me,class:"cell-row"},[e.createElementVNode("div",Am,[P.isResume?(e.openBlock(),e.createElementBlock("div",Bm,"Resume")):(e.openBlock(),e.createElementBlock("div",wm,[e.createVNode(i,{lat:P.lat,label:""},null,8,["lat"]),Tm,e.createVNode(_,{lng:P.lng,label:""},null,8,["lng"]),P.pilot?(e.openBlock(),e.createElementBlock("span",Om," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",Pm,e.toDisplayString(a.computeUTCTime(P.eta)),1),me?(e.openBlock(),e.createElementBlock("div",Fm,e.toDisplayString(a.computeNav(P)),1)):e.createCommentVNode("",!0),me?(e.openBlock(),e.createElementBlock("div",um,e.toDisplayString(a.roundPrecision(P.distanceFromStart,1)),1)):e.createCommentVNode("",!0),me?(e.openBlock(),e.createElementBlock("div",Lm,e.toDisplayString(a.roundPrecision(P.avgSpd??P.speed,1)),1)):e.createCommentVNode("",!0),me?(e.openBlock(),e.createElementBlock("div",Wm,e.toDisplayString(a.computeMemo(P)),1)):e.createCommentVNode("",!0)]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Hm,[Mm,e.createElementVNode("div",Gm,null,512),e.createElementVNode("div",Im,null,512),e.createElementVNode("div",Rm,null,512)]),e.createElementVNode("div",zm,[(be=(xe=o.plan)==null?void 0:xe.speeds)!=null&&be.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Um,"Weather Forecast for the Next "+e.toDisplayString(a.computeDay(o.plan))+" Days of Route 1",1),e.createElementVNode("table",null,[Ym,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ye=(Pe=(Oe=(Ce=o.plan)==null?void 0:Ce.speeds[0])==null?void 0:Oe.speed)==null?void 0:Pe.sample)==null?void 0:ye.hours,(P,me)=>{var Fe,ue,Le,Se,We,Ue,Ye,G,we,Me,Ze,Qe,$e,Je,Ke,E,Q,Te,He,Ge,pe,qe,je,ve,ot,lt,at,nt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ot,Ht;return e.openBlock(),e.createElementBlock("tr",{key:me,class:e.normalizeClass(P.isDangerous?"dangerous":P.isSevere?"severe":P.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(P.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",Zm,[e.createVNode(i,{lat:P.lat,label:""},null,8,["lat"]),Qm,e.createVNode(_,{lng:P.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(ue=(Fe=P.meteo)==null?void 0:Fe.wind)!=null&&ue.kts?(e.openBlock(),e.createElementBlock("span",$m,[e.createTextVNode(e.toDisplayString((Se=(Le=P.meteo)==null?void 0:Le.wind)==null?void 0:Se.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Ue=(We=P.meteo)==null?void 0:We.wind)==null?void 0:Ue.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Jm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((G=(Ye=P.meteo)==null?void 0:Ye.wind)==null?void 0:G.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ze=(Me=(we=P.meteo)==null?void 0:we.wave)==null?void 0:Me.wd)==null?void 0:Ze.height,1)),1),e.createElementVNode("td",null,[(Je=($e=(Qe=P.meteo)==null?void 0:Qe.wave)==null?void 0:$e.swell)!=null&&Je.height?(e.openBlock(),e.createElementBlock("span",Km,[e.createTextVNode(e.toDisplayString((Q=(E=(Ke=P.meteo)==null?void 0:Ke.wave)==null?void 0:E.swell)==null?void 0:Q.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Ge=(He=(Te=P.meteo)==null?void 0:Te.wave)==null?void 0:He.swell)==null?void 0:Ge.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",qm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((je=(qe=(pe=P.meteo)==null?void 0:pe.wave)==null?void 0:qe.swell)==null?void 0:je.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((lt=(ot=(ve=P.meteo)==null?void 0:ve.wave)==null?void 0:ot.swell)==null?void 0:lt.period,1)),1),e.createElementVNode("td",null,[(pt=(nt=(at=P.meteo)==null?void 0:at.wave)==null?void 0:nt.sig)!=null&&pt.height?(e.openBlock(),e.createElementBlock("span",Xm,[e.createTextVNode(e.toDisplayString((Et=(yt=(ht=P.meteo)==null?void 0:ht.wave)==null?void 0:yt.sig)==null?void 0:Et.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Vt=(Nt=(_t=P.meteo)==null?void 0:_t.wave)==null?void 0:Nt.sig)==null?void 0:Vt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",jm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Dt=(gt=(ft=P.meteo)==null?void 0:ft.wave)==null?void 0:gt.sig)==null?void 0:Dt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ct=(bt=(xt=P.meteo)==null?void 0:xt.wave)==null?void 0:bt.sig)==null?void 0:Ct.period,1)),1),e.createElementVNode("td",null,[(kt=(St=P.meteo)==null?void 0:St.current)!=null&&kt.kts?(e.openBlock(),e.createElementBlock("span",vm,[e.createTextVNode(e.toDisplayString((Bt=(At=P.meteo)==null?void 0:At.current)==null?void 0:Bt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Tt=(wt=P.meteo)==null?void 0:wt.current)==null?void 0:Tt.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",ep,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ht=(Ot=P.meteo)==null?void 0:Ot.current)==null?void 0:Ht.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(P.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0)])])])}const cn=ke(hr,[["render",tp],["__scopeId","data-v-ba499fc2"]]),Vte="",op={name:"RouteReport",components:{Lng:va,Lat:en,Editor:zo},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:""}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}},computeLTime(){return function(t,n){const o=w(t);return o.utcOffset(n),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,n,o,c,l;return(l=(c=(o=(n=(t=this.plan)==null?void 0:t.leg)==null?void 0:n.destination)==null?void 0:o.port)==null?void 0:c.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,n){var o,c,l;if(n===0)return"-";{const a=w((c=(o=t==null?void 0:t.speeds[n])==null?void 0:o.speed)==null?void 0:c.eta).diff(w((l=t==null?void 0:t.speeds[0])==null?void 0:l.speed.eta),"h",!0);return Math.round(a*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,p;const n=(p=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:p.hours,o=n[0],c=n[n.length-1];return w(c.eta).diff(w(o.eta),"day")}}},watch:{plan:{handler(){var t,n;(t=this.plan)!=null&&t.id&&(this.advisory=((n=this.plan)==null?void 0:n.advisory)||"Pls find the following major waypoints for your safe navigation.")},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0}}},ct=t=>(e.pushScopeId("data-v-afd0f0bf"),t=t(),e.popScopeId(),t),lp={class:"route-report"},ap=ct(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),np={class:"section"},sp=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),ip={class:"section-body basics"},cp={class:"flex-space section-row"},dp={class:"flex-start"},rp=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),mp={class:"flex-start"},pp={class:"flex-start"},hp=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),yp={class:"flex-start flex"},Ep={key:0,class:"flex"},_p={key:1,class:"flex-space flex"},Np=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Vp={class:"time flex"},fp={class:"flex-space section-row"},gp={class:"flex-start"},Dp=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),xp={class:"flex-start"},bp={class:"flex-start"},Cp=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),Sp={class:"flex-start flex"},kp={key:0,class:"flex"},Ap={key:1,class:"flex-space"},Bp=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),wp={class:"time flex"},Tp={class:"flex-space section-row"},Op={class:"flex-start"},Pp=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),Fp={class:"flex-start"},up={class:"flex-start"},Lp=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),Wp={class:"flex-start flex"},Hp={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},Mp=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),Gp={class:"section-body detail"},Ip={class:"flex-space",style:{"align-items":"stretch"}},Rp={class:"chart"},zp=["src"],Up={key:1,class:"empty flex-center"},Yp={class:"route flex",style:{"justify-content":"space-between"}},Zp=ct(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),Qp={class:"suggestion"},$p=["innerHTML"],Jp={class:"flex-start legends"},Kp=e.createStaticVNode('<div class="legend" data-v-afd0f0bf><label style="background-color:var(--severe);" data-v-afd0f0bf></label><span data-v-afd0f0bf>Dangerous</span></div><div class="legend" data-v-afd0f0bf><label style="background-color:var(--heavy);" data-v-afd0f0bf></label><span data-v-afd0f0bf>Severe</span></div><div class="legend" data-v-afd0f0bf><b class="route1" data-v-afd0f0bf></b><span data-v-afd0f0bf>Route 1</span></div>',3),qp={key:0,class:"legend"},Xp=[ct(()=>e.createElementVNode("b",{class:"route2"},null,-1)),ct(()=>e.createElementVNode("span",null,"Route 2",-1))],jp={key:1,class:"legend"},vp=[ct(()=>e.createElementVNode("b",{class:"route3"},null,-1)),ct(()=>e.createElementVNode("span",null,"Route 3",-1))],eh={class:"section"},th=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),oh={class:"section-body comparison"},lh={class:"container"},ah={key:0},nh=ct(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr"),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Route"),e.createElementVNode("th",null,"TTL Dist (nm)"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",null,"CP Cons (mt)"),e.createElementVNode("th",null,"ETA (UTC)"),e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)"),e.createElementVNode("th",null,"TTL Cons (mt)")])],-1)),sh={class:"section",style:{"page-break-inside":"avoid"}},ih=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),ch={class:"section-body sample"},dh={class:"major-waypoints"},rh={class:"container"},mh=e.createStaticVNode('<div class="header" data-v-afd0f0bf><div class="cell-item flexM" data-v-afd0f0bf>Major waypoint</div><div class="cell-item flexL" data-v-afd0f0bf>Name</div><div class="cell-item flex" data-v-afd0f0bf>Time</div><div class="cell-item flex" data-v-afd0f0bf>Nav</div><div class="cell-item flex" data-v-afd0f0bf>Dist</div><div class="cell-item flex" data-v-afd0f0bf>SOG</div></div>',1),ph={class:"body"},hh={class:"cell-item flexM"},yh={class:"flex-center"},Eh=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),_h={class:"cell-item flexL"},Nh={key:0,class:"flex-center"},Vh={key:1},fh={class:"cell-item flex"},gh={key:0,class:"cell-item flex offset"},Dh={key:1,class:"cell-item flex nbsp"},xh={key:2,class:"cell-item flex offset"},bh={key:3,class:"cell-item flex nbsp"},Ch={key:4,class:"cell-item flex offset"},Sh={key:5,class:"cell-item flex nbsp"},kh={class:"section"},Ah=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),Bh={class:"section-body sample"},wh={key:0},Th=ct(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),Oh={class:"flex-center"},Ph=ct(()=>e.createElementVNode("span",null,"/",-1)),Fh={key:0,class:"degree-box"},uh={key:1},Lh={key:0,class:"degree-box"},Wh={key:1},Hh={key:0,class:"degree-box"},Mh={key:1},Gh={key:0,class:"degree-box"},Ih={key:1},Rh=ct(()=>e.createElementVNode("div",{class:"section"},[e.createElementVNode("div",{class:"section-body footer"},[e.createElementVNode("div",null,[e.createTextVNode("Fleet Insight Limited "),e.createElementVNode("a",{href:"mailto:ops@fltins.com"},"ops@fltins.com")]),e.createElementVNode("div",{style:{"font-size":"11px","margin-top":"10px"}}," The waypoints and route map provided are intended for informational purposes only and should not be relied upon for actual navigation. Fleet Insight Limited assumes no liability for any direct/potential damage to vessels or cargo that may occur as a result of using this voyage plan for exact navigation. ")])],-1));function zh(t,n,o,c,l,a){var g,S,h,N,x,r,C,k,T,u,L,O,b,F,z,Z,U,W,f,Y,R,H,J,K,X,q,V,M,$,s,j,d,v,le,ee,ie,ce,de,re,Ee,ae,he,_e,Ne,Ve,fe,ge,De,xe,be,Ce,Oe,Pe,ye,P,me,Fe,ue,Le,Se,We,Ue,Ye;const p=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),_=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",lp,[ap,e.createElementVNode("div",np,[sp,e.createElementVNode("div",ip,[e.createElementVNode("div",cp,[e.createElementVNode("div",dp,[rp,e.createElementVNode("div",mp,e.toDisplayString((h=(S=(g=o.plan)==null?void 0:g.voyage)==null?void 0:S.company)==null?void 0:h.name),1)]),e.createElementVNode("div",pp,[hp,e.createElementVNode("div",yp,[(r=(x=(N=o.plan)==null?void 0:N.leg)==null?void 0:x.departure)!=null&&r.name?(e.openBlock(),e.createElementBlock("div",Ep,e.toDisplayString((k=(C=o.plan)==null?void 0:C.leg)==null?void 0:k.departure.name),1)):(e.openBlock(),e.createElementBlock("div",_p,[e.createVNode(p,{lat:(L=(u=(T=o.plan)==null?void 0:T.leg)==null?void 0:u.departure)==null?void 0:L.lat,label:""},null,8,["lat"]),Np,e.createVNode(i,{lng:(F=(b=(O=o.plan)==null?void 0:O.leg)==null?void 0:b.departure)==null?void 0:F.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Vp,e.toDisplayString(a.computeUTCTime(((U=(Z=(z=o.plan)==null?void 0:z.leg)==null?void 0:Z.departure)==null?void 0:U.atd)||((Y=(f=(W=o.plan)==null?void 0:W.leg)==null?void 0:f.departure)==null?void 0:Y.etd),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",fp,[e.createElementVNode("div",gp,[Dp,e.createElementVNode("div",xp,e.toDisplayString((J=(H=(R=o.plan)==null?void 0:R.voyage)==null?void 0:H.vessel)==null?void 0:J.name),1)]),e.createElementVNode("div",bp,[Cp,e.createElementVNode("div",Sp,[(q=(X=(K=o.plan)==null?void 0:K.leg)==null?void 0:X.destination)!=null&&q.name?(e.openBlock(),e.createElementBlock("div",kp,e.toDisplayString((M=(V=o.plan)==null?void 0:V.leg)==null?void 0:M.destination.name),1)):(e.openBlock(),e.createElementBlock("div",Ap,[e.createVNode(p,{lat:(j=(s=($=o.plan)==null?void 0:$.leg)==null?void 0:s.destination)==null?void 0:j.lat,label:""},null,8,["lat"]),Bp,e.createVNode(i,{lng:(le=(v=(d=o.plan)==null?void 0:d.leg)==null?void 0:v.destination)==null?void 0:le.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",wp,e.toDisplayString(a.computeUTCTime(((ce=(ie=(ee=o.plan)==null?void 0:ee.speeds)==null?void 0:ie[0])==null?void 0:ce.speed.ata)||((re=(de=o.plan)==null?void 0:de.speeds)==null?void 0:re[0].speed.eta),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",Tp,[e.createElementVNode("div",Op,[Pp,e.createElementVNode("div",Fp,e.toDisplayString(a.computeUTCTime((Ee=o.plan)==null?void 0:Ee.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",up,[Lp,e.createElementVNode("div",Wp,[e.createElementVNode("div",null,e.toDisplayString((he=(ae=o.plan)==null?void 0:ae.voyage)==null?void 0:he.loadCondition),1)])])])])]),e.createElementVNode("div",Hp,[Mp,e.createElementVNode("div",Gp,[e.createElementVNode("div",Ip,[e.createElementVNode("div",Rp,[(_e=o.plan)!=null&&_e.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(Ne=o.plan)==null?void 0:Ne.chartUrl},null,8,zp)):(e.openBlock(),e.createElementBlock("div",Up,[e.createTextVNode("waiting for weather map, "),e.createElementVNode("b",{onClick:n[0]||(n[0]=(...G)=>a.handleRefresh&&a.handleRefresh(...G))},"Refresh"),e.createTextVNode("later please")]))]),e.createElementVNode("div",Yp,[e.createElementVNode("div",null,[Zp,e.createElementVNode("div",Qp,[l.editable?(e.openBlock(),e.createBlock(_,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[1]||(n[1]=G=>l.advisory=G),class:"editor",height:"120px",onBlur:n[2]||(n[2]=G=>a.handleCommit(G))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[3]||(n[3]=(...G)=>a.handleEdit&&a.handleEdit(...G)),innerHTML:l.advisory},null,40,$p))])]),e.createElementVNode("div",Jp,[Kp,((fe=(Ve=o.plan)==null?void 0:Ve.speeds)==null?void 0:fe.length)>1?(e.openBlock(),e.createElementBlock("div",qp,Xp)):e.createCommentVNode("",!0),((De=(ge=o.plan)==null?void 0:ge.speeds)==null?void 0:De.length)>2?(e.openBlock(),e.createElementBlock("div",jp,vp)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",eh,[th,e.createElementVNode("div",oh,[e.createElementVNode("div",lh,[(be=(xe=o.plan)==null?void 0:xe.speeds)!=null&&be.length?(e.openBlock(),e.createElementBlock("table",ah,[nh,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ce=o.plan)==null?void 0:Ce.speeds,(G,we)=>{var Me,Ze,Qe,$e,Je,Ke,E,Q,Te,He,Ge,pe,qe,je,ve;return e.openBlock(),e.createElementBlock("tr",{key:we},[e.createElementVNode("td",null,"Route "+e.toDisplayString(we+1),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Me=G.speed)==null?void 0:Me.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${((Ze=G.speed)==null?void 0:Ze.label)??"CP"} ${((Qe=G.speed)==null?void 0:Qe.v0)??((Je=($e=G.speed)==null?void 0:$e.cpCopy)==null?void 0:Je.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((E=(Ke=G.speed)==null?void 0:Ke.cpCopy)==null?void 0:E.fo)+" FO / "+e.toDisplayString((Te=(Q=G.speed)==null?void 0:Q.cpCopy)==null?void 0:Te.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((He=G.speed)==null?void 0:He.eta)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ge=G.speed)==null?void 0:Ge.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((pe=G.speed)==null?void 0:pe.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((qe=G.speed)==null?void 0:qe.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((je=G.speed)==null?void 0:je.totalFoCons,3))+" FO /"+e.toDisplayString(a.roundPrecision((ve=G.speed)==null?void 0:ve.totalDgoCons,3))+" DO",1)])}),128))])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",sh,[ih,e.createElementVNode("div",ch,[e.createElementVNode("div",dh,[e.createElementVNode("div",rh,[mh,e.createElementVNode("div",ph,[(Pe=(Oe=o.plan)==null?void 0:Oe.speeds)!=null&&Pe.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList((Fe=(me=(P=(ye=o.plan)==null?void 0:ye.speeds[0])==null?void 0:P.speed)==null?void 0:me.sample)==null?void 0:Fe.wps,(G,we)=>(e.openBlock(),e.createElementBlock("div",{key:we,class:"cell-row"},[e.createElementVNode("div",hh,[e.createElementVNode("div",yh,[e.createVNode(p,{lat:G.lat,label:""},null,8,["lat"]),Eh,e.createVNode(i,{lng:G.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",_h,[G.name?(e.openBlock(),e.createElementBlock("span",Nh,e.toDisplayString(G.name),1)):(e.openBlock(),e.createElementBlock("span",Vh,"-"))]),e.createElementVNode("div",fh,e.toDisplayString(a.computeUTCTime(G.eta)),1),we?(e.openBlock(),e.createElementBlock("div",gh,e.toDisplayString(a.computeNav(G)),1)):(e.openBlock(),e.createElementBlock("div",Dh)),we?(e.openBlock(),e.createElementBlock("div",xh,e.toDisplayString(a.roundPrecision(G.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",bh)),we?(e.openBlock(),e.createElementBlock("div",Ch,e.toDisplayString(a.roundPrecision(G.avgSpd??G.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",Sh))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",kh,[Ah,e.createElementVNode("div",Bh,[(Le=(ue=o.plan)==null?void 0:ue.speeds)!=null&&Le.length?(e.openBlock(),e.createElementBlock("table",wh,[Th,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ye=(Ue=(We=(Se=o.plan)==null?void 0:Se.speeds[0])==null?void 0:We.speed)==null?void 0:Ue.sample)==null?void 0:Ye.hours,(G,we)=>{var Me,Ze,Qe,$e,Je,Ke,E,Q,Te,He,Ge,pe,qe,je,ve,ot,lt,at,nt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ot;return e.openBlock(),e.createElementBlock("tr",{key:we,class:e.normalizeClass(G.isDangerous?"dangerous":G.isSevere?"severe":G.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(G.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",Oh,[e.createVNode(p,{lat:G.lat,label:""},null,8,["lat"]),Ph,e.createVNode(i,{lng:G.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Ze=(Me=G.meteo)==null?void 0:Me.wind)!=null&&Ze.kts?(e.openBlock(),e.createElementBlock("span",Fh,e.toDisplayString(($e=(Qe=G.meteo)==null?void 0:Qe.wind)==null?void 0:$e.direction),1)):(e.openBlock(),e.createElementBlock("span",uh,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ke=(Je=G.meteo)==null?void 0:Je.wind)==null?void 0:Ke.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Te=(Q=(E=G.meteo)==null?void 0:E.wave)==null?void 0:Q.wd)==null?void 0:Te.height,1)),1),e.createElementVNode("td",null,[(pe=(Ge=(He=G.meteo)==null?void 0:He.wave)==null?void 0:Ge.swell)!=null&&pe.height?(e.openBlock(),e.createElementBlock("span",Lh,e.toDisplayString((ve=(je=(qe=G.meteo)==null?void 0:qe.wave)==null?void 0:je.swell)==null?void 0:ve.direction),1)):(e.openBlock(),e.createElementBlock("span",Wh,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((at=(lt=(ot=G.meteo)==null?void 0:ot.wave)==null?void 0:lt.swell)==null?void 0:at.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ht=(pt=(nt=G.meteo)==null?void 0:nt.wave)==null?void 0:pt.swell)==null?void 0:ht.period,1)),1),e.createElementVNode("td",null,[(_t=(Et=(yt=G.meteo)==null?void 0:yt.wave)==null?void 0:Et.sig)!=null&&_t.height?(e.openBlock(),e.createElementBlock("span",Hh,e.toDisplayString((ft=(Vt=(Nt=G.meteo)==null?void 0:Nt.wave)==null?void 0:Vt.sig)==null?void 0:ft.direction),1)):(e.openBlock(),e.createElementBlock("span",Mh,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((xt=(Dt=(gt=G.meteo)==null?void 0:gt.wave)==null?void 0:Dt.sig)==null?void 0:xt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((St=(Ct=(bt=G.meteo)==null?void 0:bt.wave)==null?void 0:Ct.sig)==null?void 0:St.period,1)),1),e.createElementVNode("td",null,[(At=(kt=G.meteo)==null?void 0:kt.current)!=null&&At.kts?(e.openBlock(),e.createElementBlock("span",Gh,e.toDisplayString((wt=(Bt=G.meteo)==null?void 0:Bt.current)==null?void 0:wt.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",Ih,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ot=(Tt=G.meteo)==null?void 0:Tt.current)==null?void 0:Ot.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(G.cFactor,1)),1)],2)}),128))])])):e.createCommentVNode("",!0)])]),Rh])}const Nn=ke(op,[["render",zh],["__scopeId","data-v-afd0f0bf"]]),bte="",Uh={name:"OrmRouteReport",components:{Lng:va,Lat:en,Editor:zo,Brand:Ro,Loading:on},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:"",echart:void 0,speedIndex:0,loading:!0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}},computeLTime(){return function(t,n,o){let c=0;return o&&n&&(c=te.LngLatHelper.guessTimeZoneOffset(n,o)),`${w(t).utcOffset(c).format("MMM-DD/HHmm")}LT`}},computeTimeDiff(){return function(t,n){var o,c,l,a,p;if(n===0)return"-";{const i=w((l=(c=(o=t==null?void 0:t.speeds)==null?void 0:o[n])==null?void 0:c.speed)==null?void 0:l.eta).diff(w((p=(a=t==null?void 0:t.speeds)==null?void 0:a[0])==null?void 0:p.speed.eta),"h",!0);return Math.round(i*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t){const n=[];if(t.length)return t.forEach(o=>{n.push(o),o.suspend&&n.push({etd:o.etd,eta:o.etd,isResume:!0,memo:`Drifting: ${o.suspend}hrs`})}),n}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t,n=0){var a,p,i,_;const o=(_=(i=(p=(a=t==null?void 0:t.speeds)==null?void 0:a[n])==null?void 0:p.speed)==null?void 0:i.sample)==null?void 0:_.hours,c=o[0],l=o[o.length-1];return Math.round(w(l.eta).diff(w(c.eta),"day",!0)*10)/10}}},watch:{plan:{handler(){var t,n;(t=this.plan)!=null&&t.id&&(this.loading=!1,this.advisory=((n=this.plan)==null?void 0:n.advisory)||"Pls find the following major waypoints for your safe navigation.",this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0},initEchart(){this.echart||(this.echart=e.markRaw(Uo.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var _,g,S,h,N,x,r;const t=[],n=[],o={dateTime:0,windSpeed:1,waveHeight:2,windDirection:3,windDegree:4,windScale:5,currentFactor:6,weatherFactor:7,speed:8},c={};["W","WSW","SW","SSW","S","SSE","SE","ESE","E","ENE","NE","NNE","N","NNW","NW","WNW"].forEach((C,k)=>{c[C]=Math.PI/8*k});const a=18;let p=4;(x=(N=(h=(S=(g=(_=this.plan)==null?void 0:_.speeds)==null?void 0:g[this.speedIndex])==null?void 0:S.speed)==null?void 0:h.sample)==null?void 0:N.hours)==null||x.forEach(C=>{var T,u,L,O,b,F,z,Z,U,W;const k=C.meteo;if(k){const f=w(k.utc).utc().format("MMM-DD/HHmm[Z]");t.push(f),p=Math.ceil(((u=(T=k.wave)==null?void 0:T.sig)==null?void 0:u.height)>p?(O=(L=k.wave)==null?void 0:L.sig)==null?void 0:O.height:p),n.push([f,(b=k.wind)==null?void 0:b.kts,(z=(F=k.wave)==null?void 0:F.sig)==null?void 0:z.height,(Z=k.wind)==null?void 0:Z.direction,(U=k.wind)==null?void 0:U.degree,(W=k.wind)==null?void 0:W.scale,C.cFactor,C.wFactor,C.speed])}});const i={animation:!1,title:{text:"Weather Conditions & Speed Analysis",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40},xAxis:[{data:t,boundaryGap:!1}],yAxis:[{name:"Wind Speed (kts)",nameLocation:"middle",position:"left",nameGap:35,minInterval:5,axisLine:{lineStyle:{color:"#000000B3"}}},{type:"value",name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:35,max:p,min:0,minInterval:1,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#da2e2ecc"}},splitLine:{show:!0},alignTicks:!0},{name:"SOG (kts)",nameLocation:"middle",position:"right",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#398626"}},splitLine:{show:!0}}],visualMap:{show:!1,type:"piecewise",orient:"horizontal",left:"center",bottom:0,pieces:[{gte:22,color:"#f85c5c",label:"≥ BF6"},{gte:17,lt:22,color:"#de8600",label:"BF5"},{lt:17,color:"#67c23a",label:"≤ BF4"}],seriesIndex:2,dimension:1},series:[{name:"Sig. Wave Height",type:"line",showSymbol:!0,yAxisIndex:1,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:o.dateTime,y:o.waveHeight},data:n,z:1},{name:"Wind Speed",type:"line",showSymbol:!0,yAxisIndex:0,encode:{x:o.dateTime,y:o.windSpeed},lineStyle:{color:"#000000B3",type:"dashed"},itemStyle:{color:"#000000B3"},data:n,z:2},{type:"custom",yAxisIndex:0,renderItem:(C,k)=>{const T=k.coord([k.value(o.dateTime),k.value(o.windSpeed)]);return{type:"path",shape:{pathData:"M31 16l-15-15v9h-26v12h26v9z",x:-a/2,y:-a/2,width:a,height:a},rotation:c[k.value(o.windDirection)],position:T,style:k.style({stroke:"#555",lineWidth:1})}},encode:{x:o.dateTime,y:o.windSpeed},data:n,z:10},{name:"Current Factor",type:"line",yAxisIndex:2,showSymbol:!0,encode:{x:o.dateTime,y:o.currentFactor},lineStyle:{color:"#da2e2ecc",type:"dotted"},itemStyle:{color:"#da2e2ecc"},data:n,z:3},{name:"SOG",type:"line",yAxisIndex:3,showSymbol:!0,encode:{x:o.dateTime,y:o.speed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:n,z:4}]};(r=this.echart)==null||r.setOption(i)}}},dt=t=>(e.pushScopeId("data-v-6a564b84"),t=t(),e.popScopeId(),t),Yh={class:"voyage-plan"},Zh={class:"plan-report"},Qh={class:"section voyage-section flex-space"},$h={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Jh={class:"flex-start label-block",style:{width:"100%"}},Kh=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),qh={style:{"text-transform":"uppercase"},class:"text-ellipsis"},Xh={class:"flex-start label-block",style:{width:"100%"}},jh=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),vh={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},e1={class:"flex-start label-block",style:{width:"100%"}},t1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),o1={class:"flex-end"},l1={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},a1={class:"flex-start label-block",style:{width:"100%"}},n1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),s1={key:0,class:"flex-end",style:{flex:"1"}},i1={key:1,class:"flex-end",style:{flex:"1"}},c1=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),d1={class:"flex-end",style:{width:"120px"}},r1={class:"flex-space label-block",style:{width:"100%"}},m1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),p1={key:0,class:"flex-end",style:{flex:"1"}},h1={key:1,class:"flex-end",style:{flex:"1"}},y1=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),E1={class:"flex-end",style:{width:"120px"}},_1={class:"flex-space label-block",style:{width:"100%"}},N1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),V1={class:"flex-end",style:{"text-transform":"uppercase"}},f1={class:"section chart-section"},g1=dt(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),D1={class:"flex-center"},x1=["src"],b1={class:"legends"},C1=e.createStaticVNode('<div class="legend" data-v-6a564b84><label style="background-color:var(--idm-dangerous);" data-v-6a564b84></label><span data-v-6a564b84>Dangerous</span></div><div class="legend" data-v-6a564b84><label style="background-color:var(--idm-severe);" data-v-6a564b84></label><span data-v-6a564b84>Severe</span></div><div class="legend" data-v-6a564b84><label style="background-color:var(--idm-heavy);" data-v-6a564b84></label><span data-v-6a564b84>Heavy</span></div>',3),S1={class:"legend"},k1=dt(()=>e.createElementVNode("b",{class:"route1"},null,-1)),A1={key:0,class:"legend"},B1=dt(()=>e.createElementVNode("b",{class:"route2"},null,-1)),w1={key:1,class:"legend"},T1=dt(()=>e.createElementVNode("b",{class:"route3"},null,-1)),O1={key:1,class:"empty"},P1={class:"section comparison-section"},F1={key:0},u1=dt(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",{rowspan:"2"},"DTG (nm)"),e.createElementVNode("th",null,"ETA (LT)"),e.createElementVNode("th",{rowspan:"2"},"Diff (h)"),e.createElementVNode("th",{colspan:"2"},"Cons (mt)"),e.createElementVNode("th",null,"Dangerous"),e.createElementVNode("th",null,"Severe"),e.createElementVNode("th",null,"Heavy")],-1)),L1=dt(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),W1=dt(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),H1=dt(()=>e.createElementVNode("th",null,"*FO",-1)),M1=dt(()=>e.createElementVNode("th",null,"*DO",-1)),G1={colspan:"3"},I1={rowspan:"2"},R1={rowspan:"2"},z1={rowspan:"2"},U1={rowspan:"2"},Y1={rowspan:"2"},Z1={rowspan:"2"},Q1={rowspan:"2"},$1={rowspan:"2"},J1={rowspan:"2"},K1=dt(()=>e.createElementVNode("div",{class:"tips"},[e.createTextVNode(" * Please note the climatology data was used for days that extend beyond the available forecast."),e.createElementVNode("br"),e.createTextVNode(" * Fuel consumption was calculated only based on CP terms, and does not reflect actual consumption. ")],-1)),q1={class:"section waypoint-section"},X1={class:"header-block flex-start"},j1=dt(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),v1={class:"title"},ey={key:0,class:"flex-end",style:{flex:"1"}},ty=["onClick"],oy={class:"advisory"},ly=["innerHTML"],ay={class:"major-waypoint"},ny=e.createStaticVNode('<div class="major-header" data-v-6a564b84><div class="cell-item flex" style="flex:1.5;" data-v-6a564b84>Major waypoint</div><div class="cell-item flex" data-v-6a564b84>Time</div><div class="cell-item flex" data-v-6a564b84>Nav</div><div class="cell-item flex" data-v-6a564b84>Dist</div><div class="cell-item flex" data-v-6a564b84>SOG</div><div class="cell-item flex" data-v-6a564b84>Memo</div></div>',1),sy={class:"major-body"},iy={class:"cell-item flex",style:{flex:"1.5"}},cy={key:0,class:"flex-center"},dy={key:1,class:"flex-center"},ry=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),my={key:0},py={class:"cell-item flex"},hy={key:0,class:"cell-item flex offset"},yy={key:1,class:"cell-item flex nbsp"},Ey={key:2,class:"cell-item flex offset"},_y={key:3,class:"cell-item flex nbsp"},Ny={key:4,class:"cell-item flex offset"},Vy={key:5,class:"cell-item flex nbsp"},fy={key:6,class:"cell-item flex offset"},gy={key:7,class:"cell-item flex nbsp"},Dy={class:"section forecast-section"},xy={class:"header-block flex-start"},by=dt(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Cy={class:"title"},Sy={key:0,class:"flex-end",style:{flex:"1"}},ky=["onClick"],Ay={class:"echart-block"},By={ref:"echart",class:"echart"},wy=dt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("UTC")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),Ty={class:"flex-center"},Oy=dt(()=>e.createElementVNode("span",null,"/",-1)),Py={key:0,class:"degree-box"},Fy={key:1},uy={key:0,class:"degree-box"},Ly={key:1},Wy={key:0,class:"degree-box"},Hy={key:1},My={key:0,class:"degree-box"},Gy={key:1},Iy=dt(()=>e.createElementVNode("div",{class:"tips",style:{"text-align":"justify"}},[e.createElementVNode("div",null,"The waypoints in this sheet are approximate positions."),e.createElementVNode("div",null," The route map is for reference only and should not be used for navigation. All the material is an advisory provided so as to assist the Master in making the final route decision. ")],-1));function Ry(t,n,o,c,l,a){var h,N,x,r,C,k,T,u,L,O,b,F,z,Z,U,W,f,Y,R,H,J,K,X,q,V,M,$,s,j,d,v,le,ee,ie,ce,de,re,Ee,ae,he,_e,Ne,Ve,fe,ge,De,xe,be,Ce,Oe,Pe,ye,P,me,Fe,ue,Le,Se,We,Ue,Ye,G,we,Me,Ze,Qe,$e,Je,Ke,E,Q,Te,He,Ge,pe,qe,je,ve,ot,lt,at,nt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ot,Ht,po,Eo,_o,No,Vo;const p=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),_=e.resolveComponent("Lat"),g=e.resolveComponent("Lng"),S=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Yh,[e.createElementVNode("div",Zh,[e.createVNode(p,{name:"Voyage Planning",issued:(h=o.plan)==null?void 0:h.updatedAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading,onTimeout:n[0]||(n[0]=I=>l.loading=!1)},null,8,["loading"]),e.createElementVNode("div",Qh,[e.createElementVNode("div",$h,[e.createElementVNode("div",Jh,[Kh,e.createElementVNode("span",qh,e.toDisplayString((r=(x=(N=o.plan)==null?void 0:N.voyage)==null?void 0:x.company)==null?void 0:r.name),1)]),e.createElementVNode("div",Xh,[jh,e.createElementVNode("span",vh,e.toDisplayString((T=(k=(C=o.plan)==null?void 0:C.voyage)==null?void 0:k.vessel)==null?void 0:T.name)+" ("+e.toDisplayString((b=(O=(L=(u=o.plan)==null?void 0:u.voyage)==null?void 0:L.vessel)==null?void 0:O.vesselType)==null?void 0:b.name)+")",1)]),e.createElementVNode("div",e1,[t1,e.createElementVNode("span",o1,e.toDisplayString((z=(F=o.plan)==null?void 0:F.voyage)==null?void 0:z.number),1)])]),e.createElementVNode("div",l1,[e.createElementVNode("div",a1,[n1,(W=(U=(Z=o.plan)==null?void 0:Z.leg)==null?void 0:U.departure)!=null&&W.name?(e.openBlock(),e.createElementBlock("span",s1,e.toDisplayString((Y=(f=o.plan)==null?void 0:f.leg)==null?void 0:Y.departure.name),1)):(e.openBlock(),e.createElementBlock("div",i1,[e.createVNode(_,{lat:(J=(H=(R=o.plan)==null?void 0:R.leg)==null?void 0:H.departure)==null?void 0:J.lat,label:""},null,8,["lat"]),c1,e.createVNode(g,{lng:(q=(X=(K=o.plan)==null?void 0:K.leg)==null?void 0:X.departure)==null?void 0:q.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",d1,e.toDisplayString(a.computeUTCTime((($=(M=(V=o.plan)==null?void 0:V.leg)==null?void 0:M.departure)==null?void 0:$.atd)||((d=(j=(s=o.plan)==null?void 0:s.leg)==null?void 0:j.departure)==null?void 0:d.etd)||((ie=(ee=(le=(v=o.plan)==null?void 0:v.speeds)==null?void 0:le[l.speedIndex])==null?void 0:ee.speed)==null?void 0:ie.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",r1,[m1,(re=(de=(ce=o.plan)==null?void 0:ce.leg)==null?void 0:de.destination)!=null&&re.name?(e.openBlock(),e.createElementBlock("span",p1,e.toDisplayString((he=(ae=(Ee=o.plan)==null?void 0:Ee.leg)==null?void 0:ae.destination)==null?void 0:he.name),1)):(e.openBlock(),e.createElementBlock("div",h1,[e.createVNode(_,{lat:(Ve=(Ne=(_e=o.plan)==null?void 0:_e.leg)==null?void 0:Ne.destination)==null?void 0:Ve.lat,label:""},null,8,["lat"]),y1,e.createVNode(g,{lng:(De=(ge=(fe=o.plan)==null?void 0:fe.leg)==null?void 0:ge.destination)==null?void 0:De.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",E1,e.toDisplayString(a.computeUTCTime(((Oe=(Ce=(be=(xe=o.plan)==null?void 0:xe.speeds)==null?void 0:be[l.speedIndex])==null?void 0:Ce.speed)==null?void 0:Oe.ata)||((me=(P=(ye=(Pe=o.plan)==null?void 0:Pe.speeds)==null?void 0:ye[l.speedIndex])==null?void 0:P.speed)==null?void 0:me.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",_1,[N1,e.createElementVNode("span",V1,e.toDisplayString((ue=(Fe=o.plan)==null?void 0:Fe.voyage)==null?void 0:ue.loadCondition),1)])])]),e.createElementVNode("div",f1,[g1,(Le=o.plan)!=null&&Le.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",D1,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,x1)]),e.createElementVNode("div",b1,[C1,e.createElementVNode("div",S1,[k1,e.createElementVNode("span",{class:"btn",onClick:n[1]||(n[1]=I=>(l.speedIndex=0,a.renderEchart()))},e.toDisplayString((G=(Ye=(Ue=(We=(Se=o.plan)==null?void 0:Se.speeds)==null?void 0:We[0])==null?void 0:Ue.speed)==null?void 0:Ye.lane)==null?void 0:G.name),1)]),((Me=(we=o.plan)==null?void 0:we.speeds)==null?void 0:Me.length)>1?(e.openBlock(),e.createElementBlock("div",A1,[B1,e.createElementVNode("span",{class:"btn",onClick:n[2]||(n[2]=I=>(l.speedIndex=1,a.renderEchart()))},e.toDisplayString((Ke=(Je=($e=(Qe=(Ze=o.plan)==null?void 0:Ze.speeds)==null?void 0:Qe[1])==null?void 0:$e.speed)==null?void 0:Je.lane)==null?void 0:Ke.name),1)])):e.createCommentVNode("",!0),((Q=(E=o.plan)==null?void 0:E.speeds)==null?void 0:Q.length)>2?(e.openBlock(),e.createElementBlock("div",w1,[T1,e.createElementVNode("span",{class:"btn",onClick:n[3]||(n[3]=I=>(l.speedIndex=2,a.renderEchart()))},e.toDisplayString((qe=(pe=(Ge=(He=(Te=o.plan)==null?void 0:Te.speeds)==null?void 0:He[2])==null?void 0:Ge.speed)==null?void 0:pe.lane)==null?void 0:qe.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",O1,[e.createElementVNode("span",null,[e.createTextVNode("Weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:n[4]||(n[4]=(...I)=>a.handleRefresh&&a.handleRefresh(...I))},"Refresh"),e.createTextVNode(" later please")])]))]),e.createElementVNode("div",P1,[(ve=(je=o.plan)==null?void 0:je.speeds)!=null&&ve.length?(e.openBlock(),e.createElementBlock("table",F1,[e.createElementVNode("thead",null,[u1,e.createElementVNode("tr",null,[L1,W1,H1,M1,e.createElementVNode("th",G1,"*days (with in the next "+e.toDisplayString(a.computeDay(o.plan,0))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ot=o.plan)==null?void 0:ot.speeds,(I,tt)=>{var Pt,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,$t,Jt,Kt,qt,Xt,jt,vt,eo,to,oo,lo,ao,no,so,io,co;return e.openBlock(),e.createElementBlock(e.Fragment,{key:tt},[e.createElementVNode("tr",null,[e.createElementVNode("td",I1,e.toDisplayString(tt+1),1),e.createElementVNode("td",R1,e.toDisplayString((Ft=(Pt=I.speed)==null?void 0:Pt.lane)==null?void 0:Ft.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((Mt=I.speed)==null?void 0:Mt.label)??"CP"} ${((Gt=I.speed)==null?void 0:Gt.v0)??((Rt=(It=I.speed)==null?void 0:It.cpCopy)==null?void 0:Rt.speed)}`),1),e.createElementVNode("td",z1,e.toDisplayString(a.roundPrecision((zt=I.speed)==null?void 0:zt.distance,0)),1),e.createElementVNode("td",null,[e.createElementVNode("b",null,e.toDisplayString(a.computeLTime((Ut=I.speed)==null?void 0:Ut.eta,(Qt=(Zt=(Yt=o.plan)==null?void 0:Yt.leg)==null?void 0:Zt.destination)==null?void 0:Qt.lng,(Kt=(Jt=($t=o.plan)==null?void 0:$t.leg)==null?void 0:Jt.destination)==null?void 0:Kt.lat)),1),e.createTextVNode(" ["+e.toDisplayString(a.computeUTCTime((qt=I.speed)==null?void 0:qt.eta))+"]",1)]),e.createElementVNode("td",U1,e.toDisplayString(a.computeTimeDiff(o.plan,tt)),1),e.createElementVNode("td",Y1,e.toDisplayString(a.roundPrecision((Xt=I.speed)==null?void 0:Xt.totalFoCons,3)),1),e.createElementVNode("td",Z1,e.toDisplayString(a.roundPrecision((jt=I.speed)==null?void 0:jt.totalDgoCons,3)),1),e.createElementVNode("td",Q1,e.toDisplayString(a.roundPrecision(((vt=I.speed)==null?void 0:vt.dangerous)/24,1)),1),e.createElementVNode("td",$1,e.toDisplayString(a.roundPrecision(((eo=I.speed)==null?void 0:eo.severe)/24,1)),1),e.createElementVNode("td",J1,e.toDisplayString(a.roundPrecision(((to=I.speed)==null?void 0:to.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((lo=(oo=I.speed)==null?void 0:oo.cpCopy)==null?void 0:lo.fo)+" FO / "+e.toDisplayString((no=(ao=I.speed)==null?void 0:ao.cpCopy)==null?void 0:no.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((so=I.speed)==null?void 0:so.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((io=I.speed)==null?void 0:io.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((co=I.speed)==null?void 0:co.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0),K1]),e.createElementVNode("div",q1,[e.createElementVNode("div",X1,[j1,e.createElementVNode("div",v1,"Advisory & Major Waypoint of Route "+e.toDisplayString((pt=(nt=(at=(lt=o.plan.speeds)==null?void 0:lt[l.speedIndex])==null?void 0:at.speed)==null?void 0:nt.lane)==null?void 0:pt.name),1),((yt=(ht=o.plan)==null?void 0:ht.speeds)==null?void 0:yt.length)>1?(e.openBlock(),e.createElementBlock("div",ey,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Et=o.plan)==null?void 0:Et.speeds,(I,tt)=>{var Pt,Ft;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Mt=>(l.speedIndex=tt,a.renderEchart())},e.toDisplayString((Ft=(Pt=I.speed)==null?void 0:Pt.lane)==null?void 0:Ft.name),9,ty)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",oy,[l.editable?(e.openBlock(),e.createBlock(S,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[5]||(n[5]=I=>l.advisory=I),class:"editor",height:"120px",onBlur:n[6]||(n[6]=I=>a.handleCommit(I))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[7]||(n[7]=(...I)=>a.handleEdit&&a.handleEdit(...I)),innerHTML:l.advisory},null,40,ly))]),e.createElementVNode("div",ay,[ny,e.createElementVNode("div",sy,[(Nt=(_t=o.plan)==null?void 0:_t.speeds)!=null&&Nt.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.computeMajorPoints((xt=(Dt=(gt=(ft=(Vt=o.plan)==null?void 0:Vt.speeds)==null?void 0:ft[l.speedIndex])==null?void 0:gt.speed)==null?void 0:Dt.sample)==null?void 0:xt.wps),(I,tt)=>(e.openBlock(),e.createElementBlock("div",{key:tt,class:"cell-row"},[e.createElementVNode("div",iy,[I.isResume?(e.openBlock(),e.createElementBlock("div",cy,"Resume")):(e.openBlock(),e.createElementBlock("div",dy,[e.createVNode(_,{lat:I.lat,label:""},null,8,["lat"]),ry,e.createVNode(g,{lng:I.lng,label:""},null,8,["lng"]),I.pilot?(e.openBlock(),e.createElementBlock("span",my," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",py,e.toDisplayString(a.computeUTCTime(I.eta)),1),tt?(e.openBlock(),e.createElementBlock("div",hy,e.toDisplayString(a.computeNav(I)),1)):(e.openBlock(),e.createElementBlock("div",yy)),tt?(e.openBlock(),e.createElementBlock("div",Ey,e.toDisplayString(a.roundPrecision(I.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",_y)),tt?(e.openBlock(),e.createElementBlock("div",Ny,e.toDisplayString(a.roundPrecision(I.avgSpd??I.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",Vy)),tt?(e.openBlock(),e.createElementBlock("div",fy,e.toDisplayString(a.computeMemo(I)),1)):(e.openBlock(),e.createElementBlock("div",gy))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",Dy,[(Ct=(bt=o.plan)==null?void 0:bt.speeds)!=null&&Ct.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",xy,[by,e.createElementVNode("div",Cy,"Weather Forecast for the Next "+e.toDisplayString(a.computeDay(o.plan,l.speedIndex))+" Days of Route "+e.toDisplayString((wt=(Bt=(At=(kt=(St=o.plan)==null?void 0:St.speeds)==null?void 0:kt[l.speedIndex])==null?void 0:At.speed)==null?void 0:Bt.lane)==null?void 0:wt.name),1),((Ot=(Tt=o.plan)==null?void 0:Tt.speeds)==null?void 0:Ot.length)>1?(e.openBlock(),e.createElementBlock("div",Sy,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ht=o.plan)==null?void 0:Ht.speeds,(I,tt)=>{var Pt,Ft;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Mt=>(l.speedIndex=tt,a.renderEchart())},e.toDisplayString((Ft=(Pt=I==null?void 0:I.speed)==null?void 0:Pt.lane)==null?void 0:Ft.name),9,ky)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Ay,[e.createElementVNode("div",By,null,512)]),e.createElementVNode("table",null,[wy,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Vo=(No=(_o=(Eo=(po=o.plan)==null?void 0:po.speeds)==null?void 0:Eo[l.speedIndex])==null?void 0:_o.speed)==null?void 0:No.sample)==null?void 0:Vo.hours,(I,tt)=>{var Pt,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,$t,Jt,Kt,qt,Xt,jt,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Po,Fo,uo,Lo,Wo,Ho,Mo,Go,Io;return e.openBlock(),e.createElementBlock("tr",{key:tt,class:e.normalizeClass(I.isDangerous?"dangerous":I.isSevere?"severe":I.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(I.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",Ty,[e.createVNode(_,{lat:I.lat,label:""},null,8,["lat"]),Oy,e.createVNode(g,{lng:I.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Ft=(Pt=I.meteo)==null?void 0:Pt.wind)!=null&&Ft.kts?(e.openBlock(),e.createElementBlock("span",Py,[e.createTextVNode(e.toDisplayString((Gt=(Mt=I.meteo)==null?void 0:Mt.wind)==null?void 0:Gt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Rt=(It=I.meteo)==null?void 0:It.wind)==null?void 0:Rt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Fy,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ut=(zt=I.meteo)==null?void 0:zt.wind)==null?void 0:Ut.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Qt=(Zt=(Yt=I.meteo)==null?void 0:Yt.wave)==null?void 0:Zt.wd)==null?void 0:Qt.height,1)),1),e.createElementVNode("td",null,[(Kt=(Jt=($t=I.meteo)==null?void 0:$t.wave)==null?void 0:Jt.swell)!=null&&Kt.height?(e.openBlock(),e.createElementBlock("span",uy,[e.createTextVNode(e.toDisplayString((jt=(Xt=(qt=I.meteo)==null?void 0:qt.wave)==null?void 0:Xt.swell)==null?void 0:jt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((to=(eo=(vt=I.meteo)==null?void 0:vt.wave)==null?void 0:eo.swell)==null?void 0:to.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ly,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ao=(lo=(oo=I.meteo)==null?void 0:oo.wave)==null?void 0:lo.swell)==null?void 0:ao.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((io=(so=(no=I.meteo)==null?void 0:no.wave)==null?void 0:so.swell)==null?void 0:io.period,1)),1),e.createElementVNode("td",null,[(go=(fo=(co=I.meteo)==null?void 0:co.wave)==null?void 0:fo.sig)!=null&&go.height?(e.openBlock(),e.createElementBlock("span",Wy,[e.createTextVNode(e.toDisplayString((bo=(xo=(Do=I.meteo)==null?void 0:Do.wave)==null?void 0:xo.sig)==null?void 0:bo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((ko=(So=(Co=I.meteo)==null?void 0:Co.wave)==null?void 0:So.sig)==null?void 0:ko.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Hy,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((wo=(Bo=(Ao=I.meteo)==null?void 0:Ao.wave)==null?void 0:Bo.sig)==null?void 0:wo.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Po=(Oo=(To=I.meteo)==null?void 0:To.wave)==null?void 0:Oo.sig)==null?void 0:Po.period,1)),1),e.createElementVNode("td",null,[(uo=(Fo=I.meteo)==null?void 0:Fo.current)!=null&&uo.kts?(e.openBlock(),e.createElementBlock("span",My,[e.createTextVNode(e.toDisplayString((Wo=(Lo=I.meteo)==null?void 0:Lo.current)==null?void 0:Wo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Mo=(Ho=I.meteo)==null?void 0:Ho.current)==null?void 0:Mo.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Gy,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Io=(Go=I.meteo)==null?void 0:Go.current)==null?void 0:Io.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(I.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0),Iy])])])}const Vn=ke(Uh,[["render",Ry],["__scopeId","data-v-6a564b84"]]),zy={install(t){t.component("RouteReport",cn),t.component("OpiPlanReport",cn),t.component("FliPlanReport",Nn),t.component("OrmPlanReport",Vn)}},Uy={install(t){t.component("IdmEditor",zo)}},Yy={install(t){t.component("IdmLat",en)}},Zy={install(t){t.component("IdmLng",va)}},Qy={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},$y={class:"logo"},Jy={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},Ky=["fill","fill-opacity"],qy=[e.createElementVNode("path",{d:`M4225 11533 c-100 -6 -311 -23 -335 -27 -14 -3 -59 -10 -100 -16
|
|
1
|
+
(function(le,te){typeof exports=="object"&&typeof module<"u"?te(exports,require("@idmwx/idmwx-base"),require("moment"),require("vue"),require("echarts"),require("@wangeditor/editor-for-vue"),require("mapbox-gl"),require("@idmwx/idmui-gl"),require("@element-plus/icons-vue"),require("element-plus"),require("axios")):typeof define=="function"&&define.amd?define(["exports","@idmwx/idmwx-base","moment","vue","echarts","@wangeditor/editor-for-vue","mapbox-gl","@idmwx/idmui-gl","@element-plus/icons-vue","element-plus","axios"],te):(le=typeof globalThis<"u"?globalThis:le||self,te(le["idmui-report"]={},le["@idmwx/idmwx-base"],le.moment,le.Vue,le.echarts,le["@wangeditor/editor-for-vue"],le["mapbox-gl"],le["@idmwx/idmui-gl"],le["@element-plus/icons-vue"],le["element-plus"],le.axios))})(this,function(le,te,T,e,_i,mn,_l,Ni,on,pn,gl){"use strict";function Vi(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const c=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,c.get?c:{enumerable:!0,get:()=>t[o]})}}return n.default=t,Object.freeze(n)}const Uo=Vi(_i),ute="",Ee=(t,n)=>{const o=t.__vccOpts||t;for(const[c,l]of n)o[c]=l;return o},fi={props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${(t?T(t):T()).utc().format(n)}`}}}},hn=t=>(e.pushScopeId("data-v-609af107"),t=t(),e.popScopeId(),t),gi={class:"section brand-section flex-space"},Di=e.createStaticVNode('<div class="logo-box flex-center" data-v-609af107><div class="logo" data-v-609af107><a href="https://fmp.idmwx.com" target="_blank" data-v-609af107><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-609af107></a><a href="https://fmp.idmwx.com" target="_blank" style="text-decoration:none;" data-v-609af107><div class="brand" data-v-609af107><span style="text-decoration:underline;" data-v-609af107>Weather Routing</span><div class="company" data-v-609af107>Ocean Right Marine Service</div></div></a></div></div>',1),xi={class:"report-box flex-space"},bi={class:"name flex-start"},Ci={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},Si={class:"flex-start",style:{width:"100%"}},ki={class:"label-block flex-evenly",style:{flex:"1"}},Ai=hn(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),Bi={class:"flex-end",style:{flex:"2"}},wi=hn(()=>e.createElementVNode("div",{class:"flex-start",style:{width:"100%"}},[e.createElementVNode("div",{class:"label-block flex-evenly",style:{flex:"1"}},[e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Mail to"),e.createElementVNode("a",{class:"flex-end",style:{flex:"2"},href:"mailto:op@ormwx.com"},"op@ormwx.com")])],-1));function Ti(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",gi,[Di,e.createElementVNode("div",xi,[e.createElementVNode("div",bi,e.toDisplayString(o.name),1),e.createElementVNode("div",Ci,[e.createElementVNode("div",Si,[e.createElementVNode("div",ki,[Ai,e.createElementVNode("span",Bi,e.toDisplayString(a.computeUTCTime(o.issued,"MMM-DD, YYYY")),1)])]),wi])])])}const yo=Ee(fi,[["render",Ti],["__scopeId","data-v-609af107"]]),Oi={name:"IdmLoading",props:{loading:{type:Boolean,default:!1},text:{type:String,default:"Loading..."}},emits:["timeout"],watch:{loading:{handler(){this.loading&&setTimeout(()=>{this.$emit("timeout",!1)},5e3)},immediate:!0}}},Fi={key:0,class:"loading"},Pi=e.createElementVNode("i",{class:"iconfont"},"",-1);function ui(t,n,o,c,l,a){return o.loading?(e.openBlock(),e.createElementBlock("div",Fi,[Pi,e.createElementVNode("div",null,e.toDisplayString(o.text),1)])):e.createCommentVNode("",!0)}const ln=Ee(Oi,[["render",ui]]),Lte="",Li={name:"ORMPointReport",components:{IdmLoading:ln,IdmBrand:yo},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0}},data(){return{echart:void 0,localTZ:"0",loading:!0}},watch:{report:{handler(){var t,n,o,c;(n=(t=this.report)==null?void 0:t.extend)!=null&&n.data&&(this.loading=!1,this.localTZ=te.LngLatHelper.guessTimeZoneOffset((o=this.report)==null?void 0:o.lng,(c=this.report)==null?void 0:c.lat),this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},computed:{computeLat(){return function(t){return te.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return te.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,n=8,o="MMM-DD/HHmm[LT]"){return`${T(t).utcOffset(n).format(o)}`}},computeTZ(){return function(t="0"){return te.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var c,l,a,p,i,_,g,S,h,N;const n={};for(let x=0;x<((l=(c=t==null?void 0:t.extend)==null?void 0:c.data)==null?void 0:l.length);x++){const r=(a=t==null?void 0:t.extend)==null?void 0:a.data[x];if(x===0)r.precip.pacc=0;else{const C=(p=t==null?void 0:t.extend)==null?void 0:p.data[x-1],k=T(r.utc).utcOffset(this.localTZ),F=T(C.utc).utcOffset(this.localTZ),L=(i=C==null?void 0:C.precip)==null?void 0:i.prate,w=k.diff(F,"h"),O=this.roundPrecision(L*w,1);if(r.precip.pacc=O,O>0){const b=n[k.format("MMM-DD")],u=Math.floor(k.get("hour")/6);b?(b.pacc=this.roundPrecision(b.pacc+O,1),b[`${u}`]?b[`${u}`]+=O:(b[`${u}`]=O,b.colspan+=1)):(n[k.format("MMM-DD")]={pacc:O,colspan:1},n[k.format("MMM-DD")][`${u}`]=O)}}}t.paccInDays=n;let o=0;for(const x of Object.keys(n))o+=(_=n[x])==null?void 0:_.colspan,n[x].level=((g=n[x])==null?void 0:g.pacc)<10?"Light":((S=n[x])==null?void 0:S.pacc)<24.9?"Moderate":((h=n[x])==null?void 0:h.pacc)<49.9?"Heavy":((N=n[x])==null?void 0:N.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=o,t}}},methods:{initEchart(){var a,p,i;this.echart||(this.echart=e.markRaw(Uo.init(this.$refs.echart)));const t=[],n=[],o={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let c=4;(i=(p=(a=this.report)==null?void 0:a.extend)==null?void 0:p.data)==null||i.forEach(_=>{var S,h,N,x,r,C,k,F,L,w,O,b,u;const g=T(_.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");t.push(g),c=((h=(S=_.wave)==null?void 0:S.sig)==null?void 0:h.height)>c?(x=(N=_.wave)==null?void 0:N.sig)==null?void 0:x.height:c,n.push([g,(r=_.wind)==null?void 0:r.kts,(C=_.gusts)==null?void 0:C.kts,(F=(k=_.wave)==null?void 0:k.sig)==null?void 0:F.height,(L=_.wind)==null?void 0:L.direction,(w=_.wind)==null?void 0:w.degree,(O=_.wind)==null?void 0:O.scale,(b=_.current)==null?void 0:b.kts,(u=_.precip)==null?void 0:u.acc,this.roundPrecision(_.visibility/1852,0),_.temp])});const l={animation:!1,title:{text:"Weather Conditions",subtext:"Wind/Gusts/Sig.Wave/Visibility/Precip Acc",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:35},xAxis:[{data:t}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:c,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip Acc",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:o.dateTime,y:o.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:n,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:o.dateTime,y:o.waveHeight},data:n,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:o.dateTime,y:o.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:n,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:o.dateTime,y:o.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:n,z:2}]};this.echart.setOption(l)}}},st=t=>(e.pushScopeId("data-v-f465d74a"),t=t(),e.popScopeId(),t),Wi={class:"point-report"},Hi={class:"section info-section"},Mi={class:"flex-evenly"},Gi={class:"flex-space label-block",style:{width:"100%"}},Ii=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),Ri={class:"flex-space label-block",style:{width:"100%"}},zi=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),Ui={class:"flex-evenly"},Yi={class:"flex-space label-block",style:{width:"100%"}},Zi=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),$i={class:"flex-space label-block",style:{width:"100%"}},Qi={class:"flex-end",style:{width:"180px"}},Ji={class:"section echart-section"},Ki={ref:"echart",class:"echart"},qi={class:"section sample-section"},Xi=st(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),ji=st(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),vi=st(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),ec=st(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),tc=st(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),oc=st(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),lc=["colspan"],ac=st(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),nc=st(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),sc=st(()=>e.createElementVNode("th",null,"Dir",-1)),ic=st(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),cc=st(()=>e.createElementVNode("th",null,"BF",-1)),dc=st(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),rc=st(()=>e.createElementVNode("th",null,"Dir",-1)),mc=st(()=>e.createElementVNode("th",null,"Ht (m)",-1)),pc=st(()=>e.createElementVNode("th",null,"Prd (s)",-1)),hc=st(()=>e.createElementVNode("th",null,"Dir",-1)),yc=st(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Ec=st(()=>e.createElementVNode("th",null,"Prd (s)",-1)),_c=st(()=>e.createElementVNode("th",null,"Dir",-1)),Nc=st(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Vc={key:0},fc={key:1},gc=st(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Dc=st(()=>e.createElementVNode("th",null,"°C",-1)),xc={width:"120px"},bc={key:0,class:"degree-box"},Cc={key:1},Sc={key:0,class:"degree-box"},kc={key:1},Ac={key:0,class:"degree-box"},Bc={key:1},wc={key:0,class:"degree-box"},Tc={key:1},Oc={key:0},Fc={key:1};function Pc(t,n,o,c,l,a){var _,g,S,h;const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",Wi,[e.createVNode(p,{name:"Point Weather Forecast"}),e.createVNode(i,{loading:l.loading},null,8,["loading"]),e.createElementVNode("div",Hi,[e.createElementVNode("div",Mi,[e.createElementVNode("div",Gi,[Ii,e.createElementVNode("span",null,e.toDisplayString(a.computeLat((_=o.report)==null?void 0:_.lat).pretty)+" / "+e.toDisplayString(a.computeLng((g=o.report)==null?void 0:g.lng).pretty),1)]),e.createElementVNode("div",Ri,[zi,e.createElementVNode("span",null,e.toDisplayString(a.computeLTime(o.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",Ui,[e.createElementVNode("div",Yi,[Zi,e.createElementVNode("span",null,e.toDisplayString(a.computeTZ(this.localTZ)),1)]),e.createElementVNode("div",$i,[e.createElementVNode("label",Qi,"("+e.toDisplayString(a.computeTZ(this.localTZ))+")",1),e.createElementVNode("span",null,e.toDisplayString(a.computeLTime(o.report.updatedAt,this.localTZ,"YYYY, MMM-DD/HHmm[LT]")),1)])])]),e.createElementVNode("div",Ji,[e.createElementVNode("div",Ki,null,512)]),e.createElementVNode("div",qi,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Xi,ji,vi,ec,tc,oc,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,lc),ac,nc]),e.createElementVNode("tr",null,[sc,ic,cc,dc,rc,mc,pc,hc,yc,Ec,_c,Nc,o.showPrate?(e.openBlock(),e.createElementBlock("th",Vc,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",fc,"Acc (mm)")):e.createCommentVNode("",!0),gc,Dc])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=(S=o.report)==null?void 0:S.extend)==null?void 0:h.data,(N,x)=>{var r,C,k,F,L,w,O,b,u,I,Z,R,W,f,U,G,H,Q,J,X,q,V,M,$,s,j,d,v,oe,ee,ie,ce,de,re;return e.openBlock(),e.createElementBlock("tr",{key:x},[e.createElementVNode("td",xc,e.toDisplayString(a.computeLTime(N.utc,this.localTZ)),1),e.createElementVNode("td",null,[(r=N.wind)!=null&&r.kts?(e.openBlock(),e.createElementBlock("span",bc,[e.createTextVNode(e.toDisplayString((C=N.wind)==null?void 0:C.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((k=N.wind)==null?void 0:k.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Cc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((F=N.wind)==null?void 0:F.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((L=N.wind)==null?void 0:L.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((w=N.gusts)==null?void 0:w.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((b=(O=N.wave)==null?void 0:O.wd)==null?void 0:b.height,1)),1),e.createElementVNode("td",null,[(I=(u=N.wave)==null?void 0:u.swell)!=null&&I.height?(e.openBlock(),e.createElementBlock("span",Sc,[e.createTextVNode(e.toDisplayString((R=(Z=N.wave)==null?void 0:Z.swell)==null?void 0:R.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((f=(W=N.wave)==null?void 0:W.swell)==null?void 0:f.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",kc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((G=(U=N.wave)==null?void 0:U.swell)==null?void 0:G.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Q=(H=N.wave)==null?void 0:H.swell)==null?void 0:Q.period,1)),1),e.createElementVNode("td",null,[(X=(J=N.wave)==null?void 0:J.sig)!=null&&X.height?(e.openBlock(),e.createElementBlock("span",Ac,[e.createTextVNode(e.toDisplayString((V=(q=N.wave)==null?void 0:q.sig)==null?void 0:V.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree(($=(M=N.wave)==null?void 0:M.sig)==null?void 0:$.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Bc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((j=(s=N.wave)==null?void 0:s.sig)==null?void 0:j.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((v=(d=N.wave)==null?void 0:d.sig)==null?void 0:v.period,1)),1),e.createElementVNode("td",null,[(oe=N.current)!=null&&oe.kts?(e.openBlock(),e.createElementBlock("span",wc,[e.createTextVNode(e.toDisplayString((ee=N.current)==null?void 0:ee.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((ie=N.current)==null?void 0:ie.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Tc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ce=N.current)==null?void 0:ce.kts,1)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",Oc,e.toDisplayString(a.roundPrecision((de=N.precip)==null?void 0:de.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",Fc,e.toDisplayString(a.roundPrecision((re=N.precip)==null?void 0:re.acc,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(N.visibility/1852,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(N.temp,1)),1)])}),128))])])])])}const yn=Ee(Li,[["render",Pc],["__scopeId","data-v-f465d74a"]]),Wte="",uc={props:{name:{type:String,default:""}}},Lc={class:"section brand-section flex-space"},Wc=e.createStaticVNode('<div class="logo-box flex-center" data-v-602c94e3><a class="logo" href="https://www.idmwx.com" target="_blank" data-v-602c94e3><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-602c94e3><div class="brand" data-v-602c94e3><span data-v-602c94e3>Weather Routing</span><div class="company" data-v-602c94e3>Ocean Right Marine Service</div></div></a></div>',1),Hc={class:"report-box flex-space"},Mc={class:"name flex-start"},Gc=e.createStaticVNode('<div class="support flex-end" data-v-602c94e3><img src="https://img.idmwx.com/asset/idm/qrcode_for_gh_976e5ac920c0_258.jpg" data-v-602c94e3><div style="margin-left:10px;" data-v-602c94e3><div class="name flex-space" data-v-602c94e3><label data-v-602c94e3>IDM Service Team</label></div><div class="desc flex-center" data-v-602c94e3>Technical Support & Consulting Center</div></div></div>',1);function Ic(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",Lc,[Wc,e.createElementVNode("div",Hc,[e.createElementVNode("div",Mc,e.toDisplayString(o.name),1),Gc])])}const va=Ee(uc,[["render",Ic],["__scopeId","data-v-602c94e3"]]),Hte="",Rc={name:"PointReport",components:{IdmBrand:va},props:{data:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!1}},data(){return{}},computed:{computeLat(){return function(t){return te.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return te.LngLatHelper.lng2pretty(t,2)}},computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return`${T(t).utc().format(n)}Z`}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}}},methods:{}},et=t=>(e.pushScopeId("data-v-2fead0ca"),t=t(),e.popScopeId(),t),zc={class:"point-report"},Uc=et(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),Yc={class:"report-header flex-center"},Zc={class:"info-box"},$c=et(()=>e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"},null,-1)),Qc={class:"info"},Jc=et(()=>e.createElementVNode("label",null,"Position",-1)),Kc={class:"info"},qc=et(()=>e.createElementVNode("label",null,"Issued",-1)),Xc=et(()=>e.createElementVNode("div",{class:"title-box"},[e.createElementVNode("div",{class:"title"},"Point Weather Forecast Report")],-1)),jc={class:"report-body"},vc={class:"weather-sample"},ed=et(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),td=et(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),od=et(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),ld=et(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),ad=et(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),nd=et(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),sd=["colspan"],id=et(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),cd=et(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),dd=et(()=>e.createElementVNode("th",null,"Dir",-1)),rd=et(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),md=et(()=>e.createElementVNode("th",null,"BF",-1)),pd=et(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),hd=et(()=>e.createElementVNode("th",null,"Dir",-1)),yd=et(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Ed=et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),_d=et(()=>e.createElementVNode("th",null,"Dir",-1)),Nd=et(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Vd=et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),fd=et(()=>e.createElementVNode("th",null,"Dir",-1)),gd=et(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Dd={key:0},xd={key:1},bd=et(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Cd=et(()=>e.createElementVNode("th",null,"°C",-1)),Sd={width:"120px"},kd={key:0,class:"degree-box"},Ad={key:1},Bd={key:0,class:"degree-box"},wd={key:1},Td={key:0,class:"degree-box"},Od={key:1},Fd={key:0,class:"degree-box"},Pd={key:1},ud={key:0},Ld={key:1};function Wd(t,n,o,c,l,a){const p=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",zc,[e.createVNode(p),Uc,e.createElementVNode("div",Yc,[e.createElementVNode("div",Zc,[$c,e.createElementVNode("div",Qc,[Jc,e.createElementVNode("span",null,e.toDisplayString(a.computeLat(o.data.lat).pretty)+" / "+e.toDisplayString(a.computeLng(o.data.lng).pretty),1)]),e.createElementVNode("div",Kc,[qc,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime(o.data.issuedAt,"YYYY, MMM-DD/HHmm")),1)])]),Xc]),e.createElementVNode("div",jc,[e.createElementVNode("div",vc,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[ed,td,od,ld,ad,nd,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,sd),id,cd]),e.createElementVNode("tr",null,[dd,rd,md,pd,hd,yd,Ed,_d,Nd,Vd,fd,gd,o.showPrate?(e.openBlock(),e.createElementBlock("th",Dd,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",xd,"Acc (mm)")):e.createCommentVNode("",!0),bd,Cd])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.data.meteo,(i,_)=>{var g,S,h,N,x,r,C,k,F,L,w,O,b,u,I,Z,R,W,f,U,G,H,Q,J,X,q,V,M,$,s,j,d,v,oe;return e.openBlock(),e.createElementBlock("tr",{key:_},[e.createElementVNode("td",Sd,e.toDisplayString(a.computeUTCTime(i.utc)),1),e.createElementVNode("td",null,[(g=i.wind)!=null&&g.kts?(e.openBlock(),e.createElementBlock("span",kd,[e.createTextVNode(e.toDisplayString((S=i.wind)==null?void 0:S.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((h=i.wind)==null?void 0:h.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ad,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((N=i.wind)==null?void 0:N.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((x=i.wind)==null?void 0:x.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((r=i.gusts)==null?void 0:r.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((k=(C=i.wave)==null?void 0:C.wd)==null?void 0:k.height,1)),1),e.createElementVNode("td",null,[(L=(F=i.wave)==null?void 0:F.swell)!=null&&L.height?(e.openBlock(),e.createElementBlock("span",Bd,[e.createTextVNode(e.toDisplayString((O=(w=i.wave)==null?void 0:w.swell)==null?void 0:O.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((u=(b=i.wave)==null?void 0:b.swell)==null?void 0:u.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",wd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Z=(I=i.wave)==null?void 0:I.swell)==null?void 0:Z.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((W=(R=i.wave)==null?void 0:R.swell)==null?void 0:W.period,1)),1),e.createElementVNode("td",null,[(U=(f=i.wave)==null?void 0:f.sig)!=null&&U.height?(e.openBlock(),e.createElementBlock("span",Td,[e.createTextVNode(e.toDisplayString((H=(G=i.wave)==null?void 0:G.sig)==null?void 0:H.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((J=(Q=i.wave)==null?void 0:Q.sig)==null?void 0:J.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Od,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((q=(X=i.wave)==null?void 0:X.sig)==null?void 0:q.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((M=(V=i.wave)==null?void 0:V.sig)==null?void 0:M.period,1)),1),e.createElementVNode("td",null,[($=i.current)!=null&&$.kts?(e.openBlock(),e.createElementBlock("span",Fd,[e.createTextVNode(e.toDisplayString((s=i.current)==null?void 0:s.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((j=i.current)==null?void 0:j.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Pd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((d=i.current)==null?void 0:d.kts,1)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",ud,e.toDisplayString(a.roundPrecision((v=i.precip)==null?void 0:v.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",Ld,e.toDisplayString(a.roundPrecision((oe=i.precip)==null?void 0:oe.inter6h,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(i.visibility/1852,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(i.temp,1)),1)])}),128))])])])])])}const En=Ee(Rc,[["render",Wd],["__scopeId","data-v-2fead0ca"]]),Hd={install(t){t.component("ORMPointReport",yn),t.component("PointReport",En)}},Md={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Gd={class:"logo"},Id=[e.createElementVNode("svg",{t:"1681710850227",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7633",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 409.6h3413.333333v204.8H0z","p-id":"7634"}),e.createElementVNode("path",{d:"M68.266667 477.866667v68.266666h3276.8V477.866667H68.266667M0 409.6h3413.333333v204.8H0z","p-id":"7635"}),e.createElementVNode("path",{d:"M2362.5728 1006.933333H713.659733l302.011734-478.4128 5.666133-8.942933-5.5296-9.079467L713.181867 17.066667h1649.2544l347.409066 502.237866-347.272533 487.6288z",fill:"#FFFFFF","p-id":"7636"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-470.698667L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933L682.666667 0z",fill:"#000000","p-id":"7637"})],-1)];function Rd(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",Gd,Id)}const zd=Ee(Md,[["render",Rd]]),Ud={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Yd={class:"logo"},Zd=[e.createElementVNode("svg",{t:"1681710772723",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7205",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 477.866667h3413.333333v68.266666H0z","p-id":"7206"}),e.createElementVNode("path",{d:"M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z",fill:"#C8C8C8","p-id":"7207"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-471.04L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z","p-id":"7208"})],-1)];function $d(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",Yd,Zd)}const Qd=Ee(Ud,[["render",$d]]),Jd={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Kd={class:"logo"},qd=[e.createElementVNode("svg",{t:"1681710864960",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7832",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 409.6h136.533333v204.8H0z","p-id":"7833"}),e.createElementVNode("path",{d:"M204.8 409.6h136.533333v204.8H204.8z","p-id":"7834"}),e.createElementVNode("path",{d:"M409.6 409.6h136.533333v204.8H409.6z","p-id":"7835"}),e.createElementVNode("path",{d:"M614.4 409.6h136.533333v204.8H614.4z","p-id":"7836"}),e.createElementVNode("path",{d:"M819.2 409.6h136.533333v204.8h-136.533333z","p-id":"7837"}),e.createElementVNode("path",{d:"M1024 409.6h136.533333v204.8h-136.533333z","p-id":"7838"}),e.createElementVNode("path",{d:"M1228.8 409.6h136.533333v204.8h-136.533333z","p-id":"7839"}),e.createElementVNode("path",{d:"M1433.6 409.6h136.533333v204.8h-136.533333z","p-id":"7840"}),e.createElementVNode("path",{d:"M1638.4 409.6h136.533333v204.8h-136.533333z","p-id":"7841"}),e.createElementVNode("path",{d:"M1843.2 409.6h136.533333v204.8h-136.533333z","p-id":"7842"}),e.createElementVNode("path",{d:"M2048 409.6h136.533333v204.8h-136.533333z","p-id":"7843"}),e.createElementVNode("path",{d:"M2252.8 409.6h136.533333v204.8h-136.533333z","p-id":"7844"}),e.createElementVNode("path",{d:"M2457.6 409.6h136.533333v204.8h-136.533333z","p-id":"7845"}),e.createElementVNode("path",{d:"M2662.4 409.6h136.533333v204.8h-136.533333z","p-id":"7846"}),e.createElementVNode("path",{d:"M2867.2 409.6h136.533333v204.8h-136.533333z","p-id":"7847"}),e.createElementVNode("path",{d:"M3072 409.6h136.533333v204.8h-136.533333z","p-id":"7848"}),e.createElementVNode("path",{d:"M3276.8 409.6h136.533333v204.8h-136.533333z","p-id":"7849"}),e.createElementVNode("path",{d:"M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z",fill:"#686868","p-id":"7850"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-471.04L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z","p-id":"7851"})],-1)];function Xd(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",Kd,qd)}const jd=Ee(Jd,[["render",Xd]]),Rte="",vd={name:"IdmLng",props:{lng:{type:Number,default:void 0},label:{type:String,default:"Lng"}},data(){return{lngDegree:void 0,lngMinute:void 0,lngDirection:void 0}},watch:{lng:{handler(){if(this.lng!==void 0){let t=te.convertToStandardLng(this.lng);t>=0?this.lngDirection="E":this.lngDirection="W",t=Math.abs(t),this.lngDegree=Math.trunc(t),this.lngMinute=Math.round((t-this.lngDegree)*60*100)/100}},immediate:!0}}},_n=t=>(e.pushScopeId("data-v-533ec662"),t=t(),e.popScopeId(),t),er={class:"lng-box"},tr={key:0},or=_n(()=>e.createElementVNode("span",null,"°",-1)),lr=_n(()=>e.createElementVNode("span",null,"'",-1));function ar(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",er,[o.label?(e.openBlock(),e.createElementBlock("span",tr,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.lngDegree),1),or,e.createElementVNode("label",null,e.toDisplayString(l.lngMinute),1),lr,e.createElementVNode("label",null,e.toDisplayString(l.lngDirection),1)])}const en=Ee(vd,[["render",ar],["__scopeId","data-v-533ec662"]]),zte="",nr={name:"IdmLat",props:{lat:{type:Number,default:void 0},label:{type:String,default:"Lat"}},data(){return{latDegree:void 0,latMinute:void 0,latDirection:void 0}},watch:{lat:{handler(){if(this.lat!==void 0){this.lat>=0?this.latDirection="N":this.latDirection="S";const t=Math.abs(this.lat);this.latDegree=Math.trunc(t),this.latMinute=Math.round((t-this.latDegree)*60*100)/100}},immediate:!0}}},Nn=t=>(e.pushScopeId("data-v-d3432239"),t=t(),e.popScopeId(),t),sr={class:"lat-box"},ir={key:0},cr=Nn(()=>e.createElementVNode("span",null,"°",-1)),dr=Nn(()=>e.createElementVNode("span",null,"'",-1));function rr(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",sr,[o.label?(e.openBlock(),e.createElementBlock("span",ir,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.latDegree),1),cr,e.createElementVNode("label",null,e.toDisplayString(l.latMinute),1),dr,e.createElementVNode("label",null,e.toDisplayString(l.latDirection),1)])}const tn=Ee(nr,[["render",rr],["__scopeId","data-v-d3432239"]]),Ute="",mr={name:"IdmEditor",components:{Editor:mn.Editor,Toolbar:mn.Toolbar},props:{height:{type:String,default:"200px"},modelValue:{type:String,default:()=>""},disabled:{type:Boolean,default:()=>!1}},data(){return{editorRef:null,editor:null,mode:"simple",valueHtml:void 0,editorConfig:{placeholder:"please input something..."},toolbarConfig:{toolbarKeys:["bold","color","bgColor","fontSize","lineHeight"]}}},watch:{disabled:{handler(t){var n,o;t?(n=this.editor)==null||n.disable():(o=this.editor)==null||o.enable()}},modelValue:{handler(){var t;this.valueHtml=this.modelValue,(t=this.editor)==null||t.setHtml(this.valueHtml)}}},methods:{handleCreated(t){var n;this.editorRef=e.shallowRef(),this.editor=Object.seal(t),this.valueHtml=this.modelValue,(n=this.editor)==null||n.setHtml(this.valueHtml),this.disabled?this.editor.disable():this.editor.enable()},handleChange(t){this.$emit("update:modelValue",this.valueHtml)},handleBlur(t){this.$emit("blur",this.valueHtml)},beforeDestroy(){var t;(t=this.editor)==null||t.destroy()}}},pr={class:"editor-box"};function hr(t,n,o,c,l,a){const p=e.resolveComponent("Toolbar"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",pr,[e.withDirectives(e.createVNode(p,{editor:l.editor,"default-config":l.toolbarConfig,mode:l.mode,class:"toolbar"},null,8,["editor","default-config","mode"]),[[e.vShow,!o.disabled]]),e.createVNode(i,{modelValue:l.valueHtml,"onUpdate:modelValue":n[0]||(n[0]=_=>l.valueHtml=_),"default-config":l.editorConfig,mode:l.mode,class:"editor",style:e.normalizeStyle({height:o.height}),onOnCreated:a.handleCreated,onOnChange:a.handleChange,onOnBlur:a.handleBlur},null,8,["modelValue","default-config","mode","style","onOnCreated","onOnChange","onOnBlur"])])}const zo=Ee(mr,[["render",hr],["__scopeId","data-v-0d3b5c3c"]]),yr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABHNCSVQICAgIfAhkiAAADdBJREFUaEPtWguUFcWZ/ququ+9rnsy9MzIzMKCAyMtXRFHJgYigoEElk109S9R1F9Acc0h8rEZ2t3eFRBDdVXMwakyMJobAGskmxiwawiaICQTdja/4ANYA82BgmGG4j+7bXbXfP9zZ4AhzZyaje05O+pzvVE93V9X/1f+suiPoT+QSfyI86I8j0rhOkR0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VGIowybATskRyQmxWew7Du8gny+yxcLxg7+lcJY7Iw9pnUA96wp9psnADZVvthEWJDbAY5aTORxoA7guc8A2CdPpBGWzQXYzDjIcGQ87tkvD8ihNFYQisMjC4jz2+7o0wCwA/PF9v2rwjPud+zFhw68ReVw/Vug56cI1jJrhX954tU9CPSciY3GPRNlE+v57wg2/wkALzKbKs/JGmUrYct4jSf9c2bvtfr/73/+L2joHH7hUihcAAAAAElFTkSuQmCC",Yte="",Zte="",Er={name:"RouteReport",components:{Lng:en,Lat:tn,Editor:zo,Route1:zd,Route2:Qd,Route3:jd,IdmBrand:va},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{tableData:[],sogChart:void 0,windChart:void 0,waveChart:void 0,currentChart:void 0,editable:!1,advisory:""}},computed:{computeUTCTime(){return function(t){return`${T(t).utc().format("MMM-DD/HHmm")}Z`}},computeLTime(){return function(t,n){const o=T(t);return o.utcOffset(n),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,n,o,c,l;return(l=(c=(o=(n=(t=this.plan)==null?void 0:t.leg)==null?void 0:n.destination)==null?void 0:o.port)==null?void 0:c.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,n){var o,c,l;if(n===0)return"-";{const a=T((c=(o=t==null?void 0:t.speeds[n])==null?void 0:o.speed)==null?void 0:c.eta).diff(T((l=t==null?void 0:t.speeds[0])==null?void 0:l.speed.eta),"h",!0);return Math.round(a*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,p;const n=(p=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:p.hours,o=n[0],c=n[n.length-1];return T(c.eta).diff(T(o.eta),"day")}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t){const n=[];if(t.length)return t.forEach(o=>{n.push(o),o.suspend&&n.push({etd:o.etd,eta:o.etd,isResume:!0,memo:`Drifting: ${o.suspend}hrs`})}),n}}},watch:{plan:{handler(){var t,n;(t=this.plan)!=null&&t.id&&(this.advisory=((n=this.plan)==null?void 0:n.advisory)||"As conditions and safe navigation permit, our suggested route remains valid.",this.$nextTick(()=>{this.initEChart()}))},immediate:!0}},methods:{initEChart(){var t,n,o,c,l,a,p,i,_,g;if(this.sogChart||(this.sogChart=e.markRaw(Uo.init(this.$refs.sogChart))),this.windChart||(this.windChart=e.markRaw(Uo.init(this.$refs.windChart))),this.waveChart||(this.waveChart=e.markRaw(Uo.init(this.$refs.waveChart))),(n=(t=this.plan)==null?void 0:t.speeds)!=null&&n.length){const S=[],h={grid:{right:"15%",bottom:"15%",top:"15%"},tooltip:{trigger:"axis"},legend:{itemGap:100,icon:"roundRect",itemHeight:2},xAxis:[{data:S}],yAxis:{type:"value",splitNumber:5,name:"SOG (kts)",nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:16,fontWeight:600,textAlign:"center"},position:"left",axisLabel:{formatter:"{value} kts"}},series:[]},N={grid:{right:"15%",bottom:"15%",top:"5%"},tooltip:{trigger:"axis"},xAxis:[{data:S}],yAxis:{type:"value",splitNumber:5,name:"Wind Speed (kts)",nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:16,fontWeight:600,textAlign:"center"},position:"left",axisLabel:{formatter:"{value} kts"}},series:[]},x={grid:{right:"15%",top:"5%",bottom:"10%"},tooltip:{trigger:"axis"},xAxis:[{data:S}],yAxis:{type:"value",splitNumber:5,name:"Sig Wave Height (m)",nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:16,fontWeight:600,textAlign:"center"},axisLabel:{formatter:"{value} m"}},series:[]};let r,C;for(let k=0;k<((c=(o=this.plan)==null?void 0:o.speeds)==null?void 0:c.length);k++){const F=(l=this.plan)==null?void 0:l.speeds[k].speed,L=[],w=[],O=[],b=[];for(let R=0;R<F.sample.hours.length;R++){const W=F.sample.hours[R];if(k===0){r||(r=T(W.eta).utc(),C=r.clone().add(this.computeDay(this.plan),"day"));const Q=T(W.eta).utc();if(Q.isAfter(C))break;S.push(`${Q.format("MMM-DD/HHmm")}Z`)}const f=this.roundPrecision(W.speed||10,1),U=this.roundPrecision(W.cFactor||0,1),G=this.roundPrecision((p=(a=W.meteo)==null?void 0:a.wind)==null?void 0:p.kts,1),H=this.roundPrecision((g=(_=(i=W.meteo)==null?void 0:i.wave)==null?void 0:_.sig)==null?void 0:g.height,1);L.push(f),O.push(G),b.push(H),w.push(U)}const u={name:`Route ${k+1}`,type:"line",smooth:!0,showSymbol:!0,data:L},I={name:`Route ${k+1}`,type:"line",smooth:!0,showSymbol:!0,data:O},Z={name:`Route ${k+1}`,type:"line",smooth:!0,showSymbol:!0,data:b};h.series.push(u),N.series.push(I),x.series.push(Z)}this.sogChart.setOption(h),this.windChart.setOption(N),this.waveChart.setOption(x)}},handleSave(){this.$emit("commit",this.$refs.editor.valueHtml),this.editable=!1},handleRefresh(){this.$emit("refresh")},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0}}},it=t=>(e.pushScopeId("data-v-ba499fc2"),t=t(),e.popScopeId(),t),_r={class:"route-report"},Nr={class:"report-header flex-space"},Vr=it(()=>e.createElementVNode("img",{style:{"margin-right":"20px"},src:yr,alt:""},null,-1)),fr=it(()=>e.createElementVNode("div",{class:"tips",style:{"line-height":"2"}},[e.createElementVNode("div",null,"The waypoints in this sheet are approximate positions."),e.createElementVNode("div",null," The route map is for reference only and should not be used for navigation. All the material is an advisory provided so as to assist the Master in making the final route decision. ")],-1)),gr={class:"issued flex-end"},Dr=it(()=>e.createElementVNode("label",null,"Issued",-1)),xr={class:"report-body"},br={class:"voyage-summary flex-space"},Cr={class:"title"},Sr={key:0},kr={key:1},Ar={key:0,class:"initial"},Br={key:1,class:"warning"},wr={class:"summary flex-start"},Tr={class:"summary-item"},Or=it(()=>e.createElementVNode("label",{class:"label"},"Voyage No",-1)),Fr={class:"summary-item"},Pr=it(()=>e.createElementVNode("label",{class:"label"},"From ",-1)),ur={key:0},Lr={key:1,class:"flex-start"},Wr=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Hr={class:"summary-item"},Mr=it(()=>e.createElementVNode("label",{class:"label"},"To ",-1)),Gr={key:0},Ir={key:1,class:"flex-start"},Rr=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),zr={class:"route-advisory"},Ur={class:"charts"},Yr={key:0},Zr=["src"],$r={class:"legend-box"},Qr=e.createStaticVNode('<div class="legend-item" data-v-ba499fc2><span class="img-legend" style="background-color:var(--dangerous);" data-v-ba499fc2></span> Dangerous </div><div class="legend-item" data-v-ba499fc2><span class="img-legend" style="background-color:var(--severe);" data-v-ba499fc2></span> Severe </div><div class="legend-item" data-v-ba499fc2><span class="img-legend" style="background-color:var(--heavy);" data-v-ba499fc2></span> Heavy </div><div class="legend-item" data-v-ba499fc2><b class="route1" data-v-ba499fc2></b><span data-v-ba499fc2>Route 1</span></div>',4),Jr={key:0,class:"legend-item"},Kr=[it(()=>e.createElementVNode("b",{class:"route2"},null,-1)),it(()=>e.createElementVNode("span",null,"Route 2",-1))],qr={key:1,class:"legend-item"},Xr=[it(()=>e.createElementVNode("b",{class:"route3"},null,-1)),it(()=>e.createElementVNode("span",null,"Route 3",-1))],jr={key:1,class:"empty"},vr={class:"route-comparison"},em=it(()=>e.createElementVNode("div",{class:"title flex-space"},[e.createElementVNode("div",{class:"secondary-title"},"Route Comparison"),e.createElementVNode("div",{class:"tips"},[e.createTextVNode(" * Please note the climatology data was used for days that extend beyond the available forecast."),e.createElementVNode("br"),e.createTextVNode(" * Fuel consumption was calculated only based on CP terms, and does not reflect actual consumption. ")])],-1)),tm={class:"container"},om={key:0},lm=it(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",{rowspan:"2"},"TTL Dist (nm)"),e.createElementVNode("th",null,"ETA (UTC)"),e.createElementVNode("th",{rowspan:"2"},"Diff (h)"),e.createElementVNode("th",{colspan:"2"},"TTL Cons (mt)"),e.createElementVNode("th",null,"Dangerous"),e.createElementVNode("th",null,"Severe"),e.createElementVNode("th",null,"Heavy")],-1)),am=it(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),nm=it(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),sm=it(()=>e.createElementVNode("th",null,"*FO",-1)),im=it(()=>e.createElementVNode("th",null,"*DO",-1)),cm={colspan:"3"},dm={rowspan:"2"},rm={rowspan:"2"},mm={rowspan:"2"},pm={rowspan:"2"},hm={rowspan:"2"},ym={rowspan:"2"},Em={rowspan:"2"},_m={rowspan:"2"},Nm={rowspan:"2"},Vm={class:"route-advisory",style:{"page-break-after":"always"}},fm={class:"advisory"},gm={class:"reason"},Dm={class:"secondary-title flex-space"},xm=it(()=>e.createElementVNode("div",null,"Note",-1)),bm=["innerHTML"],Cm={class:"major-waypoints"},Sm=it(()=>e.createElementVNode("div",{class:"secondary-title"},"Major Waypoints of Route 1",-1)),km={class:"container"},Am=e.createStaticVNode('<div class="header" data-v-ba499fc2><div class="cell-item" style="width:180px;" data-v-ba499fc2>Major waypoint</div><div class="cell-item" style="width:100px;" data-v-ba499fc2>Time</div><div class="cell-item" style="width:35px;" data-v-ba499fc2>Nav</div><div class="cell-item" style="width:55px;" data-v-ba499fc2>Dist</div><div class="cell-item" style="width:40px;" data-v-ba499fc2>SOG</div><div class="cell-item" style="width:125px;" data-v-ba499fc2>Memo</div></div>',1),Bm={class:"body"},wm={class:"cell-item",style:{width:"180px"}},Tm={key:0,class:"flex-center"},Om={key:1,class:"flex-center"},Fm=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Pm={key:0},um={class:"cell-item",style:{width:"100px"}},Lm={key:0,class:"cell-item offset",style:{width:"35px"}},Wm={key:1,class:"cell-item offset",style:{width:"55px"}},Hm={key:2,class:"cell-item offset",style:{width:"40px"}},Mm={key:3,class:"cell-item offset",style:{width:"125px"}},Gm={class:"weather-eChart"},Im=it(()=>e.createElementVNode("div",{class:"secondary-title"},"Weather and Speed Analysis",-1)),Rm={ref:"sogChart",class:"eChart"},zm={ref:"windChart",class:"eChart wind"},Um={ref:"waveChart",class:"eChart"},Ym={class:"weather-sample"},Zm={class:"secondary-title"},$m=it(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("UTC")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),Qm={class:"flex-center"},Jm=it(()=>e.createElementVNode("span",null,"/",-1)),Km={key:0,class:"degree-box"},qm={key:1},Xm={key:0,class:"degree-box"},jm={key:1},vm={key:0,class:"degree-box"},ep={key:1},tp={key:0,class:"degree-box"},op={key:1};function lp(t,n,o,c,l,a){var S,h,N,x,r,C,k,F,L,w,O,b,u,I,Z,R,W,f,U,G,H,Q,J,X,q,V,M,$,s,j,d,v,oe,ee,ie,ce,de,re,_e,ae,he,Ne,Ve,fe,ge,De,xe,be,Ce,Se,Oe,Fe,ye;const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Lat"),_=e.resolveComponent("Lng"),g=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",_r,[e.createVNode(p,{name:"Voyage Planning"}),e.createElementVNode("div",Nr,[Vr,fr,e.createElementVNode("div",gr,[Dr,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime((S=o.plan)==null?void 0:S.updatedAt)),1)])]),e.createElementVNode("div",xr,[e.createElementVNode("div",br,[e.createElementVNode("div",Cr,[((h=o.plan)==null?void 0:h.type)==="Recommend"?(e.openBlock(),e.createElementBlock("div",Sr,"Recommended Route Report for "+e.toDisplayString((r=(x=(N=o.plan)==null?void 0:N.voyage)==null?void 0:x.vessel)==null?void 0:r.name),1)):(e.openBlock(),e.createElementBlock("div",kr,"Route Report for "+e.toDisplayString((F=(k=(C=o.plan)==null?void 0:C.voyage)==null?void 0:k.vessel)==null?void 0:F.name),1)),e.createElementVNode("div",null,[((L=o.plan)==null?void 0:L.type)==="Recommend"?(e.openBlock(),e.createElementBlock("span",Ar,"Initial Route Report")):e.createCommentVNode("",!0),((w=o.plan)==null?void 0:w.type)==="Drifting"?(e.openBlock(),e.createElementBlock("span",Br,"Drifting Route Report")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",wr,[e.createElementVNode("div",Tr,[Or,e.createElementVNode("span",null,e.toDisplayString((b=(O=o.plan)==null?void 0:O.voyage)==null?void 0:b.number),1)]),e.createElementVNode("div",Fr,[Pr,(Z=(I=(u=o.plan)==null?void 0:u.leg)==null?void 0:I.departure)!=null&&Z.name?(e.openBlock(),e.createElementBlock("div",ur,e.toDisplayString((W=(R=o.plan)==null?void 0:R.leg)==null?void 0:W.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Lr,[e.createVNode(i,{lat:(G=(U=(f=o.plan)==null?void 0:f.leg)==null?void 0:U.departure)==null?void 0:G.lat,label:""},null,8,["lat"]),Wr,e.createVNode(_,{lng:(J=(Q=(H=o.plan)==null?void 0:H.leg)==null?void 0:Q.departure)==null?void 0:J.lng,label:""},null,8,["lng"])]))]),e.createElementVNode("div",Hr,[Mr,(V=(q=(X=o.plan)==null?void 0:X.leg)==null?void 0:q.destination)!=null&&V.name?(e.openBlock(),e.createElementBlock("div",Gr,e.toDisplayString((M=o.plan)==null?void 0:M.leg.destination.name),1)):(e.openBlock(),e.createElementBlock("div",Ir,[e.createVNode(i,{lat:(j=(s=($=o.plan)==null?void 0:$.leg)==null?void 0:s.destination)==null?void 0:j.lat,label:""},null,8,["lat"]),Rr,e.createVNode(_,{lat:(oe=(v=(d=o.plan)==null?void 0:d.leg)==null?void 0:v.destination)==null?void 0:oe.lng,label:""},null,8,["lat"])]))])])]),e.createElementVNode("div",zr,[e.createElementVNode("div",Ur,[(ee=o.plan)!=null&&ee.chartUrl?(e.openBlock(),e.createElementBlock("div",Yr,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,Zr),e.createElementVNode("div",$r,[Qr,((ce=(ie=o.plan)==null?void 0:ie.speeds)==null?void 0:ce.length)>1?(e.openBlock(),e.createElementBlock("div",Jr,Kr)):e.createCommentVNode("",!0),((re=(de=o.plan)==null?void 0:de.speeds)==null?void 0:re.length)>2?(e.openBlock(),e.createElementBlock("div",qr,Xr)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",jr,[e.createElementVNode("span",null,[e.createTextVNode("weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:n[0]||(n[0]=(...P)=>a.handleRefresh&&a.handleRefresh(...P))},"Refresh"),e.createTextVNode(" later please")])]))])]),e.createElementVNode("div",vr,[em,e.createElementVNode("div",tm,[(ae=(_e=o.plan)==null?void 0:_e.speeds)!=null&&ae.length?(e.openBlock(),e.createElementBlock("table",om,[e.createElementVNode("thead",null,[lm,e.createElementVNode("tr",null,[am,nm,sm,im,e.createElementVNode("th",cm,"*days (with in the next "+e.toDisplayString(a.computeDay(o.plan))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((he=o.plan)==null?void 0:he.speeds,(P,me)=>{var Pe,ue,Le,ke,We,Ue,Ye,z,we,Me,Ze,$e,Qe,Je,Ke,E,K,Te,He,Ge;return e.openBlock(),e.createElementBlock(e.Fragment,{key:me},[e.createElementVNode("tr",null,[e.createElementVNode("td",dm,e.toDisplayString(me+1),1),e.createElementVNode("td",rm,e.toDisplayString((ue=(Pe=P.speed)==null?void 0:Pe.lane)==null?void 0:ue.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((Le=P.speed)==null?void 0:Le.label)??"CP"} ${((ke=P.speed)==null?void 0:ke.v0)??((Ue=(We=P.speed)==null?void 0:We.cpCopy)==null?void 0:Ue.speed)}`),1),e.createElementVNode("td",mm,e.toDisplayString(a.roundPrecision((Ye=P.speed)==null?void 0:Ye.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((z=P.speed)==null?void 0:z.eta)),1),e.createElementVNode("td",pm,e.toDisplayString(a.computeTimeDiff(o.plan,me)),1),e.createElementVNode("td",hm,e.toDisplayString(a.roundPrecision((we=P.speed)==null?void 0:we.totalFoCons,3)),1),e.createElementVNode("td",ym,e.toDisplayString(a.roundPrecision((Me=P.speed)==null?void 0:Me.totalDgoCons,3)),1),e.createElementVNode("td",Em,e.toDisplayString(a.roundPrecision(((Ze=P.speed)==null?void 0:Ze.dangerous)/24,1)),1),e.createElementVNode("td",_m,e.toDisplayString(a.roundPrecision((($e=P.speed)==null?void 0:$e.severe)/24,1)),1),e.createElementVNode("td",Nm,e.toDisplayString(a.roundPrecision(((Qe=P.speed)==null?void 0:Qe.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((Ke=(Je=P.speed)==null?void 0:Je.cpCopy)==null?void 0:Ke.fo)+" FO / "+e.toDisplayString((K=(E=P.speed)==null?void 0:E.cpCopy)==null?void 0:K.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Te=P.speed)==null?void 0:Te.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((He=P.speed)==null?void 0:He.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((Ge=P.speed)==null?void 0:Ge.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Vm,[e.createElementVNode("div",fm,[e.createElementVNode("div",gm,[e.createElementVNode("div",Dm,[xm,l.editable?(e.openBlock(),e.createElementBlock("div",{key:0,class:"print-hidden save-button",onClick:n[1]||(n[1]=P=>a.handleSave())},"Save")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[l.editable?(e.openBlock(),e.createBlock(g,{key:0,ref:"editor",modelValue:l.advisory,"onUpdate:modelValue":n[2]||(n[2]=P=>l.advisory=P),class:"editor",height:"320px"},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[3]||(n[3]=(...P)=>a.decideDisable&&a.decideDisable(...P)),innerHTML:l.advisory},null,40,bm))])]),e.createElementVNode("div",Cm,[Sm,e.createElementVNode("div",km,[Am,e.createElementVNode("div",Bm,[(Ve=(Ne=o.plan)==null?void 0:Ne.speeds)!=null&&Ve.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.computeMajorPoints((xe=(De=(ge=(fe=o.plan)==null?void 0:fe.speeds[0])==null?void 0:ge.speed)==null?void 0:De.sample)==null?void 0:xe.wps),(P,me)=>(e.openBlock(),e.createElementBlock("div",{key:me,class:"cell-row"},[e.createElementVNode("div",wm,[P.isResume?(e.openBlock(),e.createElementBlock("div",Tm,"Resume")):(e.openBlock(),e.createElementBlock("div",Om,[e.createVNode(i,{lat:P.lat,label:""},null,8,["lat"]),Fm,e.createVNode(_,{lng:P.lng,label:""},null,8,["lng"]),P.pilot?(e.openBlock(),e.createElementBlock("span",Pm," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",um,e.toDisplayString(a.computeUTCTime(P.eta)),1),me?(e.openBlock(),e.createElementBlock("div",Lm,e.toDisplayString(a.computeNav(P)),1)):e.createCommentVNode("",!0),me?(e.openBlock(),e.createElementBlock("div",Wm,e.toDisplayString(a.roundPrecision(P.distanceFromStart,1)),1)):e.createCommentVNode("",!0),me?(e.openBlock(),e.createElementBlock("div",Hm,e.toDisplayString(a.roundPrecision(P.avgSpd??P.speed,1)),1)):e.createCommentVNode("",!0),me?(e.openBlock(),e.createElementBlock("div",Mm,e.toDisplayString(a.computeMemo(P)),1)):e.createCommentVNode("",!0)]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Gm,[Im,e.createElementVNode("div",Rm,null,512),e.createElementVNode("div",zm,null,512),e.createElementVNode("div",Um,null,512)]),e.createElementVNode("div",Ym,[(Ce=(be=o.plan)==null?void 0:be.speeds)!=null&&Ce.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Zm,"Weather Forecast for the Next "+e.toDisplayString(a.computeDay(o.plan))+" Days of Route 1",1),e.createElementVNode("table",null,[$m,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ye=(Fe=(Oe=(Se=o.plan)==null?void 0:Se.speeds[0])==null?void 0:Oe.speed)==null?void 0:Fe.sample)==null?void 0:ye.hours,(P,me)=>{var Pe,ue,Le,ke,We,Ue,Ye,z,we,Me,Ze,$e,Qe,Je,Ke,E,K,Te,He,Ge,pe,qe,je,ve,ot,lt,at,nt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ot,Ht;return e.openBlock(),e.createElementBlock("tr",{key:me,class:e.normalizeClass(P.isDangerous?"dangerous":P.isSevere?"severe":P.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(P.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",Qm,[e.createVNode(i,{lat:P.lat,label:""},null,8,["lat"]),Jm,e.createVNode(_,{lng:P.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(ue=(Pe=P.meteo)==null?void 0:Pe.wind)!=null&&ue.kts?(e.openBlock(),e.createElementBlock("span",Km,[e.createTextVNode(e.toDisplayString((ke=(Le=P.meteo)==null?void 0:Le.wind)==null?void 0:ke.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Ue=(We=P.meteo)==null?void 0:We.wind)==null?void 0:Ue.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",qm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((z=(Ye=P.meteo)==null?void 0:Ye.wind)==null?void 0:z.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ze=(Me=(we=P.meteo)==null?void 0:we.wave)==null?void 0:Me.wd)==null?void 0:Ze.height,1)),1),e.createElementVNode("td",null,[(Je=(Qe=($e=P.meteo)==null?void 0:$e.wave)==null?void 0:Qe.swell)!=null&&Je.height?(e.openBlock(),e.createElementBlock("span",Xm,[e.createTextVNode(e.toDisplayString((K=(E=(Ke=P.meteo)==null?void 0:Ke.wave)==null?void 0:E.swell)==null?void 0:K.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Ge=(He=(Te=P.meteo)==null?void 0:Te.wave)==null?void 0:He.swell)==null?void 0:Ge.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",jm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((je=(qe=(pe=P.meteo)==null?void 0:pe.wave)==null?void 0:qe.swell)==null?void 0:je.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((lt=(ot=(ve=P.meteo)==null?void 0:ve.wave)==null?void 0:ot.swell)==null?void 0:lt.period,1)),1),e.createElementVNode("td",null,[(pt=(nt=(at=P.meteo)==null?void 0:at.wave)==null?void 0:nt.sig)!=null&&pt.height?(e.openBlock(),e.createElementBlock("span",vm,[e.createTextVNode(e.toDisplayString((Et=(yt=(ht=P.meteo)==null?void 0:ht.wave)==null?void 0:yt.sig)==null?void 0:Et.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Vt=(Nt=(_t=P.meteo)==null?void 0:_t.wave)==null?void 0:Nt.sig)==null?void 0:Vt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",ep,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Dt=(gt=(ft=P.meteo)==null?void 0:ft.wave)==null?void 0:gt.sig)==null?void 0:Dt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ct=(bt=(xt=P.meteo)==null?void 0:xt.wave)==null?void 0:bt.sig)==null?void 0:Ct.period,1)),1),e.createElementVNode("td",null,[(kt=(St=P.meteo)==null?void 0:St.current)!=null&&kt.kts?(e.openBlock(),e.createElementBlock("span",tp,[e.createTextVNode(e.toDisplayString((Bt=(At=P.meteo)==null?void 0:At.current)==null?void 0:Bt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Tt=(wt=P.meteo)==null?void 0:wt.current)==null?void 0:Tt.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",op,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ht=(Ot=P.meteo)==null?void 0:Ot.current)==null?void 0:Ht.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(P.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0)])])])}const dn=Ee(Er,[["render",lp],["__scopeId","data-v-ba499fc2"]]),qte="",ap={name:"RouteReport",components:{Lng:en,Lat:tn,Editor:zo},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:""}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${T(t).utc().format(n)}`}},computeLTime(){return function(t,n){const o=T(t);return o.utcOffset(n),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,n,o,c,l;return(l=(c=(o=(n=(t=this.plan)==null?void 0:t.leg)==null?void 0:n.destination)==null?void 0:o.port)==null?void 0:c.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,n){var o,c,l;if(n===0)return"-";{const a=T((c=(o=t==null?void 0:t.speeds[n])==null?void 0:o.speed)==null?void 0:c.eta).diff(T((l=t==null?void 0:t.speeds[0])==null?void 0:l.speed.eta),"h",!0);return Math.round(a*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,p;const n=(p=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:p.hours,o=n[0],c=n[n.length-1];return T(c.eta).diff(T(o.eta),"day")}}},watch:{plan:{handler(){var t,n;(t=this.plan)!=null&&t.id&&(this.advisory=((n=this.plan)==null?void 0:n.advisory)||"Pls find the following major waypoints for your safe navigation.")},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0}}},ct=t=>(e.pushScopeId("data-v-afd0f0bf"),t=t(),e.popScopeId(),t),np={class:"route-report"},sp=ct(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),ip={class:"section"},cp=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),dp={class:"section-body basics"},rp={class:"flex-space section-row"},mp={class:"flex-start"},pp=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),hp={class:"flex-start"},yp={class:"flex-start"},Ep=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),_p={class:"flex-start flex"},Np={key:0,class:"flex"},Vp={key:1,class:"flex-space flex"},fp=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),gp={class:"time flex"},Dp={class:"flex-space section-row"},xp={class:"flex-start"},bp=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),Cp={class:"flex-start"},Sp={class:"flex-start"},kp=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),Ap={class:"flex-start flex"},Bp={key:0,class:"flex"},wp={key:1,class:"flex-space"},Tp=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Op={class:"time flex"},Fp={class:"flex-space section-row"},Pp={class:"flex-start"},up=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),Lp={class:"flex-start"},Wp={class:"flex-start"},Hp=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),Mp={class:"flex-start flex"},Gp={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},Ip=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),Rp={class:"section-body detail"},zp={class:"flex-space",style:{"align-items":"stretch"}},Up={class:"chart"},Yp=["src"],Zp={key:1,class:"empty flex-center"},$p={class:"route flex",style:{"justify-content":"space-between"}},Qp=ct(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),Jp={class:"suggestion"},Kp=["innerHTML"],qp={class:"flex-start legends"},Xp=e.createStaticVNode('<div class="legend" data-v-afd0f0bf><label style="background-color:var(--severe);" data-v-afd0f0bf></label><span data-v-afd0f0bf>Dangerous</span></div><div class="legend" data-v-afd0f0bf><label style="background-color:var(--heavy);" data-v-afd0f0bf></label><span data-v-afd0f0bf>Severe</span></div><div class="legend" data-v-afd0f0bf><b class="route1" data-v-afd0f0bf></b><span data-v-afd0f0bf>Route 1</span></div>',3),jp={key:0,class:"legend"},vp=[ct(()=>e.createElementVNode("b",{class:"route2"},null,-1)),ct(()=>e.createElementVNode("span",null,"Route 2",-1))],eh={key:1,class:"legend"},th=[ct(()=>e.createElementVNode("b",{class:"route3"},null,-1)),ct(()=>e.createElementVNode("span",null,"Route 3",-1))],oh={class:"section"},lh=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),ah={class:"section-body comparison"},nh={class:"container"},sh={key:0},ih=ct(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr"),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Route"),e.createElementVNode("th",null,"TTL Dist (nm)"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",null,"CP Cons (mt)"),e.createElementVNode("th",null,"ETA (UTC)"),e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)"),e.createElementVNode("th",null,"TTL Cons (mt)")])],-1)),ch={class:"section",style:{"page-break-inside":"avoid"}},dh=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),rh={class:"section-body sample"},mh={class:"major-waypoints"},ph={class:"container"},hh=e.createStaticVNode('<div class="header" data-v-afd0f0bf><div class="cell-item flexM" data-v-afd0f0bf>Major waypoint</div><div class="cell-item flexL" data-v-afd0f0bf>Name</div><div class="cell-item flex" data-v-afd0f0bf>Time</div><div class="cell-item flex" data-v-afd0f0bf>Nav</div><div class="cell-item flex" data-v-afd0f0bf>Dist</div><div class="cell-item flex" data-v-afd0f0bf>SOG</div></div>',1),yh={class:"body"},Eh={class:"cell-item flexM"},_h={class:"flex-center"},Nh=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Vh={class:"cell-item flexL"},fh={key:0,class:"flex-center"},gh={key:1},Dh={class:"cell-item flex"},xh={key:0,class:"cell-item flex offset"},bh={key:1,class:"cell-item flex nbsp"},Ch={key:2,class:"cell-item flex offset"},Sh={key:3,class:"cell-item flex nbsp"},kh={key:4,class:"cell-item flex offset"},Ah={key:5,class:"cell-item flex nbsp"},Bh={class:"section"},wh=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),Th={class:"section-body sample"},Oh={key:0},Fh=ct(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),Ph={class:"flex-center"},uh=ct(()=>e.createElementVNode("span",null,"/",-1)),Lh={key:0,class:"degree-box"},Wh={key:1},Hh={key:0,class:"degree-box"},Mh={key:1},Gh={key:0,class:"degree-box"},Ih={key:1},Rh={key:0,class:"degree-box"},zh={key:1},Uh=ct(()=>e.createElementVNode("div",{class:"section"},[e.createElementVNode("div",{class:"section-body footer"},[e.createElementVNode("div",null,[e.createTextVNode("Fleet Insight Limited "),e.createElementVNode("a",{href:"mailto:ops@fltins.com"},"ops@fltins.com")]),e.createElementVNode("div",{style:{"font-size":"11px","margin-top":"10px"}}," The waypoints and route map provided are intended for informational purposes only and should not be relied upon for actual navigation. Fleet Insight Limited assumes no liability for any direct/potential damage to vessels or cargo that may occur as a result of using this voyage plan for exact navigation. ")])],-1));function Yh(t,n,o,c,l,a){var g,S,h,N,x,r,C,k,F,L,w,O,b,u,I,Z,R,W,f,U,G,H,Q,J,X,q,V,M,$,s,j,d,v,oe,ee,ie,ce,de,re,_e,ae,he,Ne,Ve,fe,ge,De,xe,be,Ce,Se,Oe,Fe,ye,P,me,Pe,ue,Le,ke,We,Ue,Ye;const p=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),_=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",np,[sp,e.createElementVNode("div",ip,[cp,e.createElementVNode("div",dp,[e.createElementVNode("div",rp,[e.createElementVNode("div",mp,[pp,e.createElementVNode("div",hp,e.toDisplayString((h=(S=(g=o.plan)==null?void 0:g.voyage)==null?void 0:S.company)==null?void 0:h.name),1)]),e.createElementVNode("div",yp,[Ep,e.createElementVNode("div",_p,[(r=(x=(N=o.plan)==null?void 0:N.leg)==null?void 0:x.departure)!=null&&r.name?(e.openBlock(),e.createElementBlock("div",Np,e.toDisplayString((k=(C=o.plan)==null?void 0:C.leg)==null?void 0:k.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Vp,[e.createVNode(p,{lat:(w=(L=(F=o.plan)==null?void 0:F.leg)==null?void 0:L.departure)==null?void 0:w.lat,label:""},null,8,["lat"]),fp,e.createVNode(i,{lng:(u=(b=(O=o.plan)==null?void 0:O.leg)==null?void 0:b.departure)==null?void 0:u.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",gp,e.toDisplayString(a.computeUTCTime(((R=(Z=(I=o.plan)==null?void 0:I.leg)==null?void 0:Z.departure)==null?void 0:R.atd)||((U=(f=(W=o.plan)==null?void 0:W.leg)==null?void 0:f.departure)==null?void 0:U.etd),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",Dp,[e.createElementVNode("div",xp,[bp,e.createElementVNode("div",Cp,e.toDisplayString((Q=(H=(G=o.plan)==null?void 0:G.voyage)==null?void 0:H.vessel)==null?void 0:Q.name),1)]),e.createElementVNode("div",Sp,[kp,e.createElementVNode("div",Ap,[(q=(X=(J=o.plan)==null?void 0:J.leg)==null?void 0:X.destination)!=null&&q.name?(e.openBlock(),e.createElementBlock("div",Bp,e.toDisplayString((M=(V=o.plan)==null?void 0:V.leg)==null?void 0:M.destination.name),1)):(e.openBlock(),e.createElementBlock("div",wp,[e.createVNode(p,{lat:(j=(s=($=o.plan)==null?void 0:$.leg)==null?void 0:s.destination)==null?void 0:j.lat,label:""},null,8,["lat"]),Tp,e.createVNode(i,{lng:(oe=(v=(d=o.plan)==null?void 0:d.leg)==null?void 0:v.destination)==null?void 0:oe.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Op,e.toDisplayString(a.computeUTCTime(((ce=(ie=(ee=o.plan)==null?void 0:ee.speeds)==null?void 0:ie[0])==null?void 0:ce.speed.ata)||((re=(de=o.plan)==null?void 0:de.speeds)==null?void 0:re[0].speed.eta),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",Fp,[e.createElementVNode("div",Pp,[up,e.createElementVNode("div",Lp,e.toDisplayString(a.computeUTCTime((_e=o.plan)==null?void 0:_e.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",Wp,[Hp,e.createElementVNode("div",Mp,[e.createElementVNode("div",null,e.toDisplayString((he=(ae=o.plan)==null?void 0:ae.voyage)==null?void 0:he.loadCondition),1)])])])])]),e.createElementVNode("div",Gp,[Ip,e.createElementVNode("div",Rp,[e.createElementVNode("div",zp,[e.createElementVNode("div",Up,[(Ne=o.plan)!=null&&Ne.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(Ve=o.plan)==null?void 0:Ve.chartUrl},null,8,Yp)):(e.openBlock(),e.createElementBlock("div",Zp,[e.createTextVNode("waiting for weather map, "),e.createElementVNode("b",{onClick:n[0]||(n[0]=(...z)=>a.handleRefresh&&a.handleRefresh(...z))},"Refresh"),e.createTextVNode("later please")]))]),e.createElementVNode("div",$p,[e.createElementVNode("div",null,[Qp,e.createElementVNode("div",Jp,[l.editable?(e.openBlock(),e.createBlock(_,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[1]||(n[1]=z=>l.advisory=z),class:"editor",height:"120px",onBlur:n[2]||(n[2]=z=>a.handleCommit(z))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[3]||(n[3]=(...z)=>a.handleEdit&&a.handleEdit(...z)),innerHTML:l.advisory},null,40,Kp))])]),e.createElementVNode("div",qp,[Xp,((ge=(fe=o.plan)==null?void 0:fe.speeds)==null?void 0:ge.length)>1?(e.openBlock(),e.createElementBlock("div",jp,vp)):e.createCommentVNode("",!0),((xe=(De=o.plan)==null?void 0:De.speeds)==null?void 0:xe.length)>2?(e.openBlock(),e.createElementBlock("div",eh,th)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",oh,[lh,e.createElementVNode("div",ah,[e.createElementVNode("div",nh,[(Ce=(be=o.plan)==null?void 0:be.speeds)!=null&&Ce.length?(e.openBlock(),e.createElementBlock("table",sh,[ih,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Se=o.plan)==null?void 0:Se.speeds,(z,we)=>{var Me,Ze,$e,Qe,Je,Ke,E,K,Te,He,Ge,pe,qe,je,ve;return e.openBlock(),e.createElementBlock("tr",{key:we},[e.createElementVNode("td",null,"Route "+e.toDisplayString(we+1),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Me=z.speed)==null?void 0:Me.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${((Ze=z.speed)==null?void 0:Ze.label)??"CP"} ${(($e=z.speed)==null?void 0:$e.v0)??((Je=(Qe=z.speed)==null?void 0:Qe.cpCopy)==null?void 0:Je.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((E=(Ke=z.speed)==null?void 0:Ke.cpCopy)==null?void 0:E.fo)+" FO / "+e.toDisplayString((Te=(K=z.speed)==null?void 0:K.cpCopy)==null?void 0:Te.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((He=z.speed)==null?void 0:He.eta)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ge=z.speed)==null?void 0:Ge.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((pe=z.speed)==null?void 0:pe.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((qe=z.speed)==null?void 0:qe.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((je=z.speed)==null?void 0:je.totalFoCons,3))+" FO /"+e.toDisplayString(a.roundPrecision((ve=z.speed)==null?void 0:ve.totalDgoCons,3))+" DO",1)])}),128))])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",ch,[dh,e.createElementVNode("div",rh,[e.createElementVNode("div",mh,[e.createElementVNode("div",ph,[hh,e.createElementVNode("div",yh,[(Fe=(Oe=o.plan)==null?void 0:Oe.speeds)!=null&&Fe.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList((Pe=(me=(P=(ye=o.plan)==null?void 0:ye.speeds[0])==null?void 0:P.speed)==null?void 0:me.sample)==null?void 0:Pe.wps,(z,we)=>(e.openBlock(),e.createElementBlock("div",{key:we,class:"cell-row"},[e.createElementVNode("div",Eh,[e.createElementVNode("div",_h,[e.createVNode(p,{lat:z.lat,label:""},null,8,["lat"]),Nh,e.createVNode(i,{lng:z.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",Vh,[z.name?(e.openBlock(),e.createElementBlock("span",fh,e.toDisplayString(z.name),1)):(e.openBlock(),e.createElementBlock("span",gh,"-"))]),e.createElementVNode("div",Dh,e.toDisplayString(a.computeUTCTime(z.eta)),1),we?(e.openBlock(),e.createElementBlock("div",xh,e.toDisplayString(a.computeNav(z)),1)):(e.openBlock(),e.createElementBlock("div",bh)),we?(e.openBlock(),e.createElementBlock("div",Ch,e.toDisplayString(a.roundPrecision(z.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Sh)),we?(e.openBlock(),e.createElementBlock("div",kh,e.toDisplayString(a.roundPrecision(z.avgSpd??z.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",Ah))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Bh,[wh,e.createElementVNode("div",Th,[(Le=(ue=o.plan)==null?void 0:ue.speeds)!=null&&Le.length?(e.openBlock(),e.createElementBlock("table",Oh,[Fh,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ye=(Ue=(We=(ke=o.plan)==null?void 0:ke.speeds[0])==null?void 0:We.speed)==null?void 0:Ue.sample)==null?void 0:Ye.hours,(z,we)=>{var Me,Ze,$e,Qe,Je,Ke,E,K,Te,He,Ge,pe,qe,je,ve,ot,lt,at,nt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ot;return e.openBlock(),e.createElementBlock("tr",{key:we,class:e.normalizeClass(z.isDangerous?"dangerous":z.isSevere?"severe":z.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(z.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",Ph,[e.createVNode(p,{lat:z.lat,label:""},null,8,["lat"]),uh,e.createVNode(i,{lng:z.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Ze=(Me=z.meteo)==null?void 0:Me.wind)!=null&&Ze.kts?(e.openBlock(),e.createElementBlock("span",Lh,e.toDisplayString((Qe=($e=z.meteo)==null?void 0:$e.wind)==null?void 0:Qe.direction),1)):(e.openBlock(),e.createElementBlock("span",Wh,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ke=(Je=z.meteo)==null?void 0:Je.wind)==null?void 0:Ke.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Te=(K=(E=z.meteo)==null?void 0:E.wave)==null?void 0:K.wd)==null?void 0:Te.height,1)),1),e.createElementVNode("td",null,[(pe=(Ge=(He=z.meteo)==null?void 0:He.wave)==null?void 0:Ge.swell)!=null&&pe.height?(e.openBlock(),e.createElementBlock("span",Hh,e.toDisplayString((ve=(je=(qe=z.meteo)==null?void 0:qe.wave)==null?void 0:je.swell)==null?void 0:ve.direction),1)):(e.openBlock(),e.createElementBlock("span",Mh,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((at=(lt=(ot=z.meteo)==null?void 0:ot.wave)==null?void 0:lt.swell)==null?void 0:at.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ht=(pt=(nt=z.meteo)==null?void 0:nt.wave)==null?void 0:pt.swell)==null?void 0:ht.period,1)),1),e.createElementVNode("td",null,[(_t=(Et=(yt=z.meteo)==null?void 0:yt.wave)==null?void 0:Et.sig)!=null&&_t.height?(e.openBlock(),e.createElementBlock("span",Gh,e.toDisplayString((ft=(Vt=(Nt=z.meteo)==null?void 0:Nt.wave)==null?void 0:Vt.sig)==null?void 0:ft.direction),1)):(e.openBlock(),e.createElementBlock("span",Ih,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((xt=(Dt=(gt=z.meteo)==null?void 0:gt.wave)==null?void 0:Dt.sig)==null?void 0:xt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((St=(Ct=(bt=z.meteo)==null?void 0:bt.wave)==null?void 0:Ct.sig)==null?void 0:St.period,1)),1),e.createElementVNode("td",null,[(At=(kt=z.meteo)==null?void 0:kt.current)!=null&&At.kts?(e.openBlock(),e.createElementBlock("span",Rh,e.toDisplayString((wt=(Bt=z.meteo)==null?void 0:Bt.current)==null?void 0:wt.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",zh,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ot=(Tt=z.meteo)==null?void 0:Tt.current)==null?void 0:Ot.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(z.cFactor,1)),1)],2)}),128))])])):e.createCommentVNode("",!0)])]),Uh])}const Vn=Ee(ap,[["render",Yh],["__scopeId","data-v-afd0f0bf"]]),toe="",Zh={name:"OrmRouteReport",components:{Lng:en,Lat:tn,Editor:zo,Brand:yo,Loading:ln},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:"",echart:void 0,speedIndex:0,loading:!0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${T(t).utc().format(n)}`}},computeLTime(){return function(t,n,o){let c=0;return o&&n&&(c=te.LngLatHelper.guessTimeZoneOffset(n,o)),`${T(t).utcOffset(c).format("MMM-DD/HHmm")}LT`}},computeTimeDiff(){return function(t,n){var o,c,l,a,p;if(n===0)return"-";{const i=T((l=(c=(o=t==null?void 0:t.speeds)==null?void 0:o[n])==null?void 0:c.speed)==null?void 0:l.eta).diff(T((p=(a=t==null?void 0:t.speeds)==null?void 0:a[0])==null?void 0:p.speed.eta),"h",!0);return Math.round(i*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t){const n=[];if(t.length)return t.forEach(o=>{n.push(o),o.suspend&&n.push({etd:o.etd,eta:o.etd,isResume:!0,memo:`Drifting: ${o.suspend}hrs`})}),n}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t,n=0){var a,p,i,_;const o=(_=(i=(p=(a=t==null?void 0:t.speeds)==null?void 0:a[n])==null?void 0:p.speed)==null?void 0:i.sample)==null?void 0:_.hours,c=o[0],l=o[o.length-1];return Math.round(T(l.eta).diff(T(c.eta),"day",!0)*10)/10}}},watch:{plan:{handler(){var t,n;(t=this.plan)!=null&&t.id&&(this.loading=!1,this.advisory=((n=this.plan)==null?void 0:n.advisory)||"Pls find the following major waypoints for your safe navigation.",this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0},initEchart(){this.echart||(this.echart=e.markRaw(Uo.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var _,g,S,h,N,x,r;const t=[],n=[],o={dateTime:0,windSpeed:1,waveHeight:2,windDirection:3,windDegree:4,windScale:5,currentFactor:6,weatherFactor:7,speed:8},c={};["W","WSW","SW","SSW","S","SSE","SE","ESE","E","ENE","NE","NNE","N","NNW","NW","WNW"].forEach((C,k)=>{c[C]=Math.PI/8*k});const a=18;let p=4;(x=(N=(h=(S=(g=(_=this.plan)==null?void 0:_.speeds)==null?void 0:g[this.speedIndex])==null?void 0:S.speed)==null?void 0:h.sample)==null?void 0:N.hours)==null||x.forEach(C=>{var F,L,w,O,b,u,I,Z,R,W;const k=C.meteo;if(k){const f=T(k.utc).utc().format("MMM-DD/HHmm[Z]");t.push(f),p=Math.ceil(((L=(F=k.wave)==null?void 0:F.sig)==null?void 0:L.height)>p?(O=(w=k.wave)==null?void 0:w.sig)==null?void 0:O.height:p),n.push([f,(b=k.wind)==null?void 0:b.kts,(I=(u=k.wave)==null?void 0:u.sig)==null?void 0:I.height,(Z=k.wind)==null?void 0:Z.direction,(R=k.wind)==null?void 0:R.degree,(W=k.wind)==null?void 0:W.scale,C.cFactor,C.wFactor,C.speed])}});const i={animation:!1,title:{text:"Weather Conditions & Speed Analysis",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40},xAxis:[{data:t,boundaryGap:!1}],yAxis:[{name:"Wind Speed (kts)",nameLocation:"middle",position:"left",nameGap:35,minInterval:5,axisLine:{lineStyle:{color:"#000000B3"}}},{type:"value",name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:35,max:p,min:0,minInterval:1,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#da2e2ecc"}},splitLine:{show:!0},alignTicks:!0},{name:"SOG (kts)",nameLocation:"middle",position:"right",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#398626"}},splitLine:{show:!0}}],visualMap:{show:!1,type:"piecewise",orient:"horizontal",left:"center",bottom:0,pieces:[{gte:22,color:"#f85c5c",label:"≥ BF6"},{gte:17,lt:22,color:"#de8600",label:"BF5"},{lt:17,color:"#67c23a",label:"≤ BF4"}],seriesIndex:2,dimension:1},series:[{name:"Sig. Wave Height",type:"line",showSymbol:!0,yAxisIndex:1,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:o.dateTime,y:o.waveHeight},data:n,z:1},{name:"Wind Speed",type:"line",showSymbol:!0,yAxisIndex:0,encode:{x:o.dateTime,y:o.windSpeed},lineStyle:{color:"#000000B3",type:"dashed"},itemStyle:{color:"#000000B3"},data:n,z:2},{type:"custom",yAxisIndex:0,renderItem:(C,k)=>{const F=k.coord([k.value(o.dateTime),k.value(o.windSpeed)]);return{type:"path",shape:{pathData:"M31 16l-15-15v9h-26v12h26v9z",x:-a/2,y:-a/2,width:a,height:a},rotation:c[k.value(o.windDirection)],position:F,style:k.style({stroke:"#555",lineWidth:1})}},encode:{x:o.dateTime,y:o.windSpeed},data:n,z:10},{name:"Current Factor",type:"line",yAxisIndex:2,showSymbol:!0,encode:{x:o.dateTime,y:o.currentFactor},lineStyle:{color:"#da2e2ecc",type:"dotted"},itemStyle:{color:"#da2e2ecc"},data:n,z:3},{name:"SOG",type:"line",yAxisIndex:3,showSymbol:!0,encode:{x:o.dateTime,y:o.speed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:n,z:4}]};(r=this.echart)==null||r.setOption(i)}}},dt=t=>(e.pushScopeId("data-v-6a564b84"),t=t(),e.popScopeId(),t),$h={class:"voyage-plan"},Qh={class:"plan-report"},Jh={class:"section voyage-section flex-space"},Kh={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},qh={class:"flex-start label-block",style:{width:"100%"}},Xh=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),jh={style:{"text-transform":"uppercase"},class:"text-ellipsis"},vh={class:"flex-start label-block",style:{width:"100%"}},e1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),t1={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},o1={class:"flex-start label-block",style:{width:"100%"}},l1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),a1={class:"flex-end"},n1={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},s1={class:"flex-start label-block",style:{width:"100%"}},i1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),c1={key:0,class:"flex-end",style:{flex:"1"}},d1={key:1,class:"flex-end",style:{flex:"1"}},r1=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),m1={class:"flex-end",style:{width:"120px"}},p1={class:"flex-space label-block",style:{width:"100%"}},h1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),y1={key:0,class:"flex-end",style:{flex:"1"}},E1={key:1,class:"flex-end",style:{flex:"1"}},_1=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),N1={class:"flex-end",style:{width:"120px"}},V1={class:"flex-space label-block",style:{width:"100%"}},f1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),g1={class:"flex-end",style:{"text-transform":"uppercase"}},D1={class:"section chart-section"},x1=dt(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),b1={class:"flex-center"},C1=["src"],S1={class:"legends"},k1=e.createStaticVNode('<div class="legend" data-v-6a564b84><label style="background-color:var(--idm-dangerous);" data-v-6a564b84></label><span data-v-6a564b84>Dangerous</span></div><div class="legend" data-v-6a564b84><label style="background-color:var(--idm-severe);" data-v-6a564b84></label><span data-v-6a564b84>Severe</span></div><div class="legend" data-v-6a564b84><label style="background-color:var(--idm-heavy);" data-v-6a564b84></label><span data-v-6a564b84>Heavy</span></div>',3),A1={class:"legend"},B1=dt(()=>e.createElementVNode("b",{class:"route1"},null,-1)),w1={key:0,class:"legend"},T1=dt(()=>e.createElementVNode("b",{class:"route2"},null,-1)),O1={key:1,class:"legend"},F1=dt(()=>e.createElementVNode("b",{class:"route3"},null,-1)),P1={key:1,class:"empty"},u1={class:"section comparison-section"},L1={key:0},W1=dt(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",{rowspan:"2"},"DTG (nm)"),e.createElementVNode("th",null,"ETA (LT)"),e.createElementVNode("th",{rowspan:"2"},"Diff (h)"),e.createElementVNode("th",{colspan:"2"},"Cons (mt)"),e.createElementVNode("th",null,"Dangerous"),e.createElementVNode("th",null,"Severe"),e.createElementVNode("th",null,"Heavy")],-1)),H1=dt(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),M1=dt(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),G1=dt(()=>e.createElementVNode("th",null,"*FO",-1)),I1=dt(()=>e.createElementVNode("th",null,"*DO",-1)),R1={colspan:"3"},z1={rowspan:"2"},U1={rowspan:"2"},Y1={rowspan:"2"},Z1={rowspan:"2"},$1={rowspan:"2"},Q1={rowspan:"2"},J1={rowspan:"2"},K1={rowspan:"2"},q1={rowspan:"2"},X1=dt(()=>e.createElementVNode("div",{class:"tips"},[e.createTextVNode(" * Please note the climatology data was used for days that extend beyond the available forecast."),e.createElementVNode("br"),e.createTextVNode(" * Fuel consumption was calculated only based on CP terms, and does not reflect actual consumption. ")],-1)),j1={class:"section waypoint-section"},v1={class:"header-block flex-start"},ey=dt(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),ty={class:"title"},oy={key:0,class:"flex-end",style:{flex:"1"}},ly=["onClick"],ay={class:"advisory"},ny=["innerHTML"],sy={class:"major-waypoint"},iy=e.createStaticVNode('<div class="major-header" data-v-6a564b84><div class="cell-item flex" style="flex:1.5;" data-v-6a564b84>Major waypoint</div><div class="cell-item flex" data-v-6a564b84>Time</div><div class="cell-item flex" data-v-6a564b84>Nav</div><div class="cell-item flex" data-v-6a564b84>Dist</div><div class="cell-item flex" data-v-6a564b84>SOG</div><div class="cell-item flex" data-v-6a564b84>Memo</div></div>',1),cy={class:"major-body"},dy={class:"cell-item flex",style:{flex:"1.5"}},ry={key:0,class:"flex-center"},my={key:1,class:"flex-center"},py=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),hy={key:0},yy={class:"cell-item flex"},Ey={key:0,class:"cell-item flex offset"},_y={key:1,class:"cell-item flex nbsp"},Ny={key:2,class:"cell-item flex offset"},Vy={key:3,class:"cell-item flex nbsp"},fy={key:4,class:"cell-item flex offset"},gy={key:5,class:"cell-item flex nbsp"},Dy={key:6,class:"cell-item flex offset"},xy={key:7,class:"cell-item flex nbsp"},by={class:"section forecast-section"},Cy={class:"header-block flex-start"},Sy=dt(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),ky={class:"title"},Ay={key:0,class:"flex-end",style:{flex:"1"}},By=["onClick"],wy={class:"echart-block"},Ty={ref:"echart",class:"echart"},Oy=dt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("UTC")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),Fy={class:"flex-center"},Py=dt(()=>e.createElementVNode("span",null,"/",-1)),uy={key:0,class:"degree-box"},Ly={key:1},Wy={key:0,class:"degree-box"},Hy={key:1},My={key:0,class:"degree-box"},Gy={key:1},Iy={key:0,class:"degree-box"},Ry={key:1},zy=dt(()=>e.createElementVNode("div",{class:"tips",style:{"text-align":"justify"}},[e.createElementVNode("div",null,"The waypoints in this sheet are approximate positions."),e.createElementVNode("div",null," The route map is for reference only and should not be used for navigation. All the material is an advisory provided so as to assist the Master in making the final route decision. ")],-1));function Uy(t,n,o,c,l,a){var h,N,x,r,C,k,F,L,w,O,b,u,I,Z,R,W,f,U,G,H,Q,J,X,q,V,M,$,s,j,d,v,oe,ee,ie,ce,de,re,_e,ae,he,Ne,Ve,fe,ge,De,xe,be,Ce,Se,Oe,Fe,ye,P,me,Pe,ue,Le,ke,We,Ue,Ye,z,we,Me,Ze,$e,Qe,Je,Ke,E,K,Te,He,Ge,pe,qe,je,ve,ot,lt,at,nt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ot,Ht,po,_o,No,Vo,fo;const p=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),_=e.resolveComponent("Lat"),g=e.resolveComponent("Lng"),S=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",$h,[e.createElementVNode("div",Qh,[e.createVNode(p,{name:"Voyage Planning",issued:(h=o.plan)==null?void 0:h.updatedAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading,onTimeout:n[0]||(n[0]=Y=>l.loading=!1)},null,8,["loading"]),e.createElementVNode("div",Jh,[e.createElementVNode("div",Kh,[e.createElementVNode("div",qh,[Xh,e.createElementVNode("span",jh,e.toDisplayString((r=(x=(N=o.plan)==null?void 0:N.voyage)==null?void 0:x.company)==null?void 0:r.name),1)]),e.createElementVNode("div",vh,[e1,e.createElementVNode("span",t1,e.toDisplayString((F=(k=(C=o.plan)==null?void 0:C.voyage)==null?void 0:k.vessel)==null?void 0:F.name)+" ("+e.toDisplayString((b=(O=(w=(L=o.plan)==null?void 0:L.voyage)==null?void 0:w.vessel)==null?void 0:O.vesselType)==null?void 0:b.name)+")",1)]),e.createElementVNode("div",o1,[l1,e.createElementVNode("span",a1,e.toDisplayString((I=(u=o.plan)==null?void 0:u.voyage)==null?void 0:I.number),1)])]),e.createElementVNode("div",n1,[e.createElementVNode("div",s1,[i1,(W=(R=(Z=o.plan)==null?void 0:Z.leg)==null?void 0:R.departure)!=null&&W.name?(e.openBlock(),e.createElementBlock("span",c1,e.toDisplayString((U=(f=o.plan)==null?void 0:f.leg)==null?void 0:U.departure.name),1)):(e.openBlock(),e.createElementBlock("div",d1,[e.createVNode(_,{lat:(Q=(H=(G=o.plan)==null?void 0:G.leg)==null?void 0:H.departure)==null?void 0:Q.lat,label:""},null,8,["lat"]),r1,e.createVNode(g,{lng:(q=(X=(J=o.plan)==null?void 0:J.leg)==null?void 0:X.departure)==null?void 0:q.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",m1,e.toDisplayString(a.computeUTCTime((($=(M=(V=o.plan)==null?void 0:V.leg)==null?void 0:M.departure)==null?void 0:$.atd)||((d=(j=(s=o.plan)==null?void 0:s.leg)==null?void 0:j.departure)==null?void 0:d.etd)||((ie=(ee=(oe=(v=o.plan)==null?void 0:v.speeds)==null?void 0:oe[l.speedIndex])==null?void 0:ee.speed)==null?void 0:ie.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",p1,[h1,(re=(de=(ce=o.plan)==null?void 0:ce.leg)==null?void 0:de.destination)!=null&&re.name?(e.openBlock(),e.createElementBlock("span",y1,e.toDisplayString((he=(ae=(_e=o.plan)==null?void 0:_e.leg)==null?void 0:ae.destination)==null?void 0:he.name),1)):(e.openBlock(),e.createElementBlock("div",E1,[e.createVNode(_,{lat:(fe=(Ve=(Ne=o.plan)==null?void 0:Ne.leg)==null?void 0:Ve.destination)==null?void 0:fe.lat,label:""},null,8,["lat"]),_1,e.createVNode(g,{lng:(xe=(De=(ge=o.plan)==null?void 0:ge.leg)==null?void 0:De.destination)==null?void 0:xe.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",N1,e.toDisplayString(a.computeUTCTime(((Oe=(Se=(Ce=(be=o.plan)==null?void 0:be.speeds)==null?void 0:Ce[l.speedIndex])==null?void 0:Se.speed)==null?void 0:Oe.ata)||((me=(P=(ye=(Fe=o.plan)==null?void 0:Fe.speeds)==null?void 0:ye[l.speedIndex])==null?void 0:P.speed)==null?void 0:me.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",V1,[f1,e.createElementVNode("span",g1,e.toDisplayString((ue=(Pe=o.plan)==null?void 0:Pe.voyage)==null?void 0:ue.loadCondition),1)])])]),e.createElementVNode("div",D1,[x1,(Le=o.plan)!=null&&Le.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",b1,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,C1)]),e.createElementVNode("div",S1,[k1,e.createElementVNode("div",A1,[B1,e.createElementVNode("span",{class:"btn",onClick:n[1]||(n[1]=Y=>(l.speedIndex=0,a.renderEchart()))},e.toDisplayString((z=(Ye=(Ue=(We=(ke=o.plan)==null?void 0:ke.speeds)==null?void 0:We[0])==null?void 0:Ue.speed)==null?void 0:Ye.lane)==null?void 0:z.name),1)]),((Me=(we=o.plan)==null?void 0:we.speeds)==null?void 0:Me.length)>1?(e.openBlock(),e.createElementBlock("div",w1,[T1,e.createElementVNode("span",{class:"btn",onClick:n[2]||(n[2]=Y=>(l.speedIndex=1,a.renderEchart()))},e.toDisplayString((Ke=(Je=(Qe=($e=(Ze=o.plan)==null?void 0:Ze.speeds)==null?void 0:$e[1])==null?void 0:Qe.speed)==null?void 0:Je.lane)==null?void 0:Ke.name),1)])):e.createCommentVNode("",!0),((K=(E=o.plan)==null?void 0:E.speeds)==null?void 0:K.length)>2?(e.openBlock(),e.createElementBlock("div",O1,[F1,e.createElementVNode("span",{class:"btn",onClick:n[3]||(n[3]=Y=>(l.speedIndex=2,a.renderEchart()))},e.toDisplayString((qe=(pe=(Ge=(He=(Te=o.plan)==null?void 0:Te.speeds)==null?void 0:He[2])==null?void 0:Ge.speed)==null?void 0:pe.lane)==null?void 0:qe.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",P1,[e.createElementVNode("span",null,[e.createTextVNode("Weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:n[4]||(n[4]=(...Y)=>a.handleRefresh&&a.handleRefresh(...Y))},"Refresh"),e.createTextVNode(" later please")])]))]),e.createElementVNode("div",u1,[(ve=(je=o.plan)==null?void 0:je.speeds)!=null&&ve.length?(e.openBlock(),e.createElementBlock("table",L1,[e.createElementVNode("thead",null,[W1,e.createElementVNode("tr",null,[H1,M1,G1,I1,e.createElementVNode("th",R1,"*days (with in the next "+e.toDisplayString(a.computeDay(o.plan,0))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ot=o.plan)==null?void 0:ot.speeds,(Y,tt)=>{var Ft,Pt,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,$t,Qt,Jt,Kt,qt,Xt,jt,vt,eo,to,oo,lo,ao,no,so,io,co;return e.openBlock(),e.createElementBlock(e.Fragment,{key:tt},[e.createElementVNode("tr",null,[e.createElementVNode("td",z1,e.toDisplayString(tt+1),1),e.createElementVNode("td",U1,e.toDisplayString((Pt=(Ft=Y.speed)==null?void 0:Ft.lane)==null?void 0:Pt.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((Mt=Y.speed)==null?void 0:Mt.label)??"CP"} ${((Gt=Y.speed)==null?void 0:Gt.v0)??((Rt=(It=Y.speed)==null?void 0:It.cpCopy)==null?void 0:Rt.speed)}`),1),e.createElementVNode("td",Y1,e.toDisplayString(a.roundPrecision((zt=Y.speed)==null?void 0:zt.distance,0)),1),e.createElementVNode("td",null,[e.createElementVNode("b",null,e.toDisplayString(a.computeLTime((Ut=Y.speed)==null?void 0:Ut.eta,($t=(Zt=(Yt=o.plan)==null?void 0:Yt.leg)==null?void 0:Zt.destination)==null?void 0:$t.lng,(Kt=(Jt=(Qt=o.plan)==null?void 0:Qt.leg)==null?void 0:Jt.destination)==null?void 0:Kt.lat)),1),e.createTextVNode(" ["+e.toDisplayString(a.computeUTCTime((qt=Y.speed)==null?void 0:qt.eta))+"]",1)]),e.createElementVNode("td",Z1,e.toDisplayString(a.computeTimeDiff(o.plan,tt)),1),e.createElementVNode("td",$1,e.toDisplayString(a.roundPrecision((Xt=Y.speed)==null?void 0:Xt.totalFoCons,3)),1),e.createElementVNode("td",Q1,e.toDisplayString(a.roundPrecision((jt=Y.speed)==null?void 0:jt.totalDgoCons,3)),1),e.createElementVNode("td",J1,e.toDisplayString(a.roundPrecision(((vt=Y.speed)==null?void 0:vt.dangerous)/24,1)),1),e.createElementVNode("td",K1,e.toDisplayString(a.roundPrecision(((eo=Y.speed)==null?void 0:eo.severe)/24,1)),1),e.createElementVNode("td",q1,e.toDisplayString(a.roundPrecision(((to=Y.speed)==null?void 0:to.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((lo=(oo=Y.speed)==null?void 0:oo.cpCopy)==null?void 0:lo.fo)+" FO / "+e.toDisplayString((no=(ao=Y.speed)==null?void 0:ao.cpCopy)==null?void 0:no.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((so=Y.speed)==null?void 0:so.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((io=Y.speed)==null?void 0:io.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((co=Y.speed)==null?void 0:co.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0),X1]),e.createElementVNode("div",j1,[e.createElementVNode("div",v1,[ey,e.createElementVNode("div",ty,"Advisory & Major Waypoint of Route "+e.toDisplayString((pt=(nt=(at=(lt=o.plan.speeds)==null?void 0:lt[l.speedIndex])==null?void 0:at.speed)==null?void 0:nt.lane)==null?void 0:pt.name),1),((yt=(ht=o.plan)==null?void 0:ht.speeds)==null?void 0:yt.length)>1?(e.openBlock(),e.createElementBlock("div",oy,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Et=o.plan)==null?void 0:Et.speeds,(Y,tt)=>{var Ft,Pt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Mt=>(l.speedIndex=tt,a.renderEchart())},e.toDisplayString((Pt=(Ft=Y.speed)==null?void 0:Ft.lane)==null?void 0:Pt.name),9,ly)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",ay,[l.editable?(e.openBlock(),e.createBlock(S,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[5]||(n[5]=Y=>l.advisory=Y),class:"editor",height:"120px",onBlur:n[6]||(n[6]=Y=>a.handleCommit(Y))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[7]||(n[7]=(...Y)=>a.handleEdit&&a.handleEdit(...Y)),innerHTML:l.advisory},null,40,ny))]),e.createElementVNode("div",sy,[iy,e.createElementVNode("div",cy,[(Nt=(_t=o.plan)==null?void 0:_t.speeds)!=null&&Nt.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.computeMajorPoints((xt=(Dt=(gt=(ft=(Vt=o.plan)==null?void 0:Vt.speeds)==null?void 0:ft[l.speedIndex])==null?void 0:gt.speed)==null?void 0:Dt.sample)==null?void 0:xt.wps),(Y,tt)=>(e.openBlock(),e.createElementBlock("div",{key:tt,class:"cell-row"},[e.createElementVNode("div",dy,[Y.isResume?(e.openBlock(),e.createElementBlock("div",ry,"Resume")):(e.openBlock(),e.createElementBlock("div",my,[e.createVNode(_,{lat:Y.lat,label:""},null,8,["lat"]),py,e.createVNode(g,{lng:Y.lng,label:""},null,8,["lng"]),Y.pilot?(e.openBlock(),e.createElementBlock("span",hy," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",yy,e.toDisplayString(a.computeUTCTime(Y.eta)),1),tt?(e.openBlock(),e.createElementBlock("div",Ey,e.toDisplayString(a.computeNav(Y)),1)):(e.openBlock(),e.createElementBlock("div",_y)),tt?(e.openBlock(),e.createElementBlock("div",Ny,e.toDisplayString(a.roundPrecision(Y.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Vy)),tt?(e.openBlock(),e.createElementBlock("div",fy,e.toDisplayString(a.roundPrecision(Y.avgSpd??Y.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",gy)),tt?(e.openBlock(),e.createElementBlock("div",Dy,e.toDisplayString(a.computeMemo(Y)),1)):(e.openBlock(),e.createElementBlock("div",xy))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",by,[(Ct=(bt=o.plan)==null?void 0:bt.speeds)!=null&&Ct.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Cy,[Sy,e.createElementVNode("div",ky,"Weather Forecast for the Next "+e.toDisplayString(a.computeDay(o.plan,l.speedIndex))+" Days of Route "+e.toDisplayString((wt=(Bt=(At=(kt=(St=o.plan)==null?void 0:St.speeds)==null?void 0:kt[l.speedIndex])==null?void 0:At.speed)==null?void 0:Bt.lane)==null?void 0:wt.name),1),((Ot=(Tt=o.plan)==null?void 0:Tt.speeds)==null?void 0:Ot.length)>1?(e.openBlock(),e.createElementBlock("div",Ay,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ht=o.plan)==null?void 0:Ht.speeds,(Y,tt)=>{var Ft,Pt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Mt=>(l.speedIndex=tt,a.renderEchart())},e.toDisplayString((Pt=(Ft=Y==null?void 0:Y.speed)==null?void 0:Ft.lane)==null?void 0:Pt.name),9,By)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",wy,[e.createElementVNode("div",Ty,null,512)]),e.createElementVNode("table",null,[Oy,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((fo=(Vo=(No=(_o=(po=o.plan)==null?void 0:po.speeds)==null?void 0:_o[l.speedIndex])==null?void 0:No.speed)==null?void 0:Vo.sample)==null?void 0:fo.hours,(Y,tt)=>{var Ft,Pt,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,$t,Qt,Jt,Kt,qt,Xt,jt,vt,eo,to,oo,lo,ao,no,so,io,co,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Fo,Po,uo,Lo,Wo,Ho,Mo,Go,Io,Ro;return e.openBlock(),e.createElementBlock("tr",{key:tt,class:e.normalizeClass(Y.isDangerous?"dangerous":Y.isSevere?"severe":Y.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(Y.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",Fy,[e.createVNode(_,{lat:Y.lat,label:""},null,8,["lat"]),Py,e.createVNode(g,{lng:Y.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Pt=(Ft=Y.meteo)==null?void 0:Ft.wind)!=null&&Pt.kts?(e.openBlock(),e.createElementBlock("span",uy,[e.createTextVNode(e.toDisplayString((Gt=(Mt=Y.meteo)==null?void 0:Mt.wind)==null?void 0:Gt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Rt=(It=Y.meteo)==null?void 0:It.wind)==null?void 0:Rt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ly,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ut=(zt=Y.meteo)==null?void 0:zt.wind)==null?void 0:Ut.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(($t=(Zt=(Yt=Y.meteo)==null?void 0:Yt.wave)==null?void 0:Zt.wd)==null?void 0:$t.height,1)),1),e.createElementVNode("td",null,[(Kt=(Jt=(Qt=Y.meteo)==null?void 0:Qt.wave)==null?void 0:Jt.swell)!=null&&Kt.height?(e.openBlock(),e.createElementBlock("span",Wy,[e.createTextVNode(e.toDisplayString((jt=(Xt=(qt=Y.meteo)==null?void 0:qt.wave)==null?void 0:Xt.swell)==null?void 0:jt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((to=(eo=(vt=Y.meteo)==null?void 0:vt.wave)==null?void 0:eo.swell)==null?void 0:to.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Hy,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ao=(lo=(oo=Y.meteo)==null?void 0:oo.wave)==null?void 0:lo.swell)==null?void 0:ao.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((io=(so=(no=Y.meteo)==null?void 0:no.wave)==null?void 0:so.swell)==null?void 0:io.period,1)),1),e.createElementVNode("td",null,[(Do=(go=(co=Y.meteo)==null?void 0:co.wave)==null?void 0:go.sig)!=null&&Do.height?(e.openBlock(),e.createElementBlock("span",My,[e.createTextVNode(e.toDisplayString((Co=(bo=(xo=Y.meteo)==null?void 0:xo.wave)==null?void 0:bo.sig)==null?void 0:Co.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Ao=(ko=(So=Y.meteo)==null?void 0:So.wave)==null?void 0:ko.sig)==null?void 0:Ao.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Gy,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((To=(wo=(Bo=Y.meteo)==null?void 0:Bo.wave)==null?void 0:wo.sig)==null?void 0:To.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Po=(Fo=(Oo=Y.meteo)==null?void 0:Oo.wave)==null?void 0:Fo.sig)==null?void 0:Po.period,1)),1),e.createElementVNode("td",null,[(Lo=(uo=Y.meteo)==null?void 0:uo.current)!=null&&Lo.kts?(e.openBlock(),e.createElementBlock("span",Iy,[e.createTextVNode(e.toDisplayString((Ho=(Wo=Y.meteo)==null?void 0:Wo.current)==null?void 0:Ho.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Go=(Mo=Y.meteo)==null?void 0:Mo.current)==null?void 0:Go.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ry,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ro=(Io=Y.meteo)==null?void 0:Io.current)==null?void 0:Ro.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(Y.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0),zy])])])}const fn=Ee(Zh,[["render",Uy],["__scopeId","data-v-6a564b84"]]),Yy={install(t){t.component("RouteReport",dn),t.component("OpiPlanReport",dn),t.component("FliPlanReport",Vn),t.component("OrmPlanReport",fn)}},Zy={install(t){t.component("IdmEditor",zo)}},$y={install(t){t.component("IdmLat",tn)}},Qy={install(t){t.component("IdmLng",en)}},Jy={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},Ky={class:"logo"},qy={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},Xy=["fill","fill-opacity"],jy=[e.createElementVNode("path",{d:`M4225 11533 c-100 -6 -311 -23 -335 -27 -14 -3 -59 -10 -100 -16
|
|
2
2
|
-408 -60 -813 -229 -1110 -465 -98 -77 -307 -287 -393 -395 -37 -47 -74 -93
|
|
3
3
|
-82 -102 -7 -9 -22 -29 -32 -45 -9 -15 -20 -30 -23 -33 -16 -13 -139 -202
|
|
4
4
|
-225 -345 -94 -157 -256 -467 -330 -635 -21 -47 -48 -108 -60 -136 -71 -158
|
|
@@ -38,7 +38,9 @@
|
|
|
38
38
|
39 461 86 924 130 1275 71 571 75 585 180 632 37 17 101 18 915 23 771 4 883
|
|
39
39
|
7 940 22 36 9 107 24 158 33 52 9 118 27 148 40 101 45 175 134 211 254 14 49
|
|
40
40
|
17 128 20 596 3 360 1 568 -7 625 -20 157 -96 273 -216 330 -132 64 90 60
|
|
41
|
-
-3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)];function Xy(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",$y,[(e.openBlock(),e.createElementBlock("svg",Jy,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:o.fill,"fill-opacity":.6,stroke:"none"},qy,8,Ky)]))])}const fn=ke(Qy,[["render",Xy]]),jy={install(t){t.component("PiLogo",fn)}},Ste="",kte="",vy={components:{Editor:zo,IdmBrand:ja},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL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Oc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,bgSrc:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABBoAAAAvCAYAAABNJKlSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABBVSURBVHhe7d2Hd1TnnYdx/wm7m91szWart2+yfTdtW5KtySbZTeLuxA3HLU6CCzY4Y9xiwMaFEkMoBkw1TXQVhEACdaEu1NuojEZdM2oz89t773vv3HvnviI4dnBsP99znsPhcECcOULM++Gd4ZqybhGnUrMup5RVibdOt+LMOlJyoSOp7Xx7sKJ0CSlqcyvMrDUh57TNy1mzlm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XjUfkV6yyAv2y2Q3+PuzterPDVr+k6Rev0/eh6w7Jh77u7xe8fc3t59MdVH31oPzcjwlo0AQ0+AMagAagAWgAGlRAgxvQADQADXYhoAFoABqAhiAyAA1AA9CgwQVvQAPQADQADUCDCmhwAxqABqDBLgQ0AA1AA9AQRAagAWgAGjS44A1oABqABqABaFABDW5AA9AANNiFgAagAWgAGoLIADQADUCDBhe8AQ1AA9AANAANKqDBDWgAGoAGuxDQADQADUBDEBmABqABaNDggjegAWgAGoAGoEEFNLgBDUAD0GAXAhqABqABaAgiA9AANAANGlzwBjQADUAD0AA0qIAGN6ABaAAa7EJAA9AANAANQWQAGoAGoEGDC96ABqABaAAagAYV0OAGNAANQINdCGgAGoAGoCGIDEAD0AA0aHDBG9AANAANQAPQoAIa3IAGoAFosAsBDUAD0AA0BJEBaAAagAYNLngDGoAGoAFoABpUQIMb0AA0AA12IaABaAAagIYgMgANQAPQoMEFb0AD0AA0AA1AgwpocAMagAagwS4ENAANQAPQEEQGoAFoABo0uOANaAAagAagAWhQAQ1uQAPQADTYhYAGoAFoABqCyAA0AA1AgwYXvAENQAPQADQADSqgwQ1oABqABrsQ0AA0AA1AQxAZgAagAWjQ4II3oAFoABqABqBBBTS4AQ1AA9BgFwIagAagAWgIIgPQADQADRpc8AY0AA1AA9AANKiABjegAWgAGuxCQAPQADQADUFkABqABqBBgwvegAagAWgAGoAGFdDgBjQADUCDXQhoABqABqAhiAxAA9AANGhwwRvQADQADUAD0KACGtyABqABaLALAQ1AA9AANASRAWgAGoAGDS54AxqABqABaAAaVECDG9AANAANdiGgAWgAGoCGIDIADUAD0KDBBW9AA9AANAANQIMKaHADGoAGoMEuBDQADUAD0BBEBqABaAAaNLjgDWgAGoAGoAFoUAENbkAD0AA02IWABqABaAAagsgANAANQIMGF7wBDUAD0AA0AA0qoMENaAAagAa7ENAANAANQEMQGYAGoAFo0OCCN6ABaAAagAagQQU0uAENQAPQYBcCGoAGoAFoCCID0AA0AA0aXPAGNAANQAPQAD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9p0flL1GB0oiklM9bJVfOyLlreNSZnSxY1LaBuJWXUPTMmIc/s0m4twAYIwxxtj7d0DDe2zmm2fGZ1NW5q2K4amkDE0mpHdE1RaZl+aBOblkVN0za1XWMSvFbTNWpxvjkmeUXR8HGuyABqABaHh/QMNzxu//haxuCwNey+6VTXl9sim3T/YXR6wOlw5JXs2IVVHTmFS0TVg19sakfSBuZb72f2RqXsZivNEfY4wxxthPOqCBycx8SmKzquhkwmpg3LxpMW/VOjgnTf2zVlVdM1aVRudbp6WoWZXXEJecuphkG5lwATQADUAD0ODNhIXVR3rk5WOqjTl9sjW/32rnuUE5VDJklVUWlfy6UbsRCwKq2iel0si8FdAxOG3dDBidmrfiv/RjjDHGGPvZG9DAfqozXy4Sm01ajcWTMjSRSGciRld0zqo9MicN4Zl0lZ3TUt6hKmufloKmWLrcuik5Xu1kAgXQADQADW8HGlYf7ZG1J8PGYxeWDTl9suPsoJUJAEfKo5Jld6Z+TArsTAC42Dlp1RRW7w1g1js8k0YAM8YYY4wx9sEb0MDed5uaSaabmE5KZHzeatCoZ3hOOiKzvhr7ZqS2Z9pXeUdcilu9xSS/YUpy6yZ9ZdeatzbGVeVu+0rHgAagwUYGFxrWneqTjXn9xuNkl9sv289GZE/RkOz2dKRiWE5UjciJyhE5blfQMCaFTeNujeNS1TEltV2qGrs261/8Z3yZLwcwXwrgLZmy/8AwxhhjjDH2Dg9oYOwqbj6RksmZZLBp1dDEvAyMzaXr19Q5NCstAzNXVHVXXCo7YldUhVF5e0wKGidVDbom0p1ZoHyzem/j2k7rqtOX51TrL9fuTMO4lLROSknL5SvOqLY7Jg29cW31Rq0D09IzPCs9UW8z6fpGZ2U8ntA2N89JnjHGGGOMfRAn8v+kbzBftZKigAAAAABJRU5ErkJggg==",self.location).href,date:"",remarks:"<div>Exclusion</div><div>The following time,distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation</div>",editable:!1,advisory:void 0,excludedTableData:[],segDetail:[],goodDays:[],noGoodWxDay:"Not available due to no good weather days."}},computed:{computedAvgCf:function(){return function(t){var n,o;return(o=(n=this.reportData)==null?void 0:n.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,n){return n==="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):n==="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):w(t).utc().format("dddd, MMMM D, YYYY")}},computedLngLat(){return function(t,n){const o=this.getLonLat(te.LngLatHelper.lat2pretty(t)),c=this.getLonLat(te.LngLatHelper.lng2pretty(n));return`${o} ${c}`}},computedSeg(){return function(t){const n=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),o=this.computedTime(t.departure.utcTime,"subtitle"),c=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),l=this.computedTime(t.arrival.utcTime,"subtitle");return`${n} (${o}) to ${c} (${l})`}},computedTimeConclusion(){return function(t){let n=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return n==="No"?(o.conclusion="No Time Lost/Gained",o.className="",o.timeCon=""):n==="Lost"?(o.conclusion="Time Lost",o.className="error",o.timeCon=`${t.timeLost} hrs`):(o.conclusion="Time Gained",o.className="success",o.timeCon=`${t.timeGain} hrs`),o}},computedFuelConclusion(){return function(t,n){let o=t.conclusionStatus,c={conclusion:"",className:"",cons:""};return o==="No"?(n==="FO"?c.conclusion="No FO over/under consumption":c.conclusion="No DO/GO over/under consumption ",c.className="",c.cons=""):o==="Over"?(n==="FO"?c.conclusion="FO over consumption":c.conclusion="DO/GO over consumption",c.className="error",c.cons=`${t.overCons} mt`):(n==="FO"?c.conclusion="FO under consumption":c.conclusion="DO/GO under consumption",c.className="success",c.cons=`${t.saving} mt`),c}},computedUnit(){return function(t,n){return n?"%":t==="speed"?"kts":t==="cons"?"mt":""}},computedWeatherDef(){return function(t){let n="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let o=t==null?void 0:t.windScale,c="",l=0;return t!=null&&t.waveSwitch?(c+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,l++):t!=null&&t.swellSwitch?(c+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,l++):t!=null&&t.sigSwitch&&(c+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,l++),l>0&&(c+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),n=`Winds are BF/${o} or less${c}`,t!=null&&t.noAdverseCur&&(n+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(n+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(n="No specific thresholds for wind/wave/currents are defined in the Charter Party. Therefore the Good Weather Definition in this reports does not apply any thresholds."),n}},computedColor(){return function(t,n,o){let c="";if(t==="No")return c=o?"bg-color-normal":"color-normal",c;switch(n){case"time":t==="Lost"?c="color-fail":c="color-success";break;case"fuel":t==="Over"?c="color-fail":c="color-success";break;case"pfm":t==="Under"?c="color-fail":c="color-success";break}return o&&(c="bg-"+c),c}}},watch:{reportData:{handler(t,n){var o;t!=null&&t.id&&(this.$nextTick(()=>{this.checkData()}),this.advisory=(o=this.reportData)==null?void 0:o.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,2)}′${t.direction}`},handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editable=!this.editorDisabled},checkData(){var t,n;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],(n=(t=this.reportData)==null?void 0:t.segments)==null||n.forEach((o,c)=>{let l=o.excluded;l.sumDistance>0&&l.detail.forEach(p=>{let i={time:w(p.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+w(p.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:p.duration,distance:p.distance,fo:p.foCons,dgo:p.dgoCons};this.excludedTableData.push(i)});let a=[];o.extend.segTimes.forEach(p=>{a.push(this.computedSeg(p))}),this.segDetail.push(a),this.goodDays.push(o.inventory.sample.hours.filter(p=>p.type!=="A"&&p.goodWx))})}}},D=t=>(e.pushScopeId("data-v-6f2b44b1"),t=t(),e.popScopeId(),t),eE=["src"],tE={class:"voyage-main"},oE={class:"main",style:{"page-break-after":"always"}},lE={class:"main-title",style:{position:"relative !important"}},aE=["src"],nE={class:"main-title-content"},sE=D(()=>e.createElementVNode("div",{class:"title"},"Voyage Analysis Report",-1)),iE={class:"title-date"},cE={class:"main-subtitle"},dE={class:"white"},rE=D(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Prepared For",-1)),mE={class:"subtitle-main"},pE=D(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Vessel Name",-1)),hE={class:"subtitle-main"},yE={class:"main-box"},EE={class:"main-table"},_E=D(()=>e.createElementVNode("td",{style:{width:"35%"},class:"title"},"Ship Type",-1)),NE={class:"bold"},VE=D(()=>e.createElementVNode("td",{class:"title"},"Load Condition",-1)),fE={class:"bold"},gE=D(()=>e.createElementVNode("td",{class:"title"},"Reference Number",-1)),DE={class:"bold"},xE=D(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),bE={class:"bold"},CE={style:{display:"inline-block",width:"50%"}},SE=D(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),kE={class:"bold"},AE={style:{display:"inline-block",width:"50%"}},BE=D(()=>e.createElementVNode("div",{class:"subtitle",style:{color:"var(--main-color)"}},"Report Summary",-1)),wE={class:"tips",style:{display:"flex"}},TE={style:{color:"var(--table-note-color)"}},OE={class:"summary-table",style:{"margin-top":"5px"}},PE=D(()=>e.createElementVNode("td",{style:{"line-height":"30pt",width:"35%"}},"Total Voyage Time",-1)),FE={style:{width:"15%"}},uE={key:1},LE=D(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total FO Consumption",-1)),WE={key:1},HE=D(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total DO/GO Consumption",-1)),ME={key:1},GE=D(()=>e.createElementVNode("div",{style:{color:"var(--table-note-color-2)","font-size":"10.5pt",margin:"10px 0","text-align":"right"}}," *Please see voyage analysis pages for the details. ",-1)),IE=D(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Definition",-1)),RE={class:"weather-definition"},zE={key:0,class:e.normalizeClass("main-info main-box page-avoid main-txt}")},UE=D(()=>e.createElementVNode("div",null,"Exclusion",-1)),YE=D(()=>e.createElementVNode("div",null,"The following time,distance and amount of consumed fuel have been excluded from the voyage analysis",-1)),ZE={class:"remark-table"},QE=D(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td"),e.createElementVNode("td",{style:{width:"40%"}},"Date/Time"),e.createElementVNode("td",null,"Duration(hrs)"),e.createElementVNode("td",null,"Distance(nm)"),e.createElementVNode("td",null,"FO(mt)"),e.createElementVNode("td",null,"DO/GO(mt)")])],-1)),$E=["innerHTML"],JE={class:"analysis page-title"},KE={class:"analysis-title"},qE={class:"analysis-title-detail"},XE=D(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),jE={class:"page-avoid"},vE={class:"subtitle-table",cellspacing:"0",cellpadding:"0"},e_=D(()=>e.createElementVNode("td",{class:"daily title"},"CP Type",-1)),t_=D(()=>e.createElementVNode("td",{class:"title"},"Daily FO Consumption (mt)",-1)),o_=D(()=>e.createElementVNode("td",{class:"title"},"CP Speed (kts)",-1)),l_=D(()=>e.createElementVNode("td",{class:"daily title"},"Daily DO/GO Consumption (mt)",-1)),a_=D(()=>e.createElementVNode("tr",null,null,-1)),n_={class:"title"},s_={class:"title"},i_={class:"title"},c_={class:"title"},d_=D(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Analysis",-1)),r_={class:"page-avoid",style:{"margin-bottom":"15px"}},m_={class:"analysis-table",cellspacing:"0",cellpadding:"0"},p_=D(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"title",style:{width:"35%"}}),e.createElementVNode("td",{colspan:"2",class:"title"},"Good Weather"),e.createElementVNode("td",{colspan:"2",class:"title"},"All Weather")],-1)),h_=D(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"title"}),e.createElementVNode("td",{class:"title"},"out of ECA"),e.createElementVNode("td",{class:"title"},"in ECA"),e.createElementVNode("td",{class:"title"},"out of ECA"),e.createElementVNode("td",{class:"title"},"in ECA")],-1)),y_=D(()=>e.createElementVNode("td",{class:"title"},"Total Distance (nm)",-1)),E_={class:"inGoodWx"},__={class:"inGoodWx"},N_=D(()=>e.createElementVNode("td",{class:"title"},"Total Time (hrs)",-1)),V_={class:"inGoodWx"},f_={class:"inGoodWx"},g_=D(()=>e.createElementVNode("td",{class:"title"},"Average Speed (kts)",-1)),D_={class:"inGoodWx"},x_={class:"inGoodWx"},b_=D(()=>e.createElementVNode("td",{class:"title"},"FO Consumption (mt)",-1)),C_={class:"inGoodWx"},S_={class:"inGoodWx"},k_=D(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily FO Consumption (mt)",-1)),A_={class:"inGoodWx"},B_={class:"inGoodWx"},w_=D(()=>e.createElementVNode("td",{class:"title"},"DO/GO Consumption (mt)",-1)),T_={class:"inGoodWx"},O_={class:"inGoodWx"},P_=D(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily DO/GO Consumption (mt)",-1)),F_={class:"inGoodWx"},u_={class:"inGoodWx"},L_={key:0,class:"analysis-tips"},W_={key:1,class:"analysis-definition"},H_={key:2,class:"analysis-definition"},M_=D(()=>e.createElementVNode("br",null,null,-1)),G_={key:3,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},I_=D(()=>e.createElementVNode("span",null,"Good Weather Performance Speed",-1)),R_=D(()=>e.createElementVNode("span",null,"= ",-1)),z_={key:0},U_={key:1},Y_={key:2},Z_={key:3},Q_={key:4,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},$_=D(()=>e.createElementVNode("span",null," All Weather Performance Speed",-1)),J_=D(()=>e.createElementVNode("span",null,"=",-1)),K_={key:0},q_={key:1},X_=D(()=>e.createElementVNode("span",null,"-",-1)),j_=D(()=>e.createElementVNode("span",null,"=",-1)),v_={key:0},eN={key:1},tN={key:6,class:"tr-tips tips-color"},oN={class:"formula page-title"},lN={class:"page-avoid"},aN={class:"subtitle",style:{"margin-top":"0"}},nN={key:0},sN={class:"definition"},iN=D(()=>e.createElementVNode("br",null,null,-1)),cN=D(()=>e.createElementVNode("br",null,null,-1)),dN=D(()=>e.createElementVNode("br",null,null,-1)),rN={class:"equation"},mN=D(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),pN=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),hN={style:{width:"50%"},class:"fraction"},yN=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),EN=D(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),_N=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),NN={class:"equation"},VN={style:{width:"35%"}},fN=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),gN={style:{width:"50%"},class:"fraction"},DN=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),xN=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),bN={class:"equation"},CN={style:{width:"35%"}},SN=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),kN={style:{width:"50%"},class:"fraction"},AN=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),BN=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),wN=D(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),TN={class:"page-avoid"},ON={key:0,class:"definition",style:{margin:"15px 0"}},PN={class:"equation"},FN=D(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),uN=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),LN={style:{width:"35%"},class:"fraction"},WN=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),HN=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),MN={style:{width:"10%","text-align":"center"}},GN=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a')",-1)),IN={class:"equation"},RN={style:{width:"35%"}},zN=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),UN={style:{width:"35%"},class:"fraction"},YN=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ZN=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),QN={style:{width:"10%","text-align":"center"}},$N=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b')",-1)),JN={class:"equation"},KN={style:{width:"35%"}},qN=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),XN={style:{width:"35%"},class:"fraction"},jN=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),vN=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),eV={style:{width:"10%","text-align":"center"}},tV=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c')",-1)),oV=D(()=>e.createElementVNode("span",null,"=",-1)),lV=D(()=>e.createElementVNode("span",null,"=",-1)),aV=D(()=>e.createElementVNode("span",null,"=",-1)),nV=["innerHTML"],sV={class:"page-avoid"},iV={class:"subtitle page-title"},cV={key:0},dV={class:"definition",style:{"margin-bottom":"15px"}},rV=D(()=>e.createElementVNode("br",null,null,-1)),mV=D(()=>e.createElementVNode("br",null,null,-1)),pV=D(()=>e.createElementVNode("br",null,null,-1)),hV={class:"equation"},yV=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),EV=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),_V={style:{width:"25%"},class:"fraction"},NV=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),VV=D(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),fV=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),gV=D(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Good Weather Consumption*"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),DV=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d)",-1)),xV={style:{display:"flex","flex-direction":"column","align-content":"flex-end",width:"100%","flex-wrap":"wrap",transform:"scale(0.9)"}},bV=D(()=>e.createElementVNode("div",null,"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),CV={key:0},SV={class:"equation"},kV=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),AV=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),BV={style:{width:"25%"},class:"fraction"},wV=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),TV=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),OV=D(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Daily CP Consumption + Consumer Over"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),PV=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e)",-1)),FV={class:"equation"},uV=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),LV=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),WV={style:{width:"25%"},class:"fraction"},HV=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),MV=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),GV=D(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Daily CP Consumption - Consumer Under"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),IV=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f)",-1)),RV=D(()=>e.createElementVNode("div",{style:{"font-weight":"600"}},[e.createElementVNode("span",null,"Fuel Over-consumption = (d) - (e) "),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Fuel Saving = (f) - (d)")],-1)),zV={key:0,class:"equation"},UV=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Over-consumption in ECA",-1)),YV=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),ZV={style:{width:"45%"},class:"fraction"},QV=D(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),$V=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),JV={key:1,class:"equation"},KV=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Saving in ECA",-1)),qV=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),XV={style:{width:"45%"},class:"fraction"},jV=D(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),vV=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ef={class:"page-avoid"},tf=D(()=>e.createElementVNode("div",{class:"page-title"},"Fuel Oil Calculation",-1)),of={key:0,class:"definition",style:{margin:"15px 0"}},lf={class:"equation"},af=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),nf=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),sf={style:{width:"20%"},class:"fraction"},cf=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),df=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),rf={style:{width:"20%"},class:"fraction"},mf=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),pf=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),hf={style:{width:"10%","text-align":"center"}},yf=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d')",-1)),Ef={class:"equation"},_f=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),Nf=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Vf={style:{width:"20%"},class:"fraction"},ff=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),gf=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Df={style:{width:"20%"},class:"fraction"},xf=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),bf=D(()=>e.createElementVNode("div",null,"24",-1)),Cf=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Sf={style:{width:"10%","text-align":"center"}},kf=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e')",-1)),Af={class:"equation"},Bf=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),wf=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Tf={style:{width:"20%"},class:"fraction"},Of=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Pf=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Ff={style:{width:"20%"},class:"fraction"},uf=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Lf=D(()=>e.createElementVNode("div",null,"24",-1)),Wf=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Hf={style:{width:"10%","text-align":"center"}},Mf=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f')",-1)),Gf=D(()=>e.createElementVNode("span",null,"=",-1)),If=D(()=>e.createElementVNode("span",null,"=",-1)),Rf=D(()=>e.createElementVNode("span",null,"=",-1)),zf={key:0},Uf={key:0,class:"equation"},Yf=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Over-consumption in ECA",-1)),Zf=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Qf={style:{width:"45%"},class:"fraction"},$f=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Jf=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Kf={style:{width:"10%","text-align":"center"}},qf={key:1,class:"equation"},Xf=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Saving in ECA",-1)),jf=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),vf={style:{width:"45%"},class:"fraction"},eg=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tg=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),og={style:{width:"10%","text-align":"center"}},lg=["innerHTML"],ag={class:"page-avoid"},ng={key:0},sg=D(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Calculation",-1)),ig={key:0,class:"definition",style:{margin:"15px 0"}},cg={class:"equation"},dg=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),rg=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),mg={style:{width:"20%"},class:"fraction"},pg=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),hg=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),yg={style:{width:"20%"},class:"fraction"},Eg=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_g=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Ng={style:{width:"10%","text-align":"center"}},Vg=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d'')",-1)),fg={class:"equation"},gg=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),Dg=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),xg={style:{width:"20%"},class:"fraction"},bg=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Cg=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Sg={style:{width:"20%"},class:"fraction"},kg=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Ag=D(()=>e.createElementVNode("div",null,"24",-1)),Bg=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),wg={style:{width:"10%","text-align":"center"}},Tg=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e'')",-1)),Og={class:"equation"},Pg=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),Fg=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),ug={style:{width:"20%"},class:"fraction"},Lg=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Wg=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Hg={style:{width:"20%"},class:"fraction"},Mg=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Gg=D(()=>e.createElementVNode("div",null,"24",-1)),Ig=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Rg={style:{width:"10%","text-align":"center"}},zg=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f'')",-1)),Ug=D(()=>e.createElementVNode("span",null,"=",-1)),Yg=D(()=>e.createElementVNode("span",null,"=",-1)),Zg=D(()=>e.createElementVNode("span",null,"=",-1)),Qg=["innerHTML"];function $g(t,n,o,c,l,a){var _,g,S,h,N,x,r,C,k,T,u,L,O,b,F,z,Z,U,W,f,Y,R,H,J,K,X,q,V,M,$,s,j;const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((g=(_=o.reportData)==null?void 0:_.weather)!=null&&g.referenceOnly||(h=(S=o.reportData)==null?void 0:S.weather)!=null&&h.overallAsGoodWx?"watermark":"")},[e.createVNode(p,{name:"Voyage Analysis Report"}),e.createElementVNode("img",{src:l.bgSrc,class:"bgImg",alt:""},null,8,eE),e.createElementVNode("div",tE,[e.createElementVNode("div",oE,[e.createElementVNode("div",lE,[e.createElementVNode("img",{src:l.logSrc2,style:{width:"120px",position:"absolute","margin-top":"30px"},alt:""},null,8,aE),e.createElementVNode("div",nE,[sE,e.createElementVNode("div",iE,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",cE,[e.createElementVNode("table",dE,[e.createElementVNode("tr",null,[rE,e.createElementVNode("td",mE," "+e.toDisplayString((N=o.reportData)==null?void 0:N.preparedFor),1)]),e.createElementVNode("tr",null,[pE,e.createElementVNode("td",hE," "+e.toDisplayString((r=(x=o.reportData)==null?void 0:x.vessel)==null?void 0:r.name),1)])])]),e.createElementVNode("div",yE,[e.createElementVNode("table",EE,[e.createElementVNode("tr",null,[_E,e.createElementVNode("td",NE,e.toDisplayString((k=(C=o.reportData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("tr",null,[VE,e.createElementVNode("td",fE,e.toDisplayString((u=(T=o.reportData)==null?void 0:T.voyage)==null?void 0:u.loadCondition),1)]),e.createElementVNode("tr",null,[gE,e.createElementVNode("td",DE,e.toDisplayString((O=(L=o.reportData)==null?void 0:L.voyage)==null?void 0:O.number),1)]),e.createElementVNode("tr",null,[xE,e.createElementVNode("td",bE,[e.createElementVNode("span",CE,e.toDisplayString(((F=(b=o.reportData)==null?void 0:b.departure)==null?void 0:F.portName)||a.computedLngLat((Z=(z=o.reportData)==null?void 0:z.departure)==null?void 0:Z.lat,(W=(U=o.reportData)==null?void 0:U.departure)==null?void 0:W.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((Y=(f=o.reportData)==null?void 0:f.departure)==null?void 0:Y.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[SE,e.createElementVNode("td",kE,[e.createElementVNode("span",AE,e.toDisplayString(((H=(R=o.reportData)==null?void 0:R.arrival)==null?void 0:H.portName)||a.computedLngLat((K=(J=o.reportData)==null?void 0:J.arrival)==null?void 0:K.lat,(q=(X=o.reportData)==null?void 0:X.arrival)==null?void 0:q.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((M=(V=o.reportData)==null?void 0:V.arrival)==null?void 0:M.utcTime,"table")),1)])])])]),BE,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(($=o.reportData)==null?void 0:$.segments,(d,v)=>(e.openBlock(),e.createElementBlock("div",{key:"summary"+v},[e.createElementVNode("div",wE,[e.createElementVNode("div",TE,"Seg."+e.toDisplayString(v+1)+" ",1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(le,ee)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ee,class:"tips-seg"},e.toDisplayString(le),1))),128))])]),e.createElementVNode("table",OE,[e.createElementVNode("tr",null,[PE,e.createElementVNode("td",FE,e.toDisplayString(d.allWx.time)+" hrs",1),d.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedTimeConclusion(d.timeConclusion).className)},e.toDisplayString(a.computedTimeConclusion(d.timeConclusion).conclusion),3)):(e.openBlock(),e.createElementBlock("td",uE,e.toDisplayString(l.noGoodWxDay),1)),d.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,style:{width:"15%"},class:e.normalizeClass(a.computedTimeConclusion(d.timeConclusion).className)},e.toDisplayString(a.computedTimeConclusion(d.timeConclusion).timeCon),3)):e.createCommentVNode("",!0)]),e.createElementVNode("tr",null,[LE,e.createElementVNode("td",null,e.toDisplayString(d.allWx.sumFoCons)+" mt",1),d.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedFuelConclusion(d.fuelConclusion.fo,"FO").className)},e.toDisplayString(a.computedFuelConclusion(d.fuelConclusion.fo,"FO").conclusion),3)):(e.openBlock(),e.createElementBlock("td",WE,e.toDisplayString(l.noGoodWxDay),1)),d.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computedFuelConclusion(d.fuelConclusion.fo,"FO").className)},e.toDisplayString(a.computedFuelConclusion(d.fuelConclusion.fo,"FO").cons),3)):e.createCommentVNode("",!0)]),e.createElementVNode("tr",null,[HE,e.createElementVNode("td",null,e.toDisplayString(d.allWx.sumDgoCons)+" mt",1),d.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedFuelConclusion(d.fuelConclusion.dgo,"DGO").className)},e.toDisplayString(a.computedFuelConclusion(d.fuelConclusion.dgo,"DGO").conclusion),3)):(e.openBlock(),e.createElementBlock("td",ME,e.toDisplayString(l.noGoodWxDay),1)),d.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computedFuelConclusion(d.fuelConclusion.dgo,"DGO").className)},e.toDisplayString(a.computedFuelConclusion(d.fuelConclusion.dgo,"DGO").cons),3)):e.createCommentVNode("",!0)])]),GE]))),128)),IE,e.createElementVNode("div",RE,[e.createElementVNode("div",null,e.toDisplayString(a.computedWeatherDef((s=o.reportData)==null?void 0:s.weather)),1)]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"||l.excludedTableData.length?"":"print-hidden"}`)},"Remarks",2),l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",zE,[UE,e.createElementVNode("div",null,[YE,e.createElementVNode("table",ZE,[QE,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(d,v)=>(e.openBlock(),e.createElementBlock("tr",{key:v},[e.createElementVNode("td",null,e.toDisplayString(v+1),1),e.createElementVNode("td",null,e.toDisplayString(d.time),1),e.createElementVNode("td",null,e.toDisplayString(d.duration),1),e.createElementVNode("td",null,e.toDisplayString(d.distance),1),e.createElementVNode("td",null,e.toDisplayString(d.fo),1),e.createElementVNode("td",null,e.toDisplayString(d.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(`main-info main-box page-avoid ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[0]||(n[0]=d=>l.advisory=d),height:"320px",onBlur:n[1]||(n[1]=d=>a.handleCommit(d))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",style:{"min-height":"50px"},onDblclick:n[2]||(n[2]=(...d)=>a.decideDisable&&a.decideDisable(...d)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,$E))],2)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((j=o.reportData)==null?void 0:j.segments,(d,v)=>{var le,ee,ie,ce,de,re,Ee,ae,he,_e,Ne,Ve,fe,ge,De,xe,be,Ce,Oe,Pe,ye,P,me,Fe,ue,Le,Se,We,Ue,Ye,G,we,Me,Ze,Qe,$e,Je,Ke,E,Q,Te,He,Ge,pe,qe,je,ve,ot,lt,at,nt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ot;return e.openBlock(),e.createElementBlock("div",{key:"seg"+v,class:"page-title"},[e.createElementVNode("div",JE,[e.createElementVNode("div",KE,"Voyage Analysis - Seg. "+e.toDisplayString(v+1),1),e.createElementVNode("div",qE,[e.createElementVNode("div",null,e.toDisplayString((ee=(le=o.reportData)==null?void 0:le.vessel)==null?void 0:ee.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(Ht,po)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+po,class:"tips-seg"},e.toDisplayString(Ht),1))),128))]),XE,e.createElementVNode("div",jE,[e.createElementVNode("table",vE,[e.createElementVNode("tr",null,[e_,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.type),1),t_,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.fo),1)]),e.createElementVNode("tr",null,[o_,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.speed),1),l_,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.dgo),1)]),a_,e.createElementVNode("tr",null,[e.createElementVNode("td",n_,"Speed Over ("+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.timeConclusion.spdOfOver),1),e.createElementVNode("td",s_,"Consumer Over ("+e.toDisplayString(a.computedUnit("cons",d.fuelConclusion.consPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.fuelConclusion.consOfOver),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",i_,"Speed Under ("+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.timeConclusion.spdOfUnder),1),e.createElementVNode("td",c_,"Consumer Under ("+e.toDisplayString(a.computedUnit("cons",d.fuelConclusion.consPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.fuelConclusion.consOfUnder),1)])])]),d_,e.createElementVNode("div",r_,[e.createElementVNode("table",m_,[p_,h_,e.createElementVNode("tr",null,[y_,e.createElementVNode("td",E_,e.toDisplayString(d.goodWx.outEca.distance),1),e.createElementVNode("td",__,e.toDisplayString(d.goodWx.inEca.distance),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.distance),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.distance),1)]),e.createElementVNode("tr",null,[N_,e.createElementVNode("td",V_,e.toDisplayString(d.goodWx.outEca.time),1),e.createElementVNode("td",f_,e.toDisplayString(d.goodWx.inEca.time),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.time),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.time),1)]),e.createElementVNode("tr",null,[g_,e.createElementVNode("td",D_,e.toDisplayString(d.goodWx.outEca.avgSpd||"--"),1),e.createElementVNode("td",x_,e.toDisplayString(d.goodWx.inEca.avgSpd||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.avgSpd||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.avgSpd||"--"),1)]),e.createElementVNode("tr",null,[b_,e.createElementVNode("td",C_,e.toDisplayString(d.goodWx.outEca.sumFoCons||"--"),1),e.createElementVNode("td",S_,e.toDisplayString(d.goodWx.inEca.sumFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.sumFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.sumFoCons||"--"),1)]),e.createElementVNode("tr",null,[k_,e.createElementVNode("td",A_,e.toDisplayString(d.goodWx.outEca.avgFoCons||"--"),1),e.createElementVNode("td",B_,e.toDisplayString(d.goodWx.inEca.avgFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.avgFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.avgFoCons||"--"),1)]),e.createElementVNode("tr",null,[w_,e.createElementVNode("td",T_,e.toDisplayString(d.goodWx.outEca.sumDgoCons||"--"),1),e.createElementVNode("td",O_,e.toDisplayString(d.goodWx.inEca.sumDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.sumDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.sumDgoCons||"--"),1)]),e.createElementVNode("tr",null,[P_,e.createElementVNode("td",F_,e.toDisplayString(d.goodWx.outEca.avgDgoCons||"--"),1),e.createElementVNode("td",u_,e.toDisplayString(d.goodWx.inEca.avgDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.avgDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.avgDgoCons||"--"),1)])])]),l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",L_," The exclusion time, distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation. ")):e.createCommentVNode("",!0),d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",W_," Good Weather Performance Speed = Good Weather Average Speed "+e.toDisplayString((ce=(ie=o.reportData)==null?void 0:ie.weather)!=null&&ce.favorableCur&&d.goodWx.avgCf>0?"":"- Good Weather Current Factor"),1)):(e.openBlock(),e.createElementBlock("div",H_,[e.createTextVNode(" No Charter Party defined good weather was found. "),M_,e.createTextVNode(" All Weather Performance Speed = Average Speed "+e.toDisplayString((re=(de=o.reportData)==null?void 0:de.weather)!=null&&re.favorableCur&&d.allWx.avgCf>0?"":"- Current Factor")+" - Weather Factor ",1)])),d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",G_,[I_,R_,(ae=(Ee=o.reportData)==null?void 0:Ee.weather)!=null&&ae.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",z_,e.toDisplayString(d.goodWx.avgSpd),1)),(_e=(he=o.reportData)==null?void 0:he.weather)!=null&&_e.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",U_,"-")),(Ve=(Ne=o.reportData)==null?void 0:Ne.weather)!=null&&Ve.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",Y_,e.toDisplayString(`${a.computedPositive(d.goodWx.avgCf)}`),1)),(ge=(fe=o.reportData)==null?void 0:fe.weather)!=null&&ge.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",Z_,"=")),e.createElementVNode("span",null,e.toDisplayString(d.goodWx.pfmSpd)+" (kts)",1)])):(e.openBlock(),e.createElementBlock("div",Q_,[$_,J_,e.createElementVNode("span",null,e.toDisplayString(d.allWx.avgSpd),1),(xe=(De=o.reportData)==null?void 0:De.weather)!=null&&xe.favorableCur&&d.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",K_,"-")),(Ce=(be=o.reportData)==null?void 0:be.weather)!=null&&Ce.favorableCur&&d.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",q_,e.toDisplayString(`${a.computedPositive(d.allWx.avgCf)}`),1)),X_,e.createElementVNode("span",null,e.toDisplayString(`${a.computedPositive(d.allWx.avgWf)}`),1),j_,e.createElementVNode("span",null,e.toDisplayString(d.allWx.pfmSpd)+" (kts)",1)])),d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:5,class:e.normalizeClass(`tr-tips ${a.computedColor(d.goodWx.pfmStatus,"pfm",!1)}`)},[e.createTextVNode(" Good Weather Performance Speed: "+e.toDisplayString(d.goodWx.pfmSpd)+" (kts) ",1),d.goodWx.pfmStatus==="Under"?(e.openBlock(),e.createElementBlock("span",v_,"(Under-performance)")):e.createCommentVNode("",!0),d.goodWx.pfmStatus==="Over"?(e.openBlock(),e.createElementBlock("span",eN,"(Over-performance)")):e.createCommentVNode("",!0)],2)):(e.openBlock(),e.createElementBlock("div",tN,e.toDisplayString(l.noGoodWxDay),1))]),e.createElementVNode("div",oN,[e.createElementVNode("div",lN,[e.createElementVNode("div",aN,[e.createTextVNode(" Time Analysis "),(Pe=(Oe=o.reportData)==null?void 0:Oe.weather)!=null&&Pe.noExtrapolation?(e.openBlock(),e.createElementBlock("span",nN,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",sN,[e.createTextVNode(" Time Lost: Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),iN,e.createTextVNode(" Time Gained: Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),cN,e.createTextVNode(" No Time Lost and Gained: Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),dN,e.createElementVNode("div",rN,[mN,pN,e.createElementVNode("div",hN,[e.createElementVNode("div",null,e.toDisplayString((P=(ye=o.reportData)==null?void 0:ye.weather)!=null&&P.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),yN,EN]),_N]),e.createElementVNode("div",NN,[e.createElementVNode("div",VN," Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),fN,e.createElementVNode("div",gN,[e.createElementVNode("div",null,e.toDisplayString((Fe=(me=o.reportData)==null?void 0:me.weather)!=null&&Fe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),DN,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" kts",1)]),xN]),e.createElementVNode("div",bN,[e.createElementVNode("div",CN," Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),SN,e.createElementVNode("div",kN,[e.createElementVNode("div",null,e.toDisplayString((Le=(ue=o.reportData)==null?void 0:ue.weather)!=null&&Le.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),AN,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" kts",1)]),BN]),wN])]),e.createElementVNode("div",TN,[d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",ON,[e.createElementVNode("div",PN,[FN,uN,e.createElementVNode("div",LN,[e.createElementVNode("div",null,e.toDisplayString((We=(Se=o.reportData)==null?void 0:Se.weather)!=null&&We.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),WN,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),HN,e.createElementVNode("div",MN,e.toDisplayString(d.timeConclusion.timeAtPfmSpd)+" (hrs)",1),GN]),e.createElementVNode("div",IN,[e.createElementVNode("div",RN," Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),zN,e.createElementVNode("div",UN,[e.createElementVNode("div",null,e.toDisplayString((Ye=(Ue=o.reportData)==null?void 0:Ue.weather)!=null&&Ye.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),YN,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),ZN,e.createElementVNode("div",QN,e.toDisplayString(d.timeConclusion.timeAtMinusAbtSpd)+" (hrs)",1),$N]),e.createElementVNode("div",JN,[e.createElementVNode("div",KN," Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),qN,e.createElementVNode("div",XN,[e.createElementVNode("div",null,e.toDisplayString((we=(G=o.reportData)==null?void 0:G.weather)!=null&&we.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),jN,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.plusAbtSpd),1)]),vN,e.createElementVNode("div",eV,e.toDisplayString(d.timeConclusion.timeAtPlusAbtSpd)+" (hrs)",1),tV]),e.createElementVNode("div",null,[d.timeConclusion.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(d.timeConclusion.conclusionStatus,"time",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?"Time Lost":"Time Gained"),1),oV,e.createElementVNode("span",null,e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?"(a') - (b')":"(c') - (a')"),1),lV,e.createElementVNode("span",null,e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?d.timeConclusion.timeAtPfmSpd:d.timeConclusion.timeAtPlusAbtSpd)+" - "+e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?d.timeConclusion.timeAtMinusAbtSpd:d.timeConclusion.timeAtPfmSpd),1),aV,e.createElementVNode("span",null,e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?d.timeConclusion.timeLost:d.timeConclusion.timeGain)+" (hrs)",1)],2)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(d.timeConclusion.conclusionStatus,"time",!1)} `)}," Conclusion : "+e.toDisplayString(((Me=d.timeConclusion)==null?void 0:Me.conclusion)||""),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips tips-color",style:{margin:"15px 0"},innerHTML:l.noGoodWxDay},null,8,nV))]),e.createElementVNode("div",sV,[e.createElementVNode("div",iV,[e.createTextVNode(" Consumption Analysis "),(Qe=(Ze=o.reportData)==null?void 0:Ze.weather)!=null&&Qe.noExtrapolation?(e.openBlock(),e.createElementBlock("span",cV,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[e.createElementVNode("div",dV,[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),rV,e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),mV,e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),pV,e.createElementVNode("div",hV,[yV,EV,e.createElementVNode("div",_V,[e.createElementVNode("div",null,e.toDisplayString((Je=($e=o.reportData)==null?void 0:$e.weather)!=null&&Je.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),NV,VV]),fV,gV,DV]),e.createElementVNode("div",xV,[bV,((E=(Ke=d.extend)==null?void 0:Ke.cp)==null?void 0:E.dgo)>0?(e.openBlock(),e.createElementBlock("div",CV,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",SV,[kV,AV,e.createElementVNode("div",BV,[e.createElementVNode("div",null,e.toDisplayString((Te=(Q=o.reportData)==null?void 0:Q.weather)!=null&&Te.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),wV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage)),1)]),TV,OV,PV]),e.createElementVNode("div",FV,[uV,LV,e.createElementVNode("div",WV,[e.createElementVNode("div",null,e.toDisplayString((Ge=(He=o.reportData)==null?void 0:He.weather)!=null&&Ge.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),HV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage)),1)]),MV,GV,IV]),RV,((qe=(pe=d.extend)==null?void 0:pe.cp)==null?void 0:qe.dgo)>0?(e.openBlock(),e.createElementBlock("div",zV,[UV,YV,e.createElementVNode("div",ZV,[QV,$V,e.createElementVNode("div",null,e.toDisplayString((ve=(je=o.reportData)==null?void 0:je.weather)!=null&&ve.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0),((lt=(ot=d.extend)==null?void 0:ot.cp)==null?void 0:lt.dgo)>0?(e.openBlock(),e.createElementBlock("div",JV,[KV,qV,e.createElementVNode("div",XV,[jV,vV,e.createElementVNode("div",null,e.toDisplayString((nt=(at=o.reportData)==null?void 0:at.weather)!=null&&nt.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",ef,[tf,d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",of,[e.createElementVNode("div",lf,[af,nf,e.createElementVNode("div",sf,[e.createElementVNode("div",null,e.toDisplayString((ht=(pt=o.reportData)==null?void 0:pt.weather)!=null&&ht.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),cf,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),df,e.createElementVNode("div",rf,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.sumFoCons)+" "+e.toDisplayString(d.allWx.inEca.distance>0?` + ${d.fuelConclusion.fo.dgoAsFoCons}`:""),1),mf,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.time),1)]),pf,e.createElementVNode("div",hf,e.toDisplayString(d.fuelConclusion.fo.entireCons)+" (mt)",1),yf]),e.createElementVNode("div",Ef,[_f,Nf,e.createElementVNode("div",Vf,[e.createElementVNode("div",null,e.toDisplayString((Et=(yt=o.reportData)==null?void 0:yt.weather)!=null&&Et.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),ff,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),gf,e.createElementVNode("div",Df,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.fo.overTolerance),1),xf,bf]),Cf,e.createElementVNode("div",Sf,e.toDisplayString(d.fuelConclusion.fo.maxCons)+" (mt)",1),kf]),e.createElementVNode("div",Af,[Bf,wf,e.createElementVNode("div",Tf,[e.createElementVNode("div",null,e.toDisplayString((Nt=(_t=o.reportData)==null?void 0:_t.weather)!=null&&Nt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),Of,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),Pf,e.createElementVNode("div",Ff,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.fo.underTolerance),1),uf,Lf]),Wf,e.createElementVNode("div",Hf,e.toDisplayString(d.fuelConclusion.fo.minCons)+" (mt)",1),Mf]),e.createElementVNode("div",null,[d.fuelConclusion.fo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(d.fuelConclusion.fo.conclusionStatus,"fuel",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?"Fuel Oil Over-consumption":"Fuel Oil Under-consumption"),1),Gf,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?"(d') - (e')":"(f') - (d')"),1),If,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?d.fuelConclusion.fo.entireCons:d.fuelConclusion.fo.minCons)+" - "+e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?d.fuelConclusion.fo.maxCons:d.fuelConclusion.fo.entireCons),1),Rf,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?d.fuelConclusion.fo.overCons:d.fuelConclusion.fo.saving)+" (mt)",1)],2)):e.createCommentVNode("",!0)]),d.allWx.inEca.distance&&d.fuelConclusion.fo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("div",zf,[d.fuelConclusion.fo.conclusionStatus==="Over"?(e.openBlock(),e.createElementBlock("div",Uf,[Yf,Zf,e.createElementVNode("div",Qf,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.inEca.distance)+" × "+e.toDisplayString(d.fuelConclusion.fo.overCons),1),$f,e.createElementVNode("div",null,e.toDisplayString((ft=(Vt=o.reportData)==null?void 0:Vt.weather)!=null&&ft.noExtrapolation?d.goodWx.distance:d.allWx.distance),1)]),Jf,e.createElementVNode("div",Kf,e.toDisplayString(d.fuelConclusion.fo.foOverConsInEca)+" (mt)",1)])):(e.openBlock(),e.createElementBlock("div",qf,[Xf,jf,e.createElementVNode("div",vf,[e.createElementVNode("div",null,e.toDisplayString((Dt=(gt=o.reportData)==null?void 0:gt.weather)!=null&&Dt.noExtrapolation?d.goodWx.inEca.distance:d.allWx.inEca.distance)+" × "+e.toDisplayString(d.fuelConclusion.fo.saving),1),eg,e.createElementVNode("div",null,e.toDisplayString((bt=(xt=o.reportData)==null?void 0:xt.weather)!=null&&bt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1)]),tg,e.createElementVNode("div",og,e.toDisplayString(d.fuelConclusion.fo.foSavingInEca)+" (mt)",1)]))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(d.fuelConclusion.fo.conclusionStatus,"fuel",!1)} `)}," Conclusion: "+e.toDisplayString(d.fuelConclusion.fo.conclusion),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips tips-color",innerHTML:l.noGoodWxDay},null,8,lg))]),e.createElementVNode("div",ag,[((St=(Ct=d.extend)==null?void 0:Ct.cp)==null?void 0:St.dgo)>0?(e.openBlock(),e.createElementBlock("div",ng,[sg,d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",ig,[e.createElementVNode("div",cg,[dg,rg,e.createElementVNode("div",mg,[e.createElementVNode("div",null,e.toDisplayString((At=(kt=o.reportData)==null?void 0:kt.weather)!=null&&At.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),pg,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),hg,e.createElementVNode("div",yg,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.sumDgoCons)+" "+e.toDisplayString(d.allWx.inEca.distance>0?` - ${d.fuelConclusion.fo.dgoAsFoCons}`:""),1),Eg,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.time),1)]),_g,e.createElementVNode("div",Ng,e.toDisplayString(d.fuelConclusion.dgo.entireCons)+" (mt)",1),Vg]),e.createElementVNode("div",fg,[gg,Dg,e.createElementVNode("div",xg,[e.createElementVNode("div",null,e.toDisplayString((wt=(Bt=o.reportData)==null?void 0:Bt.weather)!=null&&wt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),bg,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),Cg,e.createElementVNode("div",Sg,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.dgo.overTolerance),1),kg,Ag]),Bg,e.createElementVNode("div",wg,e.toDisplayString(d.fuelConclusion.dgo.maxCons)+" (mt)",1),Tg]),e.createElementVNode("div",Og,[Pg,Fg,e.createElementVNode("div",ug,[e.createElementVNode("div",null,e.toDisplayString((Ot=(Tt=o.reportData)==null?void 0:Tt.weather)!=null&&Ot.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),Lg,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),Wg,e.createElementVNode("div",Hg,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.dgo.underTolerance),1),Mg,Gg]),Ig,e.createElementVNode("div",Rg,e.toDisplayString(d.fuelConclusion.dgo.minCons)+" (mt)",1),zg]),e.createElementVNode("div",null,[d.fuelConclusion.dgo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(d.fuelConclusion.dgo.conclusionStatus,"fuel",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?"Diesel/Gas Oil Over-consumption":"Diesel/Gas Oil Under-consumption"),1),Ug,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?"(d'') - (e'')":"(f'') - (d'')"),1),Yg,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?d.fuelConclusion.dgo.entireCons:d.fuelConclusion.dgo.minCons)+" - "+e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?d.fuelConclusion.dgo.maxCons:d.fuelConclusion.dgo.entireCons),1),Zg,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?d.fuelConclusion.dgo.overCons:d.fuelConclusion.dgo.saving)+" (mt)",1)],2)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(d.fuelConclusion.dgo.conclusionStatus,"fuel",!1)}`)}," Conclusion: "+e.toDisplayString(d.fuelConclusion.dgo.conclusion),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips color-normal",innerHTML:l.noGoodWxDay},null,8,Qg))])):e.createCommentVNode("",!0)])])])}),128))])],2)}const Jg=ke(vy,[["render",$g],["__scopeId","data-v-6f2b44b1"]]),Ate="",Kg={props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,summaryTable:[],typeList:[]}},computed:{computeRoundPrecision(){return function(t,n=2){return t==="--"?"--":te.roundPrecision(t,n)}},computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),this.showWave||(t=t-1),this.showSwell||(t=t-2),this.showSig||(t=t-1),t},computedClass(){return function(t,n,o){let c="";return n&&(c=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),t.goodWx===!0&&!o&&(c=c+" good-weather"),t.excluded===!0&&!o&&(c=c+" excluded"),c}},computedPort(){return function(t){return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&t.noon.port)}},computedTime(){return function(t,n){return n==="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n==="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):w(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var o,c,l,a,p,i,_,g,S,h,N,x;this.showCF=((c=(o=this.reportData)==null?void 0:o.weather)==null?void 0:c.showCF)??!1,this.showAisDistance=((a=(l=this.reportData)==null?void 0:l.weather)==null?void 0:a.showAisDistance)??!0,this.showSig=((i=(p=this.reportData)==null?void 0:p.weather)==null?void 0:i.showSig)??!0,this.showSwell=((g=(_=this.reportData)==null?void 0:_.weather)==null?void 0:g.showSwell)??!0,this.showWave=((h=(S=this.reportData)==null?void 0:S.weather)==null?void 0:h.showWave)??!0;let t=[];(x=(N=this.reportData)==null?void 0:N.segments)==null||x.forEach(r=>{let C=r.extend.cp;r.inventory.sample.hours.forEach(k=>{let T=JSON.parse(JSON.stringify(k));T.cp=C,t.push(T)})}),t.sort(function(r,C){let k=r.date,T=C.date;return k-T});let n="";t.forEach(r=>{r.seg!==n&&(r.isFirstSeg=!0,n=r.seg);let C=r.type.charAt(0);r.abbreviation=C,C==="M"?C="*":C==="A"&&(C=""),r.dateTime=C+" "+w(r.utc).utc().format("MM/DD HHmm[Z]"),r.lngPretty=this.getLonLat(te.LngLatHelper.lng2pretty(r.lng)),r.latPretty=this.getLonLat(te.LngLatHelper.lat2pretty(r.lat))}),this.summaryTable=t}}},Ae=t=>(e.pushScopeId("data-v-9fe5beca"),t=t(),e.popScopeId(),t),qg={class:"table",id:"second-table"},Xg=Ae(()=>e.createElementVNode("div",{class:"table-title"},"Speed and Consumption with Weather Analysis",-1)),jg={class:"subtitle"},vg={class:"introduce"},e0={class:"introduce-ship"},t0={style:{"margin-bottom":"15px"}},o0=Ae(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg."),e.createElementVNode("th",{rowspan:"2"},"Periods"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode(" Distance "),e.createElementVNode("br"),e.createTextVNode(" (nm) ")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode(" Time "),e.createElementVNode("br"),e.createTextVNode(" (hrs) ")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Average Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),l0={rowspan:"4"},a0=Ae(()=>e.createElementVNode("td",null,"Entire Period",-1)),n0=Ae(()=>e.createElementVNode("td",null,"Good weather period",-1)),s0=Ae(()=>e.createElementVNode("td",null,"Adverse weather period",-1)),i0=Ae(()=>e.createElementVNode("td",null,"Excluded period",-1)),c0=e.createStaticVNode('<div class="table-legend" data-v-9fe5beca><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-9fe5beca></div><div style="transform:scale(0.85);" data-v-9fe5beca>Charter Party defined Good Weather Days</div><div style="background-color:var(--table-bg-color);" class="legend" data-v-9fe5beca></div><div style="transform:scale(0.85);" data-v-9fe5beca>Charter Party defined Adverse Weather Days</div><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-9fe5beca></div><div style="transform:scale(0.85);" data-v-9fe5beca>Excluded periods from analysis</div><div style="transform:scale(0.85);" data-v-9fe5beca>B : BOSP report N : NOON report E : EOSP report * : Ship reported position</div></div>',1),d0={class:"summary-table"},r0=Ae(()=>e.createElementVNode("th",{rowspan:"3"},"Seg",-1)),m0=Ae(()=>e.createElementVNode("th",{rowspan:"3"}," Date ",-1)),p0=Ae(()=>e.createElementVNode("th",{colspan:"2"},"Position",-1)),h0=Ae(()=>e.createElementVNode("th",{colspan:"3"},"CP",-1)),y0=["colspan"],E0={key:0,colspan:"2"},_0=Ae(()=>e.createElementVNode("th",{colspan:"12"},"Vessel Noon Reported",-1)),N0=Ae(()=>e.createElementVNode("th",{rowspan:"3"},"In ECA",-1)),V0=Ae(()=>e.createElementVNode("th",{rowspan:"2"},"Lat",-1)),f0=Ae(()=>e.createElementVNode("th",{rowspan:"2"},"Lon",-1)),g0=Ae(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),D0=Ae(()=>e.createElementVNode("th",{colspan:"2"},"Daily Cons.(mt)",-1)),x0={key:0,rowspan:"2"},b0=Ae(()=>e.createElementVNode("br",null,null,-1)),C0={key:1,rowspan:"2"},S0=Ae(()=>e.createElementVNode("br",null,null,-1)),k0=Ae(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),A0={key:2,rowspan:"2"},B0=Ae(()=>e.createElementVNode("br",null,null,-1)),w0={key:3,colspan:"2"},T0={key:4,rowspan:"2"},O0=Ae(()=>e.createElementVNode("br",null,null,-1)),P0={key:5,colspan:"2"},F0=Ae(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),u0={key:6,rowspan:"2"},L0={key:7,rowspan:"2"},W0=Ae(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),H0=Ae(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),M0=Ae(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),G0=Ae(()=>e.createElementVNode("th",{colspan:"2"},"Engine",-1)),I0=Ae(()=>e.createElementVNode("th",{colspan:"2"},"BROB(mt)",-1)),R0=Ae(()=>e.createElementVNode("th",{colspan:"2"},"DailyCons(mt)",-1)),z0=Ae(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),U0=Ae(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Y0=Ae(()=>e.createElementVNode("th",null,"FO",-1)),Z0=Ae(()=>e.createElementVNode("th",null,"DO/GO",-1)),Q0=Ae(()=>e.createElementVNode("th",null,"Dir",-1)),$0=Ae(()=>e.createElementVNode("th",null,"BF",-1)),J0={key:0},K0={key:1},q0={key:2},X0={key:3},j0=Ae(()=>e.createElementVNode("th",null,"RPM",-1)),v0=Ae(()=>e.createElementVNode("th",null,"Slip%",-1)),e2=Ae(()=>e.createElementVNode("th",null,"FO",-1)),t2=Ae(()=>e.createElementVNode("th",null,"DO/GO",-1)),o2=Ae(()=>e.createElementVNode("th",null,"FO",-1)),l2=Ae(()=>e.createElementVNode("th",null,"DO/GO",-1)),a2=Ae(()=>e.createElementVNode("th",null,"Dir",-1)),n2=Ae(()=>e.createElementVNode("th",null,"BF",-1)),s2={class:"summary-tbody"};function i2(t,n,o,c,l,a){var p,i,_,g,S,h,N,x;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(p=o.reportData)==null?void 0:p.weather)!=null&&i.referenceOnly||(g=(_=o.reportData)==null?void 0:_.weather)!=null&&g.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",qg,[Xg,e.createElementVNode("div",jg,e.toDisplayString(a.computedTime((S=o.reportData)==null?void 0:S.createdAt)),1),e.createElementVNode("div",vg,[e.createElementVNode("div",e0,[e.createElementVNode("span",null,e.toDisplayString((N=(h=o.reportData)==null?void 0:h.vessel)==null?void 0:N.name),1)])]),e.createElementVNode("div",t0,[e.createElementVNode("table",null,[o0,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((x=o.reportData)==null?void 0:x.segments,(r,C)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:C},[e.createElementVNode("tr",null,[e.createElementVNode("td",l0,e.toDisplayString(C+1),1),a0,e.createElementVNode("td",null,e.toDisplayString(r.allWx.distance?a.computeRoundPrecision(r.allWx.distance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.time?a.computeRoundPrecision(r.allWx.time,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.avgSpd?a.computeRoundPrecision(r.allWx.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.sumFoCons?a.computeRoundPrecision(r.allWx.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.sumDgoCons?a.computeRoundPrecision(r.allWx.sumDgoCons,3):"0.000"),1)]),e.createElementVNode("tr",null,[n0,e.createElementVNode("td",null,e.toDisplayString(r.goodWx.distance?a.computeRoundPrecision(r.goodWx.distance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.time?a.computeRoundPrecision(r.goodWx.time,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.avgSpd?a.computeRoundPrecision(r.goodWx.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.sumFoCons?a.computeRoundPrecision(r.goodWx.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.sumDgoCons?a.computeRoundPrecision(r.goodWx.sumDgoCons,3):"0.000"),1)]),e.createElementVNode("tr",null,[s0,e.createElementVNode("td",null,e.toDisplayString(r.badWx.distance?a.computeRoundPrecision(r.badWx.distance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.time?a.computeRoundPrecision(r.badWx.time,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.avgSpd?a.computeRoundPrecision(r.badWx.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.sumFoCons?a.computeRoundPrecision(r.badWx.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.sumDgoCons?a.computeRoundPrecision(r.badWx.sumDgoCons,3):"0.000"),1)]),e.createElementVNode("tr",null,[i0,e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumDistance?a.computeRoundPrecision(r.excluded.sumDistance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumDuration?a.computeRoundPrecision(r.excluded.sumDuration,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.avgSpd?a.computeRoundPrecision(r.excluded.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumFoCons?a.computeRoundPrecision(r.excluded.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumDgoCons?a.computeRoundPrecision(r.excluded.sumDgoCons,3):"0.000"),1)])],64))),128))])])]),c0,e.createElementVNode("div",null,[e.createElementVNode("table",d0,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[r0,m0,p0,h0,e.createElementVNode("th",{colspan:a.computeColspan},"Weather Analysis",8,y0),o.isAdmin?(e.openBlock(),e.createElementBlock("th",E0,"meteo")):e.createCommentVNode("",!0),_0,N0]),e.createElementVNode("tr",null,[V0,f0,g0,D0,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",x0,[e.createTextVNode("Spd"),b0,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",C0,[e.createTextVNode("Dis"),S0,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),k0,l.showWave?(e.openBlock(),e.createElementBlock("th",A0,[e.createTextVNode("Sea HT"),B0,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",w0,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",T0,[e.createTextVNode("Sig Wave"),O0,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",P0,"Current")):e.createCommentVNode("",!0),F0,o.isAdmin?(e.openBlock(),e.createElementBlock("th",u0,"cFactor")):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("th",L0,"wxFactor")):e.createCommentVNode("",!0),W0,H0,M0,G0,I0,R0,z0,U0]),e.createElementVNode("tr",null,[Y0,Z0,Q0,$0,l.showSwell?(e.openBlock(),e.createElementBlock("th",J0,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",K0,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",q0,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",X0,"CF(kts)")):e.createCommentVNode("",!0),j0,v0,e2,t2,o2,l2,a2,n2])]),e.createElementVNode("tbody",s2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(r,C)=>{var k,T,u,L,O,b,F,z,Z,U,W,f,Y,R,H,J,K,X,q,V,M,$;return e.openBlock(),e.createElementBlock("tr",{key:C},[e.createElementVNode("td",{class:e.normalizeClass(r.isFirstSeg?"td-no-bottom td-top":(k=l.summaryTable[C+1])!=null&&k.isFirstSeg?"td-bottom":"td-no-bottom")},e.toDisplayString(r.isFirstSeg?r.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.dateTime),3),a.computedPort(r)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(r)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.noon.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0,!0))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"?"":a.computeRoundPrecision(r.cp.speed)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0,!0))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"?"":a.computeRoundPrecision(r.cp.fo)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0,!0))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"?"":a.computeRoundPrecision(r.cp.dgo)),3),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(r,!0))},e.toDisplayString(a.computeRoundPrecision(r.avgSpdCalc)),3)):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(r,!0))},e.toDisplayString(a.computeRoundPrecision(r.distanceCalc)),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((u=(T=r.meteo)==null?void 0:T.wind)==null?void 0:u.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((O=(L=r.meteo)==null?void 0:L.wind)==null?void 0:O.scale)??"--"),3),l.showWave?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((z=(F=(b=r.meteo)==null?void 0:b.wave)==null?void 0:F.wd)==null?void 0:z.height)??"--")),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((W=(U=(Z=r.meteo)==null?void 0:Z.wave)==null?void 0:U.swell)==null?void 0:W.direction)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((R=(Y=(f=r.meteo)==null?void 0:f.wave)==null?void 0:Y.swell)==null?void 0:R.height)??"--")),3)):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((K=(J=(H=r.meteo)==null?void 0:H.wave)==null?void 0:J.sig)==null?void 0:K.height)??"--")),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((q=(X=r.meteo)==null?void 0:X.current)==null?void 0:q.direction)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((V=r.meteo)==null?void 0:V.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0))},e.toDisplayString(r.dailyAvgCf),3),o.isAdmin?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((M=r.meteo)==null?void 0:M.cFactor)??"--"),3)):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString((($=r.meteo)==null?void 0:$.wxFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.timeSlr,1)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.distanceSlr,1)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.rpm,0)||"0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.slip,0)||"0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.foBrob)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.dgoBrob)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":r.noon.windDir??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":r.noon.windBF??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.seasHt??"--")),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"||r.inEca===!1?"":"Inside ECA"),3)])}),128))])])])])],2)}const c2=ke(Kg,[["render",i2],["__scopeId","data-v-9fe5beca"]]),d2={props:{id:{type:String,default:"chart"},echartData:{type:Object,default:function(){return[]}},params:{type:Object,default:function(){return[]}},detail:{type:Object,default:function(){return[]}}},data(){return{chart:void 0,isOilBar:!1}},watch:{echartData:{handler(t,n){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(n)&&this.$nextTick(()=>{this.initData()})},immediate:!0,deep:!0}},methods:{getData(t,n){let o=[];return this.isOilBar=!1,t.forEach(c=>{let l;c.type=="line"?l={name:c.name,data:c.data,type:c.type,itemStyle:{color:c.color},showSymbol:c.showSymbol,smooth:c.smooth?c.smooth:!1,lineStyle:{type:c.lineType?c.lineType:"solid",dashOffset:5,type:c.lineType=="dotted"?[5,10]:"solid"}}:c.type=="markline"?l={name:c.name,markLine:{data:c.data},type:"line",barCategoryGap:-1,itemStyle:{color:c.color}}:c.type=="bar"?(this.isOilBar=!0,l={name:c.name,data:c.data,showSymbol:c.showSymbol,step:"start",type:"line",itemStyle:{color:c.color},areaStyle:{}}):l={name:c.name,data:c.data,type:c.type,barCategoryGap:-.2,itemStyle:{color:c.color}},o.push(l)}),n.forEach(c=>{o.push(c)}),o},getMax(t){if(this.isOilBar)return t.max<1?parseFloat(t.max*1.5).toFixed(1):parseFloat(Math.round(t.max)*1.2).toFixed(1)},initData(){if(!this.chart){let c=document.getElementById(this.id);this.chart=e.markRaw(Uo.init(c))}let t=this,n=this.getData(this.echartData,JSON.parse(JSON.stringify(this.params.markArea))),o={title:{text:this.detail.title},grid:{right:"5%"},tooltip:{trigger:"axis"},legend:{show:!0,right:"5%"},xAxis:{axisTick:{alignWithLabel:!0},type:"category",data:this.params.xAxis},yAxis:{type:"value",splitNumber:5,boundaryGap:!1,name:this.detail.ytitle,nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:10,fontWeight:600,textAlign:"center"},splitLine:{show:!1},max:function(c){return t.getMax(c)}},series:n};this.$nextTick(()=>{this.chart.setOption(o)})}}},r2=["id"];function m2(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{width:"80%",height:"100%"}},null,8,r2)])}const p2=ke(d2,[["render",m2]]),h2={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},y2={class:"logo"},E2=[e.createElementVNode("svg",{t:"1681038956775",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3177",width:"30",height:"30"},[e.createElementVNode("path",{d:"M255.95 98.15h31.26v861.41h-31.26z","p-id":"3178"}),e.createElementVNode("path",{d:"M768.055 64.225v34h-512.1v-34zM576.115 230.225v31.89h-320.16v-31.89z","p-id":"3179"})],-1)];function _2(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",y2,E2)}const N2=ke(h2,[["render",_2]]),wte="",V2={components:{ScCharts:p2,BrabImg:N2},props:{reportData:{type:Object,default:()=>({})},mailData:{type:Object,default:()=>({})}},data(){return{date:"",shipSpeedChart:void 0,FOChart:void 0,DOChart:void 0,windSpeedChart:void 0,waveHeightChart:void 0,CurrentFactorChart:void 0,shipSpdChartData:[],FoChartData:[],DGOChartData:[],windSpdChartData:[],waveChartData:[],currentChartData:[],mailList:[],params:{},shipSpdDetail:{ytitle:"Daily Average Speed (kts)",title:"Ship Speed"},FODetail:{ytitle:"Daily FO (mt)",title:"FO Daily Consumption"},DGODetail:{ytitle:"Daily DO/GO (mt)",title:"DO/GO Daily Consumption"},windDetail:{ytitle:"Wind Speed",title:"Wind BF"},waveDetail:{ytitle:"Wave Height(m)",title:"Wave Heigt"},currentDetail:{ytitle:"Current Factor",title:"Current Factor"}}},computed:{computedArray(){return function(t){let n=[],o="";t.forEach((l,a)=>{l!=o&&l!=""&&(n.push({num:l,id:a}),o=l)});let c=[];return n.forEach((l,a)=>{let p=0;a==n.length-1?p=t.length-l.id:p=n[a+1].id-l.id+1;let i=[];for(let _=0;_<t.length;_++)(_>l.id||_==l.id)&&p>0?(i.push(l.num),p=p-1):i.push("");c.push(i)}),c}},computedCurrent(){return function(t,n){let o=[],c=null,l=0;t.forEach((p,i)=>{p!=c&&this.computedIsNull(p)!==""?(o.push({num:p,id:i}),c=p,l++):this.computedIsNull(p)!==""&&p==c&&(o[l-1].id=i)});let a=[];return o.forEach((p,i)=>{let _=i?o[i-1].id:-1;for(let g=_;g<p.id;g++)a.push(p.num)}),a}},computedTime(){return function(t,n){return n=="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n=="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):w(t).utc().format("dddd, MMMM D, YYYY")}},computedIsNull(){return function(t){return t||t==0?t:""}},computedLngLat(){return function(t,n){const o=this.getLonLat(te.LngLatHelper.lat2pretty(t)),c=this.getLonLat(te.LngLatHelper.lng2pretty(n));return`${o} ${c}`}},computeFrom(){return function(t){if(t.indexOf("<")!==-1){const n=/.*(?=<)/,o=t.match(n);if(o)return o[0]}else return t;return"-"}},computeBody(){return function(t){if(t&&t!=="-"){let n=te.EmailHelper.convert2Html(t);return n=n.replace(/<\/br><\/br>+/g,"</br>"),n=n.replace(/(<\/br> <\/br>)+/g,"</br>"),n}else return"-"}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${w(t).utc().format(n)}`:"-"}}},watch:{reportData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.getTableData()})},immediate:!0},mailData:{handler(t,n){t!=null&&t.rows&&this.getMailsList()},immediate:!0}},mounted(){},methods:{getLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,2)}′${t.direction}`},getMailsList(){let t=this.mailData.rows.filter(n=>n.status===1);this.mailList=t},getTableData(){var X,q;let t=[];(q=(X=this.reportData)==null?void 0:X.segments)==null||q.forEach((V,M)=>{let $=V.extend.cp;V.inventory.sample.hours.forEach((s,j)=>{let d=JSON.parse(JSON.stringify(s));d.cp=$,d.fuelConclusion=V.fuelConclusion,d.timeConclusion=V.timeConclusion,t.push(d)})}),t.sort(function(V,M){let $=V.date,s=M.date;return $-s});let n=[],o=[],c=[],l=[],a=[],p=[],i=[],_=[],g=[],S=[],h=[],N=[],x=[],r=[],C=[],k=[],T=[],u=[],L=[],O=[],b=[],F=[],z=[],Z=[],U=[],W=[!1,!1],f=[],Y=[],R=[!1,!1],H=[],J=[];t.forEach((V,M)=>{var s,j,d,v,le,ee,ie,ce,de,re,Ee,ae,he,_e,Ne,Ve,fe,ge,De,xe,be,Ce,Oe,Pe,ye,P,me,Fe,ue,Le,Se,We,Ue,Ye,G,we,Me,Ze,Qe,$e,Je,Ke,E,Q,Te,He,Ge;if(n.push(w(V.utc).utc().format("MM/DD HHmm[Z]")),V.goodWx===!0&&V.excluded!==!0?(W.indexOf(!0)==-1&&(V.type==="BOSP"?f.push({xAxis:w(V.utc).utc().format("MM/DD HHmm[Z]")}):f.push({xAxis:w(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),W[0]=!0),W.indexOf(!0)!=-1&&M==t.length-1&&(f.push({xAxis:w(V.utc).utc().format("MM/DD HHmm[Z]")}),W[0]=!1,Y.push(f),f=[])):W.indexOf(!0)!==-1&&(f.push({xAxis:w(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),W[0]=!1,Y.push(f),f=[]),V.excluded===!0?(R.indexOf(!0)===-1&&(M===0?H.push({xAxis:w(V.utc).utc().format("MM/DD HHmm[Z]")}):H.push({xAxis:w(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),R[0]=!0),R.indexOf(!0)!=-1&&M===t.length-1&&(H.push({xAxis:w(V.utc).utc().format("MM/DD HHmm[Z]")}),R[0]=!1,J.push(H),H=[])):R.indexOf(!0)!==-1&&(H.push({xAxis:w(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),R[0]=!1,J.push(H),H=[]),(V==null?void 0:V.type)==="EOSP"&&((s=t[M+1])==null?void 0:s.type)==="BOSP"){let pe=[];pe.push({xAxis:w(V.utc).utc().format("MM/DD HHmm[Z]")}),pe.push({xAxis:w(t[M+1].utc).utc().format("MM/DD HHmm[Z]")}),J.push(pe)}V.type!="A"&&(V.type==="BOSP"&&M===0?l.push([w(V==null?void 0:V.utc).utc().format("MM/DD HHmm[Z]"),(j=V==null?void 0:V.noon)==null?void 0:j.avgSpd,V==null?void 0:V.type]):l.push([w(V==null?void 0:V.utc).utc().format("MM/DD HHmm[Z]"),((d=V==null?void 0:V.noon)==null?void 0:d.avgSpd)||"-",V==null?void 0:V.type]),L.push([w(V==null?void 0:V.utc).utc().format("MM/DD HHmm[Z]"),((v=V==null?void 0:V.noon)==null?void 0:v.windBF)||"-"]),z.push([w(V==null?void 0:V.utc).utc().format("MM/DD HHmm[Z]"),((le=V==null?void 0:V.noon)==null?void 0:le.seasHt)||"-"])),_.push((V==null?void 0:V.type)!="A"?this.computedIsNull((ee=V==null?void 0:V.noon)==null?void 0:ee.foCons):""),x.push((V==null?void 0:V.type)!="A"?this.computedIsNull((ie=V==null?void 0:V.noon)==null?void 0:ie.dgoCons):""),U.push((V==null?void 0:V.type)!="A"?this.computedIsNull(V==null?void 0:V.dailyAvgCf):""),c.push((V==null?void 0:V.cpSpd)??""),a.push(((ce=V==null?void 0:V.timeConclusion)==null?void 0:ce.minusAbtSpd)??""),i.push(((de=V==null?void 0:V.cp)==null?void 0:de.fo)??""),g.push(((Ee=(re=V==null?void 0:V.fuelConclusion)==null?void 0:re.fo)==null?void 0:Ee.underTolerance)??""),S.push(((he=(ae=V==null?void 0:V.fuelConclusion)==null?void 0:ae.fo)==null?void 0:he.overTolerance)??""),N.push(((_e=V==null?void 0:V.cp)==null?void 0:_e.dgo)??""),r.push(((Ve=(Ne=V==null?void 0:V.fuelConclusion)==null?void 0:Ne.dgo)==null?void 0:Ve.underTolerance)??""),C.push(((ge=(fe=V==null?void 0:V.fuelConclusion)==null?void 0:fe.dgo)==null?void 0:ge.overTolerance)??""),T.push(((xe=(De=V==null?void 0:V.meteo)==null?void 0:De.wind)==null?void 0:xe.scale)??""),u.push(((Ce=(be=this.reportData)==null?void 0:be.weather)==null?void 0:Ce.windScale)??"");let $="";(Pe=(Oe=this.reportData)==null?void 0:Oe.weather)!=null&&Pe.sigSwitch?($=(me=(P=(ye=V.meteo)==null?void 0:ye.wave)==null?void 0:P.sig)!=null&&me.height?(Le=(ue=(Fe=V.meteo)==null?void 0:Fe.wave)==null?void 0:ue.sig)==null?void 0:Le.height:"",this.waveDetail.ytitle="Sig-wave Heigt(m)",F.push(this.reportData.weather.sigHeight)):(We=(Se=this.reportData)==null?void 0:Se.weather)!=null&&We.waveSwitch?($=(G=(Ye=(Ue=V.meteo)==null?void 0:Ue.wave)==null?void 0:Ye.wd)!=null&&G.height?(Ze=(Me=(we=V.meteo)==null?void 0:we.wave)==null?void 0:Me.wd)==null?void 0:Ze.height:"",this.waveDetail.ytitle="Wind Wave Height(m)",F.push(this.reportData.weather.waveHeight)):($e=(Qe=this.reportData)==null?void 0:Qe.weather)!=null&&$e.swellSwitch&&($=(E=(Ke=(Je=V.meteo)==null?void 0:Je.wave)==null?void 0:Ke.swell)!=null&&E.height?(He=(Te=(Q=V.meteo)==null?void 0:Q.wave)==null?void 0:Te.swell)==null?void 0:He.height:"",this.waveDetail.ytitle="Swell Wave Height(m)",F.push(this.reportData.weather.swellHeight)),this.waveDetail.title=(Ge=this.waveDetail)==null?void 0:Ge.ytitle.replaceAll("(m)",""),b.push($)}),this.params={xAxis:n,markArea:[{type:"line",markArea:{data:Y},itemStyle:{color:"#aedb8f"}},{type:"line",markArea:{data:J},itemStyle:{color:"#d3d3d3"}}]},l.forEach((V,M)=>{V.indexOf("-")!==-1&&M!==l.length-1&&(V[1]=l[M+1][1])}),c=this.computedArray(c),a=this.computedArray(a),i=this.computedArray(i),g=this.computedArray(g),S=this.computedArray(S),N=this.computedArray(N),r=this.computedArray(r),C=this.computedArray(C),_=this.computedCurrent(_),x=this.computedCurrent(x,"dgotype"),U=this.computedCurrent(U),c.forEach((V,M)=>{let $={name:M==0?"CP speed":"",type:"line",showSymbol:!1,data:V,color:"#ff8935"};o.push($)}),a.forEach((V,M)=>{let $={name:M==0?"CP Speed Min":"",type:"line",showSymbol:!1,data:V,color:"#06890b",lineType:"dotted"};o.push($)}),o.push({name:"Daily Average Speed",type:"line",data:l,color:"rgba(123,145,211,0.62)",showSymbol:!1,smooth:!0}),i.forEach((V,M)=>{let $={name:M==0?"CP FO":"",type:"line",showSymbol:!1,data:V,color:"#ff8935"};p.push($)}),g.forEach((V,M)=>{let $={name:M==0?"CP FO Min":"",type:"line",showSymbol:!1,data:V,color:"#06890b",lineType:"dotted"};p.push($)}),S.forEach((V,M)=>{let $={name:M==0?"CP FO Max":"",type:"line",showSymbol:!1,data:V,color:"#ff3a3a",lineType:"dotted"};p.push($)}),p.push({name:"Daily FO",type:"bar",showSymbol:!1,data:_,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),N.forEach((V,M)=>{let $={name:M==0?"CP DO/GO":"",type:"line",showSymbol:!1,data:V,color:"#ff8935"};h.push($)}),r.forEach((V,M)=>{let $={name:M==0?"CP DO/GO Min":"",type:"line",showSymbol:!1,data:V,color:"#06890b",lineType:"dotted"};h.push($)}),C.forEach((V,M)=>{let $={name:M==0?"CP DO/GO Max":"",type:"line",showSymbol:!1,data:V,color:"#ff3a3a",lineType:"dotted"};h.push($)}),h.push({name:"Daily DO/GO",type:"bar",showSymbol:!1,data:x,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),k.push({name:"CP Good Weather",type:"line",data:u,color:"#ff8935",showSymbol:!1,smooth:!0}),k.push({name:"Wind BF",type:"line",data:T,color:"#5eb3e0",showSymbol:!1,smooth:!0}),k.push({name:"Ship Report",type:"scatter",data:L,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),O.push({name:"CP Good Weather",type:"line",data:F,color:"#ff8935",showSymbol:!1,smooth:!0});let K=this.waveDetail.ytitle.replaceAll("(m)","");O.push({name:K,type:"line",data:b,color:"#5eb3e0",showSymbol:!1,smooth:!0}),O.push({name:"Ship Report",type:"scatter",data:z,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),Z.push({name:"Current Factor",type:"line",data:U,color:"#5eb3e0",showSymbol:!1,smooth:!1}),this.shipSpdChartData=o,this.FoChartData=p,this.DGOChartData=h,this.windSpdChartData=k,this.waveChartData=O,this.currentChartData=Z}}},Ie=t=>(e.pushScopeId("data-v-4fb04207"),t=t(),e.popScopeId(),t),f2={class:"charts"},g2=Ie(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumptifon with Weather / Current Analysis Graph",-1)),D2={class:"subtitle"},x2=e.createStaticVNode('<div class="chart-legend" data-v-4fb04207><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Good Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="border:1px solid var(--table-edging-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Adverse Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Excluded periods from analysis</div></div></div>',1),b2={class:"weather-eChart"},C2={class:"charts page-title"},S2=Ie(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumption with Weather / Current Analysis Graph",-1)),k2={class:"subtitle"},A2=e.createStaticVNode('<div class="chart-legend" data-v-4fb04207><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Good Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="border:1px solid var(--table-edging-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Adverse Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Excluded periods from analysis</div></div></div>',1),B2={class:"weather-eChart"},w2={class:"charts page-title"},T2=Ie(()=>e.createElementVNode("div",{class:"charts-title"},"Voyage Map",-1)),O2={class:"subtitle"},P2={class:"message-table"},F2=Ie(()=>e.createElementVNode("td",{class:"title"},"Vessel Name",-1)),u2=Ie(()=>e.createElementVNode("td",{class:"title"},"Prepared For",-1)),L2=Ie(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),W2={style:{display:"inline-block",width:"50%"}},H2=Ie(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),M2={style:{display:"inline-block",width:"50%"}},G2={style:{margin:"15px auto","padding-left":"20px"}},I2=["src"],R2={class:"charts-imgLegend"},z2={style:{position:"relative",left:"-20px"}},U2=Ie(()=>e.createElementVNode("div",{style:{position:"relative",display:"inline-block",top:"-12px",left:"15px",transform:"scale(0.95)"}},[e.createElementVNode("div",null,"7"),e.createElementVNode("br"),e.createElementVNode("div",null,"W 4")],-1)),Y2=Ie(()=>e.createElementVNode("div",{style:{display:"inline-block",transform:"scale(0.95)","text-align":"left","margin-left":"5px"}},[e.createTextVNode(" LEGEND: "),e.createElementVNode("br"),e.createTextVNode(" Wind from NE(045) "),e.createElementVNode("br"),e.createTextVNode(" Each barb = 10 kts "),e.createElementVNode("br"),e.createTextVNode(" 1/2 barb = 5 kts "),e.createElementVNode("br")],-1)),Z2=Ie(()=>e.createElementVNode("div",{style:{transform:"scale(0.95)"}},[e.createTextVNode(" 7 - DAY OF THE MONTH "),e.createElementVNode("br"),e.createTextVNode(" W 4 - PRIMARY WAVE FROM WEST, 4 METERS"),e.createElementVNode("br"),e.createElementVNode("div",{class:"GoodWxBox"},"Date"),e.createTextVNode(" Good weather days"),e.createElementVNode("br")],-1)),Q2={key:0,class:"charts page-title"},$2=Ie(()=>e.createElementVNode("div",{class:"charts-title"},"MESSAGE TRAFFIC",-1)),J2={class:"subtitle"},K2={class:"message-table"},q2=Ie(()=>e.createElementVNode("td",null,"Vessel Name",-1)),X2=Ie(()=>e.createElementVNode("td",null,"Prepared For",-1)),j2=Ie(()=>e.createElementVNode("td",null,"Departure Port and Date",-1)),v2={style:{display:"inline-block",width:"50%"}},eD=Ie(()=>e.createElementVNode("td",null,"Arrival Port and Date",-1)),tD={style:{display:"inline-block",width:"50%"}},oD={class:"columns"},lD={class:"title"},aD=["innerHTML"],nD={class:"charts",style:{"page-break-before":"always"}},sD=Ie(()=>e.createElementVNode("div",{class:"charts-title page-title"},"Charter Party Compliance Auditing Methodology",-1)),iD={class:"methodology"},cD=e.createStaticVNode('<div class="noun" data-v-4fb04207>1. Good Weather Method</div><div class="explain" data-v-4fb04207> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd's Rep 166 and The Gas Enterprise [1993] 2 Lloyd's Rep. 352. <br data-v-4fb04207> The vessel's performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-4fb04207> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a "good weather day" or "adverse weather day" according to the good weather definition stipulated in the Charter Party. </div><div class="noun" data-v-4fb04207>2. Damage assessment due to ship under-performance</div><div class="explain" data-v-4fb04207> Speed and Consumption Calculation applies allowed time and allowed consumption calculated based on cp speed and consumption in good weather conditions. Complying with maritime arbitration standards, time loss and over/under-consumption is not calculated when there are no good weather days. </div><div class="noun" data-v-4fb04207>3. Logbooks description vs. Analysis</div><div class="explain" data-v-4fb04207> To complete the Good Weather Analysis method requests daily noon positions (including time, distance, weather, seas, bunker consumption, etc.) from the Master, which are to be inspected in evaluation reports. We will apply our analyzed distances. Weather and sea conditions in reports represent our verified weather data. </div><div class="noun" data-v-4fb04207>4. “About”</div><div class="explain" data-v-4fb04207> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-4fb04207> As per the High Court decision on The Gaz Energy (2012) 852 LMLN 2 a plus 5% tolerance in over-consumption calculation and a minus 5 % tolerance in under-consumption are employed respectively when an “about” is included with the consumption warranty, unless otherwise stipulated. </div><div class="noun" data-v-4fb04207>5. Time Calculation</div><div class="explain" data-v-4fb04207> Time loss or gained is calculated by comparing (a) Total Time at Good weather Performance Speed to (b) and (c) listed below. Time loss calculation (b) applies allowance for "about", while no allowance in (c) time gained calculation unless otherwise stipulated . <br data-v-4fb04207> The report conclusion only reflects the Time Lost calculation result only. </div>',10),dD={class:"definition"},rD={class:"equation"},mD=Ie(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at Good Weather Performance Speed",-1)),pD=Ie(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),hD={style:{width:"50%"},class:"fraction"},yD=Ie(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ED=Ie(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),_D=Ie(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),ND={class:"equation"},VD=Ie(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at ( CP Speed - About Speed )",-1)),fD=Ie(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),gD={style:{width:"50%"},class:"fraction"},DD=Ie(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),xD=Ie(()=>e.createElementVNode("div",null,"CP Speed - About Speed",-1)),bD=Ie(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),CD={class:"equation"},SD=Ie(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at CP Speed",-1)),kD=Ie(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),AD={style:{width:"50%"},class:"fraction"},BD=Ie(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),wD=Ie(()=>e.createElementVNode("div",null,"CP Speed",-1)),TD=Ie(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),OD=Ie(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),PD=Ie(()=>e.createElementVNode("div",{class:"noun"},"6. Bunker Analysis Methodology for Bunker Type Switch-Over",-1)),FD=Ie(()=>e.createElementVNode("div",{class:"explain"},[e.createTextVNode(" The following methodology will be applied to analyze bunker consumption when the bunker type is switched over,such as in ECA/SECA zone . "),e.createElementVNode("br"),e.createTextVNode(" 6-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. "),e.createElementVNode("br"),e.createTextVNode(" 6-2 Considering DO/GO consumption in the switch over period the amount of DO/GO consumed will initially be compared to the DO/GO warranted figure; the remaining DO/GO consumed in the switch over period will then be compared to the warranted IFO figure. In cases of partial steaming Days, the DO/GO consumed will be converted basis a calculation for hourly consumption. ")],-1)),uD=Ie(()=>e.createElementVNode("div",{class:"noun"},"7. Further reference materials",-1)),LD=Ie(()=>e.createElementVNode("div",{class:"explain"},"Please send mail to op@oceanpitech.com",-1));function WD(t,n,o,c,l,a){var _,g,S,h,N,x,r,C,k,T,u,L,O,b,F,z,Z,U,W,f,Y,R,H,J,K,X,q,V,M,$,s,j,d,v,le,ee,ie,ce,de,re,Ee,ae,he,_e,Ne,Ve,fe,ge,De,xe,be,Ce,Oe,Pe;const p=e.resolveComponent("ScCharts"),i=e.resolveComponent("BrabImg");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((g=(_=o.reportData)==null?void 0:_.weather)!=null&&g.referenceOnly||(h=(S=o.reportData)==null?void 0:S.weather)!=null&&h.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",f2,[g2,e.createElementVNode("div",D2,e.toDisplayString(a.computedTime((N=o.reportData)==null?void 0:N.createdAt)),1),x2,e.createElementVNode("div",b2,[e.createVNode(p,{id:"shipSpeedChart","echart-data":l.shipSpdChartData,params:l.params,detail:l.shipSpdDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(p,{id:"FOChart","echart-data":l.FoChartData,params:l.params,detail:l.FODetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(p,{id:"DGOChart","echart-data":l.DGOChartData,params:l.params,detail:l.DGODetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",C2,[S2,e.createElementVNode("div",k2,e.toDisplayString(a.computedTime((x=o.reportData)==null?void 0:x.createdAt)),1),A2,e.createElementVNode("div",B2,[e.createVNode(p,{id:"windChart","echart-data":l.windSpdChartData,params:l.params,detail:l.windDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(p,{id:"waveChart","echart-data":l.waveChartData,params:l.params,detail:l.waveDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(p,{id:"currentChart","echart-data":l.currentChartData,params:l.params,detail:l.currentDetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",w2,[T2,e.createElementVNode("div",O2,e.toDisplayString(a.computedTime((r=o.reportData)==null?void 0:r.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",P2,[e.createElementVNode("tr",null,[F2,e.createElementVNode("td",null,e.toDisplayString((k=(C=o.reportData)==null?void 0:C.vessel)==null?void 0:k.name),1)]),e.createElementVNode("tr",null,[u2,e.createElementVNode("td",null,e.toDisplayString((T=o.reportData)==null?void 0:T.preparedFor),1)]),e.createElementVNode("tr",null,[L2,e.createElementVNode("td",null,[e.createElementVNode("span",W2,e.toDisplayString(((L=(u=o.reportData)==null?void 0:u.departure)==null?void 0:L.portName)||a.computedLngLat((b=(O=o.reportData)==null?void 0:O.departure)==null?void 0:b.lat,(z=(F=o.reportData)==null?void 0:F.departure)==null?void 0:z.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((U=(Z=o.reportData)==null?void 0:Z.departure)==null?void 0:U.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[H2,e.createElementVNode("td",null,[e.createElementVNode("span",M2,e.toDisplayString(((f=(W=o.reportData)==null?void 0:W.arrival)==null?void 0:f.portName)||a.computedLngLat((R=(Y=o.reportData)==null?void 0:Y.arrival)==null?void 0:R.lat,(J=(H=o.reportData)==null?void 0:H.arrival)==null?void 0:J.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((X=(K=o.reportData)==null?void 0:K.arrival)==null?void 0:X.utcTime,"table")),1)])])])]),e.createElementVNode("div",G2,[e.createElementVNode("img",{style:{width:"100%"},src:(q=o.reportData)==null?void 0:q.chartUrl,alt:""},null,8,I2),e.createElementVNode("div",R2,[e.createElementVNode("div",z2,[U2,e.createVNode(i,{style:{display:"inline-block",transform:"rotate(45deg)",margin:"8px 0 0 4px",position:"relative",top:"-20px"},fill:"var(--black-6)"}),Y2]),Z2])])]),(M=(V=o.reportData)==null?void 0:V.weather)!=null&&M.showMails?(e.openBlock(),e.createElementBlock("div",Q2,[$2,e.createElementVNode("div",J2,e.toDisplayString(a.computedTime(o.reportData.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",K2,[e.createElementVNode("tr",null,[q2,e.createElementVNode("td",null,e.toDisplayString((s=($=o.reportData)==null?void 0:$.vessel)==null?void 0:s.name),1)]),e.createElementVNode("tr",null,[X2,e.createElementVNode("td",null,e.toDisplayString((j=o.reportData)==null?void 0:j.preparedFor),1)]),e.createElementVNode("tr",null,[j2,e.createElementVNode("td",null,[e.createElementVNode("span",v2,e.toDisplayString(((v=(d=o.reportData)==null?void 0:d.departure)==null?void 0:v.portName)||a.computedLngLat((ee=(le=o.reportData)==null?void 0:le.departure)==null?void 0:ee.lat,(ce=(ie=o.reportData)==null?void 0:ie.departure)==null?void 0:ce.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((re=(de=o.reportData)==null?void 0:de.departure)==null?void 0:re.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[eD,e.createElementVNode("td",null,[e.createElementVNode("span",tD,e.toDisplayString(((ae=(Ee=o.reportData)==null?void 0:Ee.arrival)==null?void 0:ae.portName)||a.computedLngLat((_e=(he=o.reportData)==null?void 0:he.arrival)==null?void 0:_e.lat,(Ve=(Ne=o.reportData)==null?void 0:Ne.arrival)==null?void 0:Ve.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((ge=(fe=o.reportData)==null?void 0:fe.arrival)==null?void 0:ge.utcTime,"table")),1)])])])]),e.createElementVNode("div",oD,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.mailList,(ye,P)=>(e.openBlock(),e.createElementBlock("div",{key:ye.id,class:e.normalizeClass(P%2===0?"item":"item bg")},[e.createElementVNode("div",lD,"FROM "+e.toDisplayString(a.computeFrom(ye.from))+" "+e.toDisplayString(a.computeUTCTime(ye.createdAt,"DD/MM/YYYY hhmm")),1),e.createElementVNode("div",{class:"body",innerHTML:a.computeBody((ye==null?void 0:ye.body)??"-")},null,8,aD)],2))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("div",nD,[sD,e.createElementVNode("div",iD,[cD,e.createElementVNode("div",dD,[e.createElementVNode("div",rD,[mD,pD,e.createElementVNode("div",hD,[e.createElementVNode("div",null,e.toDisplayString((xe=(De=o.reportData)==null?void 0:De.weather)!=null&&xe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),yD,ED]),_D]),e.createElementVNode("div",ND,[VD,fD,e.createElementVNode("div",gD,[e.createElementVNode("div",null,e.toDisplayString((Ce=(be=o.reportData)==null?void 0:be.weather)!=null&&Ce.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),DD,xD]),bD]),e.createElementVNode("div",CD,[SD,kD,e.createElementVNode("div",AD,[e.createElementVNode("div",null,e.toDisplayString((Pe=(Oe=o.reportData)==null?void 0:Oe.weather)!=null&&Pe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),BD,wD]),TD]),OD]),PD,FD,uD,LD])])],2)}const HD=ke(V2,[["render",WD],["__scopeId","data-v-4fb04207"]]),Tte="",MD={components:{firstPart:Jg,secondPart:c2,thirdPart:HD},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},GD={class:"voyage-report"};function ID(t,n,o,c,l,a){const p=e.resolveComponent("first-part"),i=e.resolveComponent("second-part"),_=e.resolveComponent("third-part");return e.openBlock(),e.createElementBlock("div",GD,[e.createVNode(p,{reportData:l.reportData,class:"main","editor-disabled":o.editorDisabled,onCommit:a.commit},null,8,["reportData","editor-disabled","onCommit"]),e.createVNode(i,{isAdmin:o.isAdmin,reportData:l.reportData,class:"main"},null,8,["isAdmin","reportData"]),e.createVNode(_,e.mergeProps({reportData:l.reportData,class:"main"},t.$attrs),null,16,["reportData"])])}const gn=ke(MD,[["render",ID],["__scopeId","data-v-61638416"]]),Ote="",RD={components:{Editor:zo},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{date:"",remarks:"<div>Exclusion</div><div>The following time,distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation</div>",editable:!1,advisory:void 0,excludedTableData:[],segDetail:[],goodDays:[],cpDetail:[],noGoodWxDay:"No Good Wx Day",noSpecialRemarks:"No Special Remarks"}},computed:{computedAvgCf(){return function(t){var n,o;return(o=(n=this.reportData)==null?void 0:n.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,n){return n=="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):n=="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):n=="summary"?w(t).utc().format("MMMM D, HHmm[Z]"):n?w(t).utc().format(n):w(t).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(t,n){const o=this.getLonLat(te.LngLatHelper.lat2pretty(t)),c=this.getLonLat(te.LngLatHelper.lng2pretty(n));return`${o} ${c}`}},computedSeg(){return function(t){const n=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),o=this.computedTime(t.departure.utcTime,"summary"),c=this.computedTime(t.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),l=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),a=this.computedTime(t.arrival.utcTime,"summary"),p=this.computedTime(t.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:n,time1:o,fullTime1:c,port2:l,time2:a,fullTime2:p}}},computedTimeConclusion(){return function(t){let n=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return n=="No"?(o.conclusion="Not Available",o.className="",o.timeCon=""):n=="Lost"?(o.conclusion="Time Lost",o.className="error",o.timeCon=`${t.timeLost} hrs`):(o.conclusion="Time Gained",o.className="success",o.timeCon=`${t.timeGain} hrs`),o}},computedFuleConclusion(){return function(t,n){let o=t.conclusionStatus,c={conclusion:"",className:"",cons:""};return o==="No"?(c.conclusion="Not Available",c.className="",c.cons=""):o==="Over"?(n==="FO"?c.conclusion="FO Over":c.conclusion="DO/GO Over",c.className="error",c.cons=`${t.overCons} mt`):(n==="FO"?c.conclusion="FO Under":c.conclusion="DO/GO Under",c.className="success",c.cons=`${t.saving} mt`),c}},computedUnit(){return function(t,n){return n?"%":t=="speed"?"":"(mt)"}},computedWeatherDef(){return function(t){let n="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let o=t==null?void 0:t.windScale,c="",l=0;return t!=null&&t.waveSwitch?(c+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,l++):t!=null&&t.swellSwitch?(c+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,l++):t!=null&&t.sigSwitch&&(c+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,l++),l>0&&(c+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),n=`Winds are BF/${o} or less${c}`,t!=null&&t.noAdverseCur&&(n+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(n+=", No Extrapolation"),n}},computedColor(){return function(t,n,o){let c="";if(t==="No")return c=o?"bg-color-normal":"color-normal",c;switch(n){case"time":t==="Lost"?c="color-fail":c="color-success";break;case"fuel":t==="Over"?c="color-fail":c="color-success";break;case"pfm":t==="Under"?c="color-fail":c="color-success";break}return o&&(c="bg-"+c),c}},computedAbt4Spd(){return function(t){var n,o,c;return(n=t.timeConclusion)!=null&&n.spdPercentage?te.roundPrecision(t.extend.cp.speed*(((o=t==null?void 0:t.timeConclusion)==null?void 0:o.spdOfAbout)/100),2):(c=t==null?void 0:t.timeConclusion)==null?void 0:c.spdOfAbout}}},watch:{reportData:{handler(t,n){var o;t!=null&&t.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(o=this.reportData)==null?void 0:o.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,2)}′${t.direction}`},handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var n,o;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let t=[];(o=(n=this.reportData)==null?void 0:n.segments)==null||o.forEach((c,l)=>{let a=c.excluded;if(a.sumDistance>0&&a.detail.forEach(i=>{let _={begin:w(i.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:w(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:w(i.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+w(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:i.duration,distance:i.distance,fo:i.foCons,dgo:i.dgoCons};this.excludedTableData.push(_)}),!t.includes(c.seg)){t.push(c.seg);let i=Object.assign({},c.extend.cp);i.spdOfOver=`+${c.timeConclusion.spdOfOver}${this.computedUnit("speed",c.timeConclusion.spdPercentage)}`,i.spdOfUnder=`-${c.timeConclusion.spdOfUnder}${this.computedUnit("speed",c.timeConclusion.spdPercentage)}`,i.over=`+${c.fuelConclusion.consOfOver}${this.computedUnit("cons",c.fuelConclusion.consPercentage)}`,i.under=`-${c.fuelConclusion.consOfUnder}${this.computedUnit("cons",c.fuelConclusion.consPercentage)}`,this.cpDetail.push(i)}let p=[];c.extend.segTimes.forEach(i=>{p.push(this.computedSeg(i))}),this.segDetail.push(p),this.goodDays.push(c.inventory.sample.hours.filter(i=>i.type!=="A"&&i.goodWx))})}}},y=t=>(e.pushScopeId("data-v-9be6b8be"),t=t(),e.popScopeId(),t),zD=y(()=>e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),UD={class:"fli-main"},YD=y(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),ZD={class:"card basics"},QD={class:"list flex"},$D={class:"item"},JD=y(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),KD={class:"content flex"},qD={class:"item"},XD=y(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),jD={class:"content flex"},vD={class:"item"},ex=y(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),tx={class:"content flex"},ox={class:"list"},lx={class:"item"},ax=y(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),nx={class:"content flex"},sx={class:"content flex"},ix={class:"item"},cx=y(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),dx={class:"content flex"},rx={class:"content flex"},mx={class:"item"},px=y(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),hx={class:"content flexL"},yx=y(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),Ex={class:"clause"},_x={key:0,class:"definition flex"},Nx={key:1,class:"definition flex"},Vx={class:"item"},fx=y(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),gx={class:"content"},Dx={key:0,class:"item"},xx=y(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),bx={class:"content"},Cx={key:1,class:"item"},Sx=y(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),kx={class:"content"},Ax={key:2,class:"item"},Bx=y(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),wx={class:"content"},Tx={key:3,class:"item"},Ox=y(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),Px={class:"content"},Fx={key:4,class:"item"},ux=[y(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),y(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],Lx={key:5,class:"item"},Wx=[y(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),y(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],Hx={class:"definition flexM"},Mx={class:"table"},Gx=y(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"CP"),e.createElementVNode("td",null,"Speed (kts)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),Ix=y(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),Rx={class:"summary"},zx={key:0,class:"summary-overall"},Ux=y(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),Yx={class:"summary-overall-row"},Zx={class:"card"},Qx=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),$x={class:"main-content"},Jx={key:0},Kx={key:1},qx={class:"card"},Xx=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),jx={class:"main-content"},vx={key:0},eb={key:1},tb={class:"card"},ob=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),lb={class:"main-content"},ab={key:0},nb={key:1},sb={class:"summary-overall-row"},ib={class:"card"},cb=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),db={class:"main-content"},rb={class:"card"},mb=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),pb={class:"main-content"},hb={class:"card"},yb=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),Eb={class:"main-content"},_b=y(()=>e.createElementVNode("div",{class:"summary-overall-row",style:{"flex-direction":"column"}},[e.createElementVNode("div",{class:"flex-start"},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",null,"FO Cons. + M/E DO/GO Cons. in ECA")]),e.createElementVNode("div",{class:"flex-start"},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",null,"DO/GO Cons. - M/E DO/GO Cons. in ECA")])],-1)),Nb={class:"card",style:{flex:"1.5"}},Vb={class:"card-title"},fb=y(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),gb={class:"card-segment"},Db={class:"card-segment"},xb={class:"card-segment"},bb=y(()=>e.createElementVNode("div",null,"Applied",-1)),Cb={class:"uppercase"},Sb={class:"card summary-card",style:{flex:"1"}},kb=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),Ab={key:0,class:"main-content"},Bb={key:0,class:"iconfont success"},wb={key:1,class:"iconfont error"},Tb={key:1,class:"main-content"},Ob={class:"card-content",style:{"justify-content":"flex-start"}},Pb={class:"card summary-card",style:{flex:"1"}},Fb=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),ub={key:0,class:"main-content"},Lb={key:0,class:"iconfont success"},Wb={key:1,class:"iconfont error"},Hb={key:1,class:"main-content"},Mb={class:"card-content",style:{"justify-content":"flex-start"}},Gb={class:"card summary-card",style:{flex:"1"}},Ib=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),Rb={key:0,class:"main-content"},zb={key:0,class:"iconfont success"},Ub={key:1,class:"iconfont error"},Yb={key:1,class:"main-content"},Zb={class:"card-content",style:{"justify-content":"flex-start"}},Qb={style:{"page-break-inside":"avoid"}},$b=y(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),Jb={class:"remarks"},Kb={class:"item"},qb=y(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),Xb={class:"speed"},jb={class:"uppercase"},vb={class:"item"},eC=y(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),tC={key:0,class:"remark-detail"},oC={key:1,class:"remark-detail"},lC={class:"page-avoid"},aC={class:"dashed"},nC={class:"card phase-title-card",style:{flex:"0.5"}},sC={class:"card-title"},iC=y(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),cC={class:"card-segment"},dC={class:"card-segment"},rC={class:"card-segment"},mC=y(()=>e.createElementVNode("div",null,"Applied",-1)),pC={class:"uppercase"},hC=y(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),yC={class:"phase-analysis"},EC={class:"card phase-card",style:{flex:"1"}},_C=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),NC={class:"main-content"},VC=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),fC={class:"main-content"},gC={class:"card-content"},DC=y(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),xC=y(()=>e.createElementVNode("span",null,"mt",-1)),bC={class:"card-content"},CC=y(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),SC=y(()=>e.createElementVNode("span",null,"mt",-1)),kC={class:"card-content"},AC=y(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),BC=y(()=>e.createElementVNode("span",null,"mt",-1)),wC={class:"card-content"},TC=y(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),OC=y(()=>e.createElementVNode("span",null,"mt",-1)),PC=y(()=>e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"FO Cons. + M/E DO/GO Cons. in ECA")],-1)),FC={class:"card phase-card",style:{flex:"1"}},uC=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),LC={class:"main-content"},WC=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),HC={class:"main-content"},MC={class:"card-content"},GC=y(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),IC=y(()=>e.createElementVNode("span",null,"mt",-1)),RC={class:"card-content"},zC=y(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),UC=y(()=>e.createElementVNode("span",null,"mt",-1)),YC={class:"card-content"},ZC=y(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),QC=y(()=>e.createElementVNode("span",null,"mt",-1)),$C={class:"card-content"},JC=y(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),KC=y(()=>e.createElementVNode("span",null,"mt",-1)),qC=y(()=>e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"DO/GO Cons. - M/E DO/GO Cons. in ECA")],-1)),XC={class:"phase-analysis"},jC={class:"card phase-card",style:{flex:"1"}},vC=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),e3={class:"main-content"},t3=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),o3={class:"main-content"},l3={class:"card-content"},a3=y(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),n3=y(()=>e.createElementVNode("span",null,"nm",-1)),s3={class:"card-content"},i3=y(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),c3=y(()=>e.createElementVNode("span",null,"nm",-1)),d3={class:"card-content"},r3=y(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),m3=y(()=>e.createElementVNode("span",null,"nm",-1)),p3={class:"card-content"},h3=y(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),y3=y(()=>e.createElementVNode("span",null,"nm",-1)),E3={class:"card phase-card",style:{flex:"1"}},_3=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),N3={class:"main-content"},V3=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),f3={class:"main-content"},g3={class:"card-content"},D3=y(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),x3=y(()=>e.createElementVNode("span",null,"hrs",-1)),b3={class:"card-content"},C3=y(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),S3=y(()=>e.createElementVNode("span",null,"hrs",-1)),k3={class:"card-content"},A3=y(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),B3=y(()=>e.createElementVNode("span",null,"hrs",-1)),w3={class:"card-content"},T3=y(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),O3=y(()=>e.createElementVNode("span",null,"hrs",-1)),P3={class:"card phase-card",style:{flex:"1"}},F3=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),u3={class:"main-content"},L3=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),W3={class:"main-content"},H3={class:"card-content"},M3=y(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),G3=y(()=>e.createElementVNode("span",null,"kts",-1)),I3={class:"card-content"},R3=y(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),z3=y(()=>e.createElementVNode("span",null,"kts",-1)),U3={class:"card-content"},Y3=y(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),Z3=y(()=>e.createElementVNode("span",null,"kts",-1)),Q3={class:"card-content"},$3=y(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),J3=y(()=>e.createElementVNode("span",null,"kts",-1)),K3={class:"phase-analysis"},q3={class:"card phase-card",style:{flex:"1"}},X3=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),j3={class:"main-content"},v3=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),eS={class:"main-content"},tS={class:"card-content"},oS=y(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),lS=y(()=>e.createElementVNode("span",null,"mt",-1)),aS={class:"card-content"},nS=y(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),sS=y(()=>e.createElementVNode("span",null,"mt",-1)),iS={class:"card-content"},cS=y(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),dS=y(()=>e.createElementVNode("span",null,"mt",-1)),rS={class:"card-content"},mS=y(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),pS=y(()=>e.createElementVNode("span",null,"mt",-1)),hS={class:"card phase-card",style:{flex:"1"}},yS=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),ES={class:"main-content"},_S=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),NS={class:"main-content"},VS={class:"card-content"},fS=y(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),gS=y(()=>e.createElementVNode("span",null,"mt",-1)),DS={class:"card-content"},xS=y(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),bS=y(()=>e.createElementVNode("span",null,"mt",-1)),CS={class:"card-content"},SS=y(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),kS=y(()=>e.createElementVNode("span",null,"mt",-1)),AS={class:"card-content"},BS=y(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),wS=y(()=>e.createElementVNode("span",null,"mt",-1)),TS={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},OS=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),PS={class:"main-content"},FS={class:"card-content"},uS=y(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),LS={key:0},WS=y(()=>e.createElementVNode("span",null,"kts",-1)),HS={key:1},MS={class:"phase-card"},GS={class:"card",style:{flex:"1"}},IS=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),RS={key:0,class:"main-content"},zS={key:0,class:"iconfont success"},US={key:1,class:"iconfont error"},YS={key:1,class:"main-content"},ZS={class:"nogwd"},QS={class:"card-content",style:{"justify-content":"flex-start"}},$S={key:0},JS={class:"equation"},KS=y(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),qS=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),XS={style:{width:"8%"}},jS=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),vS=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),ek={style:{width:"10%"}},tk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),ok={class:"equation"},lk=y(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),ak=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),nk={style:{width:"8%"}},sk=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ik=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),ck={style:{width:"10%"}},dk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),rk={class:"equation"},mk=y(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),pk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),hk={style:{width:"8%"}},yk=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Ek=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),_k={style:{width:"10%"}},Nk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),Vk={class:"phase-card"},fk={class:"card",style:{flex:"1"}},gk=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),Dk={key:0,class:"main-content"},xk={key:0,class:"iconfont success"},bk={key:1,class:"iconfont error"},Ck={key:1,class:"main-content"},Sk={class:"nogwd"},kk={class:"card-content",style:{"justify-content":"flex-start"}},Ak={key:0},Bk={class:"equation"},wk=y(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),Tk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Ok={style:{width:"8%"}},Pk=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Fk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),uk={style:{width:"120px"}},Lk=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Wk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Hk={style:{width:"10%"}},Mk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),Gk={class:"equation"},Ik=y(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),Rk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),zk={style:{width:"8%"}},Uk=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Yk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Zk={style:{width:"120px"}},Qk=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$k=y(()=>e.createElementVNode("div",null,"24",-1)),Jk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Kk={style:{width:"10%"}},qk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),Xk={class:"equation"},jk=y(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),vk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e4={style:{width:"8%"}},t4=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),o4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),l4={style:{width:"120px"}},a4=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),n4=y(()=>e.createElementVNode("div",null,"24",-1)),s4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),i4={style:{width:"10%"}},c4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),d4={class:"phase-card"},r4={class:"card",style:{flex:"1"}},m4=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),p4={key:0,class:"main-content"},h4={key:0,class:"iconfont success"},y4={key:1,class:"iconfont error"},E4={key:1,class:"main-content"},_4={class:"nogwd"},N4={class:"card-content",style:{"justify-content":"flex-start"}},V4={key:0},f4={class:"equation"},g4=y(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),D4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),x4={style:{width:"8%"}},b4=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),C4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),S4={style:{width:"120px"}},k4=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),A4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),B4={style:{width:"10%"}},w4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),T4={class:"equation"},O4=y(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),P4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),F4={style:{width:"8%"}},u4=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),L4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),W4={style:{width:"120px"}},H4=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),M4=y(()=>e.createElementVNode("div",null,"24",-1)),G4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),I4={style:{width:"10%"}},R4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),z4={class:"equation"},U4=y(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),Y4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Z4={style:{width:"8%"}},Q4=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),J4={style:{width:"120px"}},K4=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),q4=y(()=>e.createElementVNode("div",null,"24",-1)),X4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),j4={style:{width:"10%"}},v4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),e5=y(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),t5={class:"formular dashed",style:{"page-break-inside":"avoid"}},o5={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},l5=y(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),a5={class:""},n5={class:"equation"},s5=y(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),i5=y(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),c5={style:{width:"50%"},class:"fraction"},d5=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),r5=y(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),m5=y(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),p5={class:"equation"},h5=y(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),y5=y(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),E5={style:{width:"50%"},class:"fraction"},_5=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),N5=y(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),V5=y(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),f5={class:"equation"},g5=y(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),D5=y(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),x5={style:{width:"50%"},class:"fraction"},b5=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),C5=y(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),S5=y(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),k5=y(()=>e.createElementVNode("div",{class:"equation flex-end",style:{"margin-right":"4%"}},[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),A5={class:"flexL formular-item",style:{"margin-left":"20px"}},B5=y(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),w5={class:""},T5={class:"equation"},O5=y(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),P5=y(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),F5={style:{width:"25%"},class:"fraction"},u5=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),L5=y(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),W5=y(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),H5=y(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Good Weather Consumption"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),M5=y(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),G5={class:"equation"},I5=y(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),R5=y(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),z5={style:{width:"25%"},class:"fraction"},U5=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Y5=y(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),Z5=y(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Q5=y(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption + Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),$5=y(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),J5={class:"equation"},K5=y(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),q5=y(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),X5={style:{width:"25%"},class:"fraction"},j5=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),v5=y(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),e8=y(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),t8=y(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption - Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),o8=y(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),l8=y(()=>e.createElementVNode("div",{class:"equation",style:{margin:"10px 0"}},[e.createElementVNode("span",null,"Fuel Over-consumption = (d) - (e) "),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Fuel Saving = (f) - (d)")],-1)),a8=y(()=>e.createElementVNode("div",{class:"equation"},[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),e.createElementVNode("br"),e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),e.createElementVNode("br"),e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),e.createElementVNode("br")],-1));function n8(t,n,o,c,l,a){var p,i,_,g,S,h,N,x,r,C,k,T,u,L,O,b,F,z,Z,U,W,f,Y,R,H,J,K,X,q,V,M,$,s,j,d,v,le,ee,ie,ce,de,re,Ee,ae,he,_e,Ne,Ve,fe,ge,De,xe,be,Ce,Oe,Pe,ye,P,me,Fe,ue,Le,Se,We,Ue,Ye,G,we,Me,Ze,Qe,$e,Je,Ke;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(p=o.reportData)==null?void 0:p.weather)!=null&&i.referenceOnly?"watermark":"")},[zD,e.createElementVNode("div",UD,[YD,e.createElementVNode("div",ZD,[e.createElementVNode("div",QD,[e.createElementVNode("div",$D,[JD,e.createElementVNode("div",KD,e.toDisplayString((_=o.reportData)==null?void 0:_.preparedFor),1)]),e.createElementVNode("div",qD,[XD,e.createElementVNode("div",jD,e.toDisplayString((S=(g=o.reportData)==null?void 0:g.vessel)==null?void 0:S.name),1)]),e.createElementVNode("div",vD,[ex,e.createElementVNode("div",tx,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",ox,[e.createElementVNode("div",lx,[ax,e.createElementVNode("div",nx,e.toDisplayString(((N=(h=o.reportData)==null?void 0:h.departure)==null?void 0:N.portName)||a.computedLngLat((r=(x=o.reportData)==null?void 0:x.departure)==null?void 0:r.lat,(k=(C=o.reportData)==null?void 0:C.departure)==null?void 0:k.lng)),1),e.createElementVNode("div",sx,e.toDisplayString(a.computedTime((u=(T=o.reportData)==null?void 0:T.departure)==null?void 0:u.utcTime,"table")),1)]),e.createElementVNode("div",ix,[cx,e.createElementVNode("div",dx,e.toDisplayString(((O=(L=o.reportData)==null?void 0:L.arrival)==null?void 0:O.portName)||a.computedLngLat((F=(b=o.reportData)==null?void 0:b.arrival)==null?void 0:F.lat,(Z=(z=o.reportData)==null?void 0:z.arrival)==null?void 0:Z.lng)),1),e.createElementVNode("div",rx,e.toDisplayString(a.computedTime((W=(U=o.reportData)==null?void 0:U.arrival)==null?void 0:W.utcTime,"table")),1)]),e.createElementVNode("div",mx,[px,e.createElementVNode("div",hx,e.toDisplayString((Y=(f=o.reportData)==null?void 0:f.voyage)==null?void 0:Y.loadCondition),1)])])]),yx,e.createElementVNode("div",Ex,[(H=(R=o.reportData)==null?void 0:R.weather)!=null&&H.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",_x," No specific thresholds in weather. ")):(e.openBlock(),e.createElementBlock("div",Nx,[e.createElementVNode("div",Vx,[fx,e.createElementVNode("div",gx,"BF "+e.toDisplayString(((K=(J=o.reportData)==null?void 0:J.weather)==null?void 0:K.windScale)||"-"),1)]),(q=(X=o.reportData)==null?void 0:X.weather)!=null&&q.waveSwitch?(e.openBlock(),e.createElementBlock("div",Dx,[xx,e.createElementVNode("div",bx,e.toDisplayString(((M=(V=o.reportData)==null?void 0:V.weather)==null?void 0:M.waveHeight)||"-")+" Meter",1)])):(s=($=o.reportData)==null?void 0:$.weather)!=null&&s.swellSwitch?(e.openBlock(),e.createElementBlock("div",Cx,[Sx,e.createElementVNode("div",kx,e.toDisplayString(((d=(j=o.reportData)==null?void 0:j.weather)==null?void 0:d.swellHeight)||"-")+" Meter",1)])):(le=(v=o.reportData)==null?void 0:v.weather)!=null&&le.sigSwitch?(e.openBlock(),e.createElementBlock("div",Ax,[Bx,e.createElementVNode("div",wx,e.toDisplayString(((ie=(ee=o.reportData)==null?void 0:ee.weather)==null?void 0:ie.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(de=(ce=o.reportData)==null?void 0:ce.weather)!=null&&de.waveSwitch||(Ee=(re=o.reportData)==null?void 0:re.weather)!=null&&Ee.swellHeight||(he=(ae=o.reportData)==null?void 0:ae.weather)!=null&&he.sigSwitch?(e.openBlock(),e.createElementBlock("div",Tx,[Ox,e.createElementVNode("div",Px,e.toDisplayString((Ne=(_e=o.reportData)==null?void 0:_e.weather)==null?void 0:Ne.seaScale),1)])):e.createCommentVNode("",!0),(fe=(Ve=o.reportData)==null?void 0:Ve.weather)!=null&&fe.noAdverseCur?(e.openBlock(),e.createElementBlock("div",Fx,ux)):e.createCommentVNode("",!0),(De=(ge=o.reportData)==null?void 0:ge.weather)!=null&&De.noExtrapolation?(e.openBlock(),e.createElementBlock("div",Lx,Wx)):e.createCommentVNode("",!0)])),e.createElementVNode("div",Hx,[e.createElementVNode("table",Mx,[Gx,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.cpDetail,(E,Q)=>(e.openBlock(),e.createElementBlock("tr",{key:Q},[e.createElementVNode("td",null,e.toDisplayString(E==null?void 0:E.type),1),e.createElementVNode("td",null,e.toDisplayString(`${E==null?void 0:E.speed} | ${E==null?void 0:E.spdOfOver} , ${E.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${E==null?void 0:E.fo} | ${E==null?void 0:E.over} , ${E.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${E==null?void 0:E.dgo} | ${E==null?void 0:E.over} , ${E.under}`),1)]))),128))])])])]),Ix,e.createElementVNode("div",Rx,[((be=(xe=o.reportData)==null?void 0:xe.segments)==null?void 0:be.length)>1?(e.openBlock(),e.createElementBlock("div",zx,[Ux,e.createElementVNode("div",Yx,[e.createElementVNode("div",Zx,[Qx,e.createElementVNode("div",$x,[(Oe=(Ce=o.reportData)==null?void 0:Ce.goodWx)!=null&&Oe.avgSpd?(e.openBlock(),e.createElementBlock("div",Jx,e.toDisplayString((ye=(Pe=o.reportData)==null?void 0:Pe.goodWx)==null?void 0:ye.avgSpd)+" kts ",1)):(e.openBlock(),e.createElementBlock("div",Kx,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",qx,[Xx,e.createElementVNode("div",jx,[(me=(P=o.reportData)==null?void 0:P.goodWx)!=null&&me.avgSpd?(e.openBlock(),e.createElementBlock("div",vx,e.toDisplayString((ue=(Fe=o.reportData)==null?void 0:Fe.goodWx)==null?void 0:ue.avgFoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",eb,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",tb,[ob,e.createElementVNode("div",lb,[(Se=(Le=o.reportData)==null?void 0:Le.goodWx)!=null&&Se.avgSpd?(e.openBlock(),e.createElementBlock("div",ab,e.toDisplayString((Ue=(We=o.reportData)==null?void 0:We.goodWx)==null?void 0:Ue.avgDgoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",nb,e.toDisplayString(l.noGoodWxDay),1))])])]),e.createElementVNode("div",sb,[e.createElementVNode("div",ib,[cb,e.createElementVNode("div",db,e.toDisplayString((G=(Ye=o.reportData)==null?void 0:Ye.allWx)==null?void 0:G.avgSpd)+" kts ",1)]),e.createElementVNode("div",rb,[mb,e.createElementVNode("div",pb,e.toDisplayString((Me=(we=o.reportData)==null?void 0:we.allWx)==null?void 0:Me.avgFoEcaCons)+" mt ",1)]),e.createElementVNode("div",hb,[yb,e.createElementVNode("div",Eb,e.toDisplayString((Qe=(Ze=o.reportData)==null?void 0:Ze.allWx)==null?void 0:Qe.avgDgoEcaCons)+" mt ",1)])]),_b])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(($e=o.reportData)==null?void 0:$e.segments,(E,Q)=>{var Te,He,Ge;return e.openBlock(),e.createElementBlock("div",{class:"summary-seg",key:Q},[e.createElementVNode("div",Nb,[e.createElementVNode("div",Vb,[fb,e.createElementVNode("span",null,"Phase "+e.toDisplayString(Q+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[Q],(pe,qe)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+qe,class:e.normalizeClass(l.segDetail[Q].length>1?"dashed":"")},[e.createElementVNode("div",gb,[e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.port1),1),e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.time1),1)]),e.createElementVNode("div",Db,[e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.port2),1),e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.time2),1)])],2))),128)),e.createElementVNode("div",xb,[bb,e.createElementVNode("div",null,[e.createElementVNode("span",Cb,e.toDisplayString(E.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",Sb,[kb,(Te=E.goodWx)!=null&&Te.distance?(e.openBlock(),e.createElementBlock("div",Ab,[a.computedTimeConclusion(E.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",Bb,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(E.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",wb,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(E.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",Tb,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Ob,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(E.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(E.timeConclusion).conclusion),1)])]),e.createElementVNode("div",Pb,[Fb,(He=E.goodWx)!=null&&He.distance?(e.openBlock(),e.createElementBlock("div",ub,[a.computedFuleConclusion(E.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",Lb,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(E.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",Wb,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Hb,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Mb,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(E.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",Gb,[Ib,(Ge=E.goodWx)!=null&&Ge.distance?(e.openBlock(),e.createElementBlock("div",Rb,[a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",zb,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",Ub,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Yb,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Zb,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",Qb,[$b,e.createElementVNode("div",Jb,[e.createElementVNode("div",Kb,[qb,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Je=o.reportData)==null?void 0:Je.segments,(E,Q)=>(e.openBlock(),e.createElementBlock("div",{class:"remark-speed",key:Q},[e.createElementVNode("div",Xb,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${Q+1}. Phase ${Q+1} Applied `)+" ",1),e.createElementVNode("span",jb,e.toDisplayString(E.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.dgo)+"mt ) ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[Q],(Te,He)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+He},e.toDisplayString(`${Te.port1} (${Te.fullTime1}) to ${Te.port2} (${Te.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",vb,[eC,l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",tC,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(E,Q)=>(e.openBlock(),e.createElementBlock("div",{key:Q},e.toDisplayString(`From ${E.begin} to ${E.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",oC,e.toDisplayString(l.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ke=o.reportData)==null?void 0:Ke.segments,(E,Q)=>{var Te,He,Ge,pe,qe,je,ve,ot,lt,at,nt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ot,Ht,po,Eo,_o,No,Vo,I,tt,Pt,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,$t,Jt,Kt,qt,Xt,jt,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Po,Fo,uo,Lo,Wo,Ho,Mo,Go,Io,Yo,Zo,Qo,$o,Jo,Ko,qo,Xo,jo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,yl,El;return e.openBlock(),e.createElementBlock("div",{class:"phase",key:Q},[e.createElementVNode("div",lC,[e.createElementVNode("div",aC,[e.createElementVNode("div",nC,[e.createElementVNode("div",sC,[iC,e.createElementVNode("span",null,"Phase "+e.toDisplayString(Q+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[Q],(ut,Vl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Vl,class:e.normalizeClass(l.segDetail[Q].length>1?"dashed":"")},[e.createElementVNode("div",cC,[e.createElementVNode("div",null,e.toDisplayString(ut==null?void 0:ut.port1),1),e.createElementVNode("div",null,e.toDisplayString(ut==null?void 0:ut.time1),1)]),e.createElementVNode("div",dC,[e.createElementVNode("div",null,e.toDisplayString(ut==null?void 0:ut.port2),1),e.createElementVNode("div",null,e.toDisplayString(ut==null?void 0:ut.time2),1)])],2))),128)),e.createElementVNode("div",rC,[mC,e.createElementVNode("div",null,[e.createElementVNode("span",pC,e.toDisplayString(E.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.dgo)+"mt",1)])])])]),hC,e.createElementVNode("div",yC,[e.createElementVNode("div",EC,[_C,e.createElementVNode("div",NC,[e.createElementVNode("span",null,e.toDisplayString(((Te=E.goodWx)==null?void 0:Te.avgFoEcaCons)||"-")+" mt",1)]),VC,e.createElementVNode("div",fC,[e.createElementVNode("span",null,e.toDisplayString(((He=E.allWx)==null?void 0:He.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",gC,[DC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ge=E.goodWx)==null?void 0:Ge.outEca.avgFoCons)||"-"),1),xC])]),e.createElementVNode("div",bC,[CC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pe=E.goodWx)==null?void 0:pe.inEca.avgFoEcaCons)||"-"),1),SC])]),e.createElementVNode("div",kC,[AC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((qe=E.allWx)==null?void 0:qe.outEca.avgFoCons)||"-"),1),BC])]),e.createElementVNode("div",wC,[TC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((je=E.allWx)==null?void 0:je.inEca.avgFoEcaCons)||"-"),1),OC])]),PC]),e.createElementVNode("div",FC,[uC,e.createElementVNode("div",LC,[e.createElementVNode("span",null,e.toDisplayString(((ve=E.goodWx)==null?void 0:ve.avgDgoEcaCons)||"-")+" mt",1)]),WC,e.createElementVNode("div",HC,[e.createElementVNode("span",null,e.toDisplayString(((ot=E.allWx)==null?void 0:ot.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",MC,[GC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((lt=E.goodWx)==null?void 0:lt.outEca.avgDgoCons)||"-"),1),IC])]),e.createElementVNode("div",RC,[zC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((at=E.goodWx)==null?void 0:at.inEca.avgDgoEcaCons)||"-"),1),UC])]),e.createElementVNode("div",YC,[ZC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((nt=E.allWx)==null?void 0:nt.outEca.avgDgoCons)||"-"),1),QC])]),e.createElementVNode("div",$C,[JC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=E.allWx)==null?void 0:pt.inEca.avgDgoEcaCons)||"-"),1),KC])]),qC])]),e.createElementVNode("div",XC,[e.createElementVNode("div",jC,[vC,e.createElementVNode("div",e3,[e.createElementVNode("span",null,e.toDisplayString(((ht=E.goodWx)==null?void 0:ht.distance)||"-")+" nm",1)]),t3,e.createElementVNode("div",o3,[e.createElementVNode("span",null,e.toDisplayString(((yt=E.allWx)==null?void 0:yt.distance)||"-")+" nm",1)]),e.createElementVNode("div",l3,[a3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Et=E.goodWx)==null?void 0:Et.outEca.distance)||"-"),1),n3])]),e.createElementVNode("div",s3,[i3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_t=E.goodWx)==null?void 0:_t.inEca.distance)||"-"),1),c3])]),e.createElementVNode("div",d3,[r3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=E.allWx)==null?void 0:Nt.outEca.distance)||"-"),1),m3])]),e.createElementVNode("div",p3,[h3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vt=E.allWx)==null?void 0:Vt.inEca.distance)||"-"),1),y3])])]),e.createElementVNode("div",E3,[_3,e.createElementVNode("div",N3,[e.createElementVNode("span",null,e.toDisplayString(((ft=E.goodWx)==null?void 0:ft.time)||"-")+" hrs",1)]),V3,e.createElementVNode("div",f3,[e.createElementVNode("span",null,e.toDisplayString(((gt=E.allWx)==null?void 0:gt.time)||"-")+" hrs",1)]),e.createElementVNode("div",g3,[D3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=E.goodWx)==null?void 0:Dt.outEca.time)||"-"),1),x3])]),e.createElementVNode("div",b3,[C3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((xt=E.goodWx)==null?void 0:xt.inEca.time)||"-"),1),S3])]),e.createElementVNode("div",k3,[A3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=E.allWx)==null?void 0:bt.outEca.time)||"-"),1),B3])]),e.createElementVNode("div",w3,[T3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=E.allWx)==null?void 0:Ct.inEca.time)||"-"),1),O3])])]),e.createElementVNode("div",P3,[F3,e.createElementVNode("div",u3,[e.createElementVNode("span",null,e.toDisplayString(((St=E.goodWx)==null?void 0:St.avgSpd)||"-")+" kts",1)]),L3,e.createElementVNode("div",W3,[e.createElementVNode("span",null,e.toDisplayString(((kt=E.allWx)==null?void 0:kt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",H3,[M3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=E.goodWx)==null?void 0:At.outEca.avgSpd)||"-"),1),G3])]),e.createElementVNode("div",I3,[R3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Bt=E.goodWx)==null?void 0:Bt.inEca.avgSpd)||"-"),1),z3])]),e.createElementVNode("div",U3,[Y3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=E.allWx)==null?void 0:wt.outEca.avgSpd)||"-"),1),Z3])]),e.createElementVNode("div",Q3,[$3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Tt=E.allWx)==null?void 0:Tt.inEca.avgSpd)||"-"),1),J3])])])]),e.createElementVNode("div",K3,[e.createElementVNode("div",q3,[X3,e.createElementVNode("div",j3,[e.createElementVNode("span",null,e.toDisplayString(((Ot=E.goodWx)==null?void 0:Ot.sumFoCons)||"-")+" mt",1)]),v3,e.createElementVNode("div",eS,[e.createElementVNode("span",null,e.toDisplayString(((Ht=E.allWx)==null?void 0:Ht.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",tS,[oS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((po=E.goodWx)==null?void 0:po.outEca.sumFoCons)||"-"),1),lS])]),e.createElementVNode("div",aS,[nS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Eo=E.goodWx)==null?void 0:Eo.inEca.sumFoCons)||"-"),1),sS])]),e.createElementVNode("div",iS,[cS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_o=E.allWx)==null?void 0:_o.outEca.sumFoCons)||"-"),1),dS])]),e.createElementVNode("div",rS,[mS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((No=E.allWx)==null?void 0:No.inEca.sumFoCons)||"-"),1),pS])])]),e.createElementVNode("div",hS,[yS,e.createElementVNode("div",ES,[e.createElementVNode("span",null,e.toDisplayString(((Vo=E.goodWx)==null?void 0:Vo.sumDgoCons)||"-")+" mt",1)]),_S,e.createElementVNode("div",NS,[e.createElementVNode("span",null,e.toDisplayString(((I=E.allWx)==null?void 0:I.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",VS,[fS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((tt=E.goodWx)==null?void 0:tt.outEca.sumDgoCons)||"-"),1),gS])]),e.createElementVNode("div",DS,[xS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Pt=E.goodWx)==null?void 0:Pt.inEca.sumDgoCons)||"-"),1),bS])]),e.createElementVNode("div",CS,[SS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=E.allWx)==null?void 0:Ft.outEca.sumDgoCons)||"-"),1),kS])]),e.createElementVNode("div",AS,[BS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Mt=E.allWx)==null?void 0:Mt.inEca.sumDgoCons)||"-"),1),wS])])]),e.createElementVNode("div",TS,[OS,e.createElementVNode("div",PS,[e.createElementVNode("span",null,e.toDisplayString(((Gt=E.goodWx)==null?void 0:Gt.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",FS,[uS,(It=E.goodWx)!=null&&It.distance&&!((zt=(Rt=o.reportData)==null?void 0:Rt.weather)!=null&&zt.favorableCur&&((Ut=E.goodWx)==null?void 0:Ut.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",LS,[e.createTextVNode(e.toDisplayString(a.computedPositive((Yt=E.goodWx)==null?void 0:Yt.avgCf)),1),WS])):(e.openBlock(),e.createElementBlock("b",HS,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",MS,[e.createElementVNode("div",GS,[IS,(Zt=E.goodWx)!=null&&Zt.distance?(e.openBlock(),e.createElementBlock("div",RS,[a.computedTimeConclusion(E.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",zS,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(E.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",US,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(E.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",YS,[e.createElementVNode("span",ZS,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",QS,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(E.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(E.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Qt=E.goodWx)!=null&&Qt.distance?"":"analysis-none"} card analysis-card`)},[($t=E.goodWx)!=null&&$t.distance?(e.openBlock(),e.createElementBlock("div",$S,[e.createElementVNode("div",JS,[KS,qS,e.createElementVNode("div",XS,[e.createElementVNode("div",null,e.toDisplayString((Kt=(Jt=o.reportData)==null?void 0:Jt.weather)!=null&&Kt.noExtrapolation?(qt=E.goodWx)==null?void 0:qt.distance:(Xt=E.allWx)==null?void 0:Xt.distance),1),jS,e.createElementVNode("div",null,e.toDisplayString((jt=E.goodWx)==null?void 0:jt.pfmSpd),1)]),vS,e.createElementVNode("div",ek,e.toDisplayString(E.timeConclusion.timeAtPfmSpd)+" Hrs",1),tk]),e.createElementVNode("div",ok,[lk,ak,e.createElementVNode("div",nk,[e.createElementVNode("div",null,e.toDisplayString((eo=(vt=o.reportData)==null?void 0:vt.weather)!=null&&eo.noExtrapolation?(to=E.goodWx)==null?void 0:to.distance:(oo=E.allWx)==null?void 0:oo.distance),1),sk,e.createElementVNode("div",null,e.toDisplayString(E.timeConclusion.minusAbtSpd),1)]),ik,e.createElementVNode("div",ck,e.toDisplayString(E.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),dk]),e.createElementVNode("div",rk,[mk,pk,e.createElementVNode("div",hk,[e.createElementVNode("div",null,e.toDisplayString((ao=(lo=o.reportData)==null?void 0:lo.weather)!=null&&ao.noExtrapolation?(no=E.goodWx)==null?void 0:no.distance:(so=E.allWx)==null?void 0:so.distance),1),yk,e.createElementVNode("div",null,e.toDisplayString(E.timeConclusion.plusAbtSpd),1)]),Ek,e.createElementVNode("div",_k,e.toDisplayString(E.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),Nk])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",Vk,[e.createElementVNode("div",fk,[gk,(io=E.goodWx)!=null&&io.distance?(e.openBlock(),e.createElementBlock("div",Dk,[a.computedFuleConclusion(E.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",xk,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(E.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",bk,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Ck,[e.createElementVNode("span",Sk,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",kk,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(E.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(co=E.goodWx)!=null&&co.distance?"":"analysis-none"} card analysis-card`)},[(fo=E.goodWx)!=null&&fo.distance?(e.openBlock(),e.createElementBlock("div",Ak,[e.createElementVNode("div",Bk,[wk,Tk,e.createElementVNode("div",Ok,[e.createElementVNode("div",null,e.toDisplayString((Do=(go=o.reportData)==null?void 0:go.weather)!=null&&Do.noExtrapolation?(xo=E.goodWx)==null?void 0:xo.distance:(bo=E.allWx)==null?void 0:bo.distance),1),Pk,e.createElementVNode("div",null,e.toDisplayString((Co=E.goodWx)==null?void 0:Co.pfmSpd),1)]),Fk,e.createElementVNode("div",uk,[e.createElementVNode("div",null,e.toDisplayString((So=E.goodWx)==null?void 0:So.sumFoCons)+" "+e.toDisplayString(((ko=E.allWx)==null?void 0:ko.inEca.distance)>0?` + ${E.fuelConclusion.fo.dgoAsFoCons}`:""),1),Lk,e.createElementVNode("div",null,e.toDisplayString((Ao=E.goodWx)==null?void 0:Ao.time),1)]),Wk,e.createElementVNode("div",Hk,e.toDisplayString(E.fuelConclusion.fo.entireCons)+" MT",1),Mk]),e.createElementVNode("div",Gk,[Ik,Rk,e.createElementVNode("div",zk,[e.createElementVNode("div",null,e.toDisplayString((wo=(Bo=o.reportData)==null?void 0:Bo.weather)!=null&&wo.noExtrapolation?(To=E.goodWx)==null?void 0:To.distance:(Oo=E.allWx)==null?void 0:Oo.distance),1),Uk,e.createElementVNode("div",null,e.toDisplayString(E.timeConclusion.minusAbtSpd),1)]),Yk,e.createElementVNode("div",Zk,[e.createElementVNode("div",null,e.toDisplayString(E.fuelConclusion.fo.overTolerance),1),Qk,$k]),Jk,e.createElementVNode("div",Kk,e.toDisplayString(E.fuelConclusion.fo.maxCons)+" MT",1),qk]),e.createElementVNode("div",Xk,[jk,vk,e.createElementVNode("div",e4,[e.createElementVNode("div",null,e.toDisplayString((Fo=(Po=o.reportData)==null?void 0:Po.weather)!=null&&Fo.noExtrapolation?(uo=E.goodWx)==null?void 0:uo.distance:(Lo=E.allWx)==null?void 0:Lo.distance),1),t4,e.createElementVNode("div",null,e.toDisplayString(E.timeConclusion.minusAbtSpd),1)]),o4,e.createElementVNode("div",l4,[e.createElementVNode("div",null,e.toDisplayString(E.fuelConclusion.fo.underTolerance),1),a4,n4]),s4,e.createElementVNode("div",i4,e.toDisplayString(E.fuelConclusion.fo.minCons)+" MT",1),c4])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",d4,[e.createElementVNode("div",r4,[m4,(Wo=E.goodWx)!=null&&Wo.distance?(e.openBlock(),e.createElementBlock("div",p4,[a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",h4,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",y4,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",E4,[e.createElementVNode("span",_4,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",N4,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Ho=E.goodWx)!=null&&Ho.distance?"":"analysis-none"} card analysis-card`)},[(Mo=E.goodWx)!=null&&Mo.distance?(e.openBlock(),e.createElementBlock("div",V4,[e.createElementVNode("div",f4,[g4,D4,e.createElementVNode("div",x4,[e.createElementVNode("div",null,e.toDisplayString((Io=(Go=o.reportData)==null?void 0:Go.weather)!=null&&Io.noExtrapolation?(Yo=E.goodWx)==null?void 0:Yo.distance:(Zo=E.allWx)==null?void 0:Zo.distance),1),b4,e.createElementVNode("div",null,e.toDisplayString((Qo=E.goodWx)==null?void 0:Qo.pfmSpd),1)]),C4,e.createElementVNode("div",S4,[e.createElementVNode("div",null,e.toDisplayString(($o=E.goodWx)==null?void 0:$o.sumDgoCons)+" "+e.toDisplayString(((Jo=E.allWx)==null?void 0:Jo.inEca.distance)>0?` - ${E.fuelConclusion.fo.dgoAsFoCons}`:""),1),k4,e.createElementVNode("div",null,e.toDisplayString((Ko=E.goodWx)==null?void 0:Ko.time),1)]),A4,e.createElementVNode("div",B4,e.toDisplayString(E.fuelConclusion.dgo.entireCons)+" MT",1),w4]),e.createElementVNode("div",T4,[O4,P4,e.createElementVNode("div",F4,[e.createElementVNode("div",null,e.toDisplayString((Xo=(qo=o.reportData)==null?void 0:qo.weather)!=null&&Xo.noExtrapolation?(jo=E.goodWx)==null?void 0:jo.distance:(vo=E.allWx)==null?void 0:vo.distance),1),u4,e.createElementVNode("div",null,e.toDisplayString(E.timeConclusion.minusAbtSpd),1)]),L4,e.createElementVNode("div",W4,[e.createElementVNode("div",null,e.toDisplayString(E.fuelConclusion.dgo.overTolerance),1),H4,M4]),G4,e.createElementVNode("div",I4,e.toDisplayString(E.fuelConclusion.dgo.maxCons)+" MT",1),R4]),e.createElementVNode("div",z4,[U4,Y4,e.createElementVNode("div",Z4,[e.createElementVNode("div",null,e.toDisplayString((tl=(el=o.reportData)==null?void 0:el.weather)!=null&&tl.noExtrapolation?(ol=E.goodWx)==null?void 0:ol.distance:(ll=E.allWx)==null?void 0:ll.distance),1),Q4,e.createElementVNode("div",null,e.toDisplayString(E.timeConclusion.minusAbtSpd),1)]),$4,e.createElementVNode("div",J4,[e.createElementVNode("div",null,e.toDisplayString(E.fuelConclusion.dgo.underTolerance),1),K4,q4]),X4,e.createElementVNode("div",j4,e.toDisplayString(E.fuelConclusion.dgo.minCons)+" MT",1),v4])])):e.createCommentVNode("",!0)],2)])]),e5,e.createElementVNode("div",t5,[e.createElementVNode("div",o5,[l5,e.createElementVNode("div",a5,[e.createElementVNode("div",n5,[s5,i5,e.createElementVNode("div",c5,[e.createElementVNode("div",null,e.toDisplayString((nl=(al=o.reportData)==null?void 0:al.weather)!=null&&nl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),d5,r5]),m5]),e.createElementVNode("div",p5,[h5,y5,e.createElementVNode("div",E5,[e.createElementVNode("div",null,e.toDisplayString((il=(sl=o.reportData)==null?void 0:sl.weather)!=null&&il.noExtrapolation?"Good Weather Distance":"Total Distance"),1),_5,N5]),V5]),e.createElementVNode("div",f5,[g5,D5,e.createElementVNode("div",x5,[e.createElementVNode("div",null,e.toDisplayString((dl=(cl=o.reportData)==null?void 0:cl.weather)!=null&&dl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),b5,C5]),S5]),k5])]),e.createElementVNode("div",A5,[B5,e.createElementVNode("div",w5,[e.createElementVNode("div",T5,[O5,P5,e.createElementVNode("div",F5,[e.createElementVNode("div",null,e.toDisplayString((ml=(rl=o.reportData)==null?void 0:rl.weather)!=null&&ml.noExtrapolation?"Good Weather Distance":"Total Distance"),1),u5,L5]),W5,H5,M5]),e.createElementVNode("div",G5,[I5,R5,e.createElementVNode("div",z5,[e.createElementVNode("div",null,e.toDisplayString((hl=(pl=o.reportData)==null?void 0:pl.weather)!=null&&hl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),U5,Y5]),Z5,Q5,$5]),e.createElementVNode("div",J5,[K5,q5,e.createElementVNode("div",X5,[e.createElementVNode("div",null,e.toDisplayString((El=(yl=o.reportData)==null?void 0:yl.weather)!=null&&El.noExtrapolation?"Good Weather Distance":"Total Distance"),1),j5,v5]),e8,t8,o8]),l8,a8])])])])])}),128))])],2)}const s8=ke(RD,[["render",n8],["__scopeId","data-v-9be6b8be"]]),Wte="",i8={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),t},computedClass(){return function(t,n,o,c){var p;let l="";const a=((p=this.summaryTable)==null?void 0:p.length)-1;return o&&n!==a&&(l=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),(t==null?void 0:t.goodWx)===!0&&!c&&(l=l+" good-weather"),(t==null?void 0:t.excluded)===!0&&!c&&(l=l+" excluded"),l}},computedSegClass(){return function(t,n){var c,l;const o=((c=this.summaryTable)==null?void 0:c.length)-1;if(o>-1){if(t.isFirstSeg&&n!==o)return"td-no-bottom td-top";if((l=this.summaryTable[n+1])!=null&&l.isFirstSeg)return"td-bottom";if(n!==o)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(t){var n;return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&(n=t.noon)!=null&&n.port)}},computedTime(){return function(t,n){return n==="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n==="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):w(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var c,l,a,p;this.showCF=(l=(c=this.reportData)==null?void 0:c.weather)==null?void 0:l.showCF,this.showAisDistance=!0;let t=[];(p=(a=this.reportData)==null?void 0:a.segments)==null||p.forEach((i,_)=>{let g=i.extend.cp;i.inventory.sample.hours.forEach((S,h)=>{let N=JSON.parse(JSON.stringify(S));N.cp=g,t.push(N)})}),t.sort(function(i,_){let g=i.date,S=_.date;return g-S});let n="",o="";t.forEach((i,_)=>{i.seg!==n&&(i.isFirstSeg=!0,n=i.seg);let g=i.type.charAt(0);i.abbreviation=g;const S=w(i.utc).utc().format("D-MMM");S!==o&&(i.lastdate=S,o=S),g==="A"?i.type="":g==="M"&&(i.type="*"),i.time=w(i.utc).utc().format("HH:mm[Z]"),i.lngPretty=this.getLonLat(te.LngLatHelper.lng2pretty(i.lng)),i.latPretty=this.getLonLat(te.LngLatHelper.lat2pretty(i.lat))}),this.summaryTable=t}}},dn=t=>(e.pushScopeId("data-v-a420dc44"),t=t(),e.popScopeId(),t),c8=dn(()=>e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),d8={class:"table",id:"second-table"},r8={class:"summary-table"},m8=dn(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg"),e.createElementVNode("th",{rowspan:"2"},"Type"),e.createElementVNode("th",{rowspan:"2"}," Date "),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{colspan:"2"},"Coordinates"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("CP Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{rowspan:"2"},"Beaufort Wind Scale"),e.createElementVNode("th",{colspan:"2"},"Swell"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sig. Wave"),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Current Factor"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Speed"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{colspan:"2"},"CP Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported Daily Fuel Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported BROB (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Lat"),e.createElementVNode("th",null,"Lon"),e.createElementVNode("th",null,"Direction"),e.createElementVNode("th",null,"Height (m)"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),p8={class:"summary-tbody"},h8=e.createStaticVNode('<div style="page-break-inside:avoid;" class="table-legend dashed" data-v-a420dc44><div class="item" data-v-a420dc44><div class="legend" data-v-a420dc44><div class="legend-bg gwd" data-v-a420dc44></div></div> Good Weather Days </div><div class="item" data-v-a420dc44><div class="legend" data-v-a420dc44><div class="legend-bg adverse" data-v-a420dc44></div></div> Adverse Weather Days </div><div class="item" data-v-a420dc44><div class="legend" data-v-a420dc44><div class="legend-bg excluded" data-v-a420dc44></div></div> Excluded Periods </div></div>',1),y8={class:"voyage-map",style:{"page-break-inside":"avoid"}},E8=dn(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),_8=["src"],N8=e.createStaticVNode('<div class="legend-block" data-v-a420dc44><div style="position:relative;left:-20px;" data-v-a420dc44><div style="position:relative;display:inline-block;top:-12px;left:15px;transform:scale(0.95);" data-v-a420dc44><div data-v-a420dc44>7</div><br data-v-a420dc44><div data-v-a420dc44>W 4</div></div><i class="iconfont" style="font-size:30px;font-weight:600;position:relative;top:-20px;margin:8px 0 0 4px;color:var(--idm-black-6);" data-v-a420dc44></i><div style="display:inline-block;transform:scale(0.95);text-align:left;margin-left:5px;" data-v-a420dc44> LEGEND: <br data-v-a420dc44> Wind from NE(045) <br data-v-a420dc44> Each barb = 10 kts <br data-v-a420dc44> 1/2 barb = 5 kts <br data-v-a420dc44></div></div><div style="transform:scale(0.95);" data-v-a420dc44> 7 - DAY OF THE MONTH <br data-v-a420dc44> W 4 - PRIMARY WAVE FROM WEST, 4 METERS<br data-v-a420dc44><div class="goodWx" data-v-a420dc44>Date</div> Good weather days<br data-v-a420dc44></div></div>',1);function V8(t,n,o,c,l,a){var p,i,_,g,S;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((i=(p=o.reportData)==null?void 0:p.weather)!=null&&i.referenceOnly||(g=(_=o.reportData)==null?void 0:_.weather)!=null&&g.overallAsGoodWx?"watermark fli-main":"fli-main")},[c8,e.createElementVNode("div",d8,[e.createElementVNode("div",null,[e.createElementVNode("table",r8,[m8,e.createElementVNode("tbody",p8,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(h,N)=>{var x,r,C,k,T,u,L,O,b,F,z,Z,U,W,f,Y,R,H,J,K,X,q;return e.openBlock(),e.createElementBlock("tr",{key:N},[e.createElementVNode("td",{class:e.normalizeClass(a.computedSegClass(h,N))},e.toDisplayString(h.isFirstSeg?h.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(h.type),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(h.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(h.time),3),a.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(h.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(h.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString((x=h.noon)==null?void 0:x.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(r=h.cp)==null?void 0:r.speed),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N,!0))},e.toDisplayString(h.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N,!0))},e.toDisplayString(h.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(((k=(C=h.meteo)==null?void 0:C.wind)==null?void 0:k.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(((L=(u=(T=h.meteo)==null?void 0:T.wave)==null?void 0:u.swell)==null?void 0:L.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(((F=(b=(O=h.meteo)==null?void 0:O.wave)==null?void 0:b.swell)==null?void 0:F.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(((U=(Z=(z=h.meteo)==null?void 0:z.wave)==null?void 0:Z.sig)==null?void 0:U.height)??"--"),3),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(((W=h.meteo)==null?void 0:W.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":h.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((f=h.noon)==null?void 0:f.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((Y=h.noon)==null?void 0:Y.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(R=h.cp)==null?void 0:R.fo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(H=h.cp)==null?void 0:H.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((J=h.noon)==null?void 0:J.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((K=h.noon)==null?void 0:K.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":(X=h.noon)==null?void 0:X.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":(q=h.noon)==null?void 0:q.dgoBrob),3)])}),128))])])])]),h8,e.createElementVNode("div",y8,[E8,e.createElementVNode("img",{style:{width:"100%"},src:(S=o.reportData)==null?void 0:S.chartUrl,alt:""},null,8,_8),N8])],2)}const f8=ke(i8,[["render",V8],["__scopeId","data-v-a420dc44"]]),Hte="",g8={components:{Summary:s8,Inventory:f8},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},D8={class:"voyage-report"};function x8(t,n,o,c,l,a){const p=e.resolveComponent("Summary"),i=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",D8,[e.createVNode(p,{reportData:l.reportData,class:"main","editor-disabled":o.editorDisabled,onCommit:a.commit},null,8,["reportData","editor-disabled","onCommit"]),e.createVNode(i,{isAdmin:o.isAdmin,reportData:l.reportData,class:"main"},null,8,["isAdmin","reportData"])])}const Dn=ke(g8,[["render",x8],["__scopeId","data-v-7345a543"]]),Mte="",b8={components:{Lng:va,Lat:en,Editor:zo},props:{report:{type:Object,default:()=>({})}},data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:""}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}},computeWeatherDef(){return function(t){let n="";t!=null&&t.waveSwitch?n+=`Wind wave height is ${t==null?void 0:t.waveHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.swellSwitch?n+=`Swell height is ${t==null?void 0:t.swellHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.sigSwitch&&(n+=`Significant wave height is ${t==null?void 0:t.sigHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`);let o=`Winds are BF/${t==null?void 0:t.windScale} or less, ${n}`;return t!=null&&t.noAdverseCur&&(o+=", No Adverse Current"),t!=null&&t.waterTempSwitch&&(o+=`, water temperature is ${t==null?void 0:t.waterTemp} °C or less`),t!=null&&t.noExtrapolation&&(o+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(o="No specific thresholds for wind/wave/currents are defined in the Charter Party. Therefore the Good Weather Definition in this reports does not apply any thresholds."),o}},computeLng(){return function(t){return te.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return te.LngLatHelper.lat2pretty(t)}},computeAbtSpeed(){return function(t,n,o){return o==="Over"?t.abt4SpdOver:t.abt4SpdUnder}},computeAbtCons(){return function(t,n){return t.consPercentage?n==="Over"?`${t.consOfOver}%`:`${t.consOfUnder}%`:n==="Over"?`${t.consOfOver}`:`${t.consOfUnder}`}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,n;this.remarks=this.report.remarks||"Please double click to modify remark",(n=(t=this.report)==null?void 0:t.segments)==null||n.forEach((o,c)=>{const l=o.excluded;l.sumDistance>0&&l.detail.forEach(a=>{const p={time:w(a.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+w(a.end).utc().format("MMM-DD/HHmm[Z]"),duration:a.duration,distance:a.distance,fo:a.foCons,dgo:a.dgoCons};this.exclusion.push(p)})})},handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleEdit(){this.editable=!0}}},m=t=>(e.pushScopeId("data-v-a4dc10f5"),t=t(),e.popScopeId(),t),C8={class:"report-summary"},S8={class:"section voyage-section flex-space"},k8={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},A8={class:"flex-space label-block",style:{width:"100%"}},B8=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),w8={style:{"text-transform":"uppercase"}},T8={class:"flex-space label-block",style:{width:"100%"}},O8=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),P8={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},F8={class:"flex-space label-block",style:{width:"100%"}},u8=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),L8={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},W8={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},H8={class:"flex-space label-block",style:{width:"100%"}},M8=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),G8={key:0,class:"flex-end",style:{flex:"1"}},I8={key:1,class:"flex-end",style:{flex:"1"}},R8=m(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),z8={class:"flex-end",style:{width:"150px"}},U8={class:"flex-space label-block",style:{width:"100%"}},Y8=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),Z8={key:0,class:"flex-end",style:{flex:"1"}},Q8={key:1,class:"flex-end",style:{flex:"1"}},$8=m(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),J8={class:"flex-end",style:{width:"150px"}},K8={class:"flex-space label-block",style:{width:"100%"}},q8=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),X8={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},j8={class:"section weather-section"},v8=m(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),eA={class:"definition"},tA={class:"txt"},oA={class:"section summary-section"},lA=m(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),aA={class:"phase-box"},nA={class:"phase-index"},sA={class:"phase-position"},iA={key:0},cA={key:1},dA=m(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),rA={class:"phase-position"},mA={key:0},pA={key:1},hA=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),yA={class:"phase-cp flex-space"},EA={class:"cp-box"},_A=m(()=>e.createElementVNode("div",{class:"flex-space"},[e.createElementVNode("label",null,"CP"),e.createElementVNode("label",null,"SPEED (kts)"),e.createElementVNode("label",null,"DAILY FO CONS (mt)"),e.createElementVNode("label",null,"DAILY DO/GO CONS (mt)")],-1)),NA={class:"flex-space"},VA=m(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),fA=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),gA=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),DA=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),xA=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),bA=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),CA=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),SA=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),kA={class:"phase-conclusion flex-space"},AA={class:"item-conclusion"},BA=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),wA={class:"value flex-start"},TA=m(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),OA={key:0,class:"label flex-end"},PA={key:0},FA={key:1},uA={key:2},LA={key:1,class:"label flex-end"},WA={key:2,class:"value flex-end"},HA={key:0},MA=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),GA={class:"gain"},IA=m(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),RA={key:1},zA=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),UA={class:"lost"},YA=m(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),ZA={key:2},QA={class:"item-conclusion"},$A=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),JA={class:"value flex-start"},KA=m(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),qA={key:0,class:"label flex-end"},XA={key:0},jA={key:1},vA={key:2},eB={key:1,class:"label flex-end"},tB={key:2,class:"value flex-end"},oB={key:0},lB=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),aB={class:"gain"},nB=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),sB={key:1},iB=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),cB={class:"lost"},dB=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),rB={key:2},mB={class:"item-conclusion"},pB=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),hB={class:"value flex-start"},yB=m(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),EB={key:0,class:"label flex-end"},_B={key:0},NB={key:1},VB={key:2},fB={key:1,class:"label flex-end"},gB={key:2,class:"value flex-end"},DB={key:0},xB=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),bB={class:"gain"},CB=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),SB={key:1},kB=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),AB={class:"lost"},BB=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),wB={key:2},TB=m(()=>e.createElementVNode("div",{class:"tips flex-end"}," *Please see voyage analysis pages for the details. ",-1)),OB=m(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),PB={key:0,class:"exclusion-block"},FB=m(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),uB=m(()=>e.createElementVNode("div",{class:"sub-title"},[e.createElementVNode("div",null," The voyage analysis does not include following information on time, distance, and consumed fuel. ")],-1)),LB={style:{margin:"8px 0"}},WB={class:"remark-table"},HB=m(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td"),e.createElementVNode("td",{style:{width:"40%"}},"Time"),e.createElementVNode("td",null,"Duration (hrs)"),e.createElementVNode("td",null,"Distance (nm)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),MB=["innerHTML"],GB={class:"section segment-section"},IB=m(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),RB={class:"segment-index flex-center"},zB={class:"segment-position"},UB={key:0},YB={key:1},ZB=m(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),QB={class:"segment-position"},$B={key:0},JB={key:1},KB=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),qB={style:{margin:"10px 0 0"}},XB=m(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label",style:{width:"35%"}}),e.createElementVNode("td",{class:"label",colspan:"2"},"Good Weather"),e.createElementVNode("td",{class:"label",colspan:"2"},"All Weather")],-1)),jB=m(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label"}),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA"),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA")],-1)),vB=m(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),ew={class:"good-wx"},tw={class:"good-wx"},ow=m(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),lw={class:"good-wx"},aw={class:"good-wx"},nw=m(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),sw={class:"good-wx"},iw={class:"good-wx"},cw=m(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),dw={class:"good-wx"},rw={class:"good-wx"},mw=m(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),pw={class:"good-wx"},hw={class:"good-wx"},yw=m(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),Ew={class:"good-wx"},_w={class:"good-wx"},Nw=m(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),Vw={class:"good-wx"},fw={class:"good-wx"},gw={key:0,class:"flex-end tip"},Dw={key:1,class:"segment-speed"},xw={class:"flex-center"},bw=m(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Cw={class:"speed-right flex-space"},Sw=m(()=>e.createElementVNode("span",null,"-",-1)),kw=m(()=>e.createElementVNode("span",null,"-",-1)),Aw=m(()=>e.createElementVNode("label",null,"=",-1)),Bw={class:"speed"},ww=m(()=>e.createElementVNode("span",null,"-",-1)),Tw=m(()=>e.createElementVNode("label",null,"=",-1)),Ow={class:"speed"},Pw={key:2,class:"under"},Fw={key:3,class:"over"},uw={class:"flex-center"},Lw=m(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Ww={class:"speed-right formula flex-space"},Hw=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Mw=m(()=>e.createElementVNode("label",null,"-",-1)),Gw=m(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Iw=m(()=>e.createElementVNode("label",null,"-",-1)),Rw=m(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),zw=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Uw=m(()=>e.createElementVNode("label",null,"-",-1)),Yw=m(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Zw=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Qw=m(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),$w={key:2,class:"segment-speed"},Jw={class:"flex-center"},Kw=m(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),qw={class:"speed-right flex-space"},Xw=m(()=>e.createElementVNode("span",null,"-",-1)),jw=m(()=>e.createElementVNode("span",null,"-",-1)),vw=m(()=>e.createElementVNode("label",null,"=",-1)),e7={class:"speed"},t7=m(()=>e.createElementVNode("span",null,"-",-1)),o7=m(()=>e.createElementVNode("label",null,"=",-1)),l7={class:"speed"},a7={key:2,class:"under"},n7={key:3,class:"over"},s7={class:"flex-center"},i7=m(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),c7={class:"speed-right formula flex-space"},d7=m(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),r7=m(()=>e.createElementVNode("label",null,"-",-1)),m7=m(()=>e.createElementVNode("label",null,"Current Factor",-1)),p7=m(()=>e.createElementVNode("label",null,"-",-1)),h7=m(()=>e.createElementVNode("label",null,"Weather Factor",-1)),y7=m(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),E7=m(()=>e.createElementVNode("label",null,"-",-1)),_7=m(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),N7=m(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),V7=m(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),f7={class:"segment-formula"},g7={class:"header-block flex-start"},D7=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),x7={class:"title"},b7={key:0,style:{"margin-left":"4px","font-weight":"300"}},C7={class:"formula-block"},S7={class:"flex-evenly"},k7=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),A7={class:"formula-right flex-evenly"},B7={class:"fraction",style:{width:"240px"}},w7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),T7=m(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),O7=m(()=>e.createElementVNode("div",null,"(a)",-1)),P7={class:"flex-center"},F7={class:"formula-left flex-space"},u7=m(()=>e.createElementVNode("label",null,"=",-1)),L7={class:"formula-right flex-evenly"},W7={class:"fraction",style:{width:"240px"}},H7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),M7=m(()=>e.createElementVNode("div",null,"(b)",-1)),G7={class:"flex-center"},I7={class:"formula-left flex-space"},R7=m(()=>e.createElementVNode("label",null,"=",-1)),z7={class:"formula-right flex-evenly"},U7={class:"fraction",style:{width:"240px"}},Y7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),Z7=m(()=>e.createElementVNode("div",null,"(c)",-1)),Q7=e.createStaticVNode('<div class="flex-start" data-v-a4dc10f5><div class="flex-space" style="width:300px;font-weight:400;" data-v-a4dc10f5><label data-v-a4dc10f5>Time Lost</label><div data-v-a4dc10f5>=</div><div data-v-a4dc10f5>(a)</div><div data-v-a4dc10f5>-</div><div data-v-a4dc10f5>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-a4dc10f5><label data-v-a4dc10f5>Time Gained</label><div data-v-a4dc10f5>=</div><div data-v-a4dc10f5>(c)</div><div data-v-a4dc10f5>-</div><div data-v-a4dc10f5>(a)</div></div></div>',1),$7={class:"formula-desc"},J7={class:"flex-end"},K7=m(()=>e.createElementVNode("label",null,"Time Lost",-1)),q7={class:"flex-end"},X7=m(()=>e.createElementVNode("label",null,"Time Gained",-1)),j7={class:"flex-end"},v7=m(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),e6={key:0,class:"formula-block",style:{"font-weight":"400"}},t6={class:"flex-evenly"},o6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),l6={class:"formula-right flex-evenly"},a6={class:"fraction",style:{width:"240px"}},n6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),s6=m(()=>e.createElementVNode("div",null,"=",-1)),i6=m(()=>e.createElementVNode("div",null,"(a')",-1)),c6={class:"flex-center"},d6={class:"formula-left flex-space"},r6=m(()=>e.createElementVNode("label",null,"=",-1)),m6={class:"formula-right flex-evenly"},p6={class:"fraction",style:{width:"240px"}},h6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),y6=m(()=>e.createElementVNode("div",null,"=",-1)),E6=m(()=>e.createElementVNode("div",null,"(b')",-1)),_6={class:"flex-center"},N6={class:"formula-left flex-space"},V6=m(()=>e.createElementVNode("label",null,"=",-1)),f6={class:"formula-right flex-evenly"},g6={class:"fraction",style:{width:"240px"}},D6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),x6=m(()=>e.createElementVNode("div",null,"=",-1)),b6=m(()=>e.createElementVNode("div",null,"(c')",-1)),C6={class:"formula-conclusion",style:{"margin-bottom":"0"}},S6={key:0,class:"flex-evenly",style:{width:"500px"}},k6=m(()=>e.createElementVNode("div",null,"Time Lost",-1)),A6=m(()=>e.createElementVNode("div",null,"=",-1)),B6=m(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),w6=m(()=>e.createElementVNode("div",null,"=",-1)),T6=m(()=>e.createElementVNode("div",null,"-",-1)),O6=m(()=>e.createElementVNode("div",null,"=",-1)),P6={key:1,class:"flex-evenly",style:{width:"500px"}},F6=m(()=>e.createElementVNode("div",null,"Time Lost",-1)),u6=m(()=>e.createElementVNode("div",null,"=",-1)),L6=m(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),W6=m(()=>e.createElementVNode("div",null,"=",-1)),H6=m(()=>e.createElementVNode("div",null,"-",-1)),M6=m(()=>e.createElementVNode("div",null,"=",-1)),G6=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),I6={key:1,class:"formula-conclusion"},R6=m(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),z6={class:"segment-formula"},U6={class:"header-block flex-start"},Y6=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Z6={class:"title"},Q6={key:0,style:{"margin-left":"4px","font-weight":"300"}},$6={class:"formula-block"},J6={class:"flex-evenly"},K6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),q6={class:"formula-right flex-evenly"},X6={class:"fraction",style:{width:"240px"}},j6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),v6=m(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),e9=m(()=>e.createElementVNode("div",null,"x",-1)),t9=m(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Good Weather Consumption*"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),o9=m(()=>e.createElementVNode("div",null,"(d)",-1)),l9={style:{"line-height":"1"}},a9=m(()=>e.createElementVNode("div",{class:"tips flex-end",style:{"font-size":"14px"}},"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),n9={key:0,class:"tips flex-end",style:{"font-size":"14px"}},s9={class:"flex-center"},i9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),c9={class:"formula-right flex-evenly"},d9={class:"fraction",style:{width:"240px"}},r9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),m9=m(()=>e.createElementVNode("div",null,"x",-1)),p9=m(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Daily CP Consumption + Consumer Over"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"24 hours")],-1)),h9=m(()=>e.createElementVNode("div",null,"(e)",-1)),y9={class:"flex-center"},E9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),_9={class:"formula-right flex-evenly"},N9={class:"fraction",style:{width:"240px"}},V9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),f9=m(()=>e.createElementVNode("div",null,"x",-1)),g9=m(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Daily CP Consumption - Consumer Under"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"24 hours")],-1)),D9=m(()=>e.createElementVNode("div",null,"(f)",-1)),x9=e.createStaticVNode('<div class="flex-start" data-v-a4dc10f5><div class="flex-space" style="width:300px;font-weight:400;" data-v-a4dc10f5><label data-v-a4dc10f5>Fuel Over-consumption</label><div data-v-a4dc10f5>=</div><div data-v-a4dc10f5>(d)</div><div data-v-a4dc10f5>-</div><div data-v-a4dc10f5>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-a4dc10f5><label data-v-a4dc10f5>Fuel Saving</label><div data-v-a4dc10f5>=</div><div data-v-a4dc10f5>(f)</div><div data-v-a4dc10f5>-</div><div data-v-a4dc10f5>(d)</div></div></div>',1),b9={class:"flex-center"},C9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),S9={class:"formula-right flex-evenly"},k9={class:"fraction",style:{width:"270px"}},A9=m(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),B9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),w9={class:"flex-center"},T9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),O9={class:"formula-right flex-evenly"},P9={class:"fraction",style:{width:"270px"}},F9=m(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),u9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),L9=m(()=>e.createElementVNode("div",{class:"formula-desc"},[e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"Fuel Over-consumption"),e.createElementVNode("div",null," Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption ")]),e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"Fuel Saving"),e.createElementVNode("div",null," Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption ")]),e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"No Fuel Over-consumption or Saving"),e.createElementVNode("div",null,"Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption")])],-1)),W9={class:"header-block flex-start",style:{"margin-top":"10px"}},H9=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),M9={class:"title"},G9={key:0,class:"formula-block"},I9={class:"flex-evenly"},R9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),z9={class:"formula-right flex-evenly"},U9={class:"fraction",style:{width:"240px"}},Y9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),Z9=m(()=>e.createElementVNode("div",null,"x",-1)),Q9={class:"fraction",style:{width:"240px"}},$9={key:0},J9=m(()=>e.createElementVNode("span",null," + ",-1)),K9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),q9=m(()=>e.createElementVNode("div",null,"=",-1)),X9=m(()=>e.createElementVNode("div",null,"(d')",-1)),j9={class:"flex-evenly"},v9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),eT={class:"formula-right flex-evenly"},tT={class:"fraction",style:{width:"240px"}},oT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),lT=m(()=>e.createElementVNode("div",null,"x",-1)),aT={class:"fraction",style:{width:"240px"}},nT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),sT=m(()=>e.createElementVNode("div",null,"24",-1)),iT=m(()=>e.createElementVNode("div",null,"=",-1)),cT=m(()=>e.createElementVNode("div",null,"(e')",-1)),dT={class:"flex-evenly"},rT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),mT={class:"formula-right flex-evenly"},pT={class:"fraction",style:{width:"240px"}},hT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),yT=m(()=>e.createElementVNode("div",null,"x",-1)),ET={class:"fraction",style:{width:"240px"}},_T=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),NT=m(()=>e.createElementVNode("div",null,"24",-1)),VT=m(()=>e.createElementVNode("div",null,"=",-1)),fT=m(()=>e.createElementVNode("div",null,"(f')",-1)),gT={class:"formula-conclusion",style:{"margin-bottom":"0"}},DT={class:"flex-evenly",style:{width:"500px"}},xT=m(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),bT=m(()=>e.createElementVNode("div",null,"=",-1)),CT=m(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),ST=m(()=>e.createElementVNode("div",null,"=",-1)),kT=m(()=>e.createElementVNode("div",null,"-",-1)),AT=m(()=>e.createElementVNode("div",null,"=",-1)),BT={key:0,class:"flex-evenly"},wT=m(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),TT=m(()=>e.createElementVNode("div",null,"=",-1)),OT={class:"fraction"},PT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),FT=m(()=>e.createElementVNode("div",null,"=",-1)),uT={class:"flex-evenly",style:{width:"700px"}},LT=m(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),WT=m(()=>e.createElementVNode("div",null,"=",-1)),HT=m(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),MT=m(()=>e.createElementVNode("div",null,"=",-1)),GT=m(()=>e.createElementVNode("div",null,"-",-1)),IT=m(()=>e.createElementVNode("div",null,"=",-1)),RT={key:0,class:"flex-evenly",style:{width:"500px"}},zT=m(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),UT=m(()=>e.createElementVNode("div",null,"=",-1)),YT={class:"fraction",style:{width:"140px"}},ZT=m(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),QT=m(()=>e.createElementVNode("div",null,"=",-1)),$T=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),JT={key:1,class:"formula-conclusion"},KT={class:"header-block flex-end",style:{"margin-top":"10px"}},qT=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),XT={class:"title"},jT={key:0,class:"formula-block"},vT={class:"flex-evenly"},eO=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),tO={class:"formula-right flex-evenly"},oO={class:"fraction",style:{width:"240px"}},lO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),aO=m(()=>e.createElementVNode("div",null,"x",-1)),nO={class:"fraction",style:{width:"240px"}},sO={key:0},iO=m(()=>e.createElementVNode("span",null," - ",-1)),cO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),dO=m(()=>e.createElementVNode("div",null,"=",-1)),rO=m(()=>e.createElementVNode("div",null,"(d'')",-1)),mO={class:"flex-evenly"},pO=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),hO={class:"formula-right flex-evenly"},yO={class:"fraction",style:{width:"240px"}},EO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),_O=m(()=>e.createElementVNode("div",null,"x",-1)),NO={class:"fraction",style:{width:"240px"}},VO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),fO=m(()=>e.createElementVNode("div",null,"24",-1)),gO=m(()=>e.createElementVNode("div",null,"=",-1)),DO=m(()=>e.createElementVNode("div",null,"(e'')",-1)),xO={class:"flex-evenly"},bO=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),CO={class:"formula-right flex-evenly"},SO={class:"fraction",style:{width:"240px"}},kO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),AO=m(()=>e.createElementVNode("div",null,"x",-1)),BO={class:"fraction",style:{width:"240px"}},wO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),TO=m(()=>e.createElementVNode("div",null,"24",-1)),OO=m(()=>e.createElementVNode("div",null,"=",-1)),PO=m(()=>e.createElementVNode("div",null,"(f'')",-1)),FO={class:"formula-conclusion",style:{"margin-bottom":"0"}},uO={key:0,class:"flex-evenly",style:{width:"500px"}},LO=m(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),WO=m(()=>e.createElementVNode("div",null,"=",-1)),HO=m(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),MO=m(()=>e.createElementVNode("div",null,"=",-1)),GO=m(()=>e.createElementVNode("div",null,"-",-1)),IO=m(()=>e.createElementVNode("div",null,"=",-1)),RO={key:1,class:"flex-evenly",style:{width:"700px"}},zO=m(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),UO=m(()=>e.createElementVNode("div",null,"=",-1)),YO=m(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),ZO=m(()=>e.createElementVNode("div",null,"=",-1)),QO=m(()=>e.createElementVNode("div",null,"-",-1)),$O=m(()=>e.createElementVNode("div",null,"=",-1)),JO=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),KO={key:1,class:"formula-conclusion"};function qO(t,n,o,c,l,a){var g,S,h,N,x,r,C,k,T,u,L,O,b,F,z,Z,U,W,f,Y,R,H,J,K,X,q,V,M,$;const p=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),_=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",C8,[e.createElementVNode("div",S8,[e.createElementVNode("div",k8,[e.createElementVNode("div",A8,[B8,e.createElementVNode("span",w8,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",T8,[O8,e.createElementVNode("span",P8,e.toDisplayString((S=(g=o.report)==null?void 0:g.vessel)==null?void 0:S.name)+" ("+e.toDisplayString((N=(h=o.report)==null?void 0:h.vessel)==null?void 0:N.type)+")",1)]),e.createElementVNode("div",F8,[u8,e.createElementVNode("span",L8,e.toDisplayString((r=(x=o.report)==null?void 0:x.voyage)==null?void 0:r.number),1)])]),e.createElementVNode("div",W8,[e.createElementVNode("div",H8,[M8,(k=(C=o.report)==null?void 0:C.departure)!=null&&k.portName?(e.openBlock(),e.createElementBlock("span",G8,e.toDisplayString((u=(T=o.report)==null?void 0:T.departure)==null?void 0:u.portName),1)):(e.openBlock(),e.createElementBlock("div",I8,[e.createVNode(p,{lat:(O=(L=o.report)==null?void 0:L.departure)==null?void 0:O.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),R8,e.createVNode(i,{lng:(b=o.report.departure)==null?void 0:b.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",z8,e.toDisplayString(a.computeUTCTime((F=o.report.departure)==null?void 0:F.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",U8,[Y8,(Z=(z=o.report)==null?void 0:z.arrival)!=null&&Z.portName?(e.openBlock(),e.createElementBlock("span",Z8,e.toDisplayString((W=(U=o.report)==null?void 0:U.arrival)==null?void 0:W.portName),1)):(e.openBlock(),e.createElementBlock("div",Q8,[e.createVNode(p,{lat:(Y=(f=o.report)==null?void 0:f.arrival)==null?void 0:Y.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),$8,e.createVNode(i,{lng:(H=(R=o.report)==null?void 0:R.arrival)==null?void 0:H.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",J8,e.toDisplayString(a.computeUTCTime((K=(J=o.report)==null?void 0:J.arrival)==null?void 0:K.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",K8,[q8,e.createElementVNode("span",X8,e.toDisplayString((q=(X=o.report)==null?void 0:X.voyage)==null?void 0:q.loadCondition),1)])])]),e.createElementVNode("div",j8,[v8,e.createElementVNode("div",eA,[e.createElementVNode("div",tA,e.toDisplayString(a.computeWeatherDef(o.report.weather)),1)])]),e.createElementVNode("div",oA,[lA,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((V=o.report)==null?void 0:V.segments,(s,j)=>{var d,v,le,ee,ie,ce,de,re,Ee,ae,he,_e,Ne,Ve,fe,ge,De,xe,be,Ce,Oe,Pe,ye,P,me,Fe,ue,Le,Se,We,Ue,Ye,G,we,Me,Ze,Qe,$e,Je,Ke,E;return e.openBlock(),e.createElementBlock("div",{class:"segment-box flex-space",key:"summary"+j},[e.createElementVNode("div",aA,[e.createElementVNode("div",nA,"Seg."+e.toDisplayString(j+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((d=s==null?void 0:s.extend)==null?void 0:d.segTimes,(Q,Te)=>{var He,Ge,pe,qe,je,ve,ot,lt,at,nt;return e.openBlock(),e.createElementBlock("div",{class:"phase-row flex-space",key:Te},[e.createElementVNode("div",sA,[(He=Q==null?void 0:Q.departure)!=null&&He.portName?(e.openBlock(),e.createElementBlock("span",iA,e.toDisplayString((Ge=Q==null?void 0:Q.departure)==null?void 0:Ge.portName),1)):(e.openBlock(),e.createElementBlock("span",cA,e.toDisplayString(a.computeLat((pe=Q==null?void 0:Q.departure)==null?void 0:pe.lat).pretty)+", "+e.toDisplayString(a.computeLng((qe=Q==null?void 0:Q.departure)==null?void 0:qe.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((je=Q==null?void 0:Q.departure)==null?void 0:je.utcTime))+")",1)]),dA,e.createElementVNode("div",rA,[(ve=Q==null?void 0:Q.arrival)!=null&&ve.portName?(e.openBlock(),e.createElementBlock("span",mA,e.toDisplayString((ot=Q==null?void 0:Q.arrival)==null?void 0:ot.portName),1)):(e.openBlock(),e.createElementBlock("span",pA,e.toDisplayString(a.computeLat((lt=Q==null?void 0:Q.arrival)==null?void 0:lt.lat).pretty)+", "+e.toDisplayString(a.computeLng((at=Q==null?void 0:Q.arrival)==null?void 0:at.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((nt=Q==null?void 0:Q.arrival)==null?void 0:nt.utcTime))+")",1)])])}),128)),hA,e.createElementVNode("div",yA,[e.createElementVNode("div",EA,[_A,e.createElementVNode("div",NA,[VA,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((le=(v=s==null?void 0:s.extend)==null?void 0:v.cp)==null?void 0:le.speed)+" |",1),e.createElementVNode("span",null,[fA,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(ie=(ee=s==null?void 0:s.extend)==null?void 0:ee.cp)==null?void 0:ie.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[gA,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(de=(ce=s==null?void 0:s.extend)==null?void 0:ce.cp)==null?void 0:de.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((Ee=(re=s==null?void 0:s.extend)==null?void 0:re.cp)==null?void 0:Ee.fo)+" |",1),e.createElementVNode("span",null,[DA,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[xA,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((he=(ae=s==null?void 0:s.extend)==null?void 0:ae.cp)==null?void 0:he.dgo)+" |",1),e.createElementVNode("span",null,[bA,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[CA,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Under")),1)])])])])]),SA,e.createElementVNode("div",kA,[e.createElementVNode("div",AA,[BA,e.createElementVNode("div",wA,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.time),1),TA]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",OA,[((_e=s==null?void 0:s.timeConclusion)==null?void 0:_e.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",PA," Time Gained ")):((Ne=s==null?void 0:s.timeConclusion)==null?void 0:Ne.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",FA," Time Lost ")):(e.openBlock(),e.createElementBlock("div",uA,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",LA,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",WA,[((Ve=s==null?void 0:s.timeConclusion)==null?void 0:Ve.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",HA,[MA,e.createElementVNode("span",GA,e.toDisplayString((fe=s==null?void 0:s.timeConclusion)==null?void 0:fe.timeGain),1),IA])):((ge=s==null?void 0:s.timeConclusion)==null?void 0:ge.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",RA,[zA,e.createElementVNode("span",UA,e.toDisplayString((De=s==null?void 0:s.timeConclusion)==null?void 0:De.timeLost),1),YA])):(e.openBlock(),e.createElementBlock("div",ZA,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",QA,[$A,e.createElementVNode("div",JA,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.sumFoCons),1),KA]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",qA,[((be=(xe=s==null?void 0:s.fuelConclusion)==null?void 0:xe.fo)==null?void 0:be.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",XA," FO Saving ")):((Oe=(Ce=s==null?void 0:s.fuelConclusion)==null?void 0:Ce.fo)==null?void 0:Oe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",jA," FO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",vA,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",eB,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",tB,[((ye=(Pe=s==null?void 0:s.fuelConclusion)==null?void 0:Pe.fo)==null?void 0:ye.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",oB,[lB,e.createElementVNode("span",aB,e.toDisplayString((me=(P=s==null?void 0:s.fuelConclusion)==null?void 0:P.fo)==null?void 0:me.saving),1),nB])):((ue=(Fe=s==null?void 0:s.fuelConclusion)==null?void 0:Fe.fo)==null?void 0:ue.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",sB,[iB,e.createElementVNode("span",cB,e.toDisplayString((Se=(Le=s==null?void 0:s.fuelConclusion)==null?void 0:Le.fo)==null?void 0:Se.overCons),1),dB])):(e.openBlock(),e.createElementBlock("div",rB,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",mB,[pB,e.createElementVNode("div",hB,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.sumDgoCons),1),yB]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",EB,[((Ue=(We=s==null?void 0:s.fuelConclusion)==null?void 0:We.dgo)==null?void 0:Ue.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",_B," DO/GO Saving ")):((G=(Ye=s==null?void 0:s.fuelConclusion)==null?void 0:Ye.dgo)==null?void 0:G.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",NB," DO/GO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",VB,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",fB,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",gB,[((Me=(we=s==null?void 0:s.fuelConclusion)==null?void 0:we.dgo)==null?void 0:Me.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",DB,[xB,e.createElementVNode("span",bB,e.toDisplayString((Qe=(Ze=s==null?void 0:s.fuelConclusion)==null?void 0:Ze.dgo)==null?void 0:Qe.saving),1),CB])):((Je=($e=s==null?void 0:s.fuelConclusion)==null?void 0:$e.dgo)==null?void 0:Je.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",SB,[kB,e.createElementVNode("span",AB,e.toDisplayString((E=(Ke=s==null?void 0:s.fuelConclusion)==null?void 0:Ke.dgo)==null?void 0:E.overCons),1),BB])):(e.openBlock(),e.createElementBlock("div",wB,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),TB]),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((M=o.report)==null?void 0:M.remarks)&&!l.exclusion.length?"section remark-section print-hidden":"section remark-section")},[OB,l.exclusion.length?(e.openBlock(),e.createElementBlock("div",PB,[FB,uB,e.createElementVNode("div",LB,[e.createElementVNode("table",WB,[HB,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.exclusion,(s,j)=>(e.openBlock(),e.createElementBlock("tr",{key:j},[e.createElementVNode("td",null,e.toDisplayString(j+1),1),e.createElementVNode("td",null,e.toDisplayString(s.time),1),e.createElementVNode("td",null,e.toDisplayString(s.duration),1),e.createElementVNode("td",null,e.toDisplayString(s.distance),1),e.createElementVNode("td",null,e.toDisplayString(s.fo),1),e.createElementVNode("td",null,e.toDisplayString(s.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml(($=o.report)==null?void 0:$.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[l.editable?(e.openBlock(),e.createBlock(_,{key:0,modelValue:l.remarks,"onUpdate:modelValue":n[0]||(n[0]=s=>l.remarks=s),class:"editor",height:"120px",onBlur:n[1]||(n[1]=s=>a.handleCommit(s))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[2]||(n[2]=(...s)=>a.handleEdit&&a.handleEdit(...s)),innerHTML:l.remarks},null,40,MB))],2)],2),e.createElementVNode("div",GB,[IB,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.report.segments,(s,j)=>{var d,v,le,ee,ie,ce,de,re,Ee,ae,he,_e,Ne,Ve,fe,ge,De,xe,be,Ce,Oe,Pe,ye,P,me,Fe,ue,Le,Se,We,Ue,Ye,G,we,Me,Ze,Qe,$e,Je,Ke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(e.Fragment,null,e.renderList((d=s==null?void 0:s.extend)==null?void 0:d.segTimes,(Xe,tte)=>{var ai,ni,si,ii,ci,di,ri,mi,pi,hi;return e.openBlock(),e.createElementBlock("div",{class:"segment-row flex-space",key:tte},[e.createElementVNode("div",zB,[(ai=Xe==null?void 0:Xe.departure)!=null&&ai.portName?(e.openBlock(),e.createElementBlock("span",UB,e.toDisplayString((ni=Xe==null?void 0:Xe.departure)==null?void 0:ni.portName),1)):(e.openBlock(),e.createElementBlock("span",YB,e.toDisplayString(a.computeLat((si=Xe==null?void 0:Xe.departure)==null?void 0:si.lat).pretty)+", "+e.toDisplayString(a.computeLng((ii=Xe==null?void 0:Xe.departure)==null?void 0:ii.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((ci=Xe==null?void 0:Xe.departure)==null?void 0:ci.utcTime))+")",1)]),ZB,e.createElementVNode("div",QB,[(di=Xe==null?void 0:Xe.arrival)!=null&&di.portName?(e.openBlock(),e.createElementBlock("span",$B,e.toDisplayString((ri=Xe==null?void 0:Xe.arrival)==null?void 0:ri.portName),1)):(e.openBlock(),e.createElementBlock("span",JB,e.toDisplayString(a.computeLat((mi=Xe==null?void 0:Xe.arrival)==null?void 0:mi.lat).pretty)+", "+e.toDisplayString(a.computeLng((pi=Xe==null?void 0:Xe.arrival)==null?void 0:pi.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((hi=Xe==null?void 0:Xe.arrival)==null?void 0:hi.utcTime))+")",1)])])}),128)),KB,e.createElementVNode("div",qB,[e.createElementVNode("table",null,[XB,jB,e.createElementVNode("tr",null,[vB,e.createElementVNode("td",ew,e.toDisplayString((le=(v=s==null?void 0:s.goodWx)==null?void 0:v.outEca)==null?void 0:le.distance),1),e.createElementVNode("td",tw,e.toDisplayString((ie=(ee=s==null?void 0:s.goodWx)==null?void 0:ee.inEca)==null?void 0:ie.distance),1),e.createElementVNode("td",null,e.toDisplayString((de=(ce=s==null?void 0:s.allWx)==null?void 0:ce.outEca)==null?void 0:de.distance),1),e.createElementVNode("td",null,e.toDisplayString((Ee=(re=s==null?void 0:s.allWx)==null?void 0:re.inEca)==null?void 0:Ee.distance),1)]),e.createElementVNode("tr",null,[ow,e.createElementVNode("td",lw,e.toDisplayString((he=(ae=s==null?void 0:s.goodWx)==null?void 0:ae.outEca)==null?void 0:he.time),1),e.createElementVNode("td",aw,e.toDisplayString((Ne=(_e=s==null?void 0:s.goodWx)==null?void 0:_e.inEca)==null?void 0:Ne.time),1),e.createElementVNode("td",null,e.toDisplayString((fe=(Ve=s==null?void 0:s.allWx)==null?void 0:Ve.outEca)==null?void 0:fe.time),1),e.createElementVNode("td",null,e.toDisplayString((De=(ge=s==null?void 0:s.allWx)==null?void 0:ge.inEca)==null?void 0:De.time),1)]),e.createElementVNode("tr",null,[nw,e.createElementVNode("td",sw,e.toDisplayString(((be=(xe=s==null?void 0:s.goodWx)==null?void 0:xe.outEca)==null?void 0:be.avgSpd)||"--"),1),e.createElementVNode("td",iw,e.toDisplayString(((Oe=(Ce=s==null?void 0:s.goodWx)==null?void 0:Ce.inEca)==null?void 0:Oe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ye=(Pe=s==null?void 0:s.allWx)==null?void 0:Pe.outEca)==null?void 0:ye.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((me=(P=s==null?void 0:s.allWx)==null?void 0:P.inEca)==null?void 0:me.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[cw,e.createElementVNode("td",dw,e.toDisplayString(((ue=(Fe=s==null?void 0:s.goodWx)==null?void 0:Fe.outEca)==null?void 0:ue.sumFoCons)||"--"),1),e.createElementVNode("td",rw,e.toDisplayString(((Se=(Le=s==null?void 0:s.goodWx)==null?void 0:Le.inEca)==null?void 0:Se.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ue=(We=s==null?void 0:s.allWx)==null?void 0:We.outEca)==null?void 0:Ue.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((G=(Ye=s==null?void 0:s.allWx)==null?void 0:Ye.inEca)==null?void 0:G.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[mw,e.createElementVNode("td",pw,e.toDisplayString(((Me=(we=s==null?void 0:s.goodWx)==null?void 0:we.outEca)==null?void 0:Me.avgFoCons)||"--"),1),e.createElementVNode("td",hw,e.toDisplayString(((Qe=(Ze=s==null?void 0:s.goodWx)==null?void 0:Ze.inEca)==null?void 0:Qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Je=($e=s==null?void 0:s.allWx)==null?void 0:$e.outEca)==null?void 0:Je.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((E=(Ke=s==null?void 0:s.allWx)==null?void 0:Ke.inEca)==null?void 0:E.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[yw,e.createElementVNode("td",Ew,e.toDisplayString(((Te=(Q=s==null?void 0:s.goodWx)==null?void 0:Q.outEca)==null?void 0:Te.sumDgoCons)||"--"),1),e.createElementVNode("td",_w,e.toDisplayString(((Ge=(He=s==null?void 0:s.goodWx)==null?void 0:He.inEca)==null?void 0:Ge.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((qe=(pe=s==null?void 0:s.allWx)==null?void 0:pe.outEca)==null?void 0:qe.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ve=(je=s==null?void 0:s.allWx)==null?void 0:je.inEca)==null?void 0:ve.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[Nw,e.createElementVNode("td",Vw,e.toDisplayString(((lt=(ot=s==null?void 0:s.goodWx)==null?void 0:ot.outEca)==null?void 0:lt.avgDgoCons)||"--"),1),e.createElementVNode("td",fw,e.toDisplayString(((nt=(at=s==null?void 0:s.goodWx)==null?void 0:at.inEca)==null?void 0:nt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ht=(pt=s==null?void 0:s.allWx)==null?void 0:pt.outEca)==null?void 0:ht.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Et=(yt=s==null?void 0:s.allWx)==null?void 0:yt.inEca)==null?void 0:Et.avgDgoCons)||"--"),1)])])]),(_t=l.exclusion[j])!=null&&_t.time?(e.openBlock(),e.createElementBlock("div",gw," *The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel. ")):e.createCommentVNode("",!0),(Nt=s==null?void 0:s.goodWx)!=null&&Nt.distance?(e.openBlock(),e.createElementBlock("div",Dw,[e.createElementVNode("div",xw,[bw,e.createElementVNode("div",Cw,[(ft=(Vt=o.report)==null?void 0:Vt.weather)!=null&&ft.favorableCur&&((gt=s==null?void 0:s.goodWx)==null?void 0:gt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Ht=(Ot=o.report)==null?void 0:Ot.weather)!=null&&Ht.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((po=s==null?void 0:s.goodWx)==null?void 0:po.avgSpd),1),ww,e.createElementVNode("span",null,e.toDisplayString(((Eo=s==null?void 0:s.goodWx)==null?void 0:Eo.avgWf)>0?(_o=s==null?void 0:s.goodWx)==null?void 0:_o.avgWf:`(${(No=s==null?void 0:s.goodWx)==null?void 0:No.avgWf})`),1),Tw],64)):e.createCommentVNode("",!0),e.createElementVNode("span",Ow,e.toDisplayString((Vo=s==null?void 0:s.goodWx)==null?void 0:Vo.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((Dt=s==null?void 0:s.goodWx)==null?void 0:Dt.avgSpd),1),Sw,e.createElementVNode("span",null,e.toDisplayString(((xt=s==null?void 0:s.goodWx)==null?void 0:xt.avgCf)>0?(bt=s==null?void 0:s.goodWx)==null?void 0:bt.avgCf:`(${(Ct=s==null?void 0:s.goodWx)==null?void 0:Ct.avgCf})`),1),(kt=(St=o.report)==null?void 0:St.weather)!=null&&kt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[kw,e.createElementVNode("span",null,e.toDisplayString(((At=s==null?void 0:s.goodWx)==null?void 0:At.avgWf)>0?(Bt=s==null?void 0:s.goodWx)==null?void 0:Bt.avgWf:`(${(wt=s==null?void 0:s.goodWx)==null?void 0:wt.avgWf})`),1)],64)):e.createCommentVNode("",!0),Aw,e.createElementVNode("span",Bw,e.toDisplayString((Tt=s==null?void 0:s.goodWx)==null?void 0:Tt.pfmSpd)+" (kts)",1)],64)),((I=s==null?void 0:s.goodWx)==null?void 0:I.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",Pw,"(Under-performance)")):e.createCommentVNode("",!0),((tt=s==null?void 0:s.goodWx)==null?void 0:tt.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",Fw,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",uw,[Lw,e.createElementVNode("div",Ww,[(Ft=(Pt=o.report)==null?void 0:Pt.weather)!=null&&Ft.favorableCur&&((Mt=s==null?void 0:s.goodWx)==null?void 0:Mt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(zt=(Rt=o.report)==null?void 0:Rt.weather)!=null&&zt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[zw,Uw,Yw],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Zw,Qw],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Hw,Mw,Gw,(It=(Gt=o.report)==null?void 0:Gt.weather)!=null&&It.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Iw,Rw],64)):e.createCommentVNode("",!0)],64))])])])):(e.openBlock(),e.createElementBlock("div",$w,[e.createElementVNode("div",Jw,[Kw,e.createElementVNode("div",qw,[(Yt=(Ut=o.report)==null?void 0:Ut.weather)!=null&&Yt.favorableCur&&((Zt=s==null?void 0:s.allWx)==null?void 0:Zt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((eo=s==null?void 0:s.allWx)==null?void 0:eo.avgSpd),1),t7,e.createElementVNode("span",null,e.toDisplayString(((to=s==null?void 0:s.allWx)==null?void 0:to.avgWf)>0?(oo=s==null?void 0:s.allWx)==null?void 0:oo.avgWf:`(${(lo=s==null?void 0:s.allWx)==null?void 0:lo.avgWf})`),1),o7,e.createElementVNode("span",l7,e.toDisplayString((ao=s==null?void 0:s.allWx)==null?void 0:ao.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((Qt=s==null?void 0:s.allWx)==null?void 0:Qt.avgSpd),1),Xw,e.createElementVNode("span",null,e.toDisplayString((($t=s==null?void 0:s.allWx)==null?void 0:$t.avgCf)>0?(Jt=s==null?void 0:s.allWx)==null?void 0:Jt.avgCf:`(${(Kt=s==null?void 0:s.allWx)==null?void 0:Kt.avgCf})`),1),jw,e.createElementVNode("span",null,e.toDisplayString(((qt=s==null?void 0:s.allWx)==null?void 0:qt.avgWf)>0?(Xt=s==null?void 0:s.allWx)==null?void 0:Xt.avgWf:`(${(jt=s==null?void 0:s.allWx)==null?void 0:jt.avgWf})`),1),vw,e.createElementVNode("span",e7,e.toDisplayString((vt=s==null?void 0:s.allWx)==null?void 0:vt.pfmSpd)+" (kts)",1)],64)),((no=s==null?void 0:s.allWx)==null?void 0:no.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",a7,"(Under-performance)")):e.createCommentVNode("",!0),((so=s==null?void 0:s.allWx)==null?void 0:so.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",n7,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",s7,[i7,e.createElementVNode("div",c7,[(co=(io=o.report)==null?void 0:io.weather)!=null&&co.favorableCur&&((fo=s==null?void 0:s.allWx)==null?void 0:fo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[y7,E7,_7,N7],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[d7,r7,m7,p7,h7],64))])])])),V7,e.createElementVNode("div",f7,[e.createElementVNode("div",g7,[D7,e.createElementVNode("div",x7,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(j+1)+" Time Analysis",1),(Do=(go=o.report)==null?void 0:go.weather)!=null&&Do.noExtrapolation?(e.openBlock(),e.createElementBlock("span",b7,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",C7,[e.createElementVNode("div",S7,[k7,e.createElementVNode("div",A7,[e.createElementVNode("div",B7,[e.createElementVNode("div",null,e.toDisplayString((bo=(xo=o.report)==null?void 0:xo.weather)!=null&&bo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),w7,T7]),O7])]),e.createElementVNode("div",P7,[e.createElementVNode("div",F7,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(So=(Co=s==null?void 0:s.extend)==null?void 0:Co.cp)==null?void 0:So.speed,"Under"))+"kts)",1),u7]),e.createElementVNode("div",L7,[e.createElementVNode("div",W7,[e.createElementVNode("div",null,e.toDisplayString((Ao=(ko=o.report)==null?void 0:ko.weather)!=null&&Ao.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),H7,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(wo=(Bo=s==null?void 0:s.extend)==null?void 0:Bo.cp)==null?void 0:wo.speed,"Under"))+"kts",1)]),M7])]),e.createElementVNode("div",G7,[e.createElementVNode("div",I7,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Oo=(To=s==null?void 0:s.extend)==null?void 0:To.cp)==null?void 0:Oo.speed,"Over"))+"kts)",1),R7]),e.createElementVNode("div",z7,[e.createElementVNode("div",U7,[e.createElementVNode("div",null,e.toDisplayString((Fo=(Po=o.report)==null?void 0:Po.weather)!=null&&Fo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Y7,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Lo=(uo=s==null?void 0:s.extend)==null?void 0:uo.cp)==null?void 0:Lo.speed,"Over"))+"kts",1)]),Z7])]),Q7]),e.createElementVNode("div",$7,[e.createElementVNode("div",J7,[K7,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Ho=(Wo=s==null?void 0:s.extend)==null?void 0:Wo.cp)==null?void 0:Ho.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",q7,[X7,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Go=(Mo=s==null?void 0:s.extend)==null?void 0:Mo.cp)==null?void 0:Go.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",j7,[v7,e.createElementVNode("div",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Yo=(Io=s==null?void 0:s.extend)==null?void 0:Io.cp)==null?void 0:Yo.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Qo=(Zo=s==null?void 0:s.extend)==null?void 0:Zo.cp)==null?void 0:Qo.speed,"Under"))+" kts)",1)])]),($o=s==null?void 0:s.goodWx)!=null&&$o.distance?(e.openBlock(),e.createElementBlock("div",e6,[e.createElementVNode("div",t6,[o6,e.createElementVNode("div",l6,[e.createElementVNode("div",a6,[e.createElementVNode("div",null,e.toDisplayString((Ko=(Jo=o.report)==null?void 0:Jo.weather)!=null&&Ko.noExtrapolation?(qo=s==null?void 0:s.goodWx)==null?void 0:qo.distance:(Xo=s==null?void 0:s.allWx)==null?void 0:Xo.distance),1),n6,e.createElementVNode("div",null,e.toDisplayString((jo=s==null?void 0:s.goodWx)==null?void 0:jo.pfmSpd),1)]),s6,e.createElementVNode("div",null,e.toDisplayString((vo=s==null?void 0:s.timeConclusion)==null?void 0:vo.timeAtPfmSpd)+" (hrs)",1),i6])]),e.createElementVNode("div",c6,[e.createElementVNode("div",d6,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(tl=(el=s==null?void 0:s.extend)==null?void 0:el.cp)==null?void 0:tl.speed,"Under"))+"kts)",1),r6]),e.createElementVNode("div",m6,[e.createElementVNode("div",p6,[e.createElementVNode("div",null,e.toDisplayString((ll=(ol=o.report)==null?void 0:ol.weather)!=null&&ll.noExtrapolation?(al=s==null?void 0:s.goodWx)==null?void 0:al.distance:(nl=s==null?void 0:s.allWx)==null?void 0:nl.distance),1),h6,e.createElementVNode("div",null,e.toDisplayString((sl=s==null?void 0:s.timeConclusion)==null?void 0:sl.minusAbtSpd),1)]),y6,e.createElementVNode("div",null,e.toDisplayString((il=s==null?void 0:s.timeConclusion)==null?void 0:il.timeAtMinusAbtSpd)+" (hrs)",1),E6])]),e.createElementVNode("div",_6,[e.createElementVNode("div",N6,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(dl=(cl=s==null?void 0:s.extend)==null?void 0:cl.cp)==null?void 0:dl.speed,"Over"))+"kts)",1),V6]),e.createElementVNode("div",f6,[e.createElementVNode("div",g6,[e.createElementVNode("div",null,e.toDisplayString((ml=(rl=o.report)==null?void 0:rl.weather)!=null&&ml.noExtrapolation?(pl=s==null?void 0:s.goodWx)==null?void 0:pl.distance:(hl=s==null?void 0:s.allWx)==null?void 0:hl.distance),1),D6,e.createElementVNode("div",null,e.toDisplayString((yl=s==null?void 0:s.timeConclusion)==null?void 0:yl.plusAbtSpd),1)]),x6,e.createElementVNode("div",null,e.toDisplayString((El=s==null?void 0:s.timeConclusion)==null?void 0:El.timeAtPlusAbtSpd)+" (hrs)",1),b6])]),e.createElementVNode("div",C6,[((ut=s==null?void 0:s.timeConclusion)==null?void 0:ut.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",S6,[k6,A6,B6,w6,e.createElementVNode("div",null,e.toDisplayString((Vl=s==null?void 0:s.timeConclusion)==null?void 0:Vl.timeAtPfmSpd),1),T6,e.createElementVNode("div",null,e.toDisplayString((Dl=s==null?void 0:s.timeConclusion)==null?void 0:Dl.timeAtMinusAbtSpd),1),O6,e.createElementVNode("div",null,e.toDisplayString((xl=s==null?void 0:s.timeConclusion)==null?void 0:xl.timeLost)+" (hrs)",1)])):((bl=s==null?void 0:s.timeConclusion)==null?void 0:bl.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",P6,[F6,u6,L6,W6,e.createElementVNode("div",null,e.toDisplayString((Cl=s==null?void 0:s.timeConclusion)==null?void 0:Cl.timeAtPlusAbtSpd),1),H6,e.createElementVNode("div",null,e.toDisplayString((Sl=s==null?void 0:s.timeConclusion)==null?void 0:Sl.timeAtPfmSpd),1),M6,e.createElementVNode("div",null,e.toDisplayString((kl=s==null?void 0:s.timeConclusion)==null?void 0:kl.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Al=s==null?void 0:s.timeConclusion)==null?void 0:Al.conclusionStatus)==="Lost"?"flex-center lost":((Bl=s==null?void 0:s.timeConclusion)==null?void 0:Bl.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[G6,e.createElementVNode("div",null,e.toDisplayString(((wl=s==null?void 0:s.timeConclusion)==null?void 0:wl.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",I6,e.toDisplayString(l.noGoodWxDay),1))]),R6,e.createElementVNode("div",z6,[e.createElementVNode("div",U6,[Y6,e.createElementVNode("div",Z6,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(j+1)+" Consumption Analysis",1),(Ol=(Tl=o.report)==null?void 0:Tl.weather)!=null&&Ol.noExtrapolation?(e.openBlock(),e.createElementBlock("span",Q6,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",$6,[e.createElementVNode("div",J6,[K6,e.createElementVNode("div",q6,[e.createElementVNode("div",X6,[e.createElementVNode("div",null,e.toDisplayString((Fl=(Pl=o.report)==null?void 0:Pl.weather)!=null&&Fl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),j6,v6]),e9,t9,o9])]),e.createElementVNode("div",l9,[a9,((Ll=(ul=s.extend)==null?void 0:ul.cp)==null?void 0:Ll.dgo)>0?(e.openBlock(),e.createElementBlock("div",n9,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",s9,[i9,e.createElementVNode("div",c9,[e.createElementVNode("div",d9,[e.createElementVNode("div",null,e.toDisplayString((Hl=(Wl=o.report)==null?void 0:Wl.weather)!=null&&Hl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),r9,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Gl=(Ml=s==null?void 0:s.extend)==null?void 0:Ml.cp)==null?void 0:Gl.speed,"Under"))+"kts",1)]),m9,p9,h9])]),e.createElementVNode("div",y9,[E9,e.createElementVNode("div",_9,[e.createElementVNode("div",N9,[e.createElementVNode("div",null,e.toDisplayString((Rl=(Il=o.report)==null?void 0:Il.weather)!=null&&Rl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),V9,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Ul=(zl=s==null?void 0:s.extend)==null?void 0:zl.cp)==null?void 0:Ul.speed,"Under"))+"kts",1)]),f9,g9,D9])]),x9,((Zl=(Yl=s.extend)==null?void 0:Yl.cp)==null?void 0:Zl.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",b9,[C9,e.createElementVNode("div",S9,[e.createElementVNode("div",k9,[A9,B9,e.createElementVNode("div",null,e.toDisplayString(($l=(Ql=o.report)==null?void 0:Ql.weather)!=null&&$l.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",w9,[T9,e.createElementVNode("div",O9,[e.createElementVNode("div",P9,[F9,u9,e.createElementVNode("div",null,e.toDisplayString((Kl=(Jl=o.report)==null?void 0:Jl.weather)!=null&&Kl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),L9,e.createElementVNode("div",W9,[H9,e.createElementVNode("div",M9,"Seg. "+e.toDisplayString(j+1)+" Fuel Oil",1)]),(ql=s==null?void 0:s.goodWx)!=null&&ql.distance?(e.openBlock(),e.createElementBlock("div",G9,[e.createElementVNode("div",I9,[R9,e.createElementVNode("div",z9,[e.createElementVNode("div",U9,[e.createElementVNode("div",null,e.toDisplayString((jl=(Xl=o.report)==null?void 0:Xl.weather)!=null&&jl.noExtrapolation?(vl=s==null?void 0:s.goodWx)==null?void 0:vl.distance:(ea=s==null?void 0:s.allWx)==null?void 0:ea.distance),1),Y9,e.createElementVNode("div",null,e.toDisplayString((ta=s==null?void 0:s.goodWx)==null?void 0:ta.pfmSpd),1)]),Z9,e.createElementVNode("div",Q9,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((oa=s==null?void 0:s.goodWx)==null?void 0:oa.sumFoCons),1),((aa=(la=s==null?void 0:s.goodWx)==null?void 0:la.inEca)==null?void 0:aa.distance)>0?(e.openBlock(),e.createElementBlock("span",$9,[J9,e.createElementVNode("span",null,e.toDisplayString((sa=(na=s==null?void 0:s.fuelConclusion)==null?void 0:na.fo)==null?void 0:sa.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),K9,e.createElementVNode("div",null,e.toDisplayString((ia=s==null?void 0:s.goodWx)==null?void 0:ia.time),1)]),q9,e.createElementVNode("div",null,e.toDisplayString((da=(ca=s.fuelConclusion)==null?void 0:ca.fo)==null?void 0:da.entireCons)+" (mt)",1),X9])]),e.createElementVNode("div",j9,[v9,e.createElementVNode("div",eT,[e.createElementVNode("div",tT,[e.createElementVNode("div",null,e.toDisplayString((ma=(ra=o.report)==null?void 0:ra.weather)!=null&&ma.noExtrapolation?(pa=s==null?void 0:s.goodWx)==null?void 0:pa.distance:(ha=s==null?void 0:s.allWx)==null?void 0:ha.distance),1),oT,e.createElementVNode("div",null,e.toDisplayString((ya=s==null?void 0:s.timeConclusion)==null?void 0:ya.minusAbtSpd),1)]),lT,e.createElementVNode("div",aT,[e.createElementVNode("div",null,e.toDisplayString((_a=(Ea=s==null?void 0:s.fuelConclusion)==null?void 0:Ea.fo)==null?void 0:_a.overTolerance),1),nT,sT]),iT,e.createElementVNode("div",null,e.toDisplayString((Va=(Na=s.fuelConclusion)==null?void 0:Na.fo)==null?void 0:Va.maxCons)+" (mt)",1),cT])]),e.createElementVNode("div",dT,[rT,e.createElementVNode("div",mT,[e.createElementVNode("div",pT,[e.createElementVNode("div",null,e.toDisplayString((ga=(fa=o.report)==null?void 0:fa.weather)!=null&&ga.noExtrapolation?(Da=s==null?void 0:s.goodWx)==null?void 0:Da.distance:(xa=s==null?void 0:s.allWx)==null?void 0:xa.distance),1),hT,e.createElementVNode("div",null,e.toDisplayString((ba=s==null?void 0:s.timeConclusion)==null?void 0:ba.minusAbtSpd),1)]),yT,e.createElementVNode("div",ET,[e.createElementVNode("div",null,e.toDisplayString((Sa=(Ca=s==null?void 0:s.fuelConclusion)==null?void 0:Ca.fo)==null?void 0:Sa.underTolerance),1),_T,NT]),VT,e.createElementVNode("div",null,e.toDisplayString((Aa=(ka=s.fuelConclusion)==null?void 0:ka.fo)==null?void 0:Aa.minCons)+" (mt)",1),fT])]),e.createElementVNode("div",gT,[((wa=(Ba=s==null?void 0:s.fuelConclusion)==null?void 0:Ba.fo)==null?void 0:wa.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",DT,[xT,bT,CT,ST,e.createElementVNode("div",null,e.toDisplayString((Oa=(Ta=s==null?void 0:s.fuelConclusion)==null?void 0:Ta.fo)==null?void 0:Oa.entireCons),1),kT,e.createElementVNode("div",null,e.toDisplayString((Fa=(Pa=s==null?void 0:s.fuelConclusion)==null?void 0:Pa.fo)==null?void 0:Fa.maxCons),1),AT,e.createElementVNode("div",null,e.toDisplayString((La=(ua=s==null?void 0:s.fuelConclusion)==null?void 0:ua.fo)==null?void 0:La.overCons),1)]),(Ha=(Wa=s==null?void 0:s.goodWx)==null?void 0:Wa.inEca)!=null&&Ha.distance?(e.openBlock(),e.createElementBlock("div",BT,[wT,TT,e.createElementVNode("div",OT,[e.createElementVNode("div",null,e.toDisplayString((Ga=(Ma=s==null?void 0:s.goodWx)==null?void 0:Ma.inEca)==null?void 0:Ga.distance)+" * "+e.toDisplayString((Ra=(Ia=s==null?void 0:s.fuelConclusion)==null?void 0:Ia.fo)==null?void 0:Ra.overCons),1),PT,e.createElementVNode("div",null,e.toDisplayString((Ua=(za=o.report)==null?void 0:za.weather)!=null&&Ua.noExtrapolation?(Ya=s==null?void 0:s.goodWx)==null?void 0:Ya.distance:(Za=s==null?void 0:s.allWx)==null?void 0:Za.distance),1)]),FT,e.createElementVNode("div",null,e.toDisplayString((ro=(ne=s==null?void 0:s.fuelConclusion)==null?void 0:ne.fo)==null?void 0:ro.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):(($a=(Qa=s==null?void 0:s.fuelConclusion)==null?void 0:Qa.fo)==null?void 0:$a.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",uT,[LT,WT,HT,MT,e.createElementVNode("div",null,e.toDisplayString((se=(Ja=s==null?void 0:s.fuelConclusion)==null?void 0:Ja.fo)==null?void 0:se.minCons),1),GT,e.createElementVNode("div",null,e.toDisplayString((Ka=(mo=s==null?void 0:s.fuelConclusion)==null?void 0:mo.fo)==null?void 0:Ka.entireCons),1),IT,e.createElementVNode("div",null,e.toDisplayString((Xa=(qa=s==null?void 0:s.fuelConclusion)==null?void 0:qa.fo)==null?void 0:Xa.saving)+" (mt)",1)]),(ln=(rt=s==null?void 0:s.goodWx)==null?void 0:rt.inEca)!=null&&ln.distance?(e.openBlock(),e.createElementBlock("div",RT,[zT,UT,e.createElementVNode("div",YT,[e.createElementVNode("div",null,e.toDisplayString((nn=(an=o.report)==null?void 0:an.weather)!=null&&nn.noExtrapolation?(Lt=(sn=s==null?void 0:s.goodWx)==null?void 0:sn.inEca)==null?void 0:Lt.distance:(Rn=(In=s==null?void 0:s.allWx)==null?void 0:In.inEca)==null?void 0:Rn.distance)+" * "+e.toDisplayString((Un=(zn=s==null?void 0:s.fuelConclusion)==null?void 0:zn.fo)==null?void 0:Un.saving),1),ZT,e.createElementVNode("div",null,e.toDisplayString((Zn=(Yn=o.report)==null?void 0:Yn.weather)!=null&&Zn.noExtrapolation?(Qn=s==null?void 0:s.goodWx)==null?void 0:Qn.distance:($n=s==null?void 0:s.allWx)==null?void 0:$n.distance),1)]),QT,e.createElementVNode("div",null,e.toDisplayString((Kn=(Jn=s==null?void 0:s.fuelConclusion)==null?void 0:Jn.fo)==null?void 0:Kn.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Xn=(qn=s==null?void 0:s.fuelConclusion)==null?void 0:qn.fo)==null?void 0:Xn.conclusionStatus)==="Over"?"flex-center lost":((vn=(jn=s==null?void 0:s.fuelConclusion)==null?void 0:jn.fo)==null?void 0:vn.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[$T,e.createElementVNode("div",null,e.toDisplayString(((ts=(es=s==null?void 0:s.fuelConclusion)==null?void 0:es.fo)==null?void 0:ts.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",JT,e.toDisplayString(l.noGoodWxDay),1)),((ls=(os=s==null?void 0:s.extend)==null?void 0:os.cp)==null?void 0:ls.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",KT,[qT,e.createElementVNode("div",XT,"Seg. "+e.toDisplayString(j+1)+" Diesel/Gas Oil ",1)]),(as=s==null?void 0:s.goodWx)!=null&&as.distance?(e.openBlock(),e.createElementBlock("div",jT,[e.createElementVNode("div",vT,[eO,e.createElementVNode("div",tO,[e.createElementVNode("div",oO,[e.createElementVNode("div",null,e.toDisplayString((ss=(ns=o.report)==null?void 0:ns.weather)!=null&&ss.noExtrapolation?(is=s==null?void 0:s.goodWx)==null?void 0:is.distance:(cs=s==null?void 0:s.allWx)==null?void 0:cs.distance),1),lO,e.createElementVNode("div",null,e.toDisplayString((ds=s==null?void 0:s.goodWx)==null?void 0:ds.pfmSpd),1)]),aO,e.createElementVNode("div",nO,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((rs=s==null?void 0:s.goodWx)==null?void 0:rs.sumDgoCons),1),((ps=(ms=s==null?void 0:s.goodWx)==null?void 0:ms.inEca)==null?void 0:ps.distance)>0?(e.openBlock(),e.createElementBlock("span",sO,[iO,e.createElementVNode("span",null,e.toDisplayString((ys=(hs=s==null?void 0:s.fuelConclusion)==null?void 0:hs.fo)==null?void 0:ys.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),cO,e.createElementVNode("div",null,e.toDisplayString((Es=s==null?void 0:s.goodWx)==null?void 0:Es.time),1)]),dO,e.createElementVNode("div",null,e.toDisplayString((Ns=(_s=s.fuelConclusion)==null?void 0:_s.dgo)==null?void 0:Ns.entireCons)+" (mt)",1),rO])]),e.createElementVNode("div",mO,[pO,e.createElementVNode("div",hO,[e.createElementVNode("div",yO,[e.createElementVNode("div",null,e.toDisplayString((fs=(Vs=o.report)==null?void 0:Vs.weather)!=null&&fs.noExtrapolation?(gs=s==null?void 0:s.goodWx)==null?void 0:gs.distance:(Ds=s==null?void 0:s.allWx)==null?void 0:Ds.distance),1),EO,e.createElementVNode("div",null,e.toDisplayString((xs=s==null?void 0:s.timeConclusion)==null?void 0:xs.minusAbtSpd),1)]),_O,e.createElementVNode("div",NO,[e.createElementVNode("div",null,e.toDisplayString((Cs=(bs=s==null?void 0:s.fuelConclusion)==null?void 0:bs.dgo)==null?void 0:Cs.overTolerance),1),VO,fO]),gO,e.createElementVNode("div",null,e.toDisplayString((ks=(Ss=s.fuelConclusion)==null?void 0:Ss.dgo)==null?void 0:ks.maxCons)+" (mt)",1),DO])]),e.createElementVNode("div",xO,[bO,e.createElementVNode("div",CO,[e.createElementVNode("div",SO,[e.createElementVNode("div",null,e.toDisplayString((Bs=(As=o.report)==null?void 0:As.weather)!=null&&Bs.noExtrapolation?(ws=s==null?void 0:s.goodWx)==null?void 0:ws.distance:(Ts=s==null?void 0:s.allWx)==null?void 0:Ts.distance),1),kO,e.createElementVNode("div",null,e.toDisplayString((Os=s==null?void 0:s.timeConclusion)==null?void 0:Os.minusAbtSpd),1)]),AO,e.createElementVNode("div",BO,[e.createElementVNode("div",null,e.toDisplayString((Fs=(Ps=s==null?void 0:s.fuelConclusion)==null?void 0:Ps.dgo)==null?void 0:Fs.underTolerance),1),wO,TO]),OO,e.createElementVNode("div",null,e.toDisplayString((Ls=(us=s.fuelConclusion)==null?void 0:us.dgo)==null?void 0:Ls.minCons)+" (mt)",1),PO])]),e.createElementVNode("div",FO,[((Hs=(Ws=s==null?void 0:s.fuelConclusion)==null?void 0:Ws.dgo)==null?void 0:Hs.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",uO,[LO,WO,HO,MO,e.createElementVNode("div",null,e.toDisplayString((Gs=(Ms=s==null?void 0:s.fuelConclusion)==null?void 0:Ms.dgo)==null?void 0:Gs.entireCons),1),GO,e.createElementVNode("div",null,e.toDisplayString((Rs=(Is=s==null?void 0:s.fuelConclusion)==null?void 0:Is.dgo)==null?void 0:Rs.maxCons),1),IO,e.createElementVNode("div",null,e.toDisplayString((Us=(zs=s==null?void 0:s.fuelConclusion)==null?void 0:zs.dgo)==null?void 0:Us.overCons),1)])):((Zs=(Ys=s==null?void 0:s.fuelConclusion)==null?void 0:Ys.fo)==null?void 0:Zs.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",RO,[zO,UO,YO,ZO,e.createElementVNode("div",null,e.toDisplayString(($s=(Qs=s==null?void 0:s.fuelConclusion)==null?void 0:Qs.dgo)==null?void 0:$s.minCons),1),QO,e.createElementVNode("div",null,e.toDisplayString((Ks=(Js=s==null?void 0:s.fuelConclusion)==null?void 0:Js.dgo)==null?void 0:Ks.entireCons),1),$O,e.createElementVNode("div",null,e.toDisplayString((Xs=(qs=s==null?void 0:s.fuelConclusion)==null?void 0:qs.dgo)==null?void 0:Xs.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((vs=(js=s==null?void 0:s.fuelConclusion)==null?void 0:js.dgo)==null?void 0:vs.conclusionStatus)==="Over"?"flex-center lost":((ti=(ei=s==null?void 0:s.fuelConclusion)==null?void 0:ei.dgo)==null?void 0:ti.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[JO,e.createElementVNode("div",null,e.toDisplayString(((li=(oi=s==null?void 0:s.fuelConclusion)==null?void 0:oi.dgo)==null?void 0:li.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",KO,e.toDisplayString(l.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const XO=ke(b8,[["render",qO],["__scopeId","data-v-a4dc10f5"]]),Gte="",jO={components:{},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]},showFactor:{type:Boolean,default:!1}},data(){return{showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,showWaterTemp:!1}},computed:{computeTDClass(){return function(t){const n=[];return n.push(t.noonLength?"no-border-bottom":"no-border"),n.push(t.excluded?"excluded":t.goodWx?"good-wx":""),n.join(" ")}},computeWxColspan(){let t=12;return this.showCF||(t-=2),this.showAisDistance||(t-=2),this.showWave||(t-=1),this.showSwell||(t-=1),this.showSig||(t-=1),this.showWaterTemp||(t-=1),t},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}},computeLng(){return function(t){return te.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return te.LngLatHelper.lat2pretty(t)}},computePrecision(){return function(t,n=2,o="0.0"){return t?te.roundPrecision(t,n):o}}},watch:{report:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,n,o,c,l,a,p,i,_,g,S,h;this.showCF=((n=(t=this.report)==null?void 0:t.weather)==null?void 0:n.showCF)??!1,this.showAisDistance=((c=(o=this.report)==null?void 0:o.weather)==null?void 0:c.showAisDistance)??!0,this.showSig=((a=(l=this.report)==null?void 0:l.weather)==null?void 0:a.showSig)??!0,this.showSwell=((i=(p=this.report)==null?void 0:p.weather)==null?void 0:i.showSwell)??!0,this.showWave=((g=(_=this.report)==null?void 0:_.weather)==null?void 0:g.showWave)??!0,this.showWaterTemp=((h=(S=this.report)==null?void 0:S.weather)==null?void 0:h.waterTempSwitch)||!1}}},Be=t=>(e.pushScopeId("data-v-058514fe"),t=t(),e.popScopeId(),t),vO={class:"report-inventory"},eP={class:"section summary-section"},tP=Be(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),oP={class:"summary-block"},lP=Be(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label",rowspan:"2"},"Seg."),e.createElementVNode("th",{class:"label",rowspan:"2"},"Periods"),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Distance"),e.createElementVNode("div",null,"(nm)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Time"),e.createElementVNode("div",null,"(hrs)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Average Speed"),e.createElementVNode("div",null,"(kts)")]),e.createElementVNode("th",{class:"label",colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"DO/GO")])],-1)),aP={class:"label",rowspan:"4"},nP=Be(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),sP=Be(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),iP=Be(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),cP=Be(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),dP={class:"section inventory-section"},rP=e.createStaticVNode('<div class="legends flex-space" data-v-058514fe><div class="flex-start" style="flex:1.2;" data-v-058514fe><div class="legend good-wx" data-v-058514fe></div><div class="label flex-end" data-v-058514fe>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-058514fe><div class="legend adverse-wx" data-v-058514fe></div><div class="label" data-v-058514fe>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-058514fe><div class="legend excluded" data-v-058514fe></div><div class="label" data-v-058514fe>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-058514fe><div data-v-058514fe><label data-v-058514fe>B</label><span data-v-058514fe>BOSP</span></div><div data-v-058514fe><label data-v-058514fe>N</label><span data-v-058514fe>NOON</span></div><div data-v-058514fe><label data-v-058514fe>E</label><span data-v-058514fe>EOSP</span></div><div data-v-058514fe><label data-v-058514fe>*</label><span data-v-058514fe>Ship Reported Position</span></div></div></div>',1),mP={class:"inventory-block flex-center"},pP={style:{"font-size":"12px"}},hP=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),yP=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),EP=Be(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),_P=Be(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),NP=["colspan"],VP={key:0,class:"label",colspan:"2"},fP=Be(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),gP=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),DP=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),xP=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),bP=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),CP=Be(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),SP={key:0,class:"label",rowspan:"2"},kP=Be(()=>e.createElementVNode("br",null,null,-1)),AP={key:1,class:"label",rowspan:"2"},BP=Be(()=>e.createElementVNode("br",null,null,-1)),wP=Be(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),TP={key:2,class:"label",rowspan:"2"},OP=Be(()=>e.createElementVNode("br",null,null,-1)),PP={key:3,class:"label",colspan:"2"},FP={key:4,class:"label",rowspan:"2"},uP=Be(()=>e.createElementVNode("br",null,null,-1)),LP={key:5,class:"label",colspan:"2"},WP=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),HP={key:6,class:"label",rowspan:"2"},MP={key:7,class:"label",rowspan:"2"},GP={key:8,class:"label",rowspan:"2"},IP=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),RP=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),zP=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),UP=Be(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),YP=Be(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),ZP=Be(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),QP=Be(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),$P=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),JP=Be(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),KP=Be(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),qP=Be(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),XP=Be(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),jP={key:0,class:"label"},vP={key:1,class:"label"},eF={key:2,class:"label"},tF={key:3,class:"label"},oF=Be(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),lF=Be(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),aF=Be(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),nF=Be(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),sF=Be(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),iF=Be(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),cF=Be(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),dF=Be(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),rF={class:"summary-tbody"};function mF(t,n,o,c,l,a){var p;return e.openBlock(),e.createElementBlock("div",vO,[e.createElementVNode("div",eP,[tP,e.createElementVNode("div",oP,[e.createElementVNode("table",null,[lP,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=o.report)==null?void 0:p.segments,(i,_)=>{var g,S,h,N,x,r,C,k,T,u,L,O,b,F,z,Z,U,W,f,Y;return e.openBlock(),e.createElementBlock(e.Fragment,{key:_},[e.createElementVNode("tr",null,[e.createElementVNode("td",aP,e.toDisplayString(_+1),1),nP,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((g=i==null?void 0:i.allWx)==null?void 0:g.distance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((S=i==null?void 0:i.allWx)==null?void 0:S.time,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((h=i==null?void 0:i.allWx)==null?void 0:h.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((N=i==null?void 0:i.allWx)==null?void 0:N.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((x=i==null?void 0:i.allWx)==null?void 0:x.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[sP,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((r=i==null?void 0:i.goodWx)==null?void 0:r.distance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((C=i==null?void 0:i.goodWx)==null?void 0:C.time,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((k=i==null?void 0:i.goodWx)==null?void 0:k.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((T=i==null?void 0:i.goodWx)==null?void 0:T.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((u=i==null?void 0:i.goodWx)==null?void 0:u.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[iP,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((L=i==null?void 0:i.badWx)==null?void 0:L.distance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((O=i==null?void 0:i.badWx)==null?void 0:O.time,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((b=i==null?void 0:i.badWx)==null?void 0:b.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((F=i==null?void 0:i.badWx)==null?void 0:F.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((z=i==null?void 0:i.badWx)==null?void 0:z.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[cP,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Z=i==null?void 0:i.excluded)==null?void 0:Z.sumDistance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((U=i==null?void 0:i.excluded)==null?void 0:U.sumDuration,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((W=i==null?void 0:i.excluded)==null?void 0:W.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((f=i==null?void 0:i.excluded)==null?void 0:f.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Y=i==null?void 0:i.excluded)==null?void 0:Y.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",dP,[rP,e.createElementVNode("div",mP,[e.createElementVNode("table",pP,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[hP,yP,EP,_P,e.createElementVNode("th",{class:"label",colspan:a.computeWxColspan},"ORM Weather Analysis",8,NP),o.showFactor?(e.openBlock(),e.createElementBlock("th",VP,"Factor")):e.createCommentVNode("",!0),fP,gP]),e.createElementVNode("tr",null,[DP,xP,bP,CP,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",SP,[e.createTextVNode("Spd"),kP,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",AP,[e.createTextVNode("Dis"),BP,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),wP,l.showWave?(e.openBlock(),e.createElementBlock("th",TP,[e.createTextVNode("Sea HT"),OP,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",PP,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",FP,[e.createTextVNode("Sig Wave"),uP,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",LP,"Current")):e.createCommentVNode("",!0),WP,o.showFactor?(e.openBlock(),e.createElementBlock("th",HP,"cFactor")):e.createCommentVNode("",!0),o.showFactor?(e.openBlock(),e.createElementBlock("th",MP,"wxFactor")):e.createCommentVNode("",!0),l.showWaterTemp?(e.openBlock(),e.createElementBlock("th",GP,"Water Temp.")):e.createCommentVNode("",!0),IP,RP,zP,UP,YP,ZP,QP,$P]),e.createElementVNode("tr",null,[JP,KP,qP,XP,l.showSwell?(e.openBlock(),e.createElementBlock("th",jP,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",vP,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",eF,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",tF,"CF(kts)")):e.createCommentVNode("",!0),oF,lF,aF,nF,sF,iF,cF,dF])]),e.createElementVNode("tbody",rF,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.inventory,(i,_)=>{var g,S,h,N,x,r,C,k,T,u,L,O,b,F,z,Z,U,W,f,Y,R,H,J,K;return e.openBlock(),e.createElementBlock("tr",{key:_},[e.createElementVNode("td",{class:e.normalizeClass(i.segLength?"no-border-bottom":"no-border")},e.toDisplayString(i.segLength?i.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i.time),3),["B","E"].includes(i.abbrev)&&((g=i.noon)!=null&&g.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((S=i.noon)==null?void 0:S.port),3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i._lat.pretty),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i._lng.pretty),3)],64)),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.cp.dgo:""),3),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.avgSpdCalc:""),3)):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((N=(h=i.meteo)==null?void 0:h.wind)==null?void 0:N.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((r=(x=i.meteo)==null?void 0:x.wind)==null?void 0:r.scale)??"--"),3),l.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((T=(k=(C=i.meteo)==null?void 0:C.wave)==null?void 0:k.wd)==null?void 0:T.height)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((O=(L=(u=i.meteo)==null?void 0:u.wave)==null?void 0:L.swell)==null?void 0:O.direction)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((z=(F=(b=i.meteo)==null?void 0:b.wave)==null?void 0:F.swell)==null?void 0:z.height)??"--"),3)):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((W=(U=(Z=i.meteo)==null?void 0:Z.wave)==null?void 0:U.sig)==null?void 0:W.height)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((Y=(f=i.meteo)==null?void 0:f.current)==null?void 0:Y.direction)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((R=i.meteo)==null?void 0:R.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.dailyAvgCf:""),3),o.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((H=i.meteo)==null?void 0:H.cFactor)??"--"),3)):e.createCommentVNode("",!0),o.showFactor?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((J=i.meteo)==null?void 0:J.wxFactor)??"--"),3)):e.createCommentVNode("",!0),l.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((K=i.meteo)==null?void 0:K.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const pF=ke(jO,[["render",mF],["__scopeId","data-v-058514fe"]]),Ite="",hF={components:{Lng:va,Lat:en},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]}},data(){return{spdFoConsChart:void 0,spdDgoConsChart:void 0,wxChart:void 0,currChart:void 0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}}},watch:{inventory:{handler(t,n){t!=null&&t.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Uo.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Uo.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Uo.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var i,_,g,S,h,N;const t=[],n=[],o={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let c=0,l=0;this.inventory.forEach(x=>{var r,C,k,T,u,L,O,b,F,z,Z;if(x.noonLength){const U=this.computeUTCTime(x.noonUtc,"MM-DD/HHmm[Z]");t.push(U),c=Math.ceil(((r=x.noon)==null?void 0:r.foCons)>c?(C=x.noon)==null?void 0:C.foCons:c),c=Math.ceil(((k=x.cp)==null?void 0:k.fo)>c?(T=x.cp)==null?void 0:T.fo:c),l=Math.ceil(((u=x.noon)==null?void 0:u.dgoCons)>l?(L=x.noon)==null?void 0:L.dgoCons:l),l=Math.ceil(((O=x.cp)==null?void 0:O.dgo)>l?(b=x.cp)==null?void 0:b.dgo:l),n.push([U,(F=x.noon)==null?void 0:F.avgSpd,(z=x.noon)==null?void 0:z.foCons,(Z=x.noon)==null?void 0:Z.dgoCons,x.avgSpdCalc,x.cp.speed,x.goodWx&&!x.excluded?100:0,x.cp.dgo,x.cp.fo,x.excluded?100:0])}});const a={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"FO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,offset:10,max:c+1,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#6c8ad9"}},splitLine:{show:!1}}],series:[{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(_=(i=this.report)==null?void 0:i.weather)!=null&&_.believeRptDistance?o.noonAvgSpd:o.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,z:5},{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.cpSpeed},lineStyle:{color:"#f78888",type:"dashed"},itemStyle:{color:"#f78888"},data:n,z:4},{name:"FO Cons",type:"bar",yAxisIndex:1,itemStyle:{color:"#6c8ad9"},barGap:"-100%",encode:{x:o.dateTime,y:o.noonFoCons},data:n,z:2},{name:"CP FO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#6c8ad9"},lineStyle:{color:"#6c8ad9",type:"dashed"},encode:{x:o.dateTime,y:o.fo},data:n,z:3},{name:"Good Weather Days",type:"bar",encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"#b3f593"},data:n,z:1},{name:"Excluded Days",type:"bar",encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"#0000004d"},data:n,z:1}]};(g=this.spdFoConsChart)==null||g.setOption(a);const p={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"DGO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,max:l+.2,min:0,alignTicks:!0,splitLine:{show:!1},axisLine:{lineStyle:{color:"#a7c4ff"}}}],series:[{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(h=(S=this.report)==null?void 0:S.weather)!=null&&h.believeRptDistance?o.noonAvgSpd:o.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,z:5},{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.cpSpeed},lineStyle:{color:"#f78888",type:"dashed"},itemStyle:{color:"#f78888"},data:n,z:4},{name:"DGO Cons",type:"bar",yAxisIndex:1,itemStyle:{color:"#a7c4ff"},barGap:"-100%",encode:{x:o.dateTime,y:o.noonDgoCons},data:n,z:3},{name:"CP DGO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#a7c4ff"},lineStyle:{color:"#a7c4ff",type:"dashed"},encode:{x:o.dateTime,y:o.dgo},data:n,z:3},{name:"Good Weather Days",type:"bar",encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"#b3f593"},data:n,z:1},{name:"Excluded Days",type:"bar",encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"#0000004d"},data:n,z:1}]};(N=this.spdDgoConsChart)==null||N.setOption(p)},renderWxCurrChart(){var p;const t=[],n=[],o={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let c=4,l=0;this.inventory.forEach(i=>{var _,g,S,h,N,x,r,C,k,T,u,L,O,b,F;if(i.noonLength){l=i.noonLength?i.dailyAvgCf:l;const z=this.computeUTCTime(i.noonUtc,"MM-DD/HHmm[Z]");t.push(z),c=Math.ceil(((S=(g=(_=i.meteo)==null?void 0:_.wave)==null?void 0:g.sig)==null?void 0:S.height)>c?(x=(N=(h=i.meteo)==null?void 0:h.wave)==null?void 0:N.sig)==null?void 0:x.height:c),n.push([z,(r=i.noon)==null?void 0:r.windBF,(k=(C=i.meteo)==null?void 0:C.wind)==null?void 0:k.scale,(u=(T=i.meteo)==null?void 0:T.wind)==null?void 0:u.direction,(L=i.noon)==null?void 0:L.seasHt,(F=(b=(O=i.meteo)==null?void 0:O.wave)==null?void 0:b.sig)==null?void 0:F.height,l,i.goodWx&&!i.excluded?20:0,i.excluded?20:0])}});const a={animation:!1,title:{text:"Current Factor",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,position:"bottom",axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:50,nameGap:35,minInterval:.5,axisLine:{lineStyle:{color:"#da2e2ecc"}},splitLine:{show:!0}},{name:"Good Weather Days",show:!1}],series:[{name:"Current Factor",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.anlyCurFct},lineStyle:{color:"#da2e2ecc",type:"dashed"},itemStyle:{color:"#da2e2ecc"},smooth:!0,data:n,z:3},{name:"Good Weather Days",type:"bar",yAxisIndex:1,encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"#b3f593"},data:n,z:1}]};(p=this.currChart)==null||p.setOption(a)}}},Nl=t=>(e.pushScopeId("data-v-dace21b5"),t=t(),e.popScopeId(),t),yF={class:"report-summary"},EF={class:"section chart-section"},_F=Nl(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption with Current Analysis Graph")],-1)),NF={class:"chart-block"},VF={ref:"spdFoConsChart",class:"chart"},fF={ref:"spdDgoConsChart",class:"chart"},gF={ref:"currChart",class:"chart"},DF={class:"section map-section"},xF=Nl(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),bF={class:"map-block"},CF={class:"flex-space"},SF={class:"voyage-block",style:{height:"197px"}},kF={class:"flex-space label-block",style:{width:"100%"}},AF=Nl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),BF={style:{"text-transform":"uppercase"}},wF={class:"flex-space label-block",style:{width:"100%"}},TF=Nl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),OF={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},PF={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},FF={class:"flex-space label-block",style:{width:"100%"}},uF=Nl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),LF={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},WF={class:"flex-space label-block",style:{width:"100%"}},HF=Nl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),MF={key:0,class:"flex-end",style:{flex:"1"}},GF={key:1,class:"flex-end",style:{flex:"1"}},IF=Nl(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),RF={class:"flex-end",style:{width:"140px"}},zF={class:"flex-space label-block",style:{width:"100%"}},UF=Nl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),YF={key:0,class:"flex-end",style:{flex:"1"}},ZF={key:1,class:"flex-end",style:{flex:"1"}},QF=Nl(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),$F={class:"flex-end",style:{width:"140px"}},JF={class:"flex-space label-block",style:{width:"100%"}},KF=Nl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),qF={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},XF=e.createStaticVNode('<div class="legend-block" data-v-dace21b5><div style="position:absolute;margin-top:-8px;" data-v-dace21b5>LEGEND</div><div class="flex-space" data-v-dace21b5><div data-v-dace21b5>0812</div><div data-v-dace21b5><div data-v-dace21b5>08 - Day of the month</div><div data-v-dace21b5>12 - Hours of the day</div></div></div><div class="flex-space" data-v-dace21b5><div data-v-dace21b5><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-dace21b5></i></div><div data-v-dace21b5><div data-v-dace21b5>Wind from N (000)</div><div data-v-dace21b5>Each bard = 10 kts</div><div data-v-dace21b5>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-dace21b5><div data-v-dace21b5>W 4</div><div data-v-dace21b5> Sig. Wave from West, 4 meters </div></div><div class="flex-space" data-v-dace21b5><div class="good-wx" data-v-dace21b5>Date</div><div data-v-dace21b5>Good weather days</div></div></div>',1),jF=["src"],vF=e.createStaticVNode('<div class="section method-section" data-v-dace21b5><div class="header-block flex-center" data-v-dace21b5><i class="iconfont" data-v-dace21b5></i><div class="title" data-v-dace21b5>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>1. Good Weather Method</div><div class="method-body" data-v-dace21b5> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd's Rep 166 and The Gas Enterprise [1993] 2 Lloyd's Rep. 352. <br data-v-dace21b5> The vessel's performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-dace21b5> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a "good weather day" or "adverse weather day" according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-dace21b5> Speed and Consumption Calculation applies allowed time and allowed consumption calculated based on cp speed and consumption in good weather conditions. Complying with maritime arbitration standards, time loss and over/under-consumption is not calculated when there are no good weather days. </div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-dace21b5> To complete the Good Weather Analysis method requests daily noon positions (including time, distance, weather, seas, bunker consumption, etc.) from the Master, which are to be inspected in evaluation reports. We will apply our analyzed distances. Weather and sea conditions in reports represent our verified weather data. </div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>4. “About”</div><div class="method-body" data-v-dace21b5> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-dace21b5> As per the High Court decision on The Gaz Energy (2012) 852 LMLN 2 a plus 5% tolerance in over-consumption calculation and a minus 5% tolerance in under-consumption are employed respectively when an “about” is included with the consumption warranty, unless otherwise stipulated. </div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-dace21b5> The following methodology will be applied to analyze bunker consumption when the bunker type is switched over, such as in ECA/SECA zone. <br data-v-dace21b5> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-dace21b5> 5-2 Considering DO/GO consumption in the switch over period the amount of DO/GO consumed will initially be compared to the DO/GO warranted figure; the remaining DO/GO consumed in the switch over period will then be compared to the warranted IFO figure. In cases of partial steaming Days, the DO/GO consumed will be converted basis a calculation for hourly consumption. </div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>6. Further reference materials</div><div class="method-body" data-v-dace21b5>Please send mail to <a href="mailto:op@ormwx.com" data-v-dace21b5>op@ormwx.com</a>.</div></div></div></div>',1);function eu(t,n,o,c,l,a){var _,g,S,h,N,x,r,C,k,T,u,L,O,b,F,z,Z,U,W,f,Y,R,H,J,K,X,q;const p=e.resolveComponent("Lat"),i=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",yF,[e.createElementVNode("div",EF,[_F,e.createElementVNode("div",NF,[e.createElementVNode("div",VF,null,512),e.createElementVNode("div",fF,null,512),e.createElementVNode("div",gF,null,512)])]),e.createElementVNode("div",DF,[xF,e.createElementVNode("div",bF,[e.createElementVNode("div",CF,[e.createElementVNode("div",SF,[e.createElementVNode("div",kF,[AF,e.createElementVNode("span",BF,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",wF,[TF,e.createElementVNode("span",OF,e.toDisplayString((g=(_=o.report)==null?void 0:_.vessel)==null?void 0:g.name),1),e.createElementVNode("span",PF,"("+e.toDisplayString((h=(S=o.report)==null?void 0:S.vessel)==null?void 0:h.type)+")",1)]),e.createElementVNode("div",FF,[uF,e.createElementVNode("span",LF,e.toDisplayString((x=(N=o.report)==null?void 0:N.voyage)==null?void 0:x.number),1)]),e.createElementVNode("div",WF,[HF,(C=(r=o.report)==null?void 0:r.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",MF,e.toDisplayString((T=(k=o.report)==null?void 0:k.departure)==null?void 0:T.portName),1)):(e.openBlock(),e.createElementBlock("div",GF,[e.createVNode(p,{lat:(L=(u=o.report)==null?void 0:u.departure)==null?void 0:L.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),IF,e.createVNode(i,{lng:(O=o.report.departure)==null?void 0:O.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",RF,e.toDisplayString(a.computeUTCTime((b=o.report.departure)==null?void 0:b.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",zF,[UF,(z=(F=o.report)==null?void 0:F.arrival)!=null&&z.portName?(e.openBlock(),e.createElementBlock("span",YF,e.toDisplayString((U=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:U.portName),1)):(e.openBlock(),e.createElementBlock("div",ZF,[e.createVNode(p,{lat:(f=(W=o.report)==null?void 0:W.arrival)==null?void 0:f.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),QF,e.createVNode(i,{lng:(R=(Y=o.report)==null?void 0:Y.arrival)==null?void 0:R.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",$F,e.toDisplayString(a.computeUTCTime((J=(H=o.report)==null?void 0:H.arrival)==null?void 0:J.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",JF,[KF,e.createElementVNode("span",qF,e.toDisplayString((X=(K=o.report)==null?void 0:K.voyage)==null?void 0:X.loadCondition),1)])]),XF]),e.createElementVNode("img",{src:(q=o.report)==null?void 0:q.chartUrl,alt:""},null,8,jF)])]),vF])}const tu=ke(hF,[["render",eu],["__scopeId","data-v-dace21b5"]]),Rte="",ou={components:{Brand:Ro,Summary:XO,Inventory:pF,Chart:tu,Loading:on},props:{report:{type:Object,default:()=>({})}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}}},watch:{report:{handler(t,n){t!=null&&t.id&&(this.loading=!1,this.$nextTick(()=>{this.prepare()}))},immediate:!0}},data(){return{inventory:[],loading:!0}},methods:{commit(t){this.$emit("commit",t)},prepare(){var n,o;const t=[];(o=(n=this.report)==null?void 0:n.segments)==null||o.forEach(c=>{const l=c.extend.cp;let a,p,i=!1;c.inventory.sample.hours.forEach((_,g)=>{a||(a=_),(!p||i)&&(p=_,i=!1),a.segIndex===_.segIndex?a.segLength=(a.segLength||0)+1:(a=_,a.segLength=1),p.noonLength=(p.noonLength||0)+1;let S=_.type.charAt(0);["N","E"].includes(S)&&(i=!0,p.dailyAvgCf=_.dailyAvgCf,p.avgSpdCalc=_.avgSpdCalc,p.distanceCalc=_.distanceCalc,p.noonUtc=_.utc,p.noon=_.noon),_.abbrev=S,S=S==="M"?"*":S==="A"?"":S,_.time=`${S} ${this.computeUTCTime(_.utc,"MMM-DD/HHmm[Z]")}`,_._lng=te.LngLatHelper.lng2pretty(_.lng),_._lat=te.LngLatHelper.lat2pretty(_.lat),_.cp=l,t.push(_)})}),t.sort((c,l)=>c.date-l.date),this.inventory=t}}};function lu(t,n,o,c,l,a){var h,N,x,r;const p=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),_=e.resolveComponent("Summary"),g=e.resolveComponent("Inventory"),S=e.resolveComponent("Chart");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((N=(h=o.report)==null?void 0:h.weather)!=null&&N.referenceOnly||(r=(x=o.report)==null?void 0:x.weather)!=null&&r.overallAsGoodWx?"report-section watermark":"report-section")},[e.createVNode(p,{name:"Voyage Analysis Report",issued:o.report.createdAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading,onTimeout:n[0]||(n[0]=C=>l.loading=!1)},null,8,["loading"]),e.createVNode(_,{report:o.report,class:"main",onCommit:a.commit},null,8,["report","onCommit"]),e.createVNode(g,{report:o.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"]),e.createVNode(S,{report:o.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"])],2)}const xn=ke(ou,[["render",lu],["__scopeId","data-v-23bf57dc"]]),au={install(t){t.component("OpiVoyageReport",gn),t.component("FliVoyageReport",Dn),t.component("OrmVoyageReport",xn)}},zte="",Ute="",fl={map:null,bounds:null,style:null,initStyle(t){this.style=t},addSourceData(t,n){this.map.getSource("gridLine")||this.map.getSource("gridPoint")?((this.map.getLayer("Linegrid")||this.map.getLayer("Pointgrid"))&&(this.map.removeLayer("Linegrid"),this.map.removeLayer("Pointgrid")),this.map.removeSource("gridLine"),this.map.removeSource("gridPoint"),this.map.addSource("gridLine",{type:"geojson",data:{type:"FeatureCollection",features:t}}),this.map.addSource("gridPoint",{type:"geojson",data:{type:"FeatureCollection",features:n}}),this.addLayerData()):(this.map.addSource("gridLine",{type:"geojson",data:{type:"FeatureCollection",features:[]}}),this.map.addSource("gridPoint",{type:"geojson",data:{type:"FeatureCollection",features:[]}}))},addLayerData(t){this.map.addLayer({id:"Linegrid",type:"line",source:"gridLine",layout:{"line-cap":"round","line-join":"round"},paint:this.style.line}),this.map.addLayer({id:"Pointgrid",type:"symbol",source:"gridPoint",layout:{"text-field":["get","name"],"text-offset":[0,1.25],"text-anchor":"bottom","text-size":["interpolate",["linear"],["zoom"],4,12,6,12]},paint:this.style.point})},initProperty(t){this.map=t,this.bounds={x1:-220,x2:450,y1:-80,y2:85}},computerZoom(){const t=this.map.getZoom();let n;return t<=1||t>1&&t<=2?n=40:t>2&&t<=3?n=30:t>3&&t<=4?n=20:t>4&&t<=5?n=15:n=10,n},computerLon(t){let n="";return t===0&&(n="0"),t>0&&t<=180&&(n=""+t+"° E"),t>180&&t<=360&&(n=""+(t-180)+"° W"),t>360&&(n=""+(t-360)+"° E"),t<0&&t>=-180&&(n=""+(0-t)+"° W"),t<-180&&t>-360&&(n=""+(t+360)+"° E"),n},computerLat(t){let n="";return t===0&&(n="0"),t>0&&t<=90&&(n=""+t+"° N"),t>-90&&t<0&&(n=""+(0-t)+"° S"),n},initGrid(){let t=[];const n=[],o=[];this.XY=this.bounds;const c=this.computerZoom(),l=this.map.getCenter();for(let a=this.XY.x1;a<this.XY.x2;a=a+c)t=[],t.push([a,this.XY.y1],[a,this.XY.y2]),n.push({type:"Feature",geometry:{type:"LineString",coordinates:t}}),o.push({type:"Feature",geometry:{type:"Point",coordinates:[a,Math.round(l.lat)]},properties:{name:this.computerLon(a)}});for(let a=this.XY.y1;a<this.XY.y2;a=a+c)t=[],t.push([this.XY.x1,a],[this.XY.x2,a]),n.push({type:"Feature",geometry:{type:"LineString",coordinates:t}}),o.push({type:"Feature",geometry:{type:"Point",coordinates:[Math.round(l.lng),a]},properties:{name:this.computerLat(a)}});this.addSourceData(n,o)}},Yte="",Zte="",nu={props:{data:{type:Object,default:()=>[]},name:{type:String,default:()=>""},model:{type:String,default:()=>""},ts:{type:String,default:()=>""},token:{type:String,default:""},changeZoom:{type:Boolean,default:!1}},components:{HurricaneGL:Ei.HurricaneGL},data(){return{map:void 0}},watch:{data:{handler(t){},immediate:!0}},computed:{},mounted(){this.initMap()},methods:{async initMap(){_l.accessToken="pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsYnQ5cjh6NzAweGQzd29ucHBhN3I4ZmEifQ.4nssThLnkrR4VjWBR21Ahg",this.map=new _l.Map({container:"report-map",style:"mapbox://styles/neatchenheng/clhvqa78k021f01r062401ahm",projection:"mercator",preserveDrawingBuffer:!0,zoom:4,dragRotate:!1,pitchWithRotate:!1,minZoom:1}),this.drawGrid()},drawGrid(){const o={line:{"line-color":"rgba(105,105,105, 0.3)","line-width":.5},point:{"text-color":"rgba(105,105,105, 1)","text-halo-width":1}};let c=this;this.map.on("load",function(){fl.initStyle(o),fl.initProperty(c.map),fl.addSourceData([]),fl.addLayerData(),fl.initGrid()}),this.map.on("moveend",l=>{fl.initProperty(c.map),fl.initGrid()}),this.map.on("zoomend",l=>{fl.initProperty(c.map),fl.initGrid()})}}},su=t=>(e.pushScopeId("data-v-0230b635"),t=t(),e.popScopeId(),t),iu={class:"map"},cu=su(()=>e.createElementVNode("div",{id:"report-map",class:"map-box"},null,-1));function du(t,n,o,c,l,a){const p=e.resolveComponent("HurricaneGL");return e.openBlock(),e.createElementBlock("div",iu,[cu,e.createVNode(p,{class:"hurricane",map:l.map,name:o.name,model:o.model,ts:o.ts,token:o.token,changeZoom:o.changeZoom},null,8,["map","name","model","ts","token","changeZoom"])])}const ru=ke(nu,[["render",du],["__scopeId","data-v-0230b635"]]),mu={props:{id:{type:String,default:function(){return""}},title:{type:String,default:function(){return""}},series:{type:Object,default:function(){return[]}},xAxis:{type:Object,default:function(){return[]}},color:{type:Object,default:function(){return[]}}},data(){return{chart:void 0}},watch:{series:{handler(t,n){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(n)&&this.$nextTick(()=>{this.initProbabilityData()})},immediate:!0}},methods:{initProbabilityData(){if(!this.chart){let c=document.getElementById(this.id);this.chart=e.markRaw(Uo.init(c))}const t=Number(w(this.xAxis[0]).utc().format("x"))-8*60*60*1e3,n=Number(w(this.xAxis[this.xAxis.length-1]).utc().format("x"))-8*60*60*1e3;let o={title:{text:this.title,left:"4%"},grid:{right:"5%",bottom:"15%"},tooltip:{trigger:"axis"},legend:{show:!0,top:"12%",right:"5%"},color:this.color,xAxis:{type:"time",min:t,max:n,axisLabel:{show:!0,formatter:function(c,l){var a=w(c).format("MMMDD"),p=w(c).format("HH");return p==="00"||l===0?a:p}}},yAxis:{name:"",nameTextStyle:{color:"#fff",fontSize:12,padding:[0,60,0,0]},type:"value",splitLine:{show:!0},axisLine:{show:!0},axislabel:{show:!0},axisTick:{show:!1},splitLine:!1},series:this.series};this.id==="pressureChart"&&(o.yAxis.min="900"),console.log(o,"option"),this.$nextTick(()=>{this.chart.setOption(o)})}}},pu=["id"];function hu(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{height:"100%"}},null,8,pu)])}const yu=ke(mu,[["render",hu]]),Qte="",Eu={props:{data:{type:Object,default:()=>({})},name:{type:String,default:()=>""},model:{type:String,default:()=>""},ts:{type:String,default:()=>""},token:{type:String,default:""},changeZoom:{type:Boolean,default:!1}},components:{IdmBrand:Ro,Map:ru,Echart:yu},data(){return{dateTime:void 0,typhoonData:[],timeSubscript:["0","6","12","18","24","36","48","72"],hourSubscript:[6,12,18,24],records:void 0,xAxis:[],probabilityColor:["#010101","#941c12","#ed0000","#ee7b00","#efd700","#5dfc02"],probabilitySeries:[],spdSeries:[],pressureSeries:[]}},watch:{data:{handler(t){t&&t.hours&&this.fetchData()},immediate:!0},ts:{handler(t){t&&!isNaN(t)&&(this.dateTime=this.computeUTCTime(Number(t),"dddd, MMMM D,YYYY"))},immediate:!0}},computed:{computeRoundPrecision(){return function(t){return t==="-"?"-":te.roundPrecision(t,0)}},computeWind(){let t=this;return function(n){return n>=0?t.computeRoundPrecision(n):"-"}},computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t!=="-"?`${w(t).utc().format(n)}`:"-"}},computeHours(){return function(t,n){return w(n).add(t,"h").utc().format("MMMDD/HH[Z]")}},computedLngLat(){return function(t,n){return`${te.LngLatHelper.lat2pretty(t).pretty} / ${te.LngLatHelper.lng2pretty(n).pretty}`}},computeCandidateIndex(){return function(t,n){let o=0;for(const c in t){if(Number(c)>n)return{prev:o,next:Number(c)};o=Number(c)}return{prev:o,next:-1}}},computeInterpolateValue(){return function(t,n,o){return t?n?Math.round((t+(n-t)*o)*100)/100:t:n}},computeHourSubscript(){return function(t){let n="";return this.hourSubscript.forEach((o,c)=>{t<o&&n===""&&(n=c)}),n}},computeKLineData(){return function(t){const n=t.length;let o={time:t[0][0],min:void 0,max:void 0,first:t[0][1],last:t[n-1][1],middle:""},c=t[0][1],l=t[0][1];return t.forEach(a=>{c=!c||c<a[1]?a[1]:c,l=!l||l>a[1]?a[1]:l}),l||c?o.middle=(Number(l)+Number(c))/2:o.middle="-",o.min=l,o.max=c,o}}},methods:{async fetchData(){var S;this.typhoonData=[];let t=[];if(this.data.hours.length<8)for(let h in this.data.hours){let N=this.data.hours[h];N.hour=h,t.push(N)}else{let h=0;for(let N in this.data.hours)if(h<8){let x=this.data.hours[N];x.hour=N,t.push(x),h++}}this.typhoonData=t,this.records=await this.interpolatedRecord(this.data.date,this.data.hours,1),this.records[0]=this.data.hours[0];const n=this.ts?w(Number(this.ts)).utc().format("YYYY-MM-DD HH"):w().utc().format("YYYY-MM-DD HH");for(let h in this.records)w(this.data.date).add(h,"h").utc().format("YYYY-MM-DD HH")===n&&this.$emit("center",this.records[h]);let o=this.computeHourSubscript(w(this.data.date).utc().format("H"));const c=[],l=[],a=[],p=[];let i=[],_=[],g=[];for(let h in this.records){const N=this.records[h],x=w(this.data.date).add(h,"h").utc(),r=this.computeHourSubscript(w(x).format("H")),C=`${w(x).format("YYYY-MM-DD")} ${this.hourSubscript[r]}:00:00`;o===r?(_.push([C,N.wind.kts]),g.push([C,N.pressure]),i.push([C,N.wind.spd])):(c.push(i),l.push(_),a.push(g),o=r,i=[],_=[],g=[],i.push([C,N.wind.spd]),_.push([C,N.wind.kts]),g.push([C,N.pressure]),this.xAxis.push(x))}for(let h in this.data.hours){const N=this.data.hours[h],x=w(this.data.date).add(h,"h").utc(),r=this.computeHourSubscript(w(x).format("H")),C=`${w(x).format("YYYY-MM-DD")} ${this.hourSubscript[r]}:00:00`;p.push([C,((S=N.gusts)==null?void 0:S.kts)??"-"])}this.fetchProbabilityData(c),this.fetchSpdData(l,p),this.fetchPressureData(a)},fetchProbabilityData(t){let n={td:[],ts:[],sts:[],ty:[],sty:[],supty:[]};t.forEach(o=>{let c=0,l=0,a=0,p=0,i=0,_=0;o.forEach(S=>{const h=S[1];h<=17.1?c++:h<=24.4?l++:h<=32.6?a++:h<=41.4?p++:h<=50.9?i++:h>50.9&&_++});const g=o.length;n.td.push([o[0][0],te.roundPrecision(c/g,2)*100]),n.ts.push([o[0][0],te.roundPrecision(l/g,2)*100]),n.sts.push([o[0][0],te.roundPrecision(a/g,2)*100]),n.ty.push([o[0][0],te.roundPrecision(p/g,2)*100]),n.sty.push([o[0][0],te.roundPrecision(i/g,2)*100]),n.supty.push([o[0][0],te.roundPrecision(_/g,2)*100])}),this.probabilitySeries=[{name:"SuperTY[>94kts]",type:"bar",stack:"machine",label:{show:!1},data:n.supty},{name:"STY[80-94]",type:"bar",stack:"machine",label:{show:!1},data:n.sty},{name:"TY[64-79]",type:"bar",stack:"machine",label:{show:!1},data:n.ty},{name:"STS[48-63]",type:"bar",stack:"machine",label:{show:!1},data:n.sts},{name:"TS[33-47]",type:"bar",stack:"machine",label:{show:!1},data:n.ts},{name:"TD[<32]",type:"bar",stack:"machine",label:{show:!1},data:n.td}]},fetchSpdData(t,n){let o=[],c=[];t.forEach(l=>{const a=this.computeKLineData(l);let p=[a.time,a.first,a.last,a.min,a.max];c.push([a.time,a.middle]),o.push(p)}),this.spdSeries=[{type:"candlestick",itemStyle:{color:"#4ca053",color0:"#4ca053",borderColor:"#4ca053",borderColor0:"#4ca053"},data:o},{data:c,type:"line",smooth:!0,itemStyle:{color:"#a0c5e8"},lineStyle:{type:"dashed"}},{data:n,type:"line",symbol:"none",smooth:!1,itemStyle:{color:"#ccc"},lineStyle:{}}]},fetchPressureData(t){let n=[],o=[];t.forEach(c=>{const l=this.computeKLineData(c);let a=[l.time,l.first,l.last,l.min,l.max];o.push([l.time,l.middle]),n.push(a)}),this.pressureSeries=[{type:"candlestick",itemStyle:{color:"#4ca053",color0:"#4ca053",borderColor:"#4ca053",borderColor0:"#4ca053"},data:n},{data:o,type:"line",smooth:!0,itemStyle:{color:"#a0c5e8"},lineStyle:{type:"dashed"}}]},async interpolatedRecord(t,n,o=3){var i,_,g,S,h,N,x,r,C,k,T,u,L,O,b,F,z,Z,U,W,f,Y,R,H,J,K,X,q,V,M,$,s,j,d,v,le;const c=w(t).set({second:0}).utc();let l=o-(c.get("hour")*60+c.get("minute"))%(o*60)/60,a;const p={};for(;a=this.computeCandidateIndex(n,l),a.next!==-1||l===a.prev;){const ee=(l-a.prev)/(a.next-a.prev);p[l]={gusts:this.computeInterpolateValue((i=n[a.prev])==null?void 0:i.gusts,(_=n[a.next])==null?void 0:_.gusts,ee),lat:this.computeInterpolateValue((g=n[a.prev])==null?void 0:g.lat,(S=n[a.next])==null?void 0:S.lat,ee),lng:this.computeInterpolateValue((h=n[a.prev])==null?void 0:h.lng,(N=n[a.next])==null?void 0:N.lng,ee),movement:{deg:this.computeInterpolateValue((r=(x=n[a.prev])==null?void 0:x.movement)==null?void 0:r.deg,(k=(C=n[a.next])==null?void 0:C.movement)==null?void 0:k.deg,ee),kts:this.computeInterpolateValue((u=(T=n[a.prev])==null?void 0:T.movement)==null?void 0:u.kts,(O=(L=n[a.next])==null?void 0:L.movement)==null?void 0:O.kts,ee),spd:this.computeInterpolateValue((F=(b=n[a.prev])==null?void 0:b.movement)==null?void 0:F.spd,(Z=(z=n[a.next])==null?void 0:z.movement)==null?void 0:Z.spd,ee)},pressure:this.computeInterpolateValue((U=n[a.prev])==null?void 0:U.pressure,(W=n[a.next])==null?void 0:W.pressure,ee),wind:{kts:this.computeInterpolateValue((Y=(f=n[a.prev])==null?void 0:f.wind)==null?void 0:Y.kts,(H=(R=n[a.next])==null?void 0:R.wind)==null?void 0:H.kts,ee),lat:this.computeInterpolateValue((K=(J=n[a.prev])==null?void 0:J.wind)==null?void 0:K.lat,(q=(X=n[a.next])==null?void 0:X.wind)==null?void 0:q.lat,ee),lng:this.computeInterpolateValue((M=(V=n[a.prev])==null?void 0:V.wind)==null?void 0:M.lng,(s=($=n[a.next])==null?void 0:$.wind)==null?void 0:s.lng,ee),spd:this.computeInterpolateValue((d=(j=n[a.prev])==null?void 0:j.wind)==null?void 0:d.spd,(le=(v=n[a.next])==null?void 0:v.wind)==null?void 0:le.spd,ee)}},l+=o}return p}}},bn=t=>(e.pushScopeId("data-v-7324f644"),t=t(),e.popScopeId(),t),_u={class:"typhoon-report"},Nu={class:"report-content"},Vu={class:"map"},fu={class:"table"},gu=bn(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"Time"),e.createElementVNode("td",null,"Position"),e.createElementVNode("td",null,"Pres(hPa)"),e.createElementVNode("td",null,"Max(kts)"),e.createElementVNode("td",null,"Gusts(kts)"),e.createElementVNode("td",null,"35/50(kts)"),e.createElementVNode("td",null,"Dir(deg)"),e.createElementVNode("td",null,"Spd(kts)")])],-1)),Du=bn(()=>e.createElementVNode("div",{class:"report-tips flex-end"}," The report is for reference only. All the material is an advisory provided so as to assist the Master in making the final route decision. ",-1));function xu(t,n,o,c,l,a){const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Map"),_=e.resolveComponent("Echart");return e.openBlock(),e.createElementBlock("div",_u,[e.createVNode(p,{name:"Tropical Cyclone Strike Probability Report"}),e.createElementVNode("div",Nu,[e.createElementVNode("div",null,[e.createElementVNode("div",Vu,[e.createVNode(i,{data:o.data,name:o.name,model:o.model,ts:o.ts,token:o.token,changeZoom:o.changeZoom},null,8,["data","name","model","ts","token","changeZoom"])]),e.createElementVNode("div",fu,[e.createElementVNode("table",null,[gu,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.typhoonData,(g,S)=>{var h,N,x,r,C,k;return e.openBlock(),e.createElementBlock("tr",{key:S},[e.createElementVNode("td",null,e.toDisplayString(a.computeHours(g.hour||"-",o.data.date)),1),e.createElementVNode("td",null,e.toDisplayString(a.computedLngLat(g.lat,g.lng)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(g.pressure??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((h=g==null?void 0:g.wind)==null?void 0:h.kts)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((N=g.gusts)==null?void 0:N.kts)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(`${a.computeWind(((x=g==null?void 0:g.wind)==null?void 0:x.r7)||"-")} / ${a.computeWind(((r=g==null?void 0:g.wind)==null?void 0:r.r10)||"-")} nm`),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((C=g==null?void 0:g.movement)==null?void 0:C.deg)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((k=g==null?void 0:g.movement)==null?void 0:k.spd)??"-")),1)])}),128))])])])]),e.createElementVNode("div",null,[e.createVNode(_,{class:"echart",id:"probabilityChart",title:"Probability(%) of Tropical Cyclone Intensity falling in each category",xAxis:l.xAxis,color:l.probabilityColor,series:l.probabilitySeries},null,8,["xAxis","color","series"]),e.createVNode(_,{class:"echart",id:"spdChart",title:"10m Wind Speed(kts) [ Solid=Gusts ; Dot=Avg.Speed ]",xAxis:l.xAxis,series:l.spdSeries},null,8,["xAxis","series"]),e.createVNode(_,{class:"echart",id:"pressureChart",title:"Mean Sea Level Pressure in Tropical Cyclone Center (hPa)",xAxis:l.xAxis,series:l.pressureSeries},null,8,["xAxis","series"])])]),Du])}const Cn=ke(Eu,[["render",xu],["__scopeId","data-v-7324f644"]]),bu={install(t){t.component("HurricaneReport",Cn)}},$te="",Cu={components:{IdmBrand:ja},data(){return{isUSD:!1,type:"CNY",company:{name:{USD:"OCEAN PI TECHNOLOGY Co., Ltd.",CNY:"科湃科技(青岛)有限公司"},address:{USD:"ROOM 1006, BUILDING 5, No. 199, SHANDONG ROAD, QINGDAO, CHINA",CNY:"山东省青岛市市北区山东路 199 号 5 号楼 1006 户"},tel:"053283618328",dutyNumber:"91370203MACDEEJP0Q",bankName:{USD:"Shanghai Pudong Development Bank Qingdao Branch",CNY:"上海浦东发展银行股份有限公司青岛福州路支行"},bankAccount:{USD:"6908 0078 8144 0000 1837",CNY:"6908 0078 8016 0000 1829"},bankAddress:"No. 188, HAIER ROAD, QINGDAO, CHINA",bankSwift:"SPDBCNSH170",interBank:"CITIBANK N.A., NEW YORK",interSwift:"CITIUS33"},breaked:!1}},props:{data:{type:Object,default:()=>({})}},watch:{data:{handler(t){t&&(t.paymentType==="USD"?(this.isUSD=!0,this.type="USD"):(this.isUSD=!1,this.type="CNY"))},immediate:!0}},computed:{computeHtml(){return function(t){return t==null?void 0:t.replaceAll(`
|
|
42
|
-
`,"</br>")}},computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t!=="-"?`${w(t).utc().format(n)}`:"-"}},computeItem(){return function(t){if(t){const n=t.indexOf(",");if(n!==-1)return[t.substring(0,n),t.substring(n+1)]}else return["-","-"]}}},mounted(){this.$nextTick(()=>{var p;const t=this.$refs.name.offsetHeight,n=this.$refs.table.offsetHeight,o=this.$refs.detail.offsetHeight,c=(p=this.data)!=null&&p.memo?this.$refs.memo.offsetHeight:0;let l=1;for(;t+n+280>l*1123;)l++;const a=l*1123-(t+n+280);this.breaked=a<o+c})}},ho=t=>(e.pushScopeId("data-v-db643e45"),t=t(),e.popScopeId(),t),Su={class:"invoice-report"},ku=ho(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),Au={class:"report-title"},Bu=ho(()=>e.createElementVNode("div",{class:"title"},"INVOICE",-1)),wu={class:"title-info"},Tu=ho(()=>e.createElementVNode("div",null,[e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"})],-1)),Ou=ho(()=>e.createElementVNode("div",null,"Room 1006,Building 5,No. 199,",-1)),Pu=ho(()=>e.createElementVNode("div",null,"Shandnog Road,Qing Dao China",-1)),Fu=ho(()=>e.createElementVNode("div",null,"Post Code: 266000",-1)),uu=ho(()=>e.createElementVNode("div",null,"Email: op@oceanpitech.com",-1)),Lu={class:"report-content"},Wu={style:{display:"flex"},ref:"name",class:"name"},Hu=["innerHTML"],Mu={style:{"margin-bottom":"10px"}},Gu={class:"table",ref:"table"},Iu=ho(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO"),e.createElementVNode("td",null,"ITEMS"),e.createElementVNode("td",null,"AMOUNTS")])],-1)),Ru=ho(()=>e.createElementVNode("td",null,null,-1)),zu={class:"total"},Uu={class:"total"},Yu={key:0,class:"page-break"},Zu={ref:"detail",class:"detail"},Qu={class:"title"},$u={class:"info"},Ju={class:"info"},Ku={class:"info"},qu={class:"info"},Xu={class:"info"},ju={key:0},vu={class:"info"},eL=ho(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT: ",-1)),tL={class:"info"},oL=ho(()=>e.createElementVNode("span",{class:"info-title"},"Bank Add: ",-1)),lL={class:"info"},aL=ho(()=>e.createElementVNode("span",{class:"info-title"},"INTERMEDIARY BANK: ",-1)),nL={class:"info"},sL=ho(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT BIC: ",-1)),iL={key:1},cL={class:"info"},dL=ho(()=>e.createElementVNode("span",{class:"info-title cny"},"税号: ",-1)),rL={key:1,ref:"memo",class:"detail"},mL=ho(()=>e.createElementVNode("div",{class:"title"},"MEMO",-1)),pL=["innerHTML"];function hL(t,n,o,c,l,a){var i,_,g,S,h,N,x,r,C,k,T,u,L,O,b,F,z,Z,U;const p=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",Su,[e.createVNode(p),ku,e.createElementVNode("div",Au,[Bu,e.createElementVNode("div",wu,[Tu,e.createElementVNode("div",null,[e.createElementVNode("div",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},"Ocean PI Technology Co., Ltd",2),Ou,Pu,Fu,uu])])]),e.createElementVNode("div",Lu,[e.createElementVNode("div",Wu,[e.createTextVNode(" To: "),e.createElementVNode("div",{class:"name",innerHTML:a.computeHtml((_=(i=o.data)==null?void 0:i.invoiceTitle)==null?void 0:_.name)},null,8,Hu)],512),e.createElementVNode("div",null,"Date: "+e.toDisplayString(a.computeUTCTime((g=o.data)==null?void 0:g.paymentDate,"YYYY MMM DD")),1),e.createElementVNode("div",Mu,"No: "+e.toDisplayString((S=o.data)==null?void 0:S.number),1),e.createElementVNode("div",Gu,[e.createElementVNode("table",null,[Iu,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=o.data)==null?void 0:h.reservations,(W,f)=>(e.openBlock(),e.createElementBlock("tr",{key:f},[e.createElementVNode("td",null,e.toDisplayString(f+1),1),e.createElementVNode("td",null,[e.createElementVNode("div",null,e.toDisplayString(a.computeItem(W==null?void 0:W.items)[0]),1),e.createElementVNode("div",null,e.toDisplayString(a.computeItem(W==null?void 0:W.items)[1]),1)]),e.createElementVNode("td",null,e.toDisplayString(`$ ${W==null?void 0:W.amount}`),1)]))),128)),e.createElementVNode("tr",null,[Ru,e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(`${l.isUSD?"":"Exchange rate: "+((N=o.data)==null?void 0:N.rate)}`)+" ",1),e.createElementVNode("span",zu,e.toDisplayString(`${l.isUSD?"TOTAL":"TOTAL Amounts in CNY"}`),1)]),e.createElementVNode("td",null,[e.createElementVNode("span",Uu,e.toDisplayString(`${l.isUSD?"$":"¥"} ${(x=o.data)==null?void 0:x.paymentAmount}`),1)])])])])],512),l.breaked?(e.openBlock(),e.createElementBlock("div",Yu)):e.createCommentVNode("",!0),e.createElementVNode("div",Zu,[e.createElementVNode("div",Qu,e.toDisplayString(`${l.isUSD?"USD ACCOUNT":"CNY ACCOUNT"}:`),1),e.createElementVNode("div",$u,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Beneficiary's Name":"公司名称"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((r=l.company)==null?void 0:r.name[l.type])??"-"),1)]),e.createElementVNode("div",Ju,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Add":"地址"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((C=l.company)==null?void 0:C.address[l.type])??"-"),1)]),e.createElementVNode("div",Ku,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Tel":"电话号码"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((k=l.company)==null?void 0:k.tel)??"-"),1)]),e.createElementVNode("div",qu,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Bank Name":"开户银行"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((T=l.company)==null?void 0:T.bankName[l.type])??"-"),1)]),e.createElementVNode("div",Xu,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"A/C No":"银行账号"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((u=l.company)==null?void 0:u.bankAccount[l.type])??"-"),1)]),l.isUSD?(e.openBlock(),e.createElementBlock("div",ju,[e.createElementVNode("div",vu,[eL,e.createElementVNode("span",null,e.toDisplayString(((L=l.company)==null?void 0:L.bankSwift)??"-"),1)]),e.createElementVNode("div",tL,[oL,e.createElementVNode("span",null,e.toDisplayString(((O=l.company)==null?void 0:O.bankAddress)??"-"),1)]),e.createElementVNode("div",lL,[aL,e.createElementVNode("span",null,e.toDisplayString(((b=l.company)==null?void 0:b.interBank)??"-"),1)]),e.createElementVNode("div",nL,[sL,e.createElementVNode("span",null,e.toDisplayString(((F=l.company)==null?void 0:F.interSwift)??"-"),1)])])):(e.openBlock(),e.createElementBlock("div",iL,[e.createElementVNode("div",cL,[dL,e.createElementVNode("span",null,e.toDisplayString(((z=l.company)==null?void 0:z.dutyNumber)??"-"),1)])]))],512),(Z=o.data)!=null&&Z.memo?(e.openBlock(),e.createElementBlock("div",rL,[mL,e.createElementVNode("div",{class:"info",innerHTML:a.computeHtml((U=o.data)==null?void 0:U.memo)},null,8,pL)],512)):e.createCommentVNode("",!0)])])}const Sn=ke(Cu,[["render",hL],["__scopeId","data-v-db643e45"]]),Jte="",yL={components:{IdmBrand:Ro},data(){return{account:{CNY:{title:"正权海事服务(青岛)有限公司",taxId:"91370203MADE2L8TX4",address:"山东省青岛市市北区山东路171号乙万科中心1号楼1805户",tel:"15192665266",bank:"中国银行股份有限公司青岛城阳支行",number:"220850858281"},USD:{title:"Ocean Right Marine Service Co., Ltd.",taxId:"91370203MADE2L8TX4",address:"Rm1805, B Technology Innovation Bldg. No. 171 Shandong Rd, Qingdao, China",tel:"15192665266",bank:"Bank of China Qingdao Chengyang Sub-Branch",number:"216950903845",swift:"BKCHCNBJ50A",bankAddr:"198 Zhengyang road Chengyang District, Qingdao, China",intermediaryBank:"Bank of China New York Branch",intermediaryBankSwift:"BKCHUS33XXX",intermediaryBankAbaNo:"326"}},reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},props:{report:{type:Object,default:()=>({})}},watch:{report:{handler(){var t,n,o,c,l,a,p;this.reservations4Route=(n=(t=this.report)==null?void 0:t.reservations)==null?void 0:n.filter(i=>i.props),this.reservations4Point=(c=(o=this.report)==null?void 0:o.reservations)==null?void 0:c.filter(i=>!i.props),this.totalInUS=(a=(l=this.report)==null?void 0:l.reservations)==null?void 0:a.reduce((i,_)=>Math.round((i+_.amount)*100)/100,0),(p=this.reservations4Route)!=null&&p.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}},computed:{computeTime(){return function(t,n="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${w(t).utcOffset(8).format(n)}`:"-"}}},mounted(){}},mt=t=>(e.pushScopeId("data-v-f0776728"),t=t(),e.popScopeId(),t),EL={class:"invoice-report"},_L={class:"section items-section"},NL={class:"flex-start"},VL=mt(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),fL=["innerHTML"],gL={class:"flex-space"},DL={class:"invoice-item"},xL={key:0,class:"invoice-item"},bL=mt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),CL=mt(()=>e.createElementVNode("td",null,"NO.",-1)),SL=["colspan"],kL=mt(()=>e.createElementVNode("td",null,"Amounts",-1)),AL=["colspan"],BL=["colspan"],wL=[mt(()=>e.createElementVNode("span",null,"Total in USD",-1))],TL={class:"total"},OL=["colspan"],PL=[mt(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],FL={class:"total"},uL=["colspan"],LL={class:"total"},WL={key:1},HL=["colspan"],ML=[mt(()=>e.createElementVNode("span",null,"Total in USD",-1))],GL={class:"total"},IL={key:0,class:"memo-block"},RL=mt(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),zL=["innerHTML"],UL={class:"section company-section"},YL=mt(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"Bank Information",-1)),ZL={class:"company-item"},QL=mt(()=>e.createElementVNode("label",null,"Bank",-1)),$L={class:"company-item"},JL=mt(()=>e.createElementVNode("label",null,"Account",-1)),KL={class:"company-item"},qL=mt(()=>e.createElementVNode("label",null,"Title",-1)),XL={class:"company-item"},jL=mt(()=>e.createElementVNode("label",null,"Addr",-1)),vL={class:"company-item"},eW=mt(()=>e.createElementVNode("label",null,"Tel",-1)),tW={class:"company-item"},oW=mt(()=>e.createElementVNode("label",null,"Tax ID",-1)),lW={class:"company-item"},aW=mt(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),nW={class:"company-item"},sW=mt(()=>e.createElementVNode("label",null,"Bank Name",-1)),iW={class:"company-item"},cW=mt(()=>e.createElementVNode("label",null,"Bank Address",-1)),dW={class:"company-item"},rW=mt(()=>e.createElementVNode("label",null,"Account No.",-1)),mW={class:"company-item"},pW=mt(()=>e.createElementVNode("label",null,"SWIFT",-1)),hW={class:"company-item"},yW=mt(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),EW={class:"company-item"},_W=mt(()=>e.createElementVNode("label",null,"SWIFT",-1)),NW={class:"company-item"},VW=mt(()=>e.createElementVNode("label",null,"ABA NO.",-1)),fW=e.createStaticVNode('<div class="section sign-section" data-v-f0776728><div class="flex-space" data-v-f0776728><div class="sign-block" data-v-f0776728><div data-v-f0776728>Finance Team</div><div data-v-f0776728>Ocean Right Marine Service Co., Ltd.</div><div data-v-f0776728>Email: <a href="mailto:op@ormwx.com" data-v-f0776728>op@ormwx.com</a></div><div data-v-f0776728>Address: Rm1805, B Technology Innovation Bldg, No. 171 Shandong Road, Qingdao, China.</div></div><div class="thank-block" data-v-f0776728> Thank You </div></div></div>',1);function gW(t,n,o,c,l,a){var i,_,g,S,h,N,x,r,C,k,T,u,L,O,b,F,z,Z,U,W,f,Y,R,H,J,K,X,q,V,M,$,s,j,d,v,le,ee,ie,ce,de,re,Ee;const p=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",EL,[e.createVNode(p,{name:"INVOICE",issued:o.report.createdAt},null,8,["issued"]),e.createElementVNode("div",_L,[e.createElementVNode("div",NL,[VL,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(g=(_=(i=o.report)==null?void 0:i.invoiceTitle)==null?void 0:_.name)==null?void 0:g.replace(`
|
|
43
|
-
`,"<br/>")},null,8,
|
|
44
|
-
`,"<br/>")},null,8,zL)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",UL,[YL,((O=o.report)==null?void 0:O.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",ZL,[QL,e.createElementVNode("span",null,e.toDisplayString((F=l.account[(b=o.report)==null?void 0:b.paymentType])==null?void 0:F.bank),1)]),e.createElementVNode("div",$L,[JL,e.createElementVNode("span",null,e.toDisplayString((Z=l.account[(z=o.report)==null?void 0:z.paymentType])==null?void 0:Z.number),1)]),e.createElementVNode("div",KL,[qL,e.createElementVNode("span",null,e.toDisplayString((W=l.account[(U=o.report)==null?void 0:U.paymentType])==null?void 0:W.title),1)]),e.createElementVNode("div",XL,[jL,e.createElementVNode("span",null,e.toDisplayString((Y=l.account[(f=o.report)==null?void 0:f.paymentType])==null?void 0:Y.address),1)]),e.createElementVNode("div",vL,[eW,e.createElementVNode("span",null,e.toDisplayString((H=l.account[(R=o.report)==null?void 0:R.paymentType])==null?void 0:H.tel),1)]),e.createElementVNode("div",tW,[oW,e.createElementVNode("span",null,e.toDisplayString((K=l.account[(J=o.report)==null?void 0:J.paymentType])==null?void 0:K.taxId),1)])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",lW,[aW,e.createElementVNode("span",null,e.toDisplayString((q=l.account[(X=o.report)==null?void 0:X.paymentType])==null?void 0:q.title),1)]),e.createElementVNode("div",nW,[sW,e.createElementVNode("span",null,e.toDisplayString((M=l.account[(V=o.report)==null?void 0:V.paymentType])==null?void 0:M.bank),1)]),e.createElementVNode("div",iW,[cW,e.createElementVNode("span",null,e.toDisplayString((s=l.account[($=o.report)==null?void 0:$.paymentType])==null?void 0:s.bankAddr),1)]),e.createElementVNode("div",dW,[rW,e.createElementVNode("span",null,e.toDisplayString((d=l.account[(j=o.report)==null?void 0:j.paymentType])==null?void 0:d.number),1)]),e.createElementVNode("div",mW,[pW,e.createElementVNode("span",null,e.toDisplayString((le=l.account[(v=o.report)==null?void 0:v.paymentType])==null?void 0:le.swift),1)]),e.createElementVNode("div",hW,[yW,e.createElementVNode("span",null,e.toDisplayString((ie=l.account[(ee=o.report)==null?void 0:ee.paymentType])==null?void 0:ie.intermediaryBank),1)]),e.createElementVNode("div",EW,[_W,e.createElementVNode("span",null,e.toDisplayString((de=l.account[(ce=o.report)==null?void 0:ce.paymentType])==null?void 0:de.intermediaryBankSwift),1)]),e.createElementVNode("div",NW,[VW,e.createElementVNode("span",null,e.toDisplayString((Ee=l.account[(re=o.report)==null?void 0:re.paymentType])==null?void 0:Ee.intermediaryBankAbaNo),1)])],64))]),fW])}const kn=ke(yL,[["render",gW],["__scopeId","data-v-f0776728"]]),DW={install(t){t.component("InvoiceReport",Sn),t.component("OrmInvoiceReport",kn)}},xW=t=>((typeof t=="string"||typeof t=="number")&&(t=w(t)),t),bW=(t,n="MMM-DD,YYYY/HHmm[Z]")=>CW(t,n),CW=(t,n="MMM-DD/HHmm[Z]")=>(t=xW(t),t?`${t.utc().format(n)}`:"-"),jte="",SW={name:"IdmEditableItem",components:{Edit:tn.Edit,Close:tn.Close,IdmEditor:zo},props:{width:{type:Number,default:80},disabled:{type:Boolean,default:!1},iconable:{type:Boolean,default:!0},type:{type:String,default:"input"},label:{type:String,default:""},value:{default:void 0},raw:{default:void 0},min:{type:Number},max:{type:Number},step:{type:Number},precision:{type:Number},controls:{type:Boolean,default:!1},size:{type:String,default:"default"},options:{type:Array,default:[]},radios:{type:Array,default:[]},checkboxs:{type:Array,default:[]},format:{type:String,default:"YYYY-MM-DD/HH:mm [Z]"},valueFormat:{type:String,default:"YYYY-MM-DDTHH:mm:00[Z]"},align:{type:String,default:"flex-start"}},data(){return{editable:!1,model:void 0}},computed:{computeUtcTime(){return function(t,n){return bW(t,n)}}},methods:{handleEdit(){this.disabled||(this.editable=!0,this.model=this.raw??this.value)},handleCancel(){this.editable=!1,this.model=void 0},handleSwitch(){this.model=!this.model,this.handleCommit()},handleCommit(){this.$nextTick(()=>{this.editable=!1}),this.model!==(this.raw??this.value)&&(typeof this.model=="boolean"||this.type==="alphanumeric"||this.type==="textarea"?this.$emit("commit",this.model):!isNaN(this.model)&&Number(this.model)!==1/0?this.$emit("commit",Number(this.model)):this.$emit("commit",this.model))},fetchSelectOptions(t){this.$emit("select",t)}}},kW={class:"idm-editable-item"},AW=["innerHTML"],BW={key:3,class:"buttons"};function wW(t,n,o,c,l,a){const p=e.resolveComponent("ElTag"),i=e.resolveComponent("ElInput"),_=e.resolveComponent("IdmEditor"),g=e.resolveComponent("ElInputNumber"),S=e.resolveComponent("ElDatePicker"),h=e.resolveComponent("ElOption"),N=e.resolveComponent("ElSelect"),x=e.resolveComponent("ElRadio"),r=e.resolveComponent("ElRadioGroup"),C=e.resolveComponent("ElCheckbox"),k=e.resolveComponent("ElCheckboxGroup"),T=e.resolveComponent("Edit"),u=e.resolveComponent("ElIcon"),L=e.resolveComponent("ElButton"),O=e.resolveComponent("Close");return e.openBlock(),e.createElementBlock("div",kW,[e.createElementVNode("div",{class:"group",style:e.normalizeStyle({justifyContent:o.align})},[o.label?(e.openBlock(),e.createElementBlock("label",{key:0,style:e.normalizeStyle({width:o.width+"px"})},e.toDisplayString(o.label),5)):e.createCommentVNode("",!0),l.editable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[o.type==="input"?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.model,"onUpdate:modelValue":n[2]||(n[2]=b=>l.model=b),size:o.size,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="alphanumeric"?(e.openBlock(),e.createBlock(i,{key:1,modelValue:l.model,"onUpdate:modelValue":n[3]||(n[3]=b=>l.model=b),size:o.size,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="textarea"?(e.openBlock(),e.createBlock(i,{key:2,modelValue:l.model,"onUpdate:modelValue":n[4]||(n[4]=b=>l.model=b),size:o.size,type:"textarea",rows:4,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="richText"?(e.openBlock(),e.createBlock(_,{key:3,modelValue:l.model,"onUpdate:modelValue":n[5]||(n[5]=b=>l.model=b),onBlur:a.handleCommit},null,8,["modelValue","onBlur"])):e.createCommentVNode("",!0),o.type==="number"?(e.openBlock(),e.createBlock(g,{key:4,modelValue:l.model,"onUpdate:modelValue":n[6]||(n[6]=b=>l.model=b),size:o.size,controls:o.controls,min:o.min,max:o.max,step:o.step,precision:o.precision,onBlur:a.handleCommit,onChange:a.handleCommit},null,8,["modelValue","size","controls","min","max","step","precision","onBlur","onChange"])):e.createCommentVNode("",!0),o.type==="datetime"?(e.openBlock(),e.createBlock(S,{key:5,modelValue:l.model,"onUpdate:modelValue":n[7]||(n[7]=b=>l.model=b),size:o.size,type:"datetime",class:"datetime",format:o.format,"value-format":o.valueFormat,onBlur:a.handleCommit},null,8,["modelValue","size","format","value-format","onBlur"])):e.createCommentVNode("",!0),o.type==="select"?(e.openBlock(),e.createBlock(N,{key:6,modelValue:l.model,"onUpdate:modelValue":n[8]||(n[8]=b=>l.model=b),size:o.size,filterable:"",style:{width:"100%"},mini:"",onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,b=>(e.openBlock(),e.createBlock(h,{key:b.value,label:b.label,disabled:b.disabled,value:b.value},null,8,["label","disabled","value"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),o.type==="remoteSelect"?(e.openBlock(),e.createBlock(N,{key:7,modelValue:l.model,"onUpdate:modelValue":n[9]||(n[9]=b=>l.model=b),size:o.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":a.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,b=>(e.openBlock(),e.createBlock(h,{key:b.value,label:b.label,value:b.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),o.type==="remotePortSelect"?(e.openBlock(),e.createBlock(N,{key:8,modelValue:l.model,"onUpdate:modelValue":n[10]||(n[10]=b=>l.model=b),size:o.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":a.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,b=>(e.openBlock(),e.createBlock(h,{key:b.id,label:b.name,value:b.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),o.type==="radio"?(e.openBlock(),e.createBlock(r,{key:9,modelValue:l.model,"onUpdate:modelValue":n[11]||(n[11]=b=>l.model=b),size:o.size,style:{width:"100%"},onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.radios,b=>(e.openBlock(),e.createBlock(x,{key:b.value,label:b.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(b.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),o.type==="checkbox"?(e.openBlock(),e.createBlock(k,{key:10,modelValue:l.model,"onUpdate:modelValue":n[12]||(n[12]=b=>l.model=b),size:o.size,class:"checkbox",style:{width:"100%"},onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.checkboxs,b=>(e.openBlock(),e.createBlock(C,{label:b.value,key:b.label},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(b.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[typeof o.raw=="boolean"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.raw?(e.openBlock(),e.createBlock(p,{key:0,size:"small",type:"success",style:{margin:"0",cursor:"pointer"},onDblclick:a.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1},8,["onDblclick"])):(e.openBlock(),e.createBlock(p,{key:1,size:"small",type:"info",style:{cursor:"pointer"},onDblclick:a.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1},8,["onDblclick"]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.type==="datetime"?(e.openBlock(),e.createElementBlock("span",{key:0,onDblclick:n[0]||(n[0]=(...b)=>a.handleEdit&&a.handleEdit(...b))},e.toDisplayString(a.computeUtcTime(o.value,o.format)),33)):o.type==="richText"?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:o.value||""},null,8,AW)):(e.openBlock(),e.createElementBlock("span",{key:2,onDblclick:n[1]||(n[1]=(...b)=>a.handleEdit&&a.handleEdit(...b))},[typeof o.value=="number"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.value),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(o.value||"-"),1)],64))],32))],64))],64)),!o.disabled&&o.iconable&&typeof o.raw!="boolean"?(e.openBlock(),e.createElementBlock("div",BW,[l.editable?(e.openBlock(),e.createBlock(L,{key:1,size:o.size,type:"danger",link:"",style:{display:"block"},onClick:a.handleCancel},{default:e.withCtx(()=>[e.createVNode(u,null,{default:e.withCtx(()=>[e.createVNode(O)]),_:1})]),_:1},8,["size","onClick"])):(e.openBlock(),e.createBlock(L,{key:0,size:o.size,link:"",onClick:a.handleEdit},{default:e.withCtx(()=>[e.createVNode(u,null,{default:e.withCtx(()=>[e.createVNode(T)]),_:1})]),_:1},8,["size","onClick"]))])):e.createCommentVNode("",!0)],4)])}const An=ke(SW,[["render",wW]]),vte="",TW={props:{report:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe.idmwx.com"},token:{type:String,default:void 0}},components:{CirclePlus:tn.CirclePlus,Remove:tn.Remove,EditableItem:An,Editor:zo,IdmBrand:Ro},data(){return{extraData:void 0,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},watch:{report:{handler(t){t&&(this.fetchData(),this.fetchSuggestName())},immediate:!0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${w(t).utc().format(n)}`:"-"}},computedLngLat(){return function(t,n){const o=this.fetchLonLat(te.LngLatHelper.lat2pretty(t)),c=this.fetchLonLat(te.LngLatHelper.lng2pretty(n));return`${o} / ${c}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},methods:{fetchLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,2)}′${t.direction}`},fetchData(){var t,n,o,c;this.extraData=this.report,this.extraPortList=(t=this.report)!=null&&t.extraPorts?(n=this.report)==null?void 0:n.extraPorts:[],this.advisory=(o=this.report)!=null&&o.comments?(c=this.report)==null?void 0:c.comments:void 0,this.id=this.report.id},async fetchSuggestName(t){var o;const n=await gl.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(o=n==null?void 0:n.data)==null?void 0:o.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var o,c,l,a,p;this.extraPortList.splice(t,1);const n=await gl.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(o=n==null?void 0:n.data)==null?void 0:o.data,this.extraPortList=(l=(c=n==null?void 0:n.data)==null?void 0:c.data)==null?void 0:l.extraPorts,this.advisory=(a=this.report)!=null&&a.comments?(p=this.report)==null?void 0:p.comments:void 0},decideDisable(){this.editable=!this.editable},async handleCommit(t,n,o,c){var p,i,_,g,S;this.editable=!1;const l=n.indexOf(".");let a={};if((o||o==0)&&o!=""){if(t==="port"){if(l>0){const N=n.substring(0,l),x=n.substring(l+1);x!=="date"&&(o=Number(o)),this.extraPortList[c][N][x]=o}else this.extraPortList[c][n]=o;a={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[n]=o,a={[n]:o}):(this.extraData[n]=o,a={[n]:Number(o)});const h=await gl.put(`${this.gateway}/api/als/deviations/${this.id}`,a,{headers:{Authorization:this.token}});this.extraData=(p=h==null?void 0:h.data)==null?void 0:p.data,this.extraPortList=(_=(i=h==null?void 0:h.data)==null?void 0:i.data)==null?void 0:_.extraPorts,this.advisory=(g=this.report)!=null&&g.comments?(S=this.report)==null?void 0:S.comments:void 0}else mn.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},B=t=>(e.pushScopeId("data-v-4829e189"),t=t(),e.popScopeId(),t),OW={class:"deviation-report"},PW={class:"section vessel-section"},FW={class:"report-summary"},uW={class:"summary-item"},LW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),WW={class:"flexL gray"},HW={class:"summary-item"},MW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),GW={class:"flexL gray"},IW={class:"summary-item"},RW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),zW={class:"flexL gray"},UW={class:"summary-item"},YW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),ZW={class:"flexL gray"},QW={class:"summary-item"},$W=B(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),JW={class:"flexL gray",style:{display:"flex"}},KW={class:"flex"},qW={class:"flexM"},XW={class:"summary-item"},jW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),vW={class:"flexL gray",style:{display:"flex"}},eH={class:"flex"},tH={class:"flexM"},oH={class:"section summary-section"},lH=B(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),aH={class:"report-summary"},nH={class:"summary-item"},sH=B(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),iH={class:"summary-item"},cH=B(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),dH={class:"summary-item"},rH=B(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),mH={class:"summary-item"},pH=B(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),hH={class:"section map-section"},yH=B(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),EH={class:"report-map"},_H=["src"],NH=e.createStaticVNode('<div class="legend" data-v-4829e189><div class="legend-item" data-v-4829e189><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-4829e189></div><div data-v-4829e189>Actual Route</div></div><div class="legend-item" data-v-4829e189><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-4829e189></div><div data-v-4829e189>Route prior to deviation</div></div></div>',1),VH={key:0,class:"section deviation-section"},fH=B(()=>e.createElementVNode("div",{class:"subtitle"},"Deviation Information",-1)),gH={class:"report-summary"},DH=e.createStaticVNode('<div class="summary-item" data-v-4829e189><div class="blue center" style="width:17%;" data-v-4829e189>Deviation</div><div class="blue center" style="width:20%;" data-v-4829e189>Position</div><div class="blue center" style="width:17%;" data-v-4829e189>Date Time</div><div class="flex blue center" data-v-4829e189>FO BROB<br data-v-4829e189>(mt)</div><div class="flex blue center" data-v-4829e189>DO/GO<br data-v-4829e189>BROB (mt)</div><div class="flex blue center" data-v-4829e189>Bunkering<br data-v-4829e189>FO (mt)</div><div class="flex blue center" data-v-4829e189>Bunkering<br data-v-4829e189>DO/GO (mt)</div></div>',1),xH={class:"summary-item"},bH=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Deviation",-1)),CH={class:"blue center",style:{width:"20%"}},SH={class:"blue center",style:{width:"17%"}},kH={class:"flex blue center"},AH={class:"flex blue center"},BH=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),wH=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),TH={class:"summary-item"},OH=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Back on Track",-1)),PH={class:"blue center",style:{width:"20%"}},FH={class:"blue center",style:{width:"17%"}},uH={class:"flex blue center"},LH={class:"flex blue center"},WH={class:"flex blue center"},HH={class:"flex blue center"},MH={class:"summary-item"},GH=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Time & Consumption",-1)),IH=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),RH={class:"blue center",style:{width:"17%"}},zH={class:"flex blue center"},UH={class:"flex blue center"},YH=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),ZH=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),QH={class:"section cp-section"},$H=B(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),JH={class:"report-summary"},KH={class:"summary-item"},qH=B(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),XH={class:"flexL blue center"},jH={class:"summary-item"},vH=B(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),eM={class:"flexL blue center"},tM={class:"summary-item"},oM=B(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),lM={class:"flexL blue center"},aM={class:"section port-section"},nM={class:"subtitle port"},sM=B(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),iM={class:"print-hidden"},cM={class:"report-port"},dM=B(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Extra Port"),e.createElementVNode("th",null,"Event"),e.createElementVNode("th",null,"Date Time"),e.createElementVNode("th",null,"FO BROB(mt)"),e.createElementVNode("th",null,[e.createTextVNode("DO/GO"),e.createElementVNode("br"),e.createTextVNode("BROB(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("FO(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("DO/GO(mt)")]),e.createElementVNode("th",{class:"print-hidden"})])],-1)),rM={rowspan:2},mM=B(()=>e.createElementVNode("td",null,"Arrival",-1)),pM=B(()=>e.createElementVNode("td",null,null,-1)),hM=B(()=>e.createElementVNode("td",null,null,-1)),yM={rowspan:2,class:"print-hidden"},EM=B(()=>e.createElementVNode("td",null,"Departure",-1)),_M=B(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),NM=B(()=>e.createElementVNode("td",null,null,-1)),VM=B(()=>e.createElementVNode("td",null,null,-1)),fM=B(()=>e.createElementVNode("td",null,null,-1)),gM=B(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),DM={class:"section distance-section"},xM=B(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),bM={class:"report-summary"},CM=B(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"30%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Route prior to deviation")],-1)),SM={class:"summary-item"},kM=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),AM={class:"flex blue center"},BM={class:"flex blue center"},wM={class:"summary-item"},TM=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),OM={class:"flex blue center"},PM={class:"section time-section"},FM=B(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),uM={key:0,class:"report-formular"},LM={class:"equation"},WM=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-4829e189>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-4829e189>=</div><div class="function" style="width:20%;" data-v-4829e189><div data-v-4829e189>Deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:5%;" data-v-4829e189>=</div>',4),HM={class:"function",style:{width:"20%"}},MM=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),GM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),IM={style:{width:"10%"}},RM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),zM={class:"equation"},UM=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-4829e189>Total extra Time (hrs)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:28%;" data-v-4829e189>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-4829e189>+</div><div style="width:23%;" data-v-4829e189>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-4829e189>=</div>',6),YM={style:{width:"5%"}},ZM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),QM={style:{width:"8%"}},$M=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),JM={style:{width:"4%"}},KM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),qM={key:1,class:"report-formular"},XM={class:"equation"},jM=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-4829e189>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-4829e189>=</div><div class="function" style="width:20%;" data-v-4829e189><div data-v-4829e189>Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:5%;" data-v-4829e189>=</div>',4),vM={class:"function",style:{width:"20%"}},eG=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),oG={style:{width:"10%"}},lG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),aG={key:0,class:"equation"},nG=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-4829e189>Total extra Time (hrs)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:24%;" data-v-4829e189>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-4829e189>-</div><div style="width:30%;" data-v-4829e189>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-4829e189>=</div>',6),sG={style:{width:"5%"}},iG=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),cG={style:{width:"5%"}},dG=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),rG={style:{width:"5%"}},mG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),pG={key:1,class:"equation"},hG=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-4829e189>Total extra Time (hrs)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:24%;" data-v-4829e189>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-4829e189>-</div><div style="width:20%;" data-v-4829e189>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-4829e189>-</div><div style="width:10%;" data-v-4829e189>Time spent in port (hrs)</div><div style="width:2%;" data-v-4829e189>=</div>',8),yG={style:{width:"5%"}},EG=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),_G={style:{width:"5%"}},NG=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),VG={style:{width:"5%"}},fG=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),gG={style:{width:"5%"}},DG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),xG={key:2,class:"report-summary"},bG={class:"summary-item"},CG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),SG={class:"flex blue center"},kG={class:"summary-item"},AG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),BG={class:"flex blue center"},wG={class:"summary-item"},TG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),OG={class:"flex blue center"},PG={key:3,class:"report-summary"},FG={class:"summary-item"},uG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),LG={class:"flex blue center"},WG={class:"summary-item"},HG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),MG={class:"flex blue center"},GG={key:0,class:"summary-item"},IG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),RG={class:"flex blue center"},zG={class:"summary-item"},UG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),YG={class:"flex blue center"},ZG={class:"section consumption-section"},QG=B(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),$G={key:0,class:"report-formular"},JG={class:"equation"},KG=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-4829e189>=</div><div class="function" style="width:30%;" data-v-4829e189><div data-v-4829e189>Deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:3%;" data-v-4829e189>×</div><div class="function" style="width:23%;" data-v-4829e189><div data-v-4829e189>Daily FO Consumption</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>24</div></div><div style="width:3%;" data-v-4829e189>=</div>',6),qG={class:"function",style:{width:"5%"}},XG=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),jG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),vG={class:"function",style:{width:"5%"}},eI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tI=B(()=>e.createElementVNode("div",null,"24",-1)),oI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),lI={style:{width:"5%"}},aI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),nI={class:"equation"},sI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:30%;" data-v-4829e189>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-4829e189>+</div><div style="width:23%;" data-v-4829e189>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-4829e189>=</div>',6),iI={style:{width:"5%"}},cI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),dI={style:{width:"5%"}},rI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),mI={style:{width:"5%"}},pI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),hI={class:"equation"},yI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-4829e189>=</div><div class="function" style="width:30%;" data-v-4829e189><div data-v-4829e189>Deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:3%;" data-v-4829e189>×</div><div class="function" style="width:23%;" data-v-4829e189><div data-v-4829e189>Daily DO Consumption</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>24</div></div><div style="width:3%;" data-v-4829e189>=</div>',6),EI={class:"function",style:{width:"5%"}},_I=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),VI={class:"function",style:{width:"5%"}},fI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),gI=B(()=>e.createElementVNode("div",null,"24",-1)),DI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),xI={style:{width:"5%"}},bI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),CI={class:"equation"},SI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:30%;" data-v-4829e189>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:23%;" data-v-4829e189>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-4829e189>=</div>',6),kI={style:{width:"5%"}},AI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),BI={style:{width:"5%"}},wI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),TI={style:{width:"5%"}},OI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),PI={key:1,class:"report-formular"},FI={class:"equation"},uI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-4829e189>=</div><div class="function" style="width:30%;" data-v-4829e189><div data-v-4829e189>Route prior to deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:3%;" data-v-4829e189>×</div><div class="function" style="width:23%;" data-v-4829e189><div data-v-4829e189>CP Daily FO Consumption</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>24</div></div><div style="width:3%;" data-v-4829e189>=</div>',6),LI={class:"function",style:{width:"5%"}},WI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),HI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),MI={class:"function",style:{width:"5%"}},GI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),II=B(()=>e.createElementVNode("div",null,"24",-1)),RI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),zI={style:{width:"5%"}},UI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),YI={class:"equation"},ZI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-4829e189>=</div><div class="function" style="width:30%;" data-v-4829e189><div data-v-4829e189>Route prior to deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:3%;" data-v-4829e189>×</div><div class="function" style="width:23%;" data-v-4829e189><div data-v-4829e189>CP Daily DO Consumption</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>24</div></div><div style="width:3%;" data-v-4829e189>=</div>',6),QI={class:"function",style:{width:"5%"}},$I=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),JI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),KI={class:"function",style:{width:"5%"}},qI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),XI=B(()=>e.createElementVNode("div",null,"24",-1)),jI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),vI={style:{width:"5%"}},eR=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),tR={key:0,class:"equation"},oR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:30%;" data-v-4829e189>FO Consumption for Actual Route</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:23%;" data-v-4829e189>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-4829e189>=</div>',6),lR={style:{width:"5%"}},aR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),nR={style:{width:"5%"}},sR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),iR={style:{width:"5%"}},cR=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),dR={key:1,class:"equation"},rR=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-4829e189>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:15%;" data-v-4829e189>FO Consumption for Actual Route</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:20%;" data-v-4829e189>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:10%;" data-v-4829e189>FO Consumption in port</div><div style="width:3%;" data-v-4829e189>=</div>',8),mR={style:{width:"5%"}},pR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),hR={style:{width:"5%"}},yR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),ER={style:{width:"5%"}},_R=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),NR={style:{width:"5%"}},VR=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),fR={key:2,class:"equation"},gR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:30%;" data-v-4829e189>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:23%;" data-v-4829e189>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-4829e189>=</div>',6),DR={style:{width:"5%"}},xR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),bR={style:{width:"5%"}},CR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),SR={style:{width:"5%"}},kR=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),AR={key:3,class:"equation"},BR=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-4829e189>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:15%;" data-v-4829e189>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:20%;" data-v-4829e189>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:10%;" data-v-4829e189>DO/GO Consumption in port</div><div style="width:3%;" data-v-4829e189>=</div>',8),wR={style:{width:"5%"}},TR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),OR={style:{width:"5%"}},PR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),FR={style:{width:"5%"}},uR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),LR={style:{width:"5%"}},WR=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),HR={key:2,class:"report-summary"},MR=B(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),GR={class:"summary-item"},IR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),RR={class:"flex blue center"},zR={class:"flex blue center"},UR={class:"summary-item"},YR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),ZR={class:"flex blue center"},QR={class:"flex blue center"},$R={class:"summary-item"},JR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),KR={key:3,class:"report-summary"},qR=B(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),XR={class:"summary-item"},jR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),vR={class:"flex blue center"},ez={class:"flex blue center"},tz={class:"summary-item"},oz=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),lz={class:"flex blue center"},az={class:"flex blue center"},nz={key:0,class:"summary-item"},sz=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),iz={class:"flex blue center"},cz={class:"flex blue center"},dz={class:"summary-item"},rz=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),mz={class:"section comment-section"},pz=["innerHTML"];function hz(t,n,o,c,l,a){var N,x,r,C,k,T,u,L,O,b,F,z,Z,U,W,f,Y,R,H,J,K,X,q,V,M,$,s,j,d,v,le,ee,ie,ce,de,re,Ee,ae,he,_e,Ne,Ve,fe,ge,De,xe,be,Ce,Oe,Pe,ye,P,me,Fe,ue,Le,Se,We,Ue,Ye,G,we,Me,Ze,Qe,$e,Je,Ke,E,Q,Te,He,Ge,pe,qe,je,ve,ot,lt,at,nt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ot,Ht,po,Eo,_o,No,Vo,I,tt,Pt,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,$t,Jt,Kt,qt,Xt,jt,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Po,Fo,uo,Lo,Wo,Ho,Mo,Go,Io,Yo,Zo,Qo,$o,Jo,Ko,qo,Xo,jo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,yl,El,ut,Vl,Dl,xl,bl,Cl,Sl,kl,Al,Bl,wl,Tl,Ol,Pl,Fl,ul,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,Ql,$l,Jl,Kl,ql,Xl,jl,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,ya,Ea,_a,Na,Va,fa,ga,Da,xa,ba,Ca,Sa,ka,Aa,Ba,wa,Ta,Oa,Pa,Fa,ua,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya,Za,ne,ro,Qa,$a,Ja;const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("EditableItem"),_=e.resolveComponent("CirclePlus"),g=e.resolveComponent("el-icon"),S=e.resolveComponent("Remove"),h=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",OW,[e.createVNode(p,{name:"Voyage Deviation Report"}),e.createElementVNode("div",PW,[e.createElementVNode("div",FW,[e.createElementVNode("div",uW,[LW,e.createElementVNode("div",WW,e.toDisplayString((x=(N=l.extraData)==null?void 0:N.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",HW,[MW,e.createElementVNode("div",GW,e.toDisplayString((r=l.extraData)==null?void 0:r.preparedFor),1)]),e.createElementVNode("div",IW,[RW,e.createElementVNode("div",zW,e.toDisplayString((k=(C=l.extraData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("div",UW,[YW,e.createElementVNode("div",ZW,e.toDisplayString((u=(T=l.extraData)==null?void 0:T.voyage)==null?void 0:u.number),1)]),e.createElementVNode("div",QW,[$W,e.createElementVNode("div",JW,[e.createElementVNode("span",KW,e.toDisplayString((O=(L=l.extraData)==null?void 0:L.departure)==null?void 0:O.name),1),e.createElementVNode("span",qW,e.toDisplayString(a.computeUTCTime(((F=(b=l.extraData)==null?void 0:b.departure)==null?void 0:F.atd)||((Z=(z=l.extraData)==null?void 0:z.departure)==null?void 0:Z.etd))),1)])]),e.createElementVNode("div",XW,[jW,e.createElementVNode("div",vW,[e.createElementVNode("span",eH,e.toDisplayString((W=(U=l.extraData)==null?void 0:U.arrival)==null?void 0:W.name),1),e.createElementVNode("span",tH,e.toDisplayString(a.computeUTCTime(((Y=(f=l.extraData)==null?void 0:f.arrival)==null?void 0:Y.ata)||((H=(R=l.extraData)==null?void 0:R.arrival)==null?void 0:H.eta))),1)])])])]),e.createElementVNode("div",oH,[lH,e.createElementVNode("div",aH,[e.createElementVNode("div",nH,[sH,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((J=l.extraData)==null?void 0:J.extraDist)} flex blue`)},e.toDisplayString(((K=l.extraData)==null?void 0:K.extraDist)??"—"),3)]),e.createElementVNode("div",iH,[cH,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((q=(X=l.extraData)==null?void 0:X.timeAnalysis)==null?void 0:q.totalExtraTime)} flex blue`)},e.toDisplayString(((M=(V=l.extraData)==null?void 0:V.timeAnalysis)==null?void 0:M.totalExtraTime)??"—"),3)]),e.createElementVNode("div",dH,[rH,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((j=(s=($=l.extraData)==null?void 0:$.consAnalysis)==null?void 0:s.fo)==null?void 0:j.totalExtraCons)} flex blue`)},e.toDisplayString(((le=(v=(d=l.extraData)==null?void 0:d.consAnalysis)==null?void 0:v.fo)==null?void 0:le.totalExtraCons)??"—"),3)]),e.createElementVNode("div",mH,[pH,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ce=(ie=(ee=l.extraData)==null?void 0:ee.consAnalysis)==null?void 0:ie.dgo)==null?void 0:ce.totalExtraCons)} flex blue`)},e.toDisplayString(((Ee=(re=(de=l.extraData)==null?void 0:de.consAnalysis)==null?void 0:re.dgo)==null?void 0:Ee.totalExtraCons)??"—"),3)])])]),e.createElementVNode("div",hH,[yH,e.createElementVNode("div",EH,[e.createElementVNode("img",{style:{width:"100%"},src:(ae=l.extraData)==null?void 0:ae.chartUrl,alt:""},null,8,_H),NH])]),((he=o.report)==null?void 0:he.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("div",VH,[fH,e.createElementVNode("div",gH,[DH,e.createElementVNode("div",xH,[bH,e.createElementVNode("div",CH,e.toDisplayString(a.computedLngLat((_e=l.extraData)==null?void 0:_e.startLng,(Ne=l.extraData)==null?void 0:Ne.startLat)),1),e.createElementVNode("div",SH,e.toDisplayString(a.computeUTCTime((Ve=l.extraData)==null?void 0:Ve.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",kH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(fe=l.extraData)==null?void 0:fe.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[0]||(n[0]=se=>a.handleCommit("extra","startFoBrob",se))},null,8,["value"])]),e.createElementVNode("div",AH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(ge=l.extraData)==null?void 0:ge.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[1]||(n[1]=se=>a.handleCommit("extra","startDgoBrob",se))},null,8,["value"])]),BH,wH]),e.createElementVNode("div",TH,[OH,e.createElementVNode("div",PH,e.toDisplayString(a.computedLngLat((De=l.extraData)==null?void 0:De.endLng,(xe=l.extraData)==null?void 0:xe.endLat)),1),e.createElementVNode("div",FH,e.toDisplayString(a.computeUTCTime((be=l.extraData)==null?void 0:be.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",uH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Ce=l.extraData)==null?void 0:Ce.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[2]||(n[2]=se=>a.handleCommit("extra","endFoBrob",se))},null,8,["value"])]),e.createElementVNode("div",LH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Oe=l.extraData)==null?void 0:Oe.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[3]||(n[3]=se=>a.handleCommit("extra","endDgoBrob",se))},null,8,["value"])]),e.createElementVNode("div",WH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Pe=l.extraData)==null?void 0:Pe.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[4]||(n[4]=se=>a.handleCommit("extra","endFoBunkering",se))},null,8,["value"])]),e.createElementVNode("div",HH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(ye=l.extraData)==null?void 0:ye.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[5]||(n[5]=se=>a.handleCommit("extra","endDgoBunkering",se))},null,8,["value"])])]),e.createElementVNode("div",MH,[GH,IH,e.createElementVNode("div",RH,e.toDisplayString(((me=(P=l.extraData)==null?void 0:P.timeAnalysis)==null?void 0:me.actualTime)??"—"),1),e.createElementVNode("div",zH,e.toDisplayString(((Le=(ue=(Fe=l.extraData)==null?void 0:Fe.consAnalysis)==null?void 0:ue.fo)==null?void 0:Le.actualCons)??"—"),1),e.createElementVNode("div",UH,e.toDisplayString(((Ue=(We=(Se=l.extraData)==null?void 0:Se.consAnalysis)==null?void 0:We.dgo)==null?void 0:Ue.actualCons)??"—"),1),YH,ZH])])])):e.createCommentVNode("",!0),e.createElementVNode("div",QH,[$H,e.createElementVNode("div",JH,[e.createElementVNode("div",KH,[qH,e.createElementVNode("div",XH,e.toDisplayString(((G=(Ye=l.extraData)==null?void 0:Ye.cp)==null?void 0:G.speed)??"—"),1)]),e.createElementVNode("div",jH,[vH,e.createElementVNode("div",eM,e.toDisplayString(((Me=(we=l.extraData)==null?void 0:we.cp)==null?void 0:Me.fo)??"—"),1)]),e.createElementVNode("div",tM,[oM,e.createElementVNode("div",lM,e.toDisplayString(((Qe=(Ze=l.extraData)==null?void 0:Ze.cp)==null?void 0:Qe.dgo)??"—"),1)])])]),e.createElementVNode("div",aM,[e.createElementVNode("div",nM,[sM,e.createElementVNode("div",iM,[e.createVNode(g,{size:20,onClick:a.handleAdd},{default:e.withCtx(()=>[e.createVNode(_)]),_:1},8,["onClick"])])]),e.createElementVNode("div",cM,[e.createElementVNode("table",null,[dM,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.extraPortList,(se,mo)=>{var Ka,qa,Xa,rt,ln,an,nn,sn;return e.openBlock(),e.createElementBlock(e.Fragment,{key:mo},[e.createElementVNode("tr",null,[e.createElementVNode("td",rM,[e.createVNode(i,{class:"editable-item",value:se==null?void 0:se.name,type:"remotePortSelect",size:"small",align:"center",options:l.portList,onSelect:a.fetchSuggestName,onCommit:Lt=>a.handleCommit("port","name",Lt,mo)},null,8,["value","options","onSelect","onCommit"])]),mM,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(Ka=se==null?void 0:se.arrival)==null?void 0:Ka.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Lt=>a.handleCommit("port","arrival.date",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(qa=se==null?void 0:se.arrival)==null?void 0:qa.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","arrival.foBrob",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(Xa=se==null?void 0:se.arrival)==null?void 0:Xa.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","arrival.dgoBrob",Lt,mo)},null,8,["value","onCommit"])]),pM,hM,e.createElementVNode("td",yM,[e.createVNode(g,{size:20,onClick:Lt=>a.handleRemove(mo)},{default:e.withCtx(()=>[e.createVNode(S)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[EM,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(rt=se==null?void 0:se.departure)==null?void 0:rt.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Lt=>a.handleCommit("port","departure.date",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(ln=se==null?void 0:se.departure)==null?void 0:ln.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","departure.foBrob",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(an=se==null?void 0:se.departure)==null?void 0:an.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","departure.dgoBrob",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(nn=se==null?void 0:se.departure)==null?void 0:nn.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","departure.bunkeringFo",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(sn=se==null?void 0:se.departure)==null?void 0:sn.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","departure.bunkeringDgo",Lt,mo)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[_M,NM,e.createElementVNode("td",null,e.toDisplayString(((Je=($e=l.extraData)==null?void 0:$e.timeAnalysis)==null?void 0:Je.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Q=(E=(Ke=l.extraData)==null?void 0:Ke.consAnalysis)==null?void 0:E.fo)==null?void 0:Q.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Ge=(He=(Te=l.extraData)==null?void 0:Te.consAnalysis)==null?void 0:He.dgo)==null?void 0:Ge.portCons)??"—"),1),VM,fM,gM])])])])]),e.createElementVNode("div",DM,[xM,e.createElementVNode("div",bM,[CM,e.createElementVNode("div",SM,[kM,e.createElementVNode("div",AM,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(pe=l.extraData)==null?void 0:pe.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[6]||(n[6]=se=>a.handleCommit("extraData","actualDist",se,t.index))},null,8,["value"])]),e.createElementVNode("div",BM,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(qe=l.extraData)==null?void 0:qe.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[7]||(n[7]=se=>a.handleCommit("extraData","priorDist",se,t.index))},null,8,["value"])])]),e.createElementVNode("div",wM,[TM,e.createElementVNode("div",OM,e.toDisplayString(((je=l.extraData)==null?void 0:je.extraDist)??"—"),1)])])]),e.createElementVNode("div",PM,[FM,((ve=o.report)==null?void 0:ve.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",uM,[e.createElementVNode("div",LM,[WM,e.createElementVNode("div",HM,[e.createElementVNode("div",null,e.toDisplayString((ot=l.extraData)==null?void 0:ot.extraDist),1),MM,e.createElementVNode("div",null,e.toDisplayString((at=(lt=l.extraData)==null?void 0:lt.cp)==null?void 0:at.speed),1)]),GM,e.createElementVNode("div",IM,e.toDisplayString((pt=(nt=l.extraData)==null?void 0:nt.timeAnalysis)==null?void 0:pt.sailingTime),1),RM]),e.createElementVNode("div",zM,[UM,e.createElementVNode("div",YM,e.toDisplayString((yt=(ht=l.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:yt.sailingTime),1),ZM,e.createElementVNode("div",QM,e.toDisplayString(a.computeNum((_t=(Et=l.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:_t.portTime)),1),$M,e.createElementVNode("div",JM,e.toDisplayString((Vt=(Nt=l.extraData)==null?void 0:Nt.timeAnalysis)==null?void 0:Vt.totalExtraTime),1),KM])])):(e.openBlock(),e.createElementBlock("div",qM,[e.createElementVNode("div",XM,[jM,e.createElementVNode("div",vM,[e.createElementVNode("div",null,e.toDisplayString((ft=l.extraData)==null?void 0:ft.priorDist),1),eG,e.createElementVNode("div",null,e.toDisplayString((Dt=(gt=l.extraData)==null?void 0:gt.cp)==null?void 0:Dt.speed),1)]),tG,e.createElementVNode("div",oG,e.toDisplayString((bt=(xt=l.extraData)==null?void 0:xt.timeAnalysis)==null?void 0:bt.sailingTime),1),lG]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",aG,[nG,e.createElementVNode("div",sG,e.toDisplayString((St=(Ct=l.extraData)==null?void 0:Ct.timeAnalysis)==null?void 0:St.actualTime),1),iG,e.createElementVNode("div",cG,e.toDisplayString((At=(kt=l.extraData)==null?void 0:kt.timeAnalysis)==null?void 0:At.sailingTime),1),dG,e.createElementVNode("div",rG,e.toDisplayString((wt=(Bt=l.extraData)==null?void 0:Bt.timeAnalysis)==null?void 0:wt.totalExtraTime),1),mG])):(e.openBlock(),e.createElementBlock("div",pG,[hG,e.createElementVNode("div",yG,e.toDisplayString((Ot=(Tt=l.extraData)==null?void 0:Tt.timeAnalysis)==null?void 0:Ot.actualTime),1),EG,e.createElementVNode("div",_G,e.toDisplayString((po=(Ht=l.extraData)==null?void 0:Ht.timeAnalysis)==null?void 0:po.sailingTime),1),NG,e.createElementVNode("div",VG,e.toDisplayString((_o=(Eo=l.extraData)==null?void 0:Eo.timeAnalysis)==null?void 0:_o.portTime),1),fG,e.createElementVNode("div",gG,e.toDisplayString((Vo=(No=l.extraData)==null?void 0:No.timeAnalysis)==null?void 0:Vo.totalExtraTime),1),DG]))])),((I=o.report)==null?void 0:I.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",xG,[e.createElementVNode("div",bG,[CG,e.createElementVNode("div",SG,e.toDisplayString(((Pt=(tt=l.extraData)==null?void 0:tt.timeAnalysis)==null?void 0:Pt.sailingTime)??"—"),1)]),e.createElementVNode("div",kG,[AG,e.createElementVNode("div",BG,e.toDisplayString(((Mt=(Ft=l.extraData)==null?void 0:Ft.timeAnalysis)==null?void 0:Mt.portTime)??"—"),1)]),e.createElementVNode("div",wG,[TG,e.createElementVNode("div",OG,e.toDisplayString(((It=(Gt=l.extraData)==null?void 0:Gt.timeAnalysis)==null?void 0:It.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",PG,[e.createElementVNode("div",FG,[uG,e.createElementVNode("div",LG,e.toDisplayString((zt=(Rt=l.extraData)==null?void 0:Rt.timeAnalysis)==null?void 0:zt.sailingTime),1)]),e.createElementVNode("div",WG,[HG,e.createElementVNode("div",MG,e.toDisplayString((Yt=(Ut=l.extraData)==null?void 0:Ut.timeAnalysis)==null?void 0:Yt.actualTime),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",GG,[IG,e.createElementVNode("div",RG,e.toDisplayString(((Qt=(Zt=l.extraData)==null?void 0:Zt.timeAnalysis)==null?void 0:Qt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",zG,[UG,e.createElementVNode("div",YG,e.toDisplayString((Jt=($t=l.extraData)==null?void 0:$t.timeAnalysis)==null?void 0:Jt.totalExtraTime),1)])]))]),e.createElementVNode("div",ZG,[QG,((Kt=o.report)==null?void 0:Kt.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",$G,[e.createElementVNode("div",JG,[KG,e.createElementVNode("div",qG,[e.createElementVNode("div",null,e.toDisplayString((qt=l.extraData)==null?void 0:qt.extraDist),1),XG,e.createElementVNode("div",null,e.toDisplayString((jt=(Xt=l.extraData)==null?void 0:Xt.cp)==null?void 0:jt.speed),1)]),jG,e.createElementVNode("div",vG,[e.createElementVNode("div",null,e.toDisplayString((eo=(vt=l.extraData)==null?void 0:vt.cp)==null?void 0:eo.fo),1),eI,tI]),oI,e.createElementVNode("div",lI,e.toDisplayString((lo=(oo=(to=l.extraData)==null?void 0:to.consAnalysis)==null?void 0:oo.fo)==null?void 0:lo.sailingCons),1),aI]),e.createElementVNode("div",nI,[sI,e.createElementVNode("div",iI,e.toDisplayString((so=(no=(ao=l.extraData)==null?void 0:ao.consAnalysis)==null?void 0:no.fo)==null?void 0:so.sailingCons),1),cI,e.createElementVNode("div",dI,e.toDisplayString(a.computeNum((fo=(co=(io=l.extraData)==null?void 0:io.consAnalysis)==null?void 0:co.fo)==null?void 0:fo.portCons)),1),rI,e.createElementVNode("div",mI,e.toDisplayString((xo=(Do=(go=l.extraData)==null?void 0:go.consAnalysis)==null?void 0:Do.fo)==null?void 0:xo.totalExtraCons),1),pI]),e.createElementVNode("div",hI,[yI,e.createElementVNode("div",EI,[e.createElementVNode("div",null,e.toDisplayString((bo=l.extraData)==null?void 0:bo.extraDist),1),_I,e.createElementVNode("div",null,e.toDisplayString((So=(Co=l.extraData)==null?void 0:Co.cp)==null?void 0:So.speed),1)]),NI,e.createElementVNode("div",VI,[e.createElementVNode("div",null,e.toDisplayString((Ao=(ko=l.extraData)==null?void 0:ko.cp)==null?void 0:Ao.dgo),1),fI,gI]),DI,e.createElementVNode("div",xI,e.toDisplayString((To=(wo=(Bo=l.extraData)==null?void 0:Bo.consAnalysis)==null?void 0:wo.dgo)==null?void 0:To.sailingCons),1),bI]),e.createElementVNode("div",CI,[SI,e.createElementVNode("div",kI,e.toDisplayString((Fo=(Po=(Oo=l.extraData)==null?void 0:Oo.consAnalysis)==null?void 0:Po.dgo)==null?void 0:Fo.sailingCons),1),AI,e.createElementVNode("div",BI,e.toDisplayString(a.computeNum((Wo=(Lo=(uo=l.extraData)==null?void 0:uo.consAnalysis)==null?void 0:Lo.dgo)==null?void 0:Wo.portCons)),1),wI,e.createElementVNode("div",TI,e.toDisplayString((Go=(Mo=(Ho=l.extraData)==null?void 0:Ho.consAnalysis)==null?void 0:Mo.dgo)==null?void 0:Go.totalExtraCons),1),OI])])):(e.openBlock(),e.createElementBlock("div",PI,[e.createElementVNode("div",FI,[uI,e.createElementVNode("div",LI,[e.createElementVNode("div",null,e.toDisplayString((Io=l.extraData)==null?void 0:Io.priorDist),1),WI,e.createElementVNode("div",null,e.toDisplayString((Zo=(Yo=l.extraData)==null?void 0:Yo.cp)==null?void 0:Zo.speed),1)]),HI,e.createElementVNode("div",MI,[e.createElementVNode("div",null,e.toDisplayString(($o=(Qo=l.extraData)==null?void 0:Qo.cp)==null?void 0:$o.fo),1),GI,II]),RI,e.createElementVNode("div",zI,e.toDisplayString((qo=(Ko=(Jo=l.extraData)==null?void 0:Jo.consAnalysis)==null?void 0:Ko.fo)==null?void 0:qo.sailingCons),1),UI]),e.createElementVNode("div",YI,[ZI,e.createElementVNode("div",QI,[e.createElementVNode("div",null,e.toDisplayString((Xo=l.extraData)==null?void 0:Xo.priorDist),1),$I,e.createElementVNode("div",null,e.toDisplayString((vo=(jo=l.extraData)==null?void 0:jo.cp)==null?void 0:vo.speed),1)]),JI,e.createElementVNode("div",KI,[e.createElementVNode("div",null,e.toDisplayString((tl=(el=l.extraData)==null?void 0:el.cp)==null?void 0:tl.dgo),1),qI,XI]),jI,e.createElementVNode("div",vI,e.toDisplayString((al=(ll=(ol=l.extraData)==null?void 0:ol.consAnalysis)==null?void 0:ll.dgo)==null?void 0:al.sailingCons),1),eR]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",tR,[oR,e.createElementVNode("div",lR,e.toDisplayString((il=(sl=(nl=l.extraData)==null?void 0:nl.consAnalysis)==null?void 0:sl.fo)==null?void 0:il.actualCons),1),aR,e.createElementVNode("div",nR,e.toDisplayString(a.computeNum((rl=(dl=(cl=l.extraData)==null?void 0:cl.consAnalysis)==null?void 0:dl.fo)==null?void 0:rl.sailingCons)),1),sR,e.createElementVNode("div",iR,e.toDisplayString((hl=(pl=(ml=l.extraData)==null?void 0:ml.consAnalysis)==null?void 0:pl.fo)==null?void 0:hl.totalExtraCons),1),cR])):(e.openBlock(),e.createElementBlock("div",dR,[rR,e.createElementVNode("div",mR,e.toDisplayString((ut=(El=(yl=l.extraData)==null?void 0:yl.consAnalysis)==null?void 0:El.fo)==null?void 0:ut.actualCons),1),pR,e.createElementVNode("div",hR,e.toDisplayString(a.computeNum((xl=(Dl=(Vl=l.extraData)==null?void 0:Vl.consAnalysis)==null?void 0:Dl.fo)==null?void 0:xl.sailingCons)),1),yR,e.createElementVNode("div",ER,e.toDisplayString(a.computeNum((Sl=(Cl=(bl=l.extraData)==null?void 0:bl.consAnalysis)==null?void 0:Cl.fo)==null?void 0:Sl.portCons)),1),_R,e.createElementVNode("div",NR,e.toDisplayString((Bl=(Al=(kl=l.extraData)==null?void 0:kl.consAnalysis)==null?void 0:Al.fo)==null?void 0:Bl.totalExtraCons),1),VR])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",fR,[gR,e.createElementVNode("div",DR,e.toDisplayString((Ol=(Tl=(wl=l.extraData)==null?void 0:wl.consAnalysis)==null?void 0:Tl.dgo)==null?void 0:Ol.actualCons),1),xR,e.createElementVNode("div",bR,e.toDisplayString((ul=(Fl=(Pl=l.extraData)==null?void 0:Pl.consAnalysis)==null?void 0:Fl.dgo)==null?void 0:ul.sailingCons),1),CR,e.createElementVNode("div",SR,e.toDisplayString((Hl=(Wl=(Ll=l.extraData)==null?void 0:Ll.consAnalysis)==null?void 0:Wl.dgo)==null?void 0:Hl.totalExtraCons),1),kR])):(e.openBlock(),e.createElementBlock("div",AR,[BR,e.createElementVNode("div",wR,e.toDisplayString((Il=(Gl=(Ml=l.extraData)==null?void 0:Ml.consAnalysis)==null?void 0:Gl.dgo)==null?void 0:Il.actualCons),1),TR,e.createElementVNode("div",OR,e.toDisplayString(a.computeNum((Ul=(zl=(Rl=l.extraData)==null?void 0:Rl.consAnalysis)==null?void 0:zl.dgo)==null?void 0:Ul.sailingCons)),1),PR,e.createElementVNode("div",FR,e.toDisplayString(a.computeNum((Ql=(Zl=(Yl=l.extraData)==null?void 0:Yl.consAnalysis)==null?void 0:Zl.dgo)==null?void 0:Ql.portCons)),1),uR,e.createElementVNode("div",LR,e.toDisplayString((Kl=(Jl=($l=l.extraData)==null?void 0:$l.consAnalysis)==null?void 0:Jl.dgo)==null?void 0:Kl.totalExtraCons),1),WR]))])),((ql=o.report)==null?void 0:ql.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",HR,[MR,e.createElementVNode("div",GR,[IR,e.createElementVNode("div",RR,e.toDisplayString(((vl=(jl=(Xl=l.extraData)==null?void 0:Xl.consAnalysis)==null?void 0:jl.fo)==null?void 0:vl.sailingCons)??"—"),1),e.createElementVNode("div",zR,e.toDisplayString(((oa=(ta=(ea=l.extraData)==null?void 0:ea.consAnalysis)==null?void 0:ta.dgo)==null?void 0:oa.sailingCons)??"—"),1)]),e.createElementVNode("div",UR,[YR,e.createElementVNode("div",ZR,e.toDisplayString(((na=(aa=(la=l.extraData)==null?void 0:la.consAnalysis)==null?void 0:aa.fo)==null?void 0:na.portCons)??"—"),1),e.createElementVNode("div",QR,e.toDisplayString(((ca=(ia=(sa=l.extraData)==null?void 0:sa.consAnalysis)==null?void 0:ia.dgo)==null?void 0:ca.portCons)??"—"),1)]),e.createElementVNode("div",$R,[JR,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ma=(ra=(da=l.extraData)==null?void 0:da.consAnalysis)==null?void 0:ra.fo)==null?void 0:ma.totalExtraCons)} flex blue center`)},e.toDisplayString(((ya=(ha=(pa=l.extraData)==null?void 0:pa.consAnalysis)==null?void 0:ha.fo)==null?void 0:ya.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Na=(_a=(Ea=l.extraData)==null?void 0:Ea.consAnalysis)==null?void 0:_a.dgo)==null?void 0:Na.totalExtraCons)} flex blue center`)},e.toDisplayString(((ga=(fa=(Va=l.extraData)==null?void 0:Va.consAnalysis)==null?void 0:fa.dgo)==null?void 0:ga.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",KR,[qR,e.createElementVNode("div",XR,[jR,e.createElementVNode("div",vR,e.toDisplayString((ba=(xa=(Da=l.extraData)==null?void 0:Da.consAnalysis)==null?void 0:xa.fo)==null?void 0:ba.sailingCons),1),e.createElementVNode("div",ez,e.toDisplayString((ka=(Sa=(Ca=l.extraData)==null?void 0:Ca.consAnalysis)==null?void 0:Sa.dgo)==null?void 0:ka.sailingCons),1)]),e.createElementVNode("div",tz,[oz,e.createElementVNode("div",lz,e.toDisplayString((wa=(Ba=(Aa=l.extraData)==null?void 0:Aa.consAnalysis)==null?void 0:Ba.fo)==null?void 0:wa.actualCons),1),e.createElementVNode("div",az,e.toDisplayString((Pa=(Oa=(Ta=l.extraData)==null?void 0:Ta.consAnalysis)==null?void 0:Oa.dgo)==null?void 0:Pa.actualCons),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",nz,[sz,e.createElementVNode("div",iz,e.toDisplayString((La=(ua=(Fa=l.extraData)==null?void 0:Fa.consAnalysis)==null?void 0:ua.fo)==null?void 0:La.portCons),1),e.createElementVNode("div",cz,e.toDisplayString((Ma=(Ha=(Wa=l.extraData)==null?void 0:Wa.consAnalysis)==null?void 0:Ha.dgo)==null?void 0:Ma.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",dz,[rz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Ra=(Ia=(Ga=l.extraData)==null?void 0:Ga.consAnalysis)==null?void 0:Ia.fo)==null?void 0:Ra.totalExtraCons)} flex blue center`)},e.toDisplayString((Ya=(Ua=(za=l.extraData)==null?void 0:za.consAnalysis)==null?void 0:Ua.fo)==null?void 0:Ya.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ro=(ne=(Za=l.extraData)==null?void 0:Za.consAnalysis)==null?void 0:ne.dgo)==null?void 0:ro.totalExtraCons)} flex blue center`)},e.toDisplayString((Ja=($a=(Qa=l.extraData)==null?void 0:Qa.consAnalysis)==null?void 0:$a.dgo)==null?void 0:Ja.totalExtraCons),3)])]))]),e.createElementVNode("div",mz,[e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(h,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[8]||(n[8]=se=>l.advisory=se),height:"320px",onBlur:n[9]||(n[9]=se=>a.handleCommit("comments","comments",se))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[10]||(n[10]=(...se)=>a.decideDisable&&a.decideDisable(...se)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,pz))],2)])])}const Bn=ke(TW,[["render",hz],["__scopeId","data-v-4829e189"]]),eoe="",yz={name:"FliDvtRpt",components:{CirclePlus:tn.CirclePlus,Remove:tn.Remove,EditableItem:An,Editor:zo},props:{data:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{extraData:void 0,logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC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YkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${w(t).utc().format(n)}`:"-"}},computedLngLat(){return function(t,n){const o=this.fetchLonLat(te.LngLatHelper.lat2pretty(t)),c=this.fetchLonLat(te.LngLatHelper.lng2pretty(n));return`${o} / ${c}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},watch:{data:{handler(t){t&&((t==null?void 0:t.method)==="DistExtrapolate"?this.isDistExtra=!0:this.isDistExtra=!1,this.fetchData(),this.fetchSuggestName())},immediate:!0}},methods:{fetchLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,2)}′${t.direction}`},fetchData(){var t,n,o,c;this.extraData=this.data,this.extraPortList=(t=this.data)!=null&&t.extraPorts?(n=this.data)==null?void 0:n.extraPorts:[],this.advisory=(o=this.data)!=null&&o.comments?(c=this.data)==null?void 0:c.comments:void 0,this.id=this.data.id},async fetchSuggestName(t){var o;const n=await gl.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(o=n==null?void 0:n.data)==null?void 0:o.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var o,c,l,a,p;this.extraPortList.splice(t,1);const n=await gl.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(o=n==null?void 0:n.data)==null?void 0:o.data,this.extraPortList=(l=(c=n==null?void 0:n.data)==null?void 0:c.data)==null?void 0:l.extraPorts,this.advisory=(a=this.data)!=null&&a.comments?(p=this.data)==null?void 0:p.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,n,o,c){var p,i,_,g,S;this.editable=!1;const l=n.indexOf(".");let a={};if((o||o==0)&&o!=""){if(t==="port"){if(l>0){const N=n.substring(0,l),x=n.substring(l+1);x!=="date"&&(o=Number(o)),this.extraPortList[c][N][x]=o}else this.extraPortList[c][n]=o;a={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[n]=o,a={[n]:o}):(this.extraData[n]=o,a={[n]:Number(o)});const h=await gl.put(`${this.gateway}/api/als/deviations/${this.id}`,a,{headers:{Authorization:this.token}});this.extraData=(p=h==null?void 0:h.data)==null?void 0:p.data,this.extraPortList=(_=(i=h==null?void 0:h.data)==null?void 0:i.data)==null?void 0:_.extraPorts,this.advisory=(g=this.data)!=null&&g.comments?(S=this.data)==null?void 0:S.comments:void 0}else mn.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},A=t=>(e.pushScopeId("data-v-77edf8aa"),t=t(),e.popScopeId(),t),Ez={class:"deviation-report"},_z=A(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),Nz={class:"report-header"},Vz={class:"header-title",style:{position:"relative !important"}},fz={class:"header-title-content"},gz=A(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),Dz={class:"title-date"},xz={class:"report-summary"},bz={class:"summary-item"},Cz=A(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),Sz={class:"flexL gray"},kz={class:"summary-item"},Az=A(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),Bz={class:"flexL gray"},wz={class:"summary-item"},Tz=A(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),Oz={class:"flexL gray"},Pz={class:"summary-item"},Fz=A(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),uz={class:"flexL gray"},Lz={class:"summary-item"},Wz=A(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),Hz={class:"flexL gray",style:{display:"flex"}},Mz={class:"flex"},Gz={class:"flexM"},Iz={class:"summary-item"},Rz=A(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),zz={class:"flexL gray",style:{display:"flex"}},Uz={class:"flex"},Yz={class:"flexM"},Zz=A(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),Qz={class:"report-summary"},$z={class:"summary-item"},Jz=A(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),Kz={class:"summary-item"},qz=A(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),Xz={class:"summary-item"},jz=A(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),vz={class:"summary-item"},eU=A(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),tU=A(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),oU={class:"report-map"},lU=["src"],aU=e.createStaticVNode('<div class="legend" data-v-77edf8aa><div class="legend-item" data-v-77edf8aa><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-77edf8aa></div><div data-v-77edf8aa>Actual Route</div></div><div class="legend-item" data-v-77edf8aa><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-77edf8aa></div><div data-v-77edf8aa>Route prior to deviation</div></div></div>',1),nU=A(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),sU={key:0,class:"subtitle"},iU={key:1,class:"report-summary"},cU=e.createStaticVNode('<div class="summary-item" data-v-77edf8aa><div class="blue center" style="width:16%;" data-v-77edf8aa>Diversion</div><div class="blue center" style="width:20%;" data-v-77edf8aa>Position</div><div class="blue center" style="width:17%;" data-v-77edf8aa>Date Time</div><div class="flex blue center" data-v-77edf8aa>FO BROB<br data-v-77edf8aa>(mt)</div><div class="flex blue center" data-v-77edf8aa>DO/GO<br data-v-77edf8aa>BROB (mt)</div><div class="flex blue center" data-v-77edf8aa>Bunkering<br data-v-77edf8aa>FO (mt)</div><div class="flex blue center" data-v-77edf8aa>Bunkering<br data-v-77edf8aa>DO/GO (mt)</div></div>',1),dU={class:"summary-item"},rU=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),mU={class:"blue center",style:{width:"20%"}},pU={class:"blue center",style:{width:"17%"}},hU={class:"flex blue center"},yU={class:"flex blue center"},EU=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),_U=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),NU={class:"summary-item"},VU=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),fU={class:"blue center",style:{width:"20%"}},gU={class:"blue center",style:{width:"17%"}},DU={class:"flex blue center"},xU={class:"flex blue center"},bU={class:"flex blue center"},CU={class:"flex blue center"},SU={class:"summary-item"},kU=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),AU=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),BU={class:"blue center",style:{width:"17%"}},wU={class:"flex blue center"},TU={class:"flex blue center"},OU=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),PU=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),FU=A(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),uU={class:"report-summary"},LU={class:"summary-item"},WU=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),HU={class:"flexL blue center"},MU={class:"summary-item"},GU=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),IU={class:"flexL blue center"},RU={class:"summary-item"},zU=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),UU={class:"flexL blue center"},YU={class:"subtitle port"},ZU=A(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),QU={class:"print-hidden"},$U={class:"report-port"},JU=A(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Extra Port"),e.createElementVNode("th",null,"Event"),e.createElementVNode("th",null,"Date Time"),e.createElementVNode("th",null,"FO BROB(mt)"),e.createElementVNode("th",null,[e.createTextVNode("DO/GO"),e.createElementVNode("br"),e.createTextVNode("BROB(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("FO(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("DO/GO(mt)")]),e.createElementVNode("th",{class:"print-hidden"})])],-1)),KU={rowspan:2},qU=A(()=>e.createElementVNode("td",null,"Arrival",-1)),XU=A(()=>e.createElementVNode("td",null,null,-1)),jU=A(()=>e.createElementVNode("td",null,null,-1)),vU={rowspan:2,class:"print-hidden"},eY=A(()=>e.createElementVNode("td",null,"Departure",-1)),tY=A(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),oY=A(()=>e.createElementVNode("td",null,null,-1)),lY=A(()=>e.createElementVNode("td",null,null,-1)),aY=A(()=>e.createElementVNode("td",null,null,-1)),nY=A(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),sY=A(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),iY={class:"report-summary"},cY=A(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"30%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Route prior to deviation")],-1)),dY={class:"summary-item"},rY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),mY={class:"flex blue center"},pY={class:"flex blue center"},hY={class:"summary-item"},yY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),EY={class:"flex blue center"},_Y=A(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),NY={key:2,class:"report-formular"},VY={class:"equation"},fY=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-77edf8aa>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-77edf8aa>=</div><div class="function" style="width:20%;" data-v-77edf8aa><div data-v-77edf8aa>Deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:5%;" data-v-77edf8aa>=</div>',4),gY={class:"function",style:{width:"20%"}},DY=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),xY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),bY={style:{width:"10%"}},CY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),SY={class:"equation"},kY=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-77edf8aa>Total extra Time (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:28%;" data-v-77edf8aa>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-77edf8aa>+</div><div style="width:23%;" data-v-77edf8aa>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div>',6),AY={style:{width:"5%"}},BY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),wY={style:{width:"8%"}},TY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),OY={style:{width:"4%"}},PY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),FY={key:3,class:"report-formular"},uY={class:"equation"},LY=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-77edf8aa>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-77edf8aa>=</div><div class="function" style="width:20%;" data-v-77edf8aa><div data-v-77edf8aa>Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:5%;" data-v-77edf8aa>=</div>',4),WY={class:"function",style:{width:"20%"}},HY=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),MY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),GY={style:{width:"10%"}},IY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),RY={key:0,class:"equation"},zY=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-77edf8aa>Total extra Time (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:24%;" data-v-77edf8aa>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-77edf8aa>-</div><div style="width:30%;" data-v-77edf8aa>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div>',6),UY={style:{width:"5%"}},YY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),ZY={style:{width:"5%"}},QY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),$Y={style:{width:"5%"}},JY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),KY={key:1,class:"equation"},qY=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-77edf8aa>Total extra Time (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:24%;" data-v-77edf8aa>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-77edf8aa>-</div><div style="width:20%;" data-v-77edf8aa>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-77edf8aa>-</div><div style="width:10%;" data-v-77edf8aa>Time spent in port (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div>',8),XY={style:{width:"5%"}},jY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),vY={style:{width:"5%"}},eZ=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),tZ={style:{width:"5%"}},oZ=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),lZ={style:{width:"5%"}},aZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),nZ={key:4,class:"report-summary"},sZ={class:"summary-item"},iZ=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),cZ={class:"flex blue center"},dZ={class:"summary-item"},rZ=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),mZ={class:"flex blue center"},pZ={class:"summary-item"},hZ=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),yZ={class:"flex blue center"},EZ={key:5,class:"report-summary"},_Z={class:"summary-item"},NZ=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),VZ={class:"flex blue center"},fZ={class:"summary-item"},gZ=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),DZ={class:"flex blue center"},xZ={key:0,class:"summary-item"},bZ=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),CZ={class:"flex blue center"},SZ={class:"summary-item"},kZ=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),AZ={class:"flex blue center"},BZ=A(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),wZ={key:6,class:"report-formular"},TZ={class:"equation"},OZ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>Daily FO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),PZ={class:"function",style:{width:"5%"}},FZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),uZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),LZ={class:"function",style:{width:"5%"}},WZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),HZ=A(()=>e.createElementVNode("div",null,"24",-1)),MZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),GZ={style:{width:"5%"}},IZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),RZ={class:"equation"},zZ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-77edf8aa>+</div><div style="width:23%;" data-v-77edf8aa>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),UZ={style:{width:"5%"}},YZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),ZZ={style:{width:"5%"}},QZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),$Z={style:{width:"5%"}},JZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),KZ={class:"equation"},qZ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>Daily DO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),XZ={class:"function",style:{width:"5%"}},jZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),vZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),eQ={class:"function",style:{width:"5%"}},tQ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),oQ=A(()=>e.createElementVNode("div",null,"24",-1)),lQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),aQ={style:{width:"5%"}},nQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),sQ={class:"equation"},iQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:23%;" data-v-77edf8aa>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),cQ={style:{width:"5%"}},dQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),rQ={style:{width:"5%"}},mQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),pQ={style:{width:"5%"}},hQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),yQ={key:7,class:"report-formular"},EQ={class:"equation"},_Q=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Route prior to deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>CP Daily FO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),NQ={class:"function",style:{width:"5%"}},VQ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),fQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),gQ={class:"function",style:{width:"5%"}},DQ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),xQ=A(()=>e.createElementVNode("div",null,"24",-1)),bQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),CQ={style:{width:"5%"}},SQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),kQ={class:"equation"},AQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Route prior to deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>CP Daily DO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),BQ={class:"function",style:{width:"5%"}},wQ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),TQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),OQ={class:"function",style:{width:"5%"}},PQ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),FQ=A(()=>e.createElementVNode("div",null,"24",-1)),uQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),LQ={style:{width:"5%"}},WQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),HQ={key:0,class:"equation"},MQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>FO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:23%;" data-v-77edf8aa>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),GQ={style:{width:"5%"}},IQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),RQ={style:{width:"5%"}},zQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),UQ={style:{width:"5%"}},YQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),ZQ={key:1,class:"equation"},QQ=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:15%;" data-v-77edf8aa>FO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:20%;" data-v-77edf8aa>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:10%;" data-v-77edf8aa>FO Consumption in port</div><div style="width:3%;" data-v-77edf8aa>=</div>',8),$Q={style:{width:"5%"}},JQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),KQ={style:{width:"5%"}},qQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),XQ={style:{width:"5%"}},jQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),vQ={style:{width:"5%"}},e$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),t$={key:2,class:"equation"},o$=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:23%;" data-v-77edf8aa>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),l$={style:{width:"5%"}},a$=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),n$={style:{width:"5%"}},s$=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),i$={style:{width:"5%"}},c$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),d$={key:3,class:"equation"},r$=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-77edf8aa>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:15%;" data-v-77edf8aa>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:20%;" data-v-77edf8aa>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:10%;" data-v-77edf8aa>DO/GO Consumption in port</div><div style="width:3%;" data-v-77edf8aa>=</div>',8),m$={style:{width:"5%"}},p$=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),h$={style:{width:"5%"}},y$=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),E$={style:{width:"5%"}},_$=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),N$={style:{width:"5%"}},V$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),f$={key:8,class:"report-summary"},g$=A(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),D$={class:"summary-item"},x$=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),b$={class:"flex blue center"},C$={class:"flex blue center"},S$={class:"summary-item"},k$=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),A$={class:"flex blue center"},B$={class:"flex blue center"},w$={class:"summary-item"},T$=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),O$={key:9,class:"report-summary"},P$=A(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),F$={class:"summary-item"},u$=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),L$={class:"flex blue center"},W$={class:"flex blue center"},H$={class:"summary-item"},M$=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),G$={class:"flex blue center"},I$={class:"flex blue center"},R$={key:0,class:"summary-item"},z$=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),U$={class:"flex blue center"},Y$={class:"flex blue center"},Z$={class:"summary-item"},Q$=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),$$=["innerHTML"];function J$(t,n,o,c,l,a){var h,N,x,r,C,k,T,u,L,O,b,F,z,Z,U,W,f,Y,R,H,J,K,X,q,V,M,$,s,j,d,v,le,ee,ie,ce,de,re,Ee,ae,he,_e,Ne,Ve,fe,ge,De,xe,be,Ce,Oe,Pe,ye,P,me,Fe,ue,Le,Se,We,Ue,Ye,G,we,Me,Ze,Qe,$e,Je,Ke,E,Q,Te,He,Ge,pe,qe,je,ve,ot,lt,at,nt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ot,Ht,po,Eo,_o,No,Vo,I,tt,Pt,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,$t,Jt,Kt,qt,Xt,jt,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Po,Fo,uo,Lo,Wo,Ho,Mo,Go,Io,Yo,Zo,Qo,$o,Jo,Ko,qo,Xo,jo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,yl,El,ut,Vl,Dl,xl,bl,Cl,Sl,kl,Al,Bl,wl,Tl,Ol,Pl,Fl,ul,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,Ql,$l,Jl,Kl,ql,Xl,jl,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,ya,Ea,_a,Na,Va,fa,ga,Da,xa,ba,Ca,Sa,ka,Aa,Ba,wa,Ta,Oa,Pa,Fa,ua,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya,Za;const p=e.resolveComponent("EditableItem"),i=e.resolveComponent("CirclePlus"),_=e.resolveComponent("ElIcon"),g=e.resolveComponent("Remove"),S=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Ez,[_z,e.createElementVNode("div",Nz,[e.createElementVNode("div",Vz,[e.createElementVNode("div",fz,[gz,e.createElementVNode("div",Dz,e.toDisplayString(a.computeUTCTime((h=l.extraData)==null?void 0:h.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",xz,[e.createElementVNode("div",bz,[Cz,e.createElementVNode("div",Sz,e.toDisplayString((x=(N=l.extraData)==null?void 0:N.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",kz,[Az,e.createElementVNode("div",Bz,e.toDisplayString((r=l.extraData)==null?void 0:r.preparedFor),1)]),e.createElementVNode("div",wz,[Tz,e.createElementVNode("div",Oz,e.toDisplayString((k=(C=l.extraData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("div",Pz,[Fz,e.createElementVNode("div",uz,e.toDisplayString((u=(T=l.extraData)==null?void 0:T.voyage)==null?void 0:u.number),1)]),e.createElementVNode("div",Lz,[Wz,e.createElementVNode("div",Hz,[e.createElementVNode("span",Mz,e.toDisplayString((O=(L=l.extraData)==null?void 0:L.departure)==null?void 0:O.name),1),e.createElementVNode("span",Gz,e.toDisplayString(a.computeUTCTime(((F=(b=l.extraData)==null?void 0:b.departure)==null?void 0:F.atd)||((Z=(z=l.extraData)==null?void 0:z.departure)==null?void 0:Z.etd))),1)])]),e.createElementVNode("div",Iz,[Rz,e.createElementVNode("div",zz,[e.createElementVNode("span",Uz,e.toDisplayString((W=(U=l.extraData)==null?void 0:U.arrival)==null?void 0:W.name),1),e.createElementVNode("span",Yz,e.toDisplayString(a.computeUTCTime(((Y=(f=l.extraData)==null?void 0:f.arrival)==null?void 0:Y.ata)||((H=(R=l.extraData)==null?void 0:R.arrival)==null?void 0:H.eta))),1)])])]),Zz,e.createElementVNode("div",Qz,[e.createElementVNode("div",$z,[Jz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((J=l.extraData)==null?void 0:J.extraDist)} flex blue`)},e.toDisplayString(((K=l.extraData)==null?void 0:K.extraDist)??"—"),3)]),e.createElementVNode("div",Kz,[qz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((q=(X=l.extraData)==null?void 0:X.timeAnalysis)==null?void 0:q.totalExtraTime)} flex blue`)},e.toDisplayString(((M=(V=l.extraData)==null?void 0:V.timeAnalysis)==null?void 0:M.totalExtraTime)??"—"),3)]),e.createElementVNode("div",Xz,[jz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((j=(s=($=l.extraData)==null?void 0:$.consAnalysis)==null?void 0:s.fo)==null?void 0:j.totalExtraCons)} flex blue`)},e.toDisplayString(((le=(v=(d=l.extraData)==null?void 0:d.consAnalysis)==null?void 0:v.fo)==null?void 0:le.totalExtraCons)??"—"),3)]),e.createElementVNode("div",vz,[eU,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ce=(ie=(ee=l.extraData)==null?void 0:ee.consAnalysis)==null?void 0:ie.dgo)==null?void 0:ce.totalExtraCons)} flex blue`)},e.toDisplayString(((Ee=(re=(de=l.extraData)==null?void 0:de.consAnalysis)==null?void 0:re.dgo)==null?void 0:Ee.totalExtraCons)??"—"),3)])]),tU,e.createElementVNode("div",oU,[e.createElementVNode("img",{style:{width:"100%"},src:(ae=l.extraData)==null?void 0:ae.chartUrl,alt:""},null,8,lU),aU]),nU,t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",sU,"Diversion Information")),t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",iU,[cU,e.createElementVNode("div",dU,[rU,e.createElementVNode("div",mU,e.toDisplayString(a.computedLngLat((he=l.extraData)==null?void 0:he.startLng,(_e=l.extraData)==null?void 0:_e.startLat)),1),e.createElementVNode("div",pU,e.toDisplayString(a.computeUTCTime((Ne=l.extraData)==null?void 0:Ne.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",hU,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Ve=l.extraData)==null?void 0:Ve.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[0]||(n[0]=ne=>a.handleCommit("extra","startFoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",yU,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(fe=l.extraData)==null?void 0:fe.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[1]||(n[1]=ne=>a.handleCommit("extra","startDgoBrob",ne))},null,8,["value"])]),EU,_U]),e.createElementVNode("div",NU,[VU,e.createElementVNode("div",fU,e.toDisplayString(a.computedLngLat((ge=l.extraData)==null?void 0:ge.endLng,(De=l.extraData)==null?void 0:De.endLat)),1),e.createElementVNode("div",gU,e.toDisplayString(a.computeUTCTime((xe=l.extraData)==null?void 0:xe.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",DU,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(be=l.extraData)==null?void 0:be.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[2]||(n[2]=ne=>a.handleCommit("extra","endFoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",xU,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Ce=l.extraData)==null?void 0:Ce.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[3]||(n[3]=ne=>a.handleCommit("extra","endDgoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",bU,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Oe=l.extraData)==null?void 0:Oe.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[4]||(n[4]=ne=>a.handleCommit("extra","endFoBunkering",ne))},null,8,["value"])]),e.createElementVNode("div",CU,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Pe=l.extraData)==null?void 0:Pe.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[5]||(n[5]=ne=>a.handleCommit("extra","endDgoBunkering",ne))},null,8,["value"])])]),e.createElementVNode("div",SU,[kU,AU,e.createElementVNode("div",BU,e.toDisplayString(((P=(ye=l.extraData)==null?void 0:ye.timeAnalysis)==null?void 0:P.actualTime)??"—"),1),e.createElementVNode("div",wU,e.toDisplayString(((ue=(Fe=(me=l.extraData)==null?void 0:me.consAnalysis)==null?void 0:Fe.fo)==null?void 0:ue.actualCons)??"—"),1),e.createElementVNode("div",TU,e.toDisplayString(((We=(Se=(Le=l.extraData)==null?void 0:Le.consAnalysis)==null?void 0:Se.dgo)==null?void 0:We.actualCons)??"—"),1),OU,PU])])),FU,e.createElementVNode("div",uU,[e.createElementVNode("div",LU,[WU,e.createElementVNode("div",HU,e.toDisplayString(((Ye=(Ue=l.extraData)==null?void 0:Ue.cp)==null?void 0:Ye.speed)??"—"),1)]),e.createElementVNode("div",MU,[GU,e.createElementVNode("div",IU,e.toDisplayString(((we=(G=l.extraData)==null?void 0:G.cp)==null?void 0:we.fo)??"—"),1)]),e.createElementVNode("div",RU,[zU,e.createElementVNode("div",UU,e.toDisplayString(((Ze=(Me=l.extraData)==null?void 0:Me.cp)==null?void 0:Ze.dgo)??"—"),1)])]),e.createElementVNode("div",YU,[ZU,e.createElementVNode("div",QU,[e.createVNode(_,{size:20,onClick:a.handleAdd},{default:e.withCtx(()=>[e.createVNode(i)]),_:1},8,["onClick"])])]),e.createElementVNode("div",$U,[e.createElementVNode("table",null,[JU,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.extraPortList,(ne,ro)=>{var Qa,$a,Ja,se,mo,Ka,qa,Xa;return e.openBlock(),e.createElementBlock(e.Fragment,{key:ro},[e.createElementVNode("tr",null,[e.createElementVNode("td",KU,[e.createVNode(p,{class:"editable-item",value:ne==null?void 0:ne.name,type:"remotePortSelect",size:"small",align:"center",options:l.portList,onSelect:a.fetchSuggestName,onCommit:rt=>a.handleCommit("port","name",rt,ro)},null,8,["value","options","onSelect","onCommit"])]),qU,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(Qa=ne==null?void 0:ne.arrival)==null?void 0:Qa.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:rt=>a.handleCommit("port","arrival.date",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:($a=ne==null?void 0:ne.arrival)==null?void 0:$a.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","arrival.foBrob",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Ja=ne==null?void 0:ne.arrival)==null?void 0:Ja.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","arrival.dgoBrob",rt,ro)},null,8,["value","onCommit"])]),XU,jU,e.createElementVNode("td",vU,[e.createVNode(_,{size:20,onClick:rt=>a.handleRemove(ro)},{default:e.withCtx(()=>[e.createVNode(g)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[eY,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(se=ne==null?void 0:ne.departure)==null?void 0:se.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:rt=>a.handleCommit("port","departure.date",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(mo=ne==null?void 0:ne.departure)==null?void 0:mo.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.foBrob",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Ka=ne==null?void 0:ne.departure)==null?void 0:Ka.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.dgoBrob",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(qa=ne==null?void 0:ne.departure)==null?void 0:qa.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.bunkeringFo",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Xa=ne==null?void 0:ne.departure)==null?void 0:Xa.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.bunkeringDgo",rt,ro)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[tY,oY,e.createElementVNode("td",null,e.toDisplayString((($e=(Qe=l.extraData)==null?void 0:Qe.timeAnalysis)==null?void 0:$e.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((E=(Ke=(Je=l.extraData)==null?void 0:Je.consAnalysis)==null?void 0:Ke.fo)==null?void 0:E.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((He=(Te=(Q=l.extraData)==null?void 0:Q.consAnalysis)==null?void 0:Te.dgo)==null?void 0:He.portCons)??"—"),1),lY,aY,nY])])])]),sY,e.createElementVNode("div",iY,[cY,e.createElementVNode("div",dY,[rY,e.createElementVNode("div",mY,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(Ge=l.extraData)==null?void 0:Ge.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[6]||(n[6]=ne=>a.handleCommit("extraData","actualDist",ne,t.index))},null,8,["value"])]),e.createElementVNode("div",pY,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(pe=l.extraData)==null?void 0:pe.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[7]||(n[7]=ne=>a.handleCommit("extraData","priorDist",ne,t.index))},null,8,["value"])])]),e.createElementVNode("div",hY,[yY,e.createElementVNode("div",EY,e.toDisplayString(((qe=l.extraData)==null?void 0:qe.extraDist)??"—"),1)])]),_Y,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",NY,[e.createElementVNode("div",VY,[fY,e.createElementVNode("div",gY,[e.createElementVNode("div",null,e.toDisplayString((je=l.extraData)==null?void 0:je.extraDist),1),DY,e.createElementVNode("div",null,e.toDisplayString((ot=(ve=l.extraData)==null?void 0:ve.cp)==null?void 0:ot.speed),1)]),xY,e.createElementVNode("div",bY,e.toDisplayString((at=(lt=l.extraData)==null?void 0:lt.timeAnalysis)==null?void 0:at.sailingTime),1),CY]),e.createElementVNode("div",SY,[kY,e.createElementVNode("div",AY,e.toDisplayString((pt=(nt=l.extraData)==null?void 0:nt.timeAnalysis)==null?void 0:pt.sailingTime),1),BY,e.createElementVNode("div",wY,e.toDisplayString(a.computeNum((yt=(ht=l.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:yt.portTime)),1),TY,e.createElementVNode("div",OY,e.toDisplayString((_t=(Et=l.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:_t.totalExtraTime),1),PY])])):(e.openBlock(),e.createElementBlock("div",FY,[e.createElementVNode("div",uY,[LY,e.createElementVNode("div",WY,[e.createElementVNode("div",null,e.toDisplayString((Nt=l.extraData)==null?void 0:Nt.priorDist),1),HY,e.createElementVNode("div",null,e.toDisplayString((ft=(Vt=l.extraData)==null?void 0:Vt.cp)==null?void 0:ft.speed),1)]),MY,e.createElementVNode("div",GY,e.toDisplayString((Dt=(gt=l.extraData)==null?void 0:gt.timeAnalysis)==null?void 0:Dt.sailingTime),1),IY]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",RY,[zY,e.createElementVNode("div",UY,e.toDisplayString((bt=(xt=l.extraData)==null?void 0:xt.timeAnalysis)==null?void 0:bt.actualTime),1),YY,e.createElementVNode("div",ZY,e.toDisplayString((St=(Ct=l.extraData)==null?void 0:Ct.timeAnalysis)==null?void 0:St.sailingTime),1),QY,e.createElementVNode("div",$Y,e.toDisplayString((At=(kt=l.extraData)==null?void 0:kt.timeAnalysis)==null?void 0:At.totalExtraTime),1),JY])):(e.openBlock(),e.createElementBlock("div",KY,[qY,e.createElementVNode("div",XY,e.toDisplayString((wt=(Bt=l.extraData)==null?void 0:Bt.timeAnalysis)==null?void 0:wt.actualTime),1),jY,e.createElementVNode("div",vY,e.toDisplayString((Ot=(Tt=l.extraData)==null?void 0:Tt.timeAnalysis)==null?void 0:Ot.sailingTime),1),eZ,e.createElementVNode("div",tZ,e.toDisplayString((po=(Ht=l.extraData)==null?void 0:Ht.timeAnalysis)==null?void 0:po.portTime),1),oZ,e.createElementVNode("div",lZ,e.toDisplayString((_o=(Eo=l.extraData)==null?void 0:Eo.timeAnalysis)==null?void 0:_o.totalExtraTime),1),aZ]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",nZ,[e.createElementVNode("div",sZ,[iZ,e.createElementVNode("div",cZ,e.toDisplayString(((Vo=(No=l.extraData)==null?void 0:No.timeAnalysis)==null?void 0:Vo.sailingTime)??"—"),1)]),e.createElementVNode("div",dZ,[rZ,e.createElementVNode("div",mZ,e.toDisplayString(((tt=(I=l.extraData)==null?void 0:I.timeAnalysis)==null?void 0:tt.portTime)??"—"),1)]),e.createElementVNode("div",pZ,[hZ,e.createElementVNode("div",yZ,e.toDisplayString(((Ft=(Pt=l.extraData)==null?void 0:Pt.timeAnalysis)==null?void 0:Ft.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",EZ,[e.createElementVNode("div",_Z,[NZ,e.createElementVNode("div",VZ,e.toDisplayString((Gt=(Mt=l.extraData)==null?void 0:Mt.timeAnalysis)==null?void 0:Gt.sailingTime),1)]),e.createElementVNode("div",fZ,[gZ,e.createElementVNode("div",DZ,e.toDisplayString((Rt=(It=l.extraData)==null?void 0:It.timeAnalysis)==null?void 0:Rt.actualTime),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",xZ,[bZ,e.createElementVNode("div",CZ,e.toDisplayString(((Ut=(zt=l.extraData)==null?void 0:zt.timeAnalysis)==null?void 0:Ut.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",SZ,[kZ,e.createElementVNode("div",AZ,e.toDisplayString((Zt=(Yt=l.extraData)==null?void 0:Yt.timeAnalysis)==null?void 0:Zt.totalExtraTime),1)])])),BZ,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",wZ,[e.createElementVNode("div",TZ,[OZ,e.createElementVNode("div",PZ,[e.createElementVNode("div",null,e.toDisplayString((Qt=l.extraData)==null?void 0:Qt.extraDist),1),FZ,e.createElementVNode("div",null,e.toDisplayString((Jt=($t=l.extraData)==null?void 0:$t.cp)==null?void 0:Jt.speed),1)]),uZ,e.createElementVNode("div",LZ,[e.createElementVNode("div",null,e.toDisplayString((qt=(Kt=l.extraData)==null?void 0:Kt.cp)==null?void 0:qt.fo),1),WZ,HZ]),MZ,e.createElementVNode("div",GZ,e.toDisplayString((vt=(jt=(Xt=l.extraData)==null?void 0:Xt.consAnalysis)==null?void 0:jt.fo)==null?void 0:vt.sailingCons),1),IZ]),e.createElementVNode("div",RZ,[zZ,e.createElementVNode("div",UZ,e.toDisplayString((oo=(to=(eo=l.extraData)==null?void 0:eo.consAnalysis)==null?void 0:to.fo)==null?void 0:oo.sailingCons),1),YZ,e.createElementVNode("div",ZZ,e.toDisplayString(a.computeNum((no=(ao=(lo=l.extraData)==null?void 0:lo.consAnalysis)==null?void 0:ao.fo)==null?void 0:no.portCons)),1),QZ,e.createElementVNode("div",$Z,e.toDisplayString((co=(io=(so=l.extraData)==null?void 0:so.consAnalysis)==null?void 0:io.fo)==null?void 0:co.totalExtraCons),1),JZ]),e.createElementVNode("div",KZ,[qZ,e.createElementVNode("div",XZ,[e.createElementVNode("div",null,e.toDisplayString((fo=l.extraData)==null?void 0:fo.extraDist),1),jZ,e.createElementVNode("div",null,e.toDisplayString((Do=(go=l.extraData)==null?void 0:go.cp)==null?void 0:Do.speed),1)]),vZ,e.createElementVNode("div",eQ,[e.createElementVNode("div",null,e.toDisplayString((bo=(xo=l.extraData)==null?void 0:xo.cp)==null?void 0:bo.dgo),1),tQ,oQ]),lQ,e.createElementVNode("div",aQ,e.toDisplayString((ko=(So=(Co=l.extraData)==null?void 0:Co.consAnalysis)==null?void 0:So.dgo)==null?void 0:ko.sailingCons),1),nQ]),e.createElementVNode("div",sQ,[iQ,e.createElementVNode("div",cQ,e.toDisplayString((wo=(Bo=(Ao=l.extraData)==null?void 0:Ao.consAnalysis)==null?void 0:Bo.dgo)==null?void 0:wo.sailingCons),1),dQ,e.createElementVNode("div",rQ,e.toDisplayString(a.computeNum((Po=(Oo=(To=l.extraData)==null?void 0:To.consAnalysis)==null?void 0:Oo.dgo)==null?void 0:Po.portCons)),1),mQ,e.createElementVNode("div",pQ,e.toDisplayString((Lo=(uo=(Fo=l.extraData)==null?void 0:Fo.consAnalysis)==null?void 0:uo.dgo)==null?void 0:Lo.totalExtraCons),1),hQ])])):(e.openBlock(),e.createElementBlock("div",yQ,[e.createElementVNode("div",EQ,[_Q,e.createElementVNode("div",NQ,[e.createElementVNode("div",null,e.toDisplayString((Wo=l.extraData)==null?void 0:Wo.priorDist),1),VQ,e.createElementVNode("div",null,e.toDisplayString((Mo=(Ho=l.extraData)==null?void 0:Ho.cp)==null?void 0:Mo.speed),1)]),fQ,e.createElementVNode("div",gQ,[e.createElementVNode("div",null,e.toDisplayString((Io=(Go=l.extraData)==null?void 0:Go.cp)==null?void 0:Io.fo),1),DQ,xQ]),bQ,e.createElementVNode("div",CQ,e.toDisplayString((Qo=(Zo=(Yo=l.extraData)==null?void 0:Yo.consAnalysis)==null?void 0:Zo.fo)==null?void 0:Qo.sailingCons),1),SQ]),e.createElementVNode("div",kQ,[AQ,e.createElementVNode("div",BQ,[e.createElementVNode("div",null,e.toDisplayString(($o=l.extraData)==null?void 0:$o.priorDist),1),wQ,e.createElementVNode("div",null,e.toDisplayString((Ko=(Jo=l.extraData)==null?void 0:Jo.cp)==null?void 0:Ko.speed),1)]),TQ,e.createElementVNode("div",OQ,[e.createElementVNode("div",null,e.toDisplayString((Xo=(qo=l.extraData)==null?void 0:qo.cp)==null?void 0:Xo.dgo),1),PQ,FQ]),uQ,e.createElementVNode("div",LQ,e.toDisplayString((el=(vo=(jo=l.extraData)==null?void 0:jo.consAnalysis)==null?void 0:vo.dgo)==null?void 0:el.sailingCons),1),WQ]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",HQ,[MQ,e.createElementVNode("div",GQ,e.toDisplayString((ll=(ol=(tl=l.extraData)==null?void 0:tl.consAnalysis)==null?void 0:ol.fo)==null?void 0:ll.actualCons),1),IQ,e.createElementVNode("div",RQ,e.toDisplayString(a.computeNum((sl=(nl=(al=l.extraData)==null?void 0:al.consAnalysis)==null?void 0:nl.fo)==null?void 0:sl.sailingCons)),1),zQ,e.createElementVNode("div",UQ,e.toDisplayString((dl=(cl=(il=l.extraData)==null?void 0:il.consAnalysis)==null?void 0:cl.fo)==null?void 0:dl.totalExtraCons),1),YQ])):(e.openBlock(),e.createElementBlock("div",ZQ,[QQ,e.createElementVNode("div",$Q,e.toDisplayString((pl=(ml=(rl=l.extraData)==null?void 0:rl.consAnalysis)==null?void 0:ml.fo)==null?void 0:pl.actualCons),1),JQ,e.createElementVNode("div",KQ,e.toDisplayString(a.computeNum((El=(yl=(hl=l.extraData)==null?void 0:hl.consAnalysis)==null?void 0:yl.fo)==null?void 0:El.sailingCons)),1),qQ,e.createElementVNode("div",XQ,e.toDisplayString(a.computeNum((Dl=(Vl=(ut=l.extraData)==null?void 0:ut.consAnalysis)==null?void 0:Vl.fo)==null?void 0:Dl.portCons)),1),jQ,e.createElementVNode("div",vQ,e.toDisplayString((Cl=(bl=(xl=l.extraData)==null?void 0:xl.consAnalysis)==null?void 0:bl.fo)==null?void 0:Cl.totalExtraCons),1),e$])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",t$,[o$,e.createElementVNode("div",l$,e.toDisplayString((Al=(kl=(Sl=l.extraData)==null?void 0:Sl.consAnalysis)==null?void 0:kl.dgo)==null?void 0:Al.actualCons),1),a$,e.createElementVNode("div",n$,e.toDisplayString((Tl=(wl=(Bl=l.extraData)==null?void 0:Bl.consAnalysis)==null?void 0:wl.dgo)==null?void 0:Tl.sailingCons),1),s$,e.createElementVNode("div",i$,e.toDisplayString((Fl=(Pl=(Ol=l.extraData)==null?void 0:Ol.consAnalysis)==null?void 0:Pl.dgo)==null?void 0:Fl.totalExtraCons),1),c$])):(e.openBlock(),e.createElementBlock("div",d$,[r$,e.createElementVNode("div",m$,e.toDisplayString((Wl=(Ll=(ul=l.extraData)==null?void 0:ul.consAnalysis)==null?void 0:Ll.dgo)==null?void 0:Wl.actualCons),1),p$,e.createElementVNode("div",h$,e.toDisplayString(a.computeNum((Gl=(Ml=(Hl=l.extraData)==null?void 0:Hl.consAnalysis)==null?void 0:Ml.dgo)==null?void 0:Gl.sailingCons)),1),y$,e.createElementVNode("div",E$,e.toDisplayString(a.computeNum((zl=(Rl=(Il=l.extraData)==null?void 0:Il.consAnalysis)==null?void 0:Rl.dgo)==null?void 0:zl.portCons)),1),_$,e.createElementVNode("div",N$,e.toDisplayString((Zl=(Yl=(Ul=l.extraData)==null?void 0:Ul.consAnalysis)==null?void 0:Yl.dgo)==null?void 0:Zl.totalExtraCons),1),V$]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",f$,[g$,e.createElementVNode("div",D$,[x$,e.createElementVNode("div",b$,e.toDisplayString(((Jl=($l=(Ql=l.extraData)==null?void 0:Ql.consAnalysis)==null?void 0:$l.fo)==null?void 0:Jl.sailingCons)??"—"),1),e.createElementVNode("div",C$,e.toDisplayString(((Xl=(ql=(Kl=l.extraData)==null?void 0:Kl.consAnalysis)==null?void 0:ql.dgo)==null?void 0:Xl.sailingCons)??"—"),1)]),e.createElementVNode("div",S$,[k$,e.createElementVNode("div",A$,e.toDisplayString(((ea=(vl=(jl=l.extraData)==null?void 0:jl.consAnalysis)==null?void 0:vl.fo)==null?void 0:ea.portCons)??"—"),1),e.createElementVNode("div",B$,e.toDisplayString(((la=(oa=(ta=l.extraData)==null?void 0:ta.consAnalysis)==null?void 0:oa.dgo)==null?void 0:la.portCons)??"—"),1)]),e.createElementVNode("div",w$,[T$,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((sa=(na=(aa=l.extraData)==null?void 0:aa.consAnalysis)==null?void 0:na.fo)==null?void 0:sa.totalExtraCons)} flex blue center`)},e.toDisplayString(((da=(ca=(ia=l.extraData)==null?void 0:ia.consAnalysis)==null?void 0:ca.fo)==null?void 0:da.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((pa=(ma=(ra=l.extraData)==null?void 0:ra.consAnalysis)==null?void 0:ma.dgo)==null?void 0:pa.totalExtraCons)} flex blue center`)},e.toDisplayString(((Ea=(ya=(ha=l.extraData)==null?void 0:ha.consAnalysis)==null?void 0:ya.dgo)==null?void 0:Ea.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",O$,[P$,e.createElementVNode("div",F$,[u$,e.createElementVNode("div",L$,e.toDisplayString((Va=(Na=(_a=l.extraData)==null?void 0:_a.consAnalysis)==null?void 0:Na.fo)==null?void 0:Va.sailingCons),1),e.createElementVNode("div",W$,e.toDisplayString((Da=(ga=(fa=l.extraData)==null?void 0:fa.consAnalysis)==null?void 0:ga.dgo)==null?void 0:Da.sailingCons),1)]),e.createElementVNode("div",H$,[M$,e.createElementVNode("div",G$,e.toDisplayString((Ca=(ba=(xa=l.extraData)==null?void 0:xa.consAnalysis)==null?void 0:ba.fo)==null?void 0:Ca.actualCons),1),e.createElementVNode("div",I$,e.toDisplayString((Aa=(ka=(Sa=l.extraData)==null?void 0:Sa.consAnalysis)==null?void 0:ka.dgo)==null?void 0:Aa.actualCons),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",R$,[z$,e.createElementVNode("div",U$,e.toDisplayString((Ta=(wa=(Ba=l.extraData)==null?void 0:Ba.consAnalysis)==null?void 0:wa.fo)==null?void 0:Ta.portCons),1),e.createElementVNode("div",Y$,e.toDisplayString((Fa=(Pa=(Oa=l.extraData)==null?void 0:Oa.consAnalysis)==null?void 0:Pa.dgo)==null?void 0:Fa.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",Z$,[Q$,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Wa=(La=(ua=l.extraData)==null?void 0:ua.consAnalysis)==null?void 0:La.fo)==null?void 0:Wa.totalExtraCons)} flex blue center`)},e.toDisplayString((Ga=(Ma=(Ha=l.extraData)==null?void 0:Ha.consAnalysis)==null?void 0:Ma.fo)==null?void 0:Ga.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((za=(Ra=(Ia=l.extraData)==null?void 0:Ia.consAnalysis)==null?void 0:Ra.dgo)==null?void 0:za.totalExtraCons)} flex blue center`)},e.toDisplayString((Za=(Ya=(Ua=l.extraData)==null?void 0:Ua.consAnalysis)==null?void 0:Ya.dgo)==null?void 0:Za.totalExtraCons),3)])])),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(S,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[8]||(n[8]=ne=>l.advisory=ne),height:"320px",onBlur:n[9]||(n[9]=ne=>a.handleCommit("comments","comments",ne))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[10]||(n[10]=(...ne)=>a.decideDisable&&a.decideDisable(...ne)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,$$))],2)])}const wn=ke(yz,[["render",J$],["__scopeId","data-v-77edf8aa"]]),K$={install(t){t.component("DeviationReport",Bn),t.component("FliDeviationReport",wn)}},toe="",q$={components:{IdmBrand:Ro},props:{report:{type:Object,default:()=>({})}},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkF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JNC9Hk+D9jB9IrNEcqTXFAhbdS+4KimMjrk8zFcTFaFI/lcCieUHSE810Jr6Qv67F1NopHbJOzjBKpOkdilSIlShshpRXU+mluTCaS6NETkSaDqFEBDRBG6vMaNeTwbHIL0UOUJqQJS5FEQ3kI4uVrJEgq3AzTdNYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}},computeLat(){return function(t){return te.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return te.LngLatHelper.lng2pretty(t,2)}},computeStyle(){return function(t){return t>0?"color:var(--idm-danger-color)":""}},computeRoundPrecision(){return function(t,n=2){return t==="-"?"-":te.roundPrecision(t,n)}}}},yo=t=>(e.pushScopeId("data-v-42f6f59f"),t=t(),e.popScopeId(),t),X$={class:"stoppage-report"},j$={class:"report-summary"},v$={class:"summary-item"},eJ=yo(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),tJ={class:"flexL gray"},oJ={class:"summary-item"},lJ=yo(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),aJ={class:"flexL gray"},nJ={class:"summary-item"},sJ=yo(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),iJ={class:"flexL gray"},cJ={class:"summary-item"},dJ=yo(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),rJ={class:"flexL gray"},mJ={class:"summary-item"},pJ=yo(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),hJ={class:"flexL gray",style:{display:"flex"}},yJ={class:"flex"},EJ={class:"flexM"},_J={class:"summary-item"},NJ=yo(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),VJ={class:"flexL gray",style:{display:"flex"}},fJ={class:"flex"},gJ={class:"flexM"},DJ=yo(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),xJ={class:"report-summary"},bJ={class:"summary-item"},CJ=yo(()=>e.createElementVNode("div",{class:"flex blue"},"Total Time Lost",-1)),SJ={class:"summary-item"},kJ=yo(()=>e.createElementVNode("div",{class:"flex blue"},"FO Total Consumption",-1)),AJ={class:"summary-item"},BJ=yo(()=>e.createElementVNode("div",{class:"flex blue"},"DO/GO Total Consumption",-1)),wJ=yo(()=>e.createElementVNode("div",{class:"subtitle"},"Stoppage Info",-1)),TJ={class:"report-table"},OJ=yo(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:2},"Stoppage"),e.createElementVNode("th",{rowspan:2},"Position"),e.createElementVNode("th",{rowspan:2},"Date"),e.createElementVNode("th",{colspan:2},"BROB (mt)"),e.createElementVNode("th",{rowspan:2},"Time Lost (hrs)"),e.createElementVNode("th",{colspan:2},"TTL CONS (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),PJ=yo(()=>e.createElementVNode("td",null,"Stopped",-1)),FJ={rowspan:2},uJ={rowspan:2},LJ={rowspan:2},WJ=yo(()=>e.createElementVNode("td",null,"Resumed",-1)),HJ={class:"report-map"},MJ=["src"];function GJ(t,n,o,c,l,a){var i,_,g,S,h,N,x,r,C,k,T,u,L,O,b,F,z,Z,U,W,f,Y,R,H,J,K,X,q,V,M,$,s,j,d,v,le,ee,ie,ce;const p=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",X$,[e.createVNode(p,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",j$,[e.createElementVNode("div",v$,[eJ,e.createElementVNode("div",tJ,e.toDisplayString((_=(i=o.report)==null?void 0:i.vessel)==null?void 0:_.name),1)]),e.createElementVNode("div",oJ,[lJ,e.createElementVNode("div",aJ,e.toDisplayString((g=o.report)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",nJ,[sJ,e.createElementVNode("div",iJ,e.toDisplayString((h=(S=o.report)==null?void 0:S.vessel)==null?void 0:h.type),1)]),e.createElementVNode("div",cJ,[dJ,e.createElementVNode("div",rJ,e.toDisplayString((x=(N=o.report)==null?void 0:N.voyage)==null?void 0:x.number),1)]),e.createElementVNode("div",mJ,[pJ,e.createElementVNode("div",hJ,[e.createElementVNode("span",yJ,e.toDisplayString((C=(r=o.report)==null?void 0:r.departure)==null?void 0:C.name),1),e.createElementVNode("span",EJ,e.toDisplayString(a.computeUTCTime(((T=(k=o.report)==null?void 0:k.departure)==null?void 0:T.atd)||((L=(u=o.report)==null?void 0:u.departure)==null?void 0:L.etd))),1)])]),e.createElementVNode("div",_J,[NJ,e.createElementVNode("div",VJ,[e.createElementVNode("span",fJ,e.toDisplayString((b=(O=o.report)==null?void 0:O.arrival)==null?void 0:b.name),1),e.createElementVNode("span",gJ,e.toDisplayString(a.computeUTCTime(((z=(F=o.report)==null?void 0:F.arrival)==null?void 0:z.ata)||((U=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:U.eta))),1)])])]),DJ,e.createElementVNode("div",xJ,[e.createElementVNode("div",bJ,[CJ,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((W=o.report)==null?void 0:W.totalTime))},e.toDisplayString(((f=o.report)==null?void 0:f.totalTime)??"—"),5)]),e.createElementVNode("div",SJ,[kJ,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((Y=o.report)==null?void 0:Y.totalFoCons))},e.toDisplayString(((R=o.report)==null?void 0:R.totalFoCons)??"—"),5)]),e.createElementVNode("div",AJ,[BJ,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((H=o.report)==null?void 0:H.totalDgoCons))},e.toDisplayString(((J=o.report)==null?void 0:J.totalDgoCons)??"—"),5)])]),wJ,e.createElementVNode("div",TJ,[e.createElementVNode("table",null,[OJ,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[PJ,e.createElementVNode("td",null,e.toDisplayString(a.computeLat((K=o.report)==null?void 0:K.stopLat).pretty)+" / "+e.toDisplayString(a.computeLng((X=o.report)==null?void 0:X.stopLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((q=o.report)==null?void 0:q.stopTime)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((V=o.report)==null?void 0:V.stopFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((M=o.report)==null?void 0:M.stopDgoBrob)??"-")),1),e.createElementVNode("td",FJ,e.toDisplayString(a.computeRoundPrecision((($=o.report)==null?void 0:$.totalTime)??"-")),1),e.createElementVNode("td",uJ,e.toDisplayString(a.computeRoundPrecision(((s=o.report)==null?void 0:s.totalFoCons)??"-")),1),e.createElementVNode("td",LJ,e.toDisplayString(a.computeRoundPrecision(((j=o.report)==null?void 0:j.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[WJ,e.createElementVNode("td",null,e.toDisplayString(a.computeLat((d=o.report)==null?void 0:d.resumeLat).pretty)+" / "+e.toDisplayString(a.computeLng((v=o.report)==null?void 0:v.resumeLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((le=o.report)==null?void 0:le.resumeTime)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((ee=o.report)==null?void 0:ee.resumeFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((ie=o.report)==null?void 0:ie.resumeDgoBrob)??"-")),1)])])])]),e.createElementVNode("div",HJ,[e.createElementVNode("img",{style:{width:"100%"},src:(ce=o.report)==null?void 0:ce.chartUrl,alt:""},null,8,MJ)])])}const Tn=ke(q$,[["render",GJ],["__scopeId","data-v-42f6f59f"]]),IJ={install(t){t.component("StoppageReport",Tn)}},ooe="",RJ={props:{data:{type:Object,default:{}},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},components:{Editor:zo,IdmBrand:ja},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7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G6vMaNeTwbHIL0UOUJqQJS5FEQ3kI4uVrJEgq3AzTdNYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},watch:{data:{handler(t){t&&this.fetchData()},immediate:!0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t?`${w(t).utc().format(n)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,n){return t&&n?te.roundPrecision(t-n):"-"}},computeSummary(){return function(t,n){if(t===0)return"No difference";let o="";return t>0?n==="time"?o=`Lost ${t}hrs`:o=`Over consumption ${t}mt`:n==="time"?o=`Saving ${Math.abs(t)}hrs`:o=`Under consumption ${Math.abs(t)}mt`,o}}},methods:{fetchData(){var t,n;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(n=this.data)==null?void 0:n.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,n){this.editable=!1;const o={[t]:n};await gl.put(`${this.gateway}/api/als/comparisons/${this.id}`,o,{headers:{Authorization:this.token}}),this.advisory=n}}},Re=t=>(e.pushScopeId("data-v-c8bf8198"),t=t(),e.popScopeId(),t),zJ={class:"comparison-report"},UJ=Re(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),YJ={class:"report-header"},ZJ={class:"header-title",style:{position:"relative !important"}},QJ=["src"],$J={class:"header-title-content"},JJ=Re(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),KJ={class:"title-date"},qJ={class:"report-summary"},XJ={class:"summary-item"},jJ=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),vJ={class:"flexL gray"},eK={class:"summary-item"},tK=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),oK={class:"flexL gray"},lK={class:"summary-item"},aK=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),nK={class:"flexL gray"},sK={class:"summary-item"},iK=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),cK={class:"flexL gray"},dK={class:"summary-item"},rK=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),mK={class:"flexL gray"},pK={class:"summary-item"},hK=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),yK={class:"flexL gray",style:{display:"flex"}},EK={class:"flex"},_K={class:"flexM"},NK={class:"summary-item"},VK=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),fK={class:"flexL gray",style:{display:"flex"}},gK={class:"flex"},DK={class:"flexM"},xK=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),bK={class:"report-summary"},CK={class:"summary-item"},SK=Re(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),kK={class:"summary-item"},AK=Re(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),BK={class:"summary-item"},wK=Re(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),TK=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),OK={class:"report-map"},PK=["src"],FK=e.createStaticVNode('<div class="legend" data-v-c8bf8198><div class="legend-item" data-v-c8bf8198><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-c8bf8198></div><div data-v-c8bf8198>Actual Route</div></div><div class="legend-item" data-v-c8bf8198><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-c8bf8198></div><div data-v-c8bf8198>Recommended Route</div></div></div>',1),uK=Re(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),LK={key:0,class:"subtitle"},WK={key:1,class:"report-summary"},HK={class:"summary-item"},MK=Re(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),GK={class:"flexL blue center"},IK={class:"summary-item"},RK=Re(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),zK={class:"flexL blue center"},UK={class:"summary-item"},YK=Re(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),ZK={class:"flexL blue center"},QK=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),$K={class:"report-summary"},JK=Re(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),KK={class:"summary-item"},qK=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),XK={class:"flex blue-light center"},jK={class:"flex blue-light center"},vK={class:"summary-item"},eq=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),tq={class:"flex blue-light center"},oq={class:"flex blue-light center"},lq={class:"summary-item"},aq=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),nq={class:"flex blue-light center"},sq={class:"flex blue-light center"},iq={class:"summary-item"},cq=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),dq={class:"flex blue-light center"},rq={class:"flex blue-light center"},mq={class:"summary-item"},pq=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),hq={class:"flex blue-light center"},yq={class:"flex blue-light center"},Eq={class:"summary-item"},_q=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),Nq={class:"flex blue-light center"},Vq={class:"flex blue-light center"},fq={class:"summary-item"},gq=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),Dq={class:"flex blue-light center italic"},xq=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),bq={class:"report-summary"},Cq=Re(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),Sq={class:"summary-item"},kq=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),Aq={class:"flex blue-light center"},Bq={class:"flex blue-light center"},wq={class:"summary-item"},Tq=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),Oq={class:"flex blue-light center"},Pq={class:"flex blue-light center"},Fq={class:"summary-item"},uq=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),Lq={class:"flex blue-light center"},Wq={class:"flex blue-light center"},Hq={class:"summary-item"},Mq=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),Gq={class:"flex blue-light center"},Iq={class:"flex blue-light center"},Rq={class:"summary-item"},zq=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),Uq={class:"flex blue-light center italic"},Yq={class:"summary-item"},Zq=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),Qq={class:"flex blue-light center italic"},$q=["innerHTML"];function Jq(t,n,o,c,l,a){var _,g,S,h,N,x,r,C,k,T,u,L,O,b,F,z,Z,U,W,f,Y,R,H,J,K,X,q,V,M,$,s,j,d,v,le,ee,ie,ce,de,re,Ee,ae,he,_e,Ne,Ve,fe,ge,De,xe,be,Ce,Oe,Pe,ye,P,me,Fe,ue,Le,Se;const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",zJ,[e.createVNode(p),UJ,e.createElementVNode("div",YJ,[e.createElementVNode("div",ZJ,[e.createElementVNode("img",{src:l.logSrc2,style:{width:"120px",position:"absolute","margin-top":"30px"},alt:""},null,8,QJ),e.createElementVNode("div",$J,[JJ,e.createElementVNode("div",KJ,e.toDisplayString(a.computeUTCTime(((_=l.comparisonData)==null?void 0:_.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",qJ,[e.createElementVNode("div",XJ,[jJ,e.createElementVNode("div",vJ,e.toDisplayString((S=(g=l.comparisonData)==null?void 0:g.vessel)==null?void 0:S.name),1)]),e.createElementVNode("div",eK,[tK,e.createElementVNode("div",oK,e.toDisplayString((h=l.comparisonData)==null?void 0:h.preparedFor),1)]),e.createElementVNode("div",lK,[aK,e.createElementVNode("div",nK,e.toDisplayString((x=(N=l.comparisonData)==null?void 0:N.vessel)==null?void 0:x.type),1)]),e.createElementVNode("div",sK,[iK,e.createElementVNode("div",cK,e.toDisplayString((C=(r=l.comparisonData)==null?void 0:r.voyage)==null?void 0:C.loadCondition),1)]),e.createElementVNode("div",dK,[rK,e.createElementVNode("div",mK,e.toDisplayString((T=(k=l.comparisonData)==null?void 0:k.voyage)==null?void 0:T.number),1)]),e.createElementVNode("div",pK,[hK,e.createElementVNode("div",yK,[e.createElementVNode("span",EK,e.toDisplayString((L=(u=l.comparisonData)==null?void 0:u.departure)==null?void 0:L.name),1),e.createElementVNode("span",_K,e.toDisplayString(a.computeUTCTime(((b=(O=l.comparisonData)==null?void 0:O.departure)==null?void 0:b.atd)||((z=(F=l.comparisonData)==null?void 0:F.departure)==null?void 0:z.etd))),1)])]),e.createElementVNode("div",NK,[VK,e.createElementVNode("div",fK,[e.createElementVNode("span",gK,e.toDisplayString((U=(Z=l.comparisonData)==null?void 0:Z.arrival)==null?void 0:U.name),1),e.createElementVNode("span",DK,e.toDisplayString(a.computeUTCTime(((f=(W=l.comparisonData)==null?void 0:W.arrival)==null?void 0:f.ata)||((R=(Y=l.comparisonData)==null?void 0:Y.arrival)==null?void 0:R.eta))),1)])])]),xK,e.createElementVNode("div",bK,[e.createElementVNode("div",CK,[SK,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((H=l.comparisonData)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(a.computeSummary((J=l.comparisonData)==null?void 0:J.diffTime,"time")),3)]),e.createElementVNode("div",kK,[AK,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=l.comparisonData)==null?void 0:K.diffFoCons)} flex blue`)},e.toDisplayString(a.computeSummary((X=l.comparisonData)==null?void 0:X.diffFoCons,"oil")),3)]),e.createElementVNode("div",BK,[wK,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((q=l.comparisonData)==null?void 0:q.diffDgoCons)} flex blue`)},e.toDisplayString(a.computeSummary((V=l.comparisonData)==null?void 0:V.diffDgoCons,"oil")),3)])]),TK,e.createElementVNode("div",OK,[e.createElementVNode("img",{style:{width:"100%"},src:(M=l.comparisonData)==null?void 0:M.chartUrl,alt:""},null,8,PK),FK]),uK,($=l.comparisonData)!=null&&$.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",LK,"CP Terms")),(s=l.comparisonData)!=null&&s.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",WK,[e.createElementVNode("div",HK,[MK,e.createElementVNode("div",GK,e.toDisplayString(((d=(j=l.comparisonData)==null?void 0:j.cp)==null?void 0:d.speed)??"—"),1)]),e.createElementVNode("div",IK,[RK,e.createElementVNode("div",zK,e.toDisplayString(((le=(v=l.comparisonData)==null?void 0:v.cp)==null?void 0:le.fo)??"—"),1)]),e.createElementVNode("div",UK,[YK,e.createElementVNode("div",ZK,e.toDisplayString(((ie=(ee=l.comparisonData)==null?void 0:ee.cp)==null?void 0:ie.dgo)??"—"),1)])])),QK,e.createElementVNode("div",$K,[JK,e.createElementVNode("div",KK,[qK,e.createElementVNode("div",XK,e.toDisplayString(((ce=l.comparisonData)==null?void 0:ce.actualDist)??"—"),1),e.createElementVNode("div",jK,e.toDisplayString(((de=l.comparisonData)==null?void 0:de.recmdDist)??"—"),1)]),e.createElementVNode("div",vK,[eq,e.createElementVNode("div",tq,e.toDisplayString(((re=l.comparisonData)==null?void 0:re.actualTime)??"—"),1),e.createElementVNode("div",oq,e.toDisplayString(((Ee=l.comparisonData)==null?void 0:Ee.recmdTime)??"—"),1)]),e.createElementVNode("div",lq,[aq,e.createElementVNode("div",nq,e.toDisplayString(((ae=l.comparisonData)==null?void 0:ae.actualAvgSpd)??"—"),1),e.createElementVNode("div",sq,e.toDisplayString(((he=l.comparisonData)==null?void 0:he.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",iq,[cq,e.createElementVNode("div",dq,e.toDisplayString(((_e=l.comparisonData)==null?void 0:_e.actualAvgCF)??"—"),1),e.createElementVNode("div",rq,e.toDisplayString(((Ne=l.comparisonData)==null?void 0:Ne.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",mq,[pq,e.createElementVNode("div",hq,e.toDisplayString(((Ve=l.comparisonData)==null?void 0:Ve.actualAvgWF)??"—"),1),e.createElementVNode("div",yq,e.toDisplayString(((fe=l.comparisonData)==null?void 0:fe.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",Eq,[_q,e.createElementVNode("div",Nq,e.toDisplayString(((ge=l.comparisonData)==null?void 0:ge.actualPfmSpd)??"—"),1),e.createElementVNode("div",Vq,e.toDisplayString(((De=l.comparisonData)==null?void 0:De.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",fq,[gq,e.createElementVNode("div",Dq,e.toDisplayString(a.compareTime((xe=l.comparisonData)==null?void 0:xe.actualTime,(be=l.comparisonData)==null?void 0:be.recmdTime)),1)])]),xq,e.createElementVNode("div",bq,[Cq,e.createElementVNode("div",Sq,[kq,e.createElementVNode("div",Aq,e.toDisplayString(((Ce=l.comparisonData)==null?void 0:Ce.actualAvgFoCons)??"-"),1),e.createElementVNode("div",Bq,e.toDisplayString(((Oe=l.comparisonData)==null?void 0:Oe.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",wq,[Tq,e.createElementVNode("div",Oq,e.toDisplayString(((Pe=l.comparisonData)==null?void 0:Pe.actualFoCons)??"-"),1),e.createElementVNode("div",Pq,e.toDisplayString(((ye=l.comparisonData)==null?void 0:ye.recmdFoCons)??"-"),1)]),e.createElementVNode("div",Fq,[uq,e.createElementVNode("div",Lq,e.toDisplayString(((P=l.comparisonData)==null?void 0:P.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",Wq,e.toDisplayString(((me=l.comparisonData)==null?void 0:me.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",Hq,[Mq,e.createElementVNode("div",Gq,e.toDisplayString(((Fe=l.comparisonData)==null?void 0:Fe.actualDgoCons)??"-"),1),e.createElementVNode("div",Iq,e.toDisplayString(((ue=l.comparisonData)==null?void 0:ue.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",Rq,[zq,e.createElementVNode("div",Uq,e.toDisplayString(((Le=l.comparisonData)==null?void 0:Le.diffFoCons)??"-"),1)]),e.createElementVNode("div",Yq,[Zq,e.createElementVNode("div",Qq,e.toDisplayString(((Se=l.comparisonData)==null?void 0:Se.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[0]||(n[0]=We=>l.advisory=We),height:"320px",onBlur:n[1]||(n[1]=We=>a.handleCommit("comments",We))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[2]||(n[2]=(...We)=>a.decideDisable&&a.decideDisable(...We)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,$q))],2)])}const On=ke(RJ,[["render",Jq],["__scopeId","data-v-c8bf8198"]]),loe="",Kq={props:{data:{type:Object,default:{}},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},components:{Editor:zo},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8Js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KaXO6nknbkU6D83hkRJOViMBLdKUi9mJNC9Hk+D9jB9IrNEcqTXFAhbdS+4KimMjrk8zFcTFaFI/lcCieUHSE810Jr6Qv67F1NopHbJOzjBKpOkdilSIlShshpRXU+mluTCaS6NETkSaDqFEBDRBG6vMaNeTwbHIL0UOUJqQJS5FEQ3kI4uVrJEgq3AzTdNYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},watch:{data:{handler(t){t&&this.fetchData()},immediate:!0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t?`${w(t).utc().format(n)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,n){return t&&n?te.roundPrecision(t-n):"-"}},computeSummary(){return function(t,n){if(t===0)return"No difference";let o="";return t>0?n==="time"?o=`Lost ${t}hrs`:o=`Over consumption ${t}mt`:n==="time"?o=`Saving ${Math.abs(t)}hrs`:o=`Under consumption ${Math.abs(t)}mt`,o}}},methods:{fetchData(){var t,n;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(n=this.data)==null?void 0:n.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,n){this.editable=!1;const o={[t]:n};await gl.put(`${this.gateway}/api/als/comparisons/${this.id}`,o,{headers:{Authorization:this.token}}),this.advisory=n}}},ze=t=>(e.pushScopeId("data-v-b2f57055"),t=t(),e.popScopeId(),t),qq={class:"comparison-report"},Xq=ze(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),jq={class:"report-header"},vq={class:"header-title",style:{position:"relative !important"}},eX={class:"header-title-content"},tX=ze(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),oX={class:"title-date"},lX={class:"report-summary"},aX={class:"summary-item"},nX=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),sX={class:"flexL gray"},iX={class:"summary-item"},cX=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),dX={class:"flexL gray"},rX={class:"summary-item"},mX=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),pX={class:"flexL gray"},hX={class:"summary-item"},yX=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),EX={class:"flexL gray"},_X={class:"summary-item"},NX=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),VX={class:"flexL gray"},fX={class:"summary-item"},gX=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),DX={class:"flexL gray",style:{display:"flex"}},xX={class:"flex"},bX={class:"flexM"},CX={class:"summary-item"},SX=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),kX={class:"flexL gray",style:{display:"flex"}},AX={class:"flex"},BX={class:"flexM"},wX=ze(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),TX={class:"report-summary"},OX={class:"summary-item"},PX=ze(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),FX={class:"summary-item"},uX=ze(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),LX={class:"summary-item"},WX=ze(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),HX=ze(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),MX={class:"report-map"},GX=["src"],IX=e.createStaticVNode('<div class="legend" data-v-b2f57055><div class="legend-item" data-v-b2f57055><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-b2f57055></div><div data-v-b2f57055>Actual Route</div></div><div class="legend-item" data-v-b2f57055><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-b2f57055></div><div data-v-b2f57055>Ocean π Recommended Route</div></div></div>',1),RX=ze(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),zX={key:0,class:"subtitle"},UX={key:1,class:"report-summary"},YX={class:"summary-item"},ZX=ze(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),QX={class:"flexL blue center"},$X={class:"summary-item"},JX=ze(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),KX={class:"flexL blue center"},qX={class:"summary-item"},XX=ze(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),jX={class:"flexL blue center"},vX=ze(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),ej={class:"report-summary"},tj=ze(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),oj={class:"summary-item"},lj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),aj={class:"flex blue-light center"},nj={class:"flex blue-light center"},sj={class:"summary-item"},ij=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),cj={class:"flex blue-light center"},dj={class:"flex blue-light center"},rj={class:"summary-item"},mj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),pj={class:"flex blue-light center"},hj={class:"flex blue-light center"},yj={class:"summary-item"},Ej=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),_j={class:"flex blue-light center"},Nj={class:"flex blue-light center"},Vj={class:"summary-item"},fj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),gj={class:"flex blue-light center"},Dj={class:"flex blue-light center"},xj={class:"summary-item"},bj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),Cj={class:"flex blue-light center"},Sj={class:"flex blue-light center"},kj={class:"summary-item"},Aj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),Bj={class:"flex blue-light center italic"},wj=ze(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),Tj={class:"report-summary"},Oj=ze(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),Pj={class:"summary-item"},Fj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),uj={class:"flex blue-light center"},Lj={class:"flex blue-light center"},Wj={class:"summary-item"},Hj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),Mj={class:"flex blue-light center"},Gj={class:"flex blue-light center"},Ij={class:"summary-item"},Rj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),zj={class:"flex blue-light center"},Uj={class:"flex blue-light center"},Yj={class:"summary-item"},Zj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),Qj={class:"flex blue-light center"},$j={class:"flex blue-light center"},Jj={class:"summary-item"},Kj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),qj={class:"flex blue-light center italic"},Xj={class:"summary-item"},jj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),vj={class:"flex blue-light center italic"},ev=["innerHTML"];function tv(t,n,o,c,l,a){var i,_,g,S,h,N,x,r,C,k,T,u,L,O,b,F,z,Z,U,W,f,Y,R,H,J,K,X,q,V,M,$,s,j,d,v,le,ee,ie,ce,de,re,Ee,ae,he,_e,Ne,Ve,fe,ge,De,xe,be,Ce,Oe,Pe,ye,P,me,Fe,ue,Le;const p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",qq,[Xq,e.createElementVNode("div",jq,[e.createElementVNode("div",vq,[e.createElementVNode("div",eX,[tX,e.createElementVNode("div",oX,e.toDisplayString(a.computeUTCTime(((i=l.comparisonData)==null?void 0:i.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",lX,[e.createElementVNode("div",aX,[nX,e.createElementVNode("div",sX,e.toDisplayString((g=(_=l.comparisonData)==null?void 0:_.vessel)==null?void 0:g.name),1)]),e.createElementVNode("div",iX,[cX,e.createElementVNode("div",dX,e.toDisplayString((S=l.comparisonData)==null?void 0:S.preparedFor),1)]),e.createElementVNode("div",rX,[mX,e.createElementVNode("div",pX,e.toDisplayString((N=(h=l.comparisonData)==null?void 0:h.vessel)==null?void 0:N.type),1)]),e.createElementVNode("div",hX,[yX,e.createElementVNode("div",EX,e.toDisplayString((r=(x=l.comparisonData)==null?void 0:x.voyage)==null?void 0:r.loadCondition),1)]),e.createElementVNode("div",_X,[NX,e.createElementVNode("div",VX,e.toDisplayString((k=(C=l.comparisonData)==null?void 0:C.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",fX,[gX,e.createElementVNode("div",DX,[e.createElementVNode("span",xX,e.toDisplayString((u=(T=l.comparisonData)==null?void 0:T.departure)==null?void 0:u.name),1),e.createElementVNode("span",bX,e.toDisplayString(a.computeUTCTime(((O=(L=l.comparisonData)==null?void 0:L.departure)==null?void 0:O.atd)||((F=(b=l.comparisonData)==null?void 0:b.departure)==null?void 0:F.etd))),1)])]),e.createElementVNode("div",CX,[SX,e.createElementVNode("div",kX,[e.createElementVNode("span",AX,e.toDisplayString((Z=(z=l.comparisonData)==null?void 0:z.arrival)==null?void 0:Z.name),1),e.createElementVNode("span",BX,e.toDisplayString(a.computeUTCTime(((W=(U=l.comparisonData)==null?void 0:U.arrival)==null?void 0:W.ata)||((Y=(f=l.comparisonData)==null?void 0:f.arrival)==null?void 0:Y.eta))),1)])])]),wX,e.createElementVNode("div",TX,[e.createElementVNode("div",OX,[PX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((R=l.comparisonData)==null?void 0:R.diffTime)} flex blue`)},e.toDisplayString(a.computeSummary((H=l.comparisonData)==null?void 0:H.diffTime,"time")),3)]),e.createElementVNode("div",FX,[uX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((J=l.comparisonData)==null?void 0:J.diffFoCons)} flex blue`)},e.toDisplayString(a.computeSummary((K=l.comparisonData)==null?void 0:K.diffFoCons,"oil")),3)]),e.createElementVNode("div",LX,[WX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=l.comparisonData)==null?void 0:X.diffDgoCons)} flex blue`)},e.toDisplayString(a.computeSummary((q=l.comparisonData)==null?void 0:q.diffDgoCons,"oil")),3)])]),HX,e.createElementVNode("div",MX,[e.createElementVNode("img",{style:{width:"100%"},src:(V=l.comparisonData)==null?void 0:V.chartUrl,alt:""},null,8,GX),IX]),RX,(M=l.comparisonData)!=null&&M.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",zX,"CP Terms")),($=l.comparisonData)!=null&&$.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",UX,[e.createElementVNode("div",YX,[ZX,e.createElementVNode("div",QX,e.toDisplayString(((j=(s=l.comparisonData)==null?void 0:s.cp)==null?void 0:j.speed)??"—"),1)]),e.createElementVNode("div",$X,[JX,e.createElementVNode("div",KX,e.toDisplayString(((v=(d=l.comparisonData)==null?void 0:d.cp)==null?void 0:v.fo)??"—"),1)]),e.createElementVNode("div",qX,[XX,e.createElementVNode("div",jX,e.toDisplayString(((ee=(le=l.comparisonData)==null?void 0:le.cp)==null?void 0:ee.dgo)??"—"),1)])])),vX,e.createElementVNode("div",ej,[tj,e.createElementVNode("div",oj,[lj,e.createElementVNode("div",aj,e.toDisplayString(((ie=l.comparisonData)==null?void 0:ie.actualDist)??"—"),1),e.createElementVNode("div",nj,e.toDisplayString(((ce=l.comparisonData)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",sj,[ij,e.createElementVNode("div",cj,e.toDisplayString(((de=l.comparisonData)==null?void 0:de.actualTime)??"—"),1),e.createElementVNode("div",dj,e.toDisplayString(((re=l.comparisonData)==null?void 0:re.recmdTime)??"—"),1)]),e.createElementVNode("div",rj,[mj,e.createElementVNode("div",pj,e.toDisplayString(((Ee=l.comparisonData)==null?void 0:Ee.actualAvgSpd)??"—"),1),e.createElementVNode("div",hj,e.toDisplayString(((ae=l.comparisonData)==null?void 0:ae.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",yj,[Ej,e.createElementVNode("div",_j,e.toDisplayString(((he=l.comparisonData)==null?void 0:he.actualAvgCF)??"—"),1),e.createElementVNode("div",Nj,e.toDisplayString(((_e=l.comparisonData)==null?void 0:_e.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",Vj,[fj,e.createElementVNode("div",gj,e.toDisplayString(((Ne=l.comparisonData)==null?void 0:Ne.actualAvgWF)??"—"),1),e.createElementVNode("div",Dj,e.toDisplayString(((Ve=l.comparisonData)==null?void 0:Ve.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",xj,[bj,e.createElementVNode("div",Cj,e.toDisplayString(((fe=l.comparisonData)==null?void 0:fe.actualPfmSpd)??"—"),1),e.createElementVNode("div",Sj,e.toDisplayString(((ge=l.comparisonData)==null?void 0:ge.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",kj,[Aj,e.createElementVNode("div",Bj,e.toDisplayString(a.compareTime((De=l.comparisonData)==null?void 0:De.actualTime,(xe=l.comparisonData)==null?void 0:xe.recmdTime)),1)])]),wj,e.createElementVNode("div",Tj,[Oj,e.createElementVNode("div",Pj,[Fj,e.createElementVNode("div",uj,e.toDisplayString(((be=l.comparisonData)==null?void 0:be.actualAvgFoCons)??"-"),1),e.createElementVNode("div",Lj,e.toDisplayString(((Ce=l.comparisonData)==null?void 0:Ce.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",Wj,[Hj,e.createElementVNode("div",Mj,e.toDisplayString(((Oe=l.comparisonData)==null?void 0:Oe.actualFoCons)??"-"),1),e.createElementVNode("div",Gj,e.toDisplayString(((Pe=l.comparisonData)==null?void 0:Pe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",Ij,[Rj,e.createElementVNode("div",zj,e.toDisplayString(((ye=l.comparisonData)==null?void 0:ye.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",Uj,e.toDisplayString(((P=l.comparisonData)==null?void 0:P.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",Yj,[Zj,e.createElementVNode("div",Qj,e.toDisplayString(((me=l.comparisonData)==null?void 0:me.actualDgoCons)??"-"),1),e.createElementVNode("div",$j,e.toDisplayString(((Fe=l.comparisonData)==null?void 0:Fe.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",Jj,[Kj,e.createElementVNode("div",qj,e.toDisplayString(((ue=l.comparisonData)==null?void 0:ue.diffFoCons)??"-"),1)]),e.createElementVNode("div",Xj,[jj,e.createElementVNode("div",vj,e.toDisplayString(((Le=l.comparisonData)==null?void 0:Le.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[0]||(n[0]=Se=>l.advisory=Se),height:"320px",onBlur:n[1]||(n[1]=Se=>a.handleCommit("comments",Se))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[2]||(n[2]=(...Se)=>a.decideDisable&&a.decideDisable(...Se)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,ev))],2)])}const Pn=ke(Kq,[["render",tv],["__scopeId","data-v-b2f57055"]]),ov={install(t){t.component("OpiComparisonReport",On),t.component("FliComparisonReport",Pn)}},lv={install(t){t.component("IdmBrand",Ro),t.component("IdmThird",ja)}},aoe="",av={name:"QuotaReport",components:{Brand:Ro},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$280",0,0,0,0,0,0,0,0,0,0,0],["$280","$280",0,0,0,0,0,0,0,0,0,0],["$450","$350","$280",0,0,0,0,0,0,0,0,0],["$450","$350","$500","$280",0,0,0,0,0,0,0,0],["$600","$450","$450","$350","$280",0,0,0,0,0,0,0],["$720","$680","$680","CGH $550","$450","$280",0,0,0,0,0,0],["$850","$800","$800","SUE $350","SUE $350","$500","$280",0,0,0,0,0],["SUE $900<br/>CGH $1050","SUE $900<br/>CGH $1050","SUE $900<br/>CGH $1150<br/>CHC $1150<br/>PMP $1250","SUE 450<br/>CGH $1300","SUE $450","$600","$400","$280",0,0,0,0],["$1050","$1050","$950","CGH $850","$700","$500","$600","$650","$280",0,0,0],["$800","$800","DIR $700<br/>CHC $1000","CHC $1100","CHC $1100","PMP $550<br/>CHC $700","PMP $600<br/>CHC $1000","PMP $650<br/>CHC $1000","$450","$280",0,0],["$1050","$1100","PMP $1050<br/>CGH $1150<br/>SUE $1100","SUE $800<br/>CGH $1100","SUE $750<br/>CGH $1000","$500","$600","$600","$500","PMP $450<br/>CHC $1150","$280",0],["$750","$800","$800","SGP $900<br/>PMP $1350<br/>CHC $1350","SGP $900<br/>PMP $1000<br/>CHC $1200","PMP $900<br/>CHC $1150","$850","PMP $900<br/>CHC $1250","PMP $900<br/>CHC $1050","PMP $450<br/>CHC $1150","PMP $540<br/>CHC $1300","$280"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){_l.accessToken=this.mapboxToken,this.map=new _l.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Fn=t=>(e.pushScopeId("data-v-f3647134"),t=t(),e.popScopeId(),t),nv={class:"quota-report"},sv=Fn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),iv={class:"section quota-section"},cv=Fn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),dv={class:"label"},rv={class:"label"},mv=["innerHTML"],pv=e.createStaticVNode('<div class="legend-block flex-space" data-v-f3647134><div class="legend" data-v-f3647134><label data-v-f3647134>DIR</label><span data-v-f3647134>DIRECT</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>PMP</label><span data-v-f3647134>via PANAMA CHANNEL</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>SUE</label><span data-v-f3647134>via SUEZ CHANNEL</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>CGH</label><span data-v-f3647134>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>CHC</label><span data-v-f3647134>Passing CAPE HORN</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>SCG</label><span data-v-f3647134>Passing SINGAPORE</span></div></div>',1);function hv(t,n,o,c,l,a){const p=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",nv,[e.createVNode(p,{name:"Quotation Sheet"}),sv,e.createElementVNode("div",iv,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[cv,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,(i,_)=>(e.openBlock(),e.createElementBlock("tr",{key:_},[e.createElementVNode("td",dv,e.toDisplayString(i.rank),1),e.createElementVNode("td",rv,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,g=>(e.openBlock(),e.createElementBlock("td",{key:g,innerHTML:l.quota[_][g-1]||""},null,8,mv))),128))]))),128))])]),pv])])}const un=ke(av,[["render",hv],["__scopeId","data-v-f3647134"]]),noe="",yv={name:"QuotaReport",components:{Brand:Ro},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$500",0,0,0,0,0,0,0,0,0,0,0],["$500","$500",0,0,0,0,0,0,0,0,0,0],["$650","$550","$500",0,0,0,0,0,0,0,0,0],["$650","$550","$700","$500",0,0,0,0,0,0,0,0],["$800","$650","$650","$550","$500",0,0,0,0,0,0,0],["$920","$880","$880","CGH $750","$650","$500",0,0,0,0,0,0],["$1050","$1000","$1000","SUE $550","SUE $550","$700","$500",0,0,0,0,0],["SUE $1100<br/>CGH $1250","SUE $1100<br/>CGH $1250","SUE $1100<br/>CGH $1350<br/>CHC $1350<br/>PMP $1450","SUE 650<br/>CGH $1500","SUE $650","$800","$600","$500",0,0,0,0],["$1250","$1250","$1150","CGH $1050","$900","$700","$800","$850","$500",0,0,0],["$1000","$1000","DIR $900<br/>CHC $1200","CHC $1300","CHC $1300","PMP $750<br/>CHC $900","PMP $800<br/>CHC $1200","PMP $850<br/>CHC $1200","$650","$500",0,0],["$1250","$1300","PMP $1250<br/>CGH $1350<br/>SUE $1300","SUE $1000<br/>CGH $1300","SUE $950<br/>CGH $1200","$700","$800","$800","$700","PMP $650<br/>CHC $1350","$500",0],["$950","$1000","$1000","SGP $1100<br/>PMP $1550<br/>CHC $1550","SGP $1100<br/>PMP $1200<br/>CHC $1400","PMP $1100<br/>CHC $1350","$1050","PMP $1100<br/>CHC $1450","PMP $1100<br/>CHC $1250","PMP $650<br/>CHC $1350","PMP $740<br/>CHC $1500","$500"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){_l.accessToken=this.mapboxToken,this.map=new _l.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Ln=t=>(e.pushScopeId("data-v-e3ab3a93"),t=t(),e.popScopeId(),t),Ev={class:"quota-report"},_v=Ln(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Nv={class:"section quota-section"},Vv=Ln(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),fv={class:"label"},gv={class:"label"},Dv=["innerHTML"],xv=e.createStaticVNode('<div class="legend-block flex-space" data-v-e3ab3a93><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>DIR</label><span data-v-e3ab3a93>DIRECT</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>PMP</label><span data-v-e3ab3a93>via PANAMA CHANNEL</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>SUE</label><span data-v-e3ab3a93>via SUEZ CHANNEL</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>CGH</label><span data-v-e3ab3a93>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>CHC</label><span data-v-e3ab3a93>Passing CAPE HORN</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>SCG</label><span data-v-e3ab3a93>Passing SINGAPORE</span></div></div>',1);function bv(t,n,o,c,l,a){const p=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Ev,[e.createVNode(p,{name:"Quotation Sheet"}),_v,e.createElementVNode("div",Nv,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Vv,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,(i,_)=>(e.openBlock(),e.createElementBlock("tr",{key:_},[e.createElementVNode("td",fv,e.toDisplayString(i.rank),1),e.createElementVNode("td",gv,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,g=>(e.openBlock(),e.createElementBlock("td",{key:g,innerHTML:l.quota[_][g-1]||""},null,8,Dv))),128))]))),128))])]),xv])])}const Wn=ke(yv,[["render",bv],["__scopeId","data-v-e3ab3a93"]]),soe="",Cv={name:"QuotaReport",components:{Brand:Ro},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$150",0,0,0,0,0,0,0,0,0,0,0],["$150","$150",0,0,0,0,0,0,0,0,0,0],["$280","$230","$150",0,0,0,0,0,0,0,0,0],["$280","$230","$330","$150",0,0,0,0,0,0,0,0],["$395","$280","$280","$230","$150",0,0,0,0,0,0,0],["$475","$450","$450","CGH $365","$280","$150",0,0,0,0,0,0],["$560","$530","$530","SUE $230","SUE $230","$330","$150",0,0,0,0,0],["SUE $595<br/>CGH $690","SUE $595<br/>CGH $690","SUE $595<br/>CGH $760<br/>CHC $760<br/>PMP $830","SUE 280<br/>CGH $860","SUE $280","$395","$265","$150",0,0,0,0],["$690","$690","$630","CGH $560","$460","$330","$395","$430","$150",0,0,0],["$530","$530","DIR $460<br/>CHC $660","CHC $730","CHC $730","PMP $365<br/>CHC $460","PMP $395<br/>CHC $660","PMP $430<br/>CHC $660","$280","$150",0,0],["$690","$730","PMP $690<br/>CGH $760<br/>SUE $730","SUE $530<br/>CGH $730","SUE $495<br/>CGH $660","$330","$395","$395","$330","PMP $280<br/>CHC $760","$150",0],["$495","$530","$530","SGP $595<br/>PMP $890<br/>CHC $890","SGP $595<br/>PMP $660<br/>CHC $790","PMP $595<br/>CHC $760","$560","PMP $595<br/>CHC $830","PMP $595<br/>CHC $690","PMP $280<br/>CHC $760","PMP $360<br/>CHC $860","$150"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){_l.accessToken=this.mapboxToken,this.map=new _l.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Hn=t=>(e.pushScopeId("data-v-fecdf217"),t=t(),e.popScopeId(),t),Sv={class:"quota-report"},kv=Hn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Av={class:"section quota-section"},Bv=Hn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),wv={class:"label"},Tv={class:"label"},Ov=["innerHTML"],Pv=e.createStaticVNode('<div class="legend-block flex-space" data-v-fecdf217><div class="legend" data-v-fecdf217><label data-v-fecdf217>DIR</label><span data-v-fecdf217>DIRECT</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>PMP</label><span data-v-fecdf217>via PANAMA CHANNEL</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>SUE</label><span data-v-fecdf217>via SUEZ CHANNEL</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>CGH</label><span data-v-fecdf217>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>CHC</label><span data-v-fecdf217>Passing CAPE HORN</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>SCG</label><span data-v-fecdf217>Passing SINGAPORE</span></div></div>',1);function Fv(t,n,o,c,l,a){const p=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Sv,[e.createVNode(p,{name:"Quotation Sheet for TONGLI"}),kv,e.createElementVNode("div",Av,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Bv,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,(i,_)=>(e.openBlock(),e.createElementBlock("tr",{key:_},[e.createElementVNode("td",wv,e.toDisplayString(i.rank),1),e.createElementVNode("td",Tv,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,g=>(e.openBlock(),e.createElementBlock("td",{key:g,innerHTML:l.quota[_][g-1]||""},null,8,Ov))),128))]))),128))])]),Pv])])}const Mn=ke(Cv,[["render",Fv],["__scopeId","data-v-fecdf217"]]),uv={install(t){t.component("OrmQuoteReport",un),t.component("OrmQuoteReport4SEOA",Wn),t.component("OrmQuoteReport4TongLi",Mn)}},ioe="",Lv={name:"PrecipitationReport",components:{IdmBrand:Ro,IdmLoading:on},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0},defaultVersion:{type:String,default:"Pretty"}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clv0mafdu006h01qp1cyzga6d",map:void 0,source:"precipitation-source",layer:"precipitation-label-layer",geojson:void 0,echart:void 0,form:void 0,index:0,version:this.defaultVersion,loading:!0}},watch:{report:{handler(){var t,n,o;if((t=this.report)!=null&&t.rows){this.loading=!1;for(const c of(n=this.report)==null?void 0:n.rows)this.computeForm(c);this.form=(o=this.report)==null?void 0:o.rows[this.index],this.$nextTick(()=>{this.initMap()})}},immediate:!0},form:{handler(){this.form&&(this.handleFlyTo(this.form),this.$nextTick(()=>{this.initEchart()}))},immediate:!0},version:{handler(){this.$nextTick(()=>{this.initEchart(),this.initMap()})}}},computed:{computeLat(){return function(t){return te.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return te.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,n=8,o="MMM-DD/HHmm[LT]"){return`${w(t).utcOffset(n).format(o)}`}},computeTZ(){return function(t="0"){return te.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var l,a,p,i,_,g,S;const n=te.LngLatHelper.guessTimeZoneOffset(t.lng,t.lat);t.localTZ=n;const o={};for(let h=0;h<((l=t==null?void 0:t.extend)==null?void 0:l.length);h++){const N=t==null?void 0:t.extend[h];if(h===0)N.precip.pacc=0;else{const x=w(N.utc).utcOffset(n),r=(a=N.precip)==null?void 0:a.acc;if(N.precip.pacc=r,r>0){const C=o[x.format("MMM-DD")],k=Math.floor(x.get("hour")/6);C?(C.pacc=this.roundPrecision(C.pacc+r,1),C[`${k}`]?C[`${k}`]+=r:(C[`${k}`]=r,C.colspan+=1)):(o[x.format("MMM-DD")]={pacc:r,colspan:1},o[x.format("MMM-DD")][`${k}`]=r)}}}t.paccInDays=o;let c=0;for(const h of Object.keys(o))c+=(p=o[h])==null?void 0:p.colspan,o[h].level=((i=o[h])==null?void 0:i.pacc)<10?"Light":((_=o[h])==null?void 0:_.pacc)<24.9?"Moderate":((g=o[h])==null?void 0:g.pacc)<49.9?"Heavy":((S=o[h])==null?void 0:S.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=c,t}}},methods:{initEchart(){var t,n;if(this.version==="Pretty"){this.echart||(this.echart=e.markRaw(Uo.init(this.$refs.echart)));const o=[],c=[],l={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let a=4;(n=(t=this.form)==null?void 0:t.extend)==null||n.forEach(i=>{var g,S,h,N,x,r,C,k,T,u,L,O,b,F;const _=w(i.utc).utcOffset((g=this.form)==null?void 0:g.localTZ).format("MMM-DD/HHmm[LT]");o.push(_),a=((h=(S=i.wave)==null?void 0:S.sig)==null?void 0:h.height)>a?(x=(N=i.wave)==null?void 0:N.sig)==null?void 0:x.height:a,c.push([_,(r=i.wind)==null?void 0:r.kts,(C=i.gusts)==null?void 0:C.kts,(T=(k=i.wave)==null?void 0:k.sig)==null?void 0:T.height,(u=i.wind)==null?void 0:u.direction,(L=i.wind)==null?void 0:L.degree,(O=i.wind)==null?void 0:O.scale,(b=i.current)==null?void 0:b.kts,(F=i.precip)==null?void 0:F.pacc,this.roundPrecision(i.visibility/1852,0),i.temp])});const p={animation:!1,title:{text:"Weather Conditions",subtext:"Precip/Visibility/Sig.Wave/Wind/Gusts",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:25},xAxis:[{data:o}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:a,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:c,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:l.dateTime,y:l.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:c,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:l.dateTime,y:l.waveHeight},data:c,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:l.dateTime,y:l.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:c,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:l.dateTime,y:l.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:c,z:2}]};this.echart.setOption(p)}},async initMap(){this.version==="Pretty"&&!this.map&&(_l.accessToken=this.mapboxToken,this.map=new _l.Map({container:"map",style:this.mapboxStyle,projection:"mercator",preserveDrawingBuffer:!0,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()}))},handleDraw(){var t;this.geojson={type:"FeatureCollection",features:[]};for(const n of(t=this.report)==null?void 0:t.rows){const o={type:"Feature",properties:{name:n.name,rank:n.rank},geometry:{type:"Point",coordinates:[n.lng,n.lat]}};this.geojson.features.push(o)}this.map.getSource(this.source)?this.map.getSource(this.source).setData(this.geojson):(this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","icon-size":.3,"icon-image":"port","text-field":"{rank}. {name}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":.8,"text-color":"#ff0000","text-halo-color":"#fff","text-halo-width":2,"text-halo-blur":1}})),this.handleFlyTo(this.form)},handleFlyTo(t){var n;(n=this.map)==null||n.flyTo({center:[t.lng,t.lat],zoom:8})}}},Wt=t=>(e.pushScopeId("data-v-93671675"),t=t(),e.popScopeId(),t),Wv={class:"precipitation-report"},Hv={class:"section area-section"},Mv={class:"area-block"},Gv={class:"area-header flex-space"},Iv={class:"flex-start"},Rv=["onClick"],zv={class:"flex-end"},Uv={class:"area-body"},Yv=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-93671675>Precipitation Accumulation (mm) in the next 10 days</div><div style="display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:13px;color:var(--idm-black-7);" data-v-93671675><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Light (<10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Moderate (<24.9mm)</div><div style="background:rgb(7,148,255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Heavy (<49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Rainstorm (<99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-93671675>Heavy Rainstorm (>100mm)</div></div>',2),Zv={class:"flex-evenly"},Qv={key:0},$v=["colspan"],Jv=["colspan"],Kv={style:{"font-size":"10px"}},qv={key:0},Xv={key:1},jv={key:2},vv={key:3},eee={key:0},tee={key:1,style:{"font-size":"14px"}},oee=Wt(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),lee={class:"section echart-section"},aee={ref:"echart",class:"echart"},nee={class:"section sample-section"},see=Wt(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),iee=["colspan"],cee=Wt(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),dee=Wt(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),ree=Wt(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),mee=Wt(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),pee=Wt(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),hee=Wt(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),yee={key:0},Eee={key:1},_ee=Wt(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Nee=Wt(()=>e.createElementVNode("th",null,"Dir",-1)),Vee=Wt(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),fee=Wt(()=>e.createElementVNode("th",null,"BF",-1)),gee=Wt(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Dee=Wt(()=>e.createElementVNode("th",null,"Dir",-1)),xee=Wt(()=>e.createElementVNode("th",null,"Ht (m)",-1)),bee=Wt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Cee=Wt(()=>e.createElementVNode("th",null,"Dir",-1)),See=Wt(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),kee=Wt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Aee=Wt(()=>e.createElementVNode("th",null,"°C",-1)),Bee={width:"120px"},wee={key:0},Tee={key:1},Oee={key:0,class:"degree-box"},Pee={key:1},Fee={key:0,class:"degree-box"},uee={key:1},Lee={key:0,class:"degree-box"},Wee={key:1},Hee={class:"section area-section"},Mee={class:"area-block"},Gee={class:"area-header flex-end"},Iee={class:"flex-end"},Ree={class:"area-body"},zee=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-93671675>Precipitation Accumulation (mm) in the next 10 days</div><div style="display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:13px;color:var(--idm-black-7);" data-v-93671675><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Light (<10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Moderate (<24.9mm)</div><div style="background:rgb(7,148,255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Heavy (<49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Rainstorm (<99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-93671675>Heavy Rainstorm (>100mm)</div></div>',2),Uee=["colspan"],Yee=["colspan"],Zee={style:{"font-size":"10px"}},Qee={key:0},$ee={key:1},Jee={key:2},Kee={key:3},qee={key:1,style:{"font-size":"14px"}},Xee={key:0};function jee(t,n,o,c,l,a){var _,g,S,h,N,x,r,C,k,T,u,L,O,b,F,z,Z,U,W;const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",Wv,[e.createVNode(p,{name:"Precipitation Accumulation"}),e.createVNode(i,{loading:l.loading,onTimeout:n[0]||(n[0]=f=>l.loading=!1)},null,8,["loading"]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",Hv,[e.createElementVNode("div",Mv,[e.createElementVNode("div",Gv,[e.createElementVNode("div",Iv,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((_=o.report)==null?void 0:_.rows,(f,Y)=>(e.openBlock(),e.createElementBlock("div",{key:Y,class:e.normalizeClass(l.index===Y?"header-item active":"header-item"),onClick:R=>{var H;return l.index=Y,l.form=(H=o.report)==null?void 0:H.rows[l.index]}},e.toDisplayString(f.rank)+". "+e.toDisplayString(f.name),11,Rv))),128))]),e.createElementVNode("div",zv,[e.createElementVNode("div",{class:"header-item",onClick:n[1]||(n[1]=f=>l.version="Brief")},"Brief")])]),e.createElementVNode("div",Uv,[Yv,e.createElementVNode("div",Zv,[l.form?(e.openBlock(),e.createElementBlock("table",Qv,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:l.form.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString((g=l.form)==null?void 0:g.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString((S=l.form)==null?void 0:S.name)+" ("+e.toDisplayString(a.computeLat((h=l.form)==null?void 0:h.lat).pretty)+" / "+e.toDisplayString(a.computeLng((N=l.form)==null?void 0:N.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(a.computeLTime((r=(x=l.form)==null?void 0:x.extend)==null?void 0:r[0].utc,(C=l.form)==null?void 0:C.localTZ))+" to "+e.toDisplayString(a.computeLTime((T=(k=l.form)==null?void 0:k.extend)==null?void 0:T.at(-1).utc,(u=l.form)==null?void 0:u.localTZ))+", "+e.toDisplayString(a.computeTZ((L=l.form)==null?void 0:L.localTZ))+")",1)],8,$v)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((O=l.form)==null?void 0:O.paccInDays),(f,Y)=>{var R;return e.openBlock(),e.createElementBlock("th",{key:Y,colspan:l.form.paccInDays[f].colspan,class:e.normalizeClass((R=l.form.paccInDays[f])==null?void 0:R.level)},e.toDisplayString(f)+" ("+e.toDisplayString(l.form.paccInDays[f].pacc)+") ",11,Jv)}),128))]),e.createElementVNode("tr",Kv,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((b=l.form)==null?void 0:b.paccInDays),(f,Y)=>{var R;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Y},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((R=l.form)==null?void 0:R.paccInDays[f]),(H,J)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:J},[H==="0"?(e.openBlock(),e.createElementBlock("th",qv,"00-06")):e.createCommentVNode("",!0),H==="1"?(e.openBlock(),e.createElementBlock("th",Xv,"06-12")):e.createCommentVNode("",!0),H==="2"?(e.openBlock(),e.createElementBlock("th",jv,"12-18")):e.createCommentVNode("",!0),H==="3"?(e.openBlock(),e.createElementBlock("th",vv,"18-24")):e.createCommentVNode("",!0)],64))),128))],64)}),128))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(z=Object.keys((F=l.form)==null?void 0:F.paccInDays))!=null&&z.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys((Z=l.form)==null?void 0:Z.paccInDays),(f,Y)=>{var R;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Y},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((R=l.form)==null?void 0:R.paccInDays[f]),(H,J)=>{var K;return e.openBlock(),e.createElementBlock(e.Fragment,{key:J},[["0","1","2","3"].includes(H)?(e.openBlock(),e.createElementBlock("td",eee,e.toDisplayString(a.roundPrecision((K=l.form)==null?void 0:K.paccInDays[f][H],1)),1)):e.createCommentVNode("",!0)],64)}),128))],64)}),128)):(e.openBlock(),e.createElementBlock("th",tee,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),oee,e.createElementVNode("div",lee,[e.createElementVNode("div",aee,null,512)]),e.createElementVNode("div",nee,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[see,e.createElementVNode("th",{colspan:o.showPrate?2:1},"Precip",8,iee),cee,dee,ree,mee,pee,hee]),e.createElementVNode("tr",null,[o.showPrate?(e.openBlock(),e.createElementBlock("th",yee,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",Eee,"Acc (mm)")):e.createCommentVNode("",!0),_ee,Nee,Vee,fee,gee,Dee,xee,bee,Cee,See,kee,Aee])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((U=l.form)==null?void 0:U.extend,(f,Y)=>{var R,H,J,K,X,q,V,M,$,s,j,d,v,le,ee,ie,ce,de,re,Ee,ae,he,_e,Ne,Ve,fe,ge,De,xe,be,Ce;return e.openBlock(),e.createElementBlock("tr",{key:Y},[e.createElementVNode("td",Bee,e.toDisplayString(a.computeLTime(f.utc,(R=l.form)==null?void 0:R.localTZ)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",wee,e.toDisplayString(a.roundPrecision((H=f.precip)==null?void 0:H.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",Tee,e.toDisplayString((J=f.precip)==null?void 0:J.pacc),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(f.visibility/1852,0)),1),e.createElementVNode("td",null,[(K=f.wind)!=null&&K.kts?(e.openBlock(),e.createElementBlock("span",Oee,[e.createTextVNode(e.toDisplayString((X=f.wind)==null?void 0:X.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((q=f.wind)==null?void 0:q.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Pee,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((V=f.wind)==null?void 0:V.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((M=f.wind)==null?void 0:M.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(($=f.gusts)==null?void 0:$.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((j=(s=f.wave)==null?void 0:s.wd)==null?void 0:j.height,1)),1),e.createElementVNode("td",null,[(v=(d=f.wave)==null?void 0:d.swell)!=null&&v.height?(e.openBlock(),e.createElementBlock("span",Fee,[e.createTextVNode(e.toDisplayString((ee=(le=f.wave)==null?void 0:le.swell)==null?void 0:ee.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((ce=(ie=f.wave)==null?void 0:ie.swell)==null?void 0:ce.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",uee,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((re=(de=f.wave)==null?void 0:de.swell)==null?void 0:re.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ae=(Ee=f.wave)==null?void 0:Ee.swell)==null?void 0:ae.period,1)),1),e.createElementVNode("td",null,[(_e=(he=f.wave)==null?void 0:he.sig)!=null&&_e.height?(e.openBlock(),e.createElementBlock("span",Lee,[e.createTextVNode(e.toDisplayString((Ve=(Ne=f.wave)==null?void 0:Ne.sig)==null?void 0:Ve.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((ge=(fe=f.wave)==null?void 0:fe.sig)==null?void 0:ge.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Wee,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((xe=(De=f.wave)==null?void 0:De.sig)==null?void 0:xe.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ce=(be=f.wave)==null?void 0:be.sig)==null?void 0:Ce.period,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(f.temp,1)),1)])}),128))])])])],512),[[e.vShow,l.version==="Pretty"]]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",Hee,[e.createElementVNode("div",Mee,[e.createElementVNode("div",Gee,[e.createElementVNode("div",Iee,[e.createElementVNode("div",{class:"header-item",onClick:n[2]||(n[2]=f=>l.version="Pretty")},"Pretty")])]),e.createElementVNode("div",Ree,[zee,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((W=o.report)==null?void 0:W.rows,(f,Y)=>{var R,H,J;return e.openBlock(),e.createElementBlock("div",{key:Y,style:{"margin-bottom":"10px"}},[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:f.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString(f==null?void 0:f.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString(f==null?void 0:f.name)+" ("+e.toDisplayString(a.computeLat(f==null?void 0:f.lat).pretty)+" / "+e.toDisplayString(a.computeLng(f==null?void 0:f.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(a.computeLTime((R=f==null?void 0:f.extend)==null?void 0:R[0].utc,f==null?void 0:f.localTZ))+" to "+e.toDisplayString(a.computeLTime((H=f==null?void 0:f.extend)==null?void 0:H.at(-1).utc,f==null?void 0:f.localTZ))+", "+e.toDisplayString(a.computeTZ(f==null?void 0:f.localTZ))+")",1)],8,Uee)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays),(K,X)=>{var q;return e.openBlock(),e.createElementBlock("th",{key:X,colspan:f.paccInDays[K].colspan,class:e.normalizeClass((q=f.paccInDays[K])==null?void 0:q.level)},e.toDisplayString(K)+" ("+e.toDisplayString(f.paccInDays[K].pacc)+") ",11,Yee)}),128))]),e.createElementVNode("tr",Zee,[(J=Object.keys(f==null?void 0:f.paccInDays))!=null&&J.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys(f==null?void 0:f.paccInDays),(K,X)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:X},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays[K]),(q,V)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:V},[q==="0"?(e.openBlock(),e.createElementBlock("th",Qee,"00-06")):e.createCommentVNode("",!0),q==="1"?(e.openBlock(),e.createElementBlock("th",$ee,"06-12")):e.createCommentVNode("",!0),q==="2"?(e.openBlock(),e.createElementBlock("th",Jee,"12-18")):e.createCommentVNode("",!0),q==="3"?(e.openBlock(),e.createElementBlock("th",Kee,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",qee,"No Precipitation in the next 10 days"))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays),(K,X)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:X},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays[K]),(q,V)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:V},[["0","1","2","3"].includes(q)?(e.openBlock(),e.createElementBlock("td",Xee,e.toDisplayString(a.roundPrecision(f==null?void 0:f.paccInDays[K][q],1)),1)):e.createCommentVNode("",!0)],64))),128))],64))),128))])])])])}),128))])])])],512),[[e.vShow,l.version==="Brief"]])])}const Gn=ke(Lv,[["render",jee],["__scopeId","data-v-93671675"]]),vee={install(t){t.component("PrecipitationReport",Gn)}},ete={install(t){t.component("IdmLoading",on)}};oe.BrandPlugin=lv,oe.ComparisonPlugin=ov,oe.DeviationPlugin=K$,oe.DeviationReport=Bn,oe.FliComparisonReport=Pn,oe.FliDeviationReport=wn,oe.FliPlanReport=Nn,oe.FliVoyageReport=Dn,oe.HurricanePlugin=bu,oe.HurricaneReport=Cn,oe.IdmBrand=Ro,oe.IdmEditor=zo,oe.IdmEditorPlugin=Uy,oe.IdmLat=en,oe.IdmLatPlugin=Yy,oe.IdmLng=va,oe.IdmLngPlugin=Zy,oe.IdmLoading=on,oe.IdmThird=ja,oe.InvoicePlugin=DW,oe.InvoiceReport=Sn,oe.LoadingPlugin=ete,oe.ORMPointReport=hn,oe.OpiComparisonReport=On,oe.OpiPlanReport=cn,oe.OpiVoyageReport=gn,oe.OrmInvoiceReport=kn,oe.OrmPlanReport=Vn,oe.OrmQuoteReport=un,oe.OrmQuoteReport4SEOA=Wn,oe.OrmQuoteReport4TongLi=Mn,oe.OrmVoyageReport=xn,oe.PiLogo=fn,oe.PiLogoPlugin=jy,oe.PointReport=yn,oe.PointReportPlugin=Ld,oe.PrecipitationReport=Gn,oe.PrecipitationReportPlugin=vee,oe.QuoteReportPlugin=uv,oe.RouteReport=cn,oe.RouteReportPlugin=zy,oe.StoppageReport=Tn,oe.StoppageReportPlugin=IJ,oe.VoyageReportPlugin=au,Object.defineProperty(oe,Symbol.toStringTag,{value:"Module"})});
|
|
41
|
+
-3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)];function vy(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",Ky,[(e.openBlock(),e.createElementBlock("svg",qy,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:o.fill,"fill-opacity":.6,stroke:"none"},jy,8,Xy)]))])}const gn=Ee(Jy,[["render",vy]]),eE={install(t){t.component("PiLogo",gn)}},loe="",aoe="",tE={components:{Editor:zo,IdmBrand:va},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMN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sE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,bgSrc:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABBoAAAAvCAYAAABNJKlSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABBVSURBVHhe7d2Hd1TnnYdx/wm7m91szWart2+yfTdtW5KtySbZTeLuxA3HLU6CCzY4Y9xiwMaFEkMoBkw1TXQVhEACdaEu1NuojEZdM2oz89t773vv3HvnviI4dnBsP99znsPhcECcOULM++Gd4ZqybhGnUrMup5RVibdOt+LMOlJyoSOp7Xx7sKJ0CSlqcyvMrDUh57TNy1mzlmAFTs1uZ5rngl2ak3xNp82azGZ95Tk1uuVm1jBj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w7Jh77u7xe8fc3t59MdVH31oPzcjwlo0AQ0+AMagAagAWgAGlRAgxvQADQADXYhoAFoABqAhiAyAA1AA9CgwQVvQAPQADQADUCDCmhwAxqABqDBLgQ0AA1AA9AQRAagAWgAGjS44A1oABqABqABaFABDW5AA9AANNiFgAagAWgAGoLIADQADUCDBhe8AQ1AA9AANAANKqDBDWgAGoAGuxDQADQADUBDEBmABqABaNDggjegAWgAGoAGoEEFNLgBDUAD0GAXAhqABqABaAgiA9AANAANGlzwBjQADUAD0AA0qIAGN6ABaAAa7EJAA9AANAANQWQAGoAGoEGDC96ABqABaAAagAYV0OAGNAANQINdCGgAGoAGoCGIDEAD0AA0aHDBG9AANAANQAPQoAIa3IAGoAFosAsBDUAD0AA0BJEBaAAagAYNLngDGoAGoAFoABpUQIMb0AA0AA12IaABaAAagIYgMgANQAPQoMEFb0AD0AA0AA1AgwpocAMagAagwS4ENAANQAPQEEQGoAFoABo0uOANaAAagAagAWhQAQ1uQAPQADTYhYAGoAFoABqCyAA0AA1AgwYXvAENQAPQADQADSqgwQ1oABqABrsQ0AA0AA1AQxAZgAagAWjQ4II3oAFoABqABqBBBTS4AQ1AA9BgFwIagAagAWgIIgPQADQADRpc8AY0AA1AA9AANKiABjegAWgAGuxCQAPQADQADUFkABqABqBBgwvegAagAWgAGoAGFdDgBjQADUCDXQhoABqABqAhiAxAA9AANGhwwRvQADQADUAD0KACGtyABqABaLALAQ1AA9AANASRAWgAGoAGDS54AxqABqABaAAaVECDG9AANAANdiGgAWgAGoCGIDIADUAD0KDBBW9AA9AANAANQIMKaHADGoAGoMEuBDQADUAD0BBEBqABaAAaNLjgDWgAGoAGoAFoUAENbkAD0AA02IWABqABaAAagsgANAANQIMGF7wBDUAD0AA0AA0qoMENaAAagAa7ENAANAANQEMQGYAGoAFo0OCCN6ABaAAagAagQQU0uAENQAPQYBcCGoAGoAFoCCID0AA0AA0aXPAGNAANQAPQADSogAY3oAFoABrsQkAD0AA0AA1BZAAagAagQYML3oAG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XUPTMmIc/s0m4twAYIwxxtj7d0DDe2zmm2fGZ1NW5q2K4amkDE0mpHdE1RaZl+aBOblkVN0za1XWMSvFbTNWpxvjkmeUXR8HGuyABqABaHh/QMNzxu//haxuCwNey+6VTXl9sim3T/YXR6wOlw5JXs2IVVHTmFS0TVg19sakfSBuZb72f2RqXsZivNEfY4wxxthPOqCBycx8SmKzquhkwmpg3LxpMW/VOjgnTf2zVlVdM1aVRudbp6WoWZXXEJecuphkG5lwATQADUAD0ODNhIXVR3rk5WOqjTl9sjW/32rnuUE5VDJklVUWlfy6UbsRCwKq2iel0si8FdAxOG3dDBidmrfiv/RjjDHGGPvZG9DAfqozXy4Sm01ajcWTMjSRSGciRld0zqo9MicN4Zl0lZ3TUt6hKmufloKmWLrcuik5Xu1kAgXQADQADW8HGlYf7ZG1J8PGYxeWDTl9suPsoJUJAEfKo5Jld6Z+TArsTAC42Dlp1RRW7w1g1js8k0YAM8YYY4wx9sEb0MDed5uaSaabmE5KZHzeatCoZ3hOOiKzvhr7ZqS2Z9pXeUdcilu9xSS/YUpy6yZ9ZdeatzbGVeVu+0rHgAagwUYGFxrWneqTjXn9xuNkl9sv289GZE/RkOz2dKRiWE5UjciJyhE5blfQMCaFTeNujeNS1TEltV2qGrs261/8Z3yZLwcwXwrgLZmy/8AwxhhjjDH2Dg9oYOwqbj6RksmZZLBp1dDEvAyMzaXr19Q5NCstAzNXVHVXXCo7YldUhVF5e0wKGidVDbom0p1ZoHyzem/j2k7rqtOX51TrL9fuTMO4lLROSknL5SvOqLY7Jg29cW31Rq0D09IzPCs9UW8z6fpGZ2U8ntA2N89JnjHGGGOMfRAn8v+kbzBftZKigAAAAABJRU5ErkJggg==",self.location).href,date:"",remarks:"<div>Exclusion</div><div>The following time,distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation</div>",editable:!1,advisory:void 0,excludedTableData:[],segDetail:[],goodDays:[],noGoodWxDay:"Not available due to no good weather days."}},computed:{computedAvgCf:function(){return function(t){var n,o;return(o=(n=this.reportData)==null?void 0:n.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,n){return n==="subtitle"?T(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):n==="table"?T(t).utc().format("MMMM-DD/HHmm[Z]"):T(t).utc().format("dddd, MMMM D, YYYY")}},computedLngLat(){return function(t,n){const o=this.getLonLat(te.LngLatHelper.lat2pretty(t)),c=this.getLonLat(te.LngLatHelper.lng2pretty(n));return`${o} ${c}`}},computedSeg(){return function(t){const n=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),o=this.computedTime(t.departure.utcTime,"subtitle"),c=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),l=this.computedTime(t.arrival.utcTime,"subtitle");return`${n} (${o}) to ${c} (${l})`}},computedTimeConclusion(){return function(t){let n=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return n==="No"?(o.conclusion="No Time Lost/Gained",o.className="",o.timeCon=""):n==="Lost"?(o.conclusion="Time Lost",o.className="error",o.timeCon=`${t.timeLost} hrs`):(o.conclusion="Time Gained",o.className="success",o.timeCon=`${t.timeGain} hrs`),o}},computedFuelConclusion(){return function(t,n){let o=t.conclusionStatus,c={conclusion:"",className:"",cons:""};return o==="No"?(n==="FO"?c.conclusion="No FO over/under consumption":c.conclusion="No DO/GO over/under consumption ",c.className="",c.cons=""):o==="Over"?(n==="FO"?c.conclusion="FO over consumption":c.conclusion="DO/GO over consumption",c.className="error",c.cons=`${t.overCons} mt`):(n==="FO"?c.conclusion="FO under consumption":c.conclusion="DO/GO under consumption",c.className="success",c.cons=`${t.saving} mt`),c}},computedUnit(){return function(t,n){return n?"%":t==="speed"?"kts":t==="cons"?"mt":""}},computedWeatherDef(){return function(t){let n="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let o=t==null?void 0:t.windScale,c="",l=0;return t!=null&&t.waveSwitch?(c+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,l++):t!=null&&t.swellSwitch?(c+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,l++):t!=null&&t.sigSwitch&&(c+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,l++),l>0&&(c+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),n=`Winds are BF/${o} or less${c}`,t!=null&&t.noAdverseCur&&(n+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(n+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(n="No specific thresholds for wind/wave/currents are defined in the Charter Party. Therefore the Good Weather Definition in this reports does not apply any thresholds."),n}},computedColor(){return function(t,n,o){let c="";if(t==="No")return c=o?"bg-color-normal":"color-normal",c;switch(n){case"time":t==="Lost"?c="color-fail":c="color-success";break;case"fuel":t==="Over"?c="color-fail":c="color-success";break;case"pfm":t==="Under"?c="color-fail":c="color-success";break}return o&&(c="bg-"+c),c}}},watch:{reportData:{handler(t,n){var o;t!=null&&t.id&&(this.$nextTick(()=>{this.checkData()}),this.advisory=(o=this.reportData)==null?void 0:o.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,2)}′${t.direction}`},handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editable=!this.editorDisabled},checkData(){var t,n;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],(n=(t=this.reportData)==null?void 0:t.segments)==null||n.forEach((o,c)=>{let l=o.excluded;l.sumDistance>0&&l.detail.forEach(p=>{let i={time:T(p.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+T(p.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:p.duration,distance:p.distance,fo:p.foCons,dgo:p.dgoCons};this.excludedTableData.push(i)});let a=[];o.extend.segTimes.forEach(p=>{a.push(this.computedSeg(p))}),this.segDetail.push(a),this.goodDays.push(o.inventory.sample.hours.filter(p=>p.type!=="A"&&p.goodWx))})}}},D=t=>(e.pushScopeId("data-v-6f2b44b1"),t=t(),e.popScopeId(),t),oE=["src"],lE={class:"voyage-main"},aE={class:"main",style:{"page-break-after":"always"}},nE={class:"main-title",style:{position:"relative !important"}},sE=["src"],iE={class:"main-title-content"},cE=D(()=>e.createElementVNode("div",{class:"title"},"Voyage Analysis Report",-1)),dE={class:"title-date"},rE={class:"main-subtitle"},mE={class:"white"},pE=D(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Prepared For",-1)),hE={class:"subtitle-main"},yE=D(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Vessel Name",-1)),EE={class:"subtitle-main"},_E={class:"main-box"},NE={class:"main-table"},VE=D(()=>e.createElementVNode("td",{style:{width:"35%"},class:"title"},"Ship Type",-1)),fE={class:"bold"},gE=D(()=>e.createElementVNode("td",{class:"title"},"Load Condition",-1)),DE={class:"bold"},xE=D(()=>e.createElementVNode("td",{class:"title"},"Reference Number",-1)),bE={class:"bold"},CE=D(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),SE={class:"bold"},kE={style:{display:"inline-block",width:"50%"}},AE=D(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),BE={class:"bold"},wE={style:{display:"inline-block",width:"50%"}},TE=D(()=>e.createElementVNode("div",{class:"subtitle",style:{color:"var(--main-color)"}},"Report Summary",-1)),OE={class:"tips",style:{display:"flex"}},FE={style:{color:"var(--table-note-color)"}},PE={class:"summary-table",style:{"margin-top":"5px"}},uE=D(()=>e.createElementVNode("td",{style:{"line-height":"30pt",width:"35%"}},"Total Voyage Time",-1)),LE={style:{width:"15%"}},WE={key:1},HE=D(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total FO Consumption",-1)),ME={key:1},GE=D(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total DO/GO Consumption",-1)),IE={key:1},RE=D(()=>e.createElementVNode("div",{style:{color:"var(--table-note-color-2)","font-size":"10.5pt",margin:"10px 0","text-align":"right"}}," *Please see voyage analysis pages for the details. ",-1)),zE=D(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Definition",-1)),UE={class:"weather-definition"},YE={key:0,class:e.normalizeClass("main-info main-box page-avoid main-txt}")},ZE=D(()=>e.createElementVNode("div",null,"Exclusion",-1)),$E=D(()=>e.createElementVNode("div",null,"The following time,distance and amount of consumed fuel have been excluded from the voyage analysis",-1)),QE={class:"remark-table"},JE=D(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td"),e.createElementVNode("td",{style:{width:"40%"}},"Date/Time"),e.createElementVNode("td",null,"Duration(hrs)"),e.createElementVNode("td",null,"Distance(nm)"),e.createElementVNode("td",null,"FO(mt)"),e.createElementVNode("td",null,"DO/GO(mt)")])],-1)),KE=["innerHTML"],qE={class:"analysis page-title"},XE={class:"analysis-title"},jE={class:"analysis-title-detail"},vE=D(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),e_={class:"page-avoid"},t_={class:"subtitle-table",cellspacing:"0",cellpadding:"0"},o_=D(()=>e.createElementVNode("td",{class:"daily title"},"CP Type",-1)),l_=D(()=>e.createElementVNode("td",{class:"title"},"Daily FO Consumption (mt)",-1)),a_=D(()=>e.createElementVNode("td",{class:"title"},"CP Speed (kts)",-1)),n_=D(()=>e.createElementVNode("td",{class:"daily title"},"Daily DO/GO Consumption (mt)",-1)),s_=D(()=>e.createElementVNode("tr",null,null,-1)),i_={class:"title"},c_={class:"title"},d_={class:"title"},r_={class:"title"},m_=D(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Analysis",-1)),p_={class:"page-avoid",style:{"margin-bottom":"15px"}},h_={class:"analysis-table",cellspacing:"0",cellpadding:"0"},y_=D(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"title",style:{width:"35%"}}),e.createElementVNode("td",{colspan:"2",class:"title"},"Good Weather"),e.createElementVNode("td",{colspan:"2",class:"title"},"All Weather")],-1)),E_=D(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"title"}),e.createElementVNode("td",{class:"title"},"out of ECA"),e.createElementVNode("td",{class:"title"},"in ECA"),e.createElementVNode("td",{class:"title"},"out of ECA"),e.createElementVNode("td",{class:"title"},"in ECA")],-1)),__=D(()=>e.createElementVNode("td",{class:"title"},"Total Distance (nm)",-1)),N_={class:"inGoodWx"},V_={class:"inGoodWx"},f_=D(()=>e.createElementVNode("td",{class:"title"},"Total Time (hrs)",-1)),g_={class:"inGoodWx"},D_={class:"inGoodWx"},x_=D(()=>e.createElementVNode("td",{class:"title"},"Average Speed (kts)",-1)),b_={class:"inGoodWx"},C_={class:"inGoodWx"},S_=D(()=>e.createElementVNode("td",{class:"title"},"FO Consumption (mt)",-1)),k_={class:"inGoodWx"},A_={class:"inGoodWx"},B_=D(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily FO Consumption (mt)",-1)),w_={class:"inGoodWx"},T_={class:"inGoodWx"},O_=D(()=>e.createElementVNode("td",{class:"title"},"DO/GO Consumption (mt)",-1)),F_={class:"inGoodWx"},P_={class:"inGoodWx"},u_=D(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily DO/GO Consumption (mt)",-1)),L_={class:"inGoodWx"},W_={class:"inGoodWx"},H_={key:0,class:"analysis-tips"},M_={key:1,class:"analysis-definition"},G_={key:2,class:"analysis-definition"},I_=D(()=>e.createElementVNode("br",null,null,-1)),R_={key:3,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},z_=D(()=>e.createElementVNode("span",null,"Good Weather Performance Speed",-1)),U_=D(()=>e.createElementVNode("span",null,"= ",-1)),Y_={key:0},Z_={key:1},$_={key:2},Q_={key:3},J_={key:4,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},K_=D(()=>e.createElementVNode("span",null," All Weather Performance Speed",-1)),q_=D(()=>e.createElementVNode("span",null,"=",-1)),X_={key:0},j_={key:1},v_=D(()=>e.createElementVNode("span",null,"-",-1)),eN=D(()=>e.createElementVNode("span",null,"=",-1)),tN={key:0},oN={key:1},lN={key:6,class:"tr-tips tips-color"},aN={class:"formula page-title"},nN={class:"page-avoid"},sN={class:"subtitle",style:{"margin-top":"0"}},iN={key:0},cN={class:"definition"},dN=D(()=>e.createElementVNode("br",null,null,-1)),rN=D(()=>e.createElementVNode("br",null,null,-1)),mN=D(()=>e.createElementVNode("br",null,null,-1)),pN={class:"equation"},hN=D(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),yN=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),EN={style:{width:"50%"},class:"fraction"},_N=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NN=D(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),VN=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),fN={class:"equation"},gN={style:{width:"35%"}},DN=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),xN={style:{width:"50%"},class:"fraction"},bN=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),CN=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),SN={class:"equation"},kN={style:{width:"35%"}},AN=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),BN={style:{width:"50%"},class:"fraction"},wN=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),TN=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),ON=D(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),FN={class:"page-avoid"},PN={key:0,class:"definition",style:{margin:"15px 0"}},uN={class:"equation"},LN=D(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),WN=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),HN={style:{width:"35%"},class:"fraction"},MN=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),GN=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),IN={style:{width:"10%","text-align":"center"}},RN=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a')",-1)),zN={class:"equation"},UN={style:{width:"35%"}},YN=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),ZN={style:{width:"35%"},class:"fraction"},$N=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),QN=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),JN={style:{width:"10%","text-align":"center"}},KN=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b')",-1)),qN={class:"equation"},XN={style:{width:"35%"}},jN=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),vN={style:{width:"35%"},class:"fraction"},eV=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tV=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),oV={style:{width:"10%","text-align":"center"}},lV=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c')",-1)),aV=D(()=>e.createElementVNode("span",null,"=",-1)),nV=D(()=>e.createElementVNode("span",null,"=",-1)),sV=D(()=>e.createElementVNode("span",null,"=",-1)),iV=["innerHTML"],cV={class:"page-avoid"},dV={class:"subtitle page-title"},rV={key:0},mV={class:"definition",style:{"margin-bottom":"15px"}},pV=D(()=>e.createElementVNode("br",null,null,-1)),hV=D(()=>e.createElementVNode("br",null,null,-1)),yV=D(()=>e.createElementVNode("br",null,null,-1)),EV={class:"equation"},_V=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),NV=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),VV={style:{width:"25%"},class:"fraction"},fV=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),gV=D(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),DV=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),xV=D(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Good Weather Consumption*"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),bV=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d)",-1)),CV={style:{display:"flex","flex-direction":"column","align-content":"flex-end",width:"100%","flex-wrap":"wrap",transform:"scale(0.9)"}},SV=D(()=>e.createElementVNode("div",null,"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),kV={key:0},AV={class:"equation"},BV=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),wV=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),TV={style:{width:"25%"},class:"fraction"},OV=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),FV=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),PV=D(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Daily CP Consumption + Consumer Over"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),uV=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e)",-1)),LV={class:"equation"},WV=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),HV=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),MV={style:{width:"25%"},class:"fraction"},GV=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),IV=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),RV=D(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Daily CP Consumption - Consumer Under"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),zV=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f)",-1)),UV=D(()=>e.createElementVNode("div",{style:{"font-weight":"600"}},[e.createElementVNode("span",null,"Fuel Over-consumption = (d) - (e) "),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Fuel Saving = (f) - (d)")],-1)),YV={key:0,class:"equation"},ZV=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Over-consumption in ECA",-1)),$V=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),QV={style:{width:"45%"},class:"fraction"},JV=D(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),KV=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),qV={key:1,class:"equation"},XV=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Saving in ECA",-1)),jV=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),vV={style:{width:"45%"},class:"fraction"},ef=D(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),tf=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),of={class:"page-avoid"},lf=D(()=>e.createElementVNode("div",{class:"page-title"},"Fuel Oil Calculation",-1)),af={key:0,class:"definition",style:{margin:"15px 0"}},nf={class:"equation"},sf=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),cf=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),df={style:{width:"20%"},class:"fraction"},rf=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),mf=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),pf={style:{width:"20%"},class:"fraction"},hf=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),yf=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Ef={style:{width:"10%","text-align":"center"}},_f=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d')",-1)),Nf={class:"equation"},Vf=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),ff=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),gf={style:{width:"20%"},class:"fraction"},Df=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),xf=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),bf={style:{width:"20%"},class:"fraction"},Cf=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Sf=D(()=>e.createElementVNode("div",null,"24",-1)),kf=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Af={style:{width:"10%","text-align":"center"}},Bf=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e')",-1)),wf={class:"equation"},Tf=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),Of=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Ff={style:{width:"20%"},class:"fraction"},Pf=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),uf=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Lf={style:{width:"20%"},class:"fraction"},Wf=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Hf=D(()=>e.createElementVNode("div",null,"24",-1)),Mf=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Gf={style:{width:"10%","text-align":"center"}},If=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f')",-1)),Rf=D(()=>e.createElementVNode("span",null,"=",-1)),zf=D(()=>e.createElementVNode("span",null,"=",-1)),Uf=D(()=>e.createElementVNode("span",null,"=",-1)),Yf={key:0},Zf={key:0,class:"equation"},$f=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Over-consumption in ECA",-1)),Qf=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Jf={style:{width:"45%"},class:"fraction"},Kf=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),qf=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Xf={style:{width:"10%","text-align":"center"}},jf={key:1,class:"equation"},vf=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Saving in ECA",-1)),eg=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),tg={style:{width:"45%"},class:"fraction"},og=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lg=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),ag={style:{width:"10%","text-align":"center"}},ng=["innerHTML"],sg={class:"page-avoid"},ig={key:0},cg=D(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Calculation",-1)),dg={key:0,class:"definition",style:{margin:"15px 0"}},rg={class:"equation"},mg=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),pg=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),hg={style:{width:"20%"},class:"fraction"},yg=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Eg=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),_g={style:{width:"20%"},class:"fraction"},Ng=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Vg=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),fg={style:{width:"10%","text-align":"center"}},gg=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d'')",-1)),Dg={class:"equation"},xg=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),bg=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Cg={style:{width:"20%"},class:"fraction"},Sg=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),kg=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Ag={style:{width:"20%"},class:"fraction"},Bg=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),wg=D(()=>e.createElementVNode("div",null,"24",-1)),Tg=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Og={style:{width:"10%","text-align":"center"}},Fg=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e'')",-1)),Pg={class:"equation"},ug=D(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),Lg=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Wg={style:{width:"20%"},class:"fraction"},Hg=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Mg=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Gg={style:{width:"20%"},class:"fraction"},Ig=D(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Rg=D(()=>e.createElementVNode("div",null,"24",-1)),zg=D(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Ug={style:{width:"10%","text-align":"center"}},Yg=D(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f'')",-1)),Zg=D(()=>e.createElementVNode("span",null,"=",-1)),$g=D(()=>e.createElementVNode("span",null,"=",-1)),Qg=D(()=>e.createElementVNode("span",null,"=",-1)),Jg=["innerHTML"];function Kg(t,n,o,c,l,a){var _,g,S,h,N,x,r,C,k,F,L,w,O,b,u,I,Z,R,W,f,U,G,H,Q,J,X,q,V,M,$,s,j;const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((g=(_=o.reportData)==null?void 0:_.weather)!=null&&g.referenceOnly||(h=(S=o.reportData)==null?void 0:S.weather)!=null&&h.overallAsGoodWx?"watermark":"")},[e.createVNode(p,{name:"Voyage Analysis Report"}),e.createElementVNode("img",{src:l.bgSrc,class:"bgImg",alt:""},null,8,oE),e.createElementVNode("div",lE,[e.createElementVNode("div",aE,[e.createElementVNode("div",nE,[e.createElementVNode("img",{src:l.logSrc2,style:{width:"120px",position:"absolute","margin-top":"30px"},alt:""},null,8,sE),e.createElementVNode("div",iE,[cE,e.createElementVNode("div",dE,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",rE,[e.createElementVNode("table",mE,[e.createElementVNode("tr",null,[pE,e.createElementVNode("td",hE," "+e.toDisplayString((N=o.reportData)==null?void 0:N.preparedFor),1)]),e.createElementVNode("tr",null,[yE,e.createElementVNode("td",EE," "+e.toDisplayString((r=(x=o.reportData)==null?void 0:x.vessel)==null?void 0:r.name),1)])])]),e.createElementVNode("div",_E,[e.createElementVNode("table",NE,[e.createElementVNode("tr",null,[VE,e.createElementVNode("td",fE,e.toDisplayString((k=(C=o.reportData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("tr",null,[gE,e.createElementVNode("td",DE,e.toDisplayString((L=(F=o.reportData)==null?void 0:F.voyage)==null?void 0:L.loadCondition),1)]),e.createElementVNode("tr",null,[xE,e.createElementVNode("td",bE,e.toDisplayString((O=(w=o.reportData)==null?void 0:w.voyage)==null?void 0:O.number),1)]),e.createElementVNode("tr",null,[CE,e.createElementVNode("td",SE,[e.createElementVNode("span",kE,e.toDisplayString(((u=(b=o.reportData)==null?void 0:b.departure)==null?void 0:u.portName)||a.computedLngLat((Z=(I=o.reportData)==null?void 0:I.departure)==null?void 0:Z.lat,(W=(R=o.reportData)==null?void 0:R.departure)==null?void 0:W.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((U=(f=o.reportData)==null?void 0:f.departure)==null?void 0:U.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[AE,e.createElementVNode("td",BE,[e.createElementVNode("span",wE,e.toDisplayString(((H=(G=o.reportData)==null?void 0:G.arrival)==null?void 0:H.portName)||a.computedLngLat((J=(Q=o.reportData)==null?void 0:Q.arrival)==null?void 0:J.lat,(q=(X=o.reportData)==null?void 0:X.arrival)==null?void 0:q.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((M=(V=o.reportData)==null?void 0:V.arrival)==null?void 0:M.utcTime,"table")),1)])])])]),TE,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(($=o.reportData)==null?void 0:$.segments,(d,v)=>(e.openBlock(),e.createElementBlock("div",{key:"summary"+v},[e.createElementVNode("div",OE,[e.createElementVNode("div",FE,"Seg."+e.toDisplayString(v+1)+" ",1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(oe,ee)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ee,class:"tips-seg"},e.toDisplayString(oe),1))),128))])]),e.createElementVNode("table",PE,[e.createElementVNode("tr",null,[uE,e.createElementVNode("td",LE,e.toDisplayString(d.allWx.time)+" hrs",1),d.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedTimeConclusion(d.timeConclusion).className)},e.toDisplayString(a.computedTimeConclusion(d.timeConclusion).conclusion),3)):(e.openBlock(),e.createElementBlock("td",WE,e.toDisplayString(l.noGoodWxDay),1)),d.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,style:{width:"15%"},class:e.normalizeClass(a.computedTimeConclusion(d.timeConclusion).className)},e.toDisplayString(a.computedTimeConclusion(d.timeConclusion).timeCon),3)):e.createCommentVNode("",!0)]),e.createElementVNode("tr",null,[HE,e.createElementVNode("td",null,e.toDisplayString(d.allWx.sumFoCons)+" mt",1),d.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedFuelConclusion(d.fuelConclusion.fo,"FO").className)},e.toDisplayString(a.computedFuelConclusion(d.fuelConclusion.fo,"FO").conclusion),3)):(e.openBlock(),e.createElementBlock("td",ME,e.toDisplayString(l.noGoodWxDay),1)),d.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computedFuelConclusion(d.fuelConclusion.fo,"FO").className)},e.toDisplayString(a.computedFuelConclusion(d.fuelConclusion.fo,"FO").cons),3)):e.createCommentVNode("",!0)]),e.createElementVNode("tr",null,[GE,e.createElementVNode("td",null,e.toDisplayString(d.allWx.sumDgoCons)+" mt",1),d.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedFuelConclusion(d.fuelConclusion.dgo,"DGO").className)},e.toDisplayString(a.computedFuelConclusion(d.fuelConclusion.dgo,"DGO").conclusion),3)):(e.openBlock(),e.createElementBlock("td",IE,e.toDisplayString(l.noGoodWxDay),1)),d.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computedFuelConclusion(d.fuelConclusion.dgo,"DGO").className)},e.toDisplayString(a.computedFuelConclusion(d.fuelConclusion.dgo,"DGO").cons),3)):e.createCommentVNode("",!0)])]),RE]))),128)),zE,e.createElementVNode("div",UE,[e.createElementVNode("div",null,e.toDisplayString(a.computedWeatherDef((s=o.reportData)==null?void 0:s.weather)),1)]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"||l.excludedTableData.length?"":"print-hidden"}`)},"Remarks",2),l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",YE,[ZE,e.createElementVNode("div",null,[$E,e.createElementVNode("table",QE,[JE,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(d,v)=>(e.openBlock(),e.createElementBlock("tr",{key:v},[e.createElementVNode("td",null,e.toDisplayString(v+1),1),e.createElementVNode("td",null,e.toDisplayString(d.time),1),e.createElementVNode("td",null,e.toDisplayString(d.duration),1),e.createElementVNode("td",null,e.toDisplayString(d.distance),1),e.createElementVNode("td",null,e.toDisplayString(d.fo),1),e.createElementVNode("td",null,e.toDisplayString(d.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(`main-info main-box page-avoid ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[0]||(n[0]=d=>l.advisory=d),height:"320px",onBlur:n[1]||(n[1]=d=>a.handleCommit(d))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",style:{"min-height":"50px"},onDblclick:n[2]||(n[2]=(...d)=>a.decideDisable&&a.decideDisable(...d)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,KE))],2)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((j=o.reportData)==null?void 0:j.segments,(d,v)=>{var oe,ee,ie,ce,de,re,_e,ae,he,Ne,Ve,fe,ge,De,xe,be,Ce,Se,Oe,Fe,ye,P,me,Pe,ue,Le,ke,We,Ue,Ye,z,we,Me,Ze,$e,Qe,Je,Ke,E,K,Te,He,Ge,pe,qe,je,ve,ot,lt,at,nt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ot;return e.openBlock(),e.createElementBlock("div",{key:"seg"+v,class:"page-title"},[e.createElementVNode("div",qE,[e.createElementVNode("div",XE,"Voyage Analysis - Seg. "+e.toDisplayString(v+1),1),e.createElementVNode("div",jE,[e.createElementVNode("div",null,e.toDisplayString((ee=(oe=o.reportData)==null?void 0:oe.vessel)==null?void 0:ee.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(Ht,po)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+po,class:"tips-seg"},e.toDisplayString(Ht),1))),128))]),vE,e.createElementVNode("div",e_,[e.createElementVNode("table",t_,[e.createElementVNode("tr",null,[o_,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.type),1),l_,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.fo),1)]),e.createElementVNode("tr",null,[a_,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.speed),1),n_,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.dgo),1)]),s_,e.createElementVNode("tr",null,[e.createElementVNode("td",i_,"Speed Over ("+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.timeConclusion.spdOfOver),1),e.createElementVNode("td",c_,"Consumer Over ("+e.toDisplayString(a.computedUnit("cons",d.fuelConclusion.consPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.fuelConclusion.consOfOver),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",d_,"Speed Under ("+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.timeConclusion.spdOfUnder),1),e.createElementVNode("td",r_,"Consumer Under ("+e.toDisplayString(a.computedUnit("cons",d.fuelConclusion.consPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.fuelConclusion.consOfUnder),1)])])]),m_,e.createElementVNode("div",p_,[e.createElementVNode("table",h_,[y_,E_,e.createElementVNode("tr",null,[__,e.createElementVNode("td",N_,e.toDisplayString(d.goodWx.outEca.distance),1),e.createElementVNode("td",V_,e.toDisplayString(d.goodWx.inEca.distance),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.distance),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.distance),1)]),e.createElementVNode("tr",null,[f_,e.createElementVNode("td",g_,e.toDisplayString(d.goodWx.outEca.time),1),e.createElementVNode("td",D_,e.toDisplayString(d.goodWx.inEca.time),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.time),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.time),1)]),e.createElementVNode("tr",null,[x_,e.createElementVNode("td",b_,e.toDisplayString(d.goodWx.outEca.avgSpd||"--"),1),e.createElementVNode("td",C_,e.toDisplayString(d.goodWx.inEca.avgSpd||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.avgSpd||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.avgSpd||"--"),1)]),e.createElementVNode("tr",null,[S_,e.createElementVNode("td",k_,e.toDisplayString(d.goodWx.outEca.sumFoCons||"--"),1),e.createElementVNode("td",A_,e.toDisplayString(d.goodWx.inEca.sumFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.sumFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.sumFoCons||"--"),1)]),e.createElementVNode("tr",null,[B_,e.createElementVNode("td",w_,e.toDisplayString(d.goodWx.outEca.avgFoCons||"--"),1),e.createElementVNode("td",T_,e.toDisplayString(d.goodWx.inEca.avgFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.avgFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.avgFoCons||"--"),1)]),e.createElementVNode("tr",null,[O_,e.createElementVNode("td",F_,e.toDisplayString(d.goodWx.outEca.sumDgoCons||"--"),1),e.createElementVNode("td",P_,e.toDisplayString(d.goodWx.inEca.sumDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.sumDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.sumDgoCons||"--"),1)]),e.createElementVNode("tr",null,[u_,e.createElementVNode("td",L_,e.toDisplayString(d.goodWx.outEca.avgDgoCons||"--"),1),e.createElementVNode("td",W_,e.toDisplayString(d.goodWx.inEca.avgDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.avgDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.avgDgoCons||"--"),1)])])]),l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",H_," The exclusion time, distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation. ")):e.createCommentVNode("",!0),d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",M_," Good Weather Performance Speed = Good Weather Average Speed "+e.toDisplayString((ce=(ie=o.reportData)==null?void 0:ie.weather)!=null&&ce.favorableCur&&d.goodWx.avgCf>0?"":"- Good Weather Current Factor"),1)):(e.openBlock(),e.createElementBlock("div",G_,[e.createTextVNode(" No Charter Party defined good weather was found. "),I_,e.createTextVNode(" All Weather Performance Speed = Average Speed "+e.toDisplayString((re=(de=o.reportData)==null?void 0:de.weather)!=null&&re.favorableCur&&d.allWx.avgCf>0?"":"- Current Factor")+" - Weather Factor ",1)])),d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",R_,[z_,U_,(ae=(_e=o.reportData)==null?void 0:_e.weather)!=null&&ae.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",Y_,e.toDisplayString(d.goodWx.avgSpd),1)),(Ne=(he=o.reportData)==null?void 0:he.weather)!=null&&Ne.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",Z_,"-")),(fe=(Ve=o.reportData)==null?void 0:Ve.weather)!=null&&fe.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",$_,e.toDisplayString(`${a.computedPositive(d.goodWx.avgCf)}`),1)),(De=(ge=o.reportData)==null?void 0:ge.weather)!=null&&De.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",Q_,"=")),e.createElementVNode("span",null,e.toDisplayString(d.goodWx.pfmSpd)+" (kts)",1)])):(e.openBlock(),e.createElementBlock("div",J_,[K_,q_,e.createElementVNode("span",null,e.toDisplayString(d.allWx.avgSpd),1),(be=(xe=o.reportData)==null?void 0:xe.weather)!=null&&be.favorableCur&&d.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",X_,"-")),(Se=(Ce=o.reportData)==null?void 0:Ce.weather)!=null&&Se.favorableCur&&d.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",j_,e.toDisplayString(`${a.computedPositive(d.allWx.avgCf)}`),1)),v_,e.createElementVNode("span",null,e.toDisplayString(`${a.computedPositive(d.allWx.avgWf)}`),1),eN,e.createElementVNode("span",null,e.toDisplayString(d.allWx.pfmSpd)+" (kts)",1)])),d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:5,class:e.normalizeClass(`tr-tips ${a.computedColor(d.goodWx.pfmStatus,"pfm",!1)}`)},[e.createTextVNode(" Good Weather Performance Speed: "+e.toDisplayString(d.goodWx.pfmSpd)+" (kts) ",1),d.goodWx.pfmStatus==="Under"?(e.openBlock(),e.createElementBlock("span",tN,"(Under-performance)")):e.createCommentVNode("",!0),d.goodWx.pfmStatus==="Over"?(e.openBlock(),e.createElementBlock("span",oN,"(Over-performance)")):e.createCommentVNode("",!0)],2)):(e.openBlock(),e.createElementBlock("div",lN,e.toDisplayString(l.noGoodWxDay),1))]),e.createElementVNode("div",aN,[e.createElementVNode("div",nN,[e.createElementVNode("div",sN,[e.createTextVNode(" Time Analysis "),(Fe=(Oe=o.reportData)==null?void 0:Oe.weather)!=null&&Fe.noExtrapolation?(e.openBlock(),e.createElementBlock("span",iN,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",cN,[e.createTextVNode(" Time Lost: Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),dN,e.createTextVNode(" Time Gained: Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),rN,e.createTextVNode(" No Time Lost and Gained: Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),mN,e.createElementVNode("div",pN,[hN,yN,e.createElementVNode("div",EN,[e.createElementVNode("div",null,e.toDisplayString((P=(ye=o.reportData)==null?void 0:ye.weather)!=null&&P.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),_N,NN]),VN]),e.createElementVNode("div",fN,[e.createElementVNode("div",gN," Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),DN,e.createElementVNode("div",xN,[e.createElementVNode("div",null,e.toDisplayString((Pe=(me=o.reportData)==null?void 0:me.weather)!=null&&Pe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),bN,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" kts",1)]),CN]),e.createElementVNode("div",SN,[e.createElementVNode("div",kN," Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),AN,e.createElementVNode("div",BN,[e.createElementVNode("div",null,e.toDisplayString((Le=(ue=o.reportData)==null?void 0:ue.weather)!=null&&Le.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),wN,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" kts",1)]),TN]),ON])]),e.createElementVNode("div",FN,[d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",PN,[e.createElementVNode("div",uN,[LN,WN,e.createElementVNode("div",HN,[e.createElementVNode("div",null,e.toDisplayString((We=(ke=o.reportData)==null?void 0:ke.weather)!=null&&We.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),MN,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),GN,e.createElementVNode("div",IN,e.toDisplayString(d.timeConclusion.timeAtPfmSpd)+" (hrs)",1),RN]),e.createElementVNode("div",zN,[e.createElementVNode("div",UN," Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),YN,e.createElementVNode("div",ZN,[e.createElementVNode("div",null,e.toDisplayString((Ye=(Ue=o.reportData)==null?void 0:Ue.weather)!=null&&Ye.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),$N,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),QN,e.createElementVNode("div",JN,e.toDisplayString(d.timeConclusion.timeAtMinusAbtSpd)+" (hrs)",1),KN]),e.createElementVNode("div",qN,[e.createElementVNode("div",XN," Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),jN,e.createElementVNode("div",vN,[e.createElementVNode("div",null,e.toDisplayString((we=(z=o.reportData)==null?void 0:z.weather)!=null&&we.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),eV,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.plusAbtSpd),1)]),tV,e.createElementVNode("div",oV,e.toDisplayString(d.timeConclusion.timeAtPlusAbtSpd)+" (hrs)",1),lV]),e.createElementVNode("div",null,[d.timeConclusion.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(d.timeConclusion.conclusionStatus,"time",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?"Time Lost":"Time Gained"),1),aV,e.createElementVNode("span",null,e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?"(a') - (b')":"(c') - (a')"),1),nV,e.createElementVNode("span",null,e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?d.timeConclusion.timeAtPfmSpd:d.timeConclusion.timeAtPlusAbtSpd)+" - "+e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?d.timeConclusion.timeAtMinusAbtSpd:d.timeConclusion.timeAtPfmSpd),1),sV,e.createElementVNode("span",null,e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?d.timeConclusion.timeLost:d.timeConclusion.timeGain)+" (hrs)",1)],2)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(d.timeConclusion.conclusionStatus,"time",!1)} `)}," Conclusion : "+e.toDisplayString(((Me=d.timeConclusion)==null?void 0:Me.conclusion)||""),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips tips-color",style:{margin:"15px 0"},innerHTML:l.noGoodWxDay},null,8,iV))]),e.createElementVNode("div",cV,[e.createElementVNode("div",dV,[e.createTextVNode(" Consumption Analysis "),($e=(Ze=o.reportData)==null?void 0:Ze.weather)!=null&&$e.noExtrapolation?(e.openBlock(),e.createElementBlock("span",rV,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[e.createElementVNode("div",mV,[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),pV,e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),hV,e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),yV,e.createElementVNode("div",EV,[_V,NV,e.createElementVNode("div",VV,[e.createElementVNode("div",null,e.toDisplayString((Je=(Qe=o.reportData)==null?void 0:Qe.weather)!=null&&Je.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),fV,gV]),DV,xV,bV]),e.createElementVNode("div",CV,[SV,((E=(Ke=d.extend)==null?void 0:Ke.cp)==null?void 0:E.dgo)>0?(e.openBlock(),e.createElementBlock("div",kV,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",AV,[BV,wV,e.createElementVNode("div",TV,[e.createElementVNode("div",null,e.toDisplayString((Te=(K=o.reportData)==null?void 0:K.weather)!=null&&Te.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),OV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage)),1)]),FV,PV,uV]),e.createElementVNode("div",LV,[WV,HV,e.createElementVNode("div",MV,[e.createElementVNode("div",null,e.toDisplayString((Ge=(He=o.reportData)==null?void 0:He.weather)!=null&&Ge.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),GV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage)),1)]),IV,RV,zV]),UV,((qe=(pe=d.extend)==null?void 0:pe.cp)==null?void 0:qe.dgo)>0?(e.openBlock(),e.createElementBlock("div",YV,[ZV,$V,e.createElementVNode("div",QV,[JV,KV,e.createElementVNode("div",null,e.toDisplayString((ve=(je=o.reportData)==null?void 0:je.weather)!=null&&ve.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0),((lt=(ot=d.extend)==null?void 0:ot.cp)==null?void 0:lt.dgo)>0?(e.openBlock(),e.createElementBlock("div",qV,[XV,jV,e.createElementVNode("div",vV,[ef,tf,e.createElementVNode("div",null,e.toDisplayString((nt=(at=o.reportData)==null?void 0:at.weather)!=null&&nt.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",of,[lf,d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",af,[e.createElementVNode("div",nf,[sf,cf,e.createElementVNode("div",df,[e.createElementVNode("div",null,e.toDisplayString((ht=(pt=o.reportData)==null?void 0:pt.weather)!=null&&ht.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),rf,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),mf,e.createElementVNode("div",pf,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.sumFoCons)+" "+e.toDisplayString(d.allWx.inEca.distance>0?` + ${d.fuelConclusion.fo.dgoAsFoCons}`:""),1),hf,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.time),1)]),yf,e.createElementVNode("div",Ef,e.toDisplayString(d.fuelConclusion.fo.entireCons)+" (mt)",1),_f]),e.createElementVNode("div",Nf,[Vf,ff,e.createElementVNode("div",gf,[e.createElementVNode("div",null,e.toDisplayString((Et=(yt=o.reportData)==null?void 0:yt.weather)!=null&&Et.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),Df,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),xf,e.createElementVNode("div",bf,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.fo.overTolerance),1),Cf,Sf]),kf,e.createElementVNode("div",Af,e.toDisplayString(d.fuelConclusion.fo.maxCons)+" (mt)",1),Bf]),e.createElementVNode("div",wf,[Tf,Of,e.createElementVNode("div",Ff,[e.createElementVNode("div",null,e.toDisplayString((Nt=(_t=o.reportData)==null?void 0:_t.weather)!=null&&Nt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),Pf,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),uf,e.createElementVNode("div",Lf,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.fo.underTolerance),1),Wf,Hf]),Mf,e.createElementVNode("div",Gf,e.toDisplayString(d.fuelConclusion.fo.minCons)+" (mt)",1),If]),e.createElementVNode("div",null,[d.fuelConclusion.fo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(d.fuelConclusion.fo.conclusionStatus,"fuel",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?"Fuel Oil Over-consumption":"Fuel Oil Under-consumption"),1),Rf,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?"(d') - (e')":"(f') - (d')"),1),zf,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?d.fuelConclusion.fo.entireCons:d.fuelConclusion.fo.minCons)+" - "+e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?d.fuelConclusion.fo.maxCons:d.fuelConclusion.fo.entireCons),1),Uf,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?d.fuelConclusion.fo.overCons:d.fuelConclusion.fo.saving)+" (mt)",1)],2)):e.createCommentVNode("",!0)]),d.allWx.inEca.distance&&d.fuelConclusion.fo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("div",Yf,[d.fuelConclusion.fo.conclusionStatus==="Over"?(e.openBlock(),e.createElementBlock("div",Zf,[$f,Qf,e.createElementVNode("div",Jf,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.inEca.distance)+" × "+e.toDisplayString(d.fuelConclusion.fo.overCons),1),Kf,e.createElementVNode("div",null,e.toDisplayString((ft=(Vt=o.reportData)==null?void 0:Vt.weather)!=null&&ft.noExtrapolation?d.goodWx.distance:d.allWx.distance),1)]),qf,e.createElementVNode("div",Xf,e.toDisplayString(d.fuelConclusion.fo.foOverConsInEca)+" (mt)",1)])):(e.openBlock(),e.createElementBlock("div",jf,[vf,eg,e.createElementVNode("div",tg,[e.createElementVNode("div",null,e.toDisplayString((Dt=(gt=o.reportData)==null?void 0:gt.weather)!=null&&Dt.noExtrapolation?d.goodWx.inEca.distance:d.allWx.inEca.distance)+" × "+e.toDisplayString(d.fuelConclusion.fo.saving),1),og,e.createElementVNode("div",null,e.toDisplayString((bt=(xt=o.reportData)==null?void 0:xt.weather)!=null&&bt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1)]),lg,e.createElementVNode("div",ag,e.toDisplayString(d.fuelConclusion.fo.foSavingInEca)+" (mt)",1)]))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(d.fuelConclusion.fo.conclusionStatus,"fuel",!1)} `)}," Conclusion: "+e.toDisplayString(d.fuelConclusion.fo.conclusion),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips tips-color",innerHTML:l.noGoodWxDay},null,8,ng))]),e.createElementVNode("div",sg,[((St=(Ct=d.extend)==null?void 0:Ct.cp)==null?void 0:St.dgo)>0?(e.openBlock(),e.createElementBlock("div",ig,[cg,d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",dg,[e.createElementVNode("div",rg,[mg,pg,e.createElementVNode("div",hg,[e.createElementVNode("div",null,e.toDisplayString((At=(kt=o.reportData)==null?void 0:kt.weather)!=null&&At.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),yg,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),Eg,e.createElementVNode("div",_g,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.sumDgoCons)+" "+e.toDisplayString(d.allWx.inEca.distance>0?` - ${d.fuelConclusion.fo.dgoAsFoCons}`:""),1),Ng,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.time),1)]),Vg,e.createElementVNode("div",fg,e.toDisplayString(d.fuelConclusion.dgo.entireCons)+" (mt)",1),gg]),e.createElementVNode("div",Dg,[xg,bg,e.createElementVNode("div",Cg,[e.createElementVNode("div",null,e.toDisplayString((wt=(Bt=o.reportData)==null?void 0:Bt.weather)!=null&&wt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),Sg,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),kg,e.createElementVNode("div",Ag,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.dgo.overTolerance),1),Bg,wg]),Tg,e.createElementVNode("div",Og,e.toDisplayString(d.fuelConclusion.dgo.maxCons)+" (mt)",1),Fg]),e.createElementVNode("div",Pg,[ug,Lg,e.createElementVNode("div",Wg,[e.createElementVNode("div",null,e.toDisplayString((Ot=(Tt=o.reportData)==null?void 0:Tt.weather)!=null&&Ot.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),Hg,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),Mg,e.createElementVNode("div",Gg,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.dgo.underTolerance),1),Ig,Rg]),zg,e.createElementVNode("div",Ug,e.toDisplayString(d.fuelConclusion.dgo.minCons)+" (mt)",1),Yg]),e.createElementVNode("div",null,[d.fuelConclusion.dgo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(d.fuelConclusion.dgo.conclusionStatus,"fuel",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?"Diesel/Gas Oil Over-consumption":"Diesel/Gas Oil Under-consumption"),1),Zg,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?"(d'') - (e'')":"(f'') - (d'')"),1),$g,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?d.fuelConclusion.dgo.entireCons:d.fuelConclusion.dgo.minCons)+" - "+e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?d.fuelConclusion.dgo.maxCons:d.fuelConclusion.dgo.entireCons),1),Qg,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?d.fuelConclusion.dgo.overCons:d.fuelConclusion.dgo.saving)+" (mt)",1)],2)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(d.fuelConclusion.dgo.conclusionStatus,"fuel",!1)}`)}," Conclusion: "+e.toDisplayString(d.fuelConclusion.dgo.conclusion),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips color-normal",innerHTML:l.noGoodWxDay},null,8,Jg))])):e.createCommentVNode("",!0)])])])}),128))])],2)}const qg=Ee(tE,[["render",Kg],["__scopeId","data-v-6f2b44b1"]]),noe="",Xg={props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,summaryTable:[],typeList:[]}},computed:{computeRoundPrecision(){return function(t,n=2){return t==="--"?"--":te.roundPrecision(t,n)}},computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),this.showWave||(t=t-1),this.showSwell||(t=t-2),this.showSig||(t=t-1),t},computedClass(){return function(t,n,o){let c="";return n&&(c=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),t.goodWx===!0&&!o&&(c=c+" good-weather"),t.excluded===!0&&!o&&(c=c+" excluded"),c}},computedPort(){return function(t){return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&t.noon.port)}},computedTime(){return function(t,n){return n==="subtitle"?T(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n==="table"?T(t).utc().format("MMMM-DD/HHmm[Z]"):T(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var o,c,l,a,p,i,_,g,S,h,N,x;this.showCF=((c=(o=this.reportData)==null?void 0:o.weather)==null?void 0:c.showCF)??!1,this.showAisDistance=((a=(l=this.reportData)==null?void 0:l.weather)==null?void 0:a.showAisDistance)??!0,this.showSig=((i=(p=this.reportData)==null?void 0:p.weather)==null?void 0:i.showSig)??!0,this.showSwell=((g=(_=this.reportData)==null?void 0:_.weather)==null?void 0:g.showSwell)??!0,this.showWave=((h=(S=this.reportData)==null?void 0:S.weather)==null?void 0:h.showWave)??!0;let t=[];(x=(N=this.reportData)==null?void 0:N.segments)==null||x.forEach(r=>{let C=r.extend.cp;r.inventory.sample.hours.forEach(k=>{let F=JSON.parse(JSON.stringify(k));F.cp=C,t.push(F)})}),t.sort(function(r,C){let k=r.date,F=C.date;return k-F});let n="";t.forEach(r=>{r.seg!==n&&(r.isFirstSeg=!0,n=r.seg);let C=r.type.charAt(0);r.abbreviation=C,C==="M"?C="*":C==="A"&&(C=""),r.dateTime=C+" "+T(r.utc).utc().format("MM/DD HHmm[Z]"),r.lngPretty=this.getLonLat(te.LngLatHelper.lng2pretty(r.lng)),r.latPretty=this.getLonLat(te.LngLatHelper.lat2pretty(r.lat))}),this.summaryTable=t}}},Ae=t=>(e.pushScopeId("data-v-9fe5beca"),t=t(),e.popScopeId(),t),jg={class:"table",id:"second-table"},vg=Ae(()=>e.createElementVNode("div",{class:"table-title"},"Speed and Consumption with Weather Analysis",-1)),e0={class:"subtitle"},t0={class:"introduce"},o0={class:"introduce-ship"},l0={style:{"margin-bottom":"15px"}},a0=Ae(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg."),e.createElementVNode("th",{rowspan:"2"},"Periods"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode(" Distance "),e.createElementVNode("br"),e.createTextVNode(" (nm) ")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode(" Time "),e.createElementVNode("br"),e.createTextVNode(" (hrs) ")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Average Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),n0={rowspan:"4"},s0=Ae(()=>e.createElementVNode("td",null,"Entire Period",-1)),i0=Ae(()=>e.createElementVNode("td",null,"Good weather period",-1)),c0=Ae(()=>e.createElementVNode("td",null,"Adverse weather period",-1)),d0=Ae(()=>e.createElementVNode("td",null,"Excluded period",-1)),r0=e.createStaticVNode('<div class="table-legend" data-v-9fe5beca><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-9fe5beca></div><div style="transform:scale(0.85);" data-v-9fe5beca>Charter Party defined Good Weather Days</div><div style="background-color:var(--table-bg-color);" class="legend" data-v-9fe5beca></div><div style="transform:scale(0.85);" data-v-9fe5beca>Charter Party defined Adverse Weather Days</div><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-9fe5beca></div><div style="transform:scale(0.85);" data-v-9fe5beca>Excluded periods from analysis</div><div style="transform:scale(0.85);" data-v-9fe5beca>B : BOSP report N : NOON report E : EOSP report * : Ship reported position</div></div>',1),m0={class:"summary-table"},p0=Ae(()=>e.createElementVNode("th",{rowspan:"3"},"Seg",-1)),h0=Ae(()=>e.createElementVNode("th",{rowspan:"3"}," Date ",-1)),y0=Ae(()=>e.createElementVNode("th",{colspan:"2"},"Position",-1)),E0=Ae(()=>e.createElementVNode("th",{colspan:"3"},"CP",-1)),_0=["colspan"],N0={key:0,colspan:"2"},V0=Ae(()=>e.createElementVNode("th",{colspan:"12"},"Vessel Noon Reported",-1)),f0=Ae(()=>e.createElementVNode("th",{rowspan:"3"},"In ECA",-1)),g0=Ae(()=>e.createElementVNode("th",{rowspan:"2"},"Lat",-1)),D0=Ae(()=>e.createElementVNode("th",{rowspan:"2"},"Lon",-1)),x0=Ae(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),b0=Ae(()=>e.createElementVNode("th",{colspan:"2"},"Daily Cons.(mt)",-1)),C0={key:0,rowspan:"2"},S0=Ae(()=>e.createElementVNode("br",null,null,-1)),k0={key:1,rowspan:"2"},A0=Ae(()=>e.createElementVNode("br",null,null,-1)),B0=Ae(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),w0={key:2,rowspan:"2"},T0=Ae(()=>e.createElementVNode("br",null,null,-1)),O0={key:3,colspan:"2"},F0={key:4,rowspan:"2"},P0=Ae(()=>e.createElementVNode("br",null,null,-1)),u0={key:5,colspan:"2"},L0=Ae(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),W0={key:6,rowspan:"2"},H0={key:7,rowspan:"2"},M0=Ae(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),G0=Ae(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),I0=Ae(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),R0=Ae(()=>e.createElementVNode("th",{colspan:"2"},"Engine",-1)),z0=Ae(()=>e.createElementVNode("th",{colspan:"2"},"BROB(mt)",-1)),U0=Ae(()=>e.createElementVNode("th",{colspan:"2"},"DailyCons(mt)",-1)),Y0=Ae(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),Z0=Ae(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),$0=Ae(()=>e.createElementVNode("th",null,"FO",-1)),Q0=Ae(()=>e.createElementVNode("th",null,"DO/GO",-1)),J0=Ae(()=>e.createElementVNode("th",null,"Dir",-1)),K0=Ae(()=>e.createElementVNode("th",null,"BF",-1)),q0={key:0},X0={key:1},j0={key:2},v0={key:3},e2=Ae(()=>e.createElementVNode("th",null,"RPM",-1)),t2=Ae(()=>e.createElementVNode("th",null,"Slip%",-1)),o2=Ae(()=>e.createElementVNode("th",null,"FO",-1)),l2=Ae(()=>e.createElementVNode("th",null,"DO/GO",-1)),a2=Ae(()=>e.createElementVNode("th",null,"FO",-1)),n2=Ae(()=>e.createElementVNode("th",null,"DO/GO",-1)),s2=Ae(()=>e.createElementVNode("th",null,"Dir",-1)),i2=Ae(()=>e.createElementVNode("th",null,"BF",-1)),c2={class:"summary-tbody"};function d2(t,n,o,c,l,a){var p,i,_,g,S,h,N,x;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(p=o.reportData)==null?void 0:p.weather)!=null&&i.referenceOnly||(g=(_=o.reportData)==null?void 0:_.weather)!=null&&g.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",jg,[vg,e.createElementVNode("div",e0,e.toDisplayString(a.computedTime((S=o.reportData)==null?void 0:S.createdAt)),1),e.createElementVNode("div",t0,[e.createElementVNode("div",o0,[e.createElementVNode("span",null,e.toDisplayString((N=(h=o.reportData)==null?void 0:h.vessel)==null?void 0:N.name),1)])]),e.createElementVNode("div",l0,[e.createElementVNode("table",null,[a0,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((x=o.reportData)==null?void 0:x.segments,(r,C)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:C},[e.createElementVNode("tr",null,[e.createElementVNode("td",n0,e.toDisplayString(C+1),1),s0,e.createElementVNode("td",null,e.toDisplayString(r.allWx.distance?a.computeRoundPrecision(r.allWx.distance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.time?a.computeRoundPrecision(r.allWx.time,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.avgSpd?a.computeRoundPrecision(r.allWx.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.sumFoCons?a.computeRoundPrecision(r.allWx.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.sumDgoCons?a.computeRoundPrecision(r.allWx.sumDgoCons,3):"0.000"),1)]),e.createElementVNode("tr",null,[i0,e.createElementVNode("td",null,e.toDisplayString(r.goodWx.distance?a.computeRoundPrecision(r.goodWx.distance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.time?a.computeRoundPrecision(r.goodWx.time,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.avgSpd?a.computeRoundPrecision(r.goodWx.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.sumFoCons?a.computeRoundPrecision(r.goodWx.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.sumDgoCons?a.computeRoundPrecision(r.goodWx.sumDgoCons,3):"0.000"),1)]),e.createElementVNode("tr",null,[c0,e.createElementVNode("td",null,e.toDisplayString(r.badWx.distance?a.computeRoundPrecision(r.badWx.distance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.time?a.computeRoundPrecision(r.badWx.time,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.avgSpd?a.computeRoundPrecision(r.badWx.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.sumFoCons?a.computeRoundPrecision(r.badWx.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.sumDgoCons?a.computeRoundPrecision(r.badWx.sumDgoCons,3):"0.000"),1)]),e.createElementVNode("tr",null,[d0,e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumDistance?a.computeRoundPrecision(r.excluded.sumDistance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumDuration?a.computeRoundPrecision(r.excluded.sumDuration,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.avgSpd?a.computeRoundPrecision(r.excluded.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumFoCons?a.computeRoundPrecision(r.excluded.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumDgoCons?a.computeRoundPrecision(r.excluded.sumDgoCons,3):"0.000"),1)])],64))),128))])])]),r0,e.createElementVNode("div",null,[e.createElementVNode("table",m0,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[p0,h0,y0,E0,e.createElementVNode("th",{colspan:a.computeColspan},"Weather Analysis",8,_0),o.isAdmin?(e.openBlock(),e.createElementBlock("th",N0,"meteo")):e.createCommentVNode("",!0),V0,f0]),e.createElementVNode("tr",null,[g0,D0,x0,b0,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",C0,[e.createTextVNode("Spd"),S0,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",k0,[e.createTextVNode("Dis"),A0,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),B0,l.showWave?(e.openBlock(),e.createElementBlock("th",w0,[e.createTextVNode("Sea HT"),T0,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",O0,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",F0,[e.createTextVNode("Sig Wave"),P0,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",u0,"Current")):e.createCommentVNode("",!0),L0,o.isAdmin?(e.openBlock(),e.createElementBlock("th",W0,"cFactor")):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("th",H0,"wxFactor")):e.createCommentVNode("",!0),M0,G0,I0,R0,z0,U0,Y0,Z0]),e.createElementVNode("tr",null,[$0,Q0,J0,K0,l.showSwell?(e.openBlock(),e.createElementBlock("th",q0,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",X0,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",j0,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",v0,"CF(kts)")):e.createCommentVNode("",!0),e2,t2,o2,l2,a2,n2,s2,i2])]),e.createElementVNode("tbody",c2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(r,C)=>{var k,F,L,w,O,b,u,I,Z,R,W,f,U,G,H,Q,J,X,q,V,M,$;return e.openBlock(),e.createElementBlock("tr",{key:C},[e.createElementVNode("td",{class:e.normalizeClass(r.isFirstSeg?"td-no-bottom td-top":(k=l.summaryTable[C+1])!=null&&k.isFirstSeg?"td-bottom":"td-no-bottom")},e.toDisplayString(r.isFirstSeg?r.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.dateTime),3),a.computedPort(r)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(r)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.noon.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0,!0))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"?"":a.computeRoundPrecision(r.cp.speed)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0,!0))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"?"":a.computeRoundPrecision(r.cp.fo)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0,!0))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"?"":a.computeRoundPrecision(r.cp.dgo)),3),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(r,!0))},e.toDisplayString(a.computeRoundPrecision(r.avgSpdCalc)),3)):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(r,!0))},e.toDisplayString(a.computeRoundPrecision(r.distanceCalc)),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((L=(F=r.meteo)==null?void 0:F.wind)==null?void 0:L.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((O=(w=r.meteo)==null?void 0:w.wind)==null?void 0:O.scale)??"--"),3),l.showWave?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((I=(u=(b=r.meteo)==null?void 0:b.wave)==null?void 0:u.wd)==null?void 0:I.height)??"--")),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((W=(R=(Z=r.meteo)==null?void 0:Z.wave)==null?void 0:R.swell)==null?void 0:W.direction)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((G=(U=(f=r.meteo)==null?void 0:f.wave)==null?void 0:U.swell)==null?void 0:G.height)??"--")),3)):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((J=(Q=(H=r.meteo)==null?void 0:H.wave)==null?void 0:Q.sig)==null?void 0:J.height)??"--")),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((q=(X=r.meteo)==null?void 0:X.current)==null?void 0:q.direction)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((V=r.meteo)==null?void 0:V.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0))},e.toDisplayString(r.dailyAvgCf),3),o.isAdmin?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((M=r.meteo)==null?void 0:M.cFactor)??"--"),3)):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString((($=r.meteo)==null?void 0:$.wxFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.timeSlr,1)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.distanceSlr,1)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.rpm,0)||"0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.slip,0)||"0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.foBrob)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.dgoBrob)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":r.noon.windDir??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":r.noon.windBF??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.seasHt??"--")),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"||r.inEca===!1?"":"Inside ECA"),3)])}),128))])])])])],2)}const r2=Ee(Xg,[["render",d2],["__scopeId","data-v-9fe5beca"]]),m2={props:{id:{type:String,default:"chart"},echartData:{type:Object,default:function(){return[]}},params:{type:Object,default:function(){return[]}},detail:{type:Object,default:function(){return[]}}},data(){return{chart:void 0,isOilBar:!1}},watch:{echartData:{handler(t,n){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(n)&&this.$nextTick(()=>{this.initData()})},immediate:!0,deep:!0}},methods:{getData(t,n){let o=[];return this.isOilBar=!1,t.forEach(c=>{let l;c.type=="line"?l={name:c.name,data:c.data,type:c.type,itemStyle:{color:c.color},showSymbol:c.showSymbol,smooth:c.smooth?c.smooth:!1,lineStyle:{type:c.lineType?c.lineType:"solid",dashOffset:5,type:c.lineType=="dotted"?[5,10]:"solid"}}:c.type=="markline"?l={name:c.name,markLine:{data:c.data},type:"line",barCategoryGap:-1,itemStyle:{color:c.color}}:c.type=="bar"?(this.isOilBar=!0,l={name:c.name,data:c.data,showSymbol:c.showSymbol,step:"start",type:"line",itemStyle:{color:c.color},areaStyle:{}}):l={name:c.name,data:c.data,type:c.type,barCategoryGap:-.2,itemStyle:{color:c.color}},o.push(l)}),n.forEach(c=>{o.push(c)}),o},getMax(t){if(this.isOilBar)return t.max<1?parseFloat(t.max*1.5).toFixed(1):parseFloat(Math.round(t.max)*1.2).toFixed(1)},initData(){if(!this.chart){let c=document.getElementById(this.id);this.chart=e.markRaw(Uo.init(c))}let t=this,n=this.getData(this.echartData,JSON.parse(JSON.stringify(this.params.markArea))),o={title:{text:this.detail.title},grid:{right:"5%"},tooltip:{trigger:"axis"},legend:{show:!0,right:"5%"},xAxis:{axisTick:{alignWithLabel:!0},type:"category",data:this.params.xAxis},yAxis:{type:"value",splitNumber:5,boundaryGap:!1,name:this.detail.ytitle,nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:10,fontWeight:600,textAlign:"center"},splitLine:{show:!1},max:function(c){return t.getMax(c)}},series:n};this.$nextTick(()=>{this.chart.setOption(o)})}}},p2=["id"];function h2(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{width:"80%",height:"100%"}},null,8,p2)])}const y2=Ee(m2,[["render",h2]]),E2={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},_2={class:"logo"},N2=[e.createElementVNode("svg",{t:"1681038956775",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3177",width:"30",height:"30"},[e.createElementVNode("path",{d:"M255.95 98.15h31.26v861.41h-31.26z","p-id":"3178"}),e.createElementVNode("path",{d:"M768.055 64.225v34h-512.1v-34zM576.115 230.225v31.89h-320.16v-31.89z","p-id":"3179"})],-1)];function V2(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",_2,N2)}const f2=Ee(E2,[["render",V2]]),ioe="",g2={components:{ScCharts:y2,BrabImg:f2},props:{reportData:{type:Object,default:()=>({})},mailData:{type:Object,default:()=>({})}},data(){return{date:"",shipSpeedChart:void 0,FOChart:void 0,DOChart:void 0,windSpeedChart:void 0,waveHeightChart:void 0,CurrentFactorChart:void 0,shipSpdChartData:[],FoChartData:[],DGOChartData:[],windSpdChartData:[],waveChartData:[],currentChartData:[],mailList:[],params:{},shipSpdDetail:{ytitle:"Daily Average Speed (kts)",title:"Ship Speed"},FODetail:{ytitle:"Daily FO (mt)",title:"FO Daily Consumption"},DGODetail:{ytitle:"Daily DO/GO (mt)",title:"DO/GO Daily Consumption"},windDetail:{ytitle:"Wind Speed",title:"Wind BF"},waveDetail:{ytitle:"Wave Height(m)",title:"Wave Heigt"},currentDetail:{ytitle:"Current Factor",title:"Current Factor"}}},computed:{computedArray(){return function(t){let n=[],o="";t.forEach((l,a)=>{l!=o&&l!=""&&(n.push({num:l,id:a}),o=l)});let c=[];return n.forEach((l,a)=>{let p=0;a==n.length-1?p=t.length-l.id:p=n[a+1].id-l.id+1;let i=[];for(let _=0;_<t.length;_++)(_>l.id||_==l.id)&&p>0?(i.push(l.num),p=p-1):i.push("");c.push(i)}),c}},computedCurrent(){return function(t,n){let o=[],c=null,l=0;t.forEach((p,i)=>{p!=c&&this.computedIsNull(p)!==""?(o.push({num:p,id:i}),c=p,l++):this.computedIsNull(p)!==""&&p==c&&(o[l-1].id=i)});let a=[];return o.forEach((p,i)=>{let _=i?o[i-1].id:-1;for(let g=_;g<p.id;g++)a.push(p.num)}),a}},computedTime(){return function(t,n){return n=="subtitle"?T(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n=="table"?T(t).utc().format("MMMM-DD/HHmm[Z]"):T(t).utc().format("dddd, MMMM D, YYYY")}},computedIsNull(){return function(t){return t||t==0?t:""}},computedLngLat(){return function(t,n){const o=this.getLonLat(te.LngLatHelper.lat2pretty(t)),c=this.getLonLat(te.LngLatHelper.lng2pretty(n));return`${o} ${c}`}},computeFrom(){return function(t){if(t.indexOf("<")!==-1){const n=/.*(?=<)/,o=t.match(n);if(o)return o[0]}else return t;return"-"}},computeBody(){return function(t){if(t&&t!=="-"){let n=te.EmailHelper.convert2Html(t);return n=n.replace(/<\/br><\/br>+/g,"</br>"),n=n.replace(/(<\/br> <\/br>)+/g,"</br>"),n}else return"-"}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${T(t).utc().format(n)}`:"-"}}},watch:{reportData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.getTableData()})},immediate:!0},mailData:{handler(t,n){t!=null&&t.rows&&this.getMailsList()},immediate:!0}},mounted(){},methods:{getLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,2)}′${t.direction}`},getMailsList(){let t=this.mailData.rows.filter(n=>n.status===1);this.mailList=t},getTableData(){var X,q;let t=[];(q=(X=this.reportData)==null?void 0:X.segments)==null||q.forEach((V,M)=>{let $=V.extend.cp;V.inventory.sample.hours.forEach((s,j)=>{let d=JSON.parse(JSON.stringify(s));d.cp=$,d.fuelConclusion=V.fuelConclusion,d.timeConclusion=V.timeConclusion,t.push(d)})}),t.sort(function(V,M){let $=V.date,s=M.date;return $-s});let n=[],o=[],c=[],l=[],a=[],p=[],i=[],_=[],g=[],S=[],h=[],N=[],x=[],r=[],C=[],k=[],F=[],L=[],w=[],O=[],b=[],u=[],I=[],Z=[],R=[],W=[!1,!1],f=[],U=[],G=[!1,!1],H=[],Q=[];t.forEach((V,M)=>{var s,j,d,v,oe,ee,ie,ce,de,re,_e,ae,he,Ne,Ve,fe,ge,De,xe,be,Ce,Se,Oe,Fe,ye,P,me,Pe,ue,Le,ke,We,Ue,Ye,z,we,Me,Ze,$e,Qe,Je,Ke,E,K,Te,He,Ge;if(n.push(T(V.utc).utc().format("MM/DD HHmm[Z]")),V.goodWx===!0&&V.excluded!==!0?(W.indexOf(!0)==-1&&(V.type==="BOSP"?f.push({xAxis:T(V.utc).utc().format("MM/DD HHmm[Z]")}):f.push({xAxis:T(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),W[0]=!0),W.indexOf(!0)!=-1&&M==t.length-1&&(f.push({xAxis:T(V.utc).utc().format("MM/DD HHmm[Z]")}),W[0]=!1,U.push(f),f=[])):W.indexOf(!0)!==-1&&(f.push({xAxis:T(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),W[0]=!1,U.push(f),f=[]),V.excluded===!0?(G.indexOf(!0)===-1&&(M===0?H.push({xAxis:T(V.utc).utc().format("MM/DD HHmm[Z]")}):H.push({xAxis:T(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),G[0]=!0),G.indexOf(!0)!=-1&&M===t.length-1&&(H.push({xAxis:T(V.utc).utc().format("MM/DD HHmm[Z]")}),G[0]=!1,Q.push(H),H=[])):G.indexOf(!0)!==-1&&(H.push({xAxis:T(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),G[0]=!1,Q.push(H),H=[]),(V==null?void 0:V.type)==="EOSP"&&((s=t[M+1])==null?void 0:s.type)==="BOSP"){let pe=[];pe.push({xAxis:T(V.utc).utc().format("MM/DD HHmm[Z]")}),pe.push({xAxis:T(t[M+1].utc).utc().format("MM/DD HHmm[Z]")}),Q.push(pe)}V.type!="A"&&(V.type==="BOSP"&&M===0?l.push([T(V==null?void 0:V.utc).utc().format("MM/DD HHmm[Z]"),(j=V==null?void 0:V.noon)==null?void 0:j.avgSpd,V==null?void 0:V.type]):l.push([T(V==null?void 0:V.utc).utc().format("MM/DD HHmm[Z]"),((d=V==null?void 0:V.noon)==null?void 0:d.avgSpd)||"-",V==null?void 0:V.type]),w.push([T(V==null?void 0:V.utc).utc().format("MM/DD HHmm[Z]"),((v=V==null?void 0:V.noon)==null?void 0:v.windBF)||"-"]),I.push([T(V==null?void 0:V.utc).utc().format("MM/DD HHmm[Z]"),((oe=V==null?void 0:V.noon)==null?void 0:oe.seasHt)||"-"])),_.push((V==null?void 0:V.type)!="A"?this.computedIsNull((ee=V==null?void 0:V.noon)==null?void 0:ee.foCons):""),x.push((V==null?void 0:V.type)!="A"?this.computedIsNull((ie=V==null?void 0:V.noon)==null?void 0:ie.dgoCons):""),R.push((V==null?void 0:V.type)!="A"?this.computedIsNull(V==null?void 0:V.dailyAvgCf):""),c.push((V==null?void 0:V.cpSpd)??""),a.push(((ce=V==null?void 0:V.timeConclusion)==null?void 0:ce.minusAbtSpd)??""),i.push(((de=V==null?void 0:V.cp)==null?void 0:de.fo)??""),g.push(((_e=(re=V==null?void 0:V.fuelConclusion)==null?void 0:re.fo)==null?void 0:_e.underTolerance)??""),S.push(((he=(ae=V==null?void 0:V.fuelConclusion)==null?void 0:ae.fo)==null?void 0:he.overTolerance)??""),N.push(((Ne=V==null?void 0:V.cp)==null?void 0:Ne.dgo)??""),r.push(((fe=(Ve=V==null?void 0:V.fuelConclusion)==null?void 0:Ve.dgo)==null?void 0:fe.underTolerance)??""),C.push(((De=(ge=V==null?void 0:V.fuelConclusion)==null?void 0:ge.dgo)==null?void 0:De.overTolerance)??""),F.push(((be=(xe=V==null?void 0:V.meteo)==null?void 0:xe.wind)==null?void 0:be.scale)??""),L.push(((Se=(Ce=this.reportData)==null?void 0:Ce.weather)==null?void 0:Se.windScale)??"");let $="";(Fe=(Oe=this.reportData)==null?void 0:Oe.weather)!=null&&Fe.sigSwitch?($=(me=(P=(ye=V.meteo)==null?void 0:ye.wave)==null?void 0:P.sig)!=null&&me.height?(Le=(ue=(Pe=V.meteo)==null?void 0:Pe.wave)==null?void 0:ue.sig)==null?void 0:Le.height:"",this.waveDetail.ytitle="Sig-wave Heigt(m)",u.push(this.reportData.weather.sigHeight)):(We=(ke=this.reportData)==null?void 0:ke.weather)!=null&&We.waveSwitch?($=(z=(Ye=(Ue=V.meteo)==null?void 0:Ue.wave)==null?void 0:Ye.wd)!=null&&z.height?(Ze=(Me=(we=V.meteo)==null?void 0:we.wave)==null?void 0:Me.wd)==null?void 0:Ze.height:"",this.waveDetail.ytitle="Wind Wave Height(m)",u.push(this.reportData.weather.waveHeight)):(Qe=($e=this.reportData)==null?void 0:$e.weather)!=null&&Qe.swellSwitch&&($=(E=(Ke=(Je=V.meteo)==null?void 0:Je.wave)==null?void 0:Ke.swell)!=null&&E.height?(He=(Te=(K=V.meteo)==null?void 0:K.wave)==null?void 0:Te.swell)==null?void 0:He.height:"",this.waveDetail.ytitle="Swell Wave Height(m)",u.push(this.reportData.weather.swellHeight)),this.waveDetail.title=(Ge=this.waveDetail)==null?void 0:Ge.ytitle.replaceAll("(m)",""),b.push($)}),this.params={xAxis:n,markArea:[{type:"line",markArea:{data:U},itemStyle:{color:"#aedb8f"}},{type:"line",markArea:{data:Q},itemStyle:{color:"#d3d3d3"}}]},l.forEach((V,M)=>{V.indexOf("-")!==-1&&M!==l.length-1&&(V[1]=l[M+1][1])}),c=this.computedArray(c),a=this.computedArray(a),i=this.computedArray(i),g=this.computedArray(g),S=this.computedArray(S),N=this.computedArray(N),r=this.computedArray(r),C=this.computedArray(C),_=this.computedCurrent(_),x=this.computedCurrent(x,"dgotype"),R=this.computedCurrent(R),c.forEach((V,M)=>{let $={name:M==0?"CP speed":"",type:"line",showSymbol:!1,data:V,color:"#ff8935"};o.push($)}),a.forEach((V,M)=>{let $={name:M==0?"CP Speed Min":"",type:"line",showSymbol:!1,data:V,color:"#06890b",lineType:"dotted"};o.push($)}),o.push({name:"Daily Average Speed",type:"line",data:l,color:"rgba(123,145,211,0.62)",showSymbol:!1,smooth:!0}),i.forEach((V,M)=>{let $={name:M==0?"CP FO":"",type:"line",showSymbol:!1,data:V,color:"#ff8935"};p.push($)}),g.forEach((V,M)=>{let $={name:M==0?"CP FO Min":"",type:"line",showSymbol:!1,data:V,color:"#06890b",lineType:"dotted"};p.push($)}),S.forEach((V,M)=>{let $={name:M==0?"CP FO Max":"",type:"line",showSymbol:!1,data:V,color:"#ff3a3a",lineType:"dotted"};p.push($)}),p.push({name:"Daily FO",type:"bar",showSymbol:!1,data:_,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),N.forEach((V,M)=>{let $={name:M==0?"CP DO/GO":"",type:"line",showSymbol:!1,data:V,color:"#ff8935"};h.push($)}),r.forEach((V,M)=>{let $={name:M==0?"CP DO/GO Min":"",type:"line",showSymbol:!1,data:V,color:"#06890b",lineType:"dotted"};h.push($)}),C.forEach((V,M)=>{let $={name:M==0?"CP DO/GO Max":"",type:"line",showSymbol:!1,data:V,color:"#ff3a3a",lineType:"dotted"};h.push($)}),h.push({name:"Daily DO/GO",type:"bar",showSymbol:!1,data:x,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),k.push({name:"CP Good Weather",type:"line",data:L,color:"#ff8935",showSymbol:!1,smooth:!0}),k.push({name:"Wind BF",type:"line",data:F,color:"#5eb3e0",showSymbol:!1,smooth:!0}),k.push({name:"Ship Report",type:"scatter",data:w,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),O.push({name:"CP Good Weather",type:"line",data:u,color:"#ff8935",showSymbol:!1,smooth:!0});let J=this.waveDetail.ytitle.replaceAll("(m)","");O.push({name:J,type:"line",data:b,color:"#5eb3e0",showSymbol:!1,smooth:!0}),O.push({name:"Ship Report",type:"scatter",data:I,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),Z.push({name:"Current Factor",type:"line",data:R,color:"#5eb3e0",showSymbol:!1,smooth:!1}),this.shipSpdChartData=o,this.FoChartData=p,this.DGOChartData=h,this.windSpdChartData=k,this.waveChartData=O,this.currentChartData=Z}}},Ie=t=>(e.pushScopeId("data-v-4fb04207"),t=t(),e.popScopeId(),t),D2={class:"charts"},x2=Ie(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumptifon with Weather / Current Analysis Graph",-1)),b2={class:"subtitle"},C2=e.createStaticVNode('<div class="chart-legend" data-v-4fb04207><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Good Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="border:1px solid var(--table-edging-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Adverse Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Excluded periods from analysis</div></div></div>',1),S2={class:"weather-eChart"},k2={class:"charts page-title"},A2=Ie(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumption with Weather / Current Analysis Graph",-1)),B2={class:"subtitle"},w2=e.createStaticVNode('<div class="chart-legend" data-v-4fb04207><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Good Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="border:1px solid var(--table-edging-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Adverse Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Excluded periods from analysis</div></div></div>',1),T2={class:"weather-eChart"},O2={class:"charts page-title"},F2=Ie(()=>e.createElementVNode("div",{class:"charts-title"},"Voyage Map",-1)),P2={class:"subtitle"},u2={class:"message-table"},L2=Ie(()=>e.createElementVNode("td",{class:"title"},"Vessel Name",-1)),W2=Ie(()=>e.createElementVNode("td",{class:"title"},"Prepared For",-1)),H2=Ie(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),M2={style:{display:"inline-block",width:"50%"}},G2=Ie(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),I2={style:{display:"inline-block",width:"50%"}},R2={style:{margin:"15px auto","padding-left":"20px"}},z2=["src"],U2={class:"charts-imgLegend"},Y2={style:{position:"relative",left:"-20px"}},Z2=Ie(()=>e.createElementVNode("div",{style:{position:"relative",display:"inline-block",top:"-12px",left:"15px",transform:"scale(0.95)"}},[e.createElementVNode("div",null,"7"),e.createElementVNode("br"),e.createElementVNode("div",null,"W 4")],-1)),$2=Ie(()=>e.createElementVNode("div",{style:{display:"inline-block",transform:"scale(0.95)","text-align":"left","margin-left":"5px"}},[e.createTextVNode(" LEGEND: "),e.createElementVNode("br"),e.createTextVNode(" Wind from NE(045) "),e.createElementVNode("br"),e.createTextVNode(" Each barb = 10 kts "),e.createElementVNode("br"),e.createTextVNode(" 1/2 barb = 5 kts "),e.createElementVNode("br")],-1)),Q2=Ie(()=>e.createElementVNode("div",{style:{transform:"scale(0.95)"}},[e.createTextVNode(" 7 - DAY OF THE MONTH "),e.createElementVNode("br"),e.createTextVNode(" W 4 - PRIMARY WAVE FROM WEST, 4 METERS"),e.createElementVNode("br"),e.createElementVNode("div",{class:"GoodWxBox"},"Date"),e.createTextVNode(" Good weather days"),e.createElementVNode("br")],-1)),J2={key:0,class:"charts page-title"},K2=Ie(()=>e.createElementVNode("div",{class:"charts-title"},"MESSAGE TRAFFIC",-1)),q2={class:"subtitle"},X2={class:"message-table"},j2=Ie(()=>e.createElementVNode("td",null,"Vessel Name",-1)),v2=Ie(()=>e.createElementVNode("td",null,"Prepared For",-1)),eD=Ie(()=>e.createElementVNode("td",null,"Departure Port and Date",-1)),tD={style:{display:"inline-block",width:"50%"}},oD=Ie(()=>e.createElementVNode("td",null,"Arrival Port and Date",-1)),lD={style:{display:"inline-block",width:"50%"}},aD={class:"columns"},nD={class:"title"},sD=["innerHTML"],iD={class:"charts",style:{"page-break-before":"always"}},cD=Ie(()=>e.createElementVNode("div",{class:"charts-title page-title"},"Charter Party Compliance Auditing Methodology",-1)),dD={class:"methodology"},rD=e.createStaticVNode('<div class="noun" data-v-4fb04207>1. Good Weather Method</div><div class="explain" data-v-4fb04207> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd's Rep 166 and The Gas Enterprise [1993] 2 Lloyd's Rep. 352. <br data-v-4fb04207> The vessel's performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-4fb04207> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a "good weather day" or "adverse weather day" according to the good weather definition stipulated in the Charter Party. </div><div class="noun" data-v-4fb04207>2. Damage assessment due to ship under-performance</div><div class="explain" data-v-4fb04207> Speed and Consumption Calculation applies allowed time and allowed consumption calculated based on cp speed and consumption in good weather conditions. Complying with maritime arbitration standards, time loss and over/under-consumption is not calculated when there are no good weather days. </div><div class="noun" data-v-4fb04207>3. Logbooks description vs. Analysis</div><div class="explain" data-v-4fb04207> To complete the Good Weather Analysis method requests daily noon positions (including time, distance, weather, seas, bunker consumption, etc.) from the Master, which are to be inspected in evaluation reports. We will apply our analyzed distances. Weather and sea conditions in reports represent our verified weather data. </div><div class="noun" data-v-4fb04207>4. “About”</div><div class="explain" data-v-4fb04207> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-4fb04207> As per the High Court decision on The Gaz Energy (2012) 852 LMLN 2 a plus 5% tolerance in over-consumption calculation and a minus 5 % tolerance in under-consumption are employed respectively when an “about” is included with the consumption warranty, unless otherwise stipulated. </div><div class="noun" data-v-4fb04207>5. Time Calculation</div><div class="explain" data-v-4fb04207> Time loss or gained is calculated by comparing (a) Total Time at Good weather Performance Speed to (b) and (c) listed below. Time loss calculation (b) applies allowance for "about", while no allowance in (c) time gained calculation unless otherwise stipulated . <br data-v-4fb04207> The report conclusion only reflects the Time Lost calculation result only. </div>',10),mD={class:"definition"},pD={class:"equation"},hD=Ie(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at Good Weather Performance Speed",-1)),yD=Ie(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),ED={style:{width:"50%"},class:"fraction"},_D=Ie(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ND=Ie(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),VD=Ie(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),fD={class:"equation"},gD=Ie(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at ( CP Speed - About Speed )",-1)),DD=Ie(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),xD={style:{width:"50%"},class:"fraction"},bD=Ie(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),CD=Ie(()=>e.createElementVNode("div",null,"CP Speed - About Speed",-1)),SD=Ie(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),kD={class:"equation"},AD=Ie(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at CP Speed",-1)),BD=Ie(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),wD={style:{width:"50%"},class:"fraction"},TD=Ie(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),OD=Ie(()=>e.createElementVNode("div",null,"CP Speed",-1)),FD=Ie(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),PD=Ie(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),uD=Ie(()=>e.createElementVNode("div",{class:"noun"},"6. Bunker Analysis Methodology for Bunker Type Switch-Over",-1)),LD=Ie(()=>e.createElementVNode("div",{class:"explain"},[e.createTextVNode(" The following methodology will be applied to analyze bunker consumption when the bunker type is switched over,such as in ECA/SECA zone . "),e.createElementVNode("br"),e.createTextVNode(" 6-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. "),e.createElementVNode("br"),e.createTextVNode(" 6-2 Considering DO/GO consumption in the switch over period the amount of DO/GO consumed will initially be compared to the DO/GO warranted figure; the remaining DO/GO consumed in the switch over period will then be compared to the warranted IFO figure. In cases of partial steaming Days, the DO/GO consumed will be converted basis a calculation for hourly consumption. ")],-1)),WD=Ie(()=>e.createElementVNode("div",{class:"noun"},"7. Further reference materials",-1)),HD=Ie(()=>e.createElementVNode("div",{class:"explain"},"Please send mail to op@oceanpitech.com",-1));function MD(t,n,o,c,l,a){var _,g,S,h,N,x,r,C,k,F,L,w,O,b,u,I,Z,R,W,f,U,G,H,Q,J,X,q,V,M,$,s,j,d,v,oe,ee,ie,ce,de,re,_e,ae,he,Ne,Ve,fe,ge,De,xe,be,Ce,Se,Oe,Fe;const p=e.resolveComponent("ScCharts"),i=e.resolveComponent("BrabImg");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((g=(_=o.reportData)==null?void 0:_.weather)!=null&&g.referenceOnly||(h=(S=o.reportData)==null?void 0:S.weather)!=null&&h.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",D2,[x2,e.createElementVNode("div",b2,e.toDisplayString(a.computedTime((N=o.reportData)==null?void 0:N.createdAt)),1),C2,e.createElementVNode("div",S2,[e.createVNode(p,{id:"shipSpeedChart","echart-data":l.shipSpdChartData,params:l.params,detail:l.shipSpdDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(p,{id:"FOChart","echart-data":l.FoChartData,params:l.params,detail:l.FODetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(p,{id:"DGOChart","echart-data":l.DGOChartData,params:l.params,detail:l.DGODetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",k2,[A2,e.createElementVNode("div",B2,e.toDisplayString(a.computedTime((x=o.reportData)==null?void 0:x.createdAt)),1),w2,e.createElementVNode("div",T2,[e.createVNode(p,{id:"windChart","echart-data":l.windSpdChartData,params:l.params,detail:l.windDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(p,{id:"waveChart","echart-data":l.waveChartData,params:l.params,detail:l.waveDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(p,{id:"currentChart","echart-data":l.currentChartData,params:l.params,detail:l.currentDetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",O2,[F2,e.createElementVNode("div",P2,e.toDisplayString(a.computedTime((r=o.reportData)==null?void 0:r.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",u2,[e.createElementVNode("tr",null,[L2,e.createElementVNode("td",null,e.toDisplayString((k=(C=o.reportData)==null?void 0:C.vessel)==null?void 0:k.name),1)]),e.createElementVNode("tr",null,[W2,e.createElementVNode("td",null,e.toDisplayString((F=o.reportData)==null?void 0:F.preparedFor),1)]),e.createElementVNode("tr",null,[H2,e.createElementVNode("td",null,[e.createElementVNode("span",M2,e.toDisplayString(((w=(L=o.reportData)==null?void 0:L.departure)==null?void 0:w.portName)||a.computedLngLat((b=(O=o.reportData)==null?void 0:O.departure)==null?void 0:b.lat,(I=(u=o.reportData)==null?void 0:u.departure)==null?void 0:I.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((R=(Z=o.reportData)==null?void 0:Z.departure)==null?void 0:R.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[G2,e.createElementVNode("td",null,[e.createElementVNode("span",I2,e.toDisplayString(((f=(W=o.reportData)==null?void 0:W.arrival)==null?void 0:f.portName)||a.computedLngLat((G=(U=o.reportData)==null?void 0:U.arrival)==null?void 0:G.lat,(Q=(H=o.reportData)==null?void 0:H.arrival)==null?void 0:Q.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((X=(J=o.reportData)==null?void 0:J.arrival)==null?void 0:X.utcTime,"table")),1)])])])]),e.createElementVNode("div",R2,[e.createElementVNode("img",{style:{width:"100%"},src:(q=o.reportData)==null?void 0:q.chartUrl,alt:""},null,8,z2),e.createElementVNode("div",U2,[e.createElementVNode("div",Y2,[Z2,e.createVNode(i,{style:{display:"inline-block",transform:"rotate(45deg)",margin:"8px 0 0 4px",position:"relative",top:"-20px"},fill:"var(--black-6)"}),$2]),Q2])])]),(M=(V=o.reportData)==null?void 0:V.weather)!=null&&M.showMails?(e.openBlock(),e.createElementBlock("div",J2,[K2,e.createElementVNode("div",q2,e.toDisplayString(a.computedTime(o.reportData.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",X2,[e.createElementVNode("tr",null,[j2,e.createElementVNode("td",null,e.toDisplayString((s=($=o.reportData)==null?void 0:$.vessel)==null?void 0:s.name),1)]),e.createElementVNode("tr",null,[v2,e.createElementVNode("td",null,e.toDisplayString((j=o.reportData)==null?void 0:j.preparedFor),1)]),e.createElementVNode("tr",null,[eD,e.createElementVNode("td",null,[e.createElementVNode("span",tD,e.toDisplayString(((v=(d=o.reportData)==null?void 0:d.departure)==null?void 0:v.portName)||a.computedLngLat((ee=(oe=o.reportData)==null?void 0:oe.departure)==null?void 0:ee.lat,(ce=(ie=o.reportData)==null?void 0:ie.departure)==null?void 0:ce.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((re=(de=o.reportData)==null?void 0:de.departure)==null?void 0:re.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[oD,e.createElementVNode("td",null,[e.createElementVNode("span",lD,e.toDisplayString(((ae=(_e=o.reportData)==null?void 0:_e.arrival)==null?void 0:ae.portName)||a.computedLngLat((Ne=(he=o.reportData)==null?void 0:he.arrival)==null?void 0:Ne.lat,(fe=(Ve=o.reportData)==null?void 0:Ve.arrival)==null?void 0:fe.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((De=(ge=o.reportData)==null?void 0:ge.arrival)==null?void 0:De.utcTime,"table")),1)])])])]),e.createElementVNode("div",aD,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.mailList,(ye,P)=>(e.openBlock(),e.createElementBlock("div",{key:ye.id,class:e.normalizeClass(P%2===0?"item":"item bg")},[e.createElementVNode("div",nD,"FROM "+e.toDisplayString(a.computeFrom(ye.from))+" "+e.toDisplayString(a.computeUTCTime(ye.createdAt,"DD/MM/YYYY hhmm")),1),e.createElementVNode("div",{class:"body",innerHTML:a.computeBody((ye==null?void 0:ye.body)??"-")},null,8,sD)],2))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("div",iD,[cD,e.createElementVNode("div",dD,[rD,e.createElementVNode("div",mD,[e.createElementVNode("div",pD,[hD,yD,e.createElementVNode("div",ED,[e.createElementVNode("div",null,e.toDisplayString((be=(xe=o.reportData)==null?void 0:xe.weather)!=null&&be.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),_D,ND]),VD]),e.createElementVNode("div",fD,[gD,DD,e.createElementVNode("div",xD,[e.createElementVNode("div",null,e.toDisplayString((Se=(Ce=o.reportData)==null?void 0:Ce.weather)!=null&&Se.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),bD,CD]),SD]),e.createElementVNode("div",kD,[AD,BD,e.createElementVNode("div",wD,[e.createElementVNode("div",null,e.toDisplayString((Fe=(Oe=o.reportData)==null?void 0:Oe.weather)!=null&&Fe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),TD,OD]),FD]),PD]),uD,LD,WD,HD])])],2)}const GD=Ee(g2,[["render",MD],["__scopeId","data-v-4fb04207"]]),coe="",ID={components:{firstPart:qg,secondPart:r2,thirdPart:GD},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},RD={class:"voyage-report"};function zD(t,n,o,c,l,a){const p=e.resolveComponent("first-part"),i=e.resolveComponent("second-part"),_=e.resolveComponent("third-part");return e.openBlock(),e.createElementBlock("div",RD,[e.createVNode(p,{reportData:l.reportData,class:"main","editor-disabled":o.editorDisabled,onCommit:a.commit},null,8,["reportData","editor-disabled","onCommit"]),e.createVNode(i,{isAdmin:o.isAdmin,reportData:l.reportData,class:"main"},null,8,["isAdmin","reportData"]),e.createVNode(_,e.mergeProps({reportData:l.reportData,class:"main"},t.$attrs),null,16,["reportData"])])}const Dn=Ee(ID,[["render",zD],["__scopeId","data-v-61638416"]]),doe="",UD={components:{Editor:zo},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{date:"",remarks:"<div>Exclusion</div><div>The following time,distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation</div>",editable:!1,advisory:void 0,excludedTableData:[],segDetail:[],goodDays:[],cpDetail:[],noGoodWxDay:"No Good Wx Day",noSpecialRemarks:"No Special Remarks"}},computed:{computedAvgCf(){return function(t){var n,o;return(o=(n=this.reportData)==null?void 0:n.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,n){return n=="subtitle"?T(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):n=="table"?T(t).utc().format("MMMM-DD/HHmm[Z]"):n=="summary"?T(t).utc().format("MMMM D, HHmm[Z]"):n?T(t).utc().format(n):T(t).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(t,n){const o=this.getLonLat(te.LngLatHelper.lat2pretty(t)),c=this.getLonLat(te.LngLatHelper.lng2pretty(n));return`${o} ${c}`}},computedSeg(){return function(t){const n=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),o=this.computedTime(t.departure.utcTime,"summary"),c=this.computedTime(t.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),l=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),a=this.computedTime(t.arrival.utcTime,"summary"),p=this.computedTime(t.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:n,time1:o,fullTime1:c,port2:l,time2:a,fullTime2:p}}},computedTimeConclusion(){return function(t){let n=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return n=="No"?(o.conclusion="Not Available",o.className="",o.timeCon=""):n=="Lost"?(o.conclusion="Time Lost",o.className="error",o.timeCon=`${t.timeLost} hrs`):(o.conclusion="Time Gained",o.className="success",o.timeCon=`${t.timeGain} hrs`),o}},computedFuleConclusion(){return function(t,n){let o=t.conclusionStatus,c={conclusion:"",className:"",cons:""};return o==="No"?(c.conclusion="Not Available",c.className="",c.cons=""):o==="Over"?(n==="FO"?c.conclusion="FO Over":c.conclusion="DO/GO Over",c.className="error",c.cons=`${t.overCons} mt`):(n==="FO"?c.conclusion="FO Under":c.conclusion="DO/GO Under",c.className="success",c.cons=`${t.saving} mt`),c}},computedUnit(){return function(t,n){return n?"%":t=="speed"?"":"(mt)"}},computedWeatherDef(){return function(t){let n="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let o=t==null?void 0:t.windScale,c="",l=0;return t!=null&&t.waveSwitch?(c+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,l++):t!=null&&t.swellSwitch?(c+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,l++):t!=null&&t.sigSwitch&&(c+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,l++),l>0&&(c+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),n=`Winds are BF/${o} or less${c}`,t!=null&&t.noAdverseCur&&(n+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(n+=", No Extrapolation"),n}},computedColor(){return function(t,n,o){let c="";if(t==="No")return c=o?"bg-color-normal":"color-normal",c;switch(n){case"time":t==="Lost"?c="color-fail":c="color-success";break;case"fuel":t==="Over"?c="color-fail":c="color-success";break;case"pfm":t==="Under"?c="color-fail":c="color-success";break}return o&&(c="bg-"+c),c}},computedAbt4Spd(){return function(t){var n,o,c;return(n=t.timeConclusion)!=null&&n.spdPercentage?te.roundPrecision(t.extend.cp.speed*(((o=t==null?void 0:t.timeConclusion)==null?void 0:o.spdOfAbout)/100),2):(c=t==null?void 0:t.timeConclusion)==null?void 0:c.spdOfAbout}}},watch:{reportData:{handler(t,n){var o;t!=null&&t.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(o=this.reportData)==null?void 0:o.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,2)}′${t.direction}`},handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var n,o;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let t=[];(o=(n=this.reportData)==null?void 0:n.segments)==null||o.forEach((c,l)=>{let a=c.excluded;if(a.sumDistance>0&&a.detail.forEach(i=>{let _={begin:T(i.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:T(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:T(i.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+T(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:i.duration,distance:i.distance,fo:i.foCons,dgo:i.dgoCons};this.excludedTableData.push(_)}),!t.includes(c.seg)){t.push(c.seg);let i=Object.assign({},c.extend.cp);i.spdOfOver=`+${c.timeConclusion.spdOfOver}${this.computedUnit("speed",c.timeConclusion.spdPercentage)}`,i.spdOfUnder=`-${c.timeConclusion.spdOfUnder}${this.computedUnit("speed",c.timeConclusion.spdPercentage)}`,i.over=`+${c.fuelConclusion.consOfOver}${this.computedUnit("cons",c.fuelConclusion.consPercentage)}`,i.under=`-${c.fuelConclusion.consOfUnder}${this.computedUnit("cons",c.fuelConclusion.consPercentage)}`,this.cpDetail.push(i)}let p=[];c.extend.segTimes.forEach(i=>{p.push(this.computedSeg(i))}),this.segDetail.push(p),this.goodDays.push(c.inventory.sample.hours.filter(i=>i.type!=="A"&&i.goodWx))})}}},y=t=>(e.pushScopeId("data-v-9be6b8be"),t=t(),e.popScopeId(),t),YD=y(()=>e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),ZD={class:"fli-main"},$D=y(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),QD={class:"card basics"},JD={class:"list flex"},KD={class:"item"},qD=y(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),XD={class:"content flex"},jD={class:"item"},vD=y(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),ex={class:"content flex"},tx={class:"item"},ox=y(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),lx={class:"content flex"},ax={class:"list"},nx={class:"item"},sx=y(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),ix={class:"content flex"},cx={class:"content flex"},dx={class:"item"},rx=y(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),mx={class:"content flex"},px={class:"content flex"},hx={class:"item"},yx=y(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),Ex={class:"content flexL"},_x=y(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),Nx={class:"clause"},Vx={key:0,class:"definition flex"},fx={key:1,class:"definition flex"},gx={class:"item"},Dx=y(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),xx={class:"content"},bx={key:0,class:"item"},Cx=y(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),Sx={class:"content"},kx={key:1,class:"item"},Ax=y(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),Bx={class:"content"},wx={key:2,class:"item"},Tx=y(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),Ox={class:"content"},Fx={key:3,class:"item"},Px=y(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),ux={class:"content"},Lx={key:4,class:"item"},Wx=[y(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),y(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],Hx={key:5,class:"item"},Mx=[y(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),y(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],Gx={class:"definition flexM"},Ix={class:"table"},Rx=y(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"CP"),e.createElementVNode("td",null,"Speed (kts)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),zx=y(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),Ux={class:"summary"},Yx={key:0,class:"summary-overall"},Zx=y(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),$x={class:"summary-overall-row"},Qx={class:"card"},Jx=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),Kx={class:"main-content"},qx={key:0},Xx={key:1},jx={class:"card"},vx=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),eb={class:"main-content"},tb={key:0},ob={key:1},lb={class:"card"},ab=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),nb={class:"main-content"},sb={key:0},ib={key:1},cb={class:"summary-overall-row"},db={class:"card"},rb=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),mb={class:"main-content"},pb={class:"card"},hb=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),yb={class:"main-content"},Eb={class:"card"},_b=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),Nb={class:"main-content"},Vb=y(()=>e.createElementVNode("div",{class:"summary-overall-row",style:{"flex-direction":"column"}},[e.createElementVNode("div",{class:"flex-start"},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",null,"FO Cons. + M/E DO/GO Cons. in ECA")]),e.createElementVNode("div",{class:"flex-start"},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",null,"DO/GO Cons. - M/E DO/GO Cons. in ECA")])],-1)),fb={class:"card",style:{flex:"1.5"}},gb={class:"card-title"},Db=y(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),xb={class:"card-segment"},bb={class:"card-segment"},Cb={class:"card-segment"},Sb=y(()=>e.createElementVNode("div",null,"Applied",-1)),kb={class:"uppercase"},Ab={class:"card summary-card",style:{flex:"1"}},Bb=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),wb={key:0,class:"main-content"},Tb={key:0,class:"iconfont success"},Ob={key:1,class:"iconfont error"},Fb={key:1,class:"main-content"},Pb={class:"card-content",style:{"justify-content":"flex-start"}},ub={class:"card summary-card",style:{flex:"1"}},Lb=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),Wb={key:0,class:"main-content"},Hb={key:0,class:"iconfont success"},Mb={key:1,class:"iconfont error"},Gb={key:1,class:"main-content"},Ib={class:"card-content",style:{"justify-content":"flex-start"}},Rb={class:"card summary-card",style:{flex:"1"}},zb=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),Ub={key:0,class:"main-content"},Yb={key:0,class:"iconfont success"},Zb={key:1,class:"iconfont error"},$b={key:1,class:"main-content"},Qb={class:"card-content",style:{"justify-content":"flex-start"}},Jb={style:{"page-break-inside":"avoid"}},Kb=y(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),qb={class:"remarks"},Xb={class:"item"},jb=y(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),vb={class:"speed"},eC={class:"uppercase"},tC={class:"item"},oC=y(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),lC={key:0,class:"remark-detail"},aC={key:1,class:"remark-detail"},nC={class:"page-avoid"},sC={class:"dashed"},iC={class:"card phase-title-card",style:{flex:"0.5"}},cC={class:"card-title"},dC=y(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),rC={class:"card-segment"},mC={class:"card-segment"},pC={class:"card-segment"},hC=y(()=>e.createElementVNode("div",null,"Applied",-1)),yC={class:"uppercase"},EC=y(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),_C={class:"phase-analysis"},NC={class:"card phase-card",style:{flex:"1"}},VC=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),fC={class:"main-content"},gC=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),DC={class:"main-content"},xC={class:"card-content"},bC=y(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),CC=y(()=>e.createElementVNode("span",null,"mt",-1)),SC={class:"card-content"},kC=y(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),AC=y(()=>e.createElementVNode("span",null,"mt",-1)),BC={class:"card-content"},wC=y(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),TC=y(()=>e.createElementVNode("span",null,"mt",-1)),OC={class:"card-content"},FC=y(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),PC=y(()=>e.createElementVNode("span",null,"mt",-1)),uC=y(()=>e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"FO Cons. + M/E DO/GO Cons. in ECA")],-1)),LC={class:"card phase-card",style:{flex:"1"}},WC=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),HC={class:"main-content"},MC=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),GC={class:"main-content"},IC={class:"card-content"},RC=y(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),zC=y(()=>e.createElementVNode("span",null,"mt",-1)),UC={class:"card-content"},YC=y(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),ZC=y(()=>e.createElementVNode("span",null,"mt",-1)),$C={class:"card-content"},QC=y(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),JC=y(()=>e.createElementVNode("span",null,"mt",-1)),KC={class:"card-content"},qC=y(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),XC=y(()=>e.createElementVNode("span",null,"mt",-1)),jC=y(()=>e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"DO/GO Cons. - M/E DO/GO Cons. in ECA")],-1)),vC={class:"phase-analysis"},eS={class:"card phase-card",style:{flex:"1"}},tS=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),oS={class:"main-content"},lS=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),aS={class:"main-content"},nS={class:"card-content"},sS=y(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),iS=y(()=>e.createElementVNode("span",null,"nm",-1)),cS={class:"card-content"},dS=y(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),rS=y(()=>e.createElementVNode("span",null,"nm",-1)),mS={class:"card-content"},pS=y(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),hS=y(()=>e.createElementVNode("span",null,"nm",-1)),yS={class:"card-content"},ES=y(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),_S=y(()=>e.createElementVNode("span",null,"nm",-1)),NS={class:"card phase-card",style:{flex:"1"}},VS=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),fS={class:"main-content"},gS=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),DS={class:"main-content"},xS={class:"card-content"},bS=y(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),CS=y(()=>e.createElementVNode("span",null,"hrs",-1)),SS={class:"card-content"},kS=y(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),AS=y(()=>e.createElementVNode("span",null,"hrs",-1)),BS={class:"card-content"},wS=y(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),TS=y(()=>e.createElementVNode("span",null,"hrs",-1)),OS={class:"card-content"},FS=y(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),PS=y(()=>e.createElementVNode("span",null,"hrs",-1)),uS={class:"card phase-card",style:{flex:"1"}},LS=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),WS={class:"main-content"},HS=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),MS={class:"main-content"},GS={class:"card-content"},IS=y(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),RS=y(()=>e.createElementVNode("span",null,"kts",-1)),zS={class:"card-content"},US=y(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),YS=y(()=>e.createElementVNode("span",null,"kts",-1)),ZS={class:"card-content"},$S=y(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),QS=y(()=>e.createElementVNode("span",null,"kts",-1)),JS={class:"card-content"},KS=y(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),qS=y(()=>e.createElementVNode("span",null,"kts",-1)),XS={class:"phase-analysis"},jS={class:"card phase-card",style:{flex:"1"}},vS=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),e3={class:"main-content"},t3=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),o3={class:"main-content"},l3={class:"card-content"},a3=y(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),n3=y(()=>e.createElementVNode("span",null,"mt",-1)),s3={class:"card-content"},i3=y(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),c3=y(()=>e.createElementVNode("span",null,"mt",-1)),d3={class:"card-content"},r3=y(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),m3=y(()=>e.createElementVNode("span",null,"mt",-1)),p3={class:"card-content"},h3=y(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),y3=y(()=>e.createElementVNode("span",null,"mt",-1)),E3={class:"card phase-card",style:{flex:"1"}},_3=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),N3={class:"main-content"},V3=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),f3={class:"main-content"},g3={class:"card-content"},D3=y(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),x3=y(()=>e.createElementVNode("span",null,"mt",-1)),b3={class:"card-content"},C3=y(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),S3=y(()=>e.createElementVNode("span",null,"mt",-1)),k3={class:"card-content"},A3=y(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),B3=y(()=>e.createElementVNode("span",null,"mt",-1)),w3={class:"card-content"},T3=y(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),O3=y(()=>e.createElementVNode("span",null,"mt",-1)),F3={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},P3=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),u3={class:"main-content"},L3={class:"card-content"},W3=y(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),H3={key:0},M3=y(()=>e.createElementVNode("span",null,"kts",-1)),G3={key:1},I3={class:"phase-card"},R3={class:"card",style:{flex:"1"}},z3=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),U3={key:0,class:"main-content"},Y3={key:0,class:"iconfont success"},Z3={key:1,class:"iconfont error"},$3={key:1,class:"main-content"},Q3={class:"nogwd"},J3={class:"card-content",style:{"justify-content":"flex-start"}},K3={key:0},q3={class:"equation"},X3=y(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),j3=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),v3={style:{width:"8%"}},ek=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),ok={style:{width:"10%"}},lk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),ak={class:"equation"},nk=y(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),sk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),ik={style:{width:"8%"}},ck=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),dk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),rk={style:{width:"10%"}},mk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),pk={class:"equation"},hk=y(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),yk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Ek={style:{width:"8%"}},_k=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Nk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Vk={style:{width:"10%"}},fk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),gk={class:"phase-card"},Dk={class:"card",style:{flex:"1"}},xk=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),bk={key:0,class:"main-content"},Ck={key:0,class:"iconfont success"},Sk={key:1,class:"iconfont error"},kk={key:1,class:"main-content"},Ak={class:"nogwd"},Bk={class:"card-content",style:{"justify-content":"flex-start"}},wk={key:0},Tk={class:"equation"},Ok=y(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),Fk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Pk={style:{width:"8%"}},uk=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Lk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Wk={style:{width:"120px"}},Hk=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Mk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Gk={style:{width:"10%"}},Ik=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),Rk={class:"equation"},zk=y(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),Uk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Yk={style:{width:"8%"}},Zk=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$k=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Qk={style:{width:"120px"}},Jk=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Kk=y(()=>e.createElementVNode("div",null,"24",-1)),qk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Xk={style:{width:"10%"}},jk=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),vk={class:"equation"},e4=y(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),t4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),o4={style:{width:"8%"}},l4=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),a4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),n4={style:{width:"120px"}},s4=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),i4=y(()=>e.createElementVNode("div",null,"24",-1)),c4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),d4={style:{width:"10%"}},r4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),m4={class:"phase-card"},p4={class:"card",style:{flex:"1"}},h4=y(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),y4={key:0,class:"main-content"},E4={key:0,class:"iconfont success"},_4={key:1,class:"iconfont error"},N4={key:1,class:"main-content"},V4={class:"nogwd"},f4={class:"card-content",style:{"justify-content":"flex-start"}},g4={key:0},D4={class:"equation"},x4=y(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),b4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),C4={style:{width:"8%"}},S4=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),k4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),A4={style:{width:"120px"}},B4=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),w4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),T4={style:{width:"10%"}},O4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),F4={class:"equation"},P4=y(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),u4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),L4={style:{width:"8%"}},W4=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),H4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),M4={style:{width:"120px"}},G4=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),I4=y(()=>e.createElementVNode("div",null,"24",-1)),R4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),z4={style:{width:"10%"}},U4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),Y4={class:"equation"},Z4=y(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),$4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Q4={style:{width:"8%"}},J4=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),K4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),q4={style:{width:"120px"}},X4=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),j4=y(()=>e.createElementVNode("div",null,"24",-1)),v4=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e5={style:{width:"10%"}},t5=y(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),o5=y(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),l5={class:"formular dashed",style:{"page-break-inside":"avoid"}},a5={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},n5=y(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),s5={class:""},i5={class:"equation"},c5=y(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),d5=y(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),r5={style:{width:"50%"},class:"fraction"},m5=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),p5=y(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),h5=y(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),y5={class:"equation"},E5=y(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),_5=y(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),N5={style:{width:"50%"},class:"fraction"},V5=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),f5=y(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),g5=y(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),D5={class:"equation"},x5=y(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),b5=y(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),C5={style:{width:"50%"},class:"fraction"},S5=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),k5=y(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),A5=y(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),B5=y(()=>e.createElementVNode("div",{class:"equation flex-end",style:{"margin-right":"4%"}},[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),w5={class:"flexL formular-item",style:{"margin-left":"20px"}},T5=y(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),O5={class:""},F5={class:"equation"},P5=y(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),u5=y(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),L5={style:{width:"25%"},class:"fraction"},W5=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),H5=y(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),M5=y(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),G5=y(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Good Weather Consumption"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),I5=y(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),R5={class:"equation"},z5=y(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),U5=y(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Y5={style:{width:"25%"},class:"fraction"},Z5=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$5=y(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),Q5=y(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),J5=y(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption + Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),K5=y(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),q5={class:"equation"},X5=y(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),j5=y(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),v5={style:{width:"25%"},class:"fraction"},e8=y(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),t8=y(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),o8=y(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),l8=y(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption - Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),a8=y(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),n8=y(()=>e.createElementVNode("div",{class:"equation",style:{margin:"10px 0"}},[e.createElementVNode("span",null,"Fuel Over-consumption = (d) - (e) "),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Fuel Saving = (f) - (d)")],-1)),s8=y(()=>e.createElementVNode("div",{class:"equation"},[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),e.createElementVNode("br"),e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),e.createElementVNode("br"),e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),e.createElementVNode("br")],-1));function i8(t,n,o,c,l,a){var p,i,_,g,S,h,N,x,r,C,k,F,L,w,O,b,u,I,Z,R,W,f,U,G,H,Q,J,X,q,V,M,$,s,j,d,v,oe,ee,ie,ce,de,re,_e,ae,he,Ne,Ve,fe,ge,De,xe,be,Ce,Se,Oe,Fe,ye,P,me,Pe,ue,Le,ke,We,Ue,Ye,z,we,Me,Ze,$e,Qe,Je,Ke;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(p=o.reportData)==null?void 0:p.weather)!=null&&i.referenceOnly?"watermark":"")},[YD,e.createElementVNode("div",ZD,[$D,e.createElementVNode("div",QD,[e.createElementVNode("div",JD,[e.createElementVNode("div",KD,[qD,e.createElementVNode("div",XD,e.toDisplayString((_=o.reportData)==null?void 0:_.preparedFor),1)]),e.createElementVNode("div",jD,[vD,e.createElementVNode("div",ex,e.toDisplayString((S=(g=o.reportData)==null?void 0:g.vessel)==null?void 0:S.name),1)]),e.createElementVNode("div",tx,[ox,e.createElementVNode("div",lx,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",ax,[e.createElementVNode("div",nx,[sx,e.createElementVNode("div",ix,e.toDisplayString(((N=(h=o.reportData)==null?void 0:h.departure)==null?void 0:N.portName)||a.computedLngLat((r=(x=o.reportData)==null?void 0:x.departure)==null?void 0:r.lat,(k=(C=o.reportData)==null?void 0:C.departure)==null?void 0:k.lng)),1),e.createElementVNode("div",cx,e.toDisplayString(a.computedTime((L=(F=o.reportData)==null?void 0:F.departure)==null?void 0:L.utcTime,"table")),1)]),e.createElementVNode("div",dx,[rx,e.createElementVNode("div",mx,e.toDisplayString(((O=(w=o.reportData)==null?void 0:w.arrival)==null?void 0:O.portName)||a.computedLngLat((u=(b=o.reportData)==null?void 0:b.arrival)==null?void 0:u.lat,(Z=(I=o.reportData)==null?void 0:I.arrival)==null?void 0:Z.lng)),1),e.createElementVNode("div",px,e.toDisplayString(a.computedTime((W=(R=o.reportData)==null?void 0:R.arrival)==null?void 0:W.utcTime,"table")),1)]),e.createElementVNode("div",hx,[yx,e.createElementVNode("div",Ex,e.toDisplayString((U=(f=o.reportData)==null?void 0:f.voyage)==null?void 0:U.loadCondition),1)])])]),_x,e.createElementVNode("div",Nx,[(H=(G=o.reportData)==null?void 0:G.weather)!=null&&H.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",Vx," No specific thresholds in weather. ")):(e.openBlock(),e.createElementBlock("div",fx,[e.createElementVNode("div",gx,[Dx,e.createElementVNode("div",xx,"BF "+e.toDisplayString(((J=(Q=o.reportData)==null?void 0:Q.weather)==null?void 0:J.windScale)||"-"),1)]),(q=(X=o.reportData)==null?void 0:X.weather)!=null&&q.waveSwitch?(e.openBlock(),e.createElementBlock("div",bx,[Cx,e.createElementVNode("div",Sx,e.toDisplayString(((M=(V=o.reportData)==null?void 0:V.weather)==null?void 0:M.waveHeight)||"-")+" Meter",1)])):(s=($=o.reportData)==null?void 0:$.weather)!=null&&s.swellSwitch?(e.openBlock(),e.createElementBlock("div",kx,[Ax,e.createElementVNode("div",Bx,e.toDisplayString(((d=(j=o.reportData)==null?void 0:j.weather)==null?void 0:d.swellHeight)||"-")+" Meter",1)])):(oe=(v=o.reportData)==null?void 0:v.weather)!=null&&oe.sigSwitch?(e.openBlock(),e.createElementBlock("div",wx,[Tx,e.createElementVNode("div",Ox,e.toDisplayString(((ie=(ee=o.reportData)==null?void 0:ee.weather)==null?void 0:ie.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(de=(ce=o.reportData)==null?void 0:ce.weather)!=null&&de.waveSwitch||(_e=(re=o.reportData)==null?void 0:re.weather)!=null&&_e.swellHeight||(he=(ae=o.reportData)==null?void 0:ae.weather)!=null&&he.sigSwitch?(e.openBlock(),e.createElementBlock("div",Fx,[Px,e.createElementVNode("div",ux,e.toDisplayString((Ve=(Ne=o.reportData)==null?void 0:Ne.weather)==null?void 0:Ve.seaScale),1)])):e.createCommentVNode("",!0),(ge=(fe=o.reportData)==null?void 0:fe.weather)!=null&&ge.noAdverseCur?(e.openBlock(),e.createElementBlock("div",Lx,Wx)):e.createCommentVNode("",!0),(xe=(De=o.reportData)==null?void 0:De.weather)!=null&&xe.noExtrapolation?(e.openBlock(),e.createElementBlock("div",Hx,Mx)):e.createCommentVNode("",!0)])),e.createElementVNode("div",Gx,[e.createElementVNode("table",Ix,[Rx,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.cpDetail,(E,K)=>(e.openBlock(),e.createElementBlock("tr",{key:K},[e.createElementVNode("td",null,e.toDisplayString(E==null?void 0:E.type),1),e.createElementVNode("td",null,e.toDisplayString(`${E==null?void 0:E.speed} | ${E==null?void 0:E.spdOfOver} , ${E.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${E==null?void 0:E.fo} | ${E==null?void 0:E.over} , ${E.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${E==null?void 0:E.dgo} | ${E==null?void 0:E.over} , ${E.under}`),1)]))),128))])])])]),zx,e.createElementVNode("div",Ux,[((Ce=(be=o.reportData)==null?void 0:be.segments)==null?void 0:Ce.length)>1?(e.openBlock(),e.createElementBlock("div",Yx,[Zx,e.createElementVNode("div",$x,[e.createElementVNode("div",Qx,[Jx,e.createElementVNode("div",Kx,[(Oe=(Se=o.reportData)==null?void 0:Se.goodWx)!=null&&Oe.avgSpd?(e.openBlock(),e.createElementBlock("div",qx,e.toDisplayString((ye=(Fe=o.reportData)==null?void 0:Fe.goodWx)==null?void 0:ye.avgSpd)+" kts ",1)):(e.openBlock(),e.createElementBlock("div",Xx,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",jx,[vx,e.createElementVNode("div",eb,[(me=(P=o.reportData)==null?void 0:P.goodWx)!=null&&me.avgSpd?(e.openBlock(),e.createElementBlock("div",tb,e.toDisplayString((ue=(Pe=o.reportData)==null?void 0:Pe.goodWx)==null?void 0:ue.avgFoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",ob,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",lb,[ab,e.createElementVNode("div",nb,[(ke=(Le=o.reportData)==null?void 0:Le.goodWx)!=null&&ke.avgSpd?(e.openBlock(),e.createElementBlock("div",sb,e.toDisplayString((Ue=(We=o.reportData)==null?void 0:We.goodWx)==null?void 0:Ue.avgDgoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",ib,e.toDisplayString(l.noGoodWxDay),1))])])]),e.createElementVNode("div",cb,[e.createElementVNode("div",db,[rb,e.createElementVNode("div",mb,e.toDisplayString((z=(Ye=o.reportData)==null?void 0:Ye.allWx)==null?void 0:z.avgSpd)+" kts ",1)]),e.createElementVNode("div",pb,[hb,e.createElementVNode("div",yb,e.toDisplayString((Me=(we=o.reportData)==null?void 0:we.allWx)==null?void 0:Me.avgFoEcaCons)+" mt ",1)]),e.createElementVNode("div",Eb,[_b,e.createElementVNode("div",Nb,e.toDisplayString(($e=(Ze=o.reportData)==null?void 0:Ze.allWx)==null?void 0:$e.avgDgoEcaCons)+" mt ",1)])]),Vb])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Qe=o.reportData)==null?void 0:Qe.segments,(E,K)=>{var Te,He,Ge;return e.openBlock(),e.createElementBlock("div",{class:"summary-seg",key:K},[e.createElementVNode("div",fb,[e.createElementVNode("div",gb,[Db,e.createElementVNode("span",null,"Phase "+e.toDisplayString(K+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[K],(pe,qe)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+qe,class:e.normalizeClass(l.segDetail[K].length>1?"dashed":"")},[e.createElementVNode("div",xb,[e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.port1),1),e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.time1),1)]),e.createElementVNode("div",bb,[e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.port2),1),e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.time2),1)])],2))),128)),e.createElementVNode("div",Cb,[Sb,e.createElementVNode("div",null,[e.createElementVNode("span",kb,e.toDisplayString(E.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",Ab,[Bb,(Te=E.goodWx)!=null&&Te.distance?(e.openBlock(),e.createElementBlock("div",wb,[a.computedTimeConclusion(E.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",Tb,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(E.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",Ob,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(E.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",Fb,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Pb,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(E.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(E.timeConclusion).conclusion),1)])]),e.createElementVNode("div",ub,[Lb,(He=E.goodWx)!=null&&He.distance?(e.openBlock(),e.createElementBlock("div",Wb,[a.computedFuleConclusion(E.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",Hb,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(E.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",Mb,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Gb,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Ib,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(E.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",Rb,[zb,(Ge=E.goodWx)!=null&&Ge.distance?(e.openBlock(),e.createElementBlock("div",Ub,[a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",Yb,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",Zb,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",$b,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Qb,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",Jb,[Kb,e.createElementVNode("div",qb,[e.createElementVNode("div",Xb,[jb,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Je=o.reportData)==null?void 0:Je.segments,(E,K)=>(e.openBlock(),e.createElementBlock("div",{class:"remark-speed",key:K},[e.createElementVNode("div",vb,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${K+1}. Phase ${K+1} Applied `)+" ",1),e.createElementVNode("span",eC,e.toDisplayString(E.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.dgo)+"mt ) ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[K],(Te,He)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+He},e.toDisplayString(`${Te.port1} (${Te.fullTime1}) to ${Te.port2} (${Te.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",tC,[oC,l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",lC,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(E,K)=>(e.openBlock(),e.createElementBlock("div",{key:K},e.toDisplayString(`From ${E.begin} to ${E.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",aC,e.toDisplayString(l.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ke=o.reportData)==null?void 0:Ke.segments,(E,K)=>{var Te,He,Ge,pe,qe,je,ve,ot,lt,at,nt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ot,Ht,po,_o,No,Vo,fo,Y,tt,Ft,Pt,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,$t,Qt,Jt,Kt,qt,Xt,jt,vt,eo,to,oo,lo,ao,no,so,io,co,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Fo,Po,uo,Lo,Wo,Ho,Mo,Go,Io,Ro,Yo,Zo,$o,Qo,Jo,Ko,qo,Xo,jo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,yl,El;return e.openBlock(),e.createElementBlock("div",{class:"phase",key:K},[e.createElementVNode("div",nC,[e.createElementVNode("div",sC,[e.createElementVNode("div",iC,[e.createElementVNode("div",cC,[dC,e.createElementVNode("span",null,"Phase "+e.toDisplayString(K+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[K],(ut,Vl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Vl,class:e.normalizeClass(l.segDetail[K].length>1?"dashed":"")},[e.createElementVNode("div",rC,[e.createElementVNode("div",null,e.toDisplayString(ut==null?void 0:ut.port1),1),e.createElementVNode("div",null,e.toDisplayString(ut==null?void 0:ut.time1),1)]),e.createElementVNode("div",mC,[e.createElementVNode("div",null,e.toDisplayString(ut==null?void 0:ut.port2),1),e.createElementVNode("div",null,e.toDisplayString(ut==null?void 0:ut.time2),1)])],2))),128)),e.createElementVNode("div",pC,[hC,e.createElementVNode("div",null,[e.createElementVNode("span",yC,e.toDisplayString(E.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.dgo)+"mt",1)])])])]),EC,e.createElementVNode("div",_C,[e.createElementVNode("div",NC,[VC,e.createElementVNode("div",fC,[e.createElementVNode("span",null,e.toDisplayString(((Te=E.goodWx)==null?void 0:Te.avgFoEcaCons)||"-")+" mt",1)]),gC,e.createElementVNode("div",DC,[e.createElementVNode("span",null,e.toDisplayString(((He=E.allWx)==null?void 0:He.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",xC,[bC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ge=E.goodWx)==null?void 0:Ge.outEca.avgFoCons)||"-"),1),CC])]),e.createElementVNode("div",SC,[kC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pe=E.goodWx)==null?void 0:pe.inEca.avgFoEcaCons)||"-"),1),AC])]),e.createElementVNode("div",BC,[wC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((qe=E.allWx)==null?void 0:qe.outEca.avgFoCons)||"-"),1),TC])]),e.createElementVNode("div",OC,[FC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((je=E.allWx)==null?void 0:je.inEca.avgFoEcaCons)||"-"),1),PC])]),uC]),e.createElementVNode("div",LC,[WC,e.createElementVNode("div",HC,[e.createElementVNode("span",null,e.toDisplayString(((ve=E.goodWx)==null?void 0:ve.avgDgoEcaCons)||"-")+" mt",1)]),MC,e.createElementVNode("div",GC,[e.createElementVNode("span",null,e.toDisplayString(((ot=E.allWx)==null?void 0:ot.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",IC,[RC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((lt=E.goodWx)==null?void 0:lt.outEca.avgDgoCons)||"-"),1),zC])]),e.createElementVNode("div",UC,[YC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((at=E.goodWx)==null?void 0:at.inEca.avgDgoEcaCons)||"-"),1),ZC])]),e.createElementVNode("div",$C,[QC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((nt=E.allWx)==null?void 0:nt.outEca.avgDgoCons)||"-"),1),JC])]),e.createElementVNode("div",KC,[qC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=E.allWx)==null?void 0:pt.inEca.avgDgoEcaCons)||"-"),1),XC])]),jC])]),e.createElementVNode("div",vC,[e.createElementVNode("div",eS,[tS,e.createElementVNode("div",oS,[e.createElementVNode("span",null,e.toDisplayString(((ht=E.goodWx)==null?void 0:ht.distance)||"-")+" nm",1)]),lS,e.createElementVNode("div",aS,[e.createElementVNode("span",null,e.toDisplayString(((yt=E.allWx)==null?void 0:yt.distance)||"-")+" nm",1)]),e.createElementVNode("div",nS,[sS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Et=E.goodWx)==null?void 0:Et.outEca.distance)||"-"),1),iS])]),e.createElementVNode("div",cS,[dS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_t=E.goodWx)==null?void 0:_t.inEca.distance)||"-"),1),rS])]),e.createElementVNode("div",mS,[pS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=E.allWx)==null?void 0:Nt.outEca.distance)||"-"),1),hS])]),e.createElementVNode("div",yS,[ES,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vt=E.allWx)==null?void 0:Vt.inEca.distance)||"-"),1),_S])])]),e.createElementVNode("div",NS,[VS,e.createElementVNode("div",fS,[e.createElementVNode("span",null,e.toDisplayString(((ft=E.goodWx)==null?void 0:ft.time)||"-")+" hrs",1)]),gS,e.createElementVNode("div",DS,[e.createElementVNode("span",null,e.toDisplayString(((gt=E.allWx)==null?void 0:gt.time)||"-")+" hrs",1)]),e.createElementVNode("div",xS,[bS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=E.goodWx)==null?void 0:Dt.outEca.time)||"-"),1),CS])]),e.createElementVNode("div",SS,[kS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((xt=E.goodWx)==null?void 0:xt.inEca.time)||"-"),1),AS])]),e.createElementVNode("div",BS,[wS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=E.allWx)==null?void 0:bt.outEca.time)||"-"),1),TS])]),e.createElementVNode("div",OS,[FS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=E.allWx)==null?void 0:Ct.inEca.time)||"-"),1),PS])])]),e.createElementVNode("div",uS,[LS,e.createElementVNode("div",WS,[e.createElementVNode("span",null,e.toDisplayString(((St=E.goodWx)==null?void 0:St.avgSpd)||"-")+" kts",1)]),HS,e.createElementVNode("div",MS,[e.createElementVNode("span",null,e.toDisplayString(((kt=E.allWx)==null?void 0:kt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",GS,[IS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=E.goodWx)==null?void 0:At.outEca.avgSpd)||"-"),1),RS])]),e.createElementVNode("div",zS,[US,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Bt=E.goodWx)==null?void 0:Bt.inEca.avgSpd)||"-"),1),YS])]),e.createElementVNode("div",ZS,[$S,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=E.allWx)==null?void 0:wt.outEca.avgSpd)||"-"),1),QS])]),e.createElementVNode("div",JS,[KS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Tt=E.allWx)==null?void 0:Tt.inEca.avgSpd)||"-"),1),qS])])])]),e.createElementVNode("div",XS,[e.createElementVNode("div",jS,[vS,e.createElementVNode("div",e3,[e.createElementVNode("span",null,e.toDisplayString(((Ot=E.goodWx)==null?void 0:Ot.sumFoCons)||"-")+" mt",1)]),t3,e.createElementVNode("div",o3,[e.createElementVNode("span",null,e.toDisplayString(((Ht=E.allWx)==null?void 0:Ht.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",l3,[a3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((po=E.goodWx)==null?void 0:po.outEca.sumFoCons)||"-"),1),n3])]),e.createElementVNode("div",s3,[i3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_o=E.goodWx)==null?void 0:_o.inEca.sumFoCons)||"-"),1),c3])]),e.createElementVNode("div",d3,[r3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((No=E.allWx)==null?void 0:No.outEca.sumFoCons)||"-"),1),m3])]),e.createElementVNode("div",p3,[h3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vo=E.allWx)==null?void 0:Vo.inEca.sumFoCons)||"-"),1),y3])])]),e.createElementVNode("div",E3,[_3,e.createElementVNode("div",N3,[e.createElementVNode("span",null,e.toDisplayString(((fo=E.goodWx)==null?void 0:fo.sumDgoCons)||"-")+" mt",1)]),V3,e.createElementVNode("div",f3,[e.createElementVNode("span",null,e.toDisplayString(((Y=E.allWx)==null?void 0:Y.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",g3,[D3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((tt=E.goodWx)==null?void 0:tt.outEca.sumDgoCons)||"-"),1),x3])]),e.createElementVNode("div",b3,[C3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=E.goodWx)==null?void 0:Ft.inEca.sumDgoCons)||"-"),1),S3])]),e.createElementVNode("div",k3,[A3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Pt=E.allWx)==null?void 0:Pt.outEca.sumDgoCons)||"-"),1),B3])]),e.createElementVNode("div",w3,[T3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Mt=E.allWx)==null?void 0:Mt.inEca.sumDgoCons)||"-"),1),O3])])]),e.createElementVNode("div",F3,[P3,e.createElementVNode("div",u3,[e.createElementVNode("span",null,e.toDisplayString(((Gt=E.goodWx)==null?void 0:Gt.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",L3,[W3,(It=E.goodWx)!=null&&It.distance&&!((zt=(Rt=o.reportData)==null?void 0:Rt.weather)!=null&&zt.favorableCur&&((Ut=E.goodWx)==null?void 0:Ut.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",H3,[e.createTextVNode(e.toDisplayString(a.computedPositive((Yt=E.goodWx)==null?void 0:Yt.avgCf)),1),M3])):(e.openBlock(),e.createElementBlock("b",G3,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",I3,[e.createElementVNode("div",R3,[z3,(Zt=E.goodWx)!=null&&Zt.distance?(e.openBlock(),e.createElementBlock("div",U3,[a.computedTimeConclusion(E.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",Y3,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(E.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",Z3,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(E.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",$3,[e.createElementVNode("span",Q3,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",J3,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(E.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(E.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${($t=E.goodWx)!=null&&$t.distance?"":"analysis-none"} card analysis-card`)},[(Qt=E.goodWx)!=null&&Qt.distance?(e.openBlock(),e.createElementBlock("div",K3,[e.createElementVNode("div",q3,[X3,j3,e.createElementVNode("div",v3,[e.createElementVNode("div",null,e.toDisplayString((Kt=(Jt=o.reportData)==null?void 0:Jt.weather)!=null&&Kt.noExtrapolation?(qt=E.goodWx)==null?void 0:qt.distance:(Xt=E.allWx)==null?void 0:Xt.distance),1),ek,e.createElementVNode("div",null,e.toDisplayString((jt=E.goodWx)==null?void 0:jt.pfmSpd),1)]),tk,e.createElementVNode("div",ok,e.toDisplayString(E.timeConclusion.timeAtPfmSpd)+" Hrs",1),lk]),e.createElementVNode("div",ak,[nk,sk,e.createElementVNode("div",ik,[e.createElementVNode("div",null,e.toDisplayString((eo=(vt=o.reportData)==null?void 0:vt.weather)!=null&&eo.noExtrapolation?(to=E.goodWx)==null?void 0:to.distance:(oo=E.allWx)==null?void 0:oo.distance),1),ck,e.createElementVNode("div",null,e.toDisplayString(E.timeConclusion.minusAbtSpd),1)]),dk,e.createElementVNode("div",rk,e.toDisplayString(E.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),mk]),e.createElementVNode("div",pk,[hk,yk,e.createElementVNode("div",Ek,[e.createElementVNode("div",null,e.toDisplayString((ao=(lo=o.reportData)==null?void 0:lo.weather)!=null&&ao.noExtrapolation?(no=E.goodWx)==null?void 0:no.distance:(so=E.allWx)==null?void 0:so.distance),1),_k,e.createElementVNode("div",null,e.toDisplayString(E.timeConclusion.plusAbtSpd),1)]),Nk,e.createElementVNode("div",Vk,e.toDisplayString(E.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),fk])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",gk,[e.createElementVNode("div",Dk,[xk,(io=E.goodWx)!=null&&io.distance?(e.openBlock(),e.createElementBlock("div",bk,[a.computedFuleConclusion(E.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",Ck,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(E.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",Sk,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",kk,[e.createElementVNode("span",Ak,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Bk,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(E.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(co=E.goodWx)!=null&&co.distance?"":"analysis-none"} card analysis-card`)},[(go=E.goodWx)!=null&&go.distance?(e.openBlock(),e.createElementBlock("div",wk,[e.createElementVNode("div",Tk,[Ok,Fk,e.createElementVNode("div",Pk,[e.createElementVNode("div",null,e.toDisplayString((xo=(Do=o.reportData)==null?void 0:Do.weather)!=null&&xo.noExtrapolation?(bo=E.goodWx)==null?void 0:bo.distance:(Co=E.allWx)==null?void 0:Co.distance),1),uk,e.createElementVNode("div",null,e.toDisplayString((So=E.goodWx)==null?void 0:So.pfmSpd),1)]),Lk,e.createElementVNode("div",Wk,[e.createElementVNode("div",null,e.toDisplayString((ko=E.goodWx)==null?void 0:ko.sumFoCons)+" "+e.toDisplayString(((Ao=E.allWx)==null?void 0:Ao.inEca.distance)>0?` + ${E.fuelConclusion.fo.dgoAsFoCons}`:""),1),Hk,e.createElementVNode("div",null,e.toDisplayString((Bo=E.goodWx)==null?void 0:Bo.time),1)]),Mk,e.createElementVNode("div",Gk,e.toDisplayString(E.fuelConclusion.fo.entireCons)+" MT",1),Ik]),e.createElementVNode("div",Rk,[zk,Uk,e.createElementVNode("div",Yk,[e.createElementVNode("div",null,e.toDisplayString((To=(wo=o.reportData)==null?void 0:wo.weather)!=null&&To.noExtrapolation?(Oo=E.goodWx)==null?void 0:Oo.distance:(Fo=E.allWx)==null?void 0:Fo.distance),1),Zk,e.createElementVNode("div",null,e.toDisplayString(E.timeConclusion.minusAbtSpd),1)]),$k,e.createElementVNode("div",Qk,[e.createElementVNode("div",null,e.toDisplayString(E.fuelConclusion.fo.overTolerance),1),Jk,Kk]),qk,e.createElementVNode("div",Xk,e.toDisplayString(E.fuelConclusion.fo.maxCons)+" MT",1),jk]),e.createElementVNode("div",vk,[e4,t4,e.createElementVNode("div",o4,[e.createElementVNode("div",null,e.toDisplayString((uo=(Po=o.reportData)==null?void 0:Po.weather)!=null&&uo.noExtrapolation?(Lo=E.goodWx)==null?void 0:Lo.distance:(Wo=E.allWx)==null?void 0:Wo.distance),1),l4,e.createElementVNode("div",null,e.toDisplayString(E.timeConclusion.minusAbtSpd),1)]),a4,e.createElementVNode("div",n4,[e.createElementVNode("div",null,e.toDisplayString(E.fuelConclusion.fo.underTolerance),1),s4,i4]),c4,e.createElementVNode("div",d4,e.toDisplayString(E.fuelConclusion.fo.minCons)+" MT",1),r4])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",m4,[e.createElementVNode("div",p4,[h4,(Ho=E.goodWx)!=null&&Ho.distance?(e.openBlock(),e.createElementBlock("div",y4,[a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",E4,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",_4,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",N4,[e.createElementVNode("span",V4,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",f4,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Mo=E.goodWx)!=null&&Mo.distance?"":"analysis-none"} card analysis-card`)},[(Go=E.goodWx)!=null&&Go.distance?(e.openBlock(),e.createElementBlock("div",g4,[e.createElementVNode("div",D4,[x4,b4,e.createElementVNode("div",C4,[e.createElementVNode("div",null,e.toDisplayString((Ro=(Io=o.reportData)==null?void 0:Io.weather)!=null&&Ro.noExtrapolation?(Yo=E.goodWx)==null?void 0:Yo.distance:(Zo=E.allWx)==null?void 0:Zo.distance),1),S4,e.createElementVNode("div",null,e.toDisplayString(($o=E.goodWx)==null?void 0:$o.pfmSpd),1)]),k4,e.createElementVNode("div",A4,[e.createElementVNode("div",null,e.toDisplayString((Qo=E.goodWx)==null?void 0:Qo.sumDgoCons)+" "+e.toDisplayString(((Jo=E.allWx)==null?void 0:Jo.inEca.distance)>0?` - ${E.fuelConclusion.fo.dgoAsFoCons}`:""),1),B4,e.createElementVNode("div",null,e.toDisplayString((Ko=E.goodWx)==null?void 0:Ko.time),1)]),w4,e.createElementVNode("div",T4,e.toDisplayString(E.fuelConclusion.dgo.entireCons)+" MT",1),O4]),e.createElementVNode("div",F4,[P4,u4,e.createElementVNode("div",L4,[e.createElementVNode("div",null,e.toDisplayString((Xo=(qo=o.reportData)==null?void 0:qo.weather)!=null&&Xo.noExtrapolation?(jo=E.goodWx)==null?void 0:jo.distance:(vo=E.allWx)==null?void 0:vo.distance),1),W4,e.createElementVNode("div",null,e.toDisplayString(E.timeConclusion.minusAbtSpd),1)]),H4,e.createElementVNode("div",M4,[e.createElementVNode("div",null,e.toDisplayString(E.fuelConclusion.dgo.overTolerance),1),G4,I4]),R4,e.createElementVNode("div",z4,e.toDisplayString(E.fuelConclusion.dgo.maxCons)+" MT",1),U4]),e.createElementVNode("div",Y4,[Z4,$4,e.createElementVNode("div",Q4,[e.createElementVNode("div",null,e.toDisplayString((tl=(el=o.reportData)==null?void 0:el.weather)!=null&&tl.noExtrapolation?(ol=E.goodWx)==null?void 0:ol.distance:(ll=E.allWx)==null?void 0:ll.distance),1),J4,e.createElementVNode("div",null,e.toDisplayString(E.timeConclusion.minusAbtSpd),1)]),K4,e.createElementVNode("div",q4,[e.createElementVNode("div",null,e.toDisplayString(E.fuelConclusion.dgo.underTolerance),1),X4,j4]),v4,e.createElementVNode("div",e5,e.toDisplayString(E.fuelConclusion.dgo.minCons)+" MT",1),t5])])):e.createCommentVNode("",!0)],2)])]),o5,e.createElementVNode("div",l5,[e.createElementVNode("div",a5,[n5,e.createElementVNode("div",s5,[e.createElementVNode("div",i5,[c5,d5,e.createElementVNode("div",r5,[e.createElementVNode("div",null,e.toDisplayString((nl=(al=o.reportData)==null?void 0:al.weather)!=null&&nl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),m5,p5]),h5]),e.createElementVNode("div",y5,[E5,_5,e.createElementVNode("div",N5,[e.createElementVNode("div",null,e.toDisplayString((il=(sl=o.reportData)==null?void 0:sl.weather)!=null&&il.noExtrapolation?"Good Weather Distance":"Total Distance"),1),V5,f5]),g5]),e.createElementVNode("div",D5,[x5,b5,e.createElementVNode("div",C5,[e.createElementVNode("div",null,e.toDisplayString((dl=(cl=o.reportData)==null?void 0:cl.weather)!=null&&dl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),S5,k5]),A5]),B5])]),e.createElementVNode("div",w5,[T5,e.createElementVNode("div",O5,[e.createElementVNode("div",F5,[P5,u5,e.createElementVNode("div",L5,[e.createElementVNode("div",null,e.toDisplayString((ml=(rl=o.reportData)==null?void 0:rl.weather)!=null&&ml.noExtrapolation?"Good Weather Distance":"Total Distance"),1),W5,H5]),M5,G5,I5]),e.createElementVNode("div",R5,[z5,U5,e.createElementVNode("div",Y5,[e.createElementVNode("div",null,e.toDisplayString((hl=(pl=o.reportData)==null?void 0:pl.weather)!=null&&hl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),Z5,$5]),Q5,J5,K5]),e.createElementVNode("div",q5,[X5,j5,e.createElementVNode("div",v5,[e.createElementVNode("div",null,e.toDisplayString((El=(yl=o.reportData)==null?void 0:yl.weather)!=null&&El.noExtrapolation?"Good Weather Distance":"Total Distance"),1),e8,t8]),o8,l8,a8]),n8,s8])])])])])}),128))])],2)}const c8=Ee(UD,[["render",i8],["__scopeId","data-v-9be6b8be"]]),yoe="",d8={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),t},computedClass(){return function(t,n,o,c){var p;let l="";const a=((p=this.summaryTable)==null?void 0:p.length)-1;return o&&n!==a&&(l=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),(t==null?void 0:t.goodWx)===!0&&!c&&(l=l+" good-weather"),(t==null?void 0:t.excluded)===!0&&!c&&(l=l+" excluded"),l}},computedSegClass(){return function(t,n){var c,l;const o=((c=this.summaryTable)==null?void 0:c.length)-1;if(o>-1){if(t.isFirstSeg&&n!==o)return"td-no-bottom td-top";if((l=this.summaryTable[n+1])!=null&&l.isFirstSeg)return"td-bottom";if(n!==o)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(t){var n;return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&(n=t.noon)!=null&&n.port)}},computedTime(){return function(t,n){return n==="subtitle"?T(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n==="table"?T(t).utc().format("MMMM-DD/HHmm[Z]"):T(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var c,l,a,p;this.showCF=(l=(c=this.reportData)==null?void 0:c.weather)==null?void 0:l.showCF,this.showAisDistance=!0;let t=[];(p=(a=this.reportData)==null?void 0:a.segments)==null||p.forEach((i,_)=>{let g=i.extend.cp;i.inventory.sample.hours.forEach((S,h)=>{let N=JSON.parse(JSON.stringify(S));N.cp=g,t.push(N)})}),t.sort(function(i,_){let g=i.date,S=_.date;return g-S});let n="",o="";t.forEach((i,_)=>{i.seg!==n&&(i.isFirstSeg=!0,n=i.seg);let g=i.type.charAt(0);i.abbreviation=g;const S=T(i.utc).utc().format("D-MMM");S!==o&&(i.lastdate=S,o=S),g==="A"?i.type="":g==="M"&&(i.type="*"),i.time=T(i.utc).utc().format("HH:mm[Z]"),i.lngPretty=this.getLonLat(te.LngLatHelper.lng2pretty(i.lng)),i.latPretty=this.getLonLat(te.LngLatHelper.lat2pretty(i.lat))}),this.summaryTable=t}}},rn=t=>(e.pushScopeId("data-v-a420dc44"),t=t(),e.popScopeId(),t),r8=rn(()=>e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),m8={class:"table",id:"second-table"},p8={class:"summary-table"},h8=rn(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg"),e.createElementVNode("th",{rowspan:"2"},"Type"),e.createElementVNode("th",{rowspan:"2"}," Date "),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{colspan:"2"},"Coordinates"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("CP Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{rowspan:"2"},"Beaufort Wind Scale"),e.createElementVNode("th",{colspan:"2"},"Swell"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sig. Wave"),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Current Factor"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Speed"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{colspan:"2"},"CP Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported Daily Fuel Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported BROB (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Lat"),e.createElementVNode("th",null,"Lon"),e.createElementVNode("th",null,"Direction"),e.createElementVNode("th",null,"Height (m)"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),y8={class:"summary-tbody"},E8=e.createStaticVNode('<div style="page-break-inside:avoid;" class="table-legend dashed" data-v-a420dc44><div class="item" data-v-a420dc44><div class="legend" data-v-a420dc44><div class="legend-bg gwd" data-v-a420dc44></div></div> Good Weather Days </div><div class="item" data-v-a420dc44><div class="legend" data-v-a420dc44><div class="legend-bg adverse" data-v-a420dc44></div></div> Adverse Weather Days </div><div class="item" data-v-a420dc44><div class="legend" data-v-a420dc44><div class="legend-bg excluded" data-v-a420dc44></div></div> Excluded Periods </div></div>',1),_8={class:"voyage-map",style:{"page-break-inside":"avoid"}},N8=rn(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),V8=["src"],f8=e.createStaticVNode('<div class="legend-block" data-v-a420dc44><div style="position:relative;left:-20px;" data-v-a420dc44><div style="position:relative;display:inline-block;top:-12px;left:15px;transform:scale(0.95);" data-v-a420dc44><div data-v-a420dc44>7</div><br data-v-a420dc44><div data-v-a420dc44>W 4</div></div><i class="iconfont" style="font-size:30px;font-weight:600;position:relative;top:-20px;margin:8px 0 0 4px;color:var(--idm-black-6);" data-v-a420dc44></i><div style="display:inline-block;transform:scale(0.95);text-align:left;margin-left:5px;" data-v-a420dc44> LEGEND: <br data-v-a420dc44> Wind from NE(045) <br data-v-a420dc44> Each barb = 10 kts <br data-v-a420dc44> 1/2 barb = 5 kts <br data-v-a420dc44></div></div><div style="transform:scale(0.95);" data-v-a420dc44> 7 - DAY OF THE MONTH <br data-v-a420dc44> W 4 - PRIMARY WAVE FROM WEST, 4 METERS<br data-v-a420dc44><div class="goodWx" data-v-a420dc44>Date</div> Good weather days<br data-v-a420dc44></div></div>',1);function g8(t,n,o,c,l,a){var p,i,_,g,S;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((i=(p=o.reportData)==null?void 0:p.weather)!=null&&i.referenceOnly||(g=(_=o.reportData)==null?void 0:_.weather)!=null&&g.overallAsGoodWx?"watermark fli-main":"fli-main")},[r8,e.createElementVNode("div",m8,[e.createElementVNode("div",null,[e.createElementVNode("table",p8,[h8,e.createElementVNode("tbody",y8,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(h,N)=>{var x,r,C,k,F,L,w,O,b,u,I,Z,R,W,f,U,G,H,Q,J,X,q;return e.openBlock(),e.createElementBlock("tr",{key:N},[e.createElementVNode("td",{class:e.normalizeClass(a.computedSegClass(h,N))},e.toDisplayString(h.isFirstSeg?h.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(h.type),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(h.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(h.time),3),a.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(h.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(h.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString((x=h.noon)==null?void 0:x.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(r=h.cp)==null?void 0:r.speed),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N,!0))},e.toDisplayString(h.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N,!0))},e.toDisplayString(h.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(((k=(C=h.meteo)==null?void 0:C.wind)==null?void 0:k.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(((w=(L=(F=h.meteo)==null?void 0:F.wave)==null?void 0:L.swell)==null?void 0:w.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(((u=(b=(O=h.meteo)==null?void 0:O.wave)==null?void 0:b.swell)==null?void 0:u.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(((R=(Z=(I=h.meteo)==null?void 0:I.wave)==null?void 0:Z.sig)==null?void 0:R.height)??"--"),3),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(((W=h.meteo)==null?void 0:W.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":h.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((f=h.noon)==null?void 0:f.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((U=h.noon)==null?void 0:U.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(G=h.cp)==null?void 0:G.fo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(H=h.cp)==null?void 0:H.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((Q=h.noon)==null?void 0:Q.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((J=h.noon)==null?void 0:J.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":(X=h.noon)==null?void 0:X.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":(q=h.noon)==null?void 0:q.dgoBrob),3)])}),128))])])])]),E8,e.createElementVNode("div",_8,[N8,e.createElementVNode("img",{style:{width:"100%"},src:(S=o.reportData)==null?void 0:S.chartUrl,alt:""},null,8,V8),f8])],2)}const D8=Ee(d8,[["render",g8],["__scopeId","data-v-a420dc44"]]),Eoe="",x8={components:{Summary:c8,Inventory:D8},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},b8={class:"voyage-report"};function C8(t,n,o,c,l,a){const p=e.resolveComponent("Summary"),i=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",b8,[e.createVNode(p,{reportData:l.reportData,class:"main","editor-disabled":o.editorDisabled,onCommit:a.commit},null,8,["reportData","editor-disabled","onCommit"]),e.createVNode(i,{isAdmin:o.isAdmin,reportData:l.reportData,class:"main"},null,8,["isAdmin","reportData"])])}const xn=Ee(x8,[["render",C8],["__scopeId","data-v-7345a543"]]),_oe="",S8={components:{Lng:en,Lat:tn,Editor:zo},props:{report:{type:Object,default:()=>({})}},data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:""}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${T(t).utc().format(n)}`}},computeWeatherDef(){return function(t){let n="";t!=null&&t.waveSwitch?n+=`Wind wave height is ${t==null?void 0:t.waveHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.swellSwitch?n+=`Swell height is ${t==null?void 0:t.swellHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.sigSwitch&&(n+=`Significant wave height is ${t==null?void 0:t.sigHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`);let o=`Winds are BF/${t==null?void 0:t.windScale} or less, ${n}`;return t!=null&&t.noAdverseCur&&(o+=", No Adverse Current"),t!=null&&t.waterTempSwitch&&(o+=`, water temperature is ${t==null?void 0:t.waterTemp} °C or less`),t!=null&&t.noExtrapolation&&(o+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(o="No specific thresholds for wind/wave/currents are defined in the Charter Party. Therefore the Good Weather Definition in this reports does not apply any thresholds."),o}},computeLng(){return function(t){return te.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return te.LngLatHelper.lat2pretty(t)}},computeAbtSpeed(){return function(t,n,o){return o==="Over"?t.abt4SpdOver:t.abt4SpdUnder}},computeAbtCons(){return function(t,n){return t.consPercentage?n==="Over"?`${t.consOfOver}%`:`${t.consOfUnder}%`:n==="Over"?`${t.consOfOver}`:`${t.consOfUnder}`}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,n;this.remarks=this.report.remarks||"Please double click to modify remark",this.exclusion=[],(n=(t=this.report)==null?void 0:t.segments)==null||n.forEach((o,c)=>{const l=o.excluded;l.sumDistance>0&&l.detail.forEach(a=>{const p={time:T(a.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+T(a.end).utc().format("MMM-DD/HHmm[Z]"),duration:a.duration,distance:a.distance,fo:a.foCons,dgo:a.dgoCons};this.exclusion.push(p)})})},handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleEdit(){this.editable=!0}}},m=t=>(e.pushScopeId("data-v-ba7d7ffb"),t=t(),e.popScopeId(),t),k8={class:"report-summary"},A8={class:"section voyage-section flex-space"},B8={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},w8={class:"flex-space label-block",style:{width:"100%"}},T8=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),O8={style:{"text-transform":"uppercase"}},F8={class:"flex-space label-block",style:{width:"100%"}},P8=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),u8={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},L8={class:"flex-space label-block",style:{width:"100%"}},W8=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),H8={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},M8={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},G8={class:"flex-space label-block",style:{width:"100%"}},I8=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),R8={key:0,class:"flex-end",style:{flex:"1"}},z8={key:1,class:"flex-end",style:{flex:"1"}},U8=m(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Y8={class:"flex-end",style:{width:"150px"}},Z8={class:"flex-space label-block",style:{width:"100%"}},$8=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),Q8={key:0,class:"flex-end",style:{flex:"1"}},J8={key:1,class:"flex-end",style:{flex:"1"}},K8=m(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),q8={class:"flex-end",style:{width:"150px"}},X8={class:"flex-space label-block",style:{width:"100%"}},j8=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),v8={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},eA={class:"section weather-section"},tA=m(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),oA={class:"definition"},lA={class:"txt"},aA={class:"section summary-section"},nA=m(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),sA={class:"phase-box"},iA={class:"phase-index"},cA={class:"phase-position"},dA={key:0},rA={key:1},mA=m(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),pA={class:"phase-position"},hA={key:0},yA={key:1},EA=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),_A={class:"phase-cp flex-space"},NA={class:"cp-box"},VA=m(()=>e.createElementVNode("div",{class:"flex-space"},[e.createElementVNode("label",null,"CP"),e.createElementVNode("label",null,"SPEED (kts)"),e.createElementVNode("label",null,"DAILY FO CONS (mt)"),e.createElementVNode("label",null,"DAILY DO/GO CONS (mt)")],-1)),fA={class:"flex-space"},gA=m(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),DA=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),xA=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),bA=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),CA=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),SA=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),kA=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),AA=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),BA={class:"phase-conclusion flex-space"},wA={class:"item-conclusion"},TA=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),OA={class:"value flex-start"},FA=m(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),PA={key:0,class:"label flex-end"},uA={key:0},LA={key:1},WA={key:2},HA={key:1,class:"label flex-end"},MA={key:2,class:"value flex-end"},GA={key:0},IA=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),RA={class:"gain"},zA=m(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),UA={key:1},YA=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),ZA={class:"lost"},$A=m(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),QA={key:2},JA={class:"item-conclusion"},KA=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),qA={class:"value flex-start"},XA=m(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),jA={key:0,class:"label flex-end"},vA={key:0},eB={key:1},tB={key:2},oB={key:1,class:"label flex-end"},lB={key:2,class:"value flex-end"},aB={key:0},nB=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),sB={class:"gain"},iB=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),cB={key:1},dB=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),rB={class:"lost"},mB=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),pB={key:2},hB={class:"item-conclusion"},yB=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),EB={class:"value flex-start"},_B=m(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),NB={key:0,class:"label flex-end"},VB={key:0},fB={key:1},gB={key:2},DB={key:1,class:"label flex-end"},xB={key:2,class:"value flex-end"},bB={key:0},CB=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),SB={class:"gain"},kB=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),AB={key:1},BB=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),wB={class:"lost"},TB=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),OB={key:2},FB=m(()=>e.createElementVNode("div",{class:"tips flex-end"}," *Please see voyage analysis pages for the details. ",-1)),PB=m(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),uB={key:0,class:"exclusion-block"},LB=m(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),WB=m(()=>e.createElementVNode("div",{class:"sub-title"},[e.createElementVNode("div",null," The voyage analysis does not include following information on time, distance, and consumed fuel. ")],-1)),HB={style:{margin:"8px 0"}},MB={class:"remark-table"},GB=m(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td"),e.createElementVNode("td",{style:{width:"40%"}},"Time"),e.createElementVNode("td",null,"Duration (hrs)"),e.createElementVNode("td",null,"Distance (nm)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),IB=["innerHTML"],RB={class:"section segment-section"},zB=m(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),UB={class:"segment-index flex-center"},YB={class:"segment-position"},ZB={key:0},$B={key:1},QB=m(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),JB={class:"segment-position"},KB={key:0},qB={key:1},XB=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),jB={style:{margin:"10px 0 0"}},vB=m(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label",style:{width:"35%"}}),e.createElementVNode("td",{class:"label",colspan:"2"},"Good Weather"),e.createElementVNode("td",{class:"label",colspan:"2"},"All Weather")],-1)),ew=m(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label"}),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA"),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA")],-1)),tw=m(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),ow={class:"good-wx"},lw={class:"good-wx"},aw=m(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),nw={class:"good-wx"},sw={class:"good-wx"},iw=m(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),cw={class:"good-wx"},dw={class:"good-wx"},rw=m(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),mw={class:"good-wx"},pw={class:"good-wx"},hw=m(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),yw={class:"good-wx"},Ew={class:"good-wx"},_w=m(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),Nw={class:"good-wx"},Vw={class:"good-wx"},fw=m(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),gw={class:"good-wx"},Dw={class:"good-wx"},xw={key:0,class:"flex-end tip"},bw={key:1,class:"segment-speed"},Cw={class:"flex-center"},Sw=m(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),kw={class:"speed-right flex-space"},Aw=m(()=>e.createElementVNode("span",null,"-",-1)),Bw=m(()=>e.createElementVNode("span",null,"-",-1)),ww=m(()=>e.createElementVNode("label",null,"=",-1)),Tw={class:"speed"},Ow=m(()=>e.createElementVNode("span",null,"-",-1)),Fw=m(()=>e.createElementVNode("label",null,"=",-1)),Pw={class:"speed"},uw={key:2,class:"under"},Lw={key:3,class:"over"},Ww={class:"flex-center"},Hw=m(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Mw={class:"speed-right formula flex-space"},Gw=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Iw=m(()=>e.createElementVNode("label",null,"-",-1)),Rw=m(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),zw=m(()=>e.createElementVNode("label",null,"-",-1)),Uw=m(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Yw=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Zw=m(()=>e.createElementVNode("label",null,"-",-1)),$w=m(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Qw=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Jw=m(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),Kw={key:2,class:"segment-speed"},qw={class:"flex-center"},Xw=m(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),jw={class:"speed-right flex-space"},vw=m(()=>e.createElementVNode("span",null,"-",-1)),e7=m(()=>e.createElementVNode("span",null,"-",-1)),t7=m(()=>e.createElementVNode("label",null,"=",-1)),o7={class:"speed"},l7=m(()=>e.createElementVNode("span",null,"-",-1)),a7=m(()=>e.createElementVNode("label",null,"=",-1)),n7={class:"speed"},s7={key:2,class:"under"},i7={key:3,class:"over"},c7={class:"flex-center"},d7=m(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),r7={class:"speed-right formula flex-space"},m7=m(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),p7=m(()=>e.createElementVNode("label",null,"-",-1)),h7=m(()=>e.createElementVNode("label",null,"Current Factor",-1)),y7=m(()=>e.createElementVNode("label",null,"-",-1)),E7=m(()=>e.createElementVNode("label",null,"Weather Factor",-1)),_7=m(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),N7=m(()=>e.createElementVNode("label",null,"-",-1)),V7=m(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),f7=m(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),g7=m(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),D7={class:"segment-formula"},x7={class:"header-block flex-start"},b7=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),C7={class:"title"},S7={key:0,style:{"margin-left":"4px","font-weight":"300"}},k7={class:"formula-block"},A7={class:"flex-evenly"},B7=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),w7={class:"formula-right flex-evenly"},T7={class:"fraction",style:{width:"240px"}},O7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),F7=m(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),P7=m(()=>e.createElementVNode("div",null,"(a)",-1)),u7={class:"flex-center"},L7={class:"formula-left flex-space"},W7=m(()=>e.createElementVNode("label",null,"=",-1)),H7={class:"formula-right flex-evenly"},M7={class:"fraction",style:{width:"240px"}},G7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),I7=m(()=>e.createElementVNode("div",null,"(b)",-1)),R7={class:"flex-center"},z7={class:"formula-left flex-space"},U7=m(()=>e.createElementVNode("label",null,"=",-1)),Y7={class:"formula-right flex-evenly"},Z7={class:"fraction",style:{width:"240px"}},$7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),Q7=m(()=>e.createElementVNode("div",null,"(c)",-1)),J7=e.createStaticVNode('<div class="flex-start" data-v-ba7d7ffb><div class="flex-space" style="width:300px;font-weight:400;" data-v-ba7d7ffb><label data-v-ba7d7ffb>Time Lost</label><div data-v-ba7d7ffb>=</div><div data-v-ba7d7ffb>(a)</div><div data-v-ba7d7ffb>-</div><div data-v-ba7d7ffb>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-ba7d7ffb><label data-v-ba7d7ffb>Time Gained</label><div data-v-ba7d7ffb>=</div><div data-v-ba7d7ffb>(c)</div><div data-v-ba7d7ffb>-</div><div data-v-ba7d7ffb>(a)</div></div></div>',1),K7={class:"formula-desc"},q7={class:"flex-end"},X7=m(()=>e.createElementVNode("label",null,"Time Lost",-1)),j7={class:"flex-end"},v7=m(()=>e.createElementVNode("label",null,"Time Gained",-1)),e9={class:"flex-end"},t9=m(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),o9={key:0,class:"formula-block",style:{"font-weight":"400"}},l9={class:"flex-evenly"},a9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),n9={class:"formula-right flex-evenly"},s9={class:"fraction",style:{width:"240px"}},i9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),c9=m(()=>e.createElementVNode("div",null,"=",-1)),d9=m(()=>e.createElementVNode("div",null,"(a')",-1)),r9={class:"flex-center"},m9={class:"formula-left flex-space"},p9=m(()=>e.createElementVNode("label",null,"=",-1)),h9={class:"formula-right flex-evenly"},y9={class:"fraction",style:{width:"240px"}},E9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),_9=m(()=>e.createElementVNode("div",null,"=",-1)),N9=m(()=>e.createElementVNode("div",null,"(b')",-1)),V9={class:"flex-center"},f9={class:"formula-left flex-space"},g9=m(()=>e.createElementVNode("label",null,"=",-1)),D9={class:"formula-right flex-evenly"},x9={class:"fraction",style:{width:"240px"}},b9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),C9=m(()=>e.createElementVNode("div",null,"=",-1)),S9=m(()=>e.createElementVNode("div",null,"(c')",-1)),k9={class:"formula-conclusion",style:{"margin-bottom":"0"}},A9={key:0,class:"flex-evenly",style:{width:"500px"}},B9=m(()=>e.createElementVNode("div",null,"Time Lost",-1)),w9=m(()=>e.createElementVNode("div",null,"=",-1)),T9=m(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),O9=m(()=>e.createElementVNode("div",null,"=",-1)),F9=m(()=>e.createElementVNode("div",null,"-",-1)),P9=m(()=>e.createElementVNode("div",null,"=",-1)),u9={key:1,class:"flex-evenly",style:{width:"500px"}},L9=m(()=>e.createElementVNode("div",null,"Time Lost",-1)),W9=m(()=>e.createElementVNode("div",null,"=",-1)),H9=m(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),M9=m(()=>e.createElementVNode("div",null,"=",-1)),G9=m(()=>e.createElementVNode("div",null,"-",-1)),I9=m(()=>e.createElementVNode("div",null,"=",-1)),R9=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),z9={key:1,class:"formula-conclusion"},U9=m(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),Y9={class:"segment-formula"},Z9={class:"header-block flex-start"},$9=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Q9={class:"title"},J9={key:0,style:{"margin-left":"4px","font-weight":"300"}},K9={class:"formula-block"},q9={class:"flex-evenly"},X9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),j9={class:"formula-right flex-evenly"},v9={class:"fraction",style:{width:"240px"}},e6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),t6=m(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),o6=m(()=>e.createElementVNode("div",null,"x",-1)),l6=m(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Good Weather Consumption*"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),a6=m(()=>e.createElementVNode("div",null,"(d)",-1)),n6={style:{"line-height":"1"}},s6=m(()=>e.createElementVNode("div",{class:"tips flex-end",style:{"font-size":"14px"}},"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),i6={key:0,class:"tips flex-end",style:{"font-size":"14px"}},c6={class:"flex-center"},d6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),r6={class:"formula-right flex-evenly"},m6={class:"fraction",style:{width:"240px"}},p6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),h6=m(()=>e.createElementVNode("div",null,"x",-1)),y6=m(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Daily CP Consumption + Consumer Over"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"24 hours")],-1)),E6=m(()=>e.createElementVNode("div",null,"(e)",-1)),_6={class:"flex-center"},N6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),V6={class:"formula-right flex-evenly"},f6={class:"fraction",style:{width:"240px"}},g6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),D6=m(()=>e.createElementVNode("div",null,"x",-1)),x6=m(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Daily CP Consumption - Consumer Under"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"24 hours")],-1)),b6=m(()=>e.createElementVNode("div",null,"(f)",-1)),C6=e.createStaticVNode('<div class="flex-start" data-v-ba7d7ffb><div class="flex-space" style="width:300px;font-weight:400;" data-v-ba7d7ffb><label data-v-ba7d7ffb>Fuel Over-consumption</label><div data-v-ba7d7ffb>=</div><div data-v-ba7d7ffb>(d)</div><div data-v-ba7d7ffb>-</div><div data-v-ba7d7ffb>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-ba7d7ffb><label data-v-ba7d7ffb>Fuel Saving</label><div data-v-ba7d7ffb>=</div><div data-v-ba7d7ffb>(f)</div><div data-v-ba7d7ffb>-</div><div data-v-ba7d7ffb>(d)</div></div></div>',1),S6={class:"flex-center"},k6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),A6={class:"formula-right flex-evenly"},B6={class:"fraction",style:{width:"270px"}},w6=m(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),T6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),O6={class:"flex-center"},F6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),P6={class:"formula-right flex-evenly"},u6={class:"fraction",style:{width:"270px"}},L6=m(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),W6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),H6=m(()=>e.createElementVNode("div",{class:"formula-desc"},[e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"Fuel Over-consumption"),e.createElementVNode("div",null," Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption ")]),e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"Fuel Saving"),e.createElementVNode("div",null," Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption ")]),e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"No Fuel Over-consumption or Saving"),e.createElementVNode("div",null,"Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption")])],-1)),M6={class:"header-block flex-start",style:{"margin-top":"10px"}},G6=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),I6={class:"title"},R6={key:0,class:"formula-block"},z6={class:"flex-evenly"},U6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),Y6={class:"formula-right flex-evenly"},Z6={class:"fraction",style:{width:"240px"}},$6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),Q6=m(()=>e.createElementVNode("div",null,"x",-1)),J6={class:"fraction",style:{width:"240px"}},K6={key:0},q6=m(()=>e.createElementVNode("span",null," + ",-1)),X6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),j6=m(()=>e.createElementVNode("div",null,"=",-1)),v6=m(()=>e.createElementVNode("div",null,"(d')",-1)),eT={class:"flex-evenly"},tT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),oT={class:"formula-right flex-evenly"},lT={class:"fraction",style:{width:"240px"}},aT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),nT=m(()=>e.createElementVNode("div",null,"x",-1)),sT={class:"fraction",style:{width:"240px"}},iT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),cT=m(()=>e.createElementVNode("div",null,"24",-1)),dT=m(()=>e.createElementVNode("div",null,"=",-1)),rT=m(()=>e.createElementVNode("div",null,"(e')",-1)),mT={class:"flex-evenly"},pT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),hT={class:"formula-right flex-evenly"},yT={class:"fraction",style:{width:"240px"}},ET=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),_T=m(()=>e.createElementVNode("div",null,"x",-1)),NT={class:"fraction",style:{width:"240px"}},VT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),fT=m(()=>e.createElementVNode("div",null,"24",-1)),gT=m(()=>e.createElementVNode("div",null,"=",-1)),DT=m(()=>e.createElementVNode("div",null,"(f')",-1)),xT={class:"formula-conclusion",style:{"margin-bottom":"0"}},bT={class:"flex-evenly",style:{width:"500px"}},CT=m(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),ST=m(()=>e.createElementVNode("div",null,"=",-1)),kT=m(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),AT=m(()=>e.createElementVNode("div",null,"=",-1)),BT=m(()=>e.createElementVNode("div",null,"-",-1)),wT=m(()=>e.createElementVNode("div",null,"=",-1)),TT={key:0,class:"flex-evenly"},OT=m(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),FT=m(()=>e.createElementVNode("div",null,"=",-1)),PT={class:"fraction"},uT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),LT=m(()=>e.createElementVNode("div",null,"=",-1)),WT={class:"flex-evenly",style:{width:"700px"}},HT=m(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),MT=m(()=>e.createElementVNode("div",null,"=",-1)),GT=m(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),IT=m(()=>e.createElementVNode("div",null,"=",-1)),RT=m(()=>e.createElementVNode("div",null,"-",-1)),zT=m(()=>e.createElementVNode("div",null,"=",-1)),UT={key:0,class:"flex-evenly",style:{width:"500px"}},YT=m(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),ZT=m(()=>e.createElementVNode("div",null,"=",-1)),$T={class:"fraction",style:{width:"140px"}},QT=m(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),JT=m(()=>e.createElementVNode("div",null,"=",-1)),KT=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),qT={key:1,class:"formula-conclusion"},XT={class:"header-block flex-end",style:{"margin-top":"10px"}},jT=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),vT={class:"title"},eO={key:0,class:"formula-block"},tO={class:"flex-evenly"},oO=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),lO={class:"formula-right flex-evenly"},aO={class:"fraction",style:{width:"240px"}},nO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),sO=m(()=>e.createElementVNode("div",null,"x",-1)),iO={class:"fraction",style:{width:"240px"}},cO={key:0},dO=m(()=>e.createElementVNode("span",null," - ",-1)),rO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),mO=m(()=>e.createElementVNode("div",null,"=",-1)),pO=m(()=>e.createElementVNode("div",null,"(d'')",-1)),hO={class:"flex-evenly"},yO=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),EO={class:"formula-right flex-evenly"},_O={class:"fraction",style:{width:"240px"}},NO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),VO=m(()=>e.createElementVNode("div",null,"x",-1)),fO={class:"fraction",style:{width:"240px"}},gO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),DO=m(()=>e.createElementVNode("div",null,"24",-1)),xO=m(()=>e.createElementVNode("div",null,"=",-1)),bO=m(()=>e.createElementVNode("div",null,"(e'')",-1)),CO={class:"flex-evenly"},SO=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),kO={class:"formula-right flex-evenly"},AO={class:"fraction",style:{width:"240px"}},BO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),wO=m(()=>e.createElementVNode("div",null,"x",-1)),TO={class:"fraction",style:{width:"240px"}},OO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),FO=m(()=>e.createElementVNode("div",null,"24",-1)),PO=m(()=>e.createElementVNode("div",null,"=",-1)),uO=m(()=>e.createElementVNode("div",null,"(f'')",-1)),LO={class:"formula-conclusion",style:{"margin-bottom":"0"}},WO={key:0,class:"flex-evenly",style:{width:"500px"}},HO=m(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),MO=m(()=>e.createElementVNode("div",null,"=",-1)),GO=m(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),IO=m(()=>e.createElementVNode("div",null,"=",-1)),RO=m(()=>e.createElementVNode("div",null,"-",-1)),zO=m(()=>e.createElementVNode("div",null,"=",-1)),UO={key:1,class:"flex-evenly",style:{width:"700px"}},YO=m(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),ZO=m(()=>e.createElementVNode("div",null,"=",-1)),$O=m(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),QO=m(()=>e.createElementVNode("div",null,"=",-1)),JO=m(()=>e.createElementVNode("div",null,"-",-1)),KO=m(()=>e.createElementVNode("div",null,"=",-1)),qO=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),XO={key:1,class:"formula-conclusion"};function jO(t,n,o,c,l,a){var g,S,h,N,x,r,C,k,F,L,w,O,b,u,I,Z,R,W,f,U,G,H,Q,J,X,q,V,M,$;const p=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),_=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",k8,[e.createElementVNode("div",A8,[e.createElementVNode("div",B8,[e.createElementVNode("div",w8,[T8,e.createElementVNode("span",O8,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",F8,[P8,e.createElementVNode("span",u8,e.toDisplayString((S=(g=o.report)==null?void 0:g.vessel)==null?void 0:S.name)+" ("+e.toDisplayString((N=(h=o.report)==null?void 0:h.vessel)==null?void 0:N.type)+")",1)]),e.createElementVNode("div",L8,[W8,e.createElementVNode("span",H8,e.toDisplayString((r=(x=o.report)==null?void 0:x.voyage)==null?void 0:r.number),1)])]),e.createElementVNode("div",M8,[e.createElementVNode("div",G8,[I8,(k=(C=o.report)==null?void 0:C.departure)!=null&&k.portName?(e.openBlock(),e.createElementBlock("span",R8,e.toDisplayString((L=(F=o.report)==null?void 0:F.departure)==null?void 0:L.portName),1)):(e.openBlock(),e.createElementBlock("div",z8,[e.createVNode(p,{lat:(O=(w=o.report)==null?void 0:w.departure)==null?void 0:O.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),U8,e.createVNode(i,{lng:(b=o.report.departure)==null?void 0:b.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",Y8,e.toDisplayString(a.computeUTCTime((u=o.report.departure)==null?void 0:u.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",Z8,[$8,(Z=(I=o.report)==null?void 0:I.arrival)!=null&&Z.portName?(e.openBlock(),e.createElementBlock("span",Q8,e.toDisplayString((W=(R=o.report)==null?void 0:R.arrival)==null?void 0:W.portName),1)):(e.openBlock(),e.createElementBlock("div",J8,[e.createVNode(p,{lat:(U=(f=o.report)==null?void 0:f.arrival)==null?void 0:U.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),K8,e.createVNode(i,{lng:(H=(G=o.report)==null?void 0:G.arrival)==null?void 0:H.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",q8,e.toDisplayString(a.computeUTCTime((J=(Q=o.report)==null?void 0:Q.arrival)==null?void 0:J.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",X8,[j8,e.createElementVNode("span",v8,e.toDisplayString((q=(X=o.report)==null?void 0:X.voyage)==null?void 0:q.loadCondition),1)])])]),e.createElementVNode("div",eA,[tA,e.createElementVNode("div",oA,[e.createElementVNode("div",lA,e.toDisplayString(a.computeWeatherDef(o.report.weather)),1)])]),e.createElementVNode("div",aA,[nA,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((V=o.report)==null?void 0:V.segments,(s,j)=>{var d,v,oe,ee,ie,ce,de,re,_e,ae,he,Ne,Ve,fe,ge,De,xe,be,Ce,Se,Oe,Fe,ye,P,me,Pe,ue,Le,ke,We,Ue,Ye,z,we,Me,Ze,$e,Qe,Je,Ke,E;return e.openBlock(),e.createElementBlock("div",{class:"segment-box flex-space",key:"summary"+j},[e.createElementVNode("div",sA,[e.createElementVNode("div",iA,"Seg."+e.toDisplayString(j+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((d=s==null?void 0:s.extend)==null?void 0:d.segTimes,(K,Te)=>{var He,Ge,pe,qe,je,ve,ot,lt,at,nt;return e.openBlock(),e.createElementBlock("div",{class:"phase-row flex-space",key:Te},[e.createElementVNode("div",cA,[(He=K==null?void 0:K.departure)!=null&&He.portName?(e.openBlock(),e.createElementBlock("span",dA,e.toDisplayString((Ge=K==null?void 0:K.departure)==null?void 0:Ge.portName),1)):(e.openBlock(),e.createElementBlock("span",rA,e.toDisplayString(a.computeLat((pe=K==null?void 0:K.departure)==null?void 0:pe.lat).pretty)+", "+e.toDisplayString(a.computeLng((qe=K==null?void 0:K.departure)==null?void 0:qe.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((je=K==null?void 0:K.departure)==null?void 0:je.utcTime))+")",1)]),mA,e.createElementVNode("div",pA,[(ve=K==null?void 0:K.arrival)!=null&&ve.portName?(e.openBlock(),e.createElementBlock("span",hA,e.toDisplayString((ot=K==null?void 0:K.arrival)==null?void 0:ot.portName),1)):(e.openBlock(),e.createElementBlock("span",yA,e.toDisplayString(a.computeLat((lt=K==null?void 0:K.arrival)==null?void 0:lt.lat).pretty)+", "+e.toDisplayString(a.computeLng((at=K==null?void 0:K.arrival)==null?void 0:at.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((nt=K==null?void 0:K.arrival)==null?void 0:nt.utcTime))+")",1)])])}),128)),EA,e.createElementVNode("div",_A,[e.createElementVNode("div",NA,[VA,e.createElementVNode("div",fA,[gA,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((oe=(v=s==null?void 0:s.extend)==null?void 0:v.cp)==null?void 0:oe.speed)+" |",1),e.createElementVNode("span",null,[DA,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(ie=(ee=s==null?void 0:s.extend)==null?void 0:ee.cp)==null?void 0:ie.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[xA,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(de=(ce=s==null?void 0:s.extend)==null?void 0:ce.cp)==null?void 0:de.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((_e=(re=s==null?void 0:s.extend)==null?void 0:re.cp)==null?void 0:_e.fo)+" |",1),e.createElementVNode("span",null,[bA,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[CA,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((he=(ae=s==null?void 0:s.extend)==null?void 0:ae.cp)==null?void 0:he.dgo)+" |",1),e.createElementVNode("span",null,[SA,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[kA,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Under")),1)])])])])]),AA,e.createElementVNode("div",BA,[e.createElementVNode("div",wA,[TA,e.createElementVNode("div",OA,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.time),1),FA]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",PA,[((Ne=s==null?void 0:s.timeConclusion)==null?void 0:Ne.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",uA," Time Gained ")):((Ve=s==null?void 0:s.timeConclusion)==null?void 0:Ve.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",LA," Time Lost ")):(e.openBlock(),e.createElementBlock("div",WA,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",HA,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",MA,[((fe=s==null?void 0:s.timeConclusion)==null?void 0:fe.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",GA,[IA,e.createElementVNode("span",RA,e.toDisplayString((ge=s==null?void 0:s.timeConclusion)==null?void 0:ge.timeGain),1),zA])):((De=s==null?void 0:s.timeConclusion)==null?void 0:De.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",UA,[YA,e.createElementVNode("span",ZA,e.toDisplayString((xe=s==null?void 0:s.timeConclusion)==null?void 0:xe.timeLost),1),$A])):(e.openBlock(),e.createElementBlock("div",QA,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",JA,[KA,e.createElementVNode("div",qA,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.sumFoCons),1),XA]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",jA,[((Ce=(be=s==null?void 0:s.fuelConclusion)==null?void 0:be.fo)==null?void 0:Ce.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",vA," FO Saving ")):((Oe=(Se=s==null?void 0:s.fuelConclusion)==null?void 0:Se.fo)==null?void 0:Oe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",eB," FO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",tB,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",oB,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",lB,[((ye=(Fe=s==null?void 0:s.fuelConclusion)==null?void 0:Fe.fo)==null?void 0:ye.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",aB,[nB,e.createElementVNode("span",sB,e.toDisplayString((me=(P=s==null?void 0:s.fuelConclusion)==null?void 0:P.fo)==null?void 0:me.saving),1),iB])):((ue=(Pe=s==null?void 0:s.fuelConclusion)==null?void 0:Pe.fo)==null?void 0:ue.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",cB,[dB,e.createElementVNode("span",rB,e.toDisplayString((ke=(Le=s==null?void 0:s.fuelConclusion)==null?void 0:Le.fo)==null?void 0:ke.overCons),1),mB])):(e.openBlock(),e.createElementBlock("div",pB,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",hB,[yB,e.createElementVNode("div",EB,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.sumDgoCons),1),_B]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",NB,[((Ue=(We=s==null?void 0:s.fuelConclusion)==null?void 0:We.dgo)==null?void 0:Ue.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",VB," DO/GO Saving ")):((z=(Ye=s==null?void 0:s.fuelConclusion)==null?void 0:Ye.dgo)==null?void 0:z.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",fB," DO/GO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",gB,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",DB,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",xB,[((Me=(we=s==null?void 0:s.fuelConclusion)==null?void 0:we.dgo)==null?void 0:Me.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",bB,[CB,e.createElementVNode("span",SB,e.toDisplayString(($e=(Ze=s==null?void 0:s.fuelConclusion)==null?void 0:Ze.dgo)==null?void 0:$e.saving),1),kB])):((Je=(Qe=s==null?void 0:s.fuelConclusion)==null?void 0:Qe.dgo)==null?void 0:Je.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",AB,[BB,e.createElementVNode("span",wB,e.toDisplayString((E=(Ke=s==null?void 0:s.fuelConclusion)==null?void 0:Ke.dgo)==null?void 0:E.overCons),1),TB])):(e.openBlock(),e.createElementBlock("div",OB,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),FB]),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((M=o.report)==null?void 0:M.remarks)&&!l.exclusion.length?"section remark-section print-hidden":"section remark-section")},[PB,l.exclusion.length?(e.openBlock(),e.createElementBlock("div",uB,[LB,WB,e.createElementVNode("div",HB,[e.createElementVNode("table",MB,[GB,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.exclusion,(s,j)=>(e.openBlock(),e.createElementBlock("tr",{key:j},[e.createElementVNode("td",null,e.toDisplayString(j+1),1),e.createElementVNode("td",null,e.toDisplayString(s.time),1),e.createElementVNode("td",null,e.toDisplayString(s.duration),1),e.createElementVNode("td",null,e.toDisplayString(s.distance),1),e.createElementVNode("td",null,e.toDisplayString(s.fo),1),e.createElementVNode("td",null,e.toDisplayString(s.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml(($=o.report)==null?void 0:$.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[l.editable?(e.openBlock(),e.createBlock(_,{key:0,modelValue:l.remarks,"onUpdate:modelValue":n[0]||(n[0]=s=>l.remarks=s),class:"editor",height:"120px",onBlur:n[1]||(n[1]=s=>a.handleCommit(s))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[2]||(n[2]=(...s)=>a.handleEdit&&a.handleEdit(...s)),innerHTML:l.remarks},null,40,IB))],2)],2),e.createElementVNode("div",RB,[zB,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.report.segments,(s,j)=>{var d,v,oe,ee,ie,ce,de,re,_e,ae,he,Ne,Ve,fe,ge,De,xe,be,Ce,Se,Oe,Fe,ye,P,me,Pe,ue,Le,ke,We,Ue,Ye,z,we,Me,Ze,$e,Qe,Je,Ke,E,K,Te,He,Ge,pe,qe,je,ve,ot,lt,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null?void 0:d.segTimes,(Xe,Pte)=>{var si,ii,ci,di,ri,mi,pi,hi,yi,Ei;return e.openBlock(),e.createElementBlock("div",{class:"segment-row flex-space",key:Pte},[e.createElementVNode("div",YB,[(si=Xe==null?void 0:Xe.departure)!=null&&si.portName?(e.openBlock(),e.createElementBlock("span",ZB,e.toDisplayString((ii=Xe==null?void 0:Xe.departure)==null?void 0:ii.portName),1)):(e.openBlock(),e.createElementBlock("span",$B,e.toDisplayString(a.computeLat((ci=Xe==null?void 0:Xe.departure)==null?void 0:ci.lat).pretty)+", "+e.toDisplayString(a.computeLng((di=Xe==null?void 0:Xe.departure)==null?void 0:di.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((ri=Xe==null?void 0:Xe.departure)==null?void 0:ri.utcTime))+")",1)]),QB,e.createElementVNode("div",JB,[(mi=Xe==null?void 0:Xe.arrival)!=null&&mi.portName?(e.openBlock(),e.createElementBlock("span",KB,e.toDisplayString((pi=Xe==null?void 0:Xe.arrival)==null?void 0:pi.portName),1)):(e.openBlock(),e.createElementBlock("span",qB,e.toDisplayString(a.computeLat((hi=Xe==null?void 0:Xe.arrival)==null?void 0:hi.lat).pretty)+", "+e.toDisplayString(a.computeLng((yi=Xe==null?void 0:Xe.arrival)==null?void 0:yi.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((Ei=Xe==null?void 0:Xe.arrival)==null?void 0:Ei.utcTime))+")",1)])])}),128)),XB,e.createElementVNode("div",jB,[e.createElementVNode("table",null,[vB,ew,e.createElementVNode("tr",null,[tw,e.createElementVNode("td",ow,e.toDisplayString((oe=(v=s==null?void 0:s.goodWx)==null?void 0:v.outEca)==null?void 0:oe.distance),1),e.createElementVNode("td",lw,e.toDisplayString((ie=(ee=s==null?void 0:s.goodWx)==null?void 0:ee.inEca)==null?void 0:ie.distance),1),e.createElementVNode("td",null,e.toDisplayString((de=(ce=s==null?void 0:s.allWx)==null?void 0:ce.outEca)==null?void 0:de.distance),1),e.createElementVNode("td",null,e.toDisplayString((_e=(re=s==null?void 0:s.allWx)==null?void 0:re.inEca)==null?void 0:_e.distance),1)]),e.createElementVNode("tr",null,[aw,e.createElementVNode("td",nw,e.toDisplayString((he=(ae=s==null?void 0:s.goodWx)==null?void 0:ae.outEca)==null?void 0:he.time),1),e.createElementVNode("td",sw,e.toDisplayString((Ve=(Ne=s==null?void 0:s.goodWx)==null?void 0:Ne.inEca)==null?void 0:Ve.time),1),e.createElementVNode("td",null,e.toDisplayString((ge=(fe=s==null?void 0:s.allWx)==null?void 0:fe.outEca)==null?void 0:ge.time),1),e.createElementVNode("td",null,e.toDisplayString((xe=(De=s==null?void 0:s.allWx)==null?void 0:De.inEca)==null?void 0:xe.time),1)]),e.createElementVNode("tr",null,[iw,e.createElementVNode("td",cw,e.toDisplayString(((Ce=(be=s==null?void 0:s.goodWx)==null?void 0:be.outEca)==null?void 0:Ce.avgSpd)||"--"),1),e.createElementVNode("td",dw,e.toDisplayString(((Oe=(Se=s==null?void 0:s.goodWx)==null?void 0:Se.inEca)==null?void 0:Oe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ye=(Fe=s==null?void 0:s.allWx)==null?void 0:Fe.outEca)==null?void 0:ye.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((me=(P=s==null?void 0:s.allWx)==null?void 0:P.inEca)==null?void 0:me.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[rw,e.createElementVNode("td",mw,e.toDisplayString(((ue=(Pe=s==null?void 0:s.goodWx)==null?void 0:Pe.outEca)==null?void 0:ue.sumFoCons)||"--"),1),e.createElementVNode("td",pw,e.toDisplayString(((ke=(Le=s==null?void 0:s.goodWx)==null?void 0:Le.inEca)==null?void 0:ke.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ue=(We=s==null?void 0:s.allWx)==null?void 0:We.outEca)==null?void 0:Ue.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((z=(Ye=s==null?void 0:s.allWx)==null?void 0:Ye.inEca)==null?void 0:z.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[hw,e.createElementVNode("td",yw,e.toDisplayString(((Me=(we=s==null?void 0:s.goodWx)==null?void 0:we.outEca)==null?void 0:Me.avgFoCons)||"--"),1),e.createElementVNode("td",Ew,e.toDisplayString((($e=(Ze=s==null?void 0:s.goodWx)==null?void 0:Ze.inEca)==null?void 0:$e.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Je=(Qe=s==null?void 0:s.allWx)==null?void 0:Qe.outEca)==null?void 0:Je.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((E=(Ke=s==null?void 0:s.allWx)==null?void 0:Ke.inEca)==null?void 0:E.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[_w,e.createElementVNode("td",Nw,e.toDisplayString(((Te=(K=s==null?void 0:s.goodWx)==null?void 0:K.outEca)==null?void 0:Te.sumDgoCons)||"--"),1),e.createElementVNode("td",Vw,e.toDisplayString(((Ge=(He=s==null?void 0:s.goodWx)==null?void 0:He.inEca)==null?void 0:Ge.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((qe=(pe=s==null?void 0:s.allWx)==null?void 0:pe.outEca)==null?void 0:qe.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ve=(je=s==null?void 0:s.allWx)==null?void 0:je.inEca)==null?void 0:ve.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[fw,e.createElementVNode("td",gw,e.toDisplayString(((lt=(ot=s==null?void 0:s.goodWx)==null?void 0:ot.outEca)==null?void 0:lt.avgDgoCons)||"--"),1),e.createElementVNode("td",Dw,e.toDisplayString(((nt=(at=s==null?void 0:s.goodWx)==null?void 0:at.inEca)==null?void 0:nt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ht=(pt=s==null?void 0:s.allWx)==null?void 0:pt.outEca)==null?void 0:ht.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Et=(yt=s==null?void 0:s.allWx)==null?void 0:yt.inEca)==null?void 0:Et.avgDgoCons)||"--"),1)])])]),(_t=l.exclusion[j])!=null&&_t.time?(e.openBlock(),e.createElementBlock("div",xw," *The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel. ")):e.createCommentVNode("",!0),(Nt=s==null?void 0:s.goodWx)!=null&&Nt.distance?(e.openBlock(),e.createElementBlock("div",bw,[e.createElementVNode("div",Cw,[Sw,e.createElementVNode("div",kw,[(ft=(Vt=o.report)==null?void 0:Vt.weather)!=null&&ft.favorableCur&&((gt=s==null?void 0:s.goodWx)==null?void 0:gt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Ht=(Ot=o.report)==null?void 0:Ot.weather)!=null&&Ht.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((po=s==null?void 0:s.goodWx)==null?void 0:po.avgSpd),1),Ow,e.createElementVNode("span",null,e.toDisplayString(((_o=s==null?void 0:s.goodWx)==null?void 0:_o.avgWf)>0?(No=s==null?void 0:s.goodWx)==null?void 0:No.avgWf:`(${(Vo=s==null?void 0:s.goodWx)==null?void 0:Vo.avgWf})`),1),Fw],64)):e.createCommentVNode("",!0),e.createElementVNode("span",Pw,e.toDisplayString((fo=s==null?void 0:s.goodWx)==null?void 0:fo.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((Dt=s==null?void 0:s.goodWx)==null?void 0:Dt.avgSpd),1),Aw,e.createElementVNode("span",null,e.toDisplayString(((xt=s==null?void 0:s.goodWx)==null?void 0:xt.avgCf)>0?(bt=s==null?void 0:s.goodWx)==null?void 0:bt.avgCf:`(${(Ct=s==null?void 0:s.goodWx)==null?void 0:Ct.avgCf})`),1),(kt=(St=o.report)==null?void 0:St.weather)!=null&&kt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Bw,e.createElementVNode("span",null,e.toDisplayString(((At=s==null?void 0:s.goodWx)==null?void 0:At.avgWf)>0?(Bt=s==null?void 0:s.goodWx)==null?void 0:Bt.avgWf:`(${(wt=s==null?void 0:s.goodWx)==null?void 0:wt.avgWf})`),1)],64)):e.createCommentVNode("",!0),ww,e.createElementVNode("span",Tw,e.toDisplayString((Tt=s==null?void 0:s.goodWx)==null?void 0:Tt.pfmSpd)+" (kts)",1)],64)),((Y=s==null?void 0:s.goodWx)==null?void 0:Y.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",uw,"(Under-performance)")):e.createCommentVNode("",!0),((tt=s==null?void 0:s.goodWx)==null?void 0:tt.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",Lw,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Ww,[Hw,e.createElementVNode("div",Mw,[(Pt=(Ft=o.report)==null?void 0:Ft.weather)!=null&&Pt.favorableCur&&((Mt=s==null?void 0:s.goodWx)==null?void 0:Mt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(zt=(Rt=o.report)==null?void 0:Rt.weather)!=null&&zt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Yw,Zw,$w],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Qw,Jw],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Gw,Iw,Rw,(It=(Gt=o.report)==null?void 0:Gt.weather)!=null&&It.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[zw,Uw],64)):e.createCommentVNode("",!0)],64))])])])):(e.openBlock(),e.createElementBlock("div",Kw,[e.createElementVNode("div",qw,[Xw,e.createElementVNode("div",jw,[(Yt=(Ut=o.report)==null?void 0:Ut.weather)!=null&&Yt.favorableCur&&((Zt=s==null?void 0:s.allWx)==null?void 0:Zt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((eo=s==null?void 0:s.allWx)==null?void 0:eo.avgSpd),1),l7,e.createElementVNode("span",null,e.toDisplayString(((to=s==null?void 0:s.allWx)==null?void 0:to.avgWf)>0?(oo=s==null?void 0:s.allWx)==null?void 0:oo.avgWf:`(${(lo=s==null?void 0:s.allWx)==null?void 0:lo.avgWf})`),1),a7,e.createElementVNode("span",n7,e.toDisplayString((ao=s==null?void 0:s.allWx)==null?void 0:ao.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString(($t=s==null?void 0:s.allWx)==null?void 0:$t.avgSpd),1),vw,e.createElementVNode("span",null,e.toDisplayString(((Qt=s==null?void 0:s.allWx)==null?void 0:Qt.avgCf)>0?(Jt=s==null?void 0:s.allWx)==null?void 0:Jt.avgCf:`(${(Kt=s==null?void 0:s.allWx)==null?void 0:Kt.avgCf})`),1),e7,e.createElementVNode("span",null,e.toDisplayString(((qt=s==null?void 0:s.allWx)==null?void 0:qt.avgWf)>0?(Xt=s==null?void 0:s.allWx)==null?void 0:Xt.avgWf:`(${(jt=s==null?void 0:s.allWx)==null?void 0:jt.avgWf})`),1),t7,e.createElementVNode("span",o7,e.toDisplayString((vt=s==null?void 0:s.allWx)==null?void 0:vt.pfmSpd)+" (kts)",1)],64)),((no=s==null?void 0:s.allWx)==null?void 0:no.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",s7,"(Under-performance)")):e.createCommentVNode("",!0),((so=s==null?void 0:s.allWx)==null?void 0:so.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",i7,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",c7,[d7,e.createElementVNode("div",r7,[(co=(io=o.report)==null?void 0:io.weather)!=null&&co.favorableCur&&((go=s==null?void 0:s.allWx)==null?void 0:go.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[_7,N7,V7,f7],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[m7,p7,h7,y7,E7],64))])])])),g7,e.createElementVNode("div",D7,[e.createElementVNode("div",x7,[b7,e.createElementVNode("div",C7,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(j+1)+" Time Analysis",1),(xo=(Do=o.report)==null?void 0:Do.weather)!=null&&xo.noExtrapolation?(e.openBlock(),e.createElementBlock("span",S7,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",k7,[e.createElementVNode("div",A7,[B7,e.createElementVNode("div",w7,[e.createElementVNode("div",T7,[e.createElementVNode("div",null,e.toDisplayString((Co=(bo=o.report)==null?void 0:bo.weather)!=null&&Co.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),O7,F7]),P7])]),e.createElementVNode("div",u7,[e.createElementVNode("div",L7,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(ko=(So=s==null?void 0:s.extend)==null?void 0:So.cp)==null?void 0:ko.speed,"Under"))+"kts)",1),W7]),e.createElementVNode("div",H7,[e.createElementVNode("div",M7,[e.createElementVNode("div",null,e.toDisplayString((Bo=(Ao=o.report)==null?void 0:Ao.weather)!=null&&Bo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),G7,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(To=(wo=s==null?void 0:s.extend)==null?void 0:wo.cp)==null?void 0:To.speed,"Under"))+"kts",1)]),I7])]),e.createElementVNode("div",R7,[e.createElementVNode("div",z7,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Fo=(Oo=s==null?void 0:s.extend)==null?void 0:Oo.cp)==null?void 0:Fo.speed,"Over"))+"kts)",1),U7]),e.createElementVNode("div",Y7,[e.createElementVNode("div",Z7,[e.createElementVNode("div",null,e.toDisplayString((uo=(Po=o.report)==null?void 0:Po.weather)!=null&&uo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),$7,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Wo=(Lo=s==null?void 0:s.extend)==null?void 0:Lo.cp)==null?void 0:Wo.speed,"Over"))+"kts",1)]),Q7])]),J7]),e.createElementVNode("div",K7,[e.createElementVNode("div",q7,[X7,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Mo=(Ho=s==null?void 0:s.extend)==null?void 0:Ho.cp)==null?void 0:Mo.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",j7,[v7,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Io=(Go=s==null?void 0:s.extend)==null?void 0:Go.cp)==null?void 0:Io.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",e9,[t9,e.createElementVNode("div",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Yo=(Ro=s==null?void 0:s.extend)==null?void 0:Ro.cp)==null?void 0:Yo.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,($o=(Zo=s==null?void 0:s.extend)==null?void 0:Zo.cp)==null?void 0:$o.speed,"Under"))+" kts)",1)])]),(Qo=s==null?void 0:s.goodWx)!=null&&Qo.distance?(e.openBlock(),e.createElementBlock("div",o9,[e.createElementVNode("div",l9,[a9,e.createElementVNode("div",n9,[e.createElementVNode("div",s9,[e.createElementVNode("div",null,e.toDisplayString((Ko=(Jo=o.report)==null?void 0:Jo.weather)!=null&&Ko.noExtrapolation?(qo=s==null?void 0:s.goodWx)==null?void 0:qo.distance:(Xo=s==null?void 0:s.allWx)==null?void 0:Xo.distance),1),i9,e.createElementVNode("div",null,e.toDisplayString((jo=s==null?void 0:s.goodWx)==null?void 0:jo.pfmSpd),1)]),c9,e.createElementVNode("div",null,e.toDisplayString((vo=s==null?void 0:s.timeConclusion)==null?void 0:vo.timeAtPfmSpd)+" (hrs)",1),d9])]),e.createElementVNode("div",r9,[e.createElementVNode("div",m9,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(tl=(el=s==null?void 0:s.extend)==null?void 0:el.cp)==null?void 0:tl.speed,"Under"))+"kts)",1),p9]),e.createElementVNode("div",h9,[e.createElementVNode("div",y9,[e.createElementVNode("div",null,e.toDisplayString((ll=(ol=o.report)==null?void 0:ol.weather)!=null&&ll.noExtrapolation?(al=s==null?void 0:s.goodWx)==null?void 0:al.distance:(nl=s==null?void 0:s.allWx)==null?void 0:nl.distance),1),E9,e.createElementVNode("div",null,e.toDisplayString((sl=s==null?void 0:s.timeConclusion)==null?void 0:sl.minusAbtSpd),1)]),_9,e.createElementVNode("div",null,e.toDisplayString((il=s==null?void 0:s.timeConclusion)==null?void 0:il.timeAtMinusAbtSpd)+" (hrs)",1),N9])]),e.createElementVNode("div",V9,[e.createElementVNode("div",f9,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(dl=(cl=s==null?void 0:s.extend)==null?void 0:cl.cp)==null?void 0:dl.speed,"Over"))+"kts)",1),g9]),e.createElementVNode("div",D9,[e.createElementVNode("div",x9,[e.createElementVNode("div",null,e.toDisplayString((ml=(rl=o.report)==null?void 0:rl.weather)!=null&&ml.noExtrapolation?(pl=s==null?void 0:s.goodWx)==null?void 0:pl.distance:(hl=s==null?void 0:s.allWx)==null?void 0:hl.distance),1),b9,e.createElementVNode("div",null,e.toDisplayString((yl=s==null?void 0:s.timeConclusion)==null?void 0:yl.plusAbtSpd),1)]),C9,e.createElementVNode("div",null,e.toDisplayString((El=s==null?void 0:s.timeConclusion)==null?void 0:El.timeAtPlusAbtSpd)+" (hrs)",1),S9])]),e.createElementVNode("div",k9,[((ut=s==null?void 0:s.timeConclusion)==null?void 0:ut.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",A9,[B9,w9,T9,O9,e.createElementVNode("div",null,e.toDisplayString((Vl=s==null?void 0:s.timeConclusion)==null?void 0:Vl.timeAtPfmSpd),1),F9,e.createElementVNode("div",null,e.toDisplayString((xl=s==null?void 0:s.timeConclusion)==null?void 0:xl.timeAtMinusAbtSpd),1),P9,e.createElementVNode("div",null,e.toDisplayString((bl=s==null?void 0:s.timeConclusion)==null?void 0:bl.timeLost)+" (hrs)",1)])):((Cl=s==null?void 0:s.timeConclusion)==null?void 0:Cl.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",u9,[L9,W9,H9,M9,e.createElementVNode("div",null,e.toDisplayString((Sl=s==null?void 0:s.timeConclusion)==null?void 0:Sl.timeAtPlusAbtSpd),1),G9,e.createElementVNode("div",null,e.toDisplayString((kl=s==null?void 0:s.timeConclusion)==null?void 0:kl.timeAtPfmSpd),1),I9,e.createElementVNode("div",null,e.toDisplayString((Al=s==null?void 0:s.timeConclusion)==null?void 0:Al.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Bl=s==null?void 0:s.timeConclusion)==null?void 0:Bl.conclusionStatus)==="Lost"?"flex-center lost":((wl=s==null?void 0:s.timeConclusion)==null?void 0:wl.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[R9,e.createElementVNode("div",null,e.toDisplayString(((Tl=s==null?void 0:s.timeConclusion)==null?void 0:Tl.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",z9,e.toDisplayString(l.noGoodWxDay),1))]),U9,e.createElementVNode("div",Y9,[e.createElementVNode("div",Z9,[$9,e.createElementVNode("div",Q9,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(j+1)+" Consumption Analysis",1),(Fl=(Ol=o.report)==null?void 0:Ol.weather)!=null&&Fl.noExtrapolation?(e.openBlock(),e.createElementBlock("span",J9,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",K9,[e.createElementVNode("div",q9,[X9,e.createElementVNode("div",j9,[e.createElementVNode("div",v9,[e.createElementVNode("div",null,e.toDisplayString((ul=(Pl=o.report)==null?void 0:Pl.weather)!=null&&ul.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),e6,t6]),o6,l6,a6])]),e.createElementVNode("div",n6,[s6,((Wl=(Ll=s.extend)==null?void 0:Ll.cp)==null?void 0:Wl.dgo)>0?(e.openBlock(),e.createElementBlock("div",i6,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",c6,[d6,e.createElementVNode("div",r6,[e.createElementVNode("div",m6,[e.createElementVNode("div",null,e.toDisplayString((Ml=(Hl=o.report)==null?void 0:Hl.weather)!=null&&Ml.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),p6,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Il=(Gl=s==null?void 0:s.extend)==null?void 0:Gl.cp)==null?void 0:Il.speed,"Under"))+"kts",1)]),h6,y6,E6])]),e.createElementVNode("div",_6,[N6,e.createElementVNode("div",V6,[e.createElementVNode("div",f6,[e.createElementVNode("div",null,e.toDisplayString((zl=(Rl=o.report)==null?void 0:Rl.weather)!=null&&zl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),g6,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Yl=(Ul=s==null?void 0:s.extend)==null?void 0:Ul.cp)==null?void 0:Yl.speed,"Under"))+"kts",1)]),D6,x6,b6])]),C6,(($l=(Zl=s.extend)==null?void 0:Zl.cp)==null?void 0:$l.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",S6,[k6,e.createElementVNode("div",A6,[e.createElementVNode("div",B6,[w6,T6,e.createElementVNode("div",null,e.toDisplayString((Jl=(Ql=o.report)==null?void 0:Ql.weather)!=null&&Jl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",O6,[F6,e.createElementVNode("div",P6,[e.createElementVNode("div",u6,[L6,W6,e.createElementVNode("div",null,e.toDisplayString((ql=(Kl=o.report)==null?void 0:Kl.weather)!=null&&ql.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),H6,e.createElementVNode("div",M6,[G6,e.createElementVNode("div",I6,"Seg. "+e.toDisplayString(j+1)+" Fuel Oil",1)]),(Xl=s==null?void 0:s.goodWx)!=null&&Xl.distance?(e.openBlock(),e.createElementBlock("div",R6,[e.createElementVNode("div",z6,[U6,e.createElementVNode("div",Y6,[e.createElementVNode("div",Z6,[e.createElementVNode("div",null,e.toDisplayString((vl=(jl=o.report)==null?void 0:jl.weather)!=null&&vl.noExtrapolation?(ea=s==null?void 0:s.goodWx)==null?void 0:ea.distance:(ta=s==null?void 0:s.allWx)==null?void 0:ta.distance),1),$6,e.createElementVNode("div",null,e.toDisplayString((oa=s==null?void 0:s.goodWx)==null?void 0:oa.pfmSpd),1)]),Q6,e.createElementVNode("div",J6,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((la=s==null?void 0:s.goodWx)==null?void 0:la.sumFoCons),1),((na=(aa=s==null?void 0:s.goodWx)==null?void 0:aa.inEca)==null?void 0:na.distance)>0?(e.openBlock(),e.createElementBlock("span",K6,[q6,e.createElementVNode("span",null,e.toDisplayString((ia=(sa=s==null?void 0:s.fuelConclusion)==null?void 0:sa.fo)==null?void 0:ia.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),X6,e.createElementVNode("div",null,e.toDisplayString((ca=s==null?void 0:s.goodWx)==null?void 0:ca.time),1)]),j6,e.createElementVNode("div",null,e.toDisplayString((ra=(da=s.fuelConclusion)==null?void 0:da.fo)==null?void 0:ra.entireCons)+" (mt)",1),v6])]),e.createElementVNode("div",eT,[tT,e.createElementVNode("div",oT,[e.createElementVNode("div",lT,[e.createElementVNode("div",null,e.toDisplayString((pa=(ma=o.report)==null?void 0:ma.weather)!=null&&pa.noExtrapolation?(ha=s==null?void 0:s.goodWx)==null?void 0:ha.distance:(ya=s==null?void 0:s.allWx)==null?void 0:ya.distance),1),aT,e.createElementVNode("div",null,e.toDisplayString((Ea=s==null?void 0:s.timeConclusion)==null?void 0:Ea.minusAbtSpd),1)]),nT,e.createElementVNode("div",sT,[e.createElementVNode("div",null,e.toDisplayString((Na=(_a=s==null?void 0:s.fuelConclusion)==null?void 0:_a.fo)==null?void 0:Na.overTolerance),1),iT,cT]),dT,e.createElementVNode("div",null,e.toDisplayString((fa=(Va=s.fuelConclusion)==null?void 0:Va.fo)==null?void 0:fa.maxCons)+" (mt)",1),rT])]),e.createElementVNode("div",mT,[pT,e.createElementVNode("div",hT,[e.createElementVNode("div",yT,[e.createElementVNode("div",null,e.toDisplayString((Da=(ga=o.report)==null?void 0:ga.weather)!=null&&Da.noExtrapolation?(xa=s==null?void 0:s.goodWx)==null?void 0:xa.distance:(ba=s==null?void 0:s.allWx)==null?void 0:ba.distance),1),ET,e.createElementVNode("div",null,e.toDisplayString((Ca=s==null?void 0:s.timeConclusion)==null?void 0:Ca.minusAbtSpd),1)]),_T,e.createElementVNode("div",NT,[e.createElementVNode("div",null,e.toDisplayString((ka=(Sa=s==null?void 0:s.fuelConclusion)==null?void 0:Sa.fo)==null?void 0:ka.underTolerance),1),VT,fT]),gT,e.createElementVNode("div",null,e.toDisplayString((Ba=(Aa=s.fuelConclusion)==null?void 0:Aa.fo)==null?void 0:Ba.minCons)+" (mt)",1),DT])]),e.createElementVNode("div",xT,[((Ta=(wa=s==null?void 0:s.fuelConclusion)==null?void 0:wa.fo)==null?void 0:Ta.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",bT,[CT,ST,kT,AT,e.createElementVNode("div",null,e.toDisplayString((Fa=(Oa=s==null?void 0:s.fuelConclusion)==null?void 0:Oa.fo)==null?void 0:Fa.entireCons),1),BT,e.createElementVNode("div",null,e.toDisplayString((ua=(Pa=s==null?void 0:s.fuelConclusion)==null?void 0:Pa.fo)==null?void 0:ua.maxCons),1),wT,e.createElementVNode("div",null,e.toDisplayString((Wa=(La=s==null?void 0:s.fuelConclusion)==null?void 0:La.fo)==null?void 0:Wa.overCons),1)]),(Ma=(Ha=s==null?void 0:s.goodWx)==null?void 0:Ha.inEca)!=null&&Ma.distance?(e.openBlock(),e.createElementBlock("div",TT,[OT,FT,e.createElementVNode("div",PT,[e.createElementVNode("div",null,e.toDisplayString((Ia=(Ga=s==null?void 0:s.goodWx)==null?void 0:Ga.inEca)==null?void 0:Ia.distance)+" * "+e.toDisplayString((za=(Ra=s==null?void 0:s.fuelConclusion)==null?void 0:Ra.fo)==null?void 0:za.overCons),1),uT,e.createElementVNode("div",null,e.toDisplayString((Ya=(Ua=o.report)==null?void 0:Ua.weather)!=null&&Ya.noExtrapolation?(Za=s==null?void 0:s.goodWx)==null?void 0:Za.distance:($a=s==null?void 0:s.allWx)==null?void 0:$a.distance),1)]),LT,e.createElementVNode("div",null,e.toDisplayString((ro=(ne=s==null?void 0:s.fuelConclusion)==null?void 0:ne.fo)==null?void 0:ro.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((Ja=(Qa=s==null?void 0:s.fuelConclusion)==null?void 0:Qa.fo)==null?void 0:Ja.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",WT,[HT,MT,GT,IT,e.createElementVNode("div",null,e.toDisplayString((se=(Ka=s==null?void 0:s.fuelConclusion)==null?void 0:Ka.fo)==null?void 0:se.minCons),1),RT,e.createElementVNode("div",null,e.toDisplayString((qa=(mo=s==null?void 0:s.fuelConclusion)==null?void 0:mo.fo)==null?void 0:qa.entireCons),1),zT,e.createElementVNode("div",null,e.toDisplayString((ja=(Xa=s==null?void 0:s.fuelConclusion)==null?void 0:Xa.fo)==null?void 0:ja.saving)+" (mt)",1)]),(an=(rt=s==null?void 0:s.goodWx)==null?void 0:rt.inEca)!=null&&an.distance?(e.openBlock(),e.createElementBlock("div",UT,[YT,ZT,e.createElementVNode("div",$T,[e.createElementVNode("div",null,e.toDisplayString((sn=(nn=o.report)==null?void 0:nn.weather)!=null&&sn.noExtrapolation?(Lt=(cn=s==null?void 0:s.goodWx)==null?void 0:cn.inEca)==null?void 0:Lt.distance:(Un=(zn=s==null?void 0:s.allWx)==null?void 0:zn.inEca)==null?void 0:Un.distance)+" * "+e.toDisplayString((Zn=(Yn=s==null?void 0:s.fuelConclusion)==null?void 0:Yn.fo)==null?void 0:Zn.saving),1),QT,e.createElementVNode("div",null,e.toDisplayString((Qn=($n=o.report)==null?void 0:$n.weather)!=null&&Qn.noExtrapolation?(Jn=s==null?void 0:s.goodWx)==null?void 0:Jn.distance:(Kn=s==null?void 0:s.allWx)==null?void 0:Kn.distance),1)]),JT,e.createElementVNode("div",null,e.toDisplayString((Xn=(qn=s==null?void 0:s.fuelConclusion)==null?void 0:qn.fo)==null?void 0:Xn.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((vn=(jn=s==null?void 0:s.fuelConclusion)==null?void 0:jn.fo)==null?void 0:vn.conclusionStatus)==="Over"?"flex-center lost":((ts=(es=s==null?void 0:s.fuelConclusion)==null?void 0:es.fo)==null?void 0:ts.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[KT,e.createElementVNode("div",null,e.toDisplayString(((ls=(os=s==null?void 0:s.fuelConclusion)==null?void 0:os.fo)==null?void 0:ls.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",qT,e.toDisplayString(l.noGoodWxDay),1)),((ns=(as=s==null?void 0:s.extend)==null?void 0:as.cp)==null?void 0:ns.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",XT,[jT,e.createElementVNode("div",vT,"Seg. "+e.toDisplayString(j+1)+" Diesel/Gas Oil ",1)]),(ss=s==null?void 0:s.goodWx)!=null&&ss.distance?(e.openBlock(),e.createElementBlock("div",eO,[e.createElementVNode("div",tO,[oO,e.createElementVNode("div",lO,[e.createElementVNode("div",aO,[e.createElementVNode("div",null,e.toDisplayString((cs=(is=o.report)==null?void 0:is.weather)!=null&&cs.noExtrapolation?(ds=s==null?void 0:s.goodWx)==null?void 0:ds.distance:(rs=s==null?void 0:s.allWx)==null?void 0:rs.distance),1),nO,e.createElementVNode("div",null,e.toDisplayString((ms=s==null?void 0:s.goodWx)==null?void 0:ms.pfmSpd),1)]),sO,e.createElementVNode("div",iO,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((ps=s==null?void 0:s.goodWx)==null?void 0:ps.sumDgoCons),1),((ys=(hs=s==null?void 0:s.goodWx)==null?void 0:hs.inEca)==null?void 0:ys.distance)>0?(e.openBlock(),e.createElementBlock("span",cO,[dO,e.createElementVNode("span",null,e.toDisplayString((_s=(Es=s==null?void 0:s.fuelConclusion)==null?void 0:Es.fo)==null?void 0:_s.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),rO,e.createElementVNode("div",null,e.toDisplayString((Ns=s==null?void 0:s.goodWx)==null?void 0:Ns.time),1)]),mO,e.createElementVNode("div",null,e.toDisplayString((fs=(Vs=s.fuelConclusion)==null?void 0:Vs.dgo)==null?void 0:fs.entireCons)+" (mt)",1),pO])]),e.createElementVNode("div",hO,[yO,e.createElementVNode("div",EO,[e.createElementVNode("div",_O,[e.createElementVNode("div",null,e.toDisplayString((Ds=(gs=o.report)==null?void 0:gs.weather)!=null&&Ds.noExtrapolation?(xs=s==null?void 0:s.goodWx)==null?void 0:xs.distance:(bs=s==null?void 0:s.allWx)==null?void 0:bs.distance),1),NO,e.createElementVNode("div",null,e.toDisplayString((Cs=s==null?void 0:s.timeConclusion)==null?void 0:Cs.minusAbtSpd),1)]),VO,e.createElementVNode("div",fO,[e.createElementVNode("div",null,e.toDisplayString((ks=(Ss=s==null?void 0:s.fuelConclusion)==null?void 0:Ss.dgo)==null?void 0:ks.overTolerance),1),gO,DO]),xO,e.createElementVNode("div",null,e.toDisplayString((Bs=(As=s.fuelConclusion)==null?void 0:As.dgo)==null?void 0:Bs.maxCons)+" (mt)",1),bO])]),e.createElementVNode("div",CO,[SO,e.createElementVNode("div",kO,[e.createElementVNode("div",AO,[e.createElementVNode("div",null,e.toDisplayString((Ts=(ws=o.report)==null?void 0:ws.weather)!=null&&Ts.noExtrapolation?(Os=s==null?void 0:s.goodWx)==null?void 0:Os.distance:(Fs=s==null?void 0:s.allWx)==null?void 0:Fs.distance),1),BO,e.createElementVNode("div",null,e.toDisplayString((Ps=s==null?void 0:s.timeConclusion)==null?void 0:Ps.minusAbtSpd),1)]),wO,e.createElementVNode("div",TO,[e.createElementVNode("div",null,e.toDisplayString((Ls=(us=s==null?void 0:s.fuelConclusion)==null?void 0:us.dgo)==null?void 0:Ls.underTolerance),1),OO,FO]),PO,e.createElementVNode("div",null,e.toDisplayString((Hs=(Ws=s.fuelConclusion)==null?void 0:Ws.dgo)==null?void 0:Hs.minCons)+" (mt)",1),uO])]),e.createElementVNode("div",LO,[((Gs=(Ms=s==null?void 0:s.fuelConclusion)==null?void 0:Ms.dgo)==null?void 0:Gs.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",WO,[HO,MO,GO,IO,e.createElementVNode("div",null,e.toDisplayString((Rs=(Is=s==null?void 0:s.fuelConclusion)==null?void 0:Is.dgo)==null?void 0:Rs.entireCons),1),RO,e.createElementVNode("div",null,e.toDisplayString((Us=(zs=s==null?void 0:s.fuelConclusion)==null?void 0:zs.dgo)==null?void 0:Us.maxCons),1),zO,e.createElementVNode("div",null,e.toDisplayString((Zs=(Ys=s==null?void 0:s.fuelConclusion)==null?void 0:Ys.dgo)==null?void 0:Zs.overCons),1)])):((Qs=($s=s==null?void 0:s.fuelConclusion)==null?void 0:$s.fo)==null?void 0:Qs.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",UO,[YO,ZO,$O,QO,e.createElementVNode("div",null,e.toDisplayString((Ks=(Js=s==null?void 0:s.fuelConclusion)==null?void 0:Js.dgo)==null?void 0:Ks.minCons),1),JO,e.createElementVNode("div",null,e.toDisplayString((Xs=(qs=s==null?void 0:s.fuelConclusion)==null?void 0:qs.dgo)==null?void 0:Xs.entireCons),1),KO,e.createElementVNode("div",null,e.toDisplayString((vs=(js=s==null?void 0:s.fuelConclusion)==null?void 0:js.dgo)==null?void 0:vs.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((ti=(ei=s==null?void 0:s.fuelConclusion)==null?void 0:ei.dgo)==null?void 0:ti.conclusionStatus)==="Over"?"flex-center lost":((li=(oi=s==null?void 0:s.fuelConclusion)==null?void 0:oi.dgo)==null?void 0:li.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[qO,e.createElementVNode("div",null,e.toDisplayString(((ni=(ai=s==null?void 0:s.fuelConclusion)==null?void 0:ai.dgo)==null?void 0:ni.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",XO,e.toDisplayString(l.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const vO=Ee(S8,[["render",jO],["__scopeId","data-v-ba7d7ffb"]]),Noe="",eF={components:{},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]},showFactor:{type:Boolean,default:!1}},data(){return{showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,showWaterTemp:!1}},computed:{computeTDClass(){return function(t){const n=[];return n.push(t.noonLength?"no-border-bottom":"no-border"),n.push(t.excluded?"excluded":t.goodWx?"good-wx":""),n.join(" ")}},computeWxColspan(){let t=12;return this.showCF||(t-=2),this.showAisDistance||(t-=2),this.showWave||(t-=1),this.showSwell||(t-=1),this.showSig||(t-=1),this.showWaterTemp||(t-=1),t},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${T(t).utc().format(n)}`}},computeLng(){return function(t){return te.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return te.LngLatHelper.lat2pretty(t)}},computePrecision(){return function(t,n=2,o="0.0"){return t?te.roundPrecision(t,n):o}}},watch:{report:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,n,o,c,l,a,p,i,_,g,S,h;this.showCF=((n=(t=this.report)==null?void 0:t.weather)==null?void 0:n.showCF)??!1,this.showAisDistance=((c=(o=this.report)==null?void 0:o.weather)==null?void 0:c.showAisDistance)??!0,this.showSig=((a=(l=this.report)==null?void 0:l.weather)==null?void 0:a.showSig)??!0,this.showSwell=((i=(p=this.report)==null?void 0:p.weather)==null?void 0:i.showSwell)??!0,this.showWave=((g=(_=this.report)==null?void 0:_.weather)==null?void 0:g.showWave)??!0,this.showWaterTemp=((h=(S=this.report)==null?void 0:S.weather)==null?void 0:h.waterTempSwitch)||!1}}},Be=t=>(e.pushScopeId("data-v-058514fe"),t=t(),e.popScopeId(),t),tF={class:"report-inventory"},oF={class:"section summary-section"},lF=Be(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),aF={class:"summary-block"},nF=Be(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label",rowspan:"2"},"Seg."),e.createElementVNode("th",{class:"label",rowspan:"2"},"Periods"),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Distance"),e.createElementVNode("div",null,"(nm)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Time"),e.createElementVNode("div",null,"(hrs)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Average Speed"),e.createElementVNode("div",null,"(kts)")]),e.createElementVNode("th",{class:"label",colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"DO/GO")])],-1)),sF={class:"label",rowspan:"4"},iF=Be(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),cF=Be(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),dF=Be(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),rF=Be(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),mF={class:"section inventory-section"},pF=e.createStaticVNode('<div class="legends flex-space" data-v-058514fe><div class="flex-start" style="flex:1.2;" data-v-058514fe><div class="legend good-wx" data-v-058514fe></div><div class="label flex-end" data-v-058514fe>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-058514fe><div class="legend adverse-wx" data-v-058514fe></div><div class="label" data-v-058514fe>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-058514fe><div class="legend excluded" data-v-058514fe></div><div class="label" data-v-058514fe>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-058514fe><div data-v-058514fe><label data-v-058514fe>B</label><span data-v-058514fe>BOSP</span></div><div data-v-058514fe><label data-v-058514fe>N</label><span data-v-058514fe>NOON</span></div><div data-v-058514fe><label data-v-058514fe>E</label><span data-v-058514fe>EOSP</span></div><div data-v-058514fe><label data-v-058514fe>*</label><span data-v-058514fe>Ship Reported Position</span></div></div></div>',1),hF={class:"inventory-block flex-center"},yF={style:{"font-size":"12px"}},EF=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),_F=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),NF=Be(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),VF=Be(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),fF=["colspan"],gF={key:0,class:"label",colspan:"2"},DF=Be(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),xF=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),bF=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),CF=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),SF=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),kF=Be(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),AF={key:0,class:"label",rowspan:"2"},BF=Be(()=>e.createElementVNode("br",null,null,-1)),wF={key:1,class:"label",rowspan:"2"},TF=Be(()=>e.createElementVNode("br",null,null,-1)),OF=Be(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),FF={key:2,class:"label",rowspan:"2"},PF=Be(()=>e.createElementVNode("br",null,null,-1)),uF={key:3,class:"label",colspan:"2"},LF={key:4,class:"label",rowspan:"2"},WF=Be(()=>e.createElementVNode("br",null,null,-1)),HF={key:5,class:"label",colspan:"2"},MF=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),GF={key:6,class:"label",rowspan:"2"},IF={key:7,class:"label",rowspan:"2"},RF={key:8,class:"label",rowspan:"2"},zF=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),UF=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),YF=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),ZF=Be(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),$F=Be(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),QF=Be(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),JF=Be(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),KF=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),qF=Be(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),XF=Be(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),jF=Be(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),vF=Be(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),eP={key:0,class:"label"},tP={key:1,class:"label"},oP={key:2,class:"label"},lP={key:3,class:"label"},aP=Be(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),nP=Be(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),sP=Be(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),iP=Be(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),cP=Be(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),dP=Be(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),rP=Be(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),mP=Be(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),pP={class:"summary-tbody"};function hP(t,n,o,c,l,a){var p;return e.openBlock(),e.createElementBlock("div",tF,[e.createElementVNode("div",oF,[lF,e.createElementVNode("div",aF,[e.createElementVNode("table",null,[nF,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=o.report)==null?void 0:p.segments,(i,_)=>{var g,S,h,N,x,r,C,k,F,L,w,O,b,u,I,Z,R,W,f,U;return e.openBlock(),e.createElementBlock(e.Fragment,{key:_},[e.createElementVNode("tr",null,[e.createElementVNode("td",sF,e.toDisplayString(_+1),1),iF,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((g=i==null?void 0:i.allWx)==null?void 0:g.distance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((S=i==null?void 0:i.allWx)==null?void 0:S.time,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((h=i==null?void 0:i.allWx)==null?void 0:h.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((N=i==null?void 0:i.allWx)==null?void 0:N.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((x=i==null?void 0:i.allWx)==null?void 0:x.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[cF,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((r=i==null?void 0:i.goodWx)==null?void 0:r.distance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((C=i==null?void 0:i.goodWx)==null?void 0:C.time,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((k=i==null?void 0:i.goodWx)==null?void 0:k.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((F=i==null?void 0:i.goodWx)==null?void 0:F.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((L=i==null?void 0:i.goodWx)==null?void 0:L.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[dF,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((w=i==null?void 0:i.badWx)==null?void 0:w.distance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((O=i==null?void 0:i.badWx)==null?void 0:O.time,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((b=i==null?void 0:i.badWx)==null?void 0:b.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((u=i==null?void 0:i.badWx)==null?void 0:u.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((I=i==null?void 0:i.badWx)==null?void 0:I.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[rF,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Z=i==null?void 0:i.excluded)==null?void 0:Z.sumDistance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((R=i==null?void 0:i.excluded)==null?void 0:R.sumDuration,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((W=i==null?void 0:i.excluded)==null?void 0:W.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((f=i==null?void 0:i.excluded)==null?void 0:f.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((U=i==null?void 0:i.excluded)==null?void 0:U.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",mF,[pF,e.createElementVNode("div",hF,[e.createElementVNode("table",yF,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[EF,_F,NF,VF,e.createElementVNode("th",{class:"label",colspan:a.computeWxColspan},"ORM Weather Analysis",8,fF),o.showFactor?(e.openBlock(),e.createElementBlock("th",gF,"Factor")):e.createCommentVNode("",!0),DF,xF]),e.createElementVNode("tr",null,[bF,CF,SF,kF,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",AF,[e.createTextVNode("Spd"),BF,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",wF,[e.createTextVNode("Dis"),TF,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),OF,l.showWave?(e.openBlock(),e.createElementBlock("th",FF,[e.createTextVNode("Sea HT"),PF,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",uF,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",LF,[e.createTextVNode("Sig Wave"),WF,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",HF,"Current")):e.createCommentVNode("",!0),MF,o.showFactor?(e.openBlock(),e.createElementBlock("th",GF,"cFactor")):e.createCommentVNode("",!0),o.showFactor?(e.openBlock(),e.createElementBlock("th",IF,"wxFactor")):e.createCommentVNode("",!0),l.showWaterTemp?(e.openBlock(),e.createElementBlock("th",RF,"Water Temp.")):e.createCommentVNode("",!0),zF,UF,YF,ZF,$F,QF,JF,KF]),e.createElementVNode("tr",null,[qF,XF,jF,vF,l.showSwell?(e.openBlock(),e.createElementBlock("th",eP,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",tP,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",oP,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",lP,"CF(kts)")):e.createCommentVNode("",!0),aP,nP,sP,iP,cP,dP,rP,mP])]),e.createElementVNode("tbody",pP,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.inventory,(i,_)=>{var g,S,h,N,x,r,C,k,F,L,w,O,b,u,I,Z,R,W,f,U,G,H,Q,J;return e.openBlock(),e.createElementBlock("tr",{key:_},[e.createElementVNode("td",{class:e.normalizeClass(i.segLength?"no-border-bottom":"no-border")},e.toDisplayString(i.segLength?i.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i.time),3),["B","E"].includes(i.abbrev)&&((g=i.noon)!=null&&g.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((S=i.noon)==null?void 0:S.port),3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i._lat.pretty),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i._lng.pretty),3)],64)),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.cp.dgo:""),3),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.avgSpdCalc:""),3)):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((N=(h=i.meteo)==null?void 0:h.wind)==null?void 0:N.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((r=(x=i.meteo)==null?void 0:x.wind)==null?void 0:r.scale)??"--"),3),l.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((F=(k=(C=i.meteo)==null?void 0:C.wave)==null?void 0:k.wd)==null?void 0:F.height)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((O=(w=(L=i.meteo)==null?void 0:L.wave)==null?void 0:w.swell)==null?void 0:O.direction)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((I=(u=(b=i.meteo)==null?void 0:b.wave)==null?void 0:u.swell)==null?void 0:I.height)??"--"),3)):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((W=(R=(Z=i.meteo)==null?void 0:Z.wave)==null?void 0:R.sig)==null?void 0:W.height)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((U=(f=i.meteo)==null?void 0:f.current)==null?void 0:U.direction)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((G=i.meteo)==null?void 0:G.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.dailyAvgCf:""),3),o.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((H=i.meteo)==null?void 0:H.cFactor)??"--"),3)):e.createCommentVNode("",!0),o.showFactor?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((Q=i.meteo)==null?void 0:Q.wxFactor)??"--"),3)):e.createCommentVNode("",!0),l.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((J=i.meteo)==null?void 0:J.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const yP=Ee(eF,[["render",hP],["__scopeId","data-v-058514fe"]]),Voe="",EP={components:{Lng:en,Lat:tn},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]}},data(){return{spdFoConsChart:void 0,spdDgoConsChart:void 0,wxChart:void 0,currChart:void 0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${T(t).utc().format(n)}`}}},watch:{inventory:{handler(t,n){t!=null&&t.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Uo.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Uo.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Uo.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var i,_,g,S,h,N;const t=[],n=[],o={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let c=0,l=0;this.inventory.forEach(x=>{var r,C,k,F,L,w,O,b,u,I,Z;if(x.noonLength){const R=this.computeUTCTime(x.noonUtc,"MM-DD/HHmm[Z]");t.push(R),c=Math.ceil(((r=x.noon)==null?void 0:r.foCons)>c?(C=x.noon)==null?void 0:C.foCons:c),c=Math.ceil(((k=x.cp)==null?void 0:k.fo)>c?(F=x.cp)==null?void 0:F.fo:c),l=Math.ceil(((L=x.noon)==null?void 0:L.dgoCons)>l?(w=x.noon)==null?void 0:w.dgoCons:l),l=Math.ceil(((O=x.cp)==null?void 0:O.dgo)>l?(b=x.cp)==null?void 0:b.dgo:l),n.push([R,(u=x.noon)==null?void 0:u.avgSpd,(I=x.noon)==null?void 0:I.foCons,(Z=x.noon)==null?void 0:Z.dgoCons,x.avgSpdCalc,x.cp.speed,x.goodWx&&!x.excluded?100:0,x.cp.dgo,x.cp.fo,x.excluded?100:0])}});const a={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"FO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,offset:10,max:c+1,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#6c8ad9"}},splitLine:{show:!1}}],series:[{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(_=(i=this.report)==null?void 0:i.weather)!=null&&_.believeRptDistance?o.noonAvgSpd:o.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,z:5},{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.cpSpeed},lineStyle:{color:"#f78888",type:"dashed"},itemStyle:{color:"#f78888"},data:n,z:4},{name:"FO Cons",type:"bar",yAxisIndex:1,itemStyle:{color:"#6c8ad9"},barGap:"-100%",encode:{x:o.dateTime,y:o.noonFoCons},data:n,z:2},{name:"CP FO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#6c8ad9"},lineStyle:{color:"#6c8ad9",type:"dashed"},encode:{x:o.dateTime,y:o.fo},data:n,z:3},{name:"Good Weather Days",type:"bar",encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"#b3f593"},data:n,z:1},{name:"Excluded Days",type:"bar",encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"#0000004d"},data:n,z:1}]};(g=this.spdFoConsChart)==null||g.setOption(a);const p={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"DGO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,max:l+.2,min:0,alignTicks:!0,splitLine:{show:!1},axisLine:{lineStyle:{color:"#a7c4ff"}}}],series:[{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(h=(S=this.report)==null?void 0:S.weather)!=null&&h.believeRptDistance?o.noonAvgSpd:o.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,z:5},{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.cpSpeed},lineStyle:{color:"#f78888",type:"dashed"},itemStyle:{color:"#f78888"},data:n,z:4},{name:"DGO Cons",type:"bar",yAxisIndex:1,itemStyle:{color:"#a7c4ff"},barGap:"-100%",encode:{x:o.dateTime,y:o.noonDgoCons},data:n,z:3},{name:"CP DGO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#a7c4ff"},lineStyle:{color:"#a7c4ff",type:"dashed"},encode:{x:o.dateTime,y:o.dgo},data:n,z:3},{name:"Good Weather Days",type:"bar",encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"#b3f593"},data:n,z:1},{name:"Excluded Days",type:"bar",encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"#0000004d"},data:n,z:1}]};(N=this.spdDgoConsChart)==null||N.setOption(p)},renderWxCurrChart(){var p;const t=[],n=[],o={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let c=4,l=0;this.inventory.forEach(i=>{var _,g,S,h,N,x,r,C,k,F,L,w,O,b,u;if(i.noonLength){l=i.noonLength?i.dailyAvgCf:l;const I=this.computeUTCTime(i.noonUtc,"MM-DD/HHmm[Z]");t.push(I),c=Math.ceil(((S=(g=(_=i.meteo)==null?void 0:_.wave)==null?void 0:g.sig)==null?void 0:S.height)>c?(x=(N=(h=i.meteo)==null?void 0:h.wave)==null?void 0:N.sig)==null?void 0:x.height:c),n.push([I,(r=i.noon)==null?void 0:r.windBF,(k=(C=i.meteo)==null?void 0:C.wind)==null?void 0:k.scale,(L=(F=i.meteo)==null?void 0:F.wind)==null?void 0:L.direction,(w=i.noon)==null?void 0:w.seasHt,(u=(b=(O=i.meteo)==null?void 0:O.wave)==null?void 0:b.sig)==null?void 0:u.height,l,i.goodWx&&!i.excluded?20:0,i.excluded?20:0])}});const a={animation:!1,title:{text:"Current Factor",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,position:"bottom",axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:50,nameGap:35,minInterval:.5,axisLine:{lineStyle:{color:"#da2e2ecc"}},splitLine:{show:!0}},{name:"Good Weather Days",show:!1}],series:[{name:"Current Factor",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.anlyCurFct},lineStyle:{color:"#da2e2ecc",type:"dashed"},itemStyle:{color:"#da2e2ecc"},smooth:!0,data:n,z:3},{name:"Good Weather Days",type:"bar",yAxisIndex:1,encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"#b3f593"},data:n,z:1}]};(p=this.currChart)==null||p.setOption(a)}}},Nl=t=>(e.pushScopeId("data-v-dace21b5"),t=t(),e.popScopeId(),t),_P={class:"report-summary"},NP={class:"section chart-section"},VP=Nl(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption with Current Analysis Graph")],-1)),fP={class:"chart-block"},gP={ref:"spdFoConsChart",class:"chart"},DP={ref:"spdDgoConsChart",class:"chart"},xP={ref:"currChart",class:"chart"},bP={class:"section map-section"},CP=Nl(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),SP={class:"map-block"},kP={class:"flex-space"},AP={class:"voyage-block",style:{height:"197px"}},BP={class:"flex-space label-block",style:{width:"100%"}},wP=Nl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),TP={style:{"text-transform":"uppercase"}},OP={class:"flex-space label-block",style:{width:"100%"}},FP=Nl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),PP={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},uP={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},LP={class:"flex-space label-block",style:{width:"100%"}},WP=Nl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),HP={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},MP={class:"flex-space label-block",style:{width:"100%"}},GP=Nl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),IP={key:0,class:"flex-end",style:{flex:"1"}},RP={key:1,class:"flex-end",style:{flex:"1"}},zP=Nl(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),UP={class:"flex-end",style:{width:"140px"}},YP={class:"flex-space label-block",style:{width:"100%"}},ZP=Nl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),$P={key:0,class:"flex-end",style:{flex:"1"}},QP={key:1,class:"flex-end",style:{flex:"1"}},JP=Nl(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),KP={class:"flex-end",style:{width:"140px"}},qP={class:"flex-space label-block",style:{width:"100%"}},XP=Nl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),jP={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},vP=e.createStaticVNode('<div class="legend-block" data-v-dace21b5><div style="position:absolute;margin-top:-8px;" data-v-dace21b5>LEGEND</div><div class="flex-space" data-v-dace21b5><div data-v-dace21b5>0812</div><div data-v-dace21b5><div data-v-dace21b5>08 - Day of the month</div><div data-v-dace21b5>12 - Hours of the day</div></div></div><div class="flex-space" data-v-dace21b5><div data-v-dace21b5><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-dace21b5></i></div><div data-v-dace21b5><div data-v-dace21b5>Wind from N (000)</div><div data-v-dace21b5>Each bard = 10 kts</div><div data-v-dace21b5>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-dace21b5><div data-v-dace21b5>W 4</div><div data-v-dace21b5> Sig. Wave from West, 4 meters </div></div><div class="flex-space" data-v-dace21b5><div class="good-wx" data-v-dace21b5>Date</div><div data-v-dace21b5>Good weather days</div></div></div>',1),eu=["src"],tu=e.createStaticVNode('<div class="section method-section" data-v-dace21b5><div class="header-block flex-center" data-v-dace21b5><i class="iconfont" data-v-dace21b5></i><div class="title" data-v-dace21b5>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>1. Good Weather Method</div><div class="method-body" data-v-dace21b5> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd's Rep 166 and The Gas Enterprise [1993] 2 Lloyd's Rep. 352. <br data-v-dace21b5> The vessel's performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-dace21b5> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a "good weather day" or "adverse weather day" according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-dace21b5> Speed and Consumption Calculation applies allowed time and allowed consumption calculated based on cp speed and consumption in good weather conditions. Complying with maritime arbitration standards, time loss and over/under-consumption is not calculated when there are no good weather days. </div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-dace21b5> To complete the Good Weather Analysis method requests daily noon positions (including time, distance, weather, seas, bunker consumption, etc.) from the Master, which are to be inspected in evaluation reports. We will apply our analyzed distances. Weather and sea conditions in reports represent our verified weather data. </div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>4. “About”</div><div class="method-body" data-v-dace21b5> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-dace21b5> As per the High Court decision on The Gaz Energy (2012) 852 LMLN 2 a plus 5% tolerance in over-consumption calculation and a minus 5% tolerance in under-consumption are employed respectively when an “about” is included with the consumption warranty, unless otherwise stipulated. </div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-dace21b5> The following methodology will be applied to analyze bunker consumption when the bunker type is switched over, such as in ECA/SECA zone. <br data-v-dace21b5> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-dace21b5> 5-2 Considering DO/GO consumption in the switch over period the amount of DO/GO consumed will initially be compared to the DO/GO warranted figure; the remaining DO/GO consumed in the switch over period will then be compared to the warranted IFO figure. In cases of partial steaming Days, the DO/GO consumed will be converted basis a calculation for hourly consumption. </div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>6. Further reference materials</div><div class="method-body" data-v-dace21b5>Please send mail to <a href="mailto:op@ormwx.com" data-v-dace21b5>op@ormwx.com</a>.</div></div></div></div>',1);function ou(t,n,o,c,l,a){var _,g,S,h,N,x,r,C,k,F,L,w,O,b,u,I,Z,R,W,f,U,G,H,Q,J,X,q;const p=e.resolveComponent("Lat"),i=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",_P,[e.createElementVNode("div",NP,[VP,e.createElementVNode("div",fP,[e.createElementVNode("div",gP,null,512),e.createElementVNode("div",DP,null,512),e.createElementVNode("div",xP,null,512)])]),e.createElementVNode("div",bP,[CP,e.createElementVNode("div",SP,[e.createElementVNode("div",kP,[e.createElementVNode("div",AP,[e.createElementVNode("div",BP,[wP,e.createElementVNode("span",TP,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",OP,[FP,e.createElementVNode("span",PP,e.toDisplayString((g=(_=o.report)==null?void 0:_.vessel)==null?void 0:g.name),1),e.createElementVNode("span",uP,"("+e.toDisplayString((h=(S=o.report)==null?void 0:S.vessel)==null?void 0:h.type)+")",1)]),e.createElementVNode("div",LP,[WP,e.createElementVNode("span",HP,e.toDisplayString((x=(N=o.report)==null?void 0:N.voyage)==null?void 0:x.number),1)]),e.createElementVNode("div",MP,[GP,(C=(r=o.report)==null?void 0:r.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",IP,e.toDisplayString((F=(k=o.report)==null?void 0:k.departure)==null?void 0:F.portName),1)):(e.openBlock(),e.createElementBlock("div",RP,[e.createVNode(p,{lat:(w=(L=o.report)==null?void 0:L.departure)==null?void 0:w.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),zP,e.createVNode(i,{lng:(O=o.report.departure)==null?void 0:O.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",UP,e.toDisplayString(a.computeUTCTime((b=o.report.departure)==null?void 0:b.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",YP,[ZP,(I=(u=o.report)==null?void 0:u.arrival)!=null&&I.portName?(e.openBlock(),e.createElementBlock("span",$P,e.toDisplayString((R=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:R.portName),1)):(e.openBlock(),e.createElementBlock("div",QP,[e.createVNode(p,{lat:(f=(W=o.report)==null?void 0:W.arrival)==null?void 0:f.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),JP,e.createVNode(i,{lng:(G=(U=o.report)==null?void 0:U.arrival)==null?void 0:G.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",KP,e.toDisplayString(a.computeUTCTime((Q=(H=o.report)==null?void 0:H.arrival)==null?void 0:Q.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",qP,[XP,e.createElementVNode("span",jP,e.toDisplayString((X=(J=o.report)==null?void 0:J.voyage)==null?void 0:X.loadCondition),1)])]),vP]),e.createElementVNode("img",{src:(q=o.report)==null?void 0:q.chartUrl,alt:""},null,8,eu)])]),tu])}const lu=Ee(EP,[["render",ou],["__scopeId","data-v-dace21b5"]]),foe="",au={components:{Brand:yo,Summary:vO,Inventory:yP,Chart:lu,Loading:ln},props:{report:{type:Object,default:()=>({})}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${T(t).utc().format(n)}`}}},watch:{report:{handler(t,n){t!=null&&t.id&&(this.loading=!1,this.$nextTick(()=>{this.prepare()}))},immediate:!0}},data(){return{inventory:[],loading:!0}},methods:{commit(t){this.$emit("commit",t)},prepare(){var n,o;const t=[];(o=(n=this.report)==null?void 0:n.segments)==null||o.forEach(c=>{const l=c.extend.cp;let a,p,i=!1;c.inventory.sample.hours.forEach((_,g)=>{a||(a=_),(!p||i)&&(p=_,i=!1),a.segIndex===_.segIndex?a.segLength=(a.segLength||0)+1:(a=_,a.segLength=1),p.noonLength=(p.noonLength||0)+1;let S=_.type.charAt(0);["N","E"].includes(S)&&(i=!0,p.dailyAvgCf=_.dailyAvgCf,p.avgSpdCalc=_.avgSpdCalc,p.distanceCalc=_.distanceCalc,p.noonUtc=_.utc,p.noon=_.noon),_.abbrev=S,S=S==="M"?"*":S==="A"?"":S,_.time=`${S} ${this.computeUTCTime(_.utc,"MMM-DD/HHmm[Z]")}`,_._lng=te.LngLatHelper.lng2pretty(_.lng),_._lat=te.LngLatHelper.lat2pretty(_.lat),_.cp=l,t.push(_)})}),t.sort((c,l)=>c.date-l.date),this.inventory=t}}};function nu(t,n,o,c,l,a){var h,N,x,r;const p=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),_=e.resolveComponent("Summary"),g=e.resolveComponent("Inventory"),S=e.resolveComponent("Chart");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((N=(h=o.report)==null?void 0:h.weather)!=null&&N.referenceOnly||(r=(x=o.report)==null?void 0:x.weather)!=null&&r.overallAsGoodWx?"report-section watermark":"report-section")},[e.createVNode(p,{name:"Voyage Analysis Report",issued:o.report.createdAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading,onTimeout:n[0]||(n[0]=C=>l.loading=!1)},null,8,["loading"]),e.createVNode(_,{report:o.report,class:"main",onCommit:a.commit},null,8,["report","onCommit"]),e.createVNode(g,{report:o.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"]),e.createVNode(S,{report:o.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"])],2)}const bn=Ee(au,[["render",nu],["__scopeId","data-v-23bf57dc"]]),su={install(t){t.component("OpiVoyageReport",Dn),t.component("FliVoyageReport",xn),t.component("OrmVoyageReport",bn)}},goe="",Doe="",fl={map:null,bounds:null,style:null,initStyle(t){this.style=t},addSourceData(t,n){this.map.getSource("gridLine")||this.map.getSource("gridPoint")?((this.map.getLayer("Linegrid")||this.map.getLayer("Pointgrid"))&&(this.map.removeLayer("Linegrid"),this.map.removeLayer("Pointgrid")),this.map.removeSource("gridLine"),this.map.removeSource("gridPoint"),this.map.addSource("gridLine",{type:"geojson",data:{type:"FeatureCollection",features:t}}),this.map.addSource("gridPoint",{type:"geojson",data:{type:"FeatureCollection",features:n}}),this.addLayerData()):(this.map.addSource("gridLine",{type:"geojson",data:{type:"FeatureCollection",features:[]}}),this.map.addSource("gridPoint",{type:"geojson",data:{type:"FeatureCollection",features:[]}}))},addLayerData(t){this.map.addLayer({id:"Linegrid",type:"line",source:"gridLine",layout:{"line-cap":"round","line-join":"round"},paint:this.style.line}),this.map.addLayer({id:"Pointgrid",type:"symbol",source:"gridPoint",layout:{"text-field":["get","name"],"text-offset":[0,1.25],"text-anchor":"bottom","text-size":["interpolate",["linear"],["zoom"],4,12,6,12]},paint:this.style.point})},initProperty(t){this.map=t,this.bounds={x1:-220,x2:450,y1:-80,y2:85}},computerZoom(){const t=this.map.getZoom();let n;return t<=1||t>1&&t<=2?n=40:t>2&&t<=3?n=30:t>3&&t<=4?n=20:t>4&&t<=5?n=15:n=10,n},computerLon(t){let n="";return t===0&&(n="0"),t>0&&t<=180&&(n=""+t+"° E"),t>180&&t<=360&&(n=""+(t-180)+"° W"),t>360&&(n=""+(t-360)+"° E"),t<0&&t>=-180&&(n=""+(0-t)+"° W"),t<-180&&t>-360&&(n=""+(t+360)+"° E"),n},computerLat(t){let n="";return t===0&&(n="0"),t>0&&t<=90&&(n=""+t+"° N"),t>-90&&t<0&&(n=""+(0-t)+"° S"),n},initGrid(){let t=[];const n=[],o=[];this.XY=this.bounds;const c=this.computerZoom(),l=this.map.getCenter();for(let a=this.XY.x1;a<this.XY.x2;a=a+c)t=[],t.push([a,this.XY.y1],[a,this.XY.y2]),n.push({type:"Feature",geometry:{type:"LineString",coordinates:t}}),o.push({type:"Feature",geometry:{type:"Point",coordinates:[a,Math.round(l.lat)]},properties:{name:this.computerLon(a)}});for(let a=this.XY.y1;a<this.XY.y2;a=a+c)t=[],t.push([this.XY.x1,a],[this.XY.x2,a]),n.push({type:"Feature",geometry:{type:"LineString",coordinates:t}}),o.push({type:"Feature",geometry:{type:"Point",coordinates:[Math.round(l.lng),a]},properties:{name:this.computerLat(a)}});this.addSourceData(n,o)}},xoe="",boe="",iu={props:{data:{type:Object,default:()=>[]},name:{type:String,default:()=>""},model:{type:String,default:()=>""},ts:{type:String,default:()=>""},token:{type:String,default:""},changeZoom:{type:Boolean,default:!1}},components:{HurricaneGL:Ni.HurricaneGL},data(){return{map:void 0}},watch:{data:{handler(t){},immediate:!0}},computed:{},mounted(){this.initMap()},methods:{async initMap(){_l.accessToken="pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsYnQ5cjh6NzAweGQzd29ucHBhN3I4ZmEifQ.4nssThLnkrR4VjWBR21Ahg",this.map=new _l.Map({container:"report-map",style:"mapbox://styles/neatchenheng/clxwst0tq00wd01rn0usb2eer",projection:"mercator",preserveDrawingBuffer:!0,zoom:4,dragRotate:!1,pitchWithRotate:!1,minZoom:1}),this.drawGrid()},drawGrid(){const o={line:{"line-color":"rgba(105,105,105, 0.3)","line-width":.5},point:{"text-color":"rgba(105,105,105, 1)","text-halo-width":1}};let c=this;this.map.on("load",function(){fl.initStyle(o),fl.initProperty(c.map),fl.addSourceData([]),fl.addLayerData(),fl.initGrid()}),this.map.on("moveend",l=>{fl.initProperty(c.map),fl.initGrid()}),this.map.on("zoomend",l=>{fl.initProperty(c.map),fl.initGrid()})}}},cu=t=>(e.pushScopeId("data-v-852b5c75"),t=t(),e.popScopeId(),t),du={class:"map"},ru=cu(()=>e.createElementVNode("div",{id:"report-map",class:"map-box"},null,-1));function mu(t,n,o,c,l,a){const p=e.resolveComponent("HurricaneGL");return e.openBlock(),e.createElementBlock("div",du,[ru,e.createVNode(p,{class:"hurricane",map:l.map,name:o.name,model:o.model,ts:o.ts,token:o.token,changeZoom:o.changeZoom},null,8,["map","name","model","ts","token","changeZoom"])])}const pu=Ee(iu,[["render",mu],["__scopeId","data-v-852b5c75"]]),hu={props:{id:{type:String,default:function(){return""}},title:{type:String,default:function(){return""}},series:{type:Object,default:function(){return[]}},xAxis:{type:Object,default:function(){return[]}},color:{type:Object,default:function(){return[]}}},data(){return{chart:void 0}},watch:{series:{handler(t,n){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(n)&&this.$nextTick(()=>{this.initProbabilityData()})},immediate:!0}},methods:{initProbabilityData(){if(!this.chart){let c=document.getElementById(this.id);this.chart=e.markRaw(Uo.init(c))}const t=Number(T(this.xAxis[0]).utc().format("x"))-8*60*60*1e3,n=Number(T(this.xAxis[this.xAxis.length-1]).utc().format("x"))-8*60*60*1e3;let o={title:{text:this.title,left:"4%"},grid:{right:"5%",bottom:"15%"},tooltip:{trigger:"axis"},legend:{show:!0,top:"12%",right:"5%"},color:this.color,xAxis:{type:"time",min:t,max:n,axisLabel:{show:!0,formatter:function(c,l){var a=T(c).format("MMMDD"),p=T(c).format("HH");return p==="00"||l===0?a:p}}},yAxis:{name:"",nameTextStyle:{color:"#fff",fontSize:12,padding:[0,60,0,0]},type:"value",splitLine:{show:!0},axisLine:{show:!0},axislabel:{show:!0},axisTick:{show:!1},splitLine:!1},series:this.series};this.id==="pressureChart"&&(o.yAxis.min="900"),console.log(o,"option"),this.$nextTick(()=>{this.chart.setOption(o)})}}},yu=["id"];function Eu(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{height:"100%"}},null,8,yu)])}const _u=Ee(hu,[["render",Eu]]),Coe="",Nu={props:{data:{type:Object,default:()=>({})},name:{type:String,default:()=>""},model:{type:String,default:()=>""},ts:{type:String,default:()=>""},token:{type:String,default:""},changeZoom:{type:Boolean,default:!1}},components:{IdmBrand:yo,Map:pu,Echart:_u},data(){return{dateTime:void 0,typhoonData:[],timeSubscript:["0","6","12","18","24","36","48","72"],hourSubscript:[6,12,18,24],records:void 0,xAxis:[],probabilityColor:["#010101","#941c12","#ed0000","#ee7b00","#efd700","#5dfc02"],probabilitySeries:[],spdSeries:[],pressureSeries:[]}},watch:{data:{handler(t){t&&t.hours&&this.fetchData()},immediate:!0},ts:{handler(t){t&&!isNaN(t)&&(this.dateTime=this.computeUTCTime(Number(t),"dddd, MMMM D,YYYY"))},immediate:!0}},computed:{computeRoundPrecision(){return function(t){return t==="-"?"-":te.roundPrecision(t,0)}},computeWind(){let t=this;return function(n){return n>=0?t.computeRoundPrecision(n):"-"}},computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t!=="-"?`${T(t).utc().format(n)}`:"-"}},computeHours(){return function(t,n){return T(n).add(t,"h").utc().format("MMMDD/HH[Z]")}},computedLngLat(){return function(t,n){return`${te.LngLatHelper.lat2pretty(t).pretty} / ${te.LngLatHelper.lng2pretty(n).pretty}`}},computeCandidateIndex(){return function(t,n){let o=0;for(const c in t){if(Number(c)>n)return{prev:o,next:Number(c)};o=Number(c)}return{prev:o,next:-1}}},computeInterpolateValue(){return function(t,n,o){return t?n?Math.round((t+(n-t)*o)*100)/100:t:n}},computeHourSubscript(){return function(t){let n="";return this.hourSubscript.forEach((o,c)=>{t<o&&n===""&&(n=c)}),n}},computeKLineData(){return function(t){const n=t.length;let o={time:t[0][0],min:void 0,max:void 0,first:t[0][1],last:t[n-1][1],middle:""},c=t[0][1],l=t[0][1];return t.forEach(a=>{c=!c||c<a[1]?a[1]:c,l=!l||l>a[1]?a[1]:l}),l||c?o.middle=(Number(l)+Number(c))/2:o.middle="-",o.min=l,o.max=c,o}}},methods:{async fetchData(){var S;this.typhoonData=[];let t=[];if(this.data.hours.length<8)for(let h in this.data.hours){let N=this.data.hours[h];N.hour=h,t.push(N)}else{let h=0;for(let N in this.data.hours)if(h<8){let x=this.data.hours[N];x.hour=N,t.push(x),h++}}this.typhoonData=t,this.records=await this.interpolatedRecord(this.data.date,this.data.hours,1),this.records[0]=this.data.hours[0];const n=this.ts?T(Number(this.ts)).utc().format("YYYY-MM-DD HH"):T().utc().format("YYYY-MM-DD HH");for(let h in this.records)T(this.data.date).add(h,"h").utc().format("YYYY-MM-DD HH")===n&&this.$emit("center",this.records[h]);let o=this.computeHourSubscript(T(this.data.date).utc().format("H"));const c=[],l=[],a=[],p=[];let i=[],_=[],g=[];for(let h in this.records){const N=this.records[h],x=T(this.data.date).add(h,"h").utc(),r=this.computeHourSubscript(T(x).format("H")),C=`${T(x).format("YYYY-MM-DD")} ${this.hourSubscript[r]}:00:00`;o===r?(_.push([C,N.wind.kts]),g.push([C,N.pressure]),i.push([C,N.wind.spd])):(c.push(i),l.push(_),a.push(g),o=r,i=[],_=[],g=[],i.push([C,N.wind.spd]),_.push([C,N.wind.kts]),g.push([C,N.pressure]),this.xAxis.push(x))}for(let h in this.data.hours){const N=this.data.hours[h],x=T(this.data.date).add(h,"h").utc(),r=this.computeHourSubscript(T(x).format("H")),C=`${T(x).format("YYYY-MM-DD")} ${this.hourSubscript[r]}:00:00`;p.push([C,((S=N.gusts)==null?void 0:S.kts)??"-"])}this.fetchProbabilityData(c),this.fetchSpdData(l,p),this.fetchPressureData(a)},fetchProbabilityData(t){let n={td:[],ts:[],sts:[],ty:[],sty:[],supty:[]};t.forEach(o=>{let c=0,l=0,a=0,p=0,i=0,_=0;o.forEach(S=>{const h=S[1];h<=17.1?c++:h<=24.4?l++:h<=32.6?a++:h<=41.4?p++:h<=50.9?i++:h>50.9&&_++});const g=o.length;n.td.push([o[0][0],te.roundPrecision(c/g,2)*100]),n.ts.push([o[0][0],te.roundPrecision(l/g,2)*100]),n.sts.push([o[0][0],te.roundPrecision(a/g,2)*100]),n.ty.push([o[0][0],te.roundPrecision(p/g,2)*100]),n.sty.push([o[0][0],te.roundPrecision(i/g,2)*100]),n.supty.push([o[0][0],te.roundPrecision(_/g,2)*100])}),this.probabilitySeries=[{name:"SuperTY[>94kts]",type:"bar",stack:"machine",label:{show:!1},data:n.supty},{name:"STY[80-94]",type:"bar",stack:"machine",label:{show:!1},data:n.sty},{name:"TY[64-79]",type:"bar",stack:"machine",label:{show:!1},data:n.ty},{name:"STS[48-63]",type:"bar",stack:"machine",label:{show:!1},data:n.sts},{name:"TS[33-47]",type:"bar",stack:"machine",label:{show:!1},data:n.ts},{name:"TD[<32]",type:"bar",stack:"machine",label:{show:!1},data:n.td}]},fetchSpdData(t,n){let o=[],c=[];t.forEach(l=>{const a=this.computeKLineData(l);let p=[a.time,a.first,a.last,a.min,a.max];c.push([a.time,a.middle]),o.push(p)}),this.spdSeries=[{type:"candlestick",itemStyle:{color:"#4ca053",color0:"#4ca053",borderColor:"#4ca053",borderColor0:"#4ca053"},data:o},{data:c,type:"line",smooth:!0,itemStyle:{color:"#a0c5e8"},lineStyle:{type:"dashed"}},{data:n,type:"line",symbol:"none",smooth:!1,itemStyle:{color:"#ccc"},lineStyle:{}}]},fetchPressureData(t){let n=[],o=[];t.forEach(c=>{const l=this.computeKLineData(c);let a=[l.time,l.first,l.last,l.min,l.max];o.push([l.time,l.middle]),n.push(a)}),this.pressureSeries=[{type:"candlestick",itemStyle:{color:"#4ca053",color0:"#4ca053",borderColor:"#4ca053",borderColor0:"#4ca053"},data:n},{data:o,type:"line",smooth:!0,itemStyle:{color:"#a0c5e8"},lineStyle:{type:"dashed"}}]},async interpolatedRecord(t,n,o=3){var i,_,g,S,h,N,x,r,C,k,F,L,w,O,b,u,I,Z,R,W,f,U,G,H,Q,J,X,q,V,M,$,s,j,d,v,oe;const c=T(t).set({second:0}).utc();let l=o-(c.get("hour")*60+c.get("minute"))%(o*60)/60,a;const p={};for(;a=this.computeCandidateIndex(n,l),a.next!==-1||l===a.prev;){const ee=(l-a.prev)/(a.next-a.prev);p[l]={gusts:this.computeInterpolateValue((i=n[a.prev])==null?void 0:i.gusts,(_=n[a.next])==null?void 0:_.gusts,ee),lat:this.computeInterpolateValue((g=n[a.prev])==null?void 0:g.lat,(S=n[a.next])==null?void 0:S.lat,ee),lng:this.computeInterpolateValue((h=n[a.prev])==null?void 0:h.lng,(N=n[a.next])==null?void 0:N.lng,ee),movement:{deg:this.computeInterpolateValue((r=(x=n[a.prev])==null?void 0:x.movement)==null?void 0:r.deg,(k=(C=n[a.next])==null?void 0:C.movement)==null?void 0:k.deg,ee),kts:this.computeInterpolateValue((L=(F=n[a.prev])==null?void 0:F.movement)==null?void 0:L.kts,(O=(w=n[a.next])==null?void 0:w.movement)==null?void 0:O.kts,ee),spd:this.computeInterpolateValue((u=(b=n[a.prev])==null?void 0:b.movement)==null?void 0:u.spd,(Z=(I=n[a.next])==null?void 0:I.movement)==null?void 0:Z.spd,ee)},pressure:this.computeInterpolateValue((R=n[a.prev])==null?void 0:R.pressure,(W=n[a.next])==null?void 0:W.pressure,ee),wind:{kts:this.computeInterpolateValue((U=(f=n[a.prev])==null?void 0:f.wind)==null?void 0:U.kts,(H=(G=n[a.next])==null?void 0:G.wind)==null?void 0:H.kts,ee),lat:this.computeInterpolateValue((J=(Q=n[a.prev])==null?void 0:Q.wind)==null?void 0:J.lat,(q=(X=n[a.next])==null?void 0:X.wind)==null?void 0:q.lat,ee),lng:this.computeInterpolateValue((M=(V=n[a.prev])==null?void 0:V.wind)==null?void 0:M.lng,(s=($=n[a.next])==null?void 0:$.wind)==null?void 0:s.lng,ee),spd:this.computeInterpolateValue((d=(j=n[a.prev])==null?void 0:j.wind)==null?void 0:d.spd,(oe=(v=n[a.next])==null?void 0:v.wind)==null?void 0:oe.spd,ee)}},l+=o}return p}}},Cn=t=>(e.pushScopeId("data-v-7324f644"),t=t(),e.popScopeId(),t),Vu={class:"typhoon-report"},fu={class:"report-content"},gu={class:"map"},Du={class:"table"},xu=Cn(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"Time"),e.createElementVNode("td",null,"Position"),e.createElementVNode("td",null,"Pres(hPa)"),e.createElementVNode("td",null,"Max(kts)"),e.createElementVNode("td",null,"Gusts(kts)"),e.createElementVNode("td",null,"35/50(kts)"),e.createElementVNode("td",null,"Dir(deg)"),e.createElementVNode("td",null,"Spd(kts)")])],-1)),bu=Cn(()=>e.createElementVNode("div",{class:"report-tips flex-end"}," The report is for reference only. All the material is an advisory provided so as to assist the Master in making the final route decision. ",-1));function Cu(t,n,o,c,l,a){const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Map"),_=e.resolveComponent("Echart");return e.openBlock(),e.createElementBlock("div",Vu,[e.createVNode(p,{name:"Tropical Cyclone Strike Probability Report"}),e.createElementVNode("div",fu,[e.createElementVNode("div",null,[e.createElementVNode("div",gu,[e.createVNode(i,{data:o.data,name:o.name,model:o.model,ts:o.ts,token:o.token,changeZoom:o.changeZoom},null,8,["data","name","model","ts","token","changeZoom"])]),e.createElementVNode("div",Du,[e.createElementVNode("table",null,[xu,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.typhoonData,(g,S)=>{var h,N,x,r,C,k;return e.openBlock(),e.createElementBlock("tr",{key:S},[e.createElementVNode("td",null,e.toDisplayString(a.computeHours(g.hour||"-",o.data.date)),1),e.createElementVNode("td",null,e.toDisplayString(a.computedLngLat(g.lat,g.lng)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(g.pressure??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((h=g==null?void 0:g.wind)==null?void 0:h.kts)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((N=g.gusts)==null?void 0:N.kts)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(`${a.computeWind(((x=g==null?void 0:g.wind)==null?void 0:x.r7)||"-")} / ${a.computeWind(((r=g==null?void 0:g.wind)==null?void 0:r.r10)||"-")} nm`),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((C=g==null?void 0:g.movement)==null?void 0:C.deg)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((k=g==null?void 0:g.movement)==null?void 0:k.spd)??"-")),1)])}),128))])])])]),e.createElementVNode("div",null,[e.createVNode(_,{class:"echart",id:"probabilityChart",title:"Probability(%) of Tropical Cyclone Intensity falling in each category",xAxis:l.xAxis,color:l.probabilityColor,series:l.probabilitySeries},null,8,["xAxis","color","series"]),e.createVNode(_,{class:"echart",id:"spdChart",title:"10m Wind Speed(kts) [ Solid=Gusts ; Dot=Avg.Speed ]",xAxis:l.xAxis,series:l.spdSeries},null,8,["xAxis","series"]),e.createVNode(_,{class:"echart",id:"pressureChart",title:"Mean Sea Level Pressure in Tropical Cyclone Center (hPa)",xAxis:l.xAxis,series:l.pressureSeries},null,8,["xAxis","series"])])]),bu])}const Sn=Ee(Nu,[["render",Cu],["__scopeId","data-v-7324f644"]]),Su={install(t){t.component("HurricaneReport",Sn)}},Soe="",ku={components:{IdmBrand:va},data(){return{isUSD:!1,type:"CNY",company:{name:{USD:"OCEAN PI TECHNOLOGY Co., Ltd.",CNY:"科湃科技(青岛)有限公司"},address:{USD:"ROOM 1006, BUILDING 5, No. 199, SHANDONG ROAD, QINGDAO, CHINA",CNY:"山东省青岛市市北区山东路 199 号 5 号楼 1006 户"},tel:"053283618328",dutyNumber:"91370203MACDEEJP0Q",bankName:{USD:"Shanghai Pudong Development Bank Qingdao Branch",CNY:"上海浦东发展银行股份有限公司青岛福州路支行"},bankAccount:{USD:"6908 0078 8144 0000 1837",CNY:"6908 0078 8016 0000 1829"},bankAddress:"No. 188, HAIER ROAD, QINGDAO, CHINA",bankSwift:"SPDBCNSH170",interBank:"CITIBANK N.A., NEW YORK",interSwift:"CITIUS33"},breaked:!1}},props:{data:{type:Object,default:()=>({})}},watch:{data:{handler(t){t&&(t.paymentType==="USD"?(this.isUSD=!0,this.type="USD"):(this.isUSD=!1,this.type="CNY"))},immediate:!0}},computed:{computeHtml(){return function(t){return t==null?void 0:t.replaceAll(`
|
|
42
|
+
`,"</br>")}},computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t!=="-"?`${T(t).utc().format(n)}`:"-"}},computeItem(){return function(t){if(t){const n=t.indexOf(",");if(n!==-1)return[t.substring(0,n),t.substring(n+1)]}else return["-","-"]}}},mounted(){this.$nextTick(()=>{var p;const t=this.$refs.name.offsetHeight,n=this.$refs.table.offsetHeight,o=this.$refs.detail.offsetHeight,c=(p=this.data)!=null&&p.memo?this.$refs.memo.offsetHeight:0;let l=1;for(;t+n+280>l*1123;)l++;const a=l*1123-(t+n+280);this.breaked=a<o+c})}},ho=t=>(e.pushScopeId("data-v-db643e45"),t=t(),e.popScopeId(),t),Au={class:"invoice-report"},Bu=ho(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),wu={class:"report-title"},Tu=ho(()=>e.createElementVNode("div",{class:"title"},"INVOICE",-1)),Ou={class:"title-info"},Fu=ho(()=>e.createElementVNode("div",null,[e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"})],-1)),Pu=ho(()=>e.createElementVNode("div",null,"Room 1006,Building 5,No. 199,",-1)),uu=ho(()=>e.createElementVNode("div",null,"Shandnog Road,Qing Dao China",-1)),Lu=ho(()=>e.createElementVNode("div",null,"Post Code: 266000",-1)),Wu=ho(()=>e.createElementVNode("div",null,"Email: op@oceanpitech.com",-1)),Hu={class:"report-content"},Mu={style:{display:"flex"},ref:"name",class:"name"},Gu=["innerHTML"],Iu={style:{"margin-bottom":"10px"}},Ru={class:"table",ref:"table"},zu=ho(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO"),e.createElementVNode("td",null,"ITEMS"),e.createElementVNode("td",null,"AMOUNTS")])],-1)),Uu=ho(()=>e.createElementVNode("td",null,null,-1)),Yu={class:"total"},Zu={class:"total"},$u={key:0,class:"page-break"},Qu={ref:"detail",class:"detail"},Ju={class:"title"},Ku={class:"info"},qu={class:"info"},Xu={class:"info"},ju={class:"info"},vu={class:"info"},eL={key:0},tL={class:"info"},oL=ho(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT: ",-1)),lL={class:"info"},aL=ho(()=>e.createElementVNode("span",{class:"info-title"},"Bank Add: ",-1)),nL={class:"info"},sL=ho(()=>e.createElementVNode("span",{class:"info-title"},"INTERMEDIARY BANK: ",-1)),iL={class:"info"},cL=ho(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT BIC: ",-1)),dL={key:1},rL={class:"info"},mL=ho(()=>e.createElementVNode("span",{class:"info-title cny"},"税号: ",-1)),pL={key:1,ref:"memo",class:"detail"},hL=ho(()=>e.createElementVNode("div",{class:"title"},"MEMO",-1)),yL=["innerHTML"];function EL(t,n,o,c,l,a){var i,_,g,S,h,N,x,r,C,k,F,L,w,O,b,u,I,Z,R;const p=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",Au,[e.createVNode(p),Bu,e.createElementVNode("div",wu,[Tu,e.createElementVNode("div",Ou,[Fu,e.createElementVNode("div",null,[e.createElementVNode("div",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},"Ocean PI Technology Co., Ltd",2),Pu,uu,Lu,Wu])])]),e.createElementVNode("div",Hu,[e.createElementVNode("div",Mu,[e.createTextVNode(" To: "),e.createElementVNode("div",{class:"name",innerHTML:a.computeHtml((_=(i=o.data)==null?void 0:i.invoiceTitle)==null?void 0:_.name)},null,8,Gu)],512),e.createElementVNode("div",null,"Date: "+e.toDisplayString(a.computeUTCTime((g=o.data)==null?void 0:g.paymentDate,"YYYY MMM DD")),1),e.createElementVNode("div",Iu,"No: "+e.toDisplayString((S=o.data)==null?void 0:S.number),1),e.createElementVNode("div",Ru,[e.createElementVNode("table",null,[zu,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=o.data)==null?void 0:h.reservations,(W,f)=>(e.openBlock(),e.createElementBlock("tr",{key:f},[e.createElementVNode("td",null,e.toDisplayString(f+1),1),e.createElementVNode("td",null,[e.createElementVNode("div",null,e.toDisplayString(a.computeItem(W==null?void 0:W.items)[0]),1),e.createElementVNode("div",null,e.toDisplayString(a.computeItem(W==null?void 0:W.items)[1]),1)]),e.createElementVNode("td",null,e.toDisplayString(`$ ${W==null?void 0:W.amount}`),1)]))),128)),e.createElementVNode("tr",null,[Uu,e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(`${l.isUSD?"":"Exchange rate: "+((N=o.data)==null?void 0:N.rate)}`)+" ",1),e.createElementVNode("span",Yu,e.toDisplayString(`${l.isUSD?"TOTAL":"TOTAL Amounts in CNY"}`),1)]),e.createElementVNode("td",null,[e.createElementVNode("span",Zu,e.toDisplayString(`${l.isUSD?"$":"¥"} ${(x=o.data)==null?void 0:x.paymentAmount}`),1)])])])])],512),l.breaked?(e.openBlock(),e.createElementBlock("div",$u)):e.createCommentVNode("",!0),e.createElementVNode("div",Qu,[e.createElementVNode("div",Ju,e.toDisplayString(`${l.isUSD?"USD ACCOUNT":"CNY ACCOUNT"}:`),1),e.createElementVNode("div",Ku,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Beneficiary's Name":"公司名称"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((r=l.company)==null?void 0:r.name[l.type])??"-"),1)]),e.createElementVNode("div",qu,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Add":"地址"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((C=l.company)==null?void 0:C.address[l.type])??"-"),1)]),e.createElementVNode("div",Xu,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Tel":"电话号码"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((k=l.company)==null?void 0:k.tel)??"-"),1)]),e.createElementVNode("div",ju,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Bank Name":"开户银行"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((F=l.company)==null?void 0:F.bankName[l.type])??"-"),1)]),e.createElementVNode("div",vu,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"A/C No":"银行账号"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((L=l.company)==null?void 0:L.bankAccount[l.type])??"-"),1)]),l.isUSD?(e.openBlock(),e.createElementBlock("div",eL,[e.createElementVNode("div",tL,[oL,e.createElementVNode("span",null,e.toDisplayString(((w=l.company)==null?void 0:w.bankSwift)??"-"),1)]),e.createElementVNode("div",lL,[aL,e.createElementVNode("span",null,e.toDisplayString(((O=l.company)==null?void 0:O.bankAddress)??"-"),1)]),e.createElementVNode("div",nL,[sL,e.createElementVNode("span",null,e.toDisplayString(((b=l.company)==null?void 0:b.interBank)??"-"),1)]),e.createElementVNode("div",iL,[cL,e.createElementVNode("span",null,e.toDisplayString(((u=l.company)==null?void 0:u.interSwift)??"-"),1)])])):(e.openBlock(),e.createElementBlock("div",dL,[e.createElementVNode("div",rL,[mL,e.createElementVNode("span",null,e.toDisplayString(((I=l.company)==null?void 0:I.dutyNumber)??"-"),1)])]))],512),(Z=o.data)!=null&&Z.memo?(e.openBlock(),e.createElementBlock("div",pL,[hL,e.createElementVNode("div",{class:"info",innerHTML:a.computeHtml((R=o.data)==null?void 0:R.memo)},null,8,yL)],512)):e.createCommentVNode("",!0)])])}const kn=Ee(ku,[["render",EL],["__scopeId","data-v-db643e45"]]),koe="",_L={components:{IdmBrand:yo},data(){return{account:{CNY:{title:"正权海事服务(青岛)有限公司",taxId:"91370203MADE2L8TX4",address:"山东省青岛市市北区山东路171号乙万科中心1号楼1805户",tel:"15192665266",bank:"中国银行股份有限公司青岛城阳支行",number:"220850858281"},USD:{title:"Ocean Right Marine Service Co., Ltd.",taxId:"91370203MADE2L8TX4",address:"Rm1805, B Technology Innovation Bldg. No. 171 Shandong Rd, Qingdao, China",tel:"15192665266",bank:"Bank of China Qingdao Chengyang Sub-Branch",number:"216950903845",swift:"BKCHCNBJ50A",bankAddr:"198 Zhengyang road Chengyang District, Qingdao, China",intermediaryBank:"Bank of China New York Branch",intermediaryBankSwift:"BKCHUS33XXX",intermediaryBankAbaNo:"326"}},reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},props:{report:{type:Object,default:()=>({})}},watch:{report:{handler(){var t,n,o,c,l,a,p;this.reservations4Route=(n=(t=this.report)==null?void 0:t.reservations)==null?void 0:n.filter(i=>i.props),this.reservations4Point=(c=(o=this.report)==null?void 0:o.reservations)==null?void 0:c.filter(i=>!i.props),this.totalInUS=(a=(l=this.report)==null?void 0:l.reservations)==null?void 0:a.reduce((i,_)=>Math.round((i+_.amount)*100)/100,0),(p=this.reservations4Route)!=null&&p.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}},computed:{computeTime(){return function(t,n="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${T(t).utcOffset(8).format(n)}`:"-"}}},mounted(){}},mt=t=>(e.pushScopeId("data-v-3894214e"),t=t(),e.popScopeId(),t),NL={class:"invoice-report"},VL={class:"section items-section"},fL={class:"flex-start"},gL=mt(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),DL=["innerHTML"],xL={class:"flex-space"},bL={class:"invoice-item"},CL={key:0,class:"invoice-item"},SL=mt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),kL=mt(()=>e.createElementVNode("td",null,"NO.",-1)),AL=["colspan"],BL=mt(()=>e.createElementVNode("td",null,"Amounts",-1)),wL=["colspan"],TL=["colspan"],OL=[mt(()=>e.createElementVNode("span",null,"Total in USD",-1))],FL={class:"total"},PL=["colspan"],uL=[mt(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],LL={class:"total"},WL=["colspan"],HL={class:"total"},ML={key:1},GL=["colspan"],IL=[mt(()=>e.createElementVNode("span",null,"Total in USD",-1))],RL={class:"total"},zL={key:0,class:"memo-block"},UL=mt(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),YL=["innerHTML"],ZL={class:"section company-section"},$L=mt(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"Bank Information",-1)),QL={class:"company-item"},JL=mt(()=>e.createElementVNode("label",null,"Bank",-1)),KL={class:"company-item"},qL=mt(()=>e.createElementVNode("label",null,"Account",-1)),XL={class:"company-item"},jL=mt(()=>e.createElementVNode("label",null,"Title",-1)),vL={class:"company-item"},eW=mt(()=>e.createElementVNode("label",null,"Addr",-1)),tW={class:"company-item"},oW=mt(()=>e.createElementVNode("label",null,"Tel",-1)),lW={class:"company-item"},aW=mt(()=>e.createElementVNode("label",null,"Tax ID",-1)),nW={class:"company-item"},sW=mt(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),iW={class:"company-item"},cW=mt(()=>e.createElementVNode("label",null,"Bank Name",-1)),dW={class:"company-item"},rW=mt(()=>e.createElementVNode("label",null,"Bank Address",-1)),mW={class:"company-item"},pW=mt(()=>e.createElementVNode("label",null,"Account No.",-1)),hW={class:"company-item"},yW=mt(()=>e.createElementVNode("label",null,"SWIFT",-1)),EW={class:"company-item"},_W=mt(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),NW={class:"company-item"},VW=mt(()=>e.createElementVNode("label",null,"SWIFT",-1)),fW={class:"company-item"},gW=mt(()=>e.createElementVNode("label",null,"ABA NO.",-1)),DW=e.createStaticVNode('<div class="section sign-section" data-v-3894214e><div class="flex-space" data-v-3894214e><div class="sign-block" data-v-3894214e><div data-v-3894214e>Finance Team</div><div data-v-3894214e>Ocean Right Marine Service Co., Ltd.</div><div data-v-3894214e>Email: <a href="mailto:op@ormwx.com" data-v-3894214e>op@ormwx.com</a></div><div data-v-3894214e>Address: Rm1805, B Technology Innovation Bldg, No. 171 Shandong Road, Qingdao, China.</div></div><div class="thank-block" data-v-3894214e> Thank You </div></div></div>',1);function xW(t,n,o,c,l,a){var i,_,g,S,h,N,x,r,C,k,F,L,w,O,b,u,I,Z,R,W,f,U,G,H,Q,J,X,q,V,M,$,s,j,d,v,oe,ee,ie,ce,de,re,_e;const p=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",NL,[e.createVNode(p,{name:"INVOICE",issued:o.report.createdAt},null,8,["issued"]),e.createElementVNode("div",VL,[e.createElementVNode("div",fL,[gL,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(g=(_=(i=o.report)==null?void 0:i.invoiceTitle)==null?void 0:_.name)==null?void 0:g.replace(`
|
|
43
|
+
`,"<br/>")},null,8,DL)]),e.createElementVNode("div",xL,[e.createElementVNode("div",bL,"Invoice No. "+e.toDisplayString(o.report.number),1),(S=o.report)!=null&&S.paymentDate?(e.openBlock(),e.createElementBlock("div",CL,"Paid: "+e.toDisplayString(a.computeTime(o.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(h=l.reservations4Route)!=null&&h.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[SL,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Route,(ae,he)=>{var Ne,Ve,fe,ge,De,xe,be,Ce,Se,Oe,Fe,ye,P,me,Pe,ue,Le,ke,We,Ue,Ye,z,we,Me;return e.openBlock(),e.createElementBlock("tr",{key:he},[e.createElementVNode("td",null,e.toDisplayString((fe=(Ve=(Ne=ae.props)==null?void 0:Ne[0])==null?void 0:Ve.voyage)==null?void 0:fe.number),1),e.createElementVNode("td",null,e.toDisplayString(((xe=(De=(ge=ae.props)==null?void 0:ge[0])==null?void 0:De.voyage)==null?void 0:xe.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((Se=(Ce=(be=ae.props)==null?void 0:be[0])==null?void 0:Ce.vessel)==null?void 0:Se.name),1),e.createElementVNode("td",null,e.toDisplayString((ye=(Fe=(Oe=ae.props)==null?void 0:Oe[0])==null?void 0:Fe.voyage)==null?void 0:ye.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((Pe=(me=(P=ae.props)==null?void 0:P[0])==null?void 0:me.departure)==null?void 0:Pe.name),1),e.createElementVNode("td",null,e.toDisplayString((ke=(Le=(ue=ae.props)==null?void 0:ue[0])==null?void 0:Le.departure)==null?void 0:ke.atd),1),e.createElementVNode("td",null,e.toDisplayString((Ye=(Ue=(We=ae.props)==null?void 0:We[0])==null?void 0:Ue.destination)==null?void 0:Ye.name),1),e.createElementVNode("td",null,e.toDisplayString((Me=(we=(z=ae.props)==null?void 0:z[0])==null?void 0:we.destination)==null?void 0:Me.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(ae.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(N=l.reservations4Point)!=null&&N.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[kL,e.createElementVNode("td",{colspan:l.maxColspans-1},"Items.",8,AL),BL])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Point,(ae,he)=>(e.openBlock(),e.createElementBlock("tr",{key:he},[e.createElementVNode("td",null,e.toDisplayString(ae.number),1),e.createElementVNode("td",{colspan:l.maxColspans-1},e.toDisplayString(ae.items),9,wL),e.createElementVNode("td",null,"$"+e.toDisplayString(ae.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tfoot",null,[((x=o.report)==null?void 0:x.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},OL,8,TL),e.createElementVNode("td",FL,[e.createElementVNode("span",null,e.toDisplayString(`$${l.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},uL,8,PL),e.createElementVNode("td",LL,[e.createElementVNode("span",null,e.toDisplayString((r=o.report)==null?void 0:r.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},"Total in CNY",8,WL),e.createElementVNode("td",HL,"¥"+e.toDisplayString((C=o.report)==null?void 0:C.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",ML,[e.createElementVNode("td",{colspan:l.maxColspans},IL,8,GL),e.createElementVNode("td",RL,[e.createElementVNode("span",null,e.toDisplayString(`$${(k=o.report)==null?void 0:k.paymentAmount}`),1)])]))])]),(F=o.report)!=null&&F.memo?(e.openBlock(),e.createElementBlock("div",zL,[UL,e.createElementVNode("div",{class:"invoice-item",innerHTML:(w=(L=o.report)==null?void 0:L.memo)==null?void 0:w.replace(`
|
|
44
|
+
`,"<br/>")},null,8,YL)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",ZL,[$L,((O=o.report)==null?void 0:O.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",QL,[JL,e.createElementVNode("span",null,e.toDisplayString((u=l.account[(b=o.report)==null?void 0:b.paymentType])==null?void 0:u.bank),1)]),e.createElementVNode("div",KL,[qL,e.createElementVNode("span",null,e.toDisplayString((Z=l.account[(I=o.report)==null?void 0:I.paymentType])==null?void 0:Z.number),1)]),e.createElementVNode("div",XL,[jL,e.createElementVNode("span",null,e.toDisplayString((W=l.account[(R=o.report)==null?void 0:R.paymentType])==null?void 0:W.title),1)]),e.createElementVNode("div",vL,[eW,e.createElementVNode("span",null,e.toDisplayString((U=l.account[(f=o.report)==null?void 0:f.paymentType])==null?void 0:U.address),1)]),e.createElementVNode("div",tW,[oW,e.createElementVNode("span",null,e.toDisplayString((H=l.account[(G=o.report)==null?void 0:G.paymentType])==null?void 0:H.tel),1)]),e.createElementVNode("div",lW,[aW,e.createElementVNode("span",null,e.toDisplayString((J=l.account[(Q=o.report)==null?void 0:Q.paymentType])==null?void 0:J.taxId),1)])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",nW,[sW,e.createElementVNode("span",null,e.toDisplayString((q=l.account[(X=o.report)==null?void 0:X.paymentType])==null?void 0:q.title),1)]),e.createElementVNode("div",iW,[cW,e.createElementVNode("span",null,e.toDisplayString((M=l.account[(V=o.report)==null?void 0:V.paymentType])==null?void 0:M.bank),1)]),e.createElementVNode("div",dW,[rW,e.createElementVNode("span",null,e.toDisplayString((s=l.account[($=o.report)==null?void 0:$.paymentType])==null?void 0:s.bankAddr),1)]),e.createElementVNode("div",mW,[pW,e.createElementVNode("span",null,e.toDisplayString((d=l.account[(j=o.report)==null?void 0:j.paymentType])==null?void 0:d.number),1)]),e.createElementVNode("div",hW,[yW,e.createElementVNode("span",null,e.toDisplayString((oe=l.account[(v=o.report)==null?void 0:v.paymentType])==null?void 0:oe.swift),1)]),e.createElementVNode("div",EW,[_W,e.createElementVNode("span",null,e.toDisplayString((ie=l.account[(ee=o.report)==null?void 0:ee.paymentType])==null?void 0:ie.intermediaryBank),1)]),e.createElementVNode("div",NW,[VW,e.createElementVNode("span",null,e.toDisplayString((de=l.account[(ce=o.report)==null?void 0:ce.paymentType])==null?void 0:de.intermediaryBankSwift),1)]),e.createElementVNode("div",fW,[gW,e.createElementVNode("span",null,e.toDisplayString((_e=l.account[(re=o.report)==null?void 0:re.paymentType])==null?void 0:_e.intermediaryBankAbaNo),1)])],64))]),DW])}const An=Ee(_L,[["render",xW],["__scopeId","data-v-3894214e"]]),Toe="",bW={components:{IdmBrand:yo},data(){return{reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},props:{report:{type:Object,default:()=>({})}},watch:{report:{handler(){var t,n,o,c,l,a,p;this.reservations4Route=(n=(t=this.report)==null?void 0:t.reservations)==null?void 0:n.filter(i=>i.props),this.reservations4Point=(c=(o=this.report)==null?void 0:o.reservations)==null?void 0:c.filter(i=>!i.props),this.totalInUS=(a=(l=this.report)==null?void 0:l.reservations)==null?void 0:a.reduce((i,_)=>Math.round((i+_.amount)*100)/100,0),(p=this.reservations4Route)!=null&&p.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}},computed:{computeTime(){return function(t,n="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${T(t).utcOffset(8).format(n)}`:"-"}}},mounted(){}},Dl=t=>(e.pushScopeId("data-v-744130ab"),t=t(),e.popScopeId(),t),CW={class:"invoice-report"},SW={class:"section items-section"},kW={class:"flex-start"},AW=Dl(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),BW=["innerHTML"],wW={class:"flex-space"},TW={class:"invoice-item"},OW={key:0,class:"invoice-item"},FW=Dl(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),PW=Dl(()=>e.createElementVNode("td",null,"NO.",-1)),uW=["colspan"],LW=Dl(()=>e.createElementVNode("td",null,"Amounts",-1)),WW=["colspan"],HW=["colspan"],MW=[Dl(()=>e.createElementVNode("span",null,"Total in USD",-1))],GW={class:"total"},IW=["colspan"],RW=[Dl(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],zW={class:"total"},UW=["colspan"],YW={class:"total"},ZW={key:1},$W=["colspan"],QW=[Dl(()=>e.createElementVNode("span",null,"Total in USD",-1))],JW={class:"total"},KW={key:0,class:"memo-block"},qW=Dl(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),XW=["innerHTML"];function jW(t,n,o,c,l,a){var p,i,_,g,S,h,N,x,r,C,k,F,L;return e.openBlock(),e.createElementBlock("div",CW,[e.createElementVNode("div",SW,[e.createElementVNode("div",kW,[AW,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(_=(i=(p=o.report)==null?void 0:p.invoiceTitle)==null?void 0:i.name)==null?void 0:_.replace(`
|
|
45
|
+
`,"<br/>")},null,8,BW)]),e.createElementVNode("div",wW,[e.createElementVNode("div",TW,"Invoice No. "+e.toDisplayString(o.report.number),1),(g=o.report)!=null&&g.paymentDate?(e.openBlock(),e.createElementBlock("div",OW,"Paid: "+e.toDisplayString(a.computeTime(o.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(S=l.reservations4Route)!=null&&S.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[FW,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Route,(w,O)=>{var b,u,I,Z,R,W,f,U,G,H,Q,J,X,q,V,M,$,s,j,d,v,oe,ee,ie;return e.openBlock(),e.createElementBlock("tr",{key:O},[e.createElementVNode("td",null,e.toDisplayString((I=(u=(b=w.props)==null?void 0:b[0])==null?void 0:u.voyage)==null?void 0:I.number),1),e.createElementVNode("td",null,e.toDisplayString(((W=(R=(Z=w.props)==null?void 0:Z[0])==null?void 0:R.voyage)==null?void 0:W.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((G=(U=(f=w.props)==null?void 0:f[0])==null?void 0:U.vessel)==null?void 0:G.name),1),e.createElementVNode("td",null,e.toDisplayString((J=(Q=(H=w.props)==null?void 0:H[0])==null?void 0:Q.voyage)==null?void 0:J.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((V=(q=(X=w.props)==null?void 0:X[0])==null?void 0:q.departure)==null?void 0:V.name),1),e.createElementVNode("td",null,e.toDisplayString((s=($=(M=w.props)==null?void 0:M[0])==null?void 0:$.departure)==null?void 0:s.atd),1),e.createElementVNode("td",null,e.toDisplayString((v=(d=(j=w.props)==null?void 0:j[0])==null?void 0:d.destination)==null?void 0:v.name),1),e.createElementVNode("td",null,e.toDisplayString((ie=(ee=(oe=w.props)==null?void 0:oe[0])==null?void 0:ee.destination)==null?void 0:ie.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(w.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(h=l.reservations4Point)!=null&&h.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[PW,e.createElementVNode("td",{colspan:l.maxColspans-1},"Items.",8,uW),LW])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Point,(w,O)=>(e.openBlock(),e.createElementBlock("tr",{key:O},[e.createElementVNode("td",null,e.toDisplayString(w.number),1),e.createElementVNode("td",{colspan:l.maxColspans-1},e.toDisplayString(w.items),9,WW),e.createElementVNode("td",null,"$"+e.toDisplayString(w.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tfoot",null,[((N=o.report)==null?void 0:N.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},MW,8,HW),e.createElementVNode("td",GW,[e.createElementVNode("span",null,e.toDisplayString(`$${l.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},RW,8,IW),e.createElementVNode("td",zW,[e.createElementVNode("span",null,e.toDisplayString((x=o.report)==null?void 0:x.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},"Total in CNY",8,UW),e.createElementVNode("td",YW,"¥"+e.toDisplayString((r=o.report)==null?void 0:r.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",ZW,[e.createElementVNode("td",{colspan:l.maxColspans},QW,8,$W),e.createElementVNode("td",JW,[e.createElementVNode("span",null,e.toDisplayString(`$${(C=o.report)==null?void 0:C.paymentAmount}`),1)])]))])]),(k=o.report)!=null&&k.memo?(e.openBlock(),e.createElementBlock("div",KW,[qW,e.createElementVNode("div",{class:"invoice-item",innerHTML:(L=(F=o.report)==null?void 0:F.memo)==null?void 0:L.replace(`
|
|
46
|
+
`,"<br/>")},null,8,XW)])):e.createCommentVNode("",!0)])])}const Bn=Ee(bW,[["render",jW],["__scopeId","data-v-744130ab"]]),vW={install(t){t.component("InvoiceReport",kn),t.component("OrmInvoiceReport",An),t.component("FliInvoiceReport",Bn)}},eH=t=>((typeof t=="string"||typeof t=="number")&&(t=T(t)),t),tH=(t,n="MMM-DD,YYYY/HHmm[Z]")=>oH(t,n),oH=(t,n="MMM-DD/HHmm[Z]")=>(t=eH(t),t?`${t.utc().format(n)}`:"-"),uoe="",lH={name:"IdmEditableItem",components:{Edit:on.Edit,Close:on.Close,IdmEditor:zo},props:{width:{type:Number,default:80},disabled:{type:Boolean,default:!1},iconable:{type:Boolean,default:!0},type:{type:String,default:"input"},label:{type:String,default:""},value:{default:void 0},raw:{default:void 0},min:{type:Number},max:{type:Number},step:{type:Number},precision:{type:Number},controls:{type:Boolean,default:!1},size:{type:String,default:"default"},options:{type:Array,default:[]},radios:{type:Array,default:[]},checkboxs:{type:Array,default:[]},format:{type:String,default:"YYYY-MM-DD/HH:mm [Z]"},valueFormat:{type:String,default:"YYYY-MM-DDTHH:mm:00[Z]"},align:{type:String,default:"flex-start"}},data(){return{editable:!1,model:void 0}},computed:{computeUtcTime(){return function(t,n){return tH(t,n)}}},methods:{handleEdit(){this.disabled||(this.editable=!0,this.model=this.raw??this.value)},handleCancel(){this.editable=!1,this.model=void 0},handleSwitch(){this.model=!this.model,this.handleCommit()},handleCommit(){this.$nextTick(()=>{this.editable=!1}),this.model!==(this.raw??this.value)&&(typeof this.model=="boolean"||this.type==="alphanumeric"||this.type==="textarea"?this.$emit("commit",this.model):!isNaN(this.model)&&Number(this.model)!==1/0?this.$emit("commit",Number(this.model)):this.$emit("commit",this.model))},fetchSelectOptions(t){this.$emit("select",t)}}},aH={class:"idm-editable-item"},nH=["innerHTML"],sH={key:3,class:"buttons"};function iH(t,n,o,c,l,a){const p=e.resolveComponent("ElTag"),i=e.resolveComponent("ElInput"),_=e.resolveComponent("IdmEditor"),g=e.resolveComponent("ElInputNumber"),S=e.resolveComponent("ElDatePicker"),h=e.resolveComponent("ElOption"),N=e.resolveComponent("ElSelect"),x=e.resolveComponent("ElRadio"),r=e.resolveComponent("ElRadioGroup"),C=e.resolveComponent("ElCheckbox"),k=e.resolveComponent("ElCheckboxGroup"),F=e.resolveComponent("Edit"),L=e.resolveComponent("ElIcon"),w=e.resolveComponent("ElButton"),O=e.resolveComponent("Close");return e.openBlock(),e.createElementBlock("div",aH,[e.createElementVNode("div",{class:"group",style:e.normalizeStyle({justifyContent:o.align})},[o.label?(e.openBlock(),e.createElementBlock("label",{key:0,style:e.normalizeStyle({width:o.width+"px"})},e.toDisplayString(o.label),5)):e.createCommentVNode("",!0),l.editable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[o.type==="input"?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.model,"onUpdate:modelValue":n[2]||(n[2]=b=>l.model=b),size:o.size,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="alphanumeric"?(e.openBlock(),e.createBlock(i,{key:1,modelValue:l.model,"onUpdate:modelValue":n[3]||(n[3]=b=>l.model=b),size:o.size,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="textarea"?(e.openBlock(),e.createBlock(i,{key:2,modelValue:l.model,"onUpdate:modelValue":n[4]||(n[4]=b=>l.model=b),size:o.size,type:"textarea",rows:4,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="richText"?(e.openBlock(),e.createBlock(_,{key:3,modelValue:l.model,"onUpdate:modelValue":n[5]||(n[5]=b=>l.model=b),onBlur:a.handleCommit},null,8,["modelValue","onBlur"])):e.createCommentVNode("",!0),o.type==="number"?(e.openBlock(),e.createBlock(g,{key:4,modelValue:l.model,"onUpdate:modelValue":n[6]||(n[6]=b=>l.model=b),size:o.size,controls:o.controls,min:o.min,max:o.max,step:o.step,precision:o.precision,onBlur:a.handleCommit,onChange:a.handleCommit},null,8,["modelValue","size","controls","min","max","step","precision","onBlur","onChange"])):e.createCommentVNode("",!0),o.type==="datetime"?(e.openBlock(),e.createBlock(S,{key:5,modelValue:l.model,"onUpdate:modelValue":n[7]||(n[7]=b=>l.model=b),size:o.size,type:"datetime",class:"datetime",format:o.format,"value-format":o.valueFormat,onBlur:a.handleCommit},null,8,["modelValue","size","format","value-format","onBlur"])):e.createCommentVNode("",!0),o.type==="select"?(e.openBlock(),e.createBlock(N,{key:6,modelValue:l.model,"onUpdate:modelValue":n[8]||(n[8]=b=>l.model=b),size:o.size,filterable:"",style:{width:"100%"},mini:"",onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,b=>(e.openBlock(),e.createBlock(h,{key:b.value,label:b.label,disabled:b.disabled,value:b.value},null,8,["label","disabled","value"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),o.type==="remoteSelect"?(e.openBlock(),e.createBlock(N,{key:7,modelValue:l.model,"onUpdate:modelValue":n[9]||(n[9]=b=>l.model=b),size:o.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":a.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,b=>(e.openBlock(),e.createBlock(h,{key:b.value,label:b.label,value:b.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),o.type==="remotePortSelect"?(e.openBlock(),e.createBlock(N,{key:8,modelValue:l.model,"onUpdate:modelValue":n[10]||(n[10]=b=>l.model=b),size:o.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":a.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,b=>(e.openBlock(),e.createBlock(h,{key:b.id,label:b.name,value:b.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),o.type==="radio"?(e.openBlock(),e.createBlock(r,{key:9,modelValue:l.model,"onUpdate:modelValue":n[11]||(n[11]=b=>l.model=b),size:o.size,style:{width:"100%"},onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.radios,b=>(e.openBlock(),e.createBlock(x,{key:b.value,label:b.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(b.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),o.type==="checkbox"?(e.openBlock(),e.createBlock(k,{key:10,modelValue:l.model,"onUpdate:modelValue":n[12]||(n[12]=b=>l.model=b),size:o.size,class:"checkbox",style:{width:"100%"},onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.checkboxs,b=>(e.openBlock(),e.createBlock(C,{label:b.value,key:b.label},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(b.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[typeof o.raw=="boolean"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.raw?(e.openBlock(),e.createBlock(p,{key:0,size:"small",type:"success",style:{margin:"0",cursor:"pointer"},onDblclick:a.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1},8,["onDblclick"])):(e.openBlock(),e.createBlock(p,{key:1,size:"small",type:"info",style:{cursor:"pointer"},onDblclick:a.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1},8,["onDblclick"]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.type==="datetime"?(e.openBlock(),e.createElementBlock("span",{key:0,onDblclick:n[0]||(n[0]=(...b)=>a.handleEdit&&a.handleEdit(...b))},e.toDisplayString(a.computeUtcTime(o.value,o.format)),33)):o.type==="richText"?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:o.value||""},null,8,nH)):(e.openBlock(),e.createElementBlock("span",{key:2,onDblclick:n[1]||(n[1]=(...b)=>a.handleEdit&&a.handleEdit(...b))},[typeof o.value=="number"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.value),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(o.value||"-"),1)],64))],32))],64))],64)),!o.disabled&&o.iconable&&typeof o.raw!="boolean"?(e.openBlock(),e.createElementBlock("div",sH,[l.editable?(e.openBlock(),e.createBlock(w,{key:1,size:o.size,type:"danger",link:"",style:{display:"block"},onClick:a.handleCancel},{default:e.withCtx(()=>[e.createVNode(L,null,{default:e.withCtx(()=>[e.createVNode(O)]),_:1})]),_:1},8,["size","onClick"])):(e.openBlock(),e.createBlock(w,{key:0,size:o.size,link:"",onClick:a.handleEdit},{default:e.withCtx(()=>[e.createVNode(L,null,{default:e.withCtx(()=>[e.createVNode(F)]),_:1})]),_:1},8,["size","onClick"]))])):e.createCommentVNode("",!0)],4)])}const wn=Ee(lH,[["render",iH]]),Loe="",cH={props:{report:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe.idmwx.com"},token:{type:String,default:void 0}},components:{CirclePlus:on.CirclePlus,Remove:on.Remove,EditableItem:wn,Editor:zo,IdmBrand:yo},data(){return{extraData:void 0,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},watch:{report:{handler(t){t&&(this.fetchData(),this.fetchSuggestName())},immediate:!0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${T(t).utc().format(n)}`:"-"}},computedLngLat(){return function(t,n){const o=this.fetchLonLat(te.LngLatHelper.lat2pretty(t)),c=this.fetchLonLat(te.LngLatHelper.lng2pretty(n));return`${o} / ${c}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},methods:{fetchLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,2)}′${t.direction}`},fetchData(){var t,n,o,c;this.extraData=this.report,this.extraPortList=(t=this.report)!=null&&t.extraPorts?(n=this.report)==null?void 0:n.extraPorts:[],this.advisory=(o=this.report)!=null&&o.comments?(c=this.report)==null?void 0:c.comments:void 0,this.id=this.report.id},async fetchSuggestName(t){var o;const n=await gl.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(o=n==null?void 0:n.data)==null?void 0:o.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var o,c,l,a,p;this.extraPortList.splice(t,1);const n=await gl.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(o=n==null?void 0:n.data)==null?void 0:o.data,this.extraPortList=(l=(c=n==null?void 0:n.data)==null?void 0:c.data)==null?void 0:l.extraPorts,this.advisory=(a=this.report)!=null&&a.comments?(p=this.report)==null?void 0:p.comments:void 0},decideDisable(){this.editable=!this.editable},async handleCommit(t,n,o,c){var p,i,_,g,S;this.editable=!1;const l=n.indexOf(".");let a={};if((o||o==0)&&o!=""){if(t==="port"){if(l>0){const N=n.substring(0,l),x=n.substring(l+1);x!=="date"&&(o=Number(o)),this.extraPortList[c][N][x]=o}else this.extraPortList[c][n]=o;a={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[n]=o,a={[n]:o}):(this.extraData[n]=o,a={[n]:Number(o)});const h=await gl.put(`${this.gateway}/api/als/deviations/${this.id}`,a,{headers:{Authorization:this.token}});this.extraData=(p=h==null?void 0:h.data)==null?void 0:p.data,this.extraPortList=(_=(i=h==null?void 0:h.data)==null?void 0:i.data)==null?void 0:_.extraPorts,this.advisory=(g=this.report)!=null&&g.comments?(S=this.report)==null?void 0:S.comments:void 0}else pn.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},B=t=>(e.pushScopeId("data-v-4829e189"),t=t(),e.popScopeId(),t),dH={class:"deviation-report"},rH={class:"section vessel-section"},mH={class:"report-summary"},pH={class:"summary-item"},hH=B(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),yH={class:"flexL gray"},EH={class:"summary-item"},_H=B(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),NH={class:"flexL gray"},VH={class:"summary-item"},fH=B(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),gH={class:"flexL gray"},DH={class:"summary-item"},xH=B(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),bH={class:"flexL gray"},CH={class:"summary-item"},SH=B(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),kH={class:"flexL gray",style:{display:"flex"}},AH={class:"flex"},BH={class:"flexM"},wH={class:"summary-item"},TH=B(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),OH={class:"flexL gray",style:{display:"flex"}},FH={class:"flex"},PH={class:"flexM"},uH={class:"section summary-section"},LH=B(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),WH={class:"report-summary"},HH={class:"summary-item"},MH=B(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),GH={class:"summary-item"},IH=B(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),RH={class:"summary-item"},zH=B(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),UH={class:"summary-item"},YH=B(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),ZH={class:"section map-section"},$H=B(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),QH={class:"report-map"},JH=["src"],KH=e.createStaticVNode('<div class="legend" data-v-4829e189><div class="legend-item" data-v-4829e189><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-4829e189></div><div data-v-4829e189>Actual Route</div></div><div class="legend-item" data-v-4829e189><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-4829e189></div><div data-v-4829e189>Route prior to deviation</div></div></div>',1),qH={key:0,class:"section deviation-section"},XH=B(()=>e.createElementVNode("div",{class:"subtitle"},"Deviation Information",-1)),jH={class:"report-summary"},vH=e.createStaticVNode('<div class="summary-item" data-v-4829e189><div class="blue center" style="width:17%;" data-v-4829e189>Deviation</div><div class="blue center" style="width:20%;" data-v-4829e189>Position</div><div class="blue center" style="width:17%;" data-v-4829e189>Date Time</div><div class="flex blue center" data-v-4829e189>FO BROB<br data-v-4829e189>(mt)</div><div class="flex blue center" data-v-4829e189>DO/GO<br data-v-4829e189>BROB (mt)</div><div class="flex blue center" data-v-4829e189>Bunkering<br data-v-4829e189>FO (mt)</div><div class="flex blue center" data-v-4829e189>Bunkering<br data-v-4829e189>DO/GO (mt)</div></div>',1),eM={class:"summary-item"},tM=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Deviation",-1)),oM={class:"blue center",style:{width:"20%"}},lM={class:"blue center",style:{width:"17%"}},aM={class:"flex blue center"},nM={class:"flex blue center"},sM=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),iM=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),cM={class:"summary-item"},dM=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Back on Track",-1)),rM={class:"blue center",style:{width:"20%"}},mM={class:"blue center",style:{width:"17%"}},pM={class:"flex blue center"},hM={class:"flex blue center"},yM={class:"flex blue center"},EM={class:"flex blue center"},_M={class:"summary-item"},NM=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Time & Consumption",-1)),VM=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),fM={class:"blue center",style:{width:"17%"}},gM={class:"flex blue center"},DM={class:"flex blue center"},xM=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),bM=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),CM={class:"section cp-section"},SM=B(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),kM={class:"report-summary"},AM={class:"summary-item"},BM=B(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),wM={class:"flexL blue center"},TM={class:"summary-item"},OM=B(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),FM={class:"flexL blue center"},PM={class:"summary-item"},uM=B(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),LM={class:"flexL blue center"},WM={class:"section port-section"},HM={class:"subtitle port"},MM=B(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),GM={class:"print-hidden"},IM={class:"report-port"},RM=B(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Extra Port"),e.createElementVNode("th",null,"Event"),e.createElementVNode("th",null,"Date Time"),e.createElementVNode("th",null,"FO BROB(mt)"),e.createElementVNode("th",null,[e.createTextVNode("DO/GO"),e.createElementVNode("br"),e.createTextVNode("BROB(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("FO(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("DO/GO(mt)")]),e.createElementVNode("th",{class:"print-hidden"})])],-1)),zM={rowspan:2},UM=B(()=>e.createElementVNode("td",null,"Arrival",-1)),YM=B(()=>e.createElementVNode("td",null,null,-1)),ZM=B(()=>e.createElementVNode("td",null,null,-1)),$M={rowspan:2,class:"print-hidden"},QM=B(()=>e.createElementVNode("td",null,"Departure",-1)),JM=B(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),KM=B(()=>e.createElementVNode("td",null,null,-1)),qM=B(()=>e.createElementVNode("td",null,null,-1)),XM=B(()=>e.createElementVNode("td",null,null,-1)),jM=B(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),vM={class:"section distance-section"},eG=B(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),tG={class:"report-summary"},oG=B(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"30%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Route prior to deviation")],-1)),lG={class:"summary-item"},aG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),nG={class:"flex blue center"},sG={class:"flex blue center"},iG={class:"summary-item"},cG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),dG={class:"flex blue center"},rG={class:"section time-section"},mG=B(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),pG={key:0,class:"report-formular"},hG={class:"equation"},yG=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-4829e189>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-4829e189>=</div><div class="function" style="width:20%;" data-v-4829e189><div data-v-4829e189>Deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:5%;" data-v-4829e189>=</div>',4),EG={class:"function",style:{width:"20%"}},_G=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),VG={style:{width:"10%"}},fG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),gG={class:"equation"},DG=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-4829e189>Total extra Time (hrs)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:28%;" data-v-4829e189>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-4829e189>+</div><div style="width:23%;" data-v-4829e189>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-4829e189>=</div>',6),xG={style:{width:"5%"}},bG=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),CG={style:{width:"8%"}},SG=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),kG={style:{width:"4%"}},AG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),BG={key:1,class:"report-formular"},wG={class:"equation"},TG=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-4829e189>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-4829e189>=</div><div class="function" style="width:20%;" data-v-4829e189><div data-v-4829e189>Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:5%;" data-v-4829e189>=</div>',4),OG={class:"function",style:{width:"20%"}},FG=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),PG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),uG={style:{width:"10%"}},LG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),WG={key:0,class:"equation"},HG=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-4829e189>Total extra Time (hrs)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:24%;" data-v-4829e189>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-4829e189>-</div><div style="width:30%;" data-v-4829e189>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-4829e189>=</div>',6),MG={style:{width:"5%"}},GG=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),IG={style:{width:"5%"}},RG=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),zG={style:{width:"5%"}},UG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),YG={key:1,class:"equation"},ZG=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-4829e189>Total extra Time (hrs)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:24%;" data-v-4829e189>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-4829e189>-</div><div style="width:20%;" data-v-4829e189>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-4829e189>-</div><div style="width:10%;" data-v-4829e189>Time spent in port (hrs)</div><div style="width:2%;" data-v-4829e189>=</div>',8),$G={style:{width:"5%"}},QG=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),JG={style:{width:"5%"}},KG=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),qG={style:{width:"5%"}},XG=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),jG={style:{width:"5%"}},vG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),eI={key:2,class:"report-summary"},tI={class:"summary-item"},oI=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),lI={class:"flex blue center"},aI={class:"summary-item"},nI=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),sI={class:"flex blue center"},iI={class:"summary-item"},cI=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),dI={class:"flex blue center"},rI={key:3,class:"report-summary"},mI={class:"summary-item"},pI=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),hI={class:"flex blue center"},yI={class:"summary-item"},EI=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),_I={class:"flex blue center"},NI={key:0,class:"summary-item"},VI=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),fI={class:"flex blue center"},gI={class:"summary-item"},DI=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),xI={class:"flex blue center"},bI={class:"section consumption-section"},CI=B(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),SI={key:0,class:"report-formular"},kI={class:"equation"},AI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-4829e189>=</div><div class="function" style="width:30%;" data-v-4829e189><div data-v-4829e189>Deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:3%;" data-v-4829e189>×</div><div class="function" style="width:23%;" data-v-4829e189><div data-v-4829e189>Daily FO Consumption</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>24</div></div><div style="width:3%;" data-v-4829e189>=</div>',6),BI={class:"function",style:{width:"5%"}},wI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),TI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),OI={class:"function",style:{width:"5%"}},FI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),PI=B(()=>e.createElementVNode("div",null,"24",-1)),uI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),LI={style:{width:"5%"}},WI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),HI={class:"equation"},MI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:30%;" data-v-4829e189>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-4829e189>+</div><div style="width:23%;" data-v-4829e189>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-4829e189>=</div>',6),GI={style:{width:"5%"}},II=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),RI={style:{width:"5%"}},zI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),UI={style:{width:"5%"}},YI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),ZI={class:"equation"},$I=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-4829e189>=</div><div class="function" style="width:30%;" data-v-4829e189><div data-v-4829e189>Deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:3%;" data-v-4829e189>×</div><div class="function" style="width:23%;" data-v-4829e189><div data-v-4829e189>Daily DO Consumption</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>24</div></div><div style="width:3%;" data-v-4829e189>=</div>',6),QI={class:"function",style:{width:"5%"}},JI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),KI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),qI={class:"function",style:{width:"5%"}},XI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),jI=B(()=>e.createElementVNode("div",null,"24",-1)),vI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),eR={style:{width:"5%"}},tR=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),oR={class:"equation"},lR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:30%;" data-v-4829e189>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:23%;" data-v-4829e189>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-4829e189>=</div>',6),aR={style:{width:"5%"}},nR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),sR={style:{width:"5%"}},iR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),cR={style:{width:"5%"}},dR=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),rR={key:1,class:"report-formular"},mR={class:"equation"},pR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-4829e189>=</div><div class="function" style="width:30%;" data-v-4829e189><div data-v-4829e189>Route prior to deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:3%;" data-v-4829e189>×</div><div class="function" style="width:23%;" data-v-4829e189><div data-v-4829e189>CP Daily FO Consumption</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>24</div></div><div style="width:3%;" data-v-4829e189>=</div>',6),hR={class:"function",style:{width:"5%"}},yR=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ER=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),_R={class:"function",style:{width:"5%"}},NR=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),VR=B(()=>e.createElementVNode("div",null,"24",-1)),fR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),gR={style:{width:"5%"}},DR=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),xR={class:"equation"},bR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-4829e189>=</div><div class="function" style="width:30%;" data-v-4829e189><div data-v-4829e189>Route prior to deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:3%;" data-v-4829e189>×</div><div class="function" style="width:23%;" data-v-4829e189><div data-v-4829e189>CP Daily DO Consumption</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>24</div></div><div style="width:3%;" data-v-4829e189>=</div>',6),CR={class:"function",style:{width:"5%"}},SR=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),kR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),AR={class:"function",style:{width:"5%"}},BR=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),wR=B(()=>e.createElementVNode("div",null,"24",-1)),TR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),OR={style:{width:"5%"}},FR=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),PR={key:0,class:"equation"},uR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:30%;" data-v-4829e189>FO Consumption for Actual Route</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:23%;" data-v-4829e189>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-4829e189>=</div>',6),LR={style:{width:"5%"}},WR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),HR={style:{width:"5%"}},MR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),GR={style:{width:"5%"}},IR=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),RR={key:1,class:"equation"},zR=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-4829e189>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:15%;" data-v-4829e189>FO Consumption for Actual Route</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:20%;" data-v-4829e189>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:10%;" data-v-4829e189>FO Consumption in port</div><div style="width:3%;" data-v-4829e189>=</div>',8),UR={style:{width:"5%"}},YR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),ZR={style:{width:"5%"}},$R=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),QR={style:{width:"5%"}},JR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),KR={style:{width:"5%"}},qR=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),XR={key:2,class:"equation"},jR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:30%;" data-v-4829e189>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:23%;" data-v-4829e189>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-4829e189>=</div>',6),vR={style:{width:"5%"}},ez=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),tz={style:{width:"5%"}},oz=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),lz={style:{width:"5%"}},az=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),nz={key:3,class:"equation"},sz=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-4829e189>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:15%;" data-v-4829e189>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:20%;" data-v-4829e189>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:10%;" data-v-4829e189>DO/GO Consumption in port</div><div style="width:3%;" data-v-4829e189>=</div>',8),iz={style:{width:"5%"}},cz=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),dz={style:{width:"5%"}},rz=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),mz={style:{width:"5%"}},pz=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),hz={style:{width:"5%"}},yz=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),Ez={key:2,class:"report-summary"},_z=B(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),Nz={class:"summary-item"},Vz=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),fz={class:"flex blue center"},gz={class:"flex blue center"},Dz={class:"summary-item"},xz=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),bz={class:"flex blue center"},Cz={class:"flex blue center"},Sz={class:"summary-item"},kz=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),Az={key:3,class:"report-summary"},Bz=B(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),wz={class:"summary-item"},Tz=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),Oz={class:"flex blue center"},Fz={class:"flex blue center"},Pz={class:"summary-item"},uz=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),Lz={class:"flex blue center"},Wz={class:"flex blue center"},Hz={key:0,class:"summary-item"},Mz=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),Gz={class:"flex blue center"},Iz={class:"flex blue center"},Rz={class:"summary-item"},zz=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),Uz={class:"section comment-section"},Yz=["innerHTML"];function Zz(t,n,o,c,l,a){var N,x,r,C,k,F,L,w,O,b,u,I,Z,R,W,f,U,G,H,Q,J,X,q,V,M,$,s,j,d,v,oe,ee,ie,ce,de,re,_e,ae,he,Ne,Ve,fe,ge,De,xe,be,Ce,Se,Oe,Fe,ye,P,me,Pe,ue,Le,ke,We,Ue,Ye,z,we,Me,Ze,$e,Qe,Je,Ke,E,K,Te,He,Ge,pe,qe,je,ve,ot,lt,at,nt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ot,Ht,po,_o,No,Vo,fo,Y,tt,Ft,Pt,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,$t,Qt,Jt,Kt,qt,Xt,jt,vt,eo,to,oo,lo,ao,no,so,io,co,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Fo,Po,uo,Lo,Wo,Ho,Mo,Go,Io,Ro,Yo,Zo,$o,Qo,Jo,Ko,qo,Xo,jo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,yl,El,ut,Vl,xl,bl,Cl,Sl,kl,Al,Bl,wl,Tl,Ol,Fl,Pl,ul,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,$l,Ql,Jl,Kl,ql,Xl,jl,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,ya,Ea,_a,Na,Va,fa,ga,Da,xa,ba,Ca,Sa,ka,Aa,Ba,wa,Ta,Oa,Fa,Pa,ua,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya,Za,$a,ne,ro,Qa,Ja,Ka;const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("EditableItem"),_=e.resolveComponent("CirclePlus"),g=e.resolveComponent("el-icon"),S=e.resolveComponent("Remove"),h=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",dH,[e.createVNode(p,{name:"Voyage Deviation Report"}),e.createElementVNode("div",rH,[e.createElementVNode("div",mH,[e.createElementVNode("div",pH,[hH,e.createElementVNode("div",yH,e.toDisplayString((x=(N=l.extraData)==null?void 0:N.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",EH,[_H,e.createElementVNode("div",NH,e.toDisplayString((r=l.extraData)==null?void 0:r.preparedFor),1)]),e.createElementVNode("div",VH,[fH,e.createElementVNode("div",gH,e.toDisplayString((k=(C=l.extraData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("div",DH,[xH,e.createElementVNode("div",bH,e.toDisplayString((L=(F=l.extraData)==null?void 0:F.voyage)==null?void 0:L.number),1)]),e.createElementVNode("div",CH,[SH,e.createElementVNode("div",kH,[e.createElementVNode("span",AH,e.toDisplayString((O=(w=l.extraData)==null?void 0:w.departure)==null?void 0:O.name),1),e.createElementVNode("span",BH,e.toDisplayString(a.computeUTCTime(((u=(b=l.extraData)==null?void 0:b.departure)==null?void 0:u.atd)||((Z=(I=l.extraData)==null?void 0:I.departure)==null?void 0:Z.etd))),1)])]),e.createElementVNode("div",wH,[TH,e.createElementVNode("div",OH,[e.createElementVNode("span",FH,e.toDisplayString((W=(R=l.extraData)==null?void 0:R.arrival)==null?void 0:W.name),1),e.createElementVNode("span",PH,e.toDisplayString(a.computeUTCTime(((U=(f=l.extraData)==null?void 0:f.arrival)==null?void 0:U.ata)||((H=(G=l.extraData)==null?void 0:G.arrival)==null?void 0:H.eta))),1)])])])]),e.createElementVNode("div",uH,[LH,e.createElementVNode("div",WH,[e.createElementVNode("div",HH,[MH,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Q=l.extraData)==null?void 0:Q.extraDist)} flex blue`)},e.toDisplayString(((J=l.extraData)==null?void 0:J.extraDist)??"—"),3)]),e.createElementVNode("div",GH,[IH,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((q=(X=l.extraData)==null?void 0:X.timeAnalysis)==null?void 0:q.totalExtraTime)} flex blue`)},e.toDisplayString(((M=(V=l.extraData)==null?void 0:V.timeAnalysis)==null?void 0:M.totalExtraTime)??"—"),3)]),e.createElementVNode("div",RH,[zH,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((j=(s=($=l.extraData)==null?void 0:$.consAnalysis)==null?void 0:s.fo)==null?void 0:j.totalExtraCons)} flex blue`)},e.toDisplayString(((oe=(v=(d=l.extraData)==null?void 0:d.consAnalysis)==null?void 0:v.fo)==null?void 0:oe.totalExtraCons)??"—"),3)]),e.createElementVNode("div",UH,[YH,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ce=(ie=(ee=l.extraData)==null?void 0:ee.consAnalysis)==null?void 0:ie.dgo)==null?void 0:ce.totalExtraCons)} flex blue`)},e.toDisplayString(((_e=(re=(de=l.extraData)==null?void 0:de.consAnalysis)==null?void 0:re.dgo)==null?void 0:_e.totalExtraCons)??"—"),3)])])]),e.createElementVNode("div",ZH,[$H,e.createElementVNode("div",QH,[e.createElementVNode("img",{style:{width:"100%"},src:(ae=l.extraData)==null?void 0:ae.chartUrl,alt:""},null,8,JH),KH])]),((he=o.report)==null?void 0:he.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("div",qH,[XH,e.createElementVNode("div",jH,[vH,e.createElementVNode("div",eM,[tM,e.createElementVNode("div",oM,e.toDisplayString(a.computedLngLat((Ne=l.extraData)==null?void 0:Ne.startLng,(Ve=l.extraData)==null?void 0:Ve.startLat)),1),e.createElementVNode("div",lM,e.toDisplayString(a.computeUTCTime((fe=l.extraData)==null?void 0:fe.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",aM,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(ge=l.extraData)==null?void 0:ge.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[0]||(n[0]=se=>a.handleCommit("extra","startFoBrob",se))},null,8,["value"])]),e.createElementVNode("div",nM,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(De=l.extraData)==null?void 0:De.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[1]||(n[1]=se=>a.handleCommit("extra","startDgoBrob",se))},null,8,["value"])]),sM,iM]),e.createElementVNode("div",cM,[dM,e.createElementVNode("div",rM,e.toDisplayString(a.computedLngLat((xe=l.extraData)==null?void 0:xe.endLng,(be=l.extraData)==null?void 0:be.endLat)),1),e.createElementVNode("div",mM,e.toDisplayString(a.computeUTCTime((Ce=l.extraData)==null?void 0:Ce.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",pM,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Se=l.extraData)==null?void 0:Se.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[2]||(n[2]=se=>a.handleCommit("extra","endFoBrob",se))},null,8,["value"])]),e.createElementVNode("div",hM,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Oe=l.extraData)==null?void 0:Oe.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[3]||(n[3]=se=>a.handleCommit("extra","endDgoBrob",se))},null,8,["value"])]),e.createElementVNode("div",yM,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Fe=l.extraData)==null?void 0:Fe.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[4]||(n[4]=se=>a.handleCommit("extra","endFoBunkering",se))},null,8,["value"])]),e.createElementVNode("div",EM,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(ye=l.extraData)==null?void 0:ye.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[5]||(n[5]=se=>a.handleCommit("extra","endDgoBunkering",se))},null,8,["value"])])]),e.createElementVNode("div",_M,[NM,VM,e.createElementVNode("div",fM,e.toDisplayString(((me=(P=l.extraData)==null?void 0:P.timeAnalysis)==null?void 0:me.actualTime)??"—"),1),e.createElementVNode("div",gM,e.toDisplayString(((Le=(ue=(Pe=l.extraData)==null?void 0:Pe.consAnalysis)==null?void 0:ue.fo)==null?void 0:Le.actualCons)??"—"),1),e.createElementVNode("div",DM,e.toDisplayString(((Ue=(We=(ke=l.extraData)==null?void 0:ke.consAnalysis)==null?void 0:We.dgo)==null?void 0:Ue.actualCons)??"—"),1),xM,bM])])])):e.createCommentVNode("",!0),e.createElementVNode("div",CM,[SM,e.createElementVNode("div",kM,[e.createElementVNode("div",AM,[BM,e.createElementVNode("div",wM,e.toDisplayString(((z=(Ye=l.extraData)==null?void 0:Ye.cp)==null?void 0:z.speed)??"—"),1)]),e.createElementVNode("div",TM,[OM,e.createElementVNode("div",FM,e.toDisplayString(((Me=(we=l.extraData)==null?void 0:we.cp)==null?void 0:Me.fo)??"—"),1)]),e.createElementVNode("div",PM,[uM,e.createElementVNode("div",LM,e.toDisplayString((($e=(Ze=l.extraData)==null?void 0:Ze.cp)==null?void 0:$e.dgo)??"—"),1)])])]),e.createElementVNode("div",WM,[e.createElementVNode("div",HM,[MM,e.createElementVNode("div",GM,[e.createVNode(g,{size:20,onClick:a.handleAdd},{default:e.withCtx(()=>[e.createVNode(_)]),_:1},8,["onClick"])])]),e.createElementVNode("div",IM,[e.createElementVNode("table",null,[RM,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.extraPortList,(se,mo)=>{var qa,Xa,ja,rt,an,nn,sn,cn;return e.openBlock(),e.createElementBlock(e.Fragment,{key:mo},[e.createElementVNode("tr",null,[e.createElementVNode("td",zM,[e.createVNode(i,{class:"editable-item",value:se==null?void 0:se.name,type:"remotePortSelect",size:"small",align:"center",options:l.portList,onSelect:a.fetchSuggestName,onCommit:Lt=>a.handleCommit("port","name",Lt,mo)},null,8,["value","options","onSelect","onCommit"])]),UM,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(qa=se==null?void 0:se.arrival)==null?void 0:qa.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Lt=>a.handleCommit("port","arrival.date",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(Xa=se==null?void 0:se.arrival)==null?void 0:Xa.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","arrival.foBrob",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(ja=se==null?void 0:se.arrival)==null?void 0:ja.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","arrival.dgoBrob",Lt,mo)},null,8,["value","onCommit"])]),YM,ZM,e.createElementVNode("td",$M,[e.createVNode(g,{size:20,onClick:Lt=>a.handleRemove(mo)},{default:e.withCtx(()=>[e.createVNode(S)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[QM,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(rt=se==null?void 0:se.departure)==null?void 0:rt.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Lt=>a.handleCommit("port","departure.date",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(an=se==null?void 0:se.departure)==null?void 0:an.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","departure.foBrob",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(nn=se==null?void 0:se.departure)==null?void 0:nn.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","departure.dgoBrob",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(sn=se==null?void 0:se.departure)==null?void 0:sn.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","departure.bunkeringFo",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(cn=se==null?void 0:se.departure)==null?void 0:cn.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","departure.bunkeringDgo",Lt,mo)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[JM,KM,e.createElementVNode("td",null,e.toDisplayString(((Je=(Qe=l.extraData)==null?void 0:Qe.timeAnalysis)==null?void 0:Je.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((K=(E=(Ke=l.extraData)==null?void 0:Ke.consAnalysis)==null?void 0:E.fo)==null?void 0:K.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Ge=(He=(Te=l.extraData)==null?void 0:Te.consAnalysis)==null?void 0:He.dgo)==null?void 0:Ge.portCons)??"—"),1),qM,XM,jM])])])])]),e.createElementVNode("div",vM,[eG,e.createElementVNode("div",tG,[oG,e.createElementVNode("div",lG,[aG,e.createElementVNode("div",nG,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(pe=l.extraData)==null?void 0:pe.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[6]||(n[6]=se=>a.handleCommit("extraData","actualDist",se,t.index))},null,8,["value"])]),e.createElementVNode("div",sG,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(qe=l.extraData)==null?void 0:qe.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[7]||(n[7]=se=>a.handleCommit("extraData","priorDist",se,t.index))},null,8,["value"])])]),e.createElementVNode("div",iG,[cG,e.createElementVNode("div",dG,e.toDisplayString(((je=l.extraData)==null?void 0:je.extraDist)??"—"),1)])])]),e.createElementVNode("div",rG,[mG,((ve=o.report)==null?void 0:ve.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",pG,[e.createElementVNode("div",hG,[yG,e.createElementVNode("div",EG,[e.createElementVNode("div",null,e.toDisplayString((ot=l.extraData)==null?void 0:ot.extraDist),1),_G,e.createElementVNode("div",null,e.toDisplayString((at=(lt=l.extraData)==null?void 0:lt.cp)==null?void 0:at.speed),1)]),NG,e.createElementVNode("div",VG,e.toDisplayString((pt=(nt=l.extraData)==null?void 0:nt.timeAnalysis)==null?void 0:pt.sailingTime),1),fG]),e.createElementVNode("div",gG,[DG,e.createElementVNode("div",xG,e.toDisplayString((yt=(ht=l.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:yt.sailingTime),1),bG,e.createElementVNode("div",CG,e.toDisplayString(a.computeNum((_t=(Et=l.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:_t.portTime)),1),SG,e.createElementVNode("div",kG,e.toDisplayString((Vt=(Nt=l.extraData)==null?void 0:Nt.timeAnalysis)==null?void 0:Vt.totalExtraTime),1),AG])])):(e.openBlock(),e.createElementBlock("div",BG,[e.createElementVNode("div",wG,[TG,e.createElementVNode("div",OG,[e.createElementVNode("div",null,e.toDisplayString((ft=l.extraData)==null?void 0:ft.priorDist),1),FG,e.createElementVNode("div",null,e.toDisplayString((Dt=(gt=l.extraData)==null?void 0:gt.cp)==null?void 0:Dt.speed),1)]),PG,e.createElementVNode("div",uG,e.toDisplayString((bt=(xt=l.extraData)==null?void 0:xt.timeAnalysis)==null?void 0:bt.sailingTime),1),LG]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",WG,[HG,e.createElementVNode("div",MG,e.toDisplayString((St=(Ct=l.extraData)==null?void 0:Ct.timeAnalysis)==null?void 0:St.actualTime),1),GG,e.createElementVNode("div",IG,e.toDisplayString((At=(kt=l.extraData)==null?void 0:kt.timeAnalysis)==null?void 0:At.sailingTime),1),RG,e.createElementVNode("div",zG,e.toDisplayString((wt=(Bt=l.extraData)==null?void 0:Bt.timeAnalysis)==null?void 0:wt.totalExtraTime),1),UG])):(e.openBlock(),e.createElementBlock("div",YG,[ZG,e.createElementVNode("div",$G,e.toDisplayString((Ot=(Tt=l.extraData)==null?void 0:Tt.timeAnalysis)==null?void 0:Ot.actualTime),1),QG,e.createElementVNode("div",JG,e.toDisplayString((po=(Ht=l.extraData)==null?void 0:Ht.timeAnalysis)==null?void 0:po.sailingTime),1),KG,e.createElementVNode("div",qG,e.toDisplayString((No=(_o=l.extraData)==null?void 0:_o.timeAnalysis)==null?void 0:No.portTime),1),XG,e.createElementVNode("div",jG,e.toDisplayString((fo=(Vo=l.extraData)==null?void 0:Vo.timeAnalysis)==null?void 0:fo.totalExtraTime),1),vG]))])),((Y=o.report)==null?void 0:Y.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",eI,[e.createElementVNode("div",tI,[oI,e.createElementVNode("div",lI,e.toDisplayString(((Ft=(tt=l.extraData)==null?void 0:tt.timeAnalysis)==null?void 0:Ft.sailingTime)??"—"),1)]),e.createElementVNode("div",aI,[nI,e.createElementVNode("div",sI,e.toDisplayString(((Mt=(Pt=l.extraData)==null?void 0:Pt.timeAnalysis)==null?void 0:Mt.portTime)??"—"),1)]),e.createElementVNode("div",iI,[cI,e.createElementVNode("div",dI,e.toDisplayString(((It=(Gt=l.extraData)==null?void 0:Gt.timeAnalysis)==null?void 0:It.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",rI,[e.createElementVNode("div",mI,[pI,e.createElementVNode("div",hI,e.toDisplayString((zt=(Rt=l.extraData)==null?void 0:Rt.timeAnalysis)==null?void 0:zt.sailingTime),1)]),e.createElementVNode("div",yI,[EI,e.createElementVNode("div",_I,e.toDisplayString((Yt=(Ut=l.extraData)==null?void 0:Ut.timeAnalysis)==null?void 0:Yt.actualTime),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",NI,[VI,e.createElementVNode("div",fI,e.toDisplayString((($t=(Zt=l.extraData)==null?void 0:Zt.timeAnalysis)==null?void 0:$t.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",gI,[DI,e.createElementVNode("div",xI,e.toDisplayString((Jt=(Qt=l.extraData)==null?void 0:Qt.timeAnalysis)==null?void 0:Jt.totalExtraTime),1)])]))]),e.createElementVNode("div",bI,[CI,((Kt=o.report)==null?void 0:Kt.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",SI,[e.createElementVNode("div",kI,[AI,e.createElementVNode("div",BI,[e.createElementVNode("div",null,e.toDisplayString((qt=l.extraData)==null?void 0:qt.extraDist),1),wI,e.createElementVNode("div",null,e.toDisplayString((jt=(Xt=l.extraData)==null?void 0:Xt.cp)==null?void 0:jt.speed),1)]),TI,e.createElementVNode("div",OI,[e.createElementVNode("div",null,e.toDisplayString((eo=(vt=l.extraData)==null?void 0:vt.cp)==null?void 0:eo.fo),1),FI,PI]),uI,e.createElementVNode("div",LI,e.toDisplayString((lo=(oo=(to=l.extraData)==null?void 0:to.consAnalysis)==null?void 0:oo.fo)==null?void 0:lo.sailingCons),1),WI]),e.createElementVNode("div",HI,[MI,e.createElementVNode("div",GI,e.toDisplayString((so=(no=(ao=l.extraData)==null?void 0:ao.consAnalysis)==null?void 0:no.fo)==null?void 0:so.sailingCons),1),II,e.createElementVNode("div",RI,e.toDisplayString(a.computeNum((go=(co=(io=l.extraData)==null?void 0:io.consAnalysis)==null?void 0:co.fo)==null?void 0:go.portCons)),1),zI,e.createElementVNode("div",UI,e.toDisplayString((bo=(xo=(Do=l.extraData)==null?void 0:Do.consAnalysis)==null?void 0:xo.fo)==null?void 0:bo.totalExtraCons),1),YI]),e.createElementVNode("div",ZI,[$I,e.createElementVNode("div",QI,[e.createElementVNode("div",null,e.toDisplayString((Co=l.extraData)==null?void 0:Co.extraDist),1),JI,e.createElementVNode("div",null,e.toDisplayString((ko=(So=l.extraData)==null?void 0:So.cp)==null?void 0:ko.speed),1)]),KI,e.createElementVNode("div",qI,[e.createElementVNode("div",null,e.toDisplayString((Bo=(Ao=l.extraData)==null?void 0:Ao.cp)==null?void 0:Bo.dgo),1),XI,jI]),vI,e.createElementVNode("div",eR,e.toDisplayString((Oo=(To=(wo=l.extraData)==null?void 0:wo.consAnalysis)==null?void 0:To.dgo)==null?void 0:Oo.sailingCons),1),tR]),e.createElementVNode("div",oR,[lR,e.createElementVNode("div",aR,e.toDisplayString((uo=(Po=(Fo=l.extraData)==null?void 0:Fo.consAnalysis)==null?void 0:Po.dgo)==null?void 0:uo.sailingCons),1),nR,e.createElementVNode("div",sR,e.toDisplayString(a.computeNum((Ho=(Wo=(Lo=l.extraData)==null?void 0:Lo.consAnalysis)==null?void 0:Wo.dgo)==null?void 0:Ho.portCons)),1),iR,e.createElementVNode("div",cR,e.toDisplayString((Io=(Go=(Mo=l.extraData)==null?void 0:Mo.consAnalysis)==null?void 0:Go.dgo)==null?void 0:Io.totalExtraCons),1),dR])])):(e.openBlock(),e.createElementBlock("div",rR,[e.createElementVNode("div",mR,[pR,e.createElementVNode("div",hR,[e.createElementVNode("div",null,e.toDisplayString((Ro=l.extraData)==null?void 0:Ro.priorDist),1),yR,e.createElementVNode("div",null,e.toDisplayString((Zo=(Yo=l.extraData)==null?void 0:Yo.cp)==null?void 0:Zo.speed),1)]),ER,e.createElementVNode("div",_R,[e.createElementVNode("div",null,e.toDisplayString((Qo=($o=l.extraData)==null?void 0:$o.cp)==null?void 0:Qo.fo),1),NR,VR]),fR,e.createElementVNode("div",gR,e.toDisplayString((qo=(Ko=(Jo=l.extraData)==null?void 0:Jo.consAnalysis)==null?void 0:Ko.fo)==null?void 0:qo.sailingCons),1),DR]),e.createElementVNode("div",xR,[bR,e.createElementVNode("div",CR,[e.createElementVNode("div",null,e.toDisplayString((Xo=l.extraData)==null?void 0:Xo.priorDist),1),SR,e.createElementVNode("div",null,e.toDisplayString((vo=(jo=l.extraData)==null?void 0:jo.cp)==null?void 0:vo.speed),1)]),kR,e.createElementVNode("div",AR,[e.createElementVNode("div",null,e.toDisplayString((tl=(el=l.extraData)==null?void 0:el.cp)==null?void 0:tl.dgo),1),BR,wR]),TR,e.createElementVNode("div",OR,e.toDisplayString((al=(ll=(ol=l.extraData)==null?void 0:ol.consAnalysis)==null?void 0:ll.dgo)==null?void 0:al.sailingCons),1),FR]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",PR,[uR,e.createElementVNode("div",LR,e.toDisplayString((il=(sl=(nl=l.extraData)==null?void 0:nl.consAnalysis)==null?void 0:sl.fo)==null?void 0:il.actualCons),1),WR,e.createElementVNode("div",HR,e.toDisplayString(a.computeNum((rl=(dl=(cl=l.extraData)==null?void 0:cl.consAnalysis)==null?void 0:dl.fo)==null?void 0:rl.sailingCons)),1),MR,e.createElementVNode("div",GR,e.toDisplayString((hl=(pl=(ml=l.extraData)==null?void 0:ml.consAnalysis)==null?void 0:pl.fo)==null?void 0:hl.totalExtraCons),1),IR])):(e.openBlock(),e.createElementBlock("div",RR,[zR,e.createElementVNode("div",UR,e.toDisplayString((ut=(El=(yl=l.extraData)==null?void 0:yl.consAnalysis)==null?void 0:El.fo)==null?void 0:ut.actualCons),1),YR,e.createElementVNode("div",ZR,e.toDisplayString(a.computeNum((bl=(xl=(Vl=l.extraData)==null?void 0:Vl.consAnalysis)==null?void 0:xl.fo)==null?void 0:bl.sailingCons)),1),$R,e.createElementVNode("div",QR,e.toDisplayString(a.computeNum((kl=(Sl=(Cl=l.extraData)==null?void 0:Cl.consAnalysis)==null?void 0:Sl.fo)==null?void 0:kl.portCons)),1),JR,e.createElementVNode("div",KR,e.toDisplayString((wl=(Bl=(Al=l.extraData)==null?void 0:Al.consAnalysis)==null?void 0:Bl.fo)==null?void 0:wl.totalExtraCons),1),qR])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",XR,[jR,e.createElementVNode("div",vR,e.toDisplayString((Fl=(Ol=(Tl=l.extraData)==null?void 0:Tl.consAnalysis)==null?void 0:Ol.dgo)==null?void 0:Fl.actualCons),1),ez,e.createElementVNode("div",tz,e.toDisplayString((Ll=(ul=(Pl=l.extraData)==null?void 0:Pl.consAnalysis)==null?void 0:ul.dgo)==null?void 0:Ll.sailingCons),1),oz,e.createElementVNode("div",lz,e.toDisplayString((Ml=(Hl=(Wl=l.extraData)==null?void 0:Wl.consAnalysis)==null?void 0:Hl.dgo)==null?void 0:Ml.totalExtraCons),1),az])):(e.openBlock(),e.createElementBlock("div",nz,[sz,e.createElementVNode("div",iz,e.toDisplayString((Rl=(Il=(Gl=l.extraData)==null?void 0:Gl.consAnalysis)==null?void 0:Il.dgo)==null?void 0:Rl.actualCons),1),cz,e.createElementVNode("div",dz,e.toDisplayString(a.computeNum((Yl=(Ul=(zl=l.extraData)==null?void 0:zl.consAnalysis)==null?void 0:Ul.dgo)==null?void 0:Yl.sailingCons)),1),rz,e.createElementVNode("div",mz,e.toDisplayString(a.computeNum((Ql=($l=(Zl=l.extraData)==null?void 0:Zl.consAnalysis)==null?void 0:$l.dgo)==null?void 0:Ql.portCons)),1),pz,e.createElementVNode("div",hz,e.toDisplayString((ql=(Kl=(Jl=l.extraData)==null?void 0:Jl.consAnalysis)==null?void 0:Kl.dgo)==null?void 0:ql.totalExtraCons),1),yz]))])),((Xl=o.report)==null?void 0:Xl.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",Ez,[_z,e.createElementVNode("div",Nz,[Vz,e.createElementVNode("div",fz,e.toDisplayString(((ea=(vl=(jl=l.extraData)==null?void 0:jl.consAnalysis)==null?void 0:vl.fo)==null?void 0:ea.sailingCons)??"—"),1),e.createElementVNode("div",gz,e.toDisplayString(((la=(oa=(ta=l.extraData)==null?void 0:ta.consAnalysis)==null?void 0:oa.dgo)==null?void 0:la.sailingCons)??"—"),1)]),e.createElementVNode("div",Dz,[xz,e.createElementVNode("div",bz,e.toDisplayString(((sa=(na=(aa=l.extraData)==null?void 0:aa.consAnalysis)==null?void 0:na.fo)==null?void 0:sa.portCons)??"—"),1),e.createElementVNode("div",Cz,e.toDisplayString(((da=(ca=(ia=l.extraData)==null?void 0:ia.consAnalysis)==null?void 0:ca.dgo)==null?void 0:da.portCons)??"—"),1)]),e.createElementVNode("div",Sz,[kz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((pa=(ma=(ra=l.extraData)==null?void 0:ra.consAnalysis)==null?void 0:ma.fo)==null?void 0:pa.totalExtraCons)} flex blue center`)},e.toDisplayString(((Ea=(ya=(ha=l.extraData)==null?void 0:ha.consAnalysis)==null?void 0:ya.fo)==null?void 0:Ea.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Va=(Na=(_a=l.extraData)==null?void 0:_a.consAnalysis)==null?void 0:Na.dgo)==null?void 0:Va.totalExtraCons)} flex blue center`)},e.toDisplayString(((Da=(ga=(fa=l.extraData)==null?void 0:fa.consAnalysis)==null?void 0:ga.dgo)==null?void 0:Da.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",Az,[Bz,e.createElementVNode("div",wz,[Tz,e.createElementVNode("div",Oz,e.toDisplayString((Ca=(ba=(xa=l.extraData)==null?void 0:xa.consAnalysis)==null?void 0:ba.fo)==null?void 0:Ca.sailingCons),1),e.createElementVNode("div",Fz,e.toDisplayString((Aa=(ka=(Sa=l.extraData)==null?void 0:Sa.consAnalysis)==null?void 0:ka.dgo)==null?void 0:Aa.sailingCons),1)]),e.createElementVNode("div",Pz,[uz,e.createElementVNode("div",Lz,e.toDisplayString((Ta=(wa=(Ba=l.extraData)==null?void 0:Ba.consAnalysis)==null?void 0:wa.fo)==null?void 0:Ta.actualCons),1),e.createElementVNode("div",Wz,e.toDisplayString((Pa=(Fa=(Oa=l.extraData)==null?void 0:Oa.consAnalysis)==null?void 0:Fa.dgo)==null?void 0:Pa.actualCons),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",Hz,[Mz,e.createElementVNode("div",Gz,e.toDisplayString((Wa=(La=(ua=l.extraData)==null?void 0:ua.consAnalysis)==null?void 0:La.fo)==null?void 0:Wa.portCons),1),e.createElementVNode("div",Iz,e.toDisplayString((Ga=(Ma=(Ha=l.extraData)==null?void 0:Ha.consAnalysis)==null?void 0:Ma.dgo)==null?void 0:Ga.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",Rz,[zz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((za=(Ra=(Ia=l.extraData)==null?void 0:Ia.consAnalysis)==null?void 0:Ra.fo)==null?void 0:za.totalExtraCons)} flex blue center`)},e.toDisplayString((Za=(Ya=(Ua=l.extraData)==null?void 0:Ua.consAnalysis)==null?void 0:Ya.fo)==null?void 0:Za.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ro=(ne=($a=l.extraData)==null?void 0:$a.consAnalysis)==null?void 0:ne.dgo)==null?void 0:ro.totalExtraCons)} flex blue center`)},e.toDisplayString((Ka=(Ja=(Qa=l.extraData)==null?void 0:Qa.consAnalysis)==null?void 0:Ja.dgo)==null?void 0:Ka.totalExtraCons),3)])]))]),e.createElementVNode("div",Uz,[e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(h,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[8]||(n[8]=se=>l.advisory=se),height:"320px",onBlur:n[9]||(n[9]=se=>a.handleCommit("comments","comments",se))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[10]||(n[10]=(...se)=>a.decideDisable&&a.decideDisable(...se)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,Yz))],2)])])}const Tn=Ee(cH,[["render",Zz],["__scopeId","data-v-4829e189"]]),Woe="",$z={name:"FliDvtRpt",components:{CirclePlus:on.CirclePlus,Remove:on.Remove,EditableItem:wn,Editor:zo},props:{data:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{extraData:void 0,logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAA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List:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${T(t).utc().format(n)}`:"-"}},computedLngLat(){return function(t,n){const o=this.fetchLonLat(te.LngLatHelper.lat2pretty(t)),c=this.fetchLonLat(te.LngLatHelper.lng2pretty(n));return`${o} / ${c}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},watch:{data:{handler(t){t&&((t==null?void 0:t.method)==="DistExtrapolate"?this.isDistExtra=!0:this.isDistExtra=!1,this.fetchData(),this.fetchSuggestName())},immediate:!0}},methods:{fetchLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,2)}′${t.direction}`},fetchData(){var t,n,o,c;this.extraData=this.data,this.extraPortList=(t=this.data)!=null&&t.extraPorts?(n=this.data)==null?void 0:n.extraPorts:[],this.advisory=(o=this.data)!=null&&o.comments?(c=this.data)==null?void 0:c.comments:void 0,this.id=this.data.id},async fetchSuggestName(t){var o;const n=await gl.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(o=n==null?void 0:n.data)==null?void 0:o.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var o,c,l,a,p;this.extraPortList.splice(t,1);const n=await gl.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(o=n==null?void 0:n.data)==null?void 0:o.data,this.extraPortList=(l=(c=n==null?void 0:n.data)==null?void 0:c.data)==null?void 0:l.extraPorts,this.advisory=(a=this.data)!=null&&a.comments?(p=this.data)==null?void 0:p.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,n,o,c){var p,i,_,g,S;this.editable=!1;const l=n.indexOf(".");let a={};if((o||o==0)&&o!=""){if(t==="port"){if(l>0){const N=n.substring(0,l),x=n.substring(l+1);x!=="date"&&(o=Number(o)),this.extraPortList[c][N][x]=o}else this.extraPortList[c][n]=o;a={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[n]=o,a={[n]:o}):(this.extraData[n]=o,a={[n]:Number(o)});const h=await gl.put(`${this.gateway}/api/als/deviations/${this.id}`,a,{headers:{Authorization:this.token}});this.extraData=(p=h==null?void 0:h.data)==null?void 0:p.data,this.extraPortList=(_=(i=h==null?void 0:h.data)==null?void 0:i.data)==null?void 0:_.extraPorts,this.advisory=(g=this.data)!=null&&g.comments?(S=this.data)==null?void 0:S.comments:void 0}else pn.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},A=t=>(e.pushScopeId("data-v-77edf8aa"),t=t(),e.popScopeId(),t),Qz={class:"deviation-report"},Jz=A(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),Kz={class:"report-header"},qz={class:"header-title",style:{position:"relative !important"}},Xz={class:"header-title-content"},jz=A(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),vz={class:"title-date"},eU={class:"report-summary"},tU={class:"summary-item"},oU=A(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),lU={class:"flexL gray"},aU={class:"summary-item"},nU=A(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),sU={class:"flexL gray"},iU={class:"summary-item"},cU=A(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),dU={class:"flexL gray"},rU={class:"summary-item"},mU=A(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),pU={class:"flexL gray"},hU={class:"summary-item"},yU=A(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),EU={class:"flexL gray",style:{display:"flex"}},_U={class:"flex"},NU={class:"flexM"},VU={class:"summary-item"},fU=A(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),gU={class:"flexL gray",style:{display:"flex"}},DU={class:"flex"},xU={class:"flexM"},bU=A(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),CU={class:"report-summary"},SU={class:"summary-item"},kU=A(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),AU={class:"summary-item"},BU=A(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),wU={class:"summary-item"},TU=A(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),OU={class:"summary-item"},FU=A(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),PU=A(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),uU={class:"report-map"},LU=["src"],WU=e.createStaticVNode('<div class="legend" data-v-77edf8aa><div class="legend-item" data-v-77edf8aa><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-77edf8aa></div><div data-v-77edf8aa>Actual Route</div></div><div class="legend-item" data-v-77edf8aa><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-77edf8aa></div><div data-v-77edf8aa>Route prior to deviation</div></div></div>',1),HU=A(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),MU={key:0,class:"subtitle"},GU={key:1,class:"report-summary"},IU=e.createStaticVNode('<div class="summary-item" data-v-77edf8aa><div class="blue center" style="width:16%;" data-v-77edf8aa>Diversion</div><div class="blue center" style="width:20%;" data-v-77edf8aa>Position</div><div class="blue center" style="width:17%;" data-v-77edf8aa>Date Time</div><div class="flex blue center" data-v-77edf8aa>FO BROB<br data-v-77edf8aa>(mt)</div><div class="flex blue center" data-v-77edf8aa>DO/GO<br data-v-77edf8aa>BROB (mt)</div><div class="flex blue center" data-v-77edf8aa>Bunkering<br data-v-77edf8aa>FO (mt)</div><div class="flex blue center" data-v-77edf8aa>Bunkering<br data-v-77edf8aa>DO/GO (mt)</div></div>',1),RU={class:"summary-item"},zU=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),UU={class:"blue center",style:{width:"20%"}},YU={class:"blue center",style:{width:"17%"}},ZU={class:"flex blue center"},$U={class:"flex blue center"},QU=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),JU=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),KU={class:"summary-item"},qU=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),XU={class:"blue center",style:{width:"20%"}},jU={class:"blue center",style:{width:"17%"}},vU={class:"flex blue center"},eY={class:"flex blue center"},tY={class:"flex blue center"},oY={class:"flex blue center"},lY={class:"summary-item"},aY=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),nY=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),sY={class:"blue center",style:{width:"17%"}},iY={class:"flex blue center"},cY={class:"flex blue center"},dY=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),rY=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),mY=A(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),pY={class:"report-summary"},hY={class:"summary-item"},yY=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),EY={class:"flexL blue center"},_Y={class:"summary-item"},NY=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),VY={class:"flexL blue center"},fY={class:"summary-item"},gY=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),DY={class:"flexL blue center"},xY={class:"subtitle port"},bY=A(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),CY={class:"print-hidden"},SY={class:"report-port"},kY=A(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Extra Port"),e.createElementVNode("th",null,"Event"),e.createElementVNode("th",null,"Date Time"),e.createElementVNode("th",null,"FO BROB(mt)"),e.createElementVNode("th",null,[e.createTextVNode("DO/GO"),e.createElementVNode("br"),e.createTextVNode("BROB(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("FO(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("DO/GO(mt)")]),e.createElementVNode("th",{class:"print-hidden"})])],-1)),AY={rowspan:2},BY=A(()=>e.createElementVNode("td",null,"Arrival",-1)),wY=A(()=>e.createElementVNode("td",null,null,-1)),TY=A(()=>e.createElementVNode("td",null,null,-1)),OY={rowspan:2,class:"print-hidden"},FY=A(()=>e.createElementVNode("td",null,"Departure",-1)),PY=A(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),uY=A(()=>e.createElementVNode("td",null,null,-1)),LY=A(()=>e.createElementVNode("td",null,null,-1)),WY=A(()=>e.createElementVNode("td",null,null,-1)),HY=A(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),MY=A(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),GY={class:"report-summary"},IY=A(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"30%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Route prior to deviation")],-1)),RY={class:"summary-item"},zY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),UY={class:"flex blue center"},YY={class:"flex blue center"},ZY={class:"summary-item"},$Y=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),QY={class:"flex blue center"},JY=A(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),KY={key:2,class:"report-formular"},qY={class:"equation"},XY=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-77edf8aa>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-77edf8aa>=</div><div class="function" style="width:20%;" data-v-77edf8aa><div data-v-77edf8aa>Deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:5%;" data-v-77edf8aa>=</div>',4),jY={class:"function",style:{width:"20%"}},vY=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),eZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),tZ={style:{width:"10%"}},oZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),lZ={class:"equation"},aZ=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-77edf8aa>Total extra Time (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:28%;" data-v-77edf8aa>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-77edf8aa>+</div><div style="width:23%;" data-v-77edf8aa>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div>',6),nZ={style:{width:"5%"}},sZ=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),iZ={style:{width:"8%"}},cZ=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),dZ={style:{width:"4%"}},rZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),mZ={key:3,class:"report-formular"},pZ={class:"equation"},hZ=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-77edf8aa>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-77edf8aa>=</div><div class="function" style="width:20%;" data-v-77edf8aa><div data-v-77edf8aa>Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:5%;" data-v-77edf8aa>=</div>',4),yZ={class:"function",style:{width:"20%"}},EZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_Z=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),NZ={style:{width:"10%"}},VZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),fZ={key:0,class:"equation"},gZ=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-77edf8aa>Total extra Time (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:24%;" data-v-77edf8aa>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-77edf8aa>-</div><div style="width:30%;" data-v-77edf8aa>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div>',6),DZ={style:{width:"5%"}},xZ=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),bZ={style:{width:"5%"}},CZ=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),SZ={style:{width:"5%"}},kZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),AZ={key:1,class:"equation"},BZ=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-77edf8aa>Total extra Time (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:24%;" data-v-77edf8aa>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-77edf8aa>-</div><div style="width:20%;" data-v-77edf8aa>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-77edf8aa>-</div><div style="width:10%;" data-v-77edf8aa>Time spent in port (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div>',8),wZ={style:{width:"5%"}},TZ=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),OZ={style:{width:"5%"}},FZ=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),PZ={style:{width:"5%"}},uZ=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),LZ={style:{width:"5%"}},WZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),HZ={key:4,class:"report-summary"},MZ={class:"summary-item"},GZ=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),IZ={class:"flex blue center"},RZ={class:"summary-item"},zZ=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),UZ={class:"flex blue center"},YZ={class:"summary-item"},ZZ=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),$Z={class:"flex blue center"},QZ={key:5,class:"report-summary"},JZ={class:"summary-item"},KZ=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),qZ={class:"flex blue center"},XZ={class:"summary-item"},jZ=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),vZ={class:"flex blue center"},e$={key:0,class:"summary-item"},t$=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),o$={class:"flex blue center"},l$={class:"summary-item"},a$=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),n$={class:"flex blue center"},s$=A(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),i$={key:6,class:"report-formular"},c$={class:"equation"},d$=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>Daily FO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),r$={class:"function",style:{width:"5%"}},m$=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),p$=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),h$={class:"function",style:{width:"5%"}},y$=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),E$=A(()=>e.createElementVNode("div",null,"24",-1)),_$=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),N$={style:{width:"5%"}},V$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),f$={class:"equation"},g$=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-77edf8aa>+</div><div style="width:23%;" data-v-77edf8aa>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),D$={style:{width:"5%"}},x$=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),b$={style:{width:"5%"}},C$=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),S$={style:{width:"5%"}},k$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),A$={class:"equation"},B$=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>Daily DO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),w$={class:"function",style:{width:"5%"}},T$=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),O$=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),F$={class:"function",style:{width:"5%"}},P$=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),u$=A(()=>e.createElementVNode("div",null,"24",-1)),L$=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),W$={style:{width:"5%"}},H$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),M$={class:"equation"},G$=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:23%;" data-v-77edf8aa>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),I$={style:{width:"5%"}},R$=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),z$={style:{width:"5%"}},U$=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),Y$={style:{width:"5%"}},Z$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),$$={key:7,class:"report-formular"},Q$={class:"equation"},J$=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Route prior to deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>CP Daily FO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),K$={class:"function",style:{width:"5%"}},q$=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),X$=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),j$={class:"function",style:{width:"5%"}},v$=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),eQ=A(()=>e.createElementVNode("div",null,"24",-1)),tQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),oQ={style:{width:"5%"}},lQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),aQ={class:"equation"},nQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Route prior to deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>CP Daily DO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),sQ={class:"function",style:{width:"5%"}},iQ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),cQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),dQ={class:"function",style:{width:"5%"}},rQ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),mQ=A(()=>e.createElementVNode("div",null,"24",-1)),pQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),hQ={style:{width:"5%"}},yQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),EQ={key:0,class:"equation"},_Q=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>FO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:23%;" data-v-77edf8aa>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),NQ={style:{width:"5%"}},VQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),fQ={style:{width:"5%"}},gQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),DQ={style:{width:"5%"}},xQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),bQ={key:1,class:"equation"},CQ=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:15%;" data-v-77edf8aa>FO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:20%;" data-v-77edf8aa>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:10%;" data-v-77edf8aa>FO Consumption in port</div><div style="width:3%;" data-v-77edf8aa>=</div>',8),SQ={style:{width:"5%"}},kQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),AQ={style:{width:"5%"}},BQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),wQ={style:{width:"5%"}},TQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),OQ={style:{width:"5%"}},FQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),PQ={key:2,class:"equation"},uQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:23%;" data-v-77edf8aa>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),LQ={style:{width:"5%"}},WQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),HQ={style:{width:"5%"}},MQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),GQ={style:{width:"5%"}},IQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),RQ={key:3,class:"equation"},zQ=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-77edf8aa>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:15%;" data-v-77edf8aa>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:20%;" data-v-77edf8aa>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:10%;" data-v-77edf8aa>DO/GO Consumption in port</div><div style="width:3%;" data-v-77edf8aa>=</div>',8),UQ={style:{width:"5%"}},YQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),ZQ={style:{width:"5%"}},$Q=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),QQ={style:{width:"5%"}},JQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),KQ={style:{width:"5%"}},qQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),XQ={key:8,class:"report-summary"},jQ=A(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),vQ={class:"summary-item"},eJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),tJ={class:"flex blue center"},oJ={class:"flex blue center"},lJ={class:"summary-item"},aJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),nJ={class:"flex blue center"},sJ={class:"flex blue center"},iJ={class:"summary-item"},cJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),dJ={key:9,class:"report-summary"},rJ=A(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),mJ={class:"summary-item"},pJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),hJ={class:"flex blue center"},yJ={class:"flex blue center"},EJ={class:"summary-item"},_J=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),NJ={class:"flex blue center"},VJ={class:"flex blue center"},fJ={key:0,class:"summary-item"},gJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),DJ={class:"flex blue center"},xJ={class:"flex blue center"},bJ={class:"summary-item"},CJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),SJ=["innerHTML"];function kJ(t,n,o,c,l,a){var h,N,x,r,C,k,F,L,w,O,b,u,I,Z,R,W,f,U,G,H,Q,J,X,q,V,M,$,s,j,d,v,oe,ee,ie,ce,de,re,_e,ae,he,Ne,Ve,fe,ge,De,xe,be,Ce,Se,Oe,Fe,ye,P,me,Pe,ue,Le,ke,We,Ue,Ye,z,we,Me,Ze,$e,Qe,Je,Ke,E,K,Te,He,Ge,pe,qe,je,ve,ot,lt,at,nt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ot,Ht,po,_o,No,Vo,fo,Y,tt,Ft,Pt,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,$t,Qt,Jt,Kt,qt,Xt,jt,vt,eo,to,oo,lo,ao,no,so,io,co,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Fo,Po,uo,Lo,Wo,Ho,Mo,Go,Io,Ro,Yo,Zo,$o,Qo,Jo,Ko,qo,Xo,jo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,yl,El,ut,Vl,xl,bl,Cl,Sl,kl,Al,Bl,wl,Tl,Ol,Fl,Pl,ul,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,$l,Ql,Jl,Kl,ql,Xl,jl,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,ya,Ea,_a,Na,Va,fa,ga,Da,xa,ba,Ca,Sa,ka,Aa,Ba,wa,Ta,Oa,Fa,Pa,ua,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya,Za,$a;const p=e.resolveComponent("EditableItem"),i=e.resolveComponent("CirclePlus"),_=e.resolveComponent("ElIcon"),g=e.resolveComponent("Remove"),S=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Qz,[Jz,e.createElementVNode("div",Kz,[e.createElementVNode("div",qz,[e.createElementVNode("div",Xz,[jz,e.createElementVNode("div",vz,e.toDisplayString(a.computeUTCTime((h=l.extraData)==null?void 0:h.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",eU,[e.createElementVNode("div",tU,[oU,e.createElementVNode("div",lU,e.toDisplayString((x=(N=l.extraData)==null?void 0:N.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",aU,[nU,e.createElementVNode("div",sU,e.toDisplayString((r=l.extraData)==null?void 0:r.preparedFor),1)]),e.createElementVNode("div",iU,[cU,e.createElementVNode("div",dU,e.toDisplayString((k=(C=l.extraData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("div",rU,[mU,e.createElementVNode("div",pU,e.toDisplayString((L=(F=l.extraData)==null?void 0:F.voyage)==null?void 0:L.number),1)]),e.createElementVNode("div",hU,[yU,e.createElementVNode("div",EU,[e.createElementVNode("span",_U,e.toDisplayString((O=(w=l.extraData)==null?void 0:w.departure)==null?void 0:O.name),1),e.createElementVNode("span",NU,e.toDisplayString(a.computeUTCTime(((u=(b=l.extraData)==null?void 0:b.departure)==null?void 0:u.atd)||((Z=(I=l.extraData)==null?void 0:I.departure)==null?void 0:Z.etd))),1)])]),e.createElementVNode("div",VU,[fU,e.createElementVNode("div",gU,[e.createElementVNode("span",DU,e.toDisplayString((W=(R=l.extraData)==null?void 0:R.arrival)==null?void 0:W.name),1),e.createElementVNode("span",xU,e.toDisplayString(a.computeUTCTime(((U=(f=l.extraData)==null?void 0:f.arrival)==null?void 0:U.ata)||((H=(G=l.extraData)==null?void 0:G.arrival)==null?void 0:H.eta))),1)])])]),bU,e.createElementVNode("div",CU,[e.createElementVNode("div",SU,[kU,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Q=l.extraData)==null?void 0:Q.extraDist)} flex blue`)},e.toDisplayString(((J=l.extraData)==null?void 0:J.extraDist)??"—"),3)]),e.createElementVNode("div",AU,[BU,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((q=(X=l.extraData)==null?void 0:X.timeAnalysis)==null?void 0:q.totalExtraTime)} flex blue`)},e.toDisplayString(((M=(V=l.extraData)==null?void 0:V.timeAnalysis)==null?void 0:M.totalExtraTime)??"—"),3)]),e.createElementVNode("div",wU,[TU,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((j=(s=($=l.extraData)==null?void 0:$.consAnalysis)==null?void 0:s.fo)==null?void 0:j.totalExtraCons)} flex blue`)},e.toDisplayString(((oe=(v=(d=l.extraData)==null?void 0:d.consAnalysis)==null?void 0:v.fo)==null?void 0:oe.totalExtraCons)??"—"),3)]),e.createElementVNode("div",OU,[FU,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ce=(ie=(ee=l.extraData)==null?void 0:ee.consAnalysis)==null?void 0:ie.dgo)==null?void 0:ce.totalExtraCons)} flex blue`)},e.toDisplayString(((_e=(re=(de=l.extraData)==null?void 0:de.consAnalysis)==null?void 0:re.dgo)==null?void 0:_e.totalExtraCons)??"—"),3)])]),PU,e.createElementVNode("div",uU,[e.createElementVNode("img",{style:{width:"100%"},src:(ae=l.extraData)==null?void 0:ae.chartUrl,alt:""},null,8,LU),WU]),HU,t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",MU,"Diversion Information")),t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",GU,[IU,e.createElementVNode("div",RU,[zU,e.createElementVNode("div",UU,e.toDisplayString(a.computedLngLat((he=l.extraData)==null?void 0:he.startLng,(Ne=l.extraData)==null?void 0:Ne.startLat)),1),e.createElementVNode("div",YU,e.toDisplayString(a.computeUTCTime((Ve=l.extraData)==null?void 0:Ve.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",ZU,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(fe=l.extraData)==null?void 0:fe.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[0]||(n[0]=ne=>a.handleCommit("extra","startFoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",$U,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(ge=l.extraData)==null?void 0:ge.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[1]||(n[1]=ne=>a.handleCommit("extra","startDgoBrob",ne))},null,8,["value"])]),QU,JU]),e.createElementVNode("div",KU,[qU,e.createElementVNode("div",XU,e.toDisplayString(a.computedLngLat((De=l.extraData)==null?void 0:De.endLng,(xe=l.extraData)==null?void 0:xe.endLat)),1),e.createElementVNode("div",jU,e.toDisplayString(a.computeUTCTime((be=l.extraData)==null?void 0:be.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",vU,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Ce=l.extraData)==null?void 0:Ce.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[2]||(n[2]=ne=>a.handleCommit("extra","endFoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",eY,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Se=l.extraData)==null?void 0:Se.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[3]||(n[3]=ne=>a.handleCommit("extra","endDgoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",tY,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Oe=l.extraData)==null?void 0:Oe.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[4]||(n[4]=ne=>a.handleCommit("extra","endFoBunkering",ne))},null,8,["value"])]),e.createElementVNode("div",oY,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Fe=l.extraData)==null?void 0:Fe.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[5]||(n[5]=ne=>a.handleCommit("extra","endDgoBunkering",ne))},null,8,["value"])])]),e.createElementVNode("div",lY,[aY,nY,e.createElementVNode("div",sY,e.toDisplayString(((P=(ye=l.extraData)==null?void 0:ye.timeAnalysis)==null?void 0:P.actualTime)??"—"),1),e.createElementVNode("div",iY,e.toDisplayString(((ue=(Pe=(me=l.extraData)==null?void 0:me.consAnalysis)==null?void 0:Pe.fo)==null?void 0:ue.actualCons)??"—"),1),e.createElementVNode("div",cY,e.toDisplayString(((We=(ke=(Le=l.extraData)==null?void 0:Le.consAnalysis)==null?void 0:ke.dgo)==null?void 0:We.actualCons)??"—"),1),dY,rY])])),mY,e.createElementVNode("div",pY,[e.createElementVNode("div",hY,[yY,e.createElementVNode("div",EY,e.toDisplayString(((Ye=(Ue=l.extraData)==null?void 0:Ue.cp)==null?void 0:Ye.speed)??"—"),1)]),e.createElementVNode("div",_Y,[NY,e.createElementVNode("div",VY,e.toDisplayString(((we=(z=l.extraData)==null?void 0:z.cp)==null?void 0:we.fo)??"—"),1)]),e.createElementVNode("div",fY,[gY,e.createElementVNode("div",DY,e.toDisplayString(((Ze=(Me=l.extraData)==null?void 0:Me.cp)==null?void 0:Ze.dgo)??"—"),1)])]),e.createElementVNode("div",xY,[bY,e.createElementVNode("div",CY,[e.createVNode(_,{size:20,onClick:a.handleAdd},{default:e.withCtx(()=>[e.createVNode(i)]),_:1},8,["onClick"])])]),e.createElementVNode("div",SY,[e.createElementVNode("table",null,[kY,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.extraPortList,(ne,ro)=>{var Qa,Ja,Ka,se,mo,qa,Xa,ja;return e.openBlock(),e.createElementBlock(e.Fragment,{key:ro},[e.createElementVNode("tr",null,[e.createElementVNode("td",AY,[e.createVNode(p,{class:"editable-item",value:ne==null?void 0:ne.name,type:"remotePortSelect",size:"small",align:"center",options:l.portList,onSelect:a.fetchSuggestName,onCommit:rt=>a.handleCommit("port","name",rt,ro)},null,8,["value","options","onSelect","onCommit"])]),BY,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(Qa=ne==null?void 0:ne.arrival)==null?void 0:Qa.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:rt=>a.handleCommit("port","arrival.date",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Ja=ne==null?void 0:ne.arrival)==null?void 0:Ja.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","arrival.foBrob",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Ka=ne==null?void 0:ne.arrival)==null?void 0:Ka.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","arrival.dgoBrob",rt,ro)},null,8,["value","onCommit"])]),wY,TY,e.createElementVNode("td",OY,[e.createVNode(_,{size:20,onClick:rt=>a.handleRemove(ro)},{default:e.withCtx(()=>[e.createVNode(g)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[FY,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(se=ne==null?void 0:ne.departure)==null?void 0:se.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:rt=>a.handleCommit("port","departure.date",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(mo=ne==null?void 0:ne.departure)==null?void 0:mo.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.foBrob",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(qa=ne==null?void 0:ne.departure)==null?void 0:qa.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.dgoBrob",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Xa=ne==null?void 0:ne.departure)==null?void 0:Xa.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.bunkeringFo",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(ja=ne==null?void 0:ne.departure)==null?void 0:ja.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.bunkeringDgo",rt,ro)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[PY,uY,e.createElementVNode("td",null,e.toDisplayString(((Qe=($e=l.extraData)==null?void 0:$e.timeAnalysis)==null?void 0:Qe.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((E=(Ke=(Je=l.extraData)==null?void 0:Je.consAnalysis)==null?void 0:Ke.fo)==null?void 0:E.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((He=(Te=(K=l.extraData)==null?void 0:K.consAnalysis)==null?void 0:Te.dgo)==null?void 0:He.portCons)??"—"),1),LY,WY,HY])])])]),MY,e.createElementVNode("div",GY,[IY,e.createElementVNode("div",RY,[zY,e.createElementVNode("div",UY,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(Ge=l.extraData)==null?void 0:Ge.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[6]||(n[6]=ne=>a.handleCommit("extraData","actualDist",ne,t.index))},null,8,["value"])]),e.createElementVNode("div",YY,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(pe=l.extraData)==null?void 0:pe.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[7]||(n[7]=ne=>a.handleCommit("extraData","priorDist",ne,t.index))},null,8,["value"])])]),e.createElementVNode("div",ZY,[$Y,e.createElementVNode("div",QY,e.toDisplayString(((qe=l.extraData)==null?void 0:qe.extraDist)??"—"),1)])]),JY,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",KY,[e.createElementVNode("div",qY,[XY,e.createElementVNode("div",jY,[e.createElementVNode("div",null,e.toDisplayString((je=l.extraData)==null?void 0:je.extraDist),1),vY,e.createElementVNode("div",null,e.toDisplayString((ot=(ve=l.extraData)==null?void 0:ve.cp)==null?void 0:ot.speed),1)]),eZ,e.createElementVNode("div",tZ,e.toDisplayString((at=(lt=l.extraData)==null?void 0:lt.timeAnalysis)==null?void 0:at.sailingTime),1),oZ]),e.createElementVNode("div",lZ,[aZ,e.createElementVNode("div",nZ,e.toDisplayString((pt=(nt=l.extraData)==null?void 0:nt.timeAnalysis)==null?void 0:pt.sailingTime),1),sZ,e.createElementVNode("div",iZ,e.toDisplayString(a.computeNum((yt=(ht=l.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:yt.portTime)),1),cZ,e.createElementVNode("div",dZ,e.toDisplayString((_t=(Et=l.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:_t.totalExtraTime),1),rZ])])):(e.openBlock(),e.createElementBlock("div",mZ,[e.createElementVNode("div",pZ,[hZ,e.createElementVNode("div",yZ,[e.createElementVNode("div",null,e.toDisplayString((Nt=l.extraData)==null?void 0:Nt.priorDist),1),EZ,e.createElementVNode("div",null,e.toDisplayString((ft=(Vt=l.extraData)==null?void 0:Vt.cp)==null?void 0:ft.speed),1)]),_Z,e.createElementVNode("div",NZ,e.toDisplayString((Dt=(gt=l.extraData)==null?void 0:gt.timeAnalysis)==null?void 0:Dt.sailingTime),1),VZ]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",fZ,[gZ,e.createElementVNode("div",DZ,e.toDisplayString((bt=(xt=l.extraData)==null?void 0:xt.timeAnalysis)==null?void 0:bt.actualTime),1),xZ,e.createElementVNode("div",bZ,e.toDisplayString((St=(Ct=l.extraData)==null?void 0:Ct.timeAnalysis)==null?void 0:St.sailingTime),1),CZ,e.createElementVNode("div",SZ,e.toDisplayString((At=(kt=l.extraData)==null?void 0:kt.timeAnalysis)==null?void 0:At.totalExtraTime),1),kZ])):(e.openBlock(),e.createElementBlock("div",AZ,[BZ,e.createElementVNode("div",wZ,e.toDisplayString((wt=(Bt=l.extraData)==null?void 0:Bt.timeAnalysis)==null?void 0:wt.actualTime),1),TZ,e.createElementVNode("div",OZ,e.toDisplayString((Ot=(Tt=l.extraData)==null?void 0:Tt.timeAnalysis)==null?void 0:Ot.sailingTime),1),FZ,e.createElementVNode("div",PZ,e.toDisplayString((po=(Ht=l.extraData)==null?void 0:Ht.timeAnalysis)==null?void 0:po.portTime),1),uZ,e.createElementVNode("div",LZ,e.toDisplayString((No=(_o=l.extraData)==null?void 0:_o.timeAnalysis)==null?void 0:No.totalExtraTime),1),WZ]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",HZ,[e.createElementVNode("div",MZ,[GZ,e.createElementVNode("div",IZ,e.toDisplayString(((fo=(Vo=l.extraData)==null?void 0:Vo.timeAnalysis)==null?void 0:fo.sailingTime)??"—"),1)]),e.createElementVNode("div",RZ,[zZ,e.createElementVNode("div",UZ,e.toDisplayString(((tt=(Y=l.extraData)==null?void 0:Y.timeAnalysis)==null?void 0:tt.portTime)??"—"),1)]),e.createElementVNode("div",YZ,[ZZ,e.createElementVNode("div",$Z,e.toDisplayString(((Pt=(Ft=l.extraData)==null?void 0:Ft.timeAnalysis)==null?void 0:Pt.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",QZ,[e.createElementVNode("div",JZ,[KZ,e.createElementVNode("div",qZ,e.toDisplayString((Gt=(Mt=l.extraData)==null?void 0:Mt.timeAnalysis)==null?void 0:Gt.sailingTime),1)]),e.createElementVNode("div",XZ,[jZ,e.createElementVNode("div",vZ,e.toDisplayString((Rt=(It=l.extraData)==null?void 0:It.timeAnalysis)==null?void 0:Rt.actualTime),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",e$,[t$,e.createElementVNode("div",o$,e.toDisplayString(((Ut=(zt=l.extraData)==null?void 0:zt.timeAnalysis)==null?void 0:Ut.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",l$,[a$,e.createElementVNode("div",n$,e.toDisplayString((Zt=(Yt=l.extraData)==null?void 0:Yt.timeAnalysis)==null?void 0:Zt.totalExtraTime),1)])])),s$,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",i$,[e.createElementVNode("div",c$,[d$,e.createElementVNode("div",r$,[e.createElementVNode("div",null,e.toDisplayString(($t=l.extraData)==null?void 0:$t.extraDist),1),m$,e.createElementVNode("div",null,e.toDisplayString((Jt=(Qt=l.extraData)==null?void 0:Qt.cp)==null?void 0:Jt.speed),1)]),p$,e.createElementVNode("div",h$,[e.createElementVNode("div",null,e.toDisplayString((qt=(Kt=l.extraData)==null?void 0:Kt.cp)==null?void 0:qt.fo),1),y$,E$]),_$,e.createElementVNode("div",N$,e.toDisplayString((vt=(jt=(Xt=l.extraData)==null?void 0:Xt.consAnalysis)==null?void 0:jt.fo)==null?void 0:vt.sailingCons),1),V$]),e.createElementVNode("div",f$,[g$,e.createElementVNode("div",D$,e.toDisplayString((oo=(to=(eo=l.extraData)==null?void 0:eo.consAnalysis)==null?void 0:to.fo)==null?void 0:oo.sailingCons),1),x$,e.createElementVNode("div",b$,e.toDisplayString(a.computeNum((no=(ao=(lo=l.extraData)==null?void 0:lo.consAnalysis)==null?void 0:ao.fo)==null?void 0:no.portCons)),1),C$,e.createElementVNode("div",S$,e.toDisplayString((co=(io=(so=l.extraData)==null?void 0:so.consAnalysis)==null?void 0:io.fo)==null?void 0:co.totalExtraCons),1),k$]),e.createElementVNode("div",A$,[B$,e.createElementVNode("div",w$,[e.createElementVNode("div",null,e.toDisplayString((go=l.extraData)==null?void 0:go.extraDist),1),T$,e.createElementVNode("div",null,e.toDisplayString((xo=(Do=l.extraData)==null?void 0:Do.cp)==null?void 0:xo.speed),1)]),O$,e.createElementVNode("div",F$,[e.createElementVNode("div",null,e.toDisplayString((Co=(bo=l.extraData)==null?void 0:bo.cp)==null?void 0:Co.dgo),1),P$,u$]),L$,e.createElementVNode("div",W$,e.toDisplayString((Ao=(ko=(So=l.extraData)==null?void 0:So.consAnalysis)==null?void 0:ko.dgo)==null?void 0:Ao.sailingCons),1),H$]),e.createElementVNode("div",M$,[G$,e.createElementVNode("div",I$,e.toDisplayString((To=(wo=(Bo=l.extraData)==null?void 0:Bo.consAnalysis)==null?void 0:wo.dgo)==null?void 0:To.sailingCons),1),R$,e.createElementVNode("div",z$,e.toDisplayString(a.computeNum((Po=(Fo=(Oo=l.extraData)==null?void 0:Oo.consAnalysis)==null?void 0:Fo.dgo)==null?void 0:Po.portCons)),1),U$,e.createElementVNode("div",Y$,e.toDisplayString((Wo=(Lo=(uo=l.extraData)==null?void 0:uo.consAnalysis)==null?void 0:Lo.dgo)==null?void 0:Wo.totalExtraCons),1),Z$])])):(e.openBlock(),e.createElementBlock("div",$$,[e.createElementVNode("div",Q$,[J$,e.createElementVNode("div",K$,[e.createElementVNode("div",null,e.toDisplayString((Ho=l.extraData)==null?void 0:Ho.priorDist),1),q$,e.createElementVNode("div",null,e.toDisplayString((Go=(Mo=l.extraData)==null?void 0:Mo.cp)==null?void 0:Go.speed),1)]),X$,e.createElementVNode("div",j$,[e.createElementVNode("div",null,e.toDisplayString((Ro=(Io=l.extraData)==null?void 0:Io.cp)==null?void 0:Ro.fo),1),v$,eQ]),tQ,e.createElementVNode("div",oQ,e.toDisplayString(($o=(Zo=(Yo=l.extraData)==null?void 0:Yo.consAnalysis)==null?void 0:Zo.fo)==null?void 0:$o.sailingCons),1),lQ]),e.createElementVNode("div",aQ,[nQ,e.createElementVNode("div",sQ,[e.createElementVNode("div",null,e.toDisplayString((Qo=l.extraData)==null?void 0:Qo.priorDist),1),iQ,e.createElementVNode("div",null,e.toDisplayString((Ko=(Jo=l.extraData)==null?void 0:Jo.cp)==null?void 0:Ko.speed),1)]),cQ,e.createElementVNode("div",dQ,[e.createElementVNode("div",null,e.toDisplayString((Xo=(qo=l.extraData)==null?void 0:qo.cp)==null?void 0:Xo.dgo),1),rQ,mQ]),pQ,e.createElementVNode("div",hQ,e.toDisplayString((el=(vo=(jo=l.extraData)==null?void 0:jo.consAnalysis)==null?void 0:vo.dgo)==null?void 0:el.sailingCons),1),yQ]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",EQ,[_Q,e.createElementVNode("div",NQ,e.toDisplayString((ll=(ol=(tl=l.extraData)==null?void 0:tl.consAnalysis)==null?void 0:ol.fo)==null?void 0:ll.actualCons),1),VQ,e.createElementVNode("div",fQ,e.toDisplayString(a.computeNum((sl=(nl=(al=l.extraData)==null?void 0:al.consAnalysis)==null?void 0:nl.fo)==null?void 0:sl.sailingCons)),1),gQ,e.createElementVNode("div",DQ,e.toDisplayString((dl=(cl=(il=l.extraData)==null?void 0:il.consAnalysis)==null?void 0:cl.fo)==null?void 0:dl.totalExtraCons),1),xQ])):(e.openBlock(),e.createElementBlock("div",bQ,[CQ,e.createElementVNode("div",SQ,e.toDisplayString((pl=(ml=(rl=l.extraData)==null?void 0:rl.consAnalysis)==null?void 0:ml.fo)==null?void 0:pl.actualCons),1),kQ,e.createElementVNode("div",AQ,e.toDisplayString(a.computeNum((El=(yl=(hl=l.extraData)==null?void 0:hl.consAnalysis)==null?void 0:yl.fo)==null?void 0:El.sailingCons)),1),BQ,e.createElementVNode("div",wQ,e.toDisplayString(a.computeNum((xl=(Vl=(ut=l.extraData)==null?void 0:ut.consAnalysis)==null?void 0:Vl.fo)==null?void 0:xl.portCons)),1),TQ,e.createElementVNode("div",OQ,e.toDisplayString((Sl=(Cl=(bl=l.extraData)==null?void 0:bl.consAnalysis)==null?void 0:Cl.fo)==null?void 0:Sl.totalExtraCons),1),FQ])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",PQ,[uQ,e.createElementVNode("div",LQ,e.toDisplayString((Bl=(Al=(kl=l.extraData)==null?void 0:kl.consAnalysis)==null?void 0:Al.dgo)==null?void 0:Bl.actualCons),1),WQ,e.createElementVNode("div",HQ,e.toDisplayString((Ol=(Tl=(wl=l.extraData)==null?void 0:wl.consAnalysis)==null?void 0:Tl.dgo)==null?void 0:Ol.sailingCons),1),MQ,e.createElementVNode("div",GQ,e.toDisplayString((ul=(Pl=(Fl=l.extraData)==null?void 0:Fl.consAnalysis)==null?void 0:Pl.dgo)==null?void 0:ul.totalExtraCons),1),IQ])):(e.openBlock(),e.createElementBlock("div",RQ,[zQ,e.createElementVNode("div",UQ,e.toDisplayString((Hl=(Wl=(Ll=l.extraData)==null?void 0:Ll.consAnalysis)==null?void 0:Wl.dgo)==null?void 0:Hl.actualCons),1),YQ,e.createElementVNode("div",ZQ,e.toDisplayString(a.computeNum((Il=(Gl=(Ml=l.extraData)==null?void 0:Ml.consAnalysis)==null?void 0:Gl.dgo)==null?void 0:Il.sailingCons)),1),$Q,e.createElementVNode("div",QQ,e.toDisplayString(a.computeNum((Ul=(zl=(Rl=l.extraData)==null?void 0:Rl.consAnalysis)==null?void 0:zl.dgo)==null?void 0:Ul.portCons)),1),JQ,e.createElementVNode("div",KQ,e.toDisplayString(($l=(Zl=(Yl=l.extraData)==null?void 0:Yl.consAnalysis)==null?void 0:Zl.dgo)==null?void 0:$l.totalExtraCons),1),qQ]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",XQ,[jQ,e.createElementVNode("div",vQ,[eJ,e.createElementVNode("div",tJ,e.toDisplayString(((Kl=(Jl=(Ql=l.extraData)==null?void 0:Ql.consAnalysis)==null?void 0:Jl.fo)==null?void 0:Kl.sailingCons)??"—"),1),e.createElementVNode("div",oJ,e.toDisplayString(((jl=(Xl=(ql=l.extraData)==null?void 0:ql.consAnalysis)==null?void 0:Xl.dgo)==null?void 0:jl.sailingCons)??"—"),1)]),e.createElementVNode("div",lJ,[aJ,e.createElementVNode("div",nJ,e.toDisplayString(((ta=(ea=(vl=l.extraData)==null?void 0:vl.consAnalysis)==null?void 0:ea.fo)==null?void 0:ta.portCons)??"—"),1),e.createElementVNode("div",sJ,e.toDisplayString(((aa=(la=(oa=l.extraData)==null?void 0:oa.consAnalysis)==null?void 0:la.dgo)==null?void 0:aa.portCons)??"—"),1)]),e.createElementVNode("div",iJ,[cJ,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ia=(sa=(na=l.extraData)==null?void 0:na.consAnalysis)==null?void 0:sa.fo)==null?void 0:ia.totalExtraCons)} flex blue center`)},e.toDisplayString(((ra=(da=(ca=l.extraData)==null?void 0:ca.consAnalysis)==null?void 0:da.fo)==null?void 0:ra.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ha=(pa=(ma=l.extraData)==null?void 0:ma.consAnalysis)==null?void 0:pa.dgo)==null?void 0:ha.totalExtraCons)} flex blue center`)},e.toDisplayString(((_a=(Ea=(ya=l.extraData)==null?void 0:ya.consAnalysis)==null?void 0:Ea.dgo)==null?void 0:_a.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",dJ,[rJ,e.createElementVNode("div",mJ,[pJ,e.createElementVNode("div",hJ,e.toDisplayString((fa=(Va=(Na=l.extraData)==null?void 0:Na.consAnalysis)==null?void 0:Va.fo)==null?void 0:fa.sailingCons),1),e.createElementVNode("div",yJ,e.toDisplayString((xa=(Da=(ga=l.extraData)==null?void 0:ga.consAnalysis)==null?void 0:Da.dgo)==null?void 0:xa.sailingCons),1)]),e.createElementVNode("div",EJ,[_J,e.createElementVNode("div",NJ,e.toDisplayString((Sa=(Ca=(ba=l.extraData)==null?void 0:ba.consAnalysis)==null?void 0:Ca.fo)==null?void 0:Sa.actualCons),1),e.createElementVNode("div",VJ,e.toDisplayString((Ba=(Aa=(ka=l.extraData)==null?void 0:ka.consAnalysis)==null?void 0:Aa.dgo)==null?void 0:Ba.actualCons),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",fJ,[gJ,e.createElementVNode("div",DJ,e.toDisplayString((Oa=(Ta=(wa=l.extraData)==null?void 0:wa.consAnalysis)==null?void 0:Ta.fo)==null?void 0:Oa.portCons),1),e.createElementVNode("div",xJ,e.toDisplayString((ua=(Pa=(Fa=l.extraData)==null?void 0:Fa.consAnalysis)==null?void 0:Pa.dgo)==null?void 0:ua.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",bJ,[CJ,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Ha=(Wa=(La=l.extraData)==null?void 0:La.consAnalysis)==null?void 0:Wa.fo)==null?void 0:Ha.totalExtraCons)} flex blue center`)},e.toDisplayString((Ia=(Ga=(Ma=l.extraData)==null?void 0:Ma.consAnalysis)==null?void 0:Ga.fo)==null?void 0:Ia.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Ua=(za=(Ra=l.extraData)==null?void 0:Ra.consAnalysis)==null?void 0:za.dgo)==null?void 0:Ua.totalExtraCons)} flex blue center`)},e.toDisplayString(($a=(Za=(Ya=l.extraData)==null?void 0:Ya.consAnalysis)==null?void 0:Za.dgo)==null?void 0:$a.totalExtraCons),3)])])),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(S,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[8]||(n[8]=ne=>l.advisory=ne),height:"320px",onBlur:n[9]||(n[9]=ne=>a.handleCommit("comments","comments",ne))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[10]||(n[10]=(...ne)=>a.decideDisable&&a.decideDisable(...ne)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,SJ))],2)])}const On=Ee($z,[["render",kJ],["__scopeId","data-v-77edf8aa"]]),AJ={install(t){t.component("DeviationReport",Tn),t.component("FliDeviationReport",On)}},Hoe="",BJ={components:{IdmBrand:yo},props:{report:{type:Object,default:()=>({})}},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBFpFvBonCYK2Eww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yDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${T(t).utc().format(n)}`}},computeLat(){return function(t){return te.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return te.LngLatHelper.lng2pretty(t,2)}},computeStyle(){return function(t){return t>0?"color:var(--idm-danger-color)":""}},computeRoundPrecision(){return function(t,n=2){return t==="-"?"-":te.roundPrecision(t,n)}}}},Eo=t=>(e.pushScopeId("data-v-e36b09de"),t=t(),e.popScopeId(),t),wJ={class:"stoppage-report"},TJ={class:"report-summary"},OJ={class:"summary-item"},FJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),PJ={class:"flexL gray"},uJ={class:"summary-item"},LJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),WJ={class:"flexL gray"},HJ={class:"summary-item"},MJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),GJ={class:"flexL gray"},IJ={class:"summary-item"},RJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),zJ={class:"flexL gray"},UJ={class:"summary-item"},YJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),ZJ={class:"flexL gray",style:{display:"flex"}},$J={class:"flex"},QJ={class:"flexM"},JJ={class:"summary-item"},KJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),qJ={class:"flexL gray",style:{display:"flex"}},XJ={class:"flex"},jJ={class:"flexM"},vJ=Eo(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),eK={class:"report-summary"},tK={class:"summary-item"},oK=Eo(()=>e.createElementVNode("div",{class:"flex blue"},"Total Time Lost",-1)),lK={class:"summary-item"},aK=Eo(()=>e.createElementVNode("div",{class:"flex blue"},"FO Total Consumption",-1)),nK={class:"summary-item"},sK=Eo(()=>e.createElementVNode("div",{class:"flex blue"},"DO/GO Total Consumption",-1)),iK=Eo(()=>e.createElementVNode("div",{class:"subtitle"},"Stoppage Info",-1)),cK={class:"report-table"},dK=Eo(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:2},"Stoppage"),e.createElementVNode("th",{rowspan:2},"Position"),e.createElementVNode("th",{rowspan:2},"Date"),e.createElementVNode("th",{colspan:2},"BROB (mt)"),e.createElementVNode("th",{rowspan:2},"Time Lost (hrs)"),e.createElementVNode("th",{colspan:2},"TTL CONS (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),rK=Eo(()=>e.createElementVNode("td",null,"Stopped",-1)),mK={rowspan:2},pK={rowspan:2},hK={rowspan:2},yK=Eo(()=>e.createElementVNode("td",null,"Resumed",-1)),EK={class:"report-map flex-center"},_K=["src"];function NK(t,n,o,c,l,a){var i,_,g,S,h,N,x,r,C,k,F,L,w,O,b,u,I,Z,R,W,f,U,G,H,Q,J,X,q,V,M,$,s,j,d,v,oe,ee,ie,ce;const p=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",wJ,[e.createVNode(p,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",TJ,[e.createElementVNode("div",OJ,[FJ,e.createElementVNode("div",PJ,e.toDisplayString((_=(i=o.report)==null?void 0:i.vessel)==null?void 0:_.name),1)]),e.createElementVNode("div",uJ,[LJ,e.createElementVNode("div",WJ,e.toDisplayString((g=o.report)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",HJ,[MJ,e.createElementVNode("div",GJ,e.toDisplayString((h=(S=o.report)==null?void 0:S.vessel)==null?void 0:h.type),1)]),e.createElementVNode("div",IJ,[RJ,e.createElementVNode("div",zJ,e.toDisplayString((x=(N=o.report)==null?void 0:N.voyage)==null?void 0:x.number),1)]),e.createElementVNode("div",UJ,[YJ,e.createElementVNode("div",ZJ,[e.createElementVNode("span",$J,e.toDisplayString((C=(r=o.report)==null?void 0:r.departure)==null?void 0:C.name),1),e.createElementVNode("span",QJ,e.toDisplayString(a.computeUTCTime(((F=(k=o.report)==null?void 0:k.departure)==null?void 0:F.atd)||((w=(L=o.report)==null?void 0:L.departure)==null?void 0:w.etd))),1)])]),e.createElementVNode("div",JJ,[KJ,e.createElementVNode("div",qJ,[e.createElementVNode("span",XJ,e.toDisplayString((b=(O=o.report)==null?void 0:O.arrival)==null?void 0:b.name),1),e.createElementVNode("span",jJ,e.toDisplayString(a.computeUTCTime(((I=(u=o.report)==null?void 0:u.arrival)==null?void 0:I.ata)||((R=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:R.eta))),1)])])]),vJ,e.createElementVNode("div",eK,[e.createElementVNode("div",tK,[oK,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((W=o.report)==null?void 0:W.totalTime))},e.toDisplayString(((f=o.report)==null?void 0:f.totalTime)??"—"),5)]),e.createElementVNode("div",lK,[aK,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((U=o.report)==null?void 0:U.totalFoCons))},e.toDisplayString(((G=o.report)==null?void 0:G.totalFoCons)??"—"),5)]),e.createElementVNode("div",nK,[sK,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((H=o.report)==null?void 0:H.totalDgoCons))},e.toDisplayString(((Q=o.report)==null?void 0:Q.totalDgoCons)??"—"),5)])]),iK,e.createElementVNode("div",cK,[e.createElementVNode("table",null,[dK,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[rK,e.createElementVNode("td",null,e.toDisplayString(a.computeLat((J=o.report)==null?void 0:J.stopLat).pretty)+" / "+e.toDisplayString(a.computeLng((X=o.report)==null?void 0:X.stopLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((q=o.report)==null?void 0:q.stopTime)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((V=o.report)==null?void 0:V.stopFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((M=o.report)==null?void 0:M.stopDgoBrob)??"-")),1),e.createElementVNode("td",mK,e.toDisplayString(a.computeRoundPrecision((($=o.report)==null?void 0:$.totalTime)??"-")),1),e.createElementVNode("td",pK,e.toDisplayString(a.computeRoundPrecision(((s=o.report)==null?void 0:s.totalFoCons)??"-")),1),e.createElementVNode("td",hK,e.toDisplayString(a.computeRoundPrecision(((j=o.report)==null?void 0:j.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[yK,e.createElementVNode("td",null,e.toDisplayString(a.computeLat((d=o.report)==null?void 0:d.resumeLat).pretty)+" / "+e.toDisplayString(a.computeLng((v=o.report)==null?void 0:v.resumeLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((oe=o.report)==null?void 0:oe.resumeTime)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((ee=o.report)==null?void 0:ee.resumeFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((ie=o.report)==null?void 0:ie.resumeDgoBrob)??"-")),1)])])])]),e.createElementVNode("div",EK,[e.createElementVNode("img",{src:(ce=o.report)==null?void 0:ce.chartUrl,alt:""},null,8,_K)])])}const Fn=Ee(BJ,[["render",NK],["__scopeId","data-v-e36b09de"]]),VK={install(t){t.component("StoppageReport",Fn)}},Moe="",fK={props:{data:{type:Object,default:{}},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},components:{Editor:zo,IdmBrand:va},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBFpFvBonCYK2EwwGdyKc94I0SgAfI4wbhdFZJoART1UAK4Bf38vK/Jsz5yRb+8b0GhfKzsNsPKOenyo3Wb7J7jEccCDZNWXIgEoWCQKDdCTfmJc/ELl8k+M2dZzUS1vYt5qUXI0CHWCrDpFgFQ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FtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},watch:{data:{handler(t){t&&this.fetchData()},immediate:!0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t?`${T(t).utc().format(n)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,n){return t&&n?te.roundPrecision(t-n):"-"}},computeSummary(){return function(t,n){if(t===0)return"No difference";let o="";return t>0?n==="time"?o=`Lost ${t}hrs`:o=`Over consumption ${t}mt`:n==="time"?o=`Saving ${Math.abs(t)}hrs`:o=`Under consumption ${Math.abs(t)}mt`,o}}},methods:{fetchData(){var t,n;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(n=this.data)==null?void 0:n.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,n){this.editable=!1;const o={[t]:n};await gl.put(`${this.gateway}/api/als/comparisons/${this.id}`,o,{headers:{Authorization:this.token}}),this.advisory=n}}},Re=t=>(e.pushScopeId("data-v-c8bf8198"),t=t(),e.popScopeId(),t),gK={class:"comparison-report"},DK=Re(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),xK={class:"report-header"},bK={class:"header-title",style:{position:"relative !important"}},CK=["src"],SK={class:"header-title-content"},kK=Re(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),AK={class:"title-date"},BK={class:"report-summary"},wK={class:"summary-item"},TK=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),OK={class:"flexL gray"},FK={class:"summary-item"},PK=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),uK={class:"flexL gray"},LK={class:"summary-item"},WK=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),HK={class:"flexL gray"},MK={class:"summary-item"},GK=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),IK={class:"flexL gray"},RK={class:"summary-item"},zK=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),UK={class:"flexL gray"},YK={class:"summary-item"},ZK=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),$K={class:"flexL gray",style:{display:"flex"}},QK={class:"flex"},JK={class:"flexM"},KK={class:"summary-item"},qK=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),XK={class:"flexL gray",style:{display:"flex"}},jK={class:"flex"},vK={class:"flexM"},eq=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),tq={class:"report-summary"},oq={class:"summary-item"},lq=Re(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),aq={class:"summary-item"},nq=Re(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),sq={class:"summary-item"},iq=Re(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),cq=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),dq={class:"report-map"},rq=["src"],mq=e.createStaticVNode('<div class="legend" data-v-c8bf8198><div class="legend-item" data-v-c8bf8198><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-c8bf8198></div><div data-v-c8bf8198>Actual Route</div></div><div class="legend-item" data-v-c8bf8198><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-c8bf8198></div><div data-v-c8bf8198>Recommended Route</div></div></div>',1),pq=Re(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),hq={key:0,class:"subtitle"},yq={key:1,class:"report-summary"},Eq={class:"summary-item"},_q=Re(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),Nq={class:"flexL blue center"},Vq={class:"summary-item"},fq=Re(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),gq={class:"flexL blue center"},Dq={class:"summary-item"},xq=Re(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),bq={class:"flexL blue center"},Cq=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),Sq={class:"report-summary"},kq=Re(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),Aq={class:"summary-item"},Bq=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),wq={class:"flex blue-light center"},Tq={class:"flex blue-light center"},Oq={class:"summary-item"},Fq=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),Pq={class:"flex blue-light center"},uq={class:"flex blue-light center"},Lq={class:"summary-item"},Wq=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),Hq={class:"flex blue-light center"},Mq={class:"flex blue-light center"},Gq={class:"summary-item"},Iq=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),Rq={class:"flex blue-light center"},zq={class:"flex blue-light center"},Uq={class:"summary-item"},Yq=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),Zq={class:"flex blue-light center"},$q={class:"flex blue-light center"},Qq={class:"summary-item"},Jq=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),Kq={class:"flex blue-light center"},qq={class:"flex blue-light center"},Xq={class:"summary-item"},jq=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),vq={class:"flex blue-light center italic"},eX=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),tX={class:"report-summary"},oX=Re(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),lX={class:"summary-item"},aX=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),nX={class:"flex blue-light center"},sX={class:"flex blue-light center"},iX={class:"summary-item"},cX=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),dX={class:"flex blue-light center"},rX={class:"flex blue-light center"},mX={class:"summary-item"},pX=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),hX={class:"flex blue-light center"},yX={class:"flex blue-light center"},EX={class:"summary-item"},_X=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),NX={class:"flex blue-light center"},VX={class:"flex blue-light center"},fX={class:"summary-item"},gX=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),DX={class:"flex blue-light center italic"},xX={class:"summary-item"},bX=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),CX={class:"flex blue-light center italic"},SX=["innerHTML"];function kX(t,n,o,c,l,a){var _,g,S,h,N,x,r,C,k,F,L,w,O,b,u,I,Z,R,W,f,U,G,H,Q,J,X,q,V,M,$,s,j,d,v,oe,ee,ie,ce,de,re,_e,ae,he,Ne,Ve,fe,ge,De,xe,be,Ce,Se,Oe,Fe,ye,P,me,Pe,ue,Le,ke;const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",gK,[e.createVNode(p),DK,e.createElementVNode("div",xK,[e.createElementVNode("div",bK,[e.createElementVNode("img",{src:l.logSrc2,style:{width:"120px",position:"absolute","margin-top":"30px"},alt:""},null,8,CK),e.createElementVNode("div",SK,[kK,e.createElementVNode("div",AK,e.toDisplayString(a.computeUTCTime(((_=l.comparisonData)==null?void 0:_.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",BK,[e.createElementVNode("div",wK,[TK,e.createElementVNode("div",OK,e.toDisplayString((S=(g=l.comparisonData)==null?void 0:g.vessel)==null?void 0:S.name),1)]),e.createElementVNode("div",FK,[PK,e.createElementVNode("div",uK,e.toDisplayString((h=l.comparisonData)==null?void 0:h.preparedFor),1)]),e.createElementVNode("div",LK,[WK,e.createElementVNode("div",HK,e.toDisplayString((x=(N=l.comparisonData)==null?void 0:N.vessel)==null?void 0:x.type),1)]),e.createElementVNode("div",MK,[GK,e.createElementVNode("div",IK,e.toDisplayString((C=(r=l.comparisonData)==null?void 0:r.voyage)==null?void 0:C.loadCondition),1)]),e.createElementVNode("div",RK,[zK,e.createElementVNode("div",UK,e.toDisplayString((F=(k=l.comparisonData)==null?void 0:k.voyage)==null?void 0:F.number),1)]),e.createElementVNode("div",YK,[ZK,e.createElementVNode("div",$K,[e.createElementVNode("span",QK,e.toDisplayString((w=(L=l.comparisonData)==null?void 0:L.departure)==null?void 0:w.name),1),e.createElementVNode("span",JK,e.toDisplayString(a.computeUTCTime(((b=(O=l.comparisonData)==null?void 0:O.departure)==null?void 0:b.atd)||((I=(u=l.comparisonData)==null?void 0:u.departure)==null?void 0:I.etd))),1)])]),e.createElementVNode("div",KK,[qK,e.createElementVNode("div",XK,[e.createElementVNode("span",jK,e.toDisplayString((R=(Z=l.comparisonData)==null?void 0:Z.arrival)==null?void 0:R.name),1),e.createElementVNode("span",vK,e.toDisplayString(a.computeUTCTime(((f=(W=l.comparisonData)==null?void 0:W.arrival)==null?void 0:f.ata)||((G=(U=l.comparisonData)==null?void 0:U.arrival)==null?void 0:G.eta))),1)])])]),eq,e.createElementVNode("div",tq,[e.createElementVNode("div",oq,[lq,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((H=l.comparisonData)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(a.computeSummary((Q=l.comparisonData)==null?void 0:Q.diffTime,"time")),3)]),e.createElementVNode("div",aq,[nq,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((J=l.comparisonData)==null?void 0:J.diffFoCons)} flex blue`)},e.toDisplayString(a.computeSummary((X=l.comparisonData)==null?void 0:X.diffFoCons,"oil")),3)]),e.createElementVNode("div",sq,[iq,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((q=l.comparisonData)==null?void 0:q.diffDgoCons)} flex blue`)},e.toDisplayString(a.computeSummary((V=l.comparisonData)==null?void 0:V.diffDgoCons,"oil")),3)])]),cq,e.createElementVNode("div",dq,[e.createElementVNode("img",{style:{width:"100%"},src:(M=l.comparisonData)==null?void 0:M.chartUrl,alt:""},null,8,rq),mq]),pq,($=l.comparisonData)!=null&&$.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",hq,"CP Terms")),(s=l.comparisonData)!=null&&s.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",yq,[e.createElementVNode("div",Eq,[_q,e.createElementVNode("div",Nq,e.toDisplayString(((d=(j=l.comparisonData)==null?void 0:j.cp)==null?void 0:d.speed)??"—"),1)]),e.createElementVNode("div",Vq,[fq,e.createElementVNode("div",gq,e.toDisplayString(((oe=(v=l.comparisonData)==null?void 0:v.cp)==null?void 0:oe.fo)??"—"),1)]),e.createElementVNode("div",Dq,[xq,e.createElementVNode("div",bq,e.toDisplayString(((ie=(ee=l.comparisonData)==null?void 0:ee.cp)==null?void 0:ie.dgo)??"—"),1)])])),Cq,e.createElementVNode("div",Sq,[kq,e.createElementVNode("div",Aq,[Bq,e.createElementVNode("div",wq,e.toDisplayString(((ce=l.comparisonData)==null?void 0:ce.actualDist)??"—"),1),e.createElementVNode("div",Tq,e.toDisplayString(((de=l.comparisonData)==null?void 0:de.recmdDist)??"—"),1)]),e.createElementVNode("div",Oq,[Fq,e.createElementVNode("div",Pq,e.toDisplayString(((re=l.comparisonData)==null?void 0:re.actualTime)??"—"),1),e.createElementVNode("div",uq,e.toDisplayString(((_e=l.comparisonData)==null?void 0:_e.recmdTime)??"—"),1)]),e.createElementVNode("div",Lq,[Wq,e.createElementVNode("div",Hq,e.toDisplayString(((ae=l.comparisonData)==null?void 0:ae.actualAvgSpd)??"—"),1),e.createElementVNode("div",Mq,e.toDisplayString(((he=l.comparisonData)==null?void 0:he.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",Gq,[Iq,e.createElementVNode("div",Rq,e.toDisplayString(((Ne=l.comparisonData)==null?void 0:Ne.actualAvgCF)??"—"),1),e.createElementVNode("div",zq,e.toDisplayString(((Ve=l.comparisonData)==null?void 0:Ve.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",Uq,[Yq,e.createElementVNode("div",Zq,e.toDisplayString(((fe=l.comparisonData)==null?void 0:fe.actualAvgWF)??"—"),1),e.createElementVNode("div",$q,e.toDisplayString(((ge=l.comparisonData)==null?void 0:ge.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",Qq,[Jq,e.createElementVNode("div",Kq,e.toDisplayString(((De=l.comparisonData)==null?void 0:De.actualPfmSpd)??"—"),1),e.createElementVNode("div",qq,e.toDisplayString(((xe=l.comparisonData)==null?void 0:xe.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",Xq,[jq,e.createElementVNode("div",vq,e.toDisplayString(a.compareTime((be=l.comparisonData)==null?void 0:be.actualTime,(Ce=l.comparisonData)==null?void 0:Ce.recmdTime)),1)])]),eX,e.createElementVNode("div",tX,[oX,e.createElementVNode("div",lX,[aX,e.createElementVNode("div",nX,e.toDisplayString(((Se=l.comparisonData)==null?void 0:Se.actualAvgFoCons)??"-"),1),e.createElementVNode("div",sX,e.toDisplayString(((Oe=l.comparisonData)==null?void 0:Oe.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",iX,[cX,e.createElementVNode("div",dX,e.toDisplayString(((Fe=l.comparisonData)==null?void 0:Fe.actualFoCons)??"-"),1),e.createElementVNode("div",rX,e.toDisplayString(((ye=l.comparisonData)==null?void 0:ye.recmdFoCons)??"-"),1)]),e.createElementVNode("div",mX,[pX,e.createElementVNode("div",hX,e.toDisplayString(((P=l.comparisonData)==null?void 0:P.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",yX,e.toDisplayString(((me=l.comparisonData)==null?void 0:me.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",EX,[_X,e.createElementVNode("div",NX,e.toDisplayString(((Pe=l.comparisonData)==null?void 0:Pe.actualDgoCons)??"-"),1),e.createElementVNode("div",VX,e.toDisplayString(((ue=l.comparisonData)==null?void 0:ue.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",fX,[gX,e.createElementVNode("div",DX,e.toDisplayString(((Le=l.comparisonData)==null?void 0:Le.diffFoCons)??"-"),1)]),e.createElementVNode("div",xX,[bX,e.createElementVNode("div",CX,e.toDisplayString(((ke=l.comparisonData)==null?void 0:ke.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[0]||(n[0]=We=>l.advisory=We),height:"320px",onBlur:n[1]||(n[1]=We=>a.handleCommit("comments",We))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[2]||(n[2]=(...We)=>a.decideDisable&&a.decideDisable(...We)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,SX))],2)])}const Pn=Ee(fK,[["render",kX],["__scopeId","data-v-c8bf8198"]]),Goe="",AX={props:{data:{type:Object,default:{}},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},components:{Editor:zo},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBFpFvBonCYK2EwwGdyKc94I0S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mbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},watch:{data:{handler(t){t&&this.fetchData()},immediate:!0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t?`${T(t).utc().format(n)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,n){return t&&n?te.roundPrecision(t-n):"-"}},computeSummary(){return function(t,n){if(t===0)return"No difference";let o="";return t>0?n==="time"?o=`Lost ${t}hrs`:o=`Over consumption ${t}mt`:n==="time"?o=`Saving ${Math.abs(t)}hrs`:o=`Under consumption ${Math.abs(t)}mt`,o}}},methods:{fetchData(){var t,n;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(n=this.data)==null?void 0:n.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,n){this.editable=!1;const o={[t]:n};await gl.put(`${this.gateway}/api/als/comparisons/${this.id}`,o,{headers:{Authorization:this.token}}),this.advisory=n}}},ze=t=>(e.pushScopeId("data-v-b2f57055"),t=t(),e.popScopeId(),t),BX={class:"comparison-report"},wX=ze(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),TX={class:"report-header"},OX={class:"header-title",style:{position:"relative !important"}},FX={class:"header-title-content"},PX=ze(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),uX={class:"title-date"},LX={class:"report-summary"},WX={class:"summary-item"},HX=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),MX={class:"flexL gray"},GX={class:"summary-item"},IX=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),RX={class:"flexL gray"},zX={class:"summary-item"},UX=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),YX={class:"flexL gray"},ZX={class:"summary-item"},$X=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),QX={class:"flexL gray"},JX={class:"summary-item"},KX=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),qX={class:"flexL gray"},XX={class:"summary-item"},jX=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),vX={class:"flexL gray",style:{display:"flex"}},ej={class:"flex"},tj={class:"flexM"},oj={class:"summary-item"},lj=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),aj={class:"flexL gray",style:{display:"flex"}},nj={class:"flex"},sj={class:"flexM"},ij=ze(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),cj={class:"report-summary"},dj={class:"summary-item"},rj=ze(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),mj={class:"summary-item"},pj=ze(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),hj={class:"summary-item"},yj=ze(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),Ej=ze(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),_j={class:"report-map"},Nj=["src"],Vj=e.createStaticVNode('<div class="legend" data-v-b2f57055><div class="legend-item" data-v-b2f57055><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-b2f57055></div><div data-v-b2f57055>Actual Route</div></div><div class="legend-item" data-v-b2f57055><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-b2f57055></div><div data-v-b2f57055>Ocean π Recommended Route</div></div></div>',1),fj=ze(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),gj={key:0,class:"subtitle"},Dj={key:1,class:"report-summary"},xj={class:"summary-item"},bj=ze(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),Cj={class:"flexL blue center"},Sj={class:"summary-item"},kj=ze(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),Aj={class:"flexL blue center"},Bj={class:"summary-item"},wj=ze(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),Tj={class:"flexL blue center"},Oj=ze(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),Fj={class:"report-summary"},Pj=ze(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),uj={class:"summary-item"},Lj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),Wj={class:"flex blue-light center"},Hj={class:"flex blue-light center"},Mj={class:"summary-item"},Gj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),Ij={class:"flex blue-light center"},Rj={class:"flex blue-light center"},zj={class:"summary-item"},Uj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),Yj={class:"flex blue-light center"},Zj={class:"flex blue-light center"},$j={class:"summary-item"},Qj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),Jj={class:"flex blue-light center"},Kj={class:"flex blue-light center"},qj={class:"summary-item"},Xj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),jj={class:"flex blue-light center"},vj={class:"flex blue-light center"},ev={class:"summary-item"},tv=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),ov={class:"flex blue-light center"},lv={class:"flex blue-light center"},av={class:"summary-item"},nv=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),sv={class:"flex blue-light center italic"},iv=ze(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),cv={class:"report-summary"},dv=ze(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),rv={class:"summary-item"},mv=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),pv={class:"flex blue-light center"},hv={class:"flex blue-light center"},yv={class:"summary-item"},Ev=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),_v={class:"flex blue-light center"},Nv={class:"flex blue-light center"},Vv={class:"summary-item"},fv=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),gv={class:"flex blue-light center"},Dv={class:"flex blue-light center"},xv={class:"summary-item"},bv=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),Cv={class:"flex blue-light center"},Sv={class:"flex blue-light center"},kv={class:"summary-item"},Av=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),Bv={class:"flex blue-light center italic"},wv={class:"summary-item"},Tv=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),Ov={class:"flex blue-light center italic"},Fv=["innerHTML"];function Pv(t,n,o,c,l,a){var i,_,g,S,h,N,x,r,C,k,F,L,w,O,b,u,I,Z,R,W,f,U,G,H,Q,J,X,q,V,M,$,s,j,d,v,oe,ee,ie,ce,de,re,_e,ae,he,Ne,Ve,fe,ge,De,xe,be,Ce,Se,Oe,Fe,ye,P,me,Pe,ue,Le;const p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",BX,[wX,e.createElementVNode("div",TX,[e.createElementVNode("div",OX,[e.createElementVNode("div",FX,[PX,e.createElementVNode("div",uX,e.toDisplayString(a.computeUTCTime(((i=l.comparisonData)==null?void 0:i.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",LX,[e.createElementVNode("div",WX,[HX,e.createElementVNode("div",MX,e.toDisplayString((g=(_=l.comparisonData)==null?void 0:_.vessel)==null?void 0:g.name),1)]),e.createElementVNode("div",GX,[IX,e.createElementVNode("div",RX,e.toDisplayString((S=l.comparisonData)==null?void 0:S.preparedFor),1)]),e.createElementVNode("div",zX,[UX,e.createElementVNode("div",YX,e.toDisplayString((N=(h=l.comparisonData)==null?void 0:h.vessel)==null?void 0:N.type),1)]),e.createElementVNode("div",ZX,[$X,e.createElementVNode("div",QX,e.toDisplayString((r=(x=l.comparisonData)==null?void 0:x.voyage)==null?void 0:r.loadCondition),1)]),e.createElementVNode("div",JX,[KX,e.createElementVNode("div",qX,e.toDisplayString((k=(C=l.comparisonData)==null?void 0:C.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",XX,[jX,e.createElementVNode("div",vX,[e.createElementVNode("span",ej,e.toDisplayString((L=(F=l.comparisonData)==null?void 0:F.departure)==null?void 0:L.name),1),e.createElementVNode("span",tj,e.toDisplayString(a.computeUTCTime(((O=(w=l.comparisonData)==null?void 0:w.departure)==null?void 0:O.atd)||((u=(b=l.comparisonData)==null?void 0:b.departure)==null?void 0:u.etd))),1)])]),e.createElementVNode("div",oj,[lj,e.createElementVNode("div",aj,[e.createElementVNode("span",nj,e.toDisplayString((Z=(I=l.comparisonData)==null?void 0:I.arrival)==null?void 0:Z.name),1),e.createElementVNode("span",sj,e.toDisplayString(a.computeUTCTime(((W=(R=l.comparisonData)==null?void 0:R.arrival)==null?void 0:W.ata)||((U=(f=l.comparisonData)==null?void 0:f.arrival)==null?void 0:U.eta))),1)])])]),ij,e.createElementVNode("div",cj,[e.createElementVNode("div",dj,[rj,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((G=l.comparisonData)==null?void 0:G.diffTime)} flex blue`)},e.toDisplayString(a.computeSummary((H=l.comparisonData)==null?void 0:H.diffTime,"time")),3)]),e.createElementVNode("div",mj,[pj,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Q=l.comparisonData)==null?void 0:Q.diffFoCons)} flex blue`)},e.toDisplayString(a.computeSummary((J=l.comparisonData)==null?void 0:J.diffFoCons,"oil")),3)]),e.createElementVNode("div",hj,[yj,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=l.comparisonData)==null?void 0:X.diffDgoCons)} flex blue`)},e.toDisplayString(a.computeSummary((q=l.comparisonData)==null?void 0:q.diffDgoCons,"oil")),3)])]),Ej,e.createElementVNode("div",_j,[e.createElementVNode("img",{style:{width:"100%"},src:(V=l.comparisonData)==null?void 0:V.chartUrl,alt:""},null,8,Nj),Vj]),fj,(M=l.comparisonData)!=null&&M.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",gj,"CP Terms")),($=l.comparisonData)!=null&&$.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Dj,[e.createElementVNode("div",xj,[bj,e.createElementVNode("div",Cj,e.toDisplayString(((j=(s=l.comparisonData)==null?void 0:s.cp)==null?void 0:j.speed)??"—"),1)]),e.createElementVNode("div",Sj,[kj,e.createElementVNode("div",Aj,e.toDisplayString(((v=(d=l.comparisonData)==null?void 0:d.cp)==null?void 0:v.fo)??"—"),1)]),e.createElementVNode("div",Bj,[wj,e.createElementVNode("div",Tj,e.toDisplayString(((ee=(oe=l.comparisonData)==null?void 0:oe.cp)==null?void 0:ee.dgo)??"—"),1)])])),Oj,e.createElementVNode("div",Fj,[Pj,e.createElementVNode("div",uj,[Lj,e.createElementVNode("div",Wj,e.toDisplayString(((ie=l.comparisonData)==null?void 0:ie.actualDist)??"—"),1),e.createElementVNode("div",Hj,e.toDisplayString(((ce=l.comparisonData)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",Mj,[Gj,e.createElementVNode("div",Ij,e.toDisplayString(((de=l.comparisonData)==null?void 0:de.actualTime)??"—"),1),e.createElementVNode("div",Rj,e.toDisplayString(((re=l.comparisonData)==null?void 0:re.recmdTime)??"—"),1)]),e.createElementVNode("div",zj,[Uj,e.createElementVNode("div",Yj,e.toDisplayString(((_e=l.comparisonData)==null?void 0:_e.actualAvgSpd)??"—"),1),e.createElementVNode("div",Zj,e.toDisplayString(((ae=l.comparisonData)==null?void 0:ae.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",$j,[Qj,e.createElementVNode("div",Jj,e.toDisplayString(((he=l.comparisonData)==null?void 0:he.actualAvgCF)??"—"),1),e.createElementVNode("div",Kj,e.toDisplayString(((Ne=l.comparisonData)==null?void 0:Ne.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",qj,[Xj,e.createElementVNode("div",jj,e.toDisplayString(((Ve=l.comparisonData)==null?void 0:Ve.actualAvgWF)??"—"),1),e.createElementVNode("div",vj,e.toDisplayString(((fe=l.comparisonData)==null?void 0:fe.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",ev,[tv,e.createElementVNode("div",ov,e.toDisplayString(((ge=l.comparisonData)==null?void 0:ge.actualPfmSpd)??"—"),1),e.createElementVNode("div",lv,e.toDisplayString(((De=l.comparisonData)==null?void 0:De.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",av,[nv,e.createElementVNode("div",sv,e.toDisplayString(a.compareTime((xe=l.comparisonData)==null?void 0:xe.actualTime,(be=l.comparisonData)==null?void 0:be.recmdTime)),1)])]),iv,e.createElementVNode("div",cv,[dv,e.createElementVNode("div",rv,[mv,e.createElementVNode("div",pv,e.toDisplayString(((Ce=l.comparisonData)==null?void 0:Ce.actualAvgFoCons)??"-"),1),e.createElementVNode("div",hv,e.toDisplayString(((Se=l.comparisonData)==null?void 0:Se.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",yv,[Ev,e.createElementVNode("div",_v,e.toDisplayString(((Oe=l.comparisonData)==null?void 0:Oe.actualFoCons)??"-"),1),e.createElementVNode("div",Nv,e.toDisplayString(((Fe=l.comparisonData)==null?void 0:Fe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",Vv,[fv,e.createElementVNode("div",gv,e.toDisplayString(((ye=l.comparisonData)==null?void 0:ye.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",Dv,e.toDisplayString(((P=l.comparisonData)==null?void 0:P.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",xv,[bv,e.createElementVNode("div",Cv,e.toDisplayString(((me=l.comparisonData)==null?void 0:me.actualDgoCons)??"-"),1),e.createElementVNode("div",Sv,e.toDisplayString(((Pe=l.comparisonData)==null?void 0:Pe.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",kv,[Av,e.createElementVNode("div",Bv,e.toDisplayString(((ue=l.comparisonData)==null?void 0:ue.diffFoCons)??"-"),1)]),e.createElementVNode("div",wv,[Tv,e.createElementVNode("div",Ov,e.toDisplayString(((Le=l.comparisonData)==null?void 0:Le.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[0]||(n[0]=ke=>l.advisory=ke),height:"320px",onBlur:n[1]||(n[1]=ke=>a.handleCommit("comments",ke))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[2]||(n[2]=(...ke)=>a.decideDisable&&a.decideDisable(...ke)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,Fv))],2)])}const un=Ee(AX,[["render",Pv],["__scopeId","data-v-b2f57055"]]),uv={install(t){t.component("OpiComparisonReport",Pn),t.component("FliComparisonReport",un)}},Lv={install(t){t.component("IdmBrand",yo),t.component("IdmThird",va)}},Ioe="",Wv={name:"QuotaReport",components:{Brand:yo},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$280",0,0,0,0,0,0,0,0,0,0,0],["$280","$280",0,0,0,0,0,0,0,0,0,0],["$450","$350","$280",0,0,0,0,0,0,0,0,0],["$450","$350","$500","$280",0,0,0,0,0,0,0,0],["$600","$450","$450","$350","$280",0,0,0,0,0,0,0],["$720","$680","$680","CGH $550","$450","$280",0,0,0,0,0,0],["$850","$800","$800","SUE $350","SUE $350","$500","$280",0,0,0,0,0],["SUE $900<br/>CGH $1050","SUE $900<br/>CGH $1050","SUE $900<br/>CGH $1150<br/>CHC $1150<br/>PMP $1250","SUE 450<br/>CGH $1300","SUE $450","$600","$400","$280",0,0,0,0],["$1050","$1050","$950","CGH $850","$700","$500","$600","$650","$280",0,0,0],["$800","$800","DIR $700<br/>CHC $1000","CHC $1100","CHC $1100","PMP $550<br/>CHC $700","PMP $600<br/>CHC $1000","PMP $650<br/>CHC $1000","$450","$280",0,0],["$1050","$1100","PMP $1050<br/>CGH $1150<br/>SUE $1100","SUE $800<br/>CGH $1100","SUE $750<br/>CGH $1000","$500","$600","$600","$500","PMP $450<br/>CHC $1150","$280",0],["$750","$800","$800","SGP $900<br/>PMP $1350<br/>CHC $1350","SGP $900<br/>PMP $1000<br/>CHC $1200","PMP $900<br/>CHC $1150","$850","PMP $900<br/>CHC $1250","PMP $900<br/>CHC $1050","PMP $450<br/>CHC $1150","PMP $540<br/>CHC $1300","$280"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){_l.accessToken=this.mapboxToken,this.map=new _l.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Ln=t=>(e.pushScopeId("data-v-f3647134"),t=t(),e.popScopeId(),t),Hv={class:"quota-report"},Mv=Ln(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Gv={class:"section quota-section"},Iv=Ln(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Rv={class:"label"},zv={class:"label"},Uv=["innerHTML"],Yv=e.createStaticVNode('<div class="legend-block flex-space" data-v-f3647134><div class="legend" data-v-f3647134><label data-v-f3647134>DIR</label><span data-v-f3647134>DIRECT</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>PMP</label><span data-v-f3647134>via PANAMA CHANNEL</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>SUE</label><span data-v-f3647134>via SUEZ CHANNEL</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>CGH</label><span data-v-f3647134>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>CHC</label><span data-v-f3647134>Passing CAPE HORN</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>SCG</label><span data-v-f3647134>Passing SINGAPORE</span></div></div>',1);function Zv(t,n,o,c,l,a){const p=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Hv,[e.createVNode(p,{name:"Quotation Sheet"}),Mv,e.createElementVNode("div",Gv,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Iv,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,(i,_)=>(e.openBlock(),e.createElementBlock("tr",{key:_},[e.createElementVNode("td",Rv,e.toDisplayString(i.rank),1),e.createElementVNode("td",zv,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,g=>(e.openBlock(),e.createElementBlock("td",{key:g,innerHTML:l.quota[_][g-1]||""},null,8,Uv))),128))]))),128))])]),Yv])])}const Wn=Ee(Wv,[["render",Zv],["__scopeId","data-v-f3647134"]]),Roe="",$v={name:"QuotaReport",components:{Brand:yo},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$500",0,0,0,0,0,0,0,0,0,0,0],["$500","$500",0,0,0,0,0,0,0,0,0,0],["$650","$550","$500",0,0,0,0,0,0,0,0,0],["$650","$550","$700","$500",0,0,0,0,0,0,0,0],["$800","$650","$650","$550","$500",0,0,0,0,0,0,0],["$920","$880","$880","CGH $750","$650","$500",0,0,0,0,0,0],["$1050","$1000","$1000","SUE $550","SUE $550","$700","$500",0,0,0,0,0],["SUE $1100<br/>CGH $1250","SUE $1100<br/>CGH $1250","SUE $1100<br/>CGH $1350<br/>CHC $1350<br/>PMP $1450","SUE 650<br/>CGH $1500","SUE $650","$800","$600","$500",0,0,0,0],["$1250","$1250","$1150","CGH $1050","$900","$700","$800","$850","$500",0,0,0],["$1000","$1000","DIR $900<br/>CHC $1200","CHC $1300","CHC $1300","PMP $750<br/>CHC $900","PMP $800<br/>CHC $1200","PMP $850<br/>CHC $1200","$650","$500",0,0],["$1250","$1300","PMP $1250<br/>CGH $1350<br/>SUE $1300","SUE $1000<br/>CGH $1300","SUE $950<br/>CGH $1200","$700","$800","$800","$700","PMP $650<br/>CHC $1350","$500",0],["$950","$1000","$1000","SGP $1100<br/>PMP $1550<br/>CHC $1550","SGP $1100<br/>PMP $1200<br/>CHC $1400","PMP $1100<br/>CHC $1350","$1050","PMP $1100<br/>CHC $1450","PMP $1100<br/>CHC $1250","PMP $650<br/>CHC $1350","PMP $740<br/>CHC $1500","$500"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){_l.accessToken=this.mapboxToken,this.map=new _l.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Hn=t=>(e.pushScopeId("data-v-e3ab3a93"),t=t(),e.popScopeId(),t),Qv={class:"quota-report"},Jv=Hn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Kv={class:"section quota-section"},qv=Hn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Xv={class:"label"},jv={class:"label"},vv=["innerHTML"],eee=e.createStaticVNode('<div class="legend-block flex-space" data-v-e3ab3a93><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>DIR</label><span data-v-e3ab3a93>DIRECT</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>PMP</label><span data-v-e3ab3a93>via PANAMA CHANNEL</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>SUE</label><span data-v-e3ab3a93>via SUEZ CHANNEL</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>CGH</label><span data-v-e3ab3a93>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>CHC</label><span data-v-e3ab3a93>Passing CAPE HORN</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>SCG</label><span data-v-e3ab3a93>Passing SINGAPORE</span></div></div>',1);function tee(t,n,o,c,l,a){const p=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Qv,[e.createVNode(p,{name:"Quotation Sheet"}),Jv,e.createElementVNode("div",Kv,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[qv,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,(i,_)=>(e.openBlock(),e.createElementBlock("tr",{key:_},[e.createElementVNode("td",Xv,e.toDisplayString(i.rank),1),e.createElementVNode("td",jv,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,g=>(e.openBlock(),e.createElementBlock("td",{key:g,innerHTML:l.quota[_][g-1]||""},null,8,vv))),128))]))),128))])]),eee])])}const Mn=Ee($v,[["render",tee],["__scopeId","data-v-e3ab3a93"]]),zoe="",oee={name:"QuotaReport",components:{Brand:yo},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$150",0,0,0,0,0,0,0,0,0,0,0],["$150","$150",0,0,0,0,0,0,0,0,0,0],["$280","$230","$150",0,0,0,0,0,0,0,0,0],["$280","$230","$330","$150",0,0,0,0,0,0,0,0],["$395","$280","$280","$230","$150",0,0,0,0,0,0,0],["$475","$450","$450","CGH $365","$280","$150",0,0,0,0,0,0],["$560","$530","$530","SUE $230","SUE $230","$330","$150",0,0,0,0,0],["SUE $595<br/>CGH $690","SUE $595<br/>CGH $690","SUE $595<br/>CGH $760<br/>CHC $760<br/>PMP $830","SUE 280<br/>CGH $860","SUE $280","$395","$265","$150",0,0,0,0],["$690","$690","$630","CGH $560","$460","$330","$395","$430","$150",0,0,0],["$530","$530","DIR $460<br/>CHC $660","CHC $730","CHC $730","PMP $365<br/>CHC $460","PMP $395<br/>CHC $660","PMP $430<br/>CHC $660","$280","$150",0,0],["$690","$730","PMP $690<br/>CGH $760<br/>SUE $730","SUE $530<br/>CGH $730","SUE $495<br/>CGH $660","$330","$395","$395","$330","PMP $280<br/>CHC $760","$150",0],["$495","$530","$530","SGP $595<br/>PMP $890<br/>CHC $890","SGP $595<br/>PMP $660<br/>CHC $790","PMP $595<br/>CHC $760","$560","PMP $595<br/>CHC $830","PMP $595<br/>CHC $690","PMP $280<br/>CHC $760","PMP $360<br/>CHC $860","$150"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){_l.accessToken=this.mapboxToken,this.map=new _l.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Gn=t=>(e.pushScopeId("data-v-fecdf217"),t=t(),e.popScopeId(),t),lee={class:"quota-report"},aee=Gn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),nee={class:"section quota-section"},see=Gn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),iee={class:"label"},cee={class:"label"},dee=["innerHTML"],ree=e.createStaticVNode('<div class="legend-block flex-space" data-v-fecdf217><div class="legend" data-v-fecdf217><label data-v-fecdf217>DIR</label><span data-v-fecdf217>DIRECT</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>PMP</label><span data-v-fecdf217>via PANAMA CHANNEL</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>SUE</label><span data-v-fecdf217>via SUEZ CHANNEL</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>CGH</label><span data-v-fecdf217>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>CHC</label><span data-v-fecdf217>Passing CAPE HORN</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>SCG</label><span data-v-fecdf217>Passing SINGAPORE</span></div></div>',1);function mee(t,n,o,c,l,a){const p=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",lee,[e.createVNode(p,{name:"Quotation Sheet for TONGLI"}),aee,e.createElementVNode("div",nee,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[see,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,(i,_)=>(e.openBlock(),e.createElementBlock("tr",{key:_},[e.createElementVNode("td",iee,e.toDisplayString(i.rank),1),e.createElementVNode("td",cee,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,g=>(e.openBlock(),e.createElementBlock("td",{key:g,innerHTML:l.quota[_][g-1]||""},null,8,dee))),128))]))),128))])]),ree])])}const In=Ee(oee,[["render",mee],["__scopeId","data-v-fecdf217"]]),pee={install(t){t.component("OrmQuoteReport",Wn),t.component("OrmQuoteReport4SEOA",Mn),t.component("OrmQuoteReport4TongLi",In)}},Uoe="",hee={name:"PrecipitationReport",components:{IdmBrand:yo,IdmLoading:ln},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0},defaultVersion:{type:String,default:"Pretty"}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clv0mafdu006h01qp1cyzga6d",map:void 0,source:"precipitation-source",layer:"precipitation-label-layer",geojson:void 0,echart:void 0,form:void 0,index:0,version:this.defaultVersion,loading:!0}},watch:{report:{handler(){var t,n,o;if((t=this.report)!=null&&t.rows){this.loading=!1;for(const c of(n=this.report)==null?void 0:n.rows)this.computeForm(c);this.form=(o=this.report)==null?void 0:o.rows[this.index],this.$nextTick(()=>{this.initMap()})}},immediate:!0},form:{handler(){this.form&&(this.handleFlyTo(this.form),this.$nextTick(()=>{this.initEchart()}))},immediate:!0},version:{handler(){this.$nextTick(()=>{this.initEchart(),this.initMap()})}}},computed:{computeLat(){return function(t){return te.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return te.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,n=8,o="MMM-DD/HHmm[LT]"){return`${T(t).utcOffset(n).format(o)}`}},computeTZ(){return function(t="0"){return te.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var l,a,p,i,_,g,S;const n=te.LngLatHelper.guessTimeZoneOffset(t.lng,t.lat);t.localTZ=n;const o={};for(let h=0;h<((l=t==null?void 0:t.extend)==null?void 0:l.length);h++){const N=t==null?void 0:t.extend[h];if(h===0)N.precip.pacc=0;else{const x=T(N.utc).utcOffset(n),r=(a=N.precip)==null?void 0:a.acc;if(N.precip.pacc=r,r>0){const C=o[x.format("MMM-DD")],k=Math.floor(x.get("hour")/6);C?(C.pacc=this.roundPrecision(C.pacc+r,1),C[`${k}`]?C[`${k}`]+=r:(C[`${k}`]=r,C.colspan+=1)):(o[x.format("MMM-DD")]={pacc:r,colspan:1},o[x.format("MMM-DD")][`${k}`]=r)}}}t.paccInDays=o;let c=0;for(const h of Object.keys(o))c+=(p=o[h])==null?void 0:p.colspan,o[h].level=((i=o[h])==null?void 0:i.pacc)<10?"Light":((_=o[h])==null?void 0:_.pacc)<24.9?"Moderate":((g=o[h])==null?void 0:g.pacc)<49.9?"Heavy":((S=o[h])==null?void 0:S.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=c,t}}},methods:{initEchart(){var t,n;if(this.version==="Pretty"){this.echart||(this.echart=e.markRaw(Uo.init(this.$refs.echart)));const o=[],c=[],l={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let a=4;(n=(t=this.form)==null?void 0:t.extend)==null||n.forEach(i=>{var g,S,h,N,x,r,C,k,F,L,w,O,b,u;const _=T(i.utc).utcOffset((g=this.form)==null?void 0:g.localTZ).format("MMM-DD/HHmm[LT]");o.push(_),a=((h=(S=i.wave)==null?void 0:S.sig)==null?void 0:h.height)>a?(x=(N=i.wave)==null?void 0:N.sig)==null?void 0:x.height:a,c.push([_,(r=i.wind)==null?void 0:r.kts,(C=i.gusts)==null?void 0:C.kts,(F=(k=i.wave)==null?void 0:k.sig)==null?void 0:F.height,(L=i.wind)==null?void 0:L.direction,(w=i.wind)==null?void 0:w.degree,(O=i.wind)==null?void 0:O.scale,(b=i.current)==null?void 0:b.kts,(u=i.precip)==null?void 0:u.pacc,this.roundPrecision(i.visibility/1852,0),i.temp])});const p={animation:!1,title:{text:"Weather Conditions",subtext:"Precip/Visibility/Sig.Wave/Wind/Gusts",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:25},xAxis:[{data:o}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:a,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:c,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:l.dateTime,y:l.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:c,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:l.dateTime,y:l.waveHeight},data:c,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:l.dateTime,y:l.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:c,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:l.dateTime,y:l.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:c,z:2}]};this.echart.setOption(p)}},async initMap(){this.version==="Pretty"&&!this.map&&(_l.accessToken=this.mapboxToken,this.map=new _l.Map({container:"map",style:this.mapboxStyle,projection:"mercator",preserveDrawingBuffer:!0,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()}))},handleDraw(){var t;this.geojson={type:"FeatureCollection",features:[]};for(const n of(t=this.report)==null?void 0:t.rows){const o={type:"Feature",properties:{name:n.name,rank:n.rank},geometry:{type:"Point",coordinates:[n.lng,n.lat]}};this.geojson.features.push(o)}this.map.getSource(this.source)?this.map.getSource(this.source).setData(this.geojson):(this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","icon-size":.3,"icon-image":"port","text-field":"{rank}. {name}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":.8,"text-color":"#ff0000","text-halo-color":"#fff","text-halo-width":2,"text-halo-blur":1}})),this.handleFlyTo(this.form)},handleFlyTo(t){var n;(n=this.map)==null||n.flyTo({center:[t.lng,t.lat],zoom:8})}}},Wt=t=>(e.pushScopeId("data-v-93671675"),t=t(),e.popScopeId(),t),yee={class:"precipitation-report"},Eee={class:"section area-section"},_ee={class:"area-block"},Nee={class:"area-header flex-space"},Vee={class:"flex-start"},fee=["onClick"],gee={class:"flex-end"},Dee={class:"area-body"},xee=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-93671675>Precipitation Accumulation (mm) in the next 10 days</div><div style="display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:13px;color:var(--idm-black-7);" data-v-93671675><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Light (<10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Moderate (<24.9mm)</div><div style="background:rgb(7,148,255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Heavy (<49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Rainstorm (<99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-93671675>Heavy Rainstorm (>100mm)</div></div>',2),bee={class:"flex-evenly"},Cee={key:0},See=["colspan"],kee=["colspan"],Aee={style:{"font-size":"10px"}},Bee={key:0},wee={key:1},Tee={key:2},Oee={key:3},Fee={key:0},Pee={key:1,style:{"font-size":"14px"}},uee=Wt(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Lee={class:"section echart-section"},Wee={ref:"echart",class:"echart"},Hee={class:"section sample-section"},Mee=Wt(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Gee=["colspan"],Iee=Wt(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Ree=Wt(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),zee=Wt(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Uee=Wt(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Yee=Wt(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Zee=Wt(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),$ee={key:0},Qee={key:1},Jee=Wt(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Kee=Wt(()=>e.createElementVNode("th",null,"Dir",-1)),qee=Wt(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Xee=Wt(()=>e.createElementVNode("th",null,"BF",-1)),jee=Wt(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),vee=Wt(()=>e.createElementVNode("th",null,"Dir",-1)),ete=Wt(()=>e.createElementVNode("th",null,"Ht (m)",-1)),tte=Wt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),ote=Wt(()=>e.createElementVNode("th",null,"Dir",-1)),lte=Wt(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),ate=Wt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),nte=Wt(()=>e.createElementVNode("th",null,"°C",-1)),ste={width:"120px"},ite={key:0},cte={key:1},dte={key:0,class:"degree-box"},rte={key:1},mte={key:0,class:"degree-box"},pte={key:1},hte={key:0,class:"degree-box"},yte={key:1},Ete={class:"section area-section"},_te={class:"area-block"},Nte={class:"area-header flex-end"},Vte={class:"flex-end"},fte={class:"area-body"},gte=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-93671675>Precipitation Accumulation (mm) in the next 10 days</div><div style="display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:13px;color:var(--idm-black-7);" data-v-93671675><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Light (<10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Moderate (<24.9mm)</div><div style="background:rgb(7,148,255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Heavy (<49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Rainstorm (<99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-93671675>Heavy Rainstorm (>100mm)</div></div>',2),Dte=["colspan"],xte=["colspan"],bte={style:{"font-size":"10px"}},Cte={key:0},Ste={key:1},kte={key:2},Ate={key:3},Bte={key:1,style:{"font-size":"14px"}},wte={key:0};function Tte(t,n,o,c,l,a){var _,g,S,h,N,x,r,C,k,F,L,w,O,b,u,I,Z,R,W;const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",yee,[e.createVNode(p,{name:"Precipitation Accumulation"}),e.createVNode(i,{loading:l.loading,onTimeout:n[0]||(n[0]=f=>l.loading=!1)},null,8,["loading"]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",Eee,[e.createElementVNode("div",_ee,[e.createElementVNode("div",Nee,[e.createElementVNode("div",Vee,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((_=o.report)==null?void 0:_.rows,(f,U)=>(e.openBlock(),e.createElementBlock("div",{key:U,class:e.normalizeClass(l.index===U?"header-item active":"header-item"),onClick:G=>{var H;return l.index=U,l.form=(H=o.report)==null?void 0:H.rows[l.index]}},e.toDisplayString(f.rank)+". "+e.toDisplayString(f.name),11,fee))),128))]),e.createElementVNode("div",gee,[e.createElementVNode("div",{class:"header-item",onClick:n[1]||(n[1]=f=>l.version="Brief")},"Brief")])]),e.createElementVNode("div",Dee,[xee,e.createElementVNode("div",bee,[l.form?(e.openBlock(),e.createElementBlock("table",Cee,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:l.form.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString((g=l.form)==null?void 0:g.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString((S=l.form)==null?void 0:S.name)+" ("+e.toDisplayString(a.computeLat((h=l.form)==null?void 0:h.lat).pretty)+" / "+e.toDisplayString(a.computeLng((N=l.form)==null?void 0:N.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(a.computeLTime((r=(x=l.form)==null?void 0:x.extend)==null?void 0:r[0].utc,(C=l.form)==null?void 0:C.localTZ))+" to "+e.toDisplayString(a.computeLTime((F=(k=l.form)==null?void 0:k.extend)==null?void 0:F.at(-1).utc,(L=l.form)==null?void 0:L.localTZ))+", "+e.toDisplayString(a.computeTZ((w=l.form)==null?void 0:w.localTZ))+")",1)],8,See)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((O=l.form)==null?void 0:O.paccInDays),(f,U)=>{var G;return e.openBlock(),e.createElementBlock("th",{key:U,colspan:l.form.paccInDays[f].colspan,class:e.normalizeClass((G=l.form.paccInDays[f])==null?void 0:G.level)},e.toDisplayString(f)+" ("+e.toDisplayString(l.form.paccInDays[f].pacc)+") ",11,kee)}),128))]),e.createElementVNode("tr",Aee,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((b=l.form)==null?void 0:b.paccInDays),(f,U)=>{var G;return e.openBlock(),e.createElementBlock(e.Fragment,{key:U},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((G=l.form)==null?void 0:G.paccInDays[f]),(H,Q)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Q},[H==="0"?(e.openBlock(),e.createElementBlock("th",Bee,"00-06")):e.createCommentVNode("",!0),H==="1"?(e.openBlock(),e.createElementBlock("th",wee,"06-12")):e.createCommentVNode("",!0),H==="2"?(e.openBlock(),e.createElementBlock("th",Tee,"12-18")):e.createCommentVNode("",!0),H==="3"?(e.openBlock(),e.createElementBlock("th",Oee,"18-24")):e.createCommentVNode("",!0)],64))),128))],64)}),128))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(I=Object.keys((u=l.form)==null?void 0:u.paccInDays))!=null&&I.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys((Z=l.form)==null?void 0:Z.paccInDays),(f,U)=>{var G;return e.openBlock(),e.createElementBlock(e.Fragment,{key:U},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((G=l.form)==null?void 0:G.paccInDays[f]),(H,Q)=>{var J;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Q},[["0","1","2","3"].includes(H)?(e.openBlock(),e.createElementBlock("td",Fee,e.toDisplayString(a.roundPrecision((J=l.form)==null?void 0:J.paccInDays[f][H],1)),1)):e.createCommentVNode("",!0)],64)}),128))],64)}),128)):(e.openBlock(),e.createElementBlock("th",Pee,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),uee,e.createElementVNode("div",Lee,[e.createElementVNode("div",Wee,null,512)]),e.createElementVNode("div",Hee,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Mee,e.createElementVNode("th",{colspan:o.showPrate?2:1},"Precip",8,Gee),Iee,Ree,zee,Uee,Yee,Zee]),e.createElementVNode("tr",null,[o.showPrate?(e.openBlock(),e.createElementBlock("th",$ee,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",Qee,"Acc (mm)")):e.createCommentVNode("",!0),Jee,Kee,qee,Xee,jee,vee,ete,tte,ote,lte,ate,nte])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((R=l.form)==null?void 0:R.extend,(f,U)=>{var G,H,Q,J,X,q,V,M,$,s,j,d,v,oe,ee,ie,ce,de,re,_e,ae,he,Ne,Ve,fe,ge,De,xe,be,Ce,Se;return e.openBlock(),e.createElementBlock("tr",{key:U},[e.createElementVNode("td",ste,e.toDisplayString(a.computeLTime(f.utc,(G=l.form)==null?void 0:G.localTZ)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",ite,e.toDisplayString(a.roundPrecision((H=f.precip)==null?void 0:H.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",cte,e.toDisplayString((Q=f.precip)==null?void 0:Q.pacc),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(f.visibility/1852,0)),1),e.createElementVNode("td",null,[(J=f.wind)!=null&&J.kts?(e.openBlock(),e.createElementBlock("span",dte,[e.createTextVNode(e.toDisplayString((X=f.wind)==null?void 0:X.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((q=f.wind)==null?void 0:q.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",rte,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((V=f.wind)==null?void 0:V.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((M=f.wind)==null?void 0:M.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(($=f.gusts)==null?void 0:$.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((j=(s=f.wave)==null?void 0:s.wd)==null?void 0:j.height,1)),1),e.createElementVNode("td",null,[(v=(d=f.wave)==null?void 0:d.swell)!=null&&v.height?(e.openBlock(),e.createElementBlock("span",mte,[e.createTextVNode(e.toDisplayString((ee=(oe=f.wave)==null?void 0:oe.swell)==null?void 0:ee.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((ce=(ie=f.wave)==null?void 0:ie.swell)==null?void 0:ce.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",pte,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((re=(de=f.wave)==null?void 0:de.swell)==null?void 0:re.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ae=(_e=f.wave)==null?void 0:_e.swell)==null?void 0:ae.period,1)),1),e.createElementVNode("td",null,[(Ne=(he=f.wave)==null?void 0:he.sig)!=null&&Ne.height?(e.openBlock(),e.createElementBlock("span",hte,[e.createTextVNode(e.toDisplayString((fe=(Ve=f.wave)==null?void 0:Ve.sig)==null?void 0:fe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((De=(ge=f.wave)==null?void 0:ge.sig)==null?void 0:De.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",yte,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((be=(xe=f.wave)==null?void 0:xe.sig)==null?void 0:be.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Se=(Ce=f.wave)==null?void 0:Ce.sig)==null?void 0:Se.period,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(f.temp,1)),1)])}),128))])])])],512),[[e.vShow,l.version==="Pretty"]]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",Ete,[e.createElementVNode("div",_te,[e.createElementVNode("div",Nte,[e.createElementVNode("div",Vte,[e.createElementVNode("div",{class:"header-item",onClick:n[2]||(n[2]=f=>l.version="Pretty")},"Pretty")])]),e.createElementVNode("div",fte,[gte,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((W=o.report)==null?void 0:W.rows,(f,U)=>{var G,H,Q;return e.openBlock(),e.createElementBlock("div",{key:U,style:{"margin-bottom":"10px"}},[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:f.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString(f==null?void 0:f.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString(f==null?void 0:f.name)+" ("+e.toDisplayString(a.computeLat(f==null?void 0:f.lat).pretty)+" / "+e.toDisplayString(a.computeLng(f==null?void 0:f.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(a.computeLTime((G=f==null?void 0:f.extend)==null?void 0:G[0].utc,f==null?void 0:f.localTZ))+" to "+e.toDisplayString(a.computeLTime((H=f==null?void 0:f.extend)==null?void 0:H.at(-1).utc,f==null?void 0:f.localTZ))+", "+e.toDisplayString(a.computeTZ(f==null?void 0:f.localTZ))+")",1)],8,Dte)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays),(J,X)=>{var q;return e.openBlock(),e.createElementBlock("th",{key:X,colspan:f.paccInDays[J].colspan,class:e.normalizeClass((q=f.paccInDays[J])==null?void 0:q.level)},e.toDisplayString(J)+" ("+e.toDisplayString(f.paccInDays[J].pacc)+") ",11,xte)}),128))]),e.createElementVNode("tr",bte,[(Q=Object.keys(f==null?void 0:f.paccInDays))!=null&&Q.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys(f==null?void 0:f.paccInDays),(J,X)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:X},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays[J]),(q,V)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:V},[q==="0"?(e.openBlock(),e.createElementBlock("th",Cte,"00-06")):e.createCommentVNode("",!0),q==="1"?(e.openBlock(),e.createElementBlock("th",Ste,"06-12")):e.createCommentVNode("",!0),q==="2"?(e.openBlock(),e.createElementBlock("th",kte,"12-18")):e.createCommentVNode("",!0),q==="3"?(e.openBlock(),e.createElementBlock("th",Ate,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",Bte,"No Precipitation in the next 10 days"))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays),(J,X)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:X},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays[J]),(q,V)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:V},[["0","1","2","3"].includes(q)?(e.openBlock(),e.createElementBlock("td",wte,e.toDisplayString(a.roundPrecision(f==null?void 0:f.paccInDays[J][q],1)),1)):e.createCommentVNode("",!0)],64))),128))],64))),128))])])])])}),128))])])])],512),[[e.vShow,l.version==="Brief"]])])}const Rn=Ee(hee,[["render",Tte],["__scopeId","data-v-93671675"]]),Ote={install(t){t.component("PrecipitationReport",Rn)}},Fte={install(t){t.component("IdmLoading",ln)}};le.BrandPlugin=Lv,le.ComparisonPlugin=uv,le.DeviationPlugin=AJ,le.DeviationReport=Tn,le.FliComparisonReport=un,le.FliDeviationReport=On,le.FliInvoiceReport=Bn,le.FliPlanReport=Vn,le.FliVoyageReport=xn,le.HurricanePlugin=Su,le.HurricaneReport=Sn,le.IdmBrand=yo,le.IdmEditor=zo,le.IdmEditorPlugin=Zy,le.IdmLat=tn,le.IdmLatPlugin=$y,le.IdmLng=en,le.IdmLngPlugin=Qy,le.IdmLoading=ln,le.IdmThird=va,le.InvoicePlugin=vW,le.InvoiceReport=kn,le.LoadingPlugin=Fte,le.ORMPointReport=yn,le.OpiComparisonReport=Pn,le.OpiPlanReport=dn,le.OpiVoyageReport=Dn,le.OrmInvoiceReport=An,le.OrmPlanReport=fn,le.OrmQuoteReport=Wn,le.OrmQuoteReport4SEOA=Mn,le.OrmQuoteReport4TongLi=In,le.OrmVoyageReport=bn,le.PiLogo=gn,le.PiLogoPlugin=eE,le.PointReport=En,le.PointReportPlugin=Hd,le.PrecipitationReport=Rn,le.PrecipitationReportPlugin=Ote,le.QuoteReportPlugin=pee,le.RouteReport=dn,le.RouteReportPlugin=Yy,le.StoppageReport=Fn,le.StoppageReportPlugin=VK,le.VoyageReportPlugin=su,Object.defineProperty(le,Symbol.toStringTag,{value:"Module"})});
|