@idmwx/idmui-report 3.6.0 → 3.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -18
- package/dist/Deviation/src/orm.vue.d.ts +1 -2
- package/dist/index.js +4487 -4522
- package/dist/index.umd.cjs +6 -6
- package/dist/pi.svg +48 -48
- package/dist/style.css +1 -1
- package/package.json +70 -70
package/dist/index.umd.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(Y,ae){typeof exports=="object"&&typeof module<"u"?ae(exports,require("@idm-plugin/geo"),require("moment"),require("vue"),require("echarts"),require("@wangeditor/editor-for-vue"),require("@idmui/tropical"),require("@element-plus/icons-vue"),require("element-plus"),require("axios"),require("mapbox-gl")):typeof define=="function"&&define.amd?define(["exports","@idm-plugin/geo","moment","vue","echarts","@wangeditor/editor-for-vue","@idmui/tropical","@element-plus/icons-vue","element-plus","axios","mapbox-gl"],ae):(Y=typeof globalThis<"u"?globalThis:Y||self,ae(Y["idmui-report"]={},Y["@idm-plugin/geo"],Y.moment,Y.Vue,Y.echarts,Y["@wangeditor/editor-for-vue"],Y["@idmui/tropical"],Y["@element-plus/icons-vue"],Y["element-plus"],Y.axios,Y["mapbox-gl"]))})(this,function(Y,ae,K,e,Hi,Cn,$i,Ja,Sn,Qa,hl){"use strict";function Mi(t){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const l in t)if(l!=="default"){const r=Object.getOwnPropertyDescriptor(t,l);Object.defineProperty(s,l,r.get?r:{enumerable:!0,get:()=>t[l]})}}return s.default=t,Object.freeze(s)}const Ka=Mi(Hi),VU="",Ce=(t,s)=>{const l=t.__vccOpts||t;for(const[r,a]of s)l[r]=a;return l},Ii={name:"IdmBrand",props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${(t?K(t):K()).utc().format(s)}`}}}},Bn=t=>(e.pushScopeId("data-v-b7008706"),t=t(),e.popScopeId(),t),Gi={class:"section brand-section flex-space"},Ri=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),zi={class:"report-box flex-space"},Ui={class:"name flex-start"},Yi={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},Zi={class:"flex-start",style:{width:"100%"}},Qi={class:"label-block flex-evenly",style:{flex:"1"}},Ji=Bn(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),Ki={class:"flex-end",style:{flex:"2"}},ji=Bn(()=>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 ui(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("div",Gi,[Ri,e.createElementVNode("div",zi,[e.createElementVNode("div",Ui,e.toDisplayString(l.name),1),e.createElementVNode("div",Yi,[e.createElementVNode("div",Zi,[e.createElementVNode("div",Qi,[Ji,e.createElementVNode("span",Ki,e.toDisplayString(n.computeUTCTime(l.issued,"MMM-DD, YYYY")),1)])]),ji])])])}const Io=Ce(Ii,[["render",ui],["__scopeId","data-v-b7008706"]]),Xi={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}}},qi={key:0,class:"loading"},vi=e.createElementVNode("i",{class:"iconfont"},"",-1);function ec(t,s,l,r,a,n){return l.loading?(e.openBlock(),e.createElementBlock("div",qi,[vi,e.createElementVNode("div",null,e.toDisplayString(l.text),1)])):e.createCommentVNode("",!0)}const ja=Ce(Xi,[["render",ec]]),fU="",tc={name:"ORMPointReport",components:{IdmLoading:ja,IdmBrand:Io},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0}},data(){return{echart:void 0,localTZ:"0",loading:!0}},computed:{computeLat(){return function(t){return ae.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ae.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,s=8,l="MMM-DD/HHmm[LT]"){return`${K(t).utcOffset(s).format(l)}`}},computeTZ(){return function(t="0"){return ae.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const l=Number("1".padEnd(s+1,"0"));return Math.round(t*l)/l}else return"-"}},computeDegree(){return function(t,s){t=t%360;for(let l=0;l<17;l++)if(l*22.5+t+11.25>=360){let r=(16-l)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var r,a,n,E,i,p,b,x,h,y;const s={};for(let k=0;k<((a=(r=t==null?void 0:t.extend)==null?void 0:r.data)==null?void 0:a.length);k++){const g=(n=t==null?void 0:t.extend)==null?void 0:n.data[k];if(k===0)g.precip.pacc=0;else{const C=(E=t==null?void 0:t.extend)==null?void 0:E.data[k-1],D=K(g.utc).utcOffset(this.localTZ),T=K(C.utc).utcOffset(this.localTZ),F=(i=C==null?void 0:C.precip)==null?void 0:i.prate,B=D.diff(T,"h"),w=this.roundPrecision(F*B,1);if(g.precip.pacc=w,w>0){const V=s[D.format("MMM-DD")],O=Math.floor(D.get("hour")/6);V?(V.pacc=this.roundPrecision(V.pacc+w,1),V[`${O}`]?V[`${O}`]+=w:(V[`${O}`]=w,V.colspan+=1)):(s[D.format("MMM-DD")]={pacc:w,colspan:1},s[D.format("MMM-DD")][`${O}`]=w)}}}t.paccInDays=s;let l=0;for(const k of Object.keys(s))l+=(p=s[k])==null?void 0:p.colspan,s[k].level=((b=s[k])==null?void 0:b.pacc)<10?"Light":((x=s[k])==null?void 0:x.pacc)<24.9?"Moderate":((h=s[k])==null?void 0:h.pacc)<49.9?"Heavy":((y=s[k])==null?void 0:y.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=l,t}}},watch:{report:{handler(){var t,s,l,r;(s=(t=this.report)==null?void 0:t.extend)!=null&&s.data&&(this.loading=!1,this.localTZ=ae.LngLatHelper.guessTimeZoneOffset((l=this.report)==null?void 0:l.lng,(r=this.report)==null?void 0:r.lat),this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},methods:{initEchart(){var n,E,i;this.echart||(this.echart=e.markRaw(Ka.init(this.$refs.echart)));const t=[],s=[],l={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let r=4;(i=(E=(n=this.report)==null?void 0:n.extend)==null?void 0:E.data)==null||i.forEach(p=>{var x,h,y,k,g,C,D,T,F,B,w,V,O;const b=K(p.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");t.push(b),r=((h=(x=p.wave)==null?void 0:x.sig)==null?void 0:h.height)>r?(k=(y=p.wave)==null?void 0:y.sig)==null?void 0:k.height:r,s.push([b,(g=p.wind)==null?void 0:g.kts,(C=p.gusts)==null?void 0:C.kts,(T=(D=p.wave)==null?void 0:D.sig)==null?void 0:T.height,(F=p.wind)==null?void 0:F.direction,(B=p.wind)==null?void 0:B.degree,(w=p.wind)==null?void 0:w.scale,(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:t}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:r,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip Acc",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:l.dateTime,y:l.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:s,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:l.dateTime,y:l.waveHeight},data:s,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:l.dateTime,y:l.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:s,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:l.dateTime,y:l.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:s,z:2}]};this.echart.setOption(a)}}},ze=t=>(e.pushScopeId("data-v-84da66b8"),t=t(),e.popScopeId(),t),oc={class:"point-report"},lc={class:"section info-section"},ac={class:"flex-evenly"},nc={class:"flex-space label-block",style:{width:"100%"}},sc=ze(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),ic={class:"flex-space label-block",style:{width:"100%"}},cc=ze(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),dc={class:"flex-evenly"},rc={class:"flex-space label-block",style:{width:"100%"}},mc=ze(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),pc={class:"flex-space label-block",style:{width:"100%"}},hc={class:"flex-end",style:{width:"180px"}},_c={class:"section echart-section"},Ec={ref:"echart",class:"echart"},yc={class:"section sample-section"},Nc=ze(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Vc=ze(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),fc=ze(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),bc=ze(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),xc=ze(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),gc=ze(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),Dc=["colspan"],kc=ze(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Cc=ze(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Sc=ze(()=>e.createElementVNode("th",null,"Dir",-1)),Bc=ze(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),wc=ze(()=>e.createElementVNode("th",null,"BF",-1)),Ac=ze(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Tc=ze(()=>e.createElementVNode("th",null,"Dir",-1)),Fc=ze(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Oc=ze(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Pc=ze(()=>e.createElementVNode("th",null,"Dir",-1)),Lc=ze(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Wc=ze(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Hc=ze(()=>e.createElementVNode("th",null,"Dir",-1)),$c=ze(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Mc={key:0},Ic={key:1},Gc=ze(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Rc=ze(()=>e.createElementVNode("th",null,"°C",-1)),zc={width:"120px"},Uc={key:0,class:"degree-box"},Yc={key:1},Zc={key:0,class:"degree-box"},Qc={key:1},Jc={key:0,class:"degree-box"},Kc={key:1},jc={key:0,class:"degree-box"},uc={key:1},Xc={key:0},qc={key:1};function vc(t,s,l,r,a,n){var p,b,x,h;const E=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",oc,[e.createVNode(E,{name:"Point Weather Forecast"}),e.createVNode(i,{loading:a.loading},null,8,["loading"]),e.createElementVNode("div",lc,[e.createElementVNode("div",ac,[e.createElementVNode("div",nc,[sc,e.createElementVNode("span",null,e.toDisplayString(n.computeLat((p=l.report)==null?void 0:p.lat).pretty)+" / "+e.toDisplayString(n.computeLng((b=l.report)==null?void 0:b.lng).pretty),1)]),e.createElementVNode("div",ic,[cc,e.createElementVNode("span",null,e.toDisplayString(n.computeLTime(l.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",dc,[e.createElementVNode("div",rc,[mc,e.createElementVNode("span",null,e.toDisplayString(n.computeTZ(a.localTZ)),1)]),e.createElementVNode("div",pc,[e.createElementVNode("label",hc,"("+e.toDisplayString(n.computeTZ(a.localTZ))+")",1),e.createElementVNode("span",null,e.toDisplayString(n.computeLTime(l.report.updatedAt,a.localTZ,"YYYY, MMM-DD/HHmm[LT]")),1)])])]),e.createElementVNode("div",_c,[e.createElementVNode("div",Ec,null,512)]),e.createElementVNode("div",yc,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Nc,Vc,fc,bc,xc,gc,e.createElementVNode("th",{colspan:l.showPrate&&l.showAcc?2:1},"Precip",8,Dc),kc,Cc]),e.createElementVNode("tr",null,[Sc,Bc,wc,Ac,Tc,Fc,Oc,Pc,Lc,Wc,Hc,$c,l.showPrate?(e.openBlock(),e.createElementBlock("th",Mc,"Rate (mm/h)")):e.createCommentVNode("",!0),l.showAcc?(e.openBlock(),e.createElementBlock("th",Ic,"Acc (mm)")):e.createCommentVNode("",!0),Gc,Rc])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=(x=l.report)==null?void 0:x.extend)==null?void 0:h.data,(y,k)=>{var g,C,D,T,F,B,w,V,O,I,G,R,z,_,L,$,W,P,M,Q,U,J,ne,se,o,u,v,ee,te,oe,le,ie,ce,de;return e.openBlock(),e.createElementBlock("tr",{key:k},[e.createElementVNode("td",zc,e.toDisplayString(n.computeLTime(y.utc,a.localTZ)),1),e.createElementVNode("td",null,[(g=y.wind)!=null&&g.kts?(e.openBlock(),e.createElementBlock("span",Uc,[e.createTextVNode(e.toDisplayString((C=y.wind)==null?void 0:C.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((D=y.wind)==null?void 0:D.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Yc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((T=y.wind)==null?void 0:T.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((F=y.wind)==null?void 0:F.scale),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((B=y.gusts)==null?void 0:B.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((V=(w=y.wave)==null?void 0:w.wd)==null?void 0:V.height,1)),1),e.createElementVNode("td",null,[(I=(O=y.wave)==null?void 0:O.swell)!=null&&I.height?(e.openBlock(),e.createElementBlock("span",Zc,[e.createTextVNode(e.toDisplayString((R=(G=y.wave)==null?void 0:G.swell)==null?void 0:R.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((_=(z=y.wave)==null?void 0:z.swell)==null?void 0:_.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Qc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(($=(L=y.wave)==null?void 0:L.swell)==null?void 0:$.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((P=(W=y.wave)==null?void 0:W.swell)==null?void 0:P.period,1)),1),e.createElementVNode("td",null,[(Q=(M=y.wave)==null?void 0:M.sig)!=null&&Q.height?(e.openBlock(),e.createElementBlock("span",Jc,[e.createTextVNode(e.toDisplayString((J=(U=y.wave)==null?void 0:U.sig)==null?void 0:J.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((se=(ne=y.wave)==null?void 0:ne.sig)==null?void 0:se.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Kc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((u=(o=y.wave)==null?void 0:o.sig)==null?void 0:u.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ee=(v=y.wave)==null?void 0:v.sig)==null?void 0:ee.period,1)),1),e.createElementVNode("td",null,[(te=y.current)!=null&&te.kts?(e.openBlock(),e.createElementBlock("span",jc,[e.createTextVNode(e.toDisplayString((oe=y.current)==null?void 0:oe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((le=y.current)==null?void 0:le.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",uc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ie=y.current)==null?void 0:ie.kts,1)),1),l.showPrate?(e.openBlock(),e.createElementBlock("td",Xc,e.toDisplayString(n.roundPrecision((ce=y.precip)==null?void 0:ce.prate,2)),1)):e.createCommentVNode("",!0),l.showAcc?(e.openBlock(),e.createElementBlock("td",qc,e.toDisplayString(n.roundPrecision((de=y.precip)==null?void 0:de.acc,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(y.visibility/1852,0)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(y.temp,1)),1)])}),128))])])])])}const wn=Ce(tc,[["render",vc],["__scopeId","data-v-84da66b8"]]),ed={install(t){t.component("ORMPointReport",wn)}},bU="",td={name:"IdmLng",props:{lng:{type:Number,default:void 0},label:{type:String,default:"Lng"}},data(){return{pretty:void 0}},watch:{lng:{handler(){if(this.lng!==void 0){const t=ae.LngLatHelper.convertToStdLng(this.lng);this.pretty=ae.LngLatHelper.lng2pretty(t).pretty}},immediate:!0}}},od={class:"lng-box"},ld={key:0};function ad(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("div",od,[l.label?(e.openBlock(),e.createElementBlock("span",ld,e.toDisplayString(l.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(a.pretty),1)])}const ua=Ce(td,[["render",ad],["__scopeId","data-v-0d3c152f"]]),xU="",nd={name:"IdmLat",props:{lat:{type:Number,default:void 0},label:{type:String,default:"Lat"}},data(){return{pretty:void 0}},watch:{lat:{handler(){this.lat!==void 0&&(this.pretty=ae.LngLatHelper.lat2pretty(this.lat).pretty)},immediate:!0}}},sd={class:"lat-box"},id={key:0};function cd(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("div",sd,[l.label?(e.openBlock(),e.createElementBlock("span",id,e.toDisplayString(l.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(a.pretty),1)])}const Xa=Ce(nd,[["render",cd],["__scopeId","data-v-3d953d12"]]),gU="",dd={name:"IdmEditor",components:{Editor:Cn.Editor,Toolbar:Cn.Toolbar},props:{height:{type:String,default:"200px"},modelValue:{type:String,default:()=>""},disabled:{type:Boolean,default:()=>!1}},data(){return{editorRef:null,editor:null,mode:"simple",valueHtml:void 0,editorConfig:{placeholder:"please input something..."},toolbarConfig:{toolbarKeys:["bold","color","bgColor","fontSize","lineHeight"]}}},watch:{disabled:{handler(t){var s,l;t?(s=this.editor)==null||s.disable():(l=this.editor)==null||l.enable()}},modelValue:{handler(){var t;this.valueHtml=this.modelValue,(t=this.editor)==null||t.setHtml(this.valueHtml)}}},methods:{handleCreated(t){var s;this.editorRef=e.shallowRef(),this.editor=Object.seal(t),this.valueHtml=this.modelValue,(s=this.editor)==null||s.setHtml(this.valueHtml),this.disabled?this.editor.disable():this.editor.enable()},handleChange(t){this.$emit("update:modelValue",this.valueHtml)},handleBlur(t){this.$emit("blur",this.valueHtml)},beforeDestroy(){var t;(t=this.editor)==null||t.destroy()}}},rd={class:"editor-box"};function md(t,s,l,r,a,n){const E=e.resolveComponent("Toolbar"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",rd,[e.withDirectives(e.createVNode(E,{editor:a.editor,"default-config":a.toolbarConfig,mode:a.mode,class:"toolbar"},null,8,["editor","default-config","mode"]),[[e.vShow,!l.disabled]]),e.createVNode(i,{modelValue:a.valueHtml,"onUpdate:modelValue":s[0]||(s[0]=p=>a.valueHtml=p),"default-config":a.editorConfig,mode:a.mode,class:"editor",style:e.normalizeStyle({height:l.height}),onOnCreated:n.handleCreated,onOnChange:n.handleChange,onOnBlur:n.handleBlur},null,8,["modelValue","default-config","mode","style","onOnCreated","onOnChange","onOnBlur"])])}const Go=Ce(dd,[["render",md],["__scopeId","data-v-e3eb0d7a"]]),DU="",pd={name:"OrmRouteReport",components:{Lng:ua,Lat:Xa,Editor:Go,Brand:Io,Loading:ja},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:"",echart:void 0,speedIndex:0,loading:!0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}},computeLTime(){return function(t,s,l){let r=0;return l&&s&&(r=ae.LngLatHelper.guessTimeZoneOffset(s,l)),`${K(t).utcOffset(r).format("MMM-DD/HHmm")}LT`}},computeTimeDiff(){return function(t,s){var l,r,a,n,E;if(s===0)return"-";{const i=K((a=(r=(l=t==null?void 0:t.speeds)==null?void 0:l[s])==null?void 0:r.speed)==null?void 0:a.eta).diff(K((E=(n=t==null?void 0:t.speeds)==null?void 0:n[0])==null?void 0:E.speed.eta),"h",!0);return Math.round(i*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const l=Number("1".padEnd(s+1,"0"));return Math.round(t*l)/l}else return"-"}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t,s){const l=[];if(s.length)return s.forEach(r=>{l.push(r),r.suspend&&(t!=null&&t.useRouteParam)&&l.push({etd:r.etd,eta:r.etd,isResume:!0,memo:`Stoppage: ${r.suspend}hrs`})}),l}},computeDegree(){return function(t,s){t=t%360;for(let l=0;l<17;l++)if(l*22.5+t+11.25>=360){let r=(16-l)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);margin-left:3px;`}}},computeDay(){return function(t,s=0){var n,E,i,p;const l=(p=(i=(E=(n=t==null?void 0:t.speeds)==null?void 0:n[s])==null?void 0:E.speed)==null?void 0:i.sample)==null?void 0:p.hours,r=l[0],a=l[l.length-1];return Math.round(K(a.eta).diff(K(r.eta),"day",!0)*10)/10}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.loading=!1,this.advisory=((s=this.plan)==null?void 0:s.advisory)||"Pls find the following major waypoints for your safe navigation.",this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0},initEchart(){this.echart||(this.echart=e.markRaw(Ka.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var p,b,x,h,y,k,g;const t=[],s=[],l={dateTime:0,windSpeed:1,waveHeight:2,windDirection:3,windDegree:4,windScale:5,currentFactor:6,weatherFactor:7,speed:8},r={};["W","WSW","SW","SSW","S","SSE","SE","ESE","E","ENE","NE","NNE","N","NNW","NW","WNW"].forEach((C,D)=>{r[C]=Math.PI/8*D});const n=18;let E=4;(k=(y=(h=(x=(b=(p=this.plan)==null?void 0:p.speeds)==null?void 0:b[this.speedIndex])==null?void 0:x.speed)==null?void 0:h.sample)==null?void 0:y.hours)==null||k.forEach(C=>{var T,F,B,w,V,O,I,G,R,z;const D=C.meteo;if(D){const _=K(D.utc).utc().format("MMM-DD/HHmm[Z]");t.push(_),E=Math.ceil(((F=(T=D.wave)==null?void 0:T.sig)==null?void 0:F.height)>E?(w=(B=D.wave)==null?void 0:B.sig)==null?void 0:w.height:E),s.push([_,(V=D.wind)==null?void 0:V.kts,(I=(O=D.wave)==null?void 0:O.sig)==null?void 0:I.height,(G=D.wind)==null?void 0:G.direction,(R=D.wind)==null?void 0:R.degree,(z=D.wind)==null?void 0:z.scale,C.cFactor,C.wFactor,C.speed])}});const i={animation:!1,title:{text:"Weather Conditions & Speed Analysis",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40},xAxis:[{data:t,boundaryGap:!1}],yAxis:[{name:"Wind Speed (kts)",nameLocation:"middle",position:"left",nameGap:35,minInterval:5,axisLine:{lineStyle:{color:"#000000B3"}}},{type:"value",name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:35,max:E,min:0,minInterval:1,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#da2e2ecc"}},splitLine:{show:!0},alignTicks:!0},{name:"SOG (kts)",nameLocation:"middle",position:"right",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#398626"}},splitLine:{show:!0}}],visualMap:{show:!1,type:"piecewise",orient:"horizontal",left:"center",bottom:0,pieces:[{gte:22,color:"#f85c5c",label:"≥ BF6"},{gte:17,lt:22,color:"#de8600",label:"BF5"},{lt:17,color:"#67c23a",label:"≤ BF4"}],seriesIndex:2,dimension:1},series:[{name:"Sig. Wave Height",type:"line",showSymbol:!0,yAxisIndex:1,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:l.dateTime,y:l.waveHeight},data:s,z:1},{name:"Wind Speed",type:"line",showSymbol:!0,yAxisIndex:0,encode:{x:l.dateTime,y:l.windSpeed},lineStyle:{color:"#000000B3",type:"dashed"},itemStyle:{color:"#000000B3"},data:s,z:2},{type:"custom",yAxisIndex:0,renderItem:(C,D)=>{const T=D.coord([D.value(l.dateTime),D.value(l.windSpeed)]);return{type:"path",shape:{pathData:"M31 16l-15-15v9h-26v12h26v9z",x:-n/2,y:-n/2,width:n,height:n},rotation:r[D.value(l.windDirection)],position:T,style:D.style({stroke:"#555",lineWidth:1})}},encode:{x:l.dateTime,y:l.windSpeed},data:s,z:10},{name:"Current Factor",type:"line",yAxisIndex:2,showSymbol:!0,encode:{x:l.dateTime,y:l.currentFactor},lineStyle:{color:"#da2e2ecc",type:"dotted"},itemStyle:{color:"#da2e2ecc"},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:3,showSymbol:!0,encode:{x:l.dateTime,y:l.speed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:s,z:4}]};(g=this.echart)==null||g.setOption(i)}}},Ye=t=>(e.pushScopeId("data-v-2625c0b6"),t=t(),e.popScopeId(),t),hd={class:"voyage-plan"},_d={class:"plan-report"},Ed={class:"section voyage-section flex-space"},yd={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Nd={class:"flex-start label-block",style:{width:"100%"}},Vd=Ye(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),fd={style:{"text-transform":"uppercase"},class:"text-ellipsis"},bd={class:"flex-start label-block",style:{width:"100%"}},xd=Ye(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),gd={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},Dd={class:"flex-start label-block",style:{width:"100%"}},kd=Ye(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),Cd={class:"flex-end"},Sd={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Bd={class:"flex-start label-block",style:{width:"100%"}},wd=Ye(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),Ad={key:0,class:"flex-end",style:{flex:"1"}},Td={key:1,class:"flex-end",style:{flex:"1"}},Fd=Ye(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Od={class:"flex-end",style:{width:"120px"}},Pd={class:"flex-space label-block",style:{width:"100%"}},Ld=Ye(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),Wd={key:0,class:"flex-end",style:{flex:"1"}},Hd={key:1,class:"flex-end",style:{flex:"1"}},$d=Ye(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Md={class:"flex-end",style:{width:"120px"}},Id={class:"flex-space label-block",style:{width:"100%"}},Gd=Ye(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),Rd={class:"flex-end",style:{"text-transform":"uppercase"}},zd={class:"section chart-section"},Ud=Ye(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),Yd={class:"flex-center"},Zd=["src"],Qd={class:"legends"},Jd=e.createStaticVNode('<div class="legend" data-v-2625c0b6><label style="background-color:var(--idm-dangerous);" data-v-2625c0b6></label><span data-v-2625c0b6>Dangerous</span></div><div class="legend" data-v-2625c0b6><label style="background-color:var(--idm-severe);" data-v-2625c0b6></label><span data-v-2625c0b6>Severe</span></div><div class="legend" data-v-2625c0b6><label style="background-color:var(--idm-heavy);" data-v-2625c0b6></label><span data-v-2625c0b6>Heavy</span></div>',3),Kd={class:"legend"},jd=Ye(()=>e.createElementVNode("b",{class:"route1"},null,-1)),ud={key:0,class:"legend"},Xd=Ye(()=>e.createElementVNode("b",{class:"route2"},null,-1)),qd={key:1,class:"legend"},vd=Ye(()=>e.createElementVNode("b",{class:"route3"},null,-1)),er={key:1,class:"empty"},tr={class:"section comparison-section"},or={key:0},lr=Ye(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",{rowspan:"2"},"DTG (nm)"),e.createElementVNode("th",null,"ETA (LT)"),e.createElementVNode("th",{rowspan:"2"},"Diff (h)"),e.createElementVNode("th",{colspan:"2"},"Cons (mt)"),e.createElementVNode("th",null,"Dangerous"),e.createElementVNode("th",null,"Severe"),e.createElementVNode("th",null,"Heavy")],-1)),ar=Ye(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),nr=Ye(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),sr=Ye(()=>e.createElementVNode("th",null,"*FO",-1)),ir=Ye(()=>e.createElementVNode("th",null,"*DO",-1)),cr={colspan:"3"},dr={rowspan:"2"},rr={rowspan:"2"},mr={rowspan:"2"},pr={rowspan:"2"},hr={rowspan:"2"},_r={rowspan:"2"},Er={rowspan:"2"},yr={rowspan:"2"},Nr={rowspan:"2"},Vr=Ye(()=>e.createElementVNode("div",{class:"tips"},[e.createTextVNode(" * Please note the climatology data was used for days that extend beyond the available forecast."),e.createElementVNode("br"),e.createTextVNode(" * Fuel consumption was calculated only based on CP terms, and does not reflect actual consumption. ")],-1)),fr={class:"section waypoint-section"},br={class:"header-block flex-start"},xr=Ye(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),gr={class:"title"},Dr={key:0,class:"flex-end",style:{flex:"1"}},kr=["onClick"],Cr={class:"advisory"},Sr=["innerHTML"],Br={class:"major-waypoint"},wr=e.createStaticVNode('<div class="major-header" data-v-2625c0b6><div class="cell-item flex" style="flex:1.5;" data-v-2625c0b6>Major waypoint</div><div class="cell-item flex" data-v-2625c0b6>Time</div><div class="cell-item flex" data-v-2625c0b6>Nav</div><div class="cell-item flex" data-v-2625c0b6>Dist</div><div class="cell-item flex" data-v-2625c0b6>SOG</div><div class="cell-item flex" data-v-2625c0b6>Memo</div></div>',1),Ar={class:"major-body"},Tr={class:"cell-item flex",style:{flex:"1.5"}},Fr={key:0,class:"flex-center"},Or={key:1,class:"flex-center"},Pr=Ye(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Lr={key:0},Wr={class:"cell-item flex"},Hr={key:0,class:"cell-item flex offset"},$r={key:1,class:"cell-item flex nbsp"},Mr={key:2,class:"cell-item flex offset"},Ir={key:3,class:"cell-item flex nbsp"},Gr={key:4,class:"cell-item flex offset"},Rr={key:5,class:"cell-item flex nbsp"},zr={key:6,class:"cell-item flex offset"},Ur={key:7,class:"cell-item flex nbsp"},Yr={class:"section forecast-section"},Zr={class:"header-block flex-start"},Qr=Ye(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Jr={class:"title"},Kr={key:0,class:"flex-end",style:{flex:"1"}},jr=["onClick"],ur={class:"echart-block"},Xr={ref:"echart",class:"echart"},qr=Ye(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("UTC")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),vr={class:"flex-center"},em=Ye(()=>e.createElementVNode("span",null,"/",-1)),tm={key:0,class:"degree-box"},om={key:1},lm={key:0,class:"degree-box"},am={key:1},nm={key:0,class:"degree-box"},sm={key:1},im={key:0,class:"degree-box"},cm={key:1},dm=Ye(()=>e.createElementVNode("div",{class:"tips",style:{"text-align":"justify"}},[e.createElementVNode("div",null,"The waypoints in this sheet are approximate positions."),e.createElementVNode("div",null," The route map is for reference only and should not be used for navigation. All the material is an advisory provided so as to assist the Master in making the final route decision. ")],-1));function rm(t,s,l,r,a,n){var h,y,k,g,C,D,T,F,B,w,V,O,I,G,R,z,_,L,$,W,P,M,Q,U,J,ne,se,o,u,v,ee,te,oe,le,ie,ce,de,_e,X,me,Ee,ye,re,fe,be,xe,ge,De,ke,Te,Fe,Oe,Pe,Le,We,He,$e,Ne,Ke,je,ue,A,Se,Ge,Xe,qe,ve,et,tt,m,H,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,xt,gt,Dt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,io,co,ro,mo,po,ho,_o,Eo;const E=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),p=e.resolveComponent("Lat"),b=e.resolveComponent("Lng"),x=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",hd,[e.createElementVNode("div",_d,[e.createVNode(E,{name:"Voyage Planning",issued:(h=l.plan)==null?void 0:h.updatedAt},null,8,["issued"]),e.createVNode(i,{loading:a.loading,onTimeout:s[0]||(s[0]=S=>a.loading=!1)},null,8,["loading"]),e.createElementVNode("div",Ed,[e.createElementVNode("div",yd,[e.createElementVNode("div",Nd,[Vd,e.createElementVNode("span",fd,e.toDisplayString((g=(k=(y=l.plan)==null?void 0:y.voyage)==null?void 0:k.company)==null?void 0:g.name),1)]),e.createElementVNode("div",bd,[xd,e.createElementVNode("span",gd,e.toDisplayString((T=(D=(C=l.plan)==null?void 0:C.voyage)==null?void 0:D.vessel)==null?void 0:T.name)+" ("+e.toDisplayString((V=(w=(B=(F=l.plan)==null?void 0:F.voyage)==null?void 0:B.vessel)==null?void 0:w.vesselType)==null?void 0:V.name)+")",1)]),e.createElementVNode("div",Dd,[kd,e.createElementVNode("span",Cd,e.toDisplayString((I=(O=l.plan)==null?void 0:O.voyage)==null?void 0:I.number),1)])]),e.createElementVNode("div",Sd,[e.createElementVNode("div",Bd,[wd,(z=(R=(G=l.plan)==null?void 0:G.leg)==null?void 0:R.departure)!=null&&z.name?(e.openBlock(),e.createElementBlock("span",Ad,e.toDisplayString((L=(_=l.plan)==null?void 0:_.leg)==null?void 0:L.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Td,[e.createVNode(p,{lat:(P=(W=($=l.plan)==null?void 0:$.leg)==null?void 0:W.departure)==null?void 0:P.lat,label:""},null,8,["lat"]),Fd,e.createVNode(b,{lng:(U=(Q=(M=l.plan)==null?void 0:M.leg)==null?void 0:Q.departure)==null?void 0:U.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Od,e.toDisplayString(n.computeUTCTime(((se=(ne=(J=l.plan)==null?void 0:J.leg)==null?void 0:ne.departure)==null?void 0:se.atd)||((v=(u=(o=l.plan)==null?void 0:o.leg)==null?void 0:u.departure)==null?void 0:v.etd)||((le=(oe=(te=(ee=l.plan)==null?void 0:ee.speeds)==null?void 0:te[a.speedIndex])==null?void 0:oe.speed)==null?void 0:le.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Pd,[Ld,(de=(ce=(ie=l.plan)==null?void 0:ie.leg)==null?void 0:ce.destination)!=null&&de.name?(e.openBlock(),e.createElementBlock("span",Wd,e.toDisplayString((me=(X=(_e=l.plan)==null?void 0:_e.leg)==null?void 0:X.destination)==null?void 0:me.name),1)):(e.openBlock(),e.createElementBlock("div",Hd,[e.createVNode(p,{lat:(re=(ye=(Ee=l.plan)==null?void 0:Ee.leg)==null?void 0:ye.destination)==null?void 0:re.lat,label:""},null,8,["lat"]),$d,e.createVNode(b,{lng:(xe=(be=(fe=l.plan)==null?void 0:fe.leg)==null?void 0:be.destination)==null?void 0:xe.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Md,e.toDisplayString(n.computeUTCTime(((Te=(ke=(De=(ge=l.plan)==null?void 0:ge.speeds)==null?void 0:De[a.speedIndex])==null?void 0:ke.speed)==null?void 0:Te.ata)||((Le=(Pe=(Oe=(Fe=l.plan)==null?void 0:Fe.speeds)==null?void 0:Oe[a.speedIndex])==null?void 0:Pe.speed)==null?void 0:Le.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Id,[Gd,e.createElementVNode("span",Rd,e.toDisplayString((He=(We=l.plan)==null?void 0:We.voyage)==null?void 0:He.loadCondition),1)])])]),e.createElementVNode("div",zd,[Ud,($e=l.plan)!=null&&$e.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Yd,[e.createElementVNode("img",{src:l.plan.chartUrl},null,8,Zd)]),e.createElementVNode("div",Qd,[Jd,e.createElementVNode("div",Kd,[jd,e.createElementVNode("span",{class:"btn",onClick:s[1]||(s[1]=S=>{a.speedIndex=0,n.renderEchart()})},e.toDisplayString((A=(ue=(je=(Ke=(Ne=l.plan)==null?void 0:Ne.speeds)==null?void 0:Ke[0])==null?void 0:je.speed)==null?void 0:ue.lane)==null?void 0:A.name),1)]),((Ge=(Se=l.plan)==null?void 0:Se.speeds)==null?void 0:Ge.length)>1?(e.openBlock(),e.createElementBlock("div",ud,[Xd,e.createElementVNode("span",{class:"btn",onClick:s[2]||(s[2]=S=>{a.speedIndex=1,n.renderEchart()})},e.toDisplayString((tt=(et=(ve=(qe=(Xe=l.plan)==null?void 0:Xe.speeds)==null?void 0:qe[1])==null?void 0:ve.speed)==null?void 0:et.lane)==null?void 0:tt.name),1)])):e.createCommentVNode("",!0),((H=(m=l.plan)==null?void 0:m.speeds)==null?void 0:H.length)>2?(e.openBlock(),e.createElementBlock("div",qd,[vd,e.createElementVNode("span",{class:"btn",onClick:s[3]||(s[3]=S=>{a.speedIndex=2,n.renderEchart()})},e.toDisplayString((Ue=(pe=(Re=(Me=(Be=l.plan)==null?void 0:Be.speeds)==null?void 0:Me[2])==null?void 0:Re.speed)==null?void 0:pe.lane)==null?void 0:Ue.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",er,[e.createElementVNode("span",null,[e.createTextVNode("Weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:s[4]||(s[4]=(...S)=>n.handleRefresh&&n.handleRefresh(...S))},"Refresh"),e.createTextVNode(" later please")])]))]),e.createElementVNode("div",tr,[(lt=(ot=l.plan)==null?void 0:ot.speeds)!=null&<.length?(e.openBlock(),e.createElementBlock("table",or,[e.createElementVNode("thead",null,[lr,e.createElementVNode("tr",null,[ar,nr,sr,ir,e.createElementVNode("th",cr,"*days (with in the next "+e.toDisplayString(n.computeDay(l.plan,0))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((dt=l.plan)==null?void 0:dt.speeds,(S,Ie)=>{var at,nt,ht,Lt,Wt,Ht,$t,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,ut,Xt,qt,vt,eo,to,oo,lo;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Ie},[e.createElementVNode("tr",null,[e.createElementVNode("td",dr,e.toDisplayString(Ie+1),1),e.createElementVNode("td",rr,e.toDisplayString((nt=(at=S.speed)==null?void 0:at.lane)==null?void 0:nt.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((ht=S.speed)==null?void 0:ht.label)??"CP"} ${((Lt=S.speed)==null?void 0:Lt.v0)??((Ht=(Wt=S.speed)==null?void 0:Wt.cpCopy)==null?void 0:Ht.speed)}`),1),e.createElementVNode("td",mr,e.toDisplayString(n.roundPrecision(($t=S.speed)==null?void 0:$t.distance,0)),1),e.createElementVNode("td",null,[e.createElementVNode("b",null,e.toDisplayString(n.computeLTime((Mt=S.speed)==null?void 0:Mt.eta,(Rt=(Gt=(It=l.plan)==null?void 0:It.leg)==null?void 0:Gt.destination)==null?void 0:Rt.lng,(Yt=(Ut=(zt=l.plan)==null?void 0:zt.leg)==null?void 0:Ut.destination)==null?void 0:Yt.lat)),1),e.createTextVNode(" ["+e.toDisplayString(n.computeUTCTime((Zt=S.speed)==null?void 0:Zt.eta))+"] ",1)]),e.createElementVNode("td",pr,e.toDisplayString(n.computeTimeDiff(l.plan,Ie)),1),e.createElementVNode("td",hr,e.toDisplayString(n.roundPrecision((Qt=S.speed)==null?void 0:Qt.totalFoCons,3)),1),e.createElementVNode("td",_r,e.toDisplayString(n.roundPrecision((Jt=S.speed)==null?void 0:Jt.totalDgoCons,3)),1),e.createElementVNode("td",Er,e.toDisplayString(n.roundPrecision(((Kt=S.speed)==null?void 0:Kt.dangerous)/24,1)),1),e.createElementVNode("td",yr,e.toDisplayString(n.roundPrecision(((jt=S.speed)==null?void 0:jt.severe)/24,1)),1),e.createElementVNode("td",Nr,e.toDisplayString(n.roundPrecision(((ut=S.speed)==null?void 0:ut.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((qt=(Xt=S.speed)==null?void 0:Xt.cpCopy)==null?void 0:qt.fo)+" FO / "+e.toDisplayString((eo=(vt=S.speed)==null?void 0:vt.cpCopy)==null?void 0:eo.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((to=S.speed)==null?void 0:to.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((oo=S.speed)==null?void 0:oo.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((lo=S.speed)==null?void 0:lo.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0),Vr]),e.createElementVNode("div",fr,[e.createElementVNode("div",br,[xr,e.createElementVNode("div",gr,"Advisory & Major Waypoint of Route "+e.toDisplayString((_t=(pt=(mt=(rt=l.plan.speeds)==null?void 0:rt[a.speedIndex])==null?void 0:mt.speed)==null?void 0:pt.lane)==null?void 0:_t.name),1),((yt=(Et=l.plan)==null?void 0:Et.speeds)==null?void 0:yt.length)>1?(e.openBlock(),e.createElementBlock("div",Dr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Nt=l.plan)==null?void 0:Nt.speeds,(S,Ie)=>{var at,nt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:ht=>{a.speedIndex=Ie,n.renderEchart()}},e.toDisplayString((nt=(at=S.speed)==null?void 0:at.lane)==null?void 0:nt.name),9,kr)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Cr,[a.editable?(e.openBlock(),e.createBlock(x,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[5]||(s[5]=S=>a.advisory=S),class:"editor",height:"120px",onBlur:s[6]||(s[6]=S=>n.handleCommit(S))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[7]||(s[7]=(...S)=>n.handleEdit&&n.handleEdit(...S)),innerHTML:a.advisory},null,40,Sr))]),e.createElementVNode("div",Br,[wr,e.createElementVNode("div",Ar,[(ft=(Vt=l.plan)==null?void 0:Vt.speeds)!=null&&ft.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(n.computeMajorPoints((Dt=(gt=(xt=(bt=l.plan)==null?void 0:bt.speeds)==null?void 0:xt[a.speedIndex])==null?void 0:gt.speed)==null?void 0:Dt.argv,(wt=(Bt=(St=(Ct=(kt=l.plan)==null?void 0:kt.speeds)==null?void 0:Ct[a.speedIndex])==null?void 0:St.speed)==null?void 0:Bt.sample)==null?void 0:wt.wps),(S,Ie)=>(e.openBlock(),e.createElementBlock("div",{key:Ie,class:"cell-row"},[e.createElementVNode("div",Tr,[S.isResume?(e.openBlock(),e.createElementBlock("div",Fr,"Resume")):(e.openBlock(),e.createElementBlock("div",Or,[e.createVNode(p,{lat:S.lat,label:""},null,8,["lat"]),Pr,e.createVNode(b,{lng:S.lng,label:""},null,8,["lng"]),S.pilot?(e.openBlock(),e.createElementBlock("span",Lr," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",Wr,e.toDisplayString(n.computeUTCTime(S.eta)),1),Ie?(e.openBlock(),e.createElementBlock("div",Hr,e.toDisplayString(n.computeNav(S)),1)):(e.openBlock(),e.createElementBlock("div",$r)),Ie?(e.openBlock(),e.createElementBlock("div",Mr,e.toDisplayString(n.roundPrecision(S.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Ir)),Ie?(e.openBlock(),e.createElementBlock("div",Gr,e.toDisplayString(n.roundPrecision(S.avgSpd??S.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",Rr)),Ie?(e.openBlock(),e.createElementBlock("div",zr,e.toDisplayString(n.computeMemo(S)),1)):(e.openBlock(),e.createElementBlock("div",Ur))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",Yr,[(Tt=(At=l.plan)==null?void 0:At.speeds)!=null&&Tt.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Zr,[Qr,e.createElementVNode("div",Jr," Weather Forecast for the Next "+e.toDisplayString(n.computeDay(l.plan,a.speedIndex))+" Days of Route "+e.toDisplayString((so=(no=(Pt=(Ot=(Ft=l.plan)==null?void 0:Ft.speeds)==null?void 0:Ot[a.speedIndex])==null?void 0:Pt.speed)==null?void 0:no.lane)==null?void 0:so.name),1),((co=(io=l.plan)==null?void 0:io.speeds)==null?void 0:co.length)>1?(e.openBlock(),e.createElementBlock("div",Kr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ro=l.plan)==null?void 0:ro.speeds,(S,Ie)=>{var at,nt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:ht=>{a.speedIndex=Ie,n.renderEchart()}},e.toDisplayString((nt=(at=S==null?void 0:S.speed)==null?void 0:at.lane)==null?void 0:nt.name),9,jr)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",ur,[e.createElementVNode("div",Xr,null,512)]),e.createElementVNode("table",null,[qr,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Eo=(_o=(ho=(po=(mo=l.plan)==null?void 0:mo.speeds)==null?void 0:po[a.speedIndex])==null?void 0:ho.speed)==null?void 0:_o.sample)==null?void 0:Eo.hours,(S,Ie)=>{var at,nt,ht,Lt,Wt,Ht,$t,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,ut,Xt,qt,vt,eo,to,oo,lo,yo,No,Vo,fo,bo,xo,go,Do,ko,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,Ho,$o;return e.openBlock(),e.createElementBlock("tr",{key:Ie,class:e.normalizeClass(S.isDangerous?"dangerous":S.isSevere?"severe":S.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime(S.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",vr,[e.createVNode(p,{lat:S.lat,label:""},null,8,["lat"]),em,e.createVNode(b,{lng:S.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(nt=(at=S.meteo)==null?void 0:at.wind)!=null&&nt.kts?(e.openBlock(),e.createElementBlock("span",tm,[e.createTextVNode(e.toDisplayString((Lt=(ht=S.meteo)==null?void 0:ht.wind)==null?void 0:Lt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Ht=(Wt=S.meteo)==null?void 0:Wt.wind)==null?void 0:Ht.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",om,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Mt=($t=S.meteo)==null?void 0:$t.wind)==null?void 0:Mt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Rt=(Gt=(It=S.meteo)==null?void 0:It.wave)==null?void 0:Gt.wd)==null?void 0:Rt.height,1)),1),e.createElementVNode("td",null,[(Yt=(Ut=(zt=S.meteo)==null?void 0:zt.wave)==null?void 0:Ut.swell)!=null&&Yt.height?(e.openBlock(),e.createElementBlock("span",lm,[e.createTextVNode(e.toDisplayString((Jt=(Qt=(Zt=S.meteo)==null?void 0:Zt.wave)==null?void 0:Qt.swell)==null?void 0:Jt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ut=(jt=(Kt=S.meteo)==null?void 0:Kt.wave)==null?void 0:jt.swell)==null?void 0:ut.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",am,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((vt=(qt=(Xt=S.meteo)==null?void 0:Xt.wave)==null?void 0:qt.swell)==null?void 0:vt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((oo=(to=(eo=S.meteo)==null?void 0:eo.wave)==null?void 0:to.swell)==null?void 0:oo.period,1)),1),e.createElementVNode("td",null,[(No=(yo=(lo=S.meteo)==null?void 0:lo.wave)==null?void 0:yo.sig)!=null&&No.height?(e.openBlock(),e.createElementBlock("span",nm,[e.createTextVNode(e.toDisplayString((bo=(fo=(Vo=S.meteo)==null?void 0:Vo.wave)==null?void 0:fo.sig)==null?void 0:bo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Do=(go=(xo=S.meteo)==null?void 0:xo.wave)==null?void 0:go.sig)==null?void 0:Do.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",sm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((So=(Co=(ko=S.meteo)==null?void 0:ko.wave)==null?void 0:Co.sig)==null?void 0:So.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ao=(wo=(Bo=S.meteo)==null?void 0:Bo.wave)==null?void 0:wo.sig)==null?void 0:Ao.period,1)),1),e.createElementVNode("td",null,[(Fo=(To=S.meteo)==null?void 0:To.current)!=null&&Fo.kts?(e.openBlock(),e.createElementBlock("span",im,[e.createTextVNode(e.toDisplayString((Po=(Oo=S.meteo)==null?void 0:Oo.current)==null?void 0:Po.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Wo=(Lo=S.meteo)==null?void 0:Lo.current)==null?void 0:Wo.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",cm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(($o=(Ho=S.meteo)==null?void 0:Ho.current)==null?void 0:$o.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(S.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0),dm])])])}const Dn=Ce(pd,[["render",rm],["__scopeId","data-v-2625c0b6"]]),kU="",mm={name:"RouteReport",components:{Lng:ua,Lat:Xa,Editor:Go},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}},computeLTime(){return function(t,s){const l=K(t);return l.utcOffset(s),`${l.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,s,l,r,a;return(a=(r=(l=(s=(t=this.plan)==null?void 0:t.leg)==null?void 0:s.destination)==null?void 0:l.port)==null?void 0:r.timezone)==null?void 0:a.UtcCurrentOffset},computeTimeDiff(){return function(t,s){var l,r,a;if(s===0)return"-";{const n=K((r=(l=t==null?void 0:t.speeds[s])==null?void 0:l.speed)==null?void 0:r.eta).diff(K((a=t==null?void 0:t.speeds[0])==null?void 0:a.speed.eta),"h",!0);return Math.round(n*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const l=Number("1".padEnd(s+1,"0"));return Math.round(t*l)/l}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,s){t=t%360;for(let l=0;l<17;l++)if(l*22.5+t+11.25>=360){let r=(16-l)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);margin-left:3px;`}}},computeDay(){return function(t){var a,n,E;const s=(E=(n=(a=t==null?void 0:t.speeds[0])==null?void 0:a.speed)==null?void 0:n.sample)==null?void 0:E.hours,l=s[0],r=s[s.length-1];return K(r.eta).diff(K(l.eta),"day")}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.advisory=((s=this.plan)==null?void 0:s.advisory)||"Pls find the following major waypoints for your safe navigation.")},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0}}},Ze=t=>(e.pushScopeId("data-v-9a939466"),t=t(),e.popScopeId(),t),pm={class:"route-report"},hm=Ze(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),_m={class:"section"},Em=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),ym={class:"section-body basics"},Nm={class:"flex-space section-row"},Vm={class:"flex-start"},fm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),bm={class:"flex-start"},xm={class:"flex-start"},gm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),Dm={class:"flex-start flex"},km={key:0,class:"flex"},Cm={key:1,class:"flex-space flex"},Sm=Ze(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Bm={class:"time flex"},wm={class:"flex-space section-row"},Am={class:"flex-start"},Tm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),Fm={class:"flex-start"},Om={class:"flex-start"},Pm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),Lm={class:"flex-start flex"},Wm={key:0,class:"flex"},Hm={key:1,class:"flex-space"},$m=Ze(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Mm={class:"time flex"},Im={class:"flex-space section-row"},Gm={class:"flex-start"},Rm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),zm={class:"flex-start"},Um={class:"flex-start"},Ym=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),Zm={class:"flex-start flex"},Qm={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},Jm=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),Km={class:"section-body detail"},jm={class:"flex-space",style:{"align-items":"stretch"}},um={class:"chart"},Xm=["src"],qm={key:1,class:"empty flex-center"},vm={class:"route flex",style:{"justify-content":"space-between"}},ep=Ze(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),tp={class:"suggestion"},op=["innerHTML"],lp={class:"flex-start legends"},ap=e.createStaticVNode('<div class="legend" data-v-9a939466><label style="background-color:var(--idm-severe);" data-v-9a939466></label><span data-v-9a939466>Dangerous</span></div><div class="legend" data-v-9a939466><label style="background-color:var(--idm-heavy);" data-v-9a939466></label><span data-v-9a939466>Severe</span></div><div class="legend" data-v-9a939466><b class="route1" data-v-9a939466></b><span data-v-9a939466>Route 1</span></div>',3),np={key:0,class:"legend"},sp=[Ze(()=>e.createElementVNode("b",{class:"route2"},null,-1)),Ze(()=>e.createElementVNode("span",null,"Route 2",-1))],ip={key:1,class:"legend"},cp=[Ze(()=>e.createElementVNode("b",{class:"route3"},null,-1)),Ze(()=>e.createElementVNode("span",null,"Route 3",-1))],dp={class:"section"},rp=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),mp={class:"section-body comparison"},pp={class:"container"},hp={key:0},_p=Ze(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr"),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Route"),e.createElementVNode("th",null,"TTL Dist (nm)"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",null,"CP Cons (mt)"),e.createElementVNode("th",null,"ETA (UTC)"),e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)"),e.createElementVNode("th",null,"TTL Cons (mt)")])],-1)),Ep={class:"section",style:{"page-break-inside":"avoid"}},yp=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),Np={class:"section-body sample"},Vp={class:"major-waypoints"},fp={class:"container"},bp=e.createStaticVNode('<div class="header" data-v-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),xp={class:"body"},gp={class:"cell-item flexM"},Dp={class:"flex-center"},kp=Ze(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Cp={class:"cell-item flexL"},Sp={key:0,class:"flex-center"},Bp={key:1},wp={class:"cell-item flex"},Ap={key:0,class:"cell-item flex offset"},Tp={key:1,class:"cell-item flex nbsp"},Fp={key:2,class:"cell-item flex offset"},Op={key:3,class:"cell-item flex nbsp"},Pp={key:4,class:"cell-item flex offset"},Lp={key:5,class:"cell-item flex nbsp"},Wp={class:"section"},Hp=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),$p={class:"section-body sample"},Mp={key:0},Ip=Ze(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),Gp={class:"flex-center"},Rp=Ze(()=>e.createElementVNode("span",null,"/",-1)),zp={key:0,class:"degree-box"},Up={key:1},Yp={key:0,class:"degree-box"},Zp={key:1},Qp={key:0,class:"degree-box"},Jp={key:1},Kp={key:0,class:"degree-box"},jp={key:1},up=Ze(()=>e.createElementVNode("div",{class:"section"},[e.createElementVNode("div",{class:"section-body footer"},[e.createElementVNode("div",null,[e.createTextVNode("Fleet Insight Limited "),e.createElementVNode("a",{href:"mailto:ops@fltins.com"},"ops@fltins.com")]),e.createElementVNode("div",{style:{"font-size":"11px","margin-top":"10px"}}," The waypoints and route map provided are intended for informational purposes only and should not be relied upon for actual navigation. Fleet Insight Limited assumes no liability for any direct/potential damage to vessels or cargo that may occur as a result of using this voyage plan for exact navigation. ")])],-1));function Xp(t,s,l,r,a,n){var b,x,h,y,k,g,C,D,T,F,B,w,V,O,I,G,R,z,_,L,$,W,P,M,Q,U,J,ne,se,o,u,v,ee,te,oe,le,ie,ce,de,_e,X,me,Ee,ye,re,fe,be,xe,ge,De,ke,Te,Fe,Oe,Pe,Le,We,He,$e,Ne,Ke,je,ue;const E=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",pm,[hm,e.createElementVNode("div",_m,[Em,e.createElementVNode("div",ym,[e.createElementVNode("div",Nm,[e.createElementVNode("div",Vm,[fm,e.createElementVNode("div",bm,e.toDisplayString((h=(x=(b=l.plan)==null?void 0:b.voyage)==null?void 0:x.company)==null?void 0:h.name),1)]),e.createElementVNode("div",xm,[gm,e.createElementVNode("div",Dm,[(g=(k=(y=l.plan)==null?void 0:y.leg)==null?void 0:k.departure)!=null&&g.name?(e.openBlock(),e.createElementBlock("div",km,e.toDisplayString((D=(C=l.plan)==null?void 0:C.leg)==null?void 0:D.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Cm,[e.createVNode(E,{lat:(B=(F=(T=l.plan)==null?void 0:T.leg)==null?void 0:F.departure)==null?void 0:B.lat,label:""},null,8,["lat"]),Sm,e.createVNode(i,{lng:(O=(V=(w=l.plan)==null?void 0:w.leg)==null?void 0:V.departure)==null?void 0:O.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Bm,e.toDisplayString(n.computeUTCTime(((R=(G=(I=l.plan)==null?void 0:I.leg)==null?void 0:G.departure)==null?void 0:R.atd)||((L=(_=(z=l.plan)==null?void 0:z.leg)==null?void 0:_.departure)==null?void 0:L.etd),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",wm,[e.createElementVNode("div",Am,[Tm,e.createElementVNode("div",Fm,e.toDisplayString((P=(W=($=l.plan)==null?void 0:$.voyage)==null?void 0:W.vessel)==null?void 0:P.name),1)]),e.createElementVNode("div",Om,[Pm,e.createElementVNode("div",Lm,[(U=(Q=(M=l.plan)==null?void 0:M.leg)==null?void 0:Q.destination)!=null&&U.name?(e.openBlock(),e.createElementBlock("div",Wm,e.toDisplayString((ne=(J=l.plan)==null?void 0:J.leg)==null?void 0:ne.destination.name),1)):(e.openBlock(),e.createElementBlock("div",Hm,[e.createVNode(E,{lat:(u=(o=(se=l.plan)==null?void 0:se.leg)==null?void 0:o.destination)==null?void 0:u.lat,label:""},null,8,["lat"]),$m,e.createVNode(i,{lng:(te=(ee=(v=l.plan)==null?void 0:v.leg)==null?void 0:ee.destination)==null?void 0:te.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Mm,e.toDisplayString(n.computeUTCTime(((ie=(le=(oe=l.plan)==null?void 0:oe.speeds)==null?void 0:le[0])==null?void 0:ie.speed.ata)||((de=(ce=l.plan)==null?void 0:ce.speeds)==null?void 0:de[0].speed.eta),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",Im,[e.createElementVNode("div",Gm,[Rm,e.createElementVNode("div",zm,e.toDisplayString(n.computeUTCTime((_e=l.plan)==null?void 0:_e.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",Um,[Ym,e.createElementVNode("div",Zm,[e.createElementVNode("div",null,e.toDisplayString((me=(X=l.plan)==null?void 0:X.voyage)==null?void 0:me.loadCondition),1)])])])])]),e.createElementVNode("div",Qm,[Jm,e.createElementVNode("div",Km,[e.createElementVNode("div",jm,[e.createElementVNode("div",um,[(Ee=l.plan)!=null&&Ee.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(ye=l.plan)==null?void 0:ye.chartUrl},null,8,Xm)):(e.openBlock(),e.createElementBlock("div",qm,[e.createTextVNode("waiting for weather map, "),e.createElementVNode("b",{onClick:s[0]||(s[0]=(...A)=>n.handleRefresh&&n.handleRefresh(...A))},"Refresh"),e.createTextVNode("later please")]))]),e.createElementVNode("div",vm,[e.createElementVNode("div",null,[ep,e.createElementVNode("div",tp,[a.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[1]||(s[1]=A=>a.advisory=A),class:"editor",height:"120px",onBlur:s[2]||(s[2]=A=>n.handleCommit(A))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[3]||(s[3]=(...A)=>n.handleEdit&&n.handleEdit(...A)),innerHTML:a.advisory},null,40,op))])]),e.createElementVNode("div",lp,[ap,((fe=(re=l.plan)==null?void 0:re.speeds)==null?void 0:fe.length)>1?(e.openBlock(),e.createElementBlock("div",np,sp)):e.createCommentVNode("",!0),((xe=(be=l.plan)==null?void 0:be.speeds)==null?void 0:xe.length)>2?(e.openBlock(),e.createElementBlock("div",ip,cp)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",dp,[rp,e.createElementVNode("div",mp,[e.createElementVNode("div",pp,[(De=(ge=l.plan)==null?void 0:ge.speeds)!=null&&De.length?(e.openBlock(),e.createElementBlock("table",hp,[_p,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ke=l.plan)==null?void 0:ke.speeds,(A,Se)=>{var Ge,Xe,qe,ve,et,tt,m,H,Be,Me,Re,pe,Ue,ot,lt;return e.openBlock(),e.createElementBlock("tr",{key:Se},[e.createElementVNode("td",null,"Route "+e.toDisplayString(Se+1),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ge=A.speed)==null?void 0:Ge.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${((Xe=A.speed)==null?void 0:Xe.label)??"CP"} ${((qe=A.speed)==null?void 0:qe.v0)??((et=(ve=A.speed)==null?void 0:ve.cpCopy)==null?void 0:et.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((m=(tt=A.speed)==null?void 0:tt.cpCopy)==null?void 0:m.fo)+" FO / "+e.toDisplayString((Be=(H=A.speed)==null?void 0:H.cpCopy)==null?void 0:Be.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Me=A.speed)==null?void 0:Me.eta)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Re=A.speed)==null?void 0:Re.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((pe=A.speed)==null?void 0:pe.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((Ue=A.speed)==null?void 0:Ue.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ot=A.speed)==null?void 0:ot.totalFoCons,3))+" FO /"+e.toDisplayString(n.roundPrecision((lt=A.speed)==null?void 0:lt.totalDgoCons,3))+" DO",1)])}),128))])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",Ep,[yp,e.createElementVNode("div",Np,[e.createElementVNode("div",Vp,[e.createElementVNode("div",fp,[bp,e.createElementVNode("div",xp,[(Fe=(Te=l.plan)==null?void 0:Te.speeds)!=null&&Fe.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList((We=(Le=(Pe=(Oe=l.plan)==null?void 0:Oe.speeds[0])==null?void 0:Pe.speed)==null?void 0:Le.sample)==null?void 0:We.wps,(A,Se)=>(e.openBlock(),e.createElementBlock("div",{key:Se,class:"cell-row"},[e.createElementVNode("div",gp,[e.createElementVNode("div",Dp,[e.createVNode(E,{lat:A.lat,label:""},null,8,["lat"]),kp,e.createVNode(i,{lng:A.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",Cp,[A.name?(e.openBlock(),e.createElementBlock("span",Sp,e.toDisplayString(A.name),1)):(e.openBlock(),e.createElementBlock("span",Bp,"-"))]),e.createElementVNode("div",wp,e.toDisplayString(n.computeUTCTime(A.eta)),1),Se?(e.openBlock(),e.createElementBlock("div",Ap,e.toDisplayString(n.computeNav(A)),1)):(e.openBlock(),e.createElementBlock("div",Tp)),Se?(e.openBlock(),e.createElementBlock("div",Fp,e.toDisplayString(n.roundPrecision(A.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Op)),Se?(e.openBlock(),e.createElementBlock("div",Pp,e.toDisplayString(n.roundPrecision(A.avgSpd??A.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",Lp))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Wp,[Hp,e.createElementVNode("div",$p,[($e=(He=l.plan)==null?void 0:He.speeds)!=null&&$e.length?(e.openBlock(),e.createElementBlock("table",Mp,[Ip,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ue=(je=(Ke=(Ne=l.plan)==null?void 0:Ne.speeds[0])==null?void 0:Ke.speed)==null?void 0:je.sample)==null?void 0:ue.hours,(A,Se)=>{var Ge,Xe,qe,ve,et,tt,m,H,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,xt,gt,Dt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt;return e.openBlock(),e.createElementBlock("tr",{key:Se,class:e.normalizeClass(A.isDangerous?"dangerous":A.isSevere?"severe":A.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime(A.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",Gp,[e.createVNode(E,{lat:A.lat,label:""},null,8,["lat"]),Rp,e.createVNode(i,{lng:A.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Xe=(Ge=A.meteo)==null?void 0:Ge.wind)!=null&&Xe.kts?(e.openBlock(),e.createElementBlock("span",zp,e.toDisplayString((ve=(qe=A.meteo)==null?void 0:qe.wind)==null?void 0:ve.direction),1)):(e.openBlock(),e.createElementBlock("span",Up,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((tt=(et=A.meteo)==null?void 0:et.wind)==null?void 0:tt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Be=(H=(m=A.meteo)==null?void 0:m.wave)==null?void 0:H.wd)==null?void 0:Be.height,1)),1),e.createElementVNode("td",null,[(pe=(Re=(Me=A.meteo)==null?void 0:Me.wave)==null?void 0:Re.swell)!=null&&pe.height?(e.openBlock(),e.createElementBlock("span",Yp,e.toDisplayString((lt=(ot=(Ue=A.meteo)==null?void 0:Ue.wave)==null?void 0:ot.swell)==null?void 0:lt.direction),1)):(e.openBlock(),e.createElementBlock("span",Zp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((mt=(rt=(dt=A.meteo)==null?void 0:dt.wave)==null?void 0:rt.swell)==null?void 0:mt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Et=(_t=(pt=A.meteo)==null?void 0:pt.wave)==null?void 0:_t.swell)==null?void 0:Et.period,1)),1),e.createElementVNode("td",null,[(Vt=(Nt=(yt=A.meteo)==null?void 0:yt.wave)==null?void 0:Nt.sig)!=null&&Vt.height?(e.openBlock(),e.createElementBlock("span",Qp,e.toDisplayString((xt=(bt=(ft=A.meteo)==null?void 0:ft.wave)==null?void 0:bt.sig)==null?void 0:xt.direction),1)):(e.openBlock(),e.createElementBlock("span",Jp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((kt=(Dt=(gt=A.meteo)==null?void 0:gt.wave)==null?void 0:Dt.sig)==null?void 0:kt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Bt=(St=(Ct=A.meteo)==null?void 0:Ct.wave)==null?void 0:St.sig)==null?void 0:Bt.period,1)),1),e.createElementVNode("td",null,[(At=(wt=A.meteo)==null?void 0:wt.current)!=null&&At.kts?(e.openBlock(),e.createElementBlock("span",Kp,e.toDisplayString((Ft=(Tt=A.meteo)==null?void 0:Tt.current)==null?void 0:Ft.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",jp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Pt=(Ot=A.meteo)==null?void 0:Ot.current)==null?void 0:Pt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(A.cFactor,1)),1)],2)}),128))])])):e.createCommentVNode("",!0)])]),up])}const An=Ce(mm,[["render",Xp],["__scopeId","data-v-9a939466"]]),qp={install(t){t.component("RouteReport",Dn),t.component("FliPlanReport",An),t.component("OrmPlanReport",Dn)}},vp={install(t){t.component("IdmEditor",Go)}},eh={install(t){t.component("IdmLat",Xa)}},th={install(t){t.component("IdmLng",ua)}},oh={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},lh={class:"logo"},ah={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},nh=["fill","fill-opacity"],sh=[e.createElementVNode("path",{d:`M4225 11533 c-100 -6 -311 -23 -335 -27 -14 -3 -59 -10 -100 -16
|
|
1
|
+
(function(Y,ae){typeof exports=="object"&&typeof module<"u"?ae(exports,require("@idm-plugin/geo"),require("moment"),require("vue"),require("echarts"),require("@wangeditor/editor-for-vue"),require("@idmui/tropical"),require("@element-plus/icons-vue"),require("element-plus"),require("axios"),require("mapbox-gl")):typeof define=="function"&&define.amd?define(["exports","@idm-plugin/geo","moment","vue","echarts","@wangeditor/editor-for-vue","@idmui/tropical","@element-plus/icons-vue","element-plus","axios","mapbox-gl"],ae):(Y=typeof globalThis<"u"?globalThis:Y||self,ae(Y["idmui-report"]={},Y["@idm-plugin/geo"],Y.moment,Y.Vue,Y.echarts,Y["@wangeditor/editor-for-vue"],Y["@idmui/tropical"],Y["@element-plus/icons-vue"],Y["element-plus"],Y.axios,Y["mapbox-gl"]))})(this,function(Y,ae,j,e,$c,qa,Hc,Oa,ua,Fa,hl){"use strict";function Mc(o){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const t in o)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(s,t,r.get?r:{enumerable:!0,get:()=>o[t]})}}return s.default=o,Object.freeze(s)}const Pa=Mc($c),NY="",Ce=(o,s)=>{const t=o.__vccOpts||o;for(const[r,a]of s)t[r]=a;return t},Ic={name:"IdmBrand",props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${(o?j(o):j()).utc().format(s)}`}}}},va=o=>(e.pushScopeId("data-v-7679e32b"),o=o(),e.popScopeId(),o),Gc={class:"section brand-section flex-space"},Rc=e.createStaticVNode('<div class="logo-box flex-center" data-v-7679e32b><div class="logo" data-v-7679e32b><a href="https://fmp.idmwx.com" target="_blank" data-v-7679e32b><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-7679e32b></a><a href="https://fmp.idmwx.com" target="_blank" style="text-decoration:none;" data-v-7679e32b><div class="brand" data-v-7679e32b><span style="text-decoration:underline;" data-v-7679e32b>Weather Routing</span><div class="company" data-v-7679e32b>Ocean Right Marine Service</div></div></a></div></div>',1),zc={class:"report-box flex-space"},Uc={class:"name flex-start"},Yc={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},Zc={class:"flex-start",style:{width:"100%"}},Qc={class:"label-block flex-evenly",style:{flex:"1"}},Jc=va(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),Kc={class:"flex-end",style:{flex:"2"}},jc=va(()=>e.createElementVNode("div",{class:"flex-start",style:{width:"100%"}},[e.createElementVNode("div",{class:"label-block flex-evenly",style:{flex:"1"}},[e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Mail to"),e.createElementVNode("a",{class:"flex-end",style:{flex:"2"},href:"mailto:op@ormwx.com"},"op@ormwx.com")])],-1));function Xc(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",Gc,[Rc,e.createElementVNode("div",zc,[e.createElementVNode("div",Uc,e.toDisplayString(t.name),1),e.createElementVNode("div",Yc,[e.createElementVNode("div",Zc,[e.createElementVNode("div",Qc,[Jc,e.createElementVNode("span",Kc,e.toDisplayString(n.computeUTCTime(t.issued,"MMM-DD, YYYY")),1)])]),jc])])])}const Io=Ce(Ic,[["render",Xc],["__scopeId","data-v-7679e32b"]]),qc={name:"IdmLoading",props:{loading:{type:Boolean,default:!1},text:{type:String,default:"Loading..."}},emits:["timeout"],watch:{loading:{handler(){this.loading&&setTimeout(()=>{this.$emit("timeout",!1)},5e3)},immediate:!0}}},uc={key:0,class:"loading"},vc=e.createElementVNode("i",{class:"iconfont"},"",-1);function ei(o,s,t,r,a,n){return t.loading?(e.openBlock(),e.createElementBlock("div",uc,[vc,e.createElementVNode("div",null,e.toDisplayString(t.text),1)])):e.createCommentVNode("",!0)}const La=Ce(qc,[["render",ei]]),VY="",ti={name:"ORMPointReport",components:{IdmLoading:La,IdmBrand:Io},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0}},data(){return{echart:void 0,localTZ:"0",loading:!0}},computed:{computeLat(){return function(o){return ae.LngLatHelper.lat2pretty(o,2)}},computeLng(){return function(o){return ae.LngLatHelper.lng2pretty(o,2)}},computeLTime(){return function(o,s=8,t="MMM-DD/HHmm[LT]"){return`${j(o).utcOffset(s).format(t)}`}},computeTZ(){return function(o="0"){return ae.LngLatHelper.prettyTimeZoneOffset(o)}},roundPrecision(){return function(o,s=4){if(typeof o=="number"){const t=Number("1".padEnd(s+1,"0"));return Math.round(o*t)/t}else return"-"}},computeDegree(){return function(o,s){o=o%360;for(let t=0;t<17;t++)if(t*22.5+o+11.25>=360){let r=(16-t)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(o){var r,a,n,E,c,p,b,g,h,N;const s={};for(let D=0;D<((a=(r=o==null?void 0:o.extend)==null?void 0:r.data)==null?void 0:a.length);D++){const x=(n=o==null?void 0:o.extend)==null?void 0:n.data[D];if(D===0)x.precip.pacc=0;else{const C=(E=o==null?void 0:o.extend)==null?void 0:E.data[D-1],k=j(x.utc).utcOffset(this.localTZ),T=j(C.utc).utcOffset(this.localTZ),F=(c=C==null?void 0:C.precip)==null?void 0:c.prate,B=k.diff(T,"h"),w=this.roundPrecision(F*B,1);if(x.precip.pacc=w,w>0){const f=s[k.format("MMM-DD")],O=Math.floor(k.get("hour")/6);f?(f.pacc=this.roundPrecision(f.pacc+w,1),f[`${O}`]?f[`${O}`]+=w:(f[`${O}`]=w,f.colspan+=1)):(s[k.format("MMM-DD")]={pacc:w,colspan:1},s[k.format("MMM-DD")][`${O}`]=w)}}}o.paccInDays=s;let t=0;for(const D of Object.keys(s))t+=(p=s[D])==null?void 0:p.colspan,s[D].level=((b=s[D])==null?void 0:b.pacc)<10?"Light":((g=s[D])==null?void 0:g.pacc)<24.9?"Moderate":((h=s[D])==null?void 0:h.pacc)<49.9?"Heavy":((N=s[D])==null?void 0:N.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return o.span=t,o}}},watch:{report:{handler(){var o,s,t,r;(s=(o=this.report)==null?void 0:o.extend)!=null&&s.data&&(this.loading=!1,this.localTZ=ae.LngLatHelper.guessTimeZoneOffset((t=this.report)==null?void 0:t.lng,(r=this.report)==null?void 0:r.lat),this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},methods:{initEchart(){var n,E,c;this.echart||(this.echart=e.markRaw(Pa.init(this.$refs.echart)));const o=[],s=[],t={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let r=4;(c=(E=(n=this.report)==null?void 0:n.extend)==null?void 0:E.data)==null||c.forEach(p=>{var g,h,N,D,x,C,k,T,F,B,w,f,O;const b=j(p.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");o.push(b),r=((h=(g=p.wave)==null?void 0:g.sig)==null?void 0:h.height)>r?(D=(N=p.wave)==null?void 0:N.sig)==null?void 0:D.height:r,s.push([b,(x=p.wind)==null?void 0:x.kts,(C=p.gusts)==null?void 0:C.kts,(T=(k=p.wave)==null?void 0:k.sig)==null?void 0:T.height,(F=p.wind)==null?void 0:F.direction,(B=p.wind)==null?void 0:B.degree,(w=p.wind)==null?void 0:w.scale,(f=p.current)==null?void 0:f.kts,(O=p.precip)==null?void 0:O.acc,this.roundPrecision(p.visibility/1852,0),p.temp])});const a={animation:!1,title:{text:"Weather Conditions",subtext:"Wind/Gusts/Sig.Wave/Visibility/Precip Acc",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:35},xAxis:[{data:o}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:r,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip Acc",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:t.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:t.dateTime,y:t.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:s,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:t.dateTime,y:t.waveHeight},data:s,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:t.dateTime,y:t.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:s,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:t.dateTime,y:t.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:s,z:2}]};this.echart.setOption(a)}}},ze=o=>(e.pushScopeId("data-v-eb929a40"),o=o(),e.popScopeId(),o),oi={class:"point-report"},li={class:"section info-section"},ai={class:"flex-evenly"},ni={class:"flex-space label-block",style:{width:"100%"}},si=ze(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),ci={class:"flex-space label-block",style:{width:"100%"}},ii=ze(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),di={class:"flex-evenly"},ri={class:"flex-space label-block",style:{width:"100%"}},mi=ze(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),pi={class:"flex-space label-block",style:{width:"100%"}},hi={class:"flex-end",style:{width:"180px"}},_i={class:"section echart-section"},Ei={ref:"echart",class:"echart"},yi={class:"section sample-section"},Ni=ze(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Vi=ze(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),fi=ze(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),bi=ze(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),gi=ze(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),xi=ze(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),ki=["colspan"],Di=ze(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Ci=ze(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Si=ze(()=>e.createElementVNode("th",null,"Dir",-1)),Bi=ze(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),wi=ze(()=>e.createElementVNode("th",null,"BF",-1)),Ai=ze(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Ti=ze(()=>e.createElementVNode("th",null,"Dir",-1)),Fi=ze(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Oi=ze(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Pi=ze(()=>e.createElementVNode("th",null,"Dir",-1)),Li=ze(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Wi=ze(()=>e.createElementVNode("th",null,"Prd (s)",-1)),$i=ze(()=>e.createElementVNode("th",null,"Dir",-1)),Hi=ze(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Mi={key:0},Ii={key:1},Gi=ze(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Ri=ze(()=>e.createElementVNode("th",null,"°C",-1)),zi={width:"120px"},Ui={key:0,class:"degree-box"},Yi={key:1},Zi={key:0,class:"degree-box"},Qi={key:1},Ji={key:0,class:"degree-box"},Ki={key:1},ji={key:0,class:"degree-box"},Xi={key:1},qi={key:0},ui={key:1};function vi(o,s,t,r,a,n){var p,b,g,h;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",oi,[e.createVNode(E,{name:"Point Weather Forecast"}),e.createVNode(c,{loading:a.loading},null,8,["loading"]),e.createElementVNode("div",li,[e.createElementVNode("div",ai,[e.createElementVNode("div",ni,[si,e.createElementVNode("span",null,e.toDisplayString(n.computeLat((p=t.report)==null?void 0:p.lat).pretty)+" / "+e.toDisplayString(n.computeLng((b=t.report)==null?void 0:b.lng).pretty),1)]),e.createElementVNode("div",ci,[ii,e.createElementVNode("span",null,e.toDisplayString(n.computeLTime(t.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",di,[e.createElementVNode("div",ri,[mi,e.createElementVNode("span",null,e.toDisplayString(n.computeTZ(a.localTZ)),1)]),e.createElementVNode("div",pi,[e.createElementVNode("label",hi,"("+e.toDisplayString(n.computeTZ(a.localTZ))+")",1),e.createElementVNode("span",null,e.toDisplayString(n.computeLTime(t.report.updatedAt,a.localTZ,"YYYY, MMM-DD/HHmm[LT]")),1)])])]),e.createElementVNode("div",_i,[e.createElementVNode("div",Ei,null,512)]),e.createElementVNode("div",yi,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Ni,Vi,fi,bi,gi,xi,e.createElementVNode("th",{colspan:t.showPrate&&t.showAcc?2:1},"Precip",8,ki),Di,Ci]),e.createElementVNode("tr",null,[Si,Bi,wi,Ai,Ti,Fi,Oi,Pi,Li,Wi,$i,Hi,t.showPrate?(e.openBlock(),e.createElementBlock("th",Mi,"Rate (mm/h)")):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("th",Ii,"Acc (mm)")):e.createCommentVNode("",!0),Gi,Ri])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=(g=t.report)==null?void 0:g.extend)==null?void 0:h.data,(N,D)=>{var x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,X,v,ee,te,oe,le,ce,ie,de;return e.openBlock(),e.createElementBlock("tr",{key:D},[e.createElementVNode("td",zi,e.toDisplayString(n.computeLTime(N.utc,a.localTZ)),1),e.createElementVNode("td",null,[(x=N.wind)!=null&&x.kts?(e.openBlock(),e.createElementBlock("span",Ui,[e.createTextVNode(e.toDisplayString((C=N.wind)==null?void 0:C.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((k=N.wind)==null?void 0:k.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Yi,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((T=N.wind)==null?void 0:T.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((F=N.wind)==null?void 0:F.scale),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((B=N.gusts)==null?void 0:B.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((f=(w=N.wave)==null?void 0:w.wd)==null?void 0:f.height,1)),1),e.createElementVNode("td",null,[(I=(O=N.wave)==null?void 0:O.swell)!=null&&I.height?(e.openBlock(),e.createElementBlock("span",Zi,[e.createTextVNode(e.toDisplayString((R=(G=N.wave)==null?void 0:G.swell)==null?void 0:R.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((_=(z=N.wave)==null?void 0:z.swell)==null?void 0:_.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Qi,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((H=(L=N.wave)==null?void 0:L.swell)==null?void 0:H.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((P=(W=N.wave)==null?void 0:W.swell)==null?void 0:P.period,1)),1),e.createElementVNode("td",null,[(Q=(M=N.wave)==null?void 0:M.sig)!=null&&Q.height?(e.openBlock(),e.createElementBlock("span",Ji,[e.createTextVNode(e.toDisplayString((J=(U=N.wave)==null?void 0:U.sig)==null?void 0:J.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((se=(ne=N.wave)==null?void 0:ne.sig)==null?void 0:se.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ki,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((X=(l=N.wave)==null?void 0:l.sig)==null?void 0:X.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ee=(v=N.wave)==null?void 0:v.sig)==null?void 0:ee.period,1)),1),e.createElementVNode("td",null,[(te=N.current)!=null&&te.kts?(e.openBlock(),e.createElementBlock("span",ji,[e.createTextVNode(e.toDisplayString((oe=N.current)==null?void 0:oe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((le=N.current)==null?void 0:le.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Xi,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ce=N.current)==null?void 0:ce.kts,1)),1),t.showPrate?(e.openBlock(),e.createElementBlock("td",qi,e.toDisplayString(n.roundPrecision((ie=N.precip)==null?void 0:ie.prate,2)),1)):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("td",ui,e.toDisplayString(n.roundPrecision((de=N.precip)==null?void 0:de.acc,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(N.visibility/1852,0)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(N.temp,1)),1)])}),128))])])])])}const en=Ce(ti,[["render",vi],["__scopeId","data-v-eb929a40"]]),ed={install(o){o.component("ORMPointReport",en)}},fY="",td={name:"IdmLng",props:{lng:{type:Number,default:void 0},label:{type:String,default:"Lng"}},data(){return{pretty:void 0}},watch:{lng:{handler(){if(this.lng!==void 0){const o=ae.LngLatHelper.convertToStdLng(this.lng);this.pretty=ae.LngLatHelper.lng2pretty(o).pretty}},immediate:!0}}},od={class:"lng-box"},ld={key:0};function ad(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",od,[t.label?(e.openBlock(),e.createElementBlock("span",ld,e.toDisplayString(t.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(a.pretty),1)])}const Wa=Ce(td,[["render",ad],["__scopeId","data-v-0d3c152f"]]),bY="",nd={name:"IdmLat",props:{lat:{type:Number,default:void 0},label:{type:String,default:"Lat"}},data(){return{pretty:void 0}},watch:{lat:{handler(){this.lat!==void 0&&(this.pretty=ae.LngLatHelper.lat2pretty(this.lat).pretty)},immediate:!0}}},sd={class:"lat-box"},cd={key:0};function id(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",sd,[t.label?(e.openBlock(),e.createElementBlock("span",cd,e.toDisplayString(t.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(a.pretty),1)])}const $a=Ce(nd,[["render",id],["__scopeId","data-v-3d953d12"]]),gY="",dd={name:"IdmEditor",components:{Editor:qa.Editor,Toolbar:qa.Toolbar},props:{height:{type:String,default:"200px"},modelValue:{type:String,default:()=>""},disabled:{type:Boolean,default:()=>!1}},data(){return{editorRef:null,editor:null,mode:"simple",valueHtml:void 0,editorConfig:{placeholder:"please input something..."},toolbarConfig:{toolbarKeys:["bold","color","bgColor","fontSize","lineHeight"]}}},watch:{disabled:{handler(o){var s,t;o?(s=this.editor)==null||s.disable():(t=this.editor)==null||t.enable()}},modelValue:{handler(){var o;this.valueHtml=this.modelValue,(o=this.editor)==null||o.setHtml(this.valueHtml)}}},methods:{handleCreated(o){var s;this.editorRef=e.shallowRef(),this.editor=Object.seal(o),this.valueHtml=this.modelValue,(s=this.editor)==null||s.setHtml(this.valueHtml),this.disabled?this.editor.disable():this.editor.enable()},handleChange(o){this.$emit("update:modelValue",this.valueHtml)},handleBlur(o){this.$emit("blur",this.valueHtml)},beforeDestroy(){var o;(o=this.editor)==null||o.destroy()}}},rd={class:"editor-box"};function md(o,s,t,r,a,n){const E=e.resolveComponent("Toolbar"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",rd,[e.withDirectives(e.createVNode(E,{editor:a.editor,"default-config":a.toolbarConfig,mode:a.mode,class:"toolbar"},null,8,["editor","default-config","mode"]),[[e.vShow,!t.disabled]]),e.createVNode(c,{modelValue:a.valueHtml,"onUpdate:modelValue":s[0]||(s[0]=p=>a.valueHtml=p),"default-config":a.editorConfig,mode:a.mode,class:"editor",style:e.normalizeStyle({height:t.height}),onOnCreated:n.handleCreated,onOnChange:n.handleChange,onOnBlur:n.handleBlur},null,8,["modelValue","default-config","mode","style","onOnCreated","onOnChange","onOnBlur"])])}const Go=Ce(dd,[["render",md],["__scopeId","data-v-a8e20d55"]]),xY="",pd={name:"OrmRouteReport",components:{Lng:Wa,Lat:$a,Editor:Go,Brand:Io,Loading:La},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:"",echart:void 0,speedIndex:0,loading:!0}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${j(o).utc().format(s)}`}},computeLTime(){return function(o,s,t){let r=0;return t&&s&&(r=ae.LngLatHelper.guessTimeZoneOffset(s,t)),`${j(o).utcOffset(r).format("MMM-DD/HHmm")}LT`}},computeTimeDiff(){return function(o,s){var t,r,a,n,E;if(s===0)return"-";{const c=j((a=(r=(t=o==null?void 0:o.speeds)==null?void 0:t[s])==null?void 0:r.speed)==null?void 0:a.eta).diff(j((E=(n=o==null?void 0:o.speeds)==null?void 0:n[0])==null?void 0:E.speed.eta),"h",!0);return Math.round(c*10)/10}}},computeNav(){return function(o){return o.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(o,s=4){if(typeof o=="number"){const t=Number("1".padEnd(s+1,"0"));return Math.round(o*t)/t}else return"-"}},computeMemo(){return function(o){return(o==null?void 0:o.memo)??"-"}},computeMajorPoints(){return function(o,s){const t=[];if(s.length)return s.forEach(r=>{t.push(r),r.suspend&&(o!=null&&o.useRouteParam)&&t.push({etd:r.etd,eta:r.etd,isResume:!0,memo:`Stoppage: ${r.suspend}hrs`})}),t}},computeDegree(){return function(o,s){o=o%360;for(let t=0;t<17;t++)if(t*22.5+o+11.25>=360){let r=(16-t)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);margin-left:3px;`}}},computeDay(){return function(o,s=0){var n,E,c,p;const t=(p=(c=(E=(n=o==null?void 0:o.speeds)==null?void 0:n[s])==null?void 0:E.speed)==null?void 0:c.sample)==null?void 0:p.hours,r=t[0],a=t[t.length-1];return Math.round(j(a.eta).diff(j(r.eta),"day",!0)*10)/10}}},watch:{plan:{handler(){var o,s;(o=this.plan)!=null&&o.id&&(this.loading=!1,this.advisory=((s=this.plan)==null?void 0:s.advisory)||"Pls find the following major waypoints for your safe navigation.",this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},methods:{handleCommit(o){this.editable=!1,this.$emit("commit",o)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0},initEchart(){this.echart||(this.echart=e.markRaw(Pa.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var p,b,g,h,N,D,x;const o=[],s=[],t={dateTime:0,windSpeed:1,waveHeight:2,windDirection:3,windDegree:4,windScale:5,currentFactor:6,weatherFactor:7,speed:8},r={};["W","WSW","SW","SSW","S","SSE","SE","ESE","E","ENE","NE","NNE","N","NNW","NW","WNW"].forEach((C,k)=>{r[C]=Math.PI/8*k});const n=18;let E=4;(D=(N=(h=(g=(b=(p=this.plan)==null?void 0:p.speeds)==null?void 0:b[this.speedIndex])==null?void 0:g.speed)==null?void 0:h.sample)==null?void 0:N.hours)==null||D.forEach(C=>{var T,F,B,w,f,O,I,G,R,z;const k=C.meteo;if(k){const _=j(k.utc).utc().format("MMM-DD/HHmm[Z]");o.push(_),E=Math.ceil(((F=(T=k.wave)==null?void 0:T.sig)==null?void 0:F.height)>E?(w=(B=k.wave)==null?void 0:B.sig)==null?void 0:w.height:E),s.push([_,(f=k.wind)==null?void 0:f.kts,(I=(O=k.wave)==null?void 0:O.sig)==null?void 0:I.height,(G=k.wind)==null?void 0:G.direction,(R=k.wind)==null?void 0:R.degree,(z=k.wind)==null?void 0:z.scale,C.cFactor,C.wFactor,C.speed])}});const c={animation:!1,title:{text:"Weather Conditions & Speed Analysis",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40},xAxis:[{data:o,boundaryGap:!1}],yAxis:[{name:"Wind Speed (kts)",nameLocation:"middle",position:"left",nameGap:35,minInterval:5,axisLine:{lineStyle:{color:"#000000B3"}}},{type:"value",name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:35,max:E,min:0,minInterval:1,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#da2e2ecc"}},splitLine:{show:!0},alignTicks:!0},{name:"SOG (kts)",nameLocation:"middle",position:"right",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#398626"}},splitLine:{show:!0}}],visualMap:{show:!1,type:"piecewise",orient:"horizontal",left:"center",bottom:0,pieces:[{gte:22,color:"#f85c5c",label:"≥ BF6"},{gte:17,lt:22,color:"#de8600",label:"BF5"},{lt:17,color:"#67c23a",label:"≤ BF4"}],seriesIndex:2,dimension:1},series:[{name:"Sig. Wave Height",type:"line",showSymbol:!0,yAxisIndex:1,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:t.dateTime,y:t.waveHeight},data:s,z:1},{name:"Wind Speed",type:"line",showSymbol:!0,yAxisIndex:0,encode:{x:t.dateTime,y:t.windSpeed},lineStyle:{color:"#000000B3",type:"dashed"},itemStyle:{color:"#000000B3"},data:s,z:2},{type:"custom",yAxisIndex:0,renderItem:(C,k)=>{const T=k.coord([k.value(t.dateTime),k.value(t.windSpeed)]);return{type:"path",shape:{pathData:"M31 16l-15-15v9h-26v12h26v9z",x:-n/2,y:-n/2,width:n,height:n},rotation:r[k.value(t.windDirection)],position:T,style:k.style({stroke:"#555",lineWidth:1})}},encode:{x:t.dateTime,y:t.windSpeed},data:s,z:10},{name:"Current Factor",type:"line",yAxisIndex:2,showSymbol:!0,encode:{x:t.dateTime,y:t.currentFactor},lineStyle:{color:"#da2e2ecc",type:"dotted"},itemStyle:{color:"#da2e2ecc"},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:3,showSymbol:!0,encode:{x:t.dateTime,y:t.speed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:s,z:4}]};(x=this.echart)==null||x.setOption(c)}}},Ye=o=>(e.pushScopeId("data-v-8e42ae51"),o=o(),e.popScopeId(),o),hd={class:"voyage-plan"},_d={class:"plan-report"},Ed={class:"section voyage-section flex-space"},yd={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Nd={class:"flex-start label-block",style:{width:"100%"}},Vd=Ye(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),fd={style:{"text-transform":"uppercase"},class:"text-ellipsis"},bd={class:"flex-start label-block",style:{width:"100%"}},gd=Ye(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),xd={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},kd={class:"flex-start label-block",style:{width:"100%"}},Dd=Ye(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),Cd={class:"flex-end"},Sd={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Bd={class:"flex-start label-block",style:{width:"100%"}},wd=Ye(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),Ad={key:0,class:"flex-end",style:{flex:"1"}},Td={key:1,class:"flex-end",style:{flex:"1"}},Fd=Ye(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Od={class:"flex-end",style:{width:"120px"}},Pd={class:"flex-space label-block",style:{width:"100%"}},Ld=Ye(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),Wd={key:0,class:"flex-end",style:{flex:"1"}},$d={key:1,class:"flex-end",style:{flex:"1"}},Hd=Ye(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Md={class:"flex-end",style:{width:"120px"}},Id={class:"flex-space label-block",style:{width:"100%"}},Gd=Ye(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),Rd={class:"flex-end",style:{"text-transform":"uppercase"}},zd={class:"section chart-section"},Ud=Ye(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),Yd={class:"flex-center"},Zd=["src"],Qd={class:"legends"},Jd=e.createStaticVNode('<div class="legend" data-v-8e42ae51><label style="background-color:var(--idm-dangerous);" data-v-8e42ae51></label><span data-v-8e42ae51>Dangerous</span></div><div class="legend" data-v-8e42ae51><label style="background-color:var(--idm-severe);" data-v-8e42ae51></label><span data-v-8e42ae51>Severe</span></div><div class="legend" data-v-8e42ae51><label style="background-color:var(--idm-heavy);" data-v-8e42ae51></label><span data-v-8e42ae51>Heavy</span></div>',3),Kd={class:"legend"},jd=Ye(()=>e.createElementVNode("b",{class:"route1"},null,-1)),Xd={key:0,class:"legend"},qd=Ye(()=>e.createElementVNode("b",{class:"route2"},null,-1)),ud={key:1,class:"legend"},vd=Ye(()=>e.createElementVNode("b",{class:"route3"},null,-1)),er={key:1,class:"empty"},tr={class:"section comparison-section"},or={key:0},lr=Ye(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",{rowspan:"2"},"DTG (nm)"),e.createElementVNode("th",null,"ETA (LT)"),e.createElementVNode("th",{rowspan:"2"},"Diff (h)"),e.createElementVNode("th",{colspan:"2"},"Cons (mt)"),e.createElementVNode("th",null,"Dangerous"),e.createElementVNode("th",null,"Severe"),e.createElementVNode("th",null,"Heavy")],-1)),ar=Ye(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),nr=Ye(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),sr=Ye(()=>e.createElementVNode("th",null,"*FO",-1)),cr=Ye(()=>e.createElementVNode("th",null,"*DO",-1)),ir={colspan:"3"},dr={rowspan:"2"},rr={rowspan:"2"},mr={rowspan:"2"},pr={rowspan:"2"},hr={rowspan:"2"},_r={rowspan:"2"},Er={rowspan:"2"},yr={rowspan:"2"},Nr={rowspan:"2"},Vr=Ye(()=>e.createElementVNode("div",{class:"tips"},[e.createTextVNode(" * Please note the climatology data was used for days that extend beyond the available forecast."),e.createElementVNode("br"),e.createTextVNode(" * Fuel consumption was calculated only based on CP terms, and does not reflect actual consumption. ")],-1)),fr={class:"section waypoint-section"},br={class:"header-block flex-start"},gr=Ye(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),xr={class:"title"},kr={key:0,class:"flex-end",style:{flex:"1"}},Dr=["onClick"],Cr={class:"advisory"},Sr=["innerHTML"],Br={class:"major-waypoint"},wr=e.createStaticVNode('<div class="major-header" data-v-8e42ae51><div class="cell-item flex" style="flex:1.5;" data-v-8e42ae51>Major waypoint</div><div class="cell-item flex" data-v-8e42ae51>Time</div><div class="cell-item flex" data-v-8e42ae51>Nav</div><div class="cell-item flex" data-v-8e42ae51>Dist</div><div class="cell-item flex" data-v-8e42ae51>SOG</div><div class="cell-item flex" data-v-8e42ae51>Memo</div></div>',1),Ar={class:"major-body"},Tr={class:"cell-item flex",style:{flex:"1.5"}},Fr={key:0,class:"flex-center"},Or={key:1,class:"flex-center"},Pr=Ye(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Lr={key:0},Wr={class:"cell-item flex"},$r={key:0,class:"cell-item flex offset"},Hr={key:1,class:"cell-item flex nbsp"},Mr={key:2,class:"cell-item flex offset"},Ir={key:3,class:"cell-item flex nbsp"},Gr={key:4,class:"cell-item flex offset"},Rr={key:5,class:"cell-item flex nbsp"},zr={key:6,class:"cell-item flex offset"},Ur={key:7,class:"cell-item flex nbsp"},Yr={class:"section forecast-section"},Zr={class:"header-block flex-start"},Qr=Ye(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Jr={class:"title"},Kr={key:0,class:"flex-end",style:{flex:"1"}},jr=["onClick"],Xr={class:"echart-block"},qr={ref:"echart",class:"echart"},ur=Ye(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("UTC")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),vr={class:"flex-center"},em=Ye(()=>e.createElementVNode("span",null,"/",-1)),tm={key:0,class:"degree-box"},om={key:1},lm={key:0,class:"degree-box"},am={key:1},nm={key:0,class:"degree-box"},sm={key:1},cm={key:0,class:"degree-box"},im={key:1},dm=Ye(()=>e.createElementVNode("div",{class:"tips",style:{"text-align":"justify"}},[e.createElementVNode("div",null,"The waypoints in this sheet are approximate positions."),e.createElementVNode("div",null," The route map is for reference only and should not be used for navigation. All the material is an advisory provided so as to assist the Master in making the final route decision. ")],-1));function rm(o,s,t,r,a,n){var h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,X,v,ee,te,oe,le,ce,ie,de,_e,q,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,Ke,je,Xe,A,Se,Ge,qe,ue,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo;const E=e.resolveComponent("Brand"),c=e.resolveComponent("Loading"),p=e.resolveComponent("Lat"),b=e.resolveComponent("Lng"),g=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",hd,[e.createElementVNode("div",_d,[e.createVNode(E,{name:"Voyage Planning",issued:(h=t.plan)==null?void 0:h.updatedAt},null,8,["issued"]),e.createVNode(c,{loading:a.loading,onTimeout:s[0]||(s[0]=S=>a.loading=!1)},null,8,["loading"]),e.createElementVNode("div",Ed,[e.createElementVNode("div",yd,[e.createElementVNode("div",Nd,[Vd,e.createElementVNode("span",fd,e.toDisplayString((x=(D=(N=t.plan)==null?void 0:N.voyage)==null?void 0:D.company)==null?void 0:x.name),1)]),e.createElementVNode("div",bd,[gd,e.createElementVNode("span",xd,e.toDisplayString((T=(k=(C=t.plan)==null?void 0:C.voyage)==null?void 0:k.vessel)==null?void 0:T.name)+" ("+e.toDisplayString((f=(w=(B=(F=t.plan)==null?void 0:F.voyage)==null?void 0:B.vessel)==null?void 0:w.vesselType)==null?void 0:f.name)+")",1)]),e.createElementVNode("div",kd,[Dd,e.createElementVNode("span",Cd,e.toDisplayString((I=(O=t.plan)==null?void 0:O.voyage)==null?void 0:I.number),1)])]),e.createElementVNode("div",Sd,[e.createElementVNode("div",Bd,[wd,(z=(R=(G=t.plan)==null?void 0:G.leg)==null?void 0:R.departure)!=null&&z.name?(e.openBlock(),e.createElementBlock("span",Ad,e.toDisplayString((L=(_=t.plan)==null?void 0:_.leg)==null?void 0:L.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Td,[e.createVNode(p,{lat:(P=(W=(H=t.plan)==null?void 0:H.leg)==null?void 0:W.departure)==null?void 0:P.lat,label:""},null,8,["lat"]),Fd,e.createVNode(b,{lng:(U=(Q=(M=t.plan)==null?void 0:M.leg)==null?void 0:Q.departure)==null?void 0:U.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Od,e.toDisplayString(n.computeUTCTime(((se=(ne=(J=t.plan)==null?void 0:J.leg)==null?void 0:ne.departure)==null?void 0:se.atd)||((v=(X=(l=t.plan)==null?void 0:l.leg)==null?void 0:X.departure)==null?void 0:v.etd)||((le=(oe=(te=(ee=t.plan)==null?void 0:ee.speeds)==null?void 0:te[a.speedIndex])==null?void 0:oe.speed)==null?void 0:le.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Pd,[Ld,(de=(ie=(ce=t.plan)==null?void 0:ce.leg)==null?void 0:ie.destination)!=null&&de.name?(e.openBlock(),e.createElementBlock("span",Wd,e.toDisplayString((me=(q=(_e=t.plan)==null?void 0:_e.leg)==null?void 0:q.destination)==null?void 0:me.name),1)):(e.openBlock(),e.createElementBlock("div",$d,[e.createVNode(p,{lat:(re=(ye=(Ee=t.plan)==null?void 0:Ee.leg)==null?void 0:ye.destination)==null?void 0:re.lat,label:""},null,8,["lat"]),Hd,e.createVNode(b,{lng:(ge=(be=(fe=t.plan)==null?void 0:fe.leg)==null?void 0:be.destination)==null?void 0:ge.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Md,e.toDisplayString(n.computeUTCTime(((Te=(De=(ke=(xe=t.plan)==null?void 0:xe.speeds)==null?void 0:ke[a.speedIndex])==null?void 0:De.speed)==null?void 0:Te.ata)||((Le=(Pe=(Oe=(Fe=t.plan)==null?void 0:Fe.speeds)==null?void 0:Oe[a.speedIndex])==null?void 0:Pe.speed)==null?void 0:Le.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Id,[Gd,e.createElementVNode("span",Rd,e.toDisplayString(($e=(We=t.plan)==null?void 0:We.voyage)==null?void 0:$e.loadCondition),1)])])]),e.createElementVNode("div",zd,[Ud,(He=t.plan)!=null&&He.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Yd,[e.createElementVNode("img",{src:t.plan.chartUrl},null,8,Zd)]),e.createElementVNode("div",Qd,[Jd,e.createElementVNode("div",Kd,[jd,e.createElementVNode("span",{class:"btn",onClick:s[1]||(s[1]=S=>{a.speedIndex=0,n.renderEchart()})},e.toDisplayString((A=(Xe=(je=(Ke=(Ne=t.plan)==null?void 0:Ne.speeds)==null?void 0:Ke[0])==null?void 0:je.speed)==null?void 0:Xe.lane)==null?void 0:A.name),1)]),((Ge=(Se=t.plan)==null?void 0:Se.speeds)==null?void 0:Ge.length)>1?(e.openBlock(),e.createElementBlock("div",Xd,[qd,e.createElementVNode("span",{class:"btn",onClick:s[2]||(s[2]=S=>{a.speedIndex=1,n.renderEchart()})},e.toDisplayString((tt=(et=(ve=(ue=(qe=t.plan)==null?void 0:qe.speeds)==null?void 0:ue[1])==null?void 0:ve.speed)==null?void 0:et.lane)==null?void 0:tt.name),1)])):e.createCommentVNode("",!0),(($=(m=t.plan)==null?void 0:m.speeds)==null?void 0:$.length)>2?(e.openBlock(),e.createElementBlock("div",ud,[vd,e.createElementVNode("span",{class:"btn",onClick:s[3]||(s[3]=S=>{a.speedIndex=2,n.renderEchart()})},e.toDisplayString((Ue=(pe=(Re=(Me=(Be=t.plan)==null?void 0:Be.speeds)==null?void 0:Me[2])==null?void 0:Re.speed)==null?void 0:pe.lane)==null?void 0:Ue.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",er,[e.createElementVNode("span",null,[e.createTextVNode("Weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:s[4]||(s[4]=(...S)=>n.handleRefresh&&n.handleRefresh(...S))},"Refresh"),e.createTextVNode(" later please")])]))]),e.createElementVNode("div",tr,[(lt=(ot=t.plan)==null?void 0:ot.speeds)!=null&<.length?(e.openBlock(),e.createElementBlock("table",or,[e.createElementVNode("thead",null,[lr,e.createElementVNode("tr",null,[ar,nr,sr,cr,e.createElementVNode("th",ir,"*days (with in the next "+e.toDisplayString(n.computeDay(t.plan,0))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((dt=t.plan)==null?void 0:dt.speeds,(S,Ie)=>{var at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,Xt,qt,ut,vt,eo,to,oo,lo;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Ie},[e.createElementVNode("tr",null,[e.createElementVNode("td",dr,e.toDisplayString(Ie+1),1),e.createElementVNode("td",rr,e.toDisplayString((nt=(at=S.speed)==null?void 0:at.lane)==null?void 0:nt.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((ht=S.speed)==null?void 0:ht.label)??"CP"} ${((Lt=S.speed)==null?void 0:Lt.v0)??(($t=(Wt=S.speed)==null?void 0:Wt.cpCopy)==null?void 0:$t.speed)}`),1),e.createElementVNode("td",mr,e.toDisplayString(n.roundPrecision((Ht=S.speed)==null?void 0:Ht.distance,0)),1),e.createElementVNode("td",null,[e.createElementVNode("b",null,e.toDisplayString(n.computeLTime((Mt=S.speed)==null?void 0:Mt.eta,(Rt=(Gt=(It=t.plan)==null?void 0:It.leg)==null?void 0:Gt.destination)==null?void 0:Rt.lng,(Yt=(Ut=(zt=t.plan)==null?void 0:zt.leg)==null?void 0:Ut.destination)==null?void 0:Yt.lat)),1),e.createTextVNode(" ["+e.toDisplayString(n.computeUTCTime((Zt=S.speed)==null?void 0:Zt.eta))+"] ",1)]),e.createElementVNode("td",pr,e.toDisplayString(n.computeTimeDiff(t.plan,Ie)),1),e.createElementVNode("td",hr,e.toDisplayString(n.roundPrecision((Qt=S.speed)==null?void 0:Qt.totalFoCons,3)),1),e.createElementVNode("td",_r,e.toDisplayString(n.roundPrecision((Jt=S.speed)==null?void 0:Jt.totalDgoCons,3)),1),e.createElementVNode("td",Er,e.toDisplayString(n.roundPrecision(((Kt=S.speed)==null?void 0:Kt.dangerous)/24,1)),1),e.createElementVNode("td",yr,e.toDisplayString(n.roundPrecision(((jt=S.speed)==null?void 0:jt.severe)/24,1)),1),e.createElementVNode("td",Nr,e.toDisplayString(n.roundPrecision(((Xt=S.speed)==null?void 0:Xt.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((ut=(qt=S.speed)==null?void 0:qt.cpCopy)==null?void 0:ut.fo)+" FO / "+e.toDisplayString((eo=(vt=S.speed)==null?void 0:vt.cpCopy)==null?void 0:eo.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((to=S.speed)==null?void 0:to.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((oo=S.speed)==null?void 0:oo.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((lo=S.speed)==null?void 0:lo.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0),Vr]),e.createElementVNode("div",fr,[e.createElementVNode("div",br,[gr,e.createElementVNode("div",xr,"Advisory & Major Waypoint of Route "+e.toDisplayString((_t=(pt=(mt=(rt=t.plan.speeds)==null?void 0:rt[a.speedIndex])==null?void 0:mt.speed)==null?void 0:pt.lane)==null?void 0:_t.name),1),((yt=(Et=t.plan)==null?void 0:Et.speeds)==null?void 0:yt.length)>1?(e.openBlock(),e.createElementBlock("div",kr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Nt=t.plan)==null?void 0:Nt.speeds,(S,Ie)=>{var at,nt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:ht=>{a.speedIndex=Ie,n.renderEchart()}},e.toDisplayString((nt=(at=S.speed)==null?void 0:at.lane)==null?void 0:nt.name),9,Dr)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Cr,[a.editable?(e.openBlock(),e.createBlock(g,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[5]||(s[5]=S=>a.advisory=S),class:"editor",height:"120px",onBlur:s[6]||(s[6]=S=>n.handleCommit(S))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[7]||(s[7]=(...S)=>n.handleEdit&&n.handleEdit(...S)),innerHTML:a.advisory},null,40,Sr))]),e.createElementVNode("div",Br,[wr,e.createElementVNode("div",Ar,[(ft=(Vt=t.plan)==null?void 0:Vt.speeds)!=null&&ft.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(n.computeMajorPoints((kt=(xt=(gt=(bt=t.plan)==null?void 0:bt.speeds)==null?void 0:gt[a.speedIndex])==null?void 0:xt.speed)==null?void 0:kt.argv,(wt=(Bt=(St=(Ct=(Dt=t.plan)==null?void 0:Dt.speeds)==null?void 0:Ct[a.speedIndex])==null?void 0:St.speed)==null?void 0:Bt.sample)==null?void 0:wt.wps),(S,Ie)=>(e.openBlock(),e.createElementBlock("div",{key:Ie,class:"cell-row"},[e.createElementVNode("div",Tr,[S.isResume?(e.openBlock(),e.createElementBlock("div",Fr,"Resume")):(e.openBlock(),e.createElementBlock("div",Or,[e.createVNode(p,{lat:S.lat,label:""},null,8,["lat"]),Pr,e.createVNode(b,{lng:S.lng,label:""},null,8,["lng"]),S.pilot?(e.openBlock(),e.createElementBlock("span",Lr," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",Wr,e.toDisplayString(n.computeUTCTime(S.eta)),1),Ie?(e.openBlock(),e.createElementBlock("div",$r,e.toDisplayString(n.computeNav(S)),1)):(e.openBlock(),e.createElementBlock("div",Hr)),Ie?(e.openBlock(),e.createElementBlock("div",Mr,e.toDisplayString(n.roundPrecision(S.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Ir)),Ie?(e.openBlock(),e.createElementBlock("div",Gr,e.toDisplayString(n.roundPrecision(S.avgSpd??S.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",Rr)),Ie?(e.openBlock(),e.createElementBlock("div",zr,e.toDisplayString(n.computeMemo(S)),1)):(e.openBlock(),e.createElementBlock("div",Ur))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",Yr,[(Tt=(At=t.plan)==null?void 0:At.speeds)!=null&&Tt.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Zr,[Qr,e.createElementVNode("div",Jr," Weather Forecast for the Next "+e.toDisplayString(n.computeDay(t.plan,a.speedIndex))+" Days of Route "+e.toDisplayString((so=(no=(Pt=(Ot=(Ft=t.plan)==null?void 0:Ft.speeds)==null?void 0:Ot[a.speedIndex])==null?void 0:Pt.speed)==null?void 0:no.lane)==null?void 0:so.name),1),((io=(co=t.plan)==null?void 0:co.speeds)==null?void 0:io.length)>1?(e.openBlock(),e.createElementBlock("div",Kr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ro=t.plan)==null?void 0:ro.speeds,(S,Ie)=>{var at,nt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:ht=>{a.speedIndex=Ie,n.renderEchart()}},e.toDisplayString((nt=(at=S==null?void 0:S.speed)==null?void 0:at.lane)==null?void 0:nt.name),9,jr)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Xr,[e.createElementVNode("div",qr,null,512)]),e.createElementVNode("table",null,[ur,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Eo=(_o=(ho=(po=(mo=t.plan)==null?void 0:mo.speeds)==null?void 0:po[a.speedIndex])==null?void 0:ho.speed)==null?void 0:_o.sample)==null?void 0:Eo.hours,(S,Ie)=>{var at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,Xt,qt,ut,vt,eo,to,oo,lo,yo,No,Vo,fo,bo,go,xo,ko,Do,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho;return e.openBlock(),e.createElementBlock("tr",{key:Ie,class:e.normalizeClass(S.isDangerous?"dangerous":S.isSevere?"severe":S.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime(S.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",vr,[e.createVNode(p,{lat:S.lat,label:""},null,8,["lat"]),em,e.createVNode(b,{lng:S.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(nt=(at=S.meteo)==null?void 0:at.wind)!=null&&nt.kts?(e.openBlock(),e.createElementBlock("span",tm,[e.createTextVNode(e.toDisplayString((Lt=(ht=S.meteo)==null?void 0:ht.wind)==null?void 0:Lt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree(($t=(Wt=S.meteo)==null?void 0:Wt.wind)==null?void 0:$t.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",om,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Mt=(Ht=S.meteo)==null?void 0:Ht.wind)==null?void 0:Mt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Rt=(Gt=(It=S.meteo)==null?void 0:It.wave)==null?void 0:Gt.wd)==null?void 0:Rt.height,1)),1),e.createElementVNode("td",null,[(Yt=(Ut=(zt=S.meteo)==null?void 0:zt.wave)==null?void 0:Ut.swell)!=null&&Yt.height?(e.openBlock(),e.createElementBlock("span",lm,[e.createTextVNode(e.toDisplayString((Jt=(Qt=(Zt=S.meteo)==null?void 0:Zt.wave)==null?void 0:Qt.swell)==null?void 0:Jt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Xt=(jt=(Kt=S.meteo)==null?void 0:Kt.wave)==null?void 0:jt.swell)==null?void 0:Xt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",am,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((vt=(ut=(qt=S.meteo)==null?void 0:qt.wave)==null?void 0:ut.swell)==null?void 0:vt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((oo=(to=(eo=S.meteo)==null?void 0:eo.wave)==null?void 0:to.swell)==null?void 0:oo.period,1)),1),e.createElementVNode("td",null,[(No=(yo=(lo=S.meteo)==null?void 0:lo.wave)==null?void 0:yo.sig)!=null&&No.height?(e.openBlock(),e.createElementBlock("span",nm,[e.createTextVNode(e.toDisplayString((bo=(fo=(Vo=S.meteo)==null?void 0:Vo.wave)==null?void 0:fo.sig)==null?void 0:bo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ko=(xo=(go=S.meteo)==null?void 0:go.wave)==null?void 0:xo.sig)==null?void 0:ko.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",sm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((So=(Co=(Do=S.meteo)==null?void 0:Do.wave)==null?void 0:Co.sig)==null?void 0:So.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ao=(wo=(Bo=S.meteo)==null?void 0:Bo.wave)==null?void 0:wo.sig)==null?void 0:Ao.period,1)),1),e.createElementVNode("td",null,[(Fo=(To=S.meteo)==null?void 0:To.current)!=null&&Fo.kts?(e.openBlock(),e.createElementBlock("span",cm,[e.createTextVNode(e.toDisplayString((Po=(Oo=S.meteo)==null?void 0:Oo.current)==null?void 0:Po.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Wo=(Lo=S.meteo)==null?void 0:Lo.current)==null?void 0:Wo.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",im,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ho=($o=S.meteo)==null?void 0:$o.current)==null?void 0:Ho.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(S.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0),dm])])])}const ja=Ce(pd,[["render",rm],["__scopeId","data-v-8e42ae51"]]),kY="",mm={name:"RouteReport",components:{Lng:Wa,Lat:$a,Editor:Go},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:""}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${j(o).utc().format(s)}`}},computeLTime(){return function(o,s){const t=j(o);return t.utcOffset(s),`${t.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var o,s,t,r,a;return(a=(r=(t=(s=(o=this.plan)==null?void 0:o.leg)==null?void 0:s.destination)==null?void 0:t.port)==null?void 0:r.timezone)==null?void 0:a.UtcCurrentOffset},computeTimeDiff(){return function(o,s){var t,r,a;if(s===0)return"-";{const n=j((r=(t=o==null?void 0:o.speeds[s])==null?void 0:t.speed)==null?void 0:r.eta).diff(j((a=o==null?void 0:o.speeds[0])==null?void 0:a.speed.eta),"h",!0);return Math.round(n*10)/10}}},computeNav(){return function(o){return o.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(o,s=4){if(typeof o=="number"){const t=Number("1".padEnd(s+1,"0"));return Math.round(o*t)/t}else return"-"}},computeMapChart(){var o;return((o=this.plan)==null?void 0:o.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(o,s){o=o%360;for(let t=0;t<17;t++)if(t*22.5+o+11.25>=360){let r=(16-t)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);margin-left:3px;`}}},computeDay(){return function(o){var a,n,E;const s=(E=(n=(a=o==null?void 0:o.speeds[0])==null?void 0:a.speed)==null?void 0:n.sample)==null?void 0:E.hours,t=s[0],r=s[s.length-1];return j(r.eta).diff(j(t.eta),"day")}}},watch:{plan:{handler(){var o,s;(o=this.plan)!=null&&o.id&&(this.advisory=((s=this.plan)==null?void 0:s.advisory)||"Pls find the following major waypoints for your safe navigation.")},immediate:!0}},methods:{handleCommit(o){this.editable=!1,this.$emit("commit",o)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0}}},Ze=o=>(e.pushScopeId("data-v-cc81892d"),o=o(),e.popScopeId(),o),pm={class:"route-report"},hm=Ze(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),_m={class:"section"},Em=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),ym={class:"section-body basics"},Nm={class:"flex-space section-row"},Vm={class:"flex-start"},fm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),bm={class:"flex-start"},gm={class:"flex-start"},xm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),km={class:"flex-start flex"},Dm={key:0,class:"flex"},Cm={key:1,class:"flex-space flex"},Sm=Ze(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Bm={class:"time flex"},wm={class:"flex-space section-row"},Am={class:"flex-start"},Tm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),Fm={class:"flex-start"},Om={class:"flex-start"},Pm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),Lm={class:"flex-start flex"},Wm={key:0,class:"flex"},$m={key:1,class:"flex-space"},Hm=Ze(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Mm={class:"time flex"},Im={class:"flex-space section-row"},Gm={class:"flex-start"},Rm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),zm={class:"flex-start"},Um={class:"flex-start"},Ym=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),Zm={class:"flex-start flex"},Qm={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},Jm=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),Km={class:"section-body detail"},jm={class:"flex-space",style:{"align-items":"stretch"}},Xm={class:"chart"},qm=["src"],um={key:1,class:"empty flex-center"},vm={class:"route flex",style:{"justify-content":"space-between"}},ep=Ze(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),tp={class:"suggestion"},op=["innerHTML"],lp={class:"flex-start legends"},ap=e.createStaticVNode('<div class="legend" data-v-cc81892d><label style="background-color:var(--idm-severe);" data-v-cc81892d></label><span data-v-cc81892d>Dangerous</span></div><div class="legend" data-v-cc81892d><label style="background-color:var(--idm-heavy);" data-v-cc81892d></label><span data-v-cc81892d>Severe</span></div><div class="legend" data-v-cc81892d><b class="route1" data-v-cc81892d></b><span data-v-cc81892d>Route 1</span></div>',3),np={key:0,class:"legend"},sp=[Ze(()=>e.createElementVNode("b",{class:"route2"},null,-1)),Ze(()=>e.createElementVNode("span",null,"Route 2",-1))],cp={key:1,class:"legend"},ip=[Ze(()=>e.createElementVNode("b",{class:"route3"},null,-1)),Ze(()=>e.createElementVNode("span",null,"Route 3",-1))],dp={class:"section"},rp=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),mp={class:"section-body comparison"},pp={class:"container"},hp={key:0},_p=Ze(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr"),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Route"),e.createElementVNode("th",null,"TTL Dist (nm)"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",null,"CP Cons (mt)"),e.createElementVNode("th",null,"ETA (UTC)"),e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)"),e.createElementVNode("th",null,"TTL Cons (mt)")])],-1)),Ep={class:"section",style:{"page-break-inside":"avoid"}},yp=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),Np={class:"section-body sample"},Vp={class:"major-waypoints"},fp={class:"container"},bp=e.createStaticVNode('<div class="header" data-v-cc81892d><div class="cell-item flexM" data-v-cc81892d>Major waypoint</div><div class="cell-item flexL" data-v-cc81892d>Name</div><div class="cell-item flex" data-v-cc81892d>Time</div><div class="cell-item flex" data-v-cc81892d>Nav</div><div class="cell-item flex" data-v-cc81892d>Dist</div><div class="cell-item flex" data-v-cc81892d>SOG</div></div>',1),gp={class:"body"},xp={class:"cell-item flexM"},kp={class:"flex-center"},Dp=Ze(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Cp={class:"cell-item flexL"},Sp={key:0,class:"flex-center"},Bp={key:1},wp={class:"cell-item flex"},Ap={key:0,class:"cell-item flex offset"},Tp={key:1,class:"cell-item flex nbsp"},Fp={key:2,class:"cell-item flex offset"},Op={key:3,class:"cell-item flex nbsp"},Pp={key:4,class:"cell-item flex offset"},Lp={key:5,class:"cell-item flex nbsp"},Wp={class:"section"},$p=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),Hp={class:"section-body sample"},Mp={key:0},Ip=Ze(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),Gp={class:"flex-center"},Rp=Ze(()=>e.createElementVNode("span",null,"/",-1)),zp={key:0,class:"degree-box"},Up={key:1},Yp={key:0,class:"degree-box"},Zp={key:1},Qp={key:0,class:"degree-box"},Jp={key:1},Kp={key:0,class:"degree-box"},jp={key:1},Xp=Ze(()=>e.createElementVNode("div",{class:"section"},[e.createElementVNode("div",{class:"section-body footer"},[e.createElementVNode("div",null,[e.createTextVNode("Fleet Insight Limited "),e.createElementVNode("a",{href:"mailto:ops@fltins.com"},"ops@fltins.com")]),e.createElementVNode("div",{style:{"font-size":"11px","margin-top":"10px"}}," The waypoints and route map provided are intended for informational purposes only and should not be relied upon for actual navigation. Fleet Insight Limited assumes no liability for any direct/potential damage to vessels or cargo that may occur as a result of using this voyage plan for exact navigation. ")])],-1));function qp(o,s,t,r,a,n){var b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,X,v,ee,te,oe,le,ce,ie,de,_e,q,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,Ke,je,Xe;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",pm,[hm,e.createElementVNode("div",_m,[Em,e.createElementVNode("div",ym,[e.createElementVNode("div",Nm,[e.createElementVNode("div",Vm,[fm,e.createElementVNode("div",bm,e.toDisplayString((h=(g=(b=t.plan)==null?void 0:b.voyage)==null?void 0:g.company)==null?void 0:h.name),1)]),e.createElementVNode("div",gm,[xm,e.createElementVNode("div",km,[(x=(D=(N=t.plan)==null?void 0:N.leg)==null?void 0:D.departure)!=null&&x.name?(e.openBlock(),e.createElementBlock("div",Dm,e.toDisplayString((k=(C=t.plan)==null?void 0:C.leg)==null?void 0:k.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Cm,[e.createVNode(E,{lat:(B=(F=(T=t.plan)==null?void 0:T.leg)==null?void 0:F.departure)==null?void 0:B.lat,label:""},null,8,["lat"]),Sm,e.createVNode(c,{lng:(O=(f=(w=t.plan)==null?void 0:w.leg)==null?void 0:f.departure)==null?void 0:O.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Bm,e.toDisplayString(n.computeUTCTime(((R=(G=(I=t.plan)==null?void 0:I.leg)==null?void 0:G.departure)==null?void 0:R.atd)||((L=(_=(z=t.plan)==null?void 0:z.leg)==null?void 0:_.departure)==null?void 0:L.etd),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",wm,[e.createElementVNode("div",Am,[Tm,e.createElementVNode("div",Fm,e.toDisplayString((P=(W=(H=t.plan)==null?void 0:H.voyage)==null?void 0:W.vessel)==null?void 0:P.name),1)]),e.createElementVNode("div",Om,[Pm,e.createElementVNode("div",Lm,[(U=(Q=(M=t.plan)==null?void 0:M.leg)==null?void 0:Q.destination)!=null&&U.name?(e.openBlock(),e.createElementBlock("div",Wm,e.toDisplayString((ne=(J=t.plan)==null?void 0:J.leg)==null?void 0:ne.destination.name),1)):(e.openBlock(),e.createElementBlock("div",$m,[e.createVNode(E,{lat:(X=(l=(se=t.plan)==null?void 0:se.leg)==null?void 0:l.destination)==null?void 0:X.lat,label:""},null,8,["lat"]),Hm,e.createVNode(c,{lng:(te=(ee=(v=t.plan)==null?void 0:v.leg)==null?void 0:ee.destination)==null?void 0:te.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Mm,e.toDisplayString(n.computeUTCTime(((ce=(le=(oe=t.plan)==null?void 0:oe.speeds)==null?void 0:le[0])==null?void 0:ce.speed.ata)||((de=(ie=t.plan)==null?void 0:ie.speeds)==null?void 0:de[0].speed.eta),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",Im,[e.createElementVNode("div",Gm,[Rm,e.createElementVNode("div",zm,e.toDisplayString(n.computeUTCTime((_e=t.plan)==null?void 0:_e.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",Um,[Ym,e.createElementVNode("div",Zm,[e.createElementVNode("div",null,e.toDisplayString((me=(q=t.plan)==null?void 0:q.voyage)==null?void 0:me.loadCondition),1)])])])])]),e.createElementVNode("div",Qm,[Jm,e.createElementVNode("div",Km,[e.createElementVNode("div",jm,[e.createElementVNode("div",Xm,[(Ee=t.plan)!=null&&Ee.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(ye=t.plan)==null?void 0:ye.chartUrl},null,8,qm)):(e.openBlock(),e.createElementBlock("div",um,[e.createTextVNode("waiting for weather map, "),e.createElementVNode("b",{onClick:s[0]||(s[0]=(...A)=>n.handleRefresh&&n.handleRefresh(...A))},"Refresh"),e.createTextVNode("later please")]))]),e.createElementVNode("div",vm,[e.createElementVNode("div",null,[ep,e.createElementVNode("div",tp,[a.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[1]||(s[1]=A=>a.advisory=A),class:"editor",height:"120px",onBlur:s[2]||(s[2]=A=>n.handleCommit(A))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[3]||(s[3]=(...A)=>n.handleEdit&&n.handleEdit(...A)),innerHTML:a.advisory},null,40,op))])]),e.createElementVNode("div",lp,[ap,((fe=(re=t.plan)==null?void 0:re.speeds)==null?void 0:fe.length)>1?(e.openBlock(),e.createElementBlock("div",np,sp)):e.createCommentVNode("",!0),((ge=(be=t.plan)==null?void 0:be.speeds)==null?void 0:ge.length)>2?(e.openBlock(),e.createElementBlock("div",cp,ip)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",dp,[rp,e.createElementVNode("div",mp,[e.createElementVNode("div",pp,[(ke=(xe=t.plan)==null?void 0:xe.speeds)!=null&&ke.length?(e.openBlock(),e.createElementBlock("table",hp,[_p,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((De=t.plan)==null?void 0:De.speeds,(A,Se)=>{var Ge,qe,ue,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt;return e.openBlock(),e.createElementBlock("tr",{key:Se},[e.createElementVNode("td",null,"Route "+e.toDisplayString(Se+1),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ge=A.speed)==null?void 0:Ge.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${((qe=A.speed)==null?void 0:qe.label)??"CP"} ${((ue=A.speed)==null?void 0:ue.v0)??((et=(ve=A.speed)==null?void 0:ve.cpCopy)==null?void 0:et.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((m=(tt=A.speed)==null?void 0:tt.cpCopy)==null?void 0:m.fo)+" FO / "+e.toDisplayString((Be=($=A.speed)==null?void 0:$.cpCopy)==null?void 0:Be.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Me=A.speed)==null?void 0:Me.eta)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Re=A.speed)==null?void 0:Re.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((pe=A.speed)==null?void 0:pe.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((Ue=A.speed)==null?void 0:Ue.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ot=A.speed)==null?void 0:ot.totalFoCons,3))+" FO /"+e.toDisplayString(n.roundPrecision((lt=A.speed)==null?void 0:lt.totalDgoCons,3))+" DO",1)])}),128))])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",Ep,[yp,e.createElementVNode("div",Np,[e.createElementVNode("div",Vp,[e.createElementVNode("div",fp,[bp,e.createElementVNode("div",gp,[(Fe=(Te=t.plan)==null?void 0:Te.speeds)!=null&&Fe.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList((We=(Le=(Pe=(Oe=t.plan)==null?void 0:Oe.speeds[0])==null?void 0:Pe.speed)==null?void 0:Le.sample)==null?void 0:We.wps,(A,Se)=>(e.openBlock(),e.createElementBlock("div",{key:Se,class:"cell-row"},[e.createElementVNode("div",xp,[e.createElementVNode("div",kp,[e.createVNode(E,{lat:A.lat,label:""},null,8,["lat"]),Dp,e.createVNode(c,{lng:A.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",Cp,[A.name?(e.openBlock(),e.createElementBlock("span",Sp,e.toDisplayString(A.name),1)):(e.openBlock(),e.createElementBlock("span",Bp,"-"))]),e.createElementVNode("div",wp,e.toDisplayString(n.computeUTCTime(A.eta)),1),Se?(e.openBlock(),e.createElementBlock("div",Ap,e.toDisplayString(n.computeNav(A)),1)):(e.openBlock(),e.createElementBlock("div",Tp)),Se?(e.openBlock(),e.createElementBlock("div",Fp,e.toDisplayString(n.roundPrecision(A.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Op)),Se?(e.openBlock(),e.createElementBlock("div",Pp,e.toDisplayString(n.roundPrecision(A.avgSpd??A.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",Lp))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Wp,[$p,e.createElementVNode("div",Hp,[(He=($e=t.plan)==null?void 0:$e.speeds)!=null&&He.length?(e.openBlock(),e.createElementBlock("table",Mp,[Ip,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Xe=(je=(Ke=(Ne=t.plan)==null?void 0:Ne.speeds[0])==null?void 0:Ke.speed)==null?void 0:je.sample)==null?void 0:Xe.hours,(A,Se)=>{var Ge,qe,ue,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt;return e.openBlock(),e.createElementBlock("tr",{key:Se,class:e.normalizeClass(A.isDangerous?"dangerous":A.isSevere?"severe":A.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime(A.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",Gp,[e.createVNode(E,{lat:A.lat,label:""},null,8,["lat"]),Rp,e.createVNode(c,{lng:A.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(qe=(Ge=A.meteo)==null?void 0:Ge.wind)!=null&&qe.kts?(e.openBlock(),e.createElementBlock("span",zp,e.toDisplayString((ve=(ue=A.meteo)==null?void 0:ue.wind)==null?void 0:ve.direction),1)):(e.openBlock(),e.createElementBlock("span",Up,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((tt=(et=A.meteo)==null?void 0:et.wind)==null?void 0:tt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Be=($=(m=A.meteo)==null?void 0:m.wave)==null?void 0:$.wd)==null?void 0:Be.height,1)),1),e.createElementVNode("td",null,[(pe=(Re=(Me=A.meteo)==null?void 0:Me.wave)==null?void 0:Re.swell)!=null&&pe.height?(e.openBlock(),e.createElementBlock("span",Yp,e.toDisplayString((lt=(ot=(Ue=A.meteo)==null?void 0:Ue.wave)==null?void 0:ot.swell)==null?void 0:lt.direction),1)):(e.openBlock(),e.createElementBlock("span",Zp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((mt=(rt=(dt=A.meteo)==null?void 0:dt.wave)==null?void 0:rt.swell)==null?void 0:mt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Et=(_t=(pt=A.meteo)==null?void 0:pt.wave)==null?void 0:_t.swell)==null?void 0:Et.period,1)),1),e.createElementVNode("td",null,[(Vt=(Nt=(yt=A.meteo)==null?void 0:yt.wave)==null?void 0:Nt.sig)!=null&&Vt.height?(e.openBlock(),e.createElementBlock("span",Qp,e.toDisplayString((gt=(bt=(ft=A.meteo)==null?void 0:ft.wave)==null?void 0:bt.sig)==null?void 0:gt.direction),1)):(e.openBlock(),e.createElementBlock("span",Jp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Dt=(kt=(xt=A.meteo)==null?void 0:xt.wave)==null?void 0:kt.sig)==null?void 0:Dt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Bt=(St=(Ct=A.meteo)==null?void 0:Ct.wave)==null?void 0:St.sig)==null?void 0:Bt.period,1)),1),e.createElementVNode("td",null,[(At=(wt=A.meteo)==null?void 0:wt.current)!=null&&At.kts?(e.openBlock(),e.createElementBlock("span",Kp,e.toDisplayString((Ft=(Tt=A.meteo)==null?void 0:Tt.current)==null?void 0:Ft.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",jp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Pt=(Ot=A.meteo)==null?void 0:Ot.current)==null?void 0:Pt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(A.cFactor,1)),1)],2)}),128))])])):e.createCommentVNode("",!0)])]),Xp])}const tn=Ce(mm,[["render",qp],["__scopeId","data-v-cc81892d"]]),up={install(o){o.component("RouteReport",ja),o.component("FliPlanReport",tn),o.component("OrmPlanReport",ja)}},vp={install(o){o.component("IdmEditor",Go)}},eh={install(o){o.component("IdmLat",$a)}},th={install(o){o.component("IdmLng",Wa)}},oh={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},lh={class:"logo"},ah={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},nh=["fill","fill-opacity"],sh=[e.createElementVNode("path",{d:`M4225 11533 c-100 -6 -311 -23 -335 -27 -14 -3 -59 -10 -100 -16
|
|
2
2
|
-408 -60 -813 -229 -1110 -465 -98 -77 -307 -287 -393 -395 -37 -47 -74 -93
|
|
3
3
|
-82 -102 -7 -9 -22 -29 -32 -45 -9 -15 -20 -30 -23 -33 -16 -13 -139 -202
|
|
4
4
|
-225 -345 -94 -157 -256 -467 -330 -635 -21 -47 -48 -108 -60 -136 -71 -158
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
39 461 86 924 130 1275 71 571 75 585 180 632 37 17 101 18 915 23 771 4 883
|
|
39
39
|
7 940 22 36 9 107 24 158 33 52 9 118 27 148 40 101 45 175 134 211 254 14 49
|
|
40
40
|
17 128 20 596 3 360 1 568 -7 625 -20 157 -96 273 -216 330 -132 64 90 60
|
|
41
|
-
-3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)];function ih(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("i",lh,[(e.openBlock(),e.createElementBlock("svg",ah,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:l.fill,"fill-opacity":.6,stroke:"none"},sh,8,nh)]))])}const Tn=Ce(oh,[["render",ih]]),ch={install(t){t.component("PiLogo",Tn)}},TU="",FU="",dh={name:"FliVygSummary",components:{Editor:Go},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{date:"",remarks:"<div>Exclusion</div><div>The following time,distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation</div>",editable:!1,advisory:void 0,excludedTableData:[],segDetail:[],goodDays:[],cpDetail:[],noGoodWxDay:"No Good Wx Day",noSpecialRemarks:"No Special Remarks"}},computed:{computedAvgCf(){return function(t){var s,l;return(l=(s=this.reportData)==null?void 0:s.weather)!=null&&l.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,s){return s=="subtitle"?K(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s=="table"?K(t).utc().format("MMMM-DD/HHmm[Z]"):s=="summary"?K(t).utc().format("MMMM D, HHmm[Z]"):s?K(t).utc().format(s):K(t).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(t,s){const l=ae.LngLatHelper.lat2pretty(t).pretty,r=ae.LngLatHelper.lng2pretty(s).pretty;return`${l} ${r}`}},computedSeg(){return function(t){const s=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),l=this.computedTime(t.departure.utcTime,"summary"),r=this.computedTime(t.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),a=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),n=this.computedTime(t.arrival.utcTime,"summary"),E=this.computedTime(t.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:s,time1:l,fullTime1:r,port2:a,time2:n,fullTime2:E}}},computedTimeConclusion(){return function(t){let s=t.conclusionStatus,l={conclusion:"",className:"",timeCon:""};return s=="No"?(l.conclusion="No Time Lost/Gained",l.className="",l.timeCon=""):s=="Lost"?(l.conclusion="Time Lost",l.className="error",l.timeCon=`${t.timeLost} hrs`):(l.conclusion="Time Gained",l.className="success",l.timeCon=`${t.timeGain} hrs`),l}},computedFuleConclusion(){return function(t,s){let l=t.conclusionStatus,r={conclusion:"",className:"",cons:""};return l==="No"?(r.conclusion="No Over/Under",r.className="",r.cons=""):l==="Over"?(s==="FO"?r.conclusion="FO Over":r.conclusion="DO/GO Over",r.className="error",r.cons=`${t.overCons} mt`):(s==="FO"?r.conclusion="FO Under":r.conclusion="DO/GO Under",r.className="success",r.cons=`${t.saving} mt`),r}},computedUnit(){return function(t,s){return s?"%":t=="speed"?"":"(mt)"}},computedWeatherDef(){return function(t){let s="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let l=t==null?void 0:t.windScale,r="",a=0;return t!=null&&t.waveSwitch?(r+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,a++):t!=null&&t.swellSwitch?(r+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,a++):t!=null&&t.sigSwitch&&(r+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,a++),a>0&&(r+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),s=`Winds are BF/${l} or less${r}`,t!=null&&t.noAdverseCur&&(s+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(s+=", No Extrapolation"),s}},computedColor(){return function(t,s,l){let r="";if(t==="No")return r=l?"bg-color-normal":"color-normal",r;switch(s){case"time":t==="Lost"?r="color-fail":r="color-success";break;case"fuel":t==="Over"?r="color-fail":r="color-success";break;case"pfm":t==="Under"?r="color-fail":r="color-success";break}return l&&(r="bg-"+r),r}},computedAbt4Spd(){return function(t){var s,l,r;return(s=t.timeConclusion)!=null&&s.spdPercentage?ae.LngLatHelper.roundPrecision(t.extend.cp.speed*(((l=t==null?void 0:t.timeConclusion)==null?void 0:l.spdOfAbout)/100),2):(r=t==null?void 0:t.timeConclusion)==null?void 0:r.spdOfAbout}}},watch:{reportData:{handler(t,s){var l;t!=null&&t.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(l=this.reportData)==null?void 0:l.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var s,l;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let t=[];(l=(s=this.reportData)==null?void 0:s.segments)==null||l.forEach((r,a)=>{let n=r.excluded;if(n.sumDistance>0&&n.detail.forEach(i=>{let p={begin:K(i.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:K(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:K(i.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+K(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:i.duration,distance:i.distance,fo:i.foCons,dgo:i.dgoCons};this.excludedTableData.push(p)}),!t.includes(r.seg)){t.push(r.seg);let i=Object.assign({},r.extend.cp);i.spdOfOver=`+${r.timeConclusion.spdOfOver}${this.computedUnit("speed",r.timeConclusion.spdPercentage)}`,i.spdOfUnder=`-${r.timeConclusion.spdOfUnder}${this.computedUnit("speed",r.timeConclusion.spdPercentage)}`,i.over=`+${r.fuelConclusion.consOfOver}${this.computedUnit("cons",r.fuelConclusion.consPercentage)}`,i.under=`-${r.fuelConclusion.consOfUnder}${this.computedUnit("cons",r.fuelConclusion.consPercentage)}`,this.cpDetail.push(i)}let E=[];r.extend.segTimes.forEach(i=>{E.push(this.computedSeg(i))}),this.segDetail.push(E),this.goodDays.push(r.inventory.sample.hours.filter(i=>i.type!=="A"&&i.goodWx))})}}},d=t=>(e.pushScopeId("data-v-d80f1a42"),t=t(),e.popScopeId(),t),rh=d(()=>e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),mh={class:"fli-main"},ph=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),hh={class:"card basics"},_h={class:"list flex"},Eh={class:"item"},yh=d(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),Nh={class:"content flex"},Vh={class:"item"},fh=d(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),bh={class:"content flex"},xh={class:"item"},gh=d(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),Dh={class:"content flex"},kh={class:"list"},Ch={class:"item"},Sh=d(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),Bh={class:"content flex"},wh={class:"content flex"},Ah={class:"item"},Th=d(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),Fh={class:"content flex"},Oh={class:"content flex"},Ph={class:"item"},Lh=d(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),Wh={class:"content flexL"},Hh=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),$h={class:"clause"},Mh={key:0,class:"definition flex"},Ih={key:1,class:"definition flex"},Gh={class:"item"},Rh=d(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),zh={class:"content"},Uh={key:0,class:"item"},Yh=d(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),Zh={class:"content"},Qh={key:1,class:"item"},Jh=d(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),Kh={class:"content"},jh={key:2,class:"item"},uh=d(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),Xh={class:"content"},qh={key:3,class:"item"},vh=d(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),e1={class:"content"},t1={key:4,class:"item"},o1=[d(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],l1={key:5,class:"item"},a1=[d(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],n1={class:"definition flexM"},s1={class:"table"},i1=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)),c1=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),d1={class:"summary"},r1={key:0,class:"summary-overall"},m1=d(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),p1={class:"summary-overall-row"},h1={class:"card"},_1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),E1={class:"main-content"},y1={key:0},N1={key:1},V1={class:"card"},f1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),b1={class:"main-content"},x1={key:0},g1={key:1},D1={class:"card"},k1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),C1={class:"main-content"},S1={key:0},B1={key:1},w1={class:"summary-overall-row"},A1={class:"card"},T1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),F1={class:"main-content"},O1={class:"card"},P1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),L1={class:"main-content"},W1={class:"card"},H1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),$1={class:"main-content"},M1=d(()=>e.createElementVNode("div",{class:"summary-overall-row",style:{"flex-direction":"column"}},[e.createElementVNode("div",{class:"flex-start"},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",null,"FO Cons. + M/E DO/GO Cons. in ECA")]),e.createElementVNode("div",{class:"flex-start"},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",null,"DO/GO Cons. - M/E DO/GO Cons. in ECA")])],-1)),I1={class:"card",style:{flex:"1.5"}},G1={class:"card-title"},R1=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),z1={class:"card-segment"},U1={class:"card-segment"},Y1={class:"card-segment"},Z1=d(()=>e.createElementVNode("div",null,"Applied",-1)),Q1={class:"uppercase"},J1={class:"card summary-card",style:{flex:"1"}},K1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),j1={key:0,class:"main-content"},u1={key:0,class:"iconfont success"},X1={key:1,class:"iconfont error"},q1={key:1,class:"main-content"},v1={class:"card-content",style:{"justify-content":"flex-start"}},e_={class:"card summary-card",style:{flex:"1"}},t_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),o_={key:0,class:"main-content"},l_={key:0,class:"iconfont success"},a_={key:1,class:"iconfont error"},n_={key:1,class:"main-content"},s_={class:"card-content",style:{"justify-content":"flex-start"}},i_={class:"card summary-card",style:{flex:"1"}},c_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),d_={key:0,class:"main-content"},r_={key:0,class:"iconfont success"},m_={key:1,class:"iconfont error"},p_={key:1,class:"main-content"},h_={class:"card-content",style:{"justify-content":"flex-start"}},__={style:{"page-break-inside":"avoid"}},E_=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),y_={class:"remarks"},N_={class:"item"},V_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),f_={class:"speed"},b_={class:"uppercase"},x_={class:"item"},g_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),D_={key:0,class:"remark-detail"},k_={key:1,class:"remark-detail"},C_={class:"page-avoid"},S_={class:"dashed"},B_={class:"card phase-title-card",style:{flex:"0.5"}},w_={class:"card-title"},A_=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),T_={class:"card-segment"},F_={class:"card-segment"},O_={class:"card-segment"},P_=d(()=>e.createElementVNode("div",null,"Applied",-1)),L_={class:"uppercase"},W_=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),H_={class:"phase-analysis"},$_={class:"card phase-card",style:{flex:"1"}},M_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),I_={class:"main-content"},G_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),R_={class:"main-content"},z_={class:"card-content"},U_=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),Y_=d(()=>e.createElementVNode("span",null,"mt",-1)),Z_={class:"card-content"},Q_=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),J_=d(()=>e.createElementVNode("span",null,"mt",-1)),K_={class:"card-content"},j_=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),u_=d(()=>e.createElementVNode("span",null,"mt",-1)),X_={class:"card-content"},q_=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),v_=d(()=>e.createElementVNode("span",null,"mt",-1)),eE=d(()=>e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"FO Cons. + M/E DO/GO Cons. in ECA")],-1)),tE={class:"card phase-card",style:{flex:"1"}},oE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),lE={class:"main-content"},aE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),nE={class:"main-content"},sE={class:"card-content"},iE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),cE=d(()=>e.createElementVNode("span",null,"mt",-1)),dE={class:"card-content"},rE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),mE=d(()=>e.createElementVNode("span",null,"mt",-1)),pE={class:"card-content"},hE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),_E=d(()=>e.createElementVNode("span",null,"mt",-1)),EE={class:"card-content"},yE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),NE=d(()=>e.createElementVNode("span",null,"mt",-1)),VE=d(()=>e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"DO/GO Cons. - M/E DO/GO Cons. in ECA")],-1)),fE={class:"phase-analysis"},bE={class:"card phase-card",style:{flex:"1"}},xE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),gE={class:"main-content"},DE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),kE={class:"main-content"},CE={class:"card-content"},SE=d(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),BE=d(()=>e.createElementVNode("span",null,"nm",-1)),wE={class:"card-content"},AE=d(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),TE=d(()=>e.createElementVNode("span",null,"nm",-1)),FE={class:"card-content"},OE=d(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),PE=d(()=>e.createElementVNode("span",null,"nm",-1)),LE={class:"card-content"},WE=d(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),HE=d(()=>e.createElementVNode("span",null,"nm",-1)),$E={class:"card phase-card",style:{flex:"1"}},ME=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),IE={class:"main-content"},GE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),RE={class:"main-content"},zE={class:"card-content"},UE=d(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),YE=d(()=>e.createElementVNode("span",null,"hrs",-1)),ZE={class:"card-content"},QE=d(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),JE=d(()=>e.createElementVNode("span",null,"hrs",-1)),KE={class:"card-content"},jE=d(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),uE=d(()=>e.createElementVNode("span",null,"hrs",-1)),XE={class:"card-content"},qE=d(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),vE=d(()=>e.createElementVNode("span",null,"hrs",-1)),ey={class:"card phase-card",style:{flex:"1"}},ty=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),oy={class:"main-content"},ly=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),ay={class:"main-content"},ny={class:"card-content"},sy=d(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),iy=d(()=>e.createElementVNode("span",null,"kts",-1)),cy={class:"card-content"},dy=d(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),ry=d(()=>e.createElementVNode("span",null,"kts",-1)),my={class:"card-content"},py=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),hy=d(()=>e.createElementVNode("span",null,"kts",-1)),_y={class:"card-content"},Ey=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),yy=d(()=>e.createElementVNode("span",null,"kts",-1)),Ny={class:"phase-analysis"},Vy={class:"card phase-card",style:{flex:"1"}},fy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),by={class:"main-content"},xy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),gy={class:"main-content"},Dy={class:"card-content"},ky=d(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),Cy=d(()=>e.createElementVNode("span",null,"mt",-1)),Sy={class:"card-content"},By=d(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),wy=d(()=>e.createElementVNode("span",null,"mt",-1)),Ay={class:"card-content"},Ty=d(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),Fy=d(()=>e.createElementVNode("span",null,"mt",-1)),Oy={class:"card-content"},Py=d(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),Ly=d(()=>e.createElementVNode("span",null,"mt",-1)),Wy={class:"card phase-card",style:{flex:"1"}},Hy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),$y={class:"main-content"},My=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),Iy={class:"main-content"},Gy={class:"card-content"},Ry=d(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),zy=d(()=>e.createElementVNode("span",null,"mt",-1)),Uy={class:"card-content"},Yy=d(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),Zy=d(()=>e.createElementVNode("span",null,"mt",-1)),Qy={class:"card-content"},Jy=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),Ky=d(()=>e.createElementVNode("span",null,"mt",-1)),jy={class:"card-content"},uy=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),Xy=d(()=>e.createElementVNode("span",null,"mt",-1)),qy={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},vy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),eN={class:"main-content"},tN={class:"card-content"},oN=d(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),lN={key:0},aN=d(()=>e.createElementVNode("span",null,"kts",-1)),nN={key:1},sN={class:"phase-card"},iN={class:"card",style:{flex:"1"}},cN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),dN={key:0,class:"main-content"},rN={key:0,class:"iconfont success"},mN={key:1,class:"iconfont error"},pN={key:1,class:"main-content"},hN={class:"nogwd"},_N={class:"card-content",style:{"justify-content":"flex-start"}},EN={key:0},yN={class:"equation"},NN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),VN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),fN={style:{width:"8%"}},bN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),xN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),gN={style:{width:"10%"}},DN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),kN={class:"equation"},CN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),SN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),BN={style:{width:"8%"}},wN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),AN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),TN={style:{width:"10%"}},FN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),ON={class:"equation"},PN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),LN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),WN={style:{width:"8%"}},HN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$N=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),MN={style:{width:"10%"}},IN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),GN={class:"phase-card"},RN={class:"card",style:{flex:"1"}},zN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),UN={key:0,class:"main-content"},YN={key:0,class:"iconfont success"},ZN={key:1,class:"iconfont error"},QN={key:1,class:"main-content"},JN={class:"nogwd"},KN={class:"card-content",style:{"justify-content":"flex-start"}},jN={key:0},uN={class:"equation"},XN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),qN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),vN={style:{width:"8%"}},eV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),oV={style:{width:"120px"}},lV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),aV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),nV={style:{width:"10%"}},sV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),iV={class:"equation"},cV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),dV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),rV={style:{width:"8%"}},mV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),pV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),hV={style:{width:"120px"}},_V=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),EV=d(()=>e.createElementVNode("div",null,"24",-1)),yV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),NV={style:{width:"10%"}},VV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),fV={class:"equation"},bV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),xV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),gV={style:{width:"8%"}},DV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),kV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),CV={style:{width:"120px"}},SV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),BV=d(()=>e.createElementVNode("div",null,"24",-1)),wV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),AV={style:{width:"10%"}},TV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),FV={key:0,class:"phase-card"},OV={class:"card",style:{flex:"1"}},PV=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),LV={key:0,class:"main-content"},WV={key:0,class:"iconfont success"},HV={key:1,class:"iconfont error"},$V={key:1,class:"main-content"},MV={class:"nogwd"},IV={class:"card-content",style:{"justify-content":"flex-start"}},GV={key:0},RV={class:"equation"},zV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),UV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),YV={style:{width:"8%"}},ZV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),QV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),JV={style:{width:"120px"}},KV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),jV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),uV={style:{width:"10%"}},XV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),qV={class:"equation"},vV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),ef=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),tf={style:{width:"8%"}},of=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),af={style:{width:"120px"}},nf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),sf=d(()=>e.createElementVNode("div",null,"24",-1)),cf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),df={style:{width:"10%"}},rf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),mf={class:"equation"},pf=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),hf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),_f={style:{width:"8%"}},Ef=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),yf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Nf={style:{width:"120px"}},Vf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ff=d(()=>e.createElementVNode("div",null,"24",-1)),bf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),xf={style:{width:"10%"}},gf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),Df=d(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),kf={class:"formular dashed",style:{"page-break-inside":"avoid"}},Cf={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},Sf=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),Bf={class:""},wf={class:"equation"},Af=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),Tf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Ff={style:{width:"50%"},class:"fraction"},Of=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Pf=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Lf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),Wf={class:"equation"},Hf=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),$f=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Mf={style:{width:"50%"},class:"fraction"},If=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Gf=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),Rf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),zf={class:"equation"},Uf=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),Yf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Zf={style:{width:"50%"},class:"fraction"},Qf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Jf=d(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),Kf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),jf=d(()=>e.createElementVNode("div",{class:"equation flex-end",style:{"margin-right":"4%"}},[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),uf={class:"flexL formular-item",style:{"margin-left":"20px"}},Xf=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),qf={class:""},vf={class:"equation"},e0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),t0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),o0={style:{width:"25%"},class:"fraction"},l0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),a0=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),n0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),s0=d(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Good Weather Consumption"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),i0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),c0={class:"equation"},d0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),r0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),m0={style:{width:"25%"},class:"fraction"},p0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),h0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),_0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),E0=d(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption + Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),y0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),N0={class:"equation"},V0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),f0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),b0={style:{width:"25%"},class:"fraction"},x0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),g0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),D0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),k0=d(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption - Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),C0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),S0=d(()=>e.createElementVNode("div",{class:"equation",style:{margin:"10px 0"}},[e.createElementVNode("span",null,"Fuel Over-consumption = (d) - (e) "),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Fuel Saving = (f) - (d)")],-1)),B0=d(()=>e.createElementVNode("div",{class:"equation"},[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),e.createElementVNode("br"),e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),e.createElementVNode("br"),e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),e.createElementVNode("br")],-1));function w0(t,s,l,r,a,n){var E,i,p,b,x,h,y,k,g,C,D,T,F,B,w,V,O,I,G,R,z,_,L,$,W,P,M,Q,U,J,ne,se,o,u,v,ee,te,oe,le,ie,ce,de,_e,X,me,Ee,ye,re,fe,be,xe,ge,De,ke,Te,Fe,Oe,Pe,Le,We,He,$e,Ne,Ke,je,ue,A,Se,Ge,Xe,qe,ve,et,tt;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(E=l.reportData)==null?void 0:E.weather)!=null&&i.referenceOnly?"watermark":"")},[rh,e.createElementVNode("div",mh,[ph,e.createElementVNode("div",hh,[e.createElementVNode("div",_h,[e.createElementVNode("div",Eh,[yh,e.createElementVNode("div",Nh,e.toDisplayString((p=l.reportData)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",Vh,[fh,e.createElementVNode("div",bh,e.toDisplayString((x=(b=l.reportData)==null?void 0:b.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",xh,[gh,e.createElementVNode("div",Dh,e.toDisplayString(a.date),1)])]),e.createElementVNode("div",kh,[e.createElementVNode("div",Ch,[Sh,e.createElementVNode("div",Bh,e.toDisplayString(((y=(h=l.reportData)==null?void 0:h.departure)==null?void 0:y.portName)||n.computedLngLat((g=(k=l.reportData)==null?void 0:k.departure)==null?void 0:g.lat,(D=(C=l.reportData)==null?void 0:C.departure)==null?void 0:D.lng)),1),e.createElementVNode("div",wh,e.toDisplayString(n.computedTime((F=(T=l.reportData)==null?void 0:T.departure)==null?void 0:F.utcTime,"table")),1)]),e.createElementVNode("div",Ah,[Th,e.createElementVNode("div",Fh,e.toDisplayString(((w=(B=l.reportData)==null?void 0:B.arrival)==null?void 0:w.portName)||n.computedLngLat((O=(V=l.reportData)==null?void 0:V.arrival)==null?void 0:O.lat,(G=(I=l.reportData)==null?void 0:I.arrival)==null?void 0:G.lng)),1),e.createElementVNode("div",Oh,e.toDisplayString(n.computedTime((z=(R=l.reportData)==null?void 0:R.arrival)==null?void 0:z.utcTime,"table")),1)]),e.createElementVNode("div",Ph,[Lh,e.createElementVNode("div",Wh,e.toDisplayString((L=(_=l.reportData)==null?void 0:_.voyage)==null?void 0:L.loadCondition),1)])])]),Hh,e.createElementVNode("div",$h,[(W=($=l.reportData)==null?void 0:$.weather)!=null&&W.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",Mh,"No specific thresholds in weather.")):(e.openBlock(),e.createElementBlock("div",Ih,[e.createElementVNode("div",Gh,[Rh,e.createElementVNode("div",zh,"BF "+e.toDisplayString(((M=(P=l.reportData)==null?void 0:P.weather)==null?void 0:M.windScale)||"-"),1)]),(U=(Q=l.reportData)==null?void 0:Q.weather)!=null&&U.waveSwitch?(e.openBlock(),e.createElementBlock("div",Uh,[Yh,e.createElementVNode("div",Zh,e.toDisplayString(((ne=(J=l.reportData)==null?void 0:J.weather)==null?void 0:ne.waveHeight)||"-")+" Meter",1)])):(o=(se=l.reportData)==null?void 0:se.weather)!=null&&o.swellSwitch?(e.openBlock(),e.createElementBlock("div",Qh,[Jh,e.createElementVNode("div",Kh,e.toDisplayString(((v=(u=l.reportData)==null?void 0:u.weather)==null?void 0:v.swellHeight)||"-")+" Meter",1)])):(te=(ee=l.reportData)==null?void 0:ee.weather)!=null&&te.sigSwitch?(e.openBlock(),e.createElementBlock("div",jh,[uh,e.createElementVNode("div",Xh,e.toDisplayString(((le=(oe=l.reportData)==null?void 0:oe.weather)==null?void 0:le.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(ce=(ie=l.reportData)==null?void 0:ie.weather)!=null&&ce.waveSwitch||(_e=(de=l.reportData)==null?void 0:de.weather)!=null&&_e.swellHeight||(me=(X=l.reportData)==null?void 0:X.weather)!=null&&me.sigSwitch?(e.openBlock(),e.createElementBlock("div",qh,[vh,e.createElementVNode("div",e1,e.toDisplayString((ye=(Ee=l.reportData)==null?void 0:Ee.weather)==null?void 0:ye.seaScale),1)])):e.createCommentVNode("",!0),(fe=(re=l.reportData)==null?void 0:re.weather)!=null&&fe.noAdverseCur?(e.openBlock(),e.createElementBlock("div",t1,o1)):e.createCommentVNode("",!0),(xe=(be=l.reportData)==null?void 0:be.weather)!=null&&xe.noExtrapolation?(e.openBlock(),e.createElementBlock("div",l1,a1)):e.createCommentVNode("",!0)])),e.createElementVNode("div",n1,[e.createElementVNode("table",s1,[i1,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.cpDetail,(m,H)=>(e.openBlock(),e.createElementBlock("tr",{key:H},[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))])])])]),c1,e.createElementVNode("div",d1,[((De=(ge=l.reportData)==null?void 0:ge.segments)==null?void 0:De.length)>1?(e.openBlock(),e.createElementBlock("div",r1,[m1,e.createElementVNode("div",p1,[e.createElementVNode("div",h1,[_1,e.createElementVNode("div",E1,[(Te=(ke=l.reportData)==null?void 0:ke.goodWx)!=null&&Te.avgSpd?(e.openBlock(),e.createElementBlock("div",y1,e.toDisplayString((Oe=(Fe=l.reportData)==null?void 0:Fe.goodWx)==null?void 0:Oe.avgSpd)+" kts",1)):(e.openBlock(),e.createElementBlock("div",N1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",V1,[f1,e.createElementVNode("div",b1,[(Le=(Pe=l.reportData)==null?void 0:Pe.goodWx)!=null&&Le.avgSpd?(e.openBlock(),e.createElementBlock("div",x1,e.toDisplayString((He=(We=l.reportData)==null?void 0:We.goodWx)==null?void 0:He.avgFoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",g1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",D1,[k1,e.createElementVNode("div",C1,[(Ne=($e=l.reportData)==null?void 0:$e.goodWx)!=null&&Ne.avgSpd?(e.openBlock(),e.createElementBlock("div",S1,e.toDisplayString((je=(Ke=l.reportData)==null?void 0:Ke.goodWx)==null?void 0:je.avgDgoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",B1,e.toDisplayString(a.noGoodWxDay),1))])])]),e.createElementVNode("div",w1,[e.createElementVNode("div",A1,[T1,e.createElementVNode("div",F1,e.toDisplayString((A=(ue=l.reportData)==null?void 0:ue.allWx)==null?void 0:A.avgSpd)+" kts",1)]),e.createElementVNode("div",O1,[P1,e.createElementVNode("div",L1,e.toDisplayString((Ge=(Se=l.reportData)==null?void 0:Se.allWx)==null?void 0:Ge.avgFoEcaCons)+" mt",1)]),e.createElementVNode("div",W1,[H1,e.createElementVNode("div",$1,e.toDisplayString((qe=(Xe=l.reportData)==null?void 0:Xe.allWx)==null?void 0:qe.avgDgoEcaCons)+" mt",1)])]),M1])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ve=l.reportData)==null?void 0:ve.segments,(m,H)=>{var Be,Me,Re;return e.openBlock(),e.createElementBlock("div",{key:H,class:"summary-seg"},[e.createElementVNode("div",I1,[e.createElementVNode("div",G1,[R1,e.createElementVNode("span",null,"Phase "+e.toDisplayString(H+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[H],(pe,Ue)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Ue,class:e.normalizeClass(a.segDetail[H].length>1?"dashed":"")},[e.createElementVNode("div",z1,[e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.port1),1),e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.time1),1)]),e.createElementVNode("div",U1,[e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.port2),1),e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.time2),1)])],2))),128)),e.createElementVNode("div",Y1,[Z1,e.createElementVNode("div",null,[e.createElementVNode("span",Q1,e.toDisplayString(m.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",J1,[K1,(Be=m.goodWx)!=null&&Be.distance?(e.openBlock(),e.createElementBlock("div",j1,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",u1,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",X1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",q1,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",v1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedTimeConclusion(m.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).conclusion),1)])]),e.createElementVNode("div",e_,[t_,(Me=m.goodWx)!=null&&Me.distance?(e.openBlock(),e.createElementBlock("div",o_,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",l_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",a_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",n_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",s_,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",i_,[c_,(Re=m.goodWx)!=null&&Re.distance?(e.openBlock(),e.createElementBlock("div",d_,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",r_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",m_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",p_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",h_,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",__,[E_,e.createElementVNode("div",y_,[e.createElementVNode("div",N_,[V_,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((et=l.reportData)==null?void 0:et.segments,(m,H)=>(e.openBlock(),e.createElementBlock("div",{key:H,class:"remark-speed"},[e.createElementVNode("div",f_,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${H+1}. Phase ${H+1} Applied `)+" ",1),e.createElementVNode("span",b_,e.toDisplayString(m.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt ) ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[H],(Be,Me)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Me},e.toDisplayString(`${Be.port1} (${Be.fullTime1}) to ${Be.port2} (${Be.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",x_,[g_,a.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",D_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.excludedTableData,(m,H)=>(e.openBlock(),e.createElementBlock("div",{key:H},e.toDisplayString(`From ${m.begin} to ${m.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",k_,e.toDisplayString(a.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((tt=l.reportData)==null?void 0:tt.segments,(m,H)=>{var Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,xt,gt,Dt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,io,co,ro,mo,po,ho,_o,Eo,S,Ie,at,nt,ht,Lt,Wt,Ht,$t,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,ut,Xt,qt,vt,eo,to,oo,lo,yo,No,Vo,fo,bo,xo,go,Do,ko,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,Ho,$o,Ro,zo,Uo,Yo,Zo,Qo,Jo,Ko,jo,uo,Xo,qo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl;return e.openBlock(),e.createElementBlock("div",{key:H,class:"phase"},[e.createElementVNode("div",C_,[e.createElementVNode("div",S_,[e.createElementVNode("div",B_,[e.createElementVNode("div",w_,[A_,e.createElementVNode("span",null,"Phase "+e.toDisplayString(H+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[H],(st,pl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+pl,class:e.normalizeClass(a.segDetail[H].length>1?"dashed":"")},[e.createElementVNode("div",T_,[e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.port1),1),e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.time1),1)]),e.createElementVNode("div",F_,[e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.port2),1),e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.time2),1)])],2))),128)),e.createElementVNode("div",O_,[P_,e.createElementVNode("div",null,[e.createElementVNode("span",L_,e.toDisplayString(m.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt",1)])])])]),W_,e.createElementVNode("div",H_,[e.createElementVNode("div",$_,[M_,e.createElementVNode("div",I_,[e.createElementVNode("span",null,e.toDisplayString(((Be=m.goodWx)==null?void 0:Be.avgFoEcaCons)||"-")+" mt",1)]),G_,e.createElementVNode("div",R_,[e.createElementVNode("span",null,e.toDisplayString(((Me=m.allWx)==null?void 0:Me.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",z_,[U_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Re=m.goodWx)==null?void 0:Re.outEca.avgFoCons)||"-"),1),Y_])]),e.createElementVNode("div",Z_,[Q_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pe=m.goodWx)==null?void 0:pe.inEca.avgFoEcaCons)||"-"),1),J_])]),e.createElementVNode("div",K_,[j_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ue=m.allWx)==null?void 0:Ue.outEca.avgFoCons)||"-"),1),u_])]),e.createElementVNode("div",X_,[q_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ot=m.allWx)==null?void 0:ot.inEca.avgFoEcaCons)||"-"),1),v_])]),eE]),e.createElementVNode("div",tE,[oE,e.createElementVNode("div",lE,[e.createElementVNode("span",null,e.toDisplayString(((lt=m.goodWx)==null?void 0:lt.avgDgoEcaCons)||"-")+" mt",1)]),aE,e.createElementVNode("div",nE,[e.createElementVNode("span",null,e.toDisplayString(((dt=m.allWx)==null?void 0:dt.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",sE,[iE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((rt=m.goodWx)==null?void 0:rt.outEca.avgDgoCons)||"-"),1),cE])]),e.createElementVNode("div",dE,[rE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=m.goodWx)==null?void 0:mt.inEca.avgDgoEcaCons)||"-"),1),mE])]),e.createElementVNode("div",pE,[hE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=m.allWx)==null?void 0:pt.outEca.avgDgoCons)||"-"),1),_E])]),e.createElementVNode("div",EE,[yE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_t=m.allWx)==null?void 0:_t.inEca.avgDgoEcaCons)||"-"),1),NE])]),VE])]),e.createElementVNode("div",fE,[e.createElementVNode("div",bE,[xE,e.createElementVNode("div",gE,[e.createElementVNode("span",null,e.toDisplayString(((Et=m.goodWx)==null?void 0:Et.distance)||"-")+" nm",1)]),DE,e.createElementVNode("div",kE,[e.createElementVNode("span",null,e.toDisplayString(((yt=m.allWx)==null?void 0:yt.distance)||"-")+" nm",1)]),e.createElementVNode("div",CE,[SE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=m.goodWx)==null?void 0:Nt.outEca.distance)||"-"),1),BE])]),e.createElementVNode("div",wE,[AE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vt=m.goodWx)==null?void 0:Vt.inEca.distance)||"-"),1),TE])]),e.createElementVNode("div",FE,[OE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ft=m.allWx)==null?void 0:ft.outEca.distance)||"-"),1),PE])]),e.createElementVNode("div",LE,[WE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=m.allWx)==null?void 0:bt.inEca.distance)||"-"),1),HE])])]),e.createElementVNode("div",$E,[ME,e.createElementVNode("div",IE,[e.createElementVNode("span",null,e.toDisplayString(((xt=m.goodWx)==null?void 0:xt.time)||"-")+" hrs",1)]),GE,e.createElementVNode("div",RE,[e.createElementVNode("span",null,e.toDisplayString(((gt=m.allWx)==null?void 0:gt.time)||"-")+" hrs",1)]),e.createElementVNode("div",zE,[UE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=m.goodWx)==null?void 0:Dt.outEca.time)||"-"),1),YE])]),e.createElementVNode("div",ZE,[QE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((kt=m.goodWx)==null?void 0:kt.inEca.time)||"-"),1),JE])]),e.createElementVNode("div",KE,[jE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=m.allWx)==null?void 0:Ct.outEca.time)||"-"),1),uE])]),e.createElementVNode("div",XE,[qE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((St=m.allWx)==null?void 0:St.inEca.time)||"-"),1),vE])])]),e.createElementVNode("div",ey,[ty,e.createElementVNode("div",oy,[e.createElementVNode("span",null,e.toDisplayString(((Bt=m.goodWx)==null?void 0:Bt.avgSpd)||"-")+" kts",1)]),ly,e.createElementVNode("div",ay,[e.createElementVNode("span",null,e.toDisplayString(((wt=m.allWx)==null?void 0:wt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",ny,[sy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=m.goodWx)==null?void 0:At.outEca.avgSpd)||"-"),1),iy])]),e.createElementVNode("div",cy,[dy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Tt=m.goodWx)==null?void 0:Tt.inEca.avgSpd)||"-"),1),ry])]),e.createElementVNode("div",my,[py,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=m.allWx)==null?void 0:Ft.outEca.avgSpd)||"-"),1),hy])]),e.createElementVNode("div",_y,[Ey,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=m.allWx)==null?void 0:Ot.inEca.avgSpd)||"-"),1),yy])])])]),e.createElementVNode("div",Ny,[e.createElementVNode("div",Vy,[fy,e.createElementVNode("div",by,[e.createElementVNode("span",null,e.toDisplayString(((Pt=m.goodWx)==null?void 0:Pt.sumFoCons)||"-")+" mt",1)]),xy,e.createElementVNode("div",gy,[e.createElementVNode("span",null,e.toDisplayString(((no=m.allWx)==null?void 0:no.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",Dy,[ky,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((so=m.goodWx)==null?void 0:so.outEca.sumFoCons)||"-"),1),Cy])]),e.createElementVNode("div",Sy,[By,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((io=m.goodWx)==null?void 0:io.inEca.sumFoCons)||"-"),1),wy])]),e.createElementVNode("div",Ay,[Ty,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((co=m.allWx)==null?void 0:co.outEca.sumFoCons)||"-"),1),Fy])]),e.createElementVNode("div",Oy,[Py,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ro=m.allWx)==null?void 0:ro.inEca.sumFoCons)||"-"),1),Ly])])]),e.createElementVNode("div",Wy,[Hy,e.createElementVNode("div",$y,[e.createElementVNode("span",null,e.toDisplayString(((mo=m.goodWx)==null?void 0:mo.sumDgoCons)||"-")+" mt",1)]),My,e.createElementVNode("div",Iy,[e.createElementVNode("span",null,e.toDisplayString(((po=m.allWx)==null?void 0:po.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",Gy,[Ry,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ho=m.goodWx)==null?void 0:ho.outEca.sumDgoCons)||"-"),1),zy])]),e.createElementVNode("div",Uy,[Yy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_o=m.goodWx)==null?void 0:_o.inEca.sumDgoCons)||"-"),1),Zy])]),e.createElementVNode("div",Qy,[Jy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Eo=m.allWx)==null?void 0:Eo.outEca.sumDgoCons)||"-"),1),Ky])]),e.createElementVNode("div",jy,[uy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((S=m.allWx)==null?void 0:S.inEca.sumDgoCons)||"-"),1),Xy])])]),e.createElementVNode("div",qy,[vy,e.createElementVNode("div",eN,[e.createElementVNode("span",null,e.toDisplayString(((Ie=m.goodWx)==null?void 0:Ie.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",tN,[oN,(at=m.goodWx)!=null&&at.distance&&!((ht=(nt=l.reportData)==null?void 0:nt.weather)!=null&&ht.favorableCur&&((Lt=m.goodWx)==null?void 0:Lt.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",lN,[e.createTextVNode(e.toDisplayString(n.computedPositive((Wt=m.goodWx)==null?void 0:Wt.avgCf)),1),aN])):(e.openBlock(),e.createElementBlock("b",nN,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",sN,[e.createElementVNode("div",iN,[cN,(Ht=m.goodWx)!=null&&Ht.distance?(e.openBlock(),e.createElementBlock("div",dN,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",rN,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",mN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",pN,[e.createElementVNode("span",hN,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",_N,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedTimeConclusion(m.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${($t=m.goodWx)!=null&&$t.distance?"":"analysis-none"} card analysis-card`)},[(Mt=m.goodWx)!=null&&Mt.distance?(e.openBlock(),e.createElementBlock("div",EN,[e.createElementVNode("div",yN,[NN,VN,e.createElementVNode("div",fN,[e.createElementVNode("div",null,e.toDisplayString((Gt=(It=l.reportData)==null?void 0:It.weather)!=null&&Gt.noExtrapolation?(Rt=m.goodWx)==null?void 0:Rt.distance:(zt=m.allWx)==null?void 0:zt.distance),1),bN,e.createElementVNode("div",null,e.toDisplayString((Ut=m.goodWx)==null?void 0:Ut.pfmSpd),1)]),xN,e.createElementVNode("div",gN,e.toDisplayString(m.timeConclusion.timeAtPfmSpd)+" Hrs",1),DN]),e.createElementVNode("div",kN,[CN,SN,e.createElementVNode("div",BN,[e.createElementVNode("div",null,e.toDisplayString((Zt=(Yt=l.reportData)==null?void 0:Yt.weather)!=null&&Zt.noExtrapolation?(Qt=m.goodWx)==null?void 0:Qt.distance:(Jt=m.allWx)==null?void 0:Jt.distance),1),wN,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),AN,e.createElementVNode("div",TN,e.toDisplayString(m.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),FN]),e.createElementVNode("div",ON,[PN,LN,e.createElementVNode("div",WN,[e.createElementVNode("div",null,e.toDisplayString((jt=(Kt=l.reportData)==null?void 0:Kt.weather)!=null&&jt.noExtrapolation?(ut=m.goodWx)==null?void 0:ut.distance:(Xt=m.allWx)==null?void 0:Xt.distance),1),HN,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.plusAbtSpd),1)]),$N,e.createElementVNode("div",MN,e.toDisplayString(m.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),IN])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",GN,[e.createElementVNode("div",RN,[zN,(qt=m.goodWx)!=null&&qt.distance?(e.openBlock(),e.createElementBlock("div",UN,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",YN,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",ZN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",QN,[e.createElementVNode("span",JN,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",KN,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(vt=m.goodWx)!=null&&vt.distance?"":"analysis-none"} card analysis-card`)},[(eo=m.goodWx)!=null&&eo.distance?(e.openBlock(),e.createElementBlock("div",jN,[e.createElementVNode("div",uN,[XN,qN,e.createElementVNode("div",vN,[e.createElementVNode("div",null,e.toDisplayString((oo=(to=l.reportData)==null?void 0:to.weather)!=null&&oo.noExtrapolation?(lo=m.goodWx)==null?void 0:lo.distance:(yo=m.allWx)==null?void 0:yo.distance),1),eV,e.createElementVNode("div",null,e.toDisplayString((No=m.goodWx)==null?void 0:No.pfmSpd),1)]),tV,e.createElementVNode("div",oV,[e.createElementVNode("div",null,e.toDisplayString((Vo=m.goodWx)==null?void 0:Vo.sumFoCons)+" "+e.toDisplayString(((fo=m.allWx)==null?void 0:fo.inEca.distance)>0?` + ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),lV,e.createElementVNode("div",null,e.toDisplayString((bo=m.goodWx)==null?void 0:bo.time),1)]),aV,e.createElementVNode("div",nV,e.toDisplayString(m.fuelConclusion.fo.entireCons)+" MT",1),sV]),e.createElementVNode("div",iV,[cV,dV,e.createElementVNode("div",rV,[e.createElementVNode("div",null,e.toDisplayString((go=(xo=l.reportData)==null?void 0:xo.weather)!=null&&go.noExtrapolation?(Do=m.goodWx)==null?void 0:Do.distance:(ko=m.allWx)==null?void 0:ko.distance),1),mV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),pV,e.createElementVNode("div",hV,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.overTolerance),1),_V,EV]),yV,e.createElementVNode("div",NV,e.toDisplayString(m.fuelConclusion.fo.maxCons)+" MT",1),VV]),e.createElementVNode("div",fV,[bV,xV,e.createElementVNode("div",gV,[e.createElementVNode("div",null,e.toDisplayString((So=(Co=l.reportData)==null?void 0:Co.weather)!=null&&So.noExtrapolation?(Bo=m.goodWx)==null?void 0:Bo.distance:(wo=m.allWx)==null?void 0:wo.distance),1),DV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),kV,e.createElementVNode("div",CV,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.underTolerance),1),SV,BV]),wV,e.createElementVNode("div",AV,e.toDisplayString(m.fuelConclusion.fo.minCons)+" MT",1),TV])])):e.createCommentVNode("",!0)],2)]),((To=(Ao=m==null?void 0:m.extend)==null?void 0:Ao.cp)==null?void 0:To.dgo)>0?(e.openBlock(),e.createElementBlock("div",FV,[e.createElementVNode("div",OV,[PV,(Fo=m.goodWx)!=null&&Fo.distance?(e.openBlock(),e.createElementBlock("div",LV,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",WV,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",HV,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",$V,[e.createElementVNode("span",MV,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",IV,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Oo=m.goodWx)!=null&&Oo.distance?"":"analysis-none"} card analysis-card`)},[(Po=m.goodWx)!=null&&Po.distance?(e.openBlock(),e.createElementBlock("div",GV,[e.createElementVNode("div",RV,[zV,UV,e.createElementVNode("div",YV,[e.createElementVNode("div",null,e.toDisplayString((Wo=(Lo=l.reportData)==null?void 0:Lo.weather)!=null&&Wo.noExtrapolation?(Ho=m.goodWx)==null?void 0:Ho.distance:($o=m.allWx)==null?void 0:$o.distance),1),ZV,e.createElementVNode("div",null,e.toDisplayString((Ro=m.goodWx)==null?void 0:Ro.pfmSpd),1)]),QV,e.createElementVNode("div",JV,[e.createElementVNode("div",null,e.toDisplayString((zo=m.goodWx)==null?void 0:zo.sumDgoCons)+" "+e.toDisplayString(((Uo=m.allWx)==null?void 0:Uo.inEca.distance)>0?` - ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),KV,e.createElementVNode("div",null,e.toDisplayString((Yo=m.goodWx)==null?void 0:Yo.time),1)]),jV,e.createElementVNode("div",uV,e.toDisplayString(m.fuelConclusion.dgo.entireCons)+" MT",1),XV]),e.createElementVNode("div",qV,[vV,ef,e.createElementVNode("div",tf,[e.createElementVNode("div",null,e.toDisplayString((Qo=(Zo=l.reportData)==null?void 0:Zo.weather)!=null&&Qo.noExtrapolation?(Jo=m.goodWx)==null?void 0:Jo.distance:(Ko=m.allWx)==null?void 0:Ko.distance),1),of,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),lf,e.createElementVNode("div",af,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.overTolerance),1),nf,sf]),cf,e.createElementVNode("div",df,e.toDisplayString(m.fuelConclusion.dgo.maxCons)+" MT",1),rf]),e.createElementVNode("div",mf,[pf,hf,e.createElementVNode("div",_f,[e.createElementVNode("div",null,e.toDisplayString((uo=(jo=l.reportData)==null?void 0:jo.weather)!=null&&uo.noExtrapolation?(Xo=m.goodWx)==null?void 0:Xo.distance:(qo=m.allWx)==null?void 0:qo.distance),1),Ef,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),yf,e.createElementVNode("div",Nf,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.underTolerance),1),Vf,ff]),bf,e.createElementVNode("div",xf,e.toDisplayString(m.fuelConclusion.dgo.minCons)+" MT",1),gf])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),Df,e.createElementVNode("div",kf,[e.createElementVNode("div",Cf,[Sf,e.createElementVNode("div",Bf,[e.createElementVNode("div",wf,[Af,Tf,e.createElementVNode("div",Ff,[e.createElementVNode("div",null,e.toDisplayString((el=(vo=l.reportData)==null?void 0:vo.weather)!=null&&el.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Of,Pf]),Lf]),e.createElementVNode("div",Wf,[Hf,$f,e.createElementVNode("div",Mf,[e.createElementVNode("div",null,e.toDisplayString((ol=(tl=l.reportData)==null?void 0:tl.weather)!=null&&ol.noExtrapolation?"Good Weather Distance":"Total Distance"),1),If,Gf]),Rf]),e.createElementVNode("div",zf,[Uf,Yf,e.createElementVNode("div",Zf,[e.createElementVNode("div",null,e.toDisplayString((al=(ll=l.reportData)==null?void 0:ll.weather)!=null&&al.noExtrapolation?"Good Weather Distance":"Total Distance"),1),Qf,Jf]),Kf]),jf])]),e.createElementVNode("div",uf,[Xf,e.createElementVNode("div",qf,[e.createElementVNode("div",vf,[e0,t0,e.createElementVNode("div",o0,[e.createElementVNode("div",null,e.toDisplayString((sl=(nl=l.reportData)==null?void 0:nl.weather)!=null&&sl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),l0,a0]),n0,s0,i0]),e.createElementVNode("div",c0,[d0,r0,e.createElementVNode("div",m0,[e.createElementVNode("div",null,e.toDisplayString((cl=(il=l.reportData)==null?void 0:il.weather)!=null&&cl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),p0,h0]),_0,E0,y0]),e.createElementVNode("div",N0,[V0,f0,e.createElementVNode("div",b0,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=l.reportData)==null?void 0:dl.weather)!=null&&rl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),x0,g0]),D0,k0,C0]),S0,B0])])])])])}),128))])],2)}const A0=Ce(dh,[["render",w0],["__scopeId","data-v-d80f1a42"]]),HU="",T0={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),t},computedClass(){return function(t,s,l,r){var E;let a="";const n=((E=this.summaryTable)==null?void 0:E.length)-1;return l&&s!==n&&(a=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),(t==null?void 0:t.goodWx)===!0&&!r&&(a=a+" good-weather"),(t==null?void 0:t.excluded)===!0&&!r&&(a=a+" excluded"),a}},computedSegClass(){return function(t,s){var r,a;const l=((r=this.summaryTable)==null?void 0:r.length)-1;if(l>-1){if(t.isFirstSeg&&s!==l)return"td-no-bottom td-top";if((a=this.summaryTable[s+1])!=null&&a.isFirstSeg)return"td-bottom";if(s!==l)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(t){var s;return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&(s=t.noon)!=null&&s.port)}},computedTime(){return function(t,s){return s==="subtitle"?K(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?K(t).utc().format("MMMM-DD/HHmm[Z]"):K(t).utc().format("dddd, MMMM D, YYYY")}}},watch:{reportData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},mounted(){},methods:{getLonLat(t){return`${t.degree}°${ae.LngLatHelper.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var r,a,n,E;this.showCF=(a=(r=this.reportData)==null?void 0:r.weather)==null?void 0:a.showCF,this.showAisDistance=!0;let t=[];(E=(n=this.reportData)==null?void 0:n.segments)==null||E.forEach((i,p)=>{let b=i.extend.cp;i.inventory.sample.hours.forEach((x,h)=>{let y=JSON.parse(JSON.stringify(x));y.cp=b,t.push(y)})}),t.sort(function(i,p){let b=i.date,x=p.date;return b-x});let s="",l="";t.forEach((i,p)=>{i.seg!==s&&(i.isFirstSeg=!0,s=i.seg);let b=i.type.charAt(0);i.abbreviation=b;const x=K(i.utc).utc().format("D-MMM");x!==l&&(i.lastdate=x,l=x),b==="A"?i.type="":b==="M"&&(i.type="*"),i.time=K(i.utc).utc().format("HH:mm[Z]"),i.lngPretty=this.getLonLat(ae.LngLatHelper.lng2pretty(i.lng)),i.latPretty=this.getLonLat(ae.LngLatHelper.lat2pretty(i.lat))}),this.summaryTable=t}}},kn=t=>(e.pushScopeId("data-v-c9bf3740"),t=t(),e.popScopeId(),t),F0=kn(()=>e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),O0={id:"second-table",class:"table"},P0={class:"summary-table"},L0=kn(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg"),e.createElementVNode("th",{rowspan:"2"},"Type"),e.createElementVNode("th",{rowspan:"2"}," Date "),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{colspan:"2"},"Coordinates"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("CP Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{rowspan:"2"},"Beaufort Wind Scale"),e.createElementVNode("th",{colspan:"2"},"Swell"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sig. Wave"),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Current Factor"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Speed"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{colspan:"2"},"CP Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported Daily Fuel Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported BROB (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Lat"),e.createElementVNode("th",null,"Lon"),e.createElementVNode("th",null,"Direction"),e.createElementVNode("th",null,"Height (m)"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),W0={class:"summary-tbody"},H0=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),$0={class:"voyage-map",style:{"page-break-inside":"avoid"}},M0=kn(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),I0=["src"],G0=e.createStaticVNode('<div class="legend-block" data-v-c9bf3740><div style="position:relative;left:-20px;" data-v-c9bf3740><div style="position:relative;display:inline-block;top:-12px;left:15px;transform:scale(0.95);" data-v-c9bf3740><div data-v-c9bf3740>7</div><br data-v-c9bf3740><div data-v-c9bf3740>W 4</div></div><i class="iconfont" style="font-size:30px;font-weight:600;position:relative;top:-20px;margin:8px 0 0 4px;color:var(--idm-black-6);" data-v-c9bf3740></i><div style="display:inline-block;transform:scale(0.95);text-align:left;margin-left:5px;" data-v-c9bf3740> LEGEND: <br data-v-c9bf3740> Wind from NE(045) <br data-v-c9bf3740> Each barb = 10 kts <br data-v-c9bf3740> 1/2 barb = 5 kts <br data-v-c9bf3740></div></div><div style="transform:scale(0.95);" data-v-c9bf3740> 7 - DAY OF THE MONTH <br data-v-c9bf3740> W 4 - PRIMARY WAVE FROM WEST, 4 METERS<br data-v-c9bf3740><div class="goodWx" data-v-c9bf3740>Date</div> Good weather days<br data-v-c9bf3740></div></div>',1);function R0(t,s,l,r,a,n){var E,i,p,b,x;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((i=(E=l.reportData)==null?void 0:E.weather)!=null&&i.referenceOnly||(b=(p=l.reportData)==null?void 0:p.weather)!=null&&b.overallAsGoodWx?"watermark fli-main":"fli-main")},[F0,e.createElementVNode("div",O0,[e.createElementVNode("div",null,[e.createElementVNode("table",P0,[L0,e.createElementVNode("tbody",W0,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.summaryTable,(h,y)=>{var k,g,C,D,T,F,B,w,V,O,I,G,R,z,_,L,$,W,P,M,Q,U;return e.openBlock(),e.createElementBlock("tr",{key:y},[e.createElementVNode("td",{class:e.normalizeClass(n.computedSegClass(h,y))},e.toDisplayString(h.isFirstSeg?h.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.type),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.time),3),n.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.latPretty),3)):e.createCommentVNode("",!0),n.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString((k=h.noon)==null?void 0:k.port),3)),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(g=h.cp)==null?void 0:g.speed),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y,!0))},e.toDisplayString(h.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y,!0))},e.toDisplayString(h.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(((D=(C=h.meteo)==null?void 0:C.wind)==null?void 0:D.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(((B=(F=(T=h.meteo)==null?void 0:T.wave)==null?void 0:F.swell)==null?void 0:B.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(((O=(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,y))},e.toDisplayString(((R=(G=(I=h.meteo)==null?void 0:I.wave)==null?void 0:G.sig)==null?void 0:R.height)??"--"),3),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(((z=h.meteo)==null?void 0:z.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.abbreviation==="A"?"":h.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.abbreviation==="A"?"":((_=h.noon)==null?void 0:_.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.abbreviation==="A"?"":((L=h.noon)==null?void 0:L.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":($=h.cp)==null?void 0:$.fo),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(W=h.cp)==null?void 0:W.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.abbreviation==="A"?"":((P=h.noon)==null?void 0:P.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.abbreviation==="A"?"":((M=h.noon)==null?void 0:M.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.abbreviation==="A"?"":(Q=h.noon)==null?void 0:Q.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.abbreviation==="A"?"":(U=h.noon)==null?void 0:U.dgoBrob),3)])}),128))])])])]),H0,e.createElementVNode("div",$0,[M0,e.createElementVNode("img",{style:{width:"100%"},src:(x=l.reportData)==null?void 0:x.chartUrl,alt:""},null,8,I0),G0])],2)}const z0=Ce(T0,[["render",R0],["__scopeId","data-v-c9bf3740"]]),$U="",U0={components:{Summary:A0,Inventory:z0},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},Y0={class:"voyage-report"};function Z0(t,s,l,r,a,n){const E=e.resolveComponent("Summary"),i=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",Y0,[e.createVNode(E,{"report-data":a.reportData,class:"main","editor-disabled":l.editorDisabled,onCommit:n.commit},null,8,["report-data","editor-disabled","onCommit"]),e.createVNode(i,{"is-admin":l.isAdmin,"report-data":a.reportData,class:"main"},null,8,["is-admin","report-data"])])}const Fn=Ce(U0,[["render",Z0],["__scopeId","data-v-e76f9905"]]),MU="",Q0={name:"OrmVoyageSummary",components:{Lng:ua,Lat:Xa,Editor:Go},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}},computeWeatherDef(){return function(t){let s="";t!=null&&t.waveSwitch?s+=`Wind wave height is ${t==null?void 0:t.waveHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.swellSwitch?s+=`Swell height is ${t==null?void 0:t.swellHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.sigSwitch&&(s+=`Significant wave height is ${t==null?void 0:t.sigHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`);let l=`Winds are BF/${t==null?void 0:t.windScale} or less, ${s}`;return t!=null&&t.noAdverseCur&&(l+=", No Adverse Current"),t!=null&&t.waterTempSwitch&&(l+=`, water temperature is ${t==null?void 0:t.waterTemp} °C or less`),t!=null&&t.noExtrapolation&&(l+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(l="No specific thresholds for wind/wave/currents are defined in the Charter Party.",t.disableWxFactor&&t.disableCFactor?l+=" Both Wx Factor and Current Factor are ignored.":t.disableWxFactor?l+=" Wx Factor is ignored.":t.disableCFactor&&(l+=" Current Factor is ignored."),l+=" Therefore the Good Weather Definition in this reports does not apply any thresholds."),l}},computeLng(){return function(t){return ae.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return ae.LngLatHelper.lat2pretty(t)}},computeAbtSpeed(){return function(t,s,l){return l==="Over"?t.abt4SpdOver:t.abt4SpdUnder}},computeAbtCons(){return function(t,s){return t.consPercentage?s==="Over"?`${t.consOfOver}%`:`${t.consOfUnder}%`:s==="Over"?`${t.consOfOver}`:`${t.consOfUnder}`}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,s;this.remarks=this.report.remarks||"Please double click to modify remark",this.exclusion=[],(s=(t=this.report)==null?void 0:t.segments)==null||s.forEach((l,r)=>{const a=l.excluded;a.sumDistance>0&&a.detail.forEach(n=>{const E={time:K(n.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+K(n.end).utc().format("MMM-DD/HHmm[Z]"),duration:n.duration,distance:n.distance,fo:n.foCons,dgo:n.dgoCons};this.exclusion.push(E)})})},handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleEdit(){this.editable=!0}}},c=t=>(e.pushScopeId("data-v-5bb8fb56"),t=t(),e.popScopeId(),t),J0={class:"report-summary"},K0={class:"section voyage-section flex-space"},j0={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},u0={class:"flex-space label-block",style:{width:"100%"}},X0=c(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),q0={style:{"text-transform":"uppercase"}},v0={class:"flex-space label-block",style:{width:"100%"}},eb=c(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),tb={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},ob={class:"flex-space label-block",style:{width:"100%"}},lb=c(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),ab={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},nb={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},sb={class:"flex-space label-block",style:{width:"100%"}},ib=c(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),cb={key:0,class:"flex-end",style:{flex:"1"}},db={key:1,class:"flex-end",style:{flex:"1"}},rb=c(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),mb={class:"flex-end",style:{width:"150px"}},pb={class:"flex-space label-block",style:{width:"100%"}},hb=c(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),_b={key:0,class:"flex-end",style:{flex:"1"}},Eb={key:1,class:"flex-end",style:{flex:"1"}},yb=c(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Nb={class:"flex-end",style:{width:"150px"}},Vb={class:"flex-space label-block",style:{width:"100%"}},fb=c(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),bb={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},xb={class:"section weather-section"},gb=c(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),Db={class:"definition"},kb={class:"txt"},Cb={class:"section summary-section"},Sb=c(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),Bb={class:"phase-box"},wb={class:"phase-index"},Ab={class:"phase-position"},Tb={key:0},Fb={key:1},Ob=c(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),Pb={class:"phase-position"},Lb={key:0},Wb={key:1},Hb=c(()=>e.createElementVNode("div",{class:"bb"},null,-1)),$b={class:"phase-cp flex-space"},Mb={class:"cp-box"},Ib=c(()=>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)),Gb={class:"flex-space"},Rb=c(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),zb=c(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),Ub=c(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),Yb=c(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),Zb=c(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),Qb=c(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),Jb=c(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),Kb=c(()=>e.createElementVNode("div",{class:"bb"},null,-1)),jb={class:"phase-conclusion flex-space"},ub={class:"item-conclusion"},Xb=c(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),qb={class:"value flex-start"},vb=c(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),e2={key:0,class:"label flex-end"},t2={key:0},o2={key:1},l2={key:2},a2={key:1,class:"label flex-end"},n2={key:2,class:"value flex-end"},s2={key:0},i2=c(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),c2={class:"gain"},d2=c(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),r2={key:1},m2=c(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),p2={class:"lost"},h2=c(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),_2={key:2},E2={class:"item-conclusion"},y2=c(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),N2={class:"value flex-start"},V2=c(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),f2={key:0,class:"label flex-end"},b2={key:0},x2={key:1},g2={key:2},D2={key:1,class:"label flex-end"},k2={key:2,class:"value flex-end"},C2={key:0},S2=c(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),B2={class:"gain"},w2=c(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),A2={key:1},T2=c(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),F2={class:"lost"},O2=c(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),P2={key:2},L2={class:"item-conclusion"},W2=c(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),H2={class:"value flex-start"},$2=c(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),M2={key:0,class:"label flex-end"},I2={key:0},G2={key:1},R2={key:2},z2={key:1,class:"label flex-end"},U2={key:2,class:"value flex-end"},Y2={key:0},Z2=c(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Q2={class:"gain"},J2=c(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),K2={key:1},j2=c(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),u2={class:"lost"},X2=c(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),q2={key:2},v2=c(()=>e.createElementVNode("div",{class:"tips flex-end"},"*Please see voyage analysis pages for the details.",-1)),ex=c(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),tx={key:0,class:"exclusion-block"},ox=c(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),lx=c(()=>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)),ax={style:{margin:"8px 0"}},nx={class:"remark-table"},sx=c(()=>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)),ix=["innerHTML"],cx={class:"section segment-section"},dx=c(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),rx={class:"segment-index flex-center"},mx={class:"segment-position"},px={key:0},hx={key:1},_x=c(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),Ex={class:"segment-position"},yx={key:0},Nx={key:1},Vx=c(()=>e.createElementVNode("div",{class:"bb"},null,-1)),fx={style:{margin:"10px 0 0"}},bx=c(()=>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)),xx=c(()=>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)),gx=c(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),Dx={class:"good-wx"},kx={class:"good-wx"},Cx=c(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),Sx={class:"good-wx"},Bx={class:"good-wx"},wx=c(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),Ax={class:"good-wx"},Tx={class:"good-wx"},Fx=c(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),Ox={class:"good-wx"},Px={class:"good-wx"},Lx=c(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),Wx={class:"good-wx"},Hx={class:"good-wx"},$x=c(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),Mx={class:"good-wx"},Ix={class:"good-wx"},Gx=c(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),Rx={class:"good-wx"},zx={class:"good-wx"},Ux={key:0,class:"flex-end tip"},Yx={key:1,class:"segment-speed"},Zx={class:"flex-center"},Qx=c(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Jx={class:"speed-right flex-space"},Kx=c(()=>e.createElementVNode("span",null,"-",-1)),jx=c(()=>e.createElementVNode("label",null,"=",-1)),ux={class:"speed"},Xx={key:1,class:"speed"},qx={key:0,class:"speed"},vx=c(()=>e.createElementVNode("span",null,"-",-1)),eg=c(()=>e.createElementVNode("label",null,"=",-1)),tg={class:"speed"},og=c(()=>e.createElementVNode("span",null,"-",-1)),lg=c(()=>e.createElementVNode("label",null,"=",-1)),ag={class:"speed"},ng=c(()=>e.createElementVNode("span",null,"-",-1)),sg=c(()=>e.createElementVNode("span",null,"-",-1)),ig=c(()=>e.createElementVNode("label",null,"=",-1)),cg={class:"speed"},dg={key:2,class:"under"},rg={key:3,class:"over"},mg={class:"flex-center"},pg=c(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),hg={class:"speed-right formula flex-space"},_g=c(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Eg=c(()=>e.createElementVNode("label",null,"-",-1)),yg=c(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Ng=c(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Vg=c(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),fg={key:0},bg=c(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),xg=c(()=>e.createElementVNode("label",null,"-",-1)),gg=c(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Dg=c(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),kg=c(()=>e.createElementVNode("label",null,"-",-1)),Cg=c(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Sg=c(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Bg=c(()=>e.createElementVNode("label",null,"-",-1)),wg=c(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Ag=c(()=>e.createElementVNode("label",null,"-",-1)),Tg=c(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Fg={key:2,class:"segment-speed"},Og={class:"flex-center"},Pg=c(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Lg={class:"speed-right flex-space"},Wg=c(()=>e.createElementVNode("span",null,"-",-1)),Hg=c(()=>e.createElementVNode("span",null,"-",-1)),$g=c(()=>e.createElementVNode("label",null,"=",-1)),Mg={class:"speed"},Ig=c(()=>e.createElementVNode("span",null,"-",-1)),Gg=c(()=>e.createElementVNode("label",null,"=",-1)),Rg={class:"speed"},zg={key:2,class:"under"},Ug={key:3,class:"over"},Yg={class:"flex-center"},Zg=c(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Qg={class:"speed-right formula flex-space"},Jg=c(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),Kg=c(()=>e.createElementVNode("label",null,"-",-1)),jg=c(()=>e.createElementVNode("label",null,"Current Factor",-1)),ug=c(()=>e.createElementVNode("label",null,"-",-1)),Xg=c(()=>e.createElementVNode("label",null,"Weather Factor",-1)),qg=c(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),vg=c(()=>e.createElementVNode("label",null,"-",-1)),eD=c(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),tD=c(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),oD=c(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),lD={class:"segment-formula"},aD={class:"header-block flex-start"},nD=c(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),sD={class:"title"},iD={key:0,style:{"margin-left":"4px","font-weight":"300"}},cD={class:"formula-block"},dD={class:"flex-evenly"},rD=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),mD={class:"formula-right flex-evenly"},pD={class:"fraction",style:{width:"240px"}},hD=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),_D=c(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),ED=c(()=>e.createElementVNode("div",null,"(a)",-1)),yD={class:"flex-center"},ND={class:"formula-left flex-space"},VD=c(()=>e.createElementVNode("label",null,"=",-1)),fD={class:"formula-right flex-evenly"},bD={class:"fraction",style:{width:"240px"}},xD=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),gD=c(()=>e.createElementVNode("div",null,"(b)",-1)),DD={class:"flex-center"},kD={class:"formula-left flex-space"},CD=c(()=>e.createElementVNode("label",null,"=",-1)),SD={class:"formula-right flex-evenly"},BD={class:"fraction",style:{width:"240px"}},wD=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),AD=c(()=>e.createElementVNode("div",null,"(c)",-1)),TD=e.createStaticVNode('<div class="flex-start" data-v-5bb8fb56><div class="flex-space" style="width:300px;font-weight:400;" data-v-5bb8fb56><label data-v-5bb8fb56>Time Lost</label><div data-v-5bb8fb56>=</div><div data-v-5bb8fb56>(a)</div><div data-v-5bb8fb56>-</div><div data-v-5bb8fb56>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-5bb8fb56><label data-v-5bb8fb56>Time Gained</label><div data-v-5bb8fb56>=</div><div data-v-5bb8fb56>(c)</div><div data-v-5bb8fb56>-</div><div data-v-5bb8fb56>(a)</div></div></div>',1),FD={class:"formula-desc"},OD={class:"flex-end"},PD=c(()=>e.createElementVNode("label",null,"Time Lost",-1)),LD={class:"flex-end"},WD=c(()=>e.createElementVNode("label",null,"Time Gained",-1)),HD={class:"flex-end"},$D=c(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),MD={key:0,class:"formula-block",style:{"font-weight":"400"}},ID={class:"flex-evenly"},GD=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),RD={class:"formula-right flex-evenly"},zD={class:"fraction",style:{width:"240px"}},UD=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),YD=c(()=>e.createElementVNode("div",null,"=",-1)),ZD=c(()=>e.createElementVNode("div",null,"(a')",-1)),QD={class:"flex-center"},JD={class:"formula-left flex-space"},KD=c(()=>e.createElementVNode("label",null,"=",-1)),jD={class:"formula-right flex-evenly"},uD={class:"fraction",style:{width:"240px"}},XD=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),qD=c(()=>e.createElementVNode("div",null,"=",-1)),vD=c(()=>e.createElementVNode("div",null,"(b')",-1)),ek={class:"flex-center"},tk={class:"formula-left flex-space"},ok=c(()=>e.createElementVNode("label",null,"=",-1)),lk={class:"formula-right flex-evenly"},ak={class:"fraction",style:{width:"240px"}},nk=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),sk=c(()=>e.createElementVNode("div",null,"=",-1)),ik=c(()=>e.createElementVNode("div",null,"(c')",-1)),ck={class:"formula-conclusion",style:{"margin-bottom":"0"}},dk={key:0,class:"flex-evenly",style:{width:"500px"}},rk=c(()=>e.createElementVNode("div",null,"Time Lost",-1)),mk=c(()=>e.createElementVNode("div",null,"=",-1)),pk=c(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),hk=c(()=>e.createElementVNode("div",null,"=",-1)),_k=c(()=>e.createElementVNode("div",null,"-",-1)),Ek=c(()=>e.createElementVNode("div",null,"=",-1)),yk={key:1,class:"flex-evenly",style:{width:"500px"}},Nk=c(()=>e.createElementVNode("div",null,"Time Lost",-1)),Vk=c(()=>e.createElementVNode("div",null,"=",-1)),fk=c(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),bk=c(()=>e.createElementVNode("div",null,"=",-1)),xk=c(()=>e.createElementVNode("div",null,"-",-1)),gk=c(()=>e.createElementVNode("div",null,"=",-1)),Dk=c(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),kk={key:1,class:"formula-conclusion"},Ck=c(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),Sk={class:"segment-formula"},Bk={class:"header-block flex-start"},wk=c(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Ak={class:"title"},Tk={key:0,style:{"margin-left":"4px","font-weight":"300"}},Fk={class:"formula-block"},Ok={class:"flex-evenly"},Pk=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),Lk={class:"formula-right flex-evenly"},Wk={class:"fraction",style:{width:"240px"}},Hk=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),$k=c(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Mk=c(()=>e.createElementVNode("div",null,"x",-1)),Ik=c(()=>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)),Gk=c(()=>e.createElementVNode("div",null,"(d)",-1)),Rk={style:{"line-height":"1"}},zk=c(()=>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)),Uk={key:0,class:"tips flex-end",style:{"font-size":"14px"}},Yk={class:"flex-center"},Zk=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),Qk={class:"formula-right flex-evenly"},Jk={class:"fraction",style:{width:"240px"}},Kk=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),jk=c(()=>e.createElementVNode("div",null,"x",-1)),uk=c(()=>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)),Xk=c(()=>e.createElementVNode("div",null,"(e)",-1)),qk={class:"flex-center"},vk=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e3={class:"formula-right flex-evenly"},t3={class:"fraction",style:{width:"240px"}},o3=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),l3=c(()=>e.createElementVNode("div",null,"x",-1)),a3=c(()=>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)),n3=c(()=>e.createElementVNode("div",null,"(f)",-1)),s3=e.createStaticVNode('<div class="flex-start" data-v-5bb8fb56><div class="flex-space" style="width:300px;font-weight:400;" data-v-5bb8fb56><label data-v-5bb8fb56>Fuel Over-consumption</label><div data-v-5bb8fb56>=</div><div data-v-5bb8fb56>(d)</div><div data-v-5bb8fb56>-</div><div data-v-5bb8fb56>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-5bb8fb56><label data-v-5bb8fb56>Fuel Saving</label><div data-v-5bb8fb56>=</div><div data-v-5bb8fb56>(f)</div><div data-v-5bb8fb56>-</div><div data-v-5bb8fb56>(d)</div></div></div>',1),i3={class:"flex-center"},c3=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),d3={class:"formula-right flex-evenly"},r3={class:"fraction",style:{width:"270px"}},m3=c(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),p3=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),h3={class:"flex-center"},_3=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),E3={class:"formula-right flex-evenly"},y3={class:"fraction",style:{width:"270px"}},N3=c(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),V3=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),f3=c(()=>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)),b3={class:"header-block flex-start",style:{"margin-top":"10px"}},x3=c(()=>e.createElementVNode("i",{class:"iconfont"}," ",-1)),g3={class:"title"},D3={key:0,class:"formula-block"},k3={key:0,class:"flex-evenly"},C3=c(()=>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)),S3={class:"formula-right flex-evenly"},B3={class:"fraction",style:{width:"60px"}},w3=c(()=>e.createElementVNode("div",null,"-",-1)),A3={class:"fraction",style:{width:"60px"}},T3=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),F3=c(()=>e.createElementVNode("div",null,"24",-1)),O3=c(()=>e.createElementVNode("div",null,"*",-1)),P3=c(()=>e.createElementVNode("div",null,"=",-1)),L3={class:"flex-evenly"},W3=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),H3={class:"formula-right flex-evenly"},$3={class:"fraction",style:{width:"240px"}},M3=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),I3=c(()=>e.createElementVNode("div",null,"x",-1)),G3={class:"fraction",style:{width:"240px"}},R3={key:0},z3=c(()=>e.createElementVNode("span",null," + ",-1)),U3=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),Y3=c(()=>e.createElementVNode("div",null,"=",-1)),Z3=c(()=>e.createElementVNode("div",null,"(d')",-1)),Q3={class:"flex-evenly"},J3=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),K3={class:"formula-right flex-evenly"},j3={class:"fraction",style:{width:"240px"}},u3=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),X3=c(()=>e.createElementVNode("div",null,"x",-1)),q3={class:"fraction",style:{width:"240px"}},v3=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),eC=c(()=>e.createElementVNode("div",null,"24",-1)),tC=c(()=>e.createElementVNode("div",null,"=",-1)),oC=c(()=>e.createElementVNode("div",null,"(e')",-1)),lC={class:"flex-evenly"},aC=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),nC={class:"formula-right flex-evenly"},sC={class:"fraction",style:{width:"240px"}},iC=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),cC=c(()=>e.createElementVNode("div",null,"x",-1)),dC={class:"fraction",style:{width:"240px"}},rC=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),mC=c(()=>e.createElementVNode("div",null,"24",-1)),pC=c(()=>e.createElementVNode("div",null,"=",-1)),hC=c(()=>e.createElementVNode("div",null,"(f')",-1)),_C={class:"formula-conclusion",style:{"margin-bottom":"0"}},EC={class:"flex-evenly",style:{width:"500px"}},yC=c(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),NC=c(()=>e.createElementVNode("div",null,"=",-1)),VC=c(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),fC=c(()=>e.createElementVNode("div",null,"=",-1)),bC=c(()=>e.createElementVNode("div",null,"-",-1)),xC=c(()=>e.createElementVNode("div",null,"=",-1)),gC={key:0,class:"flex-evenly"},DC=c(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),kC=c(()=>e.createElementVNode("div",null,"=",-1)),CC={class:"fraction"},SC=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),BC=c(()=>e.createElementVNode("div",null,"=",-1)),wC={class:"flex-evenly",style:{width:"700px"}},AC=c(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),TC=c(()=>e.createElementVNode("div",null,"=",-1)),FC=c(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),OC=c(()=>e.createElementVNode("div",null,"=",-1)),PC=c(()=>e.createElementVNode("div",null,"-",-1)),LC=c(()=>e.createElementVNode("div",null,"=",-1)),WC={key:0,class:"flex-evenly",style:{width:"500px"}},HC=c(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),$C=c(()=>e.createElementVNode("div",null,"=",-1)),MC={class:"fraction",style:{width:"140px"}},IC=c(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),GC=c(()=>e.createElementVNode("div",null,"=",-1)),RC=c(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),zC={key:1,class:"formula-conclusion"},UC={class:"header-block flex-end",style:{"margin-top":"10px"}},YC=c(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),ZC={class:"title"},QC={key:0,class:"formula-block"},JC={class:"flex-evenly"},KC=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),jC={class:"formula-right flex-evenly"},uC={class:"fraction",style:{width:"240px"}},XC=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),qC=c(()=>e.createElementVNode("div",null,"x",-1)),vC={class:"fraction",style:{width:"240px"}},eS={key:0},tS=c(()=>e.createElementVNode("span",null," - ",-1)),oS=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),lS=c(()=>e.createElementVNode("div",null,"=",-1)),aS=c(()=>e.createElementVNode("div",null,"(d'')",-1)),nS={class:"flex-evenly"},sS=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),iS={class:"formula-right flex-evenly"},cS={class:"fraction",style:{width:"240px"}},dS=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),rS=c(()=>e.createElementVNode("div",null,"x",-1)),mS={class:"fraction",style:{width:"240px"}},pS=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),hS=c(()=>e.createElementVNode("div",null,"24",-1)),_S=c(()=>e.createElementVNode("div",null,"=",-1)),ES=c(()=>e.createElementVNode("div",null,"(e'')",-1)),yS={class:"flex-evenly"},NS=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),VS={class:"formula-right flex-evenly"},fS={class:"fraction",style:{width:"240px"}},bS=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),xS=c(()=>e.createElementVNode("div",null,"x",-1)),gS={class:"fraction",style:{width:"240px"}},DS=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),kS=c(()=>e.createElementVNode("div",null,"24",-1)),CS=c(()=>e.createElementVNode("div",null,"=",-1)),SS=c(()=>e.createElementVNode("div",null,"(f'')",-1)),BS={class:"formula-conclusion",style:{"margin-bottom":"0"}},wS={key:0,class:"flex-evenly",style:{width:"500px"}},AS=c(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),TS=c(()=>e.createElementVNode("div",null,"=",-1)),FS=c(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),OS=c(()=>e.createElementVNode("div",null,"=",-1)),PS=c(()=>e.createElementVNode("div",null,"-",-1)),LS=c(()=>e.createElementVNode("div",null,"=",-1)),WS={key:1,class:"flex-evenly",style:{width:"700px"}},HS=c(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),$S=c(()=>e.createElementVNode("div",null,"=",-1)),MS=c(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),IS=c(()=>e.createElementVNode("div",null,"=",-1)),GS=c(()=>e.createElementVNode("div",null,"-",-1)),RS=c(()=>e.createElementVNode("div",null,"=",-1)),zS=c(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),US={key:1,class:"formula-conclusion"};function YS(t,s,l,r,a,n){var b,x,h,y,k,g,C,D,T,F,B,w,V,O,I,G,R,z,_,L,$,W,P,M,Q,U,J,ne,se;const E=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",J0,[e.createElementVNode("div",K0,[e.createElementVNode("div",j0,[e.createElementVNode("div",u0,[X0,e.createElementVNode("span",q0,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",v0,[eb,e.createElementVNode("span",tb,e.toDisplayString((x=(b=l.report)==null?void 0:b.vessel)==null?void 0:x.name)+" ("+e.toDisplayString((y=(h=l.report)==null?void 0:h.vessel)==null?void 0:y.type)+")",1)]),e.createElementVNode("div",ob,[lb,e.createElementVNode("span",ab,e.toDisplayString((g=(k=l.report)==null?void 0:k.voyage)==null?void 0:g.number),1)])]),e.createElementVNode("div",nb,[e.createElementVNode("div",sb,[ib,(D=(C=l.report)==null?void 0:C.departure)!=null&&D.portName?(e.openBlock(),e.createElementBlock("span",cb,e.toDisplayString((F=(T=l.report)==null?void 0:T.departure)==null?void 0:F.portName),1)):(e.openBlock(),e.createElementBlock("div",db,[e.createVNode(E,{lat:(w=(B=l.report)==null?void 0:B.departure)==null?void 0:w.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),rb,e.createVNode(i,{lng:(V=l.report.departure)==null?void 0:V.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",mb,e.toDisplayString(n.computeUTCTime((O=l.report.departure)==null?void 0:O.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",pb,[hb,(G=(I=l.report)==null?void 0:I.arrival)!=null&&G.portName?(e.openBlock(),e.createElementBlock("span",_b,e.toDisplayString((z=(R=l.report)==null?void 0:R.arrival)==null?void 0:z.portName),1)):(e.openBlock(),e.createElementBlock("div",Eb,[e.createVNode(E,{lat:(L=(_=l.report)==null?void 0:_.arrival)==null?void 0:L.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),yb,e.createVNode(i,{lng:(W=($=l.report)==null?void 0:$.arrival)==null?void 0:W.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",Nb,e.toDisplayString(n.computeUTCTime((M=(P=l.report)==null?void 0:P.arrival)==null?void 0:M.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",Vb,[fb,e.createElementVNode("span",bb,e.toDisplayString((U=(Q=l.report)==null?void 0:Q.voyage)==null?void 0:U.loadCondition),1)])])]),e.createElementVNode("div",xb,[gb,e.createElementVNode("div",Db,[e.createElementVNode("div",kb,e.toDisplayString(n.computeWeatherDef(l.report.weather)),1)])]),e.createElementVNode("div",Cb,[Sb,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((J=l.report)==null?void 0:J.segments,(o,u)=>{var v,ee,te,oe,le,ie,ce,de,_e,X,me,Ee,ye,re,fe,be,xe,ge,De,ke,Te,Fe,Oe,Pe,Le,We,He,$e,Ne,Ke,je,ue,A,Se,Ge,Xe,qe,ve,et,tt,m;return e.openBlock(),e.createElementBlock("div",{key:"summary"+u,class:"segment-box flex-space"},[e.createElementVNode("div",Bb,[e.createElementVNode("div",wb,"Seg."+e.toDisplayString(u+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((v=o==null?void 0:o.extend)==null?void 0:v.segTimes,(H,Be)=>{var Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt;return e.openBlock(),e.createElementBlock("div",{key:Be,class:"phase-row flex-space"},[e.createElementVNode("div",Ab,[(Me=H==null?void 0:H.departure)!=null&&Me.portName?(e.openBlock(),e.createElementBlock("span",Tb,e.toDisplayString((Re=H==null?void 0:H.departure)==null?void 0:Re.portName),1)):(e.openBlock(),e.createElementBlock("span",Fb,e.toDisplayString(n.computeLat((pe=H==null?void 0:H.departure)==null?void 0:pe.lat).pretty)+", "+e.toDisplayString(n.computeLng((Ue=H==null?void 0:H.departure)==null?void 0:Ue.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((ot=H==null?void 0:H.departure)==null?void 0:ot.utcTime))+")",1)]),Ob,e.createElementVNode("div",Pb,[(lt=H==null?void 0:H.arrival)!=null&<.portName?(e.openBlock(),e.createElementBlock("span",Lb,e.toDisplayString((dt=H==null?void 0:H.arrival)==null?void 0:dt.portName),1)):(e.openBlock(),e.createElementBlock("span",Wb,e.toDisplayString(n.computeLat((rt=H==null?void 0:H.arrival)==null?void 0:rt.lat).pretty)+", "+e.toDisplayString(n.computeLng((mt=H==null?void 0:H.arrival)==null?void 0:mt.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((pt=H==null?void 0:H.arrival)==null?void 0:pt.utcTime))+")",1)])])}),128)),Hb,e.createElementVNode("div",$b,[e.createElementVNode("div",Mb,[Ib,e.createElementVNode("div",Gb,[Rb,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((te=(ee=o==null?void 0:o.extend)==null?void 0:ee.cp)==null?void 0:te.speed)+" |",1),e.createElementVNode("span",null,[zb,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(le=(oe=o==null?void 0:o.extend)==null?void 0:oe.cp)==null?void 0:le.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[Ub,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(ce=(ie=o==null?void 0:o.extend)==null?void 0:ie.cp)==null?void 0:ce.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((_e=(de=o==null?void 0:o.extend)==null?void 0:de.cp)==null?void 0:_e.fo)+" |",1),e.createElementVNode("span",null,[Yb,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(o==null?void 0:o.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[Zb,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(o==null?void 0:o.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((me=(X=o==null?void 0:o.extend)==null?void 0:X.cp)==null?void 0:me.dgo)+" |",1),e.createElementVNode("span",null,[Qb,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(o==null?void 0:o.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[Jb,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(o==null?void 0:o.fuelConclusion,"Under")),1)])])])])]),Kb,e.createElementVNode("div",jb,[e.createElementVNode("div",ub,[Xb,e.createElementVNode("div",qb,[e.createElementVNode("div",null,e.toDisplayString(o.allWx.time),1),vb]),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",e2,[((Ee=o==null?void 0:o.timeConclusion)==null?void 0:Ee.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",t2,"Time Gained")):((ye=o==null?void 0:o.timeConclusion)==null?void 0:ye.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",o2,"Time Lost")):(e.openBlock(),e.createElementBlock("div",l2,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",a2,e.toDisplayString(a.noGoodWxDay),1)),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",n2,[((re=o==null?void 0:o.timeConclusion)==null?void 0:re.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",s2,[i2,e.createElementVNode("span",c2,e.toDisplayString((fe=o==null?void 0:o.timeConclusion)==null?void 0:fe.timeGain),1),d2])):((be=o==null?void 0:o.timeConclusion)==null?void 0:be.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",r2,[m2,e.createElementVNode("span",p2,e.toDisplayString((xe=o==null?void 0:o.timeConclusion)==null?void 0:xe.timeLost),1),h2])):(e.openBlock(),e.createElementBlock("div",_2,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",E2,[y2,e.createElementVNode("div",N2,[e.createElementVNode("div",null,e.toDisplayString(o.allWx.sumFoCons),1),V2]),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",f2,[((De=(ge=o==null?void 0:o.fuelConclusion)==null?void 0:ge.fo)==null?void 0:De.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",b2,"FO Saving")):((Te=(ke=o==null?void 0:o.fuelConclusion)==null?void 0:ke.fo)==null?void 0:Te.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",x2,"FO Over-consumption")):(e.openBlock(),e.createElementBlock("div",g2,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",D2,e.toDisplayString(a.noGoodWxDay),1)),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",k2,[((Oe=(Fe=o==null?void 0:o.fuelConclusion)==null?void 0:Fe.fo)==null?void 0:Oe.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",C2,[S2,e.createElementVNode("span",B2,e.toDisplayString((Le=(Pe=o==null?void 0:o.fuelConclusion)==null?void 0:Pe.fo)==null?void 0:Le.saving),1),w2])):((He=(We=o==null?void 0:o.fuelConclusion)==null?void 0:We.fo)==null?void 0:He.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",A2,[T2,e.createElementVNode("span",F2,e.toDisplayString((Ne=($e=o==null?void 0:o.fuelConclusion)==null?void 0:$e.fo)==null?void 0:Ne.overCons),1),O2])):(e.openBlock(),e.createElementBlock("div",P2,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",L2,[W2,e.createElementVNode("div",H2,[e.createElementVNode("div",null,e.toDisplayString(o.allWx.sumDgoCons),1),$2]),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",M2,[((je=(Ke=o==null?void 0:o.fuelConclusion)==null?void 0:Ke.dgo)==null?void 0:je.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",I2,"DO/GO Saving")):((A=(ue=o==null?void 0:o.fuelConclusion)==null?void 0:ue.dgo)==null?void 0:A.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",G2,"DO/GO Over-consumption")):(e.openBlock(),e.createElementBlock("div",R2,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",z2,e.toDisplayString(a.noGoodWxDay),1)),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",U2,[((Ge=(Se=o==null?void 0:o.fuelConclusion)==null?void 0:Se.dgo)==null?void 0:Ge.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Y2,[Z2,e.createElementVNode("span",Q2,e.toDisplayString((qe=(Xe=o==null?void 0:o.fuelConclusion)==null?void 0:Xe.dgo)==null?void 0:qe.saving),1),J2])):((et=(ve=o==null?void 0:o.fuelConclusion)==null?void 0:ve.dgo)==null?void 0:et.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",K2,[j2,e.createElementVNode("span",u2,e.toDisplayString((m=(tt=o==null?void 0:o.fuelConclusion)==null?void 0:tt.dgo)==null?void 0:m.overCons),1),X2])):(e.openBlock(),e.createElementBlock("div",q2,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),v2]),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((ne=l.report)==null?void 0:ne.remarks)&&!a.exclusion.length?"section remark-section print-hidden":"section remark-section")},[ex,a.exclusion.length?(e.openBlock(),e.createElementBlock("div",tx,[ox,lx,e.createElementVNode("div",ax,[e.createElementVNode("table",nx,[sx,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.exclusion,(o,u)=>(e.openBlock(),e.createElementBlock("tr",{key:u},[e.createElementVNode("td",null,e.toDisplayString(u+1),1),e.createElementVNode("td",null,e.toDisplayString(o.time),1),e.createElementVNode("td",null,e.toDisplayString(o.duration),1),e.createElementVNode("td",null,e.toDisplayString(o.distance),1),e.createElementVNode("td",null,e.toDisplayString(o.fo),1),e.createElementVNode("td",null,e.toDisplayString(o.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((se=l.report)==null?void 0:se.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[a.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=o=>a.remarks=o),class:"editor",height:"120px",onBlur:s[1]||(s[1]=o=>n.handleCommit(o))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[2]||(s[2]=(...o)=>n.handleEdit&&n.handleEdit(...o)),innerHTML:a.remarks},null,40,ix))],2)],2),e.createElementVNode("div",cx,[dx,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.report.segments,(o,u)=>{var v,ee,te,oe,le,ie,ce,de,_e,X,me,Ee,ye,re,fe,be,xe,ge,De,ke,Te,Fe,Oe,Pe,Le,We,He,$e,Ne,Ke,je,ue,A,Se,Ge,Xe,qe,ve,et,tt,m,H,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,xt,gt,Dt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,io,co,ro,mo,po,ho,_o,Eo,S,Ie,at,nt,ht,Lt,Wt,Ht,$t,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,ut,Xt,qt,vt,eo,to,oo,lo,yo,No,Vo,fo,bo,xo,go,Do,ko,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,Ho,$o,Ro,zo,Uo,Yo,Zo,Qo,Jo,Ko,jo,uo,Xo,qo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,st,pl,El,yl,Nl,Vl,fl,bl,xl,gl,Dl,kl,Cl,Sl,Bl,wl,Al,Tl,Fl,Ol,Pl,Ll,Wl,Hl,$l,Ml,Il,Gl,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,jl,ul,Xl,ql,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ba,xa,ga,Da,ka,Ca,Sa,Ba,wa,Aa,Ta,Fa,Oa,Pa,La,Wa,Ha,$a,Z,ao,Ma,Ia,Ga,Ra,za,Ua,Ya,Za,Qe,qa,va,en,tn,on,ln,an,nn,sn,cn,dn,rn,mn,pn,hn,_n,j,Mo,En,yn,Nn,Vn,fn,bn,xn,gn,it,un,Xn,qn,vn,es,ts,os,ls,as,ns,ss,is,cs,ds,rs,ms,ps,hs,_s,Es,ys,Ns,Vs,fs,bs,xs,gs,Ds,ks,Cs,Ss,Bs,ws,As,Ts,Fs,Os,Ps,Ls,Ws,Hs,$s,Ms,Is,Gs,Rs,zs,Us,Ys,Zs,Qs,Js,Ks,js,us,Xs,qs,vs,ei,ti,oi,li,ai,ni,si,ii,ci,di,ri,mi,pi,hi,_i,Ei,yi,Ni,Vi,fi,bi,xi,gi,Di,ki,Ci;return e.openBlock(),e.createElementBlock("div",{key:u,class:"segment-block"},[e.createElementVNode("div",rx,"Voyage Analysis Seg. "+e.toDisplayString(u+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((v=o==null?void 0:o.extend)==null?void 0:v.segTimes,(we,NU)=>{var Si,Bi,wi,Ai,Ti,Fi,Oi,Pi,Li,Wi;return e.openBlock(),e.createElementBlock("div",{key:NU,class:"segment-row flex-space"},[e.createElementVNode("div",mx,[(Si=we==null?void 0:we.departure)!=null&&Si.portName?(e.openBlock(),e.createElementBlock("span",px,e.toDisplayString((Bi=we==null?void 0:we.departure)==null?void 0:Bi.portName),1)):(e.openBlock(),e.createElementBlock("span",hx,e.toDisplayString(n.computeLat((wi=we==null?void 0:we.departure)==null?void 0:wi.lat).pretty)+", "+e.toDisplayString(n.computeLng((Ai=we==null?void 0:we.departure)==null?void 0:Ai.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Ti=we==null?void 0:we.departure)==null?void 0:Ti.utcTime))+")",1)]),_x,e.createElementVNode("div",Ex,[(Fi=we==null?void 0:we.arrival)!=null&&Fi.portName?(e.openBlock(),e.createElementBlock("span",yx,e.toDisplayString((Oi=we==null?void 0:we.arrival)==null?void 0:Oi.portName),1)):(e.openBlock(),e.createElementBlock("span",Nx,e.toDisplayString(n.computeLat((Pi=we==null?void 0:we.arrival)==null?void 0:Pi.lat).pretty)+", "+e.toDisplayString(n.computeLng((Li=we==null?void 0:we.arrival)==null?void 0:Li.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Wi=we==null?void 0:we.arrival)==null?void 0:Wi.utcTime))+")",1)])])}),128)),Vx,e.createElementVNode("div",fx,[e.createElementVNode("table",null,[bx,xx,e.createElementVNode("tr",null,[gx,e.createElementVNode("td",Dx,e.toDisplayString((te=(ee=o==null?void 0:o.goodWx)==null?void 0:ee.outEca)==null?void 0:te.distance),1),e.createElementVNode("td",kx,e.toDisplayString((le=(oe=o==null?void 0:o.goodWx)==null?void 0:oe.inEca)==null?void 0:le.distance),1),e.createElementVNode("td",null,e.toDisplayString((ce=(ie=o==null?void 0:o.allWx)==null?void 0:ie.outEca)==null?void 0:ce.distance),1),e.createElementVNode("td",null,e.toDisplayString((_e=(de=o==null?void 0:o.allWx)==null?void 0:de.inEca)==null?void 0:_e.distance),1)]),e.createElementVNode("tr",null,[Cx,e.createElementVNode("td",Sx,e.toDisplayString((me=(X=o==null?void 0:o.goodWx)==null?void 0:X.outEca)==null?void 0:me.time),1),e.createElementVNode("td",Bx,e.toDisplayString((ye=(Ee=o==null?void 0:o.goodWx)==null?void 0:Ee.inEca)==null?void 0:ye.time),1),e.createElementVNode("td",null,e.toDisplayString((fe=(re=o==null?void 0:o.allWx)==null?void 0:re.outEca)==null?void 0:fe.time),1),e.createElementVNode("td",null,e.toDisplayString((xe=(be=o==null?void 0:o.allWx)==null?void 0:be.inEca)==null?void 0:xe.time),1)]),e.createElementVNode("tr",null,[wx,e.createElementVNode("td",Ax,e.toDisplayString(((De=(ge=o==null?void 0:o.goodWx)==null?void 0:ge.outEca)==null?void 0:De.avgSpd)||"--"),1),e.createElementVNode("td",Tx,e.toDisplayString(((Te=(ke=o==null?void 0:o.goodWx)==null?void 0:ke.inEca)==null?void 0:Te.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Oe=(Fe=o==null?void 0:o.allWx)==null?void 0:Fe.outEca)==null?void 0:Oe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Le=(Pe=o==null?void 0:o.allWx)==null?void 0:Pe.inEca)==null?void 0:Le.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[Fx,e.createElementVNode("td",Ox,e.toDisplayString(((He=(We=o==null?void 0:o.goodWx)==null?void 0:We.outEca)==null?void 0:He.sumFoCons)||"--"),1),e.createElementVNode("td",Px,e.toDisplayString(((Ne=($e=o==null?void 0:o.goodWx)==null?void 0:$e.inEca)==null?void 0:Ne.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((je=(Ke=o==null?void 0:o.allWx)==null?void 0:Ke.outEca)==null?void 0:je.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((A=(ue=o==null?void 0:o.allWx)==null?void 0:ue.inEca)==null?void 0:A.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Lx,e.createElementVNode("td",Wx,e.toDisplayString(((Ge=(Se=o==null?void 0:o.goodWx)==null?void 0:Se.outEca)==null?void 0:Ge.avgFoCons)||"--"),1),e.createElementVNode("td",Hx,e.toDisplayString(((qe=(Xe=o==null?void 0:o.goodWx)==null?void 0:Xe.inEca)==null?void 0:qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((et=(ve=o==null?void 0:o.allWx)==null?void 0:ve.outEca)==null?void 0:et.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(tt=o==null?void 0:o.allWx)==null?void 0:tt.inEca)==null?void 0:m.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[$x,e.createElementVNode("td",Mx,e.toDisplayString(((Be=(H=o==null?void 0:o.goodWx)==null?void 0:H.outEca)==null?void 0:Be.sumDgoCons)||"--"),1),e.createElementVNode("td",Ix,e.toDisplayString(((Re=(Me=o==null?void 0:o.goodWx)==null?void 0:Me.inEca)==null?void 0:Re.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ue=(pe=o==null?void 0:o.allWx)==null?void 0:pe.outEca)==null?void 0:Ue.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((lt=(ot=o==null?void 0:o.allWx)==null?void 0:ot.inEca)==null?void 0:lt.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[Gx,e.createElementVNode("td",Rx,e.toDisplayString(((rt=(dt=o==null?void 0:o.goodWx)==null?void 0:dt.outEca)==null?void 0:rt.avgDgoCons)||"--"),1),e.createElementVNode("td",zx,e.toDisplayString(((pt=(mt=o==null?void 0:o.goodWx)==null?void 0:mt.inEca)==null?void 0:pt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Et=(_t=o==null?void 0:o.allWx)==null?void 0:_t.outEca)==null?void 0:Et.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Nt=(yt=o==null?void 0:o.allWx)==null?void 0:yt.inEca)==null?void 0:Nt.avgDgoCons)||"--"),1)])])]),(Vt=a.exclusion[u])!=null&&Vt.time?(e.openBlock(),e.createElementBlock("div",Ux,"*The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel.")):e.createCommentVNode("",!0),(ft=o==null?void 0:o.goodWx)!=null&&ft.distance?(e.openBlock(),e.createElementBlock("div",Yx,[e.createElementVNode("div",Zx,[Qx,e.createElementVNode("div",Jx,[(xt=(bt=l.report)==null?void 0:bt.weather)!=null&&xt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Ot=(Ft=l.report)==null?void 0:Ft.weather)!=null&&Ot.disableWxFactor&&((no=(Pt=l.report)==null?void 0:Pt.weather)!=null&&no.disableCFactor)?(e.openBlock(),e.createElementBlock("span",qx,e.toDisplayString((so=o==null?void 0:o.goodWx)==null?void 0:so.pfmSpd)+" (kts)",1)):(co=(io=l.report)==null?void 0:io.weather)!=null&&co.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((ro=o==null?void 0:o.goodWx)==null?void 0:ro.avgSpd),1),vx,e.createElementVNode("span",null,e.toDisplayString(((mo=o==null?void 0:o.goodWx)==null?void 0:mo.avgCf)>0?(po=o==null?void 0:o.goodWx)==null?void 0:po.avgCf:`(${(ho=o==null?void 0:o.goodWx)==null?void 0:ho.avgCf})`),1),eg,e.createElementVNode("span",tg,e.toDisplayString((_o=o==null?void 0:o.goodWx)==null?void 0:_o.pfmSpd)+" (kts)",1)],64)):(S=(Eo=l.report)==null?void 0:Eo.weather)!=null&&S.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((Ie=o==null?void 0:o.goodWx)==null?void 0:Ie.avgSpd),1),og,e.createElementVNode("span",null,e.toDisplayString(((at=o==null?void 0:o.goodWx)==null?void 0:at.avgWf)>0?(nt=o==null?void 0:o.goodWx)==null?void 0:nt.avgWf:`(${(ht=o==null?void 0:o.goodWx)==null?void 0:ht.avgWf})`),1),lg,e.createElementVNode("span",ag,e.toDisplayString((Lt=o==null?void 0:o.goodWx)==null?void 0:Lt.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString((Wt=o==null?void 0:o.goodWx)==null?void 0:Wt.avgSpd),1),ng,e.createElementVNode("span",null,e.toDisplayString(((Ht=o==null?void 0:o.goodWx)==null?void 0:Ht.avgWf)>0?($t=o==null?void 0:o.goodWx)==null?void 0:$t.avgWf:`(${(Mt=o==null?void 0:o.goodWx)==null?void 0:Mt.avgWf})`),1),sg,e.createElementVNode("span",null,e.toDisplayString(((It=o==null?void 0:o.goodWx)==null?void 0:It.avgCf)>0?(Gt=o==null?void 0:o.goodWx)==null?void 0:Gt.avgCf:`(${(Rt=o==null?void 0:o.goodWx)==null?void 0:Rt.avgCf})`),1),ig,e.createElementVNode("span",cg,e.toDisplayString((zt=o==null?void 0:o.goodWx)==null?void 0:zt.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Dt=(gt=l.report)==null?void 0:gt.weather)!=null&&Dt.favorableCur&&((kt=o==null?void 0:o.goodWx)==null?void 0:kt.avgCf)>0?(e.openBlock(),e.createElementBlock("span",Xx,e.toDisplayString((Tt=o==null?void 0:o.goodWx)==null?void 0:Tt.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((Ct=o==null?void 0:o.goodWx)==null?void 0:Ct.avgSpd),1),Kx,e.createElementVNode("span",null,e.toDisplayString(((St=o==null?void 0:o.goodWx)==null?void 0:St.avgCf)>0?(Bt=o==null?void 0:o.goodWx)==null?void 0:Bt.avgCf:`(${(wt=o==null?void 0:o.goodWx)==null?void 0:wt.avgCf})`),1),jx,e.createElementVNode("span",ux,e.toDisplayString((At=o==null?void 0:o.goodWx)==null?void 0:At.pfmSpd)+" (kts)",1)],64))],64)),((Ut=o==null?void 0:o.goodWx)==null?void 0:Ut.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",dg,"(Under-performance)")):e.createCommentVNode("",!0),((Yt=o==null?void 0:o.goodWx)==null?void 0:Yt.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",rg,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",mg,[pg,e.createElementVNode("div",hg,[(Qt=(Zt=l.report)==null?void 0:Zt.weather)!=null&&Qt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Xt=(ut=l.report)==null?void 0:ut.weather)!=null&&Xt.disableWxFactor&&((vt=(qt=l.report)==null?void 0:qt.weather)!=null&&vt.disableCFactor)?(e.openBlock(),e.createElementBlock("label",fg,"GW Average Speed")):(to=(eo=l.report)==null?void 0:eo.weather)!=null&&to.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[bg,xg,gg],64)):(lo=(oo=l.report)==null?void 0:oo.weather)!=null&&lo.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[Dg,kg,Cg],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[Sg,Bg,wg,Ag,Tg],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Kt=(Jt=l.report)==null?void 0:Jt.weather)!=null&&Kt.favorableCur&&((jt=o==null?void 0:o.goodWx)==null?void 0:jt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Ng,Vg],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[_g,Eg,yg],64))],64))])])])):(e.openBlock(),e.createElementBlock("div",Fg,[e.createElementVNode("div",Og,[Pg,e.createElementVNode("div",Lg,[(No=(yo=l.report)==null?void 0:yo.weather)!=null&&No.favorableCur&&((Vo=o==null?void 0:o.allWx)==null?void 0:Vo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((Bo=o==null?void 0:o.allWx)==null?void 0:Bo.avgSpd),1),Ig,e.createElementVNode("span",null,e.toDisplayString(((wo=o==null?void 0:o.allWx)==null?void 0:wo.avgWf)>0?(Ao=o==null?void 0:o.allWx)==null?void 0:Ao.avgWf:`(${(To=o==null?void 0:o.allWx)==null?void 0:To.avgWf})`),1),Gg,e.createElementVNode("span",Rg,e.toDisplayString((Fo=o==null?void 0:o.allWx)==null?void 0:Fo.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((fo=o==null?void 0:o.allWx)==null?void 0:fo.avgSpd),1),Wg,e.createElementVNode("span",null,e.toDisplayString(((bo=o==null?void 0:o.allWx)==null?void 0:bo.avgCf)>0?(xo=o==null?void 0:o.allWx)==null?void 0:xo.avgCf:`(${(go=o==null?void 0:o.allWx)==null?void 0:go.avgCf})`),1),Hg,e.createElementVNode("span",null,e.toDisplayString(((Do=o==null?void 0:o.allWx)==null?void 0:Do.avgWf)>0?(ko=o==null?void 0:o.allWx)==null?void 0:ko.avgWf:`(${(Co=o==null?void 0:o.allWx)==null?void 0:Co.avgWf})`),1),$g,e.createElementVNode("span",Mg,e.toDisplayString((So=o==null?void 0:o.allWx)==null?void 0:So.pfmSpd)+" (kts)",1)],64)),((Oo=o==null?void 0:o.allWx)==null?void 0:Oo.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",zg,"(Under-performance)")):e.createCommentVNode("",!0),((Po=o==null?void 0:o.allWx)==null?void 0:Po.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",Ug,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Yg,[Zg,e.createElementVNode("div",Qg,[(Wo=(Lo=l.report)==null?void 0:Lo.weather)!=null&&Wo.favorableCur&&((Ho=o==null?void 0:o.allWx)==null?void 0:Ho.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[qg,vg,eD,tD],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Jg,Kg,jg,ug,Xg],64))])])])),oD,e.createElementVNode("div",lD,[e.createElementVNode("div",aD,[nD,e.createElementVNode("div",sD,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(u+1)+" Time Analysis",1),(Ro=($o=l.report)==null?void 0:$o.weather)!=null&&Ro.noExtrapolation?(e.openBlock(),e.createElementBlock("span",iD,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",cD,[e.createElementVNode("div",dD,[rD,e.createElementVNode("div",mD,[e.createElementVNode("div",pD,[e.createElementVNode("div",null,e.toDisplayString((Uo=(zo=l.report)==null?void 0:zo.weather)!=null&&Uo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),hD,_D]),ED])]),e.createElementVNode("div",yD,[e.createElementVNode("div",ND,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(Zo=(Yo=o==null?void 0:o.extend)==null?void 0:Yo.cp)==null?void 0:Zo.speed,"Under"))+"kts)",1),VD]),e.createElementVNode("div",fD,[e.createElementVNode("div",bD,[e.createElementVNode("div",null,e.toDisplayString((Jo=(Qo=l.report)==null?void 0:Qo.weather)!=null&&Jo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),xD,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(jo=(Ko=o==null?void 0:o.extend)==null?void 0:Ko.cp)==null?void 0:jo.speed,"Under"))+"kts",1)]),gD])]),e.createElementVNode("div",DD,[e.createElementVNode("div",kD,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(Xo=(uo=o==null?void 0:o.extend)==null?void 0:uo.cp)==null?void 0:Xo.speed,"Over"))+"kts)",1),CD]),e.createElementVNode("div",SD,[e.createElementVNode("div",BD,[e.createElementVNode("div",null,e.toDisplayString((vo=(qo=l.report)==null?void 0:qo.weather)!=null&&vo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),wD,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(tl=(el=o==null?void 0:o.extend)==null?void 0:el.cp)==null?void 0:tl.speed,"Over"))+"kts",1)]),AD])]),TD]),e.createElementVNode("div",FD,[e.createElementVNode("div",OD,[PD,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(ll=(ol=o==null?void 0:o.extend)==null?void 0:ol.cp)==null?void 0:ll.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",LD,[WD,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(nl=(al=o==null?void 0:o.extend)==null?void 0:al.cp)==null?void 0:nl.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",HD,[$D,e.createElementVNode("div",null," Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(il=(sl=o==null?void 0:o.extend)==null?void 0:sl.cp)==null?void 0:il.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(dl=(cl=o==null?void 0:o.extend)==null?void 0:cl.cp)==null?void 0:dl.speed,"Under"))+" kts) ",1)])]),(rl=o==null?void 0:o.goodWx)!=null&&rl.distance?(e.openBlock(),e.createElementBlock("div",MD,[e.createElementVNode("div",ID,[GD,e.createElementVNode("div",RD,[e.createElementVNode("div",zD,[e.createElementVNode("div",null,e.toDisplayString((pl=(st=l.report)==null?void 0:st.weather)!=null&&pl.noExtrapolation?(El=o==null?void 0:o.goodWx)==null?void 0:El.distance:(yl=o==null?void 0:o.allWx)==null?void 0:yl.distance),1),UD,e.createElementVNode("div",null,e.toDisplayString((Nl=o==null?void 0:o.goodWx)==null?void 0:Nl.pfmSpd),1)]),YD,e.createElementVNode("div",null,e.toDisplayString((Vl=o==null?void 0:o.timeConclusion)==null?void 0:Vl.timeAtPfmSpd)+" (hrs)",1),ZD])]),e.createElementVNode("div",QD,[e.createElementVNode("div",JD,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(bl=(fl=o==null?void 0:o.extend)==null?void 0:fl.cp)==null?void 0:bl.speed,"Under"))+"kts)",1),KD]),e.createElementVNode("div",jD,[e.createElementVNode("div",uD,[e.createElementVNode("div",null,e.toDisplayString((gl=(xl=l.report)==null?void 0:xl.weather)!=null&&gl.noExtrapolation?(Dl=o==null?void 0:o.goodWx)==null?void 0:Dl.distance:(kl=o==null?void 0:o.allWx)==null?void 0:kl.distance),1),XD,e.createElementVNode("div",null,e.toDisplayString((Cl=o==null?void 0:o.timeConclusion)==null?void 0:Cl.minusAbtSpd),1)]),qD,e.createElementVNode("div",null,e.toDisplayString((Sl=o==null?void 0:o.timeConclusion)==null?void 0:Sl.timeAtMinusAbtSpd)+" (hrs)",1),vD])]),e.createElementVNode("div",ek,[e.createElementVNode("div",tk,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(wl=(Bl=o==null?void 0:o.extend)==null?void 0:Bl.cp)==null?void 0:wl.speed,"Over"))+"kts)",1),ok]),e.createElementVNode("div",lk,[e.createElementVNode("div",ak,[e.createElementVNode("div",null,e.toDisplayString((Tl=(Al=l.report)==null?void 0:Al.weather)!=null&&Tl.noExtrapolation?(Fl=o==null?void 0:o.goodWx)==null?void 0:Fl.distance:(Ol=o==null?void 0:o.allWx)==null?void 0:Ol.distance),1),nk,e.createElementVNode("div",null,e.toDisplayString((Pl=o==null?void 0:o.timeConclusion)==null?void 0:Pl.plusAbtSpd),1)]),sk,e.createElementVNode("div",null,e.toDisplayString((Ll=o==null?void 0:o.timeConclusion)==null?void 0:Ll.timeAtPlusAbtSpd)+" (hrs)",1),ik])]),e.createElementVNode("div",ck,[((Wl=o==null?void 0:o.timeConclusion)==null?void 0:Wl.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",dk,[rk,mk,pk,hk,e.createElementVNode("div",null,e.toDisplayString((Hl=o==null?void 0:o.timeConclusion)==null?void 0:Hl.timeAtPfmSpd),1),_k,e.createElementVNode("div",null,e.toDisplayString(($l=o==null?void 0:o.timeConclusion)==null?void 0:$l.timeAtMinusAbtSpd),1),Ek,e.createElementVNode("div",null,e.toDisplayString((Ml=o==null?void 0:o.timeConclusion)==null?void 0:Ml.timeLost)+" (hrs)",1)])):((Il=o==null?void 0:o.timeConclusion)==null?void 0:Il.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",yk,[Nk,Vk,fk,bk,e.createElementVNode("div",null,e.toDisplayString((Gl=o==null?void 0:o.timeConclusion)==null?void 0:Gl.timeAtPlusAbtSpd),1),xk,e.createElementVNode("div",null,e.toDisplayString((Rl=o==null?void 0:o.timeConclusion)==null?void 0:Rl.timeAtPfmSpd),1),gk,e.createElementVNode("div",null,e.toDisplayString((zl=o==null?void 0:o.timeConclusion)==null?void 0:zl.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Ul=o==null?void 0:o.timeConclusion)==null?void 0:Ul.conclusionStatus)==="Lost"?"flex-center lost":((Yl=o==null?void 0:o.timeConclusion)==null?void 0:Yl.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[Dk,e.createElementVNode("div",null,e.toDisplayString(((Zl=o==null?void 0:o.timeConclusion)==null?void 0:Zl.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",kk,e.toDisplayString(a.noGoodWxDay),1))]),Ck,e.createElementVNode("div",Sk,[e.createElementVNode("div",Bk,[wk,e.createElementVNode("div",Ak,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(u+1)+" Consumption Analysis",1),(Jl=(Ql=l.report)==null?void 0:Ql.weather)!=null&&Jl.noExtrapolation?(e.openBlock(),e.createElementBlock("span",Tk,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Fk,[e.createElementVNode("div",Ok,[Pk,e.createElementVNode("div",Lk,[e.createElementVNode("div",Wk,[e.createElementVNode("div",null,e.toDisplayString((jl=(Kl=l.report)==null?void 0:Kl.weather)!=null&&jl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Hk,$k]),Mk,Ik,Gk])]),e.createElementVNode("div",Rk,[zk,((Xl=(ul=o.extend)==null?void 0:ul.cp)==null?void 0:Xl.dgo)>0?(e.openBlock(),e.createElementBlock("div",Uk," * For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",Yk,[Zk,e.createElementVNode("div",Qk,[e.createElementVNode("div",Jk,[e.createElementVNode("div",null,e.toDisplayString((vl=(ql=l.report)==null?void 0:ql.weather)!=null&&vl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Kk,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(ta=(ea=o==null?void 0:o.extend)==null?void 0:ea.cp)==null?void 0:ta.speed,"Under"))+"kts",1)]),jk,uk,Xk])]),e.createElementVNode("div",qk,[vk,e.createElementVNode("div",e3,[e.createElementVNode("div",t3,[e.createElementVNode("div",null,e.toDisplayString((la=(oa=l.report)==null?void 0:oa.weather)!=null&&la.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),o3,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(na=(aa=o==null?void 0:o.extend)==null?void 0:aa.cp)==null?void 0:na.speed,"Under"))+"kts",1)]),l3,a3,n3])]),s3,((ia=(sa=o.extend)==null?void 0:sa.cp)==null?void 0:ia.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",i3,[c3,e.createElementVNode("div",d3,[e.createElementVNode("div",r3,[m3,p3,e.createElementVNode("div",null,e.toDisplayString((da=(ca=l.report)==null?void 0:ca.weather)!=null&&da.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",h3,[_3,e.createElementVNode("div",E3,[e.createElementVNode("div",y3,[N3,V3,e.createElementVNode("div",null,e.toDisplayString((ma=(ra=l.report)==null?void 0:ra.weather)!=null&&ma.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),f3,e.createElementVNode("div",b3,[x3,e.createElementVNode("div",g3,"Seg. "+e.toDisplayString(u+1)+" Fuel Oil",1)]),(pa=o==null?void 0:o.goodWx)!=null&&pa.distance?(e.openBlock(),e.createElementBlock("div",D3,[((_a=(ha=o==null?void 0:o.goodWx)==null?void 0:ha.inEca)==null?void 0:_a.distance)>0?(e.openBlock(),e.createElementBlock("div",k3,[C3,e.createElementVNode("div",S3,[e.createElementVNode("div",B3,[e.createElementVNode("div",null,e.toDisplayString((ya=(Ea=o==null?void 0:o.goodWx)==null?void 0:Ea.inEca)==null?void 0:ya.sumDgoCons),1)]),w3,e.createElementVNode("div",A3,[e.createElementVNode("div",null,e.toDisplayString((Va=(Na=o==null?void 0:o.extend)==null?void 0:Na.cp)==null?void 0:Va.dgo),1),T3,F3]),O3,e.createElementVNode("div",null,e.toDisplayString((ba=(fa=o==null?void 0:o.goodWx)==null?void 0:fa.inEca)==null?void 0:ba.time),1),P3,e.createElementVNode("div",null,e.toDisplayString((ga=(xa=o==null?void 0:o.fuelConclusion)==null?void 0:xa.fo)==null?void 0:ga.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",L3,[W3,e.createElementVNode("div",H3,[e.createElementVNode("div",$3,[e.createElementVNode("div",null,e.toDisplayString((ka=(Da=l.report)==null?void 0:Da.weather)!=null&&ka.noExtrapolation?(Ca=o==null?void 0:o.goodWx)==null?void 0:Ca.distance:(Sa=o==null?void 0:o.allWx)==null?void 0:Sa.distance),1),M3,e.createElementVNode("div",null,e.toDisplayString((Ba=o==null?void 0:o.goodWx)==null?void 0:Ba.pfmSpd),1)]),I3,e.createElementVNode("div",G3,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((wa=o==null?void 0:o.goodWx)==null?void 0:wa.sumFoCons),1),((Ta=(Aa=o==null?void 0:o.goodWx)==null?void 0:Aa.inEca)==null?void 0:Ta.distance)>0?(e.openBlock(),e.createElementBlock("span",R3,[z3,e.createElementVNode("span",null,e.toDisplayString((Oa=(Fa=o==null?void 0:o.fuelConclusion)==null?void 0:Fa.fo)==null?void 0:Oa.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),U3,e.createElementVNode("div",null,e.toDisplayString((Pa=o==null?void 0:o.goodWx)==null?void 0:Pa.time),1)]),Y3,e.createElementVNode("div",null,e.toDisplayString((Wa=(La=o.fuelConclusion)==null?void 0:La.fo)==null?void 0:Wa.entireCons)+" (mt)",1),Z3])]),e.createElementVNode("div",Q3,[J3,e.createElementVNode("div",K3,[e.createElementVNode("div",j3,[e.createElementVNode("div",null,e.toDisplayString(($a=(Ha=l.report)==null?void 0:Ha.weather)!=null&&$a.noExtrapolation?(Z=o==null?void 0:o.goodWx)==null?void 0:Z.distance:(ao=o==null?void 0:o.allWx)==null?void 0:ao.distance),1),u3,e.createElementVNode("div",null,e.toDisplayString((Ma=o==null?void 0:o.timeConclusion)==null?void 0:Ma.minusAbtSpd),1)]),X3,e.createElementVNode("div",q3,[e.createElementVNode("div",null,e.toDisplayString((Ga=(Ia=o==null?void 0:o.fuelConclusion)==null?void 0:Ia.fo)==null?void 0:Ga.overTolerance),1),v3,eC]),tC,e.createElementVNode("div",null,e.toDisplayString((za=(Ra=o.fuelConclusion)==null?void 0:Ra.fo)==null?void 0:za.maxCons)+" (mt)",1),oC])]),e.createElementVNode("div",lC,[aC,e.createElementVNode("div",nC,[e.createElementVNode("div",sC,[e.createElementVNode("div",null,e.toDisplayString((Ya=(Ua=l.report)==null?void 0:Ua.weather)!=null&&Ya.noExtrapolation?(Za=o==null?void 0:o.goodWx)==null?void 0:Za.distance:(Qe=o==null?void 0:o.allWx)==null?void 0:Qe.distance),1),iC,e.createElementVNode("div",null,e.toDisplayString((qa=o==null?void 0:o.timeConclusion)==null?void 0:qa.minusAbtSpd),1)]),cC,e.createElementVNode("div",dC,[e.createElementVNode("div",null,e.toDisplayString((en=(va=o==null?void 0:o.fuelConclusion)==null?void 0:va.fo)==null?void 0:en.underTolerance),1),rC,mC]),pC,e.createElementVNode("div",null,e.toDisplayString((on=(tn=o.fuelConclusion)==null?void 0:tn.fo)==null?void 0:on.minCons)+" (mt)",1),hC])]),e.createElementVNode("div",_C,[((an=(ln=o==null?void 0:o.fuelConclusion)==null?void 0:ln.fo)==null?void 0:an.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",EC,[yC,NC,VC,fC,e.createElementVNode("div",null,e.toDisplayString((sn=(nn=o==null?void 0:o.fuelConclusion)==null?void 0:nn.fo)==null?void 0:sn.entireCons),1),bC,e.createElementVNode("div",null,e.toDisplayString((dn=(cn=o==null?void 0:o.fuelConclusion)==null?void 0:cn.fo)==null?void 0:dn.maxCons),1),xC,e.createElementVNode("div",null,e.toDisplayString((mn=(rn=o==null?void 0:o.fuelConclusion)==null?void 0:rn.fo)==null?void 0:mn.overCons),1)]),(hn=(pn=o==null?void 0:o.goodWx)==null?void 0:pn.inEca)!=null&&hn.distance?(e.openBlock(),e.createElementBlock("div",gC,[DC,kC,e.createElementVNode("div",CC,[e.createElementVNode("div",null,e.toDisplayString((j=(_n=o==null?void 0:o.goodWx)==null?void 0:_n.inEca)==null?void 0:j.distance)+" * "+e.toDisplayString((En=(Mo=o==null?void 0:o.fuelConclusion)==null?void 0:Mo.fo)==null?void 0:En.overCons),1),SC,e.createElementVNode("div",null,e.toDisplayString((Nn=(yn=l.report)==null?void 0:yn.weather)!=null&&Nn.noExtrapolation?(Vn=o==null?void 0:o.goodWx)==null?void 0:Vn.distance:(fn=o==null?void 0:o.allWx)==null?void 0:fn.distance),1)]),BC,e.createElementVNode("div",null,e.toDisplayString((xn=(bn=o==null?void 0:o.fuelConclusion)==null?void 0:bn.fo)==null?void 0:xn.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((it=(gn=o==null?void 0:o.fuelConclusion)==null?void 0:gn.fo)==null?void 0:it.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",wC,[AC,TC,FC,OC,e.createElementVNode("div",null,e.toDisplayString((Xn=(un=o==null?void 0:o.fuelConclusion)==null?void 0:un.fo)==null?void 0:Xn.minCons),1),PC,e.createElementVNode("div",null,e.toDisplayString((vn=(qn=o==null?void 0:o.fuelConclusion)==null?void 0:qn.fo)==null?void 0:vn.entireCons),1),LC,e.createElementVNode("div",null,e.toDisplayString((ts=(es=o==null?void 0:o.fuelConclusion)==null?void 0:es.fo)==null?void 0:ts.saving)+" (mt)",1)]),(ls=(os=o==null?void 0:o.goodWx)==null?void 0:os.inEca)!=null&&ls.distance?(e.openBlock(),e.createElementBlock("div",WC,[HC,$C,e.createElementVNode("div",MC,[e.createElementVNode("div",null,e.toDisplayString((ns=(as=l.report)==null?void 0:as.weather)!=null&&ns.noExtrapolation?(is=(ss=o==null?void 0:o.goodWx)==null?void 0:ss.inEca)==null?void 0:is.distance:(ds=(cs=o==null?void 0:o.allWx)==null?void 0:cs.inEca)==null?void 0:ds.distance)+" * "+e.toDisplayString((ms=(rs=o==null?void 0:o.fuelConclusion)==null?void 0:rs.fo)==null?void 0:ms.saving),1),IC,e.createElementVNode("div",null,e.toDisplayString((hs=(ps=l.report)==null?void 0:ps.weather)!=null&&hs.noExtrapolation?(_s=o==null?void 0:o.goodWx)==null?void 0:_s.distance:(Es=o==null?void 0:o.allWx)==null?void 0:Es.distance),1)]),GC,e.createElementVNode("div",null,e.toDisplayString((Ns=(ys=o==null?void 0:o.fuelConclusion)==null?void 0:ys.fo)==null?void 0:Ns.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((fs=(Vs=o==null?void 0:o.fuelConclusion)==null?void 0:Vs.fo)==null?void 0:fs.conclusionStatus)==="Over"?"flex-center lost":((xs=(bs=o==null?void 0:o.fuelConclusion)==null?void 0:bs.fo)==null?void 0:xs.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[RC,e.createElementVNode("div",null,e.toDisplayString(((Ds=(gs=o==null?void 0:o.fuelConclusion)==null?void 0:gs.fo)==null?void 0:Ds.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",zC,e.toDisplayString(a.noGoodWxDay),1)),((Cs=(ks=o==null?void 0:o.extend)==null?void 0:ks.cp)==null?void 0:Cs.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",UC,[YC,e.createElementVNode("div",ZC,"Seg. "+e.toDisplayString(u+1)+" Diesel/Gas Oil",1)]),(Ss=o==null?void 0:o.goodWx)!=null&&Ss.distance?(e.openBlock(),e.createElementBlock("div",QC,[e.createElementVNode("div",JC,[KC,e.createElementVNode("div",jC,[e.createElementVNode("div",uC,[e.createElementVNode("div",null,e.toDisplayString((ws=(Bs=l.report)==null?void 0:Bs.weather)!=null&&ws.noExtrapolation?(As=o==null?void 0:o.goodWx)==null?void 0:As.distance:(Ts=o==null?void 0:o.allWx)==null?void 0:Ts.distance),1),XC,e.createElementVNode("div",null,e.toDisplayString((Fs=o==null?void 0:o.goodWx)==null?void 0:Fs.pfmSpd),1)]),qC,e.createElementVNode("div",vC,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Os=o==null?void 0:o.goodWx)==null?void 0:Os.sumDgoCons),1),((Ls=(Ps=o==null?void 0:o.goodWx)==null?void 0:Ps.inEca)==null?void 0:Ls.distance)>0?(e.openBlock(),e.createElementBlock("span",eS,[tS,e.createElementVNode("span",null,e.toDisplayString((Hs=(Ws=o==null?void 0:o.fuelConclusion)==null?void 0:Ws.fo)==null?void 0:Hs.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),oS,e.createElementVNode("div",null,e.toDisplayString(($s=o==null?void 0:o.goodWx)==null?void 0:$s.time),1)]),lS,e.createElementVNode("div",null,e.toDisplayString((Is=(Ms=o.fuelConclusion)==null?void 0:Ms.dgo)==null?void 0:Is.entireCons)+" (mt)",1),aS])]),e.createElementVNode("div",nS,[sS,e.createElementVNode("div",iS,[e.createElementVNode("div",cS,[e.createElementVNode("div",null,e.toDisplayString((Rs=(Gs=l.report)==null?void 0:Gs.weather)!=null&&Rs.noExtrapolation?(zs=o==null?void 0:o.goodWx)==null?void 0:zs.distance:(Us=o==null?void 0:o.allWx)==null?void 0:Us.distance),1),dS,e.createElementVNode("div",null,e.toDisplayString((Ys=o==null?void 0:o.timeConclusion)==null?void 0:Ys.minusAbtSpd),1)]),rS,e.createElementVNode("div",mS,[e.createElementVNode("div",null,e.toDisplayString((Qs=(Zs=o==null?void 0:o.fuelConclusion)==null?void 0:Zs.dgo)==null?void 0:Qs.overTolerance),1),pS,hS]),_S,e.createElementVNode("div",null,e.toDisplayString((Ks=(Js=o.fuelConclusion)==null?void 0:Js.dgo)==null?void 0:Ks.maxCons)+" (mt)",1),ES])]),e.createElementVNode("div",yS,[NS,e.createElementVNode("div",VS,[e.createElementVNode("div",fS,[e.createElementVNode("div",null,e.toDisplayString((us=(js=l.report)==null?void 0:js.weather)!=null&&us.noExtrapolation?(Xs=o==null?void 0:o.goodWx)==null?void 0:Xs.distance:(qs=o==null?void 0:o.allWx)==null?void 0:qs.distance),1),bS,e.createElementVNode("div",null,e.toDisplayString((vs=o==null?void 0:o.timeConclusion)==null?void 0:vs.minusAbtSpd),1)]),xS,e.createElementVNode("div",gS,[e.createElementVNode("div",null,e.toDisplayString((ti=(ei=o==null?void 0:o.fuelConclusion)==null?void 0:ei.dgo)==null?void 0:ti.underTolerance),1),DS,kS]),CS,e.createElementVNode("div",null,e.toDisplayString((li=(oi=o.fuelConclusion)==null?void 0:oi.dgo)==null?void 0:li.minCons)+" (mt)",1),SS])]),e.createElementVNode("div",BS,[((ni=(ai=o==null?void 0:o.fuelConclusion)==null?void 0:ai.dgo)==null?void 0:ni.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",wS,[AS,TS,FS,OS,e.createElementVNode("div",null,e.toDisplayString((ii=(si=o==null?void 0:o.fuelConclusion)==null?void 0:si.dgo)==null?void 0:ii.entireCons),1),PS,e.createElementVNode("div",null,e.toDisplayString((di=(ci=o==null?void 0:o.fuelConclusion)==null?void 0:ci.dgo)==null?void 0:di.maxCons),1),LS,e.createElementVNode("div",null,e.toDisplayString((mi=(ri=o==null?void 0:o.fuelConclusion)==null?void 0:ri.dgo)==null?void 0:mi.overCons),1)])):((hi=(pi=o==null?void 0:o.fuelConclusion)==null?void 0:pi.fo)==null?void 0:hi.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",WS,[HS,$S,MS,IS,e.createElementVNode("div",null,e.toDisplayString((Ei=(_i=o==null?void 0:o.fuelConclusion)==null?void 0:_i.dgo)==null?void 0:Ei.minCons),1),GS,e.createElementVNode("div",null,e.toDisplayString((Ni=(yi=o==null?void 0:o.fuelConclusion)==null?void 0:yi.dgo)==null?void 0:Ni.entireCons),1),RS,e.createElementVNode("div",null,e.toDisplayString((fi=(Vi=o==null?void 0:o.fuelConclusion)==null?void 0:Vi.dgo)==null?void 0:fi.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((xi=(bi=o==null?void 0:o.fuelConclusion)==null?void 0:bi.dgo)==null?void 0:xi.conclusionStatus)==="Over"?"flex-center lost":((Di=(gi=o==null?void 0:o.fuelConclusion)==null?void 0:gi.dgo)==null?void 0:Di.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[zS,e.createElementVNode("div",null,e.toDisplayString(((Ci=(ki=o==null?void 0:o.fuelConclusion)==null?void 0:ki.dgo)==null?void 0:Ci.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",US,e.toDisplayString(a.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const ZS=Ce(Q0,[["render",YS],["__scopeId","data-v-5bb8fb56"]]),IU="",QS={components:{},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]},showFactor:{type:Boolean,default:!1}},data(){return{showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,showWaterTemp:!1}},computed:{computeTDClass(){return function(t){const s=[];return s.push(t.noonLength?"no-border-bottom":"no-border"),s.push(t.excluded?"excluded":t.goodWx?"good-wx":""),s.join(" ")}},computeWxColspan(){let t=12;return this.showCF||(t-=2),this.showAisDistance||(t-=2),this.showWave||(t-=1),this.showSwell||(t-=1),this.showSig||(t-=1),this.showWaterTemp||(t-=1),t},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}},computeLng(){return function(t){return ae.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return ae.LngLatHelper.lat2pretty(t)}},computePrecision(){return function(t,s=2,l="0.0"){return t?ae.LngLatHelper.roundPrecision(t,s):l}}},watch:{report:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,s,l,r,a,n,E,i,p,b,x,h;this.showCF=((s=(t=this.report)==null?void 0:t.weather)==null?void 0:s.showCF)??!1,this.showAisDistance=((r=(l=this.report)==null?void 0:l.weather)==null?void 0:r.showAisDistance)??!0,this.showSig=((n=(a=this.report)==null?void 0:a.weather)==null?void 0:n.showSig)??!0,this.showSwell=((i=(E=this.report)==null?void 0:E.weather)==null?void 0:i.showSwell)??!0,this.showWave=((b=(p=this.report)==null?void 0:p.weather)==null?void 0:b.showWave)??!0,this.showWaterTemp=((h=(x=this.report)==null?void 0:x.weather)==null?void 0:h.waterTempSwitch)||!1}}},q=t=>(e.pushScopeId("data-v-eef3e2bd"),t=t(),e.popScopeId(),t),JS={class:"report-inventory"},KS={class:"section summary-section"},jS=q(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),uS={class:"summary-block"},XS=q(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label",rowspan:"2"},"Seg."),e.createElementVNode("th",{class:"label",rowspan:"2"},"Periods"),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Distance"),e.createElementVNode("div",null,"(nm)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Time"),e.createElementVNode("div",null,"(hrs)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Average Speed"),e.createElementVNode("div",null,"(kts)")]),e.createElementVNode("th",{class:"label",colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"DO/GO")])],-1)),qS={class:"label",rowspan:"4"},vS=q(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),e5=q(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),t5=q(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),o5=q(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),l5={class:"section inventory-section"},a5=e.createStaticVNode('<div class="legends flex-space" data-v-eef3e2bd><div class="flex-start" style="flex:1.2;" data-v-eef3e2bd><div class="legend good-wx" data-v-eef3e2bd></div><div class="label flex-end" data-v-eef3e2bd>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-eef3e2bd><div class="legend adverse-wx" data-v-eef3e2bd></div><div class="label" data-v-eef3e2bd>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-eef3e2bd><div class="legend excluded" data-v-eef3e2bd></div><div class="label" data-v-eef3e2bd>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-eef3e2bd><div data-v-eef3e2bd><label data-v-eef3e2bd>B</label><span data-v-eef3e2bd>BOSP</span></div><div data-v-eef3e2bd><label data-v-eef3e2bd>N</label><span data-v-eef3e2bd>NOON</span></div><div data-v-eef3e2bd><label data-v-eef3e2bd>E</label><span data-v-eef3e2bd>EOSP</span></div><div data-v-eef3e2bd><label data-v-eef3e2bd>*</label><span data-v-eef3e2bd>Ship Reported Position</span></div></div></div>',1),n5={class:"inventory-block flex-center"},s5={style:{"font-size":"12px"}},i5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),c5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),d5=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),r5=q(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),m5=["colspan"],p5={key:0,class:"label",colspan:"2"},h5=q(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),_5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),E5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),y5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),N5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),V5=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),f5={key:0,class:"label",rowspan:"2"},b5=q(()=>e.createElementVNode("br",null,null,-1)),x5={key:1,class:"label",rowspan:"2"},g5=q(()=>e.createElementVNode("br",null,null,-1)),D5=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),k5={key:2,class:"label",rowspan:"2"},C5=q(()=>e.createElementVNode("br",null,null,-1)),S5={key:3,class:"label",colspan:"2"},B5={key:4,class:"label",rowspan:"2"},w5=q(()=>e.createElementVNode("br",null,null,-1)),A5={key:5,class:"label",colspan:"2"},T5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),F5={key:6,class:"label",rowspan:"2"},O5={key:7,class:"label",rowspan:"2"},P5={key:8,class:"label",rowspan:"2"},L5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),W5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),H5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),$5=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),M5=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),I5=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),G5=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),R5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),z5=q(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),U5=q(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),Y5=q(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),Z5=q(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),Q5={key:0,class:"label"},J5={key:1,class:"label"},K5={key:2,class:"label"},j5={key:3,class:"label"},u5=q(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),X5=q(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),q5=q(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),v5=q(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),e4=q(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),t4=q(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),o4=q(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),l4=q(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),a4={class:"summary-tbody"};function n4(t,s,l,r,a,n){var E;return e.openBlock(),e.createElementBlock("div",JS,[e.createElementVNode("div",KS,[jS,e.createElementVNode("div",uS,[e.createElementVNode("table",null,[XS,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((E=l.report)==null?void 0:E.segments,(i,p)=>{var b,x,h,y,k,g,C,D,T,F,B,w,V,O,I,G,R,z,_,L;return e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[e.createElementVNode("tr",null,[e.createElementVNode("td",qS,e.toDisplayString(p+1),1),vS,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((b=i==null?void 0:i.allWx)==null?void 0:b.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((x=i==null?void 0:i.allWx)==null?void 0:x.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((h=i==null?void 0:i.allWx)==null?void 0:h.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((y=i==null?void 0:i.allWx)==null?void 0:y.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((k=i==null?void 0:i.allWx)==null?void 0:k.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[e5,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((g=i==null?void 0:i.goodWx)==null?void 0:g.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((C=i==null?void 0:i.goodWx)==null?void 0:C.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((D=i==null?void 0:i.goodWx)==null?void 0:D.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((T=i==null?void 0:i.goodWx)==null?void 0:T.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((F=i==null?void 0:i.goodWx)==null?void 0:F.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[t5,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((B=i==null?void 0:i.badWx)==null?void 0:B.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((w=i==null?void 0:i.badWx)==null?void 0:w.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((V=i==null?void 0:i.badWx)==null?void 0:V.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((O=i==null?void 0:i.badWx)==null?void 0:O.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((I=i==null?void 0:i.badWx)==null?void 0:I.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[o5,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((G=i==null?void 0:i.excluded)==null?void 0:G.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((R=i==null?void 0:i.excluded)==null?void 0:R.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((z=i==null?void 0:i.excluded)==null?void 0:z.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((_=i==null?void 0:i.excluded)==null?void 0:_.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((L=i==null?void 0:i.excluded)==null?void 0:L.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",l5,[a5,e.createElementVNode("div",n5,[e.createElementVNode("table",s5,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[i5,c5,d5,r5,e.createElementVNode("th",{class:"label",colspan:n.computeWxColspan},"ORM Weather Analysis",8,m5),l.showFactor?(e.openBlock(),e.createElementBlock("th",p5,"Factor")):e.createCommentVNode("",!0),h5,_5]),e.createElementVNode("tr",null,[E5,y5,N5,V5,a.showAisDistance?(e.openBlock(),e.createElementBlock("th",f5,[e.createTextVNode("Spd"),b5,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("th",x5,[e.createTextVNode("Dis"),g5,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),D5,a.showWave?(e.openBlock(),e.createElementBlock("th",k5,[e.createTextVNode("Sea HT"),C5,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",S5,"Swell")):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("th",B5,[e.createTextVNode("Sig Wave"),w5,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",A5,"Current")):e.createCommentVNode("",!0),T5,l.showFactor?(e.openBlock(),e.createElementBlock("th",F5,"cFactor")):e.createCommentVNode("",!0),l.showFactor?(e.openBlock(),e.createElementBlock("th",O5,"wxFactor")):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("th",P5,"Water Temp.")):e.createCommentVNode("",!0),L5,W5,H5,$5,M5,I5,G5,R5]),e.createElementVNode("tr",null,[z5,U5,Y5,Z5,a.showSwell?(e.openBlock(),e.createElementBlock("th",Q5,"Dir")):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",J5,"HT(m)")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",K5,"Dir")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",j5,"CF(kts)")):e.createCommentVNode("",!0),u5,X5,q5,v5,e4,t4,o4,l4])]),e.createElementVNode("tbody",a4,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.inventory,(i,p)=>{var b,x,h,y,k,g,C,D,T,F,B,w,V,O,I,G,R,z,_,L,$,W,P,M;return e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",{class:e.normalizeClass(i.segLength?"no-border-bottom":"no-border")},e.toDisplayString(i.segLength?i.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i.time),3),["B","E"].includes(i.abbrev)&&((b=i.noon)!=null&&b.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((x=i.noon)==null?void 0:x.port),3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i._lat.pretty),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i._lng.pretty),3)],64)),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.cp.dgo:""),3),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.avgSpdCalc:""),3)):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((y=(h=i.meteo)==null?void 0:h.wind)==null?void 0:y.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((g=(k=i.meteo)==null?void 0:k.wind)==null?void 0:g.scale)??"--"),3),a.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((T=(D=(C=i.meteo)==null?void 0:C.wave)==null?void 0:D.wd)==null?void 0:T.height)??"--"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((w=(B=(F=i.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(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((I=(O=(V=i.meteo)==null?void 0:V.wave)==null?void 0:O.swell)==null?void 0:I.height)??"--"),3)):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((z=(R=(G=i.meteo)==null?void 0:G.wave)==null?void 0:R.sig)==null?void 0:z.height)??"--"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((L=(_=i.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(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString((($=i.meteo)==null?void 0:$.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.dailyAvgCf:""),3),l.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((W=i.meteo)==null?void 0:W.cFactor)??"--"),3)):e.createCommentVNode("",!0),l.showFactor?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((P=i.meteo)==null?void 0:P.wxFactor)??"--"),3)):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((M=i.meteo)==null?void 0:M.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const s4=Ce(QS,[["render",n4],["__scopeId","data-v-eef3e2bd"]]),GU="",i4={name:"OrmVoyageChart",components:{Lng:ua,Lat:Xa},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]}},data(){return{spdFoConsChart:void 0,spdDgoConsChart:void 0,wxChart:void 0,currChart:void 0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}}},watch:{inventory:{handler(t,s){t!=null&&t.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Ka.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Ka.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Ka.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var p,b,x,h,y,k;const t=[],s=[],l={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let r=0,a=0;const n=this.inventory.filter(g=>g.noonLength)||[];n.unshift(n[0]),n.forEach((g,C)=>{var T,F,B,w,V,O,I,G,R,z,_,L,$,W;const D=this.computeUTCTime(C===0?g.utc:g.noonUtc,"MM-DD/HHmm[Z]");if(t.push(D),r=Math.ceil(((T=g.noon)==null?void 0:T.foCons)>r?(F=g.noon)==null?void 0:F.foCons:r),r=Math.ceil(((B=g.cp)==null?void 0:B.fo)>r?(w=g.cp)==null?void 0:w.fo:r),a=Math.ceil(((V=g.noon)==null?void 0:V.dgoCons)>a?(O=g.noon)==null?void 0:O.dgoCons:a),a=Math.ceil(((I=g.cp)==null?void 0:I.dgo)>a?(G=g.cp)==null?void 0:G.dgo:a),s.push([D,(R=g.noon)==null?void 0:R.avgSpd,(z=g.noon)==null?void 0:z.foCons,(_=g.noon)==null?void 0:_.dgoCons,g.avgSpdCalc,g.cp.speed,g.goodWx&&!g.excluded?100:0,g.cp.dgo,g.cp.fo,g.excluded?100:0]),C<n.length-1){const P=n[C+1];s.push([D,(L=P.noon)==null?void 0:L.avgSpd,($=P.noon)==null?void 0:$.foCons,(W=P.noon)==null?void 0:W.dgoCons,P.avgSpdCalc,P.cp.speed,P.goodWx&&!P.excluded?100:0,P.cp.dgo,P.cp.fo,P.excluded?100:0])}});const E={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP FO Cons","FO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"FO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,offset:10,max:r+1,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#146BF5"}},splitLine:{show:!1}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:s,z:2},{name:"CP FO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#146BF5"},lineStyle:{color:"#146BF5",type:"dashed"},encode:{x:l.dateTime,y:l.fo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:(b=(p=this.report)==null?void 0:p.weather)!=null&&b.believeRptDistance?l.noonAvgSpd:l.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{name:"FO Cons",yAxisIndex:1,type:"line",showSymbol:!1,itemStyle:{color:"#146BF5"},encode:{x:l.dateTime,y:l.noonFoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:l.dateTime,y:l.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",encode:{x:l.dateTime,y:l.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(x=this.spdFoConsChart)==null||x.setOption(E);const i={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP DGO Cons","DGO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"DGO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,max:a+.2,min:0,alignTicks:!0,splitLine:{show:!1},axisLine:{lineStyle:{color:"#a7c4ff"}}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:s,z:2},{name:"CP DGO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#a7c4ff"},lineStyle:{color:"#a7c4ff",type:"dashed"},encode:{x:l.dateTime,y:l.dgo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:(y=(h=this.report)==null?void 0:h.weather)!=null&&y.believeRptDistance?l.noonAvgSpd:l.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{name:"DGO Cons",type:"line",showSymbol:!1,yAxisIndex:1,itemStyle:{color:"#a7c4ff"},encode:{x:l.dateTime,y:l.noonDgoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:l.dateTime,y:l.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",encode:{x:l.dateTime,y:l.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(k=this.spdDgoConsChart)==null||k.setOption(i)},renderWxCurrChart(){var i;const t=[],s=[],l={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let r=4,a=0;const n=this.inventory.filter(p=>p.noonLength)||[];n.unshift(n[0]),n.forEach((p,b)=>{var h,y,k,g,C,D,T,F,B,w,V,O,I,G,R,z,_,L,$,W,P,M,Q,U;a=p.noonLength?p.dailyAvgCf:a;const x=this.computeUTCTime(b===0?p.utc:p.noonUtc,"MM-DD/HHmm[Z]");if(t.push(x),r=Math.ceil(((k=(y=(h=p.meteo)==null?void 0:h.wave)==null?void 0:y.sig)==null?void 0:k.height)>r?(D=(C=(g=p.meteo)==null?void 0:g.wave)==null?void 0:C.sig)==null?void 0:D.height:r),s.push([x,(T=p.noon)==null?void 0:T.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,(R=(G=(I=p.meteo)==null?void 0:I.wave)==null?void 0:G.sig)==null?void 0:R.height,a,p.goodWx&&!p.excluded?20:0,p.excluded?20:0]),b<n.length-1){const J=n[b+1];s.push([x,(z=J.noon)==null?void 0:z.windBF,(L=(_=J.meteo)==null?void 0:_.wind)==null?void 0:L.scale,(W=($=J.meteo)==null?void 0:$.wind)==null?void 0:W.direction,(P=J.noon)==null?void 0:P.seasHt,(U=(Q=(M=J.meteo)==null?void 0:M.wave)==null?void 0:Q.sig)==null?void 0:U.height,J.noonLength?J.dailyAvgCf:a,J.goodWx&&!J.excluded?20:0,J.excluded?20:0])}});const E={animation:!1,title:{text:"Current Factor",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["Current Factor",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,position:"bottom",axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:10,nameGap:35,minInterval:.5,axisLine:{lineStyle:{color:"#a362f9"}},splitLine:{show:!0}},{name:"Good Weather Days",show:!1}],series:[{name:"Current Factor",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.anlyCurFct},itemStyle:{color:"#a362f9"},data:s,z:3},{name:"Good Weather Days",type:"line",yAxisIndex:1,encode:{x:l.dateTime,y:l.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",yAxisIndex:1,encode:{x:l.dateTime,y:l.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(i=this.currChart)==null||i.setOption(E)}}},ml=t=>(e.pushScopeId("data-v-2ca728ad"),t=t(),e.popScopeId(),t),c4={class:"report-summary"},d4={class:"section chart-section"},r4=ml(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption with Current Analysis Graph")],-1)),m4={class:"chart-block"},p4={ref:"spdFoConsChart",class:"chart"},h4={ref:"spdDgoConsChart",class:"chart"},_4={ref:"currChart",class:"chart"},E4={class:"section map-section"},y4=ml(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),N4={class:"map-block"},V4={class:"flex-space"},f4={class:"voyage-block",style:{height:"197px"}},b4={class:"flex-space label-block",style:{width:"100%"}},x4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),g4={style:{"text-transform":"uppercase"}},D4={class:"flex-space label-block",style:{width:"100%"}},k4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),C4={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},S4={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},B4={class:"flex-space label-block",style:{width:"100%"}},w4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),A4={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},T4={class:"flex-space label-block",style:{width:"100%"}},F4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),O4={key:0,class:"flex-end",style:{flex:"1"}},P4={key:1,class:"flex-end",style:{flex:"1"}},L4=ml(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),W4={class:"flex-end",style:{width:"160px"}},H4={class:"flex-space label-block",style:{width:"100%"}},$4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),M4={key:0,class:"flex-end",style:{flex:"1"}},I4={key:1,class:"flex-end",style:{flex:"1"}},G4=ml(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),R4={class:"flex-end",style:{width:"160px"}},z4={class:"flex-space label-block",style:{width:"100%"}},U4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),Y4={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},Z4=e.createStaticVNode('<div class="legend-block" data-v-2ca728ad><div style="position:absolute;margin-top:-8px;" data-v-2ca728ad>LEGEND</div><div class="flex-space" data-v-2ca728ad><div data-v-2ca728ad>0812</div><div data-v-2ca728ad><div data-v-2ca728ad>08 - Day of the month</div><div data-v-2ca728ad>12 - Hours of the day</div></div></div><div class="flex-space" data-v-2ca728ad><div data-v-2ca728ad><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-2ca728ad></i></div><div data-v-2ca728ad><div data-v-2ca728ad>Wind from N (000)</div><div data-v-2ca728ad>Each bard = 10 kts</div><div data-v-2ca728ad>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-2ca728ad><div data-v-2ca728ad>W 4</div><div data-v-2ca728ad>Sig. Wave from West, 4 meters</div></div><div class="flex-space" data-v-2ca728ad><div class="good-wx" data-v-2ca728ad>Date</div><div data-v-2ca728ad>Good weather days</div></div></div>',1),Q4=["src"],J4=e.createStaticVNode('<div class="section method-section" data-v-2ca728ad><div class="header-block flex-center" data-v-2ca728ad><i class="iconfont" data-v-2ca728ad></i><div class="title" data-v-2ca728ad>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-2ca728ad><div class="method-title" data-v-2ca728ad>1. Good Weather Method</div><div class="method-body" data-v-2ca728ad> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd's Rep 166 and The Gas Enterprise [1993] 2 Lloyd's Rep. 352. <br data-v-2ca728ad> The vessel's performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-2ca728ad> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a "good weather day" or "adverse weather day" according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-2ca728ad><div class="method-title" data-v-2ca728ad>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-2ca728ad> Speed and Consumption Calculation applies allowed time and allowed consumption calculated based on cp speed and consumption in good weather conditions. Complying with maritime arbitration standards, time loss and over/under-consumption is not calculated when there are no good weather days. </div></div><div class="method-block" data-v-2ca728ad><div class="method-title" data-v-2ca728ad>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-2ca728ad> To complete the Good Weather Analysis method requests daily noon positions (including time, distance, weather, seas, bunker consumption, etc.) from the Master, which are to be inspected in evaluation reports. We will apply our analyzed distances. Weather and sea conditions in reports represent our verified weather data. </div></div><div class="method-block" data-v-2ca728ad><div class="method-title" data-v-2ca728ad>4. “About”</div><div class="method-body" data-v-2ca728ad> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-2ca728ad> As per the High Court decision on The Gaz Energy (2012) 852 LMLN 2 a plus 5% tolerance in over-consumption calculation and a minus 5% tolerance in under-consumption are employed respectively when an “about” is included with the consumption warranty, unless otherwise stipulated. </div></div><div class="method-block" data-v-2ca728ad><div class="method-title" data-v-2ca728ad>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-2ca728ad> The following methodology will be applied to analyze bunker consumption when the bunker type is switched over, such as in ECA/SECA zone. <br data-v-2ca728ad> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-2ca728ad> 5-2 Considering DO/GO consumption in the switch over period the amount of DO/GO consumed will initially be compared to the DO/GO warranted figure; the remaining DO/GO consumed in the switch over period will then be compared to the warranted IFO figure. In cases of partial steaming Days, the DO/GO consumed will be converted basis a calculation for hourly consumption. </div><div class="method-block" data-v-2ca728ad><div class="method-title" data-v-2ca728ad>6. Further reference materials</div><div class="method-body" data-v-2ca728ad>Please send mail to <a href="mailto:op@ormwx.com" data-v-2ca728ad>op@ormwx.com</a>.</div></div></div></div>',1);function K4(t,s,l,r,a,n){var p,b,x,h,y,k,g,C,D,T,F,B,w,V,O,I,G,R,z,_,L,$,W,P,M,Q,U;const E=e.resolveComponent("Lat"),i=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",c4,[e.createElementVNode("div",d4,[r4,e.createElementVNode("div",m4,[e.createElementVNode("div",p4,null,512),e.createElementVNode("div",h4,null,512),e.createElementVNode("div",_4,null,512)])]),e.createElementVNode("div",E4,[y4,e.createElementVNode("div",N4,[e.createElementVNode("div",V4,[e.createElementVNode("div",f4,[e.createElementVNode("div",b4,[x4,e.createElementVNode("span",g4,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",D4,[k4,e.createElementVNode("span",C4,e.toDisplayString((b=(p=l.report)==null?void 0:p.vessel)==null?void 0:b.name),1),e.createElementVNode("span",S4,"("+e.toDisplayString((h=(x=l.report)==null?void 0:x.vessel)==null?void 0:h.type)+")",1)]),e.createElementVNode("div",B4,[w4,e.createElementVNode("span",A4,e.toDisplayString((k=(y=l.report)==null?void 0:y.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",T4,[F4,(C=(g=l.report)==null?void 0:g.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",O4,e.toDisplayString((T=(D=l.report)==null?void 0:D.departure)==null?void 0:T.portName),1)):(e.openBlock(),e.createElementBlock("div",P4,[e.createVNode(E,{lat:(B=(F=l.report)==null?void 0:F.departure)==null?void 0:B.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),L4,e.createVNode(i,{lng:(w=l.report.departure)==null?void 0:w.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",W4,e.toDisplayString(n.computeUTCTime((V=l.report.departure)==null?void 0:V.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",H4,[$4,(I=(O=l.report)==null?void 0:O.arrival)!=null&&I.portName?(e.openBlock(),e.createElementBlock("span",M4,e.toDisplayString((R=(G=l.report)==null?void 0:G.arrival)==null?void 0:R.portName),1)):(e.openBlock(),e.createElementBlock("div",I4,[e.createVNode(E,{lat:(_=(z=l.report)==null?void 0:z.arrival)==null?void 0:_.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),G4,e.createVNode(i,{lng:($=(L=l.report)==null?void 0:L.arrival)==null?void 0:$.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",R4,e.toDisplayString(n.computeUTCTime((P=(W=l.report)==null?void 0:W.arrival)==null?void 0:P.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",z4,[U4,e.createElementVNode("span",Y4,e.toDisplayString((Q=(M=l.report)==null?void 0:M.voyage)==null?void 0:Q.loadCondition),1)])]),Z4]),e.createElementVNode("img",{src:(U=l.report)==null?void 0:U.chartUrl,alt:""},null,8,Q4)])]),J4])}const j4=Ce(i4,[["render",K4],["__scopeId","data-v-2ca728ad"]]),RU="",u4={name:"OrmVoyageIndex",components:{Brand:Io,VoySummary:ZS,Inventory:s4,Chart:j4,Loading:ja},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{inventory:[],loading:!0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}}},watch:{report:{handler(t,s){t!=null&&t.id&&(this.loading=!1,this.$nextTick(()=>{this.prepare()}))},immediate:!0}},methods:{commit(t){this.$emit("commit",t)},prepare(){var s,l;const t=[];(l=(s=this.report)==null?void 0:s.segments)==null||l.forEach(r=>{const a=r.extend.cp;let n,E,i=!1;r.inventory.sample.hours.forEach((p,b)=>{n||(n=p),(!E||i)&&(E=p,i=!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)&&(i=!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=ae.LngLatHelper.lng2pretty(p.lng),p._lat=ae.LngLatHelper.lat2pretty(p.lat),p.cp=a,t.push(p)})}),t.sort((r,a)=>r.date-a.date),this.inventory=t}}};function X4(t,s,l,r,a,n){var h,y;const E=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),p=e.resolveComponent("VoySummary"),b=e.resolveComponent("Inventory"),x=e.resolveComponent("Chart");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((y=(h=l.report)==null?void 0:h.weather)!=null&&y.referenceOnly?"report-section watermark":"report-section")},[e.createVNode(E,{name:"Voyage Analysis Report",issued:l.report.createdAt},null,8,["issued"]),e.createVNode(i,{loading:a.loading,onTimeout:s[0]||(s[0]=k=>a.loading=!1)},null,8,["loading"]),e.createVNode(p,{report:l.report,class:"main",onCommit:n.commit},null,8,["report","onCommit"]),e.createVNode(b,{report:l.report,inventory:a.inventory,class:"main"},null,8,["report","inventory"]),e.createVNode(x,{report:l.report,inventory:a.inventory,class:"main"},null,8,["report","inventory"])],2)}const On=Ce(u4,[["render",X4],["__scopeId","data-v-894b875a"]]),q4={install(t){t.component("FliVoyageReport",Fn),t.component("OrmVoyageReport",On)}},zU="",UU="",YU="",v4={name:"IdmTropical",components:{TropicalReport:$i.TropicalReport},props:{token:{type:String,default:""},report:{type:Object,default:()=>{}},model:{type:String,default:""},ts:{type:String,default:""}},emits:["center"],data(){return{center:void 0}},computed:{},watch:{},methods:{handleHurricanceCenter(t){this.center=t}}},eB={class:"typhoon-report-container"};function tB(t,s,l,r,a,n){const E=e.resolveComponent("TropicalReport");return e.openBlock(),e.createElementBlock("div",eB,[l.report?(e.openBlock(),e.createBlock(E,{key:0,report:l.report,model:l.model,ts:l.ts,token:l.token,onCenter:n.handleHurricanceCenter},null,8,["report","model","ts","token","onCenter"])):e.createCommentVNode("",!0)])}const Pn=Ce(v4,[["render",tB],["__scopeId","data-v-a14ce9ba"]]),oB={install(t){t.component("TropicalReport",Pn)}},ZU="",lB={name:"OrmInvoice",components:{IdmBrand:Io},props:{report:{type:Object,default:()=>({})}},data(){return{account:{CNY:{title:"正权海事服务(青岛)有限公司",taxId:"91370203MADE2L8TX4",address:"山东省青岛市市北区山东路171号乙万科中心1号楼1805户",tel:"15192665266",bank:"中国银行股份有限公司青岛城阳支行",number:"220850858281"},USD:{title:"Ocean Right Marine Service Co., Ltd.",taxId:"91370203MADE2L8TX4",address:"Rm1805, B Technology Innovation Bldg. No. 171 Shandong Rd, Qingdao, China",tel:"15192665266",bank:"Bank of China Qingdao Chengyang Sub-Branch",number:"216950903845",swift:"BKCHCNBJ50A",bankAddr:"198 Zhengyang road Chengyang District, Qingdao, China",intermediaryBank:"Bank of China New York Branch",intermediaryBankSwift:"BKCHUS33XXX",intermediaryBankAbaNo:"326"}},reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},computed:{computeTime(){return function(t,s="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${K(t).utcOffset(8).format(s)}`:"-"}}},watch:{report:{handler(){var t,s,l,r,a,n,E;this.reservations4Route=(s=(t=this.report)==null?void 0:t.reservations)==null?void 0:s.filter(i=>i.props),this.reservations4Point=(r=(l=this.report)==null?void 0:l.reservations)==null?void 0:r.filter(i=>!i.props),this.totalInUS=(n=(a=this.report)==null?void 0:a.reservations)==null?void 0:n.reduce((i,p)=>Math.round((i+p.amount)*100)/100,0),(E=this.reservations4Route)!=null&&E.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}}},Je=t=>(e.pushScopeId("data-v-95c80c22"),t=t(),e.popScopeId(),t),aB={class:"invoice-report"},nB={class:"section items-section"},sB={class:"flex-start"},iB=Je(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),cB=["innerHTML"],dB={class:"flex-space"},rB={class:"invoice-item"},mB={key:0,class:"invoice-item"},pB=Je(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),hB=Je(()=>e.createElementVNode("td",null,"NO.",-1)),_B=["colspan"],EB=Je(()=>e.createElementVNode("td",null,"Amounts",-1)),yB=["colspan"],NB=["colspan"],VB=[Je(()=>e.createElementVNode("span",null,"Total in USD",-1))],fB={class:"total"},bB=["colspan"],xB=[Je(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],gB={class:"total"},DB=["colspan"],kB={class:"total"},CB={key:1},SB=["colspan"],BB=[Je(()=>e.createElementVNode("span",null,"Total in USD",-1))],wB={class:"total"},AB={key:0,class:"memo-block"},TB=Je(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),FB=["innerHTML"],OB={class:"section company-section"},PB=Je(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"Bank Information",-1)),LB={class:"company-item"},WB=Je(()=>e.createElementVNode("label",null,"Bank",-1)),HB={class:"company-item"},$B=Je(()=>e.createElementVNode("label",null,"Account",-1)),MB={class:"company-item"},IB=Je(()=>e.createElementVNode("label",null,"Title",-1)),GB={class:"company-item"},RB=Je(()=>e.createElementVNode("label",null,"Addr",-1)),zB={class:"company-item"},UB=Je(()=>e.createElementVNode("label",null,"Tel",-1)),YB={class:"company-item"},ZB=Je(()=>e.createElementVNode("label",null,"Tax ID",-1)),QB={class:"company-item"},JB=Je(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),KB={class:"company-item"},jB=Je(()=>e.createElementVNode("label",null,"Bank Name",-1)),uB={class:"company-item"},XB=Je(()=>e.createElementVNode("label",null,"Bank Address",-1)),qB={class:"company-item"},vB=Je(()=>e.createElementVNode("label",null,"Account No.",-1)),e8={class:"company-item"},t8=Je(()=>e.createElementVNode("label",null,"SWIFT",-1)),o8={class:"company-item"},l8=Je(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),a8={class:"company-item"},n8=Je(()=>e.createElementVNode("label",null,"SWIFT",-1)),s8={class:"company-item"},i8=Je(()=>e.createElementVNode("label",null,"ABA NO.",-1)),c8=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(t,s,l,r,a,n){var i,p,b,x,h,y,k,g,C,D,T,F,B,w,V,O,I,G,R,z,_,L,$,W,P,M,Q,U,J,ne,se,o,u,v,ee,te,oe,le,ie,ce,de,_e;const E=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",aB,[e.createVNode(E,{name:"INVOICE",issued:l.report.createdAt},null,8,["issued"]),e.createElementVNode("div",nB,[e.createElementVNode("div",sB,[iB,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(b=(p=(i=l.report)==null?void 0:i.invoiceTitle)==null?void 0:p.name)==null?void 0:b.replace(`
|
|
42
|
-
`,"<br/>")},null,8,
|
|
43
|
-
`,"<br/>")},null,8,FB)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",OB,[PB,((w=
|
|
44
|
-
`,"<br/>")},null,8,E8)]),e.createElementVNode("div",y8,[e.createElementVNode("div",N8,"Invoice No. "+e.toDisplayString(
|
|
45
|
-
`,"<br/>")},null,8,M8)])):e.createCommentVNode("",!0)])])}const Wn=Ce(r8,[["render",I8],["__scopeId","data-v-c269c41c"]]),G8={install(t){t.component("OrmInvoiceReport",Ln),t.component("FliInvoiceReport",Wn)}},R8=t=>((typeof t=="string"||typeof t=="number")&&(t=K(t)),t),z8=(t,s="MMM-DD,YYYY/HHmm[Z]")=>U8(t,s),U8=(t,s="MMM-DD/HHmm[Z]")=>(t=R8(t),t?`${t.utc().format(s)}`:"-"),vU="",Y8={name:"IdmEditableItem",components:{Edit:Ja.Edit,Close:Ja.Close,IdmEditor:Go},props:{width:{type:Number,default:80},disabled:{type:Boolean,default:!1},iconable:{type:Boolean,default:!0},type:{type:String,default:"input"},label:{type:String,default:""},value:{default:void 0},raw:{default:void 0},min:{type:Number},max:{type:Number},step:{type:Number},precision:{type:Number},controls:{type:Boolean,default:!1},size:{type:String,default:"default"},options:{type:Array,default:[]},radios:{type:Array,default:[]},checkboxs:{type:Array,default:[]},format:{type:String,default:"YYYY-MM-DD/HH:mm [Z]"},valueFormat:{type:String,default:"YYYY-MM-DDTHH:mm:00[Z]"},align:{type:String,default:"flex-start"}},data(){return{editable:!1,model:void 0}},computed:{computeUtcTime(){return function(t,s){return z8(t,s)}}},methods:{handleEdit(){this.disabled||(this.editable=!0,this.model=this.raw??this.value)},handleCancel(){this.editable=!1,this.model=void 0},handleSwitch(){this.model=!this.model,this.handleCommit()},handleCommit(){this.$nextTick(()=>{this.editable=!1}),this.model!==(this.raw??this.value)&&(typeof this.model=="boolean"||this.type==="alphanumeric"||this.type==="textarea"?this.$emit("commit",this.model):!isNaN(this.model)&&Number(this.model)!==1/0?this.$emit("commit",Number(this.model)):this.$emit("commit",this.model))},fetchSelectOptions(t){this.$emit("select",t)}}},Z8={class:"idm-editable-item"},Q8=["innerHTML"],J8={key:3,class:"buttons"};function K8(t,s,l,r,a,n){const E=e.resolveComponent("ElTag"),i=e.resolveComponent("ElInput"),p=e.resolveComponent("IdmEditor"),b=e.resolveComponent("ElInputNumber"),x=e.resolveComponent("ElDatePicker"),h=e.resolveComponent("ElOption"),y=e.resolveComponent("ElSelect"),k=e.resolveComponent("ElRadio"),g=e.resolveComponent("ElRadioGroup"),C=e.resolveComponent("ElCheckbox"),D=e.resolveComponent("ElCheckboxGroup"),T=e.resolveComponent("Edit"),F=e.resolveComponent("ElIcon"),B=e.resolveComponent("ElButton"),w=e.resolveComponent("Close");return e.openBlock(),e.createElementBlock("div",Z8,[e.createElementVNode("div",{class:"group",style:e.normalizeStyle({justifyContent:l.align})},[l.label?(e.openBlock(),e.createElementBlock("label",{key:0,style:e.normalizeStyle({width:l.width+"px"})},e.toDisplayString(l.label),5)):e.createCommentVNode("",!0),a.editable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[l.type==="input"?(e.openBlock(),e.createBlock(i,{key:0,modelValue:a.model,"onUpdate:modelValue":s[2]||(s[2]=V=>a.model=V),size:l.size,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),l.type==="alphanumeric"?(e.openBlock(),e.createBlock(i,{key:1,modelValue:a.model,"onUpdate:modelValue":s[3]||(s[3]=V=>a.model=V),size:l.size,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),l.type==="textarea"?(e.openBlock(),e.createBlock(i,{key:2,modelValue:a.model,"onUpdate:modelValue":s[4]||(s[4]=V=>a.model=V),size:l.size,type:"textarea",rows:4,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),l.type==="richText"?(e.openBlock(),e.createBlock(p,{key:3,modelValue:a.model,"onUpdate:modelValue":s[5]||(s[5]=V=>a.model=V),onBlur:n.handleCommit},null,8,["modelValue","onBlur"])):e.createCommentVNode("",!0),l.type==="number"?(e.openBlock(),e.createBlock(b,{key:4,modelValue:a.model,"onUpdate:modelValue":s[6]||(s[6]=V=>a.model=V),size:l.size,controls:l.controls,min:l.min,max:l.max,step:l.step,precision:l.precision,onBlur:n.handleCommit,onChange:n.handleCommit},null,8,["modelValue","size","controls","min","max","step","precision","onBlur","onChange"])):e.createCommentVNode("",!0),l.type==="datetime"?(e.openBlock(),e.createBlock(x,{key:5,modelValue:a.model,"onUpdate:modelValue":s[7]||(s[7]=V=>a.model=V),size:l.size,type:"datetime",class:"datetime",format:l.format,"value-format":l.valueFormat,onBlur:n.handleCommit},null,8,["modelValue","size","format","value-format","onBlur"])):e.createCommentVNode("",!0),l.type==="select"?(e.openBlock(),e.createBlock(y,{key:6,modelValue:a.model,"onUpdate:modelValue":s[8]||(s[8]=V=>a.model=V),size:l.size,filterable:"",style:{width:"100%"},mini:"",onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.options,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),l.type==="remoteSelect"?(e.openBlock(),e.createBlock(y,{key:7,modelValue:a.model,"onUpdate:modelValue":s[9]||(s[9]=V=>a.model=V),size:l.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":n.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.options,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),l.type==="remotePortSelect"?(e.openBlock(),e.createBlock(y,{key:8,modelValue:a.model,"onUpdate:modelValue":s[10]||(s[10]=V=>a.model=V),size:l.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":n.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.options,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),l.type==="radio"?(e.openBlock(),e.createBlock(g,{key:9,modelValue:a.model,"onUpdate:modelValue":s[11]||(s[11]=V=>a.model=V),size:l.size,style:{width:"100%"},onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.radios,V=>(e.openBlock(),e.createBlock(k,{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),l.type==="checkbox"?(e.openBlock(),e.createBlock(D,{key:10,modelValue:a.model,"onUpdate:modelValue":s[12]||(s[12]=V=>a.model=V),size:l.size,class:"checkbox",style:{width:"100%"},onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.checkboxs,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 l.raw=="boolean"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[l.raw?(e.openBlock(),e.createBlock(E,{key:0,size:"small",type:"success",style:{margin:"0",cursor:"pointer"},onDblclick:n.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value),1)]),_:1},8,["onDblclick"])):(e.openBlock(),e.createBlock(E,{key:1,size:"small",type:"info",style:{cursor:"pointer"},onDblclick:n.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value),1)]),_:1},8,["onDblclick"]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[l.type==="datetime"?(e.openBlock(),e.createElementBlock("span",{key:0,onDblclick:s[0]||(s[0]=(...V)=>n.handleEdit&&n.handleEdit(...V))},e.toDisplayString(n.computeUtcTime(l.value,l.format)),33)):l.type==="richText"?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:l.value||""},null,8,Q8)):(e.openBlock(),e.createElementBlock("span",{key:2,onDblclick:s[1]||(s[1]=(...V)=>n.handleEdit&&n.handleEdit(...V))},[typeof l.value=="number"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(l.value),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(l.value||"-"),1)],64))],32))],64))],64)),!l.disabled&&l.iconable&&typeof l.raw!="boolean"?(e.openBlock(),e.createElementBlock("div",J8,[a.editable?(e.openBlock(),e.createBlock(B,{key:1,size:l.size,type:"danger",link:"",style:{display:"block"},onClick:n.handleCancel},{default:e.withCtx(()=>[e.createVNode(F,null,{default:e.withCtx(()=>[e.createVNode(w)]),_:1})]),_:1},8,["size","onClick"])):(e.openBlock(),e.createBlock(B,{key:0,size:l.size,link:"",onClick:n.handleEdit},{default:e.withCtx(()=>[e.createVNode(F,null,{default:e.withCtx(()=>[e.createVNode(T)]),_:1})]),_:1},8,["size","onClick"]))])):e.createCommentVNode("",!0)],4)])}const Hn=Ce(Y8,[["render",K8]]),eY="",j8={name:"OrmDeviation",components:{CirclePlus:Ja.CirclePlus,Remove:Ja.Remove,EditableItem:Hn,Editor:Go,IdmBrand:Io},props:{report:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe.idmwx.com"},token:{type:String,default:void 0}},data(){return{extraData:void 0,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},remarks:void 0,editable:!1,id:void 0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${K(t).utc().format(s)}`:"-"}},computedLngLat(){return function(t,s){return`${ae.LngLatHelper.lat2pretty(t).pretty} / ${ae.LngLatHelper.lng2pretty(s).pretty}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(t){t&&(this.fetchData(),this.fetchSuggestName())},immediate:!0}},methods:{fetchData(){var t,s,l,r;this.extraData=this.report,this.extraPortList=(t=this.report)!=null&&t.extraPorts?(s=this.report)==null?void 0:s.extraPorts:[],this.advisory=(l=this.report)!=null&&l.comments?(r=this.report)==null?void 0:r.comments:void 0,this.id=this.report.id},async fetchSuggestName(t){var l;const s=await Qa.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(l=s==null?void 0:s.data)==null?void 0:l.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var l,r,a,n,E;this.extraPortList.splice(t,1);const s=await Qa.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(l=s==null?void 0:s.data)==null?void 0:l.data,this.extraPortList=(a=(r=s==null?void 0:s.data)==null?void 0:r.data)==null?void 0:a.extraPorts,this.advisory=(n=this.report)!=null&&n.comments?(E=this.report)==null?void 0:E.comments:void 0},decideDisable(){this.editable=!this.editable},async handleCommit(t,s,l,r){var E,i,p,b,x;this.editable=!1;const a=s.indexOf(".");let n={};if((l||l==0)&&l!=""){if(t==="port"){if(a>0){const y=s.substring(0,a),k=s.substring(a+1);k!=="date"&&(l=Number(l)),this.extraPortList[r][y][k]=l}else this.extraPortList[r][s]=l;n={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[s]=l,n={[s]:l}):(this.extraData[s]=l,n={[s]:Number(l)});const h=await Qa.put(`${this.gateway}/api/als/deviations/${this.id}`,n,{headers:{Authorization:this.token}});this.extraData=(E=h==null?void 0:h.data)==null?void 0:E.data,this.extraPortList=(p=(i=h==null?void 0:h.data)==null?void 0:i.data)==null?void 0:p.extraPorts,this.advisory=(b=this.report)!=null&&b.comments?(x=this.report)==null?void 0:x.comments:void 0}else Sn.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},f=t=>(e.pushScopeId("data-v-8a901bb5"),t=t(),e.popScopeId(),t),u8={class:"deviation-report"},X8={class:"content-box"},q8={class:"info-box border-dashed"},v8={class:"flex-between row"},e9={class:"flex-between",style:{width:"48%"}},t9=f(()=>e.createElementVNode("label",{class:"label"},"Prepared For:",-1)),o9={class:"flex-between",style:{width:"48%"}},l9=f(()=>e.createElementVNode("label",{class:"label"},"Departure Port:",-1)),a9={style:{"margin-left":"5px"}},n9={class:"flex-between row"},s9={class:"flex-between",style:{width:"48%"}},i9=f(()=>e.createElementVNode("label",{class:"label"},"Vessel:",-1)),c9={class:"flex-between",style:{width:"48%"}},d9=f(()=>e.createElementVNode("label",{class:"label"},"Arrival Port:",-1)),r9={style:{"margin-left":"5px"}},m9={class:"flex-between row"},p9={class:"flex-between",style:{width:"48%"}},h9=f(()=>e.createElementVNode("label",{class:"label"},"Voyage No:",-1)),_9={class:"flex-between",style:{width:"48%"}},E9=f(()=>e.createElementVNode("label",{class:"label"},"Load Condition:",-1)),y9={class:"section summary-section"},N9=f(()=>e.createElementVNode("div",{class:"subtitle"},"Summary",-1)),V9={class:"border-solid"},f9={class:"cp"},b9={class:"flex-between",style:{padding:"6px 0"}},x9={style:{"margin-left":"5px"}},g9={style:{"margin-left":"5px"}},D9=f(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"CP"),e.createElementVNode("th",{class:"label"},"Speed (kts)"),e.createElementVNode("th",{class:"label"},"Daily FO Consumption (mt)"),e.createElementVNode("th",{class:"label"},"Daily MGO Consumption (mt)")])],-1)),k9=f(()=>e.createElementVNode("td",null,"cp",-1)),C9={key:0},S9={key:0},B9={key:1},w9={key:0},A9={key:0},T9={key:1},F9={key:0},O9={key:0},P9={key:1},L9={class:"summary-block flex-between"},W9={class:"item"},H9=f(()=>e.createElementVNode("div",{class:"title"},"Extra Distance",-1)),$9={class:"value flex-end"},M9={key:0},I9=f(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),G9={class:"gain"},R9=f(()=>e.createElementVNode("span",{class:"unit"},"nm",-1)),z9={key:1},U9=f(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Y9={class:"lost"},Z9=f(()=>e.createElementVNode("span",{class:"unit"},"nm",-1)),Q9={key:2},J9={class:"item"},K9=f(()=>e.createElementVNode("div",{class:"title"},"Total extra Time",-1)),j9={class:"value flex-end"},u9={key:0},X9=f(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),q9={class:"gain"},v9=f(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),e6={key:1},t6=f(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),o6={class:"lost"},l6=f(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),a6={key:2},n6={class:"item"},s6=f(()=>e.createElementVNode("div",{class:"title"},"FO Total extra Consumption",-1)),i6={class:"value flex-end"},c6={key:0},d6=f(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),r6={class:"gain"},m6=f(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),p6={key:1},h6=f(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),_6={class:"lost"},E6=f(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),y6={key:2},N6={class:"item"},V6=f(()=>e.createElementVNode("div",{class:"title"},"MGO Total extra Consumption",-1)),f6={class:"value flex-end"},b6={key:0},x6=f(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),g6={class:"gain"},D6=f(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),k6={key:1},C6=f(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),S6={class:"lost"},B6=f(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),w6={key:2},A6=f(()=>e.createElementVNode("div",{class:"subtitle"},"Remarks",-1)),T6={class:"section-content"},F6={key:0,class:""},O6=["innerHTML"],P6={key:1},L6={class:"section deviation-info-section"},W6=f(()=>e.createElementVNode("div",{class:"flex-between"},[e.createElementVNode("div",{class:"subtitle"},"Deviation Info Information")],-1)),H6={key:0},$6=f(()=>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)),M6=f(()=>e.createElementVNode("td",null,"Deviation Start",-1)),I6=f(()=>e.createElementVNode("td",null,null,-1)),G6=f(()=>e.createElementVNode("td",null,null,-1)),R6=f(()=>e.createElementVNode("td",null,"Back on Track",-1)),z6={key:1},U6=f(()=>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)),Y6=f(()=>e.createElementVNode("td",null,"Deviation Start",-1)),Z6=f(()=>e.createElementVNode("td",null,"Back on Track",-1)),Q6={key:0,class:"section extra-port-section"},J6={class:"flex-between"},K6=f(()=>e.createElementVNode("div",{class:"subtitle"},"Extra Port Information",-1)),j6=f(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Extra Port",-1)),u6=f(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Event",-1)),X6=f(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Date Time",-1)),q6=f(()=>e.createElementVNode("th",{colspan:2,class:"label"},"BROB (mt)",-1)),v6=f(()=>e.createElementVNode("th",{colspan:2,class:"label"},"Bunkering (mt)",-1)),ew={key:0,rowspan:2,class:"print-hidden label"},tw=f(()=>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)),ow={rowspan:2},lw=f(()=>e.createElementVNode("td",null,"Arrival",-1)),aw=f(()=>e.createElementVNode("td",null,null,-1)),nw=f(()=>e.createElementVNode("td",null,null,-1)),sw={rowspan:2,class:"print-hidden"},iw=f(()=>e.createElementVNode("td",null,"Departure",-1)),cw=f(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),dw=f(()=>e.createElementVNode("td",null,null,-1)),rw=f(()=>e.createElementVNode("td",null,null,-1)),mw=f(()=>e.createElementVNode("td",null,null,-1)),pw={key:0,class:"print-hidden"},hw={class:"section time-cons-section"},_w=f(()=>e.createElementVNode("div",{class:"subtitle"},"Time and Consumption Caculation",-1)),Ew=f(()=>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)),yw={class:"time-block flex-between border-dashed"},Nw={key:0,class:"formula-block"},Vw={class:"flex-start"},fw=e.createStaticVNode('<div class="fraction flex-center" data-v-8a901bb5>Time for extra distance sailing</div><div class="sig" data-v-8a901bb5>=</div><div class="fraction flex-center" data-v-8a901bb5><div class="content" data-v-8a901bb5><div data-v-8a901bb5>Deviation Distance</div><div class="line" data-v-8a901bb5></div><div data-v-8a901bb5>CP Speed</div></div></div><div class="sig" data-v-8a901bb5>=</div>',4),bw={class:"fraction flex-center"},xw={class:"content"},gw=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),Dw=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),kw={class:"fraction flex-center"},Cw={class:"flex-start"},Sw=e.createStaticVNode('<div class="fraction flex-center" data-v-8a901bb5>Total extra Time</div><div class="sig" data-v-8a901bb5>=</div><div class="fraction flex-center" data-v-8a901bb5>Time for extra distance sailing</div><div class="sig" data-v-8a901bb5>+</div><div class="fraction flex-center" data-v-8a901bb5>Time spent in extra port</div><div class="sig" data-v-8a901bb5>=</div>',6),Bw={class:"fraction flex-center"},ww=f(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),Aw={class:"fraction flex-center"},Tw=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Fw={class:"fraction flex-center"},Ow={key:1,class:"formula-block"},Pw={class:"flex-start"},Lw=e.createStaticVNode('<div class="fraction flex-center" data-v-8a901bb5>Time for Route prior to deviation sailing</div><div class="sig" data-v-8a901bb5>=</div><div class="fraction flex-center" data-v-8a901bb5><div class="content" data-v-8a901bb5><div data-v-8a901bb5>Distance</div><div class="line" data-v-8a901bb5></div><div data-v-8a901bb5>CP Speed</div></div></div><div class="sig" data-v-8a901bb5>=</div>',4),Ww={class:"fraction flex-center"},Hw={class:"content"},$w=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),Mw=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Iw={class:"fraction flex-center"},Gw=f(()=>e.createElementVNode("div",{class:"sig"},null,-1)),Rw=f(()=>e.createElementVNode("div",{class:"fraction flex-center"},null,-1)),zw={class:"flex-start"},Uw=e.createStaticVNode('<div class="fraction flex-center" data-v-8a901bb5>Total extra Time</div><div class="sig" data-v-8a901bb5>=</div><div class="fraction flex-center" data-v-8a901bb5>Time for Actual Route</div><div class="sig" data-v-8a901bb5>-</div><div class="fraction flex-center" data-v-8a901bb5>Time for Route prior to deviation sailing</div><div class="sig" data-v-8a901bb5>=</div>',6),Yw={class:"fraction flex-center"},Zw=f(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),Qw={class:"fraction flex-center"},Jw=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Kw={class:"fraction flex-center"},jw={class:"fuel-block flex-between border-dashed"},uw={key:0,class:"formula-block"},Xw={class:"flex-start"},qw=e.createStaticVNode('<div class="fraction flex-center" data-v-8a901bb5>FO Consumption for extra distance sailing</div><div class="sig" data-v-8a901bb5>=</div><div class="fraction flex-center" data-v-8a901bb5><div class="content" data-v-8a901bb5><div data-v-8a901bb5>Deviation Distance</div><div class="line" data-v-8a901bb5></div><div data-v-8a901bb5>CP Speed</div></div></div><div class="sig" data-v-8a901bb5>x</div><div class="fraction flex-center" data-v-8a901bb5><div class="content" data-v-8a901bb5><div data-v-8a901bb5>Daily FO Consumption</div><div class="line" data-v-8a901bb5></div><div data-v-8a901bb5>24</div></div></div><div class="sig" data-v-8a901bb5>=</div>',6),vw={class:"fraction flex-center"},e7={class:"content"},t7=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),o7=f(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),l7={class:"fraction flex-center"},a7={class:"content"},n7=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),s7=f(()=>e.createElementVNode("div",null,"24",-1)),i7=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),c7={class:"fraction flex-center"},d7={class:"flex-start"},r7=e.createStaticVNode('<div class="fraction flex-center" data-v-8a901bb5>FO Total Extra Consumption</div><div class="sig" data-v-8a901bb5>=</div><div class="fraction flex-center" data-v-8a901bb5>FO Consumption for extra distance sailing</div><div class="sig" data-v-8a901bb5>+</div><div class="fraction flex-center" data-v-8a901bb5>FO Consumption in extra port</div><div class="sig" data-v-8a901bb5>=</div>',6),m7={class:"fraction flex-center"},p7=f(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),h7={class:"fraction flex-center"},_7=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),E7={class:"fraction flex-center"},y7={class:"flex-start"},N7=e.createStaticVNode('<div class="fraction flex-center" data-v-8a901bb5>MGO Consumption for extra distance sailing</div><div class="sig" data-v-8a901bb5>=</div><div class="fraction flex-center" data-v-8a901bb5><div class="content" data-v-8a901bb5><div data-v-8a901bb5>Deviation Distance</div><div class="line" data-v-8a901bb5></div><div data-v-8a901bb5>CP Speed</div></div></div><div class="sig" data-v-8a901bb5>x</div><div class="fraction flex-center" data-v-8a901bb5><div class="content" data-v-8a901bb5><div data-v-8a901bb5>Daily MGO Consumption</div><div class="line" data-v-8a901bb5></div><div data-v-8a901bb5>24</div></div></div><div class="sig" data-v-8a901bb5>=</div>',6),V7={class:"fraction flex-center"},f7={class:"content"},b7=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),x7=f(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),g7={class:"fraction flex-center"},D7={class:"content"},k7=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),C7=f(()=>e.createElementVNode("div",null,"24",-1)),S7=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),B7={class:"fraction flex-center"},w7={class:"flex-start"},A7=e.createStaticVNode('<div class="fraction flex-center" data-v-8a901bb5>MGO Total Extra Consumption</div><div class="sig" data-v-8a901bb5>=</div><div class="fraction flex-center" data-v-8a901bb5>MGO Consumption for extra distance sailing</div><div class="sig" data-v-8a901bb5>+</div><div class="fraction flex-center" data-v-8a901bb5>MGO Consumption in extra port</div><div class="sig" data-v-8a901bb5>=</div>',6),T7={class:"fraction flex-center"},F7=f(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),O7={class:"fraction flex-center"},P7=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),L7={class:"fraction flex-center"},W7={key:1,class:"formula-block"},H7={class:"flex-start"},$7=e.createStaticVNode('<div class="fraction flex-center" data-v-8a901bb5>FO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-8a901bb5>=</div><div class="fraction flex-center" data-v-8a901bb5><div class="content" data-v-8a901bb5><div data-v-8a901bb5>Route prior to deviation Distance</div><div class="line" data-v-8a901bb5></div><div data-v-8a901bb5>CP Speed</div></div></div><div class="sig" data-v-8a901bb5>x</div><div class="fraction flex-center" data-v-8a901bb5><div class="content" data-v-8a901bb5><div data-v-8a901bb5>CP Daily FO Consumption</div><div class="line" data-v-8a901bb5></div><div data-v-8a901bb5>24</div></div></div><div class="sig" data-v-8a901bb5>=</div>',6),M7={class:"fraction flex-center"},I7={class:"content"},G7=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),R7=f(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),z7={class:"fraction flex-center"},U7={class:"content"},Y7=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),Z7=f(()=>e.createElementVNode("div",null,"24",-1)),Q7=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),J7={class:"fraction flex-center"},K7={class:"flex-start"},j7=e.createStaticVNode('<div class="fraction flex-center" data-v-8a901bb5>FO Total Extra Consumption</div><div class="sig" data-v-8a901bb5>=</div><div class="fraction flex-center" data-v-8a901bb5>FO Consumption for Actual Route</div><div class="sig" data-v-8a901bb5>-</div><div class="fraction flex-center" data-v-8a901bb5>FO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-8a901bb5>=</div>',6),u7={class:"fraction flex-center"},X7=f(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),q7={class:"fraction flex-center"},v7=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),eA={class:"fraction flex-center"},tA={class:"flex-start"},oA=e.createStaticVNode('<div class="fraction flex-center" data-v-8a901bb5>MGO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-8a901bb5>=</div><div class="fraction flex-center" data-v-8a901bb5><div class="content" data-v-8a901bb5><div data-v-8a901bb5>Route prior to deviation Distance</div><div class="line" data-v-8a901bb5></div><div data-v-8a901bb5>CP Speed</div></div></div><div class="sig" data-v-8a901bb5>x</div><div class="fraction flex-center" data-v-8a901bb5><div class="content" data-v-8a901bb5><div data-v-8a901bb5>CP Daily MGO Consumption</div><div class="line" data-v-8a901bb5></div><div data-v-8a901bb5>24</div></div></div><div class="sig" data-v-8a901bb5>=</div>',6),lA={class:"fraction flex-center"},aA={class:"content"},nA=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),sA=f(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),iA={class:"fraction flex-center"},cA={class:"content"},dA=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),rA=f(()=>e.createElementVNode("div",null,"24",-1)),mA=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),pA={class:"fraction flex-center"},hA={class:"flex-start"},_A=e.createStaticVNode('<div class="fraction flex-center" data-v-8a901bb5>MGO Total Extra Consumption</div><div class="sig" data-v-8a901bb5>=</div><div class="fraction flex-center" data-v-8a901bb5>MGO Consumption for Actual Route</div><div class="sig" data-v-8a901bb5>-</div><div class="fraction flex-center" data-v-8a901bb5>MGO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-8a901bb5>=</div>',6),EA={class:"fraction flex-center"},yA=f(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),NA={class:"fraction flex-center"},VA=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),fA={class:"fraction flex-center"},bA={class:"flex-between",style:{"align-items":"flex-start"}},xA={style:{flex:"1","margin-right":"20px"}},gA={key:0},DA=f(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:2,class:"label"},"Time Analysis")])],-1)),kA=f(()=>e.createElementVNode("td",{class:"text-align-left"},"Time for extra distance sailing (hrs)",-1)),CA=f(()=>e.createElementVNode("td",{class:"text-align-left"},"Time spent in extra port (hrs)",-1)),SA=f(()=>e.createElementVNode("td",{class:"text-align-left"},"Total extra Time (hrs)",-1)),BA={key:1},wA=f(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:2,class:"label"},"Time Analysis")])],-1)),AA=f(()=>e.createElementVNode("td",{class:"text-align-left"},"Time for Route prior to deviation sailing (hrs)",-1)),TA=f(()=>e.createElementVNode("td",{class:"text-align-left"},"Time for Actual Route (hrs)",-1)),FA=f(()=>e.createElementVNode("td",{class:"text-align-left"},"Total extra Time (hrs)",-1)),OA={style:{flex:"1"}},PA={key:0},LA=f(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:2,class:"label"},"Consumption Analysis")])],-1)),WA=f(()=>e.createElementVNode("td",{class:"text-align-left"},"FO Consumption for extra distance sailing (mt)",-1)),HA=f(()=>e.createElementVNode("td",{class:"text-align-left"},"FO Total extra Consumption (mt)",-1)),$A=f(()=>e.createElementVNode("td",{class:"text-align-left"},"MGO Consumption for extra distance sailing (mt)",-1)),MA=f(()=>e.createElementVNode("td",{class:"text-align-left"},"MGO Total extra Consumption (mt)",-1)),IA={key:1},GA=f(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:2,class:"label"},"Consumption Analysis")])],-1)),RA=f(()=>e.createElementVNode("td",{class:"text-align-left"},"FO Consumption for Route prior to deviation sailing (mt)",-1)),zA=f(()=>e.createElementVNode("td",{class:"text-align-left"},"FO Total extra Consumption (mt)",-1)),UA=f(()=>e.createElementVNode("td",{class:"text-align-left"},"MGO Consumption for Route prior to deviation sailing (mt)",-1)),YA=f(()=>e.createElementVNode("td",{class:"text-align-left"},"MGO Total extra Consumption (mt)",-1)),ZA={class:"section map-section"},QA=f(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),JA={class:"report-map"},KA=["src"],jA=e.createStaticVNode('<div class="legend" data-v-8a901bb5><div class="legend-item" data-v-8a901bb5><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-8a901bb5></div><div data-v-8a901bb5>Actual Route</div></div><div class="legend-item" data-v-8a901bb5><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-8a901bb5></div><div data-v-8a901bb5>Route prior to deviation</div></div></div>',1);function uA(t,s,l,r,a,n){var x,h,y,k,g,C,D,T,F,B,w,V,O,I,G,R,z,_,L,$,W,P,M,Q,U,J,ne,se,o,u,v,ee,te,oe,le,ie,ce,de,_e,X,me,Ee,ye,re,fe,be,xe,ge,De,ke,Te,Fe,Oe,Pe,Le,We,He,$e,Ne,Ke,je,ue,A,Se,Ge,Xe,qe,ve,et,tt,m,H,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,xt,gt,Dt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,io,co,ro,mo,po,ho,_o,Eo,S,Ie,at,nt,ht,Lt,Wt,Ht,$t,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,ut,Xt,qt,vt,eo,to,oo,lo,yo,No,Vo,fo,bo,xo,go,Do,ko,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,Ho,$o,Ro,zo,Uo,Yo,Zo,Qo,Jo,Ko,jo,uo,Xo,qo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,st,pl,El,yl,Nl,Vl,fl,bl,xl,gl,Dl,kl,Cl,Sl,Bl,wl,Al,Tl,Fl,Ol,Pl,Ll,Wl,Hl,$l,Ml,Il,Gl,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,jl,ul,Xl,ql,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ba,xa,ga,Da,ka,Ca,Sa,Ba,wa,Aa,Ta,Fa,Oa,Pa,La,Wa,Ha,$a,Z,ao,Ma,Ia,Ga,Ra,za,Ua,Ya,Za,Qe,qa,va,en,tn,on,ln,an,nn,sn,cn,dn,rn,mn,pn,hn,_n;const E=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor"),p=e.resolveComponent("EditableItem"),b=e.resolveComponent("ElButton");return e.openBlock(),e.createElementBlock("div",u8,[e.createVNode(E,{name:"Voyage Deviation Report"}),e.createElementVNode("div",X8,[e.createElementVNode("div",q8,[e.createElementVNode("div",v8,[e.createElementVNode("div",e9,[t9,e.createElementVNode("div",null,e.toDisplayString((x=a.extraData)==null?void 0:x.preparedFor),1)]),e.createElementVNode("div",o9,[l9,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((y=(h=a.extraData)==null?void 0:h.departure)==null?void 0:y.name),1),e.createTextVNode(" , "),e.createElementVNode("span",a9,e.toDisplayString(n.computeUTCTime(((g=(k=a.extraData)==null?void 0:k.departure)==null?void 0:g.atd)||((D=(C=a.extraData)==null?void 0:C.departure)==null?void 0:D.etd))),1)])])]),e.createElementVNode("div",n9,[e.createElementVNode("div",s9,[i9,e.createElementVNode("div",null,e.toDisplayString((F=(T=a.extraData)==null?void 0:T.vessel)==null?void 0:F.name),1)]),e.createElementVNode("div",c9,[d9,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((w=(B=a.extraData)==null?void 0:B.arrival)==null?void 0:w.name),1),e.createTextVNode(" , "),e.createElementVNode("span",r9,e.toDisplayString(n.computeUTCTime(((O=(V=a.extraData)==null?void 0:V.arrival)==null?void 0:O.ata)||((G=(I=a.extraData)==null?void 0:I.arrival)==null?void 0:G.eta))),1)])])]),e.createElementVNode("div",m9,[e.createElementVNode("div",p9,[h9,e.createElementVNode("div",null,e.toDisplayString((z=(R=a.extraData)==null?void 0:R.voyage)==null?void 0:z.number),1)]),e.createElementVNode("div",_9,[E9,e.createElementVNode("div",null,e.toDisplayString((L=(_=a.extraData)==null?void 0:_.voyage)==null?void 0:L.loadCondition),1)])])]),e.createElementVNode("div",y9,[N9,e.createElementVNode("div",V9,[e.createElementVNode("div",f9,[e.createElementVNode("div",b9,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((W=($=a.extraData)==null?void 0:$.departure)==null?void 0:W.name),1),e.createElementVNode("span",x9,"( "+e.toDisplayString(n.computeUTCTime(((M=(P=a.extraData)==null?void 0:P.departure)==null?void 0:M.atd)||((U=(Q=a.extraData)==null?void 0:Q.departure)==null?void 0:U.etd)))+" )",1)]),e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((ne=(J=a.extraData)==null?void 0:J.arrival)==null?void 0:ne.name),1),e.createElementVNode("span",g9,"( "+e.toDisplayString(n.computeUTCTime(((o=(se=a.extraData)==null?void 0:se.arrival)==null?void 0:o.ata)||((v=(u=a.extraData)==null?void 0:u.arrival)==null?void 0:v.eta)))+" )",1)])]),e.createElementVNode("table",null,[D9,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[k9,e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(((te=(ee=a.extraData)==null?void 0:ee.extend)==null?void 0:te.cpSpd)??"—"),1),a.extraData.useWeather?(e.openBlock(),e.createElementBlock("span",C9,[e.createTextVNode(" | "),(ie=(le=(oe=a.extraData)==null?void 0:oe.extend)==null?void 0:le.spdAbt)!=null&&ie.spdPercentage?(e.openBlock(),e.createElementBlock("span",S9,"+"+e.toDisplayString((_e=(de=(ce=a.extraData)==null?void 0:ce.extend)==null?void 0:de.spdAbt)==null?void 0:_e.spdOfOver)+"% , -"+e.toDisplayString((Ee=(me=(X=a.extraData)==null?void 0:X.extend)==null?void 0:me.spdAbt)==null?void 0:Ee.spdOfUnder)+"%",1)):(e.openBlock(),e.createElementBlock("span",B9,"+"+e.toDisplayString((fe=(re=(ye=a.extraData)==null?void 0:ye.extend)==null?void 0:re.spdAbt)==null?void 0:fe.abt4SpdOver)+" , -"+e.toDisplayString((ge=(xe=(be=a.extraData)==null?void 0:be.extend)==null?void 0:xe.spdAbt)==null?void 0:ge.abt4SpdUnder),1))])):e.createCommentVNode("",!0)]),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(((ke=(De=a.extraData)==null?void 0:De.extend)==null?void 0:ke.cpFoCons)??"—"),1),a.extraData.useWeather?(e.openBlock(),e.createElementBlock("span",w9,[e.createTextVNode(" | "),(Oe=(Fe=(Te=a.extraData)==null?void 0:Te.extend)==null?void 0:Fe.foAbtCons)!=null&&Oe.percentage?(e.openBlock(),e.createElementBlock("span",A9,"+"+e.toDisplayString((We=(Le=(Pe=a.extraData)==null?void 0:Pe.extend)==null?void 0:Le.foAbtCons)==null?void 0:We.over)+"% , -"+e.toDisplayString((Ne=($e=(He=a.extraData)==null?void 0:He.extend)==null?void 0:$e.foAbtCons)==null?void 0:Ne.under)+"%",1)):(e.openBlock(),e.createElementBlock("span",T9,"+"+e.toDisplayString((ue=(je=(Ke=a.extraData)==null?void 0:Ke.extend)==null?void 0:je.foAbtCons)==null?void 0:ue.overTolerance)+" , -"+e.toDisplayString((Ge=(Se=(A=a.extraData)==null?void 0:A.extend)==null?void 0:Se.foAbtCons)==null?void 0:Ge.underTolerance),1))])):e.createCommentVNode("",!0)]),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(((qe=(Xe=a.extraData)==null?void 0:Xe.extend)==null?void 0:qe.cpDgoCons)??"—"),1),a.extraData.useWeather?(e.openBlock(),e.createElementBlock("span",F9,[e.createTextVNode(" | "),(tt=(et=(ve=a.extraData)==null?void 0:ve.extend)==null?void 0:et.dgoAbtCons)!=null&&tt.percentage?(e.openBlock(),e.createElementBlock("span",O9,"+"+e.toDisplayString((Be=(H=(m=a.extraData)==null?void 0:m.extend)==null?void 0:H.dgoAbtCons)==null?void 0:Be.over)+"% , -"+e.toDisplayString((pe=(Re=(Me=a.extraData)==null?void 0:Me.extend)==null?void 0:Re.dgoAbtCons)==null?void 0:pe.under)+"%",1)):(e.openBlock(),e.createElementBlock("span",P9,"+"+e.toDisplayString((lt=(ot=(Ue=a.extraData)==null?void 0:Ue.extend)==null?void 0:ot.dgoAbtCons)==null?void 0:lt.overTolerance)+" , -"+e.toDisplayString((mt=(rt=(dt=a.extraData)==null?void 0:dt.extend)==null?void 0:rt.dgoAbtCons)==null?void 0:mt.underTolerance),1))])):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",L9,[e.createElementVNode("div",W9,[H9,e.createElementVNode("div",$9,[((pt=a.extraData)==null?void 0:pt.extraDist)<0?(e.openBlock(),e.createElementBlock("div",M9,[I9,e.createElementVNode("span",G9,e.toDisplayString(Math.abs((_t=a.extraData)==null?void 0:_t.extraDist)),1),R9])):((Et=a.extraData)==null?void 0:Et.extraDist)>=0?(e.openBlock(),e.createElementBlock("div",z9,[U9,e.createElementVNode("span",Y9,e.toDisplayString(Math.abs((yt=a.extraData)==null?void 0:yt.extraDist)),1),Z9])):(e.openBlock(),e.createElementBlock("div",Q9,"N/A"))])]),e.createElementVNode("div",J9,[K9,e.createElementVNode("div",j9,[((Vt=(Nt=a.extraData)==null?void 0:Nt.timeAnalysis)==null?void 0:Vt.totalExtraTime)<0?(e.openBlock(),e.createElementBlock("div",u9,[X9,e.createElementVNode("span",q9,e.toDisplayString(Math.abs((bt=(ft=a.extraData)==null?void 0:ft.timeAnalysis)==null?void 0:bt.totalExtraTime)),1),v9])):((gt=(xt=a.extraData)==null?void 0:xt.timeAnalysis)==null?void 0:gt.totalExtraTime)>=0?(e.openBlock(),e.createElementBlock("div",e6,[t6,e.createElementVNode("span",o6,e.toDisplayString(Math.abs((kt=(Dt=a.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:kt.totalExtraTime)),1),l6])):(e.openBlock(),e.createElementBlock("div",a6,"N/A"))])]),e.createElementVNode("div",n6,[s6,e.createElementVNode("div",i6,[((Bt=(St=(Ct=a.extraData)==null?void 0:Ct.consAnalysis)==null?void 0:St.fo)==null?void 0:Bt.totalExtraCons)<0?(e.openBlock(),e.createElementBlock("div",c6,[d6,e.createElementVNode("span",r6,e.toDisplayString(Math.abs((Tt=(At=(wt=a.extraData)==null?void 0:wt.consAnalysis)==null?void 0:At.fo)==null?void 0:Tt.totalExtraCons)),1),m6])):((Pt=(Ot=(Ft=a.extraData)==null?void 0:Ft.consAnalysis)==null?void 0:Ot.fo)==null?void 0:Pt.totalExtraCons)>=0?(e.openBlock(),e.createElementBlock("div",p6,[h6,e.createElementVNode("span",_6,e.toDisplayString(Math.abs((io=(so=(no=a.extraData)==null?void 0:no.consAnalysis)==null?void 0:so.fo)==null?void 0:io.totalExtraCons)),1),E6])):(e.openBlock(),e.createElementBlock("div",y6,"N/A"))])]),e.createElementVNode("div",N6,[V6,e.createElementVNode("div",f6,[((mo=(ro=(co=a.extraData)==null?void 0:co.consAnalysis)==null?void 0:ro.dgo)==null?void 0:mo.totalExtraCons)<0?(e.openBlock(),e.createElementBlock("div",b6,[x6,e.createElementVNode("span",g6,e.toDisplayString(Math.abs((_o=(ho=(po=a.extraData)==null?void 0:po.consAnalysis)==null?void 0:ho.dgo)==null?void 0:_o.totalExtraCons)),1),D6])):((Ie=(S=(Eo=a.extraData)==null?void 0:Eo.consAnalysis)==null?void 0:S.dgo)==null?void 0:Ie.totalExtraCons)>=0?(e.openBlock(),e.createElementBlock("div",k6,[C6,e.createElementVNode("span",S6,e.toDisplayString(Math.abs((ht=(nt=(at=a.extraData)==null?void 0:at.consAnalysis)==null?void 0:nt.dgo)==null?void 0:ht.totalExtraCons)),1),B6])):(e.openBlock(),e.createElementBlock("div",w6,"N/A"))])])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(a.remarks)?"print-hidden":""])},[A6,e.createElementVNode("div",T6,[a.editable?(e.openBlock(),e.createElementBlock("div",F6,[a.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=j=>a.remarks=j),class:"editor",height:"80px",onBlur:s[1]||(s[1]=j=>n.handleCommit(j))},null,8,["modelValue"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-block",onDblclick:s[2]||(s[2]=j=>a.editable=!0)},[n.computeBlankHtml(a.remarks)?(e.openBlock(),e.createElementBlock("div",P6,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:a.remarks},null,8,O6))],32))])],2),e.createElementVNode("div",L6,[W6,((Lt=l.report)==null?void 0:Lt.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("table",H6,[$6,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[M6,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((Wt=a.extraData)==null?void 0:Wt.startLat,(Ht=a.extraData)==null?void 0:Ht.startLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime(($t=a.extraData)==null?void 0:$t.startTime)),1),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Mt=a.extraData)==null?void 0:Mt.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=j=>n.handleCommit("extra","startFoBrob",j))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(It=a.extraData)==null?void 0:It.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=j=>n.handleCommit("extra","startDgoBrob",j))},null,8,["value"])]),I6,G6]),e.createElementVNode("tr",null,[R6,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((Gt=a.extraData)==null?void 0:Gt.endLat,(Rt=a.extraData)==null?void 0:Rt.endLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((zt=a.extraData)==null?void 0:zt.endTime)),1),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Ut=a.extraData)==null?void 0:Ut.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=j=>n.handleCommit("extra","endFoBrob",j))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Yt=a.extraData)==null?void 0:Yt.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=j=>n.handleCommit("extra","endDgoBrob",j))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Zt=a.extraData)==null?void 0:Zt.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=j=>n.handleCommit("extra","endFoBunkering",j))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Qt=a.extraData)==null?void 0:Qt.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[8]||(s[8]=j=>n.handleCommit("extra","endDgoBunkering",j))},null,8,["value"])])])])])):(e.openBlock(),e.createElementBlock("table",z6,[U6,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[Y6,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((Jt=a.extraData)==null?void 0:Jt.startLat,(Kt=a.extraData)==null?void 0:Kt.startLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((jt=a.extraData)==null?void 0:jt.startTime)),1)]),e.createElementVNode("tr",null,[Z6,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((ut=a.extraData)==null?void 0:ut.endLat,(Xt=a.extraData)==null?void 0:Xt.endLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((qt=a.extraData)==null?void 0:qt.endTime)),1)])])]))]),((vt=l.report)==null?void 0:vt.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",Q6,[e.createElementVNode("div",J6,[K6,e.createVNode(b,{style:{"margin-bottom":"-15px"},size:"small",class:"print-hidden",onClick:n.handleAdd},{default:e.withCtx(()=>[e.createTextVNode("Add Extra Port")]),_:1},8,["onClick"])]),e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[j6,u6,X6,q6,v6,((eo=a.extraPortList)==null?void 0:eo.length)>0?(e.openBlock(),e.createElementBlock("th",ew,"Activity")):e.createCommentVNode("",!0)]),tw]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.extraPortList,(j,Mo)=>{var En,yn,Nn,Vn,fn,bn,xn,gn;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Mo},[e.createElementVNode("tr",null,[e.createElementVNode("td",ow,[e.createVNode(p,{class:"editable-item",value:j==null?void 0:j.name,type:"remotePortSelect",size:"small",align:"center",options:a.portList,onSelect:n.fetchSuggestName,onCommit:it=>n.handleCommit("port","name",it,Mo)},null,8,["value","options","onSelect","onCommit"])]),lw,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(En=j==null?void 0:j.arrival)==null?void 0:En.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:it=>n.handleCommit("port","arrival.date",it,Mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(yn=j==null?void 0:j.arrival)==null?void 0:yn.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:it=>n.handleCommit("port","arrival.foBrob",it,Mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Nn=j==null?void 0:j.arrival)==null?void 0:Nn.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:it=>n.handleCommit("port","arrival.dgoBrob",it,Mo)},null,8,["value","onCommit"])]),aw,nw,e.createElementVNode("td",sw,[e.createVNode(b,{size:"small",onClick:it=>n.handleRemove(Mo)},{default:e.withCtx(()=>[e.createTextVNode("Del")]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[iw,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(Vn=j==null?void 0:j.departure)==null?void 0:Vn.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:it=>n.handleCommit("port","departure.date",it,Mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(fn=j==null?void 0:j.departure)==null?void 0:fn.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:it=>n.handleCommit("port","departure.foBrob",it,Mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(bn=j==null?void 0:j.departure)==null?void 0:bn.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:it=>n.handleCommit("port","departure.dgoBrob",it,Mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(xn=j==null?void 0:j.departure)==null?void 0:xn.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:it=>n.handleCommit("port","departure.bunkeringFo",it,Mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(gn=j==null?void 0:j.departure)==null?void 0:gn.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:it=>n.handleCommit("port","departure.bunkeringDgo",it,Mo)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[cw,dw,e.createElementVNode("td",null,e.toDisplayString(((oo=(to=a.extraData)==null?void 0:to.timeAnalysis)==null?void 0:oo.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((No=(yo=(lo=a.extraData)==null?void 0:lo.consAnalysis)==null?void 0:yo.fo)==null?void 0:No.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((bo=(fo=(Vo=a.extraData)==null?void 0:Vo.consAnalysis)==null?void 0:fo.dgo)==null?void 0:bo.portCons)??"—"),1),rw,mw,((xo=a.extraPortList)==null?void 0:xo.length)>0?(e.openBlock(),e.createElementBlock("td",pw)):e.createCommentVNode("",!0)])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",hw,[_w,e.createElementVNode("table",null,[Ew,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(go=a.extraData)==null?void 0:go.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[9]||(s[9]=j=>n.handleCommit("extraData","actualDist",j,t.index))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(Do=a.extraData)==null?void 0:Do.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[10]||(s[10]=j=>n.handleCommit("extraData","priorDist",j,t.index))},null,8,["value"])]),e.createElementVNode("td",null,e.toDisplayString(((ko=a.extraData)==null?void 0:ko.extraDist)??"—"),1)])])]),e.createElementVNode("div",yw,[((Co=l.report)==null?void 0:Co.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",Nw,[e.createElementVNode("div",Vw,[fw,e.createElementVNode("div",bw,[e.createElementVNode("div",xw,[e.createElementVNode("div",null,e.toDisplayString((So=a.extraData)==null?void 0:So.extraDist),1),gw,e.createElementVNode("div",null,e.toDisplayString((wo=(Bo=a.extraData)==null?void 0:Bo.extend)==null?void 0:wo.cpSpd),1)])]),Dw,e.createElementVNode("div",kw,e.toDisplayString((To=(Ao=a.extraData)==null?void 0:Ao.timeAnalysis)==null?void 0:To.sailingTime)+" (hrs)",1)]),e.createElementVNode("div",Cw,[Sw,e.createElementVNode("div",Bw,e.toDisplayString((Oo=(Fo=a.extraData)==null?void 0:Fo.timeAnalysis)==null?void 0:Oo.sailingTime),1),ww,e.createElementVNode("div",Aw,e.toDisplayString(n.computeNum((Lo=(Po=a.extraData)==null?void 0:Po.timeAnalysis)==null?void 0:Lo.portTime)),1),Tw,e.createElementVNode("div",Fw,e.toDisplayString((Ho=(Wo=a.extraData)==null?void 0:Wo.timeAnalysis)==null?void 0:Ho.totalExtraTime)+" (hrs)",1)])])):(e.openBlock(),e.createElementBlock("div",Ow,[e.createElementVNode("div",Pw,[Lw,e.createElementVNode("div",Ww,[e.createElementVNode("div",Hw,[e.createElementVNode("div",null,e.toDisplayString(($o=a.extraData)==null?void 0:$o.priorDist),1),$w,e.createElementVNode("div",null,e.toDisplayString((zo=(Ro=a.extraData)==null?void 0:Ro.extend)==null?void 0:zo.cpSpd),1)])]),Mw,e.createElementVNode("div",Iw,e.toDisplayString((Yo=(Uo=a.extraData)==null?void 0:Uo.timeAnalysis)==null?void 0:Yo.sailingTime)+" (hrs)",1),Gw,Rw]),e.createElementVNode("div",zw,[Uw,e.createElementVNode("div",Yw,e.toDisplayString((Qo=(Zo=a.extraData)==null?void 0:Zo.timeAnalysis)==null?void 0:Qo.actualTime),1),Zw,e.createElementVNode("div",Qw,e.toDisplayString((Ko=(Jo=a.extraData)==null?void 0:Jo.timeAnalysis)==null?void 0:Ko.sailingTime),1),Jw,e.createElementVNode("div",Kw,e.toDisplayString((uo=(jo=a.extraData)==null?void 0:jo.timeAnalysis)==null?void 0:uo.totalExtraTime)+" (hrs)",1)])]))]),e.createElementVNode("div",jw,[((Xo=l.report)==null?void 0:Xo.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",uw,[e.createElementVNode("div",Xw,[qw,e.createElementVNode("div",vw,[e.createElementVNode("div",e7,[e.createElementVNode("div",null,e.toDisplayString((qo=a.extraData)==null?void 0:qo.extraDist),1),t7,e.createElementVNode("div",null,e.toDisplayString((el=(vo=a.extraData)==null?void 0:vo.extend)==null?void 0:el.cpSpd),1)])]),o7,e.createElementVNode("div",l7,[e.createElementVNode("div",a7,[e.createElementVNode("div",null,e.toDisplayString((ol=(tl=a.extraData)==null?void 0:tl.extend)==null?void 0:ol.cpFoCons),1),n7,s7])]),i7,e.createElementVNode("div",c7,e.toDisplayString((nl=(al=(ll=a.extraData)==null?void 0:ll.consAnalysis)==null?void 0:al.fo)==null?void 0:nl.sailingCons)+" (mt)",1)]),e.createElementVNode("div",d7,[r7,e.createElementVNode("div",m7,e.toDisplayString((cl=(il=(sl=a.extraData)==null?void 0:sl.consAnalysis)==null?void 0:il.fo)==null?void 0:cl.sailingCons),1),p7,e.createElementVNode("div",h7,e.toDisplayString(n.computeNum((st=(rl=(dl=a.extraData)==null?void 0:dl.consAnalysis)==null?void 0:rl.fo)==null?void 0:st.portCons)),1),_7,e.createElementVNode("div",E7,e.toDisplayString((yl=(El=(pl=a.extraData)==null?void 0:pl.consAnalysis)==null?void 0:El.fo)==null?void 0:yl.totalExtraCons)+" (mt)",1)]),e.createElementVNode("div",y7,[N7,e.createElementVNode("div",V7,[e.createElementVNode("div",f7,[e.createElementVNode("div",null,e.toDisplayString((Nl=a.extraData)==null?void 0:Nl.extraDist),1),b7,e.createElementVNode("div",null,e.toDisplayString((fl=(Vl=a.extraData)==null?void 0:Vl.extend)==null?void 0:fl.cpSpd),1)])]),x7,e.createElementVNode("div",g7,[e.createElementVNode("div",D7,[e.createElementVNode("div",null,e.toDisplayString((xl=(bl=a.extraData)==null?void 0:bl.extend)==null?void 0:xl.cpDgoCons),1),k7,C7])]),S7,e.createElementVNode("div",B7,e.toDisplayString((kl=(Dl=(gl=a.extraData)==null?void 0:gl.consAnalysis)==null?void 0:Dl.dgo)==null?void 0:kl.sailingCons)+" (mt)",1)]),e.createElementVNode("div",w7,[A7,e.createElementVNode("div",T7,e.toDisplayString((Bl=(Sl=(Cl=a.extraData)==null?void 0:Cl.consAnalysis)==null?void 0:Sl.dgo)==null?void 0:Bl.sailingCons),1),F7,e.createElementVNode("div",O7,e.toDisplayString(n.computeNum((Tl=(Al=(wl=a.extraData)==null?void 0:wl.consAnalysis)==null?void 0:Al.dgo)==null?void 0:Tl.portCons)),1),P7,e.createElementVNode("div",L7,e.toDisplayString((Pl=(Ol=(Fl=a.extraData)==null?void 0:Fl.consAnalysis)==null?void 0:Ol.dgo)==null?void 0:Pl.totalExtraCons)+" (mt)",1)])])):(e.openBlock(),e.createElementBlock("div",W7,[e.createElementVNode("div",H7,[$7,e.createElementVNode("div",M7,[e.createElementVNode("div",I7,[e.createElementVNode("div",null,e.toDisplayString((Ll=a.extraData)==null?void 0:Ll.priorDist),1),G7,e.createElementVNode("div",null,e.toDisplayString((Hl=(Wl=a.extraData)==null?void 0:Wl.extend)==null?void 0:Hl.cpSpd),1)])]),R7,e.createElementVNode("div",z7,[e.createElementVNode("div",U7,[e.createElementVNode("div",null,e.toDisplayString((Ml=($l=a.extraData)==null?void 0:$l.extend)==null?void 0:Ml.cpFoCons),1),Y7,Z7])]),Q7,e.createElementVNode("div",J7,e.toDisplayString((Rl=(Gl=(Il=a.extraData)==null?void 0:Il.consAnalysis)==null?void 0:Gl.fo)==null?void 0:Rl.sailingCons)+" (mt)",1)]),e.createElementVNode("div",K7,[j7,e.createElementVNode("div",u7,e.toDisplayString((Yl=(Ul=(zl=a.extraData)==null?void 0:zl.consAnalysis)==null?void 0:Ul.fo)==null?void 0:Yl.actualCons),1),X7,e.createElementVNode("div",q7,e.toDisplayString(n.computeNum((Jl=(Ql=(Zl=a.extraData)==null?void 0:Zl.consAnalysis)==null?void 0:Ql.fo)==null?void 0:Jl.sailingCons)),1),v7,e.createElementVNode("div",eA,e.toDisplayString((ul=(jl=(Kl=a.extraData)==null?void 0:Kl.consAnalysis)==null?void 0:jl.fo)==null?void 0:ul.totalExtraCons)+" (mt)",1)]),e.createElementVNode("div",tA,[oA,e.createElementVNode("div",lA,[e.createElementVNode("div",aA,[e.createElementVNode("div",null,e.toDisplayString((Xl=a.extraData)==null?void 0:Xl.priorDist),1),nA,e.createElementVNode("div",null,e.toDisplayString((vl=(ql=a.extraData)==null?void 0:ql.extend)==null?void 0:vl.cpSpd),1)])]),sA,e.createElementVNode("div",iA,[e.createElementVNode("div",cA,[e.createElementVNode("div",null,e.toDisplayString((ta=(ea=a.extraData)==null?void 0:ea.extend)==null?void 0:ta.cpDgoCons),1),dA,rA])]),mA,e.createElementVNode("div",pA,e.toDisplayString((aa=(la=(oa=a.extraData)==null?void 0:oa.consAnalysis)==null?void 0:la.dgo)==null?void 0:aa.sailingCons)+" (mt)",1)]),e.createElementVNode("div",hA,[_A,e.createElementVNode("div",EA,e.toDisplayString((ia=(sa=(na=a.extraData)==null?void 0:na.consAnalysis)==null?void 0:sa.dgo)==null?void 0:ia.actualCons),1),yA,e.createElementVNode("div",NA,e.toDisplayString((ra=(da=(ca=a.extraData)==null?void 0:ca.consAnalysis)==null?void 0:da.dgo)==null?void 0:ra.sailingCons),1),VA,e.createElementVNode("div",fA,e.toDisplayString((ha=(pa=(ma=a.extraData)==null?void 0:ma.consAnalysis)==null?void 0:pa.dgo)==null?void 0:ha.totalExtraCons)+" (mt)",1)])]))]),e.createElementVNode("div",bA,[e.createElementVNode("div",xA,[((_a=l.report)==null?void 0:_a.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("table",gA,[DA,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[kA,e.createElementVNode("td",null,e.toDisplayString(((ya=(Ea=a.extraData)==null?void 0:Ea.timeAnalysis)==null?void 0:ya.sailingTime)??"—"),1)]),e.createElementVNode("tr",null,[CA,e.createElementVNode("td",null,e.toDisplayString(((Va=(Na=a.extraData)==null?void 0:Na.timeAnalysis)==null?void 0:Va.portTime)??"—"),1)]),e.createElementVNode("tr",null,[SA,e.createElementVNode("td",null,e.toDisplayString(((ba=(fa=a.extraData)==null?void 0:fa.timeAnalysis)==null?void 0:ba.totalExtraTime)??"—"),1)])])])):(e.openBlock(),e.createElementBlock("table",BA,[wA,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[AA,e.createElementVNode("td",null,e.toDisplayString((ga=(xa=a.extraData)==null?void 0:xa.timeAnalysis)==null?void 0:ga.sailingTime),1)]),e.createElementVNode("tr",null,[TA,e.createElementVNode("td",null,e.toDisplayString((ka=(Da=a.extraData)==null?void 0:Da.timeAnalysis)==null?void 0:ka.actualTime),1)]),e.createElementVNode("tr",null,[FA,e.createElementVNode("td",null,e.toDisplayString((Sa=(Ca=a.extraData)==null?void 0:Ca.timeAnalysis)==null?void 0:Sa.totalExtraTime),1)])])]))]),e.createElementVNode("div",OA,[((Ba=l.report)==null?void 0:Ba.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("table",PA,[LA,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[WA,e.createElementVNode("td",null,e.toDisplayString(((Ta=(Aa=(wa=a.extraData)==null?void 0:wa.consAnalysis)==null?void 0:Aa.fo)==null?void 0:Ta.sailingCons)??"—"),1)]),e.createElementVNode("tr",null,[HA,e.createElementVNode("td",null,[e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Pa=(Oa=(Fa=a.extraData)==null?void 0:Fa.consAnalysis)==null?void 0:Oa.fo)==null?void 0:Pa.totalExtraCons)}`)},e.toDisplayString(((Ha=(Wa=(La=a.extraData)==null?void 0:La.consAnalysis)==null?void 0:Wa.fo)==null?void 0:Ha.totalExtraCons)??"—"),3)])]),e.createElementVNode("tr",null,[$A,e.createElementVNode("td",null,e.toDisplayString(((ao=(Z=($a=a.extraData)==null?void 0:$a.consAnalysis)==null?void 0:Z.dgo)==null?void 0:ao.sailingCons)??"—"),1)]),e.createElementVNode("tr",null,[MA,e.createElementVNode("td",null,[e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Ga=(Ia=(Ma=a.extraData)==null?void 0:Ma.consAnalysis)==null?void 0:Ia.dgo)==null?void 0:Ga.totalExtraCons)}`)},e.toDisplayString(((Ua=(za=(Ra=a.extraData)==null?void 0:Ra.consAnalysis)==null?void 0:za.dgo)==null?void 0:Ua.totalExtraCons)??"—"),3)])])])])):(e.openBlock(),e.createElementBlock("table",IA,[GA,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[RA,e.createElementVNode("td",null,e.toDisplayString((Qe=(Za=(Ya=a.extraData)==null?void 0:Ya.consAnalysis)==null?void 0:Za.fo)==null?void 0:Qe.sailingCons),1)]),e.createElementVNode("tr",null,[zA,e.createElementVNode("td",null,[e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((en=(va=(qa=a.extraData)==null?void 0:qa.consAnalysis)==null?void 0:va.fo)==null?void 0:en.totalExtraCons)}`)},e.toDisplayString((ln=(on=(tn=a.extraData)==null?void 0:tn.consAnalysis)==null?void 0:on.fo)==null?void 0:ln.totalExtraCons),3)])]),e.createElementVNode("tr",null,[UA,e.createElementVNode("td",null,e.toDisplayString((sn=(nn=(an=a.extraData)==null?void 0:an.consAnalysis)==null?void 0:nn.dgo)==null?void 0:sn.sailingCons),1)]),e.createElementVNode("tr",null,[YA,e.createElementVNode("td",null,[e.createElementVNode("span",{class:e.normalizeClass(`${n.computeColor((rn=(dn=(cn=a.extraData)==null?void 0:cn.consAnalysis)==null?void 0:dn.dgo)==null?void 0:rn.totalExtraCons)}`)},e.toDisplayString((hn=(pn=(mn=a.extraData)==null?void 0:mn.consAnalysis)==null?void 0:pn.dgo)==null?void 0:hn.totalExtraCons),3)])])])]))])])]),e.createElementVNode("div",ZA,[QA,e.createElementVNode("div",JA,[e.createElementVNode("img",{style:{width:"100%"},src:(_n=a.extraData)==null?void 0:_n.chartUrl,alt:""},null,8,KA),jA])])])])}const $n=Ce(j8,[["render",uA],["__scopeId","data-v-8a901bb5"]]),tY="",XA={name:"FliDvtRpt",components:{CirclePlus:Ja.CirclePlus,Remove:Ja.Remove,EditableItem:Hn,Editor:Go},props:{data:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{extraData:void 0,logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORy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UgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${K(t).utc().format(s)}`:"-"}},computedLngLat(){return function(t,s){const l=ae.LngLatHelper.lat2pretty(t).pretty,r=ae.LngLatHelper.lng2pretty(s).pretty;return`${l} / ${r}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},watch:{data:{handler(t){t&&((t==null?void 0:t.method)==="DistExtrapolate"?this.isDistExtra=!0:this.isDistExtra=!1,this.fetchData(),this.fetchSuggestName())},immediate:!0}},methods:{fetchData(){var t,s,l,r;this.extraData=this.data,this.extraPortList=(t=this.data)!=null&&t.extraPorts?(s=this.data)==null?void 0:s.extraPorts:[],this.advisory=(l=this.data)!=null&&l.comments?(r=this.data)==null?void 0:r.comments:void 0,this.id=this.data.id},async fetchSuggestName(t){var l;const s=await Qa.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(l=s==null?void 0:s.data)==null?void 0:l.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var l,r,a,n,E;this.extraPortList.splice(t,1);const s=await Qa.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(l=s==null?void 0:s.data)==null?void 0:l.data,this.extraPortList=(a=(r=s==null?void 0:s.data)==null?void 0:r.data)==null?void 0:a.extraPorts,this.advisory=(n=this.data)!=null&&n.comments?(E=this.data)==null?void 0:E.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,s,l,r){var E,i,p,b,x;this.editable=!1;const a=s.indexOf(".");let n={};if((l||l==0)&&l!=""){if(t==="port"){if(a>0){const y=s.substring(0,a),k=s.substring(a+1);k!=="date"&&(l=Number(l)),this.extraPortList[r][y][k]=l}else this.extraPortList[r][s]=l;n={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[s]=l,n={[s]:l}):(this.extraData[s]=l,n={[s]:Number(l)});const h=await Qa.put(`${this.gateway}/api/als/deviations/${this.id}`,n,{headers:{Authorization:this.token}});this.extraData=(E=h==null?void 0:h.data)==null?void 0:E.data,this.extraPortList=(p=(i=h==null?void 0:h.data)==null?void 0:i.data)==null?void 0:p.extraPorts,this.advisory=(b=this.data)!=null&&b.comments?(x=this.data)==null?void 0:x.comments:void 0}else Sn.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},N=t=>(e.pushScopeId("data-v-eba493df"),t=t(),e.popScopeId(),t),qA={class:"deviation-report"},vA=N(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),eT={class:"report-header"},tT={class:"header-title",style:{position:"relative !important"}},oT={class:"header-title-content"},lT=N(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),aT={class:"title-date"},nT={class:"report-summary"},sT={class:"summary-item"},iT=N(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),cT={class:"flexL gray"},dT={class:"summary-item"},rT=N(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),mT={class:"flexL gray"},pT={class:"summary-item"},hT=N(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),_T={class:"flexL gray"},ET={class:"summary-item"},yT=N(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),NT={class:"flexL gray"},VT={class:"summary-item"},fT=N(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),bT={class:"flexL gray",style:{display:"flex"}},xT={class:"flex"},gT={class:"flexM"},DT={class:"summary-item"},kT=N(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),CT={class:"flexL gray",style:{display:"flex"}},ST={class:"flex"},BT={class:"flexM"},wT=N(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),AT={class:"report-summary"},TT={class:"summary-item"},FT=N(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),OT={class:"summary-item"},PT=N(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),LT={class:"summary-item"},WT=N(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),HT={class:"summary-item"},$T=N(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),MT=N(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),IT={class:"report-map"},GT=["src"],RT=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),zT=N(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),UT={key:0,class:"subtitle"},YT={key:1,class:"report-summary"},ZT=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),QT={class:"summary-item"},JT=N(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),KT={class:"blue center",style:{width:"20%"}},jT={class:"blue center",style:{width:"17%"}},uT={class:"flex blue center"},XT={class:"flex blue center"},qT=N(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),vT=N(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),eF={class:"summary-item"},tF=N(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),oF={class:"blue center",style:{width:"20%"}},lF={class:"blue center",style:{width:"17%"}},aF={class:"flex blue center"},nF={class:"flex blue center"},sF={class:"flex blue center"},iF={class:"flex blue center"},cF={class:"summary-item"},dF=N(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),rF=N(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),mF={class:"blue center",style:{width:"17%"}},pF={class:"flex blue center"},hF={class:"flex blue center"},_F=N(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),EF=N(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),yF=N(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),NF={class:"report-summary"},VF={class:"summary-item"},fF=N(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),bF={class:"flexL blue center"},xF={class:"summary-item"},gF=N(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),DF={class:"flexL blue center"},kF={class:"summary-item"},CF=N(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),SF={class:"flexL blue center"},BF={class:"subtitle port"},wF=N(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),AF={class:"print-hidden"},TF={class:"report-port"},FF=N(()=>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)),OF={rowspan:2},PF=N(()=>e.createElementVNode("td",null,"Arrival",-1)),LF=N(()=>e.createElementVNode("td",null,null,-1)),WF=N(()=>e.createElementVNode("td",null,null,-1)),HF={rowspan:2,class:"print-hidden"},$F=N(()=>e.createElementVNode("td",null,"Departure",-1)),MF=N(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),IF=N(()=>e.createElementVNode("td",null,null,-1)),GF=N(()=>e.createElementVNode("td",null,null,-1)),RF=N(()=>e.createElementVNode("td",null,null,-1)),zF=N(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),UF=N(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),YF={class:"report-summary"},ZF=N(()=>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)),QF={class:"summary-item"},JF=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),KF={class:"flex blue center"},jF={class:"flex blue center"},uF={class:"summary-item"},XF=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),qF={class:"flex blue center"},vF=N(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),eO={key:2,class:"report-formular"},tO={class:"equation"},oO=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),lO={class:"function",style:{width:"20%"}},aO=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),nO=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),sO={style:{width:"10%"}},iO=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),cO={class:"equation"},dO=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),rO={style:{width:"5%"}},mO=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),pO={style:{width:"8%"}},hO=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),_O={style:{width:"4%"}},EO=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),yO={key:3,class:"report-formular"},NO={class:"equation"},VO=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),fO={class:"function",style:{width:"20%"}},bO=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),xO=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),gO={style:{width:"10%"}},DO=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),kO={key:0,class:"equation"},CO=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),SO={style:{width:"5%"}},BO=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),wO={style:{width:"5%"}},AO=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),TO={style:{width:"5%"}},FO=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),OO={key:1,class:"equation"},PO=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),LO={style:{width:"5%"}},WO=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),HO={style:{width:"5%"}},$O=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),MO={style:{width:"5%"}},IO=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),GO={style:{width:"5%"}},RO=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),zO={key:4,class:"report-summary"},UO={class:"summary-item"},YO=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),ZO={class:"flex blue center"},QO={class:"summary-item"},JO=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),KO={class:"flex blue center"},jO={class:"summary-item"},uO=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),XO={class:"flex blue center"},qO={key:5,class:"report-summary"},vO={class:"summary-item"},eP=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),tP={class:"flex blue center"},oP={class:"summary-item"},lP=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),aP={class:"flex blue center"},nP={key:0,class:"summary-item"},sP=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),iP={class:"flex blue center"},cP={class:"summary-item"},dP=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),rP={class:"flex blue center"},mP=N(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),pP={key:6,class:"report-formular"},hP={class:"equation"},_P=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),EP={class:"function",style:{width:"5%"}},yP=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NP=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),VP={class:"function",style:{width:"5%"}},fP=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),bP=N(()=>e.createElementVNode("div",null,"24",-1)),xP=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),gP={style:{width:"5%"}},DP=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),kP={class:"equation"},CP=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),SP={style:{width:"5%"}},BP=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),wP={style:{width:"5%"}},AP=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),TP={style:{width:"5%"}},FP=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),OP={class:"equation"},PP=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),LP={class:"function",style:{width:"5%"}},WP=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),HP=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),$P={class:"function",style:{width:"5%"}},MP=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),IP=N(()=>e.createElementVNode("div",null,"24",-1)),GP=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),RP={style:{width:"5%"}},zP=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),UP={class:"equation"},YP=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),ZP={style:{width:"5%"}},QP=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),JP={style:{width:"5%"}},KP=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),jP={style:{width:"5%"}},uP=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),XP={key:7,class:"report-formular"},qP={class:"equation"},vP=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),eL={class:"function",style:{width:"5%"}},tL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),oL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),lL={class:"function",style:{width:"5%"}},aL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),nL=N(()=>e.createElementVNode("div",null,"24",-1)),sL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),iL={style:{width:"5%"}},cL=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),dL={class:"equation"},rL=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),mL={class:"function",style:{width:"5%"}},pL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),hL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),_L={class:"function",style:{width:"5%"}},EL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),yL=N(()=>e.createElementVNode("div",null,"24",-1)),NL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),VL={style:{width:"5%"}},fL=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),bL={key:0,class:"equation"},xL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:30%;" data-v-eba493df>FO Consumption for Actual Route</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:23%;" data-v-eba493df>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-eba493df>=</div>',6),gL={style:{width:"5%"}},DL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),kL={style:{width:"5%"}},CL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),SL={style:{width:"5%"}},BL=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),wL={key:1,class:"equation"},AL=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),TL={style:{width:"5%"}},FL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),OL={style:{width:"5%"}},PL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),LL={style:{width:"5%"}},WL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),HL={style:{width:"5%"}},$L=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),ML={key:2,class:"equation"},IL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:30%;" data-v-eba493df>DO/GO Consumption for 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),GL={style:{width:"5%"}},RL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),zL={style:{width:"5%"}},UL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),YL={style:{width:"5%"}},ZL=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),QL={key:3,class:"equation"},JL=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),KL={style:{width:"5%"}},jL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),uL={style:{width:"5%"}},XL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),qL={style:{width:"5%"}},vL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),eW={style:{width:"5%"}},tW=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),oW={key:8,class:"report-summary"},lW=N(()=>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"},nW=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),sW={class:"flex blue center"},iW={class:"flex blue center"},cW={class:"summary-item"},dW=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),rW={class:"flex blue center"},mW={class:"flex blue center"},pW={class:"summary-item"},hW=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),_W={key:9,class:"report-summary"},EW=N(()=>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)),yW={class:"summary-item"},NW=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),VW={class:"flex blue center"},fW={class:"flex blue center"},bW={class:"summary-item"},xW=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),gW={class:"flex blue center"},DW={class:"flex blue center"},kW={key:0,class:"summary-item"},CW=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),SW={class:"flex blue center"},BW={class:"flex blue center"},wW={class:"summary-item"},AW=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),TW=["innerHTML"];function FW(t,s,l,r,a,n){var h,y,k,g,C,D,T,F,B,w,V,O,I,G,R,z,_,L,$,W,P,M,Q,U,J,ne,se,o,u,v,ee,te,oe,le,ie,ce,de,_e,X,me,Ee,ye,re,fe,be,xe,ge,De,ke,Te,Fe,Oe,Pe,Le,We,He,$e,Ne,Ke,je,ue,A,Se,Ge,Xe,qe,ve,et,tt,m,H,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,xt,gt,Dt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,io,co,ro,mo,po,ho,_o,Eo,S,Ie,at,nt,ht,Lt,Wt,Ht,$t,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,ut,Xt,qt,vt,eo,to,oo,lo,yo,No,Vo,fo,bo,xo,go,Do,ko,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,Ho,$o,Ro,zo,Uo,Yo,Zo,Qo,Jo,Ko,jo,uo,Xo,qo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,st,pl,El,yl,Nl,Vl,fl,bl,xl,gl,Dl,kl,Cl,Sl,Bl,wl,Al,Tl,Fl,Ol,Pl,Ll,Wl,Hl,$l,Ml,Il,Gl,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,jl,ul,Xl,ql,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ba,xa,ga,Da,ka,Ca,Sa,Ba,wa,Aa,Ta,Fa,Oa,Pa,La,Wa,Ha,$a;const E=e.resolveComponent("EditableItem"),i=e.resolveComponent("CirclePlus"),p=e.resolveComponent("ElIcon"),b=e.resolveComponent("Remove"),x=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",qA,[vA,e.createElementVNode("div",eT,[e.createElementVNode("div",tT,[e.createElementVNode("div",oT,[lT,e.createElementVNode("div",aT,e.toDisplayString(n.computeUTCTime((h=a.extraData)==null?void 0:h.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",nT,[e.createElementVNode("div",sT,[iT,e.createElementVNode("div",cT,e.toDisplayString((k=(y=a.extraData)==null?void 0:y.vessel)==null?void 0:k.name),1)]),e.createElementVNode("div",dT,[rT,e.createElementVNode("div",mT,e.toDisplayString((g=a.extraData)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",pT,[hT,e.createElementVNode("div",_T,e.toDisplayString((D=(C=a.extraData)==null?void 0:C.vessel)==null?void 0:D.type),1)]),e.createElementVNode("div",ET,[yT,e.createElementVNode("div",NT,e.toDisplayString((F=(T=a.extraData)==null?void 0:T.voyage)==null?void 0:F.number),1)]),e.createElementVNode("div",VT,[fT,e.createElementVNode("div",bT,[e.createElementVNode("span",xT,e.toDisplayString((w=(B=a.extraData)==null?void 0:B.departure)==null?void 0:w.name),1),e.createElementVNode("span",gT,e.toDisplayString(n.computeUTCTime(((O=(V=a.extraData)==null?void 0:V.departure)==null?void 0:O.atd)||((G=(I=a.extraData)==null?void 0:I.departure)==null?void 0:G.etd))),1)])]),e.createElementVNode("div",DT,[kT,e.createElementVNode("div",CT,[e.createElementVNode("span",ST,e.toDisplayString((z=(R=a.extraData)==null?void 0:R.arrival)==null?void 0:z.name),1),e.createElementVNode("span",BT,e.toDisplayString(n.computeUTCTime(((L=(_=a.extraData)==null?void 0:_.arrival)==null?void 0:L.ata)||((W=($=a.extraData)==null?void 0:$.arrival)==null?void 0:W.eta))),1)])])]),wT,e.createElementVNode("div",AT,[e.createElementVNode("div",TT,[FT,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",OT,[PT,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((U=(Q=a.extraData)==null?void 0:Q.timeAnalysis)==null?void 0:U.totalExtraTime)} flex blue`)},e.toDisplayString(((ne=(J=a.extraData)==null?void 0:J.timeAnalysis)==null?void 0:ne.totalExtraTime)??"—"),3)]),e.createElementVNode("div",LT,[WT,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((u=(o=(se=a.extraData)==null?void 0:se.consAnalysis)==null?void 0:o.fo)==null?void 0:u.totalExtraCons)} flex blue`)},e.toDisplayString(((te=(ee=(v=a.extraData)==null?void 0:v.consAnalysis)==null?void 0:ee.fo)==null?void 0:te.totalExtraCons)??"—"),3)]),e.createElementVNode("div",HT,[$T,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ie=(le=(oe=a.extraData)==null?void 0:oe.consAnalysis)==null?void 0:le.dgo)==null?void 0:ie.totalExtraCons)} flex blue`)},e.toDisplayString(((_e=(de=(ce=a.extraData)==null?void 0:ce.consAnalysis)==null?void 0:de.dgo)==null?void 0:_e.totalExtraCons)??"—"),3)])]),MT,e.createElementVNode("div",IT,[e.createElementVNode("img",{style:{width:"100%"},src:(X=a.extraData)==null?void 0:X.chartUrl,alt:""},null,8,GT),RT]),zT,t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",UT,"Diversion Information")),t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",YT,[ZT,e.createElementVNode("div",QT,[JT,e.createElementVNode("div",KT,e.toDisplayString(n.computedLngLat((me=a.extraData)==null?void 0:me.startLng,(Ee=a.extraData)==null?void 0:Ee.startLat)),1),e.createElementVNode("div",jT,e.toDisplayString(n.computeUTCTime((ye=a.extraData)==null?void 0:ye.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",uT,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(re=a.extraData)==null?void 0:re.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[0]||(s[0]=Z=>n.handleCommit("extra","startFoBrob",Z))},null,8,["value"])]),e.createElementVNode("div",XT,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(fe=a.extraData)==null?void 0:fe.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[1]||(s[1]=Z=>n.handleCommit("extra","startDgoBrob",Z))},null,8,["value"])]),qT,vT]),e.createElementVNode("div",eF,[tF,e.createElementVNode("div",oF,e.toDisplayString(n.computedLngLat((be=a.extraData)==null?void 0:be.endLng,(xe=a.extraData)==null?void 0:xe.endLat)),1),e.createElementVNode("div",lF,e.toDisplayString(n.computeUTCTime((ge=a.extraData)==null?void 0:ge.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",aF,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(De=a.extraData)==null?void 0:De.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[2]||(s[2]=Z=>n.handleCommit("extra","endFoBrob",Z))},null,8,["value"])]),e.createElementVNode("div",nF,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(ke=a.extraData)==null?void 0:ke.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=Z=>n.handleCommit("extra","endDgoBrob",Z))},null,8,["value"])]),e.createElementVNode("div",sF,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Te=a.extraData)==null?void 0:Te.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=Z=>n.handleCommit("extra","endFoBunkering",Z))},null,8,["value"])]),e.createElementVNode("div",iF,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Fe=a.extraData)==null?void 0:Fe.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=Z=>n.handleCommit("extra","endDgoBunkering",Z))},null,8,["value"])])]),e.createElementVNode("div",cF,[dF,rF,e.createElementVNode("div",mF,e.toDisplayString(((Pe=(Oe=a.extraData)==null?void 0:Oe.timeAnalysis)==null?void 0:Pe.actualTime)??"—"),1),e.createElementVNode("div",pF,e.toDisplayString(((He=(We=(Le=a.extraData)==null?void 0:Le.consAnalysis)==null?void 0:We.fo)==null?void 0:He.actualCons)??"—"),1),e.createElementVNode("div",hF,e.toDisplayString(((Ke=(Ne=($e=a.extraData)==null?void 0:$e.consAnalysis)==null?void 0:Ne.dgo)==null?void 0:Ke.actualCons)??"—"),1),_F,EF])])),yF,e.createElementVNode("div",NF,[e.createElementVNode("div",VF,[fF,e.createElementVNode("div",bF,e.toDisplayString(((ue=(je=a.extraData)==null?void 0:je.cp)==null?void 0:ue.speed)??"—"),1)]),e.createElementVNode("div",xF,[gF,e.createElementVNode("div",DF,e.toDisplayString(((Se=(A=a.extraData)==null?void 0:A.cp)==null?void 0:Se.fo)??"—"),1)]),e.createElementVNode("div",kF,[CF,e.createElementVNode("div",SF,e.toDisplayString(((Xe=(Ge=a.extraData)==null?void 0:Ge.cp)==null?void 0:Xe.dgo)??"—"),1)])]),e.createElementVNode("div",BF,[wF,e.createElementVNode("div",AF,[e.createVNode(p,{size:20,onClick:n.handleAdd},{default:e.withCtx(()=>[e.createVNode(i)]),_:1},8,["onClick"])])]),e.createElementVNode("div",TF,[e.createElementVNode("table",null,[FF,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.extraPortList,(Z,ao)=>{var Ma,Ia,Ga,Ra,za,Ua,Ya,Za;return e.openBlock(),e.createElementBlock(e.Fragment,{key:ao},[e.createElementVNode("tr",null,[e.createElementVNode("td",OF,[e.createVNode(E,{class:"editable-item",value:Z==null?void 0:Z.name,type:"remotePortSelect",size:"small",align:"center",options:a.portList,onSelect:n.fetchSuggestName,onCommit:Qe=>n.handleCommit("port","name",Qe,ao)},null,8,["value","options","onSelect","onCommit"])]),PF,e.createElementVNode("td",null,[e.createVNode(E,{class:"check editable-item",value:(Ma=Z==null?void 0:Z.arrival)==null?void 0:Ma.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Qe=>n.handleCommit("port","arrival.date",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ia=Z==null?void 0:Z.arrival)==null?void 0:Ia.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","arrival.foBrob",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ga=Z==null?void 0:Z.arrival)==null?void 0:Ga.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","arrival.dgoBrob",Qe,ao)},null,8,["value","onCommit"])]),LF,WF,e.createElementVNode("td",HF,[e.createVNode(p,{size:20,onClick:Qe=>n.handleRemove(ao)},{default:e.withCtx(()=>[e.createVNode(b)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[$F,e.createElementVNode("td",null,[e.createVNode(E,{class:"check editable-item",value:(Ra=Z==null?void 0:Z.departure)==null?void 0:Ra.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Qe=>n.handleCommit("port","departure.date",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(za=Z==null?void 0:Z.departure)==null?void 0:za.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.foBrob",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ua=Z==null?void 0:Z.departure)==null?void 0:Ua.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.dgoBrob",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ya=Z==null?void 0:Z.departure)==null?void 0:Ya.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.bunkeringFo",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Za=Z==null?void 0:Z.departure)==null?void 0:Za.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.bunkeringDgo",Qe,ao)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[MF,IF,e.createElementVNode("td",null,e.toDisplayString(((ve=(qe=a.extraData)==null?void 0:qe.timeAnalysis)==null?void 0:ve.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(tt=(et=a.extraData)==null?void 0:et.consAnalysis)==null?void 0:tt.fo)==null?void 0:m.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Me=(Be=(H=a.extraData)==null?void 0:H.consAnalysis)==null?void 0:Be.dgo)==null?void 0:Me.portCons)??"—"),1),GF,RF,zF])])])]),UF,e.createElementVNode("div",YF,[ZF,e.createElementVNode("div",QF,[JF,e.createElementVNode("div",KF,[e.createVNode(E,{class:"editable-item",style:{padding:"0px"},value:(Re=a.extraData)==null?void 0:Re.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=Z=>n.handleCommit("extraData","actualDist",Z,t.index))},null,8,["value"])]),e.createElementVNode("div",jF,[e.createVNode(E,{class:"editable-item",style:{padding:"0px"},value:(pe=a.extraData)==null?void 0:pe.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=Z=>n.handleCommit("extraData","priorDist",Z,t.index))},null,8,["value"])])]),e.createElementVNode("div",uF,[XF,e.createElementVNode("div",qF,e.toDisplayString(((Ue=a.extraData)==null?void 0:Ue.extraDist)??"—"),1)])]),vF,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",eO,[e.createElementVNode("div",tO,[oO,e.createElementVNode("div",lO,[e.createElementVNode("div",null,e.toDisplayString((ot=a.extraData)==null?void 0:ot.extraDist),1),aO,e.createElementVNode("div",null,e.toDisplayString((dt=(lt=a.extraData)==null?void 0:lt.cp)==null?void 0:dt.speed),1)]),nO,e.createElementVNode("div",sO,e.toDisplayString((mt=(rt=a.extraData)==null?void 0:rt.timeAnalysis)==null?void 0:mt.sailingTime),1),iO]),e.createElementVNode("div",cO,[dO,e.createElementVNode("div",rO,e.toDisplayString((_t=(pt=a.extraData)==null?void 0:pt.timeAnalysis)==null?void 0:_t.sailingTime),1),mO,e.createElementVNode("div",pO,e.toDisplayString(n.computeNum((yt=(Et=a.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:yt.portTime)),1),hO,e.createElementVNode("div",_O,e.toDisplayString((Vt=(Nt=a.extraData)==null?void 0:Nt.timeAnalysis)==null?void 0:Vt.totalExtraTime),1),EO])])):(e.openBlock(),e.createElementBlock("div",yO,[e.createElementVNode("div",NO,[VO,e.createElementVNode("div",fO,[e.createElementVNode("div",null,e.toDisplayString((ft=a.extraData)==null?void 0:ft.priorDist),1),bO,e.createElementVNode("div",null,e.toDisplayString((xt=(bt=a.extraData)==null?void 0:bt.cp)==null?void 0:xt.speed),1)]),xO,e.createElementVNode("div",gO,e.toDisplayString((Dt=(gt=a.extraData)==null?void 0:gt.timeAnalysis)==null?void 0:Dt.sailingTime),1),DO]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",kO,[CO,e.createElementVNode("div",SO,e.toDisplayString((Ct=(kt=a.extraData)==null?void 0:kt.timeAnalysis)==null?void 0:Ct.actualTime),1),BO,e.createElementVNode("div",wO,e.toDisplayString((Bt=(St=a.extraData)==null?void 0:St.timeAnalysis)==null?void 0:Bt.sailingTime),1),AO,e.createElementVNode("div",TO,e.toDisplayString((At=(wt=a.extraData)==null?void 0:wt.timeAnalysis)==null?void 0:At.totalExtraTime),1),FO])):(e.openBlock(),e.createElementBlock("div",OO,[PO,e.createElementVNode("div",LO,e.toDisplayString((Ft=(Tt=a.extraData)==null?void 0:Tt.timeAnalysis)==null?void 0:Ft.actualTime),1),WO,e.createElementVNode("div",HO,e.toDisplayString((Pt=(Ot=a.extraData)==null?void 0:Ot.timeAnalysis)==null?void 0:Pt.sailingTime),1),$O,e.createElementVNode("div",MO,e.toDisplayString((so=(no=a.extraData)==null?void 0:no.timeAnalysis)==null?void 0:so.portTime),1),IO,e.createElementVNode("div",GO,e.toDisplayString((co=(io=a.extraData)==null?void 0:io.timeAnalysis)==null?void 0:co.totalExtraTime),1),RO]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",zO,[e.createElementVNode("div",UO,[YO,e.createElementVNode("div",ZO,e.toDisplayString(((mo=(ro=a.extraData)==null?void 0:ro.timeAnalysis)==null?void 0:mo.sailingTime)??"—"),1)]),e.createElementVNode("div",QO,[JO,e.createElementVNode("div",KO,e.toDisplayString(((ho=(po=a.extraData)==null?void 0:po.timeAnalysis)==null?void 0:ho.portTime)??"—"),1)]),e.createElementVNode("div",jO,[uO,e.createElementVNode("div",XO,e.toDisplayString(((Eo=(_o=a.extraData)==null?void 0:_o.timeAnalysis)==null?void 0:Eo.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",qO,[e.createElementVNode("div",vO,[eP,e.createElementVNode("div",tP,e.toDisplayString((Ie=(S=a.extraData)==null?void 0:S.timeAnalysis)==null?void 0:Ie.sailingTime),1)]),e.createElementVNode("div",oP,[lP,e.createElementVNode("div",aP,e.toDisplayString((nt=(at=a.extraData)==null?void 0:at.timeAnalysis)==null?void 0:nt.actualTime),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",nP,[sP,e.createElementVNode("div",iP,e.toDisplayString(((Lt=(ht=a.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:Lt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",cP,[dP,e.createElementVNode("div",rP,e.toDisplayString((Ht=(Wt=a.extraData)==null?void 0:Wt.timeAnalysis)==null?void 0:Ht.totalExtraTime),1)])])),mP,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",pP,[e.createElementVNode("div",hP,[_P,e.createElementVNode("div",EP,[e.createElementVNode("div",null,e.toDisplayString(($t=a.extraData)==null?void 0:$t.extraDist),1),yP,e.createElementVNode("div",null,e.toDisplayString((It=(Mt=a.extraData)==null?void 0:Mt.cp)==null?void 0:It.speed),1)]),NP,e.createElementVNode("div",VP,[e.createElementVNode("div",null,e.toDisplayString((Rt=(Gt=a.extraData)==null?void 0:Gt.cp)==null?void 0:Rt.fo),1),fP,bP]),xP,e.createElementVNode("div",gP,e.toDisplayString((Yt=(Ut=(zt=a.extraData)==null?void 0:zt.consAnalysis)==null?void 0:Ut.fo)==null?void 0:Yt.sailingCons),1),DP]),e.createElementVNode("div",kP,[CP,e.createElementVNode("div",SP,e.toDisplayString((Jt=(Qt=(Zt=a.extraData)==null?void 0:Zt.consAnalysis)==null?void 0:Qt.fo)==null?void 0:Jt.sailingCons),1),BP,e.createElementVNode("div",wP,e.toDisplayString(n.computeNum((ut=(jt=(Kt=a.extraData)==null?void 0:Kt.consAnalysis)==null?void 0:jt.fo)==null?void 0:ut.portCons)),1),AP,e.createElementVNode("div",TP,e.toDisplayString((vt=(qt=(Xt=a.extraData)==null?void 0:Xt.consAnalysis)==null?void 0:qt.fo)==null?void 0:vt.totalExtraCons),1),FP]),e.createElementVNode("div",OP,[PP,e.createElementVNode("div",LP,[e.createElementVNode("div",null,e.toDisplayString((eo=a.extraData)==null?void 0:eo.extraDist),1),WP,e.createElementVNode("div",null,e.toDisplayString((oo=(to=a.extraData)==null?void 0:to.cp)==null?void 0:oo.speed),1)]),HP,e.createElementVNode("div",$P,[e.createElementVNode("div",null,e.toDisplayString((yo=(lo=a.extraData)==null?void 0:lo.cp)==null?void 0:yo.dgo),1),MP,IP]),GP,e.createElementVNode("div",RP,e.toDisplayString((fo=(Vo=(No=a.extraData)==null?void 0:No.consAnalysis)==null?void 0:Vo.dgo)==null?void 0:fo.sailingCons),1),zP]),e.createElementVNode("div",UP,[YP,e.createElementVNode("div",ZP,e.toDisplayString((go=(xo=(bo=a.extraData)==null?void 0:bo.consAnalysis)==null?void 0:xo.dgo)==null?void 0:go.sailingCons),1),QP,e.createElementVNode("div",JP,e.toDisplayString(n.computeNum((Co=(ko=(Do=a.extraData)==null?void 0:Do.consAnalysis)==null?void 0:ko.dgo)==null?void 0:Co.portCons)),1),KP,e.createElementVNode("div",jP,e.toDisplayString((wo=(Bo=(So=a.extraData)==null?void 0:So.consAnalysis)==null?void 0:Bo.dgo)==null?void 0:wo.totalExtraCons),1),uP])])):(e.openBlock(),e.createElementBlock("div",XP,[e.createElementVNode("div",qP,[vP,e.createElementVNode("div",eL,[e.createElementVNode("div",null,e.toDisplayString((Ao=a.extraData)==null?void 0:Ao.priorDist),1),tL,e.createElementVNode("div",null,e.toDisplayString((Fo=(To=a.extraData)==null?void 0:To.cp)==null?void 0:Fo.speed),1)]),oL,e.createElementVNode("div",lL,[e.createElementVNode("div",null,e.toDisplayString((Po=(Oo=a.extraData)==null?void 0:Oo.cp)==null?void 0:Po.fo),1),aL,nL]),sL,e.createElementVNode("div",iL,e.toDisplayString((Ho=(Wo=(Lo=a.extraData)==null?void 0:Lo.consAnalysis)==null?void 0:Wo.fo)==null?void 0:Ho.sailingCons),1),cL]),e.createElementVNode("div",dL,[rL,e.createElementVNode("div",mL,[e.createElementVNode("div",null,e.toDisplayString(($o=a.extraData)==null?void 0:$o.priorDist),1),pL,e.createElementVNode("div",null,e.toDisplayString((zo=(Ro=a.extraData)==null?void 0:Ro.cp)==null?void 0:zo.speed),1)]),hL,e.createElementVNode("div",_L,[e.createElementVNode("div",null,e.toDisplayString((Yo=(Uo=a.extraData)==null?void 0:Uo.cp)==null?void 0:Yo.dgo),1),EL,yL]),NL,e.createElementVNode("div",VL,e.toDisplayString((Jo=(Qo=(Zo=a.extraData)==null?void 0:Zo.consAnalysis)==null?void 0:Qo.dgo)==null?void 0:Jo.sailingCons),1),fL]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",bL,[xL,e.createElementVNode("div",gL,e.toDisplayString((uo=(jo=(Ko=a.extraData)==null?void 0:Ko.consAnalysis)==null?void 0:jo.fo)==null?void 0:uo.actualCons),1),DL,e.createElementVNode("div",kL,e.toDisplayString(n.computeNum((vo=(qo=(Xo=a.extraData)==null?void 0:Xo.consAnalysis)==null?void 0:qo.fo)==null?void 0:vo.sailingCons)),1),CL,e.createElementVNode("div",SL,e.toDisplayString((ol=(tl=(el=a.extraData)==null?void 0:el.consAnalysis)==null?void 0:tl.fo)==null?void 0:ol.totalExtraCons),1),BL])):(e.openBlock(),e.createElementBlock("div",wL,[AL,e.createElementVNode("div",TL,e.toDisplayString((nl=(al=(ll=a.extraData)==null?void 0:ll.consAnalysis)==null?void 0:al.fo)==null?void 0:nl.actualCons),1),FL,e.createElementVNode("div",OL,e.toDisplayString(n.computeNum((cl=(il=(sl=a.extraData)==null?void 0:sl.consAnalysis)==null?void 0:il.fo)==null?void 0:cl.sailingCons)),1),PL,e.createElementVNode("div",LL,e.toDisplayString(n.computeNum((st=(rl=(dl=a.extraData)==null?void 0:dl.consAnalysis)==null?void 0:rl.fo)==null?void 0:st.portCons)),1),WL,e.createElementVNode("div",HL,e.toDisplayString((yl=(El=(pl=a.extraData)==null?void 0:pl.consAnalysis)==null?void 0:El.fo)==null?void 0:yl.totalExtraCons),1),$L])),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",ML,[IL,e.createElementVNode("div",GL,e.toDisplayString((fl=(Vl=(Nl=a.extraData)==null?void 0:Nl.consAnalysis)==null?void 0:Vl.dgo)==null?void 0:fl.actualCons),1),RL,e.createElementVNode("div",zL,e.toDisplayString((gl=(xl=(bl=a.extraData)==null?void 0:bl.consAnalysis)==null?void 0:xl.dgo)==null?void 0:gl.sailingCons),1),UL,e.createElementVNode("div",YL,e.toDisplayString((Cl=(kl=(Dl=a.extraData)==null?void 0:Dl.consAnalysis)==null?void 0:kl.dgo)==null?void 0:Cl.totalExtraCons),1),ZL])):(e.openBlock(),e.createElementBlock("div",QL,[JL,e.createElementVNode("div",KL,e.toDisplayString((wl=(Bl=(Sl=a.extraData)==null?void 0:Sl.consAnalysis)==null?void 0:Bl.dgo)==null?void 0:wl.actualCons),1),jL,e.createElementVNode("div",uL,e.toDisplayString(n.computeNum((Fl=(Tl=(Al=a.extraData)==null?void 0:Al.consAnalysis)==null?void 0:Tl.dgo)==null?void 0:Fl.sailingCons)),1),XL,e.createElementVNode("div",qL,e.toDisplayString(n.computeNum((Ll=(Pl=(Ol=a.extraData)==null?void 0:Ol.consAnalysis)==null?void 0:Pl.dgo)==null?void 0:Ll.portCons)),1),vL,e.createElementVNode("div",eW,e.toDisplayString(($l=(Hl=(Wl=a.extraData)==null?void 0:Wl.consAnalysis)==null?void 0:Hl.dgo)==null?void 0:$l.totalExtraCons),1),tW]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",oW,[lW,e.createElementVNode("div",aW,[nW,e.createElementVNode("div",sW,e.toDisplayString(((Gl=(Il=(Ml=a.extraData)==null?void 0:Ml.consAnalysis)==null?void 0:Il.fo)==null?void 0:Gl.sailingCons)??"—"),1),e.createElementVNode("div",iW,e.toDisplayString(((Ul=(zl=(Rl=a.extraData)==null?void 0:Rl.consAnalysis)==null?void 0:zl.dgo)==null?void 0:Ul.sailingCons)??"—"),1)]),e.createElementVNode("div",cW,[dW,e.createElementVNode("div",rW,e.toDisplayString(((Ql=(Zl=(Yl=a.extraData)==null?void 0:Yl.consAnalysis)==null?void 0:Zl.fo)==null?void 0:Ql.portCons)??"—"),1),e.createElementVNode("div",mW,e.toDisplayString(((jl=(Kl=(Jl=a.extraData)==null?void 0:Jl.consAnalysis)==null?void 0:Kl.dgo)==null?void 0:jl.portCons)??"—"),1)]),e.createElementVNode("div",pW,[hW,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ql=(Xl=(ul=a.extraData)==null?void 0:ul.consAnalysis)==null?void 0:Xl.fo)==null?void 0:ql.totalExtraCons)} flex blue center`)},e.toDisplayString(((ta=(ea=(vl=a.extraData)==null?void 0:vl.consAnalysis)==null?void 0:ea.fo)==null?void 0:ta.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((aa=(la=(oa=a.extraData)==null?void 0:oa.consAnalysis)==null?void 0:la.dgo)==null?void 0:aa.totalExtraCons)} flex blue center`)},e.toDisplayString(((ia=(sa=(na=a.extraData)==null?void 0:na.consAnalysis)==null?void 0:sa.dgo)==null?void 0:ia.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",_W,[EW,e.createElementVNode("div",yW,[NW,e.createElementVNode("div",VW,e.toDisplayString((ra=(da=(ca=a.extraData)==null?void 0:ca.consAnalysis)==null?void 0:da.fo)==null?void 0:ra.sailingCons),1),e.createElementVNode("div",fW,e.toDisplayString((ha=(pa=(ma=a.extraData)==null?void 0:ma.consAnalysis)==null?void 0:pa.dgo)==null?void 0:ha.sailingCons),1)]),e.createElementVNode("div",bW,[xW,e.createElementVNode("div",gW,e.toDisplayString((ya=(Ea=(_a=a.extraData)==null?void 0:_a.consAnalysis)==null?void 0:Ea.fo)==null?void 0:ya.actualCons),1),e.createElementVNode("div",DW,e.toDisplayString((fa=(Va=(Na=a.extraData)==null?void 0:Na.consAnalysis)==null?void 0:Va.dgo)==null?void 0:fa.actualCons),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",kW,[CW,e.createElementVNode("div",SW,e.toDisplayString((ga=(xa=(ba=a.extraData)==null?void 0:ba.consAnalysis)==null?void 0:xa.fo)==null?void 0:ga.portCons),1),e.createElementVNode("div",BW,e.toDisplayString((Ca=(ka=(Da=a.extraData)==null?void 0:Da.consAnalysis)==null?void 0:ka.dgo)==null?void 0:Ca.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",wW,[AW,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((wa=(Ba=(Sa=a.extraData)==null?void 0:Sa.consAnalysis)==null?void 0:Ba.fo)==null?void 0:wa.totalExtraCons)} flex blue center`)},e.toDisplayString((Fa=(Ta=(Aa=a.extraData)==null?void 0:Aa.consAnalysis)==null?void 0:Ta.fo)==null?void 0:Fa.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((La=(Pa=(Oa=a.extraData)==null?void 0:Oa.consAnalysis)==null?void 0:Pa.dgo)==null?void 0:La.totalExtraCons)} flex blue center`)},e.toDisplayString(($a=(Ha=(Wa=a.extraData)==null?void 0:Wa.consAnalysis)==null?void 0:Ha.dgo)==null?void 0:$a.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]=Z=>a.advisory=Z),height:"320px",onBlur:s[9]||(s[9]=Z=>n.handleCommit("comments","comments",Z))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[10]||(s[10]=(...Z)=>n.decideDisable&&n.decideDisable(...Z)),innerHTML:a.advisory&&a.advisory!=="<p><br></p>"?a.advisory:"Please double click to modify remark"},null,40,TW))],2)])}const Mn=Ce(XA,[["render",FW],["__scopeId","data-v-eba493df"]]),OW={install(t){t.component("DeviationReport",$n),t.component("FliDeviationReport",Mn)}},oY="",PW={name:"OrmStoppage",components:{IdmBrand:Io,Editor:Go},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBFpFvBonCYK2EwwGdyKc94I0SgAfI4wbhdFZJoART1UAK4Bf38vK/Jsz5yRb+8b0GhfKzsNsPKOenyo3Wb7J7jEccCDZNWXIgEoWCQKDdCTfmJc/ELl8k+M2dZzUS1vYt5qUXI0CHWCrDpFgFQVJYFnem1CLvDSBe/pDbAdAOA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R2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,remarks:void 0,editable:!1,loading:!0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${K(t).utc().format(s)}`:""}},computeLat(){return function(t){return ae.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ae.LngLatHelper.lng2pretty(t,2)}},computeRoundPrecision(){return function(t,s=3){return t==="-"?"-":ae.LngLatHelper.roundPrecision(t,s)}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},methods:{handleCommit(t){this.editable=!1,this.remarks=t,this.$emit("commit",t)}}},Ae=t=>(e.pushScopeId("data-v-e829fef7"),t=t(),e.popScopeId(),t),LW={class:"stoppage-report"},WW={class:"content-box"},HW={class:"info-box border"},$W={class:"flex-between row"},MW={class:"flex-between",style:{width:"48%"}},IW=Ae(()=>e.createElementVNode("label",{class:"label"},"Prepared For:",-1)),GW={class:"flex-between",style:{width:"48%"}},RW=Ae(()=>e.createElementVNode("label",{class:"label"},"Departure Port:",-1)),zW={style:{"margin-left":"5px"}},UW={class:"flex-between row"},YW={class:"flex-between",style:{width:"48%"}},ZW=Ae(()=>e.createElementVNode("label",{class:"label"},"Vessel:",-1)),QW={class:"flex-between",style:{width:"48%"}},JW=Ae(()=>e.createElementVNode("label",{class:"label"},"Arrival Port:",-1)),KW={style:{"margin-left":"5px"}},jW={class:"flex-between row"},uW={class:"flex-between",style:{width:"48%"}},XW=Ae(()=>e.createElementVNode("label",{class:"label"},"Voyage No:",-1)),qW={class:"flex-between",style:{width:"48%"}},vW=Ae(()=>e.createElementVNode("label",{class:"label"},"Load Condition:",-1)),eH={class:"section summary-section"},tH=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Summary",-1)),oH={class:"formula-block flex-between border"},lH={class:"item"},aH=Ae(()=>e.createElementVNode("div",{class:"title"},"Total Time Lost",-1)),nH={class:"value flex-end"},sH={key:0},iH=Ae(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),cH={class:"gain"},dH=Ae(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),rH={key:1},mH=Ae(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),pH={class:"lost"},hH=Ae(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),_H={key:2},EH={class:"item"},yH=Ae(()=>e.createElementVNode("div",{class:"title"},"FO Total Consumption",-1)),NH={class:"value flex-end"},VH={key:0},fH=Ae(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),bH={class:"gain"},xH=Ae(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),gH={key:1},DH=Ae(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),kH={class:"lost"},CH=Ae(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),SH={key:2},BH={class:"item"},wH=Ae(()=>e.createElementVNode("div",{class:"title"},"MGO Total Consumption",-1)),AH={class:"value flex-end"},TH={key:0},FH=Ae(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),OH={class:"gain"},PH=Ae(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),LH={key:1},WH=Ae(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),HH={class:"lost"},$H=Ae(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),MH={key:2},IH=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Remarks",-1)),GH={class:"section-content"},RH={key:0,class:""},zH=["innerHTML"],UH={key:1},YH={class:"section table-section"},ZH=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Stoppage Info",-1)),QH=Ae(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:2,class:"label"},"NQ"),e.createElementVNode("th",{rowspan:2,class:"label"},"Activity"),e.createElementVNode("th",{rowspan:2,class:"label"},"Position"),e.createElementVNode("th",{rowspan:2,class:"label"},"Date"),e.createElementVNode("th",{colspan:2,class:"label"},"BROB (mt)"),e.createElementVNode("th",{rowspan:2,class:"label"},"Time Lost (hrs)"),e.createElementVNode("th",{colspan:2,class:"label"},"TTL CONS (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO")])],-1)),JH=Ae(()=>e.createElementVNode("td",{rowspan:2},"1",-1)),KH=Ae(()=>e.createElementVNode("td",null,"Stopped",-1)),jH={rowspan:2},uH={rowspan:2},XH={rowspan:2},qH=Ae(()=>e.createElementVNode("td",null,"Resumed",-1)),vH={class:"section map-section"},e$=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Voayge Map",-1)),t$=["src"];function o$(t,s,l,r,a,n){var p,b,x,h,y,k,g,C,D,T,F,B,w,V,O,I,G,R,z,_,L,$,W,P,M,Q,U,J,ne,se,o,u,v,ee,te,oe,le,ie,ce,de,_e,X,me,Ee,ye;const E=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",LW,[e.createVNode(E,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",WW,[e.createElementVNode("div",HW,[e.createElementVNode("div",$W,[e.createElementVNode("div",MW,[IW,e.createElementVNode("div",null,e.toDisplayString((p=l.report)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",GW,[RW,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((x=(b=l.report)==null?void 0:b.departure)==null?void 0:x.name),1),e.createTextVNode(" , "),e.createElementVNode("span",zW,e.toDisplayString(n.computeUTCTime(((y=(h=l.report)==null?void 0:h.departure)==null?void 0:y.atd)||((g=(k=l.report)==null?void 0:k.departure)==null?void 0:g.etd))),1)])])]),e.createElementVNode("div",UW,[e.createElementVNode("div",YW,[ZW,e.createElementVNode("div",null,e.toDisplayString((D=(C=l.report)==null?void 0:C.vessel)==null?void 0:D.name),1)]),e.createElementVNode("div",QW,[JW,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((F=(T=l.report)==null?void 0:T.arrival)==null?void 0:F.name),1),e.createTextVNode(" , "),e.createElementVNode("span",KW,e.toDisplayString(n.computeUTCTime(((w=(B=l.report)==null?void 0:B.arrival)==null?void 0:w.ata)||((O=(V=l.report)==null?void 0:V.arrival)==null?void 0:O.eta))),1)])])]),e.createElementVNode("div",jW,[e.createElementVNode("div",uW,[XW,e.createElementVNode("div",null,e.toDisplayString((G=(I=l.report)==null?void 0:I.voyage)==null?void 0:G.number),1)]),e.createElementVNode("div",qW,[vW,e.createElementVNode("div",null,e.toDisplayString((z=(R=l.report)==null?void 0:R.voyage)==null?void 0:z.loadCondition),1)])])]),e.createElementVNode("div",eH,[tH,e.createElementVNode("div",oH,[e.createElementVNode("div",lH,[aH,e.createElementVNode("div",nH,[((_=l.report)==null?void 0:_.totalTime)<0?(e.openBlock(),e.createElementBlock("div",sH,[iH,e.createElementVNode("span",cH,e.toDisplayString((L=l.report)==null?void 0:L.totalTime),1),dH])):(($=l.report)==null?void 0:$.totalTime)>=0?(e.openBlock(),e.createElementBlock("div",rH,[mH,e.createElementVNode("span",pH,e.toDisplayString((W=l.report)==null?void 0:W.totalTime),1),hH])):(e.openBlock(),e.createElementBlock("div",_H,"N/A"))])]),e.createElementVNode("div",EH,[yH,e.createElementVNode("div",NH,[((P=l.report)==null?void 0:P.totalFoCons)<0?(e.openBlock(),e.createElementBlock("div",VH,[fH,e.createElementVNode("span",bH,e.toDisplayString((M=l.report)==null?void 0:M.totalFoCons),1),xH])):((Q=l.report)==null?void 0:Q.totalFoCons)>=0?(e.openBlock(),e.createElementBlock("div",gH,[DH,e.createElementVNode("span",kH,e.toDisplayString((U=l.report)==null?void 0:U.totalFoCons),1),CH])):(e.openBlock(),e.createElementBlock("div",SH,"N/A"))])]),e.createElementVNode("div",BH,[wH,e.createElementVNode("div",AH,[((J=l.report)==null?void 0:J.totalDgoCons)<0?(e.openBlock(),e.createElementBlock("div",TH,[FH,e.createElementVNode("span",OH,e.toDisplayString((ne=l.report)==null?void 0:ne.totalDgoCons),1),PH])):((se=l.report)==null?void 0:se.totalDgoCons)>=0?(e.openBlock(),e.createElementBlock("div",LH,[WH,e.createElementVNode("span",HH,e.toDisplayString((o=l.report)==null?void 0:o.totalDgoCons),1),$H])):(e.openBlock(),e.createElementBlock("div",MH,"N/A"))])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(a.remarks)?"print-hidden":""])},[IH,e.createElementVNode("div",GH,[a.editable?(e.openBlock(),e.createElementBlock("div",RH,[a.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=re=>a.remarks=re),class:"editor",height:"80px",onBlur:s[1]||(s[1]=re=>n.handleCommit(re))},null,8,["modelValue"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-block",onDblclick:s[2]||(s[2]=re=>a.editable=!0)},[n.computeBlankHtml(a.remarks)?(e.openBlock(),e.createElementBlock("div",UH,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:a.remarks},null,8,zH))],32))])],2),e.createElementVNode("div",YH,[ZH,e.createElementVNode("table",null,[QH,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[JH,KH,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((u=l.report)==null?void 0:u.stopLat).pretty)+" / "+e.toDisplayString(n.computeLng((v=l.report)==null?void 0:v.stopLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((ee=l.report)==null?void 0:ee.stopTime)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((te=l.report)==null?void 0:te.stopFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((oe=l.report)==null?void 0:oe.stopDgoBrob)??"-")),1),e.createElementVNode("td",jH,e.toDisplayString(n.computeRoundPrecision(((le=l.report)==null?void 0:le.totalTime)??"-")),1),e.createElementVNode("td",uH,e.toDisplayString(n.computeRoundPrecision(((ie=l.report)==null?void 0:ie.totalFoCons)??"-")),1),e.createElementVNode("td",XH,e.toDisplayString(n.computeRoundPrecision(((ce=l.report)==null?void 0:ce.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[qH,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((de=l.report)==null?void 0:de.resumeLat).pretty)+" / "+e.toDisplayString(n.computeLng((_e=l.report)==null?void 0:_e.resumeLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((X=l.report)==null?void 0:X.resumeTime)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((me=l.report)==null?void 0:me.resumeFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((Ee=l.report)==null?void 0:Ee.resumeDgoBrob)??"-")),1)])])])]),e.createElementVNode("div",vH,[e$,e.createElementVNode("img",{src:(ye=l.report)==null?void 0:ye.chartUrl,alt:""},null,8,t$)])])])}const In=Ce(PW,[["render",o$],["__scopeId","data-v-e829fef7"]]),l$={install(t){t.component("StoppageReport",In)}},lY="",a$={name:"OrmComparison",components:{Editor:Go,IdmBrand:Io},props:{report:{type:Object,default:()=>({})}},emits:["commit","refresh"],data(){return{advisory:void 0,id:void 0,editable:!1}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return t?`${K(t).utc().format(s)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,s){return t&&s?ae.LngLatHelper.roundPrecision(t-s):"-"}},computeSummary(){return function(t,s){if(t===0)return"No difference";let l="";return t>0?s==="time"?l=`Lost ${t}hrs`:l=`Over consumption ${t}mt`:s==="time"?l=`Saving ${Math.abs(t)}hrs`:l=`Under consumption ${Math.abs(t)}mt`,l}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(){var t,s;(t=this.report)!=null&&t.id&&(this.advisory=((s=this.report)==null?void 0:s.comments)||"")},immediate:!0}},methods:{async handleCommit(t,s){this.editable=!1,this.advisory=s,this.$emit("commit",{key:t,value:s})}}},Ve=t=>(e.pushScopeId("data-v-99108259"),t=t(),e.popScopeId(),t),n$={class:"comparison-report"},s$={class:"report-summary"},i$={class:"summary-item"},c$=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),d$={class:"flexL gray"},r$={class:"summary-item"},m$=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),p$={class:"flexL gray"},h$={class:"summary-item"},_$=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),E$={class:"flexL gray"},y$={class:"summary-item"},N$=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),V$={class:"flexL gray"},f$={class:"summary-item"},b$=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),x$={class:"flexL gray"},g$={class:"summary-item"},D$=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),k$={class:"flexL gray",style:{display:"flex"}},C$={class:"flex"},S$={class:"flexM"},B$={class:"summary-item"},w$=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),A$={class:"flexL gray",style:{display:"flex"}},T$={class:"flex"},F$={class:"flexM"},O$=Ve(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),P$={class:"report-summary"},L$={class:"summary-item"},W$=Ve(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),H$={class:"summary-item"},$$=Ve(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),M$={class:"summary-item"},I$=Ve(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),G$=Ve(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),R$={class:"report-map"},z$=["src"],U$=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),Y$={key:0,class:"subtitle"},Z$={key:1,class:"report-summary"},Q$={class:"summary-item"},J$=Ve(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),K$={class:"flexL blue center"},j$={class:"summary-item"},u$=Ve(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),X$={class:"flexL blue center"},q$={class:"summary-item"},v$=Ve(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),eM={class:"flexL blue center"},tM=Ve(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),oM={class:"report-summary"},lM=Ve(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),aM={class:"summary-item"},nM=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),sM={class:"flex blue-light center"},iM={class:"flex blue-light center"},cM={class:"summary-item"},dM=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),rM={class:"flex blue-light center"},mM={class:"flex blue-light center"},pM={class:"summary-item"},hM=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),_M={class:"flex blue-light center"},EM={class:"flex blue-light center"},yM={class:"summary-item"},NM=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),VM={class:"flex blue-light center"},fM={class:"flex blue-light center"},bM={class:"summary-item"},xM=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),gM={class:"flex blue-light center"},DM={class:"flex blue-light center"},kM={class:"summary-item"},CM=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),SM={class:"flex blue-light center"},BM={class:"flex blue-light center"},wM={class:"summary-item"},AM=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),TM={class:"flex blue-light center italic"},FM=Ve(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),OM={class:"report-summary"},PM=Ve(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),LM={class:"summary-item"},WM=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),HM={class:"flex blue-light center"},$M={class:"flex blue-light center"},MM={class:"summary-item"},IM=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),GM={class:"flex blue-light center"},RM={class:"flex blue-light center"},zM={class:"summary-item"},UM=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),YM={class:"flex blue-light center"},ZM={class:"flex blue-light center"},QM={class:"summary-item"},JM=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),KM={class:"flex blue-light center"},jM={class:"flex blue-light center"},uM={class:"summary-item"},XM=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),qM={class:"flex blue-light center italic"},vM={class:"summary-item"},eI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),tI={class:"flex blue-light center italic"},oI=["innerHTML"];function lI(t,s,l,r,a,n){var p,b,x,h,y,k,g,C,D,T,F,B,w,V,O,I,G,R,z,_,L,$,W,P,M,Q,U,J,ne,se,o,u,v,ee,te,oe,le,ie,ce,de,_e,X,me,Ee,ye,re,fe,be,xe,ge,De,ke,Te,Fe,Oe,Pe,Le,We,He,$e;const E=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",n$,[e.createVNode(E,{name:"Voyage Comparison Report"}),e.createElementVNode("div",s$,[e.createElementVNode("div",i$,[c$,e.createElementVNode("div",d$,e.toDisplayString((b=(p=l.report)==null?void 0:p.vessel)==null?void 0:b.name),1)]),e.createElementVNode("div",r$,[m$,e.createElementVNode("div",p$,e.toDisplayString((x=l.report)==null?void 0:x.preparedFor),1)]),e.createElementVNode("div",h$,[_$,e.createElementVNode("div",E$,e.toDisplayString((y=(h=l.report)==null?void 0:h.vessel)==null?void 0:y.type),1)]),e.createElementVNode("div",y$,[N$,e.createElementVNode("div",V$,e.toDisplayString((g=(k=l.report)==null?void 0:k.voyage)==null?void 0:g.loadCondition),1)]),e.createElementVNode("div",f$,[b$,e.createElementVNode("div",x$,e.toDisplayString((D=(C=l.report)==null?void 0:C.voyage)==null?void 0:D.number),1)]),e.createElementVNode("div",g$,[D$,e.createElementVNode("div",k$,[e.createElementVNode("span",C$,e.toDisplayString((F=(T=l.report)==null?void 0:T.departure)==null?void 0:F.name),1),e.createElementVNode("span",S$,e.toDisplayString(n.computeUTCTime(((w=(B=l.report)==null?void 0:B.departure)==null?void 0:w.atd)||((O=(V=l.report)==null?void 0:V.departure)==null?void 0:O.etd))),1)])]),e.createElementVNode("div",B$,[w$,e.createElementVNode("div",A$,[e.createElementVNode("span",T$,e.toDisplayString((G=(I=l.report)==null?void 0:I.arrival)==null?void 0:G.name),1),e.createElementVNode("span",F$,e.toDisplayString(n.computeUTCTime(((z=(R=l.report)==null?void 0:R.arrival)==null?void 0:z.ata)||((L=(_=l.report)==null?void 0:_.arrival)==null?void 0:L.eta))),1)])])]),O$,e.createElementVNode("div",P$,[e.createElementVNode("div",L$,[W$,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor(($=l.report)==null?void 0:$.diffTime)} flex blue`)},e.toDisplayString(n.computeSummary((W=l.report)==null?void 0:W.diffTime,"time")),3)]),e.createElementVNode("div",H$,[$$,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=l.report)==null?void 0:P.diffFoCons)} flex blue`)},e.toDisplayString(n.computeSummary((M=l.report)==null?void 0:M.diffFoCons,"oil")),3)]),e.createElementVNode("div",M$,[I$,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Q=l.report)==null?void 0:Q.diffDgoCons)} flex blue`)},e.toDisplayString(n.computeSummary((U=l.report)==null?void 0:U.diffDgoCons,"oil")),3)])]),G$,e.createElementVNode("div",R$,[e.createElementVNode("img",{style:{width:"100%"},src:(J=l.report)==null?void 0:J.chartUrl,alt:""},null,8,z$),U$]),(ne=l.report)!=null&&ne.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Y$,"CP Terms")),(se=l.report)!=null&&se.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Z$,[e.createElementVNode("div",Q$,[J$,e.createElementVNode("div",K$,e.toDisplayString(((u=(o=l.report)==null?void 0:o.cp)==null?void 0:u.speed)??"—"),1)]),e.createElementVNode("div",j$,[u$,e.createElementVNode("div",X$,e.toDisplayString(((ee=(v=l.report)==null?void 0:v.cp)==null?void 0:ee.fo)??"—"),1)]),e.createElementVNode("div",q$,[v$,e.createElementVNode("div",eM,e.toDisplayString(((oe=(te=l.report)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),tM,e.createElementVNode("div",oM,[lM,e.createElementVNode("div",aM,[nM,e.createElementVNode("div",sM,e.toDisplayString(((le=l.report)==null?void 0:le.actualDist)??"—"),1),e.createElementVNode("div",iM,e.toDisplayString(((ie=l.report)==null?void 0:ie.recmdDist)??"—"),1)]),e.createElementVNode("div",cM,[dM,e.createElementVNode("div",rM,e.toDisplayString(((ce=l.report)==null?void 0:ce.actualTime)??"—"),1),e.createElementVNode("div",mM,e.toDisplayString(((de=l.report)==null?void 0:de.recmdTime)??"—"),1)]),e.createElementVNode("div",pM,[hM,e.createElementVNode("div",_M,e.toDisplayString(((_e=l.report)==null?void 0:_e.actualAvgSpd)??"—"),1),e.createElementVNode("div",EM,e.toDisplayString(((X=l.report)==null?void 0:X.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",yM,[NM,e.createElementVNode("div",VM,e.toDisplayString(((me=l.report)==null?void 0:me.actualAvgCF)??"—"),1),e.createElementVNode("div",fM,e.toDisplayString(((Ee=l.report)==null?void 0:Ee.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",bM,[xM,e.createElementVNode("div",gM,e.toDisplayString(((ye=l.report)==null?void 0:ye.actualAvgWF)??"—"),1),e.createElementVNode("div",DM,e.toDisplayString(((re=l.report)==null?void 0:re.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",kM,[CM,e.createElementVNode("div",SM,e.toDisplayString(((fe=l.report)==null?void 0:fe.actualPfmSpd)??"—"),1),e.createElementVNode("div",BM,e.toDisplayString(((be=l.report)==null?void 0:be.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",wM,[AM,e.createElementVNode("div",TM,e.toDisplayString(n.compareTime((xe=l.report)==null?void 0:xe.actualTime,(ge=l.report)==null?void 0:ge.recmdTime)),1)])]),FM,e.createElementVNode("div",OM,[PM,e.createElementVNode("div",LM,[WM,e.createElementVNode("div",HM,e.toDisplayString(((De=l.report)==null?void 0:De.actualAvgFoCons)??"-"),1),e.createElementVNode("div",$M,e.toDisplayString(((ke=l.report)==null?void 0:ke.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",MM,[IM,e.createElementVNode("div",GM,e.toDisplayString(((Te=l.report)==null?void 0:Te.actualFoCons)??"-"),1),e.createElementVNode("div",RM,e.toDisplayString(((Fe=l.report)==null?void 0:Fe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",zM,[UM,e.createElementVNode("div",YM,e.toDisplayString(((Oe=l.report)==null?void 0:Oe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",ZM,e.toDisplayString(((Pe=l.report)==null?void 0:Pe.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",QM,[JM,e.createElementVNode("div",KM,e.toDisplayString(((Le=l.report)==null?void 0:Le.actualDgoCons)??"-"),1),e.createElementVNode("div",jM,e.toDisplayString(((We=l.report)==null?void 0:We.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",uM,[XM,e.createElementVNode("div",qM,e.toDisplayString(((He=l.report)==null?void 0:He.diffFoCons)??"-"),1)]),e.createElementVNode("div",vM,[eI,e.createElementVNode("div",tI,e.toDisplayString((($e=l.report)==null?void 0:$e.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(i,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[0]||(s[0]=Ne=>a.advisory=Ne),height:"320px",onBlur:s[1]||(s[1]=Ne=>n.handleCommit("comments",Ne))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=Ne=>a.editable=!a.editable),innerHTML:n.computeBlankHtml(a.advisory)?"Please double click to modify remark":a.advisory},null,40,oI))],2)])}const Gn=Ce(a$,[["render",lI],["__scopeId","data-v-99108259"]]),aY="",aI={name:"ComparisonFli",components:{Editor:Go},props:{data:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBFpFvBonCYK2EwwGdyKc94I0SgAfI4wbhdFZJoART1UAK4Bf38vK/Jsz5yRb+8b0GhfKzsNsPKOenyo3Wb7J7jEccCDZNWXIgEoWCQKDdCTfmJc/ELl8k+M2dZzUS1vYt5qUXI0CHWCrDpF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aOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return t?`${K(t).utc().format(s)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,s){return t&&s?ae.LngLatHelper.roundPrecision(t-s):"-"}},computeSummary(){return function(t,s){if(t===0)return"No difference";let l="";return t>0?s==="time"?l=`Lost ${t}hrs`:l=`Over consumption ${t}mt`:s==="time"?l=`Saving ${Math.abs(t)}hrs`:l=`Under consumption ${Math.abs(t)}mt`,l}}},watch:{data:{handler(t){t&&this.fetchData()},immediate:!0}},methods:{fetchData(){var t,s;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(s=this.data)==null?void 0:s.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,s){this.editable=!1;const l={[t]:s};await Qa.put(`${this.gateway}/api/als/comparisons/${this.id}`,l,{headers:{Authorization:this.token}}),this.advisory=s}}},he=t=>(e.pushScopeId("data-v-f7bdbf19"),t=t(),e.popScopeId(),t),nI={class:"comparison-report"},sI=he(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),iI={class:"report-header"},cI={class:"header-title",style:{position:"relative !important"}},dI={class:"header-title-content"},rI=he(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),mI={class:"title-date"},pI={class:"report-summary"},hI={class:"summary-item"},_I=he(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),EI={class:"flexL gray"},yI={class:"summary-item"},NI=he(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),VI={class:"flexL gray"},fI={class:"summary-item"},bI=he(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),xI={class:"flexL gray"},gI={class:"summary-item"},DI=he(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),kI={class:"flexL gray"},CI={class:"summary-item"},SI=he(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),BI={class:"flexL gray"},wI={class:"summary-item"},AI=he(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),TI={class:"flexL gray",style:{display:"flex"}},FI={class:"flex"},OI={class:"flexM"},PI={class:"summary-item"},LI=he(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),WI={class:"flexL gray",style:{display:"flex"}},HI={class:"flex"},$I={class:"flexM"},MI=he(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),II={class:"report-summary"},GI={class:"summary-item"},RI=he(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),zI={class:"summary-item"},UI=he(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),YI={class:"summary-item"},ZI=he(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),QI=he(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),JI={class:"report-map"},KI=["src"],jI=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),uI=he(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),XI={key:0,class:"subtitle"},qI={key:1,class:"report-summary"},vI={class:"summary-item"},eG=he(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),tG={class:"flexL blue center"},oG={class:"summary-item"},lG=he(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),aG={class:"flexL blue center"},nG={class:"summary-item"},sG=he(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),iG={class:"flexL blue center"},cG=he(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),dG={class:"report-summary"},rG=he(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),mG={class:"summary-item"},pG=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),hG={class:"flex blue-light center"},_G={class:"flex blue-light center"},EG={class:"summary-item"},yG=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),NG={class:"flex blue-light center"},VG={class:"flex blue-light center"},fG={class:"summary-item"},bG=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),xG={class:"flex blue-light center"},gG={class:"flex blue-light center"},DG={class:"summary-item"},kG=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),CG={class:"flex blue-light center"},SG={class:"flex blue-light center"},BG={class:"summary-item"},wG=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),AG={class:"flex blue-light center"},TG={class:"flex blue-light center"},FG={class:"summary-item"},OG=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),PG={class:"flex blue-light center"},LG={class:"flex blue-light center"},WG={class:"summary-item"},HG=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),$G={class:"flex blue-light center italic"},MG=he(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),IG={class:"report-summary"},GG=he(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),RG={class:"summary-item"},zG=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),UG={class:"flex blue-light center"},YG={class:"flex blue-light center"},ZG={class:"summary-item"},QG=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),JG={class:"flex blue-light center"},KG={class:"flex blue-light center"},jG={class:"summary-item"},uG=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),XG={class:"flex blue-light center"},qG={class:"flex blue-light center"},vG={class:"summary-item"},eR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),tR={class:"flex blue-light center"},oR={class:"flex blue-light center"},lR={class:"summary-item"},aR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),nR={class:"flex blue-light center italic"},sR={class:"summary-item"},iR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),cR={class:"flex blue-light center italic"},dR=["innerHTML"];function rR(t,s,l,r,a,n){var i,p,b,x,h,y,k,g,C,D,T,F,B,w,V,O,I,G,R,z,_,L,$,W,P,M,Q,U,J,ne,se,o,u,v,ee,te,oe,le,ie,ce,de,_e,X,me,Ee,ye,re,fe,be,xe,ge,De,ke,Te,Fe,Oe,Pe,Le,We,He,$e;const E=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",nI,[sI,e.createElementVNode("div",iI,[e.createElementVNode("div",cI,[e.createElementVNode("div",dI,[rI,e.createElementVNode("div",mI,e.toDisplayString(n.computeUTCTime(((i=a.comparisonData)==null?void 0:i.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",pI,[e.createElementVNode("div",hI,[_I,e.createElementVNode("div",EI,e.toDisplayString((b=(p=a.comparisonData)==null?void 0:p.vessel)==null?void 0:b.name),1)]),e.createElementVNode("div",yI,[NI,e.createElementVNode("div",VI,e.toDisplayString((x=a.comparisonData)==null?void 0:x.preparedFor),1)]),e.createElementVNode("div",fI,[bI,e.createElementVNode("div",xI,e.toDisplayString((y=(h=a.comparisonData)==null?void 0:h.vessel)==null?void 0:y.type),1)]),e.createElementVNode("div",gI,[DI,e.createElementVNode("div",kI,e.toDisplayString((g=(k=a.comparisonData)==null?void 0:k.voyage)==null?void 0:g.loadCondition),1)]),e.createElementVNode("div",CI,[SI,e.createElementVNode("div",BI,e.toDisplayString((D=(C=a.comparisonData)==null?void 0:C.voyage)==null?void 0:D.number),1)]),e.createElementVNode("div",wI,[AI,e.createElementVNode("div",TI,[e.createElementVNode("span",FI,e.toDisplayString((F=(T=a.comparisonData)==null?void 0:T.departure)==null?void 0:F.name),1),e.createElementVNode("span",OI,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",PI,[LI,e.createElementVNode("div",WI,[e.createElementVNode("span",HI,e.toDisplayString((G=(I=a.comparisonData)==null?void 0:I.arrival)==null?void 0:G.name),1),e.createElementVNode("span",$I,e.toDisplayString(n.computeUTCTime(((z=(R=a.comparisonData)==null?void 0:R.arrival)==null?void 0:z.ata)||((L=(_=a.comparisonData)==null?void 0:_.arrival)==null?void 0:L.eta))),1)])])]),MI,e.createElementVNode("div",II,[e.createElementVNode("div",GI,[RI,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor(($=a.comparisonData)==null?void 0:$.diffTime)} flex blue`)},e.toDisplayString(n.computeSummary((W=a.comparisonData)==null?void 0:W.diffTime,"time")),3)]),e.createElementVNode("div",zI,[UI,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",YI,[ZI,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Q=a.comparisonData)==null?void 0:Q.diffDgoCons)} flex blue`)},e.toDisplayString(n.computeSummary((U=a.comparisonData)==null?void 0:U.diffDgoCons,"oil")),3)])]),QI,e.createElementVNode("div",JI,[e.createElementVNode("img",{style:{width:"100%"},src:(J=a.comparisonData)==null?void 0:J.chartUrl,alt:""},null,8,KI),jI]),uI,(ne=a.comparisonData)!=null&&ne.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",XI,"CP Terms")),(se=a.comparisonData)!=null&&se.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",qI,[e.createElementVNode("div",vI,[eG,e.createElementVNode("div",tG,e.toDisplayString(((u=(o=a.comparisonData)==null?void 0:o.cp)==null?void 0:u.speed)??"—"),1)]),e.createElementVNode("div",oG,[lG,e.createElementVNode("div",aG,e.toDisplayString(((ee=(v=a.comparisonData)==null?void 0:v.cp)==null?void 0:ee.fo)??"—"),1)]),e.createElementVNode("div",nG,[sG,e.createElementVNode("div",iG,e.toDisplayString(((oe=(te=a.comparisonData)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),cG,e.createElementVNode("div",dG,[rG,e.createElementVNode("div",mG,[pG,e.createElementVNode("div",hG,e.toDisplayString(((le=a.comparisonData)==null?void 0:le.actualDist)??"—"),1),e.createElementVNode("div",_G,e.toDisplayString(((ie=a.comparisonData)==null?void 0:ie.recmdDist)??"—"),1)]),e.createElementVNode("div",EG,[yG,e.createElementVNode("div",NG,e.toDisplayString(((ce=a.comparisonData)==null?void 0:ce.actualTime)??"—"),1),e.createElementVNode("div",VG,e.toDisplayString(((de=a.comparisonData)==null?void 0:de.recmdTime)??"—"),1)]),e.createElementVNode("div",fG,[bG,e.createElementVNode("div",xG,e.toDisplayString(((_e=a.comparisonData)==null?void 0:_e.actualAvgSpd)??"—"),1),e.createElementVNode("div",gG,e.toDisplayString(((X=a.comparisonData)==null?void 0:X.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",DG,[kG,e.createElementVNode("div",CG,e.toDisplayString(((me=a.comparisonData)==null?void 0:me.actualAvgCF)??"—"),1),e.createElementVNode("div",SG,e.toDisplayString(((Ee=a.comparisonData)==null?void 0:Ee.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",BG,[wG,e.createElementVNode("div",AG,e.toDisplayString(((ye=a.comparisonData)==null?void 0:ye.actualAvgWF)??"—"),1),e.createElementVNode("div",TG,e.toDisplayString(((re=a.comparisonData)==null?void 0:re.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",FG,[OG,e.createElementVNode("div",PG,e.toDisplayString(((fe=a.comparisonData)==null?void 0:fe.actualPfmSpd)??"—"),1),e.createElementVNode("div",LG,e.toDisplayString(((be=a.comparisonData)==null?void 0:be.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",WG,[HG,e.createElementVNode("div",$G,e.toDisplayString(n.compareTime((xe=a.comparisonData)==null?void 0:xe.actualTime,(ge=a.comparisonData)==null?void 0:ge.recmdTime)),1)])]),MG,e.createElementVNode("div",IG,[GG,e.createElementVNode("div",RG,[zG,e.createElementVNode("div",UG,e.toDisplayString(((De=a.comparisonData)==null?void 0:De.actualAvgFoCons)??"-"),1),e.createElementVNode("div",YG,e.toDisplayString(((ke=a.comparisonData)==null?void 0:ke.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",ZG,[QG,e.createElementVNode("div",JG,e.toDisplayString(((Te=a.comparisonData)==null?void 0:Te.actualFoCons)??"-"),1),e.createElementVNode("div",KG,e.toDisplayString(((Fe=a.comparisonData)==null?void 0:Fe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",jG,[uG,e.createElementVNode("div",XG,e.toDisplayString(((Oe=a.comparisonData)==null?void 0:Oe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",qG,e.toDisplayString(((Pe=a.comparisonData)==null?void 0:Pe.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",vG,[eR,e.createElementVNode("div",tR,e.toDisplayString(((Le=a.comparisonData)==null?void 0:Le.actualDgoCons)??"-"),1),e.createElementVNode("div",oR,e.toDisplayString(((We=a.comparisonData)==null?void 0:We.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",lR,[aR,e.createElementVNode("div",nR,e.toDisplayString(((He=a.comparisonData)==null?void 0:He.diffFoCons)??"-"),1)]),e.createElementVNode("div",sR,[iR,e.createElementVNode("div",cR,e.toDisplayString((($e=a.comparisonData)==null?void 0:$e.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[a.editable?(e.openBlock(),e.createBlock(E,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[0]||(s[0]=Ne=>a.advisory=Ne),height:"320px",onBlur:s[1]||(s[1]=Ne=>n.handleCommit("comments",Ne))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=(...Ne)=>n.decideDisable&&n.decideDisable(...Ne)),innerHTML:a.advisory&&a.advisory!=="<p><br></p>"?a.advisory:"Please double click to modify remark"},null,40,dR))],2)])}const Rn=Ce(aI,[["render",rR],["__scopeId","data-v-f7bdbf19"]]),mR={install(t){t.component("OrmComparisonReport",Gn),t.component("FliComparisonReport",Rn)}},nY="",pR={name:"IdmThird",props:{name:{type:String,default:""}}},hR={class:"section brand-section flex-space"},_R=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),ER={class:"report-box flex-space"},yR={class:"name flex-start"},NR=e.createStaticVNode('<div class="support flex-end" data-v-793a5781><img src="https://img.idmwx.com/asset/idm/qrcode_for_gh_976e5ac920c0_258.jpg" data-v-793a5781><div style="margin-left:10px;" data-v-793a5781><div class="name flex-space" data-v-793a5781><label data-v-793a5781>IDM Service Team</label></div><div class="desc flex-center" data-v-793a5781>Technical Support & Consulting Center</div></div></div>',1);function VR(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("div",hR,[_R,e.createElementVNode("div",ER,[e.createElementVNode("div",yR,e.toDisplayString(l.name),1),NR])])}const zn=Ce(pR,[["render",VR],["__scopeId","data-v-793a5781"]]),fR={install(t){t.component("IdmBrand",Io),t.component("IdmThird",zn)}},sY="",iY="",bR={name:"QuotaReport",components:{Brand:Io},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$280",0,0,0,0,0,0,0,0,0,0,0],["$280","$280",0,0,0,0,0,0,0,0,0,0],["$450","$350","$280",0,0,0,0,0,0,0,0,0],["$450","$350","$500","$280",0,0,0,0,0,0,0,0],["$600","$450","$450","$350","$280",0,0,0,0,0,0,0],["$720","$680","$680","CGH $550","$450","$280",0,0,0,0,0,0],["$850","$800","$800","SUE $350","SUE $350","$500","$280",0,0,0,0,0],["SUE $900<br/>CGH $1050","SUE $900<br/>CGH $1050","SUE $900<br/>CGH $1150<br/>CHC $1150<br/>PMP $1250","SUE 450<br/>CGH $1300","SUE $450","$600","$400","$280",0,0,0,0],["$1050","$1050","$950","CGH $850","$700","$500","$600","$650","$280",0,0,0],["$800","$800","DIR $700<br/>CHC $1000","CHC $1100","CHC $1100","PMP $550<br/>CHC $700","PMP $600<br/>CHC $1000","PMP $650<br/>CHC $1000","$450","$280",0,0],["$1050","$1100","PMP $1050<br/>CGH $1150<br/>SUE $1100","SUE $800<br/>CGH $1100","SUE $750<br/>CGH $1000","$500","$600","$600","$500","PMP $450<br/>CHC $1150","$280",0],["$750","$800","$800","SGP $900<br/>PMP $1350<br/>CHC $1350","SGP $900<br/>PMP $1000<br/>CHC $1200","PMP $900<br/>CHC $1150","$850","PMP $900<br/>CHC $1250","PMP $900<br/>CHC $1050","PMP $450<br/>CHC $1150","PMP $540<br/>CHC $1300","$280"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){hl.accessToken=this.mapboxToken,this.map=new hl.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Un=t=>(e.pushScopeId("data-v-f3647134"),t=t(),e.popScopeId(),t),xR={class:"quota-report"},gR=Un(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),DR={class:"section quota-section"},kR=Un(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),CR={class:"label"},SR={class:"label"},BR=["innerHTML"],wR=e.createStaticVNode('<div class="legend-block flex-space" data-v-f3647134><div class="legend" data-v-f3647134><label data-v-f3647134>DIR</label><span data-v-f3647134>DIRECT</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>PMP</label><span data-v-f3647134>via PANAMA CHANNEL</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>SUE</label><span data-v-f3647134>via SUEZ CHANNEL</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>CGH</label><span data-v-f3647134>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>CHC</label><span data-v-f3647134>Passing CAPE HORN</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>SCG</label><span data-v-f3647134>Passing SINGAPORE</span></div></div>',1);function AR(t,s,l,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",xR,[e.createVNode(E,{name:"Quotation Sheet"}),gR,e.createElementVNode("div",DR,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[kR,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(i,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",CR,e.toDisplayString(i.rank),1),e.createElementVNode("td",SR,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:a.quota[p][b-1]||""},null,8,BR))),128))]))),128))])]),wR])])}const Yn=Ce(bR,[["render",AR],["__scopeId","data-v-f3647134"]]),cY="",TR={name:"QuotaReport",components:{Brand:Io},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$500",0,0,0,0,0,0,0,0,0,0,0],["$500","$500",0,0,0,0,0,0,0,0,0,0],["$650","$550","$500",0,0,0,0,0,0,0,0,0],["$650","$550","$700","$500",0,0,0,0,0,0,0,0],["$800","$650","$650","$550","$500",0,0,0,0,0,0,0],["$920","$880","$880","CGH $750","$650","$500",0,0,0,0,0,0],["$1050","$1000","$1000","SUE $550","SUE $550","$700","$500",0,0,0,0,0],["SUE $1100<br/>CGH $1250","SUE $1100<br/>CGH $1250","SUE $1100<br/>CGH $1350<br/>CHC $1350<br/>PMP $1450","SUE 650<br/>CGH $1500","SUE $650","$800","$600","$500",0,0,0,0],["$1250","$1250","$1150","CGH $1050","$900","$700","$800","$850","$500",0,0,0],["$1000","$1000","DIR $900<br/>CHC $1200","CHC $1300","CHC $1300","PMP $750<br/>CHC $900","PMP $800<br/>CHC $1200","PMP $850<br/>CHC $1200","$650","$500",0,0],["$1250","$1300","PMP $1250<br/>CGH $1350<br/>SUE $1300","SUE $1000<br/>CGH $1300","SUE $950<br/>CGH $1200","$700","$800","$800","$700","PMP $650<br/>CHC $1350","$500",0],["$950","$1000","$1000","SGP $1100<br/>PMP $1550<br/>CHC $1550","SGP $1100<br/>PMP $1200<br/>CHC $1400","PMP $1100<br/>CHC $1350","$1050","PMP $1100<br/>CHC $1450","PMP $1100<br/>CHC $1250","PMP $650<br/>CHC $1350","PMP $740<br/>CHC $1500","$500"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){hl.accessToken=this.mapboxToken,this.map=new hl.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Zn=t=>(e.pushScopeId("data-v-e3ab3a93"),t=t(),e.popScopeId(),t),FR={class:"quota-report"},OR=Zn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),PR={class:"section quota-section"},LR=Zn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),WR={class:"label"},HR={class:"label"},$R=["innerHTML"],MR=e.createStaticVNode('<div class="legend-block flex-space" data-v-e3ab3a93><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>DIR</label><span data-v-e3ab3a93>DIRECT</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>PMP</label><span data-v-e3ab3a93>via PANAMA CHANNEL</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>SUE</label><span data-v-e3ab3a93>via SUEZ CHANNEL</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>CGH</label><span data-v-e3ab3a93>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>CHC</label><span data-v-e3ab3a93>Passing CAPE HORN</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>SCG</label><span data-v-e3ab3a93>Passing SINGAPORE</span></div></div>',1);function IR(t,s,l,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",FR,[e.createVNode(E,{name:"Quotation Sheet"}),OR,e.createElementVNode("div",PR,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[LR,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(i,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",WR,e.toDisplayString(i.rank),1),e.createElementVNode("td",HR,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:a.quota[p][b-1]||""},null,8,$R))),128))]))),128))])]),MR])])}const Qn=Ce(TR,[["render",IR],["__scopeId","data-v-e3ab3a93"]]),dY="",GR={name:"QuotaReport",components:{Brand:Io},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$150",0,0,0,0,0,0,0,0,0,0,0],["$150","$150",0,0,0,0,0,0,0,0,0,0],["$280","$230","$150",0,0,0,0,0,0,0,0,0],["$280","$230","$330","$150",0,0,0,0,0,0,0,0],["$395","$280","$280","$230","$150",0,0,0,0,0,0,0],["$475","$450","$450","CGH $365","$280","$150",0,0,0,0,0,0],["$560","$530","$530","SUE $230","SUE $230","$330","$150",0,0,0,0,0],["SUE $595<br/>CGH $690","SUE $595<br/>CGH $690","SUE $595<br/>CGH $760<br/>CHC $760<br/>PMP $830","SUE 280<br/>CGH $860","SUE $280","$395","$265","$150",0,0,0,0],["$690","$690","$630","CGH $560","$460","$330","$395","$430","$150",0,0,0],["$530","$530","DIR $460<br/>CHC $660","CHC $730","CHC $730","PMP $365<br/>CHC $460","PMP $395<br/>CHC $660","PMP $430<br/>CHC $660","$280","$150",0,0],["$690","$730","PMP $690<br/>CGH $760<br/>SUE $730","SUE $530<br/>CGH $730","SUE $495<br/>CGH $660","$330","$395","$395","$330","PMP $280<br/>CHC $760","$150",0],["$495","$530","$530","SGP $595<br/>PMP $890<br/>CHC $890","SGP $595<br/>PMP $660<br/>CHC $790","PMP $595<br/>CHC $760","$560","PMP $595<br/>CHC $830","PMP $595<br/>CHC $690","PMP $280<br/>CHC $760","PMP $360<br/>CHC $860","$150"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){hl.accessToken=this.mapboxToken,this.map=new hl.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Jn=t=>(e.pushScopeId("data-v-fecdf217"),t=t(),e.popScopeId(),t),RR={class:"quota-report"},zR=Jn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),UR={class:"section quota-section"},YR=Jn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),ZR={class:"label"},QR={class:"label"},JR=["innerHTML"],KR=e.createStaticVNode('<div class="legend-block flex-space" data-v-fecdf217><div class="legend" data-v-fecdf217><label data-v-fecdf217>DIR</label><span data-v-fecdf217>DIRECT</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>PMP</label><span data-v-fecdf217>via PANAMA CHANNEL</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>SUE</label><span data-v-fecdf217>via SUEZ CHANNEL</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>CGH</label><span data-v-fecdf217>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>CHC</label><span data-v-fecdf217>Passing CAPE HORN</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>SCG</label><span data-v-fecdf217>Passing SINGAPORE</span></div></div>',1);function jR(t,s,l,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",RR,[e.createVNode(E,{name:"Quotation Sheet for TONGLI"}),zR,e.createElementVNode("div",UR,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[YR,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(i,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",ZR,e.toDisplayString(i.rank),1),e.createElementVNode("td",QR,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:a.quota[p][b-1]||""},null,8,JR))),128))]))),128))])]),KR])])}const Kn=Ce(GR,[["render",jR],["__scopeId","data-v-fecdf217"]]),uR={install(t){t.component("OrmQuoteReport",Yn),t.component("OrmQuoteReport4SEOA",Qn),t.component("OrmQuoteReport4TongLi",Kn)}},rY="",XR={name:"PrecipitationReport",components:{IdmBrand:Io,IdmLoading:ja},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0},defaultVersion:{type:String,default:"Pretty"}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clv0mafdu006h01qp1cyzga6d",map:void 0,source:"precipitation-source",layer:"precipitation-label-layer",geojson:void 0,echart:void 0,form:void 0,index:0,version:this.defaultVersion,loading:!0}},computed:{computeLat(){return function(t){return ae.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ae.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,s=8,l="MMM-DD/HHmm[LT]"){return`${K(t).utcOffset(s).format(l)}`}},computeTZ(){return function(t="0"){return ae.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const l=Number("1".padEnd(s+1,"0"));return Math.round(t*l)/l}else return"-"}},computeDegree(){return function(t,s){t=t%360;for(let l=0;l<17;l++)if(l*22.5+t+11.25>=360){let r=(16-l)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var a,n,E,i,p,b,x;const s=ae.LngLatHelper.guessTimeZoneOffset(t.lng,t.lat);t.localTZ=s;const l={};for(let h=0;h<((a=t==null?void 0:t.extend)==null?void 0:a.length);h++){const y=t==null?void 0:t.extend[h];if(h===0)y.precip.pacc=0;else{const k=K(y.utc).utcOffset(s),g=(n=y.precip)==null?void 0:n.acc;if(y.precip.pacc=g,g>0){const C=l[k.format("MMM-DD")],D=Math.floor(k.get("hour")/6);C?(C.pacc=this.roundPrecision(C.pacc+g,1),C[`${D}`]?C[`${D}`]+=g:(C[`${D}`]=g,C.colspan+=1)):(l[k.format("MMM-DD")]={pacc:g,colspan:1},l[k.format("MMM-DD")][`${D}`]=g)}}}t.paccInDays=l;let r=0;for(const h of Object.keys(l))r+=(E=l[h])==null?void 0:E.colspan,l[h].level=((i=l[h])==null?void 0:i.pacc)<10?"Light":((p=l[h])==null?void 0:p.pacc)<24.9?"Moderate":((b=l[h])==null?void 0:b.pacc)<49.9?"Heavy":((x=l[h])==null?void 0:x.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=r,t}}},watch:{report:{handler(){var t,s,l;if((t=this.report)!=null&&t.rows){this.loading=!1;for(const r of(s=this.report)==null?void 0:s.rows)this.computeForm(r);this.form=(l=this.report)==null?void 0:l.rows[this.index],this.$nextTick(()=>{this.initMap()})}},immediate:!0},form:{handler(){this.form&&(this.handleFlyTo(this.form),this.$nextTick(()=>{this.initEchart()}))},immediate:!0},version:{handler(){this.$nextTick(()=>{this.initEchart(),this.initMap()})}}},methods:{initEchart(){var t,s;if(this.version==="Pretty"){this.echart||(this.echart=e.markRaw(Ka.init(this.$refs.echart)));const l=[],r=[],a={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let n=4;(s=(t=this.form)==null?void 0:t.extend)==null||s.forEach(i=>{var b,x,h,y,k,g,C,D,T,F,B,w,V,O;const p=K(i.utc).utcOffset((b=this.form)==null?void 0:b.localTZ).format("MMM-DD/HHmm[LT]");l.push(p),n=((h=(x=i.wave)==null?void 0:x.sig)==null?void 0:h.height)>n?(k=(y=i.wave)==null?void 0:y.sig)==null?void 0:k.height:n,r.push([p,(g=i.wind)==null?void 0:g.kts,(C=i.gusts)==null?void 0:C.kts,(T=(D=i.wave)==null?void 0:D.sig)==null?void 0:T.height,(F=i.wind)==null?void 0:F.direction,(B=i.wind)==null?void 0:B.degree,(w=i.wind)==null?void 0:w.scale,(V=i.current)==null?void 0:V.kts,(O=i.precip)==null?void 0:O.pacc,this.roundPrecision(i.visibility/1852,0),i.temp])});const E={animation:!1,title:{text:"Weather Conditions",subtext:"Precip/Visibility/Sig.Wave/Wind/Gusts",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:25},xAxis:[{data:l}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:n,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip",yAxisIndex:0,showSymbol:!1,encode:{x:a.dateTime,y:a.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:r,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:a.dateTime,y:a.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:r,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:a.dateTime,y:a.waveHeight},data:r,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:a.dateTime,y:a.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:r,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:a.dateTime,y:a.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:r,z:2}]};this.echart.setOption(E)}},async initMap(){this.version==="Pretty"&&!this.map&&(hl.accessToken=this.mapboxToken,this.map=new hl.Map({container:"map",style:this.mapboxStyle,projection:"mercator",preserveDrawingBuffer:!0,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()}))},handleDraw(){var t;this.geojson={type:"FeatureCollection",features:[]};for(const s of(t=this.report)==null?void 0:t.rows){const l={type:"Feature",properties:{name:s.name,rank:s.rank},geometry:{type:"Point",coordinates:[s.lng,s.lat]}};this.geojson.features.push(l)}this.map.getSource(this.source)?this.map.getSource(this.source).setData(this.geojson):(this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","icon-size":.3,"icon-image":"port","text-field":"{rank}. {name}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":.8,"text-color":"#ff0000","text-halo-color":"#fff","text-halo-width":2,"text-halo-blur":1}})),this.handleFlyTo(this.form)},handleFlyTo(t){var s;(s=this.map)==null||s.flyTo({center:[t.lng,t.lat],zoom:8})}}},ct=t=>(e.pushScopeId("data-v-164362dd"),t=t(),e.popScopeId(),t),qR={class:"precipitation-report"},vR={class:"section area-section"},ez={class:"area-block"},tz={class:"area-header flex-space"},oz={class:"flex-start"},lz=["onClick"],az={class:"flex-end"},nz={class:"area-body"},sz=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-164362dd> Precipitation Accumulation (mm) in the next 10 days </div><div style="display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:13px;color:var(--idm-black-7);" data-v-164362dd><div style="background:rgba(243, 245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Light (<10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Moderate (<24.9mm)</div><div style="background:rgb(7, 148, 255);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Heavy (<49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Rainstorm (<99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-164362dd>Heavy Rainstorm (>100mm)</div></div>',2),iz={class:"flex-evenly"},cz={key:0},dz=["colspan"],rz=["colspan"],mz={style:{"font-size":"10px"}},pz={key:0},hz={key:1},_z={key:2},Ez={key:3},yz={key:0},Nz={key:1,style:{"font-size":"14px"}},Vz=ct(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),fz={class:"section echart-section"},bz={ref:"echart",class:"echart"},xz={class:"section sample-section"},gz=ct(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Dz=["colspan"],kz=ct(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Cz=ct(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),Sz=ct(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Bz=ct(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),wz=ct(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Az=ct(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Tz={key:0},Fz={key:1},Oz=ct(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Pz=ct(()=>e.createElementVNode("th",null,"Dir",-1)),Lz=ct(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Wz=ct(()=>e.createElementVNode("th",null,"BF",-1)),Hz=ct(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),$z=ct(()=>e.createElementVNode("th",null,"Dir",-1)),Mz=ct(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Iz=ct(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Gz=ct(()=>e.createElementVNode("th",null,"Dir",-1)),Rz=ct(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),zz=ct(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Uz=ct(()=>e.createElementVNode("th",null,"°C",-1)),Yz={width:"120px"},Zz={key:0},Qz={key:1},Jz={key:0,class:"degree-box"},Kz={key:1},jz={key:0,class:"degree-box"},uz={key:1},Xz={key:0,class:"degree-box"},qz={key:1},vz={class:"section area-section"},eU={class:"area-block"},tU={class:"area-header flex-end"},oU={class:"flex-end"},lU={class:"area-body"},aU=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-164362dd> Precipitation Accumulation (mm) in the next 10 days </div><div style="display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:13px;color:var(--idm-black-7);" data-v-164362dd><div style="background:rgba(243, 245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Light (<10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Moderate (<24.9mm)</div><div style="background:rgb(7, 148, 255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Heavy (<49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Rainstorm (<99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-164362dd>Heavy Rainstorm (>100mm)</div></div>',2),nU=["colspan"],sU=["colspan"],iU={style:{"font-size":"10px"}},cU={key:0},dU={key:1},rU={key:2},mU={key:3},pU={key:1,style:{"font-size":"14px"}},hU={key:0};function _U(t,s,l,r,a,n){var p,b,x,h,y,k,g,C,D,T,F,B,w,V,O,I,G,R,z;const E=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",qR,[e.createVNode(E,{name:"Precipitation Accumulation"}),e.createVNode(i,{loading:a.loading,onTimeout:s[0]||(s[0]=_=>a.loading=!1)},null,8,["loading"]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",vR,[e.createElementVNode("div",ez,[e.createElementVNode("div",tz,[e.createElementVNode("div",oz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=l.report)==null?void 0:p.rows,(_,L)=>(e.openBlock(),e.createElementBlock("div",{key:L,class:e.normalizeClass(a.index===L?"header-item active":"header-item"),onClick:$=>{var W;a.index=L,a.form=(W=l.report)==null?void 0:W.rows[a.index]}},e.toDisplayString(_.rank)+". "+e.toDisplayString(_.name),11,lz))),128))]),e.createElementVNode("div",az,[e.createElementVNode("div",{class:"header-item",onClick:s[1]||(s[1]=_=>a.version="Brief")},"Brief")])]),e.createElementVNode("div",nz,[sz,e.createElementVNode("div",iz,[a.form?(e.openBlock(),e.createElementBlock("table",cz,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:a.form.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString((b=a.form)==null?void 0:b.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString((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((y=a.form)==null?void 0:y.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(n.computeLTime((g=(k=a.form)==null?void 0:k.extend)==null?void 0:g[0].utc,(C=a.form)==null?void 0:C.localTZ))+" to "+e.toDisplayString(n.computeLTime((T=(D=a.form)==null?void 0:D.extend)==null?void 0:T.at(-1).utc,(F=a.form)==null?void 0:F.localTZ))+", "+e.toDisplayString(n.computeTZ((B=a.form)==null?void 0:B.localTZ))+")",1)],8,dz)]),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 $;return e.openBlock(),e.createElementBlock("th",{key:L,colspan:a.form.paccInDays[_].colspan,class:e.normalizeClass(($=a.form.paccInDays[_])==null?void 0:$.level)},e.toDisplayString(_)+" ("+e.toDisplayString(a.form.paccInDays[_].pacc)+")",11,rz)}),128))]),e.createElementVNode("tr",mz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((V=a.form)==null?void 0:V.paccInDays),(_,L)=>{var $;return e.openBlock(),e.createElementBlock(e.Fragment,{key:L},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(($=a.form)==null?void 0:$.paccInDays[_]),(W,P)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:P},[W==="0"?(e.openBlock(),e.createElementBlock("th",pz,"00-06")):e.createCommentVNode("",!0),W==="1"?(e.openBlock(),e.createElementBlock("th",hz,"06-12")):e.createCommentVNode("",!0),W==="2"?(e.openBlock(),e.createElementBlock("th",_z,"12-18")):e.createCommentVNode("",!0),W==="3"?(e.openBlock(),e.createElementBlock("th",Ez,"18-24")):e.createCommentVNode("",!0)],64))),128))],64)}),128))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(I=Object.keys((O=a.form)==null?void 0:O.paccInDays))!=null&&I.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys((G=a.form)==null?void 0:G.paccInDays),(_,L)=>{var $;return e.openBlock(),e.createElementBlock(e.Fragment,{key:L},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(($=a.form)==null?void 0:$.paccInDays[_]),(W,P)=>{var M;return e.openBlock(),e.createElementBlock(e.Fragment,{key:P},[["0","1","2","3"].includes(W)?(e.openBlock(),e.createElementBlock("td",yz,e.toDisplayString(n.roundPrecision((M=a.form)==null?void 0:M.paccInDays[_][W],1)),1)):e.createCommentVNode("",!0)],64)}),128))],64)}),128)):(e.openBlock(),e.createElementBlock("th",Nz,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),Vz,e.createElementVNode("div",fz,[e.createElementVNode("div",bz,null,512)]),e.createElementVNode("div",xz,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[gz,e.createElementVNode("th",{colspan:l.showPrate?2:1},"Precip",8,Dz),kz,Cz,Sz,Bz,wz,Az]),e.createElementVNode("tr",null,[l.showPrate?(e.openBlock(),e.createElementBlock("th",Tz,"Rate (mm/h)")):e.createCommentVNode("",!0),l.showAcc?(e.openBlock(),e.createElementBlock("th",Fz,"Acc (mm)")):e.createCommentVNode("",!0),Oz,Pz,Lz,Wz,Hz,$z,Mz,Iz,Gz,Rz,zz,Uz])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((R=a.form)==null?void 0:R.extend,(_,L)=>{var $,W,P,M,Q,U,J,ne,se,o,u,v,ee,te,oe,le,ie,ce,de,_e,X,me,Ee,ye,re,fe,be,xe,ge,De,ke;return e.openBlock(),e.createElementBlock("tr",{key:L},[e.createElementVNode("td",Yz,e.toDisplayString(n.computeLTime(_.utc,($=a.form)==null?void 0:$.localTZ)),1),l.showPrate?(e.openBlock(),e.createElementBlock("td",Zz,e.toDisplayString(n.roundPrecision((W=_.precip)==null?void 0:W.prate,2)),1)):e.createCommentVNode("",!0),l.showAcc?(e.openBlock(),e.createElementBlock("td",Qz,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",Jz,[e.createTextVNode(e.toDisplayString((Q=_.wind)==null?void 0:Q.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((U=_.wind)==null?void 0:U.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Kz,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((J=_.wind)==null?void 0:J.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((ne=_.wind)==null?void 0:ne.scale),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((se=_.gusts)==null?void 0:se.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((u=(o=_.wave)==null?void 0:o.wd)==null?void 0:u.height,1)),1),e.createElementVNode("td",null,[(ee=(v=_.wave)==null?void 0:v.swell)!=null&&ee.height?(e.openBlock(),e.createElementBlock("span",jz,[e.createTextVNode(e.toDisplayString((oe=(te=_.wave)==null?void 0:te.swell)==null?void 0:oe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ie=(le=_.wave)==null?void 0:le.swell)==null?void 0:ie.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",uz,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((de=(ce=_.wave)==null?void 0:ce.swell)==null?void 0:de.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((X=(_e=_.wave)==null?void 0:_e.swell)==null?void 0:X.period,1)),1),e.createElementVNode("td",null,[(Ee=(me=_.wave)==null?void 0:me.sig)!=null&&Ee.height?(e.openBlock(),e.createElementBlock("span",Xz,[e.createTextVNode(e.toDisplayString((re=(ye=_.wave)==null?void 0:ye.sig)==null?void 0:re.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((be=(fe=_.wave)==null?void 0:fe.sig)==null?void 0:be.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",qz,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ge=(xe=_.wave)==null?void 0:xe.sig)==null?void 0:ge.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ke=(De=_.wave)==null?void 0:De.sig)==null?void 0:ke.period,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(_.temp,1)),1)])}),128))])])])],512),[[e.vShow,a.version==="Pretty"]]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",vz,[e.createElementVNode("div",eU,[e.createElementVNode("div",tU,[e.createElementVNode("div",oU,[e.createElementVNode("div",{class:"header-item",onClick:s[2]||(s[2]=_=>a.version="Pretty")},"Pretty")])]),e.createElementVNode("div",lU,[aU,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((z=l.report)==null?void 0:z.rows,(_,L)=>{var $,W,P;return e.openBlock(),e.createElementBlock("div",{key:L,style:{"margin-bottom":"10px"}},[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:_.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString(_==null?void 0:_.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString(_==null?void 0:_.name)+" ("+e.toDisplayString(n.computeLat(_==null?void 0:_.lat).pretty)+" / "+e.toDisplayString(n.computeLng(_==null?void 0:_.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(n.computeLTime(($=_==null?void 0:_.extend)==null?void 0:$[0].utc,_==null?void 0:_.localTZ))+" to "+e.toDisplayString(n.computeLTime((W=_==null?void 0:_.extend)==null?void 0:W.at(-1).utc,_==null?void 0:_.localTZ))+", "+e.toDisplayString(n.computeTZ(_==null?void 0:_.localTZ))+")",1)],8,nU)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays),(M,Q)=>{var U;return e.openBlock(),e.createElementBlock("th",{key:Q,colspan:_.paccInDays[M].colspan,class:e.normalizeClass((U=_.paccInDays[M])==null?void 0:U.level)},e.toDisplayString(M)+" ("+e.toDisplayString(_.paccInDays[M].pacc)+")",11,sU)}),128))]),e.createElementVNode("tr",iU,[(P=Object.keys(_==null?void 0:_.paccInDays))!=null&&P.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys(_==null?void 0:_.paccInDays),(M,Q)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Q},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays[M]),(U,J)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:J},[U==="0"?(e.openBlock(),e.createElementBlock("th",cU,"00-06")):e.createCommentVNode("",!0),U==="1"?(e.openBlock(),e.createElementBlock("th",dU,"06-12")):e.createCommentVNode("",!0),U==="2"?(e.openBlock(),e.createElementBlock("th",rU,"12-18")):e.createCommentVNode("",!0),U==="3"?(e.openBlock(),e.createElementBlock("th",mU,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",pU,"No Precipitation in the next 10 days"))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays),(M,Q)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Q},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays[M]),(U,J)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:J},[["0","1","2","3"].includes(U)?(e.openBlock(),e.createElementBlock("td",hU,e.toDisplayString(n.roundPrecision(_==null?void 0:_.paccInDays[M][U],1)),1)):e.createCommentVNode("",!0)],64))),128))],64))),128))])])])])}),128))])])])],512),[[e.vShow,a.version==="Brief"]])])}const jn=Ce(XR,[["render",_U],["__scopeId","data-v-164362dd"]]),EU={install(t){t.component("PrecipitationReport",jn)}},yU={install(t){t.component("IdmLoading",ja)}};Y.BrandPlugin=fR,Y.ComparisonPlugin=mR,Y.DeviationPlugin=OW,Y.DeviationReport=$n,Y.FliComparisonReport=Rn,Y.FliDeviationReport=Mn,Y.FliInvoiceReport=Wn,Y.FliPlanReport=An,Y.FliVoyageReport=Fn,Y.HurricanePlugin=oB,Y.IdmBrand=Io,Y.IdmEditor=Go,Y.IdmEditorPlugin=vp,Y.IdmLat=Xa,Y.IdmLatPlugin=eh,Y.IdmLng=ua,Y.IdmLngPlugin=th,Y.IdmLoading=ja,Y.IdmThird=zn,Y.InvoicePlugin=G8,Y.LoadingPlugin=yU,Y.ORMPointReport=wn,Y.OrmComparisonReport=Gn,Y.OrmInvoiceReport=Ln,Y.OrmPlanReport=Dn,Y.OrmQuoteReport=Yn,Y.OrmQuoteReport4SEOA=Qn,Y.OrmQuoteReport4TongLi=Kn,Y.OrmVoyageReport=On,Y.PiLogo=Tn,Y.PiLogoPlugin=ch,Y.PointReportPlugin=ed,Y.PrecipitationReport=jn,Y.PrecipitationReportPlugin=EU,Y.QuoteReportPlugin=uR,Y.RouteReport=Dn,Y.RouteReportPlugin=qp,Y.StoppageReport=In,Y.StoppageReportPlugin=l$,Y.TropicalReport=Pn,Y.VoyageReportPlugin=q4,Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"})});
|
|
41
|
+
-3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)];function ch(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("i",lh,[(e.openBlock(),e.createElementBlock("svg",ah,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:t.fill,"fill-opacity":.6,stroke:"none"},sh,8,nh)]))])}const on=Ce(oh,[["render",ch]]),ih={install(o){o.component("PiLogo",on)}},AY="",TY="",dh={name:"FliVygSummary",components:{Editor:Go},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{date:"",remarks:"<div>Exclusion</div><div>The following time,distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation</div>",editable:!1,advisory:void 0,excludedTableData:[],segDetail:[],goodDays:[],cpDetail:[],noGoodWxDay:"No Good Wx Day",noSpecialRemarks:"No Special Remarks"}},computed:{computedAvgCf(){return function(o){var s,t;return(t=(s=this.reportData)==null?void 0:s.weather)!=null&&t.favorableCur?o.avgCf>0:!1}},computedPositive(){return function(o){return o>0?o:`(${o})`}},computedTime(){return function(o,s){return s=="subtitle"?j(o).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s=="table"?j(o).utc().format("MMMM-DD/HHmm[Z]"):s=="summary"?j(o).utc().format("MMMM D, HHmm[Z]"):s?j(o).utc().format(s):j(o).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(o,s){const t=ae.LngLatHelper.lat2pretty(o).pretty,r=ae.LngLatHelper.lng2pretty(s).pretty;return`${t} ${r}`}},computedSeg(){return function(o){const s=o.departure.portName||this.computedLngLat(o.departure.lat,o.departure.lng),t=this.computedTime(o.departure.utcTime,"summary"),r=this.computedTime(o.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),a=o.arrival.portName||this.computedLngLat(o.arrival.lat,o.arrival.lng),n=this.computedTime(o.arrival.utcTime,"summary"),E=this.computedTime(o.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:s,time1:t,fullTime1:r,port2:a,time2:n,fullTime2:E}}},computedTimeConclusion(){return function(o){let s=o.conclusionStatus,t={conclusion:"",className:"",timeCon:""};return s=="No"?(t.conclusion="No Time Lost/Gained",t.className="",t.timeCon=""):s=="Lost"?(t.conclusion="Time Lost",t.className="error",t.timeCon=`${o.timeLost} hrs`):(t.conclusion="Time Gained",t.className="success",t.timeCon=`${o.timeGain} hrs`),t}},computedFuleConclusion(){return function(o,s){let t=o.conclusionStatus,r={conclusion:"",className:"",cons:""};return t==="No"?(r.conclusion="No Over/Under",r.className="",r.cons=""):t==="Over"?(s==="FO"?r.conclusion="FO Over":r.conclusion="DO/GO Over",r.className="error",r.cons=`${o.overCons} mt`):(s==="FO"?r.conclusion="FO Under":r.conclusion="DO/GO Under",r.className="success",r.cons=`${o.saving} mt`),r}},computedUnit(){return function(o,s){return s?"%":o=="speed"?"":"(mt)"}},computedWeatherDef(){return function(o){let s="";o!=null&&o.timePercentage?`${o==null?void 0:o.time}`:`${o==null?void 0:o.time}`;let t=o==null?void 0:o.windScale,r="",a=0;return o!=null&&o.waveSwitch?(r+=`, Wind wave height is ${o==null?void 0:o.waveHeight} meters or less`,a++):o!=null&&o.swellSwitch?(r+=`, Swell wave height is ${o==null?void 0:o.swellHeight} meters or less`,a++):o!=null&&o.sigSwitch&&(r+=`, Significant wave height is ${o==null?void 0:o.sigHeight} meters or less`,a++),a>0&&(r+=`(Douglas Sea State ${o==null?void 0:o.seaScale})`),s=`Winds are BF/${t} or less${r}`,o!=null&&o.noAdverseCur&&(s+=", No Adverse Current"),o!=null&&o.noExtrapolation&&(s+=", No Extrapolation"),s}},computedColor(){return function(o,s,t){let r="";if(o==="No")return r=t?"bg-color-normal":"color-normal",r;switch(s){case"time":o==="Lost"?r="color-fail":r="color-success";break;case"fuel":o==="Over"?r="color-fail":r="color-success";break;case"pfm":o==="Under"?r="color-fail":r="color-success";break}return t&&(r="bg-"+r),r}},computedAbt4Spd(){return function(o){var s,t,r;return(s=o.timeConclusion)!=null&&s.spdPercentage?ae.LngLatHelper.roundPrecision(o.extend.cp.speed*(((t=o==null?void 0:o.timeConclusion)==null?void 0:t.spdOfAbout)/100),2):(r=o==null?void 0:o.timeConclusion)==null?void 0:r.spdOfAbout}}},watch:{reportData:{handler(o,s){var t;o!=null&&o.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(t=this.reportData)==null?void 0:t.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{handleCommit(o){this.editable=!1,this.$emit("commit",o)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var s,t;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let o=[];(t=(s=this.reportData)==null?void 0:s.segments)==null||t.forEach((r,a)=>{let n=r.excluded;if(n.sumDistance>0&&n.detail.forEach(c=>{let p={begin:j(c.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:j(c.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:j(c.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+j(c.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:c.duration,distance:c.distance,fo:c.foCons,dgo:c.dgoCons};this.excludedTableData.push(p)}),!o.includes(r.seg)){o.push(r.seg);let c=Object.assign({},r.extend.cp);c.spdOfOver=`+${r.timeConclusion.spdOfOver}${this.computedUnit("speed",r.timeConclusion.spdPercentage)}`,c.spdOfUnder=`-${r.timeConclusion.spdOfUnder}${this.computedUnit("speed",r.timeConclusion.spdPercentage)}`,c.over=`+${r.fuelConclusion.consOfOver}${this.computedUnit("cons",r.fuelConclusion.consPercentage)}`,c.under=`-${r.fuelConclusion.consOfUnder}${this.computedUnit("cons",r.fuelConclusion.consPercentage)}`,this.cpDetail.push(c)}let E=[];r.extend.segTimes.forEach(c=>{E.push(this.computedSeg(c))}),this.segDetail.push(E),this.goodDays.push(r.inventory.sample.hours.filter(c=>c.type!=="A"&&c.goodWx))})}}},d=o=>(e.pushScopeId("data-v-b0ef3073"),o=o(),e.popScopeId(),o),rh=d(()=>e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),mh={class:"fli-main"},ph=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),hh={class:"card basics"},_h={class:"list flex"},Eh={class:"item"},yh=d(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),Nh={class:"content flex"},Vh={class:"item"},fh=d(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),bh={class:"content flex"},gh={class:"item"},xh=d(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),kh={class:"content flex"},Dh={class:"list"},Ch={class:"item"},Sh=d(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),Bh={class:"content flex"},wh={class:"content flex"},Ah={class:"item"},Th=d(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),Fh={class:"content flex"},Oh={class:"content flex"},Ph={class:"item"},Lh=d(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),Wh={class:"content flexL"},$h=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),Hh={class:"clause"},Mh={key:0,class:"definition flex"},Ih={key:1,class:"definition flex"},Gh={class:"item"},Rh=d(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),zh={class:"content"},Uh={key:0,class:"item"},Yh=d(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),Zh={class:"content"},Qh={key:1,class:"item"},Jh=d(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),Kh={class:"content"},jh={key:2,class:"item"},Xh=d(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),qh={class:"content"},uh={key:3,class:"item"},vh=d(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),e1={class:"content"},t1={key:4,class:"item"},o1=[d(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],l1={key:5,class:"item"},a1=[d(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],n1={class:"definition flexM"},s1={class:"table"},c1=d(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"CP"),e.createElementVNode("td",null,"Speed (kts)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),i1=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),d1={class:"summary"},r1={key:0,class:"summary-overall"},m1=d(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),p1={class:"summary-overall-row"},h1={class:"card"},_1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),E1={class:"main-content"},y1={key:0},N1={key:1},V1={class:"card"},f1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),b1={class:"main-content"},g1={key:0},x1={key:1},k1={class:"card"},D1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),C1={class:"main-content"},S1={key:0},B1={key:1},w1={class:"summary-overall-row"},A1={class:"card"},T1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),F1={class:"main-content"},O1={class:"card"},P1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),L1={class:"main-content"},W1={class:"card"},$1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),H1={class:"main-content"},M1=d(()=>e.createElementVNode("div",{class:"summary-overall-row",style:{"flex-direction":"column"}},[e.createElementVNode("div",{class:"flex-start"},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",null,"FO Cons. + M/E DO/GO Cons. in ECA")]),e.createElementVNode("div",{class:"flex-start"},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",null,"DO/GO Cons. - M/E DO/GO Cons. in ECA")])],-1)),I1={class:"card",style:{flex:"1.5"}},G1={class:"card-title"},R1=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),z1={class:"card-segment"},U1={class:"card-segment"},Y1={class:"card-segment"},Z1=d(()=>e.createElementVNode("div",null,"Applied",-1)),Q1={class:"uppercase"},J1={class:"card summary-card",style:{flex:"1"}},K1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),j1={key:0,class:"main-content"},X1={key:0,class:"iconfont success"},q1={key:1,class:"iconfont error"},u1={key:1,class:"main-content"},v1={class:"card-content",style:{"justify-content":"flex-start"}},e_={class:"card summary-card",style:{flex:"1"}},t_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),o_={key:0,class:"main-content"},l_={key:0,class:"iconfont success"},a_={key:1,class:"iconfont error"},n_={key:1,class:"main-content"},s_={class:"card-content",style:{"justify-content":"flex-start"}},c_={class:"card summary-card",style:{flex:"1"}},i_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),d_={key:0,class:"main-content"},r_={key:0,class:"iconfont success"},m_={key:1,class:"iconfont error"},p_={key:1,class:"main-content"},h_={class:"card-content",style:{"justify-content":"flex-start"}},__={style:{"page-break-inside":"avoid"}},E_=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),y_={class:"remarks"},N_={class:"item"},V_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),f_={class:"speed"},b_={class:"uppercase"},g_={class:"item"},x_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),k_={key:0,class:"remark-detail"},D_={key:1,class:"remark-detail"},C_={class:"page-avoid"},S_={class:"dashed"},B_={class:"card phase-title-card",style:{flex:"0.5"}},w_={class:"card-title"},A_=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),T_={class:"card-segment"},F_={class:"card-segment"},O_={class:"card-segment"},P_=d(()=>e.createElementVNode("div",null,"Applied",-1)),L_={class:"uppercase"},W_=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),$_={class:"phase-analysis"},H_={class:"card phase-card",style:{flex:"1"}},M_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),I_={class:"main-content"},G_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),R_={class:"main-content"},z_={class:"card-content"},U_=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),Y_=d(()=>e.createElementVNode("span",null,"mt",-1)),Z_={class:"card-content"},Q_=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),J_=d(()=>e.createElementVNode("span",null,"mt",-1)),K_={class:"card-content"},j_=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),X_=d(()=>e.createElementVNode("span",null,"mt",-1)),q_={class:"card-content"},u_=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),v_=d(()=>e.createElementVNode("span",null,"mt",-1)),eE=d(()=>e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"FO Cons. + M/E DO/GO Cons. in ECA")],-1)),tE={class:"card phase-card",style:{flex:"1"}},oE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),lE={class:"main-content"},aE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),nE={class:"main-content"},sE={class:"card-content"},cE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),iE=d(()=>e.createElementVNode("span",null,"mt",-1)),dE={class:"card-content"},rE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),mE=d(()=>e.createElementVNode("span",null,"mt",-1)),pE={class:"card-content"},hE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),_E=d(()=>e.createElementVNode("span",null,"mt",-1)),EE={class:"card-content"},yE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),NE=d(()=>e.createElementVNode("span",null,"mt",-1)),VE=d(()=>e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"DO/GO Cons. - M/E DO/GO Cons. in ECA")],-1)),fE={class:"phase-analysis"},bE={class:"card phase-card",style:{flex:"1"}},gE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),xE={class:"main-content"},kE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),DE={class:"main-content"},CE={class:"card-content"},SE=d(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),BE=d(()=>e.createElementVNode("span",null,"nm",-1)),wE={class:"card-content"},AE=d(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),TE=d(()=>e.createElementVNode("span",null,"nm",-1)),FE={class:"card-content"},OE=d(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),PE=d(()=>e.createElementVNode("span",null,"nm",-1)),LE={class:"card-content"},WE=d(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),$E=d(()=>e.createElementVNode("span",null,"nm",-1)),HE={class:"card phase-card",style:{flex:"1"}},ME=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),IE={class:"main-content"},GE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),RE={class:"main-content"},zE={class:"card-content"},UE=d(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),YE=d(()=>e.createElementVNode("span",null,"hrs",-1)),ZE={class:"card-content"},QE=d(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),JE=d(()=>e.createElementVNode("span",null,"hrs",-1)),KE={class:"card-content"},jE=d(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),XE=d(()=>e.createElementVNode("span",null,"hrs",-1)),qE={class:"card-content"},uE=d(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),vE=d(()=>e.createElementVNode("span",null,"hrs",-1)),ey={class:"card phase-card",style:{flex:"1"}},ty=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),oy={class:"main-content"},ly=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),ay={class:"main-content"},ny={class:"card-content"},sy=d(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),cy=d(()=>e.createElementVNode("span",null,"kts",-1)),iy={class:"card-content"},dy=d(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),ry=d(()=>e.createElementVNode("span",null,"kts",-1)),my={class:"card-content"},py=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),hy=d(()=>e.createElementVNode("span",null,"kts",-1)),_y={class:"card-content"},Ey=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),yy=d(()=>e.createElementVNode("span",null,"kts",-1)),Ny={class:"phase-analysis"},Vy={class:"card phase-card",style:{flex:"1"}},fy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),by={class:"main-content"},gy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),xy={class:"main-content"},ky={class:"card-content"},Dy=d(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),Cy=d(()=>e.createElementVNode("span",null,"mt",-1)),Sy={class:"card-content"},By=d(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),wy=d(()=>e.createElementVNode("span",null,"mt",-1)),Ay={class:"card-content"},Ty=d(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),Fy=d(()=>e.createElementVNode("span",null,"mt",-1)),Oy={class:"card-content"},Py=d(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),Ly=d(()=>e.createElementVNode("span",null,"mt",-1)),Wy={class:"card phase-card",style:{flex:"1"}},$y=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),Hy={class:"main-content"},My=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),Iy={class:"main-content"},Gy={class:"card-content"},Ry=d(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),zy=d(()=>e.createElementVNode("span",null,"mt",-1)),Uy={class:"card-content"},Yy=d(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),Zy=d(()=>e.createElementVNode("span",null,"mt",-1)),Qy={class:"card-content"},Jy=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),Ky=d(()=>e.createElementVNode("span",null,"mt",-1)),jy={class:"card-content"},Xy=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),qy=d(()=>e.createElementVNode("span",null,"mt",-1)),uy={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},vy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),eN={class:"main-content"},tN={class:"card-content"},oN=d(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),lN={key:0},aN=d(()=>e.createElementVNode("span",null,"kts",-1)),nN={key:1},sN={class:"phase-card"},cN={class:"card",style:{flex:"1"}},iN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),dN={key:0,class:"main-content"},rN={key:0,class:"iconfont success"},mN={key:1,class:"iconfont error"},pN={key:1,class:"main-content"},hN={class:"nogwd"},_N={class:"card-content",style:{"justify-content":"flex-start"}},EN={key:0},yN={class:"equation"},NN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),VN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),fN={style:{width:"8%"}},bN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),gN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),xN={style:{width:"10%"}},kN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),DN={class:"equation"},CN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),SN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),BN={style:{width:"8%"}},wN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),AN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),TN={style:{width:"10%"}},FN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),ON={class:"equation"},PN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),LN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),WN={style:{width:"8%"}},$N=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),HN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),MN={style:{width:"10%"}},IN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),GN={class:"phase-card"},RN={class:"card",style:{flex:"1"}},zN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),UN={key:0,class:"main-content"},YN={key:0,class:"iconfont success"},ZN={key:1,class:"iconfont error"},QN={key:1,class:"main-content"},JN={class:"nogwd"},KN={class:"card-content",style:{"justify-content":"flex-start"}},jN={key:0},XN={class:"equation"},qN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),uN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),vN={style:{width:"8%"}},eV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),oV={style:{width:"120px"}},lV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),aV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),nV={style:{width:"10%"}},sV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),cV={class:"equation"},iV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),dV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),rV={style:{width:"8%"}},mV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),pV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),hV={style:{width:"120px"}},_V=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),EV=d(()=>e.createElementVNode("div",null,"24",-1)),yV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),NV={style:{width:"10%"}},VV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),fV={class:"equation"},bV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),gV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),xV={style:{width:"8%"}},kV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),DV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),CV={style:{width:"120px"}},SV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),BV=d(()=>e.createElementVNode("div",null,"24",-1)),wV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),AV={style:{width:"10%"}},TV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),FV={key:0,class:"phase-card"},OV={class:"card",style:{flex:"1"}},PV=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),LV={key:0,class:"main-content"},WV={key:0,class:"iconfont success"},$V={key:1,class:"iconfont error"},HV={key:1,class:"main-content"},MV={class:"nogwd"},IV={class:"card-content",style:{"justify-content":"flex-start"}},GV={key:0},RV={class:"equation"},zV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),UV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),YV={style:{width:"8%"}},ZV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),QV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),JV={style:{width:"120px"}},KV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),jV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),XV={style:{width:"10%"}},qV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),uV={class:"equation"},vV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),ef=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),tf={style:{width:"8%"}},of=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),af={style:{width:"120px"}},nf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),sf=d(()=>e.createElementVNode("div",null,"24",-1)),cf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),df={style:{width:"10%"}},rf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),mf={class:"equation"},pf=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),hf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),_f={style:{width:"8%"}},Ef=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),yf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Nf={style:{width:"120px"}},Vf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ff=d(()=>e.createElementVNode("div",null,"24",-1)),bf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),gf={style:{width:"10%"}},xf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),kf=d(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),Df={class:"formular dashed",style:{"page-break-inside":"avoid"}},Cf={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},Sf=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),Bf={class:""},wf={class:"equation"},Af=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),Tf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Ff={style:{width:"50%"},class:"fraction"},Of=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Pf=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Lf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),Wf={class:"equation"},$f=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),Hf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Mf={style:{width:"50%"},class:"fraction"},If=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Gf=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),Rf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),zf={class:"equation"},Uf=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),Yf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Zf={style:{width:"50%"},class:"fraction"},Qf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Jf=d(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),Kf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),jf=d(()=>e.createElementVNode("div",{class:"equation flex-end",style:{"margin-right":"4%"}},[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),Xf={class:"flexL formular-item",style:{"margin-left":"20px"}},qf=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),uf={class:""},vf={class:"equation"},e0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),t0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),o0={style:{width:"25%"},class:"fraction"},l0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),a0=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),n0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),s0=d(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Good Weather Consumption"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),c0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),i0={class:"equation"},d0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),r0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),m0={style:{width:"25%"},class:"fraction"},p0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),h0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),_0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),E0=d(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption + Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),y0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),N0={class:"equation"},V0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),f0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),b0={style:{width:"25%"},class:"fraction"},g0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),x0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),k0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),D0=d(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption - Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),C0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),S0=d(()=>e.createElementVNode("div",{class:"equation",style:{margin:"10px 0"}},[e.createElementVNode("span",null,"Fuel Over-consumption = (d) - (e) "),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Fuel Saving = (f) - (d)")],-1)),B0=d(()=>e.createElementVNode("div",{class:"equation"},[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),e.createElementVNode("br"),e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),e.createElementVNode("br"),e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),e.createElementVNode("br")],-1));function w0(o,s,t,r,a,n){var E,c,p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,X,v,ee,te,oe,le,ce,ie,de,_e,q,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,Ke,je,Xe,A,Se,Ge,qe,ue,ve,et,tt;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((c=(E=t.reportData)==null?void 0:E.weather)!=null&&c.referenceOnly?"watermark":"")},[rh,e.createElementVNode("div",mh,[ph,e.createElementVNode("div",hh,[e.createElementVNode("div",_h,[e.createElementVNode("div",Eh,[yh,e.createElementVNode("div",Nh,e.toDisplayString((p=t.reportData)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",Vh,[fh,e.createElementVNode("div",bh,e.toDisplayString((g=(b=t.reportData)==null?void 0:b.vessel)==null?void 0:g.name),1)]),e.createElementVNode("div",gh,[xh,e.createElementVNode("div",kh,e.toDisplayString(a.date),1)])]),e.createElementVNode("div",Dh,[e.createElementVNode("div",Ch,[Sh,e.createElementVNode("div",Bh,e.toDisplayString(((N=(h=t.reportData)==null?void 0:h.departure)==null?void 0:N.portName)||n.computedLngLat((x=(D=t.reportData)==null?void 0:D.departure)==null?void 0:x.lat,(k=(C=t.reportData)==null?void 0:C.departure)==null?void 0:k.lng)),1),e.createElementVNode("div",wh,e.toDisplayString(n.computedTime((F=(T=t.reportData)==null?void 0:T.departure)==null?void 0:F.utcTime,"table")),1)]),e.createElementVNode("div",Ah,[Th,e.createElementVNode("div",Fh,e.toDisplayString(((w=(B=t.reportData)==null?void 0:B.arrival)==null?void 0:w.portName)||n.computedLngLat((O=(f=t.reportData)==null?void 0:f.arrival)==null?void 0:O.lat,(G=(I=t.reportData)==null?void 0:I.arrival)==null?void 0:G.lng)),1),e.createElementVNode("div",Oh,e.toDisplayString(n.computedTime((z=(R=t.reportData)==null?void 0:R.arrival)==null?void 0:z.utcTime,"table")),1)]),e.createElementVNode("div",Ph,[Lh,e.createElementVNode("div",Wh,e.toDisplayString((L=(_=t.reportData)==null?void 0:_.voyage)==null?void 0:L.loadCondition),1)])])]),$h,e.createElementVNode("div",Hh,[(W=(H=t.reportData)==null?void 0:H.weather)!=null&&W.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",Mh,"No specific thresholds in weather.")):(e.openBlock(),e.createElementBlock("div",Ih,[e.createElementVNode("div",Gh,[Rh,e.createElementVNode("div",zh,"BF "+e.toDisplayString(((M=(P=t.reportData)==null?void 0:P.weather)==null?void 0:M.windScale)||"-"),1)]),(U=(Q=t.reportData)==null?void 0:Q.weather)!=null&&U.waveSwitch?(e.openBlock(),e.createElementBlock("div",Uh,[Yh,e.createElementVNode("div",Zh,e.toDisplayString(((ne=(J=t.reportData)==null?void 0:J.weather)==null?void 0:ne.waveHeight)||"-")+" Meter",1)])):(l=(se=t.reportData)==null?void 0:se.weather)!=null&&l.swellSwitch?(e.openBlock(),e.createElementBlock("div",Qh,[Jh,e.createElementVNode("div",Kh,e.toDisplayString(((v=(X=t.reportData)==null?void 0:X.weather)==null?void 0:v.swellHeight)||"-")+" Meter",1)])):(te=(ee=t.reportData)==null?void 0:ee.weather)!=null&&te.sigSwitch?(e.openBlock(),e.createElementBlock("div",jh,[Xh,e.createElementVNode("div",qh,e.toDisplayString(((le=(oe=t.reportData)==null?void 0:oe.weather)==null?void 0:le.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(ie=(ce=t.reportData)==null?void 0:ce.weather)!=null&&ie.waveSwitch||(_e=(de=t.reportData)==null?void 0:de.weather)!=null&&_e.swellHeight||(me=(q=t.reportData)==null?void 0:q.weather)!=null&&me.sigSwitch?(e.openBlock(),e.createElementBlock("div",uh,[vh,e.createElementVNode("div",e1,e.toDisplayString((ye=(Ee=t.reportData)==null?void 0:Ee.weather)==null?void 0:ye.seaScale),1)])):e.createCommentVNode("",!0),(fe=(re=t.reportData)==null?void 0:re.weather)!=null&&fe.noAdverseCur?(e.openBlock(),e.createElementBlock("div",t1,o1)):e.createCommentVNode("",!0),(ge=(be=t.reportData)==null?void 0:be.weather)!=null&&ge.noExtrapolation?(e.openBlock(),e.createElementBlock("div",l1,a1)):e.createCommentVNode("",!0)])),e.createElementVNode("div",n1,[e.createElementVNode("table",s1,[c1,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.cpDetail,(m,$)=>(e.openBlock(),e.createElementBlock("tr",{key:$},[e.createElementVNode("td",null,e.toDisplayString(m==null?void 0:m.type),1),e.createElementVNode("td",null,e.toDisplayString(`${m==null?void 0:m.speed} | ${m==null?void 0:m.spdOfOver} , ${m.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${m==null?void 0:m.fo} | ${m==null?void 0:m.over} , ${m.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${m==null?void 0:m.dgo} | ${m==null?void 0:m.over} , ${m.under}`),1)]))),128))])])])]),i1,e.createElementVNode("div",d1,[((ke=(xe=t.reportData)==null?void 0:xe.segments)==null?void 0:ke.length)>1?(e.openBlock(),e.createElementBlock("div",r1,[m1,e.createElementVNode("div",p1,[e.createElementVNode("div",h1,[_1,e.createElementVNode("div",E1,[(Te=(De=t.reportData)==null?void 0:De.goodWx)!=null&&Te.avgSpd?(e.openBlock(),e.createElementBlock("div",y1,e.toDisplayString((Oe=(Fe=t.reportData)==null?void 0:Fe.goodWx)==null?void 0:Oe.avgSpd)+" kts",1)):(e.openBlock(),e.createElementBlock("div",N1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",V1,[f1,e.createElementVNode("div",b1,[(Le=(Pe=t.reportData)==null?void 0:Pe.goodWx)!=null&&Le.avgSpd?(e.openBlock(),e.createElementBlock("div",g1,e.toDisplayString(($e=(We=t.reportData)==null?void 0:We.goodWx)==null?void 0:$e.avgFoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",x1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",k1,[D1,e.createElementVNode("div",C1,[(Ne=(He=t.reportData)==null?void 0:He.goodWx)!=null&&Ne.avgSpd?(e.openBlock(),e.createElementBlock("div",S1,e.toDisplayString((je=(Ke=t.reportData)==null?void 0:Ke.goodWx)==null?void 0:je.avgDgoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",B1,e.toDisplayString(a.noGoodWxDay),1))])])]),e.createElementVNode("div",w1,[e.createElementVNode("div",A1,[T1,e.createElementVNode("div",F1,e.toDisplayString((A=(Xe=t.reportData)==null?void 0:Xe.allWx)==null?void 0:A.avgSpd)+" kts",1)]),e.createElementVNode("div",O1,[P1,e.createElementVNode("div",L1,e.toDisplayString((Ge=(Se=t.reportData)==null?void 0:Se.allWx)==null?void 0:Ge.avgFoEcaCons)+" mt",1)]),e.createElementVNode("div",W1,[$1,e.createElementVNode("div",H1,e.toDisplayString((ue=(qe=t.reportData)==null?void 0:qe.allWx)==null?void 0:ue.avgDgoEcaCons)+" mt",1)])]),M1])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ve=t.reportData)==null?void 0:ve.segments,(m,$)=>{var Be,Me,Re;return e.openBlock(),e.createElementBlock("div",{key:$,class:"summary-seg"},[e.createElementVNode("div",I1,[e.createElementVNode("div",G1,[R1,e.createElementVNode("span",null,"Phase "+e.toDisplayString($+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(pe,Ue)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Ue,class:e.normalizeClass(a.segDetail[$].length>1?"dashed":"")},[e.createElementVNode("div",z1,[e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.port1),1),e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.time1),1)]),e.createElementVNode("div",U1,[e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.port2),1),e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.time2),1)])],2))),128)),e.createElementVNode("div",Y1,[Z1,e.createElementVNode("div",null,[e.createElementVNode("span",Q1,e.toDisplayString(m.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",J1,[K1,(Be=m.goodWx)!=null&&Be.distance?(e.openBlock(),e.createElementBlock("div",j1,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",X1,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",q1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",u1,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",v1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedTimeConclusion(m.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).conclusion),1)])]),e.createElementVNode("div",e_,[t_,(Me=m.goodWx)!=null&&Me.distance?(e.openBlock(),e.createElementBlock("div",o_,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",l_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",a_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",n_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",s_,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",c_,[i_,(Re=m.goodWx)!=null&&Re.distance?(e.openBlock(),e.createElementBlock("div",d_,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",r_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",m_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",p_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",h_,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",__,[E_,e.createElementVNode("div",y_,[e.createElementVNode("div",N_,[V_,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((et=t.reportData)==null?void 0:et.segments,(m,$)=>(e.openBlock(),e.createElementBlock("div",{key:$,class:"remark-speed"},[e.createElementVNode("div",f_,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${$+1}. Phase ${$+1} Applied `)+" ",1),e.createElementVNode("span",b_,e.toDisplayString(m.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt ) ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(Be,Me)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Me},e.toDisplayString(`${Be.port1} (${Be.fullTime1}) to ${Be.port2} (${Be.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",g_,[x_,a.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",k_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.excludedTableData,(m,$)=>(e.openBlock(),e.createElementBlock("div",{key:$},e.toDisplayString(`From ${m.begin} to ${m.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",D_,e.toDisplayString(a.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((tt=t.reportData)==null?void 0:tt.segments,(m,$)=>{var Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo,S,Ie,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,Xt,qt,ut,vt,eo,to,oo,lo,yo,No,Vo,fo,bo,go,xo,ko,Do,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Ro,zo,Uo,Yo,Zo,Qo,Jo,Ko,jo,Xo,qo,uo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl;return e.openBlock(),e.createElementBlock("div",{key:$,class:"phase"},[e.createElementVNode("div",C_,[e.createElementVNode("div",S_,[e.createElementVNode("div",B_,[e.createElementVNode("div",w_,[A_,e.createElementVNode("span",null,"Phase "+e.toDisplayString($+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(st,pl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+pl,class:e.normalizeClass(a.segDetail[$].length>1?"dashed":"")},[e.createElementVNode("div",T_,[e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.port1),1),e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.time1),1)]),e.createElementVNode("div",F_,[e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.port2),1),e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.time2),1)])],2))),128)),e.createElementVNode("div",O_,[P_,e.createElementVNode("div",null,[e.createElementVNode("span",L_,e.toDisplayString(m.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt",1)])])])]),W_,e.createElementVNode("div",$_,[e.createElementVNode("div",H_,[M_,e.createElementVNode("div",I_,[e.createElementVNode("span",null,e.toDisplayString(((Be=m.goodWx)==null?void 0:Be.avgFoEcaCons)||"-")+" mt",1)]),G_,e.createElementVNode("div",R_,[e.createElementVNode("span",null,e.toDisplayString(((Me=m.allWx)==null?void 0:Me.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",z_,[U_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Re=m.goodWx)==null?void 0:Re.outEca.avgFoCons)||"-"),1),Y_])]),e.createElementVNode("div",Z_,[Q_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pe=m.goodWx)==null?void 0:pe.inEca.avgFoEcaCons)||"-"),1),J_])]),e.createElementVNode("div",K_,[j_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ue=m.allWx)==null?void 0:Ue.outEca.avgFoCons)||"-"),1),X_])]),e.createElementVNode("div",q_,[u_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ot=m.allWx)==null?void 0:ot.inEca.avgFoEcaCons)||"-"),1),v_])]),eE]),e.createElementVNode("div",tE,[oE,e.createElementVNode("div",lE,[e.createElementVNode("span",null,e.toDisplayString(((lt=m.goodWx)==null?void 0:lt.avgDgoEcaCons)||"-")+" mt",1)]),aE,e.createElementVNode("div",nE,[e.createElementVNode("span",null,e.toDisplayString(((dt=m.allWx)==null?void 0:dt.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",sE,[cE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((rt=m.goodWx)==null?void 0:rt.outEca.avgDgoCons)||"-"),1),iE])]),e.createElementVNode("div",dE,[rE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=m.goodWx)==null?void 0:mt.inEca.avgDgoEcaCons)||"-"),1),mE])]),e.createElementVNode("div",pE,[hE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=m.allWx)==null?void 0:pt.outEca.avgDgoCons)||"-"),1),_E])]),e.createElementVNode("div",EE,[yE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_t=m.allWx)==null?void 0:_t.inEca.avgDgoEcaCons)||"-"),1),NE])]),VE])]),e.createElementVNode("div",fE,[e.createElementVNode("div",bE,[gE,e.createElementVNode("div",xE,[e.createElementVNode("span",null,e.toDisplayString(((Et=m.goodWx)==null?void 0:Et.distance)||"-")+" nm",1)]),kE,e.createElementVNode("div",DE,[e.createElementVNode("span",null,e.toDisplayString(((yt=m.allWx)==null?void 0:yt.distance)||"-")+" nm",1)]),e.createElementVNode("div",CE,[SE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=m.goodWx)==null?void 0:Nt.outEca.distance)||"-"),1),BE])]),e.createElementVNode("div",wE,[AE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vt=m.goodWx)==null?void 0:Vt.inEca.distance)||"-"),1),TE])]),e.createElementVNode("div",FE,[OE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ft=m.allWx)==null?void 0:ft.outEca.distance)||"-"),1),PE])]),e.createElementVNode("div",LE,[WE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=m.allWx)==null?void 0:bt.inEca.distance)||"-"),1),$E])])]),e.createElementVNode("div",HE,[ME,e.createElementVNode("div",IE,[e.createElementVNode("span",null,e.toDisplayString(((gt=m.goodWx)==null?void 0:gt.time)||"-")+" hrs",1)]),GE,e.createElementVNode("div",RE,[e.createElementVNode("span",null,e.toDisplayString(((xt=m.allWx)==null?void 0:xt.time)||"-")+" hrs",1)]),e.createElementVNode("div",zE,[UE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((kt=m.goodWx)==null?void 0:kt.outEca.time)||"-"),1),YE])]),e.createElementVNode("div",ZE,[QE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=m.goodWx)==null?void 0:Dt.inEca.time)||"-"),1),JE])]),e.createElementVNode("div",KE,[jE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=m.allWx)==null?void 0:Ct.outEca.time)||"-"),1),XE])]),e.createElementVNode("div",qE,[uE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((St=m.allWx)==null?void 0:St.inEca.time)||"-"),1),vE])])]),e.createElementVNode("div",ey,[ty,e.createElementVNode("div",oy,[e.createElementVNode("span",null,e.toDisplayString(((Bt=m.goodWx)==null?void 0:Bt.avgSpd)||"-")+" kts",1)]),ly,e.createElementVNode("div",ay,[e.createElementVNode("span",null,e.toDisplayString(((wt=m.allWx)==null?void 0:wt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",ny,[sy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=m.goodWx)==null?void 0:At.outEca.avgSpd)||"-"),1),cy])]),e.createElementVNode("div",iy,[dy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Tt=m.goodWx)==null?void 0:Tt.inEca.avgSpd)||"-"),1),ry])]),e.createElementVNode("div",my,[py,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=m.allWx)==null?void 0:Ft.outEca.avgSpd)||"-"),1),hy])]),e.createElementVNode("div",_y,[Ey,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=m.allWx)==null?void 0:Ot.inEca.avgSpd)||"-"),1),yy])])])]),e.createElementVNode("div",Ny,[e.createElementVNode("div",Vy,[fy,e.createElementVNode("div",by,[e.createElementVNode("span",null,e.toDisplayString(((Pt=m.goodWx)==null?void 0:Pt.sumFoCons)||"-")+" mt",1)]),gy,e.createElementVNode("div",xy,[e.createElementVNode("span",null,e.toDisplayString(((no=m.allWx)==null?void 0:no.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",ky,[Dy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((so=m.goodWx)==null?void 0:so.outEca.sumFoCons)||"-"),1),Cy])]),e.createElementVNode("div",Sy,[By,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((co=m.goodWx)==null?void 0:co.inEca.sumFoCons)||"-"),1),wy])]),e.createElementVNode("div",Ay,[Ty,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((io=m.allWx)==null?void 0:io.outEca.sumFoCons)||"-"),1),Fy])]),e.createElementVNode("div",Oy,[Py,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ro=m.allWx)==null?void 0:ro.inEca.sumFoCons)||"-"),1),Ly])])]),e.createElementVNode("div",Wy,[$y,e.createElementVNode("div",Hy,[e.createElementVNode("span",null,e.toDisplayString(((mo=m.goodWx)==null?void 0:mo.sumDgoCons)||"-")+" mt",1)]),My,e.createElementVNode("div",Iy,[e.createElementVNode("span",null,e.toDisplayString(((po=m.allWx)==null?void 0:po.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",Gy,[Ry,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ho=m.goodWx)==null?void 0:ho.outEca.sumDgoCons)||"-"),1),zy])]),e.createElementVNode("div",Uy,[Yy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_o=m.goodWx)==null?void 0:_o.inEca.sumDgoCons)||"-"),1),Zy])]),e.createElementVNode("div",Qy,[Jy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Eo=m.allWx)==null?void 0:Eo.outEca.sumDgoCons)||"-"),1),Ky])]),e.createElementVNode("div",jy,[Xy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((S=m.allWx)==null?void 0:S.inEca.sumDgoCons)||"-"),1),qy])])]),e.createElementVNode("div",uy,[vy,e.createElementVNode("div",eN,[e.createElementVNode("span",null,e.toDisplayString(((Ie=m.goodWx)==null?void 0:Ie.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",tN,[oN,(at=m.goodWx)!=null&&at.distance&&!((ht=(nt=t.reportData)==null?void 0:nt.weather)!=null&&ht.favorableCur&&((Lt=m.goodWx)==null?void 0:Lt.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",lN,[e.createTextVNode(e.toDisplayString(n.computedPositive((Wt=m.goodWx)==null?void 0:Wt.avgCf)),1),aN])):(e.openBlock(),e.createElementBlock("b",nN,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",sN,[e.createElementVNode("div",cN,[iN,($t=m.goodWx)!=null&&$t.distance?(e.openBlock(),e.createElementBlock("div",dN,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",rN,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",mN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",pN,[e.createElementVNode("span",hN,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",_N,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedTimeConclusion(m.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Ht=m.goodWx)!=null&&Ht.distance?"":"analysis-none"} card analysis-card`)},[(Mt=m.goodWx)!=null&&Mt.distance?(e.openBlock(),e.createElementBlock("div",EN,[e.createElementVNode("div",yN,[NN,VN,e.createElementVNode("div",fN,[e.createElementVNode("div",null,e.toDisplayString((Gt=(It=t.reportData)==null?void 0:It.weather)!=null&&Gt.noExtrapolation?(Rt=m.goodWx)==null?void 0:Rt.distance:(zt=m.allWx)==null?void 0:zt.distance),1),bN,e.createElementVNode("div",null,e.toDisplayString((Ut=m.goodWx)==null?void 0:Ut.pfmSpd),1)]),gN,e.createElementVNode("div",xN,e.toDisplayString(m.timeConclusion.timeAtPfmSpd)+" Hrs",1),kN]),e.createElementVNode("div",DN,[CN,SN,e.createElementVNode("div",BN,[e.createElementVNode("div",null,e.toDisplayString((Zt=(Yt=t.reportData)==null?void 0:Yt.weather)!=null&&Zt.noExtrapolation?(Qt=m.goodWx)==null?void 0:Qt.distance:(Jt=m.allWx)==null?void 0:Jt.distance),1),wN,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),AN,e.createElementVNode("div",TN,e.toDisplayString(m.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),FN]),e.createElementVNode("div",ON,[PN,LN,e.createElementVNode("div",WN,[e.createElementVNode("div",null,e.toDisplayString((jt=(Kt=t.reportData)==null?void 0:Kt.weather)!=null&&jt.noExtrapolation?(Xt=m.goodWx)==null?void 0:Xt.distance:(qt=m.allWx)==null?void 0:qt.distance),1),$N,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.plusAbtSpd),1)]),HN,e.createElementVNode("div",MN,e.toDisplayString(m.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),IN])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",GN,[e.createElementVNode("div",RN,[zN,(ut=m.goodWx)!=null&&ut.distance?(e.openBlock(),e.createElementBlock("div",UN,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",YN,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",ZN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",QN,[e.createElementVNode("span",JN,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",KN,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(vt=m.goodWx)!=null&&vt.distance?"":"analysis-none"} card analysis-card`)},[(eo=m.goodWx)!=null&&eo.distance?(e.openBlock(),e.createElementBlock("div",jN,[e.createElementVNode("div",XN,[qN,uN,e.createElementVNode("div",vN,[e.createElementVNode("div",null,e.toDisplayString((oo=(to=t.reportData)==null?void 0:to.weather)!=null&&oo.noExtrapolation?(lo=m.goodWx)==null?void 0:lo.distance:(yo=m.allWx)==null?void 0:yo.distance),1),eV,e.createElementVNode("div",null,e.toDisplayString((No=m.goodWx)==null?void 0:No.pfmSpd),1)]),tV,e.createElementVNode("div",oV,[e.createElementVNode("div",null,e.toDisplayString((Vo=m.goodWx)==null?void 0:Vo.sumFoCons)+" "+e.toDisplayString(((fo=m.allWx)==null?void 0:fo.inEca.distance)>0?` + ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),lV,e.createElementVNode("div",null,e.toDisplayString((bo=m.goodWx)==null?void 0:bo.time),1)]),aV,e.createElementVNode("div",nV,e.toDisplayString(m.fuelConclusion.fo.entireCons)+" MT",1),sV]),e.createElementVNode("div",cV,[iV,dV,e.createElementVNode("div",rV,[e.createElementVNode("div",null,e.toDisplayString((xo=(go=t.reportData)==null?void 0:go.weather)!=null&&xo.noExtrapolation?(ko=m.goodWx)==null?void 0:ko.distance:(Do=m.allWx)==null?void 0:Do.distance),1),mV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),pV,e.createElementVNode("div",hV,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.overTolerance),1),_V,EV]),yV,e.createElementVNode("div",NV,e.toDisplayString(m.fuelConclusion.fo.maxCons)+" MT",1),VV]),e.createElementVNode("div",fV,[bV,gV,e.createElementVNode("div",xV,[e.createElementVNode("div",null,e.toDisplayString((So=(Co=t.reportData)==null?void 0:Co.weather)!=null&&So.noExtrapolation?(Bo=m.goodWx)==null?void 0:Bo.distance:(wo=m.allWx)==null?void 0:wo.distance),1),kV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),DV,e.createElementVNode("div",CV,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.underTolerance),1),SV,BV]),wV,e.createElementVNode("div",AV,e.toDisplayString(m.fuelConclusion.fo.minCons)+" MT",1),TV])])):e.createCommentVNode("",!0)],2)]),((To=(Ao=m==null?void 0:m.extend)==null?void 0:Ao.cp)==null?void 0:To.dgo)>0?(e.openBlock(),e.createElementBlock("div",FV,[e.createElementVNode("div",OV,[PV,(Fo=m.goodWx)!=null&&Fo.distance?(e.openBlock(),e.createElementBlock("div",LV,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",WV,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",$V,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",HV,[e.createElementVNode("span",MV,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",IV,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Oo=m.goodWx)!=null&&Oo.distance?"":"analysis-none"} card analysis-card`)},[(Po=m.goodWx)!=null&&Po.distance?(e.openBlock(),e.createElementBlock("div",GV,[e.createElementVNode("div",RV,[zV,UV,e.createElementVNode("div",YV,[e.createElementVNode("div",null,e.toDisplayString((Wo=(Lo=t.reportData)==null?void 0:Lo.weather)!=null&&Wo.noExtrapolation?($o=m.goodWx)==null?void 0:$o.distance:(Ho=m.allWx)==null?void 0:Ho.distance),1),ZV,e.createElementVNode("div",null,e.toDisplayString((Ro=m.goodWx)==null?void 0:Ro.pfmSpd),1)]),QV,e.createElementVNode("div",JV,[e.createElementVNode("div",null,e.toDisplayString((zo=m.goodWx)==null?void 0:zo.sumDgoCons)+" "+e.toDisplayString(((Uo=m.allWx)==null?void 0:Uo.inEca.distance)>0?` - ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),KV,e.createElementVNode("div",null,e.toDisplayString((Yo=m.goodWx)==null?void 0:Yo.time),1)]),jV,e.createElementVNode("div",XV,e.toDisplayString(m.fuelConclusion.dgo.entireCons)+" MT",1),qV]),e.createElementVNode("div",uV,[vV,ef,e.createElementVNode("div",tf,[e.createElementVNode("div",null,e.toDisplayString((Qo=(Zo=t.reportData)==null?void 0:Zo.weather)!=null&&Qo.noExtrapolation?(Jo=m.goodWx)==null?void 0:Jo.distance:(Ko=m.allWx)==null?void 0:Ko.distance),1),of,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),lf,e.createElementVNode("div",af,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.overTolerance),1),nf,sf]),cf,e.createElementVNode("div",df,e.toDisplayString(m.fuelConclusion.dgo.maxCons)+" MT",1),rf]),e.createElementVNode("div",mf,[pf,hf,e.createElementVNode("div",_f,[e.createElementVNode("div",null,e.toDisplayString((Xo=(jo=t.reportData)==null?void 0:jo.weather)!=null&&Xo.noExtrapolation?(qo=m.goodWx)==null?void 0:qo.distance:(uo=m.allWx)==null?void 0:uo.distance),1),Ef,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),yf,e.createElementVNode("div",Nf,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.underTolerance),1),Vf,ff]),bf,e.createElementVNode("div",gf,e.toDisplayString(m.fuelConclusion.dgo.minCons)+" MT",1),xf])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),kf,e.createElementVNode("div",Df,[e.createElementVNode("div",Cf,[Sf,e.createElementVNode("div",Bf,[e.createElementVNode("div",wf,[Af,Tf,e.createElementVNode("div",Ff,[e.createElementVNode("div",null,e.toDisplayString((el=(vo=t.reportData)==null?void 0:vo.weather)!=null&&el.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Of,Pf]),Lf]),e.createElementVNode("div",Wf,[$f,Hf,e.createElementVNode("div",Mf,[e.createElementVNode("div",null,e.toDisplayString((ol=(tl=t.reportData)==null?void 0:tl.weather)!=null&&ol.noExtrapolation?"Good Weather Distance":"Total Distance"),1),If,Gf]),Rf]),e.createElementVNode("div",zf,[Uf,Yf,e.createElementVNode("div",Zf,[e.createElementVNode("div",null,e.toDisplayString((al=(ll=t.reportData)==null?void 0:ll.weather)!=null&&al.noExtrapolation?"Good Weather Distance":"Total Distance"),1),Qf,Jf]),Kf]),jf])]),e.createElementVNode("div",Xf,[qf,e.createElementVNode("div",uf,[e.createElementVNode("div",vf,[e0,t0,e.createElementVNode("div",o0,[e.createElementVNode("div",null,e.toDisplayString((sl=(nl=t.reportData)==null?void 0:nl.weather)!=null&&sl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),l0,a0]),n0,s0,c0]),e.createElementVNode("div",i0,[d0,r0,e.createElementVNode("div",m0,[e.createElementVNode("div",null,e.toDisplayString((il=(cl=t.reportData)==null?void 0:cl.weather)!=null&&il.noExtrapolation?"Good Weather Distance":"Total Distance"),1),p0,h0]),_0,E0,y0]),e.createElementVNode("div",N0,[V0,f0,e.createElementVNode("div",b0,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=t.reportData)==null?void 0:dl.weather)!=null&&rl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),g0,x0]),k0,D0,C0]),S0,B0])])])])])}),128))])],2)}const A0=Ce(dh,[["render",w0],["__scopeId","data-v-b0ef3073"]]),WY="",T0={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let o=11;return this.showCF||(o=o-2),this.showAisDistance||(o=o-2),o},computedClass(){return function(o,s,t,r){var E;let a="";const n=((E=this.summaryTable)==null?void 0:E.length)-1;return t&&s!==n&&(a=o.abbreviation==="A"||o.abbreviation==="B"?"td-no-bottom":""),(o==null?void 0:o.goodWx)===!0&&!r&&(a=a+" good-weather"),(o==null?void 0:o.excluded)===!0&&!r&&(a=a+" excluded"),a}},computedSegClass(){return function(o,s){var r,a;const t=((r=this.summaryTable)==null?void 0:r.length)-1;if(t>-1){if(o.isFirstSeg&&s!==t)return"td-no-bottom td-top";if((a=this.summaryTable[s+1])!=null&&a.isFirstSeg)return"td-bottom";if(s!==t)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(o){var s;return!((o.abbreviation==="E"||o.abbreviation==="B")&&o.noon&&(s=o.noon)!=null&&s.port)}},computedTime(){return function(o,s){return s==="subtitle"?j(o).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?j(o).utc().format("MMMM-DD/HHmm[Z]"):j(o).utc().format("dddd, MMMM D, YYYY")}}},watch:{reportData:{handler(o,s){o!=null&&o.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},mounted(){},methods:{getLonLat(o){return`${o.degree}°${ae.LngLatHelper.roundPrecision(o.minute,1)}′${o.direction}`},checkData(){var r,a,n,E;this.showCF=(a=(r=this.reportData)==null?void 0:r.weather)==null?void 0:a.showCF,this.showAisDistance=!0;let o=[];(E=(n=this.reportData)==null?void 0:n.segments)==null||E.forEach((c,p)=>{let b=c.extend.cp;c.inventory.sample.hours.forEach((g,h)=>{let N=JSON.parse(JSON.stringify(g));N.cp=b,o.push(N)})}),o.sort(function(c,p){let b=c.date,g=p.date;return b-g});let s="",t="";o.forEach((c,p)=>{c.seg!==s&&(c.isFirstSeg=!0,s=c.seg);let b=c.type.charAt(0);c.abbreviation=b;const g=j(c.utc).utc().format("D-MMM");g!==t&&(c.lastdate=g,t=g),b==="A"?c.type="":b==="M"&&(c.type="*"),c.time=j(c.utc).utc().format("HH:mm[Z]"),c.lngPretty=this.getLonLat(ae.LngLatHelper.lng2pretty(c.lng)),c.latPretty=this.getLonLat(ae.LngLatHelper.lat2pretty(c.lat))}),this.summaryTable=o}}},Xa=o=>(e.pushScopeId("data-v-ec7ec0f5"),o=o(),e.popScopeId(),o),F0=Xa(()=>e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),O0={id:"second-table",class:"table"},P0={class:"summary-table"},L0=Xa(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg"),e.createElementVNode("th",{rowspan:"2"},"Type"),e.createElementVNode("th",{rowspan:"2"}," Date "),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{colspan:"2"},"Coordinates"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("CP Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{rowspan:"2"},"Beaufort Wind Scale"),e.createElementVNode("th",{colspan:"2"},"Swell"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sig. Wave"),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Current Factor"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Speed"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{colspan:"2"},"CP Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported Daily Fuel Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported BROB (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Lat"),e.createElementVNode("th",null,"Lon"),e.createElementVNode("th",null,"Direction"),e.createElementVNode("th",null,"Height (m)"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),W0={class:"summary-tbody"},$0=e.createStaticVNode('<div style="page-break-inside:avoid;" class="table-legend dashed" data-v-ec7ec0f5><div class="item" data-v-ec7ec0f5><div class="legend" data-v-ec7ec0f5><div class="legend-bg gwd" data-v-ec7ec0f5></div></div> Good Weather Days </div><div class="item" data-v-ec7ec0f5><div class="legend" data-v-ec7ec0f5><div class="legend-bg adverse" data-v-ec7ec0f5></div></div> Adverse Weather Days </div><div class="item" data-v-ec7ec0f5><div class="legend" data-v-ec7ec0f5><div class="legend-bg excluded" data-v-ec7ec0f5></div></div> Excluded Periods </div></div>',1),H0={class:"voyage-map",style:{"page-break-inside":"avoid"}},M0=Xa(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),I0=["src"],G0=e.createStaticVNode('<div class="legend-block" data-v-ec7ec0f5><div style="position:relative;left:-20px;" data-v-ec7ec0f5><div style="position:relative;display:inline-block;top:-12px;left:15px;transform:scale(0.95);" data-v-ec7ec0f5><div data-v-ec7ec0f5>7</div><br data-v-ec7ec0f5><div data-v-ec7ec0f5>W 4</div></div><i class="iconfont" style="font-size:30px;font-weight:600;position:relative;top:-20px;margin:8px 0 0 4px;color:var(--idm-black-6);" data-v-ec7ec0f5></i><div style="display:inline-block;transform:scale(0.95);text-align:left;margin-left:5px;" data-v-ec7ec0f5> LEGEND: <br data-v-ec7ec0f5> Wind from NE(045) <br data-v-ec7ec0f5> Each barb = 10 kts <br data-v-ec7ec0f5> 1/2 barb = 5 kts <br data-v-ec7ec0f5></div></div><div style="transform:scale(0.95);" data-v-ec7ec0f5> 7 - DAY OF THE MONTH <br data-v-ec7ec0f5> W 4 - PRIMARY WAVE FROM WEST, 4 METERS<br data-v-ec7ec0f5><div class="goodWx" data-v-ec7ec0f5>Date</div> Good weather days<br data-v-ec7ec0f5></div></div>',1);function R0(o,s,t,r,a,n){var E,c,p,b,g;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((c=(E=t.reportData)==null?void 0:E.weather)!=null&&c.referenceOnly||(b=(p=t.reportData)==null?void 0:p.weather)!=null&&b.overallAsGoodWx?"watermark fli-main":"fli-main")},[F0,e.createElementVNode("div",O0,[e.createElementVNode("div",null,[e.createElementVNode("table",P0,[L0,e.createElementVNode("tbody",W0,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.summaryTable,(h,N)=>{var D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U;return e.openBlock(),e.createElementBlock("tr",{key:N},[e.createElementVNode("td",{class:e.normalizeClass(n.computedSegClass(h,N))},e.toDisplayString(h.isFirstSeg?h.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.type),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.time),3),n.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.latPretty),3)):e.createCommentVNode("",!0),n.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString((D=h.noon)==null?void 0:D.port),3)),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(x=h.cp)==null?void 0:x.speed),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0))},e.toDisplayString(h.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0))},e.toDisplayString(h.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((k=(C=h.meteo)==null?void 0:C.wind)==null?void 0:k.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((B=(F=(T=h.meteo)==null?void 0:T.wave)==null?void 0:F.swell)==null?void 0:B.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((O=(f=(w=h.meteo)==null?void 0:w.wave)==null?void 0:f.swell)==null?void 0:O.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((R=(G=(I=h.meteo)==null?void 0:I.wave)==null?void 0:G.sig)==null?void 0:R.height)??"--"),3),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((z=h.meteo)==null?void 0:z.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":h.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((_=h.noon)==null?void 0:_.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((L=h.noon)==null?void 0:L.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(H=h.cp)==null?void 0:H.fo),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(W=h.cp)==null?void 0:W.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((P=h.noon)==null?void 0:P.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((M=h.noon)==null?void 0:M.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":(Q=h.noon)==null?void 0:Q.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":(U=h.noon)==null?void 0:U.dgoBrob),3)])}),128))])])])]),$0,e.createElementVNode("div",H0,[M0,e.createElementVNode("img",{style:{width:"100%"},src:(g=t.reportData)==null?void 0:g.chartUrl,alt:""},null,8,I0),G0])],2)}const z0=Ce(T0,[["render",R0],["__scopeId","data-v-ec7ec0f5"]]),$Y="",U0={components:{Summary:A0,Inventory:z0},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(o,s){o!=null&&o.id&&this.$nextTick(()=>{this.reportData=o})},immediate:!0}},methods:{commit(o){this.$emit("commit",o)}}},Y0={class:"voyage-report"};function Z0(o,s,t,r,a,n){const E=e.resolveComponent("Summary"),c=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",Y0,[e.createVNode(E,{"report-data":a.reportData,class:"main","editor-disabled":t.editorDisabled,onCommit:n.commit},null,8,["report-data","editor-disabled","onCommit"]),e.createVNode(c,{"is-admin":t.isAdmin,"report-data":a.reportData,class:"main"},null,8,["is-admin","report-data"])])}const ln=Ce(U0,[["render",Z0],["__scopeId","data-v-77dca605"]]),HY="",Q0={name:"OrmVoyageSummary",components:{Lng:Wa,Lat:$a,Editor:Go},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:""}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${j(o).utc().format(s)}`}},computeWeatherDef(){return function(o){let s="";o!=null&&o.waveSwitch?s+=`Wind wave height is ${o==null?void 0:o.waveHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`:o!=null&&o.swellSwitch?s+=`Swell height is ${o==null?void 0:o.swellHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`:o!=null&&o.sigSwitch&&(s+=`Significant wave height is ${o==null?void 0:o.sigHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`);let t=`Winds are BF/${o==null?void 0:o.windScale} or less, ${s}`;return o!=null&&o.noAdverseCur&&(t+=", No Adverse Current"),o!=null&&o.waterTempSwitch&&(t+=`, water temperature is ${o==null?void 0:o.waterTemp} °C or less`),o!=null&&o.noExtrapolation&&(t+=", No Extrapolation"),o!=null&&o.overallAsGoodWx&&(t="No specific thresholds for wind/wave/currents are defined in the Charter Party.",o.disableWxFactor&&o.disableCFactor?t+=" Both Wx Factor and Current Factor are ignored.":o.disableWxFactor?t+=" Wx Factor is ignored.":o.disableCFactor&&(t+=" Current Factor is ignored."),t+=" Therefore the Good Weather Definition in this reports does not apply any thresholds."),t}},computeLng(){return function(o){return ae.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return ae.LngLatHelper.lat2pretty(o)}},computeAbtSpeed(){return function(o,s,t){return t==="Over"?o.abt4SpdOver:o.abt4SpdUnder}},computeAbtCons(){return function(o,s){return o.consPercentage?s==="Over"?`${o.consOfOver}%`:`${o.consOfUnder}%`:s==="Over"?`${o.consOfOver}`:`${o.consOfUnder}`}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(o,s){o!=null&&o.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var o,s;this.remarks=this.report.remarks||"Please double click to modify remark",this.exclusion=[],(s=(o=this.report)==null?void 0:o.segments)==null||s.forEach((t,r)=>{const a=t.excluded;a.sumDistance>0&&a.detail.forEach(n=>{const E={time:j(n.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+j(n.end).utc().format("MMM-DD/HHmm[Z]"),duration:n.duration,distance:n.distance,fo:n.foCons,dgo:n.dgoCons};this.exclusion.push(E)})})},handleCommit(o){this.editable=!1,this.$emit("commit",o)},handleEdit(){this.editable=!0}}},i=o=>(e.pushScopeId("data-v-f248d7fb"),o=o(),e.popScopeId(),o),J0={class:"report-summary"},K0={class:"section voyage-section flex-space"},j0={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},X0={class:"flex-space label-block",style:{width:"100%"}},q0=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),u0={style:{"text-transform":"uppercase"}},v0={class:"flex-space label-block",style:{width:"100%"}},e2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),t2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},o2={class:"flex-space label-block",style:{width:"100%"}},l2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),a2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},n2={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},s2={class:"flex-space label-block",style:{width:"100%"}},c2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),i2={key:0,class:"flex-end",style:{flex:"1"}},d2={key:1,class:"flex-end",style:{flex:"1"}},r2=i(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),m2={class:"flex-end",style:{width:"150px"}},p2={class:"flex-space label-block",style:{width:"100%"}},h2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),_2={key:0,class:"flex-end",style:{flex:"1"}},E2={key:1,class:"flex-end",style:{flex:"1"}},y2=i(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),N2={class:"flex-end",style:{width:"150px"}},V2={class:"flex-space label-block",style:{width:"100%"}},f2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),b2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},g2={class:"section weather-section"},x2=i(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),k2={class:"definition"},D2={class:"txt"},C2={class:"section summary-section"},S2=i(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),B2={class:"phase-box"},w2={class:"phase-index"},A2={class:"phase-position"},T2={key:0},F2={key:1},O2=i(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),P2={class:"phase-position"},L2={key:0},W2={key:1},$2=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),H2={class:"phase-cp flex-space"},M2={class:"cp-box"},I2=i(()=>e.createElementVNode("div",{class:"flex-space"},[e.createElementVNode("label",null,"CP"),e.createElementVNode("label",null,"SPEED (kts)"),e.createElementVNode("label",null,"DAILY FO CONS (mt)"),e.createElementVNode("label",null,"DAILY DO/GO CONS (mt)")],-1)),G2={class:"flex-space"},R2=i(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),z2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),U2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),Y2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),Z2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),Q2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),J2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),K2=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),j2={class:"phase-conclusion flex-space"},X2={class:"item-conclusion"},q2=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),u2={class:"value flex-start"},v2=i(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),eb={key:0,class:"label flex-end"},tb={key:0},ob={key:1},lb={key:2},ab={key:1,class:"label flex-end"},nb={key:2,class:"value flex-end"},sb={key:0},cb=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),ib={class:"gain"},db=i(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),rb={key:1},mb=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),pb={class:"lost"},hb=i(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),_b={key:2},Eb={class:"item-conclusion"},yb=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),Nb={class:"value flex-start"},Vb=i(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),fb={key:0,class:"label flex-end"},bb={key:0},gb={key:1},xb={key:2},kb={key:1,class:"label flex-end"},Db={key:2,class:"value flex-end"},Cb={key:0},Sb=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Bb={class:"gain"},wb=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Ab={key:1},Tb=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Fb={class:"lost"},Ob=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Pb={key:2},Lb={class:"item-conclusion"},Wb=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),$b={class:"value flex-start"},Hb=i(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),Mb={key:0,class:"label flex-end"},Ib={key:0},Gb={key:1},Rb={key:2},zb={key:1,class:"label flex-end"},Ub={key:2,class:"value flex-end"},Yb={key:0},Zb=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Qb={class:"gain"},Jb=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Kb={key:1},jb=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Xb={class:"lost"},qb=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),ub={key:2},vb=i(()=>e.createElementVNode("div",{class:"tips flex-end"},"*Please see voyage analysis pages for the details.",-1)),eg=i(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),tg={key:0,class:"exclusion-block"},og=i(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),lg=i(()=>e.createElementVNode("div",{class:"sub-title"},[e.createElementVNode("div",null,"The voyage analysis does not include following information on time, distance, and consumed fuel.")],-1)),ag={style:{margin:"8px 0"}},ng={class:"remark-table"},sg=i(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td"),e.createElementVNode("td",{style:{width:"40%"}},"Time"),e.createElementVNode("td",null,"Duration (hrs)"),e.createElementVNode("td",null,"Distance (nm)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),cg=["innerHTML"],ig={class:"section segment-section"},dg=i(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),rg={class:"segment-index flex-center"},mg={class:"segment-position"},pg={key:0},hg={key:1},_g=i(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),Eg={class:"segment-position"},yg={key:0},Ng={key:1},Vg=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),fg={style:{margin:"10px 0 0"}},bg=i(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label",style:{width:"35%"}}),e.createElementVNode("td",{class:"label",colspan:"2"},"Good Weather"),e.createElementVNode("td",{class:"label",colspan:"2"},"All Weather")],-1)),gg=i(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label"}),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA"),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA")],-1)),xg=i(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),kg={class:"good-wx"},Dg={class:"good-wx"},Cg=i(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),Sg={class:"good-wx"},Bg={class:"good-wx"},wg=i(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),Ag={class:"good-wx"},Tg={class:"good-wx"},Fg=i(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),Og={class:"good-wx"},Pg={class:"good-wx"},Lg=i(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),Wg={class:"good-wx"},$g={class:"good-wx"},Hg=i(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),Mg={class:"good-wx"},Ig={class:"good-wx"},Gg=i(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),Rg={class:"good-wx"},zg={class:"good-wx"},Ug={key:0,class:"flex-end tip"},Yg={key:1,class:"segment-speed"},Zg={class:"flex-center"},Qg=i(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Jg={class:"speed-right flex-space"},Kg=i(()=>e.createElementVNode("span",null,"-",-1)),jg=i(()=>e.createElementVNode("label",null,"=",-1)),Xg={class:"speed"},qg={key:1,class:"speed"},ug={key:0,class:"speed"},vg=i(()=>e.createElementVNode("span",null,"-",-1)),ex=i(()=>e.createElementVNode("label",null,"=",-1)),tx={class:"speed"},ox=i(()=>e.createElementVNode("span",null,"-",-1)),lx=i(()=>e.createElementVNode("label",null,"=",-1)),ax={class:"speed"},nx=i(()=>e.createElementVNode("span",null,"-",-1)),sx=i(()=>e.createElementVNode("span",null,"-",-1)),cx=i(()=>e.createElementVNode("label",null,"=",-1)),ix={class:"speed"},dx={key:2,class:"under"},rx={key:3,class:"over"},mx={class:"flex-center"},px=i(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),hx={class:"speed-right formula flex-space"},_x=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Ex=i(()=>e.createElementVNode("label",null,"-",-1)),yx=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Nx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Vx=i(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),fx={key:0},bx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),gx=i(()=>e.createElementVNode("label",null,"-",-1)),xx=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),kx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Dx=i(()=>e.createElementVNode("label",null,"-",-1)),Cx=i(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Sx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Bx=i(()=>e.createElementVNode("label",null,"-",-1)),wx=i(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Ax=i(()=>e.createElementVNode("label",null,"-",-1)),Tx=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Fx={key:2,class:"segment-speed"},Ox={class:"flex-center"},Px=i(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Lx={class:"speed-right flex-space"},Wx=i(()=>e.createElementVNode("span",null,"-",-1)),$x=i(()=>e.createElementVNode("span",null,"-",-1)),Hx=i(()=>e.createElementVNode("label",null,"=",-1)),Mx={class:"speed"},Ix=i(()=>e.createElementVNode("span",null,"-",-1)),Gx=i(()=>e.createElementVNode("label",null,"=",-1)),Rx={class:"speed"},zx={key:2,class:"under"},Ux={key:3,class:"over"},Yx={class:"flex-center"},Zx=i(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Qx={class:"speed-right formula flex-space"},Jx=i(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),Kx=i(()=>e.createElementVNode("label",null,"-",-1)),jx=i(()=>e.createElementVNode("label",null,"Current Factor",-1)),Xx=i(()=>e.createElementVNode("label",null,"-",-1)),qx=i(()=>e.createElementVNode("label",null,"Weather Factor",-1)),ux=i(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),vx=i(()=>e.createElementVNode("label",null,"-",-1)),ek=i(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),tk=i(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),ok=i(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),lk={class:"segment-formula"},ak={class:"header-block flex-start"},nk=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),sk={class:"title"},ck={key:0,style:{"margin-left":"4px","font-weight":"300"}},ik={class:"formula-block"},dk={class:"flex-evenly"},rk=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),mk={class:"formula-right flex-evenly"},pk={class:"fraction",style:{width:"240px"}},hk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),_k=i(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Ek=i(()=>e.createElementVNode("div",null,"(a)",-1)),yk={class:"flex-center"},Nk={class:"formula-left flex-space"},Vk=i(()=>e.createElementVNode("label",null,"=",-1)),fk={class:"formula-right flex-evenly"},bk={class:"fraction",style:{width:"240px"}},gk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),xk=i(()=>e.createElementVNode("div",null,"(b)",-1)),kk={class:"flex-center"},Dk={class:"formula-left flex-space"},Ck=i(()=>e.createElementVNode("label",null,"=",-1)),Sk={class:"formula-right flex-evenly"},Bk={class:"fraction",style:{width:"240px"}},wk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),Ak=i(()=>e.createElementVNode("div",null,"(c)",-1)),Tk=e.createStaticVNode('<div class="flex-start" data-v-f248d7fb><div class="flex-space" style="width:300px;font-weight:400;" data-v-f248d7fb><label data-v-f248d7fb>Time Lost</label><div data-v-f248d7fb>=</div><div data-v-f248d7fb>(a)</div><div data-v-f248d7fb>-</div><div data-v-f248d7fb>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-f248d7fb><label data-v-f248d7fb>Time Gained</label><div data-v-f248d7fb>=</div><div data-v-f248d7fb>(c)</div><div data-v-f248d7fb>-</div><div data-v-f248d7fb>(a)</div></div></div>',1),Fk={class:"formula-desc"},Ok={class:"flex-end"},Pk=i(()=>e.createElementVNode("label",null,"Time Lost",-1)),Lk={class:"flex-end"},Wk=i(()=>e.createElementVNode("label",null,"Time Gained",-1)),$k={class:"flex-end"},Hk=i(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),Mk={key:0,class:"formula-block",style:{"font-weight":"400"}},Ik={class:"flex-evenly"},Gk=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Rk={class:"formula-right flex-evenly"},zk={class:"fraction",style:{width:"240px"}},Uk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),Yk=i(()=>e.createElementVNode("div",null,"=",-1)),Zk=i(()=>e.createElementVNode("div",null,"(a')",-1)),Qk={class:"flex-center"},Jk={class:"formula-left flex-space"},Kk=i(()=>e.createElementVNode("label",null,"=",-1)),jk={class:"formula-right flex-evenly"},Xk={class:"fraction",style:{width:"240px"}},qk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),uk=i(()=>e.createElementVNode("div",null,"=",-1)),vk=i(()=>e.createElementVNode("div",null,"(b')",-1)),e3={class:"flex-center"},t3={class:"formula-left flex-space"},o3=i(()=>e.createElementVNode("label",null,"=",-1)),l3={class:"formula-right flex-evenly"},a3={class:"fraction",style:{width:"240px"}},n3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),s3=i(()=>e.createElementVNode("div",null,"=",-1)),c3=i(()=>e.createElementVNode("div",null,"(c')",-1)),i3={class:"formula-conclusion",style:{"margin-bottom":"0"}},d3={key:0,class:"flex-evenly",style:{width:"500px"}},r3=i(()=>e.createElementVNode("div",null,"Time Lost",-1)),m3=i(()=>e.createElementVNode("div",null,"=",-1)),p3=i(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),h3=i(()=>e.createElementVNode("div",null,"=",-1)),_3=i(()=>e.createElementVNode("div",null,"-",-1)),E3=i(()=>e.createElementVNode("div",null,"=",-1)),y3={key:1,class:"flex-evenly",style:{width:"500px"}},N3=i(()=>e.createElementVNode("div",null,"Time Lost",-1)),V3=i(()=>e.createElementVNode("div",null,"=",-1)),f3=i(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),b3=i(()=>e.createElementVNode("div",null,"=",-1)),g3=i(()=>e.createElementVNode("div",null,"-",-1)),x3=i(()=>e.createElementVNode("div",null,"=",-1)),k3=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),D3={key:1,class:"formula-conclusion"},C3=i(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),S3={class:"segment-formula"},B3={class:"header-block flex-start"},w3=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),A3={class:"title"},T3={key:0,style:{"margin-left":"4px","font-weight":"300"}},F3={class:"formula-block"},O3={class:"flex-evenly"},P3=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),L3={class:"formula-right flex-evenly"},W3={class:"fraction",style:{width:"240px"}},$3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),H3=i(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),M3=i(()=>e.createElementVNode("div",null,"x",-1)),I3=i(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Good Weather Consumption*"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),G3=i(()=>e.createElementVNode("div",null,"(d)",-1)),R3={style:{"line-height":"1"}},z3=i(()=>e.createElementVNode("div",{class:"tips flex-end",style:{"font-size":"14px"}},"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),U3={key:0,class:"tips flex-end",style:{"font-size":"14px"}},Y3={class:"flex-center"},Z3=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),Q3={class:"formula-right flex-evenly"},J3={class:"fraction",style:{width:"240px"}},K3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),j3=i(()=>e.createElementVNode("div",null,"x",-1)),X3=i(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Daily CP Consumption + Consumer Over"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"24 hours")],-1)),q3=i(()=>e.createElementVNode("div",null,"(e)",-1)),u3={class:"flex-center"},v3=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),eD={class:"formula-right flex-evenly"},tD={class:"fraction",style:{width:"240px"}},oD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),lD=i(()=>e.createElementVNode("div",null,"x",-1)),aD=i(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Daily CP Consumption - Consumer Under"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"24 hours")],-1)),nD=i(()=>e.createElementVNode("div",null,"(f)",-1)),sD=e.createStaticVNode('<div class="flex-start" data-v-f248d7fb><div class="flex-space" style="width:300px;font-weight:400;" data-v-f248d7fb><label data-v-f248d7fb>Fuel Over-consumption</label><div data-v-f248d7fb>=</div><div data-v-f248d7fb>(d)</div><div data-v-f248d7fb>-</div><div data-v-f248d7fb>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-f248d7fb><label data-v-f248d7fb>Fuel Saving</label><div data-v-f248d7fb>=</div><div data-v-f248d7fb>(f)</div><div data-v-f248d7fb>-</div><div data-v-f248d7fb>(d)</div></div></div>',1),cD={class:"flex-center"},iD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),dD={class:"formula-right flex-evenly"},rD={class:"fraction",style:{width:"270px"}},mD=i(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),pD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),hD={class:"flex-center"},_D=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),ED={class:"formula-right flex-evenly"},yD={class:"fraction",style:{width:"270px"}},ND=i(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),VD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),fD=i(()=>e.createElementVNode("div",{class:"formula-desc"},[e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"Fuel Over-consumption"),e.createElementVNode("div",null,"Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption")]),e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"Fuel Saving"),e.createElementVNode("div",null,"Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption")]),e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"No Fuel Over-consumption or Saving"),e.createElementVNode("div",null,"Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption")])],-1)),bD={class:"header-block flex-start",style:{"margin-top":"10px"}},gD=i(()=>e.createElementVNode("i",{class:"iconfont"}," ",-1)),xD={class:"title"},kD={key:0,class:"formula-block"},DD={key:0,class:"flex-evenly"},CD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"* Good Weather M/E DO/GO Cons. in ECA"),e.createElementVNode("label",null,"=")],-1)),SD={class:"formula-right flex-evenly"},BD={class:"fraction",style:{width:"60px"}},wD=i(()=>e.createElementVNode("div",null,"-",-1)),AD={class:"fraction",style:{width:"60px"}},TD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),FD=i(()=>e.createElementVNode("div",null,"24",-1)),OD=i(()=>e.createElementVNode("div",null,"*",-1)),PD=i(()=>e.createElementVNode("div",null,"=",-1)),LD={class:"flex-evenly"},WD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),$D={class:"formula-right flex-evenly"},HD={class:"fraction",style:{width:"240px"}},MD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),ID=i(()=>e.createElementVNode("div",null,"x",-1)),GD={class:"fraction",style:{width:"240px"}},RD={key:0},zD=i(()=>e.createElementVNode("span",null," + ",-1)),UD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),YD=i(()=>e.createElementVNode("div",null,"=",-1)),ZD=i(()=>e.createElementVNode("div",null,"(d')",-1)),QD={class:"flex-evenly"},JD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),KD={class:"formula-right flex-evenly"},jD={class:"fraction",style:{width:"240px"}},XD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),qD=i(()=>e.createElementVNode("div",null,"x",-1)),uD={class:"fraction",style:{width:"240px"}},vD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),eC=i(()=>e.createElementVNode("div",null,"24",-1)),tC=i(()=>e.createElementVNode("div",null,"=",-1)),oC=i(()=>e.createElementVNode("div",null,"(e')",-1)),lC={class:"flex-evenly"},aC=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),nC={class:"formula-right flex-evenly"},sC={class:"fraction",style:{width:"240px"}},cC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),iC=i(()=>e.createElementVNode("div",null,"x",-1)),dC={class:"fraction",style:{width:"240px"}},rC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),mC=i(()=>e.createElementVNode("div",null,"24",-1)),pC=i(()=>e.createElementVNode("div",null,"=",-1)),hC=i(()=>e.createElementVNode("div",null,"(f')",-1)),_C={class:"formula-conclusion",style:{"margin-bottom":"0"}},EC={class:"flex-evenly",style:{width:"500px"}},yC=i(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),NC=i(()=>e.createElementVNode("div",null,"=",-1)),VC=i(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),fC=i(()=>e.createElementVNode("div",null,"=",-1)),bC=i(()=>e.createElementVNode("div",null,"-",-1)),gC=i(()=>e.createElementVNode("div",null,"=",-1)),xC={key:0,class:"flex-evenly"},kC=i(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),DC=i(()=>e.createElementVNode("div",null,"=",-1)),CC={class:"fraction"},SC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),BC=i(()=>e.createElementVNode("div",null,"=",-1)),wC={class:"flex-evenly",style:{width:"700px"}},AC=i(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),TC=i(()=>e.createElementVNode("div",null,"=",-1)),FC=i(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),OC=i(()=>e.createElementVNode("div",null,"=",-1)),PC=i(()=>e.createElementVNode("div",null,"-",-1)),LC=i(()=>e.createElementVNode("div",null,"=",-1)),WC={key:0,class:"flex-evenly",style:{width:"500px"}},$C=i(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),HC=i(()=>e.createElementVNode("div",null,"=",-1)),MC={class:"fraction",style:{width:"140px"}},IC=i(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),GC=i(()=>e.createElementVNode("div",null,"=",-1)),RC=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),zC={key:1,class:"formula-conclusion"},UC={class:"header-block flex-end",style:{"margin-top":"10px"}},YC=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),ZC={class:"title"},QC={key:0,class:"formula-block"},JC={class:"flex-evenly"},KC=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),jC={class:"formula-right flex-evenly"},XC={class:"fraction",style:{width:"240px"}},qC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),uC=i(()=>e.createElementVNode("div",null,"x",-1)),vC={class:"fraction",style:{width:"240px"}},eS={key:0},tS=i(()=>e.createElementVNode("span",null," - ",-1)),oS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),lS=i(()=>e.createElementVNode("div",null,"=",-1)),aS=i(()=>e.createElementVNode("div",null,"(d'')",-1)),nS={class:"flex-evenly"},sS=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),cS={class:"formula-right flex-evenly"},iS={class:"fraction",style:{width:"240px"}},dS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),rS=i(()=>e.createElementVNode("div",null,"x",-1)),mS={class:"fraction",style:{width:"240px"}},pS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),hS=i(()=>e.createElementVNode("div",null,"24",-1)),_S=i(()=>e.createElementVNode("div",null,"=",-1)),ES=i(()=>e.createElementVNode("div",null,"(e'')",-1)),yS={class:"flex-evenly"},NS=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),VS={class:"formula-right flex-evenly"},fS={class:"fraction",style:{width:"240px"}},bS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),gS=i(()=>e.createElementVNode("div",null,"x",-1)),xS={class:"fraction",style:{width:"240px"}},kS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),DS=i(()=>e.createElementVNode("div",null,"24",-1)),CS=i(()=>e.createElementVNode("div",null,"=",-1)),SS=i(()=>e.createElementVNode("div",null,"(f'')",-1)),BS={class:"formula-conclusion",style:{"margin-bottom":"0"}},wS={key:0,class:"flex-evenly",style:{width:"500px"}},AS=i(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),TS=i(()=>e.createElementVNode("div",null,"=",-1)),FS=i(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),OS=i(()=>e.createElementVNode("div",null,"=",-1)),PS=i(()=>e.createElementVNode("div",null,"-",-1)),LS=i(()=>e.createElementVNode("div",null,"=",-1)),WS={key:1,class:"flex-evenly",style:{width:"700px"}},$S=i(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),HS=i(()=>e.createElementVNode("div",null,"=",-1)),MS=i(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),IS=i(()=>e.createElementVNode("div",null,"=",-1)),GS=i(()=>e.createElementVNode("div",null,"-",-1)),RS=i(()=>e.createElementVNode("div",null,"=",-1)),zS=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),US={key:1,class:"formula-conclusion"};function YS(o,s,t,r,a,n){var b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",J0,[e.createElementVNode("div",K0,[e.createElementVNode("div",j0,[e.createElementVNode("div",X0,[q0,e.createElementVNode("span",u0,e.toDisplayString(t.report.preparedFor),1)]),e.createElementVNode("div",v0,[e2,e.createElementVNode("span",t2,e.toDisplayString((g=(b=t.report)==null?void 0:b.vessel)==null?void 0:g.name)+" ("+e.toDisplayString((N=(h=t.report)==null?void 0:h.vessel)==null?void 0:N.type)+")",1)]),e.createElementVNode("div",o2,[l2,e.createElementVNode("span",a2,e.toDisplayString((x=(D=t.report)==null?void 0:D.voyage)==null?void 0:x.number),1)])]),e.createElementVNode("div",n2,[e.createElementVNode("div",s2,[c2,(k=(C=t.report)==null?void 0:C.departure)!=null&&k.portName?(e.openBlock(),e.createElementBlock("span",i2,e.toDisplayString((F=(T=t.report)==null?void 0:T.departure)==null?void 0:F.portName),1)):(e.openBlock(),e.createElementBlock("div",d2,[e.createVNode(E,{lat:(w=(B=t.report)==null?void 0:B.departure)==null?void 0:w.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),r2,e.createVNode(c,{lng:(f=t.report.departure)==null?void 0:f.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",m2,e.toDisplayString(n.computeUTCTime((O=t.report.departure)==null?void 0:O.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",p2,[h2,(G=(I=t.report)==null?void 0:I.arrival)!=null&&G.portName?(e.openBlock(),e.createElementBlock("span",_2,e.toDisplayString((z=(R=t.report)==null?void 0:R.arrival)==null?void 0:z.portName),1)):(e.openBlock(),e.createElementBlock("div",E2,[e.createVNode(E,{lat:(L=(_=t.report)==null?void 0:_.arrival)==null?void 0:L.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),y2,e.createVNode(c,{lng:(W=(H=t.report)==null?void 0:H.arrival)==null?void 0:W.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",N2,e.toDisplayString(n.computeUTCTime((M=(P=t.report)==null?void 0:P.arrival)==null?void 0:M.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",V2,[f2,e.createElementVNode("span",b2,e.toDisplayString((U=(Q=t.report)==null?void 0:Q.voyage)==null?void 0:U.loadCondition),1)])])]),e.createElementVNode("div",g2,[x2,e.createElementVNode("div",k2,[e.createElementVNode("div",D2,e.toDisplayString(n.computeWeatherDef(t.report.weather)),1)])]),e.createElementVNode("div",C2,[S2,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((J=t.report)==null?void 0:J.segments,(l,X)=>{var v,ee,te,oe,le,ce,ie,de,_e,q,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,Ke,je,Xe,A,Se,Ge,qe,ue,ve,et,tt,m;return e.openBlock(),e.createElementBlock("div",{key:"summary"+X,class:"segment-box flex-space"},[e.createElementVNode("div",B2,[e.createElementVNode("div",w2,"Seg."+e.toDisplayString(X+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((v=l==null?void 0:l.extend)==null?void 0:v.segTimes,($,Be)=>{var Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt;return e.openBlock(),e.createElementBlock("div",{key:Be,class:"phase-row flex-space"},[e.createElementVNode("div",A2,[(Me=$==null?void 0:$.departure)!=null&&Me.portName?(e.openBlock(),e.createElementBlock("span",T2,e.toDisplayString((Re=$==null?void 0:$.departure)==null?void 0:Re.portName),1)):(e.openBlock(),e.createElementBlock("span",F2,e.toDisplayString(n.computeLat((pe=$==null?void 0:$.departure)==null?void 0:pe.lat).pretty)+", "+e.toDisplayString(n.computeLng((Ue=$==null?void 0:$.departure)==null?void 0:Ue.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((ot=$==null?void 0:$.departure)==null?void 0:ot.utcTime))+")",1)]),O2,e.createElementVNode("div",P2,[(lt=$==null?void 0:$.arrival)!=null&<.portName?(e.openBlock(),e.createElementBlock("span",L2,e.toDisplayString((dt=$==null?void 0:$.arrival)==null?void 0:dt.portName),1)):(e.openBlock(),e.createElementBlock("span",W2,e.toDisplayString(n.computeLat((rt=$==null?void 0:$.arrival)==null?void 0:rt.lat).pretty)+", "+e.toDisplayString(n.computeLng((mt=$==null?void 0:$.arrival)==null?void 0:mt.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((pt=$==null?void 0:$.arrival)==null?void 0:pt.utcTime))+")",1)])])}),128)),$2,e.createElementVNode("div",H2,[e.createElementVNode("div",M2,[I2,e.createElementVNode("div",G2,[R2,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((te=(ee=l==null?void 0:l.extend)==null?void 0:ee.cp)==null?void 0:te.speed)+" |",1),e.createElementVNode("span",null,[z2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(le=(oe=l==null?void 0:l.extend)==null?void 0:oe.cp)==null?void 0:le.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[U2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(ie=(ce=l==null?void 0:l.extend)==null?void 0:ce.cp)==null?void 0:ie.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((_e=(de=l==null?void 0:l.extend)==null?void 0:de.cp)==null?void 0:_e.fo)+" |",1),e.createElementVNode("span",null,[Y2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[Z2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((me=(q=l==null?void 0:l.extend)==null?void 0:q.cp)==null?void 0:me.dgo)+" |",1),e.createElementVNode("span",null,[Q2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[J2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Under")),1)])])])])]),K2,e.createElementVNode("div",j2,[e.createElementVNode("div",X2,[q2,e.createElementVNode("div",u2,[e.createElementVNode("div",null,e.toDisplayString(l.allWx.time),1),v2]),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",eb,[((Ee=l==null?void 0:l.timeConclusion)==null?void 0:Ee.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",tb,"Time Gained")):((ye=l==null?void 0:l.timeConclusion)==null?void 0:ye.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",ob,"Time Lost")):(e.openBlock(),e.createElementBlock("div",lb,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",ab,e.toDisplayString(a.noGoodWxDay),1)),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",nb,[((re=l==null?void 0:l.timeConclusion)==null?void 0:re.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",sb,[cb,e.createElementVNode("span",ib,e.toDisplayString((fe=l==null?void 0:l.timeConclusion)==null?void 0:fe.timeGain),1),db])):((be=l==null?void 0:l.timeConclusion)==null?void 0:be.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",rb,[mb,e.createElementVNode("span",pb,e.toDisplayString((ge=l==null?void 0:l.timeConclusion)==null?void 0:ge.timeLost),1),hb])):(e.openBlock(),e.createElementBlock("div",_b,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Eb,[yb,e.createElementVNode("div",Nb,[e.createElementVNode("div",null,e.toDisplayString(l.allWx.sumFoCons),1),Vb]),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",fb,[((ke=(xe=l==null?void 0:l.fuelConclusion)==null?void 0:xe.fo)==null?void 0:ke.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",bb,"FO Saving")):((Te=(De=l==null?void 0:l.fuelConclusion)==null?void 0:De.fo)==null?void 0:Te.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",gb,"FO Over-consumption")):(e.openBlock(),e.createElementBlock("div",xb,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",kb,e.toDisplayString(a.noGoodWxDay),1)),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Db,[((Oe=(Fe=l==null?void 0:l.fuelConclusion)==null?void 0:Fe.fo)==null?void 0:Oe.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Cb,[Sb,e.createElementVNode("span",Bb,e.toDisplayString((Le=(Pe=l==null?void 0:l.fuelConclusion)==null?void 0:Pe.fo)==null?void 0:Le.saving),1),wb])):(($e=(We=l==null?void 0:l.fuelConclusion)==null?void 0:We.fo)==null?void 0:$e.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Ab,[Tb,e.createElementVNode("span",Fb,e.toDisplayString((Ne=(He=l==null?void 0:l.fuelConclusion)==null?void 0:He.fo)==null?void 0:Ne.overCons),1),Ob])):(e.openBlock(),e.createElementBlock("div",Pb,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Lb,[Wb,e.createElementVNode("div",$b,[e.createElementVNode("div",null,e.toDisplayString(l.allWx.sumDgoCons),1),Hb]),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Mb,[((je=(Ke=l==null?void 0:l.fuelConclusion)==null?void 0:Ke.dgo)==null?void 0:je.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Ib,"DO/GO Saving")):((A=(Xe=l==null?void 0:l.fuelConclusion)==null?void 0:Xe.dgo)==null?void 0:A.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Gb,"DO/GO Over-consumption")):(e.openBlock(),e.createElementBlock("div",Rb,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",zb,e.toDisplayString(a.noGoodWxDay),1)),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Ub,[((Ge=(Se=l==null?void 0:l.fuelConclusion)==null?void 0:Se.dgo)==null?void 0:Ge.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Yb,[Zb,e.createElementVNode("span",Qb,e.toDisplayString((ue=(qe=l==null?void 0:l.fuelConclusion)==null?void 0:qe.dgo)==null?void 0:ue.saving),1),Jb])):((et=(ve=l==null?void 0:l.fuelConclusion)==null?void 0:ve.dgo)==null?void 0:et.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Kb,[jb,e.createElementVNode("span",Xb,e.toDisplayString((m=(tt=l==null?void 0:l.fuelConclusion)==null?void 0:tt.dgo)==null?void 0:m.overCons),1),qb])):(e.openBlock(),e.createElementBlock("div",ub,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),vb]),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((ne=t.report)==null?void 0:ne.remarks)&&!a.exclusion.length?"section remark-section print-hidden":"section remark-section")},[eg,a.exclusion.length?(e.openBlock(),e.createElementBlock("div",tg,[og,lg,e.createElementVNode("div",ag,[e.createElementVNode("table",ng,[sg,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.exclusion,(l,X)=>(e.openBlock(),e.createElementBlock("tr",{key:X},[e.createElementVNode("td",null,e.toDisplayString(X+1),1),e.createElementVNode("td",null,e.toDisplayString(l.time),1),e.createElementVNode("td",null,e.toDisplayString(l.duration),1),e.createElementVNode("td",null,e.toDisplayString(l.distance),1),e.createElementVNode("td",null,e.toDisplayString(l.fo),1),e.createElementVNode("td",null,e.toDisplayString(l.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((se=t.report)==null?void 0:se.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[a.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=l=>a.remarks=l),class:"editor",height:"120px",onBlur:s[1]||(s[1]=l=>n.handleCommit(l))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[2]||(s[2]=(...l)=>n.handleEdit&&n.handleEdit(...l)),innerHTML:a.remarks},null,40,cg))],2)],2),e.createElementVNode("div",ig,[dg,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.report.segments,(l,X)=>{var v,ee,te,oe,le,ce,ie,de,_e,q,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,Ke,je,Xe,A,Se,Ge,qe,ue,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt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ment-block"},[e.createElementVNode("div",rg,"Voyage Analysis Seg. "+e.toDisplayString(X+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((v=l==null?void 0:l.extend)==null?void 0:v.segTimes,(we,yY)=>{var Sc,Bc,wc,Ac,Tc,Fc,Oc,Pc,Lc,Wc;return e.openBlock(),e.createElementBlock("div",{key:yY,class:"segment-row flex-space"},[e.createElementVNode("div",mg,[(Sc=we==null?void 0:we.departure)!=null&&Sc.portName?(e.openBlock(),e.createElementBlock("span",pg,e.toDisplayString((Bc=we==null?void 0:we.departure)==null?void 0:Bc.portName),1)):(e.openBlock(),e.createElementBlock("span",hg,e.toDisplayString(n.computeLat((wc=we==null?void 0:we.departure)==null?void 0:wc.lat).pretty)+", "+e.toDisplayString(n.computeLng((Ac=we==null?void 0:we.departure)==null?void 0:Ac.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Tc=we==null?void 0:we.departure)==null?void 0:Tc.utcTime))+")",1)]),_g,e.createElementVNode("div",Eg,[(Fc=we==null?void 0:we.arrival)!=null&&Fc.portName?(e.openBlock(),e.createElementBlock("span",yg,e.toDisplayString((Oc=we==null?void 0:we.arrival)==null?void 0:Oc.portName),1)):(e.openBlock(),e.createElementBlock("span",Ng,e.toDisplayString(n.computeLat((Pc=we==null?void 0:we.arrival)==null?void 0:Pc.lat).pretty)+", "+e.toDisplayString(n.computeLng((Lc=we==null?void 0:we.arrival)==null?void 0:Lc.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Wc=we==null?void 0:we.arrival)==null?void 0:Wc.utcTime))+")",1)])])}),128)),Vg,e.createElementVNode("div",fg,[e.createElementVNode("table",null,[bg,gg,e.createElementVNode("tr",null,[xg,e.createElementVNode("td",kg,e.toDisplayString((te=(ee=l==null?void 0:l.goodWx)==null?void 0:ee.outEca)==null?void 0:te.distance),1),e.createElementVNode("td",Dg,e.toDisplayString((le=(oe=l==null?void 0:l.goodWx)==null?void 0:oe.inEca)==null?void 0:le.distance),1),e.createElementVNode("td",null,e.toDisplayString((ie=(ce=l==null?void 0:l.allWx)==null?void 0:ce.outEca)==null?void 0:ie.distance),1),e.createElementVNode("td",null,e.toDisplayString((_e=(de=l==null?void 0:l.allWx)==null?void 0:de.inEca)==null?void 0:_e.distance),1)]),e.createElementVNode("tr",null,[Cg,e.createElementVNode("td",Sg,e.toDisplayString((me=(q=l==null?void 0:l.goodWx)==null?void 0:q.outEca)==null?void 0:me.time),1),e.createElementVNode("td",Bg,e.toDisplayString((ye=(Ee=l==null?void 0:l.goodWx)==null?void 0:Ee.inEca)==null?void 0:ye.time),1),e.createElementVNode("td",null,e.toDisplayString((fe=(re=l==null?void 0:l.allWx)==null?void 0:re.outEca)==null?void 0:fe.time),1),e.createElementVNode("td",null,e.toDisplayString((ge=(be=l==null?void 0:l.allWx)==null?void 0:be.inEca)==null?void 0:ge.time),1)]),e.createElementVNode("tr",null,[wg,e.createElementVNode("td",Ag,e.toDisplayString(((ke=(xe=l==null?void 0:l.goodWx)==null?void 0:xe.outEca)==null?void 0:ke.avgSpd)||"--"),1),e.createElementVNode("td",Tg,e.toDisplayString(((Te=(De=l==null?void 0:l.goodWx)==null?void 0:De.inEca)==null?void 0:Te.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Oe=(Fe=l==null?void 0:l.allWx)==null?void 0:Fe.outEca)==null?void 0:Oe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Le=(Pe=l==null?void 0:l.allWx)==null?void 0:Pe.inEca)==null?void 0:Le.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[Fg,e.createElementVNode("td",Og,e.toDisplayString((($e=(We=l==null?void 0:l.goodWx)==null?void 0:We.outEca)==null?void 0:$e.sumFoCons)||"--"),1),e.createElementVNode("td",Pg,e.toDisplayString(((Ne=(He=l==null?void 0:l.goodWx)==null?void 0:He.inEca)==null?void 0:Ne.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((je=(Ke=l==null?void 0:l.allWx)==null?void 0:Ke.outEca)==null?void 0:je.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((A=(Xe=l==null?void 0:l.allWx)==null?void 0:Xe.inEca)==null?void 0:A.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Lg,e.createElementVNode("td",Wg,e.toDisplayString(((Ge=(Se=l==null?void 0:l.goodWx)==null?void 0:Se.outEca)==null?void 0:Ge.avgFoCons)||"--"),1),e.createElementVNode("td",$g,e.toDisplayString(((ue=(qe=l==null?void 0:l.goodWx)==null?void 0:qe.inEca)==null?void 0:ue.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((et=(ve=l==null?void 0:l.allWx)==null?void 0:ve.outEca)==null?void 0:et.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(tt=l==null?void 0:l.allWx)==null?void 0:tt.inEca)==null?void 0:m.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Hg,e.createElementVNode("td",Mg,e.toDisplayString(((Be=($=l==null?void 0:l.goodWx)==null?void 0:$.outEca)==null?void 0:Be.sumDgoCons)||"--"),1),e.createElementVNode("td",Ig,e.toDisplayString(((Re=(Me=l==null?void 0:l.goodWx)==null?void 0:Me.inEca)==null?void 0:Re.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ue=(pe=l==null?void 0:l.allWx)==null?void 0:pe.outEca)==null?void 0:Ue.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((lt=(ot=l==null?void 0:l.allWx)==null?void 0:ot.inEca)==null?void 0:lt.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[Gg,e.createElementVNode("td",Rg,e.toDisplayString(((rt=(dt=l==null?void 0:l.goodWx)==null?void 0:dt.outEca)==null?void 0:rt.avgDgoCons)||"--"),1),e.createElementVNode("td",zg,e.toDisplayString(((pt=(mt=l==null?void 0:l.goodWx)==null?void 0:mt.inEca)==null?void 0:pt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Et=(_t=l==null?void 0:l.allWx)==null?void 0:_t.outEca)==null?void 0:Et.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Nt=(yt=l==null?void 0:l.allWx)==null?void 0:yt.inEca)==null?void 0:Nt.avgDgoCons)||"--"),1)])])]),(Vt=a.exclusion[X])!=null&&Vt.time?(e.openBlock(),e.createElementBlock("div",Ug,"*The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel.")):e.createCommentVNode("",!0),(ft=l==null?void 0:l.goodWx)!=null&&ft.distance?(e.openBlock(),e.createElementBlock("div",Yg,[e.createElementVNode("div",Zg,[Qg,e.createElementVNode("div",Jg,[(gt=(bt=t.report)==null?void 0:bt.weather)!=null&>.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Ot=(Ft=t.report)==null?void 0:Ft.weather)!=null&&Ot.disableWxFactor&&((no=(Pt=t.report)==null?void 0:Pt.weather)!=null&&no.disableCFactor)?(e.openBlock(),e.createElementBlock("span",ug,e.toDisplayString((so=l==null?void 0:l.goodWx)==null?void 0:so.pfmSpd)+" (kts)",1)):(io=(co=t.report)==null?void 0:co.weather)!=null&&io.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((ro=l==null?void 0:l.goodWx)==null?void 0:ro.avgSpd),1),vg,e.createElementVNode("span",null,e.toDisplayString(((mo=l==null?void 0:l.goodWx)==null?void 0:mo.avgCf)>0?(po=l==null?void 0:l.goodWx)==null?void 0:po.avgCf:`(${(ho=l==null?void 0:l.goodWx)==null?void 0:ho.avgCf})`),1),ex,e.createElementVNode("span",tx,e.toDisplayString((_o=l==null?void 0:l.goodWx)==null?void 0:_o.pfmSpd)+" (kts)",1)],64)):(S=(Eo=t.report)==null?void 0:Eo.weather)!=null&&S.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((Ie=l==null?void 0:l.goodWx)==null?void 0:Ie.avgSpd),1),ox,e.createElementVNode("span",null,e.toDisplayString(((at=l==null?void 0:l.goodWx)==null?void 0:at.avgWf)>0?(nt=l==null?void 0:l.goodWx)==null?void 0:nt.avgWf:`(${(ht=l==null?void 0:l.goodWx)==null?void 0:ht.avgWf})`),1),lx,e.createElementVNode("span",ax,e.toDisplayString((Lt=l==null?void 0:l.goodWx)==null?void 0:Lt.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString((Wt=l==null?void 0:l.goodWx)==null?void 0:Wt.avgSpd),1),nx,e.createElementVNode("span",null,e.toDisplayString((($t=l==null?void 0:l.goodWx)==null?void 0:$t.avgWf)>0?(Ht=l==null?void 0:l.goodWx)==null?void 0:Ht.avgWf:`(${(Mt=l==null?void 0:l.goodWx)==null?void 0:Mt.avgWf})`),1),sx,e.createElementVNode("span",null,e.toDisplayString(((It=l==null?void 0:l.goodWx)==null?void 0:It.avgCf)>0?(Gt=l==null?void 0:l.goodWx)==null?void 0:Gt.avgCf:`(${(Rt=l==null?void 0:l.goodWx)==null?void 0:Rt.avgCf})`),1),cx,e.createElementVNode("span",ix,e.toDisplayString((zt=l==null?void 0:l.goodWx)==null?void 0:zt.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(kt=(xt=t.report)==null?void 0:xt.weather)!=null&&kt.favorableCur&&((Dt=l==null?void 0:l.goodWx)==null?void 0:Dt.avgCf)>0?(e.openBlock(),e.createElementBlock("span",qg,e.toDisplayString((Tt=l==null?void 0:l.goodWx)==null?void 0:Tt.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((Ct=l==null?void 0:l.goodWx)==null?void 0:Ct.avgSpd),1),Kg,e.createElementVNode("span",null,e.toDisplayString(((St=l==null?void 0:l.goodWx)==null?void 0:St.avgCf)>0?(Bt=l==null?void 0:l.goodWx)==null?void 0:Bt.avgCf:`(${(wt=l==null?void 0:l.goodWx)==null?void 0:wt.avgCf})`),1),jg,e.createElementVNode("span",Xg,e.toDisplayString((At=l==null?void 0:l.goodWx)==null?void 0:At.pfmSpd)+" (kts)",1)],64))],64)),((Ut=l==null?void 0:l.goodWx)==null?void 0:Ut.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",dx,"(Under-performance)")):e.createCommentVNode("",!0),((Yt=l==null?void 0:l.goodWx)==null?void 0:Yt.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",rx,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",mx,[px,e.createElementVNode("div",hx,[(Qt=(Zt=t.report)==null?void 0:Zt.weather)!=null&&Qt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(qt=(Xt=t.report)==null?void 0:Xt.weather)!=null&&qt.disableWxFactor&&((vt=(ut=t.report)==null?void 0:ut.weather)!=null&&vt.disableCFactor)?(e.openBlock(),e.createElementBlock("label",fx,"GW Average Speed")):(to=(eo=t.report)==null?void 0:eo.weather)!=null&&to.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[bx,gx,xx],64)):(lo=(oo=t.report)==null?void 0:oo.weather)!=null&&lo.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[kx,Dx,Cx],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[Sx,Bx,wx,Ax,Tx],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Kt=(Jt=t.report)==null?void 0:Jt.weather)!=null&&Kt.favorableCur&&((jt=l==null?void 0:l.goodWx)==null?void 0:jt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Nx,Vx],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[_x,Ex,yx],64))],64))])])])):(e.openBlock(),e.createElementBlock("div",Fx,[e.createElementVNode("div",Ox,[Px,e.createElementVNode("div",Lx,[(No=(yo=t.report)==null?void 0:yo.weather)!=null&&No.favorableCur&&((Vo=l==null?void 0:l.allWx)==null?void 0:Vo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((Bo=l==null?void 0:l.allWx)==null?void 0:Bo.avgSpd),1),Ix,e.createElementVNode("span",null,e.toDisplayString(((wo=l==null?void 0:l.allWx)==null?void 0:wo.avgWf)>0?(Ao=l==null?void 0:l.allWx)==null?void 0:Ao.avgWf:`(${(To=l==null?void 0:l.allWx)==null?void 0:To.avgWf})`),1),Gx,e.createElementVNode("span",Rx,e.toDisplayString((Fo=l==null?void 0:l.allWx)==null?void 0:Fo.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((fo=l==null?void 0:l.allWx)==null?void 0:fo.avgSpd),1),Wx,e.createElementVNode("span",null,e.toDisplayString(((bo=l==null?void 0:l.allWx)==null?void 0:bo.avgCf)>0?(go=l==null?void 0:l.allWx)==null?void 0:go.avgCf:`(${(xo=l==null?void 0:l.allWx)==null?void 0:xo.avgCf})`),1),$x,e.createElementVNode("span",null,e.toDisplayString(((ko=l==null?void 0:l.allWx)==null?void 0:ko.avgWf)>0?(Do=l==null?void 0:l.allWx)==null?void 0:Do.avgWf:`(${(Co=l==null?void 0:l.allWx)==null?void 0:Co.avgWf})`),1),Hx,e.createElementVNode("span",Mx,e.toDisplayString((So=l==null?void 0:l.allWx)==null?void 0:So.pfmSpd)+" (kts)",1)],64)),((Oo=l==null?void 0:l.allWx)==null?void 0:Oo.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",zx,"(Under-performance)")):e.createCommentVNode("",!0),((Po=l==null?void 0:l.allWx)==null?void 0:Po.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",Ux,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Yx,[Zx,e.createElementVNode("div",Qx,[(Wo=(Lo=t.report)==null?void 0:Lo.weather)!=null&&Wo.favorableCur&&(($o=l==null?void 0:l.allWx)==null?void 0:$o.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[ux,vx,ek,tk],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Jx,Kx,jx,Xx,qx],64))])])])),ok,e.createElementVNode("div",lk,[e.createElementVNode("div",ak,[nk,e.createElementVNode("div",sk,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(X+1)+" Time Analysis",1),(Ro=(Ho=t.report)==null?void 0:Ho.weather)!=null&&Ro.noExtrapolation?(e.openBlock(),e.createElementBlock("span",ck,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",ik,[e.createElementVNode("div",dk,[rk,e.createElementVNode("div",mk,[e.createElementVNode("div",pk,[e.createElementVNode("div",null,e.toDisplayString((Uo=(zo=t.report)==null?void 0:zo.weather)!=null&&Uo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),hk,_k]),Ek])]),e.createElementVNode("div",yk,[e.createElementVNode("div",Nk,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(Zo=(Yo=l==null?void 0:l.extend)==null?void 0:Yo.cp)==null?void 0:Zo.speed,"Under"))+"kts)",1),Vk]),e.createElementVNode("div",fk,[e.createElementVNode("div",bk,[e.createElementVNode("div",null,e.toDisplayString((Jo=(Qo=t.report)==null?void 0:Qo.weather)!=null&&Jo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),gk,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(jo=(Ko=l==null?void 0:l.extend)==null?void 0:Ko.cp)==null?void 0:jo.speed,"Under"))+"kts",1)]),xk])]),e.createElementVNode("div",kk,[e.createElementVNode("div",Dk,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(qo=(Xo=l==null?void 0:l.extend)==null?void 0:Xo.cp)==null?void 0:qo.speed,"Over"))+"kts)",1),Ck]),e.createElementVNode("div",Sk,[e.createElementVNode("div",Bk,[e.createElementVNode("div",null,e.toDisplayString((vo=(uo=t.report)==null?void 0:uo.weather)!=null&&vo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),wk,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(tl=(el=l==null?void 0:l.extend)==null?void 0:el.cp)==null?void 0:tl.speed,"Over"))+"kts",1)]),Ak])]),Tk]),e.createElementVNode("div",Fk,[e.createElementVNode("div",Ok,[Pk,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(ll=(ol=l==null?void 0:l.extend)==null?void 0:ol.cp)==null?void 0:ll.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",Lk,[Wk,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(nl=(al=l==null?void 0:l.extend)==null?void 0:al.cp)==null?void 0:nl.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",$k,[Hk,e.createElementVNode("div",null," Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(cl=(sl=l==null?void 0:l.extend)==null?void 0:sl.cp)==null?void 0:cl.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(dl=(il=l==null?void 0:l.extend)==null?void 0:il.cp)==null?void 0:dl.speed,"Under"))+" kts) ",1)])]),(rl=l==null?void 0:l.goodWx)!=null&&rl.distance?(e.openBlock(),e.createElementBlock("div",Mk,[e.createElementVNode("div",Ik,[Gk,e.createElementVNode("div",Rk,[e.createElementVNode("div",zk,[e.createElementVNode("div",null,e.toDisplayString((pl=(st=t.report)==null?void 0:st.weather)!=null&&pl.noExtrapolation?(El=l==null?void 0:l.goodWx)==null?void 0:El.distance:(yl=l==null?void 0:l.allWx)==null?void 0:yl.distance),1),Uk,e.createElementVNode("div",null,e.toDisplayString((Nl=l==null?void 0:l.goodWx)==null?void 0:Nl.pfmSpd),1)]),Yk,e.createElementVNode("div",null,e.toDisplayString((Vl=l==null?void 0:l.timeConclusion)==null?void 0:Vl.timeAtPfmSpd)+" (hrs)",1),Zk])]),e.createElementVNode("div",Qk,[e.createElementVNode("div",Jk,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(bl=(fl=l==null?void 0:l.extend)==null?void 0:fl.cp)==null?void 0:bl.speed,"Under"))+"kts)",1),Kk]),e.createElementVNode("div",jk,[e.createElementVNode("div",Xk,[e.createElementVNode("div",null,e.toDisplayString((xl=(gl=t.report)==null?void 0:gl.weather)!=null&&xl.noExtrapolation?(kl=l==null?void 0:l.goodWx)==null?void 0:kl.distance:(Dl=l==null?void 0:l.allWx)==null?void 0:Dl.distance),1),qk,e.createElementVNode("div",null,e.toDisplayString((Cl=l==null?void 0:l.timeConclusion)==null?void 0:Cl.minusAbtSpd),1)]),uk,e.createElementVNode("div",null,e.toDisplayString((Sl=l==null?void 0:l.timeConclusion)==null?void 0:Sl.timeAtMinusAbtSpd)+" (hrs)",1),vk])]),e.createElementVNode("div",e3,[e.createElementVNode("div",t3,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(wl=(Bl=l==null?void 0:l.extend)==null?void 0:Bl.cp)==null?void 0:wl.speed,"Over"))+"kts)",1),o3]),e.createElementVNode("div",l3,[e.createElementVNode("div",a3,[e.createElementVNode("div",null,e.toDisplayString((Tl=(Al=t.report)==null?void 0:Al.weather)!=null&&Tl.noExtrapolation?(Fl=l==null?void 0:l.goodWx)==null?void 0:Fl.distance:(Ol=l==null?void 0:l.allWx)==null?void 0:Ol.distance),1),n3,e.createElementVNode("div",null,e.toDisplayString((Pl=l==null?void 0:l.timeConclusion)==null?void 0:Pl.plusAbtSpd),1)]),s3,e.createElementVNode("div",null,e.toDisplayString((Ll=l==null?void 0:l.timeConclusion)==null?void 0:Ll.timeAtPlusAbtSpd)+" (hrs)",1),c3])]),e.createElementVNode("div",i3,[((Wl=l==null?void 0:l.timeConclusion)==null?void 0:Wl.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",d3,[r3,m3,p3,h3,e.createElementVNode("div",null,e.toDisplayString(($l=l==null?void 0:l.timeConclusion)==null?void 0:$l.timeAtPfmSpd),1),_3,e.createElementVNode("div",null,e.toDisplayString((Hl=l==null?void 0:l.timeConclusion)==null?void 0:Hl.timeAtMinusAbtSpd),1),E3,e.createElementVNode("div",null,e.toDisplayString((Ml=l==null?void 0:l.timeConclusion)==null?void 0:Ml.timeLost)+" (hrs)",1)])):((Il=l==null?void 0:l.timeConclusion)==null?void 0:Il.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",y3,[N3,V3,f3,b3,e.createElementVNode("div",null,e.toDisplayString((Gl=l==null?void 0:l.timeConclusion)==null?void 0:Gl.timeAtPlusAbtSpd),1),g3,e.createElementVNode("div",null,e.toDisplayString((Rl=l==null?void 0:l.timeConclusion)==null?void 0:Rl.timeAtPfmSpd),1),x3,e.createElementVNode("div",null,e.toDisplayString((zl=l==null?void 0:l.timeConclusion)==null?void 0:zl.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Ul=l==null?void 0:l.timeConclusion)==null?void 0:Ul.conclusionStatus)==="Lost"?"flex-center lost":((Yl=l==null?void 0:l.timeConclusion)==null?void 0:Yl.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[k3,e.createElementVNode("div",null,e.toDisplayString(((Zl=l==null?void 0:l.timeConclusion)==null?void 0:Zl.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",D3,e.toDisplayString(a.noGoodWxDay),1))]),C3,e.createElementVNode("div",S3,[e.createElementVNode("div",B3,[w3,e.createElementVNode("div",A3,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(X+1)+" Consumption Analysis",1),(Jl=(Ql=t.report)==null?void 0:Ql.weather)!=null&&Jl.noExtrapolation?(e.openBlock(),e.createElementBlock("span",T3,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",F3,[e.createElementVNode("div",O3,[P3,e.createElementVNode("div",L3,[e.createElementVNode("div",W3,[e.createElementVNode("div",null,e.toDisplayString((jl=(Kl=t.report)==null?void 0:Kl.weather)!=null&&jl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),$3,H3]),M3,I3,G3])]),e.createElementVNode("div",R3,[z3,((ql=(Xl=l.extend)==null?void 0:Xl.cp)==null?void 0:ql.dgo)>0?(e.openBlock(),e.createElementBlock("div",U3," * For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",Y3,[Z3,e.createElementVNode("div",Q3,[e.createElementVNode("div",J3,[e.createElementVNode("div",null,e.toDisplayString((vl=(ul=t.report)==null?void 0:ul.weather)!=null&&vl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),K3,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(ta=(ea=l==null?void 0:l.extend)==null?void 0:ea.cp)==null?void 0:ta.speed,"Under"))+"kts",1)]),j3,X3,q3])]),e.createElementVNode("div",u3,[v3,e.createElementVNode("div",eD,[e.createElementVNode("div",tD,[e.createElementVNode("div",null,e.toDisplayString((la=(oa=t.report)==null?void 0:oa.weather)!=null&&la.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),oD,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(na=(aa=l==null?void 0:l.extend)==null?void 0:aa.cp)==null?void 0:na.speed,"Under"))+"kts",1)]),lD,aD,nD])]),sD,((ca=(sa=l.extend)==null?void 0:sa.cp)==null?void 0:ca.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",cD,[iD,e.createElementVNode("div",dD,[e.createElementVNode("div",rD,[mD,pD,e.createElementVNode("div",null,e.toDisplayString((da=(ia=t.report)==null?void 0:ia.weather)!=null&&da.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",hD,[_D,e.createElementVNode("div",ED,[e.createElementVNode("div",yD,[ND,VD,e.createElementVNode("div",null,e.toDisplayString((ma=(ra=t.report)==null?void 0:ra.weather)!=null&&ma.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),fD,e.createElementVNode("div",bD,[gD,e.createElementVNode("div",xD,"Seg. "+e.toDisplayString(X+1)+" Fuel Oil",1)]),(pa=l==null?void 0:l.goodWx)!=null&&pa.distance?(e.openBlock(),e.createElementBlock("div",kD,[((_a=(ha=l==null?void 0:l.goodWx)==null?void 0:ha.inEca)==null?void 0:_a.distance)>0?(e.openBlock(),e.createElementBlock("div",DD,[CD,e.createElementVNode("div",SD,[e.createElementVNode("div",BD,[e.createElementVNode("div",null,e.toDisplayString((ya=(Ea=l==null?void 0:l.goodWx)==null?void 0:Ea.inEca)==null?void 0:ya.sumDgoCons),1)]),wD,e.createElementVNode("div",AD,[e.createElementVNode("div",null,e.toDisplayString((Va=(Na=l==null?void 0:l.extend)==null?void 0:Na.cp)==null?void 0:Va.dgo),1),TD,FD]),OD,e.createElementVNode("div",null,e.toDisplayString((ba=(fa=l==null?void 0:l.goodWx)==null?void 0:fa.inEca)==null?void 0:ba.time),1),PD,e.createElementVNode("div",null,e.toDisplayString((xa=(ga=l==null?void 0:l.fuelConclusion)==null?void 0:ga.fo)==null?void 0:xa.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",LD,[WD,e.createElementVNode("div",$D,[e.createElementVNode("div",HD,[e.createElementVNode("div",null,e.toDisplayString((ao=(Z=t.report)==null?void 0:Z.weather)!=null&&ao.noExtrapolation?(ka=l==null?void 0:l.goodWx)==null?void 0:ka.distance:(Da=l==null?void 0:l.allWx)==null?void 0:Da.distance),1),MD,e.createElementVNode("div",null,e.toDisplayString((Ca=l==null?void 0:l.goodWx)==null?void 0:Ca.pfmSpd),1)]),ID,e.createElementVNode("div",GD,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Sa=l==null?void 0:l.goodWx)==null?void 0:Sa.sumFoCons),1),((wa=(Ba=l==null?void 0:l.goodWx)==null?void 0:Ba.inEca)==null?void 0:wa.distance)>0?(e.openBlock(),e.createElementBlock("span",RD,[zD,e.createElementVNode("span",null,e.toDisplayString((Ta=(Aa=l==null?void 0:l.fuelConclusion)==null?void 0:Aa.fo)==null?void 0:Ta.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),UD,e.createElementVNode("div",null,e.toDisplayString((Qe=l==null?void 0:l.goodWx)==null?void 0:Qe.time),1)]),YD,e.createElementVNode("div",null,e.toDisplayString((Ma=(Ha=l.fuelConclusion)==null?void 0:Ha.fo)==null?void 0:Ma.entireCons)+" (mt)",1),ZD])]),e.createElementVNode("div",QD,[JD,e.createElementVNode("div",KD,[e.createElementVNode("div",jD,[e.createElementVNode("div",null,e.toDisplayString((Ga=(Ia=t.report)==null?void 0:Ia.weather)!=null&&Ga.noExtrapolation?(K=l==null?void 0:l.goodWx)==null?void 0:K.distance:(Mo=l==null?void 0:l.allWx)==null?void 0:Mo.distance),1),XD,e.createElementVNode("div",null,e.toDisplayString((Ra=l==null?void 0:l.timeConclusion)==null?void 0:Ra.minusAbtSpd),1)]),qD,e.createElementVNode("div",uD,[e.createElementVNode("div",null,e.toDisplayString((Ua=(za=l==null?void 0:l.fuelConclusion)==null?void 0:za.fo)==null?void 0:Ua.overTolerance),1),vD,eC]),tC,e.createElementVNode("div",null,e.toDisplayString((Za=(Ya=l.fuelConclusion)==null?void 0:Ya.fo)==null?void 0:Za.maxCons)+" (mt)",1),oC])]),e.createElementVNode("div",lC,[aC,e.createElementVNode("div",nC,[e.createElementVNode("div",sC,[e.createElementVNode("div",null,e.toDisplayString((Ja=(Qa=t.report)==null?void 0:Qa.weather)!=null&&Ja.noExtrapolation?(Ka=l==null?void 0:l.goodWx)==null?void 0:Ka.distance:(ct=l==null?void 0:l.allWx)==null?void 0:ct.distance),1),cC,e.createElementVNode("div",null,e.toDisplayString((kn=l==null?void 0:l.timeConclusion)==null?void 0:kn.minusAbtSpd),1)]),iC,e.createElementVNode("div",dC,[e.createElementVNode("div",null,e.toDisplayString((Cn=(Dn=l==null?void 0:l.fuelConclusion)==null?void 0:Dn.fo)==null?void 0:Cn.underTolerance),1),rC,mC]),pC,e.createElementVNode("div",null,e.toDisplayString((Bn=(Sn=l.fuelConclusion)==null?void 0:Sn.fo)==null?void 0:Bn.minCons)+" (mt)",1),hC])]),e.createElementVNode("div",_C,[((An=(wn=l==null?void 0:l.fuelConclusion)==null?void 0:wn.fo)==null?void 0:An.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",EC,[yC,NC,VC,fC,e.createElementVNode("div",null,e.toDisplayString((Fn=(Tn=l==null?void 0:l.fuelConclusion)==null?void 0:Tn.fo)==null?void 0:Fn.entireCons),1),bC,e.createElementVNode("div",null,e.toDisplayString((Pn=(On=l==null?void 0:l.fuelConclusion)==null?void 0:On.fo)==null?void 0:Pn.maxCons),1),gC,e.createElementVNode("div",null,e.toDisplayString((Wn=(Ln=l==null?void 0:l.fuelConclusion)==null?void 0:Ln.fo)==null?void 0:Wn.overCons),1)]),(Hn=($n=l==null?void 0:l.goodWx)==null?void 0:$n.inEca)!=null&&Hn.distance?(e.openBlock(),e.createElementBlock("div",xC,[kC,DC,e.createElementVNode("div",CC,[e.createElementVNode("div",null,e.toDisplayString((In=(Mn=l==null?void 0:l.goodWx)==null?void 0:Mn.inEca)==null?void 0:In.distance)+" * "+e.toDisplayString((Rn=(Gn=l==null?void 0:l.fuelConclusion)==null?void 0:Gn.fo)==null?void 0:Rn.overCons),1),SC,e.createElementVNode("div",null,e.toDisplayString((Un=(zn=t.report)==null?void 0:zn.weather)!=null&&Un.noExtrapolation?(Yn=l==null?void 0:l.goodWx)==null?void 0:Yn.distance:(Zn=l==null?void 0:l.allWx)==null?void 0:Zn.distance),1)]),BC,e.createElementVNode("div",null,e.toDisplayString((Jn=(Qn=l==null?void 0:l.fuelConclusion)==null?void 0:Qn.fo)==null?void 0:Jn.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((jn=(Kn=l==null?void 0:l.fuelConclusion)==null?void 0:Kn.fo)==null?void 0:jn.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",wC,[AC,TC,FC,OC,e.createElementVNode("div",null,e.toDisplayString((qn=(Xn=l==null?void 0:l.fuelConclusion)==null?void 0:Xn.fo)==null?void 0:qn.minCons),1),PC,e.createElementVNode("div",null,e.toDisplayString((vn=(un=l==null?void 0:l.fuelConclusion)==null?void 0:un.fo)==null?void 0:vn.entireCons),1),LC,e.createElementVNode("div",null,e.toDisplayString((ts=(es=l==null?void 0:l.fuelConclusion)==null?void 0:es.fo)==null?void 0:ts.saving)+" (mt)",1)]),(ls=(os=l==null?void 0:l.goodWx)==null?void 0:os.inEca)!=null&&ls.distance?(e.openBlock(),e.createElementBlock("div",WC,[$C,HC,e.createElementVNode("div",MC,[e.createElementVNode("div",null,e.toDisplayString((ns=(as=t.report)==null?void 0:as.weather)!=null&&ns.noExtrapolation?(cs=(ss=l==null?void 0:l.goodWx)==null?void 0:ss.inEca)==null?void 0:cs.distance:(ds=(is=l==null?void 0:l.allWx)==null?void 0:is.inEca)==null?void 0:ds.distance)+" * "+e.toDisplayString((ms=(rs=l==null?void 0:l.fuelConclusion)==null?void 0:rs.fo)==null?void 0:ms.saving),1),IC,e.createElementVNode("div",null,e.toDisplayString((hs=(ps=t.report)==null?void 0:ps.weather)!=null&&hs.noExtrapolation?(_s=l==null?void 0:l.goodWx)==null?void 0:_s.distance:(Es=l==null?void 0:l.allWx)==null?void 0:Es.distance),1)]),GC,e.createElementVNode("div",null,e.toDisplayString((Ns=(ys=l==null?void 0:l.fuelConclusion)==null?void 0:ys.fo)==null?void 0:Ns.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((fs=(Vs=l==null?void 0:l.fuelConclusion)==null?void 0:Vs.fo)==null?void 0:fs.conclusionStatus)==="Over"?"flex-center lost":((gs=(bs=l==null?void 0:l.fuelConclusion)==null?void 0:bs.fo)==null?void 0:gs.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[RC,e.createElementVNode("div",null,e.toDisplayString(((ks=(xs=l==null?void 0:l.fuelConclusion)==null?void 0:xs.fo)==null?void 0:ks.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",zC,e.toDisplayString(a.noGoodWxDay),1)),((Cs=(Ds=l==null?void 0:l.extend)==null?void 0:Ds.cp)==null?void 0:Cs.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",UC,[YC,e.createElementVNode("div",ZC,"Seg. "+e.toDisplayString(X+1)+" Diesel/Gas Oil",1)]),(Ss=l==null?void 0:l.goodWx)!=null&&Ss.distance?(e.openBlock(),e.createElementBlock("div",QC,[e.createElementVNode("div",JC,[KC,e.createElementVNode("div",jC,[e.createElementVNode("div",XC,[e.createElementVNode("div",null,e.toDisplayString((ws=(Bs=t.report)==null?void 0:Bs.weather)!=null&&ws.noExtrapolation?(As=l==null?void 0:l.goodWx)==null?void 0:As.distance:(Ts=l==null?void 0:l.allWx)==null?void 0:Ts.distance),1),qC,e.createElementVNode("div",null,e.toDisplayString((Fs=l==null?void 0:l.goodWx)==null?void 0:Fs.pfmSpd),1)]),uC,e.createElementVNode("div",vC,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Os=l==null?void 0:l.goodWx)==null?void 0:Os.sumDgoCons),1),((Ls=(Ps=l==null?void 0:l.goodWx)==null?void 0:Ps.inEca)==null?void 0:Ls.distance)>0?(e.openBlock(),e.createElementBlock("span",eS,[tS,e.createElementVNode("span",null,e.toDisplayString(($s=(Ws=l==null?void 0:l.fuelConclusion)==null?void 0:Ws.fo)==null?void 0:$s.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),oS,e.createElementVNode("div",null,e.toDisplayString((Hs=l==null?void 0:l.goodWx)==null?void 0:Hs.time),1)]),lS,e.createElementVNode("div",null,e.toDisplayString((Is=(Ms=l.fuelConclusion)==null?void 0:Ms.dgo)==null?void 0:Is.entireCons)+" (mt)",1),aS])]),e.createElementVNode("div",nS,[sS,e.createElementVNode("div",cS,[e.createElementVNode("div",iS,[e.createElementVNode("div",null,e.toDisplayString((Rs=(Gs=t.report)==null?void 0:Gs.weather)!=null&&Rs.noExtrapolation?(zs=l==null?void 0:l.goodWx)==null?void 0:zs.distance:(Us=l==null?void 0:l.allWx)==null?void 0:Us.distance),1),dS,e.createElementVNode("div",null,e.toDisplayString((Ys=l==null?void 0:l.timeConclusion)==null?void 0:Ys.minusAbtSpd),1)]),rS,e.createElementVNode("div",mS,[e.createElementVNode("div",null,e.toDisplayString((Qs=(Zs=l==null?void 0:l.fuelConclusion)==null?void 0:Zs.dgo)==null?void 0:Qs.overTolerance),1),pS,hS]),_S,e.createElementVNode("div",null,e.toDisplayString((Ks=(Js=l.fuelConclusion)==null?void 0:Js.dgo)==null?void 0:Ks.maxCons)+" (mt)",1),ES])]),e.createElementVNode("div",yS,[NS,e.createElementVNode("div",VS,[e.createElementVNode("div",fS,[e.createElementVNode("div",null,e.toDisplayString((Xs=(js=t.report)==null?void 0:js.weather)!=null&&Xs.noExtrapolation?(qs=l==null?void 0:l.goodWx)==null?void 0:qs.distance:(us=l==null?void 0:l.allWx)==null?void 0:us.distance),1),bS,e.createElementVNode("div",null,e.toDisplayString((vs=l==null?void 0:l.timeConclusion)==null?void 0:vs.minusAbtSpd),1)]),gS,e.createElementVNode("div",xS,[e.createElementVNode("div",null,e.toDisplayString((tc=(ec=l==null?void 0:l.fuelConclusion)==null?void 0:ec.dgo)==null?void 0:tc.underTolerance),1),kS,DS]),CS,e.createElementVNode("div",null,e.toDisplayString((lc=(oc=l.fuelConclusion)==null?void 0:oc.dgo)==null?void 0:lc.minCons)+" (mt)",1),SS])]),e.createElementVNode("div",BS,[((nc=(ac=l==null?void 0:l.fuelConclusion)==null?void 0:ac.dgo)==null?void 0:nc.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",wS,[AS,TS,FS,OS,e.createElementVNode("div",null,e.toDisplayString((cc=(sc=l==null?void 0:l.fuelConclusion)==null?void 0:sc.dgo)==null?void 0:cc.entireCons),1),PS,e.createElementVNode("div",null,e.toDisplayString((dc=(ic=l==null?void 0:l.fuelConclusion)==null?void 0:ic.dgo)==null?void 0:dc.maxCons),1),LS,e.createElementVNode("div",null,e.toDisplayString((mc=(rc=l==null?void 0:l.fuelConclusion)==null?void 0:rc.dgo)==null?void 0:mc.overCons),1)])):((hc=(pc=l==null?void 0:l.fuelConclusion)==null?void 0:pc.fo)==null?void 0:hc.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",WS,[$S,HS,MS,IS,e.createElementVNode("div",null,e.toDisplayString((Ec=(_c=l==null?void 0:l.fuelConclusion)==null?void 0:_c.dgo)==null?void 0:Ec.minCons),1),GS,e.createElementVNode("div",null,e.toDisplayString((Nc=(yc=l==null?void 0:l.fuelConclusion)==null?void 0:yc.dgo)==null?void 0:Nc.entireCons),1),RS,e.createElementVNode("div",null,e.toDisplayString((fc=(Vc=l==null?void 0:l.fuelConclusion)==null?void 0:Vc.dgo)==null?void 0:fc.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((gc=(bc=l==null?void 0:l.fuelConclusion)==null?void 0:bc.dgo)==null?void 0:gc.conclusionStatus)==="Over"?"flex-center lost":((kc=(xc=l==null?void 0:l.fuelConclusion)==null?void 0:xc.dgo)==null?void 0:kc.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[zS,e.createElementVNode("div",null,e.toDisplayString(((Cc=(Dc=l==null?void 0:l.fuelConclusion)==null?void 0:Dc.dgo)==null?void 0:Cc.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",US,e.toDisplayString(a.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const ZS=Ce(Q0,[["render",YS],["__scopeId","data-v-f248d7fb"]]),MY="",QS={components:{},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]},showFactor:{type:Boolean,default:!1}},data(){return{showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,showWaterTemp:!1}},computed:{computeTDClass(){return function(o){const s=[];return s.push(o.noonLength?"no-border-bottom":"no-border"),s.push(o.excluded?"excluded":o.goodWx?"good-wx":""),s.join(" ")}},computeWxColspan(){let o=12;return this.showCF||(o-=2),this.showAisDistance||(o-=2),this.showWave||(o-=1),this.showSwell||(o-=1),this.showSig||(o-=1),this.showWaterTemp||(o-=1),o},computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${j(o).utc().format(s)}`}},computeLng(){return function(o){return ae.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return ae.LngLatHelper.lat2pretty(o)}},computePrecision(){return function(o,s=2,t="0.0"){return o?ae.LngLatHelper.roundPrecision(o,s):t}}},watch:{report:{handler(o,s){o!=null&&o.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var o,s,t,r,a,n,E,c,p,b,g,h;this.showCF=((s=(o=this.report)==null?void 0:o.weather)==null?void 0:s.showCF)??!1,this.showAisDistance=((r=(t=this.report)==null?void 0:t.weather)==null?void 0:r.showAisDistance)??!0,this.showSig=((n=(a=this.report)==null?void 0:a.weather)==null?void 0:n.showSig)??!0,this.showSwell=((c=(E=this.report)==null?void 0:E.weather)==null?void 0:c.showSwell)??!0,this.showWave=((b=(p=this.report)==null?void 0:p.weather)==null?void 0:b.showWave)??!0,this.showWaterTemp=((h=(g=this.report)==null?void 0:g.weather)==null?void 0:h.waterTempSwitch)||!1}}},u=o=>(e.pushScopeId("data-v-e1693514"),o=o(),e.popScopeId(),o),JS={class:"report-inventory"},KS={class:"section summary-section"},jS=u(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),XS={class:"summary-block"},qS=u(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label",rowspan:"2"},"Seg."),e.createElementVNode("th",{class:"label",rowspan:"2"},"Periods"),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Distance"),e.createElementVNode("div",null,"(nm)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Time"),e.createElementVNode("div",null,"(hrs)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Average Speed"),e.createElementVNode("div",null,"(kts)")]),e.createElementVNode("th",{class:"label",colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"DO/GO")])],-1)),uS={class:"label",rowspan:"4"},vS=u(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),e5=u(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),t5=u(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),o5=u(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),l5={class:"section inventory-section"},a5=e.createStaticVNode('<div class="legends flex-space" data-v-e1693514><div class="flex-start" style="flex:1.2;" data-v-e1693514><div class="legend good-wx" data-v-e1693514></div><div class="label flex-end" data-v-e1693514>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-e1693514><div class="legend adverse-wx" data-v-e1693514></div><div class="label" data-v-e1693514>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-e1693514><div class="legend excluded" data-v-e1693514></div><div class="label" data-v-e1693514>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-e1693514><div data-v-e1693514><label data-v-e1693514>B</label><span data-v-e1693514>BOSP</span></div><div data-v-e1693514><label data-v-e1693514>N</label><span data-v-e1693514>NOON</span></div><div data-v-e1693514><label data-v-e1693514>E</label><span data-v-e1693514>EOSP</span></div><div data-v-e1693514><label data-v-e1693514>*</label><span data-v-e1693514>Ship Reported Position</span></div></div></div>',1),n5={class:"inventory-block flex-center"},s5={style:{"font-size":"12px"}},c5=u(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),i5=u(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),d5=u(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),r5=u(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),m5=["colspan"],p5={key:0,class:"label",colspan:"2"},h5=u(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),_5=u(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),E5=u(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),y5=u(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),N5=u(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),V5=u(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),f5={key:0,class:"label",rowspan:"2"},b5=u(()=>e.createElementVNode("br",null,null,-1)),g5={key:1,class:"label",rowspan:"2"},x5=u(()=>e.createElementVNode("br",null,null,-1)),k5=u(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),D5={key:2,class:"label",rowspan:"2"},C5=u(()=>e.createElementVNode("br",null,null,-1)),S5={key:3,class:"label",colspan:"2"},B5={key:4,class:"label",rowspan:"2"},w5=u(()=>e.createElementVNode("br",null,null,-1)),A5={key:5,class:"label",colspan:"2"},T5=u(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),F5={key:6,class:"label",rowspan:"2"},O5={key:7,class:"label",rowspan:"2"},P5={key:8,class:"label",rowspan:"2"},L5=u(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),W5=u(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),$5=u(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),H5=u(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),M5=u(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),I5=u(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),G5=u(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),R5=u(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),z5=u(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),U5=u(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),Y5=u(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),Z5=u(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),Q5={key:0,class:"label"},J5={key:1,class:"label"},K5={key:2,class:"label"},j5={key:3,class:"label"},X5=u(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),q5=u(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),u5=u(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),v5=u(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),e4=u(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),t4=u(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),o4=u(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),l4=u(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),a4={class:"summary-tbody"};function n4(o,s,t,r,a,n){var E;return e.openBlock(),e.createElementBlock("div",JS,[e.createElementVNode("div",KS,[jS,e.createElementVNode("div",XS,[e.createElementVNode("table",null,[qS,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((E=t.report)==null?void 0:E.segments,(c,p)=>{var b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L;return e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[e.createElementVNode("tr",null,[e.createElementVNode("td",uS,e.toDisplayString(p+1),1),vS,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((b=c==null?void 0:c.allWx)==null?void 0:b.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((g=c==null?void 0:c.allWx)==null?void 0:g.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((h=c==null?void 0:c.allWx)==null?void 0:h.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((N=c==null?void 0:c.allWx)==null?void 0:N.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((D=c==null?void 0:c.allWx)==null?void 0:D.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[e5,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((x=c==null?void 0:c.goodWx)==null?void 0:x.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((C=c==null?void 0:c.goodWx)==null?void 0:C.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((k=c==null?void 0:c.goodWx)==null?void 0:k.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((T=c==null?void 0:c.goodWx)==null?void 0:T.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((F=c==null?void 0:c.goodWx)==null?void 0:F.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[t5,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((B=c==null?void 0:c.badWx)==null?void 0:B.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((w=c==null?void 0:c.badWx)==null?void 0:w.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((f=c==null?void 0:c.badWx)==null?void 0:f.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((O=c==null?void 0:c.badWx)==null?void 0:O.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((I=c==null?void 0:c.badWx)==null?void 0:I.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[o5,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((G=c==null?void 0:c.excluded)==null?void 0:G.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((R=c==null?void 0:c.excluded)==null?void 0:R.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((z=c==null?void 0:c.excluded)==null?void 0:z.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((_=c==null?void 0:c.excluded)==null?void 0:_.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((L=c==null?void 0:c.excluded)==null?void 0:L.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",l5,[a5,e.createElementVNode("div",n5,[e.createElementVNode("table",s5,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[c5,i5,d5,r5,e.createElementVNode("th",{class:"label",colspan:n.computeWxColspan},"ORM Weather Analysis",8,m5),t.showFactor?(e.openBlock(),e.createElementBlock("th",p5,"Factor")):e.createCommentVNode("",!0),h5,_5]),e.createElementVNode("tr",null,[E5,y5,N5,V5,a.showAisDistance?(e.openBlock(),e.createElementBlock("th",f5,[e.createTextVNode("Spd"),b5,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("th",g5,[e.createTextVNode("Dis"),x5,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),k5,a.showWave?(e.openBlock(),e.createElementBlock("th",D5,[e.createTextVNode("Sea HT"),C5,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",S5,"Swell")):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("th",B5,[e.createTextVNode("Sig Wave"),w5,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",A5,"Current")):e.createCommentVNode("",!0),T5,t.showFactor?(e.openBlock(),e.createElementBlock("th",F5,"cFactor")):e.createCommentVNode("",!0),t.showFactor?(e.openBlock(),e.createElementBlock("th",O5,"wxFactor")):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("th",P5,"Water Temp.")):e.createCommentVNode("",!0),L5,W5,$5,H5,M5,I5,G5,R5]),e.createElementVNode("tr",null,[z5,U5,Y5,Z5,a.showSwell?(e.openBlock(),e.createElementBlock("th",Q5,"Dir")):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",J5,"HT(m)")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",K5,"Dir")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",j5,"CF(kts)")):e.createCommentVNode("",!0),X5,q5,u5,v5,e4,t4,o4,l4])]),e.createElementVNode("tbody",a4,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.inventory,(c,p)=>{var b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M;return e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",{class:e.normalizeClass(c.segLength?"no-border-bottom":"no-border")},e.toDisplayString(c.segLength?c.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(c.time),3),["B","E"].includes(c.abbrev)&&((b=c.noon)!=null&&b.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((g=c.noon)==null?void 0:g.port),3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(c._lat.pretty),3),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(c._lng.pretty),3)],64)),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.cp.dgo:""),3),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.avgSpdCalc:""),3)):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((N=(h=c.meteo)==null?void 0:h.wind)==null?void 0:N.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((x=(D=c.meteo)==null?void 0:D.wind)==null?void 0:x.scale)??"--"),3),a.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((T=(k=(C=c.meteo)==null?void 0:C.wave)==null?void 0:k.wd)==null?void 0:T.height)??"--"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((w=(B=(F=c.meteo)==null?void 0:F.wave)==null?void 0:B.swell)==null?void 0:w.direction)??"--"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((I=(O=(f=c.meteo)==null?void 0:f.wave)==null?void 0:O.swell)==null?void 0:I.height)??"--"),3)):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((z=(R=(G=c.meteo)==null?void 0:G.wave)==null?void 0:R.sig)==null?void 0:z.height)??"--"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((L=(_=c.meteo)==null?void 0:_.current)==null?void 0:L.direction)??"--"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((H=c.meteo)==null?void 0:H.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.dailyAvgCf:""),3),t.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((W=c.meteo)==null?void 0:W.cFactor)??"--"),3)):e.createCommentVNode("",!0),t.showFactor?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((P=c.meteo)==null?void 0:P.wxFactor)??"--"),3)):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((M=c.meteo)==null?void 0:M.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const s4=Ce(QS,[["render",n4],["__scopeId","data-v-e1693514"]]),IY="",c4={name:"OrmVoyageChart",components:{Lng:Wa,Lat:$a},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]}},data(){return{spdFoConsChart:void 0,spdDgoConsChart:void 0,wxChart:void 0,currChart:void 0}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${j(o).utc().format(s)}`}}},watch:{inventory:{handler(o,s){o!=null&&o.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Pa.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Pa.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Pa.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var p,b,g,h,N,D;const o=[],s=[],t={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let r=0,a=0;const n=this.inventory.filter(x=>x.noonLength)||[];n.unshift(n[0]),n.forEach((x,C)=>{var T,F,B,w,f,O,I,G,R,z,_,L,H,W;const k=this.computeUTCTime(C===0?x.utc:x.noonUtc,"MM-DD/HHmm[Z]");if(o.push(k),r=Math.ceil(((T=x.noon)==null?void 0:T.foCons)>r?(F=x.noon)==null?void 0:F.foCons:r),r=Math.ceil(((B=x.cp)==null?void 0:B.fo)>r?(w=x.cp)==null?void 0:w.fo:r),a=Math.ceil(((f=x.noon)==null?void 0:f.dgoCons)>a?(O=x.noon)==null?void 0:O.dgoCons:a),a=Math.ceil(((I=x.cp)==null?void 0:I.dgo)>a?(G=x.cp)==null?void 0:G.dgo:a),s.push([k,(R=x.noon)==null?void 0:R.avgSpd,(z=x.noon)==null?void 0:z.foCons,(_=x.noon)==null?void 0:_.dgoCons,x.avgSpdCalc,x.cp.speed,x.goodWx&&!x.excluded?100:0,x.cp.dgo,x.cp.fo,x.excluded?100:0]),C<n.length-1){const P=n[C+1];s.push([k,(L=P.noon)==null?void 0:L.avgSpd,(H=P.noon)==null?void 0:H.foCons,(W=P.noon)==null?void 0:W.dgoCons,P.avgSpdCalc,P.cp.speed,P.goodWx&&!P.excluded?100:0,P.cp.dgo,P.cp.fo,P.excluded?100:0])}});const E={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP FO Cons","FO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:o,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"FO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,offset:10,max:r+1,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#146BF5"}},splitLine:{show:!1}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:t.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:s,z:2},{name:"CP FO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#146BF5"},lineStyle:{color:"#146BF5",type:"dashed"},encode:{x:t.dateTime,y:t.fo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:(b=(p=this.report)==null?void 0:p.weather)!=null&&b.believeRptDistance?t.noonAvgSpd:t.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{name:"FO Cons",yAxisIndex:1,type:"line",showSymbol:!1,itemStyle:{color:"#146BF5"},encode:{x:t.dateTime,y:t.noonFoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:t.dateTime,y:t.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",encode:{x:t.dateTime,y:t.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(g=this.spdFoConsChart)==null||g.setOption(E);const c={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP DGO Cons","DGO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:o,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"DGO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,max:a+.2,min:0,alignTicks:!0,splitLine:{show:!1},axisLine:{lineStyle:{color:"#a7c4ff"}}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:t.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:s,z:2},{name:"CP DGO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#a7c4ff"},lineStyle:{color:"#a7c4ff",type:"dashed"},encode:{x:t.dateTime,y:t.dgo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:(N=(h=this.report)==null?void 0:h.weather)!=null&&N.believeRptDistance?t.noonAvgSpd:t.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{name:"DGO Cons",type:"line",showSymbol:!1,yAxisIndex:1,itemStyle:{color:"#a7c4ff"},encode:{x:t.dateTime,y:t.noonDgoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:t.dateTime,y:t.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",encode:{x:t.dateTime,y:t.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(D=this.spdDgoConsChart)==null||D.setOption(c)},renderWxCurrChart(){var c;const o=[],s=[],t={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let r=4,a=0;const n=this.inventory.filter(p=>p.noonLength)||[];n.unshift(n[0]),n.forEach((p,b)=>{var h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U;a=p.noonLength?p.dailyAvgCf:a;const g=this.computeUTCTime(b===0?p.utc:p.noonUtc,"MM-DD/HHmm[Z]");if(o.push(g),r=Math.ceil(((D=(N=(h=p.meteo)==null?void 0:h.wave)==null?void 0:N.sig)==null?void 0:D.height)>r?(k=(C=(x=p.meteo)==null?void 0:x.wave)==null?void 0:C.sig)==null?void 0:k.height:r),s.push([g,(T=p.noon)==null?void 0:T.windBF,(B=(F=p.meteo)==null?void 0:F.wind)==null?void 0:B.scale,(f=(w=p.meteo)==null?void 0:w.wind)==null?void 0:f.direction,(O=p.noon)==null?void 0:O.seasHt,(R=(G=(I=p.meteo)==null?void 0:I.wave)==null?void 0:G.sig)==null?void 0:R.height,a,p.goodWx&&!p.excluded?20:0,p.excluded?20:0]),b<n.length-1){const J=n[b+1];s.push([g,(z=J.noon)==null?void 0:z.windBF,(L=(_=J.meteo)==null?void 0:_.wind)==null?void 0:L.scale,(W=(H=J.meteo)==null?void 0:H.wind)==null?void 0:W.direction,(P=J.noon)==null?void 0:P.seasHt,(U=(Q=(M=J.meteo)==null?void 0:M.wave)==null?void 0:Q.sig)==null?void 0:U.height,J.noonLength?J.dailyAvgCf:a,J.goodWx&&!J.excluded?20:0,J.excluded?20:0])}});const E={animation:!1,title:{text:"Current Factor",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["Current Factor",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:o,boundaryGap:!0,position:"bottom",axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:10,nameGap:35,minInterval:.5,axisLine:{lineStyle:{color:"#a362f9"}},splitLine:{show:!0}},{name:"Good Weather Days",show:!1}],series:[{name:"Current Factor",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:t.anlyCurFct},itemStyle:{color:"#a362f9"},data:s,z:3},{name:"Good Weather Days",type:"line",yAxisIndex:1,encode:{x:t.dateTime,y:t.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",yAxisIndex:1,encode:{x:t.dateTime,y:t.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(c=this.currChart)==null||c.setOption(E)}}},ml=o=>(e.pushScopeId("data-v-cb952131"),o=o(),e.popScopeId(),o),i4={class:"report-summary"},d4={class:"section chart-section"},r4=ml(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption with Current Analysis Graph")],-1)),m4={class:"chart-block"},p4={ref:"spdFoConsChart",class:"chart"},h4={ref:"spdDgoConsChart",class:"chart"},_4={ref:"currChart",class:"chart"},E4={class:"section map-section"},y4=ml(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),N4={class:"map-block"},V4={class:"flex-space"},f4={class:"voyage-block",style:{height:"197px"}},b4={class:"flex-space label-block",style:{width:"100%"}},g4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),x4={style:{"text-transform":"uppercase"}},k4={class:"flex-space label-block",style:{width:"100%"}},D4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),C4={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},S4={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},B4={class:"flex-space label-block",style:{width:"100%"}},w4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),A4={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},T4={class:"flex-space label-block",style:{width:"100%"}},F4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),O4={key:0,class:"flex-end",style:{flex:"1"}},P4={key:1,class:"flex-end",style:{flex:"1"}},L4=ml(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),W4={class:"flex-end",style:{width:"160px"}},$4={class:"flex-space label-block",style:{width:"100%"}},H4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),M4={key:0,class:"flex-end",style:{flex:"1"}},I4={key:1,class:"flex-end",style:{flex:"1"}},G4=ml(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),R4={class:"flex-end",style:{width:"160px"}},z4={class:"flex-space label-block",style:{width:"100%"}},U4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),Y4={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},Z4=e.createStaticVNode('<div class="legend-block" data-v-cb952131><div style="position:absolute;margin-top:-8px;" data-v-cb952131>LEGEND</div><div class="flex-space" data-v-cb952131><div data-v-cb952131>0812</div><div data-v-cb952131><div data-v-cb952131>08 - Day of the month</div><div data-v-cb952131>12 - Hours of the day</div></div></div><div class="flex-space" data-v-cb952131><div data-v-cb952131><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-cb952131></i></div><div data-v-cb952131><div data-v-cb952131>Wind from N (000)</div><div data-v-cb952131>Each bard = 10 kts</div><div data-v-cb952131>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-cb952131><div data-v-cb952131>W 4</div><div data-v-cb952131>Sig. Wave from West, 4 meters</div></div><div class="flex-space" data-v-cb952131><div class="good-wx" data-v-cb952131>Date</div><div data-v-cb952131>Good weather days</div></div></div>',1),Q4=["src"],J4=e.createStaticVNode('<div class="section method-section" data-v-cb952131><div class="header-block flex-center" data-v-cb952131><i class="iconfont" data-v-cb952131></i><div class="title" data-v-cb952131>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-cb952131><div class="method-title" data-v-cb952131>1. Good Weather Method</div><div class="method-body" data-v-cb952131> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd's Rep 166 and The Gas Enterprise [1993] 2 Lloyd's Rep. 352. <br data-v-cb952131> The vessel's performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-cb952131> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a "good weather day" or "adverse weather day" according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-cb952131><div class="method-title" data-v-cb952131>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-cb952131> Speed and Consumption Calculation applies allowed time and allowed consumption calculated based on cp speed and consumption in good weather conditions. Complying with maritime arbitration standards, time loss and over/under-consumption is not calculated when there are no good weather days. </div></div><div class="method-block" data-v-cb952131><div class="method-title" data-v-cb952131>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-cb952131> To complete the Good Weather Analysis method requests daily noon positions (including time, distance, weather, seas, bunker consumption, etc.) from the Master, which are to be inspected in evaluation reports. We will apply our analyzed distances. Weather and sea conditions in reports represent our verified weather data. </div></div><div class="method-block" data-v-cb952131><div class="method-title" data-v-cb952131>4. “About”</div><div class="method-body" data-v-cb952131> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-cb952131> As per the High Court decision on The Gaz Energy (2012) 852 LMLN 2 a plus 5% tolerance in over-consumption calculation and a minus 5% tolerance in under-consumption are employed respectively when an “about” is included with the consumption warranty, unless otherwise stipulated. </div></div><div class="method-block" data-v-cb952131><div class="method-title" data-v-cb952131>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-cb952131> The following methodology will be applied to analyze bunker consumption when the bunker type is switched over, such as in ECA/SECA zone. <br data-v-cb952131> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-cb952131> 5-2 Considering DO/GO consumption in the switch over period the amount of DO/GO consumed will initially be compared to the DO/GO warranted figure; the remaining DO/GO consumed in the switch over period will then be compared to the warranted IFO figure. In cases of partial steaming Days, the DO/GO consumed will be converted basis a calculation for hourly consumption. </div><div class="method-block" data-v-cb952131><div class="method-title" data-v-cb952131>6. Further reference materials</div><div class="method-body" data-v-cb952131>Please send mail to <a href="mailto:op@ormwx.com" data-v-cb952131>op@ormwx.com</a>.</div></div></div></div>',1);function K4(o,s,t,r,a,n){var p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",i4,[e.createElementVNode("div",d4,[r4,e.createElementVNode("div",m4,[e.createElementVNode("div",p4,null,512),e.createElementVNode("div",h4,null,512),e.createElementVNode("div",_4,null,512)])]),e.createElementVNode("div",E4,[y4,e.createElementVNode("div",N4,[e.createElementVNode("div",V4,[e.createElementVNode("div",f4,[e.createElementVNode("div",b4,[g4,e.createElementVNode("span",x4,e.toDisplayString(t.report.preparedFor),1)]),e.createElementVNode("div",k4,[D4,e.createElementVNode("span",C4,e.toDisplayString((b=(p=t.report)==null?void 0:p.vessel)==null?void 0:b.name),1),e.createElementVNode("span",S4,"("+e.toDisplayString((h=(g=t.report)==null?void 0:g.vessel)==null?void 0:h.type)+")",1)]),e.createElementVNode("div",B4,[w4,e.createElementVNode("span",A4,e.toDisplayString((D=(N=t.report)==null?void 0:N.voyage)==null?void 0:D.number),1)]),e.createElementVNode("div",T4,[F4,(C=(x=t.report)==null?void 0:x.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",O4,e.toDisplayString((T=(k=t.report)==null?void 0:k.departure)==null?void 0:T.portName),1)):(e.openBlock(),e.createElementBlock("div",P4,[e.createVNode(E,{lat:(B=(F=t.report)==null?void 0:F.departure)==null?void 0:B.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),L4,e.createVNode(c,{lng:(w=t.report.departure)==null?void 0:w.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",W4,e.toDisplayString(n.computeUTCTime((f=t.report.departure)==null?void 0:f.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",$4,[H4,(I=(O=t.report)==null?void 0:O.arrival)!=null&&I.portName?(e.openBlock(),e.createElementBlock("span",M4,e.toDisplayString((R=(G=t.report)==null?void 0:G.arrival)==null?void 0:R.portName),1)):(e.openBlock(),e.createElementBlock("div",I4,[e.createVNode(E,{lat:(_=(z=t.report)==null?void 0:z.arrival)==null?void 0:_.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),G4,e.createVNode(c,{lng:(H=(L=t.report)==null?void 0:L.arrival)==null?void 0:H.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",R4,e.toDisplayString(n.computeUTCTime((P=(W=t.report)==null?void 0:W.arrival)==null?void 0:P.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",z4,[U4,e.createElementVNode("span",Y4,e.toDisplayString((Q=(M=t.report)==null?void 0:M.voyage)==null?void 0:Q.loadCondition),1)])]),Z4]),e.createElementVNode("img",{src:(U=t.report)==null?void 0:U.chartUrl,alt:""},null,8,Q4)])]),J4])}const j4=Ce(c4,[["render",K4],["__scopeId","data-v-cb952131"]]),GY="",X4={name:"OrmVoyageIndex",components:{Brand:Io,VoySummary:ZS,Inventory:s4,Chart:j4,Loading:La},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{inventory:[],loading:!0}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${j(o).utc().format(s)}`}}},watch:{report:{handler(o,s){o!=null&&o.id&&(this.loading=!1,this.$nextTick(()=>{this.prepare()}))},immediate:!0}},methods:{commit(o){this.$emit("commit",o)},prepare(){var s,t;const o=[];(t=(s=this.report)==null?void 0:s.segments)==null||t.forEach(r=>{const a=r.extend.cp;let n,E,c=!1;r.inventory.sample.hours.forEach((p,b)=>{n||(n=p),(!E||c)&&(E=p,c=!1),n.segIndex===p.segIndex?n.segLength=(n.segLength||0)+1:(n=p,n.segLength=1),E.noonLength=(E.noonLength||0)+1;let g=p.type.charAt(0);["N","M","E"].includes(g)&&(c=!0,E.dailyAvgCf=p.dailyAvgCf,E.avgSpdCalc=p.avgSpdCalc,E.distanceCalc=p.distanceCalc,E.noonUtc=p.utc),p.abbrev=g,g=g==="M"?"*":g==="A"?"":g,p.time=`${g} ${this.computeUTCTime(p.utc,"MMM-DD/HHmm[Z]")}`,p._lng=ae.LngLatHelper.lng2pretty(p.lng),p._lat=ae.LngLatHelper.lat2pretty(p.lat),p.cp=a,o.push(p)})}),o.sort((r,a)=>r.date-a.date),this.inventory=o}}};function q4(o,s,t,r,a,n){var h,N;const E=e.resolveComponent("Brand"),c=e.resolveComponent("Loading"),p=e.resolveComponent("VoySummary"),b=e.resolveComponent("Inventory"),g=e.resolveComponent("Chart");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((N=(h=t.report)==null?void 0:h.weather)!=null&&N.referenceOnly?"report-section watermark":"report-section")},[e.createVNode(E,{name:"Voyage Analysis Report",issued:t.report.createdAt},null,8,["issued"]),e.createVNode(c,{loading:a.loading,onTimeout:s[0]||(s[0]=D=>a.loading=!1)},null,8,["loading"]),e.createVNode(p,{report:t.report,class:"main",onCommit:n.commit},null,8,["report","onCommit"]),e.createVNode(b,{report:t.report,inventory:a.inventory,class:"main"},null,8,["report","inventory"]),e.createVNode(g,{report:t.report,inventory:a.inventory,class:"main"},null,8,["report","inventory"])],2)}const an=Ce(X4,[["render",q4],["__scopeId","data-v-894b875a"]]),u4={install(o){o.component("FliVoyageReport",ln),o.component("OrmVoyageReport",an)}},RY="",zY="",UY="",v4={name:"IdmTropical",components:{TropicalReport:Hc.TropicalReport},props:{token:{type:String,default:""},report:{type:Object,default:()=>{}},model:{type:String,default:""},ts:{type:String,default:""}},emits:["center"],data(){return{center:void 0}},computed:{},watch:{},methods:{handleHurricanceCenter(o){this.center=o}}},eB={class:"typhoon-report-container"};function tB(o,s,t,r,a,n){const E=e.resolveComponent("TropicalReport");return e.openBlock(),e.createElementBlock("div",eB,[t.report?(e.openBlock(),e.createBlock(E,{key:0,report:t.report,model:t.model,ts:t.ts,token:t.token,onCenter:n.handleHurricanceCenter},null,8,["report","model","ts","token","onCenter"])):e.createCommentVNode("",!0)])}const nn=Ce(v4,[["render",tB],["__scopeId","data-v-a14ce9ba"]]),oB={install(o){o.component("TropicalReport",nn)}},YY="",lB={name:"OrmInvoice",components:{IdmBrand:Io},props:{report:{type:Object,default:()=>({})}},data(){return{account:{CNY:{title:"正权海事服务(青岛)有限公司",taxId:"91370203MADE2L8TX4",address:"山东省青岛市市北区山东路171号乙万科中心1号楼1805户",tel:"15192665266",bank:"中国银行股份有限公司青岛城阳支行",number:"220850858281"},USD:{title:"Ocean Right Marine Service Co., Ltd.",taxId:"91370203MADE2L8TX4",address:"Rm1805, B Technology Innovation Bldg. No. 171 Shandong Rd, Qingdao, China",tel:"15192665266",bank:"Bank of China Qingdao Chengyang Sub-Branch",number:"216950903845",swift:"BKCHCNBJ50A",bankAddr:"198 Zhengyang road Chengyang District, Qingdao, China",intermediaryBank:"Bank of China New York Branch",intermediaryBankSwift:"BKCHUS33XXX",intermediaryBankAbaNo:"326"}},reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},computed:{computeTime(){return function(o,s="YYYY, MMM-DD/HHmm[LT]"){return o!=="-"?`${j(o).utcOffset(8).format(s)}`:"-"}}},watch:{report:{handler(){var o,s,t,r,a,n,E;this.reservations4Route=(s=(o=this.report)==null?void 0:o.reservations)==null?void 0:s.filter(c=>c.props),this.reservations4Point=(r=(t=this.report)==null?void 0:t.reservations)==null?void 0:r.filter(c=>!c.props),this.totalInUS=(n=(a=this.report)==null?void 0:a.reservations)==null?void 0:n.reduce((c,p)=>Math.round((c+p.amount)*100)/100,0),(E=this.reservations4Route)!=null&&E.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}}},Je=o=>(e.pushScopeId("data-v-95c80c22"),o=o(),e.popScopeId(),o),aB={class:"invoice-report"},nB={class:"section items-section"},sB={class:"flex-start"},cB=Je(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),iB=["innerHTML"],dB={class:"flex-space"},rB={class:"invoice-item"},mB={key:0,class:"invoice-item"},pB=Je(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),hB=Je(()=>e.createElementVNode("td",null,"NO.",-1)),_B=["colspan"],EB=Je(()=>e.createElementVNode("td",null,"Amounts",-1)),yB=["colspan"],NB=["colspan"],VB=[Je(()=>e.createElementVNode("span",null,"Total in USD",-1))],fB={class:"total"},bB=["colspan"],gB=[Je(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],xB={class:"total"},kB=["colspan"],DB={class:"total"},CB={key:1},SB=["colspan"],BB=[Je(()=>e.createElementVNode("span",null,"Total in USD",-1))],wB={class:"total"},AB={key:0,class:"memo-block"},TB=Je(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),FB=["innerHTML"],OB={class:"section company-section"},PB=Je(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"Bank Information",-1)),LB={class:"company-item"},WB=Je(()=>e.createElementVNode("label",null,"Bank",-1)),$B={class:"company-item"},HB=Je(()=>e.createElementVNode("label",null,"Account",-1)),MB={class:"company-item"},IB=Je(()=>e.createElementVNode("label",null,"Title",-1)),GB={class:"company-item"},RB=Je(()=>e.createElementVNode("label",null,"Addr",-1)),zB={class:"company-item"},UB=Je(()=>e.createElementVNode("label",null,"Tel",-1)),YB={class:"company-item"},ZB=Je(()=>e.createElementVNode("label",null,"Tax ID",-1)),QB={class:"company-item"},JB=Je(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),KB={class:"company-item"},jB=Je(()=>e.createElementVNode("label",null,"Bank Name",-1)),XB={class:"company-item"},qB=Je(()=>e.createElementVNode("label",null,"Bank Address",-1)),uB={class:"company-item"},vB=Je(()=>e.createElementVNode("label",null,"Account No.",-1)),e8={class:"company-item"},t8=Je(()=>e.createElementVNode("label",null,"SWIFT",-1)),o8={class:"company-item"},l8=Je(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),a8={class:"company-item"},n8=Je(()=>e.createElementVNode("label",null,"SWIFT",-1)),s8={class:"company-item"},c8=Je(()=>e.createElementVNode("label",null,"ABA NO.",-1)),i8=e.createStaticVNode('<div class="section sign-section" data-v-95c80c22><div class="flex-space" data-v-95c80c22><div class="sign-block" data-v-95c80c22><div data-v-95c80c22>Finance Team</div><div data-v-95c80c22>Ocean Right Marine Service Co., Ltd.</div><div data-v-95c80c22>Email: <a href="mailto:op@ormwx.com" data-v-95c80c22>op@ormwx.com</a></div><div data-v-95c80c22>Address: Rm1805, B Technology Innovation Bldg, No. 171 Shandong Road, Qingdao, China.</div></div><div class="thank-block" data-v-95c80c22>Thank You</div></div></div>',1);function d8(o,s,t,r,a,n){var c,p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,X,v,ee,te,oe,le,ce,ie,de,_e;const E=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",aB,[e.createVNode(E,{name:"INVOICE",issued:t.report.createdAt},null,8,["issued"]),e.createElementVNode("div",nB,[e.createElementVNode("div",sB,[cB,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(b=(p=(c=t.report)==null?void 0:c.invoiceTitle)==null?void 0:p.name)==null?void 0:b.replace(`
|
|
42
|
+
`,"<br/>")},null,8,iB)]),e.createElementVNode("div",dB,[e.createElementVNode("div",rB,"Invoice No. "+e.toDisplayString(t.report.number),1),(g=t.report)!=null&&g.paymentDate?(e.openBlock(),e.createElementBlock("div",mB,"Paid: "+e.toDisplayString(n.computeTime(t.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(h=a.reservations4Route)!=null&&h.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[pB,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Route,(q,me)=>{var Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,Ke,je,Xe,A,Se,Ge;return e.openBlock(),e.createElementBlock("tr",{key:me},[e.createElementVNode("td",null,e.toDisplayString((re=(ye=(Ee=q.props)==null?void 0:Ee[0])==null?void 0:ye.voyage)==null?void 0:re.number),1),e.createElementVNode("td",null,e.toDisplayString(((ge=(be=(fe=q.props)==null?void 0:fe[0])==null?void 0:be.voyage)==null?void 0:ge.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((De=(ke=(xe=q.props)==null?void 0:xe[0])==null?void 0:ke.vessel)==null?void 0:De.name),1),e.createElementVNode("td",null,e.toDisplayString((Oe=(Fe=(Te=q.props)==null?void 0:Te[0])==null?void 0:Fe.voyage)==null?void 0:Oe.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((We=(Le=(Pe=q.props)==null?void 0:Pe[0])==null?void 0:Le.departure)==null?void 0:We.name),1),e.createElementVNode("td",null,e.toDisplayString((Ne=(He=($e=q.props)==null?void 0:$e[0])==null?void 0:He.departure)==null?void 0:Ne.atd),1),e.createElementVNode("td",null,e.toDisplayString((Xe=(je=(Ke=q.props)==null?void 0:Ke[0])==null?void 0:je.destination)==null?void 0:Xe.name),1),e.createElementVNode("td",null,e.toDisplayString((Ge=(Se=(A=q.props)==null?void 0:A[0])==null?void 0:Se.destination)==null?void 0:Ge.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(q.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(N=a.reservations4Point)!=null&&N.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[hB,e.createElementVNode("td",{colspan:a.maxColspans-1},"Items.",8,_B),EB])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Point,(q,me)=>(e.openBlock(),e.createElementBlock("tr",{key:me},[e.createElementVNode("td",null,e.toDisplayString(q.number),1),e.createElementVNode("td",{colspan:a.maxColspans-1},e.toDisplayString(q.items),9,yB),e.createElementVNode("td",null,"$"+e.toDisplayString(q.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tbody",null,[((D=t.report)==null?void 0:D.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},VB,8,NB),e.createElementVNode("td",fB,[e.createElementVNode("span",null,e.toDisplayString(`$${a.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},gB,8,bB),e.createElementVNode("td",xB,[e.createElementVNode("span",null,e.toDisplayString((x=t.report)==null?void 0:x.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},"Total in CNY",8,kB),e.createElementVNode("td",DB,"¥"+e.toDisplayString((C=t.report)==null?void 0:C.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",CB,[e.createElementVNode("td",{colspan:a.maxColspans},BB,8,SB),e.createElementVNode("td",wB,[e.createElementVNode("span",null,e.toDisplayString(`$${(k=t.report)==null?void 0:k.paymentAmount}`),1)])]))])]),(T=t.report)!=null&&T.memo?(e.openBlock(),e.createElementBlock("div",AB,[TB,e.createElementVNode("div",{class:"invoice-item",innerHTML:(B=(F=t.report)==null?void 0:F.memo)==null?void 0:B.replace(`
|
|
43
|
+
`,"<br/>")},null,8,FB)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",OB,[PB,((w=t.report)==null?void 0:w.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",LB,[WB,e.createElementVNode("span",null,e.toDisplayString((O=a.account[(f=t.report)==null?void 0:f.paymentType])==null?void 0:O.bank),1)]),e.createElementVNode("div",$B,[HB,e.createElementVNode("span",null,e.toDisplayString((G=a.account[(I=t.report)==null?void 0:I.paymentType])==null?void 0:G.number),1)]),e.createElementVNode("div",MB,[IB,e.createElementVNode("span",null,e.toDisplayString((z=a.account[(R=t.report)==null?void 0:R.paymentType])==null?void 0:z.title),1)]),e.createElementVNode("div",GB,[RB,e.createElementVNode("span",null,e.toDisplayString((L=a.account[(_=t.report)==null?void 0:_.paymentType])==null?void 0:L.address),1)]),e.createElementVNode("div",zB,[UB,e.createElementVNode("span",null,e.toDisplayString((W=a.account[(H=t.report)==null?void 0:H.paymentType])==null?void 0:W.tel),1)]),e.createElementVNode("div",YB,[ZB,e.createElementVNode("span",null,e.toDisplayString((M=a.account[(P=t.report)==null?void 0:P.paymentType])==null?void 0:M.taxId),1)])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",QB,[JB,e.createElementVNode("span",null,e.toDisplayString((U=a.account[(Q=t.report)==null?void 0:Q.paymentType])==null?void 0:U.title),1)]),e.createElementVNode("div",KB,[jB,e.createElementVNode("span",null,e.toDisplayString((ne=a.account[(J=t.report)==null?void 0:J.paymentType])==null?void 0:ne.bank),1)]),e.createElementVNode("div",XB,[qB,e.createElementVNode("span",null,e.toDisplayString((l=a.account[(se=t.report)==null?void 0:se.paymentType])==null?void 0:l.bankAddr),1)]),e.createElementVNode("div",uB,[vB,e.createElementVNode("span",null,e.toDisplayString((v=a.account[(X=t.report)==null?void 0:X.paymentType])==null?void 0:v.number),1)]),e.createElementVNode("div",e8,[t8,e.createElementVNode("span",null,e.toDisplayString((te=a.account[(ee=t.report)==null?void 0:ee.paymentType])==null?void 0:te.swift),1)]),e.createElementVNode("div",o8,[l8,e.createElementVNode("span",null,e.toDisplayString((le=a.account[(oe=t.report)==null?void 0:oe.paymentType])==null?void 0:le.intermediaryBank),1)]),e.createElementVNode("div",a8,[n8,e.createElementVNode("span",null,e.toDisplayString((ie=a.account[(ce=t.report)==null?void 0:ce.paymentType])==null?void 0:ie.intermediaryBankSwift),1)]),e.createElementVNode("div",s8,[c8,e.createElementVNode("span",null,e.toDisplayString((_e=a.account[(de=t.report)==null?void 0:de.paymentType])==null?void 0:_e.intermediaryBankAbaNo),1)])],64))]),i8])}const sn=Ce(lB,[["render",d8],["__scopeId","data-v-95c80c22"]]),KY="",r8={name:"FliInvoice",props:{report:{type:Object,default:()=>({})}},data(){return{reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},computed:{computeTime(){return function(o,s="YYYY, MMM-DD/HHmm[LT]"){return o!=="-"?`${j(o).utcOffset(8).format(s)}`:"-"}}},watch:{report:{handler(){var o,s,t,r,a,n,E;this.reservations4Route=(s=(o=this.report)==null?void 0:o.reservations)==null?void 0:s.filter(c=>c.props),this.reservations4Point=(r=(t=this.report)==null?void 0:t.reservations)==null?void 0:r.filter(c=>!c.props),this.totalInUS=(n=(a=this.report)==null?void 0:a.reservations)==null?void 0:n.reduce((c,p)=>Math.round((c+p.amount)*100)/100,0),(E=this.reservations4Route)!=null&&E.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}},mounted(){}},_l=o=>(e.pushScopeId("data-v-5a352907"),o=o(),e.popScopeId(),o),m8={class:"invoice-report"},p8={class:"section items-section"},h8={class:"flex-start"},_8=_l(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),E8=["innerHTML"],y8={class:"flex-space"},N8={class:"invoice-item"},V8={key:0,class:"invoice-item"},f8=_l(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),b8=_l(()=>e.createElementVNode("td",null,"NO.",-1)),g8=["colspan"],x8=_l(()=>e.createElementVNode("td",null,"Amounts",-1)),k8=["colspan"],D8=["colspan"],C8=[_l(()=>e.createElementVNode("span",null,"Total in USD",-1))],S8={class:"total"},B8=["colspan"],w8=[_l(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],A8={class:"total"},T8=["colspan"],F8={class:"total"},O8={key:1},P8=["colspan"],L8=[_l(()=>e.createElementVNode("span",null,"Total in USD",-1))],W8={class:"total"},$8={key:0,class:"memo-block"},H8=_l(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),M8=["innerHTML"];function I8(o,s,t,r,a,n){var E,c,p,b,g,h,N,D,x,C,k,T,F;return e.openBlock(),e.createElementBlock("div",m8,[e.createElementVNode("div",p8,[e.createElementVNode("div",h8,[_8,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(p=(c=(E=t.report)==null?void 0:E.invoiceTitle)==null?void 0:c.name)==null?void 0:p.replace(`
|
|
44
|
+
`,"<br/>")},null,8,E8)]),e.createElementVNode("div",y8,[e.createElementVNode("div",N8,"Invoice No. "+e.toDisplayString(t.report.number),1),(b=t.report)!=null&&b.paymentDate?(e.openBlock(),e.createElementBlock("div",V8,"Paid: "+e.toDisplayString(n.computeTime(t.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(g=a.reservations4Route)!=null&&g.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[f8,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Route,(B,w)=>{var f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,X,v,ee,te,oe,le;return e.openBlock(),e.createElementBlock("tr",{key:w},[e.createElementVNode("td",null,e.toDisplayString((I=(O=(f=B.props)==null?void 0:f[0])==null?void 0:O.voyage)==null?void 0:I.number),1),e.createElementVNode("td",null,e.toDisplayString(((z=(R=(G=B.props)==null?void 0:G[0])==null?void 0:R.voyage)==null?void 0:z.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((H=(L=(_=B.props)==null?void 0:_[0])==null?void 0:L.vessel)==null?void 0:H.name),1),e.createElementVNode("td",null,e.toDisplayString((M=(P=(W=B.props)==null?void 0:W[0])==null?void 0:P.voyage)==null?void 0:M.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((J=(U=(Q=B.props)==null?void 0:Q[0])==null?void 0:U.departure)==null?void 0:J.name),1),e.createElementVNode("td",null,e.toDisplayString((l=(se=(ne=B.props)==null?void 0:ne[0])==null?void 0:se.departure)==null?void 0:l.atd),1),e.createElementVNode("td",null,e.toDisplayString((ee=(v=(X=B.props)==null?void 0:X[0])==null?void 0:v.destination)==null?void 0:ee.name),1),e.createElementVNode("td",null,e.toDisplayString((le=(oe=(te=B.props)==null?void 0:te[0])==null?void 0:oe.destination)==null?void 0:le.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(B.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(h=a.reservations4Point)!=null&&h.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[b8,e.createElementVNode("td",{colspan:a.maxColspans-1},"Items.",8,g8),x8])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Point,(B,w)=>(e.openBlock(),e.createElementBlock("tr",{key:w},[e.createElementVNode("td",null,e.toDisplayString(B.number),1),e.createElementVNode("td",{colspan:a.maxColspans-1},e.toDisplayString(B.items),9,k8),e.createElementVNode("td",null,"$"+e.toDisplayString(B.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tfoot",null,[((N=t.report)==null?void 0:N.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},C8,8,D8),e.createElementVNode("td",S8,[e.createElementVNode("span",null,e.toDisplayString(`$${a.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},w8,8,B8),e.createElementVNode("td",A8,[e.createElementVNode("span",null,e.toDisplayString((D=t.report)==null?void 0:D.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},"Total in CNY",8,T8),e.createElementVNode("td",F8,"¥"+e.toDisplayString((x=t.report)==null?void 0:x.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",O8,[e.createElementVNode("td",{colspan:a.maxColspans},L8,8,P8),e.createElementVNode("td",W8,[e.createElementVNode("span",null,e.toDisplayString(`$${(C=t.report)==null?void 0:C.paymentAmount}`),1)])]))])]),(k=t.report)!=null&&k.memo?(e.openBlock(),e.createElementBlock("div",$8,[H8,e.createElementVNode("div",{class:"invoice-item",innerHTML:(F=(T=t.report)==null?void 0:T.memo)==null?void 0:F.replace(`
|
|
45
|
+
`,"<br/>")},null,8,M8)])):e.createCommentVNode("",!0)])])}const cn=Ce(r8,[["render",I8],["__scopeId","data-v-5a352907"]]),G8={install(o){o.component("OrmInvoiceReport",sn),o.component("FliInvoiceReport",cn)}},R8=o=>((typeof o=="string"||typeof o=="number")&&(o=j(o)),o),z8=(o,s="MMM-DD,YYYY/HHmm[Z]")=>U8(o,s),U8=(o,s="MMM-DD/HHmm[Z]")=>(o=R8(o),o?`${o.utc().format(s)}`:"-"),uY="",Y8={name:"IdmEditableItem",components:{Edit:Oa.Edit,Close:Oa.Close,IdmEditor:Go},props:{width:{type:Number,default:80},disabled:{type:Boolean,default:!1},iconable:{type:Boolean,default:!0},type:{type:String,default:"input"},label:{type:String,default:""},value:{default:void 0},raw:{default:void 0},min:{type:Number},max:{type:Number},step:{type:Number},precision:{type:Number},controls:{type:Boolean,default:!1},size:{type:String,default:"default"},options:{type:Array,default:[]},radios:{type:Array,default:[]},checkboxs:{type:Array,default:[]},format:{type:String,default:"YYYY-MM-DD/HH:mm [Z]"},valueFormat:{type:String,default:"YYYY-MM-DDTHH:mm:00[Z]"},align:{type:String,default:"flex-start"}},data(){return{editable:!1,model:void 0}},computed:{computeUtcTime(){return function(o,s){return z8(o,s)}}},methods:{handleEdit(){this.disabled||(this.editable=!0,this.model=this.raw??this.value)},handleCancel(){this.editable=!1,this.model=void 0},handleSwitch(){this.model=!this.model,this.handleCommit()},handleCommit(){this.$nextTick(()=>{this.editable=!1}),this.model!==(this.raw??this.value)&&(typeof this.model=="boolean"||this.type==="alphanumeric"||this.type==="textarea"?this.$emit("commit",this.model):!isNaN(this.model)&&Number(this.model)!==1/0?this.$emit("commit",Number(this.model)):this.$emit("commit",this.model))},fetchSelectOptions(o){this.$emit("select",o)}}},Z8={class:"idm-editable-item"},Q8=["innerHTML"],J8={key:3,class:"buttons"};function K8(o,s,t,r,a,n){const E=e.resolveComponent("ElTag"),c=e.resolveComponent("ElInput"),p=e.resolveComponent("IdmEditor"),b=e.resolveComponent("ElInputNumber"),g=e.resolveComponent("ElDatePicker"),h=e.resolveComponent("ElOption"),N=e.resolveComponent("ElSelect"),D=e.resolveComponent("ElRadio"),x=e.resolveComponent("ElRadioGroup"),C=e.resolveComponent("ElCheckbox"),k=e.resolveComponent("ElCheckboxGroup"),T=e.resolveComponent("Edit"),F=e.resolveComponent("ElIcon"),B=e.resolveComponent("ElButton"),w=e.resolveComponent("Close");return e.openBlock(),e.createElementBlock("div",Z8,[e.createElementVNode("div",{class:"group",style:e.normalizeStyle({justifyContent:t.align})},[t.label?(e.openBlock(),e.createElementBlock("label",{key:0,style:e.normalizeStyle({width:t.width+"px"})},e.toDisplayString(t.label),5)):e.createCommentVNode("",!0),a.editable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[t.type==="input"?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.model,"onUpdate:modelValue":s[2]||(s[2]=f=>a.model=f),size:t.size,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),t.type==="alphanumeric"?(e.openBlock(),e.createBlock(c,{key:1,modelValue:a.model,"onUpdate:modelValue":s[3]||(s[3]=f=>a.model=f),size:t.size,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),t.type==="textarea"?(e.openBlock(),e.createBlock(c,{key:2,modelValue:a.model,"onUpdate:modelValue":s[4]||(s[4]=f=>a.model=f),size:t.size,type:"textarea",rows:4,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),t.type==="richText"?(e.openBlock(),e.createBlock(p,{key:3,modelValue:a.model,"onUpdate:modelValue":s[5]||(s[5]=f=>a.model=f),onBlur:n.handleCommit},null,8,["modelValue","onBlur"])):e.createCommentVNode("",!0),t.type==="number"?(e.openBlock(),e.createBlock(b,{key:4,modelValue:a.model,"onUpdate:modelValue":s[6]||(s[6]=f=>a.model=f),size:t.size,controls:t.controls,min:t.min,max:t.max,step:t.step,precision:t.precision,onBlur:n.handleCommit,onChange:n.handleCommit},null,8,["modelValue","size","controls","min","max","step","precision","onBlur","onChange"])):e.createCommentVNode("",!0),t.type==="datetime"?(e.openBlock(),e.createBlock(g,{key:5,modelValue:a.model,"onUpdate:modelValue":s[7]||(s[7]=f=>a.model=f),size:t.size,type:"datetime",class:"datetime",format:t.format,"value-format":t.valueFormat,onBlur:n.handleCommit},null,8,["modelValue","size","format","value-format","onBlur"])):e.createCommentVNode("",!0),t.type==="select"?(e.openBlock(),e.createBlock(N,{key:6,modelValue:a.model,"onUpdate:modelValue":s[8]||(s[8]=f=>a.model=f),size:t.size,filterable:"",style:{width:"100%"},mini:"",onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,f=>(e.openBlock(),e.createBlock(h,{key:f.value,label:f.label,disabled:f.disabled,value:f.value},null,8,["label","disabled","value"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),t.type==="remoteSelect"?(e.openBlock(),e.createBlock(N,{key:7,modelValue:a.model,"onUpdate:modelValue":s[9]||(s[9]=f=>a.model=f),size:t.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":n.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,f=>(e.openBlock(),e.createBlock(h,{key:f.value,label:f.label,value:f.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),t.type==="remotePortSelect"?(e.openBlock(),e.createBlock(N,{key:8,modelValue:a.model,"onUpdate:modelValue":s[10]||(s[10]=f=>a.model=f),size:t.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":n.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,f=>(e.openBlock(),e.createBlock(h,{key:f.id,label:f.name,value:f.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),t.type==="radio"?(e.openBlock(),e.createBlock(x,{key:9,modelValue:a.model,"onUpdate:modelValue":s[11]||(s[11]=f=>a.model=f),size:t.size,style:{width:"100%"},onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.radios,f=>(e.openBlock(),e.createBlock(D,{key:f.value,label:f.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),t.type==="checkbox"?(e.openBlock(),e.createBlock(k,{key:10,modelValue:a.model,"onUpdate:modelValue":s[12]||(s[12]=f=>a.model=f),size:t.size,class:"checkbox",style:{width:"100%"},onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.checkboxs,f=>(e.openBlock(),e.createBlock(C,{key:f.label,label:f.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[typeof t.raw=="boolean"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.raw?(e.openBlock(),e.createBlock(E,{key:0,size:"small",type:"success",style:{margin:"0",cursor:"pointer"},onDblclick:n.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.value),1)]),_:1},8,["onDblclick"])):(e.openBlock(),e.createBlock(E,{key:1,size:"small",type:"info",style:{cursor:"pointer"},onDblclick:n.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.value),1)]),_:1},8,["onDblclick"]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.type==="datetime"?(e.openBlock(),e.createElementBlock("span",{key:0,onDblclick:s[0]||(s[0]=(...f)=>n.handleEdit&&n.handleEdit(...f))},e.toDisplayString(n.computeUtcTime(t.value,t.format)),33)):t.type==="richText"?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:t.value||""},null,8,Q8)):(e.openBlock(),e.createElementBlock("span",{key:2,onDblclick:s[1]||(s[1]=(...f)=>n.handleEdit&&n.handleEdit(...f))},[typeof t.value=="number"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.value),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.value||"-"),1)],64))],32))],64))],64)),!t.disabled&&t.iconable&&typeof t.raw!="boolean"?(e.openBlock(),e.createElementBlock("div",J8,[a.editable?(e.openBlock(),e.createBlock(B,{key:1,size:t.size,type:"danger",link:"",style:{display:"block"},onClick:n.handleCancel},{default:e.withCtx(()=>[e.createVNode(F,null,{default:e.withCtx(()=>[e.createVNode(w)]),_:1})]),_:1},8,["size","onClick"])):(e.openBlock(),e.createBlock(B,{key:0,size:t.size,link:"",onClick:n.handleEdit},{default:e.withCtx(()=>[e.createVNode(F,null,{default:e.withCtx(()=>[e.createVNode(T)]),_:1})]),_:1},8,["size","onClick"]))])):e.createCommentVNode("",!0)],4)])}const dn=Ce(Y8,[["render",K8]]),vY="",j8={name:"OrmDeviation",components:{CirclePlus:Oa.CirclePlus,Remove:Oa.Remove,EditableItem:dn,Editor:Go,IdmBrand:Io},props:{report:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe.idmwx.com"},token:{type:String,default:void 0}},data(){return{extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},remarks:void 0,editable:!1,id:void 0}},computed:{computeColor(){return function(o){return o>0?"fail":o<0?"success":""}},computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return o?`${j(o).utc().format(s)}`:"-"}},computedLngLat(){return function(o,s){return`${ae.LngLatHelper.lat2pretty(o).pretty} / ${ae.LngLatHelper.lng2pretty(s).pretty}`}},computeNum(){return function(o){return o||o==0?o<0?`(${o})`:o:"—"}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(o){o&&(this.prepare(),this.fetchSuggestName())},immediate:!0}},methods:{prepare(){var o,s,t,r;this.extraPortList=(o=this.report)!=null&&o.extraPorts?(s=this.report)==null?void 0:s.extraPorts:[],this.advisory=(t=this.report)!=null&&t.comments?(r=this.report)==null?void 0:r.comments:void 0,this.id=this.report.id},async fetchSuggestName(o){var t;const s=await Fa.get(`${this.gateway}/api/arc/ports/suggest?n=${o}`,{headers:{Authorization:this.token}});this.portList=(t=s==null?void 0:s.data)==null?void 0:t.data},handleAdd(){const o={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(o)},async handleRemove(o){var t,r,a,n,E;this.extraPortList.splice(o,1);const s=await Fa.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.report=(t=s==null?void 0:s.data)==null?void 0:t.data,this.extraPortList=(a=(r=s==null?void 0:s.data)==null?void 0:r.data)==null?void 0:a.extraPorts,this.advisory=(n=this.report)!=null&&n.comments?(E=this.report)==null?void 0:E.comments:void 0},decideDisable(){this.editable=!this.editable},async handleCommit(o,s,t,r){var E;this.editable=!1;const a=s.indexOf(".");let n={};if((t||t==0)&&t!=""){if(o==="port"){if(a>0){const b=s.substring(0,a),g=s.substring(a+1);g!=="date"&&(t=Number(t)),this.extraPortList[r][b][g]=t}else this.extraPortList[r][s]=t;n={extraPorts:this.extraPortList}}else o==="comments"?(this.report[s]=t,n={[s]:t}):(this.report[s]=t,n={[s]:Number(t)});const c=await Fa.put(`${this.gateway}/api/als/deviations/${this.id}`,n,{headers:{Authorization:this.token}}),p=(E=c==null?void 0:c.data)==null?void 0:E.data;this.extraPortList=p==null?void 0:p.extraPorts,this.advisory=(p==null?void 0:p.comments)||void 0}else ua.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},y=o=>(e.pushScopeId("data-v-5e7b1250"),o=o(),e.popScopeId(),o),X8={class:"deviation-report"},q8={class:"content-box"},u8={class:"info-box border-dashed"},v8={class:"flex-between row"},e9={class:"flex-between",style:{width:"48%"}},t9=y(()=>e.createElementVNode("label",{class:"label"},"Prepared For:",-1)),o9={class:"flex-between",style:{width:"48%"}},l9=y(()=>e.createElementVNode("label",{class:"label"},"Departure Port:",-1)),a9={style:{"margin-left":"5px"}},n9={class:"flex-between row"},s9={class:"flex-between",style:{width:"48%"}},c9=y(()=>e.createElementVNode("label",{class:"label"},"Vessel:",-1)),i9={class:"flex-between",style:{width:"48%"}},d9=y(()=>e.createElementVNode("label",{class:"label"},"Arrival Port:",-1)),r9={style:{"margin-left":"5px"}},m9={class:"flex-between row"},p9={class:"flex-between",style:{width:"48%"}},h9=y(()=>e.createElementVNode("label",{class:"label"},"Voyage No:",-1)),_9={class:"flex-between",style:{width:"48%"}},E9=y(()=>e.createElementVNode("label",{class:"label"},"Load Condition:",-1)),y9={class:"section summary-section"},N9=y(()=>e.createElementVNode("div",{class:"subtitle"},"Summary",-1)),V9={class:"border-solid"},f9={class:"cp"},b9={class:"flex-between",style:{padding:"6px 0"}},g9={style:{"margin-left":"5px"}},x9={style:{"margin-left":"5px"}},k9=y(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"CP"),e.createElementVNode("th",{class:"label"},"Speed (kts)"),e.createElementVNode("th",{class:"label"},"Daily FO Consumption (mt)"),e.createElementVNode("th",{class:"label"},"Daily MGO Consumption (mt)")])],-1)),D9=y(()=>e.createElementVNode("td",null,"-",-1)),C9={key:0},S9={key:0},B9={key:1},w9={key:0},A9={key:0},T9={key:1},F9={key:0},O9={key:0},P9={key:1},L9={class:"summary-block flex-between"},W9={class:"item"},$9=y(()=>e.createElementVNode("div",{class:"title"},"Extra Distance",-1)),H9={class:"value flex-end"},M9={key:0},I9=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),G9={class:"gain"},R9=y(()=>e.createElementVNode("span",{class:"unit"},"nm",-1)),z9={key:1},U9=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Y9={class:"lost"},Z9=y(()=>e.createElementVNode("span",{class:"unit"},"nm",-1)),Q9={key:2},J9={class:"item"},K9=y(()=>e.createElementVNode("div",{class:"title"},"Total extra Time",-1)),j9={class:"value flex-end"},X9={key:0},q9=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),u9={class:"gain"},v9=y(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),ew={key:1},tw=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),ow={class:"lost"},lw=y(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),aw={key:2},nw={class:"item"},sw=y(()=>e.createElementVNode("div",{class:"title"},"FO Total extra Consumption",-1)),cw={class:"value flex-end"},iw={key:0},dw=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),rw={class:"gain"},mw=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),pw={key:1},hw=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),_w={class:"lost"},Ew=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),yw={key:2},Nw={class:"item"},Vw=y(()=>e.createElementVNode("div",{class:"title"},"MGO Total extra Consumption",-1)),fw={class:"value flex-end"},bw={key:0},gw=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),xw={class:"gain"},kw=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Dw={key:1},Cw=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Sw={class:"lost"},Bw=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),ww={key:2},Aw=y(()=>e.createElementVNode("div",{class:"subtitle"},"Remarks",-1)),Tw={class:"section-content"},Fw={key:0,class:""},Ow=["innerHTML"],Pw={key:1},Lw={class:"section deviation-info-section"},Ww=y(()=>e.createElementVNode("div",{class:"flex-between"},[e.createElementVNode("div",{class:"subtitle"},"Deviation Info Information")],-1)),$w={key:0},Hw=y(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:2,class:"label"},"Deviation Type"),e.createElementVNode("th",{rowspan:2,class:"label"},"Position"),e.createElementVNode("th",{rowspan:2,class:"label"},"Date Time"),e.createElementVNode("th",{colspan:2,class:"label"},"BROB (mt)"),e.createElementVNode("th",{colspan:2,class:"label"},"Bunkering (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO")])],-1)),Mw=y(()=>e.createElementVNode("td",null,"Deviation Start",-1)),Iw=y(()=>e.createElementVNode("td",null,null,-1)),Gw=y(()=>e.createElementVNode("td",null,null,-1)),Rw=y(()=>e.createElementVNode("td",null,"Back on Track",-1)),zw=y(()=>e.createElementVNode("td",{colspan:"2"},null,-1)),Uw=y(()=>e.createElementVNode("td",{colspan:"2"},null,-1)),Yw={key:1},Zw=y(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"Deviation Type"),e.createElementVNode("th",{class:"label"},"Position"),e.createElementVNode("th",{class:"label"},"Date Time")])],-1)),Qw=y(()=>e.createElementVNode("td",null,"Deviation Start",-1)),Jw=y(()=>e.createElementVNode("td",null,"Back on Track",-1)),Kw={key:0,class:"section extra-port-section"},jw={class:"flex-between"},Xw=y(()=>e.createElementVNode("div",{class:"subtitle"},"Extra Port Information",-1)),qw=y(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Extra Port",-1)),uw=y(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Event",-1)),vw=y(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Date Time",-1)),e7=y(()=>e.createElementVNode("th",{colspan:2,class:"label"},"BROB (mt)",-1)),t7=y(()=>e.createElementVNode("th",{colspan:2,class:"label"},"Bunkering (mt)",-1)),o7={key:0,rowspan:2,class:"print-hidden label"},l7=y(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO")],-1)),a7={rowspan:2},n7=y(()=>e.createElementVNode("td",null,"Arrival",-1)),s7=y(()=>e.createElementVNode("td",null,null,-1)),c7=y(()=>e.createElementVNode("td",null,null,-1)),i7={rowspan:2,class:"print-hidden"},d7=y(()=>e.createElementVNode("td",null,"Departure",-1)),r7=y(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),m7=y(()=>e.createElementVNode("td",null,null,-1)),p7=y(()=>e.createElementVNode("td",null,null,-1)),h7=y(()=>e.createElementVNode("td",null,null,-1)),_7={key:0,class:"print-hidden"},E7={class:"section time-cons-section"},y7=y(()=>e.createElementVNode("div",{class:"subtitle"},"Time and Consumption Calculation",-1)),N7=y(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"Actual Route (nm)"),e.createElementVNode("th",{class:"label"},"Route Prior to deviation(nm)"),e.createElementVNode("th",{class:"label"},"Extra Distance(nm)")])],-1)),V7={class:"time-block flex-between border-dashed"},f7={key:0,class:"formula-block"},b7={class:"flex-start"},g7=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"Time for extra distance sailing",-1)),x7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),k7={class:"fraction flex-center"},D7={class:"content"},C7=y(()=>e.createElementVNode("div",null,"Extra Distance",-1)),S7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),B7={key:0},w7={key:1},A7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),T7={class:"fraction flex-center"},F7={class:"content"},O7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),P7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),L7={class:"fraction flex-center"},W7={class:"flex-start"},$7=e.createStaticVNode('<div class="fraction flex-center" data-v-5e7b1250>Total extra Time</div><div class="sig" data-v-5e7b1250>=</div><div class="fraction flex-center" data-v-5e7b1250>Time for extra distance sailing</div><div class="sig" data-v-5e7b1250>+</div><div class="fraction flex-center" data-v-5e7b1250>Time spent in extra port</div><div class="sig" data-v-5e7b1250>=</div>',6),H7={class:"fraction flex-center"},M7=y(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),I7={class:"fraction flex-center"},G7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),R7={class:"fraction flex-center"},z7={key:1,class:"formula-block"},U7={class:"flex-start"},Y7=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"Time for Route prior to deviation sailing",-1)),Z7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Q7={class:"fraction flex-center"},J7={class:"content"},K7=y(()=>e.createElementVNode("div",null,"Route Prior to deviation",-1)),j7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),X7={key:0},q7={key:1},u7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),v7={class:"fraction flex-center"},e6={class:"content"},t6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),o6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),l6={class:"fraction flex-center"},a6=y(()=>e.createElementVNode("div",{class:"sig"},null,-1)),n6=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},null,-1)),s6={class:"flex-start"},c6=e.createStaticVNode('<div class="fraction flex-center" data-v-5e7b1250>Total extra Time</div><div class="sig" data-v-5e7b1250>=</div><div class="fraction flex-center" data-v-5e7b1250>Time for Actual Route</div><div class="sig" data-v-5e7b1250>-</div><div class="fraction flex-center" data-v-5e7b1250>Time for Route prior to deviation sailing</div><div class="sig" data-v-5e7b1250>=</div>',6),i6={class:"fraction flex-center"},d6=y(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),r6={class:"fraction flex-center"},m6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),p6={class:"fraction flex-center"},h6={class:"fuel-block flex-between border-dashed"},_6={key:0,class:"formula-block"},E6={class:"flex-start"},y6=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"FO Consumption for extra distance sailing",-1)),N6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),V6={class:"fraction flex-center"},f6={class:"content"},b6=y(()=>e.createElementVNode("div",null,"Extra Distance",-1)),g6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),x6={key:0},k6={key:1},D6=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),C6={class:"fraction flex-center"},S6={class:"content"},B6={key:0},w6={key:1},A6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),T6=y(()=>e.createElementVNode("div",null,"24",-1)),F6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),O6={class:"fraction flex-center"},P6={class:"content"},L6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),W6=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),$6={class:"fraction flex-center"},H6={class:"content"},M6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),I6=y(()=>e.createElementVNode("div",null,"24",-1)),G6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),R6={class:"fraction flex-center"},z6={class:"flex-start"},U6=e.createStaticVNode('<div class="fraction flex-center" data-v-5e7b1250>FO Total Extra Consumption</div><div class="sig" data-v-5e7b1250>=</div><div class="fraction flex-center" data-v-5e7b1250>FO Consumption for extra distance sailing</div><div class="sig" data-v-5e7b1250>+</div><div class="fraction flex-center" data-v-5e7b1250>FO Consumption in extra port</div><div class="sig" data-v-5e7b1250>=</div>',6),Y6={class:"fraction flex-center"},Z6=y(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),Q6={class:"fraction flex-center"},J6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),K6={class:"fraction flex-center"},j6={class:"flex-start"},X6=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"MGO Consumption for extra distance sailing",-1)),q6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),u6={class:"fraction flex-center"},v6={class:"content"},eA=y(()=>e.createElementVNode("div",null,"Extra Distance",-1)),tA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),oA={key:0},lA={key:1},aA=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),nA={class:"fraction flex-center"},sA={class:"content"},cA={key:0},iA={key:1},dA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),rA=y(()=>e.createElementVNode("div",null,"24",-1)),mA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),pA={class:"fraction flex-center"},hA={class:"content"},_A=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),EA=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),yA={class:"fraction flex-center"},NA={class:"content"},VA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),fA=y(()=>e.createElementVNode("div",null,"24",-1)),bA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),gA={class:"fraction flex-center"},xA={class:"flex-start"},kA=e.createStaticVNode('<div class="fraction flex-center" data-v-5e7b1250>MGO Total Extra Consumption</div><div class="sig" data-v-5e7b1250>=</div><div class="fraction flex-center" data-v-5e7b1250>MGO Consumption for extra distance sailing</div><div class="sig" data-v-5e7b1250>+</div><div class="fraction flex-center" data-v-5e7b1250>MGO Consumption in extra port</div><div class="sig" data-v-5e7b1250>=</div>',6),DA={class:"fraction flex-center"},CA=y(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),SA={class:"fraction flex-center"},BA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),wA={class:"fraction flex-center"},AA={key:1,class:"formula-block"},TA={class:"flex-start"},FA=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"FO Consumption for Route prior to deviation sailing",-1)),OA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),PA={class:"fraction flex-center"},LA={class:"content"},WA=y(()=>e.createElementVNode("div",null,"Route prior to deviation Distance",-1)),$A=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),HA={key:0},MA={key:1},IA=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),GA={class:"fraction flex-center"},RA={class:"content"},zA={key:0},UA={key:1},YA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),ZA=y(()=>e.createElementVNode("div",null,"24",-1)),QA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),JA={class:"fraction flex-center"},KA={class:"content"},jA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),XA=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),qA={class:"fraction flex-center"},uA={class:"content"},vA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),eT=y(()=>e.createElementVNode("div",null,"24",-1)),tT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),oT={class:"fraction flex-center"},lT={class:"flex-start"},aT=e.createStaticVNode('<div class="fraction flex-center" data-v-5e7b1250>FO Total Extra Consumption</div><div class="sig" data-v-5e7b1250>=</div><div class="fraction flex-center" data-v-5e7b1250>FO Consumption for Actual Route</div><div class="sig" data-v-5e7b1250>-</div><div class="fraction flex-center" data-v-5e7b1250>FO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-5e7b1250>=</div>',6),nT={class:"fraction flex-center"},sT=y(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),cT={class:"fraction flex-center"},iT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),dT={class:"fraction flex-center"},rT={class:"flex-start"},mT=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"MGO Consumption for Route prior to deviation sailing",-1)),pT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),hT={class:"fraction flex-center"},_T={class:"content"},ET=y(()=>e.createElementVNode("div",null,"Route prior to deviation Distance",-1)),yT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),NT={key:0},VT={key:1},fT=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),bT={class:"fraction flex-center"},gT={class:"content"},xT={key:0},kT={key:1},DT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),CT=y(()=>e.createElementVNode("div",null,"24",-1)),ST=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),BT={class:"fraction flex-center"},wT={class:"content"},AT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),TT=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),FT={class:"fraction flex-center"},OT={class:"content"},PT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),LT=y(()=>e.createElementVNode("div",null,"24",-1)),WT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),$T={class:"fraction flex-center"},HT={class:"flex-start"},MT=e.createStaticVNode('<div class="fraction flex-center" data-v-5e7b1250>MGO Total Extra Consumption</div><div class="sig" data-v-5e7b1250>=</div><div class="fraction flex-center" data-v-5e7b1250>MGO Consumption for Actual Route</div><div class="sig" data-v-5e7b1250>-</div><div class="fraction flex-center" data-v-5e7b1250>MGO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-5e7b1250>=</div>',6),IT={class:"fraction flex-center"},GT=y(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),RT={class:"fraction flex-center"},zT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),UT={class:"fraction flex-center"},YT={class:"section map-section"},ZT=y(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),QT={class:"report-map"},JT=["src"],KT=e.createStaticVNode('<div class="legend" data-v-5e7b1250><div class="legend-item" data-v-5e7b1250><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-5e7b1250></div><div data-v-5e7b1250>Actual Route</div></div><div class="legend-item" data-v-5e7b1250><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-5e7b1250></div><div data-v-5e7b1250>Route prior to deviation</div></div></div>',1);function jT(o,s,t,r,a,n){var g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,X,v,ee,te,oe,le,ce,ie,de,_e,q,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,Ke,je,Xe,A,Se,Ge,qe,ue,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo,S,Ie,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,Xt,qt,ut,vt,eo,to,oo,lo,yo,No,Vo,fo,bo,go,xo,ko,Do,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Ro,zo,Uo,Yo,Zo,Qo,Jo,Ko,jo,Xo,qo,uo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl,st,pl,El,yl,Nl,Vl,fl,bl,gl,xl,kl,Dl,Cl,Sl,Bl,wl,Al,Tl,Fl,Ol,Pl,Ll,Wl,$l,Hl,Ml,Il,Gl,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,jl,Xl,ql,ul,vl,ea,ta,oa,la,aa,na,sa,ca,ia,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ba,ga,xa;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("Editor"),p=e.resolveComponent("EditableItem"),b=e.resolveComponent("ElButton");return e.openBlock(),e.createElementBlock("div",X8,[e.createVNode(E,{name:"Voyage Deviation Report"}),e.createElementVNode("div",q8,[e.createElementVNode("div",u8,[e.createElementVNode("div",v8,[e.createElementVNode("div",e9,[t9,e.createElementVNode("div",null,e.toDisplayString((g=t.report)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",o9,[l9,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((N=(h=t.report)==null?void 0:h.departure)==null?void 0:N.name),1),e.createTextVNode(" , "),e.createElementVNode("span",a9,e.toDisplayString(n.computeUTCTime(((x=(D=t.report)==null?void 0:D.departure)==null?void 0:x.atd)||((k=(C=t.report)==null?void 0:C.departure)==null?void 0:k.etd))),1)])])]),e.createElementVNode("div",n9,[e.createElementVNode("div",s9,[c9,e.createElementVNode("div",null,e.toDisplayString((F=(T=t.report)==null?void 0:T.vessel)==null?void 0:F.name),1)]),e.createElementVNode("div",i9,[d9,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((w=(B=t.report)==null?void 0:B.arrival)==null?void 0:w.name),1),e.createTextVNode(" , "),e.createElementVNode("span",r9,e.toDisplayString(n.computeUTCTime(((O=(f=t.report)==null?void 0:f.arrival)==null?void 0:O.ata)||((G=(I=t.report)==null?void 0:I.arrival)==null?void 0:G.eta))),1)])])]),e.createElementVNode("div",m9,[e.createElementVNode("div",p9,[h9,e.createElementVNode("div",null,e.toDisplayString((z=(R=t.report)==null?void 0:R.voyage)==null?void 0:z.number),1)]),e.createElementVNode("div",_9,[E9,e.createElementVNode("div",null,e.toDisplayString((L=(_=t.report)==null?void 0:_.voyage)==null?void 0:L.loadCondition),1)])])]),e.createElementVNode("div",y9,[N9,e.createElementVNode("div",V9,[e.createElementVNode("div",f9,[e.createElementVNode("div",b9,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((W=(H=t.report)==null?void 0:H.departure)==null?void 0:W.name),1),e.createElementVNode("span",g9,"( "+e.toDisplayString(n.computeUTCTime(((M=(P=t.report)==null?void 0:P.departure)==null?void 0:M.atd)||((U=(Q=t.report)==null?void 0:Q.departure)==null?void 0:U.etd)))+" )",1)]),e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((ne=(J=t.report)==null?void 0:J.arrival)==null?void 0:ne.name),1),e.createElementVNode("span",x9,"( "+e.toDisplayString(n.computeUTCTime(((l=(se=t.report)==null?void 0:se.arrival)==null?void 0:l.ata)||((v=(X=t.report)==null?void 0:X.arrival)==null?void 0:v.eta)))+" )",1)])]),e.createElementVNode("table",null,[k9,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[D9,e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(((te=(ee=t.report)==null?void 0:ee.cp)==null?void 0:te.speed)??"—"),1),t.report.useWeather?(e.openBlock(),e.createElementBlock("span",C9,[e.createTextVNode(" | "),(ce=(le=(oe=t.report)==null?void 0:oe.extend)==null?void 0:le.spdAbt)!=null&&ce.spdPercentage?(e.openBlock(),e.createElementBlock("span",S9,"+"+e.toDisplayString((_e=(de=(ie=t.report)==null?void 0:ie.extend)==null?void 0:de.spdAbt)==null?void 0:_e.spdOfOver)+"% , -"+e.toDisplayString((Ee=(me=(q=t.report)==null?void 0:q.extend)==null?void 0:me.spdAbt)==null?void 0:Ee.spdOfUnder)+"%",1)):(e.openBlock(),e.createElementBlock("span",B9,"+"+e.toDisplayString((fe=(re=(ye=t.report)==null?void 0:ye.extend)==null?void 0:re.spdAbt)==null?void 0:fe.abt4SpdOver)+" , -"+e.toDisplayString((xe=(ge=(be=t.report)==null?void 0:be.extend)==null?void 0:ge.spdAbt)==null?void 0:xe.abt4SpdUnder),1))])):e.createCommentVNode("",!0)]),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(((De=(ke=t.report)==null?void 0:ke.cp)==null?void 0:De.fo)??"—"),1),t.report.useWeather?(e.openBlock(),e.createElementBlock("span",w9,[e.createTextVNode(" | "),(Oe=(Fe=(Te=t.report)==null?void 0:Te.extend)==null?void 0:Fe.foAbtCons)!=null&&Oe.percentage?(e.openBlock(),e.createElementBlock("span",A9,"+"+e.toDisplayString((We=(Le=(Pe=t.report)==null?void 0:Pe.extend)==null?void 0:Le.foAbtCons)==null?void 0:We.over)+"% , -"+e.toDisplayString((Ne=(He=($e=t.report)==null?void 0:$e.extend)==null?void 0:He.foAbtCons)==null?void 0:Ne.under)+"%",1)):(e.openBlock(),e.createElementBlock("span",T9,"+"+e.toDisplayString((Xe=(je=(Ke=t.report)==null?void 0:Ke.extend)==null?void 0:je.foAbtCons)==null?void 0:Xe.overTolerance)+" , -"+e.toDisplayString((Ge=(Se=(A=t.report)==null?void 0:A.extend)==null?void 0:Se.foAbtCons)==null?void 0:Ge.underTolerance),1))])):e.createCommentVNode("",!0)]),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(((ue=(qe=t.report)==null?void 0:qe.cp)==null?void 0:ue.dgo)??"—"),1),t.report.useWeather?(e.openBlock(),e.createElementBlock("span",F9,[e.createTextVNode(" | "),(tt=(et=(ve=t.report)==null?void 0:ve.extend)==null?void 0:et.dgoAbtCons)!=null&&tt.percentage?(e.openBlock(),e.createElementBlock("span",O9,"+"+e.toDisplayString((Be=($=(m=t.report)==null?void 0:m.extend)==null?void 0:$.dgoAbtCons)==null?void 0:Be.over)+"% , -"+e.toDisplayString((pe=(Re=(Me=t.report)==null?void 0:Me.extend)==null?void 0:Re.dgoAbtCons)==null?void 0:pe.under)+"%",1)):(e.openBlock(),e.createElementBlock("span",P9,"+"+e.toDisplayString((lt=(ot=(Ue=t.report)==null?void 0:Ue.extend)==null?void 0:ot.dgoAbtCons)==null?void 0:lt.overTolerance)+" , -"+e.toDisplayString((mt=(rt=(dt=t.report)==null?void 0:dt.extend)==null?void 0:rt.dgoAbtCons)==null?void 0:mt.underTolerance),1))])):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",L9,[e.createElementVNode("div",W9,[$9,e.createElementVNode("div",H9,[((pt=t.report)==null?void 0:pt.extraDist)<0?(e.openBlock(),e.createElementBlock("div",M9,[I9,e.createElementVNode("span",G9,e.toDisplayString(Math.abs((_t=t.report)==null?void 0:_t.extraDist)),1),R9])):((Et=t.report)==null?void 0:Et.extraDist)>=0?(e.openBlock(),e.createElementBlock("div",z9,[U9,e.createElementVNode("span",Y9,e.toDisplayString(Math.abs((yt=t.report)==null?void 0:yt.extraDist)),1),Z9])):(e.openBlock(),e.createElementBlock("div",Q9,"N/A"))])]),e.createElementVNode("div",J9,[K9,e.createElementVNode("div",j9,[((Vt=(Nt=t.report)==null?void 0:Nt.timeAnalysis)==null?void 0:Vt.totalExtraTime)<0?(e.openBlock(),e.createElementBlock("div",X9,[q9,e.createElementVNode("span",u9,e.toDisplayString(Math.abs((bt=(ft=t.report)==null?void 0:ft.timeAnalysis)==null?void 0:bt.totalExtraTime)),1),v9])):((xt=(gt=t.report)==null?void 0:gt.timeAnalysis)==null?void 0:xt.totalExtraTime)>=0?(e.openBlock(),e.createElementBlock("div",ew,[tw,e.createElementVNode("span",ow,e.toDisplayString(Math.abs((Dt=(kt=t.report)==null?void 0:kt.timeAnalysis)==null?void 0:Dt.totalExtraTime)),1),lw])):(e.openBlock(),e.createElementBlock("div",aw,"N/A"))])]),e.createElementVNode("div",nw,[sw,e.createElementVNode("div",cw,[((Bt=(St=(Ct=t.report)==null?void 0:Ct.consAnalysis)==null?void 0:St.fo)==null?void 0:Bt.totalExtraCons)<0?(e.openBlock(),e.createElementBlock("div",iw,[dw,e.createElementVNode("span",rw,e.toDisplayString(Math.abs((Tt=(At=(wt=t.report)==null?void 0:wt.consAnalysis)==null?void 0:At.fo)==null?void 0:Tt.totalExtraCons)),1),mw])):((Pt=(Ot=(Ft=t.report)==null?void 0:Ft.consAnalysis)==null?void 0:Ot.fo)==null?void 0:Pt.totalExtraCons)>=0?(e.openBlock(),e.createElementBlock("div",pw,[hw,e.createElementVNode("span",_w,e.toDisplayString(Math.abs((co=(so=(no=t.report)==null?void 0:no.consAnalysis)==null?void 0:so.fo)==null?void 0:co.totalExtraCons)),1),Ew])):(e.openBlock(),e.createElementBlock("div",yw,"N/A"))])]),e.createElementVNode("div",Nw,[Vw,e.createElementVNode("div",fw,[((mo=(ro=(io=t.report)==null?void 0:io.consAnalysis)==null?void 0:ro.dgo)==null?void 0:mo.totalExtraCons)<0?(e.openBlock(),e.createElementBlock("div",bw,[gw,e.createElementVNode("span",xw,e.toDisplayString(Math.abs((_o=(ho=(po=t.report)==null?void 0:po.consAnalysis)==null?void 0:ho.dgo)==null?void 0:_o.totalExtraCons)),1),kw])):((Ie=(S=(Eo=t.report)==null?void 0:Eo.consAnalysis)==null?void 0:S.dgo)==null?void 0:Ie.totalExtraCons)>=0?(e.openBlock(),e.createElementBlock("div",Dw,[Cw,e.createElementVNode("span",Sw,e.toDisplayString(Math.abs((ht=(nt=(at=t.report)==null?void 0:at.consAnalysis)==null?void 0:nt.dgo)==null?void 0:ht.totalExtraCons)),1),Bw])):(e.openBlock(),e.createElementBlock("div",ww,"N/A"))])])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(a.remarks)?"print-hidden":""])},[Aw,e.createElementVNode("div",Tw,[a.editable?(e.openBlock(),e.createElementBlock("div",Fw,[a.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=Z=>a.remarks=Z),class:"editor",height:"80px",onBlur:s[1]||(s[1]=Z=>n.handleCommit(Z))},null,8,["modelValue"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-block",onDblclick:s[2]||(s[2]=Z=>a.editable=!0)},[n.computeBlankHtml(a.remarks)?(e.openBlock(),e.createElementBlock("div",Pw,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:a.remarks},null,8,Ow))],32))])],2),e.createElementVNode("div",Lw,[Ww,((Lt=t.report)==null?void 0:Lt.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("table",$w,[Hw,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[Mw,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((Wt=t.report)==null?void 0:Wt.startLat,($t=t.report)==null?void 0:$t.startLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Ht=t.report)==null?void 0:Ht.startTime)),1),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Mt=t.report)==null?void 0:Mt.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=Z=>n.handleCommit("extra","startFoBrob",Z))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(It=t.report)==null?void 0:It.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=Z=>n.handleCommit("extra","startDgoBrob",Z))},null,8,["value"])]),Iw,Gw]),e.createElementVNode("tr",null,[Rw,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((Gt=t.report)==null?void 0:Gt.endLat,(Rt=t.report)==null?void 0:Rt.endLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((zt=t.report)==null?void 0:zt.endTime)),1),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Ut=t.report)==null?void 0:Ut.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=Z=>n.handleCommit("extra","endFoBrob",Z))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Yt=t.report)==null?void 0:Yt.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=Z=>n.handleCommit("extra","endDgoBrob",Z))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Zt=t.report)==null?void 0:Zt.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=Z=>n.handleCommit("extra","endFoBunkering",Z))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Qt=t.report)==null?void 0:Qt.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[8]||(s[8]=Z=>n.handleCommit("extra","endDgoBunkering",Z))},null,8,["value"])])]),e.createElementVNode("tr",null,[zw,e.createElementVNode("td",null,e.toDisplayString((Kt=(Jt=t.report)==null?void 0:Jt.timeAnalysis)==null?void 0:Kt.actualTime)+" (hrs)",1),e.createElementVNode("td",null,e.toDisplayString((qt=(Xt=(jt=t.report)==null?void 0:jt.consAnalysis)==null?void 0:Xt.fo)==null?void 0:qt.actualCons),1),e.createElementVNode("td",null,e.toDisplayString((eo=(vt=(ut=t.report)==null?void 0:ut.consAnalysis)==null?void 0:vt.dgo)==null?void 0:eo.actualCons),1),Uw])])])):(e.openBlock(),e.createElementBlock("table",Yw,[Zw,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[Qw,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((to=t.report)==null?void 0:to.startLat,(oo=t.report)==null?void 0:oo.startLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((lo=t.report)==null?void 0:lo.startTime)),1)]),e.createElementVNode("tr",null,[Jw,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((yo=t.report)==null?void 0:yo.endLat,(No=t.report)==null?void 0:No.endLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Vo=t.report)==null?void 0:Vo.endTime)),1)])])]))]),((fo=t.report)==null?void 0:fo.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",Kw,[e.createElementVNode("div",jw,[Xw,e.createVNode(b,{style:{"margin-bottom":"-15px"},size:"small",class:"print-hidden",onClick:n.handleAdd},{default:e.withCtx(()=>[e.createTextVNode("Add Extra Port")]),_:1},8,["onClick"])]),e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[qw,uw,vw,e7,t7,((bo=a.extraPortList)==null?void 0:bo.length)>0?(e.openBlock(),e.createElementBlock("th",o7,"Activity")):e.createCommentVNode("",!0)]),l7]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.extraPortList,(Z,ao)=>{var ka,Da,Ca,Sa,Ba,wa,Aa,Ta;return e.openBlock(),e.createElementBlock(e.Fragment,{key:ao},[e.createElementVNode("tr",null,[e.createElementVNode("td",a7,[e.createVNode(p,{class:"editable-item",value:Z==null?void 0:Z.name,type:"remotePortSelect",size:"small",align:"center",options:a.portList,onSelect:n.fetchSuggestName,onCommit:Qe=>n.handleCommit("port","name",Qe,ao)},null,8,["value","options","onSelect","onCommit"])]),n7,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(ka=Z==null?void 0:Z.arrival)==null?void 0:ka.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Qe=>n.handleCommit("port","arrival.date",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Da=Z==null?void 0:Z.arrival)==null?void 0:Da.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","arrival.foBrob",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Ca=Z==null?void 0:Z.arrival)==null?void 0:Ca.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","arrival.dgoBrob",Qe,ao)},null,8,["value","onCommit"])]),s7,c7,e.createElementVNode("td",i7,[e.createVNode(b,{size:"small",onClick:Qe=>n.handleRemove(ao)},{default:e.withCtx(()=>[e.createTextVNode("Del")]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[d7,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(Sa=Z==null?void 0:Z.departure)==null?void 0:Sa.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Qe=>n.handleCommit("port","departure.date",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Ba=Z==null?void 0:Z.departure)==null?void 0:Ba.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.foBrob",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(wa=Z==null?void 0:Z.departure)==null?void 0:wa.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.dgoBrob",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Aa=Z==null?void 0:Z.departure)==null?void 0:Aa.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.bunkeringFo",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Ta=Z==null?void 0:Z.departure)==null?void 0:Ta.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.bunkeringDgo",Qe,ao)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[r7,m7,e.createElementVNode("td",null,e.toDisplayString(((xo=(go=t.report)==null?void 0:go.timeAnalysis)==null?void 0:xo.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Co=(Do=(ko=t.report)==null?void 0:ko.consAnalysis)==null?void 0:Do.fo)==null?void 0:Co.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((wo=(Bo=(So=t.report)==null?void 0:So.consAnalysis)==null?void 0:Bo.dgo)==null?void 0:wo.portCons)??"—"),1),p7,h7,((Ao=a.extraPortList)==null?void 0:Ao.length)>0?(e.openBlock(),e.createElementBlock("td",_7)):e.createCommentVNode("",!0)])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",E7,[y7,e.createElementVNode("table",null,[N7,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(To=t.report)==null?void 0:To.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[9]||(s[9]=Z=>n.handleCommit("report","actualDist",Z,o.index))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(Fo=t.report)==null?void 0:Fo.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[10]||(s[10]=Z=>n.handleCommit("report","priorDist",Z,o.index))},null,8,["value"])]),e.createElementVNode("td",null,e.toDisplayString(((Oo=t.report)==null?void 0:Oo.extraDist)??"—"),1)])])]),e.createElementVNode("div",V7,[((Po=t.report)==null?void 0:Po.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",f7,[e.createElementVNode("div",b7,[g7,x7,e.createElementVNode("div",k7,[e.createElementVNode("div",D7,[C7,S7,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",B7,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",w7,"CP Speed"))])]),A7,e.createElementVNode("div",T7,[e.createElementVNode("div",F7,[e.createElementVNode("div",null,e.toDisplayString((Lo=t.report)==null?void 0:Lo.extraDist),1),O7,e.createElementVNode("div",null,e.toDisplayString(($o=(Wo=t.report)==null?void 0:Wo.extend)==null?void 0:$o.cpSpd),1)])]),P7,e.createElementVNode("div",L7,e.toDisplayString((Ro=(Ho=t.report)==null?void 0:Ho.timeAnalysis)==null?void 0:Ro.sailingTime)+" (hrs)",1)]),e.createElementVNode("div",W7,[$7,e.createElementVNode("div",H7,e.toDisplayString((Uo=(zo=t.report)==null?void 0:zo.timeAnalysis)==null?void 0:Uo.sailingTime),1),M7,e.createElementVNode("div",I7,e.toDisplayString(n.computeNum((Zo=(Yo=t.report)==null?void 0:Yo.timeAnalysis)==null?void 0:Zo.portTime)),1),G7,e.createElementVNode("div",R7,e.toDisplayString((Jo=(Qo=t.report)==null?void 0:Qo.timeAnalysis)==null?void 0:Jo.totalExtraTime)+" (hrs)",1)])])):(e.openBlock(),e.createElementBlock("div",z7,[e.createElementVNode("div",U7,[Y7,Z7,e.createElementVNode("div",Q7,[e.createElementVNode("div",J7,[K7,j7,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",X7,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",q7,"CP Speed"))])]),u7,e.createElementVNode("div",v7,[e.createElementVNode("div",e6,[e.createElementVNode("div",null,e.toDisplayString((Ko=t.report)==null?void 0:Ko.priorDist),1),t6,e.createElementVNode("div",null,e.toDisplayString((Xo=(jo=t.report)==null?void 0:jo.extend)==null?void 0:Xo.cpSpd),1)])]),o6,e.createElementVNode("div",l6,e.toDisplayString((uo=(qo=t.report)==null?void 0:qo.timeAnalysis)==null?void 0:uo.sailingTime)+" (hrs)",1),a6,n6]),e.createElementVNode("div",s6,[c6,e.createElementVNode("div",i6,e.toDisplayString((el=(vo=t.report)==null?void 0:vo.timeAnalysis)==null?void 0:el.actualTime),1),d6,e.createElementVNode("div",r6,e.toDisplayString((ol=(tl=t.report)==null?void 0:tl.timeAnalysis)==null?void 0:ol.sailingTime),1),m6,e.createElementVNode("div",p6,e.toDisplayString((al=(ll=t.report)==null?void 0:ll.timeAnalysis)==null?void 0:al.totalExtraTime)+" (hrs)",1)])]))]),e.createElementVNode("div",h6,[((nl=t.report)==null?void 0:nl.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",_6,[e.createElementVNode("div",E6,[y6,N6,e.createElementVNode("div",V6,[e.createElementVNode("div",f6,[b6,g6,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",x6,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",k6,"CP Speed"))])]),D6,e.createElementVNode("div",C6,[e.createElementVNode("div",S6,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",B6,"Daily FO Consumption + About")):(e.openBlock(),e.createElementBlock("div",w6,"Daily FO Consumption")),A6,T6])]),F6,e.createElementVNode("div",O6,[e.createElementVNode("div",P6,[e.createElementVNode("div",null,e.toDisplayString((sl=t.report)==null?void 0:sl.extraDist),1),L6,e.createElementVNode("div",null,e.toDisplayString((il=(cl=t.report)==null?void 0:cl.extend)==null?void 0:il.cpSpd),1)])]),W6,e.createElementVNode("div",$6,[e.createElementVNode("div",H6,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=t.report)==null?void 0:dl.extend)==null?void 0:rl.cpFoCons),1),M6,I6])]),G6,e.createElementVNode("div",R6,e.toDisplayString((El=(pl=(st=t.report)==null?void 0:st.consAnalysis)==null?void 0:pl.fo)==null?void 0:El.sailingCons)+" (mt)",1)]),e.createElementVNode("div",z6,[U6,e.createElementVNode("div",Y6,e.toDisplayString((Vl=(Nl=(yl=t.report)==null?void 0:yl.consAnalysis)==null?void 0:Nl.fo)==null?void 0:Vl.sailingCons),1),Z6,e.createElementVNode("div",Q6,e.toDisplayString(n.computeNum((gl=(bl=(fl=t.report)==null?void 0:fl.consAnalysis)==null?void 0:bl.fo)==null?void 0:gl.portCons)),1),J6,e.createElementVNode("div",K6,e.toDisplayString((Dl=(kl=(xl=t.report)==null?void 0:xl.consAnalysis)==null?void 0:kl.fo)==null?void 0:Dl.totalExtraCons)+" (mt)",1)]),e.createElementVNode("div",j6,[X6,q6,e.createElementVNode("div",u6,[e.createElementVNode("div",v6,[eA,tA,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",oA,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",lA,"CP Speed"))])]),aA,e.createElementVNode("div",nA,[e.createElementVNode("div",sA,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",cA,"Daily MGO Consumption + About")):(e.openBlock(),e.createElementBlock("div",iA,"Daily MGO Consumption")),dA,rA])]),mA,e.createElementVNode("div",pA,[e.createElementVNode("div",hA,[e.createElementVNode("div",null,e.toDisplayString((Cl=t.report)==null?void 0:Cl.extraDist),1),_A,e.createElementVNode("div",null,e.toDisplayString((Bl=(Sl=t.report)==null?void 0:Sl.extend)==null?void 0:Bl.cpSpd),1)])]),EA,e.createElementVNode("div",yA,[e.createElementVNode("div",NA,[e.createElementVNode("div",null,e.toDisplayString((Al=(wl=t.report)==null?void 0:wl.extend)==null?void 0:Al.cpDgoCons),1),VA,fA])]),bA,e.createElementVNode("div",gA,e.toDisplayString((Ol=(Fl=(Tl=t.report)==null?void 0:Tl.consAnalysis)==null?void 0:Fl.dgo)==null?void 0:Ol.sailingCons)+" (mt)",1)]),e.createElementVNode("div",xA,[kA,e.createElementVNode("div",DA,e.toDisplayString((Wl=(Ll=(Pl=t.report)==null?void 0:Pl.consAnalysis)==null?void 0:Ll.dgo)==null?void 0:Wl.sailingCons),1),CA,e.createElementVNode("div",SA,e.toDisplayString(n.computeNum((Ml=(Hl=($l=t.report)==null?void 0:$l.consAnalysis)==null?void 0:Hl.dgo)==null?void 0:Ml.portCons)),1),BA,e.createElementVNode("div",wA,e.toDisplayString((Rl=(Gl=(Il=t.report)==null?void 0:Il.consAnalysis)==null?void 0:Gl.dgo)==null?void 0:Rl.totalExtraCons)+" (mt)",1)])])):(e.openBlock(),e.createElementBlock("div",AA,[e.createElementVNode("div",TA,[FA,OA,e.createElementVNode("div",PA,[e.createElementVNode("div",LA,[WA,$A,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",HA,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",MA,"CP Speed"))])]),IA,e.createElementVNode("div",GA,[e.createElementVNode("div",RA,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",zA,"CP Daily FO Consumption + About")):(e.openBlock(),e.createElementBlock("div",UA,"CP Daily FO Consumption")),YA,ZA])]),QA,e.createElementVNode("div",JA,[e.createElementVNode("div",KA,[e.createElementVNode("div",null,e.toDisplayString((zl=t.report)==null?void 0:zl.priorDist),1),jA,e.createElementVNode("div",null,e.toDisplayString((Yl=(Ul=t.report)==null?void 0:Ul.extend)==null?void 0:Yl.cpSpd),1)])]),XA,e.createElementVNode("div",qA,[e.createElementVNode("div",uA,[e.createElementVNode("div",null,e.toDisplayString((Ql=(Zl=t.report)==null?void 0:Zl.extend)==null?void 0:Ql.cpFoCons),1),vA,eT])]),tT,e.createElementVNode("div",oT,e.toDisplayString((jl=(Kl=(Jl=t.report)==null?void 0:Jl.consAnalysis)==null?void 0:Kl.fo)==null?void 0:jl.sailingCons)+" (mt)",1)]),e.createElementVNode("div",lT,[aT,e.createElementVNode("div",nT,e.toDisplayString((ul=(ql=(Xl=t.report)==null?void 0:Xl.consAnalysis)==null?void 0:ql.fo)==null?void 0:ul.actualCons),1),sT,e.createElementVNode("div",cT,e.toDisplayString(n.computeNum((ta=(ea=(vl=t.report)==null?void 0:vl.consAnalysis)==null?void 0:ea.fo)==null?void 0:ta.sailingCons)),1),iT,e.createElementVNode("div",dT,e.toDisplayString((aa=(la=(oa=t.report)==null?void 0:oa.consAnalysis)==null?void 0:la.fo)==null?void 0:aa.totalExtraCons)+" (mt)",1)]),e.createElementVNode("div",rT,[mT,pT,e.createElementVNode("div",hT,[e.createElementVNode("div",_T,[ET,yT,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",NT,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",VT,"CP Speed"))])]),fT,e.createElementVNode("div",bT,[e.createElementVNode("div",gT,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",xT,"CP Daily MGO Consumption + About")):(e.openBlock(),e.createElementBlock("div",kT,"CP Daily MGO Consumption")),DT,CT])]),ST,e.createElementVNode("div",BT,[e.createElementVNode("div",wT,[e.createElementVNode("div",null,e.toDisplayString((na=t.report)==null?void 0:na.priorDist),1),AT,e.createElementVNode("div",null,e.toDisplayString((ca=(sa=t.report)==null?void 0:sa.extend)==null?void 0:ca.cpSpd),1)])]),TT,e.createElementVNode("div",FT,[e.createElementVNode("div",OT,[e.createElementVNode("div",null,e.toDisplayString((da=(ia=t.report)==null?void 0:ia.extend)==null?void 0:da.cpDgoCons),1),PT,LT])]),WT,e.createElementVNode("div",$T,e.toDisplayString((pa=(ma=(ra=t.report)==null?void 0:ra.consAnalysis)==null?void 0:ma.dgo)==null?void 0:pa.sailingCons)+" (mt)",1)]),e.createElementVNode("div",HT,[MT,e.createElementVNode("div",IT,e.toDisplayString((Ea=(_a=(ha=t.report)==null?void 0:ha.consAnalysis)==null?void 0:_a.dgo)==null?void 0:Ea.actualCons),1),GT,e.createElementVNode("div",RT,e.toDisplayString((Va=(Na=(ya=t.report)==null?void 0:ya.consAnalysis)==null?void 0:Na.dgo)==null?void 0:Va.sailingCons),1),zT,e.createElementVNode("div",UT,e.toDisplayString((ga=(ba=(fa=t.report)==null?void 0:fa.consAnalysis)==null?void 0:ba.dgo)==null?void 0:ga.totalExtraCons)+" (mt)",1)])]))])]),e.createElementVNode("div",YT,[ZT,e.createElementVNode("div",QT,[e.createElementVNode("img",{style:{width:"100%"},src:(xa=t.report)==null?void 0:xa.chartUrl,alt:""},null,8,JT),KT])])])])}const rn=Ce(j8,[["render",jT],["__scopeId","data-v-5e7b1250"]]),eZ="",XT={name:"FliDvtRpt",components:{CirclePlus:Oa.CirclePlus,Remove:Oa.Remove,EditableItem:dn,Editor:Go},props:{data:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{extraData:void 0,logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBFpFvBonCYK2EwwGdyKc94I0SgAfI4wbhdFZJoART1UAK4Bf38vK/Jsz5yRb+8b0GhfKzsNsPKOenyo3Wb7J7jEccCDZNWXIgEoWCQKDdCTfmJc/ELl8k+M2dZzUS1vYt5qUXI0CHWCrDpFgFQVJYFnem1CLvDSBe/pDbAdAOAdAXwNBJvKAQfUdLYw7qdzSy+AuZKp6tyGBukZ9tQxte0j/977dKcAVpfDnziFScLj4CklVkXb1KO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p9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},computed:{computeColor(){return function(o){return o>0?"fail":o<0?"success":""}},computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return o?`${j(o).utc().format(s)}`:"-"}},computedLngLat(){return function(o,s){const t=ae.LngLatHelper.lat2pretty(o).pretty,r=ae.LngLatHelper.lng2pretty(s).pretty;return`${t} / ${r}`}},computeNum(){return function(o){return o||o==0?o<0?`(${o})`:o:"—"}}},watch:{data:{handler(o){o&&((o==null?void 0:o.method)==="DistExtrapolate"?this.isDistExtra=!0:this.isDistExtra=!1,this.fetchData(),this.fetchSuggestName())},immediate:!0}},methods:{fetchData(){var o,s,t,r;this.extraData=this.data,this.extraPortList=(o=this.data)!=null&&o.extraPorts?(s=this.data)==null?void 0:s.extraPorts:[],this.advisory=(t=this.data)!=null&&t.comments?(r=this.data)==null?void 0:r.comments:void 0,this.id=this.data.id},async fetchSuggestName(o){var t;const s=await Fa.get(`${this.gateway}/api/arc/ports/suggest?n=${o}`,{headers:{Authorization:this.token}});this.portList=(t=s==null?void 0:s.data)==null?void 0:t.data},handleAdd(){const o={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(o)},async handleRemove(o){var t,r,a,n,E;this.extraPortList.splice(o,1);const s=await Fa.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(t=s==null?void 0:s.data)==null?void 0:t.data,this.extraPortList=(a=(r=s==null?void 0:s.data)==null?void 0:r.data)==null?void 0:a.extraPorts,this.advisory=(n=this.data)!=null&&n.comments?(E=this.data)==null?void 0:E.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(o,s,t,r){var E,c,p,b,g;this.editable=!1;const a=s.indexOf(".");let n={};if((t||t==0)&&t!=""){if(o==="port"){if(a>0){const N=s.substring(0,a),D=s.substring(a+1);D!=="date"&&(t=Number(t)),this.extraPortList[r][N][D]=t}else this.extraPortList[r][s]=t;n={extraPorts:this.extraPortList}}else o==="comments"?(this.extraData[s]=t,n={[s]:t}):(this.extraData[s]=t,n={[s]:Number(t)});const h=await Fa.put(`${this.gateway}/api/als/deviations/${this.id}`,n,{headers:{Authorization:this.token}});this.extraData=(E=h==null?void 0:h.data)==null?void 0:E.data,this.extraPortList=(p=(c=h==null?void 0:h.data)==null?void 0:c.data)==null?void 0:p.extraPorts,this.advisory=(b=this.data)!=null&&b.comments?(g=this.data)==null?void 0:g.comments:void 0}else ua.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},V=o=>(e.pushScopeId("data-v-eba493df"),o=o(),e.popScopeId(),o),qT={class:"deviation-report"},uT=V(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),vT={class:"report-header"},eF={class:"header-title",style:{position:"relative !important"}},tF={class:"header-title-content"},oF=V(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),lF={class:"title-date"},aF={class:"report-summary"},nF={class:"summary-item"},sF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),cF={class:"flexL gray"},iF={class:"summary-item"},dF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),rF={class:"flexL gray"},mF={class:"summary-item"},pF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),hF={class:"flexL gray"},_F={class:"summary-item"},EF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),yF={class:"flexL gray"},NF={class:"summary-item"},VF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),fF={class:"flexL gray",style:{display:"flex"}},bF={class:"flex"},gF={class:"flexM"},xF={class:"summary-item"},kF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),DF={class:"flexL gray",style:{display:"flex"}},CF={class:"flex"},SF={class:"flexM"},BF=V(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),wF={class:"report-summary"},AF={class:"summary-item"},TF=V(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),FF={class:"summary-item"},OF=V(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),PF={class:"summary-item"},LF=V(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),WF={class:"summary-item"},$F=V(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),HF=V(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),MF={class:"report-map"},IF=["src"],GF=e.createStaticVNode('<div class="legend" data-v-eba493df><div class="legend-item" data-v-eba493df><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-eba493df></div><div data-v-eba493df>Actual Route</div></div><div class="legend-item" data-v-eba493df><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-eba493df></div><div data-v-eba493df>Route prior to deviation</div></div></div>',1),RF=V(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),zF={key:0,class:"subtitle"},UF={key:1,class:"report-summary"},YF=e.createStaticVNode('<div class="summary-item" data-v-eba493df><div class="blue center" style="width:16%;" data-v-eba493df>Diversion</div><div class="blue center" style="width:20%;" data-v-eba493df>Position</div><div class="blue center" style="width:17%;" data-v-eba493df>Date Time</div><div class="flex blue center" data-v-eba493df>FO BROB<br data-v-eba493df>(mt)</div><div class="flex blue center" data-v-eba493df>DO/GO<br data-v-eba493df>BROB (mt)</div><div class="flex blue center" data-v-eba493df>Bunkering<br data-v-eba493df>FO (mt)</div><div class="flex blue center" data-v-eba493df>Bunkering<br data-v-eba493df>DO/GO (mt)</div></div>',1),ZF={class:"summary-item"},QF=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),JF={class:"blue center",style:{width:"20%"}},KF={class:"blue center",style:{width:"17%"}},jF={class:"flex blue center"},XF={class:"flex blue center"},qF=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),uF=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),vF={class:"summary-item"},eO=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),tO={class:"blue center",style:{width:"20%"}},oO={class:"blue center",style:{width:"17%"}},lO={class:"flex blue center"},aO={class:"flex blue center"},nO={class:"flex blue center"},sO={class:"flex blue center"},cO={class:"summary-item"},iO=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),dO=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),rO={class:"blue center",style:{width:"17%"}},mO={class:"flex blue center"},pO={class:"flex blue center"},hO=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),_O=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),EO=V(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),yO={class:"report-summary"},NO={class:"summary-item"},VO=V(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),fO={class:"flexL blue center"},bO={class:"summary-item"},gO=V(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),xO={class:"flexL blue center"},kO={class:"summary-item"},DO=V(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),CO={class:"flexL blue center"},SO={class:"subtitle port"},BO=V(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),wO={class:"print-hidden"},AO={class:"report-port"},TO=V(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Extra Port"),e.createElementVNode("th",null,"Event"),e.createElementVNode("th",null,"Date Time"),e.createElementVNode("th",null,"FO BROB(mt)"),e.createElementVNode("th",null,[e.createTextVNode("DO/GO"),e.createElementVNode("br"),e.createTextVNode("BROB(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("FO(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("DO/GO(mt)")]),e.createElementVNode("th",{class:"print-hidden"})])],-1)),FO={rowspan:2},OO=V(()=>e.createElementVNode("td",null,"Arrival",-1)),PO=V(()=>e.createElementVNode("td",null,null,-1)),LO=V(()=>e.createElementVNode("td",null,null,-1)),WO={rowspan:2,class:"print-hidden"},$O=V(()=>e.createElementVNode("td",null,"Departure",-1)),HO=V(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),MO=V(()=>e.createElementVNode("td",null,null,-1)),IO=V(()=>e.createElementVNode("td",null,null,-1)),GO=V(()=>e.createElementVNode("td",null,null,-1)),RO=V(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),zO=V(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),UO={class:"report-summary"},YO=V(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"30%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Route prior to deviation")],-1)),ZO={class:"summary-item"},QO=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),JO={class:"flex blue center"},KO={class:"flex blue center"},jO={class:"summary-item"},XO=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),qO={class:"flex blue center"},uO=V(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),vO={key:2,class:"report-formular"},eP={class:"equation"},tP=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-eba493df>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-eba493df>=</div><div class="function" style="width:20%;" data-v-eba493df><div data-v-eba493df>Deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:5%;" data-v-eba493df>=</div>',4),oP={class:"function",style:{width:"20%"}},lP=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),aP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),nP={style:{width:"10%"}},sP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),cP={class:"equation"},iP=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-eba493df>Total extra Time (hrs)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:28%;" data-v-eba493df>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-eba493df>+</div><div style="width:23%;" data-v-eba493df>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-eba493df>=</div>',6),dP={style:{width:"5%"}},rP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),mP={style:{width:"8%"}},pP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),hP={style:{width:"4%"}},_P=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),EP={key:3,class:"report-formular"},yP={class:"equation"},NP=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-eba493df>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-eba493df>=</div><div class="function" style="width:20%;" data-v-eba493df><div data-v-eba493df>Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:5%;" data-v-eba493df>=</div>',4),VP={class:"function",style:{width:"20%"}},fP=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),bP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),gP={style:{width:"10%"}},xP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),kP={key:0,class:"equation"},DP=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-eba493df>Total extra Time (hrs)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:24%;" data-v-eba493df>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-eba493df>-</div><div style="width:30%;" data-v-eba493df>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-eba493df>=</div>',6),CP={style:{width:"5%"}},SP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),BP={style:{width:"5%"}},wP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),AP={style:{width:"5%"}},TP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),FP={key:1,class:"equation"},OP=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-eba493df>Total extra Time (hrs)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:24%;" data-v-eba493df>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-eba493df>-</div><div style="width:20%;" data-v-eba493df>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-eba493df>-</div><div style="width:10%;" data-v-eba493df>Time spent in port (hrs)</div><div style="width:2%;" data-v-eba493df>=</div>',8),PP={style:{width:"5%"}},LP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),WP={style:{width:"5%"}},$P=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),HP={style:{width:"5%"}},MP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),IP={style:{width:"5%"}},GP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),RP={key:4,class:"report-summary"},zP={class:"summary-item"},UP=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),YP={class:"flex blue center"},ZP={class:"summary-item"},QP=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),JP={class:"flex blue center"},KP={class:"summary-item"},jP=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),XP={class:"flex blue center"},qP={key:5,class:"report-summary"},uP={class:"summary-item"},vP=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),eL={class:"flex blue center"},tL={class:"summary-item"},oL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),lL={class:"flex blue center"},aL={key:0,class:"summary-item"},nL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),sL={class:"flex blue center"},cL={class:"summary-item"},iL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),dL={class:"flex blue center"},rL=V(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),mL={key:6,class:"report-formular"},pL={class:"equation"},hL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-eba493df>=</div><div class="function" style="width:30%;" data-v-eba493df><div data-v-eba493df>Deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:3%;" data-v-eba493df>×</div><div class="function" style="width:23%;" data-v-eba493df><div data-v-eba493df>Daily FO Consumption</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>24</div></div><div style="width:3%;" data-v-eba493df>=</div>',6),_L={class:"function",style:{width:"5%"}},EL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),yL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),NL={class:"function",style:{width:"5%"}},VL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),fL=V(()=>e.createElementVNode("div",null,"24",-1)),bL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),gL={style:{width:"5%"}},xL=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),kL={class:"equation"},DL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:30%;" data-v-eba493df>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-eba493df>+</div><div style="width:23%;" data-v-eba493df>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-eba493df>=</div>',6),CL={style:{width:"5%"}},SL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),BL={style:{width:"5%"}},wL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),AL={style:{width:"5%"}},TL=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),FL={class:"equation"},OL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-eba493df>=</div><div class="function" style="width:30%;" data-v-eba493df><div data-v-eba493df>Deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:3%;" data-v-eba493df>×</div><div class="function" style="width:23%;" data-v-eba493df><div data-v-eba493df>Daily DO Consumption</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>24</div></div><div style="width:3%;" data-v-eba493df>=</div>',6),PL={class:"function",style:{width:"5%"}},LL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),WL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),$L={class:"function",style:{width:"5%"}},HL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ML=V(()=>e.createElementVNode("div",null,"24",-1)),IL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),GL={style:{width:"5%"}},RL=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),zL={class:"equation"},UL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:30%;" data-v-eba493df>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:23%;" data-v-eba493df>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-eba493df>=</div>',6),YL={style:{width:"5%"}},ZL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),QL={style:{width:"5%"}},JL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),KL={style:{width:"5%"}},jL=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),XL={key:7,class:"report-formular"},qL={class:"equation"},uL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-eba493df>=</div><div class="function" style="width:30%;" data-v-eba493df><div data-v-eba493df>Route prior to deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:3%;" data-v-eba493df>×</div><div class="function" style="width:23%;" data-v-eba493df><div data-v-eba493df>CP Daily FO Consumption</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>24</div></div><div style="width:3%;" data-v-eba493df>=</div>',6),vL={class:"function",style:{width:"5%"}},eW=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),oW={class:"function",style:{width:"5%"}},lW=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),aW=V(()=>e.createElementVNode("div",null,"24",-1)),nW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),sW={style:{width:"5%"}},cW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),iW={class:"equation"},dW=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-eba493df>=</div><div class="function" style="width:30%;" data-v-eba493df><div data-v-eba493df>Route prior to deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:3%;" data-v-eba493df>×</div><div class="function" style="width:23%;" data-v-eba493df><div data-v-eba493df>CP Daily DO Consumption</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>24</div></div><div style="width:3%;" data-v-eba493df>=</div>',6),rW={class:"function",style:{width:"5%"}},mW=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),pW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),hW={class:"function",style:{width:"5%"}},_W=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),EW=V(()=>e.createElementVNode("div",null,"24",-1)),yW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),NW={style:{width:"5%"}},VW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),fW={key:0,class:"equation"},bW=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:30%;" data-v-eba493df>FO Consumption for Actual Route</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:23%;" data-v-eba493df>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-eba493df>=</div>',6),gW={style:{width:"5%"}},xW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),kW={style:{width:"5%"}},DW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),CW={style:{width:"5%"}},SW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),BW={key:1,class:"equation"},wW=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-eba493df>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:15%;" data-v-eba493df>FO Consumption for Actual Route</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:20%;" data-v-eba493df>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:10%;" data-v-eba493df>FO Consumption in port</div><div style="width:3%;" data-v-eba493df>=</div>',8),AW={style:{width:"5%"}},TW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),FW={style:{width:"5%"}},OW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),PW={style:{width:"5%"}},LW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),WW={style:{width:"5%"}},$W=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),HW={key:2,class:"equation"},MW=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:30%;" data-v-eba493df>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:23%;" data-v-eba493df>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-eba493df>=</div>',6),IW={style:{width:"5%"}},GW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),RW={style:{width:"5%"}},zW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),UW={style:{width:"5%"}},YW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),ZW={key:3,class:"equation"},QW=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-eba493df>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:15%;" data-v-eba493df>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:20%;" data-v-eba493df>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:10%;" data-v-eba493df>DO/GO Consumption in port</div><div style="width:3%;" data-v-eba493df>=</div>',8),JW={style:{width:"5%"}},KW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),jW={style:{width:"5%"}},XW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),qW={style:{width:"5%"}},uW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),vW={style:{width:"5%"}},e$=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),t$={key:8,class:"report-summary"},o$=V(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),l$={class:"summary-item"},a$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),n$={class:"flex blue center"},s$={class:"flex blue center"},c$={class:"summary-item"},i$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),d$={class:"flex blue center"},r$={class:"flex blue center"},m$={class:"summary-item"},p$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),h$={key:9,class:"report-summary"},_$=V(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),E$={class:"summary-item"},y$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),N$={class:"flex blue center"},V$={class:"flex blue center"},f$={class:"summary-item"},b$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),g$={class:"flex blue center"},x$={class:"flex blue center"},k$={key:0,class:"summary-item"},D$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),C$={class:"flex blue center"},S$={class:"flex blue center"},B$={class:"summary-item"},w$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),A$=["innerHTML"];function T$(o,s,t,r,a,n){var h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,X,v,ee,te,oe,le,ce,ie,de,_e,q,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,Ke,je,Xe,A,Se,Ge,qe,ue,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo,S,Ie,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,Xt,qt,ut,vt,eo,to,oo,lo,yo,No,Vo,fo,bo,go,xo,ko,Do,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Ro,zo,Uo,Yo,Zo,Qo,Jo,Ko,jo,Xo,qo,uo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl,st,pl,El,yl,Nl,Vl,fl,bl,gl,xl,kl,Dl,Cl,Sl,Bl,wl,Al,Tl,Fl,Ol,Pl,Ll,Wl,$l,Hl,Ml,Il,Gl,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,jl,Xl,ql,ul,vl,ea,ta,oa,la,aa,na,sa,ca,ia,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ba,ga,xa,Z,ao,ka,Da,Ca,Sa,Ba,wa,Aa,Ta,Qe,Ha,Ma,Ia,Ga;const E=e.resolveComponent("EditableItem"),c=e.resolveComponent("CirclePlus"),p=e.resolveComponent("ElIcon"),b=e.resolveComponent("Remove"),g=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",qT,[uT,e.createElementVNode("div",vT,[e.createElementVNode("div",eF,[e.createElementVNode("div",tF,[oF,e.createElementVNode("div",lF,e.toDisplayString(n.computeUTCTime((h=a.extraData)==null?void 0:h.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",aF,[e.createElementVNode("div",nF,[sF,e.createElementVNode("div",cF,e.toDisplayString((D=(N=a.extraData)==null?void 0:N.vessel)==null?void 0:D.name),1)]),e.createElementVNode("div",iF,[dF,e.createElementVNode("div",rF,e.toDisplayString((x=a.extraData)==null?void 0:x.preparedFor),1)]),e.createElementVNode("div",mF,[pF,e.createElementVNode("div",hF,e.toDisplayString((k=(C=a.extraData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("div",_F,[EF,e.createElementVNode("div",yF,e.toDisplayString((F=(T=a.extraData)==null?void 0:T.voyage)==null?void 0:F.number),1)]),e.createElementVNode("div",NF,[VF,e.createElementVNode("div",fF,[e.createElementVNode("span",bF,e.toDisplayString((w=(B=a.extraData)==null?void 0:B.departure)==null?void 0:w.name),1),e.createElementVNode("span",gF,e.toDisplayString(n.computeUTCTime(((O=(f=a.extraData)==null?void 0:f.departure)==null?void 0:O.atd)||((G=(I=a.extraData)==null?void 0:I.departure)==null?void 0:G.etd))),1)])]),e.createElementVNode("div",xF,[kF,e.createElementVNode("div",DF,[e.createElementVNode("span",CF,e.toDisplayString((z=(R=a.extraData)==null?void 0:R.arrival)==null?void 0:z.name),1),e.createElementVNode("span",SF,e.toDisplayString(n.computeUTCTime(((L=(_=a.extraData)==null?void 0:_.arrival)==null?void 0:L.ata)||((W=(H=a.extraData)==null?void 0:H.arrival)==null?void 0:W.eta))),1)])])]),BF,e.createElementVNode("div",wF,[e.createElementVNode("div",AF,[TF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=a.extraData)==null?void 0:P.extraDist)} flex blue`)},e.toDisplayString(((M=a.extraData)==null?void 0:M.extraDist)??"—"),3)]),e.createElementVNode("div",FF,[OF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((U=(Q=a.extraData)==null?void 0:Q.timeAnalysis)==null?void 0:U.totalExtraTime)} flex blue`)},e.toDisplayString(((ne=(J=a.extraData)==null?void 0:J.timeAnalysis)==null?void 0:ne.totalExtraTime)??"—"),3)]),e.createElementVNode("div",PF,[LF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((X=(l=(se=a.extraData)==null?void 0:se.consAnalysis)==null?void 0:l.fo)==null?void 0:X.totalExtraCons)} flex blue`)},e.toDisplayString(((te=(ee=(v=a.extraData)==null?void 0:v.consAnalysis)==null?void 0:ee.fo)==null?void 0:te.totalExtraCons)??"—"),3)]),e.createElementVNode("div",WF,[$F,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ce=(le=(oe=a.extraData)==null?void 0:oe.consAnalysis)==null?void 0:le.dgo)==null?void 0:ce.totalExtraCons)} flex blue`)},e.toDisplayString(((_e=(de=(ie=a.extraData)==null?void 0:ie.consAnalysis)==null?void 0:de.dgo)==null?void 0:_e.totalExtraCons)??"—"),3)])]),HF,e.createElementVNode("div",MF,[e.createElementVNode("img",{style:{width:"100%"},src:(q=a.extraData)==null?void 0:q.chartUrl,alt:""},null,8,IF),GF]),RF,o.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",zF,"Diversion Information")),o.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",UF,[YF,e.createElementVNode("div",ZF,[QF,e.createElementVNode("div",JF,e.toDisplayString(n.computedLngLat((me=a.extraData)==null?void 0:me.startLng,(Ee=a.extraData)==null?void 0:Ee.startLat)),1),e.createElementVNode("div",KF,e.toDisplayString(n.computeUTCTime((ye=a.extraData)==null?void 0:ye.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",jF,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(re=a.extraData)==null?void 0:re.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[0]||(s[0]=K=>n.handleCommit("extra","startFoBrob",K))},null,8,["value"])]),e.createElementVNode("div",XF,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(fe=a.extraData)==null?void 0:fe.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[1]||(s[1]=K=>n.handleCommit("extra","startDgoBrob",K))},null,8,["value"])]),qF,uF]),e.createElementVNode("div",vF,[eO,e.createElementVNode("div",tO,e.toDisplayString(n.computedLngLat((be=a.extraData)==null?void 0:be.endLng,(ge=a.extraData)==null?void 0:ge.endLat)),1),e.createElementVNode("div",oO,e.toDisplayString(n.computeUTCTime((xe=a.extraData)==null?void 0:xe.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",lO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(ke=a.extraData)==null?void 0:ke.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[2]||(s[2]=K=>n.handleCommit("extra","endFoBrob",K))},null,8,["value"])]),e.createElementVNode("div",aO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(De=a.extraData)==null?void 0:De.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=K=>n.handleCommit("extra","endDgoBrob",K))},null,8,["value"])]),e.createElementVNode("div",nO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Te=a.extraData)==null?void 0:Te.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=K=>n.handleCommit("extra","endFoBunkering",K))},null,8,["value"])]),e.createElementVNode("div",sO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Fe=a.extraData)==null?void 0:Fe.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=K=>n.handleCommit("extra","endDgoBunkering",K))},null,8,["value"])])]),e.createElementVNode("div",cO,[iO,dO,e.createElementVNode("div",rO,e.toDisplayString(((Pe=(Oe=a.extraData)==null?void 0:Oe.timeAnalysis)==null?void 0:Pe.actualTime)??"—"),1),e.createElementVNode("div",mO,e.toDisplayString((($e=(We=(Le=a.extraData)==null?void 0:Le.consAnalysis)==null?void 0:We.fo)==null?void 0:$e.actualCons)??"—"),1),e.createElementVNode("div",pO,e.toDisplayString(((Ke=(Ne=(He=a.extraData)==null?void 0:He.consAnalysis)==null?void 0:Ne.dgo)==null?void 0:Ke.actualCons)??"—"),1),hO,_O])])),EO,e.createElementVNode("div",yO,[e.createElementVNode("div",NO,[VO,e.createElementVNode("div",fO,e.toDisplayString(((Xe=(je=a.extraData)==null?void 0:je.cp)==null?void 0:Xe.speed)??"—"),1)]),e.createElementVNode("div",bO,[gO,e.createElementVNode("div",xO,e.toDisplayString(((Se=(A=a.extraData)==null?void 0:A.cp)==null?void 0:Se.fo)??"—"),1)]),e.createElementVNode("div",kO,[DO,e.createElementVNode("div",CO,e.toDisplayString(((qe=(Ge=a.extraData)==null?void 0:Ge.cp)==null?void 0:qe.dgo)??"—"),1)])]),e.createElementVNode("div",SO,[BO,e.createElementVNode("div",wO,[e.createVNode(p,{size:20,onClick:n.handleAdd},{default:e.withCtx(()=>[e.createVNode(c)]),_:1},8,["onClick"])])]),e.createElementVNode("div",AO,[e.createElementVNode("table",null,[TO,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.extraPortList,(K,Mo)=>{var Ra,za,Ua,Ya,Za,Qa,Ja,Ka;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Mo},[e.createElementVNode("tr",null,[e.createElementVNode("td",FO,[e.createVNode(E,{class:"editable-item",value:K==null?void 0:K.name,type:"remotePortSelect",size:"small",align:"center",options:a.portList,onSelect:n.fetchSuggestName,onCommit:ct=>n.handleCommit("port","name",ct,Mo)},null,8,["value","options","onSelect","onCommit"])]),OO,e.createElementVNode("td",null,[e.createVNode(E,{class:"check editable-item",value:(Ra=K==null?void 0:K.arrival)==null?void 0:Ra.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:ct=>n.handleCommit("port","arrival.date",ct,Mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(za=K==null?void 0:K.arrival)==null?void 0:za.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","arrival.foBrob",ct,Mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ua=K==null?void 0:K.arrival)==null?void 0:Ua.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","arrival.dgoBrob",ct,Mo)},null,8,["value","onCommit"])]),PO,LO,e.createElementVNode("td",WO,[e.createVNode(p,{size:20,onClick:ct=>n.handleRemove(Mo)},{default:e.withCtx(()=>[e.createVNode(b)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[$O,e.createElementVNode("td",null,[e.createVNode(E,{class:"check editable-item",value:(Ya=K==null?void 0:K.departure)==null?void 0:Ya.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:ct=>n.handleCommit("port","departure.date",ct,Mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Za=K==null?void 0:K.departure)==null?void 0:Za.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","departure.foBrob",ct,Mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Qa=K==null?void 0:K.departure)==null?void 0:Qa.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","departure.dgoBrob",ct,Mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ja=K==null?void 0:K.departure)==null?void 0:Ja.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","departure.bunkeringFo",ct,Mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ka=K==null?void 0:K.departure)==null?void 0:Ka.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","departure.bunkeringDgo",ct,Mo)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[HO,MO,e.createElementVNode("td",null,e.toDisplayString(((ve=(ue=a.extraData)==null?void 0:ue.timeAnalysis)==null?void 0:ve.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(tt=(et=a.extraData)==null?void 0:et.consAnalysis)==null?void 0:tt.fo)==null?void 0:m.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Me=(Be=($=a.extraData)==null?void 0:$.consAnalysis)==null?void 0:Be.dgo)==null?void 0:Me.portCons)??"—"),1),IO,GO,RO])])])]),zO,e.createElementVNode("div",UO,[YO,e.createElementVNode("div",ZO,[QO,e.createElementVNode("div",JO,[e.createVNode(E,{class:"editable-item",style:{padding:"0px"},value:(Re=a.extraData)==null?void 0:Re.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=K=>n.handleCommit("extraData","actualDist",K,o.index))},null,8,["value"])]),e.createElementVNode("div",KO,[e.createVNode(E,{class:"editable-item",style:{padding:"0px"},value:(pe=a.extraData)==null?void 0:pe.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=K=>n.handleCommit("extraData","priorDist",K,o.index))},null,8,["value"])])]),e.createElementVNode("div",jO,[XO,e.createElementVNode("div",qO,e.toDisplayString(((Ue=a.extraData)==null?void 0:Ue.extraDist)??"—"),1)])]),uO,o.isDistExtra?(e.openBlock(),e.createElementBlock("div",vO,[e.createElementVNode("div",eP,[tP,e.createElementVNode("div",oP,[e.createElementVNode("div",null,e.toDisplayString((ot=a.extraData)==null?void 0:ot.extraDist),1),lP,e.createElementVNode("div",null,e.toDisplayString((dt=(lt=a.extraData)==null?void 0:lt.cp)==null?void 0:dt.speed),1)]),aP,e.createElementVNode("div",nP,e.toDisplayString((mt=(rt=a.extraData)==null?void 0:rt.timeAnalysis)==null?void 0:mt.sailingTime),1),sP]),e.createElementVNode("div",cP,[iP,e.createElementVNode("div",dP,e.toDisplayString((_t=(pt=a.extraData)==null?void 0:pt.timeAnalysis)==null?void 0:_t.sailingTime),1),rP,e.createElementVNode("div",mP,e.toDisplayString(n.computeNum((yt=(Et=a.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:yt.portTime)),1),pP,e.createElementVNode("div",hP,e.toDisplayString((Vt=(Nt=a.extraData)==null?void 0:Nt.timeAnalysis)==null?void 0:Vt.totalExtraTime),1),_P])])):(e.openBlock(),e.createElementBlock("div",EP,[e.createElementVNode("div",yP,[NP,e.createElementVNode("div",VP,[e.createElementVNode("div",null,e.toDisplayString((ft=a.extraData)==null?void 0:ft.priorDist),1),fP,e.createElementVNode("div",null,e.toDisplayString((gt=(bt=a.extraData)==null?void 0:bt.cp)==null?void 0:gt.speed),1)]),bP,e.createElementVNode("div",gP,e.toDisplayString((kt=(xt=a.extraData)==null?void 0:xt.timeAnalysis)==null?void 0:kt.sailingTime),1),xP]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",kP,[DP,e.createElementVNode("div",CP,e.toDisplayString((Ct=(Dt=a.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:Ct.actualTime),1),SP,e.createElementVNode("div",BP,e.toDisplayString((Bt=(St=a.extraData)==null?void 0:St.timeAnalysis)==null?void 0:Bt.sailingTime),1),wP,e.createElementVNode("div",AP,e.toDisplayString((At=(wt=a.extraData)==null?void 0:wt.timeAnalysis)==null?void 0:At.totalExtraTime),1),TP])):(e.openBlock(),e.createElementBlock("div",FP,[OP,e.createElementVNode("div",PP,e.toDisplayString((Ft=(Tt=a.extraData)==null?void 0:Tt.timeAnalysis)==null?void 0:Ft.actualTime),1),LP,e.createElementVNode("div",WP,e.toDisplayString((Pt=(Ot=a.extraData)==null?void 0:Ot.timeAnalysis)==null?void 0:Pt.sailingTime),1),$P,e.createElementVNode("div",HP,e.toDisplayString((so=(no=a.extraData)==null?void 0:no.timeAnalysis)==null?void 0:so.portTime),1),MP,e.createElementVNode("div",IP,e.toDisplayString((io=(co=a.extraData)==null?void 0:co.timeAnalysis)==null?void 0:io.totalExtraTime),1),GP]))])),o.isDistExtra?(e.openBlock(),e.createElementBlock("div",RP,[e.createElementVNode("div",zP,[UP,e.createElementVNode("div",YP,e.toDisplayString(((mo=(ro=a.extraData)==null?void 0:ro.timeAnalysis)==null?void 0:mo.sailingTime)??"—"),1)]),e.createElementVNode("div",ZP,[QP,e.createElementVNode("div",JP,e.toDisplayString(((ho=(po=a.extraData)==null?void 0:po.timeAnalysis)==null?void 0:ho.portTime)??"—"),1)]),e.createElementVNode("div",KP,[jP,e.createElementVNode("div",XP,e.toDisplayString(((Eo=(_o=a.extraData)==null?void 0:_o.timeAnalysis)==null?void 0:Eo.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",qP,[e.createElementVNode("div",uP,[vP,e.createElementVNode("div",eL,e.toDisplayString((Ie=(S=a.extraData)==null?void 0:S.timeAnalysis)==null?void 0:Ie.sailingTime),1)]),e.createElementVNode("div",tL,[oL,e.createElementVNode("div",lL,e.toDisplayString((nt=(at=a.extraData)==null?void 0:at.timeAnalysis)==null?void 0:nt.actualTime),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",aL,[nL,e.createElementVNode("div",sL,e.toDisplayString(((Lt=(ht=a.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:Lt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",cL,[iL,e.createElementVNode("div",dL,e.toDisplayString(($t=(Wt=a.extraData)==null?void 0:Wt.timeAnalysis)==null?void 0:$t.totalExtraTime),1)])])),rL,o.isDistExtra?(e.openBlock(),e.createElementBlock("div",mL,[e.createElementVNode("div",pL,[hL,e.createElementVNode("div",_L,[e.createElementVNode("div",null,e.toDisplayString((Ht=a.extraData)==null?void 0:Ht.extraDist),1),EL,e.createElementVNode("div",null,e.toDisplayString((It=(Mt=a.extraData)==null?void 0:Mt.cp)==null?void 0:It.speed),1)]),yL,e.createElementVNode("div",NL,[e.createElementVNode("div",null,e.toDisplayString((Rt=(Gt=a.extraData)==null?void 0:Gt.cp)==null?void 0:Rt.fo),1),VL,fL]),bL,e.createElementVNode("div",gL,e.toDisplayString((Yt=(Ut=(zt=a.extraData)==null?void 0:zt.consAnalysis)==null?void 0:Ut.fo)==null?void 0:Yt.sailingCons),1),xL]),e.createElementVNode("div",kL,[DL,e.createElementVNode("div",CL,e.toDisplayString((Jt=(Qt=(Zt=a.extraData)==null?void 0:Zt.consAnalysis)==null?void 0:Qt.fo)==null?void 0:Jt.sailingCons),1),SL,e.createElementVNode("div",BL,e.toDisplayString(n.computeNum((Xt=(jt=(Kt=a.extraData)==null?void 0:Kt.consAnalysis)==null?void 0:jt.fo)==null?void 0:Xt.portCons)),1),wL,e.createElementVNode("div",AL,e.toDisplayString((vt=(ut=(qt=a.extraData)==null?void 0:qt.consAnalysis)==null?void 0:ut.fo)==null?void 0:vt.totalExtraCons),1),TL]),e.createElementVNode("div",FL,[OL,e.createElementVNode("div",PL,[e.createElementVNode("div",null,e.toDisplayString((eo=a.extraData)==null?void 0:eo.extraDist),1),LL,e.createElementVNode("div",null,e.toDisplayString((oo=(to=a.extraData)==null?void 0:to.cp)==null?void 0:oo.speed),1)]),WL,e.createElementVNode("div",$L,[e.createElementVNode("div",null,e.toDisplayString((yo=(lo=a.extraData)==null?void 0:lo.cp)==null?void 0:yo.dgo),1),HL,ML]),IL,e.createElementVNode("div",GL,e.toDisplayString((fo=(Vo=(No=a.extraData)==null?void 0:No.consAnalysis)==null?void 0:Vo.dgo)==null?void 0:fo.sailingCons),1),RL]),e.createElementVNode("div",zL,[UL,e.createElementVNode("div",YL,e.toDisplayString((xo=(go=(bo=a.extraData)==null?void 0:bo.consAnalysis)==null?void 0:go.dgo)==null?void 0:xo.sailingCons),1),ZL,e.createElementVNode("div",QL,e.toDisplayString(n.computeNum((Co=(Do=(ko=a.extraData)==null?void 0:ko.consAnalysis)==null?void 0:Do.dgo)==null?void 0:Co.portCons)),1),JL,e.createElementVNode("div",KL,e.toDisplayString((wo=(Bo=(So=a.extraData)==null?void 0:So.consAnalysis)==null?void 0:Bo.dgo)==null?void 0:wo.totalExtraCons),1),jL])])):(e.openBlock(),e.createElementBlock("div",XL,[e.createElementVNode("div",qL,[uL,e.createElementVNode("div",vL,[e.createElementVNode("div",null,e.toDisplayString((Ao=a.extraData)==null?void 0:Ao.priorDist),1),eW,e.createElementVNode("div",null,e.toDisplayString((Fo=(To=a.extraData)==null?void 0:To.cp)==null?void 0:Fo.speed),1)]),tW,e.createElementVNode("div",oW,[e.createElementVNode("div",null,e.toDisplayString((Po=(Oo=a.extraData)==null?void 0:Oo.cp)==null?void 0:Po.fo),1),lW,aW]),nW,e.createElementVNode("div",sW,e.toDisplayString(($o=(Wo=(Lo=a.extraData)==null?void 0:Lo.consAnalysis)==null?void 0:Wo.fo)==null?void 0:$o.sailingCons),1),cW]),e.createElementVNode("div",iW,[dW,e.createElementVNode("div",rW,[e.createElementVNode("div",null,e.toDisplayString((Ho=a.extraData)==null?void 0:Ho.priorDist),1),mW,e.createElementVNode("div",null,e.toDisplayString((zo=(Ro=a.extraData)==null?void 0:Ro.cp)==null?void 0:zo.speed),1)]),pW,e.createElementVNode("div",hW,[e.createElementVNode("div",null,e.toDisplayString((Yo=(Uo=a.extraData)==null?void 0:Uo.cp)==null?void 0:Yo.dgo),1),_W,EW]),yW,e.createElementVNode("div",NW,e.toDisplayString((Jo=(Qo=(Zo=a.extraData)==null?void 0:Zo.consAnalysis)==null?void 0:Qo.dgo)==null?void 0:Jo.sailingCons),1),VW]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",fW,[bW,e.createElementVNode("div",gW,e.toDisplayString((Xo=(jo=(Ko=a.extraData)==null?void 0:Ko.consAnalysis)==null?void 0:jo.fo)==null?void 0:Xo.actualCons),1),xW,e.createElementVNode("div",kW,e.toDisplayString(n.computeNum((vo=(uo=(qo=a.extraData)==null?void 0:qo.consAnalysis)==null?void 0:uo.fo)==null?void 0:vo.sailingCons)),1),DW,e.createElementVNode("div",CW,e.toDisplayString((ol=(tl=(el=a.extraData)==null?void 0:el.consAnalysis)==null?void 0:tl.fo)==null?void 0:ol.totalExtraCons),1),SW])):(e.openBlock(),e.createElementBlock("div",BW,[wW,e.createElementVNode("div",AW,e.toDisplayString((nl=(al=(ll=a.extraData)==null?void 0:ll.consAnalysis)==null?void 0:al.fo)==null?void 0:nl.actualCons),1),TW,e.createElementVNode("div",FW,e.toDisplayString(n.computeNum((il=(cl=(sl=a.extraData)==null?void 0:sl.consAnalysis)==null?void 0:cl.fo)==null?void 0:il.sailingCons)),1),OW,e.createElementVNode("div",PW,e.toDisplayString(n.computeNum((st=(rl=(dl=a.extraData)==null?void 0:dl.consAnalysis)==null?void 0:rl.fo)==null?void 0:st.portCons)),1),LW,e.createElementVNode("div",WW,e.toDisplayString((yl=(El=(pl=a.extraData)==null?void 0:pl.consAnalysis)==null?void 0:El.fo)==null?void 0:yl.totalExtraCons),1),$W])),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",HW,[MW,e.createElementVNode("div",IW,e.toDisplayString((fl=(Vl=(Nl=a.extraData)==null?void 0:Nl.consAnalysis)==null?void 0:Vl.dgo)==null?void 0:fl.actualCons),1),GW,e.createElementVNode("div",RW,e.toDisplayString((xl=(gl=(bl=a.extraData)==null?void 0:bl.consAnalysis)==null?void 0:gl.dgo)==null?void 0:xl.sailingCons),1),zW,e.createElementVNode("div",UW,e.toDisplayString((Cl=(Dl=(kl=a.extraData)==null?void 0:kl.consAnalysis)==null?void 0:Dl.dgo)==null?void 0:Cl.totalExtraCons),1),YW])):(e.openBlock(),e.createElementBlock("div",ZW,[QW,e.createElementVNode("div",JW,e.toDisplayString((wl=(Bl=(Sl=a.extraData)==null?void 0:Sl.consAnalysis)==null?void 0:Bl.dgo)==null?void 0:wl.actualCons),1),KW,e.createElementVNode("div",jW,e.toDisplayString(n.computeNum((Fl=(Tl=(Al=a.extraData)==null?void 0:Al.consAnalysis)==null?void 0:Tl.dgo)==null?void 0:Fl.sailingCons)),1),XW,e.createElementVNode("div",qW,e.toDisplayString(n.computeNum((Ll=(Pl=(Ol=a.extraData)==null?void 0:Ol.consAnalysis)==null?void 0:Pl.dgo)==null?void 0:Ll.portCons)),1),uW,e.createElementVNode("div",vW,e.toDisplayString((Hl=($l=(Wl=a.extraData)==null?void 0:Wl.consAnalysis)==null?void 0:$l.dgo)==null?void 0:Hl.totalExtraCons),1),e$]))])),o.isDistExtra?(e.openBlock(),e.createElementBlock("div",t$,[o$,e.createElementVNode("div",l$,[a$,e.createElementVNode("div",n$,e.toDisplayString(((Gl=(Il=(Ml=a.extraData)==null?void 0:Ml.consAnalysis)==null?void 0:Il.fo)==null?void 0:Gl.sailingCons)??"—"),1),e.createElementVNode("div",s$,e.toDisplayString(((Ul=(zl=(Rl=a.extraData)==null?void 0:Rl.consAnalysis)==null?void 0:zl.dgo)==null?void 0:Ul.sailingCons)??"—"),1)]),e.createElementVNode("div",c$,[i$,e.createElementVNode("div",d$,e.toDisplayString(((Ql=(Zl=(Yl=a.extraData)==null?void 0:Yl.consAnalysis)==null?void 0:Zl.fo)==null?void 0:Ql.portCons)??"—"),1),e.createElementVNode("div",r$,e.toDisplayString(((jl=(Kl=(Jl=a.extraData)==null?void 0:Jl.consAnalysis)==null?void 0:Kl.dgo)==null?void 0:jl.portCons)??"—"),1)]),e.createElementVNode("div",m$,[p$,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ul=(ql=(Xl=a.extraData)==null?void 0:Xl.consAnalysis)==null?void 0:ql.fo)==null?void 0:ul.totalExtraCons)} flex blue center`)},e.toDisplayString(((ta=(ea=(vl=a.extraData)==null?void 0:vl.consAnalysis)==null?void 0:ea.fo)==null?void 0:ta.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((aa=(la=(oa=a.extraData)==null?void 0:oa.consAnalysis)==null?void 0:la.dgo)==null?void 0:aa.totalExtraCons)} flex blue center`)},e.toDisplayString(((ca=(sa=(na=a.extraData)==null?void 0:na.consAnalysis)==null?void 0:sa.dgo)==null?void 0:ca.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",h$,[_$,e.createElementVNode("div",E$,[y$,e.createElementVNode("div",N$,e.toDisplayString((ra=(da=(ia=a.extraData)==null?void 0:ia.consAnalysis)==null?void 0:da.fo)==null?void 0:ra.sailingCons),1),e.createElementVNode("div",V$,e.toDisplayString((ha=(pa=(ma=a.extraData)==null?void 0:ma.consAnalysis)==null?void 0:pa.dgo)==null?void 0:ha.sailingCons),1)]),e.createElementVNode("div",f$,[b$,e.createElementVNode("div",g$,e.toDisplayString((ya=(Ea=(_a=a.extraData)==null?void 0:_a.consAnalysis)==null?void 0:Ea.fo)==null?void 0:ya.actualCons),1),e.createElementVNode("div",x$,e.toDisplayString((fa=(Va=(Na=a.extraData)==null?void 0:Na.consAnalysis)==null?void 0:Va.dgo)==null?void 0:fa.actualCons),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",k$,[D$,e.createElementVNode("div",C$,e.toDisplayString((xa=(ga=(ba=a.extraData)==null?void 0:ba.consAnalysis)==null?void 0:ga.fo)==null?void 0:xa.portCons),1),e.createElementVNode("div",S$,e.toDisplayString((ka=(ao=(Z=a.extraData)==null?void 0:Z.consAnalysis)==null?void 0:ao.dgo)==null?void 0:ka.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",B$,[w$,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Sa=(Ca=(Da=a.extraData)==null?void 0:Da.consAnalysis)==null?void 0:Ca.fo)==null?void 0:Sa.totalExtraCons)} flex blue center`)},e.toDisplayString((Aa=(wa=(Ba=a.extraData)==null?void 0:Ba.consAnalysis)==null?void 0:wa.fo)==null?void 0:Aa.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Ha=(Qe=(Ta=a.extraData)==null?void 0:Ta.consAnalysis)==null?void 0:Qe.dgo)==null?void 0:Ha.totalExtraCons)} flex blue center`)},e.toDisplayString((Ga=(Ia=(Ma=a.extraData)==null?void 0:Ma.consAnalysis)==null?void 0:Ia.dgo)==null?void 0:Ga.totalExtraCons),3)])])),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[a.editable?(e.openBlock(),e.createBlock(g,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[8]||(s[8]=K=>a.advisory=K),height:"320px",onBlur:s[9]||(s[9]=K=>n.handleCommit("comments","comments",K))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[10]||(s[10]=(...K)=>n.decideDisable&&n.decideDisable(...K)),innerHTML:a.advisory&&a.advisory!=="<p><br></p>"?a.advisory:"Please double click to modify remark"},null,40,A$))],2)])}const mn=Ce(XT,[["render",T$],["__scopeId","data-v-eba493df"]]),F$={install(o){o.component("DeviationReport",rn),o.component("FliDeviationReport",mn)}},tZ="",O$={name:"OrmStoppage",components:{IdmBrand:Io,Editor:Go},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ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KimMjrk8zFcTFaFI/lcCieUHSE810Jr6Qv67F1NopHbJOzjBKpOkdilSIlShshpRXU+mluTCaS6NETkSaDqFEBDRBG6vMaNeTwbHIL0UOUJqQJS5FEQ3kI4uVrJEgq3AzTdNYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/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?`${j(o).utc().format(s)}`:""}},computeLat(){return function(o){return ae.LngLatHelper.lat2pretty(o,2)}},computeLng(){return function(o){return ae.LngLatHelper.lng2pretty(o,2)}},computeRoundPrecision(){return function(o,s=3){return o==="-"?"-":ae.LngLatHelper.roundPrecision(o,s)}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},methods:{handleCommit(o){this.editable=!1,this.remarks=o,this.$emit("commit",o)}}},Ae=o=>(e.pushScopeId("data-v-e829fef7"),o=o(),e.popScopeId(),o),P$={class:"stoppage-report"},L$={class:"content-box"},W$={class:"info-box border"},$$={class:"flex-between row"},H$={class:"flex-between",style:{width:"48%"}},M$=Ae(()=>e.createElementVNode("label",{class:"label"},"Prepared For:",-1)),I$={class:"flex-between",style:{width:"48%"}},G$=Ae(()=>e.createElementVNode("label",{class:"label"},"Departure Port:",-1)),R$={style:{"margin-left":"5px"}},z$={class:"flex-between row"},U$={class:"flex-between",style:{width:"48%"}},Y$=Ae(()=>e.createElementVNode("label",{class:"label"},"Vessel:",-1)),Z$={class:"flex-between",style:{width:"48%"}},Q$=Ae(()=>e.createElementVNode("label",{class:"label"},"Arrival Port:",-1)),J$={style:{"margin-left":"5px"}},K$={class:"flex-between row"},j$={class:"flex-between",style:{width:"48%"}},X$=Ae(()=>e.createElementVNode("label",{class:"label"},"Voyage No:",-1)),q$={class:"flex-between",style:{width:"48%"}},u$=Ae(()=>e.createElementVNode("label",{class:"label"},"Load Condition:",-1)),v$={class:"section summary-section"},eH=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Summary",-1)),tH={class:"formula-block flex-between border"},oH={class:"item"},lH=Ae(()=>e.createElementVNode("div",{class:"title"},"Total Time Lost",-1)),aH={class:"value flex-end"},nH={key:0},sH=Ae(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),cH={class:"gain"},iH=Ae(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),dH={key:1},rH=Ae(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),mH={class:"lost"},pH=Ae(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),hH={key:2},_H={class:"item"},EH=Ae(()=>e.createElementVNode("div",{class:"title"},"FO Total Consumption",-1)),yH={class:"value flex-end"},NH={key:0},VH=Ae(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),fH={class:"gain"},bH=Ae(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),gH={key:1},xH=Ae(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),kH={class:"lost"},DH=Ae(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),CH={key:2},SH={class:"item"},BH=Ae(()=>e.createElementVNode("div",{class:"title"},"MGO Total Consumption",-1)),wH={class:"value flex-end"},AH={key:0},TH=Ae(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),FH={class:"gain"},OH=Ae(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),PH={key:1},LH=Ae(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),WH={class:"lost"},$H=Ae(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),HH={key:2},MH=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Remarks",-1)),IH={class:"section-content"},GH={key:0,class:""},RH=["innerHTML"],zH={key:1},UH={class:"section table-section"},YH=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Stoppage Info",-1)),ZH=Ae(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:2,class:"label"},"NQ"),e.createElementVNode("th",{rowspan:2,class:"label"},"Activity"),e.createElementVNode("th",{rowspan:2,class:"label"},"Position"),e.createElementVNode("th",{rowspan:2,class:"label"},"Date"),e.createElementVNode("th",{colspan:2,class:"label"},"BROB (mt)"),e.createElementVNode("th",{rowspan:2,class:"label"},"Time Lost (hrs)"),e.createElementVNode("th",{colspan:2,class:"label"},"TTL CONS (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO")])],-1)),QH=Ae(()=>e.createElementVNode("td",{rowspan:2},"1",-1)),JH=Ae(()=>e.createElementVNode("td",null,"Stopped",-1)),KH={rowspan:2},jH={rowspan:2},XH={rowspan:2},qH=Ae(()=>e.createElementVNode("td",null,"Resumed",-1)),uH={class:"section map-section"},vH=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Voayge Map",-1)),eM=["src"];function tM(o,s,t,r,a,n){var p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,X,v,ee,te,oe,le,ce,ie,de,_e,q,me,Ee,ye;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",P$,[e.createVNode(E,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",L$,[e.createElementVNode("div",W$,[e.createElementVNode("div",$$,[e.createElementVNode("div",H$,[M$,e.createElementVNode("div",null,e.toDisplayString((p=t.report)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",I$,[G$,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((g=(b=t.report)==null?void 0:b.departure)==null?void 0:g.name),1),e.createTextVNode(" , "),e.createElementVNode("span",R$,e.toDisplayString(n.computeUTCTime(((N=(h=t.report)==null?void 0:h.departure)==null?void 0:N.atd)||((x=(D=t.report)==null?void 0:D.departure)==null?void 0:x.etd))),1)])])]),e.createElementVNode("div",z$,[e.createElementVNode("div",U$,[Y$,e.createElementVNode("div",null,e.toDisplayString((k=(C=t.report)==null?void 0:C.vessel)==null?void 0:k.name),1)]),e.createElementVNode("div",Z$,[Q$,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((F=(T=t.report)==null?void 0:T.arrival)==null?void 0:F.name),1),e.createTextVNode(" , "),e.createElementVNode("span",J$,e.toDisplayString(n.computeUTCTime(((w=(B=t.report)==null?void 0:B.arrival)==null?void 0:w.ata)||((O=(f=t.report)==null?void 0:f.arrival)==null?void 0:O.eta))),1)])])]),e.createElementVNode("div",K$,[e.createElementVNode("div",j$,[X$,e.createElementVNode("div",null,e.toDisplayString((G=(I=t.report)==null?void 0:I.voyage)==null?void 0:G.number),1)]),e.createElementVNode("div",q$,[u$,e.createElementVNode("div",null,e.toDisplayString((z=(R=t.report)==null?void 0:R.voyage)==null?void 0:z.loadCondition),1)])])]),e.createElementVNode("div",v$,[eH,e.createElementVNode("div",tH,[e.createElementVNode("div",oH,[lH,e.createElementVNode("div",aH,[((_=t.report)==null?void 0:_.totalTime)<0?(e.openBlock(),e.createElementBlock("div",nH,[sH,e.createElementVNode("span",cH,e.toDisplayString((L=t.report)==null?void 0:L.totalTime),1),iH])):((H=t.report)==null?void 0:H.totalTime)>=0?(e.openBlock(),e.createElementBlock("div",dH,[rH,e.createElementVNode("span",mH,e.toDisplayString((W=t.report)==null?void 0:W.totalTime),1),pH])):(e.openBlock(),e.createElementBlock("div",hH,"N/A"))])]),e.createElementVNode("div",_H,[EH,e.createElementVNode("div",yH,[((P=t.report)==null?void 0:P.totalFoCons)<0?(e.openBlock(),e.createElementBlock("div",NH,[VH,e.createElementVNode("span",fH,e.toDisplayString((M=t.report)==null?void 0:M.totalFoCons),1),bH])):((Q=t.report)==null?void 0:Q.totalFoCons)>=0?(e.openBlock(),e.createElementBlock("div",gH,[xH,e.createElementVNode("span",kH,e.toDisplayString((U=t.report)==null?void 0:U.totalFoCons),1),DH])):(e.openBlock(),e.createElementBlock("div",CH,"N/A"))])]),e.createElementVNode("div",SH,[BH,e.createElementVNode("div",wH,[((J=t.report)==null?void 0:J.totalDgoCons)<0?(e.openBlock(),e.createElementBlock("div",AH,[TH,e.createElementVNode("span",FH,e.toDisplayString((ne=t.report)==null?void 0:ne.totalDgoCons),1),OH])):((se=t.report)==null?void 0:se.totalDgoCons)>=0?(e.openBlock(),e.createElementBlock("div",PH,[LH,e.createElementVNode("span",WH,e.toDisplayString((l=t.report)==null?void 0:l.totalDgoCons),1),$H])):(e.openBlock(),e.createElementBlock("div",HH,"N/A"))])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(a.remarks)?"print-hidden":""])},[MH,e.createElementVNode("div",IH,[a.editable?(e.openBlock(),e.createElementBlock("div",GH,[a.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=re=>a.remarks=re),class:"editor",height:"80px",onBlur:s[1]||(s[1]=re=>n.handleCommit(re))},null,8,["modelValue"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-block",onDblclick:s[2]||(s[2]=re=>a.editable=!0)},[n.computeBlankHtml(a.remarks)?(e.openBlock(),e.createElementBlock("div",zH,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:a.remarks},null,8,RH))],32))])],2),e.createElementVNode("div",UH,[YH,e.createElementVNode("table",null,[ZH,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[QH,JH,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((X=t.report)==null?void 0:X.stopLat).pretty)+" / "+e.toDisplayString(n.computeLng((v=t.report)==null?void 0:v.stopLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((ee=t.report)==null?void 0:ee.stopTime)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((te=t.report)==null?void 0:te.stopFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((oe=t.report)==null?void 0:oe.stopDgoBrob)??"-")),1),e.createElementVNode("td",KH,e.toDisplayString(n.computeRoundPrecision(((le=t.report)==null?void 0:le.totalTime)??"-")),1),e.createElementVNode("td",jH,e.toDisplayString(n.computeRoundPrecision(((ce=t.report)==null?void 0:ce.totalFoCons)??"-")),1),e.createElementVNode("td",XH,e.toDisplayString(n.computeRoundPrecision(((ie=t.report)==null?void 0:ie.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[qH,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((de=t.report)==null?void 0:de.resumeLat).pretty)+" / "+e.toDisplayString(n.computeLng((_e=t.report)==null?void 0:_e.resumeLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((q=t.report)==null?void 0:q.resumeTime)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((me=t.report)==null?void 0:me.resumeFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((Ee=t.report)==null?void 0:Ee.resumeDgoBrob)??"-")),1)])])])]),e.createElementVNode("div",uH,[vH,e.createElementVNode("img",{src:(ye=t.report)==null?void 0:ye.chartUrl,alt:""},null,8,eM)])])])}const pn=Ce(O$,[["render",tM],["__scopeId","data-v-e829fef7"]]),oM={install(o){o.component("StoppageReport",pn)}},oZ="",lM={name:"OrmComparison",components:{Editor:Go,IdmBrand:Io},props:{report:{type:Object,default:()=>({})}},emits:["commit","refresh"],data(){return{advisory:void 0,id:void 0,editable:!1}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm"){return o?`${j(o).utc().format(s)}Z`:"-"}},computeColor(){return function(o){return o>0?"fail":o<0?"success":""}},compareTime(){return function(o,s){return o&&s?ae.LngLatHelper.roundPrecision(o-s):"-"}},computeSummary(){return function(o,s){if(o===0)return"No difference";let t="";return o>0?s==="time"?t=`Lost ${o}hrs`:t=`Over consumption ${o}mt`:s==="time"?t=`Saving ${Math.abs(o)}hrs`:t=`Under consumption ${Math.abs(o)}mt`,t}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(){var o,s;(o=this.report)!=null&&o.id&&(this.advisory=((s=this.report)==null?void 0:s.comments)||"")},immediate:!0}},methods:{async handleCommit(o,s){this.editable=!1,this.advisory=s,this.$emit("commit",{key:o,value:s})}}},Ve=o=>(e.pushScopeId("data-v-99108259"),o=o(),e.popScopeId(),o),aM={class:"comparison-report"},nM={class:"report-summary"},sM={class:"summary-item"},cM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),iM={class:"flexL gray"},dM={class:"summary-item"},rM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),mM={class:"flexL gray"},pM={class:"summary-item"},hM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),_M={class:"flexL gray"},EM={class:"summary-item"},yM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),NM={class:"flexL gray"},VM={class:"summary-item"},fM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),bM={class:"flexL gray"},gM={class:"summary-item"},xM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),kM={class:"flexL gray",style:{display:"flex"}},DM={class:"flex"},CM={class:"flexM"},SM={class:"summary-item"},BM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),wM={class:"flexL gray",style:{display:"flex"}},AM={class:"flex"},TM={class:"flexM"},FM=Ve(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),OM={class:"report-summary"},PM={class:"summary-item"},LM=Ve(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),WM={class:"summary-item"},$M=Ve(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),HM={class:"summary-item"},MM=Ve(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),IM=Ve(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),GM={class:"report-map"},RM=["src"],zM=e.createStaticVNode('<div class="legend" data-v-99108259><div class="legend-item" data-v-99108259><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-99108259></div><div data-v-99108259>Actual Route</div></div><div class="legend-item" data-v-99108259><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-99108259></div><div data-v-99108259>Recommended Route</div></div></div>',1),UM={key:0,class:"subtitle"},YM={key:1,class:"report-summary"},ZM={class:"summary-item"},QM=Ve(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),JM={class:"flexL blue center"},KM={class:"summary-item"},jM=Ve(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),XM={class:"flexL blue center"},qM={class:"summary-item"},uM=Ve(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),vM={class:"flexL blue center"},eI=Ve(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),tI={class:"report-summary"},oI=Ve(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),lI={class:"summary-item"},aI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),nI={class:"flex blue-light center"},sI={class:"flex blue-light center"},cI={class:"summary-item"},iI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),dI={class:"flex blue-light center"},rI={class:"flex blue-light center"},mI={class:"summary-item"},pI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),hI={class:"flex blue-light center"},_I={class:"flex blue-light center"},EI={class:"summary-item"},yI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),NI={class:"flex blue-light center"},VI={class:"flex blue-light center"},fI={class:"summary-item"},bI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),gI={class:"flex blue-light center"},xI={class:"flex blue-light center"},kI={class:"summary-item"},DI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),CI={class:"flex blue-light center"},SI={class:"flex blue-light center"},BI={class:"summary-item"},wI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),AI={class:"flex blue-light center italic"},TI=Ve(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),FI={class:"report-summary"},OI=Ve(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),PI={class:"summary-item"},LI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),WI={class:"flex blue-light center"},$I={class:"flex blue-light center"},HI={class:"summary-item"},MI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),II={class:"flex blue-light center"},GI={class:"flex blue-light center"},RI={class:"summary-item"},zI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),UI={class:"flex blue-light center"},YI={class:"flex blue-light center"},ZI={class:"summary-item"},QI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),JI={class:"flex blue-light center"},KI={class:"flex blue-light center"},jI={class:"summary-item"},XI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),qI={class:"flex blue-light center italic"},uI={class:"summary-item"},vI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),eG={class:"flex blue-light center italic"},tG=["innerHTML"];function oG(o,s,t,r,a,n){var p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,X,v,ee,te,oe,le,ce,ie,de,_e,q,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",aM,[e.createVNode(E,{name:"Voyage Comparison Report"}),e.createElementVNode("div",nM,[e.createElementVNode("div",sM,[cM,e.createElementVNode("div",iM,e.toDisplayString((b=(p=t.report)==null?void 0:p.vessel)==null?void 0:b.name),1)]),e.createElementVNode("div",dM,[rM,e.createElementVNode("div",mM,e.toDisplayString((g=t.report)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",pM,[hM,e.createElementVNode("div",_M,e.toDisplayString((N=(h=t.report)==null?void 0:h.vessel)==null?void 0:N.type),1)]),e.createElementVNode("div",EM,[yM,e.createElementVNode("div",NM,e.toDisplayString((x=(D=t.report)==null?void 0:D.voyage)==null?void 0:x.loadCondition),1)]),e.createElementVNode("div",VM,[fM,e.createElementVNode("div",bM,e.toDisplayString((k=(C=t.report)==null?void 0:C.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",gM,[xM,e.createElementVNode("div",kM,[e.createElementVNode("span",DM,e.toDisplayString((F=(T=t.report)==null?void 0:T.departure)==null?void 0:F.name),1),e.createElementVNode("span",CM,e.toDisplayString(n.computeUTCTime(((w=(B=t.report)==null?void 0:B.departure)==null?void 0:w.atd)||((O=(f=t.report)==null?void 0:f.departure)==null?void 0:O.etd))),1)])]),e.createElementVNode("div",SM,[BM,e.createElementVNode("div",wM,[e.createElementVNode("span",AM,e.toDisplayString((G=(I=t.report)==null?void 0:I.arrival)==null?void 0:G.name),1),e.createElementVNode("span",TM,e.toDisplayString(n.computeUTCTime(((z=(R=t.report)==null?void 0:R.arrival)==null?void 0:z.ata)||((L=(_=t.report)==null?void 0:_.arrival)==null?void 0:L.eta))),1)])])]),FM,e.createElementVNode("div",OM,[e.createElementVNode("div",PM,[LM,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((H=t.report)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(n.computeSummary((W=t.report)==null?void 0:W.diffTime,"time")),3)]),e.createElementVNode("div",WM,[$M,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=t.report)==null?void 0:P.diffFoCons)} flex blue`)},e.toDisplayString(n.computeSummary((M=t.report)==null?void 0:M.diffFoCons,"oil")),3)]),e.createElementVNode("div",HM,[MM,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Q=t.report)==null?void 0:Q.diffDgoCons)} flex blue`)},e.toDisplayString(n.computeSummary((U=t.report)==null?void 0:U.diffDgoCons,"oil")),3)])]),IM,e.createElementVNode("div",GM,[e.createElementVNode("img",{style:{width:"100%"},src:(J=t.report)==null?void 0:J.chartUrl,alt:""},null,8,RM),zM]),(ne=t.report)!=null&&ne.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",UM,"CP Terms")),(se=t.report)!=null&&se.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",YM,[e.createElementVNode("div",ZM,[QM,e.createElementVNode("div",JM,e.toDisplayString(((X=(l=t.report)==null?void 0:l.cp)==null?void 0:X.speed)??"—"),1)]),e.createElementVNode("div",KM,[jM,e.createElementVNode("div",XM,e.toDisplayString(((ee=(v=t.report)==null?void 0:v.cp)==null?void 0:ee.fo)??"—"),1)]),e.createElementVNode("div",qM,[uM,e.createElementVNode("div",vM,e.toDisplayString(((oe=(te=t.report)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),eI,e.createElementVNode("div",tI,[oI,e.createElementVNode("div",lI,[aI,e.createElementVNode("div",nI,e.toDisplayString(((le=t.report)==null?void 0:le.actualDist)??"—"),1),e.createElementVNode("div",sI,e.toDisplayString(((ce=t.report)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",cI,[iI,e.createElementVNode("div",dI,e.toDisplayString(((ie=t.report)==null?void 0:ie.actualTime)??"—"),1),e.createElementVNode("div",rI,e.toDisplayString(((de=t.report)==null?void 0:de.recmdTime)??"—"),1)]),e.createElementVNode("div",mI,[pI,e.createElementVNode("div",hI,e.toDisplayString(((_e=t.report)==null?void 0:_e.actualAvgSpd)??"—"),1),e.createElementVNode("div",_I,e.toDisplayString(((q=t.report)==null?void 0:q.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",EI,[yI,e.createElementVNode("div",NI,e.toDisplayString(((me=t.report)==null?void 0:me.actualAvgCF)??"—"),1),e.createElementVNode("div",VI,e.toDisplayString(((Ee=t.report)==null?void 0:Ee.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",fI,[bI,e.createElementVNode("div",gI,e.toDisplayString(((ye=t.report)==null?void 0:ye.actualAvgWF)??"—"),1),e.createElementVNode("div",xI,e.toDisplayString(((re=t.report)==null?void 0:re.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",kI,[DI,e.createElementVNode("div",CI,e.toDisplayString(((fe=t.report)==null?void 0:fe.actualPfmSpd)??"—"),1),e.createElementVNode("div",SI,e.toDisplayString(((be=t.report)==null?void 0:be.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",BI,[wI,e.createElementVNode("div",AI,e.toDisplayString(n.compareTime((ge=t.report)==null?void 0:ge.actualTime,(xe=t.report)==null?void 0:xe.recmdTime)),1)])]),TI,e.createElementVNode("div",FI,[OI,e.createElementVNode("div",PI,[LI,e.createElementVNode("div",WI,e.toDisplayString(((ke=t.report)==null?void 0:ke.actualAvgFoCons)??"-"),1),e.createElementVNode("div",$I,e.toDisplayString(((De=t.report)==null?void 0:De.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",HI,[MI,e.createElementVNode("div",II,e.toDisplayString(((Te=t.report)==null?void 0:Te.actualFoCons)??"-"),1),e.createElementVNode("div",GI,e.toDisplayString(((Fe=t.report)==null?void 0:Fe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",RI,[zI,e.createElementVNode("div",UI,e.toDisplayString(((Oe=t.report)==null?void 0:Oe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",YI,e.toDisplayString(((Pe=t.report)==null?void 0:Pe.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",ZI,[QI,e.createElementVNode("div",JI,e.toDisplayString(((Le=t.report)==null?void 0:Le.actualDgoCons)??"-"),1),e.createElementVNode("div",KI,e.toDisplayString(((We=t.report)==null?void 0:We.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",jI,[XI,e.createElementVNode("div",qI,e.toDisplayString((($e=t.report)==null?void 0:$e.diffFoCons)??"-"),1)]),e.createElementVNode("div",uI,[vI,e.createElementVNode("div",eG,e.toDisplayString(((He=t.report)==null?void 0:He.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${n.computeBlankHtml(a.advisory)?"print-hidden":""}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${n.computeBlankHtml(a.advisory)?"print-hidden":""}`),style:{"min-height":"50px"}},[a.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[0]||(s[0]=Ne=>a.advisory=Ne),height:"320px",onBlur:s[1]||(s[1]=Ne=>n.handleCommit("comments",Ne))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=Ne=>a.editable=!a.editable),innerHTML:n.computeBlankHtml(a.advisory)?"Please double click to modify remark":a.advisory},null,40,tG))],2)])}const hn=Ce(lM,[["render",oG],["__scopeId","data-v-99108259"]]),lZ="",lG={name:"ComparisonFli",components:{Editor:Go},props:{data:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpq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C9Hk+D9jB9IrNEcqTXFAhbdS+4KimMjrk8zFcTFaFI/lcCieUHSE810Jr6Qv67F1NopHbJOzjBKpOkdilSIlShshpRXU+mluTCaS6NETkSaDqFEBDRBG6vMaNeTwbHIL0UOUJqQJS5FEQ3kI4uVrJEgq3AzTdNYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm"){return o?`${j(o).utc().format(s)}Z`:"-"}},computeColor(){return function(o){return o>0?"fail":o<0?"success":""}},compareTime(){return function(o,s){return o&&s?ae.LngLatHelper.roundPrecision(o-s):"-"}},computeSummary(){return function(o,s){if(o===0)return"No difference";let t="";return o>0?s==="time"?t=`Lost ${o}hrs`:t=`Over consumption ${o}mt`:s==="time"?t=`Saving ${Math.abs(o)}hrs`:t=`Under consumption ${Math.abs(o)}mt`,t}}},watch:{data:{handler(o){o&&this.fetchData()},immediate:!0}},methods:{fetchData(){var o,s;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(o=this.data)!=null&&o.comments?(s=this.data)==null?void 0:s.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(o,s){this.editable=!1;const t={[o]:s};await Fa.put(`${this.gateway}/api/als/comparisons/${this.id}`,t,{headers:{Authorization:this.token}}),this.advisory=s}}},he=o=>(e.pushScopeId("data-v-24b3bc72"),o=o(),e.popScopeId(),o),aG={class:"comparison-report"},nG=he(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),sG={class:"report-header"},cG={class:"header-title",style:{position:"relative !important"}},iG={class:"header-title-content"},dG=he(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),rG={class:"title-date"},mG={class:"report-summary"},pG={class:"summary-item"},hG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),_G={class:"flexL gray"},EG={class:"summary-item"},yG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),NG={class:"flexL gray"},VG={class:"summary-item"},fG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),bG={class:"flexL gray"},gG={class:"summary-item"},xG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),kG={class:"flexL gray"},DG={class:"summary-item"},CG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),SG={class:"flexL gray"},BG={class:"summary-item"},wG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),AG={class:"flexL gray",style:{display:"flex"}},TG={class:"flex"},FG={class:"flexM"},OG={class:"summary-item"},PG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),LG={class:"flexL gray",style:{display:"flex"}},WG={class:"flex"},$G={class:"flexM"},HG=he(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),MG={class:"report-summary"},IG={class:"summary-item"},GG=he(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),RG={class:"summary-item"},zG=he(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),UG={class:"summary-item"},YG=he(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),ZG=he(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),QG={class:"report-map"},JG=["src"],KG=e.createStaticVNode('<div class="legend" data-v-24b3bc72><div class="legend-item" data-v-24b3bc72><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-24b3bc72></div><div data-v-24b3bc72>Actual Route</div></div><div class="legend-item" data-v-24b3bc72><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-24b3bc72></div><div data-v-24b3bc72>Ocean π Recommended Route</div></div></div>',1),jG=he(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),XG={key:0,class:"subtitle"},qG={key:1,class:"report-summary"},uG={class:"summary-item"},vG=he(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),eR={class:"flexL blue center"},tR={class:"summary-item"},oR=he(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),lR={class:"flexL blue center"},aR={class:"summary-item"},nR=he(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),sR={class:"flexL blue center"},cR=he(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),iR={class:"report-summary"},dR=he(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),rR={class:"summary-item"},mR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),pR={class:"flex blue-light center"},hR={class:"flex blue-light center"},_R={class:"summary-item"},ER=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),yR={class:"flex blue-light center"},NR={class:"flex blue-light center"},VR={class:"summary-item"},fR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),bR={class:"flex blue-light center"},gR={class:"flex blue-light center"},xR={class:"summary-item"},kR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),DR={class:"flex blue-light center"},CR={class:"flex blue-light center"},SR={class:"summary-item"},BR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),wR={class:"flex blue-light center"},AR={class:"flex blue-light center"},TR={class:"summary-item"},FR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),OR={class:"flex blue-light center"},PR={class:"flex blue-light center"},LR={class:"summary-item"},WR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),$R={class:"flex blue-light center italic"},HR=he(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),MR={class:"report-summary"},IR=he(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),GR={class:"summary-item"},RR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),zR={class:"flex blue-light center"},UR={class:"flex blue-light center"},YR={class:"summary-item"},ZR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),QR={class:"flex blue-light center"},JR={class:"flex blue-light center"},KR={class:"summary-item"},jR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),XR={class:"flex blue-light center"},qR={class:"flex blue-light center"},uR={class:"summary-item"},vR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),ez={class:"flex blue-light center"},tz={class:"flex blue-light center"},oz={class:"summary-item"},lz=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),az={class:"flex blue-light center italic"},nz={class:"summary-item"},sz=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),cz={class:"flex blue-light center italic"},iz=["innerHTML"];function dz(o,s,t,r,a,n){var c,p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,X,v,ee,te,oe,le,ce,ie,de,_e,q,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He;const E=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",aG,[nG,e.createElementVNode("div",sG,[e.createElementVNode("div",cG,[e.createElementVNode("div",iG,[dG,e.createElementVNode("div",rG,e.toDisplayString(n.computeUTCTime(((c=a.comparisonData)==null?void 0:c.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",mG,[e.createElementVNode("div",pG,[hG,e.createElementVNode("div",_G,e.toDisplayString((b=(p=a.comparisonData)==null?void 0:p.vessel)==null?void 0:b.name),1)]),e.createElementVNode("div",EG,[yG,e.createElementVNode("div",NG,e.toDisplayString((g=a.comparisonData)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",VG,[fG,e.createElementVNode("div",bG,e.toDisplayString((N=(h=a.comparisonData)==null?void 0:h.vessel)==null?void 0:N.type),1)]),e.createElementVNode("div",gG,[xG,e.createElementVNode("div",kG,e.toDisplayString((x=(D=a.comparisonData)==null?void 0:D.voyage)==null?void 0:x.loadCondition),1)]),e.createElementVNode("div",DG,[CG,e.createElementVNode("div",SG,e.toDisplayString((k=(C=a.comparisonData)==null?void 0:C.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",BG,[wG,e.createElementVNode("div",AG,[e.createElementVNode("span",TG,e.toDisplayString((F=(T=a.comparisonData)==null?void 0:T.departure)==null?void 0:F.name),1),e.createElementVNode("span",FG,e.toDisplayString(n.computeUTCTime(((w=(B=a.comparisonData)==null?void 0:B.departure)==null?void 0:w.atd)||((O=(f=a.comparisonData)==null?void 0:f.departure)==null?void 0:O.etd))),1)])]),e.createElementVNode("div",OG,[PG,e.createElementVNode("div",LG,[e.createElementVNode("span",WG,e.toDisplayString((G=(I=a.comparisonData)==null?void 0:I.arrival)==null?void 0:G.name),1),e.createElementVNode("span",$G,e.toDisplayString(n.computeUTCTime(((z=(R=a.comparisonData)==null?void 0:R.arrival)==null?void 0:z.ata)||((L=(_=a.comparisonData)==null?void 0:_.arrival)==null?void 0:L.eta))),1)])])]),HG,e.createElementVNode("div",MG,[e.createElementVNode("div",IG,[GG,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((H=a.comparisonData)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(n.computeSummary((W=a.comparisonData)==null?void 0:W.diffTime,"time")),3)]),e.createElementVNode("div",RG,[zG,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=a.comparisonData)==null?void 0:P.diffFoCons)} flex blue`)},e.toDisplayString(n.computeSummary((M=a.comparisonData)==null?void 0:M.diffFoCons,"oil")),3)]),e.createElementVNode("div",UG,[YG,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Q=a.comparisonData)==null?void 0:Q.diffDgoCons)} flex blue`)},e.toDisplayString(n.computeSummary((U=a.comparisonData)==null?void 0:U.diffDgoCons,"oil")),3)])]),ZG,e.createElementVNode("div",QG,[e.createElementVNode("img",{style:{width:"100%"},src:(J=a.comparisonData)==null?void 0:J.chartUrl,alt:""},null,8,JG),KG]),jG,(ne=a.comparisonData)!=null&&ne.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",XG,"CP Terms")),(se=a.comparisonData)!=null&&se.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",qG,[e.createElementVNode("div",uG,[vG,e.createElementVNode("div",eR,e.toDisplayString(((X=(l=a.comparisonData)==null?void 0:l.cp)==null?void 0:X.speed)??"—"),1)]),e.createElementVNode("div",tR,[oR,e.createElementVNode("div",lR,e.toDisplayString(((ee=(v=a.comparisonData)==null?void 0:v.cp)==null?void 0:ee.fo)??"—"),1)]),e.createElementVNode("div",aR,[nR,e.createElementVNode("div",sR,e.toDisplayString(((oe=(te=a.comparisonData)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),cR,e.createElementVNode("div",iR,[dR,e.createElementVNode("div",rR,[mR,e.createElementVNode("div",pR,e.toDisplayString(((le=a.comparisonData)==null?void 0:le.actualDist)??"—"),1),e.createElementVNode("div",hR,e.toDisplayString(((ce=a.comparisonData)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",_R,[ER,e.createElementVNode("div",yR,e.toDisplayString(((ie=a.comparisonData)==null?void 0:ie.actualTime)??"—"),1),e.createElementVNode("div",NR,e.toDisplayString(((de=a.comparisonData)==null?void 0:de.recmdTime)??"—"),1)]),e.createElementVNode("div",VR,[fR,e.createElementVNode("div",bR,e.toDisplayString(((_e=a.comparisonData)==null?void 0:_e.actualAvgSpd)??"—"),1),e.createElementVNode("div",gR,e.toDisplayString(((q=a.comparisonData)==null?void 0:q.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",xR,[kR,e.createElementVNode("div",DR,e.toDisplayString(((me=a.comparisonData)==null?void 0:me.actualAvgCF)??"—"),1),e.createElementVNode("div",CR,e.toDisplayString(((Ee=a.comparisonData)==null?void 0:Ee.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",SR,[BR,e.createElementVNode("div",wR,e.toDisplayString(((ye=a.comparisonData)==null?void 0:ye.actualAvgWF)??"—"),1),e.createElementVNode("div",AR,e.toDisplayString(((re=a.comparisonData)==null?void 0:re.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",TR,[FR,e.createElementVNode("div",OR,e.toDisplayString(((fe=a.comparisonData)==null?void 0:fe.actualPfmSpd)??"—"),1),e.createElementVNode("div",PR,e.toDisplayString(((be=a.comparisonData)==null?void 0:be.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",LR,[WR,e.createElementVNode("div",$R,e.toDisplayString(n.compareTime((ge=a.comparisonData)==null?void 0:ge.actualTime,(xe=a.comparisonData)==null?void 0:xe.recmdTime)),1)])]),HR,e.createElementVNode("div",MR,[IR,e.createElementVNode("div",GR,[RR,e.createElementVNode("div",zR,e.toDisplayString(((ke=a.comparisonData)==null?void 0:ke.actualAvgFoCons)??"-"),1),e.createElementVNode("div",UR,e.toDisplayString(((De=a.comparisonData)==null?void 0:De.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",YR,[ZR,e.createElementVNode("div",QR,e.toDisplayString(((Te=a.comparisonData)==null?void 0:Te.actualFoCons)??"-"),1),e.createElementVNode("div",JR,e.toDisplayString(((Fe=a.comparisonData)==null?void 0:Fe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",KR,[jR,e.createElementVNode("div",XR,e.toDisplayString(((Oe=a.comparisonData)==null?void 0:Oe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",qR,e.toDisplayString(((Pe=a.comparisonData)==null?void 0:Pe.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",uR,[vR,e.createElementVNode("div",ez,e.toDisplayString(((Le=a.comparisonData)==null?void 0:Le.actualDgoCons)??"-"),1),e.createElementVNode("div",tz,e.toDisplayString(((We=a.comparisonData)==null?void 0:We.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",oz,[lz,e.createElementVNode("div",az,e.toDisplayString((($e=a.comparisonData)==null?void 0:$e.diffFoCons)??"-"),1)]),e.createElementVNode("div",nz,[sz,e.createElementVNode("div",cz,e.toDisplayString(((He=a.comparisonData)==null?void 0:He.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[a.editable?(e.openBlock(),e.createBlock(E,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[0]||(s[0]=Ne=>a.advisory=Ne),height:"320px",onBlur:s[1]||(s[1]=Ne=>n.handleCommit("comments",Ne))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=(...Ne)=>n.decideDisable&&n.decideDisable(...Ne)),innerHTML:a.advisory&&a.advisory!=="<p><br></p>"?a.advisory:"Please double click to modify remark"},null,40,iz))],2)])}const _n=Ce(lG,[["render",dz],["__scopeId","data-v-24b3bc72"]]),rz={install(o){o.component("OrmComparisonReport",hn),o.component("FliComparisonReport",_n)}},aZ="",mz={name:"IdmThird",props:{name:{type:String,default:""}}},pz={class:"section brand-section flex-space"},hz=e.createStaticVNode('<div class="logo-box flex-center" data-v-d5871b6a><a class="logo" href="https://www.idmwx.com" target="_blank" data-v-d5871b6a><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-d5871b6a><div class="brand" data-v-d5871b6a><span data-v-d5871b6a>Weather Routing</span><div class="company" data-v-d5871b6a>Ocean Right Marine Service</div></div></a></div>',1),_z={class:"report-box flex-space"},Ez={class:"name flex-start"},yz=e.createStaticVNode('<div class="support flex-end" data-v-d5871b6a><img src="https://img.idmwx.com/asset/idm/qrcode_for_gh_976e5ac920c0_258.jpg" data-v-d5871b6a><div style="margin-left:10px;" data-v-d5871b6a><div class="name flex-space" data-v-d5871b6a><label data-v-d5871b6a>IDM Service Team</label></div><div class="desc flex-center" data-v-d5871b6a>Technical Support & Consulting Center</div></div></div>',1);function Nz(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",pz,[hz,e.createElementVNode("div",_z,[e.createElementVNode("div",Ez,e.toDisplayString(t.name),1),yz])])}const En=Ce(mz,[["render",Nz],["__scopeId","data-v-d5871b6a"]]),Vz={install(o){o.component("IdmBrand",Io),o.component("IdmThird",En)}},nZ="",sZ="",fz={name:"QuotaReport",components:{Brand:Io},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$280",0,0,0,0,0,0,0,0,0,0,0],["$280","$280",0,0,0,0,0,0,0,0,0,0],["$450","$350","$280",0,0,0,0,0,0,0,0,0],["$450","$350","$500","$280",0,0,0,0,0,0,0,0],["$600","$450","$450","$350","$280",0,0,0,0,0,0,0],["$720","$680","$680","CGH $550","$450","$280",0,0,0,0,0,0],["$850","$800","$800","SUE $350","SUE $350","$500","$280",0,0,0,0,0],["SUE $900<br/>CGH $1050","SUE $900<br/>CGH $1050","SUE $900<br/>CGH $1150<br/>CHC $1150<br/>PMP $1250","SUE 450<br/>CGH $1300","SUE $450","$600","$400","$280",0,0,0,0],["$1050","$1050","$950","CGH $850","$700","$500","$600","$650","$280",0,0,0],["$800","$800","DIR $700<br/>CHC $1000","CHC $1100","CHC $1100","PMP $550<br/>CHC $700","PMP $600<br/>CHC $1000","PMP $650<br/>CHC $1000","$450","$280",0,0],["$1050","$1100","PMP $1050<br/>CGH $1150<br/>SUE $1100","SUE $800<br/>CGH $1100","SUE $750<br/>CGH $1000","$500","$600","$600","$500","PMP $450<br/>CHC $1150","$280",0],["$750","$800","$800","SGP $900<br/>PMP $1350<br/>CHC $1350","SGP $900<br/>PMP $1000<br/>CHC $1200","PMP $900<br/>CHC $1150","$850","PMP $900<br/>CHC $1250","PMP $900<br/>CHC $1050","PMP $450<br/>CHC $1150","PMP $540<br/>CHC $1300","$280"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){hl.accessToken=this.mapboxToken,this.map=new hl.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},yn=o=>(e.pushScopeId("data-v-f3647134"),o=o(),e.popScopeId(),o),bz={class:"quota-report"},gz=yn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),xz={class:"section quota-section"},kz=yn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Dz={class:"label"},Cz={class:"label"},Sz=["innerHTML"],Bz=e.createStaticVNode('<div class="legend-block flex-space" data-v-f3647134><div class="legend" data-v-f3647134><label data-v-f3647134>DIR</label><span data-v-f3647134>DIRECT</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>PMP</label><span data-v-f3647134>via PANAMA CHANNEL</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>SUE</label><span data-v-f3647134>via SUEZ CHANNEL</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>CGH</label><span data-v-f3647134>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>CHC</label><span data-v-f3647134>Passing CAPE HORN</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>SCG</label><span data-v-f3647134>Passing SINGAPORE</span></div></div>',1);function wz(o,s,t,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",bz,[e.createVNode(E,{name:"Quotation Sheet"}),gz,e.createElementVNode("div",xz,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[kz,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,class:"label"},e.toDisplayString(c.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,style:e.normalizeStyle({width:c.width}),class:"label"},e.toDisplayString(c.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(c,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",Dz,e.toDisplayString(c.rank),1),e.createElementVNode("td",Cz,e.toDisplayString(c.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:a.quota[p][b-1]||""},null,8,Sz))),128))]))),128))])]),Bz])])}const Nn=Ce(fz,[["render",wz],["__scopeId","data-v-f3647134"]]),cZ="",Az={name:"QuotaReport",components:{Brand:Io},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$500",0,0,0,0,0,0,0,0,0,0,0],["$500","$500",0,0,0,0,0,0,0,0,0,0],["$650","$550","$500",0,0,0,0,0,0,0,0,0],["$650","$550","$700","$500",0,0,0,0,0,0,0,0],["$800","$650","$650","$550","$500",0,0,0,0,0,0,0],["$920","$880","$880","CGH $750","$650","$500",0,0,0,0,0,0],["$1050","$1000","$1000","SUE $550","SUE $550","$700","$500",0,0,0,0,0],["SUE $1100<br/>CGH $1250","SUE $1100<br/>CGH $1250","SUE $1100<br/>CGH $1350<br/>CHC $1350<br/>PMP $1450","SUE 650<br/>CGH $1500","SUE $650","$800","$600","$500",0,0,0,0],["$1250","$1250","$1150","CGH $1050","$900","$700","$800","$850","$500",0,0,0],["$1000","$1000","DIR $900<br/>CHC $1200","CHC $1300","CHC $1300","PMP $750<br/>CHC $900","PMP $800<br/>CHC $1200","PMP $850<br/>CHC $1200","$650","$500",0,0],["$1250","$1300","PMP $1250<br/>CGH $1350<br/>SUE $1300","SUE $1000<br/>CGH $1300","SUE $950<br/>CGH $1200","$700","$800","$800","$700","PMP $650<br/>CHC $1350","$500",0],["$950","$1000","$1000","SGP $1100<br/>PMP $1550<br/>CHC $1550","SGP $1100<br/>PMP $1200<br/>CHC $1400","PMP $1100<br/>CHC $1350","$1050","PMP $1100<br/>CHC $1450","PMP $1100<br/>CHC $1250","PMP $650<br/>CHC $1350","PMP $740<br/>CHC $1500","$500"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){hl.accessToken=this.mapboxToken,this.map=new hl.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Vn=o=>(e.pushScopeId("data-v-e3ab3a93"),o=o(),e.popScopeId(),o),Tz={class:"quota-report"},Fz=Vn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Oz={class:"section quota-section"},Pz=Vn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Lz={class:"label"},Wz={class:"label"},$z=["innerHTML"],Hz=e.createStaticVNode('<div class="legend-block flex-space" data-v-e3ab3a93><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>DIR</label><span data-v-e3ab3a93>DIRECT</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>PMP</label><span data-v-e3ab3a93>via PANAMA CHANNEL</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>SUE</label><span data-v-e3ab3a93>via SUEZ CHANNEL</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>CGH</label><span data-v-e3ab3a93>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>CHC</label><span data-v-e3ab3a93>Passing CAPE HORN</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>SCG</label><span data-v-e3ab3a93>Passing SINGAPORE</span></div></div>',1);function Mz(o,s,t,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Tz,[e.createVNode(E,{name:"Quotation Sheet"}),Fz,e.createElementVNode("div",Oz,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Pz,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,class:"label"},e.toDisplayString(c.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,style:e.normalizeStyle({width:c.width}),class:"label"},e.toDisplayString(c.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(c,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",Lz,e.toDisplayString(c.rank),1),e.createElementVNode("td",Wz,e.toDisplayString(c.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:a.quota[p][b-1]||""},null,8,$z))),128))]))),128))])]),Hz])])}const fn=Ce(Az,[["render",Mz],["__scopeId","data-v-e3ab3a93"]]),iZ="",Iz={name:"QuotaReport",components:{Brand:Io},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$150",0,0,0,0,0,0,0,0,0,0,0],["$150","$150",0,0,0,0,0,0,0,0,0,0],["$280","$230","$150",0,0,0,0,0,0,0,0,0],["$280","$230","$330","$150",0,0,0,0,0,0,0,0],["$395","$280","$280","$230","$150",0,0,0,0,0,0,0],["$475","$450","$450","CGH $365","$280","$150",0,0,0,0,0,0],["$560","$530","$530","SUE $230","SUE $230","$330","$150",0,0,0,0,0],["SUE $595<br/>CGH $690","SUE $595<br/>CGH $690","SUE $595<br/>CGH $760<br/>CHC $760<br/>PMP $830","SUE 280<br/>CGH $860","SUE $280","$395","$265","$150",0,0,0,0],["$690","$690","$630","CGH $560","$460","$330","$395","$430","$150",0,0,0],["$530","$530","DIR $460<br/>CHC $660","CHC $730","CHC $730","PMP $365<br/>CHC $460","PMP $395<br/>CHC $660","PMP $430<br/>CHC $660","$280","$150",0,0],["$690","$730","PMP $690<br/>CGH $760<br/>SUE $730","SUE $530<br/>CGH $730","SUE $495<br/>CGH $660","$330","$395","$395","$330","PMP $280<br/>CHC $760","$150",0],["$495","$530","$530","SGP $595<br/>PMP $890<br/>CHC $890","SGP $595<br/>PMP $660<br/>CHC $790","PMP $595<br/>CHC $760","$560","PMP $595<br/>CHC $830","PMP $595<br/>CHC $690","PMP $280<br/>CHC $760","PMP $360<br/>CHC $860","$150"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){hl.accessToken=this.mapboxToken,this.map=new hl.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},bn=o=>(e.pushScopeId("data-v-fecdf217"),o=o(),e.popScopeId(),o),Gz={class:"quota-report"},Rz=bn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),zz={class:"section quota-section"},Uz=bn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Yz={class:"label"},Zz={class:"label"},Qz=["innerHTML"],Jz=e.createStaticVNode('<div class="legend-block flex-space" data-v-fecdf217><div class="legend" data-v-fecdf217><label data-v-fecdf217>DIR</label><span data-v-fecdf217>DIRECT</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>PMP</label><span data-v-fecdf217>via PANAMA CHANNEL</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>SUE</label><span data-v-fecdf217>via SUEZ CHANNEL</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>CGH</label><span data-v-fecdf217>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>CHC</label><span data-v-fecdf217>Passing CAPE HORN</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>SCG</label><span data-v-fecdf217>Passing SINGAPORE</span></div></div>',1);function Kz(o,s,t,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Gz,[e.createVNode(E,{name:"Quotation Sheet for TONGLI"}),Rz,e.createElementVNode("div",zz,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Uz,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,class:"label"},e.toDisplayString(c.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,style:e.normalizeStyle({width:c.width}),class:"label"},e.toDisplayString(c.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(c,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",Yz,e.toDisplayString(c.rank),1),e.createElementVNode("td",Zz,e.toDisplayString(c.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:a.quota[p][b-1]||""},null,8,Qz))),128))]))),128))])]),Jz])])}const gn=Ce(Iz,[["render",Kz],["__scopeId","data-v-fecdf217"]]),jz={install(o){o.component("OrmQuoteReport",Nn),o.component("OrmQuoteReport4SEOA",fn),o.component("OrmQuoteReport4TongLi",gn)}},dZ="",Xz={name:"PrecipitationReport",components:{IdmBrand:Io,IdmLoading:La},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0},defaultVersion:{type:String,default:"Pretty"}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clv0mafdu006h01qp1cyzga6d",map:void 0,source:"precipitation-source",layer:"precipitation-label-layer",geojson:void 0,echart:void 0,form:void 0,index:0,version:this.defaultVersion,loading:!0}},computed:{computeLat(){return function(o){return ae.LngLatHelper.lat2pretty(o,2)}},computeLng(){return function(o){return ae.LngLatHelper.lng2pretty(o,2)}},computeLTime(){return function(o,s=8,t="MMM-DD/HHmm[LT]"){return`${j(o).utcOffset(s).format(t)}`}},computeTZ(){return function(o="0"){return ae.LngLatHelper.prettyTimeZoneOffset(o)}},roundPrecision(){return function(o,s=4){if(typeof o=="number"){const t=Number("1".padEnd(s+1,"0"));return Math.round(o*t)/t}else return"-"}},computeDegree(){return function(o,s){o=o%360;for(let t=0;t<17;t++)if(t*22.5+o+11.25>=360){let r=(16-t)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(o){var a,n,E,c,p,b,g;const s=ae.LngLatHelper.guessTimeZoneOffset(o.lng,o.lat);o.localTZ=s;const t={};for(let h=0;h<((a=o==null?void 0:o.extend)==null?void 0:a.length);h++){const N=o==null?void 0:o.extend[h];if(h===0)N.precip.pacc=0;else{const D=j(N.utc).utcOffset(s),x=(n=N.precip)==null?void 0:n.acc;if(N.precip.pacc=x,x>0){const C=t[D.format("MMM-DD")],k=Math.floor(D.get("hour")/6);C?(C.pacc=this.roundPrecision(C.pacc+x,1),C[`${k}`]?C[`${k}`]+=x:(C[`${k}`]=x,C.colspan+=1)):(t[D.format("MMM-DD")]={pacc:x,colspan:1},t[D.format("MMM-DD")][`${k}`]=x)}}}o.paccInDays=t;let r=0;for(const h of Object.keys(t))r+=(E=t[h])==null?void 0:E.colspan,t[h].level=((c=t[h])==null?void 0:c.pacc)<10?"Light":((p=t[h])==null?void 0:p.pacc)<24.9?"Moderate":((b=t[h])==null?void 0:b.pacc)<49.9?"Heavy":((g=t[h])==null?void 0:g.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return o.span=r,o}}},watch:{report:{handler(){var o,s,t;if((o=this.report)!=null&&o.rows){this.loading=!1;for(const r of(s=this.report)==null?void 0:s.rows)this.computeForm(r);this.form=(t=this.report)==null?void 0:t.rows[this.index],this.$nextTick(()=>{this.initMap()})}},immediate:!0},form:{handler(){this.form&&(this.handleFlyTo(this.form),this.$nextTick(()=>{this.initEchart()}))},immediate:!0},version:{handler(){this.$nextTick(()=>{this.initEchart(),this.initMap()})}}},methods:{initEchart(){var o,s;if(this.version==="Pretty"){this.echart||(this.echart=e.markRaw(Pa.init(this.$refs.echart)));const t=[],r=[],a={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let n=4;(s=(o=this.form)==null?void 0:o.extend)==null||s.forEach(c=>{var b,g,h,N,D,x,C,k,T,F,B,w,f,O;const p=j(c.utc).utcOffset((b=this.form)==null?void 0:b.localTZ).format("MMM-DD/HHmm[LT]");t.push(p),n=((h=(g=c.wave)==null?void 0:g.sig)==null?void 0:h.height)>n?(D=(N=c.wave)==null?void 0:N.sig)==null?void 0:D.height:n,r.push([p,(x=c.wind)==null?void 0:x.kts,(C=c.gusts)==null?void 0:C.kts,(T=(k=c.wave)==null?void 0:k.sig)==null?void 0:T.height,(F=c.wind)==null?void 0:F.direction,(B=c.wind)==null?void 0:B.degree,(w=c.wind)==null?void 0:w.scale,(f=c.current)==null?void 0:f.kts,(O=c.precip)==null?void 0:O.pacc,this.roundPrecision(c.visibility/1852,0),c.temp])});const E={animation:!1,title:{text:"Weather Conditions",subtext:"Precip/Visibility/Sig.Wave/Wind/Gusts",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:25},xAxis:[{data:t}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:n,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip",yAxisIndex:0,showSymbol:!1,encode:{x:a.dateTime,y:a.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:r,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:a.dateTime,y:a.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:r,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:a.dateTime,y:a.waveHeight},data:r,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:a.dateTime,y:a.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:r,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:a.dateTime,y:a.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:r,z:2}]};this.echart.setOption(E)}},async initMap(){this.version==="Pretty"&&!this.map&&(hl.accessToken=this.mapboxToken,this.map=new hl.Map({container:"map",style:this.mapboxStyle,projection:"mercator",preserveDrawingBuffer:!0,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()}))},handleDraw(){var o;this.geojson={type:"FeatureCollection",features:[]};for(const s of(o=this.report)==null?void 0:o.rows){const t={type:"Feature",properties:{name:s.name,rank:s.rank},geometry:{type:"Point",coordinates:[s.lng,s.lat]}};this.geojson.features.push(t)}this.map.getSource(this.source)?this.map.getSource(this.source).setData(this.geojson):(this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","icon-size":.3,"icon-image":"port","text-field":"{rank}. {name}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":.8,"text-color":"#ff0000","text-halo-color":"#fff","text-halo-width":2,"text-halo-blur":1}})),this.handleFlyTo(this.form)},handleFlyTo(o){var s;(s=this.map)==null||s.flyTo({center:[o.lng,o.lat],zoom:8})}}},it=o=>(e.pushScopeId("data-v-eb7562dc"),o=o(),e.popScopeId(),o),qz={class:"precipitation-report"},uz={class:"section area-section"},vz={class:"area-block"},eU={class:"area-header flex-space"},tU={class:"flex-start"},oU=["onClick"],lU={class:"flex-end"},aU={class:"area-body"},nU=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-eb7562dc> Precipitation Accumulation (mm) in the next 10 days </div><div style="display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:13px;color:var(--idm-black-7);" data-v-eb7562dc><div style="background:rgba(243, 245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-eb7562dc>Light (<10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-eb7562dc>Moderate (<24.9mm)</div><div style="background:rgb(7, 148, 255);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-eb7562dc>Heavy (<49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-eb7562dc>Rainstorm (<99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-eb7562dc>Heavy Rainstorm (>100mm)</div></div>',2),sU={class:"flex-evenly"},cU={key:0},iU=["colspan"],dU=["colspan"],rU={style:{"font-size":"10px"}},mU={key:0},pU={key:1},hU={key:2},_U={key:3},EU={key:0},yU={key:1,style:{"font-size":"14px"}},NU=it(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),VU={class:"section echart-section"},fU={ref:"echart",class:"echart"},bU={class:"section sample-section"},gU=it(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),xU=["colspan"],kU=it(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),DU=it(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),CU=it(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),SU=it(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),BU=it(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),wU=it(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),AU={key:0},TU={key:1},FU=it(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),OU=it(()=>e.createElementVNode("th",null,"Dir",-1)),PU=it(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),LU=it(()=>e.createElementVNode("th",null,"BF",-1)),WU=it(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),$U=it(()=>e.createElementVNode("th",null,"Dir",-1)),HU=it(()=>e.createElementVNode("th",null,"Ht (m)",-1)),MU=it(()=>e.createElementVNode("th",null,"Prd (s)",-1)),IU=it(()=>e.createElementVNode("th",null,"Dir",-1)),GU=it(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),RU=it(()=>e.createElementVNode("th",null,"Prd (s)",-1)),zU=it(()=>e.createElementVNode("th",null,"°C",-1)),UU={width:"120px"},YU={key:0},ZU={key:1},QU={key:0,class:"degree-box"},JU={key:1},KU={key:0,class:"degree-box"},jU={key:1},XU={key:0,class:"degree-box"},qU={key:1},uU={class:"section area-section"},vU={class:"area-block"},eY={class:"area-header flex-end"},tY={class:"flex-end"},oY={class:"area-body"},lY=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-eb7562dc> Precipitation Accumulation (mm) in the next 10 days </div><div style="display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:13px;color:var(--idm-black-7);" data-v-eb7562dc><div style="background:rgba(243, 245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-eb7562dc>Light (<10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-eb7562dc>Moderate (<24.9mm)</div><div style="background:rgb(7, 148, 255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-eb7562dc>Heavy (<49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-eb7562dc>Rainstorm (<99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-eb7562dc>Heavy Rainstorm (>100mm)</div></div>',2),aY=["colspan"],nY=["colspan"],sY={style:{"font-size":"10px"}},cY={key:0},iY={key:1},dY={key:2},rY={key:3},mY={key:1,style:{"font-size":"14px"}},pY={key:0};function hY(o,s,t,r,a,n){var p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",qz,[e.createVNode(E,{name:"Precipitation Accumulation"}),e.createVNode(c,{loading:a.loading,onTimeout:s[0]||(s[0]=_=>a.loading=!1)},null,8,["loading"]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",uz,[e.createElementVNode("div",vz,[e.createElementVNode("div",eU,[e.createElementVNode("div",tU,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=t.report)==null?void 0:p.rows,(_,L)=>(e.openBlock(),e.createElementBlock("div",{key:L,class:e.normalizeClass(a.index===L?"header-item active":"header-item"),onClick:H=>{var W;a.index=L,a.form=(W=t.report)==null?void 0:W.rows[a.index]}},e.toDisplayString(_.rank)+". "+e.toDisplayString(_.name),11,oU))),128))]),e.createElementVNode("div",lU,[e.createElementVNode("div",{class:"header-item",onClick:s[1]||(s[1]=_=>a.version="Brief")},"Brief")])]),e.createElementVNode("div",aU,[nU,e.createElementVNode("div",sU,[a.form?(e.openBlock(),e.createElementBlock("table",cU,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:a.form.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString((b=a.form)==null?void 0:b.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString((g=a.form)==null?void 0:g.name)+" ("+e.toDisplayString(n.computeLat((h=a.form)==null?void 0:h.lat).pretty)+" / "+e.toDisplayString(n.computeLng((N=a.form)==null?void 0:N.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(n.computeLTime((x=(D=a.form)==null?void 0:D.extend)==null?void 0:x[0].utc,(C=a.form)==null?void 0:C.localTZ))+" to "+e.toDisplayString(n.computeLTime((T=(k=a.form)==null?void 0:k.extend)==null?void 0:T.at(-1).utc,(F=a.form)==null?void 0:F.localTZ))+", "+e.toDisplayString(n.computeTZ((B=a.form)==null?void 0:B.localTZ))+")",1)],8,iU)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((w=a.form)==null?void 0:w.paccInDays),(_,L)=>{var H;return e.openBlock(),e.createElementBlock("th",{key:L,colspan:a.form.paccInDays[_].colspan,class:e.normalizeClass((H=a.form.paccInDays[_])==null?void 0:H.level)},e.toDisplayString(_)+" ("+e.toDisplayString(a.form.paccInDays[_].pacc)+")",11,dU)}),128))]),e.createElementVNode("tr",rU,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((f=a.form)==null?void 0:f.paccInDays),(_,L)=>{var H;return e.openBlock(),e.createElementBlock(e.Fragment,{key:L},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((H=a.form)==null?void 0:H.paccInDays[_]),(W,P)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:P},[W==="0"?(e.openBlock(),e.createElementBlock("th",mU,"00-06")):e.createCommentVNode("",!0),W==="1"?(e.openBlock(),e.createElementBlock("th",pU,"06-12")):e.createCommentVNode("",!0),W==="2"?(e.openBlock(),e.createElementBlock("th",hU,"12-18")):e.createCommentVNode("",!0),W==="3"?(e.openBlock(),e.createElementBlock("th",_U,"18-24")):e.createCommentVNode("",!0)],64))),128))],64)}),128))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(I=Object.keys((O=a.form)==null?void 0:O.paccInDays))!=null&&I.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys((G=a.form)==null?void 0:G.paccInDays),(_,L)=>{var H;return e.openBlock(),e.createElementBlock(e.Fragment,{key:L},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((H=a.form)==null?void 0:H.paccInDays[_]),(W,P)=>{var M;return e.openBlock(),e.createElementBlock(e.Fragment,{key:P},[["0","1","2","3"].includes(W)?(e.openBlock(),e.createElementBlock("td",EU,e.toDisplayString(n.roundPrecision((M=a.form)==null?void 0:M.paccInDays[_][W],1)),1)):e.createCommentVNode("",!0)],64)}),128))],64)}),128)):(e.openBlock(),e.createElementBlock("th",yU,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),NU,e.createElementVNode("div",VU,[e.createElementVNode("div",fU,null,512)]),e.createElementVNode("div",bU,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[gU,e.createElementVNode("th",{colspan:t.showPrate?2:1},"Precip",8,xU),kU,DU,CU,SU,BU,wU]),e.createElementVNode("tr",null,[t.showPrate?(e.openBlock(),e.createElementBlock("th",AU,"Rate (mm/h)")):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("th",TU,"Acc (mm)")):e.createCommentVNode("",!0),FU,OU,PU,LU,WU,$U,HU,MU,IU,GU,RU,zU])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((R=a.form)==null?void 0:R.extend,(_,L)=>{var H,W,P,M,Q,U,J,ne,se,l,X,v,ee,te,oe,le,ce,ie,de,_e,q,me,Ee,ye,re,fe,be,ge,xe,ke,De;return e.openBlock(),e.createElementBlock("tr",{key:L},[e.createElementVNode("td",UU,e.toDisplayString(n.computeLTime(_.utc,(H=a.form)==null?void 0:H.localTZ)),1),t.showPrate?(e.openBlock(),e.createElementBlock("td",YU,e.toDisplayString(n.roundPrecision((W=_.precip)==null?void 0:W.prate,2)),1)):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("td",ZU,e.toDisplayString((P=_.precip)==null?void 0:P.pacc),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(_.visibility/1852,0)),1),e.createElementVNode("td",null,[(M=_.wind)!=null&&M.kts?(e.openBlock(),e.createElementBlock("span",QU,[e.createTextVNode(e.toDisplayString((Q=_.wind)==null?void 0:Q.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((U=_.wind)==null?void 0:U.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",JU,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((J=_.wind)==null?void 0:J.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((ne=_.wind)==null?void 0:ne.scale),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((se=_.gusts)==null?void 0:se.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((X=(l=_.wave)==null?void 0:l.wd)==null?void 0:X.height,1)),1),e.createElementVNode("td",null,[(ee=(v=_.wave)==null?void 0:v.swell)!=null&&ee.height?(e.openBlock(),e.createElementBlock("span",KU,[e.createTextVNode(e.toDisplayString((oe=(te=_.wave)==null?void 0:te.swell)==null?void 0:oe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ce=(le=_.wave)==null?void 0:le.swell)==null?void 0:ce.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",jU,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((de=(ie=_.wave)==null?void 0:ie.swell)==null?void 0:de.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((q=(_e=_.wave)==null?void 0:_e.swell)==null?void 0:q.period,1)),1),e.createElementVNode("td",null,[(Ee=(me=_.wave)==null?void 0:me.sig)!=null&&Ee.height?(e.openBlock(),e.createElementBlock("span",XU,[e.createTextVNode(e.toDisplayString((re=(ye=_.wave)==null?void 0:ye.sig)==null?void 0:re.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((be=(fe=_.wave)==null?void 0:fe.sig)==null?void 0:be.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",qU,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((xe=(ge=_.wave)==null?void 0:ge.sig)==null?void 0:xe.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((De=(ke=_.wave)==null?void 0:ke.sig)==null?void 0:De.period,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(_.temp,1)),1)])}),128))])])])],512),[[e.vShow,a.version==="Pretty"]]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",uU,[e.createElementVNode("div",vU,[e.createElementVNode("div",eY,[e.createElementVNode("div",tY,[e.createElementVNode("div",{class:"header-item",onClick:s[2]||(s[2]=_=>a.version="Pretty")},"Pretty")])]),e.createElementVNode("div",oY,[lY,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((z=t.report)==null?void 0:z.rows,(_,L)=>{var H,W,P;return e.openBlock(),e.createElementBlock("div",{key:L,style:{"margin-bottom":"10px"}},[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:_.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString(_==null?void 0:_.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString(_==null?void 0:_.name)+" ("+e.toDisplayString(n.computeLat(_==null?void 0:_.lat).pretty)+" / "+e.toDisplayString(n.computeLng(_==null?void 0:_.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(n.computeLTime((H=_==null?void 0:_.extend)==null?void 0:H[0].utc,_==null?void 0:_.localTZ))+" to "+e.toDisplayString(n.computeLTime((W=_==null?void 0:_.extend)==null?void 0:W.at(-1).utc,_==null?void 0:_.localTZ))+", "+e.toDisplayString(n.computeTZ(_==null?void 0:_.localTZ))+")",1)],8,aY)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays),(M,Q)=>{var U;return e.openBlock(),e.createElementBlock("th",{key:Q,colspan:_.paccInDays[M].colspan,class:e.normalizeClass((U=_.paccInDays[M])==null?void 0:U.level)},e.toDisplayString(M)+" ("+e.toDisplayString(_.paccInDays[M].pacc)+")",11,nY)}),128))]),e.createElementVNode("tr",sY,[(P=Object.keys(_==null?void 0:_.paccInDays))!=null&&P.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys(_==null?void 0:_.paccInDays),(M,Q)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Q},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays[M]),(U,J)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:J},[U==="0"?(e.openBlock(),e.createElementBlock("th",cY,"00-06")):e.createCommentVNode("",!0),U==="1"?(e.openBlock(),e.createElementBlock("th",iY,"06-12")):e.createCommentVNode("",!0),U==="2"?(e.openBlock(),e.createElementBlock("th",dY,"12-18")):e.createCommentVNode("",!0),U==="3"?(e.openBlock(),e.createElementBlock("th",rY,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",mY,"No Precipitation in the next 10 days"))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays),(M,Q)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Q},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays[M]),(U,J)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:J},[["0","1","2","3"].includes(U)?(e.openBlock(),e.createElementBlock("td",pY,e.toDisplayString(n.roundPrecision(_==null?void 0:_.paccInDays[M][U],1)),1)):e.createCommentVNode("",!0)],64))),128))],64))),128))])])])])}),128))])])])],512),[[e.vShow,a.version==="Brief"]])])}const xn=Ce(Xz,[["render",hY],["__scopeId","data-v-eb7562dc"]]),_Y={install(o){o.component("PrecipitationReport",xn)}},EY={install(o){o.component("IdmLoading",La)}};Y.BrandPlugin=Vz,Y.ComparisonPlugin=rz,Y.DeviationPlugin=F$,Y.DeviationReport=rn,Y.FliComparisonReport=_n,Y.FliDeviationReport=mn,Y.FliInvoiceReport=cn,Y.FliPlanReport=tn,Y.FliVoyageReport=ln,Y.HurricanePlugin=oB,Y.IdmBrand=Io,Y.IdmEditor=Go,Y.IdmEditorPlugin=vp,Y.IdmLat=$a,Y.IdmLatPlugin=eh,Y.IdmLng=Wa,Y.IdmLngPlugin=th,Y.IdmLoading=La,Y.IdmThird=En,Y.InvoicePlugin=G8,Y.LoadingPlugin=EY,Y.ORMPointReport=en,Y.OrmComparisonReport=hn,Y.OrmInvoiceReport=sn,Y.OrmPlanReport=ja,Y.OrmQuoteReport=Nn,Y.OrmQuoteReport4SEOA=fn,Y.OrmQuoteReport4TongLi=gn,Y.OrmVoyageReport=an,Y.PiLogo=on,Y.PiLogoPlugin=ih,Y.PointReportPlugin=ed,Y.PrecipitationReport=xn,Y.PrecipitationReportPlugin=_Y,Y.QuoteReportPlugin=jz,Y.RouteReport=ja,Y.RouteReportPlugin=up,Y.StoppageReport=pn,Y.StoppageReportPlugin=oM,Y.TropicalReport=nn,Y.VoyageReportPlugin=u4,Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"})});
|