@idmwx/idmui-report 3.6.6 → 3.6.8
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/index.js +537 -535
- package/dist/index.umd.cjs +5 -5
- 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,u,e,$c,Xa,Hc,Oa,qa,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),xY="",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?u(o):u()).utc().format(s)}`}}}},va=o=>(e.pushScopeId("data-v-b7008706"),o=o(),e.popScopeId(),o),Gc={class:"section brand-section flex-space"},Rc=e.createStaticVNode('<div class="logo-box flex-center" data-v-b7008706><div class="logo" data-v-b7008706><a href="https://fmp.idmwx.com" target="_blank" data-v-b7008706><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-b7008706></a><a href="https://fmp.idmwx.com" target="_blank" style="text-decoration:none;" data-v-b7008706><div class="brand" data-v-b7008706><span style="text-decoration:underline;" data-v-b7008706>Weather Routing</span><div class="company" data-v-b7008706>Ocean Right Marine Service</div></div></a></div></div>',1),zc={class:"report-box flex-space"},Uc={class:"name flex-start"},Yc={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},Zc={class:"flex-start",style:{width:"100%"}},Qc={class:"label-block flex-evenly",style:{flex:"1"}},Jc=va(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),uc={class:"flex-end",style:{flex:"2"}},Kc=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 jc(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",uc,e.toDisplayString(n.computeUTCTime(t.issued,"MMM-DD, YYYY")),1)])]),Kc])])])}const Io=Ce(Ic,[["render",jc],["__scopeId","data-v-b7008706"]]),Xc={name:"IdmLoading",props:{loading:{type:Boolean,default:!1},text:{type:String,default:"Loading..."}},emits:["timeout"],watch:{loading:{handler(){this.loading&&setTimeout(()=>{this.$emit("timeout",!1)},5e3)},immediate:!0}}},qc={key:0,class:"loading"},vc=e.createElementVNode("i",{class:"iconfont"},"",-1);function ei(o,s,t,r,a,n){return t.loading?(e.openBlock(),e.createElementBlock("div",qc,[vc,e.createElementVNode("div",null,e.toDisplayString(t.text),1)])):e.createCommentVNode("",!0)}const La=Ce(Xc,[["render",ei]]),kY="",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`${u(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=u(x.utc).utcOffset(this.localTZ),T=u(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=u(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-84da66b8"),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"},ui={key:1},Ki={key:0,class:"degree-box"},ji={key:1},Xi={key:0},qi={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,j,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",ui,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((j=(l=N.wave)==null?void 0:l.sig)==null?void 0:j.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",Ki,[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",ji,"-"))]),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",Xi,e.toDisplayString(n.roundPrecision((ie=N.precip)==null?void 0:ie.prate,2)),1)):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("td",qi,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-84da66b8"]]),ed={install(o){o.component("ORMPointReport",en)}},DY="",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"]]),CY="",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"]]),SY="",dd={name:"IdmEditor",components:{Editor:Xa.Editor,Toolbar:Xa.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-e3eb0d7a"]]),BY="",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`${u(o).utc().format(s)}`}},computeLTime(){return function(o,s,t){let r=0;return t&&s&&(r=ae.LngLatHelper.guessTimeZoneOffset(s,t)),`${u(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=u((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(u((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(u(a.eta).diff(u(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 _=u(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-2625c0b6"),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-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),ud={class:"legend"},Kd=Ye(()=>e.createElementVNode("b",{class:"route1"},null,-1)),jd={key:0,class:"legend"},Xd=Ye(()=>e.createElementVNode("b",{class:"route2"},null,-1)),qd={key:1,class:"legend"},vd=Ye(()=>e.createElementVNode("b",{class:"route3"},null,-1)),er={key:1,class:"empty"},tr={class:"section comparison-section"},or={key:0},lr=Ye(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",{rowspan:"2"},"DTG (nm)"),e.createElementVNode("th",null,"ETA (LT)"),e.createElementVNode("th",{rowspan:"2"},"Diff (h)"),e.createElementVNode("th",{colspan:"2"},"Cons (mt)"),e.createElementVNode("th",null,"Dangerous"),e.createElementVNode("th",null,"Severe"),e.createElementVNode("th",null,"Heavy")],-1)),ar=Ye(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),nr=Ye(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),sr=Ye(()=>e.createElementVNode("th",null,"*FO",-1)),cr=Ye(()=>e.createElementVNode("th",null,"*DO",-1)),ir={colspan:"3"},dr={rowspan:"2"},rr={rowspan:"2"},mr={rowspan:"2"},pr={rowspan:"2"},hr={rowspan:"2"},_r={rowspan:"2"},Er={rowspan:"2"},yr={rowspan:"2"},Nr={rowspan:"2"},Vr=Ye(()=>e.createElementVNode("div",{class:"tips"},[e.createTextVNode(" * Please note the climatology data was used for days that extend beyond the available forecast."),e.createElementVNode("br"),e.createTextVNode(" * Fuel consumption was calculated only based on CP terms, and does not reflect actual consumption. ")],-1)),fr={class:"section waypoint-section"},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-2625c0b6><div class="cell-item flex" style="flex:1.5;" data-v-2625c0b6>Major waypoint</div><div class="cell-item flex" data-v-2625c0b6>Time</div><div class="cell-item flex" data-v-2625c0b6>Nav</div><div class="cell-item flex" data-v-2625c0b6>Dist</div><div class="cell-item flex" data-v-2625c0b6>SOG</div><div class="cell-item flex" data-v-2625c0b6>Memo</div></div>',1),Ar={class:"major-body"},Tr={class:"cell-item flex",style:{flex:"1.5"}},Fr={key:0,class:"flex-center"},Or={key:1,class:"flex-center"},Pr=Ye(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Lr={key:0},Wr={class:"cell-item flex"},$r={key:0,class:"cell-item flex offset"},Hr={key:1,class:"cell-item flex nbsp"},Mr={key:2,class:"cell-item flex offset"},Ir={key:3,class:"cell-item flex nbsp"},Gr={key:4,class:"cell-item flex offset"},Rr={key:5,class:"cell-item flex nbsp"},zr={key:6,class:"cell-item flex offset"},Ur={key:7,class:"cell-item flex nbsp"},Yr={class:"section forecast-section"},Zr={class:"header-block flex-start"},Qr=Ye(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Jr={class:"title"},ur={key:0,class:"flex-end",style:{flex:"1"}},Kr=["onClick"],jr={class:"echart-block"},Xr={ref:"echart",class:"echart"},qr=Ye(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("UTC")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),vr={class:"flex-center"},em=Ye(()=>e.createElementVNode("span",null,"/",-1)),tm={key:0,class:"degree-box"},om={key:1},lm={key:0,class:"degree-box"},am={key:1},nm={key:0,class:"degree-box"},sm={key:1},cm={key:0,class:"degree-box"},im={key:1},dm=Ye(()=>e.createElementVNode("div",{class:"tips",style:{"text-align":"justify"}},[e.createElementVNode("div",null,"The waypoints in this sheet are approximate positions."),e.createElementVNode("div",null," The route map is for reference only and should not be used for navigation. All the material is an advisory provided so as to assist the Master in making the final route decision. ")],-1));function rm(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,j,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,ue,Ke,je,A,Se,Ge,Xe,qe,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,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=(j=(l=t.plan)==null?void 0:l.leg)==null?void 0:j.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=(X=(_e=t.plan)==null?void 0:_e.leg)==null?void 0:X.destination)==null?void 0:me.name),1)):(e.openBlock(),e.createElementBlock("div",$d,[e.createVNode(p,{lat:(re=(ye=(Ee=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",ud,[Kd,e.createElementVNode("span",{class:"btn",onClick:s[1]||(s[1]=S=>{a.speedIndex=0,n.renderEchart()})},e.toDisplayString((A=(je=(Ke=(ue=(Ne=t.plan)==null?void 0:Ne.speeds)==null?void 0:ue[0])==null?void 0:Ke.speed)==null?void 0:je.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",jd,[Xd,e.createElementVNode("span",{class:"btn",onClick:s[2]||(s[2]=S=>{a.speedIndex=1,n.renderEchart()})},e.toDisplayString((tt=(et=(ve=(qe=(Xe=t.plan)==null?void 0:Xe.speeds)==null?void 0:qe[1])==null?void 0:ve.speed)==null?void 0:et.lane)==null?void 0:tt.name),1)])):e.createCommentVNode("",!0),(($=(m=t.plan)==null?void 0:m.speeds)==null?void 0:$.length)>2?(e.openBlock(),e.createElementBlock("div",qd,[vd,e.createElementVNode("span",{class:"btn",onClick:s[3]||(s[3]=S=>{a.speedIndex=2,n.renderEchart()})},e.toDisplayString((Ue=(pe=(Re=(Me=(Be=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,ut,Kt,jt,Xt,qt,vt,eo,to,oo,lo;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Ie},[e.createElementVNode("tr",null,[e.createElementVNode("td",dr,e.toDisplayString(Ie+1),1),e.createElementVNode("td",rr,e.toDisplayString((nt=(at=S.speed)==null?void 0:at.lane)==null?void 0:nt.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((ht=S.speed)==null?void 0:ht.label)??"CP"} ${((Lt=S.speed)==null?void 0:Lt.v0)??(($t=(Wt=S.speed)==null?void 0:Wt.cpCopy)==null?void 0:$t.speed)}`),1),e.createElementVNode("td",mr,e.toDisplayString(n.roundPrecision((Ht=S.speed)==null?void 0:Ht.distance,0)),1),e.createElementVNode("td",null,[e.createElementVNode("b",null,e.toDisplayString(n.computeLTime((Mt=S.speed)==null?void 0:Mt.eta,(Rt=(Gt=(It=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(((ut=S.speed)==null?void 0:ut.dangerous)/24,1)),1),e.createElementVNode("td",yr,e.toDisplayString(n.roundPrecision(((Kt=S.speed)==null?void 0:Kt.severe)/24,1)),1),e.createElementVNode("td",Nr,e.toDisplayString(n.roundPrecision(((jt=S.speed)==null?void 0:jt.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,[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",ur,[(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,Kr)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",jr,[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=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,ut,Kt,jt,Xt,qt,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((jt=(Kt=(ut=S.meteo)==null?void 0:ut.wave)==null?void 0:Kt.swell)==null?void 0:jt.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((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 Ka=Ce(pd,[["render",rm],["__scopeId","data-v-2625c0b6"]]),wY="",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`${u(o).utc().format(s)}`}},computeLTime(){return function(o,s){const t=u(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=u((r=(t=o==null?void 0:o.speeds[s])==null?void 0:t.speed)==null?void 0:r.eta).diff(u((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 u(r.eta).diff(u(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-9a939466"),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)),um={class:"section-body detail"},Km={class:"flex-space",style:{"align-items":"stretch"}},jm={class:"chart"},Xm=["src"],qm={key:1,class:"empty flex-center"},vm={class:"route flex",style:{"justify-content":"space-between"}},ep=Ze(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),tp={class:"suggestion"},op=["innerHTML"],lp={class:"flex-start legends"},ap=e.createStaticVNode('<div class="legend" data-v-9a939466><label style="background-color:var(--idm-severe);" data-v-9a939466></label><span data-v-9a939466>Dangerous</span></div><div class="legend" data-v-9a939466><label style="background-color:var(--idm-heavy);" data-v-9a939466></label><span data-v-9a939466>Severe</span></div><div class="legend" data-v-9a939466><b class="route1" data-v-9a939466></b><span data-v-9a939466>Route 1</span></div>',3),np={key:0,class:"legend"},sp=[Ze(()=>e.createElementVNode("b",{class:"route2"},null,-1)),Ze(()=>e.createElementVNode("span",null,"Route 2",-1))],cp={key:1,class:"legend"},ip=[Ze(()=>e.createElementVNode("b",{class:"route3"},null,-1)),Ze(()=>e.createElementVNode("span",null,"Route 3",-1))],dp={class:"section"},rp=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),mp={class:"section-body comparison"},pp={class:"container"},hp={key:0},_p=Ze(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr"),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Route"),e.createElementVNode("th",null,"TTL Dist (nm)"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",null,"CP Cons (mt)"),e.createElementVNode("th",null,"ETA (UTC)"),e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)"),e.createElementVNode("th",null,"TTL Cons (mt)")])],-1)),Ep={class:"section",style:{"page-break-inside":"avoid"}},yp=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),Np={class:"section-body sample"},Vp={class:"major-waypoints"},fp={class:"container"},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),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},up={key:0,class:"degree-box"},Kp={key:1},jp=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(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,j,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,ue,Ke,je;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:(j=(l=(se=t.plan)==null?void 0:se.leg)==null?void 0:l.destination)==null?void 0:j.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=(X=t.plan)==null?void 0:X.voyage)==null?void 0:me.loadCondition),1)])])])])]),e.createElementVNode("div",Qm,[Jm,e.createElementVNode("div",um,[e.createElementVNode("div",Km,[e.createElementVNode("div",jm,[(Ee=t.plan)!=null&&Ee.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(ye=t.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=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,Xe,qe,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt;return e.openBlock(),e.createElementBlock("tr",{key:Se},[e.createElementVNode("td",null,"Route "+e.toDisplayString(Se+1),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ge=A.speed)==null?void 0:Ge.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${((Xe=A.speed)==null?void 0:Xe.label)??"CP"} ${((qe=A.speed)==null?void 0:qe.v0)??((et=(ve=A.speed)==null?void 0:ve.cpCopy)==null?void 0:et.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((m=(tt=A.speed)==null?void 0:tt.cpCopy)==null?void 0:m.fo)+" FO / "+e.toDisplayString((Be=($=A.speed)==null?void 0:$.cpCopy)==null?void 0:Be.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Me=A.speed)==null?void 0:Me.eta)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Re=A.speed)==null?void 0:Re.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((pe=A.speed)==null?void 0:pe.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((Ue=A.speed)==null?void 0:Ue.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ot=A.speed)==null?void 0:ot.totalFoCons,3))+" FO /"+e.toDisplayString(n.roundPrecision((lt=A.speed)==null?void 0:lt.totalDgoCons,3))+" DO",1)])}),128))])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",Ep,[yp,e.createElementVNode("div",Np,[e.createElementVNode("div",Vp,[e.createElementVNode("div",fp,[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((je=(Ke=(ue=(Ne=t.plan)==null?void 0:Ne.speeds[0])==null?void 0:ue.speed)==null?void 0:Ke.sample)==null?void 0:je.hours,(A,Se)=>{var Ge,Xe,qe,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,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,[(Xe=(Ge=A.meteo)==null?void 0:Ge.wind)!=null&&Xe.kts?(e.openBlock(),e.createElementBlock("span",zp,e.toDisplayString((ve=(qe=A.meteo)==null?void 0:qe.wind)==null?void 0:ve.direction),1)):(e.openBlock(),e.createElementBlock("span",Up,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((tt=(et=A.meteo)==null?void 0:et.wind)==null?void 0:tt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Be=($=(m=A.meteo)==null?void 0:m.wave)==null?void 0:$.wd)==null?void 0:Be.height,1)),1),e.createElementVNode("td",null,[(pe=(Re=(Me=A.meteo)==null?void 0:Me.wave)==null?void 0:Re.swell)!=null&&pe.height?(e.openBlock(),e.createElementBlock("span",Yp,e.toDisplayString((lt=(ot=(Ue=A.meteo)==null?void 0:Ue.wave)==null?void 0:ot.swell)==null?void 0:lt.direction),1)):(e.openBlock(),e.createElementBlock("span",Zp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((mt=(rt=(dt=A.meteo)==null?void 0:dt.wave)==null?void 0:rt.swell)==null?void 0:mt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Et=(_t=(pt=A.meteo)==null?void 0:pt.wave)==null?void 0:_t.swell)==null?void 0:Et.period,1)),1),e.createElementVNode("td",null,[(Vt=(Nt=(yt=A.meteo)==null?void 0:yt.wave)==null?void 0:Nt.sig)!=null&&Vt.height?(e.openBlock(),e.createElementBlock("span",Qp,e.toDisplayString((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",up,e.toDisplayString((Ft=(Tt=A.meteo)==null?void 0:Tt.current)==null?void 0:Ft.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",Kp,"-"))]),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)])]),jp])}const tn=Ce(mm,[["render",Xp],["__scopeId","data-v-9a939466"]]),qp={install(o){o.component("RouteReport",Ka),o.component("FliPlanReport",tn),o.component("OrmPlanReport",Ka)}},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
|
|
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,u,e,$c,Xa,Hc,Oa,qa,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),xY="",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?u(o):u()).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)),uc={class:"flex-end",style:{flex:"2"}},Kc=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 jc(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",uc,e.toDisplayString(n.computeUTCTime(t.issued,"MMM-DD, YYYY")),1)])]),Kc])])])}const Io=Ce(Ic,[["render",jc],["__scopeId","data-v-7679e32b"]]),Xc={name:"IdmLoading",props:{loading:{type:Boolean,default:!1},text:{type:String,default:"Loading..."}},emits:["timeout"],watch:{loading:{handler(){this.loading&&setTimeout(()=>{this.$emit("timeout",!1)},5e3)},immediate:!0}}},qc={key:0,class:"loading"},vc=e.createElementVNode("i",{class:"iconfont"},"",-1);function ei(o,s,t,r,a,n){return t.loading?(e.openBlock(),e.createElementBlock("div",qc,[vc,e.createElementVNode("div",null,e.toDisplayString(t.text),1)])):e.createCommentVNode("",!0)}const La=Ce(Xc,[["render",ei]]),kY="",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`${u(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=u(x.utc).utcOffset(this.localTZ),T=u(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=u(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"},ui={key:1},Ki={key:0,class:"degree-box"},ji={key:1},Xi={key:0},qi={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,j,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",ui,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((j=(l=N.wave)==null?void 0:l.sig)==null?void 0:j.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",Ki,[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",ji,"-"))]),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",Xi,e.toDisplayString(n.roundPrecision((ie=N.precip)==null?void 0:ie.prate,2)),1)):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("td",qi,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)}},DY="",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"]]),CY="",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"]]),SY="",dd={name:"IdmEditor",components:{Editor:Xa.Editor,Toolbar:Xa.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"]]),BY="",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`${u(o).utc().format(s)}`}},computeLTime(){return function(o,s,t){let r=0;return t&&s&&(r=ae.LngLatHelper.guessTimeZoneOffset(s,t)),`${u(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=u((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(u((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(u(a.eta).diff(u(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 _=u(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-94d62a20"),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-94d62a20><label style="background-color:var(--idm-dangerous);" data-v-94d62a20></label><span data-v-94d62a20>Dangerous</span></div><div class="legend" data-v-94d62a20><label style="background-color:var(--idm-severe);" data-v-94d62a20></label><span data-v-94d62a20>Severe</span></div><div class="legend" data-v-94d62a20><label style="background-color:var(--idm-heavy);" data-v-94d62a20></label><span data-v-94d62a20>Heavy</span></div>',3),ud={class:"legend"},Kd=Ye(()=>e.createElementVNode("b",{class:"route1"},null,-1)),jd={key:0,class:"legend"},Xd=Ye(()=>e.createElementVNode("b",{class:"route2"},null,-1)),qd={key:1,class:"legend"},vd=Ye(()=>e.createElementVNode("b",{class:"route3"},null,-1)),er={key:1,class:"empty"},tr={class:"section comparison-section"},or={key:0},lr=Ye(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",{rowspan:"2"},"DTG (nm)"),e.createElementVNode("th",null,"ETA (LT)"),e.createElementVNode("th",{rowspan:"2"},"Diff (h)"),e.createElementVNode("th",{colspan:"2"},"Cons (mt)"),e.createElementVNode("th",null,"Dangerous"),e.createElementVNode("th",null,"Severe"),e.createElementVNode("th",null,"Heavy")],-1)),ar=Ye(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),nr=Ye(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),sr=Ye(()=>e.createElementVNode("th",null,"*FO",-1)),cr=Ye(()=>e.createElementVNode("th",null,"*DO",-1)),ir={colspan:"3"},dr={rowspan:"2"},rr={rowspan:"2"},mr={rowspan:"2"},pr={rowspan:"2"},hr={rowspan:"2"},_r={rowspan:"2"},Er={rowspan:"2"},yr={rowspan:"2"},Nr={rowspan:"2"},Vr=Ye(()=>e.createElementVNode("div",{class:"tips"},[e.createTextVNode(" * Please note the climatology data was used for days that extend beyond the available forecast."),e.createElementVNode("br"),e.createTextVNode(" * Fuel consumption was calculated only based on CP terms, and does not reflect actual consumption. ")],-1)),fr={class:"section waypoint-section"},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-94d62a20><div class="cell-item flex" style="flex:1.5;" data-v-94d62a20>Major waypoint</div><div class="cell-item flex" data-v-94d62a20>Time</div><div class="cell-item flex" data-v-94d62a20>Nav</div><div class="cell-item flex" data-v-94d62a20>Dist</div><div class="cell-item flex" data-v-94d62a20>SOG/COG</div><div class="cell-item flex" data-v-94d62a20>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"},ur={key:0,class:"flex-end",style:{flex:"1"}},Kr=["onClick"],jr={class:"echart-block"},Xr={ref:"echart",class:"echart"},qr=Ye(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("UTC")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),vr={class:"flex-center"},em=Ye(()=>e.createElementVNode("span",null,"/",-1)),tm={key:0,class:"degree-box"},om={key:1},lm={key:0,class:"degree-box"},am={key:1},nm={key:0,class:"degree-box"},sm={key:1},cm={key:0,class:"degree-box"},im={key:1},dm=Ye(()=>e.createElementVNode("div",{class:"tips",style:{"text-align":"justify"}},[e.createElementVNode("div",null,"The waypoints in this sheet are approximate positions."),e.createElementVNode("div",null," The route map is for reference only and should not be used for navigation. All the material is an advisory provided so as to assist the Master in making the final route decision. ")],-1));function rm(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,j,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,ue,Ke,je,A,Se,Ge,Xe,qe,ve,et,tt,m,$,Be,Ie,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=(j=(l=t.plan)==null?void 0:l.leg)==null?void 0:j.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=(X=(_e=t.plan)==null?void 0:_e.leg)==null?void 0:X.destination)==null?void 0:me.name),1)):(e.openBlock(),e.createElementBlock("div",$d,[e.createVNode(p,{lat:(re=(ye=(Ee=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",ud,[Kd,e.createElementVNode("span",{class:"btn",onClick:s[1]||(s[1]=S=>{a.speedIndex=0,n.renderEchart()})},e.toDisplayString((A=(je=(Ke=(ue=(Ne=t.plan)==null?void 0:Ne.speeds)==null?void 0:ue[0])==null?void 0:Ke.speed)==null?void 0:je.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",jd,[Xd,e.createElementVNode("span",{class:"btn",onClick:s[2]||(s[2]=S=>{a.speedIndex=1,n.renderEchart()})},e.toDisplayString((tt=(et=(ve=(qe=(Xe=t.plan)==null?void 0:Xe.speeds)==null?void 0:qe[1])==null?void 0:ve.speed)==null?void 0:et.lane)==null?void 0:tt.name),1)])):e.createCommentVNode("",!0),(($=(m=t.plan)==null?void 0:m.speeds)==null?void 0:$.length)>2?(e.openBlock(),e.createElementBlock("div",qd,[vd,e.createElementVNode("span",{class:"btn",onClick:s[3]||(s[3]=S=>{a.speedIndex=2,n.renderEchart()})},e.toDisplayString((Ue=(pe=(Re=(Ie=(Be=t.plan)==null?void 0:Be.speeds)==null?void 0:Ie[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,Me)=>{var at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,ut,Kt,jt,Xt,qt,vt,eo,to,oo,lo;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Me},[e.createElementVNode("tr",null,[e.createElementVNode("td",dr,e.toDisplayString(Me+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,Me)),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(((ut=S.speed)==null?void 0:ut.dangerous)/24,1)),1),e.createElementVNode("td",yr,e.toDisplayString(n.roundPrecision(((Kt=S.speed)==null?void 0:Kt.severe)/24,1)),1),e.createElementVNode("td",Nr,e.toDisplayString(n.roundPrecision(((jt=S.speed)==null?void 0:jt.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,[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,Me)=>{var at,nt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",key:Me,onClick:ht=>{a.speedIndex=Me,n.renderEchart()}},e.toDisplayString((nt=(at=S.speed)==null?void 0:at.lane)==null?void 0:nt.name),9,Dr)}),128))])):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,Me)=>(e.openBlock(),e.createElementBlock("div",{key:Me,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),Me?(e.openBlock(),e.createElementBlock("div",$r,e.toDisplayString(n.computeNav(S)),1)):(e.openBlock(),e.createElementBlock("div",Hr)),Me?(e.openBlock(),e.createElementBlock("div",Mr,e.toDisplayString(n.roundPrecision(S.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Ir)),Me?(e.openBlock(),e.createElementBlock("div",Gr,e.toDisplayString(n.roundPrecision(S.avgSpd??S.speed,2))+" / "+e.toDisplayString(n.roundPrecision(S.bearing,0)),1)):(e.openBlock(),e.createElementBlock("div",Rr)),Me?(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",ur,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ro=t.plan)==null?void 0:ro.speeds,(S,Me)=>{var at,nt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",key:Me,onClick:ht=>{a.speedIndex=Me,n.renderEchart()}},e.toDisplayString((nt=(at=S==null?void 0:S.speed)==null?void 0:at.lane)==null?void 0:nt.name),9,Kr)}),128))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",jr,[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=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,Me)=>{var at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,ut,Kt,jt,Xt,qt,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:Me,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((jt=(Kt=(ut=S.meteo)==null?void 0:ut.wave)==null?void 0:Kt.swell)==null?void 0:jt.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((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 Ka=Ce(pd,[["render",rm],["__scopeId","data-v-94d62a20"]]),wY="",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`${u(o).utc().format(s)}`}},computeLTime(){return function(o,s){const t=u(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=u((r=(t=o==null?void 0:o.speeds[s])==null?void 0:t.speed)==null?void 0:r.eta).diff(u((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 u(r.eta).diff(u(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)),um={class:"section-body detail"},Km={class:"flex-space",style:{"align-items":"stretch"}},jm={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-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},up={key:0,class:"degree-box"},Kp={key:1},jp=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(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,j,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,ue,Ke,je;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:(j=(l=(se=t.plan)==null?void 0:se.leg)==null?void 0:l.destination)==null?void 0:j.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=(X=t.plan)==null?void 0:X.voyage)==null?void 0:me.loadCondition),1)])])])])]),e.createElementVNode("div",Qm,[Jm,e.createElementVNode("div",um,[e.createElementVNode("div",Km,[e.createElementVNode("div",jm,[(Ee=t.plan)!=null&&Ee.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(ye=t.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=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,Xe,qe,ve,et,tt,m,$,Be,Ie,Re,pe,Ue,ot,lt;return e.openBlock(),e.createElementBlock("tr",{key:Se},[e.createElementVNode("td",null,"Route "+e.toDisplayString(Se+1),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ge=A.speed)==null?void 0:Ge.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${((Xe=A.speed)==null?void 0:Xe.label)??"CP"} ${((qe=A.speed)==null?void 0:qe.v0)??((et=(ve=A.speed)==null?void 0:ve.cpCopy)==null?void 0:et.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((m=(tt=A.speed)==null?void 0:tt.cpCopy)==null?void 0:m.fo)+" FO / "+e.toDisplayString((Be=($=A.speed)==null?void 0:$.cpCopy)==null?void 0:Be.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Ie=A.speed)==null?void 0:Ie.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((je=(Ke=(ue=(Ne=t.plan)==null?void 0:Ne.speeds[0])==null?void 0:ue.speed)==null?void 0:Ke.sample)==null?void 0:je.hours,(A,Se)=>{var Ge,Xe,qe,ve,et,tt,m,$,Be,Ie,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,[(Xe=(Ge=A.meteo)==null?void 0:Ge.wind)!=null&&Xe.kts?(e.openBlock(),e.createElementBlock("span",zp,e.toDisplayString((ve=(qe=A.meteo)==null?void 0:qe.wind)==null?void 0:ve.direction),1)):(e.openBlock(),e.createElementBlock("span",Up,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((tt=(et=A.meteo)==null?void 0:et.wind)==null?void 0:tt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Be=($=(m=A.meteo)==null?void 0:m.wave)==null?void 0:$.wd)==null?void 0:Be.height,1)),1),e.createElementVNode("td",null,[(pe=(Re=(Ie=A.meteo)==null?void 0:Ie.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",up,e.toDisplayString((Ft=(Tt=A.meteo)==null?void 0:Tt.current)==null?void 0:Ft.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",Kp,"-"))]),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)])]),jp])}const tn=Ce(mm,[["render",Xp],["__scopeId","data-v-cc81892d"]]),qp={install(o){o.component("RouteReport",Ka),o.component("FliPlanReport",tn),o.component("OrmPlanReport",Ka)}},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,7 +38,7 @@
|
|
|
38
38
|
39 461 86 924 130 1275 71 571 75 585 180 632 37 17 101 18 915 23 771 4 883
|
|
39
39
|
7 940 22 36 9 107 24 158 33 52 9 118 27 148 40 101 45 175 134 211 254 14 49
|
|
40
40
|
17 128 20 596 3 360 1 568 -7 625 -20 157 -96 273 -216 330 -132 64 90 60
|
|
41
|
-
-3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)];function 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)}},LY="",WY="",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"?u(o).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s=="table"?u(o).utc().format("MMMM-DD/HHmm[Z]"):s=="summary"?u(o).utc().format("MMMM D, HHmm[Z]"):s?u(o).utc().format(s):u(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:u(c.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:u(c.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:u(c.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+u(c.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:c.duration,distance:c.distance,fo:c.foCons,dgo:c.dgoCons};this.excludedTableData.push(p)}),!o.includes(r.seg)){o.push(r.seg);let c=Object.assign({},r.extend.cp);c.spdOfOver=`+${r.timeConclusion.spdOfOver}${this.computedUnit("speed",r.timeConclusion.spdPercentage)}`,c.spdOfUnder=`-${r.timeConclusion.spdOfUnder}${this.computedUnit("speed",r.timeConclusion.spdPercentage)}`,c.over=`+${r.fuelConclusion.consOfOver}${this.computedUnit("cons",r.fuelConclusion.consPercentage)}`,c.under=`-${r.fuelConclusion.consOfUnder}${this.computedUnit("cons",r.fuelConclusion.consPercentage)}`,this.cpDetail.push(c)}let E=[];r.extend.segTimes.forEach(c=>{E.push(this.computedSeg(c))}),this.segDetail.push(E),this.goodDays.push(r.inventory.sample.hours.filter(c=>c.type!=="A"&&c.goodWx))})}}},d=o=>(e.pushScopeId("data-v-d80f1a42"),o=o(),e.popScopeId(),o),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)),uh={class:"content"},Kh={key:2,class:"item"},jh=d(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),Xh={class:"content"},qh={key:3,class:"item"},vh=d(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),e1={class:"content"},t1={key:4,class:"item"},o1=[d(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],l1={key:5,class:"item"},a1=[d(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],n1={class:"definition flexM"},s1={class:"table"},c1=d(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"CP"),e.createElementVNode("td",null,"Speed (kts)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),i1=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),d1={class:"summary"},r1={key:0,class:"summary-overall"},m1=d(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),p1={class:"summary-overall-row"},h1={class:"card"},_1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),E1={class:"main-content"},y1={key:0},N1={key:1},V1={class:"card"},f1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),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"}},u1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),K1={key:0,class:"main-content"},j1={key:0,class:"iconfont success"},X1={key:1,class:"iconfont error"},q1={key:1,class:"main-content"},v1={class:"card-content",style:{"justify-content":"flex-start"}},e_={class:"card summary-card",style:{flex:"1"}},t_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),o_={key:0,class:"main-content"},l_={key:0,class:"iconfont success"},a_={key:1,class:"iconfont error"},n_={key:1,class:"main-content"},s_={class:"card-content",style:{"justify-content":"flex-start"}},c_={class:"card summary-card",style:{flex:"1"}},i_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),d_={key:0,class:"main-content"},r_={key:0,class:"iconfont success"},m_={key:1,class:"iconfont error"},p_={key:1,class:"main-content"},h_={class:"card-content",style:{"justify-content":"flex-start"}},__={style:{"page-break-inside":"avoid"}},E_=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),y_={class:"remarks"},N_={class:"item"},V_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),f_={class:"speed"},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)),u_={class:"card-content"},K_=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),j_=d(()=>e.createElementVNode("span",null,"mt",-1)),X_={class:"card-content"},q_=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),v_=d(()=>e.createElementVNode("span",null,"mt",-1)),eE=d(()=>e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"FO Cons. + M/E DO/GO Cons. in ECA")],-1)),tE={class:"card phase-card",style:{flex:"1"}},oE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),lE={class:"main-content"},aE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),nE={class:"main-content"},sE={class:"card-content"},cE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),iE=d(()=>e.createElementVNode("span",null,"mt",-1)),dE={class:"card-content"},rE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),mE=d(()=>e.createElementVNode("span",null,"mt",-1)),pE={class:"card-content"},hE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),_E=d(()=>e.createElementVNode("span",null,"mt",-1)),EE={class:"card-content"},yE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),NE=d(()=>e.createElementVNode("span",null,"mt",-1)),VE=d(()=>e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"DO/GO Cons. - M/E DO/GO Cons. in ECA")],-1)),fE={class:"phase-analysis"},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)),uE={class:"card-content"},KE=d(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),jE=d(()=>e.createElementVNode("span",null,"hrs",-1)),XE={class:"card-content"},qE=d(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),vE=d(()=>e.createElementVNode("span",null,"hrs",-1)),ey={class:"card phase-card",style:{flex:"1"}},ty=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),oy={class:"main-content"},ly=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),ay={class:"main-content"},ny={class:"card-content"},sy=d(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),cy=d(()=>e.createElementVNode("span",null,"kts",-1)),iy={class:"card-content"},dy=d(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),ry=d(()=>e.createElementVNode("span",null,"kts",-1)),my={class:"card-content"},py=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),hy=d(()=>e.createElementVNode("span",null,"kts",-1)),_y={class:"card-content"},Ey=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),yy=d(()=>e.createElementVNode("span",null,"kts",-1)),Ny={class:"phase-analysis"},Vy={class:"card phase-card",style:{flex:"1"}},fy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),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)),uy=d(()=>e.createElementVNode("span",null,"mt",-1)),Ky={class:"card-content"},jy=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),Xy=d(()=>e.createElementVNode("span",null,"mt",-1)),qy={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},vy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),eN={class:"main-content"},tN={class:"card-content"},oN=d(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),lN={key:0},aN=d(()=>e.createElementVNode("span",null,"kts",-1)),nN={key:1},sN={class:"phase-card"},cN={class:"card",style:{flex:"1"}},iN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),dN={key:0,class:"main-content"},rN={key:0,class:"iconfont success"},mN={key:1,class:"iconfont error"},pN={key:1,class:"main-content"},hN={class:"nogwd"},_N={class:"card-content",style:{"justify-content":"flex-start"}},EN={key:0},yN={class:"equation"},NN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),VN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),fN={style:{width:"8%"}},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"},uN={class:"card-content",style:{"justify-content":"flex-start"}},KN={key:0},jN={class:"equation"},XN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),qN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),vN={style:{width:"8%"}},eV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),oV={style:{width:"120px"}},lV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),aV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),nV={style:{width:"10%"}},sV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),cV={class:"equation"},iV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),dV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),rV={style:{width:"8%"}},mV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),pV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),hV={style:{width:"120px"}},_V=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),EV=d(()=>e.createElementVNode("div",null,"24",-1)),yV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),NV={style:{width:"10%"}},VV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),fV={class:"equation"},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"}},uV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),KV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),jV={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)),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)),uf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),Kf=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)),jf={class:"flexL formular-item",style:{"margin-left":"20px"}},Xf=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),qf={class:""},vf={class:"equation"},e0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),t0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),o0={style:{width:"25%"},class:"fraction"},l0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),a0=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),n0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),s0=d(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Good Weather Consumption"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),c0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),i0={class:"equation"},d0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),r0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),m0={style:{width:"25%"},class:"fraction"},p0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),h0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),_0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),E0=d(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption + Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),y0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),N0={class:"equation"},V0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),f0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),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,j,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,ue,Ke,je,A,Se,Ge,Xe,qe,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",uh,e.toDisplayString(((v=(j=t.reportData)==null?void 0:j.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",Kh,[jh,e.createElementVNode("div",Xh,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=(X=t.reportData)==null?void 0:X.weather)!=null&&me.sigSwitch?(e.openBlock(),e.createElementBlock("div",qh,[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((Ke=(ue=t.reportData)==null?void 0:ue.goodWx)==null?void 0:Ke.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=(je=t.reportData)==null?void 0:je.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((qe=(Xe=t.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=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,[u1,(Be=m.goodWx)!=null&&Be.distance?(e.openBlock(),e.createElementBlock("div",K1,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",j1,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",X1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",q1,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",v1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedTimeConclusion(m.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).conclusion),1)])]),e.createElementVNode("div",e_,[t_,(Me=m.goodWx)!=null&&Me.distance?(e.openBlock(),e.createElementBlock("div",o_,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",l_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",a_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",n_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",s_,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",c_,[i_,(Re=m.goodWx)!=null&&Re.distance?(e.openBlock(),e.createElementBlock("div",d_,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",r_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",m_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",p_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",h_,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",__,[E_,e.createElementVNode("div",y_,[e.createElementVNode("div",N_,[V_,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((et=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,ut,Kt,jt,Xt,qt,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,uo,Ko,jo,Xo,qo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl;return e.openBlock(),e.createElementBlock("div",{key:$,class:"phase"},[e.createElementVNode("div",C_,[e.createElementVNode("div",S_,[e.createElementVNode("div",B_,[e.createElementVNode("div",w_,[A_,e.createElementVNode("span",null,"Phase "+e.toDisplayString($+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(st,pl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+pl,class:e.normalizeClass(a.segDetail[$].length>1?"dashed":"")},[e.createElementVNode("div",T_,[e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.port1),1),e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.time1),1)]),e.createElementVNode("div",F_,[e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.port2),1),e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.time2),1)])],2))),128)),e.createElementVNode("div",O_,[P_,e.createElementVNode("div",null,[e.createElementVNode("span",L_,e.toDisplayString(m.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt",1)])])])]),W_,e.createElementVNode("div",$_,[e.createElementVNode("div",H_,[M_,e.createElementVNode("div",I_,[e.createElementVNode("span",null,e.toDisplayString(((Be=m.goodWx)==null?void 0:Be.avgFoEcaCons)||"-")+" mt",1)]),G_,e.createElementVNode("div",R_,[e.createElementVNode("span",null,e.toDisplayString(((Me=m.allWx)==null?void 0:Me.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",z_,[U_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Re=m.goodWx)==null?void 0:Re.outEca.avgFoCons)||"-"),1),Y_])]),e.createElementVNode("div",Z_,[Q_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pe=m.goodWx)==null?void 0:pe.inEca.avgFoEcaCons)||"-"),1),J_])]),e.createElementVNode("div",u_,[K_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ue=m.allWx)==null?void 0:Ue.outEca.avgFoCons)||"-"),1),j_])]),e.createElementVNode("div",X_,[q_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ot=m.allWx)==null?void 0:ot.inEca.avgFoEcaCons)||"-"),1),v_])]),eE]),e.createElementVNode("div",tE,[oE,e.createElementVNode("div",lE,[e.createElementVNode("span",null,e.toDisplayString(((lt=m.goodWx)==null?void 0:lt.avgDgoEcaCons)||"-")+" mt",1)]),aE,e.createElementVNode("div",nE,[e.createElementVNode("span",null,e.toDisplayString(((dt=m.allWx)==null?void 0:dt.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",sE,[cE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((rt=m.goodWx)==null?void 0:rt.outEca.avgDgoCons)||"-"),1),iE])]),e.createElementVNode("div",dE,[rE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=m.goodWx)==null?void 0:mt.inEca.avgDgoEcaCons)||"-"),1),mE])]),e.createElementVNode("div",pE,[hE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=m.allWx)==null?void 0:pt.outEca.avgDgoCons)||"-"),1),_E])]),e.createElementVNode("div",EE,[yE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_t=m.allWx)==null?void 0:_t.inEca.avgDgoEcaCons)||"-"),1),NE])]),VE])]),e.createElementVNode("div",fE,[e.createElementVNode("div",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",uE,[KE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=m.allWx)==null?void 0:Ct.outEca.time)||"-"),1),jE])]),e.createElementVNode("div",XE,[qE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((St=m.allWx)==null?void 0:St.inEca.time)||"-"),1),vE])])]),e.createElementVNode("div",ey,[ty,e.createElementVNode("div",oy,[e.createElementVNode("span",null,e.toDisplayString(((Bt=m.goodWx)==null?void 0:Bt.avgSpd)||"-")+" kts",1)]),ly,e.createElementVNode("div",ay,[e.createElementVNode("span",null,e.toDisplayString(((wt=m.allWx)==null?void 0:wt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",ny,[sy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=m.goodWx)==null?void 0:At.outEca.avgSpd)||"-"),1),cy])]),e.createElementVNode("div",iy,[dy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Tt=m.goodWx)==null?void 0:Tt.inEca.avgSpd)||"-"),1),ry])]),e.createElementVNode("div",my,[py,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=m.allWx)==null?void 0:Ft.outEca.avgSpd)||"-"),1),hy])]),e.createElementVNode("div",_y,[Ey,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=m.allWx)==null?void 0:Ot.inEca.avgSpd)||"-"),1),yy])])])]),e.createElementVNode("div",Ny,[e.createElementVNode("div",Vy,[fy,e.createElementVNode("div",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),uy])]),e.createElementVNode("div",Ky,[jy,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=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((Kt=(ut=t.reportData)==null?void 0:ut.weather)!=null&&Kt.noExtrapolation?(jt=m.goodWx)==null?void 0:jt.distance:(Xt=m.allWx)==null?void 0:Xt.distance),1),$N,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.plusAbtSpd),1)]),HN,e.createElementVNode("div",MN,e.toDisplayString(m.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),IN])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",GN,[e.createElementVNode("div",RN,[zN,(qt=m.goodWx)!=null&&qt.distance?(e.openBlock(),e.createElementBlock("div",UN,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",YN,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",ZN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",QN,[e.createElementVNode("span",JN,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",uN,[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",KN,[e.createElementVNode("div",jN,[XN,qN,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),uV,e.createElementVNode("div",null,e.toDisplayString((Yo=m.goodWx)==null?void 0:Yo.time),1)]),KV,e.createElementVNode("div",jV,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=t.reportData)==null?void 0:Zo.weather)!=null&&Qo.noExtrapolation?(Jo=m.goodWx)==null?void 0:Jo.distance:(uo=m.allWx)==null?void 0:uo.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((jo=(Ko=t.reportData)==null?void 0:Ko.weather)!=null&&jo.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",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]),uf]),Kf])]),e.createElementVNode("div",jf,[Xf,e.createElementVNode("div",qf,[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-d80f1a42"]]),GY="",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"?u(o).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?u(o).utc().format("MMMM-DD/HHmm[Z]"):u(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=u(c.utc).utc().format("D-MMM");g!==t&&(c.lastdate=g,t=g),b==="A"?c.type="":b==="M"&&(c.type="*"),c.time=u(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}}},ja=o=>(e.pushScopeId("data-v-c9bf3740"),o=o(),e.popScopeId(),o),F0=ja(()=>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=ja(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg"),e.createElementVNode("th",{rowspan:"2"},"Type"),e.createElementVNode("th",{rowspan:"2"}," Date "),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{colspan:"2"},"Coordinates"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("CP Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{rowspan:"2"},"Beaufort Wind Scale"),e.createElementVNode("th",{colspan:"2"},"Swell"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sig. Wave"),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Current Factor"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Speed"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{colspan:"2"},"CP Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported Daily Fuel Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported BROB (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Lat"),e.createElementVNode("th",null,"Lon"),e.createElementVNode("th",null,"Direction"),e.createElementVNode("th",null,"Height (m)"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),W0={class:"summary-tbody"},$0=e.createStaticVNode('<div style="page-break-inside:avoid;" class="table-legend dashed" data-v-c9bf3740><div class="item" data-v-c9bf3740><div class="legend" data-v-c9bf3740><div class="legend-bg gwd" data-v-c9bf3740></div></div> Good Weather Days </div><div class="item" data-v-c9bf3740><div class="legend" data-v-c9bf3740><div class="legend-bg adverse" data-v-c9bf3740></div></div> Adverse Weather Days </div><div class="item" data-v-c9bf3740><div class="legend" data-v-c9bf3740><div class="legend-bg excluded" data-v-c9bf3740></div></div> Excluded Periods </div></div>',1),H0={class:"voyage-map",style:{"page-break-inside":"avoid"}},M0=ja(()=>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(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-c9bf3740"]]),RY="",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-e76f9905"]]),zY="",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`${u(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:u(n.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+u(n.end).utc().format("MMM-DD/HHmm[Z]"),duration:n.duration,distance:n.distance,fo:n.foCons,dgo:n.dgoCons};this.exclusion.push(E)})})},handleCommit(o){this.editable=!1,this.$emit("commit",o)},handleEdit(){this.editable=!0}}},i=o=>(e.pushScopeId("data-v-44fbbd8a"),o=o(),e.popScopeId(),o),J0={class:"report-summary"},u0={class:"section voyage-section flex-space"},K0={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},j0={class:"flex-space label-block",style:{width:"100%"}},X0=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),q0={style:{"text-transform":"uppercase"}},v0={class:"flex-space label-block",style:{width:"100%"}},e2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),t2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},o2={class:"flex-space label-block",style:{width:"100%"}},l2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),a2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},n2={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},s2={class:"flex-space label-block",style:{width:"100%"}},c2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),i2={key:0,class:"flex-end",style:{flex:"1"}},d2={key:1,class:"flex-end",style:{flex:"1"}},r2=i(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),m2={class:"flex-end",style:{width:"150px"}},p2={class:"flex-space label-block",style:{width:"100%"}},h2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),_2={key:0,class:"flex-end",style:{flex:"1"}},E2={key:1,class:"flex-end",style:{flex:"1"}},y2=i(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),N2={class:"flex-end",style:{width:"150px"}},V2={class:"flex-space label-block",style:{width:"100%"}},f2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),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)),u2=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),K2={class:"phase-conclusion flex-space"},j2={class:"item-conclusion"},X2=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),q2={class:"value flex-start"},v2=i(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),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)),ub={key:1},Kb=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),jb={class:"lost"},Xb=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),qb={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"},ug=i(()=>e.createElementVNode("span",null,"-",-1)),Kg=i(()=>e.createElementVNode("label",null,"=",-1)),jg={class:"speed"},Xg={key:1,class:"speed"},qg={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)),ux=i(()=>e.createElementVNode("label",null,"-",-1)),Kx=i(()=>e.createElementVNode("label",null,"Current Factor",-1)),jx=i(()=>e.createElementVNode("label",null,"-",-1)),Xx=i(()=>e.createElementVNode("label",null,"Weather Factor",-1)),qx=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-44fbbd8a><div class="flex-space" style="width:300px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Time Lost</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(a)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Time Gained</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(c)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(a)</div></div></div>',1),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"},uk=i(()=>e.createElementVNode("label",null,"=",-1)),Kk={class:"formula-right flex-evenly"},jk={class:"fraction",style:{width:"240px"}},Xk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),qk=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"}},u3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),K3=i(()=>e.createElementVNode("div",null,"x",-1)),j3=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)),X3=i(()=>e.createElementVNode("div",null,"(e)",-1)),q3={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-44fbbd8a><div class="flex-space" style="width:300px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Fuel Over-consumption</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(d)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Fuel Saving</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(f)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(d)</div></div></div>',1),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)),uD={class:"formula-right flex-evenly"},KD={class:"fraction",style:{width:"240px"}},jD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),XD=i(()=>e.createElementVNode("div",null,"x",-1)),qD={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"},uC=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)),KC={class:"formula-right flex-evenly"},jC={class:"fraction",style:{width:"240px"}},XC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),qC=i(()=>e.createElementVNode("div",null,"x",-1)),vC={class:"fraction",style:{width:"240px"}},eS={key:0},tS=i(()=>e.createElementVNode("span",null," - ",-1)),oS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),lS=i(()=>e.createElementVNode("div",null,"=",-1)),aS=i(()=>e.createElementVNode("div",null,"(d'')",-1)),nS={class:"flex-evenly"},sS=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),cS={class:"formula-right flex-evenly"},iS={class:"fraction",style:{width:"240px"}},dS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),rS=i(()=>e.createElementVNode("div",null,"x",-1)),mS={class:"fraction",style:{width:"240px"}},pS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),hS=i(()=>e.createElementVNode("div",null,"24",-1)),_S=i(()=>e.createElementVNode("div",null,"=",-1)),ES=i(()=>e.createElementVNode("div",null,"(e'')",-1)),yS={class:"flex-evenly"},NS=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),VS={class:"formula-right flex-evenly"},fS={class:"fraction",style:{width:"240px"}},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",u0,[e.createElementVNode("div",K0,[e.createElementVNode("div",j0,[X0,e.createElementVNode("span",q0,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,j)=>{var v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,ue,Ke,je,A,Se,Ge,Xe,qe,ve,et,tt,m;return e.openBlock(),e.createElementBlock("div",{key:"summary"+j,class:"segment-box flex-space"},[e.createElementVNode("div",B2,[e.createElementVNode("div",w2,"Seg."+e.toDisplayString(j+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=(X=l==null?void 0:l.extend)==null?void 0:X.cp)==null?void 0:me.dgo)+" |",1),e.createElementVNode("span",null,[Q2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(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)])])])])]),u2,e.createElementVNode("div",K2,[e.createElementVNode("div",j2,[X2,e.createElementVNode("div",q2,[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,[((Ke=(ue=l==null?void 0:l.fuelConclusion)==null?void 0:ue.dgo)==null?void 0:Ke.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Ib,"DO/GO Saving")):((A=(je=l==null?void 0:l.fuelConclusion)==null?void 0:je.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((qe=(Xe=l==null?void 0:l.fuelConclusion)==null?void 0:Xe.dgo)==null?void 0:qe.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",ub,[Kb,e.createElementVNode("span",jb,e.toDisplayString((m=(tt=l==null?void 0:l.fuelConclusion)==null?void 0:tt.dgo)==null?void 0:m.overCons),1),Xb])):(e.openBlock(),e.createElementBlock("div",qb,"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,j)=>(e.openBlock(),e.createElementBlock("tr",{key:j},[e.createElementVNode("td",null,e.toDisplayString(j+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,j)=>{var v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,ue,Ke,je,A,Se,Ge,Xe,qe,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,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,ut,Kt,jt,Xt,qt,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,uo,Ko,jo,Xo,qo,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,ul,Kl,jl,Xl,ql,vl,ea,ta,oa,la,aa,na,sa,ca,ia,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ba,ga,xa,Z,ao,ka,Da,Ca,Sa,Ba,wa,Aa,Ta,Qe,Ha,Ma,Ia,Ga,K,Mo,Ra,za,Ua,Ya,Za,Qa,Ja,ua,ct,kn,Dn,Cn,Sn,Bn,wn,An,Tn,Fn,On,Pn,Ln,Wn,$n,Hn,Mn,In,Gn,Rn,zn,Un,Yn,Zn,Qn,Jn,un,Kn,jn,Xn,qn,vn,es,ts,os,ls,as,ns,ss,cs,is,ds,rs,ms,ps,hs,_s,Es,ys,Ns,Vs,fs,bs,gs,xs,ks,Ds,Cs,Ss,Bs,ws,As,Ts,Fs,Os,Ps,Ls,Ws,$s,Hs,Ms,Is,Gs,Rs,zs,Us,Ys,Zs,Qs,Js,us,Ks,js,Xs,qs,vs,ec,tc,oc,lc,ac,nc,sc,cc,ic,dc,rc,mc,pc,hc,_c,Ec,yc,Nc,Vc,fc,bc,gc,xc,kc,Dc,Cc;return e.openBlock(),e.createElementBlock("div",{key:j,class:"segment-block"},[e.createElementVNode("div",rg,"Voyage Analysis Seg. "+e.toDisplayString(j+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,gY)=>{var Sc,Bc,wc,Ac,Tc,Fc,Oc,Pc,Lc,Wc;return e.openBlock(),e.createElementBlock("div",{key:gY,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=(X=l==null?void 0:l.goodWx)==null?void 0:X.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(((Ke=(ue=l==null?void 0:l.allWx)==null?void 0:ue.outEca)==null?void 0:Ke.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((A=(je=l==null?void 0:l.allWx)==null?void 0:je.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(((qe=(Xe=l==null?void 0:l.goodWx)==null?void 0:Xe.inEca)==null?void 0:qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((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[j])!=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",qg,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",Xg,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),ug,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),Kg,e.createElementVNode("span",jg,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},[(Xt=(jt=t.report)==null?void 0:jt.weather)!=null&&Xt.disableWxFactor&&((vt=(qt=t.report)==null?void 0:qt.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},[(ut=(Jt=t.report)==null?void 0:Jt.weather)!=null&&ut.favorableCur&&((Kt=l==null?void 0:l.goodWx)==null?void 0:Kt.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},[qx,vx,ek,tk],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Jx,ux,Kx,jx,Xx],64))])])])),ok,e.createElementVNode("div",lk,[e.createElementVNode("div",ak,[nk,e.createElementVNode("div",sk,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(j+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,(Ko=(uo=l==null?void 0:l.extend)==null?void 0:uo.cp)==null?void 0:Ko.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,(Xo=(jo=l==null?void 0:l.extend)==null?void 0:jo.cp)==null?void 0:Xo.speed,"Over"))+"kts)",1),Ck]),e.createElementVNode("div",Sk,[e.createElementVNode("div",Bk,[e.createElementVNode("div",null,e.toDisplayString((vo=(qo=t.report)==null?void 0:qo.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),uk]),e.createElementVNode("div",Kk,[e.createElementVNode("div",jk,[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),Xk,e.createElementVNode("div",null,e.toDisplayString((Cl=l==null?void 0:l.timeConclusion)==null?void 0:Cl.minusAbtSpd),1)]),qk,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(j+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((Kl=(ul=t.report)==null?void 0:ul.weather)!=null&&Kl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),$3,H3]),M3,I3,G3])]),e.createElementVNode("div",R3,[z3,((Xl=(jl=l.extend)==null?void 0:jl.cp)==null?void 0:Xl.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=(ql=t.report)==null?void 0:ql.weather)!=null&&vl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),u3,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)]),K3,j3,X3])]),e.createElementVNode("div",q3,[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(j+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",uD,[e.createElementVNode("div",KD,[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),jD,e.createElementVNode("div",null,e.toDisplayString((Ra=l==null?void 0:l.timeConclusion)==null?void 0:Ra.minusAbtSpd),1)]),XD,e.createElementVNode("div",qD,[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?(ua=l==null?void 0:l.goodWx)==null?void 0:ua.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)):((Kn=(un=l==null?void 0:l.fuelConclusion)==null?void 0:un.fo)==null?void 0:Kn.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=(jn=l==null?void 0:l.fuelConclusion)==null?void 0:jn.fo)==null?void 0:Xn.minCons),1),PC,e.createElementVNode("div",null,e.toDisplayString((vn=(qn=l==null?void 0:l.fuelConclusion)==null?void 0:qn.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(j+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,[uC,e.createElementVNode("div",KC,[e.createElementVNode("div",jC,[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),XC,e.createElementVNode("div",null,e.toDisplayString((Fs=l==null?void 0:l.goodWx)==null?void 0:Fs.pfmSpd),1)]),qC,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((us=(Js=l.fuelConclusion)==null?void 0:Js.dgo)==null?void 0:us.maxCons)+" (mt)",1),ES])]),e.createElementVNode("div",yS,[NS,e.createElementVNode("div",VS,[e.createElementVNode("div",fS,[e.createElementVNode("div",null,e.toDisplayString((js=(Ks=t.report)==null?void 0:Ks.weather)!=null&&js.noExtrapolation?(Xs=l==null?void 0:l.goodWx)==null?void 0:Xs.distance:(qs=l==null?void 0:l.allWx)==null?void 0:qs.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-44fbbd8a"]]),UY="",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`${u(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}}},q=o=>(e.pushScopeId("data-v-a18f941f"),o=o(),e.popScopeId(),o),JS={class:"report-inventory"},uS={class:"section summary-section"},KS=q(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),jS={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)),e4=q(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),t4=q(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),o4=q(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),l4={class:"section inventory-section"},a4=e.createStaticVNode('<div class="legends flex-space" data-v-a18f941f><div class="flex-start" style="flex:1.2;" data-v-a18f941f><div class="legend good-wx" data-v-a18f941f></div><div class="label flex-end" data-v-a18f941f>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-a18f941f><div class="legend adverse-wx" data-v-a18f941f></div><div class="label" data-v-a18f941f>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-a18f941f><div class="legend excluded" data-v-a18f941f></div><div class="label" data-v-a18f941f>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-a18f941f><div data-v-a18f941f><label data-v-a18f941f>B</label><span data-v-a18f941f>BOSP</span></div><div data-v-a18f941f><label data-v-a18f941f>N</label><span data-v-a18f941f>NOON</span></div><div data-v-a18f941f><label data-v-a18f941f>E</label><span data-v-a18f941f>EOSP</span></div><div data-v-a18f941f><label data-v-a18f941f>*</label><span data-v-a18f941f>Ship Reported Position</span></div></div></div>',1),n4={class:"inventory-block flex-center"},s4={style:{"font-size":"12px"}},c4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),i4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),d4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),r4=q(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),m4=["colspan"],p4={key:0,class:"label",colspan:"2"},h4=q(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),_4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),E4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),y4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),N4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),V4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),f4={key:0,class:"label",rowspan:"2"},b4=q(()=>e.createElementVNode("br",null,null,-1)),g4={key:1,class:"label",rowspan:"2"},x4=q(()=>e.createElementVNode("br",null,null,-1)),k4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),D4={key:2,class:"label",rowspan:"2"},C4=q(()=>e.createElementVNode("br",null,null,-1)),S4={key:3,class:"label",colspan:"2"},B4={key:4,class:"label",rowspan:"2"},w4=q(()=>e.createElementVNode("br",null,null,-1)),A4={key:5,class:"label",colspan:"2"},T4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),F4={key:6,class:"label",rowspan:"2"},O4={key:7,class:"label",rowspan:"2"},P4={key:8,class:"label",rowspan:"2"},L4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),W4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),$4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),H4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),M4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),I4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),G4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),R4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),z4=q(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),U4=q(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),Y4=q(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),Z4=q(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),Q4={key:0,class:"label"},J4={key:1,class:"label"},u4={key:2,class:"label"},K4={key:3,class:"label"},j4=q(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),X4=q(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),q4=q(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),v4=q(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),e5=q(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),t5=q(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),o5=q(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),l5=q(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),a5={class:"summary-tbody"};function n5(o,s,t,r,a,n){var E;return e.openBlock(),e.createElementBlock("div",JS,[e.createElementVNode("div",uS,[KS,e.createElementVNode("div",jS,[e.createElementVNode("table",null,[XS,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",qS,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,[e4,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,[t4,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,[o4,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",l4,[a4,e.createElementVNode("div",n4,[e.createElementVNode("table",s4,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[c4,i4,d4,r4,e.createElementVNode("th",{class:"label",colspan:n.computeWxColspan},"ORM Weather Analysis",8,m4),t.showFactor?(e.openBlock(),e.createElementBlock("th",p4,"Factor")):e.createCommentVNode("",!0),h4,_4]),e.createElementVNode("tr",null,[E4,y4,N4,V4,a.showAisDistance?(e.openBlock(),e.createElementBlock("th",f4,[e.createTextVNode("Spd"),b4,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("th",g4,[e.createTextVNode("Dis"),x4,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),k4,a.showWave?(e.openBlock(),e.createElementBlock("th",D4,[e.createTextVNode("Sea HT"),C4,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",S4,"Swell")):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("th",B4,[e.createTextVNode("Sig Wave"),w4,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",A4,"Current")):e.createCommentVNode("",!0),T4,t.showFactor?(e.openBlock(),e.createElementBlock("th",F4,"cFactor")):e.createCommentVNode("",!0),t.showFactor?(e.openBlock(),e.createElementBlock("th",O4,"wxFactor")):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("th",P4,"Water Temp.")):e.createCommentVNode("",!0),L4,W4,$4,H4,M4,I4,G4,R4]),e.createElementVNode("tr",null,[z4,U4,Y4,Z4,a.showSwell?(e.openBlock(),e.createElementBlock("th",Q4,"Dir")):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",J4,"HT(m)")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",u4,"Dir")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",K4,"CF(kts)")):e.createCommentVNode("",!0),j4,X4,q4,v4,e5,t5,o5,l5])]),e.createElementVNode("tbody",a5,[(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 s5=Ce(QS,[["render",n5],["__scopeId","data-v-a18f941f"]]),YY="",c5={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`${u(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-92ed3e90"),o=o(),e.popScopeId(),o),i5={class:"report-summary"},d5={class:"section chart-section"},r5=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)),m5={class:"chart-block"},p5={ref:"spdFoConsChart",class:"chart"},h5={ref:"spdDgoConsChart",class:"chart"},_5={ref:"currChart",class:"chart"},E5={class:"section map-section"},y5=ml(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),N5={class:"map-block"},V5={class:"flex-space"},f5={class:"voyage-block",style:{height:"197px"}},b5={class:"flex-space label-block",style:{width:"100%"}},g5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),x5={style:{"text-transform":"uppercase"}},k5={class:"flex-space label-block",style:{width:"100%"}},D5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),C5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},S5={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},B5={class:"flex-space label-block",style:{width:"100%"}},w5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),A5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},T5={class:"flex-space label-block",style:{width:"100%"}},F5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),O5={key:0,class:"flex-end",style:{flex:"1"}},P5={key:1,class:"flex-end",style:{flex:"1"}},L5=ml(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),W5={class:"flex-end",style:{width:"160px"}},$5={class:"flex-space label-block",style:{width:"100%"}},H5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),M5={key:0,class:"flex-end",style:{flex:"1"}},I5={key:1,class:"flex-end",style:{flex:"1"}},G5=ml(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),R5={class:"flex-end",style:{width:"160px"}},z5={class:"flex-space label-block",style:{width:"100%"}},U5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),Y5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},Z5=e.createStaticVNode('<div class="legend-block" data-v-92ed3e90><div style="position:absolute;margin-top:-8px;" data-v-92ed3e90>LEGEND</div><div class="flex-space" data-v-92ed3e90><div data-v-92ed3e90>0812</div><div data-v-92ed3e90><div data-v-92ed3e90>08 - Day of the month</div><div data-v-92ed3e90>12 - Hours of the day</div></div></div><div class="flex-space" data-v-92ed3e90><div data-v-92ed3e90><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-92ed3e90></i></div><div data-v-92ed3e90><div data-v-92ed3e90>Wind from N (000)</div><div data-v-92ed3e90>Each bard = 10 kts</div><div data-v-92ed3e90>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-92ed3e90><div data-v-92ed3e90>W 4</div><div data-v-92ed3e90>Sig. Wave from West, 4 meters</div></div><div class="flex-space" data-v-92ed3e90><div class="good-wx" data-v-92ed3e90>Date</div><div data-v-92ed3e90>Good weather days</div></div></div>',1),Q5=["src"],J5=e.createStaticVNode('<div class="section method-section" data-v-92ed3e90><div class="header-block flex-center" data-v-92ed3e90><i class="iconfont" data-v-92ed3e90></i><div class="title" data-v-92ed3e90>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-92ed3e90><div class="method-title" data-v-92ed3e90>1. Good Weather Method</div><div class="method-body" data-v-92ed3e90> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd's Rep 166 and The Gas Enterprise [1993] 2 Lloyd's Rep. 352. <br data-v-92ed3e90> 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-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-92ed3e90> Speed and Consumption Calculation applies allowed time and allowed consumption calculated based on cp speed and consumption in good weather conditions. Complying with maritime arbitration standards, time loss and over/under-consumption is not calculated when there are no good weather days. </div></div><div class="method-block" data-v-92ed3e90><div class="method-title" data-v-92ed3e90>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-92ed3e90> To complete the Good Weather Analysis method requests daily noon positions (including time, distance, weather, seas, bunker consumption, etc.) from the Master, which are to be inspected in evaluation reports. We will apply our analyzed distances. Weather and sea conditions in reports represent our verified weather data. </div></div><div class="method-block" data-v-92ed3e90><div class="method-title" data-v-92ed3e90>4. “About”</div><div class="method-body" data-v-92ed3e90> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-92ed3e90> As per the High Court decision on The Gaz Energy (2012) 852 LMLN 2 a plus 5% tolerance in over-consumption calculation and a minus 5% tolerance in under-consumption are employed respectively when an “about” is included with the consumption warranty, unless otherwise stipulated. </div></div><div class="method-block" data-v-92ed3e90><div class="method-title" data-v-92ed3e90>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-92ed3e90> The following methodology will be applied to analyze bunker consumption when the bunker type is switched over, such as in ECA/SECA zone. <br data-v-92ed3e90> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-92ed3e90> 5-2 Considering DO/GO consumption in the switch over period the amount of DO/GO consumed will initially be compared to the DO/GO warranted figure; the remaining DO/GO consumed in the switch over period will then be compared to the warranted IFO figure. In cases of partial steaming Days, the DO/GO consumed will be converted basis a calculation for hourly consumption. </div><div class="method-block" data-v-92ed3e90><div class="method-title" data-v-92ed3e90>6. Further reference materials</div><div class="method-body" data-v-92ed3e90>Please send mail to <a href="mailto:op@ormwx.com" data-v-92ed3e90>op@ormwx.com</a>.</div></div></div></div>',1);function u5(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",i5,[e.createElementVNode("div",d5,[r5,e.createElementVNode("div",m5,[e.createElementVNode("div",p5,null,512),e.createElementVNode("div",h5,null,512),e.createElementVNode("div",_5,null,512)])]),e.createElementVNode("div",E5,[y5,e.createElementVNode("div",N5,[e.createElementVNode("div",V5,[e.createElementVNode("div",f5,[e.createElementVNode("div",b5,[g5,e.createElementVNode("span",x5,e.toDisplayString(t.report.preparedFor),1)]),e.createElementVNode("div",k5,[D5,e.createElementVNode("span",C5,e.toDisplayString((b=(p=t.report)==null?void 0:p.vessel)==null?void 0:b.name),1),e.createElementVNode("span",S5,"("+e.toDisplayString((h=(g=t.report)==null?void 0:g.vessel)==null?void 0:h.type)+")",1)]),e.createElementVNode("div",B5,[w5,e.createElementVNode("span",A5,e.toDisplayString((D=(N=t.report)==null?void 0:N.voyage)==null?void 0:D.number),1)]),e.createElementVNode("div",T5,[F5,(C=(x=t.report)==null?void 0:x.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",O5,e.toDisplayString((T=(k=t.report)==null?void 0:k.departure)==null?void 0:T.portName),1)):(e.openBlock(),e.createElementBlock("div",P5,[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"]),L5,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",W5,e.toDisplayString(n.computeUTCTime((f=t.report.departure)==null?void 0:f.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",$5,[H5,(I=(O=t.report)==null?void 0:O.arrival)!=null&&I.portName?(e.openBlock(),e.createElementBlock("span",M5,e.toDisplayString((R=(G=t.report)==null?void 0:G.arrival)==null?void 0:R.portName),1)):(e.openBlock(),e.createElementBlock("div",I5,[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"]),G5,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",R5,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",z5,[U5,e.createElementVNode("span",Y5,e.toDisplayString((Q=(M=t.report)==null?void 0:M.voyage)==null?void 0:Q.loadCondition),1)])]),Z5]),e.createElementVNode("img",{src:(U=t.report)==null?void 0:U.chartUrl,alt:""},null,8,Q5)])]),J5])}const K5=Ce(c5,[["render",u5],["__scopeId","data-v-92ed3e90"]]),ZY="",QY="",j5={name:"OrmVoyageEmail",props:{report:{type:Object,default:()=>({})},voyageEmails:{type:Array,default:()=>[]}},emits:["commit"],data(){return{}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${u(o).utc().format(s)}`}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{voyageEmails:{handler(o,s){o.length>0&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){document.getElementById("col1").innerHTML=null,document.getElementById("col2").innerHTML=null;const o=this.voyageEmails.sort((s,t)=>s.date<t.date);o==null||o.forEach((s,t)=>{var p,b;let r="<div>";s.to.includes("op@ormwx.com")||s.source==="VRT"?(((b=(p=s.body)==null?void 0:p.replace(/^"|"$/g,""))==null?void 0:b.split("\\n")).forEach(h=>{const N=`<p>${h}</p>`;r=r+N}),r=r+"</div>"):r=s.body;const a=document.getElementById("col1"),n=document.getElementById("col2"),E=(a==null?void 0:a.offsetHeight)||0,c=(n==null?void 0:n.offsetHeight)||0;if(E<=c){let h=`<div class="${s.to.includes("op@ormwx.com")||s.source==="VRT"?"vrpt-mail-item vrpt-item-left vrpt-inbox":"vrpt-mail-item vrpt-item-left vrpt-outbox"}">
|
|
41
|
+
-3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)];function 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)}},LY="",WY="",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"?u(o).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s=="table"?u(o).utc().format("MMMM-DD/HHmm[Z]"):s=="summary"?u(o).utc().format("MMMM D, HHmm[Z]"):s?u(o).utc().format(s):u(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:u(c.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:u(c.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:u(c.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+u(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)),uh={class:"content"},Kh={key:2,class:"item"},jh=d(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),Xh={class:"content"},qh={key:3,class:"item"},vh=d(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),e1={class:"content"},t1={key:4,class:"item"},o1=[d(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],l1={key:5,class:"item"},a1=[d(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],n1={class:"definition flexM"},s1={class:"table"},c1=d(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"CP"),e.createElementVNode("td",null,"Speed (kts)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),i1=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),d1={class:"summary"},r1={key:0,class:"summary-overall"},m1=d(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),p1={class:"summary-overall-row"},h1={class:"card"},_1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),E1={class:"main-content"},y1={key:0},N1={key:1},V1={class:"card"},f1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),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"}},u1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),K1={key:0,class:"main-content"},j1={key:0,class:"iconfont success"},X1={key:1,class:"iconfont error"},q1={key:1,class:"main-content"},v1={class:"card-content",style:{"justify-content":"flex-start"}},e_={class:"card summary-card",style:{flex:"1"}},t_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),o_={key:0,class:"main-content"},l_={key:0,class:"iconfont success"},a_={key:1,class:"iconfont error"},n_={key:1,class:"main-content"},s_={class:"card-content",style:{"justify-content":"flex-start"}},c_={class:"card summary-card",style:{flex:"1"}},i_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),d_={key:0,class:"main-content"},r_={key:0,class:"iconfont success"},m_={key:1,class:"iconfont error"},p_={key:1,class:"main-content"},h_={class:"card-content",style:{"justify-content":"flex-start"}},__={style:{"page-break-inside":"avoid"}},E_=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),y_={class:"remarks"},N_={class:"item"},V_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),f_={class:"speed"},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)),u_={class:"card-content"},K_=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),j_=d(()=>e.createElementVNode("span",null,"mt",-1)),X_={class:"card-content"},q_=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),v_=d(()=>e.createElementVNode("span",null,"mt",-1)),eE=d(()=>e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"FO Cons. + M/E DO/GO Cons. in ECA")],-1)),tE={class:"card phase-card",style:{flex:"1"}},oE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),lE={class:"main-content"},aE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),nE={class:"main-content"},sE={class:"card-content"},cE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),iE=d(()=>e.createElementVNode("span",null,"mt",-1)),dE={class:"card-content"},rE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),mE=d(()=>e.createElementVNode("span",null,"mt",-1)),pE={class:"card-content"},hE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),_E=d(()=>e.createElementVNode("span",null,"mt",-1)),EE={class:"card-content"},yE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),NE=d(()=>e.createElementVNode("span",null,"mt",-1)),VE=d(()=>e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"DO/GO Cons. - M/E DO/GO Cons. in ECA")],-1)),fE={class:"phase-analysis"},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)),uE={class:"card-content"},KE=d(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),jE=d(()=>e.createElementVNode("span",null,"hrs",-1)),XE={class:"card-content"},qE=d(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),vE=d(()=>e.createElementVNode("span",null,"hrs",-1)),ey={class:"card phase-card",style:{flex:"1"}},ty=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),oy={class:"main-content"},ly=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),ay={class:"main-content"},ny={class:"card-content"},sy=d(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),cy=d(()=>e.createElementVNode("span",null,"kts",-1)),iy={class:"card-content"},dy=d(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),ry=d(()=>e.createElementVNode("span",null,"kts",-1)),my={class:"card-content"},py=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),hy=d(()=>e.createElementVNode("span",null,"kts",-1)),_y={class:"card-content"},Ey=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),yy=d(()=>e.createElementVNode("span",null,"kts",-1)),Ny={class:"phase-analysis"},Vy={class:"card phase-card",style:{flex:"1"}},fy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),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)),uy=d(()=>e.createElementVNode("span",null,"mt",-1)),Ky={class:"card-content"},jy=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),Xy=d(()=>e.createElementVNode("span",null,"mt",-1)),qy={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},vy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),eN={class:"main-content"},tN={class:"card-content"},oN=d(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),lN={key:0},aN=d(()=>e.createElementVNode("span",null,"kts",-1)),nN={key:1},sN={class:"phase-card"},cN={class:"card",style:{flex:"1"}},iN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),dN={key:0,class:"main-content"},rN={key:0,class:"iconfont success"},mN={key:1,class:"iconfont error"},pN={key:1,class:"main-content"},hN={class:"nogwd"},_N={class:"card-content",style:{"justify-content":"flex-start"}},EN={key:0},yN={class:"equation"},NN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),VN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),fN={style:{width:"8%"}},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"},uN={class:"card-content",style:{"justify-content":"flex-start"}},KN={key:0},jN={class:"equation"},XN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),qN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),vN={style:{width:"8%"}},eV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),oV={style:{width:"120px"}},lV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),aV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),nV={style:{width:"10%"}},sV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),cV={class:"equation"},iV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),dV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),rV={style:{width:"8%"}},mV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),pV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),hV={style:{width:"120px"}},_V=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),EV=d(()=>e.createElementVNode("div",null,"24",-1)),yV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),NV={style:{width:"10%"}},VV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),fV={class:"equation"},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"}},uV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),KV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),jV={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)),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)),uf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),Kf=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)),jf={class:"flexL formular-item",style:{"margin-left":"20px"}},Xf=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),qf={class:""},vf={class:"equation"},e0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),t0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),o0={style:{width:"25%"},class:"fraction"},l0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),a0=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),n0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),s0=d(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Good Weather Consumption"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),c0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),i0={class:"equation"},d0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),r0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),m0={style:{width:"25%"},class:"fraction"},p0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),h0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),_0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),E0=d(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption + Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),y0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),N0={class:"equation"},V0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),f0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),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,j,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,ue,Ke,je,A,Se,Ge,Xe,qe,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",uh,e.toDisplayString(((v=(j=t.reportData)==null?void 0:j.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",Kh,[jh,e.createElementVNode("div",Xh,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=(X=t.reportData)==null?void 0:X.weather)!=null&&me.sigSwitch?(e.openBlock(),e.createElementBlock("div",qh,[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((Ke=(ue=t.reportData)==null?void 0:ue.goodWx)==null?void 0:Ke.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=(je=t.reportData)==null?void 0:je.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((qe=(Xe=t.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=t.reportData)==null?void 0:ve.segments,(m,$)=>{var Be,Ie,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,[u1,(Be=m.goodWx)!=null&&Be.distance?(e.openBlock(),e.createElementBlock("div",K1,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",j1,"")):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_,(Ie=m.goodWx)!=null&&Ie.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,Ie)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Ie},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,Ie,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,Me,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,ut,Kt,jt,Xt,qt,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,uo,Ko,jo,Xo,qo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl;return e.openBlock(),e.createElementBlock("div",{key:$,class:"phase"},[e.createElementVNode("div",C_,[e.createElementVNode("div",S_,[e.createElementVNode("div",B_,[e.createElementVNode("div",w_,[A_,e.createElementVNode("span",null,"Phase "+e.toDisplayString($+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(st,pl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+pl,class:e.normalizeClass(a.segDetail[$].length>1?"dashed":"")},[e.createElementVNode("div",T_,[e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.port1),1),e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.time1),1)]),e.createElementVNode("div",F_,[e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.port2),1),e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.time2),1)])],2))),128)),e.createElementVNode("div",O_,[P_,e.createElementVNode("div",null,[e.createElementVNode("span",L_,e.toDisplayString(m.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt",1)])])])]),W_,e.createElementVNode("div",$_,[e.createElementVNode("div",H_,[M_,e.createElementVNode("div",I_,[e.createElementVNode("span",null,e.toDisplayString(((Be=m.goodWx)==null?void 0:Be.avgFoEcaCons)||"-")+" mt",1)]),G_,e.createElementVNode("div",R_,[e.createElementVNode("span",null,e.toDisplayString(((Ie=m.allWx)==null?void 0:Ie.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",u_,[K_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ue=m.allWx)==null?void 0:Ue.outEca.avgFoCons)||"-"),1),j_])]),e.createElementVNode("div",X_,[q_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ot=m.allWx)==null?void 0:ot.inEca.avgFoEcaCons)||"-"),1),v_])]),eE]),e.createElementVNode("div",tE,[oE,e.createElementVNode("div",lE,[e.createElementVNode("span",null,e.toDisplayString(((lt=m.goodWx)==null?void 0:lt.avgDgoEcaCons)||"-")+" mt",1)]),aE,e.createElementVNode("div",nE,[e.createElementVNode("span",null,e.toDisplayString(((dt=m.allWx)==null?void 0:dt.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",sE,[cE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((rt=m.goodWx)==null?void 0:rt.outEca.avgDgoCons)||"-"),1),iE])]),e.createElementVNode("div",dE,[rE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=m.goodWx)==null?void 0:mt.inEca.avgDgoEcaCons)||"-"),1),mE])]),e.createElementVNode("div",pE,[hE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=m.allWx)==null?void 0:pt.outEca.avgDgoCons)||"-"),1),_E])]),e.createElementVNode("div",EE,[yE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_t=m.allWx)==null?void 0:_t.inEca.avgDgoEcaCons)||"-"),1),NE])]),VE])]),e.createElementVNode("div",fE,[e.createElementVNode("div",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",uE,[KE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=m.allWx)==null?void 0:Ct.outEca.time)||"-"),1),jE])]),e.createElementVNode("div",XE,[qE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((St=m.allWx)==null?void 0:St.inEca.time)||"-"),1),vE])])]),e.createElementVNode("div",ey,[ty,e.createElementVNode("div",oy,[e.createElementVNode("span",null,e.toDisplayString(((Bt=m.goodWx)==null?void 0:Bt.avgSpd)||"-")+" kts",1)]),ly,e.createElementVNode("div",ay,[e.createElementVNode("span",null,e.toDisplayString(((wt=m.allWx)==null?void 0:wt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",ny,[sy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=m.goodWx)==null?void 0:At.outEca.avgSpd)||"-"),1),cy])]),e.createElementVNode("div",iy,[dy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Tt=m.goodWx)==null?void 0:Tt.inEca.avgSpd)||"-"),1),ry])]),e.createElementVNode("div",my,[py,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=m.allWx)==null?void 0:Ft.outEca.avgSpd)||"-"),1),hy])]),e.createElementVNode("div",_y,[Ey,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=m.allWx)==null?void 0:Ot.inEca.avgSpd)||"-"),1),yy])])])]),e.createElementVNode("div",Ny,[e.createElementVNode("div",Vy,[fy,e.createElementVNode("div",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),uy])]),e.createElementVNode("div",Ky,[jy,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(((Me=m.goodWx)==null?void 0:Me.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((Kt=(ut=t.reportData)==null?void 0:ut.weather)!=null&&Kt.noExtrapolation?(jt=m.goodWx)==null?void 0:jt.distance:(Xt=m.allWx)==null?void 0:Xt.distance),1),$N,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.plusAbtSpd),1)]),HN,e.createElementVNode("div",MN,e.toDisplayString(m.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),IN])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",GN,[e.createElementVNode("div",RN,[zN,(qt=m.goodWx)!=null&&qt.distance?(e.openBlock(),e.createElementBlock("div",UN,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",YN,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",ZN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",QN,[e.createElementVNode("span",JN,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",uN,[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",KN,[e.createElementVNode("div",jN,[XN,qN,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),uV,e.createElementVNode("div",null,e.toDisplayString((Yo=m.goodWx)==null?void 0:Yo.time),1)]),KV,e.createElementVNode("div",jV,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=t.reportData)==null?void 0:Zo.weather)!=null&&Qo.noExtrapolation?(Jo=m.goodWx)==null?void 0:Jo.distance:(uo=m.allWx)==null?void 0:uo.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((jo=(Ko=t.reportData)==null?void 0:Ko.weather)!=null&&jo.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",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]),uf]),Kf])]),e.createElementVNode("div",jf,[Xf,e.createElementVNode("div",qf,[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"]]),GY="",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"?u(o).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?u(o).utc().format("MMMM-DD/HHmm[Z]"):u(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=u(c.utc).utc().format("D-MMM");g!==t&&(c.lastdate=g,t=g),b==="A"?c.type="":b==="M"&&(c.type="*"),c.time=u(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}}},ja=o=>(e.pushScopeId("data-v-ec7ec0f5"),o=o(),e.popScopeId(),o),F0=ja(()=>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=ja(()=>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=ja(()=>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"]]),RY="",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"]]),zY="",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`${u(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:u(n.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+u(n.end).utc().format("MMM-DD/HHmm[Z]"),duration:n.duration,distance:n.distance,fo:n.foCons,dgo:n.dgoCons};this.exclusion.push(E)})})},handleCommit(o){this.editable=!1,this.$emit("commit",o)},handleEdit(){this.editable=!0}}},i=o=>(e.pushScopeId("data-v-44fbbd8a"),o=o(),e.popScopeId(),o),J0={class:"report-summary"},u0={class:"section voyage-section flex-space"},K0={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},j0={class:"flex-space label-block",style:{width:"100%"}},X0=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),q0={style:{"text-transform":"uppercase"}},v0={class:"flex-space label-block",style:{width:"100%"}},e2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),t2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},o2={class:"flex-space label-block",style:{width:"100%"}},l2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),a2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},n2={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},s2={class:"flex-space label-block",style:{width:"100%"}},c2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),i2={key:0,class:"flex-end",style:{flex:"1"}},d2={key:1,class:"flex-end",style:{flex:"1"}},r2=i(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),m2={class:"flex-end",style:{width:"150px"}},p2={class:"flex-space label-block",style:{width:"100%"}},h2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),_2={key:0,class:"flex-end",style:{flex:"1"}},E2={key:1,class:"flex-end",style:{flex:"1"}},y2=i(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),N2={class:"flex-end",style:{width:"150px"}},V2={class:"flex-space label-block",style:{width:"100%"}},f2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),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)),u2=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),K2={class:"phase-conclusion flex-space"},j2={class:"item-conclusion"},X2=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),q2={class:"value flex-start"},v2=i(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),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)),ub={key:1},Kb=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),jb={class:"lost"},Xb=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),qb={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"},ug=i(()=>e.createElementVNode("span",null,"-",-1)),Kg=i(()=>e.createElementVNode("label",null,"=",-1)),jg={class:"speed"},Xg={key:1,class:"speed"},qg={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)),ux=i(()=>e.createElementVNode("label",null,"-",-1)),Kx=i(()=>e.createElementVNode("label",null,"Current Factor",-1)),jx=i(()=>e.createElementVNode("label",null,"-",-1)),Xx=i(()=>e.createElementVNode("label",null,"Weather Factor",-1)),qx=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-44fbbd8a><div class="flex-space" style="width:300px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Time Lost</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(a)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Time Gained</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(c)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(a)</div></div></div>',1),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"},uk=i(()=>e.createElementVNode("label",null,"=",-1)),Kk={class:"formula-right flex-evenly"},jk={class:"fraction",style:{width:"240px"}},Xk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),qk=i(()=>e.createElementVNode("div",null,"=",-1)),vk=i(()=>e.createElementVNode("div",null,"(b')",-1)),eD={class:"flex-center"},tD={class:"formula-left flex-space"},oD=i(()=>e.createElementVNode("label",null,"=",-1)),lD={class:"formula-right flex-evenly"},aD={class:"fraction",style:{width:"240px"}},nD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),sD=i(()=>e.createElementVNode("div",null,"=",-1)),cD=i(()=>e.createElementVNode("div",null,"(c')",-1)),iD={class:"formula-conclusion",style:{"margin-bottom":"0"}},dD={key:0,class:"flex-evenly",style:{width:"500px"}},rD=i(()=>e.createElementVNode("div",null,"Time Lost",-1)),mD=i(()=>e.createElementVNode("div",null,"=",-1)),pD=i(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),hD=i(()=>e.createElementVNode("div",null,"=",-1)),_D=i(()=>e.createElementVNode("div",null,"-",-1)),ED=i(()=>e.createElementVNode("div",null,"=",-1)),yD={key:1,class:"flex-evenly",style:{width:"500px"}},ND=i(()=>e.createElementVNode("div",null,"Time Lost",-1)),VD=i(()=>e.createElementVNode("div",null,"=",-1)),fD=i(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),bD=i(()=>e.createElementVNode("div",null,"=",-1)),gD=i(()=>e.createElementVNode("div",null,"-",-1)),xD=i(()=>e.createElementVNode("div",null,"=",-1)),kD=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),DD={key:1,class:"formula-conclusion"},CD=i(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),SD={class:"segment-formula"},BD={class:"header-block flex-start"},wD=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),AD={class:"title"},TD={key:0,style:{"margin-left":"4px","font-weight":"300"}},FD={class:"formula-block"},OD={class:"flex-evenly"},PD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),LD={class:"formula-right flex-evenly"},WD={class:"fraction",style:{width:"240px"}},$D=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),HD=i(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),MD=i(()=>e.createElementVNode("div",null,"x",-1)),ID=i(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Good Weather Consumption*"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),GD=i(()=>e.createElementVNode("div",null,"(d)",-1)),RD={style:{"line-height":"1"}},zD=i(()=>e.createElementVNode("div",{class:"tips flex-end",style:{"font-size":"14px"}},"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),UD={key:0,class:"tips flex-end",style:{"font-size":"14px"}},YD={class:"flex-center"},ZD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),QD={class:"formula-right flex-evenly"},JD={class:"fraction",style:{width:"240px"}},uD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),KD=i(()=>e.createElementVNode("div",null,"x",-1)),jD=i(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Daily CP Consumption + Consumer Over"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"24 hours")],-1)),XD=i(()=>e.createElementVNode("div",null,"(e)",-1)),qD={class:"flex-center"},vD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e3={class:"formula-right flex-evenly"},t3={class:"fraction",style:{width:"240px"}},o3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),l3=i(()=>e.createElementVNode("div",null,"x",-1)),a3=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)),n3=i(()=>e.createElementVNode("div",null,"(f)",-1)),s3=e.createStaticVNode('<div class="flex-start" data-v-44fbbd8a><div class="flex-space" style="width:300px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Fuel Over-consumption</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(d)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Fuel Saving</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(f)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(d)</div></div></div>',1),c3={class:"flex-center"},i3=i(()=>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=i(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),p3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),h3={class:"flex-center"},_3=i(()=>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=i(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),V3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),f3=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)),b3={class:"header-block flex-start",style:{"margin-top":"10px"}},g3=i(()=>e.createElementVNode("i",{class:"iconfont"}," ",-1)),x3={class:"title"},k3={key:0,class:"formula-block"},D3={key:0,class:"flex-evenly"},C3=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)),S3={class:"formula-right flex-evenly"},B3={class:"fraction",style:{width:"60px"}},w3=i(()=>e.createElementVNode("div",null,"-",-1)),A3={class:"fraction",style:{width:"60px"}},T3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),F3=i(()=>e.createElementVNode("div",null,"24",-1)),O3=i(()=>e.createElementVNode("div",null,"*",-1)),P3=i(()=>e.createElementVNode("div",null,"=",-1)),L3={class:"flex-evenly"},W3=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)),$3={class:"formula-right flex-evenly"},H3={class:"fraction",style:{width:"240px"}},M3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),I3=i(()=>e.createElementVNode("div",null,"x",-1)),G3={class:"fraction",style:{width:"240px"}},R3={key:0},z3=i(()=>e.createElementVNode("span",null," + ",-1)),U3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),Y3=i(()=>e.createElementVNode("div",null,"=",-1)),Z3=i(()=>e.createElementVNode("div",null,"(d')",-1)),Q3={class:"flex-evenly"},J3=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),u3={class:"formula-right flex-evenly"},K3={class:"fraction",style:{width:"240px"}},j3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),X3=i(()=>e.createElementVNode("div",null,"x",-1)),q3={class:"fraction",style:{width:"240px"}},v3=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"},uC=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)),KC={class:"formula-right flex-evenly"},jC={class:"fraction",style:{width:"240px"}},XC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),qC=i(()=>e.createElementVNode("div",null,"x",-1)),vC={class:"fraction",style:{width:"240px"}},eS={key:0},tS=i(()=>e.createElementVNode("span",null," - ",-1)),oS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),lS=i(()=>e.createElementVNode("div",null,"=",-1)),aS=i(()=>e.createElementVNode("div",null,"(d'')",-1)),nS={class:"flex-evenly"},sS=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),cS={class:"formula-right flex-evenly"},iS={class:"fraction",style:{width:"240px"}},dS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),rS=i(()=>e.createElementVNode("div",null,"x",-1)),mS={class:"fraction",style:{width:"240px"}},pS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),hS=i(()=>e.createElementVNode("div",null,"24",-1)),_S=i(()=>e.createElementVNode("div",null,"=",-1)),ES=i(()=>e.createElementVNode("div",null,"(e'')",-1)),yS={class:"flex-evenly"},NS=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),VS={class:"formula-right flex-evenly"},fS={class:"fraction",style:{width:"240px"}},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",u0,[e.createElementVNode("div",K0,[e.createElementVNode("div",j0,[X0,e.createElementVNode("span",q0,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,j)=>{var v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,ue,Ke,je,A,Se,Ge,Xe,qe,ve,et,tt,m;return e.openBlock(),e.createElementBlock("div",{key:"summary"+j,class:"segment-box flex-space"},[e.createElementVNode("div",B2,[e.createElementVNode("div",w2,"Seg."+e.toDisplayString(j+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 Ie,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,[(Ie=$==null?void 0:$.departure)!=null&&Ie.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=(X=l==null?void 0:l.extend)==null?void 0:X.cp)==null?void 0:me.dgo)+" |",1),e.createElementVNode("span",null,[Q2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(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)])])])])]),u2,e.createElementVNode("div",K2,[e.createElementVNode("div",j2,[X2,e.createElementVNode("div",q2,[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,[((Ke=(ue=l==null?void 0:l.fuelConclusion)==null?void 0:ue.dgo)==null?void 0:Ke.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Ib,"DO/GO Saving")):((A=(je=l==null?void 0:l.fuelConclusion)==null?void 0:je.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((qe=(Xe=l==null?void 0:l.fuelConclusion)==null?void 0:Xe.dgo)==null?void 0:qe.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",ub,[Kb,e.createElementVNode("span",jb,e.toDisplayString((m=(tt=l==null?void 0:l.fuelConclusion)==null?void 0:tt.dgo)==null?void 0:m.overCons),1),Xb])):(e.openBlock(),e.createElementBlock("div",qb,"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,j)=>(e.openBlock(),e.createElementBlock("tr",{key:j},[e.createElementVNode("td",null,e.toDisplayString(j+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,j)=>{var v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,ue,Ke,je,A,Se,Ge,Xe,qe,ve,et,tt,m,$,Be,Ie,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,Me,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut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,wc,Ac,Tc,Fc,Oc,Pc,Lc,Wc;return e.openBlock(),e.createElementBlock("div",{key:gY,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=(X=l==null?void 0:l.goodWx)==null?void 0:X.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(((Ke=(ue=l==null?void 0:l.allWx)==null?void 0:ue.outEca)==null?void 0:Ke.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((A=(je=l==null?void 0:l.allWx)==null?void 0:je.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(((qe=(Xe=l==null?void 0:l.goodWx)==null?void 0:Xe.inEca)==null?void 0:qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((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=(Ie=l==null?void 0:l.goodWx)==null?void 0:Ie.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[j])!=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",qg,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((Me=l==null?void 0:l.goodWx)==null?void 0:Me.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",Xg,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),ug,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),Kg,e.createElementVNode("span",jg,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},[(Xt=(jt=t.report)==null?void 0:jt.weather)!=null&&Xt.disableWxFactor&&((vt=(qt=t.report)==null?void 0:qt.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},[(ut=(Jt=t.report)==null?void 0:Jt.weather)!=null&&ut.favorableCur&&((Kt=l==null?void 0:l.goodWx)==null?void 0:Kt.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},[qx,vx,ek,tk],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Jx,ux,Kx,jx,Xx],64))])])])),ok,e.createElementVNode("div",lk,[e.createElementVNode("div",ak,[nk,e.createElementVNode("div",sk,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(j+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,(Ko=(uo=l==null?void 0:l.extend)==null?void 0:uo.cp)==null?void 0:Ko.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,(Xo=(jo=l==null?void 0:l.extend)==null?void 0:jo.cp)==null?void 0:Xo.speed,"Over"))+"kts)",1),Ck]),e.createElementVNode("div",Sk,[e.createElementVNode("div",Bk,[e.createElementVNode("div",null,e.toDisplayString((vo=(qo=t.report)==null?void 0:qo.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),uk]),e.createElementVNode("div",Kk,[e.createElementVNode("div",jk,[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),Xk,e.createElementVNode("div",null,e.toDisplayString((Cl=l==null?void 0:l.timeConclusion)==null?void 0:Cl.minusAbtSpd),1)]),qk,e.createElementVNode("div",null,e.toDisplayString((Sl=l==null?void 0:l.timeConclusion)==null?void 0:Sl.timeAtMinusAbtSpd)+" (hrs)",1),vk])]),e.createElementVNode("div",eD,[e.createElementVNode("div",tD,[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),oD]),e.createElementVNode("div",lD,[e.createElementVNode("div",aD,[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),nD,e.createElementVNode("div",null,e.toDisplayString((Pl=l==null?void 0:l.timeConclusion)==null?void 0:Pl.plusAbtSpd),1)]),sD,e.createElementVNode("div",null,e.toDisplayString((Ll=l==null?void 0:l.timeConclusion)==null?void 0:Ll.timeAtPlusAbtSpd)+" (hrs)",1),cD])]),e.createElementVNode("div",iD,[((Wl=l==null?void 0:l.timeConclusion)==null?void 0:Wl.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",dD,[rD,mD,pD,hD,e.createElementVNode("div",null,e.toDisplayString(($l=l==null?void 0:l.timeConclusion)==null?void 0:$l.timeAtPfmSpd),1),_D,e.createElementVNode("div",null,e.toDisplayString((Hl=l==null?void 0:l.timeConclusion)==null?void 0:Hl.timeAtMinusAbtSpd),1),ED,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",yD,[ND,VD,fD,bD,e.createElementVNode("div",null,e.toDisplayString((Gl=l==null?void 0:l.timeConclusion)==null?void 0:Gl.timeAtPlusAbtSpd),1),gD,e.createElementVNode("div",null,e.toDisplayString((Rl=l==null?void 0:l.timeConclusion)==null?void 0:Rl.timeAtPfmSpd),1),xD,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")},[kD,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",DD,e.toDisplayString(a.noGoodWxDay),1))]),CD,e.createElementVNode("div",SD,[e.createElementVNode("div",BD,[wD,e.createElementVNode("div",AD,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(j+1)+" Consumption Analysis",1),(Jl=(Ql=t.report)==null?void 0:Ql.weather)!=null&&Jl.noExtrapolation?(e.openBlock(),e.createElementBlock("span",TD,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",FD,[e.createElementVNode("div",OD,[PD,e.createElementVNode("div",LD,[e.createElementVNode("div",WD,[e.createElementVNode("div",null,e.toDisplayString((Kl=(ul=t.report)==null?void 0:ul.weather)!=null&&Kl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),$D,HD]),MD,ID,GD])]),e.createElementVNode("div",RD,[zD,((Xl=(jl=l.extend)==null?void 0:jl.cp)==null?void 0:Xl.dgo)>0?(e.openBlock(),e.createElementBlock("div",UD," * For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",YD,[ZD,e.createElementVNode("div",QD,[e.createElementVNode("div",JD,[e.createElementVNode("div",null,e.toDisplayString((vl=(ql=t.report)==null?void 0:ql.weather)!=null&&vl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),uD,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)]),KD,jD,XD])]),e.createElementVNode("div",qD,[vD,e.createElementVNode("div",e3,[e.createElementVNode("div",t3,[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),o3,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)]),l3,a3,n3])]),s3,((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",c3,[i3,e.createElementVNode("div",d3,[e.createElementVNode("div",r3,[m3,p3,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",h3,[_3,e.createElementVNode("div",E3,[e.createElementVNode("div",y3,[N3,V3,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)]),f3,e.createElementVNode("div",b3,[g3,e.createElementVNode("div",x3,"Seg. "+e.toDisplayString(j+1)+" Fuel Oil",1)]),(pa=l==null?void 0:l.goodWx)!=null&&pa.distance?(e.openBlock(),e.createElementBlock("div",k3,[((_a=(ha=l==null?void 0:l.goodWx)==null?void 0:ha.inEca)==null?void 0:_a.distance)>0?(e.openBlock(),e.createElementBlock("div",D3,[C3,e.createElementVNode("div",S3,[e.createElementVNode("div",B3,[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)]),w3,e.createElementVNode("div",A3,[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),T3,F3]),O3,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),P3,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",L3,[W3,e.createElementVNode("div",$3,[e.createElementVNode("div",H3,[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),M3,e.createElementVNode("div",null,e.toDisplayString((Ca=l==null?void 0:l.goodWx)==null?void 0:Ca.pfmSpd),1)]),I3,e.createElementVNode("div",G3,[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",R3,[z3,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)]),U3,e.createElementVNode("div",null,e.toDisplayString((Qe=l==null?void 0:l.goodWx)==null?void 0:Qe.time),1)]),Y3,e.createElementVNode("div",null,e.toDisplayString((Ma=(Ha=l.fuelConclusion)==null?void 0:Ha.fo)==null?void 0:Ma.entireCons)+" (mt)",1),Z3])]),e.createElementVNode("div",Q3,[J3,e.createElementVNode("div",u3,[e.createElementVNode("div",K3,[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),j3,e.createElementVNode("div",null,e.toDisplayString((Ra=l==null?void 0:l.timeConclusion)==null?void 0:Ra.minusAbtSpd),1)]),X3,e.createElementVNode("div",q3,[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),v3,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?(ua=l==null?void 0:l.goodWx)==null?void 0:ua.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)):((Kn=(un=l==null?void 0:l.fuelConclusion)==null?void 0:un.fo)==null?void 0:Kn.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=(jn=l==null?void 0:l.fuelConclusion)==null?void 0:jn.fo)==null?void 0:Xn.minCons),1),PC,e.createElementVNode("div",null,e.toDisplayString((vn=(qn=l==null?void 0:l.fuelConclusion)==null?void 0:qn.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(j+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,[uC,e.createElementVNode("div",KC,[e.createElementVNode("div",jC,[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),XC,e.createElementVNode("div",null,e.toDisplayString((Fs=l==null?void 0:l.goodWx)==null?void 0:Fs.pfmSpd),1)]),qC,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((us=(Js=l.fuelConclusion)==null?void 0:Js.dgo)==null?void 0:us.maxCons)+" (mt)",1),ES])]),e.createElementVNode("div",yS,[NS,e.createElementVNode("div",VS,[e.createElementVNode("div",fS,[e.createElementVNode("div",null,e.toDisplayString((js=(Ks=t.report)==null?void 0:Ks.weather)!=null&&js.noExtrapolation?(Xs=l==null?void 0:l.goodWx)==null?void 0:Xs.distance:(qs=l==null?void 0:l.allWx)==null?void 0:qs.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-44fbbd8a"]]),UY="",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`${u(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}}},q=o=>(e.pushScopeId("data-v-a18f941f"),o=o(),e.popScopeId(),o),JS={class:"report-inventory"},uS={class:"section summary-section"},KS=q(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),jS={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-a18f941f><div class="flex-start" style="flex:1.2;" data-v-a18f941f><div class="legend good-wx" data-v-a18f941f></div><div class="label flex-end" data-v-a18f941f>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-a18f941f><div class="legend adverse-wx" data-v-a18f941f></div><div class="label" data-v-a18f941f>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-a18f941f><div class="legend excluded" data-v-a18f941f></div><div class="label" data-v-a18f941f>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-a18f941f><div data-v-a18f941f><label data-v-a18f941f>B</label><span data-v-a18f941f>BOSP</span></div><div data-v-a18f941f><label data-v-a18f941f>N</label><span data-v-a18f941f>NOON</span></div><div data-v-a18f941f><label data-v-a18f941f>E</label><span data-v-a18f941f>EOSP</span></div><div data-v-a18f941f><label data-v-a18f941f>*</label><span data-v-a18f941f>Ship Reported Position</span></div></div></div>',1),n5={class:"inventory-block flex-center"},s5={style:{"font-size":"12px"}},c5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),i5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),d5=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),r5=q(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),m5=["colspan"],p5={key:0,class:"label",colspan:"2"},h5=q(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),_5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),E5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),y5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),N5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),V5=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),f5={key:0,class:"label",rowspan:"2"},b5=q(()=>e.createElementVNode("br",null,null,-1)),g5={key:1,class:"label",rowspan:"2"},x5=q(()=>e.createElementVNode("br",null,null,-1)),k5=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),D5={key:2,class:"label",rowspan:"2"},C5=q(()=>e.createElementVNode("br",null,null,-1)),S5={key:3,class:"label",colspan:"2"},B5={key:4,class:"label",rowspan:"2"},w5=q(()=>e.createElementVNode("br",null,null,-1)),A5={key:5,class:"label",colspan:"2"},T5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),F5={key:6,class:"label",rowspan:"2"},O5={key:7,class:"label",rowspan:"2"},P5={key:8,class:"label",rowspan:"2"},L5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),W5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),$5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),H5=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),M5=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),I5=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),G5=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),R5=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),z5=q(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),U5=q(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),Y5=q(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),Z5=q(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),Q5={key:0,class:"label"},J5={key:1,class:"label"},u5={key:2,class:"label"},K5={key:3,class:"label"},j5=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(o,s,t,r,a,n){var E;return e.openBlock(),e.createElementBlock("div",JS,[e.createElementVNode("div",uS,[KS,e.createElementVNode("div",jS,[e.createElementVNode("table",null,[XS,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",qS,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",u5,"Dir")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",K5,"CF(kts)")):e.createCommentVNode("",!0),j5,X5,q5,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-a18f941f"]]),YY="",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`${u(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-92ed3e90"),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-92ed3e90><div style="position:absolute;margin-top:-8px;" data-v-92ed3e90>LEGEND</div><div class="flex-space" data-v-92ed3e90><div data-v-92ed3e90>0812</div><div data-v-92ed3e90><div data-v-92ed3e90>08 - Day of the month</div><div data-v-92ed3e90>12 - Hours of the day</div></div></div><div class="flex-space" data-v-92ed3e90><div data-v-92ed3e90><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-92ed3e90></i></div><div data-v-92ed3e90><div data-v-92ed3e90>Wind from N (000)</div><div data-v-92ed3e90>Each bard = 10 kts</div><div data-v-92ed3e90>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-92ed3e90><div data-v-92ed3e90>W 4</div><div data-v-92ed3e90>Sig. Wave from West, 4 meters</div></div><div class="flex-space" data-v-92ed3e90><div class="good-wx" data-v-92ed3e90>Date</div><div data-v-92ed3e90>Good weather days</div></div></div>',1),Q4=["src"],J4=e.createStaticVNode('<div class="section method-section" data-v-92ed3e90><div class="header-block flex-center" data-v-92ed3e90><i class="iconfont" data-v-92ed3e90></i><div class="title" data-v-92ed3e90>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-92ed3e90><div class="method-title" data-v-92ed3e90>1. Good Weather Method</div><div class="method-body" data-v-92ed3e90> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd's Rep 166 and The Gas Enterprise [1993] 2 Lloyd's Rep. 352. <br data-v-92ed3e90> 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-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-92ed3e90> Speed and Consumption Calculation applies allowed time and allowed consumption calculated based on cp speed and consumption in good weather conditions. Complying with maritime arbitration standards, time loss and over/under-consumption is not calculated when there are no good weather days. </div></div><div class="method-block" data-v-92ed3e90><div class="method-title" data-v-92ed3e90>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-92ed3e90> To complete the Good Weather Analysis method requests daily noon positions (including time, distance, weather, seas, bunker consumption, etc.) from the Master, which are to be inspected in evaluation reports. We will apply our analyzed distances. Weather and sea conditions in reports represent our verified weather data. </div></div><div class="method-block" data-v-92ed3e90><div class="method-title" data-v-92ed3e90>4. “About”</div><div class="method-body" data-v-92ed3e90> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-92ed3e90> As per the High Court decision on The Gaz Energy (2012) 852 LMLN 2 a plus 5% tolerance in over-consumption calculation and a minus 5% tolerance in under-consumption are employed respectively when an “about” is included with the consumption warranty, unless otherwise stipulated. </div></div><div class="method-block" data-v-92ed3e90><div class="method-title" data-v-92ed3e90>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-92ed3e90> The following methodology will be applied to analyze bunker consumption when the bunker type is switched over, such as in ECA/SECA zone. <br data-v-92ed3e90> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-92ed3e90> 5-2 Considering DO/GO consumption in the switch over period the amount of DO/GO consumed will initially be compared to the DO/GO warranted figure; the remaining DO/GO consumed in the switch over period will then be compared to the warranted IFO figure. In cases of partial steaming Days, the DO/GO consumed will be converted basis a calculation for hourly consumption. </div><div class="method-block" data-v-92ed3e90><div class="method-title" data-v-92ed3e90>6. Further reference materials</div><div class="method-body" data-v-92ed3e90>Please send mail to <a href="mailto:op@ormwx.com" data-v-92ed3e90>op@ormwx.com</a>.</div></div></div></div>',1);function u4(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 K4=Ce(c4,[["render",u4],["__scopeId","data-v-92ed3e90"]]),ZY="",QY="",j4={name:"OrmVoyageEmail",props:{report:{type:Object,default:()=>({})},voyageEmails:{type:Array,default:()=>[]}},emits:["commit"],data(){return{}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${u(o).utc().format(s)}`}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{voyageEmails:{handler(o,s){o.length>0&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){document.getElementById("col1").innerHTML=null,document.getElementById("col2").innerHTML=null;const o=this.voyageEmails.sort((s,t)=>s.date<t.date);o==null||o.forEach((s,t)=>{var p,b;let r="<div>";s.to.includes("op@ormwx.com")||s.source==="VRT"?(((b=(p=s.body)==null?void 0:p.replace(/^"|"$/g,""))==null?void 0:b.split("\\n")).forEach(h=>{const N=`<p>${h}</p>`;r=r+N}),r=r+"</div>"):r=s.body;const a=document.getElementById("col1"),n=document.getElementById("col2"),E=(a==null?void 0:a.offsetHeight)||0,c=(n==null?void 0:n.offsetHeight)||0;if(E<=c){let h=`<div class="${s.to.includes("op@ormwx.com")||s.source==="VRT"?"vrpt-mail-item vrpt-item-left vrpt-inbox":"vrpt-mail-item vrpt-item-left vrpt-outbox"}">
|
|
42
42
|
<div class="vrpt-date">Date: ${s.date}</div>
|
|
43
43
|
<div class="vrpt-from">From: ${s.from}</div>
|
|
44
44
|
<div class="vrpt-to">To: ${s.to}</div>
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
<div class="vrpt-from">From: ${s.from}</div>
|
|
49
49
|
<div class="vrpt-to">To: ${s.to}</div>
|
|
50
50
|
<div class="vrpt-subject">Subject: ${s.subject}</div>
|
|
51
|
-
<br/>`;h=h+r+"</div>",n.insertAdjacentHTML("beforeend",h)}})}}},
|
|
51
|
+
<br/>`;h=h+r+"</div>",n.insertAdjacentHTML("beforeend",h)}})}}},X4={class:"report-email"},q4=[e.createStaticVNode('<div class="section email-section" data-v-8d16153f><div class="header-block flex-center" data-v-8d16153f><i class="iconfont" data-v-8d16153f></i><div class="title" data-v-8d16153f>Emails</div></div><div class="content-box" data-v-8d16153f><div class="col col1" id="col1" data-v-8d16153f></div><div class="col col2" id="col2" data-v-8d16153f></div></div></div>',1)];function v4(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",X4,q4)}const eB=Ce(j4,[["render",v4],["__scopeId","data-v-8d16153f"]]),uY="",tB={name:"OrmVoyageIndex",components:{Brand:Io,VoySummary:ZS,Inventory:s4,Chart:K4,Email:eB,Loading:La},props:{report:{type:Object,default:()=>({})},voyageEmails:{type:Array,default:()=>[]}},emits:["commit"],data(){return{inventory:[],loading:!0}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${u(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 oB(o,s,t,r,a,n){var N,D,x;const E=e.resolveComponent("Brand"),c=e.resolveComponent("Loading"),p=e.resolveComponent("VoySummary"),b=e.resolveComponent("Inventory"),g=e.resolveComponent("Chart"),h=e.resolveComponent("Email");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((D=(N=t.report)==null?void 0:N.weather)!=null&&D.referenceOnly?"report-section watermark":"report-section")},[e.createVNode(E,{name:"Voyage Analysis Report",issued:t.report.createdAt},null,8,["issued"]),e.createVNode(c,{loading:a.loading,onTimeout:s[0]||(s[0]=C=>a.loading=!1)},null,8,["loading"]),e.createVNode(p,{report:t.report,class:"main",onCommit:n.commit},null,8,["report","onCommit"]),e.createVNode(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"]),((x=t.voyageEmails)==null?void 0:x.length)>0?(e.openBlock(),e.createBlock(h,{key:0,report:t.report,voyageEmails:t.voyageEmails},null,8,["report","voyageEmails"])):e.createCommentVNode("",!0)],2)}const an=Ce(tB,[["render",oB],["__scopeId","data-v-a0a392a4"]]),lB={install(o){o.component("FliVoyageReport",ln),o.component("OrmVoyageReport",an)}},KY="",jY="",XY="",aB={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}}},nB={class:"typhoon-report-container"};function sB(o,s,t,r,a,n){const E=e.resolveComponent("TropicalReport");return e.openBlock(),e.createElementBlock("div",nB,[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(aB,[["render",sB],["__scopeId","data-v-a14ce9ba"]]),cB={install(o){o.component("TropicalReport",nn)}},qY="",iB={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!=="-"?`${u(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),dB={class:"invoice-report"},rB={class:"section items-section"},mB={class:"flex-start"},pB=Je(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),hB=["innerHTML"],_B={class:"flex-space"},EB={class:"invoice-item"},yB={key:0,class:"invoice-item"},NB=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)),VB=Je(()=>e.createElementVNode("td",null,"NO.",-1)),fB=["colspan"],bB=Je(()=>e.createElementVNode("td",null,"Amounts",-1)),gB=["colspan"],xB=["colspan"],kB=[Je(()=>e.createElementVNode("span",null,"Total in USD",-1))],DB={class:"total"},CB=["colspan"],SB=[Je(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],BB={class:"total"},wB=["colspan"],AB={class:"total"},TB={key:1},FB=["colspan"],OB=[Je(()=>e.createElementVNode("span",null,"Total in USD",-1))],PB={class:"total"},LB={key:0,class:"memo-block"},WB=Je(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),$B=["innerHTML"],HB={class:"section company-section"},MB=Je(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"Bank Information",-1)),IB={class:"company-item"},GB=Je(()=>e.createElementVNode("label",null,"Bank",-1)),RB={class:"company-item"},zB=Je(()=>e.createElementVNode("label",null,"Account",-1)),UB={class:"company-item"},YB=Je(()=>e.createElementVNode("label",null,"Title",-1)),ZB={class:"company-item"},QB=Je(()=>e.createElementVNode("label",null,"Addr",-1)),JB={class:"company-item"},uB=Je(()=>e.createElementVNode("label",null,"Tel",-1)),KB={class:"company-item"},jB=Je(()=>e.createElementVNode("label",null,"Tax ID",-1)),XB={class:"company-item"},qB=Je(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),vB={class:"company-item"},e9=Je(()=>e.createElementVNode("label",null,"Bank Name",-1)),t9={class:"company-item"},o9=Je(()=>e.createElementVNode("label",null,"Bank Address",-1)),l9={class:"company-item"},a9=Je(()=>e.createElementVNode("label",null,"Account No.",-1)),n9={class:"company-item"},s9=Je(()=>e.createElementVNode("label",null,"SWIFT",-1)),c9={class:"company-item"},i9=Je(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),d9={class:"company-item"},r9=Je(()=>e.createElementVNode("label",null,"SWIFT",-1)),m9={class:"company-item"},p9=Je(()=>e.createElementVNode("label",null,"ABA NO.",-1)),h9=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 _9(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,j,v,ee,te,oe,le,ce,ie,de,_e;const E=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",dB,[e.createVNode(E,{name:"INVOICE",issued:t.report.createdAt},null,8,["issued"]),e.createElementVNode("div",rB,[e.createElementVNode("div",mB,[pB,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(`
|
|
52
52
|
`,"<br/>")},null,8,hB)]),e.createElementVNode("div",_B,[e.createElementVNode("div",EB,"Invoice No. "+e.toDisplayString(t.report.number),1),(g=t.report)!=null&&g.paymentDate?(e.openBlock(),e.createElementBlock("div",yB,"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},[NB,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Route,(X,me)=>{var Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,ue,Ke,je,A,Se,Ge;return e.openBlock(),e.createElementBlock("tr",{key:me},[e.createElementVNode("td",null,e.toDisplayString((re=(ye=(Ee=X.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=X.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=X.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=X.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=X.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=X.props)==null?void 0:$e[0])==null?void 0:He.departure)==null?void 0:Ne.atd),1),e.createElementVNode("td",null,e.toDisplayString((je=(Ke=(ue=X.props)==null?void 0:ue[0])==null?void 0:Ke.destination)==null?void 0:je.name),1),e.createElementVNode("td",null,e.toDisplayString((Ge=(Se=(A=X.props)==null?void 0:A[0])==null?void 0:Se.destination)==null?void 0:Ge.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(X.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,[VB,e.createElementVNode("td",{colspan:a.maxColspans-1},"Items.",8,fB),bB])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Point,(X,me)=>(e.openBlock(),e.createElementBlock("tr",{key:me},[e.createElementVNode("td",null,e.toDisplayString(X.number),1),e.createElementVNode("td",{colspan:a.maxColspans-1},e.toDisplayString(X.items),9,gB),e.createElementVNode("td",null,"$"+e.toDisplayString(X.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},kB,8,xB),e.createElementVNode("td",DB,[e.createElementVNode("span",null,e.toDisplayString(`$${a.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},SB,8,CB),e.createElementVNode("td",BB,[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,wB),e.createElementVNode("td",AB,"¥"+e.toDisplayString((C=t.report)==null?void 0:C.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",TB,[e.createElementVNode("td",{colspan:a.maxColspans},OB,8,FB),e.createElementVNode("td",PB,[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",LB,[WB,e.createElementVNode("div",{class:"invoice-item",innerHTML:(B=(F=t.report)==null?void 0:F.memo)==null?void 0:B.replace(`
|
|
53
|
-
`,"<br/>")},null,8,$B)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",HB,[MB,((w=t.report)==null?void 0:w.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",IB,[GB,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",RB,[zB,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",UB,[YB,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",ZB,[QB,e.createElementVNode("span",null,e.toDisplayString((L=a.account[(_=t.report)==null?void 0:_.paymentType])==null?void 0:L.address),1)]),e.createElementVNode("div",JB,[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",KB,[jB,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",XB,[qB,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",vB,[e9,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",t9,[o9,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",l9,[a9,e.createElementVNode("span",null,e.toDisplayString((v=a.account[(j=t.report)==null?void 0:j.paymentType])==null?void 0:v.number),1)]),e.createElementVNode("div",n9,[s9,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",c9,[i9,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",d9,[r9,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",m9,[p9,e.createElementVNode("span",null,e.toDisplayString((_e=a.account[(de=t.report)==null?void 0:de.paymentType])==null?void 0:_e.intermediaryBankAbaNo),1)])],64))]),h9])}const sn=Ce(iB,[["render",_9],["__scopeId","data-v-95c80c22"]]),oZ="",E9={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!=="-"?`${u(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-
|
|
53
|
+
`,"<br/>")},null,8,$B)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",HB,[MB,((w=t.report)==null?void 0:w.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",IB,[GB,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",RB,[zB,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",UB,[YB,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",ZB,[QB,e.createElementVNode("span",null,e.toDisplayString((L=a.account[(_=t.report)==null?void 0:_.paymentType])==null?void 0:L.address),1)]),e.createElementVNode("div",JB,[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",KB,[jB,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",XB,[qB,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",vB,[e9,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",t9,[o9,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",l9,[a9,e.createElementVNode("span",null,e.toDisplayString((v=a.account[(j=t.report)==null?void 0:j.paymentType])==null?void 0:v.number),1)]),e.createElementVNode("div",n9,[s9,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",c9,[i9,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",d9,[r9,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",m9,[p9,e.createElementVNode("span",null,e.toDisplayString((_e=a.account[(de=t.report)==null?void 0:de.paymentType])==null?void 0:_e.intermediaryBankAbaNo),1)])],64))]),h9])}const sn=Ce(iB,[["render",_9],["__scopeId","data-v-95c80c22"]]),oZ="",E9={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!=="-"?`${u(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),y9={class:"invoice-report"},N9={class:"section items-section"},V9={class:"flex-start"},f9=_l(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),b9=["innerHTML"],g9={class:"flex-space"},x9={class:"invoice-item"},k9={key:0,class:"invoice-item"},D9=_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)),C9=_l(()=>e.createElementVNode("td",null,"NO.",-1)),S9=["colspan"],B9=_l(()=>e.createElementVNode("td",null,"Amounts",-1)),w9=["colspan"],A9=["colspan"],T9=[_l(()=>e.createElementVNode("span",null,"Total in USD",-1))],F9={class:"total"},O9=["colspan"],P9=[_l(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],L9={class:"total"},W9=["colspan"],$9={class:"total"},H9={key:1},M9=["colspan"],I9=[_l(()=>e.createElementVNode("span",null,"Total in USD",-1))],G9={class:"total"},R9={key:0,class:"memo-block"},z9=_l(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),U9=["innerHTML"];function Y9(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",y9,[e.createElementVNode("div",N9,[e.createElementVNode("div",V9,[f9,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(p=(c=(E=t.report)==null?void 0:E.invoiceTitle)==null?void 0:c.name)==null?void 0:p.replace(`
|
|
54
54
|
`,"<br/>")},null,8,b9)]),e.createElementVNode("div",g9,[e.createElementVNode("div",x9,"Invoice No. "+e.toDisplayString(t.report.number),1),(b=t.report)!=null&&b.paymentDate?(e.openBlock(),e.createElementBlock("div",k9,"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},[D9,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,j,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=(j=B.props)==null?void 0:j[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,[C9,e.createElementVNode("td",{colspan:a.maxColspans-1},"Items.",8,S9),B9])]),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,w9),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},T9,8,A9),e.createElementVNode("td",F9,[e.createElementVNode("span",null,e.toDisplayString(`$${a.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},P9,8,O9),e.createElementVNode("td",L9,[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,W9),e.createElementVNode("td",$9,"¥"+e.toDisplayString((x=t.report)==null?void 0:x.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",H9,[e.createElementVNode("td",{colspan:a.maxColspans},I9,8,M9),e.createElementVNode("td",G9,[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",R9,[z9,e.createElementVNode("div",{class:"invoice-item",innerHTML:(F=(T=t.report)==null?void 0:T.memo)==null?void 0:F.replace(`
|
|
55
|
-
`,"<br/>")},null,8,U9)])):e.createCommentVNode("",!0)])])}const cn=Ce(E9,[["render",Y9],["__scopeId","data-v-c269c41c"]]),Z9={install(o){o.component("OrmInvoiceReport",sn),o.component("FliInvoiceReport",cn)}},Q9=o=>((typeof o=="string"||typeof o=="number")&&(o=u(o)),o),J9=(o,s="MMM-DD,YYYY/HHmm[Z]")=>u9(o,s),u9=(o,s="MMM-DD/HHmm[Z]")=>(o=Q9(o),o?`${o.utc().format(s)}`:"-"),sZ="",K9={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 J9(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)}}},j9={class:"idm-editable-item"},X9=["innerHTML"],q9={key:3,class:"buttons"};function v9(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",j9,[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,X9)):(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",q9,[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(K9,[["render",v9]]),cZ="",e8={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?`${u(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 qa.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},y=o=>(e.pushScopeId("data-v-2e5dc49b"),o=o(),e.popScopeId(),o),t8={class:"deviation-report"},o8={class:"content-box"},l8={class:"info-box border-dashed"},a8={class:"flex-between row"},n8={class:"flex-between",style:{width:"48%"}},s8=y(()=>e.createElementVNode("label",{class:"label"},"Prepared For:",-1)),c8={class:"flex-between",style:{width:"48%"}},i8=y(()=>e.createElementVNode("label",{class:"label"},"Departure Port:",-1)),d8={style:{"margin-left":"5px"}},r8={class:"flex-between row"},m8={class:"flex-between",style:{width:"48%"}},p8=y(()=>e.createElementVNode("label",{class:"label"},"Vessel:",-1)),h8={class:"flex-between",style:{width:"48%"}},_8=y(()=>e.createElementVNode("label",{class:"label"},"Arrival Port:",-1)),E8={style:{"margin-left":"5px"}},y8={class:"flex-between row"},N8={class:"flex-between",style:{width:"48%"}},V8=y(()=>e.createElementVNode("label",{class:"label"},"Voyage No:",-1)),f8={class:"flex-between",style:{width:"48%"}},b8=y(()=>e.createElementVNode("label",{class:"label"},"Load Condition:",-1)),g8={class:"section summary-section"},x8=y(()=>e.createElementVNode("div",{class:"subtitle"},"Summary",-1)),k8={class:"border-solid"},D8={class:"cp"},C8={class:"flex-between",style:{padding:"6px 0"}},S8={style:{"margin-left":"5px"}},B8={style:{"margin-left":"5px"}},w8=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)),A8=y(()=>e.createElementVNode("td",null,"-",-1)),T8={key:0},F8={key:0},O8={key:1},P8={key:0},L8={key:0},W8={key:1},$8={key:0},H8={key:0},M8={key:1},I8={class:"summary-block flex-between"},G8={class:"item"},R8=y(()=>e.createElementVNode("div",{class:"title"},"Extra Distance",-1)),z8={class:"value flex-end"},U8={key:0},Y8=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Z8={class:"gain"},Q8=y(()=>e.createElementVNode("span",{class:"unit"},"nm",-1)),J8={key:1},u8=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),K8={class:"lost"},j8=y(()=>e.createElementVNode("span",{class:"unit"},"nm",-1)),X8={key:2},q8={class:"item"},v8=y(()=>e.createElementVNode("div",{class:"title"},"Total extra Time",-1)),e6={class:"value flex-end"},t6={key:0},o6=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),l6={class:"gain"},a6=y(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),n6={key:1},s6=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),c6={class:"lost"},i6=y(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),d6={key:2},r6={class:"item"},m6=y(()=>e.createElementVNode("div",{class:"title"},"FO Total extra Consumption",-1)),p6={class:"value flex-end"},h6={key:0},_6=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),E6={class:"gain"},y6=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),N6={key:1},V6=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),f6={class:"lost"},b6=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),g6={key:2},x6={class:"item"},k6=y(()=>e.createElementVNode("div",{class:"title"},"MGO Total extra Consumption",-1)),D6={class:"value flex-end"},C6={key:0},S6=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),B6={class:"gain"},w6=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),A6={key:1},T6=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),F6={class:"lost"},O6=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),P6={key:2},L6=y(()=>e.createElementVNode("div",{class:"subtitle"},"Remarks",-1)),W6={class:"section-content"},$6={key:0,class:""},H6=["innerHTML"],M6={key:1},I6={class:"section deviation-info-section"},G6=y(()=>e.createElementVNode("div",{class:"flex-between"},[e.createElementVNode("div",{class:"subtitle"},"Deviation Info Information")],-1)),R6={key:0},z6=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)),U6=y(()=>e.createElementVNode("td",null,"Deviation Start",-1)),Y6=y(()=>e.createElementVNode("td",null,null,-1)),Z6=y(()=>e.createElementVNode("td",null,null,-1)),Q6=y(()=>e.createElementVNode("td",null,"Back on Track",-1)),J6=y(()=>e.createElementVNode("td",{colspan:"2"},null,-1)),u6=y(()=>e.createElementVNode("td",{colspan:"2"},null,-1)),K6={key:1},j6=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)),X6=y(()=>e.createElementVNode("td",null,"Deviation Start",-1)),q6=y(()=>e.createElementVNode("td",null,"Back on Track",-1)),v6={key:0,class:"section extra-port-section"},ew={class:"flex-between"},tw=y(()=>e.createElementVNode("div",{class:"subtitle"},"Extra Port Information",-1)),ow=y(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Extra Port",-1)),lw=y(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Event",-1)),aw=y(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Date Time",-1)),nw=y(()=>e.createElementVNode("th",{colspan:2,class:"label"},"BROB (mt)",-1)),sw=y(()=>e.createElementVNode("th",{colspan:2,class:"label"},"Bunkering (mt)",-1)),cw={key:0,rowspan:2,class:"print-hidden label"},iw=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)),dw={rowspan:2},rw=y(()=>e.createElementVNode("td",null,"Arrival",-1)),mw=y(()=>e.createElementVNode("td",null,null,-1)),pw=y(()=>e.createElementVNode("td",null,null,-1)),hw={rowspan:2,class:"print-hidden"},_w=y(()=>e.createElementVNode("td",null,"Departure",-1)),Ew=y(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),yw=y(()=>e.createElementVNode("td",null,null,-1)),Nw=y(()=>e.createElementVNode("td",null,null,-1)),Vw=y(()=>e.createElementVNode("td",null,null,-1)),fw={key:0,class:"print-hidden"},bw={class:"section time-cons-section"},gw=y(()=>e.createElementVNode("div",{class:"subtitle"},"Time and Consumption Calculation",-1)),xw=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)),kw={class:"time-block flex-between border-dashed"},Dw={key:0,class:"formula-block"},Cw={class:"flex-start"},Sw=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"Time for extra distance sailing",-1)),Bw=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),ww={class:"fraction flex-center"},Aw={class:"content"},Tw=y(()=>e.createElementVNode("div",null,"Extra Distance",-1)),Fw=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Ow={key:0},Pw={key:1},Lw=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Ww={class:"fraction flex-center"},$w={class:"content"},Hw=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Mw=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Iw={class:"fraction flex-center"},Gw={class:"flex-start"},Rw=e.createStaticVNode('<div class="fraction flex-center" data-v-2e5dc49b>Total extra Time</div><div class="sig" data-v-2e5dc49b>=</div><div class="fraction flex-center" data-v-2e5dc49b>Time for extra distance sailing</div><div class="sig" data-v-2e5dc49b>+</div><div class="fraction flex-center" data-v-2e5dc49b>Time spent in extra port</div><div class="sig" data-v-2e5dc49b>=</div>',6),zw={class:"fraction flex-center"},Uw=y(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),Yw={class:"fraction flex-center"},Zw=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Qw={class:"fraction flex-center"},Jw={key:1,class:"formula-block"},uw={class:"flex-start"},Kw=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"Time for Route prior to deviation sailing",-1)),jw=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Xw={class:"fraction flex-center"},qw={class:"content"},vw=y(()=>e.createElementVNode("div",null,"Route Prior to deviation",-1)),e7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),t7={key:0},o7={key:1},l7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),a7={class:"fraction flex-center"},n7={class:"content"},s7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),c7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),i7={class:"fraction flex-center"},d7=y(()=>e.createElementVNode("div",{class:"sig"},null,-1)),r7=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},null,-1)),m7={class:"flex-start"},p7=e.createStaticVNode('<div class="fraction flex-center" data-v-2e5dc49b>Total extra Time</div><div class="sig" data-v-2e5dc49b>=</div><div class="fraction flex-center" data-v-2e5dc49b>Time for Actual Route</div><div class="sig" data-v-2e5dc49b>-</div><div class="fraction flex-center" data-v-2e5dc49b>Time for Route prior to deviation sailing</div><div class="sig" data-v-2e5dc49b>=</div>',6),h7={class:"fraction flex-center"},_7=y(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),E7={class:"fraction flex-center"},y7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),N7={class:"fraction flex-center"},V7={class:"fuel-block flex-between border-dashed"},f7={key:0,class:"formula-block"},b7={class:"flex-start"},g7=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"FO Consumption 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"},"x",-1)),T7={class:"fraction flex-center"},F7={class:"content"},O7={key:0},P7={key:1},L7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),W7=y(()=>e.createElementVNode("div",null,"24",-1)),$7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),H7={class:"fraction flex-center"},M7={class:"content"},I7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),G7=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),R7={class:"fraction flex-center"},z7={class:"content"},U7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Y7=y(()=>e.createElementVNode("div",null,"24",-1)),Z7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Q7={class:"fraction flex-center"},J7={class:"flex-start"},u7=e.createStaticVNode('<div class="fraction flex-center" data-v-2e5dc49b>FO Total Extra Consumption</div><div class="sig" data-v-2e5dc49b>=</div><div class="fraction flex-center" data-v-2e5dc49b>FO Consumption for extra distance sailing</div><div class="sig" data-v-2e5dc49b>+</div><div class="fraction flex-center" data-v-2e5dc49b>FO Consumption in extra port</div><div class="sig" data-v-2e5dc49b>=</div>',6),K7={class:"fraction flex-center"},j7=y(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),X7={class:"fraction flex-center"},q7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),v7={class:"fraction flex-center"},eA={class:"flex-start"},tA=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"MGO Consumption for extra distance sailing",-1)),oA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),lA={class:"fraction flex-center"},aA={class:"content"},nA=y(()=>e.createElementVNode("div",null,"Extra Distance",-1)),sA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),cA={key:0},iA={key:1},dA=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),rA={class:"fraction flex-center"},mA={class:"content"},pA={key:0},hA={key:1},_A=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),EA=y(()=>e.createElementVNode("div",null,"24",-1)),yA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),NA={class:"fraction flex-center"},VA={class:"content"},fA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),bA=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),gA={class:"fraction flex-center"},xA={class:"content"},kA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),DA=y(()=>e.createElementVNode("div",null,"24",-1)),CA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),SA={class:"fraction flex-center"},BA={class:"flex-start"},wA=e.createStaticVNode('<div class="fraction flex-center" data-v-2e5dc49b>MGO Total Extra Consumption</div><div class="sig" data-v-2e5dc49b>=</div><div class="fraction flex-center" data-v-2e5dc49b>MGO Consumption for extra distance sailing</div><div class="sig" data-v-2e5dc49b>+</div><div class="fraction flex-center" data-v-2e5dc49b>MGO Consumption in extra port</div><div class="sig" data-v-2e5dc49b>=</div>',6),AA={class:"fraction flex-center"},TA=y(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),FA={class:"fraction flex-center"},OA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),PA={class:"fraction flex-center"},LA={key:1,class:"formula-block"},WA={class:"flex-start"},$A=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"FO Consumption for Route prior to deviation sailing",-1)),HA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),MA={class:"fraction flex-center"},IA={class:"content"},GA=y(()=>e.createElementVNode("div",null,"Route prior to deviation Distance",-1)),RA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),zA={key:0},UA={key:1},YA=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),ZA={class:"fraction flex-center"},QA={class:"content"},JA={key:0},uA={key:1},KA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),jA=y(()=>e.createElementVNode("div",null,"24",-1)),XA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),qA={class:"fraction flex-center"},vA={class:"content"},eT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),tT=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),oT={class:"fraction flex-center"},lT={class:"content"},aT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),nT=y(()=>e.createElementVNode("div",null,"24",-1)),sT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),cT={class:"fraction flex-center"},iT={class:"flex-start"},dT=e.createStaticVNode('<div class="fraction flex-center" data-v-2e5dc49b>FO Total Extra Consumption</div><div class="sig" data-v-2e5dc49b>=</div><div class="fraction flex-center" data-v-2e5dc49b>FO Consumption for Actual Route</div><div class="sig" data-v-2e5dc49b>-</div><div class="fraction flex-center" data-v-2e5dc49b>FO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-2e5dc49b>=</div>',6),rT={class:"fraction flex-center"},mT=y(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),pT={class:"fraction flex-center"},hT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),_T={class:"fraction flex-center"},ET={class:"flex-start"},yT=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"MGO Consumption for Route prior to deviation sailing",-1)),NT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),VT={class:"fraction flex-center"},fT={class:"content"},bT=y(()=>e.createElementVNode("div",null,"Route prior to deviation Distance",-1)),gT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),xT={key:0},kT={key:1},DT=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),CT={class:"fraction flex-center"},ST={class:"content"},BT={key:0},wT={key:1},AT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),TT=y(()=>e.createElementVNode("div",null,"24",-1)),FT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),OT={class:"fraction flex-center"},PT={class:"content"},LT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),WT=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),$T={class:"fraction flex-center"},HT={class:"content"},MT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),IT=y(()=>e.createElementVNode("div",null,"24",-1)),GT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),RT={class:"fraction flex-center"},zT={class:"flex-start"},UT=e.createStaticVNode('<div class="fraction flex-center" data-v-2e5dc49b>MGO Total Extra Consumption</div><div class="sig" data-v-2e5dc49b>=</div><div class="fraction flex-center" data-v-2e5dc49b>MGO Consumption for Actual Route</div><div class="sig" data-v-2e5dc49b>-</div><div class="fraction flex-center" data-v-2e5dc49b>MGO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-2e5dc49b>=</div>',6),YT={class:"fraction flex-center"},ZT=y(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),QT={class:"fraction flex-center"},JT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),uT={class:"fraction flex-center"},KT={class:"section map-section"},jT=y(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),XT={class:"report-map"},qT=["src"],vT=e.createStaticVNode('<div class="legend" data-v-2e5dc49b><div class="legend-item" data-v-2e5dc49b><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-2e5dc49b></div><div data-v-2e5dc49b>Actual Route</div></div><div class="legend-item" data-v-2e5dc49b><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-2e5dc49b></div><div data-v-2e5dc49b>Route prior to deviation</div></div></div>',1);function eF(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,j,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,ue,Ke,je,A,Se,Ge,Xe,qe,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,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,ut,Kt,jt,Xt,qt,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,uo,Ko,jo,Xo,qo,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,ul,Kl,jl,Xl,ql,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",t8,[e.createVNode(E,{name:"Voyage Deviation Report"}),e.createElementVNode("div",o8,[e.createElementVNode("div",l8,[e.createElementVNode("div",a8,[e.createElementVNode("div",n8,[s8,e.createElementVNode("div",null,e.toDisplayString((g=t.report)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",c8,[i8,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",d8,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",r8,[e.createElementVNode("div",m8,[p8,e.createElementVNode("div",null,e.toDisplayString((F=(T=t.report)==null?void 0:T.vessel)==null?void 0:F.name),1)]),e.createElementVNode("div",h8,[_8,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",E8,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",y8,[e.createElementVNode("div",N8,[V8,e.createElementVNode("div",null,e.toDisplayString((z=(R=t.report)==null?void 0:R.voyage)==null?void 0:z.number),1)]),e.createElementVNode("div",f8,[b8,e.createElementVNode("div",null,e.toDisplayString((L=(_=t.report)==null?void 0:_.voyage)==null?void 0:L.loadCondition),1)])])]),e.createElementVNode("div",g8,[x8,e.createElementVNode("div",k8,[e.createElementVNode("div",D8,[e.createElementVNode("div",C8,[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",S8,"( "+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",B8,"( "+e.toDisplayString(n.computeUTCTime(((l=(se=t.report)==null?void 0:se.arrival)==null?void 0:l.ata)||((v=(j=t.report)==null?void 0:j.arrival)==null?void 0:v.eta)))+" )",1)])]),e.createElementVNode("table",null,[w8,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[A8,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",T8,[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",F8,"+"+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=(X=t.report)==null?void 0:X.extend)==null?void 0:me.spdAbt)==null?void 0:Ee.spdOfUnder)+"%",1)):(e.openBlock(),e.createElementBlock("span",O8,"+"+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",P8,[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",L8,"+"+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",W8,"+"+e.toDisplayString((je=(Ke=(ue=t.report)==null?void 0:ue.extend)==null?void 0:Ke.foAbtCons)==null?void 0:je.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(((qe=(Xe=t.report)==null?void 0:Xe.cp)==null?void 0:qe.dgo)??"—"),1),t.report.useWeather?(e.openBlock(),e.createElementBlock("span",$8,[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",H8,"+"+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",M8,"+"+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",I8,[e.createElementVNode("div",G8,[R8,e.createElementVNode("div",z8,[((pt=t.report)==null?void 0:pt.extraDist)<0?(e.openBlock(),e.createElementBlock("div",U8,[Y8,e.createElementVNode("span",Z8,e.toDisplayString(Math.abs((_t=t.report)==null?void 0:_t.extraDist)),1),Q8])):((Et=t.report)==null?void 0:Et.extraDist)>=0?(e.openBlock(),e.createElementBlock("div",J8,[u8,e.createElementVNode("span",K8,e.toDisplayString(Math.abs((yt=t.report)==null?void 0:yt.extraDist)),1),j8])):(e.openBlock(),e.createElementBlock("div",X8,"N/A"))])]),e.createElementVNode("div",q8,[v8,e.createElementVNode("div",e6,[((Vt=(Nt=t.report)==null?void 0:Nt.timeAnalysis)==null?void 0:Vt.totalExtraTime)<0?(e.openBlock(),e.createElementBlock("div",t6,[o6,e.createElementVNode("span",l6,e.toDisplayString(Math.abs((bt=(ft=t.report)==null?void 0:ft.timeAnalysis)==null?void 0:bt.totalExtraTime)),1),a6])):((xt=(gt=t.report)==null?void 0:gt.timeAnalysis)==null?void 0:xt.totalExtraTime)>=0?(e.openBlock(),e.createElementBlock("div",n6,[s6,e.createElementVNode("span",c6,e.toDisplayString(Math.abs((Dt=(kt=t.report)==null?void 0:kt.timeAnalysis)==null?void 0:Dt.totalExtraTime)),1),i6])):(e.openBlock(),e.createElementBlock("div",d6,"N/A"))])]),e.createElementVNode("div",r6,[m6,e.createElementVNode("div",p6,[((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",h6,[_6,e.createElementVNode("span",E6,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),y6])):((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",N6,[V6,e.createElementVNode("span",f6,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),b6])):(e.openBlock(),e.createElementBlock("div",g6,"N/A"))])]),e.createElementVNode("div",x6,[k6,e.createElementVNode("div",D6,[((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",C6,[S6,e.createElementVNode("span",B6,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),w6])):((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",A6,[T6,e.createElementVNode("span",F6,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),O6])):(e.openBlock(),e.createElementBlock("div",P6,"N/A"))])])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(a.remarks)?"print-hidden":""])},[L6,e.createElementVNode("div",W6,[a.editable?(e.openBlock(),e.createElementBlock("div",$6,[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",M6,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:a.remarks},null,8,H6))],32))])],2),e.createElementVNode("div",I6,[G6,((Lt=t.report)==null?void 0:Lt.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("table",R6,[z6,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[U6,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"])]),Y6,Z6]),e.createElementVNode("tr",null,[Q6,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,[J6,e.createElementVNode("td",null,e.toDisplayString((ut=(Jt=t.report)==null?void 0:Jt.timeAnalysis)==null?void 0:ut.actualTime)+" (hrs)",1),e.createElementVNode("td",null,e.toDisplayString((Xt=(jt=(Kt=t.report)==null?void 0:Kt.consAnalysis)==null?void 0:jt.fo)==null?void 0:Xt.actualCons),1),e.createElementVNode("td",null,e.toDisplayString((eo=(vt=(qt=t.report)==null?void 0:qt.consAnalysis)==null?void 0:vt.dgo)==null?void 0:eo.actualCons),1),u6])])])):(e.openBlock(),e.createElementBlock("table",K6,[j6,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[X6,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,[q6,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",v6,[e.createElementVNode("div",ew,[tw,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,[ow,lw,aw,nw,sw,((bo=a.extraPortList)==null?void 0:bo.length)>0?(e.openBlock(),e.createElementBlock("th",cw,"Activity")):e.createCommentVNode("",!0)]),iw]),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",dw,[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"])]),rw,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"])]),mw,pw,e.createElementVNode("td",hw,[e.createVNode(b,{size:"small",onClick:Qe=>n.handleRemove(ao)},{default:e.withCtx(()=>[e.createTextVNode("Del")]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[_w,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,[Ew,yw,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),Nw,Vw,((Ao=a.extraPortList)==null?void 0:Ao.length)>0?(e.openBlock(),e.createElementBlock("td",fw)):e.createCommentVNode("",!0)])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",bw,[gw,e.createElementVNode("table",null,[xw,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",kw,[((Po=t.report)==null?void 0:Po.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",Dw,[e.createElementVNode("div",Cw,[Sw,Bw,e.createElementVNode("div",ww,[e.createElementVNode("div",Aw,[Tw,Fw,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",Ow,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",Pw,"CP Speed"))])]),Lw,e.createElementVNode("div",Ww,[e.createElementVNode("div",$w,[e.createElementVNode("div",null,e.toDisplayString((Lo=t.report)==null?void 0:Lo.extraDist),1),Hw,e.createElementVNode("div",null,e.toDisplayString(($o=(Wo=t.report)==null?void 0:Wo.extend)==null?void 0:$o.cpSpd),1)])]),Mw,e.createElementVNode("div",Iw,e.toDisplayString((Ro=(Ho=t.report)==null?void 0:Ho.timeAnalysis)==null?void 0:Ro.sailingTime)+" (hrs)",1)]),e.createElementVNode("div",Gw,[Rw,e.createElementVNode("div",zw,e.toDisplayString((Uo=(zo=t.report)==null?void 0:zo.timeAnalysis)==null?void 0:Uo.sailingTime),1),Uw,e.createElementVNode("div",Yw,e.toDisplayString(n.computeNum((Zo=(Yo=t.report)==null?void 0:Yo.timeAnalysis)==null?void 0:Zo.portTime)),1),Zw,e.createElementVNode("div",Qw,e.toDisplayString((Jo=(Qo=t.report)==null?void 0:Qo.timeAnalysis)==null?void 0:Jo.totalExtraTime)+" (hrs)",1)])])):(e.openBlock(),e.createElementBlock("div",Jw,[e.createElementVNode("div",uw,[Kw,jw,e.createElementVNode("div",Xw,[e.createElementVNode("div",qw,[vw,e7,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",t7,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",o7,"CP Speed"))])]),l7,e.createElementVNode("div",a7,[e.createElementVNode("div",n7,[e.createElementVNode("div",null,e.toDisplayString((uo=t.report)==null?void 0:uo.priorDist),1),s7,e.createElementVNode("div",null,e.toDisplayString((jo=(Ko=t.report)==null?void 0:Ko.extend)==null?void 0:jo.cpSpd),1)])]),c7,e.createElementVNode("div",i7,e.toDisplayString((qo=(Xo=t.report)==null?void 0:Xo.timeAnalysis)==null?void 0:qo.sailingTime)+" (hrs)",1),d7,r7]),e.createElementVNode("div",m7,[p7,e.createElementVNode("div",h7,e.toDisplayString((el=(vo=t.report)==null?void 0:vo.timeAnalysis)==null?void 0:el.actualTime),1),_7,e.createElementVNode("div",E7,e.toDisplayString((ol=(tl=t.report)==null?void 0:tl.timeAnalysis)==null?void 0:ol.sailingTime),1),y7,e.createElementVNode("div",N7,e.toDisplayString((al=(ll=t.report)==null?void 0:ll.timeAnalysis)==null?void 0:al.totalExtraTime)+" (hrs)",1)])]))]),e.createElementVNode("div",V7,[((nl=t.report)==null?void 0:nl.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,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",O7,"Daily FO Consumption + About")):(e.openBlock(),e.createElementBlock("div",P7,"Daily FO Consumption")),L7,W7])]),$7,e.createElementVNode("div",H7,[e.createElementVNode("div",M7,[e.createElementVNode("div",null,e.toDisplayString((sl=t.report)==null?void 0:sl.extraDist),1),I7,e.createElementVNode("div",null,e.toDisplayString((il=(cl=t.report)==null?void 0:cl.extend)==null?void 0:il.cpSpd),1)])]),G7,e.createElementVNode("div",R7,[e.createElementVNode("div",z7,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=t.report)==null?void 0:dl.extend)==null?void 0:rl.cpFoCons),1),U7,Y7])]),Z7,e.createElementVNode("div",Q7,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",J7,[u7,e.createElementVNode("div",K7,e.toDisplayString((Vl=(Nl=(yl=t.report)==null?void 0:yl.consAnalysis)==null?void 0:Nl.fo)==null?void 0:Vl.sailingCons),1),j7,e.createElementVNode("div",X7,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),q7,e.createElementVNode("div",v7,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",eA,[tA,oA,e.createElementVNode("div",lA,[e.createElementVNode("div",aA,[nA,sA,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",cA,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",iA,"CP Speed"))])]),dA,e.createElementVNode("div",rA,[e.createElementVNode("div",mA,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",pA,"Daily MGO Consumption + About")):(e.openBlock(),e.createElementBlock("div",hA,"Daily MGO Consumption")),_A,EA])]),yA,e.createElementVNode("div",NA,[e.createElementVNode("div",VA,[e.createElementVNode("div",null,e.toDisplayString((Cl=t.report)==null?void 0:Cl.extraDist),1),fA,e.createElementVNode("div",null,e.toDisplayString((Bl=(Sl=t.report)==null?void 0:Sl.extend)==null?void 0:Bl.cpSpd),1)])]),bA,e.createElementVNode("div",gA,[e.createElementVNode("div",xA,[e.createElementVNode("div",null,e.toDisplayString((Al=(wl=t.report)==null?void 0:wl.extend)==null?void 0:Al.cpDgoCons),1),kA,DA])]),CA,e.createElementVNode("div",SA,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",BA,[wA,e.createElementVNode("div",AA,e.toDisplayString((Wl=(Ll=(Pl=t.report)==null?void 0:Pl.consAnalysis)==null?void 0:Ll.dgo)==null?void 0:Wl.sailingCons),1),TA,e.createElementVNode("div",FA,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),OA,e.createElementVNode("div",PA,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",LA,[e.createElementVNode("div",WA,[$A,HA,e.createElementVNode("div",MA,[e.createElementVNode("div",IA,[GA,RA,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",zA,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",UA,"CP Speed"))])]),YA,e.createElementVNode("div",ZA,[e.createElementVNode("div",QA,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",JA,"CP Daily FO Consumption + About")):(e.openBlock(),e.createElementBlock("div",uA,"CP Daily FO Consumption")),KA,jA])]),XA,e.createElementVNode("div",qA,[e.createElementVNode("div",vA,[e.createElementVNode("div",null,e.toDisplayString((zl=t.report)==null?void 0:zl.priorDist),1),eT,e.createElementVNode("div",null,e.toDisplayString((Yl=(Ul=t.report)==null?void 0:Ul.extend)==null?void 0:Yl.cpSpd),1)])]),tT,e.createElementVNode("div",oT,[e.createElementVNode("div",lT,[e.createElementVNode("div",null,e.toDisplayString((Ql=(Zl=t.report)==null?void 0:Zl.extend)==null?void 0:Ql.cpFoCons),1),aT,nT])]),sT,e.createElementVNode("div",cT,e.toDisplayString((Kl=(ul=(Jl=t.report)==null?void 0:Jl.consAnalysis)==null?void 0:ul.fo)==null?void 0:Kl.sailingCons)+" (mt)",1)]),e.createElementVNode("div",iT,[dT,e.createElementVNode("div",rT,e.toDisplayString((ql=(Xl=(jl=t.report)==null?void 0:jl.consAnalysis)==null?void 0:Xl.fo)==null?void 0:ql.actualCons),1),mT,e.createElementVNode("div",pT,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),hT,e.createElementVNode("div",_T,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",ET,[yT,NT,e.createElementVNode("div",VT,[e.createElementVNode("div",fT,[bT,gT,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",xT,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",kT,"CP Speed"))])]),DT,e.createElementVNode("div",CT,[e.createElementVNode("div",ST,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",BT,"CP Daily MGO Consumption + About")):(e.openBlock(),e.createElementBlock("div",wT,"CP Daily MGO Consumption")),AT,TT])]),FT,e.createElementVNode("div",OT,[e.createElementVNode("div",PT,[e.createElementVNode("div",null,e.toDisplayString((na=t.report)==null?void 0:na.priorDist),1),LT,e.createElementVNode("div",null,e.toDisplayString((ca=(sa=t.report)==null?void 0:sa.extend)==null?void 0:ca.cpSpd),1)])]),WT,e.createElementVNode("div",$T,[e.createElementVNode("div",HT,[e.createElementVNode("div",null,e.toDisplayString((da=(ia=t.report)==null?void 0:ia.extend)==null?void 0:da.cpDgoCons),1),MT,IT])]),GT,e.createElementVNode("div",RT,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",zT,[UT,e.createElementVNode("div",YT,e.toDisplayString((Ea=(_a=(ha=t.report)==null?void 0:ha.consAnalysis)==null?void 0:_a.dgo)==null?void 0:Ea.actualCons),1),ZT,e.createElementVNode("div",QT,e.toDisplayString((Va=(Na=(ya=t.report)==null?void 0:ya.consAnalysis)==null?void 0:Na.dgo)==null?void 0:Va.sailingCons),1),JT,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",KT,[jT,e.createElementVNode("div",XT,[e.createElementVNode("img",{style:{width:"100%"},src:(xa=t.report)==null?void 0:xa.chartUrl,alt:""},null,8,qT),vT])])])])}const rn=Ce(e8,[["render",eF],["__scopeId","data-v-2e5dc49b"]]),iZ="",tF={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+8b0GhfKz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p8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},computed:{computeColor(){return function(o){return o>0?"fail":o<0?"success":""}},computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return o?`${u(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 qa.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},V=o=>(e.pushScopeId("data-v-eba493df"),o=o(),e.popScopeId(),o),oF={class:"deviation-report"},lF=V(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),aF={class:"report-header"},nF={class:"header-title",style:{position:"relative !important"}},sF={class:"header-title-content"},cF=V(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),iF={class:"title-date"},dF={class:"report-summary"},rF={class:"summary-item"},mF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),pF={class:"flexL gray"},hF={class:"summary-item"},_F=V(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),EF={class:"flexL gray"},yF={class:"summary-item"},NF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),VF={class:"flexL gray"},fF={class:"summary-item"},bF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),gF={class:"flexL gray"},xF={class:"summary-item"},kF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),DF={class:"flexL gray",style:{display:"flex"}},CF={class:"flex"},SF={class:"flexM"},BF={class:"summary-item"},wF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),AF={class:"flexL gray",style:{display:"flex"}},TF={class:"flex"},FF={class:"flexM"},OF=V(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),PF={class:"report-summary"},LF={class:"summary-item"},WF=V(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),$F={class:"summary-item"},HF=V(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),MF={class:"summary-item"},IF=V(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),GF={class:"summary-item"},RF=V(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),zF=V(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),UF={class:"report-map"},YF=["src"],ZF=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),QF=V(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),JF={key:0,class:"subtitle"},uF={key:1,class:"report-summary"},KF=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),jF={class:"summary-item"},XF=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),qF={class:"blue center",style:{width:"20%"}},vF={class:"blue center",style:{width:"17%"}},eO={class:"flex blue center"},tO={class:"flex blue center"},oO=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),lO=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),aO={class:"summary-item"},nO=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),sO={class:"blue center",style:{width:"20%"}},cO={class:"blue center",style:{width:"17%"}},iO={class:"flex blue center"},dO={class:"flex blue center"},rO={class:"flex blue center"},mO={class:"flex blue center"},pO={class:"summary-item"},hO=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),_O=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),EO={class:"blue center",style:{width:"17%"}},yO={class:"flex blue center"},NO={class:"flex blue center"},VO=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),fO=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),bO=V(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),gO={class:"report-summary"},xO={class:"summary-item"},kO=V(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),DO={class:"flexL blue center"},CO={class:"summary-item"},SO=V(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),BO={class:"flexL blue center"},wO={class:"summary-item"},AO=V(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),TO={class:"flexL blue center"},FO={class:"subtitle port"},OO=V(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),PO={class:"print-hidden"},LO={class:"report-port"},WO=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)),$O={rowspan:2},HO=V(()=>e.createElementVNode("td",null,"Arrival",-1)),MO=V(()=>e.createElementVNode("td",null,null,-1)),IO=V(()=>e.createElementVNode("td",null,null,-1)),GO={rowspan:2,class:"print-hidden"},RO=V(()=>e.createElementVNode("td",null,"Departure",-1)),zO=V(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),UO=V(()=>e.createElementVNode("td",null,null,-1)),YO=V(()=>e.createElementVNode("td",null,null,-1)),ZO=V(()=>e.createElementVNode("td",null,null,-1)),QO=V(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),JO=V(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),uO={class:"report-summary"},KO=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)),jO={class:"summary-item"},XO=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),qO={class:"flex blue center"},vO={class:"flex blue center"},eP={class:"summary-item"},tP=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),oP={class:"flex blue center"},lP=V(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),aP={key:2,class:"report-formular"},nP={class:"equation"},sP=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),cP={class:"function",style:{width:"20%"}},iP=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),dP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),rP={style:{width:"10%"}},mP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),pP={class:"equation"},hP=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),_P={style:{width:"5%"}},EP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),yP={style:{width:"8%"}},NP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),VP={style:{width:"4%"}},fP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),bP={key:3,class:"report-formular"},gP={class:"equation"},xP=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),kP={class:"function",style:{width:"20%"}},DP=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),CP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),SP={style:{width:"10%"}},BP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),wP={key:0,class:"equation"},AP=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),TP={style:{width:"5%"}},FP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),OP={style:{width:"5%"}},PP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),LP={style:{width:"5%"}},WP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),$P={key:1,class:"equation"},HP=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),MP={style:{width:"5%"}},IP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),GP={style:{width:"5%"}},RP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),zP={style:{width:"5%"}},UP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),YP={style:{width:"5%"}},ZP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),QP={key:4,class:"report-summary"},JP={class:"summary-item"},uP=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),KP={class:"flex blue center"},jP={class:"summary-item"},XP=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),qP={class:"flex blue center"},vP={class:"summary-item"},eL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),tL={class:"flex blue center"},oL={key:5,class:"report-summary"},lL={class:"summary-item"},aL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),nL={class:"flex blue center"},sL={class:"summary-item"},cL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),iL={class:"flex blue center"},dL={key:0,class:"summary-item"},rL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),mL={class:"flex blue center"},pL={class:"summary-item"},hL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),_L={class:"flex blue center"},EL=V(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),yL={key:6,class:"report-formular"},NL={class:"equation"},VL=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),fL={class:"function",style:{width:"5%"}},bL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),gL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),xL={class:"function",style:{width:"5%"}},kL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),DL=V(()=>e.createElementVNode("div",null,"24",-1)),CL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),SL={style:{width:"5%"}},BL=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),wL={class:"equation"},AL=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),TL={style:{width:"5%"}},FL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),OL={style:{width:"5%"}},PL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),LL={style:{width:"5%"}},WL=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),$L={class:"equation"},HL=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),ML={class:"function",style:{width:"5%"}},IL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),GL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),RL={class:"function",style:{width:"5%"}},zL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),UL=V(()=>e.createElementVNode("div",null,"24",-1)),YL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),ZL={style:{width:"5%"}},QL=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),JL={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),KL={style:{width:"5%"}},jL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),XL={style:{width:"5%"}},qL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),vL={style:{width:"5%"}},eW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),tW={key:7,class:"report-formular"},oW={class:"equation"},lW=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),aW={class:"function",style:{width:"5%"}},nW=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),sW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),cW={class:"function",style:{width:"5%"}},iW=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),dW=V(()=>e.createElementVNode("div",null,"24",-1)),rW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),mW={style:{width:"5%"}},pW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),hW={class:"equation"},_W=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),EW={class:"function",style:{width:"5%"}},yW=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),VW={class:"function",style:{width:"5%"}},fW=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),bW=V(()=>e.createElementVNode("div",null,"24",-1)),gW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),xW={style:{width:"5%"}},kW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),DW={key:0,class:"equation"},CW=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),SW={style:{width:"5%"}},BW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),wW={style:{width:"5%"}},AW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),TW={style:{width:"5%"}},FW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),OW={key:1,class:"equation"},PW=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),LW={style:{width:"5%"}},WW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),$W={style:{width:"5%"}},HW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),MW={style:{width:"5%"}},IW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),GW={style:{width:"5%"}},RW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),zW={key:2,class:"equation"},UW=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),YW={style:{width:"5%"}},ZW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),QW={style:{width:"5%"}},JW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),uW={style:{width:"5%"}},KW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),jW={key:3,class:"equation"},XW=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),qW={style:{width:"5%"}},vW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),e$={style:{width:"5%"}},t$=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),o$={style:{width:"5%"}},l$=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),a$={style:{width:"5%"}},n$=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),s$={key:8,class:"report-summary"},c$=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)),i$={class:"summary-item"},d$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),r$={class:"flex blue center"},m$={class:"flex blue center"},p$={class:"summary-item"},h$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),_$={class:"flex blue center"},E$={class:"flex blue center"},y$={class:"summary-item"},N$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),V$={key:9,class:"report-summary"},f$=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)),b$={class:"summary-item"},g$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),x$={class:"flex blue center"},k$={class:"flex blue center"},D$={class:"summary-item"},C$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),S$={class:"flex blue center"},B$={class:"flex blue center"},w$={key:0,class:"summary-item"},A$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),T$={class:"flex blue center"},F$={class:"flex blue center"},O$={class:"summary-item"},P$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),L$=["innerHTML"];function W$(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,j,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,ue,Ke,je,A,Se,Ge,Xe,qe,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,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,ut,Kt,jt,Xt,qt,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,uo,Ko,jo,Xo,qo,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,ul,Kl,jl,Xl,ql,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",oF,[lF,e.createElementVNode("div",aF,[e.createElementVNode("div",nF,[e.createElementVNode("div",sF,[cF,e.createElementVNode("div",iF,e.toDisplayString(n.computeUTCTime((h=a.extraData)==null?void 0:h.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",dF,[e.createElementVNode("div",rF,[mF,e.createElementVNode("div",pF,e.toDisplayString((D=(N=a.extraData)==null?void 0:N.vessel)==null?void 0:D.name),1)]),e.createElementVNode("div",hF,[_F,e.createElementVNode("div",EF,e.toDisplayString((x=a.extraData)==null?void 0:x.preparedFor),1)]),e.createElementVNode("div",yF,[NF,e.createElementVNode("div",VF,e.toDisplayString((k=(C=a.extraData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("div",fF,[bF,e.createElementVNode("div",gF,e.toDisplayString((F=(T=a.extraData)==null?void 0:T.voyage)==null?void 0:F.number),1)]),e.createElementVNode("div",xF,[kF,e.createElementVNode("div",DF,[e.createElementVNode("span",CF,e.toDisplayString((w=(B=a.extraData)==null?void 0:B.departure)==null?void 0:w.name),1),e.createElementVNode("span",SF,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",BF,[wF,e.createElementVNode("div",AF,[e.createElementVNode("span",TF,e.toDisplayString((z=(R=a.extraData)==null?void 0:R.arrival)==null?void 0:z.name),1),e.createElementVNode("span",FF,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)])])]),OF,e.createElementVNode("div",PF,[e.createElementVNode("div",LF,[WF,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",$F,[HF,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",MF,[IF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((j=(l=(se=a.extraData)==null?void 0:se.consAnalysis)==null?void 0:l.fo)==null?void 0:j.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",GF,[RF,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)])]),zF,e.createElementVNode("div",UF,[e.createElementVNode("img",{style:{width:"100%"},src:(X=a.extraData)==null?void 0:X.chartUrl,alt:""},null,8,YF),ZF]),QF,o.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",JF,"Diversion Information")),o.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",uF,[KF,e.createElementVNode("div",jF,[XF,e.createElementVNode("div",qF,e.toDisplayString(n.computedLngLat((me=a.extraData)==null?void 0:me.startLng,(Ee=a.extraData)==null?void 0:Ee.startLat)),1),e.createElementVNode("div",vF,e.toDisplayString(n.computeUTCTime((ye=a.extraData)==null?void 0:ye.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",eO,[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",tO,[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"])]),oO,lO]),e.createElementVNode("div",aO,[nO,e.createElementVNode("div",sO,e.toDisplayString(n.computedLngLat((be=a.extraData)==null?void 0:be.endLng,(ge=a.extraData)==null?void 0:ge.endLat)),1),e.createElementVNode("div",cO,e.toDisplayString(n.computeUTCTime((xe=a.extraData)==null?void 0:xe.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",iO,[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",dO,[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",rO,[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",mO,[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",pO,[hO,_O,e.createElementVNode("div",EO,e.toDisplayString(((Pe=(Oe=a.extraData)==null?void 0:Oe.timeAnalysis)==null?void 0:Pe.actualTime)??"—"),1),e.createElementVNode("div",yO,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",NO,e.toDisplayString(((ue=(Ne=(He=a.extraData)==null?void 0:He.consAnalysis)==null?void 0:Ne.dgo)==null?void 0:ue.actualCons)??"—"),1),VO,fO])])),bO,e.createElementVNode("div",gO,[e.createElementVNode("div",xO,[kO,e.createElementVNode("div",DO,e.toDisplayString(((je=(Ke=a.extraData)==null?void 0:Ke.cp)==null?void 0:je.speed)??"—"),1)]),e.createElementVNode("div",CO,[SO,e.createElementVNode("div",BO,e.toDisplayString(((Se=(A=a.extraData)==null?void 0:A.cp)==null?void 0:Se.fo)??"—"),1)]),e.createElementVNode("div",wO,[AO,e.createElementVNode("div",TO,e.toDisplayString(((Xe=(Ge=a.extraData)==null?void 0:Ge.cp)==null?void 0:Xe.dgo)??"—"),1)])]),e.createElementVNode("div",FO,[OO,e.createElementVNode("div",PO,[e.createVNode(p,{size:20,onClick:n.handleAdd},{default:e.withCtx(()=>[e.createVNode(c)]),_:1},8,["onClick"])])]),e.createElementVNode("div",LO,[e.createElementVNode("table",null,[WO,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,ua;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Mo},[e.createElementVNode("tr",null,[e.createElementVNode("td",$O,[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"])]),HO,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"])]),MO,IO,e.createElementVNode("td",GO,[e.createVNode(p,{size:20,onClick:ct=>n.handleRemove(Mo)},{default:e.withCtx(()=>[e.createVNode(b)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[RO,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:(ua=K==null?void 0:K.departure)==null?void 0:ua.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,[zO,UO,e.createElementVNode("td",null,e.toDisplayString(((ve=(qe=a.extraData)==null?void 0:qe.timeAnalysis)==null?void 0:ve.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(tt=(et=a.extraData)==null?void 0:et.consAnalysis)==null?void 0:tt.fo)==null?void 0:m.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Me=(Be=($=a.extraData)==null?void 0:$.consAnalysis)==null?void 0:Be.dgo)==null?void 0:Me.portCons)??"—"),1),YO,ZO,QO])])])]),JO,e.createElementVNode("div",uO,[KO,e.createElementVNode("div",jO,[XO,e.createElementVNode("div",qO,[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",vO,[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",eP,[tP,e.createElementVNode("div",oP,e.toDisplayString(((Ue=a.extraData)==null?void 0:Ue.extraDist)??"—"),1)])]),lP,o.isDistExtra?(e.openBlock(),e.createElementBlock("div",aP,[e.createElementVNode("div",nP,[sP,e.createElementVNode("div",cP,[e.createElementVNode("div",null,e.toDisplayString((ot=a.extraData)==null?void 0:ot.extraDist),1),iP,e.createElementVNode("div",null,e.toDisplayString((dt=(lt=a.extraData)==null?void 0:lt.cp)==null?void 0:dt.speed),1)]),dP,e.createElementVNode("div",rP,e.toDisplayString((mt=(rt=a.extraData)==null?void 0:rt.timeAnalysis)==null?void 0:mt.sailingTime),1),mP]),e.createElementVNode("div",pP,[hP,e.createElementVNode("div",_P,e.toDisplayString((_t=(pt=a.extraData)==null?void 0:pt.timeAnalysis)==null?void 0:_t.sailingTime),1),EP,e.createElementVNode("div",yP,e.toDisplayString(n.computeNum((yt=(Et=a.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:yt.portTime)),1),NP,e.createElementVNode("div",VP,e.toDisplayString((Vt=(Nt=a.extraData)==null?void 0:Nt.timeAnalysis)==null?void 0:Vt.totalExtraTime),1),fP])])):(e.openBlock(),e.createElementBlock("div",bP,[e.createElementVNode("div",gP,[xP,e.createElementVNode("div",kP,[e.createElementVNode("div",null,e.toDisplayString((ft=a.extraData)==null?void 0:ft.priorDist),1),DP,e.createElementVNode("div",null,e.toDisplayString((gt=(bt=a.extraData)==null?void 0:bt.cp)==null?void 0:gt.speed),1)]),CP,e.createElementVNode("div",SP,e.toDisplayString((kt=(xt=a.extraData)==null?void 0:xt.timeAnalysis)==null?void 0:kt.sailingTime),1),BP]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",wP,[AP,e.createElementVNode("div",TP,e.toDisplayString((Ct=(Dt=a.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:Ct.actualTime),1),FP,e.createElementVNode("div",OP,e.toDisplayString((Bt=(St=a.extraData)==null?void 0:St.timeAnalysis)==null?void 0:Bt.sailingTime),1),PP,e.createElementVNode("div",LP,e.toDisplayString((At=(wt=a.extraData)==null?void 0:wt.timeAnalysis)==null?void 0:At.totalExtraTime),1),WP])):(e.openBlock(),e.createElementBlock("div",$P,[HP,e.createElementVNode("div",MP,e.toDisplayString((Ft=(Tt=a.extraData)==null?void 0:Tt.timeAnalysis)==null?void 0:Ft.actualTime),1),IP,e.createElementVNode("div",GP,e.toDisplayString((Pt=(Ot=a.extraData)==null?void 0:Ot.timeAnalysis)==null?void 0:Pt.sailingTime),1),RP,e.createElementVNode("div",zP,e.toDisplayString((so=(no=a.extraData)==null?void 0:no.timeAnalysis)==null?void 0:so.portTime),1),UP,e.createElementVNode("div",YP,e.toDisplayString((io=(co=a.extraData)==null?void 0:co.timeAnalysis)==null?void 0:io.totalExtraTime),1),ZP]))])),o.isDistExtra?(e.openBlock(),e.createElementBlock("div",QP,[e.createElementVNode("div",JP,[uP,e.createElementVNode("div",KP,e.toDisplayString(((mo=(ro=a.extraData)==null?void 0:ro.timeAnalysis)==null?void 0:mo.sailingTime)??"—"),1)]),e.createElementVNode("div",jP,[XP,e.createElementVNode("div",qP,e.toDisplayString(((ho=(po=a.extraData)==null?void 0:po.timeAnalysis)==null?void 0:ho.portTime)??"—"),1)]),e.createElementVNode("div",vP,[eL,e.createElementVNode("div",tL,e.toDisplayString(((Eo=(_o=a.extraData)==null?void 0:_o.timeAnalysis)==null?void 0:Eo.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",oL,[e.createElementVNode("div",lL,[aL,e.createElementVNode("div",nL,e.toDisplayString((Ie=(S=a.extraData)==null?void 0:S.timeAnalysis)==null?void 0:Ie.sailingTime),1)]),e.createElementVNode("div",sL,[cL,e.createElementVNode("div",iL,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",dL,[rL,e.createElementVNode("div",mL,e.toDisplayString(((Lt=(ht=a.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:Lt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",pL,[hL,e.createElementVNode("div",_L,e.toDisplayString(($t=(Wt=a.extraData)==null?void 0:Wt.timeAnalysis)==null?void 0:$t.totalExtraTime),1)])])),EL,o.isDistExtra?(e.openBlock(),e.createElementBlock("div",yL,[e.createElementVNode("div",NL,[VL,e.createElementVNode("div",fL,[e.createElementVNode("div",null,e.toDisplayString((Ht=a.extraData)==null?void 0:Ht.extraDist),1),bL,e.createElementVNode("div",null,e.toDisplayString((It=(Mt=a.extraData)==null?void 0:Mt.cp)==null?void 0:It.speed),1)]),gL,e.createElementVNode("div",xL,[e.createElementVNode("div",null,e.toDisplayString((Rt=(Gt=a.extraData)==null?void 0:Gt.cp)==null?void 0:Rt.fo),1),kL,DL]),CL,e.createElementVNode("div",SL,e.toDisplayString((Yt=(Ut=(zt=a.extraData)==null?void 0:zt.consAnalysis)==null?void 0:Ut.fo)==null?void 0:Yt.sailingCons),1),BL]),e.createElementVNode("div",wL,[AL,e.createElementVNode("div",TL,e.toDisplayString((Jt=(Qt=(Zt=a.extraData)==null?void 0:Zt.consAnalysis)==null?void 0:Qt.fo)==null?void 0:Jt.sailingCons),1),FL,e.createElementVNode("div",OL,e.toDisplayString(n.computeNum((jt=(Kt=(ut=a.extraData)==null?void 0:ut.consAnalysis)==null?void 0:Kt.fo)==null?void 0:jt.portCons)),1),PL,e.createElementVNode("div",LL,e.toDisplayString((vt=(qt=(Xt=a.extraData)==null?void 0:Xt.consAnalysis)==null?void 0:qt.fo)==null?void 0:vt.totalExtraCons),1),WL]),e.createElementVNode("div",$L,[HL,e.createElementVNode("div",ML,[e.createElementVNode("div",null,e.toDisplayString((eo=a.extraData)==null?void 0:eo.extraDist),1),IL,e.createElementVNode("div",null,e.toDisplayString((oo=(to=a.extraData)==null?void 0:to.cp)==null?void 0:oo.speed),1)]),GL,e.createElementVNode("div",RL,[e.createElementVNode("div",null,e.toDisplayString((yo=(lo=a.extraData)==null?void 0:lo.cp)==null?void 0:yo.dgo),1),zL,UL]),YL,e.createElementVNode("div",ZL,e.toDisplayString((fo=(Vo=(No=a.extraData)==null?void 0:No.consAnalysis)==null?void 0:Vo.dgo)==null?void 0:fo.sailingCons),1),QL]),e.createElementVNode("div",JL,[uL,e.createElementVNode("div",KL,e.toDisplayString((xo=(go=(bo=a.extraData)==null?void 0:bo.consAnalysis)==null?void 0:go.dgo)==null?void 0:xo.sailingCons),1),jL,e.createElementVNode("div",XL,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),qL,e.createElementVNode("div",vL,e.toDisplayString((wo=(Bo=(So=a.extraData)==null?void 0:So.consAnalysis)==null?void 0:Bo.dgo)==null?void 0:wo.totalExtraCons),1),eW])])):(e.openBlock(),e.createElementBlock("div",tW,[e.createElementVNode("div",oW,[lW,e.createElementVNode("div",aW,[e.createElementVNode("div",null,e.toDisplayString((Ao=a.extraData)==null?void 0:Ao.priorDist),1),nW,e.createElementVNode("div",null,e.toDisplayString((Fo=(To=a.extraData)==null?void 0:To.cp)==null?void 0:Fo.speed),1)]),sW,e.createElementVNode("div",cW,[e.createElementVNode("div",null,e.toDisplayString((Po=(Oo=a.extraData)==null?void 0:Oo.cp)==null?void 0:Po.fo),1),iW,dW]),rW,e.createElementVNode("div",mW,e.toDisplayString(($o=(Wo=(Lo=a.extraData)==null?void 0:Lo.consAnalysis)==null?void 0:Wo.fo)==null?void 0:$o.sailingCons),1),pW]),e.createElementVNode("div",hW,[_W,e.createElementVNode("div",EW,[e.createElementVNode("div",null,e.toDisplayString((Ho=a.extraData)==null?void 0:Ho.priorDist),1),yW,e.createElementVNode("div",null,e.toDisplayString((zo=(Ro=a.extraData)==null?void 0:Ro.cp)==null?void 0:zo.speed),1)]),NW,e.createElementVNode("div",VW,[e.createElementVNode("div",null,e.toDisplayString((Yo=(Uo=a.extraData)==null?void 0:Uo.cp)==null?void 0:Yo.dgo),1),fW,bW]),gW,e.createElementVNode("div",xW,e.toDisplayString((Jo=(Qo=(Zo=a.extraData)==null?void 0:Zo.consAnalysis)==null?void 0:Qo.dgo)==null?void 0:Jo.sailingCons),1),kW]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",DW,[CW,e.createElementVNode("div",SW,e.toDisplayString((jo=(Ko=(uo=a.extraData)==null?void 0:uo.consAnalysis)==null?void 0:Ko.fo)==null?void 0:jo.actualCons),1),BW,e.createElementVNode("div",wW,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),AW,e.createElementVNode("div",TW,e.toDisplayString((ol=(tl=(el=a.extraData)==null?void 0:el.consAnalysis)==null?void 0:tl.fo)==null?void 0:ol.totalExtraCons),1),FW])):(e.openBlock(),e.createElementBlock("div",OW,[PW,e.createElementVNode("div",LW,e.toDisplayString((nl=(al=(ll=a.extraData)==null?void 0:ll.consAnalysis)==null?void 0:al.fo)==null?void 0:nl.actualCons),1),WW,e.createElementVNode("div",$W,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),HW,e.createElementVNode("div",MW,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),IW,e.createElementVNode("div",GW,e.toDisplayString((yl=(El=(pl=a.extraData)==null?void 0:pl.consAnalysis)==null?void 0:El.fo)==null?void 0:yl.totalExtraCons),1),RW])),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",zW,[UW,e.createElementVNode("div",YW,e.toDisplayString((fl=(Vl=(Nl=a.extraData)==null?void 0:Nl.consAnalysis)==null?void 0:Vl.dgo)==null?void 0:fl.actualCons),1),ZW,e.createElementVNode("div",QW,e.toDisplayString((xl=(gl=(bl=a.extraData)==null?void 0:bl.consAnalysis)==null?void 0:gl.dgo)==null?void 0:xl.sailingCons),1),JW,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),KW])):(e.openBlock(),e.createElementBlock("div",jW,[XW,e.createElementVNode("div",qW,e.toDisplayString((wl=(Bl=(Sl=a.extraData)==null?void 0:Sl.consAnalysis)==null?void 0:Bl.dgo)==null?void 0:wl.actualCons),1),vW,e.createElementVNode("div",e$,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),t$,e.createElementVNode("div",o$,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),l$,e.createElementVNode("div",a$,e.toDisplayString((Hl=($l=(Wl=a.extraData)==null?void 0:Wl.consAnalysis)==null?void 0:$l.dgo)==null?void 0:Hl.totalExtraCons),1),n$]))])),o.isDistExtra?(e.openBlock(),e.createElementBlock("div",s$,[c$,e.createElementVNode("div",i$,[d$,e.createElementVNode("div",r$,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",m$,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",p$,[h$,e.createElementVNode("div",_$,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",E$,e.toDisplayString(((Kl=(ul=(Jl=a.extraData)==null?void 0:Jl.consAnalysis)==null?void 0:ul.dgo)==null?void 0:Kl.portCons)??"—"),1)]),e.createElementVNode("div",y$,[N$,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ql=(Xl=(jl=a.extraData)==null?void 0:jl.consAnalysis)==null?void 0:Xl.fo)==null?void 0:ql.totalExtraCons)} flex blue center`)},e.toDisplayString(((ta=(ea=(vl=a.extraData)==null?void 0:vl.consAnalysis)==null?void 0:ea.fo)==null?void 0:ta.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((aa=(la=(oa=a.extraData)==null?void 0:oa.consAnalysis)==null?void 0:la.dgo)==null?void 0:aa.totalExtraCons)} flex blue center`)},e.toDisplayString(((ca=(sa=(na=a.extraData)==null?void 0:na.consAnalysis)==null?void 0:sa.dgo)==null?void 0:ca.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",V$,[f$,e.createElementVNode("div",b$,[g$,e.createElementVNode("div",x$,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",k$,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",D$,[C$,e.createElementVNode("div",S$,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",B$,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",w$,[A$,e.createElementVNode("div",T$,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",F$,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",O$,[P$,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,L$))],2)])}const mn=Ce(tF,[["render",W$],["__scopeId","data-v-eba493df"]]),$$={install(o){o.component("DeviationReport",rn),o.component("FliDeviationReport",mn)}},dZ="",H$={name:"OrmStoppage",components:{IdmBrand:Io,Editor:Go},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA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viAAAAAElFTkSuQmCC",self.location).href,remarks:void 0,editable:!1,loading:!0}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return o?`${u(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),M$={class:"stoppage-report"},I$={class:"content-box"},G$={class:"info-box border"},R$={class:"flex-between row"},z$={class:"flex-between",style:{width:"48%"}},U$=Ae(()=>e.createElementVNode("label",{class:"label"},"Prepared For:",-1)),Y$={class:"flex-between",style:{width:"48%"}},Z$=Ae(()=>e.createElementVNode("label",{class:"label"},"Departure Port:",-1)),Q$={style:{"margin-left":"5px"}},J$={class:"flex-between row"},u$={class:"flex-between",style:{width:"48%"}},K$=Ae(()=>e.createElementVNode("label",{class:"label"},"Vessel:",-1)),j$={class:"flex-between",style:{width:"48%"}},X$=Ae(()=>e.createElementVNode("label",{class:"label"},"Arrival Port:",-1)),q$={style:{"margin-left":"5px"}},v$={class:"flex-between row"},eH={class:"flex-between",style:{width:"48%"}},tH=Ae(()=>e.createElementVNode("label",{class:"label"},"Voyage No:",-1)),oH={class:"flex-between",style:{width:"48%"}},lH=Ae(()=>e.createElementVNode("label",{class:"label"},"Load Condition:",-1)),aH={class:"section summary-section"},nH=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Summary",-1)),sH={class:"formula-block flex-between border"},cH={class:"item"},iH=Ae(()=>e.createElementVNode("div",{class:"title"},"Total Time Lost",-1)),dH={class:"value flex-end"},rH={key:0},mH=Ae(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),pH={class:"gain"},hH=Ae(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),_H={key:1},EH=Ae(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),yH={class:"lost"},NH=Ae(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),VH={key:2},fH={class:"item"},bH=Ae(()=>e.createElementVNode("div",{class:"title"},"FO Total Consumption",-1)),gH={class:"value flex-end"},xH={key:0},kH=Ae(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),DH={class:"gain"},CH=Ae(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),SH={key:1},BH=Ae(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),wH={class:"lost"},AH=Ae(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),TH={key:2},FH={class:"item"},OH=Ae(()=>e.createElementVNode("div",{class:"title"},"MGO Total Consumption",-1)),PH={class:"value flex-end"},LH={key:0},WH=Ae(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),$H={class:"gain"},HH=Ae(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),MH={key:1},IH=Ae(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),GH={class:"lost"},RH=Ae(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),zH={key:2},UH=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Remarks",-1)),YH={class:"section-content"},ZH={key:0,class:""},QH=["innerHTML"],JH={key:1},uH={class:"section table-section"},KH=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Stoppage Info",-1)),jH=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)),XH=Ae(()=>e.createElementVNode("td",{rowspan:2},"1",-1)),qH=Ae(()=>e.createElementVNode("td",null,"Stopped",-1)),vH={rowspan:2},eM={rowspan:2},tM={rowspan:2},oM=Ae(()=>e.createElementVNode("td",null,"Resumed",-1)),lM={class:"section map-section"},aM=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Voayge Map",-1)),nM=["src"];function sM(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,j,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",M$,[e.createVNode(E,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",I$,[e.createElementVNode("div",G$,[e.createElementVNode("div",R$,[e.createElementVNode("div",z$,[U$,e.createElementVNode("div",null,e.toDisplayString((p=t.report)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",Y$,[Z$,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",Q$,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",J$,[e.createElementVNode("div",u$,[K$,e.createElementVNode("div",null,e.toDisplayString((k=(C=t.report)==null?void 0:C.vessel)==null?void 0:k.name),1)]),e.createElementVNode("div",j$,[X$,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",q$,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",v$,[e.createElementVNode("div",eH,[tH,e.createElementVNode("div",null,e.toDisplayString((G=(I=t.report)==null?void 0:I.voyage)==null?void 0:G.number),1)]),e.createElementVNode("div",oH,[lH,e.createElementVNode("div",null,e.toDisplayString((z=(R=t.report)==null?void 0:R.voyage)==null?void 0:z.loadCondition),1)])])]),e.createElementVNode("div",aH,[nH,e.createElementVNode("div",sH,[e.createElementVNode("div",cH,[iH,e.createElementVNode("div",dH,[((_=t.report)==null?void 0:_.totalTime)<0?(e.openBlock(),e.createElementBlock("div",rH,[mH,e.createElementVNode("span",pH,e.toDisplayString((L=t.report)==null?void 0:L.totalTime),1),hH])):((H=t.report)==null?void 0:H.totalTime)>=0?(e.openBlock(),e.createElementBlock("div",_H,[EH,e.createElementVNode("span",yH,e.toDisplayString((W=t.report)==null?void 0:W.totalTime),1),NH])):(e.openBlock(),e.createElementBlock("div",VH,"N/A"))])]),e.createElementVNode("div",fH,[bH,e.createElementVNode("div",gH,[((P=t.report)==null?void 0:P.totalFoCons)<0?(e.openBlock(),e.createElementBlock("div",xH,[kH,e.createElementVNode("span",DH,e.toDisplayString((M=t.report)==null?void 0:M.totalFoCons),1),CH])):((Q=t.report)==null?void 0:Q.totalFoCons)>=0?(e.openBlock(),e.createElementBlock("div",SH,[BH,e.createElementVNode("span",wH,e.toDisplayString((U=t.report)==null?void 0:U.totalFoCons),1),AH])):(e.openBlock(),e.createElementBlock("div",TH,"N/A"))])]),e.createElementVNode("div",FH,[OH,e.createElementVNode("div",PH,[((J=t.report)==null?void 0:J.totalDgoCons)<0?(e.openBlock(),e.createElementBlock("div",LH,[WH,e.createElementVNode("span",$H,e.toDisplayString((ne=t.report)==null?void 0:ne.totalDgoCons),1),HH])):((se=t.report)==null?void 0:se.totalDgoCons)>=0?(e.openBlock(),e.createElementBlock("div",MH,[IH,e.createElementVNode("span",GH,e.toDisplayString((l=t.report)==null?void 0:l.totalDgoCons),1),RH])):(e.openBlock(),e.createElementBlock("div",zH,"N/A"))])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(a.remarks)?"print-hidden":""])},[UH,e.createElementVNode("div",YH,[a.editable?(e.openBlock(),e.createElementBlock("div",ZH,[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",JH,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:a.remarks},null,8,QH))],32))])],2),e.createElementVNode("div",uH,[KH,e.createElementVNode("table",null,[jH,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[XH,qH,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((j=t.report)==null?void 0:j.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",vH,e.toDisplayString(n.computeRoundPrecision(((le=t.report)==null?void 0:le.totalTime)??"-")),1),e.createElementVNode("td",eM,e.toDisplayString(n.computeRoundPrecision(((ce=t.report)==null?void 0:ce.totalFoCons)??"-")),1),e.createElementVNode("td",tM,e.toDisplayString(n.computeRoundPrecision(((ie=t.report)==null?void 0:ie.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[oM,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((X=t.report)==null?void 0:X.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",lM,[aM,e.createElementVNode("img",{src:(ye=t.report)==null?void 0:ye.chartUrl,alt:""},null,8,nM)])])])}const pn=Ce(H$,[["render",sM],["__scopeId","data-v-e829fef7"]]),cM={install(o){o.component("StoppageReport",pn)}},rZ="",iM={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?`${u(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),dM={class:"comparison-report"},rM={class:"report-summary"},mM={class:"summary-item"},pM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),hM={class:"flexL gray"},_M={class:"summary-item"},EM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),yM={class:"flexL gray"},NM={class:"summary-item"},VM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),fM={class:"flexL gray"},bM={class:"summary-item"},gM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),xM={class:"flexL gray"},kM={class:"summary-item"},DM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),CM={class:"flexL gray"},SM={class:"summary-item"},BM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),wM={class:"flexL gray",style:{display:"flex"}},AM={class:"flex"},TM={class:"flexM"},FM={class:"summary-item"},OM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),PM={class:"flexL gray",style:{display:"flex"}},LM={class:"flex"},WM={class:"flexM"},$M=Ve(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),HM={class:"report-summary"},MM={class:"summary-item"},IM=Ve(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),GM={class:"summary-item"},RM=Ve(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),zM={class:"summary-item"},UM=Ve(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),YM=Ve(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),ZM={class:"report-map"},QM=["src"],JM=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"},KM={key:1,class:"report-summary"},jM={class:"summary-item"},XM=Ve(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),qM={class:"flexL blue center"},vM={class:"summary-item"},eI=Ve(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),tI={class:"flexL blue center"},oI={class:"summary-item"},lI=Ve(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),aI={class:"flexL blue center"},nI=Ve(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),sI={class:"report-summary"},cI=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)),iI={class:"summary-item"},dI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),rI={class:"flex blue-light center"},mI={class:"flex blue-light center"},pI={class:"summary-item"},hI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),_I={class:"flex blue-light center"},EI={class:"flex blue-light center"},yI={class:"summary-item"},NI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),VI={class:"flex blue-light center"},fI={class:"flex blue-light center"},bI={class:"summary-item"},gI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),xI={class:"flex blue-light center"},kI={class:"flex blue-light center"},DI={class:"summary-item"},CI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),SI={class:"flex blue-light center"},BI={class:"flex blue-light center"},wI={class:"summary-item"},AI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),TI={class:"flex blue-light center"},FI={class:"flex blue-light center"},OI={class:"summary-item"},PI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),LI={class:"flex blue-light center italic"},WI=Ve(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),$I={class:"report-summary"},HI=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)),MI={class:"summary-item"},II=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),GI={class:"flex blue-light center"},RI={class:"flex blue-light center"},zI={class:"summary-item"},UI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),YI={class:"flex blue-light center"},ZI={class:"flex blue-light center"},QI={class:"summary-item"},JI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),uI={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%"}},"Total DO/GO Consumption (mt)",-1)),qI={class:"flex blue-light center"},vI={class:"flex blue-light center"},eG={class:"summary-item"},tG=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),oG={class:"flex blue-light center italic"},lG={class:"summary-item"},aG=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),nG={class:"flex blue-light center italic"},sG=["innerHTML"];function cG(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,j,v,ee,te,oe,le,ce,ie,de,_e,X,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",dM,[e.createVNode(E,{name:"Voyage Comparison Report"}),e.createElementVNode("div",rM,[e.createElementVNode("div",mM,[pM,e.createElementVNode("div",hM,e.toDisplayString((b=(p=t.report)==null?void 0:p.vessel)==null?void 0:b.name),1)]),e.createElementVNode("div",_M,[EM,e.createElementVNode("div",yM,e.toDisplayString((g=t.report)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",NM,[VM,e.createElementVNode("div",fM,e.toDisplayString((N=(h=t.report)==null?void 0:h.vessel)==null?void 0:N.type),1)]),e.createElementVNode("div",bM,[gM,e.createElementVNode("div",xM,e.toDisplayString((x=(D=t.report)==null?void 0:D.voyage)==null?void 0:x.loadCondition),1)]),e.createElementVNode("div",kM,[DM,e.createElementVNode("div",CM,e.toDisplayString((k=(C=t.report)==null?void 0:C.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",SM,[BM,e.createElementVNode("div",wM,[e.createElementVNode("span",AM,e.toDisplayString((F=(T=t.report)==null?void 0:T.departure)==null?void 0:F.name),1),e.createElementVNode("span",TM,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",FM,[OM,e.createElementVNode("div",PM,[e.createElementVNode("span",LM,e.toDisplayString((G=(I=t.report)==null?void 0:I.arrival)==null?void 0:G.name),1),e.createElementVNode("span",WM,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)])])]),$M,e.createElementVNode("div",HM,[e.createElementVNode("div",MM,[IM,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",GM,[RM,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",zM,[UM,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)])]),YM,e.createElementVNode("div",ZM,[e.createElementVNode("img",{style:{width:"100%"},src:(J=t.report)==null?void 0:J.chartUrl,alt:""},null,8,QM),JM]),(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",KM,[e.createElementVNode("div",jM,[XM,e.createElementVNode("div",qM,e.toDisplayString(((j=(l=t.report)==null?void 0:l.cp)==null?void 0:j.speed)??"—"),1)]),e.createElementVNode("div",vM,[eI,e.createElementVNode("div",tI,e.toDisplayString(((ee=(v=t.report)==null?void 0:v.cp)==null?void 0:ee.fo)??"—"),1)]),e.createElementVNode("div",oI,[lI,e.createElementVNode("div",aI,e.toDisplayString(((oe=(te=t.report)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),nI,e.createElementVNode("div",sI,[cI,e.createElementVNode("div",iI,[dI,e.createElementVNode("div",rI,e.toDisplayString(((le=t.report)==null?void 0:le.actualDist)??"—"),1),e.createElementVNode("div",mI,e.toDisplayString(((ce=t.report)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",pI,[hI,e.createElementVNode("div",_I,e.toDisplayString(((ie=t.report)==null?void 0:ie.actualTime)??"—"),1),e.createElementVNode("div",EI,e.toDisplayString(((de=t.report)==null?void 0:de.recmdTime)??"—"),1)]),e.createElementVNode("div",yI,[NI,e.createElementVNode("div",VI,e.toDisplayString(((_e=t.report)==null?void 0:_e.actualAvgSpd)??"—"),1),e.createElementVNode("div",fI,e.toDisplayString(((X=t.report)==null?void 0:X.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",bI,[gI,e.createElementVNode("div",xI,e.toDisplayString(((me=t.report)==null?void 0:me.actualAvgCF)??"—"),1),e.createElementVNode("div",kI,e.toDisplayString(((Ee=t.report)==null?void 0:Ee.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",DI,[CI,e.createElementVNode("div",SI,e.toDisplayString(((ye=t.report)==null?void 0:ye.actualAvgWF)??"—"),1),e.createElementVNode("div",BI,e.toDisplayString(((re=t.report)==null?void 0:re.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",wI,[AI,e.createElementVNode("div",TI,e.toDisplayString(((fe=t.report)==null?void 0:fe.actualPfmSpd)??"—"),1),e.createElementVNode("div",FI,e.toDisplayString(((be=t.report)==null?void 0:be.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",OI,[PI,e.createElementVNode("div",LI,e.toDisplayString(n.compareTime((ge=t.report)==null?void 0:ge.actualTime,(xe=t.report)==null?void 0:xe.recmdTime)),1)])]),WI,e.createElementVNode("div",$I,[HI,e.createElementVNode("div",MI,[II,e.createElementVNode("div",GI,e.toDisplayString(((ke=t.report)==null?void 0:ke.actualAvgFoCons)??"-"),1),e.createElementVNode("div",RI,e.toDisplayString(((De=t.report)==null?void 0:De.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",zI,[UI,e.createElementVNode("div",YI,e.toDisplayString(((Te=t.report)==null?void 0:Te.actualFoCons)??"-"),1),e.createElementVNode("div",ZI,e.toDisplayString(((Fe=t.report)==null?void 0:Fe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",QI,[JI,e.createElementVNode("div",uI,e.toDisplayString(((Oe=t.report)==null?void 0:Oe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",KI,e.toDisplayString(((Pe=t.report)==null?void 0:Pe.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",jI,[XI,e.createElementVNode("div",qI,e.toDisplayString(((Le=t.report)==null?void 0:Le.actualDgoCons)??"-"),1),e.createElementVNode("div",vI,e.toDisplayString(((We=t.report)==null?void 0:We.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",eG,[tG,e.createElementVNode("div",oG,e.toDisplayString((($e=t.report)==null?void 0:$e.diffFoCons)??"-"),1)]),e.createElementVNode("div",lG,[aG,e.createElementVNode("div",nG,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,sG))],2)])}const hn=Ce(iM,[["render",cG],["__scopeId","data-v-99108259"]]),mZ="",iG={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,iVBORw0KGg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Q93fjKbngZWMqm7D5f9/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?`${u(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-f7bdbf19"),o=o(),e.popScopeId(),o),dG={class:"comparison-report"},rG=he(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),mG={class:"report-header"},pG={class:"header-title",style:{position:"relative !important"}},hG={class:"header-title-content"},_G=he(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),EG={class:"title-date"},yG={class:"report-summary"},NG={class:"summary-item"},VG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),fG={class:"flexL gray"},bG={class:"summary-item"},gG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),xG={class:"flexL gray"},kG={class:"summary-item"},DG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),CG={class:"flexL gray"},SG={class:"summary-item"},BG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),wG={class:"flexL gray"},AG={class:"summary-item"},TG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),FG={class:"flexL gray"},OG={class:"summary-item"},PG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),LG={class:"flexL gray",style:{display:"flex"}},WG={class:"flex"},$G={class:"flexM"},HG={class:"summary-item"},MG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),IG={class:"flexL gray",style:{display:"flex"}},GG={class:"flex"},RG={class:"flexM"},zG=he(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),UG={class:"report-summary"},YG={class:"summary-item"},ZG=he(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),QG={class:"summary-item"},JG=he(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),uG={class:"summary-item"},KG=he(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),jG=he(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),XG={class:"report-map"},qG=["src"],vG=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),eR=he(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),tR={key:0,class:"subtitle"},oR={key:1,class:"report-summary"},lR={class:"summary-item"},aR=he(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),nR={class:"flexL blue center"},sR={class:"summary-item"},cR=he(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),iR={class:"flexL blue center"},dR={class:"summary-item"},rR=he(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),mR={class:"flexL blue center"},pR=he(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),hR={class:"report-summary"},_R=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)),ER={class:"summary-item"},yR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),NR={class:"flex blue-light center"},VR={class:"flex blue-light center"},fR={class:"summary-item"},bR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),gR={class:"flex blue-light center"},xR={class:"flex blue-light center"},kR={class:"summary-item"},DR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),CR={class:"flex blue-light center"},SR={class:"flex blue-light center"},BR={class:"summary-item"},wR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),AR={class:"flex blue-light center"},TR={class:"flex blue-light center"},FR={class:"summary-item"},OR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),PR={class:"flex blue-light center"},LR={class:"flex blue-light center"},WR={class:"summary-item"},$R=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),HR={class:"flex blue-light center"},MR={class:"flex blue-light center"},IR={class:"summary-item"},GR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),RR={class:"flex blue-light center italic"},zR=he(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),UR={class:"report-summary"},YR=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)),ZR={class:"summary-item"},QR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),JR={class:"flex blue-light center"},uR={class:"flex blue-light center"},KR={class:"summary-item"},jR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),XR={class:"flex blue-light center"},qR={class:"flex blue-light center"},vR={class:"summary-item"},ez=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),tz={class:"flex blue-light center"},oz={class:"flex blue-light center"},lz={class:"summary-item"},az=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),nz={class:"flex blue-light center"},sz={class:"flex blue-light center"},cz={class:"summary-item"},iz=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),dz={class:"flex blue-light center italic"},rz={class:"summary-item"},mz=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),pz={class:"flex blue-light center italic"},hz=["innerHTML"];function _z(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,j,v,ee,te,oe,le,ce,ie,de,_e,X,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",dG,[rG,e.createElementVNode("div",mG,[e.createElementVNode("div",pG,[e.createElementVNode("div",hG,[_G,e.createElementVNode("div",EG,e.toDisplayString(n.computeUTCTime(((c=a.comparisonData)==null?void 0:c.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",yG,[e.createElementVNode("div",NG,[VG,e.createElementVNode("div",fG,e.toDisplayString((b=(p=a.comparisonData)==null?void 0:p.vessel)==null?void 0:b.name),1)]),e.createElementVNode("div",bG,[gG,e.createElementVNode("div",xG,e.toDisplayString((g=a.comparisonData)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",kG,[DG,e.createElementVNode("div",CG,e.toDisplayString((N=(h=a.comparisonData)==null?void 0:h.vessel)==null?void 0:N.type),1)]),e.createElementVNode("div",SG,[BG,e.createElementVNode("div",wG,e.toDisplayString((x=(D=a.comparisonData)==null?void 0:D.voyage)==null?void 0:x.loadCondition),1)]),e.createElementVNode("div",AG,[TG,e.createElementVNode("div",FG,e.toDisplayString((k=(C=a.comparisonData)==null?void 0:C.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",OG,[PG,e.createElementVNode("div",LG,[e.createElementVNode("span",WG,e.toDisplayString((F=(T=a.comparisonData)==null?void 0:T.departure)==null?void 0:F.name),1),e.createElementVNode("span",$G,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",HG,[MG,e.createElementVNode("div",IG,[e.createElementVNode("span",GG,e.toDisplayString((G=(I=a.comparisonData)==null?void 0:I.arrival)==null?void 0:G.name),1),e.createElementVNode("span",RG,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)])])]),zG,e.createElementVNode("div",UG,[e.createElementVNode("div",YG,[ZG,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",QG,[JG,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,[KG,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)])]),jG,e.createElementVNode("div",XG,[e.createElementVNode("img",{style:{width:"100%"},src:(J=a.comparisonData)==null?void 0:J.chartUrl,alt:""},null,8,qG),vG]),eR,(ne=a.comparisonData)!=null&&ne.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",tR,"CP Terms")),(se=a.comparisonData)!=null&&se.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",oR,[e.createElementVNode("div",lR,[aR,e.createElementVNode("div",nR,e.toDisplayString(((j=(l=a.comparisonData)==null?void 0:l.cp)==null?void 0:j.speed)??"—"),1)]),e.createElementVNode("div",sR,[cR,e.createElementVNode("div",iR,e.toDisplayString(((ee=(v=a.comparisonData)==null?void 0:v.cp)==null?void 0:ee.fo)??"—"),1)]),e.createElementVNode("div",dR,[rR,e.createElementVNode("div",mR,e.toDisplayString(((oe=(te=a.comparisonData)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),pR,e.createElementVNode("div",hR,[_R,e.createElementVNode("div",ER,[yR,e.createElementVNode("div",NR,e.toDisplayString(((le=a.comparisonData)==null?void 0:le.actualDist)??"—"),1),e.createElementVNode("div",VR,e.toDisplayString(((ce=a.comparisonData)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",fR,[bR,e.createElementVNode("div",gR,e.toDisplayString(((ie=a.comparisonData)==null?void 0:ie.actualTime)??"—"),1),e.createElementVNode("div",xR,e.toDisplayString(((de=a.comparisonData)==null?void 0:de.recmdTime)??"—"),1)]),e.createElementVNode("div",kR,[DR,e.createElementVNode("div",CR,e.toDisplayString(((_e=a.comparisonData)==null?void 0:_e.actualAvgSpd)??"—"),1),e.createElementVNode("div",SR,e.toDisplayString(((X=a.comparisonData)==null?void 0:X.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",BR,[wR,e.createElementVNode("div",AR,e.toDisplayString(((me=a.comparisonData)==null?void 0:me.actualAvgCF)??"—"),1),e.createElementVNode("div",TR,e.toDisplayString(((Ee=a.comparisonData)==null?void 0:Ee.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",FR,[OR,e.createElementVNode("div",PR,e.toDisplayString(((ye=a.comparisonData)==null?void 0:ye.actualAvgWF)??"—"),1),e.createElementVNode("div",LR,e.toDisplayString(((re=a.comparisonData)==null?void 0:re.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",WR,[$R,e.createElementVNode("div",HR,e.toDisplayString(((fe=a.comparisonData)==null?void 0:fe.actualPfmSpd)??"—"),1),e.createElementVNode("div",MR,e.toDisplayString(((be=a.comparisonData)==null?void 0:be.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",IR,[GR,e.createElementVNode("div",RR,e.toDisplayString(n.compareTime((ge=a.comparisonData)==null?void 0:ge.actualTime,(xe=a.comparisonData)==null?void 0:xe.recmdTime)),1)])]),zR,e.createElementVNode("div",UR,[YR,e.createElementVNode("div",ZR,[QR,e.createElementVNode("div",JR,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",KR,[jR,e.createElementVNode("div",XR,e.toDisplayString(((Te=a.comparisonData)==null?void 0:Te.actualFoCons)??"-"),1),e.createElementVNode("div",qR,e.toDisplayString(((Fe=a.comparisonData)==null?void 0:Fe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",vR,[ez,e.createElementVNode("div",tz,e.toDisplayString(((Oe=a.comparisonData)==null?void 0:Oe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",oz,e.toDisplayString(((Pe=a.comparisonData)==null?void 0:Pe.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",lz,[az,e.createElementVNode("div",nz,e.toDisplayString(((Le=a.comparisonData)==null?void 0:Le.actualDgoCons)??"-"),1),e.createElementVNode("div",sz,e.toDisplayString(((We=a.comparisonData)==null?void 0:We.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",cz,[iz,e.createElementVNode("div",dz,e.toDisplayString((($e=a.comparisonData)==null?void 0:$e.diffFoCons)??"-"),1)]),e.createElementVNode("div",rz,[mz,e.createElementVNode("div",pz,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,hz))],2)])}const _n=Ce(iG,[["render",_z],["__scopeId","data-v-f7bdbf19"]]),Ez={install(o){o.component("OrmComparisonReport",hn),o.component("FliComparisonReport",_n)}},pZ="",yz={name:"IdmThird",props:{name:{type:String,default:""}}},Nz={class:"section brand-section flex-space"},Vz=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),fz={class:"report-box flex-space"},bz={class:"name flex-start"},gz=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 xz(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",Nz,[Vz,e.createElementVNode("div",fz,[e.createElementVNode("div",bz,e.toDisplayString(t.name),1),gz])])}const En=Ce(yz,[["render",xz],["__scopeId","data-v-793a5781"]]),kz={install(o){o.component("IdmBrand",Io),o.component("IdmThird",En)}},hZ="",_Z="",Dz={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",geojson1:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90],[191,90]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18],[-135,64],[-173,64],[-219,34],[-219,5],[-79.7,5],[-79.7,9]]}}]},geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[95,-11],[95,23.9]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[95,-11],[95,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){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-52980307"),o=o(),e.popScopeId(),o),Cz={class:"quota-report"},Sz=yn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Bz={class:"section quota-section"},wz=yn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Az={class:"label"},Tz={class:"label"},Fz=["innerHTML"],Oz=e.createStaticVNode('<div class="legend-block flex-space" data-v-52980307><div class="legend" data-v-52980307><label data-v-52980307>DIR</label><span data-v-52980307>DIRECT</span></div><div class="legend" data-v-52980307><label data-v-52980307>PMP</label><span data-v-52980307>via PANAMA CHANNEL</span></div><div class="legend" data-v-52980307><label data-v-52980307>SUE</label><span data-v-52980307>via SUEZ CHANNEL</span></div><div class="legend" data-v-52980307><label data-v-52980307>CGH</label><span data-v-52980307>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-52980307><label data-v-52980307>CHC</label><span data-v-52980307>Passing CAPE HORN</span></div><div class="legend" data-v-52980307><label data-v-52980307>SCG</label><span data-v-52980307>Passing SINGAPORE</span></div></div>',1);function Pz(o,s,t,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Cz,[e.createVNode(E,{name:"Quotation Sheet"}),Sz,e.createElementVNode("div",Bz,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[wz,(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",Az,e.toDisplayString(c.rank),1),e.createElementVNode("td",Tz,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,Fz))),128))]))),128))])]),Oz])])}const Nn=Ce(Dz,[["render",Pz],["__scopeId","data-v-52980307"]]),EZ="",Lz={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],[95,-11],[95,23.9]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[95,-11],[95,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){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-a4cee967"),o=o(),e.popScopeId(),o),Wz={class:"quota-report"},$z=Vn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Hz={class:"section quota-section"},Mz=Vn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Iz={class:"label"},Gz={class:"label"},Rz=["innerHTML"],zz=e.createStaticVNode('<div class="legend-block flex-space" data-v-a4cee967><div class="legend" data-v-a4cee967><label data-v-a4cee967>DIR</label><span data-v-a4cee967>DIRECT</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>PMP</label><span data-v-a4cee967>via PANAMA CHANNEL</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>SUE</label><span data-v-a4cee967>via SUEZ CHANNEL</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>CGH</label><span data-v-a4cee967>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>CHC</label><span data-v-a4cee967>Passing CAPE HORN</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>SCG</label><span data-v-a4cee967>Passing SINGAPORE</span></div></div>',1);function Uz(o,s,t,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Wz,[e.createVNode(E,{name:"Quotation Sheet"}),$z,e.createElementVNode("div",Hz,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Mz,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,class:"label"},e.toDisplayString(c.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,style:e.normalizeStyle({width:c.width}),class:"label"},e.toDisplayString(c.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(c,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",Iz,e.toDisplayString(c.rank),1),e.createElementVNode("td",Gz,e.toDisplayString(c.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:a.quota[p][b-1]||""},null,8,Rz))),128))]))),128))])]),zz])])}const fn=Ce(Lz,[["render",Uz],["__scopeId","data-v-a4cee967"]]),yZ="",Yz={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],[95,-11],[95,23.9]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[95,-11],[95,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){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-99a52de4"),o=o(),e.popScopeId(),o),Zz={class:"quota-report"},Qz=bn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Jz={class:"section quota-section"},uz=bn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Kz={class:"label"},jz={class:"label"},Xz=["innerHTML"],qz=e.createStaticVNode('<div class="legend-block flex-space" data-v-99a52de4><div class="legend" data-v-99a52de4><label data-v-99a52de4>DIR</label><span data-v-99a52de4>DIRECT</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>PMP</label><span data-v-99a52de4>via PANAMA CHANNEL</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>SUE</label><span data-v-99a52de4>via SUEZ CHANNEL</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>CGH</label><span data-v-99a52de4>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>CHC</label><span data-v-99a52de4>Passing CAPE HORN</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>SCG</label><span data-v-99a52de4>Passing SINGAPORE</span></div></div>',1);function vz(o,s,t,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Zz,[e.createVNode(E,{name:"Quotation Sheet for TONGLI"}),Qz,e.createElementVNode("div",Jz,[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",Kz,e.toDisplayString(c.rank),1),e.createElementVNode("td",jz,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,Xz))),128))]))),128))])]),qz])])}const gn=Ce(Yz,[["render",vz],["__scopeId","data-v-99a52de4"]]),eU={install(o){o.component("OrmQuoteReport",Nn),o.component("OrmQuoteReport4SEOA",fn),o.component("OrmQuoteReport4TongLi",gn)}},NZ="",tU={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`${u(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=u(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=u(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-164362dd"),o=o(),e.popScopeId(),o),oU={class:"precipitation-report"},lU={class:"section area-section"},aU={class:"area-block"},nU={class:"area-header flex-space"},sU={class:"flex-start"},cU=["onClick"],iU={class:"flex-end"},dU={class:"area-body"},rU=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),mU={class:"flex-evenly"},pU={key:0},hU=["colspan"],_U=["colspan"],EU={style:{"font-size":"10px"}},yU={key:0},NU={key:1},VU={key:2},fU={key:3},bU={key:0},gU={key:1,style:{"font-size":"14px"}},xU=it(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),kU={class:"section echart-section"},DU={ref:"echart",class:"echart"},CU={class:"section sample-section"},SU=it(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),BU=["colspan"],wU=it(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),AU=it(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),TU=it(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),FU=it(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),OU=it(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),PU=it(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),LU={key:0},WU={key:1},$U=it(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),HU=it(()=>e.createElementVNode("th",null,"Dir",-1)),MU=it(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),IU=it(()=>e.createElementVNode("th",null,"BF",-1)),GU=it(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),RU=it(()=>e.createElementVNode("th",null,"Dir",-1)),zU=it(()=>e.createElementVNode("th",null,"Ht (m)",-1)),UU=it(()=>e.createElementVNode("th",null,"Prd (s)",-1)),YU=it(()=>e.createElementVNode("th",null,"Dir",-1)),ZU=it(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),QU=it(()=>e.createElementVNode("th",null,"Prd (s)",-1)),JU=it(()=>e.createElementVNode("th",null,"°C",-1)),uU={width:"120px"},KU={key:0},jU={key:1},XU={key:0,class:"degree-box"},qU={key:1},vU={key:0,class:"degree-box"},eY={key:1},tY={key:0,class:"degree-box"},oY={key:1},lY={class:"section area-section"},aY={class:"area-block"},nY={class:"area-header flex-end"},sY={class:"flex-end"},cY={class:"area-body"},iY=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),dY=["colspan"],rY=["colspan"],mY={style:{"font-size":"10px"}},pY={key:0},hY={key:1},_Y={key:2},EY={key:3},yY={key:1,style:{"font-size":"14px"}},NY={key:0};function VY(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",oU,[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",lU,[e.createElementVNode("div",aU,[e.createElementVNode("div",nU,[e.createElementVNode("div",sU,[(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,cU))),128))]),e.createElementVNode("div",iU,[e.createElementVNode("div",{class:"header-item",onClick:s[1]||(s[1]=_=>a.version="Brief")},"Brief")])]),e.createElementVNode("div",dU,[rU,e.createElementVNode("div",mU,[a.form?(e.openBlock(),e.createElementBlock("table",pU,[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,hU)]),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,_U)}),128))]),e.createElementVNode("tr",EU,[(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",yU,"00-06")):e.createCommentVNode("",!0),W==="1"?(e.openBlock(),e.createElementBlock("th",NU,"06-12")):e.createCommentVNode("",!0),W==="2"?(e.openBlock(),e.createElementBlock("th",VU,"12-18")):e.createCommentVNode("",!0),W==="3"?(e.openBlock(),e.createElementBlock("th",fU,"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",bU,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",gU,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),xU,e.createElementVNode("div",kU,[e.createElementVNode("div",DU,null,512)]),e.createElementVNode("div",CU,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[SU,e.createElementVNode("th",{colspan:t.showPrate?2:1},"Precip",8,BU),wU,AU,TU,FU,OU,PU]),e.createElementVNode("tr",null,[t.showPrate?(e.openBlock(),e.createElementBlock("th",LU,"Rate (mm/h)")):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("th",WU,"Acc (mm)")):e.createCommentVNode("",!0),$U,HU,MU,IU,GU,RU,zU,UU,YU,ZU,QU,JU])]),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,j,v,ee,te,oe,le,ce,ie,de,_e,X,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",KU,e.toDisplayString(n.roundPrecision((W=_.precip)==null?void 0:W.prate,2)),1)):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("td",jU,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",XU,[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",qU,"-"))]),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((j=(l=_.wave)==null?void 0:l.wd)==null?void 0:j.height,1)),1),e.createElementVNode("td",null,[(ee=(v=_.wave)==null?void 0:v.swell)!=null&&ee.height?(e.openBlock(),e.createElementBlock("span",vU,[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",eY,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((de=(ie=_.wave)==null?void 0:ie.swell)==null?void 0:de.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((X=(_e=_.wave)==null?void 0:_e.swell)==null?void 0:X.period,1)),1),e.createElementVNode("td",null,[(Ee=(me=_.wave)==null?void 0:me.sig)!=null&&Ee.height?(e.openBlock(),e.createElementBlock("span",tY,[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",oY,"-"))]),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",lY,[e.createElementVNode("div",aY,[e.createElementVNode("div",nY,[e.createElementVNode("div",sY,[e.createElementVNode("div",{class:"header-item",onClick:s[2]||(s[2]=_=>a.version="Pretty")},"Pretty")])]),e.createElementVNode("div",cY,[iY,(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,dY)]),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,rY)}),128))]),e.createElementVNode("tr",mY,[(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",pY,"00-06")):e.createCommentVNode("",!0),U==="1"?(e.openBlock(),e.createElementBlock("th",hY,"06-12")):e.createCommentVNode("",!0),U==="2"?(e.openBlock(),e.createElementBlock("th",_Y,"12-18")):e.createCommentVNode("",!0),U==="3"?(e.openBlock(),e.createElementBlock("th",EY,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",yY,"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",NY,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(tU,[["render",VY],["__scopeId","data-v-164362dd"]]),fY={install(o){o.component("PrecipitationReport",xn)}},bY={install(o){o.component("IdmLoading",La)}};Y.BrandPlugin=kz,Y.ComparisonPlugin=Ez,Y.DeviationPlugin=$$,Y.DeviationReport=rn,Y.FliComparisonReport=_n,Y.FliDeviationReport=mn,Y.FliInvoiceReport=cn,Y.FliPlanReport=tn,Y.FliVoyageReport=ln,Y.HurricanePlugin=cB,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=Z9,Y.LoadingPlugin=bY,Y.ORMPointReport=en,Y.OrmComparisonReport=hn,Y.OrmInvoiceReport=sn,Y.OrmPlanReport=Ka,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=fY,Y.QuoteReportPlugin=eU,Y.RouteReport=Ka,Y.RouteReportPlugin=qp,Y.StoppageReport=pn,Y.StoppageReportPlugin=cM,Y.TropicalReport=nn,Y.VoyageReportPlugin=lB,Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"})});
|
|
55
|
+
`,"<br/>")},null,8,U9)])):e.createCommentVNode("",!0)])])}const cn=Ce(E9,[["render",Y9],["__scopeId","data-v-5a352907"]]),Z9={install(o){o.component("OrmInvoiceReport",sn),o.component("FliInvoiceReport",cn)}},Q9=o=>((typeof o=="string"||typeof o=="number")&&(o=u(o)),o),J9=(o,s="MMM-DD,YYYY/HHmm[Z]")=>u9(o,s),u9=(o,s="MMM-DD/HHmm[Z]")=>(o=Q9(o),o?`${o.utc().format(s)}`:"-"),sZ="",K9={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 J9(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)}}},j9={class:"idm-editable-item"},X9=["innerHTML"],q9={key:3,class:"buttons"};function v9(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",j9,[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,X9)):(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",q9,[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(K9,[["render",v9]]),cZ="",e8={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?`${u(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 qa.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},y=o=>(e.pushScopeId("data-v-5e7b1250"),o=o(),e.popScopeId(),o),t8={class:"deviation-report"},o8={class:"content-box"},l8={class:"info-box border-dashed"},a8={class:"flex-between row"},n8={class:"flex-between",style:{width:"48%"}},s8=y(()=>e.createElementVNode("label",{class:"label"},"Prepared For:",-1)),c8={class:"flex-between",style:{width:"48%"}},i8=y(()=>e.createElementVNode("label",{class:"label"},"Departure Port:",-1)),d8={style:{"margin-left":"5px"}},r8={class:"flex-between row"},m8={class:"flex-between",style:{width:"48%"}},p8=y(()=>e.createElementVNode("label",{class:"label"},"Vessel:",-1)),h8={class:"flex-between",style:{width:"48%"}},_8=y(()=>e.createElementVNode("label",{class:"label"},"Arrival Port:",-1)),E8={style:{"margin-left":"5px"}},y8={class:"flex-between row"},N8={class:"flex-between",style:{width:"48%"}},V8=y(()=>e.createElementVNode("label",{class:"label"},"Voyage No:",-1)),f8={class:"flex-between",style:{width:"48%"}},b8=y(()=>e.createElementVNode("label",{class:"label"},"Load Condition:",-1)),g8={class:"section summary-section"},x8=y(()=>e.createElementVNode("div",{class:"subtitle"},"Summary",-1)),k8={class:"border-solid"},D8={class:"cp"},C8={class:"flex-between",style:{padding:"6px 0"}},S8={style:{"margin-left":"5px"}},B8={style:{"margin-left":"5px"}},w8=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)),A8=y(()=>e.createElementVNode("td",null,"-",-1)),T8={key:0},F8={key:0},O8={key:1},P8={key:0},L8={key:0},W8={key:1},$8={key:0},H8={key:0},M8={key:1},I8={class:"summary-block flex-between"},G8={class:"item"},R8=y(()=>e.createElementVNode("div",{class:"title"},"Extra Distance",-1)),z8={class:"value flex-end"},U8={key:0},Y8=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Z8={class:"gain"},Q8=y(()=>e.createElementVNode("span",{class:"unit"},"nm",-1)),J8={key:1},u8=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),K8={class:"lost"},j8=y(()=>e.createElementVNode("span",{class:"unit"},"nm",-1)),X8={key:2},q8={class:"item"},v8=y(()=>e.createElementVNode("div",{class:"title"},"Total extra Time",-1)),ew={class:"value flex-end"},tw={key:0},ow=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),lw={class:"gain"},aw=y(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),nw={key:1},sw=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),cw={class:"lost"},iw=y(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),dw={key:2},rw={class:"item"},mw=y(()=>e.createElementVNode("div",{class:"title"},"FO Total extra Consumption",-1)),pw={class:"value flex-end"},hw={key:0},_w=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Ew={class:"gain"},yw=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Nw={key:1},Vw=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),fw={class:"lost"},bw=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),gw={key:2},xw={class:"item"},kw=y(()=>e.createElementVNode("div",{class:"title"},"MGO Total extra Consumption",-1)),Dw={class:"value flex-end"},Cw={key:0},Sw=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Bw={class:"gain"},ww=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Aw={key:1},Tw=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Fw={class:"lost"},Ow=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Pw={key:2},Lw=y(()=>e.createElementVNode("div",{class:"subtitle"},"Remarks",-1)),Ww={class:"section-content"},$w={key:0,class:""},Hw=["innerHTML"],Mw={key:1},Iw={class:"section deviation-info-section"},Gw=y(()=>e.createElementVNode("div",{class:"flex-between"},[e.createElementVNode("div",{class:"subtitle"},"Deviation Info Information")],-1)),Rw={key:0},zw=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)),Uw=y(()=>e.createElementVNode("td",null,"Deviation Start",-1)),Yw=y(()=>e.createElementVNode("td",null,null,-1)),Zw=y(()=>e.createElementVNode("td",null,null,-1)),Qw=y(()=>e.createElementVNode("td",null,"Back on Track",-1)),Jw=y(()=>e.createElementVNode("td",{colspan:"2"},null,-1)),uw=y(()=>e.createElementVNode("td",{colspan:"2"},null,-1)),Kw={key:1},jw=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)),Xw=y(()=>e.createElementVNode("td",null,"Deviation Start",-1)),qw=y(()=>e.createElementVNode("td",null,"Back on Track",-1)),vw={key:0,class:"section extra-port-section"},e6={class:"flex-between"},t6=y(()=>e.createElementVNode("div",{class:"subtitle"},"Extra Port Information",-1)),o6=y(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Extra Port",-1)),l6=y(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Event",-1)),a6=y(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Date Time",-1)),n6=y(()=>e.createElementVNode("th",{colspan:2,class:"label"},"BROB (mt)",-1)),s6=y(()=>e.createElementVNode("th",{colspan:2,class:"label"},"Bunkering (mt)",-1)),c6={key:0,rowspan:2,class:"print-hidden label"},i6=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)),d6={rowspan:2},r6=y(()=>e.createElementVNode("td",null,"Arrival",-1)),m6=y(()=>e.createElementVNode("td",null,null,-1)),p6=y(()=>e.createElementVNode("td",null,null,-1)),h6={rowspan:2,class:"print-hidden"},_6=y(()=>e.createElementVNode("td",null,"Departure",-1)),E6=y(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),y6=y(()=>e.createElementVNode("td",null,null,-1)),N6=y(()=>e.createElementVNode("td",null,null,-1)),V6=y(()=>e.createElementVNode("td",null,null,-1)),f6={key:0,class:"print-hidden"},b6={class:"section time-cons-section"},g6=y(()=>e.createElementVNode("div",{class:"subtitle"},"Time and Consumption Calculation",-1)),x6=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)),k6={class:"time-block flex-between border-dashed"},D6={key:0,class:"formula-block"},C6={class:"flex-start"},S6=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"Time for extra distance sailing",-1)),B6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),w6={class:"fraction flex-center"},A6={class:"content"},T6=y(()=>e.createElementVNode("div",null,"Extra Distance",-1)),F6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),O6={key:0},P6={key:1},L6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),W6={class:"fraction flex-center"},$6={class:"content"},H6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),M6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),I6={class:"fraction flex-center"},G6={class:"flex-start"},R6=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),z6={class:"fraction flex-center"},U6=y(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),Y6={class:"fraction flex-center"},Z6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Q6={class:"fraction flex-center"},J6={key:1,class:"formula-block"},u6={class:"flex-start"},K6=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"Time for Route prior to deviation sailing",-1)),j6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),X6={class:"fraction flex-center"},q6={class:"content"},v6=y(()=>e.createElementVNode("div",null,"Route Prior to deviation",-1)),e7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),t7={key:0},o7={key:1},l7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),a7={class:"fraction flex-center"},n7={class:"content"},s7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),c7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),i7={class:"fraction flex-center"},d7=y(()=>e.createElementVNode("div",{class:"sig"},null,-1)),r7=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},null,-1)),m7={class:"flex-start"},p7=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),h7={class:"fraction flex-center"},_7=y(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),E7={class:"fraction flex-center"},y7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),N7={class:"fraction flex-center"},V7={class:"fuel-block flex-between border-dashed"},f7={key:0,class:"formula-block"},b7={class:"flex-start"},g7=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"FO Consumption 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"},"x",-1)),T7={class:"fraction flex-center"},F7={class:"content"},O7={key:0},P7={key:1},L7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),W7=y(()=>e.createElementVNode("div",null,"24",-1)),$7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),H7={class:"fraction flex-center"},M7={class:"content"},I7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),G7=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),R7={class:"fraction flex-center"},z7={class:"content"},U7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Y7=y(()=>e.createElementVNode("div",null,"24",-1)),Z7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Q7={class:"fraction flex-center"},J7={class:"flex-start"},u7=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),K7={class:"fraction flex-center"},j7=y(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),X7={class:"fraction flex-center"},q7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),v7={class:"fraction flex-center"},eA={class:"flex-start"},tA=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"MGO Consumption for extra distance sailing",-1)),oA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),lA={class:"fraction flex-center"},aA={class:"content"},nA=y(()=>e.createElementVNode("div",null,"Extra Distance",-1)),sA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),cA={key:0},iA={key:1},dA=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),rA={class:"fraction flex-center"},mA={class:"content"},pA={key:0},hA={key:1},_A=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),EA=y(()=>e.createElementVNode("div",null,"24",-1)),yA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),NA={class:"fraction flex-center"},VA={class:"content"},fA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),bA=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),gA={class:"fraction flex-center"},xA={class:"content"},kA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),DA=y(()=>e.createElementVNode("div",null,"24",-1)),CA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),SA={class:"fraction flex-center"},BA={class:"flex-start"},wA=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),AA={class:"fraction flex-center"},TA=y(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),FA={class:"fraction flex-center"},OA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),PA={class:"fraction flex-center"},LA={key:1,class:"formula-block"},WA={class:"flex-start"},$A=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"FO Consumption for Route prior to deviation sailing",-1)),HA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),MA={class:"fraction flex-center"},IA={class:"content"},GA=y(()=>e.createElementVNode("div",null,"Route prior to deviation Distance",-1)),RA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),zA={key:0},UA={key:1},YA=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),ZA={class:"fraction flex-center"},QA={class:"content"},JA={key:0},uA={key:1},KA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),jA=y(()=>e.createElementVNode("div",null,"24",-1)),XA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),qA={class:"fraction flex-center"},vA={class:"content"},eT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),tT=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),oT={class:"fraction flex-center"},lT={class:"content"},aT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),nT=y(()=>e.createElementVNode("div",null,"24",-1)),sT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),cT={class:"fraction flex-center"},iT={class:"flex-start"},dT=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),rT={class:"fraction flex-center"},mT=y(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),pT={class:"fraction flex-center"},hT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),_T={class:"fraction flex-center"},ET={class:"flex-start"},yT=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"MGO Consumption for Route prior to deviation sailing",-1)),NT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),VT={class:"fraction flex-center"},fT={class:"content"},bT=y(()=>e.createElementVNode("div",null,"Route prior to deviation Distance",-1)),gT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),xT={key:0},kT={key:1},DT=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),CT={class:"fraction flex-center"},ST={class:"content"},BT={key:0},wT={key:1},AT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),TT=y(()=>e.createElementVNode("div",null,"24",-1)),FT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),OT={class:"fraction flex-center"},PT={class:"content"},LT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),WT=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),$T={class:"fraction flex-center"},HT={class:"content"},MT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),IT=y(()=>e.createElementVNode("div",null,"24",-1)),GT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),RT={class:"fraction flex-center"},zT={class:"flex-start"},UT=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),YT={class:"fraction flex-center"},ZT=y(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),QT={class:"fraction flex-center"},JT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),uT={class:"fraction flex-center"},KT={class:"section map-section"},jT=y(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),XT={class:"report-map"},qT=["src"],vT=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 eF(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,j,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,ue,Ke,je,A,Se,Ge,Xe,qe,ve,et,tt,m,$,Be,Ie,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,Me,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,ut,Kt,jt,Xt,qt,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,uo,Ko,jo,Xo,qo,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,ul,Kl,jl,Xl,ql,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",t8,[e.createVNode(E,{name:"Voyage Deviation Report"}),e.createElementVNode("div",o8,[e.createElementVNode("div",l8,[e.createElementVNode("div",a8,[e.createElementVNode("div",n8,[s8,e.createElementVNode("div",null,e.toDisplayString((g=t.report)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",c8,[i8,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",d8,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",r8,[e.createElementVNode("div",m8,[p8,e.createElementVNode("div",null,e.toDisplayString((F=(T=t.report)==null?void 0:T.vessel)==null?void 0:F.name),1)]),e.createElementVNode("div",h8,[_8,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",E8,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",y8,[e.createElementVNode("div",N8,[V8,e.createElementVNode("div",null,e.toDisplayString((z=(R=t.report)==null?void 0:R.voyage)==null?void 0:z.number),1)]),e.createElementVNode("div",f8,[b8,e.createElementVNode("div",null,e.toDisplayString((L=(_=t.report)==null?void 0:_.voyage)==null?void 0:L.loadCondition),1)])])]),e.createElementVNode("div",g8,[x8,e.createElementVNode("div",k8,[e.createElementVNode("div",D8,[e.createElementVNode("div",C8,[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",S8,"( "+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",B8,"( "+e.toDisplayString(n.computeUTCTime(((l=(se=t.report)==null?void 0:se.arrival)==null?void 0:l.ata)||((v=(j=t.report)==null?void 0:j.arrival)==null?void 0:v.eta)))+" )",1)])]),e.createElementVNode("table",null,[w8,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[A8,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",T8,[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",F8,"+"+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=(X=t.report)==null?void 0:X.extend)==null?void 0:me.spdAbt)==null?void 0:Ee.spdOfUnder)+"%",1)):(e.openBlock(),e.createElementBlock("span",O8,"+"+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",P8,[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",L8,"+"+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",W8,"+"+e.toDisplayString((je=(Ke=(ue=t.report)==null?void 0:ue.extend)==null?void 0:Ke.foAbtCons)==null?void 0:je.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(((qe=(Xe=t.report)==null?void 0:Xe.cp)==null?void 0:qe.dgo)??"—"),1),t.report.useWeather?(e.openBlock(),e.createElementBlock("span",$8,[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",H8,"+"+e.toDisplayString((Be=($=(m=t.report)==null?void 0:m.extend)==null?void 0:$.dgoAbtCons)==null?void 0:Be.over)+"% , -"+e.toDisplayString((pe=(Re=(Ie=t.report)==null?void 0:Ie.extend)==null?void 0:Re.dgoAbtCons)==null?void 0:pe.under)+"%",1)):(e.openBlock(),e.createElementBlock("span",M8,"+"+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",I8,[e.createElementVNode("div",G8,[R8,e.createElementVNode("div",z8,[((pt=t.report)==null?void 0:pt.extraDist)<0?(e.openBlock(),e.createElementBlock("div",U8,[Y8,e.createElementVNode("span",Z8,e.toDisplayString(Math.abs((_t=t.report)==null?void 0:_t.extraDist)),1),Q8])):((Et=t.report)==null?void 0:Et.extraDist)>=0?(e.openBlock(),e.createElementBlock("div",J8,[u8,e.createElementVNode("span",K8,e.toDisplayString(Math.abs((yt=t.report)==null?void 0:yt.extraDist)),1),j8])):(e.openBlock(),e.createElementBlock("div",X8,"N/A"))])]),e.createElementVNode("div",q8,[v8,e.createElementVNode("div",ew,[((Vt=(Nt=t.report)==null?void 0:Nt.timeAnalysis)==null?void 0:Vt.totalExtraTime)<0?(e.openBlock(),e.createElementBlock("div",tw,[ow,e.createElementVNode("span",lw,e.toDisplayString(Math.abs((bt=(ft=t.report)==null?void 0:ft.timeAnalysis)==null?void 0:bt.totalExtraTime)),1),aw])):((xt=(gt=t.report)==null?void 0:gt.timeAnalysis)==null?void 0:xt.totalExtraTime)>=0?(e.openBlock(),e.createElementBlock("div",nw,[sw,e.createElementVNode("span",cw,e.toDisplayString(Math.abs((Dt=(kt=t.report)==null?void 0:kt.timeAnalysis)==null?void 0:Dt.totalExtraTime)),1),iw])):(e.openBlock(),e.createElementBlock("div",dw,"N/A"))])]),e.createElementVNode("div",rw,[mw,e.createElementVNode("div",pw,[((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",hw,[_w,e.createElementVNode("span",Ew,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),yw])):((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",Nw,[Vw,e.createElementVNode("span",fw,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),bw])):(e.openBlock(),e.createElementBlock("div",gw,"N/A"))])]),e.createElementVNode("div",xw,[kw,e.createElementVNode("div",Dw,[((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",Cw,[Sw,e.createElementVNode("span",Bw,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),ww])):((Me=(S=(Eo=t.report)==null?void 0:Eo.consAnalysis)==null?void 0:S.dgo)==null?void 0:Me.totalExtraCons)>=0?(e.openBlock(),e.createElementBlock("div",Aw,[Tw,e.createElementVNode("span",Fw,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),Ow])):(e.openBlock(),e.createElementBlock("div",Pw,"N/A"))])])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(a.remarks)?"print-hidden":""])},[Lw,e.createElementVNode("div",Ww,[a.editable?(e.openBlock(),e.createElementBlock("div",$w,[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",Mw,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:a.remarks},null,8,Hw))],32))])],2),e.createElementVNode("div",Iw,[Gw,((Lt=t.report)==null?void 0:Lt.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("table",Rw,[zw,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[Uw,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"])]),Yw,Zw]),e.createElementVNode("tr",null,[Qw,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,[Jw,e.createElementVNode("td",null,e.toDisplayString((ut=(Jt=t.report)==null?void 0:Jt.timeAnalysis)==null?void 0:ut.actualTime)+" (hrs)",1),e.createElementVNode("td",null,e.toDisplayString((Xt=(jt=(Kt=t.report)==null?void 0:Kt.consAnalysis)==null?void 0:jt.fo)==null?void 0:Xt.actualCons),1),e.createElementVNode("td",null,e.toDisplayString((eo=(vt=(qt=t.report)==null?void 0:qt.consAnalysis)==null?void 0:vt.dgo)==null?void 0:eo.actualCons),1),uw])])])):(e.openBlock(),e.createElementBlock("table",Kw,[jw,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[Xw,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,[qw,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",vw,[e.createElementVNode("div",e6,[t6,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,[o6,l6,a6,n6,s6,((bo=a.extraPortList)==null?void 0:bo.length)>0?(e.openBlock(),e.createElementBlock("th",c6,"Activity")):e.createCommentVNode("",!0)]),i6]),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",d6,[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"])]),r6,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"])]),m6,p6,e.createElementVNode("td",h6,[e.createVNode(b,{size:"small",onClick:Qe=>n.handleRemove(ao)},{default:e.withCtx(()=>[e.createTextVNode("Del")]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[_6,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,[E6,y6,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),N6,V6,((Ao=a.extraPortList)==null?void 0:Ao.length)>0?(e.openBlock(),e.createElementBlock("td",f6)):e.createCommentVNode("",!0)])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",b6,[g6,e.createElementVNode("table",null,[x6,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",k6,[((Po=t.report)==null?void 0:Po.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",D6,[e.createElementVNode("div",C6,[S6,B6,e.createElementVNode("div",w6,[e.createElementVNode("div",A6,[T6,F6,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",O6,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",P6,"CP Speed"))])]),L6,e.createElementVNode("div",W6,[e.createElementVNode("div",$6,[e.createElementVNode("div",null,e.toDisplayString((Lo=t.report)==null?void 0:Lo.extraDist),1),H6,e.createElementVNode("div",null,e.toDisplayString(($o=(Wo=t.report)==null?void 0:Wo.extend)==null?void 0:$o.cpSpd),1)])]),M6,e.createElementVNode("div",I6,e.toDisplayString((Ro=(Ho=t.report)==null?void 0:Ho.timeAnalysis)==null?void 0:Ro.sailingTime)+" (hrs)",1)]),e.createElementVNode("div",G6,[R6,e.createElementVNode("div",z6,e.toDisplayString((Uo=(zo=t.report)==null?void 0:zo.timeAnalysis)==null?void 0:Uo.sailingTime),1),U6,e.createElementVNode("div",Y6,e.toDisplayString(n.computeNum((Zo=(Yo=t.report)==null?void 0:Yo.timeAnalysis)==null?void 0:Zo.portTime)),1),Z6,e.createElementVNode("div",Q6,e.toDisplayString((Jo=(Qo=t.report)==null?void 0:Qo.timeAnalysis)==null?void 0:Jo.totalExtraTime)+" (hrs)",1)])])):(e.openBlock(),e.createElementBlock("div",J6,[e.createElementVNode("div",u6,[K6,j6,e.createElementVNode("div",X6,[e.createElementVNode("div",q6,[v6,e7,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",t7,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",o7,"CP Speed"))])]),l7,e.createElementVNode("div",a7,[e.createElementVNode("div",n7,[e.createElementVNode("div",null,e.toDisplayString((uo=t.report)==null?void 0:uo.priorDist),1),s7,e.createElementVNode("div",null,e.toDisplayString((jo=(Ko=t.report)==null?void 0:Ko.extend)==null?void 0:jo.cpSpd),1)])]),c7,e.createElementVNode("div",i7,e.toDisplayString((qo=(Xo=t.report)==null?void 0:Xo.timeAnalysis)==null?void 0:qo.sailingTime)+" (hrs)",1),d7,r7]),e.createElementVNode("div",m7,[p7,e.createElementVNode("div",h7,e.toDisplayString((el=(vo=t.report)==null?void 0:vo.timeAnalysis)==null?void 0:el.actualTime),1),_7,e.createElementVNode("div",E7,e.toDisplayString((ol=(tl=t.report)==null?void 0:tl.timeAnalysis)==null?void 0:ol.sailingTime),1),y7,e.createElementVNode("div",N7,e.toDisplayString((al=(ll=t.report)==null?void 0:ll.timeAnalysis)==null?void 0:al.totalExtraTime)+" (hrs)",1)])]))]),e.createElementVNode("div",V7,[((nl=t.report)==null?void 0:nl.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,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",O7,"Daily FO Consumption + About")):(e.openBlock(),e.createElementBlock("div",P7,"Daily FO Consumption")),L7,W7])]),$7,e.createElementVNode("div",H7,[e.createElementVNode("div",M7,[e.createElementVNode("div",null,e.toDisplayString((sl=t.report)==null?void 0:sl.extraDist),1),I7,e.createElementVNode("div",null,e.toDisplayString((il=(cl=t.report)==null?void 0:cl.extend)==null?void 0:il.cpSpd),1)])]),G7,e.createElementVNode("div",R7,[e.createElementVNode("div",z7,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=t.report)==null?void 0:dl.extend)==null?void 0:rl.cpFoCons),1),U7,Y7])]),Z7,e.createElementVNode("div",Q7,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",J7,[u7,e.createElementVNode("div",K7,e.toDisplayString((Vl=(Nl=(yl=t.report)==null?void 0:yl.consAnalysis)==null?void 0:Nl.fo)==null?void 0:Vl.sailingCons),1),j7,e.createElementVNode("div",X7,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),q7,e.createElementVNode("div",v7,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",eA,[tA,oA,e.createElementVNode("div",lA,[e.createElementVNode("div",aA,[nA,sA,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",cA,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",iA,"CP Speed"))])]),dA,e.createElementVNode("div",rA,[e.createElementVNode("div",mA,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",pA,"Daily MGO Consumption + About")):(e.openBlock(),e.createElementBlock("div",hA,"Daily MGO Consumption")),_A,EA])]),yA,e.createElementVNode("div",NA,[e.createElementVNode("div",VA,[e.createElementVNode("div",null,e.toDisplayString((Cl=t.report)==null?void 0:Cl.extraDist),1),fA,e.createElementVNode("div",null,e.toDisplayString((Bl=(Sl=t.report)==null?void 0:Sl.extend)==null?void 0:Bl.cpSpd),1)])]),bA,e.createElementVNode("div",gA,[e.createElementVNode("div",xA,[e.createElementVNode("div",null,e.toDisplayString((Al=(wl=t.report)==null?void 0:wl.extend)==null?void 0:Al.cpDgoCons),1),kA,DA])]),CA,e.createElementVNode("div",SA,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",BA,[wA,e.createElementVNode("div",AA,e.toDisplayString((Wl=(Ll=(Pl=t.report)==null?void 0:Pl.consAnalysis)==null?void 0:Ll.dgo)==null?void 0:Wl.sailingCons),1),TA,e.createElementVNode("div",FA,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),OA,e.createElementVNode("div",PA,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",LA,[e.createElementVNode("div",WA,[$A,HA,e.createElementVNode("div",MA,[e.createElementVNode("div",IA,[GA,RA,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",zA,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",UA,"CP Speed"))])]),YA,e.createElementVNode("div",ZA,[e.createElementVNode("div",QA,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",JA,"CP Daily FO Consumption + About")):(e.openBlock(),e.createElementBlock("div",uA,"CP Daily FO Consumption")),KA,jA])]),XA,e.createElementVNode("div",qA,[e.createElementVNode("div",vA,[e.createElementVNode("div",null,e.toDisplayString((zl=t.report)==null?void 0:zl.priorDist),1),eT,e.createElementVNode("div",null,e.toDisplayString((Yl=(Ul=t.report)==null?void 0:Ul.extend)==null?void 0:Yl.cpSpd),1)])]),tT,e.createElementVNode("div",oT,[e.createElementVNode("div",lT,[e.createElementVNode("div",null,e.toDisplayString((Ql=(Zl=t.report)==null?void 0:Zl.extend)==null?void 0:Ql.cpFoCons),1),aT,nT])]),sT,e.createElementVNode("div",cT,e.toDisplayString((Kl=(ul=(Jl=t.report)==null?void 0:Jl.consAnalysis)==null?void 0:ul.fo)==null?void 0:Kl.sailingCons)+" (mt)",1)]),e.createElementVNode("div",iT,[dT,e.createElementVNode("div",rT,e.toDisplayString((ql=(Xl=(jl=t.report)==null?void 0:jl.consAnalysis)==null?void 0:Xl.fo)==null?void 0:ql.actualCons),1),mT,e.createElementVNode("div",pT,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),hT,e.createElementVNode("div",_T,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",ET,[yT,NT,e.createElementVNode("div",VT,[e.createElementVNode("div",fT,[bT,gT,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",xT,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",kT,"CP Speed"))])]),DT,e.createElementVNode("div",CT,[e.createElementVNode("div",ST,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",BT,"CP Daily MGO Consumption + About")):(e.openBlock(),e.createElementBlock("div",wT,"CP Daily MGO Consumption")),AT,TT])]),FT,e.createElementVNode("div",OT,[e.createElementVNode("div",PT,[e.createElementVNode("div",null,e.toDisplayString((na=t.report)==null?void 0:na.priorDist),1),LT,e.createElementVNode("div",null,e.toDisplayString((ca=(sa=t.report)==null?void 0:sa.extend)==null?void 0:ca.cpSpd),1)])]),WT,e.createElementVNode("div",$T,[e.createElementVNode("div",HT,[e.createElementVNode("div",null,e.toDisplayString((da=(ia=t.report)==null?void 0:ia.extend)==null?void 0:da.cpDgoCons),1),MT,IT])]),GT,e.createElementVNode("div",RT,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",zT,[UT,e.createElementVNode("div",YT,e.toDisplayString((Ea=(_a=(ha=t.report)==null?void 0:ha.consAnalysis)==null?void 0:_a.dgo)==null?void 0:Ea.actualCons),1),ZT,e.createElementVNode("div",QT,e.toDisplayString((Va=(Na=(ya=t.report)==null?void 0:ya.consAnalysis)==null?void 0:Na.dgo)==null?void 0:Va.sailingCons),1),JT,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",KT,[jT,e.createElementVNode("div",XT,[e.createElementVNode("img",{style:{width:"100%"},src:(xa=t.report)==null?void 0:xa.chartUrl,alt:""},null,8,qT),vT])])])])}const rn=Ce(e8,[["render",eF],["__scopeId","data-v-5e7b1250"]]),iZ="",tF={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//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXg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NETkSaDqFEBDRBG6vMaNeTwbHIL0UOUJqQJS5FEQ3kI4uVrJEgq3AzTdNYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},computed:{computeColor(){return function(o){return o>0?"fail":o<0?"success":""}},computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return o?`${u(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 qa.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},V=o=>(e.pushScopeId("data-v-eba493df"),o=o(),e.popScopeId(),o),oF={class:"deviation-report"},lF=V(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),aF={class:"report-header"},nF={class:"header-title",style:{position:"relative !important"}},sF={class:"header-title-content"},cF=V(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),iF={class:"title-date"},dF={class:"report-summary"},rF={class:"summary-item"},mF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),pF={class:"flexL gray"},hF={class:"summary-item"},_F=V(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),EF={class:"flexL gray"},yF={class:"summary-item"},NF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),VF={class:"flexL gray"},fF={class:"summary-item"},bF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),gF={class:"flexL gray"},xF={class:"summary-item"},kF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),DF={class:"flexL gray",style:{display:"flex"}},CF={class:"flex"},SF={class:"flexM"},BF={class:"summary-item"},wF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),AF={class:"flexL gray",style:{display:"flex"}},TF={class:"flex"},FF={class:"flexM"},OF=V(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),PF={class:"report-summary"},LF={class:"summary-item"},WF=V(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),$F={class:"summary-item"},HF=V(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),MF={class:"summary-item"},IF=V(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),GF={class:"summary-item"},RF=V(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),zF=V(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),UF={class:"report-map"},YF=["src"],ZF=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),QF=V(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),JF={key:0,class:"subtitle"},uF={key:1,class:"report-summary"},KF=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),jF={class:"summary-item"},XF=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),qF={class:"blue center",style:{width:"20%"}},vF={class:"blue center",style:{width:"17%"}},eO={class:"flex blue center"},tO={class:"flex blue center"},oO=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),lO=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),aO={class:"summary-item"},nO=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),sO={class:"blue center",style:{width:"20%"}},cO={class:"blue center",style:{width:"17%"}},iO={class:"flex blue center"},dO={class:"flex blue center"},rO={class:"flex blue center"},mO={class:"flex blue center"},pO={class:"summary-item"},hO=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),_O=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),EO={class:"blue center",style:{width:"17%"}},yO={class:"flex blue center"},NO={class:"flex blue center"},VO=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),fO=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),bO=V(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),gO={class:"report-summary"},xO={class:"summary-item"},kO=V(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),DO={class:"flexL blue center"},CO={class:"summary-item"},SO=V(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),BO={class:"flexL blue center"},wO={class:"summary-item"},AO=V(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),TO={class:"flexL blue center"},FO={class:"subtitle port"},OO=V(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),PO={class:"print-hidden"},LO={class:"report-port"},WO=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)),$O={rowspan:2},HO=V(()=>e.createElementVNode("td",null,"Arrival",-1)),MO=V(()=>e.createElementVNode("td",null,null,-1)),IO=V(()=>e.createElementVNode("td",null,null,-1)),GO={rowspan:2,class:"print-hidden"},RO=V(()=>e.createElementVNode("td",null,"Departure",-1)),zO=V(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),UO=V(()=>e.createElementVNode("td",null,null,-1)),YO=V(()=>e.createElementVNode("td",null,null,-1)),ZO=V(()=>e.createElementVNode("td",null,null,-1)),QO=V(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),JO=V(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),uO={class:"report-summary"},KO=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)),jO={class:"summary-item"},XO=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),qO={class:"flex blue center"},vO={class:"flex blue center"},eP={class:"summary-item"},tP=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),oP={class:"flex blue center"},lP=V(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),aP={key:2,class:"report-formular"},nP={class:"equation"},sP=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),cP={class:"function",style:{width:"20%"}},iP=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),dP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),rP={style:{width:"10%"}},mP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),pP={class:"equation"},hP=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),_P={style:{width:"5%"}},EP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),yP={style:{width:"8%"}},NP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),VP={style:{width:"4%"}},fP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),bP={key:3,class:"report-formular"},gP={class:"equation"},xP=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),kP={class:"function",style:{width:"20%"}},DP=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),CP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),SP={style:{width:"10%"}},BP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),wP={key:0,class:"equation"},AP=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),TP={style:{width:"5%"}},FP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),OP={style:{width:"5%"}},PP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),LP={style:{width:"5%"}},WP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),$P={key:1,class:"equation"},HP=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),MP={style:{width:"5%"}},IP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),GP={style:{width:"5%"}},RP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),zP={style:{width:"5%"}},UP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),YP={style:{width:"5%"}},ZP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),QP={key:4,class:"report-summary"},JP={class:"summary-item"},uP=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),KP={class:"flex blue center"},jP={class:"summary-item"},XP=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),qP={class:"flex blue center"},vP={class:"summary-item"},eL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),tL={class:"flex blue center"},oL={key:5,class:"report-summary"},lL={class:"summary-item"},aL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),nL={class:"flex blue center"},sL={class:"summary-item"},cL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),iL={class:"flex blue center"},dL={key:0,class:"summary-item"},rL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),mL={class:"flex blue center"},pL={class:"summary-item"},hL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),_L={class:"flex blue center"},EL=V(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),yL={key:6,class:"report-formular"},NL={class:"equation"},VL=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),fL={class:"function",style:{width:"5%"}},bL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),gL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),xL={class:"function",style:{width:"5%"}},kL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),DL=V(()=>e.createElementVNode("div",null,"24",-1)),CL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),SL={style:{width:"5%"}},BL=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),wL={class:"equation"},AL=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),TL={style:{width:"5%"}},FL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),OL={style:{width:"5%"}},PL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),LL={style:{width:"5%"}},WL=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),$L={class:"equation"},HL=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),ML={class:"function",style:{width:"5%"}},IL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),GL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),RL={class:"function",style:{width:"5%"}},zL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),UL=V(()=>e.createElementVNode("div",null,"24",-1)),YL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),ZL={style:{width:"5%"}},QL=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),JL={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),KL={style:{width:"5%"}},jL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),XL={style:{width:"5%"}},qL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),vL={style:{width:"5%"}},eW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),tW={key:7,class:"report-formular"},oW={class:"equation"},lW=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),aW={class:"function",style:{width:"5%"}},nW=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),sW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),cW={class:"function",style:{width:"5%"}},iW=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),dW=V(()=>e.createElementVNode("div",null,"24",-1)),rW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),mW={style:{width:"5%"}},pW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),hW={class:"equation"},_W=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),EW={class:"function",style:{width:"5%"}},yW=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),VW={class:"function",style:{width:"5%"}},fW=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),bW=V(()=>e.createElementVNode("div",null,"24",-1)),gW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),xW={style:{width:"5%"}},kW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),DW={key:0,class:"equation"},CW=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),SW={style:{width:"5%"}},BW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),wW={style:{width:"5%"}},AW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),TW={style:{width:"5%"}},FW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),OW={key:1,class:"equation"},PW=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),LW={style:{width:"5%"}},WW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),$W={style:{width:"5%"}},HW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),MW={style:{width:"5%"}},IW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),GW={style:{width:"5%"}},RW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),zW={key:2,class:"equation"},UW=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),YW={style:{width:"5%"}},ZW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),QW={style:{width:"5%"}},JW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),uW={style:{width:"5%"}},KW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),jW={key:3,class:"equation"},XW=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),qW={style:{width:"5%"}},vW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),e$={style:{width:"5%"}},t$=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),o$={style:{width:"5%"}},l$=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),a$={style:{width:"5%"}},n$=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),s$={key:8,class:"report-summary"},c$=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)),i$={class:"summary-item"},d$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),r$={class:"flex blue center"},m$={class:"flex blue center"},p$={class:"summary-item"},h$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),_$={class:"flex blue center"},E$={class:"flex blue center"},y$={class:"summary-item"},N$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),V$={key:9,class:"report-summary"},f$=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)),b$={class:"summary-item"},g$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),x$={class:"flex blue center"},k$={class:"flex blue center"},D$={class:"summary-item"},C$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),S$={class:"flex blue center"},B$={class:"flex blue center"},w$={key:0,class:"summary-item"},A$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),T$={class:"flex blue center"},F$={class:"flex blue center"},O$={class:"summary-item"},P$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),L$=["innerHTML"];function W$(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,j,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,ue,Ke,je,A,Se,Ge,Xe,qe,ve,et,tt,m,$,Be,Ie,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,Me,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,ut,Kt,jt,Xt,qt,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,uo,Ko,jo,Xo,qo,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,ul,Kl,jl,Xl,ql,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",oF,[lF,e.createElementVNode("div",aF,[e.createElementVNode("div",nF,[e.createElementVNode("div",sF,[cF,e.createElementVNode("div",iF,e.toDisplayString(n.computeUTCTime((h=a.extraData)==null?void 0:h.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",dF,[e.createElementVNode("div",rF,[mF,e.createElementVNode("div",pF,e.toDisplayString((D=(N=a.extraData)==null?void 0:N.vessel)==null?void 0:D.name),1)]),e.createElementVNode("div",hF,[_F,e.createElementVNode("div",EF,e.toDisplayString((x=a.extraData)==null?void 0:x.preparedFor),1)]),e.createElementVNode("div",yF,[NF,e.createElementVNode("div",VF,e.toDisplayString((k=(C=a.extraData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("div",fF,[bF,e.createElementVNode("div",gF,e.toDisplayString((F=(T=a.extraData)==null?void 0:T.voyage)==null?void 0:F.number),1)]),e.createElementVNode("div",xF,[kF,e.createElementVNode("div",DF,[e.createElementVNode("span",CF,e.toDisplayString((w=(B=a.extraData)==null?void 0:B.departure)==null?void 0:w.name),1),e.createElementVNode("span",SF,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",BF,[wF,e.createElementVNode("div",AF,[e.createElementVNode("span",TF,e.toDisplayString((z=(R=a.extraData)==null?void 0:R.arrival)==null?void 0:z.name),1),e.createElementVNode("span",FF,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)])])]),OF,e.createElementVNode("div",PF,[e.createElementVNode("div",LF,[WF,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",$F,[HF,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",MF,[IF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((j=(l=(se=a.extraData)==null?void 0:se.consAnalysis)==null?void 0:l.fo)==null?void 0:j.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",GF,[RF,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)])]),zF,e.createElementVNode("div",UF,[e.createElementVNode("img",{style:{width:"100%"},src:(X=a.extraData)==null?void 0:X.chartUrl,alt:""},null,8,YF),ZF]),QF,o.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",JF,"Diversion Information")),o.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",uF,[KF,e.createElementVNode("div",jF,[XF,e.createElementVNode("div",qF,e.toDisplayString(n.computedLngLat((me=a.extraData)==null?void 0:me.startLng,(Ee=a.extraData)==null?void 0:Ee.startLat)),1),e.createElementVNode("div",vF,e.toDisplayString(n.computeUTCTime((ye=a.extraData)==null?void 0:ye.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",eO,[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",tO,[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"])]),oO,lO]),e.createElementVNode("div",aO,[nO,e.createElementVNode("div",sO,e.toDisplayString(n.computedLngLat((be=a.extraData)==null?void 0:be.endLng,(ge=a.extraData)==null?void 0:ge.endLat)),1),e.createElementVNode("div",cO,e.toDisplayString(n.computeUTCTime((xe=a.extraData)==null?void 0:xe.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",iO,[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",dO,[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",rO,[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",mO,[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",pO,[hO,_O,e.createElementVNode("div",EO,e.toDisplayString(((Pe=(Oe=a.extraData)==null?void 0:Oe.timeAnalysis)==null?void 0:Pe.actualTime)??"—"),1),e.createElementVNode("div",yO,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",NO,e.toDisplayString(((ue=(Ne=(He=a.extraData)==null?void 0:He.consAnalysis)==null?void 0:Ne.dgo)==null?void 0:ue.actualCons)??"—"),1),VO,fO])])),bO,e.createElementVNode("div",gO,[e.createElementVNode("div",xO,[kO,e.createElementVNode("div",DO,e.toDisplayString(((je=(Ke=a.extraData)==null?void 0:Ke.cp)==null?void 0:je.speed)??"—"),1)]),e.createElementVNode("div",CO,[SO,e.createElementVNode("div",BO,e.toDisplayString(((Se=(A=a.extraData)==null?void 0:A.cp)==null?void 0:Se.fo)??"—"),1)]),e.createElementVNode("div",wO,[AO,e.createElementVNode("div",TO,e.toDisplayString(((Xe=(Ge=a.extraData)==null?void 0:Ge.cp)==null?void 0:Xe.dgo)??"—"),1)])]),e.createElementVNode("div",FO,[OO,e.createElementVNode("div",PO,[e.createVNode(p,{size:20,onClick:n.handleAdd},{default:e.withCtx(()=>[e.createVNode(c)]),_:1},8,["onClick"])])]),e.createElementVNode("div",LO,[e.createElementVNode("table",null,[WO,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,ua;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Mo},[e.createElementVNode("tr",null,[e.createElementVNode("td",$O,[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"])]),HO,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"])]),MO,IO,e.createElementVNode("td",GO,[e.createVNode(p,{size:20,onClick:ct=>n.handleRemove(Mo)},{default:e.withCtx(()=>[e.createVNode(b)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[RO,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:(ua=K==null?void 0:K.departure)==null?void 0:ua.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,[zO,UO,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(((Ie=(Be=($=a.extraData)==null?void 0:$.consAnalysis)==null?void 0:Be.dgo)==null?void 0:Ie.portCons)??"—"),1),YO,ZO,QO])])])]),JO,e.createElementVNode("div",uO,[KO,e.createElementVNode("div",jO,[XO,e.createElementVNode("div",qO,[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",vO,[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",eP,[tP,e.createElementVNode("div",oP,e.toDisplayString(((Ue=a.extraData)==null?void 0:Ue.extraDist)??"—"),1)])]),lP,o.isDistExtra?(e.openBlock(),e.createElementBlock("div",aP,[e.createElementVNode("div",nP,[sP,e.createElementVNode("div",cP,[e.createElementVNode("div",null,e.toDisplayString((ot=a.extraData)==null?void 0:ot.extraDist),1),iP,e.createElementVNode("div",null,e.toDisplayString((dt=(lt=a.extraData)==null?void 0:lt.cp)==null?void 0:dt.speed),1)]),dP,e.createElementVNode("div",rP,e.toDisplayString((mt=(rt=a.extraData)==null?void 0:rt.timeAnalysis)==null?void 0:mt.sailingTime),1),mP]),e.createElementVNode("div",pP,[hP,e.createElementVNode("div",_P,e.toDisplayString((_t=(pt=a.extraData)==null?void 0:pt.timeAnalysis)==null?void 0:_t.sailingTime),1),EP,e.createElementVNode("div",yP,e.toDisplayString(n.computeNum((yt=(Et=a.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:yt.portTime)),1),NP,e.createElementVNode("div",VP,e.toDisplayString((Vt=(Nt=a.extraData)==null?void 0:Nt.timeAnalysis)==null?void 0:Vt.totalExtraTime),1),fP])])):(e.openBlock(),e.createElementBlock("div",bP,[e.createElementVNode("div",gP,[xP,e.createElementVNode("div",kP,[e.createElementVNode("div",null,e.toDisplayString((ft=a.extraData)==null?void 0:ft.priorDist),1),DP,e.createElementVNode("div",null,e.toDisplayString((gt=(bt=a.extraData)==null?void 0:bt.cp)==null?void 0:gt.speed),1)]),CP,e.createElementVNode("div",SP,e.toDisplayString((kt=(xt=a.extraData)==null?void 0:xt.timeAnalysis)==null?void 0:kt.sailingTime),1),BP]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",wP,[AP,e.createElementVNode("div",TP,e.toDisplayString((Ct=(Dt=a.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:Ct.actualTime),1),FP,e.createElementVNode("div",OP,e.toDisplayString((Bt=(St=a.extraData)==null?void 0:St.timeAnalysis)==null?void 0:Bt.sailingTime),1),PP,e.createElementVNode("div",LP,e.toDisplayString((At=(wt=a.extraData)==null?void 0:wt.timeAnalysis)==null?void 0:At.totalExtraTime),1),WP])):(e.openBlock(),e.createElementBlock("div",$P,[HP,e.createElementVNode("div",MP,e.toDisplayString((Ft=(Tt=a.extraData)==null?void 0:Tt.timeAnalysis)==null?void 0:Ft.actualTime),1),IP,e.createElementVNode("div",GP,e.toDisplayString((Pt=(Ot=a.extraData)==null?void 0:Ot.timeAnalysis)==null?void 0:Pt.sailingTime),1),RP,e.createElementVNode("div",zP,e.toDisplayString((so=(no=a.extraData)==null?void 0:no.timeAnalysis)==null?void 0:so.portTime),1),UP,e.createElementVNode("div",YP,e.toDisplayString((io=(co=a.extraData)==null?void 0:co.timeAnalysis)==null?void 0:io.totalExtraTime),1),ZP]))])),o.isDistExtra?(e.openBlock(),e.createElementBlock("div",QP,[e.createElementVNode("div",JP,[uP,e.createElementVNode("div",KP,e.toDisplayString(((mo=(ro=a.extraData)==null?void 0:ro.timeAnalysis)==null?void 0:mo.sailingTime)??"—"),1)]),e.createElementVNode("div",jP,[XP,e.createElementVNode("div",qP,e.toDisplayString(((ho=(po=a.extraData)==null?void 0:po.timeAnalysis)==null?void 0:ho.portTime)??"—"),1)]),e.createElementVNode("div",vP,[eL,e.createElementVNode("div",tL,e.toDisplayString(((Eo=(_o=a.extraData)==null?void 0:_o.timeAnalysis)==null?void 0:Eo.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",oL,[e.createElementVNode("div",lL,[aL,e.createElementVNode("div",nL,e.toDisplayString((Me=(S=a.extraData)==null?void 0:S.timeAnalysis)==null?void 0:Me.sailingTime),1)]),e.createElementVNode("div",sL,[cL,e.createElementVNode("div",iL,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",dL,[rL,e.createElementVNode("div",mL,e.toDisplayString(((Lt=(ht=a.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:Lt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",pL,[hL,e.createElementVNode("div",_L,e.toDisplayString(($t=(Wt=a.extraData)==null?void 0:Wt.timeAnalysis)==null?void 0:$t.totalExtraTime),1)])])),EL,o.isDistExtra?(e.openBlock(),e.createElementBlock("div",yL,[e.createElementVNode("div",NL,[VL,e.createElementVNode("div",fL,[e.createElementVNode("div",null,e.toDisplayString((Ht=a.extraData)==null?void 0:Ht.extraDist),1),bL,e.createElementVNode("div",null,e.toDisplayString((It=(Mt=a.extraData)==null?void 0:Mt.cp)==null?void 0:It.speed),1)]),gL,e.createElementVNode("div",xL,[e.createElementVNode("div",null,e.toDisplayString((Rt=(Gt=a.extraData)==null?void 0:Gt.cp)==null?void 0:Rt.fo),1),kL,DL]),CL,e.createElementVNode("div",SL,e.toDisplayString((Yt=(Ut=(zt=a.extraData)==null?void 0:zt.consAnalysis)==null?void 0:Ut.fo)==null?void 0:Yt.sailingCons),1),BL]),e.createElementVNode("div",wL,[AL,e.createElementVNode("div",TL,e.toDisplayString((Jt=(Qt=(Zt=a.extraData)==null?void 0:Zt.consAnalysis)==null?void 0:Qt.fo)==null?void 0:Jt.sailingCons),1),FL,e.createElementVNode("div",OL,e.toDisplayString(n.computeNum((jt=(Kt=(ut=a.extraData)==null?void 0:ut.consAnalysis)==null?void 0:Kt.fo)==null?void 0:jt.portCons)),1),PL,e.createElementVNode("div",LL,e.toDisplayString((vt=(qt=(Xt=a.extraData)==null?void 0:Xt.consAnalysis)==null?void 0:qt.fo)==null?void 0:vt.totalExtraCons),1),WL]),e.createElementVNode("div",$L,[HL,e.createElementVNode("div",ML,[e.createElementVNode("div",null,e.toDisplayString((eo=a.extraData)==null?void 0:eo.extraDist),1),IL,e.createElementVNode("div",null,e.toDisplayString((oo=(to=a.extraData)==null?void 0:to.cp)==null?void 0:oo.speed),1)]),GL,e.createElementVNode("div",RL,[e.createElementVNode("div",null,e.toDisplayString((yo=(lo=a.extraData)==null?void 0:lo.cp)==null?void 0:yo.dgo),1),zL,UL]),YL,e.createElementVNode("div",ZL,e.toDisplayString((fo=(Vo=(No=a.extraData)==null?void 0:No.consAnalysis)==null?void 0:Vo.dgo)==null?void 0:fo.sailingCons),1),QL]),e.createElementVNode("div",JL,[uL,e.createElementVNode("div",KL,e.toDisplayString((xo=(go=(bo=a.extraData)==null?void 0:bo.consAnalysis)==null?void 0:go.dgo)==null?void 0:xo.sailingCons),1),jL,e.createElementVNode("div",XL,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),qL,e.createElementVNode("div",vL,e.toDisplayString((wo=(Bo=(So=a.extraData)==null?void 0:So.consAnalysis)==null?void 0:Bo.dgo)==null?void 0:wo.totalExtraCons),1),eW])])):(e.openBlock(),e.createElementBlock("div",tW,[e.createElementVNode("div",oW,[lW,e.createElementVNode("div",aW,[e.createElementVNode("div",null,e.toDisplayString((Ao=a.extraData)==null?void 0:Ao.priorDist),1),nW,e.createElementVNode("div",null,e.toDisplayString((Fo=(To=a.extraData)==null?void 0:To.cp)==null?void 0:Fo.speed),1)]),sW,e.createElementVNode("div",cW,[e.createElementVNode("div",null,e.toDisplayString((Po=(Oo=a.extraData)==null?void 0:Oo.cp)==null?void 0:Po.fo),1),iW,dW]),rW,e.createElementVNode("div",mW,e.toDisplayString(($o=(Wo=(Lo=a.extraData)==null?void 0:Lo.consAnalysis)==null?void 0:Wo.fo)==null?void 0:$o.sailingCons),1),pW]),e.createElementVNode("div",hW,[_W,e.createElementVNode("div",EW,[e.createElementVNode("div",null,e.toDisplayString((Ho=a.extraData)==null?void 0:Ho.priorDist),1),yW,e.createElementVNode("div",null,e.toDisplayString((zo=(Ro=a.extraData)==null?void 0:Ro.cp)==null?void 0:zo.speed),1)]),NW,e.createElementVNode("div",VW,[e.createElementVNode("div",null,e.toDisplayString((Yo=(Uo=a.extraData)==null?void 0:Uo.cp)==null?void 0:Yo.dgo),1),fW,bW]),gW,e.createElementVNode("div",xW,e.toDisplayString((Jo=(Qo=(Zo=a.extraData)==null?void 0:Zo.consAnalysis)==null?void 0:Qo.dgo)==null?void 0:Jo.sailingCons),1),kW]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",DW,[CW,e.createElementVNode("div",SW,e.toDisplayString((jo=(Ko=(uo=a.extraData)==null?void 0:uo.consAnalysis)==null?void 0:Ko.fo)==null?void 0:jo.actualCons),1),BW,e.createElementVNode("div",wW,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),AW,e.createElementVNode("div",TW,e.toDisplayString((ol=(tl=(el=a.extraData)==null?void 0:el.consAnalysis)==null?void 0:tl.fo)==null?void 0:ol.totalExtraCons),1),FW])):(e.openBlock(),e.createElementBlock("div",OW,[PW,e.createElementVNode("div",LW,e.toDisplayString((nl=(al=(ll=a.extraData)==null?void 0:ll.consAnalysis)==null?void 0:al.fo)==null?void 0:nl.actualCons),1),WW,e.createElementVNode("div",$W,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),HW,e.createElementVNode("div",MW,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),IW,e.createElementVNode("div",GW,e.toDisplayString((yl=(El=(pl=a.extraData)==null?void 0:pl.consAnalysis)==null?void 0:El.fo)==null?void 0:yl.totalExtraCons),1),RW])),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",zW,[UW,e.createElementVNode("div",YW,e.toDisplayString((fl=(Vl=(Nl=a.extraData)==null?void 0:Nl.consAnalysis)==null?void 0:Vl.dgo)==null?void 0:fl.actualCons),1),ZW,e.createElementVNode("div",QW,e.toDisplayString((xl=(gl=(bl=a.extraData)==null?void 0:bl.consAnalysis)==null?void 0:gl.dgo)==null?void 0:xl.sailingCons),1),JW,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),KW])):(e.openBlock(),e.createElementBlock("div",jW,[XW,e.createElementVNode("div",qW,e.toDisplayString((wl=(Bl=(Sl=a.extraData)==null?void 0:Sl.consAnalysis)==null?void 0:Bl.dgo)==null?void 0:wl.actualCons),1),vW,e.createElementVNode("div",e$,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),t$,e.createElementVNode("div",o$,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),l$,e.createElementVNode("div",a$,e.toDisplayString((Hl=($l=(Wl=a.extraData)==null?void 0:Wl.consAnalysis)==null?void 0:$l.dgo)==null?void 0:Hl.totalExtraCons),1),n$]))])),o.isDistExtra?(e.openBlock(),e.createElementBlock("div",s$,[c$,e.createElementVNode("div",i$,[d$,e.createElementVNode("div",r$,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",m$,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",p$,[h$,e.createElementVNode("div",_$,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",E$,e.toDisplayString(((Kl=(ul=(Jl=a.extraData)==null?void 0:Jl.consAnalysis)==null?void 0:ul.dgo)==null?void 0:Kl.portCons)??"—"),1)]),e.createElementVNode("div",y$,[N$,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ql=(Xl=(jl=a.extraData)==null?void 0:jl.consAnalysis)==null?void 0:Xl.fo)==null?void 0:ql.totalExtraCons)} flex blue center`)},e.toDisplayString(((ta=(ea=(vl=a.extraData)==null?void 0:vl.consAnalysis)==null?void 0:ea.fo)==null?void 0:ta.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((aa=(la=(oa=a.extraData)==null?void 0:oa.consAnalysis)==null?void 0:la.dgo)==null?void 0:aa.totalExtraCons)} flex blue center`)},e.toDisplayString(((ca=(sa=(na=a.extraData)==null?void 0:na.consAnalysis)==null?void 0:sa.dgo)==null?void 0:ca.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",V$,[f$,e.createElementVNode("div",b$,[g$,e.createElementVNode("div",x$,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",k$,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",D$,[C$,e.createElementVNode("div",S$,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",B$,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",w$,[A$,e.createElementVNode("div",T$,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",F$,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",O$,[P$,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,L$))],2)])}const mn=Ce(tF,[["render",W$],["__scopeId","data-v-eba493df"]]),$$={install(o){o.component("DeviationReport",rn),o.component("FliDeviationReport",mn)}},dZ="",H$={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/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCF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U1qJTCPXvJ+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?`${u(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),M$={class:"stoppage-report"},I$={class:"content-box"},G$={class:"info-box border"},R$={class:"flex-between row"},z$={class:"flex-between",style:{width:"48%"}},U$=Ae(()=>e.createElementVNode("label",{class:"label"},"Prepared For:",-1)),Y$={class:"flex-between",style:{width:"48%"}},Z$=Ae(()=>e.createElementVNode("label",{class:"label"},"Departure Port:",-1)),Q$={style:{"margin-left":"5px"}},J$={class:"flex-between row"},u$={class:"flex-between",style:{width:"48%"}},K$=Ae(()=>e.createElementVNode("label",{class:"label"},"Vessel:",-1)),j$={class:"flex-between",style:{width:"48%"}},X$=Ae(()=>e.createElementVNode("label",{class:"label"},"Arrival Port:",-1)),q$={style:{"margin-left":"5px"}},v$={class:"flex-between row"},eH={class:"flex-between",style:{width:"48%"}},tH=Ae(()=>e.createElementVNode("label",{class:"label"},"Voyage No:",-1)),oH={class:"flex-between",style:{width:"48%"}},lH=Ae(()=>e.createElementVNode("label",{class:"label"},"Load Condition:",-1)),aH={class:"section summary-section"},nH=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Summary",-1)),sH={class:"formula-block flex-between border"},cH={class:"item"},iH=Ae(()=>e.createElementVNode("div",{class:"title"},"Total Time Lost",-1)),dH={class:"value flex-end"},rH={key:0},mH=Ae(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),pH={class:"gain"},hH=Ae(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),_H={key:1},EH=Ae(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),yH={class:"lost"},NH=Ae(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),VH={key:2},fH={class:"item"},bH=Ae(()=>e.createElementVNode("div",{class:"title"},"FO Total Consumption",-1)),gH={class:"value flex-end"},xH={key:0},kH=Ae(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),DH={class:"gain"},CH=Ae(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),SH={key:1},BH=Ae(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),wH={class:"lost"},AH=Ae(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),TH={key:2},FH={class:"item"},OH=Ae(()=>e.createElementVNode("div",{class:"title"},"MGO Total Consumption",-1)),PH={class:"value flex-end"},LH={key:0},WH=Ae(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),$H={class:"gain"},HH=Ae(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),MH={key:1},IH=Ae(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),GH={class:"lost"},RH=Ae(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),zH={key:2},UH=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Remarks",-1)),YH={class:"section-content"},ZH={key:0,class:""},QH=["innerHTML"],JH={key:1},uH={class:"section table-section"},KH=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Stoppage Info",-1)),jH=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)),XH=Ae(()=>e.createElementVNode("td",{rowspan:2},"1",-1)),qH=Ae(()=>e.createElementVNode("td",null,"Stopped",-1)),vH={rowspan:2},eM={rowspan:2},tM={rowspan:2},oM=Ae(()=>e.createElementVNode("td",null,"Resumed",-1)),lM={class:"section map-section"},aM=Ae(()=>e.createElementVNode("div",{class:"subtitle"},"Voayge Map",-1)),nM=["src"];function sM(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,j,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",M$,[e.createVNode(E,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",I$,[e.createElementVNode("div",G$,[e.createElementVNode("div",R$,[e.createElementVNode("div",z$,[U$,e.createElementVNode("div",null,e.toDisplayString((p=t.report)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",Y$,[Z$,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",Q$,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",J$,[e.createElementVNode("div",u$,[K$,e.createElementVNode("div",null,e.toDisplayString((k=(C=t.report)==null?void 0:C.vessel)==null?void 0:k.name),1)]),e.createElementVNode("div",j$,[X$,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",q$,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",v$,[e.createElementVNode("div",eH,[tH,e.createElementVNode("div",null,e.toDisplayString((G=(I=t.report)==null?void 0:I.voyage)==null?void 0:G.number),1)]),e.createElementVNode("div",oH,[lH,e.createElementVNode("div",null,e.toDisplayString((z=(R=t.report)==null?void 0:R.voyage)==null?void 0:z.loadCondition),1)])])]),e.createElementVNode("div",aH,[nH,e.createElementVNode("div",sH,[e.createElementVNode("div",cH,[iH,e.createElementVNode("div",dH,[((_=t.report)==null?void 0:_.totalTime)<0?(e.openBlock(),e.createElementBlock("div",rH,[mH,e.createElementVNode("span",pH,e.toDisplayString((L=t.report)==null?void 0:L.totalTime),1),hH])):((H=t.report)==null?void 0:H.totalTime)>=0?(e.openBlock(),e.createElementBlock("div",_H,[EH,e.createElementVNode("span",yH,e.toDisplayString((W=t.report)==null?void 0:W.totalTime),1),NH])):(e.openBlock(),e.createElementBlock("div",VH,"N/A"))])]),e.createElementVNode("div",fH,[bH,e.createElementVNode("div",gH,[((P=t.report)==null?void 0:P.totalFoCons)<0?(e.openBlock(),e.createElementBlock("div",xH,[kH,e.createElementVNode("span",DH,e.toDisplayString((M=t.report)==null?void 0:M.totalFoCons),1),CH])):((Q=t.report)==null?void 0:Q.totalFoCons)>=0?(e.openBlock(),e.createElementBlock("div",SH,[BH,e.createElementVNode("span",wH,e.toDisplayString((U=t.report)==null?void 0:U.totalFoCons),1),AH])):(e.openBlock(),e.createElementBlock("div",TH,"N/A"))])]),e.createElementVNode("div",FH,[OH,e.createElementVNode("div",PH,[((J=t.report)==null?void 0:J.totalDgoCons)<0?(e.openBlock(),e.createElementBlock("div",LH,[WH,e.createElementVNode("span",$H,e.toDisplayString((ne=t.report)==null?void 0:ne.totalDgoCons),1),HH])):((se=t.report)==null?void 0:se.totalDgoCons)>=0?(e.openBlock(),e.createElementBlock("div",MH,[IH,e.createElementVNode("span",GH,e.toDisplayString((l=t.report)==null?void 0:l.totalDgoCons),1),RH])):(e.openBlock(),e.createElementBlock("div",zH,"N/A"))])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(a.remarks)?"print-hidden":""])},[UH,e.createElementVNode("div",YH,[a.editable?(e.openBlock(),e.createElementBlock("div",ZH,[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",JH,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:a.remarks},null,8,QH))],32))])],2),e.createElementVNode("div",uH,[KH,e.createElementVNode("table",null,[jH,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[XH,qH,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((j=t.report)==null?void 0:j.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",vH,e.toDisplayString(n.computeRoundPrecision(((le=t.report)==null?void 0:le.totalTime)??"-")),1),e.createElementVNode("td",eM,e.toDisplayString(n.computeRoundPrecision(((ce=t.report)==null?void 0:ce.totalFoCons)??"-")),1),e.createElementVNode("td",tM,e.toDisplayString(n.computeRoundPrecision(((ie=t.report)==null?void 0:ie.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[oM,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((X=t.report)==null?void 0:X.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",lM,[aM,e.createElementVNode("img",{src:(ye=t.report)==null?void 0:ye.chartUrl,alt:""},null,8,nM)])])])}const pn=Ce(H$,[["render",sM],["__scopeId","data-v-e829fef7"]]),cM={install(o){o.component("StoppageReport",pn)}},rZ="",iM={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?`${u(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),dM={class:"comparison-report"},rM={class:"report-summary"},mM={class:"summary-item"},pM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),hM={class:"flexL gray"},_M={class:"summary-item"},EM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),yM={class:"flexL gray"},NM={class:"summary-item"},VM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),fM={class:"flexL gray"},bM={class:"summary-item"},gM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),xM={class:"flexL gray"},kM={class:"summary-item"},DM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),CM={class:"flexL gray"},SM={class:"summary-item"},BM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),wM={class:"flexL gray",style:{display:"flex"}},AM={class:"flex"},TM={class:"flexM"},FM={class:"summary-item"},OM=Ve(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),PM={class:"flexL gray",style:{display:"flex"}},LM={class:"flex"},WM={class:"flexM"},$M=Ve(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),HM={class:"report-summary"},MM={class:"summary-item"},IM=Ve(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),GM={class:"summary-item"},RM=Ve(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),zM={class:"summary-item"},UM=Ve(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),YM=Ve(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),ZM={class:"report-map"},QM=["src"],JM=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"},KM={key:1,class:"report-summary"},jM={class:"summary-item"},XM=Ve(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),qM={class:"flexL blue center"},vM={class:"summary-item"},eI=Ve(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),tI={class:"flexL blue center"},oI={class:"summary-item"},lI=Ve(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),aI={class:"flexL blue center"},nI=Ve(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),sI={class:"report-summary"},cI=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)),iI={class:"summary-item"},dI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),rI={class:"flex blue-light center"},mI={class:"flex blue-light center"},pI={class:"summary-item"},hI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),_I={class:"flex blue-light center"},EI={class:"flex blue-light center"},yI={class:"summary-item"},NI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),VI={class:"flex blue-light center"},fI={class:"flex blue-light center"},bI={class:"summary-item"},gI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),xI={class:"flex blue-light center"},kI={class:"flex blue-light center"},DI={class:"summary-item"},CI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),SI={class:"flex blue-light center"},BI={class:"flex blue-light center"},wI={class:"summary-item"},AI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),TI={class:"flex blue-light center"},FI={class:"flex blue-light center"},OI={class:"summary-item"},PI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),LI={class:"flex blue-light center italic"},WI=Ve(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),$I={class:"report-summary"},HI=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)),MI={class:"summary-item"},II=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),GI={class:"flex blue-light center"},RI={class:"flex blue-light center"},zI={class:"summary-item"},UI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),YI={class:"flex blue-light center"},ZI={class:"flex blue-light center"},QI={class:"summary-item"},JI=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),uI={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%"}},"Total DO/GO Consumption (mt)",-1)),qI={class:"flex blue-light center"},vI={class:"flex blue-light center"},eG={class:"summary-item"},tG=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),oG={class:"flex blue-light center italic"},lG={class:"summary-item"},aG=Ve(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),nG={class:"flex blue-light center italic"},sG=["innerHTML"];function cG(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,j,v,ee,te,oe,le,ce,ie,de,_e,X,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",dM,[e.createVNode(E,{name:"Voyage Comparison Report"}),e.createElementVNode("div",rM,[e.createElementVNode("div",mM,[pM,e.createElementVNode("div",hM,e.toDisplayString((b=(p=t.report)==null?void 0:p.vessel)==null?void 0:b.name),1)]),e.createElementVNode("div",_M,[EM,e.createElementVNode("div",yM,e.toDisplayString((g=t.report)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",NM,[VM,e.createElementVNode("div",fM,e.toDisplayString((N=(h=t.report)==null?void 0:h.vessel)==null?void 0:N.type),1)]),e.createElementVNode("div",bM,[gM,e.createElementVNode("div",xM,e.toDisplayString((x=(D=t.report)==null?void 0:D.voyage)==null?void 0:x.loadCondition),1)]),e.createElementVNode("div",kM,[DM,e.createElementVNode("div",CM,e.toDisplayString((k=(C=t.report)==null?void 0:C.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",SM,[BM,e.createElementVNode("div",wM,[e.createElementVNode("span",AM,e.toDisplayString((F=(T=t.report)==null?void 0:T.departure)==null?void 0:F.name),1),e.createElementVNode("span",TM,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",FM,[OM,e.createElementVNode("div",PM,[e.createElementVNode("span",LM,e.toDisplayString((G=(I=t.report)==null?void 0:I.arrival)==null?void 0:G.name),1),e.createElementVNode("span",WM,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)])])]),$M,e.createElementVNode("div",HM,[e.createElementVNode("div",MM,[IM,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",GM,[RM,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",zM,[UM,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)])]),YM,e.createElementVNode("div",ZM,[e.createElementVNode("img",{style:{width:"100%"},src:(J=t.report)==null?void 0:J.chartUrl,alt:""},null,8,QM),JM]),(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",KM,[e.createElementVNode("div",jM,[XM,e.createElementVNode("div",qM,e.toDisplayString(((j=(l=t.report)==null?void 0:l.cp)==null?void 0:j.speed)??"—"),1)]),e.createElementVNode("div",vM,[eI,e.createElementVNode("div",tI,e.toDisplayString(((ee=(v=t.report)==null?void 0:v.cp)==null?void 0:ee.fo)??"—"),1)]),e.createElementVNode("div",oI,[lI,e.createElementVNode("div",aI,e.toDisplayString(((oe=(te=t.report)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),nI,e.createElementVNode("div",sI,[cI,e.createElementVNode("div",iI,[dI,e.createElementVNode("div",rI,e.toDisplayString(((le=t.report)==null?void 0:le.actualDist)??"—"),1),e.createElementVNode("div",mI,e.toDisplayString(((ce=t.report)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",pI,[hI,e.createElementVNode("div",_I,e.toDisplayString(((ie=t.report)==null?void 0:ie.actualTime)??"—"),1),e.createElementVNode("div",EI,e.toDisplayString(((de=t.report)==null?void 0:de.recmdTime)??"—"),1)]),e.createElementVNode("div",yI,[NI,e.createElementVNode("div",VI,e.toDisplayString(((_e=t.report)==null?void 0:_e.actualAvgSpd)??"—"),1),e.createElementVNode("div",fI,e.toDisplayString(((X=t.report)==null?void 0:X.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",bI,[gI,e.createElementVNode("div",xI,e.toDisplayString(((me=t.report)==null?void 0:me.actualAvgCF)??"—"),1),e.createElementVNode("div",kI,e.toDisplayString(((Ee=t.report)==null?void 0:Ee.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",DI,[CI,e.createElementVNode("div",SI,e.toDisplayString(((ye=t.report)==null?void 0:ye.actualAvgWF)??"—"),1),e.createElementVNode("div",BI,e.toDisplayString(((re=t.report)==null?void 0:re.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",wI,[AI,e.createElementVNode("div",TI,e.toDisplayString(((fe=t.report)==null?void 0:fe.actualPfmSpd)??"—"),1),e.createElementVNode("div",FI,e.toDisplayString(((be=t.report)==null?void 0:be.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",OI,[PI,e.createElementVNode("div",LI,e.toDisplayString(n.compareTime((ge=t.report)==null?void 0:ge.actualTime,(xe=t.report)==null?void 0:xe.recmdTime)),1)])]),WI,e.createElementVNode("div",$I,[HI,e.createElementVNode("div",MI,[II,e.createElementVNode("div",GI,e.toDisplayString(((ke=t.report)==null?void 0:ke.actualAvgFoCons)??"-"),1),e.createElementVNode("div",RI,e.toDisplayString(((De=t.report)==null?void 0:De.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",zI,[UI,e.createElementVNode("div",YI,e.toDisplayString(((Te=t.report)==null?void 0:Te.actualFoCons)??"-"),1),e.createElementVNode("div",ZI,e.toDisplayString(((Fe=t.report)==null?void 0:Fe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",QI,[JI,e.createElementVNode("div",uI,e.toDisplayString(((Oe=t.report)==null?void 0:Oe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",KI,e.toDisplayString(((Pe=t.report)==null?void 0:Pe.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",jI,[XI,e.createElementVNode("div",qI,e.toDisplayString(((Le=t.report)==null?void 0:Le.actualDgoCons)??"-"),1),e.createElementVNode("div",vI,e.toDisplayString(((We=t.report)==null?void 0:We.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",eG,[tG,e.createElementVNode("div",oG,e.toDisplayString((($e=t.report)==null?void 0:$e.diffFoCons)??"-"),1)]),e.createElementVNode("div",lG,[aG,e.createElementVNode("div",nG,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,sG))],2)])}const hn=Ce(iM,[["render",cG],["__scopeId","data-v-99108259"]]),mZ="",iG={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/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02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kvXmhDJZXuR/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?`${u(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),dG={class:"comparison-report"},rG=he(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),mG={class:"report-header"},pG={class:"header-title",style:{position:"relative !important"}},hG={class:"header-title-content"},_G=he(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),EG={class:"title-date"},yG={class:"report-summary"},NG={class:"summary-item"},VG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),fG={class:"flexL gray"},bG={class:"summary-item"},gG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),xG={class:"flexL gray"},kG={class:"summary-item"},DG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),CG={class:"flexL gray"},SG={class:"summary-item"},BG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),wG={class:"flexL gray"},AG={class:"summary-item"},TG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),FG={class:"flexL gray"},OG={class:"summary-item"},PG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),LG={class:"flexL gray",style:{display:"flex"}},WG={class:"flex"},$G={class:"flexM"},HG={class:"summary-item"},MG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),IG={class:"flexL gray",style:{display:"flex"}},GG={class:"flex"},RG={class:"flexM"},zG=he(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),UG={class:"report-summary"},YG={class:"summary-item"},ZG=he(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),QG={class:"summary-item"},JG=he(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),uG={class:"summary-item"},KG=he(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),jG=he(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),XG={class:"report-map"},qG=["src"],vG=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),eR=he(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),tR={key:0,class:"subtitle"},oR={key:1,class:"report-summary"},lR={class:"summary-item"},aR=he(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),nR={class:"flexL blue center"},sR={class:"summary-item"},cR=he(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),iR={class:"flexL blue center"},dR={class:"summary-item"},rR=he(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),mR={class:"flexL blue center"},pR=he(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),hR={class:"report-summary"},_R=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)),ER={class:"summary-item"},yR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),NR={class:"flex blue-light center"},VR={class:"flex blue-light center"},fR={class:"summary-item"},bR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),gR={class:"flex blue-light center"},xR={class:"flex blue-light center"},kR={class:"summary-item"},DR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),CR={class:"flex blue-light center"},SR={class:"flex blue-light center"},BR={class:"summary-item"},wR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),AR={class:"flex blue-light center"},TR={class:"flex blue-light center"},FR={class:"summary-item"},OR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),PR={class:"flex blue-light center"},LR={class:"flex blue-light center"},WR={class:"summary-item"},$R=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),HR={class:"flex blue-light center"},MR={class:"flex blue-light center"},IR={class:"summary-item"},GR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),RR={class:"flex blue-light center italic"},zR=he(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),UR={class:"report-summary"},YR=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)),ZR={class:"summary-item"},QR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),JR={class:"flex blue-light center"},uR={class:"flex blue-light center"},KR={class:"summary-item"},jR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),XR={class:"flex blue-light center"},qR={class:"flex blue-light center"},vR={class:"summary-item"},ez=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),tz={class:"flex blue-light center"},oz={class:"flex blue-light center"},lz={class:"summary-item"},az=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),nz={class:"flex blue-light center"},sz={class:"flex blue-light center"},cz={class:"summary-item"},iz=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),dz={class:"flex blue-light center italic"},rz={class:"summary-item"},mz=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),pz={class:"flex blue-light center italic"},hz=["innerHTML"];function _z(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,j,v,ee,te,oe,le,ce,ie,de,_e,X,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",dG,[rG,e.createElementVNode("div",mG,[e.createElementVNode("div",pG,[e.createElementVNode("div",hG,[_G,e.createElementVNode("div",EG,e.toDisplayString(n.computeUTCTime(((c=a.comparisonData)==null?void 0:c.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",yG,[e.createElementVNode("div",NG,[VG,e.createElementVNode("div",fG,e.toDisplayString((b=(p=a.comparisonData)==null?void 0:p.vessel)==null?void 0:b.name),1)]),e.createElementVNode("div",bG,[gG,e.createElementVNode("div",xG,e.toDisplayString((g=a.comparisonData)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",kG,[DG,e.createElementVNode("div",CG,e.toDisplayString((N=(h=a.comparisonData)==null?void 0:h.vessel)==null?void 0:N.type),1)]),e.createElementVNode("div",SG,[BG,e.createElementVNode("div",wG,e.toDisplayString((x=(D=a.comparisonData)==null?void 0:D.voyage)==null?void 0:x.loadCondition),1)]),e.createElementVNode("div",AG,[TG,e.createElementVNode("div",FG,e.toDisplayString((k=(C=a.comparisonData)==null?void 0:C.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",OG,[PG,e.createElementVNode("div",LG,[e.createElementVNode("span",WG,e.toDisplayString((F=(T=a.comparisonData)==null?void 0:T.departure)==null?void 0:F.name),1),e.createElementVNode("span",$G,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",HG,[MG,e.createElementVNode("div",IG,[e.createElementVNode("span",GG,e.toDisplayString((G=(I=a.comparisonData)==null?void 0:I.arrival)==null?void 0:G.name),1),e.createElementVNode("span",RG,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)])])]),zG,e.createElementVNode("div",UG,[e.createElementVNode("div",YG,[ZG,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",QG,[JG,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,[KG,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)])]),jG,e.createElementVNode("div",XG,[e.createElementVNode("img",{style:{width:"100%"},src:(J=a.comparisonData)==null?void 0:J.chartUrl,alt:""},null,8,qG),vG]),eR,(ne=a.comparisonData)!=null&&ne.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",tR,"CP Terms")),(se=a.comparisonData)!=null&&se.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",oR,[e.createElementVNode("div",lR,[aR,e.createElementVNode("div",nR,e.toDisplayString(((j=(l=a.comparisonData)==null?void 0:l.cp)==null?void 0:j.speed)??"—"),1)]),e.createElementVNode("div",sR,[cR,e.createElementVNode("div",iR,e.toDisplayString(((ee=(v=a.comparisonData)==null?void 0:v.cp)==null?void 0:ee.fo)??"—"),1)]),e.createElementVNode("div",dR,[rR,e.createElementVNode("div",mR,e.toDisplayString(((oe=(te=a.comparisonData)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),pR,e.createElementVNode("div",hR,[_R,e.createElementVNode("div",ER,[yR,e.createElementVNode("div",NR,e.toDisplayString(((le=a.comparisonData)==null?void 0:le.actualDist)??"—"),1),e.createElementVNode("div",VR,e.toDisplayString(((ce=a.comparisonData)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",fR,[bR,e.createElementVNode("div",gR,e.toDisplayString(((ie=a.comparisonData)==null?void 0:ie.actualTime)??"—"),1),e.createElementVNode("div",xR,e.toDisplayString(((de=a.comparisonData)==null?void 0:de.recmdTime)??"—"),1)]),e.createElementVNode("div",kR,[DR,e.createElementVNode("div",CR,e.toDisplayString(((_e=a.comparisonData)==null?void 0:_e.actualAvgSpd)??"—"),1),e.createElementVNode("div",SR,e.toDisplayString(((X=a.comparisonData)==null?void 0:X.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",BR,[wR,e.createElementVNode("div",AR,e.toDisplayString(((me=a.comparisonData)==null?void 0:me.actualAvgCF)??"—"),1),e.createElementVNode("div",TR,e.toDisplayString(((Ee=a.comparisonData)==null?void 0:Ee.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",FR,[OR,e.createElementVNode("div",PR,e.toDisplayString(((ye=a.comparisonData)==null?void 0:ye.actualAvgWF)??"—"),1),e.createElementVNode("div",LR,e.toDisplayString(((re=a.comparisonData)==null?void 0:re.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",WR,[$R,e.createElementVNode("div",HR,e.toDisplayString(((fe=a.comparisonData)==null?void 0:fe.actualPfmSpd)??"—"),1),e.createElementVNode("div",MR,e.toDisplayString(((be=a.comparisonData)==null?void 0:be.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",IR,[GR,e.createElementVNode("div",RR,e.toDisplayString(n.compareTime((ge=a.comparisonData)==null?void 0:ge.actualTime,(xe=a.comparisonData)==null?void 0:xe.recmdTime)),1)])]),zR,e.createElementVNode("div",UR,[YR,e.createElementVNode("div",ZR,[QR,e.createElementVNode("div",JR,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",KR,[jR,e.createElementVNode("div",XR,e.toDisplayString(((Te=a.comparisonData)==null?void 0:Te.actualFoCons)??"-"),1),e.createElementVNode("div",qR,e.toDisplayString(((Fe=a.comparisonData)==null?void 0:Fe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",vR,[ez,e.createElementVNode("div",tz,e.toDisplayString(((Oe=a.comparisonData)==null?void 0:Oe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",oz,e.toDisplayString(((Pe=a.comparisonData)==null?void 0:Pe.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",lz,[az,e.createElementVNode("div",nz,e.toDisplayString(((Le=a.comparisonData)==null?void 0:Le.actualDgoCons)??"-"),1),e.createElementVNode("div",sz,e.toDisplayString(((We=a.comparisonData)==null?void 0:We.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",cz,[iz,e.createElementVNode("div",dz,e.toDisplayString((($e=a.comparisonData)==null?void 0:$e.diffFoCons)??"-"),1)]),e.createElementVNode("div",rz,[mz,e.createElementVNode("div",pz,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,hz))],2)])}const _n=Ce(iG,[["render",_z],["__scopeId","data-v-24b3bc72"]]),Ez={install(o){o.component("OrmComparisonReport",hn),o.component("FliComparisonReport",_n)}},pZ="",yz={name:"IdmThird",props:{name:{type:String,default:""}}},Nz={class:"section brand-section flex-space"},Vz=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),fz={class:"report-box flex-space"},bz={class:"name flex-start"},gz=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 xz(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",Nz,[Vz,e.createElementVNode("div",fz,[e.createElementVNode("div",bz,e.toDisplayString(t.name),1),gz])])}const En=Ce(yz,[["render",xz],["__scopeId","data-v-d5871b6a"]]),kz={install(o){o.component("IdmBrand",Io),o.component("IdmThird",En)}},hZ="",_Z="",Dz={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",geojson1:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90],[191,90]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18],[-135,64],[-173,64],[-219,34],[-219,5],[-79.7,5],[-79.7,9]]}}]},geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[95,-11],[95,23.9]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[95,-11],[95,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){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-87e6fc01"),o=o(),e.popScopeId(),o),Cz={class:"quota-report"},Sz=yn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Bz={class:"section quota-section"},wz=yn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Az={class:"label"},Tz={class:"label"},Fz=["innerHTML"],Oz=e.createStaticVNode('<div class="legend-block flex-space" data-v-87e6fc01><div class="legend" data-v-87e6fc01><label data-v-87e6fc01>DIR</label><span data-v-87e6fc01>DIRECT</span></div><div class="legend" data-v-87e6fc01><label data-v-87e6fc01>PMP</label><span data-v-87e6fc01>via PANAMA CHANNEL</span></div><div class="legend" data-v-87e6fc01><label data-v-87e6fc01>SUE</label><span data-v-87e6fc01>via SUEZ CHANNEL</span></div><div class="legend" data-v-87e6fc01><label data-v-87e6fc01>CGH</label><span data-v-87e6fc01>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-87e6fc01><label data-v-87e6fc01>CHC</label><span data-v-87e6fc01>Passing CAPE HORN</span></div><div class="legend" data-v-87e6fc01><label data-v-87e6fc01>SCG</label><span data-v-87e6fc01>Passing SINGAPORE</span></div></div>',1);function Pz(o,s,t,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Cz,[e.createVNode(E,{name:"Quotation Sheet"}),Sz,e.createElementVNode("div",Bz,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[wz,(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",Az,e.toDisplayString(c.rank),1),e.createElementVNode("td",Tz,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,Fz))),128))]))),128))])]),Oz])])}const Nn=Ce(Dz,[["render",Pz],["__scopeId","data-v-87e6fc01"]]),EZ="",Lz={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],[95,-11],[95,23.9]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[95,-11],[95,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){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-992fcad2"),o=o(),e.popScopeId(),o),Wz={class:"quota-report"},$z=Vn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Hz={class:"section quota-section"},Mz=Vn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Iz={class:"label"},Gz={class:"label"},Rz=["innerHTML"],zz=e.createStaticVNode('<div class="legend-block flex-space" data-v-992fcad2><div class="legend" data-v-992fcad2><label data-v-992fcad2>DIR</label><span data-v-992fcad2>DIRECT</span></div><div class="legend" data-v-992fcad2><label data-v-992fcad2>PMP</label><span data-v-992fcad2>via PANAMA CHANNEL</span></div><div class="legend" data-v-992fcad2><label data-v-992fcad2>SUE</label><span data-v-992fcad2>via SUEZ CHANNEL</span></div><div class="legend" data-v-992fcad2><label data-v-992fcad2>CGH</label><span data-v-992fcad2>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-992fcad2><label data-v-992fcad2>CHC</label><span data-v-992fcad2>Passing CAPE HORN</span></div><div class="legend" data-v-992fcad2><label data-v-992fcad2>SCG</label><span data-v-992fcad2>Passing SINGAPORE</span></div></div>',1);function Uz(o,s,t,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Wz,[e.createVNode(E,{name:"Quotation Sheet"}),$z,e.createElementVNode("div",Hz,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Mz,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,class:"label"},e.toDisplayString(c.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,style:e.normalizeStyle({width:c.width}),class:"label"},e.toDisplayString(c.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(c,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",Iz,e.toDisplayString(c.rank),1),e.createElementVNode("td",Gz,e.toDisplayString(c.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:a.quota[p][b-1]||""},null,8,Rz))),128))]))),128))])]),zz])])}const fn=Ce(Lz,[["render",Uz],["__scopeId","data-v-992fcad2"]]),yZ="",Yz={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],[95,-11],[95,23.9]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[95,-11],[95,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){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-54ba7765"),o=o(),e.popScopeId(),o),Zz={class:"quota-report"},Qz=bn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Jz={class:"section quota-section"},uz=bn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Kz={class:"label"},jz={class:"label"},Xz=["innerHTML"],qz=e.createStaticVNode('<div class="legend-block flex-space" data-v-54ba7765><div class="legend" data-v-54ba7765><label data-v-54ba7765>DIR</label><span data-v-54ba7765>DIRECT</span></div><div class="legend" data-v-54ba7765><label data-v-54ba7765>PMP</label><span data-v-54ba7765>via PANAMA CHANNEL</span></div><div class="legend" data-v-54ba7765><label data-v-54ba7765>SUE</label><span data-v-54ba7765>via SUEZ CHANNEL</span></div><div class="legend" data-v-54ba7765><label data-v-54ba7765>CGH</label><span data-v-54ba7765>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-54ba7765><label data-v-54ba7765>CHC</label><span data-v-54ba7765>Passing CAPE HORN</span></div><div class="legend" data-v-54ba7765><label data-v-54ba7765>SCG</label><span data-v-54ba7765>Passing SINGAPORE</span></div></div>',1);function vz(o,s,t,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Zz,[e.createVNode(E,{name:"Quotation Sheet for TONGLI"}),Qz,e.createElementVNode("div",Jz,[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",Kz,e.toDisplayString(c.rank),1),e.createElementVNode("td",jz,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,Xz))),128))]))),128))])]),qz])])}const gn=Ce(Yz,[["render",vz],["__scopeId","data-v-54ba7765"]]),eU={install(o){o.component("OrmQuoteReport",Nn),o.component("OrmQuoteReport4SEOA",fn),o.component("OrmQuoteReport4TongLi",gn)}},NZ="",tU={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`${u(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=u(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=u(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),oU={class:"precipitation-report"},lU={class:"section area-section"},aU={class:"area-block"},nU={class:"area-header flex-space"},sU={class:"flex-start"},cU=["onClick"],iU={class:"flex-end"},dU={class:"area-body"},rU=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),mU={class:"flex-evenly"},pU={key:0},hU=["colspan"],_U=["colspan"],EU={style:{"font-size":"10px"}},yU={key:0},NU={key:1},VU={key:2},fU={key:3},bU={key:0},gU={key:1,style:{"font-size":"14px"}},xU=it(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),kU={class:"section echart-section"},DU={ref:"echart",class:"echart"},CU={class:"section sample-section"},SU=it(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),BU=["colspan"],wU=it(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),AU=it(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),TU=it(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),FU=it(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),OU=it(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),PU=it(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),LU={key:0},WU={key:1},$U=it(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),HU=it(()=>e.createElementVNode("th",null,"Dir",-1)),MU=it(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),IU=it(()=>e.createElementVNode("th",null,"BF",-1)),GU=it(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),RU=it(()=>e.createElementVNode("th",null,"Dir",-1)),zU=it(()=>e.createElementVNode("th",null,"Ht (m)",-1)),UU=it(()=>e.createElementVNode("th",null,"Prd (s)",-1)),YU=it(()=>e.createElementVNode("th",null,"Dir",-1)),ZU=it(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),QU=it(()=>e.createElementVNode("th",null,"Prd (s)",-1)),JU=it(()=>e.createElementVNode("th",null,"°C",-1)),uU={width:"120px"},KU={key:0},jU={key:1},XU={key:0,class:"degree-box"},qU={key:1},vU={key:0,class:"degree-box"},eY={key:1},tY={key:0,class:"degree-box"},oY={key:1},lY={class:"section area-section"},aY={class:"area-block"},nY={class:"area-header flex-end"},sY={class:"flex-end"},cY={class:"area-body"},iY=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),dY=["colspan"],rY=["colspan"],mY={style:{"font-size":"10px"}},pY={key:0},hY={key:1},_Y={key:2},EY={key:3},yY={key:1,style:{"font-size":"14px"}},NY={key:0};function VY(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",oU,[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",lU,[e.createElementVNode("div",aU,[e.createElementVNode("div",nU,[e.createElementVNode("div",sU,[(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,cU))),128))]),e.createElementVNode("div",iU,[e.createElementVNode("div",{class:"header-item",onClick:s[1]||(s[1]=_=>a.version="Brief")},"Brief")])]),e.createElementVNode("div",dU,[rU,e.createElementVNode("div",mU,[a.form?(e.openBlock(),e.createElementBlock("table",pU,[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,hU)]),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,_U)}),128))]),e.createElementVNode("tr",EU,[(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",yU,"00-06")):e.createCommentVNode("",!0),W==="1"?(e.openBlock(),e.createElementBlock("th",NU,"06-12")):e.createCommentVNode("",!0),W==="2"?(e.openBlock(),e.createElementBlock("th",VU,"12-18")):e.createCommentVNode("",!0),W==="3"?(e.openBlock(),e.createElementBlock("th",fU,"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",bU,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",gU,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),xU,e.createElementVNode("div",kU,[e.createElementVNode("div",DU,null,512)]),e.createElementVNode("div",CU,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[SU,e.createElementVNode("th",{colspan:t.showPrate?2:1},"Precip",8,BU),wU,AU,TU,FU,OU,PU]),e.createElementVNode("tr",null,[t.showPrate?(e.openBlock(),e.createElementBlock("th",LU,"Rate (mm/h)")):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("th",WU,"Acc (mm)")):e.createCommentVNode("",!0),$U,HU,MU,IU,GU,RU,zU,UU,YU,ZU,QU,JU])]),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,j,v,ee,te,oe,le,ce,ie,de,_e,X,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",KU,e.toDisplayString(n.roundPrecision((W=_.precip)==null?void 0:W.prate,2)),1)):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("td",jU,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",XU,[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",qU,"-"))]),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((j=(l=_.wave)==null?void 0:l.wd)==null?void 0:j.height,1)),1),e.createElementVNode("td",null,[(ee=(v=_.wave)==null?void 0:v.swell)!=null&&ee.height?(e.openBlock(),e.createElementBlock("span",vU,[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",eY,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((de=(ie=_.wave)==null?void 0:ie.swell)==null?void 0:de.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((X=(_e=_.wave)==null?void 0:_e.swell)==null?void 0:X.period,1)),1),e.createElementVNode("td",null,[(Ee=(me=_.wave)==null?void 0:me.sig)!=null&&Ee.height?(e.openBlock(),e.createElementBlock("span",tY,[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",oY,"-"))]),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",lY,[e.createElementVNode("div",aY,[e.createElementVNode("div",nY,[e.createElementVNode("div",sY,[e.createElementVNode("div",{class:"header-item",onClick:s[2]||(s[2]=_=>a.version="Pretty")},"Pretty")])]),e.createElementVNode("div",cY,[iY,(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,dY)]),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,rY)}),128))]),e.createElementVNode("tr",mY,[(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",pY,"00-06")):e.createCommentVNode("",!0),U==="1"?(e.openBlock(),e.createElementBlock("th",hY,"06-12")):e.createCommentVNode("",!0),U==="2"?(e.openBlock(),e.createElementBlock("th",_Y,"12-18")):e.createCommentVNode("",!0),U==="3"?(e.openBlock(),e.createElementBlock("th",EY,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",yY,"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",NY,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(tU,[["render",VY],["__scopeId","data-v-eb7562dc"]]),fY={install(o){o.component("PrecipitationReport",xn)}},bY={install(o){o.component("IdmLoading",La)}};Y.BrandPlugin=kz,Y.ComparisonPlugin=Ez,Y.DeviationPlugin=$$,Y.DeviationReport=rn,Y.FliComparisonReport=_n,Y.FliDeviationReport=mn,Y.FliInvoiceReport=cn,Y.FliPlanReport=tn,Y.FliVoyageReport=ln,Y.HurricanePlugin=cB,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=Z9,Y.LoadingPlugin=bY,Y.ORMPointReport=en,Y.OrmComparisonReport=hn,Y.OrmInvoiceReport=sn,Y.OrmPlanReport=Ka,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=fY,Y.QuoteReportPlugin=eU,Y.RouteReport=Ka,Y.RouteReportPlugin=qp,Y.StoppageReport=pn,Y.StoppageReportPlugin=cM,Y.TropicalReport=nn,Y.VoyageReportPlugin=lB,Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"})});
|