@idmwx/idmui-report 3.5.9 → 3.6.1
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/README.md +18 -18
- package/dist/Deviation/src/orm.vue.d.ts +1 -2
- package/dist/index.js +4291 -4353
- package/dist/index.umd.cjs +6 -6
- package/dist/pi.svg +48 -48
- package/dist/style.css +1 -1
- package/package.json +70 -70
package/dist/index.umd.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(Y,ae){typeof exports=="object"&&typeof module<"u"?ae(exports,require("@idm-plugin/geo"),require("moment"),require("vue"),require("echarts"),require("@wangeditor/editor-for-vue"),require("@idmui/tropical"),require("@element-plus/icons-vue"),require("element-plus"),require("axios"),require("mapbox-gl")):typeof define=="function"&&define.amd?define(["exports","@idm-plugin/geo","moment","vue","echarts","@wangeditor/editor-for-vue","@idmui/tropical","@element-plus/icons-vue","element-plus","axios","mapbox-gl"],ae):(Y=typeof globalThis<"u"?globalThis:Y||self,ae(Y["idmui-report"]={},Y["@idm-plugin/geo"],Y.moment,Y.Vue,Y.echarts,Y["@wangeditor/editor-for-vue"],Y["@idmui/tropical"],Y["@element-plus/icons-vue"],Y["element-plus"],Y.axios,Y["mapbox-gl"]))})(this,function(Y,ae,K,e,$c,pn,Hc,Ja,hn,Qa,hl){"use strict";function Mc(t){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const l in t)if(l!=="default"){const r=Object.getOwnPropertyDescriptor(t,l);Object.defineProperty(s,l,r.get?r:{enumerable:!0,get:()=>t[l]})}}return s.default=t,Object.freeze(s)}const Ka=Mc($c),$U="",Ce=(t,s)=>{const l=t.__vccOpts||t;for(const[r,a]of s)l[r]=a;return l},Ic={name:"IdmBrand",props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${(t?K(t):K()).utc().format(s)}`}}}},_n=t=>(e.pushScopeId("data-v-b7008706"),t=t(),e.popScopeId(),t),Gc={class:"section brand-section flex-space"},Rc=e.createStaticVNode('<div class="logo-box flex-center" data-v-b7008706><div class="logo" data-v-b7008706><a href="https://fmp.idmwx.com" target="_blank" data-v-b7008706><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-b7008706></a><a href="https://fmp.idmwx.com" target="_blank" style="text-decoration:none;" data-v-b7008706><div class="brand" data-v-b7008706><span style="text-decoration:underline;" data-v-b7008706>Weather Routing</span><div class="company" data-v-b7008706>Ocean Right Marine Service</div></div></a></div></div>',1),zc={class:"report-box flex-space"},Uc={class:"name flex-start"},Yc={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},Zc={class:"flex-start",style:{width:"100%"}},Qc={class:"label-block flex-evenly",style:{flex:"1"}},Jc=_n(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),Kc={class:"flex-end",style:{flex:"2"}},jc=_n(()=>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 uc(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("div",Gc,[Rc,e.createElementVNode("div",zc,[e.createElementVNode("div",Uc,e.toDisplayString(l.name),1),e.createElementVNode("div",Yc,[e.createElementVNode("div",Zc,[e.createElementVNode("div",Qc,[Jc,e.createElementVNode("span",Kc,e.toDisplayString(n.computeUTCTime(l.issued,"MMM-DD, YYYY")),1)])]),jc])])])}const Io=Ce(Ic,[["render",uc],["__scopeId","data-v-b7008706"]]),Xc={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}}},qc={key:0,class:"loading"},vc=e.createElementVNode("i",{class:"iconfont"},"",-1);function ei(t,s,l,r,a,n){return l.loading?(e.openBlock(),e.createElementBlock("div",qc,[vc,e.createElementVNode("div",null,e.toDisplayString(l.text),1)])):e.createCommentVNode("",!0)}const ja=Ce(Xc,[["render",ei]]),HU="",ti={name:"ORMPointReport",components:{IdmLoading:ja,IdmBrand:Io},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0}},data(){return{echart:void 0,localTZ:"0",loading:!0}},computed:{computeLat(){return function(t){return ae.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ae.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,s=8,l="MMM-DD/HHmm[LT]"){return`${K(t).utcOffset(s).format(l)}`}},computeTZ(){return function(t="0"){return ae.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const l=Number("1".padEnd(s+1,"0"));return Math.round(t*l)/l}else return"-"}},computeDegree(){return function(t,s){t=t%360;for(let l=0;l<17;l++)if(l*22.5+t+11.25>=360){let r=(16-l)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var r,a,n,E,c,p,x,b,h,y;const s={};for(let k=0;k<((a=(r=t==null?void 0:t.extend)==null?void 0:r.data)==null?void 0:a.length);k++){const g=(n=t==null?void 0:t.extend)==null?void 0:n.data[k];if(k===0)g.precip.pacc=0;else{const C=(E=t==null?void 0:t.extend)==null?void 0:E.data[k-1],D=K(g.utc).utcOffset(this.localTZ),T=K(C.utc).utcOffset(this.localTZ),F=(c=C==null?void 0:C.precip)==null?void 0:c.prate,B=D.diff(T,"h"),w=this.roundPrecision(F*B,1);if(g.precip.pacc=w,w>0){const f=s[D.format("MMM-DD")],O=Math.floor(D.get("hour")/6);f?(f.pacc=this.roundPrecision(f.pacc+w,1),f[`${O}`]?f[`${O}`]+=w:(f[`${O}`]=w,f.colspan+=1)):(s[D.format("MMM-DD")]={pacc:w,colspan:1},s[D.format("MMM-DD")][`${O}`]=w)}}}t.paccInDays=s;let l=0;for(const k of Object.keys(s))l+=(p=s[k])==null?void 0:p.colspan,s[k].level=((x=s[k])==null?void 0:x.pacc)<10?"Light":((b=s[k])==null?void 0:b.pacc)<24.9?"Moderate":((h=s[k])==null?void 0:h.pacc)<49.9?"Heavy":((y=s[k])==null?void 0:y.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=l,t}}},watch:{report:{handler(){var t,s,l,r;(s=(t=this.report)==null?void 0:t.extend)!=null&&s.data&&(this.loading=!1,this.localTZ=ae.LngLatHelper.guessTimeZoneOffset((l=this.report)==null?void 0:l.lng,(r=this.report)==null?void 0:r.lat),this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},methods:{initEchart(){var n,E,c;this.echart||(this.echart=e.markRaw(Ka.init(this.$refs.echart)));const t=[],s=[],l={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let r=4;(c=(E=(n=this.report)==null?void 0:n.extend)==null?void 0:E.data)==null||c.forEach(p=>{var b,h,y,k,g,C,D,T,F,B,w,f,O;const x=K(p.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");t.push(x),r=((h=(b=p.wave)==null?void 0:b.sig)==null?void 0:h.height)>r?(k=(y=p.wave)==null?void 0:y.sig)==null?void 0:k.height:r,s.push([x,(g=p.wind)==null?void 0:g.kts,(C=p.gusts)==null?void 0:C.kts,(T=(D=p.wave)==null?void 0:D.sig)==null?void 0:T.height,(F=p.wind)==null?void 0:F.direction,(B=p.wind)==null?void 0:B.degree,(w=p.wind)==null?void 0:w.scale,(f=p.current)==null?void 0:f.kts,(O=p.precip)==null?void 0:O.acc,this.roundPrecision(p.visibility/1852,0),p.temp])});const a={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:r,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:l.dateTime,y:l.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,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:s,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:s,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:s,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:s,z:2}]};this.echart.setOption(a)}}},ze=t=>(e.pushScopeId("data-v-84da66b8"),t=t(),e.popScopeId(),t),oi={class:"point-report"},li={class:"section info-section"},ai={class:"flex-evenly"},ni={class:"flex-space label-block",style:{width:"100%"}},si=ze(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),ci={class:"flex-space label-block",style:{width:"100%"}},ii=ze(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),di={class:"flex-evenly"},ri={class:"flex-space label-block",style:{width:"100%"}},mi=ze(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),pi={class:"flex-space label-block",style:{width:"100%"}},hi={class:"flex-end",style:{width:"180px"}},_i={class:"section echart-section"},Ei={ref:"echart",class:"echart"},yi={class:"section sample-section"},Ni=ze(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Vi=ze(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),fi=ze(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),xi=ze(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),bi=ze(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),gi=ze(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),Di=["colspan"],ki=ze(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Ci=ze(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Si=ze(()=>e.createElementVNode("th",null,"Dir",-1)),Bi=ze(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),wi=ze(()=>e.createElementVNode("th",null,"BF",-1)),Ai=ze(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Ti=ze(()=>e.createElementVNode("th",null,"Dir",-1)),Fi=ze(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Oi=ze(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Pi=ze(()=>e.createElementVNode("th",null,"Dir",-1)),Li=ze(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Wi=ze(()=>e.createElementVNode("th",null,"Prd (s)",-1)),$i=ze(()=>e.createElementVNode("th",null,"Dir",-1)),Hi=ze(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Mi={key:0},Ii={key:1},Gi=ze(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Ri=ze(()=>e.createElementVNode("th",null,"°C",-1)),zi={width:"120px"},Ui={key:0,class:"degree-box"},Yi={key:1},Zi={key:0,class:"degree-box"},Qi={key:1},Ji={key:0,class:"degree-box"},Ki={key:1},ji={key:0,class:"degree-box"},ui={key:1},Xi={key:0},qi={key:1};function vi(t,s,l,r,a,n){var p,x,b,h;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",oi,[e.createVNode(E,{name:"Point Weather Forecast"}),e.createVNode(c,{loading:a.loading},null,8,["loading"]),e.createElementVNode("div",li,[e.createElementVNode("div",ai,[e.createElementVNode("div",ni,[si,e.createElementVNode("span",null,e.toDisplayString(n.computeLat((p=l.report)==null?void 0:p.lat).pretty)+" / "+e.toDisplayString(n.computeLng((x=l.report)==null?void 0:x.lng).pretty),1)]),e.createElementVNode("div",ci,[ii,e.createElementVNode("span",null,e.toDisplayString(n.computeLTime(l.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",di,[e.createElementVNode("div",ri,[mi,e.createElementVNode("span",null,e.toDisplayString(n.computeTZ(a.localTZ)),1)]),e.createElementVNode("div",pi,[e.createElementVNode("label",hi,"("+e.toDisplayString(n.computeTZ(a.localTZ))+")",1),e.createElementVNode("span",null,e.toDisplayString(n.computeLTime(l.report.updatedAt,a.localTZ,"YYYY, MMM-DD/HHmm[LT]")),1)])])]),e.createElementVNode("div",_i,[e.createElementVNode("div",Ei,null,512)]),e.createElementVNode("div",yi,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Ni,Vi,fi,xi,bi,gi,e.createElementVNode("th",{colspan:l.showPrate&&l.showAcc?2:1},"Precip",8,Di),ki,Ci]),e.createElementVNode("tr",null,[Si,Bi,wi,Ai,Ti,Fi,Oi,Pi,Li,Wi,$i,Hi,l.showPrate?(e.openBlock(),e.createElementBlock("th",Mi,"Rate (mm/h)")):e.createCommentVNode("",!0),l.showAcc?(e.openBlock(),e.createElementBlock("th",Ii,"Acc (mm)")):e.createCommentVNode("",!0),Gi,Ri])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=(b=l.report)==null?void 0:b.extend)==null?void 0:h.data,(y,k)=>{var g,C,D,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,o,u,v,ee,te,oe,le,ce,ie,de;return e.openBlock(),e.createElementBlock("tr",{key:k},[e.createElementVNode("td",zi,e.toDisplayString(n.computeLTime(y.utc,a.localTZ)),1),e.createElementVNode("td",null,[(g=y.wind)!=null&&g.kts?(e.openBlock(),e.createElementBlock("span",Ui,[e.createTextVNode(e.toDisplayString((C=y.wind)==null?void 0:C.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((D=y.wind)==null?void 0:D.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Yi,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((T=y.wind)==null?void 0:T.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((F=y.wind)==null?void 0:F.scale),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((B=y.gusts)==null?void 0:B.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((f=(w=y.wave)==null?void 0:w.wd)==null?void 0:f.height,1)),1),e.createElementVNode("td",null,[(I=(O=y.wave)==null?void 0:O.swell)!=null&&I.height?(e.openBlock(),e.createElementBlock("span",Zi,[e.createTextVNode(e.toDisplayString((R=(G=y.wave)==null?void 0:G.swell)==null?void 0:R.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((_=(z=y.wave)==null?void 0:z.swell)==null?void 0:_.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Qi,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((H=(L=y.wave)==null?void 0:L.swell)==null?void 0:H.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((P=(W=y.wave)==null?void 0:W.swell)==null?void 0:P.period,1)),1),e.createElementVNode("td",null,[(Q=(M=y.wave)==null?void 0:M.sig)!=null&&Q.height?(e.openBlock(),e.createElementBlock("span",Ji,[e.createTextVNode(e.toDisplayString((J=(U=y.wave)==null?void 0:U.sig)==null?void 0:J.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((se=(ne=y.wave)==null?void 0:ne.sig)==null?void 0:se.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ki,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((u=(o=y.wave)==null?void 0:o.sig)==null?void 0:u.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ee=(v=y.wave)==null?void 0:v.sig)==null?void 0:ee.period,1)),1),e.createElementVNode("td",null,[(te=y.current)!=null&&te.kts?(e.openBlock(),e.createElementBlock("span",ji,[e.createTextVNode(e.toDisplayString((oe=y.current)==null?void 0:oe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((le=y.current)==null?void 0:le.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",ui,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ce=y.current)==null?void 0:ce.kts,1)),1),l.showPrate?(e.openBlock(),e.createElementBlock("td",Xi,e.toDisplayString(n.roundPrecision((ie=y.precip)==null?void 0:ie.prate,2)),1)):e.createCommentVNode("",!0),l.showAcc?(e.openBlock(),e.createElementBlock("td",qi,e.toDisplayString(n.roundPrecision((de=y.precip)==null?void 0:de.acc,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(y.visibility/1852,0)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(y.temp,1)),1)])}),128))])])])])}const En=Ce(ti,[["render",vi],["__scopeId","data-v-84da66b8"]]),ed={install(t){t.component("ORMPointReport",En)}},MU="",td={name:"IdmLng",props:{lng:{type:Number,default:void 0},label:{type:String,default:"Lng"}},data(){return{pretty:void 0}},watch:{lng:{handler(){if(this.lng!==void 0){const t=ae.LngLatHelper.convertToStdLng(this.lng);this.pretty=ae.LngLatHelper.lng2pretty(t).pretty}},immediate:!0}}},od={class:"lng-box"},ld={key:0};function ad(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("div",od,[l.label?(e.openBlock(),e.createElementBlock("span",ld,e.toDisplayString(l.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(a.pretty),1)])}const ua=Ce(td,[["render",ad],["__scopeId","data-v-0d3c152f"]]),IU="",nd={name:"IdmLat",props:{lat:{type:Number,default:void 0},label:{type:String,default:"Lat"}},data(){return{pretty:void 0}},watch:{lat:{handler(){this.lat!==void 0&&(this.pretty=ae.LngLatHelper.lat2pretty(this.lat).pretty)},immediate:!0}}},sd={class:"lat-box"},cd={key:0};function id(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("div",sd,[l.label?(e.openBlock(),e.createElementBlock("span",cd,e.toDisplayString(l.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(a.pretty),1)])}const Xa=Ce(nd,[["render",id],["__scopeId","data-v-3d953d12"]]),GU="",dd={name:"IdmEditor",components:{Editor:pn.Editor,Toolbar:pn.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 s,l;t?(s=this.editor)==null||s.disable():(l=this.editor)==null||l.enable()}},modelValue:{handler(){var t;this.valueHtml=this.modelValue,(t=this.editor)==null||t.setHtml(this.valueHtml)}}},methods:{handleCreated(t){var s;this.editorRef=e.shallowRef(),this.editor=Object.seal(t),this.valueHtml=this.modelValue,(s=this.editor)==null||s.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()}}},rd={class:"editor-box"};function md(t,s,l,r,a,n){const E=e.resolveComponent("Toolbar"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",rd,[e.withDirectives(e.createVNode(E,{editor:a.editor,"default-config":a.toolbarConfig,mode:a.mode,class:"toolbar"},null,8,["editor","default-config","mode"]),[[e.vShow,!l.disabled]]),e.createVNode(c,{modelValue:a.valueHtml,"onUpdate:modelValue":s[0]||(s[0]=p=>a.valueHtml=p),"default-config":a.editorConfig,mode:a.mode,class:"editor",style:e.normalizeStyle({height:l.height}),onOnCreated:n.handleCreated,onOnChange:n.handleChange,onOnBlur:n.handleBlur},null,8,["modelValue","default-config","mode","style","onOnCreated","onOnChange","onOnBlur"])])}const Go=Ce(dd,[["render",md],["__scopeId","data-v-e3eb0d7a"]]),RU="",pd={name:"OrmRouteReport",components:{Lng:ua,Lat:Xa,Editor:Go,Brand:Io,Loading:ja},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,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}},computeLTime(){return function(t,s,l){let r=0;return l&&s&&(r=ae.LngLatHelper.guessTimeZoneOffset(s,l)),`${K(t).utcOffset(r).format("MMM-DD/HHmm")}LT`}},computeTimeDiff(){return function(t,s){var l,r,a,n,E;if(s===0)return"-";{const c=K((a=(r=(l=t==null?void 0:t.speeds)==null?void 0:l[s])==null?void 0:r.speed)==null?void 0:a.eta).diff(K((E=(n=t==null?void 0:t.speeds)==null?void 0:n[0])==null?void 0:E.speed.eta),"h",!0);return Math.round(c*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const l=Number("1".padEnd(s+1,"0"));return Math.round(t*l)/l}else return"-"}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t,s){const l=[];if(s.length)return s.forEach(r=>{l.push(r),r.suspend&&(t!=null&&t.useRouteParam)&&l.push({etd:r.etd,eta:r.etd,isResume:!0,memo:`Stoppage: ${r.suspend}hrs`})}),l}},computeDegree(){return function(t,s){t=t%360;for(let l=0;l<17;l++)if(l*22.5+t+11.25>=360){let r=(16-l)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);margin-left:3px;`}}},computeDay(){return function(t,s=0){var n,E,c,p;const l=(p=(c=(E=(n=t==null?void 0:t.speeds)==null?void 0:n[s])==null?void 0:E.speed)==null?void 0:c.sample)==null?void 0:p.hours,r=l[0],a=l[l.length-1];return Math.round(K(a.eta).diff(K(r.eta),"day",!0)*10)/10}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.loading=!1,this.advisory=((s=this.plan)==null?void 0:s.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(Ka.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var p,x,b,h,y,k,g;const t=[],s=[],l={dateTime:0,windSpeed:1,waveHeight:2,windDirection:3,windDegree:4,windScale:5,currentFactor:6,weatherFactor:7,speed:8},r={};["W","WSW","SW","SSW","S","SSE","SE","ESE","E","ENE","NE","NNE","N","NNW","NW","WNW"].forEach((C,D)=>{r[C]=Math.PI/8*D});const n=18;let E=4;(k=(y=(h=(b=(x=(p=this.plan)==null?void 0:p.speeds)==null?void 0:x[this.speedIndex])==null?void 0:b.speed)==null?void 0:h.sample)==null?void 0:y.hours)==null||k.forEach(C=>{var T,F,B,w,f,O,I,G,R,z;const D=C.meteo;if(D){const _=K(D.utc).utc().format("MMM-DD/HHmm[Z]");t.push(_),E=Math.ceil(((F=(T=D.wave)==null?void 0:T.sig)==null?void 0:F.height)>E?(w=(B=D.wave)==null?void 0:B.sig)==null?void 0:w.height:E),s.push([_,(f=D.wind)==null?void 0:f.kts,(I=(O=D.wave)==null?void 0:O.sig)==null?void 0:I.height,(G=D.wind)==null?void 0:G.direction,(R=D.wind)==null?void 0:R.degree,(z=D.wind)==null?void 0:z.scale,C.cFactor,C.wFactor,C.speed])}});const c={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:E,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:l.dateTime,y:l.waveHeight},data:s,z:1},{name:"Wind Speed",type:"line",showSymbol:!0,yAxisIndex:0,encode:{x:l.dateTime,y:l.windSpeed},lineStyle:{color:"#000000B3",type:"dashed"},itemStyle:{color:"#000000B3"},data:s,z:2},{type:"custom",yAxisIndex:0,renderItem:(C,D)=>{const T=D.coord([D.value(l.dateTime),D.value(l.windSpeed)]);return{type:"path",shape:{pathData:"M31 16l-15-15v9h-26v12h26v9z",x:-n/2,y:-n/2,width:n,height:n},rotation:r[D.value(l.windDirection)],position:T,style:D.style({stroke:"#555",lineWidth:1})}},encode:{x:l.dateTime,y:l.windSpeed},data:s,z:10},{name:"Current Factor",type:"line",yAxisIndex:2,showSymbol:!0,encode:{x:l.dateTime,y:l.currentFactor},lineStyle:{color:"#da2e2ecc",type:"dotted"},itemStyle:{color:"#da2e2ecc"},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:3,showSymbol:!0,encode:{x:l.dateTime,y:l.speed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:s,z:4}]};(g=this.echart)==null||g.setOption(c)}}},Ye=t=>(e.pushScopeId("data-v-2625c0b6"),t=t(),e.popScopeId(),t),hd={class:"voyage-plan"},_d={class:"plan-report"},Ed={class:"section voyage-section flex-space"},yd={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Nd={class:"flex-start label-block",style:{width:"100%"}},Vd=Ye(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),fd={style:{"text-transform":"uppercase"},class:"text-ellipsis"},xd={class:"flex-start label-block",style:{width:"100%"}},bd=Ye(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),gd={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},Dd={class:"flex-start label-block",style:{width:"100%"}},kd=Ye(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),Cd={class:"flex-end"},Sd={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Bd={class:"flex-start label-block",style:{width:"100%"}},wd=Ye(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),Ad={key:0,class:"flex-end",style:{flex:"1"}},Td={key:1,class:"flex-end",style:{flex:"1"}},Fd=Ye(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Od={class:"flex-end",style:{width:"120px"}},Pd={class:"flex-space label-block",style:{width:"100%"}},Ld=Ye(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),Wd={key:0,class:"flex-end",style:{flex:"1"}},$d={key:1,class:"flex-end",style:{flex:"1"}},Hd=Ye(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Md={class:"flex-end",style:{width:"120px"}},Id={class:"flex-space label-block",style:{width:"100%"}},Gd=Ye(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),Rd={class:"flex-end",style:{"text-transform":"uppercase"}},zd={class:"section chart-section"},Ud=Ye(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),Yd={class:"flex-center"},Zd=["src"],Qd={class:"legends"},Jd=e.createStaticVNode('<div class="legend" data-v-2625c0b6><label style="background-color:var(--idm-dangerous);" data-v-2625c0b6></label><span data-v-2625c0b6>Dangerous</span></div><div class="legend" data-v-2625c0b6><label style="background-color:var(--idm-severe);" data-v-2625c0b6></label><span data-v-2625c0b6>Severe</span></div><div class="legend" data-v-2625c0b6><label style="background-color:var(--idm-heavy);" data-v-2625c0b6></label><span data-v-2625c0b6>Heavy</span></div>',3),Kd={class:"legend"},jd=Ye(()=>e.createElementVNode("b",{class:"route1"},null,-1)),ud={key:0,class:"legend"},Xd=Ye(()=>e.createElementVNode("b",{class:"route2"},null,-1)),qd={key:1,class:"legend"},vd=Ye(()=>e.createElementVNode("b",{class:"route3"},null,-1)),er={key:1,class:"empty"},tr={class:"section comparison-section"},or={key:0},lr=Ye(()=>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)),ar=Ye(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),nr=Ye(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),sr=Ye(()=>e.createElementVNode("th",null,"*FO",-1)),cr=Ye(()=>e.createElementVNode("th",null,"*DO",-1)),ir={colspan:"3"},dr={rowspan:"2"},rr={rowspan:"2"},mr={rowspan:"2"},pr={rowspan:"2"},hr={rowspan:"2"},_r={rowspan:"2"},Er={rowspan:"2"},yr={rowspan:"2"},Nr={rowspan:"2"},Vr=Ye(()=>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)),fr={class:"section waypoint-section"},xr={class:"header-block flex-start"},br=Ye(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),gr={class:"title"},Dr={key:0,class:"flex-end",style:{flex:"1"}},kr=["onClick"],Cr={class:"advisory"},Sr=["innerHTML"],Br={class:"major-waypoint"},wr=e.createStaticVNode('<div class="major-header" data-v-2625c0b6><div class="cell-item flex" style="flex:1.5;" data-v-2625c0b6>Major waypoint</div><div class="cell-item flex" data-v-2625c0b6>Time</div><div class="cell-item flex" data-v-2625c0b6>Nav</div><div class="cell-item flex" data-v-2625c0b6>Dist</div><div class="cell-item flex" data-v-2625c0b6>SOG</div><div class="cell-item flex" data-v-2625c0b6>Memo</div></div>',1),Ar={class:"major-body"},Tr={class:"cell-item flex",style:{flex:"1.5"}},Fr={key:0,class:"flex-center"},Or={key:1,class:"flex-center"},Pr=Ye(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Lr={key:0},Wr={class:"cell-item flex"},$r={key:0,class:"cell-item flex offset"},Hr={key:1,class:"cell-item flex nbsp"},Mr={key:2,class:"cell-item flex offset"},Ir={key:3,class:"cell-item flex nbsp"},Gr={key:4,class:"cell-item flex offset"},Rr={key:5,class:"cell-item flex nbsp"},zr={key:6,class:"cell-item flex offset"},Ur={key:7,class:"cell-item flex nbsp"},Yr={class:"section forecast-section"},Zr={class:"header-block flex-start"},Qr=Ye(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Jr={class:"title"},Kr={key:0,class:"flex-end",style:{flex:"1"}},jr=["onClick"],ur={class:"echart-block"},Xr={ref:"echart",class:"echart"},qr=Ye(()=>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)),vr={class:"flex-center"},em=Ye(()=>e.createElementVNode("span",null,"/",-1)),tm={key:0,class:"degree-box"},om={key:1},lm={key:0,class:"degree-box"},am={key:1},nm={key:0,class:"degree-box"},sm={key:1},cm={key:0,class:"degree-box"},im={key:1},dm=Ye(()=>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 rm(t,s,l,r,a,n){var h,y,k,g,C,D,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,o,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,xe,be,ge,De,ke,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,Ke,je,ue,A,Se,Ge,Xe,qe,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,xt,bt,gt,Dt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo;const E=e.resolveComponent("Brand"),c=e.resolveComponent("Loading"),p=e.resolveComponent("Lat"),x=e.resolveComponent("Lng"),b=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",hd,[e.createElementVNode("div",_d,[e.createVNode(E,{name:"Voyage Planning",issued:(h=l.plan)==null?void 0:h.updatedAt},null,8,["issued"]),e.createVNode(c,{loading:a.loading,onTimeout:s[0]||(s[0]=S=>a.loading=!1)},null,8,["loading"]),e.createElementVNode("div",Ed,[e.createElementVNode("div",yd,[e.createElementVNode("div",Nd,[Vd,e.createElementVNode("span",fd,e.toDisplayString((g=(k=(y=l.plan)==null?void 0:y.voyage)==null?void 0:k.company)==null?void 0:g.name),1)]),e.createElementVNode("div",xd,[bd,e.createElementVNode("span",gd,e.toDisplayString((T=(D=(C=l.plan)==null?void 0:C.voyage)==null?void 0:D.vessel)==null?void 0:T.name)+" ("+e.toDisplayString((f=(w=(B=(F=l.plan)==null?void 0:F.voyage)==null?void 0:B.vessel)==null?void 0:w.vesselType)==null?void 0:f.name)+")",1)]),e.createElementVNode("div",Dd,[kd,e.createElementVNode("span",Cd,e.toDisplayString((I=(O=l.plan)==null?void 0:O.voyage)==null?void 0:I.number),1)])]),e.createElementVNode("div",Sd,[e.createElementVNode("div",Bd,[wd,(z=(R=(G=l.plan)==null?void 0:G.leg)==null?void 0:R.departure)!=null&&z.name?(e.openBlock(),e.createElementBlock("span",Ad,e.toDisplayString((L=(_=l.plan)==null?void 0:_.leg)==null?void 0:L.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Td,[e.createVNode(p,{lat:(P=(W=(H=l.plan)==null?void 0:H.leg)==null?void 0:W.departure)==null?void 0:P.lat,label:""},null,8,["lat"]),Fd,e.createVNode(x,{lng:(U=(Q=(M=l.plan)==null?void 0:M.leg)==null?void 0:Q.departure)==null?void 0:U.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Od,e.toDisplayString(n.computeUTCTime(((se=(ne=(J=l.plan)==null?void 0:J.leg)==null?void 0:ne.departure)==null?void 0:se.atd)||((v=(u=(o=l.plan)==null?void 0:o.leg)==null?void 0:u.departure)==null?void 0:v.etd)||((le=(oe=(te=(ee=l.plan)==null?void 0:ee.speeds)==null?void 0:te[a.speedIndex])==null?void 0:oe.speed)==null?void 0:le.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Pd,[Ld,(de=(ie=(ce=l.plan)==null?void 0:ce.leg)==null?void 0:ie.destination)!=null&&de.name?(e.openBlock(),e.createElementBlock("span",Wd,e.toDisplayString((me=(X=(_e=l.plan)==null?void 0:_e.leg)==null?void 0:X.destination)==null?void 0:me.name),1)):(e.openBlock(),e.createElementBlock("div",$d,[e.createVNode(p,{lat:(re=(ye=(Ee=l.plan)==null?void 0:Ee.leg)==null?void 0:ye.destination)==null?void 0:re.lat,label:""},null,8,["lat"]),Hd,e.createVNode(x,{lng:(be=(xe=(fe=l.plan)==null?void 0:fe.leg)==null?void 0:xe.destination)==null?void 0:be.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Md,e.toDisplayString(n.computeUTCTime(((Te=(ke=(De=(ge=l.plan)==null?void 0:ge.speeds)==null?void 0:De[a.speedIndex])==null?void 0:ke.speed)==null?void 0:Te.ata)||((Le=(Pe=(Oe=(Fe=l.plan)==null?void 0:Fe.speeds)==null?void 0:Oe[a.speedIndex])==null?void 0:Pe.speed)==null?void 0:Le.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Id,[Gd,e.createElementVNode("span",Rd,e.toDisplayString(($e=(We=l.plan)==null?void 0:We.voyage)==null?void 0:$e.loadCondition),1)])])]),e.createElementVNode("div",zd,[Ud,(He=l.plan)!=null&&He.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Yd,[e.createElementVNode("img",{src:l.plan.chartUrl},null,8,Zd)]),e.createElementVNode("div",Qd,[Jd,e.createElementVNode("div",Kd,[jd,e.createElementVNode("span",{class:"btn",onClick:s[1]||(s[1]=S=>{a.speedIndex=0,n.renderEchart()})},e.toDisplayString((A=(ue=(je=(Ke=(Ne=l.plan)==null?void 0:Ne.speeds)==null?void 0:Ke[0])==null?void 0:je.speed)==null?void 0:ue.lane)==null?void 0:A.name),1)]),((Ge=(Se=l.plan)==null?void 0:Se.speeds)==null?void 0:Ge.length)>1?(e.openBlock(),e.createElementBlock("div",ud,[Xd,e.createElementVNode("span",{class:"btn",onClick:s[2]||(s[2]=S=>{a.speedIndex=1,n.renderEchart()})},e.toDisplayString((tt=(et=(ve=(qe=(Xe=l.plan)==null?void 0:Xe.speeds)==null?void 0:qe[1])==null?void 0:ve.speed)==null?void 0:et.lane)==null?void 0:tt.name),1)])):e.createCommentVNode("",!0),(($=(m=l.plan)==null?void 0:m.speeds)==null?void 0:$.length)>2?(e.openBlock(),e.createElementBlock("div",qd,[vd,e.createElementVNode("span",{class:"btn",onClick:s[3]||(s[3]=S=>{a.speedIndex=2,n.renderEchart()})},e.toDisplayString((Ue=(pe=(Re=(Me=(Be=l.plan)==null?void 0:Be.speeds)==null?void 0:Me[2])==null?void 0:Re.speed)==null?void 0:pe.lane)==null?void 0:Ue.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",er,[e.createElementVNode("span",null,[e.createTextVNode("Weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:s[4]||(s[4]=(...S)=>n.handleRefresh&&n.handleRefresh(...S))},"Refresh"),e.createTextVNode(" later please")])]))]),e.createElementVNode("div",tr,[(lt=(ot=l.plan)==null?void 0:ot.speeds)!=null&<.length?(e.openBlock(),e.createElementBlock("table",or,[e.createElementVNode("thead",null,[lr,e.createElementVNode("tr",null,[ar,nr,sr,cr,e.createElementVNode("th",ir,"*days (with in the next "+e.toDisplayString(n.computeDay(l.plan,0))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((dt=l.plan)==null?void 0:dt.speeds,(S,Ie)=>{var at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,ut,Xt,qt,vt,eo,to,oo,lo;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Ie},[e.createElementVNode("tr",null,[e.createElementVNode("td",dr,e.toDisplayString(Ie+1),1),e.createElementVNode("td",rr,e.toDisplayString((nt=(at=S.speed)==null?void 0:at.lane)==null?void 0:nt.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((ht=S.speed)==null?void 0:ht.label)??"CP"} ${((Lt=S.speed)==null?void 0:Lt.v0)??(($t=(Wt=S.speed)==null?void 0:Wt.cpCopy)==null?void 0:$t.speed)}`),1),e.createElementVNode("td",mr,e.toDisplayString(n.roundPrecision((Ht=S.speed)==null?void 0:Ht.distance,0)),1),e.createElementVNode("td",null,[e.createElementVNode("b",null,e.toDisplayString(n.computeLTime((Mt=S.speed)==null?void 0:Mt.eta,(Rt=(Gt=(It=l.plan)==null?void 0:It.leg)==null?void 0:Gt.destination)==null?void 0:Rt.lng,(Yt=(Ut=(zt=l.plan)==null?void 0:zt.leg)==null?void 0:Ut.destination)==null?void 0:Yt.lat)),1),e.createTextVNode(" ["+e.toDisplayString(n.computeUTCTime((Zt=S.speed)==null?void 0:Zt.eta))+"] ",1)]),e.createElementVNode("td",pr,e.toDisplayString(n.computeTimeDiff(l.plan,Ie)),1),e.createElementVNode("td",hr,e.toDisplayString(n.roundPrecision((Qt=S.speed)==null?void 0:Qt.totalFoCons,3)),1),e.createElementVNode("td",_r,e.toDisplayString(n.roundPrecision((Jt=S.speed)==null?void 0:Jt.totalDgoCons,3)),1),e.createElementVNode("td",Er,e.toDisplayString(n.roundPrecision(((Kt=S.speed)==null?void 0:Kt.dangerous)/24,1)),1),e.createElementVNode("td",yr,e.toDisplayString(n.roundPrecision(((jt=S.speed)==null?void 0:jt.severe)/24,1)),1),e.createElementVNode("td",Nr,e.toDisplayString(n.roundPrecision(((ut=S.speed)==null?void 0:ut.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((qt=(Xt=S.speed)==null?void 0:Xt.cpCopy)==null?void 0:qt.fo)+" FO / "+e.toDisplayString((eo=(vt=S.speed)==null?void 0:vt.cpCopy)==null?void 0:eo.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((to=S.speed)==null?void 0:to.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((oo=S.speed)==null?void 0:oo.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((lo=S.speed)==null?void 0:lo.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0),Vr]),e.createElementVNode("div",fr,[e.createElementVNode("div",xr,[br,e.createElementVNode("div",gr,"Advisory & Major Waypoint of Route "+e.toDisplayString((_t=(pt=(mt=(rt=l.plan.speeds)==null?void 0:rt[a.speedIndex])==null?void 0:mt.speed)==null?void 0:pt.lane)==null?void 0:_t.name),1),((yt=(Et=l.plan)==null?void 0:Et.speeds)==null?void 0:yt.length)>1?(e.openBlock(),e.createElementBlock("div",Dr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Nt=l.plan)==null?void 0:Nt.speeds,(S,Ie)=>{var at,nt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:ht=>{a.speedIndex=Ie,n.renderEchart()}},e.toDisplayString((nt=(at=S.speed)==null?void 0:at.lane)==null?void 0:nt.name),9,kr)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Cr,[a.editable?(e.openBlock(),e.createBlock(b,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[5]||(s[5]=S=>a.advisory=S),class:"editor",height:"120px",onBlur:s[6]||(s[6]=S=>n.handleCommit(S))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[7]||(s[7]=(...S)=>n.handleEdit&&n.handleEdit(...S)),innerHTML:a.advisory},null,40,Sr))]),e.createElementVNode("div",Br,[wr,e.createElementVNode("div",Ar,[(ft=(Vt=l.plan)==null?void 0:Vt.speeds)!=null&&ft.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(n.computeMajorPoints((Dt=(gt=(bt=(xt=l.plan)==null?void 0:xt.speeds)==null?void 0:bt[a.speedIndex])==null?void 0:gt.speed)==null?void 0:Dt.argv,(wt=(Bt=(St=(Ct=(kt=l.plan)==null?void 0:kt.speeds)==null?void 0:Ct[a.speedIndex])==null?void 0:St.speed)==null?void 0:Bt.sample)==null?void 0:wt.wps),(S,Ie)=>(e.openBlock(),e.createElementBlock("div",{key:Ie,class:"cell-row"},[e.createElementVNode("div",Tr,[S.isResume?(e.openBlock(),e.createElementBlock("div",Fr,"Resume")):(e.openBlock(),e.createElementBlock("div",Or,[e.createVNode(p,{lat:S.lat,label:""},null,8,["lat"]),Pr,e.createVNode(x,{lng:S.lng,label:""},null,8,["lng"]),S.pilot?(e.openBlock(),e.createElementBlock("span",Lr," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",Wr,e.toDisplayString(n.computeUTCTime(S.eta)),1),Ie?(e.openBlock(),e.createElementBlock("div",$r,e.toDisplayString(n.computeNav(S)),1)):(e.openBlock(),e.createElementBlock("div",Hr)),Ie?(e.openBlock(),e.createElementBlock("div",Mr,e.toDisplayString(n.roundPrecision(S.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Ir)),Ie?(e.openBlock(),e.createElementBlock("div",Gr,e.toDisplayString(n.roundPrecision(S.avgSpd??S.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",Rr)),Ie?(e.openBlock(),e.createElementBlock("div",zr,e.toDisplayString(n.computeMemo(S)),1)):(e.openBlock(),e.createElementBlock("div",Ur))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",Yr,[(Tt=(At=l.plan)==null?void 0:At.speeds)!=null&&Tt.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Zr,[Qr,e.createElementVNode("div",Jr," Weather Forecast for the Next "+e.toDisplayString(n.computeDay(l.plan,a.speedIndex))+" Days of Route "+e.toDisplayString((so=(no=(Pt=(Ot=(Ft=l.plan)==null?void 0:Ft.speeds)==null?void 0:Ot[a.speedIndex])==null?void 0:Pt.speed)==null?void 0:no.lane)==null?void 0:so.name),1),((io=(co=l.plan)==null?void 0:co.speeds)==null?void 0:io.length)>1?(e.openBlock(),e.createElementBlock("div",Kr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ro=l.plan)==null?void 0:ro.speeds,(S,Ie)=>{var at,nt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:ht=>{a.speedIndex=Ie,n.renderEchart()}},e.toDisplayString((nt=(at=S==null?void 0:S.speed)==null?void 0:at.lane)==null?void 0:nt.name),9,jr)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",ur,[e.createElementVNode("div",Xr,null,512)]),e.createElementVNode("table",null,[qr,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Eo=(_o=(ho=(po=(mo=l.plan)==null?void 0:mo.speeds)==null?void 0:po[a.speedIndex])==null?void 0:ho.speed)==null?void 0:_o.sample)==null?void 0:Eo.hours,(S,Ie)=>{var at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,ut,Xt,qt,vt,eo,to,oo,lo,yo,No,Vo,fo,xo,bo,go,Do,ko,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho;return e.openBlock(),e.createElementBlock("tr",{key:Ie,class:e.normalizeClass(S.isDangerous?"dangerous":S.isSevere?"severe":S.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime(S.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",vr,[e.createVNode(p,{lat:S.lat,label:""},null,8,["lat"]),em,e.createVNode(x,{lng:S.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(nt=(at=S.meteo)==null?void 0:at.wind)!=null&&nt.kts?(e.openBlock(),e.createElementBlock("span",tm,[e.createTextVNode(e.toDisplayString((Lt=(ht=S.meteo)==null?void 0:ht.wind)==null?void 0:Lt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree(($t=(Wt=S.meteo)==null?void 0:Wt.wind)==null?void 0:$t.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",om,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Mt=(Ht=S.meteo)==null?void 0:Ht.wind)==null?void 0:Mt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Rt=(Gt=(It=S.meteo)==null?void 0:It.wave)==null?void 0:Gt.wd)==null?void 0:Rt.height,1)),1),e.createElementVNode("td",null,[(Yt=(Ut=(zt=S.meteo)==null?void 0:zt.wave)==null?void 0:Ut.swell)!=null&&Yt.height?(e.openBlock(),e.createElementBlock("span",lm,[e.createTextVNode(e.toDisplayString((Jt=(Qt=(Zt=S.meteo)==null?void 0:Zt.wave)==null?void 0:Qt.swell)==null?void 0:Jt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ut=(jt=(Kt=S.meteo)==null?void 0:Kt.wave)==null?void 0:jt.swell)==null?void 0:ut.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",am,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((vt=(qt=(Xt=S.meteo)==null?void 0:Xt.wave)==null?void 0:qt.swell)==null?void 0:vt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((oo=(to=(eo=S.meteo)==null?void 0:eo.wave)==null?void 0:to.swell)==null?void 0:oo.period,1)),1),e.createElementVNode("td",null,[(No=(yo=(lo=S.meteo)==null?void 0:lo.wave)==null?void 0:yo.sig)!=null&&No.height?(e.openBlock(),e.createElementBlock("span",nm,[e.createTextVNode(e.toDisplayString((xo=(fo=(Vo=S.meteo)==null?void 0:Vo.wave)==null?void 0:fo.sig)==null?void 0:xo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Do=(go=(bo=S.meteo)==null?void 0:bo.wave)==null?void 0:go.sig)==null?void 0:Do.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",sm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((So=(Co=(ko=S.meteo)==null?void 0:ko.wave)==null?void 0:Co.sig)==null?void 0:So.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ao=(wo=(Bo=S.meteo)==null?void 0:Bo.wave)==null?void 0:wo.sig)==null?void 0:Ao.period,1)),1),e.createElementVNode("td",null,[(Fo=(To=S.meteo)==null?void 0:To.current)!=null&&Fo.kts?(e.openBlock(),e.createElementBlock("span",cm,[e.createTextVNode(e.toDisplayString((Po=(Oo=S.meteo)==null?void 0:Oo.current)==null?void 0:Po.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Wo=(Lo=S.meteo)==null?void 0:Lo.current)==null?void 0:Wo.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",im,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ho=($o=S.meteo)==null?void 0:$o.current)==null?void 0:Ho.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(S.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0),dm])])])}const rn=Ce(pd,[["render",rm],["__scopeId","data-v-2625c0b6"]]),zU="",mm={name:"RouteReport",components:{Lng:ua,Lat:Xa,Editor:Go},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}},computeLTime(){return function(t,s){const l=K(t);return l.utcOffset(s),`${l.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,s,l,r,a;return(a=(r=(l=(s=(t=this.plan)==null?void 0:t.leg)==null?void 0:s.destination)==null?void 0:l.port)==null?void 0:r.timezone)==null?void 0:a.UtcCurrentOffset},computeTimeDiff(){return function(t,s){var l,r,a;if(s===0)return"-";{const n=K((r=(l=t==null?void 0:t.speeds[s])==null?void 0:l.speed)==null?void 0:r.eta).diff(K((a=t==null?void 0:t.speeds[0])==null?void 0:a.speed.eta),"h",!0);return Math.round(n*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const l=Number("1".padEnd(s+1,"0"));return Math.round(t*l)/l}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,s){t=t%360;for(let l=0;l<17;l++)if(l*22.5+t+11.25>=360){let r=(16-l)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);margin-left:3px;`}}},computeDay(){return function(t){var a,n,E;const s=(E=(n=(a=t==null?void 0:t.speeds[0])==null?void 0:a.speed)==null?void 0:n.sample)==null?void 0:E.hours,l=s[0],r=s[s.length-1];return K(r.eta).diff(K(l.eta),"day")}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.advisory=((s=this.plan)==null?void 0:s.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}}},Ze=t=>(e.pushScopeId("data-v-9a939466"),t=t(),e.popScopeId(),t),pm={class:"route-report"},hm=Ze(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),_m={class:"section"},Em=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),ym={class:"section-body basics"},Nm={class:"flex-space section-row"},Vm={class:"flex-start"},fm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),xm={class:"flex-start"},bm={class:"flex-start"},gm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),Dm={class:"flex-start flex"},km={key:0,class:"flex"},Cm={key:1,class:"flex-space flex"},Sm=Ze(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Bm={class:"time flex"},wm={class:"flex-space section-row"},Am={class:"flex-start"},Tm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),Fm={class:"flex-start"},Om={class:"flex-start"},Pm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),Lm={class:"flex-start flex"},Wm={key:0,class:"flex"},$m={key:1,class:"flex-space"},Hm=Ze(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Mm={class:"time flex"},Im={class:"flex-space section-row"},Gm={class:"flex-start"},Rm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),zm={class:"flex-start"},Um={class:"flex-start"},Ym=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),Zm={class:"flex-start flex"},Qm={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},Jm=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),Km={class:"section-body detail"},jm={class:"flex-space",style:{"align-items":"stretch"}},um={class:"chart"},Xm=["src"],qm={key:1,class:"empty flex-center"},vm={class:"route flex",style:{"justify-content":"space-between"}},ep=Ze(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),tp={class:"suggestion"},op=["innerHTML"],lp={class:"flex-start legends"},ap=e.createStaticVNode('<div class="legend" data-v-9a939466><label style="background-color:var(--idm-severe);" data-v-9a939466></label><span data-v-9a939466>Dangerous</span></div><div class="legend" data-v-9a939466><label style="background-color:var(--idm-heavy);" data-v-9a939466></label><span data-v-9a939466>Severe</span></div><div class="legend" data-v-9a939466><b class="route1" data-v-9a939466></b><span data-v-9a939466>Route 1</span></div>',3),np={key:0,class:"legend"},sp=[Ze(()=>e.createElementVNode("b",{class:"route2"},null,-1)),Ze(()=>e.createElementVNode("span",null,"Route 2",-1))],cp={key:1,class:"legend"},ip=[Ze(()=>e.createElementVNode("b",{class:"route3"},null,-1)),Ze(()=>e.createElementVNode("span",null,"Route 3",-1))],dp={class:"section"},rp=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),mp={class:"section-body comparison"},pp={class:"container"},hp={key:0},_p=Ze(()=>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)),Ep={class:"section",style:{"page-break-inside":"avoid"}},yp=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),Np={class:"section-body sample"},Vp={class:"major-waypoints"},fp={class:"container"},xp=e.createStaticVNode('<div class="header" data-v-9a939466><div class="cell-item flexM" data-v-9a939466>Major waypoint</div><div class="cell-item flexL" data-v-9a939466>Name</div><div class="cell-item flex" data-v-9a939466>Time</div><div class="cell-item flex" data-v-9a939466>Nav</div><div class="cell-item flex" data-v-9a939466>Dist</div><div class="cell-item flex" data-v-9a939466>SOG</div></div>',1),bp={class:"body"},gp={class:"cell-item flexM"},Dp={class:"flex-center"},kp=Ze(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Cp={class:"cell-item flexL"},Sp={key:0,class:"flex-center"},Bp={key:1},wp={class:"cell-item flex"},Ap={key:0,class:"cell-item flex offset"},Tp={key:1,class:"cell-item flex nbsp"},Fp={key:2,class:"cell-item flex offset"},Op={key:3,class:"cell-item flex nbsp"},Pp={key:4,class:"cell-item flex offset"},Lp={key:5,class:"cell-item flex nbsp"},Wp={class:"section"},$p=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),Hp={class:"section-body sample"},Mp={key:0},Ip=Ze(()=>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)),Gp={class:"flex-center"},Rp=Ze(()=>e.createElementVNode("span",null,"/",-1)),zp={key:0,class:"degree-box"},Up={key:1},Yp={key:0,class:"degree-box"},Zp={key:1},Qp={key:0,class:"degree-box"},Jp={key:1},Kp={key:0,class:"degree-box"},jp={key:1},up=Ze(()=>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 Xp(t,s,l,r,a,n){var x,b,h,y,k,g,C,D,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,o,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,xe,be,ge,De,ke,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,Ke,je,ue;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",pm,[hm,e.createElementVNode("div",_m,[Em,e.createElementVNode("div",ym,[e.createElementVNode("div",Nm,[e.createElementVNode("div",Vm,[fm,e.createElementVNode("div",xm,e.toDisplayString((h=(b=(x=l.plan)==null?void 0:x.voyage)==null?void 0:b.company)==null?void 0:h.name),1)]),e.createElementVNode("div",bm,[gm,e.createElementVNode("div",Dm,[(g=(k=(y=l.plan)==null?void 0:y.leg)==null?void 0:k.departure)!=null&&g.name?(e.openBlock(),e.createElementBlock("div",km,e.toDisplayString((D=(C=l.plan)==null?void 0:C.leg)==null?void 0:D.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Cm,[e.createVNode(E,{lat:(B=(F=(T=l.plan)==null?void 0:T.leg)==null?void 0:F.departure)==null?void 0:B.lat,label:""},null,8,["lat"]),Sm,e.createVNode(c,{lng:(O=(f=(w=l.plan)==null?void 0:w.leg)==null?void 0:f.departure)==null?void 0:O.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Bm,e.toDisplayString(n.computeUTCTime(((R=(G=(I=l.plan)==null?void 0:I.leg)==null?void 0:G.departure)==null?void 0:R.atd)||((L=(_=(z=l.plan)==null?void 0:z.leg)==null?void 0:_.departure)==null?void 0:L.etd),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",wm,[e.createElementVNode("div",Am,[Tm,e.createElementVNode("div",Fm,e.toDisplayString((P=(W=(H=l.plan)==null?void 0:H.voyage)==null?void 0:W.vessel)==null?void 0:P.name),1)]),e.createElementVNode("div",Om,[Pm,e.createElementVNode("div",Lm,[(U=(Q=(M=l.plan)==null?void 0:M.leg)==null?void 0:Q.destination)!=null&&U.name?(e.openBlock(),e.createElementBlock("div",Wm,e.toDisplayString((ne=(J=l.plan)==null?void 0:J.leg)==null?void 0:ne.destination.name),1)):(e.openBlock(),e.createElementBlock("div",$m,[e.createVNode(E,{lat:(u=(o=(se=l.plan)==null?void 0:se.leg)==null?void 0:o.destination)==null?void 0:u.lat,label:""},null,8,["lat"]),Hm,e.createVNode(c,{lng:(te=(ee=(v=l.plan)==null?void 0:v.leg)==null?void 0:ee.destination)==null?void 0:te.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Mm,e.toDisplayString(n.computeUTCTime(((ce=(le=(oe=l.plan)==null?void 0:oe.speeds)==null?void 0:le[0])==null?void 0:ce.speed.ata)||((de=(ie=l.plan)==null?void 0:ie.speeds)==null?void 0:de[0].speed.eta),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",Im,[e.createElementVNode("div",Gm,[Rm,e.createElementVNode("div",zm,e.toDisplayString(n.computeUTCTime((_e=l.plan)==null?void 0:_e.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",Um,[Ym,e.createElementVNode("div",Zm,[e.createElementVNode("div",null,e.toDisplayString((me=(X=l.plan)==null?void 0:X.voyage)==null?void 0:me.loadCondition),1)])])])])]),e.createElementVNode("div",Qm,[Jm,e.createElementVNode("div",Km,[e.createElementVNode("div",jm,[e.createElementVNode("div",um,[(Ee=l.plan)!=null&&Ee.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(ye=l.plan)==null?void 0:ye.chartUrl},null,8,Xm)):(e.openBlock(),e.createElementBlock("div",qm,[e.createTextVNode("waiting for weather map, "),e.createElementVNode("b",{onClick:s[0]||(s[0]=(...A)=>n.handleRefresh&&n.handleRefresh(...A))},"Refresh"),e.createTextVNode("later please")]))]),e.createElementVNode("div",vm,[e.createElementVNode("div",null,[ep,e.createElementVNode("div",tp,[a.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[1]||(s[1]=A=>a.advisory=A),class:"editor",height:"120px",onBlur:s[2]||(s[2]=A=>n.handleCommit(A))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[3]||(s[3]=(...A)=>n.handleEdit&&n.handleEdit(...A)),innerHTML:a.advisory},null,40,op))])]),e.createElementVNode("div",lp,[ap,((fe=(re=l.plan)==null?void 0:re.speeds)==null?void 0:fe.length)>1?(e.openBlock(),e.createElementBlock("div",np,sp)):e.createCommentVNode("",!0),((be=(xe=l.plan)==null?void 0:xe.speeds)==null?void 0:be.length)>2?(e.openBlock(),e.createElementBlock("div",cp,ip)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",dp,[rp,e.createElementVNode("div",mp,[e.createElementVNode("div",pp,[(De=(ge=l.plan)==null?void 0:ge.speeds)!=null&&De.length?(e.openBlock(),e.createElementBlock("table",hp,[_p,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ke=l.plan)==null?void 0:ke.speeds,(A,Se)=>{var Ge,Xe,qe,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt;return e.openBlock(),e.createElementBlock("tr",{key:Se},[e.createElementVNode("td",null,"Route "+e.toDisplayString(Se+1),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ge=A.speed)==null?void 0:Ge.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${((Xe=A.speed)==null?void 0:Xe.label)??"CP"} ${((qe=A.speed)==null?void 0:qe.v0)??((et=(ve=A.speed)==null?void 0:ve.cpCopy)==null?void 0:et.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((m=(tt=A.speed)==null?void 0:tt.cpCopy)==null?void 0:m.fo)+" FO / "+e.toDisplayString((Be=($=A.speed)==null?void 0:$.cpCopy)==null?void 0:Be.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Me=A.speed)==null?void 0:Me.eta)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Re=A.speed)==null?void 0:Re.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((pe=A.speed)==null?void 0:pe.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((Ue=A.speed)==null?void 0:Ue.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ot=A.speed)==null?void 0:ot.totalFoCons,3))+" FO /"+e.toDisplayString(n.roundPrecision((lt=A.speed)==null?void 0:lt.totalDgoCons,3))+" DO",1)])}),128))])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",Ep,[yp,e.createElementVNode("div",Np,[e.createElementVNode("div",Vp,[e.createElementVNode("div",fp,[xp,e.createElementVNode("div",bp,[(Fe=(Te=l.plan)==null?void 0:Te.speeds)!=null&&Fe.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList((We=(Le=(Pe=(Oe=l.plan)==null?void 0:Oe.speeds[0])==null?void 0:Pe.speed)==null?void 0:Le.sample)==null?void 0:We.wps,(A,Se)=>(e.openBlock(),e.createElementBlock("div",{key:Se,class:"cell-row"},[e.createElementVNode("div",gp,[e.createElementVNode("div",Dp,[e.createVNode(E,{lat:A.lat,label:""},null,8,["lat"]),kp,e.createVNode(c,{lng:A.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",Cp,[A.name?(e.openBlock(),e.createElementBlock("span",Sp,e.toDisplayString(A.name),1)):(e.openBlock(),e.createElementBlock("span",Bp,"-"))]),e.createElementVNode("div",wp,e.toDisplayString(n.computeUTCTime(A.eta)),1),Se?(e.openBlock(),e.createElementBlock("div",Ap,e.toDisplayString(n.computeNav(A)),1)):(e.openBlock(),e.createElementBlock("div",Tp)),Se?(e.openBlock(),e.createElementBlock("div",Fp,e.toDisplayString(n.roundPrecision(A.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Op)),Se?(e.openBlock(),e.createElementBlock("div",Pp,e.toDisplayString(n.roundPrecision(A.avgSpd??A.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",Lp))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Wp,[$p,e.createElementVNode("div",Hp,[(He=($e=l.plan)==null?void 0:$e.speeds)!=null&&He.length?(e.openBlock(),e.createElementBlock("table",Mp,[Ip,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ue=(je=(Ke=(Ne=l.plan)==null?void 0:Ne.speeds[0])==null?void 0:Ke.speed)==null?void 0:je.sample)==null?void 0:ue.hours,(A,Se)=>{var Ge,Xe,qe,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,xt,bt,gt,Dt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt;return e.openBlock(),e.createElementBlock("tr",{key:Se,class:e.normalizeClass(A.isDangerous?"dangerous":A.isSevere?"severe":A.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime(A.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",Gp,[e.createVNode(E,{lat:A.lat,label:""},null,8,["lat"]),Rp,e.createVNode(c,{lng:A.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Xe=(Ge=A.meteo)==null?void 0:Ge.wind)!=null&&Xe.kts?(e.openBlock(),e.createElementBlock("span",zp,e.toDisplayString((ve=(qe=A.meteo)==null?void 0:qe.wind)==null?void 0:ve.direction),1)):(e.openBlock(),e.createElementBlock("span",Up,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((tt=(et=A.meteo)==null?void 0:et.wind)==null?void 0:tt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Be=($=(m=A.meteo)==null?void 0:m.wave)==null?void 0:$.wd)==null?void 0:Be.height,1)),1),e.createElementVNode("td",null,[(pe=(Re=(Me=A.meteo)==null?void 0:Me.wave)==null?void 0:Re.swell)!=null&&pe.height?(e.openBlock(),e.createElementBlock("span",Yp,e.toDisplayString((lt=(ot=(Ue=A.meteo)==null?void 0:Ue.wave)==null?void 0:ot.swell)==null?void 0:lt.direction),1)):(e.openBlock(),e.createElementBlock("span",Zp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((mt=(rt=(dt=A.meteo)==null?void 0:dt.wave)==null?void 0:rt.swell)==null?void 0:mt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Et=(_t=(pt=A.meteo)==null?void 0:pt.wave)==null?void 0:_t.swell)==null?void 0:Et.period,1)),1),e.createElementVNode("td",null,[(Vt=(Nt=(yt=A.meteo)==null?void 0:yt.wave)==null?void 0:Nt.sig)!=null&&Vt.height?(e.openBlock(),e.createElementBlock("span",Qp,e.toDisplayString((bt=(xt=(ft=A.meteo)==null?void 0:ft.wave)==null?void 0:xt.sig)==null?void 0:bt.direction),1)):(e.openBlock(),e.createElementBlock("span",Jp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((kt=(Dt=(gt=A.meteo)==null?void 0:gt.wave)==null?void 0:Dt.sig)==null?void 0:kt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Bt=(St=(Ct=A.meteo)==null?void 0:Ct.wave)==null?void 0:St.sig)==null?void 0:Bt.period,1)),1),e.createElementVNode("td",null,[(At=(wt=A.meteo)==null?void 0:wt.current)!=null&&At.kts?(e.openBlock(),e.createElementBlock("span",Kp,e.toDisplayString((Ft=(Tt=A.meteo)==null?void 0:Tt.current)==null?void 0:Ft.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",jp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Pt=(Ot=A.meteo)==null?void 0:Ot.current)==null?void 0:Pt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(A.cFactor,1)),1)],2)}),128))])])):e.createCommentVNode("",!0)])]),up])}const yn=Ce(mm,[["render",Xp],["__scopeId","data-v-9a939466"]]),qp={install(t){t.component("RouteReport",rn),t.component("FliPlanReport",yn),t.component("OrmPlanReport",rn)}},vp={install(t){t.component("IdmEditor",Go)}},eh={install(t){t.component("IdmLat",Xa)}},th={install(t){t.component("IdmLng",ua)}},oh={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},lh={class:"logo"},ah={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},nh=["fill","fill-opacity"],sh=[e.createElementVNode("path",{d:`M4225 11533 c-100 -6 -311 -23 -335 -27 -14 -3 -59 -10 -100 -16
|
|
1
|
+
(function(Y,ae){typeof exports=="object"&&typeof module<"u"?ae(exports,require("@idm-plugin/geo"),require("moment"),require("vue"),require("echarts"),require("@wangeditor/editor-for-vue"),require("@idmui/tropical"),require("@element-plus/icons-vue"),require("element-plus"),require("axios"),require("mapbox-gl")):typeof define=="function"&&define.amd?define(["exports","@idm-plugin/geo","moment","vue","echarts","@wangeditor/editor-for-vue","@idmui/tropical","@element-plus/icons-vue","element-plus","axios","mapbox-gl"],ae):(Y=typeof globalThis<"u"?globalThis:Y||self,ae(Y["idmui-report"]={},Y["@idm-plugin/geo"],Y.moment,Y.Vue,Y.echarts,Y["@wangeditor/editor-for-vue"],Y["@idmui/tropical"],Y["@element-plus/icons-vue"],Y["element-plus"],Y.axios,Y["mapbox-gl"]))})(this,function(Y,ae,j,e,$c,qa,Hc,Oa,ua,Fa,hl){"use strict";function Mc(o){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const t in o)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(s,t,r.get?r:{enumerable:!0,get:()=>o[t]})}}return s.default=o,Object.freeze(s)}const Pa=Mc($c),NY="",Ce=(o,s)=>{const t=o.__vccOpts||o;for(const[r,a]of s)t[r]=a;return t},Ic={name:"IdmBrand",props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${(o?j(o):j()).utc().format(s)}`}}}},va=o=>(e.pushScopeId("data-v-7679e32b"),o=o(),e.popScopeId(),o),Gc={class:"section brand-section flex-space"},Rc=e.createStaticVNode('<div class="logo-box flex-center" data-v-7679e32b><div class="logo" data-v-7679e32b><a href="https://fmp.idmwx.com" target="_blank" data-v-7679e32b><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-7679e32b></a><a href="https://fmp.idmwx.com" target="_blank" style="text-decoration:none;" data-v-7679e32b><div class="brand" data-v-7679e32b><span style="text-decoration:underline;" data-v-7679e32b>Weather Routing</span><div class="company" data-v-7679e32b>Ocean Right Marine Service</div></div></a></div></div>',1),zc={class:"report-box flex-space"},Uc={class:"name flex-start"},Yc={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},Zc={class:"flex-start",style:{width:"100%"}},Qc={class:"label-block flex-evenly",style:{flex:"1"}},Jc=va(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),Kc={class:"flex-end",style:{flex:"2"}},jc=va(()=>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 Xc(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",Gc,[Rc,e.createElementVNode("div",zc,[e.createElementVNode("div",Uc,e.toDisplayString(t.name),1),e.createElementVNode("div",Yc,[e.createElementVNode("div",Zc,[e.createElementVNode("div",Qc,[Jc,e.createElementVNode("span",Kc,e.toDisplayString(n.computeUTCTime(t.issued,"MMM-DD, YYYY")),1)])]),jc])])])}const Io=Ce(Ic,[["render",Xc],["__scopeId","data-v-7679e32b"]]),qc={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}}},uc={key:0,class:"loading"},vc=e.createElementVNode("i",{class:"iconfont"},"",-1);function ei(o,s,t,r,a,n){return t.loading?(e.openBlock(),e.createElementBlock("div",uc,[vc,e.createElementVNode("div",null,e.toDisplayString(t.text),1)])):e.createCommentVNode("",!0)}const La=Ce(qc,[["render",ei]]),VY="",ti={name:"ORMPointReport",components:{IdmLoading:La,IdmBrand:Io},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0}},data(){return{echart:void 0,localTZ:"0",loading:!0}},computed:{computeLat(){return function(o){return ae.LngLatHelper.lat2pretty(o,2)}},computeLng(){return function(o){return ae.LngLatHelper.lng2pretty(o,2)}},computeLTime(){return function(o,s=8,t="MMM-DD/HHmm[LT]"){return`${j(o).utcOffset(s).format(t)}`}},computeTZ(){return function(o="0"){return ae.LngLatHelper.prettyTimeZoneOffset(o)}},roundPrecision(){return function(o,s=4){if(typeof o=="number"){const t=Number("1".padEnd(s+1,"0"));return Math.round(o*t)/t}else return"-"}},computeDegree(){return function(o,s){o=o%360;for(let t=0;t<17;t++)if(t*22.5+o+11.25>=360){let r=(16-t)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(o){var r,a,n,E,c,p,b,g,h,N;const s={};for(let D=0;D<((a=(r=o==null?void 0:o.extend)==null?void 0:r.data)==null?void 0:a.length);D++){const x=(n=o==null?void 0:o.extend)==null?void 0:n.data[D];if(D===0)x.precip.pacc=0;else{const C=(E=o==null?void 0:o.extend)==null?void 0:E.data[D-1],k=j(x.utc).utcOffset(this.localTZ),T=j(C.utc).utcOffset(this.localTZ),F=(c=C==null?void 0:C.precip)==null?void 0:c.prate,B=k.diff(T,"h"),w=this.roundPrecision(F*B,1);if(x.precip.pacc=w,w>0){const f=s[k.format("MMM-DD")],O=Math.floor(k.get("hour")/6);f?(f.pacc=this.roundPrecision(f.pacc+w,1),f[`${O}`]?f[`${O}`]+=w:(f[`${O}`]=w,f.colspan+=1)):(s[k.format("MMM-DD")]={pacc:w,colspan:1},s[k.format("MMM-DD")][`${O}`]=w)}}}o.paccInDays=s;let t=0;for(const D of Object.keys(s))t+=(p=s[D])==null?void 0:p.colspan,s[D].level=((b=s[D])==null?void 0:b.pacc)<10?"Light":((g=s[D])==null?void 0:g.pacc)<24.9?"Moderate":((h=s[D])==null?void 0:h.pacc)<49.9?"Heavy":((N=s[D])==null?void 0:N.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return o.span=t,o}}},watch:{report:{handler(){var o,s,t,r;(s=(o=this.report)==null?void 0:o.extend)!=null&&s.data&&(this.loading=!1,this.localTZ=ae.LngLatHelper.guessTimeZoneOffset((t=this.report)==null?void 0:t.lng,(r=this.report)==null?void 0:r.lat),this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},methods:{initEchart(){var n,E,c;this.echart||(this.echart=e.markRaw(Pa.init(this.$refs.echart)));const o=[],s=[],t={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let r=4;(c=(E=(n=this.report)==null?void 0:n.extend)==null?void 0:E.data)==null||c.forEach(p=>{var g,h,N,D,x,C,k,T,F,B,w,f,O;const b=j(p.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");o.push(b),r=((h=(g=p.wave)==null?void 0:g.sig)==null?void 0:h.height)>r?(D=(N=p.wave)==null?void 0:N.sig)==null?void 0:D.height:r,s.push([b,(x=p.wind)==null?void 0:x.kts,(C=p.gusts)==null?void 0:C.kts,(T=(k=p.wave)==null?void 0:k.sig)==null?void 0:T.height,(F=p.wind)==null?void 0:F.direction,(B=p.wind)==null?void 0:B.degree,(w=p.wind)==null?void 0:w.scale,(f=p.current)==null?void 0:f.kts,(O=p.precip)==null?void 0:O.acc,this.roundPrecision(p.visibility/1852,0),p.temp])});const a={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: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:r,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:t.dateTime,y:t.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:t.dateTime,y:t.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:s,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:t.dateTime,y:t.waveHeight},data:s,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:t.dateTime,y:t.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:s,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:t.dateTime,y:t.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:s,z:2}]};this.echart.setOption(a)}}},ze=o=>(e.pushScopeId("data-v-eb929a40"),o=o(),e.popScopeId(),o),oi={class:"point-report"},li={class:"section info-section"},ai={class:"flex-evenly"},ni={class:"flex-space label-block",style:{width:"100%"}},si=ze(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),ci={class:"flex-space label-block",style:{width:"100%"}},ii=ze(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),di={class:"flex-evenly"},ri={class:"flex-space label-block",style:{width:"100%"}},mi=ze(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),pi={class:"flex-space label-block",style:{width:"100%"}},hi={class:"flex-end",style:{width:"180px"}},_i={class:"section echart-section"},Ei={ref:"echart",class:"echart"},yi={class:"section sample-section"},Ni=ze(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Vi=ze(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),fi=ze(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),bi=ze(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),gi=ze(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),xi=ze(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),ki=["colspan"],Di=ze(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Ci=ze(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Si=ze(()=>e.createElementVNode("th",null,"Dir",-1)),Bi=ze(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),wi=ze(()=>e.createElementVNode("th",null,"BF",-1)),Ai=ze(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Ti=ze(()=>e.createElementVNode("th",null,"Dir",-1)),Fi=ze(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Oi=ze(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Pi=ze(()=>e.createElementVNode("th",null,"Dir",-1)),Li=ze(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Wi=ze(()=>e.createElementVNode("th",null,"Prd (s)",-1)),$i=ze(()=>e.createElementVNode("th",null,"Dir",-1)),Hi=ze(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Mi={key:0},Ii={key:1},Gi=ze(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Ri=ze(()=>e.createElementVNode("th",null,"°C",-1)),zi={width:"120px"},Ui={key:0,class:"degree-box"},Yi={key:1},Zi={key:0,class:"degree-box"},Qi={key:1},Ji={key:0,class:"degree-box"},Ki={key:1},ji={key:0,class:"degree-box"},Xi={key:1},qi={key:0},ui={key:1};function vi(o,s,t,r,a,n){var p,b,g,h;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",oi,[e.createVNode(E,{name:"Point Weather Forecast"}),e.createVNode(c,{loading:a.loading},null,8,["loading"]),e.createElementVNode("div",li,[e.createElementVNode("div",ai,[e.createElementVNode("div",ni,[si,e.createElementVNode("span",null,e.toDisplayString(n.computeLat((p=t.report)==null?void 0:p.lat).pretty)+" / "+e.toDisplayString(n.computeLng((b=t.report)==null?void 0:b.lng).pretty),1)]),e.createElementVNode("div",ci,[ii,e.createElementVNode("span",null,e.toDisplayString(n.computeLTime(t.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",di,[e.createElementVNode("div",ri,[mi,e.createElementVNode("span",null,e.toDisplayString(n.computeTZ(a.localTZ)),1)]),e.createElementVNode("div",pi,[e.createElementVNode("label",hi,"("+e.toDisplayString(n.computeTZ(a.localTZ))+")",1),e.createElementVNode("span",null,e.toDisplayString(n.computeLTime(t.report.updatedAt,a.localTZ,"YYYY, MMM-DD/HHmm[LT]")),1)])])]),e.createElementVNode("div",_i,[e.createElementVNode("div",Ei,null,512)]),e.createElementVNode("div",yi,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Ni,Vi,fi,bi,gi,xi,e.createElementVNode("th",{colspan:t.showPrate&&t.showAcc?2:1},"Precip",8,ki),Di,Ci]),e.createElementVNode("tr",null,[Si,Bi,wi,Ai,Ti,Fi,Oi,Pi,Li,Wi,$i,Hi,t.showPrate?(e.openBlock(),e.createElementBlock("th",Mi,"Rate (mm/h)")):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("th",Ii,"Acc (mm)")):e.createCommentVNode("",!0),Gi,Ri])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=(g=t.report)==null?void 0:g.extend)==null?void 0:h.data,(N,D)=>{var x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,X,v,ee,te,oe,le,ce,ie,de;return e.openBlock(),e.createElementBlock("tr",{key:D},[e.createElementVNode("td",zi,e.toDisplayString(n.computeLTime(N.utc,a.localTZ)),1),e.createElementVNode("td",null,[(x=N.wind)!=null&&x.kts?(e.openBlock(),e.createElementBlock("span",Ui,[e.createTextVNode(e.toDisplayString((C=N.wind)==null?void 0:C.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((k=N.wind)==null?void 0:k.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Yi,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((T=N.wind)==null?void 0:T.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((F=N.wind)==null?void 0:F.scale),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((B=N.gusts)==null?void 0:B.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((f=(w=N.wave)==null?void 0:w.wd)==null?void 0:f.height,1)),1),e.createElementVNode("td",null,[(I=(O=N.wave)==null?void 0:O.swell)!=null&&I.height?(e.openBlock(),e.createElementBlock("span",Zi,[e.createTextVNode(e.toDisplayString((R=(G=N.wave)==null?void 0:G.swell)==null?void 0:R.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((_=(z=N.wave)==null?void 0:z.swell)==null?void 0:_.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Qi,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((H=(L=N.wave)==null?void 0:L.swell)==null?void 0:H.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((P=(W=N.wave)==null?void 0:W.swell)==null?void 0:P.period,1)),1),e.createElementVNode("td",null,[(Q=(M=N.wave)==null?void 0:M.sig)!=null&&Q.height?(e.openBlock(),e.createElementBlock("span",Ji,[e.createTextVNode(e.toDisplayString((J=(U=N.wave)==null?void 0:U.sig)==null?void 0:J.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((se=(ne=N.wave)==null?void 0:ne.sig)==null?void 0:se.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ki,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((X=(l=N.wave)==null?void 0:l.sig)==null?void 0:X.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ee=(v=N.wave)==null?void 0:v.sig)==null?void 0:ee.period,1)),1),e.createElementVNode("td",null,[(te=N.current)!=null&&te.kts?(e.openBlock(),e.createElementBlock("span",ji,[e.createTextVNode(e.toDisplayString((oe=N.current)==null?void 0:oe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((le=N.current)==null?void 0:le.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Xi,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ce=N.current)==null?void 0:ce.kts,1)),1),t.showPrate?(e.openBlock(),e.createElementBlock("td",qi,e.toDisplayString(n.roundPrecision((ie=N.precip)==null?void 0:ie.prate,2)),1)):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("td",ui,e.toDisplayString(n.roundPrecision((de=N.precip)==null?void 0:de.acc,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(N.visibility/1852,0)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(N.temp,1)),1)])}),128))])])])])}const en=Ce(ti,[["render",vi],["__scopeId","data-v-eb929a40"]]),ed={install(o){o.component("ORMPointReport",en)}},fY="",td={name:"IdmLng",props:{lng:{type:Number,default:void 0},label:{type:String,default:"Lng"}},data(){return{pretty:void 0}},watch:{lng:{handler(){if(this.lng!==void 0){const o=ae.LngLatHelper.convertToStdLng(this.lng);this.pretty=ae.LngLatHelper.lng2pretty(o).pretty}},immediate:!0}}},od={class:"lng-box"},ld={key:0};function ad(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",od,[t.label?(e.openBlock(),e.createElementBlock("span",ld,e.toDisplayString(t.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(a.pretty),1)])}const Wa=Ce(td,[["render",ad],["__scopeId","data-v-0d3c152f"]]),bY="",nd={name:"IdmLat",props:{lat:{type:Number,default:void 0},label:{type:String,default:"Lat"}},data(){return{pretty:void 0}},watch:{lat:{handler(){this.lat!==void 0&&(this.pretty=ae.LngLatHelper.lat2pretty(this.lat).pretty)},immediate:!0}}},sd={class:"lat-box"},cd={key:0};function id(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",sd,[t.label?(e.openBlock(),e.createElementBlock("span",cd,e.toDisplayString(t.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(a.pretty),1)])}const $a=Ce(nd,[["render",id],["__scopeId","data-v-3d953d12"]]),gY="",dd={name:"IdmEditor",components:{Editor:qa.Editor,Toolbar:qa.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(o){var s,t;o?(s=this.editor)==null||s.disable():(t=this.editor)==null||t.enable()}},modelValue:{handler(){var o;this.valueHtml=this.modelValue,(o=this.editor)==null||o.setHtml(this.valueHtml)}}},methods:{handleCreated(o){var s;this.editorRef=e.shallowRef(),this.editor=Object.seal(o),this.valueHtml=this.modelValue,(s=this.editor)==null||s.setHtml(this.valueHtml),this.disabled?this.editor.disable():this.editor.enable()},handleChange(o){this.$emit("update:modelValue",this.valueHtml)},handleBlur(o){this.$emit("blur",this.valueHtml)},beforeDestroy(){var o;(o=this.editor)==null||o.destroy()}}},rd={class:"editor-box"};function md(o,s,t,r,a,n){const E=e.resolveComponent("Toolbar"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",rd,[e.withDirectives(e.createVNode(E,{editor:a.editor,"default-config":a.toolbarConfig,mode:a.mode,class:"toolbar"},null,8,["editor","default-config","mode"]),[[e.vShow,!t.disabled]]),e.createVNode(c,{modelValue:a.valueHtml,"onUpdate:modelValue":s[0]||(s[0]=p=>a.valueHtml=p),"default-config":a.editorConfig,mode:a.mode,class:"editor",style:e.normalizeStyle({height:t.height}),onOnCreated:n.handleCreated,onOnChange:n.handleChange,onOnBlur:n.handleBlur},null,8,["modelValue","default-config","mode","style","onOnCreated","onOnChange","onOnBlur"])])}const Go=Ce(dd,[["render",md],["__scopeId","data-v-a8e20d55"]]),xY="",pd={name:"OrmRouteReport",components:{Lng:Wa,Lat:$a,Editor:Go,Brand:Io,Loading:La},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(o,s="MMM-DD/HHmm[Z]"){return`${j(o).utc().format(s)}`}},computeLTime(){return function(o,s,t){let r=0;return t&&s&&(r=ae.LngLatHelper.guessTimeZoneOffset(s,t)),`${j(o).utcOffset(r).format("MMM-DD/HHmm")}LT`}},computeTimeDiff(){return function(o,s){var t,r,a,n,E;if(s===0)return"-";{const c=j((a=(r=(t=o==null?void 0:o.speeds)==null?void 0:t[s])==null?void 0:r.speed)==null?void 0:a.eta).diff(j((E=(n=o==null?void 0:o.speeds)==null?void 0:n[0])==null?void 0:E.speed.eta),"h",!0);return Math.round(c*10)/10}}},computeNav(){return function(o){return o.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(o,s=4){if(typeof o=="number"){const t=Number("1".padEnd(s+1,"0"));return Math.round(o*t)/t}else return"-"}},computeMemo(){return function(o){return(o==null?void 0:o.memo)??"-"}},computeMajorPoints(){return function(o,s){const t=[];if(s.length)return s.forEach(r=>{t.push(r),r.suspend&&(o!=null&&o.useRouteParam)&&t.push({etd:r.etd,eta:r.etd,isResume:!0,memo:`Stoppage: ${r.suspend}hrs`})}),t}},computeDegree(){return function(o,s){o=o%360;for(let t=0;t<17;t++)if(t*22.5+o+11.25>=360){let r=(16-t)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);margin-left:3px;`}}},computeDay(){return function(o,s=0){var n,E,c,p;const t=(p=(c=(E=(n=o==null?void 0:o.speeds)==null?void 0:n[s])==null?void 0:E.speed)==null?void 0:c.sample)==null?void 0:p.hours,r=t[0],a=t[t.length-1];return Math.round(j(a.eta).diff(j(r.eta),"day",!0)*10)/10}}},watch:{plan:{handler(){var o,s;(o=this.plan)!=null&&o.id&&(this.loading=!1,this.advisory=((s=this.plan)==null?void 0:s.advisory)||"Pls find the following major waypoints for your safe navigation.",this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},methods:{handleCommit(o){this.editable=!1,this.$emit("commit",o)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0},initEchart(){this.echart||(this.echart=e.markRaw(Pa.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var p,b,g,h,N,D,x;const o=[],s=[],t={dateTime:0,windSpeed:1,waveHeight:2,windDirection:3,windDegree:4,windScale:5,currentFactor:6,weatherFactor:7,speed:8},r={};["W","WSW","SW","SSW","S","SSE","SE","ESE","E","ENE","NE","NNE","N","NNW","NW","WNW"].forEach((C,k)=>{r[C]=Math.PI/8*k});const n=18;let E=4;(D=(N=(h=(g=(b=(p=this.plan)==null?void 0:p.speeds)==null?void 0:b[this.speedIndex])==null?void 0:g.speed)==null?void 0:h.sample)==null?void 0:N.hours)==null||D.forEach(C=>{var T,F,B,w,f,O,I,G,R,z;const k=C.meteo;if(k){const _=j(k.utc).utc().format("MMM-DD/HHmm[Z]");o.push(_),E=Math.ceil(((F=(T=k.wave)==null?void 0:T.sig)==null?void 0:F.height)>E?(w=(B=k.wave)==null?void 0:B.sig)==null?void 0:w.height:E),s.push([_,(f=k.wind)==null?void 0:f.kts,(I=(O=k.wave)==null?void 0:O.sig)==null?void 0:I.height,(G=k.wind)==null?void 0:G.direction,(R=k.wind)==null?void 0:R.degree,(z=k.wind)==null?void 0:z.scale,C.cFactor,C.wFactor,C.speed])}});const c={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:o,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:E,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:t.dateTime,y:t.waveHeight},data:s,z:1},{name:"Wind Speed",type:"line",showSymbol:!0,yAxisIndex:0,encode:{x:t.dateTime,y:t.windSpeed},lineStyle:{color:"#000000B3",type:"dashed"},itemStyle:{color:"#000000B3"},data:s,z:2},{type:"custom",yAxisIndex:0,renderItem:(C,k)=>{const T=k.coord([k.value(t.dateTime),k.value(t.windSpeed)]);return{type:"path",shape:{pathData:"M31 16l-15-15v9h-26v12h26v9z",x:-n/2,y:-n/2,width:n,height:n},rotation:r[k.value(t.windDirection)],position:T,style:k.style({stroke:"#555",lineWidth:1})}},encode:{x:t.dateTime,y:t.windSpeed},data:s,z:10},{name:"Current Factor",type:"line",yAxisIndex:2,showSymbol:!0,encode:{x:t.dateTime,y:t.currentFactor},lineStyle:{color:"#da2e2ecc",type:"dotted"},itemStyle:{color:"#da2e2ecc"},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:3,showSymbol:!0,encode:{x:t.dateTime,y:t.speed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:s,z:4}]};(x=this.echart)==null||x.setOption(c)}}},Ye=o=>(e.pushScopeId("data-v-8e42ae51"),o=o(),e.popScopeId(),o),hd={class:"voyage-plan"},_d={class:"plan-report"},Ed={class:"section voyage-section flex-space"},yd={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Nd={class:"flex-start label-block",style:{width:"100%"}},Vd=Ye(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),fd={style:{"text-transform":"uppercase"},class:"text-ellipsis"},bd={class:"flex-start label-block",style:{width:"100%"}},gd=Ye(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),xd={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},kd={class:"flex-start label-block",style:{width:"100%"}},Dd=Ye(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),Cd={class:"flex-end"},Sd={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Bd={class:"flex-start label-block",style:{width:"100%"}},wd=Ye(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),Ad={key:0,class:"flex-end",style:{flex:"1"}},Td={key:1,class:"flex-end",style:{flex:"1"}},Fd=Ye(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Od={class:"flex-end",style:{width:"120px"}},Pd={class:"flex-space label-block",style:{width:"100%"}},Ld=Ye(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),Wd={key:0,class:"flex-end",style:{flex:"1"}},$d={key:1,class:"flex-end",style:{flex:"1"}},Hd=Ye(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Md={class:"flex-end",style:{width:"120px"}},Id={class:"flex-space label-block",style:{width:"100%"}},Gd=Ye(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),Rd={class:"flex-end",style:{"text-transform":"uppercase"}},zd={class:"section chart-section"},Ud=Ye(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),Yd={class:"flex-center"},Zd=["src"],Qd={class:"legends"},Jd=e.createStaticVNode('<div class="legend" data-v-8e42ae51><label style="background-color:var(--idm-dangerous);" data-v-8e42ae51></label><span data-v-8e42ae51>Dangerous</span></div><div class="legend" data-v-8e42ae51><label style="background-color:var(--idm-severe);" data-v-8e42ae51></label><span data-v-8e42ae51>Severe</span></div><div class="legend" data-v-8e42ae51><label style="background-color:var(--idm-heavy);" data-v-8e42ae51></label><span data-v-8e42ae51>Heavy</span></div>',3),Kd={class:"legend"},jd=Ye(()=>e.createElementVNode("b",{class:"route1"},null,-1)),Xd={key:0,class:"legend"},qd=Ye(()=>e.createElementVNode("b",{class:"route2"},null,-1)),ud={key:1,class:"legend"},vd=Ye(()=>e.createElementVNode("b",{class:"route3"},null,-1)),er={key:1,class:"empty"},tr={class:"section comparison-section"},or={key:0},lr=Ye(()=>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)),ar=Ye(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),nr=Ye(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),sr=Ye(()=>e.createElementVNode("th",null,"*FO",-1)),cr=Ye(()=>e.createElementVNode("th",null,"*DO",-1)),ir={colspan:"3"},dr={rowspan:"2"},rr={rowspan:"2"},mr={rowspan:"2"},pr={rowspan:"2"},hr={rowspan:"2"},_r={rowspan:"2"},Er={rowspan:"2"},yr={rowspan:"2"},Nr={rowspan:"2"},Vr=Ye(()=>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)),fr={class:"section waypoint-section"},br={class:"header-block flex-start"},gr=Ye(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),xr={class:"title"},kr={key:0,class:"flex-end",style:{flex:"1"}},Dr=["onClick"],Cr={class:"advisory"},Sr=["innerHTML"],Br={class:"major-waypoint"},wr=e.createStaticVNode('<div class="major-header" data-v-8e42ae51><div class="cell-item flex" style="flex:1.5;" data-v-8e42ae51>Major waypoint</div><div class="cell-item flex" data-v-8e42ae51>Time</div><div class="cell-item flex" data-v-8e42ae51>Nav</div><div class="cell-item flex" data-v-8e42ae51>Dist</div><div class="cell-item flex" data-v-8e42ae51>SOG</div><div class="cell-item flex" data-v-8e42ae51>Memo</div></div>',1),Ar={class:"major-body"},Tr={class:"cell-item flex",style:{flex:"1.5"}},Fr={key:0,class:"flex-center"},Or={key:1,class:"flex-center"},Pr=Ye(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Lr={key:0},Wr={class:"cell-item flex"},$r={key:0,class:"cell-item flex offset"},Hr={key:1,class:"cell-item flex nbsp"},Mr={key:2,class:"cell-item flex offset"},Ir={key:3,class:"cell-item flex nbsp"},Gr={key:4,class:"cell-item flex offset"},Rr={key:5,class:"cell-item flex nbsp"},zr={key:6,class:"cell-item flex offset"},Ur={key:7,class:"cell-item flex nbsp"},Yr={class:"section forecast-section"},Zr={class:"header-block flex-start"},Qr=Ye(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Jr={class:"title"},Kr={key:0,class:"flex-end",style:{flex:"1"}},jr=["onClick"],Xr={class:"echart-block"},qr={ref:"echart",class:"echart"},ur=Ye(()=>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)),vr={class:"flex-center"},em=Ye(()=>e.createElementVNode("span",null,"/",-1)),tm={key:0,class:"degree-box"},om={key:1},lm={key:0,class:"degree-box"},am={key:1},nm={key:0,class:"degree-box"},sm={key:1},cm={key:0,class:"degree-box"},im={key:1},dm=Ye(()=>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 rm(o,s,t,r,a,n){var h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,X,v,ee,te,oe,le,ce,ie,de,_e,q,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,Ke,je,Xe,A,Se,Ge,qe,ue,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo;const E=e.resolveComponent("Brand"),c=e.resolveComponent("Loading"),p=e.resolveComponent("Lat"),b=e.resolveComponent("Lng"),g=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",hd,[e.createElementVNode("div",_d,[e.createVNode(E,{name:"Voyage Planning",issued:(h=t.plan)==null?void 0:h.updatedAt},null,8,["issued"]),e.createVNode(c,{loading:a.loading,onTimeout:s[0]||(s[0]=S=>a.loading=!1)},null,8,["loading"]),e.createElementVNode("div",Ed,[e.createElementVNode("div",yd,[e.createElementVNode("div",Nd,[Vd,e.createElementVNode("span",fd,e.toDisplayString((x=(D=(N=t.plan)==null?void 0:N.voyage)==null?void 0:D.company)==null?void 0:x.name),1)]),e.createElementVNode("div",bd,[gd,e.createElementVNode("span",xd,e.toDisplayString((T=(k=(C=t.plan)==null?void 0:C.voyage)==null?void 0:k.vessel)==null?void 0:T.name)+" ("+e.toDisplayString((f=(w=(B=(F=t.plan)==null?void 0:F.voyage)==null?void 0:B.vessel)==null?void 0:w.vesselType)==null?void 0:f.name)+")",1)]),e.createElementVNode("div",kd,[Dd,e.createElementVNode("span",Cd,e.toDisplayString((I=(O=t.plan)==null?void 0:O.voyage)==null?void 0:I.number),1)])]),e.createElementVNode("div",Sd,[e.createElementVNode("div",Bd,[wd,(z=(R=(G=t.plan)==null?void 0:G.leg)==null?void 0:R.departure)!=null&&z.name?(e.openBlock(),e.createElementBlock("span",Ad,e.toDisplayString((L=(_=t.plan)==null?void 0:_.leg)==null?void 0:L.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Td,[e.createVNode(p,{lat:(P=(W=(H=t.plan)==null?void 0:H.leg)==null?void 0:W.departure)==null?void 0:P.lat,label:""},null,8,["lat"]),Fd,e.createVNode(b,{lng:(U=(Q=(M=t.plan)==null?void 0:M.leg)==null?void 0:Q.departure)==null?void 0:U.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Od,e.toDisplayString(n.computeUTCTime(((se=(ne=(J=t.plan)==null?void 0:J.leg)==null?void 0:ne.departure)==null?void 0:se.atd)||((v=(X=(l=t.plan)==null?void 0:l.leg)==null?void 0:X.departure)==null?void 0:v.etd)||((le=(oe=(te=(ee=t.plan)==null?void 0:ee.speeds)==null?void 0:te[a.speedIndex])==null?void 0:oe.speed)==null?void 0:le.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Pd,[Ld,(de=(ie=(ce=t.plan)==null?void 0:ce.leg)==null?void 0:ie.destination)!=null&&de.name?(e.openBlock(),e.createElementBlock("span",Wd,e.toDisplayString((me=(q=(_e=t.plan)==null?void 0:_e.leg)==null?void 0:q.destination)==null?void 0:me.name),1)):(e.openBlock(),e.createElementBlock("div",$d,[e.createVNode(p,{lat:(re=(ye=(Ee=t.plan)==null?void 0:Ee.leg)==null?void 0:ye.destination)==null?void 0:re.lat,label:""},null,8,["lat"]),Hd,e.createVNode(b,{lng:(ge=(be=(fe=t.plan)==null?void 0:fe.leg)==null?void 0:be.destination)==null?void 0:ge.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Md,e.toDisplayString(n.computeUTCTime(((Te=(De=(ke=(xe=t.plan)==null?void 0:xe.speeds)==null?void 0:ke[a.speedIndex])==null?void 0:De.speed)==null?void 0:Te.ata)||((Le=(Pe=(Oe=(Fe=t.plan)==null?void 0:Fe.speeds)==null?void 0:Oe[a.speedIndex])==null?void 0:Pe.speed)==null?void 0:Le.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Id,[Gd,e.createElementVNode("span",Rd,e.toDisplayString(($e=(We=t.plan)==null?void 0:We.voyage)==null?void 0:$e.loadCondition),1)])])]),e.createElementVNode("div",zd,[Ud,(He=t.plan)!=null&&He.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Yd,[e.createElementVNode("img",{src:t.plan.chartUrl},null,8,Zd)]),e.createElementVNode("div",Qd,[Jd,e.createElementVNode("div",Kd,[jd,e.createElementVNode("span",{class:"btn",onClick:s[1]||(s[1]=S=>{a.speedIndex=0,n.renderEchart()})},e.toDisplayString((A=(Xe=(je=(Ke=(Ne=t.plan)==null?void 0:Ne.speeds)==null?void 0:Ke[0])==null?void 0:je.speed)==null?void 0:Xe.lane)==null?void 0:A.name),1)]),((Ge=(Se=t.plan)==null?void 0:Se.speeds)==null?void 0:Ge.length)>1?(e.openBlock(),e.createElementBlock("div",Xd,[qd,e.createElementVNode("span",{class:"btn",onClick:s[2]||(s[2]=S=>{a.speedIndex=1,n.renderEchart()})},e.toDisplayString((tt=(et=(ve=(ue=(qe=t.plan)==null?void 0:qe.speeds)==null?void 0:ue[1])==null?void 0:ve.speed)==null?void 0:et.lane)==null?void 0:tt.name),1)])):e.createCommentVNode("",!0),(($=(m=t.plan)==null?void 0:m.speeds)==null?void 0:$.length)>2?(e.openBlock(),e.createElementBlock("div",ud,[vd,e.createElementVNode("span",{class:"btn",onClick:s[3]||(s[3]=S=>{a.speedIndex=2,n.renderEchart()})},e.toDisplayString((Ue=(pe=(Re=(Me=(Be=t.plan)==null?void 0:Be.speeds)==null?void 0:Me[2])==null?void 0:Re.speed)==null?void 0:pe.lane)==null?void 0:Ue.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",er,[e.createElementVNode("span",null,[e.createTextVNode("Weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:s[4]||(s[4]=(...S)=>n.handleRefresh&&n.handleRefresh(...S))},"Refresh"),e.createTextVNode(" later please")])]))]),e.createElementVNode("div",tr,[(lt=(ot=t.plan)==null?void 0:ot.speeds)!=null&<.length?(e.openBlock(),e.createElementBlock("table",or,[e.createElementVNode("thead",null,[lr,e.createElementVNode("tr",null,[ar,nr,sr,cr,e.createElementVNode("th",ir,"*days (with in the next "+e.toDisplayString(n.computeDay(t.plan,0))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((dt=t.plan)==null?void 0:dt.speeds,(S,Ie)=>{var at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,Xt,qt,ut,vt,eo,to,oo,lo;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Ie},[e.createElementVNode("tr",null,[e.createElementVNode("td",dr,e.toDisplayString(Ie+1),1),e.createElementVNode("td",rr,e.toDisplayString((nt=(at=S.speed)==null?void 0:at.lane)==null?void 0:nt.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((ht=S.speed)==null?void 0:ht.label)??"CP"} ${((Lt=S.speed)==null?void 0:Lt.v0)??(($t=(Wt=S.speed)==null?void 0:Wt.cpCopy)==null?void 0:$t.speed)}`),1),e.createElementVNode("td",mr,e.toDisplayString(n.roundPrecision((Ht=S.speed)==null?void 0:Ht.distance,0)),1),e.createElementVNode("td",null,[e.createElementVNode("b",null,e.toDisplayString(n.computeLTime((Mt=S.speed)==null?void 0:Mt.eta,(Rt=(Gt=(It=t.plan)==null?void 0:It.leg)==null?void 0:Gt.destination)==null?void 0:Rt.lng,(Yt=(Ut=(zt=t.plan)==null?void 0:zt.leg)==null?void 0:Ut.destination)==null?void 0:Yt.lat)),1),e.createTextVNode(" ["+e.toDisplayString(n.computeUTCTime((Zt=S.speed)==null?void 0:Zt.eta))+"] ",1)]),e.createElementVNode("td",pr,e.toDisplayString(n.computeTimeDiff(t.plan,Ie)),1),e.createElementVNode("td",hr,e.toDisplayString(n.roundPrecision((Qt=S.speed)==null?void 0:Qt.totalFoCons,3)),1),e.createElementVNode("td",_r,e.toDisplayString(n.roundPrecision((Jt=S.speed)==null?void 0:Jt.totalDgoCons,3)),1),e.createElementVNode("td",Er,e.toDisplayString(n.roundPrecision(((Kt=S.speed)==null?void 0:Kt.dangerous)/24,1)),1),e.createElementVNode("td",yr,e.toDisplayString(n.roundPrecision(((jt=S.speed)==null?void 0:jt.severe)/24,1)),1),e.createElementVNode("td",Nr,e.toDisplayString(n.roundPrecision(((Xt=S.speed)==null?void 0:Xt.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((ut=(qt=S.speed)==null?void 0:qt.cpCopy)==null?void 0:ut.fo)+" FO / "+e.toDisplayString((eo=(vt=S.speed)==null?void 0:vt.cpCopy)==null?void 0:eo.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((to=S.speed)==null?void 0:to.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((oo=S.speed)==null?void 0:oo.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((lo=S.speed)==null?void 0:lo.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0),Vr]),e.createElementVNode("div",fr,[e.createElementVNode("div",br,[gr,e.createElementVNode("div",xr,"Advisory & Major Waypoint of Route "+e.toDisplayString((_t=(pt=(mt=(rt=t.plan.speeds)==null?void 0:rt[a.speedIndex])==null?void 0:mt.speed)==null?void 0:pt.lane)==null?void 0:_t.name),1),((yt=(Et=t.plan)==null?void 0:Et.speeds)==null?void 0:yt.length)>1?(e.openBlock(),e.createElementBlock("div",kr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Nt=t.plan)==null?void 0:Nt.speeds,(S,Ie)=>{var at,nt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:ht=>{a.speedIndex=Ie,n.renderEchart()}},e.toDisplayString((nt=(at=S.speed)==null?void 0:at.lane)==null?void 0:nt.name),9,Dr)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Cr,[a.editable?(e.openBlock(),e.createBlock(g,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[5]||(s[5]=S=>a.advisory=S),class:"editor",height:"120px",onBlur:s[6]||(s[6]=S=>n.handleCommit(S))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[7]||(s[7]=(...S)=>n.handleEdit&&n.handleEdit(...S)),innerHTML:a.advisory},null,40,Sr))]),e.createElementVNode("div",Br,[wr,e.createElementVNode("div",Ar,[(ft=(Vt=t.plan)==null?void 0:Vt.speeds)!=null&&ft.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(n.computeMajorPoints((kt=(xt=(gt=(bt=t.plan)==null?void 0:bt.speeds)==null?void 0:gt[a.speedIndex])==null?void 0:xt.speed)==null?void 0:kt.argv,(wt=(Bt=(St=(Ct=(Dt=t.plan)==null?void 0:Dt.speeds)==null?void 0:Ct[a.speedIndex])==null?void 0:St.speed)==null?void 0:Bt.sample)==null?void 0:wt.wps),(S,Ie)=>(e.openBlock(),e.createElementBlock("div",{key:Ie,class:"cell-row"},[e.createElementVNode("div",Tr,[S.isResume?(e.openBlock(),e.createElementBlock("div",Fr,"Resume")):(e.openBlock(),e.createElementBlock("div",Or,[e.createVNode(p,{lat:S.lat,label:""},null,8,["lat"]),Pr,e.createVNode(b,{lng:S.lng,label:""},null,8,["lng"]),S.pilot?(e.openBlock(),e.createElementBlock("span",Lr," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",Wr,e.toDisplayString(n.computeUTCTime(S.eta)),1),Ie?(e.openBlock(),e.createElementBlock("div",$r,e.toDisplayString(n.computeNav(S)),1)):(e.openBlock(),e.createElementBlock("div",Hr)),Ie?(e.openBlock(),e.createElementBlock("div",Mr,e.toDisplayString(n.roundPrecision(S.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Ir)),Ie?(e.openBlock(),e.createElementBlock("div",Gr,e.toDisplayString(n.roundPrecision(S.avgSpd??S.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",Rr)),Ie?(e.openBlock(),e.createElementBlock("div",zr,e.toDisplayString(n.computeMemo(S)),1)):(e.openBlock(),e.createElementBlock("div",Ur))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",Yr,[(Tt=(At=t.plan)==null?void 0:At.speeds)!=null&&Tt.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Zr,[Qr,e.createElementVNode("div",Jr," Weather Forecast for the Next "+e.toDisplayString(n.computeDay(t.plan,a.speedIndex))+" Days of Route "+e.toDisplayString((so=(no=(Pt=(Ot=(Ft=t.plan)==null?void 0:Ft.speeds)==null?void 0:Ot[a.speedIndex])==null?void 0:Pt.speed)==null?void 0:no.lane)==null?void 0:so.name),1),((io=(co=t.plan)==null?void 0:co.speeds)==null?void 0:io.length)>1?(e.openBlock(),e.createElementBlock("div",Kr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ro=t.plan)==null?void 0:ro.speeds,(S,Ie)=>{var at,nt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:ht=>{a.speedIndex=Ie,n.renderEchart()}},e.toDisplayString((nt=(at=S==null?void 0:S.speed)==null?void 0:at.lane)==null?void 0:nt.name),9,jr)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Xr,[e.createElementVNode("div",qr,null,512)]),e.createElementVNode("table",null,[ur,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Eo=(_o=(ho=(po=(mo=t.plan)==null?void 0:mo.speeds)==null?void 0:po[a.speedIndex])==null?void 0:ho.speed)==null?void 0:_o.sample)==null?void 0:Eo.hours,(S,Ie)=>{var at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,Xt,qt,ut,vt,eo,to,oo,lo,yo,No,Vo,fo,bo,go,xo,ko,Do,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho;return e.openBlock(),e.createElementBlock("tr",{key:Ie,class:e.normalizeClass(S.isDangerous?"dangerous":S.isSevere?"severe":S.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime(S.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",vr,[e.createVNode(p,{lat:S.lat,label:""},null,8,["lat"]),em,e.createVNode(b,{lng:S.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(nt=(at=S.meteo)==null?void 0:at.wind)!=null&&nt.kts?(e.openBlock(),e.createElementBlock("span",tm,[e.createTextVNode(e.toDisplayString((Lt=(ht=S.meteo)==null?void 0:ht.wind)==null?void 0:Lt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree(($t=(Wt=S.meteo)==null?void 0:Wt.wind)==null?void 0:$t.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",om,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Mt=(Ht=S.meteo)==null?void 0:Ht.wind)==null?void 0:Mt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Rt=(Gt=(It=S.meteo)==null?void 0:It.wave)==null?void 0:Gt.wd)==null?void 0:Rt.height,1)),1),e.createElementVNode("td",null,[(Yt=(Ut=(zt=S.meteo)==null?void 0:zt.wave)==null?void 0:Ut.swell)!=null&&Yt.height?(e.openBlock(),e.createElementBlock("span",lm,[e.createTextVNode(e.toDisplayString((Jt=(Qt=(Zt=S.meteo)==null?void 0:Zt.wave)==null?void 0:Qt.swell)==null?void 0:Jt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Xt=(jt=(Kt=S.meteo)==null?void 0:Kt.wave)==null?void 0:jt.swell)==null?void 0:Xt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",am,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((vt=(ut=(qt=S.meteo)==null?void 0:qt.wave)==null?void 0:ut.swell)==null?void 0:vt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((oo=(to=(eo=S.meteo)==null?void 0:eo.wave)==null?void 0:to.swell)==null?void 0:oo.period,1)),1),e.createElementVNode("td",null,[(No=(yo=(lo=S.meteo)==null?void 0:lo.wave)==null?void 0:yo.sig)!=null&&No.height?(e.openBlock(),e.createElementBlock("span",nm,[e.createTextVNode(e.toDisplayString((bo=(fo=(Vo=S.meteo)==null?void 0:Vo.wave)==null?void 0:fo.sig)==null?void 0:bo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ko=(xo=(go=S.meteo)==null?void 0:go.wave)==null?void 0:xo.sig)==null?void 0:ko.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",sm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((So=(Co=(Do=S.meteo)==null?void 0:Do.wave)==null?void 0:Co.sig)==null?void 0:So.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ao=(wo=(Bo=S.meteo)==null?void 0:Bo.wave)==null?void 0:wo.sig)==null?void 0:Ao.period,1)),1),e.createElementVNode("td",null,[(Fo=(To=S.meteo)==null?void 0:To.current)!=null&&Fo.kts?(e.openBlock(),e.createElementBlock("span",cm,[e.createTextVNode(e.toDisplayString((Po=(Oo=S.meteo)==null?void 0:Oo.current)==null?void 0:Po.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Wo=(Lo=S.meteo)==null?void 0:Lo.current)==null?void 0:Wo.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",im,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ho=($o=S.meteo)==null?void 0:$o.current)==null?void 0:Ho.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(S.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0),dm])])])}const ja=Ce(pd,[["render",rm],["__scopeId","data-v-8e42ae51"]]),kY="",mm={name:"RouteReport",components:{Lng:Wa,Lat:$a,Editor:Go},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:""}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${j(o).utc().format(s)}`}},computeLTime(){return function(o,s){const t=j(o);return t.utcOffset(s),`${t.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var o,s,t,r,a;return(a=(r=(t=(s=(o=this.plan)==null?void 0:o.leg)==null?void 0:s.destination)==null?void 0:t.port)==null?void 0:r.timezone)==null?void 0:a.UtcCurrentOffset},computeTimeDiff(){return function(o,s){var t,r,a;if(s===0)return"-";{const n=j((r=(t=o==null?void 0:o.speeds[s])==null?void 0:t.speed)==null?void 0:r.eta).diff(j((a=o==null?void 0:o.speeds[0])==null?void 0:a.speed.eta),"h",!0);return Math.round(n*10)/10}}},computeNav(){return function(o){return o.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(o,s=4){if(typeof o=="number"){const t=Number("1".padEnd(s+1,"0"));return Math.round(o*t)/t}else return"-"}},computeMapChart(){var o;return((o=this.plan)==null?void 0:o.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(o,s){o=o%360;for(let t=0;t<17;t++)if(t*22.5+o+11.25>=360){let r=(16-t)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);margin-left:3px;`}}},computeDay(){return function(o){var a,n,E;const s=(E=(n=(a=o==null?void 0:o.speeds[0])==null?void 0:a.speed)==null?void 0:n.sample)==null?void 0:E.hours,t=s[0],r=s[s.length-1];return j(r.eta).diff(j(t.eta),"day")}}},watch:{plan:{handler(){var o,s;(o=this.plan)!=null&&o.id&&(this.advisory=((s=this.plan)==null?void 0:s.advisory)||"Pls find the following major waypoints for your safe navigation.")},immediate:!0}},methods:{handleCommit(o){this.editable=!1,this.$emit("commit",o)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0}}},Ze=o=>(e.pushScopeId("data-v-cc81892d"),o=o(),e.popScopeId(),o),pm={class:"route-report"},hm=Ze(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),_m={class:"section"},Em=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),ym={class:"section-body basics"},Nm={class:"flex-space section-row"},Vm={class:"flex-start"},fm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),bm={class:"flex-start"},gm={class:"flex-start"},xm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),km={class:"flex-start flex"},Dm={key:0,class:"flex"},Cm={key:1,class:"flex-space flex"},Sm=Ze(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Bm={class:"time flex"},wm={class:"flex-space section-row"},Am={class:"flex-start"},Tm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),Fm={class:"flex-start"},Om={class:"flex-start"},Pm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),Lm={class:"flex-start flex"},Wm={key:0,class:"flex"},$m={key:1,class:"flex-space"},Hm=Ze(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Mm={class:"time flex"},Im={class:"flex-space section-row"},Gm={class:"flex-start"},Rm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),zm={class:"flex-start"},Um={class:"flex-start"},Ym=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),Zm={class:"flex-start flex"},Qm={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},Jm=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),Km={class:"section-body detail"},jm={class:"flex-space",style:{"align-items":"stretch"}},Xm={class:"chart"},qm=["src"],um={key:1,class:"empty flex-center"},vm={class:"route flex",style:{"justify-content":"space-between"}},ep=Ze(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),tp={class:"suggestion"},op=["innerHTML"],lp={class:"flex-start legends"},ap=e.createStaticVNode('<div class="legend" data-v-cc81892d><label style="background-color:var(--idm-severe);" data-v-cc81892d></label><span data-v-cc81892d>Dangerous</span></div><div class="legend" data-v-cc81892d><label style="background-color:var(--idm-heavy);" data-v-cc81892d></label><span data-v-cc81892d>Severe</span></div><div class="legend" data-v-cc81892d><b class="route1" data-v-cc81892d></b><span data-v-cc81892d>Route 1</span></div>',3),np={key:0,class:"legend"},sp=[Ze(()=>e.createElementVNode("b",{class:"route2"},null,-1)),Ze(()=>e.createElementVNode("span",null,"Route 2",-1))],cp={key:1,class:"legend"},ip=[Ze(()=>e.createElementVNode("b",{class:"route3"},null,-1)),Ze(()=>e.createElementVNode("span",null,"Route 3",-1))],dp={class:"section"},rp=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),mp={class:"section-body comparison"},pp={class:"container"},hp={key:0},_p=Ze(()=>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)),Ep={class:"section",style:{"page-break-inside":"avoid"}},yp=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),Np={class:"section-body sample"},Vp={class:"major-waypoints"},fp={class:"container"},bp=e.createStaticVNode('<div class="header" data-v-cc81892d><div class="cell-item flexM" data-v-cc81892d>Major waypoint</div><div class="cell-item flexL" data-v-cc81892d>Name</div><div class="cell-item flex" data-v-cc81892d>Time</div><div class="cell-item flex" data-v-cc81892d>Nav</div><div class="cell-item flex" data-v-cc81892d>Dist</div><div class="cell-item flex" data-v-cc81892d>SOG</div></div>',1),gp={class:"body"},xp={class:"cell-item flexM"},kp={class:"flex-center"},Dp=Ze(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Cp={class:"cell-item flexL"},Sp={key:0,class:"flex-center"},Bp={key:1},wp={class:"cell-item flex"},Ap={key:0,class:"cell-item flex offset"},Tp={key:1,class:"cell-item flex nbsp"},Fp={key:2,class:"cell-item flex offset"},Op={key:3,class:"cell-item flex nbsp"},Pp={key:4,class:"cell-item flex offset"},Lp={key:5,class:"cell-item flex nbsp"},Wp={class:"section"},$p=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),Hp={class:"section-body sample"},Mp={key:0},Ip=Ze(()=>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)),Gp={class:"flex-center"},Rp=Ze(()=>e.createElementVNode("span",null,"/",-1)),zp={key:0,class:"degree-box"},Up={key:1},Yp={key:0,class:"degree-box"},Zp={key:1},Qp={key:0,class:"degree-box"},Jp={key:1},Kp={key:0,class:"degree-box"},jp={key:1},Xp=Ze(()=>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 qp(o,s,t,r,a,n){var b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,X,v,ee,te,oe,le,ce,ie,de,_e,q,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,Ke,je,Xe;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",pm,[hm,e.createElementVNode("div",_m,[Em,e.createElementVNode("div",ym,[e.createElementVNode("div",Nm,[e.createElementVNode("div",Vm,[fm,e.createElementVNode("div",bm,e.toDisplayString((h=(g=(b=t.plan)==null?void 0:b.voyage)==null?void 0:g.company)==null?void 0:h.name),1)]),e.createElementVNode("div",gm,[xm,e.createElementVNode("div",km,[(x=(D=(N=t.plan)==null?void 0:N.leg)==null?void 0:D.departure)!=null&&x.name?(e.openBlock(),e.createElementBlock("div",Dm,e.toDisplayString((k=(C=t.plan)==null?void 0:C.leg)==null?void 0:k.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Cm,[e.createVNode(E,{lat:(B=(F=(T=t.plan)==null?void 0:T.leg)==null?void 0:F.departure)==null?void 0:B.lat,label:""},null,8,["lat"]),Sm,e.createVNode(c,{lng:(O=(f=(w=t.plan)==null?void 0:w.leg)==null?void 0:f.departure)==null?void 0:O.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Bm,e.toDisplayString(n.computeUTCTime(((R=(G=(I=t.plan)==null?void 0:I.leg)==null?void 0:G.departure)==null?void 0:R.atd)||((L=(_=(z=t.plan)==null?void 0:z.leg)==null?void 0:_.departure)==null?void 0:L.etd),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",wm,[e.createElementVNode("div",Am,[Tm,e.createElementVNode("div",Fm,e.toDisplayString((P=(W=(H=t.plan)==null?void 0:H.voyage)==null?void 0:W.vessel)==null?void 0:P.name),1)]),e.createElementVNode("div",Om,[Pm,e.createElementVNode("div",Lm,[(U=(Q=(M=t.plan)==null?void 0:M.leg)==null?void 0:Q.destination)!=null&&U.name?(e.openBlock(),e.createElementBlock("div",Wm,e.toDisplayString((ne=(J=t.plan)==null?void 0:J.leg)==null?void 0:ne.destination.name),1)):(e.openBlock(),e.createElementBlock("div",$m,[e.createVNode(E,{lat:(X=(l=(se=t.plan)==null?void 0:se.leg)==null?void 0:l.destination)==null?void 0:X.lat,label:""},null,8,["lat"]),Hm,e.createVNode(c,{lng:(te=(ee=(v=t.plan)==null?void 0:v.leg)==null?void 0:ee.destination)==null?void 0:te.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Mm,e.toDisplayString(n.computeUTCTime(((ce=(le=(oe=t.plan)==null?void 0:oe.speeds)==null?void 0:le[0])==null?void 0:ce.speed.ata)||((de=(ie=t.plan)==null?void 0:ie.speeds)==null?void 0:de[0].speed.eta),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",Im,[e.createElementVNode("div",Gm,[Rm,e.createElementVNode("div",zm,e.toDisplayString(n.computeUTCTime((_e=t.plan)==null?void 0:_e.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",Um,[Ym,e.createElementVNode("div",Zm,[e.createElementVNode("div",null,e.toDisplayString((me=(q=t.plan)==null?void 0:q.voyage)==null?void 0:me.loadCondition),1)])])])])]),e.createElementVNode("div",Qm,[Jm,e.createElementVNode("div",Km,[e.createElementVNode("div",jm,[e.createElementVNode("div",Xm,[(Ee=t.plan)!=null&&Ee.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(ye=t.plan)==null?void 0:ye.chartUrl},null,8,qm)):(e.openBlock(),e.createElementBlock("div",um,[e.createTextVNode("waiting for weather map, "),e.createElementVNode("b",{onClick:s[0]||(s[0]=(...A)=>n.handleRefresh&&n.handleRefresh(...A))},"Refresh"),e.createTextVNode("later please")]))]),e.createElementVNode("div",vm,[e.createElementVNode("div",null,[ep,e.createElementVNode("div",tp,[a.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[1]||(s[1]=A=>a.advisory=A),class:"editor",height:"120px",onBlur:s[2]||(s[2]=A=>n.handleCommit(A))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[3]||(s[3]=(...A)=>n.handleEdit&&n.handleEdit(...A)),innerHTML:a.advisory},null,40,op))])]),e.createElementVNode("div",lp,[ap,((fe=(re=t.plan)==null?void 0:re.speeds)==null?void 0:fe.length)>1?(e.openBlock(),e.createElementBlock("div",np,sp)):e.createCommentVNode("",!0),((ge=(be=t.plan)==null?void 0:be.speeds)==null?void 0:ge.length)>2?(e.openBlock(),e.createElementBlock("div",cp,ip)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",dp,[rp,e.createElementVNode("div",mp,[e.createElementVNode("div",pp,[(ke=(xe=t.plan)==null?void 0:xe.speeds)!=null&&ke.length?(e.openBlock(),e.createElementBlock("table",hp,[_p,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((De=t.plan)==null?void 0:De.speeds,(A,Se)=>{var Ge,qe,ue,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt;return e.openBlock(),e.createElementBlock("tr",{key:Se},[e.createElementVNode("td",null,"Route "+e.toDisplayString(Se+1),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ge=A.speed)==null?void 0:Ge.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${((qe=A.speed)==null?void 0:qe.label)??"CP"} ${((ue=A.speed)==null?void 0:ue.v0)??((et=(ve=A.speed)==null?void 0:ve.cpCopy)==null?void 0:et.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((m=(tt=A.speed)==null?void 0:tt.cpCopy)==null?void 0:m.fo)+" FO / "+e.toDisplayString((Be=($=A.speed)==null?void 0:$.cpCopy)==null?void 0:Be.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Me=A.speed)==null?void 0:Me.eta)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Re=A.speed)==null?void 0:Re.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((pe=A.speed)==null?void 0:pe.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((Ue=A.speed)==null?void 0:Ue.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ot=A.speed)==null?void 0:ot.totalFoCons,3))+" FO /"+e.toDisplayString(n.roundPrecision((lt=A.speed)==null?void 0:lt.totalDgoCons,3))+" DO",1)])}),128))])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",Ep,[yp,e.createElementVNode("div",Np,[e.createElementVNode("div",Vp,[e.createElementVNode("div",fp,[bp,e.createElementVNode("div",gp,[(Fe=(Te=t.plan)==null?void 0:Te.speeds)!=null&&Fe.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList((We=(Le=(Pe=(Oe=t.plan)==null?void 0:Oe.speeds[0])==null?void 0:Pe.speed)==null?void 0:Le.sample)==null?void 0:We.wps,(A,Se)=>(e.openBlock(),e.createElementBlock("div",{key:Se,class:"cell-row"},[e.createElementVNode("div",xp,[e.createElementVNode("div",kp,[e.createVNode(E,{lat:A.lat,label:""},null,8,["lat"]),Dp,e.createVNode(c,{lng:A.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",Cp,[A.name?(e.openBlock(),e.createElementBlock("span",Sp,e.toDisplayString(A.name),1)):(e.openBlock(),e.createElementBlock("span",Bp,"-"))]),e.createElementVNode("div",wp,e.toDisplayString(n.computeUTCTime(A.eta)),1),Se?(e.openBlock(),e.createElementBlock("div",Ap,e.toDisplayString(n.computeNav(A)),1)):(e.openBlock(),e.createElementBlock("div",Tp)),Se?(e.openBlock(),e.createElementBlock("div",Fp,e.toDisplayString(n.roundPrecision(A.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Op)),Se?(e.openBlock(),e.createElementBlock("div",Pp,e.toDisplayString(n.roundPrecision(A.avgSpd??A.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",Lp))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Wp,[$p,e.createElementVNode("div",Hp,[(He=($e=t.plan)==null?void 0:$e.speeds)!=null&&He.length?(e.openBlock(),e.createElementBlock("table",Mp,[Ip,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Xe=(je=(Ke=(Ne=t.plan)==null?void 0:Ne.speeds[0])==null?void 0:Ke.speed)==null?void 0:je.sample)==null?void 0:Xe.hours,(A,Se)=>{var Ge,qe,ue,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt;return e.openBlock(),e.createElementBlock("tr",{key:Se,class:e.normalizeClass(A.isDangerous?"dangerous":A.isSevere?"severe":A.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime(A.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",Gp,[e.createVNode(E,{lat:A.lat,label:""},null,8,["lat"]),Rp,e.createVNode(c,{lng:A.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(qe=(Ge=A.meteo)==null?void 0:Ge.wind)!=null&&qe.kts?(e.openBlock(),e.createElementBlock("span",zp,e.toDisplayString((ve=(ue=A.meteo)==null?void 0:ue.wind)==null?void 0:ve.direction),1)):(e.openBlock(),e.createElementBlock("span",Up,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((tt=(et=A.meteo)==null?void 0:et.wind)==null?void 0:tt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Be=($=(m=A.meteo)==null?void 0:m.wave)==null?void 0:$.wd)==null?void 0:Be.height,1)),1),e.createElementVNode("td",null,[(pe=(Re=(Me=A.meteo)==null?void 0:Me.wave)==null?void 0:Re.swell)!=null&&pe.height?(e.openBlock(),e.createElementBlock("span",Yp,e.toDisplayString((lt=(ot=(Ue=A.meteo)==null?void 0:Ue.wave)==null?void 0:ot.swell)==null?void 0:lt.direction),1)):(e.openBlock(),e.createElementBlock("span",Zp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((mt=(rt=(dt=A.meteo)==null?void 0:dt.wave)==null?void 0:rt.swell)==null?void 0:mt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Et=(_t=(pt=A.meteo)==null?void 0:pt.wave)==null?void 0:_t.swell)==null?void 0:Et.period,1)),1),e.createElementVNode("td",null,[(Vt=(Nt=(yt=A.meteo)==null?void 0:yt.wave)==null?void 0:Nt.sig)!=null&&Vt.height?(e.openBlock(),e.createElementBlock("span",Qp,e.toDisplayString((gt=(bt=(ft=A.meteo)==null?void 0:ft.wave)==null?void 0:bt.sig)==null?void 0:gt.direction),1)):(e.openBlock(),e.createElementBlock("span",Jp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Dt=(kt=(xt=A.meteo)==null?void 0:xt.wave)==null?void 0:kt.sig)==null?void 0:Dt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Bt=(St=(Ct=A.meteo)==null?void 0:Ct.wave)==null?void 0:St.sig)==null?void 0:Bt.period,1)),1),e.createElementVNode("td",null,[(At=(wt=A.meteo)==null?void 0:wt.current)!=null&&At.kts?(e.openBlock(),e.createElementBlock("span",Kp,e.toDisplayString((Ft=(Tt=A.meteo)==null?void 0:Tt.current)==null?void 0:Ft.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",jp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Pt=(Ot=A.meteo)==null?void 0:Ot.current)==null?void 0:Pt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(A.cFactor,1)),1)],2)}),128))])])):e.createCommentVNode("",!0)])]),Xp])}const tn=Ce(mm,[["render",qp],["__scopeId","data-v-cc81892d"]]),up={install(o){o.component("RouteReport",ja),o.component("FliPlanReport",tn),o.component("OrmPlanReport",ja)}},vp={install(o){o.component("IdmEditor",Go)}},eh={install(o){o.component("IdmLat",$a)}},th={install(o){o.component("IdmLng",Wa)}},oh={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},lh={class:"logo"},ah={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},nh=["fill","fill-opacity"],sh=[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,8 +38,8 @@
|
|
|
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 ch(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("i",lh,[(e.openBlock(),e.createElementBlock("svg",ah,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:l.fill,"fill-opacity":.6,stroke:"none"},sh,8,nh)]))])}const Nn=Ce(oh,[["render",ch]]),ih={install(t){t.component("PiLogo",Nn)}},KU="",jU="",dh={name:"FliVygSummary",components:{Editor:Go},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 s,l;return(l=(s=this.reportData)==null?void 0:s.weather)!=null&&l.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,s){return s=="subtitle"?K(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s=="table"?K(t).utc().format("MMMM-DD/HHmm[Z]"):s=="summary"?K(t).utc().format("MMMM D, HHmm[Z]"):s?K(t).utc().format(s):K(t).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(t,s){const l=ae.LngLatHelper.lat2pretty(t).pretty,r=ae.LngLatHelper.lng2pretty(s).pretty;return`${l} ${r}`}},computedSeg(){return function(t){const s=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),l=this.computedTime(t.departure.utcTime,"summary"),r=this.computedTime(t.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),a=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),n=this.computedTime(t.arrival.utcTime,"summary"),E=this.computedTime(t.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:s,time1:l,fullTime1:r,port2:a,time2:n,fullTime2:E}}},computedTimeConclusion(){return function(t){let s=t.conclusionStatus,l={conclusion:"",className:"",timeCon:""};return s=="No"?(l.conclusion="No Time Lost/Gained",l.className="",l.timeCon=""):s=="Lost"?(l.conclusion="Time Lost",l.className="error",l.timeCon=`${t.timeLost} hrs`):(l.conclusion="Time Gained",l.className="success",l.timeCon=`${t.timeGain} hrs`),l}},computedFuleConclusion(){return function(t,s){let l=t.conclusionStatus,r={conclusion:"",className:"",cons:""};return l==="No"?(r.conclusion="No Over/Under",r.className="",r.cons=""):l==="Over"?(s==="FO"?r.conclusion="FO Over":r.conclusion="DO/GO Over",r.className="error",r.cons=`${t.overCons} mt`):(s==="FO"?r.conclusion="FO Under":r.conclusion="DO/GO Under",r.className="success",r.cons=`${t.saving} mt`),r}},computedUnit(){return function(t,s){return s?"%":t=="speed"?"":"(mt)"}},computedWeatherDef(){return function(t){let s="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let l=t==null?void 0:t.windScale,r="",a=0;return t!=null&&t.waveSwitch?(r+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,a++):t!=null&&t.swellSwitch?(r+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,a++):t!=null&&t.sigSwitch&&(r+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,a++),a>0&&(r+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),s=`Winds are BF/${l} or less${r}`,t!=null&&t.noAdverseCur&&(s+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(s+=", No Extrapolation"),s}},computedColor(){return function(t,s,l){let r="";if(t==="No")return r=l?"bg-color-normal":"color-normal",r;switch(s){case"time":t==="Lost"?r="color-fail":r="color-success";break;case"fuel":t==="Over"?r="color-fail":r="color-success";break;case"pfm":t==="Under"?r="color-fail":r="color-success";break}return l&&(r="bg-"+r),r}},computedAbt4Spd(){return function(t){var s,l,r;return(s=t.timeConclusion)!=null&&s.spdPercentage?ae.LngLatHelper.roundPrecision(t.extend.cp.speed*(((l=t==null?void 0:t.timeConclusion)==null?void 0:l.spdOfAbout)/100),2):(r=t==null?void 0:t.timeConclusion)==null?void 0:r.spdOfAbout}}},watch:{reportData:{handler(t,s){var l;t!=null&&t.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(l=this.reportData)==null?void 0:l.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var s,l;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let t=[];(l=(s=this.reportData)==null?void 0:s.segments)==null||l.forEach((r,a)=>{let n=r.excluded;if(n.sumDistance>0&&n.detail.forEach(c=>{let p={begin:K(c.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:K(c.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:K(c.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+K(c.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:c.duration,distance:c.distance,fo:c.foCons,dgo:c.dgoCons};this.excludedTableData.push(p)}),!t.includes(r.seg)){t.push(r.seg);let c=Object.assign({},r.extend.cp);c.spdOfOver=`+${r.timeConclusion.spdOfOver}${this.computedUnit("speed",r.timeConclusion.spdPercentage)}`,c.spdOfUnder=`-${r.timeConclusion.spdOfUnder}${this.computedUnit("speed",r.timeConclusion.spdPercentage)}`,c.over=`+${r.fuelConclusion.consOfOver}${this.computedUnit("cons",r.fuelConclusion.consPercentage)}`,c.under=`-${r.fuelConclusion.consOfUnder}${this.computedUnit("cons",r.fuelConclusion.consPercentage)}`,this.cpDetail.push(c)}let E=[];r.extend.segTimes.forEach(c=>{E.push(this.computedSeg(c))}),this.segDetail.push(E),this.goodDays.push(r.inventory.sample.hours.filter(c=>c.type!=="A"&&c.goodWx))})}}},d=t=>(e.pushScopeId("data-v-d80f1a42"),t=t(),e.popScopeId(),t),rh=d(()=>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)),mh={class:"fli-main"},ph=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),hh={class:"card basics"},_h={class:"list flex"},Eh={class:"item"},yh=d(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),Nh={class:"content flex"},Vh={class:"item"},fh=d(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),xh={class:"content flex"},bh={class:"item"},gh=d(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),Dh={class:"content flex"},kh={class:"list"},Ch={class:"item"},Sh=d(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),Bh={class:"content flex"},wh={class:"content flex"},Ah={class:"item"},Th=d(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),Fh={class:"content flex"},Oh={class:"content flex"},Ph={class:"item"},Lh=d(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),Wh={class:"content flexL"},$h=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),Hh={class:"clause"},Mh={key:0,class:"definition flex"},Ih={key:1,class:"definition flex"},Gh={class:"item"},Rh=d(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),zh={class:"content"},Uh={key:0,class:"item"},Yh=d(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),Zh={class:"content"},Qh={key:1,class:"item"},Jh=d(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),Kh={class:"content"},jh={key:2,class:"item"},uh=d(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),Xh={class:"content"},qh={key:3,class:"item"},vh=d(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),e1={class:"content"},t1={key:4,class:"item"},o1=[d(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],l1={key:5,class:"item"},a1=[d(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],n1={class:"definition flexM"},s1={class:"table"},c1=d(()=>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)),i1=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),d1={class:"summary"},r1={key:0,class:"summary-overall"},m1=d(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),p1={class:"summary-overall-row"},h1={class:"card"},_1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),E1={class:"main-content"},y1={key:0},N1={key:1},V1={class:"card"},f1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),x1={class:"main-content"},b1={key:0},g1={key:1},D1={class:"card"},k1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),C1={class:"main-content"},S1={key:0},B1={key:1},w1={class:"summary-overall-row"},A1={class:"card"},T1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),F1={class:"main-content"},O1={class:"card"},P1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),L1={class:"main-content"},W1={class:"card"},$1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),H1={class:"main-content"},M1=d(()=>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)),I1={class:"card",style:{flex:"1.5"}},G1={class:"card-title"},R1=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),z1={class:"card-segment"},U1={class:"card-segment"},Y1={class:"card-segment"},Z1=d(()=>e.createElementVNode("div",null,"Applied",-1)),Q1={class:"uppercase"},J1={class:"card summary-card",style:{flex:"1"}},K1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),j1={key:0,class:"main-content"},u1={key:0,class:"iconfont success"},X1={key:1,class:"iconfont error"},q1={key:1,class:"main-content"},v1={class:"card-content",style:{"justify-content":"flex-start"}},e_={class:"card summary-card",style:{flex:"1"}},t_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),o_={key:0,class:"main-content"},l_={key:0,class:"iconfont success"},a_={key:1,class:"iconfont error"},n_={key:1,class:"main-content"},s_={class:"card-content",style:{"justify-content":"flex-start"}},c_={class:"card summary-card",style:{flex:"1"}},i_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),d_={key:0,class:"main-content"},r_={key:0,class:"iconfont success"},m_={key:1,class:"iconfont error"},p_={key:1,class:"main-content"},h_={class:"card-content",style:{"justify-content":"flex-start"}},__={style:{"page-break-inside":"avoid"}},E_=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),y_={class:"remarks"},N_={class:"item"},V_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),f_={class:"speed"},x_={class:"uppercase"},b_={class:"item"},g_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),D_={key:0,class:"remark-detail"},k_={key:1,class:"remark-detail"},C_={class:"page-avoid"},S_={class:"dashed"},B_={class:"card phase-title-card",style:{flex:"0.5"}},w_={class:"card-title"},A_=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),T_={class:"card-segment"},F_={class:"card-segment"},O_={class:"card-segment"},P_=d(()=>e.createElementVNode("div",null,"Applied",-1)),L_={class:"uppercase"},W_=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),$_={class:"phase-analysis"},H_={class:"card phase-card",style:{flex:"1"}},M_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),I_={class:"main-content"},G_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),R_={class:"main-content"},z_={class:"card-content"},U_=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),Y_=d(()=>e.createElementVNode("span",null,"mt",-1)),Z_={class:"card-content"},Q_=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),J_=d(()=>e.createElementVNode("span",null,"mt",-1)),K_={class:"card-content"},j_=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),u_=d(()=>e.createElementVNode("span",null,"mt",-1)),X_={class:"card-content"},q_=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),v_=d(()=>e.createElementVNode("span",null,"mt",-1)),eE=d(()=>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)),tE={class:"card phase-card",style:{flex:"1"}},oE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),lE={class:"main-content"},aE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),nE={class:"main-content"},sE={class:"card-content"},cE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),iE=d(()=>e.createElementVNode("span",null,"mt",-1)),dE={class:"card-content"},rE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),mE=d(()=>e.createElementVNode("span",null,"mt",-1)),pE={class:"card-content"},hE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),_E=d(()=>e.createElementVNode("span",null,"mt",-1)),EE={class:"card-content"},yE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),NE=d(()=>e.createElementVNode("span",null,"mt",-1)),VE=d(()=>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)),fE={class:"phase-analysis"},xE={class:"card phase-card",style:{flex:"1"}},bE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),gE={class:"main-content"},DE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),kE={class:"main-content"},CE={class:"card-content"},SE=d(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),BE=d(()=>e.createElementVNode("span",null,"nm",-1)),wE={class:"card-content"},AE=d(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),TE=d(()=>e.createElementVNode("span",null,"nm",-1)),FE={class:"card-content"},OE=d(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),PE=d(()=>e.createElementVNode("span",null,"nm",-1)),LE={class:"card-content"},WE=d(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),$E=d(()=>e.createElementVNode("span",null,"nm",-1)),HE={class:"card phase-card",style:{flex:"1"}},ME=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),IE={class:"main-content"},GE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),RE={class:"main-content"},zE={class:"card-content"},UE=d(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),YE=d(()=>e.createElementVNode("span",null,"hrs",-1)),ZE={class:"card-content"},QE=d(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),JE=d(()=>e.createElementVNode("span",null,"hrs",-1)),KE={class:"card-content"},jE=d(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),uE=d(()=>e.createElementVNode("span",null,"hrs",-1)),XE={class:"card-content"},qE=d(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),vE=d(()=>e.createElementVNode("span",null,"hrs",-1)),ey={class:"card phase-card",style:{flex:"1"}},ty=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),oy={class:"main-content"},ly=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),ay={class:"main-content"},ny={class:"card-content"},sy=d(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),cy=d(()=>e.createElementVNode("span",null,"kts",-1)),iy={class:"card-content"},dy=d(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),ry=d(()=>e.createElementVNode("span",null,"kts",-1)),my={class:"card-content"},py=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),hy=d(()=>e.createElementVNode("span",null,"kts",-1)),_y={class:"card-content"},Ey=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),yy=d(()=>e.createElementVNode("span",null,"kts",-1)),Ny={class:"phase-analysis"},Vy={class:"card phase-card",style:{flex:"1"}},fy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),xy={class:"main-content"},by=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),gy={class:"main-content"},Dy={class:"card-content"},ky=d(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),Cy=d(()=>e.createElementVNode("span",null,"mt",-1)),Sy={class:"card-content"},By=d(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),wy=d(()=>e.createElementVNode("span",null,"mt",-1)),Ay={class:"card-content"},Ty=d(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),Fy=d(()=>e.createElementVNode("span",null,"mt",-1)),Oy={class:"card-content"},Py=d(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),Ly=d(()=>e.createElementVNode("span",null,"mt",-1)),Wy={class:"card phase-card",style:{flex:"1"}},$y=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),Hy={class:"main-content"},My=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),Iy={class:"main-content"},Gy={class:"card-content"},Ry=d(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),zy=d(()=>e.createElementVNode("span",null,"mt",-1)),Uy={class:"card-content"},Yy=d(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),Zy=d(()=>e.createElementVNode("span",null,"mt",-1)),Qy={class:"card-content"},Jy=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),Ky=d(()=>e.createElementVNode("span",null,"mt",-1)),jy={class:"card-content"},uy=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),Xy=d(()=>e.createElementVNode("span",null,"mt",-1)),qy={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},vy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),eN={class:"main-content"},tN={class:"card-content"},oN=d(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),lN={key:0},aN=d(()=>e.createElementVNode("span",null,"kts",-1)),nN={key:1},sN={class:"phase-card"},cN={class:"card",style:{flex:"1"}},iN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),dN={key:0,class:"main-content"},rN={key:0,class:"iconfont success"},mN={key:1,class:"iconfont error"},pN={key:1,class:"main-content"},hN={class:"nogwd"},_N={class:"card-content",style:{"justify-content":"flex-start"}},EN={key:0},yN={class:"equation"},NN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),VN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),fN={style:{width:"8%"}},xN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),bN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),gN={style:{width:"10%"}},DN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),kN={class:"equation"},CN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),SN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),BN={style:{width:"8%"}},wN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),AN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),TN={style:{width:"10%"}},FN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),ON={class:"equation"},PN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),LN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),WN={style:{width:"8%"}},$N=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),HN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),MN={style:{width:"10%"}},IN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),GN={class:"phase-card"},RN={class:"card",style:{flex:"1"}},zN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),UN={key:0,class:"main-content"},YN={key:0,class:"iconfont success"},ZN={key:1,class:"iconfont error"},QN={key:1,class:"main-content"},JN={class:"nogwd"},KN={class:"card-content",style:{"justify-content":"flex-start"}},jN={key:0},uN={class:"equation"},XN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),qN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),vN={style:{width:"8%"}},eV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),oV={style:{width:"120px"}},lV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),aV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),nV={style:{width:"10%"}},sV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),cV={class:"equation"},iV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),dV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),rV={style:{width:"8%"}},mV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),pV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),hV={style:{width:"120px"}},_V=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),EV=d(()=>e.createElementVNode("div",null,"24",-1)),yV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),NV={style:{width:"10%"}},VV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),fV={class:"equation"},xV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),bV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),gV={style:{width:"8%"}},DV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),kV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),CV={style:{width:"120px"}},SV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),BV=d(()=>e.createElementVNode("div",null,"24",-1)),wV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),AV={style:{width:"10%"}},TV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),FV={key:0,class:"phase-card"},OV={class:"card",style:{flex:"1"}},PV=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),LV={key:0,class:"main-content"},WV={key:0,class:"iconfont success"},$V={key:1,class:"iconfont error"},HV={key:1,class:"main-content"},MV={class:"nogwd"},IV={class:"card-content",style:{"justify-content":"flex-start"}},GV={key:0},RV={class:"equation"},zV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),UV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),YV={style:{width:"8%"}},ZV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),QV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),JV={style:{width:"120px"}},KV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),jV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),uV={style:{width:"10%"}},XV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),qV={class:"equation"},vV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),ef=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),tf={style:{width:"8%"}},of=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),af={style:{width:"120px"}},nf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),sf=d(()=>e.createElementVNode("div",null,"24",-1)),cf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),df={style:{width:"10%"}},rf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),mf={class:"equation"},pf=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),hf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),_f={style:{width:"8%"}},Ef=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),yf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Nf={style:{width:"120px"}},Vf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ff=d(()=>e.createElementVNode("div",null,"24",-1)),xf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),bf={style:{width:"10%"}},gf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),Df=d(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),kf={class:"formular dashed",style:{"page-break-inside":"avoid"}},Cf={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},Sf=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),Bf={class:""},wf={class:"equation"},Af=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),Tf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Ff={style:{width:"50%"},class:"fraction"},Of=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Pf=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Lf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),Wf={class:"equation"},$f=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),Hf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Mf={style:{width:"50%"},class:"fraction"},If=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Gf=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),Rf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),zf={class:"equation"},Uf=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),Yf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Zf={style:{width:"50%"},class:"fraction"},Qf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Jf=d(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),Kf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),jf=d(()=>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)),uf={class:"flexL formular-item",style:{"margin-left":"20px"}},Xf=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),qf={class:""},vf={class:"equation"},e0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),t0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),o0={style:{width:"25%"},class:"fraction"},l0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),a0=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),n0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),s0=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)),c0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),i0={class:"equation"},d0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),r0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),m0={style:{width:"25%"},class:"fraction"},p0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),h0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),_0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),E0=d(()=>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)),y0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),N0={class:"equation"},V0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),f0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),x0={style:{width:"25%"},class:"fraction"},b0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),g0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),D0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),k0=d(()=>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)),C0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),S0=d(()=>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)),B0=d(()=>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 w0(t,s,l,r,a,n){var E,c,p,x,b,h,y,k,g,C,D,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,o,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,xe,be,ge,De,ke,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,Ke,je,ue,A,Se,Ge,Xe,qe,ve,et,tt;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((c=(E=l.reportData)==null?void 0:E.weather)!=null&&c.referenceOnly?"watermark":"")},[rh,e.createElementVNode("div",mh,[ph,e.createElementVNode("div",hh,[e.createElementVNode("div",_h,[e.createElementVNode("div",Eh,[yh,e.createElementVNode("div",Nh,e.toDisplayString((p=l.reportData)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",Vh,[fh,e.createElementVNode("div",xh,e.toDisplayString((b=(x=l.reportData)==null?void 0:x.vessel)==null?void 0:b.name),1)]),e.createElementVNode("div",bh,[gh,e.createElementVNode("div",Dh,e.toDisplayString(a.date),1)])]),e.createElementVNode("div",kh,[e.createElementVNode("div",Ch,[Sh,e.createElementVNode("div",Bh,e.toDisplayString(((y=(h=l.reportData)==null?void 0:h.departure)==null?void 0:y.portName)||n.computedLngLat((g=(k=l.reportData)==null?void 0:k.departure)==null?void 0:g.lat,(D=(C=l.reportData)==null?void 0:C.departure)==null?void 0:D.lng)),1),e.createElementVNode("div",wh,e.toDisplayString(n.computedTime((F=(T=l.reportData)==null?void 0:T.departure)==null?void 0:F.utcTime,"table")),1)]),e.createElementVNode("div",Ah,[Th,e.createElementVNode("div",Fh,e.toDisplayString(((w=(B=l.reportData)==null?void 0:B.arrival)==null?void 0:w.portName)||n.computedLngLat((O=(f=l.reportData)==null?void 0:f.arrival)==null?void 0:O.lat,(G=(I=l.reportData)==null?void 0:I.arrival)==null?void 0:G.lng)),1),e.createElementVNode("div",Oh,e.toDisplayString(n.computedTime((z=(R=l.reportData)==null?void 0:R.arrival)==null?void 0:z.utcTime,"table")),1)]),e.createElementVNode("div",Ph,[Lh,e.createElementVNode("div",Wh,e.toDisplayString((L=(_=l.reportData)==null?void 0:_.voyage)==null?void 0:L.loadCondition),1)])])]),$h,e.createElementVNode("div",Hh,[(W=(H=l.reportData)==null?void 0:H.weather)!=null&&W.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",Mh,"No specific thresholds in weather.")):(e.openBlock(),e.createElementBlock("div",Ih,[e.createElementVNode("div",Gh,[Rh,e.createElementVNode("div",zh,"BF "+e.toDisplayString(((M=(P=l.reportData)==null?void 0:P.weather)==null?void 0:M.windScale)||"-"),1)]),(U=(Q=l.reportData)==null?void 0:Q.weather)!=null&&U.waveSwitch?(e.openBlock(),e.createElementBlock("div",Uh,[Yh,e.createElementVNode("div",Zh,e.toDisplayString(((ne=(J=l.reportData)==null?void 0:J.weather)==null?void 0:ne.waveHeight)||"-")+" Meter",1)])):(o=(se=l.reportData)==null?void 0:se.weather)!=null&&o.swellSwitch?(e.openBlock(),e.createElementBlock("div",Qh,[Jh,e.createElementVNode("div",Kh,e.toDisplayString(((v=(u=l.reportData)==null?void 0:u.weather)==null?void 0:v.swellHeight)||"-")+" Meter",1)])):(te=(ee=l.reportData)==null?void 0:ee.weather)!=null&&te.sigSwitch?(e.openBlock(),e.createElementBlock("div",jh,[uh,e.createElementVNode("div",Xh,e.toDisplayString(((le=(oe=l.reportData)==null?void 0:oe.weather)==null?void 0:le.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(ie=(ce=l.reportData)==null?void 0:ce.weather)!=null&&ie.waveSwitch||(_e=(de=l.reportData)==null?void 0:de.weather)!=null&&_e.swellHeight||(me=(X=l.reportData)==null?void 0:X.weather)!=null&&me.sigSwitch?(e.openBlock(),e.createElementBlock("div",qh,[vh,e.createElementVNode("div",e1,e.toDisplayString((ye=(Ee=l.reportData)==null?void 0:Ee.weather)==null?void 0:ye.seaScale),1)])):e.createCommentVNode("",!0),(fe=(re=l.reportData)==null?void 0:re.weather)!=null&&fe.noAdverseCur?(e.openBlock(),e.createElementBlock("div",t1,o1)):e.createCommentVNode("",!0),(be=(xe=l.reportData)==null?void 0:xe.weather)!=null&&be.noExtrapolation?(e.openBlock(),e.createElementBlock("div",l1,a1)):e.createCommentVNode("",!0)])),e.createElementVNode("div",n1,[e.createElementVNode("table",s1,[c1,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.cpDetail,(m,$)=>(e.openBlock(),e.createElementBlock("tr",{key:$},[e.createElementVNode("td",null,e.toDisplayString(m==null?void 0:m.type),1),e.createElementVNode("td",null,e.toDisplayString(`${m==null?void 0:m.speed} | ${m==null?void 0:m.spdOfOver} , ${m.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${m==null?void 0:m.fo} | ${m==null?void 0:m.over} , ${m.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${m==null?void 0:m.dgo} | ${m==null?void 0:m.over} , ${m.under}`),1)]))),128))])])])]),i1,e.createElementVNode("div",d1,[((De=(ge=l.reportData)==null?void 0:ge.segments)==null?void 0:De.length)>1?(e.openBlock(),e.createElementBlock("div",r1,[m1,e.createElementVNode("div",p1,[e.createElementVNode("div",h1,[_1,e.createElementVNode("div",E1,[(Te=(ke=l.reportData)==null?void 0:ke.goodWx)!=null&&Te.avgSpd?(e.openBlock(),e.createElementBlock("div",y1,e.toDisplayString((Oe=(Fe=l.reportData)==null?void 0:Fe.goodWx)==null?void 0:Oe.avgSpd)+" kts",1)):(e.openBlock(),e.createElementBlock("div",N1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",V1,[f1,e.createElementVNode("div",x1,[(Le=(Pe=l.reportData)==null?void 0:Pe.goodWx)!=null&&Le.avgSpd?(e.openBlock(),e.createElementBlock("div",b1,e.toDisplayString(($e=(We=l.reportData)==null?void 0:We.goodWx)==null?void 0:$e.avgFoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",g1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",D1,[k1,e.createElementVNode("div",C1,[(Ne=(He=l.reportData)==null?void 0:He.goodWx)!=null&&Ne.avgSpd?(e.openBlock(),e.createElementBlock("div",S1,e.toDisplayString((je=(Ke=l.reportData)==null?void 0:Ke.goodWx)==null?void 0:je.avgDgoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",B1,e.toDisplayString(a.noGoodWxDay),1))])])]),e.createElementVNode("div",w1,[e.createElementVNode("div",A1,[T1,e.createElementVNode("div",F1,e.toDisplayString((A=(ue=l.reportData)==null?void 0:ue.allWx)==null?void 0:A.avgSpd)+" kts",1)]),e.createElementVNode("div",O1,[P1,e.createElementVNode("div",L1,e.toDisplayString((Ge=(Se=l.reportData)==null?void 0:Se.allWx)==null?void 0:Ge.avgFoEcaCons)+" mt",1)]),e.createElementVNode("div",W1,[$1,e.createElementVNode("div",H1,e.toDisplayString((qe=(Xe=l.reportData)==null?void 0:Xe.allWx)==null?void 0:qe.avgDgoEcaCons)+" mt",1)])]),M1])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ve=l.reportData)==null?void 0:ve.segments,(m,$)=>{var Be,Me,Re;return e.openBlock(),e.createElementBlock("div",{key:$,class:"summary-seg"},[e.createElementVNode("div",I1,[e.createElementVNode("div",G1,[R1,e.createElementVNode("span",null,"Phase "+e.toDisplayString($+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(pe,Ue)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Ue,class:e.normalizeClass(a.segDetail[$].length>1?"dashed":"")},[e.createElementVNode("div",z1,[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",U1,[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",Y1,[Z1,e.createElementVNode("div",null,[e.createElementVNode("span",Q1,e.toDisplayString(m.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",J1,[K1,(Be=m.goodWx)!=null&&Be.distance?(e.openBlock(),e.createElementBlock("div",j1,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",u1,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",X1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",q1,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",v1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedTimeConclusion(m.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).conclusion),1)])]),e.createElementVNode("div",e_,[t_,(Me=m.goodWx)!=null&&Me.distance?(e.openBlock(),e.createElementBlock("div",o_,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",l_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",a_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",n_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",s_,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",c_,[i_,(Re=m.goodWx)!=null&&Re.distance?(e.openBlock(),e.createElementBlock("div",d_,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",r_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",m_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",p_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",h_,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",__,[E_,e.createElementVNode("div",y_,[e.createElementVNode("div",N_,[V_,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((et=l.reportData)==null?void 0:et.segments,(m,$)=>(e.openBlock(),e.createElementBlock("div",{key:$,class:"remark-speed"},[e.createElementVNode("div",f_,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${$+1}. Phase ${$+1} Applied `)+" ",1),e.createElementVNode("span",x_,e.toDisplayString(m.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt ) ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(Be,Me)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Me},e.toDisplayString(`${Be.port1} (${Be.fullTime1}) to ${Be.port2} (${Be.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",b_,[g_,a.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",D_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.excludedTableData,(m,$)=>(e.openBlock(),e.createElementBlock("div",{key:$},e.toDisplayString(`From ${m.begin} to ${m.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",k_,e.toDisplayString(a.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((tt=l.reportData)==null?void 0:tt.segments,(m,$)=>{var Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,xt,bt,gt,Dt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo,S,Ie,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,ut,Xt,qt,vt,eo,to,oo,lo,yo,No,Vo,fo,xo,bo,go,Do,ko,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Ro,zo,Uo,Yo,Zo,Qo,Jo,Ko,jo,uo,Xo,qo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl;return e.openBlock(),e.createElementBlock("div",{key:$,class:"phase"},[e.createElementVNode("div",C_,[e.createElementVNode("div",S_,[e.createElementVNode("div",B_,[e.createElementVNode("div",w_,[A_,e.createElementVNode("span",null,"Phase "+e.toDisplayString($+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(st,pl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+pl,class:e.normalizeClass(a.segDetail[$].length>1?"dashed":"")},[e.createElementVNode("div",T_,[e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.port1),1),e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.time1),1)]),e.createElementVNode("div",F_,[e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.port2),1),e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.time2),1)])],2))),128)),e.createElementVNode("div",O_,[P_,e.createElementVNode("div",null,[e.createElementVNode("span",L_,e.toDisplayString(m.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt",1)])])])]),W_,e.createElementVNode("div",$_,[e.createElementVNode("div",H_,[M_,e.createElementVNode("div",I_,[e.createElementVNode("span",null,e.toDisplayString(((Be=m.goodWx)==null?void 0:Be.avgFoEcaCons)||"-")+" mt",1)]),G_,e.createElementVNode("div",R_,[e.createElementVNode("span",null,e.toDisplayString(((Me=m.allWx)==null?void 0:Me.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",z_,[U_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Re=m.goodWx)==null?void 0:Re.outEca.avgFoCons)||"-"),1),Y_])]),e.createElementVNode("div",Z_,[Q_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pe=m.goodWx)==null?void 0:pe.inEca.avgFoEcaCons)||"-"),1),J_])]),e.createElementVNode("div",K_,[j_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ue=m.allWx)==null?void 0:Ue.outEca.avgFoCons)||"-"),1),u_])]),e.createElementVNode("div",X_,[q_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ot=m.allWx)==null?void 0:ot.inEca.avgFoEcaCons)||"-"),1),v_])]),eE]),e.createElementVNode("div",tE,[oE,e.createElementVNode("div",lE,[e.createElementVNode("span",null,e.toDisplayString(((lt=m.goodWx)==null?void 0:lt.avgDgoEcaCons)||"-")+" mt",1)]),aE,e.createElementVNode("div",nE,[e.createElementVNode("span",null,e.toDisplayString(((dt=m.allWx)==null?void 0:dt.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",sE,[cE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((rt=m.goodWx)==null?void 0:rt.outEca.avgDgoCons)||"-"),1),iE])]),e.createElementVNode("div",dE,[rE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=m.goodWx)==null?void 0:mt.inEca.avgDgoEcaCons)||"-"),1),mE])]),e.createElementVNode("div",pE,[hE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=m.allWx)==null?void 0:pt.outEca.avgDgoCons)||"-"),1),_E])]),e.createElementVNode("div",EE,[yE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_t=m.allWx)==null?void 0:_t.inEca.avgDgoEcaCons)||"-"),1),NE])]),VE])]),e.createElementVNode("div",fE,[e.createElementVNode("div",xE,[bE,e.createElementVNode("div",gE,[e.createElementVNode("span",null,e.toDisplayString(((Et=m.goodWx)==null?void 0:Et.distance)||"-")+" nm",1)]),DE,e.createElementVNode("div",kE,[e.createElementVNode("span",null,e.toDisplayString(((yt=m.allWx)==null?void 0:yt.distance)||"-")+" nm",1)]),e.createElementVNode("div",CE,[SE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=m.goodWx)==null?void 0:Nt.outEca.distance)||"-"),1),BE])]),e.createElementVNode("div",wE,[AE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vt=m.goodWx)==null?void 0:Vt.inEca.distance)||"-"),1),TE])]),e.createElementVNode("div",FE,[OE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ft=m.allWx)==null?void 0:ft.outEca.distance)||"-"),1),PE])]),e.createElementVNode("div",LE,[WE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((xt=m.allWx)==null?void 0:xt.inEca.distance)||"-"),1),$E])])]),e.createElementVNode("div",HE,[ME,e.createElementVNode("div",IE,[e.createElementVNode("span",null,e.toDisplayString(((bt=m.goodWx)==null?void 0:bt.time)||"-")+" hrs",1)]),GE,e.createElementVNode("div",RE,[e.createElementVNode("span",null,e.toDisplayString(((gt=m.allWx)==null?void 0:gt.time)||"-")+" hrs",1)]),e.createElementVNode("div",zE,[UE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=m.goodWx)==null?void 0:Dt.outEca.time)||"-"),1),YE])]),e.createElementVNode("div",ZE,[QE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((kt=m.goodWx)==null?void 0:kt.inEca.time)||"-"),1),JE])]),e.createElementVNode("div",KE,[jE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=m.allWx)==null?void 0:Ct.outEca.time)||"-"),1),uE])]),e.createElementVNode("div",XE,[qE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((St=m.allWx)==null?void 0:St.inEca.time)||"-"),1),vE])])]),e.createElementVNode("div",ey,[ty,e.createElementVNode("div",oy,[e.createElementVNode("span",null,e.toDisplayString(((Bt=m.goodWx)==null?void 0:Bt.avgSpd)||"-")+" kts",1)]),ly,e.createElementVNode("div",ay,[e.createElementVNode("span",null,e.toDisplayString(((wt=m.allWx)==null?void 0:wt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",ny,[sy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=m.goodWx)==null?void 0:At.outEca.avgSpd)||"-"),1),cy])]),e.createElementVNode("div",iy,[dy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Tt=m.goodWx)==null?void 0:Tt.inEca.avgSpd)||"-"),1),ry])]),e.createElementVNode("div",my,[py,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=m.allWx)==null?void 0:Ft.outEca.avgSpd)||"-"),1),hy])]),e.createElementVNode("div",_y,[Ey,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=m.allWx)==null?void 0:Ot.inEca.avgSpd)||"-"),1),yy])])])]),e.createElementVNode("div",Ny,[e.createElementVNode("div",Vy,[fy,e.createElementVNode("div",xy,[e.createElementVNode("span",null,e.toDisplayString(((Pt=m.goodWx)==null?void 0:Pt.sumFoCons)||"-")+" mt",1)]),by,e.createElementVNode("div",gy,[e.createElementVNode("span",null,e.toDisplayString(((no=m.allWx)==null?void 0:no.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",Dy,[ky,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((so=m.goodWx)==null?void 0:so.outEca.sumFoCons)||"-"),1),Cy])]),e.createElementVNode("div",Sy,[By,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((co=m.goodWx)==null?void 0:co.inEca.sumFoCons)||"-"),1),wy])]),e.createElementVNode("div",Ay,[Ty,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((io=m.allWx)==null?void 0:io.outEca.sumFoCons)||"-"),1),Fy])]),e.createElementVNode("div",Oy,[Py,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ro=m.allWx)==null?void 0:ro.inEca.sumFoCons)||"-"),1),Ly])])]),e.createElementVNode("div",Wy,[$y,e.createElementVNode("div",Hy,[e.createElementVNode("span",null,e.toDisplayString(((mo=m.goodWx)==null?void 0:mo.sumDgoCons)||"-")+" mt",1)]),My,e.createElementVNode("div",Iy,[e.createElementVNode("span",null,e.toDisplayString(((po=m.allWx)==null?void 0:po.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",Gy,[Ry,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ho=m.goodWx)==null?void 0:ho.outEca.sumDgoCons)||"-"),1),zy])]),e.createElementVNode("div",Uy,[Yy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_o=m.goodWx)==null?void 0:_o.inEca.sumDgoCons)||"-"),1),Zy])]),e.createElementVNode("div",Qy,[Jy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Eo=m.allWx)==null?void 0:Eo.outEca.sumDgoCons)||"-"),1),Ky])]),e.createElementVNode("div",jy,[uy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((S=m.allWx)==null?void 0:S.inEca.sumDgoCons)||"-"),1),Xy])])]),e.createElementVNode("div",qy,[vy,e.createElementVNode("div",eN,[e.createElementVNode("span",null,e.toDisplayString(((Ie=m.goodWx)==null?void 0:Ie.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",tN,[oN,(at=m.goodWx)!=null&&at.distance&&!((ht=(nt=l.reportData)==null?void 0:nt.weather)!=null&&ht.favorableCur&&((Lt=m.goodWx)==null?void 0:Lt.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",lN,[e.createTextVNode(e.toDisplayString(n.computedPositive((Wt=m.goodWx)==null?void 0:Wt.avgCf)),1),aN])):(e.openBlock(),e.createElementBlock("b",nN,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",sN,[e.createElementVNode("div",cN,[iN,($t=m.goodWx)!=null&&$t.distance?(e.openBlock(),e.createElementBlock("div",dN,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",rN,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",mN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",pN,[e.createElementVNode("span",hN,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",_N,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedTimeConclusion(m.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Ht=m.goodWx)!=null&&Ht.distance?"":"analysis-none"} card analysis-card`)},[(Mt=m.goodWx)!=null&&Mt.distance?(e.openBlock(),e.createElementBlock("div",EN,[e.createElementVNode("div",yN,[NN,VN,e.createElementVNode("div",fN,[e.createElementVNode("div",null,e.toDisplayString((Gt=(It=l.reportData)==null?void 0:It.weather)!=null&&Gt.noExtrapolation?(Rt=m.goodWx)==null?void 0:Rt.distance:(zt=m.allWx)==null?void 0:zt.distance),1),xN,e.createElementVNode("div",null,e.toDisplayString((Ut=m.goodWx)==null?void 0:Ut.pfmSpd),1)]),bN,e.createElementVNode("div",gN,e.toDisplayString(m.timeConclusion.timeAtPfmSpd)+" Hrs",1),DN]),e.createElementVNode("div",kN,[CN,SN,e.createElementVNode("div",BN,[e.createElementVNode("div",null,e.toDisplayString((Zt=(Yt=l.reportData)==null?void 0:Yt.weather)!=null&&Zt.noExtrapolation?(Qt=m.goodWx)==null?void 0:Qt.distance:(Jt=m.allWx)==null?void 0:Jt.distance),1),wN,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),AN,e.createElementVNode("div",TN,e.toDisplayString(m.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),FN]),e.createElementVNode("div",ON,[PN,LN,e.createElementVNode("div",WN,[e.createElementVNode("div",null,e.toDisplayString((jt=(Kt=l.reportData)==null?void 0:Kt.weather)!=null&&jt.noExtrapolation?(ut=m.goodWx)==null?void 0:ut.distance:(Xt=m.allWx)==null?void 0:Xt.distance),1),$N,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.plusAbtSpd),1)]),HN,e.createElementVNode("div",MN,e.toDisplayString(m.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),IN])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",GN,[e.createElementVNode("div",RN,[zN,(qt=m.goodWx)!=null&&qt.distance?(e.openBlock(),e.createElementBlock("div",UN,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",YN,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",ZN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",QN,[e.createElementVNode("span",JN,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",KN,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(vt=m.goodWx)!=null&&vt.distance?"":"analysis-none"} card analysis-card`)},[(eo=m.goodWx)!=null&&eo.distance?(e.openBlock(),e.createElementBlock("div",jN,[e.createElementVNode("div",uN,[XN,qN,e.createElementVNode("div",vN,[e.createElementVNode("div",null,e.toDisplayString((oo=(to=l.reportData)==null?void 0:to.weather)!=null&&oo.noExtrapolation?(lo=m.goodWx)==null?void 0:lo.distance:(yo=m.allWx)==null?void 0:yo.distance),1),eV,e.createElementVNode("div",null,e.toDisplayString((No=m.goodWx)==null?void 0:No.pfmSpd),1)]),tV,e.createElementVNode("div",oV,[e.createElementVNode("div",null,e.toDisplayString((Vo=m.goodWx)==null?void 0:Vo.sumFoCons)+" "+e.toDisplayString(((fo=m.allWx)==null?void 0:fo.inEca.distance)>0?` + ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),lV,e.createElementVNode("div",null,e.toDisplayString((xo=m.goodWx)==null?void 0:xo.time),1)]),aV,e.createElementVNode("div",nV,e.toDisplayString(m.fuelConclusion.fo.entireCons)+" MT",1),sV]),e.createElementVNode("div",cV,[iV,dV,e.createElementVNode("div",rV,[e.createElementVNode("div",null,e.toDisplayString((go=(bo=l.reportData)==null?void 0:bo.weather)!=null&&go.noExtrapolation?(Do=m.goodWx)==null?void 0:Do.distance:(ko=m.allWx)==null?void 0:ko.distance),1),mV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),pV,e.createElementVNode("div",hV,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.overTolerance),1),_V,EV]),yV,e.createElementVNode("div",NV,e.toDisplayString(m.fuelConclusion.fo.maxCons)+" MT",1),VV]),e.createElementVNode("div",fV,[xV,bV,e.createElementVNode("div",gV,[e.createElementVNode("div",null,e.toDisplayString((So=(Co=l.reportData)==null?void 0:Co.weather)!=null&&So.noExtrapolation?(Bo=m.goodWx)==null?void 0:Bo.distance:(wo=m.allWx)==null?void 0:wo.distance),1),DV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),kV,e.createElementVNode("div",CV,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.underTolerance),1),SV,BV]),wV,e.createElementVNode("div",AV,e.toDisplayString(m.fuelConclusion.fo.minCons)+" MT",1),TV])])):e.createCommentVNode("",!0)],2)]),((To=(Ao=m==null?void 0:m.extend)==null?void 0:Ao.cp)==null?void 0:To.dgo)>0?(e.openBlock(),e.createElementBlock("div",FV,[e.createElementVNode("div",OV,[PV,(Fo=m.goodWx)!=null&&Fo.distance?(e.openBlock(),e.createElementBlock("div",LV,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",WV,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",$V,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",HV,[e.createElementVNode("span",MV,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",IV,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Oo=m.goodWx)!=null&&Oo.distance?"":"analysis-none"} card analysis-card`)},[(Po=m.goodWx)!=null&&Po.distance?(e.openBlock(),e.createElementBlock("div",GV,[e.createElementVNode("div",RV,[zV,UV,e.createElementVNode("div",YV,[e.createElementVNode("div",null,e.toDisplayString((Wo=(Lo=l.reportData)==null?void 0:Lo.weather)!=null&&Wo.noExtrapolation?($o=m.goodWx)==null?void 0:$o.distance:(Ho=m.allWx)==null?void 0:Ho.distance),1),ZV,e.createElementVNode("div",null,e.toDisplayString((Ro=m.goodWx)==null?void 0:Ro.pfmSpd),1)]),QV,e.createElementVNode("div",JV,[e.createElementVNode("div",null,e.toDisplayString((zo=m.goodWx)==null?void 0:zo.sumDgoCons)+" "+e.toDisplayString(((Uo=m.allWx)==null?void 0:Uo.inEca.distance)>0?` - ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),KV,e.createElementVNode("div",null,e.toDisplayString((Yo=m.goodWx)==null?void 0:Yo.time),1)]),jV,e.createElementVNode("div",uV,e.toDisplayString(m.fuelConclusion.dgo.entireCons)+" MT",1),XV]),e.createElementVNode("div",qV,[vV,ef,e.createElementVNode("div",tf,[e.createElementVNode("div",null,e.toDisplayString((Qo=(Zo=l.reportData)==null?void 0:Zo.weather)!=null&&Qo.noExtrapolation?(Jo=m.goodWx)==null?void 0:Jo.distance:(Ko=m.allWx)==null?void 0:Ko.distance),1),of,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),lf,e.createElementVNode("div",af,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.overTolerance),1),nf,sf]),cf,e.createElementVNode("div",df,e.toDisplayString(m.fuelConclusion.dgo.maxCons)+" MT",1),rf]),e.createElementVNode("div",mf,[pf,hf,e.createElementVNode("div",_f,[e.createElementVNode("div",null,e.toDisplayString((uo=(jo=l.reportData)==null?void 0:jo.weather)!=null&&uo.noExtrapolation?(Xo=m.goodWx)==null?void 0:Xo.distance:(qo=m.allWx)==null?void 0:qo.distance),1),Ef,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),yf,e.createElementVNode("div",Nf,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.underTolerance),1),Vf,ff]),xf,e.createElementVNode("div",bf,e.toDisplayString(m.fuelConclusion.dgo.minCons)+" MT",1),gf])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),Df,e.createElementVNode("div",kf,[e.createElementVNode("div",Cf,[Sf,e.createElementVNode("div",Bf,[e.createElementVNode("div",wf,[Af,Tf,e.createElementVNode("div",Ff,[e.createElementVNode("div",null,e.toDisplayString((el=(vo=l.reportData)==null?void 0:vo.weather)!=null&&el.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Of,Pf]),Lf]),e.createElementVNode("div",Wf,[$f,Hf,e.createElementVNode("div",Mf,[e.createElementVNode("div",null,e.toDisplayString((ol=(tl=l.reportData)==null?void 0:tl.weather)!=null&&ol.noExtrapolation?"Good Weather Distance":"Total Distance"),1),If,Gf]),Rf]),e.createElementVNode("div",zf,[Uf,Yf,e.createElementVNode("div",Zf,[e.createElementVNode("div",null,e.toDisplayString((al=(ll=l.reportData)==null?void 0:ll.weather)!=null&&al.noExtrapolation?"Good Weather Distance":"Total Distance"),1),Qf,Jf]),Kf]),jf])]),e.createElementVNode("div",uf,[Xf,e.createElementVNode("div",qf,[e.createElementVNode("div",vf,[e0,t0,e.createElementVNode("div",o0,[e.createElementVNode("div",null,e.toDisplayString((sl=(nl=l.reportData)==null?void 0:nl.weather)!=null&&sl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),l0,a0]),n0,s0,c0]),e.createElementVNode("div",i0,[d0,r0,e.createElementVNode("div",m0,[e.createElementVNode("div",null,e.toDisplayString((il=(cl=l.reportData)==null?void 0:cl.weather)!=null&&il.noExtrapolation?"Good Weather Distance":"Total Distance"),1),p0,h0]),_0,E0,y0]),e.createElementVNode("div",N0,[V0,f0,e.createElementVNode("div",x0,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=l.reportData)==null?void 0:dl.weather)!=null&&rl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),b0,g0]),D0,k0,C0]),S0,B0])])])])])}),128))])],2)}const A0=Ce(dh,[["render",w0],["__scopeId","data-v-d80f1a42"]]),eY="",T0={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,s,l,r){var E;let a="";const n=((E=this.summaryTable)==null?void 0:E.length)-1;return l&&s!==n&&(a=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),(t==null?void 0:t.goodWx)===!0&&!r&&(a=a+" good-weather"),(t==null?void 0:t.excluded)===!0&&!r&&(a=a+" excluded"),a}},computedSegClass(){return function(t,s){var r,a;const l=((r=this.summaryTable)==null?void 0:r.length)-1;if(l>-1){if(t.isFirstSeg&&s!==l)return"td-no-bottom td-top";if((a=this.summaryTable[s+1])!=null&&a.isFirstSeg)return"td-bottom";if(s!==l)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(t){var s;return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&(s=t.noon)!=null&&s.port)}},computedTime(){return function(t,s){return s==="subtitle"?K(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?K(t).utc().format("MMMM-DD/HHmm[Z]"):K(t).utc().format("dddd, MMMM D, YYYY")}}},watch:{reportData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},mounted(){},methods:{getLonLat(t){return`${t.degree}°${ae.LngLatHelper.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var r,a,n,E;this.showCF=(a=(r=this.reportData)==null?void 0:r.weather)==null?void 0:a.showCF,this.showAisDistance=!0;let t=[];(E=(n=this.reportData)==null?void 0:n.segments)==null||E.forEach((c,p)=>{let x=c.extend.cp;c.inventory.sample.hours.forEach((b,h)=>{let y=JSON.parse(JSON.stringify(b));y.cp=x,t.push(y)})}),t.sort(function(c,p){let x=c.date,b=p.date;return x-b});let s="",l="";t.forEach((c,p)=>{c.seg!==s&&(c.isFirstSeg=!0,s=c.seg);let x=c.type.charAt(0);c.abbreviation=x;const b=K(c.utc).utc().format("D-MMM");b!==l&&(c.lastdate=b,l=b),x==="A"?c.type="":x==="M"&&(c.type="*"),c.time=K(c.utc).utc().format("HH:mm[Z]"),c.lngPretty=this.getLonLat(ae.LngLatHelper.lng2pretty(c.lng)),c.latPretty=this.getLonLat(ae.LngLatHelper.lat2pretty(c.lat))}),this.summaryTable=t}}},mn=t=>(e.pushScopeId("data-v-c9bf3740"),t=t(),e.popScopeId(),t),F0=mn(()=>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)),O0={id:"second-table",class:"table"},P0={class:"summary-table"},L0=mn(()=>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)),W0={class:"summary-tbody"},$0=e.createStaticVNode('<div style="page-break-inside:avoid;" class="table-legend dashed" data-v-c9bf3740><div class="item" data-v-c9bf3740><div class="legend" data-v-c9bf3740><div class="legend-bg gwd" data-v-c9bf3740></div></div> Good Weather Days </div><div class="item" data-v-c9bf3740><div class="legend" data-v-c9bf3740><div class="legend-bg adverse" data-v-c9bf3740></div></div> Adverse Weather Days </div><div class="item" data-v-c9bf3740><div class="legend" data-v-c9bf3740><div class="legend-bg excluded" data-v-c9bf3740></div></div> Excluded Periods </div></div>',1),H0={class:"voyage-map",style:{"page-break-inside":"avoid"}},M0=mn(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),I0=["src"],G0=e.createStaticVNode('<div class="legend-block" data-v-c9bf3740><div style="position:relative;left:-20px;" data-v-c9bf3740><div style="position:relative;display:inline-block;top:-12px;left:15px;transform:scale(0.95);" data-v-c9bf3740><div data-v-c9bf3740>7</div><br data-v-c9bf3740><div data-v-c9bf3740>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-c9bf3740></i><div style="display:inline-block;transform:scale(0.95);text-align:left;margin-left:5px;" data-v-c9bf3740> LEGEND: <br data-v-c9bf3740> Wind from NE(045) <br data-v-c9bf3740> Each barb = 10 kts <br data-v-c9bf3740> 1/2 barb = 5 kts <br data-v-c9bf3740></div></div><div style="transform:scale(0.95);" data-v-c9bf3740> 7 - DAY OF THE MONTH <br data-v-c9bf3740> W 4 - PRIMARY WAVE FROM WEST, 4 METERS<br data-v-c9bf3740><div class="goodWx" data-v-c9bf3740>Date</div> Good weather days<br data-v-c9bf3740></div></div>',1);function R0(t,s,l,r,a,n){var E,c,p,x,b;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((c=(E=l.reportData)==null?void 0:E.weather)!=null&&c.referenceOnly||(x=(p=l.reportData)==null?void 0:p.weather)!=null&&x.overallAsGoodWx?"watermark fli-main":"fli-main")},[F0,e.createElementVNode("div",O0,[e.createElementVNode("div",null,[e.createElementVNode("table",P0,[L0,e.createElementVNode("tbody",W0,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.summaryTable,(h,y)=>{var k,g,C,D,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U;return e.openBlock(),e.createElementBlock("tr",{key:y},[e.createElementVNode("td",{class:e.normalizeClass(n.computedSegClass(h,y))},e.toDisplayString(h.isFirstSeg?h.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.type),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.time),3),n.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.latPretty),3)):e.createCommentVNode("",!0),n.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString((k=h.noon)==null?void 0:k.port),3)),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(g=h.cp)==null?void 0:g.speed),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y,!0))},e.toDisplayString(h.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y,!0))},e.toDisplayString(h.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(((D=(C=h.meteo)==null?void 0:C.wind)==null?void 0:D.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(((B=(F=(T=h.meteo)==null?void 0:T.wave)==null?void 0:F.swell)==null?void 0:B.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(((O=(f=(w=h.meteo)==null?void 0:w.wave)==null?void 0:f.swell)==null?void 0:O.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(((R=(G=(I=h.meteo)==null?void 0:I.wave)==null?void 0:G.sig)==null?void 0:R.height)??"--"),3),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(((z=h.meteo)==null?void 0:z.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.abbreviation==="A"?"":h.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.abbreviation==="A"?"":((_=h.noon)==null?void 0:_.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.abbreviation==="A"?"":((L=h.noon)==null?void 0:L.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(H=h.cp)==null?void 0:H.fo),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(W=h.cp)==null?void 0:W.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.abbreviation==="A"?"":((P=h.noon)==null?void 0:P.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.abbreviation==="A"?"":((M=h.noon)==null?void 0:M.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.abbreviation==="A"?"":(Q=h.noon)==null?void 0:Q.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.abbreviation==="A"?"":(U=h.noon)==null?void 0:U.dgoBrob),3)])}),128))])])])]),$0,e.createElementVNode("div",H0,[M0,e.createElementVNode("img",{style:{width:"100%"},src:(b=l.reportData)==null?void 0:b.chartUrl,alt:""},null,8,I0),G0])],2)}const z0=Ce(T0,[["render",R0],["__scopeId","data-v-c9bf3740"]]),tY="",U0={components:{Summary:A0,Inventory:z0},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},Y0={class:"voyage-report"};function Z0(t,s,l,r,a,n){const E=e.resolveComponent("Summary"),c=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",Y0,[e.createVNode(E,{"report-data":a.reportData,class:"main","editor-disabled":l.editorDisabled,onCommit:n.commit},null,8,["report-data","editor-disabled","onCommit"]),e.createVNode(c,{"is-admin":l.isAdmin,"report-data":a.reportData,class:"main"},null,8,["is-admin","report-data"])])}const Vn=Ce(U0,[["render",Z0],["__scopeId","data-v-e76f9905"]]),oY="",Q0={name:"OrmVoyageSummary",components:{Lng:ua,Lat:Xa,Editor:Go},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}},computeWeatherDef(){return function(t){let s="";t!=null&&t.waveSwitch?s+=`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?s+=`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&&(s+=`Significant wave height is ${t==null?void 0:t.sigHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`);let l=`Winds are BF/${t==null?void 0:t.windScale} or less, ${s}`;return t!=null&&t.noAdverseCur&&(l+=", No Adverse Current"),t!=null&&t.waterTempSwitch&&(l+=`, water temperature is ${t==null?void 0:t.waterTemp} °C or less`),t!=null&&t.noExtrapolation&&(l+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(l="No specific thresholds for wind/wave/currents are defined in the Charter Party.",t.disableWxFactor&&t.disableCFactor?l+=" Both Wx Factor and Current Factor are ignored.":t.disableWxFactor?l+=" Wx Factor is ignored.":t.disableCFactor&&(l+=" Current Factor is ignored."),l+=" Therefore the Good Weather Definition in this reports does not apply any thresholds."),l}},computeLng(){return function(t){return ae.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return ae.LngLatHelper.lat2pretty(t)}},computeAbtSpeed(){return function(t,s,l){return l==="Over"?t.abt4SpdOver:t.abt4SpdUnder}},computeAbtCons(){return function(t,s){return t.consPercentage?s==="Over"?`${t.consOfOver}%`:`${t.consOfUnder}%`:s==="Over"?`${t.consOfOver}`:`${t.consOfUnder}`}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,s;this.remarks=this.report.remarks||"Please double click to modify remark",this.exclusion=[],(s=(t=this.report)==null?void 0:t.segments)==null||s.forEach((l,r)=>{const a=l.excluded;a.sumDistance>0&&a.detail.forEach(n=>{const E={time:K(n.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+K(n.end).utc().format("MMM-DD/HHmm[Z]"),duration:n.duration,distance:n.distance,fo:n.foCons,dgo:n.dgoCons};this.exclusion.push(E)})})},handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleEdit(){this.editable=!0}}},i=t=>(e.pushScopeId("data-v-5bb8fb56"),t=t(),e.popScopeId(),t),J0={class:"report-summary"},K0={class:"section voyage-section flex-space"},j0={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},u0={class:"flex-space label-block",style:{width:"100%"}},X0=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),q0={style:{"text-transform":"uppercase"}},v0={class:"flex-space label-block",style:{width:"100%"}},e2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),t2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},o2={class:"flex-space label-block",style:{width:"100%"}},l2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),a2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},n2={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},s2={class:"flex-space label-block",style:{width:"100%"}},c2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),i2={key:0,class:"flex-end",style:{flex:"1"}},d2={key:1,class:"flex-end",style:{flex:"1"}},r2=i(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),m2={class:"flex-end",style:{width:"150px"}},p2={class:"flex-space label-block",style:{width:"100%"}},h2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),_2={key:0,class:"flex-end",style:{flex:"1"}},E2={key:1,class:"flex-end",style:{flex:"1"}},y2=i(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),N2={class:"flex-end",style:{width:"150px"}},V2={class:"flex-space label-block",style:{width:"100%"}},f2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),x2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},b2={class:"section weather-section"},g2=i(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),D2={class:"definition"},k2={class:"txt"},C2={class:"section summary-section"},S2=i(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),B2={class:"phase-box"},w2={class:"phase-index"},A2={class:"phase-position"},T2={key:0},F2={key:1},O2=i(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),P2={class:"phase-position"},L2={key:0},W2={key:1},$2=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),H2={class:"phase-cp flex-space"},M2={class:"cp-box"},I2=i(()=>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)),G2={class:"flex-space"},R2=i(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),z2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),U2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),Y2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),Z2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),Q2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),J2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),K2=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),j2={class:"phase-conclusion flex-space"},u2={class:"item-conclusion"},X2=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),q2={class:"value flex-start"},v2=i(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),ex={key:0,class:"label flex-end"},tx={key:0},ox={key:1},lx={key:2},ax={key:1,class:"label flex-end"},nx={key:2,class:"value flex-end"},sx={key:0},cx=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),ix={class:"gain"},dx=i(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),rx={key:1},mx=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),px={class:"lost"},hx=i(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),_x={key:2},Ex={class:"item-conclusion"},yx=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),Nx={class:"value flex-start"},Vx=i(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),fx={key:0,class:"label flex-end"},xx={key:0},bx={key:1},gx={key:2},Dx={key:1,class:"label flex-end"},kx={key:2,class:"value flex-end"},Cx={key:0},Sx=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Bx={class:"gain"},wx=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Ax={key:1},Tx=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Fx={class:"lost"},Ox=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Px={key:2},Lx={class:"item-conclusion"},Wx=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),$x={class:"value flex-start"},Hx=i(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),Mx={key:0,class:"label flex-end"},Ix={key:0},Gx={key:1},Rx={key:2},zx={key:1,class:"label flex-end"},Ux={key:2,class:"value flex-end"},Yx={key:0},Zx=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Qx={class:"gain"},Jx=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Kx={key:1},jx=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),ux={class:"lost"},Xx=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),qx={key:2},vx=i(()=>e.createElementVNode("div",{class:"tips flex-end"},"*Please see voyage analysis pages for the details.",-1)),eb=i(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),tb={key:0,class:"exclusion-block"},ob=i(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),lb=i(()=>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)),ab={style:{margin:"8px 0"}},nb={class:"remark-table"},sb=i(()=>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)),cb=["innerHTML"],ib={class:"section segment-section"},db=i(()=>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"},mb={class:"segment-position"},pb={key:0},hb={key:1},_b=i(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),Eb={class:"segment-position"},yb={key:0},Nb={key:1},Vb=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),fb={style:{margin:"10px 0 0"}},xb=i(()=>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)),bb=i(()=>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)),gb=i(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),Db={class:"good-wx"},kb={class:"good-wx"},Cb=i(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),Sb={class:"good-wx"},Bb={class:"good-wx"},wb=i(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),Ab={class:"good-wx"},Tb={class:"good-wx"},Fb=i(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),Ob={class:"good-wx"},Pb={class:"good-wx"},Lb=i(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),Wb={class:"good-wx"},$b={class:"good-wx"},Hb=i(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),Mb={class:"good-wx"},Ib={class:"good-wx"},Gb=i(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),Rb={class:"good-wx"},zb={class:"good-wx"},Ub={key:0,class:"flex-end tip"},Yb={key:1,class:"segment-speed"},Zb={class:"flex-center"},Qb=i(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Jb={class:"speed-right flex-space"},Kb=i(()=>e.createElementVNode("span",null,"-",-1)),jb=i(()=>e.createElementVNode("label",null,"=",-1)),ub={class:"speed"},Xb={key:1,class:"speed"},qb={key:0,class:"speed"},vb=i(()=>e.createElementVNode("span",null,"-",-1)),eg=i(()=>e.createElementVNode("label",null,"=",-1)),tg={class:"speed"},og=i(()=>e.createElementVNode("span",null,"-",-1)),lg=i(()=>e.createElementVNode("label",null,"=",-1)),ag={class:"speed"},ng=i(()=>e.createElementVNode("span",null,"-",-1)),sg=i(()=>e.createElementVNode("span",null,"-",-1)),cg=i(()=>e.createElementVNode("label",null,"=",-1)),ig={class:"speed"},dg={key:2,class:"under"},rg={key:3,class:"over"},mg={class:"flex-center"},pg=i(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),hg={class:"speed-right formula flex-space"},_g=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Eg=i(()=>e.createElementVNode("label",null,"-",-1)),yg=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Ng=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Vg=i(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),fg={key:0},xg=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),bg=i(()=>e.createElementVNode("label",null,"-",-1)),gg=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Dg=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),kg=i(()=>e.createElementVNode("label",null,"-",-1)),Cg=i(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Sg=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Bg=i(()=>e.createElementVNode("label",null,"-",-1)),wg=i(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Ag=i(()=>e.createElementVNode("label",null,"-",-1)),Tg=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Fg={key:2,class:"segment-speed"},Og={class:"flex-center"},Pg=i(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Lg={class:"speed-right flex-space"},Wg=i(()=>e.createElementVNode("span",null,"-",-1)),$g=i(()=>e.createElementVNode("span",null,"-",-1)),Hg=i(()=>e.createElementVNode("label",null,"=",-1)),Mg={class:"speed"},Ig=i(()=>e.createElementVNode("span",null,"-",-1)),Gg=i(()=>e.createElementVNode("label",null,"=",-1)),Rg={class:"speed"},zg={key:2,class:"under"},Ug={key:3,class:"over"},Yg={class:"flex-center"},Zg=i(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Qg={class:"speed-right formula flex-space"},Jg=i(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),Kg=i(()=>e.createElementVNode("label",null,"-",-1)),jg=i(()=>e.createElementVNode("label",null,"Current Factor",-1)),ug=i(()=>e.createElementVNode("label",null,"-",-1)),Xg=i(()=>e.createElementVNode("label",null,"Weather Factor",-1)),qg=i(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),vg=i(()=>e.createElementVNode("label",null,"-",-1)),e3=i(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),t3=i(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),o3=i(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),l3={class:"segment-formula"},a3={class:"header-block flex-start"},n3=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),s3={class:"title"},c3={key:0,style:{"margin-left":"4px","font-weight":"300"}},i3={class:"formula-block"},d3={class:"flex-evenly"},r3=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),m3={class:"formula-right flex-evenly"},p3={class:"fraction",style:{width:"240px"}},h3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),_3=i(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),E3=i(()=>e.createElementVNode("div",null,"(a)",-1)),y3={class:"flex-center"},N3={class:"formula-left flex-space"},V3=i(()=>e.createElementVNode("label",null,"=",-1)),f3={class:"formula-right flex-evenly"},x3={class:"fraction",style:{width:"240px"}},b3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),g3=i(()=>e.createElementVNode("div",null,"(b)",-1)),D3={class:"flex-center"},k3={class:"formula-left flex-space"},C3=i(()=>e.createElementVNode("label",null,"=",-1)),S3={class:"formula-right flex-evenly"},B3={class:"fraction",style:{width:"240px"}},w3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),A3=i(()=>e.createElementVNode("div",null,"(c)",-1)),T3=e.createStaticVNode('<div class="flex-start" data-v-5bb8fb56><div class="flex-space" style="width:300px;font-weight:400;" data-v-5bb8fb56><label data-v-5bb8fb56>Time Lost</label><div data-v-5bb8fb56>=</div><div data-v-5bb8fb56>(a)</div><div data-v-5bb8fb56>-</div><div data-v-5bb8fb56>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-5bb8fb56><label data-v-5bb8fb56>Time Gained</label><div data-v-5bb8fb56>=</div><div data-v-5bb8fb56>(c)</div><div data-v-5bb8fb56>-</div><div data-v-5bb8fb56>(a)</div></div></div>',1),F3={class:"formula-desc"},O3={class:"flex-end"},P3=i(()=>e.createElementVNode("label",null,"Time Lost",-1)),L3={class:"flex-end"},W3=i(()=>e.createElementVNode("label",null,"Time Gained",-1)),$3={class:"flex-end"},H3=i(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),M3={key:0,class:"formula-block",style:{"font-weight":"400"}},I3={class:"flex-evenly"},G3=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),R3={class:"formula-right flex-evenly"},z3={class:"fraction",style:{width:"240px"}},U3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),Y3=i(()=>e.createElementVNode("div",null,"=",-1)),Z3=i(()=>e.createElementVNode("div",null,"(a')",-1)),Q3={class:"flex-center"},J3={class:"formula-left flex-space"},K3=i(()=>e.createElementVNode("label",null,"=",-1)),j3={class:"formula-right flex-evenly"},u3={class:"fraction",style:{width:"240px"}},X3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),q3=i(()=>e.createElementVNode("div",null,"=",-1)),v3=i(()=>e.createElementVNode("div",null,"(b')",-1)),eD={class:"flex-center"},tD={class:"formula-left flex-space"},oD=i(()=>e.createElementVNode("label",null,"=",-1)),lD={class:"formula-right flex-evenly"},aD={class:"fraction",style:{width:"240px"}},nD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),sD=i(()=>e.createElementVNode("div",null,"=",-1)),cD=i(()=>e.createElementVNode("div",null,"(c')",-1)),iD={class:"formula-conclusion",style:{"margin-bottom":"0"}},dD={key:0,class:"flex-evenly",style:{width:"500px"}},rD=i(()=>e.createElementVNode("div",null,"Time Lost",-1)),mD=i(()=>e.createElementVNode("div",null,"=",-1)),pD=i(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),hD=i(()=>e.createElementVNode("div",null,"=",-1)),_D=i(()=>e.createElementVNode("div",null,"-",-1)),ED=i(()=>e.createElementVNode("div",null,"=",-1)),yD={key:1,class:"flex-evenly",style:{width:"500px"}},ND=i(()=>e.createElementVNode("div",null,"Time Lost",-1)),VD=i(()=>e.createElementVNode("div",null,"=",-1)),fD=i(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),xD=i(()=>e.createElementVNode("div",null,"=",-1)),bD=i(()=>e.createElementVNode("div",null,"-",-1)),gD=i(()=>e.createElementVNode("div",null,"=",-1)),DD=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),kD={key:1,class:"formula-conclusion"},CD=i(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),SD={class:"segment-formula"},BD={class:"header-block flex-start"},wD=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),AD={class:"title"},TD={key:0,style:{"margin-left":"4px","font-weight":"300"}},FD={class:"formula-block"},OD={class:"flex-evenly"},PD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),LD={class:"formula-right flex-evenly"},WD={class:"fraction",style:{width:"240px"}},$D=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),HD=i(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),MD=i(()=>e.createElementVNode("div",null,"x",-1)),ID=i(()=>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)),GD=i(()=>e.createElementVNode("div",null,"(d)",-1)),RD={style:{"line-height":"1"}},zD=i(()=>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)),UD={key:0,class:"tips flex-end",style:{"font-size":"14px"}},YD={class:"flex-center"},ZD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),QD={class:"formula-right flex-evenly"},JD={class:"fraction",style:{width:"240px"}},KD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),jD=i(()=>e.createElementVNode("div",null,"x",-1)),uD=i(()=>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)),XD=i(()=>e.createElementVNode("div",null,"(e)",-1)),qD={class:"flex-center"},vD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),ek={class:"formula-right flex-evenly"},tk={class:"fraction",style:{width:"240px"}},ok=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),lk=i(()=>e.createElementVNode("div",null,"x",-1)),ak=i(()=>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)),nk=i(()=>e.createElementVNode("div",null,"(f)",-1)),sk=e.createStaticVNode('<div class="flex-start" data-v-5bb8fb56><div class="flex-space" style="width:300px;font-weight:400;" data-v-5bb8fb56><label data-v-5bb8fb56>Fuel Over-consumption</label><div data-v-5bb8fb56>=</div><div data-v-5bb8fb56>(d)</div><div data-v-5bb8fb56>-</div><div data-v-5bb8fb56>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-5bb8fb56><label data-v-5bb8fb56>Fuel Saving</label><div data-v-5bb8fb56>=</div><div data-v-5bb8fb56>(f)</div><div data-v-5bb8fb56>-</div><div data-v-5bb8fb56>(d)</div></div></div>',1),ck={class:"flex-center"},ik=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),dk={class:"formula-right flex-evenly"},rk={class:"fraction",style:{width:"270px"}},mk=i(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),pk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),hk={class:"flex-center"},_k=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),Ek={class:"formula-right flex-evenly"},yk={class:"fraction",style:{width:"270px"}},Nk=i(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),Vk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),fk=i(()=>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)),xk={class:"header-block flex-start",style:{"margin-top":"10px"}},bk=i(()=>e.createElementVNode("i",{class:"iconfont"}," ",-1)),gk={class:"title"},Dk={key:0,class:"formula-block"},kk={key:0,class:"flex-evenly"},Ck=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"* Good Weather M/E DO/GO Cons. in ECA"),e.createElementVNode("label",null,"=")],-1)),Sk={class:"formula-right flex-evenly"},Bk={class:"fraction",style:{width:"60px"}},wk=i(()=>e.createElementVNode("div",null,"-",-1)),Ak={class:"fraction",style:{width:"60px"}},Tk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),Fk=i(()=>e.createElementVNode("div",null,"24",-1)),Ok=i(()=>e.createElementVNode("div",null,"*",-1)),Pk=i(()=>e.createElementVNode("div",null,"=",-1)),Lk={class:"flex-evenly"},Wk=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),$k={class:"formula-right flex-evenly"},Hk={class:"fraction",style:{width:"240px"}},Mk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),Ik=i(()=>e.createElementVNode("div",null,"x",-1)),Gk={class:"fraction",style:{width:"240px"}},Rk={key:0},zk=i(()=>e.createElementVNode("span",null," + ",-1)),Uk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),Yk=i(()=>e.createElementVNode("div",null,"=",-1)),Zk=i(()=>e.createElementVNode("div",null,"(d')",-1)),Qk={class:"flex-evenly"},Jk=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),Kk={class:"formula-right flex-evenly"},jk={class:"fraction",style:{width:"240px"}},uk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),Xk=i(()=>e.createElementVNode("div",null,"x",-1)),qk={class:"fraction",style:{width:"240px"}},vk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),eC=i(()=>e.createElementVNode("div",null,"24",-1)),tC=i(()=>e.createElementVNode("div",null,"=",-1)),oC=i(()=>e.createElementVNode("div",null,"(e')",-1)),lC={class:"flex-evenly"},aC=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),nC={class:"formula-right flex-evenly"},sC={class:"fraction",style:{width:"240px"}},cC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),iC=i(()=>e.createElementVNode("div",null,"x",-1)),dC={class:"fraction",style:{width:"240px"}},rC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),mC=i(()=>e.createElementVNode("div",null,"24",-1)),pC=i(()=>e.createElementVNode("div",null,"=",-1)),hC=i(()=>e.createElementVNode("div",null,"(f')",-1)),_C={class:"formula-conclusion",style:{"margin-bottom":"0"}},EC={class:"flex-evenly",style:{width:"500px"}},yC=i(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),NC=i(()=>e.createElementVNode("div",null,"=",-1)),VC=i(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),fC=i(()=>e.createElementVNode("div",null,"=",-1)),xC=i(()=>e.createElementVNode("div",null,"-",-1)),bC=i(()=>e.createElementVNode("div",null,"=",-1)),gC={key:0,class:"flex-evenly"},DC=i(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),kC=i(()=>e.createElementVNode("div",null,"=",-1)),CC={class:"fraction"},SC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),BC=i(()=>e.createElementVNode("div",null,"=",-1)),wC={class:"flex-evenly",style:{width:"700px"}},AC=i(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),TC=i(()=>e.createElementVNode("div",null,"=",-1)),FC=i(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),OC=i(()=>e.createElementVNode("div",null,"=",-1)),PC=i(()=>e.createElementVNode("div",null,"-",-1)),LC=i(()=>e.createElementVNode("div",null,"=",-1)),WC={key:0,class:"flex-evenly",style:{width:"500px"}},$C=i(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),HC=i(()=>e.createElementVNode("div",null,"=",-1)),MC={class:"fraction",style:{width:"140px"}},IC=i(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),GC=i(()=>e.createElementVNode("div",null,"=",-1)),RC=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),zC={key:1,class:"formula-conclusion"},UC={class:"header-block flex-end",style:{"margin-top":"10px"}},YC=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),ZC={class:"title"},QC={key:0,class:"formula-block"},JC={class:"flex-evenly"},KC=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),jC={class:"formula-right flex-evenly"},uC={class:"fraction",style:{width:"240px"}},XC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),qC=i(()=>e.createElementVNode("div",null,"x",-1)),vC={class:"fraction",style:{width:"240px"}},eS={key:0},tS=i(()=>e.createElementVNode("span",null," - ",-1)),oS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),lS=i(()=>e.createElementVNode("div",null,"=",-1)),aS=i(()=>e.createElementVNode("div",null,"(d'')",-1)),nS={class:"flex-evenly"},sS=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),cS={class:"formula-right flex-evenly"},iS={class:"fraction",style:{width:"240px"}},dS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),rS=i(()=>e.createElementVNode("div",null,"x",-1)),mS={class:"fraction",style:{width:"240px"}},pS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),hS=i(()=>e.createElementVNode("div",null,"24",-1)),_S=i(()=>e.createElementVNode("div",null,"=",-1)),ES=i(()=>e.createElementVNode("div",null,"(e'')",-1)),yS={class:"flex-evenly"},NS=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),VS={class:"formula-right flex-evenly"},fS={class:"fraction",style:{width:"240px"}},xS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),bS=i(()=>e.createElementVNode("div",null,"x",-1)),gS={class:"fraction",style:{width:"240px"}},DS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),kS=i(()=>e.createElementVNode("div",null,"24",-1)),CS=i(()=>e.createElementVNode("div",null,"=",-1)),SS=i(()=>e.createElementVNode("div",null,"(f'')",-1)),BS={class:"formula-conclusion",style:{"margin-bottom":"0"}},wS={key:0,class:"flex-evenly",style:{width:"500px"}},AS=i(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),TS=i(()=>e.createElementVNode("div",null,"=",-1)),FS=i(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),OS=i(()=>e.createElementVNode("div",null,"=",-1)),PS=i(()=>e.createElementVNode("div",null,"-",-1)),LS=i(()=>e.createElementVNode("div",null,"=",-1)),WS={key:1,class:"flex-evenly",style:{width:"700px"}},$S=i(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),HS=i(()=>e.createElementVNode("div",null,"=",-1)),MS=i(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),IS=i(()=>e.createElementVNode("div",null,"=",-1)),GS=i(()=>e.createElementVNode("div",null,"-",-1)),RS=i(()=>e.createElementVNode("div",null,"=",-1)),zS=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),US={key:1,class:"formula-conclusion"};function YS(t,s,l,r,a,n){var x,b,h,y,k,g,C,D,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",J0,[e.createElementVNode("div",K0,[e.createElementVNode("div",j0,[e.createElementVNode("div",u0,[X0,e.createElementVNode("span",q0,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",v0,[e2,e.createElementVNode("span",t2,e.toDisplayString((b=(x=l.report)==null?void 0:x.vessel)==null?void 0:b.name)+" ("+e.toDisplayString((y=(h=l.report)==null?void 0:h.vessel)==null?void 0:y.type)+")",1)]),e.createElementVNode("div",o2,[l2,e.createElementVNode("span",a2,e.toDisplayString((g=(k=l.report)==null?void 0:k.voyage)==null?void 0:g.number),1)])]),e.createElementVNode("div",n2,[e.createElementVNode("div",s2,[c2,(D=(C=l.report)==null?void 0:C.departure)!=null&&D.portName?(e.openBlock(),e.createElementBlock("span",i2,e.toDisplayString((F=(T=l.report)==null?void 0:T.departure)==null?void 0:F.portName),1)):(e.openBlock(),e.createElementBlock("div",d2,[e.createVNode(E,{lat:(w=(B=l.report)==null?void 0:B.departure)==null?void 0:w.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),r2,e.createVNode(c,{lng:(f=l.report.departure)==null?void 0:f.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",m2,e.toDisplayString(n.computeUTCTime((O=l.report.departure)==null?void 0:O.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",p2,[h2,(G=(I=l.report)==null?void 0:I.arrival)!=null&&G.portName?(e.openBlock(),e.createElementBlock("span",_2,e.toDisplayString((z=(R=l.report)==null?void 0:R.arrival)==null?void 0:z.portName),1)):(e.openBlock(),e.createElementBlock("div",E2,[e.createVNode(E,{lat:(L=(_=l.report)==null?void 0:_.arrival)==null?void 0:L.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),y2,e.createVNode(c,{lng:(W=(H=l.report)==null?void 0:H.arrival)==null?void 0:W.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",N2,e.toDisplayString(n.computeUTCTime((M=(P=l.report)==null?void 0:P.arrival)==null?void 0:M.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",V2,[f2,e.createElementVNode("span",x2,e.toDisplayString((U=(Q=l.report)==null?void 0:Q.voyage)==null?void 0:U.loadCondition),1)])])]),e.createElementVNode("div",b2,[g2,e.createElementVNode("div",D2,[e.createElementVNode("div",k2,e.toDisplayString(n.computeWeatherDef(l.report.weather)),1)])]),e.createElementVNode("div",C2,[S2,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((J=l.report)==null?void 0:J.segments,(o,u)=>{var v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,xe,be,ge,De,ke,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,Ke,je,ue,A,Se,Ge,Xe,qe,ve,et,tt,m;return e.openBlock(),e.createElementBlock("div",{key:"summary"+u,class:"segment-box flex-space"},[e.createElementVNode("div",B2,[e.createElementVNode("div",w2,"Seg."+e.toDisplayString(u+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((v=o==null?void 0:o.extend)==null?void 0:v.segTimes,($,Be)=>{var Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt;return e.openBlock(),e.createElementBlock("div",{key:Be,class:"phase-row flex-space"},[e.createElementVNode("div",A2,[(Me=$==null?void 0:$.departure)!=null&&Me.portName?(e.openBlock(),e.createElementBlock("span",T2,e.toDisplayString((Re=$==null?void 0:$.departure)==null?void 0:Re.portName),1)):(e.openBlock(),e.createElementBlock("span",F2,e.toDisplayString(n.computeLat((pe=$==null?void 0:$.departure)==null?void 0:pe.lat).pretty)+", "+e.toDisplayString(n.computeLng((Ue=$==null?void 0:$.departure)==null?void 0:Ue.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((ot=$==null?void 0:$.departure)==null?void 0:ot.utcTime))+")",1)]),O2,e.createElementVNode("div",P2,[(lt=$==null?void 0:$.arrival)!=null&<.portName?(e.openBlock(),e.createElementBlock("span",L2,e.toDisplayString((dt=$==null?void 0:$.arrival)==null?void 0:dt.portName),1)):(e.openBlock(),e.createElementBlock("span",W2,e.toDisplayString(n.computeLat((rt=$==null?void 0:$.arrival)==null?void 0:rt.lat).pretty)+", "+e.toDisplayString(n.computeLng((mt=$==null?void 0:$.arrival)==null?void 0:mt.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((pt=$==null?void 0:$.arrival)==null?void 0:pt.utcTime))+")",1)])])}),128)),$2,e.createElementVNode("div",H2,[e.createElementVNode("div",M2,[I2,e.createElementVNode("div",G2,[R2,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((te=(ee=o==null?void 0:o.extend)==null?void 0:ee.cp)==null?void 0:te.speed)+" |",1),e.createElementVNode("span",null,[z2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(le=(oe=o==null?void 0:o.extend)==null?void 0:oe.cp)==null?void 0:le.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[U2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(ie=(ce=o==null?void 0:o.extend)==null?void 0:ce.cp)==null?void 0:ie.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((_e=(de=o==null?void 0:o.extend)==null?void 0:de.cp)==null?void 0:_e.fo)+" |",1),e.createElementVNode("span",null,[Y2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(o==null?void 0:o.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[Z2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(o==null?void 0:o.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((me=(X=o==null?void 0:o.extend)==null?void 0:X.cp)==null?void 0:me.dgo)+" |",1),e.createElementVNode("span",null,[Q2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(o==null?void 0:o.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[J2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(o==null?void 0:o.fuelConclusion,"Under")),1)])])])])]),K2,e.createElementVNode("div",j2,[e.createElementVNode("div",u2,[X2,e.createElementVNode("div",q2,[e.createElementVNode("div",null,e.toDisplayString(o.allWx.time),1),v2]),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",ex,[((Ee=o==null?void 0:o.timeConclusion)==null?void 0:Ee.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",tx,"Time Gained")):((ye=o==null?void 0:o.timeConclusion)==null?void 0:ye.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",ox,"Time Lost")):(e.openBlock(),e.createElementBlock("div",lx,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",ax,e.toDisplayString(a.noGoodWxDay),1)),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",nx,[((re=o==null?void 0:o.timeConclusion)==null?void 0:re.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",sx,[cx,e.createElementVNode("span",ix,e.toDisplayString((fe=o==null?void 0:o.timeConclusion)==null?void 0:fe.timeGain),1),dx])):((xe=o==null?void 0:o.timeConclusion)==null?void 0:xe.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",rx,[mx,e.createElementVNode("span",px,e.toDisplayString((be=o==null?void 0:o.timeConclusion)==null?void 0:be.timeLost),1),hx])):(e.openBlock(),e.createElementBlock("div",_x,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Ex,[yx,e.createElementVNode("div",Nx,[e.createElementVNode("div",null,e.toDisplayString(o.allWx.sumFoCons),1),Vx]),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",fx,[((De=(ge=o==null?void 0:o.fuelConclusion)==null?void 0:ge.fo)==null?void 0:De.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",xx,"FO Saving")):((Te=(ke=o==null?void 0:o.fuelConclusion)==null?void 0:ke.fo)==null?void 0:Te.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",bx,"FO Over-consumption")):(e.openBlock(),e.createElementBlock("div",gx,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",Dx,e.toDisplayString(a.noGoodWxDay),1)),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",kx,[((Oe=(Fe=o==null?void 0:o.fuelConclusion)==null?void 0:Fe.fo)==null?void 0:Oe.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Cx,[Sx,e.createElementVNode("span",Bx,e.toDisplayString((Le=(Pe=o==null?void 0:o.fuelConclusion)==null?void 0:Pe.fo)==null?void 0:Le.saving),1),wx])):(($e=(We=o==null?void 0:o.fuelConclusion)==null?void 0:We.fo)==null?void 0:$e.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Ax,[Tx,e.createElementVNode("span",Fx,e.toDisplayString((Ne=(He=o==null?void 0:o.fuelConclusion)==null?void 0:He.fo)==null?void 0:Ne.overCons),1),Ox])):(e.openBlock(),e.createElementBlock("div",Px,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Lx,[Wx,e.createElementVNode("div",$x,[e.createElementVNode("div",null,e.toDisplayString(o.allWx.sumDgoCons),1),Hx]),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Mx,[((je=(Ke=o==null?void 0:o.fuelConclusion)==null?void 0:Ke.dgo)==null?void 0:je.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Ix,"DO/GO Saving")):((A=(ue=o==null?void 0:o.fuelConclusion)==null?void 0:ue.dgo)==null?void 0:A.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Gx,"DO/GO Over-consumption")):(e.openBlock(),e.createElementBlock("div",Rx,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",zx,e.toDisplayString(a.noGoodWxDay),1)),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Ux,[((Ge=(Se=o==null?void 0:o.fuelConclusion)==null?void 0:Se.dgo)==null?void 0:Ge.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Yx,[Zx,e.createElementVNode("span",Qx,e.toDisplayString((qe=(Xe=o==null?void 0:o.fuelConclusion)==null?void 0:Xe.dgo)==null?void 0:qe.saving),1),Jx])):((et=(ve=o==null?void 0:o.fuelConclusion)==null?void 0:ve.dgo)==null?void 0:et.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Kx,[jx,e.createElementVNode("span",ux,e.toDisplayString((m=(tt=o==null?void 0:o.fuelConclusion)==null?void 0:tt.dgo)==null?void 0:m.overCons),1),Xx])):(e.openBlock(),e.createElementBlock("div",qx,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),vx]),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((ne=l.report)==null?void 0:ne.remarks)&&!a.exclusion.length?"section remark-section print-hidden":"section remark-section")},[eb,a.exclusion.length?(e.openBlock(),e.createElementBlock("div",tb,[ob,lb,e.createElementVNode("div",ab,[e.createElementVNode("table",nb,[sb,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.exclusion,(o,u)=>(e.openBlock(),e.createElementBlock("tr",{key:u},[e.createElementVNode("td",null,e.toDisplayString(u+1),1),e.createElementVNode("td",null,e.toDisplayString(o.time),1),e.createElementVNode("td",null,e.toDisplayString(o.duration),1),e.createElementVNode("td",null,e.toDisplayString(o.distance),1),e.createElementVNode("td",null,e.toDisplayString(o.fo),1),e.createElementVNode("td",null,e.toDisplayString(o.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((se=l.report)==null?void 0:se.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[a.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=o=>a.remarks=o),class:"editor",height:"120px",onBlur:s[1]||(s[1]=o=>n.handleCommit(o))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[2]||(s[2]=(...o)=>n.handleEdit&&n.handleEdit(...o)),innerHTML:a.remarks},null,40,cb))],2)],2),e.createElementVNode("div",ib,[db,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.report.segments,(o,u)=>{var v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,xe,be,ge,De,ke,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,Ke,je,ue,A,Se,Ge,Xe,qe,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,xt,bt,gt,Dt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo,S,Ie,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,ut,Xt,qt,vt,eo,to,oo,lo,yo,No,Vo,fo,xo,bo,go,Do,ko,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Ro,zo,Uo,Yo,Zo,Qo,Jo,Ko,jo,uo,Xo,qo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl,st,pl,El,yl,Nl,Vl,fl,xl,bl,gl,Dl,kl,Cl,Sl,Bl,wl,Al,Tl,Fl,Ol,Pl,Ll,Wl,$l,Hl,Ml,Il,Gl,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,jl,ul,Xl,ql,vl,ea,ta,oa,la,aa,na,sa,ca,ia,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,xa,ba,ga,Da,ka,Ca,Sa,Ba,wa,Aa,Ta,Fa,Oa,Pa,La,Wa,$a,Ha,Z,ao,Ma,Ia,Ga,Ra,za,Ua,Ya,Za,Qe,qa,va,en,j,Mo,tn,on,ln,an,nn,sn,cn,dn,ct,Hn,Mn,In,Gn,Rn,zn,Un,Yn,Zn,Qn,Jn,Kn,jn,un,Xn,qn,vn,es,ts,os,ls,as,ns,ss,cs,is,ds,rs,ms,ps,hs,_s,Es,ys,Ns,Vs,fs,xs,bs,gs,Ds,ks,Cs,Ss,Bs,ws,As,Ts,Fs,Os,Ps,Ls,Ws,$s,Hs,Ms,Is,Gs,Rs,zs,Us,Ys,Zs,Qs,Js,Ks,js,us,Xs,qs,vs,ec,tc,oc,lc,ac,nc,sc,cc,ic,dc,rc,mc,pc,hc,_c,Ec,yc,Nc,Vc,fc,xc,bc,gc,Dc,kc,Cc;return e.openBlock(),e.createElementBlock("div",{key:u,class:"segment-block"},[e.createElementVNode("div",rb,"Voyage Analysis Seg. "+e.toDisplayString(u+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((v=o==null?void 0:o.extend)==null?void 0:v.segTimes,(we,WU)=>{var Sc,Bc,wc,Ac,Tc,Fc,Oc,Pc,Lc,Wc;return e.openBlock(),e.createElementBlock("div",{key:WU,class:"segment-row flex-space"},[e.createElementVNode("div",mb,[(Sc=we==null?void 0:we.departure)!=null&&Sc.portName?(e.openBlock(),e.createElementBlock("span",pb,e.toDisplayString((Bc=we==null?void 0:we.departure)==null?void 0:Bc.portName),1)):(e.openBlock(),e.createElementBlock("span",hb,e.toDisplayString(n.computeLat((wc=we==null?void 0:we.departure)==null?void 0:wc.lat).pretty)+", "+e.toDisplayString(n.computeLng((Ac=we==null?void 0:we.departure)==null?void 0:Ac.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Tc=we==null?void 0:we.departure)==null?void 0:Tc.utcTime))+")",1)]),_b,e.createElementVNode("div",Eb,[(Fc=we==null?void 0:we.arrival)!=null&&Fc.portName?(e.openBlock(),e.createElementBlock("span",yb,e.toDisplayString((Oc=we==null?void 0:we.arrival)==null?void 0:Oc.portName),1)):(e.openBlock(),e.createElementBlock("span",Nb,e.toDisplayString(n.computeLat((Pc=we==null?void 0:we.arrival)==null?void 0:Pc.lat).pretty)+", "+e.toDisplayString(n.computeLng((Lc=we==null?void 0:we.arrival)==null?void 0:Lc.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Wc=we==null?void 0:we.arrival)==null?void 0:Wc.utcTime))+")",1)])])}),128)),Vb,e.createElementVNode("div",fb,[e.createElementVNode("table",null,[xb,bb,e.createElementVNode("tr",null,[gb,e.createElementVNode("td",Db,e.toDisplayString((te=(ee=o==null?void 0:o.goodWx)==null?void 0:ee.outEca)==null?void 0:te.distance),1),e.createElementVNode("td",kb,e.toDisplayString((le=(oe=o==null?void 0:o.goodWx)==null?void 0:oe.inEca)==null?void 0:le.distance),1),e.createElementVNode("td",null,e.toDisplayString((ie=(ce=o==null?void 0:o.allWx)==null?void 0:ce.outEca)==null?void 0:ie.distance),1),e.createElementVNode("td",null,e.toDisplayString((_e=(de=o==null?void 0:o.allWx)==null?void 0:de.inEca)==null?void 0:_e.distance),1)]),e.createElementVNode("tr",null,[Cb,e.createElementVNode("td",Sb,e.toDisplayString((me=(X=o==null?void 0:o.goodWx)==null?void 0:X.outEca)==null?void 0:me.time),1),e.createElementVNode("td",Bb,e.toDisplayString((ye=(Ee=o==null?void 0:o.goodWx)==null?void 0:Ee.inEca)==null?void 0:ye.time),1),e.createElementVNode("td",null,e.toDisplayString((fe=(re=o==null?void 0:o.allWx)==null?void 0:re.outEca)==null?void 0:fe.time),1),e.createElementVNode("td",null,e.toDisplayString((be=(xe=o==null?void 0:o.allWx)==null?void 0:xe.inEca)==null?void 0:be.time),1)]),e.createElementVNode("tr",null,[wb,e.createElementVNode("td",Ab,e.toDisplayString(((De=(ge=o==null?void 0:o.goodWx)==null?void 0:ge.outEca)==null?void 0:De.avgSpd)||"--"),1),e.createElementVNode("td",Tb,e.toDisplayString(((Te=(ke=o==null?void 0:o.goodWx)==null?void 0:ke.inEca)==null?void 0:Te.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Oe=(Fe=o==null?void 0:o.allWx)==null?void 0:Fe.outEca)==null?void 0:Oe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Le=(Pe=o==null?void 0:o.allWx)==null?void 0:Pe.inEca)==null?void 0:Le.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[Fb,e.createElementVNode("td",Ob,e.toDisplayString((($e=(We=o==null?void 0:o.goodWx)==null?void 0:We.outEca)==null?void 0:$e.sumFoCons)||"--"),1),e.createElementVNode("td",Pb,e.toDisplayString(((Ne=(He=o==null?void 0:o.goodWx)==null?void 0:He.inEca)==null?void 0:Ne.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((je=(Ke=o==null?void 0:o.allWx)==null?void 0:Ke.outEca)==null?void 0:je.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((A=(ue=o==null?void 0:o.allWx)==null?void 0:ue.inEca)==null?void 0:A.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Lb,e.createElementVNode("td",Wb,e.toDisplayString(((Ge=(Se=o==null?void 0:o.goodWx)==null?void 0:Se.outEca)==null?void 0:Ge.avgFoCons)||"--"),1),e.createElementVNode("td",$b,e.toDisplayString(((qe=(Xe=o==null?void 0:o.goodWx)==null?void 0:Xe.inEca)==null?void 0:qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((et=(ve=o==null?void 0:o.allWx)==null?void 0:ve.outEca)==null?void 0:et.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(tt=o==null?void 0:o.allWx)==null?void 0:tt.inEca)==null?void 0:m.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Hb,e.createElementVNode("td",Mb,e.toDisplayString(((Be=($=o==null?void 0:o.goodWx)==null?void 0:$.outEca)==null?void 0:Be.sumDgoCons)||"--"),1),e.createElementVNode("td",Ib,e.toDisplayString(((Re=(Me=o==null?void 0:o.goodWx)==null?void 0:Me.inEca)==null?void 0:Re.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ue=(pe=o==null?void 0:o.allWx)==null?void 0:pe.outEca)==null?void 0:Ue.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((lt=(ot=o==null?void 0:o.allWx)==null?void 0:ot.inEca)==null?void 0:lt.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[Gb,e.createElementVNode("td",Rb,e.toDisplayString(((rt=(dt=o==null?void 0:o.goodWx)==null?void 0:dt.outEca)==null?void 0:rt.avgDgoCons)||"--"),1),e.createElementVNode("td",zb,e.toDisplayString(((pt=(mt=o==null?void 0:o.goodWx)==null?void 0:mt.inEca)==null?void 0:pt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Et=(_t=o==null?void 0:o.allWx)==null?void 0:_t.outEca)==null?void 0:Et.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Nt=(yt=o==null?void 0:o.allWx)==null?void 0:yt.inEca)==null?void 0:Nt.avgDgoCons)||"--"),1)])])]),(Vt=a.exclusion[u])!=null&&Vt.time?(e.openBlock(),e.createElementBlock("div",Ub,"*The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel.")):e.createCommentVNode("",!0),(ft=o==null?void 0:o.goodWx)!=null&&ft.distance?(e.openBlock(),e.createElementBlock("div",Yb,[e.createElementVNode("div",Zb,[Qb,e.createElementVNode("div",Jb,[(bt=(xt=l.report)==null?void 0:xt.weather)!=null&&bt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Ot=(Ft=l.report)==null?void 0:Ft.weather)!=null&&Ot.disableWxFactor&&((no=(Pt=l.report)==null?void 0:Pt.weather)!=null&&no.disableCFactor)?(e.openBlock(),e.createElementBlock("span",qb,e.toDisplayString((so=o==null?void 0:o.goodWx)==null?void 0:so.pfmSpd)+" (kts)",1)):(io=(co=l.report)==null?void 0:co.weather)!=null&&io.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((ro=o==null?void 0:o.goodWx)==null?void 0:ro.avgSpd),1),vb,e.createElementVNode("span",null,e.toDisplayString(((mo=o==null?void 0:o.goodWx)==null?void 0:mo.avgCf)>0?(po=o==null?void 0:o.goodWx)==null?void 0:po.avgCf:`(${(ho=o==null?void 0:o.goodWx)==null?void 0:ho.avgCf})`),1),eg,e.createElementVNode("span",tg,e.toDisplayString((_o=o==null?void 0:o.goodWx)==null?void 0:_o.pfmSpd)+" (kts)",1)],64)):(S=(Eo=l.report)==null?void 0:Eo.weather)!=null&&S.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((Ie=o==null?void 0:o.goodWx)==null?void 0:Ie.avgSpd),1),og,e.createElementVNode("span",null,e.toDisplayString(((at=o==null?void 0:o.goodWx)==null?void 0:at.avgWf)>0?(nt=o==null?void 0:o.goodWx)==null?void 0:nt.avgWf:`(${(ht=o==null?void 0:o.goodWx)==null?void 0:ht.avgWf})`),1),lg,e.createElementVNode("span",ag,e.toDisplayString((Lt=o==null?void 0:o.goodWx)==null?void 0:Lt.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString((Wt=o==null?void 0:o.goodWx)==null?void 0:Wt.avgSpd),1),ng,e.createElementVNode("span",null,e.toDisplayString((($t=o==null?void 0:o.goodWx)==null?void 0:$t.avgWf)>0?(Ht=o==null?void 0:o.goodWx)==null?void 0:Ht.avgWf:`(${(Mt=o==null?void 0:o.goodWx)==null?void 0:Mt.avgWf})`),1),sg,e.createElementVNode("span",null,e.toDisplayString(((It=o==null?void 0:o.goodWx)==null?void 0:It.avgCf)>0?(Gt=o==null?void 0:o.goodWx)==null?void 0:Gt.avgCf:`(${(Rt=o==null?void 0:o.goodWx)==null?void 0:Rt.avgCf})`),1),cg,e.createElementVNode("span",ig,e.toDisplayString((zt=o==null?void 0:o.goodWx)==null?void 0:zt.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Dt=(gt=l.report)==null?void 0:gt.weather)!=null&&Dt.favorableCur&&((kt=o==null?void 0:o.goodWx)==null?void 0:kt.avgCf)>0?(e.openBlock(),e.createElementBlock("span",Xb,e.toDisplayString((Tt=o==null?void 0:o.goodWx)==null?void 0:Tt.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((Ct=o==null?void 0:o.goodWx)==null?void 0:Ct.avgSpd),1),Kb,e.createElementVNode("span",null,e.toDisplayString(((St=o==null?void 0:o.goodWx)==null?void 0:St.avgCf)>0?(Bt=o==null?void 0:o.goodWx)==null?void 0:Bt.avgCf:`(${(wt=o==null?void 0:o.goodWx)==null?void 0:wt.avgCf})`),1),jb,e.createElementVNode("span",ub,e.toDisplayString((At=o==null?void 0:o.goodWx)==null?void 0:At.pfmSpd)+" (kts)",1)],64))],64)),((Ut=o==null?void 0:o.goodWx)==null?void 0:Ut.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",dg,"(Under-performance)")):e.createCommentVNode("",!0),((Yt=o==null?void 0:o.goodWx)==null?void 0:Yt.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",rg,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",mg,[pg,e.createElementVNode("div",hg,[(Qt=(Zt=l.report)==null?void 0:Zt.weather)!=null&&Qt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Xt=(ut=l.report)==null?void 0:ut.weather)!=null&&Xt.disableWxFactor&&((vt=(qt=l.report)==null?void 0:qt.weather)!=null&&vt.disableCFactor)?(e.openBlock(),e.createElementBlock("label",fg,"GW Average Speed")):(to=(eo=l.report)==null?void 0:eo.weather)!=null&&to.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[xg,bg,gg],64)):(lo=(oo=l.report)==null?void 0:oo.weather)!=null&&lo.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[Dg,kg,Cg],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[Sg,Bg,wg,Ag,Tg],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Kt=(Jt=l.report)==null?void 0:Jt.weather)!=null&&Kt.favorableCur&&((jt=o==null?void 0:o.goodWx)==null?void 0:jt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Ng,Vg],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[_g,Eg,yg],64))],64))])])])):(e.openBlock(),e.createElementBlock("div",Fg,[e.createElementVNode("div",Og,[Pg,e.createElementVNode("div",Lg,[(No=(yo=l.report)==null?void 0:yo.weather)!=null&&No.favorableCur&&((Vo=o==null?void 0:o.allWx)==null?void 0:Vo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((Bo=o==null?void 0:o.allWx)==null?void 0:Bo.avgSpd),1),Ig,e.createElementVNode("span",null,e.toDisplayString(((wo=o==null?void 0:o.allWx)==null?void 0:wo.avgWf)>0?(Ao=o==null?void 0:o.allWx)==null?void 0:Ao.avgWf:`(${(To=o==null?void 0:o.allWx)==null?void 0:To.avgWf})`),1),Gg,e.createElementVNode("span",Rg,e.toDisplayString((Fo=o==null?void 0:o.allWx)==null?void 0:Fo.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((fo=o==null?void 0:o.allWx)==null?void 0:fo.avgSpd),1),Wg,e.createElementVNode("span",null,e.toDisplayString(((xo=o==null?void 0:o.allWx)==null?void 0:xo.avgCf)>0?(bo=o==null?void 0:o.allWx)==null?void 0:bo.avgCf:`(${(go=o==null?void 0:o.allWx)==null?void 0:go.avgCf})`),1),$g,e.createElementVNode("span",null,e.toDisplayString(((Do=o==null?void 0:o.allWx)==null?void 0:Do.avgWf)>0?(ko=o==null?void 0:o.allWx)==null?void 0:ko.avgWf:`(${(Co=o==null?void 0:o.allWx)==null?void 0:Co.avgWf})`),1),Hg,e.createElementVNode("span",Mg,e.toDisplayString((So=o==null?void 0:o.allWx)==null?void 0:So.pfmSpd)+" (kts)",1)],64)),((Oo=o==null?void 0:o.allWx)==null?void 0:Oo.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",zg,"(Under-performance)")):e.createCommentVNode("",!0),((Po=o==null?void 0:o.allWx)==null?void 0:Po.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",Ug,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Yg,[Zg,e.createElementVNode("div",Qg,[(Wo=(Lo=l.report)==null?void 0:Lo.weather)!=null&&Wo.favorableCur&&(($o=o==null?void 0:o.allWx)==null?void 0:$o.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[qg,vg,e3,t3],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Jg,Kg,jg,ug,Xg],64))])])])),o3,e.createElementVNode("div",l3,[e.createElementVNode("div",a3,[n3,e.createElementVNode("div",s3,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(u+1)+" Time Analysis",1),(Ro=(Ho=l.report)==null?void 0:Ho.weather)!=null&&Ro.noExtrapolation?(e.openBlock(),e.createElementBlock("span",c3,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",i3,[e.createElementVNode("div",d3,[r3,e.createElementVNode("div",m3,[e.createElementVNode("div",p3,[e.createElementVNode("div",null,e.toDisplayString((Uo=(zo=l.report)==null?void 0:zo.weather)!=null&&Uo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),h3,_3]),E3])]),e.createElementVNode("div",y3,[e.createElementVNode("div",N3,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(Zo=(Yo=o==null?void 0:o.extend)==null?void 0:Yo.cp)==null?void 0:Zo.speed,"Under"))+"kts)",1),V3]),e.createElementVNode("div",f3,[e.createElementVNode("div",x3,[e.createElementVNode("div",null,e.toDisplayString((Jo=(Qo=l.report)==null?void 0:Qo.weather)!=null&&Jo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),b3,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(jo=(Ko=o==null?void 0:o.extend)==null?void 0:Ko.cp)==null?void 0:jo.speed,"Under"))+"kts",1)]),g3])]),e.createElementVNode("div",D3,[e.createElementVNode("div",k3,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(Xo=(uo=o==null?void 0:o.extend)==null?void 0:uo.cp)==null?void 0:Xo.speed,"Over"))+"kts)",1),C3]),e.createElementVNode("div",S3,[e.createElementVNode("div",B3,[e.createElementVNode("div",null,e.toDisplayString((vo=(qo=l.report)==null?void 0:qo.weather)!=null&&vo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),w3,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(tl=(el=o==null?void 0:o.extend)==null?void 0:el.cp)==null?void 0:tl.speed,"Over"))+"kts",1)]),A3])]),T3]),e.createElementVNode("div",F3,[e.createElementVNode("div",O3,[P3,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(ll=(ol=o==null?void 0:o.extend)==null?void 0:ol.cp)==null?void 0:ll.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",L3,[W3,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(nl=(al=o==null?void 0:o.extend)==null?void 0:al.cp)==null?void 0:nl.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",$3,[H3,e.createElementVNode("div",null," Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(cl=(sl=o==null?void 0:o.extend)==null?void 0:sl.cp)==null?void 0:cl.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(dl=(il=o==null?void 0:o.extend)==null?void 0:il.cp)==null?void 0:dl.speed,"Under"))+" kts) ",1)])]),(rl=o==null?void 0:o.goodWx)!=null&&rl.distance?(e.openBlock(),e.createElementBlock("div",M3,[e.createElementVNode("div",I3,[G3,e.createElementVNode("div",R3,[e.createElementVNode("div",z3,[e.createElementVNode("div",null,e.toDisplayString((pl=(st=l.report)==null?void 0:st.weather)!=null&&pl.noExtrapolation?(El=o==null?void 0:o.goodWx)==null?void 0:El.distance:(yl=o==null?void 0:o.allWx)==null?void 0:yl.distance),1),U3,e.createElementVNode("div",null,e.toDisplayString((Nl=o==null?void 0:o.goodWx)==null?void 0:Nl.pfmSpd),1)]),Y3,e.createElementVNode("div",null,e.toDisplayString((Vl=o==null?void 0:o.timeConclusion)==null?void 0:Vl.timeAtPfmSpd)+" (hrs)",1),Z3])]),e.createElementVNode("div",Q3,[e.createElementVNode("div",J3,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(xl=(fl=o==null?void 0:o.extend)==null?void 0:fl.cp)==null?void 0:xl.speed,"Under"))+"kts)",1),K3]),e.createElementVNode("div",j3,[e.createElementVNode("div",u3,[e.createElementVNode("div",null,e.toDisplayString((gl=(bl=l.report)==null?void 0:bl.weather)!=null&&gl.noExtrapolation?(Dl=o==null?void 0:o.goodWx)==null?void 0:Dl.distance:(kl=o==null?void 0:o.allWx)==null?void 0:kl.distance),1),X3,e.createElementVNode("div",null,e.toDisplayString((Cl=o==null?void 0:o.timeConclusion)==null?void 0:Cl.minusAbtSpd),1)]),q3,e.createElementVNode("div",null,e.toDisplayString((Sl=o==null?void 0:o.timeConclusion)==null?void 0:Sl.timeAtMinusAbtSpd)+" (hrs)",1),v3])]),e.createElementVNode("div",eD,[e.createElementVNode("div",tD,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(wl=(Bl=o==null?void 0:o.extend)==null?void 0:Bl.cp)==null?void 0:wl.speed,"Over"))+"kts)",1),oD]),e.createElementVNode("div",lD,[e.createElementVNode("div",aD,[e.createElementVNode("div",null,e.toDisplayString((Tl=(Al=l.report)==null?void 0:Al.weather)!=null&&Tl.noExtrapolation?(Fl=o==null?void 0:o.goodWx)==null?void 0:Fl.distance:(Ol=o==null?void 0:o.allWx)==null?void 0:Ol.distance),1),nD,e.createElementVNode("div",null,e.toDisplayString((Pl=o==null?void 0:o.timeConclusion)==null?void 0:Pl.plusAbtSpd),1)]),sD,e.createElementVNode("div",null,e.toDisplayString((Ll=o==null?void 0:o.timeConclusion)==null?void 0:Ll.timeAtPlusAbtSpd)+" (hrs)",1),cD])]),e.createElementVNode("div",iD,[((Wl=o==null?void 0:o.timeConclusion)==null?void 0:Wl.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",dD,[rD,mD,pD,hD,e.createElementVNode("div",null,e.toDisplayString(($l=o==null?void 0:o.timeConclusion)==null?void 0:$l.timeAtPfmSpd),1),_D,e.createElementVNode("div",null,e.toDisplayString((Hl=o==null?void 0:o.timeConclusion)==null?void 0:Hl.timeAtMinusAbtSpd),1),ED,e.createElementVNode("div",null,e.toDisplayString((Ml=o==null?void 0:o.timeConclusion)==null?void 0:Ml.timeLost)+" (hrs)",1)])):((Il=o==null?void 0:o.timeConclusion)==null?void 0:Il.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",yD,[ND,VD,fD,xD,e.createElementVNode("div",null,e.toDisplayString((Gl=o==null?void 0:o.timeConclusion)==null?void 0:Gl.timeAtPlusAbtSpd),1),bD,e.createElementVNode("div",null,e.toDisplayString((Rl=o==null?void 0:o.timeConclusion)==null?void 0:Rl.timeAtPfmSpd),1),gD,e.createElementVNode("div",null,e.toDisplayString((zl=o==null?void 0:o.timeConclusion)==null?void 0:zl.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Ul=o==null?void 0:o.timeConclusion)==null?void 0:Ul.conclusionStatus)==="Lost"?"flex-center lost":((Yl=o==null?void 0:o.timeConclusion)==null?void 0:Yl.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[DD,e.createElementVNode("div",null,e.toDisplayString(((Zl=o==null?void 0:o.timeConclusion)==null?void 0:Zl.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",kD,e.toDisplayString(a.noGoodWxDay),1))]),CD,e.createElementVNode("div",SD,[e.createElementVNode("div",BD,[wD,e.createElementVNode("div",AD,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(u+1)+" Consumption Analysis",1),(Jl=(Ql=l.report)==null?void 0:Ql.weather)!=null&&Jl.noExtrapolation?(e.openBlock(),e.createElementBlock("span",TD,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",FD,[e.createElementVNode("div",OD,[PD,e.createElementVNode("div",LD,[e.createElementVNode("div",WD,[e.createElementVNode("div",null,e.toDisplayString((jl=(Kl=l.report)==null?void 0:Kl.weather)!=null&&jl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),$D,HD]),MD,ID,GD])]),e.createElementVNode("div",RD,[zD,((Xl=(ul=o.extend)==null?void 0:ul.cp)==null?void 0:Xl.dgo)>0?(e.openBlock(),e.createElementBlock("div",UD," * For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",YD,[ZD,e.createElementVNode("div",QD,[e.createElementVNode("div",JD,[e.createElementVNode("div",null,e.toDisplayString((vl=(ql=l.report)==null?void 0:ql.weather)!=null&&vl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),KD,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(ta=(ea=o==null?void 0:o.extend)==null?void 0:ea.cp)==null?void 0:ta.speed,"Under"))+"kts",1)]),jD,uD,XD])]),e.createElementVNode("div",qD,[vD,e.createElementVNode("div",ek,[e.createElementVNode("div",tk,[e.createElementVNode("div",null,e.toDisplayString((la=(oa=l.report)==null?void 0:oa.weather)!=null&&la.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),ok,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(na=(aa=o==null?void 0:o.extend)==null?void 0:aa.cp)==null?void 0:na.speed,"Under"))+"kts",1)]),lk,ak,nk])]),sk,((ca=(sa=o.extend)==null?void 0:sa.cp)==null?void 0:ca.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",ck,[ik,e.createElementVNode("div",dk,[e.createElementVNode("div",rk,[mk,pk,e.createElementVNode("div",null,e.toDisplayString((da=(ia=l.report)==null?void 0:ia.weather)!=null&&da.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",hk,[_k,e.createElementVNode("div",Ek,[e.createElementVNode("div",yk,[Nk,Vk,e.createElementVNode("div",null,e.toDisplayString((ma=(ra=l.report)==null?void 0:ra.weather)!=null&&ma.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),fk,e.createElementVNode("div",xk,[bk,e.createElementVNode("div",gk,"Seg. "+e.toDisplayString(u+1)+" Fuel Oil",1)]),(pa=o==null?void 0:o.goodWx)!=null&&pa.distance?(e.openBlock(),e.createElementBlock("div",Dk,[((_a=(ha=o==null?void 0:o.goodWx)==null?void 0:ha.inEca)==null?void 0:_a.distance)>0?(e.openBlock(),e.createElementBlock("div",kk,[Ck,e.createElementVNode("div",Sk,[e.createElementVNode("div",Bk,[e.createElementVNode("div",null,e.toDisplayString((ya=(Ea=o==null?void 0:o.goodWx)==null?void 0:Ea.inEca)==null?void 0:ya.sumDgoCons),1)]),wk,e.createElementVNode("div",Ak,[e.createElementVNode("div",null,e.toDisplayString((Va=(Na=o==null?void 0:o.extend)==null?void 0:Na.cp)==null?void 0:Va.dgo),1),Tk,Fk]),Ok,e.createElementVNode("div",null,e.toDisplayString((xa=(fa=o==null?void 0:o.goodWx)==null?void 0:fa.inEca)==null?void 0:xa.time),1),Pk,e.createElementVNode("div",null,e.toDisplayString((ga=(ba=o==null?void 0:o.fuelConclusion)==null?void 0:ba.fo)==null?void 0:ga.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",Lk,[Wk,e.createElementVNode("div",$k,[e.createElementVNode("div",Hk,[e.createElementVNode("div",null,e.toDisplayString((ka=(Da=l.report)==null?void 0:Da.weather)!=null&&ka.noExtrapolation?(Ca=o==null?void 0:o.goodWx)==null?void 0:Ca.distance:(Sa=o==null?void 0:o.allWx)==null?void 0:Sa.distance),1),Mk,e.createElementVNode("div",null,e.toDisplayString((Ba=o==null?void 0:o.goodWx)==null?void 0:Ba.pfmSpd),1)]),Ik,e.createElementVNode("div",Gk,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((wa=o==null?void 0:o.goodWx)==null?void 0:wa.sumFoCons),1),((Ta=(Aa=o==null?void 0:o.goodWx)==null?void 0:Aa.inEca)==null?void 0:Ta.distance)>0?(e.openBlock(),e.createElementBlock("span",Rk,[zk,e.createElementVNode("span",null,e.toDisplayString((Oa=(Fa=o==null?void 0:o.fuelConclusion)==null?void 0:Fa.fo)==null?void 0:Oa.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),Uk,e.createElementVNode("div",null,e.toDisplayString((Pa=o==null?void 0:o.goodWx)==null?void 0:Pa.time),1)]),Yk,e.createElementVNode("div",null,e.toDisplayString((Wa=(La=o.fuelConclusion)==null?void 0:La.fo)==null?void 0:Wa.entireCons)+" (mt)",1),Zk])]),e.createElementVNode("div",Qk,[Jk,e.createElementVNode("div",Kk,[e.createElementVNode("div",jk,[e.createElementVNode("div",null,e.toDisplayString((Ha=($a=l.report)==null?void 0:$a.weather)!=null&&Ha.noExtrapolation?(Z=o==null?void 0:o.goodWx)==null?void 0:Z.distance:(ao=o==null?void 0:o.allWx)==null?void 0:ao.distance),1),uk,e.createElementVNode("div",null,e.toDisplayString((Ma=o==null?void 0:o.timeConclusion)==null?void 0:Ma.minusAbtSpd),1)]),Xk,e.createElementVNode("div",qk,[e.createElementVNode("div",null,e.toDisplayString((Ga=(Ia=o==null?void 0:o.fuelConclusion)==null?void 0:Ia.fo)==null?void 0:Ga.overTolerance),1),vk,eC]),tC,e.createElementVNode("div",null,e.toDisplayString((za=(Ra=o.fuelConclusion)==null?void 0:Ra.fo)==null?void 0:za.maxCons)+" (mt)",1),oC])]),e.createElementVNode("div",lC,[aC,e.createElementVNode("div",nC,[e.createElementVNode("div",sC,[e.createElementVNode("div",null,e.toDisplayString((Ya=(Ua=l.report)==null?void 0:Ua.weather)!=null&&Ya.noExtrapolation?(Za=o==null?void 0:o.goodWx)==null?void 0:Za.distance:(Qe=o==null?void 0:o.allWx)==null?void 0:Qe.distance),1),cC,e.createElementVNode("div",null,e.toDisplayString((qa=o==null?void 0:o.timeConclusion)==null?void 0:qa.minusAbtSpd),1)]),iC,e.createElementVNode("div",dC,[e.createElementVNode("div",null,e.toDisplayString((en=(va=o==null?void 0:o.fuelConclusion)==null?void 0:va.fo)==null?void 0:en.underTolerance),1),rC,mC]),pC,e.createElementVNode("div",null,e.toDisplayString((Mo=(j=o.fuelConclusion)==null?void 0:j.fo)==null?void 0:Mo.minCons)+" (mt)",1),hC])]),e.createElementVNode("div",_C,[((on=(tn=o==null?void 0:o.fuelConclusion)==null?void 0:tn.fo)==null?void 0:on.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",EC,[yC,NC,VC,fC,e.createElementVNode("div",null,e.toDisplayString((an=(ln=o==null?void 0:o.fuelConclusion)==null?void 0:ln.fo)==null?void 0:an.entireCons),1),xC,e.createElementVNode("div",null,e.toDisplayString((sn=(nn=o==null?void 0:o.fuelConclusion)==null?void 0:nn.fo)==null?void 0:sn.maxCons),1),bC,e.createElementVNode("div",null,e.toDisplayString((dn=(cn=o==null?void 0:o.fuelConclusion)==null?void 0:cn.fo)==null?void 0:dn.overCons),1)]),(Hn=(ct=o==null?void 0:o.goodWx)==null?void 0:ct.inEca)!=null&&Hn.distance?(e.openBlock(),e.createElementBlock("div",gC,[DC,kC,e.createElementVNode("div",CC,[e.createElementVNode("div",null,e.toDisplayString((In=(Mn=o==null?void 0:o.goodWx)==null?void 0:Mn.inEca)==null?void 0:In.distance)+" * "+e.toDisplayString((Rn=(Gn=o==null?void 0:o.fuelConclusion)==null?void 0:Gn.fo)==null?void 0:Rn.overCons),1),SC,e.createElementVNode("div",null,e.toDisplayString((Un=(zn=l.report)==null?void 0:zn.weather)!=null&&Un.noExtrapolation?(Yn=o==null?void 0:o.goodWx)==null?void 0:Yn.distance:(Zn=o==null?void 0:o.allWx)==null?void 0:Zn.distance),1)]),BC,e.createElementVNode("div",null,e.toDisplayString((Jn=(Qn=o==null?void 0:o.fuelConclusion)==null?void 0:Qn.fo)==null?void 0:Jn.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((jn=(Kn=o==null?void 0:o.fuelConclusion)==null?void 0:Kn.fo)==null?void 0:jn.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",wC,[AC,TC,FC,OC,e.createElementVNode("div",null,e.toDisplayString((Xn=(un=o==null?void 0:o.fuelConclusion)==null?void 0:un.fo)==null?void 0:Xn.minCons),1),PC,e.createElementVNode("div",null,e.toDisplayString((vn=(qn=o==null?void 0:o.fuelConclusion)==null?void 0:qn.fo)==null?void 0:vn.entireCons),1),LC,e.createElementVNode("div",null,e.toDisplayString((ts=(es=o==null?void 0:o.fuelConclusion)==null?void 0:es.fo)==null?void 0:ts.saving)+" (mt)",1)]),(ls=(os=o==null?void 0:o.goodWx)==null?void 0:os.inEca)!=null&&ls.distance?(e.openBlock(),e.createElementBlock("div",WC,[$C,HC,e.createElementVNode("div",MC,[e.createElementVNode("div",null,e.toDisplayString((ns=(as=l.report)==null?void 0:as.weather)!=null&&ns.noExtrapolation?(cs=(ss=o==null?void 0:o.goodWx)==null?void 0:ss.inEca)==null?void 0:cs.distance:(ds=(is=o==null?void 0:o.allWx)==null?void 0:is.inEca)==null?void 0:ds.distance)+" * "+e.toDisplayString((ms=(rs=o==null?void 0:o.fuelConclusion)==null?void 0:rs.fo)==null?void 0:ms.saving),1),IC,e.createElementVNode("div",null,e.toDisplayString((hs=(ps=l.report)==null?void 0:ps.weather)!=null&&hs.noExtrapolation?(_s=o==null?void 0:o.goodWx)==null?void 0:_s.distance:(Es=o==null?void 0:o.allWx)==null?void 0:Es.distance),1)]),GC,e.createElementVNode("div",null,e.toDisplayString((Ns=(ys=o==null?void 0:o.fuelConclusion)==null?void 0:ys.fo)==null?void 0:Ns.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((fs=(Vs=o==null?void 0:o.fuelConclusion)==null?void 0:Vs.fo)==null?void 0:fs.conclusionStatus)==="Over"?"flex-center lost":((bs=(xs=o==null?void 0:o.fuelConclusion)==null?void 0:xs.fo)==null?void 0:bs.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[RC,e.createElementVNode("div",null,e.toDisplayString(((Ds=(gs=o==null?void 0:o.fuelConclusion)==null?void 0:gs.fo)==null?void 0:Ds.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",zC,e.toDisplayString(a.noGoodWxDay),1)),((Cs=(ks=o==null?void 0:o.extend)==null?void 0:ks.cp)==null?void 0:Cs.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",UC,[YC,e.createElementVNode("div",ZC,"Seg. "+e.toDisplayString(u+1)+" Diesel/Gas Oil",1)]),(Ss=o==null?void 0:o.goodWx)!=null&&Ss.distance?(e.openBlock(),e.createElementBlock("div",QC,[e.createElementVNode("div",JC,[KC,e.createElementVNode("div",jC,[e.createElementVNode("div",uC,[e.createElementVNode("div",null,e.toDisplayString((ws=(Bs=l.report)==null?void 0:Bs.weather)!=null&&ws.noExtrapolation?(As=o==null?void 0:o.goodWx)==null?void 0:As.distance:(Ts=o==null?void 0:o.allWx)==null?void 0:Ts.distance),1),XC,e.createElementVNode("div",null,e.toDisplayString((Fs=o==null?void 0:o.goodWx)==null?void 0:Fs.pfmSpd),1)]),qC,e.createElementVNode("div",vC,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Os=o==null?void 0:o.goodWx)==null?void 0:Os.sumDgoCons),1),((Ls=(Ps=o==null?void 0:o.goodWx)==null?void 0:Ps.inEca)==null?void 0:Ls.distance)>0?(e.openBlock(),e.createElementBlock("span",eS,[tS,e.createElementVNode("span",null,e.toDisplayString(($s=(Ws=o==null?void 0:o.fuelConclusion)==null?void 0:Ws.fo)==null?void 0:$s.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),oS,e.createElementVNode("div",null,e.toDisplayString((Hs=o==null?void 0:o.goodWx)==null?void 0:Hs.time),1)]),lS,e.createElementVNode("div",null,e.toDisplayString((Is=(Ms=o.fuelConclusion)==null?void 0:Ms.dgo)==null?void 0:Is.entireCons)+" (mt)",1),aS])]),e.createElementVNode("div",nS,[sS,e.createElementVNode("div",cS,[e.createElementVNode("div",iS,[e.createElementVNode("div",null,e.toDisplayString((Rs=(Gs=l.report)==null?void 0:Gs.weather)!=null&&Rs.noExtrapolation?(zs=o==null?void 0:o.goodWx)==null?void 0:zs.distance:(Us=o==null?void 0:o.allWx)==null?void 0:Us.distance),1),dS,e.createElementVNode("div",null,e.toDisplayString((Ys=o==null?void 0:o.timeConclusion)==null?void 0:Ys.minusAbtSpd),1)]),rS,e.createElementVNode("div",mS,[e.createElementVNode("div",null,e.toDisplayString((Qs=(Zs=o==null?void 0:o.fuelConclusion)==null?void 0:Zs.dgo)==null?void 0:Qs.overTolerance),1),pS,hS]),_S,e.createElementVNode("div",null,e.toDisplayString((Ks=(Js=o.fuelConclusion)==null?void 0:Js.dgo)==null?void 0:Ks.maxCons)+" (mt)",1),ES])]),e.createElementVNode("div",yS,[NS,e.createElementVNode("div",VS,[e.createElementVNode("div",fS,[e.createElementVNode("div",null,e.toDisplayString((us=(js=l.report)==null?void 0:js.weather)!=null&&us.noExtrapolation?(Xs=o==null?void 0:o.goodWx)==null?void 0:Xs.distance:(qs=o==null?void 0:o.allWx)==null?void 0:qs.distance),1),xS,e.createElementVNode("div",null,e.toDisplayString((vs=o==null?void 0:o.timeConclusion)==null?void 0:vs.minusAbtSpd),1)]),bS,e.createElementVNode("div",gS,[e.createElementVNode("div",null,e.toDisplayString((tc=(ec=o==null?void 0:o.fuelConclusion)==null?void 0:ec.dgo)==null?void 0:tc.underTolerance),1),DS,kS]),CS,e.createElementVNode("div",null,e.toDisplayString((lc=(oc=o.fuelConclusion)==null?void 0:oc.dgo)==null?void 0:lc.minCons)+" (mt)",1),SS])]),e.createElementVNode("div",BS,[((nc=(ac=o==null?void 0:o.fuelConclusion)==null?void 0:ac.dgo)==null?void 0:nc.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",wS,[AS,TS,FS,OS,e.createElementVNode("div",null,e.toDisplayString((cc=(sc=o==null?void 0:o.fuelConclusion)==null?void 0:sc.dgo)==null?void 0:cc.entireCons),1),PS,e.createElementVNode("div",null,e.toDisplayString((dc=(ic=o==null?void 0:o.fuelConclusion)==null?void 0:ic.dgo)==null?void 0:dc.maxCons),1),LS,e.createElementVNode("div",null,e.toDisplayString((mc=(rc=o==null?void 0:o.fuelConclusion)==null?void 0:rc.dgo)==null?void 0:mc.overCons),1)])):((hc=(pc=o==null?void 0:o.fuelConclusion)==null?void 0:pc.fo)==null?void 0:hc.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",WS,[$S,HS,MS,IS,e.createElementVNode("div",null,e.toDisplayString((Ec=(_c=o==null?void 0:o.fuelConclusion)==null?void 0:_c.dgo)==null?void 0:Ec.minCons),1),GS,e.createElementVNode("div",null,e.toDisplayString((Nc=(yc=o==null?void 0:o.fuelConclusion)==null?void 0:yc.dgo)==null?void 0:Nc.entireCons),1),RS,e.createElementVNode("div",null,e.toDisplayString((fc=(Vc=o==null?void 0:o.fuelConclusion)==null?void 0:Vc.dgo)==null?void 0:fc.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((bc=(xc=o==null?void 0:o.fuelConclusion)==null?void 0:xc.dgo)==null?void 0:bc.conclusionStatus)==="Over"?"flex-center lost":((Dc=(gc=o==null?void 0:o.fuelConclusion)==null?void 0:gc.dgo)==null?void 0:Dc.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[zS,e.createElementVNode("div",null,e.toDisplayString(((Cc=(kc=o==null?void 0:o.fuelConclusion)==null?void 0:kc.dgo)==null?void 0:Cc.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",US,e.toDisplayString(a.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const ZS=Ce(Q0,[["render",YS],["__scopeId","data-v-5bb8fb56"]]),lY="",QS={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 s=[];return s.push(t.noonLength?"no-border-bottom":"no-border"),s.push(t.excluded?"excluded":t.goodWx?"good-wx":""),s.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,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}},computeLng(){return function(t){return ae.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return ae.LngLatHelper.lat2pretty(t)}},computePrecision(){return function(t,s=2,l="0.0"){return t?ae.LngLatHelper.roundPrecision(t,s):l}}},watch:{report:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,s,l,r,a,n,E,c,p,x,b,h;this.showCF=((s=(t=this.report)==null?void 0:t.weather)==null?void 0:s.showCF)??!1,this.showAisDistance=((r=(l=this.report)==null?void 0:l.weather)==null?void 0:r.showAisDistance)??!0,this.showSig=((n=(a=this.report)==null?void 0:a.weather)==null?void 0:n.showSig)??!0,this.showSwell=((c=(E=this.report)==null?void 0:E.weather)==null?void 0:c.showSwell)??!0,this.showWave=((x=(p=this.report)==null?void 0:p.weather)==null?void 0:x.showWave)??!0,this.showWaterTemp=((h=(b=this.report)==null?void 0:b.weather)==null?void 0:h.waterTempSwitch)||!1}}},q=t=>(e.pushScopeId("data-v-eef3e2bd"),t=t(),e.popScopeId(),t),JS={class:"report-inventory"},KS={class:"section summary-section"},jS=q(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),uS={class:"summary-block"},XS=q(()=>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)),qS={class:"label",rowspan:"4"},vS=q(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),e5=q(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),t5=q(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),o5=q(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),l5={class:"section inventory-section"},a5=e.createStaticVNode('<div class="legends flex-space" data-v-eef3e2bd><div class="flex-start" style="flex:1.2;" data-v-eef3e2bd><div class="legend good-wx" data-v-eef3e2bd></div><div class="label flex-end" data-v-eef3e2bd>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-eef3e2bd><div class="legend adverse-wx" data-v-eef3e2bd></div><div class="label" data-v-eef3e2bd>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-eef3e2bd><div class="legend excluded" data-v-eef3e2bd></div><div class="label" data-v-eef3e2bd>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-eef3e2bd><div data-v-eef3e2bd><label data-v-eef3e2bd>B</label><span data-v-eef3e2bd>BOSP</span></div><div data-v-eef3e2bd><label data-v-eef3e2bd>N</label><span data-v-eef3e2bd>NOON</span></div><div data-v-eef3e2bd><label data-v-eef3e2bd>E</label><span data-v-eef3e2bd>EOSP</span></div><div data-v-eef3e2bd><label data-v-eef3e2bd>*</label><span data-v-eef3e2bd>Ship Reported Position</span></div></div></div>',1),n5={class:"inventory-block flex-center"},s5={style:{"font-size":"12px"}},c5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),i5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),d5=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),r5=q(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),m5=["colspan"],p5={key:0,class:"label",colspan:"2"},h5=q(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),_5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),E5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),y5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),N5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),V5=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),f5={key:0,class:"label",rowspan:"2"},x5=q(()=>e.createElementVNode("br",null,null,-1)),b5={key:1,class:"label",rowspan:"2"},g5=q(()=>e.createElementVNode("br",null,null,-1)),D5=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),k5={key:2,class:"label",rowspan:"2"},C5=q(()=>e.createElementVNode("br",null,null,-1)),S5={key:3,class:"label",colspan:"2"},B5={key:4,class:"label",rowspan:"2"},w5=q(()=>e.createElementVNode("br",null,null,-1)),A5={key:5,class:"label",colspan:"2"},T5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),F5={key:6,class:"label",rowspan:"2"},O5={key:7,class:"label",rowspan:"2"},P5={key:8,class:"label",rowspan:"2"},L5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),W5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),$5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),H5=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),M5=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),I5=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),G5=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),R5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),z5=q(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),U5=q(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),Y5=q(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),Z5=q(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),Q5={key:0,class:"label"},J5={key:1,class:"label"},K5={key:2,class:"label"},j5={key:3,class:"label"},u5=q(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),X5=q(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),q5=q(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),v5=q(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),e4=q(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),t4=q(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),o4=q(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),l4=q(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),a4={class:"summary-tbody"};function n4(t,s,l,r,a,n){var E;return e.openBlock(),e.createElementBlock("div",JS,[e.createElementVNode("div",KS,[jS,e.createElementVNode("div",uS,[e.createElementVNode("table",null,[XS,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((E=l.report)==null?void 0:E.segments,(c,p)=>{var x,b,h,y,k,g,C,D,T,F,B,w,f,O,I,G,R,z,_,L;return e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[e.createElementVNode("tr",null,[e.createElementVNode("td",qS,e.toDisplayString(p+1),1),vS,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((x=c==null?void 0:c.allWx)==null?void 0:x.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((b=c==null?void 0:c.allWx)==null?void 0:b.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((h=c==null?void 0:c.allWx)==null?void 0:h.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((y=c==null?void 0:c.allWx)==null?void 0:y.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((k=c==null?void 0:c.allWx)==null?void 0:k.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[e5,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((g=c==null?void 0:c.goodWx)==null?void 0:g.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((C=c==null?void 0:c.goodWx)==null?void 0:C.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((D=c==null?void 0:c.goodWx)==null?void 0:D.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((T=c==null?void 0:c.goodWx)==null?void 0:T.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((F=c==null?void 0:c.goodWx)==null?void 0:F.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[t5,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((B=c==null?void 0:c.badWx)==null?void 0:B.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((w=c==null?void 0:c.badWx)==null?void 0:w.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((f=c==null?void 0:c.badWx)==null?void 0:f.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((O=c==null?void 0:c.badWx)==null?void 0:O.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((I=c==null?void 0:c.badWx)==null?void 0:I.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[o5,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((G=c==null?void 0:c.excluded)==null?void 0:G.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((R=c==null?void 0:c.excluded)==null?void 0:R.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((z=c==null?void 0:c.excluded)==null?void 0:z.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((_=c==null?void 0:c.excluded)==null?void 0:_.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((L=c==null?void 0:c.excluded)==null?void 0:L.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",l5,[a5,e.createElementVNode("div",n5,[e.createElementVNode("table",s5,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[c5,i5,d5,r5,e.createElementVNode("th",{class:"label",colspan:n.computeWxColspan},"ORM Weather Analysis",8,m5),l.showFactor?(e.openBlock(),e.createElementBlock("th",p5,"Factor")):e.createCommentVNode("",!0),h5,_5]),e.createElementVNode("tr",null,[E5,y5,N5,V5,a.showAisDistance?(e.openBlock(),e.createElementBlock("th",f5,[e.createTextVNode("Spd"),x5,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("th",b5,[e.createTextVNode("Dis"),g5,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),D5,a.showWave?(e.openBlock(),e.createElementBlock("th",k5,[e.createTextVNode("Sea HT"),C5,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",S5,"Swell")):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("th",B5,[e.createTextVNode("Sig Wave"),w5,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",A5,"Current")):e.createCommentVNode("",!0),T5,l.showFactor?(e.openBlock(),e.createElementBlock("th",F5,"cFactor")):e.createCommentVNode("",!0),l.showFactor?(e.openBlock(),e.createElementBlock("th",O5,"wxFactor")):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("th",P5,"Water Temp.")):e.createCommentVNode("",!0),L5,W5,$5,H5,M5,I5,G5,R5]),e.createElementVNode("tr",null,[z5,U5,Y5,Z5,a.showSwell?(e.openBlock(),e.createElementBlock("th",Q5,"Dir")):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",J5,"HT(m)")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",K5,"Dir")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",j5,"CF(kts)")):e.createCommentVNode("",!0),u5,X5,q5,v5,e4,t4,o4,l4])]),e.createElementVNode("tbody",a4,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.inventory,(c,p)=>{var x,b,h,y,k,g,C,D,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M;return e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",{class:e.normalizeClass(c.segLength?"no-border-bottom":"no-border")},e.toDisplayString(c.segLength?c.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(c.time),3),["B","E"].includes(c.abbrev)&&((x=c.noon)!=null&&x.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((b=c.noon)==null?void 0:b.port),3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(c._lat.pretty),3),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(c._lng.pretty),3)],64)),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.cp.dgo:""),3),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.avgSpdCalc:""),3)):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((y=(h=c.meteo)==null?void 0:h.wind)==null?void 0:y.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((g=(k=c.meteo)==null?void 0:k.wind)==null?void 0:g.scale)??"--"),3),a.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((T=(D=(C=c.meteo)==null?void 0:C.wave)==null?void 0:D.wd)==null?void 0:T.height)??"--"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((w=(B=(F=c.meteo)==null?void 0:F.wave)==null?void 0:B.swell)==null?void 0:w.direction)??"--"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((I=(O=(f=c.meteo)==null?void 0:f.wave)==null?void 0:O.swell)==null?void 0:I.height)??"--"),3)):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((z=(R=(G=c.meteo)==null?void 0:G.wave)==null?void 0:R.sig)==null?void 0:z.height)??"--"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((L=(_=c.meteo)==null?void 0:_.current)==null?void 0:L.direction)??"--"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((H=c.meteo)==null?void 0:H.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.dailyAvgCf:""),3),l.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((W=c.meteo)==null?void 0:W.cFactor)??"--"),3)):e.createCommentVNode("",!0),l.showFactor?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((P=c.meteo)==null?void 0:P.wxFactor)??"--"),3)):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((M=c.meteo)==null?void 0:M.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const s4=Ce(QS,[["render",n4],["__scopeId","data-v-eef3e2bd"]]),aY="",c4={name:"OrmVoyageChart",components:{Lng:ua,Lat:Xa},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,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}}},watch:{inventory:{handler(t,s){t!=null&&t.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Ka.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Ka.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Ka.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var p,x,b,h,y,k;const t=[],s=[],l={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let r=0,a=0;const n=this.inventory.filter(g=>g.noonLength)||[];n.unshift(n[0]),n.forEach((g,C)=>{var T,F,B,w,f,O,I,G,R,z,_,L,H,W;const D=this.computeUTCTime(C===0?g.utc:g.noonUtc,"MM-DD/HHmm[Z]");if(t.push(D),r=Math.ceil(((T=g.noon)==null?void 0:T.foCons)>r?(F=g.noon)==null?void 0:F.foCons:r),r=Math.ceil(((B=g.cp)==null?void 0:B.fo)>r?(w=g.cp)==null?void 0:w.fo:r),a=Math.ceil(((f=g.noon)==null?void 0:f.dgoCons)>a?(O=g.noon)==null?void 0:O.dgoCons:a),a=Math.ceil(((I=g.cp)==null?void 0:I.dgo)>a?(G=g.cp)==null?void 0:G.dgo:a),s.push([D,(R=g.noon)==null?void 0:R.avgSpd,(z=g.noon)==null?void 0:z.foCons,(_=g.noon)==null?void 0:_.dgoCons,g.avgSpdCalc,g.cp.speed,g.goodWx&&!g.excluded?100:0,g.cp.dgo,g.cp.fo,g.excluded?100:0]),C<n.length-1){const P=n[C+1];s.push([D,(L=P.noon)==null?void 0:L.avgSpd,(H=P.noon)==null?void 0:H.foCons,(W=P.noon)==null?void 0:W.dgoCons,P.avgSpdCalc,P.cp.speed,P.goodWx&&!P.excluded?100:0,P.cp.dgo,P.cp.fo,P.excluded?100:0])}});const E={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP FO Cons","FO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},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:r+1,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#146BF5"}},splitLine:{show:!1}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:s,z:2},{name:"CP FO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#146BF5"},lineStyle:{color:"#146BF5",type:"dashed"},encode:{x:l.dateTime,y:l.fo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:(x=(p=this.report)==null?void 0:p.weather)!=null&&x.believeRptDistance?l.noonAvgSpd:l.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{name:"FO Cons",yAxisIndex:1,type:"line",showSymbol:!1,itemStyle:{color:"#146BF5"},encode:{x:l.dateTime,y:l.noonFoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:l.dateTime,y:l.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",encode:{x:l.dateTime,y:l.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(b=this.spdFoConsChart)==null||b.setOption(E);const c={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP DGO Cons","DGO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},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:a+.2,min:0,alignTicks:!0,splitLine:{show:!1},axisLine:{lineStyle:{color:"#a7c4ff"}}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:s,z:2},{name:"CP DGO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#a7c4ff"},lineStyle:{color:"#a7c4ff",type:"dashed"},encode:{x:l.dateTime,y:l.dgo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:(y=(h=this.report)==null?void 0:h.weather)!=null&&y.believeRptDistance?l.noonAvgSpd:l.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{name:"DGO Cons",type:"line",showSymbol:!1,yAxisIndex:1,itemStyle:{color:"#a7c4ff"},encode:{x:l.dateTime,y:l.noonDgoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:l.dateTime,y:l.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",encode:{x:l.dateTime,y:l.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(k=this.spdDgoConsChart)==null||k.setOption(c)},renderWxCurrChart(){var c;const t=[],s=[],l={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let r=4,a=0;const n=this.inventory.filter(p=>p.noonLength)||[];n.unshift(n[0]),n.forEach((p,x)=>{var h,y,k,g,C,D,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U;a=p.noonLength?p.dailyAvgCf:a;const b=this.computeUTCTime(x===0?p.utc:p.noonUtc,"MM-DD/HHmm[Z]");if(t.push(b),r=Math.ceil(((k=(y=(h=p.meteo)==null?void 0:h.wave)==null?void 0:y.sig)==null?void 0:k.height)>r?(D=(C=(g=p.meteo)==null?void 0:g.wave)==null?void 0:C.sig)==null?void 0:D.height:r),s.push([b,(T=p.noon)==null?void 0:T.windBF,(B=(F=p.meteo)==null?void 0:F.wind)==null?void 0:B.scale,(f=(w=p.meteo)==null?void 0:w.wind)==null?void 0:f.direction,(O=p.noon)==null?void 0:O.seasHt,(R=(G=(I=p.meteo)==null?void 0:I.wave)==null?void 0:G.sig)==null?void 0:R.height,a,p.goodWx&&!p.excluded?20:0,p.excluded?20:0]),x<n.length-1){const J=n[x+1];s.push([b,(z=J.noon)==null?void 0:z.windBF,(L=(_=J.meteo)==null?void 0:_.wind)==null?void 0:L.scale,(W=(H=J.meteo)==null?void 0:H.wind)==null?void 0:W.direction,(P=J.noon)==null?void 0:P.seasHt,(U=(Q=(M=J.meteo)==null?void 0:M.wave)==null?void 0:Q.sig)==null?void 0:U.height,J.noonLength?J.dailyAvgCf:a,J.goodWx&&!J.excluded?20:0,J.excluded?20:0])}});const E={animation:!1,title:{text:"Current Factor",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["Current Factor",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}}]},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:10,nameGap:35,minInterval:.5,axisLine:{lineStyle:{color:"#a362f9"}},splitLine:{show:!0}},{name:"Good Weather Days",show:!1}],series:[{name:"Current Factor",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.anlyCurFct},itemStyle:{color:"#a362f9"},data:s,z:3},{name:"Good Weather Days",type:"line",yAxisIndex:1,encode:{x:l.dateTime,y:l.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",yAxisIndex:1,encode:{x:l.dateTime,y:l.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(c=this.currChart)==null||c.setOption(E)}}},ml=t=>(e.pushScopeId("data-v-2ca728ad"),t=t(),e.popScopeId(),t),i4={class:"report-summary"},d4={class:"section chart-section"},r4=ml(()=>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)),m4={class:"chart-block"},p4={ref:"spdFoConsChart",class:"chart"},h4={ref:"spdDgoConsChart",class:"chart"},_4={ref:"currChart",class:"chart"},E4={class:"section map-section"},y4=ml(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),N4={class:"map-block"},V4={class:"flex-space"},f4={class:"voyage-block",style:{height:"197px"}},x4={class:"flex-space label-block",style:{width:"100%"}},b4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),g4={style:{"text-transform":"uppercase"}},D4={class:"flex-space label-block",style:{width:"100%"}},k4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),C4={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},S4={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},B4={class:"flex-space label-block",style:{width:"100%"}},w4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),A4={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},T4={class:"flex-space label-block",style:{width:"100%"}},F4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),O4={key:0,class:"flex-end",style:{flex:"1"}},P4={key:1,class:"flex-end",style:{flex:"1"}},L4=ml(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),W4={class:"flex-end",style:{width:"160px"}},$4={class:"flex-space label-block",style:{width:"100%"}},H4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),M4={key:0,class:"flex-end",style:{flex:"1"}},I4={key:1,class:"flex-end",style:{flex:"1"}},G4=ml(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),R4={class:"flex-end",style:{width:"160px"}},z4={class:"flex-space label-block",style:{width:"100%"}},U4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),Y4={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},Z4=e.createStaticVNode('<div class="legend-block" data-v-2ca728ad><div style="position:absolute;margin-top:-8px;" data-v-2ca728ad>LEGEND</div><div class="flex-space" data-v-2ca728ad><div data-v-2ca728ad>0812</div><div data-v-2ca728ad><div data-v-2ca728ad>08 - Day of the month</div><div data-v-2ca728ad>12 - Hours of the day</div></div></div><div class="flex-space" data-v-2ca728ad><div data-v-2ca728ad><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-2ca728ad></i></div><div data-v-2ca728ad><div data-v-2ca728ad>Wind from N (000)</div><div data-v-2ca728ad>Each bard = 10 kts</div><div data-v-2ca728ad>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-2ca728ad><div data-v-2ca728ad>W 4</div><div data-v-2ca728ad>Sig. Wave from West, 4 meters</div></div><div class="flex-space" data-v-2ca728ad><div class="good-wx" data-v-2ca728ad>Date</div><div data-v-2ca728ad>Good weather days</div></div></div>',1),Q4=["src"],J4=e.createStaticVNode('<div class="section method-section" data-v-2ca728ad><div class="header-block flex-center" data-v-2ca728ad><i class="iconfont" data-v-2ca728ad></i><div class="title" data-v-2ca728ad>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-2ca728ad><div class="method-title" data-v-2ca728ad>1. Good Weather Method</div><div class="method-body" data-v-2ca728ad> 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-2ca728ad> 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-2ca728ad> 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-2ca728ad><div class="method-title" data-v-2ca728ad>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-2ca728ad> 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-2ca728ad><div class="method-title" data-v-2ca728ad>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-2ca728ad> 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-2ca728ad><div class="method-title" data-v-2ca728ad>4. “About”</div><div class="method-body" data-v-2ca728ad> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-2ca728ad> 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-2ca728ad><div class="method-title" data-v-2ca728ad>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-2ca728ad> 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-2ca728ad> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-2ca728ad> 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-2ca728ad><div class="method-title" data-v-2ca728ad>6. Further reference materials</div><div class="method-body" data-v-2ca728ad>Please send mail to <a href="mailto:op@ormwx.com" data-v-2ca728ad>op@ormwx.com</a>.</div></div></div></div>',1);function K4(t,s,l,r,a,n){var p,x,b,h,y,k,g,C,D,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",i4,[e.createElementVNode("div",d4,[r4,e.createElementVNode("div",m4,[e.createElementVNode("div",p4,null,512),e.createElementVNode("div",h4,null,512),e.createElementVNode("div",_4,null,512)])]),e.createElementVNode("div",E4,[y4,e.createElementVNode("div",N4,[e.createElementVNode("div",V4,[e.createElementVNode("div",f4,[e.createElementVNode("div",x4,[b4,e.createElementVNode("span",g4,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",D4,[k4,e.createElementVNode("span",C4,e.toDisplayString((x=(p=l.report)==null?void 0:p.vessel)==null?void 0:x.name),1),e.createElementVNode("span",S4,"("+e.toDisplayString((h=(b=l.report)==null?void 0:b.vessel)==null?void 0:h.type)+")",1)]),e.createElementVNode("div",B4,[w4,e.createElementVNode("span",A4,e.toDisplayString((k=(y=l.report)==null?void 0:y.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",T4,[F4,(C=(g=l.report)==null?void 0:g.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",O4,e.toDisplayString((T=(D=l.report)==null?void 0:D.departure)==null?void 0:T.portName),1)):(e.openBlock(),e.createElementBlock("div",P4,[e.createVNode(E,{lat:(B=(F=l.report)==null?void 0:F.departure)==null?void 0:B.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),L4,e.createVNode(c,{lng:(w=l.report.departure)==null?void 0:w.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",W4,e.toDisplayString(n.computeUTCTime((f=l.report.departure)==null?void 0:f.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",$4,[H4,(I=(O=l.report)==null?void 0:O.arrival)!=null&&I.portName?(e.openBlock(),e.createElementBlock("span",M4,e.toDisplayString((R=(G=l.report)==null?void 0:G.arrival)==null?void 0:R.portName),1)):(e.openBlock(),e.createElementBlock("div",I4,[e.createVNode(E,{lat:(_=(z=l.report)==null?void 0:z.arrival)==null?void 0:_.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),G4,e.createVNode(c,{lng:(H=(L=l.report)==null?void 0:L.arrival)==null?void 0:H.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",R4,e.toDisplayString(n.computeUTCTime((P=(W=l.report)==null?void 0:W.arrival)==null?void 0:P.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",z4,[U4,e.createElementVNode("span",Y4,e.toDisplayString((Q=(M=l.report)==null?void 0:M.voyage)==null?void 0:Q.loadCondition),1)])]),Z4]),e.createElementVNode("img",{src:(U=l.report)==null?void 0:U.chartUrl,alt:""},null,8,Q4)])]),J4])}const j4=Ce(c4,[["render",K4],["__scopeId","data-v-2ca728ad"]]),nY="",u4={name:"OrmVoyageIndex",components:{Brand:Io,VoySummary:ZS,Inventory:s4,Chart:j4,Loading:ja},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{inventory:[],loading:!0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}}},watch:{report:{handler(t,s){t!=null&&t.id&&(this.loading=!1,this.$nextTick(()=>{this.prepare()}))},immediate:!0}},methods:{commit(t){this.$emit("commit",t)},prepare(){var s,l;const t=[];(l=(s=this.report)==null?void 0:s.segments)==null||l.forEach(r=>{const a=r.extend.cp;let n,E,c=!1;r.inventory.sample.hours.forEach((p,x)=>{n||(n=p),(!E||c)&&(E=p,c=!1),n.segIndex===p.segIndex?n.segLength=(n.segLength||0)+1:(n=p,n.segLength=1),E.noonLength=(E.noonLength||0)+1;let b=p.type.charAt(0);["N","M","E"].includes(b)&&(c=!0,E.dailyAvgCf=p.dailyAvgCf,E.avgSpdCalc=p.avgSpdCalc,E.distanceCalc=p.distanceCalc,E.noonUtc=p.utc),p.abbrev=b,b=b==="M"?"*":b==="A"?"":b,p.time=`${b} ${this.computeUTCTime(p.utc,"MMM-DD/HHmm[Z]")}`,p._lng=ae.LngLatHelper.lng2pretty(p.lng),p._lat=ae.LngLatHelper.lat2pretty(p.lat),p.cp=a,t.push(p)})}),t.sort((r,a)=>r.date-a.date),this.inventory=t}}};function X4(t,s,l,r,a,n){var h,y;const E=e.resolveComponent("Brand"),c=e.resolveComponent("Loading"),p=e.resolveComponent("VoySummary"),x=e.resolveComponent("Inventory"),b=e.resolveComponent("Chart");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((y=(h=l.report)==null?void 0:h.weather)!=null&&y.referenceOnly?"report-section watermark":"report-section")},[e.createVNode(E,{name:"Voyage Analysis Report",issued:l.report.createdAt},null,8,["issued"]),e.createVNode(c,{loading:a.loading,onTimeout:s[0]||(s[0]=k=>a.loading=!1)},null,8,["loading"]),e.createVNode(p,{report:l.report,class:"main",onCommit:n.commit},null,8,["report","onCommit"]),e.createVNode(x,{report:l.report,inventory:a.inventory,class:"main"},null,8,["report","inventory"]),e.createVNode(b,{report:l.report,inventory:a.inventory,class:"main"},null,8,["report","inventory"])],2)}const fn=Ce(u4,[["render",X4],["__scopeId","data-v-894b875a"]]),q4={install(t){t.component("FliVoyageReport",Vn),t.component("OrmVoyageReport",fn)}},sY="",cY="",iY="",v4={name:"IdmTropical",components:{TropicalReport:Hc.TropicalReport},props:{token:{type:String,default:""},report:{type:Object,default:()=>{}},model:{type:String,default:""},ts:{type:String,default:""}},emits:["center"],data(){return{center:void 0}},computed:{},watch:{},methods:{handleHurricanceCenter(t){this.center=t}}},e8={class:"typhoon-report-container"};function t8(t,s,l,r,a,n){const E=e.resolveComponent("TropicalReport");return e.openBlock(),e.createElementBlock("div",e8,[l.report?(e.openBlock(),e.createBlock(E,{key:0,report:l.report,model:l.model,ts:l.ts,token:l.token,onCenter:n.handleHurricanceCenter},null,8,["report","model","ts","token","onCenter"])):e.createCommentVNode("",!0)])}const xn=Ce(v4,[["render",t8],["__scopeId","data-v-a14ce9ba"]]),o8={install(t){t.component("TropicalReport",xn)}},dY="",l8={name:"OrmInvoice",components:{IdmBrand:Io},props:{report:{type:Object,default:()=>({})}},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}},computed:{computeTime(){return function(t,s="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${K(t).utcOffset(8).format(s)}`:"-"}}},watch:{report:{handler(){var t,s,l,r,a,n,E;this.reservations4Route=(s=(t=this.report)==null?void 0:t.reservations)==null?void 0:s.filter(c=>c.props),this.reservations4Point=(r=(l=this.report)==null?void 0:l.reservations)==null?void 0:r.filter(c=>!c.props),this.totalInUS=(n=(a=this.report)==null?void 0:a.reservations)==null?void 0:n.reduce((c,p)=>Math.round((c+p.amount)*100)/100,0),(E=this.reservations4Route)!=null&&E.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}}},Je=t=>(e.pushScopeId("data-v-95c80c22"),t=t(),e.popScopeId(),t),a8={class:"invoice-report"},n8={class:"section items-section"},s8={class:"flex-start"},c8=Je(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),i8=["innerHTML"],d8={class:"flex-space"},r8={class:"invoice-item"},m8={key:0,class:"invoice-item"},p8=Je(()=>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)),h8=Je(()=>e.createElementVNode("td",null,"NO.",-1)),_8=["colspan"],E8=Je(()=>e.createElementVNode("td",null,"Amounts",-1)),y8=["colspan"],N8=["colspan"],V8=[Je(()=>e.createElementVNode("span",null,"Total in USD",-1))],f8={class:"total"},x8=["colspan"],b8=[Je(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],g8={class:"total"},D8=["colspan"],k8={class:"total"},C8={key:1},S8=["colspan"],B8=[Je(()=>e.createElementVNode("span",null,"Total in USD",-1))],w8={class:"total"},A8={key:0,class:"memo-block"},T8=Je(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),F8=["innerHTML"],O8={class:"section company-section"},P8=Je(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"Bank Information",-1)),L8={class:"company-item"},W8=Je(()=>e.createElementVNode("label",null,"Bank",-1)),$8={class:"company-item"},H8=Je(()=>e.createElementVNode("label",null,"Account",-1)),M8={class:"company-item"},I8=Je(()=>e.createElementVNode("label",null,"Title",-1)),G8={class:"company-item"},R8=Je(()=>e.createElementVNode("label",null,"Addr",-1)),z8={class:"company-item"},U8=Je(()=>e.createElementVNode("label",null,"Tel",-1)),Y8={class:"company-item"},Z8=Je(()=>e.createElementVNode("label",null,"Tax ID",-1)),Q8={class:"company-item"},J8=Je(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),K8={class:"company-item"},j8=Je(()=>e.createElementVNode("label",null,"Bank Name",-1)),u8={class:"company-item"},X8=Je(()=>e.createElementVNode("label",null,"Bank Address",-1)),q8={class:"company-item"},v8=Je(()=>e.createElementVNode("label",null,"Account No.",-1)),eB={class:"company-item"},tB=Je(()=>e.createElementVNode("label",null,"SWIFT",-1)),oB={class:"company-item"},lB=Je(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),aB={class:"company-item"},nB=Je(()=>e.createElementVNode("label",null,"SWIFT",-1)),sB={class:"company-item"},cB=Je(()=>e.createElementVNode("label",null,"ABA NO.",-1)),iB=e.createStaticVNode('<div class="section sign-section" data-v-95c80c22><div class="flex-space" data-v-95c80c22><div class="sign-block" data-v-95c80c22><div data-v-95c80c22>Finance Team</div><div data-v-95c80c22>Ocean Right Marine Service Co., Ltd.</div><div data-v-95c80c22>Email: <a href="mailto:op@ormwx.com" data-v-95c80c22>op@ormwx.com</a></div><div data-v-95c80c22>Address: Rm1805, B Technology Innovation Bldg, No. 171 Shandong Road, Qingdao, China.</div></div><div class="thank-block" data-v-95c80c22>Thank You</div></div></div>',1);function dB(t,s,l,r,a,n){var c,p,x,b,h,y,k,g,C,D,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,o,u,v,ee,te,oe,le,ce,ie,de,_e;const E=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",a8,[e.createVNode(E,{name:"INVOICE",issued:l.report.createdAt},null,8,["issued"]),e.createElementVNode("div",n8,[e.createElementVNode("div",s8,[c8,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(x=(p=(c=l.report)==null?void 0:c.invoiceTitle)==null?void 0:p.name)==null?void 0:x.replace(`
|
|
42
|
-
`,"<br/>")},null,8,
|
|
43
|
-
`,"<br/>")},null,8,
|
|
44
|
-
`,"<br/>")},null,8,
|
|
45
|
-
`,"<br/>")},null,8,MB)])):e.createCommentVNode("",!0)])])}const gn=Ce(rB,[["render",IB],["__scopeId","data-v-c269c41c"]]),GB={install(t){t.component("OrmInvoiceReport",bn),t.component("FliInvoiceReport",gn)}},RB=t=>((typeof t=="string"||typeof t=="number")&&(t=K(t)),t),zB=(t,s="MMM-DD,YYYY/HHmm[Z]")=>UB(t,s),UB=(t,s="MMM-DD/HHmm[Z]")=>(t=RB(t),t?`${t.utc().format(s)}`:"-"),NY="",YB={name:"IdmEditableItem",components:{Edit:Ja.Edit,Close:Ja.Close,IdmEditor:Go},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,s){return zB(t,s)}}},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)}}},ZB={class:"idm-editable-item"},QB=["innerHTML"],JB={key:3,class:"buttons"};function KB(t,s,l,r,a,n){const E=e.resolveComponent("ElTag"),c=e.resolveComponent("ElInput"),p=e.resolveComponent("IdmEditor"),x=e.resolveComponent("ElInputNumber"),b=e.resolveComponent("ElDatePicker"),h=e.resolveComponent("ElOption"),y=e.resolveComponent("ElSelect"),k=e.resolveComponent("ElRadio"),g=e.resolveComponent("ElRadioGroup"),C=e.resolveComponent("ElCheckbox"),D=e.resolveComponent("ElCheckboxGroup"),T=e.resolveComponent("Edit"),F=e.resolveComponent("ElIcon"),B=e.resolveComponent("ElButton"),w=e.resolveComponent("Close");return e.openBlock(),e.createElementBlock("div",ZB,[e.createElementVNode("div",{class:"group",style:e.normalizeStyle({justifyContent:l.align})},[l.label?(e.openBlock(),e.createElementBlock("label",{key:0,style:e.normalizeStyle({width:l.width+"px"})},e.toDisplayString(l.label),5)):e.createCommentVNode("",!0),a.editable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[l.type==="input"?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.model,"onUpdate:modelValue":s[2]||(s[2]=f=>a.model=f),size:l.size,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),l.type==="alphanumeric"?(e.openBlock(),e.createBlock(c,{key:1,modelValue:a.model,"onUpdate:modelValue":s[3]||(s[3]=f=>a.model=f),size:l.size,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),l.type==="textarea"?(e.openBlock(),e.createBlock(c,{key:2,modelValue:a.model,"onUpdate:modelValue":s[4]||(s[4]=f=>a.model=f),size:l.size,type:"textarea",rows:4,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),l.type==="richText"?(e.openBlock(),e.createBlock(p,{key:3,modelValue:a.model,"onUpdate:modelValue":s[5]||(s[5]=f=>a.model=f),onBlur:n.handleCommit},null,8,["modelValue","onBlur"])):e.createCommentVNode("",!0),l.type==="number"?(e.openBlock(),e.createBlock(x,{key:4,modelValue:a.model,"onUpdate:modelValue":s[6]||(s[6]=f=>a.model=f),size:l.size,controls:l.controls,min:l.min,max:l.max,step:l.step,precision:l.precision,onBlur:n.handleCommit,onChange:n.handleCommit},null,8,["modelValue","size","controls","min","max","step","precision","onBlur","onChange"])):e.createCommentVNode("",!0),l.type==="datetime"?(e.openBlock(),e.createBlock(b,{key:5,modelValue:a.model,"onUpdate:modelValue":s[7]||(s[7]=f=>a.model=f),size:l.size,type:"datetime",class:"datetime",format:l.format,"value-format":l.valueFormat,onBlur:n.handleCommit},null,8,["modelValue","size","format","value-format","onBlur"])):e.createCommentVNode("",!0),l.type==="select"?(e.openBlock(),e.createBlock(y,{key:6,modelValue:a.model,"onUpdate:modelValue":s[8]||(s[8]=f=>a.model=f),size:l.size,filterable:"",style:{width:"100%"},mini:"",onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.options,f=>(e.openBlock(),e.createBlock(h,{key:f.value,label:f.label,disabled:f.disabled,value:f.value},null,8,["label","disabled","value"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),l.type==="remoteSelect"?(e.openBlock(),e.createBlock(y,{key:7,modelValue:a.model,"onUpdate:modelValue":s[9]||(s[9]=f=>a.model=f),size:l.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":n.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.options,f=>(e.openBlock(),e.createBlock(h,{key:f.value,label:f.label,value:f.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),l.type==="remotePortSelect"?(e.openBlock(),e.createBlock(y,{key:8,modelValue:a.model,"onUpdate:modelValue":s[10]||(s[10]=f=>a.model=f),size:l.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":n.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.options,f=>(e.openBlock(),e.createBlock(h,{key:f.id,label:f.name,value:f.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),l.type==="radio"?(e.openBlock(),e.createBlock(g,{key:9,modelValue:a.model,"onUpdate:modelValue":s[11]||(s[11]=f=>a.model=f),size:l.size,style:{width:"100%"},onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.radios,f=>(e.openBlock(),e.createBlock(k,{key:f.value,label:f.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),l.type==="checkbox"?(e.openBlock(),e.createBlock(D,{key:10,modelValue:a.model,"onUpdate:modelValue":s[12]||(s[12]=f=>a.model=f),size:l.size,class:"checkbox",style:{width:"100%"},onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.checkboxs,f=>(e.openBlock(),e.createBlock(C,{key:f.label,label:f.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[typeof l.raw=="boolean"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[l.raw?(e.openBlock(),e.createBlock(E,{key:0,size:"small",type:"success",style:{margin:"0",cursor:"pointer"},onDblclick:n.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value),1)]),_:1},8,["onDblclick"])):(e.openBlock(),e.createBlock(E,{key:1,size:"small",type:"info",style:{cursor:"pointer"},onDblclick:n.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value),1)]),_:1},8,["onDblclick"]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[l.type==="datetime"?(e.openBlock(),e.createElementBlock("span",{key:0,onDblclick:s[0]||(s[0]=(...f)=>n.handleEdit&&n.handleEdit(...f))},e.toDisplayString(n.computeUtcTime(l.value,l.format)),33)):l.type==="richText"?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:l.value||""},null,8,QB)):(e.openBlock(),e.createElementBlock("span",{key:2,onDblclick:s[1]||(s[1]=(...f)=>n.handleEdit&&n.handleEdit(...f))},[typeof l.value=="number"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(l.value),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(l.value||"-"),1)],64))],32))],64))],64)),!l.disabled&&l.iconable&&typeof l.raw!="boolean"?(e.openBlock(),e.createElementBlock("div",JB,[a.editable?(e.openBlock(),e.createBlock(B,{key:1,size:l.size,type:"danger",link:"",style:{display:"block"},onClick:n.handleCancel},{default:e.withCtx(()=>[e.createVNode(F,null,{default:e.withCtx(()=>[e.createVNode(w)]),_:1})]),_:1},8,["size","onClick"])):(e.openBlock(),e.createBlock(B,{key:0,size:l.size,link:"",onClick:n.handleEdit},{default:e.withCtx(()=>[e.createVNode(F,null,{default:e.withCtx(()=>[e.createVNode(T)]),_:1})]),_:1},8,["size","onClick"]))])):e.createCommentVNode("",!0)],4)])}const Dn=Ce(YB,[["render",KB]]),VY="",jB={name:"OrmDeviation",components:{CirclePlus:Ja.CirclePlus,Remove:Ja.Remove,EditableItem:Dn,Editor:Go,IdmBrand:Io},props:{report:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe.idmwx.com"},token:{type:String,default:void 0}},data(){return{extraData:void 0,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},remarks:void 0,editable:!1,id:void 0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${K(t).utc().format(s)}`:"-"}},computedLngLat(){return function(t,s){return`${ae.LngLatHelper.lat2pretty(t).pretty} / ${ae.LngLatHelper.lng2pretty(s).pretty}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(t){t&&(this.fetchData(),this.fetchSuggestName())},immediate:!0}},methods:{fetchData(){var t,s,l,r;this.extraData=this.report,this.extraPortList=(t=this.report)!=null&&t.extraPorts?(s=this.report)==null?void 0:s.extraPorts:[],this.advisory=(l=this.report)!=null&&l.comments?(r=this.report)==null?void 0:r.comments:void 0,this.id=this.report.id},async fetchSuggestName(t){var l;const s=await Qa.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(l=s==null?void 0:s.data)==null?void 0:l.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 l,r,a,n,E;this.extraPortList.splice(t,1);const s=await Qa.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(l=s==null?void 0:s.data)==null?void 0:l.data,this.extraPortList=(a=(r=s==null?void 0:s.data)==null?void 0:r.data)==null?void 0:a.extraPorts,this.advisory=(n=this.report)!=null&&n.comments?(E=this.report)==null?void 0:E.comments:void 0},decideDisable(){this.editable=!this.editable},async handleCommit(t,s,l,r){var E,c,p,x,b;this.editable=!1;const a=s.indexOf(".");let n={};if((l||l==0)&&l!=""){if(t==="port"){if(a>0){const y=s.substring(0,a),k=s.substring(a+1);k!=="date"&&(l=Number(l)),this.extraPortList[r][y][k]=l}else this.extraPortList[r][s]=l;n={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[s]=l,n={[s]:l}):(this.extraData[s]=l,n={[s]:Number(l)});const h=await Qa.put(`${this.gateway}/api/als/deviations/${this.id}`,n,{headers:{Authorization:this.token}});this.extraData=(E=h==null?void 0:h.data)==null?void 0:E.data,this.extraPortList=(p=(c=h==null?void 0:h.data)==null?void 0:c.data)==null?void 0:p.extraPorts,this.advisory=(x=this.report)!=null&&x.comments?(b=this.report)==null?void 0:b.comments:void 0}else hn.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},N=t=>(e.pushScopeId("data-v-281583c9"),t=t(),e.popScopeId(),t),uB={class:"deviation-report"},XB={class:"content-box"},qB={class:"info-box border-dashed"},vB={class:"flex-between row"},e9={class:"flex-between",style:{width:"48%"}},t9=N(()=>e.createElementVNode("label",{class:"label"},"Prepared For:",-1)),o9={class:"flex-between",style:{width:"48%"}},l9=N(()=>e.createElementVNode("label",{class:"label"},"Departure Port:",-1)),a9={style:{"margin-left":"5px"}},n9={class:"flex-between row"},s9={class:"flex-between",style:{width:"48%"}},c9=N(()=>e.createElementVNode("label",{class:"label"},"Vessel:",-1)),i9={class:"flex-between",style:{width:"48%"}},d9=N(()=>e.createElementVNode("label",{class:"label"},"Arrival Port:",-1)),r9={style:{"margin-left":"5px"}},m9={class:"flex-between row"},p9={class:"flex-between",style:{width:"48%"}},h9=N(()=>e.createElementVNode("label",{class:"label"},"Voyage No:",-1)),_9={class:"flex-between",style:{width:"48%"}},E9=N(()=>e.createElementVNode("label",{class:"label"},"Load Condition:",-1)),y9={class:"section summary-section"},N9=N(()=>e.createElementVNode("div",{class:"subtitle"},"Summary",-1)),V9={class:"border-solid"},f9={class:"cp"},x9={class:"flex-between",style:{padding:"6px 0"}},b9={style:{"margin-left":"5px"}},g9={style:{"margin-left":"5px"}},D9=N(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"CP"),e.createElementVNode("th",{class:"label"},"Speed (kts)"),e.createElementVNode("th",{class:"label"},"Daily FO Consumption (mt)"),e.createElementVNode("th",{class:"label"},"Daily MGO Consumption (mt)")])],-1)),k9=N(()=>e.createElementVNode("td",null,"cp",-1)),C9={class:"summary-block flex-between"},S9={class:"item"},B9=N(()=>e.createElementVNode("div",{class:"title"},"Extra Distance",-1)),w9={class:"value flex-end"},A9={key:0},T9=N(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),F9={class:"gain"},O9=N(()=>e.createElementVNode("span",{class:"unit"},"nm",-1)),P9={key:1},L9=N(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),W9={class:"lost"},$9=N(()=>e.createElementVNode("span",{class:"unit"},"nm",-1)),H9={key:2},M9={class:"item"},I9=N(()=>e.createElementVNode("div",{class:"title"},"Total extra Time",-1)),G9={class:"value flex-end"},R9={key:0},z9=N(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),U9={class:"gain"},Y9=N(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),Z9={key:1},Q9=N(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),J9={class:"lost"},K9=N(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),j9={key:2},u9={class:"item"},X9=N(()=>e.createElementVNode("div",{class:"title"},"FO Total extra Consumption",-1)),q9={class:"value flex-end"},v9={key:0},e6=N(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),t6={class:"gain"},o6=N(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),l6={key:1},a6=N(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),n6={class:"lost"},s6=N(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),c6={key:2},i6={class:"item"},d6=N(()=>e.createElementVNode("div",{class:"title"},"MGO Total extra Consumption",-1)),r6={class:"value flex-end"},m6={key:0},p6=N(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),h6={class:"gain"},_6=N(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),E6={key:1},y6=N(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),N6={class:"lost"},V6=N(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),f6={key:2},x6=N(()=>e.createElementVNode("div",{class:"subtitle"},"Remarks",-1)),b6={class:"section-content"},g6={key:0,class:""},D6=["innerHTML"],k6={key:1},C6={class:"section deviation-info-section"},S6=N(()=>e.createElementVNode("div",{class:"flex-between"},[e.createElementVNode("div",{class:"subtitle"},"Deviation Info Information")],-1)),B6={key:0},w6=N(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:2,class:"label"},"Deviation Type"),e.createElementVNode("th",{rowspan:2,class:"label"},"Position"),e.createElementVNode("th",{rowspan:2,class:"label"},"Date Time"),e.createElementVNode("th",{colspan:2,class:"label"},"BROB (mt)"),e.createElementVNode("th",{colspan:2,class:"label"},"Bunkering (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO")])],-1)),A6=N(()=>e.createElementVNode("td",null,"Deviation Start",-1)),T6=N(()=>e.createElementVNode("td",null,null,-1)),F6=N(()=>e.createElementVNode("td",null,null,-1)),O6=N(()=>e.createElementVNode("td",null,"Back on Track",-1)),P6={key:1},L6=N(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"Deviation Type"),e.createElementVNode("th",{class:"label"},"Position"),e.createElementVNode("th",{class:"label"},"Date Time")])],-1)),W6=N(()=>e.createElementVNode("td",null,"Deviation Start",-1)),$6=N(()=>e.createElementVNode("td",null,"Back on Track",-1)),H6={key:0,class:"section extra-port-section"},M6={class:"flex-between"},I6=N(()=>e.createElementVNode("div",{class:"subtitle"},"Extra Port Information",-1)),G6=N(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Extra Port",-1)),R6=N(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Event",-1)),z6=N(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Date Time",-1)),U6=N(()=>e.createElementVNode("th",{colspan:2,class:"label"},"BROB (mt)",-1)),Y6=N(()=>e.createElementVNode("th",{colspan:2,class:"label"},"Bunkering (mt)",-1)),Z6={key:0,rowspan:2,class:"print-hidden label"},Q6=N(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO")],-1)),J6={rowspan:2},K6=N(()=>e.createElementVNode("td",null,"Arrival",-1)),j6=N(()=>e.createElementVNode("td",null,null,-1)),u6=N(()=>e.createElementVNode("td",null,null,-1)),X6={rowspan:2,class:"print-hidden"},q6=N(()=>e.createElementVNode("td",null,"Departure",-1)),v6=N(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),ew=N(()=>e.createElementVNode("td",null,null,-1)),tw=N(()=>e.createElementVNode("td",null,null,-1)),ow=N(()=>e.createElementVNode("td",null,null,-1)),lw={key:0,class:"print-hidden"},aw={class:"section time-cons-section"},nw=N(()=>e.createElementVNode("div",{class:"subtitle"},"Time and Consumption Caculation",-1)),sw=N(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"Actual Route (nm)"),e.createElementVNode("th",{class:"label"},"Route Prior to deviation(nm)"),e.createElementVNode("th",{class:"label"},"Extra Distance(nm)")])],-1)),cw={class:"time-block flex-between border-dashed"},iw={key:0,class:"formula-block"},dw={class:"flex-start"},rw=e.createStaticVNode('<div class="fraction flex-center" data-v-281583c9>Time for extra distance sailing</div><div class="sig" data-v-281583c9>=</div><div class="fraction flex-center" data-v-281583c9><div class="content" data-v-281583c9><div data-v-281583c9>Deviation Distance</div><div class="line" data-v-281583c9></div><div data-v-281583c9>CP Speed</div></div></div><div class="sig" data-v-281583c9>=</div>',4),mw={class:"fraction flex-center"},pw={class:"content"},hw=N(()=>e.createElementVNode("div",{class:"line"},null,-1)),_w=N(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Ew={class:"fraction flex-center"},yw={class:"flex-start"},Nw=e.createStaticVNode('<div class="fraction flex-center" data-v-281583c9>Total extra Time</div><div class="sig" data-v-281583c9>=</div><div class="fraction flex-center" data-v-281583c9>Time for extra distance sailing</div><div class="sig" data-v-281583c9>+</div><div class="fraction flex-center" data-v-281583c9>Time spent in extra port</div><div class="sig" data-v-281583c9>=</div>',6),Vw={class:"fraction flex-center"},fw=N(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),xw={class:"fraction flex-center"},bw=N(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),gw={class:"fraction flex-center"},Dw={key:1,class:"formula-block"},kw={class:"flex-start"},Cw=e.createStaticVNode('<div class="fraction flex-center" data-v-281583c9>Time for Route prior to deviation sailing</div><div class="sig" data-v-281583c9>=</div><div class="fraction flex-center" data-v-281583c9><div class="content" data-v-281583c9><div data-v-281583c9>Distance</div><div class="line" data-v-281583c9></div><div data-v-281583c9>CP Speed</div></div></div><div class="sig" data-v-281583c9>=</div>',4),Sw={class:"fraction flex-center"},Bw={class:"content"},ww=N(()=>e.createElementVNode("div",{class:"line"},null,-1)),Aw=N(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Tw={class:"fraction flex-center"},Fw=N(()=>e.createElementVNode("div",{class:"sig"},null,-1)),Ow=N(()=>e.createElementVNode("div",{class:"fraction flex-center"},null,-1)),Pw={key:0,class:"flex-start"},Lw=e.createStaticVNode('<div class="fraction flex-center" data-v-281583c9>Total extra Time</div><div class="sig" data-v-281583c9>=</div><div class="fraction flex-center" data-v-281583c9>Time for Actual Route</div><div class="sig" data-v-281583c9>-</div><div class="fraction flex-center" data-v-281583c9>Time for Route prior to deviation sailing</div><div class="sig" data-v-281583c9>=</div>',6),Ww={class:"fraction flex-center"},$w=N(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),Hw={class:"fraction flex-center"},Mw=N(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Iw={class:"fraction flex-center"},Gw={key:1,class:"flex-start"},Rw=e.createStaticVNode('<div class="fraction flex-center" data-v-281583c9>Total extra Time</div><div class="sig" data-v-281583c9>=</div><div class="fraction flex-center" data-v-281583c9>Time for Actual Route</div><div class="sig" data-v-281583c9>-</div><div class="fraction flex-center" data-v-281583c9>Time for Route prior to deviation sailing</div><div class="sig" data-v-281583c9>-</div><div class="fraction flex-center" data-v-281583c9>Time spent in port (hrs)</div><div class="sig" data-v-281583c9>=</div>',8),zw={class:"fraction flex-center"},Uw=N(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),Yw={class:"fraction flex-center"},Zw=N(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),Qw={class:"fraction flex-center"},Jw=N(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Kw={class:"fraction flex-center"},jw={class:"fuel-block flex-between border-dashed"},uw={key:0,class:"formula-block"},Xw={class:"flex-start"},qw=e.createStaticVNode('<div class="fraction flex-center" data-v-281583c9>FO Consumption for extra distance sailing</div><div class="sig" data-v-281583c9>=</div><div class="fraction flex-center" data-v-281583c9><div class="content" data-v-281583c9><div data-v-281583c9>Deviation Distance</div><div class="line" data-v-281583c9></div><div data-v-281583c9>CP Speed</div></div></div><div class="sig" data-v-281583c9>x</div><div class="fraction flex-center" data-v-281583c9><div class="content" data-v-281583c9><div data-v-281583c9>Daily FO Consumption</div><div class="line" data-v-281583c9></div><div data-v-281583c9>24</div></div></div><div class="sig" data-v-281583c9>×</div><div class="fraction flex-center" data-v-281583c9><div class="content" data-v-281583c9><div data-v-281583c9>Daily FO Consumption</div><div class="line" data-v-281583c9></div><div data-v-281583c9>24</div></div></div><div class="sig" data-v-281583c9>=</div>',8),vw={class:"fraction flex-center"},e7={class:"content"},t7=N(()=>e.createElementVNode("div",{class:"line"},null,-1)),o7=N(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),l7={class:"fraction flex-center"},a7={class:"content"},n7=N(()=>e.createElementVNode("div",{class:"line"},null,-1)),s7=N(()=>e.createElementVNode("div",null,"24",-1)),c7=N(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),i7={class:"fraction flex-center"},d7={class:"flex-start"},r7=e.createStaticVNode('<div class="fraction flex-center" data-v-281583c9>FO Total Extra Consumption</div><div class="sig" data-v-281583c9>=</div><div class="fraction flex-center" data-v-281583c9>FO Consumption for extra distance sailing</div><div class="sig" data-v-281583c9>+</div><div class="fraction flex-center" data-v-281583c9>FO Consumption in extra port</div><div class="sig" data-v-281583c9>=</div>',6),m7={class:"fraction flex-center"},p7=N(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),h7={class:"fraction flex-center"},_7=N(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),E7={class:"fraction flex-center"},y7={class:"flex-start"},N7=e.createStaticVNode('<div class="fraction flex-center" data-v-281583c9>MGO Consumption for extra distance sailing</div><div class="sig" data-v-281583c9>=</div><div class="fraction flex-center" data-v-281583c9><div class="content" data-v-281583c9><div data-v-281583c9>Deviation Distance</div><div class="line" data-v-281583c9></div><div data-v-281583c9>CP Speed</div></div></div><div class="sig" data-v-281583c9>x</div><div class="fraction flex-center" data-v-281583c9><div class="content" data-v-281583c9><div data-v-281583c9>Daily MGO Consumption</div><div class="line" data-v-281583c9></div><div data-v-281583c9>24</div></div></div><div class="sig" data-v-281583c9>=</div>',6),V7={class:"fraction flex-center"},f7={class:"content"},x7=N(()=>e.createElementVNode("div",{class:"line"},null,-1)),b7=N(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),g7={class:"fraction flex-center"},D7={class:"content"},k7=N(()=>e.createElementVNode("div",{class:"line"},null,-1)),C7=N(()=>e.createElementVNode("div",null,"24",-1)),S7=N(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),B7={class:"fraction flex-center"},w7={class:"flex-start"},A7=e.createStaticVNode('<div class="fraction flex-center" data-v-281583c9>MGO Total Extra Consumption</div><div class="sig" data-v-281583c9>=</div><div class="fraction flex-center" data-v-281583c9>MGO Consumption for extra distance sailing</div><div class="sig" data-v-281583c9>-</div><div class="fraction flex-center" data-v-281583c9>MGO Consumption in extra port</div><div class="sig" data-v-281583c9>=</div>',6),T7={class:"fraction flex-center"},F7=N(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),O7={class:"fraction flex-center"},P7=N(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),L7={class:"fraction flex-center"},W7={key:1,class:"formula-block"},$7={class:"flex-start"},H7=e.createStaticVNode('<div class="fraction flex-center" data-v-281583c9>FO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-281583c9>=</div><div class="fraction flex-center" data-v-281583c9><div class="content" data-v-281583c9><div data-v-281583c9>Route prior to deviation Distance</div><div class="line" data-v-281583c9></div><div data-v-281583c9>CP Speed</div></div></div><div class="sig" data-v-281583c9>x</div><div class="fraction flex-center" data-v-281583c9><div class="content" data-v-281583c9><div data-v-281583c9>CP Daily FO Consumption</div><div class="line" data-v-281583c9></div><div data-v-281583c9>24</div></div></div><div class="sig" data-v-281583c9>=</div>',6),M7={class:"fraction flex-center"},I7={class:"content"},G7=N(()=>e.createElementVNode("div",{class:"line"},null,-1)),R7=N(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),z7={class:"fraction flex-center"},U7={class:"content"},Y7=N(()=>e.createElementVNode("div",{class:"line"},null,-1)),Z7=N(()=>e.createElementVNode("div",null,"24",-1)),Q7=N(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),J7={class:"fraction flex-center"},K7={key:0,class:"flex-start"},j7=e.createStaticVNode('<div class="fraction flex-center" data-v-281583c9>FO Total Extra Consumption</div><div class="sig" data-v-281583c9>=</div><div class="fraction flex-center" data-v-281583c9>FO Consumption for Actual Route</div><div class="sig" data-v-281583c9>-</div><div class="fraction flex-center" data-v-281583c9>FO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-281583c9>=</div>',6),u7={class:"fraction flex-center"},X7=N(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),q7={class:"fraction flex-center"},v7=N(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),eA={class:"fraction flex-center"},tA={key:1,class:"flex-start"},oA=e.createStaticVNode('<div class="fraction flex-center" data-v-281583c9>FO Total Extra Consumption</div><div class="sig" data-v-281583c9>=</div><div class="fraction flex-center" data-v-281583c9>FO Consumption for Actual Route</div><div class="sig" data-v-281583c9>-</div><div class="fraction flex-center" data-v-281583c9>FO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-281583c9>-</div><div class="fraction flex-center" data-v-281583c9>FO Consumption in port</div><div class="sig" data-v-281583c9>=</div>',8),lA={class:"fraction flex-center"},aA=N(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),nA={class:"fraction flex-center"},sA=N(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),cA={class:"fraction flex-center"},iA=N(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),dA={class:"fraction flex-center"},rA={class:"flex-start"},mA=e.createStaticVNode('<div class="fraction flex-center" data-v-281583c9>MGO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-281583c9>=</div><div class="fraction flex-center" data-v-281583c9><div class="content" data-v-281583c9><div data-v-281583c9>Route prior to deviation Distance</div><div class="line" data-v-281583c9></div><div data-v-281583c9>CP Speed</div></div></div><div class="sig" data-v-281583c9>x</div><div class="fraction flex-center" data-v-281583c9><div class="content" data-v-281583c9><div data-v-281583c9>CP Daily MGO Consumption</div><div class="line" data-v-281583c9></div><div data-v-281583c9>24</div></div></div><div class="sig" data-v-281583c9>=</div>',6),pA={class:"fraction flex-center"},hA={class:"content"},_A=N(()=>e.createElementVNode("div",{class:"line"},null,-1)),EA=N(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),yA={class:"fraction flex-center"},NA={class:"content"},VA=N(()=>e.createElementVNode("div",{class:"line"},null,-1)),fA=N(()=>e.createElementVNode("div",null,"24",-1)),xA=N(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),bA={class:"fraction flex-center"},gA={key:2,class:"flex-start"},DA=e.createStaticVNode('<div class="fraction flex-center" data-v-281583c9>MGO Total Extra Consumption</div><div class="sig" data-v-281583c9>=</div><div class="fraction flex-center" data-v-281583c9>MGO Consumption for Actual Route</div><div class="sig" data-v-281583c9>-</div><div class="fraction flex-center" data-v-281583c9>MGO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-281583c9>=</div>',6),kA={class:"fraction flex-center"},CA=N(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),SA={class:"fraction flex-center"},BA=N(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),wA={class:"fraction flex-center"},AA={key:3,class:"flex-start"},TA=e.createStaticVNode('<div class="fraction flex-center" data-v-281583c9>MGO Total Extra Consumption</div><div class="sig" data-v-281583c9>=</div><div class="fraction flex-center" data-v-281583c9>MGO Consumption for Actual Route</div><div class="sig" data-v-281583c9>-</div><div class="fraction flex-center" data-v-281583c9>MGO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-281583c9>-</div><div class="fraction flex-center" data-v-281583c9>MGO Consumption in port</div><div class="sig" data-v-281583c9>=</div>',8),FA={class:"fraction flex-center"},OA=N(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),PA={class:"fraction flex-center"},LA=N(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),WA={class:"fraction flex-center"},$A=N(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),HA={class:"fraction flex-center"},MA={class:"flex-between",style:{"align-items":"flex-start"}},IA={style:{flex:"1","margin-right":"20px"}},GA={key:0},RA=N(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:2,class:"label"},"Time Analysis")])],-1)),zA=N(()=>e.createElementVNode("td",{class:"text-align-left"},"Time for extra distance sailing (hrs)",-1)),UA=N(()=>e.createElementVNode("td",{class:"text-align-left"},"Time spent in extra port (hrs)",-1)),YA=N(()=>e.createElementVNode("td",{class:"text-align-left"},"Total extra Time (hrs)",-1)),ZA={key:1},QA=N(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:2,class:"label"},"Time Analysis")])],-1)),JA=N(()=>e.createElementVNode("td",{class:"text-align-left"},"Time for Route prior to deviation sailing (hrs)",-1)),KA=N(()=>e.createElementVNode("td",{class:"text-align-left"},"Time for Actual Route (hrs)",-1)),jA=N(()=>e.createElementVNode("td",{class:"text-align-left"},"Total extra Time (hrs)",-1)),uA={style:{flex:"1"}},XA={key:0},qA=N(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:2,class:"label"},"Consumption Analysis")])],-1)),vA=N(()=>e.createElementVNode("td",{class:"text-align-left"},"FO Consumption for extra distance sailing (mt)",-1)),eT=N(()=>e.createElementVNode("td",{class:"text-align-left"},"FO Total extra Consumption (mt)",-1)),tT=N(()=>e.createElementVNode("td",{class:"text-align-left"},"MGO Consumption for extra distance sailing (mt)",-1)),oT=N(()=>e.createElementVNode("td",{class:"text-align-left"},"MGO Total extra Consumption (mt)",-1)),lT={key:1},aT=N(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:2,class:"label"},"Consumption Analysis")])],-1)),nT=N(()=>e.createElementVNode("td",{class:"text-align-left"},"FO Consumption for Route prior to deviation sailing (mt)",-1)),sT=N(()=>e.createElementVNode("td",{class:"text-align-left"},"FO Total extra Consumption (mt)",-1)),cT=N(()=>e.createElementVNode("td",{class:"text-align-left"},"MGO Consumption for Route prior to deviation sailing (mt)",-1)),iT=N(()=>e.createElementVNode("td",{class:"text-align-left"},"MGO Total extra Consumption (mt)",-1)),dT={class:"section map-section"},rT=N(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),mT={class:"report-map"},pT=["src"],hT=e.createStaticVNode('<div class="legend" data-v-281583c9><div class="legend-item" data-v-281583c9><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-281583c9></div><div data-v-281583c9>Actual Route</div></div><div class="legend-item" data-v-281583c9><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-281583c9></div><div data-v-281583c9>Route prior to deviation</div></div></div>',1);function _T(t,s,l,r,a,n){var b,h,y,k,g,C,D,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,o,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,xe,be,ge,De,ke,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,Ke,je,ue,A,Se,Ge,Xe,qe,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,xt,bt,gt,Dt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo,S,Ie,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,ut,Xt,qt,vt,eo,to,oo,lo,yo,No,Vo,fo,xo,bo,go,Do,ko,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Ro,zo,Uo,Yo,Zo,Qo,Jo,Ko,jo,uo,Xo,qo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl,st,pl,El,yl,Nl,Vl,fl,xl,bl,gl,Dl,kl,Cl,Sl,Bl,wl,Al,Tl,Fl,Ol,Pl,Ll,Wl,$l,Hl,Ml,Il,Gl,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,jl,ul,Xl,ql,vl,ea,ta,oa,la,aa,na,sa,ca,ia,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,xa,ba,ga,Da,ka,Ca,Sa,Ba,wa,Aa,Ta,Fa,Oa,Pa,La,Wa,$a,Ha,Z,ao,Ma,Ia,Ga,Ra,za,Ua,Ya,Za,Qe,qa,va,en;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("Editor"),p=e.resolveComponent("EditableItem"),x=e.resolveComponent("ElButton");return e.openBlock(),e.createElementBlock("div",uB,[e.createVNode(E,{name:"Voyage Deviation Report"}),e.createElementVNode("div",XB,[e.createElementVNode("div",qB,[e.createElementVNode("div",vB,[e.createElementVNode("div",e9,[t9,e.createElementVNode("div",null,e.toDisplayString((b=a.extraData)==null?void 0:b.preparedFor),1)]),e.createElementVNode("div",o9,[l9,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((y=(h=a.extraData)==null?void 0:h.departure)==null?void 0:y.name),1),e.createTextVNode(" , "),e.createElementVNode("span",a9,e.toDisplayString(n.computeUTCTime(((g=(k=a.extraData)==null?void 0:k.departure)==null?void 0:g.atd)||((D=(C=a.extraData)==null?void 0:C.departure)==null?void 0:D.etd))),1)])])]),e.createElementVNode("div",n9,[e.createElementVNode("div",s9,[c9,e.createElementVNode("div",null,e.toDisplayString((F=(T=a.extraData)==null?void 0:T.vessel)==null?void 0:F.name),1)]),e.createElementVNode("div",i9,[d9,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((w=(B=a.extraData)==null?void 0:B.arrival)==null?void 0:w.name),1),e.createTextVNode(" , "),e.createElementVNode("span",r9,e.toDisplayString(n.computeUTCTime(((O=(f=a.extraData)==null?void 0:f.arrival)==null?void 0:O.ata)||((G=(I=a.extraData)==null?void 0:I.arrival)==null?void 0:G.eta))),1)])])]),e.createElementVNode("div",m9,[e.createElementVNode("div",p9,[h9,e.createElementVNode("div",null,e.toDisplayString((z=(R=a.extraData)==null?void 0:R.voyage)==null?void 0:z.number),1)]),e.createElementVNode("div",_9,[E9,e.createElementVNode("div",null,e.toDisplayString((L=(_=a.extraData)==null?void 0:_.voyage)==null?void 0:L.loadCondition),1)])])]),e.createElementVNode("div",y9,[N9,e.createElementVNode("div",V9,[e.createElementVNode("div",f9,[e.createElementVNode("div",x9,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((W=(H=a.extraData)==null?void 0:H.departure)==null?void 0:W.name),1),e.createElementVNode("span",b9,"( "+e.toDisplayString(n.computeUTCTime(((M=(P=a.extraData)==null?void 0:P.departure)==null?void 0:M.atd)||((U=(Q=a.extraData)==null?void 0:Q.departure)==null?void 0:U.etd)))+" )",1)]),e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((ne=(J=a.extraData)==null?void 0:J.arrival)==null?void 0:ne.name),1),e.createElementVNode("span",g9,"( "+e.toDisplayString(n.computeUTCTime(((o=(se=a.extraData)==null?void 0:se.arrival)==null?void 0:o.ata)||((v=(u=a.extraData)==null?void 0:u.arrival)==null?void 0:v.eta)))+" )",1)])]),e.createElementVNode("table",null,[D9,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[k9,e.createElementVNode("td",null,e.toDisplayString(((te=(ee=a.extraData)==null?void 0:ee.cp)==null?void 0:te.speed)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((le=(oe=a.extraData)==null?void 0:oe.cp)==null?void 0:le.fo)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((ie=(ce=a.extraData)==null?void 0:ce.cp)==null?void 0:ie.dgo)??"—"),1)])])])]),e.createElementVNode("div",C9,[e.createElementVNode("div",S9,[B9,e.createElementVNode("div",w9,[((de=a.extraData)==null?void 0:de.extraDist)<0?(e.openBlock(),e.createElementBlock("div",A9,[T9,e.createElementVNode("span",F9,e.toDisplayString((_e=a.extraData)==null?void 0:_e.extraDist),1),O9])):((X=a.extraData)==null?void 0:X.extraDist)>=0?(e.openBlock(),e.createElementBlock("div",P9,[L9,e.createElementVNode("span",W9,e.toDisplayString((me=a.extraData)==null?void 0:me.extraDist),1),$9])):(e.openBlock(),e.createElementBlock("div",H9,"N/A"))])]),e.createElementVNode("div",M9,[I9,e.createElementVNode("div",G9,[((ye=(Ee=a.extraData)==null?void 0:Ee.timeAnalysis)==null?void 0:ye.totalExtraTime)<0?(e.openBlock(),e.createElementBlock("div",R9,[z9,e.createElementVNode("span",U9,e.toDisplayString((fe=(re=a.extraData)==null?void 0:re.timeAnalysis)==null?void 0:fe.totalExtraTime),1),Y9])):((be=(xe=a.extraData)==null?void 0:xe.timeAnalysis)==null?void 0:be.totalExtraTime)>=0?(e.openBlock(),e.createElementBlock("div",Z9,[Q9,e.createElementVNode("span",J9,e.toDisplayString((De=(ge=a.extraData)==null?void 0:ge.timeAnalysis)==null?void 0:De.totalExtraTime),1),K9])):(e.openBlock(),e.createElementBlock("div",j9,"N/A"))])]),e.createElementVNode("div",u9,[X9,e.createElementVNode("div",q9,[((Fe=(Te=(ke=a.extraData)==null?void 0:ke.consAnalysis)==null?void 0:Te.fo)==null?void 0:Fe.totalExtraCons)<0?(e.openBlock(),e.createElementBlock("div",v9,[e6,e.createElementVNode("span",t6,e.toDisplayString((Le=(Pe=(Oe=a.extraData)==null?void 0:Oe.consAnalysis)==null?void 0:Pe.fo)==null?void 0:Le.totalExtraCons),1),o6])):((He=($e=(We=a.extraData)==null?void 0:We.consAnalysis)==null?void 0:$e.fo)==null?void 0:He.totalExtraCons)>=0?(e.openBlock(),e.createElementBlock("div",l6,[a6,e.createElementVNode("span",n6,e.toDisplayString((je=(Ke=(Ne=a.extraData)==null?void 0:Ne.consAnalysis)==null?void 0:Ke.fo)==null?void 0:je.totalExtraCons),1),s6])):(e.openBlock(),e.createElementBlock("div",c6,"N/A"))])]),e.createElementVNode("div",i6,[d6,e.createElementVNode("div",r6,[((Se=(A=(ue=a.extraData)==null?void 0:ue.consAnalysis)==null?void 0:A.dgo)==null?void 0:Se.totalExtraCons)<0?(e.openBlock(),e.createElementBlock("div",m6,[p6,e.createElementVNode("span",h6,e.toDisplayString((qe=(Xe=(Ge=a.extraData)==null?void 0:Ge.consAnalysis)==null?void 0:Xe.dgo)==null?void 0:qe.totalExtraCons),1),_6])):((tt=(et=(ve=a.extraData)==null?void 0:ve.consAnalysis)==null?void 0:et.dgo)==null?void 0:tt.totalExtraCons)>=0?(e.openBlock(),e.createElementBlock("div",E6,[y6,e.createElementVNode("span",N6,e.toDisplayString((Be=($=(m=a.extraData)==null?void 0:m.consAnalysis)==null?void 0:$.dgo)==null?void 0:Be.totalExtraCons),1),V6])):(e.openBlock(),e.createElementBlock("div",f6,"N/A"))])])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(a.remarks)?"print-hidden":""])},[x6,e.createElementVNode("div",b6,[a.editable?(e.openBlock(),e.createElementBlock("div",g6,[a.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=j=>a.remarks=j),class:"editor",height:"80px",onBlur:s[1]||(s[1]=j=>n.handleCommit(j))},null,8,["modelValue"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-block",onDblclick:s[2]||(s[2]=j=>a.editable=!0)},[n.computeBlankHtml(a.remarks)?(e.openBlock(),e.createElementBlock("div",k6,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:a.remarks},null,8,D6))],32))])],2),e.createElementVNode("div",C6,[S6,((Me=l.report)==null?void 0:Me.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("table",B6,[w6,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[A6,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((Re=a.extraData)==null?void 0:Re.startLat,(pe=a.extraData)==null?void 0:pe.startLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Ue=a.extraData)==null?void 0:Ue.startTime)),1),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(ot=a.extraData)==null?void 0:ot.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=j=>n.handleCommit("extra","startFoBrob",j))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(lt=a.extraData)==null?void 0:lt.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=j=>n.handleCommit("extra","startDgoBrob",j))},null,8,["value"])]),T6,F6]),e.createElementVNode("tr",null,[O6,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((dt=a.extraData)==null?void 0:dt.endLat,(rt=a.extraData)==null?void 0:rt.endLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((mt=a.extraData)==null?void 0:mt.endTime)),1),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(pt=a.extraData)==null?void 0:pt.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=j=>n.handleCommit("extra","endFoBrob",j))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(_t=a.extraData)==null?void 0:_t.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=j=>n.handleCommit("extra","endDgoBrob",j))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Et=a.extraData)==null?void 0:Et.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=j=>n.handleCommit("extra","endFoBunkering",j))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(yt=a.extraData)==null?void 0:yt.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[8]||(s[8]=j=>n.handleCommit("extra","endDgoBunkering",j))},null,8,["value"])])])])])):(e.openBlock(),e.createElementBlock("table",P6,[L6,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[W6,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((Nt=a.extraData)==null?void 0:Nt.startLat,(Vt=a.extraData)==null?void 0:Vt.startLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((ft=a.extraData)==null?void 0:ft.startTime)),1)]),e.createElementVNode("tr",null,[$6,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((xt=a.extraData)==null?void 0:xt.endLat,(bt=a.extraData)==null?void 0:bt.endLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((gt=a.extraData)==null?void 0:gt.endTime)),1)])])]))]),((Dt=l.report)==null?void 0:Dt.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",H6,[e.createElementVNode("div",M6,[I6,e.createVNode(x,{style:{"margin-bottom":"-15px"},size:"small",class:"print-hidden",onClick:n.handleAdd},{default:e.withCtx(()=>[e.createTextVNode("Add Extra Port")]),_:1},8,["onClick"])]),e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[G6,R6,z6,U6,Y6,((kt=a.extraPortList)==null?void 0:kt.length)>0?(e.openBlock(),e.createElementBlock("th",Z6,"Activity")):e.createCommentVNode("",!0)]),Q6]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.extraPortList,(j,Mo)=>{var tn,on,ln,an,nn,sn,cn,dn;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Mo},[e.createElementVNode("tr",null,[e.createElementVNode("td",J6,[e.createVNode(p,{class:"editable-item",value:j==null?void 0:j.name,type:"remotePortSelect",size:"small",align:"center",options:a.portList,onSelect:n.fetchSuggestName,onCommit:ct=>n.handleCommit("port","name",ct,Mo)},null,8,["value","options","onSelect","onCommit"])]),K6,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(tn=j==null?void 0:j.arrival)==null?void 0:tn.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:ct=>n.handleCommit("port","arrival.date",ct,Mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(on=j==null?void 0:j.arrival)==null?void 0:on.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","arrival.foBrob",ct,Mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(ln=j==null?void 0:j.arrival)==null?void 0:ln.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","arrival.dgoBrob",ct,Mo)},null,8,["value","onCommit"])]),j6,u6,e.createElementVNode("td",X6,[e.createVNode(x,{size:"small",onClick:ct=>n.handleRemove(Mo)},{default:e.withCtx(()=>[e.createTextVNode("Del")]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[q6,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(an=j==null?void 0:j.departure)==null?void 0:an.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:ct=>n.handleCommit("port","departure.date",ct,Mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(nn=j==null?void 0:j.departure)==null?void 0:nn.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","departure.foBrob",ct,Mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(sn=j==null?void 0:j.departure)==null?void 0:sn.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","departure.dgoBrob",ct,Mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(cn=j==null?void 0:j.departure)==null?void 0:cn.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","departure.bunkeringFo",ct,Mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(dn=j==null?void 0:j.departure)==null?void 0:dn.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","departure.bunkeringDgo",ct,Mo)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[v6,ew,e.createElementVNode("td",null,e.toDisplayString(((St=(Ct=a.extraData)==null?void 0:Ct.timeAnalysis)==null?void 0:St.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((At=(wt=(Bt=a.extraData)==null?void 0:Bt.consAnalysis)==null?void 0:wt.fo)==null?void 0:At.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Ot=(Ft=(Tt=a.extraData)==null?void 0:Tt.consAnalysis)==null?void 0:Ft.dgo)==null?void 0:Ot.portCons)??"—"),1),tw,ow,((Pt=a.extraPortList)==null?void 0:Pt.length)>0?(e.openBlock(),e.createElementBlock("td",lw)):e.createCommentVNode("",!0)])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",aw,[nw,e.createElementVNode("table",null,[sw,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(no=a.extraData)==null?void 0:no.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[9]||(s[9]=j=>n.handleCommit("extraData","actualDist",j,t.index))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(so=a.extraData)==null?void 0:so.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[10]||(s[10]=j=>n.handleCommit("extraData","priorDist",j,t.index))},null,8,["value"])]),e.createElementVNode("td",null,e.toDisplayString(((co=a.extraData)==null?void 0:co.extraDist)??"—"),1)])])]),e.createElementVNode("div",cw,[((io=l.report)==null?void 0:io.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",iw,[e.createElementVNode("div",dw,[rw,e.createElementVNode("div",mw,[e.createElementVNode("div",pw,[e.createElementVNode("div",null,e.toDisplayString((ro=a.extraData)==null?void 0:ro.extraDist),1),hw,e.createElementVNode("div",null,e.toDisplayString((po=(mo=a.extraData)==null?void 0:mo.cp)==null?void 0:po.speed),1)])]),_w,e.createElementVNode("div",Ew,e.toDisplayString((_o=(ho=a.extraData)==null?void 0:ho.timeAnalysis)==null?void 0:_o.sailingTime)+" (hrs)",1)]),e.createElementVNode("div",yw,[Nw,e.createElementVNode("div",Vw,e.toDisplayString((S=(Eo=a.extraData)==null?void 0:Eo.timeAnalysis)==null?void 0:S.sailingTime),1),fw,e.createElementVNode("div",xw,e.toDisplayString(n.computeNum((at=(Ie=a.extraData)==null?void 0:Ie.timeAnalysis)==null?void 0:at.portTime)),1),bw,e.createElementVNode("div",gw,e.toDisplayString((ht=(nt=a.extraData)==null?void 0:nt.timeAnalysis)==null?void 0:ht.totalExtraTime)+" (hrs)",1)])])):(e.openBlock(),e.createElementBlock("div",Dw,[e.createElementVNode("div",kw,[Cw,e.createElementVNode("div",Sw,[e.createElementVNode("div",Bw,[e.createElementVNode("div",null,e.toDisplayString((Lt=a.extraData)==null?void 0:Lt.priorDist),1),ww,e.createElementVNode("div",null,e.toDisplayString(($t=(Wt=a.extraData)==null?void 0:Wt.cp)==null?void 0:$t.speed),1)])]),Aw,e.createElementVNode("div",Tw,e.toDisplayString((Mt=(Ht=a.extraData)==null?void 0:Ht.timeAnalysis)==null?void 0:Mt.sailingTime)+" (hrs)",1),Fw,Ow]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",Pw,[Lw,e.createElementVNode("div",Ww,e.toDisplayString((Gt=(It=a.extraData)==null?void 0:It.timeAnalysis)==null?void 0:Gt.actualTime),1),$w,e.createElementVNode("div",Hw,e.toDisplayString((zt=(Rt=a.extraData)==null?void 0:Rt.timeAnalysis)==null?void 0:zt.sailingTime),1),Mw,e.createElementVNode("div",Iw,e.toDisplayString((Yt=(Ut=a.extraData)==null?void 0:Ut.timeAnalysis)==null?void 0:Yt.totalExtraTime)+" (hrs)",1)])):(e.openBlock(),e.createElementBlock("div",Gw,[Rw,e.createElementVNode("div",zw,e.toDisplayString((Qt=(Zt=a.extraData)==null?void 0:Zt.timeAnalysis)==null?void 0:Qt.actualTime),1),Uw,e.createElementVNode("div",Yw,e.toDisplayString((Kt=(Jt=a.extraData)==null?void 0:Jt.timeAnalysis)==null?void 0:Kt.sailingTime),1),Zw,e.createElementVNode("div",Qw,e.toDisplayString((ut=(jt=a.extraData)==null?void 0:jt.timeAnalysis)==null?void 0:ut.portTime),1),Jw,e.createElementVNode("div",Kw,e.toDisplayString((qt=(Xt=a.extraData)==null?void 0:Xt.timeAnalysis)==null?void 0:qt.totalExtraTime)+" (hrs)",1)]))]))]),e.createElementVNode("div",jw,[((vt=l.report)==null?void 0:vt.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",uw,[e.createElementVNode("div",Xw,[qw,e.createElementVNode("div",vw,[e.createElementVNode("div",e7,[e.createElementVNode("div",null,e.toDisplayString((eo=a.extraData)==null?void 0:eo.extraDist),1),t7,e.createElementVNode("div",null,e.toDisplayString((oo=(to=a.extraData)==null?void 0:to.cp)==null?void 0:oo.speed),1)])]),o7,e.createElementVNode("div",l7,[e.createElementVNode("div",a7,[e.createElementVNode("div",null,e.toDisplayString((yo=(lo=a.extraData)==null?void 0:lo.cp)==null?void 0:yo.fo),1),n7,s7])]),c7,e.createElementVNode("div",i7,e.toDisplayString((fo=(Vo=(No=a.extraData)==null?void 0:No.consAnalysis)==null?void 0:Vo.fo)==null?void 0:fo.sailingCons)+" (mt)",1)]),e.createElementVNode("div",d7,[r7,e.createElementVNode("div",m7,e.toDisplayString((go=(bo=(xo=a.extraData)==null?void 0:xo.consAnalysis)==null?void 0:bo.fo)==null?void 0:go.sailingCons),1),p7,e.createElementVNode("div",h7,e.toDisplayString(n.computeNum((Co=(ko=(Do=a.extraData)==null?void 0:Do.consAnalysis)==null?void 0:ko.fo)==null?void 0:Co.portCons)),1),_7,e.createElementVNode("div",E7,e.toDisplayString((wo=(Bo=(So=a.extraData)==null?void 0:So.consAnalysis)==null?void 0:Bo.fo)==null?void 0:wo.totalExtraCons)+" (mt)",1)]),e.createElementVNode("div",y7,[N7,e.createElementVNode("div",V7,[e.createElementVNode("div",f7,[e.createElementVNode("div",null,e.toDisplayString((Ao=a.extraData)==null?void 0:Ao.extraDist),1),x7,e.createElementVNode("div",null,e.toDisplayString((Fo=(To=a.extraData)==null?void 0:To.cp)==null?void 0:Fo.speed),1)])]),b7,e.createElementVNode("div",g7,[e.createElementVNode("div",D7,[e.createElementVNode("div",null,e.toDisplayString((Po=(Oo=a.extraData)==null?void 0:Oo.cp)==null?void 0:Po.dgo),1),k7,C7])]),S7,e.createElementVNode("div",B7,e.toDisplayString(($o=(Wo=(Lo=a.extraData)==null?void 0:Lo.consAnalysis)==null?void 0:Wo.dgo)==null?void 0:$o.sailingCons)+" (mt)",1)]),e.createElementVNode("div",w7,[A7,e.createElementVNode("div",T7,e.toDisplayString((zo=(Ro=(Ho=a.extraData)==null?void 0:Ho.consAnalysis)==null?void 0:Ro.dgo)==null?void 0:zo.sailingCons),1),F7,e.createElementVNode("div",O7,e.toDisplayString(n.computeNum((Zo=(Yo=(Uo=a.extraData)==null?void 0:Uo.consAnalysis)==null?void 0:Yo.dgo)==null?void 0:Zo.portCons)),1),P7,e.createElementVNode("div",L7,e.toDisplayString((Ko=(Jo=(Qo=a.extraData)==null?void 0:Qo.consAnalysis)==null?void 0:Jo.dgo)==null?void 0:Ko.totalExtraCons)+" (mt)",1)])])):(e.openBlock(),e.createElementBlock("div",W7,[e.createElementVNode("div",$7,[H7,e.createElementVNode("div",M7,[e.createElementVNode("div",I7,[e.createElementVNode("div",null,e.toDisplayString((jo=a.extraData)==null?void 0:jo.priorDist),1),G7,e.createElementVNode("div",null,e.toDisplayString((Xo=(uo=a.extraData)==null?void 0:uo.cp)==null?void 0:Xo.speed),1)])]),R7,e.createElementVNode("div",z7,[e.createElementVNode("div",U7,[e.createElementVNode("div",null,e.toDisplayString((vo=(qo=a.extraData)==null?void 0:qo.cp)==null?void 0:vo.fo),1),Y7,Z7])]),Q7,e.createElementVNode("div",J7,e.toDisplayString((ol=(tl=(el=a.extraData)==null?void 0:el.consAnalysis)==null?void 0:tl.fo)==null?void 0:ol.sailingCons)+" (mt)",1)]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",K7,[j7,e.createElementVNode("div",u7,e.toDisplayString((nl=(al=(ll=a.extraData)==null?void 0:ll.consAnalysis)==null?void 0:al.fo)==null?void 0:nl.actualCons),1),X7,e.createElementVNode("div",q7,e.toDisplayString(n.computeNum((il=(cl=(sl=a.extraData)==null?void 0:sl.consAnalysis)==null?void 0:cl.fo)==null?void 0:il.sailingCons)),1),v7,e.createElementVNode("div",eA,e.toDisplayString((st=(rl=(dl=a.extraData)==null?void 0:dl.consAnalysis)==null?void 0:rl.fo)==null?void 0:st.totalExtraCons)+" (mt)",1)])):(e.openBlock(),e.createElementBlock("div",tA,[oA,e.createElementVNode("div",lA,e.toDisplayString((yl=(El=(pl=a.extraData)==null?void 0:pl.consAnalysis)==null?void 0:El.fo)==null?void 0:yl.actualCons),1),aA,e.createElementVNode("div",nA,e.toDisplayString(n.computeNum((fl=(Vl=(Nl=a.extraData)==null?void 0:Nl.consAnalysis)==null?void 0:Vl.fo)==null?void 0:fl.sailingCons)),1),sA,e.createElementVNode("div",cA,e.toDisplayString(n.computeNum((gl=(bl=(xl=a.extraData)==null?void 0:xl.consAnalysis)==null?void 0:bl.fo)==null?void 0:gl.portCons)),1),iA,e.createElementVNode("div",dA,e.toDisplayString((Cl=(kl=(Dl=a.extraData)==null?void 0:Dl.consAnalysis)==null?void 0:kl.fo)==null?void 0:Cl.totalExtraCons)+" (mt)",1)])),e.createElementVNode("div",rA,[mA,e.createElementVNode("div",pA,[e.createElementVNode("div",hA,[e.createElementVNode("div",null,e.toDisplayString((Sl=a.extraData)==null?void 0:Sl.priorDist),1),_A,e.createElementVNode("div",null,e.toDisplayString((wl=(Bl=a.extraData)==null?void 0:Bl.cp)==null?void 0:wl.speed),1)])]),EA,e.createElementVNode("div",yA,[e.createElementVNode("div",NA,[e.createElementVNode("div",null,e.toDisplayString((Tl=(Al=a.extraData)==null?void 0:Al.cp)==null?void 0:Tl.dgo),1),VA,fA])]),xA,e.createElementVNode("div",bA,e.toDisplayString((Pl=(Ol=(Fl=a.extraData)==null?void 0:Fl.consAnalysis)==null?void 0:Ol.dgo)==null?void 0:Pl.sailingCons)+" (mt)",1)]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",gA,[DA,e.createElementVNode("div",kA,e.toDisplayString(($l=(Wl=(Ll=a.extraData)==null?void 0:Ll.consAnalysis)==null?void 0:Wl.dgo)==null?void 0:$l.actualCons),1),CA,e.createElementVNode("div",SA,e.toDisplayString((Il=(Ml=(Hl=a.extraData)==null?void 0:Hl.consAnalysis)==null?void 0:Ml.dgo)==null?void 0:Il.sailingCons),1),BA,e.createElementVNode("div",wA,e.toDisplayString((zl=(Rl=(Gl=a.extraData)==null?void 0:Gl.consAnalysis)==null?void 0:Rl.dgo)==null?void 0:zl.totalExtraCons)+" (mt)",1)])):(e.openBlock(),e.createElementBlock("div",AA,[TA,e.createElementVNode("div",FA,e.toDisplayString((Zl=(Yl=(Ul=a.extraData)==null?void 0:Ul.consAnalysis)==null?void 0:Yl.dgo)==null?void 0:Zl.actualCons),1),OA,e.createElementVNode("div",PA,e.toDisplayString(n.computeNum((Kl=(Jl=(Ql=a.extraData)==null?void 0:Ql.consAnalysis)==null?void 0:Jl.dgo)==null?void 0:Kl.sailingCons)),1),LA,e.createElementVNode("div",WA,e.toDisplayString(n.computeNum((Xl=(ul=(jl=a.extraData)==null?void 0:jl.consAnalysis)==null?void 0:ul.dgo)==null?void 0:Xl.portCons)),1),$A,e.createElementVNode("div",HA,e.toDisplayString((ea=(vl=(ql=a.extraData)==null?void 0:ql.consAnalysis)==null?void 0:vl.dgo)==null?void 0:ea.totalExtraCons)+" (mt)",1)]))]))]),e.createElementVNode("div",MA,[e.createElementVNode("div",IA,[((ta=l.report)==null?void 0:ta.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("table",GA,[RA,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[zA,e.createElementVNode("td",null,e.toDisplayString(((la=(oa=a.extraData)==null?void 0:oa.timeAnalysis)==null?void 0:la.sailingTime)??"—"),1)]),e.createElementVNode("tr",null,[UA,e.createElementVNode("td",null,e.toDisplayString(((na=(aa=a.extraData)==null?void 0:aa.timeAnalysis)==null?void 0:na.portTime)??"—"),1)]),e.createElementVNode("tr",null,[YA,e.createElementVNode("td",null,e.toDisplayString(((ca=(sa=a.extraData)==null?void 0:sa.timeAnalysis)==null?void 0:ca.totalExtraTime)??"—"),1)])])])):(e.openBlock(),e.createElementBlock("table",ZA,[QA,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[JA,e.createElementVNode("td",null,e.toDisplayString((da=(ia=a.extraData)==null?void 0:ia.timeAnalysis)==null?void 0:da.sailingTime),1)]),e.createElementVNode("tr",null,[KA,e.createElementVNode("td",null,e.toDisplayString((ma=(ra=a.extraData)==null?void 0:ra.timeAnalysis)==null?void 0:ma.actualTime),1)]),e.createElementVNode("tr",null,[jA,e.createElementVNode("td",null,e.toDisplayString((ha=(pa=a.extraData)==null?void 0:pa.timeAnalysis)==null?void 0:ha.totalExtraTime),1)])])]))]),e.createElementVNode("div",uA,[((_a=l.report)==null?void 0:_a.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("table",XA,[qA,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[vA,e.createElementVNode("td",null,e.toDisplayString(((Na=(ya=(Ea=a.extraData)==null?void 0:Ea.consAnalysis)==null?void 0:ya.fo)==null?void 0:Na.sailingCons)??"—"),1)]),e.createElementVNode("tr",null,[eT,e.createElementVNode("td",null,[e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((xa=(fa=(Va=a.extraData)==null?void 0:Va.consAnalysis)==null?void 0:fa.fo)==null?void 0:xa.totalExtraCons)} flex blue center`)},e.toDisplayString(((Da=(ga=(ba=a.extraData)==null?void 0:ba.consAnalysis)==null?void 0:ga.fo)==null?void 0:Da.totalExtraCons)??"—"),3)])]),e.createElementVNode("tr",null,[tT,e.createElementVNode("td",null,e.toDisplayString(((Sa=(Ca=(ka=a.extraData)==null?void 0:ka.consAnalysis)==null?void 0:Ca.dgo)==null?void 0:Sa.sailingCons)??"—"),1)]),e.createElementVNode("tr",null,[oT,e.createElementVNode("td",null,[e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Aa=(wa=(Ba=a.extraData)==null?void 0:Ba.consAnalysis)==null?void 0:wa.dgo)==null?void 0:Aa.totalExtraCons)} flex blue center`)},e.toDisplayString(((Oa=(Fa=(Ta=a.extraData)==null?void 0:Ta.consAnalysis)==null?void 0:Fa.dgo)==null?void 0:Oa.totalExtraCons)??"—"),3)])])])])):(e.openBlock(),e.createElementBlock("table",lT,[aT,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[nT,e.createElementVNode("td",null,e.toDisplayString((Wa=(La=(Pa=a.extraData)==null?void 0:Pa.consAnalysis)==null?void 0:La.fo)==null?void 0:Wa.sailingCons),1)]),e.createElementVNode("tr",null,[sT,e.createElementVNode("td",null,[e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Z=(Ha=($a=a.extraData)==null?void 0:$a.consAnalysis)==null?void 0:Ha.fo)==null?void 0:Z.totalExtraCons)} flex blue center`)},e.toDisplayString((Ia=(Ma=(ao=a.extraData)==null?void 0:ao.consAnalysis)==null?void 0:Ma.fo)==null?void 0:Ia.totalExtraCons),3)])]),e.createElementVNode("tr",null,[cT,e.createElementVNode("td",null,e.toDisplayString((za=(Ra=(Ga=a.extraData)==null?void 0:Ga.consAnalysis)==null?void 0:Ra.dgo)==null?void 0:za.sailingCons),1)]),e.createElementVNode("tr",null,[iT,e.createElementVNode("td",null,[e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Za=(Ya=(Ua=a.extraData)==null?void 0:Ua.consAnalysis)==null?void 0:Ya.dgo)==null?void 0:Za.totalExtraCons)} flex blue center`)},e.toDisplayString((va=(qa=(Qe=a.extraData)==null?void 0:Qe.consAnalysis)==null?void 0:qa.dgo)==null?void 0:va.totalExtraCons),3)])])])]))])])]),e.createElementVNode("div",dT,[rT,e.createElementVNode("div",mT,[e.createElementVNode("img",{style:{width:"100%"},src:(en=a.extraData)==null?void 0:en.chartUrl,alt:""},null,8,pT),hT])])])])}const kn=Ce(jB,[["render",_T],["__scopeId","data-v-281583c9"]]),fY="",ET={name:"FliDvtRpt",components:{CirclePlus:Ja.CirclePlus,Remove:Ja.Remove,EditableItem:Dn,Editor:Go},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,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJ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],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,s="MMM-DD/HHmm[Z]"){return t?`${K(t).utc().format(s)}`:"-"}},computedLngLat(){return function(t,s){const l=ae.LngLatHelper.lat2pretty(t).pretty,r=ae.LngLatHelper.lng2pretty(s).pretty;return`${l} / ${r}`}},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:{fetchData(){var t,s,l,r;this.extraData=this.data,this.extraPortList=(t=this.data)!=null&&t.extraPorts?(s=this.data)==null?void 0:s.extraPorts:[],this.advisory=(l=this.data)!=null&&l.comments?(r=this.data)==null?void 0:r.comments:void 0,this.id=this.data.id},async fetchSuggestName(t){var l;const s=await Qa.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(l=s==null?void 0:s.data)==null?void 0:l.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 l,r,a,n,E;this.extraPortList.splice(t,1);const s=await Qa.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(l=s==null?void 0:s.data)==null?void 0:l.data,this.extraPortList=(a=(r=s==null?void 0:s.data)==null?void 0:r.data)==null?void 0:a.extraPorts,this.advisory=(n=this.data)!=null&&n.comments?(E=this.data)==null?void 0:E.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,s,l,r){var E,c,p,x,b;this.editable=!1;const a=s.indexOf(".");let n={};if((l||l==0)&&l!=""){if(t==="port"){if(a>0){const y=s.substring(0,a),k=s.substring(a+1);k!=="date"&&(l=Number(l)),this.extraPortList[r][y][k]=l}else this.extraPortList[r][s]=l;n={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[s]=l,n={[s]:l}):(this.extraData[s]=l,n={[s]:Number(l)});const h=await Qa.put(`${this.gateway}/api/als/deviations/${this.id}`,n,{headers:{Authorization:this.token}});this.extraData=(E=h==null?void 0:h.data)==null?void 0:E.data,this.extraPortList=(p=(c=h==null?void 0:h.data)==null?void 0:c.data)==null?void 0:p.extraPorts,this.advisory=(x=this.data)!=null&&x.comments?(b=this.data)==null?void 0:b.comments:void 0}else hn.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},V=t=>(e.pushScopeId("data-v-eba493df"),t=t(),e.popScopeId(),t),yT={class:"deviation-report"},NT=V(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),VT={class:"report-header"},fT={class:"header-title",style:{position:"relative !important"}},xT={class:"header-title-content"},bT=V(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),gT={class:"title-date"},DT={class:"report-summary"},kT={class:"summary-item"},CT=V(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),ST={class:"flexL gray"},BT={class:"summary-item"},wT=V(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),AT={class:"flexL gray"},TT={class:"summary-item"},FT=V(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),OT={class:"flexL gray"},PT={class:"summary-item"},LT=V(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),WT={class:"flexL gray"},$T={class:"summary-item"},HT=V(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),MT={class:"flexL gray",style:{display:"flex"}},IT={class:"flex"},GT={class:"flexM"},RT={class:"summary-item"},zT=V(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),UT={class:"flexL gray",style:{display:"flex"}},YT={class:"flex"},ZT={class:"flexM"},QT=V(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),JT={class:"report-summary"},KT={class:"summary-item"},jT=V(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),uT={class:"summary-item"},XT=V(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),qT={class:"summary-item"},vT=V(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),eF={class:"summary-item"},tF=V(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),oF=V(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),lF={class:"report-map"},aF=["src"],nF=e.createStaticVNode('<div class="legend" data-v-eba493df><div class="legend-item" data-v-eba493df><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-eba493df></div><div data-v-eba493df>Actual Route</div></div><div class="legend-item" data-v-eba493df><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-eba493df></div><div data-v-eba493df>Route prior to deviation</div></div></div>',1),sF=V(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),cF={key:0,class:"subtitle"},iF={key:1,class:"report-summary"},dF=e.createStaticVNode('<div class="summary-item" data-v-eba493df><div class="blue center" style="width:16%;" data-v-eba493df>Diversion</div><div class="blue center" style="width:20%;" data-v-eba493df>Position</div><div class="blue center" style="width:17%;" data-v-eba493df>Date Time</div><div class="flex blue center" data-v-eba493df>FO BROB<br data-v-eba493df>(mt)</div><div class="flex blue center" data-v-eba493df>DO/GO<br data-v-eba493df>BROB (mt)</div><div class="flex blue center" data-v-eba493df>Bunkering<br data-v-eba493df>FO (mt)</div><div class="flex blue center" data-v-eba493df>Bunkering<br data-v-eba493df>DO/GO (mt)</div></div>',1),rF={class:"summary-item"},mF=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),pF={class:"blue center",style:{width:"20%"}},hF={class:"blue center",style:{width:"17%"}},_F={class:"flex blue center"},EF={class:"flex blue center"},yF=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),NF=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),VF={class:"summary-item"},fF=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),xF={class:"blue center",style:{width:"20%"}},bF={class:"blue center",style:{width:"17%"}},gF={class:"flex blue center"},DF={class:"flex blue center"},kF={class:"flex blue center"},CF={class:"flex blue center"},SF={class:"summary-item"},BF=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),wF=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),AF={class:"blue center",style:{width:"17%"}},TF={class:"flex blue center"},FF={class:"flex blue center"},OF=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),PF=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),LF=V(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),WF={class:"report-summary"},$F={class:"summary-item"},HF=V(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),MF={class:"flexL blue center"},IF={class:"summary-item"},GF=V(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),RF={class:"flexL blue center"},zF={class:"summary-item"},UF=V(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),YF={class:"flexL blue center"},ZF={class:"subtitle port"},QF=V(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),JF={class:"print-hidden"},KF={class:"report-port"},jF=V(()=>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)),uF={rowspan:2},XF=V(()=>e.createElementVNode("td",null,"Arrival",-1)),qF=V(()=>e.createElementVNode("td",null,null,-1)),vF=V(()=>e.createElementVNode("td",null,null,-1)),eO={rowspan:2,class:"print-hidden"},tO=V(()=>e.createElementVNode("td",null,"Departure",-1)),oO=V(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),lO=V(()=>e.createElementVNode("td",null,null,-1)),aO=V(()=>e.createElementVNode("td",null,null,-1)),nO=V(()=>e.createElementVNode("td",null,null,-1)),sO=V(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),cO=V(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),iO={class:"report-summary"},dO=V(()=>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)),rO={class:"summary-item"},mO=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),pO={class:"flex blue center"},hO={class:"flex blue center"},_O={class:"summary-item"},EO=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),yO={class:"flex blue center"},NO=V(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),VO={key:2,class:"report-formular"},fO={class:"equation"},xO=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-eba493df>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-eba493df>=</div><div class="function" style="width:20%;" data-v-eba493df><div data-v-eba493df>Deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:5%;" data-v-eba493df>=</div>',4),bO={class:"function",style:{width:"20%"}},gO=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),DO=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),kO={style:{width:"10%"}},CO=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),SO={class:"equation"},BO=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-eba493df>Total extra Time (hrs)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:28%;" data-v-eba493df>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-eba493df>+</div><div style="width:23%;" data-v-eba493df>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-eba493df>=</div>',6),wO={style:{width:"5%"}},AO=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),TO={style:{width:"8%"}},FO=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),OO={style:{width:"4%"}},PO=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),LO={key:3,class:"report-formular"},WO={class:"equation"},$O=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-eba493df>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-eba493df>=</div><div class="function" style="width:20%;" data-v-eba493df><div data-v-eba493df>Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:5%;" data-v-eba493df>=</div>',4),HO={class:"function",style:{width:"20%"}},MO=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),IO=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),GO={style:{width:"10%"}},RO=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),zO={key:0,class:"equation"},UO=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-eba493df>Total extra Time (hrs)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:24%;" data-v-eba493df>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-eba493df>-</div><div style="width:30%;" data-v-eba493df>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-eba493df>=</div>',6),YO={style:{width:"5%"}},ZO=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),QO={style:{width:"5%"}},JO=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),KO={style:{width:"5%"}},jO=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),uO={key:1,class:"equation"},XO=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-eba493df>Total extra Time (hrs)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:24%;" data-v-eba493df>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-eba493df>-</div><div style="width:20%;" data-v-eba493df>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-eba493df>-</div><div style="width:10%;" data-v-eba493df>Time spent in port (hrs)</div><div style="width:2%;" data-v-eba493df>=</div>',8),qO={style:{width:"5%"}},vO=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),eP={style:{width:"5%"}},tP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),oP={style:{width:"5%"}},lP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),aP={style:{width:"5%"}},nP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),sP={key:4,class:"report-summary"},cP={class:"summary-item"},iP=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),dP={class:"flex blue center"},rP={class:"summary-item"},mP=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),pP={class:"flex blue center"},hP={class:"summary-item"},_P=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),EP={class:"flex blue center"},yP={key:5,class:"report-summary"},NP={class:"summary-item"},VP=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),fP={class:"flex blue center"},xP={class:"summary-item"},bP=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),gP={class:"flex blue center"},DP={key:0,class:"summary-item"},kP=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),CP={class:"flex blue center"},SP={class:"summary-item"},BP=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),wP={class:"flex blue center"},AP=V(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),TP={key:6,class:"report-formular"},FP={class:"equation"},OP=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-eba493df>=</div><div class="function" style="width:30%;" data-v-eba493df><div data-v-eba493df>Deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:3%;" data-v-eba493df>×</div><div class="function" style="width:23%;" data-v-eba493df><div data-v-eba493df>Daily FO Consumption</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>24</div></div><div style="width:3%;" data-v-eba493df>=</div>',6),PP={class:"function",style:{width:"5%"}},LP=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),WP=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),$P={class:"function",style:{width:"5%"}},HP=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),MP=V(()=>e.createElementVNode("div",null,"24",-1)),IP=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),GP={style:{width:"5%"}},RP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),zP={class:"equation"},UP=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:30%;" data-v-eba493df>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-eba493df>+</div><div style="width:23%;" data-v-eba493df>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-eba493df>=</div>',6),YP={style:{width:"5%"}},ZP=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),QP={style:{width:"5%"}},JP=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),KP={style:{width:"5%"}},jP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),uP={class:"equation"},XP=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-eba493df>=</div><div class="function" style="width:30%;" data-v-eba493df><div data-v-eba493df>Deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:3%;" data-v-eba493df>×</div><div class="function" style="width:23%;" data-v-eba493df><div data-v-eba493df>Daily DO Consumption</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>24</div></div><div style="width:3%;" data-v-eba493df>=</div>',6),qP={class:"function",style:{width:"5%"}},vP=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),eL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),tL={class:"function",style:{width:"5%"}},oL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lL=V(()=>e.createElementVNode("div",null,"24",-1)),aL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),nL={style:{width:"5%"}},sL=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),cL={class:"equation"},iL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:30%;" data-v-eba493df>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:23%;" data-v-eba493df>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-eba493df>=</div>',6),dL={style:{width:"5%"}},rL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),mL={style:{width:"5%"}},pL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),hL={style:{width:"5%"}},_L=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),EL={key:7,class:"report-formular"},yL={class:"equation"},NL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-eba493df>=</div><div class="function" style="width:30%;" data-v-eba493df><div data-v-eba493df>Route prior to deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:3%;" data-v-eba493df>×</div><div class="function" style="width:23%;" data-v-eba493df><div data-v-eba493df>CP Daily FO Consumption</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>24</div></div><div style="width:3%;" data-v-eba493df>=</div>',6),VL={class:"function",style:{width:"5%"}},fL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),xL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),bL={class:"function",style:{width:"5%"}},gL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),DL=V(()=>e.createElementVNode("div",null,"24",-1)),kL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),CL={style:{width:"5%"}},SL=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),BL={class:"equation"},wL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-eba493df>=</div><div class="function" style="width:30%;" data-v-eba493df><div data-v-eba493df>Route prior to deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:3%;" data-v-eba493df>×</div><div class="function" style="width:23%;" data-v-eba493df><div data-v-eba493df>CP Daily DO Consumption</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>24</div></div><div style="width:3%;" data-v-eba493df>=</div>',6),AL={class:"function",style:{width:"5%"}},TL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),FL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),OL={class:"function",style:{width:"5%"}},PL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),LL=V(()=>e.createElementVNode("div",null,"24",-1)),WL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),$L={style:{width:"5%"}},HL=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),ML={key:0,class:"equation"},IL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:30%;" data-v-eba493df>FO Consumption for Actual Route</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:23%;" data-v-eba493df>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-eba493df>=</div>',6),GL={style:{width:"5%"}},RL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),zL={style:{width:"5%"}},UL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),YL={style:{width:"5%"}},ZL=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),QL={key:1,class:"equation"},JL=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-eba493df>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:15%;" data-v-eba493df>FO Consumption for Actual Route</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:20%;" data-v-eba493df>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:10%;" data-v-eba493df>FO Consumption in port</div><div style="width:3%;" data-v-eba493df>=</div>',8),KL={style:{width:"5%"}},jL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),uL={style:{width:"5%"}},XL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),qL={style:{width:"5%"}},vL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),eW={style:{width:"5%"}},tW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),oW={key:2,class:"equation"},lW=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:30%;" data-v-eba493df>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:23%;" data-v-eba493df>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-eba493df>=</div>',6),aW={style:{width:"5%"}},nW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),sW={style:{width:"5%"}},cW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),iW={style:{width:"5%"}},dW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),rW={key:3,class:"equation"},mW=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-eba493df>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:15%;" data-v-eba493df>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:20%;" data-v-eba493df>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:10%;" data-v-eba493df>DO/GO Consumption in port</div><div style="width:3%;" data-v-eba493df>=</div>',8),pW={style:{width:"5%"}},hW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),_W={style:{width:"5%"}},EW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),yW={style:{width:"5%"}},NW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),VW={style:{width:"5%"}},fW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),xW={key:8,class:"report-summary"},bW=V(()=>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)),gW={class:"summary-item"},DW=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),kW={class:"flex blue center"},CW={class:"flex blue center"},SW={class:"summary-item"},BW=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),wW={class:"flex blue center"},AW={class:"flex blue center"},TW={class:"summary-item"},FW=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),OW={key:9,class:"report-summary"},PW=V(()=>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)),LW={class:"summary-item"},WW=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),$W={class:"flex blue center"},HW={class:"flex blue center"},MW={class:"summary-item"},IW=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),GW={class:"flex blue center"},RW={class:"flex blue center"},zW={key:0,class:"summary-item"},UW=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),YW={class:"flex blue center"},ZW={class:"flex blue center"},QW={class:"summary-item"},JW=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),KW=["innerHTML"];function jW(t,s,l,r,a,n){var h,y,k,g,C,D,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,o,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,xe,be,ge,De,ke,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,Ke,je,ue,A,Se,Ge,Xe,qe,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,xt,bt,gt,Dt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo,S,Ie,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,ut,Xt,qt,vt,eo,to,oo,lo,yo,No,Vo,fo,xo,bo,go,Do,ko,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Ro,zo,Uo,Yo,Zo,Qo,Jo,Ko,jo,uo,Xo,qo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl,st,pl,El,yl,Nl,Vl,fl,xl,bl,gl,Dl,kl,Cl,Sl,Bl,wl,Al,Tl,Fl,Ol,Pl,Ll,Wl,$l,Hl,Ml,Il,Gl,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,jl,ul,Xl,ql,vl,ea,ta,oa,la,aa,na,sa,ca,ia,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,xa,ba,ga,Da,ka,Ca,Sa,Ba,wa,Aa,Ta,Fa,Oa,Pa,La,Wa,$a,Ha;const E=e.resolveComponent("EditableItem"),c=e.resolveComponent("CirclePlus"),p=e.resolveComponent("ElIcon"),x=e.resolveComponent("Remove"),b=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",yT,[NT,e.createElementVNode("div",VT,[e.createElementVNode("div",fT,[e.createElementVNode("div",xT,[bT,e.createElementVNode("div",gT,e.toDisplayString(n.computeUTCTime((h=a.extraData)==null?void 0:h.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",DT,[e.createElementVNode("div",kT,[CT,e.createElementVNode("div",ST,e.toDisplayString((k=(y=a.extraData)==null?void 0:y.vessel)==null?void 0:k.name),1)]),e.createElementVNode("div",BT,[wT,e.createElementVNode("div",AT,e.toDisplayString((g=a.extraData)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",TT,[FT,e.createElementVNode("div",OT,e.toDisplayString((D=(C=a.extraData)==null?void 0:C.vessel)==null?void 0:D.type),1)]),e.createElementVNode("div",PT,[LT,e.createElementVNode("div",WT,e.toDisplayString((F=(T=a.extraData)==null?void 0:T.voyage)==null?void 0:F.number),1)]),e.createElementVNode("div",$T,[HT,e.createElementVNode("div",MT,[e.createElementVNode("span",IT,e.toDisplayString((w=(B=a.extraData)==null?void 0:B.departure)==null?void 0:w.name),1),e.createElementVNode("span",GT,e.toDisplayString(n.computeUTCTime(((O=(f=a.extraData)==null?void 0:f.departure)==null?void 0:O.atd)||((G=(I=a.extraData)==null?void 0:I.departure)==null?void 0:G.etd))),1)])]),e.createElementVNode("div",RT,[zT,e.createElementVNode("div",UT,[e.createElementVNode("span",YT,e.toDisplayString((z=(R=a.extraData)==null?void 0:R.arrival)==null?void 0:z.name),1),e.createElementVNode("span",ZT,e.toDisplayString(n.computeUTCTime(((L=(_=a.extraData)==null?void 0:_.arrival)==null?void 0:L.ata)||((W=(H=a.extraData)==null?void 0:H.arrival)==null?void 0:W.eta))),1)])])]),QT,e.createElementVNode("div",JT,[e.createElementVNode("div",KT,[jT,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=a.extraData)==null?void 0:P.extraDist)} flex blue`)},e.toDisplayString(((M=a.extraData)==null?void 0:M.extraDist)??"—"),3)]),e.createElementVNode("div",uT,[XT,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((U=(Q=a.extraData)==null?void 0:Q.timeAnalysis)==null?void 0:U.totalExtraTime)} flex blue`)},e.toDisplayString(((ne=(J=a.extraData)==null?void 0:J.timeAnalysis)==null?void 0:ne.totalExtraTime)??"—"),3)]),e.createElementVNode("div",qT,[vT,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((u=(o=(se=a.extraData)==null?void 0:se.consAnalysis)==null?void 0:o.fo)==null?void 0:u.totalExtraCons)} flex blue`)},e.toDisplayString(((te=(ee=(v=a.extraData)==null?void 0:v.consAnalysis)==null?void 0:ee.fo)==null?void 0:te.totalExtraCons)??"—"),3)]),e.createElementVNode("div",eF,[tF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ce=(le=(oe=a.extraData)==null?void 0:oe.consAnalysis)==null?void 0:le.dgo)==null?void 0:ce.totalExtraCons)} flex blue`)},e.toDisplayString(((_e=(de=(ie=a.extraData)==null?void 0:ie.consAnalysis)==null?void 0:de.dgo)==null?void 0:_e.totalExtraCons)??"—"),3)])]),oF,e.createElementVNode("div",lF,[e.createElementVNode("img",{style:{width:"100%"},src:(X=a.extraData)==null?void 0:X.chartUrl,alt:""},null,8,aF),nF]),sF,t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",cF,"Diversion Information")),t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",iF,[dF,e.createElementVNode("div",rF,[mF,e.createElementVNode("div",pF,e.toDisplayString(n.computedLngLat((me=a.extraData)==null?void 0:me.startLng,(Ee=a.extraData)==null?void 0:Ee.startLat)),1),e.createElementVNode("div",hF,e.toDisplayString(n.computeUTCTime((ye=a.extraData)==null?void 0:ye.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",_F,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(re=a.extraData)==null?void 0:re.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[0]||(s[0]=Z=>n.handleCommit("extra","startFoBrob",Z))},null,8,["value"])]),e.createElementVNode("div",EF,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(fe=a.extraData)==null?void 0:fe.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[1]||(s[1]=Z=>n.handleCommit("extra","startDgoBrob",Z))},null,8,["value"])]),yF,NF]),e.createElementVNode("div",VF,[fF,e.createElementVNode("div",xF,e.toDisplayString(n.computedLngLat((xe=a.extraData)==null?void 0:xe.endLng,(be=a.extraData)==null?void 0:be.endLat)),1),e.createElementVNode("div",bF,e.toDisplayString(n.computeUTCTime((ge=a.extraData)==null?void 0:ge.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",gF,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(De=a.extraData)==null?void 0:De.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[2]||(s[2]=Z=>n.handleCommit("extra","endFoBrob",Z))},null,8,["value"])]),e.createElementVNode("div",DF,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(ke=a.extraData)==null?void 0:ke.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=Z=>n.handleCommit("extra","endDgoBrob",Z))},null,8,["value"])]),e.createElementVNode("div",kF,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Te=a.extraData)==null?void 0:Te.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=Z=>n.handleCommit("extra","endFoBunkering",Z))},null,8,["value"])]),e.createElementVNode("div",CF,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Fe=a.extraData)==null?void 0:Fe.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=Z=>n.handleCommit("extra","endDgoBunkering",Z))},null,8,["value"])])]),e.createElementVNode("div",SF,[BF,wF,e.createElementVNode("div",AF,e.toDisplayString(((Pe=(Oe=a.extraData)==null?void 0:Oe.timeAnalysis)==null?void 0:Pe.actualTime)??"—"),1),e.createElementVNode("div",TF,e.toDisplayString((($e=(We=(Le=a.extraData)==null?void 0:Le.consAnalysis)==null?void 0:We.fo)==null?void 0:$e.actualCons)??"—"),1),e.createElementVNode("div",FF,e.toDisplayString(((Ke=(Ne=(He=a.extraData)==null?void 0:He.consAnalysis)==null?void 0:Ne.dgo)==null?void 0:Ke.actualCons)??"—"),1),OF,PF])])),LF,e.createElementVNode("div",WF,[e.createElementVNode("div",$F,[HF,e.createElementVNode("div",MF,e.toDisplayString(((ue=(je=a.extraData)==null?void 0:je.cp)==null?void 0:ue.speed)??"—"),1)]),e.createElementVNode("div",IF,[GF,e.createElementVNode("div",RF,e.toDisplayString(((Se=(A=a.extraData)==null?void 0:A.cp)==null?void 0:Se.fo)??"—"),1)]),e.createElementVNode("div",zF,[UF,e.createElementVNode("div",YF,e.toDisplayString(((Xe=(Ge=a.extraData)==null?void 0:Ge.cp)==null?void 0:Xe.dgo)??"—"),1)])]),e.createElementVNode("div",ZF,[QF,e.createElementVNode("div",JF,[e.createVNode(p,{size:20,onClick:n.handleAdd},{default:e.withCtx(()=>[e.createVNode(c)]),_:1},8,["onClick"])])]),e.createElementVNode("div",KF,[e.createElementVNode("table",null,[jF,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.extraPortList,(Z,ao)=>{var Ma,Ia,Ga,Ra,za,Ua,Ya,Za;return e.openBlock(),e.createElementBlock(e.Fragment,{key:ao},[e.createElementVNode("tr",null,[e.createElementVNode("td",uF,[e.createVNode(E,{class:"editable-item",value:Z==null?void 0:Z.name,type:"remotePortSelect",size:"small",align:"center",options:a.portList,onSelect:n.fetchSuggestName,onCommit:Qe=>n.handleCommit("port","name",Qe,ao)},null,8,["value","options","onSelect","onCommit"])]),XF,e.createElementVNode("td",null,[e.createVNode(E,{class:"check editable-item",value:(Ma=Z==null?void 0:Z.arrival)==null?void 0:Ma.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Qe=>n.handleCommit("port","arrival.date",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ia=Z==null?void 0:Z.arrival)==null?void 0:Ia.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","arrival.foBrob",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ga=Z==null?void 0:Z.arrival)==null?void 0:Ga.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","arrival.dgoBrob",Qe,ao)},null,8,["value","onCommit"])]),qF,vF,e.createElementVNode("td",eO,[e.createVNode(p,{size:20,onClick:Qe=>n.handleRemove(ao)},{default:e.withCtx(()=>[e.createVNode(x)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[tO,e.createElementVNode("td",null,[e.createVNode(E,{class:"check editable-item",value:(Ra=Z==null?void 0:Z.departure)==null?void 0:Ra.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Qe=>n.handleCommit("port","departure.date",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(za=Z==null?void 0:Z.departure)==null?void 0:za.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.foBrob",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ua=Z==null?void 0:Z.departure)==null?void 0:Ua.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.dgoBrob",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ya=Z==null?void 0:Z.departure)==null?void 0:Ya.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.bunkeringFo",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Za=Z==null?void 0:Z.departure)==null?void 0:Za.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.bunkeringDgo",Qe,ao)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[oO,lO,e.createElementVNode("td",null,e.toDisplayString(((ve=(qe=a.extraData)==null?void 0:qe.timeAnalysis)==null?void 0:ve.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(tt=(et=a.extraData)==null?void 0:et.consAnalysis)==null?void 0:tt.fo)==null?void 0:m.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Me=(Be=($=a.extraData)==null?void 0:$.consAnalysis)==null?void 0:Be.dgo)==null?void 0:Me.portCons)??"—"),1),aO,nO,sO])])])]),cO,e.createElementVNode("div",iO,[dO,e.createElementVNode("div",rO,[mO,e.createElementVNode("div",pO,[e.createVNode(E,{class:"editable-item",style:{padding:"0px"},value:(Re=a.extraData)==null?void 0:Re.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=Z=>n.handleCommit("extraData","actualDist",Z,t.index))},null,8,["value"])]),e.createElementVNode("div",hO,[e.createVNode(E,{class:"editable-item",style:{padding:"0px"},value:(pe=a.extraData)==null?void 0:pe.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=Z=>n.handleCommit("extraData","priorDist",Z,t.index))},null,8,["value"])])]),e.createElementVNode("div",_O,[EO,e.createElementVNode("div",yO,e.toDisplayString(((Ue=a.extraData)==null?void 0:Ue.extraDist)??"—"),1)])]),NO,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",VO,[e.createElementVNode("div",fO,[xO,e.createElementVNode("div",bO,[e.createElementVNode("div",null,e.toDisplayString((ot=a.extraData)==null?void 0:ot.extraDist),1),gO,e.createElementVNode("div",null,e.toDisplayString((dt=(lt=a.extraData)==null?void 0:lt.cp)==null?void 0:dt.speed),1)]),DO,e.createElementVNode("div",kO,e.toDisplayString((mt=(rt=a.extraData)==null?void 0:rt.timeAnalysis)==null?void 0:mt.sailingTime),1),CO]),e.createElementVNode("div",SO,[BO,e.createElementVNode("div",wO,e.toDisplayString((_t=(pt=a.extraData)==null?void 0:pt.timeAnalysis)==null?void 0:_t.sailingTime),1),AO,e.createElementVNode("div",TO,e.toDisplayString(n.computeNum((yt=(Et=a.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:yt.portTime)),1),FO,e.createElementVNode("div",OO,e.toDisplayString((Vt=(Nt=a.extraData)==null?void 0:Nt.timeAnalysis)==null?void 0:Vt.totalExtraTime),1),PO])])):(e.openBlock(),e.createElementBlock("div",LO,[e.createElementVNode("div",WO,[$O,e.createElementVNode("div",HO,[e.createElementVNode("div",null,e.toDisplayString((ft=a.extraData)==null?void 0:ft.priorDist),1),MO,e.createElementVNode("div",null,e.toDisplayString((bt=(xt=a.extraData)==null?void 0:xt.cp)==null?void 0:bt.speed),1)]),IO,e.createElementVNode("div",GO,e.toDisplayString((Dt=(gt=a.extraData)==null?void 0:gt.timeAnalysis)==null?void 0:Dt.sailingTime),1),RO]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",zO,[UO,e.createElementVNode("div",YO,e.toDisplayString((Ct=(kt=a.extraData)==null?void 0:kt.timeAnalysis)==null?void 0:Ct.actualTime),1),ZO,e.createElementVNode("div",QO,e.toDisplayString((Bt=(St=a.extraData)==null?void 0:St.timeAnalysis)==null?void 0:Bt.sailingTime),1),JO,e.createElementVNode("div",KO,e.toDisplayString((At=(wt=a.extraData)==null?void 0:wt.timeAnalysis)==null?void 0:At.totalExtraTime),1),jO])):(e.openBlock(),e.createElementBlock("div",uO,[XO,e.createElementVNode("div",qO,e.toDisplayString((Ft=(Tt=a.extraData)==null?void 0:Tt.timeAnalysis)==null?void 0:Ft.actualTime),1),vO,e.createElementVNode("div",eP,e.toDisplayString((Pt=(Ot=a.extraData)==null?void 0:Ot.timeAnalysis)==null?void 0:Pt.sailingTime),1),tP,e.createElementVNode("div",oP,e.toDisplayString((so=(no=a.extraData)==null?void 0:no.timeAnalysis)==null?void 0:so.portTime),1),lP,e.createElementVNode("div",aP,e.toDisplayString((io=(co=a.extraData)==null?void 0:co.timeAnalysis)==null?void 0:io.totalExtraTime),1),nP]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",sP,[e.createElementVNode("div",cP,[iP,e.createElementVNode("div",dP,e.toDisplayString(((mo=(ro=a.extraData)==null?void 0:ro.timeAnalysis)==null?void 0:mo.sailingTime)??"—"),1)]),e.createElementVNode("div",rP,[mP,e.createElementVNode("div",pP,e.toDisplayString(((ho=(po=a.extraData)==null?void 0:po.timeAnalysis)==null?void 0:ho.portTime)??"—"),1)]),e.createElementVNode("div",hP,[_P,e.createElementVNode("div",EP,e.toDisplayString(((Eo=(_o=a.extraData)==null?void 0:_o.timeAnalysis)==null?void 0:Eo.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",yP,[e.createElementVNode("div",NP,[VP,e.createElementVNode("div",fP,e.toDisplayString((Ie=(S=a.extraData)==null?void 0:S.timeAnalysis)==null?void 0:Ie.sailingTime),1)]),e.createElementVNode("div",xP,[bP,e.createElementVNode("div",gP,e.toDisplayString((nt=(at=a.extraData)==null?void 0:at.timeAnalysis)==null?void 0:nt.actualTime),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",DP,[kP,e.createElementVNode("div",CP,e.toDisplayString(((Lt=(ht=a.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:Lt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",SP,[BP,e.createElementVNode("div",wP,e.toDisplayString(($t=(Wt=a.extraData)==null?void 0:Wt.timeAnalysis)==null?void 0:$t.totalExtraTime),1)])])),AP,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",TP,[e.createElementVNode("div",FP,[OP,e.createElementVNode("div",PP,[e.createElementVNode("div",null,e.toDisplayString((Ht=a.extraData)==null?void 0:Ht.extraDist),1),LP,e.createElementVNode("div",null,e.toDisplayString((It=(Mt=a.extraData)==null?void 0:Mt.cp)==null?void 0:It.speed),1)]),WP,e.createElementVNode("div",$P,[e.createElementVNode("div",null,e.toDisplayString((Rt=(Gt=a.extraData)==null?void 0:Gt.cp)==null?void 0:Rt.fo),1),HP,MP]),IP,e.createElementVNode("div",GP,e.toDisplayString((Yt=(Ut=(zt=a.extraData)==null?void 0:zt.consAnalysis)==null?void 0:Ut.fo)==null?void 0:Yt.sailingCons),1),RP]),e.createElementVNode("div",zP,[UP,e.createElementVNode("div",YP,e.toDisplayString((Jt=(Qt=(Zt=a.extraData)==null?void 0:Zt.consAnalysis)==null?void 0:Qt.fo)==null?void 0:Jt.sailingCons),1),ZP,e.createElementVNode("div",QP,e.toDisplayString(n.computeNum((ut=(jt=(Kt=a.extraData)==null?void 0:Kt.consAnalysis)==null?void 0:jt.fo)==null?void 0:ut.portCons)),1),JP,e.createElementVNode("div",KP,e.toDisplayString((vt=(qt=(Xt=a.extraData)==null?void 0:Xt.consAnalysis)==null?void 0:qt.fo)==null?void 0:vt.totalExtraCons),1),jP]),e.createElementVNode("div",uP,[XP,e.createElementVNode("div",qP,[e.createElementVNode("div",null,e.toDisplayString((eo=a.extraData)==null?void 0:eo.extraDist),1),vP,e.createElementVNode("div",null,e.toDisplayString((oo=(to=a.extraData)==null?void 0:to.cp)==null?void 0:oo.speed),1)]),eL,e.createElementVNode("div",tL,[e.createElementVNode("div",null,e.toDisplayString((yo=(lo=a.extraData)==null?void 0:lo.cp)==null?void 0:yo.dgo),1),oL,lL]),aL,e.createElementVNode("div",nL,e.toDisplayString((fo=(Vo=(No=a.extraData)==null?void 0:No.consAnalysis)==null?void 0:Vo.dgo)==null?void 0:fo.sailingCons),1),sL]),e.createElementVNode("div",cL,[iL,e.createElementVNode("div",dL,e.toDisplayString((go=(bo=(xo=a.extraData)==null?void 0:xo.consAnalysis)==null?void 0:bo.dgo)==null?void 0:go.sailingCons),1),rL,e.createElementVNode("div",mL,e.toDisplayString(n.computeNum((Co=(ko=(Do=a.extraData)==null?void 0:Do.consAnalysis)==null?void 0:ko.dgo)==null?void 0:Co.portCons)),1),pL,e.createElementVNode("div",hL,e.toDisplayString((wo=(Bo=(So=a.extraData)==null?void 0:So.consAnalysis)==null?void 0:Bo.dgo)==null?void 0:wo.totalExtraCons),1),_L])])):(e.openBlock(),e.createElementBlock("div",EL,[e.createElementVNode("div",yL,[NL,e.createElementVNode("div",VL,[e.createElementVNode("div",null,e.toDisplayString((Ao=a.extraData)==null?void 0:Ao.priorDist),1),fL,e.createElementVNode("div",null,e.toDisplayString((Fo=(To=a.extraData)==null?void 0:To.cp)==null?void 0:Fo.speed),1)]),xL,e.createElementVNode("div",bL,[e.createElementVNode("div",null,e.toDisplayString((Po=(Oo=a.extraData)==null?void 0:Oo.cp)==null?void 0:Po.fo),1),gL,DL]),kL,e.createElementVNode("div",CL,e.toDisplayString(($o=(Wo=(Lo=a.extraData)==null?void 0:Lo.consAnalysis)==null?void 0:Wo.fo)==null?void 0:$o.sailingCons),1),SL]),e.createElementVNode("div",BL,[wL,e.createElementVNode("div",AL,[e.createElementVNode("div",null,e.toDisplayString((Ho=a.extraData)==null?void 0:Ho.priorDist),1),TL,e.createElementVNode("div",null,e.toDisplayString((zo=(Ro=a.extraData)==null?void 0:Ro.cp)==null?void 0:zo.speed),1)]),FL,e.createElementVNode("div",OL,[e.createElementVNode("div",null,e.toDisplayString((Yo=(Uo=a.extraData)==null?void 0:Uo.cp)==null?void 0:Yo.dgo),1),PL,LL]),WL,e.createElementVNode("div",$L,e.toDisplayString((Jo=(Qo=(Zo=a.extraData)==null?void 0:Zo.consAnalysis)==null?void 0:Qo.dgo)==null?void 0:Jo.sailingCons),1),HL]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",ML,[IL,e.createElementVNode("div",GL,e.toDisplayString((uo=(jo=(Ko=a.extraData)==null?void 0:Ko.consAnalysis)==null?void 0:jo.fo)==null?void 0:uo.actualCons),1),RL,e.createElementVNode("div",zL,e.toDisplayString(n.computeNum((vo=(qo=(Xo=a.extraData)==null?void 0:Xo.consAnalysis)==null?void 0:qo.fo)==null?void 0:vo.sailingCons)),1),UL,e.createElementVNode("div",YL,e.toDisplayString((ol=(tl=(el=a.extraData)==null?void 0:el.consAnalysis)==null?void 0:tl.fo)==null?void 0:ol.totalExtraCons),1),ZL])):(e.openBlock(),e.createElementBlock("div",QL,[JL,e.createElementVNode("div",KL,e.toDisplayString((nl=(al=(ll=a.extraData)==null?void 0:ll.consAnalysis)==null?void 0:al.fo)==null?void 0:nl.actualCons),1),jL,e.createElementVNode("div",uL,e.toDisplayString(n.computeNum((il=(cl=(sl=a.extraData)==null?void 0:sl.consAnalysis)==null?void 0:cl.fo)==null?void 0:il.sailingCons)),1),XL,e.createElementVNode("div",qL,e.toDisplayString(n.computeNum((st=(rl=(dl=a.extraData)==null?void 0:dl.consAnalysis)==null?void 0:rl.fo)==null?void 0:st.portCons)),1),vL,e.createElementVNode("div",eW,e.toDisplayString((yl=(El=(pl=a.extraData)==null?void 0:pl.consAnalysis)==null?void 0:El.fo)==null?void 0:yl.totalExtraCons),1),tW])),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",oW,[lW,e.createElementVNode("div",aW,e.toDisplayString((fl=(Vl=(Nl=a.extraData)==null?void 0:Nl.consAnalysis)==null?void 0:Vl.dgo)==null?void 0:fl.actualCons),1),nW,e.createElementVNode("div",sW,e.toDisplayString((gl=(bl=(xl=a.extraData)==null?void 0:xl.consAnalysis)==null?void 0:bl.dgo)==null?void 0:gl.sailingCons),1),cW,e.createElementVNode("div",iW,e.toDisplayString((Cl=(kl=(Dl=a.extraData)==null?void 0:Dl.consAnalysis)==null?void 0:kl.dgo)==null?void 0:Cl.totalExtraCons),1),dW])):(e.openBlock(),e.createElementBlock("div",rW,[mW,e.createElementVNode("div",pW,e.toDisplayString((wl=(Bl=(Sl=a.extraData)==null?void 0:Sl.consAnalysis)==null?void 0:Bl.dgo)==null?void 0:wl.actualCons),1),hW,e.createElementVNode("div",_W,e.toDisplayString(n.computeNum((Fl=(Tl=(Al=a.extraData)==null?void 0:Al.consAnalysis)==null?void 0:Tl.dgo)==null?void 0:Fl.sailingCons)),1),EW,e.createElementVNode("div",yW,e.toDisplayString(n.computeNum((Ll=(Pl=(Ol=a.extraData)==null?void 0:Ol.consAnalysis)==null?void 0:Pl.dgo)==null?void 0:Ll.portCons)),1),NW,e.createElementVNode("div",VW,e.toDisplayString((Hl=($l=(Wl=a.extraData)==null?void 0:Wl.consAnalysis)==null?void 0:$l.dgo)==null?void 0:Hl.totalExtraCons),1),fW]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",xW,[bW,e.createElementVNode("div",gW,[DW,e.createElementVNode("div",kW,e.toDisplayString(((Gl=(Il=(Ml=a.extraData)==null?void 0:Ml.consAnalysis)==null?void 0:Il.fo)==null?void 0:Gl.sailingCons)??"—"),1),e.createElementVNode("div",CW,e.toDisplayString(((Ul=(zl=(Rl=a.extraData)==null?void 0:Rl.consAnalysis)==null?void 0:zl.dgo)==null?void 0:Ul.sailingCons)??"—"),1)]),e.createElementVNode("div",SW,[BW,e.createElementVNode("div",wW,e.toDisplayString(((Ql=(Zl=(Yl=a.extraData)==null?void 0:Yl.consAnalysis)==null?void 0:Zl.fo)==null?void 0:Ql.portCons)??"—"),1),e.createElementVNode("div",AW,e.toDisplayString(((jl=(Kl=(Jl=a.extraData)==null?void 0:Jl.consAnalysis)==null?void 0:Kl.dgo)==null?void 0:jl.portCons)??"—"),1)]),e.createElementVNode("div",TW,[FW,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ql=(Xl=(ul=a.extraData)==null?void 0:ul.consAnalysis)==null?void 0:Xl.fo)==null?void 0:ql.totalExtraCons)} flex blue center`)},e.toDisplayString(((ta=(ea=(vl=a.extraData)==null?void 0:vl.consAnalysis)==null?void 0:ea.fo)==null?void 0:ta.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((aa=(la=(oa=a.extraData)==null?void 0:oa.consAnalysis)==null?void 0:la.dgo)==null?void 0:aa.totalExtraCons)} flex blue center`)},e.toDisplayString(((ca=(sa=(na=a.extraData)==null?void 0:na.consAnalysis)==null?void 0:sa.dgo)==null?void 0:ca.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",OW,[PW,e.createElementVNode("div",LW,[WW,e.createElementVNode("div",$W,e.toDisplayString((ra=(da=(ia=a.extraData)==null?void 0:ia.consAnalysis)==null?void 0:da.fo)==null?void 0:ra.sailingCons),1),e.createElementVNode("div",HW,e.toDisplayString((ha=(pa=(ma=a.extraData)==null?void 0:ma.consAnalysis)==null?void 0:pa.dgo)==null?void 0:ha.sailingCons),1)]),e.createElementVNode("div",MW,[IW,e.createElementVNode("div",GW,e.toDisplayString((ya=(Ea=(_a=a.extraData)==null?void 0:_a.consAnalysis)==null?void 0:Ea.fo)==null?void 0:ya.actualCons),1),e.createElementVNode("div",RW,e.toDisplayString((fa=(Va=(Na=a.extraData)==null?void 0:Na.consAnalysis)==null?void 0:Va.dgo)==null?void 0:fa.actualCons),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",zW,[UW,e.createElementVNode("div",YW,e.toDisplayString((ga=(ba=(xa=a.extraData)==null?void 0:xa.consAnalysis)==null?void 0:ba.fo)==null?void 0:ga.portCons),1),e.createElementVNode("div",ZW,e.toDisplayString((Ca=(ka=(Da=a.extraData)==null?void 0:Da.consAnalysis)==null?void 0:ka.dgo)==null?void 0:Ca.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",QW,[JW,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((wa=(Ba=(Sa=a.extraData)==null?void 0:Sa.consAnalysis)==null?void 0:Ba.fo)==null?void 0:wa.totalExtraCons)} flex blue center`)},e.toDisplayString((Fa=(Ta=(Aa=a.extraData)==null?void 0:Aa.consAnalysis)==null?void 0:Ta.fo)==null?void 0:Fa.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((La=(Pa=(Oa=a.extraData)==null?void 0:Oa.consAnalysis)==null?void 0:Pa.dgo)==null?void 0:La.totalExtraCons)} flex blue center`)},e.toDisplayString((Ha=($a=(Wa=a.extraData)==null?void 0:Wa.consAnalysis)==null?void 0:$a.dgo)==null?void 0:Ha.totalExtraCons),3)])])),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[a.editable?(e.openBlock(),e.createBlock(b,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[8]||(s[8]=Z=>a.advisory=Z),height:"320px",onBlur:s[9]||(s[9]=Z=>n.handleCommit("comments","comments",Z))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[10]||(s[10]=(...Z)=>n.decideDisable&&n.decideDisable(...Z)),innerHTML:a.advisory&&a.advisory!=="<p><br></p>"?a.advisory:"Please double click to modify remark"},null,40,KW))],2)])}const Cn=Ce(ET,[["render",jW],["__scopeId","data-v-eba493df"]]),uW={install(t){t.component("DeviationReport",kn),t.component("FliDeviationReport",Cn)}},xY="",XW={name:"OrmStoppage",components:{IdmBrand:Io,Editor:Go},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3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L0UOUJqQJS5FEQ3kI4uVrJEgq3AzTdNYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,remarks:void 0,editable:!1,loading:!0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${K(t).utc().format(s)}`:""}},computeLat(){return function(t){return ae.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ae.LngLatHelper.lng2pretty(t,2)}},computeRoundPrecision(){return function(t,s=3){return t==="-"?"-":ae.LngLatHelper.roundPrecision(t,s)}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},methods:{handleCommit(t){this.editable=!1,this.remarks=t,this.$emit("commit",t)}}},Ae=t=>(e.pushScopeId("data-v-e829fef7"),t=t(),e.popScopeId(),t),qW={class:"stoppage-report"},vW={class:"content-box"},e$={class:"info-box border"},t$={class:"flex-between row"},o$={class:"flex-between",style:{width:"48%"}},l$=Ae(()=>e.createElementVNode("label",{class:"label"},"Prepared For:",-1)),a$={class:"flex-between",style:{width:"48%"}},n$=Ae(()=>e.createElementVNode("label",{class:"label"},"Departure Port:",-1)),s$={style:{"margin-left":"5px"}},c$={class:"flex-between row"},i$={class:"flex-between",style:{width:"48%"}},d$=Ae(()=>e.createElementVNode("label",{class:"label"},"Vessel:",-1)),r$={class:"flex-between",style:{width:"48%"}},m$=Ae(()=>e.createElementVNode("label",{class:"label"},"Arrival Port:",-1)),p$={style:{"margin-left":"5px"}},h$={class:"flex-between row"},_$={class:"flex-between",style:{width:"48%"}},E$=Ae(()=>e.createElementVNode("label",{class:"label"},"Voyage No:",-1)),y$={class:"flex-between",style:{width:"48%"}},N$=Ae(()=>e.createElementVNode("label",{class:"label"},"Load Condition:",-1)),V$={class:"section summary-section"},f$=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Summary",-1)),x$={class:"formula-block flex-between border"},b$={class:"item"},g$=Ae(()=>e.createElementVNode("div",{class:"title"},"Total Time Lost",-1)),D$={class:"value flex-end"},k$={key:0},C$=Ae(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),S$={class:"gain"},B$=Ae(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),w$={key:1},A$=Ae(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),T$={class:"lost"},F$=Ae(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),O$={key:2},P$={class:"item"},L$=Ae(()=>e.createElementVNode("div",{class:"title"},"FO Total Consumption",-1)),W$={class:"value flex-end"},$$={key:0},H$=Ae(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),M$={class:"gain"},I$=Ae(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),G$={key:1},R$=Ae(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),z$={class:"lost"},U$=Ae(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Y$={key:2},Z$={class:"item"},Q$=Ae(()=>e.createElementVNode("div",{class:"title"},"MGO Total Consumption",-1)),J$={class:"value flex-end"},K$={key:0},j$=Ae(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),u$={class:"gain"},X$=Ae(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),q$={key:1},v$=Ae(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),eH={class:"lost"},tH=Ae(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),oH={key:2},lH=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Remarks",-1)),aH={class:"section-content"},nH={key:0,class:""},sH=["innerHTML"],cH={key:1},iH={class:"section table-section"},dH=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Stoppage Info",-1)),rH=Ae(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:2,class:"label"},"NQ"),e.createElementVNode("th",{rowspan:2,class:"label"},"Activity"),e.createElementVNode("th",{rowspan:2,class:"label"},"Position"),e.createElementVNode("th",{rowspan:2,class:"label"},"Date"),e.createElementVNode("th",{colspan:2,class:"label"},"BROB (mt)"),e.createElementVNode("th",{rowspan:2,class:"label"},"Time Lost (hrs)"),e.createElementVNode("th",{colspan:2,class:"label"},"TTL CONS (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO")])],-1)),mH=Ae(()=>e.createElementVNode("td",{rowspan:2},"1",-1)),pH=Ae(()=>e.createElementVNode("td",null,"Stopped",-1)),hH={rowspan:2},_H={rowspan:2},EH={rowspan:2},yH=Ae(()=>e.createElementVNode("td",null,"Resumed",-1)),NH={class:"section map-section"},VH=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Voayge Map",-1)),fH=["src"];function xH(t,s,l,r,a,n){var p,x,b,h,y,k,g,C,D,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,o,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",qW,[e.createVNode(E,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",vW,[e.createElementVNode("div",e$,[e.createElementVNode("div",t$,[e.createElementVNode("div",o$,[l$,e.createElementVNode("div",null,e.toDisplayString((p=l.report)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",a$,[n$,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((b=(x=l.report)==null?void 0:x.departure)==null?void 0:b.name),1),e.createTextVNode(" , "),e.createElementVNode("span",s$,e.toDisplayString(n.computeUTCTime(((y=(h=l.report)==null?void 0:h.departure)==null?void 0:y.atd)||((g=(k=l.report)==null?void 0:k.departure)==null?void 0:g.etd))),1)])])]),e.createElementVNode("div",c$,[e.createElementVNode("div",i$,[d$,e.createElementVNode("div",null,e.toDisplayString((D=(C=l.report)==null?void 0:C.vessel)==null?void 0:D.name),1)]),e.createElementVNode("div",r$,[m$,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((F=(T=l.report)==null?void 0:T.arrival)==null?void 0:F.name),1),e.createTextVNode(" , "),e.createElementVNode("span",p$,e.toDisplayString(n.computeUTCTime(((w=(B=l.report)==null?void 0:B.arrival)==null?void 0:w.ata)||((O=(f=l.report)==null?void 0:f.arrival)==null?void 0:O.eta))),1)])])]),e.createElementVNode("div",h$,[e.createElementVNode("div",_$,[E$,e.createElementVNode("div",null,e.toDisplayString((G=(I=l.report)==null?void 0:I.voyage)==null?void 0:G.number),1)]),e.createElementVNode("div",y$,[N$,e.createElementVNode("div",null,e.toDisplayString((z=(R=l.report)==null?void 0:R.voyage)==null?void 0:z.loadCondition),1)])])]),e.createElementVNode("div",V$,[f$,e.createElementVNode("div",x$,[e.createElementVNode("div",b$,[g$,e.createElementVNode("div",D$,[((_=l.report)==null?void 0:_.totalTime)<0?(e.openBlock(),e.createElementBlock("div",k$,[C$,e.createElementVNode("span",S$,e.toDisplayString((L=l.report)==null?void 0:L.totalTime),1),B$])):((H=l.report)==null?void 0:H.totalTime)>=0?(e.openBlock(),e.createElementBlock("div",w$,[A$,e.createElementVNode("span",T$,e.toDisplayString((W=l.report)==null?void 0:W.totalTime),1),F$])):(e.openBlock(),e.createElementBlock("div",O$,"N/A"))])]),e.createElementVNode("div",P$,[L$,e.createElementVNode("div",W$,[((P=l.report)==null?void 0:P.totalFoCons)<0?(e.openBlock(),e.createElementBlock("div",$$,[H$,e.createElementVNode("span",M$,e.toDisplayString((M=l.report)==null?void 0:M.totalFoCons),1),I$])):((Q=l.report)==null?void 0:Q.totalFoCons)>=0?(e.openBlock(),e.createElementBlock("div",G$,[R$,e.createElementVNode("span",z$,e.toDisplayString((U=l.report)==null?void 0:U.totalFoCons),1),U$])):(e.openBlock(),e.createElementBlock("div",Y$,"N/A"))])]),e.createElementVNode("div",Z$,[Q$,e.createElementVNode("div",J$,[((J=l.report)==null?void 0:J.totalDgoCons)<0?(e.openBlock(),e.createElementBlock("div",K$,[j$,e.createElementVNode("span",u$,e.toDisplayString((ne=l.report)==null?void 0:ne.totalDgoCons),1),X$])):((se=l.report)==null?void 0:se.totalDgoCons)>=0?(e.openBlock(),e.createElementBlock("div",q$,[v$,e.createElementVNode("span",eH,e.toDisplayString((o=l.report)==null?void 0:o.totalDgoCons),1),tH])):(e.openBlock(),e.createElementBlock("div",oH,"N/A"))])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(a.remarks)?"print-hidden":""])},[lH,e.createElementVNode("div",aH,[a.editable?(e.openBlock(),e.createElementBlock("div",nH,[a.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=re=>a.remarks=re),class:"editor",height:"80px",onBlur:s[1]||(s[1]=re=>n.handleCommit(re))},null,8,["modelValue"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-block",onDblclick:s[2]||(s[2]=re=>a.editable=!0)},[n.computeBlankHtml(a.remarks)?(e.openBlock(),e.createElementBlock("div",cH,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:a.remarks},null,8,sH))],32))])],2),e.createElementVNode("div",iH,[dH,e.createElementVNode("table",null,[rH,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[mH,pH,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((u=l.report)==null?void 0:u.stopLat).pretty)+" / "+e.toDisplayString(n.computeLng((v=l.report)==null?void 0:v.stopLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((ee=l.report)==null?void 0:ee.stopTime)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((te=l.report)==null?void 0:te.stopFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((oe=l.report)==null?void 0:oe.stopDgoBrob)??"-")),1),e.createElementVNode("td",hH,e.toDisplayString(n.computeRoundPrecision(((le=l.report)==null?void 0:le.totalTime)??"-")),1),e.createElementVNode("td",_H,e.toDisplayString(n.computeRoundPrecision(((ce=l.report)==null?void 0:ce.totalFoCons)??"-")),1),e.createElementVNode("td",EH,e.toDisplayString(n.computeRoundPrecision(((ie=l.report)==null?void 0:ie.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[yH,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((de=l.report)==null?void 0:de.resumeLat).pretty)+" / "+e.toDisplayString(n.computeLng((_e=l.report)==null?void 0:_e.resumeLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((X=l.report)==null?void 0:X.resumeTime)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((me=l.report)==null?void 0:me.resumeFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((Ee=l.report)==null?void 0:Ee.resumeDgoBrob)??"-")),1)])])])]),e.createElementVNode("div",NH,[VH,e.createElementVNode("img",{src:(ye=l.report)==null?void 0:ye.chartUrl,alt:""},null,8,fH)])])])}const Sn=Ce(XW,[["render",xH],["__scopeId","data-v-e829fef7"]]),bH={install(t){t.component("StoppageReport",Sn)}},bY="",gH={name:"OrmComparison",components:{Editor:Go,IdmBrand:Io},props:{report:{type:Object,default:()=>({})}},emits:["commit","refresh"],data(){return{advisory:void 0,id:void 0,editable:!1}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return t?`${K(t).utc().format(s)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,s){return t&&s?ae.LngLatHelper.roundPrecision(t-s):"-"}},computeSummary(){return function(t,s){if(t===0)return"No difference";let l="";return t>0?s==="time"?l=`Lost ${t}hrs`:l=`Over consumption ${t}mt`:s==="time"?l=`Saving ${Math.abs(t)}hrs`:l=`Under consumption ${Math.abs(t)}mt`,l}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(){var t,s;(t=this.report)!=null&&t.id&&(this.advisory=((s=this.report)==null?void 0:s.comments)||"")},immediate:!0}},methods:{async handleCommit(t,s){this.editable=!1,this.advisory=s,this.$emit("commit",{key:t,value:s})}}},Ve=t=>(e.pushScopeId("data-v-99108259"),t=t(),e.popScopeId(),t),DH={class:"comparison-report"},kH={class:"report-summary"},CH={class:"summary-item"},SH=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),BH={class:"flexL gray"},wH={class:"summary-item"},AH=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),TH={class:"flexL gray"},FH={class:"summary-item"},OH=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),PH={class:"flexL gray"},LH={class:"summary-item"},WH=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),$H={class:"flexL gray"},HH={class:"summary-item"},MH=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),IH={class:"flexL gray"},GH={class:"summary-item"},RH=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),zH={class:"flexL gray",style:{display:"flex"}},UH={class:"flex"},YH={class:"flexM"},ZH={class:"summary-item"},QH=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),JH={class:"flexL gray",style:{display:"flex"}},KH={class:"flex"},jH={class:"flexM"},uH=Ve(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),XH={class:"report-summary"},qH={class:"summary-item"},vH=Ve(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),eM={class:"summary-item"},tM=Ve(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),oM={class:"summary-item"},lM=Ve(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),aM=Ve(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),nM={class:"report-map"},sM=["src"],cM=e.createStaticVNode('<div class="legend" data-v-99108259><div class="legend-item" data-v-99108259><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-99108259></div><div data-v-99108259>Actual Route</div></div><div class="legend-item" data-v-99108259><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-99108259></div><div data-v-99108259>Recommended Route</div></div></div>',1),iM={key:0,class:"subtitle"},dM={key:1,class:"report-summary"},rM={class:"summary-item"},mM=Ve(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),pM={class:"flexL blue center"},hM={class:"summary-item"},_M=Ve(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),EM={class:"flexL blue center"},yM={class:"summary-item"},NM=Ve(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),VM={class:"flexL blue center"},fM=Ve(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),xM={class:"report-summary"},bM=Ve(()=>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)),gM={class:"summary-item"},DM=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),kM={class:"flex blue-light center"},CM={class:"flex blue-light center"},SM={class:"summary-item"},BM=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),wM={class:"flex blue-light center"},AM={class:"flex blue-light center"},TM={class:"summary-item"},FM=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),OM={class:"flex blue-light center"},PM={class:"flex blue-light center"},LM={class:"summary-item"},WM=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),$M={class:"flex blue-light center"},HM={class:"flex blue-light center"},MM={class:"summary-item"},IM=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),GM={class:"flex blue-light center"},RM={class:"flex blue-light center"},zM={class:"summary-item"},UM=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),YM={class:"flex blue-light center"},ZM={class:"flex blue-light center"},QM={class:"summary-item"},JM=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),KM={class:"flex blue-light center italic"},jM=Ve(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),uM={class:"report-summary"},XM=Ve(()=>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)),qM={class:"summary-item"},vM=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),eI={class:"flex blue-light center"},tI={class:"flex blue-light center"},oI={class:"summary-item"},lI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),aI={class:"flex blue-light center"},nI={class:"flex blue-light center"},sI={class:"summary-item"},cI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),iI={class:"flex blue-light center"},dI={class:"flex blue-light center"},rI={class:"summary-item"},mI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),pI={class:"flex blue-light center"},hI={class:"flex blue-light center"},_I={class:"summary-item"},EI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),yI={class:"flex blue-light center italic"},NI={class:"summary-item"},VI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),fI={class:"flex blue-light center italic"},xI=["innerHTML"];function bI(t,s,l,r,a,n){var p,x,b,h,y,k,g,C,D,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,o,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,xe,be,ge,De,ke,Te,Fe,Oe,Pe,Le,We,$e,He;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",DH,[e.createVNode(E,{name:"Voyage Comparison Report"}),e.createElementVNode("div",kH,[e.createElementVNode("div",CH,[SH,e.createElementVNode("div",BH,e.toDisplayString((x=(p=l.report)==null?void 0:p.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",wH,[AH,e.createElementVNode("div",TH,e.toDisplayString((b=l.report)==null?void 0:b.preparedFor),1)]),e.createElementVNode("div",FH,[OH,e.createElementVNode("div",PH,e.toDisplayString((y=(h=l.report)==null?void 0:h.vessel)==null?void 0:y.type),1)]),e.createElementVNode("div",LH,[WH,e.createElementVNode("div",$H,e.toDisplayString((g=(k=l.report)==null?void 0:k.voyage)==null?void 0:g.loadCondition),1)]),e.createElementVNode("div",HH,[MH,e.createElementVNode("div",IH,e.toDisplayString((D=(C=l.report)==null?void 0:C.voyage)==null?void 0:D.number),1)]),e.createElementVNode("div",GH,[RH,e.createElementVNode("div",zH,[e.createElementVNode("span",UH,e.toDisplayString((F=(T=l.report)==null?void 0:T.departure)==null?void 0:F.name),1),e.createElementVNode("span",YH,e.toDisplayString(n.computeUTCTime(((w=(B=l.report)==null?void 0:B.departure)==null?void 0:w.atd)||((O=(f=l.report)==null?void 0:f.departure)==null?void 0:O.etd))),1)])]),e.createElementVNode("div",ZH,[QH,e.createElementVNode("div",JH,[e.createElementVNode("span",KH,e.toDisplayString((G=(I=l.report)==null?void 0:I.arrival)==null?void 0:G.name),1),e.createElementVNode("span",jH,e.toDisplayString(n.computeUTCTime(((z=(R=l.report)==null?void 0:R.arrival)==null?void 0:z.ata)||((L=(_=l.report)==null?void 0:_.arrival)==null?void 0:L.eta))),1)])])]),uH,e.createElementVNode("div",XH,[e.createElementVNode("div",qH,[vH,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((H=l.report)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(n.computeSummary((W=l.report)==null?void 0:W.diffTime,"time")),3)]),e.createElementVNode("div",eM,[tM,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=l.report)==null?void 0:P.diffFoCons)} flex blue`)},e.toDisplayString(n.computeSummary((M=l.report)==null?void 0:M.diffFoCons,"oil")),3)]),e.createElementVNode("div",oM,[lM,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Q=l.report)==null?void 0:Q.diffDgoCons)} flex blue`)},e.toDisplayString(n.computeSummary((U=l.report)==null?void 0:U.diffDgoCons,"oil")),3)])]),aM,e.createElementVNode("div",nM,[e.createElementVNode("img",{style:{width:"100%"},src:(J=l.report)==null?void 0:J.chartUrl,alt:""},null,8,sM),cM]),(ne=l.report)!=null&&ne.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",iM,"CP Terms")),(se=l.report)!=null&&se.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",dM,[e.createElementVNode("div",rM,[mM,e.createElementVNode("div",pM,e.toDisplayString(((u=(o=l.report)==null?void 0:o.cp)==null?void 0:u.speed)??"—"),1)]),e.createElementVNode("div",hM,[_M,e.createElementVNode("div",EM,e.toDisplayString(((ee=(v=l.report)==null?void 0:v.cp)==null?void 0:ee.fo)??"—"),1)]),e.createElementVNode("div",yM,[NM,e.createElementVNode("div",VM,e.toDisplayString(((oe=(te=l.report)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),fM,e.createElementVNode("div",xM,[bM,e.createElementVNode("div",gM,[DM,e.createElementVNode("div",kM,e.toDisplayString(((le=l.report)==null?void 0:le.actualDist)??"—"),1),e.createElementVNode("div",CM,e.toDisplayString(((ce=l.report)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",SM,[BM,e.createElementVNode("div",wM,e.toDisplayString(((ie=l.report)==null?void 0:ie.actualTime)??"—"),1),e.createElementVNode("div",AM,e.toDisplayString(((de=l.report)==null?void 0:de.recmdTime)??"—"),1)]),e.createElementVNode("div",TM,[FM,e.createElementVNode("div",OM,e.toDisplayString(((_e=l.report)==null?void 0:_e.actualAvgSpd)??"—"),1),e.createElementVNode("div",PM,e.toDisplayString(((X=l.report)==null?void 0:X.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",LM,[WM,e.createElementVNode("div",$M,e.toDisplayString(((me=l.report)==null?void 0:me.actualAvgCF)??"—"),1),e.createElementVNode("div",HM,e.toDisplayString(((Ee=l.report)==null?void 0:Ee.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",MM,[IM,e.createElementVNode("div",GM,e.toDisplayString(((ye=l.report)==null?void 0:ye.actualAvgWF)??"—"),1),e.createElementVNode("div",RM,e.toDisplayString(((re=l.report)==null?void 0:re.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",zM,[UM,e.createElementVNode("div",YM,e.toDisplayString(((fe=l.report)==null?void 0:fe.actualPfmSpd)??"—"),1),e.createElementVNode("div",ZM,e.toDisplayString(((xe=l.report)==null?void 0:xe.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",QM,[JM,e.createElementVNode("div",KM,e.toDisplayString(n.compareTime((be=l.report)==null?void 0:be.actualTime,(ge=l.report)==null?void 0:ge.recmdTime)),1)])]),jM,e.createElementVNode("div",uM,[XM,e.createElementVNode("div",qM,[vM,e.createElementVNode("div",eI,e.toDisplayString(((De=l.report)==null?void 0:De.actualAvgFoCons)??"-"),1),e.createElementVNode("div",tI,e.toDisplayString(((ke=l.report)==null?void 0:ke.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",oI,[lI,e.createElementVNode("div",aI,e.toDisplayString(((Te=l.report)==null?void 0:Te.actualFoCons)??"-"),1),e.createElementVNode("div",nI,e.toDisplayString(((Fe=l.report)==null?void 0:Fe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",sI,[cI,e.createElementVNode("div",iI,e.toDisplayString(((Oe=l.report)==null?void 0:Oe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",dI,e.toDisplayString(((Pe=l.report)==null?void 0:Pe.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",rI,[mI,e.createElementVNode("div",pI,e.toDisplayString(((Le=l.report)==null?void 0:Le.actualDgoCons)??"-"),1),e.createElementVNode("div",hI,e.toDisplayString(((We=l.report)==null?void 0:We.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",_I,[EI,e.createElementVNode("div",yI,e.toDisplayString((($e=l.report)==null?void 0:$e.diffFoCons)??"-"),1)]),e.createElementVNode("div",NI,[VI,e.createElementVNode("div",fI,e.toDisplayString(((He=l.report)==null?void 0:He.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${n.computeBlankHtml(a.advisory)?"print-hidden":""}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${n.computeBlankHtml(a.advisory)?"print-hidden":""}`),style:{"min-height":"50px"}},[a.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[0]||(s[0]=Ne=>a.advisory=Ne),height:"320px",onBlur:s[1]||(s[1]=Ne=>n.handleCommit("comments",Ne))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=Ne=>a.editable=!a.editable),innerHTML:n.computeBlankHtml(a.advisory)?"Please double click to modify remark":a.advisory},null,40,xI))],2)])}const Bn=Ce(gH,[["render",bI],["__scopeId","data-v-99108259"]]),gY="",gI={name:"ComparisonFli",components:{Editor:Go},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{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsi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aS6NETkSaDqFEBDRBG6vMaNeTwbHIL0UOUJqQJS5FEQ3kI4uVrJEgq3AzTdNYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/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}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return t?`${K(t).utc().format(s)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,s){return t&&s?ae.LngLatHelper.roundPrecision(t-s):"-"}},computeSummary(){return function(t,s){if(t===0)return"No difference";let l="";return t>0?s==="time"?l=`Lost ${t}hrs`:l=`Over consumption ${t}mt`:s==="time"?l=`Saving ${Math.abs(t)}hrs`:l=`Under consumption ${Math.abs(t)}mt`,l}}},watch:{data:{handler(t){t&&this.fetchData()},immediate:!0}},methods:{fetchData(){var t,s;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(s=this.data)==null?void 0:s.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,s){this.editable=!1;const l={[t]:s};await Qa.put(`${this.gateway}/api/als/comparisons/${this.id}`,l,{headers:{Authorization:this.token}}),this.advisory=s}}},he=t=>(e.pushScopeId("data-v-f7bdbf19"),t=t(),e.popScopeId(),t),DI={class:"comparison-report"},kI=he(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),CI={class:"report-header"},SI={class:"header-title",style:{position:"relative !important"}},BI={class:"header-title-content"},wI=he(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),AI={class:"title-date"},TI={class:"report-summary"},FI={class:"summary-item"},OI=he(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),PI={class:"flexL gray"},LI={class:"summary-item"},WI=he(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),$I={class:"flexL gray"},HI={class:"summary-item"},MI=he(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),II={class:"flexL gray"},GI={class:"summary-item"},RI=he(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),zI={class:"flexL gray"},UI={class:"summary-item"},YI=he(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),ZI={class:"flexL gray"},QI={class:"summary-item"},JI=he(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),KI={class:"flexL gray",style:{display:"flex"}},jI={class:"flex"},uI={class:"flexM"},XI={class:"summary-item"},qI=he(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),vI={class:"flexL gray",style:{display:"flex"}},eG={class:"flex"},tG={class:"flexM"},oG=he(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),lG={class:"report-summary"},aG={class:"summary-item"},nG=he(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),sG={class:"summary-item"},cG=he(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),iG={class:"summary-item"},dG=he(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),rG=he(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),mG={class:"report-map"},pG=["src"],hG=e.createStaticVNode('<div class="legend" data-v-f7bdbf19><div class="legend-item" data-v-f7bdbf19><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-f7bdbf19></div><div data-v-f7bdbf19>Actual Route</div></div><div class="legend-item" data-v-f7bdbf19><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-f7bdbf19></div><div data-v-f7bdbf19>Ocean π Recommended Route</div></div></div>',1),_G=he(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),EG={key:0,class:"subtitle"},yG={key:1,class:"report-summary"},NG={class:"summary-item"},VG=he(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),fG={class:"flexL blue center"},xG={class:"summary-item"},bG=he(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),gG={class:"flexL blue center"},DG={class:"summary-item"},kG=he(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),CG={class:"flexL blue center"},SG=he(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),BG={class:"report-summary"},wG=he(()=>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)),AG={class:"summary-item"},TG=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),FG={class:"flex blue-light center"},OG={class:"flex blue-light center"},PG={class:"summary-item"},LG=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),WG={class:"flex blue-light center"},$G={class:"flex blue-light center"},HG={class:"summary-item"},MG=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),IG={class:"flex blue-light center"},GG={class:"flex blue-light center"},RG={class:"summary-item"},zG=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),UG={class:"flex blue-light center"},YG={class:"flex blue-light center"},ZG={class:"summary-item"},QG=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),JG={class:"flex blue-light center"},KG={class:"flex blue-light center"},jG={class:"summary-item"},uG=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),XG={class:"flex blue-light center"},qG={class:"flex blue-light center"},vG={class:"summary-item"},eR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),tR={class:"flex blue-light center italic"},oR=he(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),lR={class:"report-summary"},aR=he(()=>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)),nR={class:"summary-item"},sR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),cR={class:"flex blue-light center"},iR={class:"flex blue-light center"},dR={class:"summary-item"},rR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),mR={class:"flex blue-light center"},pR={class:"flex blue-light center"},hR={class:"summary-item"},_R=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),ER={class:"flex blue-light center"},yR={class:"flex blue-light center"},NR={class:"summary-item"},VR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),fR={class:"flex blue-light center"},xR={class:"flex blue-light center"},bR={class:"summary-item"},gR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),DR={class:"flex blue-light center italic"},kR={class:"summary-item"},CR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),SR={class:"flex blue-light center italic"},BR=["innerHTML"];function wR(t,s,l,r,a,n){var c,p,x,b,h,y,k,g,C,D,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,o,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,xe,be,ge,De,ke,Te,Fe,Oe,Pe,Le,We,$e,He;const E=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",DI,[kI,e.createElementVNode("div",CI,[e.createElementVNode("div",SI,[e.createElementVNode("div",BI,[wI,e.createElementVNode("div",AI,e.toDisplayString(n.computeUTCTime(((c=a.comparisonData)==null?void 0:c.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",TI,[e.createElementVNode("div",FI,[OI,e.createElementVNode("div",PI,e.toDisplayString((x=(p=a.comparisonData)==null?void 0:p.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",LI,[WI,e.createElementVNode("div",$I,e.toDisplayString((b=a.comparisonData)==null?void 0:b.preparedFor),1)]),e.createElementVNode("div",HI,[MI,e.createElementVNode("div",II,e.toDisplayString((y=(h=a.comparisonData)==null?void 0:h.vessel)==null?void 0:y.type),1)]),e.createElementVNode("div",GI,[RI,e.createElementVNode("div",zI,e.toDisplayString((g=(k=a.comparisonData)==null?void 0:k.voyage)==null?void 0:g.loadCondition),1)]),e.createElementVNode("div",UI,[YI,e.createElementVNode("div",ZI,e.toDisplayString((D=(C=a.comparisonData)==null?void 0:C.voyage)==null?void 0:D.number),1)]),e.createElementVNode("div",QI,[JI,e.createElementVNode("div",KI,[e.createElementVNode("span",jI,e.toDisplayString((F=(T=a.comparisonData)==null?void 0:T.departure)==null?void 0:F.name),1),e.createElementVNode("span",uI,e.toDisplayString(n.computeUTCTime(((w=(B=a.comparisonData)==null?void 0:B.departure)==null?void 0:w.atd)||((O=(f=a.comparisonData)==null?void 0:f.departure)==null?void 0:O.etd))),1)])]),e.createElementVNode("div",XI,[qI,e.createElementVNode("div",vI,[e.createElementVNode("span",eG,e.toDisplayString((G=(I=a.comparisonData)==null?void 0:I.arrival)==null?void 0:G.name),1),e.createElementVNode("span",tG,e.toDisplayString(n.computeUTCTime(((z=(R=a.comparisonData)==null?void 0:R.arrival)==null?void 0:z.ata)||((L=(_=a.comparisonData)==null?void 0:_.arrival)==null?void 0:L.eta))),1)])])]),oG,e.createElementVNode("div",lG,[e.createElementVNode("div",aG,[nG,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((H=a.comparisonData)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(n.computeSummary((W=a.comparisonData)==null?void 0:W.diffTime,"time")),3)]),e.createElementVNode("div",sG,[cG,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=a.comparisonData)==null?void 0:P.diffFoCons)} flex blue`)},e.toDisplayString(n.computeSummary((M=a.comparisonData)==null?void 0:M.diffFoCons,"oil")),3)]),e.createElementVNode("div",iG,[dG,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Q=a.comparisonData)==null?void 0:Q.diffDgoCons)} flex blue`)},e.toDisplayString(n.computeSummary((U=a.comparisonData)==null?void 0:U.diffDgoCons,"oil")),3)])]),rG,e.createElementVNode("div",mG,[e.createElementVNode("img",{style:{width:"100%"},src:(J=a.comparisonData)==null?void 0:J.chartUrl,alt:""},null,8,pG),hG]),_G,(ne=a.comparisonData)!=null&&ne.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",EG,"CP Terms")),(se=a.comparisonData)!=null&&se.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",yG,[e.createElementVNode("div",NG,[VG,e.createElementVNode("div",fG,e.toDisplayString(((u=(o=a.comparisonData)==null?void 0:o.cp)==null?void 0:u.speed)??"—"),1)]),e.createElementVNode("div",xG,[bG,e.createElementVNode("div",gG,e.toDisplayString(((ee=(v=a.comparisonData)==null?void 0:v.cp)==null?void 0:ee.fo)??"—"),1)]),e.createElementVNode("div",DG,[kG,e.createElementVNode("div",CG,e.toDisplayString(((oe=(te=a.comparisonData)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),SG,e.createElementVNode("div",BG,[wG,e.createElementVNode("div",AG,[TG,e.createElementVNode("div",FG,e.toDisplayString(((le=a.comparisonData)==null?void 0:le.actualDist)??"—"),1),e.createElementVNode("div",OG,e.toDisplayString(((ce=a.comparisonData)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",PG,[LG,e.createElementVNode("div",WG,e.toDisplayString(((ie=a.comparisonData)==null?void 0:ie.actualTime)??"—"),1),e.createElementVNode("div",$G,e.toDisplayString(((de=a.comparisonData)==null?void 0:de.recmdTime)??"—"),1)]),e.createElementVNode("div",HG,[MG,e.createElementVNode("div",IG,e.toDisplayString(((_e=a.comparisonData)==null?void 0:_e.actualAvgSpd)??"—"),1),e.createElementVNode("div",GG,e.toDisplayString(((X=a.comparisonData)==null?void 0:X.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",RG,[zG,e.createElementVNode("div",UG,e.toDisplayString(((me=a.comparisonData)==null?void 0:me.actualAvgCF)??"—"),1),e.createElementVNode("div",YG,e.toDisplayString(((Ee=a.comparisonData)==null?void 0:Ee.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",ZG,[QG,e.createElementVNode("div",JG,e.toDisplayString(((ye=a.comparisonData)==null?void 0:ye.actualAvgWF)??"—"),1),e.createElementVNode("div",KG,e.toDisplayString(((re=a.comparisonData)==null?void 0:re.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",jG,[uG,e.createElementVNode("div",XG,e.toDisplayString(((fe=a.comparisonData)==null?void 0:fe.actualPfmSpd)??"—"),1),e.createElementVNode("div",qG,e.toDisplayString(((xe=a.comparisonData)==null?void 0:xe.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",vG,[eR,e.createElementVNode("div",tR,e.toDisplayString(n.compareTime((be=a.comparisonData)==null?void 0:be.actualTime,(ge=a.comparisonData)==null?void 0:ge.recmdTime)),1)])]),oR,e.createElementVNode("div",lR,[aR,e.createElementVNode("div",nR,[sR,e.createElementVNode("div",cR,e.toDisplayString(((De=a.comparisonData)==null?void 0:De.actualAvgFoCons)??"-"),1),e.createElementVNode("div",iR,e.toDisplayString(((ke=a.comparisonData)==null?void 0:ke.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",dR,[rR,e.createElementVNode("div",mR,e.toDisplayString(((Te=a.comparisonData)==null?void 0:Te.actualFoCons)??"-"),1),e.createElementVNode("div",pR,e.toDisplayString(((Fe=a.comparisonData)==null?void 0:Fe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",hR,[_R,e.createElementVNode("div",ER,e.toDisplayString(((Oe=a.comparisonData)==null?void 0:Oe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",yR,e.toDisplayString(((Pe=a.comparisonData)==null?void 0:Pe.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",NR,[VR,e.createElementVNode("div",fR,e.toDisplayString(((Le=a.comparisonData)==null?void 0:Le.actualDgoCons)??"-"),1),e.createElementVNode("div",xR,e.toDisplayString(((We=a.comparisonData)==null?void 0:We.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",bR,[gR,e.createElementVNode("div",DR,e.toDisplayString((($e=a.comparisonData)==null?void 0:$e.diffFoCons)??"-"),1)]),e.createElementVNode("div",kR,[CR,e.createElementVNode("div",SR,e.toDisplayString(((He=a.comparisonData)==null?void 0:He.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[a.editable?(e.openBlock(),e.createBlock(E,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[0]||(s[0]=Ne=>a.advisory=Ne),height:"320px",onBlur:s[1]||(s[1]=Ne=>n.handleCommit("comments",Ne))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=(...Ne)=>n.decideDisable&&n.decideDisable(...Ne)),innerHTML:a.advisory&&a.advisory!=="<p><br></p>"?a.advisory:"Please double click to modify remark"},null,40,BR))],2)])}const wn=Ce(gI,[["render",wR],["__scopeId","data-v-f7bdbf19"]]),AR={install(t){t.component("OrmComparisonReport",Bn),t.component("FliComparisonReport",wn)}},DY="",TR={name:"IdmThird",props:{name:{type:String,default:""}}},FR={class:"section brand-section flex-space"},OR=e.createStaticVNode('<div class="logo-box flex-center" data-v-793a5781><a class="logo" href="https://www.idmwx.com" target="_blank" data-v-793a5781><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-793a5781><div class="brand" data-v-793a5781><span data-v-793a5781>Weather Routing</span><div class="company" data-v-793a5781>Ocean Right Marine Service</div></div></a></div>',1),PR={class:"report-box flex-space"},LR={class:"name flex-start"},WR=e.createStaticVNode('<div class="support flex-end" data-v-793a5781><img src="https://img.idmwx.com/asset/idm/qrcode_for_gh_976e5ac920c0_258.jpg" data-v-793a5781><div style="margin-left:10px;" data-v-793a5781><div class="name flex-space" data-v-793a5781><label data-v-793a5781>IDM Service Team</label></div><div class="desc flex-center" data-v-793a5781>Technical Support & Consulting Center</div></div></div>',1);function $R(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("div",FR,[OR,e.createElementVNode("div",PR,[e.createElementVNode("div",LR,e.toDisplayString(l.name),1),WR])])}const An=Ce(TR,[["render",$R],["__scopeId","data-v-793a5781"]]),HR={install(t){t.component("IdmBrand",Io),t.component("IdmThird",An)}},kY="",CY="",MR={name:"QuotaReport",components:{Brand:Io},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(){hl.accessToken=this.mapboxToken,this.map=new hl.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}})}}},Tn=t=>(e.pushScopeId("data-v-f3647134"),t=t(),e.popScopeId(),t),IR={class:"quota-report"},GR=Tn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),RR={class:"section quota-section"},zR=Tn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),UR={class:"label"},YR={class:"label"},ZR=["innerHTML"],QR=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 JR(t,s,l,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",IR,[e.createVNode(E,{name:"Quotation Sheet"}),GR,e.createElementVNode("div",RR,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[zR,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,class:"label"},e.toDisplayString(c.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,style:e.normalizeStyle({width:c.width}),class:"label"},e.toDisplayString(c.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(c,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",UR,e.toDisplayString(c.rank),1),e.createElementVNode("td",YR,e.toDisplayString(c.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,x=>(e.openBlock(),e.createElementBlock("td",{key:x,innerHTML:a.quota[p][x-1]||""},null,8,ZR))),128))]))),128))])]),QR])])}const Fn=Ce(MR,[["render",JR],["__scopeId","data-v-f3647134"]]),SY="",KR={name:"QuotaReport",components:{Brand:Io},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(){hl.accessToken=this.mapboxToken,this.map=new hl.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}})}}},On=t=>(e.pushScopeId("data-v-e3ab3a93"),t=t(),e.popScopeId(),t),jR={class:"quota-report"},uR=On(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),XR={class:"section quota-section"},qR=On(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),vR={class:"label"},ez={class:"label"},tz=["innerHTML"],oz=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 lz(t,s,l,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",jR,[e.createVNode(E,{name:"Quotation Sheet"}),uR,e.createElementVNode("div",XR,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[qR,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,class:"label"},e.toDisplayString(c.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,style:e.normalizeStyle({width:c.width}),class:"label"},e.toDisplayString(c.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(c,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",vR,e.toDisplayString(c.rank),1),e.createElementVNode("td",ez,e.toDisplayString(c.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,x=>(e.openBlock(),e.createElementBlock("td",{key:x,innerHTML:a.quota[p][x-1]||""},null,8,tz))),128))]))),128))])]),oz])])}const Pn=Ce(KR,[["render",lz],["__scopeId","data-v-e3ab3a93"]]),BY="",az={name:"QuotaReport",components:{Brand:Io},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(){hl.accessToken=this.mapboxToken,this.map=new hl.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-fecdf217"),t=t(),e.popScopeId(),t),nz={class:"quota-report"},sz=Ln(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),cz={class:"section quota-section"},iz=Ln(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),dz={class:"label"},rz={class:"label"},mz=["innerHTML"],pz=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 hz(t,s,l,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",nz,[e.createVNode(E,{name:"Quotation Sheet for TONGLI"}),sz,e.createElementVNode("div",cz,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[iz,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,class:"label"},e.toDisplayString(c.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,style:e.normalizeStyle({width:c.width}),class:"label"},e.toDisplayString(c.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(c,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",dz,e.toDisplayString(c.rank),1),e.createElementVNode("td",rz,e.toDisplayString(c.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,x=>(e.openBlock(),e.createElementBlock("td",{key:x,innerHTML:a.quota[p][x-1]||""},null,8,mz))),128))]))),128))])]),pz])])}const Wn=Ce(az,[["render",hz],["__scopeId","data-v-fecdf217"]]),_z={install(t){t.component("OrmQuoteReport",Fn),t.component("OrmQuoteReport4SEOA",Pn),t.component("OrmQuoteReport4TongLi",Wn)}},wY="",Ez={name:"PrecipitationReport",components:{IdmBrand:Io,IdmLoading:ja},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}},computed:{computeLat(){return function(t){return ae.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ae.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,s=8,l="MMM-DD/HHmm[LT]"){return`${K(t).utcOffset(s).format(l)}`}},computeTZ(){return function(t="0"){return ae.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const l=Number("1".padEnd(s+1,"0"));return Math.round(t*l)/l}else return"-"}},computeDegree(){return function(t,s){t=t%360;for(let l=0;l<17;l++)if(l*22.5+t+11.25>=360){let r=(16-l)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var a,n,E,c,p,x,b;const s=ae.LngLatHelper.guessTimeZoneOffset(t.lng,t.lat);t.localTZ=s;const l={};for(let h=0;h<((a=t==null?void 0:t.extend)==null?void 0:a.length);h++){const y=t==null?void 0:t.extend[h];if(h===0)y.precip.pacc=0;else{const k=K(y.utc).utcOffset(s),g=(n=y.precip)==null?void 0:n.acc;if(y.precip.pacc=g,g>0){const C=l[k.format("MMM-DD")],D=Math.floor(k.get("hour")/6);C?(C.pacc=this.roundPrecision(C.pacc+g,1),C[`${D}`]?C[`${D}`]+=g:(C[`${D}`]=g,C.colspan+=1)):(l[k.format("MMM-DD")]={pacc:g,colspan:1},l[k.format("MMM-DD")][`${D}`]=g)}}}t.paccInDays=l;let r=0;for(const h of Object.keys(l))r+=(E=l[h])==null?void 0:E.colspan,l[h].level=((c=l[h])==null?void 0:c.pacc)<10?"Light":((p=l[h])==null?void 0:p.pacc)<24.9?"Moderate":((x=l[h])==null?void 0:x.pacc)<49.9?"Heavy":((b=l[h])==null?void 0:b.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=r,t}}},watch:{report:{handler(){var t,s,l;if((t=this.report)!=null&&t.rows){this.loading=!1;for(const r of(s=this.report)==null?void 0:s.rows)this.computeForm(r);this.form=(l=this.report)==null?void 0:l.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()})}}},methods:{initEchart(){var t,s;if(this.version==="Pretty"){this.echart||(this.echart=e.markRaw(Ka.init(this.$refs.echart)));const l=[],r=[],a={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let n=4;(s=(t=this.form)==null?void 0:t.extend)==null||s.forEach(c=>{var x,b,h,y,k,g,C,D,T,F,B,w,f,O;const p=K(c.utc).utcOffset((x=this.form)==null?void 0:x.localTZ).format("MMM-DD/HHmm[LT]");l.push(p),n=((h=(b=c.wave)==null?void 0:b.sig)==null?void 0:h.height)>n?(k=(y=c.wave)==null?void 0:y.sig)==null?void 0:k.height:n,r.push([p,(g=c.wind)==null?void 0:g.kts,(C=c.gusts)==null?void 0:C.kts,(T=(D=c.wave)==null?void 0:D.sig)==null?void 0:T.height,(F=c.wind)==null?void 0:F.direction,(B=c.wind)==null?void 0:B.degree,(w=c.wind)==null?void 0:w.scale,(f=c.current)==null?void 0:f.kts,(O=c.precip)==null?void 0:O.pacc,this.roundPrecision(c.visibility/1852,0),c.temp])});const E={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:l}],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:n,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:a.dateTime,y:a.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:r,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:a.dateTime,y:a.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:r,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:a.dateTime,y:a.waveHeight},data:r,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:a.dateTime,y:a.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:r,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:a.dateTime,y:a.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:r,z:2}]};this.echart.setOption(E)}},async initMap(){this.version==="Pretty"&&!this.map&&(hl.accessToken=this.mapboxToken,this.map=new hl.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 s of(t=this.report)==null?void 0:t.rows){const l={type:"Feature",properties:{name:s.name,rank:s.rank},geometry:{type:"Point",coordinates:[s.lng,s.lat]}};this.geojson.features.push(l)}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 s;(s=this.map)==null||s.flyTo({center:[t.lng,t.lat],zoom:8})}}},it=t=>(e.pushScopeId("data-v-164362dd"),t=t(),e.popScopeId(),t),yz={class:"precipitation-report"},Nz={class:"section area-section"},Vz={class:"area-block"},fz={class:"area-header flex-space"},xz={class:"flex-start"},bz=["onClick"],gz={class:"flex-end"},Dz={class:"area-body"},kz=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-164362dd> 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-164362dd><div style="background:rgba(243, 245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Light (<10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Moderate (<24.9mm)</div><div style="background:rgb(7, 148, 255);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Heavy (<49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Rainstorm (<99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-164362dd>Heavy Rainstorm (>100mm)</div></div>',2),Cz={class:"flex-evenly"},Sz={key:0},Bz=["colspan"],wz=["colspan"],Az={style:{"font-size":"10px"}},Tz={key:0},Fz={key:1},Oz={key:2},Pz={key:3},Lz={key:0},Wz={key:1,style:{"font-size":"14px"}},$z=it(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Hz={class:"section echart-section"},Mz={ref:"echart",class:"echart"},Iz={class:"section sample-section"},Gz=it(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Rz=["colspan"],zz=it(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Uz=it(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),Yz=it(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Zz=it(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Qz=it(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Jz=it(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Kz={key:0},jz={key:1},uz=it(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Xz=it(()=>e.createElementVNode("th",null,"Dir",-1)),qz=it(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),vz=it(()=>e.createElementVNode("th",null,"BF",-1)),eU=it(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),tU=it(()=>e.createElementVNode("th",null,"Dir",-1)),oU=it(()=>e.createElementVNode("th",null,"Ht (m)",-1)),lU=it(()=>e.createElementVNode("th",null,"Prd (s)",-1)),aU=it(()=>e.createElementVNode("th",null,"Dir",-1)),nU=it(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),sU=it(()=>e.createElementVNode("th",null,"Prd (s)",-1)),cU=it(()=>e.createElementVNode("th",null,"°C",-1)),iU={width:"120px"},dU={key:0},rU={key:1},mU={key:0,class:"degree-box"},pU={key:1},hU={key:0,class:"degree-box"},_U={key:1},EU={key:0,class:"degree-box"},yU={key:1},NU={class:"section area-section"},VU={class:"area-block"},fU={class:"area-header flex-end"},xU={class:"flex-end"},bU={class:"area-body"},gU=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-164362dd> 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-164362dd><div style="background:rgba(243, 245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Light (<10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Moderate (<24.9mm)</div><div style="background:rgb(7, 148, 255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Heavy (<49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Rainstorm (<99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-164362dd>Heavy Rainstorm (>100mm)</div></div>',2),DU=["colspan"],kU=["colspan"],CU={style:{"font-size":"10px"}},SU={key:0},BU={key:1},wU={key:2},AU={key:3},TU={key:1,style:{"font-size":"14px"}},FU={key:0};function OU(t,s,l,r,a,n){var p,x,b,h,y,k,g,C,D,T,F,B,w,f,O,I,G,R,z;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",yz,[e.createVNode(E,{name:"Precipitation Accumulation"}),e.createVNode(c,{loading:a.loading,onTimeout:s[0]||(s[0]=_=>a.loading=!1)},null,8,["loading"]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",Nz,[e.createElementVNode("div",Vz,[e.createElementVNode("div",fz,[e.createElementVNode("div",xz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=l.report)==null?void 0:p.rows,(_,L)=>(e.openBlock(),e.createElementBlock("div",{key:L,class:e.normalizeClass(a.index===L?"header-item active":"header-item"),onClick:H=>{var W;a.index=L,a.form=(W=l.report)==null?void 0:W.rows[a.index]}},e.toDisplayString(_.rank)+". "+e.toDisplayString(_.name),11,bz))),128))]),e.createElementVNode("div",gz,[e.createElementVNode("div",{class:"header-item",onClick:s[1]||(s[1]=_=>a.version="Brief")},"Brief")])]),e.createElementVNode("div",Dz,[kz,e.createElementVNode("div",Cz,[a.form?(e.openBlock(),e.createElementBlock("table",Sz,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:a.form.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString((x=a.form)==null?void 0:x.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString((b=a.form)==null?void 0:b.name)+" ("+e.toDisplayString(n.computeLat((h=a.form)==null?void 0:h.lat).pretty)+" / "+e.toDisplayString(n.computeLng((y=a.form)==null?void 0:y.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(n.computeLTime((g=(k=a.form)==null?void 0:k.extend)==null?void 0:g[0].utc,(C=a.form)==null?void 0:C.localTZ))+" to "+e.toDisplayString(n.computeLTime((T=(D=a.form)==null?void 0:D.extend)==null?void 0:T.at(-1).utc,(F=a.form)==null?void 0:F.localTZ))+", "+e.toDisplayString(n.computeTZ((B=a.form)==null?void 0:B.localTZ))+")",1)],8,Bz)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((w=a.form)==null?void 0:w.paccInDays),(_,L)=>{var H;return e.openBlock(),e.createElementBlock("th",{key:L,colspan:a.form.paccInDays[_].colspan,class:e.normalizeClass((H=a.form.paccInDays[_])==null?void 0:H.level)},e.toDisplayString(_)+" ("+e.toDisplayString(a.form.paccInDays[_].pacc)+")",11,wz)}),128))]),e.createElementVNode("tr",Az,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((f=a.form)==null?void 0:f.paccInDays),(_,L)=>{var H;return e.openBlock(),e.createElementBlock(e.Fragment,{key:L},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((H=a.form)==null?void 0:H.paccInDays[_]),(W,P)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:P},[W==="0"?(e.openBlock(),e.createElementBlock("th",Tz,"00-06")):e.createCommentVNode("",!0),W==="1"?(e.openBlock(),e.createElementBlock("th",Fz,"06-12")):e.createCommentVNode("",!0),W==="2"?(e.openBlock(),e.createElementBlock("th",Oz,"12-18")):e.createCommentVNode("",!0),W==="3"?(e.openBlock(),e.createElementBlock("th",Pz,"18-24")):e.createCommentVNode("",!0)],64))),128))],64)}),128))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(I=Object.keys((O=a.form)==null?void 0:O.paccInDays))!=null&&I.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys((G=a.form)==null?void 0:G.paccInDays),(_,L)=>{var H;return e.openBlock(),e.createElementBlock(e.Fragment,{key:L},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((H=a.form)==null?void 0:H.paccInDays[_]),(W,P)=>{var M;return e.openBlock(),e.createElementBlock(e.Fragment,{key:P},[["0","1","2","3"].includes(W)?(e.openBlock(),e.createElementBlock("td",Lz,e.toDisplayString(n.roundPrecision((M=a.form)==null?void 0:M.paccInDays[_][W],1)),1)):e.createCommentVNode("",!0)],64)}),128))],64)}),128)):(e.openBlock(),e.createElementBlock("th",Wz,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),$z,e.createElementVNode("div",Hz,[e.createElementVNode("div",Mz,null,512)]),e.createElementVNode("div",Iz,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Gz,e.createElementVNode("th",{colspan:l.showPrate?2:1},"Precip",8,Rz),zz,Uz,Yz,Zz,Qz,Jz]),e.createElementVNode("tr",null,[l.showPrate?(e.openBlock(),e.createElementBlock("th",Kz,"Rate (mm/h)")):e.createCommentVNode("",!0),l.showAcc?(e.openBlock(),e.createElementBlock("th",jz,"Acc (mm)")):e.createCommentVNode("",!0),uz,Xz,qz,vz,eU,tU,oU,lU,aU,nU,sU,cU])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((R=a.form)==null?void 0:R.extend,(_,L)=>{var H,W,P,M,Q,U,J,ne,se,o,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,xe,be,ge,De,ke;return e.openBlock(),e.createElementBlock("tr",{key:L},[e.createElementVNode("td",iU,e.toDisplayString(n.computeLTime(_.utc,(H=a.form)==null?void 0:H.localTZ)),1),l.showPrate?(e.openBlock(),e.createElementBlock("td",dU,e.toDisplayString(n.roundPrecision((W=_.precip)==null?void 0:W.prate,2)),1)):e.createCommentVNode("",!0),l.showAcc?(e.openBlock(),e.createElementBlock("td",rU,e.toDisplayString((P=_.precip)==null?void 0:P.pacc),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(_.visibility/1852,0)),1),e.createElementVNode("td",null,[(M=_.wind)!=null&&M.kts?(e.openBlock(),e.createElementBlock("span",mU,[e.createTextVNode(e.toDisplayString((Q=_.wind)==null?void 0:Q.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((U=_.wind)==null?void 0:U.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",pU,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((J=_.wind)==null?void 0:J.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((ne=_.wind)==null?void 0:ne.scale),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((se=_.gusts)==null?void 0:se.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((u=(o=_.wave)==null?void 0:o.wd)==null?void 0:u.height,1)),1),e.createElementVNode("td",null,[(ee=(v=_.wave)==null?void 0:v.swell)!=null&&ee.height?(e.openBlock(),e.createElementBlock("span",hU,[e.createTextVNode(e.toDisplayString((oe=(te=_.wave)==null?void 0:te.swell)==null?void 0:oe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ce=(le=_.wave)==null?void 0:le.swell)==null?void 0:ce.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",_U,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((de=(ie=_.wave)==null?void 0:ie.swell)==null?void 0:de.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((X=(_e=_.wave)==null?void 0:_e.swell)==null?void 0:X.period,1)),1),e.createElementVNode("td",null,[(Ee=(me=_.wave)==null?void 0:me.sig)!=null&&Ee.height?(e.openBlock(),e.createElementBlock("span",EU,[e.createTextVNode(e.toDisplayString((re=(ye=_.wave)==null?void 0:ye.sig)==null?void 0:re.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((xe=(fe=_.wave)==null?void 0:fe.sig)==null?void 0:xe.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",yU,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ge=(be=_.wave)==null?void 0:be.sig)==null?void 0:ge.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ke=(De=_.wave)==null?void 0:De.sig)==null?void 0:ke.period,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(_.temp,1)),1)])}),128))])])])],512),[[e.vShow,a.version==="Pretty"]]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",NU,[e.createElementVNode("div",VU,[e.createElementVNode("div",fU,[e.createElementVNode("div",xU,[e.createElementVNode("div",{class:"header-item",onClick:s[2]||(s[2]=_=>a.version="Pretty")},"Pretty")])]),e.createElementVNode("div",bU,[gU,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((z=l.report)==null?void 0:z.rows,(_,L)=>{var H,W,P;return e.openBlock(),e.createElementBlock("div",{key:L,style:{"margin-bottom":"10px"}},[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:_.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString(_==null?void 0:_.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString(_==null?void 0:_.name)+" ("+e.toDisplayString(n.computeLat(_==null?void 0:_.lat).pretty)+" / "+e.toDisplayString(n.computeLng(_==null?void 0:_.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(n.computeLTime((H=_==null?void 0:_.extend)==null?void 0:H[0].utc,_==null?void 0:_.localTZ))+" to "+e.toDisplayString(n.computeLTime((W=_==null?void 0:_.extend)==null?void 0:W.at(-1).utc,_==null?void 0:_.localTZ))+", "+e.toDisplayString(n.computeTZ(_==null?void 0:_.localTZ))+")",1)],8,DU)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays),(M,Q)=>{var U;return e.openBlock(),e.createElementBlock("th",{key:Q,colspan:_.paccInDays[M].colspan,class:e.normalizeClass((U=_.paccInDays[M])==null?void 0:U.level)},e.toDisplayString(M)+" ("+e.toDisplayString(_.paccInDays[M].pacc)+")",11,kU)}),128))]),e.createElementVNode("tr",CU,[(P=Object.keys(_==null?void 0:_.paccInDays))!=null&&P.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys(_==null?void 0:_.paccInDays),(M,Q)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Q},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays[M]),(U,J)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:J},[U==="0"?(e.openBlock(),e.createElementBlock("th",SU,"00-06")):e.createCommentVNode("",!0),U==="1"?(e.openBlock(),e.createElementBlock("th",BU,"06-12")):e.createCommentVNode("",!0),U==="2"?(e.openBlock(),e.createElementBlock("th",wU,"12-18")):e.createCommentVNode("",!0),U==="3"?(e.openBlock(),e.createElementBlock("th",AU,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",TU,"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(_==null?void 0:_.paccInDays),(M,Q)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Q},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays[M]),(U,J)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:J},[["0","1","2","3"].includes(U)?(e.openBlock(),e.createElementBlock("td",FU,e.toDisplayString(n.roundPrecision(_==null?void 0:_.paccInDays[M][U],1)),1)):e.createCommentVNode("",!0)],64))),128))],64))),128))])])])])}),128))])])])],512),[[e.vShow,a.version==="Brief"]])])}const $n=Ce(Ez,[["render",OU],["__scopeId","data-v-164362dd"]]),PU={install(t){t.component("PrecipitationReport",$n)}},LU={install(t){t.component("IdmLoading",ja)}};Y.BrandPlugin=HR,Y.ComparisonPlugin=AR,Y.DeviationPlugin=uW,Y.DeviationReport=kn,Y.FliComparisonReport=wn,Y.FliDeviationReport=Cn,Y.FliInvoiceReport=gn,Y.FliPlanReport=yn,Y.FliVoyageReport=Vn,Y.HurricanePlugin=o8,Y.IdmBrand=Io,Y.IdmEditor=Go,Y.IdmEditorPlugin=vp,Y.IdmLat=Xa,Y.IdmLatPlugin=eh,Y.IdmLng=ua,Y.IdmLngPlugin=th,Y.IdmLoading=ja,Y.IdmThird=An,Y.InvoicePlugin=GB,Y.LoadingPlugin=LU,Y.ORMPointReport=En,Y.OrmComparisonReport=Bn,Y.OrmInvoiceReport=bn,Y.OrmPlanReport=rn,Y.OrmQuoteReport=Fn,Y.OrmQuoteReport4SEOA=Pn,Y.OrmQuoteReport4TongLi=Wn,Y.OrmVoyageReport=fn,Y.PiLogo=Nn,Y.PiLogoPlugin=ih,Y.PointReportPlugin=ed,Y.PrecipitationReport=$n,Y.PrecipitationReportPlugin=PU,Y.QuoteReportPlugin=_z,Y.RouteReport=rn,Y.RouteReportPlugin=qp,Y.StoppageReport=Sn,Y.StoppageReportPlugin=bH,Y.TropicalReport=xn,Y.VoyageReportPlugin=q4,Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"})});
|
|
41
|
+
-3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)];function ch(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("i",lh,[(e.openBlock(),e.createElementBlock("svg",ah,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:t.fill,"fill-opacity":.6,stroke:"none"},sh,8,nh)]))])}const on=Ce(oh,[["render",ch]]),ih={install(o){o.component("PiLogo",on)}},AY="",TY="",dh={name:"FliVygSummary",components:{Editor:Go},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(o){var s,t;return(t=(s=this.reportData)==null?void 0:s.weather)!=null&&t.favorableCur?o.avgCf>0:!1}},computedPositive(){return function(o){return o>0?o:`(${o})`}},computedTime(){return function(o,s){return s=="subtitle"?j(o).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s=="table"?j(o).utc().format("MMMM-DD/HHmm[Z]"):s=="summary"?j(o).utc().format("MMMM D, HHmm[Z]"):s?j(o).utc().format(s):j(o).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(o,s){const t=ae.LngLatHelper.lat2pretty(o).pretty,r=ae.LngLatHelper.lng2pretty(s).pretty;return`${t} ${r}`}},computedSeg(){return function(o){const s=o.departure.portName||this.computedLngLat(o.departure.lat,o.departure.lng),t=this.computedTime(o.departure.utcTime,"summary"),r=this.computedTime(o.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),a=o.arrival.portName||this.computedLngLat(o.arrival.lat,o.arrival.lng),n=this.computedTime(o.arrival.utcTime,"summary"),E=this.computedTime(o.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:s,time1:t,fullTime1:r,port2:a,time2:n,fullTime2:E}}},computedTimeConclusion(){return function(o){let s=o.conclusionStatus,t={conclusion:"",className:"",timeCon:""};return s=="No"?(t.conclusion="No Time Lost/Gained",t.className="",t.timeCon=""):s=="Lost"?(t.conclusion="Time Lost",t.className="error",t.timeCon=`${o.timeLost} hrs`):(t.conclusion="Time Gained",t.className="success",t.timeCon=`${o.timeGain} hrs`),t}},computedFuleConclusion(){return function(o,s){let t=o.conclusionStatus,r={conclusion:"",className:"",cons:""};return t==="No"?(r.conclusion="No Over/Under",r.className="",r.cons=""):t==="Over"?(s==="FO"?r.conclusion="FO Over":r.conclusion="DO/GO Over",r.className="error",r.cons=`${o.overCons} mt`):(s==="FO"?r.conclusion="FO Under":r.conclusion="DO/GO Under",r.className="success",r.cons=`${o.saving} mt`),r}},computedUnit(){return function(o,s){return s?"%":o=="speed"?"":"(mt)"}},computedWeatherDef(){return function(o){let s="";o!=null&&o.timePercentage?`${o==null?void 0:o.time}`:`${o==null?void 0:o.time}`;let t=o==null?void 0:o.windScale,r="",a=0;return o!=null&&o.waveSwitch?(r+=`, Wind wave height is ${o==null?void 0:o.waveHeight} meters or less`,a++):o!=null&&o.swellSwitch?(r+=`, Swell wave height is ${o==null?void 0:o.swellHeight} meters or less`,a++):o!=null&&o.sigSwitch&&(r+=`, Significant wave height is ${o==null?void 0:o.sigHeight} meters or less`,a++),a>0&&(r+=`(Douglas Sea State ${o==null?void 0:o.seaScale})`),s=`Winds are BF/${t} or less${r}`,o!=null&&o.noAdverseCur&&(s+=", No Adverse Current"),o!=null&&o.noExtrapolation&&(s+=", No Extrapolation"),s}},computedColor(){return function(o,s,t){let r="";if(o==="No")return r=t?"bg-color-normal":"color-normal",r;switch(s){case"time":o==="Lost"?r="color-fail":r="color-success";break;case"fuel":o==="Over"?r="color-fail":r="color-success";break;case"pfm":o==="Under"?r="color-fail":r="color-success";break}return t&&(r="bg-"+r),r}},computedAbt4Spd(){return function(o){var s,t,r;return(s=o.timeConclusion)!=null&&s.spdPercentage?ae.LngLatHelper.roundPrecision(o.extend.cp.speed*(((t=o==null?void 0:o.timeConclusion)==null?void 0:t.spdOfAbout)/100),2):(r=o==null?void 0:o.timeConclusion)==null?void 0:r.spdOfAbout}}},watch:{reportData:{handler(o,s){var t;o!=null&&o.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(t=this.reportData)==null?void 0:t.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{handleCommit(o){this.editable=!1,this.$emit("commit",o)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var s,t;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let o=[];(t=(s=this.reportData)==null?void 0:s.segments)==null||t.forEach((r,a)=>{let n=r.excluded;if(n.sumDistance>0&&n.detail.forEach(c=>{let p={begin:j(c.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:j(c.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:j(c.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+j(c.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:c.duration,distance:c.distance,fo:c.foCons,dgo:c.dgoCons};this.excludedTableData.push(p)}),!o.includes(r.seg)){o.push(r.seg);let c=Object.assign({},r.extend.cp);c.spdOfOver=`+${r.timeConclusion.spdOfOver}${this.computedUnit("speed",r.timeConclusion.spdPercentage)}`,c.spdOfUnder=`-${r.timeConclusion.spdOfUnder}${this.computedUnit("speed",r.timeConclusion.spdPercentage)}`,c.over=`+${r.fuelConclusion.consOfOver}${this.computedUnit("cons",r.fuelConclusion.consPercentage)}`,c.under=`-${r.fuelConclusion.consOfUnder}${this.computedUnit("cons",r.fuelConclusion.consPercentage)}`,this.cpDetail.push(c)}let E=[];r.extend.segTimes.forEach(c=>{E.push(this.computedSeg(c))}),this.segDetail.push(E),this.goodDays.push(r.inventory.sample.hours.filter(c=>c.type!=="A"&&c.goodWx))})}}},d=o=>(e.pushScopeId("data-v-b0ef3073"),o=o(),e.popScopeId(),o),rh=d(()=>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)),mh={class:"fli-main"},ph=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),hh={class:"card basics"},_h={class:"list flex"},Eh={class:"item"},yh=d(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),Nh={class:"content flex"},Vh={class:"item"},fh=d(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),bh={class:"content flex"},gh={class:"item"},xh=d(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),kh={class:"content flex"},Dh={class:"list"},Ch={class:"item"},Sh=d(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),Bh={class:"content flex"},wh={class:"content flex"},Ah={class:"item"},Th=d(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),Fh={class:"content flex"},Oh={class:"content flex"},Ph={class:"item"},Lh=d(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),Wh={class:"content flexL"},$h=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),Hh={class:"clause"},Mh={key:0,class:"definition flex"},Ih={key:1,class:"definition flex"},Gh={class:"item"},Rh=d(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),zh={class:"content"},Uh={key:0,class:"item"},Yh=d(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),Zh={class:"content"},Qh={key:1,class:"item"},Jh=d(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),Kh={class:"content"},jh={key:2,class:"item"},Xh=d(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),qh={class:"content"},uh={key:3,class:"item"},vh=d(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),e1={class:"content"},t1={key:4,class:"item"},o1=[d(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],l1={key:5,class:"item"},a1=[d(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],n1={class:"definition flexM"},s1={class:"table"},c1=d(()=>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)),i1=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),d1={class:"summary"},r1={key:0,class:"summary-overall"},m1=d(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),p1={class:"summary-overall-row"},h1={class:"card"},_1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),E1={class:"main-content"},y1={key:0},N1={key:1},V1={class:"card"},f1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),b1={class:"main-content"},g1={key:0},x1={key:1},k1={class:"card"},D1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),C1={class:"main-content"},S1={key:0},B1={key:1},w1={class:"summary-overall-row"},A1={class:"card"},T1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),F1={class:"main-content"},O1={class:"card"},P1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),L1={class:"main-content"},W1={class:"card"},$1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),H1={class:"main-content"},M1=d(()=>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)),I1={class:"card",style:{flex:"1.5"}},G1={class:"card-title"},R1=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),z1={class:"card-segment"},U1={class:"card-segment"},Y1={class:"card-segment"},Z1=d(()=>e.createElementVNode("div",null,"Applied",-1)),Q1={class:"uppercase"},J1={class:"card summary-card",style:{flex:"1"}},K1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),j1={key:0,class:"main-content"},X1={key:0,class:"iconfont success"},q1={key:1,class:"iconfont error"},u1={key:1,class:"main-content"},v1={class:"card-content",style:{"justify-content":"flex-start"}},e_={class:"card summary-card",style:{flex:"1"}},t_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),o_={key:0,class:"main-content"},l_={key:0,class:"iconfont success"},a_={key:1,class:"iconfont error"},n_={key:1,class:"main-content"},s_={class:"card-content",style:{"justify-content":"flex-start"}},c_={class:"card summary-card",style:{flex:"1"}},i_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),d_={key:0,class:"main-content"},r_={key:0,class:"iconfont success"},m_={key:1,class:"iconfont error"},p_={key:1,class:"main-content"},h_={class:"card-content",style:{"justify-content":"flex-start"}},__={style:{"page-break-inside":"avoid"}},E_=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),y_={class:"remarks"},N_={class:"item"},V_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),f_={class:"speed"},b_={class:"uppercase"},g_={class:"item"},x_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),k_={key:0,class:"remark-detail"},D_={key:1,class:"remark-detail"},C_={class:"page-avoid"},S_={class:"dashed"},B_={class:"card phase-title-card",style:{flex:"0.5"}},w_={class:"card-title"},A_=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),T_={class:"card-segment"},F_={class:"card-segment"},O_={class:"card-segment"},P_=d(()=>e.createElementVNode("div",null,"Applied",-1)),L_={class:"uppercase"},W_=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),$_={class:"phase-analysis"},H_={class:"card phase-card",style:{flex:"1"}},M_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),I_={class:"main-content"},G_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),R_={class:"main-content"},z_={class:"card-content"},U_=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),Y_=d(()=>e.createElementVNode("span",null,"mt",-1)),Z_={class:"card-content"},Q_=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),J_=d(()=>e.createElementVNode("span",null,"mt",-1)),K_={class:"card-content"},j_=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),X_=d(()=>e.createElementVNode("span",null,"mt",-1)),q_={class:"card-content"},u_=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),v_=d(()=>e.createElementVNode("span",null,"mt",-1)),eE=d(()=>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)),tE={class:"card phase-card",style:{flex:"1"}},oE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),lE={class:"main-content"},aE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),nE={class:"main-content"},sE={class:"card-content"},cE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),iE=d(()=>e.createElementVNode("span",null,"mt",-1)),dE={class:"card-content"},rE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),mE=d(()=>e.createElementVNode("span",null,"mt",-1)),pE={class:"card-content"},hE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),_E=d(()=>e.createElementVNode("span",null,"mt",-1)),EE={class:"card-content"},yE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),NE=d(()=>e.createElementVNode("span",null,"mt",-1)),VE=d(()=>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)),fE={class:"phase-analysis"},bE={class:"card phase-card",style:{flex:"1"}},gE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),xE={class:"main-content"},kE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),DE={class:"main-content"},CE={class:"card-content"},SE=d(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),BE=d(()=>e.createElementVNode("span",null,"nm",-1)),wE={class:"card-content"},AE=d(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),TE=d(()=>e.createElementVNode("span",null,"nm",-1)),FE={class:"card-content"},OE=d(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),PE=d(()=>e.createElementVNode("span",null,"nm",-1)),LE={class:"card-content"},WE=d(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),$E=d(()=>e.createElementVNode("span",null,"nm",-1)),HE={class:"card phase-card",style:{flex:"1"}},ME=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),IE={class:"main-content"},GE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),RE={class:"main-content"},zE={class:"card-content"},UE=d(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),YE=d(()=>e.createElementVNode("span",null,"hrs",-1)),ZE={class:"card-content"},QE=d(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),JE=d(()=>e.createElementVNode("span",null,"hrs",-1)),KE={class:"card-content"},jE=d(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),XE=d(()=>e.createElementVNode("span",null,"hrs",-1)),qE={class:"card-content"},uE=d(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),vE=d(()=>e.createElementVNode("span",null,"hrs",-1)),ey={class:"card phase-card",style:{flex:"1"}},ty=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),oy={class:"main-content"},ly=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),ay={class:"main-content"},ny={class:"card-content"},sy=d(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),cy=d(()=>e.createElementVNode("span",null,"kts",-1)),iy={class:"card-content"},dy=d(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),ry=d(()=>e.createElementVNode("span",null,"kts",-1)),my={class:"card-content"},py=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),hy=d(()=>e.createElementVNode("span",null,"kts",-1)),_y={class:"card-content"},Ey=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),yy=d(()=>e.createElementVNode("span",null,"kts",-1)),Ny={class:"phase-analysis"},Vy={class:"card phase-card",style:{flex:"1"}},fy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),by={class:"main-content"},gy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),xy={class:"main-content"},ky={class:"card-content"},Dy=d(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),Cy=d(()=>e.createElementVNode("span",null,"mt",-1)),Sy={class:"card-content"},By=d(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),wy=d(()=>e.createElementVNode("span",null,"mt",-1)),Ay={class:"card-content"},Ty=d(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),Fy=d(()=>e.createElementVNode("span",null,"mt",-1)),Oy={class:"card-content"},Py=d(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),Ly=d(()=>e.createElementVNode("span",null,"mt",-1)),Wy={class:"card phase-card",style:{flex:"1"}},$y=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),Hy={class:"main-content"},My=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),Iy={class:"main-content"},Gy={class:"card-content"},Ry=d(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),zy=d(()=>e.createElementVNode("span",null,"mt",-1)),Uy={class:"card-content"},Yy=d(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),Zy=d(()=>e.createElementVNode("span",null,"mt",-1)),Qy={class:"card-content"},Jy=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),Ky=d(()=>e.createElementVNode("span",null,"mt",-1)),jy={class:"card-content"},Xy=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),qy=d(()=>e.createElementVNode("span",null,"mt",-1)),uy={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},vy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),eN={class:"main-content"},tN={class:"card-content"},oN=d(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),lN={key:0},aN=d(()=>e.createElementVNode("span",null,"kts",-1)),nN={key:1},sN={class:"phase-card"},cN={class:"card",style:{flex:"1"}},iN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),dN={key:0,class:"main-content"},rN={key:0,class:"iconfont success"},mN={key:1,class:"iconfont error"},pN={key:1,class:"main-content"},hN={class:"nogwd"},_N={class:"card-content",style:{"justify-content":"flex-start"}},EN={key:0},yN={class:"equation"},NN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),VN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),fN={style:{width:"8%"}},bN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),gN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),xN={style:{width:"10%"}},kN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),DN={class:"equation"},CN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),SN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),BN={style:{width:"8%"}},wN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),AN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),TN={style:{width:"10%"}},FN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),ON={class:"equation"},PN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),LN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),WN={style:{width:"8%"}},$N=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),HN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),MN={style:{width:"10%"}},IN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),GN={class:"phase-card"},RN={class:"card",style:{flex:"1"}},zN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),UN={key:0,class:"main-content"},YN={key:0,class:"iconfont success"},ZN={key:1,class:"iconfont error"},QN={key:1,class:"main-content"},JN={class:"nogwd"},KN={class:"card-content",style:{"justify-content":"flex-start"}},jN={key:0},XN={class:"equation"},qN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),uN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),vN={style:{width:"8%"}},eV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),oV={style:{width:"120px"}},lV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),aV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),nV={style:{width:"10%"}},sV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),cV={class:"equation"},iV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),dV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),rV={style:{width:"8%"}},mV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),pV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),hV={style:{width:"120px"}},_V=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),EV=d(()=>e.createElementVNode("div",null,"24",-1)),yV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),NV={style:{width:"10%"}},VV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),fV={class:"equation"},bV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),gV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),xV={style:{width:"8%"}},kV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),DV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),CV={style:{width:"120px"}},SV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),BV=d(()=>e.createElementVNode("div",null,"24",-1)),wV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),AV={style:{width:"10%"}},TV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),FV={key:0,class:"phase-card"},OV={class:"card",style:{flex:"1"}},PV=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),LV={key:0,class:"main-content"},WV={key:0,class:"iconfont success"},$V={key:1,class:"iconfont error"},HV={key:1,class:"main-content"},MV={class:"nogwd"},IV={class:"card-content",style:{"justify-content":"flex-start"}},GV={key:0},RV={class:"equation"},zV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),UV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),YV={style:{width:"8%"}},ZV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),QV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),JV={style:{width:"120px"}},KV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),jV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),XV={style:{width:"10%"}},qV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),uV={class:"equation"},vV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),ef=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),tf={style:{width:"8%"}},of=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),af={style:{width:"120px"}},nf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),sf=d(()=>e.createElementVNode("div",null,"24",-1)),cf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),df={style:{width:"10%"}},rf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),mf={class:"equation"},pf=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),hf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),_f={style:{width:"8%"}},Ef=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),yf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Nf={style:{width:"120px"}},Vf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ff=d(()=>e.createElementVNode("div",null,"24",-1)),bf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),gf={style:{width:"10%"}},xf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),kf=d(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),Df={class:"formular dashed",style:{"page-break-inside":"avoid"}},Cf={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},Sf=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),Bf={class:""},wf={class:"equation"},Af=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),Tf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Ff={style:{width:"50%"},class:"fraction"},Of=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Pf=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Lf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),Wf={class:"equation"},$f=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),Hf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Mf={style:{width:"50%"},class:"fraction"},If=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Gf=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),Rf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),zf={class:"equation"},Uf=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),Yf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Zf={style:{width:"50%"},class:"fraction"},Qf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Jf=d(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),Kf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),jf=d(()=>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)),Xf={class:"flexL formular-item",style:{"margin-left":"20px"}},qf=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),uf={class:""},vf={class:"equation"},e0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),t0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),o0={style:{width:"25%"},class:"fraction"},l0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),a0=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),n0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),s0=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)),c0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),i0={class:"equation"},d0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),r0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),m0={style:{width:"25%"},class:"fraction"},p0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),h0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),_0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),E0=d(()=>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)),y0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),N0={class:"equation"},V0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),f0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),b0={style:{width:"25%"},class:"fraction"},g0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),x0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),k0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),D0=d(()=>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)),C0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),S0=d(()=>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)),B0=d(()=>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 w0(o,s,t,r,a,n){var E,c,p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,X,v,ee,te,oe,le,ce,ie,de,_e,q,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,Ke,je,Xe,A,Se,Ge,qe,ue,ve,et,tt;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((c=(E=t.reportData)==null?void 0:E.weather)!=null&&c.referenceOnly?"watermark":"")},[rh,e.createElementVNode("div",mh,[ph,e.createElementVNode("div",hh,[e.createElementVNode("div",_h,[e.createElementVNode("div",Eh,[yh,e.createElementVNode("div",Nh,e.toDisplayString((p=t.reportData)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",Vh,[fh,e.createElementVNode("div",bh,e.toDisplayString((g=(b=t.reportData)==null?void 0:b.vessel)==null?void 0:g.name),1)]),e.createElementVNode("div",gh,[xh,e.createElementVNode("div",kh,e.toDisplayString(a.date),1)])]),e.createElementVNode("div",Dh,[e.createElementVNode("div",Ch,[Sh,e.createElementVNode("div",Bh,e.toDisplayString(((N=(h=t.reportData)==null?void 0:h.departure)==null?void 0:N.portName)||n.computedLngLat((x=(D=t.reportData)==null?void 0:D.departure)==null?void 0:x.lat,(k=(C=t.reportData)==null?void 0:C.departure)==null?void 0:k.lng)),1),e.createElementVNode("div",wh,e.toDisplayString(n.computedTime((F=(T=t.reportData)==null?void 0:T.departure)==null?void 0:F.utcTime,"table")),1)]),e.createElementVNode("div",Ah,[Th,e.createElementVNode("div",Fh,e.toDisplayString(((w=(B=t.reportData)==null?void 0:B.arrival)==null?void 0:w.portName)||n.computedLngLat((O=(f=t.reportData)==null?void 0:f.arrival)==null?void 0:O.lat,(G=(I=t.reportData)==null?void 0:I.arrival)==null?void 0:G.lng)),1),e.createElementVNode("div",Oh,e.toDisplayString(n.computedTime((z=(R=t.reportData)==null?void 0:R.arrival)==null?void 0:z.utcTime,"table")),1)]),e.createElementVNode("div",Ph,[Lh,e.createElementVNode("div",Wh,e.toDisplayString((L=(_=t.reportData)==null?void 0:_.voyage)==null?void 0:L.loadCondition),1)])])]),$h,e.createElementVNode("div",Hh,[(W=(H=t.reportData)==null?void 0:H.weather)!=null&&W.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",Mh,"No specific thresholds in weather.")):(e.openBlock(),e.createElementBlock("div",Ih,[e.createElementVNode("div",Gh,[Rh,e.createElementVNode("div",zh,"BF "+e.toDisplayString(((M=(P=t.reportData)==null?void 0:P.weather)==null?void 0:M.windScale)||"-"),1)]),(U=(Q=t.reportData)==null?void 0:Q.weather)!=null&&U.waveSwitch?(e.openBlock(),e.createElementBlock("div",Uh,[Yh,e.createElementVNode("div",Zh,e.toDisplayString(((ne=(J=t.reportData)==null?void 0:J.weather)==null?void 0:ne.waveHeight)||"-")+" Meter",1)])):(l=(se=t.reportData)==null?void 0:se.weather)!=null&&l.swellSwitch?(e.openBlock(),e.createElementBlock("div",Qh,[Jh,e.createElementVNode("div",Kh,e.toDisplayString(((v=(X=t.reportData)==null?void 0:X.weather)==null?void 0:v.swellHeight)||"-")+" Meter",1)])):(te=(ee=t.reportData)==null?void 0:ee.weather)!=null&&te.sigSwitch?(e.openBlock(),e.createElementBlock("div",jh,[Xh,e.createElementVNode("div",qh,e.toDisplayString(((le=(oe=t.reportData)==null?void 0:oe.weather)==null?void 0:le.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(ie=(ce=t.reportData)==null?void 0:ce.weather)!=null&&ie.waveSwitch||(_e=(de=t.reportData)==null?void 0:de.weather)!=null&&_e.swellHeight||(me=(q=t.reportData)==null?void 0:q.weather)!=null&&me.sigSwitch?(e.openBlock(),e.createElementBlock("div",uh,[vh,e.createElementVNode("div",e1,e.toDisplayString((ye=(Ee=t.reportData)==null?void 0:Ee.weather)==null?void 0:ye.seaScale),1)])):e.createCommentVNode("",!0),(fe=(re=t.reportData)==null?void 0:re.weather)!=null&&fe.noAdverseCur?(e.openBlock(),e.createElementBlock("div",t1,o1)):e.createCommentVNode("",!0),(ge=(be=t.reportData)==null?void 0:be.weather)!=null&&ge.noExtrapolation?(e.openBlock(),e.createElementBlock("div",l1,a1)):e.createCommentVNode("",!0)])),e.createElementVNode("div",n1,[e.createElementVNode("table",s1,[c1,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.cpDetail,(m,$)=>(e.openBlock(),e.createElementBlock("tr",{key:$},[e.createElementVNode("td",null,e.toDisplayString(m==null?void 0:m.type),1),e.createElementVNode("td",null,e.toDisplayString(`${m==null?void 0:m.speed} | ${m==null?void 0:m.spdOfOver} , ${m.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${m==null?void 0:m.fo} | ${m==null?void 0:m.over} , ${m.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${m==null?void 0:m.dgo} | ${m==null?void 0:m.over} , ${m.under}`),1)]))),128))])])])]),i1,e.createElementVNode("div",d1,[((ke=(xe=t.reportData)==null?void 0:xe.segments)==null?void 0:ke.length)>1?(e.openBlock(),e.createElementBlock("div",r1,[m1,e.createElementVNode("div",p1,[e.createElementVNode("div",h1,[_1,e.createElementVNode("div",E1,[(Te=(De=t.reportData)==null?void 0:De.goodWx)!=null&&Te.avgSpd?(e.openBlock(),e.createElementBlock("div",y1,e.toDisplayString((Oe=(Fe=t.reportData)==null?void 0:Fe.goodWx)==null?void 0:Oe.avgSpd)+" kts",1)):(e.openBlock(),e.createElementBlock("div",N1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",V1,[f1,e.createElementVNode("div",b1,[(Le=(Pe=t.reportData)==null?void 0:Pe.goodWx)!=null&&Le.avgSpd?(e.openBlock(),e.createElementBlock("div",g1,e.toDisplayString(($e=(We=t.reportData)==null?void 0:We.goodWx)==null?void 0:$e.avgFoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",x1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",k1,[D1,e.createElementVNode("div",C1,[(Ne=(He=t.reportData)==null?void 0:He.goodWx)!=null&&Ne.avgSpd?(e.openBlock(),e.createElementBlock("div",S1,e.toDisplayString((je=(Ke=t.reportData)==null?void 0:Ke.goodWx)==null?void 0:je.avgDgoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",B1,e.toDisplayString(a.noGoodWxDay),1))])])]),e.createElementVNode("div",w1,[e.createElementVNode("div",A1,[T1,e.createElementVNode("div",F1,e.toDisplayString((A=(Xe=t.reportData)==null?void 0:Xe.allWx)==null?void 0:A.avgSpd)+" kts",1)]),e.createElementVNode("div",O1,[P1,e.createElementVNode("div",L1,e.toDisplayString((Ge=(Se=t.reportData)==null?void 0:Se.allWx)==null?void 0:Ge.avgFoEcaCons)+" mt",1)]),e.createElementVNode("div",W1,[$1,e.createElementVNode("div",H1,e.toDisplayString((ue=(qe=t.reportData)==null?void 0:qe.allWx)==null?void 0:ue.avgDgoEcaCons)+" mt",1)])]),M1])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ve=t.reportData)==null?void 0:ve.segments,(m,$)=>{var Be,Me,Re;return e.openBlock(),e.createElementBlock("div",{key:$,class:"summary-seg"},[e.createElementVNode("div",I1,[e.createElementVNode("div",G1,[R1,e.createElementVNode("span",null,"Phase "+e.toDisplayString($+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(pe,Ue)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Ue,class:e.normalizeClass(a.segDetail[$].length>1?"dashed":"")},[e.createElementVNode("div",z1,[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",U1,[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",Y1,[Z1,e.createElementVNode("div",null,[e.createElementVNode("span",Q1,e.toDisplayString(m.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",J1,[K1,(Be=m.goodWx)!=null&&Be.distance?(e.openBlock(),e.createElementBlock("div",j1,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",X1,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",q1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",u1,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",v1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedTimeConclusion(m.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).conclusion),1)])]),e.createElementVNode("div",e_,[t_,(Me=m.goodWx)!=null&&Me.distance?(e.openBlock(),e.createElementBlock("div",o_,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",l_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",a_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",n_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",s_,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",c_,[i_,(Re=m.goodWx)!=null&&Re.distance?(e.openBlock(),e.createElementBlock("div",d_,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",r_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",m_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",p_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",h_,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",__,[E_,e.createElementVNode("div",y_,[e.createElementVNode("div",N_,[V_,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((et=t.reportData)==null?void 0:et.segments,(m,$)=>(e.openBlock(),e.createElementBlock("div",{key:$,class:"remark-speed"},[e.createElementVNode("div",f_,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${$+1}. Phase ${$+1} Applied `)+" ",1),e.createElementVNode("span",b_,e.toDisplayString(m.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt ) ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(Be,Me)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Me},e.toDisplayString(`${Be.port1} (${Be.fullTime1}) to ${Be.port2} (${Be.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",g_,[x_,a.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",k_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.excludedTableData,(m,$)=>(e.openBlock(),e.createElementBlock("div",{key:$},e.toDisplayString(`From ${m.begin} to ${m.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",D_,e.toDisplayString(a.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((tt=t.reportData)==null?void 0:tt.segments,(m,$)=>{var Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo,S,Ie,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,Xt,qt,ut,vt,eo,to,oo,lo,yo,No,Vo,fo,bo,go,xo,ko,Do,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Ro,zo,Uo,Yo,Zo,Qo,Jo,Ko,jo,Xo,qo,uo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl;return e.openBlock(),e.createElementBlock("div",{key:$,class:"phase"},[e.createElementVNode("div",C_,[e.createElementVNode("div",S_,[e.createElementVNode("div",B_,[e.createElementVNode("div",w_,[A_,e.createElementVNode("span",null,"Phase "+e.toDisplayString($+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(st,pl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+pl,class:e.normalizeClass(a.segDetail[$].length>1?"dashed":"")},[e.createElementVNode("div",T_,[e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.port1),1),e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.time1),1)]),e.createElementVNode("div",F_,[e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.port2),1),e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.time2),1)])],2))),128)),e.createElementVNode("div",O_,[P_,e.createElementVNode("div",null,[e.createElementVNode("span",L_,e.toDisplayString(m.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt",1)])])])]),W_,e.createElementVNode("div",$_,[e.createElementVNode("div",H_,[M_,e.createElementVNode("div",I_,[e.createElementVNode("span",null,e.toDisplayString(((Be=m.goodWx)==null?void 0:Be.avgFoEcaCons)||"-")+" mt",1)]),G_,e.createElementVNode("div",R_,[e.createElementVNode("span",null,e.toDisplayString(((Me=m.allWx)==null?void 0:Me.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",z_,[U_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Re=m.goodWx)==null?void 0:Re.outEca.avgFoCons)||"-"),1),Y_])]),e.createElementVNode("div",Z_,[Q_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pe=m.goodWx)==null?void 0:pe.inEca.avgFoEcaCons)||"-"),1),J_])]),e.createElementVNode("div",K_,[j_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ue=m.allWx)==null?void 0:Ue.outEca.avgFoCons)||"-"),1),X_])]),e.createElementVNode("div",q_,[u_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ot=m.allWx)==null?void 0:ot.inEca.avgFoEcaCons)||"-"),1),v_])]),eE]),e.createElementVNode("div",tE,[oE,e.createElementVNode("div",lE,[e.createElementVNode("span",null,e.toDisplayString(((lt=m.goodWx)==null?void 0:lt.avgDgoEcaCons)||"-")+" mt",1)]),aE,e.createElementVNode("div",nE,[e.createElementVNode("span",null,e.toDisplayString(((dt=m.allWx)==null?void 0:dt.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",sE,[cE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((rt=m.goodWx)==null?void 0:rt.outEca.avgDgoCons)||"-"),1),iE])]),e.createElementVNode("div",dE,[rE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=m.goodWx)==null?void 0:mt.inEca.avgDgoEcaCons)||"-"),1),mE])]),e.createElementVNode("div",pE,[hE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=m.allWx)==null?void 0:pt.outEca.avgDgoCons)||"-"),1),_E])]),e.createElementVNode("div",EE,[yE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_t=m.allWx)==null?void 0:_t.inEca.avgDgoEcaCons)||"-"),1),NE])]),VE])]),e.createElementVNode("div",fE,[e.createElementVNode("div",bE,[gE,e.createElementVNode("div",xE,[e.createElementVNode("span",null,e.toDisplayString(((Et=m.goodWx)==null?void 0:Et.distance)||"-")+" nm",1)]),kE,e.createElementVNode("div",DE,[e.createElementVNode("span",null,e.toDisplayString(((yt=m.allWx)==null?void 0:yt.distance)||"-")+" nm",1)]),e.createElementVNode("div",CE,[SE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=m.goodWx)==null?void 0:Nt.outEca.distance)||"-"),1),BE])]),e.createElementVNode("div",wE,[AE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vt=m.goodWx)==null?void 0:Vt.inEca.distance)||"-"),1),TE])]),e.createElementVNode("div",FE,[OE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ft=m.allWx)==null?void 0:ft.outEca.distance)||"-"),1),PE])]),e.createElementVNode("div",LE,[WE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=m.allWx)==null?void 0:bt.inEca.distance)||"-"),1),$E])])]),e.createElementVNode("div",HE,[ME,e.createElementVNode("div",IE,[e.createElementVNode("span",null,e.toDisplayString(((gt=m.goodWx)==null?void 0:gt.time)||"-")+" hrs",1)]),GE,e.createElementVNode("div",RE,[e.createElementVNode("span",null,e.toDisplayString(((xt=m.allWx)==null?void 0:xt.time)||"-")+" hrs",1)]),e.createElementVNode("div",zE,[UE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((kt=m.goodWx)==null?void 0:kt.outEca.time)||"-"),1),YE])]),e.createElementVNode("div",ZE,[QE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=m.goodWx)==null?void 0:Dt.inEca.time)||"-"),1),JE])]),e.createElementVNode("div",KE,[jE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=m.allWx)==null?void 0:Ct.outEca.time)||"-"),1),XE])]),e.createElementVNode("div",qE,[uE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((St=m.allWx)==null?void 0:St.inEca.time)||"-"),1),vE])])]),e.createElementVNode("div",ey,[ty,e.createElementVNode("div",oy,[e.createElementVNode("span",null,e.toDisplayString(((Bt=m.goodWx)==null?void 0:Bt.avgSpd)||"-")+" kts",1)]),ly,e.createElementVNode("div",ay,[e.createElementVNode("span",null,e.toDisplayString(((wt=m.allWx)==null?void 0:wt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",ny,[sy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=m.goodWx)==null?void 0:At.outEca.avgSpd)||"-"),1),cy])]),e.createElementVNode("div",iy,[dy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Tt=m.goodWx)==null?void 0:Tt.inEca.avgSpd)||"-"),1),ry])]),e.createElementVNode("div",my,[py,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=m.allWx)==null?void 0:Ft.outEca.avgSpd)||"-"),1),hy])]),e.createElementVNode("div",_y,[Ey,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=m.allWx)==null?void 0:Ot.inEca.avgSpd)||"-"),1),yy])])])]),e.createElementVNode("div",Ny,[e.createElementVNode("div",Vy,[fy,e.createElementVNode("div",by,[e.createElementVNode("span",null,e.toDisplayString(((Pt=m.goodWx)==null?void 0:Pt.sumFoCons)||"-")+" mt",1)]),gy,e.createElementVNode("div",xy,[e.createElementVNode("span",null,e.toDisplayString(((no=m.allWx)==null?void 0:no.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",ky,[Dy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((so=m.goodWx)==null?void 0:so.outEca.sumFoCons)||"-"),1),Cy])]),e.createElementVNode("div",Sy,[By,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((co=m.goodWx)==null?void 0:co.inEca.sumFoCons)||"-"),1),wy])]),e.createElementVNode("div",Ay,[Ty,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((io=m.allWx)==null?void 0:io.outEca.sumFoCons)||"-"),1),Fy])]),e.createElementVNode("div",Oy,[Py,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ro=m.allWx)==null?void 0:ro.inEca.sumFoCons)||"-"),1),Ly])])]),e.createElementVNode("div",Wy,[$y,e.createElementVNode("div",Hy,[e.createElementVNode("span",null,e.toDisplayString(((mo=m.goodWx)==null?void 0:mo.sumDgoCons)||"-")+" mt",1)]),My,e.createElementVNode("div",Iy,[e.createElementVNode("span",null,e.toDisplayString(((po=m.allWx)==null?void 0:po.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",Gy,[Ry,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ho=m.goodWx)==null?void 0:ho.outEca.sumDgoCons)||"-"),1),zy])]),e.createElementVNode("div",Uy,[Yy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_o=m.goodWx)==null?void 0:_o.inEca.sumDgoCons)||"-"),1),Zy])]),e.createElementVNode("div",Qy,[Jy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Eo=m.allWx)==null?void 0:Eo.outEca.sumDgoCons)||"-"),1),Ky])]),e.createElementVNode("div",jy,[Xy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((S=m.allWx)==null?void 0:S.inEca.sumDgoCons)||"-"),1),qy])])]),e.createElementVNode("div",uy,[vy,e.createElementVNode("div",eN,[e.createElementVNode("span",null,e.toDisplayString(((Ie=m.goodWx)==null?void 0:Ie.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",tN,[oN,(at=m.goodWx)!=null&&at.distance&&!((ht=(nt=t.reportData)==null?void 0:nt.weather)!=null&&ht.favorableCur&&((Lt=m.goodWx)==null?void 0:Lt.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",lN,[e.createTextVNode(e.toDisplayString(n.computedPositive((Wt=m.goodWx)==null?void 0:Wt.avgCf)),1),aN])):(e.openBlock(),e.createElementBlock("b",nN,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",sN,[e.createElementVNode("div",cN,[iN,($t=m.goodWx)!=null&&$t.distance?(e.openBlock(),e.createElementBlock("div",dN,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",rN,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",mN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",pN,[e.createElementVNode("span",hN,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",_N,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedTimeConclusion(m.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Ht=m.goodWx)!=null&&Ht.distance?"":"analysis-none"} card analysis-card`)},[(Mt=m.goodWx)!=null&&Mt.distance?(e.openBlock(),e.createElementBlock("div",EN,[e.createElementVNode("div",yN,[NN,VN,e.createElementVNode("div",fN,[e.createElementVNode("div",null,e.toDisplayString((Gt=(It=t.reportData)==null?void 0:It.weather)!=null&&Gt.noExtrapolation?(Rt=m.goodWx)==null?void 0:Rt.distance:(zt=m.allWx)==null?void 0:zt.distance),1),bN,e.createElementVNode("div",null,e.toDisplayString((Ut=m.goodWx)==null?void 0:Ut.pfmSpd),1)]),gN,e.createElementVNode("div",xN,e.toDisplayString(m.timeConclusion.timeAtPfmSpd)+" Hrs",1),kN]),e.createElementVNode("div",DN,[CN,SN,e.createElementVNode("div",BN,[e.createElementVNode("div",null,e.toDisplayString((Zt=(Yt=t.reportData)==null?void 0:Yt.weather)!=null&&Zt.noExtrapolation?(Qt=m.goodWx)==null?void 0:Qt.distance:(Jt=m.allWx)==null?void 0:Jt.distance),1),wN,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),AN,e.createElementVNode("div",TN,e.toDisplayString(m.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),FN]),e.createElementVNode("div",ON,[PN,LN,e.createElementVNode("div",WN,[e.createElementVNode("div",null,e.toDisplayString((jt=(Kt=t.reportData)==null?void 0:Kt.weather)!=null&&jt.noExtrapolation?(Xt=m.goodWx)==null?void 0:Xt.distance:(qt=m.allWx)==null?void 0:qt.distance),1),$N,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.plusAbtSpd),1)]),HN,e.createElementVNode("div",MN,e.toDisplayString(m.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),IN])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",GN,[e.createElementVNode("div",RN,[zN,(ut=m.goodWx)!=null&&ut.distance?(e.openBlock(),e.createElementBlock("div",UN,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",YN,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",ZN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",QN,[e.createElementVNode("span",JN,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",KN,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(vt=m.goodWx)!=null&&vt.distance?"":"analysis-none"} card analysis-card`)},[(eo=m.goodWx)!=null&&eo.distance?(e.openBlock(),e.createElementBlock("div",jN,[e.createElementVNode("div",XN,[qN,uN,e.createElementVNode("div",vN,[e.createElementVNode("div",null,e.toDisplayString((oo=(to=t.reportData)==null?void 0:to.weather)!=null&&oo.noExtrapolation?(lo=m.goodWx)==null?void 0:lo.distance:(yo=m.allWx)==null?void 0:yo.distance),1),eV,e.createElementVNode("div",null,e.toDisplayString((No=m.goodWx)==null?void 0:No.pfmSpd),1)]),tV,e.createElementVNode("div",oV,[e.createElementVNode("div",null,e.toDisplayString((Vo=m.goodWx)==null?void 0:Vo.sumFoCons)+" "+e.toDisplayString(((fo=m.allWx)==null?void 0:fo.inEca.distance)>0?` + ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),lV,e.createElementVNode("div",null,e.toDisplayString((bo=m.goodWx)==null?void 0:bo.time),1)]),aV,e.createElementVNode("div",nV,e.toDisplayString(m.fuelConclusion.fo.entireCons)+" MT",1),sV]),e.createElementVNode("div",cV,[iV,dV,e.createElementVNode("div",rV,[e.createElementVNode("div",null,e.toDisplayString((xo=(go=t.reportData)==null?void 0:go.weather)!=null&&xo.noExtrapolation?(ko=m.goodWx)==null?void 0:ko.distance:(Do=m.allWx)==null?void 0:Do.distance),1),mV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),pV,e.createElementVNode("div",hV,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.overTolerance),1),_V,EV]),yV,e.createElementVNode("div",NV,e.toDisplayString(m.fuelConclusion.fo.maxCons)+" MT",1),VV]),e.createElementVNode("div",fV,[bV,gV,e.createElementVNode("div",xV,[e.createElementVNode("div",null,e.toDisplayString((So=(Co=t.reportData)==null?void 0:Co.weather)!=null&&So.noExtrapolation?(Bo=m.goodWx)==null?void 0:Bo.distance:(wo=m.allWx)==null?void 0:wo.distance),1),kV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),DV,e.createElementVNode("div",CV,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.underTolerance),1),SV,BV]),wV,e.createElementVNode("div",AV,e.toDisplayString(m.fuelConclusion.fo.minCons)+" MT",1),TV])])):e.createCommentVNode("",!0)],2)]),((To=(Ao=m==null?void 0:m.extend)==null?void 0:Ao.cp)==null?void 0:To.dgo)>0?(e.openBlock(),e.createElementBlock("div",FV,[e.createElementVNode("div",OV,[PV,(Fo=m.goodWx)!=null&&Fo.distance?(e.openBlock(),e.createElementBlock("div",LV,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",WV,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",$V,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",HV,[e.createElementVNode("span",MV,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",IV,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Oo=m.goodWx)!=null&&Oo.distance?"":"analysis-none"} card analysis-card`)},[(Po=m.goodWx)!=null&&Po.distance?(e.openBlock(),e.createElementBlock("div",GV,[e.createElementVNode("div",RV,[zV,UV,e.createElementVNode("div",YV,[e.createElementVNode("div",null,e.toDisplayString((Wo=(Lo=t.reportData)==null?void 0:Lo.weather)!=null&&Wo.noExtrapolation?($o=m.goodWx)==null?void 0:$o.distance:(Ho=m.allWx)==null?void 0:Ho.distance),1),ZV,e.createElementVNode("div",null,e.toDisplayString((Ro=m.goodWx)==null?void 0:Ro.pfmSpd),1)]),QV,e.createElementVNode("div",JV,[e.createElementVNode("div",null,e.toDisplayString((zo=m.goodWx)==null?void 0:zo.sumDgoCons)+" "+e.toDisplayString(((Uo=m.allWx)==null?void 0:Uo.inEca.distance)>0?` - ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),KV,e.createElementVNode("div",null,e.toDisplayString((Yo=m.goodWx)==null?void 0:Yo.time),1)]),jV,e.createElementVNode("div",XV,e.toDisplayString(m.fuelConclusion.dgo.entireCons)+" MT",1),qV]),e.createElementVNode("div",uV,[vV,ef,e.createElementVNode("div",tf,[e.createElementVNode("div",null,e.toDisplayString((Qo=(Zo=t.reportData)==null?void 0:Zo.weather)!=null&&Qo.noExtrapolation?(Jo=m.goodWx)==null?void 0:Jo.distance:(Ko=m.allWx)==null?void 0:Ko.distance),1),of,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),lf,e.createElementVNode("div",af,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.overTolerance),1),nf,sf]),cf,e.createElementVNode("div",df,e.toDisplayString(m.fuelConclusion.dgo.maxCons)+" MT",1),rf]),e.createElementVNode("div",mf,[pf,hf,e.createElementVNode("div",_f,[e.createElementVNode("div",null,e.toDisplayString((Xo=(jo=t.reportData)==null?void 0:jo.weather)!=null&&Xo.noExtrapolation?(qo=m.goodWx)==null?void 0:qo.distance:(uo=m.allWx)==null?void 0:uo.distance),1),Ef,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),yf,e.createElementVNode("div",Nf,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.underTolerance),1),Vf,ff]),bf,e.createElementVNode("div",gf,e.toDisplayString(m.fuelConclusion.dgo.minCons)+" MT",1),xf])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),kf,e.createElementVNode("div",Df,[e.createElementVNode("div",Cf,[Sf,e.createElementVNode("div",Bf,[e.createElementVNode("div",wf,[Af,Tf,e.createElementVNode("div",Ff,[e.createElementVNode("div",null,e.toDisplayString((el=(vo=t.reportData)==null?void 0:vo.weather)!=null&&el.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Of,Pf]),Lf]),e.createElementVNode("div",Wf,[$f,Hf,e.createElementVNode("div",Mf,[e.createElementVNode("div",null,e.toDisplayString((ol=(tl=t.reportData)==null?void 0:tl.weather)!=null&&ol.noExtrapolation?"Good Weather Distance":"Total Distance"),1),If,Gf]),Rf]),e.createElementVNode("div",zf,[Uf,Yf,e.createElementVNode("div",Zf,[e.createElementVNode("div",null,e.toDisplayString((al=(ll=t.reportData)==null?void 0:ll.weather)!=null&&al.noExtrapolation?"Good Weather Distance":"Total Distance"),1),Qf,Jf]),Kf]),jf])]),e.createElementVNode("div",Xf,[qf,e.createElementVNode("div",uf,[e.createElementVNode("div",vf,[e0,t0,e.createElementVNode("div",o0,[e.createElementVNode("div",null,e.toDisplayString((sl=(nl=t.reportData)==null?void 0:nl.weather)!=null&&sl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),l0,a0]),n0,s0,c0]),e.createElementVNode("div",i0,[d0,r0,e.createElementVNode("div",m0,[e.createElementVNode("div",null,e.toDisplayString((il=(cl=t.reportData)==null?void 0:cl.weather)!=null&&il.noExtrapolation?"Good Weather Distance":"Total Distance"),1),p0,h0]),_0,E0,y0]),e.createElementVNode("div",N0,[V0,f0,e.createElementVNode("div",b0,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=t.reportData)==null?void 0:dl.weather)!=null&&rl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),g0,x0]),k0,D0,C0]),S0,B0])])])])])}),128))])],2)}const A0=Ce(dh,[["render",w0],["__scopeId","data-v-b0ef3073"]]),WY="",T0={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let o=11;return this.showCF||(o=o-2),this.showAisDistance||(o=o-2),o},computedClass(){return function(o,s,t,r){var E;let a="";const n=((E=this.summaryTable)==null?void 0:E.length)-1;return t&&s!==n&&(a=o.abbreviation==="A"||o.abbreviation==="B"?"td-no-bottom":""),(o==null?void 0:o.goodWx)===!0&&!r&&(a=a+" good-weather"),(o==null?void 0:o.excluded)===!0&&!r&&(a=a+" excluded"),a}},computedSegClass(){return function(o,s){var r,a;const t=((r=this.summaryTable)==null?void 0:r.length)-1;if(t>-1){if(o.isFirstSeg&&s!==t)return"td-no-bottom td-top";if((a=this.summaryTable[s+1])!=null&&a.isFirstSeg)return"td-bottom";if(s!==t)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(o){var s;return!((o.abbreviation==="E"||o.abbreviation==="B")&&o.noon&&(s=o.noon)!=null&&s.port)}},computedTime(){return function(o,s){return s==="subtitle"?j(o).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?j(o).utc().format("MMMM-DD/HHmm[Z]"):j(o).utc().format("dddd, MMMM D, YYYY")}}},watch:{reportData:{handler(o,s){o!=null&&o.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},mounted(){},methods:{getLonLat(o){return`${o.degree}°${ae.LngLatHelper.roundPrecision(o.minute,1)}′${o.direction}`},checkData(){var r,a,n,E;this.showCF=(a=(r=this.reportData)==null?void 0:r.weather)==null?void 0:a.showCF,this.showAisDistance=!0;let o=[];(E=(n=this.reportData)==null?void 0:n.segments)==null||E.forEach((c,p)=>{let b=c.extend.cp;c.inventory.sample.hours.forEach((g,h)=>{let N=JSON.parse(JSON.stringify(g));N.cp=b,o.push(N)})}),o.sort(function(c,p){let b=c.date,g=p.date;return b-g});let s="",t="";o.forEach((c,p)=>{c.seg!==s&&(c.isFirstSeg=!0,s=c.seg);let b=c.type.charAt(0);c.abbreviation=b;const g=j(c.utc).utc().format("D-MMM");g!==t&&(c.lastdate=g,t=g),b==="A"?c.type="":b==="M"&&(c.type="*"),c.time=j(c.utc).utc().format("HH:mm[Z]"),c.lngPretty=this.getLonLat(ae.LngLatHelper.lng2pretty(c.lng)),c.latPretty=this.getLonLat(ae.LngLatHelper.lat2pretty(c.lat))}),this.summaryTable=o}}},Xa=o=>(e.pushScopeId("data-v-ec7ec0f5"),o=o(),e.popScopeId(),o),F0=Xa(()=>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)),O0={id:"second-table",class:"table"},P0={class:"summary-table"},L0=Xa(()=>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)),W0={class:"summary-tbody"},$0=e.createStaticVNode('<div style="page-break-inside:avoid;" class="table-legend dashed" data-v-ec7ec0f5><div class="item" data-v-ec7ec0f5><div class="legend" data-v-ec7ec0f5><div class="legend-bg gwd" data-v-ec7ec0f5></div></div> Good Weather Days </div><div class="item" data-v-ec7ec0f5><div class="legend" data-v-ec7ec0f5><div class="legend-bg adverse" data-v-ec7ec0f5></div></div> Adverse Weather Days </div><div class="item" data-v-ec7ec0f5><div class="legend" data-v-ec7ec0f5><div class="legend-bg excluded" data-v-ec7ec0f5></div></div> Excluded Periods </div></div>',1),H0={class:"voyage-map",style:{"page-break-inside":"avoid"}},M0=Xa(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),I0=["src"],G0=e.createStaticVNode('<div class="legend-block" data-v-ec7ec0f5><div style="position:relative;left:-20px;" data-v-ec7ec0f5><div style="position:relative;display:inline-block;top:-12px;left:15px;transform:scale(0.95);" data-v-ec7ec0f5><div data-v-ec7ec0f5>7</div><br data-v-ec7ec0f5><div data-v-ec7ec0f5>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-ec7ec0f5></i><div style="display:inline-block;transform:scale(0.95);text-align:left;margin-left:5px;" data-v-ec7ec0f5> LEGEND: <br data-v-ec7ec0f5> Wind from NE(045) <br data-v-ec7ec0f5> Each barb = 10 kts <br data-v-ec7ec0f5> 1/2 barb = 5 kts <br data-v-ec7ec0f5></div></div><div style="transform:scale(0.95);" data-v-ec7ec0f5> 7 - DAY OF THE MONTH <br data-v-ec7ec0f5> W 4 - PRIMARY WAVE FROM WEST, 4 METERS<br data-v-ec7ec0f5><div class="goodWx" data-v-ec7ec0f5>Date</div> Good weather days<br data-v-ec7ec0f5></div></div>',1);function R0(o,s,t,r,a,n){var E,c,p,b,g;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((c=(E=t.reportData)==null?void 0:E.weather)!=null&&c.referenceOnly||(b=(p=t.reportData)==null?void 0:p.weather)!=null&&b.overallAsGoodWx?"watermark fli-main":"fli-main")},[F0,e.createElementVNode("div",O0,[e.createElementVNode("div",null,[e.createElementVNode("table",P0,[L0,e.createElementVNode("tbody",W0,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.summaryTable,(h,N)=>{var D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U;return e.openBlock(),e.createElementBlock("tr",{key:N},[e.createElementVNode("td",{class:e.normalizeClass(n.computedSegClass(h,N))},e.toDisplayString(h.isFirstSeg?h.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.type),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.time),3),n.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.latPretty),3)):e.createCommentVNode("",!0),n.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString((D=h.noon)==null?void 0:D.port),3)),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(x=h.cp)==null?void 0:x.speed),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0))},e.toDisplayString(h.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0))},e.toDisplayString(h.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(n.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(n.computedClass(h,N))},e.toDisplayString(((B=(F=(T=h.meteo)==null?void 0:T.wave)==null?void 0:F.swell)==null?void 0:B.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((O=(f=(w=h.meteo)==null?void 0:w.wave)==null?void 0:f.swell)==null?void 0:O.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((R=(G=(I=h.meteo)==null?void 0:I.wave)==null?void 0:G.sig)==null?void 0:R.height)??"--"),3),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((z=h.meteo)==null?void 0:z.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":h.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((_=h.noon)==null?void 0:_.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((L=h.noon)==null?void 0:L.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(H=h.cp)==null?void 0:H.fo),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(W=h.cp)==null?void 0:W.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((P=h.noon)==null?void 0:P.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((M=h.noon)==null?void 0:M.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":(Q=h.noon)==null?void 0:Q.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":(U=h.noon)==null?void 0:U.dgoBrob),3)])}),128))])])])]),$0,e.createElementVNode("div",H0,[M0,e.createElementVNode("img",{style:{width:"100%"},src:(g=t.reportData)==null?void 0:g.chartUrl,alt:""},null,8,I0),G0])],2)}const z0=Ce(T0,[["render",R0],["__scopeId","data-v-ec7ec0f5"]]),$Y="",U0={components:{Summary:A0,Inventory:z0},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(o,s){o!=null&&o.id&&this.$nextTick(()=>{this.reportData=o})},immediate:!0}},methods:{commit(o){this.$emit("commit",o)}}},Y0={class:"voyage-report"};function Z0(o,s,t,r,a,n){const E=e.resolveComponent("Summary"),c=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",Y0,[e.createVNode(E,{"report-data":a.reportData,class:"main","editor-disabled":t.editorDisabled,onCommit:n.commit},null,8,["report-data","editor-disabled","onCommit"]),e.createVNode(c,{"is-admin":t.isAdmin,"report-data":a.reportData,class:"main"},null,8,["is-admin","report-data"])])}const ln=Ce(U0,[["render",Z0],["__scopeId","data-v-77dca605"]]),HY="",Q0={name:"OrmVoyageSummary",components:{Lng:Wa,Lat:$a,Editor:Go},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:""}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${j(o).utc().format(s)}`}},computeWeatherDef(){return function(o){let s="";o!=null&&o.waveSwitch?s+=`Wind wave height is ${o==null?void 0:o.waveHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`:o!=null&&o.swellSwitch?s+=`Swell height is ${o==null?void 0:o.swellHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`:o!=null&&o.sigSwitch&&(s+=`Significant wave height is ${o==null?void 0:o.sigHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`);let t=`Winds are BF/${o==null?void 0:o.windScale} or less, ${s}`;return o!=null&&o.noAdverseCur&&(t+=", No Adverse Current"),o!=null&&o.waterTempSwitch&&(t+=`, water temperature is ${o==null?void 0:o.waterTemp} °C or less`),o!=null&&o.noExtrapolation&&(t+=", No Extrapolation"),o!=null&&o.overallAsGoodWx&&(t="No specific thresholds for wind/wave/currents are defined in the Charter Party.",o.disableWxFactor&&o.disableCFactor?t+=" Both Wx Factor and Current Factor are ignored.":o.disableWxFactor?t+=" Wx Factor is ignored.":o.disableCFactor&&(t+=" Current Factor is ignored."),t+=" Therefore the Good Weather Definition in this reports does not apply any thresholds."),t}},computeLng(){return function(o){return ae.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return ae.LngLatHelper.lat2pretty(o)}},computeAbtSpeed(){return function(o,s,t){return t==="Over"?o.abt4SpdOver:o.abt4SpdUnder}},computeAbtCons(){return function(o,s){return o.consPercentage?s==="Over"?`${o.consOfOver}%`:`${o.consOfUnder}%`:s==="Over"?`${o.consOfOver}`:`${o.consOfUnder}`}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(o,s){o!=null&&o.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var o,s;this.remarks=this.report.remarks||"Please double click to modify remark",this.exclusion=[],(s=(o=this.report)==null?void 0:o.segments)==null||s.forEach((t,r)=>{const a=t.excluded;a.sumDistance>0&&a.detail.forEach(n=>{const E={time:j(n.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+j(n.end).utc().format("MMM-DD/HHmm[Z]"),duration:n.duration,distance:n.distance,fo:n.foCons,dgo:n.dgoCons};this.exclusion.push(E)})})},handleCommit(o){this.editable=!1,this.$emit("commit",o)},handleEdit(){this.editable=!0}}},i=o=>(e.pushScopeId("data-v-f248d7fb"),o=o(),e.popScopeId(),o),J0={class:"report-summary"},K0={class:"section voyage-section flex-space"},j0={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},X0={class:"flex-space label-block",style:{width:"100%"}},q0=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),u0={style:{"text-transform":"uppercase"}},v0={class:"flex-space label-block",style:{width:"100%"}},e2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),t2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},o2={class:"flex-space label-block",style:{width:"100%"}},l2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),a2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},n2={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},s2={class:"flex-space label-block",style:{width:"100%"}},c2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),i2={key:0,class:"flex-end",style:{flex:"1"}},d2={key:1,class:"flex-end",style:{flex:"1"}},r2=i(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),m2={class:"flex-end",style:{width:"150px"}},p2={class:"flex-space label-block",style:{width:"100%"}},h2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),_2={key:0,class:"flex-end",style:{flex:"1"}},E2={key:1,class:"flex-end",style:{flex:"1"}},y2=i(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),N2={class:"flex-end",style:{width:"150px"}},V2={class:"flex-space label-block",style:{width:"100%"}},f2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),b2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},g2={class:"section weather-section"},x2=i(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),k2={class:"definition"},D2={class:"txt"},C2={class:"section summary-section"},S2=i(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),B2={class:"phase-box"},w2={class:"phase-index"},A2={class:"phase-position"},T2={key:0},F2={key:1},O2=i(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),P2={class:"phase-position"},L2={key:0},W2={key:1},$2=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),H2={class:"phase-cp flex-space"},M2={class:"cp-box"},I2=i(()=>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)),G2={class:"flex-space"},R2=i(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),z2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),U2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),Y2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),Z2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),Q2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),J2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),K2=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),j2={class:"phase-conclusion flex-space"},X2={class:"item-conclusion"},q2=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),u2={class:"value flex-start"},v2=i(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),eb={key:0,class:"label flex-end"},tb={key:0},ob={key:1},lb={key:2},ab={key:1,class:"label flex-end"},nb={key:2,class:"value flex-end"},sb={key:0},cb=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),ib={class:"gain"},db=i(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),rb={key:1},mb=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),pb={class:"lost"},hb=i(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),_b={key:2},Eb={class:"item-conclusion"},yb=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),Nb={class:"value flex-start"},Vb=i(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),fb={key:0,class:"label flex-end"},bb={key:0},gb={key:1},xb={key:2},kb={key:1,class:"label flex-end"},Db={key:2,class:"value flex-end"},Cb={key:0},Sb=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Bb={class:"gain"},wb=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Ab={key:1},Tb=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Fb={class:"lost"},Ob=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Pb={key:2},Lb={class:"item-conclusion"},Wb=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),$b={class:"value flex-start"},Hb=i(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),Mb={key:0,class:"label flex-end"},Ib={key:0},Gb={key:1},Rb={key:2},zb={key:1,class:"label flex-end"},Ub={key:2,class:"value flex-end"},Yb={key:0},Zb=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Qb={class:"gain"},Jb=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Kb={key:1},jb=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Xb={class:"lost"},qb=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),ub={key:2},vb=i(()=>e.createElementVNode("div",{class:"tips flex-end"},"*Please see voyage analysis pages for the details.",-1)),eg=i(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),tg={key:0,class:"exclusion-block"},og=i(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),lg=i(()=>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)),ag={style:{margin:"8px 0"}},ng={class:"remark-table"},sg=i(()=>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)),cg=["innerHTML"],ig={class:"section segment-section"},dg=i(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),rg={class:"segment-index flex-center"},mg={class:"segment-position"},pg={key:0},hg={key:1},_g=i(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),Eg={class:"segment-position"},yg={key:0},Ng={key:1},Vg=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),fg={style:{margin:"10px 0 0"}},bg=i(()=>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)),gg=i(()=>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)),xg=i(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),kg={class:"good-wx"},Dg={class:"good-wx"},Cg=i(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),Sg={class:"good-wx"},Bg={class:"good-wx"},wg=i(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),Ag={class:"good-wx"},Tg={class:"good-wx"},Fg=i(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),Og={class:"good-wx"},Pg={class:"good-wx"},Lg=i(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),Wg={class:"good-wx"},$g={class:"good-wx"},Hg=i(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),Mg={class:"good-wx"},Ig={class:"good-wx"},Gg=i(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),Rg={class:"good-wx"},zg={class:"good-wx"},Ug={key:0,class:"flex-end tip"},Yg={key:1,class:"segment-speed"},Zg={class:"flex-center"},Qg=i(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Jg={class:"speed-right flex-space"},Kg=i(()=>e.createElementVNode("span",null,"-",-1)),jg=i(()=>e.createElementVNode("label",null,"=",-1)),Xg={class:"speed"},qg={key:1,class:"speed"},ug={key:0,class:"speed"},vg=i(()=>e.createElementVNode("span",null,"-",-1)),ex=i(()=>e.createElementVNode("label",null,"=",-1)),tx={class:"speed"},ox=i(()=>e.createElementVNode("span",null,"-",-1)),lx=i(()=>e.createElementVNode("label",null,"=",-1)),ax={class:"speed"},nx=i(()=>e.createElementVNode("span",null,"-",-1)),sx=i(()=>e.createElementVNode("span",null,"-",-1)),cx=i(()=>e.createElementVNode("label",null,"=",-1)),ix={class:"speed"},dx={key:2,class:"under"},rx={key:3,class:"over"},mx={class:"flex-center"},px=i(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),hx={class:"speed-right formula flex-space"},_x=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Ex=i(()=>e.createElementVNode("label",null,"-",-1)),yx=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Nx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Vx=i(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),fx={key:0},bx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),gx=i(()=>e.createElementVNode("label",null,"-",-1)),xx=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),kx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Dx=i(()=>e.createElementVNode("label",null,"-",-1)),Cx=i(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Sx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Bx=i(()=>e.createElementVNode("label",null,"-",-1)),wx=i(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Ax=i(()=>e.createElementVNode("label",null,"-",-1)),Tx=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Fx={key:2,class:"segment-speed"},Ox={class:"flex-center"},Px=i(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Lx={class:"speed-right flex-space"},Wx=i(()=>e.createElementVNode("span",null,"-",-1)),$x=i(()=>e.createElementVNode("span",null,"-",-1)),Hx=i(()=>e.createElementVNode("label",null,"=",-1)),Mx={class:"speed"},Ix=i(()=>e.createElementVNode("span",null,"-",-1)),Gx=i(()=>e.createElementVNode("label",null,"=",-1)),Rx={class:"speed"},zx={key:2,class:"under"},Ux={key:3,class:"over"},Yx={class:"flex-center"},Zx=i(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Qx={class:"speed-right formula flex-space"},Jx=i(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),Kx=i(()=>e.createElementVNode("label",null,"-",-1)),jx=i(()=>e.createElementVNode("label",null,"Current Factor",-1)),Xx=i(()=>e.createElementVNode("label",null,"-",-1)),qx=i(()=>e.createElementVNode("label",null,"Weather Factor",-1)),ux=i(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),vx=i(()=>e.createElementVNode("label",null,"-",-1)),ek=i(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),tk=i(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),ok=i(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),lk={class:"segment-formula"},ak={class:"header-block flex-start"},nk=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),sk={class:"title"},ck={key:0,style:{"margin-left":"4px","font-weight":"300"}},ik={class:"formula-block"},dk={class:"flex-evenly"},rk=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),mk={class:"formula-right flex-evenly"},pk={class:"fraction",style:{width:"240px"}},hk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),_k=i(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Ek=i(()=>e.createElementVNode("div",null,"(a)",-1)),yk={class:"flex-center"},Nk={class:"formula-left flex-space"},Vk=i(()=>e.createElementVNode("label",null,"=",-1)),fk={class:"formula-right flex-evenly"},bk={class:"fraction",style:{width:"240px"}},gk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),xk=i(()=>e.createElementVNode("div",null,"(b)",-1)),kk={class:"flex-center"},Dk={class:"formula-left flex-space"},Ck=i(()=>e.createElementVNode("label",null,"=",-1)),Sk={class:"formula-right flex-evenly"},Bk={class:"fraction",style:{width:"240px"}},wk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),Ak=i(()=>e.createElementVNode("div",null,"(c)",-1)),Tk=e.createStaticVNode('<div class="flex-start" data-v-f248d7fb><div class="flex-space" style="width:300px;font-weight:400;" data-v-f248d7fb><label data-v-f248d7fb>Time Lost</label><div data-v-f248d7fb>=</div><div data-v-f248d7fb>(a)</div><div data-v-f248d7fb>-</div><div data-v-f248d7fb>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-f248d7fb><label data-v-f248d7fb>Time Gained</label><div data-v-f248d7fb>=</div><div data-v-f248d7fb>(c)</div><div data-v-f248d7fb>-</div><div data-v-f248d7fb>(a)</div></div></div>',1),Fk={class:"formula-desc"},Ok={class:"flex-end"},Pk=i(()=>e.createElementVNode("label",null,"Time Lost",-1)),Lk={class:"flex-end"},Wk=i(()=>e.createElementVNode("label",null,"Time Gained",-1)),$k={class:"flex-end"},Hk=i(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),Mk={key:0,class:"formula-block",style:{"font-weight":"400"}},Ik={class:"flex-evenly"},Gk=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Rk={class:"formula-right flex-evenly"},zk={class:"fraction",style:{width:"240px"}},Uk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),Yk=i(()=>e.createElementVNode("div",null,"=",-1)),Zk=i(()=>e.createElementVNode("div",null,"(a')",-1)),Qk={class:"flex-center"},Jk={class:"formula-left flex-space"},Kk=i(()=>e.createElementVNode("label",null,"=",-1)),jk={class:"formula-right flex-evenly"},Xk={class:"fraction",style:{width:"240px"}},qk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),uk=i(()=>e.createElementVNode("div",null,"=",-1)),vk=i(()=>e.createElementVNode("div",null,"(b')",-1)),e3={class:"flex-center"},t3={class:"formula-left flex-space"},o3=i(()=>e.createElementVNode("label",null,"=",-1)),l3={class:"formula-right flex-evenly"},a3={class:"fraction",style:{width:"240px"}},n3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),s3=i(()=>e.createElementVNode("div",null,"=",-1)),c3=i(()=>e.createElementVNode("div",null,"(c')",-1)),i3={class:"formula-conclusion",style:{"margin-bottom":"0"}},d3={key:0,class:"flex-evenly",style:{width:"500px"}},r3=i(()=>e.createElementVNode("div",null,"Time Lost",-1)),m3=i(()=>e.createElementVNode("div",null,"=",-1)),p3=i(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),h3=i(()=>e.createElementVNode("div",null,"=",-1)),_3=i(()=>e.createElementVNode("div",null,"-",-1)),E3=i(()=>e.createElementVNode("div",null,"=",-1)),y3={key:1,class:"flex-evenly",style:{width:"500px"}},N3=i(()=>e.createElementVNode("div",null,"Time Lost",-1)),V3=i(()=>e.createElementVNode("div",null,"=",-1)),f3=i(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),b3=i(()=>e.createElementVNode("div",null,"=",-1)),g3=i(()=>e.createElementVNode("div",null,"-",-1)),x3=i(()=>e.createElementVNode("div",null,"=",-1)),k3=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),D3={key:1,class:"formula-conclusion"},C3=i(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),S3={class:"segment-formula"},B3={class:"header-block flex-start"},w3=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),A3={class:"title"},T3={key:0,style:{"margin-left":"4px","font-weight":"300"}},F3={class:"formula-block"},O3={class:"flex-evenly"},P3=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),L3={class:"formula-right flex-evenly"},W3={class:"fraction",style:{width:"240px"}},$3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),H3=i(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),M3=i(()=>e.createElementVNode("div",null,"x",-1)),I3=i(()=>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)),G3=i(()=>e.createElementVNode("div",null,"(d)",-1)),R3={style:{"line-height":"1"}},z3=i(()=>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)),U3={key:0,class:"tips flex-end",style:{"font-size":"14px"}},Y3={class:"flex-center"},Z3=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),Q3={class:"formula-right flex-evenly"},J3={class:"fraction",style:{width:"240px"}},K3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),j3=i(()=>e.createElementVNode("div",null,"x",-1)),X3=i(()=>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)),q3=i(()=>e.createElementVNode("div",null,"(e)",-1)),u3={class:"flex-center"},v3=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),eD={class:"formula-right flex-evenly"},tD={class:"fraction",style:{width:"240px"}},oD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),lD=i(()=>e.createElementVNode("div",null,"x",-1)),aD=i(()=>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)),nD=i(()=>e.createElementVNode("div",null,"(f)",-1)),sD=e.createStaticVNode('<div class="flex-start" data-v-f248d7fb><div class="flex-space" style="width:300px;font-weight:400;" data-v-f248d7fb><label data-v-f248d7fb>Fuel Over-consumption</label><div data-v-f248d7fb>=</div><div data-v-f248d7fb>(d)</div><div data-v-f248d7fb>-</div><div data-v-f248d7fb>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-f248d7fb><label data-v-f248d7fb>Fuel Saving</label><div data-v-f248d7fb>=</div><div data-v-f248d7fb>(f)</div><div data-v-f248d7fb>-</div><div data-v-f248d7fb>(d)</div></div></div>',1),cD={class:"flex-center"},iD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),dD={class:"formula-right flex-evenly"},rD={class:"fraction",style:{width:"270px"}},mD=i(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),pD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),hD={class:"flex-center"},_D=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),ED={class:"formula-right flex-evenly"},yD={class:"fraction",style:{width:"270px"}},ND=i(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),VD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),fD=i(()=>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)),bD={class:"header-block flex-start",style:{"margin-top":"10px"}},gD=i(()=>e.createElementVNode("i",{class:"iconfont"}," ",-1)),xD={class:"title"},kD={key:0,class:"formula-block"},DD={key:0,class:"flex-evenly"},CD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"* Good Weather M/E DO/GO Cons. in ECA"),e.createElementVNode("label",null,"=")],-1)),SD={class:"formula-right flex-evenly"},BD={class:"fraction",style:{width:"60px"}},wD=i(()=>e.createElementVNode("div",null,"-",-1)),AD={class:"fraction",style:{width:"60px"}},TD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),FD=i(()=>e.createElementVNode("div",null,"24",-1)),OD=i(()=>e.createElementVNode("div",null,"*",-1)),PD=i(()=>e.createElementVNode("div",null,"=",-1)),LD={class:"flex-evenly"},WD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),$D={class:"formula-right flex-evenly"},HD={class:"fraction",style:{width:"240px"}},MD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),ID=i(()=>e.createElementVNode("div",null,"x",-1)),GD={class:"fraction",style:{width:"240px"}},RD={key:0},zD=i(()=>e.createElementVNode("span",null," + ",-1)),UD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),YD=i(()=>e.createElementVNode("div",null,"=",-1)),ZD=i(()=>e.createElementVNode("div",null,"(d')",-1)),QD={class:"flex-evenly"},JD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),KD={class:"formula-right flex-evenly"},jD={class:"fraction",style:{width:"240px"}},XD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),qD=i(()=>e.createElementVNode("div",null,"x",-1)),uD={class:"fraction",style:{width:"240px"}},vD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),eC=i(()=>e.createElementVNode("div",null,"24",-1)),tC=i(()=>e.createElementVNode("div",null,"=",-1)),oC=i(()=>e.createElementVNode("div",null,"(e')",-1)),lC={class:"flex-evenly"},aC=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),nC={class:"formula-right flex-evenly"},sC={class:"fraction",style:{width:"240px"}},cC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),iC=i(()=>e.createElementVNode("div",null,"x",-1)),dC={class:"fraction",style:{width:"240px"}},rC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),mC=i(()=>e.createElementVNode("div",null,"24",-1)),pC=i(()=>e.createElementVNode("div",null,"=",-1)),hC=i(()=>e.createElementVNode("div",null,"(f')",-1)),_C={class:"formula-conclusion",style:{"margin-bottom":"0"}},EC={class:"flex-evenly",style:{width:"500px"}},yC=i(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),NC=i(()=>e.createElementVNode("div",null,"=",-1)),VC=i(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),fC=i(()=>e.createElementVNode("div",null,"=",-1)),bC=i(()=>e.createElementVNode("div",null,"-",-1)),gC=i(()=>e.createElementVNode("div",null,"=",-1)),xC={key:0,class:"flex-evenly"},kC=i(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),DC=i(()=>e.createElementVNode("div",null,"=",-1)),CC={class:"fraction"},SC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),BC=i(()=>e.createElementVNode("div",null,"=",-1)),wC={class:"flex-evenly",style:{width:"700px"}},AC=i(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),TC=i(()=>e.createElementVNode("div",null,"=",-1)),FC=i(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),OC=i(()=>e.createElementVNode("div",null,"=",-1)),PC=i(()=>e.createElementVNode("div",null,"-",-1)),LC=i(()=>e.createElementVNode("div",null,"=",-1)),WC={key:0,class:"flex-evenly",style:{width:"500px"}},$C=i(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),HC=i(()=>e.createElementVNode("div",null,"=",-1)),MC={class:"fraction",style:{width:"140px"}},IC=i(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),GC=i(()=>e.createElementVNode("div",null,"=",-1)),RC=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),zC={key:1,class:"formula-conclusion"},UC={class:"header-block flex-end",style:{"margin-top":"10px"}},YC=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),ZC={class:"title"},QC={key:0,class:"formula-block"},JC={class:"flex-evenly"},KC=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),jC={class:"formula-right flex-evenly"},XC={class:"fraction",style:{width:"240px"}},qC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),uC=i(()=>e.createElementVNode("div",null,"x",-1)),vC={class:"fraction",style:{width:"240px"}},eS={key:0},tS=i(()=>e.createElementVNode("span",null," - ",-1)),oS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),lS=i(()=>e.createElementVNode("div",null,"=",-1)),aS=i(()=>e.createElementVNode("div",null,"(d'')",-1)),nS={class:"flex-evenly"},sS=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),cS={class:"formula-right flex-evenly"},iS={class:"fraction",style:{width:"240px"}},dS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),rS=i(()=>e.createElementVNode("div",null,"x",-1)),mS={class:"fraction",style:{width:"240px"}},pS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),hS=i(()=>e.createElementVNode("div",null,"24",-1)),_S=i(()=>e.createElementVNode("div",null,"=",-1)),ES=i(()=>e.createElementVNode("div",null,"(e'')",-1)),yS={class:"flex-evenly"},NS=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),VS={class:"formula-right flex-evenly"},fS={class:"fraction",style:{width:"240px"}},bS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),gS=i(()=>e.createElementVNode("div",null,"x",-1)),xS={class:"fraction",style:{width:"240px"}},kS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),DS=i(()=>e.createElementVNode("div",null,"24",-1)),CS=i(()=>e.createElementVNode("div",null,"=",-1)),SS=i(()=>e.createElementVNode("div",null,"(f'')",-1)),BS={class:"formula-conclusion",style:{"margin-bottom":"0"}},wS={key:0,class:"flex-evenly",style:{width:"500px"}},AS=i(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),TS=i(()=>e.createElementVNode("div",null,"=",-1)),FS=i(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),OS=i(()=>e.createElementVNode("div",null,"=",-1)),PS=i(()=>e.createElementVNode("div",null,"-",-1)),LS=i(()=>e.createElementVNode("div",null,"=",-1)),WS={key:1,class:"flex-evenly",style:{width:"700px"}},$S=i(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),HS=i(()=>e.createElementVNode("div",null,"=",-1)),MS=i(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),IS=i(()=>e.createElementVNode("div",null,"=",-1)),GS=i(()=>e.createElementVNode("div",null,"-",-1)),RS=i(()=>e.createElementVNode("div",null,"=",-1)),zS=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),US={key:1,class:"formula-conclusion"};function YS(o,s,t,r,a,n){var b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",J0,[e.createElementVNode("div",K0,[e.createElementVNode("div",j0,[e.createElementVNode("div",X0,[q0,e.createElementVNode("span",u0,e.toDisplayString(t.report.preparedFor),1)]),e.createElementVNode("div",v0,[e2,e.createElementVNode("span",t2,e.toDisplayString((g=(b=t.report)==null?void 0:b.vessel)==null?void 0:g.name)+" ("+e.toDisplayString((N=(h=t.report)==null?void 0:h.vessel)==null?void 0:N.type)+")",1)]),e.createElementVNode("div",o2,[l2,e.createElementVNode("span",a2,e.toDisplayString((x=(D=t.report)==null?void 0:D.voyage)==null?void 0:x.number),1)])]),e.createElementVNode("div",n2,[e.createElementVNode("div",s2,[c2,(k=(C=t.report)==null?void 0:C.departure)!=null&&k.portName?(e.openBlock(),e.createElementBlock("span",i2,e.toDisplayString((F=(T=t.report)==null?void 0:T.departure)==null?void 0:F.portName),1)):(e.openBlock(),e.createElementBlock("div",d2,[e.createVNode(E,{lat:(w=(B=t.report)==null?void 0:B.departure)==null?void 0:w.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),r2,e.createVNode(c,{lng:(f=t.report.departure)==null?void 0:f.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",m2,e.toDisplayString(n.computeUTCTime((O=t.report.departure)==null?void 0:O.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",p2,[h2,(G=(I=t.report)==null?void 0:I.arrival)!=null&&G.portName?(e.openBlock(),e.createElementBlock("span",_2,e.toDisplayString((z=(R=t.report)==null?void 0:R.arrival)==null?void 0:z.portName),1)):(e.openBlock(),e.createElementBlock("div",E2,[e.createVNode(E,{lat:(L=(_=t.report)==null?void 0:_.arrival)==null?void 0:L.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),y2,e.createVNode(c,{lng:(W=(H=t.report)==null?void 0:H.arrival)==null?void 0:W.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",N2,e.toDisplayString(n.computeUTCTime((M=(P=t.report)==null?void 0:P.arrival)==null?void 0:M.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",V2,[f2,e.createElementVNode("span",b2,e.toDisplayString((U=(Q=t.report)==null?void 0:Q.voyage)==null?void 0:U.loadCondition),1)])])]),e.createElementVNode("div",g2,[x2,e.createElementVNode("div",k2,[e.createElementVNode("div",D2,e.toDisplayString(n.computeWeatherDef(t.report.weather)),1)])]),e.createElementVNode("div",C2,[S2,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((J=t.report)==null?void 0:J.segments,(l,X)=>{var v,ee,te,oe,le,ce,ie,de,_e,q,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,Ke,je,Xe,A,Se,Ge,qe,ue,ve,et,tt,m;return e.openBlock(),e.createElementBlock("div",{key:"summary"+X,class:"segment-box flex-space"},[e.createElementVNode("div",B2,[e.createElementVNode("div",w2,"Seg."+e.toDisplayString(X+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((v=l==null?void 0:l.extend)==null?void 0:v.segTimes,($,Be)=>{var Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt;return e.openBlock(),e.createElementBlock("div",{key:Be,class:"phase-row flex-space"},[e.createElementVNode("div",A2,[(Me=$==null?void 0:$.departure)!=null&&Me.portName?(e.openBlock(),e.createElementBlock("span",T2,e.toDisplayString((Re=$==null?void 0:$.departure)==null?void 0:Re.portName),1)):(e.openBlock(),e.createElementBlock("span",F2,e.toDisplayString(n.computeLat((pe=$==null?void 0:$.departure)==null?void 0:pe.lat).pretty)+", "+e.toDisplayString(n.computeLng((Ue=$==null?void 0:$.departure)==null?void 0:Ue.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((ot=$==null?void 0:$.departure)==null?void 0:ot.utcTime))+")",1)]),O2,e.createElementVNode("div",P2,[(lt=$==null?void 0:$.arrival)!=null&<.portName?(e.openBlock(),e.createElementBlock("span",L2,e.toDisplayString((dt=$==null?void 0:$.arrival)==null?void 0:dt.portName),1)):(e.openBlock(),e.createElementBlock("span",W2,e.toDisplayString(n.computeLat((rt=$==null?void 0:$.arrival)==null?void 0:rt.lat).pretty)+", "+e.toDisplayString(n.computeLng((mt=$==null?void 0:$.arrival)==null?void 0:mt.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((pt=$==null?void 0:$.arrival)==null?void 0:pt.utcTime))+")",1)])])}),128)),$2,e.createElementVNode("div",H2,[e.createElementVNode("div",M2,[I2,e.createElementVNode("div",G2,[R2,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((te=(ee=l==null?void 0:l.extend)==null?void 0:ee.cp)==null?void 0:te.speed)+" |",1),e.createElementVNode("span",null,[z2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(le=(oe=l==null?void 0:l.extend)==null?void 0:oe.cp)==null?void 0:le.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[U2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(ie=(ce=l==null?void 0:l.extend)==null?void 0:ce.cp)==null?void 0:ie.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((_e=(de=l==null?void 0:l.extend)==null?void 0:de.cp)==null?void 0:_e.fo)+" |",1),e.createElementVNode("span",null,[Y2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[Z2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((me=(q=l==null?void 0:l.extend)==null?void 0:q.cp)==null?void 0:me.dgo)+" |",1),e.createElementVNode("span",null,[Q2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[J2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Under")),1)])])])])]),K2,e.createElementVNode("div",j2,[e.createElementVNode("div",X2,[q2,e.createElementVNode("div",u2,[e.createElementVNode("div",null,e.toDisplayString(l.allWx.time),1),v2]),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",eb,[((Ee=l==null?void 0:l.timeConclusion)==null?void 0:Ee.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",tb,"Time Gained")):((ye=l==null?void 0:l.timeConclusion)==null?void 0:ye.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",ob,"Time Lost")):(e.openBlock(),e.createElementBlock("div",lb,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",ab,e.toDisplayString(a.noGoodWxDay),1)),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",nb,[((re=l==null?void 0:l.timeConclusion)==null?void 0:re.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",sb,[cb,e.createElementVNode("span",ib,e.toDisplayString((fe=l==null?void 0:l.timeConclusion)==null?void 0:fe.timeGain),1),db])):((be=l==null?void 0:l.timeConclusion)==null?void 0:be.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",rb,[mb,e.createElementVNode("span",pb,e.toDisplayString((ge=l==null?void 0:l.timeConclusion)==null?void 0:ge.timeLost),1),hb])):(e.openBlock(),e.createElementBlock("div",_b,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Eb,[yb,e.createElementVNode("div",Nb,[e.createElementVNode("div",null,e.toDisplayString(l.allWx.sumFoCons),1),Vb]),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",fb,[((ke=(xe=l==null?void 0:l.fuelConclusion)==null?void 0:xe.fo)==null?void 0:ke.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",bb,"FO Saving")):((Te=(De=l==null?void 0:l.fuelConclusion)==null?void 0:De.fo)==null?void 0:Te.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",gb,"FO Over-consumption")):(e.openBlock(),e.createElementBlock("div",xb,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",kb,e.toDisplayString(a.noGoodWxDay),1)),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Db,[((Oe=(Fe=l==null?void 0:l.fuelConclusion)==null?void 0:Fe.fo)==null?void 0:Oe.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Cb,[Sb,e.createElementVNode("span",Bb,e.toDisplayString((Le=(Pe=l==null?void 0:l.fuelConclusion)==null?void 0:Pe.fo)==null?void 0:Le.saving),1),wb])):(($e=(We=l==null?void 0:l.fuelConclusion)==null?void 0:We.fo)==null?void 0:$e.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Ab,[Tb,e.createElementVNode("span",Fb,e.toDisplayString((Ne=(He=l==null?void 0:l.fuelConclusion)==null?void 0:He.fo)==null?void 0:Ne.overCons),1),Ob])):(e.openBlock(),e.createElementBlock("div",Pb,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Lb,[Wb,e.createElementVNode("div",$b,[e.createElementVNode("div",null,e.toDisplayString(l.allWx.sumDgoCons),1),Hb]),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Mb,[((je=(Ke=l==null?void 0:l.fuelConclusion)==null?void 0:Ke.dgo)==null?void 0:je.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Ib,"DO/GO Saving")):((A=(Xe=l==null?void 0:l.fuelConclusion)==null?void 0:Xe.dgo)==null?void 0:A.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Gb,"DO/GO Over-consumption")):(e.openBlock(),e.createElementBlock("div",Rb,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",zb,e.toDisplayString(a.noGoodWxDay),1)),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Ub,[((Ge=(Se=l==null?void 0:l.fuelConclusion)==null?void 0:Se.dgo)==null?void 0:Ge.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Yb,[Zb,e.createElementVNode("span",Qb,e.toDisplayString((ue=(qe=l==null?void 0:l.fuelConclusion)==null?void 0:qe.dgo)==null?void 0:ue.saving),1),Jb])):((et=(ve=l==null?void 0:l.fuelConclusion)==null?void 0:ve.dgo)==null?void 0:et.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Kb,[jb,e.createElementVNode("span",Xb,e.toDisplayString((m=(tt=l==null?void 0:l.fuelConclusion)==null?void 0:tt.dgo)==null?void 0:m.overCons),1),qb])):(e.openBlock(),e.createElementBlock("div",ub,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),vb]),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((ne=t.report)==null?void 0:ne.remarks)&&!a.exclusion.length?"section remark-section print-hidden":"section remark-section")},[eg,a.exclusion.length?(e.openBlock(),e.createElementBlock("div",tg,[og,lg,e.createElementVNode("div",ag,[e.createElementVNode("table",ng,[sg,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.exclusion,(l,X)=>(e.openBlock(),e.createElementBlock("tr",{key:X},[e.createElementVNode("td",null,e.toDisplayString(X+1),1),e.createElementVNode("td",null,e.toDisplayString(l.time),1),e.createElementVNode("td",null,e.toDisplayString(l.duration),1),e.createElementVNode("td",null,e.toDisplayString(l.distance),1),e.createElementVNode("td",null,e.toDisplayString(l.fo),1),e.createElementVNode("td",null,e.toDisplayString(l.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((se=t.report)==null?void 0:se.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[a.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=l=>a.remarks=l),class:"editor",height:"120px",onBlur:s[1]||(s[1]=l=>n.handleCommit(l))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[2]||(s[2]=(...l)=>n.handleEdit&&n.handleEdit(...l)),innerHTML:a.remarks},null,40,cg))],2)],2),e.createElementVNode("div",ig,[dg,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.report.segments,(l,X)=>{var v,ee,te,oe,le,ce,ie,de,_e,q,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,Ke,je,Xe,A,Se,Ge,qe,ue,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo,S,Ie,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,Xt,qt,ut,vt,eo,to,oo,lo,yo,No,Vo,fo,bo,go,xo,ko,Do,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Ro,zo,Uo,Yo,Zo,Qo,Jo,Ko,jo,Xo,qo,uo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl,st,pl,El,yl,Nl,Vl,fl,bl,gl,xl,kl,Dl,Cl,Sl,Bl,wl,Al,Tl,Fl,Ol,Pl,Ll,Wl,$l,Hl,Ml,Il,Gl,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,jl,Xl,ql,ul,vl,ea,ta,oa,la,aa,na,sa,ca,ia,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ba,ga,xa,Z,ao,ka,Da,Ca,Sa,Ba,wa,Aa,Ta,Qe,Ha,Ma,Ia,Ga,K,Mo,Ra,za,Ua,Ya,Za,Qa,Ja,Ka,ct,kn,Dn,Cn,Sn,Bn,wn,An,Tn,Fn,On,Pn,Ln,Wn,$n,Hn,Mn,In,Gn,Rn,zn,Un,Yn,Zn,Qn,Jn,Kn,jn,Xn,qn,un,vn,es,ts,os,ls,as,ns,ss,cs,is,ds,rs,ms,ps,hs,_s,Es,ys,Ns,Vs,fs,bs,gs,xs,ks,Ds,Cs,Ss,Bs,ws,As,Ts,Fs,Os,Ps,Ls,Ws,$s,Hs,Ms,Is,Gs,Rs,zs,Us,Ys,Zs,Qs,Js,Ks,js,Xs,qs,us,vs,ec,tc,oc,lc,ac,nc,sc,cc,ic,dc,rc,mc,pc,hc,_c,Ec,yc,Nc,Vc,fc,bc,gc,xc,kc,Dc,Cc;return e.openBlock(),e.createElementBlock("div",{key:X,class:"segment-block"},[e.createElementVNode("div",rg,"Voyage Analysis Seg. "+e.toDisplayString(X+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((v=l==null?void 0:l.extend)==null?void 0:v.segTimes,(we,yY)=>{var Sc,Bc,wc,Ac,Tc,Fc,Oc,Pc,Lc,Wc;return e.openBlock(),e.createElementBlock("div",{key:yY,class:"segment-row flex-space"},[e.createElementVNode("div",mg,[(Sc=we==null?void 0:we.departure)!=null&&Sc.portName?(e.openBlock(),e.createElementBlock("span",pg,e.toDisplayString((Bc=we==null?void 0:we.departure)==null?void 0:Bc.portName),1)):(e.openBlock(),e.createElementBlock("span",hg,e.toDisplayString(n.computeLat((wc=we==null?void 0:we.departure)==null?void 0:wc.lat).pretty)+", "+e.toDisplayString(n.computeLng((Ac=we==null?void 0:we.departure)==null?void 0:Ac.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Tc=we==null?void 0:we.departure)==null?void 0:Tc.utcTime))+")",1)]),_g,e.createElementVNode("div",Eg,[(Fc=we==null?void 0:we.arrival)!=null&&Fc.portName?(e.openBlock(),e.createElementBlock("span",yg,e.toDisplayString((Oc=we==null?void 0:we.arrival)==null?void 0:Oc.portName),1)):(e.openBlock(),e.createElementBlock("span",Ng,e.toDisplayString(n.computeLat((Pc=we==null?void 0:we.arrival)==null?void 0:Pc.lat).pretty)+", "+e.toDisplayString(n.computeLng((Lc=we==null?void 0:we.arrival)==null?void 0:Lc.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Wc=we==null?void 0:we.arrival)==null?void 0:Wc.utcTime))+")",1)])])}),128)),Vg,e.createElementVNode("div",fg,[e.createElementVNode("table",null,[bg,gg,e.createElementVNode("tr",null,[xg,e.createElementVNode("td",kg,e.toDisplayString((te=(ee=l==null?void 0:l.goodWx)==null?void 0:ee.outEca)==null?void 0:te.distance),1),e.createElementVNode("td",Dg,e.toDisplayString((le=(oe=l==null?void 0:l.goodWx)==null?void 0:oe.inEca)==null?void 0:le.distance),1),e.createElementVNode("td",null,e.toDisplayString((ie=(ce=l==null?void 0:l.allWx)==null?void 0:ce.outEca)==null?void 0:ie.distance),1),e.createElementVNode("td",null,e.toDisplayString((_e=(de=l==null?void 0:l.allWx)==null?void 0:de.inEca)==null?void 0:_e.distance),1)]),e.createElementVNode("tr",null,[Cg,e.createElementVNode("td",Sg,e.toDisplayString((me=(q=l==null?void 0:l.goodWx)==null?void 0:q.outEca)==null?void 0:me.time),1),e.createElementVNode("td",Bg,e.toDisplayString((ye=(Ee=l==null?void 0:l.goodWx)==null?void 0:Ee.inEca)==null?void 0:ye.time),1),e.createElementVNode("td",null,e.toDisplayString((fe=(re=l==null?void 0:l.allWx)==null?void 0:re.outEca)==null?void 0:fe.time),1),e.createElementVNode("td",null,e.toDisplayString((ge=(be=l==null?void 0:l.allWx)==null?void 0:be.inEca)==null?void 0:ge.time),1)]),e.createElementVNode("tr",null,[wg,e.createElementVNode("td",Ag,e.toDisplayString(((ke=(xe=l==null?void 0:l.goodWx)==null?void 0:xe.outEca)==null?void 0:ke.avgSpd)||"--"),1),e.createElementVNode("td",Tg,e.toDisplayString(((Te=(De=l==null?void 0:l.goodWx)==null?void 0:De.inEca)==null?void 0:Te.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Oe=(Fe=l==null?void 0:l.allWx)==null?void 0:Fe.outEca)==null?void 0:Oe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Le=(Pe=l==null?void 0:l.allWx)==null?void 0:Pe.inEca)==null?void 0:Le.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[Fg,e.createElementVNode("td",Og,e.toDisplayString((($e=(We=l==null?void 0:l.goodWx)==null?void 0:We.outEca)==null?void 0:$e.sumFoCons)||"--"),1),e.createElementVNode("td",Pg,e.toDisplayString(((Ne=(He=l==null?void 0:l.goodWx)==null?void 0:He.inEca)==null?void 0:Ne.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((je=(Ke=l==null?void 0:l.allWx)==null?void 0:Ke.outEca)==null?void 0:je.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((A=(Xe=l==null?void 0:l.allWx)==null?void 0:Xe.inEca)==null?void 0:A.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Lg,e.createElementVNode("td",Wg,e.toDisplayString(((Ge=(Se=l==null?void 0:l.goodWx)==null?void 0:Se.outEca)==null?void 0:Ge.avgFoCons)||"--"),1),e.createElementVNode("td",$g,e.toDisplayString(((ue=(qe=l==null?void 0:l.goodWx)==null?void 0:qe.inEca)==null?void 0:ue.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((et=(ve=l==null?void 0:l.allWx)==null?void 0:ve.outEca)==null?void 0:et.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(tt=l==null?void 0:l.allWx)==null?void 0:tt.inEca)==null?void 0:m.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Hg,e.createElementVNode("td",Mg,e.toDisplayString(((Be=($=l==null?void 0:l.goodWx)==null?void 0:$.outEca)==null?void 0:Be.sumDgoCons)||"--"),1),e.createElementVNode("td",Ig,e.toDisplayString(((Re=(Me=l==null?void 0:l.goodWx)==null?void 0:Me.inEca)==null?void 0:Re.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ue=(pe=l==null?void 0:l.allWx)==null?void 0:pe.outEca)==null?void 0:Ue.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((lt=(ot=l==null?void 0:l.allWx)==null?void 0:ot.inEca)==null?void 0:lt.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[Gg,e.createElementVNode("td",Rg,e.toDisplayString(((rt=(dt=l==null?void 0:l.goodWx)==null?void 0:dt.outEca)==null?void 0:rt.avgDgoCons)||"--"),1),e.createElementVNode("td",zg,e.toDisplayString(((pt=(mt=l==null?void 0:l.goodWx)==null?void 0:mt.inEca)==null?void 0:pt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Et=(_t=l==null?void 0:l.allWx)==null?void 0:_t.outEca)==null?void 0:Et.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Nt=(yt=l==null?void 0:l.allWx)==null?void 0:yt.inEca)==null?void 0:Nt.avgDgoCons)||"--"),1)])])]),(Vt=a.exclusion[X])!=null&&Vt.time?(e.openBlock(),e.createElementBlock("div",Ug,"*The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel.")):e.createCommentVNode("",!0),(ft=l==null?void 0:l.goodWx)!=null&&ft.distance?(e.openBlock(),e.createElementBlock("div",Yg,[e.createElementVNode("div",Zg,[Qg,e.createElementVNode("div",Jg,[(gt=(bt=t.report)==null?void 0:bt.weather)!=null&>.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Ot=(Ft=t.report)==null?void 0:Ft.weather)!=null&&Ot.disableWxFactor&&((no=(Pt=t.report)==null?void 0:Pt.weather)!=null&&no.disableCFactor)?(e.openBlock(),e.createElementBlock("span",ug,e.toDisplayString((so=l==null?void 0:l.goodWx)==null?void 0:so.pfmSpd)+" (kts)",1)):(io=(co=t.report)==null?void 0:co.weather)!=null&&io.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((ro=l==null?void 0:l.goodWx)==null?void 0:ro.avgSpd),1),vg,e.createElementVNode("span",null,e.toDisplayString(((mo=l==null?void 0:l.goodWx)==null?void 0:mo.avgCf)>0?(po=l==null?void 0:l.goodWx)==null?void 0:po.avgCf:`(${(ho=l==null?void 0:l.goodWx)==null?void 0:ho.avgCf})`),1),ex,e.createElementVNode("span",tx,e.toDisplayString((_o=l==null?void 0:l.goodWx)==null?void 0:_o.pfmSpd)+" (kts)",1)],64)):(S=(Eo=t.report)==null?void 0:Eo.weather)!=null&&S.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((Ie=l==null?void 0:l.goodWx)==null?void 0:Ie.avgSpd),1),ox,e.createElementVNode("span",null,e.toDisplayString(((at=l==null?void 0:l.goodWx)==null?void 0:at.avgWf)>0?(nt=l==null?void 0:l.goodWx)==null?void 0:nt.avgWf:`(${(ht=l==null?void 0:l.goodWx)==null?void 0:ht.avgWf})`),1),lx,e.createElementVNode("span",ax,e.toDisplayString((Lt=l==null?void 0:l.goodWx)==null?void 0:Lt.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString((Wt=l==null?void 0:l.goodWx)==null?void 0:Wt.avgSpd),1),nx,e.createElementVNode("span",null,e.toDisplayString((($t=l==null?void 0:l.goodWx)==null?void 0:$t.avgWf)>0?(Ht=l==null?void 0:l.goodWx)==null?void 0:Ht.avgWf:`(${(Mt=l==null?void 0:l.goodWx)==null?void 0:Mt.avgWf})`),1),sx,e.createElementVNode("span",null,e.toDisplayString(((It=l==null?void 0:l.goodWx)==null?void 0:It.avgCf)>0?(Gt=l==null?void 0:l.goodWx)==null?void 0:Gt.avgCf:`(${(Rt=l==null?void 0:l.goodWx)==null?void 0:Rt.avgCf})`),1),cx,e.createElementVNode("span",ix,e.toDisplayString((zt=l==null?void 0:l.goodWx)==null?void 0:zt.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(kt=(xt=t.report)==null?void 0:xt.weather)!=null&&kt.favorableCur&&((Dt=l==null?void 0:l.goodWx)==null?void 0:Dt.avgCf)>0?(e.openBlock(),e.createElementBlock("span",qg,e.toDisplayString((Tt=l==null?void 0:l.goodWx)==null?void 0:Tt.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((Ct=l==null?void 0:l.goodWx)==null?void 0:Ct.avgSpd),1),Kg,e.createElementVNode("span",null,e.toDisplayString(((St=l==null?void 0:l.goodWx)==null?void 0:St.avgCf)>0?(Bt=l==null?void 0:l.goodWx)==null?void 0:Bt.avgCf:`(${(wt=l==null?void 0:l.goodWx)==null?void 0:wt.avgCf})`),1),jg,e.createElementVNode("span",Xg,e.toDisplayString((At=l==null?void 0:l.goodWx)==null?void 0:At.pfmSpd)+" (kts)",1)],64))],64)),((Ut=l==null?void 0:l.goodWx)==null?void 0:Ut.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",dx,"(Under-performance)")):e.createCommentVNode("",!0),((Yt=l==null?void 0:l.goodWx)==null?void 0:Yt.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",rx,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",mx,[px,e.createElementVNode("div",hx,[(Qt=(Zt=t.report)==null?void 0:Zt.weather)!=null&&Qt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(qt=(Xt=t.report)==null?void 0:Xt.weather)!=null&&qt.disableWxFactor&&((vt=(ut=t.report)==null?void 0:ut.weather)!=null&&vt.disableCFactor)?(e.openBlock(),e.createElementBlock("label",fx,"GW Average Speed")):(to=(eo=t.report)==null?void 0:eo.weather)!=null&&to.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[bx,gx,xx],64)):(lo=(oo=t.report)==null?void 0:oo.weather)!=null&&lo.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[kx,Dx,Cx],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[Sx,Bx,wx,Ax,Tx],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Kt=(Jt=t.report)==null?void 0:Jt.weather)!=null&&Kt.favorableCur&&((jt=l==null?void 0:l.goodWx)==null?void 0:jt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Nx,Vx],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[_x,Ex,yx],64))],64))])])])):(e.openBlock(),e.createElementBlock("div",Fx,[e.createElementVNode("div",Ox,[Px,e.createElementVNode("div",Lx,[(No=(yo=t.report)==null?void 0:yo.weather)!=null&&No.favorableCur&&((Vo=l==null?void 0:l.allWx)==null?void 0:Vo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((Bo=l==null?void 0:l.allWx)==null?void 0:Bo.avgSpd),1),Ix,e.createElementVNode("span",null,e.toDisplayString(((wo=l==null?void 0:l.allWx)==null?void 0:wo.avgWf)>0?(Ao=l==null?void 0:l.allWx)==null?void 0:Ao.avgWf:`(${(To=l==null?void 0:l.allWx)==null?void 0:To.avgWf})`),1),Gx,e.createElementVNode("span",Rx,e.toDisplayString((Fo=l==null?void 0:l.allWx)==null?void 0:Fo.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((fo=l==null?void 0:l.allWx)==null?void 0:fo.avgSpd),1),Wx,e.createElementVNode("span",null,e.toDisplayString(((bo=l==null?void 0:l.allWx)==null?void 0:bo.avgCf)>0?(go=l==null?void 0:l.allWx)==null?void 0:go.avgCf:`(${(xo=l==null?void 0:l.allWx)==null?void 0:xo.avgCf})`),1),$x,e.createElementVNode("span",null,e.toDisplayString(((ko=l==null?void 0:l.allWx)==null?void 0:ko.avgWf)>0?(Do=l==null?void 0:l.allWx)==null?void 0:Do.avgWf:`(${(Co=l==null?void 0:l.allWx)==null?void 0:Co.avgWf})`),1),Hx,e.createElementVNode("span",Mx,e.toDisplayString((So=l==null?void 0:l.allWx)==null?void 0:So.pfmSpd)+" (kts)",1)],64)),((Oo=l==null?void 0:l.allWx)==null?void 0:Oo.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",zx,"(Under-performance)")):e.createCommentVNode("",!0),((Po=l==null?void 0:l.allWx)==null?void 0:Po.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",Ux,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Yx,[Zx,e.createElementVNode("div",Qx,[(Wo=(Lo=t.report)==null?void 0:Lo.weather)!=null&&Wo.favorableCur&&(($o=l==null?void 0:l.allWx)==null?void 0:$o.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[ux,vx,ek,tk],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Jx,Kx,jx,Xx,qx],64))])])])),ok,e.createElementVNode("div",lk,[e.createElementVNode("div",ak,[nk,e.createElementVNode("div",sk,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(X+1)+" Time Analysis",1),(Ro=(Ho=t.report)==null?void 0:Ho.weather)!=null&&Ro.noExtrapolation?(e.openBlock(),e.createElementBlock("span",ck,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",ik,[e.createElementVNode("div",dk,[rk,e.createElementVNode("div",mk,[e.createElementVNode("div",pk,[e.createElementVNode("div",null,e.toDisplayString((Uo=(zo=t.report)==null?void 0:zo.weather)!=null&&Uo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),hk,_k]),Ek])]),e.createElementVNode("div",yk,[e.createElementVNode("div",Nk,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(Zo=(Yo=l==null?void 0:l.extend)==null?void 0:Yo.cp)==null?void 0:Zo.speed,"Under"))+"kts)",1),Vk]),e.createElementVNode("div",fk,[e.createElementVNode("div",bk,[e.createElementVNode("div",null,e.toDisplayString((Jo=(Qo=t.report)==null?void 0:Qo.weather)!=null&&Jo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),gk,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(jo=(Ko=l==null?void 0:l.extend)==null?void 0:Ko.cp)==null?void 0:jo.speed,"Under"))+"kts",1)]),xk])]),e.createElementVNode("div",kk,[e.createElementVNode("div",Dk,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(qo=(Xo=l==null?void 0:l.extend)==null?void 0:Xo.cp)==null?void 0:qo.speed,"Over"))+"kts)",1),Ck]),e.createElementVNode("div",Sk,[e.createElementVNode("div",Bk,[e.createElementVNode("div",null,e.toDisplayString((vo=(uo=t.report)==null?void 0:uo.weather)!=null&&vo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),wk,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(tl=(el=l==null?void 0:l.extend)==null?void 0:el.cp)==null?void 0:tl.speed,"Over"))+"kts",1)]),Ak])]),Tk]),e.createElementVNode("div",Fk,[e.createElementVNode("div",Ok,[Pk,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(ll=(ol=l==null?void 0:l.extend)==null?void 0:ol.cp)==null?void 0:ll.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",Lk,[Wk,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(nl=(al=l==null?void 0:l.extend)==null?void 0:al.cp)==null?void 0:nl.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",$k,[Hk,e.createElementVNode("div",null," Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(cl=(sl=l==null?void 0:l.extend)==null?void 0:sl.cp)==null?void 0:cl.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(dl=(il=l==null?void 0:l.extend)==null?void 0:il.cp)==null?void 0:dl.speed,"Under"))+" kts) ",1)])]),(rl=l==null?void 0:l.goodWx)!=null&&rl.distance?(e.openBlock(),e.createElementBlock("div",Mk,[e.createElementVNode("div",Ik,[Gk,e.createElementVNode("div",Rk,[e.createElementVNode("div",zk,[e.createElementVNode("div",null,e.toDisplayString((pl=(st=t.report)==null?void 0:st.weather)!=null&&pl.noExtrapolation?(El=l==null?void 0:l.goodWx)==null?void 0:El.distance:(yl=l==null?void 0:l.allWx)==null?void 0:yl.distance),1),Uk,e.createElementVNode("div",null,e.toDisplayString((Nl=l==null?void 0:l.goodWx)==null?void 0:Nl.pfmSpd),1)]),Yk,e.createElementVNode("div",null,e.toDisplayString((Vl=l==null?void 0:l.timeConclusion)==null?void 0:Vl.timeAtPfmSpd)+" (hrs)",1),Zk])]),e.createElementVNode("div",Qk,[e.createElementVNode("div",Jk,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(bl=(fl=l==null?void 0:l.extend)==null?void 0:fl.cp)==null?void 0:bl.speed,"Under"))+"kts)",1),Kk]),e.createElementVNode("div",jk,[e.createElementVNode("div",Xk,[e.createElementVNode("div",null,e.toDisplayString((xl=(gl=t.report)==null?void 0:gl.weather)!=null&&xl.noExtrapolation?(kl=l==null?void 0:l.goodWx)==null?void 0:kl.distance:(Dl=l==null?void 0:l.allWx)==null?void 0:Dl.distance),1),qk,e.createElementVNode("div",null,e.toDisplayString((Cl=l==null?void 0:l.timeConclusion)==null?void 0:Cl.minusAbtSpd),1)]),uk,e.createElementVNode("div",null,e.toDisplayString((Sl=l==null?void 0:l.timeConclusion)==null?void 0:Sl.timeAtMinusAbtSpd)+" (hrs)",1),vk])]),e.createElementVNode("div",e3,[e.createElementVNode("div",t3,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(wl=(Bl=l==null?void 0:l.extend)==null?void 0:Bl.cp)==null?void 0:wl.speed,"Over"))+"kts)",1),o3]),e.createElementVNode("div",l3,[e.createElementVNode("div",a3,[e.createElementVNode("div",null,e.toDisplayString((Tl=(Al=t.report)==null?void 0:Al.weather)!=null&&Tl.noExtrapolation?(Fl=l==null?void 0:l.goodWx)==null?void 0:Fl.distance:(Ol=l==null?void 0:l.allWx)==null?void 0:Ol.distance),1),n3,e.createElementVNode("div",null,e.toDisplayString((Pl=l==null?void 0:l.timeConclusion)==null?void 0:Pl.plusAbtSpd),1)]),s3,e.createElementVNode("div",null,e.toDisplayString((Ll=l==null?void 0:l.timeConclusion)==null?void 0:Ll.timeAtPlusAbtSpd)+" (hrs)",1),c3])]),e.createElementVNode("div",i3,[((Wl=l==null?void 0:l.timeConclusion)==null?void 0:Wl.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",d3,[r3,m3,p3,h3,e.createElementVNode("div",null,e.toDisplayString(($l=l==null?void 0:l.timeConclusion)==null?void 0:$l.timeAtPfmSpd),1),_3,e.createElementVNode("div",null,e.toDisplayString((Hl=l==null?void 0:l.timeConclusion)==null?void 0:Hl.timeAtMinusAbtSpd),1),E3,e.createElementVNode("div",null,e.toDisplayString((Ml=l==null?void 0:l.timeConclusion)==null?void 0:Ml.timeLost)+" (hrs)",1)])):((Il=l==null?void 0:l.timeConclusion)==null?void 0:Il.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",y3,[N3,V3,f3,b3,e.createElementVNode("div",null,e.toDisplayString((Gl=l==null?void 0:l.timeConclusion)==null?void 0:Gl.timeAtPlusAbtSpd),1),g3,e.createElementVNode("div",null,e.toDisplayString((Rl=l==null?void 0:l.timeConclusion)==null?void 0:Rl.timeAtPfmSpd),1),x3,e.createElementVNode("div",null,e.toDisplayString((zl=l==null?void 0:l.timeConclusion)==null?void 0:zl.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Ul=l==null?void 0:l.timeConclusion)==null?void 0:Ul.conclusionStatus)==="Lost"?"flex-center lost":((Yl=l==null?void 0:l.timeConclusion)==null?void 0:Yl.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[k3,e.createElementVNode("div",null,e.toDisplayString(((Zl=l==null?void 0:l.timeConclusion)==null?void 0:Zl.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",D3,e.toDisplayString(a.noGoodWxDay),1))]),C3,e.createElementVNode("div",S3,[e.createElementVNode("div",B3,[w3,e.createElementVNode("div",A3,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(X+1)+" Consumption Analysis",1),(Jl=(Ql=t.report)==null?void 0:Ql.weather)!=null&&Jl.noExtrapolation?(e.openBlock(),e.createElementBlock("span",T3,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",F3,[e.createElementVNode("div",O3,[P3,e.createElementVNode("div",L3,[e.createElementVNode("div",W3,[e.createElementVNode("div",null,e.toDisplayString((jl=(Kl=t.report)==null?void 0:Kl.weather)!=null&&jl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),$3,H3]),M3,I3,G3])]),e.createElementVNode("div",R3,[z3,((ql=(Xl=l.extend)==null?void 0:Xl.cp)==null?void 0:ql.dgo)>0?(e.openBlock(),e.createElementBlock("div",U3," * For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",Y3,[Z3,e.createElementVNode("div",Q3,[e.createElementVNode("div",J3,[e.createElementVNode("div",null,e.toDisplayString((vl=(ul=t.report)==null?void 0:ul.weather)!=null&&vl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),K3,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(ta=(ea=l==null?void 0:l.extend)==null?void 0:ea.cp)==null?void 0:ta.speed,"Under"))+"kts",1)]),j3,X3,q3])]),e.createElementVNode("div",u3,[v3,e.createElementVNode("div",eD,[e.createElementVNode("div",tD,[e.createElementVNode("div",null,e.toDisplayString((la=(oa=t.report)==null?void 0:oa.weather)!=null&&la.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),oD,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(na=(aa=l==null?void 0:l.extend)==null?void 0:aa.cp)==null?void 0:na.speed,"Under"))+"kts",1)]),lD,aD,nD])]),sD,((ca=(sa=l.extend)==null?void 0:sa.cp)==null?void 0:ca.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",cD,[iD,e.createElementVNode("div",dD,[e.createElementVNode("div",rD,[mD,pD,e.createElementVNode("div",null,e.toDisplayString((da=(ia=t.report)==null?void 0:ia.weather)!=null&&da.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",hD,[_D,e.createElementVNode("div",ED,[e.createElementVNode("div",yD,[ND,VD,e.createElementVNode("div",null,e.toDisplayString((ma=(ra=t.report)==null?void 0:ra.weather)!=null&&ma.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),fD,e.createElementVNode("div",bD,[gD,e.createElementVNode("div",xD,"Seg. "+e.toDisplayString(X+1)+" Fuel Oil",1)]),(pa=l==null?void 0:l.goodWx)!=null&&pa.distance?(e.openBlock(),e.createElementBlock("div",kD,[((_a=(ha=l==null?void 0:l.goodWx)==null?void 0:ha.inEca)==null?void 0:_a.distance)>0?(e.openBlock(),e.createElementBlock("div",DD,[CD,e.createElementVNode("div",SD,[e.createElementVNode("div",BD,[e.createElementVNode("div",null,e.toDisplayString((ya=(Ea=l==null?void 0:l.goodWx)==null?void 0:Ea.inEca)==null?void 0:ya.sumDgoCons),1)]),wD,e.createElementVNode("div",AD,[e.createElementVNode("div",null,e.toDisplayString((Va=(Na=l==null?void 0:l.extend)==null?void 0:Na.cp)==null?void 0:Va.dgo),1),TD,FD]),OD,e.createElementVNode("div",null,e.toDisplayString((ba=(fa=l==null?void 0:l.goodWx)==null?void 0:fa.inEca)==null?void 0:ba.time),1),PD,e.createElementVNode("div",null,e.toDisplayString((xa=(ga=l==null?void 0:l.fuelConclusion)==null?void 0:ga.fo)==null?void 0:xa.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",LD,[WD,e.createElementVNode("div",$D,[e.createElementVNode("div",HD,[e.createElementVNode("div",null,e.toDisplayString((ao=(Z=t.report)==null?void 0:Z.weather)!=null&&ao.noExtrapolation?(ka=l==null?void 0:l.goodWx)==null?void 0:ka.distance:(Da=l==null?void 0:l.allWx)==null?void 0:Da.distance),1),MD,e.createElementVNode("div",null,e.toDisplayString((Ca=l==null?void 0:l.goodWx)==null?void 0:Ca.pfmSpd),1)]),ID,e.createElementVNode("div",GD,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Sa=l==null?void 0:l.goodWx)==null?void 0:Sa.sumFoCons),1),((wa=(Ba=l==null?void 0:l.goodWx)==null?void 0:Ba.inEca)==null?void 0:wa.distance)>0?(e.openBlock(),e.createElementBlock("span",RD,[zD,e.createElementVNode("span",null,e.toDisplayString((Ta=(Aa=l==null?void 0:l.fuelConclusion)==null?void 0:Aa.fo)==null?void 0:Ta.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),UD,e.createElementVNode("div",null,e.toDisplayString((Qe=l==null?void 0:l.goodWx)==null?void 0:Qe.time),1)]),YD,e.createElementVNode("div",null,e.toDisplayString((Ma=(Ha=l.fuelConclusion)==null?void 0:Ha.fo)==null?void 0:Ma.entireCons)+" (mt)",1),ZD])]),e.createElementVNode("div",QD,[JD,e.createElementVNode("div",KD,[e.createElementVNode("div",jD,[e.createElementVNode("div",null,e.toDisplayString((Ga=(Ia=t.report)==null?void 0:Ia.weather)!=null&&Ga.noExtrapolation?(K=l==null?void 0:l.goodWx)==null?void 0:K.distance:(Mo=l==null?void 0:l.allWx)==null?void 0:Mo.distance),1),XD,e.createElementVNode("div",null,e.toDisplayString((Ra=l==null?void 0:l.timeConclusion)==null?void 0:Ra.minusAbtSpd),1)]),qD,e.createElementVNode("div",uD,[e.createElementVNode("div",null,e.toDisplayString((Ua=(za=l==null?void 0:l.fuelConclusion)==null?void 0:za.fo)==null?void 0:Ua.overTolerance),1),vD,eC]),tC,e.createElementVNode("div",null,e.toDisplayString((Za=(Ya=l.fuelConclusion)==null?void 0:Ya.fo)==null?void 0:Za.maxCons)+" (mt)",1),oC])]),e.createElementVNode("div",lC,[aC,e.createElementVNode("div",nC,[e.createElementVNode("div",sC,[e.createElementVNode("div",null,e.toDisplayString((Ja=(Qa=t.report)==null?void 0:Qa.weather)!=null&&Ja.noExtrapolation?(Ka=l==null?void 0:l.goodWx)==null?void 0:Ka.distance:(ct=l==null?void 0:l.allWx)==null?void 0:ct.distance),1),cC,e.createElementVNode("div",null,e.toDisplayString((kn=l==null?void 0:l.timeConclusion)==null?void 0:kn.minusAbtSpd),1)]),iC,e.createElementVNode("div",dC,[e.createElementVNode("div",null,e.toDisplayString((Cn=(Dn=l==null?void 0:l.fuelConclusion)==null?void 0:Dn.fo)==null?void 0:Cn.underTolerance),1),rC,mC]),pC,e.createElementVNode("div",null,e.toDisplayString((Bn=(Sn=l.fuelConclusion)==null?void 0:Sn.fo)==null?void 0:Bn.minCons)+" (mt)",1),hC])]),e.createElementVNode("div",_C,[((An=(wn=l==null?void 0:l.fuelConclusion)==null?void 0:wn.fo)==null?void 0:An.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",EC,[yC,NC,VC,fC,e.createElementVNode("div",null,e.toDisplayString((Fn=(Tn=l==null?void 0:l.fuelConclusion)==null?void 0:Tn.fo)==null?void 0:Fn.entireCons),1),bC,e.createElementVNode("div",null,e.toDisplayString((Pn=(On=l==null?void 0:l.fuelConclusion)==null?void 0:On.fo)==null?void 0:Pn.maxCons),1),gC,e.createElementVNode("div",null,e.toDisplayString((Wn=(Ln=l==null?void 0:l.fuelConclusion)==null?void 0:Ln.fo)==null?void 0:Wn.overCons),1)]),(Hn=($n=l==null?void 0:l.goodWx)==null?void 0:$n.inEca)!=null&&Hn.distance?(e.openBlock(),e.createElementBlock("div",xC,[kC,DC,e.createElementVNode("div",CC,[e.createElementVNode("div",null,e.toDisplayString((In=(Mn=l==null?void 0:l.goodWx)==null?void 0:Mn.inEca)==null?void 0:In.distance)+" * "+e.toDisplayString((Rn=(Gn=l==null?void 0:l.fuelConclusion)==null?void 0:Gn.fo)==null?void 0:Rn.overCons),1),SC,e.createElementVNode("div",null,e.toDisplayString((Un=(zn=t.report)==null?void 0:zn.weather)!=null&&Un.noExtrapolation?(Yn=l==null?void 0:l.goodWx)==null?void 0:Yn.distance:(Zn=l==null?void 0:l.allWx)==null?void 0:Zn.distance),1)]),BC,e.createElementVNode("div",null,e.toDisplayString((Jn=(Qn=l==null?void 0:l.fuelConclusion)==null?void 0:Qn.fo)==null?void 0:Jn.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((jn=(Kn=l==null?void 0:l.fuelConclusion)==null?void 0:Kn.fo)==null?void 0:jn.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",wC,[AC,TC,FC,OC,e.createElementVNode("div",null,e.toDisplayString((qn=(Xn=l==null?void 0:l.fuelConclusion)==null?void 0:Xn.fo)==null?void 0:qn.minCons),1),PC,e.createElementVNode("div",null,e.toDisplayString((vn=(un=l==null?void 0:l.fuelConclusion)==null?void 0:un.fo)==null?void 0:vn.entireCons),1),LC,e.createElementVNode("div",null,e.toDisplayString((ts=(es=l==null?void 0:l.fuelConclusion)==null?void 0:es.fo)==null?void 0:ts.saving)+" (mt)",1)]),(ls=(os=l==null?void 0:l.goodWx)==null?void 0:os.inEca)!=null&&ls.distance?(e.openBlock(),e.createElementBlock("div",WC,[$C,HC,e.createElementVNode("div",MC,[e.createElementVNode("div",null,e.toDisplayString((ns=(as=t.report)==null?void 0:as.weather)!=null&&ns.noExtrapolation?(cs=(ss=l==null?void 0:l.goodWx)==null?void 0:ss.inEca)==null?void 0:cs.distance:(ds=(is=l==null?void 0:l.allWx)==null?void 0:is.inEca)==null?void 0:ds.distance)+" * "+e.toDisplayString((ms=(rs=l==null?void 0:l.fuelConclusion)==null?void 0:rs.fo)==null?void 0:ms.saving),1),IC,e.createElementVNode("div",null,e.toDisplayString((hs=(ps=t.report)==null?void 0:ps.weather)!=null&&hs.noExtrapolation?(_s=l==null?void 0:l.goodWx)==null?void 0:_s.distance:(Es=l==null?void 0:l.allWx)==null?void 0:Es.distance),1)]),GC,e.createElementVNode("div",null,e.toDisplayString((Ns=(ys=l==null?void 0:l.fuelConclusion)==null?void 0:ys.fo)==null?void 0:Ns.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((fs=(Vs=l==null?void 0:l.fuelConclusion)==null?void 0:Vs.fo)==null?void 0:fs.conclusionStatus)==="Over"?"flex-center lost":((gs=(bs=l==null?void 0:l.fuelConclusion)==null?void 0:bs.fo)==null?void 0:gs.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[RC,e.createElementVNode("div",null,e.toDisplayString(((ks=(xs=l==null?void 0:l.fuelConclusion)==null?void 0:xs.fo)==null?void 0:ks.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",zC,e.toDisplayString(a.noGoodWxDay),1)),((Cs=(Ds=l==null?void 0:l.extend)==null?void 0:Ds.cp)==null?void 0:Cs.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",UC,[YC,e.createElementVNode("div",ZC,"Seg. "+e.toDisplayString(X+1)+" Diesel/Gas Oil",1)]),(Ss=l==null?void 0:l.goodWx)!=null&&Ss.distance?(e.openBlock(),e.createElementBlock("div",QC,[e.createElementVNode("div",JC,[KC,e.createElementVNode("div",jC,[e.createElementVNode("div",XC,[e.createElementVNode("div",null,e.toDisplayString((ws=(Bs=t.report)==null?void 0:Bs.weather)!=null&&ws.noExtrapolation?(As=l==null?void 0:l.goodWx)==null?void 0:As.distance:(Ts=l==null?void 0:l.allWx)==null?void 0:Ts.distance),1),qC,e.createElementVNode("div",null,e.toDisplayString((Fs=l==null?void 0:l.goodWx)==null?void 0:Fs.pfmSpd),1)]),uC,e.createElementVNode("div",vC,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Os=l==null?void 0:l.goodWx)==null?void 0:Os.sumDgoCons),1),((Ls=(Ps=l==null?void 0:l.goodWx)==null?void 0:Ps.inEca)==null?void 0:Ls.distance)>0?(e.openBlock(),e.createElementBlock("span",eS,[tS,e.createElementVNode("span",null,e.toDisplayString(($s=(Ws=l==null?void 0:l.fuelConclusion)==null?void 0:Ws.fo)==null?void 0:$s.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),oS,e.createElementVNode("div",null,e.toDisplayString((Hs=l==null?void 0:l.goodWx)==null?void 0:Hs.time),1)]),lS,e.createElementVNode("div",null,e.toDisplayString((Is=(Ms=l.fuelConclusion)==null?void 0:Ms.dgo)==null?void 0:Is.entireCons)+" (mt)",1),aS])]),e.createElementVNode("div",nS,[sS,e.createElementVNode("div",cS,[e.createElementVNode("div",iS,[e.createElementVNode("div",null,e.toDisplayString((Rs=(Gs=t.report)==null?void 0:Gs.weather)!=null&&Rs.noExtrapolation?(zs=l==null?void 0:l.goodWx)==null?void 0:zs.distance:(Us=l==null?void 0:l.allWx)==null?void 0:Us.distance),1),dS,e.createElementVNode("div",null,e.toDisplayString((Ys=l==null?void 0:l.timeConclusion)==null?void 0:Ys.minusAbtSpd),1)]),rS,e.createElementVNode("div",mS,[e.createElementVNode("div",null,e.toDisplayString((Qs=(Zs=l==null?void 0:l.fuelConclusion)==null?void 0:Zs.dgo)==null?void 0:Qs.overTolerance),1),pS,hS]),_S,e.createElementVNode("div",null,e.toDisplayString((Ks=(Js=l.fuelConclusion)==null?void 0:Js.dgo)==null?void 0:Ks.maxCons)+" (mt)",1),ES])]),e.createElementVNode("div",yS,[NS,e.createElementVNode("div",VS,[e.createElementVNode("div",fS,[e.createElementVNode("div",null,e.toDisplayString((Xs=(js=t.report)==null?void 0:js.weather)!=null&&Xs.noExtrapolation?(qs=l==null?void 0:l.goodWx)==null?void 0:qs.distance:(us=l==null?void 0:l.allWx)==null?void 0:us.distance),1),bS,e.createElementVNode("div",null,e.toDisplayString((vs=l==null?void 0:l.timeConclusion)==null?void 0:vs.minusAbtSpd),1)]),gS,e.createElementVNode("div",xS,[e.createElementVNode("div",null,e.toDisplayString((tc=(ec=l==null?void 0:l.fuelConclusion)==null?void 0:ec.dgo)==null?void 0:tc.underTolerance),1),kS,DS]),CS,e.createElementVNode("div",null,e.toDisplayString((lc=(oc=l.fuelConclusion)==null?void 0:oc.dgo)==null?void 0:lc.minCons)+" (mt)",1),SS])]),e.createElementVNode("div",BS,[((nc=(ac=l==null?void 0:l.fuelConclusion)==null?void 0:ac.dgo)==null?void 0:nc.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",wS,[AS,TS,FS,OS,e.createElementVNode("div",null,e.toDisplayString((cc=(sc=l==null?void 0:l.fuelConclusion)==null?void 0:sc.dgo)==null?void 0:cc.entireCons),1),PS,e.createElementVNode("div",null,e.toDisplayString((dc=(ic=l==null?void 0:l.fuelConclusion)==null?void 0:ic.dgo)==null?void 0:dc.maxCons),1),LS,e.createElementVNode("div",null,e.toDisplayString((mc=(rc=l==null?void 0:l.fuelConclusion)==null?void 0:rc.dgo)==null?void 0:mc.overCons),1)])):((hc=(pc=l==null?void 0:l.fuelConclusion)==null?void 0:pc.fo)==null?void 0:hc.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",WS,[$S,HS,MS,IS,e.createElementVNode("div",null,e.toDisplayString((Ec=(_c=l==null?void 0:l.fuelConclusion)==null?void 0:_c.dgo)==null?void 0:Ec.minCons),1),GS,e.createElementVNode("div",null,e.toDisplayString((Nc=(yc=l==null?void 0:l.fuelConclusion)==null?void 0:yc.dgo)==null?void 0:Nc.entireCons),1),RS,e.createElementVNode("div",null,e.toDisplayString((fc=(Vc=l==null?void 0:l.fuelConclusion)==null?void 0:Vc.dgo)==null?void 0:fc.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((gc=(bc=l==null?void 0:l.fuelConclusion)==null?void 0:bc.dgo)==null?void 0:gc.conclusionStatus)==="Over"?"flex-center lost":((kc=(xc=l==null?void 0:l.fuelConclusion)==null?void 0:xc.dgo)==null?void 0:kc.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[zS,e.createElementVNode("div",null,e.toDisplayString(((Cc=(Dc=l==null?void 0:l.fuelConclusion)==null?void 0:Dc.dgo)==null?void 0:Cc.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",US,e.toDisplayString(a.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const ZS=Ce(Q0,[["render",YS],["__scopeId","data-v-f248d7fb"]]),MY="",QS={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(o){const s=[];return s.push(o.noonLength?"no-border-bottom":"no-border"),s.push(o.excluded?"excluded":o.goodWx?"good-wx":""),s.join(" ")}},computeWxColspan(){let o=12;return this.showCF||(o-=2),this.showAisDistance||(o-=2),this.showWave||(o-=1),this.showSwell||(o-=1),this.showSig||(o-=1),this.showWaterTemp||(o-=1),o},computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${j(o).utc().format(s)}`}},computeLng(){return function(o){return ae.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return ae.LngLatHelper.lat2pretty(o)}},computePrecision(){return function(o,s=2,t="0.0"){return o?ae.LngLatHelper.roundPrecision(o,s):t}}},watch:{report:{handler(o,s){o!=null&&o.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var o,s,t,r,a,n,E,c,p,b,g,h;this.showCF=((s=(o=this.report)==null?void 0:o.weather)==null?void 0:s.showCF)??!1,this.showAisDistance=((r=(t=this.report)==null?void 0:t.weather)==null?void 0:r.showAisDistance)??!0,this.showSig=((n=(a=this.report)==null?void 0:a.weather)==null?void 0:n.showSig)??!0,this.showSwell=((c=(E=this.report)==null?void 0:E.weather)==null?void 0:c.showSwell)??!0,this.showWave=((b=(p=this.report)==null?void 0:p.weather)==null?void 0:b.showWave)??!0,this.showWaterTemp=((h=(g=this.report)==null?void 0:g.weather)==null?void 0:h.waterTempSwitch)||!1}}},u=o=>(e.pushScopeId("data-v-e1693514"),o=o(),e.popScopeId(),o),JS={class:"report-inventory"},KS={class:"section summary-section"},jS=u(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),XS={class:"summary-block"},qS=u(()=>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)),uS={class:"label",rowspan:"4"},vS=u(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),e5=u(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),t5=u(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),o5=u(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),l5={class:"section inventory-section"},a5=e.createStaticVNode('<div class="legends flex-space" data-v-e1693514><div class="flex-start" style="flex:1.2;" data-v-e1693514><div class="legend good-wx" data-v-e1693514></div><div class="label flex-end" data-v-e1693514>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-e1693514><div class="legend adverse-wx" data-v-e1693514></div><div class="label" data-v-e1693514>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-e1693514><div class="legend excluded" data-v-e1693514></div><div class="label" data-v-e1693514>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-e1693514><div data-v-e1693514><label data-v-e1693514>B</label><span data-v-e1693514>BOSP</span></div><div data-v-e1693514><label data-v-e1693514>N</label><span data-v-e1693514>NOON</span></div><div data-v-e1693514><label data-v-e1693514>E</label><span data-v-e1693514>EOSP</span></div><div data-v-e1693514><label data-v-e1693514>*</label><span data-v-e1693514>Ship Reported Position</span></div></div></div>',1),n5={class:"inventory-block flex-center"},s5={style:{"font-size":"12px"}},c5=u(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),i5=u(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),d5=u(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),r5=u(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),m5=["colspan"],p5={key:0,class:"label",colspan:"2"},h5=u(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),_5=u(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),E5=u(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),y5=u(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),N5=u(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),V5=u(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),f5={key:0,class:"label",rowspan:"2"},b5=u(()=>e.createElementVNode("br",null,null,-1)),g5={key:1,class:"label",rowspan:"2"},x5=u(()=>e.createElementVNode("br",null,null,-1)),k5=u(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),D5={key:2,class:"label",rowspan:"2"},C5=u(()=>e.createElementVNode("br",null,null,-1)),S5={key:3,class:"label",colspan:"2"},B5={key:4,class:"label",rowspan:"2"},w5=u(()=>e.createElementVNode("br",null,null,-1)),A5={key:5,class:"label",colspan:"2"},T5=u(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),F5={key:6,class:"label",rowspan:"2"},O5={key:7,class:"label",rowspan:"2"},P5={key:8,class:"label",rowspan:"2"},L5=u(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),W5=u(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),$5=u(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),H5=u(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),M5=u(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),I5=u(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),G5=u(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),R5=u(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),z5=u(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),U5=u(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),Y5=u(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),Z5=u(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),Q5={key:0,class:"label"},J5={key:1,class:"label"},K5={key:2,class:"label"},j5={key:3,class:"label"},X5=u(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),q5=u(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),u5=u(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),v5=u(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),e4=u(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),t4=u(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),o4=u(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),l4=u(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),a4={class:"summary-tbody"};function n4(o,s,t,r,a,n){var E;return e.openBlock(),e.createElementBlock("div",JS,[e.createElementVNode("div",KS,[jS,e.createElementVNode("div",XS,[e.createElementVNode("table",null,[qS,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((E=t.report)==null?void 0:E.segments,(c,p)=>{var b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L;return e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[e.createElementVNode("tr",null,[e.createElementVNode("td",uS,e.toDisplayString(p+1),1),vS,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((b=c==null?void 0:c.allWx)==null?void 0:b.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((g=c==null?void 0:c.allWx)==null?void 0:g.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((h=c==null?void 0:c.allWx)==null?void 0:h.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((N=c==null?void 0:c.allWx)==null?void 0:N.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((D=c==null?void 0:c.allWx)==null?void 0:D.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[e5,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((x=c==null?void 0:c.goodWx)==null?void 0:x.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((C=c==null?void 0:c.goodWx)==null?void 0:C.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((k=c==null?void 0:c.goodWx)==null?void 0:k.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((T=c==null?void 0:c.goodWx)==null?void 0:T.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((F=c==null?void 0:c.goodWx)==null?void 0:F.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[t5,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((B=c==null?void 0:c.badWx)==null?void 0:B.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((w=c==null?void 0:c.badWx)==null?void 0:w.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((f=c==null?void 0:c.badWx)==null?void 0:f.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((O=c==null?void 0:c.badWx)==null?void 0:O.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((I=c==null?void 0:c.badWx)==null?void 0:I.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[o5,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((G=c==null?void 0:c.excluded)==null?void 0:G.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((R=c==null?void 0:c.excluded)==null?void 0:R.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((z=c==null?void 0:c.excluded)==null?void 0:z.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((_=c==null?void 0:c.excluded)==null?void 0:_.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((L=c==null?void 0:c.excluded)==null?void 0:L.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",l5,[a5,e.createElementVNode("div",n5,[e.createElementVNode("table",s5,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[c5,i5,d5,r5,e.createElementVNode("th",{class:"label",colspan:n.computeWxColspan},"ORM Weather Analysis",8,m5),t.showFactor?(e.openBlock(),e.createElementBlock("th",p5,"Factor")):e.createCommentVNode("",!0),h5,_5]),e.createElementVNode("tr",null,[E5,y5,N5,V5,a.showAisDistance?(e.openBlock(),e.createElementBlock("th",f5,[e.createTextVNode("Spd"),b5,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("th",g5,[e.createTextVNode("Dis"),x5,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),k5,a.showWave?(e.openBlock(),e.createElementBlock("th",D5,[e.createTextVNode("Sea HT"),C5,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",S5,"Swell")):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("th",B5,[e.createTextVNode("Sig Wave"),w5,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",A5,"Current")):e.createCommentVNode("",!0),T5,t.showFactor?(e.openBlock(),e.createElementBlock("th",F5,"cFactor")):e.createCommentVNode("",!0),t.showFactor?(e.openBlock(),e.createElementBlock("th",O5,"wxFactor")):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("th",P5,"Water Temp.")):e.createCommentVNode("",!0),L5,W5,$5,H5,M5,I5,G5,R5]),e.createElementVNode("tr",null,[z5,U5,Y5,Z5,a.showSwell?(e.openBlock(),e.createElementBlock("th",Q5,"Dir")):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",J5,"HT(m)")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",K5,"Dir")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",j5,"CF(kts)")):e.createCommentVNode("",!0),X5,q5,u5,v5,e4,t4,o4,l4])]),e.createElementVNode("tbody",a4,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.inventory,(c,p)=>{var b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M;return e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",{class:e.normalizeClass(c.segLength?"no-border-bottom":"no-border")},e.toDisplayString(c.segLength?c.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(c.time),3),["B","E"].includes(c.abbrev)&&((b=c.noon)!=null&&b.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((g=c.noon)==null?void 0:g.port),3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(c._lat.pretty),3),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(c._lng.pretty),3)],64)),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.cp.dgo:""),3),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.avgSpdCalc:""),3)):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((N=(h=c.meteo)==null?void 0:h.wind)==null?void 0:N.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((x=(D=c.meteo)==null?void 0:D.wind)==null?void 0:x.scale)??"--"),3),a.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((T=(k=(C=c.meteo)==null?void 0:C.wave)==null?void 0:k.wd)==null?void 0:T.height)??"--"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((w=(B=(F=c.meteo)==null?void 0:F.wave)==null?void 0:B.swell)==null?void 0:w.direction)??"--"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((I=(O=(f=c.meteo)==null?void 0:f.wave)==null?void 0:O.swell)==null?void 0:I.height)??"--"),3)):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((z=(R=(G=c.meteo)==null?void 0:G.wave)==null?void 0:R.sig)==null?void 0:z.height)??"--"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((L=(_=c.meteo)==null?void 0:_.current)==null?void 0:L.direction)??"--"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((H=c.meteo)==null?void 0:H.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.dailyAvgCf:""),3),t.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((W=c.meteo)==null?void 0:W.cFactor)??"--"),3)):e.createCommentVNode("",!0),t.showFactor?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((P=c.meteo)==null?void 0:P.wxFactor)??"--"),3)):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((M=c.meteo)==null?void 0:M.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const s4=Ce(QS,[["render",n4],["__scopeId","data-v-e1693514"]]),IY="",c4={name:"OrmVoyageChart",components:{Lng:Wa,Lat:$a},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(o,s="MMM-DD/HHmm[Z]"){return`${j(o).utc().format(s)}`}}},watch:{inventory:{handler(o,s){o!=null&&o.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Pa.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Pa.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Pa.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var p,b,g,h,N,D;const o=[],s=[],t={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let r=0,a=0;const n=this.inventory.filter(x=>x.noonLength)||[];n.unshift(n[0]),n.forEach((x,C)=>{var T,F,B,w,f,O,I,G,R,z,_,L,H,W;const k=this.computeUTCTime(C===0?x.utc:x.noonUtc,"MM-DD/HHmm[Z]");if(o.push(k),r=Math.ceil(((T=x.noon)==null?void 0:T.foCons)>r?(F=x.noon)==null?void 0:F.foCons:r),r=Math.ceil(((B=x.cp)==null?void 0:B.fo)>r?(w=x.cp)==null?void 0:w.fo:r),a=Math.ceil(((f=x.noon)==null?void 0:f.dgoCons)>a?(O=x.noon)==null?void 0:O.dgoCons:a),a=Math.ceil(((I=x.cp)==null?void 0:I.dgo)>a?(G=x.cp)==null?void 0:G.dgo:a),s.push([k,(R=x.noon)==null?void 0:R.avgSpd,(z=x.noon)==null?void 0:z.foCons,(_=x.noon)==null?void 0:_.dgoCons,x.avgSpdCalc,x.cp.speed,x.goodWx&&!x.excluded?100:0,x.cp.dgo,x.cp.fo,x.excluded?100:0]),C<n.length-1){const P=n[C+1];s.push([k,(L=P.noon)==null?void 0:L.avgSpd,(H=P.noon)==null?void 0:H.foCons,(W=P.noon)==null?void 0:W.dgoCons,P.avgSpdCalc,P.cp.speed,P.goodWx&&!P.excluded?100:0,P.cp.dgo,P.cp.fo,P.excluded?100:0])}});const E={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP FO Cons","FO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:o,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:r+1,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#146BF5"}},splitLine:{show:!1}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:t.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:s,z:2},{name:"CP FO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#146BF5"},lineStyle:{color:"#146BF5",type:"dashed"},encode:{x:t.dateTime,y:t.fo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:(b=(p=this.report)==null?void 0:p.weather)!=null&&b.believeRptDistance?t.noonAvgSpd:t.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{name:"FO Cons",yAxisIndex:1,type:"line",showSymbol:!1,itemStyle:{color:"#146BF5"},encode:{x:t.dateTime,y:t.noonFoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:t.dateTime,y:t.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",encode:{x:t.dateTime,y:t.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(g=this.spdFoConsChart)==null||g.setOption(E);const c={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP DGO Cons","DGO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:o,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:a+.2,min:0,alignTicks:!0,splitLine:{show:!1},axisLine:{lineStyle:{color:"#a7c4ff"}}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:t.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:s,z:2},{name:"CP DGO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#a7c4ff"},lineStyle:{color:"#a7c4ff",type:"dashed"},encode:{x:t.dateTime,y:t.dgo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:(N=(h=this.report)==null?void 0:h.weather)!=null&&N.believeRptDistance?t.noonAvgSpd:t.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{name:"DGO Cons",type:"line",showSymbol:!1,yAxisIndex:1,itemStyle:{color:"#a7c4ff"},encode:{x:t.dateTime,y:t.noonDgoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:t.dateTime,y:t.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",encode:{x:t.dateTime,y:t.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(D=this.spdDgoConsChart)==null||D.setOption(c)},renderWxCurrChart(){var c;const o=[],s=[],t={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let r=4,a=0;const n=this.inventory.filter(p=>p.noonLength)||[];n.unshift(n[0]),n.forEach((p,b)=>{var h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U;a=p.noonLength?p.dailyAvgCf:a;const g=this.computeUTCTime(b===0?p.utc:p.noonUtc,"MM-DD/HHmm[Z]");if(o.push(g),r=Math.ceil(((D=(N=(h=p.meteo)==null?void 0:h.wave)==null?void 0:N.sig)==null?void 0:D.height)>r?(k=(C=(x=p.meteo)==null?void 0:x.wave)==null?void 0:C.sig)==null?void 0:k.height:r),s.push([g,(T=p.noon)==null?void 0:T.windBF,(B=(F=p.meteo)==null?void 0:F.wind)==null?void 0:B.scale,(f=(w=p.meteo)==null?void 0:w.wind)==null?void 0:f.direction,(O=p.noon)==null?void 0:O.seasHt,(R=(G=(I=p.meteo)==null?void 0:I.wave)==null?void 0:G.sig)==null?void 0:R.height,a,p.goodWx&&!p.excluded?20:0,p.excluded?20:0]),b<n.length-1){const J=n[b+1];s.push([g,(z=J.noon)==null?void 0:z.windBF,(L=(_=J.meteo)==null?void 0:_.wind)==null?void 0:L.scale,(W=(H=J.meteo)==null?void 0:H.wind)==null?void 0:W.direction,(P=J.noon)==null?void 0:P.seasHt,(U=(Q=(M=J.meteo)==null?void 0:M.wave)==null?void 0:Q.sig)==null?void 0:U.height,J.noonLength?J.dailyAvgCf:a,J.goodWx&&!J.excluded?20:0,J.excluded?20:0])}});const E={animation:!1,title:{text:"Current Factor",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["Current Factor",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:o,boundaryGap:!0,position:"bottom",axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:10,nameGap:35,minInterval:.5,axisLine:{lineStyle:{color:"#a362f9"}},splitLine:{show:!0}},{name:"Good Weather Days",show:!1}],series:[{name:"Current Factor",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:t.anlyCurFct},itemStyle:{color:"#a362f9"},data:s,z:3},{name:"Good Weather Days",type:"line",yAxisIndex:1,encode:{x:t.dateTime,y:t.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",yAxisIndex:1,encode:{x:t.dateTime,y:t.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(c=this.currChart)==null||c.setOption(E)}}},ml=o=>(e.pushScopeId("data-v-cb952131"),o=o(),e.popScopeId(),o),i4={class:"report-summary"},d4={class:"section chart-section"},r4=ml(()=>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)),m4={class:"chart-block"},p4={ref:"spdFoConsChart",class:"chart"},h4={ref:"spdDgoConsChart",class:"chart"},_4={ref:"currChart",class:"chart"},E4={class:"section map-section"},y4=ml(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),N4={class:"map-block"},V4={class:"flex-space"},f4={class:"voyage-block",style:{height:"197px"}},b4={class:"flex-space label-block",style:{width:"100%"}},g4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),x4={style:{"text-transform":"uppercase"}},k4={class:"flex-space label-block",style:{width:"100%"}},D4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),C4={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},S4={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},B4={class:"flex-space label-block",style:{width:"100%"}},w4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),A4={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},T4={class:"flex-space label-block",style:{width:"100%"}},F4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),O4={key:0,class:"flex-end",style:{flex:"1"}},P4={key:1,class:"flex-end",style:{flex:"1"}},L4=ml(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),W4={class:"flex-end",style:{width:"160px"}},$4={class:"flex-space label-block",style:{width:"100%"}},H4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),M4={key:0,class:"flex-end",style:{flex:"1"}},I4={key:1,class:"flex-end",style:{flex:"1"}},G4=ml(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),R4={class:"flex-end",style:{width:"160px"}},z4={class:"flex-space label-block",style:{width:"100%"}},U4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),Y4={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},Z4=e.createStaticVNode('<div class="legend-block" data-v-cb952131><div style="position:absolute;margin-top:-8px;" data-v-cb952131>LEGEND</div><div class="flex-space" data-v-cb952131><div data-v-cb952131>0812</div><div data-v-cb952131><div data-v-cb952131>08 - Day of the month</div><div data-v-cb952131>12 - Hours of the day</div></div></div><div class="flex-space" data-v-cb952131><div data-v-cb952131><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-cb952131></i></div><div data-v-cb952131><div data-v-cb952131>Wind from N (000)</div><div data-v-cb952131>Each bard = 10 kts</div><div data-v-cb952131>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-cb952131><div data-v-cb952131>W 4</div><div data-v-cb952131>Sig. Wave from West, 4 meters</div></div><div class="flex-space" data-v-cb952131><div class="good-wx" data-v-cb952131>Date</div><div data-v-cb952131>Good weather days</div></div></div>',1),Q4=["src"],J4=e.createStaticVNode('<div class="section method-section" data-v-cb952131><div class="header-block flex-center" data-v-cb952131><i class="iconfont" data-v-cb952131></i><div class="title" data-v-cb952131>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-cb952131><div class="method-title" data-v-cb952131>1. Good Weather Method</div><div class="method-body" data-v-cb952131> 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-cb952131> 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-cb952131> 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-cb952131><div class="method-title" data-v-cb952131>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-cb952131> 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-cb952131><div class="method-title" data-v-cb952131>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-cb952131> 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-cb952131><div class="method-title" data-v-cb952131>4. “About”</div><div class="method-body" data-v-cb952131> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-cb952131> 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-cb952131><div class="method-title" data-v-cb952131>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-cb952131> 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-cb952131> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-cb952131> 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-cb952131><div class="method-title" data-v-cb952131>6. Further reference materials</div><div class="method-body" data-v-cb952131>Please send mail to <a href="mailto:op@ormwx.com" data-v-cb952131>op@ormwx.com</a>.</div></div></div></div>',1);function K4(o,s,t,r,a,n){var p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",i4,[e.createElementVNode("div",d4,[r4,e.createElementVNode("div",m4,[e.createElementVNode("div",p4,null,512),e.createElementVNode("div",h4,null,512),e.createElementVNode("div",_4,null,512)])]),e.createElementVNode("div",E4,[y4,e.createElementVNode("div",N4,[e.createElementVNode("div",V4,[e.createElementVNode("div",f4,[e.createElementVNode("div",b4,[g4,e.createElementVNode("span",x4,e.toDisplayString(t.report.preparedFor),1)]),e.createElementVNode("div",k4,[D4,e.createElementVNode("span",C4,e.toDisplayString((b=(p=t.report)==null?void 0:p.vessel)==null?void 0:b.name),1),e.createElementVNode("span",S4,"("+e.toDisplayString((h=(g=t.report)==null?void 0:g.vessel)==null?void 0:h.type)+")",1)]),e.createElementVNode("div",B4,[w4,e.createElementVNode("span",A4,e.toDisplayString((D=(N=t.report)==null?void 0:N.voyage)==null?void 0:D.number),1)]),e.createElementVNode("div",T4,[F4,(C=(x=t.report)==null?void 0:x.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",O4,e.toDisplayString((T=(k=t.report)==null?void 0:k.departure)==null?void 0:T.portName),1)):(e.openBlock(),e.createElementBlock("div",P4,[e.createVNode(E,{lat:(B=(F=t.report)==null?void 0:F.departure)==null?void 0:B.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),L4,e.createVNode(c,{lng:(w=t.report.departure)==null?void 0:w.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",W4,e.toDisplayString(n.computeUTCTime((f=t.report.departure)==null?void 0:f.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",$4,[H4,(I=(O=t.report)==null?void 0:O.arrival)!=null&&I.portName?(e.openBlock(),e.createElementBlock("span",M4,e.toDisplayString((R=(G=t.report)==null?void 0:G.arrival)==null?void 0:R.portName),1)):(e.openBlock(),e.createElementBlock("div",I4,[e.createVNode(E,{lat:(_=(z=t.report)==null?void 0:z.arrival)==null?void 0:_.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),G4,e.createVNode(c,{lng:(H=(L=t.report)==null?void 0:L.arrival)==null?void 0:H.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",R4,e.toDisplayString(n.computeUTCTime((P=(W=t.report)==null?void 0:W.arrival)==null?void 0:P.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",z4,[U4,e.createElementVNode("span",Y4,e.toDisplayString((Q=(M=t.report)==null?void 0:M.voyage)==null?void 0:Q.loadCondition),1)])]),Z4]),e.createElementVNode("img",{src:(U=t.report)==null?void 0:U.chartUrl,alt:""},null,8,Q4)])]),J4])}const j4=Ce(c4,[["render",K4],["__scopeId","data-v-cb952131"]]),GY="",X4={name:"OrmVoyageIndex",components:{Brand:Io,VoySummary:ZS,Inventory:s4,Chart:j4,Loading:La},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{inventory:[],loading:!0}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${j(o).utc().format(s)}`}}},watch:{report:{handler(o,s){o!=null&&o.id&&(this.loading=!1,this.$nextTick(()=>{this.prepare()}))},immediate:!0}},methods:{commit(o){this.$emit("commit",o)},prepare(){var s,t;const o=[];(t=(s=this.report)==null?void 0:s.segments)==null||t.forEach(r=>{const a=r.extend.cp;let n,E,c=!1;r.inventory.sample.hours.forEach((p,b)=>{n||(n=p),(!E||c)&&(E=p,c=!1),n.segIndex===p.segIndex?n.segLength=(n.segLength||0)+1:(n=p,n.segLength=1),E.noonLength=(E.noonLength||0)+1;let g=p.type.charAt(0);["N","M","E"].includes(g)&&(c=!0,E.dailyAvgCf=p.dailyAvgCf,E.avgSpdCalc=p.avgSpdCalc,E.distanceCalc=p.distanceCalc,E.noonUtc=p.utc),p.abbrev=g,g=g==="M"?"*":g==="A"?"":g,p.time=`${g} ${this.computeUTCTime(p.utc,"MMM-DD/HHmm[Z]")}`,p._lng=ae.LngLatHelper.lng2pretty(p.lng),p._lat=ae.LngLatHelper.lat2pretty(p.lat),p.cp=a,o.push(p)})}),o.sort((r,a)=>r.date-a.date),this.inventory=o}}};function q4(o,s,t,r,a,n){var h,N;const E=e.resolveComponent("Brand"),c=e.resolveComponent("Loading"),p=e.resolveComponent("VoySummary"),b=e.resolveComponent("Inventory"),g=e.resolveComponent("Chart");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((N=(h=t.report)==null?void 0:h.weather)!=null&&N.referenceOnly?"report-section watermark":"report-section")},[e.createVNode(E,{name:"Voyage Analysis Report",issued:t.report.createdAt},null,8,["issued"]),e.createVNode(c,{loading:a.loading,onTimeout:s[0]||(s[0]=D=>a.loading=!1)},null,8,["loading"]),e.createVNode(p,{report:t.report,class:"main",onCommit:n.commit},null,8,["report","onCommit"]),e.createVNode(b,{report:t.report,inventory:a.inventory,class:"main"},null,8,["report","inventory"]),e.createVNode(g,{report:t.report,inventory:a.inventory,class:"main"},null,8,["report","inventory"])],2)}const an=Ce(X4,[["render",q4],["__scopeId","data-v-894b875a"]]),u4={install(o){o.component("FliVoyageReport",ln),o.component("OrmVoyageReport",an)}},RY="",zY="",UY="",v4={name:"IdmTropical",components:{TropicalReport:Hc.TropicalReport},props:{token:{type:String,default:""},report:{type:Object,default:()=>{}},model:{type:String,default:""},ts:{type:String,default:""}},emits:["center"],data(){return{center:void 0}},computed:{},watch:{},methods:{handleHurricanceCenter(o){this.center=o}}},eB={class:"typhoon-report-container"};function tB(o,s,t,r,a,n){const E=e.resolveComponent("TropicalReport");return e.openBlock(),e.createElementBlock("div",eB,[t.report?(e.openBlock(),e.createBlock(E,{key:0,report:t.report,model:t.model,ts:t.ts,token:t.token,onCenter:n.handleHurricanceCenter},null,8,["report","model","ts","token","onCenter"])):e.createCommentVNode("",!0)])}const nn=Ce(v4,[["render",tB],["__scopeId","data-v-a14ce9ba"]]),oB={install(o){o.component("TropicalReport",nn)}},YY="",lB={name:"OrmInvoice",components:{IdmBrand:Io},props:{report:{type:Object,default:()=>({})}},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}},computed:{computeTime(){return function(o,s="YYYY, MMM-DD/HHmm[LT]"){return o!=="-"?`${j(o).utcOffset(8).format(s)}`:"-"}}},watch:{report:{handler(){var o,s,t,r,a,n,E;this.reservations4Route=(s=(o=this.report)==null?void 0:o.reservations)==null?void 0:s.filter(c=>c.props),this.reservations4Point=(r=(t=this.report)==null?void 0:t.reservations)==null?void 0:r.filter(c=>!c.props),this.totalInUS=(n=(a=this.report)==null?void 0:a.reservations)==null?void 0:n.reduce((c,p)=>Math.round((c+p.amount)*100)/100,0),(E=this.reservations4Route)!=null&&E.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}}},Je=o=>(e.pushScopeId("data-v-95c80c22"),o=o(),e.popScopeId(),o),aB={class:"invoice-report"},nB={class:"section items-section"},sB={class:"flex-start"},cB=Je(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),iB=["innerHTML"],dB={class:"flex-space"},rB={class:"invoice-item"},mB={key:0,class:"invoice-item"},pB=Je(()=>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)),hB=Je(()=>e.createElementVNode("td",null,"NO.",-1)),_B=["colspan"],EB=Je(()=>e.createElementVNode("td",null,"Amounts",-1)),yB=["colspan"],NB=["colspan"],VB=[Je(()=>e.createElementVNode("span",null,"Total in USD",-1))],fB={class:"total"},bB=["colspan"],gB=[Je(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],xB={class:"total"},kB=["colspan"],DB={class:"total"},CB={key:1},SB=["colspan"],BB=[Je(()=>e.createElementVNode("span",null,"Total in USD",-1))],wB={class:"total"},AB={key:0,class:"memo-block"},TB=Je(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),FB=["innerHTML"],OB={class:"section company-section"},PB=Je(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"Bank Information",-1)),LB={class:"company-item"},WB=Je(()=>e.createElementVNode("label",null,"Bank",-1)),$B={class:"company-item"},HB=Je(()=>e.createElementVNode("label",null,"Account",-1)),MB={class:"company-item"},IB=Je(()=>e.createElementVNode("label",null,"Title",-1)),GB={class:"company-item"},RB=Je(()=>e.createElementVNode("label",null,"Addr",-1)),zB={class:"company-item"},UB=Je(()=>e.createElementVNode("label",null,"Tel",-1)),YB={class:"company-item"},ZB=Je(()=>e.createElementVNode("label",null,"Tax ID",-1)),QB={class:"company-item"},JB=Je(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),KB={class:"company-item"},jB=Je(()=>e.createElementVNode("label",null,"Bank Name",-1)),XB={class:"company-item"},qB=Je(()=>e.createElementVNode("label",null,"Bank Address",-1)),uB={class:"company-item"},vB=Je(()=>e.createElementVNode("label",null,"Account No.",-1)),e8={class:"company-item"},t8=Je(()=>e.createElementVNode("label",null,"SWIFT",-1)),o8={class:"company-item"},l8=Je(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),a8={class:"company-item"},n8=Je(()=>e.createElementVNode("label",null,"SWIFT",-1)),s8={class:"company-item"},c8=Je(()=>e.createElementVNode("label",null,"ABA NO.",-1)),i8=e.createStaticVNode('<div class="section sign-section" data-v-95c80c22><div class="flex-space" data-v-95c80c22><div class="sign-block" data-v-95c80c22><div data-v-95c80c22>Finance Team</div><div data-v-95c80c22>Ocean Right Marine Service Co., Ltd.</div><div data-v-95c80c22>Email: <a href="mailto:op@ormwx.com" data-v-95c80c22>op@ormwx.com</a></div><div data-v-95c80c22>Address: Rm1805, B Technology Innovation Bldg, No. 171 Shandong Road, Qingdao, China.</div></div><div class="thank-block" data-v-95c80c22>Thank You</div></div></div>',1);function d8(o,s,t,r,a,n){var c,p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,X,v,ee,te,oe,le,ce,ie,de,_e;const E=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",aB,[e.createVNode(E,{name:"INVOICE",issued:t.report.createdAt},null,8,["issued"]),e.createElementVNode("div",nB,[e.createElementVNode("div",sB,[cB,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(b=(p=(c=t.report)==null?void 0:c.invoiceTitle)==null?void 0:p.name)==null?void 0:b.replace(`
|
|
42
|
+
`,"<br/>")},null,8,iB)]),e.createElementVNode("div",dB,[e.createElementVNode("div",rB,"Invoice No. "+e.toDisplayString(t.report.number),1),(g=t.report)!=null&&g.paymentDate?(e.openBlock(),e.createElementBlock("div",mB,"Paid: "+e.toDisplayString(n.computeTime(t.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(h=a.reservations4Route)!=null&&h.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[pB,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Route,(q,me)=>{var Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,Ke,je,Xe,A,Se,Ge;return e.openBlock(),e.createElementBlock("tr",{key:me},[e.createElementVNode("td",null,e.toDisplayString((re=(ye=(Ee=q.props)==null?void 0:Ee[0])==null?void 0:ye.voyage)==null?void 0:re.number),1),e.createElementVNode("td",null,e.toDisplayString(((ge=(be=(fe=q.props)==null?void 0:fe[0])==null?void 0:be.voyage)==null?void 0:ge.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((De=(ke=(xe=q.props)==null?void 0:xe[0])==null?void 0:ke.vessel)==null?void 0:De.name),1),e.createElementVNode("td",null,e.toDisplayString((Oe=(Fe=(Te=q.props)==null?void 0:Te[0])==null?void 0:Fe.voyage)==null?void 0:Oe.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((We=(Le=(Pe=q.props)==null?void 0:Pe[0])==null?void 0:Le.departure)==null?void 0:We.name),1),e.createElementVNode("td",null,e.toDisplayString((Ne=(He=($e=q.props)==null?void 0:$e[0])==null?void 0:He.departure)==null?void 0:Ne.atd),1),e.createElementVNode("td",null,e.toDisplayString((Xe=(je=(Ke=q.props)==null?void 0:Ke[0])==null?void 0:je.destination)==null?void 0:Xe.name),1),e.createElementVNode("td",null,e.toDisplayString((Ge=(Se=(A=q.props)==null?void 0:A[0])==null?void 0:Se.destination)==null?void 0:Ge.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(q.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(N=a.reservations4Point)!=null&&N.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[hB,e.createElementVNode("td",{colspan:a.maxColspans-1},"Items.",8,_B),EB])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Point,(q,me)=>(e.openBlock(),e.createElementBlock("tr",{key:me},[e.createElementVNode("td",null,e.toDisplayString(q.number),1),e.createElementVNode("td",{colspan:a.maxColspans-1},e.toDisplayString(q.items),9,yB),e.createElementVNode("td",null,"$"+e.toDisplayString(q.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tbody",null,[((D=t.report)==null?void 0:D.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},VB,8,NB),e.createElementVNode("td",fB,[e.createElementVNode("span",null,e.toDisplayString(`$${a.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},gB,8,bB),e.createElementVNode("td",xB,[e.createElementVNode("span",null,e.toDisplayString((x=t.report)==null?void 0:x.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},"Total in CNY",8,kB),e.createElementVNode("td",DB,"¥"+e.toDisplayString((C=t.report)==null?void 0:C.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",CB,[e.createElementVNode("td",{colspan:a.maxColspans},BB,8,SB),e.createElementVNode("td",wB,[e.createElementVNode("span",null,e.toDisplayString(`$${(k=t.report)==null?void 0:k.paymentAmount}`),1)])]))])]),(T=t.report)!=null&&T.memo?(e.openBlock(),e.createElementBlock("div",AB,[TB,e.createElementVNode("div",{class:"invoice-item",innerHTML:(B=(F=t.report)==null?void 0:F.memo)==null?void 0:B.replace(`
|
|
43
|
+
`,"<br/>")},null,8,FB)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",OB,[PB,((w=t.report)==null?void 0:w.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",LB,[WB,e.createElementVNode("span",null,e.toDisplayString((O=a.account[(f=t.report)==null?void 0:f.paymentType])==null?void 0:O.bank),1)]),e.createElementVNode("div",$B,[HB,e.createElementVNode("span",null,e.toDisplayString((G=a.account[(I=t.report)==null?void 0:I.paymentType])==null?void 0:G.number),1)]),e.createElementVNode("div",MB,[IB,e.createElementVNode("span",null,e.toDisplayString((z=a.account[(R=t.report)==null?void 0:R.paymentType])==null?void 0:z.title),1)]),e.createElementVNode("div",GB,[RB,e.createElementVNode("span",null,e.toDisplayString((L=a.account[(_=t.report)==null?void 0:_.paymentType])==null?void 0:L.address),1)]),e.createElementVNode("div",zB,[UB,e.createElementVNode("span",null,e.toDisplayString((W=a.account[(H=t.report)==null?void 0:H.paymentType])==null?void 0:W.tel),1)]),e.createElementVNode("div",YB,[ZB,e.createElementVNode("span",null,e.toDisplayString((M=a.account[(P=t.report)==null?void 0:P.paymentType])==null?void 0:M.taxId),1)])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",QB,[JB,e.createElementVNode("span",null,e.toDisplayString((U=a.account[(Q=t.report)==null?void 0:Q.paymentType])==null?void 0:U.title),1)]),e.createElementVNode("div",KB,[jB,e.createElementVNode("span",null,e.toDisplayString((ne=a.account[(J=t.report)==null?void 0:J.paymentType])==null?void 0:ne.bank),1)]),e.createElementVNode("div",XB,[qB,e.createElementVNode("span",null,e.toDisplayString((l=a.account[(se=t.report)==null?void 0:se.paymentType])==null?void 0:l.bankAddr),1)]),e.createElementVNode("div",uB,[vB,e.createElementVNode("span",null,e.toDisplayString((v=a.account[(X=t.report)==null?void 0:X.paymentType])==null?void 0:v.number),1)]),e.createElementVNode("div",e8,[t8,e.createElementVNode("span",null,e.toDisplayString((te=a.account[(ee=t.report)==null?void 0:ee.paymentType])==null?void 0:te.swift),1)]),e.createElementVNode("div",o8,[l8,e.createElementVNode("span",null,e.toDisplayString((le=a.account[(oe=t.report)==null?void 0:oe.paymentType])==null?void 0:le.intermediaryBank),1)]),e.createElementVNode("div",a8,[n8,e.createElementVNode("span",null,e.toDisplayString((ie=a.account[(ce=t.report)==null?void 0:ce.paymentType])==null?void 0:ie.intermediaryBankSwift),1)]),e.createElementVNode("div",s8,[c8,e.createElementVNode("span",null,e.toDisplayString((_e=a.account[(de=t.report)==null?void 0:de.paymentType])==null?void 0:_e.intermediaryBankAbaNo),1)])],64))]),i8])}const sn=Ce(lB,[["render",d8],["__scopeId","data-v-95c80c22"]]),KY="",r8={name:"FliInvoice",props:{report:{type:Object,default:()=>({})}},data(){return{reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},computed:{computeTime(){return function(o,s="YYYY, MMM-DD/HHmm[LT]"){return o!=="-"?`${j(o).utcOffset(8).format(s)}`:"-"}}},watch:{report:{handler(){var o,s,t,r,a,n,E;this.reservations4Route=(s=(o=this.report)==null?void 0:o.reservations)==null?void 0:s.filter(c=>c.props),this.reservations4Point=(r=(t=this.report)==null?void 0:t.reservations)==null?void 0:r.filter(c=>!c.props),this.totalInUS=(n=(a=this.report)==null?void 0:a.reservations)==null?void 0:n.reduce((c,p)=>Math.round((c+p.amount)*100)/100,0),(E=this.reservations4Route)!=null&&E.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}},mounted(){}},_l=o=>(e.pushScopeId("data-v-5a352907"),o=o(),e.popScopeId(),o),m8={class:"invoice-report"},p8={class:"section items-section"},h8={class:"flex-start"},_8=_l(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),E8=["innerHTML"],y8={class:"flex-space"},N8={class:"invoice-item"},V8={key:0,class:"invoice-item"},f8=_l(()=>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)),b8=_l(()=>e.createElementVNode("td",null,"NO.",-1)),g8=["colspan"],x8=_l(()=>e.createElementVNode("td",null,"Amounts",-1)),k8=["colspan"],D8=["colspan"],C8=[_l(()=>e.createElementVNode("span",null,"Total in USD",-1))],S8={class:"total"},B8=["colspan"],w8=[_l(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],A8={class:"total"},T8=["colspan"],F8={class:"total"},O8={key:1},P8=["colspan"],L8=[_l(()=>e.createElementVNode("span",null,"Total in USD",-1))],W8={class:"total"},$8={key:0,class:"memo-block"},H8=_l(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),M8=["innerHTML"];function I8(o,s,t,r,a,n){var E,c,p,b,g,h,N,D,x,C,k,T,F;return e.openBlock(),e.createElementBlock("div",m8,[e.createElementVNode("div",p8,[e.createElementVNode("div",h8,[_8,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(p=(c=(E=t.report)==null?void 0:E.invoiceTitle)==null?void 0:c.name)==null?void 0:p.replace(`
|
|
44
|
+
`,"<br/>")},null,8,E8)]),e.createElementVNode("div",y8,[e.createElementVNode("div",N8,"Invoice No. "+e.toDisplayString(t.report.number),1),(b=t.report)!=null&&b.paymentDate?(e.openBlock(),e.createElementBlock("div",V8,"Paid: "+e.toDisplayString(n.computeTime(t.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(g=a.reservations4Route)!=null&&g.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[f8,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Route,(B,w)=>{var f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,X,v,ee,te,oe,le;return e.openBlock(),e.createElementBlock("tr",{key:w},[e.createElementVNode("td",null,e.toDisplayString((I=(O=(f=B.props)==null?void 0:f[0])==null?void 0:O.voyage)==null?void 0:I.number),1),e.createElementVNode("td",null,e.toDisplayString(((z=(R=(G=B.props)==null?void 0:G[0])==null?void 0:R.voyage)==null?void 0:z.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((H=(L=(_=B.props)==null?void 0:_[0])==null?void 0:L.vessel)==null?void 0:H.name),1),e.createElementVNode("td",null,e.toDisplayString((M=(P=(W=B.props)==null?void 0:W[0])==null?void 0:P.voyage)==null?void 0:M.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((J=(U=(Q=B.props)==null?void 0:Q[0])==null?void 0:U.departure)==null?void 0:J.name),1),e.createElementVNode("td",null,e.toDisplayString((l=(se=(ne=B.props)==null?void 0:ne[0])==null?void 0:se.departure)==null?void 0:l.atd),1),e.createElementVNode("td",null,e.toDisplayString((ee=(v=(X=B.props)==null?void 0:X[0])==null?void 0:v.destination)==null?void 0:ee.name),1),e.createElementVNode("td",null,e.toDisplayString((le=(oe=(te=B.props)==null?void 0:te[0])==null?void 0:oe.destination)==null?void 0:le.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(B.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(h=a.reservations4Point)!=null&&h.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[b8,e.createElementVNode("td",{colspan:a.maxColspans-1},"Items.",8,g8),x8])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Point,(B,w)=>(e.openBlock(),e.createElementBlock("tr",{key:w},[e.createElementVNode("td",null,e.toDisplayString(B.number),1),e.createElementVNode("td",{colspan:a.maxColspans-1},e.toDisplayString(B.items),9,k8),e.createElementVNode("td",null,"$"+e.toDisplayString(B.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tfoot",null,[((N=t.report)==null?void 0:N.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},C8,8,D8),e.createElementVNode("td",S8,[e.createElementVNode("span",null,e.toDisplayString(`$${a.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},w8,8,B8),e.createElementVNode("td",A8,[e.createElementVNode("span",null,e.toDisplayString((D=t.report)==null?void 0:D.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},"Total in CNY",8,T8),e.createElementVNode("td",F8,"¥"+e.toDisplayString((x=t.report)==null?void 0:x.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",O8,[e.createElementVNode("td",{colspan:a.maxColspans},L8,8,P8),e.createElementVNode("td",W8,[e.createElementVNode("span",null,e.toDisplayString(`$${(C=t.report)==null?void 0:C.paymentAmount}`),1)])]))])]),(k=t.report)!=null&&k.memo?(e.openBlock(),e.createElementBlock("div",$8,[H8,e.createElementVNode("div",{class:"invoice-item",innerHTML:(F=(T=t.report)==null?void 0:T.memo)==null?void 0:F.replace(`
|
|
45
|
+
`,"<br/>")},null,8,M8)])):e.createCommentVNode("",!0)])])}const cn=Ce(r8,[["render",I8],["__scopeId","data-v-5a352907"]]),G8={install(o){o.component("OrmInvoiceReport",sn),o.component("FliInvoiceReport",cn)}},R8=o=>((typeof o=="string"||typeof o=="number")&&(o=j(o)),o),z8=(o,s="MMM-DD,YYYY/HHmm[Z]")=>U8(o,s),U8=(o,s="MMM-DD/HHmm[Z]")=>(o=R8(o),o?`${o.utc().format(s)}`:"-"),uY="",Y8={name:"IdmEditableItem",components:{Edit:Oa.Edit,Close:Oa.Close,IdmEditor:Go},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(o,s){return z8(o,s)}}},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(o){this.$emit("select",o)}}},Z8={class:"idm-editable-item"},Q8=["innerHTML"],J8={key:3,class:"buttons"};function K8(o,s,t,r,a,n){const E=e.resolveComponent("ElTag"),c=e.resolveComponent("ElInput"),p=e.resolveComponent("IdmEditor"),b=e.resolveComponent("ElInputNumber"),g=e.resolveComponent("ElDatePicker"),h=e.resolveComponent("ElOption"),N=e.resolveComponent("ElSelect"),D=e.resolveComponent("ElRadio"),x=e.resolveComponent("ElRadioGroup"),C=e.resolveComponent("ElCheckbox"),k=e.resolveComponent("ElCheckboxGroup"),T=e.resolveComponent("Edit"),F=e.resolveComponent("ElIcon"),B=e.resolveComponent("ElButton"),w=e.resolveComponent("Close");return e.openBlock(),e.createElementBlock("div",Z8,[e.createElementVNode("div",{class:"group",style:e.normalizeStyle({justifyContent:t.align})},[t.label?(e.openBlock(),e.createElementBlock("label",{key:0,style:e.normalizeStyle({width:t.width+"px"})},e.toDisplayString(t.label),5)):e.createCommentVNode("",!0),a.editable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[t.type==="input"?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.model,"onUpdate:modelValue":s[2]||(s[2]=f=>a.model=f),size:t.size,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),t.type==="alphanumeric"?(e.openBlock(),e.createBlock(c,{key:1,modelValue:a.model,"onUpdate:modelValue":s[3]||(s[3]=f=>a.model=f),size:t.size,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),t.type==="textarea"?(e.openBlock(),e.createBlock(c,{key:2,modelValue:a.model,"onUpdate:modelValue":s[4]||(s[4]=f=>a.model=f),size:t.size,type:"textarea",rows:4,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),t.type==="richText"?(e.openBlock(),e.createBlock(p,{key:3,modelValue:a.model,"onUpdate:modelValue":s[5]||(s[5]=f=>a.model=f),onBlur:n.handleCommit},null,8,["modelValue","onBlur"])):e.createCommentVNode("",!0),t.type==="number"?(e.openBlock(),e.createBlock(b,{key:4,modelValue:a.model,"onUpdate:modelValue":s[6]||(s[6]=f=>a.model=f),size:t.size,controls:t.controls,min:t.min,max:t.max,step:t.step,precision:t.precision,onBlur:n.handleCommit,onChange:n.handleCommit},null,8,["modelValue","size","controls","min","max","step","precision","onBlur","onChange"])):e.createCommentVNode("",!0),t.type==="datetime"?(e.openBlock(),e.createBlock(g,{key:5,modelValue:a.model,"onUpdate:modelValue":s[7]||(s[7]=f=>a.model=f),size:t.size,type:"datetime",class:"datetime",format:t.format,"value-format":t.valueFormat,onBlur:n.handleCommit},null,8,["modelValue","size","format","value-format","onBlur"])):e.createCommentVNode("",!0),t.type==="select"?(e.openBlock(),e.createBlock(N,{key:6,modelValue:a.model,"onUpdate:modelValue":s[8]||(s[8]=f=>a.model=f),size:t.size,filterable:"",style:{width:"100%"},mini:"",onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,f=>(e.openBlock(),e.createBlock(h,{key:f.value,label:f.label,disabled:f.disabled,value:f.value},null,8,["label","disabled","value"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),t.type==="remoteSelect"?(e.openBlock(),e.createBlock(N,{key:7,modelValue:a.model,"onUpdate:modelValue":s[9]||(s[9]=f=>a.model=f),size:t.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":n.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,f=>(e.openBlock(),e.createBlock(h,{key:f.value,label:f.label,value:f.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),t.type==="remotePortSelect"?(e.openBlock(),e.createBlock(N,{key:8,modelValue:a.model,"onUpdate:modelValue":s[10]||(s[10]=f=>a.model=f),size:t.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":n.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,f=>(e.openBlock(),e.createBlock(h,{key:f.id,label:f.name,value:f.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),t.type==="radio"?(e.openBlock(),e.createBlock(x,{key:9,modelValue:a.model,"onUpdate:modelValue":s[11]||(s[11]=f=>a.model=f),size:t.size,style:{width:"100%"},onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.radios,f=>(e.openBlock(),e.createBlock(D,{key:f.value,label:f.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),t.type==="checkbox"?(e.openBlock(),e.createBlock(k,{key:10,modelValue:a.model,"onUpdate:modelValue":s[12]||(s[12]=f=>a.model=f),size:t.size,class:"checkbox",style:{width:"100%"},onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.checkboxs,f=>(e.openBlock(),e.createBlock(C,{key:f.label,label:f.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[typeof t.raw=="boolean"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.raw?(e.openBlock(),e.createBlock(E,{key:0,size:"small",type:"success",style:{margin:"0",cursor:"pointer"},onDblclick:n.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.value),1)]),_:1},8,["onDblclick"])):(e.openBlock(),e.createBlock(E,{key:1,size:"small",type:"info",style:{cursor:"pointer"},onDblclick:n.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.value),1)]),_:1},8,["onDblclick"]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.type==="datetime"?(e.openBlock(),e.createElementBlock("span",{key:0,onDblclick:s[0]||(s[0]=(...f)=>n.handleEdit&&n.handleEdit(...f))},e.toDisplayString(n.computeUtcTime(t.value,t.format)),33)):t.type==="richText"?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:t.value||""},null,8,Q8)):(e.openBlock(),e.createElementBlock("span",{key:2,onDblclick:s[1]||(s[1]=(...f)=>n.handleEdit&&n.handleEdit(...f))},[typeof t.value=="number"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.value),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.value||"-"),1)],64))],32))],64))],64)),!t.disabled&&t.iconable&&typeof t.raw!="boolean"?(e.openBlock(),e.createElementBlock("div",J8,[a.editable?(e.openBlock(),e.createBlock(B,{key:1,size:t.size,type:"danger",link:"",style:{display:"block"},onClick:n.handleCancel},{default:e.withCtx(()=>[e.createVNode(F,null,{default:e.withCtx(()=>[e.createVNode(w)]),_:1})]),_:1},8,["size","onClick"])):(e.openBlock(),e.createBlock(B,{key:0,size:t.size,link:"",onClick:n.handleEdit},{default:e.withCtx(()=>[e.createVNode(F,null,{default:e.withCtx(()=>[e.createVNode(T)]),_:1})]),_:1},8,["size","onClick"]))])):e.createCommentVNode("",!0)],4)])}const dn=Ce(Y8,[["render",K8]]),vY="",j8={name:"OrmDeviation",components:{CirclePlus:Oa.CirclePlus,Remove:Oa.Remove,EditableItem:dn,Editor:Go,IdmBrand:Io},props:{report:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe.idmwx.com"},token:{type:String,default:void 0}},data(){return{extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},remarks:void 0,editable:!1,id:void 0}},computed:{computeColor(){return function(o){return o>0?"fail":o<0?"success":""}},computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return o?`${j(o).utc().format(s)}`:"-"}},computedLngLat(){return function(o,s){return`${ae.LngLatHelper.lat2pretty(o).pretty} / ${ae.LngLatHelper.lng2pretty(s).pretty}`}},computeNum(){return function(o){return o||o==0?o<0?`(${o})`:o:"—"}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(o){o&&(this.prepare(),this.fetchSuggestName())},immediate:!0}},methods:{prepare(){var o,s,t,r;this.extraPortList=(o=this.report)!=null&&o.extraPorts?(s=this.report)==null?void 0:s.extraPorts:[],this.advisory=(t=this.report)!=null&&t.comments?(r=this.report)==null?void 0:r.comments:void 0,this.id=this.report.id},async fetchSuggestName(o){var t;const s=await Fa.get(`${this.gateway}/api/arc/ports/suggest?n=${o}`,{headers:{Authorization:this.token}});this.portList=(t=s==null?void 0:s.data)==null?void 0:t.data},handleAdd(){const o={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(o)},async handleRemove(o){var t,r,a,n,E;this.extraPortList.splice(o,1);const s=await Fa.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.report=(t=s==null?void 0:s.data)==null?void 0:t.data,this.extraPortList=(a=(r=s==null?void 0:s.data)==null?void 0:r.data)==null?void 0:a.extraPorts,this.advisory=(n=this.report)!=null&&n.comments?(E=this.report)==null?void 0:E.comments:void 0},decideDisable(){this.editable=!this.editable},async handleCommit(o,s,t,r){var E;this.editable=!1;const a=s.indexOf(".");let n={};if((t||t==0)&&t!=""){if(o==="port"){if(a>0){const b=s.substring(0,a),g=s.substring(a+1);g!=="date"&&(t=Number(t)),this.extraPortList[r][b][g]=t}else this.extraPortList[r][s]=t;n={extraPorts:this.extraPortList}}else o==="comments"?(this.report[s]=t,n={[s]:t}):(this.report[s]=t,n={[s]:Number(t)});const c=await Fa.put(`${this.gateway}/api/als/deviations/${this.id}`,n,{headers:{Authorization:this.token}}),p=(E=c==null?void 0:c.data)==null?void 0:E.data;this.extraPortList=p==null?void 0:p.extraPorts,this.advisory=(p==null?void 0:p.comments)||void 0}else ua.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},y=o=>(e.pushScopeId("data-v-5e7b1250"),o=o(),e.popScopeId(),o),X8={class:"deviation-report"},q8={class:"content-box"},u8={class:"info-box border-dashed"},v8={class:"flex-between row"},e9={class:"flex-between",style:{width:"48%"}},t9=y(()=>e.createElementVNode("label",{class:"label"},"Prepared For:",-1)),o9={class:"flex-between",style:{width:"48%"}},l9=y(()=>e.createElementVNode("label",{class:"label"},"Departure Port:",-1)),a9={style:{"margin-left":"5px"}},n9={class:"flex-between row"},s9={class:"flex-between",style:{width:"48%"}},c9=y(()=>e.createElementVNode("label",{class:"label"},"Vessel:",-1)),i9={class:"flex-between",style:{width:"48%"}},d9=y(()=>e.createElementVNode("label",{class:"label"},"Arrival Port:",-1)),r9={style:{"margin-left":"5px"}},m9={class:"flex-between row"},p9={class:"flex-between",style:{width:"48%"}},h9=y(()=>e.createElementVNode("label",{class:"label"},"Voyage No:",-1)),_9={class:"flex-between",style:{width:"48%"}},E9=y(()=>e.createElementVNode("label",{class:"label"},"Load Condition:",-1)),y9={class:"section summary-section"},N9=y(()=>e.createElementVNode("div",{class:"subtitle"},"Summary",-1)),V9={class:"border-solid"},f9={class:"cp"},b9={class:"flex-between",style:{padding:"6px 0"}},g9={style:{"margin-left":"5px"}},x9={style:{"margin-left":"5px"}},k9=y(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"CP"),e.createElementVNode("th",{class:"label"},"Speed (kts)"),e.createElementVNode("th",{class:"label"},"Daily FO Consumption (mt)"),e.createElementVNode("th",{class:"label"},"Daily MGO Consumption (mt)")])],-1)),D9=y(()=>e.createElementVNode("td",null,"-",-1)),C9={key:0},S9={key:0},B9={key:1},w9={key:0},A9={key:0},T9={key:1},F9={key:0},O9={key:0},P9={key:1},L9={class:"summary-block flex-between"},W9={class:"item"},$9=y(()=>e.createElementVNode("div",{class:"title"},"Extra Distance",-1)),H9={class:"value flex-end"},M9={key:0},I9=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),G9={class:"gain"},R9=y(()=>e.createElementVNode("span",{class:"unit"},"nm",-1)),z9={key:1},U9=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Y9={class:"lost"},Z9=y(()=>e.createElementVNode("span",{class:"unit"},"nm",-1)),Q9={key:2},J9={class:"item"},K9=y(()=>e.createElementVNode("div",{class:"title"},"Total extra Time",-1)),j9={class:"value flex-end"},X9={key:0},q9=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),u9={class:"gain"},v9=y(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),ew={key:1},tw=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),ow={class:"lost"},lw=y(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),aw={key:2},nw={class:"item"},sw=y(()=>e.createElementVNode("div",{class:"title"},"FO Total extra Consumption",-1)),cw={class:"value flex-end"},iw={key:0},dw=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),rw={class:"gain"},mw=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),pw={key:1},hw=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),_w={class:"lost"},Ew=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),yw={key:2},Nw={class:"item"},Vw=y(()=>e.createElementVNode("div",{class:"title"},"MGO Total extra Consumption",-1)),fw={class:"value flex-end"},bw={key:0},gw=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),xw={class:"gain"},kw=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Dw={key:1},Cw=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Sw={class:"lost"},Bw=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),ww={key:2},Aw=y(()=>e.createElementVNode("div",{class:"subtitle"},"Remarks",-1)),Tw={class:"section-content"},Fw={key:0,class:""},Ow=["innerHTML"],Pw={key:1},Lw={class:"section deviation-info-section"},Ww=y(()=>e.createElementVNode("div",{class:"flex-between"},[e.createElementVNode("div",{class:"subtitle"},"Deviation Info Information")],-1)),$w={key:0},Hw=y(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:2,class:"label"},"Deviation Type"),e.createElementVNode("th",{rowspan:2,class:"label"},"Position"),e.createElementVNode("th",{rowspan:2,class:"label"},"Date Time"),e.createElementVNode("th",{colspan:2,class:"label"},"BROB (mt)"),e.createElementVNode("th",{colspan:2,class:"label"},"Bunkering (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO")])],-1)),Mw=y(()=>e.createElementVNode("td",null,"Deviation Start",-1)),Iw=y(()=>e.createElementVNode("td",null,null,-1)),Gw=y(()=>e.createElementVNode("td",null,null,-1)),Rw=y(()=>e.createElementVNode("td",null,"Back on Track",-1)),zw=y(()=>e.createElementVNode("td",{colspan:"2"},null,-1)),Uw=y(()=>e.createElementVNode("td",{colspan:"2"},null,-1)),Yw={key:1},Zw=y(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"Deviation Type"),e.createElementVNode("th",{class:"label"},"Position"),e.createElementVNode("th",{class:"label"},"Date Time")])],-1)),Qw=y(()=>e.createElementVNode("td",null,"Deviation Start",-1)),Jw=y(()=>e.createElementVNode("td",null,"Back on Track",-1)),Kw={key:0,class:"section extra-port-section"},jw={class:"flex-between"},Xw=y(()=>e.createElementVNode("div",{class:"subtitle"},"Extra Port Information",-1)),qw=y(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Extra Port",-1)),uw=y(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Event",-1)),vw=y(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Date Time",-1)),e7=y(()=>e.createElementVNode("th",{colspan:2,class:"label"},"BROB (mt)",-1)),t7=y(()=>e.createElementVNode("th",{colspan:2,class:"label"},"Bunkering (mt)",-1)),o7={key:0,rowspan:2,class:"print-hidden label"},l7=y(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO")],-1)),a7={rowspan:2},n7=y(()=>e.createElementVNode("td",null,"Arrival",-1)),s7=y(()=>e.createElementVNode("td",null,null,-1)),c7=y(()=>e.createElementVNode("td",null,null,-1)),i7={rowspan:2,class:"print-hidden"},d7=y(()=>e.createElementVNode("td",null,"Departure",-1)),r7=y(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),m7=y(()=>e.createElementVNode("td",null,null,-1)),p7=y(()=>e.createElementVNode("td",null,null,-1)),h7=y(()=>e.createElementVNode("td",null,null,-1)),_7={key:0,class:"print-hidden"},E7={class:"section time-cons-section"},y7=y(()=>e.createElementVNode("div",{class:"subtitle"},"Time and Consumption Calculation",-1)),N7=y(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"Actual Route (nm)"),e.createElementVNode("th",{class:"label"},"Route Prior to deviation(nm)"),e.createElementVNode("th",{class:"label"},"Extra Distance(nm)")])],-1)),V7={class:"time-block flex-between border-dashed"},f7={key:0,class:"formula-block"},b7={class:"flex-start"},g7=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"Time for extra distance sailing",-1)),x7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),k7={class:"fraction flex-center"},D7={class:"content"},C7=y(()=>e.createElementVNode("div",null,"Extra Distance",-1)),S7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),B7={key:0},w7={key:1},A7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),T7={class:"fraction flex-center"},F7={class:"content"},O7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),P7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),L7={class:"fraction flex-center"},W7={class:"flex-start"},$7=e.createStaticVNode('<div class="fraction flex-center" data-v-5e7b1250>Total extra Time</div><div class="sig" data-v-5e7b1250>=</div><div class="fraction flex-center" data-v-5e7b1250>Time for extra distance sailing</div><div class="sig" data-v-5e7b1250>+</div><div class="fraction flex-center" data-v-5e7b1250>Time spent in extra port</div><div class="sig" data-v-5e7b1250>=</div>',6),H7={class:"fraction flex-center"},M7=y(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),I7={class:"fraction flex-center"},G7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),R7={class:"fraction flex-center"},z7={key:1,class:"formula-block"},U7={class:"flex-start"},Y7=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"Time for Route prior to deviation sailing",-1)),Z7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Q7={class:"fraction flex-center"},J7={class:"content"},K7=y(()=>e.createElementVNode("div",null,"Route Prior to deviation",-1)),j7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),X7={key:0},q7={key:1},u7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),v7={class:"fraction flex-center"},e6={class:"content"},t6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),o6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),l6={class:"fraction flex-center"},a6=y(()=>e.createElementVNode("div",{class:"sig"},null,-1)),n6=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},null,-1)),s6={class:"flex-start"},c6=e.createStaticVNode('<div class="fraction flex-center" data-v-5e7b1250>Total extra Time</div><div class="sig" data-v-5e7b1250>=</div><div class="fraction flex-center" data-v-5e7b1250>Time for Actual Route</div><div class="sig" data-v-5e7b1250>-</div><div class="fraction flex-center" data-v-5e7b1250>Time for Route prior to deviation sailing</div><div class="sig" data-v-5e7b1250>=</div>',6),i6={class:"fraction flex-center"},d6=y(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),r6={class:"fraction flex-center"},m6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),p6={class:"fraction flex-center"},h6={class:"fuel-block flex-between border-dashed"},_6={key:0,class:"formula-block"},E6={class:"flex-start"},y6=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"FO Consumption for extra distance sailing",-1)),N6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),V6={class:"fraction flex-center"},f6={class:"content"},b6=y(()=>e.createElementVNode("div",null,"Extra Distance",-1)),g6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),x6={key:0},k6={key:1},D6=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),C6={class:"fraction flex-center"},S6={class:"content"},B6={key:0},w6={key:1},A6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),T6=y(()=>e.createElementVNode("div",null,"24",-1)),F6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),O6={class:"fraction flex-center"},P6={class:"content"},L6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),W6=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),$6={class:"fraction flex-center"},H6={class:"content"},M6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),I6=y(()=>e.createElementVNode("div",null,"24",-1)),G6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),R6={class:"fraction flex-center"},z6={class:"flex-start"},U6=e.createStaticVNode('<div class="fraction flex-center" data-v-5e7b1250>FO Total Extra Consumption</div><div class="sig" data-v-5e7b1250>=</div><div class="fraction flex-center" data-v-5e7b1250>FO Consumption for extra distance sailing</div><div class="sig" data-v-5e7b1250>+</div><div class="fraction flex-center" data-v-5e7b1250>FO Consumption in extra port</div><div class="sig" data-v-5e7b1250>=</div>',6),Y6={class:"fraction flex-center"},Z6=y(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),Q6={class:"fraction flex-center"},J6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),K6={class:"fraction flex-center"},j6={class:"flex-start"},X6=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"MGO Consumption for extra distance sailing",-1)),q6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),u6={class:"fraction flex-center"},v6={class:"content"},eA=y(()=>e.createElementVNode("div",null,"Extra Distance",-1)),tA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),oA={key:0},lA={key:1},aA=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),nA={class:"fraction flex-center"},sA={class:"content"},cA={key:0},iA={key:1},dA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),rA=y(()=>e.createElementVNode("div",null,"24",-1)),mA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),pA={class:"fraction flex-center"},hA={class:"content"},_A=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),EA=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),yA={class:"fraction flex-center"},NA={class:"content"},VA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),fA=y(()=>e.createElementVNode("div",null,"24",-1)),bA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),gA={class:"fraction flex-center"},xA={class:"flex-start"},kA=e.createStaticVNode('<div class="fraction flex-center" data-v-5e7b1250>MGO Total Extra Consumption</div><div class="sig" data-v-5e7b1250>=</div><div class="fraction flex-center" data-v-5e7b1250>MGO Consumption for extra distance sailing</div><div class="sig" data-v-5e7b1250>+</div><div class="fraction flex-center" data-v-5e7b1250>MGO Consumption in extra port</div><div class="sig" data-v-5e7b1250>=</div>',6),DA={class:"fraction flex-center"},CA=y(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),SA={class:"fraction flex-center"},BA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),wA={class:"fraction flex-center"},AA={key:1,class:"formula-block"},TA={class:"flex-start"},FA=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"FO Consumption for Route prior to deviation sailing",-1)),OA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),PA={class:"fraction flex-center"},LA={class:"content"},WA=y(()=>e.createElementVNode("div",null,"Route prior to deviation Distance",-1)),$A=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),HA={key:0},MA={key:1},IA=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),GA={class:"fraction flex-center"},RA={class:"content"},zA={key:0},UA={key:1},YA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),ZA=y(()=>e.createElementVNode("div",null,"24",-1)),QA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),JA={class:"fraction flex-center"},KA={class:"content"},jA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),XA=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),qA={class:"fraction flex-center"},uA={class:"content"},vA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),eT=y(()=>e.createElementVNode("div",null,"24",-1)),tT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),oT={class:"fraction flex-center"},lT={class:"flex-start"},aT=e.createStaticVNode('<div class="fraction flex-center" data-v-5e7b1250>FO Total Extra Consumption</div><div class="sig" data-v-5e7b1250>=</div><div class="fraction flex-center" data-v-5e7b1250>FO Consumption for Actual Route</div><div class="sig" data-v-5e7b1250>-</div><div class="fraction flex-center" data-v-5e7b1250>FO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-5e7b1250>=</div>',6),nT={class:"fraction flex-center"},sT=y(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),cT={class:"fraction flex-center"},iT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),dT={class:"fraction flex-center"},rT={class:"flex-start"},mT=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"MGO Consumption for Route prior to deviation sailing",-1)),pT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),hT={class:"fraction flex-center"},_T={class:"content"},ET=y(()=>e.createElementVNode("div",null,"Route prior to deviation Distance",-1)),yT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),NT={key:0},VT={key:1},fT=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),bT={class:"fraction flex-center"},gT={class:"content"},xT={key:0},kT={key:1},DT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),CT=y(()=>e.createElementVNode("div",null,"24",-1)),ST=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),BT={class:"fraction flex-center"},wT={class:"content"},AT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),TT=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),FT={class:"fraction flex-center"},OT={class:"content"},PT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),LT=y(()=>e.createElementVNode("div",null,"24",-1)),WT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),$T={class:"fraction flex-center"},HT={class:"flex-start"},MT=e.createStaticVNode('<div class="fraction flex-center" data-v-5e7b1250>MGO Total Extra Consumption</div><div class="sig" data-v-5e7b1250>=</div><div class="fraction flex-center" data-v-5e7b1250>MGO Consumption for Actual Route</div><div class="sig" data-v-5e7b1250>-</div><div class="fraction flex-center" data-v-5e7b1250>MGO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-5e7b1250>=</div>',6),IT={class:"fraction flex-center"},GT=y(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),RT={class:"fraction flex-center"},zT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),UT={class:"fraction flex-center"},YT={class:"section map-section"},ZT=y(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),QT={class:"report-map"},JT=["src"],KT=e.createStaticVNode('<div class="legend" data-v-5e7b1250><div class="legend-item" data-v-5e7b1250><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-5e7b1250></div><div data-v-5e7b1250>Actual Route</div></div><div class="legend-item" data-v-5e7b1250><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-5e7b1250></div><div data-v-5e7b1250>Route prior to deviation</div></div></div>',1);function jT(o,s,t,r,a,n){var g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,X,v,ee,te,oe,le,ce,ie,de,_e,q,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,Ke,je,Xe,A,Se,Ge,qe,ue,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo,S,Ie,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,Xt,qt,ut,vt,eo,to,oo,lo,yo,No,Vo,fo,bo,go,xo,ko,Do,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Ro,zo,Uo,Yo,Zo,Qo,Jo,Ko,jo,Xo,qo,uo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl,st,pl,El,yl,Nl,Vl,fl,bl,gl,xl,kl,Dl,Cl,Sl,Bl,wl,Al,Tl,Fl,Ol,Pl,Ll,Wl,$l,Hl,Ml,Il,Gl,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,jl,Xl,ql,ul,vl,ea,ta,oa,la,aa,na,sa,ca,ia,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ba,ga,xa;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("Editor"),p=e.resolveComponent("EditableItem"),b=e.resolveComponent("ElButton");return e.openBlock(),e.createElementBlock("div",X8,[e.createVNode(E,{name:"Voyage Deviation Report"}),e.createElementVNode("div",q8,[e.createElementVNode("div",u8,[e.createElementVNode("div",v8,[e.createElementVNode("div",e9,[t9,e.createElementVNode("div",null,e.toDisplayString((g=t.report)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",o9,[l9,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((N=(h=t.report)==null?void 0:h.departure)==null?void 0:N.name),1),e.createTextVNode(" , "),e.createElementVNode("span",a9,e.toDisplayString(n.computeUTCTime(((x=(D=t.report)==null?void 0:D.departure)==null?void 0:x.atd)||((k=(C=t.report)==null?void 0:C.departure)==null?void 0:k.etd))),1)])])]),e.createElementVNode("div",n9,[e.createElementVNode("div",s9,[c9,e.createElementVNode("div",null,e.toDisplayString((F=(T=t.report)==null?void 0:T.vessel)==null?void 0:F.name),1)]),e.createElementVNode("div",i9,[d9,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((w=(B=t.report)==null?void 0:B.arrival)==null?void 0:w.name),1),e.createTextVNode(" , "),e.createElementVNode("span",r9,e.toDisplayString(n.computeUTCTime(((O=(f=t.report)==null?void 0:f.arrival)==null?void 0:O.ata)||((G=(I=t.report)==null?void 0:I.arrival)==null?void 0:G.eta))),1)])])]),e.createElementVNode("div",m9,[e.createElementVNode("div",p9,[h9,e.createElementVNode("div",null,e.toDisplayString((z=(R=t.report)==null?void 0:R.voyage)==null?void 0:z.number),1)]),e.createElementVNode("div",_9,[E9,e.createElementVNode("div",null,e.toDisplayString((L=(_=t.report)==null?void 0:_.voyage)==null?void 0:L.loadCondition),1)])])]),e.createElementVNode("div",y9,[N9,e.createElementVNode("div",V9,[e.createElementVNode("div",f9,[e.createElementVNode("div",b9,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((W=(H=t.report)==null?void 0:H.departure)==null?void 0:W.name),1),e.createElementVNode("span",g9,"( "+e.toDisplayString(n.computeUTCTime(((M=(P=t.report)==null?void 0:P.departure)==null?void 0:M.atd)||((U=(Q=t.report)==null?void 0:Q.departure)==null?void 0:U.etd)))+" )",1)]),e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((ne=(J=t.report)==null?void 0:J.arrival)==null?void 0:ne.name),1),e.createElementVNode("span",x9,"( "+e.toDisplayString(n.computeUTCTime(((l=(se=t.report)==null?void 0:se.arrival)==null?void 0:l.ata)||((v=(X=t.report)==null?void 0:X.arrival)==null?void 0:v.eta)))+" )",1)])]),e.createElementVNode("table",null,[k9,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[D9,e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(((te=(ee=t.report)==null?void 0:ee.cp)==null?void 0:te.speed)??"—"),1),t.report.useWeather?(e.openBlock(),e.createElementBlock("span",C9,[e.createTextVNode(" | "),(ce=(le=(oe=t.report)==null?void 0:oe.extend)==null?void 0:le.spdAbt)!=null&&ce.spdPercentage?(e.openBlock(),e.createElementBlock("span",S9,"+"+e.toDisplayString((_e=(de=(ie=t.report)==null?void 0:ie.extend)==null?void 0:de.spdAbt)==null?void 0:_e.spdOfOver)+"% , -"+e.toDisplayString((Ee=(me=(q=t.report)==null?void 0:q.extend)==null?void 0:me.spdAbt)==null?void 0:Ee.spdOfUnder)+"%",1)):(e.openBlock(),e.createElementBlock("span",B9,"+"+e.toDisplayString((fe=(re=(ye=t.report)==null?void 0:ye.extend)==null?void 0:re.spdAbt)==null?void 0:fe.abt4SpdOver)+" , -"+e.toDisplayString((xe=(ge=(be=t.report)==null?void 0:be.extend)==null?void 0:ge.spdAbt)==null?void 0:xe.abt4SpdUnder),1))])):e.createCommentVNode("",!0)]),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(((De=(ke=t.report)==null?void 0:ke.cp)==null?void 0:De.fo)??"—"),1),t.report.useWeather?(e.openBlock(),e.createElementBlock("span",w9,[e.createTextVNode(" | "),(Oe=(Fe=(Te=t.report)==null?void 0:Te.extend)==null?void 0:Fe.foAbtCons)!=null&&Oe.percentage?(e.openBlock(),e.createElementBlock("span",A9,"+"+e.toDisplayString((We=(Le=(Pe=t.report)==null?void 0:Pe.extend)==null?void 0:Le.foAbtCons)==null?void 0:We.over)+"% , -"+e.toDisplayString((Ne=(He=($e=t.report)==null?void 0:$e.extend)==null?void 0:He.foAbtCons)==null?void 0:Ne.under)+"%",1)):(e.openBlock(),e.createElementBlock("span",T9,"+"+e.toDisplayString((Xe=(je=(Ke=t.report)==null?void 0:Ke.extend)==null?void 0:je.foAbtCons)==null?void 0:Xe.overTolerance)+" , -"+e.toDisplayString((Ge=(Se=(A=t.report)==null?void 0:A.extend)==null?void 0:Se.foAbtCons)==null?void 0:Ge.underTolerance),1))])):e.createCommentVNode("",!0)]),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(((ue=(qe=t.report)==null?void 0:qe.cp)==null?void 0:ue.dgo)??"—"),1),t.report.useWeather?(e.openBlock(),e.createElementBlock("span",F9,[e.createTextVNode(" | "),(tt=(et=(ve=t.report)==null?void 0:ve.extend)==null?void 0:et.dgoAbtCons)!=null&&tt.percentage?(e.openBlock(),e.createElementBlock("span",O9,"+"+e.toDisplayString((Be=($=(m=t.report)==null?void 0:m.extend)==null?void 0:$.dgoAbtCons)==null?void 0:Be.over)+"% , -"+e.toDisplayString((pe=(Re=(Me=t.report)==null?void 0:Me.extend)==null?void 0:Re.dgoAbtCons)==null?void 0:pe.under)+"%",1)):(e.openBlock(),e.createElementBlock("span",P9,"+"+e.toDisplayString((lt=(ot=(Ue=t.report)==null?void 0:Ue.extend)==null?void 0:ot.dgoAbtCons)==null?void 0:lt.overTolerance)+" , -"+e.toDisplayString((mt=(rt=(dt=t.report)==null?void 0:dt.extend)==null?void 0:rt.dgoAbtCons)==null?void 0:mt.underTolerance),1))])):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",L9,[e.createElementVNode("div",W9,[$9,e.createElementVNode("div",H9,[((pt=t.report)==null?void 0:pt.extraDist)<0?(e.openBlock(),e.createElementBlock("div",M9,[I9,e.createElementVNode("span",G9,e.toDisplayString(Math.abs((_t=t.report)==null?void 0:_t.extraDist)),1),R9])):((Et=t.report)==null?void 0:Et.extraDist)>=0?(e.openBlock(),e.createElementBlock("div",z9,[U9,e.createElementVNode("span",Y9,e.toDisplayString(Math.abs((yt=t.report)==null?void 0:yt.extraDist)),1),Z9])):(e.openBlock(),e.createElementBlock("div",Q9,"N/A"))])]),e.createElementVNode("div",J9,[K9,e.createElementVNode("div",j9,[((Vt=(Nt=t.report)==null?void 0:Nt.timeAnalysis)==null?void 0:Vt.totalExtraTime)<0?(e.openBlock(),e.createElementBlock("div",X9,[q9,e.createElementVNode("span",u9,e.toDisplayString(Math.abs((bt=(ft=t.report)==null?void 0:ft.timeAnalysis)==null?void 0:bt.totalExtraTime)),1),v9])):((xt=(gt=t.report)==null?void 0:gt.timeAnalysis)==null?void 0:xt.totalExtraTime)>=0?(e.openBlock(),e.createElementBlock("div",ew,[tw,e.createElementVNode("span",ow,e.toDisplayString(Math.abs((Dt=(kt=t.report)==null?void 0:kt.timeAnalysis)==null?void 0:Dt.totalExtraTime)),1),lw])):(e.openBlock(),e.createElementBlock("div",aw,"N/A"))])]),e.createElementVNode("div",nw,[sw,e.createElementVNode("div",cw,[((Bt=(St=(Ct=t.report)==null?void 0:Ct.consAnalysis)==null?void 0:St.fo)==null?void 0:Bt.totalExtraCons)<0?(e.openBlock(),e.createElementBlock("div",iw,[dw,e.createElementVNode("span",rw,e.toDisplayString(Math.abs((Tt=(At=(wt=t.report)==null?void 0:wt.consAnalysis)==null?void 0:At.fo)==null?void 0:Tt.totalExtraCons)),1),mw])):((Pt=(Ot=(Ft=t.report)==null?void 0:Ft.consAnalysis)==null?void 0:Ot.fo)==null?void 0:Pt.totalExtraCons)>=0?(e.openBlock(),e.createElementBlock("div",pw,[hw,e.createElementVNode("span",_w,e.toDisplayString(Math.abs((co=(so=(no=t.report)==null?void 0:no.consAnalysis)==null?void 0:so.fo)==null?void 0:co.totalExtraCons)),1),Ew])):(e.openBlock(),e.createElementBlock("div",yw,"N/A"))])]),e.createElementVNode("div",Nw,[Vw,e.createElementVNode("div",fw,[((mo=(ro=(io=t.report)==null?void 0:io.consAnalysis)==null?void 0:ro.dgo)==null?void 0:mo.totalExtraCons)<0?(e.openBlock(),e.createElementBlock("div",bw,[gw,e.createElementVNode("span",xw,e.toDisplayString(Math.abs((_o=(ho=(po=t.report)==null?void 0:po.consAnalysis)==null?void 0:ho.dgo)==null?void 0:_o.totalExtraCons)),1),kw])):((Ie=(S=(Eo=t.report)==null?void 0:Eo.consAnalysis)==null?void 0:S.dgo)==null?void 0:Ie.totalExtraCons)>=0?(e.openBlock(),e.createElementBlock("div",Dw,[Cw,e.createElementVNode("span",Sw,e.toDisplayString(Math.abs((ht=(nt=(at=t.report)==null?void 0:at.consAnalysis)==null?void 0:nt.dgo)==null?void 0:ht.totalExtraCons)),1),Bw])):(e.openBlock(),e.createElementBlock("div",ww,"N/A"))])])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(a.remarks)?"print-hidden":""])},[Aw,e.createElementVNode("div",Tw,[a.editable?(e.openBlock(),e.createElementBlock("div",Fw,[a.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=Z=>a.remarks=Z),class:"editor",height:"80px",onBlur:s[1]||(s[1]=Z=>n.handleCommit(Z))},null,8,["modelValue"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-block",onDblclick:s[2]||(s[2]=Z=>a.editable=!0)},[n.computeBlankHtml(a.remarks)?(e.openBlock(),e.createElementBlock("div",Pw,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:a.remarks},null,8,Ow))],32))])],2),e.createElementVNode("div",Lw,[Ww,((Lt=t.report)==null?void 0:Lt.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("table",$w,[Hw,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[Mw,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((Wt=t.report)==null?void 0:Wt.startLat,($t=t.report)==null?void 0:$t.startLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Ht=t.report)==null?void 0:Ht.startTime)),1),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Mt=t.report)==null?void 0:Mt.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=Z=>n.handleCommit("extra","startFoBrob",Z))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(It=t.report)==null?void 0:It.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=Z=>n.handleCommit("extra","startDgoBrob",Z))},null,8,["value"])]),Iw,Gw]),e.createElementVNode("tr",null,[Rw,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((Gt=t.report)==null?void 0:Gt.endLat,(Rt=t.report)==null?void 0:Rt.endLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((zt=t.report)==null?void 0:zt.endTime)),1),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Ut=t.report)==null?void 0:Ut.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=Z=>n.handleCommit("extra","endFoBrob",Z))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Yt=t.report)==null?void 0:Yt.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=Z=>n.handleCommit("extra","endDgoBrob",Z))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Zt=t.report)==null?void 0:Zt.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=Z=>n.handleCommit("extra","endFoBunkering",Z))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Qt=t.report)==null?void 0:Qt.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[8]||(s[8]=Z=>n.handleCommit("extra","endDgoBunkering",Z))},null,8,["value"])])]),e.createElementVNode("tr",null,[zw,e.createElementVNode("td",null,e.toDisplayString((Kt=(Jt=t.report)==null?void 0:Jt.timeAnalysis)==null?void 0:Kt.actualTime)+" (hrs)",1),e.createElementVNode("td",null,e.toDisplayString((qt=(Xt=(jt=t.report)==null?void 0:jt.consAnalysis)==null?void 0:Xt.fo)==null?void 0:qt.actualCons),1),e.createElementVNode("td",null,e.toDisplayString((eo=(vt=(ut=t.report)==null?void 0:ut.consAnalysis)==null?void 0:vt.dgo)==null?void 0:eo.actualCons),1),Uw])])])):(e.openBlock(),e.createElementBlock("table",Yw,[Zw,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[Qw,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((to=t.report)==null?void 0:to.startLat,(oo=t.report)==null?void 0:oo.startLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((lo=t.report)==null?void 0:lo.startTime)),1)]),e.createElementVNode("tr",null,[Jw,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((yo=t.report)==null?void 0:yo.endLat,(No=t.report)==null?void 0:No.endLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Vo=t.report)==null?void 0:Vo.endTime)),1)])])]))]),((fo=t.report)==null?void 0:fo.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",Kw,[e.createElementVNode("div",jw,[Xw,e.createVNode(b,{style:{"margin-bottom":"-15px"},size:"small",class:"print-hidden",onClick:n.handleAdd},{default:e.withCtx(()=>[e.createTextVNode("Add Extra Port")]),_:1},8,["onClick"])]),e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[qw,uw,vw,e7,t7,((bo=a.extraPortList)==null?void 0:bo.length)>0?(e.openBlock(),e.createElementBlock("th",o7,"Activity")):e.createCommentVNode("",!0)]),l7]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.extraPortList,(Z,ao)=>{var ka,Da,Ca,Sa,Ba,wa,Aa,Ta;return e.openBlock(),e.createElementBlock(e.Fragment,{key:ao},[e.createElementVNode("tr",null,[e.createElementVNode("td",a7,[e.createVNode(p,{class:"editable-item",value:Z==null?void 0:Z.name,type:"remotePortSelect",size:"small",align:"center",options:a.portList,onSelect:n.fetchSuggestName,onCommit:Qe=>n.handleCommit("port","name",Qe,ao)},null,8,["value","options","onSelect","onCommit"])]),n7,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(ka=Z==null?void 0:Z.arrival)==null?void 0:ka.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Qe=>n.handleCommit("port","arrival.date",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Da=Z==null?void 0:Z.arrival)==null?void 0:Da.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","arrival.foBrob",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Ca=Z==null?void 0:Z.arrival)==null?void 0:Ca.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","arrival.dgoBrob",Qe,ao)},null,8,["value","onCommit"])]),s7,c7,e.createElementVNode("td",i7,[e.createVNode(b,{size:"small",onClick:Qe=>n.handleRemove(ao)},{default:e.withCtx(()=>[e.createTextVNode("Del")]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[d7,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(Sa=Z==null?void 0:Z.departure)==null?void 0:Sa.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Qe=>n.handleCommit("port","departure.date",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Ba=Z==null?void 0:Z.departure)==null?void 0:Ba.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.foBrob",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(wa=Z==null?void 0:Z.departure)==null?void 0:wa.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.dgoBrob",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Aa=Z==null?void 0:Z.departure)==null?void 0:Aa.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.bunkeringFo",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Ta=Z==null?void 0:Z.departure)==null?void 0:Ta.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.bunkeringDgo",Qe,ao)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[r7,m7,e.createElementVNode("td",null,e.toDisplayString(((xo=(go=t.report)==null?void 0:go.timeAnalysis)==null?void 0:xo.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Co=(Do=(ko=t.report)==null?void 0:ko.consAnalysis)==null?void 0:Do.fo)==null?void 0:Co.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((wo=(Bo=(So=t.report)==null?void 0:So.consAnalysis)==null?void 0:Bo.dgo)==null?void 0:wo.portCons)??"—"),1),p7,h7,((Ao=a.extraPortList)==null?void 0:Ao.length)>0?(e.openBlock(),e.createElementBlock("td",_7)):e.createCommentVNode("",!0)])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",E7,[y7,e.createElementVNode("table",null,[N7,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(To=t.report)==null?void 0:To.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[9]||(s[9]=Z=>n.handleCommit("report","actualDist",Z,o.index))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(Fo=t.report)==null?void 0:Fo.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[10]||(s[10]=Z=>n.handleCommit("report","priorDist",Z,o.index))},null,8,["value"])]),e.createElementVNode("td",null,e.toDisplayString(((Oo=t.report)==null?void 0:Oo.extraDist)??"—"),1)])])]),e.createElementVNode("div",V7,[((Po=t.report)==null?void 0:Po.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",f7,[e.createElementVNode("div",b7,[g7,x7,e.createElementVNode("div",k7,[e.createElementVNode("div",D7,[C7,S7,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",B7,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",w7,"CP Speed"))])]),A7,e.createElementVNode("div",T7,[e.createElementVNode("div",F7,[e.createElementVNode("div",null,e.toDisplayString((Lo=t.report)==null?void 0:Lo.extraDist),1),O7,e.createElementVNode("div",null,e.toDisplayString(($o=(Wo=t.report)==null?void 0:Wo.extend)==null?void 0:$o.cpSpd),1)])]),P7,e.createElementVNode("div",L7,e.toDisplayString((Ro=(Ho=t.report)==null?void 0:Ho.timeAnalysis)==null?void 0:Ro.sailingTime)+" (hrs)",1)]),e.createElementVNode("div",W7,[$7,e.createElementVNode("div",H7,e.toDisplayString((Uo=(zo=t.report)==null?void 0:zo.timeAnalysis)==null?void 0:Uo.sailingTime),1),M7,e.createElementVNode("div",I7,e.toDisplayString(n.computeNum((Zo=(Yo=t.report)==null?void 0:Yo.timeAnalysis)==null?void 0:Zo.portTime)),1),G7,e.createElementVNode("div",R7,e.toDisplayString((Jo=(Qo=t.report)==null?void 0:Qo.timeAnalysis)==null?void 0:Jo.totalExtraTime)+" (hrs)",1)])])):(e.openBlock(),e.createElementBlock("div",z7,[e.createElementVNode("div",U7,[Y7,Z7,e.createElementVNode("div",Q7,[e.createElementVNode("div",J7,[K7,j7,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",X7,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",q7,"CP Speed"))])]),u7,e.createElementVNode("div",v7,[e.createElementVNode("div",e6,[e.createElementVNode("div",null,e.toDisplayString((Ko=t.report)==null?void 0:Ko.priorDist),1),t6,e.createElementVNode("div",null,e.toDisplayString((Xo=(jo=t.report)==null?void 0:jo.extend)==null?void 0:Xo.cpSpd),1)])]),o6,e.createElementVNode("div",l6,e.toDisplayString((uo=(qo=t.report)==null?void 0:qo.timeAnalysis)==null?void 0:uo.sailingTime)+" (hrs)",1),a6,n6]),e.createElementVNode("div",s6,[c6,e.createElementVNode("div",i6,e.toDisplayString((el=(vo=t.report)==null?void 0:vo.timeAnalysis)==null?void 0:el.actualTime),1),d6,e.createElementVNode("div",r6,e.toDisplayString((ol=(tl=t.report)==null?void 0:tl.timeAnalysis)==null?void 0:ol.sailingTime),1),m6,e.createElementVNode("div",p6,e.toDisplayString((al=(ll=t.report)==null?void 0:ll.timeAnalysis)==null?void 0:al.totalExtraTime)+" (hrs)",1)])]))]),e.createElementVNode("div",h6,[((nl=t.report)==null?void 0:nl.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",_6,[e.createElementVNode("div",E6,[y6,N6,e.createElementVNode("div",V6,[e.createElementVNode("div",f6,[b6,g6,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",x6,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",k6,"CP Speed"))])]),D6,e.createElementVNode("div",C6,[e.createElementVNode("div",S6,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",B6,"Daily FO Consumption + About")):(e.openBlock(),e.createElementBlock("div",w6,"Daily FO Consumption")),A6,T6])]),F6,e.createElementVNode("div",O6,[e.createElementVNode("div",P6,[e.createElementVNode("div",null,e.toDisplayString((sl=t.report)==null?void 0:sl.extraDist),1),L6,e.createElementVNode("div",null,e.toDisplayString((il=(cl=t.report)==null?void 0:cl.extend)==null?void 0:il.cpSpd),1)])]),W6,e.createElementVNode("div",$6,[e.createElementVNode("div",H6,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=t.report)==null?void 0:dl.extend)==null?void 0:rl.cpFoCons),1),M6,I6])]),G6,e.createElementVNode("div",R6,e.toDisplayString((El=(pl=(st=t.report)==null?void 0:st.consAnalysis)==null?void 0:pl.fo)==null?void 0:El.sailingCons)+" (mt)",1)]),e.createElementVNode("div",z6,[U6,e.createElementVNode("div",Y6,e.toDisplayString((Vl=(Nl=(yl=t.report)==null?void 0:yl.consAnalysis)==null?void 0:Nl.fo)==null?void 0:Vl.sailingCons),1),Z6,e.createElementVNode("div",Q6,e.toDisplayString(n.computeNum((gl=(bl=(fl=t.report)==null?void 0:fl.consAnalysis)==null?void 0:bl.fo)==null?void 0:gl.portCons)),1),J6,e.createElementVNode("div",K6,e.toDisplayString((Dl=(kl=(xl=t.report)==null?void 0:xl.consAnalysis)==null?void 0:kl.fo)==null?void 0:Dl.totalExtraCons)+" (mt)",1)]),e.createElementVNode("div",j6,[X6,q6,e.createElementVNode("div",u6,[e.createElementVNode("div",v6,[eA,tA,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",oA,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",lA,"CP Speed"))])]),aA,e.createElementVNode("div",nA,[e.createElementVNode("div",sA,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",cA,"Daily MGO Consumption + About")):(e.openBlock(),e.createElementBlock("div",iA,"Daily MGO Consumption")),dA,rA])]),mA,e.createElementVNode("div",pA,[e.createElementVNode("div",hA,[e.createElementVNode("div",null,e.toDisplayString((Cl=t.report)==null?void 0:Cl.extraDist),1),_A,e.createElementVNode("div",null,e.toDisplayString((Bl=(Sl=t.report)==null?void 0:Sl.extend)==null?void 0:Bl.cpSpd),1)])]),EA,e.createElementVNode("div",yA,[e.createElementVNode("div",NA,[e.createElementVNode("div",null,e.toDisplayString((Al=(wl=t.report)==null?void 0:wl.extend)==null?void 0:Al.cpDgoCons),1),VA,fA])]),bA,e.createElementVNode("div",gA,e.toDisplayString((Ol=(Fl=(Tl=t.report)==null?void 0:Tl.consAnalysis)==null?void 0:Fl.dgo)==null?void 0:Ol.sailingCons)+" (mt)",1)]),e.createElementVNode("div",xA,[kA,e.createElementVNode("div",DA,e.toDisplayString((Wl=(Ll=(Pl=t.report)==null?void 0:Pl.consAnalysis)==null?void 0:Ll.dgo)==null?void 0:Wl.sailingCons),1),CA,e.createElementVNode("div",SA,e.toDisplayString(n.computeNum((Ml=(Hl=($l=t.report)==null?void 0:$l.consAnalysis)==null?void 0:Hl.dgo)==null?void 0:Ml.portCons)),1),BA,e.createElementVNode("div",wA,e.toDisplayString((Rl=(Gl=(Il=t.report)==null?void 0:Il.consAnalysis)==null?void 0:Gl.dgo)==null?void 0:Rl.totalExtraCons)+" (mt)",1)])])):(e.openBlock(),e.createElementBlock("div",AA,[e.createElementVNode("div",TA,[FA,OA,e.createElementVNode("div",PA,[e.createElementVNode("div",LA,[WA,$A,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",HA,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",MA,"CP Speed"))])]),IA,e.createElementVNode("div",GA,[e.createElementVNode("div",RA,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",zA,"CP Daily FO Consumption + About")):(e.openBlock(),e.createElementBlock("div",UA,"CP Daily FO Consumption")),YA,ZA])]),QA,e.createElementVNode("div",JA,[e.createElementVNode("div",KA,[e.createElementVNode("div",null,e.toDisplayString((zl=t.report)==null?void 0:zl.priorDist),1),jA,e.createElementVNode("div",null,e.toDisplayString((Yl=(Ul=t.report)==null?void 0:Ul.extend)==null?void 0:Yl.cpSpd),1)])]),XA,e.createElementVNode("div",qA,[e.createElementVNode("div",uA,[e.createElementVNode("div",null,e.toDisplayString((Ql=(Zl=t.report)==null?void 0:Zl.extend)==null?void 0:Ql.cpFoCons),1),vA,eT])]),tT,e.createElementVNode("div",oT,e.toDisplayString((jl=(Kl=(Jl=t.report)==null?void 0:Jl.consAnalysis)==null?void 0:Kl.fo)==null?void 0:jl.sailingCons)+" (mt)",1)]),e.createElementVNode("div",lT,[aT,e.createElementVNode("div",nT,e.toDisplayString((ul=(ql=(Xl=t.report)==null?void 0:Xl.consAnalysis)==null?void 0:ql.fo)==null?void 0:ul.actualCons),1),sT,e.createElementVNode("div",cT,e.toDisplayString(n.computeNum((ta=(ea=(vl=t.report)==null?void 0:vl.consAnalysis)==null?void 0:ea.fo)==null?void 0:ta.sailingCons)),1),iT,e.createElementVNode("div",dT,e.toDisplayString((aa=(la=(oa=t.report)==null?void 0:oa.consAnalysis)==null?void 0:la.fo)==null?void 0:aa.totalExtraCons)+" (mt)",1)]),e.createElementVNode("div",rT,[mT,pT,e.createElementVNode("div",hT,[e.createElementVNode("div",_T,[ET,yT,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",NT,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",VT,"CP Speed"))])]),fT,e.createElementVNode("div",bT,[e.createElementVNode("div",gT,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",xT,"CP Daily MGO Consumption + About")):(e.openBlock(),e.createElementBlock("div",kT,"CP Daily MGO Consumption")),DT,CT])]),ST,e.createElementVNode("div",BT,[e.createElementVNode("div",wT,[e.createElementVNode("div",null,e.toDisplayString((na=t.report)==null?void 0:na.priorDist),1),AT,e.createElementVNode("div",null,e.toDisplayString((ca=(sa=t.report)==null?void 0:sa.extend)==null?void 0:ca.cpSpd),1)])]),TT,e.createElementVNode("div",FT,[e.createElementVNode("div",OT,[e.createElementVNode("div",null,e.toDisplayString((da=(ia=t.report)==null?void 0:ia.extend)==null?void 0:da.cpDgoCons),1),PT,LT])]),WT,e.createElementVNode("div",$T,e.toDisplayString((pa=(ma=(ra=t.report)==null?void 0:ra.consAnalysis)==null?void 0:ma.dgo)==null?void 0:pa.sailingCons)+" (mt)",1)]),e.createElementVNode("div",HT,[MT,e.createElementVNode("div",IT,e.toDisplayString((Ea=(_a=(ha=t.report)==null?void 0:ha.consAnalysis)==null?void 0:_a.dgo)==null?void 0:Ea.actualCons),1),GT,e.createElementVNode("div",RT,e.toDisplayString((Va=(Na=(ya=t.report)==null?void 0:ya.consAnalysis)==null?void 0:Na.dgo)==null?void 0:Va.sailingCons),1),zT,e.createElementVNode("div",UT,e.toDisplayString((ga=(ba=(fa=t.report)==null?void 0:fa.consAnalysis)==null?void 0:ba.dgo)==null?void 0:ga.totalExtraCons)+" (mt)",1)])]))])]),e.createElementVNode("div",YT,[ZT,e.createElementVNode("div",QT,[e.createElementVNode("img",{style:{width:"100%"},src:(xa=t.report)==null?void 0:xa.chartUrl,alt:""},null,8,JT),KT])])])])}const rn=Ce(j8,[["render",jT],["__scopeId","data-v-5e7b1250"]]),eZ="",XT={name:"FliDvtRpt",components:{CirclePlus:Oa.CirclePlus,Remove:Oa.Remove,EditableItem:dn,Editor:Go},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/YxlKPdte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RVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/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(o){return o>0?"fail":o<0?"success":""}},computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return o?`${j(o).utc().format(s)}`:"-"}},computedLngLat(){return function(o,s){const t=ae.LngLatHelper.lat2pretty(o).pretty,r=ae.LngLatHelper.lng2pretty(s).pretty;return`${t} / ${r}`}},computeNum(){return function(o){return o||o==0?o<0?`(${o})`:o:"—"}}},watch:{data:{handler(o){o&&((o==null?void 0:o.method)==="DistExtrapolate"?this.isDistExtra=!0:this.isDistExtra=!1,this.fetchData(),this.fetchSuggestName())},immediate:!0}},methods:{fetchData(){var o,s,t,r;this.extraData=this.data,this.extraPortList=(o=this.data)!=null&&o.extraPorts?(s=this.data)==null?void 0:s.extraPorts:[],this.advisory=(t=this.data)!=null&&t.comments?(r=this.data)==null?void 0:r.comments:void 0,this.id=this.data.id},async fetchSuggestName(o){var t;const s=await Fa.get(`${this.gateway}/api/arc/ports/suggest?n=${o}`,{headers:{Authorization:this.token}});this.portList=(t=s==null?void 0:s.data)==null?void 0:t.data},handleAdd(){const o={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(o)},async handleRemove(o){var t,r,a,n,E;this.extraPortList.splice(o,1);const s=await Fa.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(t=s==null?void 0:s.data)==null?void 0:t.data,this.extraPortList=(a=(r=s==null?void 0:s.data)==null?void 0:r.data)==null?void 0:a.extraPorts,this.advisory=(n=this.data)!=null&&n.comments?(E=this.data)==null?void 0:E.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(o,s,t,r){var E,c,p,b,g;this.editable=!1;const a=s.indexOf(".");let n={};if((t||t==0)&&t!=""){if(o==="port"){if(a>0){const N=s.substring(0,a),D=s.substring(a+1);D!=="date"&&(t=Number(t)),this.extraPortList[r][N][D]=t}else this.extraPortList[r][s]=t;n={extraPorts:this.extraPortList}}else o==="comments"?(this.extraData[s]=t,n={[s]:t}):(this.extraData[s]=t,n={[s]:Number(t)});const h=await Fa.put(`${this.gateway}/api/als/deviations/${this.id}`,n,{headers:{Authorization:this.token}});this.extraData=(E=h==null?void 0:h.data)==null?void 0:E.data,this.extraPortList=(p=(c=h==null?void 0:h.data)==null?void 0:c.data)==null?void 0:p.extraPorts,this.advisory=(b=this.data)!=null&&b.comments?(g=this.data)==null?void 0:g.comments:void 0}else ua.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},V=o=>(e.pushScopeId("data-v-eba493df"),o=o(),e.popScopeId(),o),qT={class:"deviation-report"},uT=V(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),vT={class:"report-header"},eF={class:"header-title",style:{position:"relative !important"}},tF={class:"header-title-content"},oF=V(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),lF={class:"title-date"},aF={class:"report-summary"},nF={class:"summary-item"},sF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),cF={class:"flexL gray"},iF={class:"summary-item"},dF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),rF={class:"flexL gray"},mF={class:"summary-item"},pF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),hF={class:"flexL gray"},_F={class:"summary-item"},EF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),yF={class:"flexL gray"},NF={class:"summary-item"},VF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),fF={class:"flexL gray",style:{display:"flex"}},bF={class:"flex"},gF={class:"flexM"},xF={class:"summary-item"},kF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),DF={class:"flexL gray",style:{display:"flex"}},CF={class:"flex"},SF={class:"flexM"},BF=V(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),wF={class:"report-summary"},AF={class:"summary-item"},TF=V(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),FF={class:"summary-item"},OF=V(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),PF={class:"summary-item"},LF=V(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),WF={class:"summary-item"},$F=V(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),HF=V(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),MF={class:"report-map"},IF=["src"],GF=e.createStaticVNode('<div class="legend" data-v-eba493df><div class="legend-item" data-v-eba493df><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-eba493df></div><div data-v-eba493df>Actual Route</div></div><div class="legend-item" data-v-eba493df><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-eba493df></div><div data-v-eba493df>Route prior to deviation</div></div></div>',1),RF=V(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),zF={key:0,class:"subtitle"},UF={key:1,class:"report-summary"},YF=e.createStaticVNode('<div class="summary-item" data-v-eba493df><div class="blue center" style="width:16%;" data-v-eba493df>Diversion</div><div class="blue center" style="width:20%;" data-v-eba493df>Position</div><div class="blue center" style="width:17%;" data-v-eba493df>Date Time</div><div class="flex blue center" data-v-eba493df>FO BROB<br data-v-eba493df>(mt)</div><div class="flex blue center" data-v-eba493df>DO/GO<br data-v-eba493df>BROB (mt)</div><div class="flex blue center" data-v-eba493df>Bunkering<br data-v-eba493df>FO (mt)</div><div class="flex blue center" data-v-eba493df>Bunkering<br data-v-eba493df>DO/GO (mt)</div></div>',1),ZF={class:"summary-item"},QF=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),JF={class:"blue center",style:{width:"20%"}},KF={class:"blue center",style:{width:"17%"}},jF={class:"flex blue center"},XF={class:"flex blue center"},qF=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),uF=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),vF={class:"summary-item"},eO=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),tO={class:"blue center",style:{width:"20%"}},oO={class:"blue center",style:{width:"17%"}},lO={class:"flex blue center"},aO={class:"flex blue center"},nO={class:"flex blue center"},sO={class:"flex blue center"},cO={class:"summary-item"},iO=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),dO=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),rO={class:"blue center",style:{width:"17%"}},mO={class:"flex blue center"},pO={class:"flex blue center"},hO=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),_O=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),EO=V(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),yO={class:"report-summary"},NO={class:"summary-item"},VO=V(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),fO={class:"flexL blue center"},bO={class:"summary-item"},gO=V(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),xO={class:"flexL blue center"},kO={class:"summary-item"},DO=V(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),CO={class:"flexL blue center"},SO={class:"subtitle port"},BO=V(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),wO={class:"print-hidden"},AO={class:"report-port"},TO=V(()=>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)),FO={rowspan:2},OO=V(()=>e.createElementVNode("td",null,"Arrival",-1)),PO=V(()=>e.createElementVNode("td",null,null,-1)),LO=V(()=>e.createElementVNode("td",null,null,-1)),WO={rowspan:2,class:"print-hidden"},$O=V(()=>e.createElementVNode("td",null,"Departure",-1)),HO=V(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),MO=V(()=>e.createElementVNode("td",null,null,-1)),IO=V(()=>e.createElementVNode("td",null,null,-1)),GO=V(()=>e.createElementVNode("td",null,null,-1)),RO=V(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),zO=V(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),UO={class:"report-summary"},YO=V(()=>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)),ZO={class:"summary-item"},QO=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),JO={class:"flex blue center"},KO={class:"flex blue center"},jO={class:"summary-item"},XO=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),qO={class:"flex blue center"},uO=V(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),vO={key:2,class:"report-formular"},eP={class:"equation"},tP=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-eba493df>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-eba493df>=</div><div class="function" style="width:20%;" data-v-eba493df><div data-v-eba493df>Deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:5%;" data-v-eba493df>=</div>',4),oP={class:"function",style:{width:"20%"}},lP=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),aP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),nP={style:{width:"10%"}},sP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),cP={class:"equation"},iP=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-eba493df>Total extra Time (hrs)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:28%;" data-v-eba493df>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-eba493df>+</div><div style="width:23%;" data-v-eba493df>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-eba493df>=</div>',6),dP={style:{width:"5%"}},rP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),mP={style:{width:"8%"}},pP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),hP={style:{width:"4%"}},_P=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),EP={key:3,class:"report-formular"},yP={class:"equation"},NP=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-eba493df>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-eba493df>=</div><div class="function" style="width:20%;" data-v-eba493df><div data-v-eba493df>Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:5%;" data-v-eba493df>=</div>',4),VP={class:"function",style:{width:"20%"}},fP=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),bP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),gP={style:{width:"10%"}},xP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),kP={key:0,class:"equation"},DP=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-eba493df>Total extra Time (hrs)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:24%;" data-v-eba493df>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-eba493df>-</div><div style="width:30%;" data-v-eba493df>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-eba493df>=</div>',6),CP={style:{width:"5%"}},SP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),BP={style:{width:"5%"}},wP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),AP={style:{width:"5%"}},TP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),FP={key:1,class:"equation"},OP=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-eba493df>Total extra Time (hrs)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:24%;" data-v-eba493df>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-eba493df>-</div><div style="width:20%;" data-v-eba493df>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-eba493df>-</div><div style="width:10%;" data-v-eba493df>Time spent in port (hrs)</div><div style="width:2%;" data-v-eba493df>=</div>',8),PP={style:{width:"5%"}},LP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),WP={style:{width:"5%"}},$P=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),HP={style:{width:"5%"}},MP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),IP={style:{width:"5%"}},GP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),RP={key:4,class:"report-summary"},zP={class:"summary-item"},UP=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),YP={class:"flex blue center"},ZP={class:"summary-item"},QP=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),JP={class:"flex blue center"},KP={class:"summary-item"},jP=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),XP={class:"flex blue center"},qP={key:5,class:"report-summary"},uP={class:"summary-item"},vP=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),eL={class:"flex blue center"},tL={class:"summary-item"},oL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),lL={class:"flex blue center"},aL={key:0,class:"summary-item"},nL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),sL={class:"flex blue center"},cL={class:"summary-item"},iL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),dL={class:"flex blue center"},rL=V(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),mL={key:6,class:"report-formular"},pL={class:"equation"},hL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-eba493df>=</div><div class="function" style="width:30%;" data-v-eba493df><div data-v-eba493df>Deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:3%;" data-v-eba493df>×</div><div class="function" style="width:23%;" data-v-eba493df><div data-v-eba493df>Daily FO Consumption</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>24</div></div><div style="width:3%;" data-v-eba493df>=</div>',6),_L={class:"function",style:{width:"5%"}},EL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),yL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),NL={class:"function",style:{width:"5%"}},VL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),fL=V(()=>e.createElementVNode("div",null,"24",-1)),bL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),gL={style:{width:"5%"}},xL=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),kL={class:"equation"},DL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:30%;" data-v-eba493df>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-eba493df>+</div><div style="width:23%;" data-v-eba493df>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-eba493df>=</div>',6),CL={style:{width:"5%"}},SL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),BL={style:{width:"5%"}},wL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),AL={style:{width:"5%"}},TL=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),FL={class:"equation"},OL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-eba493df>=</div><div class="function" style="width:30%;" data-v-eba493df><div data-v-eba493df>Deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:3%;" data-v-eba493df>×</div><div class="function" style="width:23%;" data-v-eba493df><div data-v-eba493df>Daily DO Consumption</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>24</div></div><div style="width:3%;" data-v-eba493df>=</div>',6),PL={class:"function",style:{width:"5%"}},LL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),WL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),$L={class:"function",style:{width:"5%"}},HL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ML=V(()=>e.createElementVNode("div",null,"24",-1)),IL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),GL={style:{width:"5%"}},RL=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),zL={class:"equation"},UL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:30%;" data-v-eba493df>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:23%;" data-v-eba493df>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-eba493df>=</div>',6),YL={style:{width:"5%"}},ZL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),QL={style:{width:"5%"}},JL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),KL={style:{width:"5%"}},jL=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),XL={key:7,class:"report-formular"},qL={class:"equation"},uL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-eba493df>=</div><div class="function" style="width:30%;" data-v-eba493df><div data-v-eba493df>Route prior to deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:3%;" data-v-eba493df>×</div><div class="function" style="width:23%;" data-v-eba493df><div data-v-eba493df>CP Daily FO Consumption</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>24</div></div><div style="width:3%;" data-v-eba493df>=</div>',6),vL={class:"function",style:{width:"5%"}},eW=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),oW={class:"function",style:{width:"5%"}},lW=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),aW=V(()=>e.createElementVNode("div",null,"24",-1)),nW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),sW={style:{width:"5%"}},cW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),iW={class:"equation"},dW=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-eba493df>=</div><div class="function" style="width:30%;" data-v-eba493df><div data-v-eba493df>Route prior to deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:3%;" data-v-eba493df>×</div><div class="function" style="width:23%;" data-v-eba493df><div data-v-eba493df>CP Daily DO Consumption</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>24</div></div><div style="width:3%;" data-v-eba493df>=</div>',6),rW={class:"function",style:{width:"5%"}},mW=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),pW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),hW={class:"function",style:{width:"5%"}},_W=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),EW=V(()=>e.createElementVNode("div",null,"24",-1)),yW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),NW={style:{width:"5%"}},VW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),fW={key:0,class:"equation"},bW=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:30%;" data-v-eba493df>FO Consumption for Actual Route</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:23%;" data-v-eba493df>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-eba493df>=</div>',6),gW={style:{width:"5%"}},xW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),kW={style:{width:"5%"}},DW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),CW={style:{width:"5%"}},SW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),BW={key:1,class:"equation"},wW=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-eba493df>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:15%;" data-v-eba493df>FO Consumption for Actual Route</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:20%;" data-v-eba493df>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:10%;" data-v-eba493df>FO Consumption in port</div><div style="width:3%;" data-v-eba493df>=</div>',8),AW={style:{width:"5%"}},TW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),FW={style:{width:"5%"}},OW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),PW={style:{width:"5%"}},LW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),WW={style:{width:"5%"}},$W=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),HW={key:2,class:"equation"},MW=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:30%;" data-v-eba493df>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:23%;" data-v-eba493df>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-eba493df>=</div>',6),IW={style:{width:"5%"}},GW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),RW={style:{width:"5%"}},zW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),UW={style:{width:"5%"}},YW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),ZW={key:3,class:"equation"},QW=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-eba493df>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:15%;" data-v-eba493df>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:20%;" data-v-eba493df>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:10%;" data-v-eba493df>DO/GO Consumption in port</div><div style="width:3%;" data-v-eba493df>=</div>',8),JW={style:{width:"5%"}},KW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),jW={style:{width:"5%"}},XW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),qW={style:{width:"5%"}},uW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),vW={style:{width:"5%"}},e$=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),t$={key:8,class:"report-summary"},o$=V(()=>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)),l$={class:"summary-item"},a$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),n$={class:"flex blue center"},s$={class:"flex blue center"},c$={class:"summary-item"},i$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),d$={class:"flex blue center"},r$={class:"flex blue center"},m$={class:"summary-item"},p$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),h$={key:9,class:"report-summary"},_$=V(()=>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)),E$={class:"summary-item"},y$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),N$={class:"flex blue center"},V$={class:"flex blue center"},f$={class:"summary-item"},b$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),g$={class:"flex blue center"},x$={class:"flex blue center"},k$={key:0,class:"summary-item"},D$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),C$={class:"flex blue center"},S$={class:"flex blue center"},B$={class:"summary-item"},w$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),A$=["innerHTML"];function T$(o,s,t,r,a,n){var h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,X,v,ee,te,oe,le,ce,ie,de,_e,q,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,Ke,je,Xe,A,Se,Ge,qe,ue,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo,S,Ie,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,Xt,qt,ut,vt,eo,to,oo,lo,yo,No,Vo,fo,bo,go,xo,ko,Do,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Ro,zo,Uo,Yo,Zo,Qo,Jo,Ko,jo,Xo,qo,uo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl,st,pl,El,yl,Nl,Vl,fl,bl,gl,xl,kl,Dl,Cl,Sl,Bl,wl,Al,Tl,Fl,Ol,Pl,Ll,Wl,$l,Hl,Ml,Il,Gl,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,jl,Xl,ql,ul,vl,ea,ta,oa,la,aa,na,sa,ca,ia,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ba,ga,xa,Z,ao,ka,Da,Ca,Sa,Ba,wa,Aa,Ta,Qe,Ha,Ma,Ia,Ga;const E=e.resolveComponent("EditableItem"),c=e.resolveComponent("CirclePlus"),p=e.resolveComponent("ElIcon"),b=e.resolveComponent("Remove"),g=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",qT,[uT,e.createElementVNode("div",vT,[e.createElementVNode("div",eF,[e.createElementVNode("div",tF,[oF,e.createElementVNode("div",lF,e.toDisplayString(n.computeUTCTime((h=a.extraData)==null?void 0:h.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",aF,[e.createElementVNode("div",nF,[sF,e.createElementVNode("div",cF,e.toDisplayString((D=(N=a.extraData)==null?void 0:N.vessel)==null?void 0:D.name),1)]),e.createElementVNode("div",iF,[dF,e.createElementVNode("div",rF,e.toDisplayString((x=a.extraData)==null?void 0:x.preparedFor),1)]),e.createElementVNode("div",mF,[pF,e.createElementVNode("div",hF,e.toDisplayString((k=(C=a.extraData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("div",_F,[EF,e.createElementVNode("div",yF,e.toDisplayString((F=(T=a.extraData)==null?void 0:T.voyage)==null?void 0:F.number),1)]),e.createElementVNode("div",NF,[VF,e.createElementVNode("div",fF,[e.createElementVNode("span",bF,e.toDisplayString((w=(B=a.extraData)==null?void 0:B.departure)==null?void 0:w.name),1),e.createElementVNode("span",gF,e.toDisplayString(n.computeUTCTime(((O=(f=a.extraData)==null?void 0:f.departure)==null?void 0:O.atd)||((G=(I=a.extraData)==null?void 0:I.departure)==null?void 0:G.etd))),1)])]),e.createElementVNode("div",xF,[kF,e.createElementVNode("div",DF,[e.createElementVNode("span",CF,e.toDisplayString((z=(R=a.extraData)==null?void 0:R.arrival)==null?void 0:z.name),1),e.createElementVNode("span",SF,e.toDisplayString(n.computeUTCTime(((L=(_=a.extraData)==null?void 0:_.arrival)==null?void 0:L.ata)||((W=(H=a.extraData)==null?void 0:H.arrival)==null?void 0:W.eta))),1)])])]),BF,e.createElementVNode("div",wF,[e.createElementVNode("div",AF,[TF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=a.extraData)==null?void 0:P.extraDist)} flex blue`)},e.toDisplayString(((M=a.extraData)==null?void 0:M.extraDist)??"—"),3)]),e.createElementVNode("div",FF,[OF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((U=(Q=a.extraData)==null?void 0:Q.timeAnalysis)==null?void 0:U.totalExtraTime)} flex blue`)},e.toDisplayString(((ne=(J=a.extraData)==null?void 0:J.timeAnalysis)==null?void 0:ne.totalExtraTime)??"—"),3)]),e.createElementVNode("div",PF,[LF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((X=(l=(se=a.extraData)==null?void 0:se.consAnalysis)==null?void 0:l.fo)==null?void 0:X.totalExtraCons)} flex blue`)},e.toDisplayString(((te=(ee=(v=a.extraData)==null?void 0:v.consAnalysis)==null?void 0:ee.fo)==null?void 0:te.totalExtraCons)??"—"),3)]),e.createElementVNode("div",WF,[$F,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ce=(le=(oe=a.extraData)==null?void 0:oe.consAnalysis)==null?void 0:le.dgo)==null?void 0:ce.totalExtraCons)} flex blue`)},e.toDisplayString(((_e=(de=(ie=a.extraData)==null?void 0:ie.consAnalysis)==null?void 0:de.dgo)==null?void 0:_e.totalExtraCons)??"—"),3)])]),HF,e.createElementVNode("div",MF,[e.createElementVNode("img",{style:{width:"100%"},src:(q=a.extraData)==null?void 0:q.chartUrl,alt:""},null,8,IF),GF]),RF,o.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",zF,"Diversion Information")),o.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",UF,[YF,e.createElementVNode("div",ZF,[QF,e.createElementVNode("div",JF,e.toDisplayString(n.computedLngLat((me=a.extraData)==null?void 0:me.startLng,(Ee=a.extraData)==null?void 0:Ee.startLat)),1),e.createElementVNode("div",KF,e.toDisplayString(n.computeUTCTime((ye=a.extraData)==null?void 0:ye.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",jF,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(re=a.extraData)==null?void 0:re.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[0]||(s[0]=K=>n.handleCommit("extra","startFoBrob",K))},null,8,["value"])]),e.createElementVNode("div",XF,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(fe=a.extraData)==null?void 0:fe.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[1]||(s[1]=K=>n.handleCommit("extra","startDgoBrob",K))},null,8,["value"])]),qF,uF]),e.createElementVNode("div",vF,[eO,e.createElementVNode("div",tO,e.toDisplayString(n.computedLngLat((be=a.extraData)==null?void 0:be.endLng,(ge=a.extraData)==null?void 0:ge.endLat)),1),e.createElementVNode("div",oO,e.toDisplayString(n.computeUTCTime((xe=a.extraData)==null?void 0:xe.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",lO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(ke=a.extraData)==null?void 0:ke.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[2]||(s[2]=K=>n.handleCommit("extra","endFoBrob",K))},null,8,["value"])]),e.createElementVNode("div",aO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(De=a.extraData)==null?void 0:De.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=K=>n.handleCommit("extra","endDgoBrob",K))},null,8,["value"])]),e.createElementVNode("div",nO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Te=a.extraData)==null?void 0:Te.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=K=>n.handleCommit("extra","endFoBunkering",K))},null,8,["value"])]),e.createElementVNode("div",sO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Fe=a.extraData)==null?void 0:Fe.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=K=>n.handleCommit("extra","endDgoBunkering",K))},null,8,["value"])])]),e.createElementVNode("div",cO,[iO,dO,e.createElementVNode("div",rO,e.toDisplayString(((Pe=(Oe=a.extraData)==null?void 0:Oe.timeAnalysis)==null?void 0:Pe.actualTime)??"—"),1),e.createElementVNode("div",mO,e.toDisplayString((($e=(We=(Le=a.extraData)==null?void 0:Le.consAnalysis)==null?void 0:We.fo)==null?void 0:$e.actualCons)??"—"),1),e.createElementVNode("div",pO,e.toDisplayString(((Ke=(Ne=(He=a.extraData)==null?void 0:He.consAnalysis)==null?void 0:Ne.dgo)==null?void 0:Ke.actualCons)??"—"),1),hO,_O])])),EO,e.createElementVNode("div",yO,[e.createElementVNode("div",NO,[VO,e.createElementVNode("div",fO,e.toDisplayString(((Xe=(je=a.extraData)==null?void 0:je.cp)==null?void 0:Xe.speed)??"—"),1)]),e.createElementVNode("div",bO,[gO,e.createElementVNode("div",xO,e.toDisplayString(((Se=(A=a.extraData)==null?void 0:A.cp)==null?void 0:Se.fo)??"—"),1)]),e.createElementVNode("div",kO,[DO,e.createElementVNode("div",CO,e.toDisplayString(((qe=(Ge=a.extraData)==null?void 0:Ge.cp)==null?void 0:qe.dgo)??"—"),1)])]),e.createElementVNode("div",SO,[BO,e.createElementVNode("div",wO,[e.createVNode(p,{size:20,onClick:n.handleAdd},{default:e.withCtx(()=>[e.createVNode(c)]),_:1},8,["onClick"])])]),e.createElementVNode("div",AO,[e.createElementVNode("table",null,[TO,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.extraPortList,(K,Mo)=>{var Ra,za,Ua,Ya,Za,Qa,Ja,Ka;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Mo},[e.createElementVNode("tr",null,[e.createElementVNode("td",FO,[e.createVNode(E,{class:"editable-item",value:K==null?void 0:K.name,type:"remotePortSelect",size:"small",align:"center",options:a.portList,onSelect:n.fetchSuggestName,onCommit:ct=>n.handleCommit("port","name",ct,Mo)},null,8,["value","options","onSelect","onCommit"])]),OO,e.createElementVNode("td",null,[e.createVNode(E,{class:"check editable-item",value:(Ra=K==null?void 0:K.arrival)==null?void 0:Ra.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:ct=>n.handleCommit("port","arrival.date",ct,Mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(za=K==null?void 0:K.arrival)==null?void 0:za.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","arrival.foBrob",ct,Mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ua=K==null?void 0:K.arrival)==null?void 0:Ua.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","arrival.dgoBrob",ct,Mo)},null,8,["value","onCommit"])]),PO,LO,e.createElementVNode("td",WO,[e.createVNode(p,{size:20,onClick:ct=>n.handleRemove(Mo)},{default:e.withCtx(()=>[e.createVNode(b)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[$O,e.createElementVNode("td",null,[e.createVNode(E,{class:"check editable-item",value:(Ya=K==null?void 0:K.departure)==null?void 0:Ya.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:ct=>n.handleCommit("port","departure.date",ct,Mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Za=K==null?void 0:K.departure)==null?void 0:Za.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","departure.foBrob",ct,Mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Qa=K==null?void 0:K.departure)==null?void 0:Qa.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","departure.dgoBrob",ct,Mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ja=K==null?void 0:K.departure)==null?void 0:Ja.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","departure.bunkeringFo",ct,Mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ka=K==null?void 0:K.departure)==null?void 0:Ka.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","departure.bunkeringDgo",ct,Mo)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[HO,MO,e.createElementVNode("td",null,e.toDisplayString(((ve=(ue=a.extraData)==null?void 0:ue.timeAnalysis)==null?void 0:ve.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(tt=(et=a.extraData)==null?void 0:et.consAnalysis)==null?void 0:tt.fo)==null?void 0:m.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Me=(Be=($=a.extraData)==null?void 0:$.consAnalysis)==null?void 0:Be.dgo)==null?void 0:Me.portCons)??"—"),1),IO,GO,RO])])])]),zO,e.createElementVNode("div",UO,[YO,e.createElementVNode("div",ZO,[QO,e.createElementVNode("div",JO,[e.createVNode(E,{class:"editable-item",style:{padding:"0px"},value:(Re=a.extraData)==null?void 0:Re.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=K=>n.handleCommit("extraData","actualDist",K,o.index))},null,8,["value"])]),e.createElementVNode("div",KO,[e.createVNode(E,{class:"editable-item",style:{padding:"0px"},value:(pe=a.extraData)==null?void 0:pe.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=K=>n.handleCommit("extraData","priorDist",K,o.index))},null,8,["value"])])]),e.createElementVNode("div",jO,[XO,e.createElementVNode("div",qO,e.toDisplayString(((Ue=a.extraData)==null?void 0:Ue.extraDist)??"—"),1)])]),uO,o.isDistExtra?(e.openBlock(),e.createElementBlock("div",vO,[e.createElementVNode("div",eP,[tP,e.createElementVNode("div",oP,[e.createElementVNode("div",null,e.toDisplayString((ot=a.extraData)==null?void 0:ot.extraDist),1),lP,e.createElementVNode("div",null,e.toDisplayString((dt=(lt=a.extraData)==null?void 0:lt.cp)==null?void 0:dt.speed),1)]),aP,e.createElementVNode("div",nP,e.toDisplayString((mt=(rt=a.extraData)==null?void 0:rt.timeAnalysis)==null?void 0:mt.sailingTime),1),sP]),e.createElementVNode("div",cP,[iP,e.createElementVNode("div",dP,e.toDisplayString((_t=(pt=a.extraData)==null?void 0:pt.timeAnalysis)==null?void 0:_t.sailingTime),1),rP,e.createElementVNode("div",mP,e.toDisplayString(n.computeNum((yt=(Et=a.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:yt.portTime)),1),pP,e.createElementVNode("div",hP,e.toDisplayString((Vt=(Nt=a.extraData)==null?void 0:Nt.timeAnalysis)==null?void 0:Vt.totalExtraTime),1),_P])])):(e.openBlock(),e.createElementBlock("div",EP,[e.createElementVNode("div",yP,[NP,e.createElementVNode("div",VP,[e.createElementVNode("div",null,e.toDisplayString((ft=a.extraData)==null?void 0:ft.priorDist),1),fP,e.createElementVNode("div",null,e.toDisplayString((gt=(bt=a.extraData)==null?void 0:bt.cp)==null?void 0:gt.speed),1)]),bP,e.createElementVNode("div",gP,e.toDisplayString((kt=(xt=a.extraData)==null?void 0:xt.timeAnalysis)==null?void 0:kt.sailingTime),1),xP]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",kP,[DP,e.createElementVNode("div",CP,e.toDisplayString((Ct=(Dt=a.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:Ct.actualTime),1),SP,e.createElementVNode("div",BP,e.toDisplayString((Bt=(St=a.extraData)==null?void 0:St.timeAnalysis)==null?void 0:Bt.sailingTime),1),wP,e.createElementVNode("div",AP,e.toDisplayString((At=(wt=a.extraData)==null?void 0:wt.timeAnalysis)==null?void 0:At.totalExtraTime),1),TP])):(e.openBlock(),e.createElementBlock("div",FP,[OP,e.createElementVNode("div",PP,e.toDisplayString((Ft=(Tt=a.extraData)==null?void 0:Tt.timeAnalysis)==null?void 0:Ft.actualTime),1),LP,e.createElementVNode("div",WP,e.toDisplayString((Pt=(Ot=a.extraData)==null?void 0:Ot.timeAnalysis)==null?void 0:Pt.sailingTime),1),$P,e.createElementVNode("div",HP,e.toDisplayString((so=(no=a.extraData)==null?void 0:no.timeAnalysis)==null?void 0:so.portTime),1),MP,e.createElementVNode("div",IP,e.toDisplayString((io=(co=a.extraData)==null?void 0:co.timeAnalysis)==null?void 0:io.totalExtraTime),1),GP]))])),o.isDistExtra?(e.openBlock(),e.createElementBlock("div",RP,[e.createElementVNode("div",zP,[UP,e.createElementVNode("div",YP,e.toDisplayString(((mo=(ro=a.extraData)==null?void 0:ro.timeAnalysis)==null?void 0:mo.sailingTime)??"—"),1)]),e.createElementVNode("div",ZP,[QP,e.createElementVNode("div",JP,e.toDisplayString(((ho=(po=a.extraData)==null?void 0:po.timeAnalysis)==null?void 0:ho.portTime)??"—"),1)]),e.createElementVNode("div",KP,[jP,e.createElementVNode("div",XP,e.toDisplayString(((Eo=(_o=a.extraData)==null?void 0:_o.timeAnalysis)==null?void 0:Eo.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",qP,[e.createElementVNode("div",uP,[vP,e.createElementVNode("div",eL,e.toDisplayString((Ie=(S=a.extraData)==null?void 0:S.timeAnalysis)==null?void 0:Ie.sailingTime),1)]),e.createElementVNode("div",tL,[oL,e.createElementVNode("div",lL,e.toDisplayString((nt=(at=a.extraData)==null?void 0:at.timeAnalysis)==null?void 0:nt.actualTime),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",aL,[nL,e.createElementVNode("div",sL,e.toDisplayString(((Lt=(ht=a.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:Lt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",cL,[iL,e.createElementVNode("div",dL,e.toDisplayString(($t=(Wt=a.extraData)==null?void 0:Wt.timeAnalysis)==null?void 0:$t.totalExtraTime),1)])])),rL,o.isDistExtra?(e.openBlock(),e.createElementBlock("div",mL,[e.createElementVNode("div",pL,[hL,e.createElementVNode("div",_L,[e.createElementVNode("div",null,e.toDisplayString((Ht=a.extraData)==null?void 0:Ht.extraDist),1),EL,e.createElementVNode("div",null,e.toDisplayString((It=(Mt=a.extraData)==null?void 0:Mt.cp)==null?void 0:It.speed),1)]),yL,e.createElementVNode("div",NL,[e.createElementVNode("div",null,e.toDisplayString((Rt=(Gt=a.extraData)==null?void 0:Gt.cp)==null?void 0:Rt.fo),1),VL,fL]),bL,e.createElementVNode("div",gL,e.toDisplayString((Yt=(Ut=(zt=a.extraData)==null?void 0:zt.consAnalysis)==null?void 0:Ut.fo)==null?void 0:Yt.sailingCons),1),xL]),e.createElementVNode("div",kL,[DL,e.createElementVNode("div",CL,e.toDisplayString((Jt=(Qt=(Zt=a.extraData)==null?void 0:Zt.consAnalysis)==null?void 0:Qt.fo)==null?void 0:Jt.sailingCons),1),SL,e.createElementVNode("div",BL,e.toDisplayString(n.computeNum((Xt=(jt=(Kt=a.extraData)==null?void 0:Kt.consAnalysis)==null?void 0:jt.fo)==null?void 0:Xt.portCons)),1),wL,e.createElementVNode("div",AL,e.toDisplayString((vt=(ut=(qt=a.extraData)==null?void 0:qt.consAnalysis)==null?void 0:ut.fo)==null?void 0:vt.totalExtraCons),1),TL]),e.createElementVNode("div",FL,[OL,e.createElementVNode("div",PL,[e.createElementVNode("div",null,e.toDisplayString((eo=a.extraData)==null?void 0:eo.extraDist),1),LL,e.createElementVNode("div",null,e.toDisplayString((oo=(to=a.extraData)==null?void 0:to.cp)==null?void 0:oo.speed),1)]),WL,e.createElementVNode("div",$L,[e.createElementVNode("div",null,e.toDisplayString((yo=(lo=a.extraData)==null?void 0:lo.cp)==null?void 0:yo.dgo),1),HL,ML]),IL,e.createElementVNode("div",GL,e.toDisplayString((fo=(Vo=(No=a.extraData)==null?void 0:No.consAnalysis)==null?void 0:Vo.dgo)==null?void 0:fo.sailingCons),1),RL]),e.createElementVNode("div",zL,[UL,e.createElementVNode("div",YL,e.toDisplayString((xo=(go=(bo=a.extraData)==null?void 0:bo.consAnalysis)==null?void 0:go.dgo)==null?void 0:xo.sailingCons),1),ZL,e.createElementVNode("div",QL,e.toDisplayString(n.computeNum((Co=(Do=(ko=a.extraData)==null?void 0:ko.consAnalysis)==null?void 0:Do.dgo)==null?void 0:Co.portCons)),1),JL,e.createElementVNode("div",KL,e.toDisplayString((wo=(Bo=(So=a.extraData)==null?void 0:So.consAnalysis)==null?void 0:Bo.dgo)==null?void 0:wo.totalExtraCons),1),jL])])):(e.openBlock(),e.createElementBlock("div",XL,[e.createElementVNode("div",qL,[uL,e.createElementVNode("div",vL,[e.createElementVNode("div",null,e.toDisplayString((Ao=a.extraData)==null?void 0:Ao.priorDist),1),eW,e.createElementVNode("div",null,e.toDisplayString((Fo=(To=a.extraData)==null?void 0:To.cp)==null?void 0:Fo.speed),1)]),tW,e.createElementVNode("div",oW,[e.createElementVNode("div",null,e.toDisplayString((Po=(Oo=a.extraData)==null?void 0:Oo.cp)==null?void 0:Po.fo),1),lW,aW]),nW,e.createElementVNode("div",sW,e.toDisplayString(($o=(Wo=(Lo=a.extraData)==null?void 0:Lo.consAnalysis)==null?void 0:Wo.fo)==null?void 0:$o.sailingCons),1),cW]),e.createElementVNode("div",iW,[dW,e.createElementVNode("div",rW,[e.createElementVNode("div",null,e.toDisplayString((Ho=a.extraData)==null?void 0:Ho.priorDist),1),mW,e.createElementVNode("div",null,e.toDisplayString((zo=(Ro=a.extraData)==null?void 0:Ro.cp)==null?void 0:zo.speed),1)]),pW,e.createElementVNode("div",hW,[e.createElementVNode("div",null,e.toDisplayString((Yo=(Uo=a.extraData)==null?void 0:Uo.cp)==null?void 0:Yo.dgo),1),_W,EW]),yW,e.createElementVNode("div",NW,e.toDisplayString((Jo=(Qo=(Zo=a.extraData)==null?void 0:Zo.consAnalysis)==null?void 0:Qo.dgo)==null?void 0:Jo.sailingCons),1),VW]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",fW,[bW,e.createElementVNode("div",gW,e.toDisplayString((Xo=(jo=(Ko=a.extraData)==null?void 0:Ko.consAnalysis)==null?void 0:jo.fo)==null?void 0:Xo.actualCons),1),xW,e.createElementVNode("div",kW,e.toDisplayString(n.computeNum((vo=(uo=(qo=a.extraData)==null?void 0:qo.consAnalysis)==null?void 0:uo.fo)==null?void 0:vo.sailingCons)),1),DW,e.createElementVNode("div",CW,e.toDisplayString((ol=(tl=(el=a.extraData)==null?void 0:el.consAnalysis)==null?void 0:tl.fo)==null?void 0:ol.totalExtraCons),1),SW])):(e.openBlock(),e.createElementBlock("div",BW,[wW,e.createElementVNode("div",AW,e.toDisplayString((nl=(al=(ll=a.extraData)==null?void 0:ll.consAnalysis)==null?void 0:al.fo)==null?void 0:nl.actualCons),1),TW,e.createElementVNode("div",FW,e.toDisplayString(n.computeNum((il=(cl=(sl=a.extraData)==null?void 0:sl.consAnalysis)==null?void 0:cl.fo)==null?void 0:il.sailingCons)),1),OW,e.createElementVNode("div",PW,e.toDisplayString(n.computeNum((st=(rl=(dl=a.extraData)==null?void 0:dl.consAnalysis)==null?void 0:rl.fo)==null?void 0:st.portCons)),1),LW,e.createElementVNode("div",WW,e.toDisplayString((yl=(El=(pl=a.extraData)==null?void 0:pl.consAnalysis)==null?void 0:El.fo)==null?void 0:yl.totalExtraCons),1),$W])),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",HW,[MW,e.createElementVNode("div",IW,e.toDisplayString((fl=(Vl=(Nl=a.extraData)==null?void 0:Nl.consAnalysis)==null?void 0:Vl.dgo)==null?void 0:fl.actualCons),1),GW,e.createElementVNode("div",RW,e.toDisplayString((xl=(gl=(bl=a.extraData)==null?void 0:bl.consAnalysis)==null?void 0:gl.dgo)==null?void 0:xl.sailingCons),1),zW,e.createElementVNode("div",UW,e.toDisplayString((Cl=(Dl=(kl=a.extraData)==null?void 0:kl.consAnalysis)==null?void 0:Dl.dgo)==null?void 0:Cl.totalExtraCons),1),YW])):(e.openBlock(),e.createElementBlock("div",ZW,[QW,e.createElementVNode("div",JW,e.toDisplayString((wl=(Bl=(Sl=a.extraData)==null?void 0:Sl.consAnalysis)==null?void 0:Bl.dgo)==null?void 0:wl.actualCons),1),KW,e.createElementVNode("div",jW,e.toDisplayString(n.computeNum((Fl=(Tl=(Al=a.extraData)==null?void 0:Al.consAnalysis)==null?void 0:Tl.dgo)==null?void 0:Fl.sailingCons)),1),XW,e.createElementVNode("div",qW,e.toDisplayString(n.computeNum((Ll=(Pl=(Ol=a.extraData)==null?void 0:Ol.consAnalysis)==null?void 0:Pl.dgo)==null?void 0:Ll.portCons)),1),uW,e.createElementVNode("div",vW,e.toDisplayString((Hl=($l=(Wl=a.extraData)==null?void 0:Wl.consAnalysis)==null?void 0:$l.dgo)==null?void 0:Hl.totalExtraCons),1),e$]))])),o.isDistExtra?(e.openBlock(),e.createElementBlock("div",t$,[o$,e.createElementVNode("div",l$,[a$,e.createElementVNode("div",n$,e.toDisplayString(((Gl=(Il=(Ml=a.extraData)==null?void 0:Ml.consAnalysis)==null?void 0:Il.fo)==null?void 0:Gl.sailingCons)??"—"),1),e.createElementVNode("div",s$,e.toDisplayString(((Ul=(zl=(Rl=a.extraData)==null?void 0:Rl.consAnalysis)==null?void 0:zl.dgo)==null?void 0:Ul.sailingCons)??"—"),1)]),e.createElementVNode("div",c$,[i$,e.createElementVNode("div",d$,e.toDisplayString(((Ql=(Zl=(Yl=a.extraData)==null?void 0:Yl.consAnalysis)==null?void 0:Zl.fo)==null?void 0:Ql.portCons)??"—"),1),e.createElementVNode("div",r$,e.toDisplayString(((jl=(Kl=(Jl=a.extraData)==null?void 0:Jl.consAnalysis)==null?void 0:Kl.dgo)==null?void 0:jl.portCons)??"—"),1)]),e.createElementVNode("div",m$,[p$,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ul=(ql=(Xl=a.extraData)==null?void 0:Xl.consAnalysis)==null?void 0:ql.fo)==null?void 0:ul.totalExtraCons)} flex blue center`)},e.toDisplayString(((ta=(ea=(vl=a.extraData)==null?void 0:vl.consAnalysis)==null?void 0:ea.fo)==null?void 0:ta.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((aa=(la=(oa=a.extraData)==null?void 0:oa.consAnalysis)==null?void 0:la.dgo)==null?void 0:aa.totalExtraCons)} flex blue center`)},e.toDisplayString(((ca=(sa=(na=a.extraData)==null?void 0:na.consAnalysis)==null?void 0:sa.dgo)==null?void 0:ca.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",h$,[_$,e.createElementVNode("div",E$,[y$,e.createElementVNode("div",N$,e.toDisplayString((ra=(da=(ia=a.extraData)==null?void 0:ia.consAnalysis)==null?void 0:da.fo)==null?void 0:ra.sailingCons),1),e.createElementVNode("div",V$,e.toDisplayString((ha=(pa=(ma=a.extraData)==null?void 0:ma.consAnalysis)==null?void 0:pa.dgo)==null?void 0:ha.sailingCons),1)]),e.createElementVNode("div",f$,[b$,e.createElementVNode("div",g$,e.toDisplayString((ya=(Ea=(_a=a.extraData)==null?void 0:_a.consAnalysis)==null?void 0:Ea.fo)==null?void 0:ya.actualCons),1),e.createElementVNode("div",x$,e.toDisplayString((fa=(Va=(Na=a.extraData)==null?void 0:Na.consAnalysis)==null?void 0:Va.dgo)==null?void 0:fa.actualCons),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",k$,[D$,e.createElementVNode("div",C$,e.toDisplayString((xa=(ga=(ba=a.extraData)==null?void 0:ba.consAnalysis)==null?void 0:ga.fo)==null?void 0:xa.portCons),1),e.createElementVNode("div",S$,e.toDisplayString((ka=(ao=(Z=a.extraData)==null?void 0:Z.consAnalysis)==null?void 0:ao.dgo)==null?void 0:ka.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",B$,[w$,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Sa=(Ca=(Da=a.extraData)==null?void 0:Da.consAnalysis)==null?void 0:Ca.fo)==null?void 0:Sa.totalExtraCons)} flex blue center`)},e.toDisplayString((Aa=(wa=(Ba=a.extraData)==null?void 0:Ba.consAnalysis)==null?void 0:wa.fo)==null?void 0:Aa.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Ha=(Qe=(Ta=a.extraData)==null?void 0:Ta.consAnalysis)==null?void 0:Qe.dgo)==null?void 0:Ha.totalExtraCons)} flex blue center`)},e.toDisplayString((Ga=(Ia=(Ma=a.extraData)==null?void 0:Ma.consAnalysis)==null?void 0:Ia.dgo)==null?void 0:Ga.totalExtraCons),3)])])),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[a.editable?(e.openBlock(),e.createBlock(g,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[8]||(s[8]=K=>a.advisory=K),height:"320px",onBlur:s[9]||(s[9]=K=>n.handleCommit("comments","comments",K))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[10]||(s[10]=(...K)=>n.decideDisable&&n.decideDisable(...K)),innerHTML:a.advisory&&a.advisory!=="<p><br></p>"?a.advisory:"Please double click to modify remark"},null,40,A$))],2)])}const mn=Ce(XT,[["render",T$],["__scopeId","data-v-eba493df"]]),F$={install(o){o.component("DeviationReport",rn),o.component("FliDeviationReport",mn)}},tZ="",O$={name:"OrmStoppage",components:{IdmBrand:Io,Editor:Go},props:{report:{type:Object,default:()=>({})}},emits:["commit"],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+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4j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aGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,remarks:void 0,editable:!1,loading:!0}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return o?`${j(o).utc().format(s)}`:""}},computeLat(){return function(o){return ae.LngLatHelper.lat2pretty(o,2)}},computeLng(){return function(o){return ae.LngLatHelper.lng2pretty(o,2)}},computeRoundPrecision(){return function(o,s=3){return o==="-"?"-":ae.LngLatHelper.roundPrecision(o,s)}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},methods:{handleCommit(o){this.editable=!1,this.remarks=o,this.$emit("commit",o)}}},Ae=o=>(e.pushScopeId("data-v-e829fef7"),o=o(),e.popScopeId(),o),P$={class:"stoppage-report"},L$={class:"content-box"},W$={class:"info-box border"},$$={class:"flex-between row"},H$={class:"flex-between",style:{width:"48%"}},M$=Ae(()=>e.createElementVNode("label",{class:"label"},"Prepared For:",-1)),I$={class:"flex-between",style:{width:"48%"}},G$=Ae(()=>e.createElementVNode("label",{class:"label"},"Departure Port:",-1)),R$={style:{"margin-left":"5px"}},z$={class:"flex-between row"},U$={class:"flex-between",style:{width:"48%"}},Y$=Ae(()=>e.createElementVNode("label",{class:"label"},"Vessel:",-1)),Z$={class:"flex-between",style:{width:"48%"}},Q$=Ae(()=>e.createElementVNode("label",{class:"label"},"Arrival Port:",-1)),J$={style:{"margin-left":"5px"}},K$={class:"flex-between row"},j$={class:"flex-between",style:{width:"48%"}},X$=Ae(()=>e.createElementVNode("label",{class:"label"},"Voyage No:",-1)),q$={class:"flex-between",style:{width:"48%"}},u$=Ae(()=>e.createElementVNode("label",{class:"label"},"Load Condition:",-1)),v$={class:"section summary-section"},eH=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Summary",-1)),tH={class:"formula-block flex-between border"},oH={class:"item"},lH=Ae(()=>e.createElementVNode("div",{class:"title"},"Total Time Lost",-1)),aH={class:"value flex-end"},nH={key:0},sH=Ae(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),cH={class:"gain"},iH=Ae(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),dH={key:1},rH=Ae(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),mH={class:"lost"},pH=Ae(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),hH={key:2},_H={class:"item"},EH=Ae(()=>e.createElementVNode("div",{class:"title"},"FO Total Consumption",-1)),yH={class:"value flex-end"},NH={key:0},VH=Ae(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),fH={class:"gain"},bH=Ae(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),gH={key:1},xH=Ae(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),kH={class:"lost"},DH=Ae(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),CH={key:2},SH={class:"item"},BH=Ae(()=>e.createElementVNode("div",{class:"title"},"MGO Total Consumption",-1)),wH={class:"value flex-end"},AH={key:0},TH=Ae(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),FH={class:"gain"},OH=Ae(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),PH={key:1},LH=Ae(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),WH={class:"lost"},$H=Ae(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),HH={key:2},MH=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Remarks",-1)),IH={class:"section-content"},GH={key:0,class:""},RH=["innerHTML"],zH={key:1},UH={class:"section table-section"},YH=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Stoppage Info",-1)),ZH=Ae(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:2,class:"label"},"NQ"),e.createElementVNode("th",{rowspan:2,class:"label"},"Activity"),e.createElementVNode("th",{rowspan:2,class:"label"},"Position"),e.createElementVNode("th",{rowspan:2,class:"label"},"Date"),e.createElementVNode("th",{colspan:2,class:"label"},"BROB (mt)"),e.createElementVNode("th",{rowspan:2,class:"label"},"Time Lost (hrs)"),e.createElementVNode("th",{colspan:2,class:"label"},"TTL CONS (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO")])],-1)),QH=Ae(()=>e.createElementVNode("td",{rowspan:2},"1",-1)),JH=Ae(()=>e.createElementVNode("td",null,"Stopped",-1)),KH={rowspan:2},jH={rowspan:2},XH={rowspan:2},qH=Ae(()=>e.createElementVNode("td",null,"Resumed",-1)),uH={class:"section map-section"},vH=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Voayge Map",-1)),eM=["src"];function tM(o,s,t,r,a,n){var p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,X,v,ee,te,oe,le,ce,ie,de,_e,q,me,Ee,ye;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",P$,[e.createVNode(E,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",L$,[e.createElementVNode("div",W$,[e.createElementVNode("div",$$,[e.createElementVNode("div",H$,[M$,e.createElementVNode("div",null,e.toDisplayString((p=t.report)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",I$,[G$,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((g=(b=t.report)==null?void 0:b.departure)==null?void 0:g.name),1),e.createTextVNode(" , "),e.createElementVNode("span",R$,e.toDisplayString(n.computeUTCTime(((N=(h=t.report)==null?void 0:h.departure)==null?void 0:N.atd)||((x=(D=t.report)==null?void 0:D.departure)==null?void 0:x.etd))),1)])])]),e.createElementVNode("div",z$,[e.createElementVNode("div",U$,[Y$,e.createElementVNode("div",null,e.toDisplayString((k=(C=t.report)==null?void 0:C.vessel)==null?void 0:k.name),1)]),e.createElementVNode("div",Z$,[Q$,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((F=(T=t.report)==null?void 0:T.arrival)==null?void 0:F.name),1),e.createTextVNode(" , "),e.createElementVNode("span",J$,e.toDisplayString(n.computeUTCTime(((w=(B=t.report)==null?void 0:B.arrival)==null?void 0:w.ata)||((O=(f=t.report)==null?void 0:f.arrival)==null?void 0:O.eta))),1)])])]),e.createElementVNode("div",K$,[e.createElementVNode("div",j$,[X$,e.createElementVNode("div",null,e.toDisplayString((G=(I=t.report)==null?void 0:I.voyage)==null?void 0:G.number),1)]),e.createElementVNode("div",q$,[u$,e.createElementVNode("div",null,e.toDisplayString((z=(R=t.report)==null?void 0:R.voyage)==null?void 0:z.loadCondition),1)])])]),e.createElementVNode("div",v$,[eH,e.createElementVNode("div",tH,[e.createElementVNode("div",oH,[lH,e.createElementVNode("div",aH,[((_=t.report)==null?void 0:_.totalTime)<0?(e.openBlock(),e.createElementBlock("div",nH,[sH,e.createElementVNode("span",cH,e.toDisplayString((L=t.report)==null?void 0:L.totalTime),1),iH])):((H=t.report)==null?void 0:H.totalTime)>=0?(e.openBlock(),e.createElementBlock("div",dH,[rH,e.createElementVNode("span",mH,e.toDisplayString((W=t.report)==null?void 0:W.totalTime),1),pH])):(e.openBlock(),e.createElementBlock("div",hH,"N/A"))])]),e.createElementVNode("div",_H,[EH,e.createElementVNode("div",yH,[((P=t.report)==null?void 0:P.totalFoCons)<0?(e.openBlock(),e.createElementBlock("div",NH,[VH,e.createElementVNode("span",fH,e.toDisplayString((M=t.report)==null?void 0:M.totalFoCons),1),bH])):((Q=t.report)==null?void 0:Q.totalFoCons)>=0?(e.openBlock(),e.createElementBlock("div",gH,[xH,e.createElementVNode("span",kH,e.toDisplayString((U=t.report)==null?void 0:U.totalFoCons),1),DH])):(e.openBlock(),e.createElementBlock("div",CH,"N/A"))])]),e.createElementVNode("div",SH,[BH,e.createElementVNode("div",wH,[((J=t.report)==null?void 0:J.totalDgoCons)<0?(e.openBlock(),e.createElementBlock("div",AH,[TH,e.createElementVNode("span",FH,e.toDisplayString((ne=t.report)==null?void 0:ne.totalDgoCons),1),OH])):((se=t.report)==null?void 0:se.totalDgoCons)>=0?(e.openBlock(),e.createElementBlock("div",PH,[LH,e.createElementVNode("span",WH,e.toDisplayString((l=t.report)==null?void 0:l.totalDgoCons),1),$H])):(e.openBlock(),e.createElementBlock("div",HH,"N/A"))])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(a.remarks)?"print-hidden":""])},[MH,e.createElementVNode("div",IH,[a.editable?(e.openBlock(),e.createElementBlock("div",GH,[a.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=re=>a.remarks=re),class:"editor",height:"80px",onBlur:s[1]||(s[1]=re=>n.handleCommit(re))},null,8,["modelValue"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-block",onDblclick:s[2]||(s[2]=re=>a.editable=!0)},[n.computeBlankHtml(a.remarks)?(e.openBlock(),e.createElementBlock("div",zH,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:a.remarks},null,8,RH))],32))])],2),e.createElementVNode("div",UH,[YH,e.createElementVNode("table",null,[ZH,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[QH,JH,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((X=t.report)==null?void 0:X.stopLat).pretty)+" / "+e.toDisplayString(n.computeLng((v=t.report)==null?void 0:v.stopLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((ee=t.report)==null?void 0:ee.stopTime)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((te=t.report)==null?void 0:te.stopFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((oe=t.report)==null?void 0:oe.stopDgoBrob)??"-")),1),e.createElementVNode("td",KH,e.toDisplayString(n.computeRoundPrecision(((le=t.report)==null?void 0:le.totalTime)??"-")),1),e.createElementVNode("td",jH,e.toDisplayString(n.computeRoundPrecision(((ce=t.report)==null?void 0:ce.totalFoCons)??"-")),1),e.createElementVNode("td",XH,e.toDisplayString(n.computeRoundPrecision(((ie=t.report)==null?void 0:ie.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[qH,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((de=t.report)==null?void 0:de.resumeLat).pretty)+" / "+e.toDisplayString(n.computeLng((_e=t.report)==null?void 0:_e.resumeLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((q=t.report)==null?void 0:q.resumeTime)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((me=t.report)==null?void 0:me.resumeFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((Ee=t.report)==null?void 0:Ee.resumeDgoBrob)??"-")),1)])])])]),e.createElementVNode("div",uH,[vH,e.createElementVNode("img",{src:(ye=t.report)==null?void 0:ye.chartUrl,alt:""},null,8,eM)])])])}const pn=Ce(O$,[["render",tM],["__scopeId","data-v-e829fef7"]]),oM={install(o){o.component("StoppageReport",pn)}},oZ="",lM={name:"OrmComparison",components:{Editor:Go,IdmBrand:Io},props:{report:{type:Object,default:()=>({})}},emits:["commit","refresh"],data(){return{advisory:void 0,id:void 0,editable:!1}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm"){return o?`${j(o).utc().format(s)}Z`:"-"}},computeColor(){return function(o){return o>0?"fail":o<0?"success":""}},compareTime(){return function(o,s){return o&&s?ae.LngLatHelper.roundPrecision(o-s):"-"}},computeSummary(){return function(o,s){if(o===0)return"No difference";let t="";return o>0?s==="time"?t=`Lost ${o}hrs`:t=`Over consumption ${o}mt`:s==="time"?t=`Saving ${Math.abs(o)}hrs`:t=`Under consumption ${Math.abs(o)}mt`,t}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(){var o,s;(o=this.report)!=null&&o.id&&(this.advisory=((s=this.report)==null?void 0:s.comments)||"")},immediate:!0}},methods:{async handleCommit(o,s){this.editable=!1,this.advisory=s,this.$emit("commit",{key:o,value:s})}}},Ve=o=>(e.pushScopeId("data-v-99108259"),o=o(),e.popScopeId(),o),aM={class:"comparison-report"},nM={class:"report-summary"},sM={class:"summary-item"},cM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),iM={class:"flexL gray"},dM={class:"summary-item"},rM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),mM={class:"flexL gray"},pM={class:"summary-item"},hM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),_M={class:"flexL gray"},EM={class:"summary-item"},yM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),NM={class:"flexL gray"},VM={class:"summary-item"},fM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),bM={class:"flexL gray"},gM={class:"summary-item"},xM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),kM={class:"flexL gray",style:{display:"flex"}},DM={class:"flex"},CM={class:"flexM"},SM={class:"summary-item"},BM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),wM={class:"flexL gray",style:{display:"flex"}},AM={class:"flex"},TM={class:"flexM"},FM=Ve(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),OM={class:"report-summary"},PM={class:"summary-item"},LM=Ve(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),WM={class:"summary-item"},$M=Ve(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),HM={class:"summary-item"},MM=Ve(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),IM=Ve(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),GM={class:"report-map"},RM=["src"],zM=e.createStaticVNode('<div class="legend" data-v-99108259><div class="legend-item" data-v-99108259><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-99108259></div><div data-v-99108259>Actual Route</div></div><div class="legend-item" data-v-99108259><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-99108259></div><div data-v-99108259>Recommended Route</div></div></div>',1),UM={key:0,class:"subtitle"},YM={key:1,class:"report-summary"},ZM={class:"summary-item"},QM=Ve(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),JM={class:"flexL blue center"},KM={class:"summary-item"},jM=Ve(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),XM={class:"flexL blue center"},qM={class:"summary-item"},uM=Ve(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),vM={class:"flexL blue center"},eI=Ve(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),tI={class:"report-summary"},oI=Ve(()=>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)),lI={class:"summary-item"},aI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),nI={class:"flex blue-light center"},sI={class:"flex blue-light center"},cI={class:"summary-item"},iI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),dI={class:"flex blue-light center"},rI={class:"flex blue-light center"},mI={class:"summary-item"},pI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),hI={class:"flex blue-light center"},_I={class:"flex blue-light center"},EI={class:"summary-item"},yI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),NI={class:"flex blue-light center"},VI={class:"flex blue-light center"},fI={class:"summary-item"},bI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),gI={class:"flex blue-light center"},xI={class:"flex blue-light center"},kI={class:"summary-item"},DI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),CI={class:"flex blue-light center"},SI={class:"flex blue-light center"},BI={class:"summary-item"},wI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),AI={class:"flex blue-light center italic"},TI=Ve(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),FI={class:"report-summary"},OI=Ve(()=>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)),PI={class:"summary-item"},LI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),WI={class:"flex blue-light center"},$I={class:"flex blue-light center"},HI={class:"summary-item"},MI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),II={class:"flex blue-light center"},GI={class:"flex blue-light center"},RI={class:"summary-item"},zI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),UI={class:"flex blue-light center"},YI={class:"flex blue-light center"},ZI={class:"summary-item"},QI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),JI={class:"flex blue-light center"},KI={class:"flex blue-light center"},jI={class:"summary-item"},XI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),qI={class:"flex blue-light center italic"},uI={class:"summary-item"},vI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),eG={class:"flex blue-light center italic"},tG=["innerHTML"];function oG(o,s,t,r,a,n){var p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,X,v,ee,te,oe,le,ce,ie,de,_e,q,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",aM,[e.createVNode(E,{name:"Voyage Comparison Report"}),e.createElementVNode("div",nM,[e.createElementVNode("div",sM,[cM,e.createElementVNode("div",iM,e.toDisplayString((b=(p=t.report)==null?void 0:p.vessel)==null?void 0:b.name),1)]),e.createElementVNode("div",dM,[rM,e.createElementVNode("div",mM,e.toDisplayString((g=t.report)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",pM,[hM,e.createElementVNode("div",_M,e.toDisplayString((N=(h=t.report)==null?void 0:h.vessel)==null?void 0:N.type),1)]),e.createElementVNode("div",EM,[yM,e.createElementVNode("div",NM,e.toDisplayString((x=(D=t.report)==null?void 0:D.voyage)==null?void 0:x.loadCondition),1)]),e.createElementVNode("div",VM,[fM,e.createElementVNode("div",bM,e.toDisplayString((k=(C=t.report)==null?void 0:C.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",gM,[xM,e.createElementVNode("div",kM,[e.createElementVNode("span",DM,e.toDisplayString((F=(T=t.report)==null?void 0:T.departure)==null?void 0:F.name),1),e.createElementVNode("span",CM,e.toDisplayString(n.computeUTCTime(((w=(B=t.report)==null?void 0:B.departure)==null?void 0:w.atd)||((O=(f=t.report)==null?void 0:f.departure)==null?void 0:O.etd))),1)])]),e.createElementVNode("div",SM,[BM,e.createElementVNode("div",wM,[e.createElementVNode("span",AM,e.toDisplayString((G=(I=t.report)==null?void 0:I.arrival)==null?void 0:G.name),1),e.createElementVNode("span",TM,e.toDisplayString(n.computeUTCTime(((z=(R=t.report)==null?void 0:R.arrival)==null?void 0:z.ata)||((L=(_=t.report)==null?void 0:_.arrival)==null?void 0:L.eta))),1)])])]),FM,e.createElementVNode("div",OM,[e.createElementVNode("div",PM,[LM,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((H=t.report)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(n.computeSummary((W=t.report)==null?void 0:W.diffTime,"time")),3)]),e.createElementVNode("div",WM,[$M,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=t.report)==null?void 0:P.diffFoCons)} flex blue`)},e.toDisplayString(n.computeSummary((M=t.report)==null?void 0:M.diffFoCons,"oil")),3)]),e.createElementVNode("div",HM,[MM,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Q=t.report)==null?void 0:Q.diffDgoCons)} flex blue`)},e.toDisplayString(n.computeSummary((U=t.report)==null?void 0:U.diffDgoCons,"oil")),3)])]),IM,e.createElementVNode("div",GM,[e.createElementVNode("img",{style:{width:"100%"},src:(J=t.report)==null?void 0:J.chartUrl,alt:""},null,8,RM),zM]),(ne=t.report)!=null&&ne.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",UM,"CP Terms")),(se=t.report)!=null&&se.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",YM,[e.createElementVNode("div",ZM,[QM,e.createElementVNode("div",JM,e.toDisplayString(((X=(l=t.report)==null?void 0:l.cp)==null?void 0:X.speed)??"—"),1)]),e.createElementVNode("div",KM,[jM,e.createElementVNode("div",XM,e.toDisplayString(((ee=(v=t.report)==null?void 0:v.cp)==null?void 0:ee.fo)??"—"),1)]),e.createElementVNode("div",qM,[uM,e.createElementVNode("div",vM,e.toDisplayString(((oe=(te=t.report)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),eI,e.createElementVNode("div",tI,[oI,e.createElementVNode("div",lI,[aI,e.createElementVNode("div",nI,e.toDisplayString(((le=t.report)==null?void 0:le.actualDist)??"—"),1),e.createElementVNode("div",sI,e.toDisplayString(((ce=t.report)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",cI,[iI,e.createElementVNode("div",dI,e.toDisplayString(((ie=t.report)==null?void 0:ie.actualTime)??"—"),1),e.createElementVNode("div",rI,e.toDisplayString(((de=t.report)==null?void 0:de.recmdTime)??"—"),1)]),e.createElementVNode("div",mI,[pI,e.createElementVNode("div",hI,e.toDisplayString(((_e=t.report)==null?void 0:_e.actualAvgSpd)??"—"),1),e.createElementVNode("div",_I,e.toDisplayString(((q=t.report)==null?void 0:q.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",EI,[yI,e.createElementVNode("div",NI,e.toDisplayString(((me=t.report)==null?void 0:me.actualAvgCF)??"—"),1),e.createElementVNode("div",VI,e.toDisplayString(((Ee=t.report)==null?void 0:Ee.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",fI,[bI,e.createElementVNode("div",gI,e.toDisplayString(((ye=t.report)==null?void 0:ye.actualAvgWF)??"—"),1),e.createElementVNode("div",xI,e.toDisplayString(((re=t.report)==null?void 0:re.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",kI,[DI,e.createElementVNode("div",CI,e.toDisplayString(((fe=t.report)==null?void 0:fe.actualPfmSpd)??"—"),1),e.createElementVNode("div",SI,e.toDisplayString(((be=t.report)==null?void 0:be.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",BI,[wI,e.createElementVNode("div",AI,e.toDisplayString(n.compareTime((ge=t.report)==null?void 0:ge.actualTime,(xe=t.report)==null?void 0:xe.recmdTime)),1)])]),TI,e.createElementVNode("div",FI,[OI,e.createElementVNode("div",PI,[LI,e.createElementVNode("div",WI,e.toDisplayString(((ke=t.report)==null?void 0:ke.actualAvgFoCons)??"-"),1),e.createElementVNode("div",$I,e.toDisplayString(((De=t.report)==null?void 0:De.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",HI,[MI,e.createElementVNode("div",II,e.toDisplayString(((Te=t.report)==null?void 0:Te.actualFoCons)??"-"),1),e.createElementVNode("div",GI,e.toDisplayString(((Fe=t.report)==null?void 0:Fe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",RI,[zI,e.createElementVNode("div",UI,e.toDisplayString(((Oe=t.report)==null?void 0:Oe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",YI,e.toDisplayString(((Pe=t.report)==null?void 0:Pe.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",ZI,[QI,e.createElementVNode("div",JI,e.toDisplayString(((Le=t.report)==null?void 0:Le.actualDgoCons)??"-"),1),e.createElementVNode("div",KI,e.toDisplayString(((We=t.report)==null?void 0:We.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",jI,[XI,e.createElementVNode("div",qI,e.toDisplayString((($e=t.report)==null?void 0:$e.diffFoCons)??"-"),1)]),e.createElementVNode("div",uI,[vI,e.createElementVNode("div",eG,e.toDisplayString(((He=t.report)==null?void 0:He.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${n.computeBlankHtml(a.advisory)?"print-hidden":""}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${n.computeBlankHtml(a.advisory)?"print-hidden":""}`),style:{"min-height":"50px"}},[a.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[0]||(s[0]=Ne=>a.advisory=Ne),height:"320px",onBlur:s[1]||(s[1]=Ne=>n.handleCommit("comments",Ne))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=Ne=>a.editable=!a.editable),innerHTML:n.computeBlankHtml(a.advisory)?"Please double click to modify remark":a.advisory},null,40,tG))],2)])}const hn=Ce(lM,[["render",oG],["__scopeId","data-v-99108259"]]),lZ="",lG={name:"ComparisonFli",components:{Editor:Go},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{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+d4ExaSzUQBAGIAEFXdGBoH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dFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm"){return o?`${j(o).utc().format(s)}Z`:"-"}},computeColor(){return function(o){return o>0?"fail":o<0?"success":""}},compareTime(){return function(o,s){return o&&s?ae.LngLatHelper.roundPrecision(o-s):"-"}},computeSummary(){return function(o,s){if(o===0)return"No difference";let t="";return o>0?s==="time"?t=`Lost ${o}hrs`:t=`Over consumption ${o}mt`:s==="time"?t=`Saving ${Math.abs(o)}hrs`:t=`Under consumption ${Math.abs(o)}mt`,t}}},watch:{data:{handler(o){o&&this.fetchData()},immediate:!0}},methods:{fetchData(){var o,s;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(o=this.data)!=null&&o.comments?(s=this.data)==null?void 0:s.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(o,s){this.editable=!1;const t={[o]:s};await Fa.put(`${this.gateway}/api/als/comparisons/${this.id}`,t,{headers:{Authorization:this.token}}),this.advisory=s}}},he=o=>(e.pushScopeId("data-v-24b3bc72"),o=o(),e.popScopeId(),o),aG={class:"comparison-report"},nG=he(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),sG={class:"report-header"},cG={class:"header-title",style:{position:"relative !important"}},iG={class:"header-title-content"},dG=he(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),rG={class:"title-date"},mG={class:"report-summary"},pG={class:"summary-item"},hG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),_G={class:"flexL gray"},EG={class:"summary-item"},yG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),NG={class:"flexL gray"},VG={class:"summary-item"},fG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),bG={class:"flexL gray"},gG={class:"summary-item"},xG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),kG={class:"flexL gray"},DG={class:"summary-item"},CG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),SG={class:"flexL gray"},BG={class:"summary-item"},wG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),AG={class:"flexL gray",style:{display:"flex"}},TG={class:"flex"},FG={class:"flexM"},OG={class:"summary-item"},PG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),LG={class:"flexL gray",style:{display:"flex"}},WG={class:"flex"},$G={class:"flexM"},HG=he(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),MG={class:"report-summary"},IG={class:"summary-item"},GG=he(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),RG={class:"summary-item"},zG=he(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),UG={class:"summary-item"},YG=he(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),ZG=he(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),QG={class:"report-map"},JG=["src"],KG=e.createStaticVNode('<div class="legend" data-v-24b3bc72><div class="legend-item" data-v-24b3bc72><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-24b3bc72></div><div data-v-24b3bc72>Actual Route</div></div><div class="legend-item" data-v-24b3bc72><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-24b3bc72></div><div data-v-24b3bc72>Ocean π Recommended Route</div></div></div>',1),jG=he(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),XG={key:0,class:"subtitle"},qG={key:1,class:"report-summary"},uG={class:"summary-item"},vG=he(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),eR={class:"flexL blue center"},tR={class:"summary-item"},oR=he(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),lR={class:"flexL blue center"},aR={class:"summary-item"},nR=he(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),sR={class:"flexL blue center"},cR=he(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),iR={class:"report-summary"},dR=he(()=>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)),rR={class:"summary-item"},mR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),pR={class:"flex blue-light center"},hR={class:"flex blue-light center"},_R={class:"summary-item"},ER=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),yR={class:"flex blue-light center"},NR={class:"flex blue-light center"},VR={class:"summary-item"},fR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),bR={class:"flex blue-light center"},gR={class:"flex blue-light center"},xR={class:"summary-item"},kR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),DR={class:"flex blue-light center"},CR={class:"flex blue-light center"},SR={class:"summary-item"},BR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),wR={class:"flex blue-light center"},AR={class:"flex blue-light center"},TR={class:"summary-item"},FR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),OR={class:"flex blue-light center"},PR={class:"flex blue-light center"},LR={class:"summary-item"},WR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),$R={class:"flex blue-light center italic"},HR=he(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),MR={class:"report-summary"},IR=he(()=>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)),GR={class:"summary-item"},RR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),zR={class:"flex blue-light center"},UR={class:"flex blue-light center"},YR={class:"summary-item"},ZR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),QR={class:"flex blue-light center"},JR={class:"flex blue-light center"},KR={class:"summary-item"},jR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),XR={class:"flex blue-light center"},qR={class:"flex blue-light center"},uR={class:"summary-item"},vR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),ez={class:"flex blue-light center"},tz={class:"flex blue-light center"},oz={class:"summary-item"},lz=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),az={class:"flex blue-light center italic"},nz={class:"summary-item"},sz=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),cz={class:"flex blue-light center italic"},iz=["innerHTML"];function dz(o,s,t,r,a,n){var c,p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,X,v,ee,te,oe,le,ce,ie,de,_e,q,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He;const E=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",aG,[nG,e.createElementVNode("div",sG,[e.createElementVNode("div",cG,[e.createElementVNode("div",iG,[dG,e.createElementVNode("div",rG,e.toDisplayString(n.computeUTCTime(((c=a.comparisonData)==null?void 0:c.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",mG,[e.createElementVNode("div",pG,[hG,e.createElementVNode("div",_G,e.toDisplayString((b=(p=a.comparisonData)==null?void 0:p.vessel)==null?void 0:b.name),1)]),e.createElementVNode("div",EG,[yG,e.createElementVNode("div",NG,e.toDisplayString((g=a.comparisonData)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",VG,[fG,e.createElementVNode("div",bG,e.toDisplayString((N=(h=a.comparisonData)==null?void 0:h.vessel)==null?void 0:N.type),1)]),e.createElementVNode("div",gG,[xG,e.createElementVNode("div",kG,e.toDisplayString((x=(D=a.comparisonData)==null?void 0:D.voyage)==null?void 0:x.loadCondition),1)]),e.createElementVNode("div",DG,[CG,e.createElementVNode("div",SG,e.toDisplayString((k=(C=a.comparisonData)==null?void 0:C.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",BG,[wG,e.createElementVNode("div",AG,[e.createElementVNode("span",TG,e.toDisplayString((F=(T=a.comparisonData)==null?void 0:T.departure)==null?void 0:F.name),1),e.createElementVNode("span",FG,e.toDisplayString(n.computeUTCTime(((w=(B=a.comparisonData)==null?void 0:B.departure)==null?void 0:w.atd)||((O=(f=a.comparisonData)==null?void 0:f.departure)==null?void 0:O.etd))),1)])]),e.createElementVNode("div",OG,[PG,e.createElementVNode("div",LG,[e.createElementVNode("span",WG,e.toDisplayString((G=(I=a.comparisonData)==null?void 0:I.arrival)==null?void 0:G.name),1),e.createElementVNode("span",$G,e.toDisplayString(n.computeUTCTime(((z=(R=a.comparisonData)==null?void 0:R.arrival)==null?void 0:z.ata)||((L=(_=a.comparisonData)==null?void 0:_.arrival)==null?void 0:L.eta))),1)])])]),HG,e.createElementVNode("div",MG,[e.createElementVNode("div",IG,[GG,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((H=a.comparisonData)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(n.computeSummary((W=a.comparisonData)==null?void 0:W.diffTime,"time")),3)]),e.createElementVNode("div",RG,[zG,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=a.comparisonData)==null?void 0:P.diffFoCons)} flex blue`)},e.toDisplayString(n.computeSummary((M=a.comparisonData)==null?void 0:M.diffFoCons,"oil")),3)]),e.createElementVNode("div",UG,[YG,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Q=a.comparisonData)==null?void 0:Q.diffDgoCons)} flex blue`)},e.toDisplayString(n.computeSummary((U=a.comparisonData)==null?void 0:U.diffDgoCons,"oil")),3)])]),ZG,e.createElementVNode("div",QG,[e.createElementVNode("img",{style:{width:"100%"},src:(J=a.comparisonData)==null?void 0:J.chartUrl,alt:""},null,8,JG),KG]),jG,(ne=a.comparisonData)!=null&&ne.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",XG,"CP Terms")),(se=a.comparisonData)!=null&&se.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",qG,[e.createElementVNode("div",uG,[vG,e.createElementVNode("div",eR,e.toDisplayString(((X=(l=a.comparisonData)==null?void 0:l.cp)==null?void 0:X.speed)??"—"),1)]),e.createElementVNode("div",tR,[oR,e.createElementVNode("div",lR,e.toDisplayString(((ee=(v=a.comparisonData)==null?void 0:v.cp)==null?void 0:ee.fo)??"—"),1)]),e.createElementVNode("div",aR,[nR,e.createElementVNode("div",sR,e.toDisplayString(((oe=(te=a.comparisonData)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),cR,e.createElementVNode("div",iR,[dR,e.createElementVNode("div",rR,[mR,e.createElementVNode("div",pR,e.toDisplayString(((le=a.comparisonData)==null?void 0:le.actualDist)??"—"),1),e.createElementVNode("div",hR,e.toDisplayString(((ce=a.comparisonData)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",_R,[ER,e.createElementVNode("div",yR,e.toDisplayString(((ie=a.comparisonData)==null?void 0:ie.actualTime)??"—"),1),e.createElementVNode("div",NR,e.toDisplayString(((de=a.comparisonData)==null?void 0:de.recmdTime)??"—"),1)]),e.createElementVNode("div",VR,[fR,e.createElementVNode("div",bR,e.toDisplayString(((_e=a.comparisonData)==null?void 0:_e.actualAvgSpd)??"—"),1),e.createElementVNode("div",gR,e.toDisplayString(((q=a.comparisonData)==null?void 0:q.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",xR,[kR,e.createElementVNode("div",DR,e.toDisplayString(((me=a.comparisonData)==null?void 0:me.actualAvgCF)??"—"),1),e.createElementVNode("div",CR,e.toDisplayString(((Ee=a.comparisonData)==null?void 0:Ee.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",SR,[BR,e.createElementVNode("div",wR,e.toDisplayString(((ye=a.comparisonData)==null?void 0:ye.actualAvgWF)??"—"),1),e.createElementVNode("div",AR,e.toDisplayString(((re=a.comparisonData)==null?void 0:re.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",TR,[FR,e.createElementVNode("div",OR,e.toDisplayString(((fe=a.comparisonData)==null?void 0:fe.actualPfmSpd)??"—"),1),e.createElementVNode("div",PR,e.toDisplayString(((be=a.comparisonData)==null?void 0:be.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",LR,[WR,e.createElementVNode("div",$R,e.toDisplayString(n.compareTime((ge=a.comparisonData)==null?void 0:ge.actualTime,(xe=a.comparisonData)==null?void 0:xe.recmdTime)),1)])]),HR,e.createElementVNode("div",MR,[IR,e.createElementVNode("div",GR,[RR,e.createElementVNode("div",zR,e.toDisplayString(((ke=a.comparisonData)==null?void 0:ke.actualAvgFoCons)??"-"),1),e.createElementVNode("div",UR,e.toDisplayString(((De=a.comparisonData)==null?void 0:De.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",YR,[ZR,e.createElementVNode("div",QR,e.toDisplayString(((Te=a.comparisonData)==null?void 0:Te.actualFoCons)??"-"),1),e.createElementVNode("div",JR,e.toDisplayString(((Fe=a.comparisonData)==null?void 0:Fe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",KR,[jR,e.createElementVNode("div",XR,e.toDisplayString(((Oe=a.comparisonData)==null?void 0:Oe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",qR,e.toDisplayString(((Pe=a.comparisonData)==null?void 0:Pe.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",uR,[vR,e.createElementVNode("div",ez,e.toDisplayString(((Le=a.comparisonData)==null?void 0:Le.actualDgoCons)??"-"),1),e.createElementVNode("div",tz,e.toDisplayString(((We=a.comparisonData)==null?void 0:We.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",oz,[lz,e.createElementVNode("div",az,e.toDisplayString((($e=a.comparisonData)==null?void 0:$e.diffFoCons)??"-"),1)]),e.createElementVNode("div",nz,[sz,e.createElementVNode("div",cz,e.toDisplayString(((He=a.comparisonData)==null?void 0:He.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[a.editable?(e.openBlock(),e.createBlock(E,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[0]||(s[0]=Ne=>a.advisory=Ne),height:"320px",onBlur:s[1]||(s[1]=Ne=>n.handleCommit("comments",Ne))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=(...Ne)=>n.decideDisable&&n.decideDisable(...Ne)),innerHTML:a.advisory&&a.advisory!=="<p><br></p>"?a.advisory:"Please double click to modify remark"},null,40,iz))],2)])}const _n=Ce(lG,[["render",dz],["__scopeId","data-v-24b3bc72"]]),rz={install(o){o.component("OrmComparisonReport",hn),o.component("FliComparisonReport",_n)}},aZ="",mz={name:"IdmThird",props:{name:{type:String,default:""}}},pz={class:"section brand-section flex-space"},hz=e.createStaticVNode('<div class="logo-box flex-center" data-v-d5871b6a><a class="logo" href="https://www.idmwx.com" target="_blank" data-v-d5871b6a><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-d5871b6a><div class="brand" data-v-d5871b6a><span data-v-d5871b6a>Weather Routing</span><div class="company" data-v-d5871b6a>Ocean Right Marine Service</div></div></a></div>',1),_z={class:"report-box flex-space"},Ez={class:"name flex-start"},yz=e.createStaticVNode('<div class="support flex-end" data-v-d5871b6a><img src="https://img.idmwx.com/asset/idm/qrcode_for_gh_976e5ac920c0_258.jpg" data-v-d5871b6a><div style="margin-left:10px;" data-v-d5871b6a><div class="name flex-space" data-v-d5871b6a><label data-v-d5871b6a>IDM Service Team</label></div><div class="desc flex-center" data-v-d5871b6a>Technical Support & Consulting Center</div></div></div>',1);function Nz(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",pz,[hz,e.createElementVNode("div",_z,[e.createElementVNode("div",Ez,e.toDisplayString(t.name),1),yz])])}const En=Ce(mz,[["render",Nz],["__scopeId","data-v-d5871b6a"]]),Vz={install(o){o.component("IdmBrand",Io),o.component("IdmThird",En)}},nZ="",sZ="",fz={name:"QuotaReport",components:{Brand:Io},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(){hl.accessToken=this.mapboxToken,this.map=new hl.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}})}}},yn=o=>(e.pushScopeId("data-v-f3647134"),o=o(),e.popScopeId(),o),bz={class:"quota-report"},gz=yn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),xz={class:"section quota-section"},kz=yn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Dz={class:"label"},Cz={class:"label"},Sz=["innerHTML"],Bz=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 wz(o,s,t,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",bz,[e.createVNode(E,{name:"Quotation Sheet"}),gz,e.createElementVNode("div",xz,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[kz,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,class:"label"},e.toDisplayString(c.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,style:e.normalizeStyle({width:c.width}),class:"label"},e.toDisplayString(c.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(c,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",Dz,e.toDisplayString(c.rank),1),e.createElementVNode("td",Cz,e.toDisplayString(c.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:a.quota[p][b-1]||""},null,8,Sz))),128))]))),128))])]),Bz])])}const Nn=Ce(fz,[["render",wz],["__scopeId","data-v-f3647134"]]),cZ="",Az={name:"QuotaReport",components:{Brand:Io},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(){hl.accessToken=this.mapboxToken,this.map=new hl.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}})}}},Vn=o=>(e.pushScopeId("data-v-e3ab3a93"),o=o(),e.popScopeId(),o),Tz={class:"quota-report"},Fz=Vn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Oz={class:"section quota-section"},Pz=Vn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Lz={class:"label"},Wz={class:"label"},$z=["innerHTML"],Hz=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 Mz(o,s,t,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Tz,[e.createVNode(E,{name:"Quotation Sheet"}),Fz,e.createElementVNode("div",Oz,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Pz,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,class:"label"},e.toDisplayString(c.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,style:e.normalizeStyle({width:c.width}),class:"label"},e.toDisplayString(c.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(c,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",Lz,e.toDisplayString(c.rank),1),e.createElementVNode("td",Wz,e.toDisplayString(c.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:a.quota[p][b-1]||""},null,8,$z))),128))]))),128))])]),Hz])])}const fn=Ce(Az,[["render",Mz],["__scopeId","data-v-e3ab3a93"]]),iZ="",Iz={name:"QuotaReport",components:{Brand:Io},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(){hl.accessToken=this.mapboxToken,this.map=new hl.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}})}}},bn=o=>(e.pushScopeId("data-v-fecdf217"),o=o(),e.popScopeId(),o),Gz={class:"quota-report"},Rz=bn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),zz={class:"section quota-section"},Uz=bn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Yz={class:"label"},Zz={class:"label"},Qz=["innerHTML"],Jz=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 Kz(o,s,t,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Gz,[e.createVNode(E,{name:"Quotation Sheet for TONGLI"}),Rz,e.createElementVNode("div",zz,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Uz,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,class:"label"},e.toDisplayString(c.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,style:e.normalizeStyle({width:c.width}),class:"label"},e.toDisplayString(c.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(c,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",Yz,e.toDisplayString(c.rank),1),e.createElementVNode("td",Zz,e.toDisplayString(c.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:a.quota[p][b-1]||""},null,8,Qz))),128))]))),128))])]),Jz])])}const gn=Ce(Iz,[["render",Kz],["__scopeId","data-v-fecdf217"]]),jz={install(o){o.component("OrmQuoteReport",Nn),o.component("OrmQuoteReport4SEOA",fn),o.component("OrmQuoteReport4TongLi",gn)}},dZ="",Xz={name:"PrecipitationReport",components:{IdmBrand:Io,IdmLoading:La},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}},computed:{computeLat(){return function(o){return ae.LngLatHelper.lat2pretty(o,2)}},computeLng(){return function(o){return ae.LngLatHelper.lng2pretty(o,2)}},computeLTime(){return function(o,s=8,t="MMM-DD/HHmm[LT]"){return`${j(o).utcOffset(s).format(t)}`}},computeTZ(){return function(o="0"){return ae.LngLatHelper.prettyTimeZoneOffset(o)}},roundPrecision(){return function(o,s=4){if(typeof o=="number"){const t=Number("1".padEnd(s+1,"0"));return Math.round(o*t)/t}else return"-"}},computeDegree(){return function(o,s){o=o%360;for(let t=0;t<17;t++)if(t*22.5+o+11.25>=360){let r=(16-t)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(o){var a,n,E,c,p,b,g;const s=ae.LngLatHelper.guessTimeZoneOffset(o.lng,o.lat);o.localTZ=s;const t={};for(let h=0;h<((a=o==null?void 0:o.extend)==null?void 0:a.length);h++){const N=o==null?void 0:o.extend[h];if(h===0)N.precip.pacc=0;else{const D=j(N.utc).utcOffset(s),x=(n=N.precip)==null?void 0:n.acc;if(N.precip.pacc=x,x>0){const C=t[D.format("MMM-DD")],k=Math.floor(D.get("hour")/6);C?(C.pacc=this.roundPrecision(C.pacc+x,1),C[`${k}`]?C[`${k}`]+=x:(C[`${k}`]=x,C.colspan+=1)):(t[D.format("MMM-DD")]={pacc:x,colspan:1},t[D.format("MMM-DD")][`${k}`]=x)}}}o.paccInDays=t;let r=0;for(const h of Object.keys(t))r+=(E=t[h])==null?void 0:E.colspan,t[h].level=((c=t[h])==null?void 0:c.pacc)<10?"Light":((p=t[h])==null?void 0:p.pacc)<24.9?"Moderate":((b=t[h])==null?void 0:b.pacc)<49.9?"Heavy":((g=t[h])==null?void 0:g.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return o.span=r,o}}},watch:{report:{handler(){var o,s,t;if((o=this.report)!=null&&o.rows){this.loading=!1;for(const r of(s=this.report)==null?void 0:s.rows)this.computeForm(r);this.form=(t=this.report)==null?void 0:t.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()})}}},methods:{initEchart(){var o,s;if(this.version==="Pretty"){this.echart||(this.echart=e.markRaw(Pa.init(this.$refs.echart)));const t=[],r=[],a={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let n=4;(s=(o=this.form)==null?void 0:o.extend)==null||s.forEach(c=>{var b,g,h,N,D,x,C,k,T,F,B,w,f,O;const p=j(c.utc).utcOffset((b=this.form)==null?void 0:b.localTZ).format("MMM-DD/HHmm[LT]");t.push(p),n=((h=(g=c.wave)==null?void 0:g.sig)==null?void 0:h.height)>n?(D=(N=c.wave)==null?void 0:N.sig)==null?void 0:D.height:n,r.push([p,(x=c.wind)==null?void 0:x.kts,(C=c.gusts)==null?void 0:C.kts,(T=(k=c.wave)==null?void 0:k.sig)==null?void 0:T.height,(F=c.wind)==null?void 0:F.direction,(B=c.wind)==null?void 0:B.degree,(w=c.wind)==null?void 0:w.scale,(f=c.current)==null?void 0:f.kts,(O=c.precip)==null?void 0:O.pacc,this.roundPrecision(c.visibility/1852,0),c.temp])});const E={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: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:n,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:a.dateTime,y:a.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:r,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:a.dateTime,y:a.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:r,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:a.dateTime,y:a.waveHeight},data:r,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:a.dateTime,y:a.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:r,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:a.dateTime,y:a.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:r,z:2}]};this.echart.setOption(E)}},async initMap(){this.version==="Pretty"&&!this.map&&(hl.accessToken=this.mapboxToken,this.map=new hl.Map({container:"map",style:this.mapboxStyle,projection:"mercator",preserveDrawingBuffer:!0,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()}))},handleDraw(){var o;this.geojson={type:"FeatureCollection",features:[]};for(const s of(o=this.report)==null?void 0:o.rows){const t={type:"Feature",properties:{name:s.name,rank:s.rank},geometry:{type:"Point",coordinates:[s.lng,s.lat]}};this.geojson.features.push(t)}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(o){var s;(s=this.map)==null||s.flyTo({center:[o.lng,o.lat],zoom:8})}}},it=o=>(e.pushScopeId("data-v-eb7562dc"),o=o(),e.popScopeId(),o),qz={class:"precipitation-report"},uz={class:"section area-section"},vz={class:"area-block"},eU={class:"area-header flex-space"},tU={class:"flex-start"},oU=["onClick"],lU={class:"flex-end"},aU={class:"area-body"},nU=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-eb7562dc> 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-eb7562dc><div style="background:rgba(243, 245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-eb7562dc>Light (<10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-eb7562dc>Moderate (<24.9mm)</div><div style="background:rgb(7, 148, 255);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-eb7562dc>Heavy (<49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-eb7562dc>Rainstorm (<99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-eb7562dc>Heavy Rainstorm (>100mm)</div></div>',2),sU={class:"flex-evenly"},cU={key:0},iU=["colspan"],dU=["colspan"],rU={style:{"font-size":"10px"}},mU={key:0},pU={key:1},hU={key:2},_U={key:3},EU={key:0},yU={key:1,style:{"font-size":"14px"}},NU=it(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),VU={class:"section echart-section"},fU={ref:"echart",class:"echart"},bU={class:"section sample-section"},gU=it(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),xU=["colspan"],kU=it(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),DU=it(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),CU=it(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),SU=it(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),BU=it(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),wU=it(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),AU={key:0},TU={key:1},FU=it(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),OU=it(()=>e.createElementVNode("th",null,"Dir",-1)),PU=it(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),LU=it(()=>e.createElementVNode("th",null,"BF",-1)),WU=it(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),$U=it(()=>e.createElementVNode("th",null,"Dir",-1)),HU=it(()=>e.createElementVNode("th",null,"Ht (m)",-1)),MU=it(()=>e.createElementVNode("th",null,"Prd (s)",-1)),IU=it(()=>e.createElementVNode("th",null,"Dir",-1)),GU=it(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),RU=it(()=>e.createElementVNode("th",null,"Prd (s)",-1)),zU=it(()=>e.createElementVNode("th",null,"°C",-1)),UU={width:"120px"},YU={key:0},ZU={key:1},QU={key:0,class:"degree-box"},JU={key:1},KU={key:0,class:"degree-box"},jU={key:1},XU={key:0,class:"degree-box"},qU={key:1},uU={class:"section area-section"},vU={class:"area-block"},eY={class:"area-header flex-end"},tY={class:"flex-end"},oY={class:"area-body"},lY=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-eb7562dc> 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-eb7562dc><div style="background:rgba(243, 245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-eb7562dc>Light (<10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-eb7562dc>Moderate (<24.9mm)</div><div style="background:rgb(7, 148, 255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-eb7562dc>Heavy (<49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-eb7562dc>Rainstorm (<99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-eb7562dc>Heavy Rainstorm (>100mm)</div></div>',2),aY=["colspan"],nY=["colspan"],sY={style:{"font-size":"10px"}},cY={key:0},iY={key:1},dY={key:2},rY={key:3},mY={key:1,style:{"font-size":"14px"}},pY={key:0};function hY(o,s,t,r,a,n){var p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",qz,[e.createVNode(E,{name:"Precipitation Accumulation"}),e.createVNode(c,{loading:a.loading,onTimeout:s[0]||(s[0]=_=>a.loading=!1)},null,8,["loading"]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",uz,[e.createElementVNode("div",vz,[e.createElementVNode("div",eU,[e.createElementVNode("div",tU,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=t.report)==null?void 0:p.rows,(_,L)=>(e.openBlock(),e.createElementBlock("div",{key:L,class:e.normalizeClass(a.index===L?"header-item active":"header-item"),onClick:H=>{var W;a.index=L,a.form=(W=t.report)==null?void 0:W.rows[a.index]}},e.toDisplayString(_.rank)+". "+e.toDisplayString(_.name),11,oU))),128))]),e.createElementVNode("div",lU,[e.createElementVNode("div",{class:"header-item",onClick:s[1]||(s[1]=_=>a.version="Brief")},"Brief")])]),e.createElementVNode("div",aU,[nU,e.createElementVNode("div",sU,[a.form?(e.openBlock(),e.createElementBlock("table",cU,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:a.form.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString((b=a.form)==null?void 0:b.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString((g=a.form)==null?void 0:g.name)+" ("+e.toDisplayString(n.computeLat((h=a.form)==null?void 0:h.lat).pretty)+" / "+e.toDisplayString(n.computeLng((N=a.form)==null?void 0:N.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(n.computeLTime((x=(D=a.form)==null?void 0:D.extend)==null?void 0:x[0].utc,(C=a.form)==null?void 0:C.localTZ))+" to "+e.toDisplayString(n.computeLTime((T=(k=a.form)==null?void 0:k.extend)==null?void 0:T.at(-1).utc,(F=a.form)==null?void 0:F.localTZ))+", "+e.toDisplayString(n.computeTZ((B=a.form)==null?void 0:B.localTZ))+")",1)],8,iU)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((w=a.form)==null?void 0:w.paccInDays),(_,L)=>{var H;return e.openBlock(),e.createElementBlock("th",{key:L,colspan:a.form.paccInDays[_].colspan,class:e.normalizeClass((H=a.form.paccInDays[_])==null?void 0:H.level)},e.toDisplayString(_)+" ("+e.toDisplayString(a.form.paccInDays[_].pacc)+")",11,dU)}),128))]),e.createElementVNode("tr",rU,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((f=a.form)==null?void 0:f.paccInDays),(_,L)=>{var H;return e.openBlock(),e.createElementBlock(e.Fragment,{key:L},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((H=a.form)==null?void 0:H.paccInDays[_]),(W,P)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:P},[W==="0"?(e.openBlock(),e.createElementBlock("th",mU,"00-06")):e.createCommentVNode("",!0),W==="1"?(e.openBlock(),e.createElementBlock("th",pU,"06-12")):e.createCommentVNode("",!0),W==="2"?(e.openBlock(),e.createElementBlock("th",hU,"12-18")):e.createCommentVNode("",!0),W==="3"?(e.openBlock(),e.createElementBlock("th",_U,"18-24")):e.createCommentVNode("",!0)],64))),128))],64)}),128))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(I=Object.keys((O=a.form)==null?void 0:O.paccInDays))!=null&&I.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys((G=a.form)==null?void 0:G.paccInDays),(_,L)=>{var H;return e.openBlock(),e.createElementBlock(e.Fragment,{key:L},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((H=a.form)==null?void 0:H.paccInDays[_]),(W,P)=>{var M;return e.openBlock(),e.createElementBlock(e.Fragment,{key:P},[["0","1","2","3"].includes(W)?(e.openBlock(),e.createElementBlock("td",EU,e.toDisplayString(n.roundPrecision((M=a.form)==null?void 0:M.paccInDays[_][W],1)),1)):e.createCommentVNode("",!0)],64)}),128))],64)}),128)):(e.openBlock(),e.createElementBlock("th",yU,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),NU,e.createElementVNode("div",VU,[e.createElementVNode("div",fU,null,512)]),e.createElementVNode("div",bU,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[gU,e.createElementVNode("th",{colspan:t.showPrate?2:1},"Precip",8,xU),kU,DU,CU,SU,BU,wU]),e.createElementVNode("tr",null,[t.showPrate?(e.openBlock(),e.createElementBlock("th",AU,"Rate (mm/h)")):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("th",TU,"Acc (mm)")):e.createCommentVNode("",!0),FU,OU,PU,LU,WU,$U,HU,MU,IU,GU,RU,zU])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((R=a.form)==null?void 0:R.extend,(_,L)=>{var H,W,P,M,Q,U,J,ne,se,l,X,v,ee,te,oe,le,ce,ie,de,_e,q,me,Ee,ye,re,fe,be,ge,xe,ke,De;return e.openBlock(),e.createElementBlock("tr",{key:L},[e.createElementVNode("td",UU,e.toDisplayString(n.computeLTime(_.utc,(H=a.form)==null?void 0:H.localTZ)),1),t.showPrate?(e.openBlock(),e.createElementBlock("td",YU,e.toDisplayString(n.roundPrecision((W=_.precip)==null?void 0:W.prate,2)),1)):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("td",ZU,e.toDisplayString((P=_.precip)==null?void 0:P.pacc),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(_.visibility/1852,0)),1),e.createElementVNode("td",null,[(M=_.wind)!=null&&M.kts?(e.openBlock(),e.createElementBlock("span",QU,[e.createTextVNode(e.toDisplayString((Q=_.wind)==null?void 0:Q.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((U=_.wind)==null?void 0:U.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",JU,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((J=_.wind)==null?void 0:J.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((ne=_.wind)==null?void 0:ne.scale),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((se=_.gusts)==null?void 0:se.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((X=(l=_.wave)==null?void 0:l.wd)==null?void 0:X.height,1)),1),e.createElementVNode("td",null,[(ee=(v=_.wave)==null?void 0:v.swell)!=null&&ee.height?(e.openBlock(),e.createElementBlock("span",KU,[e.createTextVNode(e.toDisplayString((oe=(te=_.wave)==null?void 0:te.swell)==null?void 0:oe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ce=(le=_.wave)==null?void 0:le.swell)==null?void 0:ce.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",jU,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((de=(ie=_.wave)==null?void 0:ie.swell)==null?void 0:de.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((q=(_e=_.wave)==null?void 0:_e.swell)==null?void 0:q.period,1)),1),e.createElementVNode("td",null,[(Ee=(me=_.wave)==null?void 0:me.sig)!=null&&Ee.height?(e.openBlock(),e.createElementBlock("span",XU,[e.createTextVNode(e.toDisplayString((re=(ye=_.wave)==null?void 0:ye.sig)==null?void 0:re.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((be=(fe=_.wave)==null?void 0:fe.sig)==null?void 0:be.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",qU,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((xe=(ge=_.wave)==null?void 0:ge.sig)==null?void 0:xe.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((De=(ke=_.wave)==null?void 0:ke.sig)==null?void 0:De.period,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(_.temp,1)),1)])}),128))])])])],512),[[e.vShow,a.version==="Pretty"]]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",uU,[e.createElementVNode("div",vU,[e.createElementVNode("div",eY,[e.createElementVNode("div",tY,[e.createElementVNode("div",{class:"header-item",onClick:s[2]||(s[2]=_=>a.version="Pretty")},"Pretty")])]),e.createElementVNode("div",oY,[lY,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((z=t.report)==null?void 0:z.rows,(_,L)=>{var H,W,P;return e.openBlock(),e.createElementBlock("div",{key:L,style:{"margin-bottom":"10px"}},[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:_.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString(_==null?void 0:_.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString(_==null?void 0:_.name)+" ("+e.toDisplayString(n.computeLat(_==null?void 0:_.lat).pretty)+" / "+e.toDisplayString(n.computeLng(_==null?void 0:_.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(n.computeLTime((H=_==null?void 0:_.extend)==null?void 0:H[0].utc,_==null?void 0:_.localTZ))+" to "+e.toDisplayString(n.computeLTime((W=_==null?void 0:_.extend)==null?void 0:W.at(-1).utc,_==null?void 0:_.localTZ))+", "+e.toDisplayString(n.computeTZ(_==null?void 0:_.localTZ))+")",1)],8,aY)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays),(M,Q)=>{var U;return e.openBlock(),e.createElementBlock("th",{key:Q,colspan:_.paccInDays[M].colspan,class:e.normalizeClass((U=_.paccInDays[M])==null?void 0:U.level)},e.toDisplayString(M)+" ("+e.toDisplayString(_.paccInDays[M].pacc)+")",11,nY)}),128))]),e.createElementVNode("tr",sY,[(P=Object.keys(_==null?void 0:_.paccInDays))!=null&&P.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys(_==null?void 0:_.paccInDays),(M,Q)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Q},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays[M]),(U,J)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:J},[U==="0"?(e.openBlock(),e.createElementBlock("th",cY,"00-06")):e.createCommentVNode("",!0),U==="1"?(e.openBlock(),e.createElementBlock("th",iY,"06-12")):e.createCommentVNode("",!0),U==="2"?(e.openBlock(),e.createElementBlock("th",dY,"12-18")):e.createCommentVNode("",!0),U==="3"?(e.openBlock(),e.createElementBlock("th",rY,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",mY,"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(_==null?void 0:_.paccInDays),(M,Q)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Q},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays[M]),(U,J)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:J},[["0","1","2","3"].includes(U)?(e.openBlock(),e.createElementBlock("td",pY,e.toDisplayString(n.roundPrecision(_==null?void 0:_.paccInDays[M][U],1)),1)):e.createCommentVNode("",!0)],64))),128))],64))),128))])])])])}),128))])])])],512),[[e.vShow,a.version==="Brief"]])])}const xn=Ce(Xz,[["render",hY],["__scopeId","data-v-eb7562dc"]]),_Y={install(o){o.component("PrecipitationReport",xn)}},EY={install(o){o.component("IdmLoading",La)}};Y.BrandPlugin=Vz,Y.ComparisonPlugin=rz,Y.DeviationPlugin=F$,Y.DeviationReport=rn,Y.FliComparisonReport=_n,Y.FliDeviationReport=mn,Y.FliInvoiceReport=cn,Y.FliPlanReport=tn,Y.FliVoyageReport=ln,Y.HurricanePlugin=oB,Y.IdmBrand=Io,Y.IdmEditor=Go,Y.IdmEditorPlugin=vp,Y.IdmLat=$a,Y.IdmLatPlugin=eh,Y.IdmLng=Wa,Y.IdmLngPlugin=th,Y.IdmLoading=La,Y.IdmThird=En,Y.InvoicePlugin=G8,Y.LoadingPlugin=EY,Y.ORMPointReport=en,Y.OrmComparisonReport=hn,Y.OrmInvoiceReport=sn,Y.OrmPlanReport=ja,Y.OrmQuoteReport=Nn,Y.OrmQuoteReport4SEOA=fn,Y.OrmQuoteReport4TongLi=gn,Y.OrmVoyageReport=an,Y.PiLogo=on,Y.PiLogoPlugin=ih,Y.PointReportPlugin=ed,Y.PrecipitationReport=xn,Y.PrecipitationReportPlugin=_Y,Y.QuoteReportPlugin=jz,Y.RouteReport=ja,Y.RouteReportPlugin=up,Y.StoppageReport=pn,Y.StoppageReportPlugin=oM,Y.TropicalReport=nn,Y.VoyageReportPlugin=u4,Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"})});
|