@idmwx/idmui-report 3.8.8 → 3.9.0

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.
@@ -1,4 +1,4 @@
1
- (function(Z,me){typeof exports=="object"&&typeof module<"u"?me(exports,require("@idm-plugin/geo"),require("moment"),require("vue"),require("echarts"),require("@wangeditor/editor-for-vue"),require("element-plus"),require("@idmui/tropical"),require("@element-plus/icons-vue"),require("axios"),require("mapbox-gl")):typeof define=="function"&&define.amd?define(["exports","@idm-plugin/geo","moment","vue","echarts","@wangeditor/editor-for-vue","element-plus","@idmui/tropical","@element-plus/icons-vue","axios","mapbox-gl"],me):(Z=typeof globalThis<"u"?globalThis:Z||self,me(Z["idmui-report"]={},Z["@idm-plugin/geo"],Z.moment,Z.Vue,Z.echarts,Z["@wangeditor/editor-for-vue"],Z["element-plus"],Z["@idmui/tropical"],Z["@element-plus/icons-vue"],Z.axios,Z["mapbox-gl"]))})(this,function(Z,me,X,e,Mc,Ls,Os,Ic,Xa,Ja,Fa){"use strict";function Gc(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 qa=Gc(Mc),ij="",we=(o,s)=>{const t=o.__vccOpts||o;for(const[r,a]of s)t[r]=a;return t},Rc={name:"IdmBrand",props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${(o?X(o):X()).utc().format(s)}`}}}},$s=o=>(e.pushScopeId("data-v-b7008706"),o=o(),e.popScopeId(),o),zc={class:"section brand-section flex-space"},Uc=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),Yc={class:"report-box flex-space"},Zc={class:"name flex-start"},Qc={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},Jc={class:"flex-start",style:{width:"100%"}},jc={class:"label-block flex-evenly",style:{flex:"1"}},Kc=$s(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),Xc={class:"flex-end",style:{flex:"2"}},qc=$s(()=>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(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",zc,[Uc,e.createElementVNode("div",Yc,[e.createElementVNode("div",Zc,e.toDisplayString(t.name),1),e.createElementVNode("div",Qc,[e.createElementVNode("div",Jc,[e.createElementVNode("div",jc,[Kc,e.createElementVNode("span",Xc,e.toDisplayString(n.computeUTCTime(t.issued,"MMM-DD, YYYY")),1)])]),qc])])])}const jo=we(Rc,[["render",uc],["__scopeId","data-v-b7008706"]]),vc={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}}},ei={key:0,class:"loading"},ti=e.createElementVNode("i",{class:"iconfont"},"",-1);function oi(o,s,t,r,a,n){return t.loading?(e.openBlock(),e.createElementBlock("div",ei,[ti,e.createElementVNode("div",null,e.toDisplayString(t.text),1)])):e.createCommentVNode("",!0)}const ua=we(vc,[["render",oi]]),dj="",li={name:"ORMPointReport",components:{IdmLoading:ua,IdmBrand:jo},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 me.LngLatHelper.lat2pretty(o,2)}},computeLng(){return function(o){return me.LngLatHelper.lng2pretty(o,2)}},computeLTime(){return function(o,s=8,t="MMM-DD/HHmm[LT]"){return`${X(o).utcOffset(s).format(t)}`}},computeTZ(){return function(o="0"){return me.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,g,x,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 b=(n=o==null?void 0:o.extend)==null?void 0:n.data[D];if(D===0)b.precip.pacc=0;else{const C=(E=o==null?void 0:o.extend)==null?void 0:E.data[D-1],k=X(b.utc).utcOffset(this.localTZ),A=X(C.utc).utcOffset(this.localTZ),F=(c=C==null?void 0:C.precip)==null?void 0:c.prate,B=k.diff(A,"h"),w=this.roundPrecision(F*B,1);if(b.precip.pacc=w,w>0){const V=s[k.format("MMM-DD")],O=Math.floor(k.get("hour")/6);V?(V.pacc=this.roundPrecision(V.pacc+w,1),V[`${O}`]?V[`${O}`]+=w:(V[`${O}`]=w,V.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=((g=s[D])==null?void 0:g.pacc)<10?"Light":((x=s[D])==null?void 0:x.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=me.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(qa.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 x,h,N,D,b,C,k,A,F,B,w,V,O;const g=X(p.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");o.push(g),r=((h=(x=p.wave)==null?void 0:x.sig)==null?void 0:h.height)>r?(D=(N=p.wave)==null?void 0:N.sig)==null?void 0:D.height:r,s.push([g,(b=p.wind)==null?void 0:b.kts,(C=p.gusts)==null?void 0:C.kts,(A=(k=p.wave)==null?void 0:k.sig)==null?void 0:A.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,(V=p.current)==null?void 0:V.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)}}},nt=o=>(e.pushScopeId("data-v-84da66b8"),o=o(),e.popScopeId(),o),ai={class:"point-report"},ni={class:"section info-section"},si={class:"flex-evenly"},ci={class:"flex-space label-block",style:{width:"100%"}},ii=nt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),di={class:"flex-space label-block",style:{width:"100%"}},ri=nt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),mi={class:"flex-evenly"},pi={class:"flex-space label-block",style:{width:"100%"}},hi=nt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),_i={class:"flex-space label-block",style:{width:"100%"}},Ei={class:"flex-end",style:{width:"180px"}},yi={class:"section echart-section"},Ni={ref:"echart",class:"echart"},Vi={class:"section sample-section"},fi=nt(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),gi=nt(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),xi=nt(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),bi=nt(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),ki=nt(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Di=nt(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),Ci=["colspan"],Si=nt(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Bi=nt(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),wi=nt(()=>e.createElementVNode("th",null,"Dir",-1)),Ti=nt(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Ai=nt(()=>e.createElementVNode("th",null,"BF",-1)),Fi=nt(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Oi=nt(()=>e.createElementVNode("th",null,"Dir",-1)),Pi=nt(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Li=nt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),$i=nt(()=>e.createElementVNode("th",null,"Dir",-1)),Wi=nt(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Hi=nt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Mi=nt(()=>e.createElementVNode("th",null,"Dir",-1)),Ii=nt(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Gi={key:0},Ri={key:1},zi=nt(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Ui=nt(()=>e.createElementVNode("th",null,"°C",-1)),Yi={width:"120px"},Zi={key:0,class:"degree-box"},Qi={key:1},Ji={key:0,class:"degree-box"},ji={key:1},Ki={key:0,class:"degree-box"},Xi={key:1},qi={key:0,class:"degree-box"},ui={key:1},vi={key:0},ed={key:1};function td(o,s,t,r,a,n){var p,g,x,h;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",ai,[e.createVNode(E,{name:"Point Weather Forecast"}),e.createVNode(c,{loading:a.loading},null,8,["loading"]),e.createElementVNode("div",ni,[e.createElementVNode("div",si,[e.createElementVNode("div",ci,[ii,e.createElementVNode("span",null,e.toDisplayString(n.computeLat((p=t.report)==null?void 0:p.lat).pretty)+" / "+e.toDisplayString(n.computeLng((g=t.report)==null?void 0:g.lng).pretty),1)]),e.createElementVNode("div",di,[ri,e.createElementVNode("span",null,e.toDisplayString(n.computeLTime(t.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",mi,[e.createElementVNode("div",pi,[hi,e.createElementVNode("span",null,e.toDisplayString(n.computeTZ(a.localTZ)),1)]),e.createElementVNode("div",_i,[e.createElementVNode("label",Ei,"("+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",yi,[e.createElementVNode("div",Ni,null,512)]),e.createElementVNode("div",Vi,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[fi,gi,xi,bi,ki,Di,e.createElementVNode("th",{colspan:t.showPrate&&t.showAcc?2:1},"Precip",8,Ci),Si,Bi]),e.createElementVNode("tr",null,[wi,Ti,Ai,Fi,Oi,Pi,Li,$i,Wi,Hi,Mi,Ii,t.showPrate?(e.openBlock(),e.createElementBlock("th",Gi,"Rate (mm/h)")):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("th",Ri,"Acc (mm)")):e.createCommentVNode("",!0),zi,Ui])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=(x=t.report)==null?void 0:x.extend)==null?void 0:h.data,(N,D)=>{var b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,I,J,Y,j,se,ce,l,q,ee,te,oe,le,ae,ie,de,re;return e.openBlock(),e.createElementBlock("tr",{key:D},[e.createElementVNode("td",Yi,e.toDisplayString(n.computeLTime(N.utc,a.localTZ)),1),e.createElementVNode("td",null,[(b=N.wind)!=null&&b.kts?(e.openBlock(),e.createElementBlock("span",Zi,[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",Qi,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((A=N.wind)==null?void 0:A.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((V=(w=N.wave)==null?void 0:w.wd)==null?void 0:V.height,1)),1),e.createElementVNode("td",null,[(G=(O=N.wave)==null?void 0:O.swell)!=null&&G.height?(e.openBlock(),e.createElementBlock("span",Ji,[e.createTextVNode(e.toDisplayString((z=(R=N.wave)==null?void 0:R.swell)==null?void 0:z.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((_=(U=N.wave)==null?void 0:U.swell)==null?void 0:_.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",ji,"-"))]),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=($=N.wave)==null?void 0:$.swell)==null?void 0:P.period,1)),1),e.createElementVNode("td",null,[(J=(I=N.wave)==null?void 0:I.sig)!=null&&J.height?(e.openBlock(),e.createElementBlock("span",Ki,[e.createTextVNode(e.toDisplayString((j=(Y=N.wave)==null?void 0:Y.sig)==null?void 0:j.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ce=(se=N.wave)==null?void 0:se.sig)==null?void 0:ce.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Xi,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((q=(l=N.wave)==null?void 0:l.sig)==null?void 0:q.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((te=(ee=N.wave)==null?void 0:ee.sig)==null?void 0:te.period,1)),1),e.createElementVNode("td",null,[(oe=N.current)!=null&&oe.kts?(e.openBlock(),e.createElementBlock("span",qi,[e.createTextVNode(e.toDisplayString((le=N.current)==null?void 0:le.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ae=N.current)==null?void 0:ae.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",ui,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ie=N.current)==null?void 0:ie.kts,1)),1),t.showPrate?(e.openBlock(),e.createElementBlock("td",vi,e.toDisplayString(n.roundPrecision((de=N.precip)==null?void 0:de.prate,2)),1)):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("td",ed,e.toDisplayString(n.roundPrecision((re=N.precip)==null?void 0:re.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 Ws=we(li,[["render",td],["__scopeId","data-v-84da66b8"]]),od={install(o){o.component("ORMPointReport",Ws)}},rj="",ld={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=me.LngLatHelper.convertToStdLng(this.lng);this.pretty=me.LngLatHelper.lng2pretty(o).pretty}},immediate:!0}}},ad={class:"lng-box"},nd={key:0};function sd(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",ad,[t.label?(e.openBlock(),e.createElementBlock("span",nd,e.toDisplayString(t.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(a.pretty),1)])}const ja=we(ld,[["render",sd],["__scopeId","data-v-0d3c152f"]]),mj="",cd={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=me.LngLatHelper.lat2pretty(this.lat).pretty)},immediate:!0}}},id={class:"lat-box"},dd={key:0};function rd(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",id,[t.label?(e.openBlock(),e.createElementBlock("span",dd,e.toDisplayString(t.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(a.pretty),1)])}const Ka=we(cd,[["render",rd],["__scopeId","data-v-3d953d12"]]),pj="",md={name:"IdmEditor",components:{Editor:Ls.Editor,Toolbar:Ls.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()}}},pd={class:"editor-box"};function hd(o,s,t,r,a,n){const E=e.resolveComponent("Toolbar"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",pd,[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 pl=we(md,[["render",hd],["__scopeId","data-v-e3eb0d7a"]]),hj="",_d={name:"OrmRouteReport",components:{Lng:ja,Lat:Ka,Editor:pl,Brand:jo,Loading:ua,ElTooltip:Os.ElTooltip},props:{plan:{type:Object,default:()=>({})},weatherPrinciple:{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`${X(o).utc().format(s)}`}},computeLTime(){return function(o,s,t){let r=0;return t&&s&&(r=me.LngLatHelper.guessTimeZoneOffset(s,t)),`${X(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=X((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(X((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(X(a.eta).diff(X(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(qa.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var p,g,x,h,N,D,b;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=(x=(g=(p=this.plan)==null?void 0:p.speeds)==null?void 0:g[this.speedIndex])==null?void 0:x.speed)==null?void 0:h.sample)==null?void 0:N.hours)==null||D.forEach(C=>{var A,F,B,w,V,O,G,R,z,U;const k=C.meteo;if(k){const _=X(k.utc).utc().format("MMM-DD/HHmm[Z]");o.push(_),E=Math.ceil(((F=(A=k.wave)==null?void 0:A.sig)==null?void 0:F.height)>E?(w=(B=k.wave)==null?void 0:B.sig)==null?void 0:w.height:E),s.push([_,(V=k.wind)==null?void 0:V.kts,(G=(O=k.wave)==null?void 0:O.sig)==null?void 0:G.height,(R=k.wind)==null?void 0:R.direction,(z=k.wind)==null?void 0:z.degree,(U=k.wind)==null?void 0:U.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 A=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:A,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}]};(b=this.echart)==null||b.setOption(c)}}},Te=o=>(e.pushScopeId("data-v-7d56124f"),o=o(),e.popScopeId(),o),Ed={class:"voyage-plan"},yd={class:"plan-report"},Nd={class:"section voyage-section flex-space"},Vd={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},fd={class:"flex-start label-block",style:{width:"100%"}},gd=Te(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),xd={style:{"text-transform":"uppercase"},class:"text-ellipsis"},bd={class:"flex-start label-block",style:{width:"100%"}},kd=Te(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),Dd={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},Cd={class:"flex-start label-block",style:{width:"100%"}},Sd=Te(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),Bd={class:"flex-end"},wd={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Td={class:"flex-start label-block",style:{width:"100%"}},Ad=Te(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),Fd={key:0,class:"flex-end",style:{flex:"1"}},Od={key:1,class:"flex-end",style:{flex:"1"}},Pd=Te(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Ld={class:"flex-end",style:{width:"120px"}},$d={class:"flex-space label-block",style:{width:"100%"}},Wd=Te(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),Hd={key:0,class:"flex-end",style:{flex:"1"}},Md={key:1,class:"flex-end",style:{flex:"1"}},Id=Te(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Gd={class:"flex-end",style:{width:"120px"}},Rd={class:"flex-space label-block",style:{width:"100%"}},zd=Te(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),Ud={class:"flex-end",style:{"text-transform":"uppercase"}},Yd={class:"section chart-section"},Zd=Te(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),Qd={class:"flex-center"},Jd=["src"],jd={class:"legends"},Kd=e.createStaticVNode('<div class="legend" data-v-7d56124f><label style="background-color:var(--idm-dangerous);" data-v-7d56124f></label><span data-v-7d56124f>Dangerous</span></div><div class="legend" data-v-7d56124f><label style="background-color:var(--idm-severe);" data-v-7d56124f></label><span data-v-7d56124f>Severe</span></div><div class="legend" data-v-7d56124f><label style="background-color:var(--idm-heavy);" data-v-7d56124f></label><span data-v-7d56124f>Heavy</span></div>',3),Xd={class:"legend"},qd=Te(()=>e.createElementVNode("b",{class:"route1"},null,-1)),ud={key:0,class:"legend"},vd=Te(()=>e.createElementVNode("b",{class:"route2"},null,-1)),er={key:1,class:"legend"},tr=Te(()=>e.createElementVNode("b",{class:"route3"},null,-1)),or={key:1,class:"empty"},lr={class:"section comparison-section"},ar={key:0},nr=Te(()=>e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route",-1)),sr=Te(()=>e.createElementVNode("th",null,"SPD (kts)",-1)),cr=Te(()=>e.createElementVNode("th",{rowspan:"2"},"DTG (nm)",-1)),ir=Te(()=>e.createElementVNode("th",null,"ETA (LT)",-1)),dr=Te(()=>e.createElementVNode("th",{rowspan:"2"},"Diff (h)",-1)),rr=Te(()=>e.createElementVNode("th",{colspan:"2"},"Cons (mt)",-1)),mr=Te(()=>e.createElementVNode("p",{style:{cursor:"pointer"}},"Dangerous",-1)),pr=Te(()=>e.createElementVNode("p",{style:{cursor:"pointer"}},"Severe",-1)),hr=Te(()=>e.createElementVNode("p",{style:{cursor:"pointer"}},"Heavy",-1)),_r=Te(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),Er=Te(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),yr=Te(()=>e.createElementVNode("th",null,"*FO",-1)),Nr=Te(()=>e.createElementVNode("th",null,"*DO",-1)),Vr={colspan:"3"},fr={rowspan:"2"},gr={rowspan:"2"},xr={rowspan:"2"},br={rowspan:"2"},kr={rowspan:"2"},Dr={rowspan:"2"},Cr={rowspan:"2"},Sr={rowspan:"2"},Br={rowspan:"2"},wr=Te(()=>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)),Tr={class:"section waypoint-section"},Ar={class:"header-block flex-start"},Fr=Te(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Or={class:"title"},Pr={key:0,class:"flex-end",style:{flex:"1"}},Lr=["onClick"],$r={class:"advisory"},Wr=["innerHTML"],Hr={class:"major-waypoint"},Mr=e.createStaticVNode('<div class="major-header" data-v-7d56124f><div class="cell-item flex" style="flex:1.5;" data-v-7d56124f>Major waypoint</div><div class="cell-item flex" data-v-7d56124f>Time</div><div class="cell-item flex" data-v-7d56124f>Nav</div><div class="cell-item flex" data-v-7d56124f>Dist</div><div class="cell-item flex" data-v-7d56124f>SOG/COG</div><div class="cell-item flex" data-v-7d56124f>Memo</div></div>',1),Ir={class:"major-body"},Gr={class:"cell-item flex",style:{flex:"1.5"}},Rr={key:0,class:"flex-center"},zr={key:1,class:"flex-center"},Ur=Te(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Yr={key:0},Zr={class:"cell-item flex"},Qr={key:0,class:"cell-item flex offset"},Jr={key:1,class:"cell-item flex nbsp"},jr={key:2,class:"cell-item flex offset"},Kr={key:3,class:"cell-item flex nbsp"},Xr={key:4,class:"cell-item flex offset"},qr={key:5,class:"cell-item flex nbsp"},ur={key:6,class:"cell-item flex offset"},vr={key:7,class:"cell-item flex nbsp"},em={class:"section forecast-section"},tm={class:"header-block flex-start"},om=Te(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),lm={class:"title"},am={key:0,class:"flex-end",style:{flex:"1"}},nm=["onClick"],sm={class:"echart-block"},cm={ref:"echart",class:"echart"},im=Te(()=>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)),dm={class:"flex-center"},rm=Te(()=>e.createElementVNode("span",null,"/",-1)),mm={key:0,class:"degree-box"},pm={key:1},hm={key:0,class:"degree-box"},_m={key:1},Em={key:0,class:"degree-box"},ym={key:1},Nm={key:0,class:"degree-box"},Vm={key:1},fm=Te(()=>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 gm(o,s,t,r,a,n){var N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,I,J,Y,j,se,ce,l,q,ee,te,oe,le,ae,ie,de,re,Ee,u,he,ye,Ne,pe,ge,xe,be,ke,De,Ce,Fe,Oe,Pe,Le,$e,We,He,Me,Ve,Je,je,Ke,T,Se,Ue,Xe,qe,ue,ve,et,m,W,Be,Ge,Ye,_e,Ze,tt,ot,rt,mt,pt,ht,yt,Nt,Vt,ft,gt,xt,bt,kt,Dt,Ct,St,Bt,wt,Tt,At,Ft,Ot,Pt,Lt,$t,co,io,ro,mo,po,ho,_o,Eo,yo,No,Vo,fo,go,xo,bo,ko,Do;const E=e.resolveComponent("Brand"),c=e.resolveComponent("Loading"),p=e.resolveComponent("Lat"),g=e.resolveComponent("Lng"),x=e.resolveComponent("ElTooltip"),h=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Ed,[e.createElementVNode("div",yd,[e.createVNode(E,{name:"Voyage Planning",issued:(N=t.plan)==null?void 0:N.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",Nd,[e.createElementVNode("div",Vd,[e.createElementVNode("div",fd,[gd,e.createElementVNode("span",xd,e.toDisplayString((C=(b=(D=t.plan)==null?void 0:D.voyage)==null?void 0:b.company)==null?void 0:C.name),1)]),e.createElementVNode("div",bd,[kd,e.createElementVNode("span",Dd,e.toDisplayString((F=(A=(k=t.plan)==null?void 0:k.voyage)==null?void 0:A.vessel)==null?void 0:F.name)+" ("+e.toDisplayString((O=(V=(w=(B=t.plan)==null?void 0:B.voyage)==null?void 0:w.vessel)==null?void 0:V.vesselType)==null?void 0:O.name)+")",1)]),e.createElementVNode("div",Cd,[Sd,e.createElementVNode("span",Bd,e.toDisplayString((R=(G=t.plan)==null?void 0:G.voyage)==null?void 0:R.number),1)])]),e.createElementVNode("div",wd,[e.createElementVNode("div",Td,[Ad,(_=(U=(z=t.plan)==null?void 0:z.leg)==null?void 0:U.departure)!=null&&_.name?(e.openBlock(),e.createElementBlock("span",Fd,e.toDisplayString((H=(L=t.plan)==null?void 0:L.leg)==null?void 0:H.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Od,[e.createVNode(p,{lat:(I=(P=($=t.plan)==null?void 0:$.leg)==null?void 0:P.departure)==null?void 0:I.lat,label:""},null,8,["lat"]),Pd,e.createVNode(g,{lng:(j=(Y=(J=t.plan)==null?void 0:J.leg)==null?void 0:Y.departure)==null?void 0:j.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Ld,e.toDisplayString(n.computeUTCTime(((l=(ce=(se=t.plan)==null?void 0:se.leg)==null?void 0:ce.departure)==null?void 0:l.atd)||((te=(ee=(q=t.plan)==null?void 0:q.leg)==null?void 0:ee.departure)==null?void 0:te.etd)||((ie=(ae=(le=(oe=t.plan)==null?void 0:oe.speeds)==null?void 0:le[a.speedIndex])==null?void 0:ae.speed)==null?void 0:ie.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",$d,[Wd,(Ee=(re=(de=t.plan)==null?void 0:de.leg)==null?void 0:re.destination)!=null&&Ee.name?(e.openBlock(),e.createElementBlock("span",Hd,e.toDisplayString((ye=(he=(u=t.plan)==null?void 0:u.leg)==null?void 0:he.destination)==null?void 0:ye.name),1)):(e.openBlock(),e.createElementBlock("div",Md,[e.createVNode(p,{lat:(ge=(pe=(Ne=t.plan)==null?void 0:Ne.leg)==null?void 0:pe.destination)==null?void 0:ge.lat,label:""},null,8,["lat"]),Id,e.createVNode(g,{lng:(ke=(be=(xe=t.plan)==null?void 0:xe.leg)==null?void 0:be.destination)==null?void 0:ke.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Gd,e.toDisplayString(n.computeUTCTime(((Oe=(Fe=(Ce=(De=t.plan)==null?void 0:De.speeds)==null?void 0:Ce[a.speedIndex])==null?void 0:Fe.speed)==null?void 0:Oe.ata)||((We=($e=(Le=(Pe=t.plan)==null?void 0:Pe.speeds)==null?void 0:Le[a.speedIndex])==null?void 0:$e.speed)==null?void 0:We.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Rd,[zd,e.createElementVNode("span",Ud,e.toDisplayString((Me=(He=t.plan)==null?void 0:He.voyage)==null?void 0:Me.loadCondition),1)])])]),e.createElementVNode("div",Yd,[Zd,(Ve=t.plan)!=null&&Ve.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Qd,[e.createElementVNode("img",{src:t.plan.chartUrl},null,8,Jd)]),e.createElementVNode("div",jd,[Kd,e.createElementVNode("div",Xd,[qd,e.createElementVNode("span",{class:"btn",onClick:s[1]||(s[1]=S=>{a.speedIndex=0,n.renderEchart()})},e.toDisplayString((Se=(T=(Ke=(je=(Je=t.plan)==null?void 0:Je.speeds)==null?void 0:je[0])==null?void 0:Ke.speed)==null?void 0:T.lane)==null?void 0:Se.name),1)]),((Xe=(Ue=t.plan)==null?void 0:Ue.speeds)==null?void 0:Xe.length)>1?(e.openBlock(),e.createElementBlock("div",ud,[vd,e.createElementVNode("span",{class:"btn",onClick:s[2]||(s[2]=S=>{a.speedIndex=1,n.renderEchart()})},e.toDisplayString((m=(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:m.name),1)])):e.createCommentVNode("",!0),((Be=(W=t.plan)==null?void 0:W.speeds)==null?void 0:Be.length)>2?(e.openBlock(),e.createElementBlock("div",er,[tr,e.createElementVNode("span",{class:"btn",onClick:s[3]||(s[3]=S=>{a.speedIndex=2,n.renderEchart()})},e.toDisplayString((tt=(Ze=(_e=(Ye=(Ge=t.plan)==null?void 0:Ge.speeds)==null?void 0:Ye[2])==null?void 0:_e.speed)==null?void 0:Ze.lane)==null?void 0:tt.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",or,[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",lr,[(rt=(ot=t.plan)==null?void 0:ot.speeds)!=null&&rt.length?(e.openBlock(),e.createElementBlock("table",ar,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[nr,sr,cr,ir,dr,rr,e.createElementVNode("th",null,[e.createVNode(x,{effect:"light",placement:"top",trigger:"hover",width:300,content:(pt=(mt=t.weatherPrinciple)==null?void 0:mt.dangerous)==null?void 0:pt.pretty},{default:e.withCtx(()=>[mr]),_:1},8,["content"])]),e.createElementVNode("th",null,[e.createVNode(x,{effect:"light",placement:"top",trigger:"hover",width:300,content:(yt=(ht=t.weatherPrinciple)==null?void 0:ht.severe)==null?void 0:yt.pretty},{default:e.withCtx(()=>[pr]),_:1},8,["content"])]),e.createElementVNode("th",null,[e.createVNode(x,{effect:"light",placement:"top",trigger:"hover",width:300,content:(Vt=(Nt=t.weatherPrinciple)==null?void 0:Nt.heavy)==null?void 0:Vt.pretty},{default:e.withCtx(()=>[hr]),_:1},8,["content"])])]),e.createElementVNode("tr",null,[_r,Er,yr,Nr,e.createElementVNode("th",Vr,"*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((ft=t.plan)==null?void 0:ft.speeds,(S,Ie)=>{var lt,at,_t,Wt,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,jt,Kt,Xt,qt,ut,vt,eo,to,oo,lo,ao,no;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Ie},[e.createElementVNode("tr",null,[e.createElementVNode("td",fr,e.toDisplayString(Ie+1),1),e.createElementVNode("td",gr,e.toDisplayString((at=(lt=S.speed)==null?void 0:lt.lane)==null?void 0:at.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((_t=S.speed)==null?void 0:_t.label)??"CP"} ${((Wt=S.speed)==null?void 0:Wt.v0)??((Mt=(Ht=S.speed)==null?void 0:Ht.cpCopy)==null?void 0:Mt.speed)}`),1),e.createElementVNode("td",xr,e.toDisplayString(n.roundPrecision((It=S.speed)==null?void 0:It.distance,0)),1),e.createElementVNode("td",null,[e.createElementVNode("b",null,e.toDisplayString(n.computeLTime((Gt=S.speed)==null?void 0:Gt.eta,(Ut=(zt=(Rt=t.plan)==null?void 0:Rt.leg)==null?void 0:zt.destination)==null?void 0:Ut.lng,(Qt=(Zt=(Yt=t.plan)==null?void 0:Yt.leg)==null?void 0:Zt.destination)==null?void 0:Qt.lat)),1),e.createTextVNode(" ["+e.toDisplayString(n.computeUTCTime((Jt=S.speed)==null?void 0:Jt.eta))+"] ",1)]),e.createElementVNode("td",br,e.toDisplayString(n.computeTimeDiff(t.plan,Ie)),1),e.createElementVNode("td",kr,e.toDisplayString(n.roundPrecision((jt=S.speed)==null?void 0:jt.totalFoCons,3)),1),e.createElementVNode("td",Dr,e.toDisplayString(n.roundPrecision((Kt=S.speed)==null?void 0:Kt.totalDgoCons,3)),1),e.createElementVNode("td",Cr,e.toDisplayString(n.roundPrecision(((Xt=S.speed)==null?void 0:Xt.dangerous)/24,1)),1),e.createElementVNode("td",Sr,e.toDisplayString(n.roundPrecision(((qt=S.speed)==null?void 0:qt.severe)/24,1)),1),e.createElementVNode("td",Br,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((eo=(vt=S.speed)==null?void 0:vt.cpCopy)==null?void 0:eo.fo)+" FO / "+e.toDisplayString((oo=(to=S.speed)==null?void 0:to.cpCopy)==null?void 0:oo.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((lo=S.speed)==null?void 0:lo.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((ao=S.speed)==null?void 0:ao.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((no=S.speed)==null?void 0:no.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0),wr]),e.createElementVNode("div",Tr,[e.createElementVNode("div",Ar,[Fr,e.createElementVNode("div",Or,"Advisory & Major Waypoint of Route "+e.toDisplayString((kt=(bt=(xt=(gt=t.plan.speeds)==null?void 0:gt[a.speedIndex])==null?void 0:xt.speed)==null?void 0:bt.lane)==null?void 0:kt.name),1),((Ct=(Dt=t.plan)==null?void 0:Dt.speeds)==null?void 0:Ct.length)>1?(e.openBlock(),e.createElementBlock("div",Pr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((St=t.plan)==null?void 0:St.speeds,(S,Ie)=>{var lt,at;return e.openBlock(),e.createElementBlock("div",{class:"route-item",key:Ie,onClick:_t=>{a.speedIndex=Ie,n.renderEchart()}},e.toDisplayString((at=(lt=S.speed)==null?void 0:lt.lane)==null?void 0:at.name),9,Lr)}),128))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",$r,[a.editable?(e.openBlock(),e.createBlock(h,{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,Wr))]),e.createElementVNode("div",Hr,[Mr,e.createElementVNode("div",Ir,[(wt=(Bt=t.plan)==null?void 0:Bt.speeds)!=null&&wt.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(n.computeMajorPoints((Ot=(Ft=(At=(Tt=t.plan)==null?void 0:Tt.speeds)==null?void 0:At[a.speedIndex])==null?void 0:Ft.speed)==null?void 0:Ot.argv,(io=(co=($t=(Lt=(Pt=t.plan)==null?void 0:Pt.speeds)==null?void 0:Lt[a.speedIndex])==null?void 0:$t.speed)==null?void 0:co.sample)==null?void 0:io.wps),(S,Ie)=>(e.openBlock(),e.createElementBlock("div",{key:Ie,class:"cell-row"},[e.createElementVNode("div",Gr,[S.isResume?(e.openBlock(),e.createElementBlock("div",Rr,"Resume")):(e.openBlock(),e.createElementBlock("div",zr,[e.createVNode(p,{lat:S.lat,label:""},null,8,["lat"]),Ur,e.createVNode(g,{lng:S.lng,label:""},null,8,["lng"]),S.pilot?(e.openBlock(),e.createElementBlock("span",Yr," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",Zr,e.toDisplayString(n.computeUTCTime(S.eta)),1),Ie?(e.openBlock(),e.createElementBlock("div",Qr,e.toDisplayString(n.computeNav(S)),1)):(e.openBlock(),e.createElementBlock("div",Jr)),Ie?(e.openBlock(),e.createElementBlock("div",jr,e.toDisplayString(n.roundPrecision(S.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Kr)),Ie?(e.openBlock(),e.createElementBlock("div",Xr,e.toDisplayString(n.roundPrecision(S.avgSpd??S.speed,2))+" / "+e.toDisplayString(n.roundPrecision(S.bearing,0)),1)):(e.openBlock(),e.createElementBlock("div",qr)),Ie?(e.openBlock(),e.createElementBlock("div",ur,e.toDisplayString(n.computeMemo(S)),1)):(e.openBlock(),e.createElementBlock("div",vr))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",em,[(mo=(ro=t.plan)==null?void 0:ro.speeds)!=null&&mo.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",tm,[om,e.createElementVNode("div",lm," Weather Forecast for the Next "+e.toDisplayString(n.computeDay(t.plan,a.speedIndex))+" Days of Route "+e.toDisplayString((yo=(Eo=(_o=(ho=(po=t.plan)==null?void 0:po.speeds)==null?void 0:ho[a.speedIndex])==null?void 0:_o.speed)==null?void 0:Eo.lane)==null?void 0:yo.name),1),((Vo=(No=t.plan)==null?void 0:No.speeds)==null?void 0:Vo.length)>1?(e.openBlock(),e.createElementBlock("div",am,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((fo=t.plan)==null?void 0:fo.speeds,(S,Ie)=>{var lt,at;return e.openBlock(),e.createElementBlock("div",{class:"route-item",key:Ie,onClick:_t=>{a.speedIndex=Ie,n.renderEchart()}},e.toDisplayString((at=(lt=S==null?void 0:S.speed)==null?void 0:lt.lane)==null?void 0:at.name),9,nm)}),128))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",sm,[e.createElementVNode("div",cm,null,512)]),e.createElementVNode("table",null,[im,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Do=(ko=(bo=(xo=(go=t.plan)==null?void 0:go.speeds)==null?void 0:xo[a.speedIndex])==null?void 0:bo.speed)==null?void 0:ko.sample)==null?void 0:Do.hours,(S,Ie)=>{var lt,at,_t,Wt,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,jt,Kt,Xt,qt,ut,vt,eo,to,oo,lo,ao,no,Co,So,Bo,wo,To,Ao,Fo,Oo,Po,Lo,$o,Wo,Ho,Mo,Io,Go,Ro,zo,Uo,Yo,Zo,Qo;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",dm,[e.createVNode(p,{lat:S.lat,label:""},null,8,["lat"]),rm,e.createVNode(g,{lng:S.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(at=(lt=S.meteo)==null?void 0:lt.wind)!=null&&at.kts?(e.openBlock(),e.createElementBlock("span",mm,[e.createTextVNode(e.toDisplayString((Wt=(_t=S.meteo)==null?void 0:_t.wind)==null?void 0:Wt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Mt=(Ht=S.meteo)==null?void 0:Ht.wind)==null?void 0:Mt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",pm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Gt=(It=S.meteo)==null?void 0:It.wind)==null?void 0:Gt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ut=(zt=(Rt=S.meteo)==null?void 0:Rt.wave)==null?void 0:zt.wd)==null?void 0:Ut.height,1)),1),e.createElementVNode("td",null,[(Qt=(Zt=(Yt=S.meteo)==null?void 0:Yt.wave)==null?void 0:Zt.swell)!=null&&Qt.height?(e.openBlock(),e.createElementBlock("span",hm,[e.createTextVNode(e.toDisplayString((Kt=(jt=(Jt=S.meteo)==null?void 0:Jt.wave)==null?void 0:jt.swell)==null?void 0:Kt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ut=(qt=(Xt=S.meteo)==null?void 0:Xt.wave)==null?void 0:qt.swell)==null?void 0:ut.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",_m,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((to=(eo=(vt=S.meteo)==null?void 0:vt.wave)==null?void 0:eo.swell)==null?void 0:to.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ao=(lo=(oo=S.meteo)==null?void 0:oo.wave)==null?void 0:lo.swell)==null?void 0:ao.period,1)),1),e.createElementVNode("td",null,[(So=(Co=(no=S.meteo)==null?void 0:no.wave)==null?void 0:Co.sig)!=null&&So.height?(e.openBlock(),e.createElementBlock("span",Em,[e.createTextVNode(e.toDisplayString((To=(wo=(Bo=S.meteo)==null?void 0:Bo.wave)==null?void 0:wo.sig)==null?void 0:To.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Oo=(Fo=(Ao=S.meteo)==null?void 0:Ao.wave)==null?void 0:Fo.sig)==null?void 0:Oo.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",ym,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(($o=(Lo=(Po=S.meteo)==null?void 0:Po.wave)==null?void 0:Lo.sig)==null?void 0:$o.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Mo=(Ho=(Wo=S.meteo)==null?void 0:Wo.wave)==null?void 0:Ho.sig)==null?void 0:Mo.period,1)),1),e.createElementVNode("td",null,[(Go=(Io=S.meteo)==null?void 0:Io.current)!=null&&Go.kts?(e.openBlock(),e.createElementBlock("span",Nm,[e.createTextVNode(e.toDisplayString((zo=(Ro=S.meteo)==null?void 0:Ro.current)==null?void 0:zo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Yo=(Uo=S.meteo)==null?void 0:Uo.current)==null?void 0:Yo.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Vm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Qo=(Zo=S.meteo)==null?void 0:Zo.current)==null?void 0:Qo.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(S.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0),fm])])])}const Fs=we(_d,[["render",gm],["__scopeId","data-v-7d56124f"]]),_j="",xm={name:"RouteReport",components:{Lng:ja,Lat:Ka,Editor:pl},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`${X(o).utc().format(s)}`}},computeLTime(){return function(o,s){const t=X(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=X((r=(t=o==null?void 0:o.speeds[s])==null?void 0:t.speed)==null?void 0:r.eta).diff(X((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 X(r.eta).diff(X(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}}},st=o=>(e.pushScopeId("data-v-9a939466"),o=o(),e.popScopeId(),o),bm={class:"route-report"},km=st(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),Dm={class:"section"},Cm=st(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),Sm={class:"section-body basics"},Bm={class:"flex-space section-row"},wm={class:"flex-start"},Tm=st(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),Am={class:"flex-start"},Fm={class:"flex-start"},Om=st(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),Pm={class:"flex-start flex"},Lm={key:0,class:"flex"},$m={key:1,class:"flex-space flex"},Wm=st(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Hm={class:"time flex"},Mm={class:"flex-space section-row"},Im={class:"flex-start"},Gm=st(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),Rm={class:"flex-start"},zm={class:"flex-start"},Um=st(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),Ym={class:"flex-start flex"},Zm={key:0,class:"flex"},Qm={key:1,class:"flex-space"},Jm=st(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),jm={class:"time flex"},Km={class:"flex-space section-row"},Xm={class:"flex-start"},qm=st(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),um={class:"flex-start"},vm={class:"flex-start"},ep=st(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),tp={class:"flex-start flex"},op={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},lp=st(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),ap={class:"section-body detail"},np={class:"flex-space",style:{"align-items":"stretch"}},sp={class:"chart"},cp=["src"],ip={key:1,class:"empty flex-center"},dp={class:"route flex",style:{"justify-content":"space-between"}},rp=st(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),mp={class:"suggestion"},pp=["innerHTML"],hp={class:"flex-start legends"},_p=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),Ep={key:0,class:"legend"},yp=[st(()=>e.createElementVNode("b",{class:"route2"},null,-1)),st(()=>e.createElementVNode("span",null,"Route 2",-1))],Np={key:1,class:"legend"},Vp=[st(()=>e.createElementVNode("b",{class:"route3"},null,-1)),st(()=>e.createElementVNode("span",null,"Route 3",-1))],fp={class:"section"},gp=st(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),xp={class:"section-body comparison"},bp={class:"container"},kp={key:0},Dp=st(()=>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)),Cp={class:"section",style:{"page-break-inside":"avoid"}},Sp=st(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),Bp={class:"section-body sample"},wp={class:"major-waypoints"},Tp={class:"container"},Ap=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),Fp={class:"body"},Op={class:"cell-item flexM"},Pp={class:"flex-center"},Lp=st(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),$p={class:"cell-item flexL"},Wp={key:0,class:"flex-center"},Hp={key:1},Mp={class:"cell-item flex"},Ip={key:0,class:"cell-item flex offset"},Gp={key:1,class:"cell-item flex nbsp"},Rp={key:2,class:"cell-item flex offset"},zp={key:3,class:"cell-item flex nbsp"},Up={key:4,class:"cell-item flex offset"},Yp={key:5,class:"cell-item flex nbsp"},Zp={class:"section"},Qp=st(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),Jp={class:"section-body sample"},jp={key:0},Kp=st(()=>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)),Xp={class:"flex-center"},qp=st(()=>e.createElementVNode("span",null,"/",-1)),up={key:0,class:"degree-box"},vp={key:1},eh={key:0,class:"degree-box"},th={key:1},oh={key:0,class:"degree-box"},lh={key:1},ah={key:0,class:"degree-box"},nh={key:1},sh=st(()=>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 ch(o,s,t,r,a,n){var g,x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,I,J,Y,j,se,ce,l,q,ee,te,oe,le,ae,ie,de,re,Ee,u,he,ye,Ne,pe,ge,xe,be,ke,De,Ce,Fe,Oe,Pe,Le,$e,We,He,Me,Ve,Je,je,Ke;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",bm,[km,e.createElementVNode("div",Dm,[Cm,e.createElementVNode("div",Sm,[e.createElementVNode("div",Bm,[e.createElementVNode("div",wm,[Tm,e.createElementVNode("div",Am,e.toDisplayString((h=(x=(g=t.plan)==null?void 0:g.voyage)==null?void 0:x.company)==null?void 0:h.name),1)]),e.createElementVNode("div",Fm,[Om,e.createElementVNode("div",Pm,[(b=(D=(N=t.plan)==null?void 0:N.leg)==null?void 0:D.departure)!=null&&b.name?(e.openBlock(),e.createElementBlock("div",Lm,e.toDisplayString((k=(C=t.plan)==null?void 0:C.leg)==null?void 0:k.departure.name),1)):(e.openBlock(),e.createElementBlock("div",$m,[e.createVNode(E,{lat:(B=(F=(A=t.plan)==null?void 0:A.leg)==null?void 0:F.departure)==null?void 0:B.lat,label:""},null,8,["lat"]),Wm,e.createVNode(c,{lng:(O=(V=(w=t.plan)==null?void 0:w.leg)==null?void 0:V.departure)==null?void 0:O.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Hm,e.toDisplayString(n.computeUTCTime(((z=(R=(G=t.plan)==null?void 0:G.leg)==null?void 0:R.departure)==null?void 0:z.atd)||((L=(_=(U=t.plan)==null?void 0:U.leg)==null?void 0:_.departure)==null?void 0:L.etd),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",Mm,[e.createElementVNode("div",Im,[Gm,e.createElementVNode("div",Rm,e.toDisplayString((P=($=(H=t.plan)==null?void 0:H.voyage)==null?void 0:$.vessel)==null?void 0:P.name),1)]),e.createElementVNode("div",zm,[Um,e.createElementVNode("div",Ym,[(Y=(J=(I=t.plan)==null?void 0:I.leg)==null?void 0:J.destination)!=null&&Y.name?(e.openBlock(),e.createElementBlock("div",Zm,e.toDisplayString((se=(j=t.plan)==null?void 0:j.leg)==null?void 0:se.destination.name),1)):(e.openBlock(),e.createElementBlock("div",Qm,[e.createVNode(E,{lat:(q=(l=(ce=t.plan)==null?void 0:ce.leg)==null?void 0:l.destination)==null?void 0:q.lat,label:""},null,8,["lat"]),Jm,e.createVNode(c,{lng:(oe=(te=(ee=t.plan)==null?void 0:ee.leg)==null?void 0:te.destination)==null?void 0:oe.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",jm,e.toDisplayString(n.computeUTCTime(((ie=(ae=(le=t.plan)==null?void 0:le.speeds)==null?void 0:ae[0])==null?void 0:ie.speed.ata)||((re=(de=t.plan)==null?void 0:de.speeds)==null?void 0:re[0].speed.eta),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",Km,[e.createElementVNode("div",Xm,[qm,e.createElementVNode("div",um,e.toDisplayString(n.computeUTCTime((Ee=t.plan)==null?void 0:Ee.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",vm,[ep,e.createElementVNode("div",tp,[e.createElementVNode("div",null,e.toDisplayString((he=(u=t.plan)==null?void 0:u.voyage)==null?void 0:he.loadCondition),1)])])])])]),e.createElementVNode("div",op,[lp,e.createElementVNode("div",ap,[e.createElementVNode("div",np,[e.createElementVNode("div",sp,[(ye=t.plan)!=null&&ye.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(Ne=t.plan)==null?void 0:Ne.chartUrl},null,8,cp)):(e.openBlock(),e.createElementBlock("div",ip,[e.createTextVNode("waiting for weather map, "),e.createElementVNode("b",{onClick:s[0]||(s[0]=(...T)=>n.handleRefresh&&n.handleRefresh(...T))},"Refresh"),e.createTextVNode("later please")]))]),e.createElementVNode("div",dp,[e.createElementVNode("div",null,[rp,e.createElementVNode("div",mp,[a.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[1]||(s[1]=T=>a.advisory=T),class:"editor",height:"120px",onBlur:s[2]||(s[2]=T=>n.handleCommit(T))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[3]||(s[3]=(...T)=>n.handleEdit&&n.handleEdit(...T)),innerHTML:a.advisory},null,40,pp))])]),e.createElementVNode("div",hp,[_p,((ge=(pe=t.plan)==null?void 0:pe.speeds)==null?void 0:ge.length)>1?(e.openBlock(),e.createElementBlock("div",Ep,yp)):e.createCommentVNode("",!0),((be=(xe=t.plan)==null?void 0:xe.speeds)==null?void 0:be.length)>2?(e.openBlock(),e.createElementBlock("div",Np,Vp)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",fp,[gp,e.createElementVNode("div",xp,[e.createElementVNode("div",bp,[(De=(ke=t.plan)==null?void 0:ke.speeds)!=null&&De.length?(e.openBlock(),e.createElementBlock("table",kp,[Dp,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ce=t.plan)==null?void 0:Ce.speeds,(T,Se)=>{var Ue,Xe,qe,ue,ve,et,m,W,Be,Ge,Ye,_e,Ze,tt,ot;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((Ue=T.speed)==null?void 0:Ue.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${((Xe=T.speed)==null?void 0:Xe.label)??"CP"} ${((qe=T.speed)==null?void 0:qe.v0)??((ve=(ue=T.speed)==null?void 0:ue.cpCopy)==null?void 0:ve.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((m=(et=T.speed)==null?void 0:et.cpCopy)==null?void 0:m.fo)+" FO / "+e.toDisplayString((Be=(W=T.speed)==null?void 0:W.cpCopy)==null?void 0:Be.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Ge=T.speed)==null?void 0:Ge.eta)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ye=T.speed)==null?void 0:Ye.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((_e=T.speed)==null?void 0:_e.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((Ze=T.speed)==null?void 0:Ze.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((tt=T.speed)==null?void 0:tt.totalFoCons,3))+" FO /"+e.toDisplayString(n.roundPrecision((ot=T.speed)==null?void 0:ot.totalDgoCons,3))+" DO",1)])}),128))])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",Cp,[Sp,e.createElementVNode("div",Bp,[e.createElementVNode("div",wp,[e.createElementVNode("div",Tp,[Ap,e.createElementVNode("div",Fp,[(Oe=(Fe=t.plan)==null?void 0:Fe.speeds)!=null&&Oe.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList((We=($e=(Le=(Pe=t.plan)==null?void 0:Pe.speeds[0])==null?void 0:Le.speed)==null?void 0:$e.sample)==null?void 0:We.wps,(T,Se)=>(e.openBlock(),e.createElementBlock("div",{key:Se,class:"cell-row"},[e.createElementVNode("div",Op,[e.createElementVNode("div",Pp,[e.createVNode(E,{lat:T.lat,label:""},null,8,["lat"]),Lp,e.createVNode(c,{lng:T.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",$p,[T.name?(e.openBlock(),e.createElementBlock("span",Wp,e.toDisplayString(T.name),1)):(e.openBlock(),e.createElementBlock("span",Hp,"-"))]),e.createElementVNode("div",Mp,e.toDisplayString(n.computeUTCTime(T.eta)),1),Se?(e.openBlock(),e.createElementBlock("div",Ip,e.toDisplayString(n.computeNav(T)),1)):(e.openBlock(),e.createElementBlock("div",Gp)),Se?(e.openBlock(),e.createElementBlock("div",Rp,e.toDisplayString(n.roundPrecision(T.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",zp)),Se?(e.openBlock(),e.createElementBlock("div",Up,e.toDisplayString(n.roundPrecision(T.avgSpd??T.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",Yp))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Zp,[Qp,e.createElementVNode("div",Jp,[(Me=(He=t.plan)==null?void 0:He.speeds)!=null&&Me.length?(e.openBlock(),e.createElementBlock("table",jp,[Kp,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ke=(je=(Je=(Ve=t.plan)==null?void 0:Ve.speeds[0])==null?void 0:Je.speed)==null?void 0:je.sample)==null?void 0:Ke.hours,(T,Se)=>{var Ue,Xe,qe,ue,ve,et,m,W,Be,Ge,Ye,_e,Ze,tt,ot,rt,mt,pt,ht,yt,Nt,Vt,ft,gt,xt,bt,kt,Dt,Ct,St,Bt,wt,Tt,At,Ft,Ot,Pt,Lt,$t;return e.openBlock(),e.createElementBlock("tr",{key:Se,class:e.normalizeClass(T.isDangerous?"dangerous":T.isSevere?"severe":T.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime(T.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",Xp,[e.createVNode(E,{lat:T.lat,label:""},null,8,["lat"]),qp,e.createVNode(c,{lng:T.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Xe=(Ue=T.meteo)==null?void 0:Ue.wind)!=null&&Xe.kts?(e.openBlock(),e.createElementBlock("span",up,e.toDisplayString((ue=(qe=T.meteo)==null?void 0:qe.wind)==null?void 0:ue.direction),1)):(e.openBlock(),e.createElementBlock("span",vp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((et=(ve=T.meteo)==null?void 0:ve.wind)==null?void 0:et.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Be=(W=(m=T.meteo)==null?void 0:m.wave)==null?void 0:W.wd)==null?void 0:Be.height,1)),1),e.createElementVNode("td",null,[(_e=(Ye=(Ge=T.meteo)==null?void 0:Ge.wave)==null?void 0:Ye.swell)!=null&&_e.height?(e.openBlock(),e.createElementBlock("span",eh,e.toDisplayString((ot=(tt=(Ze=T.meteo)==null?void 0:Ze.wave)==null?void 0:tt.swell)==null?void 0:ot.direction),1)):(e.openBlock(),e.createElementBlock("span",th,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((pt=(mt=(rt=T.meteo)==null?void 0:rt.wave)==null?void 0:mt.swell)==null?void 0:pt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Nt=(yt=(ht=T.meteo)==null?void 0:ht.wave)==null?void 0:yt.swell)==null?void 0:Nt.period,1)),1),e.createElementVNode("td",null,[(gt=(ft=(Vt=T.meteo)==null?void 0:Vt.wave)==null?void 0:ft.sig)!=null&&gt.height?(e.openBlock(),e.createElementBlock("span",oh,e.toDisplayString((kt=(bt=(xt=T.meteo)==null?void 0:xt.wave)==null?void 0:bt.sig)==null?void 0:kt.direction),1)):(e.openBlock(),e.createElementBlock("span",lh,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((St=(Ct=(Dt=T.meteo)==null?void 0:Dt.wave)==null?void 0:Ct.sig)==null?void 0:St.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Tt=(wt=(Bt=T.meteo)==null?void 0:Bt.wave)==null?void 0:wt.sig)==null?void 0:Tt.period,1)),1),e.createElementVNode("td",null,[(Ft=(At=T.meteo)==null?void 0:At.current)!=null&&Ft.kts?(e.openBlock(),e.createElementBlock("span",ah,e.toDisplayString((Pt=(Ot=T.meteo)==null?void 0:Ot.current)==null?void 0:Pt.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",nh,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(($t=(Lt=T.meteo)==null?void 0:Lt.current)==null?void 0:$t.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(T.cFactor,1)),1)],2)}),128))])])):e.createCommentVNode("",!0)])]),sh])}const Hs=we(xm,[["render",ch],["__scopeId","data-v-9a939466"]]),ih={install(o){o.component("RouteReport",Fs),o.component("FliPlanReport",Hs),o.component("OrmPlanReport",Fs)}},dh={install(o){o.component("IdmEditor",pl)}},rh={install(o){o.component("IdmLat",Ka)}},mh={install(o){o.component("IdmLng",ja)}},ph={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},hh={class:"logo"},_h={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},Eh=["fill","fill-opacity"],yh=[e.createElementVNode("path",{d:`M4225 11533 c-100 -6 -311 -23 -335 -27 -14 -3 -59 -10 -100 -16
1
+ (function(Z,me){typeof exports=="object"&&typeof module<"u"?me(exports,require("@idm-plugin/geo"),require("moment"),require("vue"),require("echarts"),require("@wangeditor/editor-for-vue"),require("element-plus"),require("@idmui/tropical"),require("@element-plus/icons-vue"),require("axios"),require("mapbox-gl")):typeof define=="function"&&define.amd?define(["exports","@idm-plugin/geo","moment","vue","echarts","@wangeditor/editor-for-vue","element-plus","@idmui/tropical","@element-plus/icons-vue","axios","mapbox-gl"],me):(Z=typeof globalThis<"u"?globalThis:Z||self,me(Z["idmui-report"]={},Z["@idm-plugin/geo"],Z.moment,Z.Vue,Z.echarts,Z["@wangeditor/editor-for-vue"],Z["element-plus"],Z["@idmui/tropical"],Z["@element-plus/icons-vue"],Z.axios,Z["mapbox-gl"]))})(this,function(Z,me,X,e,Mc,ec,us,Ic,Xa,Ja,Fa){"use strict";function Gc(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 qa=Gc(Mc),sj="",we=(o,s)=>{const t=o.__vccOpts||o;for(const[r,a]of s)t[r]=a;return t},Rc={name:"IdmBrand",props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${(o?X(o):X()).utc().format(s)}`}}}},tc=o=>(e.pushScopeId("data-v-b7008706"),o=o(),e.popScopeId(),o),zc={class:"section brand-section flex-space"},Uc=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),Yc={class:"report-box flex-space"},Zc={class:"name flex-start"},Qc={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},Jc={class:"flex-start",style:{width:"100%"}},jc={class:"label-block flex-evenly",style:{flex:"1"}},Kc=tc(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),Xc={class:"flex-end",style:{flex:"2"}},qc=tc(()=>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(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",zc,[Uc,e.createElementVNode("div",Yc,[e.createElementVNode("div",Zc,e.toDisplayString(t.name),1),e.createElementVNode("div",Qc,[e.createElementVNode("div",Jc,[e.createElementVNode("div",jc,[Kc,e.createElementVNode("span",Xc,e.toDisplayString(n.computeUTCTime(t.issued,"MMM-DD, YYYY")),1)])]),qc])])])}const jo=we(Rc,[["render",uc],["__scopeId","data-v-b7008706"]]),vc={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}}},ei={key:0,class:"loading"},ti=e.createElementVNode("i",{class:"iconfont"},"",-1);function oi(o,s,t,r,a,n){return t.loading?(e.openBlock(),e.createElementBlock("div",ei,[ti,e.createElementVNode("div",null,e.toDisplayString(t.text),1)])):e.createCommentVNode("",!0)}const ua=we(vc,[["render",oi]]),cj="",li={name:"ORMPointReport",components:{IdmLoading:ua,IdmBrand:jo},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 me.LngLatHelper.lat2pretty(o,2)}},computeLng(){return function(o){return me.LngLatHelper.lng2pretty(o,2)}},computeLTime(){return function(o,s=8,t="MMM-DD/HHmm[LT]"){return`${X(o).utcOffset(s).format(t)}`}},computeTZ(){return function(o="0"){return me.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,g,x,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 b=(n=o==null?void 0:o.extend)==null?void 0:n.data[D];if(D===0)b.precip.pacc=0;else{const C=(E=o==null?void 0:o.extend)==null?void 0:E.data[D-1],k=X(b.utc).utcOffset(this.localTZ),A=X(C.utc).utcOffset(this.localTZ),F=(c=C==null?void 0:C.precip)==null?void 0:c.prate,B=k.diff(A,"h"),w=this.roundPrecision(F*B,1);if(b.precip.pacc=w,w>0){const V=s[k.format("MMM-DD")],O=Math.floor(k.get("hour")/6);V?(V.pacc=this.roundPrecision(V.pacc+w,1),V[`${O}`]?V[`${O}`]+=w:(V[`${O}`]=w,V.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=((g=s[D])==null?void 0:g.pacc)<10?"Light":((x=s[D])==null?void 0:x.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=me.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(qa.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 x,h,N,D,b,C,k,A,F,B,w,V,O;const g=X(p.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");o.push(g),r=((h=(x=p.wave)==null?void 0:x.sig)==null?void 0:h.height)>r?(D=(N=p.wave)==null?void 0:N.sig)==null?void 0:D.height:r,s.push([g,(b=p.wind)==null?void 0:b.kts,(C=p.gusts)==null?void 0:C.kts,(A=(k=p.wave)==null?void 0:k.sig)==null?void 0:A.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,(V=p.current)==null?void 0:V.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)}}},nt=o=>(e.pushScopeId("data-v-84da66b8"),o=o(),e.popScopeId(),o),ai={class:"point-report"},ni={class:"section info-section"},si={class:"flex-evenly"},ci={class:"flex-space label-block",style:{width:"100%"}},ii=nt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),di={class:"flex-space label-block",style:{width:"100%"}},ri=nt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),mi={class:"flex-evenly"},pi={class:"flex-space label-block",style:{width:"100%"}},hi=nt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),_i={class:"flex-space label-block",style:{width:"100%"}},Ei={class:"flex-end",style:{width:"180px"}},yi={class:"section echart-section"},Ni={ref:"echart",class:"echart"},Vi={class:"section sample-section"},fi=nt(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),gi=nt(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),xi=nt(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),bi=nt(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),ki=nt(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Di=nt(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),Ci=["colspan"],Si=nt(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Bi=nt(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),wi=nt(()=>e.createElementVNode("th",null,"Dir",-1)),Ti=nt(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Ai=nt(()=>e.createElementVNode("th",null,"BF",-1)),Fi=nt(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Oi=nt(()=>e.createElementVNode("th",null,"Dir",-1)),Pi=nt(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Li=nt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),$i=nt(()=>e.createElementVNode("th",null,"Dir",-1)),Wi=nt(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Hi=nt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Mi=nt(()=>e.createElementVNode("th",null,"Dir",-1)),Ii=nt(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Gi={key:0},Ri={key:1},zi=nt(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Ui=nt(()=>e.createElementVNode("th",null,"°C",-1)),Yi={width:"120px"},Zi={key:0,class:"degree-box"},Qi={key:1},Ji={key:0,class:"degree-box"},ji={key:1},Ki={key:0,class:"degree-box"},Xi={key:1},qi={key:0,class:"degree-box"},ui={key:1},vi={key:0},ed={key:1};function td(o,s,t,r,a,n){var p,g,x,h;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",ai,[e.createVNode(E,{name:"Point Weather Forecast"}),e.createVNode(c,{loading:a.loading},null,8,["loading"]),e.createElementVNode("div",ni,[e.createElementVNode("div",si,[e.createElementVNode("div",ci,[ii,e.createElementVNode("span",null,e.toDisplayString(n.computeLat((p=t.report)==null?void 0:p.lat).pretty)+" / "+e.toDisplayString(n.computeLng((g=t.report)==null?void 0:g.lng).pretty),1)]),e.createElementVNode("div",di,[ri,e.createElementVNode("span",null,e.toDisplayString(n.computeLTime(t.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",mi,[e.createElementVNode("div",pi,[hi,e.createElementVNode("span",null,e.toDisplayString(n.computeTZ(a.localTZ)),1)]),e.createElementVNode("div",_i,[e.createElementVNode("label",Ei,"("+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",yi,[e.createElementVNode("div",Ni,null,512)]),e.createElementVNode("div",Vi,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[fi,gi,xi,bi,ki,Di,e.createElementVNode("th",{colspan:t.showPrate&&t.showAcc?2:1},"Precip",8,Ci),Si,Bi]),e.createElementVNode("tr",null,[wi,Ti,Ai,Fi,Oi,Pi,Li,$i,Wi,Hi,Mi,Ii,t.showPrate?(e.openBlock(),e.createElementBlock("th",Gi,"Rate (mm/h)")):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("th",Ri,"Acc (mm)")):e.createCommentVNode("",!0),zi,Ui])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=(x=t.report)==null?void 0:x.extend)==null?void 0:h.data,(N,D)=>{var b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,M,J,Y,j,se,ce,l,q,ee,te,oe,le,ae,ie,de,re;return e.openBlock(),e.createElementBlock("tr",{key:D},[e.createElementVNode("td",Yi,e.toDisplayString(n.computeLTime(N.utc,a.localTZ)),1),e.createElementVNode("td",null,[(b=N.wind)!=null&&b.kts?(e.openBlock(),e.createElementBlock("span",Zi,[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",Qi,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((A=N.wind)==null?void 0:A.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((V=(w=N.wave)==null?void 0:w.wd)==null?void 0:V.height,1)),1),e.createElementVNode("td",null,[(G=(O=N.wave)==null?void 0:O.swell)!=null&&G.height?(e.openBlock(),e.createElementBlock("span",Ji,[e.createTextVNode(e.toDisplayString((z=(R=N.wave)==null?void 0:R.swell)==null?void 0:z.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((_=(U=N.wave)==null?void 0:U.swell)==null?void 0:_.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",ji,"-"))]),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=($=N.wave)==null?void 0:$.swell)==null?void 0:P.period,1)),1),e.createElementVNode("td",null,[(J=(M=N.wave)==null?void 0:M.sig)!=null&&J.height?(e.openBlock(),e.createElementBlock("span",Ki,[e.createTextVNode(e.toDisplayString((j=(Y=N.wave)==null?void 0:Y.sig)==null?void 0:j.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ce=(se=N.wave)==null?void 0:se.sig)==null?void 0:ce.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Xi,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((q=(l=N.wave)==null?void 0:l.sig)==null?void 0:q.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((te=(ee=N.wave)==null?void 0:ee.sig)==null?void 0:te.period,1)),1),e.createElementVNode("td",null,[(oe=N.current)!=null&&oe.kts?(e.openBlock(),e.createElementBlock("span",qi,[e.createTextVNode(e.toDisplayString((le=N.current)==null?void 0:le.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ae=N.current)==null?void 0:ae.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",ui,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ie=N.current)==null?void 0:ie.kts,1)),1),t.showPrate?(e.openBlock(),e.createElementBlock("td",vi,e.toDisplayString(n.roundPrecision((de=N.precip)==null?void 0:de.prate,2)),1)):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("td",ed,e.toDisplayString(n.roundPrecision((re=N.precip)==null?void 0:re.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 oc=we(li,[["render",td],["__scopeId","data-v-84da66b8"]]),od={install(o){o.component("ORMPointReport",oc)}},ij="",ld={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=me.LngLatHelper.convertToStdLng(this.lng);this.pretty=me.LngLatHelper.lng2pretty(o).pretty}},immediate:!0}}},ad={class:"lng-box"},nd={key:0};function sd(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",ad,[t.label?(e.openBlock(),e.createElementBlock("span",nd,e.toDisplayString(t.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(a.pretty),1)])}const ja=we(ld,[["render",sd],["__scopeId","data-v-0d3c152f"]]),dj="",cd={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=me.LngLatHelper.lat2pretty(this.lat).pretty)},immediate:!0}}},id={class:"lat-box"},dd={key:0};function rd(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",id,[t.label?(e.openBlock(),e.createElementBlock("span",dd,e.toDisplayString(t.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(a.pretty),1)])}const Ka=we(cd,[["render",rd],["__scopeId","data-v-3d953d12"]]),rj="",md={name:"IdmEditor",components:{Editor:ec.Editor,Toolbar:ec.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()}}},pd={class:"editor-box"};function hd(o,s,t,r,a,n){const E=e.resolveComponent("Toolbar"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",pd,[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 pl=we(md,[["render",hd],["__scopeId","data-v-e3eb0d7a"]]),mj="",_d={name:"OrmRouteReport",components:{Lng:ja,Lat:Ka,Editor:pl,Brand:jo,Loading:ua,ElTooltip:us.ElTooltip},props:{plan:{type:Object,default:()=>({})},weatherPrinciple:{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`${X(o).utc().format(s)}`}},computeLTime(){return function(o,s,t){let r=0;return t&&s&&(r=me.LngLatHelper.guessTimeZoneOffset(s,t)),`${X(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=X((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(X((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(X(a.eta).diff(X(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(qa.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var p,g,x,h,N,D,b;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=(x=(g=(p=this.plan)==null?void 0:p.speeds)==null?void 0:g[this.speedIndex])==null?void 0:x.speed)==null?void 0:h.sample)==null?void 0:N.hours)==null||D.forEach(C=>{var A,F,B,w,V,O,G,R,z,U;const k=C.meteo;if(k){const _=X(k.utc).utc().format("MMM-DD/HHmm[Z]");o.push(_),E=Math.ceil(((F=(A=k.wave)==null?void 0:A.sig)==null?void 0:F.height)>E?(w=(B=k.wave)==null?void 0:B.sig)==null?void 0:w.height:E),s.push([_,(V=k.wind)==null?void 0:V.kts,(G=(O=k.wave)==null?void 0:O.sig)==null?void 0:G.height,(R=k.wind)==null?void 0:R.direction,(z=k.wind)==null?void 0:z.degree,(U=k.wind)==null?void 0:U.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 A=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:A,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}]};(b=this.echart)==null||b.setOption(c)}}},Te=o=>(e.pushScopeId("data-v-7d56124f"),o=o(),e.popScopeId(),o),Ed={class:"voyage-plan"},yd={class:"plan-report"},Nd={class:"section voyage-section flex-space"},Vd={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},fd={class:"flex-start label-block",style:{width:"100%"}},gd=Te(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),xd={style:{"text-transform":"uppercase"},class:"text-ellipsis"},bd={class:"flex-start label-block",style:{width:"100%"}},kd=Te(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),Dd={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},Cd={class:"flex-start label-block",style:{width:"100%"}},Sd=Te(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),Bd={class:"flex-end"},wd={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Td={class:"flex-start label-block",style:{width:"100%"}},Ad=Te(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),Fd={key:0,class:"flex-end",style:{flex:"1"}},Od={key:1,class:"flex-end",style:{flex:"1"}},Pd=Te(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Ld={class:"flex-end",style:{width:"120px"}},$d={class:"flex-space label-block",style:{width:"100%"}},Wd=Te(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),Hd={key:0,class:"flex-end",style:{flex:"1"}},Md={key:1,class:"flex-end",style:{flex:"1"}},Id=Te(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Gd={class:"flex-end",style:{width:"120px"}},Rd={class:"flex-space label-block",style:{width:"100%"}},zd=Te(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),Ud={class:"flex-end",style:{"text-transform":"uppercase"}},Yd={class:"section chart-section"},Zd=Te(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),Qd={class:"flex-center"},Jd=["src"],jd={class:"legends"},Kd=e.createStaticVNode('<div class="legend" data-v-7d56124f><label style="background-color:var(--idm-dangerous);" data-v-7d56124f></label><span data-v-7d56124f>Dangerous</span></div><div class="legend" data-v-7d56124f><label style="background-color:var(--idm-severe);" data-v-7d56124f></label><span data-v-7d56124f>Severe</span></div><div class="legend" data-v-7d56124f><label style="background-color:var(--idm-heavy);" data-v-7d56124f></label><span data-v-7d56124f>Heavy</span></div>',3),Xd={class:"legend"},qd=Te(()=>e.createElementVNode("b",{class:"route1"},null,-1)),ud={key:0,class:"legend"},vd=Te(()=>e.createElementVNode("b",{class:"route2"},null,-1)),er={key:1,class:"legend"},tr=Te(()=>e.createElementVNode("b",{class:"route3"},null,-1)),or={key:1,class:"empty"},lr={class:"section comparison-section"},ar={key:0},nr=Te(()=>e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route",-1)),sr=Te(()=>e.createElementVNode("th",null,"SPD (kts)",-1)),cr=Te(()=>e.createElementVNode("th",{rowspan:"2"},"DTG (nm)",-1)),ir=Te(()=>e.createElementVNode("th",null,"ETA (LT)",-1)),dr=Te(()=>e.createElementVNode("th",{rowspan:"2"},"Diff (h)",-1)),rr=Te(()=>e.createElementVNode("th",{colspan:"2"},"Cons (mt)",-1)),mr=Te(()=>e.createElementVNode("p",{style:{cursor:"pointer"}},"Dangerous",-1)),pr=Te(()=>e.createElementVNode("p",{style:{cursor:"pointer"}},"Severe",-1)),hr=Te(()=>e.createElementVNode("p",{style:{cursor:"pointer"}},"Heavy",-1)),_r=Te(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),Er=Te(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),yr=Te(()=>e.createElementVNode("th",null,"*FO",-1)),Nr=Te(()=>e.createElementVNode("th",null,"*DO",-1)),Vr={colspan:"3"},fr={rowspan:"2"},gr={rowspan:"2"},xr={rowspan:"2"},br={rowspan:"2"},kr={rowspan:"2"},Dr={rowspan:"2"},Cr={rowspan:"2"},Sr={rowspan:"2"},Br={rowspan:"2"},wr=Te(()=>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)),Tr={class:"section waypoint-section"},Ar={class:"header-block flex-start"},Fr=Te(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Or={class:"title"},Pr={key:0,class:"flex-end",style:{flex:"1"}},Lr=["onClick"],$r={class:"advisory"},Wr=["innerHTML"],Hr={class:"major-waypoint"},Mr=e.createStaticVNode('<div class="major-header" data-v-7d56124f><div class="cell-item flex" style="flex:1.5;" data-v-7d56124f>Major waypoint</div><div class="cell-item flex" data-v-7d56124f>Time</div><div class="cell-item flex" data-v-7d56124f>Nav</div><div class="cell-item flex" data-v-7d56124f>Dist</div><div class="cell-item flex" data-v-7d56124f>SOG/COG</div><div class="cell-item flex" data-v-7d56124f>Memo</div></div>',1),Ir={class:"major-body"},Gr={class:"cell-item flex",style:{flex:"1.5"}},Rr={key:0,class:"flex-center"},zr={key:1,class:"flex-center"},Ur=Te(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Yr={key:0},Zr={class:"cell-item flex"},Qr={key:0,class:"cell-item flex offset"},Jr={key:1,class:"cell-item flex nbsp"},jr={key:2,class:"cell-item flex offset"},Kr={key:3,class:"cell-item flex nbsp"},Xr={key:4,class:"cell-item flex offset"},qr={key:5,class:"cell-item flex nbsp"},ur={key:6,class:"cell-item flex offset"},vr={key:7,class:"cell-item flex nbsp"},em={class:"section forecast-section"},tm={class:"header-block flex-start"},om=Te(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),lm={class:"title"},am={key:0,class:"flex-end",style:{flex:"1"}},nm=["onClick"],sm={class:"echart-block"},cm={ref:"echart",class:"echart"},im=Te(()=>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)),dm={class:"flex-center"},rm=Te(()=>e.createElementVNode("span",null,"/",-1)),mm={key:0,class:"degree-box"},pm={key:1},hm={key:0,class:"degree-box"},_m={key:1},Em={key:0,class:"degree-box"},ym={key:1},Nm={key:0,class:"degree-box"},Vm={key:1},fm=Te(()=>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 gm(o,s,t,r,a,n){var N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,M,J,Y,j,se,ce,l,q,ee,te,oe,le,ae,ie,de,re,Ee,u,he,ye,Ne,pe,ge,xe,be,ke,De,Ce,Fe,Oe,Pe,Le,$e,We,He,Me,Ve,Je,je,Ke,T,Se,Ue,Xe,qe,ue,ve,et,m,W,Be,Ge,Ye,_e,Ze,tt,ot,rt,mt,pt,ht,yt,Nt,Vt,ft,gt,xt,bt,kt,Dt,Ct,St,Bt,wt,Tt,At,Ft,Ot,Pt,Lt,$t,co,io,ro,mo,po,ho,_o,Eo,yo,No,Vo,fo,go,xo,bo,ko,Do;const E=e.resolveComponent("Brand"),c=e.resolveComponent("Loading"),p=e.resolveComponent("Lat"),g=e.resolveComponent("Lng"),x=e.resolveComponent("ElTooltip"),h=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Ed,[e.createElementVNode("div",yd,[e.createVNode(E,{name:"Voyage Planning",issued:(N=t.plan)==null?void 0:N.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",Nd,[e.createElementVNode("div",Vd,[e.createElementVNode("div",fd,[gd,e.createElementVNode("span",xd,e.toDisplayString((C=(b=(D=t.plan)==null?void 0:D.voyage)==null?void 0:b.company)==null?void 0:C.name),1)]),e.createElementVNode("div",bd,[kd,e.createElementVNode("span",Dd,e.toDisplayString((F=(A=(k=t.plan)==null?void 0:k.voyage)==null?void 0:A.vessel)==null?void 0:F.name)+" ("+e.toDisplayString((O=(V=(w=(B=t.plan)==null?void 0:B.voyage)==null?void 0:w.vessel)==null?void 0:V.vesselType)==null?void 0:O.name)+")",1)]),e.createElementVNode("div",Cd,[Sd,e.createElementVNode("span",Bd,e.toDisplayString((R=(G=t.plan)==null?void 0:G.voyage)==null?void 0:R.number),1)])]),e.createElementVNode("div",wd,[e.createElementVNode("div",Td,[Ad,(_=(U=(z=t.plan)==null?void 0:z.leg)==null?void 0:U.departure)!=null&&_.name?(e.openBlock(),e.createElementBlock("span",Fd,e.toDisplayString((H=(L=t.plan)==null?void 0:L.leg)==null?void 0:H.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Od,[e.createVNode(p,{lat:(M=(P=($=t.plan)==null?void 0:$.leg)==null?void 0:P.departure)==null?void 0:M.lat,label:""},null,8,["lat"]),Pd,e.createVNode(g,{lng:(j=(Y=(J=t.plan)==null?void 0:J.leg)==null?void 0:Y.departure)==null?void 0:j.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Ld,e.toDisplayString(n.computeUTCTime(((l=(ce=(se=t.plan)==null?void 0:se.leg)==null?void 0:ce.departure)==null?void 0:l.atd)||((te=(ee=(q=t.plan)==null?void 0:q.leg)==null?void 0:ee.departure)==null?void 0:te.etd)||((ie=(ae=(le=(oe=t.plan)==null?void 0:oe.speeds)==null?void 0:le[a.speedIndex])==null?void 0:ae.speed)==null?void 0:ie.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",$d,[Wd,(Ee=(re=(de=t.plan)==null?void 0:de.leg)==null?void 0:re.destination)!=null&&Ee.name?(e.openBlock(),e.createElementBlock("span",Hd,e.toDisplayString((ye=(he=(u=t.plan)==null?void 0:u.leg)==null?void 0:he.destination)==null?void 0:ye.name),1)):(e.openBlock(),e.createElementBlock("div",Md,[e.createVNode(p,{lat:(ge=(pe=(Ne=t.plan)==null?void 0:Ne.leg)==null?void 0:pe.destination)==null?void 0:ge.lat,label:""},null,8,["lat"]),Id,e.createVNode(g,{lng:(ke=(be=(xe=t.plan)==null?void 0:xe.leg)==null?void 0:be.destination)==null?void 0:ke.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Gd,e.toDisplayString(n.computeUTCTime(((Oe=(Fe=(Ce=(De=t.plan)==null?void 0:De.speeds)==null?void 0:Ce[a.speedIndex])==null?void 0:Fe.speed)==null?void 0:Oe.ata)||((We=($e=(Le=(Pe=t.plan)==null?void 0:Pe.speeds)==null?void 0:Le[a.speedIndex])==null?void 0:$e.speed)==null?void 0:We.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Rd,[zd,e.createElementVNode("span",Ud,e.toDisplayString((Me=(He=t.plan)==null?void 0:He.voyage)==null?void 0:Me.loadCondition),1)])])]),e.createElementVNode("div",Yd,[Zd,(Ve=t.plan)!=null&&Ve.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Qd,[e.createElementVNode("img",{src:t.plan.chartUrl},null,8,Jd)]),e.createElementVNode("div",jd,[Kd,e.createElementVNode("div",Xd,[qd,e.createElementVNode("span",{class:"btn",onClick:s[1]||(s[1]=S=>{a.speedIndex=0,n.renderEchart()})},e.toDisplayString((Se=(T=(Ke=(je=(Je=t.plan)==null?void 0:Je.speeds)==null?void 0:je[0])==null?void 0:Ke.speed)==null?void 0:T.lane)==null?void 0:Se.name),1)]),((Xe=(Ue=t.plan)==null?void 0:Ue.speeds)==null?void 0:Xe.length)>1?(e.openBlock(),e.createElementBlock("div",ud,[vd,e.createElementVNode("span",{class:"btn",onClick:s[2]||(s[2]=S=>{a.speedIndex=1,n.renderEchart()})},e.toDisplayString((m=(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:m.name),1)])):e.createCommentVNode("",!0),((Be=(W=t.plan)==null?void 0:W.speeds)==null?void 0:Be.length)>2?(e.openBlock(),e.createElementBlock("div",er,[tr,e.createElementVNode("span",{class:"btn",onClick:s[3]||(s[3]=S=>{a.speedIndex=2,n.renderEchart()})},e.toDisplayString((tt=(Ze=(_e=(Ye=(Ge=t.plan)==null?void 0:Ge.speeds)==null?void 0:Ye[2])==null?void 0:_e.speed)==null?void 0:Ze.lane)==null?void 0:tt.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",or,[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",lr,[(rt=(ot=t.plan)==null?void 0:ot.speeds)!=null&&rt.length?(e.openBlock(),e.createElementBlock("table",ar,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[nr,sr,cr,ir,dr,rr,e.createElementVNode("th",null,[e.createVNode(x,{effect:"light",placement:"top",trigger:"hover",width:300,content:(pt=(mt=t.weatherPrinciple)==null?void 0:mt.dangerous)==null?void 0:pt.pretty},{default:e.withCtx(()=>[mr]),_:1},8,["content"])]),e.createElementVNode("th",null,[e.createVNode(x,{effect:"light",placement:"top",trigger:"hover",width:300,content:(yt=(ht=t.weatherPrinciple)==null?void 0:ht.severe)==null?void 0:yt.pretty},{default:e.withCtx(()=>[pr]),_:1},8,["content"])]),e.createElementVNode("th",null,[e.createVNode(x,{effect:"light",placement:"top",trigger:"hover",width:300,content:(Vt=(Nt=t.weatherPrinciple)==null?void 0:Nt.heavy)==null?void 0:Vt.pretty},{default:e.withCtx(()=>[hr]),_:1},8,["content"])])]),e.createElementVNode("tr",null,[_r,Er,yr,Nr,e.createElementVNode("th",Vr,"*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((ft=t.plan)==null?void 0:ft.speeds,(S,Ie)=>{var lt,at,_t,Wt,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,jt,Kt,Xt,qt,ut,vt,eo,to,oo,lo,ao,no;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Ie},[e.createElementVNode("tr",null,[e.createElementVNode("td",fr,e.toDisplayString(Ie+1),1),e.createElementVNode("td",gr,e.toDisplayString((at=(lt=S.speed)==null?void 0:lt.lane)==null?void 0:at.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((_t=S.speed)==null?void 0:_t.label)??"CP"} ${((Wt=S.speed)==null?void 0:Wt.v0)??((Mt=(Ht=S.speed)==null?void 0:Ht.cpCopy)==null?void 0:Mt.speed)}`),1),e.createElementVNode("td",xr,e.toDisplayString(n.roundPrecision((It=S.speed)==null?void 0:It.distance,0)),1),e.createElementVNode("td",null,[e.createElementVNode("b",null,e.toDisplayString(n.computeLTime((Gt=S.speed)==null?void 0:Gt.eta,(Ut=(zt=(Rt=t.plan)==null?void 0:Rt.leg)==null?void 0:zt.destination)==null?void 0:Ut.lng,(Qt=(Zt=(Yt=t.plan)==null?void 0:Yt.leg)==null?void 0:Zt.destination)==null?void 0:Qt.lat)),1),e.createTextVNode(" ["+e.toDisplayString(n.computeUTCTime((Jt=S.speed)==null?void 0:Jt.eta))+"] ",1)]),e.createElementVNode("td",br,e.toDisplayString(n.computeTimeDiff(t.plan,Ie)),1),e.createElementVNode("td",kr,e.toDisplayString(n.roundPrecision((jt=S.speed)==null?void 0:jt.totalFoCons,3)),1),e.createElementVNode("td",Dr,e.toDisplayString(n.roundPrecision((Kt=S.speed)==null?void 0:Kt.totalDgoCons,3)),1),e.createElementVNode("td",Cr,e.toDisplayString(n.roundPrecision(((Xt=S.speed)==null?void 0:Xt.dangerous)/24,1)),1),e.createElementVNode("td",Sr,e.toDisplayString(n.roundPrecision(((qt=S.speed)==null?void 0:qt.severe)/24,1)),1),e.createElementVNode("td",Br,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((eo=(vt=S.speed)==null?void 0:vt.cpCopy)==null?void 0:eo.fo)+" FO / "+e.toDisplayString((oo=(to=S.speed)==null?void 0:to.cpCopy)==null?void 0:oo.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((lo=S.speed)==null?void 0:lo.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((ao=S.speed)==null?void 0:ao.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((no=S.speed)==null?void 0:no.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0),wr]),e.createElementVNode("div",Tr,[e.createElementVNode("div",Ar,[Fr,e.createElementVNode("div",Or,"Advisory & Major Waypoint of Route "+e.toDisplayString((kt=(bt=(xt=(gt=t.plan.speeds)==null?void 0:gt[a.speedIndex])==null?void 0:xt.speed)==null?void 0:bt.lane)==null?void 0:kt.name),1),((Ct=(Dt=t.plan)==null?void 0:Dt.speeds)==null?void 0:Ct.length)>1?(e.openBlock(),e.createElementBlock("div",Pr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((St=t.plan)==null?void 0:St.speeds,(S,Ie)=>{var lt,at;return e.openBlock(),e.createElementBlock("div",{class:"route-item",key:Ie,onClick:_t=>{a.speedIndex=Ie,n.renderEchart()}},e.toDisplayString((at=(lt=S.speed)==null?void 0:lt.lane)==null?void 0:at.name),9,Lr)}),128))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",$r,[a.editable?(e.openBlock(),e.createBlock(h,{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,Wr))]),e.createElementVNode("div",Hr,[Mr,e.createElementVNode("div",Ir,[(wt=(Bt=t.plan)==null?void 0:Bt.speeds)!=null&&wt.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(n.computeMajorPoints((Ot=(Ft=(At=(Tt=t.plan)==null?void 0:Tt.speeds)==null?void 0:At[a.speedIndex])==null?void 0:Ft.speed)==null?void 0:Ot.argv,(io=(co=($t=(Lt=(Pt=t.plan)==null?void 0:Pt.speeds)==null?void 0:Lt[a.speedIndex])==null?void 0:$t.speed)==null?void 0:co.sample)==null?void 0:io.wps),(S,Ie)=>(e.openBlock(),e.createElementBlock("div",{key:Ie,class:"cell-row"},[e.createElementVNode("div",Gr,[S.isResume?(e.openBlock(),e.createElementBlock("div",Rr,"Resume")):(e.openBlock(),e.createElementBlock("div",zr,[e.createVNode(p,{lat:S.lat,label:""},null,8,["lat"]),Ur,e.createVNode(g,{lng:S.lng,label:""},null,8,["lng"]),S.pilot?(e.openBlock(),e.createElementBlock("span",Yr," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",Zr,e.toDisplayString(n.computeUTCTime(S.eta)),1),Ie?(e.openBlock(),e.createElementBlock("div",Qr,e.toDisplayString(n.computeNav(S)),1)):(e.openBlock(),e.createElementBlock("div",Jr)),Ie?(e.openBlock(),e.createElementBlock("div",jr,e.toDisplayString(n.roundPrecision(S.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Kr)),Ie?(e.openBlock(),e.createElementBlock("div",Xr,e.toDisplayString(n.roundPrecision(S.avgSpd??S.speed,2))+" / "+e.toDisplayString(n.roundPrecision(S.bearing,0)),1)):(e.openBlock(),e.createElementBlock("div",qr)),Ie?(e.openBlock(),e.createElementBlock("div",ur,e.toDisplayString(n.computeMemo(S)),1)):(e.openBlock(),e.createElementBlock("div",vr))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",em,[(mo=(ro=t.plan)==null?void 0:ro.speeds)!=null&&mo.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",tm,[om,e.createElementVNode("div",lm," Weather Forecast for the Next "+e.toDisplayString(n.computeDay(t.plan,a.speedIndex))+" Days of Route "+e.toDisplayString((yo=(Eo=(_o=(ho=(po=t.plan)==null?void 0:po.speeds)==null?void 0:ho[a.speedIndex])==null?void 0:_o.speed)==null?void 0:Eo.lane)==null?void 0:yo.name),1),((Vo=(No=t.plan)==null?void 0:No.speeds)==null?void 0:Vo.length)>1?(e.openBlock(),e.createElementBlock("div",am,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((fo=t.plan)==null?void 0:fo.speeds,(S,Ie)=>{var lt,at;return e.openBlock(),e.createElementBlock("div",{class:"route-item",key:Ie,onClick:_t=>{a.speedIndex=Ie,n.renderEchart()}},e.toDisplayString((at=(lt=S==null?void 0:S.speed)==null?void 0:lt.lane)==null?void 0:at.name),9,nm)}),128))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",sm,[e.createElementVNode("div",cm,null,512)]),e.createElementVNode("table",null,[im,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Do=(ko=(bo=(xo=(go=t.plan)==null?void 0:go.speeds)==null?void 0:xo[a.speedIndex])==null?void 0:bo.speed)==null?void 0:ko.sample)==null?void 0:Do.hours,(S,Ie)=>{var lt,at,_t,Wt,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,jt,Kt,Xt,qt,ut,vt,eo,to,oo,lo,ao,no,Co,So,Bo,wo,To,Ao,Fo,Oo,Po,Lo,$o,Wo,Ho,Mo,Io,Go,Ro,zo,Uo,Yo,Zo,Qo;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",dm,[e.createVNode(p,{lat:S.lat,label:""},null,8,["lat"]),rm,e.createVNode(g,{lng:S.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(at=(lt=S.meteo)==null?void 0:lt.wind)!=null&&at.kts?(e.openBlock(),e.createElementBlock("span",mm,[e.createTextVNode(e.toDisplayString((Wt=(_t=S.meteo)==null?void 0:_t.wind)==null?void 0:Wt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Mt=(Ht=S.meteo)==null?void 0:Ht.wind)==null?void 0:Mt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",pm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Gt=(It=S.meteo)==null?void 0:It.wind)==null?void 0:Gt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ut=(zt=(Rt=S.meteo)==null?void 0:Rt.wave)==null?void 0:zt.wd)==null?void 0:Ut.height,1)),1),e.createElementVNode("td",null,[(Qt=(Zt=(Yt=S.meteo)==null?void 0:Yt.wave)==null?void 0:Zt.swell)!=null&&Qt.height?(e.openBlock(),e.createElementBlock("span",hm,[e.createTextVNode(e.toDisplayString((Kt=(jt=(Jt=S.meteo)==null?void 0:Jt.wave)==null?void 0:jt.swell)==null?void 0:Kt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ut=(qt=(Xt=S.meteo)==null?void 0:Xt.wave)==null?void 0:qt.swell)==null?void 0:ut.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",_m,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((to=(eo=(vt=S.meteo)==null?void 0:vt.wave)==null?void 0:eo.swell)==null?void 0:to.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ao=(lo=(oo=S.meteo)==null?void 0:oo.wave)==null?void 0:lo.swell)==null?void 0:ao.period,1)),1),e.createElementVNode("td",null,[(So=(Co=(no=S.meteo)==null?void 0:no.wave)==null?void 0:Co.sig)!=null&&So.height?(e.openBlock(),e.createElementBlock("span",Em,[e.createTextVNode(e.toDisplayString((To=(wo=(Bo=S.meteo)==null?void 0:Bo.wave)==null?void 0:wo.sig)==null?void 0:To.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Oo=(Fo=(Ao=S.meteo)==null?void 0:Ao.wave)==null?void 0:Fo.sig)==null?void 0:Oo.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",ym,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(($o=(Lo=(Po=S.meteo)==null?void 0:Po.wave)==null?void 0:Lo.sig)==null?void 0:$o.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Mo=(Ho=(Wo=S.meteo)==null?void 0:Wo.wave)==null?void 0:Ho.sig)==null?void 0:Mo.period,1)),1),e.createElementVNode("td",null,[(Go=(Io=S.meteo)==null?void 0:Io.current)!=null&&Go.kts?(e.openBlock(),e.createElementBlock("span",Nm,[e.createTextVNode(e.toDisplayString((zo=(Ro=S.meteo)==null?void 0:Ro.current)==null?void 0:zo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Yo=(Uo=S.meteo)==null?void 0:Uo.current)==null?void 0:Yo.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Vm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Qo=(Zo=S.meteo)==null?void 0:Zo.current)==null?void 0:Qo.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(S.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0),fm])])])}const qs=we(_d,[["render",gm],["__scopeId","data-v-7d56124f"]]),pj="",xm={name:"RouteReport",components:{Lng:ja,Lat:Ka,Editor:pl},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`${X(o).utc().format(s)}`}},computeLTime(){return function(o,s){const t=X(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=X((r=(t=o==null?void 0:o.speeds[s])==null?void 0:t.speed)==null?void 0:r.eta).diff(X((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 X(r.eta).diff(X(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}}},st=o=>(e.pushScopeId("data-v-9a939466"),o=o(),e.popScopeId(),o),bm={class:"route-report"},km=st(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),Dm={class:"section"},Cm=st(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),Sm={class:"section-body basics"},Bm={class:"flex-space section-row"},wm={class:"flex-start"},Tm=st(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),Am={class:"flex-start"},Fm={class:"flex-start"},Om=st(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),Pm={class:"flex-start flex"},Lm={key:0,class:"flex"},$m={key:1,class:"flex-space flex"},Wm=st(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Hm={class:"time flex"},Mm={class:"flex-space section-row"},Im={class:"flex-start"},Gm=st(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),Rm={class:"flex-start"},zm={class:"flex-start"},Um=st(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),Ym={class:"flex-start flex"},Zm={key:0,class:"flex"},Qm={key:1,class:"flex-space"},Jm=st(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),jm={class:"time flex"},Km={class:"flex-space section-row"},Xm={class:"flex-start"},qm=st(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),um={class:"flex-start"},vm={class:"flex-start"},ep=st(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),tp={class:"flex-start flex"},op={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},lp=st(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),ap={class:"section-body detail"},np={class:"flex-space",style:{"align-items":"stretch"}},sp={class:"chart"},cp=["src"],ip={key:1,class:"empty flex-center"},dp={class:"route flex",style:{"justify-content":"space-between"}},rp=st(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),mp={class:"suggestion"},pp=["innerHTML"],hp={class:"flex-start legends"},_p=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),Ep={key:0,class:"legend"},yp=[st(()=>e.createElementVNode("b",{class:"route2"},null,-1)),st(()=>e.createElementVNode("span",null,"Route 2",-1))],Np={key:1,class:"legend"},Vp=[st(()=>e.createElementVNode("b",{class:"route3"},null,-1)),st(()=>e.createElementVNode("span",null,"Route 3",-1))],fp={class:"section"},gp=st(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),xp={class:"section-body comparison"},bp={class:"container"},kp={key:0},Dp=st(()=>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)),Cp={class:"section",style:{"page-break-inside":"avoid"}},Sp=st(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),Bp={class:"section-body sample"},wp={class:"major-waypoints"},Tp={class:"container"},Ap=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),Fp={class:"body"},Op={class:"cell-item flexM"},Pp={class:"flex-center"},Lp=st(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),$p={class:"cell-item flexL"},Wp={key:0,class:"flex-center"},Hp={key:1},Mp={class:"cell-item flex"},Ip={key:0,class:"cell-item flex offset"},Gp={key:1,class:"cell-item flex nbsp"},Rp={key:2,class:"cell-item flex offset"},zp={key:3,class:"cell-item flex nbsp"},Up={key:4,class:"cell-item flex offset"},Yp={key:5,class:"cell-item flex nbsp"},Zp={class:"section"},Qp=st(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),Jp={class:"section-body sample"},jp={key:0},Kp=st(()=>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)),Xp={class:"flex-center"},qp=st(()=>e.createElementVNode("span",null,"/",-1)),up={key:0,class:"degree-box"},vp={key:1},eh={key:0,class:"degree-box"},th={key:1},oh={key:0,class:"degree-box"},lh={key:1},ah={key:0,class:"degree-box"},nh={key:1},sh=st(()=>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 ch(o,s,t,r,a,n){var g,x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,M,J,Y,j,se,ce,l,q,ee,te,oe,le,ae,ie,de,re,Ee,u,he,ye,Ne,pe,ge,xe,be,ke,De,Ce,Fe,Oe,Pe,Le,$e,We,He,Me,Ve,Je,je,Ke;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",bm,[km,e.createElementVNode("div",Dm,[Cm,e.createElementVNode("div",Sm,[e.createElementVNode("div",Bm,[e.createElementVNode("div",wm,[Tm,e.createElementVNode("div",Am,e.toDisplayString((h=(x=(g=t.plan)==null?void 0:g.voyage)==null?void 0:x.company)==null?void 0:h.name),1)]),e.createElementVNode("div",Fm,[Om,e.createElementVNode("div",Pm,[(b=(D=(N=t.plan)==null?void 0:N.leg)==null?void 0:D.departure)!=null&&b.name?(e.openBlock(),e.createElementBlock("div",Lm,e.toDisplayString((k=(C=t.plan)==null?void 0:C.leg)==null?void 0:k.departure.name),1)):(e.openBlock(),e.createElementBlock("div",$m,[e.createVNode(E,{lat:(B=(F=(A=t.plan)==null?void 0:A.leg)==null?void 0:F.departure)==null?void 0:B.lat,label:""},null,8,["lat"]),Wm,e.createVNode(c,{lng:(O=(V=(w=t.plan)==null?void 0:w.leg)==null?void 0:V.departure)==null?void 0:O.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Hm,e.toDisplayString(n.computeUTCTime(((z=(R=(G=t.plan)==null?void 0:G.leg)==null?void 0:R.departure)==null?void 0:z.atd)||((L=(_=(U=t.plan)==null?void 0:U.leg)==null?void 0:_.departure)==null?void 0:L.etd),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",Mm,[e.createElementVNode("div",Im,[Gm,e.createElementVNode("div",Rm,e.toDisplayString((P=($=(H=t.plan)==null?void 0:H.voyage)==null?void 0:$.vessel)==null?void 0:P.name),1)]),e.createElementVNode("div",zm,[Um,e.createElementVNode("div",Ym,[(Y=(J=(M=t.plan)==null?void 0:M.leg)==null?void 0:J.destination)!=null&&Y.name?(e.openBlock(),e.createElementBlock("div",Zm,e.toDisplayString((se=(j=t.plan)==null?void 0:j.leg)==null?void 0:se.destination.name),1)):(e.openBlock(),e.createElementBlock("div",Qm,[e.createVNode(E,{lat:(q=(l=(ce=t.plan)==null?void 0:ce.leg)==null?void 0:l.destination)==null?void 0:q.lat,label:""},null,8,["lat"]),Jm,e.createVNode(c,{lng:(oe=(te=(ee=t.plan)==null?void 0:ee.leg)==null?void 0:te.destination)==null?void 0:oe.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",jm,e.toDisplayString(n.computeUTCTime(((ie=(ae=(le=t.plan)==null?void 0:le.speeds)==null?void 0:ae[0])==null?void 0:ie.speed.ata)||((re=(de=t.plan)==null?void 0:de.speeds)==null?void 0:re[0].speed.eta),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",Km,[e.createElementVNode("div",Xm,[qm,e.createElementVNode("div",um,e.toDisplayString(n.computeUTCTime((Ee=t.plan)==null?void 0:Ee.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",vm,[ep,e.createElementVNode("div",tp,[e.createElementVNode("div",null,e.toDisplayString((he=(u=t.plan)==null?void 0:u.voyage)==null?void 0:he.loadCondition),1)])])])])]),e.createElementVNode("div",op,[lp,e.createElementVNode("div",ap,[e.createElementVNode("div",np,[e.createElementVNode("div",sp,[(ye=t.plan)!=null&&ye.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(Ne=t.plan)==null?void 0:Ne.chartUrl},null,8,cp)):(e.openBlock(),e.createElementBlock("div",ip,[e.createTextVNode("waiting for weather map, "),e.createElementVNode("b",{onClick:s[0]||(s[0]=(...T)=>n.handleRefresh&&n.handleRefresh(...T))},"Refresh"),e.createTextVNode("later please")]))]),e.createElementVNode("div",dp,[e.createElementVNode("div",null,[rp,e.createElementVNode("div",mp,[a.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[1]||(s[1]=T=>a.advisory=T),class:"editor",height:"120px",onBlur:s[2]||(s[2]=T=>n.handleCommit(T))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[3]||(s[3]=(...T)=>n.handleEdit&&n.handleEdit(...T)),innerHTML:a.advisory},null,40,pp))])]),e.createElementVNode("div",hp,[_p,((ge=(pe=t.plan)==null?void 0:pe.speeds)==null?void 0:ge.length)>1?(e.openBlock(),e.createElementBlock("div",Ep,yp)):e.createCommentVNode("",!0),((be=(xe=t.plan)==null?void 0:xe.speeds)==null?void 0:be.length)>2?(e.openBlock(),e.createElementBlock("div",Np,Vp)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",fp,[gp,e.createElementVNode("div",xp,[e.createElementVNode("div",bp,[(De=(ke=t.plan)==null?void 0:ke.speeds)!=null&&De.length?(e.openBlock(),e.createElementBlock("table",kp,[Dp,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ce=t.plan)==null?void 0:Ce.speeds,(T,Se)=>{var Ue,Xe,qe,ue,ve,et,m,W,Be,Ge,Ye,_e,Ze,tt,ot;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((Ue=T.speed)==null?void 0:Ue.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${((Xe=T.speed)==null?void 0:Xe.label)??"CP"} ${((qe=T.speed)==null?void 0:qe.v0)??((ve=(ue=T.speed)==null?void 0:ue.cpCopy)==null?void 0:ve.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((m=(et=T.speed)==null?void 0:et.cpCopy)==null?void 0:m.fo)+" FO / "+e.toDisplayString((Be=(W=T.speed)==null?void 0:W.cpCopy)==null?void 0:Be.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Ge=T.speed)==null?void 0:Ge.eta)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ye=T.speed)==null?void 0:Ye.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((_e=T.speed)==null?void 0:_e.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((Ze=T.speed)==null?void 0:Ze.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((tt=T.speed)==null?void 0:tt.totalFoCons,3))+" FO /"+e.toDisplayString(n.roundPrecision((ot=T.speed)==null?void 0:ot.totalDgoCons,3))+" DO",1)])}),128))])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",Cp,[Sp,e.createElementVNode("div",Bp,[e.createElementVNode("div",wp,[e.createElementVNode("div",Tp,[Ap,e.createElementVNode("div",Fp,[(Oe=(Fe=t.plan)==null?void 0:Fe.speeds)!=null&&Oe.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList((We=($e=(Le=(Pe=t.plan)==null?void 0:Pe.speeds[0])==null?void 0:Le.speed)==null?void 0:$e.sample)==null?void 0:We.wps,(T,Se)=>(e.openBlock(),e.createElementBlock("div",{key:Se,class:"cell-row"},[e.createElementVNode("div",Op,[e.createElementVNode("div",Pp,[e.createVNode(E,{lat:T.lat,label:""},null,8,["lat"]),Lp,e.createVNode(c,{lng:T.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",$p,[T.name?(e.openBlock(),e.createElementBlock("span",Wp,e.toDisplayString(T.name),1)):(e.openBlock(),e.createElementBlock("span",Hp,"-"))]),e.createElementVNode("div",Mp,e.toDisplayString(n.computeUTCTime(T.eta)),1),Se?(e.openBlock(),e.createElementBlock("div",Ip,e.toDisplayString(n.computeNav(T)),1)):(e.openBlock(),e.createElementBlock("div",Gp)),Se?(e.openBlock(),e.createElementBlock("div",Rp,e.toDisplayString(n.roundPrecision(T.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",zp)),Se?(e.openBlock(),e.createElementBlock("div",Up,e.toDisplayString(n.roundPrecision(T.avgSpd??T.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",Yp))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Zp,[Qp,e.createElementVNode("div",Jp,[(Me=(He=t.plan)==null?void 0:He.speeds)!=null&&Me.length?(e.openBlock(),e.createElementBlock("table",jp,[Kp,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ke=(je=(Je=(Ve=t.plan)==null?void 0:Ve.speeds[0])==null?void 0:Je.speed)==null?void 0:je.sample)==null?void 0:Ke.hours,(T,Se)=>{var Ue,Xe,qe,ue,ve,et,m,W,Be,Ge,Ye,_e,Ze,tt,ot,rt,mt,pt,ht,yt,Nt,Vt,ft,gt,xt,bt,kt,Dt,Ct,St,Bt,wt,Tt,At,Ft,Ot,Pt,Lt,$t;return e.openBlock(),e.createElementBlock("tr",{key:Se,class:e.normalizeClass(T.isDangerous?"dangerous":T.isSevere?"severe":T.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime(T.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",Xp,[e.createVNode(E,{lat:T.lat,label:""},null,8,["lat"]),qp,e.createVNode(c,{lng:T.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Xe=(Ue=T.meteo)==null?void 0:Ue.wind)!=null&&Xe.kts?(e.openBlock(),e.createElementBlock("span",up,e.toDisplayString((ue=(qe=T.meteo)==null?void 0:qe.wind)==null?void 0:ue.direction),1)):(e.openBlock(),e.createElementBlock("span",vp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((et=(ve=T.meteo)==null?void 0:ve.wind)==null?void 0:et.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Be=(W=(m=T.meteo)==null?void 0:m.wave)==null?void 0:W.wd)==null?void 0:Be.height,1)),1),e.createElementVNode("td",null,[(_e=(Ye=(Ge=T.meteo)==null?void 0:Ge.wave)==null?void 0:Ye.swell)!=null&&_e.height?(e.openBlock(),e.createElementBlock("span",eh,e.toDisplayString((ot=(tt=(Ze=T.meteo)==null?void 0:Ze.wave)==null?void 0:tt.swell)==null?void 0:ot.direction),1)):(e.openBlock(),e.createElementBlock("span",th,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((pt=(mt=(rt=T.meteo)==null?void 0:rt.wave)==null?void 0:mt.swell)==null?void 0:pt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Nt=(yt=(ht=T.meteo)==null?void 0:ht.wave)==null?void 0:yt.swell)==null?void 0:Nt.period,1)),1),e.createElementVNode("td",null,[(gt=(ft=(Vt=T.meteo)==null?void 0:Vt.wave)==null?void 0:ft.sig)!=null&&gt.height?(e.openBlock(),e.createElementBlock("span",oh,e.toDisplayString((kt=(bt=(xt=T.meteo)==null?void 0:xt.wave)==null?void 0:bt.sig)==null?void 0:kt.direction),1)):(e.openBlock(),e.createElementBlock("span",lh,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((St=(Ct=(Dt=T.meteo)==null?void 0:Dt.wave)==null?void 0:Ct.sig)==null?void 0:St.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Tt=(wt=(Bt=T.meteo)==null?void 0:Bt.wave)==null?void 0:wt.sig)==null?void 0:Tt.period,1)),1),e.createElementVNode("td",null,[(Ft=(At=T.meteo)==null?void 0:At.current)!=null&&Ft.kts?(e.openBlock(),e.createElementBlock("span",ah,e.toDisplayString((Pt=(Ot=T.meteo)==null?void 0:Ot.current)==null?void 0:Pt.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",nh,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(($t=(Lt=T.meteo)==null?void 0:Lt.current)==null?void 0:$t.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(T.cFactor,1)),1)],2)}),128))])])):e.createCommentVNode("",!0)])]),sh])}const lc=we(xm,[["render",ch],["__scopeId","data-v-9a939466"]]),ih={install(o){o.component("RouteReport",qs),o.component("FliPlanReport",lc),o.component("OrmPlanReport",qs)}},dh={install(o){o.component("IdmEditor",pl)}},rh={install(o){o.component("IdmLat",Ka)}},mh={install(o){o.component("IdmLng",ja)}},ph={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},hh={class:"logo"},_h={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},Eh=["fill","fill-opacity"],yh=[e.createElementVNode("path",{d:`M4225 11533 c-100 -6 -311 -23 -335 -27 -14 -3 -59 -10 -100 -16
2
2
  -408 -60 -813 -229 -1110 -465 -98 -77 -307 -287 -393 -395 -37 -47 -74 -93
3
3
  -82 -102 -7 -9 -22 -29 -32 -45 -9 -15 -20 -30 -23 -33 -16 -13 -139 -202
4
4
  -225 -345 -94 -157 -256 -467 -330 -635 -21 -47 -48 -108 -60 -136 -71 -158
@@ -38,7 +38,7 @@
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 Nh(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("i",hh,[(e.openBlock(),e.createElementBlock("svg",_h,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:t.fill,"fill-opacity":.6,stroke:"none"},yh,8,Eh)]))])}const Ms=we(ph,[["render",Nh]]),Vh={install(o){o.component("PiLogo",Ms)}},gj="",xj="",fh={name:"FliVygSummary",components:{Editor:pl},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"?X(o).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s=="table"?X(o).utc().format("MMMM-DD/HHmm[Z]"):s=="summary"?X(o).utc().format("MMMM D, HHmm[Z]"):s?X(o).utc().format(s):X(o).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(o,s){const t=me.LngLatHelper.lat2pretty(o).pretty,r=me.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?me.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:X(c.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:X(c.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:X(c.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+X(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-d80f1a42"),o=o(),e.popScopeId(),o),gh=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)),xh={class:"fli-main"},bh=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),kh={class:"card basics"},Dh={class:"list flex"},Ch={class:"item"},Sh=d(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),Bh={class:"content flex"},wh={class:"item"},Th=d(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),Ah={class:"content flex"},Fh={class:"item"},Oh=d(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),Ph={class:"content flex"},Lh={class:"list"},$h={class:"item"},Wh=d(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),Hh={class:"content flex"},Mh={class:"content flex"},Ih={class:"item"},Gh=d(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),Rh={class:"content flex"},zh={class:"content flex"},Uh={class:"item"},Yh=d(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),Zh={class:"content flexL"},Qh=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),Jh={class:"clause"},jh={key:0,class:"definition flex"},Kh={key:1,class:"definition flex"},Xh={class:"item"},qh=d(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),uh={class:"content"},vh={key:0,class:"item"},e1=d(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),t1={class:"content"},o1={key:1,class:"item"},l1=d(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),a1={class:"content"},n1={key:2,class:"item"},s1=d(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),c1={class:"content"},i1={key:3,class:"item"},d1=d(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),r1={class:"content"},m1={key:4,class:"item"},p1=[d(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],h1={key:5,class:"item"},_1=[d(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],E1={class:"definition flexM"},y1={class:"table"},N1=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)),V1=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),f1={class:"summary"},g1={key:0,class:"summary-overall"},x1=d(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),b1={class:"summary-overall-row"},k1={class:"card"},D1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),C1={class:"main-content"},S1={key:0},B1={key:1},w1={class:"card"},T1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),A1={class:"main-content"},F1={key:0},O1={key:1},P1={class:"card"},L1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),$1={class:"main-content"},W1={key:0},H1={key:1},M1={class:"summary-overall-row"},I1={class:"card"},G1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),R1={class:"main-content"},z1={class:"card"},U1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),Y1={class:"main-content"},Z1={class:"card"},Q1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),J1={class:"main-content"},j1=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)),K1={class:"card",style:{flex:"1.5"}},X1={class:"card-title"},q1=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),u1={class:"card-segment"},v1={class:"card-segment"},e_={class:"card-segment"},t_=d(()=>e.createElementVNode("div",null,"Applied",-1)),o_={class:"uppercase"},l_={class:"card summary-card",style:{flex:"1"}},a_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),n_={key:0,class:"main-content"},s_={key:0,class:"iconfont success"},c_={key:1,class:"iconfont error"},i_={key:1,class:"main-content"},d_={class:"card-content",style:{"justify-content":"flex-start"}},r_={class:"card summary-card",style:{flex:"1"}},m_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),p_={key:0,class:"main-content"},h_={key:0,class:"iconfont success"},__={key:1,class:"iconfont error"},E_={key:1,class:"main-content"},y_={class:"card-content",style:{"justify-content":"flex-start"}},N_={class:"card summary-card",style:{flex:"1"}},V_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),f_={key:0,class:"main-content"},g_={key:0,class:"iconfont success"},x_={key:1,class:"iconfont error"},b_={key:1,class:"main-content"},k_={class:"card-content",style:{"justify-content":"flex-start"}},D_={style:{"page-break-inside":"avoid"}},C_=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),S_={class:"remarks"},B_={class:"item"},w_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),T_={class:"speed"},A_={class:"uppercase"},F_={class:"item"},O_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),P_={key:0,class:"remark-detail"},L_={key:1,class:"remark-detail"},$_={class:"page-avoid"},W_={class:"dashed"},H_={class:"card phase-title-card",style:{flex:"0.5"}},M_={class:"card-title"},I_=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),G_={class:"card-segment"},R_={class:"card-segment"},z_={class:"card-segment"},U_=d(()=>e.createElementVNode("div",null,"Applied",-1)),Y_={class:"uppercase"},Z_=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),Q_={class:"phase-analysis"},J_={class:"card phase-card",style:{flex:"1"}},j_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),K_={class:"main-content"},X_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),q_={class:"main-content"},u_={class:"card-content"},v_=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),eE=d(()=>e.createElementVNode("span",null,"mt",-1)),tE={class:"card-content"},oE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),lE=d(()=>e.createElementVNode("span",null,"mt",-1)),aE={class:"card-content"},nE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),sE=d(()=>e.createElementVNode("span",null,"mt",-1)),cE={class:"card-content"},iE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),dE=d(()=>e.createElementVNode("span",null,"mt",-1)),rE=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)),mE={class:"card phase-card",style:{flex:"1"}},pE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),hE={class:"main-content"},_E=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),EE={class:"main-content"},yE={class:"card-content"},NE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),VE=d(()=>e.createElementVNode("span",null,"mt",-1)),fE={class:"card-content"},gE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),xE=d(()=>e.createElementVNode("span",null,"mt",-1)),bE={class:"card-content"},kE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),DE=d(()=>e.createElementVNode("span",null,"mt",-1)),CE={class:"card-content"},SE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),BE=d(()=>e.createElementVNode("span",null,"mt",-1)),wE=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)),TE={class:"phase-analysis"},AE={class:"card phase-card",style:{flex:"1"}},FE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),OE={class:"main-content"},PE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),LE={class:"main-content"},$E={class:"card-content"},WE=d(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),HE=d(()=>e.createElementVNode("span",null,"nm",-1)),ME={class:"card-content"},IE=d(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),GE=d(()=>e.createElementVNode("span",null,"nm",-1)),RE={class:"card-content"},zE=d(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),UE=d(()=>e.createElementVNode("span",null,"nm",-1)),YE={class:"card-content"},ZE=d(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),QE=d(()=>e.createElementVNode("span",null,"nm",-1)),JE={class:"card phase-card",style:{flex:"1"}},jE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),KE={class:"main-content"},XE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),qE={class:"main-content"},uE={class:"card-content"},vE=d(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),ey=d(()=>e.createElementVNode("span",null,"hrs",-1)),ty={class:"card-content"},oy=d(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),ly=d(()=>e.createElementVNode("span",null,"hrs",-1)),ay={class:"card-content"},ny=d(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),sy=d(()=>e.createElementVNode("span",null,"hrs",-1)),cy={class:"card-content"},iy=d(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),dy=d(()=>e.createElementVNode("span",null,"hrs",-1)),ry={class:"card phase-card",style:{flex:"1"}},my=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),py={class:"main-content"},hy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),_y={class:"main-content"},Ey={class:"card-content"},yy=d(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),Ny=d(()=>e.createElementVNode("span",null,"kts",-1)),Vy={class:"card-content"},fy=d(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),gy=d(()=>e.createElementVNode("span",null,"kts",-1)),xy={class:"card-content"},by=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),ky=d(()=>e.createElementVNode("span",null,"kts",-1)),Dy={class:"card-content"},Cy=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),Sy=d(()=>e.createElementVNode("span",null,"kts",-1)),By={class:"phase-analysis"},wy={class:"card phase-card",style:{flex:"1"}},Ty=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),Ay={class:"main-content"},Fy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),Oy={class:"main-content"},Py={class:"card-content"},Ly=d(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),$y=d(()=>e.createElementVNode("span",null,"mt",-1)),Wy={class:"card-content"},Hy=d(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),My=d(()=>e.createElementVNode("span",null,"mt",-1)),Iy={class:"card-content"},Gy=d(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),Ry=d(()=>e.createElementVNode("span",null,"mt",-1)),zy={class:"card-content"},Uy=d(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),Yy=d(()=>e.createElementVNode("span",null,"mt",-1)),Zy={class:"card phase-card",style:{flex:"1"}},Qy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),Jy={class:"main-content"},jy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),Ky={class:"main-content"},Xy={class:"card-content"},qy=d(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),uy=d(()=>e.createElementVNode("span",null,"mt",-1)),vy={class:"card-content"},eN=d(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),tN=d(()=>e.createElementVNode("span",null,"mt",-1)),oN={class:"card-content"},lN=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),aN=d(()=>e.createElementVNode("span",null,"mt",-1)),nN={class:"card-content"},sN=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),cN=d(()=>e.createElementVNode("span",null,"mt",-1)),iN={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},dN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),rN={class:"main-content"},mN={class:"card-content"},pN=d(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),hN={key:0},_N=d(()=>e.createElementVNode("span",null,"kts",-1)),EN={key:1},yN={class:"phase-card"},NN={class:"card",style:{flex:"1"}},VN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),fN={key:0,class:"main-content"},gN={key:0,class:"iconfont success"},xN={key:1,class:"iconfont error"},bN={key:1,class:"main-content"},kN={class:"nogwd"},DN={class:"card-content",style:{"justify-content":"flex-start"}},CN={key:0},SN={class:"equation"},BN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),wN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),TN={style:{width:"8%"}},AN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),FN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),ON={style:{width:"10%"}},PN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),LN={class:"equation"},$N=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),WN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),HN={style:{width:"8%"}},MN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),IN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),GN={style:{width:"10%"}},RN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),zN={class:"equation"},UN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),YN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),ZN={style:{width:"8%"}},QN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),JN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),jN={style:{width:"10%"}},KN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),XN={class:"phase-card"},qN={class:"card",style:{flex:"1"}},uN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),vN={key:0,class:"main-content"},eV={key:0,class:"iconfont success"},tV={key:1,class:"iconfont error"},oV={key:1,class:"main-content"},lV={class:"nogwd"},aV={class:"card-content",style:{"justify-content":"flex-start"}},nV={key:0},sV={class:"equation"},cV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),iV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),dV={style:{width:"8%"}},rV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),mV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),pV={style:{width:"120px"}},hV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_V=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),EV={style:{width:"10%"}},yV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),NV={class:"equation"},VV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),fV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),gV={style:{width:"8%"}},xV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),bV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),kV={style:{width:"120px"}},DV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),CV=d(()=>e.createElementVNode("div",null,"24",-1)),SV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),BV={style:{width:"10%"}},wV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),TV={class:"equation"},AV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),FV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),OV={style:{width:"8%"}},PV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),LV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),$V={style:{width:"120px"}},WV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),HV=d(()=>e.createElementVNode("div",null,"24",-1)),MV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),IV={style:{width:"10%"}},GV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),RV={key:0,class:"phase-card"},zV={class:"card",style:{flex:"1"}},UV=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),YV={key:0,class:"main-content"},ZV={key:0,class:"iconfont success"},QV={key:1,class:"iconfont error"},JV={key:1,class:"main-content"},jV={class:"nogwd"},KV={class:"card-content",style:{"justify-content":"flex-start"}},XV={key:0},qV={class:"equation"},uV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),vV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),ef={style:{width:"8%"}},tf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),of=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),lf={style:{width:"120px"}},af=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),nf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),sf={style:{width:"10%"}},cf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),df={class:"equation"},rf=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),mf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),pf={style:{width:"8%"}},hf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_f=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Ef={style:{width:"120px"}},yf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Nf=d(()=>e.createElementVNode("div",null,"24",-1)),Vf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),ff={style:{width:"10%"}},gf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),xf={class:"equation"},bf=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),kf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Df={style:{width:"8%"}},Cf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Sf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Bf={style:{width:"120px"}},wf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Tf=d(()=>e.createElementVNode("div",null,"24",-1)),Af=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Ff={style:{width:"10%"}},Of=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),Pf=d(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),Lf={class:"formular dashed",style:{"page-break-inside":"avoid"}},$f={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},Wf=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),Hf={class:""},Mf={class:"equation"},If=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),Gf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Rf={style:{width:"50%"},class:"fraction"},zf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Uf=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Yf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),Zf={class:"equation"},Qf=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),Jf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),jf={style:{width:"50%"},class:"fraction"},Kf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Xf=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),qf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),uf={class:"equation"},vf=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),e0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),t0={style:{width:"50%"},class:"fraction"},o0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),l0=d(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),a0=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),n0=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)),s0={class:"flexL formular-item",style:{"margin-left":"20px"}},c0=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)),i0={class:""},d0={class:"equation"},r0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),m0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),p0={style:{width:"25%"},class:"fraction"},h0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_0=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),E0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),y0=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)),N0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),V0={class:"equation"},f0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),g0=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)),k0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),D0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),C0=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)),S0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),B0={class:"equation"},w0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),T0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),A0={style:{width:"25%"},class:"fraction"},F0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),O0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),P0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),L0=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)),$0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),W0=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)),H0=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 M0(o,s,t,r,a,n){var E,c,p,g,x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,I,J,Y,j,se,ce,l,q,ee,te,oe,le,ae,ie,de,re,Ee,u,he,ye,Ne,pe,ge,xe,be,ke,De,Ce,Fe,Oe,Pe,Le,$e,We,He,Me,Ve,Je,je,Ke,T,Se,Ue,Xe,qe,ue,ve,et;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((c=(E=t.reportData)==null?void 0:E.weather)!=null&&c.referenceOnly?"watermark":"")},[gh,e.createElementVNode("div",xh,[bh,e.createElementVNode("div",kh,[e.createElementVNode("div",Dh,[e.createElementVNode("div",Ch,[Sh,e.createElementVNode("div",Bh,e.toDisplayString((p=t.reportData)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",wh,[Th,e.createElementVNode("div",Ah,e.toDisplayString((x=(g=t.reportData)==null?void 0:g.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",Fh,[Oh,e.createElementVNode("div",Ph,e.toDisplayString(a.date),1)])]),e.createElementVNode("div",Lh,[e.createElementVNode("div",$h,[Wh,e.createElementVNode("div",Hh,e.toDisplayString(((N=(h=t.reportData)==null?void 0:h.departure)==null?void 0:N.portName)||n.computedLngLat((b=(D=t.reportData)==null?void 0:D.departure)==null?void 0:b.lat,(k=(C=t.reportData)==null?void 0:C.departure)==null?void 0:k.lng)),1),e.createElementVNode("div",Mh,e.toDisplayString(n.computedTime((F=(A=t.reportData)==null?void 0:A.departure)==null?void 0:F.utcTime,"table")),1)]),e.createElementVNode("div",Ih,[Gh,e.createElementVNode("div",Rh,e.toDisplayString(((w=(B=t.reportData)==null?void 0:B.arrival)==null?void 0:w.portName)||n.computedLngLat((O=(V=t.reportData)==null?void 0:V.arrival)==null?void 0:O.lat,(R=(G=t.reportData)==null?void 0:G.arrival)==null?void 0:R.lng)),1),e.createElementVNode("div",zh,e.toDisplayString(n.computedTime((U=(z=t.reportData)==null?void 0:z.arrival)==null?void 0:U.utcTime,"table")),1)]),e.createElementVNode("div",Uh,[Yh,e.createElementVNode("div",Zh,e.toDisplayString((L=(_=t.reportData)==null?void 0:_.voyage)==null?void 0:L.loadCondition),1)])])]),Qh,e.createElementVNode("div",Jh,[($=(H=t.reportData)==null?void 0:H.weather)!=null&&$.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",jh,"No specific thresholds in weather.")):(e.openBlock(),e.createElementBlock("div",Kh,[e.createElementVNode("div",Xh,[qh,e.createElementVNode("div",uh,"BF "+e.toDisplayString(((I=(P=t.reportData)==null?void 0:P.weather)==null?void 0:I.windScale)||"-"),1)]),(Y=(J=t.reportData)==null?void 0:J.weather)!=null&&Y.waveSwitch?(e.openBlock(),e.createElementBlock("div",vh,[e1,e.createElementVNode("div",t1,e.toDisplayString(((se=(j=t.reportData)==null?void 0:j.weather)==null?void 0:se.waveHeight)||"-")+" Meter",1)])):(l=(ce=t.reportData)==null?void 0:ce.weather)!=null&&l.swellSwitch?(e.openBlock(),e.createElementBlock("div",o1,[l1,e.createElementVNode("div",a1,e.toDisplayString(((ee=(q=t.reportData)==null?void 0:q.weather)==null?void 0:ee.swellHeight)||"-")+" Meter",1)])):(oe=(te=t.reportData)==null?void 0:te.weather)!=null&&oe.sigSwitch?(e.openBlock(),e.createElementBlock("div",n1,[s1,e.createElementVNode("div",c1,e.toDisplayString(((ae=(le=t.reportData)==null?void 0:le.weather)==null?void 0:ae.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(de=(ie=t.reportData)==null?void 0:ie.weather)!=null&&de.waveSwitch||(Ee=(re=t.reportData)==null?void 0:re.weather)!=null&&Ee.swellHeight||(he=(u=t.reportData)==null?void 0:u.weather)!=null&&he.sigSwitch?(e.openBlock(),e.createElementBlock("div",i1,[d1,e.createElementVNode("div",r1,e.toDisplayString((Ne=(ye=t.reportData)==null?void 0:ye.weather)==null?void 0:Ne.seaScale),1)])):e.createCommentVNode("",!0),(ge=(pe=t.reportData)==null?void 0:pe.weather)!=null&&ge.noAdverseCur?(e.openBlock(),e.createElementBlock("div",m1,p1)):e.createCommentVNode("",!0),(be=(xe=t.reportData)==null?void 0:xe.weather)!=null&&be.noExtrapolation?(e.openBlock(),e.createElementBlock("div",h1,_1)):e.createCommentVNode("",!0)])),e.createElementVNode("div",E1,[e.createElementVNode("table",y1,[N1,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.cpDetail,(m,W)=>(e.openBlock(),e.createElementBlock("tr",{key:W},[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))])])])]),V1,e.createElementVNode("div",f1,[((De=(ke=t.reportData)==null?void 0:ke.segments)==null?void 0:De.length)>1?(e.openBlock(),e.createElementBlock("div",g1,[x1,e.createElementVNode("div",b1,[e.createElementVNode("div",k1,[D1,e.createElementVNode("div",C1,[(Fe=(Ce=t.reportData)==null?void 0:Ce.goodWx)!=null&&Fe.avgSpd?(e.openBlock(),e.createElementBlock("div",S1,e.toDisplayString((Pe=(Oe=t.reportData)==null?void 0:Oe.goodWx)==null?void 0:Pe.avgSpd)+" kts",1)):(e.openBlock(),e.createElementBlock("div",B1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",w1,[T1,e.createElementVNode("div",A1,[($e=(Le=t.reportData)==null?void 0:Le.goodWx)!=null&&$e.avgSpd?(e.openBlock(),e.createElementBlock("div",F1,e.toDisplayString((He=(We=t.reportData)==null?void 0:We.goodWx)==null?void 0:He.avgFoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",O1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",P1,[L1,e.createElementVNode("div",$1,[(Ve=(Me=t.reportData)==null?void 0:Me.goodWx)!=null&&Ve.avgSpd?(e.openBlock(),e.createElementBlock("div",W1,e.toDisplayString((je=(Je=t.reportData)==null?void 0:Je.goodWx)==null?void 0:je.avgDgoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",H1,e.toDisplayString(a.noGoodWxDay),1))])])]),e.createElementVNode("div",M1,[e.createElementVNode("div",I1,[G1,e.createElementVNode("div",R1,e.toDisplayString((T=(Ke=t.reportData)==null?void 0:Ke.allWx)==null?void 0:T.avgSpd)+" kts",1)]),e.createElementVNode("div",z1,[U1,e.createElementVNode("div",Y1,e.toDisplayString((Ue=(Se=t.reportData)==null?void 0:Se.allWx)==null?void 0:Ue.avgFoEcaCons)+" mt",1)]),e.createElementVNode("div",Z1,[Q1,e.createElementVNode("div",J1,e.toDisplayString((qe=(Xe=t.reportData)==null?void 0:Xe.allWx)==null?void 0:qe.avgDgoEcaCons)+" mt",1)])]),j1])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ue=t.reportData)==null?void 0:ue.segments,(m,W)=>{var Be,Ge,Ye;return e.openBlock(),e.createElementBlock("div",{key:W,class:"summary-seg"},[e.createElementVNode("div",K1,[e.createElementVNode("div",X1,[q1,e.createElementVNode("span",null,"Phase "+e.toDisplayString(W+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[W],(_e,Ze)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Ze,class:e.normalizeClass(a.segDetail[W].length>1?"dashed":"")},[e.createElementVNode("div",u1,[e.createElementVNode("div",null,e.toDisplayString(_e==null?void 0:_e.port1),1),e.createElementVNode("div",null,e.toDisplayString(_e==null?void 0:_e.time1),1)]),e.createElementVNode("div",v1,[e.createElementVNode("div",null,e.toDisplayString(_e==null?void 0:_e.port2),1),e.createElementVNode("div",null,e.toDisplayString(_e==null?void 0:_e.time2),1)])],2))),128)),e.createElementVNode("div",e_,[t_,e.createElementVNode("div",null,[e.createElementVNode("span",o_,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",l_,[a_,(Be=m.goodWx)!=null&&Be.distance?(e.openBlock(),e.createElementBlock("div",n_,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",s_,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",c_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",i_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",d_,[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",r_,[m_,(Ge=m.goodWx)!=null&&Ge.distance?(e.openBlock(),e.createElementBlock("div",p_,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",h_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",__,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",E_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",y_,[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",N_,[V_,(Ye=m.goodWx)!=null&&Ye.distance?(e.openBlock(),e.createElementBlock("div",f_,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",g_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",x_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",b_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",k_,[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",D_,[C_,e.createElementVNode("div",S_,[e.createElementVNode("div",B_,[w_,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ve=t.reportData)==null?void 0:ve.segments,(m,W)=>(e.openBlock(),e.createElementBlock("div",{key:W,class:"remark-speed"},[e.createElementVNode("div",T_,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${W+1}. Phase ${W+1} Applied `)+" ",1),e.createElementVNode("span",A_,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[W],(Be,Ge)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Ge},e.toDisplayString(`${Be.port1} (${Be.fullTime1}) to ${Be.port2} (${Be.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",F_,[O_,a.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",P_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.excludedTableData,(m,W)=>(e.openBlock(),e.createElementBlock("div",{key:W},e.toDisplayString(`From ${m.begin} to ${m.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",L_,e.toDisplayString(a.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((et=t.reportData)==null?void 0:et.segments,(m,W)=>{var Be,Ge,Ye,_e,Ze,tt,ot,rt,mt,pt,ht,yt,Nt,Vt,ft,gt,xt,bt,kt,Dt,Ct,St,Bt,wt,Tt,At,Ft,Ot,Pt,Lt,$t,co,io,ro,mo,po,ho,_o,Eo,yo,No,Vo,fo,go,xo,bo,ko,Do,S,Ie,lt,at,_t,Wt,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,jt,Kt,Xt,qt,ut,vt,eo,to,oo,lo,ao,no,Co,So,Bo,wo,To,Ao,Fo,Oo,Po,Lo,$o,Wo,Ho,Mo,Io,Go,Ro,zo,Uo,Yo,Zo,Qo,Ko,Xo,qo,uo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl,ml;return e.openBlock(),e.createElementBlock("div",{key:W,class:"phase"},[e.createElementVNode("div",$_,[e.createElementVNode("div",W_,[e.createElementVNode("div",H_,[e.createElementVNode("div",M_,[I_,e.createElementVNode("span",null,"Phase "+e.toDisplayString(W+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[W],(ct,hl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+hl,class:e.normalizeClass(a.segDetail[W].length>1?"dashed":"")},[e.createElementVNode("div",G_,[e.createElementVNode("div",null,e.toDisplayString(ct==null?void 0:ct.port1),1),e.createElementVNode("div",null,e.toDisplayString(ct==null?void 0:ct.time1),1)]),e.createElementVNode("div",R_,[e.createElementVNode("div",null,e.toDisplayString(ct==null?void 0:ct.port2),1),e.createElementVNode("div",null,e.toDisplayString(ct==null?void 0:ct.time2),1)])],2))),128)),e.createElementVNode("div",z_,[U_,e.createElementVNode("div",null,[e.createElementVNode("span",Y_,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)])])])]),Z_,e.createElementVNode("div",Q_,[e.createElementVNode("div",J_,[j_,e.createElementVNode("div",K_,[e.createElementVNode("span",null,e.toDisplayString(((Be=m.goodWx)==null?void 0:Be.avgFoEcaCons)||"-")+" mt",1)]),X_,e.createElementVNode("div",q_,[e.createElementVNode("span",null,e.toDisplayString(((Ge=m.allWx)==null?void 0:Ge.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",u_,[v_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ye=m.goodWx)==null?void 0:Ye.outEca.avgFoCons)||"-"),1),eE])]),e.createElementVNode("div",tE,[oE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_e=m.goodWx)==null?void 0:_e.inEca.avgFoEcaCons)||"-"),1),lE])]),e.createElementVNode("div",aE,[nE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ze=m.allWx)==null?void 0:Ze.outEca.avgFoCons)||"-"),1),sE])]),e.createElementVNode("div",cE,[iE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((tt=m.allWx)==null?void 0:tt.inEca.avgFoEcaCons)||"-"),1),dE])]),rE]),e.createElementVNode("div",mE,[pE,e.createElementVNode("div",hE,[e.createElementVNode("span",null,e.toDisplayString(((ot=m.goodWx)==null?void 0:ot.avgDgoEcaCons)||"-")+" mt",1)]),_E,e.createElementVNode("div",EE,[e.createElementVNode("span",null,e.toDisplayString(((rt=m.allWx)==null?void 0:rt.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",yE,[NE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=m.goodWx)==null?void 0:mt.outEca.avgDgoCons)||"-"),1),VE])]),e.createElementVNode("div",fE,[gE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=m.goodWx)==null?void 0:pt.inEca.avgDgoEcaCons)||"-"),1),xE])]),e.createElementVNode("div",bE,[kE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ht=m.allWx)==null?void 0:ht.outEca.avgDgoCons)||"-"),1),DE])]),e.createElementVNode("div",CE,[SE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yt=m.allWx)==null?void 0:yt.inEca.avgDgoEcaCons)||"-"),1),BE])]),wE])]),e.createElementVNode("div",TE,[e.createElementVNode("div",AE,[FE,e.createElementVNode("div",OE,[e.createElementVNode("span",null,e.toDisplayString(((Nt=m.goodWx)==null?void 0:Nt.distance)||"-")+" nm",1)]),PE,e.createElementVNode("div",LE,[e.createElementVNode("span",null,e.toDisplayString(((Vt=m.allWx)==null?void 0:Vt.distance)||"-")+" nm",1)]),e.createElementVNode("div",$E,[WE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ft=m.goodWx)==null?void 0:ft.outEca.distance)||"-"),1),HE])]),e.createElementVNode("div",ME,[IE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((gt=m.goodWx)==null?void 0:gt.inEca.distance)||"-"),1),GE])]),e.createElementVNode("div",RE,[zE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((xt=m.allWx)==null?void 0:xt.outEca.distance)||"-"),1),UE])]),e.createElementVNode("div",YE,[ZE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=m.allWx)==null?void 0:bt.inEca.distance)||"-"),1),QE])])]),e.createElementVNode("div",JE,[jE,e.createElementVNode("div",KE,[e.createElementVNode("span",null,e.toDisplayString(((kt=m.goodWx)==null?void 0:kt.time)||"-")+" hrs",1)]),XE,e.createElementVNode("div",qE,[e.createElementVNode("span",null,e.toDisplayString(((Dt=m.allWx)==null?void 0:Dt.time)||"-")+" hrs",1)]),e.createElementVNode("div",uE,[vE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=m.goodWx)==null?void 0:Ct.outEca.time)||"-"),1),ey])]),e.createElementVNode("div",ty,[oy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((St=m.goodWx)==null?void 0:St.inEca.time)||"-"),1),ly])]),e.createElementVNode("div",ay,[ny,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Bt=m.allWx)==null?void 0:Bt.outEca.time)||"-"),1),sy])]),e.createElementVNode("div",cy,[iy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=m.allWx)==null?void 0:wt.inEca.time)||"-"),1),dy])])]),e.createElementVNode("div",ry,[my,e.createElementVNode("div",py,[e.createElementVNode("span",null,e.toDisplayString(((Tt=m.goodWx)==null?void 0:Tt.avgSpd)||"-")+" kts",1)]),hy,e.createElementVNode("div",_y,[e.createElementVNode("span",null,e.toDisplayString(((At=m.allWx)==null?void 0:At.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",Ey,[yy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=m.goodWx)==null?void 0:Ft.outEca.avgSpd)||"-"),1),Ny])]),e.createElementVNode("div",Vy,[fy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=m.goodWx)==null?void 0:Ot.inEca.avgSpd)||"-"),1),gy])]),e.createElementVNode("div",xy,[by,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Pt=m.allWx)==null?void 0:Pt.outEca.avgSpd)||"-"),1),ky])]),e.createElementVNode("div",Dy,[Cy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Lt=m.allWx)==null?void 0:Lt.inEca.avgSpd)||"-"),1),Sy])])])]),e.createElementVNode("div",By,[e.createElementVNode("div",wy,[Ty,e.createElementVNode("div",Ay,[e.createElementVNode("span",null,e.toDisplayString((($t=m.goodWx)==null?void 0:$t.sumFoCons)||"-")+" mt",1)]),Fy,e.createElementVNode("div",Oy,[e.createElementVNode("span",null,e.toDisplayString(((co=m.allWx)==null?void 0:co.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",Py,[Ly,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((io=m.goodWx)==null?void 0:io.outEca.sumFoCons)||"-"),1),$y])]),e.createElementVNode("div",Wy,[Hy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ro=m.goodWx)==null?void 0:ro.inEca.sumFoCons)||"-"),1),My])]),e.createElementVNode("div",Iy,[Gy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mo=m.allWx)==null?void 0:mo.outEca.sumFoCons)||"-"),1),Ry])]),e.createElementVNode("div",zy,[Uy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((po=m.allWx)==null?void 0:po.inEca.sumFoCons)||"-"),1),Yy])])]),e.createElementVNode("div",Zy,[Qy,e.createElementVNode("div",Jy,[e.createElementVNode("span",null,e.toDisplayString(((ho=m.goodWx)==null?void 0:ho.sumDgoCons)||"-")+" mt",1)]),jy,e.createElementVNode("div",Ky,[e.createElementVNode("span",null,e.toDisplayString(((_o=m.allWx)==null?void 0:_o.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",Xy,[qy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Eo=m.goodWx)==null?void 0:Eo.outEca.sumDgoCons)||"-"),1),uy])]),e.createElementVNode("div",vy,[eN,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yo=m.goodWx)==null?void 0:yo.inEca.sumDgoCons)||"-"),1),tN])]),e.createElementVNode("div",oN,[lN,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((No=m.allWx)==null?void 0:No.outEca.sumDgoCons)||"-"),1),aN])]),e.createElementVNode("div",nN,[sN,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vo=m.allWx)==null?void 0:Vo.inEca.sumDgoCons)||"-"),1),cN])])]),e.createElementVNode("div",iN,[dN,e.createElementVNode("div",rN,[e.createElementVNode("span",null,e.toDisplayString(((fo=m.goodWx)==null?void 0:fo.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",mN,[pN,(go=m.goodWx)!=null&&go.distance&&!((bo=(xo=t.reportData)==null?void 0:xo.weather)!=null&&bo.favorableCur&&((ko=m.goodWx)==null?void 0:ko.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",hN,[e.createTextVNode(e.toDisplayString(n.computedPositive((Do=m.goodWx)==null?void 0:Do.avgCf)),1),_N])):(e.openBlock(),e.createElementBlock("b",EN,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",yN,[e.createElementVNode("div",NN,[VN,(S=m.goodWx)!=null&&S.distance?(e.openBlock(),e.createElementBlock("div",fN,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",gN,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",xN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",bN,[e.createElementVNode("span",kN,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",DN,[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(`${(Ie=m.goodWx)!=null&&Ie.distance?"":"analysis-none"} card analysis-card`)},[(lt=m.goodWx)!=null&&lt.distance?(e.openBlock(),e.createElementBlock("div",CN,[e.createElementVNode("div",SN,[BN,wN,e.createElementVNode("div",TN,[e.createElementVNode("div",null,e.toDisplayString((_t=(at=t.reportData)==null?void 0:at.weather)!=null&&_t.noExtrapolation?(Wt=m.goodWx)==null?void 0:Wt.distance:(Ht=m.allWx)==null?void 0:Ht.distance),1),AN,e.createElementVNode("div",null,e.toDisplayString((Mt=m.goodWx)==null?void 0:Mt.pfmSpd),1)]),FN,e.createElementVNode("div",ON,e.toDisplayString(m.timeConclusion.timeAtPfmSpd)+" Hrs",1),PN]),e.createElementVNode("div",LN,[$N,WN,e.createElementVNode("div",HN,[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),MN,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),IN,e.createElementVNode("div",GN,e.toDisplayString(m.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),RN]),e.createElementVNode("div",zN,[UN,YN,e.createElementVNode("div",ZN,[e.createElementVNode("div",null,e.toDisplayString((Yt=(Ut=t.reportData)==null?void 0:Ut.weather)!=null&&Yt.noExtrapolation?(Zt=m.goodWx)==null?void 0:Zt.distance:(Qt=m.allWx)==null?void 0:Qt.distance),1),QN,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.plusAbtSpd),1)]),JN,e.createElementVNode("div",jN,e.toDisplayString(m.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),KN])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",XN,[e.createElementVNode("div",qN,[uN,(Jt=m.goodWx)!=null&&Jt.distance?(e.openBlock(),e.createElementBlock("div",vN,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",eV,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",tV,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",oV,[e.createElementVNode("span",lV,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",aV,[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(`${(jt=m.goodWx)!=null&&jt.distance?"":"analysis-none"} card analysis-card`)},[(Kt=m.goodWx)!=null&&Kt.distance?(e.openBlock(),e.createElementBlock("div",nV,[e.createElementVNode("div",sV,[cV,iV,e.createElementVNode("div",dV,[e.createElementVNode("div",null,e.toDisplayString((qt=(Xt=t.reportData)==null?void 0:Xt.weather)!=null&&qt.noExtrapolation?(ut=m.goodWx)==null?void 0:ut.distance:(vt=m.allWx)==null?void 0:vt.distance),1),rV,e.createElementVNode("div",null,e.toDisplayString((eo=m.goodWx)==null?void 0:eo.pfmSpd),1)]),mV,e.createElementVNode("div",pV,[e.createElementVNode("div",null,e.toDisplayString((to=m.goodWx)==null?void 0:to.sumFoCons)+" "+e.toDisplayString(((oo=m.allWx)==null?void 0:oo.inEca.distance)>0?` + ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),hV,e.createElementVNode("div",null,e.toDisplayString((lo=m.goodWx)==null?void 0:lo.time),1)]),_V,e.createElementVNode("div",EV,e.toDisplayString(m.fuelConclusion.fo.entireCons)+" MT",1),yV]),e.createElementVNode("div",NV,[VV,fV,e.createElementVNode("div",gV,[e.createElementVNode("div",null,e.toDisplayString((no=(ao=t.reportData)==null?void 0:ao.weather)!=null&&no.noExtrapolation?(Co=m.goodWx)==null?void 0:Co.distance:(So=m.allWx)==null?void 0:So.distance),1),xV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),bV,e.createElementVNode("div",kV,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.overTolerance),1),DV,CV]),SV,e.createElementVNode("div",BV,e.toDisplayString(m.fuelConclusion.fo.maxCons)+" MT",1),wV]),e.createElementVNode("div",TV,[AV,FV,e.createElementVNode("div",OV,[e.createElementVNode("div",null,e.toDisplayString((wo=(Bo=t.reportData)==null?void 0:Bo.weather)!=null&&wo.noExtrapolation?(To=m.goodWx)==null?void 0:To.distance:(Ao=m.allWx)==null?void 0:Ao.distance),1),PV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),LV,e.createElementVNode("div",$V,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.underTolerance),1),WV,HV]),MV,e.createElementVNode("div",IV,e.toDisplayString(m.fuelConclusion.fo.minCons)+" MT",1),GV])])):e.createCommentVNode("",!0)],2)]),((Oo=(Fo=m==null?void 0:m.extend)==null?void 0:Fo.cp)==null?void 0:Oo.dgo)>0?(e.openBlock(),e.createElementBlock("div",RV,[e.createElementVNode("div",zV,[UV,(Po=m.goodWx)!=null&&Po.distance?(e.openBlock(),e.createElementBlock("div",YV,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",ZV,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",QV,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",JV,[e.createElementVNode("span",jV,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",KV,[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(`${(Lo=m.goodWx)!=null&&Lo.distance?"":"analysis-none"} card analysis-card`)},[($o=m.goodWx)!=null&&$o.distance?(e.openBlock(),e.createElementBlock("div",XV,[e.createElementVNode("div",qV,[uV,vV,e.createElementVNode("div",ef,[e.createElementVNode("div",null,e.toDisplayString((Ho=(Wo=t.reportData)==null?void 0:Wo.weather)!=null&&Ho.noExtrapolation?(Mo=m.goodWx)==null?void 0:Mo.distance:(Io=m.allWx)==null?void 0:Io.distance),1),tf,e.createElementVNode("div",null,e.toDisplayString((Go=m.goodWx)==null?void 0:Go.pfmSpd),1)]),of,e.createElementVNode("div",lf,[e.createElementVNode("div",null,e.toDisplayString((Ro=m.goodWx)==null?void 0:Ro.sumDgoCons)+" "+e.toDisplayString(((zo=m.allWx)==null?void 0:zo.inEca.distance)>0?` - ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),af,e.createElementVNode("div",null,e.toDisplayString((Uo=m.goodWx)==null?void 0:Uo.time),1)]),nf,e.createElementVNode("div",sf,e.toDisplayString(m.fuelConclusion.dgo.entireCons)+" MT",1),cf]),e.createElementVNode("div",df,[rf,mf,e.createElementVNode("div",pf,[e.createElementVNode("div",null,e.toDisplayString((Zo=(Yo=t.reportData)==null?void 0:Yo.weather)!=null&&Zo.noExtrapolation?(Qo=m.goodWx)==null?void 0:Qo.distance:(Ko=m.allWx)==null?void 0:Ko.distance),1),hf,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),_f,e.createElementVNode("div",Ef,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.overTolerance),1),yf,Nf]),Vf,e.createElementVNode("div",ff,e.toDisplayString(m.fuelConclusion.dgo.maxCons)+" MT",1),gf]),e.createElementVNode("div",xf,[bf,kf,e.createElementVNode("div",Df,[e.createElementVNode("div",null,e.toDisplayString((qo=(Xo=t.reportData)==null?void 0:Xo.weather)!=null&&qo.noExtrapolation?(uo=m.goodWx)==null?void 0:uo.distance:(vo=m.allWx)==null?void 0:vo.distance),1),Cf,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),Sf,e.createElementVNode("div",Bf,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.underTolerance),1),wf,Tf]),Af,e.createElementVNode("div",Ff,e.toDisplayString(m.fuelConclusion.dgo.minCons)+" MT",1),Of])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),Pf,e.createElementVNode("div",Lf,[e.createElementVNode("div",$f,[Wf,e.createElementVNode("div",Hf,[e.createElementVNode("div",Mf,[If,Gf,e.createElementVNode("div",Rf,[e.createElementVNode("div",null,e.toDisplayString((tl=(el=t.reportData)==null?void 0:el.weather)!=null&&tl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),zf,Uf]),Yf]),e.createElementVNode("div",Zf,[Qf,Jf,e.createElementVNode("div",jf,[e.createElementVNode("div",null,e.toDisplayString((ll=(ol=t.reportData)==null?void 0:ol.weather)!=null&&ll.noExtrapolation?"Good Weather Distance":"Total Distance"),1),Kf,Xf]),qf]),e.createElementVNode("div",uf,[vf,e0,e.createElementVNode("div",t0,[e.createElementVNode("div",null,e.toDisplayString((nl=(al=t.reportData)==null?void 0:al.weather)!=null&&nl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),o0,l0]),a0]),n0])]),e.createElementVNode("div",s0,[c0,e.createElementVNode("div",i0,[e.createElementVNode("div",d0,[r0,m0,e.createElementVNode("div",p0,[e.createElementVNode("div",null,e.toDisplayString((cl=(sl=t.reportData)==null?void 0:sl.weather)!=null&&cl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),h0,_0]),E0,y0,N0]),e.createElementVNode("div",V0,[f0,g0,e.createElementVNode("div",x0,[e.createElementVNode("div",null,e.toDisplayString((dl=(il=t.reportData)==null?void 0:il.weather)!=null&&dl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),b0,k0]),D0,C0,S0]),e.createElementVNode("div",B0,[w0,T0,e.createElementVNode("div",A0,[e.createElementVNode("div",null,e.toDisplayString((ml=(rl=t.reportData)==null?void 0:rl.weather)!=null&&ml.noExtrapolation?"Good Weather Distance":"Total Distance"),1),F0,O0]),P0,L0,$0]),W0,H0])])])])])}),128))])],2)}const I0=we(fh,[["render",M0],["__scopeId","data-v-d80f1a42"]]),Sj="",G0={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"?X(o).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?X(o).utc().format("MMMM-DD/HHmm[Z]"):X(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}°${me.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 g=c.extend.cp;c.inventory.sample.hours.forEach((x,h)=>{let N=JSON.parse(JSON.stringify(x));N.cp=g,o.push(N)})}),o.sort(function(c,p){let g=c.date,x=p.date;return g-x});let s="",t="";o.forEach((c,p)=>{c.seg!==s&&(c.isFirstSeg=!0,s=c.seg);let g=c.type.charAt(0);c.abbreviation=g;const x=X(c.utc).utc().format("D-MMM");x!==t&&(c.lastdate=x,t=x),g==="A"?c.type="":g==="M"&&(c.type="*"),c.time=X(c.utc).utc().format("HH:mm[Z]"),c.lngPretty=this.getLonLat(me.LngLatHelper.lng2pretty(c.lng)),c.latPretty=this.getLonLat(me.LngLatHelper.lat2pretty(c.lat))}),this.summaryTable=o}}},Ps=o=>(e.pushScopeId("data-v-c9bf3740"),o=o(),e.popScopeId(),o),R0=Ps(()=>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)),z0={id:"second-table",class:"table"},U0={class:"summary-table"},Y0=Ps(()=>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)),Z0={class:"summary-tbody"},Q0=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),J0={class:"voyage-map",style:{"page-break-inside":"avoid"}},j0=Ps(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),K0=["src"],X0=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 q0(o,s,t,r,a,n){var E,c,p,g,x;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||(g=(p=t.reportData)==null?void 0:p.weather)!=null&&g.overallAsGoodWx?"watermark fli-main":"fli-main")},[R0,e.createElementVNode("div",z0,[e.createElementVNode("div",null,[e.createElementVNode("table",U0,[Y0,e.createElementVNode("tbody",Z0,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.summaryTable,(h,N)=>{var D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,I,J,Y;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"?"":(b=h.cp)==null?void 0:b.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=(A=h.meteo)==null?void 0:A.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=(V=(w=h.meteo)==null?void 0:w.wave)==null?void 0:V.swell)==null?void 0:O.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((z=(R=(G=h.meteo)==null?void 0:G.wave)==null?void 0:R.sig)==null?void 0:z.height)??"--"),3),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((U=h.meteo)==null?void 0:U.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"?"":($=h.cp)==null?void 0:$.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"?"":((I=h.noon)==null?void 0:I.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":(J=h.noon)==null?void 0:J.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":(Y=h.noon)==null?void 0:Y.dgoBrob),3)])}),128))])])])]),Q0,e.createElementVNode("div",J0,[j0,e.createElementVNode("img",{style:{width:"100%"},src:(x=t.reportData)==null?void 0:x.chartUrl,alt:""},null,8,K0),X0])],2)}const u0=we(G0,[["render",q0],["__scopeId","data-v-c9bf3740"]]),Bj="",v0={components:{Summary:I0,Inventory:u0},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)}}},e2={class:"voyage-report"};function t2(o,s,t,r,a,n){const E=e.resolveComponent("Summary"),c=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",e2,[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 Is=we(v0,[["render",t2],["__scopeId","data-v-e76f9905"]]),wj="",o2={name:"OrmVoyageSummary",components:{Lng:ja,Lat:Ka,Editor:pl},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`${X(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 me.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return me.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:X(n.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+X(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-44fbbd8a"),o=o(),e.popScopeId(),o),l2={class:"report-summary"},a2={class:"section voyage-section flex-space"},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"}},"Prepare for",-1)),i2={style:{"text-transform":"uppercase"}},d2={class:"flex-space label-block",style:{width:"100%"}},r2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),m2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},p2={class:"flex-space label-block",style:{width:"100%"}},h2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),_2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},E2={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},y2={class:"flex-space label-block",style:{width:"100%"}},N2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),V2={key:0,class:"flex-end",style:{flex:"1"}},f2={key:1,class:"flex-end",style:{flex:"1"}},g2=i(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),x2={class:"flex-end",style:{width:"150px"}},b2={class:"flex-space label-block",style:{width:"100%"}},k2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),D2={key:0,class:"flex-end",style:{flex:"1"}},C2={key:1,class:"flex-end",style:{flex:"1"}},S2=i(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),B2={class:"flex-end",style:{width:"150px"}},w2={class:"flex-space label-block",style:{width:"100%"}},T2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),A2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},F2={class:"section weather-section"},O2=i(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),P2={class:"definition"},L2={class:"txt"},$2={class:"section summary-section"},W2=i(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),H2={class:"phase-box"},M2={class:"phase-index"},I2={class:"phase-position"},G2={key:0},R2={key:1},z2=i(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),U2={class:"phase-position"},Y2={key:0},Z2={key:1},Q2=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),J2={class:"phase-cp flex-space"},j2={class:"cp-box"},K2=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)),X2={class:"flex-space"},q2=i(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),u2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),v2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),eg=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),tg=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),og=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),lg=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),ag=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),ng={class:"phase-conclusion flex-space"},sg={class:"item-conclusion"},cg=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),ig={class:"value flex-start"},dg=i(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),rg={key:0,class:"label flex-end"},mg={key:0},pg={key:1},hg={key:2},_g={key:1,class:"label flex-end"},Eg={key:2,class:"value flex-end"},yg={key:0},Ng=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Vg={class:"gain"},fg=i(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),gg={key:1},xg=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),bg={class:"lost"},kg=i(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),Dg={key:2},Cg={class:"item-conclusion"},Sg=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),Bg={class:"value flex-start"},wg=i(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),Tg={key:0,class:"label flex-end"},Ag={key:0},Fg={key:1},Og={key:2},Pg={key:1,class:"label flex-end"},Lg={key:2,class:"value flex-end"},$g={key:0},Wg=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Hg={class:"gain"},Mg=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Ig={key:1},Gg=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Rg={class:"lost"},zg=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Ug={key:2},Yg={class:"item-conclusion"},Zg=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),Qg={class:"value flex-start"},Jg=i(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),jg={key:0,class:"label flex-end"},Kg={key:0},Xg={key:1},qg={key:2},ug={key:1,class:"label flex-end"},vg={key:2,class:"value flex-end"},ex={key:0},tx=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),ox={class:"gain"},lx=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),ax={key:1},nx=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),sx={class:"lost"},cx=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),ix={key:2},dx=i(()=>e.createElementVNode("div",{class:"tips flex-end"},"*Please see voyage analysis pages for the details.",-1)),rx=i(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),mx={key:0,class:"exclusion-block"},px=i(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),hx=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)),_x={style:{margin:"8px 0"}},Ex={class:"remark-table"},yx=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)),Nx=["innerHTML"],Vx={class:"section segment-section"},fx=i(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),gx={class:"segment-index flex-center"},xx={class:"segment-position"},bx={key:0},kx={key:1},Dx=i(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),Cx={class:"segment-position"},Sx={key:0},Bx={key:1},wx=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),Tx={style:{margin:"10px 0 0"}},Ax=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)),Fx=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)),Ox=i(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),Px={class:"good-wx"},Lx={class:"good-wx"},$x=i(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),Wx={class:"good-wx"},Hx={class:"good-wx"},Mx=i(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),Ix={class:"good-wx"},Gx={class:"good-wx"},Rx=i(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),zx={class:"good-wx"},Ux={class:"good-wx"},Yx=i(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),Zx={class:"good-wx"},Qx={class:"good-wx"},Jx=i(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),jx={class:"good-wx"},Kx={class:"good-wx"},Xx=i(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),qx={class:"good-wx"},ux={class:"good-wx"},vx={key:0,class:"flex-end tip"},eb={key:1,class:"segment-speed"},tb={class:"flex-center"},ob=i(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),lb={class:"speed-right flex-space"},ab=i(()=>e.createElementVNode("span",null,"-",-1)),nb=i(()=>e.createElementVNode("label",null,"=",-1)),sb={class:"speed"},cb={key:1,class:"speed"},ib={key:0,class:"speed"},db=i(()=>e.createElementVNode("span",null,"-",-1)),rb=i(()=>e.createElementVNode("label",null,"=",-1)),mb={class:"speed"},pb=i(()=>e.createElementVNode("span",null,"-",-1)),hb=i(()=>e.createElementVNode("label",null,"=",-1)),_b={class:"speed"},Eb=i(()=>e.createElementVNode("span",null,"-",-1)),yb=i(()=>e.createElementVNode("span",null,"-",-1)),Nb=i(()=>e.createElementVNode("label",null,"=",-1)),Vb={class:"speed"},fb={key:2,class:"under"},gb={key:3,class:"over"},xb={class:"flex-center"},bb=i(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),kb={class:"speed-right formula flex-space"},Db=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Cb=i(()=>e.createElementVNode("label",null,"-",-1)),Sb=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Bb=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),wb=i(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),Tb={key:0},Ab=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Fb=i(()=>e.createElementVNode("label",null,"-",-1)),Ob=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Pb=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Lb=i(()=>e.createElementVNode("label",null,"-",-1)),$b=i(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Wb=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Hb=i(()=>e.createElementVNode("label",null,"-",-1)),Mb=i(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Ib=i(()=>e.createElementVNode("label",null,"-",-1)),Gb=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Rb={key:2,class:"segment-speed"},zb={class:"flex-center"},Ub=i(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Yb={class:"speed-right flex-space"},Zb=i(()=>e.createElementVNode("span",null,"-",-1)),Qb=i(()=>e.createElementVNode("span",null,"-",-1)),Jb=i(()=>e.createElementVNode("label",null,"=",-1)),jb={class:"speed"},Kb=i(()=>e.createElementVNode("span",null,"-",-1)),Xb=i(()=>e.createElementVNode("label",null,"=",-1)),qb={class:"speed"},ub={key:2,class:"under"},vb={key:3,class:"over"},ek={class:"flex-center"},tk=i(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),ok={class:"speed-right formula flex-space"},lk=i(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),ak=i(()=>e.createElementVNode("label",null,"-",-1)),nk=i(()=>e.createElementVNode("label",null,"Current Factor",-1)),sk=i(()=>e.createElementVNode("label",null,"-",-1)),ck=i(()=>e.createElementVNode("label",null,"Weather Factor",-1)),ik=i(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),dk=i(()=>e.createElementVNode("label",null,"-",-1)),rk=i(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),mk=i(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),pk=i(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),hk={class:"segment-formula"},_k={class:"header-block flex-start"},Ek=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),yk={class:"title"},Nk={key:0,style:{"margin-left":"4px","font-weight":"300"}},Vk={class:"formula-block"},fk={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)),xk={class:"formula-right flex-evenly"},bk={class:"fraction",style:{width:"240px"}},kk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),Dk=i(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Ck=i(()=>e.createElementVNode("div",null,"(a)",-1)),Sk={class:"flex-center"},Bk={class:"formula-left flex-space"},wk=i(()=>e.createElementVNode("label",null,"=",-1)),Tk={class:"formula-right flex-evenly"},Ak={class:"fraction",style:{width:"240px"}},Fk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),Ok=i(()=>e.createElementVNode("div",null,"(b)",-1)),Pk={class:"flex-center"},Lk={class:"formula-left flex-space"},$k=i(()=>e.createElementVNode("label",null,"=",-1)),Wk={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,"(c)",-1)),Gk=e.createStaticVNode('<div class="flex-start" data-v-44fbbd8a><div class="flex-space" style="width:300px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Time Lost</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(a)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Time Gained</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(c)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(a)</div></div></div>',1),Rk={class:"formula-desc"},zk={class:"flex-end"},Uk=i(()=>e.createElementVNode("label",null,"Time Lost",-1)),Yk={class:"flex-end"},Zk=i(()=>e.createElementVNode("label",null,"Time Gained",-1)),Qk={class:"flex-end"},Jk=i(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),jk={key:0,class:"formula-block",style:{"font-weight":"400"}},Kk={class:"flex-evenly"},Xk=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)),qk={class:"formula-right flex-evenly"},uk={class:"fraction",style:{width:"240px"}},vk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),e3=i(()=>e.createElementVNode("div",null,"=",-1)),t3=i(()=>e.createElementVNode("div",null,"(a')",-1)),o3={class:"flex-center"},l3={class:"formula-left flex-space"},a3=i(()=>e.createElementVNode("label",null,"=",-1)),n3={class:"formula-right flex-evenly"},s3={class:"fraction",style:{width:"240px"}},c3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),i3=i(()=>e.createElementVNode("div",null,"=",-1)),d3=i(()=>e.createElementVNode("div",null,"(b')",-1)),r3={class:"flex-center"},m3={class:"formula-left flex-space"},p3=i(()=>e.createElementVNode("label",null,"=",-1)),h3={class:"formula-right flex-evenly"},_3={class:"fraction",style:{width:"240px"}},E3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),y3=i(()=>e.createElementVNode("div",null,"=",-1)),N3=i(()=>e.createElementVNode("div",null,"(c')",-1)),V3={class:"formula-conclusion",style:{"margin-bottom":"0"}},f3={key:0,class:"flex-evenly",style:{width:"500px"}},g3=i(()=>e.createElementVNode("div",null,"Time Lost",-1)),x3=i(()=>e.createElementVNode("div",null,"=",-1)),b3=i(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),k3=i(()=>e.createElementVNode("div",null,"=",-1)),D3=i(()=>e.createElementVNode("div",null,"-",-1)),C3=i(()=>e.createElementVNode("div",null,"=",-1)),S3={key:1,class:"flex-evenly",style:{width:"500px"}},B3=i(()=>e.createElementVNode("div",null,"Time Lost",-1)),w3=i(()=>e.createElementVNode("div",null,"=",-1)),T3=i(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),A3=i(()=>e.createElementVNode("div",null,"=",-1)),F3=i(()=>e.createElementVNode("div",null,"-",-1)),O3=i(()=>e.createElementVNode("div",null,"=",-1)),P3=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),L3={key:1,class:"formula-conclusion"},$3=i(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),W3={class:"segment-formula"},H3={class:"header-block flex-start"},M3=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),I3={class:"title"},G3={key:0,style:{"margin-left":"4px","font-weight":"300"}},R3={class:"formula-block"},z3={class:"flex-evenly"},U3=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)),Y3={class:"formula-right flex-evenly"},Z3={class:"fraction",style:{width:"240px"}},Q3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),J3=i(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),j3=i(()=>e.createElementVNode("div",null,"x",-1)),K3=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)),X3=i(()=>e.createElementVNode("div",null,"(d)",-1)),q3={style:{"line-height":"1"}},u3=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)),v3={key:0,class:"tips flex-end",style:{"font-size":"14px"}},eD={class:"flex-center"},tD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),oD={class:"formula-right flex-evenly"},lD={class:"fraction",style:{width:"240px"}},aD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),nD=i(()=>e.createElementVNode("div",null,"x",-1)),sD=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)),cD=i(()=>e.createElementVNode("div",null,"(e)",-1)),iD={class:"flex-center"},dD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),rD={class:"formula-right flex-evenly"},mD={class:"fraction",style:{width:"240px"}},pD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),hD=i(()=>e.createElementVNode("div",null,"x",-1)),_D=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)),ED=i(()=>e.createElementVNode("div",null,"(f)",-1)),yD=e.createStaticVNode('<div class="flex-start" data-v-44fbbd8a><div class="flex-space" style="width:300px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Fuel Over-consumption</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(d)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Fuel Saving</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(f)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(d)</div></div></div>',1),ND={class:"flex-center"},VD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),fD={class:"formula-right flex-evenly"},gD={class:"fraction",style:{width:"270px"}},xD=i(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),bD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),kD={class:"flex-center"},DD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),CD={class:"formula-right flex-evenly"},SD={class:"fraction",style:{width:"270px"}},BD=i(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),wD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),TD=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)),AD={class:"header-block flex-start",style:{"margin-top":"10px"}},FD=i(()=>e.createElementVNode("i",{class:"iconfont"},"  ",-1)),OD={class:"title"},PD={key:0,class:"formula-block"},LD={key:0,class:"flex-evenly"},$D=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)),WD={class:"formula-right flex-evenly"},HD={class:"fraction",style:{width:"60px"}},MD=i(()=>e.createElementVNode("div",null,"-",-1)),ID={class:"fraction",style:{width:"60px"}},GD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),RD=i(()=>e.createElementVNode("div",null,"24",-1)),zD=i(()=>e.createElementVNode("div",null,"*",-1)),UD=i(()=>e.createElementVNode("div",null,"=",-1)),YD={class:"flex-evenly"},ZD=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)),QD={class:"formula-right flex-evenly"},JD={class:"fraction",style:{width:"240px"}},jD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),KD=i(()=>e.createElementVNode("div",null,"x",-1)),XD={class:"fraction",style:{width:"240px"}},qD={key:0},uD=i(()=>e.createElementVNode("span",null," + ",-1)),vD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),eC=i(()=>e.createElementVNode("div",null,"=",-1)),tC=i(()=>e.createElementVNode("div",null,"(d')",-1)),oC={class:"flex-evenly"},lC=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),aC={class:"formula-right flex-evenly"},nC={class:"fraction",style:{width:"240px"}},sC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),cC=i(()=>e.createElementVNode("div",null,"x",-1)),iC={class:"fraction",style:{width:"240px"}},dC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),rC=i(()=>e.createElementVNode("div",null,"24",-1)),mC=i(()=>e.createElementVNode("div",null,"=",-1)),pC=i(()=>e.createElementVNode("div",null,"(e')",-1)),hC={class:"flex-evenly"},_C=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),EC={class:"formula-right flex-evenly"},yC={class:"fraction",style:{width:"240px"}},NC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),VC=i(()=>e.createElementVNode("div",null,"x",-1)),fC={class:"fraction",style:{width:"240px"}},gC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),xC=i(()=>e.createElementVNode("div",null,"24",-1)),bC=i(()=>e.createElementVNode("div",null,"=",-1)),kC=i(()=>e.createElementVNode("div",null,"(f')",-1)),DC={class:"formula-conclusion",style:{"margin-bottom":"0"}},CC={class:"flex-evenly",style:{width:"500px"}},SC=i(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),BC=i(()=>e.createElementVNode("div",null,"=",-1)),wC=i(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),TC=i(()=>e.createElementVNode("div",null,"=",-1)),AC=i(()=>e.createElementVNode("div",null,"-",-1)),FC=i(()=>e.createElementVNode("div",null,"=",-1)),OC={key:0,class:"flex-evenly"},PC=i(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),LC=i(()=>e.createElementVNode("div",null,"=",-1)),$C={class:"fraction"},WC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),HC=i(()=>e.createElementVNode("div",null,"=",-1)),MC={class:"flex-evenly",style:{width:"700px"}},IC=i(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),GC=i(()=>e.createElementVNode("div",null,"=",-1)),RC=i(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),zC=i(()=>e.createElementVNode("div",null,"=",-1)),UC=i(()=>e.createElementVNode("div",null,"-",-1)),YC=i(()=>e.createElementVNode("div",null,"=",-1)),ZC={key:0,class:"flex-evenly",style:{width:"500px"}},QC=i(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),JC=i(()=>e.createElementVNode("div",null,"=",-1)),jC={class:"fraction",style:{width:"140px"}},KC=i(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),XC=i(()=>e.createElementVNode("div",null,"=",-1)),qC=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),uC={key:1,class:"formula-conclusion"},vC={class:"header-block flex-end",style:{"margin-top":"10px"}},eS=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),tS={class:"title"},oS={key:0,class:"formula-block"},lS={class:"flex-evenly"},aS=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)),nS={class:"formula-right flex-evenly"},sS={class:"fraction",style:{width:"240px"}},cS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),iS=i(()=>e.createElementVNode("div",null,"x",-1)),dS={class:"fraction",style:{width:"240px"}},rS={key:0},mS=i(()=>e.createElementVNode("span",null," - ",-1)),pS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),hS=i(()=>e.createElementVNode("div",null,"=",-1)),_S=i(()=>e.createElementVNode("div",null,"(d'')",-1)),ES={class:"flex-evenly"},yS=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),NS={class:"formula-right flex-evenly"},VS={class:"fraction",style:{width:"240px"}},fS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),gS=i(()=>e.createElementVNode("div",null,"x",-1)),xS={class:"fraction",style:{width:"240px"}},bS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),kS=i(()=>e.createElementVNode("div",null,"24",-1)),DS=i(()=>e.createElementVNode("div",null,"=",-1)),CS=i(()=>e.createElementVNode("div",null,"(e'')",-1)),SS={class:"flex-evenly"},BS=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),wS={class:"formula-right flex-evenly"},TS={class:"fraction",style:{width:"240px"}},AS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),FS=i(()=>e.createElementVNode("div",null,"x",-1)),OS={class:"fraction",style:{width:"240px"}},PS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),LS=i(()=>e.createElementVNode("div",null,"24",-1)),$S=i(()=>e.createElementVNode("div",null,"=",-1)),WS=i(()=>e.createElementVNode("div",null,"(f'')",-1)),HS={class:"formula-conclusion",style:{"margin-bottom":"0"}},MS={key:0,class:"flex-evenly",style:{width:"500px"}},IS=i(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),GS=i(()=>e.createElementVNode("div",null,"=",-1)),RS=i(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),zS=i(()=>e.createElementVNode("div",null,"=",-1)),US=i(()=>e.createElementVNode("div",null,"-",-1)),YS=i(()=>e.createElementVNode("div",null,"=",-1)),ZS={key:1,class:"flex-evenly",style:{width:"700px"}},QS=i(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),JS=i(()=>e.createElementVNode("div",null,"=",-1)),jS=i(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),KS=i(()=>e.createElementVNode("div",null,"=",-1)),XS=i(()=>e.createElementVNode("div",null,"-",-1)),qS=i(()=>e.createElementVNode("div",null,"=",-1)),uS=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),vS={key:1,class:"formula-conclusion"};function e4(o,s,t,r,a,n){var g,x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,I,J,Y,j,se,ce;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",l2,[e.createElementVNode("div",a2,[e.createElementVNode("div",n2,[e.createElementVNode("div",s2,[c2,e.createElementVNode("span",i2,e.toDisplayString(t.report.preparedFor),1)]),e.createElementVNode("div",d2,[r2,e.createElementVNode("span",m2,e.toDisplayString((x=(g=t.report)==null?void 0:g.vessel)==null?void 0:x.name)+" ("+e.toDisplayString((N=(h=t.report)==null?void 0:h.vessel)==null?void 0:N.type)+")",1)]),e.createElementVNode("div",p2,[h2,e.createElementVNode("span",_2,e.toDisplayString((b=(D=t.report)==null?void 0:D.voyage)==null?void 0:b.number),1)])]),e.createElementVNode("div",E2,[e.createElementVNode("div",y2,[N2,(k=(C=t.report)==null?void 0:C.departure)!=null&&k.portName?(e.openBlock(),e.createElementBlock("span",V2,e.toDisplayString((F=(A=t.report)==null?void 0:A.departure)==null?void 0:F.portName),1)):(e.openBlock(),e.createElementBlock("div",f2,[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"]),g2,e.createVNode(c,{lng:(V=t.report.departure)==null?void 0:V.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",x2,e.toDisplayString(n.computeUTCTime((O=t.report.departure)==null?void 0:O.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",b2,[k2,(R=(G=t.report)==null?void 0:G.arrival)!=null&&R.portName?(e.openBlock(),e.createElementBlock("span",D2,e.toDisplayString((U=(z=t.report)==null?void 0:z.arrival)==null?void 0:U.portName),1)):(e.openBlock(),e.createElementBlock("div",C2,[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"]),S2,e.createVNode(c,{lng:($=(H=t.report)==null?void 0:H.arrival)==null?void 0:$.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",B2,e.toDisplayString(n.computeUTCTime((I=(P=t.report)==null?void 0:P.arrival)==null?void 0:I.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",w2,[T2,e.createElementVNode("span",A2,e.toDisplayString((Y=(J=t.report)==null?void 0:J.voyage)==null?void 0:Y.loadCondition),1)])])]),e.createElementVNode("div",F2,[O2,e.createElementVNode("div",P2,[e.createElementVNode("div",L2,e.toDisplayString(n.computeWeatherDef(t.report.weather)),1)])]),e.createElementVNode("div",$2,[W2,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((j=t.report)==null?void 0:j.segments,(l,q)=>{var ee,te,oe,le,ae,ie,de,re,Ee,u,he,ye,Ne,pe,ge,xe,be,ke,De,Ce,Fe,Oe,Pe,Le,$e,We,He,Me,Ve,Je,je,Ke,T,Se,Ue,Xe,qe,ue,ve,et,m;return e.openBlock(),e.createElementBlock("div",{key:"summary"+q,class:"segment-box flex-space"},[e.createElementVNode("div",H2,[e.createElementVNode("div",M2,"Seg."+e.toDisplayString(q+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ee=l==null?void 0:l.extend)==null?void 0:ee.segTimes,(W,Be)=>{var Ge,Ye,_e,Ze,tt,ot,rt,mt,pt,ht;return e.openBlock(),e.createElementBlock("div",{key:Be,class:"phase-row flex-space"},[e.createElementVNode("div",I2,[(Ge=W==null?void 0:W.departure)!=null&&Ge.portName?(e.openBlock(),e.createElementBlock("span",G2,e.toDisplayString((Ye=W==null?void 0:W.departure)==null?void 0:Ye.portName),1)):(e.openBlock(),e.createElementBlock("span",R2,e.toDisplayString(n.computeLat((_e=W==null?void 0:W.departure)==null?void 0:_e.lat).pretty)+", "+e.toDisplayString(n.computeLng((Ze=W==null?void 0:W.departure)==null?void 0:Ze.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((tt=W==null?void 0:W.departure)==null?void 0:tt.utcTime))+")",1)]),z2,e.createElementVNode("div",U2,[(ot=W==null?void 0:W.arrival)!=null&&ot.portName?(e.openBlock(),e.createElementBlock("span",Y2,e.toDisplayString((rt=W==null?void 0:W.arrival)==null?void 0:rt.portName),1)):(e.openBlock(),e.createElementBlock("span",Z2,e.toDisplayString(n.computeLat((mt=W==null?void 0:W.arrival)==null?void 0:mt.lat).pretty)+", "+e.toDisplayString(n.computeLng((pt=W==null?void 0:W.arrival)==null?void 0:pt.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((ht=W==null?void 0:W.arrival)==null?void 0:ht.utcTime))+")",1)])])}),128)),Q2,e.createElementVNode("div",J2,[e.createElementVNode("div",j2,[K2,e.createElementVNode("div",X2,[q2,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((oe=(te=l==null?void 0:l.extend)==null?void 0:te.cp)==null?void 0:oe.speed)+" |",1),e.createElementVNode("span",null,[u2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(ae=(le=l==null?void 0:l.extend)==null?void 0:le.cp)==null?void 0:ae.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[v2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(de=(ie=l==null?void 0:l.extend)==null?void 0:ie.cp)==null?void 0:de.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((Ee=(re=l==null?void 0:l.extend)==null?void 0:re.cp)==null?void 0:Ee.fo)+" |",1),e.createElementVNode("span",null,[eg,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[tg,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((he=(u=l==null?void 0:l.extend)==null?void 0:u.cp)==null?void 0:he.dgo)+" |",1),e.createElementVNode("span",null,[og,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[lg,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Under")),1)])])])])]),ag,e.createElementVNode("div",ng,[e.createElementVNode("div",sg,[cg,e.createElementVNode("div",ig,[e.createElementVNode("div",null,e.toDisplayString(l.allWx.time),1),dg]),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",rg,[((ye=l==null?void 0:l.timeConclusion)==null?void 0:ye.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",mg,"Time Gained")):((Ne=l==null?void 0:l.timeConclusion)==null?void 0:Ne.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",pg,"Time Lost")):(e.openBlock(),e.createElementBlock("div",hg,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",_g,e.toDisplayString(a.noGoodWxDay),1)),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Eg,[((pe=l==null?void 0:l.timeConclusion)==null?void 0:pe.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",yg,[Ng,e.createElementVNode("span",Vg,e.toDisplayString((ge=l==null?void 0:l.timeConclusion)==null?void 0:ge.timeGain),1),fg])):((xe=l==null?void 0:l.timeConclusion)==null?void 0:xe.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",gg,[xg,e.createElementVNode("span",bg,e.toDisplayString((be=l==null?void 0:l.timeConclusion)==null?void 0:be.timeLost),1),kg])):(e.openBlock(),e.createElementBlock("div",Dg,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Cg,[Sg,e.createElementVNode("div",Bg,[e.createElementVNode("div",null,e.toDisplayString(l.allWx.sumFoCons),1),wg]),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Tg,[((De=(ke=l==null?void 0:l.fuelConclusion)==null?void 0:ke.fo)==null?void 0:De.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Ag,"FO Saving")):((Fe=(Ce=l==null?void 0:l.fuelConclusion)==null?void 0:Ce.fo)==null?void 0:Fe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Fg,"FO Over-consumption")):(e.openBlock(),e.createElementBlock("div",Og,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",Pg,e.toDisplayString(a.noGoodWxDay),1)),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Lg,[((Pe=(Oe=l==null?void 0:l.fuelConclusion)==null?void 0:Oe.fo)==null?void 0:Pe.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",$g,[Wg,e.createElementVNode("span",Hg,e.toDisplayString(($e=(Le=l==null?void 0:l.fuelConclusion)==null?void 0:Le.fo)==null?void 0:$e.saving),1),Mg])):((He=(We=l==null?void 0:l.fuelConclusion)==null?void 0:We.fo)==null?void 0:He.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Ig,[Gg,e.createElementVNode("span",Rg,e.toDisplayString((Ve=(Me=l==null?void 0:l.fuelConclusion)==null?void 0:Me.fo)==null?void 0:Ve.overCons),1),zg])):(e.openBlock(),e.createElementBlock("div",Ug,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Yg,[Zg,e.createElementVNode("div",Qg,[e.createElementVNode("div",null,e.toDisplayString(l.allWx.sumDgoCons),1),Jg]),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",jg,[((je=(Je=l==null?void 0:l.fuelConclusion)==null?void 0:Je.dgo)==null?void 0:je.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Kg,"DO/GO Saving")):((T=(Ke=l==null?void 0:l.fuelConclusion)==null?void 0:Ke.dgo)==null?void 0:T.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Xg,"DO/GO Over-consumption")):(e.openBlock(),e.createElementBlock("div",qg,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",ug,e.toDisplayString(a.noGoodWxDay),1)),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",vg,[((Ue=(Se=l==null?void 0:l.fuelConclusion)==null?void 0:Se.dgo)==null?void 0:Ue.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",ex,[tx,e.createElementVNode("span",ox,e.toDisplayString((qe=(Xe=l==null?void 0:l.fuelConclusion)==null?void 0:Xe.dgo)==null?void 0:qe.saving),1),lx])):((ve=(ue=l==null?void 0:l.fuelConclusion)==null?void 0:ue.dgo)==null?void 0:ve.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",ax,[nx,e.createElementVNode("span",sx,e.toDisplayString((m=(et=l==null?void 0:l.fuelConclusion)==null?void 0:et.dgo)==null?void 0:m.overCons),1),cx])):(e.openBlock(),e.createElementBlock("div",ix,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),dx]),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((se=t.report)==null?void 0:se.remarks)&&!a.exclusion.length?"section remark-section print-hidden":"section remark-section")},[rx,a.exclusion.length?(e.openBlock(),e.createElementBlock("div",mx,[px,hx,e.createElementVNode("div",_x,[e.createElementVNode("table",Ex,[yx,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.exclusion,(l,q)=>(e.openBlock(),e.createElementBlock("tr",{key:q},[e.createElementVNode("td",null,e.toDisplayString(q+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((ce=t.report)==null?void 0:ce.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,Nx))],2)],2),e.createElementVNode("div",Vx,[fx,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.report.segments,(l,q)=>{var ee,te,oe,le,ae,ie,de,re,Ee,u,he,ye,Ne,pe,ge,xe,be,ke,De,Ce,Fe,Oe,Pe,Le,$e,We,He,Me,Ve,Je,je,Ke,T,Se,Ue,Xe,qe,ue,ve,et,m,W,Be,Ge,Ye,_e,Ze,tt,ot,rt,mt,pt,ht,yt,Nt,Vt,ft,gt,xt,bt,kt,Dt,Ct,St,Bt,wt,Tt,At,Ft,Ot,Pt,Lt,$t,co,io,ro,mo,po,ho,_o,Eo,yo,No,Vo,fo,go,xo,bo,ko,Do,S,Ie,lt,at,_t,Wt,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,jt,Kt,Xt,qt,ut,vt,eo,to,oo,lo,ao,no,Co,So,Bo,wo,To,Ao,Fo,Oo,Po,Lo,$o,Wo,Ho,Mo,Io,Go,Ro,zo,Uo,Yo,Zo,Qo,Ko,Xo,qo,uo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl,ml,ct,hl,_l,El,yl,Nl,Vl,fl,gl,xl,bl,kl,Dl,Cl,Sl,Bl,wl,Tl,Al,Fl,Ol,Pl,Ll,$l,Wl,Hl,Ml,Il,Gl,Rl,zl,Ul,Yl,Zl,Ql,Jl,jl,Kl,Xl,ql,ul,vl,ea,ta,oa,la,aa,na,sa,ca,ia,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ga,xa,Q,so,ba,ka,Da,Ca,Sa,Ba,wa,Ta,Qe,Pa,La,$a,Wa,K,Jo,Ha,Ma,Ia,Ga,Ra,za,Ua,Ya,it,va,en,tn,on,ln,an,nn,sn,cn,dn,rn,mn,pn,hn,_n,En,yn,Nn,Vn,fn,gn,xn,bn,kn,Dn,Cn,Sn,Bn,wn,v,Za,Qa,Tn,An,Fn,On,Pn,Ln,$n,Wn,Hn,Mn,In,Gn,Rn,zn,Un,Yn,Zn,Qn,Jn,jn,Kn,Xn,qn,un,vn,es,ts,os,ls,as,ns,ss,cs,is,ds,rs,ms,ps,hs,_s,Es,ys,Ns,Vs,fs,gs,xs,bs,ks,Ds,Cs,Ss,Bs,ws,Ts,As,nc,sc,cc,ic,dc,rc,mc,pc,hc,_c,Ec,yc,Nc,Vc,fc,gc,xc,bc,kc,Dc,Cc,Sc,Bc;return e.openBlock(),e.createElementBlock("div",{key:q,class:"segment-block"},[e.createElementVNode("div",gx,"Voyage Analysis Seg. "+e.toDisplayString(q+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ee=l==null?void 0:l.extend)==null?void 0:ee.segTimes,(Re,cj)=>{var wc,Tc,Ac,Fc,Oc,Pc,Lc,$c,Wc,Hc;return e.openBlock(),e.createElementBlock("div",{key:cj,class:"segment-row flex-space"},[e.createElementVNode("div",xx,[(wc=Re==null?void 0:Re.departure)!=null&&wc.portName?(e.openBlock(),e.createElementBlock("span",bx,e.toDisplayString((Tc=Re==null?void 0:Re.departure)==null?void 0:Tc.portName),1)):(e.openBlock(),e.createElementBlock("span",kx,e.toDisplayString(n.computeLat((Ac=Re==null?void 0:Re.departure)==null?void 0:Ac.lat).pretty)+", "+e.toDisplayString(n.computeLng((Fc=Re==null?void 0:Re.departure)==null?void 0:Fc.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Oc=Re==null?void 0:Re.departure)==null?void 0:Oc.utcTime))+")",1)]),Dx,e.createElementVNode("div",Cx,[(Pc=Re==null?void 0:Re.arrival)!=null&&Pc.portName?(e.openBlock(),e.createElementBlock("span",Sx,e.toDisplayString((Lc=Re==null?void 0:Re.arrival)==null?void 0:Lc.portName),1)):(e.openBlock(),e.createElementBlock("span",Bx,e.toDisplayString(n.computeLat(($c=Re==null?void 0:Re.arrival)==null?void 0:$c.lat).pretty)+", "+e.toDisplayString(n.computeLng((Wc=Re==null?void 0:Re.arrival)==null?void 0:Wc.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Hc=Re==null?void 0:Re.arrival)==null?void 0:Hc.utcTime))+")",1)])])}),128)),wx,e.createElementVNode("div",Tx,[e.createElementVNode("table",null,[Ax,Fx,e.createElementVNode("tr",null,[Ox,e.createElementVNode("td",Px,e.toDisplayString((oe=(te=l==null?void 0:l.goodWx)==null?void 0:te.outEca)==null?void 0:oe.distance),1),e.createElementVNode("td",Lx,e.toDisplayString((ae=(le=l==null?void 0:l.goodWx)==null?void 0:le.inEca)==null?void 0:ae.distance),1),e.createElementVNode("td",null,e.toDisplayString((de=(ie=l==null?void 0:l.allWx)==null?void 0:ie.outEca)==null?void 0:de.distance),1),e.createElementVNode("td",null,e.toDisplayString((Ee=(re=l==null?void 0:l.allWx)==null?void 0:re.inEca)==null?void 0:Ee.distance),1)]),e.createElementVNode("tr",null,[$x,e.createElementVNode("td",Wx,e.toDisplayString((he=(u=l==null?void 0:l.goodWx)==null?void 0:u.outEca)==null?void 0:he.time),1),e.createElementVNode("td",Hx,e.toDisplayString((Ne=(ye=l==null?void 0:l.goodWx)==null?void 0:ye.inEca)==null?void 0:Ne.time),1),e.createElementVNode("td",null,e.toDisplayString((ge=(pe=l==null?void 0:l.allWx)==null?void 0:pe.outEca)==null?void 0:ge.time),1),e.createElementVNode("td",null,e.toDisplayString((be=(xe=l==null?void 0:l.allWx)==null?void 0:xe.inEca)==null?void 0:be.time),1)]),e.createElementVNode("tr",null,[Mx,e.createElementVNode("td",Ix,e.toDisplayString(((De=(ke=l==null?void 0:l.goodWx)==null?void 0:ke.outEca)==null?void 0:De.avgSpd)||"--"),1),e.createElementVNode("td",Gx,e.toDisplayString(((Fe=(Ce=l==null?void 0:l.goodWx)==null?void 0:Ce.inEca)==null?void 0:Fe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Pe=(Oe=l==null?void 0:l.allWx)==null?void 0:Oe.outEca)==null?void 0:Pe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString((($e=(Le=l==null?void 0:l.allWx)==null?void 0:Le.inEca)==null?void 0:$e.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[Rx,e.createElementVNode("td",zx,e.toDisplayString(((He=(We=l==null?void 0:l.goodWx)==null?void 0:We.outEca)==null?void 0:He.sumFoCons)||"--"),1),e.createElementVNode("td",Ux,e.toDisplayString(((Ve=(Me=l==null?void 0:l.goodWx)==null?void 0:Me.inEca)==null?void 0:Ve.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((je=(Je=l==null?void 0:l.allWx)==null?void 0:Je.outEca)==null?void 0:je.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((T=(Ke=l==null?void 0:l.allWx)==null?void 0:Ke.inEca)==null?void 0:T.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Yx,e.createElementVNode("td",Zx,e.toDisplayString(((Ue=(Se=l==null?void 0:l.goodWx)==null?void 0:Se.outEca)==null?void 0:Ue.avgFoCons)||"--"),1),e.createElementVNode("td",Qx,e.toDisplayString(((qe=(Xe=l==null?void 0:l.goodWx)==null?void 0:Xe.inEca)==null?void 0:qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ve=(ue=l==null?void 0:l.allWx)==null?void 0:ue.outEca)==null?void 0:ve.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(et=l==null?void 0:l.allWx)==null?void 0:et.inEca)==null?void 0:m.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Jx,e.createElementVNode("td",jx,e.toDisplayString(((Be=(W=l==null?void 0:l.goodWx)==null?void 0:W.outEca)==null?void 0:Be.sumDgoCons)||"--"),1),e.createElementVNode("td",Kx,e.toDisplayString(((Ye=(Ge=l==null?void 0:l.goodWx)==null?void 0:Ge.inEca)==null?void 0:Ye.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ze=(_e=l==null?void 0:l.allWx)==null?void 0:_e.outEca)==null?void 0:Ze.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ot=(tt=l==null?void 0:l.allWx)==null?void 0:tt.inEca)==null?void 0:ot.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[Xx,e.createElementVNode("td",qx,e.toDisplayString(((mt=(rt=l==null?void 0:l.goodWx)==null?void 0:rt.outEca)==null?void 0:mt.avgDgoCons)||"--"),1),e.createElementVNode("td",ux,e.toDisplayString(((ht=(pt=l==null?void 0:l.goodWx)==null?void 0:pt.inEca)==null?void 0:ht.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Nt=(yt=l==null?void 0:l.allWx)==null?void 0:yt.outEca)==null?void 0:Nt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ft=(Vt=l==null?void 0:l.allWx)==null?void 0:Vt.inEca)==null?void 0:ft.avgDgoCons)||"--"),1)])])]),(gt=a.exclusion[q])!=null&&gt.time?(e.openBlock(),e.createElementBlock("div",vx,"*The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel.")):e.createCommentVNode("",!0),(xt=l==null?void 0:l.goodWx)!=null&&xt.distance?(e.openBlock(),e.createElementBlock("div",eb,[e.createElementVNode("div",tb,[ob,e.createElementVNode("div",lb,[(kt=(bt=t.report)==null?void 0:bt.weather)!=null&&kt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Lt=(Pt=t.report)==null?void 0:Pt.weather)!=null&&Lt.disableWxFactor&&((co=($t=t.report)==null?void 0:$t.weather)!=null&&co.disableCFactor)?(e.openBlock(),e.createElementBlock("span",ib,e.toDisplayString((io=l==null?void 0:l.goodWx)==null?void 0:io.pfmSpd)+" (kts)",1)):(mo=(ro=t.report)==null?void 0:ro.weather)!=null&&mo.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((po=l==null?void 0:l.goodWx)==null?void 0:po.avgSpd),1),db,e.createElementVNode("span",null,e.toDisplayString(((ho=l==null?void 0:l.goodWx)==null?void 0:ho.avgCf)>0?(_o=l==null?void 0:l.goodWx)==null?void 0:_o.avgCf:`(${(Eo=l==null?void 0:l.goodWx)==null?void 0:Eo.avgCf})`),1),rb,e.createElementVNode("span",mb,e.toDisplayString((yo=l==null?void 0:l.goodWx)==null?void 0:yo.pfmSpd)+" (kts)",1)],64)):(Vo=(No=t.report)==null?void 0:No.weather)!=null&&Vo.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((fo=l==null?void 0:l.goodWx)==null?void 0:fo.avgSpd),1),pb,e.createElementVNode("span",null,e.toDisplayString(((go=l==null?void 0:l.goodWx)==null?void 0:go.avgWf)>0?(xo=l==null?void 0:l.goodWx)==null?void 0:xo.avgWf:`(${(bo=l==null?void 0:l.goodWx)==null?void 0:bo.avgWf})`),1),hb,e.createElementVNode("span",_b,e.toDisplayString((ko=l==null?void 0:l.goodWx)==null?void 0:ko.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString((Do=l==null?void 0:l.goodWx)==null?void 0:Do.avgSpd),1),Eb,e.createElementVNode("span",null,e.toDisplayString(((S=l==null?void 0:l.goodWx)==null?void 0:S.avgWf)>0?(Ie=l==null?void 0:l.goodWx)==null?void 0:Ie.avgWf:`(${(lt=l==null?void 0:l.goodWx)==null?void 0:lt.avgWf})`),1),yb,e.createElementVNode("span",null,e.toDisplayString(((at=l==null?void 0:l.goodWx)==null?void 0:at.avgCf)>0?(_t=l==null?void 0:l.goodWx)==null?void 0:_t.avgCf:`(${(Wt=l==null?void 0:l.goodWx)==null?void 0:Wt.avgCf})`),1),Nb,e.createElementVNode("span",Vb,e.toDisplayString((Ht=l==null?void 0:l.goodWx)==null?void 0:Ht.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Ct=(Dt=t.report)==null?void 0:Dt.weather)!=null&&Ct.favorableCur&&((St=l==null?void 0:l.goodWx)==null?void 0:St.avgCf)>0?(e.openBlock(),e.createElementBlock("span",cb,e.toDisplayString((Ot=l==null?void 0:l.goodWx)==null?void 0:Ot.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((Bt=l==null?void 0:l.goodWx)==null?void 0:Bt.avgSpd),1),ab,e.createElementVNode("span",null,e.toDisplayString(((wt=l==null?void 0:l.goodWx)==null?void 0:wt.avgCf)>0?(Tt=l==null?void 0:l.goodWx)==null?void 0:Tt.avgCf:`(${(At=l==null?void 0:l.goodWx)==null?void 0:At.avgCf})`),1),nb,e.createElementVNode("span",sb,e.toDisplayString((Ft=l==null?void 0:l.goodWx)==null?void 0:Ft.pfmSpd)+" (kts)",1)],64))],64)),((Mt=l==null?void 0:l.goodWx)==null?void 0:Mt.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",fb,"(Under-performance)")):e.createCommentVNode("",!0),((It=l==null?void 0:l.goodWx)==null?void 0:It.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",gb,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",xb,[bb,e.createElementVNode("div",kb,[(Rt=(Gt=t.report)==null?void 0:Gt.weather)!=null&&Rt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Qt=(Zt=t.report)==null?void 0:Zt.weather)!=null&&Qt.disableWxFactor&&((jt=(Jt=t.report)==null?void 0:Jt.weather)!=null&&jt.disableCFactor)?(e.openBlock(),e.createElementBlock("label",Tb,"GW Average Speed")):(Xt=(Kt=t.report)==null?void 0:Kt.weather)!=null&&Xt.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Ab,Fb,Ob],64)):(ut=(qt=t.report)==null?void 0:qt.weather)!=null&&ut.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[Pb,Lb,$b],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[Wb,Hb,Mb,Ib,Gb],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Ut=(zt=t.report)==null?void 0:zt.weather)!=null&&Ut.favorableCur&&((Yt=l==null?void 0:l.goodWx)==null?void 0:Yt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Bb,wb],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Db,Cb,Sb],64))],64))])])])):(e.openBlock(),e.createElementBlock("div",Rb,[e.createElementVNode("div",zb,[Ub,e.createElementVNode("div",Yb,[(eo=(vt=t.report)==null?void 0:vt.weather)!=null&&eo.favorableCur&&((to=l==null?void 0:l.allWx)==null?void 0:to.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((To=l==null?void 0:l.allWx)==null?void 0:To.avgSpd),1),Kb,e.createElementVNode("span",null,e.toDisplayString(((Ao=l==null?void 0:l.allWx)==null?void 0:Ao.avgWf)>0?(Fo=l==null?void 0:l.allWx)==null?void 0:Fo.avgWf:`(${(Oo=l==null?void 0:l.allWx)==null?void 0:Oo.avgWf})`),1),Xb,e.createElementVNode("span",qb,e.toDisplayString((Po=l==null?void 0:l.allWx)==null?void 0:Po.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((oo=l==null?void 0:l.allWx)==null?void 0:oo.avgSpd),1),Zb,e.createElementVNode("span",null,e.toDisplayString(((lo=l==null?void 0:l.allWx)==null?void 0:lo.avgCf)>0?(ao=l==null?void 0:l.allWx)==null?void 0:ao.avgCf:`(${(no=l==null?void 0:l.allWx)==null?void 0:no.avgCf})`),1),Qb,e.createElementVNode("span",null,e.toDisplayString(((Co=l==null?void 0:l.allWx)==null?void 0:Co.avgWf)>0?(So=l==null?void 0:l.allWx)==null?void 0:So.avgWf:`(${(Bo=l==null?void 0:l.allWx)==null?void 0:Bo.avgWf})`),1),Jb,e.createElementVNode("span",jb,e.toDisplayString((wo=l==null?void 0:l.allWx)==null?void 0:wo.pfmSpd)+" (kts)",1)],64)),((Lo=l==null?void 0:l.allWx)==null?void 0:Lo.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",ub,"(Under-performance)")):e.createCommentVNode("",!0),(($o=l==null?void 0:l.allWx)==null?void 0:$o.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",vb,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",ek,[tk,e.createElementVNode("div",ok,[(Ho=(Wo=t.report)==null?void 0:Wo.weather)!=null&&Ho.favorableCur&&((Mo=l==null?void 0:l.allWx)==null?void 0:Mo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[ik,dk,rk,mk],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[lk,ak,nk,sk,ck],64))])])])),pk,e.createElementVNode("div",hk,[e.createElementVNode("div",_k,[Ek,e.createElementVNode("div",yk,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(q+1)+" Time Analysis",1),(Go=(Io=t.report)==null?void 0:Io.weather)!=null&&Go.noExtrapolation?(e.openBlock(),e.createElementBlock("span",Nk,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Vk,[e.createElementVNode("div",fk,[gk,e.createElementVNode("div",xk,[e.createElementVNode("div",bk,[e.createElementVNode("div",null,e.toDisplayString((zo=(Ro=t.report)==null?void 0:Ro.weather)!=null&&zo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),kk,Dk]),Ck])]),e.createElementVNode("div",Sk,[e.createElementVNode("div",Bk,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(Yo=(Uo=l==null?void 0:l.extend)==null?void 0:Uo.cp)==null?void 0:Yo.speed,"Under"))+"kts)",1),wk]),e.createElementVNode("div",Tk,[e.createElementVNode("div",Ak,[e.createElementVNode("div",null,e.toDisplayString((Qo=(Zo=t.report)==null?void 0:Zo.weather)!=null&&Qo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Fk,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(Xo=(Ko=l==null?void 0:l.extend)==null?void 0:Ko.cp)==null?void 0:Xo.speed,"Under"))+"kts",1)]),Ok])]),e.createElementVNode("div",Pk,[e.createElementVNode("div",Lk,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(uo=(qo=l==null?void 0:l.extend)==null?void 0:qo.cp)==null?void 0:uo.speed,"Over"))+"kts)",1),$k]),e.createElementVNode("div",Wk,[e.createElementVNode("div",Hk,[e.createElementVNode("div",null,e.toDisplayString((el=(vo=t.report)==null?void 0:vo.weather)!=null&&el.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Mk,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(ol=(tl=l==null?void 0:l.extend)==null?void 0:tl.cp)==null?void 0:ol.speed,"Over"))+"kts",1)]),Ik])]),Gk]),e.createElementVNode("div",Rk,[e.createElementVNode("div",zk,[Uk,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,(al=(ll=l==null?void 0:l.extend)==null?void 0:ll.cp)==null?void 0:al.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",Yk,[Zk,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,(sl=(nl=l==null?void 0:l.extend)==null?void 0:nl.cp)==null?void 0:sl.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",Qk,[Jk,e.createElementVNode("div",null," Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(il=(cl=l==null?void 0:l.extend)==null?void 0:cl.cp)==null?void 0:il.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,(rl=(dl=l==null?void 0:l.extend)==null?void 0:dl.cp)==null?void 0:rl.speed,"Under"))+" kts) ",1)])]),(ml=l==null?void 0:l.goodWx)!=null&&ml.distance?(e.openBlock(),e.createElementBlock("div",jk,[e.createElementVNode("div",Kk,[Xk,e.createElementVNode("div",qk,[e.createElementVNode("div",uk,[e.createElementVNode("div",null,e.toDisplayString((hl=(ct=t.report)==null?void 0:ct.weather)!=null&&hl.noExtrapolation?(_l=l==null?void 0:l.goodWx)==null?void 0:_l.distance:(El=l==null?void 0:l.allWx)==null?void 0:El.distance),1),vk,e.createElementVNode("div",null,e.toDisplayString((yl=l==null?void 0:l.goodWx)==null?void 0:yl.pfmSpd),1)]),e3,e.createElementVNode("div",null,e.toDisplayString((Nl=l==null?void 0:l.timeConclusion)==null?void 0:Nl.timeAtPfmSpd)+" (hrs)",1),t3])]),e.createElementVNode("div",o3,[e.createElementVNode("div",l3,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(fl=(Vl=l==null?void 0:l.extend)==null?void 0:Vl.cp)==null?void 0:fl.speed,"Under"))+"kts)",1),a3]),e.createElementVNode("div",n3,[e.createElementVNode("div",s3,[e.createElementVNode("div",null,e.toDisplayString((xl=(gl=t.report)==null?void 0:gl.weather)!=null&&xl.noExtrapolation?(bl=l==null?void 0:l.goodWx)==null?void 0:bl.distance:(kl=l==null?void 0:l.allWx)==null?void 0:kl.distance),1),c3,e.createElementVNode("div",null,e.toDisplayString((Dl=l==null?void 0:l.timeConclusion)==null?void 0:Dl.minusAbtSpd),1)]),i3,e.createElementVNode("div",null,e.toDisplayString((Cl=l==null?void 0:l.timeConclusion)==null?void 0:Cl.timeAtMinusAbtSpd)+" (hrs)",1),d3])]),e.createElementVNode("div",r3,[e.createElementVNode("div",m3,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(Bl=(Sl=l==null?void 0:l.extend)==null?void 0:Sl.cp)==null?void 0:Bl.speed,"Over"))+"kts)",1),p3]),e.createElementVNode("div",h3,[e.createElementVNode("div",_3,[e.createElementVNode("div",null,e.toDisplayString((Tl=(wl=t.report)==null?void 0:wl.weather)!=null&&Tl.noExtrapolation?(Al=l==null?void 0:l.goodWx)==null?void 0:Al.distance:(Fl=l==null?void 0:l.allWx)==null?void 0:Fl.distance),1),E3,e.createElementVNode("div",null,e.toDisplayString((Ol=l==null?void 0:l.timeConclusion)==null?void 0:Ol.plusAbtSpd),1)]),y3,e.createElementVNode("div",null,e.toDisplayString((Pl=l==null?void 0:l.timeConclusion)==null?void 0:Pl.timeAtPlusAbtSpd)+" (hrs)",1),N3])]),e.createElementVNode("div",V3,[((Ll=l==null?void 0:l.timeConclusion)==null?void 0:Ll.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",f3,[g3,x3,b3,k3,e.createElementVNode("div",null,e.toDisplayString(($l=l==null?void 0:l.timeConclusion)==null?void 0:$l.timeAtPfmSpd),1),D3,e.createElementVNode("div",null,e.toDisplayString((Wl=l==null?void 0:l.timeConclusion)==null?void 0:Wl.timeAtMinusAbtSpd),1),C3,e.createElementVNode("div",null,e.toDisplayString((Hl=l==null?void 0:l.timeConclusion)==null?void 0:Hl.timeLost)+" (hrs)",1)])):((Ml=l==null?void 0:l.timeConclusion)==null?void 0:Ml.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",S3,[B3,w3,T3,A3,e.createElementVNode("div",null,e.toDisplayString((Il=l==null?void 0:l.timeConclusion)==null?void 0:Il.timeAtPlusAbtSpd),1),F3,e.createElementVNode("div",null,e.toDisplayString((Gl=l==null?void 0:l.timeConclusion)==null?void 0:Gl.timeAtPfmSpd),1),O3,e.createElementVNode("div",null,e.toDisplayString((Rl=l==null?void 0:l.timeConclusion)==null?void 0:Rl.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((zl=l==null?void 0:l.timeConclusion)==null?void 0:zl.conclusionStatus)==="Lost"?"flex-center lost":((Ul=l==null?void 0:l.timeConclusion)==null?void 0:Ul.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[P3,e.createElementVNode("div",null,e.toDisplayString(((Yl=l==null?void 0:l.timeConclusion)==null?void 0:Yl.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",L3,e.toDisplayString(a.noGoodWxDay),1))]),$3,e.createElementVNode("div",W3,[e.createElementVNode("div",H3,[M3,e.createElementVNode("div",I3,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(q+1)+" Consumption Analysis",1),(Ql=(Zl=t.report)==null?void 0:Zl.weather)!=null&&Ql.noExtrapolation?(e.openBlock(),e.createElementBlock("span",G3,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",R3,[e.createElementVNode("div",z3,[U3,e.createElementVNode("div",Y3,[e.createElementVNode("div",Z3,[e.createElementVNode("div",null,e.toDisplayString((jl=(Jl=t.report)==null?void 0:Jl.weather)!=null&&jl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Q3,J3]),j3,K3,X3])]),e.createElementVNode("div",q3,[u3,((Xl=(Kl=l.extend)==null?void 0:Kl.cp)==null?void 0:Xl.dgo)>0?(e.openBlock(),e.createElementBlock("div",v3," * For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",eD,[tD,e.createElementVNode("div",oD,[e.createElementVNode("div",lD,[e.createElementVNode("div",null,e.toDisplayString((ul=(ql=t.report)==null?void 0:ql.weather)!=null&&ul.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),aD,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(ea=(vl=l==null?void 0:l.extend)==null?void 0:vl.cp)==null?void 0:ea.speed,"Under"))+"kts",1)]),nD,sD,cD])]),e.createElementVNode("div",iD,[dD,e.createElementVNode("div",rD,[e.createElementVNode("div",mD,[e.createElementVNode("div",null,e.toDisplayString((oa=(ta=t.report)==null?void 0:ta.weather)!=null&&oa.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),pD,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(aa=(la=l==null?void 0:l.extend)==null?void 0:la.cp)==null?void 0:aa.speed,"Under"))+"kts",1)]),hD,_D,ED])]),yD,((sa=(na=l.extend)==null?void 0:na.cp)==null?void 0:sa.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",ND,[VD,e.createElementVNode("div",fD,[e.createElementVNode("div",gD,[xD,bD,e.createElementVNode("div",null,e.toDisplayString((ia=(ca=t.report)==null?void 0:ca.weather)!=null&&ia.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",kD,[DD,e.createElementVNode("div",CD,[e.createElementVNode("div",SD,[BD,wD,e.createElementVNode("div",null,e.toDisplayString((ra=(da=t.report)==null?void 0:da.weather)!=null&&ra.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),TD,e.createElementVNode("div",AD,[FD,e.createElementVNode("div",OD,"Seg. "+e.toDisplayString(q+1)+" Fuel Oil",1)]),(ma=l==null?void 0:l.goodWx)!=null&&ma.distance?(e.openBlock(),e.createElementBlock("div",PD,[((ha=(pa=l==null?void 0:l.goodWx)==null?void 0:pa.inEca)==null?void 0:ha.distance)>0?(e.openBlock(),e.createElementBlock("div",LD,[$D,e.createElementVNode("div",WD,[e.createElementVNode("div",HD,[e.createElementVNode("div",null,e.toDisplayString((Ea=(_a=l==null?void 0:l.goodWx)==null?void 0:_a.inEca)==null?void 0:Ea.sumDgoCons),1)]),MD,e.createElementVNode("div",ID,[e.createElementVNode("div",null,e.toDisplayString((Na=(ya=l==null?void 0:l.extend)==null?void 0:ya.cp)==null?void 0:Na.dgo),1),GD,RD]),zD,e.createElementVNode("div",null,e.toDisplayString((fa=(Va=l==null?void 0:l.goodWx)==null?void 0:Va.inEca)==null?void 0:fa.time),1),UD,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",YD,[ZD,e.createElementVNode("div",QD,[e.createElementVNode("div",JD,[e.createElementVNode("div",null,e.toDisplayString((so=(Q=t.report)==null?void 0:Q.weather)!=null&&so.noExtrapolation?(ba=l==null?void 0:l.goodWx)==null?void 0:ba.distance:(ka=l==null?void 0:l.allWx)==null?void 0:ka.distance),1),jD,e.createElementVNode("div",null,e.toDisplayString((Da=l==null?void 0:l.goodWx)==null?void 0:Da.pfmSpd),1)]),KD,e.createElementVNode("div",XD,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Ca=l==null?void 0:l.goodWx)==null?void 0:Ca.sumFoCons),1),((Ba=(Sa=l==null?void 0:l.goodWx)==null?void 0:Sa.inEca)==null?void 0:Ba.distance)>0?(e.openBlock(),e.createElementBlock("span",qD,[uD,e.createElementVNode("span",null,e.toDisplayString((Ta=(wa=l==null?void 0:l.fuelConclusion)==null?void 0:wa.fo)==null?void 0:Ta.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),vD,e.createElementVNode("div",null,e.toDisplayString((Qe=l==null?void 0:l.goodWx)==null?void 0:Qe.time),1)]),eC,e.createElementVNode("div",null,e.toDisplayString((La=(Pa=l.fuelConclusion)==null?void 0:Pa.fo)==null?void 0:La.entireCons)+" (mt)",1),tC])]),e.createElementVNode("div",oC,[lC,e.createElementVNode("div",aC,[e.createElementVNode("div",nC,[e.createElementVNode("div",null,e.toDisplayString((Wa=($a=t.report)==null?void 0:$a.weather)!=null&&Wa.noExtrapolation?(K=l==null?void 0:l.goodWx)==null?void 0:K.distance:(Jo=l==null?void 0:l.allWx)==null?void 0:Jo.distance),1),sC,e.createElementVNode("div",null,e.toDisplayString((Ha=l==null?void 0:l.timeConclusion)==null?void 0:Ha.minusAbtSpd),1)]),cC,e.createElementVNode("div",iC,[e.createElementVNode("div",null,e.toDisplayString((Ia=(Ma=l==null?void 0:l.fuelConclusion)==null?void 0:Ma.fo)==null?void 0:Ia.overTolerance),1),dC,rC]),mC,e.createElementVNode("div",null,e.toDisplayString((Ra=(Ga=l.fuelConclusion)==null?void 0:Ga.fo)==null?void 0:Ra.maxCons)+" (mt)",1),pC])]),e.createElementVNode("div",hC,[_C,e.createElementVNode("div",EC,[e.createElementVNode("div",yC,[e.createElementVNode("div",null,e.toDisplayString((Ua=(za=t.report)==null?void 0:za.weather)!=null&&Ua.noExtrapolation?(Ya=l==null?void 0:l.goodWx)==null?void 0:Ya.distance:(it=l==null?void 0:l.allWx)==null?void 0:it.distance),1),NC,e.createElementVNode("div",null,e.toDisplayString((va=l==null?void 0:l.timeConclusion)==null?void 0:va.minusAbtSpd),1)]),VC,e.createElementVNode("div",fC,[e.createElementVNode("div",null,e.toDisplayString((tn=(en=l==null?void 0:l.fuelConclusion)==null?void 0:en.fo)==null?void 0:tn.underTolerance),1),gC,xC]),bC,e.createElementVNode("div",null,e.toDisplayString((ln=(on=l.fuelConclusion)==null?void 0:on.fo)==null?void 0:ln.minCons)+" (mt)",1),kC])]),e.createElementVNode("div",DC,[((nn=(an=l==null?void 0:l.fuelConclusion)==null?void 0:an.fo)==null?void 0:nn.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",CC,[SC,BC,wC,TC,e.createElementVNode("div",null,e.toDisplayString((cn=(sn=l==null?void 0:l.fuelConclusion)==null?void 0:sn.fo)==null?void 0:cn.entireCons),1),AC,e.createElementVNode("div",null,e.toDisplayString((rn=(dn=l==null?void 0:l.fuelConclusion)==null?void 0:dn.fo)==null?void 0:rn.maxCons),1),FC,e.createElementVNode("div",null,e.toDisplayString((pn=(mn=l==null?void 0:l.fuelConclusion)==null?void 0:mn.fo)==null?void 0:pn.overCons),1)]),(_n=(hn=l==null?void 0:l.goodWx)==null?void 0:hn.inEca)!=null&&_n.distance?(e.openBlock(),e.createElementBlock("div",OC,[PC,LC,e.createElementVNode("div",$C,[e.createElementVNode("div",null,e.toDisplayString((yn=(En=l==null?void 0:l.goodWx)==null?void 0:En.inEca)==null?void 0:yn.distance)+" * "+e.toDisplayString((Vn=(Nn=l==null?void 0:l.fuelConclusion)==null?void 0:Nn.fo)==null?void 0:Vn.overCons),1),WC,e.createElementVNode("div",null,e.toDisplayString((gn=(fn=t.report)==null?void 0:fn.weather)!=null&&gn.noExtrapolation?(xn=l==null?void 0:l.goodWx)==null?void 0:xn.distance:(bn=l==null?void 0:l.allWx)==null?void 0:bn.distance),1)]),HC,e.createElementVNode("div",null,e.toDisplayString((Dn=(kn=l==null?void 0:l.fuelConclusion)==null?void 0:kn.fo)==null?void 0:Dn.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((Sn=(Cn=l==null?void 0:l.fuelConclusion)==null?void 0:Cn.fo)==null?void 0:Sn.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",MC,[IC,GC,RC,zC,e.createElementVNode("div",null,e.toDisplayString((wn=(Bn=l==null?void 0:l.fuelConclusion)==null?void 0:Bn.fo)==null?void 0:wn.minCons),1),UC,e.createElementVNode("div",null,e.toDisplayString((Za=(v=l==null?void 0:l.fuelConclusion)==null?void 0:v.fo)==null?void 0:Za.entireCons),1),YC,e.createElementVNode("div",null,e.toDisplayString((Tn=(Qa=l==null?void 0:l.fuelConclusion)==null?void 0:Qa.fo)==null?void 0:Tn.saving)+" (mt)",1)]),(Fn=(An=l==null?void 0:l.goodWx)==null?void 0:An.inEca)!=null&&Fn.distance?(e.openBlock(),e.createElementBlock("div",ZC,[QC,JC,e.createElementVNode("div",jC,[e.createElementVNode("div",null,e.toDisplayString((Pn=(On=t.report)==null?void 0:On.weather)!=null&&Pn.noExtrapolation?($n=(Ln=l==null?void 0:l.goodWx)==null?void 0:Ln.inEca)==null?void 0:$n.distance:(Hn=(Wn=l==null?void 0:l.allWx)==null?void 0:Wn.inEca)==null?void 0:Hn.distance)+" * "+e.toDisplayString((In=(Mn=l==null?void 0:l.fuelConclusion)==null?void 0:Mn.fo)==null?void 0:In.saving),1),KC,e.createElementVNode("div",null,e.toDisplayString((Rn=(Gn=t.report)==null?void 0:Gn.weather)!=null&&Rn.noExtrapolation?(zn=l==null?void 0:l.goodWx)==null?void 0:zn.distance:(Un=l==null?void 0:l.allWx)==null?void 0:Un.distance),1)]),XC,e.createElementVNode("div",null,e.toDisplayString((Zn=(Yn=l==null?void 0:l.fuelConclusion)==null?void 0:Yn.fo)==null?void 0:Zn.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Jn=(Qn=l==null?void 0:l.fuelConclusion)==null?void 0:Qn.fo)==null?void 0:Jn.conclusionStatus)==="Over"?"flex-center lost":((Kn=(jn=l==null?void 0:l.fuelConclusion)==null?void 0:jn.fo)==null?void 0:Kn.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[qC,e.createElementVNode("div",null,e.toDisplayString(((qn=(Xn=l==null?void 0:l.fuelConclusion)==null?void 0:Xn.fo)==null?void 0:qn.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",uC,e.toDisplayString(a.noGoodWxDay),1)),((vn=(un=l==null?void 0:l.extend)==null?void 0:un.cp)==null?void 0:vn.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",vC,[eS,e.createElementVNode("div",tS,"Seg. "+e.toDisplayString(q+1)+" Diesel/Gas Oil",1)]),(es=l==null?void 0:l.goodWx)!=null&&es.distance?(e.openBlock(),e.createElementBlock("div",oS,[e.createElementVNode("div",lS,[aS,e.createElementVNode("div",nS,[e.createElementVNode("div",sS,[e.createElementVNode("div",null,e.toDisplayString((os=(ts=t.report)==null?void 0:ts.weather)!=null&&os.noExtrapolation?(ls=l==null?void 0:l.goodWx)==null?void 0:ls.distance:(as=l==null?void 0:l.allWx)==null?void 0:as.distance),1),cS,e.createElementVNode("div",null,e.toDisplayString((ns=l==null?void 0:l.goodWx)==null?void 0:ns.pfmSpd),1)]),iS,e.createElementVNode("div",dS,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((ss=l==null?void 0:l.goodWx)==null?void 0:ss.sumDgoCons),1),((is=(cs=l==null?void 0:l.goodWx)==null?void 0:cs.inEca)==null?void 0:is.distance)>0?(e.openBlock(),e.createElementBlock("span",rS,[mS,e.createElementVNode("span",null,e.toDisplayString((rs=(ds=l==null?void 0:l.fuelConclusion)==null?void 0:ds.fo)==null?void 0:rs.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),pS,e.createElementVNode("div",null,e.toDisplayString((ms=l==null?void 0:l.goodWx)==null?void 0:ms.time),1)]),hS,e.createElementVNode("div",null,e.toDisplayString((hs=(ps=l.fuelConclusion)==null?void 0:ps.dgo)==null?void 0:hs.entireCons)+" (mt)",1),_S])]),e.createElementVNode("div",ES,[yS,e.createElementVNode("div",NS,[e.createElementVNode("div",VS,[e.createElementVNode("div",null,e.toDisplayString((Es=(_s=t.report)==null?void 0:_s.weather)!=null&&Es.noExtrapolation?(ys=l==null?void 0:l.goodWx)==null?void 0:ys.distance:(Ns=l==null?void 0:l.allWx)==null?void 0:Ns.distance),1),fS,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((gs=(fs=l==null?void 0:l.fuelConclusion)==null?void 0:fs.dgo)==null?void 0:gs.overTolerance),1),bS,kS]),DS,e.createElementVNode("div",null,e.toDisplayString((bs=(xs=l.fuelConclusion)==null?void 0:xs.dgo)==null?void 0:bs.maxCons)+" (mt)",1),CS])]),e.createElementVNode("div",SS,[BS,e.createElementVNode("div",wS,[e.createElementVNode("div",TS,[e.createElementVNode("div",null,e.toDisplayString((Ds=(ks=t.report)==null?void 0:ks.weather)!=null&&Ds.noExtrapolation?(Cs=l==null?void 0:l.goodWx)==null?void 0:Cs.distance:(Ss=l==null?void 0:l.allWx)==null?void 0:Ss.distance),1),AS,e.createElementVNode("div",null,e.toDisplayString((Bs=l==null?void 0:l.timeConclusion)==null?void 0:Bs.minusAbtSpd),1)]),FS,e.createElementVNode("div",OS,[e.createElementVNode("div",null,e.toDisplayString((Ts=(ws=l==null?void 0:l.fuelConclusion)==null?void 0:ws.dgo)==null?void 0:Ts.underTolerance),1),PS,LS]),$S,e.createElementVNode("div",null,e.toDisplayString((nc=(As=l.fuelConclusion)==null?void 0:As.dgo)==null?void 0:nc.minCons)+" (mt)",1),WS])]),e.createElementVNode("div",HS,[((cc=(sc=l==null?void 0:l.fuelConclusion)==null?void 0:sc.dgo)==null?void 0:cc.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",MS,[IS,GS,RS,zS,e.createElementVNode("div",null,e.toDisplayString((dc=(ic=l==null?void 0:l.fuelConclusion)==null?void 0:ic.dgo)==null?void 0:dc.entireCons),1),US,e.createElementVNode("div",null,e.toDisplayString((mc=(rc=l==null?void 0:l.fuelConclusion)==null?void 0:rc.dgo)==null?void 0:mc.maxCons),1),YS,e.createElementVNode("div",null,e.toDisplayString((hc=(pc=l==null?void 0:l.fuelConclusion)==null?void 0:pc.dgo)==null?void 0:hc.overCons),1)])):((Ec=(_c=l==null?void 0:l.fuelConclusion)==null?void 0:_c.fo)==null?void 0:Ec.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",ZS,[QS,JS,jS,KS,e.createElementVNode("div",null,e.toDisplayString((Nc=(yc=l==null?void 0:l.fuelConclusion)==null?void 0:yc.dgo)==null?void 0:Nc.minCons),1),XS,e.createElementVNode("div",null,e.toDisplayString((fc=(Vc=l==null?void 0:l.fuelConclusion)==null?void 0:Vc.dgo)==null?void 0:fc.entireCons),1),qS,e.createElementVNode("div",null,e.toDisplayString((xc=(gc=l==null?void 0:l.fuelConclusion)==null?void 0:gc.dgo)==null?void 0:xc.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((kc=(bc=l==null?void 0:l.fuelConclusion)==null?void 0:bc.dgo)==null?void 0:kc.conclusionStatus)==="Over"?"flex-center lost":((Cc=(Dc=l==null?void 0:l.fuelConclusion)==null?void 0:Dc.dgo)==null?void 0:Cc.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[uS,e.createElementVNode("div",null,e.toDisplayString(((Bc=(Sc=l==null?void 0:l.fuelConclusion)==null?void 0:Sc.dgo)==null?void 0:Bc.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",vS,e.toDisplayString(a.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const t4=we(o2,[["render",e4],["__scopeId","data-v-44fbbd8a"]]),Tj="",o4={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`${X(o).utc().format(s)}`}},computeLng(){return function(o){return me.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return me.LngLatHelper.lat2pretty(o)}},computePrecision(){return function(o,s=2,t="0.0"){return o?me.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,g,x,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=((g=(p=this.report)==null?void 0:p.weather)==null?void 0:g.showWave)??!0,this.showWaterTemp=((h=(x=this.report)==null?void 0:x.weather)==null?void 0:h.waterTempSwitch)||!1}}},ne=o=>(e.pushScopeId("data-v-a18f941f"),o=o(),e.popScopeId(),o),l4={class:"report-inventory"},a4={class:"section summary-section"},n4=ne(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),s4={class:"summary-block"},c4=ne(()=>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)),i4={class:"label",rowspan:"4"},d4=ne(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),r4=ne(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),m4=ne(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),p4=ne(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),h4={class:"section inventory-section"},_4=e.createStaticVNode('<div class="legends flex-space" data-v-a18f941f><div class="flex-start" style="flex:1.2;" data-v-a18f941f><div class="legend good-wx" data-v-a18f941f></div><div class="label flex-end" data-v-a18f941f>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-a18f941f><div class="legend adverse-wx" data-v-a18f941f></div><div class="label" data-v-a18f941f>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-a18f941f><div class="legend excluded" data-v-a18f941f></div><div class="label" data-v-a18f941f>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-a18f941f><div data-v-a18f941f><label data-v-a18f941f>B</label><span data-v-a18f941f>BOSP</span></div><div data-v-a18f941f><label data-v-a18f941f>N</label><span data-v-a18f941f>NOON</span></div><div data-v-a18f941f><label data-v-a18f941f>E</label><span data-v-a18f941f>EOSP</span></div><div data-v-a18f941f><label data-v-a18f941f>*</label><span data-v-a18f941f>Ship Reported Position</span></div></div></div>',1),E4={class:"inventory-block flex-center"},y4={style:{"font-size":"12px"}},N4=ne(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),V4=ne(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),f4=ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),g4=ne(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),x4=["colspan"],b4={key:0,class:"label",colspan:"2"},k4=ne(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),D4=ne(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),C4=ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),S4=ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),B4=ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),w4=ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),T4={key:0,class:"label",rowspan:"2"},A4=ne(()=>e.createElementVNode("br",null,null,-1)),F4={key:1,class:"label",rowspan:"2"},O4=ne(()=>e.createElementVNode("br",null,null,-1)),P4=ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),L4={key:2,class:"label",rowspan:"2"},$4=ne(()=>e.createElementVNode("br",null,null,-1)),W4={key:3,class:"label",colspan:"2"},H4={key:4,class:"label",rowspan:"2"},M4=ne(()=>e.createElementVNode("br",null,null,-1)),I4={key:5,class:"label",colspan:"2"},G4=ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),R4={key:6,class:"label",rowspan:"2"},z4={key:7,class:"label",rowspan:"2"},U4={key:8,class:"label",rowspan:"2"},Y4=ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),Z4=ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),Q4=ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),J4=ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),j4=ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),K4=ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),X4=ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),q4=ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),u4=ne(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),v4=ne(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),e5=ne(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),t5=ne(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),o5={key:0,class:"label"},l5={key:1,class:"label"},a5={key:2,class:"label"},n5={key:3,class:"label"},s5=ne(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),c5=ne(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),i5=ne(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),d5=ne(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),r5=ne(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),m5=ne(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),p5=ne(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),h5=ne(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),_5={class:"summary-tbody"};function E5(o,s,t,r,a,n){var E;return e.openBlock(),e.createElementBlock("div",l4,[e.createElementVNode("div",a4,[n4,e.createElementVNode("div",s4,[e.createElementVNode("table",null,[c4,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 g,x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L;return e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[e.createElementVNode("tr",null,[e.createElementVNode("td",i4,e.toDisplayString(p+1),1),d4,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((g=c==null?void 0:c.allWx)==null?void 0:g.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((x=c==null?void 0:c.allWx)==null?void 0:x.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,[r4,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((b=c==null?void 0:c.goodWx)==null?void 0:b.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((A=c==null?void 0:c.goodWx)==null?void 0:A.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,[m4,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((V=c==null?void 0:c.badWx)==null?void 0:V.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((G=c==null?void 0:c.badWx)==null?void 0:G.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[p4,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((R=c==null?void 0:c.excluded)==null?void 0:R.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((z=c==null?void 0:c.excluded)==null?void 0:z.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((U=c==null?void 0:c.excluded)==null?void 0:U.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",h4,[_4,e.createElementVNode("div",E4,[e.createElementVNode("table",y4,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[N4,V4,f4,g4,e.createElementVNode("th",{class:"label",colspan:n.computeWxColspan},"ORM Weather Analysis",8,x4),t.showFactor?(e.openBlock(),e.createElementBlock("th",b4,"Factor")):e.createCommentVNode("",!0),k4,D4]),e.createElementVNode("tr",null,[C4,S4,B4,w4,a.showAisDistance?(e.openBlock(),e.createElementBlock("th",T4,[e.createTextVNode("Spd"),A4,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("th",F4,[e.createTextVNode("Dis"),O4,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),P4,a.showWave?(e.openBlock(),e.createElementBlock("th",L4,[e.createTextVNode("Sea HT"),$4,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",W4,"Swell")):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("th",H4,[e.createTextVNode("Sig Wave"),M4,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",I4,"Current")):e.createCommentVNode("",!0),G4,t.showFactor?(e.openBlock(),e.createElementBlock("th",R4,"cFactor")):e.createCommentVNode("",!0),t.showFactor?(e.openBlock(),e.createElementBlock("th",z4,"wxFactor")):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("th",U4,"Water Temp.")):e.createCommentVNode("",!0),Y4,Z4,Q4,J4,j4,K4,X4,q4]),e.createElementVNode("tr",null,[u4,v4,e5,t5,a.showSwell?(e.openBlock(),e.createElementBlock("th",o5,"Dir")):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",l5,"HT(m)")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",a5,"Dir")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",n5,"CF(kts)")):e.createCommentVNode("",!0),s5,c5,i5,d5,r5,m5,p5,h5])]),e.createElementVNode("tbody",_5,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.inventory,(c,p)=>{var g,x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,I;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)&&((g=c.noon)!=null&&g.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((x=c.noon)==null?void 0:x.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(((b=(D=c.meteo)==null?void 0:D.wind)==null?void 0:b.scale)??"--"),3),a.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((A=(k=(C=c.meteo)==null?void 0:C.wave)==null?void 0:k.wd)==null?void 0:A.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(((G=(O=(V=c.meteo)==null?void 0:V.wave)==null?void 0:O.swell)==null?void 0:G.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(((U=(z=(R=c.meteo)==null?void 0:R.wave)==null?void 0:z.sig)==null?void 0:U.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((($=c.meteo)==null?void 0:$.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(((I=c.meteo)==null?void 0:I.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 y5=we(o4,[["render",E5],["__scopeId","data-v-a18f941f"]]),Aj="",N5={name:"OrmVoyageChart",components:{Lng:ja,Lat:Ka},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`${X(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(qa.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(qa.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(qa.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var p,g,x,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(b=>b.noonLength)||[];n.unshift(n[0]),n.forEach((b,C)=>{var A,F,B,w,V,O,G,R,z,U,_,L,H,$;const k=this.computeUTCTime(C===0?b.utc:b.noonUtc,"MM-DD/HHmm[Z]");if(o.push(k),r=Math.ceil(((A=b.noon)==null?void 0:A.foCons)>r?(F=b.noon)==null?void 0:F.foCons:r),r=Math.ceil(((B=b.cp)==null?void 0:B.fo)>r?(w=b.cp)==null?void 0:w.fo:r),a=Math.ceil(((V=b.noon)==null?void 0:V.dgoCons)>a?(O=b.noon)==null?void 0:O.dgoCons:a),a=Math.ceil(((G=b.cp)==null?void 0:G.dgo)>a?(R=b.cp)==null?void 0:R.dgo:a),s.push([k,(z=b.noon)==null?void 0:z.avgSpd,(U=b.noon)==null?void 0:U.foCons,(_=b.noon)==null?void 0:_.dgoCons,b.avgSpdCalc,b.cp.speed,b.goodWx&&!b.excluded?100:0,b.cp.dgo,b.cp.fo,b.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,($=P.noon)==null?void 0:$.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:(g=(p=this.report)==null?void 0:p.weather)!=null&&g.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}]};(x=this.spdFoConsChart)==null||x.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,g)=>{var h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,I,J,Y;a=p.noonLength?p.dailyAvgCf:a;const x=this.computeUTCTime(g===0?p.utc:p.noonUtc,"MM-DD/HHmm[Z]");if(o.push(x),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=(b=p.meteo)==null?void 0:b.wave)==null?void 0:C.sig)==null?void 0:k.height:r),s.push([x,(A=p.noon)==null?void 0:A.windBF,(B=(F=p.meteo)==null?void 0:F.wind)==null?void 0:B.scale,(V=(w=p.meteo)==null?void 0:w.wind)==null?void 0:V.direction,(O=p.noon)==null?void 0:O.seasHt,(z=(R=(G=p.meteo)==null?void 0:G.wave)==null?void 0:R.sig)==null?void 0:z.height,a,p.goodWx&&!p.excluded?20:0,p.excluded?20:0]),g<n.length-1){const j=n[g+1];s.push([x,(U=j.noon)==null?void 0:U.windBF,(L=(_=j.meteo)==null?void 0:_.wind)==null?void 0:L.scale,($=(H=j.meteo)==null?void 0:H.wind)==null?void 0:$.direction,(P=j.noon)==null?void 0:P.seasHt,(Y=(J=(I=j.meteo)==null?void 0:I.wave)==null?void 0:J.sig)==null?void 0:Y.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)}}},Aa=o=>(e.pushScopeId("data-v-92ed3e90"),o=o(),e.popScopeId(),o),V5={class:"report-summary"},f5={class:"section chart-section"},g5=Aa(()=>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)),x5={class:"chart-block"},b5={ref:"spdFoConsChart",class:"chart"},k5={ref:"spdDgoConsChart",class:"chart"},D5={ref:"currChart",class:"chart"},C5={class:"section map-section"},S5=Aa(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),B5={class:"map-block"},w5={class:"flex-space"},T5={class:"voyage-block",style:{height:"197px"}},A5={class:"flex-space label-block",style:{width:"100%"}},F5=Aa(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),O5={style:{"text-transform":"uppercase"}},P5={class:"flex-space label-block",style:{width:"100%"}},L5=Aa(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),$5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},W5={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},H5={class:"flex-space label-block",style:{width:"100%"}},M5=Aa(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),I5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},G5={class:"flex-space label-block",style:{width:"100%"}},R5=Aa(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),z5={key:0,class:"flex-end",style:{flex:"1"}},U5={key:1,class:"flex-end",style:{flex:"1"}},Y5=Aa(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Z5={class:"flex-end",style:{width:"160px"}},Q5={class:"flex-space label-block",style:{width:"100%"}},J5=Aa(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),j5={key:0,class:"flex-end",style:{flex:"1"}},K5={key:1,class:"flex-end",style:{flex:"1"}},X5=Aa(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),q5={class:"flex-end",style:{width:"160px"}},u5={class:"flex-space label-block",style:{width:"100%"}},v5=Aa(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),eB={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},tB=e.createStaticVNode('<div class="legend-block" data-v-92ed3e90><div style="position:absolute;margin-top:-8px;" data-v-92ed3e90>LEGEND</div><div class="flex-space" data-v-92ed3e90><div data-v-92ed3e90>0812</div><div data-v-92ed3e90><div data-v-92ed3e90>08 - Day of the month</div><div data-v-92ed3e90>12 - Hours of the day</div></div></div><div class="flex-space" data-v-92ed3e90><div data-v-92ed3e90><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-92ed3e90></i></div><div data-v-92ed3e90><div data-v-92ed3e90>Wind from N (000)</div><div data-v-92ed3e90>Each bard = 10 kts</div><div data-v-92ed3e90>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-92ed3e90><div data-v-92ed3e90>W 4</div><div data-v-92ed3e90>Sig. Wave from West, 4 meters</div></div><div class="flex-space" data-v-92ed3e90><div class="good-wx" data-v-92ed3e90>Date</div><div data-v-92ed3e90>Good weather days</div></div></div>',1),oB=["src"],lB=e.createStaticVNode('<div class="section method-section" data-v-92ed3e90><div class="header-block flex-center" data-v-92ed3e90><i class="iconfont" data-v-92ed3e90></i><div class="title" data-v-92ed3e90>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-92ed3e90><div class="method-title" data-v-92ed3e90>1. Good Weather Method</div><div class="method-body" data-v-92ed3e90> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd&#39;s Rep 166 and The Gas Enterprise [1993] 2 Lloyd&#39;s Rep. 352. <br data-v-92ed3e90> The vessel&#39;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-92ed3e90> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a &quot;good weather day&quot; or &quot;adverse weather day&quot; according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-92ed3e90><div class="method-title" data-v-92ed3e90>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>4. “About”</div><div class="method-body" data-v-92ed3e90> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-92ed3e90> 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-92ed3e90> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>6. Further reference materials</div><div class="method-body" data-v-92ed3e90>Please send mail to <a href="mailto:op@ormwx.com" data-v-92ed3e90>op@ormwx.com</a>.</div></div></div></div>',1);function aB(o,s,t,r,a,n){var p,g,x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,I,J,Y;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",V5,[e.createElementVNode("div",f5,[g5,e.createElementVNode("div",x5,[e.createElementVNode("div",b5,null,512),e.createElementVNode("div",k5,null,512),e.createElementVNode("div",D5,null,512)])]),e.createElementVNode("div",C5,[S5,e.createElementVNode("div",B5,[e.createElementVNode("div",w5,[e.createElementVNode("div",T5,[e.createElementVNode("div",A5,[F5,e.createElementVNode("span",O5,e.toDisplayString(t.report.preparedFor),1)]),e.createElementVNode("div",P5,[L5,e.createElementVNode("span",$5,e.toDisplayString((g=(p=t.report)==null?void 0:p.vessel)==null?void 0:g.name),1),e.createElementVNode("span",W5,"("+e.toDisplayString((h=(x=t.report)==null?void 0:x.vessel)==null?void 0:h.type)+")",1)]),e.createElementVNode("div",H5,[M5,e.createElementVNode("span",I5,e.toDisplayString((D=(N=t.report)==null?void 0:N.voyage)==null?void 0:D.number),1)]),e.createElementVNode("div",G5,[R5,(C=(b=t.report)==null?void 0:b.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",z5,e.toDisplayString((A=(k=t.report)==null?void 0:k.departure)==null?void 0:A.portName),1)):(e.openBlock(),e.createElementBlock("div",U5,[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"]),Y5,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",Z5,e.toDisplayString(n.computeUTCTime((V=t.report.departure)==null?void 0:V.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",Q5,[J5,(G=(O=t.report)==null?void 0:O.arrival)!=null&&G.portName?(e.openBlock(),e.createElementBlock("span",j5,e.toDisplayString((z=(R=t.report)==null?void 0:R.arrival)==null?void 0:z.portName),1)):(e.openBlock(),e.createElementBlock("div",K5,[e.createVNode(E,{lat:(_=(U=t.report)==null?void 0:U.arrival)==null?void 0:_.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),X5,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",q5,e.toDisplayString(n.computeUTCTime((P=($=t.report)==null?void 0:$.arrival)==null?void 0:P.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",u5,[v5,e.createElementVNode("span",eB,e.toDisplayString((J=(I=t.report)==null?void 0:I.voyage)==null?void 0:J.loadCondition),1)])]),tB]),e.createElementVNode("img",{src:(Y=t.report)==null?void 0:Y.chartUrl,alt:""},null,8,oB)])]),lB])}const nB=we(N5,[["render",aB],["__scopeId","data-v-92ed3e90"]]),Fj="",Oj="",sB={name:"OrmVoyageEmail",props:{report:{type:Object,default:()=>({})},voyageEmails:{type:Array,default:()=>[]}},emits:["commit"],data(){return{}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${X(o).utc().format(s)}`}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{voyageEmails:{handler(o,s){o.length>0&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){document.getElementById("col1").innerHTML=null,document.getElementById("col2").innerHTML=null;const o=this.voyageEmails.sort((s,t)=>s.date<t.date);o==null||o.forEach((s,t)=>{var p,g;let r="<div>";s.to.includes("op@ormwx.com")||s.source==="VRT"?(((g=(p=s.body)==null?void 0:p.replace(/^"|"$/g,""))==null?void 0:g.split("\\n")).forEach(h=>{const N=`<p>${h}</p>`;r=r+N}),r=r+"</div>"):r=s.body;const a=document.getElementById("col1"),n=document.getElementById("col2"),E=(a==null?void 0:a.offsetHeight)||0,c=(n==null?void 0:n.offsetHeight)||0;if(E<=c){let h=`<div class="${s.to.includes("op@ormwx.com")||s.source==="VRT"?"vrpt-mail-item vrpt-item-left vrpt-inbox":"vrpt-mail-item vrpt-item-left vrpt-outbox"}">
41
+ -3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)];function Nh(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("i",hh,[(e.openBlock(),e.createElementBlock("svg",_h,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:t.fill,"fill-opacity":.6,stroke:"none"},yh,8,Eh)]))])}const ac=we(ph,[["render",Nh]]),Vh={install(o){o.component("PiLogo",ac)}},Vj="",fj="",fh={name:"FliVygSummary",components:{Editor:pl},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"?X(o).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s=="table"?X(o).utc().format("MMMM-DD/HHmm[Z]"):s=="summary"?X(o).utc().format("MMMM D, HHmm[Z]"):s?X(o).utc().format(s):X(o).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(o,s){const t=me.LngLatHelper.lat2pretty(o).pretty,r=me.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?me.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:X(c.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:X(c.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:X(c.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+X(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-d80f1a42"),o=o(),e.popScopeId(),o),gh=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)),xh={class:"fli-main"},bh=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),kh={class:"card basics"},Dh={class:"list flex"},Ch={class:"item"},Sh=d(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),Bh={class:"content flex"},wh={class:"item"},Th=d(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),Ah={class:"content flex"},Fh={class:"item"},Oh=d(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),Ph={class:"content flex"},Lh={class:"list"},$h={class:"item"},Wh=d(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),Hh={class:"content flex"},Mh={class:"content flex"},Ih={class:"item"},Gh=d(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),Rh={class:"content flex"},zh={class:"content flex"},Uh={class:"item"},Yh=d(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),Zh={class:"content flexL"},Qh=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),Jh={class:"clause"},jh={key:0,class:"definition flex"},Kh={key:1,class:"definition flex"},Xh={class:"item"},qh=d(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),uh={class:"content"},vh={key:0,class:"item"},e1=d(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),t1={class:"content"},o1={key:1,class:"item"},l1=d(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),a1={class:"content"},n1={key:2,class:"item"},s1=d(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),c1={class:"content"},i1={key:3,class:"item"},d1=d(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),r1={class:"content"},m1={key:4,class:"item"},p1=[d(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],h1={key:5,class:"item"},_1=[d(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],E1={class:"definition flexM"},y1={class:"table"},N1=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)),V1=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),f1={class:"summary"},g1={key:0,class:"summary-overall"},x1=d(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),b1={class:"summary-overall-row"},k1={class:"card"},D1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),C1={class:"main-content"},S1={key:0},B1={key:1},w1={class:"card"},T1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),A1={class:"main-content"},F1={key:0},O1={key:1},P1={class:"card"},L1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),$1={class:"main-content"},W1={key:0},H1={key:1},M1={class:"summary-overall-row"},I1={class:"card"},G1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),R1={class:"main-content"},z1={class:"card"},U1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),Y1={class:"main-content"},Z1={class:"card"},Q1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),J1={class:"main-content"},j1=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)),K1={class:"card",style:{flex:"1.5"}},X1={class:"card-title"},q1=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),u1={class:"card-segment"},v1={class:"card-segment"},e_={class:"card-segment"},t_=d(()=>e.createElementVNode("div",null,"Applied",-1)),o_={class:"uppercase"},l_={class:"card summary-card",style:{flex:"1"}},a_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),n_={key:0,class:"main-content"},s_={key:0,class:"iconfont success"},c_={key:1,class:"iconfont error"},i_={key:1,class:"main-content"},d_={class:"card-content",style:{"justify-content":"flex-start"}},r_={class:"card summary-card",style:{flex:"1"}},m_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),p_={key:0,class:"main-content"},h_={key:0,class:"iconfont success"},__={key:1,class:"iconfont error"},E_={key:1,class:"main-content"},y_={class:"card-content",style:{"justify-content":"flex-start"}},N_={class:"card summary-card",style:{flex:"1"}},V_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),f_={key:0,class:"main-content"},g_={key:0,class:"iconfont success"},x_={key:1,class:"iconfont error"},b_={key:1,class:"main-content"},k_={class:"card-content",style:{"justify-content":"flex-start"}},D_={style:{"page-break-inside":"avoid"}},C_=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),S_={class:"remarks"},B_={class:"item"},w_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),T_={class:"speed"},A_={class:"uppercase"},F_={class:"item"},O_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),P_={key:0,class:"remark-detail"},L_={key:1,class:"remark-detail"},$_={class:"page-avoid"},W_={class:"dashed"},H_={class:"card phase-title-card",style:{flex:"0.5"}},M_={class:"card-title"},I_=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),G_={class:"card-segment"},R_={class:"card-segment"},z_={class:"card-segment"},U_=d(()=>e.createElementVNode("div",null,"Applied",-1)),Y_={class:"uppercase"},Z_=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),Q_={class:"phase-analysis"},J_={class:"card phase-card",style:{flex:"1"}},j_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),K_={class:"main-content"},X_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),q_={class:"main-content"},u_={class:"card-content"},v_=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),eE=d(()=>e.createElementVNode("span",null,"mt",-1)),tE={class:"card-content"},oE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),lE=d(()=>e.createElementVNode("span",null,"mt",-1)),aE={class:"card-content"},nE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),sE=d(()=>e.createElementVNode("span",null,"mt",-1)),cE={class:"card-content"},iE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),dE=d(()=>e.createElementVNode("span",null,"mt",-1)),rE=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)),mE={class:"card phase-card",style:{flex:"1"}},pE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),hE={class:"main-content"},_E=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),EE={class:"main-content"},yE={class:"card-content"},NE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),VE=d(()=>e.createElementVNode("span",null,"mt",-1)),fE={class:"card-content"},gE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),xE=d(()=>e.createElementVNode("span",null,"mt",-1)),bE={class:"card-content"},kE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),DE=d(()=>e.createElementVNode("span",null,"mt",-1)),CE={class:"card-content"},SE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),BE=d(()=>e.createElementVNode("span",null,"mt",-1)),wE=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)),TE={class:"phase-analysis"},AE={class:"card phase-card",style:{flex:"1"}},FE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),OE={class:"main-content"},PE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),LE={class:"main-content"},$E={class:"card-content"},WE=d(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),HE=d(()=>e.createElementVNode("span",null,"nm",-1)),ME={class:"card-content"},IE=d(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),GE=d(()=>e.createElementVNode("span",null,"nm",-1)),RE={class:"card-content"},zE=d(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),UE=d(()=>e.createElementVNode("span",null,"nm",-1)),YE={class:"card-content"},ZE=d(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),QE=d(()=>e.createElementVNode("span",null,"nm",-1)),JE={class:"card phase-card",style:{flex:"1"}},jE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),KE={class:"main-content"},XE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),qE={class:"main-content"},uE={class:"card-content"},vE=d(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),ey=d(()=>e.createElementVNode("span",null,"hrs",-1)),ty={class:"card-content"},oy=d(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),ly=d(()=>e.createElementVNode("span",null,"hrs",-1)),ay={class:"card-content"},ny=d(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),sy=d(()=>e.createElementVNode("span",null,"hrs",-1)),cy={class:"card-content"},iy=d(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),dy=d(()=>e.createElementVNode("span",null,"hrs",-1)),ry={class:"card phase-card",style:{flex:"1"}},my=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),py={class:"main-content"},hy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),_y={class:"main-content"},Ey={class:"card-content"},yy=d(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),Ny=d(()=>e.createElementVNode("span",null,"kts",-1)),Vy={class:"card-content"},fy=d(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),gy=d(()=>e.createElementVNode("span",null,"kts",-1)),xy={class:"card-content"},by=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),ky=d(()=>e.createElementVNode("span",null,"kts",-1)),Dy={class:"card-content"},Cy=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),Sy=d(()=>e.createElementVNode("span",null,"kts",-1)),By={class:"phase-analysis"},wy={class:"card phase-card",style:{flex:"1"}},Ty=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),Ay={class:"main-content"},Fy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),Oy={class:"main-content"},Py={class:"card-content"},Ly=d(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),$y=d(()=>e.createElementVNode("span",null,"mt",-1)),Wy={class:"card-content"},Hy=d(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),My=d(()=>e.createElementVNode("span",null,"mt",-1)),Iy={class:"card-content"},Gy=d(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),Ry=d(()=>e.createElementVNode("span",null,"mt",-1)),zy={class:"card-content"},Uy=d(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),Yy=d(()=>e.createElementVNode("span",null,"mt",-1)),Zy={class:"card phase-card",style:{flex:"1"}},Qy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),Jy={class:"main-content"},jy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),Ky={class:"main-content"},Xy={class:"card-content"},qy=d(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),uy=d(()=>e.createElementVNode("span",null,"mt",-1)),vy={class:"card-content"},eN=d(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),tN=d(()=>e.createElementVNode("span",null,"mt",-1)),oN={class:"card-content"},lN=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),aN=d(()=>e.createElementVNode("span",null,"mt",-1)),nN={class:"card-content"},sN=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),cN=d(()=>e.createElementVNode("span",null,"mt",-1)),iN={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},dN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),rN={class:"main-content"},mN={class:"card-content"},pN=d(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),hN={key:0},_N=d(()=>e.createElementVNode("span",null,"kts",-1)),EN={key:1},yN={class:"phase-card"},NN={class:"card",style:{flex:"1"}},VN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),fN={key:0,class:"main-content"},gN={key:0,class:"iconfont success"},xN={key:1,class:"iconfont error"},bN={key:1,class:"main-content"},kN={class:"nogwd"},DN={class:"card-content",style:{"justify-content":"flex-start"}},CN={key:0},SN={class:"equation"},BN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),wN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),TN={style:{width:"8%"}},AN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),FN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),ON={style:{width:"10%"}},PN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),LN={class:"equation"},$N=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),WN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),HN={style:{width:"8%"}},MN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),IN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),GN={style:{width:"10%"}},RN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),zN={class:"equation"},UN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),YN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),ZN={style:{width:"8%"}},QN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),JN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),jN={style:{width:"10%"}},KN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),XN={class:"phase-card"},qN={class:"card",style:{flex:"1"}},uN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),vN={key:0,class:"main-content"},eV={key:0,class:"iconfont success"},tV={key:1,class:"iconfont error"},oV={key:1,class:"main-content"},lV={class:"nogwd"},aV={class:"card-content",style:{"justify-content":"flex-start"}},nV={key:0},sV={class:"equation"},cV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),iV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),dV={style:{width:"8%"}},rV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),mV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),pV={style:{width:"120px"}},hV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_V=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),EV={style:{width:"10%"}},yV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),NV={class:"equation"},VV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),fV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),gV={style:{width:"8%"}},xV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),bV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),kV={style:{width:"120px"}},DV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),CV=d(()=>e.createElementVNode("div",null,"24",-1)),SV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),BV={style:{width:"10%"}},wV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),TV={class:"equation"},AV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),FV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),OV={style:{width:"8%"}},PV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),LV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),$V={style:{width:"120px"}},WV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),HV=d(()=>e.createElementVNode("div",null,"24",-1)),MV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),IV={style:{width:"10%"}},GV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),RV={key:0,class:"phase-card"},zV={class:"card",style:{flex:"1"}},UV=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),YV={key:0,class:"main-content"},ZV={key:0,class:"iconfont success"},QV={key:1,class:"iconfont error"},JV={key:1,class:"main-content"},jV={class:"nogwd"},KV={class:"card-content",style:{"justify-content":"flex-start"}},XV={key:0},qV={class:"equation"},uV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),vV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),ef={style:{width:"8%"}},tf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),of=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),lf={style:{width:"120px"}},af=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),nf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),sf={style:{width:"10%"}},cf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),df={class:"equation"},rf=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),mf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),pf={style:{width:"8%"}},hf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_f=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Ef={style:{width:"120px"}},yf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Nf=d(()=>e.createElementVNode("div",null,"24",-1)),Vf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),ff={style:{width:"10%"}},gf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),xf={class:"equation"},bf=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),kf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Df={style:{width:"8%"}},Cf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Sf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Bf={style:{width:"120px"}},wf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Tf=d(()=>e.createElementVNode("div",null,"24",-1)),Af=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Ff={style:{width:"10%"}},Of=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),Pf=d(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),Lf={class:"formular dashed",style:{"page-break-inside":"avoid"}},$f={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},Wf=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),Hf={class:""},Mf={class:"equation"},If=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),Gf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Rf={style:{width:"50%"},class:"fraction"},zf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Uf=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Yf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),Zf={class:"equation"},Qf=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),Jf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),jf={style:{width:"50%"},class:"fraction"},Kf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Xf=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),qf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),uf={class:"equation"},vf=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),e0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),t0={style:{width:"50%"},class:"fraction"},o0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),l0=d(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),a0=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),n0=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)),s0={class:"flexL formular-item",style:{"margin-left":"20px"}},c0=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)),i0={class:""},d0={class:"equation"},r0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),m0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),p0={style:{width:"25%"},class:"fraction"},h0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_0=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),E0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),y0=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)),N0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),V0={class:"equation"},f0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),g0=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)),k0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),D0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),C0=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)),S0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),B0={class:"equation"},w0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),T0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),A0={style:{width:"25%"},class:"fraction"},F0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),O0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),P0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),L0=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)),$0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),W0=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)),H0=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 M0(o,s,t,r,a,n){var E,c,p,g,x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,M,J,Y,j,se,ce,l,q,ee,te,oe,le,ae,ie,de,re,Ee,u,he,ye,Ne,pe,ge,xe,be,ke,De,Ce,Fe,Oe,Pe,Le,$e,We,He,Me,Ve,Je,je,Ke,T,Se,Ue,Xe,qe,ue,ve,et;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((c=(E=t.reportData)==null?void 0:E.weather)!=null&&c.referenceOnly?"watermark":"")},[gh,e.createElementVNode("div",xh,[bh,e.createElementVNode("div",kh,[e.createElementVNode("div",Dh,[e.createElementVNode("div",Ch,[Sh,e.createElementVNode("div",Bh,e.toDisplayString((p=t.reportData)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",wh,[Th,e.createElementVNode("div",Ah,e.toDisplayString((x=(g=t.reportData)==null?void 0:g.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",Fh,[Oh,e.createElementVNode("div",Ph,e.toDisplayString(a.date),1)])]),e.createElementVNode("div",Lh,[e.createElementVNode("div",$h,[Wh,e.createElementVNode("div",Hh,e.toDisplayString(((N=(h=t.reportData)==null?void 0:h.departure)==null?void 0:N.portName)||n.computedLngLat((b=(D=t.reportData)==null?void 0:D.departure)==null?void 0:b.lat,(k=(C=t.reportData)==null?void 0:C.departure)==null?void 0:k.lng)),1),e.createElementVNode("div",Mh,e.toDisplayString(n.computedTime((F=(A=t.reportData)==null?void 0:A.departure)==null?void 0:F.utcTime,"table")),1)]),e.createElementVNode("div",Ih,[Gh,e.createElementVNode("div",Rh,e.toDisplayString(((w=(B=t.reportData)==null?void 0:B.arrival)==null?void 0:w.portName)||n.computedLngLat((O=(V=t.reportData)==null?void 0:V.arrival)==null?void 0:O.lat,(R=(G=t.reportData)==null?void 0:G.arrival)==null?void 0:R.lng)),1),e.createElementVNode("div",zh,e.toDisplayString(n.computedTime((U=(z=t.reportData)==null?void 0:z.arrival)==null?void 0:U.utcTime,"table")),1)]),e.createElementVNode("div",Uh,[Yh,e.createElementVNode("div",Zh,e.toDisplayString((L=(_=t.reportData)==null?void 0:_.voyage)==null?void 0:L.loadCondition),1)])])]),Qh,e.createElementVNode("div",Jh,[($=(H=t.reportData)==null?void 0:H.weather)!=null&&$.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",jh,"No specific thresholds in weather.")):(e.openBlock(),e.createElementBlock("div",Kh,[e.createElementVNode("div",Xh,[qh,e.createElementVNode("div",uh,"BF "+e.toDisplayString(((M=(P=t.reportData)==null?void 0:P.weather)==null?void 0:M.windScale)||"-"),1)]),(Y=(J=t.reportData)==null?void 0:J.weather)!=null&&Y.waveSwitch?(e.openBlock(),e.createElementBlock("div",vh,[e1,e.createElementVNode("div",t1,e.toDisplayString(((se=(j=t.reportData)==null?void 0:j.weather)==null?void 0:se.waveHeight)||"-")+" Meter",1)])):(l=(ce=t.reportData)==null?void 0:ce.weather)!=null&&l.swellSwitch?(e.openBlock(),e.createElementBlock("div",o1,[l1,e.createElementVNode("div",a1,e.toDisplayString(((ee=(q=t.reportData)==null?void 0:q.weather)==null?void 0:ee.swellHeight)||"-")+" Meter",1)])):(oe=(te=t.reportData)==null?void 0:te.weather)!=null&&oe.sigSwitch?(e.openBlock(),e.createElementBlock("div",n1,[s1,e.createElementVNode("div",c1,e.toDisplayString(((ae=(le=t.reportData)==null?void 0:le.weather)==null?void 0:ae.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(de=(ie=t.reportData)==null?void 0:ie.weather)!=null&&de.waveSwitch||(Ee=(re=t.reportData)==null?void 0:re.weather)!=null&&Ee.swellHeight||(he=(u=t.reportData)==null?void 0:u.weather)!=null&&he.sigSwitch?(e.openBlock(),e.createElementBlock("div",i1,[d1,e.createElementVNode("div",r1,e.toDisplayString((Ne=(ye=t.reportData)==null?void 0:ye.weather)==null?void 0:Ne.seaScale),1)])):e.createCommentVNode("",!0),(ge=(pe=t.reportData)==null?void 0:pe.weather)!=null&&ge.noAdverseCur?(e.openBlock(),e.createElementBlock("div",m1,p1)):e.createCommentVNode("",!0),(be=(xe=t.reportData)==null?void 0:xe.weather)!=null&&be.noExtrapolation?(e.openBlock(),e.createElementBlock("div",h1,_1)):e.createCommentVNode("",!0)])),e.createElementVNode("div",E1,[e.createElementVNode("table",y1,[N1,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.cpDetail,(m,W)=>(e.openBlock(),e.createElementBlock("tr",{key:W},[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))])])])]),V1,e.createElementVNode("div",f1,[((De=(ke=t.reportData)==null?void 0:ke.segments)==null?void 0:De.length)>1?(e.openBlock(),e.createElementBlock("div",g1,[x1,e.createElementVNode("div",b1,[e.createElementVNode("div",k1,[D1,e.createElementVNode("div",C1,[(Fe=(Ce=t.reportData)==null?void 0:Ce.goodWx)!=null&&Fe.avgSpd?(e.openBlock(),e.createElementBlock("div",S1,e.toDisplayString((Pe=(Oe=t.reportData)==null?void 0:Oe.goodWx)==null?void 0:Pe.avgSpd)+" kts",1)):(e.openBlock(),e.createElementBlock("div",B1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",w1,[T1,e.createElementVNode("div",A1,[($e=(Le=t.reportData)==null?void 0:Le.goodWx)!=null&&$e.avgSpd?(e.openBlock(),e.createElementBlock("div",F1,e.toDisplayString((He=(We=t.reportData)==null?void 0:We.goodWx)==null?void 0:He.avgFoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",O1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",P1,[L1,e.createElementVNode("div",$1,[(Ve=(Me=t.reportData)==null?void 0:Me.goodWx)!=null&&Ve.avgSpd?(e.openBlock(),e.createElementBlock("div",W1,e.toDisplayString((je=(Je=t.reportData)==null?void 0:Je.goodWx)==null?void 0:je.avgDgoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",H1,e.toDisplayString(a.noGoodWxDay),1))])])]),e.createElementVNode("div",M1,[e.createElementVNode("div",I1,[G1,e.createElementVNode("div",R1,e.toDisplayString((T=(Ke=t.reportData)==null?void 0:Ke.allWx)==null?void 0:T.avgSpd)+" kts",1)]),e.createElementVNode("div",z1,[U1,e.createElementVNode("div",Y1,e.toDisplayString((Ue=(Se=t.reportData)==null?void 0:Se.allWx)==null?void 0:Ue.avgFoEcaCons)+" mt",1)]),e.createElementVNode("div",Z1,[Q1,e.createElementVNode("div",J1,e.toDisplayString((qe=(Xe=t.reportData)==null?void 0:Xe.allWx)==null?void 0:qe.avgDgoEcaCons)+" mt",1)])]),j1])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ue=t.reportData)==null?void 0:ue.segments,(m,W)=>{var Be,Ge,Ye;return e.openBlock(),e.createElementBlock("div",{key:W,class:"summary-seg"},[e.createElementVNode("div",K1,[e.createElementVNode("div",X1,[q1,e.createElementVNode("span",null,"Phase "+e.toDisplayString(W+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[W],(_e,Ze)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Ze,class:e.normalizeClass(a.segDetail[W].length>1?"dashed":"")},[e.createElementVNode("div",u1,[e.createElementVNode("div",null,e.toDisplayString(_e==null?void 0:_e.port1),1),e.createElementVNode("div",null,e.toDisplayString(_e==null?void 0:_e.time1),1)]),e.createElementVNode("div",v1,[e.createElementVNode("div",null,e.toDisplayString(_e==null?void 0:_e.port2),1),e.createElementVNode("div",null,e.toDisplayString(_e==null?void 0:_e.time2),1)])],2))),128)),e.createElementVNode("div",e_,[t_,e.createElementVNode("div",null,[e.createElementVNode("span",o_,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",l_,[a_,(Be=m.goodWx)!=null&&Be.distance?(e.openBlock(),e.createElementBlock("div",n_,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",s_,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",c_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",i_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",d_,[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",r_,[m_,(Ge=m.goodWx)!=null&&Ge.distance?(e.openBlock(),e.createElementBlock("div",p_,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",h_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",__,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",E_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",y_,[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",N_,[V_,(Ye=m.goodWx)!=null&&Ye.distance?(e.openBlock(),e.createElementBlock("div",f_,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",g_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",x_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",b_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",k_,[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",D_,[C_,e.createElementVNode("div",S_,[e.createElementVNode("div",B_,[w_,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ve=t.reportData)==null?void 0:ve.segments,(m,W)=>(e.openBlock(),e.createElementBlock("div",{key:W,class:"remark-speed"},[e.createElementVNode("div",T_,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${W+1}. Phase ${W+1} Applied `)+" ",1),e.createElementVNode("span",A_,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[W],(Be,Ge)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Ge},e.toDisplayString(`${Be.port1} (${Be.fullTime1}) to ${Be.port2} (${Be.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",F_,[O_,a.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",P_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.excludedTableData,(m,W)=>(e.openBlock(),e.createElementBlock("div",{key:W},e.toDisplayString(`From ${m.begin} to ${m.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",L_,e.toDisplayString(a.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((et=t.reportData)==null?void 0:et.segments,(m,W)=>{var Be,Ge,Ye,_e,Ze,tt,ot,rt,mt,pt,ht,yt,Nt,Vt,ft,gt,xt,bt,kt,Dt,Ct,St,Bt,wt,Tt,At,Ft,Ot,Pt,Lt,$t,co,io,ro,mo,po,ho,_o,Eo,yo,No,Vo,fo,go,xo,bo,ko,Do,S,Ie,lt,at,_t,Wt,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,jt,Kt,Xt,qt,ut,vt,eo,to,oo,lo,ao,no,Co,So,Bo,wo,To,Ao,Fo,Oo,Po,Lo,$o,Wo,Ho,Mo,Io,Go,Ro,zo,Uo,Yo,Zo,Qo,Ko,Xo,qo,uo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl,ml;return e.openBlock(),e.createElementBlock("div",{key:W,class:"phase"},[e.createElementVNode("div",$_,[e.createElementVNode("div",W_,[e.createElementVNode("div",H_,[e.createElementVNode("div",M_,[I_,e.createElementVNode("span",null,"Phase "+e.toDisplayString(W+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[W],(ct,hl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+hl,class:e.normalizeClass(a.segDetail[W].length>1?"dashed":"")},[e.createElementVNode("div",G_,[e.createElementVNode("div",null,e.toDisplayString(ct==null?void 0:ct.port1),1),e.createElementVNode("div",null,e.toDisplayString(ct==null?void 0:ct.time1),1)]),e.createElementVNode("div",R_,[e.createElementVNode("div",null,e.toDisplayString(ct==null?void 0:ct.port2),1),e.createElementVNode("div",null,e.toDisplayString(ct==null?void 0:ct.time2),1)])],2))),128)),e.createElementVNode("div",z_,[U_,e.createElementVNode("div",null,[e.createElementVNode("span",Y_,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)])])])]),Z_,e.createElementVNode("div",Q_,[e.createElementVNode("div",J_,[j_,e.createElementVNode("div",K_,[e.createElementVNode("span",null,e.toDisplayString(((Be=m.goodWx)==null?void 0:Be.avgFoEcaCons)||"-")+" mt",1)]),X_,e.createElementVNode("div",q_,[e.createElementVNode("span",null,e.toDisplayString(((Ge=m.allWx)==null?void 0:Ge.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",u_,[v_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ye=m.goodWx)==null?void 0:Ye.outEca.avgFoCons)||"-"),1),eE])]),e.createElementVNode("div",tE,[oE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_e=m.goodWx)==null?void 0:_e.inEca.avgFoEcaCons)||"-"),1),lE])]),e.createElementVNode("div",aE,[nE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ze=m.allWx)==null?void 0:Ze.outEca.avgFoCons)||"-"),1),sE])]),e.createElementVNode("div",cE,[iE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((tt=m.allWx)==null?void 0:tt.inEca.avgFoEcaCons)||"-"),1),dE])]),rE]),e.createElementVNode("div",mE,[pE,e.createElementVNode("div",hE,[e.createElementVNode("span",null,e.toDisplayString(((ot=m.goodWx)==null?void 0:ot.avgDgoEcaCons)||"-")+" mt",1)]),_E,e.createElementVNode("div",EE,[e.createElementVNode("span",null,e.toDisplayString(((rt=m.allWx)==null?void 0:rt.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",yE,[NE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=m.goodWx)==null?void 0:mt.outEca.avgDgoCons)||"-"),1),VE])]),e.createElementVNode("div",fE,[gE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=m.goodWx)==null?void 0:pt.inEca.avgDgoEcaCons)||"-"),1),xE])]),e.createElementVNode("div",bE,[kE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ht=m.allWx)==null?void 0:ht.outEca.avgDgoCons)||"-"),1),DE])]),e.createElementVNode("div",CE,[SE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yt=m.allWx)==null?void 0:yt.inEca.avgDgoEcaCons)||"-"),1),BE])]),wE])]),e.createElementVNode("div",TE,[e.createElementVNode("div",AE,[FE,e.createElementVNode("div",OE,[e.createElementVNode("span",null,e.toDisplayString(((Nt=m.goodWx)==null?void 0:Nt.distance)||"-")+" nm",1)]),PE,e.createElementVNode("div",LE,[e.createElementVNode("span",null,e.toDisplayString(((Vt=m.allWx)==null?void 0:Vt.distance)||"-")+" nm",1)]),e.createElementVNode("div",$E,[WE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ft=m.goodWx)==null?void 0:ft.outEca.distance)||"-"),1),HE])]),e.createElementVNode("div",ME,[IE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((gt=m.goodWx)==null?void 0:gt.inEca.distance)||"-"),1),GE])]),e.createElementVNode("div",RE,[zE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((xt=m.allWx)==null?void 0:xt.outEca.distance)||"-"),1),UE])]),e.createElementVNode("div",YE,[ZE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=m.allWx)==null?void 0:bt.inEca.distance)||"-"),1),QE])])]),e.createElementVNode("div",JE,[jE,e.createElementVNode("div",KE,[e.createElementVNode("span",null,e.toDisplayString(((kt=m.goodWx)==null?void 0:kt.time)||"-")+" hrs",1)]),XE,e.createElementVNode("div",qE,[e.createElementVNode("span",null,e.toDisplayString(((Dt=m.allWx)==null?void 0:Dt.time)||"-")+" hrs",1)]),e.createElementVNode("div",uE,[vE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=m.goodWx)==null?void 0:Ct.outEca.time)||"-"),1),ey])]),e.createElementVNode("div",ty,[oy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((St=m.goodWx)==null?void 0:St.inEca.time)||"-"),1),ly])]),e.createElementVNode("div",ay,[ny,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Bt=m.allWx)==null?void 0:Bt.outEca.time)||"-"),1),sy])]),e.createElementVNode("div",cy,[iy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=m.allWx)==null?void 0:wt.inEca.time)||"-"),1),dy])])]),e.createElementVNode("div",ry,[my,e.createElementVNode("div",py,[e.createElementVNode("span",null,e.toDisplayString(((Tt=m.goodWx)==null?void 0:Tt.avgSpd)||"-")+" kts",1)]),hy,e.createElementVNode("div",_y,[e.createElementVNode("span",null,e.toDisplayString(((At=m.allWx)==null?void 0:At.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",Ey,[yy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=m.goodWx)==null?void 0:Ft.outEca.avgSpd)||"-"),1),Ny])]),e.createElementVNode("div",Vy,[fy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=m.goodWx)==null?void 0:Ot.inEca.avgSpd)||"-"),1),gy])]),e.createElementVNode("div",xy,[by,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Pt=m.allWx)==null?void 0:Pt.outEca.avgSpd)||"-"),1),ky])]),e.createElementVNode("div",Dy,[Cy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Lt=m.allWx)==null?void 0:Lt.inEca.avgSpd)||"-"),1),Sy])])])]),e.createElementVNode("div",By,[e.createElementVNode("div",wy,[Ty,e.createElementVNode("div",Ay,[e.createElementVNode("span",null,e.toDisplayString((($t=m.goodWx)==null?void 0:$t.sumFoCons)||"-")+" mt",1)]),Fy,e.createElementVNode("div",Oy,[e.createElementVNode("span",null,e.toDisplayString(((co=m.allWx)==null?void 0:co.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",Py,[Ly,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((io=m.goodWx)==null?void 0:io.outEca.sumFoCons)||"-"),1),$y])]),e.createElementVNode("div",Wy,[Hy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ro=m.goodWx)==null?void 0:ro.inEca.sumFoCons)||"-"),1),My])]),e.createElementVNode("div",Iy,[Gy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mo=m.allWx)==null?void 0:mo.outEca.sumFoCons)||"-"),1),Ry])]),e.createElementVNode("div",zy,[Uy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((po=m.allWx)==null?void 0:po.inEca.sumFoCons)||"-"),1),Yy])])]),e.createElementVNode("div",Zy,[Qy,e.createElementVNode("div",Jy,[e.createElementVNode("span",null,e.toDisplayString(((ho=m.goodWx)==null?void 0:ho.sumDgoCons)||"-")+" mt",1)]),jy,e.createElementVNode("div",Ky,[e.createElementVNode("span",null,e.toDisplayString(((_o=m.allWx)==null?void 0:_o.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",Xy,[qy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Eo=m.goodWx)==null?void 0:Eo.outEca.sumDgoCons)||"-"),1),uy])]),e.createElementVNode("div",vy,[eN,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yo=m.goodWx)==null?void 0:yo.inEca.sumDgoCons)||"-"),1),tN])]),e.createElementVNode("div",oN,[lN,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((No=m.allWx)==null?void 0:No.outEca.sumDgoCons)||"-"),1),aN])]),e.createElementVNode("div",nN,[sN,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vo=m.allWx)==null?void 0:Vo.inEca.sumDgoCons)||"-"),1),cN])])]),e.createElementVNode("div",iN,[dN,e.createElementVNode("div",rN,[e.createElementVNode("span",null,e.toDisplayString(((fo=m.goodWx)==null?void 0:fo.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",mN,[pN,(go=m.goodWx)!=null&&go.distance&&!((bo=(xo=t.reportData)==null?void 0:xo.weather)!=null&&bo.favorableCur&&((ko=m.goodWx)==null?void 0:ko.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",hN,[e.createTextVNode(e.toDisplayString(n.computedPositive((Do=m.goodWx)==null?void 0:Do.avgCf)),1),_N])):(e.openBlock(),e.createElementBlock("b",EN,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",yN,[e.createElementVNode("div",NN,[VN,(S=m.goodWx)!=null&&S.distance?(e.openBlock(),e.createElementBlock("div",fN,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",gN,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",xN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",bN,[e.createElementVNode("span",kN,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",DN,[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(`${(Ie=m.goodWx)!=null&&Ie.distance?"":"analysis-none"} card analysis-card`)},[(lt=m.goodWx)!=null&&lt.distance?(e.openBlock(),e.createElementBlock("div",CN,[e.createElementVNode("div",SN,[BN,wN,e.createElementVNode("div",TN,[e.createElementVNode("div",null,e.toDisplayString((_t=(at=t.reportData)==null?void 0:at.weather)!=null&&_t.noExtrapolation?(Wt=m.goodWx)==null?void 0:Wt.distance:(Ht=m.allWx)==null?void 0:Ht.distance),1),AN,e.createElementVNode("div",null,e.toDisplayString((Mt=m.goodWx)==null?void 0:Mt.pfmSpd),1)]),FN,e.createElementVNode("div",ON,e.toDisplayString(m.timeConclusion.timeAtPfmSpd)+" Hrs",1),PN]),e.createElementVNode("div",LN,[$N,WN,e.createElementVNode("div",HN,[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),MN,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),IN,e.createElementVNode("div",GN,e.toDisplayString(m.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),RN]),e.createElementVNode("div",zN,[UN,YN,e.createElementVNode("div",ZN,[e.createElementVNode("div",null,e.toDisplayString((Yt=(Ut=t.reportData)==null?void 0:Ut.weather)!=null&&Yt.noExtrapolation?(Zt=m.goodWx)==null?void 0:Zt.distance:(Qt=m.allWx)==null?void 0:Qt.distance),1),QN,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.plusAbtSpd),1)]),JN,e.createElementVNode("div",jN,e.toDisplayString(m.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),KN])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",XN,[e.createElementVNode("div",qN,[uN,(Jt=m.goodWx)!=null&&Jt.distance?(e.openBlock(),e.createElementBlock("div",vN,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",eV,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",tV,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",oV,[e.createElementVNode("span",lV,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",aV,[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(`${(jt=m.goodWx)!=null&&jt.distance?"":"analysis-none"} card analysis-card`)},[(Kt=m.goodWx)!=null&&Kt.distance?(e.openBlock(),e.createElementBlock("div",nV,[e.createElementVNode("div",sV,[cV,iV,e.createElementVNode("div",dV,[e.createElementVNode("div",null,e.toDisplayString((qt=(Xt=t.reportData)==null?void 0:Xt.weather)!=null&&qt.noExtrapolation?(ut=m.goodWx)==null?void 0:ut.distance:(vt=m.allWx)==null?void 0:vt.distance),1),rV,e.createElementVNode("div",null,e.toDisplayString((eo=m.goodWx)==null?void 0:eo.pfmSpd),1)]),mV,e.createElementVNode("div",pV,[e.createElementVNode("div",null,e.toDisplayString((to=m.goodWx)==null?void 0:to.sumFoCons)+" "+e.toDisplayString(((oo=m.allWx)==null?void 0:oo.inEca.distance)>0?` + ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),hV,e.createElementVNode("div",null,e.toDisplayString((lo=m.goodWx)==null?void 0:lo.time),1)]),_V,e.createElementVNode("div",EV,e.toDisplayString(m.fuelConclusion.fo.entireCons)+" MT",1),yV]),e.createElementVNode("div",NV,[VV,fV,e.createElementVNode("div",gV,[e.createElementVNode("div",null,e.toDisplayString((no=(ao=t.reportData)==null?void 0:ao.weather)!=null&&no.noExtrapolation?(Co=m.goodWx)==null?void 0:Co.distance:(So=m.allWx)==null?void 0:So.distance),1),xV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),bV,e.createElementVNode("div",kV,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.overTolerance),1),DV,CV]),SV,e.createElementVNode("div",BV,e.toDisplayString(m.fuelConclusion.fo.maxCons)+" MT",1),wV]),e.createElementVNode("div",TV,[AV,FV,e.createElementVNode("div",OV,[e.createElementVNode("div",null,e.toDisplayString((wo=(Bo=t.reportData)==null?void 0:Bo.weather)!=null&&wo.noExtrapolation?(To=m.goodWx)==null?void 0:To.distance:(Ao=m.allWx)==null?void 0:Ao.distance),1),PV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),LV,e.createElementVNode("div",$V,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.underTolerance),1),WV,HV]),MV,e.createElementVNode("div",IV,e.toDisplayString(m.fuelConclusion.fo.minCons)+" MT",1),GV])])):e.createCommentVNode("",!0)],2)]),((Oo=(Fo=m==null?void 0:m.extend)==null?void 0:Fo.cp)==null?void 0:Oo.dgo)>0?(e.openBlock(),e.createElementBlock("div",RV,[e.createElementVNode("div",zV,[UV,(Po=m.goodWx)!=null&&Po.distance?(e.openBlock(),e.createElementBlock("div",YV,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",ZV,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",QV,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",JV,[e.createElementVNode("span",jV,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",KV,[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(`${(Lo=m.goodWx)!=null&&Lo.distance?"":"analysis-none"} card analysis-card`)},[($o=m.goodWx)!=null&&$o.distance?(e.openBlock(),e.createElementBlock("div",XV,[e.createElementVNode("div",qV,[uV,vV,e.createElementVNode("div",ef,[e.createElementVNode("div",null,e.toDisplayString((Ho=(Wo=t.reportData)==null?void 0:Wo.weather)!=null&&Ho.noExtrapolation?(Mo=m.goodWx)==null?void 0:Mo.distance:(Io=m.allWx)==null?void 0:Io.distance),1),tf,e.createElementVNode("div",null,e.toDisplayString((Go=m.goodWx)==null?void 0:Go.pfmSpd),1)]),of,e.createElementVNode("div",lf,[e.createElementVNode("div",null,e.toDisplayString((Ro=m.goodWx)==null?void 0:Ro.sumDgoCons)+" "+e.toDisplayString(((zo=m.allWx)==null?void 0:zo.inEca.distance)>0?` - ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),af,e.createElementVNode("div",null,e.toDisplayString((Uo=m.goodWx)==null?void 0:Uo.time),1)]),nf,e.createElementVNode("div",sf,e.toDisplayString(m.fuelConclusion.dgo.entireCons)+" MT",1),cf]),e.createElementVNode("div",df,[rf,mf,e.createElementVNode("div",pf,[e.createElementVNode("div",null,e.toDisplayString((Zo=(Yo=t.reportData)==null?void 0:Yo.weather)!=null&&Zo.noExtrapolation?(Qo=m.goodWx)==null?void 0:Qo.distance:(Ko=m.allWx)==null?void 0:Ko.distance),1),hf,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),_f,e.createElementVNode("div",Ef,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.overTolerance),1),yf,Nf]),Vf,e.createElementVNode("div",ff,e.toDisplayString(m.fuelConclusion.dgo.maxCons)+" MT",1),gf]),e.createElementVNode("div",xf,[bf,kf,e.createElementVNode("div",Df,[e.createElementVNode("div",null,e.toDisplayString((qo=(Xo=t.reportData)==null?void 0:Xo.weather)!=null&&qo.noExtrapolation?(uo=m.goodWx)==null?void 0:uo.distance:(vo=m.allWx)==null?void 0:vo.distance),1),Cf,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),Sf,e.createElementVNode("div",Bf,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.underTolerance),1),wf,Tf]),Af,e.createElementVNode("div",Ff,e.toDisplayString(m.fuelConclusion.dgo.minCons)+" MT",1),Of])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),Pf,e.createElementVNode("div",Lf,[e.createElementVNode("div",$f,[Wf,e.createElementVNode("div",Hf,[e.createElementVNode("div",Mf,[If,Gf,e.createElementVNode("div",Rf,[e.createElementVNode("div",null,e.toDisplayString((tl=(el=t.reportData)==null?void 0:el.weather)!=null&&tl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),zf,Uf]),Yf]),e.createElementVNode("div",Zf,[Qf,Jf,e.createElementVNode("div",jf,[e.createElementVNode("div",null,e.toDisplayString((ll=(ol=t.reportData)==null?void 0:ol.weather)!=null&&ll.noExtrapolation?"Good Weather Distance":"Total Distance"),1),Kf,Xf]),qf]),e.createElementVNode("div",uf,[vf,e0,e.createElementVNode("div",t0,[e.createElementVNode("div",null,e.toDisplayString((nl=(al=t.reportData)==null?void 0:al.weather)!=null&&nl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),o0,l0]),a0]),n0])]),e.createElementVNode("div",s0,[c0,e.createElementVNode("div",i0,[e.createElementVNode("div",d0,[r0,m0,e.createElementVNode("div",p0,[e.createElementVNode("div",null,e.toDisplayString((cl=(sl=t.reportData)==null?void 0:sl.weather)!=null&&cl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),h0,_0]),E0,y0,N0]),e.createElementVNode("div",V0,[f0,g0,e.createElementVNode("div",x0,[e.createElementVNode("div",null,e.toDisplayString((dl=(il=t.reportData)==null?void 0:il.weather)!=null&&dl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),b0,k0]),D0,C0,S0]),e.createElementVNode("div",B0,[w0,T0,e.createElementVNode("div",A0,[e.createElementVNode("div",null,e.toDisplayString((ml=(rl=t.reportData)==null?void 0:rl.weather)!=null&&ml.noExtrapolation?"Good Weather Distance":"Total Distance"),1),F0,O0]),P0,L0,$0]),W0,H0])])])])])}),128))])],2)}const I0=we(fh,[["render",M0],["__scopeId","data-v-d80f1a42"]]),Dj="",G0={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"?X(o).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?X(o).utc().format("MMMM-DD/HHmm[Z]"):X(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}°${me.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 g=c.extend.cp;c.inventory.sample.hours.forEach((x,h)=>{let N=JSON.parse(JSON.stringify(x));N.cp=g,o.push(N)})}),o.sort(function(c,p){let g=c.date,x=p.date;return g-x});let s="",t="";o.forEach((c,p)=>{c.seg!==s&&(c.isFirstSeg=!0,s=c.seg);let g=c.type.charAt(0);c.abbreviation=g;const x=X(c.utc).utc().format("D-MMM");x!==t&&(c.lastdate=x,t=x),g==="A"?c.type="":g==="M"&&(c.type="*"),c.time=X(c.utc).utc().format("HH:mm[Z]"),c.lngPretty=this.getLonLat(me.LngLatHelper.lng2pretty(c.lng)),c.latPretty=this.getLonLat(me.LngLatHelper.lat2pretty(c.lat))}),this.summaryTable=o}}},vs=o=>(e.pushScopeId("data-v-c9bf3740"),o=o(),e.popScopeId(),o),R0=vs(()=>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)),z0={id:"second-table",class:"table"},U0={class:"summary-table"},Y0=vs(()=>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)),Z0={class:"summary-tbody"},Q0=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),J0={class:"voyage-map",style:{"page-break-inside":"avoid"}},j0=vs(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),K0=["src"],X0=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 q0(o,s,t,r,a,n){var E,c,p,g,x;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||(g=(p=t.reportData)==null?void 0:p.weather)!=null&&g.overallAsGoodWx?"watermark fli-main":"fli-main")},[R0,e.createElementVNode("div",z0,[e.createElementVNode("div",null,[e.createElementVNode("table",U0,[Y0,e.createElementVNode("tbody",Z0,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.summaryTable,(h,N)=>{var D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,M,J,Y;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"?"":(b=h.cp)==null?void 0:b.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=(A=h.meteo)==null?void 0:A.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=(V=(w=h.meteo)==null?void 0:w.wave)==null?void 0:V.swell)==null?void 0:O.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((z=(R=(G=h.meteo)==null?void 0:G.wave)==null?void 0:R.sig)==null?void 0:z.height)??"--"),3),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((U=h.meteo)==null?void 0:U.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"?"":($=h.cp)==null?void 0:$.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"?"":(J=h.noon)==null?void 0:J.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":(Y=h.noon)==null?void 0:Y.dgoBrob),3)])}),128))])])])]),Q0,e.createElementVNode("div",J0,[j0,e.createElementVNode("img",{style:{width:"100%"},src:(x=t.reportData)==null?void 0:x.chartUrl,alt:""},null,8,K0),X0])],2)}const u0=we(G0,[["render",q0],["__scopeId","data-v-c9bf3740"]]),Cj="",v0={components:{Summary:I0,Inventory:u0},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)}}},eg={class:"voyage-report"};function tg(o,s,t,r,a,n){const E=e.resolveComponent("Summary"),c=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",eg,[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 nc=we(v0,[["render",tg],["__scopeId","data-v-e76f9905"]]),Sj="",og={name:"OrmVoyageSummary",components:{Lng:ja,Lat:Ka,Editor:pl},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`${X(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 me.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return me.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:X(n.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+X(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-44fbbd8a"),o=o(),e.popScopeId(),o),lg={class:"report-summary"},ag={class:"section voyage-section flex-space"},ng={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},sg={class:"flex-space label-block",style:{width:"100%"}},cg=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),ig={style:{"text-transform":"uppercase"}},dg={class:"flex-space label-block",style:{width:"100%"}},rg=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),mg={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},pg={class:"flex-space label-block",style:{width:"100%"}},hg=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),_g={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},Eg={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},yg={class:"flex-space label-block",style:{width:"100%"}},Ng=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),Vg={key:0,class:"flex-end",style:{flex:"1"}},fg={key:1,class:"flex-end",style:{flex:"1"}},gg=i(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),xg={class:"flex-end",style:{width:"150px"}},bg={class:"flex-space label-block",style:{width:"100%"}},kg=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),Dg={key:0,class:"flex-end",style:{flex:"1"}},Cg={key:1,class:"flex-end",style:{flex:"1"}},Sg=i(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Bg={class:"flex-end",style:{width:"150px"}},wg={class:"flex-space label-block",style:{width:"100%"}},Tg=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),Ag={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},Fg={class:"section weather-section"},Og=i(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),Pg={class:"definition"},Lg={class:"txt"},$g={class:"section summary-section"},Wg=i(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),Hg={class:"phase-box"},Mg={class:"phase-index"},Ig={class:"phase-position"},Gg={key:0},Rg={key:1},zg=i(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),Ug={class:"phase-position"},Yg={key:0},Zg={key:1},Qg=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),Jg={class:"phase-cp flex-space"},jg={class:"cp-box"},Kg=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)),Xg={class:"flex-space"},qg=i(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),ug=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),vg=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),e2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),t2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),o2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),l2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),a2=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),n2={class:"phase-conclusion flex-space"},s2={class:"item-conclusion"},c2=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),i2={class:"value flex-start"},d2=i(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),r2={key:0,class:"label flex-end"},m2={key:0},p2={key:1},h2={key:2},_2={key:1,class:"label flex-end"},E2={key:2,class:"value flex-end"},y2={key:0},N2=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),V2={class:"gain"},f2=i(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),g2={key:1},x2=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),b2={class:"lost"},k2=i(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),D2={key:2},C2={class:"item-conclusion"},S2=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),B2={class:"value flex-start"},w2=i(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),T2={key:0,class:"label flex-end"},A2={key:0},F2={key:1},O2={key:2},P2={key:1,class:"label flex-end"},L2={key:2,class:"value flex-end"},$2={key:0},W2=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),H2={class:"gain"},M2=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),I2={key:1},G2=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),R2={class:"lost"},z2=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),U2={key:2},Y2={class:"item-conclusion"},Z2=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),Q2={class:"value flex-start"},J2=i(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),j2={key:0,class:"label flex-end"},K2={key:0},X2={key:1},q2={key:2},u2={key:1,class:"label flex-end"},v2={key:2,class:"value flex-end"},ex={key:0},tx=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),ox={class:"gain"},lx=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),ax={key:1},nx=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),sx={class:"lost"},cx=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),ix={key:2},dx=i(()=>e.createElementVNode("div",{class:"tips flex-end"},"*Please see voyage analysis pages for the details.",-1)),rx=i(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),mx={key:0,class:"exclusion-block"},px=i(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),hx=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)),_x={style:{margin:"8px 0"}},Ex={class:"remark-table"},yx=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)),Nx=["innerHTML"],Vx={class:"section segment-section"},fx=i(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),gx={class:"segment-index flex-center"},xx={class:"segment-position"},bx={key:0},kx={key:1},Dx=i(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),Cx={class:"segment-position"},Sx={key:0},Bx={key:1},wx=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),Tx={style:{margin:"10px 0 0"}},Ax=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)),Fx=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)),Ox=i(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),Px={class:"good-wx"},Lx={class:"good-wx"},$x=i(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),Wx={class:"good-wx"},Hx={class:"good-wx"},Mx=i(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),Ix={class:"good-wx"},Gx={class:"good-wx"},Rx=i(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),zx={class:"good-wx"},Ux={class:"good-wx"},Yx=i(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),Zx={class:"good-wx"},Qx={class:"good-wx"},Jx=i(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),jx={class:"good-wx"},Kx={class:"good-wx"},Xx=i(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),qx={class:"good-wx"},ux={class:"good-wx"},vx={key:0,class:"flex-end tip"},eb={key:1,class:"segment-speed"},tb={class:"flex-center"},ob=i(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),lb={class:"speed-right flex-space"},ab=i(()=>e.createElementVNode("span",null,"-",-1)),nb=i(()=>e.createElementVNode("label",null,"=",-1)),sb={class:"speed"},cb={key:1,class:"speed"},ib={key:0,class:"speed"},db=i(()=>e.createElementVNode("span",null,"-",-1)),rb=i(()=>e.createElementVNode("label",null,"=",-1)),mb={class:"speed"},pb=i(()=>e.createElementVNode("span",null,"-",-1)),hb=i(()=>e.createElementVNode("label",null,"=",-1)),_b={class:"speed"},Eb=i(()=>e.createElementVNode("span",null,"-",-1)),yb=i(()=>e.createElementVNode("span",null,"-",-1)),Nb=i(()=>e.createElementVNode("label",null,"=",-1)),Vb={class:"speed"},fb={key:2,class:"under"},gb={key:3,class:"over"},xb={class:"flex-center"},bb=i(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),kb={class:"speed-right formula flex-space"},Db=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Cb=i(()=>e.createElementVNode("label",null,"-",-1)),Sb=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Bb=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),wb=i(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),Tb={key:0},Ab=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Fb=i(()=>e.createElementVNode("label",null,"-",-1)),Ob=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Pb=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Lb=i(()=>e.createElementVNode("label",null,"-",-1)),$b=i(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Wb=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Hb=i(()=>e.createElementVNode("label",null,"-",-1)),Mb=i(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Ib=i(()=>e.createElementVNode("label",null,"-",-1)),Gb=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Rb={key:2,class:"segment-speed"},zb={class:"flex-center"},Ub=i(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Yb={class:"speed-right flex-space"},Zb=i(()=>e.createElementVNode("span",null,"-",-1)),Qb=i(()=>e.createElementVNode("span",null,"-",-1)),Jb=i(()=>e.createElementVNode("label",null,"=",-1)),jb={class:"speed"},Kb=i(()=>e.createElementVNode("span",null,"-",-1)),Xb=i(()=>e.createElementVNode("label",null,"=",-1)),qb={class:"speed"},ub={key:2,class:"under"},vb={key:3,class:"over"},ek={class:"flex-center"},tk=i(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),ok={class:"speed-right formula flex-space"},lk=i(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),ak=i(()=>e.createElementVNode("label",null,"-",-1)),nk=i(()=>e.createElementVNode("label",null,"Current Factor",-1)),sk=i(()=>e.createElementVNode("label",null,"-",-1)),ck=i(()=>e.createElementVNode("label",null,"Weather Factor",-1)),ik=i(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),dk=i(()=>e.createElementVNode("label",null,"-",-1)),rk=i(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),mk=i(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),pk=i(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),hk={class:"segment-formula"},_k={class:"header-block flex-start"},Ek=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),yk={class:"title"},Nk={key:0,style:{"margin-left":"4px","font-weight":"300"}},Vk={class:"formula-block"},fk={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)),xk={class:"formula-right flex-evenly"},bk={class:"fraction",style:{width:"240px"}},kk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),Dk=i(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Ck=i(()=>e.createElementVNode("div",null,"(a)",-1)),Sk={class:"flex-center"},Bk={class:"formula-left flex-space"},wk=i(()=>e.createElementVNode("label",null,"=",-1)),Tk={class:"formula-right flex-evenly"},Ak={class:"fraction",style:{width:"240px"}},Fk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),Ok=i(()=>e.createElementVNode("div",null,"(b)",-1)),Pk={class:"flex-center"},Lk={class:"formula-left flex-space"},$k=i(()=>e.createElementVNode("label",null,"=",-1)),Wk={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,"(c)",-1)),Gk=e.createStaticVNode('<div class="flex-start" data-v-44fbbd8a><div class="flex-space" style="width:300px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Time Lost</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(a)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Time Gained</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(c)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(a)</div></div></div>',1),Rk={class:"formula-desc"},zk={class:"flex-end"},Uk=i(()=>e.createElementVNode("label",null,"Time Lost",-1)),Yk={class:"flex-end"},Zk=i(()=>e.createElementVNode("label",null,"Time Gained",-1)),Qk={class:"flex-end"},Jk=i(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),jk={key:0,class:"formula-block",style:{"font-weight":"400"}},Kk={class:"flex-evenly"},Xk=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)),qk={class:"formula-right flex-evenly"},uk={class:"fraction",style:{width:"240px"}},vk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),e3=i(()=>e.createElementVNode("div",null,"=",-1)),t3=i(()=>e.createElementVNode("div",null,"(a')",-1)),o3={class:"flex-center"},l3={class:"formula-left flex-space"},a3=i(()=>e.createElementVNode("label",null,"=",-1)),n3={class:"formula-right flex-evenly"},s3={class:"fraction",style:{width:"240px"}},c3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),i3=i(()=>e.createElementVNode("div",null,"=",-1)),d3=i(()=>e.createElementVNode("div",null,"(b')",-1)),r3={class:"flex-center"},m3={class:"formula-left flex-space"},p3=i(()=>e.createElementVNode("label",null,"=",-1)),h3={class:"formula-right flex-evenly"},_3={class:"fraction",style:{width:"240px"}},E3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),y3=i(()=>e.createElementVNode("div",null,"=",-1)),N3=i(()=>e.createElementVNode("div",null,"(c')",-1)),V3={class:"formula-conclusion",style:{"margin-bottom":"0"}},f3={key:0,class:"flex-evenly",style:{width:"500px"}},g3=i(()=>e.createElementVNode("div",null,"Time Lost",-1)),x3=i(()=>e.createElementVNode("div",null,"=",-1)),b3=i(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),k3=i(()=>e.createElementVNode("div",null,"=",-1)),D3=i(()=>e.createElementVNode("div",null,"-",-1)),C3=i(()=>e.createElementVNode("div",null,"=",-1)),S3={key:1,class:"flex-evenly",style:{width:"500px"}},B3=i(()=>e.createElementVNode("div",null,"Time Lost",-1)),w3=i(()=>e.createElementVNode("div",null,"=",-1)),T3=i(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),A3=i(()=>e.createElementVNode("div",null,"=",-1)),F3=i(()=>e.createElementVNode("div",null,"-",-1)),O3=i(()=>e.createElementVNode("div",null,"=",-1)),P3=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),L3={key:1,class:"formula-conclusion"},$3=i(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),W3={class:"segment-formula"},H3={class:"header-block flex-start"},M3=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),I3={class:"title"},G3={key:0,style:{"margin-left":"4px","font-weight":"300"}},R3={class:"formula-block"},z3={class:"flex-evenly"},U3=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)),Y3={class:"formula-right flex-evenly"},Z3={class:"fraction",style:{width:"240px"}},Q3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),J3=i(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),j3=i(()=>e.createElementVNode("div",null,"x",-1)),K3=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)),X3=i(()=>e.createElementVNode("div",null,"(d)",-1)),q3={style:{"line-height":"1"}},u3=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)),v3={key:0,class:"tips flex-end",style:{"font-size":"14px"}},eD={class:"flex-center"},tD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),oD={class:"formula-right flex-evenly"},lD={class:"fraction",style:{width:"240px"}},aD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),nD=i(()=>e.createElementVNode("div",null,"x",-1)),sD=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)),cD=i(()=>e.createElementVNode("div",null,"(e)",-1)),iD={class:"flex-center"},dD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),rD={class:"formula-right flex-evenly"},mD={class:"fraction",style:{width:"240px"}},pD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),hD=i(()=>e.createElementVNode("div",null,"x",-1)),_D=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)),ED=i(()=>e.createElementVNode("div",null,"(f)",-1)),yD=e.createStaticVNode('<div class="flex-start" data-v-44fbbd8a><div class="flex-space" style="width:300px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Fuel Over-consumption</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(d)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Fuel Saving</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(f)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(d)</div></div></div>',1),ND={class:"flex-center"},VD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),fD={class:"formula-right flex-evenly"},gD={class:"fraction",style:{width:"270px"}},xD=i(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),bD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),kD={class:"flex-center"},DD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),CD={class:"formula-right flex-evenly"},SD={class:"fraction",style:{width:"270px"}},BD=i(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),wD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),TD=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)),AD={class:"header-block flex-start",style:{"margin-top":"10px"}},FD=i(()=>e.createElementVNode("i",{class:"iconfont"},"  ",-1)),OD={class:"title"},PD={key:0,class:"formula-block"},LD={key:0,class:"flex-evenly"},$D=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)),WD={class:"formula-right flex-evenly"},HD={class:"fraction",style:{width:"60px"}},MD=i(()=>e.createElementVNode("div",null,"-",-1)),ID={class:"fraction",style:{width:"60px"}},GD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),RD=i(()=>e.createElementVNode("div",null,"24",-1)),zD=i(()=>e.createElementVNode("div",null,"*",-1)),UD=i(()=>e.createElementVNode("div",null,"=",-1)),YD={class:"flex-evenly"},ZD=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)),QD={class:"formula-right flex-evenly"},JD={class:"fraction",style:{width:"240px"}},jD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),KD=i(()=>e.createElementVNode("div",null,"x",-1)),XD={class:"fraction",style:{width:"240px"}},qD={key:0},uD=i(()=>e.createElementVNode("span",null," + ",-1)),vD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),eC=i(()=>e.createElementVNode("div",null,"=",-1)),tC=i(()=>e.createElementVNode("div",null,"(d')",-1)),oC={class:"flex-evenly"},lC=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),aC={class:"formula-right flex-evenly"},nC={class:"fraction",style:{width:"240px"}},sC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),cC=i(()=>e.createElementVNode("div",null,"x",-1)),iC={class:"fraction",style:{width:"240px"}},dC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),rC=i(()=>e.createElementVNode("div",null,"24",-1)),mC=i(()=>e.createElementVNode("div",null,"=",-1)),pC=i(()=>e.createElementVNode("div",null,"(e')",-1)),hC={class:"flex-evenly"},_C=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),EC={class:"formula-right flex-evenly"},yC={class:"fraction",style:{width:"240px"}},NC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),VC=i(()=>e.createElementVNode("div",null,"x",-1)),fC={class:"fraction",style:{width:"240px"}},gC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),xC=i(()=>e.createElementVNode("div",null,"24",-1)),bC=i(()=>e.createElementVNode("div",null,"=",-1)),kC=i(()=>e.createElementVNode("div",null,"(f')",-1)),DC={class:"formula-conclusion",style:{"margin-bottom":"0"}},CC={class:"flex-evenly",style:{width:"500px"}},SC=i(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),BC=i(()=>e.createElementVNode("div",null,"=",-1)),wC=i(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),TC=i(()=>e.createElementVNode("div",null,"=",-1)),AC=i(()=>e.createElementVNode("div",null,"-",-1)),FC=i(()=>e.createElementVNode("div",null,"=",-1)),OC={key:0,class:"flex-evenly"},PC=i(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),LC=i(()=>e.createElementVNode("div",null,"=",-1)),$C={class:"fraction"},WC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),HC=i(()=>e.createElementVNode("div",null,"=",-1)),MC={class:"flex-evenly",style:{width:"700px"}},IC=i(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),GC=i(()=>e.createElementVNode("div",null,"=",-1)),RC=i(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),zC=i(()=>e.createElementVNode("div",null,"=",-1)),UC=i(()=>e.createElementVNode("div",null,"-",-1)),YC=i(()=>e.createElementVNode("div",null,"=",-1)),ZC={key:0,class:"flex-evenly",style:{width:"500px"}},QC=i(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),JC=i(()=>e.createElementVNode("div",null,"=",-1)),jC={class:"fraction",style:{width:"140px"}},KC=i(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),XC=i(()=>e.createElementVNode("div",null,"=",-1)),qC=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),uC={key:1,class:"formula-conclusion"},vC={class:"header-block flex-end",style:{"margin-top":"10px"}},eS=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),tS={class:"title"},oS={key:0,class:"formula-block"},lS={class:"flex-evenly"},aS=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)),nS={class:"formula-right flex-evenly"},sS={class:"fraction",style:{width:"240px"}},cS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),iS=i(()=>e.createElementVNode("div",null,"x",-1)),dS={class:"fraction",style:{width:"240px"}},rS={key:0},mS=i(()=>e.createElementVNode("span",null," - ",-1)),pS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),hS=i(()=>e.createElementVNode("div",null,"=",-1)),_S=i(()=>e.createElementVNode("div",null,"(d'')",-1)),ES={class:"flex-evenly"},yS=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),NS={class:"formula-right flex-evenly"},VS={class:"fraction",style:{width:"240px"}},fS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),gS=i(()=>e.createElementVNode("div",null,"x",-1)),xS={class:"fraction",style:{width:"240px"}},bS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),kS=i(()=>e.createElementVNode("div",null,"24",-1)),DS=i(()=>e.createElementVNode("div",null,"=",-1)),CS=i(()=>e.createElementVNode("div",null,"(e'')",-1)),SS={class:"flex-evenly"},BS=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),wS={class:"formula-right flex-evenly"},TS={class:"fraction",style:{width:"240px"}},AS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),FS=i(()=>e.createElementVNode("div",null,"x",-1)),OS={class:"fraction",style:{width:"240px"}},PS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),LS=i(()=>e.createElementVNode("div",null,"24",-1)),$S=i(()=>e.createElementVNode("div",null,"=",-1)),WS=i(()=>e.createElementVNode("div",null,"(f'')",-1)),HS={class:"formula-conclusion",style:{"margin-bottom":"0"}},MS={key:0,class:"flex-evenly",style:{width:"500px"}},IS=i(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),GS=i(()=>e.createElementVNode("div",null,"=",-1)),RS=i(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),zS=i(()=>e.createElementVNode("div",null,"=",-1)),US=i(()=>e.createElementVNode("div",null,"-",-1)),YS=i(()=>e.createElementVNode("div",null,"=",-1)),ZS={key:1,class:"flex-evenly",style:{width:"700px"}},QS=i(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),JS=i(()=>e.createElementVNode("div",null,"=",-1)),jS=i(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),KS=i(()=>e.createElementVNode("div",null,"=",-1)),XS=i(()=>e.createElementVNode("div",null,"-",-1)),qS=i(()=>e.createElementVNode("div",null,"=",-1)),uS=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),vS={key:1,class:"formula-conclusion"};function e4(o,s,t,r,a,n){var g,x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,M,J,Y,j,se,ce;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",lg,[e.createElementVNode("div",ag,[e.createElementVNode("div",ng,[e.createElementVNode("div",sg,[cg,e.createElementVNode("span",ig,e.toDisplayString(t.report.preparedFor),1)]),e.createElementVNode("div",dg,[rg,e.createElementVNode("span",mg,e.toDisplayString((x=(g=t.report)==null?void 0:g.vessel)==null?void 0:x.name)+" ("+e.toDisplayString((N=(h=t.report)==null?void 0:h.vessel)==null?void 0:N.type)+")",1)]),e.createElementVNode("div",pg,[hg,e.createElementVNode("span",_g,e.toDisplayString((b=(D=t.report)==null?void 0:D.voyage)==null?void 0:b.number),1)])]),e.createElementVNode("div",Eg,[e.createElementVNode("div",yg,[Ng,(k=(C=t.report)==null?void 0:C.departure)!=null&&k.portName?(e.openBlock(),e.createElementBlock("span",Vg,e.toDisplayString((F=(A=t.report)==null?void 0:A.departure)==null?void 0:F.portName),1)):(e.openBlock(),e.createElementBlock("div",fg,[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"]),gg,e.createVNode(c,{lng:(V=t.report.departure)==null?void 0:V.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",xg,e.toDisplayString(n.computeUTCTime((O=t.report.departure)==null?void 0:O.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",bg,[kg,(R=(G=t.report)==null?void 0:G.arrival)!=null&&R.portName?(e.openBlock(),e.createElementBlock("span",Dg,e.toDisplayString((U=(z=t.report)==null?void 0:z.arrival)==null?void 0:U.portName),1)):(e.openBlock(),e.createElementBlock("div",Cg,[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"]),Sg,e.createVNode(c,{lng:($=(H=t.report)==null?void 0:H.arrival)==null?void 0:$.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",Bg,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",wg,[Tg,e.createElementVNode("span",Ag,e.toDisplayString((Y=(J=t.report)==null?void 0:J.voyage)==null?void 0:Y.loadCondition),1)])])]),e.createElementVNode("div",Fg,[Og,e.createElementVNode("div",Pg,[e.createElementVNode("div",Lg,e.toDisplayString(n.computeWeatherDef(t.report.weather)),1)])]),e.createElementVNode("div",$g,[Wg,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((j=t.report)==null?void 0:j.segments,(l,q)=>{var ee,te,oe,le,ae,ie,de,re,Ee,u,he,ye,Ne,pe,ge,xe,be,ke,De,Ce,Fe,Oe,Pe,Le,$e,We,He,Me,Ve,Je,je,Ke,T,Se,Ue,Xe,qe,ue,ve,et,m;return e.openBlock(),e.createElementBlock("div",{key:"summary"+q,class:"segment-box flex-space"},[e.createElementVNode("div",Hg,[e.createElementVNode("div",Mg,"Seg."+e.toDisplayString(q+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ee=l==null?void 0:l.extend)==null?void 0:ee.segTimes,(W,Be)=>{var Ge,Ye,_e,Ze,tt,ot,rt,mt,pt,ht;return e.openBlock(),e.createElementBlock("div",{key:Be,class:"phase-row flex-space"},[e.createElementVNode("div",Ig,[(Ge=W==null?void 0:W.departure)!=null&&Ge.portName?(e.openBlock(),e.createElementBlock("span",Gg,e.toDisplayString((Ye=W==null?void 0:W.departure)==null?void 0:Ye.portName),1)):(e.openBlock(),e.createElementBlock("span",Rg,e.toDisplayString(n.computeLat((_e=W==null?void 0:W.departure)==null?void 0:_e.lat).pretty)+", "+e.toDisplayString(n.computeLng((Ze=W==null?void 0:W.departure)==null?void 0:Ze.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((tt=W==null?void 0:W.departure)==null?void 0:tt.utcTime))+")",1)]),zg,e.createElementVNode("div",Ug,[(ot=W==null?void 0:W.arrival)!=null&&ot.portName?(e.openBlock(),e.createElementBlock("span",Yg,e.toDisplayString((rt=W==null?void 0:W.arrival)==null?void 0:rt.portName),1)):(e.openBlock(),e.createElementBlock("span",Zg,e.toDisplayString(n.computeLat((mt=W==null?void 0:W.arrival)==null?void 0:mt.lat).pretty)+", "+e.toDisplayString(n.computeLng((pt=W==null?void 0:W.arrival)==null?void 0:pt.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((ht=W==null?void 0:W.arrival)==null?void 0:ht.utcTime))+")",1)])])}),128)),Qg,e.createElementVNode("div",Jg,[e.createElementVNode("div",jg,[Kg,e.createElementVNode("div",Xg,[qg,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((oe=(te=l==null?void 0:l.extend)==null?void 0:te.cp)==null?void 0:oe.speed)+" |",1),e.createElementVNode("span",null,[ug,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(ae=(le=l==null?void 0:l.extend)==null?void 0:le.cp)==null?void 0:ae.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[vg,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(de=(ie=l==null?void 0:l.extend)==null?void 0:ie.cp)==null?void 0:de.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((Ee=(re=l==null?void 0:l.extend)==null?void 0:re.cp)==null?void 0:Ee.fo)+" |",1),e.createElementVNode("span",null,[e2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[t2,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((he=(u=l==null?void 0:l.extend)==null?void 0:u.cp)==null?void 0:he.dgo)+" |",1),e.createElementVNode("span",null,[o2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[l2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Under")),1)])])])])]),a2,e.createElementVNode("div",n2,[e.createElementVNode("div",s2,[c2,e.createElementVNode("div",i2,[e.createElementVNode("div",null,e.toDisplayString(l.allWx.time),1),d2]),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",r2,[((ye=l==null?void 0:l.timeConclusion)==null?void 0:ye.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",m2,"Time Gained")):((Ne=l==null?void 0:l.timeConclusion)==null?void 0:Ne.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",p2,"Time Lost")):(e.openBlock(),e.createElementBlock("div",h2,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",_2,e.toDisplayString(a.noGoodWxDay),1)),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",E2,[((pe=l==null?void 0:l.timeConclusion)==null?void 0:pe.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",y2,[N2,e.createElementVNode("span",V2,e.toDisplayString((ge=l==null?void 0:l.timeConclusion)==null?void 0:ge.timeGain),1),f2])):((xe=l==null?void 0:l.timeConclusion)==null?void 0:xe.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",g2,[x2,e.createElementVNode("span",b2,e.toDisplayString((be=l==null?void 0:l.timeConclusion)==null?void 0:be.timeLost),1),k2])):(e.openBlock(),e.createElementBlock("div",D2,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",C2,[S2,e.createElementVNode("div",B2,[e.createElementVNode("div",null,e.toDisplayString(l.allWx.sumFoCons),1),w2]),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",T2,[((De=(ke=l==null?void 0:l.fuelConclusion)==null?void 0:ke.fo)==null?void 0:De.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",A2,"FO Saving")):((Fe=(Ce=l==null?void 0:l.fuelConclusion)==null?void 0:Ce.fo)==null?void 0:Fe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",F2,"FO Over-consumption")):(e.openBlock(),e.createElementBlock("div",O2,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",P2,e.toDisplayString(a.noGoodWxDay),1)),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",L2,[((Pe=(Oe=l==null?void 0:l.fuelConclusion)==null?void 0:Oe.fo)==null?void 0:Pe.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",$2,[W2,e.createElementVNode("span",H2,e.toDisplayString(($e=(Le=l==null?void 0:l.fuelConclusion)==null?void 0:Le.fo)==null?void 0:$e.saving),1),M2])):((He=(We=l==null?void 0:l.fuelConclusion)==null?void 0:We.fo)==null?void 0:He.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",I2,[G2,e.createElementVNode("span",R2,e.toDisplayString((Ve=(Me=l==null?void 0:l.fuelConclusion)==null?void 0:Me.fo)==null?void 0:Ve.overCons),1),z2])):(e.openBlock(),e.createElementBlock("div",U2,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Y2,[Z2,e.createElementVNode("div",Q2,[e.createElementVNode("div",null,e.toDisplayString(l.allWx.sumDgoCons),1),J2]),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",j2,[((je=(Je=l==null?void 0:l.fuelConclusion)==null?void 0:Je.dgo)==null?void 0:je.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",K2,"DO/GO Saving")):((T=(Ke=l==null?void 0:l.fuelConclusion)==null?void 0:Ke.dgo)==null?void 0:T.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",X2,"DO/GO Over-consumption")):(e.openBlock(),e.createElementBlock("div",q2,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",u2,e.toDisplayString(a.noGoodWxDay),1)),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",v2,[((Ue=(Se=l==null?void 0:l.fuelConclusion)==null?void 0:Se.dgo)==null?void 0:Ue.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",ex,[tx,e.createElementVNode("span",ox,e.toDisplayString((qe=(Xe=l==null?void 0:l.fuelConclusion)==null?void 0:Xe.dgo)==null?void 0:qe.saving),1),lx])):((ve=(ue=l==null?void 0:l.fuelConclusion)==null?void 0:ue.dgo)==null?void 0:ve.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",ax,[nx,e.createElementVNode("span",sx,e.toDisplayString((m=(et=l==null?void 0:l.fuelConclusion)==null?void 0:et.dgo)==null?void 0:m.overCons),1),cx])):(e.openBlock(),e.createElementBlock("div",ix,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),dx]),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((se=t.report)==null?void 0:se.remarks)&&!a.exclusion.length?"section remark-section print-hidden":"section remark-section")},[rx,a.exclusion.length?(e.openBlock(),e.createElementBlock("div",mx,[px,hx,e.createElementVNode("div",_x,[e.createElementVNode("table",Ex,[yx,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.exclusion,(l,q)=>(e.openBlock(),e.createElementBlock("tr",{key:q},[e.createElementVNode("td",null,e.toDisplayString(q+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((ce=t.report)==null?void 0:ce.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,Nx))],2)],2),e.createElementVNode("div",Vx,[fx,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.report.segments,(l,q)=>{var ee,te,oe,le,ae,ie,de,re,Ee,u,he,ye,Ne,pe,ge,xe,be,ke,De,Ce,Fe,Oe,Pe,Le,$e,We,He,Me,Ve,Je,je,Ke,T,Se,Ue,Xe,qe,ue,ve,et,m,W,Be,Ge,Ye,_e,Ze,tt,ot,rt,mt,pt,ht,yt,Nt,Vt,ft,gt,xt,bt,kt,Dt,Ct,St,Bt,wt,Tt,At,Ft,Ot,Pt,Lt,$t,co,io,ro,mo,po,ho,_o,Eo,yo,No,Vo,fo,go,xo,bo,ko,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ee.segTimes,(Re,nj)=>{var wc,Tc,Ac,Fc,Oc,Pc,Lc,$c,Wc,Hc;return e.openBlock(),e.createElementBlock("div",{key:nj,class:"segment-row flex-space"},[e.createElementVNode("div",xx,[(wc=Re==null?void 0:Re.departure)!=null&&wc.portName?(e.openBlock(),e.createElementBlock("span",bx,e.toDisplayString((Tc=Re==null?void 0:Re.departure)==null?void 0:Tc.portName),1)):(e.openBlock(),e.createElementBlock("span",kx,e.toDisplayString(n.computeLat((Ac=Re==null?void 0:Re.departure)==null?void 0:Ac.lat).pretty)+", "+e.toDisplayString(n.computeLng((Fc=Re==null?void 0:Re.departure)==null?void 0:Fc.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Oc=Re==null?void 0:Re.departure)==null?void 0:Oc.utcTime))+")",1)]),Dx,e.createElementVNode("div",Cx,[(Pc=Re==null?void 0:Re.arrival)!=null&&Pc.portName?(e.openBlock(),e.createElementBlock("span",Sx,e.toDisplayString((Lc=Re==null?void 0:Re.arrival)==null?void 0:Lc.portName),1)):(e.openBlock(),e.createElementBlock("span",Bx,e.toDisplayString(n.computeLat(($c=Re==null?void 0:Re.arrival)==null?void 0:$c.lat).pretty)+", "+e.toDisplayString(n.computeLng((Wc=Re==null?void 0:Re.arrival)==null?void 0:Wc.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Hc=Re==null?void 0:Re.arrival)==null?void 0:Hc.utcTime))+")",1)])])}),128)),wx,e.createElementVNode("div",Tx,[e.createElementVNode("table",null,[Ax,Fx,e.createElementVNode("tr",null,[Ox,e.createElementVNode("td",Px,e.toDisplayString((oe=(te=l==null?void 0:l.goodWx)==null?void 0:te.outEca)==null?void 0:oe.distance),1),e.createElementVNode("td",Lx,e.toDisplayString((ae=(le=l==null?void 0:l.goodWx)==null?void 0:le.inEca)==null?void 0:ae.distance),1),e.createElementVNode("td",null,e.toDisplayString((de=(ie=l==null?void 0:l.allWx)==null?void 0:ie.outEca)==null?void 0:de.distance),1),e.createElementVNode("td",null,e.toDisplayString((Ee=(re=l==null?void 0:l.allWx)==null?void 0:re.inEca)==null?void 0:Ee.distance),1)]),e.createElementVNode("tr",null,[$x,e.createElementVNode("td",Wx,e.toDisplayString((he=(u=l==null?void 0:l.goodWx)==null?void 0:u.outEca)==null?void 0:he.time),1),e.createElementVNode("td",Hx,e.toDisplayString((Ne=(ye=l==null?void 0:l.goodWx)==null?void 0:ye.inEca)==null?void 0:Ne.time),1),e.createElementVNode("td",null,e.toDisplayString((ge=(pe=l==null?void 0:l.allWx)==null?void 0:pe.outEca)==null?void 0:ge.time),1),e.createElementVNode("td",null,e.toDisplayString((be=(xe=l==null?void 0:l.allWx)==null?void 0:xe.inEca)==null?void 0:be.time),1)]),e.createElementVNode("tr",null,[Mx,e.createElementVNode("td",Ix,e.toDisplayString(((De=(ke=l==null?void 0:l.goodWx)==null?void 0:ke.outEca)==null?void 0:De.avgSpd)||"--"),1),e.createElementVNode("td",Gx,e.toDisplayString(((Fe=(Ce=l==null?void 0:l.goodWx)==null?void 0:Ce.inEca)==null?void 0:Fe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Pe=(Oe=l==null?void 0:l.allWx)==null?void 0:Oe.outEca)==null?void 0:Pe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString((($e=(Le=l==null?void 0:l.allWx)==null?void 0:Le.inEca)==null?void 0:$e.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[Rx,e.createElementVNode("td",zx,e.toDisplayString(((He=(We=l==null?void 0:l.goodWx)==null?void 0:We.outEca)==null?void 0:He.sumFoCons)||"--"),1),e.createElementVNode("td",Ux,e.toDisplayString(((Ve=(Me=l==null?void 0:l.goodWx)==null?void 0:Me.inEca)==null?void 0:Ve.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((je=(Je=l==null?void 0:l.allWx)==null?void 0:Je.outEca)==null?void 0:je.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((T=(Ke=l==null?void 0:l.allWx)==null?void 0:Ke.inEca)==null?void 0:T.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Yx,e.createElementVNode("td",Zx,e.toDisplayString(((Ue=(Se=l==null?void 0:l.goodWx)==null?void 0:Se.outEca)==null?void 0:Ue.avgFoCons)||"--"),1),e.createElementVNode("td",Qx,e.toDisplayString(((qe=(Xe=l==null?void 0:l.goodWx)==null?void 0:Xe.inEca)==null?void 0:qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ve=(ue=l==null?void 0:l.allWx)==null?void 0:ue.outEca)==null?void 0:ve.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(et=l==null?void 0:l.allWx)==null?void 0:et.inEca)==null?void 0:m.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Jx,e.createElementVNode("td",jx,e.toDisplayString(((Be=(W=l==null?void 0:l.goodWx)==null?void 0:W.outEca)==null?void 0:Be.sumDgoCons)||"--"),1),e.createElementVNode("td",Kx,e.toDisplayString(((Ye=(Ge=l==null?void 0:l.goodWx)==null?void 0:Ge.inEca)==null?void 0:Ye.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ze=(_e=l==null?void 0:l.allWx)==null?void 0:_e.outEca)==null?void 0:Ze.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ot=(tt=l==null?void 0:l.allWx)==null?void 0:tt.inEca)==null?void 0:ot.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[Xx,e.createElementVNode("td",qx,e.toDisplayString(((mt=(rt=l==null?void 0:l.goodWx)==null?void 0:rt.outEca)==null?void 0:mt.avgDgoCons)||"--"),1),e.createElementVNode("td",ux,e.toDisplayString(((ht=(pt=l==null?void 0:l.goodWx)==null?void 0:pt.inEca)==null?void 0:ht.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Nt=(yt=l==null?void 0:l.allWx)==null?void 0:yt.outEca)==null?void 0:Nt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ft=(Vt=l==null?void 0:l.allWx)==null?void 0:Vt.inEca)==null?void 0:ft.avgDgoCons)||"--"),1)])])]),(gt=a.exclusion[q])!=null&&gt.time?(e.openBlock(),e.createElementBlock("div",vx,"*The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel.")):e.createCommentVNode("",!0),(xt=l==null?void 0:l.goodWx)!=null&&xt.distance?(e.openBlock(),e.createElementBlock("div",eb,[e.createElementVNode("div",tb,[ob,e.createElementVNode("div",lb,[(kt=(bt=t.report)==null?void 0:bt.weather)!=null&&kt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Lt=(Pt=t.report)==null?void 0:Pt.weather)!=null&&Lt.disableWxFactor&&((co=($t=t.report)==null?void 0:$t.weather)!=null&&co.disableCFactor)?(e.openBlock(),e.createElementBlock("span",ib,e.toDisplayString((io=l==null?void 0:l.goodWx)==null?void 0:io.pfmSpd)+" (kts)",1)):(mo=(ro=t.report)==null?void 0:ro.weather)!=null&&mo.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((po=l==null?void 0:l.goodWx)==null?void 0:po.avgSpd),1),db,e.createElementVNode("span",null,e.toDisplayString(((ho=l==null?void 0:l.goodWx)==null?void 0:ho.avgCf)>0?(_o=l==null?void 0:l.goodWx)==null?void 0:_o.avgCf:`(${(Eo=l==null?void 0:l.goodWx)==null?void 0:Eo.avgCf})`),1),rb,e.createElementVNode("span",mb,e.toDisplayString((yo=l==null?void 0:l.goodWx)==null?void 0:yo.pfmSpd)+" (kts)",1)],64)):(Vo=(No=t.report)==null?void 0:No.weather)!=null&&Vo.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((fo=l==null?void 0:l.goodWx)==null?void 0:fo.avgSpd),1),pb,e.createElementVNode("span",null,e.toDisplayString(((go=l==null?void 0:l.goodWx)==null?void 0:go.avgWf)>0?(xo=l==null?void 0:l.goodWx)==null?void 0:xo.avgWf:`(${(bo=l==null?void 0:l.goodWx)==null?void 0:bo.avgWf})`),1),hb,e.createElementVNode("span",_b,e.toDisplayString((ko=l==null?void 0:l.goodWx)==null?void 0:ko.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString((Do=l==null?void 0:l.goodWx)==null?void 0:Do.avgSpd),1),Eb,e.createElementVNode("span",null,e.toDisplayString(((S=l==null?void 0:l.goodWx)==null?void 0:S.avgWf)>0?(Ie=l==null?void 0:l.goodWx)==null?void 0:Ie.avgWf:`(${(lt=l==null?void 0:l.goodWx)==null?void 0:lt.avgWf})`),1),yb,e.createElementVNode("span",null,e.toDisplayString(((at=l==null?void 0:l.goodWx)==null?void 0:at.avgCf)>0?(_t=l==null?void 0:l.goodWx)==null?void 0:_t.avgCf:`(${(Wt=l==null?void 0:l.goodWx)==null?void 0:Wt.avgCf})`),1),Nb,e.createElementVNode("span",Vb,e.toDisplayString((Ht=l==null?void 0:l.goodWx)==null?void 0:Ht.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Ct=(Dt=t.report)==null?void 0:Dt.weather)!=null&&Ct.favorableCur&&((St=l==null?void 0:l.goodWx)==null?void 0:St.avgCf)>0?(e.openBlock(),e.createElementBlock("span",cb,e.toDisplayString((Ot=l==null?void 0:l.goodWx)==null?void 0:Ot.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((Bt=l==null?void 0:l.goodWx)==null?void 0:Bt.avgSpd),1),ab,e.createElementVNode("span",null,e.toDisplayString(((wt=l==null?void 0:l.goodWx)==null?void 0:wt.avgCf)>0?(Tt=l==null?void 0:l.goodWx)==null?void 0:Tt.avgCf:`(${(At=l==null?void 0:l.goodWx)==null?void 0:At.avgCf})`),1),nb,e.createElementVNode("span",sb,e.toDisplayString((Ft=l==null?void 0:l.goodWx)==null?void 0:Ft.pfmSpd)+" (kts)",1)],64))],64)),((Mt=l==null?void 0:l.goodWx)==null?void 0:Mt.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",fb,"(Under-performance)")):e.createCommentVNode("",!0),((It=l==null?void 0:l.goodWx)==null?void 0:It.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",gb,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",xb,[bb,e.createElementVNode("div",kb,[(Rt=(Gt=t.report)==null?void 0:Gt.weather)!=null&&Rt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Qt=(Zt=t.report)==null?void 0:Zt.weather)!=null&&Qt.disableWxFactor&&((jt=(Jt=t.report)==null?void 0:Jt.weather)!=null&&jt.disableCFactor)?(e.openBlock(),e.createElementBlock("label",Tb,"GW Average Speed")):(Xt=(Kt=t.report)==null?void 0:Kt.weather)!=null&&Xt.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Ab,Fb,Ob],64)):(ut=(qt=t.report)==null?void 0:qt.weather)!=null&&ut.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[Pb,Lb,$b],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[Wb,Hb,Mb,Ib,Gb],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Ut=(zt=t.report)==null?void 0:zt.weather)!=null&&Ut.favorableCur&&((Yt=l==null?void 0:l.goodWx)==null?void 0:Yt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Bb,wb],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Db,Cb,Sb],64))],64))])])])):(e.openBlock(),e.createElementBlock("div",Rb,[e.createElementVNode("div",zb,[Ub,e.createElementVNode("div",Yb,[(eo=(vt=t.report)==null?void 0:vt.weather)!=null&&eo.favorableCur&&((to=l==null?void 0:l.allWx)==null?void 0:to.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((To=l==null?void 0:l.allWx)==null?void 0:To.avgSpd),1),Kb,e.createElementVNode("span",null,e.toDisplayString(((Ao=l==null?void 0:l.allWx)==null?void 0:Ao.avgWf)>0?(Fo=l==null?void 0:l.allWx)==null?void 0:Fo.avgWf:`(${(Oo=l==null?void 0:l.allWx)==null?void 0:Oo.avgWf})`),1),Xb,e.createElementVNode("span",qb,e.toDisplayString((Po=l==null?void 0:l.allWx)==null?void 0:Po.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((oo=l==null?void 0:l.allWx)==null?void 0:oo.avgSpd),1),Zb,e.createElementVNode("span",null,e.toDisplayString(((lo=l==null?void 0:l.allWx)==null?void 0:lo.avgCf)>0?(ao=l==null?void 0:l.allWx)==null?void 0:ao.avgCf:`(${(no=l==null?void 0:l.allWx)==null?void 0:no.avgCf})`),1),Qb,e.createElementVNode("span",null,e.toDisplayString(((Co=l==null?void 0:l.allWx)==null?void 0:Co.avgWf)>0?(So=l==null?void 0:l.allWx)==null?void 0:So.avgWf:`(${(Bo=l==null?void 0:l.allWx)==null?void 0:Bo.avgWf})`),1),Jb,e.createElementVNode("span",jb,e.toDisplayString((wo=l==null?void 0:l.allWx)==null?void 0:wo.pfmSpd)+" (kts)",1)],64)),((Lo=l==null?void 0:l.allWx)==null?void 0:Lo.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",ub,"(Under-performance)")):e.createCommentVNode("",!0),(($o=l==null?void 0:l.allWx)==null?void 0:$o.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",vb,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",ek,[tk,e.createElementVNode("div",ok,[(Ho=(Wo=t.report)==null?void 0:Wo.weather)!=null&&Ho.favorableCur&&((Mo=l==null?void 0:l.allWx)==null?void 0:Mo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[ik,dk,rk,mk],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[lk,ak,nk,sk,ck],64))])])])),pk,e.createElementVNode("div",hk,[e.createElementVNode("div",_k,[Ek,e.createElementVNode("div",yk,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(q+1)+" Time Analysis",1),(Go=(Io=t.report)==null?void 0:Io.weather)!=null&&Go.noExtrapolation?(e.openBlock(),e.createElementBlock("span",Nk,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Vk,[e.createElementVNode("div",fk,[gk,e.createElementVNode("div",xk,[e.createElementVNode("div",bk,[e.createElementVNode("div",null,e.toDisplayString((zo=(Ro=t.report)==null?void 0:Ro.weather)!=null&&zo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),kk,Dk]),Ck])]),e.createElementVNode("div",Sk,[e.createElementVNode("div",Bk,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(Yo=(Uo=l==null?void 0:l.extend)==null?void 0:Uo.cp)==null?void 0:Yo.speed,"Under"))+"kts)",1),wk]),e.createElementVNode("div",Tk,[e.createElementVNode("div",Ak,[e.createElementVNode("div",null,e.toDisplayString((Qo=(Zo=t.report)==null?void 0:Zo.weather)!=null&&Qo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Fk,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(Xo=(Ko=l==null?void 0:l.extend)==null?void 0:Ko.cp)==null?void 0:Xo.speed,"Under"))+"kts",1)]),Ok])]),e.createElementVNode("div",Pk,[e.createElementVNode("div",Lk,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(uo=(qo=l==null?void 0:l.extend)==null?void 0:qo.cp)==null?void 0:uo.speed,"Over"))+"kts)",1),$k]),e.createElementVNode("div",Wk,[e.createElementVNode("div",Hk,[e.createElementVNode("div",null,e.toDisplayString((el=(vo=t.report)==null?void 0:vo.weather)!=null&&el.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Mk,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(ol=(tl=l==null?void 0:l.extend)==null?void 0:tl.cp)==null?void 0:ol.speed,"Over"))+"kts",1)]),Ik])]),Gk]),e.createElementVNode("div",Rk,[e.createElementVNode("div",zk,[Uk,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,(al=(ll=l==null?void 0:l.extend)==null?void 0:ll.cp)==null?void 0:al.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",Yk,[Zk,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,(sl=(nl=l==null?void 0:l.extend)==null?void 0:nl.cp)==null?void 0:sl.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",Qk,[Jk,e.createElementVNode("div",null," Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(il=(cl=l==null?void 0:l.extend)==null?void 0:cl.cp)==null?void 0:il.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,(rl=(dl=l==null?void 0:l.extend)==null?void 0:dl.cp)==null?void 0:rl.speed,"Under"))+" kts) ",1)])]),(ml=l==null?void 0:l.goodWx)!=null&&ml.distance?(e.openBlock(),e.createElementBlock("div",jk,[e.createElementVNode("div",Kk,[Xk,e.createElementVNode("div",qk,[e.createElementVNode("div",uk,[e.createElementVNode("div",null,e.toDisplayString((hl=(ct=t.report)==null?void 0:ct.weather)!=null&&hl.noExtrapolation?(_l=l==null?void 0:l.goodWx)==null?void 0:_l.distance:(El=l==null?void 0:l.allWx)==null?void 0:El.distance),1),vk,e.createElementVNode("div",null,e.toDisplayString((yl=l==null?void 0:l.goodWx)==null?void 0:yl.pfmSpd),1)]),e3,e.createElementVNode("div",null,e.toDisplayString((Nl=l==null?void 0:l.timeConclusion)==null?void 0:Nl.timeAtPfmSpd)+" (hrs)",1),t3])]),e.createElementVNode("div",o3,[e.createElementVNode("div",l3,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(fl=(Vl=l==null?void 0:l.extend)==null?void 0:Vl.cp)==null?void 0:fl.speed,"Under"))+"kts)",1),a3]),e.createElementVNode("div",n3,[e.createElementVNode("div",s3,[e.createElementVNode("div",null,e.toDisplayString((xl=(gl=t.report)==null?void 0:gl.weather)!=null&&xl.noExtrapolation?(bl=l==null?void 0:l.goodWx)==null?void 0:bl.distance:(kl=l==null?void 0:l.allWx)==null?void 0:kl.distance),1),c3,e.createElementVNode("div",null,e.toDisplayString((Dl=l==null?void 0:l.timeConclusion)==null?void 0:Dl.minusAbtSpd),1)]),i3,e.createElementVNode("div",null,e.toDisplayString((Cl=l==null?void 0:l.timeConclusion)==null?void 0:Cl.timeAtMinusAbtSpd)+" (hrs)",1),d3])]),e.createElementVNode("div",r3,[e.createElementVNode("div",m3,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(Bl=(Sl=l==null?void 0:l.extend)==null?void 0:Sl.cp)==null?void 0:Bl.speed,"Over"))+"kts)",1),p3]),e.createElementVNode("div",h3,[e.createElementVNode("div",_3,[e.createElementVNode("div",null,e.toDisplayString((Tl=(wl=t.report)==null?void 0:wl.weather)!=null&&Tl.noExtrapolation?(Al=l==null?void 0:l.goodWx)==null?void 0:Al.distance:(Fl=l==null?void 0:l.allWx)==null?void 0:Fl.distance),1),E3,e.createElementVNode("div",null,e.toDisplayString((Ol=l==null?void 0:l.timeConclusion)==null?void 0:Ol.plusAbtSpd),1)]),y3,e.createElementVNode("div",null,e.toDisplayString((Pl=l==null?void 0:l.timeConclusion)==null?void 0:Pl.timeAtPlusAbtSpd)+" (hrs)",1),N3])]),e.createElementVNode("div",V3,[((Ll=l==null?void 0:l.timeConclusion)==null?void 0:Ll.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",f3,[g3,x3,b3,k3,e.createElementVNode("div",null,e.toDisplayString(($l=l==null?void 0:l.timeConclusion)==null?void 0:$l.timeAtPfmSpd),1),D3,e.createElementVNode("div",null,e.toDisplayString((Wl=l==null?void 0:l.timeConclusion)==null?void 0:Wl.timeAtMinusAbtSpd),1),C3,e.createElementVNode("div",null,e.toDisplayString((Hl=l==null?void 0:l.timeConclusion)==null?void 0:Hl.timeLost)+" (hrs)",1)])):((Ml=l==null?void 0:l.timeConclusion)==null?void 0:Ml.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",S3,[B3,w3,T3,A3,e.createElementVNode("div",null,e.toDisplayString((Il=l==null?void 0:l.timeConclusion)==null?void 0:Il.timeAtPlusAbtSpd),1),F3,e.createElementVNode("div",null,e.toDisplayString((Gl=l==null?void 0:l.timeConclusion)==null?void 0:Gl.timeAtPfmSpd),1),O3,e.createElementVNode("div",null,e.toDisplayString((Rl=l==null?void 0:l.timeConclusion)==null?void 0:Rl.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((zl=l==null?void 0:l.timeConclusion)==null?void 0:zl.conclusionStatus)==="Lost"?"flex-center lost":((Ul=l==null?void 0:l.timeConclusion)==null?void 0:Ul.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[P3,e.createElementVNode("div",null,e.toDisplayString(((Yl=l==null?void 0:l.timeConclusion)==null?void 0:Yl.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",L3,e.toDisplayString(a.noGoodWxDay),1))]),$3,e.createElementVNode("div",W3,[e.createElementVNode("div",H3,[M3,e.createElementVNode("div",I3,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(q+1)+" Consumption Analysis",1),(Ql=(Zl=t.report)==null?void 0:Zl.weather)!=null&&Ql.noExtrapolation?(e.openBlock(),e.createElementBlock("span",G3,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",R3,[e.createElementVNode("div",z3,[U3,e.createElementVNode("div",Y3,[e.createElementVNode("div",Z3,[e.createElementVNode("div",null,e.toDisplayString((jl=(Jl=t.report)==null?void 0:Jl.weather)!=null&&jl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Q3,J3]),j3,K3,X3])]),e.createElementVNode("div",q3,[u3,((Xl=(Kl=l.extend)==null?void 0:Kl.cp)==null?void 0:Xl.dgo)>0?(e.openBlock(),e.createElementBlock("div",v3," * For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",eD,[tD,e.createElementVNode("div",oD,[e.createElementVNode("div",lD,[e.createElementVNode("div",null,e.toDisplayString((ul=(ql=t.report)==null?void 0:ql.weather)!=null&&ul.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),aD,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(ea=(vl=l==null?void 0:l.extend)==null?void 0:vl.cp)==null?void 0:ea.speed,"Under"))+"kts",1)]),nD,sD,cD])]),e.createElementVNode("div",iD,[dD,e.createElementVNode("div",rD,[e.createElementVNode("div",mD,[e.createElementVNode("div",null,e.toDisplayString((oa=(ta=t.report)==null?void 0:ta.weather)!=null&&oa.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),pD,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(aa=(la=l==null?void 0:l.extend)==null?void 0:la.cp)==null?void 0:aa.speed,"Under"))+"kts",1)]),hD,_D,ED])]),yD,((sa=(na=l.extend)==null?void 0:na.cp)==null?void 0:sa.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",ND,[VD,e.createElementVNode("div",fD,[e.createElementVNode("div",gD,[xD,bD,e.createElementVNode("div",null,e.toDisplayString((ia=(ca=t.report)==null?void 0:ca.weather)!=null&&ia.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",kD,[DD,e.createElementVNode("div",CD,[e.createElementVNode("div",SD,[BD,wD,e.createElementVNode("div",null,e.toDisplayString((ra=(da=t.report)==null?void 0:da.weather)!=null&&ra.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),TD,e.createElementVNode("div",AD,[FD,e.createElementVNode("div",OD,"Seg. "+e.toDisplayString(q+1)+" Fuel Oil",1)]),(ma=l==null?void 0:l.goodWx)!=null&&ma.distance?(e.openBlock(),e.createElementBlock("div",PD,[((ha=(pa=l==null?void 0:l.goodWx)==null?void 0:pa.inEca)==null?void 0:ha.distance)>0?(e.openBlock(),e.createElementBlock("div",LD,[$D,e.createElementVNode("div",WD,[e.createElementVNode("div",HD,[e.createElementVNode("div",null,e.toDisplayString((Ea=(_a=l==null?void 0:l.goodWx)==null?void 0:_a.inEca)==null?void 0:Ea.sumDgoCons),1)]),MD,e.createElementVNode("div",ID,[e.createElementVNode("div",null,e.toDisplayString((Na=(ya=l==null?void 0:l.extend)==null?void 0:ya.cp)==null?void 0:Na.dgo),1),GD,RD]),zD,e.createElementVNode("div",null,e.toDisplayString((fa=(Va=l==null?void 0:l.goodWx)==null?void 0:Va.inEca)==null?void 0:fa.time),1),UD,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",YD,[ZD,e.createElementVNode("div",QD,[e.createElementVNode("div",JD,[e.createElementVNode("div",null,e.toDisplayString((so=(Q=t.report)==null?void 0:Q.weather)!=null&&so.noExtrapolation?(ba=l==null?void 0:l.goodWx)==null?void 0:ba.distance:(ka=l==null?void 0:l.allWx)==null?void 0:ka.distance),1),jD,e.createElementVNode("div",null,e.toDisplayString((Da=l==null?void 0:l.goodWx)==null?void 0:Da.pfmSpd),1)]),KD,e.createElementVNode("div",XD,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Ca=l==null?void 0:l.goodWx)==null?void 0:Ca.sumFoCons),1),((Ba=(Sa=l==null?void 0:l.goodWx)==null?void 0:Sa.inEca)==null?void 0:Ba.distance)>0?(e.openBlock(),e.createElementBlock("span",qD,[uD,e.createElementVNode("span",null,e.toDisplayString((Ta=(wa=l==null?void 0:l.fuelConclusion)==null?void 0:wa.fo)==null?void 0:Ta.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),vD,e.createElementVNode("div",null,e.toDisplayString((Qe=l==null?void 0:l.goodWx)==null?void 0:Qe.time),1)]),eC,e.createElementVNode("div",null,e.toDisplayString((La=(Pa=l.fuelConclusion)==null?void 0:Pa.fo)==null?void 0:La.entireCons)+" (mt)",1),tC])]),e.createElementVNode("div",oC,[lC,e.createElementVNode("div",aC,[e.createElementVNode("div",nC,[e.createElementVNode("div",null,e.toDisplayString((Wa=($a=t.report)==null?void 0:$a.weather)!=null&&Wa.noExtrapolation?(K=l==null?void 0:l.goodWx)==null?void 0:K.distance:(Jo=l==null?void 0:l.allWx)==null?void 0:Jo.distance),1),sC,e.createElementVNode("div",null,e.toDisplayString((Ha=l==null?void 0:l.timeConclusion)==null?void 0:Ha.minusAbtSpd),1)]),cC,e.createElementVNode("div",iC,[e.createElementVNode("div",null,e.toDisplayString((Ia=(Ma=l==null?void 0:l.fuelConclusion)==null?void 0:Ma.fo)==null?void 0:Ia.overTolerance),1),dC,rC]),mC,e.createElementVNode("div",null,e.toDisplayString((Ra=(Ga=l.fuelConclusion)==null?void 0:Ga.fo)==null?void 0:Ra.maxCons)+" (mt)",1),pC])]),e.createElementVNode("div",hC,[_C,e.createElementVNode("div",EC,[e.createElementVNode("div",yC,[e.createElementVNode("div",null,e.toDisplayString((Ua=(za=t.report)==null?void 0:za.weather)!=null&&Ua.noExtrapolation?(Ya=l==null?void 0:l.goodWx)==null?void 0:Ya.distance:(it=l==null?void 0:l.allWx)==null?void 0:it.distance),1),NC,e.createElementVNode("div",null,e.toDisplayString((va=l==null?void 0:l.timeConclusion)==null?void 0:va.minusAbtSpd),1)]),VC,e.createElementVNode("div",fC,[e.createElementVNode("div",null,e.toDisplayString((tn=(en=l==null?void 0:l.fuelConclusion)==null?void 0:en.fo)==null?void 0:tn.underTolerance),1),gC,xC]),bC,e.createElementVNode("div",null,e.toDisplayString((ln=(on=l.fuelConclusion)==null?void 0:on.fo)==null?void 0:ln.minCons)+" (mt)",1),kC])]),e.createElementVNode("div",DC,[((nn=(an=l==null?void 0:l.fuelConclusion)==null?void 0:an.fo)==null?void 0:nn.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",CC,[SC,BC,wC,TC,e.createElementVNode("div",null,e.toDisplayString((cn=(sn=l==null?void 0:l.fuelConclusion)==null?void 0:sn.fo)==null?void 0:cn.entireCons),1),AC,e.createElementVNode("div",null,e.toDisplayString((rn=(dn=l==null?void 0:l.fuelConclusion)==null?void 0:dn.fo)==null?void 0:rn.maxCons),1),FC,e.createElementVNode("div",null,e.toDisplayString((pn=(mn=l==null?void 0:l.fuelConclusion)==null?void 0:mn.fo)==null?void 0:pn.overCons),1)]),(_n=(hn=l==null?void 0:l.goodWx)==null?void 0:hn.inEca)!=null&&_n.distance?(e.openBlock(),e.createElementBlock("div",OC,[PC,LC,e.createElementVNode("div",$C,[e.createElementVNode("div",null,e.toDisplayString((yn=(En=l==null?void 0:l.goodWx)==null?void 0:En.inEca)==null?void 0:yn.distance)+" * "+e.toDisplayString((Vn=(Nn=l==null?void 0:l.fuelConclusion)==null?void 0:Nn.fo)==null?void 0:Vn.overCons),1),WC,e.createElementVNode("div",null,e.toDisplayString((gn=(fn=t.report)==null?void 0:fn.weather)!=null&&gn.noExtrapolation?(xn=l==null?void 0:l.goodWx)==null?void 0:xn.distance:(bn=l==null?void 0:l.allWx)==null?void 0:bn.distance),1)]),HC,e.createElementVNode("div",null,e.toDisplayString((Dn=(kn=l==null?void 0:l.fuelConclusion)==null?void 0:kn.fo)==null?void 0:Dn.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((Sn=(Cn=l==null?void 0:l.fuelConclusion)==null?void 0:Cn.fo)==null?void 0:Sn.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",MC,[IC,GC,RC,zC,e.createElementVNode("div",null,e.toDisplayString((wn=(Bn=l==null?void 0:l.fuelConclusion)==null?void 0:Bn.fo)==null?void 0:wn.minCons),1),UC,e.createElementVNode("div",null,e.toDisplayString((An=(Tn=l==null?void 0:l.fuelConclusion)==null?void 0:Tn.fo)==null?void 0:An.entireCons),1),YC,e.createElementVNode("div",null,e.toDisplayString((On=(Fn=l==null?void 0:l.fuelConclusion)==null?void 0:Fn.fo)==null?void 0:On.saving)+" (mt)",1)]),(Ln=(Pn=l==null?void 0:l.goodWx)==null?void 0:Pn.inEca)!=null&&Ln.distance?(e.openBlock(),e.createElementBlock("div",ZC,[QC,JC,e.createElementVNode("div",jC,[e.createElementVNode("div",null,e.toDisplayString((Wn=($n=t.report)==null?void 0:$n.weather)!=null&&Wn.noExtrapolation?(Mn=(Hn=l==null?void 0:l.goodWx)==null?void 0:Hn.inEca)==null?void 0:Mn.distance:(Gn=(In=l==null?void 0:l.allWx)==null?void 0:In.inEca)==null?void 0:Gn.distance)+" * "+e.toDisplayString((zn=(Rn=l==null?void 0:l.fuelConclusion)==null?void 0:Rn.fo)==null?void 0:zn.saving),1),KC,e.createElementVNode("div",null,e.toDisplayString((Yn=(Un=t.report)==null?void 0:Un.weather)!=null&&Yn.noExtrapolation?(Zn=l==null?void 0:l.goodWx)==null?void 0:Zn.distance:(Qn=l==null?void 0:l.allWx)==null?void 0:Qn.distance),1)]),XC,e.createElementVNode("div",null,e.toDisplayString((jn=(Jn=l==null?void 0:l.fuelConclusion)==null?void 0:Jn.fo)==null?void 0:jn.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Za=(v=l==null?void 0:l.fuelConclusion)==null?void 0:v.fo)==null?void 0:Za.conclusionStatus)==="Over"?"flex-center lost":((Kn=(Qa=l==null?void 0:l.fuelConclusion)==null?void 0:Qa.fo)==null?void 0:Kn.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[qC,e.createElementVNode("div",null,e.toDisplayString(((qn=(Xn=l==null?void 0:l.fuelConclusion)==null?void 0:Xn.fo)==null?void 0:qn.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",uC,e.toDisplayString(a.noGoodWxDay),1)),((vn=(un=l==null?void 0:l.extend)==null?void 0:un.cp)==null?void 0:vn.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",vC,[eS,e.createElementVNode("div",tS,"Seg. "+e.toDisplayString(q+1)+" Diesel/Gas Oil",1)]),(es=l==null?void 0:l.goodWx)!=null&&es.distance?(e.openBlock(),e.createElementBlock("div",oS,[e.createElementVNode("div",lS,[aS,e.createElementVNode("div",nS,[e.createElementVNode("div",sS,[e.createElementVNode("div",null,e.toDisplayString((os=(ts=t.report)==null?void 0:ts.weather)!=null&&os.noExtrapolation?(ls=l==null?void 0:l.goodWx)==null?void 0:ls.distance:(as=l==null?void 0:l.allWx)==null?void 0:as.distance),1),cS,e.createElementVNode("div",null,e.toDisplayString((ns=l==null?void 0:l.goodWx)==null?void 0:ns.pfmSpd),1)]),iS,e.createElementVNode("div",dS,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((ss=l==null?void 0:l.goodWx)==null?void 0:ss.sumDgoCons),1),((is=(cs=l==null?void 0:l.goodWx)==null?void 0:cs.inEca)==null?void 0:is.distance)>0?(e.openBlock(),e.createElementBlock("span",rS,[mS,e.createElementVNode("span",null,e.toDisplayString((rs=(ds=l==null?void 0:l.fuelConclusion)==null?void 0:ds.fo)==null?void 0:rs.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),pS,e.createElementVNode("div",null,e.toDisplayString((ms=l==null?void 0:l.goodWx)==null?void 0:ms.time),1)]),hS,e.createElementVNode("div",null,e.toDisplayString((hs=(ps=l.fuelConclusion)==null?void 0:ps.dgo)==null?void 0:hs.entireCons)+" (mt)",1),_S])]),e.createElementVNode("div",ES,[yS,e.createElementVNode("div",NS,[e.createElementVNode("div",VS,[e.createElementVNode("div",null,e.toDisplayString((Es=(_s=t.report)==null?void 0:_s.weather)!=null&&Es.noExtrapolation?(ys=l==null?void 0:l.goodWx)==null?void 0:ys.distance:(Ns=l==null?void 0:l.allWx)==null?void 0:Ns.distance),1),fS,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((gs=(fs=l==null?void 0:l.fuelConclusion)==null?void 0:fs.dgo)==null?void 0:gs.overTolerance),1),bS,kS]),DS,e.createElementVNode("div",null,e.toDisplayString((bs=(xs=l.fuelConclusion)==null?void 0:xs.dgo)==null?void 0:bs.maxCons)+" (mt)",1),CS])]),e.createElementVNode("div",SS,[BS,e.createElementVNode("div",wS,[e.createElementVNode("div",TS,[e.createElementVNode("div",null,e.toDisplayString((Ds=(ks=t.report)==null?void 0:ks.weather)!=null&&Ds.noExtrapolation?(Cs=l==null?void 0:l.goodWx)==null?void 0:Cs.distance:(Ss=l==null?void 0:l.allWx)==null?void 0:Ss.distance),1),AS,e.createElementVNode("div",null,e.toDisplayString((Bs=l==null?void 0:l.timeConclusion)==null?void 0:Bs.minusAbtSpd),1)]),FS,e.createElementVNode("div",OS,[e.createElementVNode("div",null,e.toDisplayString((Ts=(ws=l==null?void 0:l.fuelConclusion)==null?void 0:ws.dgo)==null?void 0:Ts.underTolerance),1),PS,LS]),$S,e.createElementVNode("div",null,e.toDisplayString((Fs=(As=l.fuelConclusion)==null?void 0:As.dgo)==null?void 0:Fs.minCons)+" (mt)",1),WS])]),e.createElementVNode("div",HS,[((Ps=(Os=l==null?void 0:l.fuelConclusion)==null?void 0:Os.dgo)==null?void 0:Ps.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",MS,[IS,GS,RS,zS,e.createElementVNode("div",null,e.toDisplayString(($s=(Ls=l==null?void 0:l.fuelConclusion)==null?void 0:Ls.dgo)==null?void 0:$s.entireCons),1),US,e.createElementVNode("div",null,e.toDisplayString((Hs=(Ws=l==null?void 0:l.fuelConclusion)==null?void 0:Ws.dgo)==null?void 0:Hs.maxCons),1),YS,e.createElementVNode("div",null,e.toDisplayString((Is=(Ms=l==null?void 0:l.fuelConclusion)==null?void 0:Ms.dgo)==null?void 0:Is.overCons),1)])):((Rs=(Gs=l==null?void 0:l.fuelConclusion)==null?void 0:Gs.fo)==null?void 0:Rs.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",ZS,[QS,JS,jS,KS,e.createElementVNode("div",null,e.toDisplayString((Us=(zs=l==null?void 0:l.fuelConclusion)==null?void 0:zs.dgo)==null?void 0:Us.minCons),1),XS,e.createElementVNode("div",null,e.toDisplayString((Zs=(Ys=l==null?void 0:l.fuelConclusion)==null?void 0:Ys.dgo)==null?void 0:Zs.entireCons),1),qS,e.createElementVNode("div",null,e.toDisplayString((Js=(Qs=l==null?void 0:l.fuelConclusion)==null?void 0:Qs.dgo)==null?void 0:Js.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Ks=(js=l==null?void 0:l.fuelConclusion)==null?void 0:js.dgo)==null?void 0:Ks.conclusionStatus)==="Over"?"flex-center lost":((Cc=(Xs=l==null?void 0:l.fuelConclusion)==null?void 0:Xs.dgo)==null?void 0:Cc.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[uS,e.createElementVNode("div",null,e.toDisplayString(((Bc=(Sc=l==null?void 0:l.fuelConclusion)==null?void 0:Sc.dgo)==null?void 0:Bc.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",vS,e.toDisplayString(a.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const t4=we(og,[["render",e4],["__scopeId","data-v-44fbbd8a"]]),Bj="",o4={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`${X(o).utc().format(s)}`}},computeLng(){return function(o){return me.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return me.LngLatHelper.lat2pretty(o)}},computePrecision(){return function(o,s=2,t="0.0"){return o?me.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,g,x,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=((g=(p=this.report)==null?void 0:p.weather)==null?void 0:g.showWave)??!0,this.showWaterTemp=((h=(x=this.report)==null?void 0:x.weather)==null?void 0:h.waterTempSwitch)||!1}}},ne=o=>(e.pushScopeId("data-v-a18f941f"),o=o(),e.popScopeId(),o),l4={class:"report-inventory"},a4={class:"section summary-section"},n4=ne(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),s4={class:"summary-block"},c4=ne(()=>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)),i4={class:"label",rowspan:"4"},d4=ne(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),r4=ne(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),m4=ne(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),p4=ne(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),h4={class:"section inventory-section"},_4=e.createStaticVNode('<div class="legends flex-space" data-v-a18f941f><div class="flex-start" style="flex:1.2;" data-v-a18f941f><div class="legend good-wx" data-v-a18f941f></div><div class="label flex-end" data-v-a18f941f>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-a18f941f><div class="legend adverse-wx" data-v-a18f941f></div><div class="label" data-v-a18f941f>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-a18f941f><div class="legend excluded" data-v-a18f941f></div><div class="label" data-v-a18f941f>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-a18f941f><div data-v-a18f941f><label data-v-a18f941f>B</label><span data-v-a18f941f>BOSP</span></div><div data-v-a18f941f><label data-v-a18f941f>N</label><span data-v-a18f941f>NOON</span></div><div data-v-a18f941f><label data-v-a18f941f>E</label><span data-v-a18f941f>EOSP</span></div><div data-v-a18f941f><label data-v-a18f941f>*</label><span data-v-a18f941f>Ship Reported Position</span></div></div></div>',1),E4={class:"inventory-block flex-center"},y4={style:{"font-size":"12px"}},N4=ne(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),V4=ne(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),f4=ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),g4=ne(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),x4=["colspan"],b4={key:0,class:"label",colspan:"2"},k4=ne(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),D4=ne(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),C4=ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),S4=ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),B4=ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),w4=ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),T4={key:0,class:"label",rowspan:"2"},A4=ne(()=>e.createElementVNode("br",null,null,-1)),F4={key:1,class:"label",rowspan:"2"},O4=ne(()=>e.createElementVNode("br",null,null,-1)),P4=ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),L4={key:2,class:"label",rowspan:"2"},$4=ne(()=>e.createElementVNode("br",null,null,-1)),W4={key:3,class:"label",colspan:"2"},H4={key:4,class:"label",rowspan:"2"},M4=ne(()=>e.createElementVNode("br",null,null,-1)),I4={key:5,class:"label",colspan:"2"},G4=ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),R4={key:6,class:"label",rowspan:"2"},z4={key:7,class:"label",rowspan:"2"},U4={key:8,class:"label",rowspan:"2"},Y4=ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),Z4=ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),Q4=ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),J4=ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),j4=ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),K4=ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),X4=ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),q4=ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),u4=ne(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),v4=ne(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),e5=ne(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),t5=ne(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),o5={key:0,class:"label"},l5={key:1,class:"label"},a5={key:2,class:"label"},n5={key:3,class:"label"},s5=ne(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),c5=ne(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),i5=ne(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),d5=ne(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),r5=ne(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),m5=ne(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),p5=ne(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),h5=ne(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),_5={class:"summary-tbody"};function E5(o,s,t,r,a,n){var E;return e.openBlock(),e.createElementBlock("div",l4,[e.createElementVNode("div",a4,[n4,e.createElementVNode("div",s4,[e.createElementVNode("table",null,[c4,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 g,x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L;return e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[e.createElementVNode("tr",null,[e.createElementVNode("td",i4,e.toDisplayString(p+1),1),d4,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((g=c==null?void 0:c.allWx)==null?void 0:g.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((x=c==null?void 0:c.allWx)==null?void 0:x.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,[r4,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((b=c==null?void 0:c.goodWx)==null?void 0:b.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((A=c==null?void 0:c.goodWx)==null?void 0:A.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,[m4,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((V=c==null?void 0:c.badWx)==null?void 0:V.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((G=c==null?void 0:c.badWx)==null?void 0:G.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[p4,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((R=c==null?void 0:c.excluded)==null?void 0:R.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((z=c==null?void 0:c.excluded)==null?void 0:z.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((U=c==null?void 0:c.excluded)==null?void 0:U.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",h4,[_4,e.createElementVNode("div",E4,[e.createElementVNode("table",y4,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[N4,V4,f4,g4,e.createElementVNode("th",{class:"label",colspan:n.computeWxColspan},"ORM Weather Analysis",8,x4),t.showFactor?(e.openBlock(),e.createElementBlock("th",b4,"Factor")):e.createCommentVNode("",!0),k4,D4]),e.createElementVNode("tr",null,[C4,S4,B4,w4,a.showAisDistance?(e.openBlock(),e.createElementBlock("th",T4,[e.createTextVNode("Spd"),A4,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("th",F4,[e.createTextVNode("Dis"),O4,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),P4,a.showWave?(e.openBlock(),e.createElementBlock("th",L4,[e.createTextVNode("Sea HT"),$4,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",W4,"Swell")):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("th",H4,[e.createTextVNode("Sig Wave"),M4,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",I4,"Current")):e.createCommentVNode("",!0),G4,t.showFactor?(e.openBlock(),e.createElementBlock("th",R4,"cFactor")):e.createCommentVNode("",!0),t.showFactor?(e.openBlock(),e.createElementBlock("th",z4,"wxFactor")):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("th",U4,"Water Temp.")):e.createCommentVNode("",!0),Y4,Z4,Q4,J4,j4,K4,X4,q4]),e.createElementVNode("tr",null,[u4,v4,e5,t5,a.showSwell?(e.openBlock(),e.createElementBlock("th",o5,"Dir")):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",l5,"HT(m)")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",a5,"Dir")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",n5,"CF(kts)")):e.createCommentVNode("",!0),s5,c5,i5,d5,r5,m5,p5,h5])]),e.createElementVNode("tbody",_5,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.inventory,(c,p)=>{var g,x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,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)&&((g=c.noon)!=null&&g.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((x=c.noon)==null?void 0:x.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(((b=(D=c.meteo)==null?void 0:D.wind)==null?void 0:b.scale)??"--"),3),a.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((A=(k=(C=c.meteo)==null?void 0:C.wave)==null?void 0:k.wd)==null?void 0:A.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(((G=(O=(V=c.meteo)==null?void 0:V.wave)==null?void 0:O.swell)==null?void 0:G.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(((U=(z=(R=c.meteo)==null?void 0:R.wave)==null?void 0:z.sig)==null?void 0:U.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((($=c.meteo)==null?void 0:$.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 y5=we(o4,[["render",E5],["__scopeId","data-v-a18f941f"]]),wj="",N5={name:"OrmVoyageChart",components:{Lng:ja,Lat:Ka},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`${X(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(qa.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(qa.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(qa.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var p,g,x,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(b=>b.noonLength)||[];n.unshift(n[0]),n.forEach((b,C)=>{var A,F,B,w,V,O,G,R,z,U,_,L,H,$;const k=this.computeUTCTime(C===0?b.utc:b.noonUtc,"MM-DD/HHmm[Z]");if(o.push(k),r=Math.ceil(((A=b.noon)==null?void 0:A.foCons)>r?(F=b.noon)==null?void 0:F.foCons:r),r=Math.ceil(((B=b.cp)==null?void 0:B.fo)>r?(w=b.cp)==null?void 0:w.fo:r),a=Math.ceil(((V=b.noon)==null?void 0:V.dgoCons)>a?(O=b.noon)==null?void 0:O.dgoCons:a),a=Math.ceil(((G=b.cp)==null?void 0:G.dgo)>a?(R=b.cp)==null?void 0:R.dgo:a),s.push([k,(z=b.noon)==null?void 0:z.avgSpd,(U=b.noon)==null?void 0:U.foCons,(_=b.noon)==null?void 0:_.dgoCons,b.avgSpdCalc,b.cp.speed,b.goodWx&&!b.excluded?100:0,b.cp.dgo,b.cp.fo,b.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,($=P.noon)==null?void 0:$.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:(g=(p=this.report)==null?void 0:p.weather)!=null&&g.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}]};(x=this.spdFoConsChart)==null||x.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,g)=>{var h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,M,J,Y;a=p.noonLength?p.dailyAvgCf:a;const x=this.computeUTCTime(g===0?p.utc:p.noonUtc,"MM-DD/HHmm[Z]");if(o.push(x),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=(b=p.meteo)==null?void 0:b.wave)==null?void 0:C.sig)==null?void 0:k.height:r),s.push([x,(A=p.noon)==null?void 0:A.windBF,(B=(F=p.meteo)==null?void 0:F.wind)==null?void 0:B.scale,(V=(w=p.meteo)==null?void 0:w.wind)==null?void 0:V.direction,(O=p.noon)==null?void 0:O.seasHt,(z=(R=(G=p.meteo)==null?void 0:G.wave)==null?void 0:R.sig)==null?void 0:z.height,a,p.goodWx&&!p.excluded?20:0,p.excluded?20:0]),g<n.length-1){const j=n[g+1];s.push([x,(U=j.noon)==null?void 0:U.windBF,(L=(_=j.meteo)==null?void 0:_.wind)==null?void 0:L.scale,($=(H=j.meteo)==null?void 0:H.wind)==null?void 0:$.direction,(P=j.noon)==null?void 0:P.seasHt,(Y=(J=(M=j.meteo)==null?void 0:M.wave)==null?void 0:J.sig)==null?void 0:Y.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)}}},Aa=o=>(e.pushScopeId("data-v-92ed3e90"),o=o(),e.popScopeId(),o),V5={class:"report-summary"},f5={class:"section chart-section"},g5=Aa(()=>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)),x5={class:"chart-block"},b5={ref:"spdFoConsChart",class:"chart"},k5={ref:"spdDgoConsChart",class:"chart"},D5={ref:"currChart",class:"chart"},C5={class:"section map-section"},S5=Aa(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),B5={class:"map-block"},w5={class:"flex-space"},T5={class:"voyage-block",style:{height:"197px"}},A5={class:"flex-space label-block",style:{width:"100%"}},F5=Aa(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),O5={style:{"text-transform":"uppercase"}},P5={class:"flex-space label-block",style:{width:"100%"}},L5=Aa(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),$5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},W5={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},H5={class:"flex-space label-block",style:{width:"100%"}},M5=Aa(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),I5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},G5={class:"flex-space label-block",style:{width:"100%"}},R5=Aa(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),z5={key:0,class:"flex-end",style:{flex:"1"}},U5={key:1,class:"flex-end",style:{flex:"1"}},Y5=Aa(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Z5={class:"flex-end",style:{width:"160px"}},Q5={class:"flex-space label-block",style:{width:"100%"}},J5=Aa(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),j5={key:0,class:"flex-end",style:{flex:"1"}},K5={key:1,class:"flex-end",style:{flex:"1"}},X5=Aa(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),q5={class:"flex-end",style:{width:"160px"}},u5={class:"flex-space label-block",style:{width:"100%"}},v5=Aa(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),eB={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},tB=e.createStaticVNode('<div class="legend-block" data-v-92ed3e90><div style="position:absolute;margin-top:-8px;" data-v-92ed3e90>LEGEND</div><div class="flex-space" data-v-92ed3e90><div data-v-92ed3e90>0812</div><div data-v-92ed3e90><div data-v-92ed3e90>08 - Day of the month</div><div data-v-92ed3e90>12 - Hours of the day</div></div></div><div class="flex-space" data-v-92ed3e90><div data-v-92ed3e90><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-92ed3e90></i></div><div data-v-92ed3e90><div data-v-92ed3e90>Wind from N (000)</div><div data-v-92ed3e90>Each bard = 10 kts</div><div data-v-92ed3e90>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-92ed3e90><div data-v-92ed3e90>W 4</div><div data-v-92ed3e90>Sig. Wave from West, 4 meters</div></div><div class="flex-space" data-v-92ed3e90><div class="good-wx" data-v-92ed3e90>Date</div><div data-v-92ed3e90>Good weather days</div></div></div>',1),oB=["src"],lB=e.createStaticVNode('<div class="section method-section" data-v-92ed3e90><div class="header-block flex-center" data-v-92ed3e90><i class="iconfont" data-v-92ed3e90></i><div class="title" data-v-92ed3e90>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-92ed3e90><div class="method-title" data-v-92ed3e90>1. Good Weather Method</div><div class="method-body" data-v-92ed3e90> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd&#39;s Rep 166 and The Gas Enterprise [1993] 2 Lloyd&#39;s Rep. 352. <br data-v-92ed3e90> The vessel&#39;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-92ed3e90> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a &quot;good weather day&quot; or &quot;adverse weather day&quot; according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-92ed3e90><div class="method-title" data-v-92ed3e90>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>4. “About”</div><div class="method-body" data-v-92ed3e90> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-92ed3e90> 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-92ed3e90> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>6. Further reference materials</div><div class="method-body" data-v-92ed3e90>Please send mail to <a href="mailto:op@ormwx.com" data-v-92ed3e90>op@ormwx.com</a>.</div></div></div></div>',1);function aB(o,s,t,r,a,n){var p,g,x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,M,J,Y;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",V5,[e.createElementVNode("div",f5,[g5,e.createElementVNode("div",x5,[e.createElementVNode("div",b5,null,512),e.createElementVNode("div",k5,null,512),e.createElementVNode("div",D5,null,512)])]),e.createElementVNode("div",C5,[S5,e.createElementVNode("div",B5,[e.createElementVNode("div",w5,[e.createElementVNode("div",T5,[e.createElementVNode("div",A5,[F5,e.createElementVNode("span",O5,e.toDisplayString(t.report.preparedFor),1)]),e.createElementVNode("div",P5,[L5,e.createElementVNode("span",$5,e.toDisplayString((g=(p=t.report)==null?void 0:p.vessel)==null?void 0:g.name),1),e.createElementVNode("span",W5,"("+e.toDisplayString((h=(x=t.report)==null?void 0:x.vessel)==null?void 0:h.type)+")",1)]),e.createElementVNode("div",H5,[M5,e.createElementVNode("span",I5,e.toDisplayString((D=(N=t.report)==null?void 0:N.voyage)==null?void 0:D.number),1)]),e.createElementVNode("div",G5,[R5,(C=(b=t.report)==null?void 0:b.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",z5,e.toDisplayString((A=(k=t.report)==null?void 0:k.departure)==null?void 0:A.portName),1)):(e.openBlock(),e.createElementBlock("div",U5,[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"]),Y5,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",Z5,e.toDisplayString(n.computeUTCTime((V=t.report.departure)==null?void 0:V.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",Q5,[J5,(G=(O=t.report)==null?void 0:O.arrival)!=null&&G.portName?(e.openBlock(),e.createElementBlock("span",j5,e.toDisplayString((z=(R=t.report)==null?void 0:R.arrival)==null?void 0:z.portName),1)):(e.openBlock(),e.createElementBlock("div",K5,[e.createVNode(E,{lat:(_=(U=t.report)==null?void 0:U.arrival)==null?void 0:_.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),X5,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",q5,e.toDisplayString(n.computeUTCTime((P=($=t.report)==null?void 0:$.arrival)==null?void 0:P.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",u5,[v5,e.createElementVNode("span",eB,e.toDisplayString((J=(M=t.report)==null?void 0:M.voyage)==null?void 0:J.loadCondition),1)])]),tB]),e.createElementVNode("img",{src:(Y=t.report)==null?void 0:Y.chartUrl,alt:""},null,8,oB)])]),lB])}const nB=we(N5,[["render",aB],["__scopeId","data-v-92ed3e90"]]),Tj="",Aj="",sB={name:"OrmVoyageEmail",props:{report:{type:Object,default:()=>({})},voyageEmails:{type:Array,default:()=>[]}},emits:["commit"],data(){return{}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${X(o).utc().format(s)}`}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{voyageEmails:{handler(o,s){o.length>0&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){document.getElementById("col1").innerHTML=null,document.getElementById("col2").innerHTML=null;const o=this.voyageEmails.sort((s,t)=>s.date<t.date);o==null||o.forEach((s,t)=>{var p,g;let r="<div>";s.to.includes("op@ormwx.com")||s.source==="VRT"?(((g=(p=s.body)==null?void 0:p.replace(/^"|"$/g,""))==null?void 0:g.split("\\n")).forEach(h=>{const N=`<p>${h}</p>`;r=r+N}),r=r+"</div>"):r=s.body;const a=document.getElementById("col1"),n=document.getElementById("col2"),E=(a==null?void 0:a.offsetHeight)||0,c=(n==null?void 0:n.offsetHeight)||0;if(E<=c){let h=`<div class="${s.to.includes("op@ormwx.com")||s.source==="VRT"?"vrpt-mail-item vrpt-item-left vrpt-inbox":"vrpt-mail-item vrpt-item-left vrpt-outbox"}">
42
42
  <div class="vrpt-date">Date: ${s.date}</div>
43
43
  <div class="vrpt-from">From: ${s.from}</div>
44
44
  <div class="vrpt-to">To: ${s.to}</div>
@@ -48,8 +48,8 @@
48
48
  <div class="vrpt-from">From: ${s.from}</div>
49
49
  <div class="vrpt-to">To: ${s.to}</div>
50
50
  <div class="vrpt-subject">Subject: ${s.subject}</div>
51
- <br/>`;h=h+r+"</div>",n.insertAdjacentHTML("beforeend",h)}})}}},cB={class:"report-email"},iB=[e.createStaticVNode('<div class="section email-section" data-v-8d16153f><div class="header-block flex-center" data-v-8d16153f><i class="iconfont" data-v-8d16153f></i><div class="title" data-v-8d16153f>Emails</div></div><div class="content-box" data-v-8d16153f><div class="col col1" id="col1" data-v-8d16153f></div><div class="col col2" id="col2" data-v-8d16153f></div></div></div>',1)];function dB(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",cB,iB)}const rB=we(sB,[["render",dB],["__scopeId","data-v-8d16153f"]]),Lj="",mB={name:"OrmVoyageIndex",components:{Brand:jo,VoySummary:t4,Inventory:y5,Chart:nB,Email:rB,Loading:ua},props:{report:{type:Object,default:()=>({})},voyageEmails:{type:Array,default:()=>[]}},emits:["commit"],data(){return{inventory:[],loading:!0}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${X(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,g)=>{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 x=p.type.charAt(0);["N","M","E"].includes(x)&&(c=!0,E.dailyAvgCf=p.dailyAvgCf,E.avgSpdCalc=p.avgSpdCalc,E.distanceCalc=p.distanceCalc,E.noonUtc=p.utc),p.abbrev=x,x=x==="M"?"*":x==="A"?"":x,p.time=`${x} ${this.computeUTCTime(p.utc,"MMM-DD/HHmm[Z]")}`,p._lng=me.LngLatHelper.lng2pretty(p.lng),p._lat=me.LngLatHelper.lat2pretty(p.lat),p.cp=a,o.push(p)})}),o.sort((r,a)=>r.date-a.date),this.inventory=o}}};function pB(o,s,t,r,a,n){var N,D,b;const E=e.resolveComponent("Brand"),c=e.resolveComponent("Loading"),p=e.resolveComponent("VoySummary"),g=e.resolveComponent("Inventory"),x=e.resolveComponent("Chart"),h=e.resolveComponent("Email");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((D=(N=t.report)==null?void 0:N.weather)!=null&&D.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]=C=>a.loading=!1)},null,8,["loading"]),e.createVNode(p,{report:t.report,class:"main",onCommit:n.commit},null,8,["report","onCommit"]),e.createVNode(g,{report:t.report,inventory:a.inventory,class:"main"},null,8,["report","inventory"]),e.createVNode(x,{report:t.report,inventory:a.inventory,class:"main"},null,8,["report","inventory"]),((b=t.voyageEmails)==null?void 0:b.length)>0?(e.openBlock(),e.createBlock(h,{key:0,report:t.report,voyageEmails:t.voyageEmails},null,8,["report","voyageEmails"])):e.createCommentVNode("",!0)],2)}const Gs=we(mB,[["render",pB],["__scopeId","data-v-a0a392a4"]]),hB={install(o){o.component("FliVoyageReport",Is),o.component("OrmVoyageReport",Gs)}},$j="",Wj="",Hj="",_B={name:"IdmTropical",components:{TropicalReport:Ic.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 yB(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 Rs=we(_B,[["render",yB],["__scopeId","data-v-a14ce9ba"]]),NB={install(o){o.component("TropicalReport",Rs)}},Mj="",VB={name:"OrmInvoice",components:{IdmBrand:jo},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!=="-"?`${X(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}}},dt=o=>(e.pushScopeId("data-v-95c80c22"),o=o(),e.popScopeId(),o),fB={class:"invoice-report"},gB={class:"section items-section"},xB={class:"flex-start"},bB=dt(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),kB=["innerHTML"],DB={class:"flex-space"},CB={class:"invoice-item"},SB={key:0,class:"invoice-item"},BB=dt(()=>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)),wB=dt(()=>e.createElementVNode("td",null,"NO.",-1)),TB=["colspan"],AB=dt(()=>e.createElementVNode("td",null,"Amounts",-1)),FB=["colspan"],OB=["colspan"],PB=[dt(()=>e.createElementVNode("span",null,"Total in USD",-1))],LB={class:"total"},$B=["colspan"],WB=[dt(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],HB={class:"total"},MB=["colspan"],IB={class:"total"},GB={key:1},RB=["colspan"],zB=[dt(()=>e.createElementVNode("span",null,"Total in USD",-1))],UB={class:"total"},YB={key:0,class:"memo-block"},ZB=dt(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),QB=["innerHTML"],JB={class:"section company-section"},jB=dt(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"Bank Information",-1)),KB={class:"company-item"},XB=dt(()=>e.createElementVNode("label",null,"Bank",-1)),qB={class:"company-item"},uB=dt(()=>e.createElementVNode("label",null,"Account",-1)),vB={class:"company-item"},e9=dt(()=>e.createElementVNode("label",null,"Title",-1)),t9={class:"company-item"},o9=dt(()=>e.createElementVNode("label",null,"Addr",-1)),l9={class:"company-item"},a9=dt(()=>e.createElementVNode("label",null,"Tel",-1)),n9={class:"company-item"},s9=dt(()=>e.createElementVNode("label",null,"Tax ID",-1)),c9={class:"company-item"},i9=dt(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),d9={class:"company-item"},r9=dt(()=>e.createElementVNode("label",null,"Bank Name",-1)),m9={class:"company-item"},p9=dt(()=>e.createElementVNode("label",null,"Bank Address",-1)),h9={class:"company-item"},_9=dt(()=>e.createElementVNode("label",null,"Account No.",-1)),E9={class:"company-item"},y9=dt(()=>e.createElementVNode("label",null,"SWIFT",-1)),N9={class:"company-item"},V9=dt(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),f9={class:"company-item"},g9=dt(()=>e.createElementVNode("label",null,"SWIFT",-1)),x9={class:"company-item"},b9=dt(()=>e.createElementVNode("label",null,"ABA NO.",-1)),k9=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 D9(o,s,t,r,a,n){var c,p,g,x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,I,J,Y,j,se,ce,l,q,ee,te,oe,le,ae,ie,de,re,Ee;const E=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",fB,[e.createVNode(E,{name:"INVOICE",issued:t.report.createdAt},null,8,["issued"]),e.createElementVNode("div",gB,[e.createElementVNode("div",xB,[bB,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(g=(p=(c=t.report)==null?void 0:c.invoiceTitle)==null?void 0:p.name)==null?void 0:g.replace(`
51
+ <br/>`;h=h+r+"</div>",n.insertAdjacentHTML("beforeend",h)}})}}},cB={class:"report-email"},iB=[e.createStaticVNode('<div class="section email-section" data-v-8d16153f><div class="header-block flex-center" data-v-8d16153f><i class="iconfont" data-v-8d16153f></i><div class="title" data-v-8d16153f>Emails</div></div><div class="content-box" data-v-8d16153f><div class="col col1" id="col1" data-v-8d16153f></div><div class="col col2" id="col2" data-v-8d16153f></div></div></div>',1)];function dB(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",cB,iB)}const rB=we(sB,[["render",dB],["__scopeId","data-v-8d16153f"]]),Oj="",mB={name:"OrmVoyageIndex",components:{Brand:jo,VoySummary:t4,Inventory:y5,Chart:nB,Email:rB,Loading:ua},props:{report:{type:Object,default:()=>({})},voyageEmails:{type:Array,default:()=>[]}},emits:["commit"],data(){return{inventory:[],loading:!0}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${X(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,g)=>{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 x=p.type.charAt(0);["N","M","E"].includes(x)&&(c=!0,E.dailyAvgCf=p.dailyAvgCf,E.avgSpdCalc=p.avgSpdCalc,E.distanceCalc=p.distanceCalc,E.noonUtc=p.utc),p.abbrev=x,x=x==="M"?"*":x==="A"?"":x,p.time=`${x} ${this.computeUTCTime(p.utc,"MMM-DD/HHmm[Z]")}`,p._lng=me.LngLatHelper.lng2pretty(p.lng),p._lat=me.LngLatHelper.lat2pretty(p.lat),p.cp=a,o.push(p)})}),o.sort((r,a)=>r.date-a.date),this.inventory=o}}};function pB(o,s,t,r,a,n){var N,D,b;const E=e.resolveComponent("Brand"),c=e.resolveComponent("Loading"),p=e.resolveComponent("VoySummary"),g=e.resolveComponent("Inventory"),x=e.resolveComponent("Chart"),h=e.resolveComponent("Email");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((D=(N=t.report)==null?void 0:N.weather)!=null&&D.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]=C=>a.loading=!1)},null,8,["loading"]),e.createVNode(p,{report:t.report,class:"main",onCommit:n.commit},null,8,["report","onCommit"]),e.createVNode(g,{report:t.report,inventory:a.inventory,class:"main"},null,8,["report","inventory"]),e.createVNode(x,{report:t.report,inventory:a.inventory,class:"main"},null,8,["report","inventory"]),((b=t.voyageEmails)==null?void 0:b.length)>0?(e.openBlock(),e.createBlock(h,{key:0,report:t.report,voyageEmails:t.voyageEmails},null,8,["report","voyageEmails"])):e.createCommentVNode("",!0)],2)}const sc=we(mB,[["render",pB],["__scopeId","data-v-a0a392a4"]]),hB={install(o){o.component("FliVoyageReport",nc),o.component("OrmVoyageReport",sc)}},Pj="",Lj="",$j="",_B={name:"IdmTropical",components:{TropicalReport:Ic.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 yB(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 cc=we(_B,[["render",yB],["__scopeId","data-v-a14ce9ba"]]),NB={install(o){o.component("TropicalReport",cc)}},Wj="",VB={name:"OrmInvoice",components:{IdmBrand:jo},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!=="-"?`${X(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}}},dt=o=>(e.pushScopeId("data-v-95c80c22"),o=o(),e.popScopeId(),o),fB={class:"invoice-report"},gB={class:"section items-section"},xB={class:"flex-start"},bB=dt(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),kB=["innerHTML"],DB={class:"flex-space"},CB={class:"invoice-item"},SB={key:0,class:"invoice-item"},BB=dt(()=>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)),wB=dt(()=>e.createElementVNode("td",null,"NO.",-1)),TB=["colspan"],AB=dt(()=>e.createElementVNode("td",null,"Amounts",-1)),FB=["colspan"],OB=["colspan"],PB=[dt(()=>e.createElementVNode("span",null,"Total in USD",-1))],LB={class:"total"},$B=["colspan"],WB=[dt(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],HB={class:"total"},MB=["colspan"],IB={class:"total"},GB={key:1},RB=["colspan"],zB=[dt(()=>e.createElementVNode("span",null,"Total in USD",-1))],UB={class:"total"},YB={key:0,class:"memo-block"},ZB=dt(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),QB=["innerHTML"],JB={class:"section company-section"},jB=dt(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"Bank Information",-1)),KB={class:"company-item"},XB=dt(()=>e.createElementVNode("label",null,"Bank",-1)),qB={class:"company-item"},uB=dt(()=>e.createElementVNode("label",null,"Account",-1)),vB={class:"company-item"},e8=dt(()=>e.createElementVNode("label",null,"Title",-1)),t8={class:"company-item"},o8=dt(()=>e.createElementVNode("label",null,"Addr",-1)),l8={class:"company-item"},a8=dt(()=>e.createElementVNode("label",null,"Tel",-1)),n8={class:"company-item"},s8=dt(()=>e.createElementVNode("label",null,"Tax ID",-1)),c8={class:"company-item"},i8=dt(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),d8={class:"company-item"},r8=dt(()=>e.createElementVNode("label",null,"Bank Name",-1)),m8={class:"company-item"},p8=dt(()=>e.createElementVNode("label",null,"Bank Address",-1)),h8={class:"company-item"},_8=dt(()=>e.createElementVNode("label",null,"Account No.",-1)),E8={class:"company-item"},y8=dt(()=>e.createElementVNode("label",null,"SWIFT",-1)),N8={class:"company-item"},V8=dt(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),f8={class:"company-item"},g8=dt(()=>e.createElementVNode("label",null,"SWIFT",-1)),x8={class:"company-item"},b8=dt(()=>e.createElementVNode("label",null,"ABA NO.",-1)),k8=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,g,x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,M,J,Y,j,se,ce,l,q,ee,te,oe,le,ae,ie,de,re,Ee;const E=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",fB,[e.createVNode(E,{name:"INVOICE",issued:t.report.createdAt},null,8,["issued"]),e.createElementVNode("div",gB,[e.createElementVNode("div",xB,[bB,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(g=(p=(c=t.report)==null?void 0:c.invoiceTitle)==null?void 0:p.name)==null?void 0:g.replace(`
52
52
  `,"<br/>")},null,8,kB)]),e.createElementVNode("div",DB,[e.createElementVNode("div",CB,"Invoice No. "+e.toDisplayString(t.report.number),1),(x=t.report)!=null&&x.paymentDate?(e.openBlock(),e.createElementBlock("div",SB,"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},[BB,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Route,(u,he)=>{var ye,Ne,pe,ge,xe,be,ke,De,Ce,Fe,Oe,Pe,Le,$e,We,He,Me,Ve,Je,je,Ke,T,Se,Ue;return e.openBlock(),e.createElementBlock("tr",{key:he},[e.createElementVNode("td",null,e.toDisplayString((pe=(Ne=(ye=u.props)==null?void 0:ye[0])==null?void 0:Ne.voyage)==null?void 0:pe.number),1),e.createElementVNode("td",null,e.toDisplayString(((be=(xe=(ge=u.props)==null?void 0:ge[0])==null?void 0:xe.voyage)==null?void 0:be.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((Ce=(De=(ke=u.props)==null?void 0:ke[0])==null?void 0:De.vessel)==null?void 0:Ce.name),1),e.createElementVNode("td",null,e.toDisplayString((Pe=(Oe=(Fe=u.props)==null?void 0:Fe[0])==null?void 0:Oe.voyage)==null?void 0:Pe.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((We=($e=(Le=u.props)==null?void 0:Le[0])==null?void 0:$e.departure)==null?void 0:We.name),1),e.createElementVNode("td",null,e.toDisplayString((Ve=(Me=(He=u.props)==null?void 0:He[0])==null?void 0:Me.departure)==null?void 0:Ve.atd),1),e.createElementVNode("td",null,e.toDisplayString((Ke=(je=(Je=u.props)==null?void 0:Je[0])==null?void 0:je.destination)==null?void 0:Ke.name),1),e.createElementVNode("td",null,e.toDisplayString((Ue=(Se=(T=u.props)==null?void 0:T[0])==null?void 0:Se.destination)==null?void 0:Ue.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(u.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,[wB,e.createElementVNode("td",{colspan:a.maxColspans-1},"Items.",8,TB),AB])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Point,(u,he)=>(e.openBlock(),e.createElementBlock("tr",{key:he},[e.createElementVNode("td",null,e.toDisplayString(u.number),1),e.createElementVNode("td",{colspan:a.maxColspans-1},e.toDisplayString(u.items),9,FB),e.createElementVNode("td",null,"$"+e.toDisplayString(u.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},PB,8,OB),e.createElementVNode("td",LB,[e.createElementVNode("span",null,e.toDisplayString(`$${a.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},WB,8,$B),e.createElementVNode("td",HB,[e.createElementVNode("span",null,e.toDisplayString((b=t.report)==null?void 0:b.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},"Total in CNY",8,MB),e.createElementVNode("td",IB,"¥"+e.toDisplayString((C=t.report)==null?void 0:C.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",GB,[e.createElementVNode("td",{colspan:a.maxColspans},zB,8,RB),e.createElementVNode("td",UB,[e.createElementVNode("span",null,e.toDisplayString(`$${(k=t.report)==null?void 0:k.paymentAmount}`),1)])]))])]),(A=t.report)!=null&&A.memo?(e.openBlock(),e.createElementBlock("div",YB,[ZB,e.createElementVNode("div",{class:"invoice-item",innerHTML:(B=(F=t.report)==null?void 0:F.memo)==null?void 0:B.replace(`
53
- `,"<br/>")},null,8,QB)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",JB,[jB,((w=t.report)==null?void 0:w.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",KB,[XB,e.createElementVNode("span",null,e.toDisplayString((O=a.account[(V=t.report)==null?void 0:V.paymentType])==null?void 0:O.bank),1)]),e.createElementVNode("div",qB,[uB,e.createElementVNode("span",null,e.toDisplayString((R=a.account[(G=t.report)==null?void 0:G.paymentType])==null?void 0:R.number),1)]),e.createElementVNode("div",vB,[e9,e.createElementVNode("span",null,e.toDisplayString((U=a.account[(z=t.report)==null?void 0:z.paymentType])==null?void 0:U.title),1)]),e.createElementVNode("div",t9,[o9,e.createElementVNode("span",null,e.toDisplayString((L=a.account[(_=t.report)==null?void 0:_.paymentType])==null?void 0:L.address),1)]),e.createElementVNode("div",l9,[a9,e.createElementVNode("span",null,e.toDisplayString(($=a.account[(H=t.report)==null?void 0:H.paymentType])==null?void 0:$.tel),1)]),e.createElementVNode("div",n9,[s9,e.createElementVNode("span",null,e.toDisplayString((I=a.account[(P=t.report)==null?void 0:P.paymentType])==null?void 0:I.taxId),1)])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",c9,[i9,e.createElementVNode("span",null,e.toDisplayString((Y=a.account[(J=t.report)==null?void 0:J.paymentType])==null?void 0:Y.title),1)]),e.createElementVNode("div",d9,[r9,e.createElementVNode("span",null,e.toDisplayString((se=a.account[(j=t.report)==null?void 0:j.paymentType])==null?void 0:se.bank),1)]),e.createElementVNode("div",m9,[p9,e.createElementVNode("span",null,e.toDisplayString((l=a.account[(ce=t.report)==null?void 0:ce.paymentType])==null?void 0:l.bankAddr),1)]),e.createElementVNode("div",h9,[_9,e.createElementVNode("span",null,e.toDisplayString((ee=a.account[(q=t.report)==null?void 0:q.paymentType])==null?void 0:ee.number),1)]),e.createElementVNode("div",E9,[y9,e.createElementVNode("span",null,e.toDisplayString((oe=a.account[(te=t.report)==null?void 0:te.paymentType])==null?void 0:oe.swift),1)]),e.createElementVNode("div",N9,[V9,e.createElementVNode("span",null,e.toDisplayString((ae=a.account[(le=t.report)==null?void 0:le.paymentType])==null?void 0:ae.intermediaryBank),1)]),e.createElementVNode("div",f9,[g9,e.createElementVNode("span",null,e.toDisplayString((de=a.account[(ie=t.report)==null?void 0:ie.paymentType])==null?void 0:de.intermediaryBankSwift),1)]),e.createElementVNode("div",x9,[b9,e.createElementVNode("span",null,e.toDisplayString((Ee=a.account[(re=t.report)==null?void 0:re.paymentType])==null?void 0:Ee.intermediaryBankAbaNo),1)])],64))]),k9])}const zs=we(VB,[["render",D9],["__scopeId","data-v-95c80c22"]]),zj="",C9={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!=="-"?`${X(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(){}},Oa=o=>(e.pushScopeId("data-v-c269c41c"),o=o(),e.popScopeId(),o),S9={class:"invoice-report"},B9={class:"section items-section"},w9={class:"flex-start"},T9=Oa(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),A9=["innerHTML"],F9={class:"flex-space"},O9={class:"invoice-item"},P9={key:0,class:"invoice-item"},L9=Oa(()=>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)),$9=Oa(()=>e.createElementVNode("td",null,"NO.",-1)),W9=["colspan"],H9=Oa(()=>e.createElementVNode("td",null,"Amounts",-1)),M9=["colspan"],I9=["colspan"],G9=[Oa(()=>e.createElementVNode("span",null,"Total in USD",-1))],R9={class:"total"},z9=["colspan"],U9=[Oa(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],Y9={class:"total"},Z9=["colspan"],Q9={class:"total"},J9={key:1},j9=["colspan"],K9=[Oa(()=>e.createElementVNode("span",null,"Total in USD",-1))],X9={class:"total"},q9={key:0,class:"memo-block"},u9=Oa(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),v9=["innerHTML"];function e8(o,s,t,r,a,n){var E,c,p,g,x,h,N,D,b,C,k,A,F;return e.openBlock(),e.createElementBlock("div",S9,[e.createElementVNode("div",B9,[e.createElementVNode("div",w9,[T9,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(`
54
- `,"<br/>")},null,8,A9)]),e.createElementVNode("div",F9,[e.createElementVNode("div",O9,"Invoice No. "+e.toDisplayString(t.report.number),1),(g=t.report)!=null&&g.paymentDate?(e.openBlock(),e.createElementBlock("div",P9,"Paid: "+e.toDisplayString(n.computeTime(t.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(x=a.reservations4Route)!=null&&x.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[L9,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Route,(B,w)=>{var V,O,G,R,z,U,_,L,H,$,P,I,J,Y,j,se,ce,l,q,ee,te,oe,le,ae;return e.openBlock(),e.createElementBlock("tr",{key:w},[e.createElementVNode("td",null,e.toDisplayString((G=(O=(V=B.props)==null?void 0:V[0])==null?void 0:O.voyage)==null?void 0:G.number),1),e.createElementVNode("td",null,e.toDisplayString(((U=(z=(R=B.props)==null?void 0:R[0])==null?void 0:z.voyage)==null?void 0:U.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((I=(P=($=B.props)==null?void 0:$[0])==null?void 0:P.voyage)==null?void 0:I.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((j=(Y=(J=B.props)==null?void 0:J[0])==null?void 0:Y.departure)==null?void 0:j.name),1),e.createElementVNode("td",null,e.toDisplayString((l=(ce=(se=B.props)==null?void 0:se[0])==null?void 0:ce.departure)==null?void 0:l.atd),1),e.createElementVNode("td",null,e.toDisplayString((te=(ee=(q=B.props)==null?void 0:q[0])==null?void 0:ee.destination)==null?void 0:te.name),1),e.createElementVNode("td",null,e.toDisplayString((ae=(le=(oe=B.props)==null?void 0:oe[0])==null?void 0:le.destination)==null?void 0:ae.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,[$9,e.createElementVNode("td",{colspan:a.maxColspans-1},"Items.",8,W9),H9])]),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,M9),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},G9,8,I9),e.createElementVNode("td",R9,[e.createElementVNode("span",null,e.toDisplayString(`$${a.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},U9,8,z9),e.createElementVNode("td",Y9,[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,Z9),e.createElementVNode("td",Q9,"¥"+e.toDisplayString((b=t.report)==null?void 0:b.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",J9,[e.createElementVNode("td",{colspan:a.maxColspans},K9,8,j9),e.createElementVNode("td",X9,[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",q9,[u9,e.createElementVNode("div",{class:"invoice-item",innerHTML:(F=(A=t.report)==null?void 0:A.memo)==null?void 0:F.replace(`
55
- `,"<br/>")},null,8,v9)])):e.createCommentVNode("",!0)])])}const Us=we(C9,[["render",e8],["__scopeId","data-v-c269c41c"]]),t8={install(o){o.component("OrmInvoiceReport",zs),o.component("FliInvoiceReport",Us)}},o8=o=>((typeof o=="string"||typeof o=="number")&&(o=X(o)),o),l8=(o,s="MMM-DD,YYYY/HHmm[Z]")=>a8(o,s),a8=(o,s="MMM-DD/HHmm[Z]")=>(o=o8(o),o?`${o.utc().format(s)}`:"-"),Qj="",n8={name:"IdmEditableItem",components:{Edit:Xa.Edit,Close:Xa.Close,IdmEditor:pl},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 l8(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)}}},s8={class:"idm-editable-item"},c8=["innerHTML"],i8={key:3,class:"buttons"};function d8(o,s,t,r,a,n){const E=e.resolveComponent("ElTag"),c=e.resolveComponent("ElInput"),p=e.resolveComponent("IdmEditor"),g=e.resolveComponent("ElInputNumber"),x=e.resolveComponent("ElDatePicker"),h=e.resolveComponent("ElOption"),N=e.resolveComponent("ElSelect"),D=e.resolveComponent("ElRadio"),b=e.resolveComponent("ElRadioGroup"),C=e.resolveComponent("ElCheckbox"),k=e.resolveComponent("ElCheckboxGroup"),A=e.resolveComponent("Edit"),F=e.resolveComponent("ElIcon"),B=e.resolveComponent("ElButton"),w=e.resolveComponent("Close");return e.openBlock(),e.createElementBlock("div",s8,[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]=V=>a.model=V),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]=V=>a.model=V),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]=V=>a.model=V),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]=V=>a.model=V),onBlur:n.handleCommit},null,8,["modelValue","onBlur"])):e.createCommentVNode("",!0),t.type==="number"?(e.openBlock(),e.createBlock(g,{key:4,modelValue:a.model,"onUpdate:modelValue":s[6]||(s[6]=V=>a.model=V),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(x,{key:5,modelValue:a.model,"onUpdate:modelValue":s[7]||(s[7]=V=>a.model=V),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]=V=>a.model=V),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,V=>(e.openBlock(),e.createBlock(h,{key:V.value,label:V.label,disabled:V.disabled,value:V.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]=V=>a.model=V),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,V=>(e.openBlock(),e.createBlock(h,{key:V.value,label:V.label,value:V.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]=V=>a.model=V),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,V=>(e.openBlock(),e.createBlock(h,{key:V.id,label:V.name,value:V.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),t.type==="radio"?(e.openBlock(),e.createBlock(b,{key:9,modelValue:a.model,"onUpdate:modelValue":s[11]||(s[11]=V=>a.model=V),size:t.size,style:{width:"100%"},onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.radios,V=>(e.openBlock(),e.createBlock(D,{key:V.value,label:V.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(V.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]=V=>a.model=V),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,V=>(e.openBlock(),e.createBlock(C,{key:V.label,label:V.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(V.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]=(...V)=>n.handleEdit&&n.handleEdit(...V))},e.toDisplayString(n.computeUtcTime(t.value,t.format)),33)):t.type==="richText"?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:t.value||""},null,8,c8)):(e.openBlock(),e.createElementBlock("span",{key:2,onDblclick:s[1]||(s[1]=(...V)=>n.handleEdit&&n.handleEdit(...V))},[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",i8,[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(A)]),_:1})]),_:1},8,["size","onClick"]))])):e.createCommentVNode("",!0)],4)])}const Ys=we(n8,[["render",d8]]),Jj="",jj="",r8={name:"OrmDeviation",components:{CirclePlus:Xa.CirclePlus,Remove:Xa.Remove,EditableItem:Ys,Editor:pl,IdmBrand:jo},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?`${X(o).utc().format(s)}`:"-"}},computedLngLat(){return function(o,s){return`${me.LngLatHelper.lat2pretty(o).pretty} / ${me.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,a;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,this.remarks=(a=this.report)==null?void 0:a.remarks},async fetchSuggestName(o){var t;const s=await Ja.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 Ja.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 g=s.substring(0,a),x=s.substring(a+1);x!=="date"&&(t=Number(t)),this.extraPortList[r][g][x]=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 Ja.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 Os.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},y=o=>(e.pushScopeId("data-v-466ca2d5"),o=o(),e.popScopeId(),o),m8={class:"deviation-report"},p8={class:"content-box"},h8={class:"info-box border-dashed"},_8={class:"flex-between row"},E8={class:"flex-between",style:{width:"48%"}},y8=y(()=>e.createElementVNode("label",{class:"label"},"Prepared For:",-1)),N8={class:"flex-between",style:{width:"48%"}},V8=y(()=>e.createElementVNode("label",{class:"label"},"Departure Port:",-1)),f8={style:{"margin-left":"5px"}},g8={class:"flex-between row"},x8={class:"flex-between",style:{width:"48%"}},b8=y(()=>e.createElementVNode("label",{class:"label"},"Vessel:",-1)),k8={class:"flex-between",style:{width:"48%"}},D8=y(()=>e.createElementVNode("label",{class:"label"},"Arrival Port:",-1)),C8={style:{"margin-left":"5px"}},S8={class:"flex-between row"},B8={class:"flex-between",style:{width:"48%"}},w8=y(()=>e.createElementVNode("label",{class:"label"},"Voyage No:",-1)),T8={class:"flex-between",style:{width:"48%"}},A8=y(()=>e.createElementVNode("label",{class:"label"},"Load Condition:",-1)),F8={class:"section summary-section"},O8=y(()=>e.createElementVNode("div",{class:"subtitle"},"Summary",-1)),P8={class:"border-solid"},L8={class:"cp"},$8={class:"flex-between",style:{padding:"6px 0"}},W8={style:{"margin-left":"5px"}},H8={style:{"margin-left":"5px"}},M8=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)),I8=y(()=>e.createElementVNode("td",null,"-",-1)),G8={key:0},R8={key:0},z8={key:1},U8={key:0},Y8={key:0},Z8={key:1},Q8={key:0},J8={key:0},j8={key:1},K8={class:"summary-block flex-between"},X8={class:"item"},q8=y(()=>e.createElementVNode("div",{class:"title"},"Extra Distance",-1)),u8={class:"value flex-end"},v8={key:0},e6=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),t6={class:"gain"},o6=y(()=>e.createElementVNode("span",{class:"unit"},"nm",-1)),l6={key:1},a6=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),n6={class:"lost"},s6=y(()=>e.createElementVNode("span",{class:"unit"},"nm",-1)),c6={key:2},i6={class:"item"},d6=y(()=>e.createElementVNode("div",{class:"title"},"Total extra Time",-1)),r6={class:"value flex-end"},m6={key:0},p6=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),h6={class:"gain"},_6=y(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),E6={key:1},y6=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),N6={class:"lost"},V6=y(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),f6={key:2},g6={class:"item"},x6=y(()=>e.createElementVNode("div",{class:"title"},"FO Total extra Consumption",-1)),b6={class:"value flex-end"},k6={key:0},D6=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),C6={class:"gain"},S6=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),B6={key:1},w6=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),T6={class:"lost"},A6=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),F6={key:2},O6={class:"item"},P6=y(()=>e.createElementVNode("div",{class:"title"},"MGO Total extra Consumption",-1)),L6={class:"value flex-end"},$6={key:0},W6=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),H6={class:"gain"},M6=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),I6={key:1},G6=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),R6={class:"lost"},z6=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),U6={key:2},Y6=y(()=>e.createElementVNode("div",{class:"subtitle"},"Remarks",-1)),Z6={class:"section-content"},Q6={key:0,class:""},J6=["innerHTML"],j6={key:1},K6={class:"section deviation-info-section"},X6=y(()=>e.createElementVNode("div",{class:"flex-between"},[e.createElementVNode("div",{class:"subtitle"},"Deviation Info Information")],-1)),q6={key:0},u6=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)),v6=y(()=>e.createElementVNode("td",null,"Deviation Start",-1)),ew=y(()=>e.createElementVNode("td",null,null,-1)),tw=y(()=>e.createElementVNode("td",null,null,-1)),ow=y(()=>e.createElementVNode("td",null,"Back on Track",-1)),lw=y(()=>e.createElementVNode("td",{colspan:"2"},null,-1)),aw=y(()=>e.createElementVNode("td",{colspan:"2"},null,-1)),nw={key:1},sw=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)),cw=y(()=>e.createElementVNode("td",null,"Deviation Start",-1)),iw=y(()=>e.createElementVNode("td",null,"Back on Track",-1)),dw={key:0,class:"section extra-port-section"},rw={class:"flex-between"},mw=y(()=>e.createElementVNode("div",{class:"subtitle"},"Extra Port Information",-1)),pw=y(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Extra Port",-1)),hw=y(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Event",-1)),_w=y(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Date Time",-1)),Ew=y(()=>e.createElementVNode("th",{colspan:2,class:"label"},"BROB (mt)",-1)),yw=y(()=>e.createElementVNode("th",{colspan:2,class:"label"},"Bunkering (mt)",-1)),Nw={key:0,rowspan:2,class:"print-hidden label"},Vw=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)),fw={rowspan:2},gw=y(()=>e.createElementVNode("td",null,"Arrival",-1)),xw=y(()=>e.createElementVNode("td",null,null,-1)),bw=y(()=>e.createElementVNode("td",null,null,-1)),kw={rowspan:2,class:"print-hidden"},Dw=y(()=>e.createElementVNode("td",null,"Departure",-1)),Cw=y(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),Sw=y(()=>e.createElementVNode("td",null,null,-1)),Bw=y(()=>e.createElementVNode("td",null,null,-1)),ww=y(()=>e.createElementVNode("td",null,null,-1)),Tw={key:0,class:"print-hidden"},Aw={class:"section time-cons-section"},Fw=y(()=>e.createElementVNode("div",{class:"subtitle"},"Time and Consumption Calculation",-1)),Ow=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)),Pw={class:"time-block flex-between border-dashed"},Lw={key:0,class:"formula-block"},$w={class:"flex-start"},Ww=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"Time for extra distance sailing",-1)),Hw=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Mw={class:"fraction flex-center"},Iw={class:"content"},Gw=y(()=>e.createElementVNode("div",null,"Extra Distance",-1)),Rw=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),zw={key:0},Uw={key:1},Yw=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Zw={class:"fraction flex-center"},Qw={class:"content"},Jw=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),jw=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Kw={class:"fraction flex-center"},Xw={class:"flex-start"},qw=e.createStaticVNode('<div class="fraction flex-center" data-v-466ca2d5>Total extra Time</div><div class="sig" data-v-466ca2d5>=</div><div class="fraction flex-center" data-v-466ca2d5>Time for extra distance sailing</div><div class="sig" data-v-466ca2d5>+</div><div class="fraction flex-center" data-v-466ca2d5>Time spent in extra port</div><div class="sig" data-v-466ca2d5>=</div>',6),uw={class:"fraction flex-center"},vw=y(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),e7={class:"fraction flex-center"},t7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),o7={class:"fraction flex-center"},l7={key:1,class:"formula-block"},a7={class:"flex-start"},n7=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"Time for Route prior to deviation sailing",-1)),s7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),c7={class:"fraction flex-center"},i7={class:"content"},d7=y(()=>e.createElementVNode("div",null,"Route Prior to deviation",-1)),r7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),m7={key:0},p7={key:1},h7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),_7={class:"fraction flex-center"},E7={class:"content"},y7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),N7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),V7={class:"fraction flex-center"},f7=y(()=>e.createElementVNode("div",{class:"sig"},null,-1)),g7=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},null,-1)),x7={class:"flex-start"},b7=e.createStaticVNode('<div class="fraction flex-center" data-v-466ca2d5>Total extra Time</div><div class="sig" data-v-466ca2d5>=</div><div class="fraction flex-center" data-v-466ca2d5>Time for Actual Route</div><div class="sig" data-v-466ca2d5>-</div><div class="fraction flex-center" data-v-466ca2d5>Time for Route prior to deviation sailing</div><div class="sig" data-v-466ca2d5>=</div>',6),k7={class:"fraction flex-center"},D7=y(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),C7={class:"fraction flex-center"},S7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),B7={class:"fraction flex-center"},w7={class:"fuel-block flex-between border-dashed"},T7={key:0,class:"formula-block"},A7={class:"flex-start"},F7=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"FO Consumption for extra distance sailing",-1)),O7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),P7={class:"fraction flex-center"},L7={class:"content"},$7=y(()=>e.createElementVNode("div",null,"Extra Distance",-1)),W7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),H7={key:0},M7={key:1},I7=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),G7={class:"fraction flex-center"},R7={class:"content"},z7={key:0},U7={key:1},Y7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Z7=y(()=>e.createElementVNode("div",null,"24",-1)),Q7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),J7={class:"fraction flex-center"},j7={class:"content"},K7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),X7=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),q7={class:"fraction flex-center"},u7={class:"content"},v7=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-466ca2d5>FO Total Extra Consumption</div><div class="sig" data-v-466ca2d5>=</div><div class="fraction flex-center" data-v-466ca2d5>FO Consumption for extra distance sailing</div><div class="sig" data-v-466ca2d5>+</div><div class="fraction flex-center" data-v-466ca2d5>FO Consumption in extra port</div><div class="sig" data-v-466ca2d5>=</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 extra distance sailing",-1)),pT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),hT={class:"fraction flex-center"},_T={class:"content"},ET=y(()=>e.createElementVNode("div",null,"Extra 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)),gT={class:"fraction flex-center"},xT={class:"content"},bT={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"},TT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),AT=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)),$T=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),WT={class:"fraction flex-center"},HT={class:"flex-start"},MT=e.createStaticVNode('<div class="fraction flex-center" data-v-466ca2d5>MGO Total Extra Consumption</div><div class="sig" data-v-466ca2d5>=</div><div class="fraction flex-center" data-v-466ca2d5>MGO Consumption for extra distance sailing</div><div class="sig" data-v-466ca2d5>+</div><div class="fraction flex-center" data-v-466ca2d5>MGO Consumption in extra port</div><div class="sig" data-v-466ca2d5>=</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={key:1,class:"formula-block"},ZT={class:"flex-start"},QT=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"FO Consumption for Route prior to deviation sailing",-1)),JT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),jT={class:"fraction flex-center"},KT={class:"content"},XT=y(()=>e.createElementVNode("div",null,"Route prior to deviation Distance",-1)),qT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),uT={key:0},vT={key:1},eA=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),tA={class:"fraction flex-center"},oA={class:"content"},lA={key:0},aA={key:1},nA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),sA=y(()=>e.createElementVNode("div",null,"24",-1)),cA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),iA={class:"fraction flex-center"},dA={class:"content"},rA=y(()=>e.createElementVNode("div",{class:"line"},null,-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",null,"24",-1)),yA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),NA={class:"fraction flex-center"},VA={class:"flex-start"},fA=e.createStaticVNode('<div class="fraction flex-center" data-v-466ca2d5>FO Total Extra Consumption</div><div class="sig" data-v-466ca2d5>=</div><div class="fraction flex-center" data-v-466ca2d5>FO Consumption for Actual Route</div><div class="sig" data-v-466ca2d5>-</div><div class="fraction flex-center" data-v-466ca2d5>FO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-466ca2d5>=</div>',6),gA={class:"fraction flex-center"},xA=y(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),bA={class:"fraction flex-center"},kA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),DA={class:"fraction flex-center"},CA={class:"flex-start"},SA=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"MGO Consumption for Route prior to deviation sailing",-1)),BA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),wA={class:"fraction flex-center"},TA={class:"content"},AA=y(()=>e.createElementVNode("div",null,"Route prior to deviation Distance",-1)),FA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),OA={key:0},PA={key:1},LA=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),$A={class:"fraction flex-center"},WA={class:"content"},HA={key:0},MA={key:1},IA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),GA=y(()=>e.createElementVNode("div",null,"24",-1)),RA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),zA={class:"fraction flex-center"},UA={class:"content"},YA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),ZA=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),QA={class:"fraction flex-center"},JA={class:"content"},jA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),KA=y(()=>e.createElementVNode("div",null,"24",-1)),XA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),qA={class:"fraction flex-center"},uA={class:"flex-start"},vA=e.createStaticVNode('<div class="fraction flex-center" data-v-466ca2d5>MGO Total Extra Consumption</div><div class="sig" data-v-466ca2d5>=</div><div class="fraction flex-center" data-v-466ca2d5>MGO Consumption for Actual Route</div><div class="sig" data-v-466ca2d5>-</div><div class="fraction flex-center" data-v-466ca2d5>MGO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-466ca2d5>=</div>',6),eF={class:"fraction flex-center"},tF=y(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),oF={class:"fraction flex-center"},lF=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),aF={class:"fraction flex-center"},nF={class:"section map-section"},sF=y(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),cF={class:"report-map"},iF=["src"],dF=e.createStaticVNode('<div class="legend" data-v-466ca2d5><div class="legend-item" data-v-466ca2d5><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-466ca2d5></div><div data-v-466ca2d5>Actual Route</div></div><div class="legend-item" data-v-466ca2d5><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-466ca2d5></div><div data-v-466ca2d5>Route prior to deviation</div></div></div>',1);function rF(o,s,t,r,a,n){var x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,I,J,Y,j,se,ce,l,q,ee,te,oe,le,ae,ie,de,re,Ee,u,he,ye,Ne,pe,ge,xe,be,ke,De,Ce,Fe,Oe,Pe,Le,$e,We,He,Me,Ve,Je,je,Ke,T,Se,Ue,Xe,qe,ue,ve,et,m,W,Be,Ge,Ye,_e,Ze,tt,ot,rt,mt,pt,ht,yt,Nt,Vt,ft,gt,xt,bt,kt,Dt,Ct,St,Bt,wt,Tt,At,Ft,Ot,Pt,Lt,$t,co,io,ro,mo,po,ho,_o,Eo,yo,No,Vo,fo,go,xo,bo,ko,Do,S,Ie,lt,at,_t,Wt,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,jt,Kt,Xt,qt,ut,vt,eo,to,oo,lo,ao,no,Co,So,Bo,wo,To,Ao,Fo,Oo,Po,Lo,$o,Wo,Ho,Mo,Io,Go,Ro,zo,Uo,Yo,Zo,Qo,Ko,Xo,qo,uo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl,ml,ct,hl,_l,El,yl,Nl,Vl,fl,gl,xl,bl,kl,Dl,Cl,Sl,Bl,wl,Tl,Al,Fl,Ol,Pl,Ll,$l,Wl,Hl,Ml,Il,Gl,Rl,zl,Ul,Yl,Zl,Ql,Jl,jl,Kl,Xl,ql,ul,vl,ea,ta,oa,la,aa,na,sa,ca,ia,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ga,xa;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("Editor"),p=e.resolveComponent("EditableItem"),g=e.resolveComponent("ElButton");return e.openBlock(),e.createElementBlock("div",m8,[e.createVNode(E,{name:"Voyage Deviation Report"}),e.createElementVNode("div",p8,[e.createElementVNode("div",h8,[e.createElementVNode("div",_8,[e.createElementVNode("div",E8,[y8,e.createElementVNode("div",null,e.toDisplayString((x=t.report)==null?void 0:x.preparedFor),1)]),e.createElementVNode("div",N8,[V8,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",f8,e.toDisplayString(n.computeUTCTime(((b=(D=t.report)==null?void 0:D.departure)==null?void 0:b.atd)||((k=(C=t.report)==null?void 0:C.departure)==null?void 0:k.etd))),1)])])]),e.createElementVNode("div",g8,[e.createElementVNode("div",x8,[b8,e.createElementVNode("div",null,e.toDisplayString((F=(A=t.report)==null?void 0:A.vessel)==null?void 0:F.name),1)]),e.createElementVNode("div",k8,[D8,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",C8,e.toDisplayString(n.computeUTCTime(((O=(V=t.report)==null?void 0:V.arrival)==null?void 0:O.ata)||((R=(G=t.report)==null?void 0:G.arrival)==null?void 0:R.eta))),1)])])]),e.createElementVNode("div",S8,[e.createElementVNode("div",B8,[w8,e.createElementVNode("div",null,e.toDisplayString((U=(z=t.report)==null?void 0:z.voyage)==null?void 0:U.number),1)]),e.createElementVNode("div",T8,[A8,e.createElementVNode("div",null,e.toDisplayString((L=(_=t.report)==null?void 0:_.voyage)==null?void 0:L.loadCondition),1)])])]),e.createElementVNode("div",F8,[O8,e.createElementVNode("div",P8,[e.createElementVNode("div",L8,[e.createElementVNode("div",$8,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString(($=(H=t.report)==null?void 0:H.departure)==null?void 0:$.name),1),e.createElementVNode("span",W8,"( "+e.toDisplayString(n.computeUTCTime(((I=(P=t.report)==null?void 0:P.departure)==null?void 0:I.atd)||((Y=(J=t.report)==null?void 0:J.departure)==null?void 0:Y.etd)))+" )",1)]),e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((se=(j=t.report)==null?void 0:j.arrival)==null?void 0:se.name),1),e.createElementVNode("span",H8,"( "+e.toDisplayString(n.computeUTCTime(((l=(ce=t.report)==null?void 0:ce.arrival)==null?void 0:l.ata)||((ee=(q=t.report)==null?void 0:q.arrival)==null?void 0:ee.eta)))+" )",1)])]),e.createElementVNode("table",null,[M8,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[I8,e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(((oe=(te=t.report)==null?void 0:te.cp)==null?void 0:oe.speed)??"—"),1),t.report.useWeather?(e.openBlock(),e.createElementBlock("span",G8,[e.createTextVNode(" | "),(ie=(ae=(le=t.report)==null?void 0:le.extend)==null?void 0:ae.spdAbt)!=null&&ie.spdPercentage?(e.openBlock(),e.createElementBlock("span",R8,"+"+e.toDisplayString((Ee=(re=(de=t.report)==null?void 0:de.extend)==null?void 0:re.spdAbt)==null?void 0:Ee.spdOfOver)+"% , -"+e.toDisplayString((ye=(he=(u=t.report)==null?void 0:u.extend)==null?void 0:he.spdAbt)==null?void 0:ye.spdOfUnder)+"%",1)):(e.openBlock(),e.createElementBlock("span",z8,"+"+e.toDisplayString((ge=(pe=(Ne=t.report)==null?void 0:Ne.extend)==null?void 0:pe.spdAbt)==null?void 0:ge.abt4SpdOver)+" , -"+e.toDisplayString((ke=(be=(xe=t.report)==null?void 0:xe.extend)==null?void 0:be.spdAbt)==null?void 0:ke.abt4SpdUnder),1))])):e.createCommentVNode("",!0)]),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(((Ce=(De=t.report)==null?void 0:De.cp)==null?void 0:Ce.fo)??"—"),1),t.report.useWeather?(e.openBlock(),e.createElementBlock("span",U8,[e.createTextVNode(" | "),(Pe=(Oe=(Fe=t.report)==null?void 0:Fe.extend)==null?void 0:Oe.foAbtCons)!=null&&Pe.percentage?(e.openBlock(),e.createElementBlock("span",Y8,"+"+e.toDisplayString((We=($e=(Le=t.report)==null?void 0:Le.extend)==null?void 0:$e.foAbtCons)==null?void 0:We.over)+"% , -"+e.toDisplayString((Ve=(Me=(He=t.report)==null?void 0:He.extend)==null?void 0:Me.foAbtCons)==null?void 0:Ve.under)+"%",1)):(e.openBlock(),e.createElementBlock("span",Z8,"+"+e.toDisplayString((Ke=(je=(Je=t.report)==null?void 0:Je.extend)==null?void 0:je.foAbtCons)==null?void 0:Ke.overTolerance)+" , -"+e.toDisplayString((Ue=(Se=(T=t.report)==null?void 0:T.extend)==null?void 0:Se.foAbtCons)==null?void 0:Ue.underTolerance),1))])):e.createCommentVNode("",!0)]),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(((qe=(Xe=t.report)==null?void 0:Xe.cp)==null?void 0:qe.dgo)??"—"),1),t.report.useWeather?(e.openBlock(),e.createElementBlock("span",Q8,[e.createTextVNode(" | "),(et=(ve=(ue=t.report)==null?void 0:ue.extend)==null?void 0:ve.dgoAbtCons)!=null&&et.percentage?(e.openBlock(),e.createElementBlock("span",J8,"+"+e.toDisplayString((Be=(W=(m=t.report)==null?void 0:m.extend)==null?void 0:W.dgoAbtCons)==null?void 0:Be.over)+"% , -"+e.toDisplayString((_e=(Ye=(Ge=t.report)==null?void 0:Ge.extend)==null?void 0:Ye.dgoAbtCons)==null?void 0:_e.under)+"%",1)):(e.openBlock(),e.createElementBlock("span",j8,"+"+e.toDisplayString((ot=(tt=(Ze=t.report)==null?void 0:Ze.extend)==null?void 0:tt.dgoAbtCons)==null?void 0:ot.overTolerance)+" , -"+e.toDisplayString((pt=(mt=(rt=t.report)==null?void 0:rt.extend)==null?void 0:mt.dgoAbtCons)==null?void 0:pt.underTolerance),1))])):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",K8,[e.createElementVNode("div",X8,[q8,e.createElementVNode("div",u8,[((ht=t.report)==null?void 0:ht.extraDist)<0?(e.openBlock(),e.createElementBlock("div",v8,[e6,e.createElementVNode("span",t6,e.toDisplayString(Math.abs((yt=t.report)==null?void 0:yt.extraDist)),1),o6])):((Nt=t.report)==null?void 0:Nt.extraDist)>=0?(e.openBlock(),e.createElementBlock("div",l6,[a6,e.createElementVNode("span",n6,e.toDisplayString(Math.abs((Vt=t.report)==null?void 0:Vt.extraDist)),1),s6])):(e.openBlock(),e.createElementBlock("div",c6,"N/A"))])]),e.createElementVNode("div",i6,[d6,e.createElementVNode("div",r6,[((gt=(ft=t.report)==null?void 0:ft.timeAnalysis)==null?void 0:gt.totalExtraTime)<0?(e.openBlock(),e.createElementBlock("div",m6,[p6,e.createElementVNode("span",h6,e.toDisplayString(Math.abs((bt=(xt=t.report)==null?void 0:xt.timeAnalysis)==null?void 0:bt.totalExtraTime)),1),_6])):((Dt=(kt=t.report)==null?void 0:kt.timeAnalysis)==null?void 0:Dt.totalExtraTime)>=0?(e.openBlock(),e.createElementBlock("div",E6,[y6,e.createElementVNode("span",N6,e.toDisplayString(Math.abs((St=(Ct=t.report)==null?void 0:Ct.timeAnalysis)==null?void 0:St.totalExtraTime)),1),V6])):(e.openBlock(),e.createElementBlock("div",f6,"N/A"))])]),e.createElementVNode("div",g6,[x6,e.createElementVNode("div",b6,[((Tt=(wt=(Bt=t.report)==null?void 0:Bt.consAnalysis)==null?void 0:wt.fo)==null?void 0:Tt.totalExtraCons)<0?(e.openBlock(),e.createElementBlock("div",k6,[D6,e.createElementVNode("span",C6,e.toDisplayString(Math.abs((Ot=(Ft=(At=t.report)==null?void 0:At.consAnalysis)==null?void 0:Ft.fo)==null?void 0:Ot.totalExtraCons)),1),S6])):(($t=(Lt=(Pt=t.report)==null?void 0:Pt.consAnalysis)==null?void 0:Lt.fo)==null?void 0:$t.totalExtraCons)>=0?(e.openBlock(),e.createElementBlock("div",B6,[w6,e.createElementVNode("span",T6,e.toDisplayString(Math.abs((ro=(io=(co=t.report)==null?void 0:co.consAnalysis)==null?void 0:io.fo)==null?void 0:ro.totalExtraCons)),1),A6])):(e.openBlock(),e.createElementBlock("div",F6,"N/A"))])]),e.createElementVNode("div",O6,[P6,e.createElementVNode("div",L6,[((ho=(po=(mo=t.report)==null?void 0:mo.consAnalysis)==null?void 0:po.dgo)==null?void 0:ho.totalExtraCons)<0?(e.openBlock(),e.createElementBlock("div",$6,[W6,e.createElementVNode("span",H6,e.toDisplayString(Math.abs((yo=(Eo=(_o=t.report)==null?void 0:_o.consAnalysis)==null?void 0:Eo.dgo)==null?void 0:yo.totalExtraCons)),1),M6])):((fo=(Vo=(No=t.report)==null?void 0:No.consAnalysis)==null?void 0:Vo.dgo)==null?void 0:fo.totalExtraCons)>=0?(e.openBlock(),e.createElementBlock("div",I6,[G6,e.createElementVNode("span",R6,e.toDisplayString(Math.abs((bo=(xo=(go=t.report)==null?void 0:go.consAnalysis)==null?void 0:xo.dgo)==null?void 0:bo.totalExtraCons)),1),z6])):(e.openBlock(),e.createElementBlock("div",U6,"N/A"))])])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(a.remarks)?"print-hidden":""])},[Y6,e.createElementVNode("div",Z6,[a.editable?(e.openBlock(),e.createElementBlock("div",Q6,[a.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=Q=>a.remarks=Q),class:"editor",height:"80px",onBlur:s[1]||(s[1]=Q=>n.handleCommit(Q))},null,8,["modelValue"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-block",onDblclick:s[2]||(s[2]=Q=>a.editable=!0)},[n.computeBlankHtml(a.remarks)?(e.openBlock(),e.createElementBlock("div",j6,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:a.remarks},null,8,J6))],32))])],2),e.createElementVNode("div",K6,[X6,((ko=t.report)==null?void 0:ko.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("table",q6,[u6,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[v6,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((Do=t.report)==null?void 0:Do.startLat,(S=t.report)==null?void 0:S.startLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Ie=t.report)==null?void 0:Ie.startTime)),1),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(lt=t.report)==null?void 0:lt.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=Q=>n.handleCommit("extra","startFoBrob",Q))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(at=t.report)==null?void 0:at.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=Q=>n.handleCommit("extra","startDgoBrob",Q))},null,8,["value"])]),ew,tw]),e.createElementVNode("tr",null,[ow,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((_t=t.report)==null?void 0:_t.endLat,(Wt=t.report)==null?void 0:Wt.endLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Ht=t.report)==null?void 0:Ht.endTime)),1),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Mt=t.report)==null?void 0:Mt.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=Q=>n.handleCommit("extra","endFoBrob",Q))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(It=t.report)==null?void 0:It.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=Q=>n.handleCommit("extra","endDgoBrob",Q))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Gt=t.report)==null?void 0:Gt.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=Q=>n.handleCommit("extra","endFoBunkering",Q))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Rt=t.report)==null?void 0:Rt.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[8]||(s[8]=Q=>n.handleCommit("extra","endDgoBunkering",Q))},null,8,["value"])])]),e.createElementVNode("tr",null,[lw,e.createElementVNode("td",null,e.toDisplayString((Ut=(zt=t.report)==null?void 0:zt.timeAnalysis)==null?void 0:Ut.actualTime)+" (hrs)",1),e.createElementVNode("td",null,e.toDisplayString((Qt=(Zt=(Yt=t.report)==null?void 0:Yt.consAnalysis)==null?void 0:Zt.fo)==null?void 0:Qt.actualCons),1),e.createElementVNode("td",null,e.toDisplayString((Kt=(jt=(Jt=t.report)==null?void 0:Jt.consAnalysis)==null?void 0:jt.dgo)==null?void 0:Kt.actualCons),1),aw])])])):(e.openBlock(),e.createElementBlock("table",nw,[sw,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[cw,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((Xt=t.report)==null?void 0:Xt.startLat,(qt=t.report)==null?void 0:qt.startLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((ut=t.report)==null?void 0:ut.startTime)),1)]),e.createElementVNode("tr",null,[iw,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((vt=t.report)==null?void 0:vt.endLat,(eo=t.report)==null?void 0:eo.endLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((to=t.report)==null?void 0:to.endTime)),1)])])]))]),((oo=t.report)==null?void 0:oo.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",dw,[e.createElementVNode("div",rw,[mw,e.createVNode(g,{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,[pw,hw,_w,Ew,yw,((lo=a.extraPortList)==null?void 0:lo.length)>0?(e.openBlock(),e.createElementBlock("th",Nw,"Activity")):e.createCommentVNode("",!0)]),Vw]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.extraPortList,(Q,so)=>{var ba,ka,Da,Ca,Sa,Ba,wa,Ta;return e.openBlock(),e.createElementBlock(e.Fragment,{key:so},[e.createElementVNode("tr",null,[e.createElementVNode("td",fw,[e.createVNode(p,{class:"editable-item",value:Q==null?void 0:Q.name,type:"remotePortSelect",size:"small",align:"center",options:a.portList,onSelect:n.fetchSuggestName,onCommit:Qe=>n.handleCommit("port","name",Qe,so)},null,8,["value","options","onSelect","onCommit"])]),gw,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(ba=Q==null?void 0:Q.arrival)==null?void 0:ba.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Qe=>n.handleCommit("port","arrival.date",Qe,so)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(ka=Q==null?void 0:Q.arrival)==null?void 0:ka.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","arrival.foBrob",Qe,so)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Da=Q==null?void 0:Q.arrival)==null?void 0:Da.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","arrival.dgoBrob",Qe,so)},null,8,["value","onCommit"])]),xw,bw,e.createElementVNode("td",kw,[e.createVNode(g,{size:"small",onClick:Qe=>n.handleRemove(so)},{default:e.withCtx(()=>[e.createTextVNode("Del")]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[Dw,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(Ca=Q==null?void 0:Q.departure)==null?void 0:Ca.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Qe=>n.handleCommit("port","departure.date",Qe,so)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Sa=Q==null?void 0:Q.departure)==null?void 0:Sa.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.foBrob",Qe,so)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Ba=Q==null?void 0:Q.departure)==null?void 0:Ba.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.dgoBrob",Qe,so)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(wa=Q==null?void 0:Q.departure)==null?void 0:wa.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.bunkeringFo",Qe,so)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Ta=Q==null?void 0:Q.departure)==null?void 0:Ta.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.bunkeringDgo",Qe,so)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[Cw,Sw,e.createElementVNode("td",null,e.toDisplayString(((no=(ao=t.report)==null?void 0:ao.timeAnalysis)==null?void 0:no.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Bo=(So=(Co=t.report)==null?void 0:Co.consAnalysis)==null?void 0:So.fo)==null?void 0:Bo.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Ao=(To=(wo=t.report)==null?void 0:wo.consAnalysis)==null?void 0:To.dgo)==null?void 0:Ao.portCons)??"—"),1),Bw,ww,((Fo=a.extraPortList)==null?void 0:Fo.length)>0?(e.openBlock(),e.createElementBlock("td",Tw)):e.createCommentVNode("",!0)])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",Aw,[Fw,e.createElementVNode("table",null,[Ow,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(Oo=t.report)==null?void 0:Oo.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[9]||(s[9]=Q=>n.handleCommit("report","actualDist",Q,o.index))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(Po=t.report)==null?void 0:Po.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[10]||(s[10]=Q=>n.handleCommit("report","priorDist",Q,o.index))},null,8,["value"])]),e.createElementVNode("td",null,e.toDisplayString(((Lo=t.report)==null?void 0:Lo.extraDist)??"—"),1)])])]),e.createElementVNode("div",Pw,[(($o=t.report)==null?void 0:$o.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",Lw,[e.createElementVNode("div",$w,[Ww,Hw,e.createElementVNode("div",Mw,[e.createElementVNode("div",Iw,[Gw,Rw,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",zw,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",Uw,"CP Speed"))])]),Yw,e.createElementVNode("div",Zw,[e.createElementVNode("div",Qw,[e.createElementVNode("div",null,e.toDisplayString((Wo=t.report)==null?void 0:Wo.extraDist),1),Jw,e.createElementVNode("div",null,e.toDisplayString((Mo=(Ho=t.report)==null?void 0:Ho.extend)==null?void 0:Mo.cpSpd),1)])]),jw,e.createElementVNode("div",Kw,e.toDisplayString((Go=(Io=t.report)==null?void 0:Io.timeAnalysis)==null?void 0:Go.sailingTime)+" (hrs)",1)]),e.createElementVNode("div",Xw,[qw,e.createElementVNode("div",uw,e.toDisplayString((zo=(Ro=t.report)==null?void 0:Ro.timeAnalysis)==null?void 0:zo.sailingTime),1),vw,e.createElementVNode("div",e7,e.toDisplayString(n.computeNum((Yo=(Uo=t.report)==null?void 0:Uo.timeAnalysis)==null?void 0:Yo.portTime)),1),t7,e.createElementVNode("div",o7,e.toDisplayString((Qo=(Zo=t.report)==null?void 0:Zo.timeAnalysis)==null?void 0:Qo.totalExtraTime)+" (hrs)",1)])])):(e.openBlock(),e.createElementBlock("div",l7,[e.createElementVNode("div",a7,[n7,s7,e.createElementVNode("div",c7,[e.createElementVNode("div",i7,[d7,r7,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",m7,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",p7,"CP Speed"))])]),h7,e.createElementVNode("div",_7,[e.createElementVNode("div",E7,[e.createElementVNode("div",null,e.toDisplayString((Ko=t.report)==null?void 0:Ko.priorDist),1),y7,e.createElementVNode("div",null,e.toDisplayString((qo=(Xo=t.report)==null?void 0:Xo.extend)==null?void 0:qo.cpSpd),1)])]),N7,e.createElementVNode("div",V7,e.toDisplayString((vo=(uo=t.report)==null?void 0:uo.timeAnalysis)==null?void 0:vo.sailingTime)+" (hrs)",1),f7,g7]),e.createElementVNode("div",x7,[b7,e.createElementVNode("div",k7,e.toDisplayString((tl=(el=t.report)==null?void 0:el.timeAnalysis)==null?void 0:tl.actualTime),1),D7,e.createElementVNode("div",C7,e.toDisplayString((ll=(ol=t.report)==null?void 0:ol.timeAnalysis)==null?void 0:ll.sailingTime),1),S7,e.createElementVNode("div",B7,e.toDisplayString((nl=(al=t.report)==null?void 0:al.timeAnalysis)==null?void 0:nl.totalExtraTime)+" (hrs)",1)])]))]),e.createElementVNode("div",w7,[((sl=t.report)==null?void 0:sl.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",T7,[e.createElementVNode("div",A7,[F7,O7,e.createElementVNode("div",P7,[e.createElementVNode("div",L7,[$7,W7,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",H7,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",M7,"CP Speed"))])]),I7,e.createElementVNode("div",G7,[e.createElementVNode("div",R7,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",z7,"Daily FO Consumption + About")):(e.openBlock(),e.createElementBlock("div",U7,"Daily FO Consumption")),Y7,Z7])]),Q7,e.createElementVNode("div",J7,[e.createElementVNode("div",j7,[e.createElementVNode("div",null,e.toDisplayString((cl=t.report)==null?void 0:cl.extraDist),1),K7,e.createElementVNode("div",null,e.toDisplayString((dl=(il=t.report)==null?void 0:il.extend)==null?void 0:dl.cpSpd),1)])]),X7,e.createElementVNode("div",q7,[e.createElementVNode("div",u7,[e.createElementVNode("div",null,e.toDisplayString((ml=(rl=t.report)==null?void 0:rl.extend)==null?void 0:ml.cpFoCons),1),v7,eT])]),tT,e.createElementVNode("div",oT,e.toDisplayString((_l=(hl=(ct=t.report)==null?void 0:ct.consAnalysis)==null?void 0:hl.fo)==null?void 0:_l.sailingCons)+" (mt)",1)]),e.createElementVNode("div",lT,[aT,e.createElementVNode("div",nT,e.toDisplayString((Nl=(yl=(El=t.report)==null?void 0:El.consAnalysis)==null?void 0:yl.fo)==null?void 0:Nl.sailingCons),1),sT,e.createElementVNode("div",cT,e.toDisplayString(n.computeNum((gl=(fl=(Vl=t.report)==null?void 0:Vl.consAnalysis)==null?void 0:fl.fo)==null?void 0:gl.portCons)),1),iT,e.createElementVNode("div",dT,e.toDisplayString((kl=(bl=(xl=t.report)==null?void 0:xl.consAnalysis)==null?void 0:bl.fo)==null?void 0:kl.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",gT,[e.createElementVNode("div",xT,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",bT,"Daily MGO Consumption + About")):(e.openBlock(),e.createElementBlock("div",kT,"Daily MGO Consumption")),DT,CT])]),ST,e.createElementVNode("div",BT,[e.createElementVNode("div",wT,[e.createElementVNode("div",null,e.toDisplayString((Dl=t.report)==null?void 0:Dl.extraDist),1),TT,e.createElementVNode("div",null,e.toDisplayString((Sl=(Cl=t.report)==null?void 0:Cl.extend)==null?void 0:Sl.cpSpd),1)])]),AT,e.createElementVNode("div",FT,[e.createElementVNode("div",OT,[e.createElementVNode("div",null,e.toDisplayString((wl=(Bl=t.report)==null?void 0:Bl.extend)==null?void 0:wl.cpDgoCons),1),PT,LT])]),$T,e.createElementVNode("div",WT,e.toDisplayString((Fl=(Al=(Tl=t.report)==null?void 0:Tl.consAnalysis)==null?void 0:Al.dgo)==null?void 0:Fl.sailingCons)+" (mt)",1)]),e.createElementVNode("div",HT,[MT,e.createElementVNode("div",IT,e.toDisplayString((Ll=(Pl=(Ol=t.report)==null?void 0:Ol.consAnalysis)==null?void 0:Pl.dgo)==null?void 0:Ll.sailingCons),1),GT,e.createElementVNode("div",RT,e.toDisplayString(n.computeNum((Hl=(Wl=($l=t.report)==null?void 0:$l.consAnalysis)==null?void 0:Wl.dgo)==null?void 0:Hl.portCons)),1),zT,e.createElementVNode("div",UT,e.toDisplayString((Gl=(Il=(Ml=t.report)==null?void 0:Ml.consAnalysis)==null?void 0:Il.dgo)==null?void 0:Gl.totalExtraCons)+" (mt)",1)])])):(e.openBlock(),e.createElementBlock("div",YT,[e.createElementVNode("div",ZT,[QT,JT,e.createElementVNode("div",jT,[e.createElementVNode("div",KT,[XT,qT,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",uT,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",vT,"CP Speed"))])]),eA,e.createElementVNode("div",tA,[e.createElementVNode("div",oA,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",lA,"CP Daily FO Consumption + About")):(e.openBlock(),e.createElementBlock("div",aA,"CP Daily FO Consumption")),nA,sA])]),cA,e.createElementVNode("div",iA,[e.createElementVNode("div",dA,[e.createElementVNode("div",null,e.toDisplayString((Rl=t.report)==null?void 0:Rl.priorDist),1),rA,e.createElementVNode("div",null,e.toDisplayString((Ul=(zl=t.report)==null?void 0:zl.extend)==null?void 0:Ul.cpSpd),1)])]),mA,e.createElementVNode("div",pA,[e.createElementVNode("div",hA,[e.createElementVNode("div",null,e.toDisplayString((Zl=(Yl=t.report)==null?void 0:Yl.extend)==null?void 0:Zl.cpFoCons),1),_A,EA])]),yA,e.createElementVNode("div",NA,e.toDisplayString((jl=(Jl=(Ql=t.report)==null?void 0:Ql.consAnalysis)==null?void 0:Jl.fo)==null?void 0:jl.sailingCons)+" (mt)",1)]),e.createElementVNode("div",VA,[fA,e.createElementVNode("div",gA,e.toDisplayString((ql=(Xl=(Kl=t.report)==null?void 0:Kl.consAnalysis)==null?void 0:Xl.fo)==null?void 0:ql.actualCons),1),xA,e.createElementVNode("div",bA,e.toDisplayString(n.computeNum((ea=(vl=(ul=t.report)==null?void 0:ul.consAnalysis)==null?void 0:vl.fo)==null?void 0:ea.sailingCons)),1),kA,e.createElementVNode("div",DA,e.toDisplayString((la=(oa=(ta=t.report)==null?void 0:ta.consAnalysis)==null?void 0:oa.fo)==null?void 0:la.totalExtraCons)+" (mt)",1)]),e.createElementVNode("div",CA,[SA,BA,e.createElementVNode("div",wA,[e.createElementVNode("div",TA,[AA,FA,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",OA,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",PA,"CP Speed"))])]),LA,e.createElementVNode("div",$A,[e.createElementVNode("div",WA,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",HA,"CP Daily MGO Consumption + About")):(e.openBlock(),e.createElementBlock("div",MA,"CP Daily MGO Consumption")),IA,GA])]),RA,e.createElementVNode("div",zA,[e.createElementVNode("div",UA,[e.createElementVNode("div",null,e.toDisplayString((aa=t.report)==null?void 0:aa.priorDist),1),YA,e.createElementVNode("div",null,e.toDisplayString((sa=(na=t.report)==null?void 0:na.extend)==null?void 0:sa.cpSpd),1)])]),ZA,e.createElementVNode("div",QA,[e.createElementVNode("div",JA,[e.createElementVNode("div",null,e.toDisplayString((ia=(ca=t.report)==null?void 0:ca.extend)==null?void 0:ia.cpDgoCons),1),jA,KA])]),XA,e.createElementVNode("div",qA,e.toDisplayString((ma=(ra=(da=t.report)==null?void 0:da.consAnalysis)==null?void 0:ra.dgo)==null?void 0:ma.sailingCons)+" (mt)",1)]),e.createElementVNode("div",uA,[vA,e.createElementVNode("div",eF,e.toDisplayString((_a=(ha=(pa=t.report)==null?void 0:pa.consAnalysis)==null?void 0:ha.dgo)==null?void 0:_a.actualCons),1),tF,e.createElementVNode("div",oF,e.toDisplayString((Na=(ya=(Ea=t.report)==null?void 0:Ea.consAnalysis)==null?void 0:ya.dgo)==null?void 0:Na.sailingCons),1),lF,e.createElementVNode("div",aF,e.toDisplayString((ga=(fa=(Va=t.report)==null?void 0:Va.consAnalysis)==null?void 0:fa.dgo)==null?void 0:ga.totalExtraCons)+" (mt)",1)])]))])]),e.createElementVNode("div",nF,[sF,e.createElementVNode("div",cF,[e.createElementVNode("img",{style:{width:"100%"},src:(xa=t.report)==null?void 0:xa.chartUrl,alt:""},null,8,iF),dF])])])])}const Zs=we(r8,[["render",rF],["__scopeId","data-v-466ca2d5"]]),Kj="",mF={name:"FliDvtRpt",components:{CirclePlus:Xa.CirclePlus,Remove:Xa.Remove,EditableItem:Ys,Editor:pl},props:{data:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{extraData:void 0,logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBFpFvBonCYK2EwwGdyKc94I0SgAfI4wbhdFZJoART1UAK4Bf38vK/Jsz5yRb+8b0GhfKzsNsPKOenyo3Wb7J7jEccCDZNWXIgEoWCQ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oUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/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?`${X(o).utc().format(s)}`:"-"}},computedLngLat(){return function(o,s){const t=me.LngLatHelper.lat2pretty(o).pretty,r=me.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 Ja.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 Ja.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,g,x;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 Ja.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=(g=this.data)!=null&&g.comments?(x=this.data)==null?void 0:x.comments:void 0}else Os.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},f=o=>(e.pushScopeId("data-v-eba493df"),o=o(),e.popScopeId(),o),pF={class:"deviation-report"},hF=f(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),_F={class:"report-header"},EF={class:"header-title",style:{position:"relative !important"}},yF={class:"header-title-content"},NF=f(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),VF={class:"title-date"},fF={class:"report-summary"},gF={class:"summary-item"},xF=f(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),bF={class:"flexL gray"},kF={class:"summary-item"},DF=f(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),CF={class:"flexL gray"},SF={class:"summary-item"},BF=f(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),wF={class:"flexL gray"},TF={class:"summary-item"},AF=f(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),FF={class:"flexL gray"},OF={class:"summary-item"},PF=f(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),LF={class:"flexL gray",style:{display:"flex"}},$F={class:"flex"},WF={class:"flexM"},HF={class:"summary-item"},MF=f(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),IF={class:"flexL gray",style:{display:"flex"}},GF={class:"flex"},RF={class:"flexM"},zF=f(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),UF={class:"report-summary"},YF={class:"summary-item"},ZF=f(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),QF={class:"summary-item"},JF=f(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),jF={class:"summary-item"},KF=f(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),XF={class:"summary-item"},qF=f(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),uF=f(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),vF={class:"report-map"},eO=["src"],tO=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),oO=f(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),lO={key:0,class:"subtitle"},aO={key:1,class:"report-summary"},nO=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),sO={class:"summary-item"},cO=f(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),iO={class:"blue center",style:{width:"20%"}},dO={class:"blue center",style:{width:"17%"}},rO={class:"flex blue center"},mO={class:"flex blue center"},pO=f(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),hO=f(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),_O={class:"summary-item"},EO=f(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),yO={class:"blue center",style:{width:"20%"}},NO={class:"blue center",style:{width:"17%"}},VO={class:"flex blue center"},fO={class:"flex blue center"},gO={class:"flex blue center"},xO={class:"flex blue center"},bO={class:"summary-item"},kO=f(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),DO=f(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),CO={class:"blue center",style:{width:"17%"}},SO={class:"flex blue center"},BO={class:"flex blue center"},wO=f(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),TO=f(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),AO=f(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),FO={class:"report-summary"},OO={class:"summary-item"},PO=f(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),LO={class:"flexL blue center"},$O={class:"summary-item"},WO=f(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),HO={class:"flexL blue center"},MO={class:"summary-item"},IO=f(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),GO={class:"flexL blue center"},RO={class:"subtitle port"},zO=f(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),UO={class:"print-hidden"},YO={class:"report-port"},ZO=f(()=>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)),QO={rowspan:2},JO=f(()=>e.createElementVNode("td",null,"Arrival",-1)),jO=f(()=>e.createElementVNode("td",null,null,-1)),KO=f(()=>e.createElementVNode("td",null,null,-1)),XO={rowspan:2,class:"print-hidden"},qO=f(()=>e.createElementVNode("td",null,"Departure",-1)),uO=f(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),vO=f(()=>e.createElementVNode("td",null,null,-1)),eP=f(()=>e.createElementVNode("td",null,null,-1)),tP=f(()=>e.createElementVNode("td",null,null,-1)),oP=f(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),lP=f(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),aP={class:"report-summary"},nP=f(()=>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)),sP={class:"summary-item"},cP=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),iP={class:"flex blue center"},dP={class:"flex blue center"},rP={class:"summary-item"},mP=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),pP={class:"flex blue center"},hP=f(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),_P={key:2,class:"report-formular"},EP={class:"equation"},yP=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),NP={class:"function",style:{width:"20%"}},VP=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),fP=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),gP={style:{width:"10%"}},xP=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),bP={class:"equation"},kP=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%"}},CP=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),SP={style:{width:"8%"}},BP=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),wP={style:{width:"4%"}},TP=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),AP={key:3,class:"report-formular"},FP={class:"equation"},OP=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),PP={class:"function",style:{width:"20%"}},LP=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$P=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),WP={style:{width:"10%"}},HP=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),MP={key:0,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: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),GP={style:{width:"5%"}},RP=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),zP={style:{width:"5%"}},UP=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),YP={style:{width:"5%"}},ZP=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),QP={key:1,class:"equation"},JP=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),jP={style:{width:"5%"}},KP=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),XP={style:{width:"5%"}},qP=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),uP={style:{width:"5%"}},vP=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),eL={style:{width:"5%"}},tL=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),oL={key:4,class:"report-summary"},lL={class:"summary-item"},aL=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),nL={class:"flex blue center"},sL={class:"summary-item"},cL=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),iL={class:"flex blue center"},dL={class:"summary-item"},rL=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),mL={class:"flex blue center"},pL={key:5,class:"report-summary"},hL={class:"summary-item"},_L=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),EL={class:"flex blue center"},yL={class:"summary-item"},NL=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),VL={class:"flex blue center"},fL={key:0,class:"summary-item"},gL=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),xL={class:"flex blue center"},bL={class:"summary-item"},kL=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),DL={class:"flex blue center"},CL=f(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),SL={key:6,class:"report-formular"},BL={class:"equation"},wL=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),TL={class:"function",style:{width:"5%"}},AL=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),FL=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),OL={class:"function",style:{width:"5%"}},PL=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),LL=f(()=>e.createElementVNode("div",null,"24",-1)),$L=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),WL={style:{width:"5%"}},HL=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),ML={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 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),GL={style:{width:"5%"}},RL=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),zL={style:{width:"5%"}},UL=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),YL={style:{width:"5%"}},ZL=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),QL={class:"equation"},JL=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),jL={class:"function",style:{width:"5%"}},KL=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),XL=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),qL={class:"function",style:{width:"5%"}},uL=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),vL=f(()=>e.createElementVNode("div",null,"24",-1)),e$=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),t$={style:{width:"5%"}},o$=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),l$={class:"equation"},a$=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),n$={style:{width:"5%"}},s$=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),c$={style:{width:"5%"}},i$=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),d$={style:{width:"5%"}},r$=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),m$={key:7,class:"report-formular"},p$={class:"equation"},h$=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),_$={class:"function",style:{width:"5%"}},E$=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),y$=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),N$={class:"function",style:{width:"5%"}},V$=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),f$=f(()=>e.createElementVNode("div",null,"24",-1)),g$=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),x$={style:{width:"5%"}},b$=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),k$={class:"equation"},D$=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),C$={class:"function",style:{width:"5%"}},S$=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),B$=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),w$={class:"function",style:{width:"5%"}},T$=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),A$=f(()=>e.createElementVNode("div",null,"24",-1)),F$=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),O$={style:{width:"5%"}},P$=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),L$={key:0,class:"equation"},$$=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),W$={style:{width:"5%"}},H$=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),M$={style:{width:"5%"}},I$=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),G$={style:{width:"5%"}},R$=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),z$={key:1,class:"equation"},U$=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),Y$={style:{width:"5%"}},Z$=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),Q$={style:{width:"5%"}},J$=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),j$={style:{width:"5%"}},K$=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),X$={style:{width:"5%"}},q$=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),u$={key:2,class:"equation"},v$=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),eW={style:{width:"5%"}},tW=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),oW={style:{width:"5%"}},lW=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),aW={style:{width:"5%"}},nW=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),sW={key:3,class:"equation"},cW=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),iW={style:{width:"5%"}},dW=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),rW={style:{width:"5%"}},mW=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),pW={style:{width:"5%"}},hW=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),_W={style:{width:"5%"}},EW=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),yW={key:8,class:"report-summary"},NW=f(()=>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)),VW={class:"summary-item"},fW=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),gW={class:"flex blue center"},xW={class:"flex blue center"},bW={class:"summary-item"},kW=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),DW={class:"flex blue center"},CW={class:"flex blue center"},SW={class:"summary-item"},BW=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),wW={key:9,class:"report-summary"},TW=f(()=>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)),AW={class:"summary-item"},FW=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),OW={class:"flex blue center"},PW={class:"flex blue center"},LW={class:"summary-item"},$W=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),WW={class:"flex blue center"},HW={class:"flex blue center"},MW={key:0,class:"summary-item"},IW=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),GW={class:"flex blue center"},RW={class:"flex blue center"},zW={class:"summary-item"},UW=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),YW=["innerHTML"];function ZW(o,s,t,r,a,n){var h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,I,J,Y,j,se,ce,l,q,ee,te,oe,le,ae,ie,de,re,Ee,u,he,ye,Ne,pe,ge,xe,be,ke,De,Ce,Fe,Oe,Pe,Le,$e,We,He,Me,Ve,Je,je,Ke,T,Se,Ue,Xe,qe,ue,ve,et,m,W,Be,Ge,Ye,_e,Ze,tt,ot,rt,mt,pt,ht,yt,Nt,Vt,ft,gt,xt,bt,kt,Dt,Ct,St,Bt,wt,Tt,At,Ft,Ot,Pt,Lt,$t,co,io,ro,mo,po,ho,_o,Eo,yo,No,Vo,fo,go,xo,bo,ko,Do,S,Ie,lt,at,_t,Wt,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,jt,Kt,Xt,qt,ut,vt,eo,to,oo,lo,ao,no,Co,So,Bo,wo,To,Ao,Fo,Oo,Po,Lo,$o,Wo,Ho,Mo,Io,Go,Ro,zo,Uo,Yo,Zo,Qo,Ko,Xo,qo,uo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl,ml,ct,hl,_l,El,yl,Nl,Vl,fl,gl,xl,bl,kl,Dl,Cl,Sl,Bl,wl,Tl,Al,Fl,Ol,Pl,Ll,$l,Wl,Hl,Ml,Il,Gl,Rl,zl,Ul,Yl,Zl,Ql,Jl,jl,Kl,Xl,ql,ul,vl,ea,ta,oa,la,aa,na,sa,ca,ia,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ga,xa,Q,so,ba,ka,Da,Ca,Sa,Ba,wa,Ta,Qe,Pa,La,$a,Wa;const E=e.resolveComponent("EditableItem"),c=e.resolveComponent("CirclePlus"),p=e.resolveComponent("ElIcon"),g=e.resolveComponent("Remove"),x=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",pF,[hF,e.createElementVNode("div",_F,[e.createElementVNode("div",EF,[e.createElementVNode("div",yF,[NF,e.createElementVNode("div",VF,e.toDisplayString(n.computeUTCTime((h=a.extraData)==null?void 0:h.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",fF,[e.createElementVNode("div",gF,[xF,e.createElementVNode("div",bF,e.toDisplayString((D=(N=a.extraData)==null?void 0:N.vessel)==null?void 0:D.name),1)]),e.createElementVNode("div",kF,[DF,e.createElementVNode("div",CF,e.toDisplayString((b=a.extraData)==null?void 0:b.preparedFor),1)]),e.createElementVNode("div",SF,[BF,e.createElementVNode("div",wF,e.toDisplayString((k=(C=a.extraData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("div",TF,[AF,e.createElementVNode("div",FF,e.toDisplayString((F=(A=a.extraData)==null?void 0:A.voyage)==null?void 0:F.number),1)]),e.createElementVNode("div",OF,[PF,e.createElementVNode("div",LF,[e.createElementVNode("span",$F,e.toDisplayString((w=(B=a.extraData)==null?void 0:B.departure)==null?void 0:w.name),1),e.createElementVNode("span",WF,e.toDisplayString(n.computeUTCTime(((O=(V=a.extraData)==null?void 0:V.departure)==null?void 0:O.atd)||((R=(G=a.extraData)==null?void 0:G.departure)==null?void 0:R.etd))),1)])]),e.createElementVNode("div",HF,[MF,e.createElementVNode("div",IF,[e.createElementVNode("span",GF,e.toDisplayString((U=(z=a.extraData)==null?void 0:z.arrival)==null?void 0:U.name),1),e.createElementVNode("span",RF,e.toDisplayString(n.computeUTCTime(((L=(_=a.extraData)==null?void 0:_.arrival)==null?void 0:L.ata)||(($=(H=a.extraData)==null?void 0:H.arrival)==null?void 0:$.eta))),1)])])]),zF,e.createElementVNode("div",UF,[e.createElementVNode("div",YF,[ZF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=a.extraData)==null?void 0:P.extraDist)} flex blue`)},e.toDisplayString(((I=a.extraData)==null?void 0:I.extraDist)??"—"),3)]),e.createElementVNode("div",QF,[JF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Y=(J=a.extraData)==null?void 0:J.timeAnalysis)==null?void 0:Y.totalExtraTime)} flex blue`)},e.toDisplayString(((se=(j=a.extraData)==null?void 0:j.timeAnalysis)==null?void 0:se.totalExtraTime)??"—"),3)]),e.createElementVNode("div",jF,[KF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((q=(l=(ce=a.extraData)==null?void 0:ce.consAnalysis)==null?void 0:l.fo)==null?void 0:q.totalExtraCons)} flex blue`)},e.toDisplayString(((oe=(te=(ee=a.extraData)==null?void 0:ee.consAnalysis)==null?void 0:te.fo)==null?void 0:oe.totalExtraCons)??"—"),3)]),e.createElementVNode("div",XF,[qF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ie=(ae=(le=a.extraData)==null?void 0:le.consAnalysis)==null?void 0:ae.dgo)==null?void 0:ie.totalExtraCons)} flex blue`)},e.toDisplayString(((Ee=(re=(de=a.extraData)==null?void 0:de.consAnalysis)==null?void 0:re.dgo)==null?void 0:Ee.totalExtraCons)??"—"),3)])]),uF,e.createElementVNode("div",vF,[e.createElementVNode("img",{style:{width:"100%"},src:(u=a.extraData)==null?void 0:u.chartUrl,alt:""},null,8,eO),tO]),oO,o.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",lO,"Diversion Information")),o.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",aO,[nO,e.createElementVNode("div",sO,[cO,e.createElementVNode("div",iO,e.toDisplayString(n.computedLngLat((he=a.extraData)==null?void 0:he.startLng,(ye=a.extraData)==null?void 0:ye.startLat)),1),e.createElementVNode("div",dO,e.toDisplayString(n.computeUTCTime((Ne=a.extraData)==null?void 0:Ne.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",rO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(pe=a.extraData)==null?void 0:pe.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",mO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(ge=a.extraData)==null?void 0:ge.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[1]||(s[1]=K=>n.handleCommit("extra","startDgoBrob",K))},null,8,["value"])]),pO,hO]),e.createElementVNode("div",_O,[EO,e.createElementVNode("div",yO,e.toDisplayString(n.computedLngLat((xe=a.extraData)==null?void 0:xe.endLng,(be=a.extraData)==null?void 0:be.endLat)),1),e.createElementVNode("div",NO,e.toDisplayString(n.computeUTCTime((ke=a.extraData)==null?void 0:ke.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",VO,[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]=K=>n.handleCommit("extra","endFoBrob",K))},null,8,["value"])]),e.createElementVNode("div",fO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Ce=a.extraData)==null?void 0:Ce.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",gO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Fe=a.extraData)==null?void 0:Fe.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",xO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Oe=a.extraData)==null?void 0:Oe.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",bO,[kO,DO,e.createElementVNode("div",CO,e.toDisplayString(((Le=(Pe=a.extraData)==null?void 0:Pe.timeAnalysis)==null?void 0:Le.actualTime)??"—"),1),e.createElementVNode("div",SO,e.toDisplayString(((He=(We=($e=a.extraData)==null?void 0:$e.consAnalysis)==null?void 0:We.fo)==null?void 0:He.actualCons)??"—"),1),e.createElementVNode("div",BO,e.toDisplayString(((Je=(Ve=(Me=a.extraData)==null?void 0:Me.consAnalysis)==null?void 0:Ve.dgo)==null?void 0:Je.actualCons)??"—"),1),wO,TO])])),AO,e.createElementVNode("div",FO,[e.createElementVNode("div",OO,[PO,e.createElementVNode("div",LO,e.toDisplayString(((Ke=(je=a.extraData)==null?void 0:je.cp)==null?void 0:Ke.speed)??"—"),1)]),e.createElementVNode("div",$O,[WO,e.createElementVNode("div",HO,e.toDisplayString(((Se=(T=a.extraData)==null?void 0:T.cp)==null?void 0:Se.fo)??"—"),1)]),e.createElementVNode("div",MO,[IO,e.createElementVNode("div",GO,e.toDisplayString(((Xe=(Ue=a.extraData)==null?void 0:Ue.cp)==null?void 0:Xe.dgo)??"—"),1)])]),e.createElementVNode("div",RO,[zO,e.createElementVNode("div",UO,[e.createVNode(p,{size:20,onClick:n.handleAdd},{default:e.withCtx(()=>[e.createVNode(c)]),_:1},8,["onClick"])])]),e.createElementVNode("div",YO,[e.createElementVNode("table",null,[ZO,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.extraPortList,(K,Jo)=>{var Ha,Ma,Ia,Ga,Ra,za,Ua,Ya;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Jo},[e.createElementVNode("tr",null,[e.createElementVNode("td",QO,[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:it=>n.handleCommit("port","name",it,Jo)},null,8,["value","options","onSelect","onCommit"])]),JO,e.createElementVNode("td",null,[e.createVNode(E,{class:"check editable-item",value:(Ha=K==null?void 0:K.arrival)==null?void 0:Ha.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:it=>n.handleCommit("port","arrival.date",it,Jo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ma=K==null?void 0:K.arrival)==null?void 0:Ma.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:it=>n.handleCommit("port","arrival.foBrob",it,Jo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ia=K==null?void 0:K.arrival)==null?void 0:Ia.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:it=>n.handleCommit("port","arrival.dgoBrob",it,Jo)},null,8,["value","onCommit"])]),jO,KO,e.createElementVNode("td",XO,[e.createVNode(p,{size:20,onClick:it=>n.handleRemove(Jo)},{default:e.withCtx(()=>[e.createVNode(g)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[qO,e.createElementVNode("td",null,[e.createVNode(E,{class:"check editable-item",value:(Ga=K==null?void 0:K.departure)==null?void 0:Ga.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:it=>n.handleCommit("port","departure.date",it,Jo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ra=K==null?void 0:K.departure)==null?void 0:Ra.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:it=>n.handleCommit("port","departure.foBrob",it,Jo)},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.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:it=>n.handleCommit("port","departure.dgoBrob",it,Jo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ua=K==null?void 0:K.departure)==null?void 0:Ua.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:it=>n.handleCommit("port","departure.bunkeringFo",it,Jo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ya=K==null?void 0:K.departure)==null?void 0:Ya.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:it=>n.handleCommit("port","departure.bunkeringDgo",it,Jo)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[uO,vO,e.createElementVNode("td",null,e.toDisplayString(((ue=(qe=a.extraData)==null?void 0:qe.timeAnalysis)==null?void 0:ue.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(et=(ve=a.extraData)==null?void 0:ve.consAnalysis)==null?void 0:et.fo)==null?void 0:m.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Ge=(Be=(W=a.extraData)==null?void 0:W.consAnalysis)==null?void 0:Be.dgo)==null?void 0:Ge.portCons)??"—"),1),eP,tP,oP])])])]),lP,e.createElementVNode("div",aP,[nP,e.createElementVNode("div",sP,[cP,e.createElementVNode("div",iP,[e.createVNode(E,{class:"editable-item",style:{padding:"0px"},value:(Ye=a.extraData)==null?void 0:Ye.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",dP,[e.createVNode(E,{class:"editable-item",style:{padding:"0px"},value:(_e=a.extraData)==null?void 0:_e.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",rP,[mP,e.createElementVNode("div",pP,e.toDisplayString(((Ze=a.extraData)==null?void 0:Ze.extraDist)??"—"),1)])]),hP,o.isDistExtra?(e.openBlock(),e.createElementBlock("div",_P,[e.createElementVNode("div",EP,[yP,e.createElementVNode("div",NP,[e.createElementVNode("div",null,e.toDisplayString((tt=a.extraData)==null?void 0:tt.extraDist),1),VP,e.createElementVNode("div",null,e.toDisplayString((rt=(ot=a.extraData)==null?void 0:ot.cp)==null?void 0:rt.speed),1)]),fP,e.createElementVNode("div",gP,e.toDisplayString((pt=(mt=a.extraData)==null?void 0:mt.timeAnalysis)==null?void 0:pt.sailingTime),1),xP]),e.createElementVNode("div",bP,[kP,e.createElementVNode("div",DP,e.toDisplayString((yt=(ht=a.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:yt.sailingTime),1),CP,e.createElementVNode("div",SP,e.toDisplayString(n.computeNum((Vt=(Nt=a.extraData)==null?void 0:Nt.timeAnalysis)==null?void 0:Vt.portTime)),1),BP,e.createElementVNode("div",wP,e.toDisplayString((gt=(ft=a.extraData)==null?void 0:ft.timeAnalysis)==null?void 0:gt.totalExtraTime),1),TP])])):(e.openBlock(),e.createElementBlock("div",AP,[e.createElementVNode("div",FP,[OP,e.createElementVNode("div",PP,[e.createElementVNode("div",null,e.toDisplayString((xt=a.extraData)==null?void 0:xt.priorDist),1),LP,e.createElementVNode("div",null,e.toDisplayString((kt=(bt=a.extraData)==null?void 0:bt.cp)==null?void 0:kt.speed),1)]),$P,e.createElementVNode("div",WP,e.toDisplayString((Ct=(Dt=a.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:Ct.sailingTime),1),HP]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",MP,[IP,e.createElementVNode("div",GP,e.toDisplayString((Bt=(St=a.extraData)==null?void 0:St.timeAnalysis)==null?void 0:Bt.actualTime),1),RP,e.createElementVNode("div",zP,e.toDisplayString((Tt=(wt=a.extraData)==null?void 0:wt.timeAnalysis)==null?void 0:Tt.sailingTime),1),UP,e.createElementVNode("div",YP,e.toDisplayString((Ft=(At=a.extraData)==null?void 0:At.timeAnalysis)==null?void 0:Ft.totalExtraTime),1),ZP])):(e.openBlock(),e.createElementBlock("div",QP,[JP,e.createElementVNode("div",jP,e.toDisplayString((Pt=(Ot=a.extraData)==null?void 0:Ot.timeAnalysis)==null?void 0:Pt.actualTime),1),KP,e.createElementVNode("div",XP,e.toDisplayString(($t=(Lt=a.extraData)==null?void 0:Lt.timeAnalysis)==null?void 0:$t.sailingTime),1),qP,e.createElementVNode("div",uP,e.toDisplayString((io=(co=a.extraData)==null?void 0:co.timeAnalysis)==null?void 0:io.portTime),1),vP,e.createElementVNode("div",eL,e.toDisplayString((mo=(ro=a.extraData)==null?void 0:ro.timeAnalysis)==null?void 0:mo.totalExtraTime),1),tL]))])),o.isDistExtra?(e.openBlock(),e.createElementBlock("div",oL,[e.createElementVNode("div",lL,[aL,e.createElementVNode("div",nL,e.toDisplayString(((ho=(po=a.extraData)==null?void 0:po.timeAnalysis)==null?void 0:ho.sailingTime)??"—"),1)]),e.createElementVNode("div",sL,[cL,e.createElementVNode("div",iL,e.toDisplayString(((Eo=(_o=a.extraData)==null?void 0:_o.timeAnalysis)==null?void 0:Eo.portTime)??"—"),1)]),e.createElementVNode("div",dL,[rL,e.createElementVNode("div",mL,e.toDisplayString(((No=(yo=a.extraData)==null?void 0:yo.timeAnalysis)==null?void 0:No.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",pL,[e.createElementVNode("div",hL,[_L,e.createElementVNode("div",EL,e.toDisplayString((fo=(Vo=a.extraData)==null?void 0:Vo.timeAnalysis)==null?void 0:fo.sailingTime),1)]),e.createElementVNode("div",yL,[NL,e.createElementVNode("div",VL,e.toDisplayString((xo=(go=a.extraData)==null?void 0:go.timeAnalysis)==null?void 0:xo.actualTime),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",fL,[gL,e.createElementVNode("div",xL,e.toDisplayString(((ko=(bo=a.extraData)==null?void 0:bo.timeAnalysis)==null?void 0:ko.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",bL,[kL,e.createElementVNode("div",DL,e.toDisplayString((S=(Do=a.extraData)==null?void 0:Do.timeAnalysis)==null?void 0:S.totalExtraTime),1)])])),CL,o.isDistExtra?(e.openBlock(),e.createElementBlock("div",SL,[e.createElementVNode("div",BL,[wL,e.createElementVNode("div",TL,[e.createElementVNode("div",null,e.toDisplayString((Ie=a.extraData)==null?void 0:Ie.extraDist),1),AL,e.createElementVNode("div",null,e.toDisplayString((at=(lt=a.extraData)==null?void 0:lt.cp)==null?void 0:at.speed),1)]),FL,e.createElementVNode("div",OL,[e.createElementVNode("div",null,e.toDisplayString((Wt=(_t=a.extraData)==null?void 0:_t.cp)==null?void 0:Wt.fo),1),PL,LL]),$L,e.createElementVNode("div",WL,e.toDisplayString((It=(Mt=(Ht=a.extraData)==null?void 0:Ht.consAnalysis)==null?void 0:Mt.fo)==null?void 0:It.sailingCons),1),HL]),e.createElementVNode("div",ML,[IL,e.createElementVNode("div",GL,e.toDisplayString((zt=(Rt=(Gt=a.extraData)==null?void 0:Gt.consAnalysis)==null?void 0:Rt.fo)==null?void 0:zt.sailingCons),1),RL,e.createElementVNode("div",zL,e.toDisplayString(n.computeNum((Zt=(Yt=(Ut=a.extraData)==null?void 0:Ut.consAnalysis)==null?void 0:Yt.fo)==null?void 0:Zt.portCons)),1),UL,e.createElementVNode("div",YL,e.toDisplayString((jt=(Jt=(Qt=a.extraData)==null?void 0:Qt.consAnalysis)==null?void 0:Jt.fo)==null?void 0:jt.totalExtraCons),1),ZL]),e.createElementVNode("div",QL,[JL,e.createElementVNode("div",jL,[e.createElementVNode("div",null,e.toDisplayString((Kt=a.extraData)==null?void 0:Kt.extraDist),1),KL,e.createElementVNode("div",null,e.toDisplayString((qt=(Xt=a.extraData)==null?void 0:Xt.cp)==null?void 0:qt.speed),1)]),XL,e.createElementVNode("div",qL,[e.createElementVNode("div",null,e.toDisplayString((vt=(ut=a.extraData)==null?void 0:ut.cp)==null?void 0:vt.dgo),1),uL,vL]),e$,e.createElementVNode("div",t$,e.toDisplayString((oo=(to=(eo=a.extraData)==null?void 0:eo.consAnalysis)==null?void 0:to.dgo)==null?void 0:oo.sailingCons),1),o$]),e.createElementVNode("div",l$,[a$,e.createElementVNode("div",n$,e.toDisplayString((no=(ao=(lo=a.extraData)==null?void 0:lo.consAnalysis)==null?void 0:ao.dgo)==null?void 0:no.sailingCons),1),s$,e.createElementVNode("div",c$,e.toDisplayString(n.computeNum((Bo=(So=(Co=a.extraData)==null?void 0:Co.consAnalysis)==null?void 0:So.dgo)==null?void 0:Bo.portCons)),1),i$,e.createElementVNode("div",d$,e.toDisplayString((Ao=(To=(wo=a.extraData)==null?void 0:wo.consAnalysis)==null?void 0:To.dgo)==null?void 0:Ao.totalExtraCons),1),r$])])):(e.openBlock(),e.createElementBlock("div",m$,[e.createElementVNode("div",p$,[h$,e.createElementVNode("div",_$,[e.createElementVNode("div",null,e.toDisplayString((Fo=a.extraData)==null?void 0:Fo.priorDist),1),E$,e.createElementVNode("div",null,e.toDisplayString((Po=(Oo=a.extraData)==null?void 0:Oo.cp)==null?void 0:Po.speed),1)]),y$,e.createElementVNode("div",N$,[e.createElementVNode("div",null,e.toDisplayString(($o=(Lo=a.extraData)==null?void 0:Lo.cp)==null?void 0:$o.fo),1),V$,f$]),g$,e.createElementVNode("div",x$,e.toDisplayString((Mo=(Ho=(Wo=a.extraData)==null?void 0:Wo.consAnalysis)==null?void 0:Ho.fo)==null?void 0:Mo.sailingCons),1),b$]),e.createElementVNode("div",k$,[D$,e.createElementVNode("div",C$,[e.createElementVNode("div",null,e.toDisplayString((Io=a.extraData)==null?void 0:Io.priorDist),1),S$,e.createElementVNode("div",null,e.toDisplayString((Ro=(Go=a.extraData)==null?void 0:Go.cp)==null?void 0:Ro.speed),1)]),B$,e.createElementVNode("div",w$,[e.createElementVNode("div",null,e.toDisplayString((Uo=(zo=a.extraData)==null?void 0:zo.cp)==null?void 0:Uo.dgo),1),T$,A$]),F$,e.createElementVNode("div",O$,e.toDisplayString((Qo=(Zo=(Yo=a.extraData)==null?void 0:Yo.consAnalysis)==null?void 0:Zo.dgo)==null?void 0:Qo.sailingCons),1),P$]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",L$,[$$,e.createElementVNode("div",W$,e.toDisplayString((qo=(Xo=(Ko=a.extraData)==null?void 0:Ko.consAnalysis)==null?void 0:Xo.fo)==null?void 0:qo.actualCons),1),H$,e.createElementVNode("div",M$,e.toDisplayString(n.computeNum((el=(vo=(uo=a.extraData)==null?void 0:uo.consAnalysis)==null?void 0:vo.fo)==null?void 0:el.sailingCons)),1),I$,e.createElementVNode("div",G$,e.toDisplayString((ll=(ol=(tl=a.extraData)==null?void 0:tl.consAnalysis)==null?void 0:ol.fo)==null?void 0:ll.totalExtraCons),1),R$])):(e.openBlock(),e.createElementBlock("div",z$,[U$,e.createElementVNode("div",Y$,e.toDisplayString((sl=(nl=(al=a.extraData)==null?void 0:al.consAnalysis)==null?void 0:nl.fo)==null?void 0:sl.actualCons),1),Z$,e.createElementVNode("div",Q$,e.toDisplayString(n.computeNum((dl=(il=(cl=a.extraData)==null?void 0:cl.consAnalysis)==null?void 0:il.fo)==null?void 0:dl.sailingCons)),1),J$,e.createElementVNode("div",j$,e.toDisplayString(n.computeNum((ct=(ml=(rl=a.extraData)==null?void 0:rl.consAnalysis)==null?void 0:ml.fo)==null?void 0:ct.portCons)),1),K$,e.createElementVNode("div",X$,e.toDisplayString((El=(_l=(hl=a.extraData)==null?void 0:hl.consAnalysis)==null?void 0:_l.fo)==null?void 0:El.totalExtraCons),1),q$])),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",u$,[v$,e.createElementVNode("div",eW,e.toDisplayString((Vl=(Nl=(yl=a.extraData)==null?void 0:yl.consAnalysis)==null?void 0:Nl.dgo)==null?void 0:Vl.actualCons),1),tW,e.createElementVNode("div",oW,e.toDisplayString((xl=(gl=(fl=a.extraData)==null?void 0:fl.consAnalysis)==null?void 0:gl.dgo)==null?void 0:xl.sailingCons),1),lW,e.createElementVNode("div",aW,e.toDisplayString((Dl=(kl=(bl=a.extraData)==null?void 0:bl.consAnalysis)==null?void 0:kl.dgo)==null?void 0:Dl.totalExtraCons),1),nW])):(e.openBlock(),e.createElementBlock("div",sW,[cW,e.createElementVNode("div",iW,e.toDisplayString((Bl=(Sl=(Cl=a.extraData)==null?void 0:Cl.consAnalysis)==null?void 0:Sl.dgo)==null?void 0:Bl.actualCons),1),dW,e.createElementVNode("div",rW,e.toDisplayString(n.computeNum((Al=(Tl=(wl=a.extraData)==null?void 0:wl.consAnalysis)==null?void 0:Tl.dgo)==null?void 0:Al.sailingCons)),1),mW,e.createElementVNode("div",pW,e.toDisplayString(n.computeNum((Pl=(Ol=(Fl=a.extraData)==null?void 0:Fl.consAnalysis)==null?void 0:Ol.dgo)==null?void 0:Pl.portCons)),1),hW,e.createElementVNode("div",_W,e.toDisplayString((Wl=($l=(Ll=a.extraData)==null?void 0:Ll.consAnalysis)==null?void 0:$l.dgo)==null?void 0:Wl.totalExtraCons),1),EW]))])),o.isDistExtra?(e.openBlock(),e.createElementBlock("div",yW,[NW,e.createElementVNode("div",VW,[fW,e.createElementVNode("div",gW,e.toDisplayString(((Il=(Ml=(Hl=a.extraData)==null?void 0:Hl.consAnalysis)==null?void 0:Ml.fo)==null?void 0:Il.sailingCons)??"—"),1),e.createElementVNode("div",xW,e.toDisplayString(((zl=(Rl=(Gl=a.extraData)==null?void 0:Gl.consAnalysis)==null?void 0:Rl.dgo)==null?void 0:zl.sailingCons)??"—"),1)]),e.createElementVNode("div",bW,[kW,e.createElementVNode("div",DW,e.toDisplayString(((Zl=(Yl=(Ul=a.extraData)==null?void 0:Ul.consAnalysis)==null?void 0:Yl.fo)==null?void 0:Zl.portCons)??"—"),1),e.createElementVNode("div",CW,e.toDisplayString(((jl=(Jl=(Ql=a.extraData)==null?void 0:Ql.consAnalysis)==null?void 0:Jl.dgo)==null?void 0:jl.portCons)??"—"),1)]),e.createElementVNode("div",SW,[BW,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ql=(Xl=(Kl=a.extraData)==null?void 0:Kl.consAnalysis)==null?void 0:Xl.fo)==null?void 0:ql.totalExtraCons)} flex blue center`)},e.toDisplayString(((ea=(vl=(ul=a.extraData)==null?void 0:ul.consAnalysis)==null?void 0:vl.fo)==null?void 0:ea.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((la=(oa=(ta=a.extraData)==null?void 0:ta.consAnalysis)==null?void 0:oa.dgo)==null?void 0:la.totalExtraCons)} flex blue center`)},e.toDisplayString(((sa=(na=(aa=a.extraData)==null?void 0:aa.consAnalysis)==null?void 0:na.dgo)==null?void 0:sa.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",wW,[TW,e.createElementVNode("div",AW,[FW,e.createElementVNode("div",OW,e.toDisplayString((da=(ia=(ca=a.extraData)==null?void 0:ca.consAnalysis)==null?void 0:ia.fo)==null?void 0:da.sailingCons),1),e.createElementVNode("div",PW,e.toDisplayString((pa=(ma=(ra=a.extraData)==null?void 0:ra.consAnalysis)==null?void 0:ma.dgo)==null?void 0:pa.sailingCons),1)]),e.createElementVNode("div",LW,[$W,e.createElementVNode("div",WW,e.toDisplayString((Ea=(_a=(ha=a.extraData)==null?void 0:ha.consAnalysis)==null?void 0:_a.fo)==null?void 0:Ea.actualCons),1),e.createElementVNode("div",HW,e.toDisplayString((Va=(Na=(ya=a.extraData)==null?void 0:ya.consAnalysis)==null?void 0:Na.dgo)==null?void 0:Va.actualCons),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",MW,[IW,e.createElementVNode("div",GW,e.toDisplayString((xa=(ga=(fa=a.extraData)==null?void 0:fa.consAnalysis)==null?void 0:ga.fo)==null?void 0:xa.portCons),1),e.createElementVNode("div",RW,e.toDisplayString((ba=(so=(Q=a.extraData)==null?void 0:Q.consAnalysis)==null?void 0:so.dgo)==null?void 0:ba.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",zW,[UW,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Ca=(Da=(ka=a.extraData)==null?void 0:ka.consAnalysis)==null?void 0:Da.fo)==null?void 0:Ca.totalExtraCons)} flex blue center`)},e.toDisplayString((wa=(Ba=(Sa=a.extraData)==null?void 0:Sa.consAnalysis)==null?void 0:Ba.fo)==null?void 0:wa.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Pa=(Qe=(Ta=a.extraData)==null?void 0:Ta.consAnalysis)==null?void 0:Qe.dgo)==null?void 0:Pa.totalExtraCons)} flex blue center`)},e.toDisplayString((Wa=($a=(La=a.extraData)==null?void 0:La.consAnalysis)==null?void 0:$a.dgo)==null?void 0:Wa.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(x,{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,YW))],2)])}const Qs=we(mF,[["render",ZW],["__scopeId","data-v-eba493df"]]),QW={install(o){o.component("DeviationReport",Zs),o.component("FliDeviationReport",Qs)}},Xj="",JW={name:"OrmStoppage",components:{IdmBrand:jo,Editor:pl},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUe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!1,loading:!0}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return o?`${X(o).utc().format(s)}`:""}},computeLat(){return function(o){return me.LngLatHelper.lat2pretty(o,2)}},computeLng(){return function(o){return me.LngLatHelper.lng2pretty(o,2)}},computeRoundPrecision(){return function(o,s=3){return o==="-"?"-":me.LngLatHelper.roundPrecision(o,s)}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(o){var s;o&&(this.remarks=(s=this.report)==null?void 0:s.remarks)},immediate:!0}},methods:{handleCommit(o){this.editable=!1,this.remarks=o,this.$emit("commit",o)}}},ze=o=>(e.pushScopeId("data-v-47a82ae7"),o=o(),e.popScopeId(),o),jW={class:"stoppage-report"},KW={class:"content-box"},XW={class:"info-box border"},qW={class:"flex-between row"},uW={class:"flex-between",style:{width:"48%"}},vW=ze(()=>e.createElementVNode("label",{class:"label"},"Prepared For:",-1)),eH={class:"flex-between",style:{width:"48%"}},tH=ze(()=>e.createElementVNode("label",{class:"label"},"Departure Port:",-1)),oH={style:{"margin-left":"5px"}},lH={class:"flex-between row"},aH={class:"flex-between",style:{width:"48%"}},nH=ze(()=>e.createElementVNode("label",{class:"label"},"Vessel:",-1)),sH={class:"flex-between",style:{width:"48%"}},cH=ze(()=>e.createElementVNode("label",{class:"label"},"Arrival Port:",-1)),iH={style:{"margin-left":"5px"}},dH={class:"flex-between row"},rH={class:"flex-between",style:{width:"48%"}},mH=ze(()=>e.createElementVNode("label",{class:"label"},"Voyage No:",-1)),pH={class:"flex-between",style:{width:"48%"}},hH=ze(()=>e.createElementVNode("label",{class:"label"},"Load Condition:",-1)),_H={class:"section summary-section"},EH=ze(()=>e.createElementVNode("div",{class:"subtitle"},"Summary",-1)),yH={class:"formula-block flex-between border"},NH={class:"item"},VH=ze(()=>e.createElementVNode("div",{class:"title"},"Total Time Lost",-1)),fH={class:"value flex-end"},gH={key:0},xH=ze(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),bH={class:"gain"},kH=ze(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),DH={key:1},CH=ze(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),SH={class:"lost"},BH=ze(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),wH={key:2},TH={class:"item"},AH=ze(()=>e.createElementVNode("div",{class:"title"},"FO Total Consumption",-1)),FH={class:"value flex-end"},OH={key:0},PH=ze(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),LH={class:"gain"},$H=ze(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),WH={key:1},HH=ze(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),MH={class:"lost"},IH=ze(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),GH={key:2},RH={class:"item"},zH=ze(()=>e.createElementVNode("div",{class:"title"},"MGO Total Consumption",-1)),UH={class:"value flex-end"},YH={key:0},ZH=ze(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),QH={class:"gain"},JH=ze(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),jH={key:1},KH=ze(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),XH={class:"lost"},qH=ze(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),uH={key:2},vH=ze(()=>e.createElementVNode("div",{class:"subtitle"},"Remarks",-1)),eM={class:"section-content"},tM={key:0,class:""},oM=["innerHTML"],lM={key:1},aM={class:"section table-section"},nM=ze(()=>e.createElementVNode("div",{class:"subtitle"},"Stoppage Info",-1)),sM=ze(()=>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)),cM=ze(()=>e.createElementVNode("td",{rowspan:2},"1",-1)),iM=ze(()=>e.createElementVNode("td",null,"Stopped",-1)),dM={rowspan:2},rM={rowspan:2},mM={rowspan:2},pM=ze(()=>e.createElementVNode("td",null,"Resumed",-1)),hM={class:"section map-section"},_M=ze(()=>e.createElementVNode("div",{class:"subtitle"},"Voayge Map",-1)),EM=["src"];function yM(o,s,t,r,a,n){var p,g,x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,I,J,Y,j,se,ce,l,q,ee,te,oe,le,ae,ie,de,re,Ee,u,he,ye,Ne;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",jW,[e.createVNode(E,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",KW,[e.createElementVNode("div",XW,[e.createElementVNode("div",qW,[e.createElementVNode("div",uW,[vW,e.createElementVNode("div",null,e.toDisplayString((p=t.report)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",eH,[tH,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((x=(g=t.report)==null?void 0:g.departure)==null?void 0:x.name),1),e.createTextVNode(" , "),e.createElementVNode("span",oH,e.toDisplayString(n.computeUTCTime(((N=(h=t.report)==null?void 0:h.departure)==null?void 0:N.atd)||((b=(D=t.report)==null?void 0:D.departure)==null?void 0:b.etd))),1)])])]),e.createElementVNode("div",lH,[e.createElementVNode("div",aH,[nH,e.createElementVNode("div",null,e.toDisplayString((k=(C=t.report)==null?void 0:C.vessel)==null?void 0:k.name),1)]),e.createElementVNode("div",sH,[cH,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((F=(A=t.report)==null?void 0:A.arrival)==null?void 0:F.name),1),e.createTextVNode(" , "),e.createElementVNode("span",iH,e.toDisplayString(n.computeUTCTime(((w=(B=t.report)==null?void 0:B.arrival)==null?void 0:w.ata)||((O=(V=t.report)==null?void 0:V.arrival)==null?void 0:O.eta))),1)])])]),e.createElementVNode("div",dH,[e.createElementVNode("div",rH,[mH,e.createElementVNode("div",null,e.toDisplayString((R=(G=t.report)==null?void 0:G.voyage)==null?void 0:R.number),1)]),e.createElementVNode("div",pH,[hH,e.createElementVNode("div",null,e.toDisplayString((U=(z=t.report)==null?void 0:z.voyage)==null?void 0:U.loadCondition),1)])])]),e.createElementVNode("div",_H,[EH,e.createElementVNode("div",yH,[e.createElementVNode("div",NH,[VH,e.createElementVNode("div",fH,[((_=t.report)==null?void 0:_.totalTime)<0?(e.openBlock(),e.createElementBlock("div",gH,[xH,e.createElementVNode("span",bH,e.toDisplayString((L=t.report)==null?void 0:L.totalTime),1),kH])):((H=t.report)==null?void 0:H.totalTime)>=0?(e.openBlock(),e.createElementBlock("div",DH,[CH,e.createElementVNode("span",SH,e.toDisplayString(($=t.report)==null?void 0:$.totalTime),1),BH])):(e.openBlock(),e.createElementBlock("div",wH,"N/A"))])]),e.createElementVNode("div",TH,[AH,e.createElementVNode("div",FH,[((P=t.report)==null?void 0:P.totalFoCons)<0?(e.openBlock(),e.createElementBlock("div",OH,[PH,e.createElementVNode("span",LH,e.toDisplayString((I=t.report)==null?void 0:I.totalFoCons),1),$H])):((J=t.report)==null?void 0:J.totalFoCons)>=0?(e.openBlock(),e.createElementBlock("div",WH,[HH,e.createElementVNode("span",MH,e.toDisplayString((Y=t.report)==null?void 0:Y.totalFoCons),1),IH])):(e.openBlock(),e.createElementBlock("div",GH,"N/A"))])]),e.createElementVNode("div",RH,[zH,e.createElementVNode("div",UH,[((j=t.report)==null?void 0:j.totalDgoCons)<0?(e.openBlock(),e.createElementBlock("div",YH,[ZH,e.createElementVNode("span",QH,e.toDisplayString((se=t.report)==null?void 0:se.totalDgoCons),1),JH])):((ce=t.report)==null?void 0:ce.totalDgoCons)>=0?(e.openBlock(),e.createElementBlock("div",jH,[KH,e.createElementVNode("span",XH,e.toDisplayString((l=t.report)==null?void 0:l.totalDgoCons),1),qH])):(e.openBlock(),e.createElementBlock("div",uH,"N/A"))])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(a.remarks)?"print-hidden":""])},[vH,e.createElementVNode("div",eM,[a.editable?(e.openBlock(),e.createElementBlock("div",tM,[a.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=pe=>a.remarks=pe),class:"editor",height:"80px",onBlur:s[1]||(s[1]=pe=>n.handleCommit(pe))},null,8,["modelValue"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-block",onDblclick:s[2]||(s[2]=pe=>a.editable=!0)},[n.computeBlankHtml(a.remarks)?(e.openBlock(),e.createElementBlock("div",lM,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:a.remarks},null,8,oM))],32))])],2),e.createElementVNode("div",aM,[nM,e.createElementVNode("table",null,[sM,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[cM,iM,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((q=t.report)==null?void 0:q.stopLat).pretty)+" / "+e.toDisplayString(n.computeLng((ee=t.report)==null?void 0:ee.stopLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((te=t.report)==null?void 0:te.stopTime)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((oe=t.report)==null?void 0:oe.stopFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((le=t.report)==null?void 0:le.stopDgoBrob)??"-")),1),e.createElementVNode("td",dM,e.toDisplayString(n.computeRoundPrecision(((ae=t.report)==null?void 0:ae.totalTime)??"-")),1),e.createElementVNode("td",rM,e.toDisplayString(n.computeRoundPrecision(((ie=t.report)==null?void 0:ie.totalFoCons)??"-")),1),e.createElementVNode("td",mM,e.toDisplayString(n.computeRoundPrecision(((de=t.report)==null?void 0:de.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[pM,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((re=t.report)==null?void 0:re.resumeLat).pretty)+" / "+e.toDisplayString(n.computeLng((Ee=t.report)==null?void 0:Ee.resumeLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((u=t.report)==null?void 0:u.resumeTime)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((he=t.report)==null?void 0:he.resumeFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((ye=t.report)==null?void 0:ye.resumeDgoBrob)??"-")),1)])])])]),e.createElementVNode("div",hM,[_M,e.createElementVNode("img",{src:(Ne=t.report)==null?void 0:Ne.chartUrl,alt:""},null,8,EM)])])])}const Js=we(JW,[["render",yM],["__scopeId","data-v-47a82ae7"]]),NM={install(o){o.component("StoppageReport",Js)}},qj="",VM={name:"OrmComparison",components:{Editor:pl,IdmBrand:jo},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?`${X(o).utc().format(s)}Z`:"-"}},computeColor(){return function(o){return o>0?"fail":o<0?"success":""}},compareTime(){return function(o,s){return o&&s?me.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})}}},Ae=o=>(e.pushScopeId("data-v-99108259"),o=o(),e.popScopeId(),o),fM={class:"comparison-report"},gM={class:"report-summary"},xM={class:"summary-item"},bM=Ae(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),kM={class:"flexL gray"},DM={class:"summary-item"},CM=Ae(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),SM={class:"flexL gray"},BM={class:"summary-item"},wM=Ae(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),TM={class:"flexL gray"},AM={class:"summary-item"},FM=Ae(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),OM={class:"flexL gray"},PM={class:"summary-item"},LM=Ae(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),$M={class:"flexL gray"},WM={class:"summary-item"},HM=Ae(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),MM={class:"flexL gray",style:{display:"flex"}},IM={class:"flex"},GM={class:"flexM"},RM={class:"summary-item"},zM=Ae(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),UM={class:"flexL gray",style:{display:"flex"}},YM={class:"flex"},ZM={class:"flexM"},QM=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),JM={class:"report-summary"},jM={class:"summary-item"},KM=Ae(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),XM={class:"summary-item"},qM=Ae(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),uM={class:"summary-item"},vM=Ae(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),eI=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),tI={class:"report-map"},oI=["src"],lI=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),aI={key:0,class:"subtitle"},nI={key:1,class:"report-summary"},sI={class:"summary-item"},cI=Ae(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),iI={class:"flexL blue center"},dI={class:"summary-item"},rI=Ae(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),mI={class:"flexL blue center"},pI={class:"summary-item"},hI=Ae(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),_I={class:"flexL blue center"},EI=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),yI={class:"report-summary"},NI=Ae(()=>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)),VI={class:"summary-item"},fI=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),gI={class:"flex blue-light center"},xI={class:"flex blue-light center"},bI={class:"summary-item"},kI=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),DI={class:"flex blue-light center"},CI={class:"flex blue-light center"},SI={class:"summary-item"},BI=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),wI={class:"flex blue-light center"},TI={class:"flex blue-light center"},AI={class:"summary-item"},FI=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),OI={class:"flex blue-light center"},PI={class:"flex blue-light center"},LI={class:"summary-item"},$I=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),WI={class:"flex blue-light center"},HI={class:"flex blue-light center"},MI={class:"summary-item"},II=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),GI={class:"flex blue-light center"},RI={class:"flex blue-light center"},zI={class:"summary-item"},UI=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),YI={class:"flex blue-light center italic"},ZI=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),QI={class:"report-summary"},JI=Ae(()=>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)),jI={class:"summary-item"},KI=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),XI={class:"flex blue-light center"},qI={class:"flex blue-light center"},uI={class:"summary-item"},vI=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),eG={class:"flex blue-light center"},tG={class:"flex blue-light center"},oG={class:"summary-item"},lG=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),aG={class:"flex blue-light center"},nG={class:"flex blue-light center"},sG={class:"summary-item"},cG=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),iG={class:"flex blue-light center"},dG={class:"flex blue-light center"},rG={class:"summary-item"},mG=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),pG={class:"flex blue-light center italic"},hG={class:"summary-item"},_G=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),EG={class:"flex blue-light center italic"},yG=["innerHTML"];function NG(o,s,t,r,a,n){var p,g,x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,I,J,Y,j,se,ce,l,q,ee,te,oe,le,ae,ie,de,re,Ee,u,he,ye,Ne,pe,ge,xe,be,ke,De,Ce,Fe,Oe,Pe,Le,$e,We,He,Me;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",fM,[e.createVNode(E,{name:"Voyage Comparison Report"}),e.createElementVNode("div",gM,[e.createElementVNode("div",xM,[bM,e.createElementVNode("div",kM,e.toDisplayString((g=(p=t.report)==null?void 0:p.vessel)==null?void 0:g.name),1)]),e.createElementVNode("div",DM,[CM,e.createElementVNode("div",SM,e.toDisplayString((x=t.report)==null?void 0:x.preparedFor),1)]),e.createElementVNode("div",BM,[wM,e.createElementVNode("div",TM,e.toDisplayString((N=(h=t.report)==null?void 0:h.vessel)==null?void 0:N.type),1)]),e.createElementVNode("div",AM,[FM,e.createElementVNode("div",OM,e.toDisplayString((b=(D=t.report)==null?void 0:D.voyage)==null?void 0:b.loadCondition),1)]),e.createElementVNode("div",PM,[LM,e.createElementVNode("div",$M,e.toDisplayString((k=(C=t.report)==null?void 0:C.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",WM,[HM,e.createElementVNode("div",MM,[e.createElementVNode("span",IM,e.toDisplayString((F=(A=t.report)==null?void 0:A.departure)==null?void 0:F.name),1),e.createElementVNode("span",GM,e.toDisplayString(n.computeUTCTime(((w=(B=t.report)==null?void 0:B.departure)==null?void 0:w.atd)||((O=(V=t.report)==null?void 0:V.departure)==null?void 0:O.etd))),1)])]),e.createElementVNode("div",RM,[zM,e.createElementVNode("div",UM,[e.createElementVNode("span",YM,e.toDisplayString((R=(G=t.report)==null?void 0:G.arrival)==null?void 0:R.name),1),e.createElementVNode("span",ZM,e.toDisplayString(n.computeUTCTime(((U=(z=t.report)==null?void 0:z.arrival)==null?void 0:U.ata)||((L=(_=t.report)==null?void 0:_.arrival)==null?void 0:L.eta))),1)])])]),QM,e.createElementVNode("div",JM,[e.createElementVNode("div",jM,[KM,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((H=t.report)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(n.computeSummary(($=t.report)==null?void 0:$.diffTime,"time")),3)]),e.createElementVNode("div",XM,[qM,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=t.report)==null?void 0:P.diffFoCons)} flex blue`)},e.toDisplayString(n.computeSummary((I=t.report)==null?void 0:I.diffFoCons,"oil")),3)]),e.createElementVNode("div",uM,[vM,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((J=t.report)==null?void 0:J.diffDgoCons)} flex blue`)},e.toDisplayString(n.computeSummary((Y=t.report)==null?void 0:Y.diffDgoCons,"oil")),3)])]),eI,e.createElementVNode("div",tI,[e.createElementVNode("img",{style:{width:"100%"},src:(j=t.report)==null?void 0:j.chartUrl,alt:""},null,8,oI),lI]),(se=t.report)!=null&&se.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",aI,"CP Terms")),(ce=t.report)!=null&&ce.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",nI,[e.createElementVNode("div",sI,[cI,e.createElementVNode("div",iI,e.toDisplayString(((q=(l=t.report)==null?void 0:l.cp)==null?void 0:q.speed)??"—"),1)]),e.createElementVNode("div",dI,[rI,e.createElementVNode("div",mI,e.toDisplayString(((te=(ee=t.report)==null?void 0:ee.cp)==null?void 0:te.fo)??"—"),1)]),e.createElementVNode("div",pI,[hI,e.createElementVNode("div",_I,e.toDisplayString(((le=(oe=t.report)==null?void 0:oe.cp)==null?void 0:le.dgo)??"—"),1)])])),EI,e.createElementVNode("div",yI,[NI,e.createElementVNode("div",VI,[fI,e.createElementVNode("div",gI,e.toDisplayString(((ae=t.report)==null?void 0:ae.actualDist)??"—"),1),e.createElementVNode("div",xI,e.toDisplayString(((ie=t.report)==null?void 0:ie.recmdDist)??"—"),1)]),e.createElementVNode("div",bI,[kI,e.createElementVNode("div",DI,e.toDisplayString(((de=t.report)==null?void 0:de.actualTime)??"—"),1),e.createElementVNode("div",CI,e.toDisplayString(((re=t.report)==null?void 0:re.recmdTime)??"—"),1)]),e.createElementVNode("div",SI,[BI,e.createElementVNode("div",wI,e.toDisplayString(((Ee=t.report)==null?void 0:Ee.actualAvgSpd)??"—"),1),e.createElementVNode("div",TI,e.toDisplayString(((u=t.report)==null?void 0:u.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",AI,[FI,e.createElementVNode("div",OI,e.toDisplayString(((he=t.report)==null?void 0:he.actualAvgCF)??"—"),1),e.createElementVNode("div",PI,e.toDisplayString(((ye=t.report)==null?void 0:ye.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",LI,[$I,e.createElementVNode("div",WI,e.toDisplayString(((Ne=t.report)==null?void 0:Ne.actualAvgWF)??"—"),1),e.createElementVNode("div",HI,e.toDisplayString(((pe=t.report)==null?void 0:pe.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",MI,[II,e.createElementVNode("div",GI,e.toDisplayString(((ge=t.report)==null?void 0:ge.actualPfmSpd)??"—"),1),e.createElementVNode("div",RI,e.toDisplayString(((xe=t.report)==null?void 0:xe.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",zI,[UI,e.createElementVNode("div",YI,e.toDisplayString(n.compareTime((be=t.report)==null?void 0:be.actualTime,(ke=t.report)==null?void 0:ke.recmdTime)),1)])]),ZI,e.createElementVNode("div",QI,[JI,e.createElementVNode("div",jI,[KI,e.createElementVNode("div",XI,e.toDisplayString(((De=t.report)==null?void 0:De.actualAvgFoCons)??"-"),1),e.createElementVNode("div",qI,e.toDisplayString(((Ce=t.report)==null?void 0:Ce.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",uI,[vI,e.createElementVNode("div",eG,e.toDisplayString(((Fe=t.report)==null?void 0:Fe.actualFoCons)??"-"),1),e.createElementVNode("div",tG,e.toDisplayString(((Oe=t.report)==null?void 0:Oe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",oG,[lG,e.createElementVNode("div",aG,e.toDisplayString(((Pe=t.report)==null?void 0:Pe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",nG,e.toDisplayString(((Le=t.report)==null?void 0:Le.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",sG,[cG,e.createElementVNode("div",iG,e.toDisplayString((($e=t.report)==null?void 0:$e.actualDgoCons)??"-"),1),e.createElementVNode("div",dG,e.toDisplayString(((We=t.report)==null?void 0:We.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",rG,[mG,e.createElementVNode("div",pG,e.toDisplayString(((He=t.report)==null?void 0:He.diffFoCons)??"-"),1)]),e.createElementVNode("div",hG,[_G,e.createElementVNode("div",EG,e.toDisplayString(((Me=t.report)==null?void 0:Me.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]=Ve=>a.advisory=Ve),height:"320px",onBlur:s[1]||(s[1]=Ve=>n.handleCommit("comments",Ve))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=Ve=>a.editable=!a.editable),innerHTML:n.computeBlankHtml(a.advisory)?"Please double click to modify remark":a.advisory},null,40,yG))],2)])}const js=we(VM,[["render",NG],["__scopeId","data-v-99108259"]]),uj="",VG={name:"ComparisonFli",components:{Editor:pl},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,iVBORw0KGgoAAAANSUh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ZWMqm7D5f9/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?`${X(o).utc().format(s)}Z`:"-"}},computeColor(){return function(o){return o>0?"fail":o<0?"success":""}},compareTime(){return function(o,s){return o&&s?me.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 Ja.put(`${this.gateway}/api/als/comparisons/${this.id}`,t,{headers:{Authorization:this.token}}),this.advisory=s}}},fe=o=>(e.pushScopeId("data-v-f7bdbf19"),o=o(),e.popScopeId(),o),fG={class:"comparison-report"},gG=fe(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),xG={class:"report-header"},bG={class:"header-title",style:{position:"relative !important"}},kG={class:"header-title-content"},DG=fe(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),CG={class:"title-date"},SG={class:"report-summary"},BG={class:"summary-item"},wG=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),TG={class:"flexL gray"},AG={class:"summary-item"},FG=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),OG={class:"flexL gray"},PG={class:"summary-item"},LG=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),$G={class:"flexL gray"},WG={class:"summary-item"},HG=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),MG={class:"flexL gray"},IG={class:"summary-item"},GG=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),RG={class:"flexL gray"},zG={class:"summary-item"},UG=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),YG={class:"flexL gray",style:{display:"flex"}},ZG={class:"flex"},QG={class:"flexM"},JG={class:"summary-item"},jG=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),KG={class:"flexL gray",style:{display:"flex"}},XG={class:"flex"},qG={class:"flexM"},uG=fe(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),vG={class:"report-summary"},eR={class:"summary-item"},tR=fe(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),oR={class:"summary-item"},lR=fe(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),aR={class:"summary-item"},nR=fe(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),sR=fe(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),cR={class:"report-map"},iR=["src"],dR=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),rR=fe(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),mR={key:0,class:"subtitle"},pR={key:1,class:"report-summary"},hR={class:"summary-item"},_R=fe(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),ER={class:"flexL blue center"},yR={class:"summary-item"},NR=fe(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),VR={class:"flexL blue center"},fR={class:"summary-item"},gR=fe(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),xR={class:"flexL blue center"},bR=fe(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),kR={class:"report-summary"},DR=fe(()=>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)),CR={class:"summary-item"},SR=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),BR={class:"flex blue-light center"},wR={class:"flex blue-light center"},TR={class:"summary-item"},AR=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),FR={class:"flex blue-light center"},OR={class:"flex blue-light center"},PR={class:"summary-item"},LR=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),$R={class:"flex blue-light center"},WR={class:"flex blue-light center"},HR={class:"summary-item"},MR=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),IR={class:"flex blue-light center"},GR={class:"flex blue-light center"},RR={class:"summary-item"},zR=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),UR={class:"flex blue-light center"},YR={class:"flex blue-light center"},ZR={class:"summary-item"},QR=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),JR={class:"flex blue-light center"},jR={class:"flex blue-light center"},KR={class:"summary-item"},XR=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),qR={class:"flex blue-light center italic"},uR=fe(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),vR={class:"report-summary"},ez=fe(()=>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)),tz={class:"summary-item"},oz=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),lz={class:"flex blue-light center"},az={class:"flex blue-light center"},nz={class:"summary-item"},sz=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),cz={class:"flex blue-light center"},iz={class:"flex blue-light center"},dz={class:"summary-item"},rz=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),mz={class:"flex blue-light center"},pz={class:"flex blue-light center"},hz={class:"summary-item"},_z=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),Ez={class:"flex blue-light center"},yz={class:"flex blue-light center"},Nz={class:"summary-item"},Vz=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),fz={class:"flex blue-light center italic"},gz={class:"summary-item"},xz=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),bz={class:"flex blue-light center italic"},kz=["innerHTML"];function Dz(o,s,t,r,a,n){var c,p,g,x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,I,J,Y,j,se,ce,l,q,ee,te,oe,le,ae,ie,de,re,Ee,u,he,ye,Ne,pe,ge,xe,be,ke,De,Ce,Fe,Oe,Pe,Le,$e,We,He,Me;const E=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",fG,[gG,e.createElementVNode("div",xG,[e.createElementVNode("div",bG,[e.createElementVNode("div",kG,[DG,e.createElementVNode("div",CG,e.toDisplayString(n.computeUTCTime(((c=a.comparisonData)==null?void 0:c.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",SG,[e.createElementVNode("div",BG,[wG,e.createElementVNode("div",TG,e.toDisplayString((g=(p=a.comparisonData)==null?void 0:p.vessel)==null?void 0:g.name),1)]),e.createElementVNode("div",AG,[FG,e.createElementVNode("div",OG,e.toDisplayString((x=a.comparisonData)==null?void 0:x.preparedFor),1)]),e.createElementVNode("div",PG,[LG,e.createElementVNode("div",$G,e.toDisplayString((N=(h=a.comparisonData)==null?void 0:h.vessel)==null?void 0:N.type),1)]),e.createElementVNode("div",WG,[HG,e.createElementVNode("div",MG,e.toDisplayString((b=(D=a.comparisonData)==null?void 0:D.voyage)==null?void 0:b.loadCondition),1)]),e.createElementVNode("div",IG,[GG,e.createElementVNode("div",RG,e.toDisplayString((k=(C=a.comparisonData)==null?void 0:C.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",zG,[UG,e.createElementVNode("div",YG,[e.createElementVNode("span",ZG,e.toDisplayString((F=(A=a.comparisonData)==null?void 0:A.departure)==null?void 0:F.name),1),e.createElementVNode("span",QG,e.toDisplayString(n.computeUTCTime(((w=(B=a.comparisonData)==null?void 0:B.departure)==null?void 0:w.atd)||((O=(V=a.comparisonData)==null?void 0:V.departure)==null?void 0:O.etd))),1)])]),e.createElementVNode("div",JG,[jG,e.createElementVNode("div",KG,[e.createElementVNode("span",XG,e.toDisplayString((R=(G=a.comparisonData)==null?void 0:G.arrival)==null?void 0:R.name),1),e.createElementVNode("span",qG,e.toDisplayString(n.computeUTCTime(((U=(z=a.comparisonData)==null?void 0:z.arrival)==null?void 0:U.ata)||((L=(_=a.comparisonData)==null?void 0:_.arrival)==null?void 0:L.eta))),1)])])]),uG,e.createElementVNode("div",vG,[e.createElementVNode("div",eR,[tR,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((H=a.comparisonData)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(n.computeSummary(($=a.comparisonData)==null?void 0:$.diffTime,"time")),3)]),e.createElementVNode("div",oR,[lR,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=a.comparisonData)==null?void 0:P.diffFoCons)} flex blue`)},e.toDisplayString(n.computeSummary((I=a.comparisonData)==null?void 0:I.diffFoCons,"oil")),3)]),e.createElementVNode("div",aR,[nR,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((J=a.comparisonData)==null?void 0:J.diffDgoCons)} flex blue`)},e.toDisplayString(n.computeSummary((Y=a.comparisonData)==null?void 0:Y.diffDgoCons,"oil")),3)])]),sR,e.createElementVNode("div",cR,[e.createElementVNode("img",{style:{width:"100%"},src:(j=a.comparisonData)==null?void 0:j.chartUrl,alt:""},null,8,iR),dR]),rR,(se=a.comparisonData)!=null&&se.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",mR,"CP Terms")),(ce=a.comparisonData)!=null&&ce.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",pR,[e.createElementVNode("div",hR,[_R,e.createElementVNode("div",ER,e.toDisplayString(((q=(l=a.comparisonData)==null?void 0:l.cp)==null?void 0:q.speed)??"—"),1)]),e.createElementVNode("div",yR,[NR,e.createElementVNode("div",VR,e.toDisplayString(((te=(ee=a.comparisonData)==null?void 0:ee.cp)==null?void 0:te.fo)??"—"),1)]),e.createElementVNode("div",fR,[gR,e.createElementVNode("div",xR,e.toDisplayString(((le=(oe=a.comparisonData)==null?void 0:oe.cp)==null?void 0:le.dgo)??"—"),1)])])),bR,e.createElementVNode("div",kR,[DR,e.createElementVNode("div",CR,[SR,e.createElementVNode("div",BR,e.toDisplayString(((ae=a.comparisonData)==null?void 0:ae.actualDist)??"—"),1),e.createElementVNode("div",wR,e.toDisplayString(((ie=a.comparisonData)==null?void 0:ie.recmdDist)??"—"),1)]),e.createElementVNode("div",TR,[AR,e.createElementVNode("div",FR,e.toDisplayString(((de=a.comparisonData)==null?void 0:de.actualTime)??"—"),1),e.createElementVNode("div",OR,e.toDisplayString(((re=a.comparisonData)==null?void 0:re.recmdTime)??"—"),1)]),e.createElementVNode("div",PR,[LR,e.createElementVNode("div",$R,e.toDisplayString(((Ee=a.comparisonData)==null?void 0:Ee.actualAvgSpd)??"—"),1),e.createElementVNode("div",WR,e.toDisplayString(((u=a.comparisonData)==null?void 0:u.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",HR,[MR,e.createElementVNode("div",IR,e.toDisplayString(((he=a.comparisonData)==null?void 0:he.actualAvgCF)??"—"),1),e.createElementVNode("div",GR,e.toDisplayString(((ye=a.comparisonData)==null?void 0:ye.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",RR,[zR,e.createElementVNode("div",UR,e.toDisplayString(((Ne=a.comparisonData)==null?void 0:Ne.actualAvgWF)??"—"),1),e.createElementVNode("div",YR,e.toDisplayString(((pe=a.comparisonData)==null?void 0:pe.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",ZR,[QR,e.createElementVNode("div",JR,e.toDisplayString(((ge=a.comparisonData)==null?void 0:ge.actualPfmSpd)??"—"),1),e.createElementVNode("div",jR,e.toDisplayString(((xe=a.comparisonData)==null?void 0:xe.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",KR,[XR,e.createElementVNode("div",qR,e.toDisplayString(n.compareTime((be=a.comparisonData)==null?void 0:be.actualTime,(ke=a.comparisonData)==null?void 0:ke.recmdTime)),1)])]),uR,e.createElementVNode("div",vR,[ez,e.createElementVNode("div",tz,[oz,e.createElementVNode("div",lz,e.toDisplayString(((De=a.comparisonData)==null?void 0:De.actualAvgFoCons)??"-"),1),e.createElementVNode("div",az,e.toDisplayString(((Ce=a.comparisonData)==null?void 0:Ce.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",nz,[sz,e.createElementVNode("div",cz,e.toDisplayString(((Fe=a.comparisonData)==null?void 0:Fe.actualFoCons)??"-"),1),e.createElementVNode("div",iz,e.toDisplayString(((Oe=a.comparisonData)==null?void 0:Oe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",dz,[rz,e.createElementVNode("div",mz,e.toDisplayString(((Pe=a.comparisonData)==null?void 0:Pe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",pz,e.toDisplayString(((Le=a.comparisonData)==null?void 0:Le.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",hz,[_z,e.createElementVNode("div",Ez,e.toDisplayString((($e=a.comparisonData)==null?void 0:$e.actualDgoCons)??"-"),1),e.createElementVNode("div",yz,e.toDisplayString(((We=a.comparisonData)==null?void 0:We.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",Nz,[Vz,e.createElementVNode("div",fz,e.toDisplayString(((He=a.comparisonData)==null?void 0:He.diffFoCons)??"-"),1)]),e.createElementVNode("div",gz,[xz,e.createElementVNode("div",bz,e.toDisplayString(((Me=a.comparisonData)==null?void 0:Me.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]=Ve=>a.advisory=Ve),height:"320px",onBlur:s[1]||(s[1]=Ve=>n.handleCommit("comments",Ve))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=(...Ve)=>n.decideDisable&&n.decideDisable(...Ve)),innerHTML:a.advisory&&a.advisory!=="<p><br></p>"?a.advisory:"Please double click to modify remark"},null,40,kz))],2)])}const Ks=we(VG,[["render",Dz],["__scopeId","data-v-f7bdbf19"]]),Cz={install(o){o.component("OrmComparisonReport",js),o.component("FliComparisonReport",Ks)}},vj="",Sz={name:"IdmThird",props:{name:{type:String,default:""}}},Bz={class:"section brand-section flex-space"},wz=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),Tz={class:"report-box flex-space"},Az={class:"name flex-start"},Fz=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 &amp; Consulting Center</div></div></div>',1);function Oz(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",Bz,[wz,e.createElementVNode("div",Tz,[e.createElementVNode("div",Az,e.toDisplayString(t.name),1),Fz])])}const Xs=we(Sz,[["render",Oz],["__scopeId","data-v-793a5781"]]),Pz={install(o){o.component("IdmBrand",jo),o.component("IdmThird",Xs)}},eK="",tK="",Lz={name:"QuotaReport",components:{Brand:jo},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",geojson1:{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],[191,90]]}},{type:"Feature",properties:{rank:12,name:"North America West 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],[-135,64],[-173,64],[-219,34],[-219,5],[-79.7,5],[-79.7,9]]}}]},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],[95,-11],[95,23.9]]}},{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:[[95,-11],[95,-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(){Fa.accessToken=this.mapboxToken,this.map=new Fa.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}})}}},qs=o=>(e.pushScopeId("data-v-52980307"),o=o(),e.popScopeId(),o),$z={class:"quota-report"},Wz=qs(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Hz={class:"section quota-section"},Mz=qs(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Iz={class:"label"},Gz={class:"label"},Rz=["innerHTML"],zz=e.createStaticVNode('<div class="legend-block flex-space" data-v-52980307><div class="legend" data-v-52980307><label data-v-52980307>DIR</label><span data-v-52980307>DIRECT</span></div><div class="legend" data-v-52980307><label data-v-52980307>PMP</label><span data-v-52980307>via PANAMA CHANNEL</span></div><div class="legend" data-v-52980307><label data-v-52980307>SUE</label><span data-v-52980307>via SUEZ CHANNEL</span></div><div class="legend" data-v-52980307><label data-v-52980307>CGH</label><span data-v-52980307>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-52980307><label data-v-52980307>CHC</label><span data-v-52980307>Passing CAPE HORN</span></div><div class="legend" data-v-52980307><label data-v-52980307>SCG</label><span data-v-52980307>Passing SINGAPORE</span></div></div>',1);function Uz(o,s,t,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",$z,[e.createVNode(E,{name:"Quotation Sheet"}),Wz,e.createElementVNode("div",Hz,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Mz,(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",Iz,e.toDisplayString(c.rank),1),e.createElementVNode("td",Gz,e.toDisplayString(c.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,g=>(e.openBlock(),e.createElementBlock("td",{key:g,innerHTML:a.quota[p][g-1]||""},null,8,Rz))),128))]))),128))])]),zz])])}const us=we(Lz,[["render",Uz],["__scopeId","data-v-52980307"]]),oK="",Yz={name:"QuotaReport",components:{Brand:jo},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],[95,-11],[95,23.9]]}},{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:[[95,-11],[95,-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(){Fa.accessToken=this.mapboxToken,this.map=new Fa.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}})}}},vs=o=>(e.pushScopeId("data-v-a4cee967"),o=o(),e.popScopeId(),o),Zz={class:"quota-report"},Qz=vs(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Jz={class:"section quota-section"},jz=vs(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Kz={class:"label"},Xz={class:"label"},qz=["innerHTML"],uz=e.createStaticVNode('<div class="legend-block flex-space" data-v-a4cee967><div class="legend" data-v-a4cee967><label data-v-a4cee967>DIR</label><span data-v-a4cee967>DIRECT</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>PMP</label><span data-v-a4cee967>via PANAMA CHANNEL</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>SUE</label><span data-v-a4cee967>via SUEZ CHANNEL</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>CGH</label><span data-v-a4cee967>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>CHC</label><span data-v-a4cee967>Passing CAPE HORN</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>SCG</label><span data-v-a4cee967>Passing SINGAPORE</span></div></div>',1);function vz(o,s,t,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Zz,[e.createVNode(E,{name:"Quotation Sheet"}),Qz,e.createElementVNode("div",Jz,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[jz,(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",Kz,e.toDisplayString(c.rank),1),e.createElementVNode("td",Xz,e.toDisplayString(c.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,g=>(e.openBlock(),e.createElementBlock("td",{key:g,innerHTML:a.quota[p][g-1]||""},null,8,qz))),128))]))),128))])]),uz])])}const ec=we(Yz,[["render",vz],["__scopeId","data-v-a4cee967"]]),lK="",eU={name:"QuotaReport",components:{Brand:jo},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],[95,-11],[95,23.9]]}},{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:[[95,-11],[95,-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(){Fa.accessToken=this.mapboxToken,this.map=new Fa.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}})}}},tc=o=>(e.pushScopeId("data-v-99a52de4"),o=o(),e.popScopeId(),o),tU={class:"quota-report"},oU=tc(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),lU={class:"section quota-section"},aU=tc(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),nU={class:"label"},sU={class:"label"},cU=["innerHTML"],iU=e.createStaticVNode('<div class="legend-block flex-space" data-v-99a52de4><div class="legend" data-v-99a52de4><label data-v-99a52de4>DIR</label><span data-v-99a52de4>DIRECT</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>PMP</label><span data-v-99a52de4>via PANAMA CHANNEL</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>SUE</label><span data-v-99a52de4>via SUEZ CHANNEL</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>CGH</label><span data-v-99a52de4>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>CHC</label><span data-v-99a52de4>Passing CAPE HORN</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>SCG</label><span data-v-99a52de4>Passing SINGAPORE</span></div></div>',1);function dU(o,s,t,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",tU,[e.createVNode(E,{name:"Quotation Sheet for TONGLI"}),oU,e.createElementVNode("div",lU,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[aU,(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",nU,e.toDisplayString(c.rank),1),e.createElementVNode("td",sU,e.toDisplayString(c.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,g=>(e.openBlock(),e.createElementBlock("td",{key:g,innerHTML:a.quota[p][g-1]||""},null,8,cU))),128))]))),128))])]),iU])])}const oc=we(eU,[["render",dU],["__scopeId","data-v-99a52de4"]]),rU={install(o){o.component("OrmQuoteReport",us),o.component("OrmQuoteReport4SEOA",ec),o.component("OrmQuoteReport4TongLi",oc)}},aK="",mU={name:"PrecipitationReport",components:{IdmBrand:jo,IdmLoading:ua},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 me.LngLatHelper.lat2pretty(o,2)}},computeLng(){return function(o){return me.LngLatHelper.lng2pretty(o,2)}},computeLTime(){return function(o,s=8,t="MMM-DD/HHmm[LT]"){return`${X(o).utcOffset(s).format(t)}`}},computeTZ(){return function(o="0"){return me.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,g,x;const s=me.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=X(N.utc).utcOffset(s),b=(n=N.precip)==null?void 0:n.acc;if(N.precip.pacc=b,b>0){const C=t[D.format("MMM-DD")],k=Math.floor(D.get("hour")/6);C?(C.pacc=this.roundPrecision(C.pacc+b,1),C[`${k}`]?C[`${k}`]+=b:(C[`${k}`]=b,C.colspan+=1)):(t[D.format("MMM-DD")]={pacc:b,colspan:1},t[D.format("MMM-DD")][`${k}`]=b)}}}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":((g=t[h])==null?void 0:g.pacc)<49.9?"Heavy":((x=t[h])==null?void 0:x.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(qa.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 g,x,h,N,D,b,C,k,A,F,B,w,V,O;const p=X(c.utc).utcOffset((g=this.form)==null?void 0:g.localTZ).format("MMM-DD/HHmm[LT]");t.push(p),n=((h=(x=c.wave)==null?void 0:x.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,(b=c.wind)==null?void 0:b.kts,(C=c.gusts)==null?void 0:C.kts,(A=(k=c.wave)==null?void 0:k.sig)==null?void 0:A.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,(V=c.current)==null?void 0:V.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&&(Fa.accessToken=this.mapboxToken,this.map=new Fa.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})}}},Et=o=>(e.pushScopeId("data-v-164362dd"),o=o(),e.popScopeId(),o),pU={class:"precipitation-report"},hU={class:"section area-section"},_U={class:"area-block"},EU={class:"area-header flex-space"},yU={class:"flex-start"},NU=["onClick"],VU={class:"flex-end"},fU={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 (&lt;10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Moderate (&lt;24.9mm)</div><div style="background:rgb(7, 148, 255);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Heavy (&lt;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 (&lt;99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-164362dd>Heavy Rainstorm (&gt;100mm)</div></div>',2),xU={class:"flex-evenly"},bU={key:0},kU=["colspan"],DU=["colspan"],CU={style:{"font-size":"10px"}},SU={key:0},BU={key:1},wU={key:2},TU={key:3},AU={key:0},FU={key:1,style:{"font-size":"14px"}},OU=Et(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),PU={class:"section echart-section"},LU={ref:"echart",class:"echart"},$U={class:"section sample-section"},WU=Et(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),HU=["colspan"],MU=Et(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),IU=Et(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),GU=Et(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),RU=Et(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),zU=Et(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),UU=Et(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),YU={key:0},ZU={key:1},QU=Et(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),JU=Et(()=>e.createElementVNode("th",null,"Dir",-1)),jU=Et(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),KU=Et(()=>e.createElementVNode("th",null,"BF",-1)),XU=Et(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),qU=Et(()=>e.createElementVNode("th",null,"Dir",-1)),uU=Et(()=>e.createElementVNode("th",null,"Ht (m)",-1)),vU=Et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),eY=Et(()=>e.createElementVNode("th",null,"Dir",-1)),tY=Et(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),oY=Et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),lY=Et(()=>e.createElementVNode("th",null,"°C",-1)),aY={width:"120px"},nY={key:0},sY={key:1},cY={key:0,class:"degree-box"},iY={key:1},dY={key:0,class:"degree-box"},rY={key:1},mY={key:0,class:"degree-box"},pY={key:1},hY={class:"section area-section"},_Y={class:"area-block"},EY={class:"area-header flex-end"},yY={class:"flex-end"},NY={class:"area-body"},VY=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 (&lt;10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Moderate (&lt;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 (&lt;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 (&lt;99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-164362dd>Heavy Rainstorm (&gt;100mm)</div></div>',2),fY=["colspan"],gY=["colspan"],xY={style:{"font-size":"10px"}},bY={key:0},kY={key:1},DY={key:2},CY={key:3},SY={key:1,style:{"font-size":"14px"}},BY={key:0};function wY(o,s,t,r,a,n){var p,g,x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",pU,[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",hU,[e.createElementVNode("div",_U,[e.createElementVNode("div",EU,[e.createElementVNode("div",yU,[(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 $;a.index=L,a.form=($=t.report)==null?void 0:$.rows[a.index]}},e.toDisplayString(_.rank)+". "+e.toDisplayString(_.name),11,NU))),128))]),e.createElementVNode("div",VU,[e.createElementVNode("div",{class:"header-item",onClick:s[1]||(s[1]=_=>a.version="Brief")},"Brief")])]),e.createElementVNode("div",fU,[gU,e.createElementVNode("div",xU,[a.form?(e.openBlock(),e.createElementBlock("table",bU,[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((g=a.form)==null?void 0:g.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString((x=a.form)==null?void 0:x.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((b=(D=a.form)==null?void 0:D.extend)==null?void 0:b[0].utc,(C=a.form)==null?void 0:C.localTZ))+" to "+e.toDisplayString(n.computeLTime((A=(k=a.form)==null?void 0:k.extend)==null?void 0:A.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,kU)]),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",CU,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((V=a.form)==null?void 0:V.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[_]),($,P)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:P},[$==="0"?(e.openBlock(),e.createElementBlock("th",SU,"00-06")):e.createCommentVNode("",!0),$==="1"?(e.openBlock(),e.createElementBlock("th",BU,"06-12")):e.createCommentVNode("",!0),$==="2"?(e.openBlock(),e.createElementBlock("th",wU,"12-18")):e.createCommentVNode("",!0),$==="3"?(e.openBlock(),e.createElementBlock("th",TU,"18-24")):e.createCommentVNode("",!0)],64))),128))],64)}),128))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(G=Object.keys((O=a.form)==null?void 0:O.paccInDays))!=null&&G.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys((R=a.form)==null?void 0:R.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[_]),($,P)=>{var I;return e.openBlock(),e.createElementBlock(e.Fragment,{key:P},[["0","1","2","3"].includes($)?(e.openBlock(),e.createElementBlock("td",AU,e.toDisplayString(n.roundPrecision((I=a.form)==null?void 0:I.paccInDays[_][$],1)),1)):e.createCommentVNode("",!0)],64)}),128))],64)}),128)):(e.openBlock(),e.createElementBlock("th",FU,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),OU,e.createElementVNode("div",PU,[e.createElementVNode("div",LU,null,512)]),e.createElementVNode("div",$U,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[WU,e.createElementVNode("th",{colspan:t.showPrate?2:1},"Precip",8,HU),MU,IU,GU,RU,zU,UU]),e.createElementVNode("tr",null,[t.showPrate?(e.openBlock(),e.createElementBlock("th",YU,"Rate (mm/h)")):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("th",ZU,"Acc (mm)")):e.createCommentVNode("",!0),QU,JU,jU,KU,XU,qU,uU,vU,eY,tY,oY,lY])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((z=a.form)==null?void 0:z.extend,(_,L)=>{var H,$,P,I,J,Y,j,se,ce,l,q,ee,te,oe,le,ae,ie,de,re,Ee,u,he,ye,Ne,pe,ge,xe,be,ke,De,Ce;return e.openBlock(),e.createElementBlock("tr",{key:L},[e.createElementVNode("td",aY,e.toDisplayString(n.computeLTime(_.utc,(H=a.form)==null?void 0:H.localTZ)),1),t.showPrate?(e.openBlock(),e.createElementBlock("td",nY,e.toDisplayString(n.roundPrecision(($=_.precip)==null?void 0:$.prate,2)),1)):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("td",sY,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,[(I=_.wind)!=null&&I.kts?(e.openBlock(),e.createElementBlock("span",cY,[e.createTextVNode(e.toDisplayString((J=_.wind)==null?void 0:J.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Y=_.wind)==null?void 0:Y.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",iY,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((j=_.wind)==null?void 0:j.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((se=_.wind)==null?void 0:se.scale),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ce=_.gusts)==null?void 0:ce.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((q=(l=_.wave)==null?void 0:l.wd)==null?void 0:q.height,1)),1),e.createElementVNode("td",null,[(te=(ee=_.wave)==null?void 0:ee.swell)!=null&&te.height?(e.openBlock(),e.createElementBlock("span",dY,[e.createTextVNode(e.toDisplayString((le=(oe=_.wave)==null?void 0:oe.swell)==null?void 0:le.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ie=(ae=_.wave)==null?void 0:ae.swell)==null?void 0:ie.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",rY,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((re=(de=_.wave)==null?void 0:de.swell)==null?void 0:re.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((u=(Ee=_.wave)==null?void 0:Ee.swell)==null?void 0:u.period,1)),1),e.createElementVNode("td",null,[(ye=(he=_.wave)==null?void 0:he.sig)!=null&&ye.height?(e.openBlock(),e.createElementBlock("span",mY,[e.createTextVNode(e.toDisplayString((pe=(Ne=_.wave)==null?void 0:Ne.sig)==null?void 0:pe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((xe=(ge=_.wave)==null?void 0:ge.sig)==null?void 0:xe.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",pY,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ke=(be=_.wave)==null?void 0:be.sig)==null?void 0:ke.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ce=(De=_.wave)==null?void 0:De.sig)==null?void 0:Ce.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",hY,[e.createElementVNode("div",_Y,[e.createElementVNode("div",EY,[e.createElementVNode("div",yY,[e.createElementVNode("div",{class:"header-item",onClick:s[2]||(s[2]=_=>a.version="Pretty")},"Pretty")])]),e.createElementVNode("div",NY,[VY,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((U=t.report)==null?void 0:U.rows,(_,L)=>{var H,$,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(($=_==null?void 0:_.extend)==null?void 0:$.at(-1).utc,_==null?void 0:_.localTZ))+", "+e.toDisplayString(n.computeTZ(_==null?void 0:_.localTZ))+")",1)],8,fY)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays),(I,J)=>{var Y;return e.openBlock(),e.createElementBlock("th",{key:J,colspan:_.paccInDays[I].colspan,class:e.normalizeClass((Y=_.paccInDays[I])==null?void 0:Y.level)},e.toDisplayString(I)+" ("+e.toDisplayString(_.paccInDays[I].pacc)+")",11,gY)}),128))]),e.createElementVNode("tr",xY,[(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),(I,J)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:J},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays[I]),(Y,j)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j},[Y==="0"?(e.openBlock(),e.createElementBlock("th",bY,"00-06")):e.createCommentVNode("",!0),Y==="1"?(e.openBlock(),e.createElementBlock("th",kY,"06-12")):e.createCommentVNode("",!0),Y==="2"?(e.openBlock(),e.createElementBlock("th",DY,"12-18")):e.createCommentVNode("",!0),Y==="3"?(e.openBlock(),e.createElementBlock("th",CY,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",SY,"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),(I,J)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:J},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays[I]),(Y,j)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j},[["0","1","2","3"].includes(Y)?(e.openBlock(),e.createElementBlock("td",BY,e.toDisplayString(n.roundPrecision(_==null?void 0:_.paccInDays[I][Y],1)),1)):e.createCommentVNode("",!0)],64))),128))],64))),128))])])])])}),128))])])])],512),[[e.vShow,a.version==="Brief"]])])}const lc=we(mU,[["render",wY],["__scopeId","data-v-164362dd"]]),TY={install(o){o.component("PrecipitationReport",lc)}},AY={install(o){o.component("IdmLoading",ua)}},nK="",FY={name:"OrmEeas",components:{IdmBrand:jo,Lng:ja,Lat:Ka,Editor:pl},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{remarks:void 0,editable:!1,loading:!0}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return o?`${X(o).utc().format(s)}`:"-"}},computeLat(){return function(o){return me.LngLatHelper.lat2pretty(o,2)}},computeLng(){return function(o){return me.LngLatHelper.lng2pretty(o,2)}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(o,s){o!=null&&o.id&&(this.loading=!1,this.$nextTick(()=>{var t;this.remarks=(t=this.report)==null?void 0:t.remarks}))},immediate:!0}},methods:{handleCommit(o){this.editable=!1,this.$emit("commit",o)}}},M=o=>(e.pushScopeId("data-v-9ef23ed3"),o=o(),e.popScopeId(),o),OY={class:"eeas-report"},PY={class:"section info-section flex-space border"},LY={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},$Y={class:"flex-space label-block row",style:{width:"100%"}},WY=M(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),HY={style:{"text-transform":"uppercase"}},MY={class:"flex-space label-block row",style:{width:"100%"}},IY=M(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),GY={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},RY={class:"flex-space label-block row",style:{width:"100%"}},zY=M(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),UY={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},YY={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},ZY={class:"flex-space label-block row",style:{width:"100%"}},QY=M(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),JY={key:0,class:"flex-end",style:{flex:"1"}},jY={key:1,class:"flex-end",style:{flex:"1"}},KY=M(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),XY={class:"flex-end",style:{width:"150px"}},qY={class:"flex-space label-block row",style:{width:"100%"}},uY=M(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),vY={key:0,class:"flex-end",style:{flex:"1"}},eZ={key:1,class:"flex-end",style:{flex:"1"}},tZ=M(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),oZ={class:"flex-end",style:{width:"150px"}},lZ={class:"flex-space label-block row",style:{width:"100%"}},aZ=M(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),nZ={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},sZ={class:"section summary-section"},cZ=M(()=>e.createElementVNode("div",{class:"section-title"},"Report Summary",-1)),iZ={class:"section-content"},dZ=M(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label",colspan:"2"},"CP"),e.createElementVNode("th",{class:"label",colspan:"2"},"Daily FO CONS"),e.createElementVNode("th",{class:"label",colspan:"2"},"Daily MGO CONS")])],-1)),rZ=M(()=>e.createElementVNode("td",{colspan:"2"},"Idle",-1)),mZ={colspan:"2"},pZ={colspan:"2"},hZ=M(()=>e.createElementVNode("td",{colspan:"2"},"Working",-1)),_Z={colspan:"2"},EZ={colspan:"2"},yZ={class:"phase-box flex-between"},NZ={class:"item",style:{width:"22%"}},VZ=M(()=>e.createElementVNode("div",{class:"phase-title"},"Total Idle Time",-1)),fZ={class:"text"},gZ=M(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),xZ={class:"item",style:{width:"22%"}},bZ=M(()=>e.createElementVNode("div",{class:"phase-title"},"Total Working Time",-1)),kZ={class:"text"},DZ=M(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),CZ={class:"item",style:{width:"26%"}},SZ=M(()=>e.createElementVNode("div",{class:"phase-title"},"FO Total Consumption",-1)),BZ={class:"text",style:{"text-align":"left"}},wZ=M(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),TZ={key:0,class:"value"},AZ=[M(()=>e.createElementVNode("div",{class:"phase-title"},"N/A",-1))],FZ={key:1,class:"value"},OZ={class:"phase-title"},PZ=M(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),LZ=M(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),$Z={class:"item",style:{width:"26%"}},WZ=M(()=>e.createElementVNode("div",{class:"phase-title"},"MGO Total Consumption",-1)),HZ={class:"text",style:{"text-align":"left"}},MZ=M(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),IZ={key:0,class:"value"},GZ=[M(()=>e.createElementVNode("div",{class:"phase-title"},"N/A",-1))],RZ={key:1,class:"value"},zZ={class:"phase-title"},UZ=M(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),YZ=M(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),ZZ=M(()=>e.createElementVNode("div",{class:"section-title"},"Remarks",-1)),QZ={class:"section-content"},JZ={key:0,class:""},jZ=["innerHTML"],KZ={key:1,class:"txt"},XZ={class:"section port-bunker-section"},qZ=M(()=>e.createElementVNode("div",{class:"section-title"},"Port Bunker Analysis",-1)),uZ={class:"section-content"},vZ=M(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label",rowspan:"2"},"Port"),e.createElementVNode("th",{class:"label",rowspan:"2"},"Period"),e.createElementVNode("th",{class:"label",rowspan:"2"},"Total Time (hrs)"),e.createElementVNode("th",{class:"label",colspan:"2"},"Total CONS (mt)"),e.createElementVNode("th",{class:"label",colspan:"2"},"Actual Daily 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)),eQ={rowspan:"2"},tQ=M(()=>e.createElementVNode("td",null,"Idle",-1)),oQ=M(()=>e.createElementVNode("td",null,"Working",-1)),lQ={class:"section consumption-section"},aQ=M(()=>e.createElementVNode("div",{class:"section-title"},"CP Consumption Caculation",-1)),nQ={class:"section-content flex-start",style:{"margin-bottom":"20px"}},sQ={class:"formula-block",style:{flex:"1"}},cQ={class:"flex-start"},iQ=e.createStaticVNode('<div class="fraction" style="width:260px;" data-v-9ef23ed3>CP FO Consumption at Idle Period</div><div class="sig" data-v-9ef23ed3>=</div><div class="fraction" data-v-9ef23ed3>Total Idle Time</div><div class="sig" data-v-9ef23ed3>x</div><div class="fraction flex-center" data-v-9ef23ed3><div class="content" data-v-9ef23ed3><div data-v-9ef23ed3>CP Daily FO Consumption</div><div class="line" data-v-9ef23ed3></div><div data-v-9ef23ed3>24</div></div></div><div class="sig" data-v-9ef23ed3>=</div>',6),dQ={class:"fraction"},rQ=M(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),mQ={class:"fraction flex-center"},pQ={class:"content"},hQ=M(()=>e.createElementVNode("div",{class:"line"},null,-1)),_Q=M(()=>e.createElementVNode("div",null,"24",-1)),EQ=M(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),yQ={class:"fraction"},NQ={class:"flex-start"},VQ=e.createStaticVNode('<div class="fraction" style="width:260px;" data-v-9ef23ed3>CP FO Consumption at Working Period</div><div class="sig" data-v-9ef23ed3>=</div><div class="fraction" data-v-9ef23ed3>Total Working Time</div><div class="sig" data-v-9ef23ed3>x</div><div class="fraction flex-center" data-v-9ef23ed3><div class="content" data-v-9ef23ed3><div data-v-9ef23ed3>CP Daily FO Consumption</div><div class="line" data-v-9ef23ed3></div><div data-v-9ef23ed3>24</div></div></div><div class="sig" data-v-9ef23ed3>=</div>',6),fQ={class:"fraction"},gQ=M(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),xQ={class:"fraction flex-center"},bQ={class:"content"},kQ=M(()=>e.createElementVNode("div",{class:"line"},null,-1)),DQ=M(()=>e.createElementVNode("div",null,"24",-1)),CQ=M(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),SQ={class:"fraction"},BQ={class:"flex-start"},wQ=e.createStaticVNode('<div class="fraction" style="width:260px;" data-v-9ef23ed3>CP FO Total Consumption</div><div class="sig" data-v-9ef23ed3>=</div><div class="fraction" data-v-9ef23ed3>FO Consumption at Idle Period</div><div class="sig" data-v-9ef23ed3>+</div><div class="fraction" data-v-9ef23ed3>FO Consumption at Working Period</div><div class="sig" data-v-9ef23ed3>=</div>',6),TQ={class:"fraction"},AQ=M(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),FQ={class:"fraction"},OQ=M(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),PQ={class:"fraction"},LQ={key:0,class:"flex-start"},$Q={class:"fraction",style:{width:"260px"}},WQ=e.createStaticVNode('<div class="sig" data-v-9ef23ed3>=</div><div class="fraction" data-v-9ef23ed3>CP FO Total Consumption</div><div class="sig" data-v-9ef23ed3>-</div><div class="fraction" data-v-9ef23ed3>Actual FO Total Consumption</div><div class="sig" data-v-9ef23ed3>=</div>',5),HQ={class:"fraction"},MQ=M(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),IQ={class:"fraction"},GQ=M(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),RQ={class:"fraction"},zQ={key:1,class:"flex-start"},UQ={class:"fraction",style:{width:"260px"}},YQ=e.createStaticVNode('<div class="sig" data-v-9ef23ed3>=</div><div class="fraction" data-v-9ef23ed3>Actual FO Total Consumption</div><div class="sig" data-v-9ef23ed3>-</div><div class="fraction" data-v-9ef23ed3>CP FO Total Consumption</div><div class="sig" data-v-9ef23ed3>=</div>',5),ZQ={class:"fraction"},QQ=M(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),JQ={class:"fraction"},jQ=M(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),KQ={class:"fraction"},XQ={key:2,class:"flex-start"},qQ=e.createStaticVNode('<div class="fraction" style="width:260px;" data-v-9ef23ed3>FO Over/Saving-Consumption</div><div class="sig" data-v-9ef23ed3>=</div><div class="fraction" data-v-9ef23ed3>CP FO Total Consumption</div><div class="sig" data-v-9ef23ed3>-</div><div class="fraction" data-v-9ef23ed3>Actual FO Total Consumption</div><div class="sig" data-v-9ef23ed3>=</div>',6),uQ={class:"fraction"},vQ=M(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),eJ={class:"fraction"},tJ=M(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),oJ={class:"fraction"},lJ={class:"section-content flex-start"},aJ={class:"formula-block",style:{flex:"1"}},nJ={class:"flex-start"},sJ=e.createStaticVNode('<div class="fraction" style="width:260px;" data-v-9ef23ed3>CP MGO Consumption at Idle Period</div><div class="sig" data-v-9ef23ed3>=</div><div class="fraction" data-v-9ef23ed3>Total Idle Time</div><div class="sig" data-v-9ef23ed3>x</div><div class="fraction flex-center" data-v-9ef23ed3><div class="content" data-v-9ef23ed3><div data-v-9ef23ed3>CP Daily MGO Consumption</div><div class="line" data-v-9ef23ed3></div><div data-v-9ef23ed3>24</div></div></div><div class="sig" data-v-9ef23ed3>=</div>',6),cJ={class:"fraction"},iJ=M(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),dJ={class:"fraction flex-center"},rJ={class:"content"},mJ=M(()=>e.createElementVNode("div",{class:"line"},null,-1)),pJ=M(()=>e.createElementVNode("div",null,"24",-1)),hJ=M(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),_J={class:"fraction"},EJ={class:"flex-start"},yJ=e.createStaticVNode('<div class="fraction" style="width:260px;" data-v-9ef23ed3>CP MGO Consumption at Working Period</div><div class="sig" data-v-9ef23ed3>=</div><div class="fraction" data-v-9ef23ed3>Total Working Time</div><div class="sig" data-v-9ef23ed3>x</div><div class="fraction flex-center" data-v-9ef23ed3><div class="content" data-v-9ef23ed3><div data-v-9ef23ed3>CP Daily MGO Consumption</div><div class="line" data-v-9ef23ed3></div><div data-v-9ef23ed3>24</div></div></div><div class="sig" data-v-9ef23ed3>=</div>',6),NJ={class:"fraction"},VJ=M(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),fJ={class:"fraction flex-center"},gJ={class:"content"},xJ=M(()=>e.createElementVNode("div",{class:"line"},null,-1)),bJ=M(()=>e.createElementVNode("div",null,"24",-1)),kJ=M(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),DJ={class:"fraction"},CJ={class:"flex-start"},SJ=e.createStaticVNode('<div class="fraction" style="width:260px;" data-v-9ef23ed3>CP MGO Total Consumption</div><div class="sig" data-v-9ef23ed3>=</div><div class="fraction" data-v-9ef23ed3>MGO Consumption at Idle Period</div><div class="sig" data-v-9ef23ed3>+</div><div class="fraction" data-v-9ef23ed3>MGO Consumption at Working Period</div><div class="sig" data-v-9ef23ed3>=</div>',6),BJ={class:"fraction"},wJ=M(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),TJ={class:"fraction"},AJ=M(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),FJ={class:"fraction"},OJ={key:0,class:"flex-start"},PJ={class:"fraction",style:{width:"260px"}},LJ=e.createStaticVNode('<div class="sig" data-v-9ef23ed3>=</div><div class="fraction" data-v-9ef23ed3>CP MGO Total Consumption</div><div class="sig" data-v-9ef23ed3>-</div><div class="fraction" data-v-9ef23ed3>Actual MGO Total Consumption</div><div class="sig" data-v-9ef23ed3>=</div>',5),$J={class:"fraction"},WJ=M(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),HJ={class:"fraction"},MJ=M(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),IJ={class:"fraction"},GJ={key:1,class:"flex-start"},RJ={class:"fraction",style:{width:"260px"}},zJ=e.createStaticVNode('<div class="sig" data-v-9ef23ed3>=</div><div class="fraction" data-v-9ef23ed3>Actual MGO Total Consumption</div><div class="sig" data-v-9ef23ed3>-</div><div class="fraction" data-v-9ef23ed3>CP MGO Total Consumption</div><div class="sig" data-v-9ef23ed3>=</div>',5),UJ={class:"fraction"},YJ=M(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),ZJ={class:"fraction"},QJ=M(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),JJ={class:"fraction"},jJ={key:2,class:"flex-start"},KJ=e.createStaticVNode('<div class="fraction" style="width:260px;" data-v-9ef23ed3>MGO Over/Saving-Consumption</div><div class="sig" data-v-9ef23ed3>=</div><div class="fraction" data-v-9ef23ed3>CP MGO Total Consumption</div><div class="sig" data-v-9ef23ed3>-</div><div class="fraction" data-v-9ef23ed3>Actual MGO Total Consumption</div><div class="sig" data-v-9ef23ed3>=</div>',6),XJ={class:"fraction"},qJ=M(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),uJ={class:"fraction"},vJ=M(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),ej={class:"fraction"},tj={class:"section vessel-report-section"},oj=M(()=>e.createElementVNode("div",{class:"section-title"},"Vessel Reports",-1)),lj={class:"section-content"},aj=M(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label",rowspan:"2"},"Port"),e.createElementVNode("th",{class:"label",rowspan:"2"},"Type"),e.createElementVNode("th",{class:"label",rowspan:"2"},"Date (UTC)"),e.createElementVNode("th",{class:"label",colspan:"2"},"Position"),e.createElementVNode("th",{class:"label",rowspan:"2"},"Time"),e.createElementVNode("th",{class:"label",rowspan:"2"},"Dist"),e.createElementVNode("th",{class:"label",colspan:"2"},"Total Cons (mt)"),e.createElementVNode("th",{class:"label",colspan:"2"},"Brob (mt)"),e.createElementVNode("th",{class:"label",colspan:"3"},"Working Period"),e.createElementVNode("th",{class:"label",colspan:"3"},"Idle Period"),e.createElementVNode("th",{class:"label",rowspan:"2"},"Port ETD (UTC)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"LAT"),e.createElementVNode("th",{class:"label"},"LON"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"hrs"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"hrs"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO")])],-1));function nj(o,s,t,r,a,n){var x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,I,J,Y,j,se,ce,l,q,ee,te,oe,le,ae,ie,de,re,Ee,u,he,ye,Ne,pe,ge,xe,be,ke,De,Ce,Fe,Oe,Pe,Le,$e,We,He,Me,Ve,Je,je,Ke,T,Se,Ue,Xe,qe,ue,ve,et,m,W,Be,Ge,Ye,_e,Ze,tt,ot,rt,mt,pt,ht,yt,Nt,Vt,ft,gt,xt,bt,kt,Dt,Ct,St,Bt,wt,Tt,At,Ft,Ot,Pt,Lt,$t,co,io,ro,mo,po,ho,_o,Eo,yo,No,Vo,fo,go,xo,bo,ko,Do,S,Ie,lt,at,_t,Wt,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,jt,Kt,Xt,qt,ut,vt,eo,to,oo,lo,ao,no,Co,So,Bo,wo,To,Ao,Fo,Oo,Po,Lo,$o,Wo,Ho,Mo,Io,Go,Ro,zo,Uo,Yo,Zo,Qo,Ko,Xo,qo,uo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl,ml,ct,hl,_l,El,yl,Nl,Vl,fl,gl,xl,bl,kl,Dl,Cl,Sl,Bl,wl,Tl,Al,Fl,Ol,Pl,Ll,$l,Wl,Hl,Ml,Il,Gl,Rl,zl,Ul,Yl,Zl,Ql,Jl,jl,Kl,Xl,ql,ul,vl,ea,ta,oa,la,aa,na,sa,ca,ia,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ga,xa,Q,so,ba,ka,Da,Ca,Sa,Ba,wa,Ta,Qe,Pa,La,$a,Wa,K,Jo,Ha,Ma,Ia,Ga,Ra,za,Ua,Ya,it,va,en,tn,on,ln,an,nn,sn,cn,dn,rn,mn,pn,hn,_n,En,yn,Nn,Vn,fn,gn,xn,bn,kn,Dn,Cn,Sn,Bn,wn;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("Lat"),p=e.resolveComponent("Lng"),g=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",OY,[e.createVNode(E,{name:"Energy Efficiency Analysis Report"}),e.createElementVNode("div",PY,[e.createElementVNode("div",LY,[e.createElementVNode("div",$Y,[WY,e.createElementVNode("span",HY,e.toDisplayString((N=(h=(x=t.report)==null?void 0:x.voyage)==null?void 0:h.company)==null?void 0:N.name),1)]),e.createElementVNode("div",MY,[IY,e.createElementVNode("span",GY,e.toDisplayString((C=(b=(D=t.report)==null?void 0:D.voyage)==null?void 0:b.vessel)==null?void 0:C.name)+" ("+e.toDisplayString((F=(A=(k=t.report)==null?void 0:k.voyage)==null?void 0:A.vessel)==null?void 0:F.type)+")",1)]),e.createElementVNode("div",RY,[zY,e.createElementVNode("span",UY,e.toDisplayString((w=(B=t.report)==null?void 0:B.voyage)==null?void 0:w.number),1)])]),e.createElementVNode("div",YY,[e.createElementVNode("div",ZY,[QY,(O=(V=t.report)==null?void 0:V.departure)!=null&&O.name?(e.openBlock(),e.createElementBlock("span",JY,e.toDisplayString((R=(G=t.report)==null?void 0:G.departure)==null?void 0:R.name),1)):(e.openBlock(),e.createElementBlock("div",jY,[e.createVNode(c,{lat:(U=(z=t.report)==null?void 0:z.departure)==null?void 0:U.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),KY,e.createVNode(p,{lng:(_=t.report.departure)==null?void 0:_.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",XY,e.toDisplayString(n.computeUTCTime((L=t.report.departure)==null?void 0:L.atd,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",qY,[uY,($=(H=t.report)==null?void 0:H.destination)!=null&&$.name?(e.openBlock(),e.createElementBlock("span",vY,e.toDisplayString((I=(P=t.report)==null?void 0:P.destination)==null?void 0:I.name),1)):(e.openBlock(),e.createElementBlock("div",eZ,[e.createVNode(c,{lat:(Y=(J=t.report)==null?void 0:J.destination)==null?void 0:Y.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),tZ,e.createVNode(p,{lng:(se=(j=t.report)==null?void 0:j.destination)==null?void 0:se.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",oZ,e.toDisplayString(n.computeUTCTime((l=(ce=t.report)==null?void 0:ce.destination)==null?void 0:l.ata,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",lZ,[aZ,e.createElementVNode("span",nZ,e.toDisplayString((ee=(q=t.report)==null?void 0:q.voyage)==null?void 0:ee.loadCondition),1)])])]),e.createElementVNode("div",sZ,[cZ,e.createElementVNode("div",iZ,[e.createElementVNode("table",null,[dZ,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[rZ,e.createElementVNode("td",mZ,e.toDisplayString((ie=(ae=(le=(oe=(te=t.report)==null?void 0:te.eeas)==null?void 0:oe.extend)==null?void 0:le.cp)==null?void 0:ae.idle)==null?void 0:ie.fo),1),e.createElementVNode("td",pZ,e.toDisplayString((he=(u=(Ee=(re=(de=t.report)==null?void 0:de.eeas)==null?void 0:re.extend)==null?void 0:Ee.cp)==null?void 0:u.idle)==null?void 0:he.dgo),1)]),e.createElementVNode("tr",null,[hZ,e.createElementVNode("td",_Z,e.toDisplayString((xe=(ge=(pe=(Ne=(ye=t.report)==null?void 0:ye.eeas)==null?void 0:Ne.extend)==null?void 0:pe.cp)==null?void 0:ge.working)==null?void 0:xe.fo),1),e.createElementVNode("td",EZ,e.toDisplayString((Fe=(Ce=(De=(ke=(be=t.report)==null?void 0:be.eeas)==null?void 0:ke.extend)==null?void 0:De.cp)==null?void 0:Ce.working)==null?void 0:Fe.dgo),1)])])]),e.createElementVNode("div",yZ,[e.createElementVNode("div",NZ,[VZ,e.createElementVNode("div",fZ,[e.createTextVNode(e.toDisplayString((We=($e=(Le=(Pe=(Oe=t.report)==null?void 0:Oe.eeas)==null?void 0:Pe.extend)==null?void 0:Le.actual)==null?void 0:$e.idle)==null?void 0:We.totalTime),1),gZ])]),e.createElementVNode("div",xZ,[bZ,e.createElementVNode("div",kZ,[e.createTextVNode(e.toDisplayString((je=(Je=(Ve=(Me=(He=t.report)==null?void 0:He.eeas)==null?void 0:Me.extend)==null?void 0:Ve.actual)==null?void 0:Je.working)==null?void 0:je.totalTime),1),DZ])]),e.createElementVNode("div",CZ,[SZ,e.createElementVNode("div",BZ,[e.createTextVNode(e.toDisplayString((Ue=(Se=(T=(Ke=t.report)==null?void 0:Ke.eeas)==null?void 0:T.extend)==null?void 0:Se.actual)==null?void 0:Ue.totalFoCons),1),wZ]),((et=(ve=(ue=(qe=(Xe=t.report)==null?void 0:Xe.eeas)==null?void 0:qe.extend)==null?void 0:ue.summary)==null?void 0:ve.fo)==null?void 0:et.status)==="N/A"?(e.openBlock(),e.createElementBlock("div",TZ,AZ)):(e.openBlock(),e.createElementBlock("div",FZ,[e.createElementVNode("div",null,[e.createElementVNode("span",OZ,e.toDisplayString((Ye=(Ge=(Be=(W=(m=t.report)==null?void 0:m.eeas)==null?void 0:W.extend)==null?void 0:Be.summary)==null?void 0:Ge.fo)==null?void 0:Ye.status)+"-consumption ",1),PZ,e.createElementVNode("span",{class:e.normalizeClass(((rt=(ot=(tt=(Ze=(_e=t.report)==null?void 0:_e.eeas)==null?void 0:Ze.extend)==null?void 0:tt.summary)==null?void 0:ot.fo)==null?void 0:rt.status)==="Saving"?"gain":"lost")},e.toDisplayString((Nt=(yt=(ht=(pt=(mt=t.report)==null?void 0:mt.eeas)==null?void 0:pt.extend)==null?void 0:ht.summary)==null?void 0:yt.fo)==null?void 0:Nt.margin),3),LZ])]))]),e.createElementVNode("div",$Z,[WZ,e.createElementVNode("div",HZ,[e.createTextVNode(e.toDisplayString((xt=(gt=(ft=(Vt=t.report)==null?void 0:Vt.eeas)==null?void 0:ft.extend)==null?void 0:gt.actual)==null?void 0:xt.totalDgoCons),1),MZ]),((St=(Ct=(Dt=(kt=(bt=t.report)==null?void 0:bt.eeas)==null?void 0:kt.extend)==null?void 0:Dt.summary)==null?void 0:Ct.dgo)==null?void 0:St.status)==="N/A"?(e.openBlock(),e.createElementBlock("div",IZ,GZ)):(e.openBlock(),e.createElementBlock("div",RZ,[e.createElementVNode("div",null,[e.createElementVNode("span",zZ,e.toDisplayString((Ft=(At=(Tt=(wt=(Bt=t.report)==null?void 0:Bt.eeas)==null?void 0:wt.extend)==null?void 0:Tt.summary)==null?void 0:At.dgo)==null?void 0:Ft.status)+"-consumption",1),UZ,e.createElementVNode("span",{class:e.normalizeClass(((co=($t=(Lt=(Pt=(Ot=t.report)==null?void 0:Ot.eeas)==null?void 0:Pt.extend)==null?void 0:Lt.summary)==null?void 0:$t.dgo)==null?void 0:co.status)>"Saving"?"gain":"lost")},e.toDisplayString((ho=(po=(mo=(ro=(io=t.report)==null?void 0:io.eeas)==null?void 0:ro.extend)==null?void 0:mo.summary)==null?void 0:po.dgo)==null?void 0:ho.margin),3),YZ])]))])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(a.remarks)?"print-hidden":""])},[ZZ,e.createElementVNode("div",QZ,[a.editable?(e.openBlock(),e.createElementBlock("div",JZ,[a.editable?(e.openBlock(),e.createBlock(g,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=v=>a.remarks=v),class:"editor",height:"80px",onBlur:s[1]||(s[1]=v=>n.handleCommit(v))},null,8,["modelValue"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-block",onDblclick:s[2]||(s[2]=v=>a.editable=!0)},[n.computeBlankHtml(a.remarks)?(e.openBlock(),e.createElementBlock("div",KZ,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:a.remarks},null,8,jZ))],32))])],2),e.createElementVNode("div",XZ,[qZ,e.createElementVNode("div",uZ,[e.createElementVNode("table",null,[vZ,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((yo=(Eo=(_o=t.report)==null?void 0:_o.eeas)==null?void 0:Eo.extend)==null?void 0:yo.ports,v=>{var Za,Qa,Tn,An,Fn,On,Pn,Ln,$n,Wn,Hn,Mn,In,Gn,Rn,zn,Un,Yn,Zn,Qn,Jn,jn,Kn,Xn,qn,un,vn,es,ts,os,ls,as,ns,ss,cs,is,ds,rs,ms,ps,hs,_s,Es,ys,Ns,Vs,fs,gs,xs,bs,ks,Ds,Cs,Ss,Bs,ws,Ts,As;return e.openBlock(),e.createElementBlock("tbody",{key:v.port},[e.createElementVNode("tr",null,[e.createElementVNode("td",eQ,e.toDisplayString(v.port),1),tQ,e.createElementVNode("td",null,e.toDisplayString((Za=v.idle)==null?void 0:Za.totalTime),1),e.createElementVNode("td",{class:e.normalizeClass(((Qa=v.idle)==null?void 0:Qa.totalFoCons)>((Pn=(On=(Fn=(An=(Tn=t.report)==null?void 0:Tn.eeas)==null?void 0:An.extend)==null?void 0:Fn.cp)==null?void 0:On.idle)==null?void 0:Pn.totalFoCons)?"lost":"")},e.toDisplayString((Ln=v.idle)==null?void 0:Ln.totalFoCons),3),e.createElementVNode("td",{class:e.normalizeClass((($n=v.idle)==null?void 0:$n.totalDgoCons)>((Gn=(In=(Mn=(Hn=(Wn=t.report)==null?void 0:Wn.eeas)==null?void 0:Hn.extend)==null?void 0:Mn.cp)==null?void 0:In.idle)==null?void 0:Gn.totalDgoCons)?"lost":"")},e.toDisplayString((Rn=v.idle)==null?void 0:Rn.totalDgoCons),3),e.createElementVNode("td",{class:e.normalizeClass(((zn=v.idle)==null?void 0:zn.dailyFoCons)>((Jn=(Qn=(Zn=(Yn=(Un=t.report)==null?void 0:Un.eeas)==null?void 0:Yn.extend)==null?void 0:Zn.cp)==null?void 0:Qn.idle)==null?void 0:Jn.fo)?"lost":"")},e.toDisplayString((jn=v.idle)==null?void 0:jn.dailyFoCons),3),e.createElementVNode("td",{class:e.normalizeClass(((Kn=v.idle)==null?void 0:Kn.dailyDgoCons)>((es=(vn=(un=(qn=(Xn=t.report)==null?void 0:Xn.eeas)==null?void 0:qn.extend)==null?void 0:un.cp)==null?void 0:vn.idle)==null?void 0:es.dgo)?"lost":"")},e.toDisplayString((ts=v.idle)==null?void 0:ts.dailyDgoCons),3)]),e.createElementVNode("tr",null,[oQ,e.createElementVNode("td",null,e.toDisplayString((os=v.working)==null?void 0:os.totalTime),1),e.createElementVNode("td",{class:e.normalizeClass(((ls=v.working)==null?void 0:ls.totalFoCons)>((is=(cs=(ss=(ns=(as=t.report)==null?void 0:as.eeas)==null?void 0:ns.extend)==null?void 0:ss.cp)==null?void 0:cs.working)==null?void 0:is.totalFoCons)?"lost":"")},e.toDisplayString((ds=v.working)==null?void 0:ds.totalFoCons),3),e.createElementVNode("td",{class:e.normalizeClass(((rs=v.working)==null?void 0:rs.totalDgoCons)>((Es=(_s=(hs=(ps=(ms=t.report)==null?void 0:ms.eeas)==null?void 0:ps.extend)==null?void 0:hs.cp)==null?void 0:_s.working)==null?void 0:Es.totalDgoCons)?"lost":"")},e.toDisplayString((ys=v.working)==null?void 0:ys.totalDgoCons),3),e.createElementVNode("td",{class:e.normalizeClass(((Ns=v.working)==null?void 0:Ns.dailyFoCons)>((bs=(xs=(gs=(fs=(Vs=t.report)==null?void 0:Vs.eeas)==null?void 0:fs.extend)==null?void 0:gs.cp)==null?void 0:xs.working)==null?void 0:bs.fo)?"lost":"")},e.toDisplayString((ks=v.working)==null?void 0:ks.dailyFoCons),3),e.createElementVNode("td",{class:e.normalizeClass(((Ds=v.working)==null?void 0:Ds.dailyDgoCons)>((Ts=(ws=(Bs=(Ss=(Cs=t.report)==null?void 0:Cs.eeas)==null?void 0:Ss.extend)==null?void 0:Bs.cp)==null?void 0:ws.working)==null?void 0:Ts.dgo)?"lost":"")},e.toDisplayString((As=v.working)==null?void 0:As.dailyDgoCons),3)])])}),128))])])]),e.createElementVNode("div",lQ,[aQ,e.createElementVNode("div",nQ,[e.createElementVNode("div",sQ,[e.createElementVNode("div",cQ,[iQ,e.createElementVNode("div",dQ,e.toDisplayString((xo=(go=(fo=(Vo=(No=t.report)==null?void 0:No.eeas)==null?void 0:Vo.extend)==null?void 0:fo.actual)==null?void 0:go.idle)==null?void 0:xo.totalTime),1),rQ,e.createElementVNode("div",mQ,[e.createElementVNode("div",pQ,[e.createElementVNode("div",null,e.toDisplayString((Ie=(S=(Do=(ko=(bo=t.report)==null?void 0:bo.eeas)==null?void 0:ko.extend)==null?void 0:Do.cp)==null?void 0:S.idle)==null?void 0:Ie.fo),1),hQ,_Q])]),EQ,e.createElementVNode("div",yQ,e.toDisplayString((Ht=(Wt=(_t=(at=(lt=t.report)==null?void 0:lt.eeas)==null?void 0:at.extend)==null?void 0:_t.cp)==null?void 0:Wt.idle)==null?void 0:Ht.totalFoCons)+" (mt)",1)]),e.createElementVNode("div",NQ,[VQ,e.createElementVNode("div",fQ,e.toDisplayString((zt=(Rt=(Gt=(It=(Mt=t.report)==null?void 0:Mt.eeas)==null?void 0:It.extend)==null?void 0:Gt.actual)==null?void 0:Rt.working)==null?void 0:zt.totalTime),1),gQ,e.createElementVNode("div",xQ,[e.createElementVNode("div",bQ,[e.createElementVNode("div",null,e.toDisplayString((Jt=(Qt=(Zt=(Yt=(Ut=t.report)==null?void 0:Ut.eeas)==null?void 0:Yt.extend)==null?void 0:Zt.cp)==null?void 0:Qt.working)==null?void 0:Jt.fo),1),kQ,DQ])]),CQ,e.createElementVNode("div",SQ,e.toDisplayString((ut=(qt=(Xt=(Kt=(jt=t.report)==null?void 0:jt.eeas)==null?void 0:Kt.extend)==null?void 0:Xt.cp)==null?void 0:qt.working)==null?void 0:ut.totalFoCons)+" (mt)",1)]),e.createElementVNode("div",BQ,[wQ,e.createElementVNode("div",TQ,e.toDisplayString((lo=(oo=(to=(eo=(vt=t.report)==null?void 0:vt.eeas)==null?void 0:eo.extend)==null?void 0:to.cp)==null?void 0:oo.idle)==null?void 0:lo.totalFoCons),1),AQ,e.createElementVNode("div",FQ,e.toDisplayString((Bo=(So=(Co=(no=(ao=t.report)==null?void 0:ao.eeas)==null?void 0:no.extend)==null?void 0:Co.cp)==null?void 0:So.working)==null?void 0:Bo.totalFoCons),1),OQ,e.createElementVNode("div",PQ,e.toDisplayString((Fo=(Ao=(To=(wo=t.report)==null?void 0:wo.eeas)==null?void 0:To.extend)==null?void 0:Ao.cp)==null?void 0:Fo.totalFoCons)+" (mt)",1)]),(($o=(Lo=(Po=(Oo=t.report)==null?void 0:Oo.eeas)==null?void 0:Po.extend)==null?void 0:Lo.summary)==null?void 0:$o.fo.status)==="Saving"?(e.openBlock(),e.createElementBlock("div",LQ,[e.createElementVNode("div",$Q,"FO "+e.toDisplayString((Io=(Mo=(Ho=(Wo=t.report)==null?void 0:Wo.eeas)==null?void 0:Ho.extend)==null?void 0:Mo.summary)==null?void 0:Io.fo.status)+"-Consumption",1),WQ,e.createElementVNode("div",HQ,e.toDisplayString((Uo=(zo=(Ro=(Go=t.report)==null?void 0:Go.eeas)==null?void 0:Ro.extend)==null?void 0:zo.cp)==null?void 0:Uo.totalFoCons),1),MQ,e.createElementVNode("div",IQ,e.toDisplayString((Ko=(Qo=(Zo=(Yo=t.report)==null?void 0:Yo.eeas)==null?void 0:Zo.extend)==null?void 0:Qo.actual)==null?void 0:Ko.totalFoCons),1),GQ,e.createElementVNode("div",RQ,e.toDisplayString((vo=(uo=(qo=(Xo=t.report)==null?void 0:Xo.eeas)==null?void 0:qo.extend)==null?void 0:uo.summary)==null?void 0:vo.fo.margin)+" (mt)",1)])):((ll=(ol=(tl=(el=t.report)==null?void 0:el.eeas)==null?void 0:tl.extend)==null?void 0:ol.summary)==null?void 0:ll.fo.status)==="Over"?(e.openBlock(),e.createElementBlock("div",zQ,[e.createElementVNode("div",UQ,"FO "+e.toDisplayString((cl=(sl=(nl=(al=t.report)==null?void 0:al.eeas)==null?void 0:nl.extend)==null?void 0:sl.summary)==null?void 0:cl.fo.status)+"-Consumption",1),YQ,e.createElementVNode("div",ZQ,e.toDisplayString((ml=(rl=(dl=(il=t.report)==null?void 0:il.eeas)==null?void 0:dl.extend)==null?void 0:rl.actual)==null?void 0:ml.totalFoCons),1),QQ,e.createElementVNode("div",JQ,e.toDisplayString((El=(_l=(hl=(ct=t.report)==null?void 0:ct.eeas)==null?void 0:hl.extend)==null?void 0:_l.cp)==null?void 0:El.totalFoCons),1),jQ,e.createElementVNode("div",KQ,e.toDisplayString((fl=(Vl=(Nl=(yl=t.report)==null?void 0:yl.eeas)==null?void 0:Nl.extend)==null?void 0:Vl.summary)==null?void 0:fl.fo.margin)+" (mt)",1)])):(e.openBlock(),e.createElementBlock("div",XQ,[qQ,e.createElementVNode("div",uQ,e.toDisplayString((kl=(bl=(xl=(gl=t.report)==null?void 0:gl.eeas)==null?void 0:xl.extend)==null?void 0:bl.cp)==null?void 0:kl.totalFoCons),1),vQ,e.createElementVNode("div",eJ,e.toDisplayString((Bl=(Sl=(Cl=(Dl=t.report)==null?void 0:Dl.eeas)==null?void 0:Cl.extend)==null?void 0:Sl.actual)==null?void 0:Bl.totalFoCons),1),tJ,e.createElementVNode("div",oJ,e.toDisplayString((Fl=(Al=(Tl=(wl=t.report)==null?void 0:wl.eeas)==null?void 0:Tl.extend)==null?void 0:Al.summary)==null?void 0:Fl.fo.margin)+" (mt)",1)]))])]),e.createElementVNode("div",lJ,[e.createElementVNode("div",aJ,[e.createElementVNode("div",nJ,[sJ,e.createElementVNode("div",cJ,e.toDisplayString((Wl=($l=(Ll=(Pl=(Ol=t.report)==null?void 0:Ol.eeas)==null?void 0:Pl.extend)==null?void 0:Ll.actual)==null?void 0:$l.idle)==null?void 0:Wl.totalTime),1),iJ,e.createElementVNode("div",dJ,[e.createElementVNode("div",rJ,[e.createElementVNode("div",null,e.toDisplayString((Rl=(Gl=(Il=(Ml=(Hl=t.report)==null?void 0:Hl.eeas)==null?void 0:Ml.extend)==null?void 0:Il.cp)==null?void 0:Gl.idle)==null?void 0:Rl.dgo),1),mJ,pJ])]),hJ,e.createElementVNode("div",_J,e.toDisplayString((Ql=(Zl=(Yl=(Ul=(zl=t.report)==null?void 0:zl.eeas)==null?void 0:Ul.extend)==null?void 0:Yl.cp)==null?void 0:Zl.idle)==null?void 0:Ql.totalDgoCons)+" (mt)",1)]),e.createElementVNode("div",EJ,[yJ,e.createElementVNode("div",NJ,e.toDisplayString((ql=(Xl=(Kl=(jl=(Jl=t.report)==null?void 0:Jl.eeas)==null?void 0:jl.extend)==null?void 0:Kl.actual)==null?void 0:Xl.working)==null?void 0:ql.totalTime),1),VJ,e.createElementVNode("div",fJ,[e.createElementVNode("div",gJ,[e.createElementVNode("div",null,e.toDisplayString((oa=(ta=(ea=(vl=(ul=t.report)==null?void 0:ul.eeas)==null?void 0:vl.extend)==null?void 0:ea.cp)==null?void 0:ta.working)==null?void 0:oa.dgo),1),xJ,bJ])]),kJ,e.createElementVNode("div",DJ,e.toDisplayString((ca=(sa=(na=(aa=(la=t.report)==null?void 0:la.eeas)==null?void 0:aa.extend)==null?void 0:na.cp)==null?void 0:sa.working)==null?void 0:ca.totalDgoCons)+" (mt)",1)]),e.createElementVNode("div",CJ,[SJ,e.createElementVNode("div",BJ,e.toDisplayString((pa=(ma=(ra=(da=(ia=t.report)==null?void 0:ia.eeas)==null?void 0:da.extend)==null?void 0:ra.cp)==null?void 0:ma.idle)==null?void 0:pa.totalDgoCons),1),wJ,e.createElementVNode("div",TJ,e.toDisplayString((Na=(ya=(Ea=(_a=(ha=t.report)==null?void 0:ha.eeas)==null?void 0:_a.extend)==null?void 0:Ea.cp)==null?void 0:ya.working)==null?void 0:Na.totalDgoCons),1),AJ,e.createElementVNode("div",FJ,e.toDisplayString((xa=(ga=(fa=(Va=t.report)==null?void 0:Va.eeas)==null?void 0:fa.extend)==null?void 0:ga.cp)==null?void 0:xa.totalDgoCons)+" (mt)",1)]),((ka=(ba=(so=(Q=t.report)==null?void 0:Q.eeas)==null?void 0:so.extend)==null?void 0:ba.summary)==null?void 0:ka.dgo.status)==="Saving"?(e.openBlock(),e.createElementBlock("div",OJ,[e.createElementVNode("div",PJ,"MGO "+e.toDisplayString((Ba=(Sa=(Ca=(Da=t.report)==null?void 0:Da.eeas)==null?void 0:Ca.extend)==null?void 0:Sa.summary)==null?void 0:Ba.dgo.status)+"-Consumption",1),LJ,e.createElementVNode("div",$J,e.toDisplayString((Pa=(Qe=(Ta=(wa=t.report)==null?void 0:wa.eeas)==null?void 0:Ta.extend)==null?void 0:Qe.cp)==null?void 0:Pa.totalDgoCons),1),WJ,e.createElementVNode("div",HJ,e.toDisplayString((K=(Wa=($a=(La=t.report)==null?void 0:La.eeas)==null?void 0:$a.extend)==null?void 0:Wa.actual)==null?void 0:K.totalDgoCons),1),MJ,e.createElementVNode("div",IJ,e.toDisplayString((Ia=(Ma=(Ha=(Jo=t.report)==null?void 0:Jo.eeas)==null?void 0:Ha.extend)==null?void 0:Ma.summary)==null?void 0:Ia.dgo.margin)+" (mt)",1)])):((Ua=(za=(Ra=(Ga=t.report)==null?void 0:Ga.eeas)==null?void 0:Ra.extend)==null?void 0:za.summary)==null?void 0:Ua.dgo.status)==="Over"?(e.openBlock(),e.createElementBlock("div",GJ,[e.createElementVNode("div",RJ,"MGO "+e.toDisplayString((en=(va=(it=(Ya=t.report)==null?void 0:Ya.eeas)==null?void 0:it.extend)==null?void 0:va.summary)==null?void 0:en.dgo.status)+"-Consumption",1),zJ,e.createElementVNode("div",UJ,e.toDisplayString((an=(ln=(on=(tn=t.report)==null?void 0:tn.eeas)==null?void 0:on.extend)==null?void 0:ln.actual)==null?void 0:an.totalDgoCons),1),YJ,e.createElementVNode("div",ZJ,e.toDisplayString((dn=(cn=(sn=(nn=t.report)==null?void 0:nn.eeas)==null?void 0:sn.extend)==null?void 0:cn.cp)==null?void 0:dn.totalDgoCons),1),QJ,e.createElementVNode("div",JJ,e.toDisplayString((hn=(pn=(mn=(rn=t.report)==null?void 0:rn.eeas)==null?void 0:mn.extend)==null?void 0:pn.summary)==null?void 0:hn.dgo.margin)+" (mt)",1)])):(e.openBlock(),e.createElementBlock("div",jJ,[KJ,e.createElementVNode("div",XJ,e.toDisplayString((Nn=(yn=(En=(_n=t.report)==null?void 0:_n.eeas)==null?void 0:En.extend)==null?void 0:yn.cp)==null?void 0:Nn.totalDgoCons),1),qJ,e.createElementVNode("div",uJ,e.toDisplayString((xn=(gn=(fn=(Vn=t.report)==null?void 0:Vn.eeas)==null?void 0:fn.extend)==null?void 0:gn.actual)==null?void 0:xn.totalDgoCons),1),vJ,e.createElementVNode("div",ej,e.toDisplayString((Cn=(Dn=(kn=(bn=t.report)==null?void 0:bn.eeas)==null?void 0:kn.extend)==null?void 0:Dn.summary)==null?void 0:Cn.dgo.margin)+" (mt)",1)]))])])]),e.createElementVNode("div",tj,[oj,e.createElementVNode("div",lj,[e.createElementVNode("table",null,[aj,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((wn=(Bn=(Sn=t.report)==null?void 0:Sn.eeas)==null?void 0:Bn.extend)==null?void 0:wn.eecs,v=>{var Za,Qa;return e.openBlock(),e.createElementBlock("tr",{key:v.id},[e.createElementVNode("td",null,e.toDisplayString(v.Port),1),e.createElementVNode("td",null,e.toDisplayString(v.ManoeuvringType||"-"),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime(v.Date)),1),e.createElementVNode("td",null,e.toDisplayString((Za=n.computeLat(v.Lat))==null?void 0:Za.pretty),1),e.createElementVNode("td",null,e.toDisplayString((Qa=n.computeLng(v.Lng))==null?void 0:Qa.pretty),1),e.createElementVNode("td",null,e.toDisplayString(v.ManoeuvringHours||"-"),1),e.createElementVNode("td",null,e.toDisplayString(v.ManoeuvringDist||"-"),1),e.createElementVNode("td",null,e.toDisplayString(v.TotCons_FO||"-"),1),e.createElementVNode("td",null,e.toDisplayString(v.TotCons_DGO||"-"),1),e.createElementVNode("td",null,e.toDisplayString(v.BROB_FO||"-"),1),e.createElementVNode("td",null,e.toDisplayString(v.BROB_DGO||"-"),1),e.createElementVNode("td",null,e.toDisplayString(v.TTLDailyWorkingHrs||"-"),1),e.createElementVNode("td",null,e.toDisplayString(v.WorkingPeriodCons_FO||"-"),1),e.createElementVNode("td",null,e.toDisplayString(v.WorkingPeriodCons_DGO||"-"),1),e.createElementVNode("td",null,e.toDisplayString(v.TTLDailyIdleHrs||"-"),1),e.createElementVNode("td",null,e.toDisplayString(v.IdlePeriodCons_FO||"-"),1),e.createElementVNode("td",null,e.toDisplayString(v.IdlePeriodCons_DGO||"-"),1),e.createElementVNode("td",null,e.toDisplayString(v.PortETD||"-"),1)])}),128))])])])])])}const ac=we(FY,[["render",nj],["__scopeId","data-v-9ef23ed3"]]),sj={install(o){o.component("EeasReport",ac)}};Z.BrandPlugin=Pz,Z.ComparisonPlugin=Cz,Z.DeviationPlugin=QW,Z.DeviationReport=Zs,Z.EeasReport=ac,Z.EeasReportPlugin=sj,Z.FliComparisonReport=Ks,Z.FliDeviationReport=Qs,Z.FliInvoiceReport=Us,Z.FliPlanReport=Hs,Z.FliVoyageReport=Is,Z.HurricanePlugin=NB,Z.IdmBrand=jo,Z.IdmEditor=pl,Z.IdmEditorPlugin=dh,Z.IdmLat=Ka,Z.IdmLatPlugin=rh,Z.IdmLng=ja,Z.IdmLngPlugin=mh,Z.IdmLoading=ua,Z.IdmThird=Xs,Z.InvoicePlugin=t8,Z.LoadingPlugin=AY,Z.ORMPointReport=Ws,Z.OrmComparisonReport=js,Z.OrmInvoiceReport=zs,Z.OrmPlanReport=Fs,Z.OrmQuoteReport=us,Z.OrmQuoteReport4SEOA=ec,Z.OrmQuoteReport4TongLi=oc,Z.OrmVoyageReport=Gs,Z.PiLogo=Ms,Z.PiLogoPlugin=Vh,Z.PointReportPlugin=od,Z.PrecipitationReport=lc,Z.PrecipitationReportPlugin=TY,Z.QuoteReportPlugin=rU,Z.RouteReport=Fs,Z.RouteReportPlugin=ih,Z.StoppageReport=Js,Z.StoppageReportPlugin=NM,Z.TropicalReport=Rs,Z.VoyageReportPlugin=hB,Object.defineProperty(Z,Symbol.toStringTag,{value:"Module"})});
53
+ `,"<br/>")},null,8,QB)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",JB,[jB,((w=t.report)==null?void 0:w.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",KB,[XB,e.createElementVNode("span",null,e.toDisplayString((O=a.account[(V=t.report)==null?void 0:V.paymentType])==null?void 0:O.bank),1)]),e.createElementVNode("div",qB,[uB,e.createElementVNode("span",null,e.toDisplayString((R=a.account[(G=t.report)==null?void 0:G.paymentType])==null?void 0:R.number),1)]),e.createElementVNode("div",vB,[e8,e.createElementVNode("span",null,e.toDisplayString((U=a.account[(z=t.report)==null?void 0:z.paymentType])==null?void 0:U.title),1)]),e.createElementVNode("div",t8,[o8,e.createElementVNode("span",null,e.toDisplayString((L=a.account[(_=t.report)==null?void 0:_.paymentType])==null?void 0:L.address),1)]),e.createElementVNode("div",l8,[a8,e.createElementVNode("span",null,e.toDisplayString(($=a.account[(H=t.report)==null?void 0:H.paymentType])==null?void 0:$.tel),1)]),e.createElementVNode("div",n8,[s8,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",c8,[i8,e.createElementVNode("span",null,e.toDisplayString((Y=a.account[(J=t.report)==null?void 0:J.paymentType])==null?void 0:Y.title),1)]),e.createElementVNode("div",d8,[r8,e.createElementVNode("span",null,e.toDisplayString((se=a.account[(j=t.report)==null?void 0:j.paymentType])==null?void 0:se.bank),1)]),e.createElementVNode("div",m8,[p8,e.createElementVNode("span",null,e.toDisplayString((l=a.account[(ce=t.report)==null?void 0:ce.paymentType])==null?void 0:l.bankAddr),1)]),e.createElementVNode("div",h8,[_8,e.createElementVNode("span",null,e.toDisplayString((ee=a.account[(q=t.report)==null?void 0:q.paymentType])==null?void 0:ee.number),1)]),e.createElementVNode("div",E8,[y8,e.createElementVNode("span",null,e.toDisplayString((oe=a.account[(te=t.report)==null?void 0:te.paymentType])==null?void 0:oe.swift),1)]),e.createElementVNode("div",N8,[V8,e.createElementVNode("span",null,e.toDisplayString((ae=a.account[(le=t.report)==null?void 0:le.paymentType])==null?void 0:ae.intermediaryBank),1)]),e.createElementVNode("div",f8,[g8,e.createElementVNode("span",null,e.toDisplayString((de=a.account[(ie=t.report)==null?void 0:ie.paymentType])==null?void 0:de.intermediaryBankSwift),1)]),e.createElementVNode("div",x8,[b8,e.createElementVNode("span",null,e.toDisplayString((Ee=a.account[(re=t.report)==null?void 0:re.paymentType])==null?void 0:Ee.intermediaryBankAbaNo),1)])],64))]),k8])}const ic=we(VB,[["render",D8],["__scopeId","data-v-95c80c22"]]),Gj="",C8={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!=="-"?`${X(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(){}},Oa=o=>(e.pushScopeId("data-v-c269c41c"),o=o(),e.popScopeId(),o),S8={class:"invoice-report"},B8={class:"section items-section"},w8={class:"flex-start"},T8=Oa(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),A8=["innerHTML"],F8={class:"flex-space"},O8={class:"invoice-item"},P8={key:0,class:"invoice-item"},L8=Oa(()=>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)),$8=Oa(()=>e.createElementVNode("td",null,"NO.",-1)),W8=["colspan"],H8=Oa(()=>e.createElementVNode("td",null,"Amounts",-1)),M8=["colspan"],I8=["colspan"],G8=[Oa(()=>e.createElementVNode("span",null,"Total in USD",-1))],R8={class:"total"},z8=["colspan"],U8=[Oa(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],Y8={class:"total"},Z8=["colspan"],Q8={class:"total"},J8={key:1},j8=["colspan"],K8=[Oa(()=>e.createElementVNode("span",null,"Total in USD",-1))],X8={class:"total"},q8={key:0,class:"memo-block"},u8=Oa(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),v8=["innerHTML"];function e9(o,s,t,r,a,n){var E,c,p,g,x,h,N,D,b,C,k,A,F;return e.openBlock(),e.createElementBlock("div",S8,[e.createElementVNode("div",B8,[e.createElementVNode("div",w8,[T8,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(`
54
+ `,"<br/>")},null,8,A8)]),e.createElementVNode("div",F8,[e.createElementVNode("div",O8,"Invoice No. "+e.toDisplayString(t.report.number),1),(g=t.report)!=null&&g.paymentDate?(e.openBlock(),e.createElementBlock("div",P8,"Paid: "+e.toDisplayString(n.computeTime(t.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(x=a.reservations4Route)!=null&&x.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[L8,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Route,(B,w)=>{var V,O,G,R,z,U,_,L,H,$,P,M,J,Y,j,se,ce,l,q,ee,te,oe,le,ae;return e.openBlock(),e.createElementBlock("tr",{key:w},[e.createElementVNode("td",null,e.toDisplayString((G=(O=(V=B.props)==null?void 0:V[0])==null?void 0:O.voyage)==null?void 0:G.number),1),e.createElementVNode("td",null,e.toDisplayString(((U=(z=(R=B.props)==null?void 0:R[0])==null?void 0:z.voyage)==null?void 0:U.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=($=B.props)==null?void 0:$[0])==null?void 0:P.voyage)==null?void 0:M.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((j=(Y=(J=B.props)==null?void 0:J[0])==null?void 0:Y.departure)==null?void 0:j.name),1),e.createElementVNode("td",null,e.toDisplayString((l=(ce=(se=B.props)==null?void 0:se[0])==null?void 0:ce.departure)==null?void 0:l.atd),1),e.createElementVNode("td",null,e.toDisplayString((te=(ee=(q=B.props)==null?void 0:q[0])==null?void 0:ee.destination)==null?void 0:te.name),1),e.createElementVNode("td",null,e.toDisplayString((ae=(le=(oe=B.props)==null?void 0:oe[0])==null?void 0:le.destination)==null?void 0:ae.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,[$8,e.createElementVNode("td",{colspan:a.maxColspans-1},"Items.",8,W8),H8])]),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,M8),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},G8,8,I8),e.createElementVNode("td",R8,[e.createElementVNode("span",null,e.toDisplayString(`$${a.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},U8,8,z8),e.createElementVNode("td",Y8,[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,Z8),e.createElementVNode("td",Q8,"¥"+e.toDisplayString((b=t.report)==null?void 0:b.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",J8,[e.createElementVNode("td",{colspan:a.maxColspans},K8,8,j8),e.createElementVNode("td",X8,[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",q8,[u8,e.createElementVNode("div",{class:"invoice-item",innerHTML:(F=(A=t.report)==null?void 0:A.memo)==null?void 0:F.replace(`
55
+ `,"<br/>")},null,8,v8)])):e.createCommentVNode("",!0)])])}const dc=we(C8,[["render",e9],["__scopeId","data-v-c269c41c"]]),t9={install(o){o.component("OrmInvoiceReport",ic),o.component("FliInvoiceReport",dc)}},o9=o=>((typeof o=="string"||typeof o=="number")&&(o=X(o)),o),l9=(o,s="MMM-DD,YYYY/HHmm[Z]")=>a9(o,s),a9=(o,s="MMM-DD/HHmm[Z]")=>(o=o9(o),o?`${o.utc().format(s)}`:"-"),Yj="",n9={name:"IdmEditableItem",components:{Edit:Xa.Edit,Close:Xa.Close,IdmEditor:pl},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 l9(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)}}},s9={class:"idm-editable-item"},c9=["innerHTML"],i9={key:3,class:"buttons"};function d9(o,s,t,r,a,n){const E=e.resolveComponent("ElTag"),c=e.resolveComponent("ElInput"),p=e.resolveComponent("IdmEditor"),g=e.resolveComponent("ElInputNumber"),x=e.resolveComponent("ElDatePicker"),h=e.resolveComponent("ElOption"),N=e.resolveComponent("ElSelect"),D=e.resolveComponent("ElRadio"),b=e.resolveComponent("ElRadioGroup"),C=e.resolveComponent("ElCheckbox"),k=e.resolveComponent("ElCheckboxGroup"),A=e.resolveComponent("Edit"),F=e.resolveComponent("ElIcon"),B=e.resolveComponent("ElButton"),w=e.resolveComponent("Close");return e.openBlock(),e.createElementBlock("div",s9,[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]=V=>a.model=V),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]=V=>a.model=V),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]=V=>a.model=V),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]=V=>a.model=V),onBlur:n.handleCommit},null,8,["modelValue","onBlur"])):e.createCommentVNode("",!0),t.type==="number"?(e.openBlock(),e.createBlock(g,{key:4,modelValue:a.model,"onUpdate:modelValue":s[6]||(s[6]=V=>a.model=V),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(x,{key:5,modelValue:a.model,"onUpdate:modelValue":s[7]||(s[7]=V=>a.model=V),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]=V=>a.model=V),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,V=>(e.openBlock(),e.createBlock(h,{key:V.value,label:V.label,disabled:V.disabled,value:V.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]=V=>a.model=V),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,V=>(e.openBlock(),e.createBlock(h,{key:V.value,label:V.label,value:V.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]=V=>a.model=V),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,V=>(e.openBlock(),e.createBlock(h,{key:V.id,label:V.name,value:V.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),t.type==="radio"?(e.openBlock(),e.createBlock(b,{key:9,modelValue:a.model,"onUpdate:modelValue":s[11]||(s[11]=V=>a.model=V),size:t.size,style:{width:"100%"},onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.radios,V=>(e.openBlock(),e.createBlock(D,{key:V.value,label:V.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(V.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]=V=>a.model=V),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,V=>(e.openBlock(),e.createBlock(C,{key:V.label,label:V.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(V.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]=(...V)=>n.handleEdit&&n.handleEdit(...V))},e.toDisplayString(n.computeUtcTime(t.value,t.format)),33)):t.type==="richText"?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:t.value||""},null,8,c9)):(e.openBlock(),e.createElementBlock("span",{key:2,onDblclick:s[1]||(s[1]=(...V)=>n.handleEdit&&n.handleEdit(...V))},[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",i9,[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(A)]),_:1})]),_:1},8,["size","onClick"]))])):e.createCommentVNode("",!0)],4)])}const rc=we(n9,[["render",d9]]),Zj="",Qj="",r9={name:"OrmDeviation",components:{CirclePlus:Xa.CirclePlus,Remove:Xa.Remove,EditableItem:rc,Editor:pl,IdmBrand:jo},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?`${X(o).utc().format(s)}`:"-"}},computedLngLat(){return function(o,s){return`${me.LngLatHelper.lat2pretty(o).pretty} / ${me.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,a;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,this.remarks=(a=this.report)==null?void 0:a.remarks},async fetchSuggestName(o){var t;const s=await Ja.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 Ja.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 g=s.substring(0,a),x=s.substring(a+1);x!=="date"&&(t=Number(t)),this.extraPortList[r][g][x]=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 Ja.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 us.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},y=o=>(e.pushScopeId("data-v-466ca2d5"),o=o(),e.popScopeId(),o),m9={class:"deviation-report"},p9={class:"content-box"},h9={class:"info-box border-dashed"},_9={class:"flex-between row"},E9={class:"flex-between",style:{width:"48%"}},y9=y(()=>e.createElementVNode("label",{class:"label"},"Prepared For:",-1)),N9={class:"flex-between",style:{width:"48%"}},V9=y(()=>e.createElementVNode("label",{class:"label"},"Departure Port:",-1)),f9={style:{"margin-left":"5px"}},g9={class:"flex-between row"},x9={class:"flex-between",style:{width:"48%"}},b9=y(()=>e.createElementVNode("label",{class:"label"},"Vessel:",-1)),k9={class:"flex-between",style:{width:"48%"}},D9=y(()=>e.createElementVNode("label",{class:"label"},"Arrival Port:",-1)),C9={style:{"margin-left":"5px"}},S9={class:"flex-between row"},B9={class:"flex-between",style:{width:"48%"}},w9=y(()=>e.createElementVNode("label",{class:"label"},"Voyage No:",-1)),T9={class:"flex-between",style:{width:"48%"}},A9=y(()=>e.createElementVNode("label",{class:"label"},"Load Condition:",-1)),F9={class:"section summary-section"},O9=y(()=>e.createElementVNode("div",{class:"subtitle"},"Summary",-1)),P9={class:"border-solid"},L9={class:"cp"},$9={class:"flex-between",style:{padding:"6px 0"}},W9={style:{"margin-left":"5px"}},H9={style:{"margin-left":"5px"}},M9=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)),I9=y(()=>e.createElementVNode("td",null,"-",-1)),G9={key:0},R9={key:0},z9={key:1},U9={key:0},Y9={key:0},Z9={key:1},Q9={key:0},J9={key:0},j9={key:1},K9={class:"summary-block flex-between"},X9={class:"item"},q9=y(()=>e.createElementVNode("div",{class:"title"},"Extra Distance",-1)),u9={class:"value flex-end"},v9={key:0},e6=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),t6={class:"gain"},o6=y(()=>e.createElementVNode("span",{class:"unit"},"nm",-1)),l6={key:1},a6=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),n6={class:"lost"},s6=y(()=>e.createElementVNode("span",{class:"unit"},"nm",-1)),c6={key:2},i6={class:"item"},d6=y(()=>e.createElementVNode("div",{class:"title"},"Total extra Time",-1)),r6={class:"value flex-end"},m6={key:0},p6=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),h6={class:"gain"},_6=y(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),E6={key:1},y6=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),N6={class:"lost"},V6=y(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),f6={key:2},g6={class:"item"},x6=y(()=>e.createElementVNode("div",{class:"title"},"FO Total extra Consumption",-1)),b6={class:"value flex-end"},k6={key:0},D6=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),C6={class:"gain"},S6=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),B6={key:1},w6=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),T6={class:"lost"},A6=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),F6={key:2},O6={class:"item"},P6=y(()=>e.createElementVNode("div",{class:"title"},"MGO Total extra Consumption",-1)),L6={class:"value flex-end"},$6={key:0},W6=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),H6={class:"gain"},M6=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),I6={key:1},G6=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),R6={class:"lost"},z6=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),U6={key:2},Y6=y(()=>e.createElementVNode("div",{class:"subtitle"},"Remarks",-1)),Z6={class:"section-content"},Q6={key:0,class:""},J6=["innerHTML"],j6={key:1},K6={class:"section deviation-info-section"},X6=y(()=>e.createElementVNode("div",{class:"flex-between"},[e.createElementVNode("div",{class:"subtitle"},"Deviation Info Information")],-1)),q6={key:0},u6=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)),v6=y(()=>e.createElementVNode("td",null,"Deviation Start",-1)),ew=y(()=>e.createElementVNode("td",null,null,-1)),tw=y(()=>e.createElementVNode("td",null,null,-1)),ow=y(()=>e.createElementVNode("td",null,"Back on Track",-1)),lw=y(()=>e.createElementVNode("td",{colspan:"2"},null,-1)),aw=y(()=>e.createElementVNode("td",{colspan:"2"},null,-1)),nw={key:1},sw=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)),cw=y(()=>e.createElementVNode("td",null,"Deviation Start",-1)),iw=y(()=>e.createElementVNode("td",null,"Back on Track",-1)),dw={key:0,class:"section extra-port-section"},rw={class:"flex-between"},mw=y(()=>e.createElementVNode("div",{class:"subtitle"},"Extra Port Information",-1)),pw=y(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Extra Port",-1)),hw=y(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Event",-1)),_w=y(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Date Time",-1)),Ew=y(()=>e.createElementVNode("th",{colspan:2,class:"label"},"BROB (mt)",-1)),yw=y(()=>e.createElementVNode("th",{colspan:2,class:"label"},"Bunkering (mt)",-1)),Nw={key:0,rowspan:2,class:"print-hidden label"},Vw=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)),fw={rowspan:2},gw=y(()=>e.createElementVNode("td",null,"Arrival",-1)),xw=y(()=>e.createElementVNode("td",null,null,-1)),bw=y(()=>e.createElementVNode("td",null,null,-1)),kw={rowspan:2,class:"print-hidden"},Dw=y(()=>e.createElementVNode("td",null,"Departure",-1)),Cw=y(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),Sw=y(()=>e.createElementVNode("td",null,null,-1)),Bw=y(()=>e.createElementVNode("td",null,null,-1)),ww=y(()=>e.createElementVNode("td",null,null,-1)),Tw={key:0,class:"print-hidden"},Aw={class:"section time-cons-section"},Fw=y(()=>e.createElementVNode("div",{class:"subtitle"},"Time and Consumption Calculation",-1)),Ow=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)),Pw={class:"time-block flex-between border-dashed"},Lw={key:0,class:"formula-block"},$w={class:"flex-start"},Ww=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"Time for extra distance sailing",-1)),Hw=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Mw={class:"fraction flex-center"},Iw={class:"content"},Gw=y(()=>e.createElementVNode("div",null,"Extra Distance",-1)),Rw=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),zw={key:0},Uw={key:1},Yw=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Zw={class:"fraction flex-center"},Qw={class:"content"},Jw=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),jw=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Kw={class:"fraction flex-center"},Xw={class:"flex-start"},qw=e.createStaticVNode('<div class="fraction flex-center" data-v-466ca2d5>Total extra Time</div><div class="sig" data-v-466ca2d5>=</div><div class="fraction flex-center" data-v-466ca2d5>Time for extra distance sailing</div><div class="sig" data-v-466ca2d5>+</div><div class="fraction flex-center" data-v-466ca2d5>Time spent in extra port</div><div class="sig" data-v-466ca2d5>=</div>',6),uw={class:"fraction flex-center"},vw=y(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),e7={class:"fraction flex-center"},t7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),o7={class:"fraction flex-center"},l7={key:1,class:"formula-block"},a7={class:"flex-start"},n7=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"Time for Route prior to deviation sailing",-1)),s7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),c7={class:"fraction flex-center"},i7={class:"content"},d7=y(()=>e.createElementVNode("div",null,"Route Prior to deviation",-1)),r7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),m7={key:0},p7={key:1},h7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),_7={class:"fraction flex-center"},E7={class:"content"},y7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),N7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),V7={class:"fraction flex-center"},f7=y(()=>e.createElementVNode("div",{class:"sig"},null,-1)),g7=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},null,-1)),x7={class:"flex-start"},b7=e.createStaticVNode('<div class="fraction flex-center" data-v-466ca2d5>Total extra Time</div><div class="sig" data-v-466ca2d5>=</div><div class="fraction flex-center" data-v-466ca2d5>Time for Actual Route</div><div class="sig" data-v-466ca2d5>-</div><div class="fraction flex-center" data-v-466ca2d5>Time for Route prior to deviation sailing</div><div class="sig" data-v-466ca2d5>=</div>',6),k7={class:"fraction flex-center"},D7=y(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),C7={class:"fraction flex-center"},S7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),B7={class:"fraction flex-center"},w7={class:"fuel-block flex-between border-dashed"},T7={key:0,class:"formula-block"},A7={class:"flex-start"},F7=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"FO Consumption for extra distance sailing",-1)),O7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),P7={class:"fraction flex-center"},L7={class:"content"},$7=y(()=>e.createElementVNode("div",null,"Extra Distance",-1)),W7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),H7={key:0},M7={key:1},I7=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),G7={class:"fraction flex-center"},R7={class:"content"},z7={key:0},U7={key:1},Y7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Z7=y(()=>e.createElementVNode("div",null,"24",-1)),Q7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),J7={class:"fraction flex-center"},j7={class:"content"},K7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),X7=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),q7={class:"fraction flex-center"},u7={class:"content"},v7=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-466ca2d5>FO Total Extra Consumption</div><div class="sig" data-v-466ca2d5>=</div><div class="fraction flex-center" data-v-466ca2d5>FO Consumption for extra distance sailing</div><div class="sig" data-v-466ca2d5>+</div><div class="fraction flex-center" data-v-466ca2d5>FO Consumption in extra port</div><div class="sig" data-v-466ca2d5>=</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 extra distance sailing",-1)),pT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),hT={class:"fraction flex-center"},_T={class:"content"},ET=y(()=>e.createElementVNode("div",null,"Extra 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)),gT={class:"fraction flex-center"},xT={class:"content"},bT={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"},TT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),AT=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)),$T=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),WT={class:"fraction flex-center"},HT={class:"flex-start"},MT=e.createStaticVNode('<div class="fraction flex-center" data-v-466ca2d5>MGO Total Extra Consumption</div><div class="sig" data-v-466ca2d5>=</div><div class="fraction flex-center" data-v-466ca2d5>MGO Consumption for extra distance sailing</div><div class="sig" data-v-466ca2d5>+</div><div class="fraction flex-center" data-v-466ca2d5>MGO Consumption in extra port</div><div class="sig" data-v-466ca2d5>=</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={key:1,class:"formula-block"},ZT={class:"flex-start"},QT=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"FO Consumption for Route prior to deviation sailing",-1)),JT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),jT={class:"fraction flex-center"},KT={class:"content"},XT=y(()=>e.createElementVNode("div",null,"Route prior to deviation Distance",-1)),qT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),uT={key:0},vT={key:1},eA=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),tA={class:"fraction flex-center"},oA={class:"content"},lA={key:0},aA={key:1},nA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),sA=y(()=>e.createElementVNode("div",null,"24",-1)),cA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),iA={class:"fraction flex-center"},dA={class:"content"},rA=y(()=>e.createElementVNode("div",{class:"line"},null,-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",null,"24",-1)),yA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),NA={class:"fraction flex-center"},VA={class:"flex-start"},fA=e.createStaticVNode('<div class="fraction flex-center" data-v-466ca2d5>FO Total Extra Consumption</div><div class="sig" data-v-466ca2d5>=</div><div class="fraction flex-center" data-v-466ca2d5>FO Consumption for Actual Route</div><div class="sig" data-v-466ca2d5>-</div><div class="fraction flex-center" data-v-466ca2d5>FO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-466ca2d5>=</div>',6),gA={class:"fraction flex-center"},xA=y(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),bA={class:"fraction flex-center"},kA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),DA={class:"fraction flex-center"},CA={class:"flex-start"},SA=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"MGO Consumption for Route prior to deviation sailing",-1)),BA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),wA={class:"fraction flex-center"},TA={class:"content"},AA=y(()=>e.createElementVNode("div",null,"Route prior to deviation Distance",-1)),FA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),OA={key:0},PA={key:1},LA=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),$A={class:"fraction flex-center"},WA={class:"content"},HA={key:0},MA={key:1},IA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),GA=y(()=>e.createElementVNode("div",null,"24",-1)),RA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),zA={class:"fraction flex-center"},UA={class:"content"},YA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),ZA=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),QA={class:"fraction flex-center"},JA={class:"content"},jA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),KA=y(()=>e.createElementVNode("div",null,"24",-1)),XA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),qA={class:"fraction flex-center"},uA={class:"flex-start"},vA=e.createStaticVNode('<div class="fraction flex-center" data-v-466ca2d5>MGO Total Extra Consumption</div><div class="sig" data-v-466ca2d5>=</div><div class="fraction flex-center" data-v-466ca2d5>MGO Consumption for Actual Route</div><div class="sig" data-v-466ca2d5>-</div><div class="fraction flex-center" data-v-466ca2d5>MGO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-466ca2d5>=</div>',6),eF={class:"fraction flex-center"},tF=y(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),oF={class:"fraction flex-center"},lF=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),aF={class:"fraction flex-center"},nF={class:"section map-section"},sF=y(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),cF={class:"report-map"},iF=["src"],dF=e.createStaticVNode('<div class="legend" data-v-466ca2d5><div class="legend-item" data-v-466ca2d5><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-466ca2d5></div><div data-v-466ca2d5>Actual Route</div></div><div class="legend-item" data-v-466ca2d5><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-466ca2d5></div><div data-v-466ca2d5>Route prior to deviation</div></div></div>',1);function rF(o,s,t,r,a,n){var x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,M,J,Y,j,se,ce,l,q,ee,te,oe,le,ae,ie,de,re,Ee,u,he,ye,Ne,pe,ge,xe,be,ke,De,Ce,Fe,Oe,Pe,Le,$e,We,He,Me,Ve,Je,je,Ke,T,Se,Ue,Xe,qe,ue,ve,et,m,W,Be,Ge,Ye,_e,Ze,tt,ot,rt,mt,pt,ht,yt,Nt,Vt,ft,gt,xt,bt,kt,Dt,Ct,St,Bt,wt,Tt,At,Ft,Ot,Pt,Lt,$t,co,io,ro,mo,po,ho,_o,Eo,yo,No,Vo,fo,go,xo,bo,ko,Do,S,Ie,lt,at,_t,Wt,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,jt,Kt,Xt,qt,ut,vt,eo,to,oo,lo,ao,no,Co,So,Bo,wo,To,Ao,Fo,Oo,Po,Lo,$o,Wo,Ho,Mo,Io,Go,Ro,zo,Uo,Yo,Zo,Qo,Ko,Xo,qo,uo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl,ml,ct,hl,_l,El,yl,Nl,Vl,fl,gl,xl,bl,kl,Dl,Cl,Sl,Bl,wl,Tl,Al,Fl,Ol,Pl,Ll,$l,Wl,Hl,Ml,Il,Gl,Rl,zl,Ul,Yl,Zl,Ql,Jl,jl,Kl,Xl,ql,ul,vl,ea,ta,oa,la,aa,na,sa,ca,ia,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ga,xa;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("Editor"),p=e.resolveComponent("EditableItem"),g=e.resolveComponent("ElButton");return e.openBlock(),e.createElementBlock("div",m9,[e.createVNode(E,{name:"Voyage Deviation Report"}),e.createElementVNode("div",p9,[e.createElementVNode("div",h9,[e.createElementVNode("div",_9,[e.createElementVNode("div",E9,[y9,e.createElementVNode("div",null,e.toDisplayString((x=t.report)==null?void 0:x.preparedFor),1)]),e.createElementVNode("div",N9,[V9,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",f9,e.toDisplayString(n.computeUTCTime(((b=(D=t.report)==null?void 0:D.departure)==null?void 0:b.atd)||((k=(C=t.report)==null?void 0:C.departure)==null?void 0:k.etd))),1)])])]),e.createElementVNode("div",g9,[e.createElementVNode("div",x9,[b9,e.createElementVNode("div",null,e.toDisplayString((F=(A=t.report)==null?void 0:A.vessel)==null?void 0:F.name),1)]),e.createElementVNode("div",k9,[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",C9,e.toDisplayString(n.computeUTCTime(((O=(V=t.report)==null?void 0:V.arrival)==null?void 0:O.ata)||((R=(G=t.report)==null?void 0:G.arrival)==null?void 0:R.eta))),1)])])]),e.createElementVNode("div",S9,[e.createElementVNode("div",B9,[w9,e.createElementVNode("div",null,e.toDisplayString((U=(z=t.report)==null?void 0:z.voyage)==null?void 0:U.number),1)]),e.createElementVNode("div",T9,[A9,e.createElementVNode("div",null,e.toDisplayString((L=(_=t.report)==null?void 0:_.voyage)==null?void 0:L.loadCondition),1)])])]),e.createElementVNode("div",F9,[O9,e.createElementVNode("div",P9,[e.createElementVNode("div",L9,[e.createElementVNode("div",$9,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString(($=(H=t.report)==null?void 0:H.departure)==null?void 0:$.name),1),e.createElementVNode("span",W9,"( "+e.toDisplayString(n.computeUTCTime(((M=(P=t.report)==null?void 0:P.departure)==null?void 0:M.atd)||((Y=(J=t.report)==null?void 0:J.departure)==null?void 0:Y.etd)))+" )",1)]),e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((se=(j=t.report)==null?void 0:j.arrival)==null?void 0:se.name),1),e.createElementVNode("span",H9,"( "+e.toDisplayString(n.computeUTCTime(((l=(ce=t.report)==null?void 0:ce.arrival)==null?void 0:l.ata)||((ee=(q=t.report)==null?void 0:q.arrival)==null?void 0:ee.eta)))+" )",1)])]),e.createElementVNode("table",null,[M9,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[I9,e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(((oe=(te=t.report)==null?void 0:te.cp)==null?void 0:oe.speed)??"—"),1),t.report.useWeather?(e.openBlock(),e.createElementBlock("span",G9,[e.createTextVNode(" | "),(ie=(ae=(le=t.report)==null?void 0:le.extend)==null?void 0:ae.spdAbt)!=null&&ie.spdPercentage?(e.openBlock(),e.createElementBlock("span",R9,"+"+e.toDisplayString((Ee=(re=(de=t.report)==null?void 0:de.extend)==null?void 0:re.spdAbt)==null?void 0:Ee.spdOfOver)+"% , -"+e.toDisplayString((ye=(he=(u=t.report)==null?void 0:u.extend)==null?void 0:he.spdAbt)==null?void 0:ye.spdOfUnder)+"%",1)):(e.openBlock(),e.createElementBlock("span",z9,"+"+e.toDisplayString((ge=(pe=(Ne=t.report)==null?void 0:Ne.extend)==null?void 0:pe.spdAbt)==null?void 0:ge.abt4SpdOver)+" , -"+e.toDisplayString((ke=(be=(xe=t.report)==null?void 0:xe.extend)==null?void 0:be.spdAbt)==null?void 0:ke.abt4SpdUnder),1))])):e.createCommentVNode("",!0)]),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(((Ce=(De=t.report)==null?void 0:De.cp)==null?void 0:Ce.fo)??"—"),1),t.report.useWeather?(e.openBlock(),e.createElementBlock("span",U9,[e.createTextVNode(" | "),(Pe=(Oe=(Fe=t.report)==null?void 0:Fe.extend)==null?void 0:Oe.foAbtCons)!=null&&Pe.percentage?(e.openBlock(),e.createElementBlock("span",Y9,"+"+e.toDisplayString((We=($e=(Le=t.report)==null?void 0:Le.extend)==null?void 0:$e.foAbtCons)==null?void 0:We.over)+"% , -"+e.toDisplayString((Ve=(Me=(He=t.report)==null?void 0:He.extend)==null?void 0:Me.foAbtCons)==null?void 0:Ve.under)+"%",1)):(e.openBlock(),e.createElementBlock("span",Z9,"+"+e.toDisplayString((Ke=(je=(Je=t.report)==null?void 0:Je.extend)==null?void 0:je.foAbtCons)==null?void 0:Ke.overTolerance)+" , -"+e.toDisplayString((Ue=(Se=(T=t.report)==null?void 0:T.extend)==null?void 0:Se.foAbtCons)==null?void 0:Ue.underTolerance),1))])):e.createCommentVNode("",!0)]),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(((qe=(Xe=t.report)==null?void 0:Xe.cp)==null?void 0:qe.dgo)??"—"),1),t.report.useWeather?(e.openBlock(),e.createElementBlock("span",Q9,[e.createTextVNode(" | "),(et=(ve=(ue=t.report)==null?void 0:ue.extend)==null?void 0:ve.dgoAbtCons)!=null&&et.percentage?(e.openBlock(),e.createElementBlock("span",J9,"+"+e.toDisplayString((Be=(W=(m=t.report)==null?void 0:m.extend)==null?void 0:W.dgoAbtCons)==null?void 0:Be.over)+"% , -"+e.toDisplayString((_e=(Ye=(Ge=t.report)==null?void 0:Ge.extend)==null?void 0:Ye.dgoAbtCons)==null?void 0:_e.under)+"%",1)):(e.openBlock(),e.createElementBlock("span",j9,"+"+e.toDisplayString((ot=(tt=(Ze=t.report)==null?void 0:Ze.extend)==null?void 0:tt.dgoAbtCons)==null?void 0:ot.overTolerance)+" , -"+e.toDisplayString((pt=(mt=(rt=t.report)==null?void 0:rt.extend)==null?void 0:mt.dgoAbtCons)==null?void 0:pt.underTolerance),1))])):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",K9,[e.createElementVNode("div",X9,[q9,e.createElementVNode("div",u9,[((ht=t.report)==null?void 0:ht.extraDist)<0?(e.openBlock(),e.createElementBlock("div",v9,[e6,e.createElementVNode("span",t6,e.toDisplayString(Math.abs((yt=t.report)==null?void 0:yt.extraDist)),1),o6])):((Nt=t.report)==null?void 0:Nt.extraDist)>=0?(e.openBlock(),e.createElementBlock("div",l6,[a6,e.createElementVNode("span",n6,e.toDisplayString(Math.abs((Vt=t.report)==null?void 0:Vt.extraDist)),1),s6])):(e.openBlock(),e.createElementBlock("div",c6,"N/A"))])]),e.createElementVNode("div",i6,[d6,e.createElementVNode("div",r6,[((gt=(ft=t.report)==null?void 0:ft.timeAnalysis)==null?void 0:gt.totalExtraTime)<0?(e.openBlock(),e.createElementBlock("div",m6,[p6,e.createElementVNode("span",h6,e.toDisplayString(Math.abs((bt=(xt=t.report)==null?void 0:xt.timeAnalysis)==null?void 0:bt.totalExtraTime)),1),_6])):((Dt=(kt=t.report)==null?void 0:kt.timeAnalysis)==null?void 0:Dt.totalExtraTime)>=0?(e.openBlock(),e.createElementBlock("div",E6,[y6,e.createElementVNode("span",N6,e.toDisplayString(Math.abs((St=(Ct=t.report)==null?void 0:Ct.timeAnalysis)==null?void 0:St.totalExtraTime)),1),V6])):(e.openBlock(),e.createElementBlock("div",f6,"N/A"))])]),e.createElementVNode("div",g6,[x6,e.createElementVNode("div",b6,[((Tt=(wt=(Bt=t.report)==null?void 0:Bt.consAnalysis)==null?void 0:wt.fo)==null?void 0:Tt.totalExtraCons)<0?(e.openBlock(),e.createElementBlock("div",k6,[D6,e.createElementVNode("span",C6,e.toDisplayString(Math.abs((Ot=(Ft=(At=t.report)==null?void 0:At.consAnalysis)==null?void 0:Ft.fo)==null?void 0:Ot.totalExtraCons)),1),S6])):(($t=(Lt=(Pt=t.report)==null?void 0:Pt.consAnalysis)==null?void 0:Lt.fo)==null?void 0:$t.totalExtraCons)>=0?(e.openBlock(),e.createElementBlock("div",B6,[w6,e.createElementVNode("span",T6,e.toDisplayString(Math.abs((ro=(io=(co=t.report)==null?void 0:co.consAnalysis)==null?void 0:io.fo)==null?void 0:ro.totalExtraCons)),1),A6])):(e.openBlock(),e.createElementBlock("div",F6,"N/A"))])]),e.createElementVNode("div",O6,[P6,e.createElementVNode("div",L6,[((ho=(po=(mo=t.report)==null?void 0:mo.consAnalysis)==null?void 0:po.dgo)==null?void 0:ho.totalExtraCons)<0?(e.openBlock(),e.createElementBlock("div",$6,[W6,e.createElementVNode("span",H6,e.toDisplayString(Math.abs((yo=(Eo=(_o=t.report)==null?void 0:_o.consAnalysis)==null?void 0:Eo.dgo)==null?void 0:yo.totalExtraCons)),1),M6])):((fo=(Vo=(No=t.report)==null?void 0:No.consAnalysis)==null?void 0:Vo.dgo)==null?void 0:fo.totalExtraCons)>=0?(e.openBlock(),e.createElementBlock("div",I6,[G6,e.createElementVNode("span",R6,e.toDisplayString(Math.abs((bo=(xo=(go=t.report)==null?void 0:go.consAnalysis)==null?void 0:xo.dgo)==null?void 0:bo.totalExtraCons)),1),z6])):(e.openBlock(),e.createElementBlock("div",U6,"N/A"))])])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(a.remarks)?"print-hidden":""])},[Y6,e.createElementVNode("div",Z6,[a.editable?(e.openBlock(),e.createElementBlock("div",Q6,[a.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=Q=>a.remarks=Q),class:"editor",height:"80px",onBlur:s[1]||(s[1]=Q=>n.handleCommit(Q))},null,8,["modelValue"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-block",onDblclick:s[2]||(s[2]=Q=>a.editable=!0)},[n.computeBlankHtml(a.remarks)?(e.openBlock(),e.createElementBlock("div",j6,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:a.remarks},null,8,J6))],32))])],2),e.createElementVNode("div",K6,[X6,((ko=t.report)==null?void 0:ko.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("table",q6,[u6,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[v6,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((Do=t.report)==null?void 0:Do.startLat,(S=t.report)==null?void 0:S.startLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Ie=t.report)==null?void 0:Ie.startTime)),1),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(lt=t.report)==null?void 0:lt.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=Q=>n.handleCommit("extra","startFoBrob",Q))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(at=t.report)==null?void 0:at.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=Q=>n.handleCommit("extra","startDgoBrob",Q))},null,8,["value"])]),ew,tw]),e.createElementVNode("tr",null,[ow,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((_t=t.report)==null?void 0:_t.endLat,(Wt=t.report)==null?void 0:Wt.endLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Ht=t.report)==null?void 0:Ht.endTime)),1),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Mt=t.report)==null?void 0:Mt.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=Q=>n.handleCommit("extra","endFoBrob",Q))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(It=t.report)==null?void 0:It.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=Q=>n.handleCommit("extra","endDgoBrob",Q))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Gt=t.report)==null?void 0:Gt.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=Q=>n.handleCommit("extra","endFoBunkering",Q))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Rt=t.report)==null?void 0:Rt.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[8]||(s[8]=Q=>n.handleCommit("extra","endDgoBunkering",Q))},null,8,["value"])])]),e.createElementVNode("tr",null,[lw,e.createElementVNode("td",null,e.toDisplayString((Ut=(zt=t.report)==null?void 0:zt.timeAnalysis)==null?void 0:Ut.actualTime)+" (hrs)",1),e.createElementVNode("td",null,e.toDisplayString((Qt=(Zt=(Yt=t.report)==null?void 0:Yt.consAnalysis)==null?void 0:Zt.fo)==null?void 0:Qt.actualCons),1),e.createElementVNode("td",null,e.toDisplayString((Kt=(jt=(Jt=t.report)==null?void 0:Jt.consAnalysis)==null?void 0:jt.dgo)==null?void 0:Kt.actualCons),1),aw])])])):(e.openBlock(),e.createElementBlock("table",nw,[sw,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[cw,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((Xt=t.report)==null?void 0:Xt.startLat,(qt=t.report)==null?void 0:qt.startLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((ut=t.report)==null?void 0:ut.startTime)),1)]),e.createElementVNode("tr",null,[iw,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((vt=t.report)==null?void 0:vt.endLat,(eo=t.report)==null?void 0:eo.endLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((to=t.report)==null?void 0:to.endTime)),1)])])]))]),((oo=t.report)==null?void 0:oo.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",dw,[e.createElementVNode("div",rw,[mw,e.createVNode(g,{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,[pw,hw,_w,Ew,yw,((lo=a.extraPortList)==null?void 0:lo.length)>0?(e.openBlock(),e.createElementBlock("th",Nw,"Activity")):e.createCommentVNode("",!0)]),Vw]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.extraPortList,(Q,so)=>{var ba,ka,Da,Ca,Sa,Ba,wa,Ta;return e.openBlock(),e.createElementBlock(e.Fragment,{key:so},[e.createElementVNode("tr",null,[e.createElementVNode("td",fw,[e.createVNode(p,{class:"editable-item",value:Q==null?void 0:Q.name,type:"remotePortSelect",size:"small",align:"center",options:a.portList,onSelect:n.fetchSuggestName,onCommit:Qe=>n.handleCommit("port","name",Qe,so)},null,8,["value","options","onSelect","onCommit"])]),gw,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(ba=Q==null?void 0:Q.arrival)==null?void 0:ba.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Qe=>n.handleCommit("port","arrival.date",Qe,so)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(ka=Q==null?void 0:Q.arrival)==null?void 0:ka.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","arrival.foBrob",Qe,so)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Da=Q==null?void 0:Q.arrival)==null?void 0:Da.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","arrival.dgoBrob",Qe,so)},null,8,["value","onCommit"])]),xw,bw,e.createElementVNode("td",kw,[e.createVNode(g,{size:"small",onClick:Qe=>n.handleRemove(so)},{default:e.withCtx(()=>[e.createTextVNode("Del")]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[Dw,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(Ca=Q==null?void 0:Q.departure)==null?void 0:Ca.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Qe=>n.handleCommit("port","departure.date",Qe,so)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Sa=Q==null?void 0:Q.departure)==null?void 0:Sa.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.foBrob",Qe,so)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Ba=Q==null?void 0:Q.departure)==null?void 0:Ba.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.dgoBrob",Qe,so)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(wa=Q==null?void 0:Q.departure)==null?void 0:wa.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.bunkeringFo",Qe,so)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Ta=Q==null?void 0:Q.departure)==null?void 0:Ta.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.bunkeringDgo",Qe,so)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[Cw,Sw,e.createElementVNode("td",null,e.toDisplayString(((no=(ao=t.report)==null?void 0:ao.timeAnalysis)==null?void 0:no.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Bo=(So=(Co=t.report)==null?void 0:Co.consAnalysis)==null?void 0:So.fo)==null?void 0:Bo.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Ao=(To=(wo=t.report)==null?void 0:wo.consAnalysis)==null?void 0:To.dgo)==null?void 0:Ao.portCons)??"—"),1),Bw,ww,((Fo=a.extraPortList)==null?void 0:Fo.length)>0?(e.openBlock(),e.createElementBlock("td",Tw)):e.createCommentVNode("",!0)])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",Aw,[Fw,e.createElementVNode("table",null,[Ow,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(Oo=t.report)==null?void 0:Oo.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[9]||(s[9]=Q=>n.handleCommit("report","actualDist",Q,o.index))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(Po=t.report)==null?void 0:Po.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[10]||(s[10]=Q=>n.handleCommit("report","priorDist",Q,o.index))},null,8,["value"])]),e.createElementVNode("td",null,e.toDisplayString(((Lo=t.report)==null?void 0:Lo.extraDist)??"—"),1)])])]),e.createElementVNode("div",Pw,[(($o=t.report)==null?void 0:$o.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",Lw,[e.createElementVNode("div",$w,[Ww,Hw,e.createElementVNode("div",Mw,[e.createElementVNode("div",Iw,[Gw,Rw,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",zw,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",Uw,"CP Speed"))])]),Yw,e.createElementVNode("div",Zw,[e.createElementVNode("div",Qw,[e.createElementVNode("div",null,e.toDisplayString((Wo=t.report)==null?void 0:Wo.extraDist),1),Jw,e.createElementVNode("div",null,e.toDisplayString((Mo=(Ho=t.report)==null?void 0:Ho.extend)==null?void 0:Mo.cpSpd),1)])]),jw,e.createElementVNode("div",Kw,e.toDisplayString((Go=(Io=t.report)==null?void 0:Io.timeAnalysis)==null?void 0:Go.sailingTime)+" (hrs)",1)]),e.createElementVNode("div",Xw,[qw,e.createElementVNode("div",uw,e.toDisplayString((zo=(Ro=t.report)==null?void 0:Ro.timeAnalysis)==null?void 0:zo.sailingTime),1),vw,e.createElementVNode("div",e7,e.toDisplayString(n.computeNum((Yo=(Uo=t.report)==null?void 0:Uo.timeAnalysis)==null?void 0:Yo.portTime)),1),t7,e.createElementVNode("div",o7,e.toDisplayString((Qo=(Zo=t.report)==null?void 0:Zo.timeAnalysis)==null?void 0:Qo.totalExtraTime)+" (hrs)",1)])])):(e.openBlock(),e.createElementBlock("div",l7,[e.createElementVNode("div",a7,[n7,s7,e.createElementVNode("div",c7,[e.createElementVNode("div",i7,[d7,r7,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",m7,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",p7,"CP Speed"))])]),h7,e.createElementVNode("div",_7,[e.createElementVNode("div",E7,[e.createElementVNode("div",null,e.toDisplayString((Ko=t.report)==null?void 0:Ko.priorDist),1),y7,e.createElementVNode("div",null,e.toDisplayString((qo=(Xo=t.report)==null?void 0:Xo.extend)==null?void 0:qo.cpSpd),1)])]),N7,e.createElementVNode("div",V7,e.toDisplayString((vo=(uo=t.report)==null?void 0:uo.timeAnalysis)==null?void 0:vo.sailingTime)+" (hrs)",1),f7,g7]),e.createElementVNode("div",x7,[b7,e.createElementVNode("div",k7,e.toDisplayString((tl=(el=t.report)==null?void 0:el.timeAnalysis)==null?void 0:tl.actualTime),1),D7,e.createElementVNode("div",C7,e.toDisplayString((ll=(ol=t.report)==null?void 0:ol.timeAnalysis)==null?void 0:ll.sailingTime),1),S7,e.createElementVNode("div",B7,e.toDisplayString((nl=(al=t.report)==null?void 0:al.timeAnalysis)==null?void 0:nl.totalExtraTime)+" (hrs)",1)])]))]),e.createElementVNode("div",w7,[((sl=t.report)==null?void 0:sl.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",T7,[e.createElementVNode("div",A7,[F7,O7,e.createElementVNode("div",P7,[e.createElementVNode("div",L7,[$7,W7,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",H7,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",M7,"CP Speed"))])]),I7,e.createElementVNode("div",G7,[e.createElementVNode("div",R7,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",z7,"Daily FO Consumption + About")):(e.openBlock(),e.createElementBlock("div",U7,"Daily FO Consumption")),Y7,Z7])]),Q7,e.createElementVNode("div",J7,[e.createElementVNode("div",j7,[e.createElementVNode("div",null,e.toDisplayString((cl=t.report)==null?void 0:cl.extraDist),1),K7,e.createElementVNode("div",null,e.toDisplayString((dl=(il=t.report)==null?void 0:il.extend)==null?void 0:dl.cpSpd),1)])]),X7,e.createElementVNode("div",q7,[e.createElementVNode("div",u7,[e.createElementVNode("div",null,e.toDisplayString((ml=(rl=t.report)==null?void 0:rl.extend)==null?void 0:ml.cpFoCons),1),v7,eT])]),tT,e.createElementVNode("div",oT,e.toDisplayString((_l=(hl=(ct=t.report)==null?void 0:ct.consAnalysis)==null?void 0:hl.fo)==null?void 0:_l.sailingCons)+" (mt)",1)]),e.createElementVNode("div",lT,[aT,e.createElementVNode("div",nT,e.toDisplayString((Nl=(yl=(El=t.report)==null?void 0:El.consAnalysis)==null?void 0:yl.fo)==null?void 0:Nl.sailingCons),1),sT,e.createElementVNode("div",cT,e.toDisplayString(n.computeNum((gl=(fl=(Vl=t.report)==null?void 0:Vl.consAnalysis)==null?void 0:fl.fo)==null?void 0:gl.portCons)),1),iT,e.createElementVNode("div",dT,e.toDisplayString((kl=(bl=(xl=t.report)==null?void 0:xl.consAnalysis)==null?void 0:bl.fo)==null?void 0:kl.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",gT,[e.createElementVNode("div",xT,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",bT,"Daily MGO Consumption + About")):(e.openBlock(),e.createElementBlock("div",kT,"Daily MGO Consumption")),DT,CT])]),ST,e.createElementVNode("div",BT,[e.createElementVNode("div",wT,[e.createElementVNode("div",null,e.toDisplayString((Dl=t.report)==null?void 0:Dl.extraDist),1),TT,e.createElementVNode("div",null,e.toDisplayString((Sl=(Cl=t.report)==null?void 0:Cl.extend)==null?void 0:Sl.cpSpd),1)])]),AT,e.createElementVNode("div",FT,[e.createElementVNode("div",OT,[e.createElementVNode("div",null,e.toDisplayString((wl=(Bl=t.report)==null?void 0:Bl.extend)==null?void 0:wl.cpDgoCons),1),PT,LT])]),$T,e.createElementVNode("div",WT,e.toDisplayString((Fl=(Al=(Tl=t.report)==null?void 0:Tl.consAnalysis)==null?void 0:Al.dgo)==null?void 0:Fl.sailingCons)+" (mt)",1)]),e.createElementVNode("div",HT,[MT,e.createElementVNode("div",IT,e.toDisplayString((Ll=(Pl=(Ol=t.report)==null?void 0:Ol.consAnalysis)==null?void 0:Pl.dgo)==null?void 0:Ll.sailingCons),1),GT,e.createElementVNode("div",RT,e.toDisplayString(n.computeNum((Hl=(Wl=($l=t.report)==null?void 0:$l.consAnalysis)==null?void 0:Wl.dgo)==null?void 0:Hl.portCons)),1),zT,e.createElementVNode("div",UT,e.toDisplayString((Gl=(Il=(Ml=t.report)==null?void 0:Ml.consAnalysis)==null?void 0:Il.dgo)==null?void 0:Gl.totalExtraCons)+" (mt)",1)])])):(e.openBlock(),e.createElementBlock("div",YT,[e.createElementVNode("div",ZT,[QT,JT,e.createElementVNode("div",jT,[e.createElementVNode("div",KT,[XT,qT,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",uT,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",vT,"CP Speed"))])]),eA,e.createElementVNode("div",tA,[e.createElementVNode("div",oA,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",lA,"CP Daily FO Consumption + About")):(e.openBlock(),e.createElementBlock("div",aA,"CP Daily FO Consumption")),nA,sA])]),cA,e.createElementVNode("div",iA,[e.createElementVNode("div",dA,[e.createElementVNode("div",null,e.toDisplayString((Rl=t.report)==null?void 0:Rl.priorDist),1),rA,e.createElementVNode("div",null,e.toDisplayString((Ul=(zl=t.report)==null?void 0:zl.extend)==null?void 0:Ul.cpSpd),1)])]),mA,e.createElementVNode("div",pA,[e.createElementVNode("div",hA,[e.createElementVNode("div",null,e.toDisplayString((Zl=(Yl=t.report)==null?void 0:Yl.extend)==null?void 0:Zl.cpFoCons),1),_A,EA])]),yA,e.createElementVNode("div",NA,e.toDisplayString((jl=(Jl=(Ql=t.report)==null?void 0:Ql.consAnalysis)==null?void 0:Jl.fo)==null?void 0:jl.sailingCons)+" (mt)",1)]),e.createElementVNode("div",VA,[fA,e.createElementVNode("div",gA,e.toDisplayString((ql=(Xl=(Kl=t.report)==null?void 0:Kl.consAnalysis)==null?void 0:Xl.fo)==null?void 0:ql.actualCons),1),xA,e.createElementVNode("div",bA,e.toDisplayString(n.computeNum((ea=(vl=(ul=t.report)==null?void 0:ul.consAnalysis)==null?void 0:vl.fo)==null?void 0:ea.sailingCons)),1),kA,e.createElementVNode("div",DA,e.toDisplayString((la=(oa=(ta=t.report)==null?void 0:ta.consAnalysis)==null?void 0:oa.fo)==null?void 0:la.totalExtraCons)+" (mt)",1)]),e.createElementVNode("div",CA,[SA,BA,e.createElementVNode("div",wA,[e.createElementVNode("div",TA,[AA,FA,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",OA,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",PA,"CP Speed"))])]),LA,e.createElementVNode("div",$A,[e.createElementVNode("div",WA,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",HA,"CP Daily MGO Consumption + About")):(e.openBlock(),e.createElementBlock("div",MA,"CP Daily MGO Consumption")),IA,GA])]),RA,e.createElementVNode("div",zA,[e.createElementVNode("div",UA,[e.createElementVNode("div",null,e.toDisplayString((aa=t.report)==null?void 0:aa.priorDist),1),YA,e.createElementVNode("div",null,e.toDisplayString((sa=(na=t.report)==null?void 0:na.extend)==null?void 0:sa.cpSpd),1)])]),ZA,e.createElementVNode("div",QA,[e.createElementVNode("div",JA,[e.createElementVNode("div",null,e.toDisplayString((ia=(ca=t.report)==null?void 0:ca.extend)==null?void 0:ia.cpDgoCons),1),jA,KA])]),XA,e.createElementVNode("div",qA,e.toDisplayString((ma=(ra=(da=t.report)==null?void 0:da.consAnalysis)==null?void 0:ra.dgo)==null?void 0:ma.sailingCons)+" (mt)",1)]),e.createElementVNode("div",uA,[vA,e.createElementVNode("div",eF,e.toDisplayString((_a=(ha=(pa=t.report)==null?void 0:pa.consAnalysis)==null?void 0:ha.dgo)==null?void 0:_a.actualCons),1),tF,e.createElementVNode("div",oF,e.toDisplayString((Na=(ya=(Ea=t.report)==null?void 0:Ea.consAnalysis)==null?void 0:ya.dgo)==null?void 0:Na.sailingCons),1),lF,e.createElementVNode("div",aF,e.toDisplayString((ga=(fa=(Va=t.report)==null?void 0:Va.consAnalysis)==null?void 0:fa.dgo)==null?void 0:ga.totalExtraCons)+" (mt)",1)])]))])]),e.createElementVNode("div",nF,[sF,e.createElementVNode("div",cF,[e.createElementVNode("img",{style:{width:"100%"},src:(xa=t.report)==null?void 0:xa.chartUrl,alt:""},null,8,iF),dF])])])])}const mc=we(r9,[["render",rF],["__scopeId","data-v-466ca2d5"]]),Jj="",mF={name:"FliDvtRpt",components:{CirclePlus:Xa.CirclePlus,Remove:Xa.Remove,EditableItem:rc,Editor:pl},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,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFT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+RaKX9C0qZznyVcg0pdKa6IY9Alh0Evpwo6Zt9bxbJ2nJf0PKKaXO6nknbkU6D83hkRJOViMBLdKUi9mJNC9Hk+D9jB9IrNEcqTXFAhbdS+4KimMjrk8zFcTFaFI/lcCieUHSE810Jr6Qv67F1NopHbJOzjBKpOkdilSIlShshpRXU+mluTCaS6NETkSaDqFEBDRBG6vMaNeTwbHIL0UOUJqQJS5FEQ3kI4uVrJEgq3AzTdNYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/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?`${X(o).utc().format(s)}`:"-"}},computedLngLat(){return function(o,s){const t=me.LngLatHelper.lat2pretty(o).pretty,r=me.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 Ja.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 Ja.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,g,x;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 Ja.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=(g=this.data)!=null&&g.comments?(x=this.data)==null?void 0:x.comments:void 0}else us.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},f=o=>(e.pushScopeId("data-v-eba493df"),o=o(),e.popScopeId(),o),pF={class:"deviation-report"},hF=f(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),_F={class:"report-header"},EF={class:"header-title",style:{position:"relative !important"}},yF={class:"header-title-content"},NF=f(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),VF={class:"title-date"},fF={class:"report-summary"},gF={class:"summary-item"},xF=f(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),bF={class:"flexL gray"},kF={class:"summary-item"},DF=f(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),CF={class:"flexL gray"},SF={class:"summary-item"},BF=f(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),wF={class:"flexL gray"},TF={class:"summary-item"},AF=f(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),FF={class:"flexL gray"},OF={class:"summary-item"},PF=f(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),LF={class:"flexL gray",style:{display:"flex"}},$F={class:"flex"},WF={class:"flexM"},HF={class:"summary-item"},MF=f(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),IF={class:"flexL gray",style:{display:"flex"}},GF={class:"flex"},RF={class:"flexM"},zF=f(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),UF={class:"report-summary"},YF={class:"summary-item"},ZF=f(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),QF={class:"summary-item"},JF=f(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),jF={class:"summary-item"},KF=f(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),XF={class:"summary-item"},qF=f(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),uF=f(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),vF={class:"report-map"},eO=["src"],tO=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),oO=f(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),lO={key:0,class:"subtitle"},aO={key:1,class:"report-summary"},nO=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),sO={class:"summary-item"},cO=f(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),iO={class:"blue center",style:{width:"20%"}},dO={class:"blue center",style:{width:"17%"}},rO={class:"flex blue center"},mO={class:"flex blue center"},pO=f(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),hO=f(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),_O={class:"summary-item"},EO=f(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),yO={class:"blue center",style:{width:"20%"}},NO={class:"blue center",style:{width:"17%"}},VO={class:"flex blue center"},fO={class:"flex blue center"},gO={class:"flex blue center"},xO={class:"flex blue center"},bO={class:"summary-item"},kO=f(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),DO=f(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),CO={class:"blue center",style:{width:"17%"}},SO={class:"flex blue center"},BO={class:"flex blue center"},wO=f(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),TO=f(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),AO=f(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),FO={class:"report-summary"},OO={class:"summary-item"},PO=f(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),LO={class:"flexL blue center"},$O={class:"summary-item"},WO=f(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),HO={class:"flexL blue center"},MO={class:"summary-item"},IO=f(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),GO={class:"flexL blue center"},RO={class:"subtitle port"},zO=f(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),UO={class:"print-hidden"},YO={class:"report-port"},ZO=f(()=>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)),QO={rowspan:2},JO=f(()=>e.createElementVNode("td",null,"Arrival",-1)),jO=f(()=>e.createElementVNode("td",null,null,-1)),KO=f(()=>e.createElementVNode("td",null,null,-1)),XO={rowspan:2,class:"print-hidden"},qO=f(()=>e.createElementVNode("td",null,"Departure",-1)),uO=f(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),vO=f(()=>e.createElementVNode("td",null,null,-1)),eP=f(()=>e.createElementVNode("td",null,null,-1)),tP=f(()=>e.createElementVNode("td",null,null,-1)),oP=f(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),lP=f(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),aP={class:"report-summary"},nP=f(()=>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)),sP={class:"summary-item"},cP=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),iP={class:"flex blue center"},dP={class:"flex blue center"},rP={class:"summary-item"},mP=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),pP={class:"flex blue center"},hP=f(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),_P={key:2,class:"report-formular"},EP={class:"equation"},yP=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),NP={class:"function",style:{width:"20%"}},VP=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),fP=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),gP={style:{width:"10%"}},xP=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),bP={class:"equation"},kP=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%"}},CP=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),SP={style:{width:"8%"}},BP=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),wP={style:{width:"4%"}},TP=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),AP={key:3,class:"report-formular"},FP={class:"equation"},OP=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),PP={class:"function",style:{width:"20%"}},LP=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$P=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),WP={style:{width:"10%"}},HP=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),MP={key:0,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: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),GP={style:{width:"5%"}},RP=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),zP={style:{width:"5%"}},UP=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),YP={style:{width:"5%"}},ZP=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),QP={key:1,class:"equation"},JP=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),jP={style:{width:"5%"}},KP=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),XP={style:{width:"5%"}},qP=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),uP={style:{width:"5%"}},vP=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),eL={style:{width:"5%"}},tL=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),oL={key:4,class:"report-summary"},lL={class:"summary-item"},aL=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),nL={class:"flex blue center"},sL={class:"summary-item"},cL=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),iL={class:"flex blue center"},dL={class:"summary-item"},rL=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),mL={class:"flex blue center"},pL={key:5,class:"report-summary"},hL={class:"summary-item"},_L=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),EL={class:"flex blue center"},yL={class:"summary-item"},NL=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),VL={class:"flex blue center"},fL={key:0,class:"summary-item"},gL=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),xL={class:"flex blue center"},bL={class:"summary-item"},kL=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),DL={class:"flex blue center"},CL=f(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),SL={key:6,class:"report-formular"},BL={class:"equation"},wL=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),TL={class:"function",style:{width:"5%"}},AL=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),FL=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),OL={class:"function",style:{width:"5%"}},PL=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),LL=f(()=>e.createElementVNode("div",null,"24",-1)),$L=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),WL={style:{width:"5%"}},HL=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),ML={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 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),GL={style:{width:"5%"}},RL=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),zL={style:{width:"5%"}},UL=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),YL={style:{width:"5%"}},ZL=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),QL={class:"equation"},JL=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),jL={class:"function",style:{width:"5%"}},KL=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),XL=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),qL={class:"function",style:{width:"5%"}},uL=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),vL=f(()=>e.createElementVNode("div",null,"24",-1)),e$=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),t$={style:{width:"5%"}},o$=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),l$={class:"equation"},a$=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),n$={style:{width:"5%"}},s$=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),c$={style:{width:"5%"}},i$=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),d$={style:{width:"5%"}},r$=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),m$={key:7,class:"report-formular"},p$={class:"equation"},h$=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),_$={class:"function",style:{width:"5%"}},E$=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),y$=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),N$={class:"function",style:{width:"5%"}},V$=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),f$=f(()=>e.createElementVNode("div",null,"24",-1)),g$=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),x$={style:{width:"5%"}},b$=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),k$={class:"equation"},D$=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),C$={class:"function",style:{width:"5%"}},S$=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),B$=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),w$={class:"function",style:{width:"5%"}},T$=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),A$=f(()=>e.createElementVNode("div",null,"24",-1)),F$=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),O$={style:{width:"5%"}},P$=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),L$={key:0,class:"equation"},$$=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),W$={style:{width:"5%"}},H$=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),M$={style:{width:"5%"}},I$=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),G$={style:{width:"5%"}},R$=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),z$={key:1,class:"equation"},U$=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),Y$={style:{width:"5%"}},Z$=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),Q$={style:{width:"5%"}},J$=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),j$={style:{width:"5%"}},K$=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),X$={style:{width:"5%"}},q$=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),u$={key:2,class:"equation"},v$=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),eW={style:{width:"5%"}},tW=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),oW={style:{width:"5%"}},lW=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),aW={style:{width:"5%"}},nW=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),sW={key:3,class:"equation"},cW=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),iW={style:{width:"5%"}},dW=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),rW={style:{width:"5%"}},mW=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),pW={style:{width:"5%"}},hW=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),_W={style:{width:"5%"}},EW=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),yW={key:8,class:"report-summary"},NW=f(()=>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)),VW={class:"summary-item"},fW=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),gW={class:"flex blue center"},xW={class:"flex blue center"},bW={class:"summary-item"},kW=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),DW={class:"flex blue center"},CW={class:"flex blue center"},SW={class:"summary-item"},BW=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),wW={key:9,class:"report-summary"},TW=f(()=>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)),AW={class:"summary-item"},FW=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),OW={class:"flex blue center"},PW={class:"flex blue center"},LW={class:"summary-item"},$W=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),WW={class:"flex blue center"},HW={class:"flex blue center"},MW={key:0,class:"summary-item"},IW=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),GW={class:"flex blue center"},RW={class:"flex blue center"},zW={class:"summary-item"},UW=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),YW=["innerHTML"];function ZW(o,s,t,r,a,n){var h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,M,J,Y,j,se,ce,l,q,ee,te,oe,le,ae,ie,de,re,Ee,u,he,ye,Ne,pe,ge,xe,be,ke,De,Ce,Fe,Oe,Pe,Le,$e,We,He,Me,Ve,Je,je,Ke,T,Se,Ue,Xe,qe,ue,ve,et,m,W,Be,Ge,Ye,_e,Ze,tt,ot,rt,mt,pt,ht,yt,Nt,Vt,ft,gt,xt,bt,kt,Dt,Ct,St,Bt,wt,Tt,At,Ft,Ot,Pt,Lt,$t,co,io,ro,mo,po,ho,_o,Eo,yo,No,Vo,fo,go,xo,bo,ko,Do,S,Ie,lt,at,_t,Wt,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,jt,Kt,Xt,qt,ut,vt,eo,to,oo,lo,ao,no,Co,So,Bo,wo,To,Ao,Fo,Oo,Po,Lo,$o,Wo,Ho,Mo,Io,Go,Ro,zo,Uo,Yo,Zo,Qo,Ko,Xo,qo,uo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl,ml,ct,hl,_l,El,yl,Nl,Vl,fl,gl,xl,bl,kl,Dl,Cl,Sl,Bl,wl,Tl,Al,Fl,Ol,Pl,Ll,$l,Wl,Hl,Ml,Il,Gl,Rl,zl,Ul,Yl,Zl,Ql,Jl,jl,Kl,Xl,ql,ul,vl,ea,ta,oa,la,aa,na,sa,ca,ia,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ga,xa,Q,so,ba,ka,Da,Ca,Sa,Ba,wa,Ta,Qe,Pa,La,$a,Wa;const E=e.resolveComponent("EditableItem"),c=e.resolveComponent("CirclePlus"),p=e.resolveComponent("ElIcon"),g=e.resolveComponent("Remove"),x=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",pF,[hF,e.createElementVNode("div",_F,[e.createElementVNode("div",EF,[e.createElementVNode("div",yF,[NF,e.createElementVNode("div",VF,e.toDisplayString(n.computeUTCTime((h=a.extraData)==null?void 0:h.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",fF,[e.createElementVNode("div",gF,[xF,e.createElementVNode("div",bF,e.toDisplayString((D=(N=a.extraData)==null?void 0:N.vessel)==null?void 0:D.name),1)]),e.createElementVNode("div",kF,[DF,e.createElementVNode("div",CF,e.toDisplayString((b=a.extraData)==null?void 0:b.preparedFor),1)]),e.createElementVNode("div",SF,[BF,e.createElementVNode("div",wF,e.toDisplayString((k=(C=a.extraData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("div",TF,[AF,e.createElementVNode("div",FF,e.toDisplayString((F=(A=a.extraData)==null?void 0:A.voyage)==null?void 0:F.number),1)]),e.createElementVNode("div",OF,[PF,e.createElementVNode("div",LF,[e.createElementVNode("span",$F,e.toDisplayString((w=(B=a.extraData)==null?void 0:B.departure)==null?void 0:w.name),1),e.createElementVNode("span",WF,e.toDisplayString(n.computeUTCTime(((O=(V=a.extraData)==null?void 0:V.departure)==null?void 0:O.atd)||((R=(G=a.extraData)==null?void 0:G.departure)==null?void 0:R.etd))),1)])]),e.createElementVNode("div",HF,[MF,e.createElementVNode("div",IF,[e.createElementVNode("span",GF,e.toDisplayString((U=(z=a.extraData)==null?void 0:z.arrival)==null?void 0:U.name),1),e.createElementVNode("span",RF,e.toDisplayString(n.computeUTCTime(((L=(_=a.extraData)==null?void 0:_.arrival)==null?void 0:L.ata)||(($=(H=a.extraData)==null?void 0:H.arrival)==null?void 0:$.eta))),1)])])]),zF,e.createElementVNode("div",UF,[e.createElementVNode("div",YF,[ZF,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",QF,[JF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Y=(J=a.extraData)==null?void 0:J.timeAnalysis)==null?void 0:Y.totalExtraTime)} flex blue`)},e.toDisplayString(((se=(j=a.extraData)==null?void 0:j.timeAnalysis)==null?void 0:se.totalExtraTime)??"—"),3)]),e.createElementVNode("div",jF,[KF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((q=(l=(ce=a.extraData)==null?void 0:ce.consAnalysis)==null?void 0:l.fo)==null?void 0:q.totalExtraCons)} flex blue`)},e.toDisplayString(((oe=(te=(ee=a.extraData)==null?void 0:ee.consAnalysis)==null?void 0:te.fo)==null?void 0:oe.totalExtraCons)??"—"),3)]),e.createElementVNode("div",XF,[qF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ie=(ae=(le=a.extraData)==null?void 0:le.consAnalysis)==null?void 0:ae.dgo)==null?void 0:ie.totalExtraCons)} flex blue`)},e.toDisplayString(((Ee=(re=(de=a.extraData)==null?void 0:de.consAnalysis)==null?void 0:re.dgo)==null?void 0:Ee.totalExtraCons)??"—"),3)])]),uF,e.createElementVNode("div",vF,[e.createElementVNode("img",{style:{width:"100%"},src:(u=a.extraData)==null?void 0:u.chartUrl,alt:""},null,8,eO),tO]),oO,o.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",lO,"Diversion Information")),o.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",aO,[nO,e.createElementVNode("div",sO,[cO,e.createElementVNode("div",iO,e.toDisplayString(n.computedLngLat((he=a.extraData)==null?void 0:he.startLng,(ye=a.extraData)==null?void 0:ye.startLat)),1),e.createElementVNode("div",dO,e.toDisplayString(n.computeUTCTime((Ne=a.extraData)==null?void 0:Ne.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",rO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(pe=a.extraData)==null?void 0:pe.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",mO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(ge=a.extraData)==null?void 0:ge.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[1]||(s[1]=K=>n.handleCommit("extra","startDgoBrob",K))},null,8,["value"])]),pO,hO]),e.createElementVNode("div",_O,[EO,e.createElementVNode("div",yO,e.toDisplayString(n.computedLngLat((xe=a.extraData)==null?void 0:xe.endLng,(be=a.extraData)==null?void 0:be.endLat)),1),e.createElementVNode("div",NO,e.toDisplayString(n.computeUTCTime((ke=a.extraData)==null?void 0:ke.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",VO,[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]=K=>n.handleCommit("extra","endFoBrob",K))},null,8,["value"])]),e.createElementVNode("div",fO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Ce=a.extraData)==null?void 0:Ce.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",gO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Fe=a.extraData)==null?void 0:Fe.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",xO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Oe=a.extraData)==null?void 0:Oe.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",bO,[kO,DO,e.createElementVNode("div",CO,e.toDisplayString(((Le=(Pe=a.extraData)==null?void 0:Pe.timeAnalysis)==null?void 0:Le.actualTime)??"—"),1),e.createElementVNode("div",SO,e.toDisplayString(((He=(We=($e=a.extraData)==null?void 0:$e.consAnalysis)==null?void 0:We.fo)==null?void 0:He.actualCons)??"—"),1),e.createElementVNode("div",BO,e.toDisplayString(((Je=(Ve=(Me=a.extraData)==null?void 0:Me.consAnalysis)==null?void 0:Ve.dgo)==null?void 0:Je.actualCons)??"—"),1),wO,TO])])),AO,e.createElementVNode("div",FO,[e.createElementVNode("div",OO,[PO,e.createElementVNode("div",LO,e.toDisplayString(((Ke=(je=a.extraData)==null?void 0:je.cp)==null?void 0:Ke.speed)??"—"),1)]),e.createElementVNode("div",$O,[WO,e.createElementVNode("div",HO,e.toDisplayString(((Se=(T=a.extraData)==null?void 0:T.cp)==null?void 0:Se.fo)??"—"),1)]),e.createElementVNode("div",MO,[IO,e.createElementVNode("div",GO,e.toDisplayString(((Xe=(Ue=a.extraData)==null?void 0:Ue.cp)==null?void 0:Xe.dgo)??"—"),1)])]),e.createElementVNode("div",RO,[zO,e.createElementVNode("div",UO,[e.createVNode(p,{size:20,onClick:n.handleAdd},{default:e.withCtx(()=>[e.createVNode(c)]),_:1},8,["onClick"])])]),e.createElementVNode("div",YO,[e.createElementVNode("table",null,[ZO,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.extraPortList,(K,Jo)=>{var Ha,Ma,Ia,Ga,Ra,za,Ua,Ya;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Jo},[e.createElementVNode("tr",null,[e.createElementVNode("td",QO,[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:it=>n.handleCommit("port","name",it,Jo)},null,8,["value","options","onSelect","onCommit"])]),JO,e.createElementVNode("td",null,[e.createVNode(E,{class:"check editable-item",value:(Ha=K==null?void 0:K.arrival)==null?void 0:Ha.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:it=>n.handleCommit("port","arrival.date",it,Jo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ma=K==null?void 0:K.arrival)==null?void 0:Ma.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:it=>n.handleCommit("port","arrival.foBrob",it,Jo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ia=K==null?void 0:K.arrival)==null?void 0:Ia.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:it=>n.handleCommit("port","arrival.dgoBrob",it,Jo)},null,8,["value","onCommit"])]),jO,KO,e.createElementVNode("td",XO,[e.createVNode(p,{size:20,onClick:it=>n.handleRemove(Jo)},{default:e.withCtx(()=>[e.createVNode(g)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[qO,e.createElementVNode("td",null,[e.createVNode(E,{class:"check editable-item",value:(Ga=K==null?void 0:K.departure)==null?void 0:Ga.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:it=>n.handleCommit("port","departure.date",it,Jo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ra=K==null?void 0:K.departure)==null?void 0:Ra.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:it=>n.handleCommit("port","departure.foBrob",it,Jo)},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.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:it=>n.handleCommit("port","departure.dgoBrob",it,Jo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ua=K==null?void 0:K.departure)==null?void 0:Ua.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:it=>n.handleCommit("port","departure.bunkeringFo",it,Jo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ya=K==null?void 0:K.departure)==null?void 0:Ya.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:it=>n.handleCommit("port","departure.bunkeringDgo",it,Jo)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[uO,vO,e.createElementVNode("td",null,e.toDisplayString(((ue=(qe=a.extraData)==null?void 0:qe.timeAnalysis)==null?void 0:ue.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(et=(ve=a.extraData)==null?void 0:ve.consAnalysis)==null?void 0:et.fo)==null?void 0:m.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Ge=(Be=(W=a.extraData)==null?void 0:W.consAnalysis)==null?void 0:Be.dgo)==null?void 0:Ge.portCons)??"—"),1),eP,tP,oP])])])]),lP,e.createElementVNode("div",aP,[nP,e.createElementVNode("div",sP,[cP,e.createElementVNode("div",iP,[e.createVNode(E,{class:"editable-item",style:{padding:"0px"},value:(Ye=a.extraData)==null?void 0:Ye.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",dP,[e.createVNode(E,{class:"editable-item",style:{padding:"0px"},value:(_e=a.extraData)==null?void 0:_e.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",rP,[mP,e.createElementVNode("div",pP,e.toDisplayString(((Ze=a.extraData)==null?void 0:Ze.extraDist)??"—"),1)])]),hP,o.isDistExtra?(e.openBlock(),e.createElementBlock("div",_P,[e.createElementVNode("div",EP,[yP,e.createElementVNode("div",NP,[e.createElementVNode("div",null,e.toDisplayString((tt=a.extraData)==null?void 0:tt.extraDist),1),VP,e.createElementVNode("div",null,e.toDisplayString((rt=(ot=a.extraData)==null?void 0:ot.cp)==null?void 0:rt.speed),1)]),fP,e.createElementVNode("div",gP,e.toDisplayString((pt=(mt=a.extraData)==null?void 0:mt.timeAnalysis)==null?void 0:pt.sailingTime),1),xP]),e.createElementVNode("div",bP,[kP,e.createElementVNode("div",DP,e.toDisplayString((yt=(ht=a.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:yt.sailingTime),1),CP,e.createElementVNode("div",SP,e.toDisplayString(n.computeNum((Vt=(Nt=a.extraData)==null?void 0:Nt.timeAnalysis)==null?void 0:Vt.portTime)),1),BP,e.createElementVNode("div",wP,e.toDisplayString((gt=(ft=a.extraData)==null?void 0:ft.timeAnalysis)==null?void 0:gt.totalExtraTime),1),TP])])):(e.openBlock(),e.createElementBlock("div",AP,[e.createElementVNode("div",FP,[OP,e.createElementVNode("div",PP,[e.createElementVNode("div",null,e.toDisplayString((xt=a.extraData)==null?void 0:xt.priorDist),1),LP,e.createElementVNode("div",null,e.toDisplayString((kt=(bt=a.extraData)==null?void 0:bt.cp)==null?void 0:kt.speed),1)]),$P,e.createElementVNode("div",WP,e.toDisplayString((Ct=(Dt=a.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:Ct.sailingTime),1),HP]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",MP,[IP,e.createElementVNode("div",GP,e.toDisplayString((Bt=(St=a.extraData)==null?void 0:St.timeAnalysis)==null?void 0:Bt.actualTime),1),RP,e.createElementVNode("div",zP,e.toDisplayString((Tt=(wt=a.extraData)==null?void 0:wt.timeAnalysis)==null?void 0:Tt.sailingTime),1),UP,e.createElementVNode("div",YP,e.toDisplayString((Ft=(At=a.extraData)==null?void 0:At.timeAnalysis)==null?void 0:Ft.totalExtraTime),1),ZP])):(e.openBlock(),e.createElementBlock("div",QP,[JP,e.createElementVNode("div",jP,e.toDisplayString((Pt=(Ot=a.extraData)==null?void 0:Ot.timeAnalysis)==null?void 0:Pt.actualTime),1),KP,e.createElementVNode("div",XP,e.toDisplayString(($t=(Lt=a.extraData)==null?void 0:Lt.timeAnalysis)==null?void 0:$t.sailingTime),1),qP,e.createElementVNode("div",uP,e.toDisplayString((io=(co=a.extraData)==null?void 0:co.timeAnalysis)==null?void 0:io.portTime),1),vP,e.createElementVNode("div",eL,e.toDisplayString((mo=(ro=a.extraData)==null?void 0:ro.timeAnalysis)==null?void 0:mo.totalExtraTime),1),tL]))])),o.isDistExtra?(e.openBlock(),e.createElementBlock("div",oL,[e.createElementVNode("div",lL,[aL,e.createElementVNode("div",nL,e.toDisplayString(((ho=(po=a.extraData)==null?void 0:po.timeAnalysis)==null?void 0:ho.sailingTime)??"—"),1)]),e.createElementVNode("div",sL,[cL,e.createElementVNode("div",iL,e.toDisplayString(((Eo=(_o=a.extraData)==null?void 0:_o.timeAnalysis)==null?void 0:Eo.portTime)??"—"),1)]),e.createElementVNode("div",dL,[rL,e.createElementVNode("div",mL,e.toDisplayString(((No=(yo=a.extraData)==null?void 0:yo.timeAnalysis)==null?void 0:No.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",pL,[e.createElementVNode("div",hL,[_L,e.createElementVNode("div",EL,e.toDisplayString((fo=(Vo=a.extraData)==null?void 0:Vo.timeAnalysis)==null?void 0:fo.sailingTime),1)]),e.createElementVNode("div",yL,[NL,e.createElementVNode("div",VL,e.toDisplayString((xo=(go=a.extraData)==null?void 0:go.timeAnalysis)==null?void 0:xo.actualTime),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",fL,[gL,e.createElementVNode("div",xL,e.toDisplayString(((ko=(bo=a.extraData)==null?void 0:bo.timeAnalysis)==null?void 0:ko.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",bL,[kL,e.createElementVNode("div",DL,e.toDisplayString((S=(Do=a.extraData)==null?void 0:Do.timeAnalysis)==null?void 0:S.totalExtraTime),1)])])),CL,o.isDistExtra?(e.openBlock(),e.createElementBlock("div",SL,[e.createElementVNode("div",BL,[wL,e.createElementVNode("div",TL,[e.createElementVNode("div",null,e.toDisplayString((Ie=a.extraData)==null?void 0:Ie.extraDist),1),AL,e.createElementVNode("div",null,e.toDisplayString((at=(lt=a.extraData)==null?void 0:lt.cp)==null?void 0:at.speed),1)]),FL,e.createElementVNode("div",OL,[e.createElementVNode("div",null,e.toDisplayString((Wt=(_t=a.extraData)==null?void 0:_t.cp)==null?void 0:Wt.fo),1),PL,LL]),$L,e.createElementVNode("div",WL,e.toDisplayString((It=(Mt=(Ht=a.extraData)==null?void 0:Ht.consAnalysis)==null?void 0:Mt.fo)==null?void 0:It.sailingCons),1),HL]),e.createElementVNode("div",ML,[IL,e.createElementVNode("div",GL,e.toDisplayString((zt=(Rt=(Gt=a.extraData)==null?void 0:Gt.consAnalysis)==null?void 0:Rt.fo)==null?void 0:zt.sailingCons),1),RL,e.createElementVNode("div",zL,e.toDisplayString(n.computeNum((Zt=(Yt=(Ut=a.extraData)==null?void 0:Ut.consAnalysis)==null?void 0:Yt.fo)==null?void 0:Zt.portCons)),1),UL,e.createElementVNode("div",YL,e.toDisplayString((jt=(Jt=(Qt=a.extraData)==null?void 0:Qt.consAnalysis)==null?void 0:Jt.fo)==null?void 0:jt.totalExtraCons),1),ZL]),e.createElementVNode("div",QL,[JL,e.createElementVNode("div",jL,[e.createElementVNode("div",null,e.toDisplayString((Kt=a.extraData)==null?void 0:Kt.extraDist),1),KL,e.createElementVNode("div",null,e.toDisplayString((qt=(Xt=a.extraData)==null?void 0:Xt.cp)==null?void 0:qt.speed),1)]),XL,e.createElementVNode("div",qL,[e.createElementVNode("div",null,e.toDisplayString((vt=(ut=a.extraData)==null?void 0:ut.cp)==null?void 0:vt.dgo),1),uL,vL]),e$,e.createElementVNode("div",t$,e.toDisplayString((oo=(to=(eo=a.extraData)==null?void 0:eo.consAnalysis)==null?void 0:to.dgo)==null?void 0:oo.sailingCons),1),o$]),e.createElementVNode("div",l$,[a$,e.createElementVNode("div",n$,e.toDisplayString((no=(ao=(lo=a.extraData)==null?void 0:lo.consAnalysis)==null?void 0:ao.dgo)==null?void 0:no.sailingCons),1),s$,e.createElementVNode("div",c$,e.toDisplayString(n.computeNum((Bo=(So=(Co=a.extraData)==null?void 0:Co.consAnalysis)==null?void 0:So.dgo)==null?void 0:Bo.portCons)),1),i$,e.createElementVNode("div",d$,e.toDisplayString((Ao=(To=(wo=a.extraData)==null?void 0:wo.consAnalysis)==null?void 0:To.dgo)==null?void 0:Ao.totalExtraCons),1),r$])])):(e.openBlock(),e.createElementBlock("div",m$,[e.createElementVNode("div",p$,[h$,e.createElementVNode("div",_$,[e.createElementVNode("div",null,e.toDisplayString((Fo=a.extraData)==null?void 0:Fo.priorDist),1),E$,e.createElementVNode("div",null,e.toDisplayString((Po=(Oo=a.extraData)==null?void 0:Oo.cp)==null?void 0:Po.speed),1)]),y$,e.createElementVNode("div",N$,[e.createElementVNode("div",null,e.toDisplayString(($o=(Lo=a.extraData)==null?void 0:Lo.cp)==null?void 0:$o.fo),1),V$,f$]),g$,e.createElementVNode("div",x$,e.toDisplayString((Mo=(Ho=(Wo=a.extraData)==null?void 0:Wo.consAnalysis)==null?void 0:Ho.fo)==null?void 0:Mo.sailingCons),1),b$]),e.createElementVNode("div",k$,[D$,e.createElementVNode("div",C$,[e.createElementVNode("div",null,e.toDisplayString((Io=a.extraData)==null?void 0:Io.priorDist),1),S$,e.createElementVNode("div",null,e.toDisplayString((Ro=(Go=a.extraData)==null?void 0:Go.cp)==null?void 0:Ro.speed),1)]),B$,e.createElementVNode("div",w$,[e.createElementVNode("div",null,e.toDisplayString((Uo=(zo=a.extraData)==null?void 0:zo.cp)==null?void 0:Uo.dgo),1),T$,A$]),F$,e.createElementVNode("div",O$,e.toDisplayString((Qo=(Zo=(Yo=a.extraData)==null?void 0:Yo.consAnalysis)==null?void 0:Zo.dgo)==null?void 0:Qo.sailingCons),1),P$]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",L$,[$$,e.createElementVNode("div",W$,e.toDisplayString((qo=(Xo=(Ko=a.extraData)==null?void 0:Ko.consAnalysis)==null?void 0:Xo.fo)==null?void 0:qo.actualCons),1),H$,e.createElementVNode("div",M$,e.toDisplayString(n.computeNum((el=(vo=(uo=a.extraData)==null?void 0:uo.consAnalysis)==null?void 0:vo.fo)==null?void 0:el.sailingCons)),1),I$,e.createElementVNode("div",G$,e.toDisplayString((ll=(ol=(tl=a.extraData)==null?void 0:tl.consAnalysis)==null?void 0:ol.fo)==null?void 0:ll.totalExtraCons),1),R$])):(e.openBlock(),e.createElementBlock("div",z$,[U$,e.createElementVNode("div",Y$,e.toDisplayString((sl=(nl=(al=a.extraData)==null?void 0:al.consAnalysis)==null?void 0:nl.fo)==null?void 0:sl.actualCons),1),Z$,e.createElementVNode("div",Q$,e.toDisplayString(n.computeNum((dl=(il=(cl=a.extraData)==null?void 0:cl.consAnalysis)==null?void 0:il.fo)==null?void 0:dl.sailingCons)),1),J$,e.createElementVNode("div",j$,e.toDisplayString(n.computeNum((ct=(ml=(rl=a.extraData)==null?void 0:rl.consAnalysis)==null?void 0:ml.fo)==null?void 0:ct.portCons)),1),K$,e.createElementVNode("div",X$,e.toDisplayString((El=(_l=(hl=a.extraData)==null?void 0:hl.consAnalysis)==null?void 0:_l.fo)==null?void 0:El.totalExtraCons),1),q$])),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",u$,[v$,e.createElementVNode("div",eW,e.toDisplayString((Vl=(Nl=(yl=a.extraData)==null?void 0:yl.consAnalysis)==null?void 0:Nl.dgo)==null?void 0:Vl.actualCons),1),tW,e.createElementVNode("div",oW,e.toDisplayString((xl=(gl=(fl=a.extraData)==null?void 0:fl.consAnalysis)==null?void 0:gl.dgo)==null?void 0:xl.sailingCons),1),lW,e.createElementVNode("div",aW,e.toDisplayString((Dl=(kl=(bl=a.extraData)==null?void 0:bl.consAnalysis)==null?void 0:kl.dgo)==null?void 0:Dl.totalExtraCons),1),nW])):(e.openBlock(),e.createElementBlock("div",sW,[cW,e.createElementVNode("div",iW,e.toDisplayString((Bl=(Sl=(Cl=a.extraData)==null?void 0:Cl.consAnalysis)==null?void 0:Sl.dgo)==null?void 0:Bl.actualCons),1),dW,e.createElementVNode("div",rW,e.toDisplayString(n.computeNum((Al=(Tl=(wl=a.extraData)==null?void 0:wl.consAnalysis)==null?void 0:Tl.dgo)==null?void 0:Al.sailingCons)),1),mW,e.createElementVNode("div",pW,e.toDisplayString(n.computeNum((Pl=(Ol=(Fl=a.extraData)==null?void 0:Fl.consAnalysis)==null?void 0:Ol.dgo)==null?void 0:Pl.portCons)),1),hW,e.createElementVNode("div",_W,e.toDisplayString((Wl=($l=(Ll=a.extraData)==null?void 0:Ll.consAnalysis)==null?void 0:$l.dgo)==null?void 0:Wl.totalExtraCons),1),EW]))])),o.isDistExtra?(e.openBlock(),e.createElementBlock("div",yW,[NW,e.createElementVNode("div",VW,[fW,e.createElementVNode("div",gW,e.toDisplayString(((Il=(Ml=(Hl=a.extraData)==null?void 0:Hl.consAnalysis)==null?void 0:Ml.fo)==null?void 0:Il.sailingCons)??"—"),1),e.createElementVNode("div",xW,e.toDisplayString(((zl=(Rl=(Gl=a.extraData)==null?void 0:Gl.consAnalysis)==null?void 0:Rl.dgo)==null?void 0:zl.sailingCons)??"—"),1)]),e.createElementVNode("div",bW,[kW,e.createElementVNode("div",DW,e.toDisplayString(((Zl=(Yl=(Ul=a.extraData)==null?void 0:Ul.consAnalysis)==null?void 0:Yl.fo)==null?void 0:Zl.portCons)??"—"),1),e.createElementVNode("div",CW,e.toDisplayString(((jl=(Jl=(Ql=a.extraData)==null?void 0:Ql.consAnalysis)==null?void 0:Jl.dgo)==null?void 0:jl.portCons)??"—"),1)]),e.createElementVNode("div",SW,[BW,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ql=(Xl=(Kl=a.extraData)==null?void 0:Kl.consAnalysis)==null?void 0:Xl.fo)==null?void 0:ql.totalExtraCons)} flex blue center`)},e.toDisplayString(((ea=(vl=(ul=a.extraData)==null?void 0:ul.consAnalysis)==null?void 0:vl.fo)==null?void 0:ea.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((la=(oa=(ta=a.extraData)==null?void 0:ta.consAnalysis)==null?void 0:oa.dgo)==null?void 0:la.totalExtraCons)} flex blue center`)},e.toDisplayString(((sa=(na=(aa=a.extraData)==null?void 0:aa.consAnalysis)==null?void 0:na.dgo)==null?void 0:sa.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",wW,[TW,e.createElementVNode("div",AW,[FW,e.createElementVNode("div",OW,e.toDisplayString((da=(ia=(ca=a.extraData)==null?void 0:ca.consAnalysis)==null?void 0:ia.fo)==null?void 0:da.sailingCons),1),e.createElementVNode("div",PW,e.toDisplayString((pa=(ma=(ra=a.extraData)==null?void 0:ra.consAnalysis)==null?void 0:ma.dgo)==null?void 0:pa.sailingCons),1)]),e.createElementVNode("div",LW,[$W,e.createElementVNode("div",WW,e.toDisplayString((Ea=(_a=(ha=a.extraData)==null?void 0:ha.consAnalysis)==null?void 0:_a.fo)==null?void 0:Ea.actualCons),1),e.createElementVNode("div",HW,e.toDisplayString((Va=(Na=(ya=a.extraData)==null?void 0:ya.consAnalysis)==null?void 0:Na.dgo)==null?void 0:Va.actualCons),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",MW,[IW,e.createElementVNode("div",GW,e.toDisplayString((xa=(ga=(fa=a.extraData)==null?void 0:fa.consAnalysis)==null?void 0:ga.fo)==null?void 0:xa.portCons),1),e.createElementVNode("div",RW,e.toDisplayString((ba=(so=(Q=a.extraData)==null?void 0:Q.consAnalysis)==null?void 0:so.dgo)==null?void 0:ba.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",zW,[UW,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Ca=(Da=(ka=a.extraData)==null?void 0:ka.consAnalysis)==null?void 0:Da.fo)==null?void 0:Ca.totalExtraCons)} flex blue center`)},e.toDisplayString((wa=(Ba=(Sa=a.extraData)==null?void 0:Sa.consAnalysis)==null?void 0:Ba.fo)==null?void 0:wa.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Pa=(Qe=(Ta=a.extraData)==null?void 0:Ta.consAnalysis)==null?void 0:Qe.dgo)==null?void 0:Pa.totalExtraCons)} flex blue center`)},e.toDisplayString((Wa=($a=(La=a.extraData)==null?void 0:La.consAnalysis)==null?void 0:$a.dgo)==null?void 0:Wa.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(x,{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,YW))],2)])}const pc=we(mF,[["render",ZW],["__scopeId","data-v-eba493df"]]),QW={install(o){o.component("DeviationReport",mc),o.component("FliDeviationReport",pc)}},jj="",JW={name:"OrmStoppage",components:{IdmBrand:jo,Editor:pl},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+ywL7jqr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iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/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(o,s="MMM-DD/HHmm[Z]"){return o?`${X(o).utc().format(s)}`:""}},computeLat(){return function(o){return me.LngLatHelper.lat2pretty(o,2)}},computeLng(){return function(o){return me.LngLatHelper.lng2pretty(o,2)}},computeRoundPrecision(){return function(o,s=3){return o==="-"?"-":me.LngLatHelper.roundPrecision(o,s)}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(o){var s;o&&(this.remarks=(s=this.report)==null?void 0:s.remarks)},immediate:!0}},methods:{handleCommit(o){this.editable=!1,this.remarks=o,this.$emit("commit",o)}}},ze=o=>(e.pushScopeId("data-v-47a82ae7"),o=o(),e.popScopeId(),o),jW={class:"stoppage-report"},KW={class:"content-box"},XW={class:"info-box border"},qW={class:"flex-between row"},uW={class:"flex-between",style:{width:"48%"}},vW=ze(()=>e.createElementVNode("label",{class:"label"},"Prepared For:",-1)),eH={class:"flex-between",style:{width:"48%"}},tH=ze(()=>e.createElementVNode("label",{class:"label"},"Departure Port:",-1)),oH={style:{"margin-left":"5px"}},lH={class:"flex-between row"},aH={class:"flex-between",style:{width:"48%"}},nH=ze(()=>e.createElementVNode("label",{class:"label"},"Vessel:",-1)),sH={class:"flex-between",style:{width:"48%"}},cH=ze(()=>e.createElementVNode("label",{class:"label"},"Arrival Port:",-1)),iH={style:{"margin-left":"5px"}},dH={class:"flex-between row"},rH={class:"flex-between",style:{width:"48%"}},mH=ze(()=>e.createElementVNode("label",{class:"label"},"Voyage No:",-1)),pH={class:"flex-between",style:{width:"48%"}},hH=ze(()=>e.createElementVNode("label",{class:"label"},"Load Condition:",-1)),_H={class:"section summary-section"},EH=ze(()=>e.createElementVNode("div",{class:"subtitle"},"Summary",-1)),yH={class:"formula-block flex-between border"},NH={class:"item"},VH=ze(()=>e.createElementVNode("div",{class:"title"},"Total Time Lost",-1)),fH={class:"value flex-end"},gH={key:0},xH=ze(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),bH={class:"gain"},kH=ze(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),DH={key:1},CH=ze(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),SH={class:"lost"},BH=ze(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),wH={key:2},TH={class:"item"},AH=ze(()=>e.createElementVNode("div",{class:"title"},"FO Total Consumption",-1)),FH={class:"value flex-end"},OH={key:0},PH=ze(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),LH={class:"gain"},$H=ze(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),WH={key:1},HH=ze(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),MH={class:"lost"},IH=ze(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),GH={key:2},RH={class:"item"},zH=ze(()=>e.createElementVNode("div",{class:"title"},"MGO Total Consumption",-1)),UH={class:"value flex-end"},YH={key:0},ZH=ze(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),QH={class:"gain"},JH=ze(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),jH={key:1},KH=ze(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),XH={class:"lost"},qH=ze(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),uH={key:2},vH=ze(()=>e.createElementVNode("div",{class:"subtitle"},"Remarks",-1)),eM={class:"section-content"},tM={key:0,class:""},oM=["innerHTML"],lM={key:1},aM={class:"section table-section"},nM=ze(()=>e.createElementVNode("div",{class:"subtitle"},"Stoppage Info",-1)),sM=ze(()=>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)),cM=ze(()=>e.createElementVNode("td",{rowspan:2},"1",-1)),iM=ze(()=>e.createElementVNode("td",null,"Stopped",-1)),dM={rowspan:2},rM={rowspan:2},mM={rowspan:2},pM=ze(()=>e.createElementVNode("td",null,"Resumed",-1)),hM={class:"section map-section"},_M=ze(()=>e.createElementVNode("div",{class:"subtitle"},"Voayge Map",-1)),EM=["src"];function yM(o,s,t,r,a,n){var p,g,x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,M,J,Y,j,se,ce,l,q,ee,te,oe,le,ae,ie,de,re,Ee,u,he,ye,Ne;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",jW,[e.createVNode(E,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",KW,[e.createElementVNode("div",XW,[e.createElementVNode("div",qW,[e.createElementVNode("div",uW,[vW,e.createElementVNode("div",null,e.toDisplayString((p=t.report)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",eH,[tH,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((x=(g=t.report)==null?void 0:g.departure)==null?void 0:x.name),1),e.createTextVNode(" , "),e.createElementVNode("span",oH,e.toDisplayString(n.computeUTCTime(((N=(h=t.report)==null?void 0:h.departure)==null?void 0:N.atd)||((b=(D=t.report)==null?void 0:D.departure)==null?void 0:b.etd))),1)])])]),e.createElementVNode("div",lH,[e.createElementVNode("div",aH,[nH,e.createElementVNode("div",null,e.toDisplayString((k=(C=t.report)==null?void 0:C.vessel)==null?void 0:k.name),1)]),e.createElementVNode("div",sH,[cH,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((F=(A=t.report)==null?void 0:A.arrival)==null?void 0:F.name),1),e.createTextVNode(" , "),e.createElementVNode("span",iH,e.toDisplayString(n.computeUTCTime(((w=(B=t.report)==null?void 0:B.arrival)==null?void 0:w.ata)||((O=(V=t.report)==null?void 0:V.arrival)==null?void 0:O.eta))),1)])])]),e.createElementVNode("div",dH,[e.createElementVNode("div",rH,[mH,e.createElementVNode("div",null,e.toDisplayString((R=(G=t.report)==null?void 0:G.voyage)==null?void 0:R.number),1)]),e.createElementVNode("div",pH,[hH,e.createElementVNode("div",null,e.toDisplayString((U=(z=t.report)==null?void 0:z.voyage)==null?void 0:U.loadCondition),1)])])]),e.createElementVNode("div",_H,[EH,e.createElementVNode("div",yH,[e.createElementVNode("div",NH,[VH,e.createElementVNode("div",fH,[((_=t.report)==null?void 0:_.totalTime)<0?(e.openBlock(),e.createElementBlock("div",gH,[xH,e.createElementVNode("span",bH,e.toDisplayString((L=t.report)==null?void 0:L.totalTime),1),kH])):((H=t.report)==null?void 0:H.totalTime)>=0?(e.openBlock(),e.createElementBlock("div",DH,[CH,e.createElementVNode("span",SH,e.toDisplayString(($=t.report)==null?void 0:$.totalTime),1),BH])):(e.openBlock(),e.createElementBlock("div",wH,"N/A"))])]),e.createElementVNode("div",TH,[AH,e.createElementVNode("div",FH,[((P=t.report)==null?void 0:P.totalFoCons)<0?(e.openBlock(),e.createElementBlock("div",OH,[PH,e.createElementVNode("span",LH,e.toDisplayString((M=t.report)==null?void 0:M.totalFoCons),1),$H])):((J=t.report)==null?void 0:J.totalFoCons)>=0?(e.openBlock(),e.createElementBlock("div",WH,[HH,e.createElementVNode("span",MH,e.toDisplayString((Y=t.report)==null?void 0:Y.totalFoCons),1),IH])):(e.openBlock(),e.createElementBlock("div",GH,"N/A"))])]),e.createElementVNode("div",RH,[zH,e.createElementVNode("div",UH,[((j=t.report)==null?void 0:j.totalDgoCons)<0?(e.openBlock(),e.createElementBlock("div",YH,[ZH,e.createElementVNode("span",QH,e.toDisplayString((se=t.report)==null?void 0:se.totalDgoCons),1),JH])):((ce=t.report)==null?void 0:ce.totalDgoCons)>=0?(e.openBlock(),e.createElementBlock("div",jH,[KH,e.createElementVNode("span",XH,e.toDisplayString((l=t.report)==null?void 0:l.totalDgoCons),1),qH])):(e.openBlock(),e.createElementBlock("div",uH,"N/A"))])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(a.remarks)?"print-hidden":""])},[vH,e.createElementVNode("div",eM,[a.editable?(e.openBlock(),e.createElementBlock("div",tM,[a.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=pe=>a.remarks=pe),class:"editor",height:"80px",onBlur:s[1]||(s[1]=pe=>n.handleCommit(pe))},null,8,["modelValue"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-block",onDblclick:s[2]||(s[2]=pe=>a.editable=!0)},[n.computeBlankHtml(a.remarks)?(e.openBlock(),e.createElementBlock("div",lM,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:a.remarks},null,8,oM))],32))])],2),e.createElementVNode("div",aM,[nM,e.createElementVNode("table",null,[sM,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[cM,iM,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((q=t.report)==null?void 0:q.stopLat).pretty)+" / "+e.toDisplayString(n.computeLng((ee=t.report)==null?void 0:ee.stopLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((te=t.report)==null?void 0:te.stopTime)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((oe=t.report)==null?void 0:oe.stopFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((le=t.report)==null?void 0:le.stopDgoBrob)??"-")),1),e.createElementVNode("td",dM,e.toDisplayString(n.computeRoundPrecision(((ae=t.report)==null?void 0:ae.totalTime)??"-")),1),e.createElementVNode("td",rM,e.toDisplayString(n.computeRoundPrecision(((ie=t.report)==null?void 0:ie.totalFoCons)??"-")),1),e.createElementVNode("td",mM,e.toDisplayString(n.computeRoundPrecision(((de=t.report)==null?void 0:de.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[pM,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((re=t.report)==null?void 0:re.resumeLat).pretty)+" / "+e.toDisplayString(n.computeLng((Ee=t.report)==null?void 0:Ee.resumeLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((u=t.report)==null?void 0:u.resumeTime)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((he=t.report)==null?void 0:he.resumeFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((ye=t.report)==null?void 0:ye.resumeDgoBrob)??"-")),1)])])])]),e.createElementVNode("div",hM,[_M,e.createElementVNode("img",{src:(Ne=t.report)==null?void 0:Ne.chartUrl,alt:""},null,8,EM)])])])}const hc=we(JW,[["render",yM],["__scopeId","data-v-47a82ae7"]]),NM={install(o){o.component("StoppageReport",hc)}},Kj="",VM={name:"OrmComparison",components:{Editor:pl,IdmBrand:jo},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?`${X(o).utc().format(s)}Z`:"-"}},computeColor(){return function(o){return o>0?"fail":o<0?"success":""}},compareTime(){return function(o,s){return o&&s?me.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})}}},Ae=o=>(e.pushScopeId("data-v-99108259"),o=o(),e.popScopeId(),o),fM={class:"comparison-report"},gM={class:"report-summary"},xM={class:"summary-item"},bM=Ae(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),kM={class:"flexL gray"},DM={class:"summary-item"},CM=Ae(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),SM={class:"flexL gray"},BM={class:"summary-item"},wM=Ae(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),TM={class:"flexL gray"},AM={class:"summary-item"},FM=Ae(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),OM={class:"flexL gray"},PM={class:"summary-item"},LM=Ae(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),$M={class:"flexL gray"},WM={class:"summary-item"},HM=Ae(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),MM={class:"flexL gray",style:{display:"flex"}},IM={class:"flex"},GM={class:"flexM"},RM={class:"summary-item"},zM=Ae(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),UM={class:"flexL gray",style:{display:"flex"}},YM={class:"flex"},ZM={class:"flexM"},QM=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),JM={class:"report-summary"},jM={class:"summary-item"},KM=Ae(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),XM={class:"summary-item"},qM=Ae(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),uM={class:"summary-item"},vM=Ae(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),eI=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),tI={class:"report-map"},oI=["src"],lI=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),aI={key:0,class:"subtitle"},nI={key:1,class:"report-summary"},sI={class:"summary-item"},cI=Ae(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),iI={class:"flexL blue center"},dI={class:"summary-item"},rI=Ae(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),mI={class:"flexL blue center"},pI={class:"summary-item"},hI=Ae(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),_I={class:"flexL blue center"},EI=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),yI={class:"report-summary"},NI=Ae(()=>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)),VI={class:"summary-item"},fI=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),gI={class:"flex blue-light center"},xI={class:"flex blue-light center"},bI={class:"summary-item"},kI=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),DI={class:"flex blue-light center"},CI={class:"flex blue-light center"},SI={class:"summary-item"},BI=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),wI={class:"flex blue-light center"},TI={class:"flex blue-light center"},AI={class:"summary-item"},FI=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),OI={class:"flex blue-light center"},PI={class:"flex blue-light center"},LI={class:"summary-item"},$I=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),WI={class:"flex blue-light center"},HI={class:"flex blue-light center"},MI={class:"summary-item"},II=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),GI={class:"flex blue-light center"},RI={class:"flex blue-light center"},zI={class:"summary-item"},UI=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),YI={class:"flex blue-light center italic"},ZI=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),QI={class:"report-summary"},JI=Ae(()=>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)),jI={class:"summary-item"},KI=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),XI={class:"flex blue-light center"},qI={class:"flex blue-light center"},uI={class:"summary-item"},vI=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),eG={class:"flex blue-light center"},tG={class:"flex blue-light center"},oG={class:"summary-item"},lG=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),aG={class:"flex blue-light center"},nG={class:"flex blue-light center"},sG={class:"summary-item"},cG=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),iG={class:"flex blue-light center"},dG={class:"flex blue-light center"},rG={class:"summary-item"},mG=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),pG={class:"flex blue-light center italic"},hG={class:"summary-item"},_G=Ae(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),EG={class:"flex blue-light center italic"},yG=["innerHTML"];function NG(o,s,t,r,a,n){var p,g,x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,M,J,Y,j,se,ce,l,q,ee,te,oe,le,ae,ie,de,re,Ee,u,he,ye,Ne,pe,ge,xe,be,ke,De,Ce,Fe,Oe,Pe,Le,$e,We,He,Me;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",fM,[e.createVNode(E,{name:"Voyage Comparison Report"}),e.createElementVNode("div",gM,[e.createElementVNode("div",xM,[bM,e.createElementVNode("div",kM,e.toDisplayString((g=(p=t.report)==null?void 0:p.vessel)==null?void 0:g.name),1)]),e.createElementVNode("div",DM,[CM,e.createElementVNode("div",SM,e.toDisplayString((x=t.report)==null?void 0:x.preparedFor),1)]),e.createElementVNode("div",BM,[wM,e.createElementVNode("div",TM,e.toDisplayString((N=(h=t.report)==null?void 0:h.vessel)==null?void 0:N.type),1)]),e.createElementVNode("div",AM,[FM,e.createElementVNode("div",OM,e.toDisplayString((b=(D=t.report)==null?void 0:D.voyage)==null?void 0:b.loadCondition),1)]),e.createElementVNode("div",PM,[LM,e.createElementVNode("div",$M,e.toDisplayString((k=(C=t.report)==null?void 0:C.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",WM,[HM,e.createElementVNode("div",MM,[e.createElementVNode("span",IM,e.toDisplayString((F=(A=t.report)==null?void 0:A.departure)==null?void 0:F.name),1),e.createElementVNode("span",GM,e.toDisplayString(n.computeUTCTime(((w=(B=t.report)==null?void 0:B.departure)==null?void 0:w.atd)||((O=(V=t.report)==null?void 0:V.departure)==null?void 0:O.etd))),1)])]),e.createElementVNode("div",RM,[zM,e.createElementVNode("div",UM,[e.createElementVNode("span",YM,e.toDisplayString((R=(G=t.report)==null?void 0:G.arrival)==null?void 0:R.name),1),e.createElementVNode("span",ZM,e.toDisplayString(n.computeUTCTime(((U=(z=t.report)==null?void 0:z.arrival)==null?void 0:U.ata)||((L=(_=t.report)==null?void 0:_.arrival)==null?void 0:L.eta))),1)])])]),QM,e.createElementVNode("div",JM,[e.createElementVNode("div",jM,[KM,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((H=t.report)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(n.computeSummary(($=t.report)==null?void 0:$.diffTime,"time")),3)]),e.createElementVNode("div",XM,[qM,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",uM,[vM,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((J=t.report)==null?void 0:J.diffDgoCons)} flex blue`)},e.toDisplayString(n.computeSummary((Y=t.report)==null?void 0:Y.diffDgoCons,"oil")),3)])]),eI,e.createElementVNode("div",tI,[e.createElementVNode("img",{style:{width:"100%"},src:(j=t.report)==null?void 0:j.chartUrl,alt:""},null,8,oI),lI]),(se=t.report)!=null&&se.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",aI,"CP Terms")),(ce=t.report)!=null&&ce.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",nI,[e.createElementVNode("div",sI,[cI,e.createElementVNode("div",iI,e.toDisplayString(((q=(l=t.report)==null?void 0:l.cp)==null?void 0:q.speed)??"—"),1)]),e.createElementVNode("div",dI,[rI,e.createElementVNode("div",mI,e.toDisplayString(((te=(ee=t.report)==null?void 0:ee.cp)==null?void 0:te.fo)??"—"),1)]),e.createElementVNode("div",pI,[hI,e.createElementVNode("div",_I,e.toDisplayString(((le=(oe=t.report)==null?void 0:oe.cp)==null?void 0:le.dgo)??"—"),1)])])),EI,e.createElementVNode("div",yI,[NI,e.createElementVNode("div",VI,[fI,e.createElementVNode("div",gI,e.toDisplayString(((ae=t.report)==null?void 0:ae.actualDist)??"—"),1),e.createElementVNode("div",xI,e.toDisplayString(((ie=t.report)==null?void 0:ie.recmdDist)??"—"),1)]),e.createElementVNode("div",bI,[kI,e.createElementVNode("div",DI,e.toDisplayString(((de=t.report)==null?void 0:de.actualTime)??"—"),1),e.createElementVNode("div",CI,e.toDisplayString(((re=t.report)==null?void 0:re.recmdTime)??"—"),1)]),e.createElementVNode("div",SI,[BI,e.createElementVNode("div",wI,e.toDisplayString(((Ee=t.report)==null?void 0:Ee.actualAvgSpd)??"—"),1),e.createElementVNode("div",TI,e.toDisplayString(((u=t.report)==null?void 0:u.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",AI,[FI,e.createElementVNode("div",OI,e.toDisplayString(((he=t.report)==null?void 0:he.actualAvgCF)??"—"),1),e.createElementVNode("div",PI,e.toDisplayString(((ye=t.report)==null?void 0:ye.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",LI,[$I,e.createElementVNode("div",WI,e.toDisplayString(((Ne=t.report)==null?void 0:Ne.actualAvgWF)??"—"),1),e.createElementVNode("div",HI,e.toDisplayString(((pe=t.report)==null?void 0:pe.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",MI,[II,e.createElementVNode("div",GI,e.toDisplayString(((ge=t.report)==null?void 0:ge.actualPfmSpd)??"—"),1),e.createElementVNode("div",RI,e.toDisplayString(((xe=t.report)==null?void 0:xe.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",zI,[UI,e.createElementVNode("div",YI,e.toDisplayString(n.compareTime((be=t.report)==null?void 0:be.actualTime,(ke=t.report)==null?void 0:ke.recmdTime)),1)])]),ZI,e.createElementVNode("div",QI,[JI,e.createElementVNode("div",jI,[KI,e.createElementVNode("div",XI,e.toDisplayString(((De=t.report)==null?void 0:De.actualAvgFoCons)??"-"),1),e.createElementVNode("div",qI,e.toDisplayString(((Ce=t.report)==null?void 0:Ce.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",uI,[vI,e.createElementVNode("div",eG,e.toDisplayString(((Fe=t.report)==null?void 0:Fe.actualFoCons)??"-"),1),e.createElementVNode("div",tG,e.toDisplayString(((Oe=t.report)==null?void 0:Oe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",oG,[lG,e.createElementVNode("div",aG,e.toDisplayString(((Pe=t.report)==null?void 0:Pe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",nG,e.toDisplayString(((Le=t.report)==null?void 0:Le.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",sG,[cG,e.createElementVNode("div",iG,e.toDisplayString((($e=t.report)==null?void 0:$e.actualDgoCons)??"-"),1),e.createElementVNode("div",dG,e.toDisplayString(((We=t.report)==null?void 0:We.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",rG,[mG,e.createElementVNode("div",pG,e.toDisplayString(((He=t.report)==null?void 0:He.diffFoCons)??"-"),1)]),e.createElementVNode("div",hG,[_G,e.createElementVNode("div",EG,e.toDisplayString(((Me=t.report)==null?void 0:Me.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]=Ve=>a.advisory=Ve),height:"320px",onBlur:s[1]||(s[1]=Ve=>n.handleCommit("comments",Ve))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=Ve=>a.editable=!a.editable),innerHTML:n.computeBlankHtml(a.advisory)?"Please double click to modify remark":a.advisory},null,40,yG))],2)])}const _c=we(VM,[["render",NG],["__scopeId","data-v-99108259"]]),Xj="",VG={name:"ComparisonFli",components:{Editor:pl},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+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z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dNYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/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(o,s="MMM-DD/HHmm"){return o?`${X(o).utc().format(s)}Z`:"-"}},computeColor(){return function(o){return o>0?"fail":o<0?"success":""}},compareTime(){return function(o,s){return o&&s?me.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 Ja.put(`${this.gateway}/api/als/comparisons/${this.id}`,t,{headers:{Authorization:this.token}}),this.advisory=s}}},fe=o=>(e.pushScopeId("data-v-f7bdbf19"),o=o(),e.popScopeId(),o),fG={class:"comparison-report"},gG=fe(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),xG={class:"report-header"},bG={class:"header-title",style:{position:"relative !important"}},kG={class:"header-title-content"},DG=fe(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),CG={class:"title-date"},SG={class:"report-summary"},BG={class:"summary-item"},wG=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),TG={class:"flexL gray"},AG={class:"summary-item"},FG=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),OG={class:"flexL gray"},PG={class:"summary-item"},LG=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),$G={class:"flexL gray"},WG={class:"summary-item"},HG=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),MG={class:"flexL gray"},IG={class:"summary-item"},GG=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),RG={class:"flexL gray"},zG={class:"summary-item"},UG=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),YG={class:"flexL gray",style:{display:"flex"}},ZG={class:"flex"},QG={class:"flexM"},JG={class:"summary-item"},jG=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),KG={class:"flexL gray",style:{display:"flex"}},XG={class:"flex"},qG={class:"flexM"},uG=fe(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),vG={class:"report-summary"},eR={class:"summary-item"},tR=fe(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),oR={class:"summary-item"},lR=fe(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),aR={class:"summary-item"},nR=fe(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),sR=fe(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),cR={class:"report-map"},iR=["src"],dR=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),rR=fe(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),mR={key:0,class:"subtitle"},pR={key:1,class:"report-summary"},hR={class:"summary-item"},_R=fe(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),ER={class:"flexL blue center"},yR={class:"summary-item"},NR=fe(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),VR={class:"flexL blue center"},fR={class:"summary-item"},gR=fe(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),xR={class:"flexL blue center"},bR=fe(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),kR={class:"report-summary"},DR=fe(()=>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)),CR={class:"summary-item"},SR=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),BR={class:"flex blue-light center"},wR={class:"flex blue-light center"},TR={class:"summary-item"},AR=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),FR={class:"flex blue-light center"},OR={class:"flex blue-light center"},PR={class:"summary-item"},LR=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),$R={class:"flex blue-light center"},WR={class:"flex blue-light center"},HR={class:"summary-item"},MR=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),IR={class:"flex blue-light center"},GR={class:"flex blue-light center"},RR={class:"summary-item"},zR=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),UR={class:"flex blue-light center"},YR={class:"flex blue-light center"},ZR={class:"summary-item"},QR=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),JR={class:"flex blue-light center"},jR={class:"flex blue-light center"},KR={class:"summary-item"},XR=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),qR={class:"flex blue-light center italic"},uR=fe(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),vR={class:"report-summary"},ez=fe(()=>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)),tz={class:"summary-item"},oz=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),lz={class:"flex blue-light center"},az={class:"flex blue-light center"},nz={class:"summary-item"},sz=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),cz={class:"flex blue-light center"},iz={class:"flex blue-light center"},dz={class:"summary-item"},rz=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),mz={class:"flex blue-light center"},pz={class:"flex blue-light center"},hz={class:"summary-item"},_z=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),Ez={class:"flex blue-light center"},yz={class:"flex blue-light center"},Nz={class:"summary-item"},Vz=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),fz={class:"flex blue-light center italic"},gz={class:"summary-item"},xz=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),bz={class:"flex blue-light center italic"},kz=["innerHTML"];function Dz(o,s,t,r,a,n){var c,p,g,x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U,_,L,H,$,P,M,J,Y,j,se,ce,l,q,ee,te,oe,le,ae,ie,de,re,Ee,u,he,ye,Ne,pe,ge,xe,be,ke,De,Ce,Fe,Oe,Pe,Le,$e,We,He,Me;const E=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",fG,[gG,e.createElementVNode("div",xG,[e.createElementVNode("div",bG,[e.createElementVNode("div",kG,[DG,e.createElementVNode("div",CG,e.toDisplayString(n.computeUTCTime(((c=a.comparisonData)==null?void 0:c.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",SG,[e.createElementVNode("div",BG,[wG,e.createElementVNode("div",TG,e.toDisplayString((g=(p=a.comparisonData)==null?void 0:p.vessel)==null?void 0:g.name),1)]),e.createElementVNode("div",AG,[FG,e.createElementVNode("div",OG,e.toDisplayString((x=a.comparisonData)==null?void 0:x.preparedFor),1)]),e.createElementVNode("div",PG,[LG,e.createElementVNode("div",$G,e.toDisplayString((N=(h=a.comparisonData)==null?void 0:h.vessel)==null?void 0:N.type),1)]),e.createElementVNode("div",WG,[HG,e.createElementVNode("div",MG,e.toDisplayString((b=(D=a.comparisonData)==null?void 0:D.voyage)==null?void 0:b.loadCondition),1)]),e.createElementVNode("div",IG,[GG,e.createElementVNode("div",RG,e.toDisplayString((k=(C=a.comparisonData)==null?void 0:C.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",zG,[UG,e.createElementVNode("div",YG,[e.createElementVNode("span",ZG,e.toDisplayString((F=(A=a.comparisonData)==null?void 0:A.departure)==null?void 0:F.name),1),e.createElementVNode("span",QG,e.toDisplayString(n.computeUTCTime(((w=(B=a.comparisonData)==null?void 0:B.departure)==null?void 0:w.atd)||((O=(V=a.comparisonData)==null?void 0:V.departure)==null?void 0:O.etd))),1)])]),e.createElementVNode("div",JG,[jG,e.createElementVNode("div",KG,[e.createElementVNode("span",XG,e.toDisplayString((R=(G=a.comparisonData)==null?void 0:G.arrival)==null?void 0:R.name),1),e.createElementVNode("span",qG,e.toDisplayString(n.computeUTCTime(((U=(z=a.comparisonData)==null?void 0:z.arrival)==null?void 0:U.ata)||((L=(_=a.comparisonData)==null?void 0:_.arrival)==null?void 0:L.eta))),1)])])]),uG,e.createElementVNode("div",vG,[e.createElementVNode("div",eR,[tR,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((H=a.comparisonData)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(n.computeSummary(($=a.comparisonData)==null?void 0:$.diffTime,"time")),3)]),e.createElementVNode("div",oR,[lR,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",aR,[nR,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((J=a.comparisonData)==null?void 0:J.diffDgoCons)} flex blue`)},e.toDisplayString(n.computeSummary((Y=a.comparisonData)==null?void 0:Y.diffDgoCons,"oil")),3)])]),sR,e.createElementVNode("div",cR,[e.createElementVNode("img",{style:{width:"100%"},src:(j=a.comparisonData)==null?void 0:j.chartUrl,alt:""},null,8,iR),dR]),rR,(se=a.comparisonData)!=null&&se.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",mR,"CP Terms")),(ce=a.comparisonData)!=null&&ce.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",pR,[e.createElementVNode("div",hR,[_R,e.createElementVNode("div",ER,e.toDisplayString(((q=(l=a.comparisonData)==null?void 0:l.cp)==null?void 0:q.speed)??"—"),1)]),e.createElementVNode("div",yR,[NR,e.createElementVNode("div",VR,e.toDisplayString(((te=(ee=a.comparisonData)==null?void 0:ee.cp)==null?void 0:te.fo)??"—"),1)]),e.createElementVNode("div",fR,[gR,e.createElementVNode("div",xR,e.toDisplayString(((le=(oe=a.comparisonData)==null?void 0:oe.cp)==null?void 0:le.dgo)??"—"),1)])])),bR,e.createElementVNode("div",kR,[DR,e.createElementVNode("div",CR,[SR,e.createElementVNode("div",BR,e.toDisplayString(((ae=a.comparisonData)==null?void 0:ae.actualDist)??"—"),1),e.createElementVNode("div",wR,e.toDisplayString(((ie=a.comparisonData)==null?void 0:ie.recmdDist)??"—"),1)]),e.createElementVNode("div",TR,[AR,e.createElementVNode("div",FR,e.toDisplayString(((de=a.comparisonData)==null?void 0:de.actualTime)??"—"),1),e.createElementVNode("div",OR,e.toDisplayString(((re=a.comparisonData)==null?void 0:re.recmdTime)??"—"),1)]),e.createElementVNode("div",PR,[LR,e.createElementVNode("div",$R,e.toDisplayString(((Ee=a.comparisonData)==null?void 0:Ee.actualAvgSpd)??"—"),1),e.createElementVNode("div",WR,e.toDisplayString(((u=a.comparisonData)==null?void 0:u.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",HR,[MR,e.createElementVNode("div",IR,e.toDisplayString(((he=a.comparisonData)==null?void 0:he.actualAvgCF)??"—"),1),e.createElementVNode("div",GR,e.toDisplayString(((ye=a.comparisonData)==null?void 0:ye.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",RR,[zR,e.createElementVNode("div",UR,e.toDisplayString(((Ne=a.comparisonData)==null?void 0:Ne.actualAvgWF)??"—"),1),e.createElementVNode("div",YR,e.toDisplayString(((pe=a.comparisonData)==null?void 0:pe.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",ZR,[QR,e.createElementVNode("div",JR,e.toDisplayString(((ge=a.comparisonData)==null?void 0:ge.actualPfmSpd)??"—"),1),e.createElementVNode("div",jR,e.toDisplayString(((xe=a.comparisonData)==null?void 0:xe.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",KR,[XR,e.createElementVNode("div",qR,e.toDisplayString(n.compareTime((be=a.comparisonData)==null?void 0:be.actualTime,(ke=a.comparisonData)==null?void 0:ke.recmdTime)),1)])]),uR,e.createElementVNode("div",vR,[ez,e.createElementVNode("div",tz,[oz,e.createElementVNode("div",lz,e.toDisplayString(((De=a.comparisonData)==null?void 0:De.actualAvgFoCons)??"-"),1),e.createElementVNode("div",az,e.toDisplayString(((Ce=a.comparisonData)==null?void 0:Ce.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",nz,[sz,e.createElementVNode("div",cz,e.toDisplayString(((Fe=a.comparisonData)==null?void 0:Fe.actualFoCons)??"-"),1),e.createElementVNode("div",iz,e.toDisplayString(((Oe=a.comparisonData)==null?void 0:Oe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",dz,[rz,e.createElementVNode("div",mz,e.toDisplayString(((Pe=a.comparisonData)==null?void 0:Pe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",pz,e.toDisplayString(((Le=a.comparisonData)==null?void 0:Le.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",hz,[_z,e.createElementVNode("div",Ez,e.toDisplayString((($e=a.comparisonData)==null?void 0:$e.actualDgoCons)??"-"),1),e.createElementVNode("div",yz,e.toDisplayString(((We=a.comparisonData)==null?void 0:We.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",Nz,[Vz,e.createElementVNode("div",fz,e.toDisplayString(((He=a.comparisonData)==null?void 0:He.diffFoCons)??"-"),1)]),e.createElementVNode("div",gz,[xz,e.createElementVNode("div",bz,e.toDisplayString(((Me=a.comparisonData)==null?void 0:Me.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]=Ve=>a.advisory=Ve),height:"320px",onBlur:s[1]||(s[1]=Ve=>n.handleCommit("comments",Ve))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=(...Ve)=>n.decideDisable&&n.decideDisable(...Ve)),innerHTML:a.advisory&&a.advisory!=="<p><br></p>"?a.advisory:"Please double click to modify remark"},null,40,kz))],2)])}const Ec=we(VG,[["render",Dz],["__scopeId","data-v-f7bdbf19"]]),Cz={install(o){o.component("OrmComparisonReport",_c),o.component("FliComparisonReport",Ec)}},qj="",Sz={name:"IdmThird",props:{name:{type:String,default:""}}},Bz={class:"section brand-section flex-space"},wz=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),Tz={class:"report-box flex-space"},Az={class:"name flex-start"},Fz=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 &amp; Consulting Center</div></div></div>',1);function Oz(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",Bz,[wz,e.createElementVNode("div",Tz,[e.createElementVNode("div",Az,e.toDisplayString(t.name),1),Fz])])}const yc=we(Sz,[["render",Oz],["__scopeId","data-v-793a5781"]]),Pz={install(o){o.component("IdmBrand",jo),o.component("IdmThird",yc)}},uj="",vj="",Lz={name:"QuotaReport",components:{Brand:jo},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",geojson1:{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],[191,90]]}},{type:"Feature",properties:{rank:12,name:"North America West 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],[-135,64],[-173,64],[-219,34],[-219,5],[-79.7,5],[-79.7,9]]}}]},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],[95,-11],[95,23.9]]}},{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:[[95,-11],[95,-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(){Fa.accessToken=this.mapboxToken,this.map=new Fa.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}})}}},Nc=o=>(e.pushScopeId("data-v-52980307"),o=o(),e.popScopeId(),o),$z={class:"quota-report"},Wz=Nc(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Hz={class:"section quota-section"},Mz=Nc(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Iz={class:"label"},Gz={class:"label"},Rz=["innerHTML"],zz=e.createStaticVNode('<div class="legend-block flex-space" data-v-52980307><div class="legend" data-v-52980307><label data-v-52980307>DIR</label><span data-v-52980307>DIRECT</span></div><div class="legend" data-v-52980307><label data-v-52980307>PMP</label><span data-v-52980307>via PANAMA CHANNEL</span></div><div class="legend" data-v-52980307><label data-v-52980307>SUE</label><span data-v-52980307>via SUEZ CHANNEL</span></div><div class="legend" data-v-52980307><label data-v-52980307>CGH</label><span data-v-52980307>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-52980307><label data-v-52980307>CHC</label><span data-v-52980307>Passing CAPE HORN</span></div><div class="legend" data-v-52980307><label data-v-52980307>SCG</label><span data-v-52980307>Passing SINGAPORE</span></div></div>',1);function Uz(o,s,t,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",$z,[e.createVNode(E,{name:"Quotation Sheet"}),Wz,e.createElementVNode("div",Hz,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Mz,(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",Iz,e.toDisplayString(c.rank),1),e.createElementVNode("td",Gz,e.toDisplayString(c.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,g=>(e.openBlock(),e.createElementBlock("td",{key:g,innerHTML:a.quota[p][g-1]||""},null,8,Rz))),128))]))),128))])]),zz])])}const Vc=we(Lz,[["render",Uz],["__scopeId","data-v-52980307"]]),eK="",Yz={name:"QuotaReport",components:{Brand:jo},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],[95,-11],[95,23.9]]}},{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:[[95,-11],[95,-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(){Fa.accessToken=this.mapboxToken,this.map=new Fa.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}})}}},fc=o=>(e.pushScopeId("data-v-a4cee967"),o=o(),e.popScopeId(),o),Zz={class:"quota-report"},Qz=fc(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Jz={class:"section quota-section"},jz=fc(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Kz={class:"label"},Xz={class:"label"},qz=["innerHTML"],uz=e.createStaticVNode('<div class="legend-block flex-space" data-v-a4cee967><div class="legend" data-v-a4cee967><label data-v-a4cee967>DIR</label><span data-v-a4cee967>DIRECT</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>PMP</label><span data-v-a4cee967>via PANAMA CHANNEL</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>SUE</label><span data-v-a4cee967>via SUEZ CHANNEL</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>CGH</label><span data-v-a4cee967>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>CHC</label><span data-v-a4cee967>Passing CAPE HORN</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>SCG</label><span data-v-a4cee967>Passing SINGAPORE</span></div></div>',1);function vz(o,s,t,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Zz,[e.createVNode(E,{name:"Quotation Sheet"}),Qz,e.createElementVNode("div",Jz,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[jz,(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",Kz,e.toDisplayString(c.rank),1),e.createElementVNode("td",Xz,e.toDisplayString(c.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,g=>(e.openBlock(),e.createElementBlock("td",{key:g,innerHTML:a.quota[p][g-1]||""},null,8,qz))),128))]))),128))])]),uz])])}const gc=we(Yz,[["render",vz],["__scopeId","data-v-a4cee967"]]),tK="",eU={name:"QuotaReport",components:{Brand:jo},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],[95,-11],[95,23.9]]}},{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:[[95,-11],[95,-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(){Fa.accessToken=this.mapboxToken,this.map=new Fa.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}})}}},xc=o=>(e.pushScopeId("data-v-99a52de4"),o=o(),e.popScopeId(),o),tU={class:"quota-report"},oU=xc(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),lU={class:"section quota-section"},aU=xc(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),nU={class:"label"},sU={class:"label"},cU=["innerHTML"],iU=e.createStaticVNode('<div class="legend-block flex-space" data-v-99a52de4><div class="legend" data-v-99a52de4><label data-v-99a52de4>DIR</label><span data-v-99a52de4>DIRECT</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>PMP</label><span data-v-99a52de4>via PANAMA CHANNEL</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>SUE</label><span data-v-99a52de4>via SUEZ CHANNEL</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>CGH</label><span data-v-99a52de4>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>CHC</label><span data-v-99a52de4>Passing CAPE HORN</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>SCG</label><span data-v-99a52de4>Passing SINGAPORE</span></div></div>',1);function dU(o,s,t,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",tU,[e.createVNode(E,{name:"Quotation Sheet for TONGLI"}),oU,e.createElementVNode("div",lU,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[aU,(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",nU,e.toDisplayString(c.rank),1),e.createElementVNode("td",sU,e.toDisplayString(c.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,g=>(e.openBlock(),e.createElementBlock("td",{key:g,innerHTML:a.quota[p][g-1]||""},null,8,cU))),128))]))),128))])]),iU])])}const bc=we(eU,[["render",dU],["__scopeId","data-v-99a52de4"]]),rU={install(o){o.component("OrmQuoteReport",Vc),o.component("OrmQuoteReport4SEOA",gc),o.component("OrmQuoteReport4TongLi",bc)}},oK="",mU={name:"PrecipitationReport",components:{IdmBrand:jo,IdmLoading:ua},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 me.LngLatHelper.lat2pretty(o,2)}},computeLng(){return function(o){return me.LngLatHelper.lng2pretty(o,2)}},computeLTime(){return function(o,s=8,t="MMM-DD/HHmm[LT]"){return`${X(o).utcOffset(s).format(t)}`}},computeTZ(){return function(o="0"){return me.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,g,x;const s=me.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=X(N.utc).utcOffset(s),b=(n=N.precip)==null?void 0:n.acc;if(N.precip.pacc=b,b>0){const C=t[D.format("MMM-DD")],k=Math.floor(D.get("hour")/6);C?(C.pacc=this.roundPrecision(C.pacc+b,1),C[`${k}`]?C[`${k}`]+=b:(C[`${k}`]=b,C.colspan+=1)):(t[D.format("MMM-DD")]={pacc:b,colspan:1},t[D.format("MMM-DD")][`${k}`]=b)}}}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":((g=t[h])==null?void 0:g.pacc)<49.9?"Heavy":((x=t[h])==null?void 0:x.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(qa.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 g,x,h,N,D,b,C,k,A,F,B,w,V,O;const p=X(c.utc).utcOffset((g=this.form)==null?void 0:g.localTZ).format("MMM-DD/HHmm[LT]");t.push(p),n=((h=(x=c.wave)==null?void 0:x.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,(b=c.wind)==null?void 0:b.kts,(C=c.gusts)==null?void 0:C.kts,(A=(k=c.wave)==null?void 0:k.sig)==null?void 0:A.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,(V=c.current)==null?void 0:V.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&&(Fa.accessToken=this.mapboxToken,this.map=new Fa.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})}}},Et=o=>(e.pushScopeId("data-v-164362dd"),o=o(),e.popScopeId(),o),pU={class:"precipitation-report"},hU={class:"section area-section"},_U={class:"area-block"},EU={class:"area-header flex-space"},yU={class:"flex-start"},NU=["onClick"],VU={class:"flex-end"},fU={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 (&lt;10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Moderate (&lt;24.9mm)</div><div style="background:rgb(7, 148, 255);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Heavy (&lt;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 (&lt;99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-164362dd>Heavy Rainstorm (&gt;100mm)</div></div>',2),xU={class:"flex-evenly"},bU={key:0},kU=["colspan"],DU=["colspan"],CU={style:{"font-size":"10px"}},SU={key:0},BU={key:1},wU={key:2},TU={key:3},AU={key:0},FU={key:1,style:{"font-size":"14px"}},OU=Et(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),PU={class:"section echart-section"},LU={ref:"echart",class:"echart"},$U={class:"section sample-section"},WU=Et(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),HU=["colspan"],MU=Et(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),IU=Et(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),GU=Et(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),RU=Et(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),zU=Et(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),UU=Et(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),YU={key:0},ZU={key:1},QU=Et(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),JU=Et(()=>e.createElementVNode("th",null,"Dir",-1)),jU=Et(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),KU=Et(()=>e.createElementVNode("th",null,"BF",-1)),XU=Et(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),qU=Et(()=>e.createElementVNode("th",null,"Dir",-1)),uU=Et(()=>e.createElementVNode("th",null,"Ht (m)",-1)),vU=Et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),eY=Et(()=>e.createElementVNode("th",null,"Dir",-1)),tY=Et(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),oY=Et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),lY=Et(()=>e.createElementVNode("th",null,"°C",-1)),aY={width:"120px"},nY={key:0},sY={key:1},cY={key:0,class:"degree-box"},iY={key:1},dY={key:0,class:"degree-box"},rY={key:1},mY={key:0,class:"degree-box"},pY={key:1},hY={class:"section area-section"},_Y={class:"area-block"},EY={class:"area-header flex-end"},yY={class:"flex-end"},NY={class:"area-body"},VY=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 (&lt;10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Moderate (&lt;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 (&lt;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 (&lt;99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-164362dd>Heavy Rainstorm (&gt;100mm)</div></div>',2),fY=["colspan"],gY=["colspan"],xY={style:{"font-size":"10px"}},bY={key:0},kY={key:1},DY={key:2},CY={key:3},SY={key:1,style:{"font-size":"14px"}},BY={key:0};function wY(o,s,t,r,a,n){var p,g,x,h,N,D,b,C,k,A,F,B,w,V,O,G,R,z,U;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",pU,[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",hU,[e.createElementVNode("div",_U,[e.createElementVNode("div",EU,[e.createElementVNode("div",yU,[(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 $;a.index=L,a.form=($=t.report)==null?void 0:$.rows[a.index]}},e.toDisplayString(_.rank)+". "+e.toDisplayString(_.name),11,NU))),128))]),e.createElementVNode("div",VU,[e.createElementVNode("div",{class:"header-item",onClick:s[1]||(s[1]=_=>a.version="Brief")},"Brief")])]),e.createElementVNode("div",fU,[gU,e.createElementVNode("div",xU,[a.form?(e.openBlock(),e.createElementBlock("table",bU,[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((g=a.form)==null?void 0:g.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString((x=a.form)==null?void 0:x.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((b=(D=a.form)==null?void 0:D.extend)==null?void 0:b[0].utc,(C=a.form)==null?void 0:C.localTZ))+" to "+e.toDisplayString(n.computeLTime((A=(k=a.form)==null?void 0:k.extend)==null?void 0:A.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,kU)]),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",CU,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((V=a.form)==null?void 0:V.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[_]),($,P)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:P},[$==="0"?(e.openBlock(),e.createElementBlock("th",SU,"00-06")):e.createCommentVNode("",!0),$==="1"?(e.openBlock(),e.createElementBlock("th",BU,"06-12")):e.createCommentVNode("",!0),$==="2"?(e.openBlock(),e.createElementBlock("th",wU,"12-18")):e.createCommentVNode("",!0),$==="3"?(e.openBlock(),e.createElementBlock("th",TU,"18-24")):e.createCommentVNode("",!0)],64))),128))],64)}),128))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(G=Object.keys((O=a.form)==null?void 0:O.paccInDays))!=null&&G.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys((R=a.form)==null?void 0:R.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[_]),($,P)=>{var M;return e.openBlock(),e.createElementBlock(e.Fragment,{key:P},[["0","1","2","3"].includes($)?(e.openBlock(),e.createElementBlock("td",AU,e.toDisplayString(n.roundPrecision((M=a.form)==null?void 0:M.paccInDays[_][$],1)),1)):e.createCommentVNode("",!0)],64)}),128))],64)}),128)):(e.openBlock(),e.createElementBlock("th",FU,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),OU,e.createElementVNode("div",PU,[e.createElementVNode("div",LU,null,512)]),e.createElementVNode("div",$U,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[WU,e.createElementVNode("th",{colspan:t.showPrate?2:1},"Precip",8,HU),MU,IU,GU,RU,zU,UU]),e.createElementVNode("tr",null,[t.showPrate?(e.openBlock(),e.createElementBlock("th",YU,"Rate (mm/h)")):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("th",ZU,"Acc (mm)")):e.createCommentVNode("",!0),QU,JU,jU,KU,XU,qU,uU,vU,eY,tY,oY,lY])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((z=a.form)==null?void 0:z.extend,(_,L)=>{var H,$,P,M,J,Y,j,se,ce,l,q,ee,te,oe,le,ae,ie,de,re,Ee,u,he,ye,Ne,pe,ge,xe,be,ke,De,Ce;return e.openBlock(),e.createElementBlock("tr",{key:L},[e.createElementVNode("td",aY,e.toDisplayString(n.computeLTime(_.utc,(H=a.form)==null?void 0:H.localTZ)),1),t.showPrate?(e.openBlock(),e.createElementBlock("td",nY,e.toDisplayString(n.roundPrecision(($=_.precip)==null?void 0:$.prate,2)),1)):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("td",sY,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",cY,[e.createTextVNode(e.toDisplayString((J=_.wind)==null?void 0:J.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Y=_.wind)==null?void 0:Y.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",iY,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((j=_.wind)==null?void 0:j.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((se=_.wind)==null?void 0:se.scale),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ce=_.gusts)==null?void 0:ce.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((q=(l=_.wave)==null?void 0:l.wd)==null?void 0:q.height,1)),1),e.createElementVNode("td",null,[(te=(ee=_.wave)==null?void 0:ee.swell)!=null&&te.height?(e.openBlock(),e.createElementBlock("span",dY,[e.createTextVNode(e.toDisplayString((le=(oe=_.wave)==null?void 0:oe.swell)==null?void 0:le.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ie=(ae=_.wave)==null?void 0:ae.swell)==null?void 0:ie.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",rY,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((re=(de=_.wave)==null?void 0:de.swell)==null?void 0:re.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((u=(Ee=_.wave)==null?void 0:Ee.swell)==null?void 0:u.period,1)),1),e.createElementVNode("td",null,[(ye=(he=_.wave)==null?void 0:he.sig)!=null&&ye.height?(e.openBlock(),e.createElementBlock("span",mY,[e.createTextVNode(e.toDisplayString((pe=(Ne=_.wave)==null?void 0:Ne.sig)==null?void 0:pe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((xe=(ge=_.wave)==null?void 0:ge.sig)==null?void 0:xe.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",pY,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ke=(be=_.wave)==null?void 0:be.sig)==null?void 0:ke.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ce=(De=_.wave)==null?void 0:De.sig)==null?void 0:Ce.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",hY,[e.createElementVNode("div",_Y,[e.createElementVNode("div",EY,[e.createElementVNode("div",yY,[e.createElementVNode("div",{class:"header-item",onClick:s[2]||(s[2]=_=>a.version="Pretty")},"Pretty")])]),e.createElementVNode("div",NY,[VY,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((U=t.report)==null?void 0:U.rows,(_,L)=>{var H,$,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(($=_==null?void 0:_.extend)==null?void 0:$.at(-1).utc,_==null?void 0:_.localTZ))+", "+e.toDisplayString(n.computeTZ(_==null?void 0:_.localTZ))+")",1)],8,fY)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays),(M,J)=>{var Y;return e.openBlock(),e.createElementBlock("th",{key:J,colspan:_.paccInDays[M].colspan,class:e.normalizeClass((Y=_.paccInDays[M])==null?void 0:Y.level)},e.toDisplayString(M)+" ("+e.toDisplayString(_.paccInDays[M].pacc)+")",11,gY)}),128))]),e.createElementVNode("tr",xY,[(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,J)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:J},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays[M]),(Y,j)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j},[Y==="0"?(e.openBlock(),e.createElementBlock("th",bY,"00-06")):e.createCommentVNode("",!0),Y==="1"?(e.openBlock(),e.createElementBlock("th",kY,"06-12")):e.createCommentVNode("",!0),Y==="2"?(e.openBlock(),e.createElementBlock("th",DY,"12-18")):e.createCommentVNode("",!0),Y==="3"?(e.openBlock(),e.createElementBlock("th",CY,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",SY,"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,J)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:J},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays[M]),(Y,j)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j},[["0","1","2","3"].includes(Y)?(e.openBlock(),e.createElementBlock("td",BY,e.toDisplayString(n.roundPrecision(_==null?void 0:_.paccInDays[M][Y],1)),1)):e.createCommentVNode("",!0)],64))),128))],64))),128))])])])])}),128))])])])],512),[[e.vShow,a.version==="Brief"]])])}const kc=we(mU,[["render",wY],["__scopeId","data-v-164362dd"]]),TY={install(o){o.component("PrecipitationReport",kc)}},AY={install(o){o.component("IdmLoading",ua)}},lK="",FY={name:"OrmEeas",components:{IdmBrand:jo,Lng:ja,Lat:Ka,Editor:pl},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{remarks:void 0,editable:!1,loading:!0}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return o?`${X(o).utc().format(s)}`:"-"}},computeLat(){return function(o){return me.LngLatHelper.lat2pretty(o,2)}},computeLng(){return function(o){return me.LngLatHelper.lng2pretty(o,2)}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(o,s){o!=null&&o.id&&(this.loading=!1,this.$nextTick(()=>{var t;this.remarks=(t=this.report)==null?void 0:t.remarks}))},immediate:!0}},methods:{handleCommit(o){this.editable=!1,this.$emit("commit",o)}}},I=o=>(e.pushScopeId("data-v-4e78368a"),o=o(),e.popScopeId(),o),OY={class:"eeas-report"},PY={class:"section info-section flex-space border"},LY={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},$Y={class:"flex-space label-block row",style:{width:"100%"}},WY=I(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),HY={style:{"text-transform":"uppercase"}},MY={class:"flex-space label-block row",style:{width:"100%"}},IY=I(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),GY={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},RY={class:"flex-space label-block row",style:{width:"100%"}},zY=I(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),UY={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},YY={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},ZY={class:"flex-space label-block row",style:{width:"100%"}},QY=I(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),JY={key:0,class:"flex-end",style:{flex:"1"}},jY={key:1,class:"flex-end",style:{flex:"1"}},KY=I(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),XY={class:"flex-end",style:{width:"150px"}},qY={class:"flex-space label-block row",style:{width:"100%"}},uY=I(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),vY={key:0,class:"flex-end",style:{flex:"1"}},eZ={key:1,class:"flex-end",style:{flex:"1"}},tZ=I(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),oZ={class:"flex-end",style:{width:"150px"}},lZ={class:"flex-space label-block row",style:{width:"100%"}},aZ=I(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),nZ={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},sZ={class:"section summary-section"},cZ=I(()=>e.createElementVNode("div",{class:"section-title"},"Report Summary",-1)),iZ={class:"section-content"},dZ=I(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label",colspan:"2"},"CP"),e.createElementVNode("th",{class:"label",colspan:"2"},"Daily FO CONS"),e.createElementVNode("th",{class:"label",colspan:"2"},"Daily MGO CONS")])],-1)),rZ=I(()=>e.createElementVNode("td",{colspan:"2"},"Idle",-1)),mZ={colspan:"2"},pZ={colspan:"2"},hZ=I(()=>e.createElementVNode("td",{colspan:"2"},"Working",-1)),_Z={colspan:"2"},EZ={colspan:"2"},yZ={class:"phase-box flex-between"},NZ={class:"item",style:{width:"22%"}},VZ=I(()=>e.createElementVNode("div",{class:"phase-title"},"Total Idle Time",-1)),fZ={class:"text"},gZ=I(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),xZ={class:"item",style:{width:"22%"}},bZ=I(()=>e.createElementVNode("div",{class:"phase-title"},"Total Working Time",-1)),kZ={class:"text"},DZ=I(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),CZ={class:"item",style:{width:"26%"}},SZ=I(()=>e.createElementVNode("div",{class:"phase-title"},"FO Total Consumption",-1)),BZ={class:"text",style:{"text-align":"left"}},wZ=I(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),TZ={key:0,class:"value"},AZ=[I(()=>e.createElementVNode("div",{class:"phase-title"},"N/A",-1))],FZ={key:1,class:"value"},OZ={class:"phase-title"},PZ=I(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),LZ={class:"item",style:{width:"26%"}},$Z=I(()=>e.createElementVNode("div",{class:"phase-title"},"MGO Total Consumption",-1)),WZ={class:"text",style:{"text-align":"left"}},HZ=I(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),MZ={key:0,class:"value"},IZ=[I(()=>e.createElementVNode("div",{class:"phase-title"},"N/A",-1))],GZ={key:1,class:"value"},RZ={class:"phase-title"},zZ=I(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),UZ=I(()=>e.createElementVNode("div",{class:"section-title"},"Remarks",-1)),YZ={class:"section-content"},ZZ={key:0,class:""},QZ=["innerHTML"],JZ={key:1,class:"txt"},jZ={class:"section port-bunker-section"},KZ=I(()=>e.createElementVNode("div",{class:"section-title"},"Port Bunker Analysis",-1)),XZ={class:"section-content"},qZ=I(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label",rowspan:"2"},"Port"),e.createElementVNode("th",{class:"label",rowspan:"2"},"Period"),e.createElementVNode("th",{class:"label",rowspan:"2"},"Total Time (hrs)"),e.createElementVNode("th",{class:"label",colspan:"2"},"Total CONS (mt)"),e.createElementVNode("th",{class:"label",colspan:"2"},"Actual Daily 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)),uZ={rowspan:"2"},vZ=I(()=>e.createElementVNode("td",null,"Idle",-1)),eQ=I(()=>e.createElementVNode("td",null,"Working",-1)),tQ={class:"section consumption-section"},oQ=I(()=>e.createElementVNode("div",{class:"section-title"},"CP Consumption Caculation",-1)),lQ={class:"section-content flex-start",style:{"margin-bottom":"20px"}},aQ={class:"formula-block",style:{flex:"1"}},nQ={class:"flex-start"},sQ=e.createStaticVNode('<div class="fraction" style="width:260px;" data-v-4e78368a>CP FO Consumption at Idle Period</div><div class="sig" data-v-4e78368a>=</div><div class="fraction" data-v-4e78368a>Total Idle Time</div><div class="sig" data-v-4e78368a>x</div><div class="fraction flex-center" data-v-4e78368a><div class="content" data-v-4e78368a><div data-v-4e78368a>CP Daily FO Consumption</div><div class="line" data-v-4e78368a></div><div data-v-4e78368a>24</div></div></div><div class="sig" data-v-4e78368a>=</div>',6),cQ={class:"fraction"},iQ=I(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),dQ={class:"fraction flex-center"},rQ={class:"content"},mQ=I(()=>e.createElementVNode("div",{class:"line"},null,-1)),pQ=I(()=>e.createElementVNode("div",null,"24",-1)),hQ=I(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),_Q={class:"fraction"},EQ={class:"flex-start"},yQ=e.createStaticVNode('<div class="fraction" style="width:260px;" data-v-4e78368a>CP FO Consumption at Working Period</div><div class="sig" data-v-4e78368a>=</div><div class="fraction" data-v-4e78368a>Total Working Time</div><div class="sig" data-v-4e78368a>x</div><div class="fraction flex-center" data-v-4e78368a><div class="content" data-v-4e78368a><div data-v-4e78368a>CP Daily FO Consumption</div><div class="line" data-v-4e78368a></div><div data-v-4e78368a>24</div></div></div><div class="sig" data-v-4e78368a>=</div>',6),NQ={class:"fraction"},VQ=I(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),fQ={class:"fraction flex-center"},gQ={class:"content"},xQ=I(()=>e.createElementVNode("div",{class:"line"},null,-1)),bQ=I(()=>e.createElementVNode("div",null,"24",-1)),kQ=I(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),DQ={class:"fraction"},CQ={class:"flex-start"},SQ=e.createStaticVNode('<div class="fraction" style="width:260px;" data-v-4e78368a>CP FO Total Consumption</div><div class="sig" data-v-4e78368a>=</div><div class="fraction" data-v-4e78368a>FO Consumption at Idle Period</div><div class="sig" data-v-4e78368a>+</div><div class="fraction" data-v-4e78368a>FO Consumption at Working Period</div><div class="sig" data-v-4e78368a>=</div>',6),BQ={class:"fraction"},wQ=I(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),TQ={class:"fraction"},AQ=I(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),FQ={class:"fraction"},OQ={key:0,class:"flex-start"},PQ={class:"fraction",style:{width:"260px"}},LQ=e.createStaticVNode('<div class="sig" data-v-4e78368a>=</div><div class="fraction" data-v-4e78368a>CP FO Total Consumption</div><div class="sig" data-v-4e78368a>-</div><div class="fraction" data-v-4e78368a>Actual FO Total Consumption</div><div class="sig" data-v-4e78368a>=</div>',5),$Q={class:"fraction"},WQ=I(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),HQ={class:"fraction"},MQ=I(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),IQ={class:"fraction"},GQ={key:1,class:"flex-start"},RQ={class:"fraction",style:{width:"260px"}},zQ=e.createStaticVNode('<div class="sig" data-v-4e78368a>=</div><div class="fraction" data-v-4e78368a>Actual FO Total Consumption</div><div class="sig" data-v-4e78368a>-</div><div class="fraction" data-v-4e78368a>CP FO Total Consumption</div><div class="sig" data-v-4e78368a>=</div>',5),UQ={class:"fraction"},YQ=I(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),ZQ={class:"fraction"},QQ=I(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),JQ={class:"fraction"},jQ={key:2,class:"flex-start"},KQ=e.createStaticVNode('<div class="fraction" style="width:260px;" data-v-4e78368a>FO Over/Saving-Consumption</div><div class="sig" data-v-4e78368a>=</div><div class="fraction" data-v-4e78368a>CP FO Total Consumption</div><div class="sig" data-v-4e78368a>-</div><div class="fraction" data-v-4e78368a>Actual FO Total Consumption</div><div class="sig" data-v-4e78368a>=</div>',6),XQ={class:"fraction"},qQ=I(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),uQ={class:"fraction"},vQ=I(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),eJ={class:"fraction"},tJ={class:"section-content flex-start"},oJ={class:"formula-block",style:{flex:"1"}},lJ={class:"flex-start"},aJ=e.createStaticVNode('<div class="fraction" style="width:260px;" data-v-4e78368a>CP MGO Consumption at Idle Period</div><div class="sig" data-v-4e78368a>=</div><div class="fraction" data-v-4e78368a>Total Idle Time</div><div class="sig" data-v-4e78368a>x</div><div class="fraction flex-center" data-v-4e78368a><div class="content" data-v-4e78368a><div data-v-4e78368a>CP Daily MGO Consumption</div><div class="line" data-v-4e78368a></div><div data-v-4e78368a>24</div></div></div><div class="sig" data-v-4e78368a>=</div>',6),nJ={class:"fraction"},sJ=I(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),cJ={class:"fraction flex-center"},iJ={class:"content"},dJ=I(()=>e.createElementVNode("div",{class:"line"},null,-1)),rJ=I(()=>e.createElementVNode("div",null,"24",-1)),mJ=I(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),pJ={class:"fraction"},hJ={class:"flex-start"},_J=e.createStaticVNode('<div class="fraction" style="width:260px;" data-v-4e78368a>CP MGO Consumption at Working Period</div><div class="sig" data-v-4e78368a>=</div><div class="fraction" data-v-4e78368a>Total Working Time</div><div class="sig" data-v-4e78368a>x</div><div class="fraction flex-center" data-v-4e78368a><div class="content" data-v-4e78368a><div data-v-4e78368a>CP Daily MGO Consumption</div><div class="line" data-v-4e78368a></div><div data-v-4e78368a>24</div></div></div><div class="sig" data-v-4e78368a>=</div>',6),EJ={class:"fraction"},yJ=I(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),NJ={class:"fraction flex-center"},VJ={class:"content"},fJ=I(()=>e.createElementVNode("div",{class:"line"},null,-1)),gJ=I(()=>e.createElementVNode("div",null,"24",-1)),xJ=I(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),bJ={class:"fraction"},kJ={class:"flex-start"},DJ=e.createStaticVNode('<div class="fraction" style="width:260px;" data-v-4e78368a>CP MGO Total Consumption</div><div class="sig" data-v-4e78368a>=</div><div class="fraction" data-v-4e78368a>MGO Consumption at Idle Period</div><div class="sig" data-v-4e78368a>+</div><div class="fraction" data-v-4e78368a>MGO Consumption at Working Period</div><div class="sig" data-v-4e78368a>=</div>',6),CJ={class:"fraction"},SJ=I(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),BJ={class:"fraction"},wJ=I(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),TJ={class:"fraction"},AJ={key:0,class:"flex-start"},FJ={class:"fraction",style:{width:"260px"}},OJ=e.createStaticVNode('<div class="sig" data-v-4e78368a>=</div><div class="fraction" data-v-4e78368a>CP MGO Total Consumption</div><div class="sig" data-v-4e78368a>-</div><div class="fraction" data-v-4e78368a>Actual MGO Total Consumption</div><div class="sig" data-v-4e78368a>=</div>',5),PJ={class:"fraction"},LJ=I(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),$J={class:"fraction"},WJ=I(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),HJ={class:"fraction"},MJ={key:1,class:"flex-start"},IJ={class:"fraction",style:{width:"260px"}},GJ=e.createStaticVNode('<div class="sig" data-v-4e78368a>=</div><div class="fraction" data-v-4e78368a>Actual MGO Total Consumption</div><div class="sig" data-v-4e78368a>-</div><div class="fraction" data-v-4e78368a>CP MGO Total Consumption</div><div class="sig" data-v-4e78368a>=</div>',5),RJ={class:"fraction"},zJ=I(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),UJ={class:"fraction"},YJ=I(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),ZJ={class:"fraction"},QJ={key:2,class:"flex-start"},JJ=e.createStaticVNode('<div class="fraction" style="width:260px;" data-v-4e78368a>MGO Over/Saving-Consumption</div><div class="sig" data-v-4e78368a>=</div><div class="fraction" data-v-4e78368a>CP MGO Total Consumption</div><div class="sig" data-v-4e78368a>-</div><div class="fraction" data-v-4e78368a>Actual MGO Total Consumption</div><div class="sig" data-v-4e78368a>=</div>',6),jJ={class:"fraction"},KJ=I(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),XJ={class:"fraction"},qJ=I(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),uJ={class:"fraction"},vJ={class:"section vessel-report-section"},ej=I(()=>e.createElementVNode("div",{class:"section-title"},"Vessel Reports",-1)),tj={class:"section-content"},oj=I(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label",rowspan:"2"},"Port"),e.createElementVNode("th",{class:"label",rowspan:"2"},"Type"),e.createElementVNode("th",{class:"label",rowspan:"2"},"Date (UTC)"),e.createElementVNode("th",{class:"label",colspan:"2"},"Position"),e.createElementVNode("th",{class:"label",rowspan:"2"},"Time"),e.createElementVNode("th",{class:"label",rowspan:"2"},"Dist"),e.createElementVNode("th",{class:"label",colspan:"2"},"Total Cons (mt)"),e.createElementVNode("th",{class:"label",colspan:"2"},"Brob (mt)"),e.createElementVNode("th",{class:"label",colspan:"3"},"Working Period"),e.createElementVNode("th",{class:"label",colspan:"3"},"Idle Period"),e.createElementVNode("th",{class:"label",rowspan:"2"},"Port ETD (UTC)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"LAT"),e.createElementVNode("th",{class:"label"},"LON"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"hrs"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"hrs"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO")])],-1));function lj(o,s,t,r,a,n){var x,h,N,D,b,C,k,A,F,B,w,V,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at"),p=e.resolveComponent("Lng"),g=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",OY,[e.createVNode(E,{name:"Energy Efficiency Analysis Report"}),e.createElementVNode("div",PY,[e.createElementVNode("div",LY,[e.createElementVNode("div",$Y,[WY,e.createElementVNode("span",HY,e.toDisplayString((N=(h=(x=t.report)==null?void 0:x.voyage)==null?void 0:h.company)==null?void 0:N.name),1)]),e.createElementVNode("div",MY,[IY,e.createElementVNode("span",GY,e.toDisplayString((C=(b=(D=t.report)==null?void 0:D.voyage)==null?void 0:b.vessel)==null?void 0:C.name)+" ("+e.toDisplayString((F=(A=(k=t.report)==null?void 0:k.voyage)==null?void 0:A.vessel)==null?void 0:F.type)+")",1)]),e.createElementVNode("div",RY,[zY,e.createElementVNode("span",UY,e.toDisplayString((w=(B=t.report)==null?void 0:B.voyage)==null?void 0:w.number),1)])]),e.createElementVNode("div",YY,[e.createElementVNode("div",ZY,[QY,(O=(V=t.report)==null?void 0:V.departure)!=null&&O.name?(e.openBlock(),e.createElementBlock("span",JY,e.toDisplayString((R=(G=t.report)==null?void 0:G.departure)==null?void 0:R.name),1)):(e.openBlock(),e.createElementBlock("div",jY,[e.createVNode(c,{lat:(U=(z=t.report)==null?void 0:z.departure)==null?void 0:U.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),KY,e.createVNode(p,{lng:(_=t.report.departure)==null?void 0:_.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",XY,e.toDisplayString(n.computeUTCTime((L=t.report.departure)==null?void 0:L.atd,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",qY,[uY,($=(H=t.report)==null?void 0:H.destination)!=null&&$.name?(e.openBlock(),e.createElementBlock("span",vY,e.toDisplayString((M=(P=t.report)==null?void 0:P.destination)==null?void 0:M.name),1)):(e.openBlock(),e.createElementBlock("div",eZ,[e.createVNode(c,{lat:(Y=(J=t.report)==null?void 0:J.destination)==null?void 0:Y.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),tZ,e.createVNode(p,{lng:(se=(j=t.report)==null?void 0:j.destination)==null?void 0:se.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",oZ,e.toDisplayString(n.computeUTCTime((l=(ce=t.report)==null?void 0:ce.destination)==null?void 0:l.ata,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",lZ,[aZ,e.createElementVNode("span",nZ,e.toDisplayString((ee=(q=t.report)==null?void 0:q.voyage)==null?void 0:ee.loadCondition),1)])])]),e.createElementVNode("div",sZ,[cZ,e.createElementVNode("div",iZ,[e.createElementVNode("table",null,[dZ,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[rZ,e.createElementVNode("td",mZ,e.toDisplayString((ie=(ae=(le=(oe=(te=t.report)==null?void 0:te.eeas)==null?void 0:oe.extend)==null?void 0:le.cp)==null?void 0:ae.idle)==null?void 0:ie.fo),1),e.createElementVNode("td",pZ,e.toDisplayString((he=(u=(Ee=(re=(de=t.report)==null?void 0:de.eeas)==null?void 0:re.extend)==null?void 0:Ee.cp)==null?void 0:u.idle)==null?void 0:he.dgo),1)]),e.createElementVNode("tr",null,[hZ,e.createElementVNode("td",_Z,e.toDisplayString((xe=(ge=(pe=(Ne=(ye=t.report)==null?void 0:ye.eeas)==null?void 0:Ne.extend)==null?void 0:pe.cp)==null?void 0:ge.working)==null?void 0:xe.fo),1),e.createElementVNode("td",EZ,e.toDisplayString((Fe=(Ce=(De=(ke=(be=t.report)==null?void 0:be.eeas)==null?void 0:ke.extend)==null?void 0:De.cp)==null?void 0:Ce.working)==null?void 0:Fe.dgo),1)])])]),e.createElementVNode("div",yZ,[e.createElementVNode("div",NZ,[VZ,e.createElementVNode("div",fZ,[e.createTextVNode(e.toDisplayString((We=($e=(Le=(Pe=(Oe=t.report)==null?void 0:Oe.eeas)==null?void 0:Pe.extend)==null?void 0:Le.actual)==null?void 0:$e.idle)==null?void 0:We.totalTime),1),gZ])]),e.createElementVNode("div",xZ,[bZ,e.createElementVNode("div",kZ,[e.createTextVNode(e.toDisplayString((je=(Je=(Ve=(Me=(He=t.report)==null?void 0:He.eeas)==null?void 0:Me.extend)==null?void 0:Ve.actual)==null?void 0:Je.working)==null?void 0:je.totalTime),1),DZ])]),e.createElementVNode("div",CZ,[SZ,e.createElementVNode("div",BZ,[e.createTextVNode(e.toDisplayString((Ue=(Se=(T=(Ke=t.report)==null?void 0:Ke.eeas)==null?void 0:T.extend)==null?void 0:Se.actual)==null?void 0:Ue.totalFoCons),1),wZ]),((et=(ve=(ue=(qe=(Xe=t.report)==null?void 0:Xe.eeas)==null?void 0:qe.extend)==null?void 0:ue.summary)==null?void 0:ve.fo)==null?void 0:et.status)==="N/A"?(e.openBlock(),e.createElementBlock("div",TZ,AZ)):(e.openBlock(),e.createElementBlock("div",FZ,[e.createElementVNode("div",null,[e.createElementVNode("span",OZ,e.toDisplayString((Ye=(Ge=(Be=(W=(m=t.report)==null?void 0:m.eeas)==null?void 0:W.extend)==null?void 0:Be.summary)==null?void 0:Ge.fo)==null?void 0:Ye.status)+"-consumption ",1),e.createElementVNode("i",{class:e.normalizeClass(["iconfont",((rt=(ot=(tt=(Ze=(_e=t.report)==null?void 0:_e.eeas)==null?void 0:Ze.extend)==null?void 0:tt.summary)==null?void 0:ot.fo)==null?void 0:rt.status)==="Saving"?"gain":"lost"])},e.toDisplayString(((Nt=(yt=(ht=(pt=(mt=t.report)==null?void 0:mt.eeas)==null?void 0:pt.extend)==null?void 0:ht.summary)==null?void 0:yt.fo)==null?void 0:Nt.status)==="Saving"?"":""),3),e.createElementVNode("span",{class:e.normalizeClass(((bt=(xt=(gt=(ft=(Vt=t.report)==null?void 0:Vt.eeas)==null?void 0:ft.extend)==null?void 0:gt.summary)==null?void 0:xt.fo)==null?void 0:bt.status)==="Saving"?"gain":"lost")},e.toDisplayString((Bt=(St=(Ct=(Dt=(kt=t.report)==null?void 0:kt.eeas)==null?void 0:Dt.extend)==null?void 0:Ct.summary)==null?void 0:St.fo)==null?void 0:Bt.margin),3),PZ])]))]),e.createElementVNode("div",LZ,[$Z,e.createElementVNode("div",WZ,[e.createTextVNode(e.toDisplayString((Ft=(At=(Tt=(wt=t.report)==null?void 0:wt.eeas)==null?void 0:Tt.extend)==null?void 0:At.actual)==null?void 0:Ft.totalDgoCons),1),HZ]),((co=($t=(Lt=(Pt=(Ot=t.report)==null?void 0:Ot.eeas)==null?void 0:Pt.extend)==null?void 0:Lt.summary)==null?void 0:$t.dgo)==null?void 0:co.status)==="N/A"?(e.openBlock(),e.createElementBlock("div",MZ,IZ)):(e.openBlock(),e.createElementBlock("div",GZ,[e.createElementVNode("div",null,[e.createElementVNode("span",RZ,e.toDisplayString((ho=(po=(mo=(ro=(io=t.report)==null?void 0:io.eeas)==null?void 0:ro.extend)==null?void 0:mo.summary)==null?void 0:po.dgo)==null?void 0:ho.status)+"-consumption",1),e.createElementVNode("i",{class:e.normalizeClass(["iconfont",((Vo=(No=(yo=(Eo=(_o=t.report)==null?void 0:_o.eeas)==null?void 0:Eo.extend)==null?void 0:yo.summary)==null?void 0:No.dgo)==null?void 0:Vo.status)==="Saving"?"gain":"lost"])},e.toDisplayString(((ko=(bo=(xo=(go=(fo=t.report)==null?void 0:fo.eeas)==null?void 0:go.extend)==null?void 0:xo.summary)==null?void 0:bo.dgo)==null?void 0:ko.status)==="Saving"?"":""),3),e.createElementVNode("span",{class:e.normalizeClass(((at=(lt=(Ie=(S=(Do=t.report)==null?void 0:Do.eeas)==null?void 0:S.extend)==null?void 0:Ie.summary)==null?void 0:lt.dgo)==null?void 0:at.status)==="Saving"?"gain":"lost")},e.toDisplayString((It=(Mt=(Ht=(Wt=(_t=t.report)==null?void 0:_t.eeas)==null?void 0:Wt.extend)==null?void 0:Ht.summary)==null?void 0:Mt.dgo)==null?void 0:It.margin),3),zZ])]))])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(a.remarks)?"print-hidden":""])},[UZ,e.createElementVNode("div",YZ,[a.editable?(e.openBlock(),e.createElementBlock("div",ZZ,[a.editable?(e.openBlock(),e.createBlock(g,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=v=>a.remarks=v),class:"editor",height:"80px",onBlur:s[1]||(s[1]=v=>n.handleCommit(v))},null,8,["modelValue"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-block",onDblclick:s[2]||(s[2]=v=>a.editable=!0)},[n.computeBlankHtml(a.remarks)?(e.openBlock(),e.createElementBlock("div",JZ,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:a.remarks},null,8,QZ))],32))])],2),e.createElementVNode("div",jZ,[KZ,e.createElementVNode("div",XZ,[e.createElementVNode("table",null,[qZ,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((zt=(Rt=(Gt=t.report)==null?void 0:Gt.eeas)==null?void 0:Rt.extend)==null?void 0:zt.ports,v=>{var Za,Qa,Kn,Xn,qn,un,vn,es,ts,os,ls,as,ns,ss,cs,is,ds,rs,ms,ps,hs,_s,Es,ys,Ns,Vs,fs,gs,xs,bs,ks,Ds,Cs,Ss,Bs,ws,Ts,As,Fs,Os,Ps,Ls,$s,Ws,Hs,Ms,Is,Gs,Rs,zs,Us,Ys,Zs,Qs,Js,js,Ks,Xs;return e.openBlock(),e.createElementBlock("tbody",{key:v.port},[e.createElementVNode("tr",null,[e.createElementVNode("td",uZ,e.toDisplayString(v.port),1),vZ,e.createElementVNode("td",null,e.toDisplayString((Za=v.idle)==null?void 0:Za.totalTime),1),e.createElementVNode("td",{class:e.normalizeClass(((Qa=v.idle)==null?void 0:Qa.totalFoCons)>((vn=(un=(qn=(Xn=(Kn=t.report)==null?void 0:Kn.eeas)==null?void 0:Xn.extend)==null?void 0:qn.cp)==null?void 0:un.idle)==null?void 0:vn.totalFoCons)?"lost":"")},e.toDisplayString((es=v.idle)==null?void 0:es.totalFoCons),3),e.createElementVNode("td",{class:e.normalizeClass(((ts=v.idle)==null?void 0:ts.totalDgoCons)>((ss=(ns=(as=(ls=(os=t.report)==null?void 0:os.eeas)==null?void 0:ls.extend)==null?void 0:as.cp)==null?void 0:ns.idle)==null?void 0:ss.totalDgoCons)?"lost":"")},e.toDisplayString((cs=v.idle)==null?void 0:cs.totalDgoCons),3),e.createElementVNode("td",{class:e.normalizeClass(((is=v.idle)==null?void 0:is.dailyFoCons)>((hs=(ps=(ms=(rs=(ds=t.report)==null?void 0:ds.eeas)==null?void 0:rs.extend)==null?void 0:ms.cp)==null?void 0:ps.idle)==null?void 0:hs.fo)?"lost":"")},e.toDisplayString((_s=v.idle)==null?void 0:_s.dailyFoCons),3),e.createElementVNode("td",{class:e.normalizeClass(((Es=v.idle)==null?void 0:Es.dailyDgoCons)>((gs=(fs=(Vs=(Ns=(ys=t.report)==null?void 0:ys.eeas)==null?void 0:Ns.extend)==null?void 0:Vs.cp)==null?void 0:fs.idle)==null?void 0:gs.dgo)?"lost":"")},e.toDisplayString((xs=v.idle)==null?void 0:xs.dailyDgoCons),3)]),e.createElementVNode("tr",null,[eQ,e.createElementVNode("td",null,e.toDisplayString((bs=v.working)==null?void 0:bs.totalTime),1),e.createElementVNode("td",{class:e.normalizeClass(((ks=v.working)==null?void 0:ks.totalFoCons)>((ws=(Bs=(Ss=(Cs=(Ds=t.report)==null?void 0:Ds.eeas)==null?void 0:Cs.extend)==null?void 0:Ss.cp)==null?void 0:Bs.working)==null?void 0:ws.totalFoCons)?"lost":"")},e.toDisplayString((Ts=v.working)==null?void 0:Ts.totalFoCons),3),e.createElementVNode("td",{class:e.normalizeClass(((As=v.working)==null?void 0:As.totalDgoCons)>(($s=(Ls=(Ps=(Os=(Fs=t.report)==null?void 0:Fs.eeas)==null?void 0:Os.extend)==null?void 0:Ps.cp)==null?void 0:Ls.working)==null?void 0:$s.totalDgoCons)?"lost":"")},e.toDisplayString((Ws=v.working)==null?void 0:Ws.totalDgoCons),3),e.createElementVNode("td",{class:e.normalizeClass(((Hs=v.working)==null?void 0:Hs.dailyFoCons)>((zs=(Rs=(Gs=(Is=(Ms=t.report)==null?void 0:Ms.eeas)==null?void 0:Is.extend)==null?void 0:Gs.cp)==null?void 0:Rs.working)==null?void 0:zs.fo)?"lost":"")},e.toDisplayString((Us=v.working)==null?void 0:Us.dailyFoCons),3),e.createElementVNode("td",{class:e.normalizeClass(((Ys=v.working)==null?void 0:Ys.dailyDgoCons)>((Ks=(js=(Js=(Qs=(Zs=t.report)==null?void 0:Zs.eeas)==null?void 0:Qs.extend)==null?void 0:Js.cp)==null?void 0:js.working)==null?void 0:Ks.dgo)?"lost":"")},e.toDisplayString((Xs=v.working)==null?void 0:Xs.dailyDgoCons),3)])])}),128))])])]),e.createElementVNode("div",tQ,[oQ,e.createElementVNode("div",lQ,[e.createElementVNode("div",aQ,[e.createElementVNode("div",nQ,[sQ,e.createElementVNode("div",cQ,e.toDisplayString((Jt=(Qt=(Zt=(Yt=(Ut=t.report)==null?void 0:Ut.eeas)==null?void 0:Yt.extend)==null?void 0:Zt.actual)==null?void 0:Qt.idle)==null?void 0:Jt.totalTime),1),iQ,e.createElementVNode("div",dQ,[e.createElementVNode("div",rQ,[e.createElementVNode("div",null,e.toDisplayString((ut=(qt=(Xt=(Kt=(jt=t.report)==null?void 0:jt.eeas)==null?void 0:Kt.extend)==null?void 0:Xt.cp)==null?void 0:qt.idle)==null?void 0:ut.fo),1),mQ,pQ])]),hQ,e.createElementVNode("div",_Q,e.toDisplayString((lo=(oo=(to=(eo=(vt=t.report)==null?void 0:vt.eeas)==null?void 0:eo.extend)==null?void 0:to.cp)==null?void 0:oo.idle)==null?void 0:lo.totalFoCons)+" (mt)",1)]),e.createElementVNode("div",EQ,[yQ,e.createElementVNode("div",NQ,e.toDisplayString((Bo=(So=(Co=(no=(ao=t.report)==null?void 0:ao.eeas)==null?void 0:no.extend)==null?void 0:Co.actual)==null?void 0:So.working)==null?void 0:Bo.totalTime),1),VQ,e.createElementVNode("div",fQ,[e.createElementVNode("div",gQ,[e.createElementVNode("div",null,e.toDisplayString((Oo=(Fo=(Ao=(To=(wo=t.report)==null?void 0:wo.eeas)==null?void 0:To.extend)==null?void 0:Ao.cp)==null?void 0:Fo.working)==null?void 0:Oo.fo),1),xQ,bQ])]),kQ,e.createElementVNode("div",DQ,e.toDisplayString((Ho=(Wo=($o=(Lo=(Po=t.report)==null?void 0:Po.eeas)==null?void 0:Lo.extend)==null?void 0:$o.cp)==null?void 0:Wo.working)==null?void 0:Ho.totalFoCons)+" (mt)",1)]),e.createElementVNode("div",CQ,[SQ,e.createElementVNode("div",BQ,e.toDisplayString((zo=(Ro=(Go=(Io=(Mo=t.report)==null?void 0:Mo.eeas)==null?void 0:Io.extend)==null?void 0:Go.cp)==null?void 0:Ro.idle)==null?void 0:zo.totalFoCons),1),wQ,e.createElementVNode("div",TQ,e.toDisplayString((Ko=(Qo=(Zo=(Yo=(Uo=t.report)==null?void 0:Uo.eeas)==null?void 0:Yo.extend)==null?void 0:Zo.cp)==null?void 0:Qo.working)==null?void 0:Ko.totalFoCons),1),AQ,e.createElementVNode("div",FQ,e.toDisplayString((vo=(uo=(qo=(Xo=t.report)==null?void 0:Xo.eeas)==null?void 0:qo.extend)==null?void 0:uo.cp)==null?void 0:vo.totalFoCons)+" (mt)",1)]),((ll=(ol=(tl=(el=t.report)==null?void 0:el.eeas)==null?void 0:tl.extend)==null?void 0:ol.summary)==null?void 0:ll.fo.status)==="Saving"?(e.openBlock(),e.createElementBlock("div",OQ,[e.createElementVNode("div",PQ,"FO "+e.toDisplayString((cl=(sl=(nl=(al=t.report)==null?void 0:al.eeas)==null?void 0:nl.extend)==null?void 0:sl.summary)==null?void 0:cl.fo.status)+"-Consumption",1),LQ,e.createElementVNode("div",$Q,e.toDisplayString((ml=(rl=(dl=(il=t.report)==null?void 0:il.eeas)==null?void 0:dl.extend)==null?void 0:rl.cp)==null?void 0:ml.totalFoCons),1),WQ,e.createElementVNode("div",HQ,e.toDisplayString((El=(_l=(hl=(ct=t.report)==null?void 0:ct.eeas)==null?void 0:hl.extend)==null?void 0:_l.actual)==null?void 0:El.totalFoCons),1),MQ,e.createElementVNode("div",IQ,e.toDisplayString((fl=(Vl=(Nl=(yl=t.report)==null?void 0:yl.eeas)==null?void 0:Nl.extend)==null?void 0:Vl.summary)==null?void 0:fl.fo.margin)+" (mt)",1)])):((kl=(bl=(xl=(gl=t.report)==null?void 0:gl.eeas)==null?void 0:xl.extend)==null?void 0:bl.summary)==null?void 0:kl.fo.status)==="Over"?(e.openBlock(),e.createElementBlock("div",GQ,[e.createElementVNode("div",RQ,"FO "+e.toDisplayString((Bl=(Sl=(Cl=(Dl=t.report)==null?void 0:Dl.eeas)==null?void 0:Cl.extend)==null?void 0:Sl.summary)==null?void 0:Bl.fo.status)+"-Consumption",1),zQ,e.createElementVNode("div",UQ,e.toDisplayString((Fl=(Al=(Tl=(wl=t.report)==null?void 0:wl.eeas)==null?void 0:Tl.extend)==null?void 0:Al.actual)==null?void 0:Fl.totalFoCons),1),YQ,e.createElementVNode("div",ZQ,e.toDisplayString(($l=(Ll=(Pl=(Ol=t.report)==null?void 0:Ol.eeas)==null?void 0:Pl.extend)==null?void 0:Ll.cp)==null?void 0:$l.totalFoCons),1),QQ,e.createElementVNode("div",JQ,e.toDisplayString((Il=(Ml=(Hl=(Wl=t.report)==null?void 0:Wl.eeas)==null?void 0:Hl.extend)==null?void 0:Ml.summary)==null?void 0:Il.fo.margin)+" (mt)",1)])):(e.openBlock(),e.createElementBlock("div",jQ,[KQ,e.createElementVNode("div",XQ,e.toDisplayString((Ul=(zl=(Rl=(Gl=t.report)==null?void 0:Gl.eeas)==null?void 0:Rl.extend)==null?void 0:zl.cp)==null?void 0:Ul.totalFoCons),1),qQ,e.createElementVNode("div",uQ,e.toDisplayString((Jl=(Ql=(Zl=(Yl=t.report)==null?void 0:Yl.eeas)==null?void 0:Zl.extend)==null?void 0:Ql.actual)==null?void 0:Jl.totalFoCons),1),vQ,e.createElementVNode("div",eJ,e.toDisplayString((ql=(Xl=(Kl=(jl=t.report)==null?void 0:jl.eeas)==null?void 0:Kl.extend)==null?void 0:Xl.summary)==null?void 0:ql.fo.margin)+" (mt)",1)]))])]),e.createElementVNode("div",tJ,[e.createElementVNode("div",oJ,[e.createElementVNode("div",lJ,[aJ,e.createElementVNode("div",nJ,e.toDisplayString((oa=(ta=(ea=(vl=(ul=t.report)==null?void 0:ul.eeas)==null?void 0:vl.extend)==null?void 0:ea.actual)==null?void 0:ta.idle)==null?void 0:oa.totalTime),1),sJ,e.createElementVNode("div",cJ,[e.createElementVNode("div",iJ,[e.createElementVNode("div",null,e.toDisplayString((ca=(sa=(na=(aa=(la=t.report)==null?void 0:la.eeas)==null?void 0:aa.extend)==null?void 0:na.cp)==null?void 0:sa.idle)==null?void 0:ca.dgo),1),dJ,rJ])]),mJ,e.createElementVNode("div",pJ,e.toDisplayString((pa=(ma=(ra=(da=(ia=t.report)==null?void 0:ia.eeas)==null?void 0:da.extend)==null?void 0:ra.cp)==null?void 0:ma.idle)==null?void 0:pa.totalDgoCons)+" (mt)",1)]),e.createElementVNode("div",hJ,[_J,e.createElementVNode("div",EJ,e.toDisplayString((Na=(ya=(Ea=(_a=(ha=t.report)==null?void 0:ha.eeas)==null?void 0:_a.extend)==null?void 0:Ea.actual)==null?void 0:ya.working)==null?void 0:Na.totalTime),1),yJ,e.createElementVNode("div",NJ,[e.createElementVNode("div",VJ,[e.createElementVNode("div",null,e.toDisplayString((Q=(xa=(ga=(fa=(Va=t.report)==null?void 0:Va.eeas)==null?void 0:fa.extend)==null?void 0:ga.cp)==null?void 0:xa.working)==null?void 0:Q.dgo),1),fJ,gJ])]),xJ,e.createElementVNode("div",bJ,e.toDisplayString((Ca=(Da=(ka=(ba=(so=t.report)==null?void 0:so.eeas)==null?void 0:ba.extend)==null?void 0:ka.cp)==null?void 0:Da.working)==null?void 0:Ca.totalDgoCons)+" (mt)",1)]),e.createElementVNode("div",kJ,[DJ,e.createElementVNode("div",CJ,e.toDisplayString((Qe=(Ta=(wa=(Ba=(Sa=t.report)==null?void 0:Sa.eeas)==null?void 0:Ba.extend)==null?void 0:wa.cp)==null?void 0:Ta.idle)==null?void 0:Qe.totalDgoCons),1),SJ,e.createElementVNode("div",BJ,e.toDisplayString((K=(Wa=($a=(La=(Pa=t.report)==null?void 0:Pa.eeas)==null?void 0:La.extend)==null?void 0:$a.cp)==null?void 0:Wa.working)==null?void 0:K.totalDgoCons),1),wJ,e.createElementVNode("div",TJ,e.toDisplayString((Ia=(Ma=(Ha=(Jo=t.report)==null?void 0:Jo.eeas)==null?void 0:Ha.extend)==null?void 0:Ma.cp)==null?void 0:Ia.totalDgoCons)+" (mt)",1)]),((Ua=(za=(Ra=(Ga=t.report)==null?void 0:Ga.eeas)==null?void 0:Ra.extend)==null?void 0:za.summary)==null?void 0:Ua.dgo.status)==="Saving"?(e.openBlock(),e.createElementBlock("div",AJ,[e.createElementVNode("div",FJ,"MGO "+e.toDisplayString((en=(va=(it=(Ya=t.report)==null?void 0:Ya.eeas)==null?void 0:it.extend)==null?void 0:va.summary)==null?void 0:en.dgo.status)+"-Consumption",1),OJ,e.createElementVNode("div",PJ,e.toDisplayString((an=(ln=(on=(tn=t.report)==null?void 0:tn.eeas)==null?void 0:on.extend)==null?void 0:ln.cp)==null?void 0:an.totalDgoCons),1),LJ,e.createElementVNode("div",$J,e.toDisplayString((dn=(cn=(sn=(nn=t.report)==null?void 0:nn.eeas)==null?void 0:sn.extend)==null?void 0:cn.actual)==null?void 0:dn.totalDgoCons),1),WJ,e.createElementVNode("div",HJ,e.toDisplayString((hn=(pn=(mn=(rn=t.report)==null?void 0:rn.eeas)==null?void 0:mn.extend)==null?void 0:pn.summary)==null?void 0:hn.dgo.margin)+" (mt)",1)])):((Nn=(yn=(En=(_n=t.report)==null?void 0:_n.eeas)==null?void 0:En.extend)==null?void 0:yn.summary)==null?void 0:Nn.dgo.status)==="Over"?(e.openBlock(),e.createElementBlock("div",MJ,[e.createElementVNode("div",IJ,"MGO "+e.toDisplayString((xn=(gn=(fn=(Vn=t.report)==null?void 0:Vn.eeas)==null?void 0:fn.extend)==null?void 0:gn.summary)==null?void 0:xn.dgo.status)+"-Consumption",1),GJ,e.createElementVNode("div",RJ,e.toDisplayString((Cn=(Dn=(kn=(bn=t.report)==null?void 0:bn.eeas)==null?void 0:kn.extend)==null?void 0:Dn.actual)==null?void 0:Cn.totalDgoCons),1),zJ,e.createElementVNode("div",UJ,e.toDisplayString((Tn=(wn=(Bn=(Sn=t.report)==null?void 0:Sn.eeas)==null?void 0:Bn.extend)==null?void 0:wn.cp)==null?void 0:Tn.totalDgoCons),1),YJ,e.createElementVNode("div",ZJ,e.toDisplayString((Pn=(On=(Fn=(An=t.report)==null?void 0:An.eeas)==null?void 0:Fn.extend)==null?void 0:On.summary)==null?void 0:Pn.dgo.margin)+" (mt)",1)])):(e.openBlock(),e.createElementBlock("div",QJ,[JJ,e.createElementVNode("div",jJ,e.toDisplayString((Hn=(Wn=($n=(Ln=t.report)==null?void 0:Ln.eeas)==null?void 0:$n.extend)==null?void 0:Wn.cp)==null?void 0:Hn.totalDgoCons),1),KJ,e.createElementVNode("div",XJ,e.toDisplayString((Rn=(Gn=(In=(Mn=t.report)==null?void 0:Mn.eeas)==null?void 0:In.extend)==null?void 0:Gn.actual)==null?void 0:Rn.totalDgoCons),1),qJ,e.createElementVNode("div",uJ,e.toDisplayString((Zn=(Yn=(Un=(zn=t.report)==null?void 0:zn.eeas)==null?void 0:Un.extend)==null?void 0:Yn.summary)==null?void 0:Zn.dgo.margin)+" (mt)",1)]))])])]),e.createElementVNode("div",vJ,[ej,e.createElementVNode("div",tj,[e.createElementVNode("table",null,[oj,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((jn=(Jn=(Qn=t.report)==null?void 0:Qn.eeas)==null?void 0:Jn.extend)==null?void 0:jn.eecs,v=>{var Za,Qa;return e.openBlock(),e.createElementBlock("tr",{key:v.id},[e.createElementVNode("td",null,e.toDisplayString(v.Port),1),e.createElementVNode("td",null,e.toDisplayString(v.ManoeuvringType||"-"),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime(v.Date)),1),e.createElementVNode("td",null,e.toDisplayString((Za=n.computeLat(v.Lat))==null?void 0:Za.pretty),1),e.createElementVNode("td",null,e.toDisplayString((Qa=n.computeLng(v.Lng))==null?void 0:Qa.pretty),1),e.createElementVNode("td",null,e.toDisplayString(v.ManoeuvringHours||"-"),1),e.createElementVNode("td",null,e.toDisplayString(v.ManoeuvringDist||"-"),1),e.createElementVNode("td",null,e.toDisplayString(v.TotCons_FO||"-"),1),e.createElementVNode("td",null,e.toDisplayString(v.TotCons_DGO||"-"),1),e.createElementVNode("td",null,e.toDisplayString(v.BROB_FO||"-"),1),e.createElementVNode("td",null,e.toDisplayString(v.BROB_DGO||"-"),1),e.createElementVNode("td",null,e.toDisplayString(v.TTLDailyWorkingHrs||"-"),1),e.createElementVNode("td",null,e.toDisplayString(v.WorkingPeriodCons_FO||"-"),1),e.createElementVNode("td",null,e.toDisplayString(v.WorkingPeriodCons_DGO||"-"),1),e.createElementVNode("td",null,e.toDisplayString(v.TTLDailyIdleHrs||"-"),1),e.createElementVNode("td",null,e.toDisplayString(v.IdlePeriodCons_FO||"-"),1),e.createElementVNode("td",null,e.toDisplayString(v.IdlePeriodCons_DGO||"-"),1),e.createElementVNode("td",null,e.toDisplayString(v.PortETD||"-"),1)])}),128))])])])])])}const Dc=we(FY,[["render",lj],["__scopeId","data-v-4e78368a"]]),aj={install(o){o.component("EeasReport",Dc)}};Z.BrandPlugin=Pz,Z.ComparisonPlugin=Cz,Z.DeviationPlugin=QW,Z.DeviationReport=mc,Z.EeasReport=Dc,Z.EeasReportPlugin=aj,Z.FliComparisonReport=Ec,Z.FliDeviationReport=pc,Z.FliInvoiceReport=dc,Z.FliPlanReport=lc,Z.FliVoyageReport=nc,Z.HurricanePlugin=NB,Z.IdmBrand=jo,Z.IdmEditor=pl,Z.IdmEditorPlugin=dh,Z.IdmLat=Ka,Z.IdmLatPlugin=rh,Z.IdmLng=ja,Z.IdmLngPlugin=mh,Z.IdmLoading=ua,Z.IdmThird=yc,Z.InvoicePlugin=t9,Z.LoadingPlugin=AY,Z.ORMPointReport=oc,Z.OrmComparisonReport=_c,Z.OrmInvoiceReport=ic,Z.OrmPlanReport=qs,Z.OrmQuoteReport=Vc,Z.OrmQuoteReport4SEOA=gc,Z.OrmQuoteReport4TongLi=bc,Z.OrmVoyageReport=sc,Z.PiLogo=ac,Z.PiLogoPlugin=Vh,Z.PointReportPlugin=od,Z.PrecipitationReport=kc,Z.PrecipitationReportPlugin=TY,Z.QuoteReportPlugin=rU,Z.RouteReport=qs,Z.RouteReportPlugin=ih,Z.StoppageReport=hc,Z.StoppageReportPlugin=NM,Z.TropicalReport=cc,Z.VoyageReportPlugin=hB,Object.defineProperty(Z,Symbol.toStringTag,{value:"Module"})});